d34e4fb38636d0781013931e610740b5ec9031f3
[external/binutils.git] / gdb / ChangeLog
1 2003-02-03  Kevin Buettner  <kevinb@redhat.com>
2
3         * s390-tdep.c (s390_address_class_type_flags)
4         (s390_address_class_type_flags_to_name)
5         (s390_address_class_name_to_type_flags): New functions.
6         (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
7         ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
8
9 2003-02-03  Michael Snyder  <msnyder@redhat.com>
10
11         * arm-tdep.c: Fix spell-o in comment.
12
13 2003-02-03  Michal Ludvig  <mludvig@suse.cz>
14
15         * dwarf2cfi.c (pointer_encoding): Added new parameter.
16         * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
17         error messages to contain BFD filename. 
18
19 2003-02-02  Elena Zannoni  <ezannoni@redhat.com>
20
21         Fix PR gdb/742 gdb/743 gdb/877
22         * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
23         (do_mixed_source_and_assembly): Use
24         make_cleanup_ui_out_tuple_begin_end and
25         make_cleanup_ui_out_tuple_begin_end.
26         (do_mixed_source_and_assembly): Ditto.
27         * thread.c (do_captured_list_thread_ids): Ditto.
28         * ui-out.h (ui_out_table_begin, ui_out_list_begin,
29         ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
30         ui_out_tuple_end): Delete prototypes.
31         * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
32         ui_out_list_end, ui_out_tuple_end): Delete.
33
34         From Kevin Buettner  <kevinb@redhat.com>:
35         * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
36         * ui-out.c (make_cleanup_ui_out_table_begin_end)
37         (do_cleanup_table_end):  New functions.
38         * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
39         Use cleanups to invoke_ui_out_tuple_end().
40         (breakpoint_1): Use cleanup to invoke ui_out_table_end().
41         * cli/cli-setshow.c (cmd_show_list): Use
42         make_cleanup_ui_out_tuple_begin_end.
43         
44 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
45
46         * frame.c (frame_unwind_register): New function.
47         (frame_unwind_unsigned_register): Use.
48         (frame_unwind_signed_register): Use.
49         (frame_read_register): New function.
50         * frame.h (frame_unwind_register): Declare.
51         (frame_read_register): Declare.
52
53         * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
54         and frame_unwind_register instead of read_memory, write_register
55         and deprecated_write_register_bytes.
56
57 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
58
59         * frame.h: Note that namelen can be negative.
60         * frame.c (frame_map_name_to_regnum): When LEN is negative, use
61         NAME's length.
62
63         * NEWS: Mention that the d10v's `regs' command is deprecated.
64         * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
65         (d10v_print_registers_info): New function.
66         (show_regs): Call d10v_print_registers_info.
67         (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
68
69 2003-02-02  Mark Kettenis  <kettenis@gnu.org>
70
71         * stack.c (print_frame_info): Restore call to annotate_frame_begin
72         lost in the previous patch.
73
74 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
75
76         From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
77         * stack.c (print_frame_info_base): Output complete FRAME tuple
78         for synthesized frames.
79
80 2003-02-02  Andrew Cagney  <ac131313@redhat.com>
81
82         * mips-nat.c (zerobuf): Delete.
83         (fetch_inferior_registers): Alloc local zerobuf.
84         (fetch_core_registers): Alloc local zerobuf.
85         * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
86         MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
87         * thread-db.c (thread_db_store_registers): Ditto.
88         * sh-tdep.c (sh_do_register): Ditto.
89         * rom68k-rom.c (rom68k_supply_one_register): Ditto.
90         * remote-sim.c (gdbsim_store_register): Ditto.
91         * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
92         * remote-e7000.c (fetch_regs_from_dump): Ditto.
93         * monitor.c (monitor_supply_register): Ditto.
94         * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
95         * mips-nat.c (fetch_inferior_registers): Ditto.
96         * m68klinux-nat.c (fetch_register): Ditto.
97         * lynx-nat.c (fetch_inferior_registers): Ditto.
98         (fetch_inferior_registers): Ditto.
99         * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
100         * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
101         (hpux_thread_store_registers): Ditto.
102         * hppah-nat.c (fetch_register): Ditto.
103         * hppab-nat.c (fetch_register): Ditto.
104         * hppa-tdep.c (pa_register_look_aside): Ditto.
105         (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
106         * dve3900-rom.c (fetch_bitmapped_register): Ditto.
107
108 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
109
110         * gdbarch.sh: Explictly specify all method levels.  When a
111         variable with an empty level, provide a non-multi-arch default.
112         (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
113         * gdbarch.h: Re-generate.
114         * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete.  Always defined.
115         * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
116
117 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
118
119         * defs.h (host_pointer_to_address): Delete declaration.
120         (address_to_host_pointer): Delete declaration.
121         * utils.c (host_pointer_to_address): Delete function.
122         (address_to_host_pointer): Delete function.
123         * procfs.c (procfs_address_to_host_pointer): New function.
124         * procfs.c (proc_set_watchpoint): Use.
125         (procfs_can_use_hw_breakpoint): Update comments.
126         * somsolib.c (hpux_address_to_host_pointer_hack): New function.
127         (som_solib_add): Use.
128         * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
129         * hppa-tdep.c (unwind_command): Use.
130         
131 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
132
133         * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
134         strlen d_name.
135
136         * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
137         ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
138         (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
139         * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
140         (define_symbol): Update.
141         * symfile.c (generic_load): Remove references to nindy.
142         * symtab.c: Remove references to nindy.
143
144 2003-02-01  Andrew Cagney  <ac131313@redhat.com>
145
146         * infcmd.c (print_float_info): Delete code conditional on
147         FLOAT_INFO.
148         * config/nm-lynx.h: Delete #undef FLOAT_INFO.  Update copyright.
149         * config/m68k/nm-apollo68b.h: Ditto.
150         * config/i386/tm-ptx.h (FLOAT_INFO): Delete.  Update copyright.
151         * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
152         * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
153
154 2003-02-01  Mark Kettenis  <kettenis@gnu.org>
155
156         * config/i386/tm-i386os9k.h: Removed.
157
158         * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
159         Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
160         they're identical to i[3456]86-*-sysv* now.
161         * config/i386/i386v32.mh: Removed.
162         * config/i386/xm-i386v32.h: Removed.
163         * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
164
165         * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
166
167         * config/i386/i386dgux.mh: Removed.
168         * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
169
170         * configure.in: Fix typo.
171         * configure: Regenerated.
172
173 2003-01-31  David Carlton  <carlton@math.stanford.edu>
174
175         * dwarf2read.c (dwarf2_locate_sections): Set
176         dwarf_ranges_section.
177
178 2003-01-31  Andrew Cagney  <ac131313@redhat.com>
179
180         * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
181         * utils.c: Update comments documenting legitimate uses of PTR.
182         
183         * utils.c: Re-indent.
184
185         * config/djgpp/fnchange.lst: Delete nindy files.
186         * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
187         * nindy-share/nindy.c, nindy-share/env.h: Delete files.
188         * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
189         * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
190         * nindy-share/README, nindy-share/Onindy.c: Delete files.
191         * nindy-tdep.c, nindy-share/Makefile: Delete files.
192         * Makefile.in (init.c): Remove nindy references.
193         (saber_gdb): Delete rule.
194         (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
195         nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
196         and a68v-nat.c.
197         (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
198         (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
199         (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
200         nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
201         nindy-share/stop.h.
202         * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
203         * saber.suppress: Delete file.
204
205 2003-01-31  Daniel Jacobowitz  <drow@mvista.com>
206
207         * dbxread.c (stabs_data): New static variable.
208         (fill_symbuf): Support an in-memory buffer for stabs data.
209         (stabs_seek): New function.
210         (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
211         (read_ofile_symtab): Use stabs_seek.
212         (elfstab_build_psymtabs): Take an asection* instead of
213         an offset and size.  Relocate the stabs data if necessary.
214         Save the section* for dbx_psymtab_to_symtab.
215         * dwarf2read.c: Add section variables for each debug section.
216         (dwarf2_locate_sections): Fill them in.
217         (dwarf2_read_section): Take an asection* argument.
218         Relocate the section contents if necessary.
219         (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
220         * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
221         it to dwarf2_read_section.
222         (dwarf2_build_frame_info): Update callers.
223         * elfread.c (elf_symfile_read): Update call to
224         elfstab_build_psymtabs.
225         * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
226         (DBX_STAB_SECTION): New macro.
227         * stabsread.h (elfstab_build_psymtabs): Update prototype. 
228         * symfile.c (symfile_dummy_outputs): New function.
229         (symfile_relocate_debug_section): New function.
230         * symfile.h (symfile_relocate_debug_section): Add prototype.
231
232 2003-01-31  Richard Henderson  <rth@redhat.com>
233
234         * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
235         (register_addr): ... here.  Support ALPHA_UNIQUE_REGNUM.
236         (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
237         * alpha-tdep.c (alpha_register_name): Add "unique".
238         * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
239         (ALPHA_UNIQUE_REGNUM): New.
240         * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
241
242 2003-01-31  Andrew Cagney  <ac131313@redhat.com>
243
244         * README: Remove reference to Ericsson 1800 monitor.
245         * Makefile.in (remote-es.o): Delete rule.
246         (ALLDEPFILES): Delete remote-es.c.
247         * remote-es.c: Delete file.
248         * config/m68k/es1800.mt: Delete file.
249         * config/djgpp/fnchange.lst: Update.
250         * configure.tgt: Delete m68*-ericsson-* target.
251
252 2003-01-31  Adam Fedor  <fedor@gnu.org>
253
254         * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
255         Remove duplicate/shadowing variable of same name.
256
257 2003-01-30  Jim Blandy  <jimb@redhat.com>
258
259         * symfile.c (find_separate_debug_file): Assert that the objfile's
260         directory name we compute ends with a slash, and then assume that
261         that's so everywhere we use it.
262
263 2003-01-30  Daniel Jacobowitz  <drow@mvista.com>
264
265         * valops.c (value_assign): Flush frame cache after stores to memory
266         also.
267
268 2003-01-30  Andrew Cagney  <ac131313@redhat.com>
269
270         * Makefile.in (mon960-rom.o): Delete rule.
271         * mon960-rom.c: Delete file.
272
273 2003-01-30  Andrew Cagney  <ac131313@redhat.com>
274
275         * d10v-tdep.c: Include "frame-unwind.h".
276         (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
277         list.
278         (next_addr, uses_frame): Delete.
279         (struct d10v_unwind_cache): Define.
280         (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
281         Use info instead of next_addr and uses_frame globals.
282         (d10v_frame_init_saved_regs): Delete function.
283         (d10v_init_extra_frame_info): Delete function.
284         (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
285         frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
286         init_frame_pc or frame_saved_pc.
287         (d10v_pop_frame): Delete function.
288         (do_d10v_pop_frame): Delete function.
289         (d10v_frame_chain): Delete function.
290         (d10v_frame_chain_valid): Delete function.
291         (d10v_frame_pc_unwind): New function.
292         (d10v_frame_id_unwind): New function.
293         (saved_regs_unwinder): New function.
294         (d10v_frame_register_unwind): New function.
295         (d10v_frame_pop): New function.
296         (d10v_frame_unwind): New variable.
297         (d10v_frame_p): New function.
298         (d10v_frame_saved_pc): Delete function.
299         * Makefile.in (d10v-tdep.o): Update dependencies.
300
301 2003-01-30  J. Brobecker  <brobecker@gnat.com>
302
303         * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
304         causing some regressions due to a change in the default value
305         for this macro.
306
307 2003-01-29  Richard Henderson  <rth@redhat.com>
308             Elena Zannoni  <ezannoni@redhat.com>
309             Daniel Jacobowitz  <drow@mvista.com>
310
311         Fix PR gdb/961.
312         * dwarf2read.c  (dwarf_ranges_offset, dwarf_ranges_size): New
313         variables.
314         (RANGES_SECTION): New.
315         (dwarf_ranges_buffer): New variable.
316         (struct comp_unit_head): Add member "die".
317         (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
318         (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
319         (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
320         (dwarf2_locate_sections): Likewise.
321         (dwarf2_build_psymtabs): Read .debug_ranges.
322         (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
323         (psymtab_to_symtab_1): Swap dwarf_ranges in.  Set cu_header.die.
324         (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
325         Look for DW_AT_ranges and return the bounding box.
326
327 2003-01-29  Brian Ford <ford@vss.fsi.com>
328
329         * win32-nat.c (cygwin_pid): Removed as unused.
330         (child_attach): Try fall back to Cygwin pid.
331
332 2003-01-29  Jim Blandy  <jimb@redhat.com>
333
334         * objfiles.h (struct objfile): Doc fix.
335
336 2003-01-29  Andrew Cagney  <ac131313@redhat.com>
337
338         * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
339         (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
340         (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
341         (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
342         * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
343         (FRAME_SAVED_PC): Change to a function with predicate.
344         * gdbarch.h, gdbarch.c: Re-generate.
345
346 2003-01-28  Andrew Cagney  <ac131313@redhat.com>
347
348         * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
349
350         * complaints.c (complain): Delete function.
351         * complaints.h (struct deprecated_complaint): Delete definition.
352         (complain): Delete declaration.
353
354 2003-01-28  Kevin Buettner  <kevinb@redhat.com>
355
356         * mips-tdep.c (mips_init_extra_frame_info): Return early for
357         dummy frames.
358
359 2003-01-27  Andrew Cagney  <ac131313@redhat.com>
360
361         * sentinel-frame.h, sentinel-frame.c: New files.
362         * Makefile.in (frame.o): Update dependencies.
363         (SFILES): Add sentinel-frame.c.
364         (sentinel_frame_h): Define.
365         (COMMON_OBS): Add sentinel-frame.o.
366         (sentinel-frame.o): Specify dependencies.
367         * frame.c: Include "sentinel-frame.h".
368         (frame_register_unwind): Rewrite assuming that there is always a a
369         ->next frame.
370         (frame_register, generic_unwind_get_saved_register): Ditto.
371         (frame_read_unsigned_register, frame_read_signed_register): Ditto.
372         (create_sentinel_frame, unwind_to_current_frame): New functions.
373         (get_current_frame): Rewrite using create_sentinel_frame and
374         unwind_to_current_frame.  When possible, always create a frame.
375         (create_new_frame): Set next to the sentinel frame.
376         (get_next_frame): Rewrite.  Don't go below the level 0 frame.
377         (deprecated_update_frame_pc_hack): Update the next frame's PC and
378         ID cache when necessary.
379         (frame_saved_regs_id_unwind): Use frame_relative_level.
380         (deprecated_generic_get_saved_register): Use frame_relative_level,
381         get_frame_saved_regs, get_frame_pc, get_frame_base and
382         get_next_frame.
383         (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
384         frame_register.
385
386 2003-01-27  Daniel Jacobowitz  <drow@mvista.com>
387
388         * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
389
390 2003-01-27  Daniel Jacobowitz  <drow@mvista.com>
391
392         * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
393         (maintenance_set_profile_cmd): Use error () instead of warning ().
394
395 2003-01-27  Daniel Jacobowitz  <drow@mvista.com>
396
397         * configure.in: Check that -pg works if using --enable-profiling.
398         Check for monstartup and _mcleanup regardless of --enable-profiling.
399         * maint.c: Check for monstartup and _mcleanup before using them.
400         * config.in: Regenerated.
401         * configure: Regenerated.
402
403 2003-01-24  Nick Clifton  <nickc@redhat.com>
404
405         * Add sh2e support:
406
407         2002-04-02  Elena Zannoni  <ezannoni@redhat.com>
408
409                 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
410                 (sh2e_show_regs): New.
411                 (sh_gdbarch_init): Handle bfd_mach_sh2e.
412                 * config/sh/tm-sh.h: Added sh2e to comments.
413
414 2003-01-23  Jim Blandy  <jimb@redhat.com>
415
416         * symfile.c (syms_from_objfile): Don't print the "(no debugging
417         symbols found)" message here; we haven't checked for a separate
418         debug info file yet, so we don't know yet.
419         (symbol_file_add_with_addrs_or_offsets): Print it here, after
420         we've looked everywhere.  Also, there's no need to print a special
421         message when we're loading the separate debug info file: the one
422         symbol_file_add prints is fine.
423
424 2003-01-23  Alexander Larsson <alexl@redhat.com>
425             Jim Blandy  <jimb@redhat.com>
426
427         Add support for executables whose debug info has been separated
428         out into a separate file, leaving only a link behind.
429         * objfiles.h (struct objfile): New fields: separate_debug_objfile
430         and separate_debug_objfile_backlink.
431         (put_objfile_before): New declaration.
432         * symfile.c: #include "filenames.h".
433         (symbol_file_add_with_addrs_or_offsets): If this objfile has its
434         debug info in a separate file, read that, too. Save the addrs
435         argument, so we can use it again to read the separated debug info;
436         syms_from_objfile modifies the table we pass it.
437         (reread_symbols): After re-reading an objfile, call
438         reread_separate_symbols to refresh its separate debug info
439         objfile, if it has one.
440         (reread_separate_symbols, find_separate_debug_file,
441         get_debug_link_info, separate_debug_file_exists): New functions.
442         (debug_file_directory): New global var.
443         (_initialize_symfile): Initialize debug_file_directory, and
444         provide the new `set debug-file-directory' command to let the user
445         change it.
446         * objfiles.c (free_objfile): If this objfile has its debug info in
447         a separate objfile, free that one too.  If this is itself a
448         separate debug info objfile, clear our parent's backlink.
449         (put_objfile_before): New function.
450         * utils.c (gnu_debuglink_crc32): New function.
451         * defs.h (gnu_debuglink_crc32): New declaration.
452         * Makefile.in (symfile.o): Note dependency on "filenames.h".
453         * configure.in: Handle --with-separate-debug-dir config option.
454         * acinclude.m4 (AC_DEFINE_DIR): New macro.
455         * acconfig.h (DEBUGDIR): New macro.
456         * configure, aclocal.m4, config.in: Regenerated.
457
458 2003-01-22  Jim Blandy  <jimb@redhat.com>
459
460         * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
461         like the old symbol_file_add, but taking new arguments: you can
462         now pass in either a `struct section_addr_info' list to say where
463         each section is loaded, or a `struct section_offsets' table.  Pass
464         these new arguments through to syms_from_objfile as appropriate.
465         (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, 
466         with the appropriate quiescent values for the new arguments.
467
468         * symfile.c: #include "gdb_assert.h".
469         (syms_from_objfile): Add the ability to pass in a section offset
470         table directly, as an alternative to the section_addr_info table.
471         Document arguments better.
472         (symbol_file_add): Pass extra arguments to syms_from_objfile.
473         * symfile.h (syms_from_objfile): Update declaration.
474         * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
475         syms_from_objfile.
476         * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
477
478 2003-01-22  Daniel Jacobowitz  <drow@mvista.com>
479
480         Original patch by Tom Tromey <tromey@cygnus.com> and
481         Jason Molenda <jmolenda@apple.com>.
482         * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
483         (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
484         * NEWS: Mention profiling.
485         * configure.in (--enable-gdbtk): Fix typo.
486         (--enable-profiling): New.  Set PROFILE_CFLAGS.
487         * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
488         Fill in function.
489         (profiling_state): New variable.
490         (mcleanup_wrapper): New function.
491         (_initialize_maint): Remove NOTYET, fix call to
492         add_setshow_boolean_cmd for "maint set profile".
493         * configure: Regenerated.
494
495 2003-01-21  Martin M. Hunt  <hunt@redhat.com>
496
497         * Makefile.in (install-gdbtk): Install PNG images too.
498
499 2003-01-21  Andrew Cagney  <ac131313@redhat.com>
500
501         * exec.c (text_start): Delete global variable.
502         (exec_file_attach): Make text_start local to the function.
503         * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
504         * valops.c (hand_function_call): Delete code that handles
505         BEFORE_TEXT_END and AFTER_TEXT_END.
506         * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
507         of CALL_DUMMY_LOCATION.
508         * gdbarch.c: Regenerate.
509         * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
510         (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
511         * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
512         (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
513         (text_end): Delete extern declaration.
514
515 2003-01-21  Andrew Cagney  <ac131313@redhat.com>
516
517         * frame.h (FRAME_OBSTACK_ZALLOC): Define.
518         * blockframe.c (backtrace_below_main): Move to "frame.c".
519         (frame_chain_valid): Delete check for backtrace_below_main.
520         (_initialize_blockframe): Delete initialization, move ``set
521         backtrace-below-main'' command to "frame.c".
522         (do_flush_frames_sfunc): Delete function.
523         * frame.c: Include "command.h" and "gdbcmd.h".
524         (frame_type_from_pc): New function.
525         (create_new_frame): Use frame_type_from_pc.
526         (legacy_get_prev_frame): New function.
527         (get_prev_frame): Rewrite.  When an old style frame, call
528         legacy_get_prev_frame.  Otherwize, unwind the PC first.
529         (_initialize_frame): Add ``set backtrace-below-main'' command.
530         * Makefile.in (frame.o): Update dependencies.
531
532 2003-01-19  Andrew Cagney  <ac131313@redhat.com>
533
534         * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
535         DEPRECATED_REGISTERS_INFO.
536
537 2003-01-19  Andrew Cagney  <ac131313@redhat.com>
538
539         * MAINTAINERS: Replace `Blanket Write Privs' with `Global
540         Maintainers'.  Update `Various Maintainers'.
541
542 2003-01-19  Andrew Cagney  <ac131313@redhat.com>
543
544         * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
545         * gdbarch.sh (POP_FRAME): Change to function with predicate.
546         Suppress actual parameters when `-'.
547         * gdbarch.h, gdbarch.c: Regenerate.
548
549 2003-01-19  Andrew Cagney  <ac131313@redhat.com>
550
551         * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
552         code handling dummy frames.
553
554 2003-01-19  Andrew Cagney  <ac131313@redhat.com>
555
556         * frame-unwind.h (frame_unwind_pop_ftype): Declare.
557         (struct frame_unwind): Add field pop.
558         * frame.h (frame_pop): Declare.
559         * frame.c (frame_saved_regs_pop): New function.
560         (trad_frame_unwinder): Add frame_saved_regs_pop.
561         (frame_pop): New function.
562         * dummy-frame.c (dummy_frame_pop): New function.
563         (discard_innermost_dummy): New function.
564         (generic_pop_dummy_frame): Use discard_innermost_dummy.
565         (dummy_frame_unwind): Add dummy_frame_pop.
566         * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
567         * valops.c (hand_function_call): Ditto.
568         * stack.c (return_command): Ditto.
569
570 2003-01-18  Andrew Cagney  <ac131313@redhat.com>
571
572         * cris-tdep.c: Fix function declaration indentation.
573         * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
574         * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
575         * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
576         * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
577         * xcoffread.c, config/pa/tm-hppa.h: Ditto.
578         * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
579
580 2003-01-18  Michael Chastain  <mec@shout.net>
581
582         * README (Unpacking and Installation -- quick overview):
583         Warn against ".../gdb-5.3/gdb/configure".
584
585 2003-01-18  Andrew Cagney  <ac131313@redhat.com>
586
587         * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
588         (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
589         (struct frame_unwind): Declare opaque.
590         (dummy_frame_p): Declare function.
591         * dummy-frame.c (dummy_frame_id_unwind): Make static.
592         (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
593         * dummy-frame.c: Include "frame-unwind.h".
594         (dummy_frame_p): New function.
595         (dummy_frame_unwind): New variable.
596         * frame.c: Include "frame-unwind.h".
597         (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
598         to use the new unwind field.
599         (set_unwind_by_pc): Delete function.
600         (create_new_frame, get_prev_frame): Set unwind field using
601         frame_unwind_find_by_pc.
602         (trad_frame_unwind, trad_frame_unwinder): New variables.
603         * frame.h (trad_frame_unwind): Declare variable.
604         (frame_id_unwind_ftype): Delete declaration.
605         (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
606         (struct frame_unwind): Declare opaque.
607         (struct frame_info): Replace the fields id_unwind, pc_unwind and
608         register_unwind with a single unwind pointer.
609         * frame-unwind.h, frame-unwind.c: New files.
610         * Makefile.in (SFILES): Add frame-unwind.c.
611         (frame_unwind_h): Define.
612         (COMMON_OBS): Add frame-unwind.o.
613         (frame-unwind.o): Specify dependencies.
614         (frame.o, dummy-frame.o): Update dependencies.
615         
616 2003-01-18  Andrew Cagney  <ac131313@redhat.com>
617
618         * ada-valprint.c: Eliminate PTR.
619         * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
620         * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
621         * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
622         * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
623         * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
624         * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
625         * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
626         
627 2003-01-17  Andrew Cagney  <ac131313@redhat.com>
628
629         * main.c (captured_main): Don't use PTR.
630         * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
631         * gdbtypes.c (lookup_primitive_typename): Ditto.
632         (lookup_struct_elt_type): Ditto.
633         * f-valprint.c (info_common_command): Ditto.
634         (list_all_visible_commons): Ditto.
635         * jv-typeprint.c (java_type_print_base): Ditto.
636
637         * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
638         mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
639         Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c.  Rename
640         i386-interix-nat.c and i386-interix-tdep.c.  Rename
641         m68klinux-nat.c and m68klinux-tdep.c.  Rename
642         config/mips/tm-linux.h and config/mips/tm-linux64.h.  Rename
643         bfd/po/.cvsignore and opcodes/po/.cvsignore.  Rename
644         gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
645         * main.c (captured_main): Use xfree, not free.
646
647 2003-01-16  Andrew Cagney  <ac131313@redhat.com>
648
649         * frame.h (frame_id_unwind_ftype): Change type so that the frame's
650         ID back using a parameter.
651         * frame.c (frame_id_unwind): Update call.
652         (frame_saved_regs_id_unwind): Update.
653         * dummy-frame.c (dummy_frame_id_unwind): Update function.
654         * dummy-frame.h (struct frame_id): Add opaque declaration.
655         (dummy_frame_id_unwind): Update declaration.
656
657 2003-01-15  Andrew Cagney  <ac131313@redhat.com>
658
659         * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
660
661 2003-01-15  Stephen P. Smith <ischis2@cox.net>
662
663         * MAINTAINERS (Stephen P. Smith): Updated email address.
664
665 2003-01-14  Elena Zannoni  <ezannoni@redhat.com>
666
667         Fix PR gdb/898
668         * breakpoint.c (until_break_command): Add new argument.  Use it to
669         decide whether to stop only at the current frame or not.
670         * breakpoint.h (until_break_command): Update prototype.
671         * infcmd.c (until_command): Add new argument to until_break_command
672         call.
673         (advance_command): New function.
674         (_initialize_infcmd): Update help string for 'until' command.
675         Add new 'advance' command.
676
677 2003-01-14  David Carlton  <carlton@math.stanford.edu>
678
679         * linespec.c (decode_line_1): Normalize comments.
680         (set_flags): Ditto.
681         (locate_first_half): Ditto.
682         (decode_compound): Ditto.
683         (symtab_from_filename): Ditto.
684         (decode_all_digits): Ditto.
685         (decode_dollar): Ditto.
686         (find_methods): Ditto.
687         (find_toplevel_char): Ditto.
688
689 2003-01-13  Andrew Cagney  <ac131313@redhat.com>
690
691         * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
692         * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
693         * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
694         * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
695         * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
696         * language.c, language.h, m32r-tdep.c: Update copyright.
697         * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
698         * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
699         * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
700         * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
701         * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
702         * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
703
704 2003-01-13  Elena Zannoni  <ezannoni@redhat.com>
705
706         * stabsread.h (process_later, resolve_cfront_continuation):
707         Obsolete.
708         Update copyright years.
709         * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
710         Update copyright year.
711         * dbxread.c(struct cont_elem): Obsolete.
712         (process_later, process_now): Obsolete functions. 
713         (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
714         Update copyright year.
715         * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
716         (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
717         * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
718         (parse_partial_symbols): Obsolete cfront support.
719         * stabsread.c
720         (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
721         macros.
722         (get_substring, get_cfront_method_physname, msg_unknown_complaint,
723         read_cfront_baseclasses, read_cfront_member_functions,
724         resolve_cfront_continuation,read_cfront_static_fields,
725         copy_cfront_struct_fields): Obsolete functions.
726         (define_symbol, read_one_struct_field): Obsolete cfront support.
727         * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
728         Update Copyright year.
729
730 2003-01-13  Elena Zannoni  <ezannoni@redhat.com>
731
732         * stack.c (print_frame_info, print_stack_frame_base_stub,
733         print_stack_frame_base, show_and_print_stack_frame_stub,
734         show_and_print_stack_frame, print_only_stack_frame_stub,
735         print_only_stack_frame): Delete functions.
736         (print_stack_frame_stub): Call print_frame_info instead of
737         print_frame_info_base.
738         (print_frame_info_base): Rename to print_frame_info.
739         (backtrace_command_1): Call print_frame_info, instead of
740         print_frame_info_base.
741         (current_frame_command): Call print_stack_frame, instead of
742         print_only_stack_frame.
743         (frame_command): Call print_stack_frame, instead of
744         show_and_print_stack_frame.
745         (up_command): Ditto.
746         (down_command): Ditto.
747         * frame.h (print_only_stack_frame): Delete prototype.
748         * infrun.c (normal_stop): Call print_stack_frame, instead of
749         show_and_print_stack_frame.
750         * thread.c (info_threads_command): Call print_stack_frame, instead
751         of print_only_stack_frame.
752
753 2003-01-13  Andrew Cagney  <ac131313@redhat.com>
754
755         * README (Graphical interface to GDB): Update URL.  Point at
756         gdb/links/.
757
758         * gdb_indent.sh: Update to version 2.2.9.  Warn when not exact
759         version match.
760
761 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
762
763         * symtab.c (find_pc_sect_line): Don't consider end-of-function
764         lines.
765
766 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
767
768         * thread-db.c (attach_thread): Prototype.
769         (struct private_thread_info): Remove lwpid.  Add thread handle (th),
770         thread information (ti), and valid flags (th_valid, ti_valid).
771         (attach_thread): Move target_pid_to_str call to after the thread
772         is added to GDB's list.  Initialize the cache.
773         (thread_get_info_callback, thread_db_map_id2thr)
774         (thread_db_get_info): New functions.
775         (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
776         (thread_db_store_registers, thread_db_thread_alive)
777         (thread_db_get_thread_local_address): Use them.
778         (thread_db_pid_to_str): Likewise.  Return "Missing" instead
779         of calling error() for threads in unknown state.
780
781         (clear_lwpid_callback): New function.
782         (thread_db_resume): Use it to clear the cache.
783
784 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
785
786         * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
787         (resume_callback): Remove dead code.
788
789 2003-01-13  Andrew Cagney  <ac131313@redhat.com>
790
791         * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
792         predicate.
793         * gdbarch.h, gdbarch.c: Regenerate.
794         * stack.c (frame_info): Only initialize the saved registers when
795         FRAME_INIT_SAVED_REGS_P.
796         * frame.c (frame_saved_regs_register_unwind): Assert
797         FRAME_INIT_SAVED_REGS_P.
798         (deprecated_generic_get_saved_register): Ditto.
799
800 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
801
802         * source.c (openp): Squelch warning about "filename".
803
804 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
805
806         * source.c (openp): If the file does not exist don't necessarily
807         search the path.
808
809 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
810
811         Fix PR gdb/872.
812         * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
813         (integer_types_same_name_p): New function.
814         (rank_one_type): Use it.
815         * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
816
817 2003-01-13  Daniel Jacobowitz  <drow@mvista.com>
818
819         * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
820         variables.
821         (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
822         * configure.in: Add --with-sysroot.
823         * configure: Regenerated.
824         * main.c (gdb_sysroot): New variable.
825         (captured_main): Initialize gdb_sysroot.
826         * defs.h (gdb_sysroot): New extern declaration.
827         * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
828
829 2003-01-12  Michael Chastain  <mec@shout.net>
830
831         * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
832
833 2003-01-12  Michael Chastain  <mec@shout.net>
834
835         * top.c (print_gdb_version): Bump copyright year to 2003.
836
837 2003-01-12  David Carlton  <carlton@bactrian.org>
838
839         * linespec.c (symtab_from_filename): Rename variable 's' to
840         'file_symtab'.
841
842 2003-01-12  Andrew Cagney  <ac131313@redhat.com>
843
844         * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
845         dummy frame.
846         (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
847
848 2003-01-12  Andrew Cagney  <ac131313@redhat.com>
849
850         * d10v-tdep.c: Include "gdb_assert.h".
851         (d10v_store_return_value): Rewrite to match current interface.
852         (d10v_extract_struct_value_address): Ditto.
853         (d10v_extract_return_value): Ditto.
854         (d10v_gdbarch_init): Set store_restore_value,
855         extract_struct_value_address and extract_return_value.
856
857 2003-01-12  J. Brobecker  <brobecker@gnat.com>
858
859         * hpread.c (set_namestring): New procedure replacing the
860         SET_NAMESTRING macro.
861         (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
862         by calls to set_namestring.
863
864 2003-01-11  J. Brobecker  <brobecker@gnat.com>
865
866         * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
867         a compilation warning.
868         (hpread_process_one_debug_symbol): Likewise.
869
870 2003-01-10  David Carlton  <carlton@math.stanford.edu>
871
872         * linespec.c (decode_line_1): Rename variable 's' to
873         'file_symtab'.
874         (decode_all_digits): Rename argument 's' to 'file_symtab'.
875         (decode_dollar): Ditto.
876         (decode_variable): Ditto.
877         (symbol_found): Ditto.
878
879 2003-01-09  Michael Chastain  <mec@shout.net>
880
881         * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
882
883 2003-01-07  Corinna Vinschen  <vinschen@redhat.com>
884
885         * win32-nat.c (set_process_privilege): New function.
886         (child_attach): Call set_process_privilege() to enable the
887         SE_DEBUG_NAME user privilege if available in process token.
888
889 2003-01-10  J. Brobecker  <brobecker@gnat.com>
890
891         * hpread.c (hpread_process_one_debug_symbol): Fix a small
892         compilation error in the previous revision.
893
894 2003-01-09  David Carlton  <carlton@math.stanford.edu>
895
896         * linespec.c: Update copyright.
897
898 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
899
900         * lin-lwp.c (child_wait): Ignore exit statuses for processes other
901         than inferior_ptid.
902         (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
903
904 2003-01-09  Andrew Cagney  <ac131313@redhat.com>
905
906         * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
907         Update comments.
908         * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
909         (frame_saved_regs_zalloc): Update.
910         (frame_saved_regs_register_unwind): Update.
911         (create_new_frame): Update.
912         (get_prev_frame): Update.
913         (frame_extra_info_zalloc): Update.
914         (deprecated_get_frame_saved_regs): Update.
915         * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
916         * cris-tdep.c: Update comment.
917
918         * somsolib.h: Fix function indentation.
919         * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
920         * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
921         * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
922         * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
923         * somsolib.c, inftarg.c: Remove assignment in if conditional.
924
925         * infrun.c (follow_fork): Use ISO C definition.
926         * expprint.c (print_subexp): Use xfree instead of free.
927         * charset.c: Include "gdb_string.h" instead of <string.h>.
928         (register_iconv_charsets): Use ISO C definition.
929         (host_charset, target_charset): Ditto.
930         * Makefile.in (charset.o): Update dependencies.
931         (mi-cmd-env.o): Update dependencies.
932
933 2003-01-08  Andrew Cagney  <cagney@redhat.com>
934
935         * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
936         get_frame_base.
937
938 2003-01-08  Andrew Cagney  <ac131313@redhat.com>
939
940         * gdb_mbuild.sh: Add --keep option.  When specified, keep the
941         build directories.  Save edited gdb output in Mbuild.log.  If a
942         build fails, remove any final GDB executable.
943
944 2003-01-08  Andrew Cagney  <ac131313@redhat.com>
945
946         * gdb_mbuild.sh: Edit the output of `maint print architecture'
947         replacing hex constants with function names and stripping leading
948         file name directory prefixes.
949
950 2003-01-08  Andrew Cagney  <cagney@redhat.com>
951
952         * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
953         get_frame_base.
954
955 2003-01-08  David Carlton  <carlton@math.stanford.edu>
956
957         * linespec.c (decode_line_1): Move code into decode_variable.
958         (decode_variable): New function.
959
960 2003-01-08  Andrew Cagney  <ac131313@redhat.com>
961
962         * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
963
964 2003-01-08  Andrew Cagney  <cagney@redhat.com>
965
966         * cris-tdep.c (cris_frame_init_saved_regs): Use
967         get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
968         saved_regs buffer.
969         * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
970         (sh64_nofp_frame_init_saved_regs): Ditto.
971         (sh_fp_frame_init_saved_regs): Ditto.
972         * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
973         * mips-tdep.c (mips_init_extra_frame_info): Ditto.
974         * mcore-tdep.c (analyze_dummy_frame): Ditto.
975         * mn10300-tdep.c (analyze_dummy_frame): Ditto.
976
977 2003-01-08  Daniel Jacobowitz  <drow@mvista.com>
978
979         * minsyms.c (lookup_minimal_symbol): Update comment.
980         (lookup_minimal_symbol_text): Update comment.  Use the hash table.
981         (lookup_minimal_symbol_solib_trampoline): Likewise.
982
983 2003-01-08  Andrew Cagney  <cagney@redhat.com>
984
985         * d10v-tdep.c (d10v_init_extra_frame_info): Use
986         frame_relative_level.
987
988         * alpha-tdep.c: Use get_frame_extra_info.
989         * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
990         * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
991         * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
992         * sparc-tdep.c, xstormy16-tdep.c: Ditto.
993
994         * alpha-tdep.c: Use get_next_frame.
995         * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
996         * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
997         * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
998         * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
999         * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
1000         * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
1001         * xstormy16-tdep.c: Ditto.
1002         
1003 2003-01-07  Andrew Cagney  <cagney@redhat.com>
1004
1005         * alpha-tdep.c: Use get_frame_base.
1006         * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1007         * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
1008         * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
1009         * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
1010         * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
1011         * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
1012         * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
1013         * config/sparc/tm-sparc.h: Ditto.
1014         
1015 2003-01-07  Andrew Cagney  <cagney@redhat.com>
1016
1017         * frame.c (deprecated_get_frame_context): New function.
1018         (deprecated_set_frame_context): New function.
1019         * frame.h (deprecated_get_frame_context): Declare.
1020         (deprecated_set_frame_context): Declare.
1021         * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
1022         (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
1023         
1024 2003-01-07  Andrew Cagney  <cagney@redhat.com>
1025
1026         * frame.c (deprecated_set_frame_next_hack): New function.
1027         (deprecated_set_frame_prev_hack): New function.
1028         * frame.h (deprecated_set_frame_next_hack): Declare.
1029         (deprecated_set_frame_prev_hack): Declare.
1030         * mcore-tdep.c (analyze_dummy_frame): Use
1031         deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
1032         * mn10300-tdep.c (analyze_dummy_frame): Ditto.
1033
1034 2003-01-07  David Carlton  <carlton@math.stanford.edu>
1035
1036         * linespec.c (decode_line_1): Move code into decode_dollar.
1037         (decode_dollar): New function.
1038
1039 2003-01-07  Andrew Cagney  <cagney@redhat.com>
1040
1041         * arm-tdep.c (arm_init_extra_frame_info): Use
1042         deprecated_update_frame_base_hack.
1043         * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
1044         * mn10300-tdep.c (analyze_dummy_frame): Ditto.
1045         (fix_frame_pointer): Ditto.
1046         (mn10300_analyze_prologue): Ditto.
1047
1048 2003-01-07  Andrew Cagney  <cagney@redhat.com>
1049
1050         * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
1051         extra_info using frame_extra_info_zalloc.
1052         * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
1053         * sh-tdep.c (sh_init_extra_frame_info): Ditto.
1054         (sh64_init_extra_frame_info): Ditto.
1055         * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
1056         * s390-tdep.c (s390_init_extra_frame_info): Ditto.
1057         * mips-tdep.c (mips_init_extra_frame_info): Ditto.
1058         * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
1059         * frv-tdep.c (frv_init_extra_frame_info): Ditto.
1060         * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
1061         * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
1062         * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
1063         * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
1064         * cris-tdep.c (cris_init_extra_frame_info): Ditto.
1065         * arm-tdep.c (arm_init_extra_frame_info): Ditto.
1066         * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
1067
1068         * mn10300-tdep.c (analyze_dummy_frame): Use
1069         deprecated_set_frame_extra_info_hack.
1070         * mcore-tdep.c (analyze_dummy_frame): Ditto.
1071
1072 2003-01-07  J. Brobecker  <brobecker@gnat.com>
1073
1074         * mdebugread.c (parse_symbol): Skip stProc entries which storage
1075         class is not scText. These do not define "real" procedures.
1076         (parse_partial_symbols): Likewise.
1077
1078 2003-01-06  Michael Snyder  <msnyder@redhat.com>
1079
1080         * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
1081
1082 2003-01-06  Andrew Cagney  <ac131313@redhat.com>
1083
1084         * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
1085         * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
1086         * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
1087         deprecated_frame_xmalloc_with_cleanup.
1088         * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
1089         deprecated_frame_xmalloc.
1090         * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
1091         * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
1092
1093 2003-01-06  Andrew Cagney  <cagney@redhat.com>
1094
1095         * x86-64-linux-tdep.c: Include "osabi.h".
1096         * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
1097
1098         * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
1099
1100 2003-01-06  Andrew Cagney  <cagney@redhat.com>
1101
1102         * MAINTAINERS (Target Instruction Set Architectures): Update
1103         arm-elf.  Can be built with -Werror, has been multiarched.
1104
1105         * value.h (unpack_long): Make buffer parameter constant.
1106         (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
1107         * scm-lang.h (scm_parse): Ditto.
1108         * defs.h (extract_typed_address, extract_address): Ditto.
1109         (extract_long_unsigned_integer): Ditto.
1110         * inferior.h (unsigned_pointer_to_address): Ditto.
1111         (signed_pointer_to_address): Ditto.
1112         * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
1113         * gdbarch.h, gdbarch.c: Regenerate.
1114         * findvar.c (extract_long_unsigned_integer): Update.
1115         (extract_address): Update.
1116         (extract_typed_address): Update.
1117         (unsigned_pointer_to_address): Update.
1118         * values.c (unpack_long): Update.
1119         (unpack_double): Update.
1120         (unpack_pointer): Update.
1121         (unpack_field_as_long): Update.
1122         * d10v-tdep.c (d10v_pointer_to_address): Update.
1123         * avr-tdep.c (avr_pointer_to_address): Update.
1124         * scm-lang.c (scm_unpack): Update.
1125         * findvar.c (signed_pointer_to_address): Update.
1126
1127 2003-01-06  Michal Ludvig  <mludvig@suse.cz>
1128
1129         * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore 
1130         since it is in i386-tdep.c.
1131
1132 2003-01-06  J. Brobecker  <brobecker@gnat.com>
1133
1134         * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
1135         failure introduced in the previous change.
1136
1137 2003-01-05  Michael Chastain  <mec@shout.net>
1138
1139         * README: Remove references to deleted remote-*.c files:
1140         remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
1141         remote-nrom.c, remote-os9k.c, remote-udi.c.
1142
1143 2003-01-05  Mark Kettenis  <kettenis@gnu.org>
1144
1145         * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
1146         * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
1147         i386_get_longjmp_target.
1148
1149 2003-01-05  Andrew Cagney  <ac131313@redhat.com>
1150
1151         * arm-tdep.c (prologue_cache): Change to a pointer.
1152         (_initialize_arm_tdep): Allocate prologue_cache.
1153         (check_prologue_cache): Update.
1154         (save_prologue_cache): Update.
1155         (arm_gdbarch_init): Update.
1156
1157 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
1158
1159         * stabsread.c (update_method_name_from_physname): Call complaint()
1160         instead of error.
1161
1162 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
1163
1164         * arm-tdep.c (arm_frame_chain_valid):  Remove unnecessary test.
1165         * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
1166         * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
1167
1168         * blockframe.c: Include "gdbcmd.h" and "command.h".
1169         (backtrace_below_main): New variable.
1170         (file_frame_chain_valid, func_frame_chain_valid)
1171         (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
1172         (generic_func_frame_chain_valid): Remove functions.
1173         (frame_chain_valid, do_flush_frames_sfunc): New functions.
1174         (_initialize_blockframe): New function.
1175         * Makefile.in (blockframe.o): Update dependencies.
1176         * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
1177         comment.  Call frame_chain_valid ().
1178         * frame.h: Remove old prototypes.  Add prototype for
1179         frame_chain_valid and update comments to match.
1180         * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
1181         Remove old comment.
1182         * gdbarch.h: Regenerated.
1183         * gdbarch.c: Regenerated.
1184
1185         * alpha-tdep.c (alpha_gdbarch_init): Don't call
1186         set_gdbarch_frame_chain_valid.
1187         * avr-tdep.c (avr_gdbarch_init): Likewise.
1188         * cris-tdep.c (cris_gdbarch_init): Likewise.
1189         * frv-tdep.c (frv_gdbarch_init): Likewise.
1190         * h8300-tdep.c (h8300_gdbarch_init): Likewise.
1191         * i386-tdep.c (i386_svr4_init_abi): Likewise.
1192         (i386_nw_init_abi): Likewise.
1193         (i386_gdbarch_init): Likewise.
1194         * ia64-tdep.c (ia64_gdbarch_init): Likewise.
1195         * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
1196         * m68k-tdep.c (m68k_gdbarch_init): Likewise.
1197         * mcore-tdep.c (mcore_gdbarch_init): Likewise.
1198         * mips-tdep.c (mips_gdbarch_init): Likewise.
1199         * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
1200         * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
1201         * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
1202         * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
1203         * s390-tdep.c (s390_gdbarch_init): Likewise.
1204         * sh-tdep.c (sh_gdbarch_init): Likewise.
1205         * sparc-tdep.c (sparc_gdbarch_init): Likewise.
1206         * v850-tdep.c (v850_gdbarch_init): Likewise.
1207         * vax-tdep.c (vax_gdbarch_init): Likewise.
1208         * x86-64-tdep.c (x86_64_init_abi): Likewise.
1209
1210         * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
1211         * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
1212         * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
1213         * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
1214         * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
1215         * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
1216         * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
1217         * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
1218
1219 2002-01-04  Daniel Jacobowitz  <drow@mvista.com>
1220
1221         * Makefile.in (acconfig_h): Remove incorrect macro.
1222         (config_h): Define.
1223         (osabi.o): Update dependencies.
1224         * configure.tgt: Set gdb_osabi based on target triplet.
1225         * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
1226         * configure: Regenerated.
1227         * config.in: Regenerated.
1228         * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
1229         (GDB_OSABI_DEFAULT): Define if not already defined.
1230         (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
1231         (set_osabi_string): New variables.
1232         (gdbarch_register_osabi): Add new OS ABI to
1233         gdb_osabi_available_names.
1234         (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
1235         (set_osabi, show_osabi): New functions.
1236         (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
1237
1238 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
1239
1240         * arch-utils.c (gdbarch_info_init): Set osabi to
1241         GDB_OSABI_UNINITIALIZED.
1242         * gdbarch.sh: Add osabi to struct gdbarch and to struct
1243         gdbarch_info.  Include "osabi.h" in gdbarch.c.  Check osabi
1244         in gdbarch_list_lookup_by_info and in gdbarch_update_p.
1245         * gdbarch.c: Regenerated.
1246         * gdbarch.h: Regenerated.
1247         * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
1248         there's no BFD.
1249         (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
1250         * osabi.h (enum gdb_osabi): Move to defs.h.
1251         (gdbarch_init_osabi): Update prototype.
1252         * defs.h (enum gdb_osabi): Moved here.
1253         * Makefile.in: Update dependencies.
1254
1255         * alpha-tdep.h: Don't include "osabi.h".
1256         (struct gdbarch_tdep): Remove osabi member.
1257         * alpha-tdep.c: Include "osabi.h".
1258         (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't
1259         iterate over arches.  Update call to gdbarch_init_osabi.
1260         (alpha_dump_tdep): Don't dump osabi.
1261         * alpha-linux-tdep.c: Include "osabi.h".
1262         * alpha-osf1-tdep.c: Include "osabi.h".
1263         * alphafbsd-tdep.c: Include "osabi.h".
1264         * alphanbsd-tdep.c: Include "osabi.h".
1265
1266         * arm-tdep.h: Don't include "osabi.h".
1267         (struct gdbarch_tdep): Remove osabi member.
1268         * arm-tdep.c: Include "osabi.h".
1269         (arm_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't
1270         iterate over arches.  Update call to gdbarch_init_osabi.
1271         (arm_dump_tdep): Don't dump osabi.
1272         * arm-linux-tdep.c: Include "osabi.h".
1273         * armnbsd-tdep.c: Include "osabi.h".
1274
1275         * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
1276         Update call to gdbarch_init_osabi.
1277
1278         * i386-tdep.h: Don't include "osabi.h".
1279         (struct gdbarch_tdep): Remove osabi member.
1280         * i386-tdep.c: Include "osabi.h".
1281         (i386_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't
1282         iterate over arches.  Update call to gdbarch_init_osabi.
1283         (i386_dump_tdep): Don't dump osabi.
1284         * i386-linux-tdep.c: Include "osabi.h".
1285         * i386-sol2-tdep.c: Include "osabi.h".
1286         * i386bsd-tdep.c: Include "osabi.h".
1287         * i386gnu-tdep.c: Include "osabi.h".
1288         * i386ly-tdep.c: Include "osabi.h".
1289         * i386nbsd-tdep.c: Include "osabi.h".
1290         * i386obsd-tdep.c: Include "osabi.h".
1291
1292         * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
1293         (mips_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't
1294         check osabi when iterating over arches.  Update call to
1295         gdbarch_init_osabi.
1296         (mips_dump_tdep): Don't dump osabi.
1297
1298         * ns32k-tdep.h: Don't include "osabi.h".
1299         (struct gdbarch_tdep): Remove.
1300         * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
1301         gdbarch_lookup_osabi.  Don't iterate over arches.  Don't
1302         allocate tdep.  Update call to gdbarch_init_osabi.
1303         (ns32k_dump_tdep): Remove.
1304         (_initialize_ns32k_tdep): Update call to gdbarch_register.
1305         * ns32knbsd-tdep.c: Include "osabi.h".
1306
1307         * ppc-tdep.h: Don't include "osabi.h".
1308         (struct gdbarch_tdep): Remove osabi member.
1309         * rs6000-tdep.c: Include "osabi.h".
1310         (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't check
1311         osabi when iterating over arches.  Update call to
1312         gdbarch_init_osabi.
1313         (rs6000_dump_tdep): Don't dump osabi.
1314         * ppc-linux-tdep.c: Include "osabi.h".
1315         * ppcnbsd-tdep.c: Include "osabi.h".
1316
1317         * sh-tdep.h: Don't include "osabi.h".
1318         (struct gdbarch_tdep): Remove osabi member.
1319         * sh-tdep.c: Include "osabi.h".
1320         (sh_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't
1321         iterate over arches.  Update call to gdbarch_init_osabi.
1322         (sh_dump_tdep): Don't dump osabi.
1323         * shnbsd-tdep.c: Include "osabi.h".
1324
1325         * sparc-tdep.c: Include "osabi.h".
1326         (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't
1327         iterate over arches.  Update call to gdbarch_init_osabi.
1328         (sparc_dump_tdep): Don't dump osabi.  Do dump the rest of the
1329         tdep structure.
1330
1331         * vax-tdep.h: Don't include "osabi.h".
1332         (struct gdbarch_tdep): Remove.
1333         * vax-tdep.c: Include "osabi.h".
1334         (vax_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't
1335         iterate over arches.  Don't allocate tdep.  Update call
1336         to gdbarch_init_osabi.
1337         (vax_dump_tdep): Remove.
1338         (_initialize_vax_tdep): Update call to gdbarch_register.
1339
1340 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
1341
1342         * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
1343         entirely.
1344         (breakpoint_re_set_one): Don't fetch the value for a disabled
1345         watchpoint.
1346
1347 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
1348
1349         * buildsym.h (processing_hp_compilation): Remove obsolete variable.
1350         * gdbarch.sh Remove include of "value.h" in gdbarch.h.
1351         (COERCE_FLOAT_TO_DOUBLE): Remove.
1352         * gdbarch.c: Regenerate.
1353         * gdbarch.h: Regenerate.
1354         * Makefile.in: Remove value_h from gdbarch_h.
1355         * valops.c (coerce_float_to_double): New variable.
1356         (default_coerce_float_to_double): Remove.
1357         (standard_coerce_float_to_double): Remove.
1358         (value_arg_coerce): Use coerce_float_to_double.
1359         (_initialize_valops): Add "set coerce-float-to-double".
1360         * value.h (default_coerce_float_to_double): Remove prototype.
1361         (standard_coerce_float_to_double): Remove prototype.
1362
1363         * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
1364         prototyped.
1365         * mdebugread.c (parse_symbol): Likewise.
1366         * stabsread.c (define_symbol): Mark all functions as prototyped.
1367
1368         * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
1369         * alpha-tdep.c (alpha_gdbarch_init): Remove call to
1370         set_gdbarch_coerce_float_to_double.
1371         * arm-tdep.c (arm_gdbarch_init): Likewise.
1372         * frv-tdep.c (frv_gdbarch_init): Likewise.
1373         * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
1374         * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
1375         * mips-tdep.c (mips_gdbarch_init): Likewise.
1376         (mips_coerce_float_to_double): Remove.
1377         * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
1378         (rs6000_coerce_float_to_double): Remove.
1379         * s390-tdep.c (s390_gdbarch_init): Likewise.
1380         * sh-tdep.c (sh_gdbarch_init): Likewise.
1381         (sh_coerce_float_to_double): Remove.
1382         * sparc-tdep.c (sparc_gdbarch_init): Likewise.
1383         (sparc_coerce_float_to_double): Remove.
1384         * v850-tdep.c (v850_gdbarch_init): Likewise.
1385         * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
1386         * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
1387         * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
1388         (hppa_coerce_float_to_double): Remove prototype.
1389         * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
1390
1391 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
1392
1393         * regformats/reg-m68k.dat: Remove fpcode and fpflags.
1394
1395 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
1396
1397         Suggested by Stewart Brown <sb24@avaya.com>:
1398         * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
1399         in recursive calls.  Handle TYPE_CODE_TYPEDEF.
1400         (c_type_print_varspec_suffix): Likewise.
1401
1402 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
1403
1404         * configure.in: Don't set and AC_SUBST SUBDIRS.
1405         * configure: Regenerated.
1406
1407         * configure.in: Remove code dealing with shared libraries.
1408         * Makefile.in: Remove HLDFLAGS and HLDENV.
1409         * configure: Regenerated.
1410
1411 2003-01-04  Andrew Cagney  <ac131313@redhat.com>
1412
1413         * frame.c (deprecated_frame_xmalloc): New function.
1414         (deprecated_set_frame_saved_regs_hack): New function.
1415         (deprecated_set_frame_extra_info_hack): New function.
1416         * frame.h (deprecated_frame_xmalloc): Declare.
1417         (deprecated_set_frame_saved_regs_hack): Declare.
1418         (deprecated_set_frame_extra_info_hack): Declare.
1419
1420 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
1421
1422         * configure.in: Move code that provides the --enable-gdbtk option
1423         right after the code that handles the --enable-tui option, and
1424         polish it somewhat.
1425         * configure: Regenerated.
1426
1427         * configure.in: Call AC_GNU_SOURCE.  Check for pread64 using
1428         AC_CHECK_FUNCS and remove the old check for pread64.
1429         * acinclude.m4 (AC_GNU_SOURCE): New macro.
1430         * acconfig.h (_GNU_SOURCE): Add.
1431         (HAVE_PREAD64): Remove.
1432         * configure, aclocal.m4, config.in: Regenerated.
1433
1434 2003-01-03  Andrew Cagney  <ac131313@redhat.com>
1435
1436         * alpha-tdep.c: Use get_frame_saved_regs.
1437         * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1438         * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
1439         * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
1440         * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
1441         * vax-tdep.c, xstormy16-tdep.c: Ditto.
1442
1443 2003-01-03  Mark Kettenis  <kettenis@gnu.org>
1444
1445         * configure.in: Remove all use of the SUBDIRS variable; add
1446         directories using the AC_CONFIG_SUBDIRS macro instead.  Polish
1447         code providing the --enable-multi-ice option, and move it right in
1448         front of the code that checks whether gdbserver is supported.
1449         Polish that too.
1450         * configure: Regenerated.
1451         * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
1452         @SUBDIRS@.
1453
1454 2003-01-03  Andrew Cagney  <cagney@redhat.com>
1455
1456         * alpha-tdep.c: Use deprecated_update_frame_base_hack.
1457         * avr-tdep.c, cris-tdep.c: Ditto.
1458         * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
1459         * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
1460         
1461 2003-01-03  Mark Kettenis  <kettenis@gnu.org>
1462
1463         * configure.in: Remove --enable-netrom option.
1464         * configure: Regenerated.
1465
1466 2003-01-03  Mark Kettenis  <kettenis@gnu.org>
1467
1468         * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
1469         declaration for `struct re_pattern_buffer' instead.
1470         * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
1471
1472 2003-01-03  J. Brobecker  <brobecker@gnat.com>
1473
1474         * mdebugread.c (parse_symbol): Count until the stEnd matching
1475         the structure name.
1476
1477 2003-01-02  Mark Kettenis  <kettenis@gnu.org>
1478
1479         * configure.in: Remove --with-cpu option.
1480         subscripts.  Remove evil changequotes here.
1481         * acconfig.h (TARGET_CPU_DEFAULT): Remove.
1482         * config.in, configure: Regenerated.
1483         
1484         * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
1485         * configure.in: Cleanup section that sources GDB and BFD configure
1486         subscripts.  Remove evil changequotes here.
1487         * config.in, configure: Regenerated.
1488
1489 2003-01-02  Andrew Cagney  <ac131313@redhat.com>
1490
1491         * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
1492         frame accessor methods.
1493         * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1494         * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
1495         * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
1496         * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
1497         * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
1498         * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
1499         * z8k-tdep.c: Ditto.
1500         
1501 2003-01-02  Mark Kettenis  <kettenis@gnu.org>
1502
1503         * configure.in: Remove UI_OUT configuration code.
1504         * ada-lang.c: Update assuming UI_OUT is always true.
1505         * Makefile.in (UIOUT_CFLAGS): Remove.
1506         * configure: Regenerated.
1507         * TODO: Remove blurb about elimination of -DUI_OUT.
1508
1509         * configure.in: Move code that provides the --enable-gdbcli,
1510         --enable-gdbmi options right before the code that handles the
1511         --enable-tui option.  Polish a bit.
1512         * configure: Regenerated.
1513
1514         * configure.in: Rewrite check for GNU regex and the
1515         --without-included regex option, and move it into the "Checks for
1516         library functions" section.  This makes us use the system regex
1517         again by default on systems with version 2 of the GNU C library.
1518         This was apparently broken.
1519         * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
1520         * acconfig.h (USE_INCLUDED_REGEX): Remove.
1521         * config.in, configure: Regenerated.
1522
1523         * configure.in: Move code that provides the --enable-tui option
1524         before the "Checks for libraries" section.  Polish the code
1525         somewhat and set need_curses to yes if we build the TUI.  Rewrite
1526         code that looks for a library providing termcap functionality to
1527         match more closely what's done in the Readline library, and move
1528         it into to the "Checks for libraries" section.
1529         * configure: Regenerated.
1530         * Makefile.in (TERMCAP): Remove variable.
1531         * config/i386/go32.mh (TERMCAP): Remove variable.
1532
1533 2003-01-02  Andrew Cagney  <ac131313@redhat.com>
1534
1535         * MAINTAINERS: Mention gdb_mbuild.sh.
1536         * gdb_mbuild.sh: Rewrite.
1537
1538 2003-01-02  Mark Kettenis  <kettenis@gnu.org>
1539
1540         * configure.in: Fix typo in last change.
1541         * config.in, configure: Regenerated.
1542
1543 2003-01-02  Andrew Cagney  <ac131313@redhat.com>
1544
1545         * valarith.c (value_binop): Delete obsolete code and comments.
1546         * configure.host: Ditto.
1547         * buildsym.h (make_blockvector): Ditto.
1548         * buildsym.c (make_blockvector): Ditto.
1549         * defs.h (enum language): Ditto.
1550         (chill_demangle): Ditto.
1551         * elfread.c (elf_symtab_read): Ditto.
1552         * dwarfread.c (CHILL_PRODUCER): Ditto.
1553         (set_cu_language): Ditto.
1554         (handle_producer): Ditto.
1555         * expprint.c (print_subexp): Ditto.
1556         * gdbtypes.c (chill_varying_type): Ditto.
1557         * gdbtypes.h (builtin_type_chill_bool): Ditto.
1558         (builtin_type_chill_char, builtin_type_chill_long): Ditto.
1559         (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
1560         (chill_varying_type): Ditto.
1561         * language.h (_LANG_chill): Ditto.
1562         * language.c (binop_result_type, integral_type): Ditto.
1563         (character_type, string_type, structured_type): Ditto.
1564         (lang_bool_type, binop_type_check): Ditto.
1565         * stabsread.h (os9k_stabs): Ditto.
1566         * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
1567         (define_symbol, read_type, read_struct_fields): Ditto.
1568         (read_array_type, read_enum_type, read_huge_number): Ditto.
1569         (read_range_type, start_stabs): Ditto.
1570         * symfile.c (init_filename_language_table): Ditto.
1571         (add_psymbol_with_dem_name_to_list): Ditto.
1572         * symtab.c (symbol_init_language_specific): Ditto.
1573         (symbol_init_demangled_name, symbol_demangled_name): Ditto.
1574         * symtab.h (struct general_symbol_info): Ditto.
1575         (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
1576         * typeprint.c (typedef_print): Ditto.
1577         * utils.c (fprintf_symbol_filtered): Ditto.
1578         * valops.c (value_cast, search_struct_field, value_slice): Delete
1579         obsolete code.
1580         (varying_to_slice): Delete function.
1581         * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
1582         (varying_to_slice): Delete declaration.
1583         * MAINTAINERS: Update.
1584
1585 2003-01-02  Mark Kettenis  <kettenis@gnu.org>
1586
1587         * configure.in: Reorganize "Checks for library functions section"
1588         a bit.  Remove check for `btowc' and `isascii' functions.
1589         * configure: Regenerated.
1590
1591         * acconfig.h (_MSE_INT_H): Remove.
1592         * configure.in: Create "Checks for header files" section, and move
1593         appropriate tests there.  Don't check for objlist.h, wchar.h,
1594         wctype.h and asm/debugreg.h.  Rewrite Solaris 2.[78] <curses.h>
1595         misdetection fix.  Also add "Checks for types", "Checks for
1596         compiler characteristics" and "Checks for library functions"
1597         sections.
1598         * config.in, configure: Regenerated.
1599
1600         * configure.in: Create "Checks for programs" section, and move
1601         appropriate tests there.
1602
1603 2003-01-01  Mark Kettenis  <kettenis@gnu.org>
1604
1605         * configure.in: Create "Checks for libraries" section, and move
1606         appropriate tests there.  Cleanup check for wctype in libw.  Use
1607         AC_SEARCH_LIBS to see whether we need libsocket.
1608         * configure: Regenerated.
1609
1610 For older changes see ChangeLog-2002
1611 \f
1612 Local Variables:
1613 mode: change-log
1614 left-margin: 8
1615 fill-column: 74
1616 version-control: never
1617 End: