]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
gdb/ChangeLog:
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
44ea7b70
JB
12003-04-14 Jim Blandy <jimb@redhat.com>
2
3 * symmisc.c: #include "gdb_regex.h".
4 (maintenance_list_symtabs, maintenance_list_psymtabs): New
5 functions.
6 * maint.c (maintenance_list_command): New function.
7 (_initialize_maint_cmds): Register the above as commands.
8 * symtab.h (maintenance_list_symtabs,
9 maintenance_list_psymtabs): New declarations.
10 * cli/cli-cmds.c (maintenancelistlist): New variable.
11 (init_cmd_lists): Initialize it.
12 * cli/cli-cmds.h (maintenancelistlist): New declaration.
13 * gdbcmd.h (maintenancelistlist): New declaration.
14 * Makefile.in (symmisc.o): Update dependencies.
15
2d0c7962
EZ
162003-04-14 Elena Zannoni <ezannoni@redhat.com>
17
18 * s390-nat.c: Include asm/types.h for addr_t.
19
1947a811
CV
202003-04-14 Corinna Vinschen <vinschen@redhat.com>
21
22 * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with
23 actually incoming type.
24
adb616d7
AC
252003-04-13 Andrew Cagney <cagney@redhat.com>
26
27 * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc,
28 get_next_frame and get_frame_saved_regs.
29
9b5e151c
AC
302003-04-13 Andrew Cagney <cagney@redhat.com>
31
32 * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead
33 of gdbarch_num_regs.
34
ef6e7e13
AC
352003-04-13 Andrew Cagney <cagney@redhat.com>
36
37 * frame.h: Mention what replaced what in "struct frame_info".
38 * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and
39 deprecated_update_frame_base_hack and
40 deprecated_update_frame_pc_hack.
41 * hppa-tdep.c: Ditto.
42
61fbb938
DJ
432003-04-13 Daniel Jacobowitz <drow@mvista.com>
44
45 * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments
46 to read_reg and update its comment. Remove regnum member.
47 * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval.
48 Don't call read_reg when setting in_reg. Call read_reg to get
49 the frame base if it's in a register. Return the register number
50 on the stack instead of in the context. Remove extra arguments
51 to read_reg.
52 * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments.
53 (dwarf2_evaluate_loc_desc): Call value_from_register. Expect
54 the register number on the expression stack.
55 (needs_frame_read_reg): Remove extra arguments.
56
0d53c4c4
DJ
572003-04-13 Daniel Jacobowitz <drow@mvista.com>
58
59 * dwarf2expr.c (dwarf2_read_address): Renamed from read_address;
60 made non-static.
61 (execute_stack_op): All callers updated.
62 * dwarf2expr.h: Add prototype for dwarf2_read_address.
63 * dwarf2loc.c (find_location_expression): New function.
64 (dwarf_expr_frame_base): Call it.
65 (dwarf2_evaluate_loc_desc): Handle 0-length location expressions.
66 (dwarf2_tracepoint_var_ref): New function, broken out from
67 locexpr_tracepoint_var_ref.
68 (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref.
69 Make static.
70 (loclist_read_variable, loclist_read_needs_frame): New functions.
71 (loclist_describe_location, loclist_tracepoint_var_ref): New
72 functions.
73 (dwarf2_loclist_funcs): New struct location_funcs.
74 * dwarf2loc.h (struct dwarf2_loclist_baton): New type.
75 (struct dwarf2_locexpr_baton): Add comments.
76 (dwarf2_loclist_funcs): New extern.
77 * dwarf2read.c (struct comp_unit_head): Remove DIE member, add
78 base_address and base_known.
79 (dwarf_loc_buffer): New variable.
80 (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size.
81 (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros.
82 (dwarf2_has_info): Initialize dwarf_loc_offset.
83 (dwarf2_build_psymtabs): Read in .debug_loc.
84 (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and
85 DWARF_LOC_SIZE.
86 (psymtab_to_symtab_1): Likewise. Move base address calculation
87 here, from...
88 (dwarf2_get_pc_bounds): ... here. Use the base address from
89 cu_header.
90 (dwarf2_symbol_mark_computed): Handle location lists.
91
6aca59a3
DJ
922003-04-13 Daniel Jacobowitz <drow@mvista.com>
93
94 * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode
95 if the linkage name demangled successfully.
96
aca1fcd0
MK
972003-04-13 Mark Kettenis <kettenis@gnu.org>
98
97095916
MK
99 * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours,
100 disassmbly_flavour): Removed.
101
aca1fcd0
MK
102 * x86-64-tdep.c (gdb_print_insn_x86_64): Removed.
103
562a961f
MK
1042003-04-13 Mark Kettenis <kettenis@gnu.org>
105
106 * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed.
107
bd013d54
AC
1082003-04-12 Andrew Cagney <cagney@redhat.com>
109
110 * frame.h (struct frame_info): Move definition from here ...
111 * frame.c (struct frame_info): ... to here.
112
167ef8b1
AC
1132003-04-12 Andrew Cagney <cagney@redhat.com>
114
115 * gdbthread.h (save_infrun_state): Delete parameter
116 "prev_func_start".
117 (struct thread_info): Delete field "prev_func_start".
118 (load_infrun_state): Ditto.
119 * thread.c (load_infrun_state, save_infrun_state): Update.
120 * infrun.c (prev_func_start): Delete variable.
121 (context_switch, init_wait_for_inferior): Update.
122 (stop_stepping, keep_going): Update.
123
da3331ec
AC
1242003-04-12 Andrew Cagney <cagney@redhat.com>
125
126 * gdbarch.sh: Add missing opaque declarations.
127 * gdbarch.h: Regnerate.
128 * symtab.h: Add missing opaque declarations.
129 * value.h, target.h, symfile.h, stabsread.h: Ditto.
130 * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto.
131 * srec.h, solib-svr4.h, source.h, inferior.h: Ditto.
132 * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto.
133 * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto.
134 * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto.
135 * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto.
136 * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto.
137 * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto.
138 * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto.
139 * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto.
140 * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto.
141 * cli/cli-setshow.h, cli/cli-script.h: Ditto.
142
18adea3f
AC
1432003-04-11 Andrew Cagney <cagney@redhat.com>
144
145 * frame.c (get_frame_id): Return this frame's "id".
146 (legacy_get_prev_frame): Set prev's frame ID code_addr to the
147 function start.
148 (legacy_saved_regs_this_id): Replace function body with
149 internal-error.
150 (deprecated_frame_xmalloc): Mark the frame ID as valid, use
151 FRAME_OBSTACK_ZALLOC.
152 (create_new_frame): Mark the frame ID as valid.
153
2252e863
AO
1542003-04-11 Alexandre Oliva <aoliva@redhat.com>
155
156 * Makefile.in (libbfd_h): Added missing setting.
157 * mips-tdep.c (mips_gdbarch_init): Set disassembler_options
158 according to the selected ABI.
159
a8245ab8
JJ
1602003-04-11 Jeff Johnston <jjohnstn@redhat.com>
161
162 * gdb_indent.sh: Recognize pid_t and sigset_t as types.
163
6913c89a
AC
1642003-04-11 Andrew Cagney <cagney@redhat.com>
165
166 * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate
167 SAVED_PC_AFTER_CALL.
168 * gdbarch.h, gdbarch.c: Regenerate.
169 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
170 * x86-64-tdep.c (x86_64_init_abi): Update.
171 * vax-tdep.c (vax_gdbarch_init): Update.
172 * v850-tdep.c (v850_gdbarch_init): Update.
173 * sparc-tdep.c (sparc_gdbarch_init): Update.
174 * sh-tdep.c (sh_gdbarch_init): Update.
175 * s390-tdep.c (s390_gdbarch_init): Update.
176 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
177 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
178 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
179 * mips-tdep.c (mips_gdbarch_init): Update.
180 * mcore-tdep.c (mcore_gdbarch_init): Update.
181 * m68k-tdep.c (m68k_gdbarch_init): Update.
182 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
183 * ia64-tdep.c (ia64_gdbarch_init): Update.
184 (ia64_saved_pc_after_call): Update declaration.
185 * i386ly-tdep.c (i386lynx_init_abi): Update.
186 * i386-tdep.c (i386_gdbarch_init): Update.
187 * hppa-tdep.c (hppa_gdbarch_init): Update.
188 * h8300-tdep.c (h8300_gdbarch_init): Update.
189 * frv-tdep.c (frv_gdbarch_init): Update.
190 * cris-tdep.c (cris_gdbarch_init): Update.
191 * avr-tdep.c (avr_gdbarch_init): Update.
192 * arm-tdep.c (arm_gdbarch_init): Update.
193 * alpha-tdep.c (alpha_gdbarch_init): Update.
194 * ns32knbsd-nat.c (frame_num_args): Update.
195 * ns32k-tdep.c (umax_frame_num_args): Update.
196 * mips-tdep.c (mips_init_frame_pc_first): Update.
197 * infrun.c (step_over_function): Update.
198 * i386-linux-tdep.c (skip_hurd_resolver): Update.
199 * i386-interix-tdep.c (i386_interix_back_one_frame): Update.
200 * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
201 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
202 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
203 * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
204 * arm-linux-tdep.c (skip_hurd_resolver): Update.
205 * arch-utils.c (init_frame_pc_default): Update.
206 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
207 * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update
208 declaration.
209
38edeab8
AC
2102003-04-11 Andrew Cagney <cagney@redhat.com>
211
212 * i387-tdep.c: Update copyright.
213 (i387_to_double): Delete function.
214 (double_to_i387): Delete function.
215
81f8a206
AC
2162003-04-10 Andrew Cagney <cagney@redhat.com>
217
218 * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the
219 frame's function's address. Simplify.
220 (d10v_frame_unwind_cache): Check that the frame's function is
221 non-zero.
222
6e691f7a
JB
2232003-04-10 Jim Blandy <jimb@redhat.com>
224
225 * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted
226 call to set_gdbarch_deprecated_push_arguments.
227
7f78e237
AC
2282003-04-10 Andrew Cagney <cagney@redhat.com>
229
230 * frame.c (fprint_frame_id): New function.
231 (fprint_frame_type, fprint_frame): New function.
232 (frame_pc_unwind, frame_func_unwind): Add/update trace code.
233 (create_sentinel_frame, get_frame_id): Ditto.
234 (frame_id_p, frame_id_eq): Ditto.
235 (frame_id_inner, create_new_frame): Ditto.
236 (legacy_get_prev_frame, get_prev_frame): Ditto.
237 (deprecated_update_frame_pc_hack): Ditto.
238 (frame_register_unwind): Ditto.
239 (deprecated_update_frame_base_hack): Ditto.
240
f870b49b
CV
2412003-04-10 Corinna Vinschen <vinschen@redhat.com>
242
243 * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
244 (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new
245 frame_chain function.
246 * Makefile.in: Add dependencies due to above change.
247
7c86889b
CV
2482003-04-10 Corinna Vinschen <vinschen@redhat.com>
249
250 * blockframe.c (legacy_frame_chain_valid): Move call to
251 DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and
252 inside_entry_file.
253
d0a55772
AC
2542003-04-09 Andrew Cagney <cagney@redhat.com>
255
256 * frame.h (struct frame_id): Replace "pc" and "base" with
257 "stack_addr" and "code_addr". Update comments.
258 (frame_id_build): Update parameter names and comment.
259 (struct frame_info): Replace "id_p" and "id" with "this_id".
260 * dummy-frame.c (dummy_frame_this_id): Update.
261 * breakpoint.c (print_one_breakpoint): Update.
262 * frame.c (get_frame_id): Update.
263 (get_frame_base, frame_id_build): Update.
264 (create_sentinel_frame, legacy_get_prev_frame): Update.
265 (deprecated_update_frame_base_hack): Update.
266 (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID.
267 (frame_id_inner): Ditto.
268
ac16bf07
AC
2692003-04-09 Andrew Cagney <cagney@redhat.com>
270
271 * defs.h (gdb_print_host_address): Make "addr" parameter a
272 pointer constant.
273 * utils.c (gdb_print_host_address): Update.
274
366cfc9e
KB
2752003-04-09 Kevin Buettner <kevinb@redhat.com>
276
277 * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
278 register number for R0 is 0.
279
cd983b5c
JB
2802003-04-09 J. Brobecker <brobecker@gnat.com>
281
282 * frame.h (struct gdbarch): Add opaque structure definition
283 to avoid a compilation warning on LynxOS 4.0.
284
d1340264
AC
2852003-04-09 Andrew Cagney <cagney@redhat.com>
286
287 * frame.h (struct frame_info): Delete field "pc". Replace
288 "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc"
289 structure.
290 * frame.c (frame_pc_unwind): Update.
291 (create_sentinel_frame): Do not set "pc".
292 (get_prev_frame): Do not set "pc". Use frame_pc_unwind.
293 (get_frame_pc): Call frame_pc_unwind.
294 (deprecated_update_frame_pc_hack): Update.
295 (create_new_frame): Use "pc" not "->pc".
296
90a6fffb
AC
2972003-04-09 Andrew Cagney <cagney@redhat.com>
298
299 * frame.c (get_frame_id): Eliminate code updating "frame".
300 (legacy_get_prev_frame): Ditto.
301 (get_frame_base): Return id.base directly.
302 (deprecated_update_frame_base_hack): Update "id.base".
303 * frame.h (struct frame_info): Delete field "frame".
304
2fbce691
AC
3052003-04-09 Andrew Cagney <cagney@redhat.com>
306
307 * NEWS: Mention that the "Sequent family" is obsolete.
308 * configure.tgt: Obsolete i[3456]86-sequent-bsd*,
309 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
310 * configure.host: Obsolete i[3456]86-sequent-bsd*,
311 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
312 * config/i386/tm-ptx4.h: Obsolete file.
313 * config/i386/tm-ptx.h: Obsolete file.
314 * symm-tdep.c: Obsolete file.
315 * config/i386/symmetry.mt: Obsolete file.
316 * config/i386/tm-symmetry.h: Obsolete file.
317 * symm-nat.c: Obsolete file.
318 * config/i386/nm-symmetry.h: Obsolete file.
319 * config/i386/xm-symmetry.h: Obsolete file.
320 * config/i386/symmetry.mh: Obsolete file.
321 * config/i386/nm-ptx4.h: Obsolete file.
322 * config/i386/ptx4.mh: Obsolete file.
323 * config/i386/ptx.mt: Obsolete file.
324 * config/i386/ptx.mh: Obsolete file.
325 * config/i386/xm-ptx4.h: Obsolete file.
326 * config/i386/xm-ptx.h: Obsolete file.
327
78c43945
AC
3282003-04-09 Andrew Cagney <cagney@redhat.com>
329
330 Obsolete mips*-*-mach3*.
331 * NEWS: Mention that mips*-*-mach3* is obsolete.
332 * m3-nat.c: Obsolete file.
333 * config/nm-m3.h: Obsolete file.
334 * config/mips/tm-mipsm3.h: Obsolete file.
335 * config/mips/mipsm3.mt: Obsolete file.
336 * config/mips/mipsm3.mh: Obsolete file.
337 * config/mips/xm-mipsm3.h: Obsolete file.
338 * mipsm3-nat.c: Obsolete file.
339 * configure.host: Obsolete mips-dec-mach3*.
340 * configure.tgt: Obsolete mips*-*-mach3*.
341
f1908289
AC
3422003-04-09 Andrew Cagney <cagney@redhat.com>
343
344 * doublest.h: Update copyright.
345 (deprecated_store_floating, deprecated_extract_floating): Rename
346 store_floating and extract_floating. Update comments.
347 * doublest.c: Update copyright.
348 (extract_floating_by_length): Replace extract_floating.
349 (store_floating_by_length): Replace store_floating.
350 (deprecated_extract_floating): New function.
351 (deprecated_store_floating): New function.
352 (extract_typed_floating): Call extract_floating_by_length.
353 (store_typed_floating): Call store_floating_by_length.
354 * x86-64-tdep.c (x86_64_store_return_value): Update.
355 * sh-tdep.c (sh3e_sh4_extract_return_value): Update.
356 (sh64_extract_return_value): Update.
357 (sh_sh4_register_convert_to_virtual): Update.
358 (sh_sh64_register_convert_to_virtual): Update.
359 (sh_sh4_register_convert_to_raw): Update.
360 (sh_sh64_register_convert_to_raw): Update.
361 * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update.
362 (rs6000_register_convert_to_raw): Update.
363 * ia64-tdep.c (ia64_register_convert_to_virtual): Update.
364 (ia64_register_convert_to_raw): Update.
365 * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update.
366 (REGISTER_CONVERT_TO_VIRTUAL): Update.
367 * arm-linux-tdep.c (arm_linux_push_arguments): Update.
368 * alpha-tdep.c (alpha_register_convert_to_virtual): Update.
369 (alpha_register_convert_to_raw): Update.
370
4443bd83
AC
3712003-04-08 Andrew Cagney <cagney@redhat.com>
372
373 * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate.
374 * gdbarch.h, gdbarch.c: Re-generate.
375 * d10v-tdep.c (d10v_saved_pc_after_call): Delete function.
376 (d10v_gdbarch_init): Do not set saved_pc_after_call.
377 * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P
378 conditionally, use frame_pc_unwind as an alternative. Add
379 comments.
380 * arch-utils.c (init_frame_pc_default): Only call
381 SAVED_PC_AFTER_CALL when available.
382
c0236d92
EZ
3832003-04-08 Elena Zannoni <ezannoni@redhat.com>
384
385 * infrun.c (stop_soon): Rename from stop_soon_quietly.
386 (struct inferior_status): Rename stop_soon_quietly field to stop_soon.
387 (clear_proceed_status): Rename stop_soon_quietly to stop_soon.
388 (start_remote): Ditto.
389 (handle_inferior_event): Ditto.
390 (save_inferior_status): Ditto.
391 (restore_inferior_status): Ditto.
392 * infcmd.c (attach_command): Ditto.
393 * fork-child.c (startup_inferior): Ditto.
394 * inferior.h (stop_soon): Rename from stop_soon_quietly.
395 * alpha-tdep.c (heuristic_proc_start): Ditto.
396 * mips-tdep.c (heuristic_proc_start): Ditto.
397 * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto.
398 * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
399 * solib-osf.c (osf_solib_create_inferior_hook): Ditto.
400 * solib-irix.c (irix_solib_create_inferior_hook): Ditto.
401 * remote-vx.c (vx_create_inferior): Ditto.
402
4032003-04-08 Elena Zannoni <ezannoni@redhat.com>
404
405 * infrun.c (stop_soon_quietly): Make it an enum, to better
406 override the default behavior of handle_inferior_event.
407 (clear_proceed_status): Update uses of stop_soon_quietly to
408 reflect that it is now an enum.
409 (start_remote): Ditto.
410 (handle_inferior_event): Change logic a bit if stop_soon_quietly
411 is set to handle the new GNU/Linux kernel behavior for
412 attach/sigstop. Update uses of stop_soon_quietly.
413 * inferior.h (enum stop_kind): New enum.
414 * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP.
415 Reset normal handle_inferior_event behavior, afterwards.
416 * fork-child.c (startup_inferior): Update.
417 * alpha-tdep.c (heuristic_proc_start): Update.
418 * solib-svr4.c (svr4_solib_create_inferior_hook): Update.
419 * solib-sunos.c (sunos_solib_create_inferior_hook): Update.
420 * solib-osf.c (osf_solib_create_inferior_hook): Update.
421 * solib-irix.c (irix_solib_create_inferior_hook): Update.
422 * remote-vx.c (vx_create_inferior): Update.
423 * mips-tdep.c (heuristic_proc_start): Update.
424
1211bce3
EZ
4252003-04-07 Elena Zannoni <ezannoni@redhat.com>
426
427 * disasm.c (dump_insns): Move variables inside loop, or they will
428 be freed more than once, causing wild memory corruptions.
429 (gdb_disassembly): Look for the substring "-thread",
430 instead of "-threads" in the target name, to make sure to find
431 the 'multi-thread' target. Also, make sure we do the right thing
432 with the "core" target.
433
f0ef6b29
KB
4342003-04-07 Kevin Buettner <kevinb@redhat.com>
435
436 * mips-tdep.c (mips_print_fp_register): New function, created from
437 do_fp_register_row(). Registers are now (also) printed as hex.
438 Only one register is printed per row.
439 (mips_print_register, do_fp_register_row): Print floating point
440 registers with mips_print_fp_register().
441
8cf71652
AC
4422003-04-06 Andrew Cagney <cagney@redhat.com>
443
5e488a7b
AC
444 * valprint.h (inspect_it): Add extern declaration.
445 * objc-lang.c (value_nsstring): Avoid assignment inside of "if".
446 (selectors_info, classes_info): Ditto.
447 (find_objc_msgcall): Fix indentation.
448 (objc_printstr): Delete extern declarations.
449
8cf71652
AC
450 * arm-tdep.c (arm_frameless_function_invocation): Fix typo.
451
e6ba3bc9
AC
4522003-04-06 Andrew Cagney <cagney@redhat.com>
453
454 * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid.
455 Update comment.
456 * frame.c (legacy_saved_regs_this_id): Update.
457 (legacy_get_prev_frame): Update.
458 * xstormy16-tdep.c: Update comment.
459 * sparc-tdep.c (sparc_frame_chain): Update comment.
460 * blockframe.c (legacy_frame_chain_valid): Update.
461
55e1d7e7
AC
4622003-04-06 Andrew Cagney <cagney@redhat.com>
463
996179ee
AC
464 * valprint.c (val_print_type_code_int): Delete #ifdef
465 PRINT_TYPELESS_INTEGER code.
466
55e1d7e7
AC
467 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
468 (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial
469 multi-arch definition.
470 * gdbarch.h: Re-generate.
471
43bd9a9e
AC
4722003-04-05 Andrew Cagney <cagney@redhat.com>
473
474 Eliminate FRAME_FIND_SAVED_REGS.
475 * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp):
476 Change FSR parameter to a pointer.
477 * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP):
478 Assume FSR parameter is a pointer.
479 * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp):
480 Make fsr a pointer.
481 * hppa-tdep.c (hppa_frame_find_saved_regs): New function.
482 (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make
483 saved_regs a pointer.
484 (hppa_frame_saved_pc): Ditto.
485 (find_dummy_frame_regs): Make frame_saved_regs a pointer
486 (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a
487 pointer.
488 (restore_pc_queue): Make fsr a pointer.
489 (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer.
490 (hppa_frame_chain): Make saved_regs a pointer, call
491 hppa_frame_init_saved_regs.
492 * sparc-tdep.c: Include "gdb_assert.h".
493 (sparc_frame_find_saved_regs): Replace internal_error with
494 gdb_assert.
495 * remote-vxsparc.c (vx_read_register): Delete reference to
496 FRAME_FIND_SAVED_REGS.
497 * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS.
498 * gdbarch.h: Regenerate.
499 * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
500 (deprecated_get_frame_saved_regs): Delete declaration.
501 (struct frame_saved_regs): Delete definition.
502 * frame.c (deprecated_get_frame_saved_regs): Delete function.
503 * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare.
504 (hppa_frame_find_saved_regs): Delete declaration.
505 (FRAME_FIND_SAVED_REGS): Delete macro.
506 (DEPRECATED_FRAME_INIT_SAVED_REGS): Define.
507 * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete
508 FRAME_FIND_SAVED_REGS in comment.
509
be41e9f4
AC
5102003-04-05 Andrew Cagney <cagney@redhat.com>
511
512 * frame.c (frame_func_unwind, get_frame_func): New functions.
513 * frame.h (get_frame_func, frame_func_unwind): Declare.
514 (struct frame_info): Add field "prev_func" for caching the
515 previous frame's function address.
516 * arm-tdep.c (arm_frameless_function_invocation): Combine
517 get_pc_function_start and get_frame_pc into get_frame_func.
518 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
519 (sh64_nofp_frame_init_saved_regs): Ditto.
520 * s390-tdep.c (s390_function_start): Ditto.
521 * rs6000-tdep.c (rs6000_pop_frame): Ditto.
522 (rs6000_frameless_function_invocation): Ditto.
523 (rs6000_frame_saved_pc): Ditto.
524 * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto.
525 * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto.
526 * i386-tdep.c (i386_frameless_signal_p): Ditto.
527 (i386_frame_init_saved_regs): Ditto.
528 * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto.
529 * d10v-tdep.c (d10v_frame_unwind_cache): Combine
530 get_pc_function_start and frame_pc_unwind into frame_func_unwind.
531 * cris-tdep.c (cris_frame_init_saved_regs): Ditto.
532 * blockframe.c (frameless_look_for_prologue): Ditto.
533
a01dd7cc
AC
5342003-04-05 Andrew Cagney <cagney@redhat.com>
535
536 * frame.c (legacy_get_prev_frame): Link prev to next at the
537 function start. Update comments.
538
5e5592e6
AC
5392003-04-05 Andrew Cagney <cagney@redhat.com>
540
541 * frame.c (get_frame_id): Update comment.
542 (legacy_get_prev_frame): Update comment.
543 * gdbarch.sh: Delete check for EXTRA_FRAME_INFO.
544 * gdbarch.h: Regenerate.
545 * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete.
546 * frame.h: Delete #ifdef EXTRA_FRAME_INFO code.
547
6fba5002
AC
5482003-04-05 Andrew Cagney <cagney@redhat.com>
549
550 * stack.c (print_frame_info): Use get_frame_pc.
551
7df05f2b
AC
5522003-04-04 Andrew Cagney <cagney@redhat.com>
553
554 * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set
555 the frame's type from the unwinder.
556 (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME.
557 (create_new_frame, legacy_get_prev_frame): When the unwinder's
558 type isn't UNKNOWN_FRAME, initalize "type" from the unwinder.
559 (get_frame_base_address): Use get_frame_type.
560 (get_frame_locals_address, get_frame_args_address): Ditto.
561 (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE.
562 * frame.h (enum frame_type): Add UNKNOWN_FRAME.
563 (struct frame_info): Add comment explaining why the frame contains
564 a "type" field.
565 * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME.
566 * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME.
567 * sentinel-frame.c (sentinel_frame_unwinder): Set the type to
568 NORMAL_FRAME.
569 * frame-unwind.h: Include "frame.h".
570 (struct frame_unwind): Add "type" field.
571 * Makefile.in (frame_unwind_h): Add $(frame_h).
572
11889732
AC
5732003-04-04 Andrew Cagney <cagney@redhat.com>
574
575 * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build.
576 * dummy-frame.c (dummy_frame_this_id): Use frame_id_build.
577 * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and
578 get_frame_base.
579 (d10v_unwind_dummy_id): Use frame_id_build.
580 * frame.c (find_frame_sal): Use get_frame_pc.
581 (create_new_frame): Use deprecated_update_frame_pc_hack and
582 deprecated_update_frame_base_hack.
583 (create_sentinel_frame): Add comment about ->pc going away.
584 (get_prev_frame): Add comment about ->pc going away.
585 (legacy_get_prev_frame): Use get_frame_base, get_frame_pc,
586 frame_id_build, deprecated_update_frame_pc_hack and
587 deprecated_update_frame_base_hack.
588 (select_frame): Use get_frame_pc.
589 (legacy_saved_regs_this_id): Use frame_id_build.
590
50c46a0d
EZ
5912003-04-04 Elena Zannoni <ezannoni@redhat.com>
592
593 * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the
594 signed integer case.
595 (classify_argument): Handle enumerations and references.
596
50bbdbd9
AC
5972003-04-04 Andrew Cagney <cagney@redhat.com>
598
599 * frame.c (create_sentinel_frame): Initialize the sentinel frame's
600 ID to NULL.
601
36018d2e
AF
6022003-04-01 Adam Fedor <fedor@gnu.org>
603
604 * gdb/objc-lang.c (selectors_info): Replace calls to
605 SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with
606 SYMBOL_NATURAL_NAME.
607 (classes_info, find_methods): Likewise.
608
35cec841
KB
6092003-04-03 Kevin Buettner <kevinb@redhat.com>
610
611 * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
612 ``mach'' to the value determined by bfd_default_set_arch_mach().
613
43136899
BR
6142003-04-02 Bob Rossi <bob_rossi@cox.net>
615
616 * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o".
617 (SUBDIR_MI_SRCS): Add "mi-cmd-file.c".
618 (mi-cmd-file.o): Update dependencies.
619
040b99fd
KB
6202003-04-01 Kevin Buettner <kevinb@redhat.com>
621
622 * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
623 (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
624
9a3d7dfd
AF
6252003-04-01 Adam Fedor <fedor@gnu.org>
626
627 * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
628 * language.h (struct language_defn): Add la_demangle.
629 (language_demangle): Declare.
630 * language.c (language_demangle): New function.
631 (unk_lang_demangle): Likewise.
632 (unknown_language_defn, auto_language_defn, local_language_defn):
633 Add ukn_lang_demangle.
634 * ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
635 * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
636 * c-lang.c (c_language_defn, asm_language_defn): Likewise.
637 (cplus_language_defn): Add cplus_demangle for la_demangle element.
638 * jv-lang.c (java_demangle): New function
639 (java_language_defn): Use it for la_demangle element.
640 * objc-lang.c (objc_demangle): Add options argument
641 (objc_language_defn): Use objc_demangle for la_demangle element.
642 * maint.c (maintenance_demangle): Replace switch with
643 call to language_demangle.
644 * utils.c (fprintf_symbol_filtered): Likewise.
645
5e074003
AC
6462003-04-01 Andrew Cagney <cagney@redhat.com>
647
648 * printcmd.c (print_frame_nameless_args): Delete #ifdef
649 NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
650 PRINT_TYPELESS_INTEGER.
651 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
652 PUSH_RETURN_ADDRESS.
653
270cb5d6
AC
6542003-04-01 Andrew Cagney <cagney@redhat.com>
655
656 * Makefile.in (d10v-tdep.o): Update dependencies.
657 * d10v-tdep.c: Include "frame-base.h".
658 (d10v_frame_unwind): Make constant.
659 (d10v_frame_base_address): New function.
660 (d10v_frame_base): New variable.
661 (d10v_gdbarch_init): Set frame_base default.
662 (struct d10v_unwind_cache): Add the field "prev_sp". Update
663 comment for base.
664 (d10v_frame_unwind_cache): Set and use "prev_sp".
665 (d10v_frame_this_id): Use the previous frame's inner most stack
666 address and this frame's func address for the frame ID. Use
667 frame_id_build. Don't analyze beyond the current instruction.
668
6bfb3e36
AC
6692003-04-01 Andrew Cagney <cagney@redhat.com>
670
671 * frame.h (get_frame_locals_address, get_frame_args_address):
672 Refer to the base address, instead of the address of the first
673 local or parameter.
674
da62e633
AC
6752003-04-01 Andrew Cagney <cagney@redhat.com>
676
677 Add frame debug info addresses:
678 * frame-base.c: New file.
679 * frame-base.h: New file.
680 * frame.h (struct frame_base): Add opaque declaration.
681 (get_frame_base): Update comment.
682 (get_frame_base_address): Declare.
683 (get_frame_locals_address): Declare.
684 (get_frame_args_address): Declare.
685 (struct frame_info): Add "base" and "base_cache". Update
686 comments on the unwinder.
687 * frame.c: Include "frame-base.h".
688 (get_frame_locals_address): New function.
689 (get_frame_base_address): New function.
690 (get_frame_args_address): New function.
691 * findvar.c (read_var_value): Use get_frame_locals_address and
692 get_frame_args_address.
693 * stack.c (frame_info): Use get_frame_locals_address and
694 get_frame_args_address.
695 (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
696 moved to "frame-base.c".
697 * printcmd.c (print_frame_nameless_args): Ditto.
698 * symtab.h (address_class): Update comments.
699 * dwarf2loc.c (dwarf_expr_frame_base): Add note about
700 get_frame_base_address.
701 * dwarf2expr.c (execute_stack_op): Ditto.
702 * Makefile.in (frame_base_h): Define.
703 (frame.o): Update dependencies.
704 (frame-base.o): Add dependencies.
705 (SFILES): Add frame-base.c.
706 (COMMON_OBS): Add frame-base.o.
707
3d30e9c2
AC
7082003-04-01 Andrew Cagney <cagney@redhat.com>
709
710 * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
711 CALL_DUMMY_LENGTH): Ditto.
712 * gdbarch.c: Re-generate.
713 * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
714 (CALL_DUMMY_LENGTH): Delete macro.
715 * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
716 * arm-tdep.c (arm_gdbarch_init): Ditto.
717 * avr-tdep.c (avr_gdbarch_init): Ditto.
718 * cris-tdep.c (cris_gdbarch_init): Ditto.
719 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
720 * frv-tdep.c (frv_gdbarch_init): Ditto.
721 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
722 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
723 * i386-tdep.c (i386_gdbarch_init): Ditto.
724 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
725 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
726 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
727 * mips-tdep.c (mips_gdbarch_init): Ditto.
728 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
729 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
730 * s390-tdep.c (s390_gdbarch_init): Ditto.
731 * sh-tdep.c (sh_gdbarch_init): Ditto.
732 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
733 * v850-tdep.c (v850_gdbarch_init): Ditto.
734 * vax-tdep.c (vax_gdbarch_init): Ditto.
735 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
736
ce0c7262
CV
7372003-04-01 Corinna Vinschen <vinschen@redhat.com>
738
739 * frame.c (get_prev_frame): Disable call to inside_entry_file().
740
73dd234f
AC
7412003-04-01 Andrew Cagney <cagney@redhat.com>
742
743 * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
744 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
745 * gdbarch.h, gdbarch.c: Re-generate.
746 * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
747 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
748 * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
749 * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
750 (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
751 * infcmd.c (run_stack_dummy): Simplify assuming
752 CALL_DUMMY_BREAKPOINT_OFFSET_P.
753 * infrun.c (handle_inferior_event): Ditto.
754 * alpha-tdep.c (alpha_gdbarch_init): Do not set
755 call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
756 * arm-tdep.c (arm_gdbarch_init): Ditto.
757 * avr-tdep.c (avr_gdbarch_init): Ditto.
758 * cris-tdep.c (cris_gdbarch_init): Ditto.
759 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
760 * frv-tdep.c (frv_gdbarch_init): Ditto.
761 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
762 * i386-tdep.c (i386_gdbarch_init): Ditto.
763 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
764 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
765 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
766 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
767 * mips-tdep.c (mips_gdbarch_init): Ditto.
768 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
769 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
770 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
771 * s390-tdep.c (s390_gdbarch_init): Ditto.
772 * sh-tdep.c (sh_gdbarch_init): Ditto.
773 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
774 * v850-tdep.c (v850_gdbarch_init): Ditto.
775 * vax-tdep.c (vax_gdbarch_init): Ditto.
776 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
777
97606a13
DJ
7782003-04-01 Daniel Jacobowitz <drow@mvista.com>
779
780 * symfile.c (symfile_relocate_debug_section): Update call to
781 bfd_simple_get_relocated_section_contents.
782
e8ab51f7
AC
7832003-03-31 Andrew Cagney <cagney@redhat.com>
784
785 * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
786 * gdbarch.h, gdbarch.c: Regenerate.
787 * inferior.h (FIX_CALL_DUMMY): Delete macro.
788 * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
789 available.
790 * frame.h (generic_fix_call_dummy): Delete declaration.
791 * dummy-frame.h: Update comment.
792 * dummy-frame.c (generic_fix_call_dummy): Delete function.
793 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
794 fix_call_dummy.
795 * sh-tdep.c (sh_gdbarch_init): Ditto.
796 * s390-tdep.c (s390_gdbarch_init): Ditto.
797 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
798 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
799 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
800 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
801 * i386-tdep.c (i386_gdbarch_init): Ditto.
802 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
803 * frv-tdep.c (frv_gdbarch_init): Ditto.
804 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
805 * cris-tdep.c (cris_gdbarch_init): Ditto.
806 * avr-tdep.c (avr_gdbarch_init): Ditto.
807 * arm-tdep.c (arm_gdbarch_init): Ditto.
808
018d1b48
JB
8092003-03-31 J. Brobecker <brobecker@gnat.com>
810
811 * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
812 (INIT_FRAME_AP): Likewise.
813 (EXTRA_FRAME_INFO): Likewise.
814
e9a2674e
AC
8152003-03-31 Andrew Cagney <cagney@redhat.com>
816
817 * gdbarch.sh: Include "symfile.h".
818 (CALL_DUMMY_ADDRESS): Default to entry_point_address.
819 * gdbarch.h, gdbarch.c: Re-generate.
820 * inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
821 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
822 call_dummy_address, the default is at entry_point_address.
823 * v850-tdep.c (v850_gdbarch_init): Ditto.
824 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
825 * sh-tdep.c (sh_gdbarch_init): Ditto.
826 * s390-tdep.c (s390_gdbarch_init): Ditto.
827 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
828 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
829 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
830 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
831 * i386-tdep.c (i386_gdbarch_init): Ditto.
832 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
833 * frv-tdep.c (frv_gdbarch_init): Ditto.
834 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
835 * cris-tdep.c (cris_gdbarch_init): Ditto.
836 * arm-tdep.c (arm_gdbarch_init): Ditto.
837
e8a8712a
AC
8382003-03-31 Andrew Cagney <cagney@redhat.com>
839
840 * gdbarch.sh (CALL_DUMMY_P): Delete.
841 * gdbarch.h, gdbarch.c: Re-generate.
842 * inferior.h (CALL_DUMMY_P): Delete macro.
843 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
844 * vax-tdep.c (vax_gdbarch_init): Update.
845 * v850-tdep.c (v850_gdbarch_init): Update.
846 * sparc-tdep.c (sparc_gdbarch_init): Update.
847 * sh-tdep.c (sh_gdbarch_init): Update.
848 * s390-tdep.c (s390_gdbarch_init): Update.
849 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
850 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
851 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
852 * mips-tdep.c (mips_gdbarch_init): Update.
853 * mcore-tdep.c (mcore_gdbarch_init): Update.
854 * m68k-tdep.c (m68k_gdbarch_init): Update.
855 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
856 * ia64-tdep.c (ia64_gdbarch_init): Update.
857 * i386-tdep.c (i386_gdbarch_init): Update.
858 * h8300-tdep.c (h8300_gdbarch_init): Update.
859 * frv-tdep.c (frv_gdbarch_init): Update.
860 * d10v-tdep.c (d10v_gdbarch_init): Update.
861 * cris-tdep.c (cris_gdbarch_init): Update.
862 * breakpoint.c (deprecated_frame_in_dummy): Update.
863 * avr-tdep.c (avr_gdbarch_init): Update.
864 * alpha-tdep.c (alpha_gdbarch_init): Update.
865 * arm-tdep.c (arm_gdbarch_init): Update.
866 * dummy-frame.c (dummy_frame_this_id): Update comments.
867 * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
868 * frame.c (legacy_get_prev_frame): Ditto.
869 * valops.c (call_function_by_hand): Delete function.
870 (hand_function_call): Rename to call_function_by_hand
871
ed234cf8
AC
8722003-03-30 Andrew Cagney <cagney@redhat.com>
873
874 2002-11-10 Klee Dienes <kdienes@apple.com>
875 * value.h (struct value): Update comment.
876
06c77151
AC
8772003-03-30 Andrew Cagney <cagney@redhat.com>
878
6c2b5168
AC
879 * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
880 D10V_FP_REGNUM.
881 (d10v_gdbarch_init): Do not set fp_regnum.
882
06c77151
AC
883 * frame.c (get_frame_base): Force ID initialization.
884 (get_prev_frame): Move computation of the frame ID from here ...
885 (get_frame_id): ... to here.
886 (legacy_get_prev_frame): Mark the frame ID as valid.
887 * frame.h (struct frame_info): Add field "id_p".
888
97a1a11c
MK
8892003-03-30 Mark Kettenis <kettenis@gnu.org>
890
891 * i386-tdep.c (i386_store_struct_return): Removed.
892 (i386_gdbarch_init): Don't set deprecated_store_struct_return.
893
6c0e89ed
AC
8942003-03-30 Andrew Cagney <cagney@redhat.com>
895
896 * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
897 * gdbarch.h, gdbarch.c: Regenerate.
898 * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
899 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
900 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
901 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
902 * i386-tdep.c (i386_gdbarch_init): Ditto.
903 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
904 * cris-tdep.c (cris_gdbarch_init): Ditto.
905 * vax-tdep.c (vax_gdbarch_init): Ditto.
906 * s390-tdep.c (s390_gdbarch_init): Ditto.
907 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
908 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
909 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
910 * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
911 * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
912 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
913 * sparc-tdep.c (sparc_gdbarch_init): Update.
914 * sh-tdep.c (sh_gdbarch_init): Update.
915 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
916 * mips-tdep.c (mips_gdbarch_init): Update.
917 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
918 * ia64-tdep.c (ia64_gdbarch_init): Update.
919 * frv-tdep.c (frv_gdbarch_init): Update.
920 * avr-tdep.c (avr_gdbarch_init): Update.
921 * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
922 DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
923 instead of when push_dummy_call is not available.
924
f7dd6af2
AC
9252003-03-30 Andrew Cagney <cagney@redhat.com>
926
927 * infttrace.c: Include "gdbthread.h".
928 (parent_attach_all): Fix function signature.
929 (call_ptrace): Update call.
930 * Makefile.in (infttrace.o): Update dependencies.
931
28f617b3
AC
9322003-03-30 Andrew Cagney <cagney@redhat.com>
933
934 * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
935 PUSH_RETURN_ADDRESS.
936 * gdbarch.h, gdbarch.c: Regenerate.
937 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
938 * x86-64-tdep.c (x86_64_init_abi): Update.
939 * v850-tdep.c (v850_gdbarch_init): Update.
940 * sparc-tdep.c (sparc_gdbarch_init): Update.
941 * sh-tdep.c (sh_gdbarch_init): Update.
942 * s390-tdep.c (s390_gdbarch_init): Update.
943 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
944 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
945 * mips-tdep.c (mips_gdbarch_init): Update.
946 * mcore-tdep.c (mcore_gdbarch_init): Update.
947 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
948 * ia64-tdep.c (ia64_gdbarch_init): Update.
949 * i386-tdep.c (i386_gdbarch_init): Update.
950 * h8300-tdep.c (h8300_gdbarch_init): Update.
951 * frv-tdep.c (frv_gdbarch_init): Update.
952 * cris-tdep.c (cris_gdbarch_init): Update.
953 * avr-tdep.c (avr_gdbarch_init): Update.
954 * arm-tdep.c (arm_gdbarch_init): Update.
955 * valops.c (hand_function_call): Update.
956
4d628cd7
AC
9572003-03-29 Andrew Cagney <cagney@redhat.com>
958
959 * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
960 sizeof_call_dummy_words.
961 * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
962 define.
963 * gdbarch.h: Regenerate.
964
65e82032
AC
9652003-03-29 Andrew Cagney <cagney@redhat.com>
966
967 * infttrace.h: New file.
968 * hpread.c: Include "gdb_assert.h" and "somsolib.h".
969 (hpread_get_textlow): Detect an uninitialized dn_bufp.
970 (hpread_read_doc_function_type): Detect an initialized type1.
971 (hpread_quick_traverse): Initialize mod_name_string.
972 * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
973 (som_solib_get_solib_by_pc): Declare.
974 (so_lib_thread_start_addr): Declare.
975 (no_shared_libraries): Declare.
976 * somread.c (init_import_symbols): Make static. Add forward
977 declaration.
978 * config/pa/nm-hppah.h: Include "infttrace.h" for
979 parent_attach_all.
980 (hppa_insert_hw_watchpoint): Declare.
981 (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
982 * hppah-nat.c: Include "gdb_string.h".
983 (parent_attach_all): Delete extern declaration, moved to
984 "infttrace.h".
985 (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
986 int.
987 (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
988 * Makefile.in (infttrace_h): Define.
989 (hpread.o): Update dependencies.
990 (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
991 * hppa-hpux-tdep.c: Include "gdb_string.h".
992 * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
993 * infrun.c (handle_inferior_event): Always initialize
994 stepped_after_stopped_by_watchpoint. Add default and remove
995 fallthrough in switch statement.
996 * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
997 parameter to int.
998 (hppa_remove_hw_watchpoint): Ditto.
999
2c3bbe77
AC
10002003-03-29 Andrew Cagney <cagney@redhat.com>
1001
1002 * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
1003 offset.
1004
2dd604e7
RE
10052003-03-29 Richard Earnshaw <rearnsha@arm.com>
1006
1007 * arm-tdep.c (arm_push_arguments): Delete.
1008 (struct stack_item): New type.
1009 (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
1010 (arm_store_struct_return): Delte.
1011 (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
1012 arm_push_arguments or arm_store_struct_return.
1013
e8933a55
AC
10142003-03-28 Andrew Cagney <cagney@redhat.com>
1015
1016 * Makefile.in (d10v-tdep.o): Update dependencies.
1017 * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
1018 * d10v-tdep.c: Include "remote.h".
1019 (target_resume_hook): Delete extern declaration.
1020 (target_wait_loop_hook): Ditto.
1021 (tdisassemble_command): Eliminate assignment in "if" conditional.
1022 (d10v_ts2_register_sim_regno): Eliminate call to
1023 legacy_register_sim_regno.
1024 (d10v_ts3_register_sim_regno): Ditto.
1025
6949171e
JJ
10262003-03-28 Jeff Johnston <jjohnstn@redhat.com>
1027
1028 * thread.c: Reindented.
1029 * lin-lwp.c: Ditto.
1030 * linux-proc.c: Ditto.
1031
98c7071f
BR
10322003-03-28 Bob Rossi <bob_rossi@cox.net>
1033
1034 * MAINTAINERS (write after approval): Add myself.
1035
5edc9ca6
TR
10362003-03-27 Theodore A. Roth <troth@openavr.org>
1037
1038 * objc-exp.y: Add missing semi-colons.
1039
378bfd1b
AC
10402003-03-27 Andrew Cagney <cagney@redhat.com>
1041
1042 * regcache.c (write_sp): Delete function and references.
1043 * inferior.h (write_sp): Delete declaration.
1044 * valops.c (hand_function_call): Replace write_sp with
1045 TARGET_WRITE_SP.
1046 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
1047 (sparc_pop_frame): Ditto.
1048
56056df7
AC
10492003-03-27 Andrew Cagney <cagney@redhat.com>
1050
1051 * NEWS: Mention removal of support for hppa*-*-bsd* and
1052 hppa*-*-osf* natives, and hppa*-*-pro* target.
1053 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
1054 * config/pa/xm-pa.h: Obsolete file.
1055 * config/pa/xm-hppab.h: Obsolete file.
1056 * config/pa/nm-hppab.h: Obsolete file.
1057 * config/pa/tm-hppab.h: Obsolete file.
1058 * config/pa/tm-hppao.h: Obsolete file.
1059 * config/pa/nm-hppao.h: Obsolete file.
1060 * config/pa/tm-pro.h: Obsolete file.
1061 * config/pa/hppaosf.mt: Obsolete file.
1062 * config/pa/hppaosf.mh: Obsolete file.
1063 * config/pa/hppapro.mt: Obsolete file.
1064 * config/pa/hppabsd.mt: Obsolete file.
1065 * config/pa/hppabsd.mh: Obsolete file.
1066 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
1067 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
1068 hppa*-*-osf*.
1069
5873a88d
AC
10702003-03-27 Andrew Cagney <cagney@redhat.com>
1071
1072 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
1073 push_arguments. Don't set push_return_address or write_sp.
1074 (d10v_push_dummy_call): Replace d10v_push_arguments.
1075 (d10v_push_return_address, d10v_write_sp): Delete function,
1076 handled by push_dummy_call.
1077
b81774d8
AC
10782003-03-26 Andrew Cagney <cagney@redhat.com>
1079
1080 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
1081 (push_dummy_call): New pure multi-arch replacement with gdbarch,
1082 regcache and dummy_addr parameters.
1083 * gdbarch.h, gdbarch.c: Re-generate.
1084 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
1085 available; assume it will handle stack alignment and return
1086 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
1087 legacy_push_arguments.
1088 (legacy_push_arguments): Rename default_push_arguments.
1089 * value.h (legacy_push_arguments): Rename default_push_arguments.
1090 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
1091 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
1092 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
1093 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
1094 * config/i386/tm-symmetry.h: Update.
1095 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1096 * x86-64-tdep.c (x86_64_init_abi): Update.
1097 * v850-tdep.c (v850_gdbarch_init): Update.
1098 * sparc-tdep.c (sparc_gdbarch_init): Update.
1099 * sh-tdep.c (sh_gdbarch_init): Update.
1100 * s390-tdep.c (s390_gdbarch_init): Update.
1101 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1102 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1103 * mips-tdep.c (mips_gdbarch_init): Update.
1104 * mcore-tdep.c (mcore_gdbarch_init): Update.
1105 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1106 * ia64-tdep.c (ia64_gdbarch_init): Update.
1107 * i386-tdep.c (i386_gdbarch_init): Update.
1108 * hppa-tdep.c (hppa_gdbarch_init): Update.
1109 * h8300-tdep.c (h8300_gdbarch_init): Update.
1110 * frv-tdep.c (frv_gdbarch_init): Update.
1111 * d10v-tdep.c (d10v_gdbarch_init): Update.
1112 * cris-tdep.c (cris_gdbarch_init): Update.
1113 * avr-tdep.c (avr_gdbarch_init): Update.
1114 * arm-tdep.c (arm_gdbarch_init): Update.
1115 * arm-linux-tdep.c (arm_linux_init_abi): Update.
1116 * alpha-tdep.c (alpha_gdbarch_init): Update.
1117
f541410f
DJ
11182003-03-26 Daniel Jacobowitz <drow@mvista.com>
1119
1120 * signals/signals.c (do_target_signal_to_host): Correct realtime
1121 signal range test.
1122
69f567ae
DJ
11232003-03-26 Daniel Jacobowitz <drow@mvista.com>
1124
1125 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
1126 (struct sal_chain, map_catch_names): Remove.
1127 (catch_exception_command_1): Don't call
1128 handle_gnu_4_16_catch_command.
1129
d5d14a5a
DJ
11302003-03-26 Daniel Jacobowitz <drow@mvista.com>
1131
1132 From Mark Dettinger <dettinge@de.ibm.com>:
1133 * dwarf2cfi.c (read_2u): Increment pointer by two.
1134
bdd73e22
DJ
11352003-03-26 Daniel Jacobowitz <drow@mvista.com>
1136
1137 * signals/signals.c: Fix typos in last change.
1138
960cb555
DJ
11392003-03-26 Daniel Jacobowitz <drow@mvista.com>
1140
1141 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
1142 not already defined. Use __SIGRTMIN if available.
1143 (target_signal_from_host): Remove SIGRTMIN block.
1144 (do_target_signal_to_host): Remove SIGRTMIN block; check that
1145 the signal is within the realtime range.
1146
f636b87d
AF
11472003-03-25 Adam Fedor <fedor@gnu.org>
1148
1149 * Makefile.in (infrun.o): Add $(language_h)
1150 * infrun.c (handle_inferior_event): Use skip_language_trampoline
1151 for language specific trampolines.
1152 * language.h (struct language_defn): Add skip_trampoline.
1153 (skip_language_trampoline): Declare.
1154 * language.c (unk_lang_trampoline, skip_language_trampoline):
1155 New functions.
1156 (unknown_language_defn, auto_language_defn, local_language_defn):
1157 Add ukn_lang_trampoline.
1158 * ada-lang.c (ada_language_defn): Add NULL for language
1159 specific skip_trampoline.
1160 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
1161 scm-lang.c: Likewise.
1162 * objc-lang.c (objc_skip_trampoline): New function.
1163 (objc_language_defn): Add objc_skip_trampoline.
1164
28f617b3 11652003-03-25 Andrew Cagney <cagney@redhat.com>
270c3b1d
AC
1166
1167 * frame.c (get_prev_frame): Delay validating a frame's ID -
1168 non-NULL, didn't go backwards - until an attempt to unwind it to
1169 the previous frame.
1170
f933a9c5
AC
11712003-03-25 Andrew Cagney <cagney@redhat.com>
1172
1173 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
1174 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
1175 * gdbarch.h, gdbarch.c: Re-generate.
1176 * config/sparc/tm-sparc.h
1177 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
1178 * sparc-tdep.c (sparc_gdbarch_init): Set
1179 deprecated_extra_stack_alignment_needed.
1180 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
1181 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
1182 extra_stack_alignment_needed.
1183 * v850-tdep.c (v850_gdbarch_init): Ditto.
1184 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1185 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1186 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1187 * cris-tdep.c (cris_gdbarch_init): Ditto.
1188 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1189 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1190
4183d812
AC
11912003-03-25 Andrew Cagney <cagney@redhat.com>
1192
1193 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
1194 STORE_STRUCT_RETURN.
1195 * gdbarch.h, gdbarch.c: Regenerate.
1196 * d10v-tdep.c (d10v_store_struct_return): Delete function.
1197 (d10v_push_arguments): Set the struct return register.
1198 (d10v_gdbarch_init): Update.
1199 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1200 * x86-64-tdep.c (x86_64_init_abi): Update.
1201 * vax-tdep.c (vax_gdbarch_init): Update.
1202 * v850-tdep.c (v850_gdbarch_init): Update.
1203 * sparc-tdep.c (sparc_gdbarch_init): Update.
1204 * sh-tdep.c (sh_gdbarch_init): Update.
1205 * s390-tdep.c (s390_gdbarch_init): Update.
1206 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1207 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1208 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1209 * mips-tdep.c (mips_gdbarch_init): Update.
1210 * mcore-tdep.c (mcore_gdbarch_init): Update.
1211 * m68k-tdep.c (m68k_gdbarch_init): Update.
1212 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1213 * ia64-tdep.c (ia64_gdbarch_init): Update.
1214 * i386-tdep.c (i386_gdbarch_init): Update.
1215 * hppa-tdep.c (hppa_gdbarch_init): Update.
1216 * h8300-tdep.c (h8300_gdbarch_init): Update.
1217 * frv-tdep.c (frv_gdbarch_init): Update.
1218 * cris-tdep.c (cris_gdbarch_init): Update.
1219 * avr-tdep.c (avr_gdbarch_init): Update.
1220 * arm-tdep.c (arm_gdbarch_init): Update.
1221 * alpha-tdep.c (alpha_gdbarch_init): Update.
1222
1bf6d5cc
AC
12232003-03-25 Andrew Cagney <cagney@redhat.com>
1224
1225 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
1226 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
1227 CALL_DUMMY_STACK_ADJUST with a predicate variable.
1228 * gdbarch.h, gdbarch.c: Regenerate.
1229 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
1230 call_dummy_stack_adjust_p.
1231 * vax-tdep.c (vax_gdbarch_init): Ditto.
1232 * v850-tdep.c (v850_gdbarch_init): Ditto.
1233 * sh-tdep.c (sh_gdbarch_init): Ditto.
1234 * s390-tdep.c (s390_gdbarch_init): Ditto.
1235 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1236 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1237 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1238 * mips-tdep.c (mips_gdbarch_init): Ditto.
1239 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1240 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1241 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1242 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1243 * i386-tdep.c (i386_gdbarch_init): Ditto.
1244 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1245 * frv-tdep.c (frv_gdbarch_init): Ditto.
1246 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1247 * cris-tdep.c (cris_gdbarch_init): Ditto.
1248 * avr-tdep.c (avr_gdbarch_init): Ditto.
1249 * arm-tdep.c (arm_gdbarch_init): Ditto.
1250 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1251 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
1252 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
1253 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
1254 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
1255 call_dummy_stack_adjust_p.
1256 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
1257 (CALL_DUMMY_STACK_ADJUST): Delete macro.
1258 * sparc-tdep.c (sparc32_push_arguments): Update.
1259 * valops.c (hand_function_call): Update.
1260
71c08af0
CV
12612003-03-25 Corinna Vinschen <vinschen@redhat.com>
1262
1263 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
1264 set_gdbarch_char_signed.
1265
30757f90
RE
12662003-03-25 Richard Earnshaw <rearnsha@arm.com>
1267
1268 PR cli/548
1269 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
1270
03d48a7d
RE
12712003-03-25 Richard Earnshaw <rearnsha@arm.com>
1272
1273 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
1274 (_initialize_arm_tdep): Don't set tm_print_insn.
1275
2cf6873c
AF
12762003-03-24 Adam Fedor <fedor@gnu.org>
1277
1278 * Makefile.in (YYOBJ): Add objc-exp.tab.o
1279 * objc-lang.h: Add multiple inclusion protection.
1280 (start_msglist, add_msglist, end_msglist): Additional declarations.
1281
17c0759e
RE
12822003-03-24 Richard Earnshaw <rearnsha@arm.com>
1283
1284 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
1285 value was renamed to ARM_FLOAT_SOFT_FPA.
1286
618ce49f
AC
12872003-03-23 Andrew Cagney <cagney@redhat.com>
1288
1289 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
1290 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
1291 * gdbarch.h, gdbarch.c: Regenerate.
1292 * valops.c (hand_function_call): Update.
1293 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
1294 * frame.c (legacy_saved_regs_this_id): Update.
1295 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
1296 * dummy-frame.h: Update.
1297 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
1298 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
1299 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
1300 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
1301 * config/m68k/tm-sun3.h: Update.
1302 * blockframe.c (inside_main_func, frame_chain_valid): Update.
1303 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1304 * x86-64-tdep.c (x86_64_init_abi): Update.
1305 * vax-tdep.c (vax_gdbarch_init): Update.
1306 * v850-tdep.c (v850_gdbarch_init): Update.
1307 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
1308 * sh-tdep.c (sh_gdbarch_init): Update.
1309 * s390-tdep.c (s390_gdbarch_init): Update.
1310 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
1311 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
1312 (frame_get_saved_regs): Update.
1313 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1314 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1315 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1316 * mips-tdep.c (mips_gdbarch_init): Update.
1317 * mcore-tdep.c (mcore_gdbarch_init): Update.
1318 * m68k-tdep.c (m68k_gdbarch_init): Update.
1319 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1320 * ia64-tdep.c (ia64_gdbarch_init): Update.
1321 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
1322 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1323 (i386_interix_back_one_frame): Update.
1324 * hppa-tdep.c (hppa_gdbarch_init): Update.
1325 (hppa_init_extra_frame_info): Update.
1326 * h8300-tdep.c (h8300_gdbarch_init): Update.
1327 * frv-tdep.c (frv_gdbarch_init): Update.
1328 * cris-tdep.c (cris_gdbarch_init): Update.
1329 * avr-tdep.c (avr_gdbarch_init): Update.
1330 * arm-tdep.c (arm_gdbarch_init): Update.
1331 * alpha-tdep.c (alpha_gdbarch_init): Update.
1332
fd50bc42
RE
13332003-03-22 Richard Earnshaw <rearnsha@arm.com>
1334
1335 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
1336 (arm_get_fp_model): Declare.
1337 * arm-tdep.c (fp_model_strings): New string array.
1338 (arm_fp_model, current_fp_model): New variables.
1339 (arm_get_fp_model): New function.
1340 (arm_set_fp): New function.
1341 (set_fp_model_sfunc): New function.
1342 (show_fp_model): New function.
1343 (_initialize_arm_tdep): Add new command to set/show the FPU.
1344 (arm_extract_return_value): Use arm_get_fp_model.
1345 (arm_store_return_value): Likewise.
1346 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
1347 to initialize the floating-point data types.
1348 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
1349 model is FPA.
1350
26304000
RE
13512003-03-22 Richard Earnshaw <rearnsha@arm.com>
1352
1353 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
1354 the current setting of each value.
1355 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
1356 new_set and new_show. Use add_setshow_cmd_full and
1357 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
1358 commands and add new version as subcommands of "set/show arm".
1359
afd7eef0
RE
13602003-03-22 Richard Earnshaw <rearnsha@arm.com>
1361
1362 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
1363 (set_arm_command, show_arm_command): New functions.
1364 (_initialize_arm_tdep): Add them.
1365 (num_disassembly_options): Renamed from num_flavor_options.
1366 (valid_disassembly_styles): Renamed from valid_flavors.
1367 (disassembly_style): Renamed from disassembly_flavor.
1368 (set_disassembly_style_sfunc): Renamed from
1369 set_disassembly_flavor_sfunc.
1370 (set_disassembly_style): Renamed from set_disassembly_flavor.
1371 (arm_othernames): Updated.
1372 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
1373 command. Add "set/show arm disassembly" commands. Deprecate
1374 "othernames" command.
1375
299a7944
RE
13762003-03-22 Richard Earnshaw <rearnsha@arm.com>
1377
1378 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
1379 (arm-tdep.o): Depend on elf_arm_h.
1380
c1dac9e6
RE
13812003-03-22 Richard Earnshaw <rearnsha@arm.com>
1382
1383 * Makefile.in (coff_internal_h): Define.
1384 (arm-tdep.o): Update dependencies.
1385
2702d96c
RE
13862003-03-22 Richard Earnshaw <rearnsha@arm.com>
1387
1388 * arm-tdep.c (prologue_cache): Delete.
1389 (check_prologue_cache, save_prologue_cache): Delete.
1390 (arm_scan_prologue): Don't check or update the prologue_cache.
1391 (arm_gdb_arch_init): Don't initialize it.
1392 (_initialize_arm_tdep): Likewise.
1393
27d5d74b
SC
13942003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1395
1396 * MAINTAINERS (tui): Maintainer of tui code.
1397
1762d96d
CV
13982003-03-21 Corinna Vinschen <vinschen@redhat.com>
1399
1400 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
1401 (i386-cygwin-tdep.o): Add dependencies.
1402 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
1403 * i386-cygwin-tdep.c: New file.
1404 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
1405 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
1406
4c2e2391
AC
14072003-03-20 Andrew Cagney <cagney@redhat.com>
1408
f20d38b7
AC
1409 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
1410 (handle_inferior_event): Remove code calling
1411 DYNAMIC_TRAMPOLINE_NEXTPC.
1412
0022b738
AC
1413 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
1414 already has a full path.
1415
864dbc90
AC
1416 * main.c (gdb_main): Return 1.
1417 (captured_main): Call error to report an invalid interpreter.
1418
4c2e2391
AC
1419 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
1420 * alpha-osf1-tdep.c: Include "gdb_string.h".
1421
5ef7553b
JB
14222003-03-19 J. Brobecker <brobecker@gnat.com>
1423
1424 Continuing work to convert the hppa targets to multiarch partial.
1425
1426 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
1427 method, now that hppa_push_dummy_frame has a conformant prototype.
1428 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
1429 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
1430 for the switch to multiarch partial.
1431
7bde8967
KB
14322003-03-19 Kevin Buettner <kevinb@redhat.com>
1433
1434 * mdebugread.c (parse_symbol): For stEnd, we're done counting
1435 when iss is issNull.
1436
b006a9e9
KB
14372003-03-18 Kevin Buettner <kevinb@redhat.com>
1438
1439 * mips-tdep.c (mips_register_name): Fix fencepost error involving
1440 NUM_REGS bounds check.
1441
5e2e9765
KB
14422003-03-18 Kevin Buettner <kevinb@redhat.com>
1443
1444 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
1445 * mips-tdep.c (gdb_assert.h): Include.
1446 (mips_generic_reg_names, mips_processor_reg_names): Make static.
1447 (mips_register_name): Handle integer registers explicitly. Add
1448 bounds checking.
1449 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
1450 (mips_lsi33k_reg_names): Don't list integer registers; they're
1451 handled by mips_register_name() now.
1452 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
1453 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
1454 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
1455 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
1456 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
1457
a2867626
AC
14582003-03-18 Andrew Cagney <cagney@redhat.com>
1459
1460 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
1461 a void pointer.
1462 * gdbtypes.h (print_scalar_formatted): Update declaration.
1463 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
1464
06600e06
JB
14652003-03-18 J. Brobecker <brobecker@gnat.com>
1466
1467 * infrun.c (observer.h): Add #include.
1468 (normal_stop): Add call to observer_notify_normal_stop.
1469 * Makefile.in (infrun.o): Add dependency on observer.h.
1470
7daf4f5b
JB
14712003-03-18 J. Brobecker <brobecker@gnat.com>
1472
1473 Continuing work to convert the hppa targets to multiarch partial.
1474 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
1475 parameter. Reformat comment.
1476 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
1477 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
1478 to match new profile.
1479
3371ccc0
JB
14802003-03-18 J. Brobecker <brobecker@gnat.com>
1481
1482 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
1483 appear to be working in any case.
1484
4fbe891e
JB
14852003-03-18 J. Brobecker <brobecker@gnat.com>
1486
1487 * observer.c (observer_test_first_observer): New static variable.
1488 (observer_test_second_observer): Likewise.
1489 (observer_test_third_observer): Likewise.
1490 (observer_test_first_notification_function): New static function.
1491 (observer_test_second_notification_function): Likewise.
1492 (observer_test_third_notification_function): Likewise.
1493
a7ff40e7
JB
14942003-03-17 J. Brobecker <brobecker@gnat.com>
1495
1496 * hppa-tdep.c (gdb_assert.h): Add missing #include.
1497 * somsolib.c (gdb_assert.h): Likewise.
1498 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
1499 (somsolib.o): Likewise.
1500
26ca4152
AC
15012003-03-17 Andrew Cagney <cagney@redhat.com>
1502
1503 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
1504 BFD. Simplify setting of di.endian.
1505
0a613259
AC
15062003-03-17 Andrew Cagney <cagney@redhat.com>
1507
1508 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
1509 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
1510
1511 From Elena Zannoni <ezannoni@redhat.com>
1512 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
1513 vector and floating-point parameters.
1514 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
1515 convention.
1516 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
1517
1132738f
FN
15182003-03-17 Fernando Nasser <fnasser@redhat.com>
1519
1520 * MAINTAINERS: Remove my name from several maintainership roles.
1521
6dc42492
AC
15222003-03-17 Andrew Cagney <cagney@redhat.com>
1523
1524 Fix frame off-by-one bug.
1525 * frame-unwind.h (frame_this_id_ftype): Replace
1526 frame_unwind_id_ftype.
1527 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
1528 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
1529 with "prev_register".
1530 * frame-unwind.c (frame_unwind_find_by_pc): Return
1531 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
1532 comment.
1533 * dummy-frame.c (cached_find_dummy_frame): Delete function.
1534 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
1535 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
1536 (dummy_frame_unwind): Update.
1537 * sentinel-frame.c (sentinel_frame_prev_register): Replace
1538 sentinel_frame_register_unwind.
1539 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
1540 (sentinel_frame_unwinder): Update.
1541 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
1542 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
1543 * frame.c (create_sentinel_frame): Update. Initialize
1544 "prologue_cache" instead of "unwind_cache".
1545 (frame_register_unwind): Call this frame's prev_register with the
1546 next frame and this frame's prologue cache.
1547 (get_prev_frame): Simplify. Always call prev frame's this_id with
1548 this frame and prev frame's prologue cache. Document that this
1549 call is shifted one to the left when compared to the
1550 frame_register_unwind call.
1551 (legacy_saved_regs_prev_register): Replace
1552 frame_saved_regs_register_unwind.
1553 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
1554 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
1555 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
1556 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
1557 (d10v_frame_unwind): Update.
1558 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
1559 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
1560 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
1561 "saved_regs" with "this_saved_regs".
1562
efd710d6
AC
15632003-03-16 Andrew Cagney <cagney@redhat.com>
1564
1565 * frame.c (frame_pop): Don't call target_store_registers. Fix
1566 problem reported by Mark Kettenis.
1567
4e259f09
MK
15682003-03-16 Mark Kettenis <kettenis@gnu.org>
1569
1570 * i386-tdep.c (i386_register_type): Renamed from
1571 i386_register_virtual_type. Adjust function signature.
1572 (i386_gdbarch_init): Set register_type instead of
1573 deprecated_max_register_raw_size,
1574 deprecated_max_register_virtual_size and register_virtual_type.
1575
055bb976
AC
15762003-03-14 Andrew Cagney <cagney@redhat.com>
1577
1578 * frame.c (get_prev_frame): When a legacy frame, always call
1579 legacy_get_prev_frame. Simplify unwind code using assumption that
1580 the unwinder is new.
1581 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
1582 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
1583 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
1584
ac2adee5
AC
15852003-03-14 Andrew Cagney <cagney@redhat.com>
1586
1587 * frame.c (get_saved_register): Delete function.
1588 * frame.h (get_saved_register): Delete declaration.
1589 * xstormy16-tdep.c: Update comment.
1590 * regcache.h: Update comments.
1591 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
1592 get_saved_register and extract_address, use
1593 frame_read_unsigned_register.
1594 (sparc_frame_saved_pc): Ditto.
1595 (sparc_get_saved_register): Instead of get_saved_register, use
1596 frame_register.
1597 (sparc_pop_frame): Ditto.
1598 * findvar.c: Update comments.
1599 (value_of_register): Call frame_register instead of
1600 get_saved_register.
1601 (value_from_register): Ditto.
1602 * config/sparc/tm-sparc.h: Update comment.
1603 * breakpoint.c: Update comment.
1604
129c1cd6
AC
16052003-03-14 Andrew Cagney <cagney@redhat.com>
1606
1607 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
1608 GET_SAVED_REGISTER.
1609 * gdbarch.h, gdbarch.c: Re-generate.
1610 * frame.h: Update comments.
1611 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1612 * x86-64-tdep.c (x86_64_init_abi): Update.
1613 * sparc-tdep.c (sparc_gdbarch_init): Update.
1614 * sh-tdep.c (sh_gdbarch_init): Update.
1615 * mips-tdep.c (mips_gdbarch_init): Update.
1616 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1617 * cris-tdep.c (cris_gdbarch_init): Update.
1618 * ia64-tdep.c (ia64_gdbarch_init): Update.
1619 * frame.c (frame_register): Update.
1620 (get_saved_register): Update.
1621 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
1622
749b82f6
AC
16232003-03-13 Andrew Cagney <cagney@redhat.com>
1624
1625 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
1626 * gdbarch.h, gdbarch.c: Regenerate.
1627 * valops.c (hand_function_call): Update comment.
1628 * stack.c (return_command): Update comment.
1629 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
1630 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
1631 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1632 * x86-64-tdep.c (x86_64_init_abi): Update.
1633 * vax-tdep.c (vax_gdbarch_init): Update.
1634 * v850-tdep.c (v850_gdbarch_init): Update.
1635 * sparc-tdep.c (sparc_gdbarch_init): Update.
1636 * sh-tdep.c (sh_gdbarch_init): Update.
1637 * s390-tdep.c (s390_gdbarch_init): Update.
1638 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1639 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1640 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1641 * mips-tdep.c (mips_gdbarch_init): Update.
1642 * mcore-tdep.c (mcore_gdbarch_init): Update.
1643 * m68k-tdep.c (m68k_gdbarch_init): Update.
1644 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1645 * ia64-tdep.c (ia64_gdbarch_init): Update.
1646 * i386-tdep.c (i386_gdbarch_init): Update.
1647 * hppa-tdep.c (hppa_gdbarch_init): Update.
1648 * h8300-tdep.c (h8300_gdbarch_init): Update.
1649 * frv-tdep.c (frv_gdbarch_init): Update.
1650 * cris-tdep.c (cris_gdbarch_init): Update.
1651 * avr-tdep.c (avr_gdbarch_init): Update.
1652 * arm-tdep.c (arm_gdbarch_init): Update.
1653 * alpha-tdep.c (alpha_gdbarch_init): Update.
1654
1594fa56
AC
16552003-03-13 Andrew Cagney <cagney@redhat.com>
1656
1657 * frame.c (legacy_frame_p): New function.
1658 (get_prev_frame): Use legacy_frame_p.
1659 * frame.h (legacy_frame_p): Declare.
1660
7717fda3
V
16612003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
1662
1663 * MAINTAINERS (write after approval): Alphabetically
1664 listing corrected.
1665
0c67cbe9
V
16662003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
1667
1668 * MAINTAINERS (write after approval): Add myself.
1669
03febf99
AC
16702003-03-12 Andrew Cagney <cagney@redhat.com>
1671
1672 * frame.c (get_prev_frame): Rename the frame parameter to
1673 "this_frame".
1674 (get_next_frame, legacy_get_prev_frame): Ditto.
1675
0a1e1ca1
AC
16762003-03-12 Andrew Cagney <cagney@redhat.com>
1677
1678 * frame.c (get_current_frame): Check target_has_registers before
1679 checking target_has_stack.
1680 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
1681 instead of deprecated_selected_frame.
1682 * findvar.c (value_of_register): Pass "frame", not
1683 deprecated_selected_frame, to value_of_builtin_reg.
1684
a66a9c23
AC
16852003-03-12 Andrew Cagney <cagney@redhat.com>
1686
1687 * regcache.c (regcache_cooked_write_signed): New function.
1688 (regcache_cooked_write_unsigned): New function.
1689 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
1690 (regcache_cooked_read_signed): Fix regnum in range assertion.
1691 * regcache.h (regcache_cooked_write_signed): Declare.
1692 (regcache_cooked_write_unsigned): Declare.
1693
8bedc050
AC
16942003-03-12 Andrew Cagney <cagney@redhat.com>
1695
1696 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1697 * gdbarch.h, gdbarch.c: Re-generate.
1698 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1699 * x86-64-tdep.h: Update.
1700 * x86-64-tdep.c (x86_64_init_abi): Update.
1701 * v850-tdep.c (v850_gdbarch_init): Update.
1702 * sparc-tdep.c (sparc_gdbarch_init): Update.
1703 * sh-tdep.c (sh_gdbarch_init): Update.
1704 * s390-tdep.c (s390_gdbarch_init): Update.
1705 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1706 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1707 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1708 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1709 * mips-tdep.c (mips_gdbarch_init): Update.
1710 * mcore-tdep.c (mcore_gdbarch_init): Update.
1711 * m68k-tdep.c (m68k_gdbarch_init): Update.
1712 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1713 * ia64-tdep.c (ia64_gdbarch_init): Update.
1714 * i386-tdep.c (i386_gdbarch_init): Update.
1715 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1716 * hppa-tdep.c (hppa_gdbarch_init): Update.
1717 * h8300-tdep.c (h8300_gdbarch_init): Update.
1718 * frv-tdep.c (frv_gdbarch_init): Update.
1719 * cris-tdep.c (cris_gdbarch_init): Update.
1720 * avr-tdep.c (avr_gdbarch_init): Update.
1721 * arm-tdep.c (arm_gdbarch_init): Update.
1722 * alpha-tdep.c (alpha_gdbarch_init): Update.
1723 * sh-tdep.c (sh_init_extra_frame_info): Update.
1724 (sh64_init_extra_frame_info): Update.
1725 * ns32knbsd-nat.c (frame_num_args): Update.
1726 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1727 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1728 (xstormy16_frame_chain_valid): Update.
1729 * vax-tdep.c (vax_saved_pc_after_call): Update.
1730 * v850-tdep.c (v850_frame_chain): Update.
1731 (v850_pop_frame): Update.
1732 (v850_init_extra_frame_info): Update.
1733 * sparc-tdep.c (setup_arbitrary_frame): Update.
1734 * ns32k-tdep.c (umax_frame_num_args): Update.
1735 * s390-tdep.c (s390_pop_frame_regular): Update.
1736 * mn10300-tdep.c (mn10300_frame_chain): Update.
1737 (mn10300_pop_frame_regular): Update.
1738 (mn10300_init_extra_frame_info): Update.
1739 * mips-tdep.c (mips_init_frame_pc_first): Update.
1740 (mips_frame_chain): Update.
1741 (mips_pop_frame): Update.
1742 * mcore-tdep.c (mcore_frame_chain): Update.
1743 (mcore_pop_frame): Update.
1744 (mcore_init_extra_frame_info): Update.
1745 * arch-utils.c (init_frame_pc_default): Update.
1746 * m68k-tdep.c (isi_frame_num_args): Update.
1747 (delta68_frame_num_args): Update.
1748 (news_frame_num_args): Update.
1749 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1750 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1751 (alpha_frame_chain): Update.
1752 (alpha_pop_frame): Update.
1753 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1754 (hppa_init_extra_frame_info): Update.
1755 (hppa_frame_chain): Update.
1756 (hppa_frame_chain_valid): Update.
1757 * cris-tdep.c (cris_init_extra_frame_info): Update.
1758 * avr-tdep.c (avr_init_extra_frame_info): Update.
1759 * arm-tdep.c (arm_frame_chain_valid): Update.
1760 (arm_init_extra_frame_info): Update.
1761 (arm_pop_frame): Update.
1762 * frame.c (frame_pc_unwind): Update.
1763 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1764 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1765 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1766 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1767 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1768 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1769
7a25a7c1
AC
17702003-03-12 Andrew Cagney <cagney@redhat.com>
1771
1772 Eliminate the need for POP_FRAME.
1773 * frame.c (do_frame_unwind_register): New function.
1774 (frame_pop): When no POP_FRAME, pop the frame using register
1775 unwind and a scratch regcache.
1776 (frame_saved_regs_pop): Delete function.
1777 (trad_frame_unwinder): Update.
1778 * d10v-tdep.c (d10v_frame_pop): Delete function.
1779 (d10v_frame_unwind): Update.
1780 * sentinel-frame.c (sentinel_frame_pop): Delete function.
1781 (sentinel_frame_unwinder): Update.
1782 * dummy-frame.c (dummy_frame_pop): Delete function.
1783 (dummy_frame_unwind): Update.
1784 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
1785 (struct frame_unwind): Update.
1786
2f38ef89
KB
17872003-03-11 Kevin Buettner <kevinb@redhat.com>
1788
1789 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
1790 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
1791 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
1792 Do range checks on register number obtained from debugging info.
1793 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
1794 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
1795 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
1796 mapping function.
1797 (do_fp_register_row): Fix typo which caused double type to be
1798 used when attempting to unpack a float.
1799
552f4abf
JB
18002003-03-11 J. Brobecker <brobecker@gnat.com>
1801
1802 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
1803
e0d2ae16
AC
18042003-03-11 Andrew Cagney <cagney@redhat.com>
1805
1806 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
1807 frame. Problem found by Corinna Vinschen.
1808
ddbfdd06
PM
18092003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
1810
1811 * doublest.c (floatformat_from_length): Accept also
1812 the real size of 'long double' type.
1813
088b2ddc 18142003-03-10 Daniel Jacobowitz <drow@mvista.com>
31cc81e9 1815
088b2ddc 1816 From Klee Dienes <kdienes@apple.com>:
31cc81e9
DJ
1817 * breakpoint.c (bpstat_copy): Copy the command lines as well
1818 as the old value, to match what is freed in bpstat_clear.
1819
f56f77c1
DC
18202003-03-10 David Carlton <carlton@math.stanford.edu>
1821
1822 * minsyms.c (add_minsym_to_hash_table): Replace
1823 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
1824 (compare_minimal_symbols, compact_minimal_symbols)
1825 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
1826 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
1827 of DEPRECATED_SYMBOL_MATCHES_NAME.
1828 (lookup_minimal_symbol_solib_trampoline): Ditto.
1829
5602984a
AC
18302003-03-10 Andrew Cagney <cagney@redhat.com>
1831
1832 * regcache.h (regcache_cooked_read_ftype): Define.
1833 (regcache_save, regcache_restore): Add a cooked_read parameter.
1834 * regcache.c (regcache_save, regcache_restore): Update.
1835 (do_cooked_read): New function.
1836 (regcache_cpy): Pass do_cooked_read to regcache_save and
1837 regcache_restore.
1838
8bedc050
AC
18392003-03-10 Andrew Cagney <cagney@redhat.com>
1840
1841 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1842 * gdbarch.h, gdbarch.c: Re-generate.
1843 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1844 * x86-64-tdep.h: Update.
1845 * x86-64-tdep.c (x86_64_init_abi): Update.
1846 * v850-tdep.c (v850_gdbarch_init): Update.
1847 * sparc-tdep.c (sparc_gdbarch_init): Update.
1848 * sh-tdep.c (sh_gdbarch_init): Update.
1849 * s390-tdep.c (s390_gdbarch_init): Update.
1850 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1851 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1852 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1853 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1854 * mips-tdep.c (mips_gdbarch_init): Update.
1855 * mcore-tdep.c (mcore_gdbarch_init): Update.
1856 * m68k-tdep.c (m68k_gdbarch_init): Update.
1857 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1858 * ia64-tdep.c (ia64_gdbarch_init): Update.
1859 * i386-tdep.c (i386_gdbarch_init): Update.
1860 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1861 * hppa-tdep.c (hppa_gdbarch_init): Update.
1862 * h8300-tdep.c (h8300_gdbarch_init): Update.
1863 * frv-tdep.c (frv_gdbarch_init): Update.
1864 * cris-tdep.c (cris_gdbarch_init): Update.
1865 * avr-tdep.c (avr_gdbarch_init): Update.
1866 * arm-tdep.c (arm_gdbarch_init): Update.
1867 * alpha-tdep.c (alpha_gdbarch_init): Update.
1868 * sh-tdep.c (sh_init_extra_frame_info): Update.
1869 (sh64_init_extra_frame_info): Update.
1870 * ns32knbsd-nat.c (frame_num_args): Update.
1871 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1872 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1873 (xstormy16_frame_chain_valid): Update.
1874 * vax-tdep.c (vax_saved_pc_after_call): Update.
1875 * v850-tdep.c (v850_frame_chain): Update.
1876 (v850_pop_frame): Update.
1877 (v850_init_extra_frame_info): Update.
1878 * sparc-tdep.c (setup_arbitrary_frame): Update.
1879 * ns32k-tdep.c (umax_frame_num_args): Update.
1880 * s390-tdep.c (s390_pop_frame_regular): Update.
1881 * mn10300-tdep.c (mn10300_frame_chain): Update.
1882 (mn10300_pop_frame_regular): Update.
1883 (mn10300_init_extra_frame_info): Update.
1884 * mips-tdep.c (mips_init_frame_pc_first): Update.
1885 (mips_frame_chain): Update.
1886 (mips_pop_frame): Update.
1887 * mcore-tdep.c (mcore_frame_chain): Update.
1888 (mcore_pop_frame): Update.
1889 (mcore_init_extra_frame_info): Update.
1890 * arch-utils.c (init_frame_pc_default): Update.
1891 * m68k-tdep.c (isi_frame_num_args): Update.
1892 (delta68_frame_num_args): Update.
1893 (news_frame_num_args): Update.
1894 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1895 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1896 (alpha_frame_chain): Update.
1897 (alpha_pop_frame): Update.
1898 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1899 (hppa_init_extra_frame_info): Update.
1900 (hppa_frame_chain): Update.
1901 (hppa_frame_chain_valid): Update.
1902 * cris-tdep.c (cris_init_extra_frame_info): Update.
1903 * avr-tdep.c (avr_init_extra_frame_info): Update.
1904 * arm-tdep.c (arm_frame_chain_valid): Update.
1905 (arm_init_extra_frame_info): Update.
1906 (arm_pop_frame): Update.
1907 * frame.c (frame_pc_unwind): Update.
1908 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1909 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1910 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1911 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1912 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1913 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1914
12cc2063
AC
19152003-03-10 Andrew Cagney <cagney@redhat.com>
1916
1917 * gdbarch.sh (gdbarch_unwind_pc): New method.
1918 * gdbarch.h, gdbarch.c: Regenerate.
1919 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
1920 but use read_pc and FRAME_SAVED_PC as fall backs.
1921 (frame_saved_regs_pc_unwind): Delete function.
1922 (trad_frame_unwinder): Update.
1923 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
1924 (struct frame_unwind): Update.
1925 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
1926 (dummy_frame_unwind): Update.
1927 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
1928 (sentinel_frame_unwinder): Update.
1929 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
1930 (d10v_frame_unwind): Update.
1931 (d10v_unwind_pc): New function.
1932 (d10v_gdbarch_init): Set unwind_pc.
1933
ef840a37
AC
19342003-03-10 Andrew Cagney <cagney@redhat.com>
1935
a2ce2e56
AC
1936 * gdbarch.h: Re-generate.
1937
ef840a37
AC
1938 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
1939 PC.
1940 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
1941 the PC register.
1942
08f3424b
MK
19432003-03-08 Mark Kettenis <kettenis@gnu.org>
1944
1945 * gdbarch.sh (save_dummy_frame_tos): Add comment.
1946
1248ede2
AC
19472003-03-08 Andrew Cagney <cagney@redhat.com>
1948
1949 * cli-out.c: Update copyright.
1950 (cli_out_data): Define typedef. Use instead of ui_out_data.
1951
f49bacc8
AC
19522003-03-08 Andrew Cagney <cagney@redhat.com>
1953
1954 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
1955 the result.
1956
9b05f993
AC
19572003-03-07 Andrew Cagney <cagney@redhat.com>
1958
1959 * gdbarch.sh: Don't generate two macro definitions when an
1960 undefined macro taking no arguments.
1961 * gdbarch.h: Regenerate.
1962
166f4c7b
ML
19632002-03-07 Michal Ludvig <mludvig@suse.cz>
1964
1965 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
1966 (x86_64_unwind_dummy_id): New functions.
1967 (x86_64_init_abi): Register these two new functions.
1968
6d686a84
ML
19692003-03-07 Michal Ludvig <mludvig@suse.cz>
1970
1971 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
1972 (x86_64_skip_prologue): Move prologue detection to
1973 separate function.
1974 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
1975
6314f104
AC
19762003-03-05 Andrew Cagney <cagney@redhat.com>
1977
1978 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
1979 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
1980 * frame.c (get_prev_frame): Restructure the frame ID unwind code
1981 to use unwind_dummy_id when a dummy frame.
1982 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
1983 predicate.
1984 * gdbarch.h, gdbarch.c: Regneerate.
1985
ceea5145
AC
19862003-03-05 Andrew Cagney <cagney@redhat.com>
1987
1988 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
1989 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
1990 Do not use d10v_read_sp or d10v_read_fp when obtaining register
1991 values.
1992
0d843116
AC
19932003-03-05 Andrew Cagney <cagney@redhat.com>
1994
1995 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
1996 (struct d10v_unwind_cache): Delete field "frameless". Replace
1997 "next_addr" with "sp_offset". Add "r11_offset".
1998 (d10v_frame_unwind_cache): Update.
1999 (prologue_find_regs): Update. When "mv r11, sp", save the
2000 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
2001 RN was saved in r11_offset.
2002
b2579786
AC
20032003-03-05 Andrew Cagney <cagney@redhat.com>
2004
2005 * frame.c (deprecated_update_frame_pc_hack): Also update the the
2006 cached PC value in the next frame.
2007
218e5956
AC
20082003-03-05 Andrew Cagney <cagney@redhat.com>
2009
2010 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
2011 "id_unwind_cache" with "id".
2012 (frame_id_unwind): Delete declaration.
2013 * frame.c (frame_id_unwind): Delete function.
2014 (get_prev_frame): Call the frame id unwind method directly. Store
2015 the returned next frame's ID value in NEXT_FRAME. Note that there
2016 is a problem with the wrong unwind ID being called with the wrong
2017 unwind cache.
2018
ed363b1b
DJ
20192003-03-05 Daniel Jacobowitz <drow@mvista.com>
2020
2021 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
2022
fe1f4a5e
DJ
20232003-03-05 James Ingham <jingham@apple.com>
2024 Daniel Jacobowitz <drow@mvista.com>
2025
2026 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
2027 (auto_cp_abi): New variable.
2028 (current_cp_abi, num_cp_abis): Make static.
2029 (CP_ABI_MAX): Define.
2030 (cp_abis): Turn into an array.
2031 (value_virtual_fn_field): Fix formatting.
2032 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
2033 takes a pointer.
2034 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
2035 (list_cp_abis, _initialize_cp_abi): New functions.
2036 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
2037 declarations for cp_abis, num_cp_abis, current_cp_abi, and
2038 switch_to_cp_abi. Update prototype for register_cp_abi.
2039 * Makefile.in (cp-abi.o): Update dependencies.
2040 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
2041 instead of switch_to_cp_abi.
2042 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
2043 register_cp_abi.
2044 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
2045 register_cp_abi.
2046 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
2047
e4adbba9
DJ
20482003-03-05 Daniel Jacobowitz <drow@mvista.com>
2049
2050 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
2051 * dwarf2loc.c: Include "regcache.h".
2052 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
2053 register_size.
2054 * Makefile.in (dwarf2loc.o): Update dependencies.
2055
91ccbfc1
TR
20562003-03-04 Theodore A. Roth <troth@openavr.org>
2057
2058 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
2059 number of io registers reported by remote target is not a multiple of
2060 step.
2061
3d4e8fd2
DC
20622003-03-04 David Carlton <carlton@math.stanford.edu>
2063
2064 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
2065 (lookup_symbol_aux_psymtabs): Update call to
2066 lookup_partial_symbol.
2067 (lookup_transparent_type, find_main_psymtab)
2068 (make_symbol_overload_list): Ditto.
2069
ed42d87b
KH
20702003-03-04 Kazu Hirata <kazu@cs.umass.edu>
2071
2072 * MAINTAINERS (Write after approval): Update my email address.
2073
a0ed5532
AC
20742003-03-03 Andrew Cagney <cagney@redhat.com>
2075
2076 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
2077 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
2078 predicate. Replace MAX_REGISTER_RAW_SIZE.
2079 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
2080 MAX_REGISTER_VIRTUAL_SIZE.
2081 * regcache.c (legacy_max_register_raw_size): New function.
2082 (legacy_max_register_virtual_size): New function.
2083 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
2084 (MAX_REGISTER_RAW_SIZE): Define.
2085 (legacy_max_register_raw_size): Declare.
2086 (legacy_max_register_virtual_size): Declare.
2087 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
2088 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
2089 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
2090 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
2091 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
2092 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
2093 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
2094 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
2095 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
2096 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2097 * vax-tdep.c (vax_gdbarch_init): Update.
2098 * v850-tdep.c (v850_gdbarch_init): Update.
2099 * sparc-tdep.c (sparc_gdbarch_init): Update.
2100 * sh-tdep.c (sh_gdbarch_init): Update.
2101 * s390-tdep.c (s390_gdbarch_init): Update.
2102 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2103 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2104 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2105 * mips-tdep.c (mips_gdbarch_init): Update.
2106 * mcore-tdep.c (mcore_gdbarch_init): Update.
2107 * m68k-tdep.c (m68k_gdbarch_init): Update.
2108 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2109 * ia64-tdep.c (ia64_gdbarch_init): Update.
2110 * i386-tdep.c (i386_gdbarch_init): Update.
2111 * hppa-tdep.c (hppa_gdbarch_init): Update.
2112 * h8300-tdep.c (h8300_gdbarch_init): Update.
2113 * frv-tdep.c (frv_gdbarch_init): Update.
2114 * cris-tdep.c (cris_gdbarch_init): Update.
2115 * avr-tdep.c (avr_gdbarch_init): Update.
2116 * arm-tdep.c (arm_gdbarch_init): Update.
2117 * alpha-tdep.c (alpha_gdbarch_init): Update.
2118 * d10v-tdep.c (d10v_gdbarch_init): Do not set
2119 max_register_raw_size or max_register_virtual_size.
2120
8e437497
DC
21212003-03-03 David Carlton <carlton@math.stanford.edu>
2122
2123 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
2124 SYMBOL_MATCHES_NAME, add comment.
2125 (SYMBOL_MATCHES_NATURAL_NAME): New.
2126 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
2127 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
2128 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
2129 * symtab.c (lookup_partial_symbol): Use
2130 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
2131 unhelpful comment.
2132 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
2133 SYMBOL_MATCHES_NAME.
2134 Fix for PR c++/33.
2135
25120b0d
DC
21362003-03-03 David Carlton <carlton@math.stanford.edu>
2137
2138 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
2139 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
2140 by regexp matching against SYMBOL_NATURAL_NAME.
2141
78a11fb4
DC
21422003-03-03 David Carlton <carlton@math.stanford.edu>
2143
2144 * linespec.c (find_method): Extract code into collect_methods.
2145 (collect_methods): New.
2146
645dd519
MK
21472003-03-02 Mark Kettenis <kettenis@gnu.org>
2148
b4700d91
MK
2149 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
2150 get_frame_base.
2151
645dd519
MK
2152 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
2153 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
2154
0aa7e1aa
SC
21552003-03-02 Stephane Carrez <stcarrez@nerim.fr>
2156
2157 * arch-utils.c (generic_register_byte): Fix to use the loop index
2158 and not regnum when summing the size of all registers up to regnum.
2159
f30ee0bc
AC
21602003-03-01 Andrew Cagney <cagney@redhat.com>
2161
2162 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
2163 FRAME_INIT_SAVED_REGS.
2164 * gdbarch.h, gdbarch.c: Regenerate.
2165 * stack.c (frame_info): Update.
2166 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
2167 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
2168 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
2169 * ns32k-tdep.c (ns32k_pop_frame): Update.
2170 * mips-tdep.c (mips_pop_frame): Update.
2171 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
2172 * ia64-tdep.c (ia64_frame_chain): Update.
2173 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
2174 (ia64_frameless_function_invocation): Update.
2175 (ia64_init_extra_frame_info): Update.
2176 (ia64_pop_frame_regular): Update.
2177 * frame.h (struct frame_info): Update comment.
2178 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
2179 * frame.c (frame_saved_regs_register_unwind): Update.
2180 (frame_saved_regs_register_unwind): Update.
2181 (deprecated_generic_get_saved_register): Update.
2182 * cris-tdep.c: Update comment.
2183 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
2184 Rename macro.
2185 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2186 * x86-64-tdep.c (x86_64_init_abi): Update.
2187 * vax-tdep.c (vax_gdbarch_init): Update.
2188 * v850-tdep.c (v850_gdbarch_init): Update.
2189 * sparc-tdep.c (sparc_gdbarch_init): Update.
2190 * sh-tdep.c (sh_gdbarch_init): Update.
2191 * s390-tdep.c (s390_gdbarch_init): Update.
2192 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2193 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
2194 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2195 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2196 * mips-tdep.c (mips_gdbarch_init): Update.
2197 * mcore-tdep.c (mcore_gdbarch_init): Update.
2198 * m68k-tdep.c (m68k_gdbarch_init): Update.
2199 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2200 * ia64-tdep.c (ia64_gdbarch_init): Update.
2201 * i386-tdep.c (i386_gdbarch_init): Update.
2202 * frv-tdep.c (frv_gdbarch_init): Update.
2203 * avr-tdep.c (avr_gdbarch_init): Update.
2204 * arm-tdep.c (arm_gdbarch_init): Update.
2205 * alpha-tdep.c (alpha_gdbarch_init): Update.
2206
42fa7c0f
AC
22072003-03-01 Andrew Cagney <cagney@redhat.com>
2208
2209 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
2210 option enum and switch. When no windows, set the interpreter to
2211 INTERP_CONSOLE.
2212
49c7e338
AC
22132003-03-01 Andrew Cagney <cagney@redhat.com>
2214
2215 * main.c (captured_main): Replace magic option characters with an
2216 enum.
2217
e9582e71
AC
22182003-03-01 Andrew Cagney <cagney@redhat.com>
2219
2220 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
2221 INIT_EXTRA_FRAME_INFO.
2222 * gdbarch.h, gdbarch.c: Regenerate.
2223 * arm-tdep.c: Update comments.
2224 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
2225 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
2226 * frame.h, avr-tdep.c: Ditto.
2227 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
2228 (create_new_frame, legacy_get_prev_frame): Ditto.
2229 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
2230 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
2231 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
2232 deprecated_init_extra_frame_info instead of init_extra_frame_info.
2233 * x86-64-tdep.c (x86_64_init_abi): Ditto.
2234 * v850-tdep.c (v850_gdbarch_init): Ditto.
2235 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
2236 * sh-tdep.c (sh_gdbarch_init): Ditto.
2237 * s390-tdep.c (s390_gdbarch_init): Ditto.
2238 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
2239 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2240 * mips-tdep.c (mips_gdbarch_init): Ditto.
2241 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2242 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2243 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2244 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
2245 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
2246 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2247 * frv-tdep.c (frv_gdbarch_init): Ditto.
2248 * cris-tdep.c (cris_gdbarch_init): Ditto.
2249 * avr-tdep.c (avr_gdbarch_init): Ditto.
2250 * arm-tdep.c (arm_gdbarch_init): Ditto.
2251 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
2252 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2253
35cac7cf
AC
22542003-03-01 Andrew Cagney <cagney@redhat.com>
2255
2256 * gdbarch.sh (register_type): New function with predicate.
2257 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
2258 * gdbarch.h, gdbarch.c: Re-generate.
2259 * arch-utils.c (generic_register_byte): Use generic_register_size.
2260 (generic_register_size): When available, use
2261 gdbarch_register_type.
2262 * regcache.c (init_regcache_descr): When available, initialize the
2263 register type array using gdbarch_register_type. If the
2264 architecture supplies gdbarch_register_type, do not use the legacy
2265 regcache layout.
2266 * d10v-tdep.c (d10v_register_type): Replace
2267 d10v_register_virtual_type.
2268 (d10v_gdbarch_init): Set register_type instead of
2269 register_virtual_type.
2270
7b83296f
AC
22712003-03-01 Andrew Cagney <cagney@redhat.com>
2272
2273 * Makefile.in (ax-gdb.o): Update dependencies.
2274 * ax-gdb.c: Include "regcache.h".
2275 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
2276 * findvar.c (value_of_register): Ditto.
2277 * infcmd.c (default_print_registers_info): Ditto.
2278
eadc1c87
MK
22792003-03-01 Mark Kettenis <kettenis@gnu.org>
2280
2281 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
2282 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
2283
14143612
MK
22842003-03-01 Mark Kettenis <kettenis@gnu.org>
2285
2286 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
2287 of STREQ.
2288
a55cc764
DJ
22892003-02-28 Daniel Jacobowitz <drow@mvista.com>
2290
2291 * Makefile.in (dwarf2loc.o): Update dependencies.
2292 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
2293 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
2294 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
2295 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
2296 (locexpr_tracepoint_var_ref): New function.
2297 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
2298
08a617da
AC
22992003-02-28 Andrew Cagney <cagney@redhat.com>
2300
2301 * regcache.c (register_size): New function.
2302 * regcache.h (register_size): Declare
2303 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
2304 max_register_size instead of MAX_REGISTER_RAW_SIZE.
2305
4224873a
DC
23062003-02-28 David Carlton <carlton@math.stanford.edu>
2307
2308 * linespec.c (decode_compound): Extract code into find_method.
2309 (find_method): New.
2310
ccdc5d7f
JB
23112003-02-28 J. Brobecker <brobecker@gnat.com>
2312
2313 * Makefile.in: Add rules to build and link in observer.o.
2314
974e8ced
JB
23152003-02-27 J. Brobecker <brobecker@gnat.com>
2316
2317 * observer.c: Minor comments edits.
2318
7a28f973
JB
23192003-02-27 J. Brobecker <brobecker@gnat.com>
2320
2321 * observer.h, observer.c: New file.
2322
27cddce2
AC
23232003-02-27 Andrew Cagney <cagney@redhat.com>
2324
2325 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
2326
b94a41a1
SC
23272003-02-27 Stephane Carrez <stcarrez@nerim.fr>
2328
2329 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
2330 (M6812_OP_STS_EXT): Likewise.
2331 (m6811_prologue): Use the above to recognize prologue.
2332 (m6812_prologue): Likewise.
2333
c8be8951
DC
23342003-02-27 David Carlton <carlton@math.stanford.edu>
2335
2336 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
2337 SYMBOL_PRINT_NAME.
2338 (compare_psymbols): Ditto.
2339 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
2340
d05bb1fc
MS
23412003-02-27 Michael Snyder <msnyder@redhat.com>
2342
4e845cd3
MS
2343 * f-lang.c (build_fortran_types): New function.
2344 (_initialize_f_language): Gdbarch-register built-in fortran types.
d05bb1fc
MS
2345 * doublest.c (extract_floating): Fix warning text.
2346
f3824013
AC
23472003-02-27 Andrew Cagney <cagney@redhat.com>
2348
2349 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
2350 predicate. Replaces PUSH_DUMMY_FRAME.
2351 * gdbarch.h, gdbarch.c: Regnerate.
2352 * valops.c (hand_function_call): Update. Call
2353 generic_push_dummy_frame directly.
2354 * vax-tdep.c (vax_gdbarch_init): Update.
2355 * sparc-tdep.c (sparc_gdbarch_init): Update.
2356 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2357 * m68k-tdep.c (m68k_gdbarch_init): Update.
2358 * hppa-tdep.c (hppa_gdbarch_init): Update.
2359 * alpha-tdep.c (alpha_gdbarch_init): Update.
2360 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
2361 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
2362 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
2363 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
2364 push_dummy_frame to generic_push_dummy_frame.
2365 * v850-tdep.c (v850_gdbarch_init): Ditto.
2366 * sh-tdep.c (sh_gdbarch_init): Ditto.
2367 * s390-tdep.c (s390_gdbarch_init): Ditto.
2368 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2369 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2370 * mips-tdep.c (mips_gdbarch_init): Ditto.
2371 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2372 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2373 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2374 * i386-tdep.c (i386_gdbarch_init): Ditto.
2375 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2376 * frv-tdep.c (frv_gdbarch_init): Ditto.
2377 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
2378 * cris-tdep.c (cris_gdbarch_init): Ditto.
2379 * avr-tdep.c (avr_gdbarch_init): Ditto.
2380 * arm-tdep.c (arm_gdbarch_init): Ditto.
2381
ad188201
KB
23822003-02-26 Kevin Buettner <kevinb@redhat.com>
2383
2384 * mips-tdep.c (show_mips_abi): New function.
2385 (_initialize_mips_tdep): Use show_mips_abi() to implement the
2386 command ``show mips abi''.
2387
6b37567a
JJ
23882003-02-26 Jeff Johnston <jjohnstn@redhat.com>
2389
2390 From Elena Zannoni <ezannoni@redhat.com>
2391 * dbxread.c (process_one_symbol): Only record line 0 if one or
2392 more sline entries have been seen for the function.
2393
d3e0a5bf
MC
23942003-02-26 Michael Chastain <mec@shout.net>
2395
2396 * configure: Regenerate with autoconf 000227.
2397
18972eea
MC
23982003-02-26 Michael Chastain <mec@shout.net>
2399
2400 Close PR build/660.
2401 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
2402 for old libc5/glibc.
2403 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
2404
0bbde931
KW
24052003-02-26 Kris Warkentin <kewarken@qnx.com>
2406
2407 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
2408 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
2409
27ca5dad
MC
24102003-02-26 Michael Chastain <mec@shout.net>
2411
2412 * configure.in: New variable HAVE_UINTPTR_T.
2413 * configure, config.in: Regenerated.
2414
6f88d630
DJ
24152003-02-26 Daniel Jacobowitz <drow@mvista.com>
2416
2417 Fix PR build/1097.
2418 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
2419
b14185ce
AC
24202003-02-25 Andrew Cagney <cagney@redhat.com>
2421
2422 * frame.c (get_prev_frame): Add comment on check for
2423 inside_entry_func. Only check for inside_entry_file when not a
2424 dummy and not a sentinel. Check that the new frame is not inner
2425 to the old frame.
2426
ac2bd0a9
AC
24272003-02-25 Andrew Cagney <cagney@redhat.com>
2428
2429 * frame.c (frame_debug): New variable.
2430 (_initialize_frame): Add "set/show debug frame" command.
2431 (get_prev_frame): When frame_debug, print reason why unwind
2432 failed.
2433
b18a0fd2
MC
24342003-02-25 Michael Chastain <mec@shout.net>
2435
2436 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
2437 to avoid uintptr_t definition problems.
2438
22abf04a
DC
24392003-02-25 David Carlton <carlton@math.stanford.edu>
2440
2441 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
2442 (SYMBOL_LINKAGE_NAME): Ditto.
2443 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
2444 SYMBOL_LINKAGE_NAME.
2445 (struct general_symbol_info): Expand comment.
2446 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
2447 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
2448 (SYMBOL_MATCHES_REGEXP): Ditto.
2449 * symtab.c (symbol_natural_name): New function.
2450 * objfiles.h: Replace all uses of SYMBOL_NAME by
2451 DEPRECATED_SYMBOL_NAME.
2452 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
2453 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
2454 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
2455 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
2456 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
2457 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
2458 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
2459 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
2460 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
2461 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
2462 * ada-exp.y: Ditto.
2463 * ada-exp.y: Update copyright.
2464 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
2465 * cp-valprint.c: Ditto.
2466
1a5848f6
JJ
24672003-02-25 Jeff Johnston <jjohnstn@redhat.com>
2468
2469 * infptrace.c (detach): Do not flag error if ptrace detach fails
2470 and errno is set to ESRCH.
2471
7343d46a
AC
24722003-02-24 Andrew Cagney <cagney@redhat.com>
2473
2474 * infptrace.c (udot_info): Change type of udot_off to long. Use
2475 paddr when printing udot_off's value.
2476
49fa1dc2
DC
24772003-02-24 David Carlton <carlton@math.stanford.edu>
2478
2479 * symtab.c (make_symbol_overload_list): Only read in partial
2480 symtabs containing a matching partial symbol.
2481
0fe19209
DC
24822003-02-24 David Carlton <carlton@math.stanford.edu>
2483
2484 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
2485 do the comparison, not strcmp.
2486 * symfile.c (compare_psymbols): Ditto.
2487 * defs.h: Declare strcmp_iw_ordered.
2488 * utils.c (strcmp_iw_ordered): New function.
2489
8e3ee7b5
JB
24902003-02-24 Jim Blandy <jimb@redhat.com>
2491
2492 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
2493 support, shared libs): Remove my name from here, to better reflect
2494 reality.
2495
7df1a324
KW
24962003-02-24 Kris Warkentin <kewarken@qnx.com>
2497
2498 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
2499 (target_ops): Add to_have_continuable_watchpoint.
2500 * target.c (update_current_target): Add INHERIT line for
2501 to_have_continuable_watchpoint.
2502 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
2503 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
2504 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
2505 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
2506
d1c76907
EZ
25072003-02-24 Elena Zannoni <ezannoni@redhat.com>
2508
2509 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
2510 maintainership.
2511
2610b0bf
KW
25122003-02-24 Kris Warkentin <kewarken@qnx.com>
2513
f46169db
KW
2514 * solib.c (solib_open): Call target defined search function after
2515 failing with solib-search-path.
2516 * solist.h (target_so_ops): Add find_and_open_solib function hook and
2517 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
2610b0bf 2518
9a3c34fe
KW
25192003-02-24 Kris Warkentin <kewarken@qnx.com>
2520
f46169db 2521 * MAINTAINERS: Add myself to Write After section.
9a3c34fe 2522
2417dd25
SC
25232003-02-23 Stephane Carrez <stcarrez@nerim.fr>
2524
2525 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
2526
b631436b
SC
25272003-02-22 Stephane Carrez <stcarrez@nerim.fr>
2528
2529 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
2530 (m68hc11_add_reggroups): New function.
2531 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
2532 (m68hc11_gdbarch_init): Install the reggroups.
2533 (_initialize_m68hc11_tdep): Initialize them.
2534
0aa8c1e4
JW
25352003-02-21 James E Wilson <wilson@tuliptree.org>
2536
2537 * MAINTAINERS: Update my email address.
2538
50ceaba5
DC
25392003-02-21 David Carlton <carlton@math.stanford.edu>
2540
2541 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
2542
4c2df51b
DJ
25432003-02-21 Daniel Jacobowitz <drow@mvista.com>
2544
2545 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
2546 * symtab.h: Add opaque declarations of struct axs_value and
2547 struct agent_expr.
2548 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
2549 (struct location_funcs): New type.
2550 (struct symbol): Add "loc" to aux_value.
2551 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
2552 * dwarf2read.c: Include "dwarf2expr.h".
2553 (dwarf2_symbol_mark_computed): New function.
2554 (read_func_scope): Use it.
2555 (var_decode_location): New function.
2556 (new_symbol): Use it.
2557 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
2558
2559 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
2560 (dwarf2expr_h, dwarf2loc_h): New variables.
2561 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
2562 (dwarf2expr.o, dwarf2loc.o): New rules.
2563 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
2564 * buildsym.c (finish_block): Handle LOC_COMPUTED and
2565 LOC_COMPUTED_ARG.
2566 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
2567 * m2-exp.y (yylex): Likewise.
2568 * printcmd.c (address_info, print_frame_args): Likewise.
2569 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
2570 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
2571 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
2572 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
2573 * symtab.c (lookup_block_symbol): Likewise.
2574
5784d15e
AF
25752003-02-20 Adam Fedor <fedor@gnu.org>
2576
2577 * symtab.h: Remove objc_specific struct
2578 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
2579 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
2580 Have language_objc use cplus_specific struct.
2581
d4cad8db
TT
25822003-02-20 Tom Tromey <tromey@redhat.com>
2583
2584 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
2585 TYPE_NAME, when printing a String value. PR java/1075.
2586
2f9a90b4
AF
25872003-02-20 Adam Fedor <fedor@gnu.org>
2588
d38074a8 2589 * objc-lang.h (find_methods): Remove declaration.
2f9a90b4
AF
2590 * objc-lang.c (find_methods): Make static.
2591
6f17862b
CF
25922003-02-20 Christopher Faylor <cgf@redhat.com>
2593
2594 * win32-nat.c (get_image_name): Check return value from
2595 ReadProcessMemory.
2596 (child_xfer_memory): Ditto.
2597
715d1656
AO
25982003-02-20 Alexandre Oliva <aoliva@redhat.com>
2599
2600 * configure.in (TARGET_SYSTEM_ROOT): Set default to
2601 ${exec_prefix}/${target_alias}/sys-root. Match explicit
2602 '${exec_prefix}' (in addition to the expansion thereof) as
2603 relocatable.
2604 * configure: Rebuilt.
2605
b1262a02
DC
26062003-02-20 David Carlton <carlton@math.stanford.edu>
2607
2608 * symtab.c (search_symbols): Revert the search_symbols part of my
2609 2002-12-23 patch. Add comment.
2610
7134143f
DJ
26112002-02-20 Daniel Jacobowitz <drow@mvista.com>
2612
2613 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
2614 * dbxread.c (elfstab_build_psymtabs): Don't call
2615 install_minimal_symbols.
2616 (stabsect_build_psymtabs): Likewise.
2617 * elfread.c (elf_symfile_read): Call install_minimal_symbols
2618 earlier.
2619 * somread.c (som_symfile_read): Call install_minimal_symbols
2620 and do_cleanups earlier.
2621 * nlmread.c (nlm_symfile_read): Likewise.
2622 * mdebugread.c (elfmdebug_build_psymtabs): Call
2623 install_minimal_symbols and make appropriate cleanups.
2624
cf466558
KB
26252003-02-20 Kevin Buettner <kevinb@redhat.com>
2626
2627 * solib.c (reload_shared_libraries): New function.
2628 (_initialize_solib): Add callbacks for ``set solib-search-path''
2629 and ``set solib-absolute-prefix''.
2630
de5ad195
DC
26312003-02-20 David Carlton <carlton@math.stanford.edu>
2632
2633 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
2634 expand comment.
2635 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
2636 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
2637 * ada-typeprint.c (ada_typedef_print): Ditto.
2638 * ax-gdb.c (gen_var_ref): Ditto.
2639 * breakpoint.c (print_one_breakpoint): Ditto.
2640 * buildsym.c (finish_block): Ditto.
2641 * c-valprint.c (c_val_print): Ditto.
2642 * expprint.c (print_subexp): Ditto.
2643 * findvar.c (locate_var_value): Ditto.
2644 * infcmd.c (jump_command): Ditto.
2645 * linespec.c (decode_line_2, decode_compound): Ditto.
2646 * maint.c (maintenance_translate_address): Ditto.
2647 * objc-lang.c (compare_selectors, compare_classes): Ditto.
2648 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
2649 Ditto.
2650 * p-valprint.c (pascal_val_print): Ditto.
2651 * stabsread.c (define_symbol): Ditto.
2652 * stack.c (print_frame, frame_info, print_block_frame_locals)
2653 (print_frame_arg_vars, return_command): Ditto.
2654 * symfile.c (compare_symbols, compare_psymbols): Ditto.
2655 * symmisc.c (print_symbol): Ditto.
2656 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
2657 (compare_search_syms, print_symbol_info, print_msymbol_info)
2658 (rbreak_command): Ditto.
2659 * tracepoint.c (tracepoints_info): Ditto.
2660 * typeprint.c (typedef_print): Ditto.
2661 * valops.c (value_of_variable, hand_function_call): Ditto.
2662 * cli/cli-cmds.c (edit_command, list_command): Ditto.
2663 * ada-typeprint.c: Update Copyright.
2664 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
2665 * tracepoint.c, cli/cli-cmds.c: Ditto.
2666
f796e4be
KB
26672003-02-20 Kevin Buettner <kevinb@redhat.com>
2668
2669 * frame.c (generic_unwind_get_saved_register): Make non-static.
2670 * frame.h (generic_unwind_get_saved_register): Declare.
2671 * mips-tdep.c (read_next_frame_reg): Fetch register from
2672 current regcache when frame is NULL.
2673 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
2674 that must be NULL.
2675 (mips_get_saved_register): Call generic_unwind_get_saved_register()
2676 instead of frame_register_unwind().
2677
836cc9f4
AC
26782003-02-20 Andrew Cagney <ac131313@redhat.com>
2679
2680 * remote-sim.c (gdbsim_insert_breakpoint)
2681 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
2682 code.
2683
501eef12
AC
26842003-02-20 Andrew Cagney <ac131313@redhat.com>
2685
2686 * remote.c (_initialize_remote): Add commands "set/show remote
2687 hardware-watchpoint-limit" and "set/show remote
2688 hardware-breakpoint-limit".
2689 (remote_hw_watchpoint_limit): Initialize to -1.
2690 (remote_hw_breakpoint_limit): Ditto.
2691 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
2692
1b6bc7e0
CF
26932003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
2694
2695 * coff-pe-read.c: New file - support reading of minimal symbols from a
2696 portable executable using the export table.
2697 * coff-pe-read.h: New file.
2698 * coffread.c: Include coff-pe-read.h.
2699 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
2700 debugging symbols found.
2701 * Makefile.in (SFILES): Add coff-pe-read.o.
2702 (coff_pe_read_h): Define.
2703 (COMMON_OBS): Add coff-pe-read.o.
2704 (coffread.o): Add coff_pe_read_h dependency.
2705 (coff-pe-read.o): New target.
2706
fe898f56
DC
27072003-02-19 David Carlton <carlton@math.stanford.edu>
2708
2709 * Makefile.in (SFILES): Add block.c.
2710 (block_h): New.
2711 (COMMON_OBS): Add block.o.
2712 (block.o): New.
2713 (x86-64-tdep.o): Add $(block_h).
2714 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
2715 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
2716 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
2717 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
2718 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
2719 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
2720 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
2721 * value.h: Add opaque declaration for struct block.
2722 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
2723 * ada-lang.h: Ditto.
2724 * x86-64-tdep.c: #include "block.h"
2725 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
2726 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
2727 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
2728 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
2729 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
2730 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
2731 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
2732 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
2733 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
2734 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
2735 * symtab.c (block_function): Ditto.
2736 (contained_in): Ditto.
2737 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
2738 block.h. Add opaque declaration for struct block.
2739 * symtab.h: Move block_function and contained_in declarations to
2740 block.h. Add opaque declarations for struct block, struct
2741 blockvector.
2742 (struct block): Move to block.h.
2743 (struct blockvector): Ditto.
2744 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
2745 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
2746 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
2747 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
2748 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
2749 Ditto.
2750 * block.c: New file.
2751 * block.h: New file.
2752
173345b5
TR
27532003-02-19 Theodore A. Roth <troth@openavr.org>
2754
2755 * avr-tdep.c (avr_extract_return_value): Remove function.
2756 (avr_store_return_value): Remove function.
2757 (avr_extract_struct_value_address): Remove function.
2758 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
2759
338ef23d
AC
27602003-02-19 Andrew Cagney <ac131313@redhat.com>
2761
2762 * rs6000-tdep.c: Include "gdb_assert.h".
2763 (registers_e500): Add "acc" and "spefscr".
2764 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
2765 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
2766 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
2767 really is "r0".
2768 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
2769
5412f5f3
KS
27702003-02-18 Keith Seitz <keiths@redhat.com>
2771
2772 * Makefile.in: Add gdbtk-interps.c.
2773
881324eb
KB
27742003-02-18 Kevin Buettner <kevinb@redhat.com>
2775
2776 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
2777 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
2778
6a2f5abf
AC
27792003-02-18 Andrew Cagney <cagney@redhat.com>
2780
2781 * symtab.h (struct objfile): Add opaque declaration.
2782
54c7009d
EZ
27832003-02-18 Elena Zannoni <ezannoni@redhat.com>
2784
2785 From Jim Ingham <jingham@apple.com>:
2786 * dbxread.c (process_one_symbol): Use last_function_start rather
2787 than function_start_offset to find the real beginning of the
2788 current function. The latter is just the text section offset on
2789 some systems, the former is always the real function start.
2790
7ee6d7eb
AC
27912003-02-17 Andrew Cagney <cagney@redhat.com>
2792
2793 * configure.in: Revert ${target} != ${host}.
2794
2846da9b
AC
27952003-02-17 Andrew Cagney <ac131313@redhat.com>
2796
2797 * configure.in (Makefile): Use the test ${target} != ${host},
2798 instead of the absence of the "nm.h" file, to determine of the
2799 configuration non-native.
2800 * configure: Regenerate.
2801
3b27aeea
EZ
28022003-02-14 Elena Zannoni <ezannoni@redhat.com>
2803
2804 From Brian Ford <ford@vss.fsi.com>
2805
2806 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
2807 conditionalize tui_active test.
2808 (lookup_cmd_1): Ditto.
2809
b0b1c2c0
MK
28102003-02-14 Mark Kettenis <kettenis@gnu.org>
2811
2812 * configure.in: Add check for _etext.
2813 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
2814 available.
2815 * config.in, configure: regenerated.
2816
8f05cde5
DJ
28172003-02-14 Daniel Jacobowitz <drow@mvista.com>
2818
2819 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
2820
021e7609
AC
28212003-02-14 Andrew Cagney <ac131313@redhat.com>
2822
2823 * main.c (tui_version): Delete variable.
2824 (captured_main): When --tui, set interpreter_p to "tui" instead of
2825 enabling tui_version.
2826 * printcmd.c (display_command) [TUI]: Test tui_active instead of
2827 tui_version.
2828 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
2829 * cli/cli-cmds.c (disassemble_command): Ditto.
2830 * defs.h (tui_version): Delete declaration.
2831 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
2832 (tui-interp.o): Add rules.
2833 (SUBDIR_TUI_OBS): Add "tui-interp.o".
2834
e325dcec
CF
28352003-02-14 Christopher Faylor <cgf@redhat.com>
2836
36ffb041 2837 * win32-nat.c (register_loaded_dll): Correctly set address range for
e325dcec
CF
2838 just-loaded dll.
2839
c4f90d87
JM
28402003-02-12 Jason Molenda (jmolenda@apple.com)
2841
2842 * symmisc.c (print_objfile_statistics): Include information about
2843 the number of psymtabs and symtabs in each object file.
2844
e46e5ccd
KS
28452003-02-13 Keith R Seitz <keiths@redhat.com>
2846
2847 * main.h (struct captured_main_args): Add interpreter_p.
2848 * main.c (captured_main): Initialize interpreter_p from context.
2849 * gdb.c (main): Set interpreter_p argument.
2850 * Makefile.in (gdb.o): Add dependency for interps.h.
2851
fe97fe9c
AC
28522003-02-12 Andrew Cagney <ac131313@redhat.com>
2853
2854 * event-top.c (cli_command_loop): Delete declaration.
2855 (_initialize_event_loop): Delete function setting event_loop_hook.
2856 * event-top.h (cli_command_loop): Declare. Update copyright.
2857 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
2858 * interps.c (current_interp_command_loop): When event_loop_p, call
2859 cli_command_loop.
2860
1cdac4ef
AC
28612003-02-12 Andrew Cagney <ac131313@redhat.com>
2862
2863 * interps.h (interp_command_loop_ftype): Change return type to
2864 void.
2865
48037ead
ML
28662003-02-12 Michal Ludvig <mludvig@suse.cz>
2867
2868 * x86-64-tdep.c (x86_64_extract_return_value)
2869 (x86_64_store_return_value): Use regcache instead of regbuf.
2870 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
2871 * x86-64-linux-nat.c (fill_gregset): Use regcache.
2872
033afc63
AC
28732003-02-11 Andrew Cagney <ac131313@redhat.com>
2874
2875 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
2876 * aclocal.m4: Regenerate.
2877 * configure: Regenerate.
2878
2879 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
2880 TCL_LD_SEARCH_FLAGS.
2881
40d02bca
ML
28822003-02-10 Michal Ludvig <mludvig@suse.cz>
2883
2884 * dwarf2cfi.c: Reindented.
2885
11308a41
AC
28862003-02-09 Andrew Cagney <ac131313@redhat.com>
2887
2888 * interps.c (clear_interpreter_hooks): Convert function definition
2889 to ISO C.
2890
e1c1c0f6
DC
28912003-02-07 David Carlton <carlton@math.stanford.edu>
2892
2893 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
2894
ab5d3da6
KB
28952003-02-07 Kevin Buettner <kevinb@redhat.com>
2896
2897 * gdbtypes.h (struct main_type): Move ``length'' field from here...
2898 (struct type): ...to here.
2899 (TYPE_LENGTH): Adjust to reflect different location of ``length''
2900 field.
2901 * gdbtypes.c (make_qualified_type): Set length on newly created type.
2902 (replace_type): Set length on all type variants for a given type.
2903
b8a92b82
AC
29042003-02-07 Andrew Cagney <ac131313@redhat.com>
2905
2906 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
2907 <sys/stat.h>.
2908 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
2909
5cb316ef
AC
29102003-02-06 Andrew Cagney <ac131313@redhat.com>
2911
2555fe1a
AC
2912 * Makefile.in (symm-nat.o): Update dependencies.
2913 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
2914 (lynx-nat.o, ia64-linux-nat.): Ditto.
2915 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
2916 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
2917 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
2918
44270758
AC
2919 * Makefile.in (inflow_h): Define.
2920 (procfs.o, inflow.o, procfs.o): Update dependencies.
2921 * inftarg.c (child_stop): Delete extern declaration of
2922 inferior_process_group. Include "inflow.h".
2923 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
2924 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
2925 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
2926 (our_process_group, inferior_process_group): Extern declarations.
2927
df8f7274
AC
2928 * procfs.c: Include "gdb_assert.h".
2929
5cb316ef
AC
2930 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
2931 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
2932 * jv-typeprint.c (java_type_print_base): Ditto.
2933 * typeprint.c (typedef_print): Eliminate STREQ.
2934 * cli/cli-script.c (define_command, define_command): Ditto.
2935 * main.c (captured_main): Ditto.
2936 * values.c (lookup_internalvar): Ditto.
2937 * utils.c (safe_strerror, parse_escape): Eliminate assignment
2938 within `if' conditional.
2939 * linespec.c (decode_line_2): Ditto.
2940 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
2941 (bfd_openw_with_cleanup): Ditto.
2942
2a28ccea
MK
29432003-02-07 Mark Kettenis <kettenis@gnu.org>
2944
2945 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
2946 legacy_extract_return_value and store_return_value to
2947 legacy_return_value.
2948
786b8124
CF
29492003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
2950
2951 * win32-nat.c (get_relocated_section_addrs): New function. Find
2952 section load addresses for symbol handling in relocated DLLs.
2953 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
2954
b871e4ec
FF
29552003-02-05 Fred Fish <fnf@intrinsity.com>
2956
2957 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
2958 '=' and '!='.
2959 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
2960 with '&' and '=='.
2961 (angel_RDI_info): Ditto.
2962 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
2963 with '&' and '!='.
2964 (threads_continue_all_with_signals): Ditto.
2965
4389a95a
AC
29662003-02-05 Jim Ingham <jingham@apple.com>
2967 Keith Seitz <keiths@redhat.com>
2968 Elena Zannoni <ezannoni@redhat.com>
2969 Andrew Cagney <ac131313@redhat.com>
2970
2971 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
2972 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
2973 (SUBDIR_MI_OBS): Add "mi-interp.o".
2974 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
2975 (SFILES): Add "interps.c".
2976 (COMMON_OBS): Add "interps.o".
2977 (interps_h, mi_main_h): Define.
2978 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
2979 (mi-main.o, main.o, event-top.o): Update dependencies.
2980 * cli/cli-interp.c: New file.
2981 * interps.h, interps.c: New files.
2982 * top.c: (gdb_init): Don't install the default interpreter, handed
2983 by captured_main.
2984 * main.c: Include "interps.h".
2985 (interpreter_p): Note that it should malloc'ed.
2986 (captured_command_loop): Call current_interp_command_loop.
2987 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
2988 xfree and xstrdup when updating interpreter_p. Install the
2989 default interpreter. Add hack to stop mi1's copyright notice
2990 being encoded.
2991 * event-top.h (gdb_setup_readline): Declare.
2992 (gdb_disable_readline): Declare.
2993 * event-top.c: Include "interps.h".
2994 (display_gdb_prompt): Call current_interp_display_prompt_p.
2995 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
2996 gdb_stdlog, and gdb_stdtarg.
2997 (_initialize_event_loop): Don't call gdb_setup_readline.
2998 * cli-out.c (cli_out_set_stream): New function.
2999 * cli-out.h (cli_out_set_stream): Declare.
3000
ff3b5810
MK
30012003-02-06 Mark Kettenis <kettenis@gnu.org>
3002
3003 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
3004 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
3005 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
3006 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
3007 config/i386/i386v42mp.mt: Removed.
3008
5b729aa5
MK
30092003-02-05 Mark Kettenis <kettenis@gnu.org>
3010
3011 * configure.tgt (*-*-solaris*): Set gdb_osabi to
3012 GDB_OSABI_SOLARIS.
3013
8cc15142
MC
30142003-02-05 Michael Chastain <mec@shout.net>
3015
3016 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
3017 2.12.1 and earlier versions.
3018
5aa5d4b9
AC
30192003-02-05 Andrew Cagney <ac131313@redhat.com>
3020
3021 Remove orphaned hosts, targets and files.
3022 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
3023 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
3024 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
3025 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
3026 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
3027 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
3028 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
3029 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
3030 * config/sparc/tm-sp64sim.h: Delete.
3031 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
3032 hosts.
3033 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
3034 mips*-dec-mach3* targets.
3035
b68767c1
MC
30362003-02-04 Michael Chastain <mec@shout.net>
3037
3038 * NEWS: Fix typo: sepcifying -> specifying.
3039
5ae7ca1d
MC
30402003-02-04 Michael Chastain <mec@shout.net>
3041
3042 * dwarfread.c: Add documentation on the state of dwarf-1,
3043 looking towards obsoletion.
3044
d08a4280
MC
30452003-02-03 Michael Chastain <mec@shout.net>
3046
3047 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
3048 gdb/testsuite/gdb.c++/pr-1023.exp.
3049
e9be73e4
AC
30502003-02-04 Andrew Cagney <ac131313@redhat.com>
3051
3052 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
3053 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
3054
3055 * utils.c (init_page_info): Delete reference to MPW in comments.
3056 * main.c (captured_main): Delete #ifdef MPW.
3057
05d57f6f
AC
30582003-02-04 Andrew Cagney <ac131313@redhat.com>
3059
3060 * NEWS: Note that the m32r-*-elf* is obsolete.
3061 * monitor.c (monitor_expect): Obsolete reference to m32r.
3062 * configure.tgt: Mark m32r-*-elf* as obsolete.
3063 * MAINTAINERS: Mark m32k as obsolete.
3064 * m32r-rom.c: Obsolete file.
3065 * config/m32r/m32r.mt: Obsolete file.
3066 * config/m32r/tm-m32r.h: Obsolete file.
3067 * m32r-stub.c: Obsolete file.
3068 * m32r-tdep.c: Obsolete file.
3069
8b0e5691
AC
30702003-02-04 Andrew Cagney <ac131313@redhat.com>
3071
3072 * NEWS: Mention that the z8k-zilog-none is obsolete.
3073 * MAINTAINERS: Mark z8k as obsolete.
3074 * configure.tgt: Obsolete the z8k-*-coff* target.
3075 * config/z8k/z8k.mt: Obsolete file.
3076 * config/z8k/tm-z8k.h: Obsolete file.
3077 * z8k-tdep.c: Obsolete file.
3078
67f16606
AC
30792003-02-04 Andrew Cagney <ac131313@redhat.com>
3080
3081 * NEWS: Mention that the mn10200-elf is obsolete.
3082 * configure.tgt: Obsolete mn10200-*-* target.
3083 * breakpoint.c (update_breakpoints_after_exec): Update comment to
3084 mention that the mn10200 is obsolete.
3085 * breakpoint.h: Ditto.
3086 * MAINTAINERS: Mark the mn10200-elf as obsolete.
3087 * config/mn10200/mn10200.mt: Obsolete file.
3088 * config/mn10200/tm-mn10200.h: Obsolete file.
3089 * mn10200-tdep.c: Obsolete file.
3090
fd2299bd
AC
30912003-02-04 Andrew Cagney <ac131313@redhat.com>
3092
3093 * MAINTAINERS: Mark h8500 as obsolete.
3094 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
3095 * findvar.c (value_from_register): Ditto.
3096 * h8500-tdep.c: Mark file as obsolete.
3097 * config/h8500/h8500.mt: Ditto.
3098 * config/h8500/tm-h8500.h: Ditto.
3099 * NEWS: Mention that h8500 is obsolete.
3100
eb9a305d
DC
31012003-02-04 David Carlton <carlton@math.stanford.edu>
3102
3103 * objfiles.c (allocate_objfile): Always set name. Add comment at
3104 start of function.
3105 * jv-lang.c (get_dynamics_objfile): Add comment.
3106
406fc7fb
DC
31072003-02-04 David Carlton <carlton@math.stanford.edu>
3108
3109 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
3110 * printcmd.c (build_address_symbolic): Replace uses of
3111 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
3112 SYMBOL_NAME, and asm_demangle.
3113 Update copyright.
3114
93d91629
DC
31152003-02-04 David Carlton <carlton@math.stanford.edu>
3116
3117 * linespec.c (decode_compound): Extract code into
3118 lookup_prefix_sym.
3119 (lookup_prefix_sym): New function.
3120
1c5cb38e
DC
31212003-02-04 David Carlton <carlton@math.stanford.edu>
3122
3123 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
3124 FLOAT_COERCION_BADNESS.
3125 * gdbtypes.c (rank_one_type): Replace all uses of
3126 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
3127
0cf824c9
JB
31282003-02-04 Jim Blandy <jimb@redhat.com>
3129
3130 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
3131 section, let dwarf_macinfo_section point to it, not
3132 dwarf_loc_section.
3133
a2d356b0
DJ
31342003-02-04 Daniel Jacobowitz <drow@mvista.com>
3135
3136 Pointed out by Anton Blanchard <anton@samba.org>.
3137 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
3138 (ppc_linux_at_sigtramp_return_path): Use it.
3139
2de7ced7
DJ
31402003-02-04 Daniel Jacobowitz <drow@mvista.com>
3141
3142 * defs.h (streq): Add prototype.
3143 * utils.c (streq): New function.
3144
3145 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
3146 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
3147 * mdebugread.c (new_symbol): Likewise.
3148 * stabsread.c (define_symbol): Likewise.
3149 * coffread.c (process_coff_symbol): Likewise.
3150 * dwarfread.c (new_symbol): Likewise.
3151
3152 * minsyms.c (prim_record_minimal_symbol_and_info): Use
3153 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
3154 here.
3155 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
3156 SYMBOL_INIT_DEMANGLED_NAME.
3157 * objfiles.c: Include "hashtab.h".
3158 (allocate_objfile): Call htab_set_functions_ex for the
3159 demangled_names_hash.
3160 (free_objfile): Call htab_delete for the demangled_names_hash.
3161 * objfiles.h (struct htab): Add declaration.
3162 (struct objfile): Add demangled_names_hash.
3163 * symfile.c: Include "hashtab.h".
3164 (reread_symbols): Call htab_delete for the demangled_names_hash.
3165 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
3166 SYMBOL_NAME in the bcache.
3167 * symtab.c: Include "hashtab.h". Update comments.
3168 (create_demangled_names_hash, symbol_set_names): New functions.
3169 (symbol_find_demangled_name): New function, broken out from
3170 symbol_init_demangled_names.
3171 (symbol_init_demangled_names): Use it.
3172 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
3173 (SYMBOL_SET_NAMES): New macro.
3174 (symbol_set_names): Add prototype.
3175
15831452
JB
31762003-02-03 Jim Blandy <jimb@redhat.com>
3177
3178 Use a single, consistent representation for an empty minimal
3179 symbol table in an objfile.
3180 * objfiles.c (terminate_minimal_symbol_table): New function.
3181 (allocate_objfile): Call it.
3182 * objfiles.h (terminate_minimal_symbol_table): New declaration.
3183 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
3184 non-NULL.
3185 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
3186 objfile has minimal symbols, compare minimal_symbol_count to zero,
3187 instead of comparing msymbols with NULL.
3188 * objfiles.c (have_minimal_symbols): Same.
3189 * solib-sunos.c (solib_add_common_symbols): Call
3190 terminate_minimal_symbol_table.
3191 * symfile.c (reread_symbols): Same.
3192
ffc65945
KB
31932003-02-03 Kevin Buettner <kevinb@redhat.com>
3194
3195 * s390-tdep.c (s390_address_class_type_flags)
3196 (s390_address_class_type_flags_to_name)
3197 (s390_address_class_name_to_type_flags): New functions.
3198 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
3199 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
3200
f211c6d4
MS
32012003-02-03 Michael Snyder <msnyder@redhat.com>
3202
3203 * arm-tdep.c: Fix spell-o in comment.
3204
659b0389
ML
32052003-02-03 Michal Ludvig <mludvig@suse.cz>
3206
3207 * dwarf2cfi.c (pointer_encoding): Added new parameter.
3208 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
3209 error messages to contain BFD filename.
3210
3b31d625
EZ
32112003-02-02 Elena Zannoni <ezannoni@redhat.com>
3212
997b089a 3213 Fix PR gdb/742 gdb/743 gdb/877
3b31d625
EZ
3214 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
3215 (do_mixed_source_and_assembly): Use
3216 make_cleanup_ui_out_tuple_begin_end and
3217 make_cleanup_ui_out_tuple_begin_end.
3218 (do_mixed_source_and_assembly): Ditto.
3219 * thread.c (do_captured_list_thread_ids): Ditto.
3220 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
3221 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
3222 ui_out_tuple_end): Delete prototypes.
3223 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
3224 ui_out_list_end, ui_out_tuple_end): Delete.
3225
3226 From Kevin Buettner <kevinb@redhat.com>:
3227 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
3228 * ui-out.c (make_cleanup_ui_out_table_begin_end)
3229 (do_cleanup_table_end): New functions.
3230 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
3231 Use cleanups to invoke_ui_out_tuple_end().
3232 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
3233 * cli/cli-setshow.c (cmd_show_list): Use
3234 make_cleanup_ui_out_tuple_begin_end.
3235
5b181d62
AC
32362003-02-02 Andrew Cagney <ac131313@redhat.com>
3237
3238 * frame.c (frame_unwind_register): New function.
3239 (frame_unwind_unsigned_register): Use.
3240 (frame_unwind_signed_register): Use.
3241 (frame_read_register): New function.
3242 * frame.h (frame_unwind_register): Declare.
3243 (frame_read_register): Declare.
3244
3245 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
3246 and frame_unwind_register instead of read_memory, write_register
3247 and deprecated_write_register_bytes.
3248
5f601589
AC
32492003-02-02 Andrew Cagney <ac131313@redhat.com>
3250
3251 * frame.h: Note that namelen can be negative.
3252 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
3253 NAME's length.
3254
3255 * NEWS: Mention that the d10v's `regs' command is deprecated.
3256 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
3257 (d10v_print_registers_info): New function.
3258 (show_regs): Call d10v_print_registers_info.
3259 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
3260
6a3fe0a4
MK
32612003-02-02 Mark Kettenis <kettenis@gnu.org>
3262
3263 * stack.c (print_frame_info): Restore call to annotate_frame_begin
3264 lost in the previous patch.
3265
075559bc
AC
32662003-02-01 Andrew Cagney <ac131313@redhat.com>
3267
3268 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
3269 * stack.c (print_frame_info_base): Output complete FRAME tuple
3270 for synthesized frames.
3271
6789195b
AC
32722003-02-02 Andrew Cagney <ac131313@redhat.com>
3273
3274 * mips-nat.c (zerobuf): Delete.
3275 (fetch_inferior_registers): Alloc local zerobuf.
3276 (fetch_core_registers): Alloc local zerobuf.
3277 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
3278 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
3279 * thread-db.c (thread_db_store_registers): Ditto.
3280 * sh-tdep.c (sh_do_register): Ditto.
3281 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
3282 * remote-sim.c (gdbsim_store_register): Ditto.
3283 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
3284 * remote-e7000.c (fetch_regs_from_dump): Ditto.
3285 * monitor.c (monitor_supply_register): Ditto.
3286 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
3287 * mips-nat.c (fetch_inferior_registers): Ditto.
3288 * m68klinux-nat.c (fetch_register): Ditto.
3289 * lynx-nat.c (fetch_inferior_registers): Ditto.
3290 (fetch_inferior_registers): Ditto.
3291 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
3292 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
3293 (hpux_thread_store_registers): Ditto.
3294 * hppah-nat.c (fetch_register): Ditto.
3295 * hppab-nat.c (fetch_register): Ditto.
3296 * hppa-tdep.c (pa_register_look_aside): Ditto.
3297 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
3298 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
3299
e669114a
AC
33002003-02-01 Andrew Cagney <ac131313@redhat.com>
3301
3302 * gdbarch.sh: Explictly specify all method levels. When a
3303 variable with an empty level, provide a non-multi-arch default.
3304 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
3305 * gdbarch.h: Re-generate.
3306 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
3307 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
3308
9a043c1d
AC
33092003-02-01 Andrew Cagney <ac131313@redhat.com>
3310
3311 * defs.h (host_pointer_to_address): Delete declaration.
3312 (address_to_host_pointer): Delete declaration.
3313 * utils.c (host_pointer_to_address): Delete function.
3314 (address_to_host_pointer): Delete function.
3315 * procfs.c (procfs_address_to_host_pointer): New function.
3316 * procfs.c (proc_set_watchpoint): Use.
3317 (procfs_can_use_hw_breakpoint): Update comments.
3318 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
3319 (som_solib_add): Use.
3320 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
3321 * hppa-tdep.c (unwind_command): Use.
3322
7ca9f392
AC
33232003-02-01 Andrew Cagney <ac131313@redhat.com>
3324
94bbfd30
AC
3325 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
3326 strlen d_name.
3327
7ca9f392
AC
3328 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
3329 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
3330 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
3331 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
3332 (define_symbol): Update.
3333 * symfile.c (generic_load): Remove references to nindy.
3334 * symtab.c: Remove references to nindy.
3335
31a85ea2
AC
33362003-02-01 Andrew Cagney <ac131313@redhat.com>
3337
3338 * infcmd.c (print_float_info): Delete code conditional on
3339 FLOAT_INFO.
3340 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
3341 * config/m68k/nm-apollo68b.h: Ditto.
3342 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
3343 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
3344 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
3345
f6e85fc8
MK
33462003-02-01 Mark Kettenis <kettenis@gnu.org>
3347
6015b6a0
MK
3348 * config/i386/tm-i386os9k.h: Removed.
3349
f7a30bdf
MK
3350 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
3351 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
3352 they're identical to i[3456]86-*-sysv* now.
3353 * config/i386/i386v32.mh: Removed.
3354 * config/i386/xm-i386v32.h: Removed.
3355 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
3356
28d52111
MK
3357 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
3358
4d3f6bce
MK
3359 * config/i386/i386dgux.mh: Removed.
3360 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
3361
f6e85fc8
MK
3362 * configure.in: Fix typo.
3363 * configure: Regenerated.
3364
53955967
DC
33652003-01-31 David Carlton <carlton@math.stanford.edu>
3366
3367 * dwarf2read.c (dwarf2_locate_sections): Set
3368 dwarf_ranges_section.
3369
b1364885
AC
33702003-01-31 Andrew Cagney <ac131313@redhat.com>
3371
8dbb1c65
AC
3372 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
3373 * utils.c: Update comments documenting legitimate uses of PTR.
3374
8731e58e
AC
3375 * utils.c: Re-indent.
3376
b1364885
AC
3377 * config/djgpp/fnchange.lst: Delete nindy files.
3378 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
3379 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
3380 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
3381 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
3382 * nindy-share/README, nindy-share/Onindy.c: Delete files.
3383 * nindy-tdep.c, nindy-share/Makefile: Delete files.
3384 * Makefile.in (init.c): Remove nindy references.
3385 (saber_gdb): Delete rule.
3386 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
3387 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
3388 and a68v-nat.c.
3389 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
3390 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
3391 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
3392 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
3393 nindy-share/stop.h.
3394 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
3395 * saber.suppress: Delete file.
3396
086df311
DJ
33972003-01-31 Daniel Jacobowitz <drow@mvista.com>
3398
3399 * dbxread.c (stabs_data): New static variable.
3400 (fill_symbuf): Support an in-memory buffer for stabs data.
3401 (stabs_seek): New function.
3402 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
3403 (read_ofile_symtab): Use stabs_seek.
3404 (elfstab_build_psymtabs): Take an asection* instead of
3405 an offset and size. Relocate the stabs data if necessary.
3406 Save the section* for dbx_psymtab_to_symtab.
3407 * dwarf2read.c: Add section variables for each debug section.
3408 (dwarf2_locate_sections): Fill them in.
3409 (dwarf2_read_section): Take an asection* argument.
3410 Relocate the section contents if necessary.
3411 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
3412 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
3413 it to dwarf2_read_section.
3414 (dwarf2_build_frame_info): Update callers.
3415 * elfread.c (elf_symfile_read): Update call to
3416 elfstab_build_psymtabs.
3417 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
3418 (DBX_STAB_SECTION): New macro.
3419 * stabsread.h (elfstab_build_psymtabs): Update prototype.
3420 * symfile.c (symfile_dummy_outputs): New function.
3421 (symfile_relocate_debug_section): New function.
3422 * symfile.h (symfile_relocate_debug_section): Add prototype.
3423
87d1b352
RH
34242003-01-31 Richard Henderson <rth@redhat.com>
3425
3426 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
3427 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
3428 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
3429 * alpha-tdep.c (alpha_register_name): Add "unique".
3430 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
3431 (ALPHA_UNIQUE_REGNUM): New.
3432 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
3433
c48861fb
AC
34342003-01-31 Andrew Cagney <ac131313@redhat.com>
3435
3436 * README: Remove reference to Ericsson 1800 monitor.
3437 * Makefile.in (remote-es.o): Delete rule.
3438 (ALLDEPFILES): Delete remote-es.c.
3439 * remote-es.c: Delete file.
3440 * config/m68k/es1800.mt: Delete file.
3441 * config/djgpp/fnchange.lst: Update.
3442 * configure.tgt: Delete m68*-ericsson-* target.
3443
d764a824
AF
34442003-01-31 Adam Fedor <fedor@gnu.org>
3445
3446 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
3447 Remove duplicate/shadowing variable of same name.
3448
fe36c4f4
JB
34492003-01-30 Jim Blandy <jimb@redhat.com>
3450
3451 * symfile.c (find_separate_debug_file): Assert that the objfile's
3452 directory name we compute ends with a slash, and then assume that
3453 that's so everywhere we use it.
3454
cb741690
DJ
34552003-01-30 Daniel Jacobowitz <drow@mvista.com>
3456
3457 * valops.c (value_assign): Flush frame cache after stores to memory
3458 also.
3459
96ee5227
AC
34602003-01-30 Andrew Cagney <ac131313@redhat.com>
3461
3462 * Makefile.in (mon960-rom.o): Delete rule.
3463 * mon960-rom.c: Delete file.
3464
7f6104a9
AC
34652003-01-30 Andrew Cagney <ac131313@redhat.com>
3466
3467 * d10v-tdep.c: Include "frame-unwind.h".
3468 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
3469 list.
3470 (next_addr, uses_frame): Delete.
3471 (struct d10v_unwind_cache): Define.
3472 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
3473 Use info instead of next_addr and uses_frame globals.
3474 (d10v_frame_init_saved_regs): Delete function.
3475 (d10v_init_extra_frame_info): Delete function.
3476 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
3477 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
3478 init_frame_pc or frame_saved_pc.
3479 (d10v_pop_frame): Delete function.
3480 (do_d10v_pop_frame): Delete function.
3481 (d10v_frame_chain): Delete function.
3482 (d10v_frame_chain_valid): Delete function.
3483 (d10v_frame_pc_unwind): New function.
3484 (d10v_frame_id_unwind): New function.
3485 (saved_regs_unwinder): New function.
3486 (d10v_frame_register_unwind): New function.
3487 (d10v_frame_pop): New function.
3488 (d10v_frame_unwind): New variable.
3489 (d10v_frame_p): New function.
3490 (d10v_frame_saved_pc): Delete function.
3491 * Makefile.in (d10v-tdep.o): Update dependencies.
3492
cad2e848
JB
34932003-01-30 J. Brobecker <brobecker@gnat.com>
3494
3495 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
3496 causing some regressions due to a change in the default value
3497 for this macro.
3498
af34e669
DJ
34992003-01-29 Richard Henderson <rth@redhat.com>
3500 Elena Zannoni <ezannoni@redhat.com>
3501 Daniel Jacobowitz <drow@mvista.com>
3502
3503 Fix PR gdb/961.
3504 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
3505 variables.
3506 (RANGES_SECTION): New.
3507 (dwarf_ranges_buffer): New variable.
3508 (struct comp_unit_head): Add member "die".
3509 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
3510 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
3511 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
3512 (dwarf2_locate_sections): Likewise.
3513 (dwarf2_build_psymtabs): Read .debug_ranges.
3514 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
3515 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
3516 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
3517 Look for DW_AT_ranges and return the bounding box.
3518
baa93fa6
CF
35192003-01-29 Brian Ford <ford@vss.fsi.com>
3520
3521 * win32-nat.c (cygwin_pid): Removed as unused.
3522 (child_attach): Try fall back to Cygwin pid.
3523
c63f977f
JB
35242003-01-29 Jim Blandy <jimb@redhat.com>
3525
3526 * objfiles.h (struct objfile): Doc fix.
3527
d62d1979
AC
35282003-01-29 Andrew Cagney <ac131313@redhat.com>
3529
3530 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
3531 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
3532 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
3533 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
3534 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
3535 (FRAME_SAVED_PC): Change to a function with predicate.
3536 * gdbarch.h, gdbarch.c: Re-generate.
3537
1ae18a04
AC
35382003-01-28 Andrew Cagney <ac131313@redhat.com>
3539
52287340
AC
3540 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
3541
1ae18a04
AC
3542 * complaints.c (complain): Delete function.
3543 * complaints.h (struct deprecated_complaint): Delete definition.
3544 (complain): Delete declaration.
3545
f2c16bd6
KB
35462003-01-28 Kevin Buettner <kevinb@redhat.com>
3547
3548 * mips-tdep.c (mips_init_extra_frame_info): Return early for
3549 dummy frames.
3550
a94dd1fd
AC
35512003-01-27 Andrew Cagney <ac131313@redhat.com>
3552
3553 * sentinel-frame.h, sentinel-frame.c: New files.
3554 * Makefile.in (frame.o): Update dependencies.
3555 (SFILES): Add sentinel-frame.c.
3556 (sentinel_frame_h): Define.
3557 (COMMON_OBS): Add sentinel-frame.o.
3558 (sentinel-frame.o): Specify dependencies.
3559 * frame.c: Include "sentinel-frame.h".
3560 (frame_register_unwind): Rewrite assuming that there is always a a
3561 ->next frame.
3562 (frame_register, generic_unwind_get_saved_register): Ditto.
3563 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
3564 (create_sentinel_frame, unwind_to_current_frame): New functions.
3565 (get_current_frame): Rewrite using create_sentinel_frame and
3566 unwind_to_current_frame. When possible, always create a frame.
3567 (create_new_frame): Set next to the sentinel frame.
3568 (get_next_frame): Rewrite. Don't go below the level 0 frame.
3569 (deprecated_update_frame_pc_hack): Update the next frame's PC and
3570 ID cache when necessary.
3571 (frame_saved_regs_id_unwind): Use frame_relative_level.
3572 (deprecated_generic_get_saved_register): Use frame_relative_level,
3573 get_frame_saved_regs, get_frame_pc, get_frame_base and
3574 get_next_frame.
3575 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
3576 frame_register.
3577
5378adc4
DJ
35782003-01-27 Daniel Jacobowitz <drow@mvista.com>
3579
3580 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
3581
51ee2ddc
DJ
35822003-01-27 Daniel Jacobowitz <drow@mvista.com>
3583
3584 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
3585 (maintenance_set_profile_cmd): Use error () instead of warning ().
3586
d9feb4e7
DJ
35872003-01-27 Daniel Jacobowitz <drow@mvista.com>
3588
3589 * configure.in: Check that -pg works if using --enable-profiling.
3590 Check for monstartup and _mcleanup regardless of --enable-profiling.
3591 * maint.c: Check for monstartup and _mcleanup before using them.
3592 * config.in: Regenerated.
3593 * configure: Regenerated.
3594
2d188dd3
NC
35952003-01-24 Nick Clifton <nickc@redhat.com>
3596
3597 * Add sh2e support:
3598
3599 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
3600
3601 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
3602 (sh2e_show_regs): New.
3603 (sh_gdbarch_init): Handle bfd_mach_sh2e.
3604 * config/sh/tm-sh.h: Added sh2e to comments.
3605
cb3c37b2
JB
36062003-01-23 Jim Blandy <jimb@redhat.com>
3607
3608 * symfile.c (syms_from_objfile): Don't print the "(no debugging
3609 symbols found)" message here; we haven't checked for a separate
3610 debug info file yet, so we don't know yet.
3611 (symbol_file_add_with_addrs_or_offsets): Print it here, after
3612 we've looked everywhere. Also, there's no need to print a special
3613 message when we're loading the separate debug info file: the one
3614 symbol_file_add prints is fine.
3615
5b5d99cf
JB
36162003-01-23 Alexander Larsson <alexl@redhat.com>
3617 Jim Blandy <jimb@redhat.com>
3618
3619 Add support for executables whose debug info has been separated
3620 out into a separate file, leaving only a link behind.
3621 * objfiles.h (struct objfile): New fields: separate_debug_objfile
3622 and separate_debug_objfile_backlink.
3623 (put_objfile_before): New declaration.
3624 * symfile.c: #include "filenames.h".
3625 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
3626 debug info in a separate file, read that, too. Save the addrs
3627 argument, so we can use it again to read the separated debug info;
3628 syms_from_objfile modifies the table we pass it.
3629 (reread_symbols): After re-reading an objfile, call
3630 reread_separate_symbols to refresh its separate debug info
3631 objfile, if it has one.
3632 (reread_separate_symbols, find_separate_debug_file,
3633 get_debug_link_info, separate_debug_file_exists): New functions.
3634 (debug_file_directory): New global var.
3635 (_initialize_symfile): Initialize debug_file_directory, and
3636 provide the new `set debug-file-directory' command to let the user
3637 change it.
3638 * objfiles.c (free_objfile): If this objfile has its debug info in
3639 a separate objfile, free that one too. If this is itself a
3640 separate debug info objfile, clear our parent's backlink.
3641 (put_objfile_before): New function.
3642 * utils.c (gnu_debuglink_crc32): New function.
3643 * defs.h (gnu_debuglink_crc32): New declaration.
3644 * Makefile.in (symfile.o): Note dependency on "filenames.h".
3645 * configure.in: Handle --with-separate-debug-dir config option.
3646 * acinclude.m4 (AC_DEFINE_DIR): New macro.
3647 * acconfig.h (DEBUGDIR): New macro.
3648 * configure, aclocal.m4, config.in: Regenerated.
3649
7e8580c1
JB
36502003-01-22 Jim Blandy <jimb@redhat.com>
3651
7904e09f
JB
3652 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
3653 like the old symbol_file_add, but taking new arguments: you can
3654 now pass in either a `struct section_addr_info' list to say where
3655 each section is loaded, or a `struct section_offsets' table. Pass
3656 these new arguments through to syms_from_objfile as appropriate.
3657 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
3658 with the appropriate quiescent values for the new arguments.
3659
7e8580c1
JB
3660 * symfile.c: #include "gdb_assert.h".
3661 (syms_from_objfile): Add the ability to pass in a section offset
3662 table directly, as an alternative to the section_addr_info table.
3663 Document arguments better.
3664 (symbol_file_add): Pass extra arguments to syms_from_objfile.
3665 * symfile.h (syms_from_objfile): Update declaration.
3666 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
3667 syms_from_objfile.
3668 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
3669
d28f9cdf
DJ
36702003-01-22 Daniel Jacobowitz <drow@mvista.com>
3671
3672 Original patch by Tom Tromey <tromey@cygnus.com> and
3673 Jason Molenda <jmolenda@apple.com>.
3674 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
3675 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
3676 * NEWS: Mention profiling.
3677 * configure.in (--enable-gdbtk): Fix typo.
3678 (--enable-profiling): New. Set PROFILE_CFLAGS.
3679 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
3680 Fill in function.
3681 (profiling_state): New variable.
3682 (mcleanup_wrapper): New function.
3683 (_initialize_maint): Remove NOTYET, fix call to
3684 add_setshow_boolean_cmd for "maint set profile".
3685 * configure: Regenerated.
3686
df21e465
MH
36872003-01-21 Martin M. Hunt <hunt@redhat.com>
3688
3689 * Makefile.in (install-gdbtk): Install PNG images too.
3690
73c1f219
AC
36912003-01-21 Andrew Cagney <ac131313@redhat.com>
3692
3693 * exec.c (text_start): Delete global variable.
3694 (exec_file_attach): Make text_start local to the function.
3695 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
3696 * valops.c (hand_function_call): Delete code that handles
3697 BEFORE_TEXT_END and AFTER_TEXT_END.
3698 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
3699 of CALL_DUMMY_LOCATION.
3700 * gdbarch.c: Regenerate.
3701 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
3702 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
3703 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
3704 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
3705 (text_end): Delete extern declaration.
3706
eb4f72c5
AC
37072003-01-21 Andrew Cagney <ac131313@redhat.com>
3708
3709 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
3710 * blockframe.c (backtrace_below_main): Move to "frame.c".
3711 (frame_chain_valid): Delete check for backtrace_below_main.
3712 (_initialize_blockframe): Delete initialization, move ``set
3713 backtrace-below-main'' command to "frame.c".
3714 (do_flush_frames_sfunc): Delete function.
3715 * frame.c: Include "command.h" and "gdbcmd.h".
3716 (frame_type_from_pc): New function.
3717 (create_new_frame): Use frame_type_from_pc.
3718 (legacy_get_prev_frame): New function.
3719 (get_prev_frame): Rewrite. When an old style frame, call
3720 legacy_get_prev_frame. Otherwize, unwind the PC first.
3721 (_initialize_frame): Add ``set backtrace-below-main'' command.
3722 * Makefile.in (frame.o): Update dependencies.
3723
778ce8cc
AC
37242003-01-19 Andrew Cagney <ac131313@redhat.com>
3725
3726 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
3727 DEPRECATED_REGISTERS_INFO.
3728
01c193c8
AC
37292003-01-19 Andrew Cagney <ac131313@redhat.com>
3730
3731 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
3732 Maintainers'. Update `Various Maintainers'.
3733
dedc2a2b
AC
37342003-01-19 Andrew Cagney <ac131313@redhat.com>
3735
3736 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
3737 * gdbarch.sh (POP_FRAME): Change to function with predicate.
3738 Suppress actual parameters when `-'.
3739 * gdbarch.h, gdbarch.c: Regenerate.
3740
b7261c70
AC
37412003-01-19 Andrew Cagney <ac131313@redhat.com>
3742
3743 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
3744 code handling dummy frames.
3745
dbe9fe58
AC
37462003-01-19 Andrew Cagney <ac131313@redhat.com>
3747
3748 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
3749 (struct frame_unwind): Add field pop.
3750 * frame.h (frame_pop): Declare.
3751 * frame.c (frame_saved_regs_pop): New function.
3752 (trad_frame_unwinder): Add frame_saved_regs_pop.
3753 (frame_pop): New function.
3754 * dummy-frame.c (dummy_frame_pop): New function.
3755 (discard_innermost_dummy): New function.
3756 (generic_pop_dummy_frame): Use discard_innermost_dummy.
3757 (dummy_frame_unwind): Add dummy_frame_pop.
3758 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
3759 * valops.c (hand_function_call): Ditto.
3760 * stack.c (return_command): Ditto.
3761
570b8f7c
AC
37622003-01-18 Andrew Cagney <ac131313@redhat.com>
3763
3764 * cris-tdep.c: Fix function declaration indentation.
3765 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
3766 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
3767 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
3768 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
3769 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
3770 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
3771
37722003-01-18 Michael Chastain <mec@shout.net>
eaec4d85
MC
3773
3774 * README (Unpacking and Installation -- quick overview):
3775 Warn against ".../gdb-5.3/gdb/configure".
3776
494cca16
AC
37772003-01-18 Andrew Cagney <ac131313@redhat.com>
3778
3779 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
3780 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3781 (struct frame_unwind): Declare opaque.
3782 (dummy_frame_p): Declare function.
3783 * dummy-frame.c (dummy_frame_id_unwind): Make static.
3784 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3785 * dummy-frame.c: Include "frame-unwind.h".
3786 (dummy_frame_p): New function.
3787 (dummy_frame_unwind): New variable.
3788 * frame.c: Include "frame-unwind.h".
3789 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
3790 to use the new unwind field.
3791 (set_unwind_by_pc): Delete function.
3792 (create_new_frame, get_prev_frame): Set unwind field using
3793 frame_unwind_find_by_pc.
3794 (trad_frame_unwind, trad_frame_unwinder): New variables.
3795 * frame.h (trad_frame_unwind): Declare variable.
3796 (frame_id_unwind_ftype): Delete declaration.
3797 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
3798 (struct frame_unwind): Declare opaque.
3799 (struct frame_info): Replace the fields id_unwind, pc_unwind and
3800 register_unwind with a single unwind pointer.
3801 * frame-unwind.h, frame-unwind.c: New files.
3802 * Makefile.in (SFILES): Add frame-unwind.c.
3803 (frame_unwind_h): Define.
3804 (COMMON_OBS): Add frame-unwind.o.
3805 (frame-unwind.o): Specify dependencies.
3806 (frame.o, dummy-frame.o): Update dependencies.
3807
4efb68b1
AC
38082003-01-18 Andrew Cagney <ac131313@redhat.com>
3809
3810 * ada-valprint.c: Eliminate PTR.
3811 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
3812 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
3813 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
3814 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
3815 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
3816 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
3817 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
3818
a84d24ee
AC
38192003-01-17 Andrew Cagney <ac131313@redhat.com>
3820
762f08a3
AC
3821 * main.c (captured_main): Don't use PTR.
3822 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
3823 * gdbtypes.c (lookup_primitive_typename): Ditto.
3824 (lookup_struct_elt_type): Ditto.
3825 * f-valprint.c (info_common_command): Ditto.
3826 (list_all_visible_commons): Ditto.
3827 * jv-typeprint.c (java_type_print_base): Ditto.
3828
a84d24ee
AC
3829 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
3830 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
3831 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
3832 i386-interix-nat.c and i386-interix-tdep.c. Rename
3833 m68klinux-nat.c and m68klinux-tdep.c. Rename
3834 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
3835 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
3836 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
3837 * main.c (captured_main): Use xfree, not free.
3838
c170fb60
AC
38392003-01-16 Andrew Cagney <ac131313@redhat.com>
3840
3841 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
3842 ID back using a parameter.
3843 * frame.c (frame_id_unwind): Update call.
3844 (frame_saved_regs_id_unwind): Update.
3845 * dummy-frame.c (dummy_frame_id_unwind): Update function.
3846 * dummy-frame.h (struct frame_id): Add opaque declaration.
3847 (dummy_frame_id_unwind): Update declaration.
3848
867f3898
AC
38492003-01-15 Andrew Cagney <ac131313@redhat.com>
3850
3851 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
3852
40622be8 38532003-01-15 Stephen P. Smith <ischis2@cox.net>
de3a8c23 3854
40622be8 3855 * MAINTAINERS (Stephen P. Smith): Updated email address.
de3a8c23 3856
ae66c1fc
EZ
38572003-01-14 Elena Zannoni <ezannoni@redhat.com>
3858
997b089a 3859 Fix PR gdb/898
ae66c1fc
EZ
3860 * breakpoint.c (until_break_command): Add new argument. Use it to
3861 decide whether to stop only at the current frame or not.
3862 * breakpoint.h (until_break_command): Update prototype.
3863 * infcmd.c (until_command): Add new argument to until_break_command
3864 call.
3865 (advance_command): New function.
3866 (_initialize_infcmd): Update help string for 'until' command.
3867 Add new 'advance' command.
3868
a04257e6
DC
38692003-01-14 David Carlton <carlton@math.stanford.edu>
3870
3871 * linespec.c (decode_line_1): Normalize comments.
3872 (set_flags): Ditto.
3873 (locate_first_half): Ditto.
3874 (decode_compound): Ditto.
3875 (symtab_from_filename): Ditto.
3876 (decode_all_digits): Ditto.
3877 (decode_dollar): Ditto.
3878 (find_methods): Ditto.
3879 (find_toplevel_char): Ditto.
3880
1bac305b
AC
38812003-01-13 Andrew Cagney <ac131313@redhat.com>
3882
3883 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
3884 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
3885 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
3886 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
3887 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
3888 * language.c, language.h, m32r-tdep.c: Update copyright.
3889 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
3890 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
3891 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
3892 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
3893 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
3894 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
3895
25caa7a8
EZ
38962003-01-13 Elena Zannoni <ezannoni@redhat.com>
3897
3898 * stabsread.h (process_later, resolve_cfront_continuation):
3899 Obsolete.
3900 Update copyright years.
3901 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
3902 Update copyright year.
3903 * dbxread.c(struct cont_elem): Obsolete.
3904 (process_later, process_now): Obsolete functions.
3905 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
3906 Update copyright year.
3907 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
3908 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
3909 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
3910 (parse_partial_symbols): Obsolete cfront support.
3911 * stabsread.c
3912 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
3913 macros.
3914 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
3915 read_cfront_baseclasses, read_cfront_member_functions,
3916 resolve_cfront_continuation,read_cfront_static_fields,
3917 copy_cfront_struct_fields): Obsolete functions.
3918 (define_symbol, read_one_struct_field): Obsolete cfront support.
3919 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
3920 Update Copyright year.
3921
7789c6f5
EZ
39222003-01-13 Elena Zannoni <ezannoni@redhat.com>
3923
3924 * stack.c (print_frame_info, print_stack_frame_base_stub,
3925 print_stack_frame_base, show_and_print_stack_frame_stub,
3926 show_and_print_stack_frame, print_only_stack_frame_stub,
3927 print_only_stack_frame): Delete functions.
3928 (print_stack_frame_stub): Call print_frame_info instead of
3929 print_frame_info_base.
3930 (print_frame_info_base): Rename to print_frame_info.
3931 (backtrace_command_1): Call print_frame_info, instead of
3932 print_frame_info_base.
3933 (current_frame_command): Call print_stack_frame, instead of
3934 print_only_stack_frame.
3935 (frame_command): Call print_stack_frame, instead of
3936 show_and_print_stack_frame.
3937 (up_command): Ditto.
3938 (down_command): Ditto.
3939 * frame.h (print_only_stack_frame): Delete prototype.
3940 * infrun.c (normal_stop): Call print_stack_frame, instead of
3941 show_and_print_stack_frame.
3942 * thread.c (info_threads_command): Call print_stack_frame, instead
3943 of print_only_stack_frame.
3944
3f5a3016
AC
39452003-01-13 Andrew Cagney <ac131313@redhat.com>
3946
d99ba314
AC
3947 * README (Graphical interface to GDB): Update URL. Point at
3948 gdb/links/.
3949
3f5a3016
AC
3950 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
3951 version match.
3952
083ae935
DJ
39532003-01-13 Daniel Jacobowitz <drow@mvista.com>
3954
3955 * symtab.c (find_pc_sect_line): Don't consider end-of-function
3956 lines.
3957
5365276c
DJ
39582003-01-13 Daniel Jacobowitz <drow@mvista.com>
3959
3960 * thread-db.c (attach_thread): Prototype.
3961 (struct private_thread_info): Remove lwpid. Add thread handle (th),
3962 thread information (ti), and valid flags (th_valid, ti_valid).
3963 (attach_thread): Move target_pid_to_str call to after the thread
3964 is added to GDB's list. Initialize the cache.
3965 (thread_get_info_callback, thread_db_map_id2thr)
3966 (thread_db_get_info): New functions.
3967 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
3968 (thread_db_store_registers, thread_db_thread_alive)
3969 (thread_db_get_thread_local_address): Use them.
3970 (thread_db_pid_to_str): Likewise. Return "Missing" instead
3971 of calling error() for threads in unknown state.
3972
3973 (clear_lwpid_callback): New function.
3974 (thread_db_resume): Use it to clear the cache.
3975
9fc30b6b
DJ
39762003-01-13 Daniel Jacobowitz <drow@mvista.com>
3977
3978 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
3979 (resume_callback): Remove dead code.
3980
8f871025
AC
39812003-01-13 Andrew Cagney <ac131313@redhat.com>
3982
3983 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
3984 predicate.
3985 * gdbarch.h, gdbarch.c: Regenerate.
3986 * stack.c (frame_info): Only initialize the saved registers when
3987 FRAME_INIT_SAVED_REGS_P.
3988 * frame.c (frame_saved_regs_register_unwind): Assert
3989 FRAME_INIT_SAVED_REGS_P.
3990 (deprecated_generic_get_saved_register): Ditto.
3991
3f565f1e
DJ
39922003-01-13 Daniel Jacobowitz <drow@mvista.com>
3993
3994 * source.c (openp): Squelch warning about "filename".
3995
072b1022
DJ
39962003-01-13 Daniel Jacobowitz <drow@mvista.com>
3997
3998 * source.c (openp): If the file does not exist don't necessarily
3999 search the path.
4000
973ccf8b
DJ
40012003-01-13 Daniel Jacobowitz <drow@mvista.com>
4002
4003 Fix PR gdb/872.
4004 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
4005 (integer_types_same_name_p): New function.
4006 (rank_one_type): Use it.
4007 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
4008
030292b7
DJ
40092003-01-13 Daniel Jacobowitz <drow@mvista.com>
4010
4011 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
4012 variables.
4013 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
4014 * configure.in: Add --with-sysroot.
4015 * configure: Regenerated.
4016 * main.c (gdb_sysroot): New variable.
4017 (captured_main): Initialize gdb_sysroot.
4018 * defs.h (gdb_sysroot): New extern declaration.
4019 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
4020
afb5d334
MC
40212003-01-12 Michael Chastain <mec@shout.net>
4022
4023 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
4024
751ceeb4
MC
40252003-01-12 Michael Chastain <mec@shout.net>
4026
4027 * top.c (print_gdb_version): Bump copyright year to 2003.
4028
94cd26f8
DC
40292003-01-12 David Carlton <carlton@bactrian.org>
4030
4031 * linespec.c (symtab_from_filename): Rename variable 's' to
4032 'file_symtab'.
4033
1ce79225
AC
40342003-01-12 Andrew Cagney <ac131313@redhat.com>
4035
4036 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
4037 dummy frame.
4038 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
4039
fa1fd571
AC
40402003-01-12 Andrew Cagney <ac131313@redhat.com>
4041
4042 * d10v-tdep.c: Include "gdb_assert.h".
4043 (d10v_store_return_value): Rewrite to match current interface.
4044 (d10v_extract_struct_value_address): Ditto.
4045 (d10v_extract_return_value): Ditto.
4046 (d10v_gdbarch_init): Set store_restore_value,
4047 extract_struct_value_address and extract_return_value.
4048
68b8d23e
JB
40492003-01-12 J. Brobecker <brobecker@gnat.com>
4050
4051 * hpread.c (set_namestring): New procedure replacing the
4052 SET_NAMESTRING macro.
4053 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
4054 by calls to set_namestring.
4055
40562003-01-11 J. Brobecker <brobecker@gnat.com>
1fb309ea
JB
4057
4058 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
4059 a compilation warning.
4060 (hpread_process_one_debug_symbol): Likewise.
4061
88d262ca
DC
40622003-01-10 David Carlton <carlton@math.stanford.edu>
4063
4064 * linespec.c (decode_line_1): Rename variable 's' to
4065 'file_symtab'.
4066 (decode_all_digits): Rename argument 's' to 'file_symtab'.
4067 (decode_dollar): Ditto.
4068 (decode_variable): Ditto.
4069 (symbol_found): Ditto.
4070
86669319
MC
40712003-01-09 Michael Chastain <mec@shout.net>
4072
4073 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
4074
616a9dc4
CV
40752003-01-07 Corinna Vinschen <vinschen@redhat.com>
4076
4077 * win32-nat.c (set_process_privilege): New function.
4078 (child_attach): Call set_process_privilege() to enable the
4079 SE_DEBUG_NAME user privilege if available in process token.
4080
3269bcfa
JB
40812003-01-10 J. Brobecker <brobecker@gnat.com>
4082
4083 * hpread.c (hpread_process_one_debug_symbol): Fix a small
4084 compilation error in the previous revision.
4085
2b0ee454
DC
40862003-01-09 David Carlton <carlton@math.stanford.edu>
4087
4088 * linespec.c: Update copyright.
4089
b3ba1b44
DJ
40902003-01-09 Daniel Jacobowitz <drow@mvista.com>
4091
4092 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
4093 than inferior_ptid.
4094 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
4095
4ef3f3be
AC
40962003-01-09 Andrew Cagney <ac131313@redhat.com>
4097
479ab5a0
AC
4098 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
4099 Update comments.
4100 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
4101 (frame_saved_regs_zalloc): Update.
4102 (frame_saved_regs_register_unwind): Update.
4103 (create_new_frame): Update.
4104 (get_prev_frame): Update.
4105 (frame_extra_info_zalloc): Update.
4106 (deprecated_get_frame_saved_regs): Update.
4107 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
4108 * cris-tdep.c: Update comment.
4109
bde58177
AC
4110 * somsolib.h: Fix function indentation.
4111 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
4112 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
4113 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
4114 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
4115 * somsolib.c, inftarg.c: Remove assignment in if conditional.
4116
4ef3f3be
AC
4117 * infrun.c (follow_fork): Use ISO C definition.
4118 * expprint.c (print_subexp): Use xfree instead of free.
4119 * charset.c: Include "gdb_string.h" instead of <string.h>.
4120 (register_iconv_charsets): Use ISO C definition.
4121 (host_charset, target_charset): Ditto.
4122 * Makefile.in (charset.o): Update dependencies.
4123 (mi-cmd-env.o): Update dependencies.
4124
1c615f7a
AC
41252003-01-08 Andrew Cagney <cagney@redhat.com>
4126
4127 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
4128 get_frame_base.
4129
c9a1dc08
AC
41302003-01-08 Andrew Cagney <ac131313@redhat.com>
4131
4132 * gdb_mbuild.sh: Add --keep option. When specified, keep the
4133 build directories. Save edited gdb output in Mbuild.log. If a
4134 build fails, remove any final GDB executable.
4135
dbad9d94
AC
41362003-01-08 Andrew Cagney <ac131313@redhat.com>
4137
4138 * gdb_mbuild.sh: Edit the output of `maint print architecture'
4139 replacing hex constants with function names and stripping leading
4140 file name directory prefixes.
4141
8d357cca
AC
41422003-01-08 Andrew Cagney <cagney@redhat.com>
4143
4144 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
4145 get_frame_base.
4146
bca02a8a
DC
41472003-01-08 David Carlton <carlton@math.stanford.edu>
4148
4149 * linespec.c (decode_line_1): Move code into decode_variable.
4150 (decode_variable): New function.
4151
7f8ab3a0
AC
41522003-01-08 Andrew Cagney <ac131313@redhat.com>
4153
4154 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
4155
7b5849cc
AC
41562003-01-08 Andrew Cagney <cagney@redhat.com>
4157
4158 * cris-tdep.c (cris_frame_init_saved_regs): Use
4159 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
4160 saved_regs buffer.
4161 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
4162 (sh64_nofp_frame_init_saved_regs): Ditto.
4163 (sh_fp_frame_init_saved_regs): Ditto.
4164 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
4165 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
4166 * mcore-tdep.c (analyze_dummy_frame): Ditto.
4167 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
4168
72a5efb3
DJ
41692003-01-08 Daniel Jacobowitz <drow@mvista.com>
4170
4171 * minsyms.c (lookup_minimal_symbol): Update comment.
4172 (lookup_minimal_symbol_text): Update comment. Use the hash table.
4173 (lookup_minimal_symbol_solib_trampoline): Likewise.
4174
11c02a10
AC
41752003-01-08 Andrew Cagney <cagney@redhat.com>
4176
aab3ea25
AC
4177 * d10v-tdep.c (d10v_init_extra_frame_info): Use
4178 frame_relative_level.
4179
da50a4b7
AC
4180 * alpha-tdep.c: Use get_frame_extra_info.
4181 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4182 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
4183 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
4184 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
4185
11c02a10
AC
4186 * alpha-tdep.c: Use get_next_frame.
4187 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4188 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
4189 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
4190 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
4191 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
4192 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
4193 * xstormy16-tdep.c: Ditto.
4194
1e2330ba
AC
41952003-01-07 Andrew Cagney <cagney@redhat.com>
4196
4197 * alpha-tdep.c: Use get_frame_base.
4198 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4199 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
4200 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
4201 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
4202 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
4203 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
4204 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
4205 * config/sparc/tm-sparc.h: Ditto.
4206
2d75187b
AC
42072003-01-07 Andrew Cagney <cagney@redhat.com>
4208
4209 * frame.c (deprecated_get_frame_context): New function.
4210 (deprecated_set_frame_context): New function.
4211 * frame.h (deprecated_get_frame_context): Declare.
4212 (deprecated_set_frame_context): Declare.
4213 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
4214 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
4215
483d36b2
AC
42162003-01-07 Andrew Cagney <cagney@redhat.com>
4217
4218 * frame.c (deprecated_set_frame_next_hack): New function.
4219 (deprecated_set_frame_prev_hack): New function.
4220 * frame.h (deprecated_set_frame_next_hack): Declare.
4221 (deprecated_set_frame_prev_hack): Declare.
4222 * mcore-tdep.c (analyze_dummy_frame): Use
4223 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
4224 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
4225
14e91ac5
DC
42262003-01-07 David Carlton <carlton@math.stanford.edu>
4227
4228 * linespec.c (decode_line_1): Move code into decode_dollar.
4229 (decode_dollar): New function.
4230
b0c6b05c
AC
42312003-01-07 Andrew Cagney <cagney@redhat.com>
4232
4233 * arm-tdep.c (arm_init_extra_frame_info): Use
4234 deprecated_update_frame_base_hack.
4235 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
4236 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
4237 (fix_frame_pointer): Ditto.
4238 (mn10300_analyze_prologue): Ditto.
4239
a00a19e9
AC
42402003-01-07 Andrew Cagney <cagney@redhat.com>
4241
4242 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
4243 extra_info using frame_extra_info_zalloc.
4244 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
4245 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
4246 (sh64_init_extra_frame_info): Ditto.
4247 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
4248 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
4249 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
4250 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
4251 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
4252 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
4253 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
4254 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
4255 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
4256 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
4257 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
4258 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
4259
4260 * mn10300-tdep.c (analyze_dummy_frame): Use
4261 deprecated_set_frame_extra_info_hack.
4262 * mcore-tdep.c (analyze_dummy_frame): Ditto.
4263
1fb4c65b
JB
42642003-01-07 J. Brobecker <brobecker@gnat.com>
4265
4266 * mdebugread.c (parse_symbol): Skip stProc entries which storage
4267 class is not scText. These do not define "real" procedures.
4268 (parse_partial_symbols): Likewise.
4269
9fe7d6bf
MS
42702003-01-06 Michael Snyder <msnyder@redhat.com>
4271
4272 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
4273
f6c609c4
AC
42742003-01-06 Andrew Cagney <ac131313@redhat.com>
4275
4276 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
4277 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
4278 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
4279 deprecated_frame_xmalloc_with_cleanup.
4280 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
4281 deprecated_frame_xmalloc.
4282 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
4283 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
4284
d995ff4b
AC
42852003-01-06 Andrew Cagney <cagney@redhat.com>
4286
84dc46cb
AC
4287 * x86-64-linux-tdep.c: Include "osabi.h".
4288 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
4289
d995ff4b
AC
4290 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
4291
66140c26
AC
42922003-01-06 Andrew Cagney <cagney@redhat.com>
4293
4294 * MAINTAINERS (Target Instruction Set Architectures): Update
4295 arm-elf. Can be built with -Werror, has been multiarched.
4296
4297 * value.h (unpack_long): Make buffer parameter constant.
4298 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
4299 * scm-lang.h (scm_parse): Ditto.
4300 * defs.h (extract_typed_address, extract_address): Ditto.
4301 (extract_long_unsigned_integer): Ditto.
4302 * inferior.h (unsigned_pointer_to_address): Ditto.
4303 (signed_pointer_to_address): Ditto.
4304 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
4305 * gdbarch.h, gdbarch.c: Regenerate.
4306 * findvar.c (extract_long_unsigned_integer): Update.
4307 (extract_address): Update.
4308 (extract_typed_address): Update.
4309 (unsigned_pointer_to_address): Update.
4310 * values.c (unpack_long): Update.
4311 (unpack_double): Update.
4312 (unpack_pointer): Update.
4313 (unpack_field_as_long): Update.
4314 * d10v-tdep.c (d10v_pointer_to_address): Update.
4315 * avr-tdep.c (avr_pointer_to_address): Update.
4316 * scm-lang.c (scm_unpack): Update.
4317 * findvar.c (signed_pointer_to_address): Update.
4318
b089b3da
ML
43192003-01-06 Michal Ludvig <mludvig@suse.cz>
4320
4321 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
4322 since it is in i386-tdep.c.
4323
aff87235
JB
43242003-01-06 J. Brobecker <brobecker@gnat.com>
4325
4326 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
4327 failure introduced in the previous change.
4328
34f5e845
MC
43292003-01-05 Michael Chastain <mec@shout.net>
4330
4331 * README: Remove references to deleted remote-*.c files:
4332 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
4333 remote-nrom.c, remote-os9k.c, remote-udi.c.
4334
28bcfd30
MK
43352003-01-05 Mark Kettenis <kettenis@gnu.org>
4336
4337 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
4338 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
4339 i386_get_longjmp_target.
4340
15a5b3ee
AC
43412003-01-05 Andrew Cagney <ac131313@redhat.com>
4342
4343 * arm-tdep.c (prologue_cache): Change to a pointer.
4344 (_initialize_arm_tdep): Allocate prologue_cache.
4345 (check_prologue_cache): Update.
4346 (save_prologue_cache): Update.
4347 (arm_gdbarch_init): Update.
4348
c263362b
DJ
43492003-01-04 Daniel Jacobowitz <drow@mvista.com>
4350
4351 * stabsread.c (update_method_name_from_physname): Call complaint()
4352 instead of error.
4353
51603483
DJ
43542003-01-04 Daniel Jacobowitz <drow@mvista.com>
4355
4356 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
4357 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
4358 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
4359
4360 * blockframe.c: Include "gdbcmd.h" and "command.h".
4361 (backtrace_below_main): New variable.
4362 (file_frame_chain_valid, func_frame_chain_valid)
4363 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
4364 (generic_func_frame_chain_valid): Remove functions.
4365 (frame_chain_valid, do_flush_frames_sfunc): New functions.
4366 (_initialize_blockframe): New function.
4367 * Makefile.in (blockframe.o): Update dependencies.
4368 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
4369 comment. Call frame_chain_valid ().
4370 * frame.h: Remove old prototypes. Add prototype for
4371 frame_chain_valid and update comments to match.
4372 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
4373 Remove old comment.
4374 * gdbarch.h: Regenerated.
4375 * gdbarch.c: Regenerated.
4376
4377 * alpha-tdep.c (alpha_gdbarch_init): Don't call
4378 set_gdbarch_frame_chain_valid.
4379 * avr-tdep.c (avr_gdbarch_init): Likewise.
4380 * cris-tdep.c (cris_gdbarch_init): Likewise.
4381 * frv-tdep.c (frv_gdbarch_init): Likewise.
4382 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
4383 * i386-tdep.c (i386_svr4_init_abi): Likewise.
4384 (i386_nw_init_abi): Likewise.
4385 (i386_gdbarch_init): Likewise.
4386 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
4387 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
4388 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
4389 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
4390 * mips-tdep.c (mips_gdbarch_init): Likewise.
4391 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
4392 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
4393 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
4394 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
4395 * s390-tdep.c (s390_gdbarch_init): Likewise.
4396 * sh-tdep.c (sh_gdbarch_init): Likewise.
4397 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
4398 * v850-tdep.c (v850_gdbarch_init): Likewise.
4399 * vax-tdep.c (vax_gdbarch_init): Likewise.
4400 * x86-64-tdep.c (x86_64_init_abi): Likewise.
4401
4402 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
4403 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
4404 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
4405 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
4406 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
4407 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
4408 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
4409 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
4410
b00a8037
DJ
44112002-01-04 Daniel Jacobowitz <drow@mvista.com>
4412
4413 * Makefile.in (acconfig_h): Remove incorrect macro.
4414 (config_h): Define.
4415 (osabi.o): Update dependencies.
4416 * configure.tgt: Set gdb_osabi based on target triplet.
4417 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
4418 * configure: Regenerated.
4419 * config.in: Regenerated.
4420 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
4421 (GDB_OSABI_DEFAULT): Define if not already defined.
4422 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
4423 (set_osabi_string): New variables.
4424 (gdbarch_register_osabi): Add new OS ABI to
4425 gdb_osabi_available_names.
4426 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
4427 (set_osabi, show_osabi): New functions.
4428 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
4429
4be87837
DJ
44302003-01-04 Daniel Jacobowitz <drow@mvista.com>
4431
4432 * arch-utils.c (gdbarch_info_init): Set osabi to
4433 GDB_OSABI_UNINITIALIZED.
4434 * gdbarch.sh: Add osabi to struct gdbarch and to struct
4435 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
4436 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
4437 * gdbarch.c: Regenerated.
4438 * gdbarch.h: Regenerated.
4439 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
4440 there's no BFD.
4441 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
4442 * osabi.h (enum gdb_osabi): Move to defs.h.
4443 (gdbarch_init_osabi): Update prototype.
4444 * defs.h (enum gdb_osabi): Moved here.
4445 * Makefile.in: Update dependencies.
4446
4447 * alpha-tdep.h: Don't include "osabi.h".
4448 (struct gdbarch_tdep): Remove osabi member.
4449 * alpha-tdep.c: Include "osabi.h".
4450 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4451 iterate over arches. Update call to gdbarch_init_osabi.
4452 (alpha_dump_tdep): Don't dump osabi.
4453 * alpha-linux-tdep.c: Include "osabi.h".
4454 * alpha-osf1-tdep.c: Include "osabi.h".
4455 * alphafbsd-tdep.c: Include "osabi.h".
4456 * alphanbsd-tdep.c: Include "osabi.h".
4457
4458 * arm-tdep.h: Don't include "osabi.h".
4459 (struct gdbarch_tdep): Remove osabi member.
4460 * arm-tdep.c: Include "osabi.h".
4461 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4462 iterate over arches. Update call to gdbarch_init_osabi.
4463 (arm_dump_tdep): Don't dump osabi.
4464 * arm-linux-tdep.c: Include "osabi.h".
4465 * armnbsd-tdep.c: Include "osabi.h".
4466
4467 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
4468 Update call to gdbarch_init_osabi.
4469
4470 * i386-tdep.h: Don't include "osabi.h".
4471 (struct gdbarch_tdep): Remove osabi member.
4472 * i386-tdep.c: Include "osabi.h".
4473 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4474 iterate over arches. Update call to gdbarch_init_osabi.
4475 (i386_dump_tdep): Don't dump osabi.
4476 * i386-linux-tdep.c: Include "osabi.h".
4477 * i386-sol2-tdep.c: Include "osabi.h".
4478 * i386bsd-tdep.c: Include "osabi.h".
4479 * i386gnu-tdep.c: Include "osabi.h".
4480 * i386ly-tdep.c: Include "osabi.h".
4481 * i386nbsd-tdep.c: Include "osabi.h".
4482 * i386obsd-tdep.c: Include "osabi.h".
4483
4484 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
4485 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4486 check osabi when iterating over arches. Update call to
4487 gdbarch_init_osabi.
4488 (mips_dump_tdep): Don't dump osabi.
4489
4490 * ns32k-tdep.h: Don't include "osabi.h".
4491 (struct gdbarch_tdep): Remove.
4492 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
4493 gdbarch_lookup_osabi. Don't iterate over arches. Don't
4494 allocate tdep. Update call to gdbarch_init_osabi.
4495 (ns32k_dump_tdep): Remove.
4496 (_initialize_ns32k_tdep): Update call to gdbarch_register.
4497 * ns32knbsd-tdep.c: Include "osabi.h".
4498
4499 * ppc-tdep.h: Don't include "osabi.h".
4500 (struct gdbarch_tdep): Remove osabi member.
4501 * rs6000-tdep.c: Include "osabi.h".
4502 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
4503 osabi when iterating over arches. Update call to
4504 gdbarch_init_osabi.
4505 (rs6000_dump_tdep): Don't dump osabi.
4506 * ppc-linux-tdep.c: Include "osabi.h".
4507 * ppcnbsd-tdep.c: Include "osabi.h".
4508
4509 * sh-tdep.h: Don't include "osabi.h".
4510 (struct gdbarch_tdep): Remove osabi member.
4511 * sh-tdep.c: Include "osabi.h".
4512 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4513 iterate over arches. Update call to gdbarch_init_osabi.
4514 (sh_dump_tdep): Don't dump osabi.
4515 * shnbsd-tdep.c: Include "osabi.h".
4516
4517 * sparc-tdep.c: Include "osabi.h".
4518 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4519 iterate over arches. Update call to gdbarch_init_osabi.
4520 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
4521 tdep structure.
4522
4523 * vax-tdep.h: Don't include "osabi.h".
4524 (struct gdbarch_tdep): Remove.
4525 * vax-tdep.c: Include "osabi.h".
4526 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4527 iterate over arches. Don't allocate tdep. Update call
4528 to gdbarch_init_osabi.
4529 (vax_dump_tdep): Remove.
4530 (_initialize_vax_tdep): Update call to gdbarch_register.
4531
a881cf8e
DJ
45322003-01-04 Daniel Jacobowitz <drow@mvista.com>
4533
4534 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
4535 entirely.
4536 (breakpoint_re_set_one): Don't fetch the value for a disabled
4537 watchpoint.
4538
1e698235
DJ
45392003-01-04 Daniel Jacobowitz <drow@mvista.com>
4540
4541 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
4542 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
4543 (COERCE_FLOAT_TO_DOUBLE): Remove.
4544 * gdbarch.c: Regenerate.
4545 * gdbarch.h: Regenerate.
4546 * Makefile.in: Remove value_h from gdbarch_h.
4547 * valops.c (coerce_float_to_double): New variable.
4548 (default_coerce_float_to_double): Remove.
4549 (standard_coerce_float_to_double): Remove.
4550 (value_arg_coerce): Use coerce_float_to_double.
4551 (_initialize_valops): Add "set coerce-float-to-double".
4552 * value.h (default_coerce_float_to_double): Remove prototype.
4553 (standard_coerce_float_to_double): Remove prototype.
4554
4555 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
4556 prototyped.
4557 * mdebugread.c (parse_symbol): Likewise.
4558 * stabsread.c (define_symbol): Mark all functions as prototyped.
4559
4560 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
4561 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
4562 set_gdbarch_coerce_float_to_double.
4563 * arm-tdep.c (arm_gdbarch_init): Likewise.
4564 * frv-tdep.c (frv_gdbarch_init): Likewise.
4565 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
4566 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
4567 * mips-tdep.c (mips_gdbarch_init): Likewise.
4568 (mips_coerce_float_to_double): Remove.
4569 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
4570 (rs6000_coerce_float_to_double): Remove.
4571 * s390-tdep.c (s390_gdbarch_init): Likewise.
4572 * sh-tdep.c (sh_gdbarch_init): Likewise.
4573 (sh_coerce_float_to_double): Remove.
4574 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
4575 (sparc_coerce_float_to_double): Remove.
4576 * v850-tdep.c (v850_gdbarch_init): Likewise.
4577 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
4578 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
4579 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
4580 (hppa_coerce_float_to_double): Remove prototype.
4581 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
4582
f436a26a
DJ
45832003-01-04 Daniel Jacobowitz <drow@mvista.com>
4584
4585 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
4586
248f8055
DJ
45872003-01-04 Daniel Jacobowitz <drow@mvista.com>
4588
4589 Suggested by Stewart Brown <sb24@avaya.com>:
4590 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
4591 in recursive calls. Handle TYPE_CODE_TYPEDEF.
4592 (c_type_print_varspec_suffix): Likewise.
4593
72cfdc76
MK
45942003-01-04 Mark Kettenis <kettenis@gnu.org>
4595
bfd260bb
MK
4596 * configure.in: Don't set and AC_SUBST SUBDIRS.
4597 * configure: Regenerated.
4598
72cfdc76
MK
4599 * configure.in: Remove code dealing with shared libraries.
4600 * Makefile.in: Remove HLDFLAGS and HLDENV.
4601 * configure: Regenerated.
4602
c8b8a898
AC
46032003-01-04 Andrew Cagney <ac131313@redhat.com>
4604
4605 * frame.c (deprecated_frame_xmalloc): New function.
4606 (deprecated_set_frame_saved_regs_hack): New function.
4607 (deprecated_set_frame_extra_info_hack): New function.
4608 * frame.h (deprecated_frame_xmalloc): Declare.
4609 (deprecated_set_frame_saved_regs_hack): Declare.
4610 (deprecated_set_frame_extra_info_hack): Declare.
4611
14abd0fb
MK
46122003-01-04 Mark Kettenis <kettenis@gnu.org>
4613
8ee53726
MK
4614 * configure.in: Move code that provides the --enable-gdbtk option
4615 right after the code that handles the --enable-tui option, and
4616 polish it somewhat.
4617 * configure: Regenerated.
4618
14abd0fb
MK
4619 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
4620 AC_CHECK_FUNCS and remove the old check for pread64.
4621 * acinclude.m4 (AC_GNU_SOURCE): New macro.
4622 * acconfig.h (_GNU_SOURCE): Add.
4623 (HAVE_PREAD64): Remove.
4624 * configure, aclocal.m4, config.in: Regenerated.
4625
b2fb4676
AC
46262003-01-03 Andrew Cagney <ac131313@redhat.com>
4627
4628 * alpha-tdep.c: Use get_frame_saved_regs.
4629 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4630 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
4631 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
4632 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
4633 * vax-tdep.c, xstormy16-tdep.c: Ditto.
4634
8dcde887
MK
46352003-01-03 Mark Kettenis <kettenis@gnu.org>
4636
4637 * configure.in: Remove all use of the SUBDIRS variable; add
4638 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
4639 code providing the --enable-multi-ice option, and move it right in
4640 front of the code that checks whether gdbserver is supported.
4641 Polish that too.
4642 * configure: Regenerated.
4643 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
4644 @SUBDIRS@.
4645
8ccd593b
AC
46462003-01-03 Andrew Cagney <cagney@redhat.com>
4647
4648 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
4649 * avr-tdep.c, cris-tdep.c: Ditto.
4650 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
4651 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4652
91151a06
MK
46532003-01-03 Mark Kettenis <kettenis@gnu.org>
4654
4655 * configure.in: Remove --enable-netrom option.
4656 * configure: Regenerated.
4657
8fe84d01
MK
46582003-01-03 Mark Kettenis <kettenis@gnu.org>
4659
4660 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
4661 declaration for `struct re_pattern_buffer' instead.
4662 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
4663
f0394be6
JB
46642003-01-03 J. Brobecker <brobecker@gnat.com>
4665
4666 * mdebugread.c (parse_symbol): Count until the stEnd matching
4667 the structure name.
4668
27e9bf90
MK
46692003-01-02 Mark Kettenis <kettenis@gnu.org>
4670
93d331ba
MK
4671 * configure.in: Remove --with-cpu option.
4672 subscripts. Remove evil changequotes here.
4673 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
4674 * config.in, configure: Regenerated.
4675
27e9bf90
MK
4676 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
4677 * configure.in: Cleanup section that sources GDB and BFD configure
4678 subscripts. Remove evil changequotes here.
4679 * config.in, configure: Regenerated.
4680
50abf9e5
AC
46812003-01-02 Andrew Cagney <ac131313@redhat.com>
4682
4683 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
4684 frame accessor methods.
4685 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4686 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
4687 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
4688 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
4689 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4690 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
4691 * z8k-tdep.c: Ditto.
4692
287c1a40
MK
46932003-01-02 Mark Kettenis <kettenis@gnu.org>
4694
f5dbc56d
MK
4695 * configure.in: Remove UI_OUT configuration code.
4696 * ada-lang.c: Update assuming UI_OUT is always true.
4697 * Makefile.in (UIOUT_CFLAGS): Remove.
4698 * configure: Regenerated.
4699 * TODO: Remove blurb about elimination of -DUI_OUT.
4700
627af7ea
MK
4701 * configure.in: Move code that provides the --enable-gdbcli,
4702 --enable-gdbmi options right before the code that handles the
4703 --enable-tui option. Polish a bit.
4704 * configure: Regenerated.
4705
06825bd1
MK
4706 * configure.in: Rewrite check for GNU regex and the
4707 --without-included regex option, and move it into the "Checks for
4708 library functions" section. This makes us use the system regex
4709 again by default on systems with version 2 of the GNU C library.
4710 This was apparently broken.
4711 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
4712 * acconfig.h (USE_INCLUDED_REGEX): Remove.
4713 * config.in, configure: Regenerated.
4714
287c1a40
MK
4715 * configure.in: Move code that provides the --enable-tui option
4716 before the "Checks for libraries" section. Polish the code
4717 somewhat and set need_curses to yes if we build the TUI. Rewrite
4718 code that looks for a library providing termcap functionality to
4719 match more closely what's done in the Readline library, and move
4720 it into to the "Checks for libraries" section.
4721 * configure: Regenerated.
4722 * Makefile.in (TERMCAP): Remove variable.
4723 * config/i386/go32.mh (TERMCAP): Remove variable.
4724
684e56bf
AC
47252003-01-02 Andrew Cagney <ac131313@redhat.com>
4726
4727 * MAINTAINERS: Mention gdb_mbuild.sh.
4728 * gdb_mbuild.sh: Rewrite.
4729
e1ea1d75
MK
47302003-01-02 Mark Kettenis <kettenis@gnu.org>
4731
4732 * configure.in: Fix typo in last change.
4733 * config.in, configure: Regenerated.
4734
1b831c93
AC
47352003-01-02 Andrew Cagney <ac131313@redhat.com>
4736
4737 * valarith.c (value_binop): Delete obsolete code and comments.
4738 * configure.host: Ditto.
4739 * buildsym.h (make_blockvector): Ditto.
4740 * buildsym.c (make_blockvector): Ditto.
4741 * defs.h (enum language): Ditto.
4742 (chill_demangle): Ditto.
4743 * elfread.c (elf_symtab_read): Ditto.
4744 * dwarfread.c (CHILL_PRODUCER): Ditto.
4745 (set_cu_language): Ditto.
4746 (handle_producer): Ditto.
4747 * expprint.c (print_subexp): Ditto.
4748 * gdbtypes.c (chill_varying_type): Ditto.
4749 * gdbtypes.h (builtin_type_chill_bool): Ditto.
4750 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
4751 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
4752 (chill_varying_type): Ditto.
4753 * language.h (_LANG_chill): Ditto.
4754 * language.c (binop_result_type, integral_type): Ditto.
4755 (character_type, string_type, structured_type): Ditto.
4756 (lang_bool_type, binop_type_check): Ditto.
4757 * stabsread.h (os9k_stabs): Ditto.
4758 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
4759 (define_symbol, read_type, read_struct_fields): Ditto.
4760 (read_array_type, read_enum_type, read_huge_number): Ditto.
4761 (read_range_type, start_stabs): Ditto.
4762 * symfile.c (init_filename_language_table): Ditto.
4763 (add_psymbol_with_dem_name_to_list): Ditto.
4764 * symtab.c (symbol_init_language_specific): Ditto.
4765 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
4766 * symtab.h (struct general_symbol_info): Ditto.
4767 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
4768 * typeprint.c (typedef_print): Ditto.
4769 * utils.c (fprintf_symbol_filtered): Ditto.
4770 * valops.c (value_cast, search_struct_field, value_slice): Delete
4771 obsolete code.
4772 (varying_to_slice): Delete function.
4773 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
4774 (varying_to_slice): Delete declaration.
4775 * MAINTAINERS: Update.
4776
8bb2c122
MK
47772003-01-02 Mark Kettenis <kettenis@gnu.org>
4778
97bf5e38
MK
4779 * configure.in: Reorganize "Checks for library functions section"
4780 a bit. Remove check for `btowc' and `isascii' functions.
4781 * configure: Regenerated.
4782
5ee754fc
MK
4783 * acconfig.h (_MSE_INT_H): Remove.
4784 * configure.in: Create "Checks for header files" section, and move
4785 appropriate tests there. Don't check for objlist.h, wchar.h,
4786 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
4787 misdetection fix. Also add "Checks for types", "Checks for
4788 compiler characteristics" and "Checks for library functions"
4789 sections.
4790 * config.in, configure: Regenerated.
4791
8bb2c122
MK
4792 * configure.in: Create "Checks for programs" section, and move
4793 appropriate tests there.
4794
9a156167
MK
47952003-01-01 Mark Kettenis <kettenis@gnu.org>
4796
4797 * configure.in: Create "Checks for libraries" section, and move
4798 appropriate tests there. Cleanup check for wctype in libw. Use
4799 AC_SEARCH_LIBS to see whether we need libsocket.
4800 * configure: Regenerated.
4801
a80e2bcb 4802For older changes see ChangeLog-2002
c906108c
SS
4803\f
4804Local Variables:
4805mode: change-log
4806left-margin: 8
4807fill-column: 74
4808version-control: never
4809End: