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