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