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