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