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