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