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