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