1 2003-03-28 Jeff Johnston <jjohnstn@redhat.com>
3 * thread.c: Reindented.
7 2003-03-28 Bob Rossi <bob_rossi@cox.net>
9 * MAINTAINERS (write after approval): Add myself.
11 2003-03-27 Theodore A. Roth <troth@openavr.org>
13 * objc-exp.y: Add missing semi-colons.
15 2003-03-27 Andrew Cagney <cagney@redhat.com>
17 * regcache.c (write_sp): Delete function and references.
18 * inferior.h (write_sp): Delete declaration.
19 * valops.c (hand_function_call): Replace write_sp with
21 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
22 (sparc_pop_frame): Ditto.
24 2003-03-27 Andrew Cagney <cagney@redhat.com>
26 * NEWS: Mention removal of support for hppa*-*-bsd* and
27 hppa*-*-osf* natives, and hppa*-*-pro* target.
28 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
29 * config/pa/xm-pa.h: Obsolete file.
30 * config/pa/xm-hppab.h: Obsolete file.
31 * config/pa/nm-hppab.h: Obsolete file.
32 * config/pa/tm-hppab.h: Obsolete file.
33 * config/pa/tm-hppao.h: Obsolete file.
34 * config/pa/nm-hppao.h: Obsolete file.
35 * config/pa/tm-pro.h: Obsolete file.
36 * config/pa/hppaosf.mt: Obsolete file.
37 * config/pa/hppaosf.mh: Obsolete file.
38 * config/pa/hppapro.mt: Obsolete file.
39 * config/pa/hppabsd.mt: Obsolete file.
40 * config/pa/hppabsd.mh: Obsolete file.
41 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
42 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
45 2003-03-27 Andrew Cagney <cagney@redhat.com>
47 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
48 push_arguments. Don't set push_return_address or write_sp.
49 (d10v_push_dummy_call): Replace d10v_push_arguments.
50 (d10v_push_return_address, d10v_write_sp): Delete function,
51 handled by push_dummy_call.
53 2003-03-26 Andrew Cagney <cagney@redhat.com>
55 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
56 (push_dummy_call): New pure multi-arch replacement with gdbarch,
57 regcache and dummy_addr parameters.
58 * gdbarch.h, gdbarch.c: Re-generate.
59 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
60 available; assume it will handle stack alignment and return
61 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
62 legacy_push_arguments.
63 (legacy_push_arguments): Rename default_push_arguments.
64 * value.h (legacy_push_arguments): Rename default_push_arguments.
65 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
66 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
67 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
68 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
69 * config/i386/tm-symmetry.h: Update.
70 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
71 * x86-64-tdep.c (x86_64_init_abi): Update.
72 * v850-tdep.c (v850_gdbarch_init): Update.
73 * sparc-tdep.c (sparc_gdbarch_init): Update.
74 * sh-tdep.c (sh_gdbarch_init): Update.
75 * s390-tdep.c (s390_gdbarch_init): Update.
76 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
77 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
78 * mips-tdep.c (mips_gdbarch_init): Update.
79 * mcore-tdep.c (mcore_gdbarch_init): Update.
80 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
81 * ia64-tdep.c (ia64_gdbarch_init): Update.
82 * i386-tdep.c (i386_gdbarch_init): Update.
83 * hppa-tdep.c (hppa_gdbarch_init): Update.
84 * h8300-tdep.c (h8300_gdbarch_init): Update.
85 * frv-tdep.c (frv_gdbarch_init): Update.
86 * d10v-tdep.c (d10v_gdbarch_init): Update.
87 * cris-tdep.c (cris_gdbarch_init): Update.
88 * avr-tdep.c (avr_gdbarch_init): Update.
89 * arm-tdep.c (arm_gdbarch_init): Update.
90 * arm-linux-tdep.c (arm_linux_init_abi): Update.
91 * alpha-tdep.c (alpha_gdbarch_init): Update.
93 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
95 * signals/signals.c (do_target_signal_to_host): Correct realtime
98 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
100 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
101 (struct sal_chain, map_catch_names): Remove.
102 (catch_exception_command_1): Don't call
103 handle_gnu_4_16_catch_command.
105 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
107 From Mark Dettinger <dettinge@de.ibm.com>:
108 * dwarf2cfi.c (read_2u): Increment pointer by two.
110 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
112 * signals/signals.c: Fix typos in last change.
114 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
116 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
117 not already defined. Use __SIGRTMIN if available.
118 (target_signal_from_host): Remove SIGRTMIN block.
119 (do_target_signal_to_host): Remove SIGRTMIN block; check that
120 the signal is within the realtime range.
122 2003-03-25 Adam Fedor <fedor@gnu.org>
124 * Makefile.in (infrun.o): Add $(language_h)
125 * infrun.c (handle_inferior_event): Use skip_language_trampoline
126 for language specific trampolines.
127 * language.h (struct language_defn): Add skip_trampoline.
128 (skip_language_trampoline): Declare.
129 * language.c (unk_lang_trampoline, skip_language_trampoline):
131 (unknown_language_defn, auto_language_defn, local_language_defn):
132 Add ukn_lang_trampoline.
133 * ada-lang.c (ada_language_defn): Add NULL for language
134 specific skip_trampoline.
135 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
136 scm-lang.c: Likewise.
137 * objc-lang.c (objc_skip_trampoline): New function.
138 (objc_language_defn): Add objc_skip_trampoline.
140 I2003-03-25 Andrew Cagney <cagney@redhat.com>
142 * frame.c (get_prev_frame): Delay validating a frame's ID -
143 non-NULL, didn't go backwards - until an attempt to unwind it to
146 2003-03-25 Andrew Cagney <cagney@redhat.com>
148 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
149 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
150 * gdbarch.h, gdbarch.c: Re-generate.
151 * config/sparc/tm-sparc.h
152 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
153 * sparc-tdep.c (sparc_gdbarch_init): Set
154 deprecated_extra_stack_alignment_needed.
155 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
156 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
157 extra_stack_alignment_needed.
158 * v850-tdep.c (v850_gdbarch_init): Ditto.
159 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
160 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
161 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
162 * cris-tdep.c (cris_gdbarch_init): Ditto.
163 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
164 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
166 2003-03-25 Andrew Cagney <cagney@redhat.com>
168 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
170 * gdbarch.h, gdbarch.c: Regenerate.
171 * d10v-tdep.c (d10v_store_struct_return): Delete function.
172 (d10v_push_arguments): Set the struct return register.
173 (d10v_gdbarch_init): Update.
174 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
175 * x86-64-tdep.c (x86_64_init_abi): Update.
176 * vax-tdep.c (vax_gdbarch_init): Update.
177 * v850-tdep.c (v850_gdbarch_init): Update.
178 * sparc-tdep.c (sparc_gdbarch_init): Update.
179 * sh-tdep.c (sh_gdbarch_init): Update.
180 * s390-tdep.c (s390_gdbarch_init): Update.
181 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
182 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
183 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
184 * mips-tdep.c (mips_gdbarch_init): Update.
185 * mcore-tdep.c (mcore_gdbarch_init): Update.
186 * m68k-tdep.c (m68k_gdbarch_init): Update.
187 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
188 * ia64-tdep.c (ia64_gdbarch_init): Update.
189 * i386-tdep.c (i386_gdbarch_init): Update.
190 * hppa-tdep.c (hppa_gdbarch_init): Update.
191 * h8300-tdep.c (h8300_gdbarch_init): Update.
192 * frv-tdep.c (frv_gdbarch_init): Update.
193 * cris-tdep.c (cris_gdbarch_init): Update.
194 * avr-tdep.c (avr_gdbarch_init): Update.
195 * arm-tdep.c (arm_gdbarch_init): Update.
196 * alpha-tdep.c (alpha_gdbarch_init): Update.
198 2003-03-25 Andrew Cagney <cagney@redhat.com>
200 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
201 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
202 CALL_DUMMY_STACK_ADJUST with a predicate variable.
203 * gdbarch.h, gdbarch.c: Regenerate.
204 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
205 call_dummy_stack_adjust_p.
206 * vax-tdep.c (vax_gdbarch_init): Ditto.
207 * v850-tdep.c (v850_gdbarch_init): Ditto.
208 * sh-tdep.c (sh_gdbarch_init): Ditto.
209 * s390-tdep.c (s390_gdbarch_init): Ditto.
210 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
211 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
212 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
213 * mips-tdep.c (mips_gdbarch_init): Ditto.
214 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
215 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
216 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
217 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
218 * i386-tdep.c (i386_gdbarch_init): Ditto.
219 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
220 * frv-tdep.c (frv_gdbarch_init): Ditto.
221 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
222 * cris-tdep.c (cris_gdbarch_init): Ditto.
223 * avr-tdep.c (avr_gdbarch_init): Ditto.
224 * arm-tdep.c (arm_gdbarch_init): Ditto.
225 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
226 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
227 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
228 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
229 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
230 call_dummy_stack_adjust_p.
231 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
232 (CALL_DUMMY_STACK_ADJUST): Delete macro.
233 * sparc-tdep.c (sparc32_push_arguments): Update.
234 * valops.c (hand_function_call): Update.
236 2003-03-25 Corinna Vinschen <vinschen@redhat.com>
238 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
239 set_gdbarch_char_signed.
241 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
244 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
246 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
248 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
249 (_initialize_arm_tdep): Don't set tm_print_insn.
251 2003-03-24 Adam Fedor <fedor@gnu.org>
253 * Makefile.in (YYOBJ): Add objc-exp.tab.o
254 * objc-lang.h: Add multiple inclusion protection.
255 (start_msglist, add_msglist, end_msglist): Additional declarations.
257 2003-03-24 Richard Earnshaw <rearnsha@arm.com>
259 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
260 value was renamed to ARM_FLOAT_SOFT_FPA.
262 2003-03-23 Andrew Cagney <cagney@redhat.com>
264 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
265 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
266 * gdbarch.h, gdbarch.c: Regenerate.
267 * valops.c (hand_function_call): Update.
268 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
269 * frame.c (legacy_saved_regs_this_id): Update.
270 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
271 * dummy-frame.h: Update.
272 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
273 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
274 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
275 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
276 * config/m68k/tm-sun3.h: Update.
277 * blockframe.c (inside_main_func, frame_chain_valid): Update.
278 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
279 * x86-64-tdep.c (x86_64_init_abi): Update.
280 * vax-tdep.c (vax_gdbarch_init): Update.
281 * v850-tdep.c (v850_gdbarch_init): Update.
282 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
283 * sh-tdep.c (sh_gdbarch_init): Update.
284 * s390-tdep.c (s390_gdbarch_init): Update.
285 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
286 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
287 (frame_get_saved_regs): Update.
288 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
289 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
290 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
291 * mips-tdep.c (mips_gdbarch_init): Update.
292 * mcore-tdep.c (mcore_gdbarch_init): Update.
293 * m68k-tdep.c (m68k_gdbarch_init): Update.
294 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
295 * ia64-tdep.c (ia64_gdbarch_init): Update.
296 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
297 * i386-interix-tdep.c (i386_interix_init_abi): Update.
298 (i386_interix_back_one_frame): Update.
299 * hppa-tdep.c (hppa_gdbarch_init): Update.
300 (hppa_init_extra_frame_info): Update.
301 * h8300-tdep.c (h8300_gdbarch_init): Update.
302 * frv-tdep.c (frv_gdbarch_init): Update.
303 * cris-tdep.c (cris_gdbarch_init): Update.
304 * avr-tdep.c (avr_gdbarch_init): Update.
305 * arm-tdep.c (arm_gdbarch_init): Update.
306 * alpha-tdep.c (alpha_gdbarch_init): Update.
308 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
310 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
311 (arm_get_fp_model): Declare.
312 * arm-tdep.c (fp_model_strings): New string array.
313 (arm_fp_model, current_fp_model): New variables.
314 (arm_get_fp_model): New function.
315 (arm_set_fp): New function.
316 (set_fp_model_sfunc): New function.
317 (show_fp_model): New function.
318 (_initialize_arm_tdep): Add new command to set/show the FPU.
319 (arm_extract_return_value): Use arm_get_fp_model.
320 (arm_store_return_value): Likewise.
321 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
322 to initialize the floating-point data types.
323 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
326 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
328 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
329 the current setting of each value.
330 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
331 new_set and new_show. Use add_setshow_cmd_full and
332 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
333 commands and add new version as subcommands of "set/show arm".
335 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
337 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
338 (set_arm_command, show_arm_command): New functions.
339 (_initialize_arm_tdep): Add them.
340 (num_disassembly_options): Renamed from num_flavor_options.
341 (valid_disassembly_styles): Renamed from valid_flavors.
342 (disassembly_style): Renamed from disassembly_flavor.
343 (set_disassembly_style_sfunc): Renamed from
344 set_disassembly_flavor_sfunc.
345 (set_disassembly_style): Renamed from set_disassembly_flavor.
346 (arm_othernames): Updated.
347 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
348 command. Add "set/show arm disassembly" commands. Deprecate
349 "othernames" command.
351 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
353 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
354 (arm-tdep.o): Depend on elf_arm_h.
356 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
358 * Makefile.in (coff_internal_h): Define.
359 (arm-tdep.o): Update dependencies.
361 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
363 * arm-tdep.c (prologue_cache): Delete.
364 (check_prologue_cache, save_prologue_cache): Delete.
365 (arm_scan_prologue): Don't check or update the prologue_cache.
366 (arm_gdb_arch_init): Don't initialize it.
367 (_initialize_arm_tdep): Likewise.
369 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
371 * MAINTAINERS (tui): Maintainer of tui code.
373 2003-03-21 Corinna Vinschen <vinschen@redhat.com>
375 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
376 (i386-cygwin-tdep.o): Add dependencies.
377 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
378 * i386-cygwin-tdep.c: New file.
379 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
380 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
382 2003-03-20 Andrew Cagney <cagney@redhat.com>
384 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
385 (handle_inferior_event): Remove code calling
386 DYNAMIC_TRAMPOLINE_NEXTPC.
388 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
389 already has a full path.
391 * main.c (gdb_main): Return 1.
392 (captured_main): Call error to report an invalid interpreter.
394 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
395 * alpha-osf1-tdep.c: Include "gdb_string.h".
397 2003-03-19 J. Brobecker <brobecker@gnat.com>
399 Continuing work to convert the hppa targets to multiarch partial.
401 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
402 method, now that hppa_push_dummy_frame has a conformant prototype.
403 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
404 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
405 for the switch to multiarch partial.
407 2003-03-19 Kevin Buettner <kevinb@redhat.com>
409 * mdebugread.c (parse_symbol): For stEnd, we're done counting
412 2003-03-18 Kevin Buettner <kevinb@redhat.com>
414 * mips-tdep.c (mips_register_name): Fix fencepost error involving
415 NUM_REGS bounds check.
417 2003-03-18 Kevin Buettner <kevinb@redhat.com>
419 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
420 * mips-tdep.c (gdb_assert.h): Include.
421 (mips_generic_reg_names, mips_processor_reg_names): Make static.
422 (mips_register_name): Handle integer registers explicitly. Add
424 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
425 (mips_lsi33k_reg_names): Don't list integer registers; they're
426 handled by mips_register_name() now.
427 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
428 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
429 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
430 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
431 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
433 2003-03-18 Andrew Cagney <cagney@redhat.com>
435 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
437 * gdbtypes.h (print_scalar_formatted): Update declaration.
438 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
440 2003-03-18 J. Brobecker <brobecker@gnat.com>
442 * infrun.c (observer.h): Add #include.
443 (normal_stop): Add call to observer_notify_normal_stop.
444 * Makefile.in (infrun.o): Add dependency on observer.h.
446 2003-03-18 J. Brobecker <brobecker@gnat.com>
448 Continuing work to convert the hppa targets to multiarch partial.
449 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
450 parameter. Reformat comment.
451 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
452 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
453 to match new profile.
455 2003-03-18 J. Brobecker <brobecker@gnat.com>
457 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
458 appear to be working in any case.
460 2003-03-18 J. Brobecker <brobecker@gnat.com>
462 * observer.c (observer_test_first_observer): New static variable.
463 (observer_test_second_observer): Likewise.
464 (observer_test_third_observer): Likewise.
465 (observer_test_first_notification_function): New static function.
466 (observer_test_second_notification_function): Likewise.
467 (observer_test_third_notification_function): Likewise.
469 2003-03-17 J. Brobecker <brobecker@gnat.com>
471 * hppa-tdep.c (gdb_assert.h): Add missing #include.
472 * somsolib.c (gdb_assert.h): Likewise.
473 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
474 (somsolib.o): Likewise.
476 2003-03-17 Andrew Cagney <cagney@redhat.com>
478 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
479 BFD. Simplify setting of di.endian.
481 2003-03-17 Andrew Cagney <cagney@redhat.com>
483 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
484 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
486 From Elena Zannoni <ezannoni@redhat.com>
487 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
488 vector and floating-point parameters.
489 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
491 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
493 2003-03-17 Fernando Nasser <fnasser@redhat.com>
495 * MAINTAINERS: Remove my name from several maintainership roles.
497 2003-03-17 Andrew Cagney <cagney@redhat.com>
499 Fix frame off-by-one bug.
500 * frame-unwind.h (frame_this_id_ftype): Replace
501 frame_unwind_id_ftype.
502 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
503 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
504 with "prev_register".
505 * frame-unwind.c (frame_unwind_find_by_pc): Return
506 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
508 * dummy-frame.c (cached_find_dummy_frame): Delete function.
509 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
510 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
511 (dummy_frame_unwind): Update.
512 * sentinel-frame.c (sentinel_frame_prev_register): Replace
513 sentinel_frame_register_unwind.
514 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
515 (sentinel_frame_unwinder): Update.
516 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
517 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
518 * frame.c (create_sentinel_frame): Update. Initialize
519 "prologue_cache" instead of "unwind_cache".
520 (frame_register_unwind): Call this frame's prev_register with the
521 next frame and this frame's prologue cache.
522 (get_prev_frame): Simplify. Always call prev frame's this_id with
523 this frame and prev frame's prologue cache. Document that this
524 call is shifted one to the left when compared to the
525 frame_register_unwind call.
526 (legacy_saved_regs_prev_register): Replace
527 frame_saved_regs_register_unwind.
528 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
529 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
530 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
531 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
532 (d10v_frame_unwind): Update.
533 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
534 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
535 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
536 "saved_regs" with "this_saved_regs".
538 2003-03-16 Andrew Cagney <cagney@redhat.com>
540 * frame.c (frame_pop): Don't call target_store_registers. Fix
541 problem reported by Mark Kettenis.
543 2003-03-16 Mark Kettenis <kettenis@gnu.org>
545 * i386-tdep.c (i386_register_type): Renamed from
546 i386_register_virtual_type. Adjust function signature.
547 (i386_gdbarch_init): Set register_type instead of
548 deprecated_max_register_raw_size,
549 deprecated_max_register_virtual_size and register_virtual_type.
551 2003-03-14 Andrew Cagney <cagney@redhat.com>
553 * frame.c (get_prev_frame): When a legacy frame, always call
554 legacy_get_prev_frame. Simplify unwind code using assumption that
556 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
557 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
558 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
560 2003-03-14 Andrew Cagney <cagney@redhat.com>
562 * frame.c (get_saved_register): Delete function.
563 * frame.h (get_saved_register): Delete declaration.
564 * xstormy16-tdep.c: Update comment.
565 * regcache.h: Update comments.
566 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
567 get_saved_register and extract_address, use
568 frame_read_unsigned_register.
569 (sparc_frame_saved_pc): Ditto.
570 (sparc_get_saved_register): Instead of get_saved_register, use
572 (sparc_pop_frame): Ditto.
573 * findvar.c: Update comments.
574 (value_of_register): Call frame_register instead of
576 (value_from_register): Ditto.
577 * config/sparc/tm-sparc.h: Update comment.
578 * breakpoint.c: Update comment.
580 2003-03-14 Andrew Cagney <cagney@redhat.com>
582 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
584 * gdbarch.h, gdbarch.c: Re-generate.
585 * frame.h: Update comments.
586 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
587 * x86-64-tdep.c (x86_64_init_abi): Update.
588 * sparc-tdep.c (sparc_gdbarch_init): Update.
589 * sh-tdep.c (sh_gdbarch_init): Update.
590 * mips-tdep.c (mips_gdbarch_init): Update.
591 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
592 * cris-tdep.c (cris_gdbarch_init): Update.
593 * ia64-tdep.c (ia64_gdbarch_init): Update.
594 * frame.c (frame_register): Update.
595 (get_saved_register): Update.
596 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
598 2003-03-13 Andrew Cagney <cagney@redhat.com>
600 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
601 * gdbarch.h, gdbarch.c: Regenerate.
602 * valops.c (hand_function_call): Update comment.
603 * stack.c (return_command): Update comment.
604 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
605 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
606 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
607 * x86-64-tdep.c (x86_64_init_abi): Update.
608 * vax-tdep.c (vax_gdbarch_init): Update.
609 * v850-tdep.c (v850_gdbarch_init): Update.
610 * sparc-tdep.c (sparc_gdbarch_init): Update.
611 * sh-tdep.c (sh_gdbarch_init): Update.
612 * s390-tdep.c (s390_gdbarch_init): Update.
613 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
614 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
615 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
616 * mips-tdep.c (mips_gdbarch_init): Update.
617 * mcore-tdep.c (mcore_gdbarch_init): Update.
618 * m68k-tdep.c (m68k_gdbarch_init): Update.
619 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
620 * ia64-tdep.c (ia64_gdbarch_init): Update.
621 * i386-tdep.c (i386_gdbarch_init): Update.
622 * hppa-tdep.c (hppa_gdbarch_init): Update.
623 * h8300-tdep.c (h8300_gdbarch_init): Update.
624 * frv-tdep.c (frv_gdbarch_init): Update.
625 * cris-tdep.c (cris_gdbarch_init): Update.
626 * avr-tdep.c (avr_gdbarch_init): Update.
627 * arm-tdep.c (arm_gdbarch_init): Update.
628 * alpha-tdep.c (alpha_gdbarch_init): Update.
630 2003-03-13 Andrew Cagney <cagney@redhat.com>
632 * frame.c (legacy_frame_p): New function.
633 (get_prev_frame): Use legacy_frame_p.
634 * frame.h (legacy_frame_p): Declare.
636 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
638 * MAINTAINERS (write after approval): Alphabetically
641 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
643 * MAINTAINERS (write after approval): Add myself.
645 2003-03-12 Andrew Cagney <cagney@redhat.com>
647 * frame.c (get_prev_frame): Rename the frame parameter to
649 (get_next_frame, legacy_get_prev_frame): Ditto.
651 2003-03-12 Andrew Cagney <cagney@redhat.com>
653 * frame.c (get_current_frame): Check target_has_registers before
654 checking target_has_stack.
655 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
656 instead of deprecated_selected_frame.
657 * findvar.c (value_of_register): Pass "frame", not
658 deprecated_selected_frame, to value_of_builtin_reg.
660 2003-03-12 Andrew Cagney <cagney@redhat.com>
662 * regcache.c (regcache_cooked_write_signed): New function.
663 (regcache_cooked_write_unsigned): New function.
664 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
665 (regcache_cooked_read_signed): Fix regnum in range assertion.
666 * regcache.h (regcache_cooked_write_signed): Declare.
667 (regcache_cooked_write_unsigned): Declare.
669 2003-03-12 Andrew Cagney <cagney@redhat.com>
671 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
672 * gdbarch.h, gdbarch.c: Re-generate.
673 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
674 * x86-64-tdep.h: Update.
675 * x86-64-tdep.c (x86_64_init_abi): Update.
676 * v850-tdep.c (v850_gdbarch_init): Update.
677 * sparc-tdep.c (sparc_gdbarch_init): Update.
678 * sh-tdep.c (sh_gdbarch_init): Update.
679 * s390-tdep.c (s390_gdbarch_init): Update.
680 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
681 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
682 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
683 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
684 * mips-tdep.c (mips_gdbarch_init): Update.
685 * mcore-tdep.c (mcore_gdbarch_init): Update.
686 * m68k-tdep.c (m68k_gdbarch_init): Update.
687 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
688 * ia64-tdep.c (ia64_gdbarch_init): Update.
689 * i386-tdep.c (i386_gdbarch_init): Update.
690 * i386-interix-tdep.c (i386_interix_init_abi): Update.
691 * hppa-tdep.c (hppa_gdbarch_init): Update.
692 * h8300-tdep.c (h8300_gdbarch_init): Update.
693 * frv-tdep.c (frv_gdbarch_init): Update.
694 * cris-tdep.c (cris_gdbarch_init): Update.
695 * avr-tdep.c (avr_gdbarch_init): Update.
696 * arm-tdep.c (arm_gdbarch_init): Update.
697 * alpha-tdep.c (alpha_gdbarch_init): Update.
698 * sh-tdep.c (sh_init_extra_frame_info): Update.
699 (sh64_init_extra_frame_info): Update.
700 * ns32knbsd-nat.c (frame_num_args): Update.
701 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
702 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
703 (xstormy16_frame_chain_valid): Update.
704 * vax-tdep.c (vax_saved_pc_after_call): Update.
705 * v850-tdep.c (v850_frame_chain): Update.
706 (v850_pop_frame): Update.
707 (v850_init_extra_frame_info): Update.
708 * sparc-tdep.c (setup_arbitrary_frame): Update.
709 * ns32k-tdep.c (umax_frame_num_args): Update.
710 * s390-tdep.c (s390_pop_frame_regular): Update.
711 * mn10300-tdep.c (mn10300_frame_chain): Update.
712 (mn10300_pop_frame_regular): Update.
713 (mn10300_init_extra_frame_info): Update.
714 * mips-tdep.c (mips_init_frame_pc_first): Update.
715 (mips_frame_chain): Update.
716 (mips_pop_frame): Update.
717 * mcore-tdep.c (mcore_frame_chain): Update.
718 (mcore_pop_frame): Update.
719 (mcore_init_extra_frame_info): Update.
720 * arch-utils.c (init_frame_pc_default): Update.
721 * m68k-tdep.c (isi_frame_num_args): Update.
722 (delta68_frame_num_args): Update.
723 (news_frame_num_args): Update.
724 * ia64-tdep.c (ia64_pop_frame_regular): Update.
725 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
726 (alpha_frame_chain): Update.
727 (alpha_pop_frame): Update.
728 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
729 (hppa_init_extra_frame_info): Update.
730 (hppa_frame_chain): Update.
731 (hppa_frame_chain_valid): Update.
732 * cris-tdep.c (cris_init_extra_frame_info): Update.
733 * avr-tdep.c (avr_init_extra_frame_info): Update.
734 * arm-tdep.c (arm_frame_chain_valid): Update.
735 (arm_init_extra_frame_info): Update.
736 (arm_pop_frame): Update.
737 * frame.c (frame_pc_unwind): Update.
738 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
739 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
740 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
741 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
742 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
743 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
745 2003-03-12 Andrew Cagney <cagney@redhat.com>
747 Eliminate the need for POP_FRAME.
748 * frame.c (do_frame_unwind_register): New function.
749 (frame_pop): When no POP_FRAME, pop the frame using register
750 unwind and a scratch regcache.
751 (frame_saved_regs_pop): Delete function.
752 (trad_frame_unwinder): Update.
753 * d10v-tdep.c (d10v_frame_pop): Delete function.
754 (d10v_frame_unwind): Update.
755 * sentinel-frame.c (sentinel_frame_pop): Delete function.
756 (sentinel_frame_unwinder): Update.
757 * dummy-frame.c (dummy_frame_pop): Delete function.
758 (dummy_frame_unwind): Update.
759 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
760 (struct frame_unwind): Update.
762 2003-03-11 Kevin Buettner <kevinb@redhat.com>
764 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
765 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
766 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
767 Do range checks on register number obtained from debugging info.
768 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
769 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
770 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
772 (do_fp_register_row): Fix typo which caused double type to be
773 used when attempting to unpack a float.
775 2003-03-11 J. Brobecker <brobecker@gnat.com>
777 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
779 2003-03-11 Andrew Cagney <cagney@redhat.com>
781 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
782 frame. Problem found by Corinna Vinschen.
784 2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
786 * doublest.c (floatformat_from_length): Accept also
787 the real size of 'long double' type.
789 2003-03-10 Daniel Jacobowitz <drow@mvista.com>
791 From Klee Dienes <kdienes@apple.com>:
792 * breakpoint.c (bpstat_copy): Copy the command lines as well
793 as the old value, to match what is freed in bpstat_clear.
795 2003-03-10 David Carlton <carlton@math.stanford.edu>
797 * minsyms.c (add_minsym_to_hash_table): Replace
798 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
799 (compare_minimal_symbols, compact_minimal_symbols)
800 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
801 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
802 of DEPRECATED_SYMBOL_MATCHES_NAME.
803 (lookup_minimal_symbol_solib_trampoline): Ditto.
805 2003-03-10 Andrew Cagney <cagney@redhat.com>
807 * regcache.h (regcache_cooked_read_ftype): Define.
808 (regcache_save, regcache_restore): Add a cooked_read parameter.
809 * regcache.c (regcache_save, regcache_restore): Update.
810 (do_cooked_read): New function.
811 (regcache_cpy): Pass do_cooked_read to regcache_save and
814 2003-03-10 Andrew Cagney <cagney@redhat.com>
816 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
817 * gdbarch.h, gdbarch.c: Re-generate.
818 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
819 * x86-64-tdep.h: Update.
820 * x86-64-tdep.c (x86_64_init_abi): Update.
821 * v850-tdep.c (v850_gdbarch_init): Update.
822 * sparc-tdep.c (sparc_gdbarch_init): Update.
823 * sh-tdep.c (sh_gdbarch_init): Update.
824 * s390-tdep.c (s390_gdbarch_init): Update.
825 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
826 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
827 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
828 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
829 * mips-tdep.c (mips_gdbarch_init): Update.
830 * mcore-tdep.c (mcore_gdbarch_init): Update.
831 * m68k-tdep.c (m68k_gdbarch_init): Update.
832 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
833 * ia64-tdep.c (ia64_gdbarch_init): Update.
834 * i386-tdep.c (i386_gdbarch_init): Update.
835 * i386-interix-tdep.c (i386_interix_init_abi): Update.
836 * hppa-tdep.c (hppa_gdbarch_init): Update.
837 * h8300-tdep.c (h8300_gdbarch_init): Update.
838 * frv-tdep.c (frv_gdbarch_init): Update.
839 * cris-tdep.c (cris_gdbarch_init): Update.
840 * avr-tdep.c (avr_gdbarch_init): Update.
841 * arm-tdep.c (arm_gdbarch_init): Update.
842 * alpha-tdep.c (alpha_gdbarch_init): Update.
843 * sh-tdep.c (sh_init_extra_frame_info): Update.
844 (sh64_init_extra_frame_info): Update.
845 * ns32knbsd-nat.c (frame_num_args): Update.
846 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
847 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
848 (xstormy16_frame_chain_valid): Update.
849 * vax-tdep.c (vax_saved_pc_after_call): Update.
850 * v850-tdep.c (v850_frame_chain): Update.
851 (v850_pop_frame): Update.
852 (v850_init_extra_frame_info): Update.
853 * sparc-tdep.c (setup_arbitrary_frame): Update.
854 * ns32k-tdep.c (umax_frame_num_args): Update.
855 * s390-tdep.c (s390_pop_frame_regular): Update.
856 * mn10300-tdep.c (mn10300_frame_chain): Update.
857 (mn10300_pop_frame_regular): Update.
858 (mn10300_init_extra_frame_info): Update.
859 * mips-tdep.c (mips_init_frame_pc_first): Update.
860 (mips_frame_chain): Update.
861 (mips_pop_frame): Update.
862 * mcore-tdep.c (mcore_frame_chain): Update.
863 (mcore_pop_frame): Update.
864 (mcore_init_extra_frame_info): Update.
865 * arch-utils.c (init_frame_pc_default): Update.
866 * m68k-tdep.c (isi_frame_num_args): Update.
867 (delta68_frame_num_args): Update.
868 (news_frame_num_args): Update.
869 * ia64-tdep.c (ia64_pop_frame_regular): Update.
870 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
871 (alpha_frame_chain): Update.
872 (alpha_pop_frame): Update.
873 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
874 (hppa_init_extra_frame_info): Update.
875 (hppa_frame_chain): Update.
876 (hppa_frame_chain_valid): Update.
877 * cris-tdep.c (cris_init_extra_frame_info): Update.
878 * avr-tdep.c (avr_init_extra_frame_info): Update.
879 * arm-tdep.c (arm_frame_chain_valid): Update.
880 (arm_init_extra_frame_info): Update.
881 (arm_pop_frame): Update.
882 * frame.c (frame_pc_unwind): Update.
883 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
884 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
885 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
886 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
887 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
888 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
890 2003-03-10 Andrew Cagney <cagney@redhat.com>
892 * gdbarch.sh (gdbarch_unwind_pc): New method.
893 * gdbarch.h, gdbarch.c: Regenerate.
894 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
895 but use read_pc and FRAME_SAVED_PC as fall backs.
896 (frame_saved_regs_pc_unwind): Delete function.
897 (trad_frame_unwinder): Update.
898 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
899 (struct frame_unwind): Update.
900 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
901 (dummy_frame_unwind): Update.
902 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
903 (sentinel_frame_unwinder): Update.
904 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
905 (d10v_frame_unwind): Update.
906 (d10v_unwind_pc): New function.
907 (d10v_gdbarch_init): Set unwind_pc.
909 2003-03-10 Andrew Cagney <cagney@redhat.com>
911 * gdbarch.h: Re-generate.
913 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
915 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
918 2003-03-08 Mark Kettenis <kettenis@gnu.org>
920 * gdbarch.sh (save_dummy_frame_tos): Add comment.
922 2003-03-08 Andrew Cagney <cagney@redhat.com>
924 * cli-out.c: Update copyright.
925 (cli_out_data): Define typedef. Use instead of ui_out_data.
927 2003-03-08 Andrew Cagney <cagney@redhat.com>
929 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
932 2003-03-07 Andrew Cagney <cagney@redhat.com>
934 * gdbarch.sh: Don't generate two macro definitions when an
935 undefined macro taking no arguments.
936 * gdbarch.h: Regenerate.
938 2002-03-07 Michal Ludvig <mludvig@suse.cz>
940 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
941 (x86_64_unwind_dummy_id): New functions.
942 (x86_64_init_abi): Register these two new functions.
944 2003-03-07 Michal Ludvig <mludvig@suse.cz>
946 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
947 (x86_64_skip_prologue): Move prologue detection to
949 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
951 2003-03-05 Andrew Cagney <cagney@redhat.com>
953 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
954 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
955 * frame.c (get_prev_frame): Restructure the frame ID unwind code
956 to use unwind_dummy_id when a dummy frame.
957 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
959 * gdbarch.h, gdbarch.c: Regneerate.
961 2003-03-05 Andrew Cagney <cagney@redhat.com>
963 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
964 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
965 Do not use d10v_read_sp or d10v_read_fp when obtaining register
968 2003-03-05 Andrew Cagney <cagney@redhat.com>
970 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
971 (struct d10v_unwind_cache): Delete field "frameless". Replace
972 "next_addr" with "sp_offset". Add "r11_offset".
973 (d10v_frame_unwind_cache): Update.
974 (prologue_find_regs): Update. When "mv r11, sp", save the
975 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
976 RN was saved in r11_offset.
978 2003-03-05 Andrew Cagney <cagney@redhat.com>
980 * frame.c (deprecated_update_frame_pc_hack): Also update the the
981 cached PC value in the next frame.
983 2003-03-05 Andrew Cagney <cagney@redhat.com>
985 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
986 "id_unwind_cache" with "id".
987 (frame_id_unwind): Delete declaration.
988 * frame.c (frame_id_unwind): Delete function.
989 (get_prev_frame): Call the frame id unwind method directly. Store
990 the returned next frame's ID value in NEXT_FRAME. Note that there
991 is a problem with the wrong unwind ID being called with the wrong
994 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
996 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
998 2003-03-05 James Ingham <jingham@apple.com>
999 Daniel Jacobowitz <drow@mvista.com>
1001 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
1002 (auto_cp_abi): New variable.
1003 (current_cp_abi, num_cp_abis): Make static.
1004 (CP_ABI_MAX): Define.
1005 (cp_abis): Turn into an array.
1006 (value_virtual_fn_field): Fix formatting.
1007 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
1009 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
1010 (list_cp_abis, _initialize_cp_abi): New functions.
1011 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
1012 declarations for cp_abis, num_cp_abis, current_cp_abi, and
1013 switch_to_cp_abi. Update prototype for register_cp_abi.
1014 * Makefile.in (cp-abi.o): Update dependencies.
1015 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
1016 instead of switch_to_cp_abi.
1017 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
1019 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
1021 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
1023 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
1025 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
1026 * dwarf2loc.c: Include "regcache.h".
1027 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
1029 * Makefile.in (dwarf2loc.o): Update dependencies.
1031 2003-03-04 Theodore A. Roth <troth@openavr.org>
1033 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
1034 number of io registers reported by remote target is not a multiple of
1037 2003-03-04 David Carlton <carlton@math.stanford.edu>
1039 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
1040 (lookup_symbol_aux_psymtabs): Update call to
1041 lookup_partial_symbol.
1042 (lookup_transparent_type, find_main_psymtab)
1043 (make_symbol_overload_list): Ditto.
1045 2003-03-04 Kazu Hirata <kazu@cs.umass.edu>
1047 * MAINTAINERS (Write after approval): Update my email address.
1049 2003-03-03 Andrew Cagney <cagney@redhat.com>
1051 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
1052 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
1053 predicate. Replace MAX_REGISTER_RAW_SIZE.
1054 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
1055 MAX_REGISTER_VIRTUAL_SIZE.
1056 * regcache.c (legacy_max_register_raw_size): New function.
1057 (legacy_max_register_virtual_size): New function.
1058 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
1059 (MAX_REGISTER_RAW_SIZE): Define.
1060 (legacy_max_register_raw_size): Declare.
1061 (legacy_max_register_virtual_size): Declare.
1062 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1063 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
1064 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1065 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1066 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1067 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1068 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1069 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1070 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1071 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1072 * vax-tdep.c (vax_gdbarch_init): Update.
1073 * v850-tdep.c (v850_gdbarch_init): Update.
1074 * sparc-tdep.c (sparc_gdbarch_init): Update.
1075 * sh-tdep.c (sh_gdbarch_init): Update.
1076 * s390-tdep.c (s390_gdbarch_init): Update.
1077 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1078 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1079 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1080 * mips-tdep.c (mips_gdbarch_init): Update.
1081 * mcore-tdep.c (mcore_gdbarch_init): Update.
1082 * m68k-tdep.c (m68k_gdbarch_init): Update.
1083 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1084 * ia64-tdep.c (ia64_gdbarch_init): Update.
1085 * i386-tdep.c (i386_gdbarch_init): Update.
1086 * hppa-tdep.c (hppa_gdbarch_init): Update.
1087 * h8300-tdep.c (h8300_gdbarch_init): Update.
1088 * frv-tdep.c (frv_gdbarch_init): Update.
1089 * cris-tdep.c (cris_gdbarch_init): Update.
1090 * avr-tdep.c (avr_gdbarch_init): Update.
1091 * arm-tdep.c (arm_gdbarch_init): Update.
1092 * alpha-tdep.c (alpha_gdbarch_init): Update.
1093 * d10v-tdep.c (d10v_gdbarch_init): Do not set
1094 max_register_raw_size or max_register_virtual_size.
1096 2003-03-03 David Carlton <carlton@math.stanford.edu>
1098 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
1099 SYMBOL_MATCHES_NAME, add comment.
1100 (SYMBOL_MATCHES_NATURAL_NAME): New.
1101 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
1102 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
1103 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
1104 * symtab.c (lookup_partial_symbol): Use
1105 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
1107 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
1108 SYMBOL_MATCHES_NAME.
1111 2003-03-03 David Carlton <carlton@math.stanford.edu>
1113 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
1114 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
1115 by regexp matching against SYMBOL_NATURAL_NAME.
1117 2003-03-03 David Carlton <carlton@math.stanford.edu>
1119 * linespec.c (find_method): Extract code into collect_methods.
1120 (collect_methods): New.
1122 2003-03-02 Mark Kettenis <kettenis@gnu.org>
1124 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
1127 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
1128 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1130 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
1132 * arch-utils.c (generic_register_byte): Fix to use the loop index
1133 and not regnum when summing the size of all registers up to regnum.
1135 2003-03-01 Andrew Cagney <cagney@redhat.com>
1137 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
1138 FRAME_INIT_SAVED_REGS.
1139 * gdbarch.h, gdbarch.c: Regenerate.
1140 * stack.c (frame_info): Update.
1141 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
1142 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
1143 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
1144 * ns32k-tdep.c (ns32k_pop_frame): Update.
1145 * mips-tdep.c (mips_pop_frame): Update.
1146 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
1147 * ia64-tdep.c (ia64_frame_chain): Update.
1148 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
1149 (ia64_frameless_function_invocation): Update.
1150 (ia64_init_extra_frame_info): Update.
1151 (ia64_pop_frame_regular): Update.
1152 * frame.h (struct frame_info): Update comment.
1153 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
1154 * frame.c (frame_saved_regs_register_unwind): Update.
1155 (frame_saved_regs_register_unwind): Update.
1156 (deprecated_generic_get_saved_register): Update.
1157 * cris-tdep.c: Update comment.
1158 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
1160 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1161 * x86-64-tdep.c (x86_64_init_abi): Update.
1162 * vax-tdep.c (vax_gdbarch_init): Update.
1163 * v850-tdep.c (v850_gdbarch_init): Update.
1164 * sparc-tdep.c (sparc_gdbarch_init): Update.
1165 * sh-tdep.c (sh_gdbarch_init): Update.
1166 * s390-tdep.c (s390_gdbarch_init): Update.
1167 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1168 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1169 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1170 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1171 * mips-tdep.c (mips_gdbarch_init): Update.
1172 * mcore-tdep.c (mcore_gdbarch_init): Update.
1173 * m68k-tdep.c (m68k_gdbarch_init): Update.
1174 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1175 * ia64-tdep.c (ia64_gdbarch_init): Update.
1176 * i386-tdep.c (i386_gdbarch_init): Update.
1177 * frv-tdep.c (frv_gdbarch_init): Update.
1178 * avr-tdep.c (avr_gdbarch_init): Update.
1179 * arm-tdep.c (arm_gdbarch_init): Update.
1180 * alpha-tdep.c (alpha_gdbarch_init): Update.
1182 2003-03-01 Andrew Cagney <cagney@redhat.com>
1184 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
1185 option enum and switch. When no windows, set the interpreter to
1188 2003-03-01 Andrew Cagney <cagney@redhat.com>
1190 * main.c (captured_main): Replace magic option characters with an
1193 2003-03-01 Andrew Cagney <cagney@redhat.com>
1195 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
1196 INIT_EXTRA_FRAME_INFO.
1197 * gdbarch.h, gdbarch.c: Regenerate.
1198 * arm-tdep.c: Update comments.
1199 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
1200 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
1201 * frame.h, avr-tdep.c: Ditto.
1202 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
1203 (create_new_frame, legacy_get_prev_frame): Ditto.
1204 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1205 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1206 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
1207 deprecated_init_extra_frame_info instead of init_extra_frame_info.
1208 * x86-64-tdep.c (x86_64_init_abi): Ditto.
1209 * v850-tdep.c (v850_gdbarch_init): Ditto.
1210 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1211 * sh-tdep.c (sh_gdbarch_init): Ditto.
1212 * s390-tdep.c (s390_gdbarch_init): Ditto.
1213 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
1214 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1215 * mips-tdep.c (mips_gdbarch_init): Ditto.
1216 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1217 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1218 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1219 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
1220 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1221 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1222 * frv-tdep.c (frv_gdbarch_init): Ditto.
1223 * cris-tdep.c (cris_gdbarch_init): Ditto.
1224 * avr-tdep.c (avr_gdbarch_init): Ditto.
1225 * arm-tdep.c (arm_gdbarch_init): Ditto.
1226 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1227 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1229 2003-03-01 Andrew Cagney <cagney@redhat.com>
1231 * gdbarch.sh (register_type): New function with predicate.
1232 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
1233 * gdbarch.h, gdbarch.c: Re-generate.
1234 * arch-utils.c (generic_register_byte): Use generic_register_size.
1235 (generic_register_size): When available, use
1236 gdbarch_register_type.
1237 * regcache.c (init_regcache_descr): When available, initialize the
1238 register type array using gdbarch_register_type. If the
1239 architecture supplies gdbarch_register_type, do not use the legacy
1241 * d10v-tdep.c (d10v_register_type): Replace
1242 d10v_register_virtual_type.
1243 (d10v_gdbarch_init): Set register_type instead of
1244 register_virtual_type.
1246 2003-03-01 Andrew Cagney <cagney@redhat.com>
1248 * Makefile.in (ax-gdb.o): Update dependencies.
1249 * ax-gdb.c: Include "regcache.h".
1250 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
1251 * findvar.c (value_of_register): Ditto.
1252 * infcmd.c (default_print_registers_info): Ditto.
1254 2003-03-01 Mark Kettenis <kettenis@gnu.org>
1256 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
1257 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1259 2003-03-01 Mark Kettenis <kettenis@gnu.org>
1261 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
1264 2003-02-28 Daniel Jacobowitz <drow@mvista.com>
1266 * Makefile.in (dwarf2loc.o): Update dependencies.
1267 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
1268 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
1269 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
1270 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
1271 (locexpr_tracepoint_var_ref): New function.
1272 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
1274 2003-02-28 Andrew Cagney <cagney@redhat.com>
1276 * regcache.c (register_size): New function.
1277 * regcache.h (register_size): Declare
1278 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
1279 max_register_size instead of MAX_REGISTER_RAW_SIZE.
1281 2003-02-28 David Carlton <carlton@math.stanford.edu>
1283 * linespec.c (decode_compound): Extract code into find_method.
1286 2003-02-28 J. Brobecker <brobecker@gnat.com>
1288 * Makefile.in: Add rules to build and link in observer.o.
1290 2003-02-27 J. Brobecker <brobecker@gnat.com>
1292 * observer.c: Minor comments edits.
1294 2003-02-27 J. Brobecker <brobecker@gnat.com>
1296 * observer.h, observer.c: New file.
1298 2003-02-27 Andrew Cagney <cagney@redhat.com>
1300 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
1302 2003-02-27 Stephane Carrez <stcarrez@nerim.fr>
1304 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
1305 (M6812_OP_STS_EXT): Likewise.
1306 (m6811_prologue): Use the above to recognize prologue.
1307 (m6812_prologue): Likewise.
1309 2003-02-27 David Carlton <carlton@math.stanford.edu>
1311 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
1313 (compare_psymbols): Ditto.
1314 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1316 2003-02-27 Michael Snyder <msnyder@redhat.com>
1318 * f-lang.c (build_fortran_types): New function.
1319 (_initialize_f_language): Gdbarch-register built-in fortran types.
1320 * doublest.c (extract_floating): Fix warning text.
1322 2003-02-27 Andrew Cagney <cagney@redhat.com>
1324 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
1325 predicate. Replaces PUSH_DUMMY_FRAME.
1326 * gdbarch.h, gdbarch.c: Regnerate.
1327 * valops.c (hand_function_call): Update. Call
1328 generic_push_dummy_frame directly.
1329 * vax-tdep.c (vax_gdbarch_init): Update.
1330 * sparc-tdep.c (sparc_gdbarch_init): Update.
1331 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1332 * m68k-tdep.c (m68k_gdbarch_init): Update.
1333 * hppa-tdep.c (hppa_gdbarch_init): Update.
1334 * alpha-tdep.c (alpha_gdbarch_init): Update.
1335 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1336 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1337 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
1338 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
1339 push_dummy_frame to generic_push_dummy_frame.
1340 * v850-tdep.c (v850_gdbarch_init): Ditto.
1341 * sh-tdep.c (sh_gdbarch_init): Ditto.
1342 * s390-tdep.c (s390_gdbarch_init): Ditto.
1343 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1344 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1345 * mips-tdep.c (mips_gdbarch_init): Ditto.
1346 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1347 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1348 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1349 * i386-tdep.c (i386_gdbarch_init): Ditto.
1350 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1351 * frv-tdep.c (frv_gdbarch_init): Ditto.
1352 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1353 * cris-tdep.c (cris_gdbarch_init): Ditto.
1354 * avr-tdep.c (avr_gdbarch_init): Ditto.
1355 * arm-tdep.c (arm_gdbarch_init): Ditto.
1357 2003-02-26 Kevin Buettner <kevinb@redhat.com>
1359 * mips-tdep.c (show_mips_abi): New function.
1360 (_initialize_mips_tdep): Use show_mips_abi() to implement the
1361 command ``show mips abi''.
1363 2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
1365 From Elena Zannoni <ezannoni@redhat.com>
1366 * dbxread.c (process_one_symbol): Only record line 0 if one or
1367 more sline entries have been seen for the function.
1369 2003-02-26 Michael Chastain <mec@shout.net>
1371 * configure: Regenerate with autoconf 000227.
1373 2003-02-26 Michael Chastain <mec@shout.net>
1376 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
1377 for old libc5/glibc.
1378 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
1380 2003-02-26 Kris Warkentin <kewarken@qnx.com>
1382 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
1383 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
1385 2003-02-26 Michael Chastain <mec@shout.net>
1387 * configure.in: New variable HAVE_UINTPTR_T.
1388 * configure, config.in: Regenerated.
1390 2003-02-26 Daniel Jacobowitz <drow@mvista.com>
1393 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
1395 2003-02-25 Andrew Cagney <cagney@redhat.com>
1397 * frame.c (get_prev_frame): Add comment on check for
1398 inside_entry_func. Only check for inside_entry_file when not a
1399 dummy and not a sentinel. Check that the new frame is not inner
1402 2003-02-25 Andrew Cagney <cagney@redhat.com>
1404 * frame.c (frame_debug): New variable.
1405 (_initialize_frame): Add "set/show debug frame" command.
1406 (get_prev_frame): When frame_debug, print reason why unwind
1409 2003-02-25 Michael Chastain <mec@shout.net>
1411 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
1412 to avoid uintptr_t definition problems.
1414 2003-02-25 David Carlton <carlton@math.stanford.edu>
1416 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
1417 (SYMBOL_LINKAGE_NAME): Ditto.
1418 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
1419 SYMBOL_LINKAGE_NAME.
1420 (struct general_symbol_info): Expand comment.
1421 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
1422 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
1423 (SYMBOL_MATCHES_REGEXP): Ditto.
1424 * symtab.c (symbol_natural_name): New function.
1425 * objfiles.h: Replace all uses of SYMBOL_NAME by
1426 DEPRECATED_SYMBOL_NAME.
1427 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
1428 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
1429 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
1430 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
1431 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
1432 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
1433 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
1434 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
1435 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
1436 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
1438 * ada-exp.y: Update copyright.
1439 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
1440 * cp-valprint.c: Ditto.
1442 2003-02-25 Jeff Johnston <jjohnstn@redhat.com>
1444 * infptrace.c (detach): Do not flag error if ptrace detach fails
1445 and errno is set to ESRCH.
1447 2003-02-24 Andrew Cagney <cagney@redhat.com>
1449 * infptrace.c (udot_info): Change type of udot_off to long. Use
1450 paddr when printing udot_off's value.
1452 2003-02-24 David Carlton <carlton@math.stanford.edu>
1454 * symtab.c (make_symbol_overload_list): Only read in partial
1455 symtabs containing a matching partial symbol.
1457 2003-02-24 David Carlton <carlton@math.stanford.edu>
1459 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
1460 do the comparison, not strcmp.
1461 * symfile.c (compare_psymbols): Ditto.
1462 * defs.h: Declare strcmp_iw_ordered.
1463 * utils.c (strcmp_iw_ordered): New function.
1465 2003-02-24 Jim Blandy <jimb@redhat.com>
1467 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
1468 support, shared libs): Remove my name from here, to better reflect
1471 2003-02-24 Kris Warkentin <kewarken@qnx.com>
1473 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
1474 (target_ops): Add to_have_continuable_watchpoint.
1475 * target.c (update_current_target): Add INHERIT line for
1476 to_have_continuable_watchpoint.
1477 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
1478 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
1479 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
1480 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
1482 2003-02-24 Elena Zannoni <ezannoni@redhat.com>
1484 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
1487 2003-02-24 Kris Warkentin <kewarken@qnx.com>
1489 * solib.c (solib_open): Call target defined search function after
1490 failing with solib-search-path.
1491 * solist.h (target_so_ops): Add find_and_open_solib function hook and
1492 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
1494 2003-02-24 Kris Warkentin <kewarken@qnx.com>
1496 * MAINTAINERS: Add myself to Write After section.
1498 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1500 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
1502 2003-02-22 Stephane Carrez <stcarrez@nerim.fr>
1504 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
1505 (m68hc11_add_reggroups): New function.
1506 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
1507 (m68hc11_gdbarch_init): Install the reggroups.
1508 (_initialize_m68hc11_tdep): Initialize them.
1510 2003-02-21 James E Wilson <wilson@tuliptree.org>
1512 * MAINTAINERS: Update my email address.
1514 2003-02-21 David Carlton <carlton@math.stanford.edu>
1516 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
1518 2003-02-21 Daniel Jacobowitz <drow@mvista.com>
1520 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
1521 * symtab.h: Add opaque declarations of struct axs_value and
1523 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
1524 (struct location_funcs): New type.
1525 (struct symbol): Add "loc" to aux_value.
1526 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
1527 * dwarf2read.c: Include "dwarf2expr.h".
1528 (dwarf2_symbol_mark_computed): New function.
1529 (read_func_scope): Use it.
1530 (var_decode_location): New function.
1531 (new_symbol): Use it.
1532 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
1534 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
1535 (dwarf2expr_h, dwarf2loc_h): New variables.
1536 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
1537 (dwarf2expr.o, dwarf2loc.o): New rules.
1538 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
1539 * buildsym.c (finish_block): Handle LOC_COMPUTED and
1541 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
1542 * m2-exp.y (yylex): Likewise.
1543 * printcmd.c (address_info, print_frame_args): Likewise.
1544 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
1545 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
1546 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
1547 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
1548 * symtab.c (lookup_block_symbol): Likewise.
1550 2003-02-20 Adam Fedor <fedor@gnu.org>
1552 * symtab.h: Remove objc_specific struct
1553 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
1554 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
1555 Have language_objc use cplus_specific struct.
1557 2003-02-20 Tom Tromey <tromey@redhat.com>
1559 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
1560 TYPE_NAME, when printing a String value. PR java/1075.
1562 2003-02-20 Adam Fedor <fedor@gnu.org>
1564 * objc-lang.h (find_methods): Remove declaration.
1565 * objc-lang.c (find_methods): Make static.
1567 2003-02-20 Christopher Faylor <cgf@redhat.com>
1569 * win32-nat.c (get_image_name): Check return value from
1571 (child_xfer_memory): Ditto.
1573 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1575 * configure.in (TARGET_SYSTEM_ROOT): Set default to
1576 ${exec_prefix}/${target_alias}/sys-root. Match explicit
1577 '${exec_prefix}' (in addition to the expansion thereof) as
1579 * configure: Rebuilt.
1581 2003-02-20 David Carlton <carlton@math.stanford.edu>
1583 * symtab.c (search_symbols): Revert the search_symbols part of my
1584 2002-12-23 patch. Add comment.
1586 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
1588 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
1589 * dbxread.c (elfstab_build_psymtabs): Don't call
1590 install_minimal_symbols.
1591 (stabsect_build_psymtabs): Likewise.
1592 * elfread.c (elf_symfile_read): Call install_minimal_symbols
1594 * somread.c (som_symfile_read): Call install_minimal_symbols
1595 and do_cleanups earlier.
1596 * nlmread.c (nlm_symfile_read): Likewise.
1597 * mdebugread.c (elfmdebug_build_psymtabs): Call
1598 install_minimal_symbols and make appropriate cleanups.
1600 2003-02-20 Kevin Buettner <kevinb@redhat.com>
1602 * solib.c (reload_shared_libraries): New function.
1603 (_initialize_solib): Add callbacks for ``set solib-search-path''
1604 and ``set solib-absolute-prefix''.
1606 2003-02-20 David Carlton <carlton@math.stanford.edu>
1608 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
1610 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
1611 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
1612 * ada-typeprint.c (ada_typedef_print): Ditto.
1613 * ax-gdb.c (gen_var_ref): Ditto.
1614 * breakpoint.c (print_one_breakpoint): Ditto.
1615 * buildsym.c (finish_block): Ditto.
1616 * c-valprint.c (c_val_print): Ditto.
1617 * expprint.c (print_subexp): Ditto.
1618 * findvar.c (locate_var_value): Ditto.
1619 * infcmd.c (jump_command): Ditto.
1620 * linespec.c (decode_line_2, decode_compound): Ditto.
1621 * maint.c (maintenance_translate_address): Ditto.
1622 * objc-lang.c (compare_selectors, compare_classes): Ditto.
1623 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
1625 * p-valprint.c (pascal_val_print): Ditto.
1626 * stabsread.c (define_symbol): Ditto.
1627 * stack.c (print_frame, frame_info, print_block_frame_locals)
1628 (print_frame_arg_vars, return_command): Ditto.
1629 * symfile.c (compare_symbols, compare_psymbols): Ditto.
1630 * symmisc.c (print_symbol): Ditto.
1631 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
1632 (compare_search_syms, print_symbol_info, print_msymbol_info)
1633 (rbreak_command): Ditto.
1634 * tracepoint.c (tracepoints_info): Ditto.
1635 * typeprint.c (typedef_print): Ditto.
1636 * valops.c (value_of_variable, hand_function_call): Ditto.
1637 * cli/cli-cmds.c (edit_command, list_command): Ditto.
1638 * ada-typeprint.c: Update Copyright.
1639 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
1640 * tracepoint.c, cli/cli-cmds.c: Ditto.
1642 2003-02-20 Kevin Buettner <kevinb@redhat.com>
1644 * frame.c (generic_unwind_get_saved_register): Make non-static.
1645 * frame.h (generic_unwind_get_saved_register): Declare.
1646 * mips-tdep.c (read_next_frame_reg): Fetch register from
1647 current regcache when frame is NULL.
1648 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
1650 (mips_get_saved_register): Call generic_unwind_get_saved_register()
1651 instead of frame_register_unwind().
1653 2003-02-20 Andrew Cagney <ac131313@redhat.com>
1655 * remote-sim.c (gdbsim_insert_breakpoint)
1656 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
1659 2003-02-20 Andrew Cagney <ac131313@redhat.com>
1661 * remote.c (_initialize_remote): Add commands "set/show remote
1662 hardware-watchpoint-limit" and "set/show remote
1663 hardware-breakpoint-limit".
1664 (remote_hw_watchpoint_limit): Initialize to -1.
1665 (remote_hw_breakpoint_limit): Ditto.
1666 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
1668 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
1670 * coff-pe-read.c: New file - support reading of minimal symbols from a
1671 portable executable using the export table.
1672 * coff-pe-read.h: New file.
1673 * coffread.c: Include coff-pe-read.h.
1674 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
1675 debugging symbols found.
1676 * Makefile.in (SFILES): Add coff-pe-read.o.
1677 (coff_pe_read_h): Define.
1678 (COMMON_OBS): Add coff-pe-read.o.
1679 (coffread.o): Add coff_pe_read_h dependency.
1680 (coff-pe-read.o): New target.
1682 2003-02-19 David Carlton <carlton@math.stanford.edu>
1684 * Makefile.in (SFILES): Add block.c.
1686 (COMMON_OBS): Add block.o.
1688 (x86-64-tdep.o): Add $(block_h).
1689 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
1690 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
1691 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
1692 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
1693 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
1694 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
1695 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
1696 * value.h: Add opaque declaration for struct block.
1697 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
1698 * ada-lang.h: Ditto.
1699 * x86-64-tdep.c: #include "block.h"
1700 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
1701 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
1702 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
1703 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
1704 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
1705 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
1706 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
1707 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
1708 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
1709 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
1710 * symtab.c (block_function): Ditto.
1711 (contained_in): Ditto.
1712 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
1713 block.h. Add opaque declaration for struct block.
1714 * symtab.h: Move block_function and contained_in declarations to
1715 block.h. Add opaque declarations for struct block, struct
1717 (struct block): Move to block.h.
1718 (struct blockvector): Ditto.
1719 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
1720 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
1721 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
1722 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
1723 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
1725 * block.c: New file.
1726 * block.h: New file.
1728 2003-02-19 Theodore A. Roth <troth@openavr.org>
1730 * avr-tdep.c (avr_extract_return_value): Remove function.
1731 (avr_store_return_value): Remove function.
1732 (avr_extract_struct_value_address): Remove function.
1733 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
1735 2003-02-19 Andrew Cagney <ac131313@redhat.com>
1737 * rs6000-tdep.c: Include "gdb_assert.h".
1738 (registers_e500): Add "acc" and "spefscr".
1739 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
1740 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
1741 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
1743 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
1745 2003-02-18 Keith Seitz <keiths@redhat.com>
1747 * Makefile.in: Add gdbtk-interps.c.
1749 2003-02-18 Kevin Buettner <kevinb@redhat.com>
1751 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
1752 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
1754 2003-02-18 Andrew Cagney <cagney@redhat.com>
1756 * symtab.h (struct objfile): Add opaque declaration.
1758 2003-02-18 Elena Zannoni <ezannoni@redhat.com>
1760 From Jim Ingham <jingham@apple.com>:
1761 * dbxread.c (process_one_symbol): Use last_function_start rather
1762 than function_start_offset to find the real beginning of the
1763 current function. The latter is just the text section offset on
1764 some systems, the former is always the real function start.
1766 2003-02-17 Andrew Cagney <cagney@redhat.com>
1768 * configure.in: Revert ${target} != ${host}.
1770 2003-02-17 Andrew Cagney <ac131313@redhat.com>
1772 * configure.in (Makefile): Use the test ${target} != ${host},
1773 instead of the absence of the "nm.h" file, to determine of the
1774 configuration non-native.
1775 * configure: Regenerate.
1777 2003-02-14 Elena Zannoni <ezannoni@redhat.com>
1779 From Brian Ford <ford@vss.fsi.com>
1781 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
1782 conditionalize tui_active test.
1783 (lookup_cmd_1): Ditto.
1785 2003-02-14 Mark Kettenis <kettenis@gnu.org>
1787 * configure.in: Add check for _etext.
1788 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
1790 * config.in, configure: regenerated.
1792 2003-02-14 Daniel Jacobowitz <drow@mvista.com>
1794 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
1796 2003-02-14 Andrew Cagney <ac131313@redhat.com>
1798 * main.c (tui_version): Delete variable.
1799 (captured_main): When --tui, set interpreter_p to "tui" instead of
1800 enabling tui_version.
1801 * printcmd.c (display_command) [TUI]: Test tui_active instead of
1803 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
1804 * cli/cli-cmds.c (disassemble_command): Ditto.
1805 * defs.h (tui_version): Delete declaration.
1806 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
1807 (tui-interp.o): Add rules.
1808 (SUBDIR_TUI_OBS): Add "tui-interp.o".
1810 2003-02-14 Christopher Faylor <cgf@redhat.com>
1812 * win32-nat.c (register_loaded_dll): Correctly set address range for
1815 2003-02-12 Jason Molenda (jmolenda@apple.com)
1817 * symmisc.c (print_objfile_statistics): Include information about
1818 the number of psymtabs and symtabs in each object file.
1820 2003-02-13 Keith R Seitz <keiths@redhat.com>
1822 * main.h (struct captured_main_args): Add interpreter_p.
1823 * main.c (captured_main): Initialize interpreter_p from context.
1824 * gdb.c (main): Set interpreter_p argument.
1825 * Makefile.in (gdb.o): Add dependency for interps.h.
1827 2003-02-12 Andrew Cagney <ac131313@redhat.com>
1829 * event-top.c (cli_command_loop): Delete declaration.
1830 (_initialize_event_loop): Delete function setting event_loop_hook.
1831 * event-top.h (cli_command_loop): Declare. Update copyright.
1832 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
1833 * interps.c (current_interp_command_loop): When event_loop_p, call
1836 2003-02-12 Andrew Cagney <ac131313@redhat.com>
1838 * interps.h (interp_command_loop_ftype): Change return type to
1841 2003-02-12 Michal Ludvig <mludvig@suse.cz>
1843 * x86-64-tdep.c (x86_64_extract_return_value)
1844 (x86_64_store_return_value): Use regcache instead of regbuf.
1845 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
1846 * x86-64-linux-nat.c (fill_gregset): Use regcache.
1848 2003-02-11 Andrew Cagney <ac131313@redhat.com>
1850 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
1851 * aclocal.m4: Regenerate.
1852 * configure: Regenerate.
1854 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
1855 TCL_LD_SEARCH_FLAGS.
1857 2003-02-10 Michal Ludvig <mludvig@suse.cz>
1859 * dwarf2cfi.c: Reindented.
1861 2003-02-09 Andrew Cagney <ac131313@redhat.com>
1863 * interps.c (clear_interpreter_hooks): Convert function definition
1866 2003-02-07 David Carlton <carlton@math.stanford.edu>
1868 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
1870 2003-02-07 Kevin Buettner <kevinb@redhat.com>
1872 * gdbtypes.h (struct main_type): Move ``length'' field from here...
1873 (struct type): ...to here.
1874 (TYPE_LENGTH): Adjust to reflect different location of ``length''
1876 * gdbtypes.c (make_qualified_type): Set length on newly created type.
1877 (replace_type): Set length on all type variants for a given type.
1879 2003-02-07 Andrew Cagney <ac131313@redhat.com>
1881 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
1883 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
1885 2003-02-06 Andrew Cagney <ac131313@redhat.com>
1887 * Makefile.in (symm-nat.o): Update dependencies.
1888 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
1889 (lynx-nat.o, ia64-linux-nat.): Ditto.
1890 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
1891 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
1892 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
1894 * Makefile.in (inflow_h): Define.
1895 (procfs.o, inflow.o, procfs.o): Update dependencies.
1896 * inftarg.c (child_stop): Delete extern declaration of
1897 inferior_process_group. Include "inflow.h".
1898 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
1899 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
1900 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
1901 (our_process_group, inferior_process_group): Extern declarations.
1903 * procfs.c: Include "gdb_assert.h".
1905 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
1906 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
1907 * jv-typeprint.c (java_type_print_base): Ditto.
1908 * typeprint.c (typedef_print): Eliminate STREQ.
1909 * cli/cli-script.c (define_command, define_command): Ditto.
1910 * main.c (captured_main): Ditto.
1911 * values.c (lookup_internalvar): Ditto.
1912 * utils.c (safe_strerror, parse_escape): Eliminate assignment
1913 within `if' conditional.
1914 * linespec.c (decode_line_2): Ditto.
1915 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
1916 (bfd_openw_with_cleanup): Ditto.
1918 2003-02-07 Mark Kettenis <kettenis@gnu.org>
1920 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
1921 legacy_extract_return_value and store_return_value to
1922 legacy_return_value.
1924 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
1926 * win32-nat.c (get_relocated_section_addrs): New function. Find
1927 section load addresses for symbol handling in relocated DLLs.
1928 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
1930 2003-02-05 Fred Fish <fnf@intrinsity.com>
1932 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
1934 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
1936 (angel_RDI_info): Ditto.
1937 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
1939 (threads_continue_all_with_signals): Ditto.
1941 2003-02-05 Jim Ingham <jingham@apple.com>
1942 Keith Seitz <keiths@redhat.com>
1943 Elena Zannoni <ezannoni@redhat.com>
1944 Andrew Cagney <ac131313@redhat.com>
1946 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
1947 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
1948 (SUBDIR_MI_OBS): Add "mi-interp.o".
1949 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
1950 (SFILES): Add "interps.c".
1951 (COMMON_OBS): Add "interps.o".
1952 (interps_h, mi_main_h): Define.
1953 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
1954 (mi-main.o, main.o, event-top.o): Update dependencies.
1955 * cli/cli-interp.c: New file.
1956 * interps.h, interps.c: New files.
1957 * top.c: (gdb_init): Don't install the default interpreter, handed
1959 * main.c: Include "interps.h".
1960 (interpreter_p): Note that it should malloc'ed.
1961 (captured_command_loop): Call current_interp_command_loop.
1962 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
1963 xfree and xstrdup when updating interpreter_p. Install the
1964 default interpreter. Add hack to stop mi1's copyright notice
1966 * event-top.h (gdb_setup_readline): Declare.
1967 (gdb_disable_readline): Declare.
1968 * event-top.c: Include "interps.h".
1969 (display_gdb_prompt): Call current_interp_display_prompt_p.
1970 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
1971 gdb_stdlog, and gdb_stdtarg.
1972 (_initialize_event_loop): Don't call gdb_setup_readline.
1973 * cli-out.c (cli_out_set_stream): New function.
1974 * cli-out.h (cli_out_set_stream): Declare.
1976 2003-02-06 Mark Kettenis <kettenis@gnu.org>
1978 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
1979 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
1980 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
1981 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
1982 config/i386/i386v42mp.mt: Removed.
1984 2003-02-05 Mark Kettenis <kettenis@gnu.org>
1986 * configure.tgt (*-*-solaris*): Set gdb_osabi to
1989 2003-02-05 Michael Chastain <mec@shout.net>
1991 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
1992 2.12.1 and earlier versions.
1994 2003-02-05 Andrew Cagney <ac131313@redhat.com>
1996 Remove orphaned hosts, targets and files.
1997 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
1998 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
1999 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
2000 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
2001 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
2002 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
2003 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
2004 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
2005 * config/sparc/tm-sp64sim.h: Delete.
2006 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
2008 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
2009 mips*-dec-mach3* targets.
2011 2003-02-04 Michael Chastain <mec@shout.net>
2013 * NEWS: Fix typo: sepcifying -> specifying.
2015 2003-02-04 Michael Chastain <mec@shout.net>
2017 * dwarfread.c: Add documentation on the state of dwarf-1,
2018 looking towards obsoletion.
2020 2003-02-03 Michael Chastain <mec@shout.net>
2022 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
2023 gdb/testsuite/gdb.c++/pr-1023.exp.
2025 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2027 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
2028 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
2030 * utils.c (init_page_info): Delete reference to MPW in comments.
2031 * main.c (captured_main): Delete #ifdef MPW.
2033 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2035 * NEWS: Note that the m32r-*-elf* is obsolete.
2036 * monitor.c (monitor_expect): Obsolete reference to m32r.
2037 * configure.tgt: Mark m32r-*-elf* as obsolete.
2038 * MAINTAINERS: Mark m32k as obsolete.
2039 * m32r-rom.c: Obsolete file.
2040 * config/m32r/m32r.mt: Obsolete file.
2041 * config/m32r/tm-m32r.h: Obsolete file.
2042 * m32r-stub.c: Obsolete file.
2043 * m32r-tdep.c: Obsolete file.
2045 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2047 * NEWS: Mention that the z8k-zilog-none is obsolete.
2048 * MAINTAINERS: Mark z8k as obsolete.
2049 * configure.tgt: Obsolete the z8k-*-coff* target.
2050 * config/z8k/z8k.mt: Obsolete file.
2051 * config/z8k/tm-z8k.h: Obsolete file.
2052 * z8k-tdep.c: Obsolete file.
2054 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2056 * NEWS: Mention that the mn10200-elf is obsolete.
2057 * configure.tgt: Obsolete mn10200-*-* target.
2058 * breakpoint.c (update_breakpoints_after_exec): Update comment to
2059 mention that the mn10200 is obsolete.
2060 * breakpoint.h: Ditto.
2061 * MAINTAINERS: Mark the mn10200-elf as obsolete.
2062 * config/mn10200/mn10200.mt: Obsolete file.
2063 * config/mn10200/tm-mn10200.h: Obsolete file.
2064 * mn10200-tdep.c: Obsolete file.
2066 2003-02-04 Andrew Cagney <ac131313@redhat.com>
2068 * MAINTAINERS: Mark h8500 as obsolete.
2069 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
2070 * findvar.c (value_from_register): Ditto.
2071 * h8500-tdep.c: Mark file as obsolete.
2072 * config/h8500/h8500.mt: Ditto.
2073 * config/h8500/tm-h8500.h: Ditto.
2074 * NEWS: Mention that h8500 is obsolete.
2076 2003-02-04 David Carlton <carlton@math.stanford.edu>
2078 * objfiles.c (allocate_objfile): Always set name. Add comment at
2080 * jv-lang.c (get_dynamics_objfile): Add comment.
2082 2003-02-04 David Carlton <carlton@math.stanford.edu>
2084 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
2085 * printcmd.c (build_address_symbolic): Replace uses of
2086 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
2087 SYMBOL_NAME, and asm_demangle.
2090 2003-02-04 David Carlton <carlton@math.stanford.edu>
2092 * linespec.c (decode_compound): Extract code into
2094 (lookup_prefix_sym): New function.
2096 2003-02-04 David Carlton <carlton@math.stanford.edu>
2098 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
2099 FLOAT_COERCION_BADNESS.
2100 * gdbtypes.c (rank_one_type): Replace all uses of
2101 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
2103 2003-02-04 Jim Blandy <jimb@redhat.com>
2105 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
2106 section, let dwarf_macinfo_section point to it, not
2109 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
2111 Pointed out by Anton Blanchard <anton@samba.org>.
2112 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
2113 (ppc_linux_at_sigtramp_return_path): Use it.
2115 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
2117 * defs.h (streq): Add prototype.
2118 * utils.c (streq): New function.
2120 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
2121 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
2122 * mdebugread.c (new_symbol): Likewise.
2123 * stabsread.c (define_symbol): Likewise.
2124 * coffread.c (process_coff_symbol): Likewise.
2125 * dwarfread.c (new_symbol): Likewise.
2127 * minsyms.c (prim_record_minimal_symbol_and_info): Use
2128 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
2130 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
2131 SYMBOL_INIT_DEMANGLED_NAME.
2132 * objfiles.c: Include "hashtab.h".
2133 (allocate_objfile): Call htab_set_functions_ex for the
2134 demangled_names_hash.
2135 (free_objfile): Call htab_delete for the demangled_names_hash.
2136 * objfiles.h (struct htab): Add declaration.
2137 (struct objfile): Add demangled_names_hash.
2138 * symfile.c: Include "hashtab.h".
2139 (reread_symbols): Call htab_delete for the demangled_names_hash.
2140 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
2141 SYMBOL_NAME in the bcache.
2142 * symtab.c: Include "hashtab.h". Update comments.
2143 (create_demangled_names_hash, symbol_set_names): New functions.
2144 (symbol_find_demangled_name): New function, broken out from
2145 symbol_init_demangled_names.
2146 (symbol_init_demangled_names): Use it.
2147 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
2148 (SYMBOL_SET_NAMES): New macro.
2149 (symbol_set_names): Add prototype.
2151 2003-02-03 Jim Blandy <jimb@redhat.com>
2153 Use a single, consistent representation for an empty minimal
2154 symbol table in an objfile.
2155 * objfiles.c (terminate_minimal_symbol_table): New function.
2156 (allocate_objfile): Call it.
2157 * objfiles.h (terminate_minimal_symbol_table): New declaration.
2158 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
2160 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
2161 objfile has minimal symbols, compare minimal_symbol_count to zero,
2162 instead of comparing msymbols with NULL.
2163 * objfiles.c (have_minimal_symbols): Same.
2164 * solib-sunos.c (solib_add_common_symbols): Call
2165 terminate_minimal_symbol_table.
2166 * symfile.c (reread_symbols): Same.
2168 2003-02-03 Kevin Buettner <kevinb@redhat.com>
2170 * s390-tdep.c (s390_address_class_type_flags)
2171 (s390_address_class_type_flags_to_name)
2172 (s390_address_class_name_to_type_flags): New functions.
2173 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
2174 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
2176 2003-02-03 Michael Snyder <msnyder@redhat.com>
2178 * arm-tdep.c: Fix spell-o in comment.
2180 2003-02-03 Michal Ludvig <mludvig@suse.cz>
2182 * dwarf2cfi.c (pointer_encoding): Added new parameter.
2183 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
2184 error messages to contain BFD filename.
2186 2003-02-02 Elena Zannoni <ezannoni@redhat.com>
2188 Fix PR gdb/742 gdb/743 gdb/877
2189 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
2190 (do_mixed_source_and_assembly): Use
2191 make_cleanup_ui_out_tuple_begin_end and
2192 make_cleanup_ui_out_tuple_begin_end.
2193 (do_mixed_source_and_assembly): Ditto.
2194 * thread.c (do_captured_list_thread_ids): Ditto.
2195 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
2196 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
2197 ui_out_tuple_end): Delete prototypes.
2198 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
2199 ui_out_list_end, ui_out_tuple_end): Delete.
2201 From Kevin Buettner <kevinb@redhat.com>:
2202 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
2203 * ui-out.c (make_cleanup_ui_out_table_begin_end)
2204 (do_cleanup_table_end): New functions.
2205 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
2206 Use cleanups to invoke_ui_out_tuple_end().
2207 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
2208 * cli/cli-setshow.c (cmd_show_list): Use
2209 make_cleanup_ui_out_tuple_begin_end.
2211 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2213 * frame.c (frame_unwind_register): New function.
2214 (frame_unwind_unsigned_register): Use.
2215 (frame_unwind_signed_register): Use.
2216 (frame_read_register): New function.
2217 * frame.h (frame_unwind_register): Declare.
2218 (frame_read_register): Declare.
2220 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
2221 and frame_unwind_register instead of read_memory, write_register
2222 and deprecated_write_register_bytes.
2224 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2226 * frame.h: Note that namelen can be negative.
2227 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
2230 * NEWS: Mention that the d10v's `regs' command is deprecated.
2231 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
2232 (d10v_print_registers_info): New function.
2233 (show_regs): Call d10v_print_registers_info.
2234 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
2236 2003-02-02 Mark Kettenis <kettenis@gnu.org>
2238 * stack.c (print_frame_info): Restore call to annotate_frame_begin
2239 lost in the previous patch.
2241 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2243 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
2244 * stack.c (print_frame_info_base): Output complete FRAME tuple
2245 for synthesized frames.
2247 2003-02-02 Andrew Cagney <ac131313@redhat.com>
2249 * mips-nat.c (zerobuf): Delete.
2250 (fetch_inferior_registers): Alloc local zerobuf.
2251 (fetch_core_registers): Alloc local zerobuf.
2252 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
2253 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
2254 * thread-db.c (thread_db_store_registers): Ditto.
2255 * sh-tdep.c (sh_do_register): Ditto.
2256 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
2257 * remote-sim.c (gdbsim_store_register): Ditto.
2258 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
2259 * remote-e7000.c (fetch_regs_from_dump): Ditto.
2260 * monitor.c (monitor_supply_register): Ditto.
2261 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
2262 * mips-nat.c (fetch_inferior_registers): Ditto.
2263 * m68klinux-nat.c (fetch_register): Ditto.
2264 * lynx-nat.c (fetch_inferior_registers): Ditto.
2265 (fetch_inferior_registers): Ditto.
2266 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
2267 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
2268 (hpux_thread_store_registers): Ditto.
2269 * hppah-nat.c (fetch_register): Ditto.
2270 * hppab-nat.c (fetch_register): Ditto.
2271 * hppa-tdep.c (pa_register_look_aside): Ditto.
2272 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
2273 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
2275 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2277 * gdbarch.sh: Explictly specify all method levels. When a
2278 variable with an empty level, provide a non-multi-arch default.
2279 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
2280 * gdbarch.h: Re-generate.
2281 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
2282 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
2284 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2286 * defs.h (host_pointer_to_address): Delete declaration.
2287 (address_to_host_pointer): Delete declaration.
2288 * utils.c (host_pointer_to_address): Delete function.
2289 (address_to_host_pointer): Delete function.
2290 * procfs.c (procfs_address_to_host_pointer): New function.
2291 * procfs.c (proc_set_watchpoint): Use.
2292 (procfs_can_use_hw_breakpoint): Update comments.
2293 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
2294 (som_solib_add): Use.
2295 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
2296 * hppa-tdep.c (unwind_command): Use.
2298 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2300 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
2303 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
2304 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
2305 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
2306 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
2307 (define_symbol): Update.
2308 * symfile.c (generic_load): Remove references to nindy.
2309 * symtab.c: Remove references to nindy.
2311 2003-02-01 Andrew Cagney <ac131313@redhat.com>
2313 * infcmd.c (print_float_info): Delete code conditional on
2315 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
2316 * config/m68k/nm-apollo68b.h: Ditto.
2317 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
2318 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
2319 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
2321 2003-02-01 Mark Kettenis <kettenis@gnu.org>
2323 * config/i386/tm-i386os9k.h: Removed.
2325 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
2326 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
2327 they're identical to i[3456]86-*-sysv* now.
2328 * config/i386/i386v32.mh: Removed.
2329 * config/i386/xm-i386v32.h: Removed.
2330 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
2332 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
2334 * config/i386/i386dgux.mh: Removed.
2335 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
2337 * configure.in: Fix typo.
2338 * configure: Regenerated.
2340 2003-01-31 David Carlton <carlton@math.stanford.edu>
2342 * dwarf2read.c (dwarf2_locate_sections): Set
2343 dwarf_ranges_section.
2345 2003-01-31 Andrew Cagney <ac131313@redhat.com>
2347 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
2348 * utils.c: Update comments documenting legitimate uses of PTR.
2350 * utils.c: Re-indent.
2352 * config/djgpp/fnchange.lst: Delete nindy files.
2353 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
2354 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
2355 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
2356 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
2357 * nindy-share/README, nindy-share/Onindy.c: Delete files.
2358 * nindy-tdep.c, nindy-share/Makefile: Delete files.
2359 * Makefile.in (init.c): Remove nindy references.
2360 (saber_gdb): Delete rule.
2361 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
2362 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
2364 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
2365 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
2366 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
2367 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
2369 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
2370 * saber.suppress: Delete file.
2372 2003-01-31 Daniel Jacobowitz <drow@mvista.com>
2374 * dbxread.c (stabs_data): New static variable.
2375 (fill_symbuf): Support an in-memory buffer for stabs data.
2376 (stabs_seek): New function.
2377 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
2378 (read_ofile_symtab): Use stabs_seek.
2379 (elfstab_build_psymtabs): Take an asection* instead of
2380 an offset and size. Relocate the stabs data if necessary.
2381 Save the section* for dbx_psymtab_to_symtab.
2382 * dwarf2read.c: Add section variables for each debug section.
2383 (dwarf2_locate_sections): Fill them in.
2384 (dwarf2_read_section): Take an asection* argument.
2385 Relocate the section contents if necessary.
2386 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
2387 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
2388 it to dwarf2_read_section.
2389 (dwarf2_build_frame_info): Update callers.
2390 * elfread.c (elf_symfile_read): Update call to
2391 elfstab_build_psymtabs.
2392 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
2393 (DBX_STAB_SECTION): New macro.
2394 * stabsread.h (elfstab_build_psymtabs): Update prototype.
2395 * symfile.c (symfile_dummy_outputs): New function.
2396 (symfile_relocate_debug_section): New function.
2397 * symfile.h (symfile_relocate_debug_section): Add prototype.
2399 2003-01-31 Richard Henderson <rth@redhat.com>
2401 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
2402 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
2403 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
2404 * alpha-tdep.c (alpha_register_name): Add "unique".
2405 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
2406 (ALPHA_UNIQUE_REGNUM): New.
2407 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
2409 2003-01-31 Andrew Cagney <ac131313@redhat.com>
2411 * README: Remove reference to Ericsson 1800 monitor.
2412 * Makefile.in (remote-es.o): Delete rule.
2413 (ALLDEPFILES): Delete remote-es.c.
2414 * remote-es.c: Delete file.
2415 * config/m68k/es1800.mt: Delete file.
2416 * config/djgpp/fnchange.lst: Update.
2417 * configure.tgt: Delete m68*-ericsson-* target.
2419 2003-01-31 Adam Fedor <fedor@gnu.org>
2421 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
2422 Remove duplicate/shadowing variable of same name.
2424 2003-01-30 Jim Blandy <jimb@redhat.com>
2426 * symfile.c (find_separate_debug_file): Assert that the objfile's
2427 directory name we compute ends with a slash, and then assume that
2428 that's so everywhere we use it.
2430 2003-01-30 Daniel Jacobowitz <drow@mvista.com>
2432 * valops.c (value_assign): Flush frame cache after stores to memory
2435 2003-01-30 Andrew Cagney <ac131313@redhat.com>
2437 * Makefile.in (mon960-rom.o): Delete rule.
2438 * mon960-rom.c: Delete file.
2440 2003-01-30 Andrew Cagney <ac131313@redhat.com>
2442 * d10v-tdep.c: Include "frame-unwind.h".
2443 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
2445 (next_addr, uses_frame): Delete.
2446 (struct d10v_unwind_cache): Define.
2447 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
2448 Use info instead of next_addr and uses_frame globals.
2449 (d10v_frame_init_saved_regs): Delete function.
2450 (d10v_init_extra_frame_info): Delete function.
2451 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
2452 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
2453 init_frame_pc or frame_saved_pc.
2454 (d10v_pop_frame): Delete function.
2455 (do_d10v_pop_frame): Delete function.
2456 (d10v_frame_chain): Delete function.
2457 (d10v_frame_chain_valid): Delete function.
2458 (d10v_frame_pc_unwind): New function.
2459 (d10v_frame_id_unwind): New function.
2460 (saved_regs_unwinder): New function.
2461 (d10v_frame_register_unwind): New function.
2462 (d10v_frame_pop): New function.
2463 (d10v_frame_unwind): New variable.
2464 (d10v_frame_p): New function.
2465 (d10v_frame_saved_pc): Delete function.
2466 * Makefile.in (d10v-tdep.o): Update dependencies.
2468 2003-01-30 J. Brobecker <brobecker@gnat.com>
2470 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
2471 causing some regressions due to a change in the default value
2474 2003-01-29 Richard Henderson <rth@redhat.com>
2475 Elena Zannoni <ezannoni@redhat.com>
2476 Daniel Jacobowitz <drow@mvista.com>
2479 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
2481 (RANGES_SECTION): New.
2482 (dwarf_ranges_buffer): New variable.
2483 (struct comp_unit_head): Add member "die".
2484 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
2485 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
2486 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
2487 (dwarf2_locate_sections): Likewise.
2488 (dwarf2_build_psymtabs): Read .debug_ranges.
2489 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
2490 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
2491 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
2492 Look for DW_AT_ranges and return the bounding box.
2494 2003-01-29 Brian Ford <ford@vss.fsi.com>
2496 * win32-nat.c (cygwin_pid): Removed as unused.
2497 (child_attach): Try fall back to Cygwin pid.
2499 2003-01-29 Jim Blandy <jimb@redhat.com>
2501 * objfiles.h (struct objfile): Doc fix.
2503 2003-01-29 Andrew Cagney <ac131313@redhat.com>
2505 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
2506 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
2507 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
2508 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
2509 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
2510 (FRAME_SAVED_PC): Change to a function with predicate.
2511 * gdbarch.h, gdbarch.c: Re-generate.
2513 2003-01-28 Andrew Cagney <ac131313@redhat.com>
2515 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
2517 * complaints.c (complain): Delete function.
2518 * complaints.h (struct deprecated_complaint): Delete definition.
2519 (complain): Delete declaration.
2521 2003-01-28 Kevin Buettner <kevinb@redhat.com>
2523 * mips-tdep.c (mips_init_extra_frame_info): Return early for
2526 2003-01-27 Andrew Cagney <ac131313@redhat.com>
2528 * sentinel-frame.h, sentinel-frame.c: New files.
2529 * Makefile.in (frame.o): Update dependencies.
2530 (SFILES): Add sentinel-frame.c.
2531 (sentinel_frame_h): Define.
2532 (COMMON_OBS): Add sentinel-frame.o.
2533 (sentinel-frame.o): Specify dependencies.
2534 * frame.c: Include "sentinel-frame.h".
2535 (frame_register_unwind): Rewrite assuming that there is always a a
2537 (frame_register, generic_unwind_get_saved_register): Ditto.
2538 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
2539 (create_sentinel_frame, unwind_to_current_frame): New functions.
2540 (get_current_frame): Rewrite using create_sentinel_frame and
2541 unwind_to_current_frame. When possible, always create a frame.
2542 (create_new_frame): Set next to the sentinel frame.
2543 (get_next_frame): Rewrite. Don't go below the level 0 frame.
2544 (deprecated_update_frame_pc_hack): Update the next frame's PC and
2545 ID cache when necessary.
2546 (frame_saved_regs_id_unwind): Use frame_relative_level.
2547 (deprecated_generic_get_saved_register): Use frame_relative_level,
2548 get_frame_saved_regs, get_frame_pc, get_frame_base and
2550 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
2553 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
2555 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
2557 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
2559 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
2560 (maintenance_set_profile_cmd): Use error () instead of warning ().
2562 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
2564 * configure.in: Check that -pg works if using --enable-profiling.
2565 Check for monstartup and _mcleanup regardless of --enable-profiling.
2566 * maint.c: Check for monstartup and _mcleanup before using them.
2567 * config.in: Regenerated.
2568 * configure: Regenerated.
2570 2003-01-24 Nick Clifton <nickc@redhat.com>
2574 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
2576 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
2577 (sh2e_show_regs): New.
2578 (sh_gdbarch_init): Handle bfd_mach_sh2e.
2579 * config/sh/tm-sh.h: Added sh2e to comments.
2581 2003-01-23 Jim Blandy <jimb@redhat.com>
2583 * symfile.c (syms_from_objfile): Don't print the "(no debugging
2584 symbols found)" message here; we haven't checked for a separate
2585 debug info file yet, so we don't know yet.
2586 (symbol_file_add_with_addrs_or_offsets): Print it here, after
2587 we've looked everywhere. Also, there's no need to print a special
2588 message when we're loading the separate debug info file: the one
2589 symbol_file_add prints is fine.
2591 2003-01-23 Alexander Larsson <alexl@redhat.com>
2592 Jim Blandy <jimb@redhat.com>
2594 Add support for executables whose debug info has been separated
2595 out into a separate file, leaving only a link behind.
2596 * objfiles.h (struct objfile): New fields: separate_debug_objfile
2597 and separate_debug_objfile_backlink.
2598 (put_objfile_before): New declaration.
2599 * symfile.c: #include "filenames.h".
2600 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
2601 debug info in a separate file, read that, too. Save the addrs
2602 argument, so we can use it again to read the separated debug info;
2603 syms_from_objfile modifies the table we pass it.
2604 (reread_symbols): After re-reading an objfile, call
2605 reread_separate_symbols to refresh its separate debug info
2606 objfile, if it has one.
2607 (reread_separate_symbols, find_separate_debug_file,
2608 get_debug_link_info, separate_debug_file_exists): New functions.
2609 (debug_file_directory): New global var.
2610 (_initialize_symfile): Initialize debug_file_directory, and
2611 provide the new `set debug-file-directory' command to let the user
2613 * objfiles.c (free_objfile): If this objfile has its debug info in
2614 a separate objfile, free that one too. If this is itself a
2615 separate debug info objfile, clear our parent's backlink.
2616 (put_objfile_before): New function.
2617 * utils.c (gnu_debuglink_crc32): New function.
2618 * defs.h (gnu_debuglink_crc32): New declaration.
2619 * Makefile.in (symfile.o): Note dependency on "filenames.h".
2620 * configure.in: Handle --with-separate-debug-dir config option.
2621 * acinclude.m4 (AC_DEFINE_DIR): New macro.
2622 * acconfig.h (DEBUGDIR): New macro.
2623 * configure, aclocal.m4, config.in: Regenerated.
2625 2003-01-22 Jim Blandy <jimb@redhat.com>
2627 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
2628 like the old symbol_file_add, but taking new arguments: you can
2629 now pass in either a `struct section_addr_info' list to say where
2630 each section is loaded, or a `struct section_offsets' table. Pass
2631 these new arguments through to syms_from_objfile as appropriate.
2632 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
2633 with the appropriate quiescent values for the new arguments.
2635 * symfile.c: #include "gdb_assert.h".
2636 (syms_from_objfile): Add the ability to pass in a section offset
2637 table directly, as an alternative to the section_addr_info table.
2638 Document arguments better.
2639 (symbol_file_add): Pass extra arguments to syms_from_objfile.
2640 * symfile.h (syms_from_objfile): Update declaration.
2641 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
2643 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
2645 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
2647 Original patch by Tom Tromey <tromey@cygnus.com> and
2648 Jason Molenda <jmolenda@apple.com>.
2649 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
2650 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
2651 * NEWS: Mention profiling.
2652 * configure.in (--enable-gdbtk): Fix typo.
2653 (--enable-profiling): New. Set PROFILE_CFLAGS.
2654 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
2656 (profiling_state): New variable.
2657 (mcleanup_wrapper): New function.
2658 (_initialize_maint): Remove NOTYET, fix call to
2659 add_setshow_boolean_cmd for "maint set profile".
2660 * configure: Regenerated.
2662 2003-01-21 Martin M. Hunt <hunt@redhat.com>
2664 * Makefile.in (install-gdbtk): Install PNG images too.
2666 2003-01-21 Andrew Cagney <ac131313@redhat.com>
2668 * exec.c (text_start): Delete global variable.
2669 (exec_file_attach): Make text_start local to the function.
2670 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
2671 * valops.c (hand_function_call): Delete code that handles
2672 BEFORE_TEXT_END and AFTER_TEXT_END.
2673 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
2674 of CALL_DUMMY_LOCATION.
2675 * gdbarch.c: Regenerate.
2676 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
2677 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
2678 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
2679 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
2680 (text_end): Delete extern declaration.
2682 2003-01-21 Andrew Cagney <ac131313@redhat.com>
2684 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
2685 * blockframe.c (backtrace_below_main): Move to "frame.c".
2686 (frame_chain_valid): Delete check for backtrace_below_main.
2687 (_initialize_blockframe): Delete initialization, move ``set
2688 backtrace-below-main'' command to "frame.c".
2689 (do_flush_frames_sfunc): Delete function.
2690 * frame.c: Include "command.h" and "gdbcmd.h".
2691 (frame_type_from_pc): New function.
2692 (create_new_frame): Use frame_type_from_pc.
2693 (legacy_get_prev_frame): New function.
2694 (get_prev_frame): Rewrite. When an old style frame, call
2695 legacy_get_prev_frame. Otherwize, unwind the PC first.
2696 (_initialize_frame): Add ``set backtrace-below-main'' command.
2697 * Makefile.in (frame.o): Update dependencies.
2699 2003-01-19 Andrew Cagney <ac131313@redhat.com>
2701 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
2702 DEPRECATED_REGISTERS_INFO.
2704 2003-01-19 Andrew Cagney <ac131313@redhat.com>
2706 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
2707 Maintainers'. Update `Various Maintainers'.
2709 2003-01-19 Andrew Cagney <ac131313@redhat.com>
2711 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
2712 * gdbarch.sh (POP_FRAME): Change to function with predicate.
2713 Suppress actual parameters when `-'.
2714 * gdbarch.h, gdbarch.c: Regenerate.
2716 2003-01-19 Andrew Cagney <ac131313@redhat.com>
2718 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
2719 code handling dummy frames.
2721 2003-01-19 Andrew Cagney <ac131313@redhat.com>
2723 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
2724 (struct frame_unwind): Add field pop.
2725 * frame.h (frame_pop): Declare.
2726 * frame.c (frame_saved_regs_pop): New function.
2727 (trad_frame_unwinder): Add frame_saved_regs_pop.
2728 (frame_pop): New function.
2729 * dummy-frame.c (dummy_frame_pop): New function.
2730 (discard_innermost_dummy): New function.
2731 (generic_pop_dummy_frame): Use discard_innermost_dummy.
2732 (dummy_frame_unwind): Add dummy_frame_pop.
2733 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
2734 * valops.c (hand_function_call): Ditto.
2735 * stack.c (return_command): Ditto.
2737 2003-01-18 Andrew Cagney <ac131313@redhat.com>
2739 * cris-tdep.c: Fix function declaration indentation.
2740 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
2741 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
2742 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
2743 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
2744 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
2745 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
2747 2003-01-18 Michael Chastain <mec@shout.net>
2749 * README (Unpacking and Installation -- quick overview):
2750 Warn against ".../gdb-5.3/gdb/configure".
2752 2003-01-18 Andrew Cagney <ac131313@redhat.com>
2754 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
2755 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
2756 (struct frame_unwind): Declare opaque.
2757 (dummy_frame_p): Declare function.
2758 * dummy-frame.c (dummy_frame_id_unwind): Make static.
2759 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
2760 * dummy-frame.c: Include "frame-unwind.h".
2761 (dummy_frame_p): New function.
2762 (dummy_frame_unwind): New variable.
2763 * frame.c: Include "frame-unwind.h".
2764 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
2765 to use the new unwind field.
2766 (set_unwind_by_pc): Delete function.
2767 (create_new_frame, get_prev_frame): Set unwind field using
2768 frame_unwind_find_by_pc.
2769 (trad_frame_unwind, trad_frame_unwinder): New variables.
2770 * frame.h (trad_frame_unwind): Declare variable.
2771 (frame_id_unwind_ftype): Delete declaration.
2772 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
2773 (struct frame_unwind): Declare opaque.
2774 (struct frame_info): Replace the fields id_unwind, pc_unwind and
2775 register_unwind with a single unwind pointer.
2776 * frame-unwind.h, frame-unwind.c: New files.
2777 * Makefile.in (SFILES): Add frame-unwind.c.
2778 (frame_unwind_h): Define.
2779 (COMMON_OBS): Add frame-unwind.o.
2780 (frame-unwind.o): Specify dependencies.
2781 (frame.o, dummy-frame.o): Update dependencies.
2783 2003-01-18 Andrew Cagney <ac131313@redhat.com>
2785 * ada-valprint.c: Eliminate PTR.
2786 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
2787 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
2788 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
2789 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
2790 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
2791 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
2792 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
2794 2003-01-17 Andrew Cagney <ac131313@redhat.com>
2796 * main.c (captured_main): Don't use PTR.
2797 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
2798 * gdbtypes.c (lookup_primitive_typename): Ditto.
2799 (lookup_struct_elt_type): Ditto.
2800 * f-valprint.c (info_common_command): Ditto.
2801 (list_all_visible_commons): Ditto.
2802 * jv-typeprint.c (java_type_print_base): Ditto.
2804 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
2805 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
2806 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
2807 i386-interix-nat.c and i386-interix-tdep.c. Rename
2808 m68klinux-nat.c and m68klinux-tdep.c. Rename
2809 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
2810 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
2811 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
2812 * main.c (captured_main): Use xfree, not free.
2814 2003-01-16 Andrew Cagney <ac131313@redhat.com>
2816 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
2817 ID back using a parameter.
2818 * frame.c (frame_id_unwind): Update call.
2819 (frame_saved_regs_id_unwind): Update.
2820 * dummy-frame.c (dummy_frame_id_unwind): Update function.
2821 * dummy-frame.h (struct frame_id): Add opaque declaration.
2822 (dummy_frame_id_unwind): Update declaration.
2824 2003-01-15 Andrew Cagney <ac131313@redhat.com>
2826 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
2828 2003-01-15 Stephen P. Smith <ischis2@cox.net>
2830 * MAINTAINERS (Stephen P. Smith): Updated email address.
2832 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
2835 * breakpoint.c (until_break_command): Add new argument. Use it to
2836 decide whether to stop only at the current frame or not.
2837 * breakpoint.h (until_break_command): Update prototype.
2838 * infcmd.c (until_command): Add new argument to until_break_command
2840 (advance_command): New function.
2841 (_initialize_infcmd): Update help string for 'until' command.
2842 Add new 'advance' command.
2844 2003-01-14 David Carlton <carlton@math.stanford.edu>
2846 * linespec.c (decode_line_1): Normalize comments.
2848 (locate_first_half): Ditto.
2849 (decode_compound): Ditto.
2850 (symtab_from_filename): Ditto.
2851 (decode_all_digits): Ditto.
2852 (decode_dollar): Ditto.
2853 (find_methods): Ditto.
2854 (find_toplevel_char): Ditto.
2856 2003-01-13 Andrew Cagney <ac131313@redhat.com>
2858 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
2859 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
2860 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
2861 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
2862 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
2863 * language.c, language.h, m32r-tdep.c: Update copyright.
2864 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
2865 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
2866 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
2867 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
2868 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
2869 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
2871 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
2873 * stabsread.h (process_later, resolve_cfront_continuation):
2875 Update copyright years.
2876 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
2877 Update copyright year.
2878 * dbxread.c(struct cont_elem): Obsolete.
2879 (process_later, process_now): Obsolete functions.
2880 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
2881 Update copyright year.
2882 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
2883 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
2884 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
2885 (parse_partial_symbols): Obsolete cfront support.
2887 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
2889 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
2890 read_cfront_baseclasses, read_cfront_member_functions,
2891 resolve_cfront_continuation,read_cfront_static_fields,
2892 copy_cfront_struct_fields): Obsolete functions.
2893 (define_symbol, read_one_struct_field): Obsolete cfront support.
2894 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
2895 Update Copyright year.
2897 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
2899 * stack.c (print_frame_info, print_stack_frame_base_stub,
2900 print_stack_frame_base, show_and_print_stack_frame_stub,
2901 show_and_print_stack_frame, print_only_stack_frame_stub,
2902 print_only_stack_frame): Delete functions.
2903 (print_stack_frame_stub): Call print_frame_info instead of
2904 print_frame_info_base.
2905 (print_frame_info_base): Rename to print_frame_info.
2906 (backtrace_command_1): Call print_frame_info, instead of
2907 print_frame_info_base.
2908 (current_frame_command): Call print_stack_frame, instead of
2909 print_only_stack_frame.
2910 (frame_command): Call print_stack_frame, instead of
2911 show_and_print_stack_frame.
2912 (up_command): Ditto.
2913 (down_command): Ditto.
2914 * frame.h (print_only_stack_frame): Delete prototype.
2915 * infrun.c (normal_stop): Call print_stack_frame, instead of
2916 show_and_print_stack_frame.
2917 * thread.c (info_threads_command): Call print_stack_frame, instead
2918 of print_only_stack_frame.
2920 2003-01-13 Andrew Cagney <ac131313@redhat.com>
2922 * README (Graphical interface to GDB): Update URL. Point at
2925 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
2928 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2930 * symtab.c (find_pc_sect_line): Don't consider end-of-function
2933 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2935 * thread-db.c (attach_thread): Prototype.
2936 (struct private_thread_info): Remove lwpid. Add thread handle (th),
2937 thread information (ti), and valid flags (th_valid, ti_valid).
2938 (attach_thread): Move target_pid_to_str call to after the thread
2939 is added to GDB's list. Initialize the cache.
2940 (thread_get_info_callback, thread_db_map_id2thr)
2941 (thread_db_get_info): New functions.
2942 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
2943 (thread_db_store_registers, thread_db_thread_alive)
2944 (thread_db_get_thread_local_address): Use them.
2945 (thread_db_pid_to_str): Likewise. Return "Missing" instead
2946 of calling error() for threads in unknown state.
2948 (clear_lwpid_callback): New function.
2949 (thread_db_resume): Use it to clear the cache.
2951 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2953 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
2954 (resume_callback): Remove dead code.
2956 2003-01-13 Andrew Cagney <ac131313@redhat.com>
2958 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
2960 * gdbarch.h, gdbarch.c: Regenerate.
2961 * stack.c (frame_info): Only initialize the saved registers when
2962 FRAME_INIT_SAVED_REGS_P.
2963 * frame.c (frame_saved_regs_register_unwind): Assert
2964 FRAME_INIT_SAVED_REGS_P.
2965 (deprecated_generic_get_saved_register): Ditto.
2967 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2969 * source.c (openp): Squelch warning about "filename".
2971 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2973 * source.c (openp): If the file does not exist don't necessarily
2976 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2979 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
2980 (integer_types_same_name_p): New function.
2981 (rank_one_type): Use it.
2982 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
2984 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2986 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
2988 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
2989 * configure.in: Add --with-sysroot.
2990 * configure: Regenerated.
2991 * main.c (gdb_sysroot): New variable.
2992 (captured_main): Initialize gdb_sysroot.
2993 * defs.h (gdb_sysroot): New extern declaration.
2994 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
2996 2003-01-12 Michael Chastain <mec@shout.net>
2998 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
3000 2003-01-12 Michael Chastain <mec@shout.net>
3002 * top.c (print_gdb_version): Bump copyright year to 2003.
3004 2003-01-12 David Carlton <carlton@bactrian.org>
3006 * linespec.c (symtab_from_filename): Rename variable 's' to
3009 2003-01-12 Andrew Cagney <ac131313@redhat.com>
3011 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
3013 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
3015 2003-01-12 Andrew Cagney <ac131313@redhat.com>
3017 * d10v-tdep.c: Include "gdb_assert.h".
3018 (d10v_store_return_value): Rewrite to match current interface.
3019 (d10v_extract_struct_value_address): Ditto.
3020 (d10v_extract_return_value): Ditto.
3021 (d10v_gdbarch_init): Set store_restore_value,
3022 extract_struct_value_address and extract_return_value.
3024 2003-01-12 J. Brobecker <brobecker@gnat.com>
3026 * hpread.c (set_namestring): New procedure replacing the
3027 SET_NAMESTRING macro.
3028 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
3029 by calls to set_namestring.
3031 2003-01-11 J. Brobecker <brobecker@gnat.com>
3033 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
3034 a compilation warning.
3035 (hpread_process_one_debug_symbol): Likewise.
3037 2003-01-10 David Carlton <carlton@math.stanford.edu>
3039 * linespec.c (decode_line_1): Rename variable 's' to
3041 (decode_all_digits): Rename argument 's' to 'file_symtab'.
3042 (decode_dollar): Ditto.
3043 (decode_variable): Ditto.
3044 (symbol_found): Ditto.
3046 2003-01-09 Michael Chastain <mec@shout.net>
3048 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
3050 2003-01-07 Corinna Vinschen <vinschen@redhat.com>
3052 * win32-nat.c (set_process_privilege): New function.
3053 (child_attach): Call set_process_privilege() to enable the
3054 SE_DEBUG_NAME user privilege if available in process token.
3056 2003-01-10 J. Brobecker <brobecker@gnat.com>
3058 * hpread.c (hpread_process_one_debug_symbol): Fix a small
3059 compilation error in the previous revision.
3061 2003-01-09 David Carlton <carlton@math.stanford.edu>
3063 * linespec.c: Update copyright.
3065 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
3067 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
3069 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
3071 2003-01-09 Andrew Cagney <ac131313@redhat.com>
3073 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
3075 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
3076 (frame_saved_regs_zalloc): Update.
3077 (frame_saved_regs_register_unwind): Update.
3078 (create_new_frame): Update.
3079 (get_prev_frame): Update.
3080 (frame_extra_info_zalloc): Update.
3081 (deprecated_get_frame_saved_regs): Update.
3082 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
3083 * cris-tdep.c: Update comment.
3085 * somsolib.h: Fix function indentation.
3086 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
3087 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
3088 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
3089 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
3090 * somsolib.c, inftarg.c: Remove assignment in if conditional.
3092 * infrun.c (follow_fork): Use ISO C definition.
3093 * expprint.c (print_subexp): Use xfree instead of free.
3094 * charset.c: Include "gdb_string.h" instead of <string.h>.
3095 (register_iconv_charsets): Use ISO C definition.
3096 (host_charset, target_charset): Ditto.
3097 * Makefile.in (charset.o): Update dependencies.
3098 (mi-cmd-env.o): Update dependencies.
3100 2003-01-08 Andrew Cagney <cagney@redhat.com>
3102 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
3105 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3107 * gdb_mbuild.sh: Add --keep option. When specified, keep the
3108 build directories. Save edited gdb output in Mbuild.log. If a
3109 build fails, remove any final GDB executable.
3111 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3113 * gdb_mbuild.sh: Edit the output of `maint print architecture'
3114 replacing hex constants with function names and stripping leading
3115 file name directory prefixes.
3117 2003-01-08 Andrew Cagney <cagney@redhat.com>
3119 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
3122 2003-01-08 David Carlton <carlton@math.stanford.edu>
3124 * linespec.c (decode_line_1): Move code into decode_variable.
3125 (decode_variable): New function.
3127 2003-01-08 Andrew Cagney <ac131313@redhat.com>
3129 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
3131 2003-01-08 Andrew Cagney <cagney@redhat.com>
3133 * cris-tdep.c (cris_frame_init_saved_regs): Use
3134 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
3136 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
3137 (sh64_nofp_frame_init_saved_regs): Ditto.
3138 (sh_fp_frame_init_saved_regs): Ditto.
3139 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
3140 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3141 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3142 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3144 2003-01-08 Daniel Jacobowitz <drow@mvista.com>
3146 * minsyms.c (lookup_minimal_symbol): Update comment.
3147 (lookup_minimal_symbol_text): Update comment. Use the hash table.
3148 (lookup_minimal_symbol_solib_trampoline): Likewise.
3150 2003-01-08 Andrew Cagney <cagney@redhat.com>
3152 * d10v-tdep.c (d10v_init_extra_frame_info): Use
3153 frame_relative_level.
3155 * alpha-tdep.c: Use get_frame_extra_info.
3156 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3157 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
3158 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3159 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
3161 * alpha-tdep.c: Use get_next_frame.
3162 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3163 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
3164 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
3165 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
3166 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
3167 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
3168 * xstormy16-tdep.c: Ditto.
3170 2003-01-07 Andrew Cagney <cagney@redhat.com>
3172 * alpha-tdep.c: Use get_frame_base.
3173 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3174 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
3175 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
3176 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3177 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
3178 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
3179 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
3180 * config/sparc/tm-sparc.h: Ditto.
3182 2003-01-07 Andrew Cagney <cagney@redhat.com>
3184 * frame.c (deprecated_get_frame_context): New function.
3185 (deprecated_set_frame_context): New function.
3186 * frame.h (deprecated_get_frame_context): Declare.
3187 (deprecated_set_frame_context): Declare.
3188 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
3189 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
3191 2003-01-07 Andrew Cagney <cagney@redhat.com>
3193 * frame.c (deprecated_set_frame_next_hack): New function.
3194 (deprecated_set_frame_prev_hack): New function.
3195 * frame.h (deprecated_set_frame_next_hack): Declare.
3196 (deprecated_set_frame_prev_hack): Declare.
3197 * mcore-tdep.c (analyze_dummy_frame): Use
3198 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
3199 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3201 2003-01-07 David Carlton <carlton@math.stanford.edu>
3203 * linespec.c (decode_line_1): Move code into decode_dollar.
3204 (decode_dollar): New function.
3206 2003-01-07 Andrew Cagney <cagney@redhat.com>
3208 * arm-tdep.c (arm_init_extra_frame_info): Use
3209 deprecated_update_frame_base_hack.
3210 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
3211 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3212 (fix_frame_pointer): Ditto.
3213 (mn10300_analyze_prologue): Ditto.
3215 2003-01-07 Andrew Cagney <cagney@redhat.com>
3217 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
3218 extra_info using frame_extra_info_zalloc.
3219 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
3220 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
3221 (sh64_init_extra_frame_info): Ditto.
3222 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
3223 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
3224 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3225 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
3226 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
3227 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
3228 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
3229 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
3230 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
3231 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
3232 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
3233 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
3235 * mn10300-tdep.c (analyze_dummy_frame): Use
3236 deprecated_set_frame_extra_info_hack.
3237 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3239 2003-01-07 J. Brobecker <brobecker@gnat.com>
3241 * mdebugread.c (parse_symbol): Skip stProc entries which storage
3242 class is not scText. These do not define "real" procedures.
3243 (parse_partial_symbols): Likewise.
3245 2003-01-06 Michael Snyder <msnyder@redhat.com>
3247 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
3249 2003-01-06 Andrew Cagney <ac131313@redhat.com>
3251 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
3252 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
3253 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
3254 deprecated_frame_xmalloc_with_cleanup.
3255 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
3256 deprecated_frame_xmalloc.
3257 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
3258 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
3260 2003-01-06 Andrew Cagney <cagney@redhat.com>
3262 * x86-64-linux-tdep.c: Include "osabi.h".
3263 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
3265 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
3267 2003-01-06 Andrew Cagney <cagney@redhat.com>
3269 * MAINTAINERS (Target Instruction Set Architectures): Update
3270 arm-elf. Can be built with -Werror, has been multiarched.
3272 * value.h (unpack_long): Make buffer parameter constant.
3273 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
3274 * scm-lang.h (scm_parse): Ditto.
3275 * defs.h (extract_typed_address, extract_address): Ditto.
3276 (extract_long_unsigned_integer): Ditto.
3277 * inferior.h (unsigned_pointer_to_address): Ditto.
3278 (signed_pointer_to_address): Ditto.
3279 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
3280 * gdbarch.h, gdbarch.c: Regenerate.
3281 * findvar.c (extract_long_unsigned_integer): Update.
3282 (extract_address): Update.
3283 (extract_typed_address): Update.
3284 (unsigned_pointer_to_address): Update.
3285 * values.c (unpack_long): Update.
3286 (unpack_double): Update.
3287 (unpack_pointer): Update.
3288 (unpack_field_as_long): Update.
3289 * d10v-tdep.c (d10v_pointer_to_address): Update.
3290 * avr-tdep.c (avr_pointer_to_address): Update.
3291 * scm-lang.c (scm_unpack): Update.
3292 * findvar.c (signed_pointer_to_address): Update.
3294 2003-01-06 Michal Ludvig <mludvig@suse.cz>
3296 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
3297 since it is in i386-tdep.c.
3299 2003-01-06 J. Brobecker <brobecker@gnat.com>
3301 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
3302 failure introduced in the previous change.
3304 2003-01-05 Michael Chastain <mec@shout.net>
3306 * README: Remove references to deleted remote-*.c files:
3307 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
3308 remote-nrom.c, remote-os9k.c, remote-udi.c.
3310 2003-01-05 Mark Kettenis <kettenis@gnu.org>
3312 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
3313 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
3314 i386_get_longjmp_target.
3316 2003-01-05 Andrew Cagney <ac131313@redhat.com>
3318 * arm-tdep.c (prologue_cache): Change to a pointer.
3319 (_initialize_arm_tdep): Allocate prologue_cache.
3320 (check_prologue_cache): Update.
3321 (save_prologue_cache): Update.
3322 (arm_gdbarch_init): Update.
3324 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3326 * stabsread.c (update_method_name_from_physname): Call complaint()
3329 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3331 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
3332 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
3333 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
3335 * blockframe.c: Include "gdbcmd.h" and "command.h".
3336 (backtrace_below_main): New variable.
3337 (file_frame_chain_valid, func_frame_chain_valid)
3338 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
3339 (generic_func_frame_chain_valid): Remove functions.
3340 (frame_chain_valid, do_flush_frames_sfunc): New functions.
3341 (_initialize_blockframe): New function.
3342 * Makefile.in (blockframe.o): Update dependencies.
3343 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
3344 comment. Call frame_chain_valid ().
3345 * frame.h: Remove old prototypes. Add prototype for
3346 frame_chain_valid and update comments to match.
3347 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
3349 * gdbarch.h: Regenerated.
3350 * gdbarch.c: Regenerated.
3352 * alpha-tdep.c (alpha_gdbarch_init): Don't call
3353 set_gdbarch_frame_chain_valid.
3354 * avr-tdep.c (avr_gdbarch_init): Likewise.
3355 * cris-tdep.c (cris_gdbarch_init): Likewise.
3356 * frv-tdep.c (frv_gdbarch_init): Likewise.
3357 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
3358 * i386-tdep.c (i386_svr4_init_abi): Likewise.
3359 (i386_nw_init_abi): Likewise.
3360 (i386_gdbarch_init): Likewise.
3361 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
3362 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
3363 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
3364 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
3365 * mips-tdep.c (mips_gdbarch_init): Likewise.
3366 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
3367 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
3368 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
3369 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3370 * s390-tdep.c (s390_gdbarch_init): Likewise.
3371 * sh-tdep.c (sh_gdbarch_init): Likewise.
3372 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3373 * v850-tdep.c (v850_gdbarch_init): Likewise.
3374 * vax-tdep.c (vax_gdbarch_init): Likewise.
3375 * x86-64-tdep.c (x86_64_init_abi): Likewise.
3377 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
3378 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
3379 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
3380 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
3381 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
3382 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
3383 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
3384 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
3386 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
3388 * Makefile.in (acconfig_h): Remove incorrect macro.
3390 (osabi.o): Update dependencies.
3391 * configure.tgt: Set gdb_osabi based on target triplet.
3392 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
3393 * configure: Regenerated.
3394 * config.in: Regenerated.
3395 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
3396 (GDB_OSABI_DEFAULT): Define if not already defined.
3397 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
3398 (set_osabi_string): New variables.
3399 (gdbarch_register_osabi): Add new OS ABI to
3400 gdb_osabi_available_names.
3401 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
3402 (set_osabi, show_osabi): New functions.
3403 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
3405 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3407 * arch-utils.c (gdbarch_info_init): Set osabi to
3408 GDB_OSABI_UNINITIALIZED.
3409 * gdbarch.sh: Add osabi to struct gdbarch and to struct
3410 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
3411 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
3412 * gdbarch.c: Regenerated.
3413 * gdbarch.h: Regenerated.
3414 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
3416 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
3417 * osabi.h (enum gdb_osabi): Move to defs.h.
3418 (gdbarch_init_osabi): Update prototype.
3419 * defs.h (enum gdb_osabi): Moved here.
3420 * Makefile.in: Update dependencies.
3422 * alpha-tdep.h: Don't include "osabi.h".
3423 (struct gdbarch_tdep): Remove osabi member.
3424 * alpha-tdep.c: Include "osabi.h".
3425 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3426 iterate over arches. Update call to gdbarch_init_osabi.
3427 (alpha_dump_tdep): Don't dump osabi.
3428 * alpha-linux-tdep.c: Include "osabi.h".
3429 * alpha-osf1-tdep.c: Include "osabi.h".
3430 * alphafbsd-tdep.c: Include "osabi.h".
3431 * alphanbsd-tdep.c: Include "osabi.h".
3433 * arm-tdep.h: Don't include "osabi.h".
3434 (struct gdbarch_tdep): Remove osabi member.
3435 * arm-tdep.c: Include "osabi.h".
3436 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3437 iterate over arches. Update call to gdbarch_init_osabi.
3438 (arm_dump_tdep): Don't dump osabi.
3439 * arm-linux-tdep.c: Include "osabi.h".
3440 * armnbsd-tdep.c: Include "osabi.h".
3442 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
3443 Update call to gdbarch_init_osabi.
3445 * i386-tdep.h: Don't include "osabi.h".
3446 (struct gdbarch_tdep): Remove osabi member.
3447 * i386-tdep.c: Include "osabi.h".
3448 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3449 iterate over arches. Update call to gdbarch_init_osabi.
3450 (i386_dump_tdep): Don't dump osabi.
3451 * i386-linux-tdep.c: Include "osabi.h".
3452 * i386-sol2-tdep.c: Include "osabi.h".
3453 * i386bsd-tdep.c: Include "osabi.h".
3454 * i386gnu-tdep.c: Include "osabi.h".
3455 * i386ly-tdep.c: Include "osabi.h".
3456 * i386nbsd-tdep.c: Include "osabi.h".
3457 * i386obsd-tdep.c: Include "osabi.h".
3459 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
3460 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3461 check osabi when iterating over arches. Update call to
3463 (mips_dump_tdep): Don't dump osabi.
3465 * ns32k-tdep.h: Don't include "osabi.h".
3466 (struct gdbarch_tdep): Remove.
3467 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
3468 gdbarch_lookup_osabi. Don't iterate over arches. Don't
3469 allocate tdep. Update call to gdbarch_init_osabi.
3470 (ns32k_dump_tdep): Remove.
3471 (_initialize_ns32k_tdep): Update call to gdbarch_register.
3472 * ns32knbsd-tdep.c: Include "osabi.h".
3474 * ppc-tdep.h: Don't include "osabi.h".
3475 (struct gdbarch_tdep): Remove osabi member.
3476 * rs6000-tdep.c: Include "osabi.h".
3477 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
3478 osabi when iterating over arches. Update call to
3480 (rs6000_dump_tdep): Don't dump osabi.
3481 * ppc-linux-tdep.c: Include "osabi.h".
3482 * ppcnbsd-tdep.c: Include "osabi.h".
3484 * sh-tdep.h: Don't include "osabi.h".
3485 (struct gdbarch_tdep): Remove osabi member.
3486 * sh-tdep.c: Include "osabi.h".
3487 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3488 iterate over arches. Update call to gdbarch_init_osabi.
3489 (sh_dump_tdep): Don't dump osabi.
3490 * shnbsd-tdep.c: Include "osabi.h".
3492 * sparc-tdep.c: Include "osabi.h".
3493 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3494 iterate over arches. Update call to gdbarch_init_osabi.
3495 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
3498 * vax-tdep.h: Don't include "osabi.h".
3499 (struct gdbarch_tdep): Remove.
3500 * vax-tdep.c: Include "osabi.h".
3501 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3502 iterate over arches. Don't allocate tdep. Update call
3503 to gdbarch_init_osabi.
3504 (vax_dump_tdep): Remove.
3505 (_initialize_vax_tdep): Update call to gdbarch_register.
3507 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3509 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
3511 (breakpoint_re_set_one): Don't fetch the value for a disabled
3514 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3516 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
3517 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
3518 (COERCE_FLOAT_TO_DOUBLE): Remove.
3519 * gdbarch.c: Regenerate.
3520 * gdbarch.h: Regenerate.
3521 * Makefile.in: Remove value_h from gdbarch_h.
3522 * valops.c (coerce_float_to_double): New variable.
3523 (default_coerce_float_to_double): Remove.
3524 (standard_coerce_float_to_double): Remove.
3525 (value_arg_coerce): Use coerce_float_to_double.
3526 (_initialize_valops): Add "set coerce-float-to-double".
3527 * value.h (default_coerce_float_to_double): Remove prototype.
3528 (standard_coerce_float_to_double): Remove prototype.
3530 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
3532 * mdebugread.c (parse_symbol): Likewise.
3533 * stabsread.c (define_symbol): Mark all functions as prototyped.
3535 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
3536 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
3537 set_gdbarch_coerce_float_to_double.
3538 * arm-tdep.c (arm_gdbarch_init): Likewise.
3539 * frv-tdep.c (frv_gdbarch_init): Likewise.
3540 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
3541 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
3542 * mips-tdep.c (mips_gdbarch_init): Likewise.
3543 (mips_coerce_float_to_double): Remove.
3544 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3545 (rs6000_coerce_float_to_double): Remove.
3546 * s390-tdep.c (s390_gdbarch_init): Likewise.
3547 * sh-tdep.c (sh_gdbarch_init): Likewise.
3548 (sh_coerce_float_to_double): Remove.
3549 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3550 (sparc_coerce_float_to_double): Remove.
3551 * v850-tdep.c (v850_gdbarch_init): Likewise.
3552 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
3553 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3554 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
3555 (hppa_coerce_float_to_double): Remove prototype.
3556 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3558 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3560 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
3562 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
3564 Suggested by Stewart Brown <sb24@avaya.com>:
3565 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
3566 in recursive calls. Handle TYPE_CODE_TYPEDEF.
3567 (c_type_print_varspec_suffix): Likewise.
3569 2003-01-04 Mark Kettenis <kettenis@gnu.org>
3571 * configure.in: Don't set and AC_SUBST SUBDIRS.
3572 * configure: Regenerated.
3574 * configure.in: Remove code dealing with shared libraries.
3575 * Makefile.in: Remove HLDFLAGS and HLDENV.
3576 * configure: Regenerated.
3578 2003-01-04 Andrew Cagney <ac131313@redhat.com>
3580 * frame.c (deprecated_frame_xmalloc): New function.
3581 (deprecated_set_frame_saved_regs_hack): New function.
3582 (deprecated_set_frame_extra_info_hack): New function.
3583 * frame.h (deprecated_frame_xmalloc): Declare.
3584 (deprecated_set_frame_saved_regs_hack): Declare.
3585 (deprecated_set_frame_extra_info_hack): Declare.
3587 2003-01-04 Mark Kettenis <kettenis@gnu.org>
3589 * configure.in: Move code that provides the --enable-gdbtk option
3590 right after the code that handles the --enable-tui option, and
3592 * configure: Regenerated.
3594 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
3595 AC_CHECK_FUNCS and remove the old check for pread64.
3596 * acinclude.m4 (AC_GNU_SOURCE): New macro.
3597 * acconfig.h (_GNU_SOURCE): Add.
3598 (HAVE_PREAD64): Remove.
3599 * configure, aclocal.m4, config.in: Regenerated.
3601 2003-01-03 Andrew Cagney <ac131313@redhat.com>
3603 * alpha-tdep.c: Use get_frame_saved_regs.
3604 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3605 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
3606 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
3607 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
3608 * vax-tdep.c, xstormy16-tdep.c: Ditto.
3610 2003-01-03 Mark Kettenis <kettenis@gnu.org>
3612 * configure.in: Remove all use of the SUBDIRS variable; add
3613 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
3614 code providing the --enable-multi-ice option, and move it right in
3615 front of the code that checks whether gdbserver is supported.
3617 * configure: Regenerated.
3618 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
3621 2003-01-03 Andrew Cagney <cagney@redhat.com>
3623 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
3624 * avr-tdep.c, cris-tdep.c: Ditto.
3625 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
3626 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
3628 2003-01-03 Mark Kettenis <kettenis@gnu.org>
3630 * configure.in: Remove --enable-netrom option.
3631 * configure: Regenerated.
3633 2003-01-03 Mark Kettenis <kettenis@gnu.org>
3635 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
3636 declaration for `struct re_pattern_buffer' instead.
3637 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
3639 2003-01-03 J. Brobecker <brobecker@gnat.com>
3641 * mdebugread.c (parse_symbol): Count until the stEnd matching
3644 2003-01-02 Mark Kettenis <kettenis@gnu.org>
3646 * configure.in: Remove --with-cpu option.
3647 subscripts. Remove evil changequotes here.
3648 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
3649 * config.in, configure: Regenerated.
3651 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
3652 * configure.in: Cleanup section that sources GDB and BFD configure
3653 subscripts. Remove evil changequotes here.
3654 * config.in, configure: Regenerated.
3656 2003-01-02 Andrew Cagney <ac131313@redhat.com>
3658 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
3659 frame accessor methods.
3660 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3661 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
3662 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
3663 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
3664 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
3665 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
3666 * z8k-tdep.c: Ditto.
3668 2003-01-02 Mark Kettenis <kettenis@gnu.org>
3670 * configure.in: Remove UI_OUT configuration code.
3671 * ada-lang.c: Update assuming UI_OUT is always true.
3672 * Makefile.in (UIOUT_CFLAGS): Remove.
3673 * configure: Regenerated.
3674 * TODO: Remove blurb about elimination of -DUI_OUT.
3676 * configure.in: Move code that provides the --enable-gdbcli,
3677 --enable-gdbmi options right before the code that handles the
3678 --enable-tui option. Polish a bit.
3679 * configure: Regenerated.
3681 * configure.in: Rewrite check for GNU regex and the
3682 --without-included regex option, and move it into the "Checks for
3683 library functions" section. This makes us use the system regex
3684 again by default on systems with version 2 of the GNU C library.
3685 This was apparently broken.
3686 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
3687 * acconfig.h (USE_INCLUDED_REGEX): Remove.
3688 * config.in, configure: Regenerated.
3690 * configure.in: Move code that provides the --enable-tui option
3691 before the "Checks for libraries" section. Polish the code
3692 somewhat and set need_curses to yes if we build the TUI. Rewrite
3693 code that looks for a library providing termcap functionality to
3694 match more closely what's done in the Readline library, and move
3695 it into to the "Checks for libraries" section.
3696 * configure: Regenerated.
3697 * Makefile.in (TERMCAP): Remove variable.
3698 * config/i386/go32.mh (TERMCAP): Remove variable.
3700 2003-01-02 Andrew Cagney <ac131313@redhat.com>
3702 * MAINTAINERS: Mention gdb_mbuild.sh.
3703 * gdb_mbuild.sh: Rewrite.
3705 2003-01-02 Mark Kettenis <kettenis@gnu.org>
3707 * configure.in: Fix typo in last change.
3708 * config.in, configure: Regenerated.
3710 2003-01-02 Andrew Cagney <ac131313@redhat.com>
3712 * valarith.c (value_binop): Delete obsolete code and comments.
3713 * configure.host: Ditto.
3714 * buildsym.h (make_blockvector): Ditto.
3715 * buildsym.c (make_blockvector): Ditto.
3716 * defs.h (enum language): Ditto.
3717 (chill_demangle): Ditto.
3718 * elfread.c (elf_symtab_read): Ditto.
3719 * dwarfread.c (CHILL_PRODUCER): Ditto.
3720 (set_cu_language): Ditto.
3721 (handle_producer): Ditto.
3722 * expprint.c (print_subexp): Ditto.
3723 * gdbtypes.c (chill_varying_type): Ditto.
3724 * gdbtypes.h (builtin_type_chill_bool): Ditto.
3725 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
3726 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
3727 (chill_varying_type): Ditto.
3728 * language.h (_LANG_chill): Ditto.
3729 * language.c (binop_result_type, integral_type): Ditto.
3730 (character_type, string_type, structured_type): Ditto.
3731 (lang_bool_type, binop_type_check): Ditto.
3732 * stabsread.h (os9k_stabs): Ditto.
3733 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
3734 (define_symbol, read_type, read_struct_fields): Ditto.
3735 (read_array_type, read_enum_type, read_huge_number): Ditto.
3736 (read_range_type, start_stabs): Ditto.
3737 * symfile.c (init_filename_language_table): Ditto.
3738 (add_psymbol_with_dem_name_to_list): Ditto.
3739 * symtab.c (symbol_init_language_specific): Ditto.
3740 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
3741 * symtab.h (struct general_symbol_info): Ditto.
3742 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
3743 * typeprint.c (typedef_print): Ditto.
3744 * utils.c (fprintf_symbol_filtered): Ditto.
3745 * valops.c (value_cast, search_struct_field, value_slice): Delete
3747 (varying_to_slice): Delete function.
3748 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
3749 (varying_to_slice): Delete declaration.
3750 * MAINTAINERS: Update.
3752 2003-01-02 Mark Kettenis <kettenis@gnu.org>
3754 * configure.in: Reorganize "Checks for library functions section"
3755 a bit. Remove check for `btowc' and `isascii' functions.
3756 * configure: Regenerated.
3758 * acconfig.h (_MSE_INT_H): Remove.
3759 * configure.in: Create "Checks for header files" section, and move
3760 appropriate tests there. Don't check for objlist.h, wchar.h,
3761 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
3762 misdetection fix. Also add "Checks for types", "Checks for
3763 compiler characteristics" and "Checks for library functions"
3765 * config.in, configure: Regenerated.
3767 * configure.in: Create "Checks for programs" section, and move
3768 appropriate tests there.
3770 2003-01-01 Mark Kettenis <kettenis@gnu.org>
3772 * configure.in: Create "Checks for libraries" section, and move
3773 appropriate tests there. Cleanup check for wctype in libw. Use
3774 AC_SEARCH_LIBS to see whether we need libsocket.
3775 * configure: Regenerated.
3777 For older changes see ChangeLog-2002
3783 version-control: never