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