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