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