]> Git Repo - binutils.git/blame - gdb/ChangeLog
* arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
[binutils.git] / gdb / ChangeLog
CommitLineData
03d48a7d
RE
12003-03-25 Richard Earnshaw <[email protected]>
2
3 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
4 (_initialize_arm_tdep): Don't set tm_print_insn.
5
2cf6873c
AF
62003-03-24 Adam Fedor <[email protected]>
7
8 * Makefile.in (YYOBJ): Add objc-exp.tab.o
9 * objc-lang.h: Add multiple inclusion protection.
10 (start_msglist, add_msglist, end_msglist): Additional declarations.
11
17c0759e
RE
122003-03-24 Richard Earnshaw <[email protected]>
13
14 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
15 value was renamed to ARM_FLOAT_SOFT_FPA.
16
618ce49f
AC
172003-03-23 Andrew Cagney <[email protected]>
18
19 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
20 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
21 * gdbarch.h, gdbarch.c: Regenerate.
22 * valops.c (hand_function_call): Update.
23 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
24 * frame.c (legacy_saved_regs_this_id): Update.
25 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
26 * dummy-frame.h: Update.
27 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
28 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
29 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
30 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
31 * config/m68k/tm-sun3.h: Update.
32 * blockframe.c (inside_main_func, frame_chain_valid): Update.
33 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
34 * x86-64-tdep.c (x86_64_init_abi): Update.
35 * vax-tdep.c (vax_gdbarch_init): Update.
36 * v850-tdep.c (v850_gdbarch_init): Update.
37 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
38 * sh-tdep.c (sh_gdbarch_init): Update.
39 * s390-tdep.c (s390_gdbarch_init): Update.
40 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
41 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
42 (frame_get_saved_regs): Update.
43 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
44 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
45 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
46 * mips-tdep.c (mips_gdbarch_init): Update.
47 * mcore-tdep.c (mcore_gdbarch_init): Update.
48 * m68k-tdep.c (m68k_gdbarch_init): Update.
49 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
50 * ia64-tdep.c (ia64_gdbarch_init): Update.
51 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
52 * i386-interix-tdep.c (i386_interix_init_abi): Update.
53 (i386_interix_back_one_frame): Update.
54 * hppa-tdep.c (hppa_gdbarch_init): Update.
55 (hppa_init_extra_frame_info): Update.
56 * h8300-tdep.c (h8300_gdbarch_init): Update.
57 * frv-tdep.c (frv_gdbarch_init): Update.
58 * cris-tdep.c (cris_gdbarch_init): Update.
59 * avr-tdep.c (avr_gdbarch_init): Update.
60 * arm-tdep.c (arm_gdbarch_init): Update.
61 * alpha-tdep.c (alpha_gdbarch_init): Update.
62
fd50bc42
RE
632003-03-22 Richard Earnshaw <[email protected]>
64
65 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
66 (arm_get_fp_model): Declare.
67 * arm-tdep.c (fp_model_strings): New string array.
68 (arm_fp_model, current_fp_model): New variables.
69 (arm_get_fp_model): New function.
70 (arm_set_fp): New function.
71 (set_fp_model_sfunc): New function.
72 (show_fp_model): New function.
73 (_initialize_arm_tdep): Add new command to set/show the FPU.
74 (arm_extract_return_value): Use arm_get_fp_model.
75 (arm_store_return_value): Likewise.
76 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
77 to initialize the floating-point data types.
78 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
79 model is FPA.
80
26304000
RE
812003-03-22 Richard Earnshaw <[email protected]>
82
83 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
84 the current setting of each value.
85 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
86 new_set and new_show. Use add_setshow_cmd_full and
87 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
88 commands and add new version as subcommands of "set/show arm".
89
afd7eef0
RE
902003-03-22 Richard Earnshaw <[email protected]>
91
92 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
93 (set_arm_command, show_arm_command): New functions.
94 (_initialize_arm_tdep): Add them.
95 (num_disassembly_options): Renamed from num_flavor_options.
96 (valid_disassembly_styles): Renamed from valid_flavors.
97 (disassembly_style): Renamed from disassembly_flavor.
98 (set_disassembly_style_sfunc): Renamed from
99 set_disassembly_flavor_sfunc.
100 (set_disassembly_style): Renamed from set_disassembly_flavor.
101 (arm_othernames): Updated.
102 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
103 command. Add "set/show arm disassembly" commands. Deprecate
104 "othernames" command.
105
299a7944
RE
1062003-03-22 Richard Earnshaw <[email protected]>
107
108 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
109 (arm-tdep.o): Depend on elf_arm_h.
110
c1dac9e6
RE
1112003-03-22 Richard Earnshaw <[email protected]>
112
113 * Makefile.in (coff_internal_h): Define.
114 (arm-tdep.o): Update dependencies.
115
2702d96c
RE
1162003-03-22 Richard Earnshaw <[email protected]>
117
118 * arm-tdep.c (prologue_cache): Delete.
119 (check_prologue_cache, save_prologue_cache): Delete.
120 (arm_scan_prologue): Don't check or update the prologue_cache.
121 (arm_gdb_arch_init): Don't initialize it.
122 (_initialize_arm_tdep): Likewise.
123
27d5d74b
SC
1242003-03-21 Stephane Carrez <[email protected]>
125
126 * MAINTAINERS (tui): Maintainer of tui code.
127
1762d96d
CV
1282003-03-21 Corinna Vinschen <[email protected]>
129
130 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
131 (i386-cygwin-tdep.o): Add dependencies.
132 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
133 * i386-cygwin-tdep.c: New file.
134 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
135 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
136
4c2e2391
AC
1372003-03-20 Andrew Cagney <[email protected]>
138
f20d38b7
AC
139 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
140 (handle_inferior_event): Remove code calling
141 DYNAMIC_TRAMPOLINE_NEXTPC.
142
0022b738
AC
143 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
144 already has a full path.
145
864dbc90
AC
146 * main.c (gdb_main): Return 1.
147 (captured_main): Call error to report an invalid interpreter.
148
4c2e2391
AC
149 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
150 * alpha-osf1-tdep.c: Include "gdb_string.h".
151
5ef7553b
JB
1522003-03-19 J. Brobecker <[email protected]>
153
154 Continuing work to convert the hppa targets to multiarch partial.
155
156 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
157 method, now that hppa_push_dummy_frame has a conformant prototype.
158 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
159 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
160 for the switch to multiarch partial.
161
7bde8967
KB
1622003-03-19 Kevin Buettner <[email protected]>
163
164 * mdebugread.c (parse_symbol): For stEnd, we're done counting
165 when iss is issNull.
166
b006a9e9
KB
1672003-03-18 Kevin Buettner <[email protected]>
168
169 * mips-tdep.c (mips_register_name): Fix fencepost error involving
170 NUM_REGS bounds check.
171
5e2e9765
KB
1722003-03-18 Kevin Buettner <[email protected]>
173
174 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
175 * mips-tdep.c (gdb_assert.h): Include.
176 (mips_generic_reg_names, mips_processor_reg_names): Make static.
177 (mips_register_name): Handle integer registers explicitly. Add
178 bounds checking.
179 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
180 (mips_lsi33k_reg_names): Don't list integer registers; they're
181 handled by mips_register_name() now.
182 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
183 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
184 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
185 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
186 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
187
a2867626
AC
1882003-03-18 Andrew Cagney <[email protected]>
189
190 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
191 a void pointer.
192 * gdbtypes.h (print_scalar_formatted): Update declaration.
193 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
194
06600e06
JB
1952003-03-18 J. Brobecker <[email protected]>
196
197 * infrun.c (observer.h): Add #include.
198 (normal_stop): Add call to observer_notify_normal_stop.
199 * Makefile.in (infrun.o): Add dependency on observer.h.
200
7daf4f5b
JB
2012003-03-18 J. Brobecker <[email protected]>
202
203 Continuing work to convert the hppa targets to multiarch partial.
204 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
205 parameter. Reformat comment.
206 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
207 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
208 to match new profile.
209
3371ccc0
JB
2102003-03-18 J. Brobecker <[email protected]>
211
212 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
213 appear to be working in any case.
214
4fbe891e
JB
2152003-03-18 J. Brobecker <[email protected]>
216
217 * observer.c (observer_test_first_observer): New static variable.
218 (observer_test_second_observer): Likewise.
219 (observer_test_third_observer): Likewise.
220 (observer_test_first_notification_function): New static function.
221 (observer_test_second_notification_function): Likewise.
222 (observer_test_third_notification_function): Likewise.
223
a7ff40e7
JB
2242003-03-17 J. Brobecker <[email protected]>
225
226 * hppa-tdep.c (gdb_assert.h): Add missing #include.
227 * somsolib.c (gdb_assert.h): Likewise.
228 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
229 (somsolib.o): Likewise.
230
26ca4152
AC
2312003-03-17 Andrew Cagney <[email protected]>
232
233 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
234 BFD. Simplify setting of di.endian.
235
0a613259
AC
2362003-03-17 Andrew Cagney <[email protected]>
237
238 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
239 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
240
241 From Elena Zannoni <[email protected]>
242 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
243 vector and floating-point parameters.
244 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
245 convention.
246 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
247
1132738f
FN
2482003-03-17 Fernando Nasser <[email protected]>
249
250 * MAINTAINERS: Remove my name from several maintainership roles.
251
6dc42492
AC
2522003-03-17 Andrew Cagney <[email protected]>
253
254 Fix frame off-by-one bug.
255 * frame-unwind.h (frame_this_id_ftype): Replace
256 frame_unwind_id_ftype.
257 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
258 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
259 with "prev_register".
260 * frame-unwind.c (frame_unwind_find_by_pc): Return
261 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
262 comment.
263 * dummy-frame.c (cached_find_dummy_frame): Delete function.
264 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
265 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
266 (dummy_frame_unwind): Update.
267 * sentinel-frame.c (sentinel_frame_prev_register): Replace
268 sentinel_frame_register_unwind.
269 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
270 (sentinel_frame_unwinder): Update.
271 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
272 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
273 * frame.c (create_sentinel_frame): Update. Initialize
274 "prologue_cache" instead of "unwind_cache".
275 (frame_register_unwind): Call this frame's prev_register with the
276 next frame and this frame's prologue cache.
277 (get_prev_frame): Simplify. Always call prev frame's this_id with
278 this frame and prev frame's prologue cache. Document that this
279 call is shifted one to the left when compared to the
280 frame_register_unwind call.
281 (legacy_saved_regs_prev_register): Replace
282 frame_saved_regs_register_unwind.
283 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
284 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
285 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
286 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
287 (d10v_frame_unwind): Update.
288 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
289 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
290 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
291 "saved_regs" with "this_saved_regs".
292
efd710d6
AC
2932003-03-16 Andrew Cagney <[email protected]>
294
295 * frame.c (frame_pop): Don't call target_store_registers. Fix
296 problem reported by Mark Kettenis.
297
4e259f09
MK
2982003-03-16 Mark Kettenis <[email protected]>
299
300 * i386-tdep.c (i386_register_type): Renamed from
301 i386_register_virtual_type. Adjust function signature.
302 (i386_gdbarch_init): Set register_type instead of
303 deprecated_max_register_raw_size,
304 deprecated_max_register_virtual_size and register_virtual_type.
305
055bb976
AC
3062003-03-14 Andrew Cagney <[email protected]>
307
308 * frame.c (get_prev_frame): When a legacy frame, always call
309 legacy_get_prev_frame. Simplify unwind code using assumption that
310 the unwinder is new.
311 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
312 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
313 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
314
ac2adee5
AC
3152003-03-14 Andrew Cagney <[email protected]>
316
317 * frame.c (get_saved_register): Delete function.
318 * frame.h (get_saved_register): Delete declaration.
319 * xstormy16-tdep.c: Update comment.
320 * regcache.h: Update comments.
321 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
322 get_saved_register and extract_address, use
323 frame_read_unsigned_register.
324 (sparc_frame_saved_pc): Ditto.
325 (sparc_get_saved_register): Instead of get_saved_register, use
326 frame_register.
327 (sparc_pop_frame): Ditto.
328 * findvar.c: Update comments.
329 (value_of_register): Call frame_register instead of
330 get_saved_register.
331 (value_from_register): Ditto.
332 * config/sparc/tm-sparc.h: Update comment.
333 * breakpoint.c: Update comment.
334
129c1cd6
AC
3352003-03-14 Andrew Cagney <[email protected]>
336
337 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
338 GET_SAVED_REGISTER.
339 * gdbarch.h, gdbarch.c: Re-generate.
340 * frame.h: Update comments.
341 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
342 * x86-64-tdep.c (x86_64_init_abi): Update.
343 * sparc-tdep.c (sparc_gdbarch_init): Update.
344 * sh-tdep.c (sh_gdbarch_init): Update.
345 * mips-tdep.c (mips_gdbarch_init): Update.
346 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
347 * cris-tdep.c (cris_gdbarch_init): Update.
348 * ia64-tdep.c (ia64_gdbarch_init): Update.
349 * frame.c (frame_register): Update.
350 (get_saved_register): Update.
351 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
352
749b82f6
AC
3532003-03-13 Andrew Cagney <[email protected]>
354
355 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
356 * gdbarch.h, gdbarch.c: Regenerate.
357 * valops.c (hand_function_call): Update comment.
358 * stack.c (return_command): Update comment.
359 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
360 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
361 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
362 * x86-64-tdep.c (x86_64_init_abi): Update.
363 * vax-tdep.c (vax_gdbarch_init): Update.
364 * v850-tdep.c (v850_gdbarch_init): Update.
365 * sparc-tdep.c (sparc_gdbarch_init): Update.
366 * sh-tdep.c (sh_gdbarch_init): Update.
367 * s390-tdep.c (s390_gdbarch_init): Update.
368 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
369 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
370 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
371 * mips-tdep.c (mips_gdbarch_init): Update.
372 * mcore-tdep.c (mcore_gdbarch_init): Update.
373 * m68k-tdep.c (m68k_gdbarch_init): Update.
374 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
375 * ia64-tdep.c (ia64_gdbarch_init): Update.
376 * i386-tdep.c (i386_gdbarch_init): Update.
377 * hppa-tdep.c (hppa_gdbarch_init): Update.
378 * h8300-tdep.c (h8300_gdbarch_init): Update.
379 * frv-tdep.c (frv_gdbarch_init): Update.
380 * cris-tdep.c (cris_gdbarch_init): Update.
381 * avr-tdep.c (avr_gdbarch_init): Update.
382 * arm-tdep.c (arm_gdbarch_init): Update.
383 * alpha-tdep.c (alpha_gdbarch_init): Update.
384
1594fa56
AC
3852003-03-13 Andrew Cagney <[email protected]>
386
387 * frame.c (legacy_frame_p): New function.
388 (get_prev_frame): Use legacy_frame_p.
389 * frame.h (legacy_frame_p): Declare.
390
7717fda3
V
3912003-03-13 D. Venkatasubramanian <[email protected]>
392
393 * MAINTAINERS (write after approval): Alphabetically
394 listing corrected.
395
0c67cbe9
V
3962003-03-13 D. Venkatasubramanian <[email protected]>
397
398 * MAINTAINERS (write after approval): Add myself.
399
03febf99
AC
4002003-03-12 Andrew Cagney <[email protected]>
401
402 * frame.c (get_prev_frame): Rename the frame parameter to
403 "this_frame".
404 (get_next_frame, legacy_get_prev_frame): Ditto.
405
0a1e1ca1
AC
4062003-03-12 Andrew Cagney <[email protected]>
407
408 * frame.c (get_current_frame): Check target_has_registers before
409 checking target_has_stack.
410 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
411 instead of deprecated_selected_frame.
412 * findvar.c (value_of_register): Pass "frame", not
413 deprecated_selected_frame, to value_of_builtin_reg.
414
a66a9c23
AC
4152003-03-12 Andrew Cagney <[email protected]>
416
417 * regcache.c (regcache_cooked_write_signed): New function.
418 (regcache_cooked_write_unsigned): New function.
419 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
420 (regcache_cooked_read_signed): Fix regnum in range assertion.
421 * regcache.h (regcache_cooked_write_signed): Declare.
422 (regcache_cooked_write_unsigned): Declare.
423
8bedc050
AC
4242003-03-12 Andrew Cagney <[email protected]>
425
426 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
427 * gdbarch.h, gdbarch.c: Re-generate.
428 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
429 * x86-64-tdep.h: Update.
430 * x86-64-tdep.c (x86_64_init_abi): Update.
431 * v850-tdep.c (v850_gdbarch_init): Update.
432 * sparc-tdep.c (sparc_gdbarch_init): Update.
433 * sh-tdep.c (sh_gdbarch_init): Update.
434 * s390-tdep.c (s390_gdbarch_init): Update.
435 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
436 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
437 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
438 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
439 * mips-tdep.c (mips_gdbarch_init): Update.
440 * mcore-tdep.c (mcore_gdbarch_init): Update.
441 * m68k-tdep.c (m68k_gdbarch_init): Update.
442 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
443 * ia64-tdep.c (ia64_gdbarch_init): Update.
444 * i386-tdep.c (i386_gdbarch_init): Update.
445 * i386-interix-tdep.c (i386_interix_init_abi): Update.
446 * hppa-tdep.c (hppa_gdbarch_init): Update.
447 * h8300-tdep.c (h8300_gdbarch_init): Update.
448 * frv-tdep.c (frv_gdbarch_init): Update.
449 * cris-tdep.c (cris_gdbarch_init): Update.
450 * avr-tdep.c (avr_gdbarch_init): Update.
451 * arm-tdep.c (arm_gdbarch_init): Update.
452 * alpha-tdep.c (alpha_gdbarch_init): Update.
453 * sh-tdep.c (sh_init_extra_frame_info): Update.
454 (sh64_init_extra_frame_info): Update.
455 * ns32knbsd-nat.c (frame_num_args): Update.
456 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
457 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
458 (xstormy16_frame_chain_valid): Update.
459 * vax-tdep.c (vax_saved_pc_after_call): Update.
460 * v850-tdep.c (v850_frame_chain): Update.
461 (v850_pop_frame): Update.
462 (v850_init_extra_frame_info): Update.
463 * sparc-tdep.c (setup_arbitrary_frame): Update.
464 * ns32k-tdep.c (umax_frame_num_args): Update.
465 * s390-tdep.c (s390_pop_frame_regular): Update.
466 * mn10300-tdep.c (mn10300_frame_chain): Update.
467 (mn10300_pop_frame_regular): Update.
468 (mn10300_init_extra_frame_info): Update.
469 * mips-tdep.c (mips_init_frame_pc_first): Update.
470 (mips_frame_chain): Update.
471 (mips_pop_frame): Update.
472 * mcore-tdep.c (mcore_frame_chain): Update.
473 (mcore_pop_frame): Update.
474 (mcore_init_extra_frame_info): Update.
475 * arch-utils.c (init_frame_pc_default): Update.
476 * m68k-tdep.c (isi_frame_num_args): Update.
477 (delta68_frame_num_args): Update.
478 (news_frame_num_args): Update.
479 * ia64-tdep.c (ia64_pop_frame_regular): Update.
480 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
481 (alpha_frame_chain): Update.
482 (alpha_pop_frame): Update.
483 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
484 (hppa_init_extra_frame_info): Update.
485 (hppa_frame_chain): Update.
486 (hppa_frame_chain_valid): Update.
487 * cris-tdep.c (cris_init_extra_frame_info): Update.
488 * avr-tdep.c (avr_init_extra_frame_info): Update.
489 * arm-tdep.c (arm_frame_chain_valid): Update.
490 (arm_init_extra_frame_info): Update.
491 (arm_pop_frame): Update.
492 * frame.c (frame_pc_unwind): Update.
493 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
494 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
495 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
496 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
497 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
498 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
499
7a25a7c1
AC
5002003-03-12 Andrew Cagney <[email protected]>
501
502 Eliminate the need for POP_FRAME.
503 * frame.c (do_frame_unwind_register): New function.
504 (frame_pop): When no POP_FRAME, pop the frame using register
505 unwind and a scratch regcache.
506 (frame_saved_regs_pop): Delete function.
507 (trad_frame_unwinder): Update.
508 * d10v-tdep.c (d10v_frame_pop): Delete function.
509 (d10v_frame_unwind): Update.
510 * sentinel-frame.c (sentinel_frame_pop): Delete function.
511 (sentinel_frame_unwinder): Update.
512 * dummy-frame.c (dummy_frame_pop): Delete function.
513 (dummy_frame_unwind): Update.
514 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
515 (struct frame_unwind): Update.
516
2f38ef89
KB
5172003-03-11 Kevin Buettner <[email protected]>
518
519 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
520 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
521 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
522 Do range checks on register number obtained from debugging info.
523 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
524 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
525 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
526 mapping function.
527 (do_fp_register_row): Fix typo which caused double type to be
528 used when attempting to unpack a float.
529
552f4abf
JB
5302003-03-11 J. Brobecker <[email protected]>
531
532 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
533
e0d2ae16
AC
5342003-03-11 Andrew Cagney <[email protected]>
535
536 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
537 frame. Problem found by Corinna Vinschen.
538
ddbfdd06
PM
5392003-03-11 Pierre Muller <[email protected]>
540
541 * doublest.c (floatformat_from_length): Accept also
542 the real size of 'long double' type.
543
088b2ddc 5442003-03-10 Daniel Jacobowitz <[email protected]>
31cc81e9 545
088b2ddc 546 From Klee Dienes <[email protected]>:
31cc81e9
DJ
547 * breakpoint.c (bpstat_copy): Copy the command lines as well
548 as the old value, to match what is freed in bpstat_clear.
549
f56f77c1
DC
5502003-03-10 David Carlton <[email protected]>
551
552 * minsyms.c (add_minsym_to_hash_table): Replace
553 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
554 (compare_minimal_symbols, compact_minimal_symbols)
555 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
556 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
557 of DEPRECATED_SYMBOL_MATCHES_NAME.
558 (lookup_minimal_symbol_solib_trampoline): Ditto.
559
5602984a
AC
5602003-03-10 Andrew Cagney <[email protected]>
561
562 * regcache.h (regcache_cooked_read_ftype): Define.
563 (regcache_save, regcache_restore): Add a cooked_read parameter.
564 * regcache.c (regcache_save, regcache_restore): Update.
565 (do_cooked_read): New function.
566 (regcache_cpy): Pass do_cooked_read to regcache_save and
567 regcache_restore.
568
8bedc050
AC
5692003-03-10 Andrew Cagney <[email protected]>
570
571 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
572 * gdbarch.h, gdbarch.c: Re-generate.
573 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
574 * x86-64-tdep.h: Update.
575 * x86-64-tdep.c (x86_64_init_abi): Update.
576 * v850-tdep.c (v850_gdbarch_init): Update.
577 * sparc-tdep.c (sparc_gdbarch_init): Update.
578 * sh-tdep.c (sh_gdbarch_init): Update.
579 * s390-tdep.c (s390_gdbarch_init): Update.
580 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
581 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
582 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
583 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
584 * mips-tdep.c (mips_gdbarch_init): Update.
585 * mcore-tdep.c (mcore_gdbarch_init): Update.
586 * m68k-tdep.c (m68k_gdbarch_init): Update.
587 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
588 * ia64-tdep.c (ia64_gdbarch_init): Update.
589 * i386-tdep.c (i386_gdbarch_init): Update.
590 * i386-interix-tdep.c (i386_interix_init_abi): Update.
591 * hppa-tdep.c (hppa_gdbarch_init): Update.
592 * h8300-tdep.c (h8300_gdbarch_init): Update.
593 * frv-tdep.c (frv_gdbarch_init): Update.
594 * cris-tdep.c (cris_gdbarch_init): Update.
595 * avr-tdep.c (avr_gdbarch_init): Update.
596 * arm-tdep.c (arm_gdbarch_init): Update.
597 * alpha-tdep.c (alpha_gdbarch_init): Update.
598 * sh-tdep.c (sh_init_extra_frame_info): Update.
599 (sh64_init_extra_frame_info): Update.
600 * ns32knbsd-nat.c (frame_num_args): Update.
601 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
602 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
603 (xstormy16_frame_chain_valid): Update.
604 * vax-tdep.c (vax_saved_pc_after_call): Update.
605 * v850-tdep.c (v850_frame_chain): Update.
606 (v850_pop_frame): Update.
607 (v850_init_extra_frame_info): Update.
608 * sparc-tdep.c (setup_arbitrary_frame): Update.
609 * ns32k-tdep.c (umax_frame_num_args): Update.
610 * s390-tdep.c (s390_pop_frame_regular): Update.
611 * mn10300-tdep.c (mn10300_frame_chain): Update.
612 (mn10300_pop_frame_regular): Update.
613 (mn10300_init_extra_frame_info): Update.
614 * mips-tdep.c (mips_init_frame_pc_first): Update.
615 (mips_frame_chain): Update.
616 (mips_pop_frame): Update.
617 * mcore-tdep.c (mcore_frame_chain): Update.
618 (mcore_pop_frame): Update.
619 (mcore_init_extra_frame_info): Update.
620 * arch-utils.c (init_frame_pc_default): Update.
621 * m68k-tdep.c (isi_frame_num_args): Update.
622 (delta68_frame_num_args): Update.
623 (news_frame_num_args): Update.
624 * ia64-tdep.c (ia64_pop_frame_regular): Update.
625 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
626 (alpha_frame_chain): Update.
627 (alpha_pop_frame): Update.
628 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
629 (hppa_init_extra_frame_info): Update.
630 (hppa_frame_chain): Update.
631 (hppa_frame_chain_valid): Update.
632 * cris-tdep.c (cris_init_extra_frame_info): Update.
633 * avr-tdep.c (avr_init_extra_frame_info): Update.
634 * arm-tdep.c (arm_frame_chain_valid): Update.
635 (arm_init_extra_frame_info): Update.
636 (arm_pop_frame): Update.
637 * frame.c (frame_pc_unwind): Update.
638 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
639 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
640 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
641 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
642 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
643 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
644
12cc2063
AC
6452003-03-10 Andrew Cagney <[email protected]>
646
647 * gdbarch.sh (gdbarch_unwind_pc): New method.
648 * gdbarch.h, gdbarch.c: Regenerate.
649 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
650 but use read_pc and FRAME_SAVED_PC as fall backs.
651 (frame_saved_regs_pc_unwind): Delete function.
652 (trad_frame_unwinder): Update.
653 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
654 (struct frame_unwind): Update.
655 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
656 (dummy_frame_unwind): Update.
657 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
658 (sentinel_frame_unwinder): Update.
659 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
660 (d10v_frame_unwind): Update.
661 (d10v_unwind_pc): New function.
662 (d10v_gdbarch_init): Set unwind_pc.
663
ef840a37
AC
6642003-03-10 Andrew Cagney <[email protected]>
665
a2ce2e56
AC
666 * gdbarch.h: Re-generate.
667
ef840a37
AC
668 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
669 PC.
670 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
671 the PC register.
672
08f3424b
MK
6732003-03-08 Mark Kettenis <[email protected]>
674
675 * gdbarch.sh (save_dummy_frame_tos): Add comment.
676
1248ede2
AC
6772003-03-08 Andrew Cagney <[email protected]>
678
679 * cli-out.c: Update copyright.
680 (cli_out_data): Define typedef. Use instead of ui_out_data.
681
f49bacc8
AC
6822003-03-08 Andrew Cagney <[email protected]>
683
684 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
685 the result.
686
9b05f993
AC
6872003-03-07 Andrew Cagney <[email protected]>
688
689 * gdbarch.sh: Don't generate two macro definitions when an
690 undefined macro taking no arguments.
691 * gdbarch.h: Regenerate.
692
166f4c7b
ML
6932002-03-07 Michal Ludvig <[email protected]>
694
695 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
696 (x86_64_unwind_dummy_id): New functions.
697 (x86_64_init_abi): Register these two new functions.
698
6d686a84
ML
6992003-03-07 Michal Ludvig <[email protected]>
700
701 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
702 (x86_64_skip_prologue): Move prologue detection to
703 separate function.
704 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
705
6314f104
AC
7062003-03-05 Andrew Cagney <[email protected]>
707
708 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
709 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
710 * frame.c (get_prev_frame): Restructure the frame ID unwind code
711 to use unwind_dummy_id when a dummy frame.
712 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
713 predicate.
714 * gdbarch.h, gdbarch.c: Regneerate.
715
ceea5145
AC
7162003-03-05 Andrew Cagney <[email protected]>
717
718 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
719 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
720 Do not use d10v_read_sp or d10v_read_fp when obtaining register
721 values.
722
0d843116
AC
7232003-03-05 Andrew Cagney <[email protected]>
724
725 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
726 (struct d10v_unwind_cache): Delete field "frameless". Replace
727 "next_addr" with "sp_offset". Add "r11_offset".
728 (d10v_frame_unwind_cache): Update.
729 (prologue_find_regs): Update. When "mv r11, sp", save the
730 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
731 RN was saved in r11_offset.
732
b2579786
AC
7332003-03-05 Andrew Cagney <[email protected]>
734
735 * frame.c (deprecated_update_frame_pc_hack): Also update the the
736 cached PC value in the next frame.
737
218e5956
AC
7382003-03-05 Andrew Cagney <[email protected]>
739
740 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
741 "id_unwind_cache" with "id".
742 (frame_id_unwind): Delete declaration.
743 * frame.c (frame_id_unwind): Delete function.
744 (get_prev_frame): Call the frame id unwind method directly. Store
745 the returned next frame's ID value in NEXT_FRAME. Note that there
746 is a problem with the wrong unwind ID being called with the wrong
747 unwind cache.
748
ed363b1b
DJ
7492003-03-05 Daniel Jacobowitz <[email protected]>
750
751 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
752
fe1f4a5e
DJ
7532003-03-05 James Ingham <[email protected]>
754 Daniel Jacobowitz <[email protected]>
755
756 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
757 (auto_cp_abi): New variable.
758 (current_cp_abi, num_cp_abis): Make static.
759 (CP_ABI_MAX): Define.
760 (cp_abis): Turn into an array.
761 (value_virtual_fn_field): Fix formatting.
762 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
763 takes a pointer.
764 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
765 (list_cp_abis, _initialize_cp_abi): New functions.
766 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
767 declarations for cp_abis, num_cp_abis, current_cp_abi, and
768 switch_to_cp_abi. Update prototype for register_cp_abi.
769 * Makefile.in (cp-abi.o): Update dependencies.
770 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
771 instead of switch_to_cp_abi.
772 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
773 register_cp_abi.
774 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
775 register_cp_abi.
776 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
777
e4adbba9
DJ
7782003-03-05 Daniel Jacobowitz <[email protected]>
779
780 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
781 * dwarf2loc.c: Include "regcache.h".
782 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
783 register_size.
784 * Makefile.in (dwarf2loc.o): Update dependencies.
785
91ccbfc1
TR
7862003-03-04 Theodore A. Roth <[email protected]>
787
788 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
789 number of io registers reported by remote target is not a multiple of
790 step.
791
3d4e8fd2
DC
7922003-03-04 David Carlton <[email protected]>
793
794 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
795 (lookup_symbol_aux_psymtabs): Update call to
796 lookup_partial_symbol.
797 (lookup_transparent_type, find_main_psymtab)
798 (make_symbol_overload_list): Ditto.
799
ed42d87b
KH
8002003-03-04 Kazu Hirata <[email protected]>
801
802 * MAINTAINERS (Write after approval): Update my email address.
803
a0ed5532
AC
8042003-03-03 Andrew Cagney <[email protected]>
805
806 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
807 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
808 predicate. Replace MAX_REGISTER_RAW_SIZE.
809 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
810 MAX_REGISTER_VIRTUAL_SIZE.
811 * regcache.c (legacy_max_register_raw_size): New function.
812 (legacy_max_register_virtual_size): New function.
813 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
814 (MAX_REGISTER_RAW_SIZE): Define.
815 (legacy_max_register_raw_size): Declare.
816 (legacy_max_register_virtual_size): Declare.
817 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
818 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
819 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
820 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
821 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
822 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
823 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
824 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
825 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
826 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
827 * vax-tdep.c (vax_gdbarch_init): Update.
828 * v850-tdep.c (v850_gdbarch_init): Update.
829 * sparc-tdep.c (sparc_gdbarch_init): Update.
830 * sh-tdep.c (sh_gdbarch_init): Update.
831 * s390-tdep.c (s390_gdbarch_init): Update.
832 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
833 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
834 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
835 * mips-tdep.c (mips_gdbarch_init): Update.
836 * mcore-tdep.c (mcore_gdbarch_init): Update.
837 * m68k-tdep.c (m68k_gdbarch_init): Update.
838 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
839 * ia64-tdep.c (ia64_gdbarch_init): Update.
840 * i386-tdep.c (i386_gdbarch_init): Update.
841 * hppa-tdep.c (hppa_gdbarch_init): Update.
842 * h8300-tdep.c (h8300_gdbarch_init): Update.
843 * frv-tdep.c (frv_gdbarch_init): Update.
844 * cris-tdep.c (cris_gdbarch_init): Update.
845 * avr-tdep.c (avr_gdbarch_init): Update.
846 * arm-tdep.c (arm_gdbarch_init): Update.
847 * alpha-tdep.c (alpha_gdbarch_init): Update.
848 * d10v-tdep.c (d10v_gdbarch_init): Do not set
849 max_register_raw_size or max_register_virtual_size.
850
8e437497
DC
8512003-03-03 David Carlton <[email protected]>
852
853 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
854 SYMBOL_MATCHES_NAME, add comment.
855 (SYMBOL_MATCHES_NATURAL_NAME): New.
856 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
857 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
858 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
859 * symtab.c (lookup_partial_symbol): Use
860 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
861 unhelpful comment.
862 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
863 SYMBOL_MATCHES_NAME.
864 Fix for PR c++/33.
865
25120b0d
DC
8662003-03-03 David Carlton <[email protected]>
867
868 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
869 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
870 by regexp matching against SYMBOL_NATURAL_NAME.
871
78a11fb4
DC
8722003-03-03 David Carlton <[email protected]>
873
874 * linespec.c (find_method): Extract code into collect_methods.
875 (collect_methods): New.
876
645dd519
MK
8772003-03-02 Mark Kettenis <[email protected]>
878
b4700d91
MK
879 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
880 get_frame_base.
881
645dd519
MK
882 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
883 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
884
0aa7e1aa
SC
8852003-03-02 Stephane Carrez <[email protected]>
886
887 * arch-utils.c (generic_register_byte): Fix to use the loop index
888 and not regnum when summing the size of all registers up to regnum.
889
f30ee0bc
AC
8902003-03-01 Andrew Cagney <[email protected]>
891
892 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
893 FRAME_INIT_SAVED_REGS.
894 * gdbarch.h, gdbarch.c: Regenerate.
895 * stack.c (frame_info): Update.
896 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
897 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
898 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
899 * ns32k-tdep.c (ns32k_pop_frame): Update.
900 * mips-tdep.c (mips_pop_frame): Update.
901 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
902 * ia64-tdep.c (ia64_frame_chain): Update.
903 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
904 (ia64_frameless_function_invocation): Update.
905 (ia64_init_extra_frame_info): Update.
906 (ia64_pop_frame_regular): Update.
907 * frame.h (struct frame_info): Update comment.
908 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
909 * frame.c (frame_saved_regs_register_unwind): Update.
910 (frame_saved_regs_register_unwind): Update.
911 (deprecated_generic_get_saved_register): Update.
912 * cris-tdep.c: Update comment.
913 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
914 Rename macro.
915 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
916 * x86-64-tdep.c (x86_64_init_abi): Update.
917 * vax-tdep.c (vax_gdbarch_init): Update.
918 * v850-tdep.c (v850_gdbarch_init): Update.
919 * sparc-tdep.c (sparc_gdbarch_init): Update.
920 * sh-tdep.c (sh_gdbarch_init): Update.
921 * s390-tdep.c (s390_gdbarch_init): Update.
922 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
923 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
924 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
925 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
926 * mips-tdep.c (mips_gdbarch_init): Update.
927 * mcore-tdep.c (mcore_gdbarch_init): Update.
928 * m68k-tdep.c (m68k_gdbarch_init): Update.
929 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
930 * ia64-tdep.c (ia64_gdbarch_init): Update.
931 * i386-tdep.c (i386_gdbarch_init): Update.
932 * frv-tdep.c (frv_gdbarch_init): Update.
933 * avr-tdep.c (avr_gdbarch_init): Update.
934 * arm-tdep.c (arm_gdbarch_init): Update.
935 * alpha-tdep.c (alpha_gdbarch_init): Update.
936
42fa7c0f
AC
9372003-03-01 Andrew Cagney <[email protected]>
938
939 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
940 option enum and switch. When no windows, set the interpreter to
941 INTERP_CONSOLE.
942
49c7e338
AC
9432003-03-01 Andrew Cagney <[email protected]>
944
945 * main.c (captured_main): Replace magic option characters with an
946 enum.
947
e9582e71
AC
9482003-03-01 Andrew Cagney <[email protected]>
949
950 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
951 INIT_EXTRA_FRAME_INFO.
952 * gdbarch.h, gdbarch.c: Regenerate.
953 * arm-tdep.c: Update comments.
954 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
955 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
956 * frame.h, avr-tdep.c: Ditto.
957 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
958 (create_new_frame, legacy_get_prev_frame): Ditto.
959 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
960 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
961 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
962 deprecated_init_extra_frame_info instead of init_extra_frame_info.
963 * x86-64-tdep.c (x86_64_init_abi): Ditto.
964 * v850-tdep.c (v850_gdbarch_init): Ditto.
965 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
966 * sh-tdep.c (sh_gdbarch_init): Ditto.
967 * s390-tdep.c (s390_gdbarch_init): Ditto.
968 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
969 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
970 * mips-tdep.c (mips_gdbarch_init): Ditto.
971 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
972 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
973 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
974 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
975 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
976 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
977 * frv-tdep.c (frv_gdbarch_init): Ditto.
978 * cris-tdep.c (cris_gdbarch_init): Ditto.
979 * avr-tdep.c (avr_gdbarch_init): Ditto.
980 * arm-tdep.c (arm_gdbarch_init): Ditto.
981 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
982 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
983
35cac7cf
AC
9842003-03-01 Andrew Cagney <[email protected]>
985
986 * gdbarch.sh (register_type): New function with predicate.
987 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
988 * gdbarch.h, gdbarch.c: Re-generate.
989 * arch-utils.c (generic_register_byte): Use generic_register_size.
990 (generic_register_size): When available, use
991 gdbarch_register_type.
992 * regcache.c (init_regcache_descr): When available, initialize the
993 register type array using gdbarch_register_type. If the
994 architecture supplies gdbarch_register_type, do not use the legacy
995 regcache layout.
996 * d10v-tdep.c (d10v_register_type): Replace
997 d10v_register_virtual_type.
998 (d10v_gdbarch_init): Set register_type instead of
999 register_virtual_type.
1000
7b83296f
AC
10012003-03-01 Andrew Cagney <[email protected]>
1002
1003 * Makefile.in (ax-gdb.o): Update dependencies.
1004 * ax-gdb.c: Include "regcache.h".
1005 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
1006 * findvar.c (value_of_register): Ditto.
1007 * infcmd.c (default_print_registers_info): Ditto.
1008
eadc1c87
MK
10092003-03-01 Mark Kettenis <[email protected]>
1010
1011 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
1012 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1013
14143612
MK
10142003-03-01 Mark Kettenis <[email protected]>
1015
1016 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
1017 of STREQ.
1018
a55cc764
DJ
10192003-02-28 Daniel Jacobowitz <[email protected]>
1020
1021 * Makefile.in (dwarf2loc.o): Update dependencies.
1022 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
1023 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
1024 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
1025 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
1026 (locexpr_tracepoint_var_ref): New function.
1027 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
1028
08a617da
AC
10292003-02-28 Andrew Cagney <[email protected]>
1030
1031 * regcache.c (register_size): New function.
1032 * regcache.h (register_size): Declare
1033 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
1034 max_register_size instead of MAX_REGISTER_RAW_SIZE.
1035
4224873a
DC
10362003-02-28 David Carlton <[email protected]>
1037
1038 * linespec.c (decode_compound): Extract code into find_method.
1039 (find_method): New.
1040
ccdc5d7f
JB
10412003-02-28 J. Brobecker <[email protected]>
1042
1043 * Makefile.in: Add rules to build and link in observer.o.
1044
974e8ced
JB
10452003-02-27 J. Brobecker <[email protected]>
1046
1047 * observer.c: Minor comments edits.
1048
7a28f973
JB
10492003-02-27 J. Brobecker <[email protected]>
1050
1051 * observer.h, observer.c: New file.
1052
27cddce2
AC
10532003-02-27 Andrew Cagney <[email protected]>
1054
1055 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
1056
b94a41a1
SC
10572003-02-27 Stephane Carrez <[email protected]>
1058
1059 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
1060 (M6812_OP_STS_EXT): Likewise.
1061 (m6811_prologue): Use the above to recognize prologue.
1062 (m6812_prologue): Likewise.
1063
c8be8951
DC
10642003-02-27 David Carlton <[email protected]>
1065
1066 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
1067 SYMBOL_PRINT_NAME.
1068 (compare_psymbols): Ditto.
1069 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1070
d05bb1fc
MS
10712003-02-27 Michael Snyder <[email protected]>
1072
4e845cd3
MS
1073 * f-lang.c (build_fortran_types): New function.
1074 (_initialize_f_language): Gdbarch-register built-in fortran types.
d05bb1fc
MS
1075 * doublest.c (extract_floating): Fix warning text.
1076
f3824013
AC
10772003-02-27 Andrew Cagney <[email protected]>
1078
1079 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
1080 predicate. Replaces PUSH_DUMMY_FRAME.
1081 * gdbarch.h, gdbarch.c: Regnerate.
1082 * valops.c (hand_function_call): Update. Call
1083 generic_push_dummy_frame directly.
1084 * vax-tdep.c (vax_gdbarch_init): Update.
1085 * sparc-tdep.c (sparc_gdbarch_init): Update.
1086 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1087 * m68k-tdep.c (m68k_gdbarch_init): Update.
1088 * hppa-tdep.c (hppa_gdbarch_init): Update.
1089 * alpha-tdep.c (alpha_gdbarch_init): Update.
1090 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1091 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1092 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
1093 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
1094 push_dummy_frame to generic_push_dummy_frame.
1095 * v850-tdep.c (v850_gdbarch_init): Ditto.
1096 * sh-tdep.c (sh_gdbarch_init): Ditto.
1097 * s390-tdep.c (s390_gdbarch_init): Ditto.
1098 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1099 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1100 * mips-tdep.c (mips_gdbarch_init): Ditto.
1101 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1102 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1103 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1104 * i386-tdep.c (i386_gdbarch_init): Ditto.
1105 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1106 * frv-tdep.c (frv_gdbarch_init): Ditto.
1107 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1108 * cris-tdep.c (cris_gdbarch_init): Ditto.
1109 * avr-tdep.c (avr_gdbarch_init): Ditto.
1110 * arm-tdep.c (arm_gdbarch_init): Ditto.
1111
ad188201
KB
11122003-02-26 Kevin Buettner <[email protected]>
1113
1114 * mips-tdep.c (show_mips_abi): New function.
1115 (_initialize_mips_tdep): Use show_mips_abi() to implement the
1116 command ``show mips abi''.
1117
6b37567a
JJ
11182003-02-26 Jeff Johnston <[email protected]>
1119
1120 From Elena Zannoni <[email protected]>
1121 * dbxread.c (process_one_symbol): Only record line 0 if one or
1122 more sline entries have been seen for the function.
1123
d3e0a5bf
MC
11242003-02-26 Michael Chastain <[email protected]>
1125
1126 * configure: Regenerate with autoconf 000227.
1127
18972eea
MC
11282003-02-26 Michael Chastain <[email protected]>
1129
1130 Close PR build/660.
1131 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
1132 for old libc5/glibc.
1133 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
1134
0bbde931
KW
11352003-02-26 Kris Warkentin <[email protected]>
1136
1137 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
1138 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
1139
27ca5dad
MC
11402003-02-26 Michael Chastain <[email protected]>
1141
1142 * configure.in: New variable HAVE_UINTPTR_T.
1143 * configure, config.in: Regenerated.
1144
6f88d630
DJ
11452003-02-26 Daniel Jacobowitz <[email protected]>
1146
1147 Fix PR build/1097.
1148 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
1149
b14185ce
AC
11502003-02-25 Andrew Cagney <[email protected]>
1151
1152 * frame.c (get_prev_frame): Add comment on check for
1153 inside_entry_func. Only check for inside_entry_file when not a
1154 dummy and not a sentinel. Check that the new frame is not inner
1155 to the old frame.
1156
ac2bd0a9
AC
11572003-02-25 Andrew Cagney <[email protected]>
1158
1159 * frame.c (frame_debug): New variable.
1160 (_initialize_frame): Add "set/show debug frame" command.
1161 (get_prev_frame): When frame_debug, print reason why unwind
1162 failed.
1163
b18a0fd2
MC
11642003-02-25 Michael Chastain <[email protected]>
1165
1166 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
1167 to avoid uintptr_t definition problems.
1168
22abf04a
DC
11692003-02-25 David Carlton <[email protected]>
1170
1171 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
1172 (SYMBOL_LINKAGE_NAME): Ditto.
1173 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
1174 SYMBOL_LINKAGE_NAME.
1175 (struct general_symbol_info): Expand comment.
1176 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
1177 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
1178 (SYMBOL_MATCHES_REGEXP): Ditto.
1179 * symtab.c (symbol_natural_name): New function.
1180 * objfiles.h: Replace all uses of SYMBOL_NAME by
1181 DEPRECATED_SYMBOL_NAME.
1182 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
1183 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
1184 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
1185 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
1186 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
1187 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
1188 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
1189 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
1190 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
1191 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
1192 * ada-exp.y: Ditto.
1193 * ada-exp.y: Update copyright.
1194 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
1195 * cp-valprint.c: Ditto.
1196
1a5848f6
JJ
11972003-02-25 Jeff Johnston <[email protected]>
1198
1199 * infptrace.c (detach): Do not flag error if ptrace detach fails
1200 and errno is set to ESRCH.
1201
7343d46a
AC
12022003-02-24 Andrew Cagney <[email protected]>
1203
1204 * infptrace.c (udot_info): Change type of udot_off to long. Use
1205 paddr when printing udot_off's value.
1206
49fa1dc2
DC
12072003-02-24 David Carlton <[email protected]>
1208
1209 * symtab.c (make_symbol_overload_list): Only read in partial
1210 symtabs containing a matching partial symbol.
1211
0fe19209
DC
12122003-02-24 David Carlton <[email protected]>
1213
1214 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
1215 do the comparison, not strcmp.
1216 * symfile.c (compare_psymbols): Ditto.
1217 * defs.h: Declare strcmp_iw_ordered.
1218 * utils.c (strcmp_iw_ordered): New function.
1219
8e3ee7b5
JB
12202003-02-24 Jim Blandy <[email protected]>
1221
1222 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
1223 support, shared libs): Remove my name from here, to better reflect
1224 reality.
1225
7df1a324
KW
12262003-02-24 Kris Warkentin <[email protected]>
1227
1228 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
1229 (target_ops): Add to_have_continuable_watchpoint.
1230 * target.c (update_current_target): Add INHERIT line for
1231 to_have_continuable_watchpoint.
1232 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
1233 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
1234 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
1235 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
1236
d1c76907
EZ
12372003-02-24 Elena Zannoni <[email protected]>
1238
1239 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
1240 maintainership.
1241
2610b0bf
KW
12422003-02-24 Kris Warkentin <[email protected]>
1243
f46169db
KW
1244 * solib.c (solib_open): Call target defined search function after
1245 failing with solib-search-path.
1246 * solist.h (target_so_ops): Add find_and_open_solib function hook and
1247 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
2610b0bf 1248
9a3c34fe
KW
12492003-02-24 Kris Warkentin <[email protected]>
1250
f46169db 1251 * MAINTAINERS: Add myself to Write After section.
9a3c34fe 1252
2417dd25
SC
12532003-02-23 Stephane Carrez <[email protected]>
1254
1255 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
1256
b631436b
SC
12572003-02-22 Stephane Carrez <[email protected]>
1258
1259 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
1260 (m68hc11_add_reggroups): New function.
1261 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
1262 (m68hc11_gdbarch_init): Install the reggroups.
1263 (_initialize_m68hc11_tdep): Initialize them.
1264
0aa8c1e4
JW
12652003-02-21 James E Wilson <[email protected]>
1266
1267 * MAINTAINERS: Update my email address.
1268
50ceaba5
DC
12692003-02-21 David Carlton <[email protected]>
1270
1271 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
1272
4c2df51b
DJ
12732003-02-21 Daniel Jacobowitz <[email protected]>
1274
1275 Based on a patch from Daniel Berlin ([email protected]).
1276 * symtab.h: Add opaque declarations of struct axs_value and
1277 struct agent_expr.
1278 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
1279 (struct location_funcs): New type.
1280 (struct symbol): Add "loc" to aux_value.
1281 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
1282 * dwarf2read.c: Include "dwarf2expr.h".
1283 (dwarf2_symbol_mark_computed): New function.
1284 (read_func_scope): Use it.
1285 (var_decode_location): New function.
1286 (new_symbol): Use it.
1287 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
1288
1289 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
1290 (dwarf2expr_h, dwarf2loc_h): New variables.
1291 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
1292 (dwarf2expr.o, dwarf2loc.o): New rules.
1293 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
1294 * buildsym.c (finish_block): Handle LOC_COMPUTED and
1295 LOC_COMPUTED_ARG.
1296 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
1297 * m2-exp.y (yylex): Likewise.
1298 * printcmd.c (address_info, print_frame_args): Likewise.
1299 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
1300 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
1301 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
1302 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
1303 * symtab.c (lookup_block_symbol): Likewise.
1304
5784d15e
AF
13052003-02-20 Adam Fedor <[email protected]>
1306
1307 * symtab.h: Remove objc_specific struct
1308 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
1309 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
1310 Have language_objc use cplus_specific struct.
1311
d4cad8db
TT
13122003-02-20 Tom Tromey <[email protected]>
1313
1314 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
1315 TYPE_NAME, when printing a String value. PR java/1075.
1316
2f9a90b4
AF
13172003-02-20 Adam Fedor <[email protected]>
1318
d38074a8 1319 * objc-lang.h (find_methods): Remove declaration.
2f9a90b4
AF
1320 * objc-lang.c (find_methods): Make static.
1321
6f17862b
CF
13222003-02-20 Christopher Faylor <[email protected]>
1323
1324 * win32-nat.c (get_image_name): Check return value from
1325 ReadProcessMemory.
1326 (child_xfer_memory): Ditto.
1327
715d1656
AO
13282003-02-20 Alexandre Oliva <[email protected]>
1329
1330 * configure.in (TARGET_SYSTEM_ROOT): Set default to
1331 ${exec_prefix}/${target_alias}/sys-root. Match explicit
1332 '${exec_prefix}' (in addition to the expansion thereof) as
1333 relocatable.
1334 * configure: Rebuilt.
1335
b1262a02
DC
13362003-02-20 David Carlton <[email protected]>
1337
1338 * symtab.c (search_symbols): Revert the search_symbols part of my
1339 2002-12-23 patch. Add comment.
1340
7134143f
DJ
13412002-02-20 Daniel Jacobowitz <[email protected]>
1342
1343 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
1344 * dbxread.c (elfstab_build_psymtabs): Don't call
1345 install_minimal_symbols.
1346 (stabsect_build_psymtabs): Likewise.
1347 * elfread.c (elf_symfile_read): Call install_minimal_symbols
1348 earlier.
1349 * somread.c (som_symfile_read): Call install_minimal_symbols
1350 and do_cleanups earlier.
1351 * nlmread.c (nlm_symfile_read): Likewise.
1352 * mdebugread.c (elfmdebug_build_psymtabs): Call
1353 install_minimal_symbols and make appropriate cleanups.
1354
cf466558
KB
13552003-02-20 Kevin Buettner <[email protected]>
1356
1357 * solib.c (reload_shared_libraries): New function.
1358 (_initialize_solib): Add callbacks for ``set solib-search-path''
1359 and ``set solib-absolute-prefix''.
1360
de5ad195
DC
13612003-02-20 David Carlton <[email protected]>
1362
1363 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
1364 expand comment.
1365 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
1366 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
1367 * ada-typeprint.c (ada_typedef_print): Ditto.
1368 * ax-gdb.c (gen_var_ref): Ditto.
1369 * breakpoint.c (print_one_breakpoint): Ditto.
1370 * buildsym.c (finish_block): Ditto.
1371 * c-valprint.c (c_val_print): Ditto.
1372 * expprint.c (print_subexp): Ditto.
1373 * findvar.c (locate_var_value): Ditto.
1374 * infcmd.c (jump_command): Ditto.
1375 * linespec.c (decode_line_2, decode_compound): Ditto.
1376 * maint.c (maintenance_translate_address): Ditto.
1377 * objc-lang.c (compare_selectors, compare_classes): Ditto.
1378 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
1379 Ditto.
1380 * p-valprint.c (pascal_val_print): Ditto.
1381 * stabsread.c (define_symbol): Ditto.
1382 * stack.c (print_frame, frame_info, print_block_frame_locals)
1383 (print_frame_arg_vars, return_command): Ditto.
1384 * symfile.c (compare_symbols, compare_psymbols): Ditto.
1385 * symmisc.c (print_symbol): Ditto.
1386 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
1387 (compare_search_syms, print_symbol_info, print_msymbol_info)
1388 (rbreak_command): Ditto.
1389 * tracepoint.c (tracepoints_info): Ditto.
1390 * typeprint.c (typedef_print): Ditto.
1391 * valops.c (value_of_variable, hand_function_call): Ditto.
1392 * cli/cli-cmds.c (edit_command, list_command): Ditto.
1393 * ada-typeprint.c: Update Copyright.
1394 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
1395 * tracepoint.c, cli/cli-cmds.c: Ditto.
1396
f796e4be
KB
13972003-02-20 Kevin Buettner <[email protected]>
1398
1399 * frame.c (generic_unwind_get_saved_register): Make non-static.
1400 * frame.h (generic_unwind_get_saved_register): Declare.
1401 * mips-tdep.c (read_next_frame_reg): Fetch register from
1402 current regcache when frame is NULL.
1403 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
1404 that must be NULL.
1405 (mips_get_saved_register): Call generic_unwind_get_saved_register()
1406 instead of frame_register_unwind().
1407
836cc9f4
AC
14082003-02-20 Andrew Cagney <[email protected]>
1409
1410 * remote-sim.c (gdbsim_insert_breakpoint)
1411 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
1412 code.
1413
501eef12
AC
14142003-02-20 Andrew Cagney <[email protected]>
1415
1416 * remote.c (_initialize_remote): Add commands "set/show remote
1417 hardware-watchpoint-limit" and "set/show remote
1418 hardware-breakpoint-limit".
1419 (remote_hw_watchpoint_limit): Initialize to -1.
1420 (remote_hw_breakpoint_limit): Ditto.
1421 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
1422
1b6bc7e0
CF
14232003-02-19 Raoul Gough <[email protected]>
1424
1425 * coff-pe-read.c: New file - support reading of minimal symbols from a
1426 portable executable using the export table.
1427 * coff-pe-read.h: New file.
1428 * coffread.c: Include coff-pe-read.h.
1429 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
1430 debugging symbols found.
1431 * Makefile.in (SFILES): Add coff-pe-read.o.
1432 (coff_pe_read_h): Define.
1433 (COMMON_OBS): Add coff-pe-read.o.
1434 (coffread.o): Add coff_pe_read_h dependency.
1435 (coff-pe-read.o): New target.
1436
fe898f56
DC
14372003-02-19 David Carlton <[email protected]>
1438
1439 * Makefile.in (SFILES): Add block.c.
1440 (block_h): New.
1441 (COMMON_OBS): Add block.o.
1442 (block.o): New.
1443 (x86-64-tdep.o): Add $(block_h).
1444 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
1445 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
1446 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
1447 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
1448 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
1449 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
1450 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
1451 * value.h: Add opaque declaration for struct block.
1452 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
1453 * ada-lang.h: Ditto.
1454 * x86-64-tdep.c: #include "block.h"
1455 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
1456 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
1457 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
1458 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
1459 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
1460 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
1461 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
1462 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
1463 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
1464 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
1465 * symtab.c (block_function): Ditto.
1466 (contained_in): Ditto.
1467 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
1468 block.h. Add opaque declaration for struct block.
1469 * symtab.h: Move block_function and contained_in declarations to
1470 block.h. Add opaque declarations for struct block, struct
1471 blockvector.
1472 (struct block): Move to block.h.
1473 (struct blockvector): Ditto.
1474 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
1475 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
1476 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
1477 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
1478 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
1479 Ditto.
1480 * block.c: New file.
1481 * block.h: New file.
1482
173345b5
TR
14832003-02-19 Theodore A. Roth <[email protected]>
1484
1485 * avr-tdep.c (avr_extract_return_value): Remove function.
1486 (avr_store_return_value): Remove function.
1487 (avr_extract_struct_value_address): Remove function.
1488 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
1489
338ef23d
AC
14902003-02-19 Andrew Cagney <[email protected]>
1491
1492 * rs6000-tdep.c: Include "gdb_assert.h".
1493 (registers_e500): Add "acc" and "spefscr".
1494 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
1495 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
1496 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
1497 really is "r0".
1498 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
1499
5412f5f3
KS
15002003-02-18 Keith Seitz <[email protected]>
1501
1502 * Makefile.in: Add gdbtk-interps.c.
1503
881324eb
KB
15042003-02-18 Kevin Buettner <[email protected]>
1505
1506 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
1507 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
1508
6a2f5abf
AC
15092003-02-18 Andrew Cagney <[email protected]>
1510
1511 * symtab.h (struct objfile): Add opaque declaration.
1512
54c7009d
EZ
15132003-02-18 Elena Zannoni <[email protected]>
1514
1515 From Jim Ingham <[email protected]>:
1516 * dbxread.c (process_one_symbol): Use last_function_start rather
1517 than function_start_offset to find the real beginning of the
1518 current function. The latter is just the text section offset on
1519 some systems, the former is always the real function start.
1520
7ee6d7eb
AC
15212003-02-17 Andrew Cagney <[email protected]>
1522
1523 * configure.in: Revert ${target} != ${host}.
1524
2846da9b
AC
15252003-02-17 Andrew Cagney <[email protected]>
1526
1527 * configure.in (Makefile): Use the test ${target} != ${host},
1528 instead of the absence of the "nm.h" file, to determine of the
1529 configuration non-native.
1530 * configure: Regenerate.
1531
3b27aeea
EZ
15322003-02-14 Elena Zannoni <[email protected]>
1533
1534 From Brian Ford <[email protected]>
1535
1536 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
1537 conditionalize tui_active test.
1538 (lookup_cmd_1): Ditto.
1539
b0b1c2c0
MK
15402003-02-14 Mark Kettenis <[email protected]>
1541
1542 * configure.in: Add check for _etext.
1543 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
1544 available.
1545 * config.in, configure: regenerated.
1546
8f05cde5
DJ
15472003-02-14 Daniel Jacobowitz <[email protected]>
1548
1549 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
1550
021e7609
AC
15512003-02-14 Andrew Cagney <[email protected]>
1552
1553 * main.c (tui_version): Delete variable.
1554 (captured_main): When --tui, set interpreter_p to "tui" instead of
1555 enabling tui_version.
1556 * printcmd.c (display_command) [TUI]: Test tui_active instead of
1557 tui_version.
1558 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
1559 * cli/cli-cmds.c (disassemble_command): Ditto.
1560 * defs.h (tui_version): Delete declaration.
1561 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
1562 (tui-interp.o): Add rules.
1563 (SUBDIR_TUI_OBS): Add "tui-interp.o".
1564
e325dcec
CF
15652003-02-14 Christopher Faylor <[email protected]>
1566
36ffb041 1567 * win32-nat.c (register_loaded_dll): Correctly set address range for
e325dcec
CF
1568 just-loaded dll.
1569
c4f90d87
JM
15702003-02-12 Jason Molenda ([email protected])
1571
1572 * symmisc.c (print_objfile_statistics): Include information about
1573 the number of psymtabs and symtabs in each object file.
1574
e46e5ccd
KS
15752003-02-13 Keith R Seitz <[email protected]>
1576
1577 * main.h (struct captured_main_args): Add interpreter_p.
1578 * main.c (captured_main): Initialize interpreter_p from context.
1579 * gdb.c (main): Set interpreter_p argument.
1580 * Makefile.in (gdb.o): Add dependency for interps.h.
1581
fe97fe9c
AC
15822003-02-12 Andrew Cagney <[email protected]>
1583
1584 * event-top.c (cli_command_loop): Delete declaration.
1585 (_initialize_event_loop): Delete function setting event_loop_hook.
1586 * event-top.h (cli_command_loop): Declare. Update copyright.
1587 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
1588 * interps.c (current_interp_command_loop): When event_loop_p, call
1589 cli_command_loop.
1590
1cdac4ef
AC
15912003-02-12 Andrew Cagney <[email protected]>
1592
1593 * interps.h (interp_command_loop_ftype): Change return type to
1594 void.
1595
48037ead
ML
15962003-02-12 Michal Ludvig <[email protected]>
1597
1598 * x86-64-tdep.c (x86_64_extract_return_value)
1599 (x86_64_store_return_value): Use regcache instead of regbuf.
1600 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
1601 * x86-64-linux-nat.c (fill_gregset): Use regcache.
1602
033afc63
AC
16032003-02-11 Andrew Cagney <[email protected]>
1604
1605 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
1606 * aclocal.m4: Regenerate.
1607 * configure: Regenerate.
1608
1609 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
1610 TCL_LD_SEARCH_FLAGS.
1611
40d02bca
ML
16122003-02-10 Michal Ludvig <[email protected]>
1613
1614 * dwarf2cfi.c: Reindented.
1615
11308a41
AC
16162003-02-09 Andrew Cagney <[email protected]>
1617
1618 * interps.c (clear_interpreter_hooks): Convert function definition
1619 to ISO C.
1620
e1c1c0f6
DC
16212003-02-07 David Carlton <[email protected]>
1622
1623 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
1624
ab5d3da6
KB
16252003-02-07 Kevin Buettner <[email protected]>
1626
1627 * gdbtypes.h (struct main_type): Move ``length'' field from here...
1628 (struct type): ...to here.
1629 (TYPE_LENGTH): Adjust to reflect different location of ``length''
1630 field.
1631 * gdbtypes.c (make_qualified_type): Set length on newly created type.
1632 (replace_type): Set length on all type variants for a given type.
1633
b8a92b82
AC
16342003-02-07 Andrew Cagney <[email protected]>
1635
1636 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
1637 <sys/stat.h>.
1638 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
1639
5cb316ef
AC
16402003-02-06 Andrew Cagney <[email protected]>
1641
2555fe1a
AC
1642 * Makefile.in (symm-nat.o): Update dependencies.
1643 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
1644 (lynx-nat.o, ia64-linux-nat.): Ditto.
1645 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
1646 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
1647 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
1648
44270758
AC
1649 * Makefile.in (inflow_h): Define.
1650 (procfs.o, inflow.o, procfs.o): Update dependencies.
1651 * inftarg.c (child_stop): Delete extern declaration of
1652 inferior_process_group. Include "inflow.h".
1653 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
1654 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
1655 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
1656 (our_process_group, inferior_process_group): Extern declarations.
1657
df8f7274
AC
1658 * procfs.c: Include "gdb_assert.h".
1659
5cb316ef
AC
1660 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
1661 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
1662 * jv-typeprint.c (java_type_print_base): Ditto.
1663 * typeprint.c (typedef_print): Eliminate STREQ.
1664 * cli/cli-script.c (define_command, define_command): Ditto.
1665 * main.c (captured_main): Ditto.
1666 * values.c (lookup_internalvar): Ditto.
1667 * utils.c (safe_strerror, parse_escape): Eliminate assignment
1668 within `if' conditional.
1669 * linespec.c (decode_line_2): Ditto.
1670 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
1671 (bfd_openw_with_cleanup): Ditto.
1672
2a28ccea
MK
16732003-02-07 Mark Kettenis <[email protected]>
1674
1675 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
1676 legacy_extract_return_value and store_return_value to
1677 legacy_return_value.
1678
786b8124
CF
16792003-02-06 Raoul Gough <[email protected]>
1680
1681 * win32-nat.c (get_relocated_section_addrs): New function. Find
1682 section load addresses for symbol handling in relocated DLLs.
1683 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
1684
b871e4ec
FF
16852003-02-05 Fred Fish <[email protected]>
1686
1687 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
1688 '=' and '!='.
1689 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
1690 with '&' and '=='.
1691 (angel_RDI_info): Ditto.
1692 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
1693 with '&' and '!='.
1694 (threads_continue_all_with_signals): Ditto.
1695
4389a95a
AC
16962003-02-05 Jim Ingham <[email protected]>
1697 Keith Seitz <[email protected]>
1698 Elena Zannoni <[email protected]>
1699 Andrew Cagney <[email protected]>
1700
1701 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
1702 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
1703 (SUBDIR_MI_OBS): Add "mi-interp.o".
1704 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
1705 (SFILES): Add "interps.c".
1706 (COMMON_OBS): Add "interps.o".
1707 (interps_h, mi_main_h): Define.
1708 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
1709 (mi-main.o, main.o, event-top.o): Update dependencies.
1710 * cli/cli-interp.c: New file.
1711 * interps.h, interps.c: New files.
1712 * top.c: (gdb_init): Don't install the default interpreter, handed
1713 by captured_main.
1714 * main.c: Include "interps.h".
1715 (interpreter_p): Note that it should malloc'ed.
1716 (captured_command_loop): Call current_interp_command_loop.
1717 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
1718 xfree and xstrdup when updating interpreter_p. Install the
1719 default interpreter. Add hack to stop mi1's copyright notice
1720 being encoded.
1721 * event-top.h (gdb_setup_readline): Declare.
1722 (gdb_disable_readline): Declare.
1723 * event-top.c: Include "interps.h".
1724 (display_gdb_prompt): Call current_interp_display_prompt_p.
1725 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
1726 gdb_stdlog, and gdb_stdtarg.
1727 (_initialize_event_loop): Don't call gdb_setup_readline.
1728 * cli-out.c (cli_out_set_stream): New function.
1729 * cli-out.h (cli_out_set_stream): Declare.
1730
ff3b5810
MK
17312003-02-06 Mark Kettenis <[email protected]>
1732
1733 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
1734 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
1735 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
1736 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
1737 config/i386/i386v42mp.mt: Removed.
1738
5b729aa5
MK
17392003-02-05 Mark Kettenis <[email protected]>
1740
1741 * configure.tgt (*-*-solaris*): Set gdb_osabi to
1742 GDB_OSABI_SOLARIS.
1743
8cc15142
MC
17442003-02-05 Michael Chastain <[email protected]>
1745
1746 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
1747 2.12.1 and earlier versions.
1748
5aa5d4b9
AC
17492003-02-05 Andrew Cagney <[email protected]>
1750
1751 Remove orphaned hosts, targets and files.
1752 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
1753 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
1754 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
1755 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
1756 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
1757 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
1758 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
1759 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
1760 * config/sparc/tm-sp64sim.h: Delete.
1761 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
1762 hosts.
1763 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
1764 mips*-dec-mach3* targets.
1765
b68767c1
MC
17662003-02-04 Michael Chastain <[email protected]>
1767
1768 * NEWS: Fix typo: sepcifying -> specifying.
1769
5ae7ca1d
MC
17702003-02-04 Michael Chastain <[email protected]>
1771
1772 * dwarfread.c: Add documentation on the state of dwarf-1,
1773 looking towards obsoletion.
1774
d08a4280
MC
17752003-02-03 Michael Chastain <[email protected]>
1776
1777 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
1778 gdb/testsuite/gdb.c++/pr-1023.exp.
1779
e9be73e4
AC
17802003-02-04 Andrew Cagney <[email protected]>
1781
1782 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
1783 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
1784
1785 * utils.c (init_page_info): Delete reference to MPW in comments.
1786 * main.c (captured_main): Delete #ifdef MPW.
1787
05d57f6f
AC
17882003-02-04 Andrew Cagney <[email protected]>
1789
1790 * NEWS: Note that the m32r-*-elf* is obsolete.
1791 * monitor.c (monitor_expect): Obsolete reference to m32r.
1792 * configure.tgt: Mark m32r-*-elf* as obsolete.
1793 * MAINTAINERS: Mark m32k as obsolete.
1794 * m32r-rom.c: Obsolete file.
1795 * config/m32r/m32r.mt: Obsolete file.
1796 * config/m32r/tm-m32r.h: Obsolete file.
1797 * m32r-stub.c: Obsolete file.
1798 * m32r-tdep.c: Obsolete file.
1799
8b0e5691
AC
18002003-02-04 Andrew Cagney <[email protected]>
1801
1802 * NEWS: Mention that the z8k-zilog-none is obsolete.
1803 * MAINTAINERS: Mark z8k as obsolete.
1804 * configure.tgt: Obsolete the z8k-*-coff* target.
1805 * config/z8k/z8k.mt: Obsolete file.
1806 * config/z8k/tm-z8k.h: Obsolete file.
1807 * z8k-tdep.c: Obsolete file.
1808
67f16606
AC
18092003-02-04 Andrew Cagney <[email protected]>
1810
1811 * NEWS: Mention that the mn10200-elf is obsolete.
1812 * configure.tgt: Obsolete mn10200-*-* target.
1813 * breakpoint.c (update_breakpoints_after_exec): Update comment to
1814 mention that the mn10200 is obsolete.
1815 * breakpoint.h: Ditto.
1816 * MAINTAINERS: Mark the mn10200-elf as obsolete.
1817 * config/mn10200/mn10200.mt: Obsolete file.
1818 * config/mn10200/tm-mn10200.h: Obsolete file.
1819 * mn10200-tdep.c: Obsolete file.
1820
fd2299bd
AC
18212003-02-04 Andrew Cagney <[email protected]>
1822
1823 * MAINTAINERS: Mark h8500 as obsolete.
1824 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
1825 * findvar.c (value_from_register): Ditto.
1826 * h8500-tdep.c: Mark file as obsolete.
1827 * config/h8500/h8500.mt: Ditto.
1828 * config/h8500/tm-h8500.h: Ditto.
1829 * NEWS: Mention that h8500 is obsolete.
1830
eb9a305d
DC
18312003-02-04 David Carlton <[email protected]>
1832
1833 * objfiles.c (allocate_objfile): Always set name. Add comment at
1834 start of function.
1835 * jv-lang.c (get_dynamics_objfile): Add comment.
1836
406fc7fb
DC
18372003-02-04 David Carlton <[email protected]>
1838
1839 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
1840 * printcmd.c (build_address_symbolic): Replace uses of
1841 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
1842 SYMBOL_NAME, and asm_demangle.
1843 Update copyright.
1844
93d91629
DC
18452003-02-04 David Carlton <[email protected]>
1846
1847 * linespec.c (decode_compound): Extract code into
1848 lookup_prefix_sym.
1849 (lookup_prefix_sym): New function.
1850
1c5cb38e
DC
18512003-02-04 David Carlton <[email protected]>
1852
1853 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
1854 FLOAT_COERCION_BADNESS.
1855 * gdbtypes.c (rank_one_type): Replace all uses of
1856 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
1857
0cf824c9
JB
18582003-02-04 Jim Blandy <[email protected]>
1859
1860 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
1861 section, let dwarf_macinfo_section point to it, not
1862 dwarf_loc_section.
1863
a2d356b0
DJ
18642003-02-04 Daniel Jacobowitz <[email protected]>
1865
1866 Pointed out by Anton Blanchard <[email protected]>.
1867 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
1868 (ppc_linux_at_sigtramp_return_path): Use it.
1869
2de7ced7
DJ
18702003-02-04 Daniel Jacobowitz <[email protected]>
1871
1872 * defs.h (streq): Add prototype.
1873 * utils.c (streq): New function.
1874
1875 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
1876 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
1877 * mdebugread.c (new_symbol): Likewise.
1878 * stabsread.c (define_symbol): Likewise.
1879 * coffread.c (process_coff_symbol): Likewise.
1880 * dwarfread.c (new_symbol): Likewise.
1881
1882 * minsyms.c (prim_record_minimal_symbol_and_info): Use
1883 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
1884 here.
1885 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
1886 SYMBOL_INIT_DEMANGLED_NAME.
1887 * objfiles.c: Include "hashtab.h".
1888 (allocate_objfile): Call htab_set_functions_ex for the
1889 demangled_names_hash.
1890 (free_objfile): Call htab_delete for the demangled_names_hash.
1891 * objfiles.h (struct htab): Add declaration.
1892 (struct objfile): Add demangled_names_hash.
1893 * symfile.c: Include "hashtab.h".
1894 (reread_symbols): Call htab_delete for the demangled_names_hash.
1895 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
1896 SYMBOL_NAME in the bcache.
1897 * symtab.c: Include "hashtab.h". Update comments.
1898 (create_demangled_names_hash, symbol_set_names): New functions.
1899 (symbol_find_demangled_name): New function, broken out from
1900 symbol_init_demangled_names.
1901 (symbol_init_demangled_names): Use it.
1902 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
1903 (SYMBOL_SET_NAMES): New macro.
1904 (symbol_set_names): Add prototype.
1905
15831452
JB
19062003-02-03 Jim Blandy <[email protected]>
1907
1908 Use a single, consistent representation for an empty minimal
1909 symbol table in an objfile.
1910 * objfiles.c (terminate_minimal_symbol_table): New function.
1911 (allocate_objfile): Call it.
1912 * objfiles.h (terminate_minimal_symbol_table): New declaration.
1913 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
1914 non-NULL.
1915 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
1916 objfile has minimal symbols, compare minimal_symbol_count to zero,
1917 instead of comparing msymbols with NULL.
1918 * objfiles.c (have_minimal_symbols): Same.
1919 * solib-sunos.c (solib_add_common_symbols): Call
1920 terminate_minimal_symbol_table.
1921 * symfile.c (reread_symbols): Same.
1922
ffc65945
KB
19232003-02-03 Kevin Buettner <[email protected]>
1924
1925 * s390-tdep.c (s390_address_class_type_flags)
1926 (s390_address_class_type_flags_to_name)
1927 (s390_address_class_name_to_type_flags): New functions.
1928 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
1929 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
1930
f211c6d4
MS
19312003-02-03 Michael Snyder <[email protected]>
1932
1933 * arm-tdep.c: Fix spell-o in comment.
1934
659b0389
ML
19352003-02-03 Michal Ludvig <[email protected]>
1936
1937 * dwarf2cfi.c (pointer_encoding): Added new parameter.
1938 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
1939 error messages to contain BFD filename.
1940
3b31d625
EZ
19412003-02-02 Elena Zannoni <[email protected]>
1942
997b089a 1943 Fix PR gdb/742 gdb/743 gdb/877
3b31d625
EZ
1944 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
1945 (do_mixed_source_and_assembly): Use
1946 make_cleanup_ui_out_tuple_begin_end and
1947 make_cleanup_ui_out_tuple_begin_end.
1948 (do_mixed_source_and_assembly): Ditto.
1949 * thread.c (do_captured_list_thread_ids): Ditto.
1950 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
1951 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
1952 ui_out_tuple_end): Delete prototypes.
1953 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
1954 ui_out_list_end, ui_out_tuple_end): Delete.
1955
1956 From Kevin Buettner <[email protected]>:
1957 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
1958 * ui-out.c (make_cleanup_ui_out_table_begin_end)
1959 (do_cleanup_table_end): New functions.
1960 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
1961 Use cleanups to invoke_ui_out_tuple_end().
1962 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
1963 * cli/cli-setshow.c (cmd_show_list): Use
1964 make_cleanup_ui_out_tuple_begin_end.
1965
5b181d62
AC
19662003-02-02 Andrew Cagney <[email protected]>
1967
1968 * frame.c (frame_unwind_register): New function.
1969 (frame_unwind_unsigned_register): Use.
1970 (frame_unwind_signed_register): Use.
1971 (frame_read_register): New function.
1972 * frame.h (frame_unwind_register): Declare.
1973 (frame_read_register): Declare.
1974
1975 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
1976 and frame_unwind_register instead of read_memory, write_register
1977 and deprecated_write_register_bytes.
1978
5f601589
AC
19792003-02-02 Andrew Cagney <[email protected]>
1980
1981 * frame.h: Note that namelen can be negative.
1982 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
1983 NAME's length.
1984
1985 * NEWS: Mention that the d10v's `regs' command is deprecated.
1986 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
1987 (d10v_print_registers_info): New function.
1988 (show_regs): Call d10v_print_registers_info.
1989 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
1990
6a3fe0a4
MK
19912003-02-02 Mark Kettenis <[email protected]>
1992
1993 * stack.c (print_frame_info): Restore call to annotate_frame_begin
1994 lost in the previous patch.
1995
075559bc
AC
19962003-02-01 Andrew Cagney <[email protected]>
1997
1998 From 2002-11-09 Jason Molenda ([email protected])
1999 * stack.c (print_frame_info_base): Output complete FRAME tuple
2000 for synthesized frames.
2001
6789195b
AC
20022003-02-02 Andrew Cagney <[email protected]>
2003
2004 * mips-nat.c (zerobuf): Delete.
2005 (fetch_inferior_registers): Alloc local zerobuf.
2006 (fetch_core_registers): Alloc local zerobuf.
2007 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
2008 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
2009 * thread-db.c (thread_db_store_registers): Ditto.
2010 * sh-tdep.c (sh_do_register): Ditto.
2011 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
2012 * remote-sim.c (gdbsim_store_register): Ditto.
2013 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
2014 * remote-e7000.c (fetch_regs_from_dump): Ditto.
2015 * monitor.c (monitor_supply_register): Ditto.
2016 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
2017 * mips-nat.c (fetch_inferior_registers): Ditto.
2018 * m68klinux-nat.c (fetch_register): Ditto.
2019 * lynx-nat.c (fetch_inferior_registers): Ditto.
2020 (fetch_inferior_registers): Ditto.
2021 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
2022 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
2023 (hpux_thread_store_registers): Ditto.
2024 * hppah-nat.c (fetch_register): Ditto.
2025 * hppab-nat.c (fetch_register): Ditto.
2026 * hppa-tdep.c (pa_register_look_aside): Ditto.
2027 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
2028 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
2029
e669114a
AC
20302003-02-01 Andrew Cagney <[email protected]>
2031
2032 * gdbarch.sh: Explictly specify all method levels. When a
2033 variable with an empty level, provide a non-multi-arch default.
2034 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
2035 * gdbarch.h: Re-generate.
2036 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
2037 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
2038
9a043c1d
AC
20392003-02-01 Andrew Cagney <[email protected]>
2040
2041 * defs.h (host_pointer_to_address): Delete declaration.
2042 (address_to_host_pointer): Delete declaration.
2043 * utils.c (host_pointer_to_address): Delete function.
2044 (address_to_host_pointer): Delete function.
2045 * procfs.c (procfs_address_to_host_pointer): New function.
2046 * procfs.c (proc_set_watchpoint): Use.
2047 (procfs_can_use_hw_breakpoint): Update comments.
2048 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
2049 (som_solib_add): Use.
2050 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
2051 * hppa-tdep.c (unwind_command): Use.
2052
7ca9f392
AC
20532003-02-01 Andrew Cagney <[email protected]>
2054
94bbfd30
AC
2055 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
2056 strlen d_name.
2057
7ca9f392
AC
2058 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
2059 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
2060 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
2061 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
2062 (define_symbol): Update.
2063 * symfile.c (generic_load): Remove references to nindy.
2064 * symtab.c: Remove references to nindy.
2065
31a85ea2
AC
20662003-02-01 Andrew Cagney <[email protected]>
2067
2068 * infcmd.c (print_float_info): Delete code conditional on
2069 FLOAT_INFO.
2070 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
2071 * config/m68k/nm-apollo68b.h: Ditto.
2072 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
2073 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
2074 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
2075
f6e85fc8
MK
20762003-02-01 Mark Kettenis <[email protected]>
2077
6015b6a0
MK
2078 * config/i386/tm-i386os9k.h: Removed.
2079
f7a30bdf
MK
2080 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
2081 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
2082 they're identical to i[3456]86-*-sysv* now.
2083 * config/i386/i386v32.mh: Removed.
2084 * config/i386/xm-i386v32.h: Removed.
2085 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
2086
28d52111
MK
2087 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
2088
4d3f6bce
MK
2089 * config/i386/i386dgux.mh: Removed.
2090 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
2091
f6e85fc8
MK
2092 * configure.in: Fix typo.
2093 * configure: Regenerated.
2094
53955967
DC
20952003-01-31 David Carlton <[email protected]>
2096
2097 * dwarf2read.c (dwarf2_locate_sections): Set
2098 dwarf_ranges_section.
2099
b1364885
AC
21002003-01-31 Andrew Cagney <[email protected]>
2101
8dbb1c65
AC
2102 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
2103 * utils.c: Update comments documenting legitimate uses of PTR.
2104
8731e58e
AC
2105 * utils.c: Re-indent.
2106
b1364885
AC
2107 * config/djgpp/fnchange.lst: Delete nindy files.
2108 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
2109 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
2110 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
2111 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
2112 * nindy-share/README, nindy-share/Onindy.c: Delete files.
2113 * nindy-tdep.c, nindy-share/Makefile: Delete files.
2114 * Makefile.in (init.c): Remove nindy references.
2115 (saber_gdb): Delete rule.
2116 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
2117 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
2118 and a68v-nat.c.
2119 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
2120 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
2121 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
2122 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
2123 nindy-share/stop.h.
2124 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
2125 * saber.suppress: Delete file.
2126
086df311
DJ
21272003-01-31 Daniel Jacobowitz <[email protected]>
2128
2129 * dbxread.c (stabs_data): New static variable.
2130 (fill_symbuf): Support an in-memory buffer for stabs data.
2131 (stabs_seek): New function.
2132 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
2133 (read_ofile_symtab): Use stabs_seek.
2134 (elfstab_build_psymtabs): Take an asection* instead of
2135 an offset and size. Relocate the stabs data if necessary.
2136 Save the section* for dbx_psymtab_to_symtab.
2137 * dwarf2read.c: Add section variables for each debug section.
2138 (dwarf2_locate_sections): Fill them in.
2139 (dwarf2_read_section): Take an asection* argument.
2140 Relocate the section contents if necessary.
2141 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
2142 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
2143 it to dwarf2_read_section.
2144 (dwarf2_build_frame_info): Update callers.
2145 * elfread.c (elf_symfile_read): Update call to
2146 elfstab_build_psymtabs.
2147 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
2148 (DBX_STAB_SECTION): New macro.
2149 * stabsread.h (elfstab_build_psymtabs): Update prototype.
2150 * symfile.c (symfile_dummy_outputs): New function.
2151 (symfile_relocate_debug_section): New function.
2152 * symfile.h (symfile_relocate_debug_section): Add prototype.
2153
87d1b352
RH
21542003-01-31 Richard Henderson <[email protected]>
2155
2156 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
2157 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
2158 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
2159 * alpha-tdep.c (alpha_register_name): Add "unique".
2160 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
2161 (ALPHA_UNIQUE_REGNUM): New.
2162 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
2163
c48861fb
AC
21642003-01-31 Andrew Cagney <[email protected]>
2165
2166 * README: Remove reference to Ericsson 1800 monitor.
2167 * Makefile.in (remote-es.o): Delete rule.
2168 (ALLDEPFILES): Delete remote-es.c.
2169 * remote-es.c: Delete file.
2170 * config/m68k/es1800.mt: Delete file.
2171 * config/djgpp/fnchange.lst: Update.
2172 * configure.tgt: Delete m68*-ericsson-* target.
2173
d764a824
AF
21742003-01-31 Adam Fedor <[email protected]>
2175
2176 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
2177 Remove duplicate/shadowing variable of same name.
2178
fe36c4f4
JB
21792003-01-30 Jim Blandy <[email protected]>
2180
2181 * symfile.c (find_separate_debug_file): Assert that the objfile's
2182 directory name we compute ends with a slash, and then assume that
2183 that's so everywhere we use it.
2184
cb741690
DJ
21852003-01-30 Daniel Jacobowitz <[email protected]>
2186
2187 * valops.c (value_assign): Flush frame cache after stores to memory
2188 also.
2189
96ee5227
AC
21902003-01-30 Andrew Cagney <[email protected]>
2191
2192 * Makefile.in (mon960-rom.o): Delete rule.
2193 * mon960-rom.c: Delete file.
2194
7f6104a9
AC
21952003-01-30 Andrew Cagney <[email protected]>
2196
2197 * d10v-tdep.c: Include "frame-unwind.h".
2198 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
2199 list.
2200 (next_addr, uses_frame): Delete.
2201 (struct d10v_unwind_cache): Define.
2202 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
2203 Use info instead of next_addr and uses_frame globals.
2204 (d10v_frame_init_saved_regs): Delete function.
2205 (d10v_init_extra_frame_info): Delete function.
2206 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
2207 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
2208 init_frame_pc or frame_saved_pc.
2209 (d10v_pop_frame): Delete function.
2210 (do_d10v_pop_frame): Delete function.
2211 (d10v_frame_chain): Delete function.
2212 (d10v_frame_chain_valid): Delete function.
2213 (d10v_frame_pc_unwind): New function.
2214 (d10v_frame_id_unwind): New function.
2215 (saved_regs_unwinder): New function.
2216 (d10v_frame_register_unwind): New function.
2217 (d10v_frame_pop): New function.
2218 (d10v_frame_unwind): New variable.
2219 (d10v_frame_p): New function.
2220 (d10v_frame_saved_pc): Delete function.
2221 * Makefile.in (d10v-tdep.o): Update dependencies.
2222
cad2e848
JB
22232003-01-30 J. Brobecker <[email protected]>
2224
2225 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
2226 causing some regressions due to a change in the default value
2227 for this macro.
2228
af34e669
DJ
22292003-01-29 Richard Henderson <[email protected]>
2230 Elena Zannoni <[email protected]>
2231 Daniel Jacobowitz <[email protected]>
2232
2233 Fix PR gdb/961.
2234 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
2235 variables.
2236 (RANGES_SECTION): New.
2237 (dwarf_ranges_buffer): New variable.
2238 (struct comp_unit_head): Add member "die".
2239 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
2240 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
2241 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
2242 (dwarf2_locate_sections): Likewise.
2243 (dwarf2_build_psymtabs): Read .debug_ranges.
2244 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
2245 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
2246 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
2247 Look for DW_AT_ranges and return the bounding box.
2248
baa93fa6
CF
22492003-01-29 Brian Ford <[email protected]>
2250
2251 * win32-nat.c (cygwin_pid): Removed as unused.
2252 (child_attach): Try fall back to Cygwin pid.
2253
c63f977f
JB
22542003-01-29 Jim Blandy <[email protected]>
2255
2256 * objfiles.h (struct objfile): Doc fix.
2257
d62d1979
AC
22582003-01-29 Andrew Cagney <[email protected]>
2259
2260 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
2261 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
2262 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
2263 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
2264 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
2265 (FRAME_SAVED_PC): Change to a function with predicate.
2266 * gdbarch.h, gdbarch.c: Re-generate.
2267
1ae18a04
AC
22682003-01-28 Andrew Cagney <[email protected]>
2269
52287340
AC
2270 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
2271
1ae18a04
AC
2272 * complaints.c (complain): Delete function.
2273 * complaints.h (struct deprecated_complaint): Delete definition.
2274 (complain): Delete declaration.
2275
f2c16bd6
KB
22762003-01-28 Kevin Buettner <[email protected]>
2277
2278 * mips-tdep.c (mips_init_extra_frame_info): Return early for
2279 dummy frames.
2280
a94dd1fd
AC
22812003-01-27 Andrew Cagney <[email protected]>
2282
2283 * sentinel-frame.h, sentinel-frame.c: New files.
2284 * Makefile.in (frame.o): Update dependencies.
2285 (SFILES): Add sentinel-frame.c.
2286 (sentinel_frame_h): Define.
2287 (COMMON_OBS): Add sentinel-frame.o.
2288 (sentinel-frame.o): Specify dependencies.
2289 * frame.c: Include "sentinel-frame.h".
2290 (frame_register_unwind): Rewrite assuming that there is always a a
2291 ->next frame.
2292 (frame_register, generic_unwind_get_saved_register): Ditto.
2293 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
2294 (create_sentinel_frame, unwind_to_current_frame): New functions.
2295 (get_current_frame): Rewrite using create_sentinel_frame and
2296 unwind_to_current_frame. When possible, always create a frame.
2297 (create_new_frame): Set next to the sentinel frame.
2298 (get_next_frame): Rewrite. Don't go below the level 0 frame.
2299 (deprecated_update_frame_pc_hack): Update the next frame's PC and
2300 ID cache when necessary.
2301 (frame_saved_regs_id_unwind): Use frame_relative_level.
2302 (deprecated_generic_get_saved_register): Use frame_relative_level,
2303 get_frame_saved_regs, get_frame_pc, get_frame_base and
2304 get_next_frame.
2305 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
2306 frame_register.
2307
5378adc4
DJ
23082003-01-27 Daniel Jacobowitz <[email protected]>
2309
2310 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
2311
51ee2ddc
DJ
23122003-01-27 Daniel Jacobowitz <[email protected]>
2313
2314 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
2315 (maintenance_set_profile_cmd): Use error () instead of warning ().
2316
d9feb4e7
DJ
23172003-01-27 Daniel Jacobowitz <[email protected]>
2318
2319 * configure.in: Check that -pg works if using --enable-profiling.
2320 Check for monstartup and _mcleanup regardless of --enable-profiling.
2321 * maint.c: Check for monstartup and _mcleanup before using them.
2322 * config.in: Regenerated.
2323 * configure: Regenerated.
2324
2d188dd3
NC
23252003-01-24 Nick Clifton <[email protected]>
2326
2327 * Add sh2e support:
2328
2329 2002-04-02 Elena Zannoni <[email protected]>
2330
2331 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
2332 (sh2e_show_regs): New.
2333 (sh_gdbarch_init): Handle bfd_mach_sh2e.
2334 * config/sh/tm-sh.h: Added sh2e to comments.
2335
cb3c37b2
JB
23362003-01-23 Jim Blandy <[email protected]>
2337
2338 * symfile.c (syms_from_objfile): Don't print the "(no debugging
2339 symbols found)" message here; we haven't checked for a separate
2340 debug info file yet, so we don't know yet.
2341 (symbol_file_add_with_addrs_or_offsets): Print it here, after
2342 we've looked everywhere. Also, there's no need to print a special
2343 message when we're loading the separate debug info file: the one
2344 symbol_file_add prints is fine.
2345
5b5d99cf
JB
23462003-01-23 Alexander Larsson <[email protected]>
2347 Jim Blandy <[email protected]>
2348
2349 Add support for executables whose debug info has been separated
2350 out into a separate file, leaving only a link behind.
2351 * objfiles.h (struct objfile): New fields: separate_debug_objfile
2352 and separate_debug_objfile_backlink.
2353 (put_objfile_before): New declaration.
2354 * symfile.c: #include "filenames.h".
2355 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
2356 debug info in a separate file, read that, too. Save the addrs
2357 argument, so we can use it again to read the separated debug info;
2358 syms_from_objfile modifies the table we pass it.
2359 (reread_symbols): After re-reading an objfile, call
2360 reread_separate_symbols to refresh its separate debug info
2361 objfile, if it has one.
2362 (reread_separate_symbols, find_separate_debug_file,
2363 get_debug_link_info, separate_debug_file_exists): New functions.
2364 (debug_file_directory): New global var.
2365 (_initialize_symfile): Initialize debug_file_directory, and
2366 provide the new `set debug-file-directory' command to let the user
2367 change it.
2368 * objfiles.c (free_objfile): If this objfile has its debug info in
2369 a separate objfile, free that one too. If this is itself a
2370 separate debug info objfile, clear our parent's backlink.
2371 (put_objfile_before): New function.
2372 * utils.c (gnu_debuglink_crc32): New function.
2373 * defs.h (gnu_debuglink_crc32): New declaration.
2374 * Makefile.in (symfile.o): Note dependency on "filenames.h".
2375 * configure.in: Handle --with-separate-debug-dir config option.
2376 * acinclude.m4 (AC_DEFINE_DIR): New macro.
2377 * acconfig.h (DEBUGDIR): New macro.
2378 * configure, aclocal.m4, config.in: Regenerated.
2379
7e8580c1
JB
23802003-01-22 Jim Blandy <[email protected]>
2381
7904e09f
JB
2382 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
2383 like the old symbol_file_add, but taking new arguments: you can
2384 now pass in either a `struct section_addr_info' list to say where
2385 each section is loaded, or a `struct section_offsets' table. Pass
2386 these new arguments through to syms_from_objfile as appropriate.
2387 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
2388 with the appropriate quiescent values for the new arguments.
2389
7e8580c1
JB
2390 * symfile.c: #include "gdb_assert.h".
2391 (syms_from_objfile): Add the ability to pass in a section offset
2392 table directly, as an alternative to the section_addr_info table.
2393 Document arguments better.
2394 (symbol_file_add): Pass extra arguments to syms_from_objfile.
2395 * symfile.h (syms_from_objfile): Update declaration.
2396 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
2397 syms_from_objfile.
2398 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
2399
d28f9cdf
DJ
24002003-01-22 Daniel Jacobowitz <[email protected]>
2401
2402 Original patch by Tom Tromey <[email protected]> and
2403 Jason Molenda <[email protected]>.
2404 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
2405 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
2406 * NEWS: Mention profiling.
2407 * configure.in (--enable-gdbtk): Fix typo.
2408 (--enable-profiling): New. Set PROFILE_CFLAGS.
2409 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
2410 Fill in function.
2411 (profiling_state): New variable.
2412 (mcleanup_wrapper): New function.
2413 (_initialize_maint): Remove NOTYET, fix call to
2414 add_setshow_boolean_cmd for "maint set profile".
2415 * configure: Regenerated.
2416
df21e465
MH
24172003-01-21 Martin M. Hunt <[email protected]>
2418
2419 * Makefile.in (install-gdbtk): Install PNG images too.
2420
73c1f219
AC
24212003-01-21 Andrew Cagney <[email protected]>
2422
2423 * exec.c (text_start): Delete global variable.
2424 (exec_file_attach): Make text_start local to the function.
2425 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
2426 * valops.c (hand_function_call): Delete code that handles
2427 BEFORE_TEXT_END and AFTER_TEXT_END.
2428 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
2429 of CALL_DUMMY_LOCATION.
2430 * gdbarch.c: Regenerate.
2431 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
2432 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
2433 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
2434 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
2435 (text_end): Delete extern declaration.
2436
eb4f72c5
AC
24372003-01-21 Andrew Cagney <[email protected]>
2438
2439 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
2440 * blockframe.c (backtrace_below_main): Move to "frame.c".
2441 (frame_chain_valid): Delete check for backtrace_below_main.
2442 (_initialize_blockframe): Delete initialization, move ``set
2443 backtrace-below-main'' command to "frame.c".
2444 (do_flush_frames_sfunc): Delete function.
2445 * frame.c: Include "command.h" and "gdbcmd.h".
2446 (frame_type_from_pc): New function.
2447 (create_new_frame): Use frame_type_from_pc.
2448 (legacy_get_prev_frame): New function.
2449 (get_prev_frame): Rewrite. When an old style frame, call
2450 legacy_get_prev_frame. Otherwize, unwind the PC first.
2451 (_initialize_frame): Add ``set backtrace-below-main'' command.
2452 * Makefile.in (frame.o): Update dependencies.
2453
778ce8cc
AC
24542003-01-19 Andrew Cagney <[email protected]>
2455
2456 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
2457 DEPRECATED_REGISTERS_INFO.
2458
01c193c8
AC
24592003-01-19 Andrew Cagney <[email protected]>
2460
2461 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
2462 Maintainers'. Update `Various Maintainers'.
2463
dedc2a2b
AC
24642003-01-19 Andrew Cagney <[email protected]>
2465
2466 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
2467 * gdbarch.sh (POP_FRAME): Change to function with predicate.
2468 Suppress actual parameters when `-'.
2469 * gdbarch.h, gdbarch.c: Regenerate.
2470
b7261c70
AC
24712003-01-19 Andrew Cagney <[email protected]>
2472
2473 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
2474 code handling dummy frames.
2475
dbe9fe58
AC
24762003-01-19 Andrew Cagney <[email protected]>
2477
2478 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
2479 (struct frame_unwind): Add field pop.
2480 * frame.h (frame_pop): Declare.
2481 * frame.c (frame_saved_regs_pop): New function.
2482 (trad_frame_unwinder): Add frame_saved_regs_pop.
2483 (frame_pop): New function.
2484 * dummy-frame.c (dummy_frame_pop): New function.
2485 (discard_innermost_dummy): New function.
2486 (generic_pop_dummy_frame): Use discard_innermost_dummy.
2487 (dummy_frame_unwind): Add dummy_frame_pop.
2488 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
2489 * valops.c (hand_function_call): Ditto.
2490 * stack.c (return_command): Ditto.
2491
570b8f7c
AC
24922003-01-18 Andrew Cagney <[email protected]>
2493
2494 * cris-tdep.c: Fix function declaration indentation.
2495 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
2496 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
2497 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
2498 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
2499 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
2500 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
2501
25022003-01-18 Michael Chastain <[email protected]>
eaec4d85
MC
2503
2504 * README (Unpacking and Installation -- quick overview):
2505 Warn against ".../gdb-5.3/gdb/configure".
2506
494cca16
AC
25072003-01-18 Andrew Cagney <[email protected]>
2508
2509 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
2510 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
2511 (struct frame_unwind): Declare opaque.
2512 (dummy_frame_p): Declare function.
2513 * dummy-frame.c (dummy_frame_id_unwind): Make static.
2514 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
2515 * dummy-frame.c: Include "frame-unwind.h".
2516 (dummy_frame_p): New function.
2517 (dummy_frame_unwind): New variable.
2518 * frame.c: Include "frame-unwind.h".
2519 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
2520 to use the new unwind field.
2521 (set_unwind_by_pc): Delete function.
2522 (create_new_frame, get_prev_frame): Set unwind field using
2523 frame_unwind_find_by_pc.
2524 (trad_frame_unwind, trad_frame_unwinder): New variables.
2525 * frame.h (trad_frame_unwind): Declare variable.
2526 (frame_id_unwind_ftype): Delete declaration.
2527 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
2528 (struct frame_unwind): Declare opaque.
2529 (struct frame_info): Replace the fields id_unwind, pc_unwind and
2530 register_unwind with a single unwind pointer.
2531 * frame-unwind.h, frame-unwind.c: New files.
2532 * Makefile.in (SFILES): Add frame-unwind.c.
2533 (frame_unwind_h): Define.
2534 (COMMON_OBS): Add frame-unwind.o.
2535 (frame-unwind.o): Specify dependencies.
2536 (frame.o, dummy-frame.o): Update dependencies.
2537
4efb68b1
AC
25382003-01-18 Andrew Cagney <[email protected]>
2539
2540 * ada-valprint.c: Eliminate PTR.
2541 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
2542 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
2543 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
2544 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
2545 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
2546 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
2547 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
2548
a84d24ee
AC
25492003-01-17 Andrew Cagney <[email protected]>
2550
762f08a3
AC
2551 * main.c (captured_main): Don't use PTR.
2552 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
2553 * gdbtypes.c (lookup_primitive_typename): Ditto.
2554 (lookup_struct_elt_type): Ditto.
2555 * f-valprint.c (info_common_command): Ditto.
2556 (list_all_visible_commons): Ditto.
2557 * jv-typeprint.c (java_type_print_base): Ditto.
2558
a84d24ee
AC
2559 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
2560 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
2561 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
2562 i386-interix-nat.c and i386-interix-tdep.c. Rename
2563 m68klinux-nat.c and m68klinux-tdep.c. Rename
2564 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
2565 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
2566 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
2567 * main.c (captured_main): Use xfree, not free.
2568
c170fb60
AC
25692003-01-16 Andrew Cagney <[email protected]>
2570
2571 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
2572 ID back using a parameter.
2573 * frame.c (frame_id_unwind): Update call.
2574 (frame_saved_regs_id_unwind): Update.
2575 * dummy-frame.c (dummy_frame_id_unwind): Update function.
2576 * dummy-frame.h (struct frame_id): Add opaque declaration.
2577 (dummy_frame_id_unwind): Update declaration.
2578
867f3898
AC
25792003-01-15 Andrew Cagney <[email protected]>
2580
2581 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
2582
40622be8 25832003-01-15 Stephen P. Smith <[email protected]>
de3a8c23 2584
40622be8 2585 * MAINTAINERS (Stephen P. Smith): Updated email address.
de3a8c23 2586
ae66c1fc
EZ
25872003-01-14 Elena Zannoni <[email protected]>
2588
997b089a 2589 Fix PR gdb/898
ae66c1fc
EZ
2590 * breakpoint.c (until_break_command): Add new argument. Use it to
2591 decide whether to stop only at the current frame or not.
2592 * breakpoint.h (until_break_command): Update prototype.
2593 * infcmd.c (until_command): Add new argument to until_break_command
2594 call.
2595 (advance_command): New function.
2596 (_initialize_infcmd): Update help string for 'until' command.
2597 Add new 'advance' command.
2598
a04257e6
DC
25992003-01-14 David Carlton <[email protected]>
2600
2601 * linespec.c (decode_line_1): Normalize comments.
2602 (set_flags): Ditto.
2603 (locate_first_half): Ditto.
2604 (decode_compound): Ditto.
2605 (symtab_from_filename): Ditto.
2606 (decode_all_digits): Ditto.
2607 (decode_dollar): Ditto.
2608 (find_methods): Ditto.
2609 (find_toplevel_char): Ditto.
2610
1bac305b
AC
26112003-01-13 Andrew Cagney <[email protected]>
2612
2613 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
2614 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
2615 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
2616 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
2617 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
2618 * language.c, language.h, m32r-tdep.c: Update copyright.
2619 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
2620 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
2621 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
2622 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
2623 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
2624 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
2625
25caa7a8
EZ
26262003-01-13 Elena Zannoni <[email protected]>
2627
2628 * stabsread.h (process_later, resolve_cfront_continuation):
2629 Obsolete.
2630 Update copyright years.
2631 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
2632 Update copyright year.
2633 * dbxread.c(struct cont_elem): Obsolete.
2634 (process_later, process_now): Obsolete functions.
2635 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
2636 Update copyright year.
2637 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
2638 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
2639 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
2640 (parse_partial_symbols): Obsolete cfront support.
2641 * stabsread.c
2642 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
2643 macros.
2644 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
2645 read_cfront_baseclasses, read_cfront_member_functions,
2646 resolve_cfront_continuation,read_cfront_static_fields,
2647 copy_cfront_struct_fields): Obsolete functions.
2648 (define_symbol, read_one_struct_field): Obsolete cfront support.
2649 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
2650 Update Copyright year.
2651
7789c6f5
EZ
26522003-01-13 Elena Zannoni <[email protected]>
2653
2654 * stack.c (print_frame_info, print_stack_frame_base_stub,
2655 print_stack_frame_base, show_and_print_stack_frame_stub,
2656 show_and_print_stack_frame, print_only_stack_frame_stub,
2657 print_only_stack_frame): Delete functions.
2658 (print_stack_frame_stub): Call print_frame_info instead of
2659 print_frame_info_base.
2660 (print_frame_info_base): Rename to print_frame_info.
2661 (backtrace_command_1): Call print_frame_info, instead of
2662 print_frame_info_base.
2663 (current_frame_command): Call print_stack_frame, instead of
2664 print_only_stack_frame.
2665 (frame_command): Call print_stack_frame, instead of
2666 show_and_print_stack_frame.
2667 (up_command): Ditto.
2668 (down_command): Ditto.
2669 * frame.h (print_only_stack_frame): Delete prototype.
2670 * infrun.c (normal_stop): Call print_stack_frame, instead of
2671 show_and_print_stack_frame.
2672 * thread.c (info_threads_command): Call print_stack_frame, instead
2673 of print_only_stack_frame.
2674
3f5a3016
AC
26752003-01-13 Andrew Cagney <[email protected]>
2676
d99ba314
AC
2677 * README (Graphical interface to GDB): Update URL. Point at
2678 gdb/links/.
2679
3f5a3016
AC
2680 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
2681 version match.
2682
083ae935
DJ
26832003-01-13 Daniel Jacobowitz <[email protected]>
2684
2685 * symtab.c (find_pc_sect_line): Don't consider end-of-function
2686 lines.
2687
5365276c
DJ
26882003-01-13 Daniel Jacobowitz <[email protected]>
2689
2690 * thread-db.c (attach_thread): Prototype.
2691 (struct private_thread_info): Remove lwpid. Add thread handle (th),
2692 thread information (ti), and valid flags (th_valid, ti_valid).
2693 (attach_thread): Move target_pid_to_str call to after the thread
2694 is added to GDB's list. Initialize the cache.
2695 (thread_get_info_callback, thread_db_map_id2thr)
2696 (thread_db_get_info): New functions.
2697 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
2698 (thread_db_store_registers, thread_db_thread_alive)
2699 (thread_db_get_thread_local_address): Use them.
2700 (thread_db_pid_to_str): Likewise. Return "Missing" instead
2701 of calling error() for threads in unknown state.
2702
2703 (clear_lwpid_callback): New function.
2704 (thread_db_resume): Use it to clear the cache.
2705
9fc30b6b
DJ
27062003-01-13 Daniel Jacobowitz <[email protected]>
2707
2708 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
2709 (resume_callback): Remove dead code.
2710
8f871025
AC
27112003-01-13 Andrew Cagney <[email protected]>
2712
2713 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
2714 predicate.
2715 * gdbarch.h, gdbarch.c: Regenerate.
2716 * stack.c (frame_info): Only initialize the saved registers when
2717 FRAME_INIT_SAVED_REGS_P.
2718 * frame.c (frame_saved_regs_register_unwind): Assert
2719 FRAME_INIT_SAVED_REGS_P.
2720 (deprecated_generic_get_saved_register): Ditto.
2721
3f565f1e
DJ
27222003-01-13 Daniel Jacobowitz <[email protected]>
2723
2724 * source.c (openp): Squelch warning about "filename".
2725
072b1022
DJ
27262003-01-13 Daniel Jacobowitz <[email protected]>
2727
2728 * source.c (openp): If the file does not exist don't necessarily
2729 search the path.
2730
973ccf8b
DJ
27312003-01-13 Daniel Jacobowitz <[email protected]>
2732
2733 Fix PR gdb/872.
2734 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
2735 (integer_types_same_name_p): New function.
2736 (rank_one_type): Use it.
2737 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
2738
030292b7
DJ
27392003-01-13 Daniel Jacobowitz <[email protected]>
2740
2741 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
2742 variables.
2743 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
2744 * configure.in: Add --with-sysroot.
2745 * configure: Regenerated.
2746 * main.c (gdb_sysroot): New variable.
2747 (captured_main): Initialize gdb_sysroot.
2748 * defs.h (gdb_sysroot): New extern declaration.
2749 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
2750
afb5d334
MC
27512003-01-12 Michael Chastain <[email protected]>
2752
2753 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
2754
751ceeb4
MC
27552003-01-12 Michael Chastain <[email protected]>
2756
2757 * top.c (print_gdb_version): Bump copyright year to 2003.
2758
94cd26f8
DC
27592003-01-12 David Carlton <[email protected]>
2760
2761 * linespec.c (symtab_from_filename): Rename variable 's' to
2762 'file_symtab'.
2763
1ce79225
AC
27642003-01-12 Andrew Cagney <[email protected]>
2765
2766 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
2767 dummy frame.
2768 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
2769
fa1fd571
AC
27702003-01-12 Andrew Cagney <[email protected]>
2771
2772 * d10v-tdep.c: Include "gdb_assert.h".
2773 (d10v_store_return_value): Rewrite to match current interface.
2774 (d10v_extract_struct_value_address): Ditto.
2775 (d10v_extract_return_value): Ditto.
2776 (d10v_gdbarch_init): Set store_restore_value,
2777 extract_struct_value_address and extract_return_value.
2778
68b8d23e
JB
27792003-01-12 J. Brobecker <[email protected]>
2780
2781 * hpread.c (set_namestring): New procedure replacing the
2782 SET_NAMESTRING macro.
2783 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
2784 by calls to set_namestring.
2785
27862003-01-11 J. Brobecker <[email protected]>
1fb309ea
JB
2787
2788 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
2789 a compilation warning.
2790 (hpread_process_one_debug_symbol): Likewise.
2791
88d262ca
DC
27922003-01-10 David Carlton <[email protected]>
2793
2794 * linespec.c (decode_line_1): Rename variable 's' to
2795 'file_symtab'.
2796 (decode_all_digits): Rename argument 's' to 'file_symtab'.
2797 (decode_dollar): Ditto.
2798 (decode_variable): Ditto.
2799 (symbol_found): Ditto.
2800
86669319
MC
28012003-01-09 Michael Chastain <[email protected]>
2802
2803 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
2804
616a9dc4
CV
28052003-01-07 Corinna Vinschen <[email protected]>
2806
2807 * win32-nat.c (set_process_privilege): New function.
2808 (child_attach): Call set_process_privilege() to enable the
2809 SE_DEBUG_NAME user privilege if available in process token.
2810
3269bcfa
JB
28112003-01-10 J. Brobecker <[email protected]>
2812
2813 * hpread.c (hpread_process_one_debug_symbol): Fix a small
2814 compilation error in the previous revision.
2815
2b0ee454
DC
28162003-01-09 David Carlton <[email protected]>
2817
2818 * linespec.c: Update copyright.
2819
b3ba1b44
DJ
28202003-01-09 Daniel Jacobowitz <[email protected]>
2821
2822 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
2823 than inferior_ptid.
2824 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
2825
4ef3f3be
AC
28262003-01-09 Andrew Cagney <[email protected]>
2827
479ab5a0
AC
2828 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
2829 Update comments.
2830 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
2831 (frame_saved_regs_zalloc): Update.
2832 (frame_saved_regs_register_unwind): Update.
2833 (create_new_frame): Update.
2834 (get_prev_frame): Update.
2835 (frame_extra_info_zalloc): Update.
2836 (deprecated_get_frame_saved_regs): Update.
2837 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
2838 * cris-tdep.c: Update comment.
2839
bde58177
AC
2840 * somsolib.h: Fix function indentation.
2841 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
2842 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
2843 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
2844 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
2845 * somsolib.c, inftarg.c: Remove assignment in if conditional.
2846
4ef3f3be
AC
2847 * infrun.c (follow_fork): Use ISO C definition.
2848 * expprint.c (print_subexp): Use xfree instead of free.
2849 * charset.c: Include "gdb_string.h" instead of <string.h>.
2850 (register_iconv_charsets): Use ISO C definition.
2851 (host_charset, target_charset): Ditto.
2852 * Makefile.in (charset.o): Update dependencies.
2853 (mi-cmd-env.o): Update dependencies.
2854
1c615f7a
AC
28552003-01-08 Andrew Cagney <[email protected]>
2856
2857 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
2858 get_frame_base.
2859
c9a1dc08
AC
28602003-01-08 Andrew Cagney <[email protected]>
2861
2862 * gdb_mbuild.sh: Add --keep option. When specified, keep the
2863 build directories. Save edited gdb output in Mbuild.log. If a
2864 build fails, remove any final GDB executable.
2865
dbad9d94
AC
28662003-01-08 Andrew Cagney <[email protected]>
2867
2868 * gdb_mbuild.sh: Edit the output of `maint print architecture'
2869 replacing hex constants with function names and stripping leading
2870 file name directory prefixes.
2871
8d357cca
AC
28722003-01-08 Andrew Cagney <[email protected]>
2873
2874 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
2875 get_frame_base.
2876
bca02a8a
DC
28772003-01-08 David Carlton <[email protected]>
2878
2879 * linespec.c (decode_line_1): Move code into decode_variable.
2880 (decode_variable): New function.
2881
7f8ab3a0
AC
28822003-01-08 Andrew Cagney <[email protected]>
2883
2884 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
2885
7b5849cc
AC
28862003-01-08 Andrew Cagney <[email protected]>
2887
2888 * cris-tdep.c (cris_frame_init_saved_regs): Use
2889 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
2890 saved_regs buffer.
2891 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
2892 (sh64_nofp_frame_init_saved_regs): Ditto.
2893 (sh_fp_frame_init_saved_regs): Ditto.
2894 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
2895 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
2896 * mcore-tdep.c (analyze_dummy_frame): Ditto.
2897 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
2898
72a5efb3
DJ
28992003-01-08 Daniel Jacobowitz <[email protected]>
2900
2901 * minsyms.c (lookup_minimal_symbol): Update comment.
2902 (lookup_minimal_symbol_text): Update comment. Use the hash table.
2903 (lookup_minimal_symbol_solib_trampoline): Likewise.
2904
11c02a10
AC
29052003-01-08 Andrew Cagney <[email protected]>
2906
aab3ea25
AC
2907 * d10v-tdep.c (d10v_init_extra_frame_info): Use
2908 frame_relative_level.
2909
da50a4b7
AC
2910 * alpha-tdep.c: Use get_frame_extra_info.
2911 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
2912 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
2913 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
2914 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
2915
11c02a10
AC
2916 * alpha-tdep.c: Use get_next_frame.
2917 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
2918 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
2919 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
2920 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
2921 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
2922 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
2923 * xstormy16-tdep.c: Ditto.
2924
1e2330ba
AC
29252003-01-07 Andrew Cagney <[email protected]>
2926
2927 * alpha-tdep.c: Use get_frame_base.
2928 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
2929 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
2930 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
2931 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
2932 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
2933 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
2934 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
2935 * config/sparc/tm-sparc.h: Ditto.
2936
2d75187b
AC
29372003-01-07 Andrew Cagney <[email protected]>
2938
2939 * frame.c (deprecated_get_frame_context): New function.
2940 (deprecated_set_frame_context): New function.
2941 * frame.h (deprecated_get_frame_context): Declare.
2942 (deprecated_set_frame_context): Declare.
2943 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
2944 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
2945
483d36b2
AC
29462003-01-07 Andrew Cagney <[email protected]>
2947
2948 * frame.c (deprecated_set_frame_next_hack): New function.
2949 (deprecated_set_frame_prev_hack): New function.
2950 * frame.h (deprecated_set_frame_next_hack): Declare.
2951 (deprecated_set_frame_prev_hack): Declare.
2952 * mcore-tdep.c (analyze_dummy_frame): Use
2953 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
2954 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
2955
14e91ac5
DC
29562003-01-07 David Carlton <[email protected]>
2957
2958 * linespec.c (decode_line_1): Move code into decode_dollar.
2959 (decode_dollar): New function.
2960
b0c6b05c
AC
29612003-01-07 Andrew Cagney <[email protected]>
2962
2963 * arm-tdep.c (arm_init_extra_frame_info): Use
2964 deprecated_update_frame_base_hack.
2965 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
2966 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
2967 (fix_frame_pointer): Ditto.
2968 (mn10300_analyze_prologue): Ditto.
2969
a00a19e9
AC
29702003-01-07 Andrew Cagney <[email protected]>
2971
2972 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
2973 extra_info using frame_extra_info_zalloc.
2974 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
2975 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
2976 (sh64_init_extra_frame_info): Ditto.
2977 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
2978 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
2979 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
2980 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
2981 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
2982 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
2983 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
2984 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
2985 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
2986 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
2987 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
2988 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
2989
2990 * mn10300-tdep.c (analyze_dummy_frame): Use
2991 deprecated_set_frame_extra_info_hack.
2992 * mcore-tdep.c (analyze_dummy_frame): Ditto.
2993
1fb4c65b
JB
29942003-01-07 J. Brobecker <[email protected]>
2995
2996 * mdebugread.c (parse_symbol): Skip stProc entries which storage
2997 class is not scText. These do not define "real" procedures.
2998 (parse_partial_symbols): Likewise.
2999
9fe7d6bf
MS
30002003-01-06 Michael Snyder <[email protected]>
3001
3002 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
3003
f6c609c4
AC
30042003-01-06 Andrew Cagney <[email protected]>
3005
3006 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
3007 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
3008 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
3009 deprecated_frame_xmalloc_with_cleanup.
3010 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
3011 deprecated_frame_xmalloc.
3012 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
3013 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
3014
d995ff4b
AC
30152003-01-06 Andrew Cagney <[email protected]>
3016
84dc46cb
AC
3017 * x86-64-linux-tdep.c: Include "osabi.h".
3018 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
3019
d995ff4b
AC
3020 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
3021
66140c26
AC
30222003-01-06 Andrew Cagney <[email protected]>
3023
3024 * MAINTAINERS (Target Instruction Set Architectures): Update
3025 arm-elf. Can be built with -Werror, has been multiarched.
3026
3027 * value.h (unpack_long): Make buffer parameter constant.
3028 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
3029 * scm-lang.h (scm_parse): Ditto.
3030 * defs.h (extract_typed_address, extract_address): Ditto.
3031 (extract_long_unsigned_integer): Ditto.
3032 * inferior.h (unsigned_pointer_to_address): Ditto.
3033 (signed_pointer_to_address): Ditto.
3034 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
3035 * gdbarch.h, gdbarch.c: Regenerate.
3036 * findvar.c (extract_long_unsigned_integer): Update.
3037 (extract_address): Update.
3038 (extract_typed_address): Update.
3039 (unsigned_pointer_to_address): Update.
3040 * values.c (unpack_long): Update.
3041 (unpack_double): Update.
3042 (unpack_pointer): Update.
3043 (unpack_field_as_long): Update.
3044 * d10v-tdep.c (d10v_pointer_to_address): Update.
3045 * avr-tdep.c (avr_pointer_to_address): Update.
3046 * scm-lang.c (scm_unpack): Update.
3047 * findvar.c (signed_pointer_to_address): Update.
3048
b089b3da
ML
30492003-01-06 Michal Ludvig <[email protected]>
3050
3051 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
3052 since it is in i386-tdep.c.
3053
aff87235
JB
30542003-01-06 J. Brobecker <[email protected]>
3055
3056 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
3057 failure introduced in the previous change.
3058
34f5e845
MC
30592003-01-05 Michael Chastain <[email protected]>
3060
3061 * README: Remove references to deleted remote-*.c files:
3062 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
3063 remote-nrom.c, remote-os9k.c, remote-udi.c.
3064
28bcfd30
MK
30652003-01-05 Mark Kettenis <[email protected]>
3066
3067 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
3068 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
3069 i386_get_longjmp_target.
3070
15a5b3ee
AC
30712003-01-05 Andrew Cagney <[email protected]>
3072
3073 * arm-tdep.c (prologue_cache): Change to a pointer.
3074 (_initialize_arm_tdep): Allocate prologue_cache.
3075 (check_prologue_cache): Update.
3076 (save_prologue_cache): Update.
3077 (arm_gdbarch_init): Update.
3078
c263362b
DJ
30792003-01-04 Daniel Jacobowitz <[email protected]>
3080
3081 * stabsread.c (update_method_name_from_physname): Call complaint()
3082 instead of error.
3083
51603483
DJ
30842003-01-04 Daniel Jacobowitz <[email protected]>
3085
3086 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
3087 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
3088 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
3089
3090 * blockframe.c: Include "gdbcmd.h" and "command.h".
3091 (backtrace_below_main): New variable.
3092 (file_frame_chain_valid, func_frame_chain_valid)
3093 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
3094 (generic_func_frame_chain_valid): Remove functions.
3095 (frame_chain_valid, do_flush_frames_sfunc): New functions.
3096 (_initialize_blockframe): New function.
3097 * Makefile.in (blockframe.o): Update dependencies.
3098 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
3099 comment. Call frame_chain_valid ().
3100 * frame.h: Remove old prototypes. Add prototype for
3101 frame_chain_valid and update comments to match.
3102 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
3103 Remove old comment.
3104 * gdbarch.h: Regenerated.
3105 * gdbarch.c: Regenerated.
3106
3107 * alpha-tdep.c (alpha_gdbarch_init): Don't call
3108 set_gdbarch_frame_chain_valid.
3109 * avr-tdep.c (avr_gdbarch_init): Likewise.
3110 * cris-tdep.c (cris_gdbarch_init): Likewise.
3111 * frv-tdep.c (frv_gdbarch_init): Likewise.
3112 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
3113 * i386-tdep.c (i386_svr4_init_abi): Likewise.
3114 (i386_nw_init_abi): Likewise.
3115 (i386_gdbarch_init): Likewise.
3116 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
3117 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
3118 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
3119 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
3120 * mips-tdep.c (mips_gdbarch_init): Likewise.
3121 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
3122 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
3123 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
3124 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3125 * s390-tdep.c (s390_gdbarch_init): Likewise.
3126 * sh-tdep.c (sh_gdbarch_init): Likewise.
3127 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3128 * v850-tdep.c (v850_gdbarch_init): Likewise.
3129 * vax-tdep.c (vax_gdbarch_init): Likewise.
3130 * x86-64-tdep.c (x86_64_init_abi): Likewise.
3131
3132 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
3133 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
3134 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
3135 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
3136 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
3137 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
3138 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
3139 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
3140
b00a8037
DJ
31412002-01-04 Daniel Jacobowitz <[email protected]>
3142
3143 * Makefile.in (acconfig_h): Remove incorrect macro.
3144 (config_h): Define.
3145 (osabi.o): Update dependencies.
3146 * configure.tgt: Set gdb_osabi based on target triplet.
3147 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
3148 * configure: Regenerated.
3149 * config.in: Regenerated.
3150 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
3151 (GDB_OSABI_DEFAULT): Define if not already defined.
3152 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
3153 (set_osabi_string): New variables.
3154 (gdbarch_register_osabi): Add new OS ABI to
3155 gdb_osabi_available_names.
3156 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
3157 (set_osabi, show_osabi): New functions.
3158 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
3159
4be87837
DJ
31602003-01-04 Daniel Jacobowitz <[email protected]>
3161
3162 * arch-utils.c (gdbarch_info_init): Set osabi to
3163 GDB_OSABI_UNINITIALIZED.
3164 * gdbarch.sh: Add osabi to struct gdbarch and to struct
3165 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
3166 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
3167 * gdbarch.c: Regenerated.
3168 * gdbarch.h: Regenerated.
3169 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
3170 there's no BFD.
3171 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
3172 * osabi.h (enum gdb_osabi): Move to defs.h.
3173 (gdbarch_init_osabi): Update prototype.
3174 * defs.h (enum gdb_osabi): Moved here.
3175 * Makefile.in: Update dependencies.
3176
3177 * alpha-tdep.h: Don't include "osabi.h".
3178 (struct gdbarch_tdep): Remove osabi member.
3179 * alpha-tdep.c: Include "osabi.h".
3180 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3181 iterate over arches. Update call to gdbarch_init_osabi.
3182 (alpha_dump_tdep): Don't dump osabi.
3183 * alpha-linux-tdep.c: Include "osabi.h".
3184 * alpha-osf1-tdep.c: Include "osabi.h".
3185 * alphafbsd-tdep.c: Include "osabi.h".
3186 * alphanbsd-tdep.c: Include "osabi.h".
3187
3188 * arm-tdep.h: Don't include "osabi.h".
3189 (struct gdbarch_tdep): Remove osabi member.
3190 * arm-tdep.c: Include "osabi.h".
3191 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3192 iterate over arches. Update call to gdbarch_init_osabi.
3193 (arm_dump_tdep): Don't dump osabi.
3194 * arm-linux-tdep.c: Include "osabi.h".
3195 * armnbsd-tdep.c: Include "osabi.h".
3196
3197 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
3198 Update call to gdbarch_init_osabi.
3199
3200 * i386-tdep.h: Don't include "osabi.h".
3201 (struct gdbarch_tdep): Remove osabi member.
3202 * i386-tdep.c: Include "osabi.h".
3203 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3204 iterate over arches. Update call to gdbarch_init_osabi.
3205 (i386_dump_tdep): Don't dump osabi.
3206 * i386-linux-tdep.c: Include "osabi.h".
3207 * i386-sol2-tdep.c: Include "osabi.h".
3208 * i386bsd-tdep.c: Include "osabi.h".
3209 * i386gnu-tdep.c: Include "osabi.h".
3210 * i386ly-tdep.c: Include "osabi.h".
3211 * i386nbsd-tdep.c: Include "osabi.h".
3212 * i386obsd-tdep.c: Include "osabi.h".
3213
3214 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
3215 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3216 check osabi when iterating over arches. Update call to
3217 gdbarch_init_osabi.
3218 (mips_dump_tdep): Don't dump osabi.
3219
3220 * ns32k-tdep.h: Don't include "osabi.h".
3221 (struct gdbarch_tdep): Remove.
3222 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
3223 gdbarch_lookup_osabi. Don't iterate over arches. Don't
3224 allocate tdep. Update call to gdbarch_init_osabi.
3225 (ns32k_dump_tdep): Remove.
3226 (_initialize_ns32k_tdep): Update call to gdbarch_register.
3227 * ns32knbsd-tdep.c: Include "osabi.h".
3228
3229 * ppc-tdep.h: Don't include "osabi.h".
3230 (struct gdbarch_tdep): Remove osabi member.
3231 * rs6000-tdep.c: Include "osabi.h".
3232 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
3233 osabi when iterating over arches. Update call to
3234 gdbarch_init_osabi.
3235 (rs6000_dump_tdep): Don't dump osabi.
3236 * ppc-linux-tdep.c: Include "osabi.h".
3237 * ppcnbsd-tdep.c: Include "osabi.h".
3238
3239 * sh-tdep.h: Don't include "osabi.h".
3240 (struct gdbarch_tdep): Remove osabi member.
3241 * sh-tdep.c: Include "osabi.h".
3242 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3243 iterate over arches. Update call to gdbarch_init_osabi.
3244 (sh_dump_tdep): Don't dump osabi.
3245 * shnbsd-tdep.c: Include "osabi.h".
3246
3247 * sparc-tdep.c: Include "osabi.h".
3248 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3249 iterate over arches. Update call to gdbarch_init_osabi.
3250 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
3251 tdep structure.
3252
3253 * vax-tdep.h: Don't include "osabi.h".
3254 (struct gdbarch_tdep): Remove.
3255 * vax-tdep.c: Include "osabi.h".
3256 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3257 iterate over arches. Don't allocate tdep. Update call
3258 to gdbarch_init_osabi.
3259 (vax_dump_tdep): Remove.
3260 (_initialize_vax_tdep): Update call to gdbarch_register.
3261
a881cf8e
DJ
32622003-01-04 Daniel Jacobowitz <[email protected]>
3263
3264 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
3265 entirely.
3266 (breakpoint_re_set_one): Don't fetch the value for a disabled
3267 watchpoint.
3268
1e698235
DJ
32692003-01-04 Daniel Jacobowitz <[email protected]>
3270
3271 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
3272 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
3273 (COERCE_FLOAT_TO_DOUBLE): Remove.
3274 * gdbarch.c: Regenerate.
3275 * gdbarch.h: Regenerate.
3276 * Makefile.in: Remove value_h from gdbarch_h.
3277 * valops.c (coerce_float_to_double): New variable.
3278 (default_coerce_float_to_double): Remove.
3279 (standard_coerce_float_to_double): Remove.
3280 (value_arg_coerce): Use coerce_float_to_double.
3281 (_initialize_valops): Add "set coerce-float-to-double".
3282 * value.h (default_coerce_float_to_double): Remove prototype.
3283 (standard_coerce_float_to_double): Remove prototype.
3284
3285 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
3286 prototyped.
3287 * mdebugread.c (parse_symbol): Likewise.
3288 * stabsread.c (define_symbol): Mark all functions as prototyped.
3289
3290 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
3291 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
3292 set_gdbarch_coerce_float_to_double.
3293 * arm-tdep.c (arm_gdbarch_init): Likewise.
3294 * frv-tdep.c (frv_gdbarch_init): Likewise.
3295 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
3296 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
3297 * mips-tdep.c (mips_gdbarch_init): Likewise.
3298 (mips_coerce_float_to_double): Remove.
3299 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3300 (rs6000_coerce_float_to_double): Remove.
3301 * s390-tdep.c (s390_gdbarch_init): Likewise.
3302 * sh-tdep.c (sh_gdbarch_init): Likewise.
3303 (sh_coerce_float_to_double): Remove.
3304 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3305 (sparc_coerce_float_to_double): Remove.
3306 * v850-tdep.c (v850_gdbarch_init): Likewise.
3307 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
3308 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3309 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
3310 (hppa_coerce_float_to_double): Remove prototype.
3311 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3312
f436a26a
DJ
33132003-01-04 Daniel Jacobowitz <[email protected]>
3314
3315 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
3316
248f8055
DJ
33172003-01-04 Daniel Jacobowitz <[email protected]>
3318
3319 Suggested by Stewart Brown <[email protected]>:
3320 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
3321 in recursive calls. Handle TYPE_CODE_TYPEDEF.
3322 (c_type_print_varspec_suffix): Likewise.
3323
72cfdc76
MK
33242003-01-04 Mark Kettenis <[email protected]>
3325
bfd260bb
MK
3326 * configure.in: Don't set and AC_SUBST SUBDIRS.
3327 * configure: Regenerated.
3328
72cfdc76
MK
3329 * configure.in: Remove code dealing with shared libraries.
3330 * Makefile.in: Remove HLDFLAGS and HLDENV.
3331 * configure: Regenerated.
3332
c8b8a898
AC
33332003-01-04 Andrew Cagney <[email protected]>
3334
3335 * frame.c (deprecated_frame_xmalloc): New function.
3336 (deprecated_set_frame_saved_regs_hack): New function.
3337 (deprecated_set_frame_extra_info_hack): New function.
3338 * frame.h (deprecated_frame_xmalloc): Declare.
3339 (deprecated_set_frame_saved_regs_hack): Declare.
3340 (deprecated_set_frame_extra_info_hack): Declare.
3341
14abd0fb
MK
33422003-01-04 Mark Kettenis <[email protected]>
3343
8ee53726
MK
3344 * configure.in: Move code that provides the --enable-gdbtk option
3345 right after the code that handles the --enable-tui option, and
3346 polish it somewhat.
3347 * configure: Regenerated.
3348
14abd0fb
MK
3349 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
3350 AC_CHECK_FUNCS and remove the old check for pread64.
3351 * acinclude.m4 (AC_GNU_SOURCE): New macro.
3352 * acconfig.h (_GNU_SOURCE): Add.
3353 (HAVE_PREAD64): Remove.
3354 * configure, aclocal.m4, config.in: Regenerated.
3355
b2fb4676
AC
33562003-01-03 Andrew Cagney <[email protected]>
3357
3358 * alpha-tdep.c: Use get_frame_saved_regs.
3359 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3360 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
3361 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
3362 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
3363 * vax-tdep.c, xstormy16-tdep.c: Ditto.
3364
8dcde887
MK
33652003-01-03 Mark Kettenis <[email protected]>
3366
3367 * configure.in: Remove all use of the SUBDIRS variable; add
3368 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
3369 code providing the --enable-multi-ice option, and move it right in
3370 front of the code that checks whether gdbserver is supported.
3371 Polish that too.
3372 * configure: Regenerated.
3373 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
3374 @SUBDIRS@.
3375
8ccd593b
AC
33762003-01-03 Andrew Cagney <[email protected]>
3377
3378 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
3379 * avr-tdep.c, cris-tdep.c: Ditto.
3380 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
3381 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
3382
91151a06
MK
33832003-01-03 Mark Kettenis <[email protected]>
3384
3385 * configure.in: Remove --enable-netrom option.
3386 * configure: Regenerated.
3387
8fe84d01
MK
33882003-01-03 Mark Kettenis <[email protected]>
3389
3390 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
3391 declaration for `struct re_pattern_buffer' instead.
3392 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
3393
f0394be6
JB
33942003-01-03 J. Brobecker <[email protected]>
3395
3396 * mdebugread.c (parse_symbol): Count until the stEnd matching
3397 the structure name.
3398
27e9bf90
MK
33992003-01-02 Mark Kettenis <[email protected]>
3400
93d331ba
MK
3401 * configure.in: Remove --with-cpu option.
3402 subscripts. Remove evil changequotes here.
3403 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
3404 * config.in, configure: Regenerated.
3405
27e9bf90
MK
3406 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
3407 * configure.in: Cleanup section that sources GDB and BFD configure
3408 subscripts. Remove evil changequotes here.
3409 * config.in, configure: Regenerated.
3410
50abf9e5
AC
34112003-01-02 Andrew Cagney <[email protected]>
3412
3413 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
3414 frame accessor methods.
3415 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3416 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
3417 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
3418 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
3419 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
3420 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
3421 * z8k-tdep.c: Ditto.
3422
287c1a40
MK
34232003-01-02 Mark Kettenis <[email protected]>
3424
f5dbc56d
MK
3425 * configure.in: Remove UI_OUT configuration code.
3426 * ada-lang.c: Update assuming UI_OUT is always true.
3427 * Makefile.in (UIOUT_CFLAGS): Remove.
3428 * configure: Regenerated.
3429 * TODO: Remove blurb about elimination of -DUI_OUT.
3430
627af7ea
MK
3431 * configure.in: Move code that provides the --enable-gdbcli,
3432 --enable-gdbmi options right before the code that handles the
3433 --enable-tui option. Polish a bit.
3434 * configure: Regenerated.
3435
06825bd1
MK
3436 * configure.in: Rewrite check for GNU regex and the
3437 --without-included regex option, and move it into the "Checks for
3438 library functions" section. This makes us use the system regex
3439 again by default on systems with version 2 of the GNU C library.
3440 This was apparently broken.
3441 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
3442 * acconfig.h (USE_INCLUDED_REGEX): Remove.
3443 * config.in, configure: Regenerated.
3444
287c1a40
MK
3445 * configure.in: Move code that provides the --enable-tui option
3446 before the "Checks for libraries" section. Polish the code
3447 somewhat and set need_curses to yes if we build the TUI. Rewrite
3448 code that looks for a library providing termcap functionality to
3449 match more closely what's done in the Readline library, and move
3450 it into to the "Checks for libraries" section.
3451 * configure: Regenerated.
3452 * Makefile.in (TERMCAP): Remove variable.
3453 * config/i386/go32.mh (TERMCAP): Remove variable.
3454
684e56bf
AC
34552003-01-02 Andrew Cagney <[email protected]>
3456
3457 * MAINTAINERS: Mention gdb_mbuild.sh.
3458 * gdb_mbuild.sh: Rewrite.
3459
e1ea1d75
MK
34602003-01-02 Mark Kettenis <[email protected]>
3461
3462 * configure.in: Fix typo in last change.
3463 * config.in, configure: Regenerated.
3464
1b831c93
AC
34652003-01-02 Andrew Cagney <[email protected]>
3466
3467 * valarith.c (value_binop): Delete obsolete code and comments.
3468 * configure.host: Ditto.
3469 * buildsym.h (make_blockvector): Ditto.
3470 * buildsym.c (make_blockvector): Ditto.
3471 * defs.h (enum language): Ditto.
3472 (chill_demangle): Ditto.
3473 * elfread.c (elf_symtab_read): Ditto.
3474 * dwarfread.c (CHILL_PRODUCER): Ditto.
3475 (set_cu_language): Ditto.
3476 (handle_producer): Ditto.
3477 * expprint.c (print_subexp): Ditto.
3478 * gdbtypes.c (chill_varying_type): Ditto.
3479 * gdbtypes.h (builtin_type_chill_bool): Ditto.
3480 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
3481 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
3482 (chill_varying_type): Ditto.
3483 * language.h (_LANG_chill): Ditto.
3484 * language.c (binop_result_type, integral_type): Ditto.
3485 (character_type, string_type, structured_type): Ditto.
3486 (lang_bool_type, binop_type_check): Ditto.
3487 * stabsread.h (os9k_stabs): Ditto.
3488 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
3489 (define_symbol, read_type, read_struct_fields): Ditto.
3490 (read_array_type, read_enum_type, read_huge_number): Ditto.
3491 (read_range_type, start_stabs): Ditto.
3492 * symfile.c (init_filename_language_table): Ditto.
3493 (add_psymbol_with_dem_name_to_list): Ditto.
3494 * symtab.c (symbol_init_language_specific): Ditto.
3495 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
3496 * symtab.h (struct general_symbol_info): Ditto.
3497 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
3498 * typeprint.c (typedef_print): Ditto.
3499 * utils.c (fprintf_symbol_filtered): Ditto.
3500 * valops.c (value_cast, search_struct_field, value_slice): Delete
3501 obsolete code.
3502 (varying_to_slice): Delete function.
3503 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
3504 (varying_to_slice): Delete declaration.
3505 * MAINTAINERS: Update.
3506
8bb2c122
MK
35072003-01-02 Mark Kettenis <[email protected]>
3508
97bf5e38
MK
3509 * configure.in: Reorganize "Checks for library functions section"
3510 a bit. Remove check for `btowc' and `isascii' functions.
3511 * configure: Regenerated.
3512
5ee754fc
MK
3513 * acconfig.h (_MSE_INT_H): Remove.
3514 * configure.in: Create "Checks for header files" section, and move
3515 appropriate tests there. Don't check for objlist.h, wchar.h,
3516 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
3517 misdetection fix. Also add "Checks for types", "Checks for
3518 compiler characteristics" and "Checks for library functions"
3519 sections.
3520 * config.in, configure: Regenerated.
3521
8bb2c122
MK
3522 * configure.in: Create "Checks for programs" section, and move
3523 appropriate tests there.
3524
9a156167
MK
35252003-01-01 Mark Kettenis <[email protected]>
3526
3527 * configure.in: Create "Checks for libraries" section, and move
3528 appropriate tests there. Cleanup check for wctype in libw. Use
3529 AC_SEARCH_LIBS to see whether we need libsocket.
3530 * configure: Regenerated.
3531
a80e2bcb 3532For older changes see ChangeLog-2002
c906108c
SS
3533\f
3534Local Variables:
3535mode: change-log
3536left-margin: 8
3537fill-column: 74
3538version-control: never
3539End:
This page took 1.259899 seconds and 4 git commands to generate.