]> Git Repo - binutils.git/blame - gdb/ChangeLog
bfd ChangeLog:
[binutils.git] / gdb / ChangeLog
CommitLineData
32f63c4b
MS
12003-07-09 Michael Snyder <[email protected]>
2
3 * sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error.
4
402ecd56
MK
52003-07-09 Mark Kettenis <[email protected]>
6
7 * x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM,
8 X86_64_RDI_REGNUM, X86_64_RBP_REGNUM, X86_64_RSP_REGNUM,
9 X86_64_RIP_REGNUM, X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM,
10 X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Moved here ...
11 * x86-64-tdep.c: ... from here.
12
c481dac7
AS
132003-07-09 Andreas Schwab <[email protected]>
14
15 * m68k-tdep.h (enum struct_return): Define.
16 (struct gdbarch_tdep): Add struct_return.
17 * m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4
18 bytes are padded to the right, not to the left. Pass struct value
19 address in register %a1, not on stack.
20 (m68k_use_struct_convention): New function.
21 (m68k_gdbarch_init): Set use_struct_convention. Initialize
22 struct_return in tdep to pcc_struct_return.
23 * m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to
24 reg_struct_return.
25
64176fa3
JB
262003-07-09 Joel Brobecker <[email protected]>
27
28 * somread.c (som_symfile_offsets): Fix compilation error.
29
96a4ee76
AC
302003-07-09 Andrew Cagney <[email protected]>
31
32 * regcache.c (register_size): Only check REGISTER_RAW_SIZE once.
33 Add comments about the checks.
34
1517c6d1
AC
352003-07-08 Andrew Cagney <[email protected]>
36
37 * Makefile.in: Make dependency section headers consistent.
38 (config_h): Move to $BUILD headers section.
39 (exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto.
40 (msg_U_h, notify_S_h, process_reply_S_h): Ditto.
41 (ada-exp.tab.c): Move to YACC/LEX section.
42 (ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto.
43 (jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto.
44
dc5dd1eb
KW
452003-07-08 Kris Warkentin <[email protected]>
46
47 * nto-procfs.c: Cleaned up a bunch of ARI hits.
fda848e0
KW
48 Include "gdb_dirent.h" instead of <dirent.h>, replace all instances
49 of strerror with safe_strerror, use ISO C function definitions,
50 and replace instances of sprintf with snprintf.
dc5dd1eb 51
612dde91
AC
522003-07-07 Andrew Cagney <[email protected]>
53
54 * frame.c (get_prev_frame): Enable check for identical frames.
55 Update comments. Update error messages.
56
492c11d3
JB
572003-07-07 Joel Brobecker <[email protected]>
58
59 * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure.
60
376a5a49
JB
612003-07-07 Joel Brobecker <[email protected]>
62
63 * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to
64 sort_symtab_syms, no longer necessary.
65
22b4a9ad
JB
662003-07-07 Joel Brobecker <[email protected]>
67
68 * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment.
69
5bbcb741
JB
702003-07-07 Joel Brobecker <[email protected]>
71
72 * mips-tdep.c (mips_register_raw_size): Fix compilation failure.
73 (mips_register_byte): Likewise.
74
c139e7d9
DJ
752003-07-07 Daniel Jacobowitz <[email protected]>
76
77 * Makefile.in (sparc_tdep_h): New.
78 (sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o)
79 (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h).
80 * sparc-linux-nat.c: Include "sparc-tdep.h".
81 * sparc-nat.c: Likewise.
82 * sparc-tdep.c: Likewise.
83 * sparc64nbsd-nat.c: Likewise.
84 * sparcnbsd-nat.c: Likewise.
85 * sparcnbsd-tdep.c: Likewise.
86 * sparc-tdep.h: New file.
87 * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum
88 and sparc_npc_regnum.
89
fd8f87c5
DJ
902003-07-07 Daniel Jacobowitz <[email protected]>
91
92 * mips-linux-nat.c (mips_linux_cannot_fetch_register)
93 (mips_linux_cannot_store_register): List supported instead of
94 unsupported registers.
95
13adf674
DJ
962003-07-07 Daniel Jacobowitz <[email protected]>
97
98 * disasm.c (dump_insns): Separate instructions from addresses.
99
8de307e0
AS
1002003-07-07 Andreas Schwab <[email protected]>
101
102 * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update
103 dependencies.
104 * m68k-tdep.c (NUM_FREGS): Delete.
105 (SIG_PC_FP_OFFSET): Delete.
106 (TARGET_M68K): Delete.
107 (P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP,
108 P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP,
109 P_MOVEL_SP, P_MOVEML_SP): Define.
110 (P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM,
111 P_TRAP): Delete.
112 (m68k_register_raw_size): Delete.
113 (m68k_register_virtual_size): Delete.
114 (m68k_register_type): Renamed from m68k_register_virtual_type and
115 add gdbarch argument.
116 (m68k_store_struct_return): Delete.
117 (m68k_deprecated_extract_return_value): Delete.
118 (m68k_deprecated_extract_struct_value_address): Delete.
119 (m68k_frame_chain): Delete.
120 (m68k_frame_saved_pc): Delete.
121 (m68k_fix_call_dummy): Delete.
122 (m68k_push_dummy_frame): Delete.
123 (m68k_pop_frame): Delete.
124 (m68k_extract_return_value): New function.
125 (m68k_store_return_value): Rewrite using regcache.
126 (m68k_extract_struct_value_address): Rewrite using regcache.
127 (m68k_push_dummy_call): New function.
128 (struct m68k_frame_cache): Define.
129 (m68k_alloc_frame_cache): New function.
130 (m68k_analyze_frame_setup): New function.
131 (m68k_analyze_register_saves): New function.
132 (m68k_analyze_prologue): New function.
133 (m68k_skip_prologue): Rewrite using above functions.
134 (m68k_unwind_pc): New function.
135 (m68k_frame_cache): New function.
136 (m68k_frame_this_id): New function.
137 (m68k_frame_prev_register): New function.
138 (m68k_frame_unwind): New variable.
139 (m68k_frame_p): New function.
140 (m68k_sigtramp_frame_cache): New function.
141 (m68k_sigtramp_frame_this_id): New function.
142 (m68k_sigtramp_frame_prev_register): New function.
143 (m68k_sigtramp_frame_unwind): New variable.
144 (m68k_sigtramp_frame_p): New function.
145 (m68k_frame_base_address): New function.
146 (m68k_frame_base): New function.
147 (m68k_unwind_dummy_id): New function.
148 (fill_gregset): Use regcache_collect.
149 (fill_fpregset): Likewise.
150 (m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is
151 defined.
152 (m68k_gdbarch_init): Don't define call_dummy_words. Don't set
153 deprecated_init_frame_pc, deprecated_store_struct_return,
154 deprecated_extract_return_value, deprecated_store_return_value,
155 deprecated_frame_chain, deprecated_frame_saved_pc,
156 deprecated_frame_init_saved_regs, deprecated_register_raw_size,
157 deprecated_register_virtual_size,
158 deprecated_max_register_raw_size,
159 deprecated_max_register_virtual_size,
160 deprecated_register_virtual_type, deprecated_register_size,
161 deprecated_register_byte, deprecated_register_bytes,
162 deprecated_fp_regnum, deprecated_use_generic_dummy_frames,
163 call_dummy_location, deprecated_call_dummy_breakpoint_offset,
164 deprecated_pc_in_call_dummy, deprecated_call_dummy_length,
165 deprecated_call_dummy_start_offset, deprecated_call_dummy_words,
166 deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy,
167 deprecated_push_dummy_frame, deprecated_pop_frame,
168 deprecated_dummy_write_sp. Set deprecated_saved_pc_after_call
169 only if SYSCALL_TRAP is defined. Set extract_return_value,
170 store_return_value, extract_struct_value_address, register_type,
171 push_dummy_call, unwind_dummy_id, unwind_pc. Add two frame unwind
172 predicates.
173 * m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS,
174 M68K_MAX_REGISTER_SIZE): Define.
175 (struct m68k_sigtramp_info): Define.
176 (struct gdbarch_tdep): Add get_sigtramp_info.
177 * m68klinux-nat.c (fetch_register): Use register_size instead of
178 REGISTER_RAW_SIZE. Don't put assignment in if.
179 (store_register): Likewise.
180 (fetch_inferior_registers): Likewise.
181 (store_inferior_registers): Likewise.
182 * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete.
183 (m68k_linux_frame_saved_pc): Delete.
184 (m68k_linux_sigcontext_reg_offset,
185 m68k_linux_ucontext_reg_offset): Define.
186 (m68k_linux_get_sigtramp_info): New function.
187 (m68k_linux_extract_return_value): Rewrite using regcache.
188 (m68k_linux_store_return_value): Likewise.
189 (m68k_linux_extract_struct_value_address): Likewise.
190 (m68k_linux_init_abi): Set get_sigtramp_info in tdep structure.
191 Don't set deprecated_frame_saved_pc,
192 deprecated_extract_return_value, deprecated_store_return_value,
193 deprecated_extract_struct_value_address. Set
194 extract_return_value, store_return_value,
195 extract_struct_value_address.
196
eb8bc282
AC
1972003-07-07 Andrew Cagney <[email protected]>
198
199 * expprint.c: Include "user-regs.h" instead of "frame.h".
200 (print_subexp): Use user_reg_map_regnum_to_name, instead of
201 frame_map_regnum_to_name.
202 * frame.c: Include "user-regs.h" instead of "builtin-regs.h".
203 (frame_map_name_to_regnum): Simplify, call
204 user_reg_map_name_to_regnum.
205 (frame_map_regnum_to_name): Simplify, call
206 user_reg_map_regnum_to_name.
207 (frame_register_unwind): Update.
208 * std-regs.c: Include "user-regs.h" instead of "builtin-regs.h".
209 (_initialize_frame_reg): Call user_reg_add_builtin.
210 * findvar.c: Include "user-regs.h" instead of "builtin-regs.h".
211 (value_of_register): Use value_of_user_reg.
212 * eval.c (evaluate_subexp_standard): Update.
213 * parse.c (write_dollar_variable): Update.
214 * d10v-tdep.c (d10v_print_registers_info): Update.
215 * infcmd.c (registers_info): Update.
216 * Makefile.in (SFILES): Delete "builtin-regs.c", add "user-regs.c".
217 (builtin_regs_h): Delete macro.
218 (user_regs_h): Define.
219 (COMMON_OBS): Delete "builtin-regs.o", add "user-regs.o".
220 (builtin-regs.o): Delete target.
221 (user-regs.o): Specify dependencies.
222 (expprint.o): Update dependencies.
223 (findvar.o): Update dependencies.
224 (frame.o): Update dependencies.
225 (std-regs.o): Update dependencies.
226
9f476a01
CF
2272003-07-06 Christopher Faylor <[email protected]>
228
229 * win32-nat.c (solib_symbols_add): Use one variable for all section
230 address stuff. Pass variable rather than address of variable to
231 safe_symbol_file_add.
232
a731b831
AS
2332003-07-06 Andreas Schwab <[email protected]>
234
235 * m68klinux-nat.c (fill_fpregset): Fix use of loop index.
236
9f83329d
JB
2372003-07-04 Joel Brobecker <[email protected]>
238
239 * rs6000-nat.c (vmap_symtab): Fix compilation error.
240
27e28cc5
KW
2412003-07-04 Kris Warkentin <[email protected]>
242
243 * config/i386/nto.mh: Set XM_FILE to xm-i386.h
244
2452003-07-04 Kris Warkentin <[email protected]>
246
247 * nto-procfs.c: New file. Native procfs support for QNX Neutrino.
248 * config/i386/nto.mh: New file.
249 * config/i386/nm-nto.h: New file.
250 * configure.host: Add i[3456]86-*-nto*.
251
100f2e98
JB
2522003-07-03 Joel Brobecker <[email protected]>
253
254 * remote-vx.c (vx_add_symbols): Fix compilation error.
255
e23457df
AC
2562003-07-03 Andrew Cagney <[email protected]>
257
258 * gdbarch.sh (REGISTER_NAME): Do not supply a default.
259 * gdbarch.h, gdbarch.c: Re-generate.
260 * config/sparc/tm-sparc.h (REGISTER_NAME): Define.
261 (legacy_register_name): Declare.
262 * config/sparc/tm-sp64.h (legacy_register_name): Declare.
263 (REGISTER_NAME): Define.
264 * sparc-tdep.c (legacy_register_name): New function.
265 * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro.
266 (REGISTER_NAME): Define.
267 (hppa64_register_name): Declare.
268 * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro.
269 * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name.
270 (hppa64_register_name): New function.
271 (hppa_register_name): New function.
272 * arch-utils.c (legacy_register_name): Delete.
273 * arch-utils.h (legacy_register_name): Delete.
274
38caaeec
DJ
2752003-07-03 Daniel Jacobowitz <[email protected]>
276
277 * cli/cli-interp.c (cli_interpreter_resume): Update the
278 cli_uiout's stream to gdb_stdout.
279
dadd712e
AC
2802003-07-03 Andrew Cagney <[email protected]>
281
282 * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add
283 predicate.
284 * gdbarch.h, gdbarch.c: Re-generate.
285 * regcache.c (init_regcache_descr): Use legacy code when either
286 REGISTER_BYTE or REGISTER_RAW_SIZE is set.
287
c7f1390e
DJ
2882003-07-02 Daniel Jacobowitz <[email protected]>
289
290 * NEWS: Move "set logging" entry into GDB 6.0 section.
291
4bc8c588
JB
2922003-07-02 Jim Blandy <[email protected]>
293
a9dd42f1
JB
294 * s390-tdep.c (struct frame_extra_info): new member:
295 'stack_bought_valid'.
296 (s390_get_frame_info): Set fextra_info->stack_bought_valid if we
297 initialize fextra_info->stack_bought.
298 (s390_frameless_function_invocation): Don't trust the value of
299 fextra_info_ptr->stack_bought unless
300 fextra_info->stack_bought_valid is set.
301
4bc8c588
JB
302 New S390 prologue analyzer.
303 * s390-tdep.c (struct prologue_value, enum pv_boolean): New types.
304 (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register,
305 pv_constant_last, pv_add, pv_add_constant, pv_subtract,
306 pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref,
307 compute_x_addr, s390_on_stack, s390_store,
308 s390_get_signal_frame_info): New functions.
309 (S390_NUM_SPILL_SLOTS): New macro.
310 (s390_get_frame_info): Rewritten.
311 (is_arg_reg): Deleted.
312
313 Break out the decoding of S/390 instructions into separate
314 functions, to make it more legible, and easier to check
315 against the spec.
316 * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse,
317 is_rx, is_rxe): New functions.
318 (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras,
319 op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi,
320 op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st,
321 op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New
322 enums for opcode values. (Is this an improvement?)
323
fd13a04a
AC
3242003-07-02 Andrew Cagney <[email protected]>
325
326 * i386-tdep.c: Revert change committed as part of trad-frame code
327 below.
328
3f8091c1
DJ
3292003-07-02 Daniel Jacobowitz <[email protected]>
330
331 * breakpoint.c (insert_catchpoint): Make static.
332
8dd5115e
AS
3332003-07-02 Andreas Schwab <[email protected]>
334
335 * ia64-tdep.c (ia64_push_dummy_call): Define as combination of
336 former ia64_push_arguments and ia64_push_return_address, and use
337 regcache functions instead of read/write_register.
338 (ia64_gdbarch_init): Set push_dummy_call instead of
339 deprecated_push_arguments and deprecated_push_return_address.
340
a2229c23
AJ
3412003-07-01 Andreas Jaeger <[email protected]>
342
343 * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte
344 before the call.
345 Set %rax only to number of SSE registers used.
346
3b3850e8
AC
3472003-07-01 Andrew Cagney <[email protected]>
348
349 * trad-frame.h: Update comments, a -1 .addr is reserved.
350 (trad_frame_value_p, trad_frame_addr_p): Declare.
351 (trad_frame_reg_p): Declare.
352 (trad_frame_set_value): Rename trad_frame_register_value.
353 (trad_frame_set_unknown): Declare.
354 * trad-frame.c (trad_frame_realreg_p): New function.
355 (trad_frame_addr_p, trad_frame_value_p): New function.
356 (trad_frame_set_unknown): New function.
357 (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero.
358 (trad_frame_prev_register): Use trad_frame_realreg_p,
359 trad_frame_addr_p and trad_frame_value_p.
360 (trad_frame_set_value): Rename trad_frame_register_value.
361 * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p
362 and trad_frame_set_value.
a2229c23 363
4d819d0e
JB
3642003-06-30 Jim Blandy <[email protected]>
365
366 Patch from IBM (authors unspecified, probably Ulrich Weigand and
367 Gerhard Tonn) for argument passing on the S/390 and S/390x:
368 * s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space
369 for 16 registers, and then 32 more bytes.
370 (S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS):
371 New macros.
372 (is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially.
373 Move up in the file, since it's now used by is_simple_arg.
374 (is_simple_arg): Don't assume registers are four bytes long.
375 Exclude all double arguments. Extended floats are not simple
376 args.
377 (is_power_of_two): New function.
378 (pass_by_copy_ref): Call is_power_of_two, and check that the
379 length fits in a register, rather than listing all the acceptable
380 sizes. Extended floats are not passed by reference.
381 (s390_push_arguments): Don't assume registers are four bytes long.
382 Reserve an argument register to point to the buffer for structures
383 returned by value. Use S390_NUM_FP_PARAMETER_REGISTERS and
384 S390_STACK_FRAME_OVERHEAD.
385
1ad828f1
AS
3862003-06-30 Andreas Schwab <[email protected]>
387
388 * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to
389 format error message.
390
39b00981
JB
3912003-06-30 Joel Brobecker <[email protected]>
392
393 * sparc-tdep.c (stop_after_trap): Remove declaration, not used.
394
b2a7f303
DC
3952003-06-30 David Carlton <[email protected]>
396
397 Band-aid for PR c++/1245.
398 * Makefile.in (cp-support.o): Depend on complaints_h.
399 * cp-support.c: Include complaints.h. Add declaration for
400 find_last_component.
401 (cp_find_first_component): Separate code into
402 cp_find_first_component_aux.
403 (cp_find_first_component_aux): Call demangled_name_complaint.
404 (demangled_name_complaint): New.
405
a257b5bb
AC
4062003-06-30 Andrew Cagney <[email protected]>
407
408 * remote.c (remote_write_bytes): Explicitly compute and then use
409 the payload size. Update comments to reflect. Fixes problem of
410 GDB not sending small packets as found by Fred Fish.
411
0a2cfde4
AC
4122003-06-30 Andrew Cagney <[email protected]>
413
414 * remote.c (remote_async_wait): Fix -Wformat problem.
415
3fcb8548
AC
4162003-06-29 Andrew Cagney <[email protected]>
417
418 * remote.c (remote_wait): Call error, and not warning, when the
419 packet is corrupt.
420 (remote_async_wait): Ditto.
421
9f9970a3
DJ
4222003-06-29 Daniel Jacobowitz <[email protected]>
423
424 * sparc-tdep.c (sparc_y_regnum): Make external again.
425
83a8ccca
DJ
4262003-06-29 Daniel Jacobowitz <[email protected]>
427
428 * cli/cli-logging.c (pop_output_files): Add void to function
429 definition.
430
d2cf594a
AC
4312003-06-29 Andrew Cagney <[email protected]>
432
433 * frame.c (frame_register_unwind): Use unsigned char when dumping
434 the buffer contents.
435
0fac0b41
DJ
4362003-06-28 Daniel Jacobowitz <[email protected]>
437
438 * cli/cli-logging.c: New file.
439 * cli-out.c (struct ui_out_data): Add original_stream.
440 (cli_redirect): New function.
441 (cli_ui_out_impl): Add cli_redirect.
442 (cli_out_new): Initialize original_stream.
443 * ui-out.c (default_ui_out_impl): Add NULL for redirect member.
444 (uo_redirect, ui_out_redirect): New.
445 * ui-out.h (struct ui_out_impl): Add redirect member.
446 (redirect_ftype): New.
447 (ui_out_redirect): Add prototype.
448 * Makefile.in: Add rules for cli-logging.c.
449 * NEWS: Mention "set logging".
450
88a07d7c
EZ
4512003-06-27 Elena Zannoni <[email protected]>
452
453 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o.
454
4eb58876
AC
4552003-06-27 Andrew Cagney <[email protected]>
456
457 * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function.
458 (m68hc11_gdbarch_init): Do not set call_dummy_address.
459 * avr-tdep.c (avr_call_dummy_address): Delete function.
460 (avr_gdbarch_init): Do not set call_dummy_address.
461
1549f619
EZ
4622003-06-27 Elena Zannoni <[email protected]>
463
464 * symfile.c (syms_from_objfile): Move variables to inner block.
465 Move the checks for the non-mainline case a bit earlier to avoid
466 doing some useless computations.
467
3cb3398d
EZ
4682003-06-27 Elena Zannoni <[email protected]>
469
470 * dwarfread.c (decode_modified_type): Gag new compiler warning.
471
3799ccc6
EZ
4722003-06-26 Elena Zannoni <[email protected]>
473
474 * dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame
475 sections.
476
ce1f6491
MC
4772003-06-26 Michael Chastain <[email protected]>
478
479 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc,
480 gdb/testsuite/gdb.c++/pr-1210.exp.
481
d958dfd0
AC
4822003-06-26 Andrew Cagney <[email protected]>
483
484 * config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's
485 altivec_expression.h and altivec_registers.h.
486
d31431ed
AC
4872003-06-26 Andrew Cagney <[email protected]>
488
489 * mips-tdep.c (gdb_print_insn_mips): Only explicitly set
490 info->mach when MIPS16. Patch suggested by Fred Fish.
491
714b1282
AC
4922003-06-26 Andrew Cagney <[email protected]>
493
494 * utils.c (internal_vproblem): Print the problem to a reason
495 buffer and then pass to query. Make the msg variable more local.
496
42efa47a
AC
4972003-06-26 Andrew Cagney <[email protected]>
498
499 * gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate. Deprecate.
500 (FRAME_LOCALS_ADDRESS): Add predicate. Deprecate.
501 * gdbarch.h, gdbarch.c: Re-generate.
502 * frame-base.c (default_frame_args_address): Update. Use
503 default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is
504 not available.
505 (default_frame_locals_address): Ditto for
506 DEPRECATED_FRAME_LOCALS_ADDRESS.
507 * vax-tdep.c (vax_sigtramp_saved_pc): Update.
508 (vax_frame_num_args): Update.
509 (vax_gdbarch_init): Update.
510 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
511 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
512 * mcore-tdep.c (mcore_gdbarch_init): Update.
513 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
514 * ia64-tdep.c (ia64_gdbarch_init): Update.
515 * symtab.h (address_class): Update comments.
516 * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update.
517 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update.
518 (DEPRECATED_FRAME_LOCALS_ADDRESS): Update.
519 * config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update.
520 (DEPRECATED_FRAME_LOCALS_ADDRESS): Update.
521 (DEPRECATED_FRAME_LOCALS_ADDRESS): Update.
522 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update.
523 * alpha-mdebug-tdep.c: Update.
524 * ada-lang.c (add_symbols_from_enclosing_procs): Update.
525
8ffd9b1b
AJ
5262003-06-26 Andreas Jaeger <[email protected]>
527
528 * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number
529 of SSE registers so that varargs functions work. Rework handling
530 of passing arguments on the stack.
531 (x86_64_store_return_value): Return double and float values in SSE
532 register.
533
e8ac10a6
MC
5342003-06-24 Michael Chastain <[email protected]>
535
536 * PROBLEMS: Document pr gdb/1091 and pr gdb/1193,
537 the "constructor breakpoints ignored" bug.
538
986af8e6
DC
5392003-06-25 David Carlton <[email protected]>
540
541 * MAINTAINERS: Update e-mail address.
542
d64558a5
JB
5432003-06-24 Jim Blandy <[email protected]>
544
e538d2d7
JB
545 * ppc-linux-tdep.c: More "Linux" -> "GNU/Linux".
546
02631ec0
JB
547 * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New
548 function.
549 (ppc_linux_init_abi): Register it as the
550 CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI.
551
e716d87a
JB
552 * ppc-linux-tdep.c (ppc64_call_dummy_address): New function.
553 (ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address
554 method.
555
d64558a5
JB
556 * ppc-linux-tdep.c (ppc64_desc_entry_point): New function.
557 (ppc64_standard_linkage_target): Use it.
558
449a5da4
AC
5592003-06-23 Andrew Cagney <[email protected]>
560
561 * rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases
562 for 0 "int0" and 4 "int32" sized registers.
563 * gdbtypes.c (builtin_type_int0): Define.
564 (build_gdbtypes): Initialize builtin_type_int0.
565 * gdbtypes.h (builtin_type_int0): Declare.
566
b2a02dda
SC
5672003-06-23 Stephane Carrez <[email protected]>
568
569 * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed
570 as characters are unsigned.
571
fba3138e
DJ
5722003-06-22 Daniel Jacobowitz <[email protected]>
573
574 PR gdb/1179
575 * dwarfread.c (struct_type): Skip static fields without crashing.
576
f6c8180b
AC
5772003-06-22 Andrew Cagney <[email protected]>
578
579 GDB 6.0 branch created.
f2c06f52
AC
580 * README: Update.
581 * PROBLEMS: Update. Empty.
582 * NEWS: Update.
f6c8180b 583
ae822768
DJ
5842003-06-22 Daniel Jacobowitz <[email protected]>
585
586 * symfile.c (add_symbol_file_command): Use parse_and_eval_address.
587 Suggested by Nick Hibma <[email protected]>.
588
261de166
AC
5892003-06-22 Andrew Cagney <[email protected]>
590
591 * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle
592 GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil
593 Velikov.
594
30e94205
DJ
5952003-06-22 Daniel Jacobowitz <[email protected]>
596
597 * cli/cli-cmds.c (shell_escape): Silence warnings from old
598 compilers.
599
9e14d721
DJ
6002003-06-21 Daniel Jacobowitz <[email protected]>
601
602 * c-valprint.c (c_value_print): Add VALUE_OFFSET to the address
603 argument of val_print.
604 * cp-valprint.c (cp_print_value): Don't add the offset parameter
605 to the address argument of baseclass_offset or target_read_memory.
606 Do add it to the argument of cp_print_value_fields.
607
a4b8ebc8
AC
6082003-06-21 Andrew Cagney <[email protected]>
609
610 * mips-tdep.c: Include "reggroups.h" and "sim-regno.h".
611 (mips_register_name): Return names for NUM_REGS..2*NUM_REGS
612 instead of 0..NUM_REGS.
613 (mips_register_reggroup_p): New function.
614 (mips_pseudo_register_write): New function.
615 (mips_pseudo_register_read): New function.
616 (mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size
617 based on the register's type.
618 (read_next_frame_reg): Simplify. Assert that REGNO is a pseudo /
619 cooked.
620 (mips_get_saved_register): Simplify. Assert that REGNO is a
621 pseudo / cooked.
622 (mips_register_byte): New function. Use MIPS_REGISTER_BYTE.
623 (mips_register_type): Replace mips_register_virtual_type. Map
624 NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE
625 when available.
626 (read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert
627 that the register is cooked / virtual.
628 (mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC.
629 Only get the extra info when needed.
630 (set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well.
631 (mips32_heuristic_proc_desc): Fetch the cooked register.
632 (heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto.
633 (mips_init_extra_frame_info, get_frame_pointer): Ditto.
634 (mips_print_register): Use gdbarch_register_type, instead of
635 REGISTER_VIRTUAL_TYPE.
636 (print_gp_register_row): Use gdbarch_register_type, instead of
637 REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM.
638 (mips_print_registers_info): Assert REGNO is pseodo / cooked.
639 Print the pseudo / cooked registers.
640 (mips_print_registers_info): Assert REGNO is pseodo / cooked.
641 Print the pseudo / cooked registers.
642 (mips_xfer_register): Use regcache_cooked_read_part. Assert that
643 REG_NUM is pseudo / cooked.
644 (mips_o32_xfer_return_value): Xfer the pseudo / cooked register.
645 (mips_n32n64_xfer_return_value): Ditto.
646 (mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS.
647 (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto.
648 (mips_register_sim_regno): New function.
649 (mips_gdbarch_init): Set deprecated_register_byte,
650 register_group_p, pseudo_register_write, pseudo_register_read,
651 register_sim_regno, and num_pseudo_regs. Set register_type,
652 instead of register_virtual_type.
653 * Makefile.in (mips-tdep.o): Update dependencies.
654 * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename
655 REGISTER_VIRTUAL_TYPE.
656 * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto.
657 * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto.
658 * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE.
659 * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto.
660 * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto.
661
325ed089
DJ
6622003-06-21 Daniel Jacobowitz <[email protected]>
663
664 * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h)
665 * cli/cli-cmds.c: Include "gdb_vfork.h".
666 (shell_escape): Use vfork.
667
f0e7d0e8
AC
6682003-06-21 Andrew Cagney <[email protected]>
669
c57bb9fa
AC
670 * mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling
671 32 bit floating-point register saves.
672
6e51443a
AC
673 * frame.h (deprecated_unwind_get_saved_register): Delete.
674 * frame.c (deprecated_unwind_get_saved_register): Delete function.
675 * mips-tdep.c (mips_get_saved_register): Use frame_register_unwind
676 and deprecated_get_next_frame_hack instead of
677 deprecated_unwind_get_saved_register.
678
ed183c7c
AC
679 * mips-tdep.c (mips_dump_tdep): Do not print
680 REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE.
681
f0e7d0e8
AC
682 * frame.c (get_frame_register): New function.
683 (frame_unwind_register_signed): New function.
684 (get_frame_register_signed): New function.
685 (frame_unwind_register_unsigned): New function.
686 (get_frame_register_unsigned): New function.
687 * frame.h: Add comments on naming schema.
688 (get_frame_register, frame_unwind_register_signed): Declare.
689 (get_frame_register_signed, get_frame_register_signed): Declare.
690 (frame_unwind_register_unsigned): Declare.
691 (get_frame_register_unsigned): Declare.
692
2224d941
TR
6932003-06-20 Theodore A. Roth <[email protected]>
694
695 * avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit.
696
8619218d
TR
6972003-06-20 Theodore A. Roth <[email protected]>
698
699 * avr-tdep.c (avr_read_pc): Use regcache instead of read_register.
700 (avr_read_sp): Ditto.
701
0b1b50c0
DJ
7022003-06-20 Daniel Jacobowitz <[email protected]>
703
704 * config/arm/linux.mt: Remove code protected by GDBSERVER define.
705 * config/arm/nm-linux.h: Likewise.
706 * config/arm/tm-linux.h: Likewise.
707 * config/ia64/nm-linux.h: Likewise.
708 * config/ia64/tm-ia64.h: Likewise.
709 * config/s390/tm-linux.h: Likewise.
710 * config/s390/tm-s390.h: Likewise.
711 * s390-nat.c: Likewise.
712 * s390-tdep.c: Likewise.
713
714 * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES.
715 * config/ia64/linux.mt: Likewise.
716 * config/m68k/linux.mh: Likewise.
717 * config/mips/linux.mt: Likewise.
718 * config/powerpc/linux.mh: Likewise.
719 * config/sh/linux.mt: Likewise.
720
c8c18e65
KW
7212003-06-19 Kris Warkentin <[email protected]>
722
723 * solib.c (solib_open): Change tests for whether to search
724 LD_LIBRARY_PATH and PATH to better deal with remotes. Update
725 comments.
726
dcccef2e
TR
7272003-06-19 Theodore A. Roth <[email protected]>
728
729 * avr-tdep.c (avr_frame_address): Delete function.
730 (avr_gdbarch_init): Don't call set_gdbarch_frame_args_address,
731 set_gdbarch_frame_args_address.
732
5861a190
AC
7332003-06-19 Andrew Cagney <[email protected]>
734
735 * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete.
736 (REGISTER_CONVERT_FROM_TYPE): Delete.
737 (mips_register_convert_to_type): Delete declaration.
738 (mips_register_convert_from_type): Delete declaration.
739 * linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux
740 kernel/.
741
0274a8ce
MS
7422003-06-19 Michael Snyder <[email protected]>
743
744 * linux-nat.h: New file.
745 * linux-nat.c: Include linux-nat.h.
8ffd9b1b 746 * lin-lwp.c: Include linux-nat.h.
0274a8ce 747 Move struct lwp_info def to linux-nat.h.
8ffd9b1b 748 * linux-proc.c: Include linux-nat.h.
0274a8ce
MS
749 (linux_make_note_section): Iterate over lwps instead of threads.
750 (linux_do_thread_registers): Use lwp instead of merged pid.
751 * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h.
8ffd9b1b 752 * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o):
0274a8ce
MS
753 Add dependency on linux_nat_h.
754
adf5f719
TR
7552003-06-19 Theodore A. Roth <[email protected]>
756
757 * avr-tdep.c (avr_extract_return_value): Delete debugging fprintf.
758
6766a268
DJ
7592003-06-19 Daniel Jacobowitz <[email protected]>
760
761 * varobj.c (get_type, get_target_type): Use check_typedef.
762
1171114a
DJ
7632003-06-19 Daniel Jacobowitz <[email protected]>
764
765 * breakpoint.c (insert_catchpoint): Call internal_error.
766
adcf68a2
TR
7672003-06-19 Theodore A. Roth <[email protected]>
768
769 * avr-tdep.c (avr_push_dummy_code): Delete function.
770 (avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code.
771
ea67f13b
DJ
7722003-06-19 Daniel Jacobowitz <[email protected]>
773
774 * arch-utils.c (default_prepare_to_proceed): Remove.
775 (generic_prepare_to_proceed): Remove.
776 * arch-utils.h (default_prepare_to_proceed): Remove prototype.
777 (generic_prepare_to_proceed): Remove prototype.
778 * gdbarch.sh (PREPARE_TO_PROCEED): Remove.
779 * gdbarch.c: Regenerate.
780 * gdbarch.h: Regenerate.
781 * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype.
782 * hppah-nat.c (hppa_switched_threads): Remove.
783 * infrun.c (prepare_to_proceed): New static function, copied from
784 generic_prepare_to_proceed. Remove select_it argument.
785 (proceed): Call prepare_to_proceed.
786 * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove
787 variables.
788 (ptrace_wait): Don't set the removed variables.
789 (hppa_switched_threads): Remove.
790 * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove.
791 * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define.
792 (lin_lwp_prepare_to_proceed): Remove prototype.
793 * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine.
794 * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define.
795
4add8633
TR
7962003-06-18 Theodore A. Roth <[email protected]>
797
798 * avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, and
799 trad-frame.h.
800 (AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64.
801 (AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define.
802 (AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define.
803 (AVR_PROLOGUE_*): Enumerate prologue types.
804 (struct frame_extra_info): Remove.
805 (struct avr_unwind_cache): Define.
806 (avr_write_sp): Delete function.
807 (avr_read_fp): Ditto.
808 (avr_init_extra_frame_info): Ditto.
809 (avr_pop_frame): Ditto.
810 (avr_frame_saved_pc): Ditto.
811 (avr_saved_pc_after_call): Ditto.
812 (avr_push_return_address): Ditto.
813 (avr_frame_chain): Ditto.
814 (avr_store_struct_return): Ditto.
815 (avr_push_arguments): Ditto.
816 (avr_scan_prologue): Update comments. Changed to set up the info for
817 cache unwinding. Now returns end of prologue PC.
818 (avr_skip_prologue): Better handling of functions lacking a prologue
819 by using avr_scan_prologue.
820 (avr_scan_arg_moves): New function.
821 (avr_saved_regs_unwinder): Ditto.
822 (avr_frame_unwind_cache): Ditto.
823 (avr_unwind_pc): Ditto.
824 (avr_frame_this_id): Ditto.
825 (avr_frame_prev_register): Ditto.
826 (avr_frame_p): Ditto.
827 (avr_frame_base_address ): Ditto.
828 (avr_unwind_dummy_id): Ditto.
829 (avr_push_dummy_code): Ditto.
830 (push_stack_item): Ditto.
831 (pop_stack_item): Ditto.
832 (avr_push_dummy_call): Ditto.
833 (struct stack_item): Define.
834 (avr_frame_unwind): Declare structure.
835 (avr_frame_base): Ditto.
836 (avr_gdbarch_init): Remove calls to
837 set_gdbarch_deprecated_init_frame_pc,
838 set_gdbarch_deprecated_target_read_fp,
839 set_gdbarch_deprecated_dummy_write_sp,
840 set_gdbarch_deprecated_fp_regnum,
841 set_gdbarch_deprecated_push_arguments,
842 set_gdbarch_deprecated_push_return_address,
843 set_gdbarch_deprecated_pop_frame,
844 set_gdbarch_deprecated_store_struct_return,
845 set_gdbarch_deprecated_frame_init_saved_regs,
846 set_gdbarch_deprecated_init_extra_frame_info,
847 set_gdbarch_deprecated_frame_chain,
848 set_gdbarch_deprecated_frame_saved_pc,
849 set_gdbarch_deprecated_saved_pc_after_call.
850 Add calls to set_gdbarch_push_dummy_call,
851 set_gdbarch_push_dummy_code,
852 frame_unwind_append_predicate,
853 frame_base_set_default,
854 set_gdbarch_unwind_dummy_id,
855 set_gdbarch_unwind_pc.
856 Wrap a long line.
857
7be04a68
MS
8582003-06-18 Corinna Vinschen <[email protected]>
859
860 * h8300-tdep.c (h8300s_register_name): Enable MACH and MACL
861 registers for H8/300S.
862 (h8300_print_registers_info): Ditto.
8ffd9b1b 863 (h8300_gdbarch_init): Accommodate register count for H8/300S.
7be04a68 864
ae087d01
DJ
8652003-06-18 Daniel Jacobowitz <[email protected]>
866
867 * config/nm-linux.h (linux_record_stopped_pid): New prototype.
868 * lin-lwp.c (child_wait): Call linux_record_stopped_pid.
869 (lin_lwp_wait): Likewise. Update comments.
870 * linux-nat.c (struct simple_pid_list, add_to_pid_list)
871 (pull_pid_from_list, linux_record_stopped_pid): New.
872
07d8f827
SC
8732003-06-17 Stephane Carrez <[email protected]>
874
875 * ada-lang.c (scan_discrim_bound): Name first argument.
876 (ada_add_block_symbols): Remove BLOCK_SYM to use local variable
877 declared by ALL_BLOCK_SYMBOLS.
878
7cb47b14
SC
8792003-06-17 Stephane Carrez <[email protected]>
880
881 * ada-tasks.c (find_function_in_inferior): Don't declare it.
882 ("regcache.h"): Include it.
883 * ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN.
884
6ad8ae5c
DJ
8852003-06-17 Daniel Jacobowitz <[email protected]>
886
887 * NEWS: Mention gdbserver detach change and "disconnect" command.
888 * infcmd.c (disconnect_command): New function.
889 (_initialize_infcmd): Add ``disconnect'' command.
890 * remote.c (remote_async_detach): Delete.
891 (remote_detach): Merge remote_async_detach.
892 (remote_disconnect): New.
893 (init_remote_ops): Set to_disconnect.
894 (init_remote_cisco_ops): Likewise.
895 (init_remote_async_ops): Likewise. Use remote_detach.
896 * target.c (cleanup_target): Default to_disconnect.
897 (update_current_target): Inherit to_disconnect.
898 (target_disconnect, debug_to_disconnect): New functions.
899 (setup_target_debug): Set to_disconnect.
900 * target.h (struct target_ops): Add to_disconnect.
901 (target_disconnect): Add prototype.
902
687595f9
DJ
9032003-06-17 Daniel Jacobowitz <[email protected]>
904
905 * breakpoint.c (insert_catchpoint): New function.
906 (insert_breakpoints): Use catch_exceptions to call
907 insert_catchpoint. Disable catchpoints if they fail to insert.
908
29239a8f
DJ
9092003-06-17 Daniel Jacobowitz <[email protected]>
910
911 * symfile.c (reread_symbols): Clear sym_private.
912
2cdf3c63
AC
9132003-06-17 Andrew Cagney <[email protected]>
914
915 * trad-frame.h (struct frame_info): Add opaque declaration.
916 * remote-fileio.h (struct cmd_list_element): Add opaque
917 declaration.
918 * h8300-tdep.c (h8300s_register_name): Avoid C++ // style
919 comments.
920
cf0e1e0d
DJ
9212003-06-17 Daniel Jacobowitz <[email protected]>
922
923 * remote.c (remote_prepare_to_store): Replace call to
924 deprecated_read_register_bytes with multiple regcache_raw_read
925 calls.
926
192cdb19
KW
9272003-06-17 Kris Warkentin <[email protected]>
928
929 * nto-tdep.c (nto_map_arch_to_cputype): Recognize "powerpc".
930 (nto_find_and_open_solib): Likewise.
931 (nto_init_solib_absolute_prefix): Likewise.
932 (_initialize_nto_tdep): Fix indentation.
933
89929b45
KW
9342003-06-17 Kris Warkentin <[email protected]>
935
936 * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR.
937
46019f27
KW
9382003-06-17 Kris Warkentin <[email protected]>
939
940 * i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using.
941
1a38736e
JB
9422003-06-17 Jim Blandy <[email protected]>
943
944 * ppc-linux-tdep.c: "Linux" -> "GNU/Linux"
945
3605c34a
TR
9462003-06-16 Theodore A. Roth <[email protected]>
947
948 * avr-tdep.c (avr_extract_return_value): New function.
949 (avr_gdbarch_init): Set extract_return_value method.
950
870b3035
AC
9512003-06-16 Andrew Cagney <[email protected]>
952
953 * frame.h (deprecated_get_next_frame_hack): Declare.
954 * frame.c (legacy_saved_regs_prev_register): Only require
955 DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that
956 there are always saved regs.
957 (deprecated_generic_get_saved_register): Do not require
958 DEPRECATED_FRAME_INIT_SAVED_REGS.
959 (legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN,
960 use frame ID unwind instead.
961 (deprecated_get_next_frame_hack): New function.
962
63d47a7d
CV
9632003-06-16 Corinna Vinschen <[email protected]>
964
965 * h8300-tdep.c (h8300_push_arguments): Remove. Substitute by...
966 (h8300_push_dummy_call): ...this function. Some minor optimization.
967 (h8300_push_return_address): Remove.
968 (h8300_gdbarch_init): Remove calls to
969 set_gdbarch_deprecated_dummy_write_sp,
970 set_gdbarch_deprecated_push_arguments and
971 set_gdbarch_deprecated_push_return_address.
972 Add call to set_gdbarch_push_dummy_call.
973
4bb1dc5e
CV
9742003-06-16 Corinna Vinschen <[email protected]>
975
976 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define.
977 (E_PSEUDO_EXR_REGNUM): Ditto.
978 (h8300_is_argument_spill): Check for instructions moving argument
8ffd9b1b 979 registers into safe registers.
4bb1dc5e
CV
980 (h8300_skip_prologue): Check for stm instruction to push registers
981 used for register variables onto stack.
982 (gdb_print_insn_h8300): Remove.
983 (h8300_examine_prologue): Add a comment.
984 (h8300_register_name): Take pseudo registers into account.
985 (h8300s_register_name): Ditto.
986 (h8300sx_register_name): Ditto.
987 (h8300_print_register): Ditto.
988 (h8300_print_registers_info): Define "nice" printing order.
989 (h8300_saved_pc_after_call): Take pseudo registers into account.
990 (h8300_register_type): Ditto. Return type used for remote connection
991 when requesting real CCR or EXR register, return actual type when
992 requesting pseudo CCR or EXR.
993 (h8300_pseudo_register_read): New function.
994 (h8300_pseudo_register_write): Ditto.
995 (h8300_dbg_reg_to_regnum): Ditto.
996 (h8300s_dbg_reg_to_regnum): Ditto.
997 (h8300_gdbarch_init): Call set_gdbarch_num_pseudo_regs,
998 set_gdbarch_ecoff_reg_to_regnum, set_gdbarch_dwarf_reg_to_regnum,
999 set_gdbarch_dwarf2_reg_to_regnum, set_gdbarch_stab_reg_to_regnum and
1000 set_gdbarch_print_insn architecture dependent.
1001 Call set_gdbarch_pseudo_register_read and
1002 set_gdbarch_pseudo_register_write.
1003 (_initialize_h8300_tdep): Remove assignment to deprecated_tm_print_insn.
1004
a59fe496
AC
10052003-06-16 Andrew Cagney <[email protected]>
1006
1007 * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate.
1008 * gdbarch.h, gdbarch.c: Re-generate.
1009 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1010 * s390-tdep.c (s390_gdbarch_init): Update.
1011 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1012 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1013 * mips-tdep.c (mips_gdbarch_init): Update.
1014 * mcore-tdep.c (mcore_gdbarch_init): Update.
1015 * cris-tdep.c (cris_gdbarch_init): Update.
1016 * infcall.c (call_function_by_hand): Update.
1017 * ia64-tdep.c (ia64_push_arguments): Update comment.
1018 * frame.c (legacy_get_prev_frame): Do not assume
1019 SAVE_DUMMY_FRAME_TOS_P.
1020 * dummy-frame.c (find_dummy_frame): Update comment.
1021
6f4e5a41
AC
10222003-06-16 Andrew Cagney <[email protected]>
1023
1024 * regcache.c (do_cooked_read): Do not use register_valid_p.
1025
72fab697
TR
10262003-06-15 Theodore A. Roth <[email protected]>
1027
1028 * avr-tdep.c (avr_register_type): Remove a blank line.
1029 (avr_scan_prologue): Correct some comments.
1030
e3d8b004
TR
10312003-06-15 Theodore A. Roth <[email protected]>
1032
1033 * avr-tdep.c (avr_scan_prologue): Update comment describing the various
1034 prologue types.
8ffd9b1b 1035 Properly scan prologues generated by gcc with the -mcall-prologues
e3d8b004
TR
1036 option.
1037 Add code to scan -mcall-prologues for mega devices.
1038
866b76ea
TR
10392003-06-15 Theodore A. Roth <[email protected]>
1040
1041 * avr-tdep.c (avr_register_byte): Delete function.
1042 (avr_register_raw_size): Delete function.
1043 (avr_register_virtual_size): Delete function.
1044 (avr_register_virtual_type): Delete function.
1045 (avr_register_type): New function.
1046 (avr_address_to_pointer): Remove unused code.
1047 (avr_read_fp): Need to read FP as two separate bytes due to change to
1048 avr_register_type() usage.
1049 (avr_gdbarch_init): Don't set deprecated_register_size.
1050 Don't set deprecated_register_bytes.
1051 Don't set deprecated_register_byte.
1052 Don't set deprecated_register_raw_size.
1053 Don't set deprecated_max_register_raw_size.
1054 Don't set deprecated_register_virtual_size.
1055 Don't set deprecated_max_register_virtual_size.
1056 Don't set deprecated_register_virtual_type.
1057 Set register_type method.
1058
3993f6b1
DJ
10592003-06-15 Daniel Jacobowitz <[email protected]>
1060
1061 * Makefile.in (linux-nat.o): Add rule.
1062 * linux-nat.c: New file.
1063 * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define.
1064 (CHILD_INSERT_VFORK_CATCHPOINT): Define.
1065 (CHILD_INSERT_EXEC_CATCHPOINT): Define.
1066 * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o.
1067 * config/arm/linux.mh (NATDEPFILES): Likewise.
1068 * config/i386/linux.mh (NATDEPFILES): Likewise.
1069 * config/i386/x86-64linux.mh (NATDEPFILES): Likewise.
1070 * config/ia64/linux.mh (NATDEPFILES): Likewise.
1071 * config/m68k/linux.mh (NATDEPFILES): Likewise.
1072 * config/mips/linux.mh (NATDEPFILES): Likewise.
1073 * config/powerpc/linux.mh (NATDEPFILES): Likewise.
1074 * config/s390/s390.mh (NATDEPFILES): Likewise.
1075 * config/sparc/linux.mh (NATDEPFILES): Likewise.
1076
786a90bb
MK
10772003-06-15 Mark Kettenis <[email protected]>
1078
1079 * i387-tdep.c: Reorder includes, fix some whitespace issues and
1080 replace out-of-date comment.
1081
3bd3f01e
AC
10822003-06-15 Andrew Cagney <[email protected]>
1083
1084 * rdi-share/host.h (Fail): Change to a varargs function.
1085 * remote-rdi.c (Fail): Update.
8ffd9b1b 1086
de5b9bb9
MK
10872003-06-15 Mark Kettenis <[email protected]>
1088
1089 * i386-tdep.c (i386_next_regnum): Fix bounds checking.
1090 (i386_convert_register_p, i386_register_to_value,
1091 i386_register_from_value): Handle types longer than 8 bytes.
1092
d532c08f
MK
10932003-06-15 Mark Kettenis <[email protected]>
1094
1095 * i386-tdep.c (i386_register_to_value, i386_value_to_register):
1096 Move floating-point code to new function in i387-tdep.c.
1097 * i387-tdep.c (i387_register_to_value, i387_value_to_register):
1098 New functions containing code moved here from i386-tdep.c.
1099 * i387-tdep.h: Add opaque declaration for `struct type'.
1100 (i387_register_to_value, i387_value_to_register): New prototypes.
1101 * x86-64-tdep.c (x86_64_convert_register_p): New function.
1102 (x86_64_init_abi): Set convert_register_p, register_to_value and
1103 value_to_register here.
8ffd9b1b 1104
42c466d7
AC
11052003-06-14 Andrew Cagney <[email protected]>
1106
1107 * mips-tdep.c (mips_register_to_value): Make static.
1108 (mips_value_to_register): Make static.
1109 * i386-tdep.c (i386_fetch_pointer_argument): Make static.
1110 * ia64-tdep.c (ia64_register_raw_size): Make static.
1111 (ia64_register_virtual_size): Make static.
1112 (ia64_register_byte): Make static.
1113 * i387-tdep.c: Include "i387-tdep.h".
1114 (print_387_control_word): Delete function.
1115 (print_387_status_word): Delete function.
1116 (print_387_status_bits): Delete function.
1117 (print_387_control_bits): Delete function.
1118 * Makefile.in (i387-tdep.o): Update dependencies.
1119 * rdi-share/host.h (Fail): Declare.
1120 * remote-rdi.c (Fail): Update to match declaration.
1121
2a9cda49
AC
11222003-06-14 Andrew Cagney <[email protected]>
1123
1124 * config/mips/embedl64.mt (TDEPFILES): Delete "remote-array.o".
1125 * config/mips/embedl.mt (TDEPFILES): Delete "remote-array.o".
1126 * config/mips/embed64.mt (TDEPFILES): Delete "remote-array.o".
1127 * config/djgpp/fnchange.lst: Delete "remote-array.c".
1128 * README: Delete reference to remote-array.
1129 * Makefile.in (ALLDEPFILES): Remove "remote-array.c".
1130 (remote-array.o): Delete target.
1131 * config/mips/embed.mt (TDEPFILES): Delete "remote-array.o".
1132 * remote-array.c: Delete file.
1133
ff2e87ac
AC
11342003-06-14 Andrew Cagney <[email protected]>
1135 Mark Kettenis <[email protected]>
1136
1137 * gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter.
1138 (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace raw buffer
1139 parameter with "frame".
1140 * gdbarch.h, gdbarch.c: Re-generate.
1141 * frame.h (put_frame_register): Declare.
1142 * frame.c (put_frame_register): New function.
1143 * arch-utils.c (legacy_convert_register_p): Add "type" parameter.
1144 (legacy_register_to_value): Rewrite, use "frame" to get the
1145 register value.
1146 (legacy_value_to_register): Rewrite, use "frame" to find the
1147 register's location before storing.
1148 * arch-utils.h (legacy_convert_register_p): Update.
1149 (legacy_register_to_value, legacy_value_to_register): Update.
1150 * findvar.c (value_from_register): Rewrite, eliminate use of
1151 REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass
1152 "frame" to REGISTER_TO_VALUE.
1153 * valops.c (value_assign): Move the CONVERT_REGISTER code to the
1154 lval_reg_frame_relative + lval_register branch of the switch. Do
1155 not use REGISTER_CONVERT_FROM_TYPE. Use put_frame_register.
1156 * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM,
1157 I386_EDI_REGNUM): New defines.
1158 (i386_next_regnum, i386_convert_register_p,
1159 i386_register_to_value, i386_value_to_register): New functions.
1160 (i386_register_convertible, i386_register_convert_to_virtual,
1161 i386_convert_to_raw): Remove functions.
1162 (i386_gdbarch_init): Set convert_register_p, register_to_value and
1163 value_to_register instead of register_convertible,
1164 register_convert_to_virtual and register_convert_to_raw.
1165 * mips-tdep.c (mips_convert_register_p): New function.
1166 (mips_value_to_register): Replace mips_register_convert_from_type.
1167 (mips_register_to_value): Replace mips_register_convert_to_type.
1168 (mips_gdbarch_init): Set conver_register_p, value_to_register and
1169 register_to_value.
1170 * alpha-tdep.c (alpha_convert_register_p): Update.
1171 (alpha_value_to_register): Update, store the register.
1172 (alpha_register_to_value): Update, fetch the register.
1173
98be1e77
TR
11742003-06-14 Theodore A. Roth <[email protected]>
1175
1176 * avr-tdep.c (avr_remote_translate_xfer_address): Delete function.
1177 (avr_gdbarch_init): Remove avr_call_dummy_words variable.
1178 Don't set deprecated_call_dummy_words.
1179 Remove commented out set_gdbarch_believe_pcc_promotion() call.
1180 Don't set remote_translate_xfer_address.
1181 (avr_io_reg_read_command): Remove commented out debug printf.
1182 Wrap a long line.
1183
57bc6122
TR
11842003-06-14 Theodore A. Roth <[email protected]>
1185
1186 * avr-tdep.c (avr_scan_prologue): Fix to avoid a buffer over run which
1187 causes gdb to seg fault.
1188
eb01fc62
DJ
11892003-06-14 Daniel Jacobowitz <[email protected]>
1190
1191 * sparc-nat.c (fetch_inferior_registers): Correct
1192 a reference to "registers".
1193
3b3e6bee
DJ
11942003-06-14 Jeroen Dekkers <[email protected]>
1195
1196 * Makefile.in (exc_request_U_h): Define
1197 (exc_request_S_h): Likewise.
1198 (msg_reply_S_h): Likewise.
1199 (msg_U_h): Likewise.
1200 (notify_S_h): Likewise.
1201 (process_reply_S_h): Likewise.
1202 (gnu-nat.o): Depend on gdb_obstack_h
1203 * gnu-nat.c: Include "gdb_obstack.h".
1204
b8de8283
AC
12052003-06-13 Andrew Cagney <[email protected]>
1206
1207 * gdbarch.sh: Document what PUSH_DUMMY_CALL replaces.
1208 * gdbarch.h, gdbarch.c: Re-generate.
8ffd9b1b 1209
f3be58bc
AC
12102003-06-13 Andrew Cagney <[email protected]>
1211
1212 * gdbarch.sh: Document what UNWIND_DUMMY_ID replaces. Clarify
1213 when deprecated REGISTER macros can be deleted.
1214 * gdbarch.h, gdbarch.c: Re-generate.
1215
4c0122c8
JB
12162003-06-13 Jim Blandy <[email protected]>
1217
1218 * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC
1219 Linux entry point symbols for _dl_debug_state, too.
1220
3e210248
AC
12212003-06-13 Andrew Cagney <[email protected]>
1222
1223 * infcall.c (call_function_by_hand): When UNWIND_DUMMY_ID is
1224 available, do not use the FP register, and always save the TOS.
1225 * dummy-frame.c (dummy_frame_this_id): Do not assert
1226 SAVE_DUMMY_FRAME_TOS.
1227 * i386-tdep.c (i386_save_dummy_frame_tos): Delete function.
1228 (i386_gdbarch_init): Do not set save_dummy_frame_tos.
1229 (i386_push_dummy_call): Add 8 to the returned SP.
1230 * frame.c (legacy_frame_p): Do not require SAVE_DUMMY_FRAME_TOS.
1231 * d10v-tdep.c (d10v_unwind_dummy_id): Use d10v_unwind_sp.
1232 (d10v_gdbarch_init): Do not set save_dummy_frame_tos.
1233 * x86-64-tdep.c (x86_64_save_dummy_frame_tos): Delete function.
1234 (x86_64_push_dummy_call): Return "sp + 16".
1235 (x86_64_init_abi): Do not set save_dummy_frame_tos.
1236 * alpha-tdep.c (alpha_gdbarch_init): Do not set
1237 save_dummy_frame_tos.
1238
0b65af49
JB
12392003-06-13 Jim Blandy <[email protected]>
1240
1241 * frv-tdep.c (frv_use_struct_convention): Delete static
1242 declaration for function deleted in my change of 2003-06-12.
1243
4ea2465e
TR
12442003-06-13 Theodore A. Roth <[email protected]>
1245
1246 * avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit.
1247 (avr_pointer_to_address): Shift code addrs left 1 bit.
1248 (avr_convert_from_func_ptr_addr): Delete function since operation is
1249 better handled by avr_address_to_pointer and avr_pointer_to_address.
1250 (avr_gdbarch_init): Don't set convert_from_func_ptr_add method.
1251
1581182a
MK
12522003-06-13 Mark Kettenis <[email protected]>
1253
1254 From Kelley Cook <[email protected]>:
1255 * configure.host: Accept i[34567]86 variants.
1256 * configure.tgt: Likewise.
1257 * nlm/configure.in: Likewise.
1258 * nlm/configure: Regenerated.
1259
7aa1783e
RE
12602003-06-13 Richard Earnshaw <[email protected]>
1261
1262 * arm-tdep.c (solib-svr4.h): Dont' include it.
1263 (arm_linux_svr4_fetch_link_map_offsets): Move to ...
1264 * arm-linux-tdep.c: ... here. Make static.
1265 (arm_linux_init_abi): Register it.
1266 (solib-svr4.h): Include it.
1267 * Makefile.in: Update dependencies.
1268 * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
1269 (arm_linux_svr4_fetch_link_map_offsets): Delete declaration.
1270
0261a0d0
CV
12712003-06-13 Corinna Vinschen <[email protected]>
1272
1273 * h8300-tdep.c: Add definitions E_RET0_REGNUM and E_RET1_REGNUM to
1274 indicate registers used for return values.
1275 (struct frame_extra_info): Drop args_pointer and locals_pointer.
1276 (h8300_examine_prologue): Remove initializing dropped frame_extra_info
1277 members.
1278 (h8300_init_extra_frame_info): Ditto.
1279 (h8300_frame_locals_address): Removed.
1280 (h8300_frame_args_address): Removed.
1281 (h8300_extract_return_value): Use new regcache structure. Only care
1282 for 16 bit CPUs.
1283 (h8300h_extract_return_value): Same function for 32 bit CPUs.
1284 (h8300_store_return_value): Use new regcache structure. Only care
1285 for 16 bit CPUs.
1286 (h8300h_store_return_value): Same function for 32 bit CPUs.
1287 (h8300_store_struct_return): Removed.
1288 (h8300_extract_struct_value_address): Use new regcache structure.
1289 (h8300h_extract_struct_value_address): Removed.
1290 (h8300_push_dummy_code): New function.
1291 (h8300_gdbarch_init): Slightly rearranged to stress deprecated calls.
1292 Remove call_dummy_words. Call set_gdbarch_extract_return_value and
1293 set_gdbarch_store_return_value architecture dependent.
1294 Call set_gdbarch_push_dummy_code and
1295 set_gdbarch_extract_struct_value_address.
1296 Remove calls to set_gdbarch_frame_args_address,
1297 set_gdbarch_frame_locals_address,
1298 set_gdbarch_deprecated_store_struct_return,
1299 set_gdbarch_deprecated_extract_return_value,
1300 set_gdbarch_deprecated_extract_struct_value_address,
1301 set_gdbarch_deprecated_call_dummy_words and
1302 set_gdbarch_deprecated_sizeof_call_dummy_words.
1303
055c394a
CV
13042003-06-13 Corinna Vinschen <[email protected]>
1305
1306 * h8300-tdep.c (h8300_register_byte): Remove.
1307 (h8300h_register_byte): Remove.
1308 (h8300_register_virtual_type): Remove. Substitute by...
1309 (h8300_register_type): New function.
1310 (h8300_extract_struct_value_address): Drop usage of h8300_register_byte.
1311 (h8300h_extract_struct_value_address): Ditto.
1312 (h8300_gdbarch_init): Drop calls to
1313 set_gdbarch_deprecated_register_byte and
1314 set_gdbarch_deprecated_register_virtual_type.
1315 Add call to set_gdbarch_register_type.
1316
9c04cab7
AC
13172003-06-13 Andrew Cagney <[email protected]>
1318
1319 * gdbarch.sh: Update comments on registers.
1320 (deprecated_register_byte): Rename register_byte.
1321 (deprecated_register_raw_size): Rename register_raw_size.
1322 (deprecated_register_virtual_size): Rename register_virtual_size.
1323 (deprecated_register_virtual_type): Rename register_virtual_type.
1324 * gdbarch.h, gdbarch.c: Re-generate.
1325 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1326 * vax-tdep.c (vax_gdbarch_init): Update.
1327 * v850-tdep.c (v850_gdbarch_init): Update.
1328 * sparc-tdep.c (sparc_gdbarch_init): Update.
1329 * sh-tdep.c (sh_gdbarch_init): Update.
1330 * s390-tdep.c (s390_gdbarch_init): Update.
1331 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1332 * ns32k-tdep.c: Update.
1333 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1334 * mips-tdep.c (mips_gdbarch_init): Update.
1335 * mcore-tdep.c (mcore_gdbarch_init): Update.
1336 * m68k-tdep.c (m68k_gdbarch_init): Update.
1337 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1338 * ia64-tdep.c (ia64_gdbarch_init): Update.
1339 * hppa-tdep.c (hppa_gdbarch_init): Update.
1340 * h8300-tdep.c (h8300_gdbarch_init): Update.
1341 * frv-tdep.c (frv_gdbarch_init): Update.
1342 * cris-tdep.c (cris_gdbarch_init): Update.
1343 * avr-tdep.c (avr_gdbarch_init): Update.
1344 * alpha-tdep.c (alpha_gdbarch_init): Update.
1345 * arm-tdep.c (arm_gdbarch_init): Update.
1346
b060cbea
AC
13472003-06-13 Andrew Cagney <[email protected]>
1348
1349 * mips-tdep.c (mips_gdbarch_init): Replace remaining instances of
1350 mips_o32_use_struct_convention with always_use_struct_convention.
1351
0fc9922a
DC
13522003-06-12 David Carlton <[email protected]>
1353
1354 * cp-namespace.c (cp_set_block_scope): Comment out
1355 processing_has_namespace_info branch.
1356
1fd35568
JB
13572003-06-12 Jim Blandy <[email protected]>
1358
f470a70a
JB
1359 Recognize and skip 64-bit PowerPC Linux linkage functions.
1360 * ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct
1361 insn_pattern, insns_match_pattern, d_field, ds_field): New
1362 functions, macros, and types for working with PPC instructions.
1363 (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN,
1364 ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target,
1365 ppc64_skip_trampoline_code): New functions, variables, and macros
1366 for recognizing and skipping linkage functions.
1367 (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and
1368 ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI.
1369
49ff75ad
JB
1370 * ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-area
1371 register offsets for both the 32- and 64-bit interfaces.
1372
bd918c83
JB
1373 Actually finish the job started by my change of 2003-05-29.
1374 * config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the
1375 other #definition of this.
1376 (ppc_linux_skip_trampoline_code): Remove declaration.
1377 * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this
1378 static.
1379 (ppc_linux_init_abi): Register it as the skip_trampoline_code
1380 method for GDBARCH.
1381
1382 * config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This is
1383 'long' on ppc64-*-linux*.
1384
f8c59253
JB
1385 * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ
1386 isn't #defined, assume the register doesn't exist: act as if
1387 tdep->ppc_mq_regnum were -1.
1388
8fbb30b1
JB
1389 * configure.host, configure.tgt: Add entries for
1390 powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and
1391 powerpc/linux.mt.
1392 * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh:
1393 New files.
1394
1fd35568
JB
1395 * arch-utils.c (always_use_struct_convention): New function.
1396 * arch-utils.h (always_use_struct_convention): New prototype.
1397 * alpha-tdep.c (alpha_use_struct_convention): Delete.
1398 (alpha_gdbarch_init): Register always_use_struct_convention,
1399 instead of alpha_use_struct_convention.
1400 * cris-tdep.c (cris_use_struct_convention): Delete.
1401 (cris_gdbarch_init): Register always_use_struct_convention,
1402 instead of cris_use_struct_convention.
1403 * frv-tdep.c (frv_use_struct_convention): Delete.
1404 (frv_gdbarch_init): Register always_use_struct_convention,
1405 instead of frv_use_struct_convention.
1406 * h8300-tdep.c (h8300_use_struct_convention): Delete.
1407 (h8300_gdbarch_init): Register always_use_struct_convention,
1408 instead of h8300_use_struct_convention.
e3305dd9 1409 * mips-tdep.c (mips_o32_use_struct_convention): Delete.
1fd35568
JB
1410 (mips_o32_gdbarch_init): Register always_use_struct_convention,
1411 instead of mips_o32_use_struct_convention.
1412
e14e6e9c
AC
14132003-06-12 Andrew Cagney <[email protected]>
1414
1415 * wince.c: Include "mips-tdep.h".
1416 * mips-tdep.h (mips_next_pc): Declare.
1417 * mcore-tdep.c: Make more local functions static.
1418 * Makefile.in (wince.o): Update dependencies.
1419
2335f48e
DC
14202003-06-12 David Carlton <[email protected]>
1421
1422 * symtab.c (lookup_symbol_aux_minsyms): Replace
1423 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
1424 (find_pc_sect_line, search_symbols, rbreak_command): Ditto.
1425 (COMPLETION_LIST_ADD_SYMBOL): Rewrite in terms of
1426 SYMBOL_NATURAL_NAME.
1427
f70a7d61
AS
14282003-06-12 Andreas Schwab <[email protected]>
1429
1430 * Makefile.in (tuiDisassem.o): Update dependencies.
1431
b6429628
DC
14322003-06-12 David Carlton <[email protected]>
1433
1434 * symtab.h: Delete declaration of make_symbol_overload_list.
1435 Add declaration of lookup_partial_symbol.
1436 * symtab.c (remove_params): Move to cp-support.c.
1437 (overload_list_add_symbol, make_symbol_overload_list)
1438 (sym_return_val_size, sym_return_val_index): Ditto.
1439 (lookup_partial_symbol): Make extern.
1440 * cp-support.h: Add declaration of make_symbol_overload_list.
1441 * cp-support.c: Include dictionary.h, objfiles.h, frame.h,
1442 symtab.h, and block.h.
1443 (remove_params): Move here from symtab.c.
1444 (overload_list_add_symbol, make_symbol_overload_list)
1445 (sym_return_val_size, sym_return_val_index): Ditto.
1446 * valops.c: Include cp-support.h.
1447 * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h,
1448 frame_h, and block_h.
1449 (valops.o): Depend on cp_support_h.
1450
084edea5
CV
14512003-06-12 Corinna Vinschen <[email protected]>
1452
1453 * h8300-tdep.c: Add H8SX registers. Drop E_NUM_REGS entirely,
1454 substitute by NUM_REGS throughout.
1455 (h8300_register_name): Only care for H8/300 and H8/300H registers.
1456 (h8300s_register_name): New function for H8S registers.
1457 (h8300sx_register_name): Ditto for H8SX registers.
1458 (h8300_print_register): Revise register printing, avoid depending
1459 on 32 bit long.
0261a0d0 1460 (h8300_register_byte): Only care for H8/300 registers.
084edea5
CV
1461 (h8300h_register_byte): New function for any other architecture.
1462 (h8300_register_raw_size): Remove.
1463 (h8300_register_virtual_type): Revise to return actually useful
1464 type.
1465 (h8300_extract_struct_value_address): Only care for H8/300 registers.
1466 (h8300h_extract_struct_value_address): New function for any other
1467 architecture.
1468 (h8300_gdbarch_init): Add h8300sxn. Call set_gdbarch_num_regs,
1469 set_gdbarch_register_name, set_gdbarch_register_byte,
1470 set_gdbarch_ptr_bit and set_gdbarch_addr_bit architecture dependent.
1471 Remove calls to set_gdbarch_deprecated_register_size,
1472 set_gdbarch_deprecated_register_bytes, set_gdbarch_register_raw_size,
1473 set_gdbarch_deprecated_max_register_raw_size,
1474 set_gdbarch_register_virtual_size and
1475 set_gdbarch_deprecated_max_register_virtual_size entirely.
1476 Call set_gdbarch_long_long_bit, set_gdbarch_double_bit and
1477 set_gdbarch_long_double_bit.
1478
06194148
JJ
14792003-06-11 Jeff Johnston <[email protected]>
1480
8ffd9b1b
AJ
1481 * doublest.c (convert_doublest_to_floatformat): When dealing
1482 with the implied integer bit, only alter mant_bits if we are
06194148
JJ
1483 processing a full 32 bits of mantissa.
1484
de4f826b
DC
14852003-06-11 David Carlton <[email protected]>
1486
1487 * dictionary.h: New.
1488 * dictionary.c: New.
1489 * block.h: Add opaque declaration for struct dictionary.
1490 (struct block): Add 'dict' member; delete 'hashtable', 'nsyms',
1491 'sym' members.
1492 (BLOCK_DICT): New macro.
1493 Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM,
1494 BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE,
1495 BLOCK_SHOULD_SORT.
1496 (ALL_BLOCK_SYMBOLS): Update definition.
1497 * Makefile.in (SFILES): Add dictionary.c.
1498 (dictionary_h): New.
1499 (COMMON_OBS): Add dictionary.o.
1500 (dictionary.o): New.
1501 (ada-lang.o): Depend on dictionary_h.
1502 (buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o)
1503 (stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o)
1504 (mi-cmd-stack.o): Ditto.
1505 (gdbtk-cmds.o): Update dependencies.
1506 (gdbtk-stack.o): Ditto.
1507 * ada-lang.c: Include dictionary.h.
1508 (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS.
1509 (fill_in_ada_prototype, debug_print_block): Ditto.
1510 (ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace
1511 explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable
1512 'is_sorted'.
1513 * mdebugread.c: Include dictionary.h.
1514 (struct parse_stack): Delete 'maxsyms' member.
1515 (parse_symbol): Update calls to new_block. Delete calls to
1516 shrink_block. Use dictionary methods.
1517 (psymtab_to_symtab_1): Delete calls to sort_symtab_syms.
1518 Update calls to new_symtab. Don't maintain maxsyms data.
1519 (mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS.
1520 (add_symbol): Just call dict_add_symbol.
1521 (new_symtab): Delete 'maxsyms' argument.
1522 (new_symtab): Update calls to new_block.
1523 (new_block): Delete 'maxsyms' argument; add 'function' argument.
1524 (shrink_block): Delete function.
1525 (fixup_sigtramp): Update call to new_block. Add symbol via
1526 dict_add_symbol.
1527 * jv-lang.c: Include dictionary.h.
1528 (get_java_class_symtab): Set the BLOCK_DICT of the blocks
1529 appropriately. Set class_symtab->free_func. Make sure the
1530 blockvector is big enough to hold two blocks.
1531 (add_class_symtab_symbol): Use dictionary methods.
1532 (free_class_block): New function.
1533 (type_from_class): Replace explicit iteration by
1534 ALL_BLOCK_SYMBOLS.
1535 * symtab.h (struct symtab): Replace 'free_ptr' method by
1536 'free_func'.
1537 * dwarf2read.c (psymtab_to_symtab_1): Delete call to
1538 sort_symtab_syms.
1539 * dwarfread.c (psymtab_to_symtab_1): Delete call to
1540 sort_symtab_syms.
1541 * coffread.c (coff_symfile_read): Delete call to sort_symtab_syms.
1542 Include dictionary.h.
1543 (patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS.
1544 * dbxread.c (dbx_psymtab_to_symtab_1): Delete call to
1545 sort_symtab_syms.
1546 * objfiles.c: Include dictionary.h.
1547 (objfile_relocate): Update use of ALL_BLOCK_SYMBOLS.
1548 * buildsym.c: Include dictionary.h.
1549 (finish_block): Use dictionary methods.
1550 (end_symtab): Set free_func to NULL, not free_ptr.
1551 * tracepoint.c: Include dictionary.h.
1552 (add_local_symbols): Update use of ALL_BLOCK_SYMBOLS.
1553 (scope_info): Ditto.
1554 * stack.c: Include dictionary.h.
1555 (print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS.
1556 (print_block_frame_labels, print_frame_arg_vars)
1557 (print_frame_args): Ditto.
1558 * symmisc.c (free_symtab_block): Use dictionary methods.
1559 (dump_symtab): Ditto.
1560 (free_symtab): Replace use of 'free_ptr' by 'free_func'.
1561 Include dictionary.h.
1562 * symfile.h: Delete declarations of sort_block_syms,
1563 sort_symtab_syms.
1564 * symfile.c (sort_block_syms): Delete.
1565 (sort_symtab_syms): Delete.
1566 * symtab.c: Include dictionary.h.
1567 (lookup_block_symbol): Use dictionary iterators.
1568 (find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS.
1569 (search_symbols, make_symbol_completion_list): Ditto.
1570 (make_symbol_overload_list): Ditto.
1571 * valops.c (value_of_local): Use dict_empty.
1572 Include dictionary.h.
1573
a31f978c
JB
15742003-06-11 J. Brobecker <[email protected]>
1575
1576 * win32-nat.c (solib_symbols_add): Fix a small compilation error.
1577
526e70c0
DC
15782003-06-11 David Carlton <[email protected]>
1579
1580 * block.h (BLOCK_SHOULD_SORT): Delete.
1581 * symtab.c (lookup_block_symbol): Don't worry about sorted linear
1582 blocks.
1583 * ada-lang.c (ada_add_block_symbols): Ditto.
1584 * symfile.c (sort_block_syms): Delete.
1585 (sort_symtab_syms): Ditto.
1586 * symfile.h: Delete sort_symtabs_syms and sort_block_syms
1587 declarations.
1588 * coffread.c (coff_symfile_read): Don't call sort_symtab_syms.
1589 * dbxread.c (dbx_psymtab_to_symtab_1): Ditto.
1590 * dwarf2read.c (psymtab_to_symtab_1): Ditto.
1591 * dwarfread.c (psymtab_to_symtab_1): Ditto.
1592 * hpread.c (hpread_psymtab_to_symtab_1): Ditto.
1593 * mdebugread.c (psymtab_to_symtab_1): Ditto.
1594 * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto.
1595
33c08150
JJ
15962003-06-11 Jeff Johnston <[email protected]>
1597
8ffd9b1b 1598 * ia64-tdep.c (ia64_gdbarch_init): Set number of long double
33c08150
JJ
1599 bits to 128.
1600
781a750d
AC
16012003-06-11 Andrew Cagney <[email protected]>
1602
1603 * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate
1604 REGISTER_CONVERTIBLE.
1605 (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same.
1606 (DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant.
1607 * gdbarch.h, gdbarch.c: Re-generate.
1608 * arch-utils.h (deprecated_register_convertible_not): Rename
1609 generic_register_convertible_not.
1610 * arch-utils.c (deprecated_register_convertible_not): Rename
1611 generic_register_convertible.
1612 (legacy_convert_register_p, legacy_register_to_value): Update.
1613 * sh-tdep.c (sh64_push_arguments): Update.
1614 * m68klinux-tdep.c (m68k_linux_extract_return_value): Update.
1615 * config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update.
1616 * m68klinux-tdep.c (m68k_linux_store_return_value): Update.
1617 * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update.
1618 * arch-utils.c (legacy_value_to_register): Update.
1619 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1620 (rs6000_register_convert_to_raw): Make parameter "from" const.
1621 * mips-tdep.c (mips_gdbarch_init): Update.
1622 (mips_register_convert_to_raw): Make parameter"virt_buf" const.
1623 * infcmd.c (default_print_registers_info): Update.
1624 * ia64-tdep.c (ia64_gdbarch_init): Update.
1625 (ia64_register_convert_to_raw): Make parameter "from" const.
1626 * i386-tdep.c (i386_gdbarch_init): Update.
1627 (i386_register_convert_to_raw): Update.
1628
cd90e54f
AC
16292003-06-11 Andrew Cagney <[email protected]>
1630
1631 * remote-fileio.c: Include "remote-fileio.h".
1632 * Makefile.in (remote-fileio.o): Update dependencies.
1633 (remote_fileio_h): Fix typo.
1634
a78f21af
AC
16352003-06-11 Andrew Cagney <[email protected]>
1636
1637 * xstormy16-tdep.c (xstormy16_push_return_address): Make static.
1638 (xstormy16_save_dummy_frame_tos): Make static.
1639 (_initialize_xstormy16_tdep): Add declaration.
1640 * vax-tdep.c (_initialize_vax_tdep): Add declaration.
1641 * v850-tdep.c: Make local functions static.
1642 (_initialize_v850_tdep): Add declaration.
1643 * sparc-tdep.c: Make local functions static.
1644 (_initialize_sparc_tdep): Add declaration.
1645 * sh-tdep.c: Make local functions static.
1646 (_initialize_sh_tdep): Add declaration.
1647 * sh3-rom.c (_initialize_sh3_rom): Add declaration.
1648 * s390-tdep.c: Make local functions static.
1649 (_initialize_s390_tdep): Add declaration.
1650 * dbxread.c (find_stab_function_addr): Make static.
1651 * ppc-bdm.c (_initialize_bdm_ppc): Add declaration.
1652 * ocd.c (_initialize_remote_ocd): Add declaration.
1653 * dink32-rom.c (_initialize_dink32_rom): Add declaration.
1654 * ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration.
1655 * ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration.
1656 * ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration.
1657 * mips-tdep.c (_initialize_mips_tdep): Add declaration.
1658 * remote-array.c (_initialize_array): Add declaration.
1659 (_initialize_remote_monitors): Add declaration.
1660 * remote-mips.c: Make local functions static.
1661 (_initialize_remote_mips): Add declaration.
1662 * mcore-tdep.c: Make all local functions static.
1663 (_initialize_mcore_tdep): Add declaration.
1664 * dbug-rom.c (_initialize_dbug_rom): Add declaration.
1665 * abug-rom.c (_initialize_abug_rom): Add declaration.
1666 * rom68k-rom.c (_initialize_rom68k): Add declaration.
1667 * cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration.
1668 * m68k-tdep.c (_initialize_m68k_tdep): Add declaration.
1669 * remote-est.c (_initialize_est): Add declaration.
1670 * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration.
1671 (m68hc11_call_dummy_address): Make static.
1672 * ia64-tdep.c: Make local functions static.
1673 (_initialize_ia64_tdep): Add declaration.
1674 * solib-legacy.c (_initialize_svr4_lm): Add declaration.
1675 * monitor.c (monitor_wait_filter): Make static.
1676 (_initialize_remote_monitors): Add declaration.
1677 * remote-hms.c (_initialize_remote_hms): Add declaration.
1678 * remote-e7000.c (fetch_regs_from_dump): Make static.
1679 (expect_n): Make static.
1680 (_initialize_remote_e7000): Add declaration.
1681 * ser-e7kpc.c: Always include "defs.h".
1682 (_initialize_ser_e7000pc): Add declaration.
1683 * h8300-tdep.c (_initialize_h8300_tdep): Add declaration.
1684 * cris-tdep.c: Make all but one function static.
1685 (_initialize_cris_tdep): Add declaration.
1686 * solib-svr4.c (_initialize_svr4_solib): Add declaration.
1687 * solib.c (update_solib_list): Make static.
1688 (_initialize_solib): Add declaration.
1689 * avr-tdep.c (avr_breakpoint_from_pc): Make static.
1690 (_initialize_avr_tdep): Add declaration.
1691 * remote-rdi.c (voiddummy): Make static.
1692 (_initialize_remote_rdi): Add declaration.
1693 * arm-tdep.c (_initialize_arm_tdep): Add declaration.
1694 * remote-rdp.c (send_rdp): Make static.
1695 (_initialize_remote_rdp): Add declaration.
1696 * alpha-tdep.c (_initialize_alpha_tdep): Add declaration.
1697
cbcdb1f5
CV
16982003-06-11 Corinna Vinschen <[email protected]>
1699
1700 * remote-fileio.c: Make ari happy.
1701
a191ea8d
JB
17022003-06-10 J. Brobecker <[email protected]>
1703
1704 * rs6000-nat.c (child_xfer_memory): Compute the right address when
1705 fetching the trailing bytes of the buffer we are about to write.
1706
0ef75e11
AC
17072003-06-10 Andrew Cagney <[email protected]>
1708
1709 * remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H.
1710 * Makefile.in (remote-fileio.o): Update dependencies.
1711 * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not
1712 include <setjmp.h>, or <sys/types.h> conditional on USG.
1713 (remote_fio_jmp_buf): Delete global variable.
1714
449092f6 17152003-06-10 Corinna Vinschen <[email protected]>
559fa028 1716 Martin M. Hunt <[email protected]>
449092f6 1717
559fa028
AC
1718 * Makefile.in (REMOTE_OBS): Add remote-fileio.o
1719 (SFILES): Add remote-fileio.c.
1720 Add dependencies for building remote-fileio.o. Add remote-fileio.h to
1721 dependencies for building remote.o.
449092f6
CV
1722 * remote-fileio.c: New file implementing the remote File-I/O protocol.
1723 * remote-fileio.h: New header file defining remote File-I/O interface.
8ffd9b1b 1724 * remote.c (remote_write_bytes, remote_read_bytes): Remove
449092f6
CV
1725 static storage class.
1726 (remote_wait, remote_async_wait): Call remote_fileio_request() on
1727 'F' packet.
1728 (_initialize_remote): Call initialize_remote_fileio().
1729 * remote.h: Declare remote_write_bytes() and remote_read_bytes().
449092f6
CV
1730 * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin.
1731 * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin.
1732 (captured_main): Initialize new ui_files.
1733 * ui-file.c: Add read and fgets input functions.
1734 (ui_file_new): set ui_file_fputs and ui_file_read to null functions.
1735 (null_file_read): New function.
1736 (ui_file_read): New function.
1737 (set_ui_file_read): New function.
1738 (stdio_file_read): New function.
1739 * ui-file.h: New type ui_file_read_ftype.
1740 (set_ui_file_read): Declare.
1741 (ui_file_read): Declare.
1742
248de703
AC
17432003-06-09 Andrew Cagney <[email protected]>
1744
1745 * frame.h (deprecated_unwind_get_saved_register): Rename
1746 generic_unwind_get_saved_register, update comments.
1747 * mips-tdep.c (mips_get_saved_register): Update.
1748 * frame.c (deprecated_unwind_get_saved_register): Update.
1749
0ed8aa57
AC
17502003-06-09 Andrew Cagney <[email protected]>
1751
1752 * vax-tdep.c (vax_frame_locals_address): Delete function.
1753 (vax_gdbarch_init): Do not set frame_locals_address.
1754 * m68hc11-tdep.c (m68hc11_frame_locals_address): Delete function.
1755 (m68hc11_gdbarch_init): Do not set frame_locals_address.
1756 * s390-tdep.c (s390_frame_args_address): Delete function.
1757 (s390_gdbarch_init): Do not set frame_args_address or
1758 frame_locals_address.
1759 * ns32k-tdep.c (ns32k_frame_locals_address): Delete.
1760 (ns32k_gdbarch_init): Do not set frame_locals_address.
1761 * hppa-tdep.c (hppa_frame_args_address): Delete function.
1762 (hppa_frame_locals_address): Delete function.
1763 (hppa_gdbarch_init): Do not set frame_args_address, or
1764 frame_locals_address.
1765 * arm-tdep.c (arm_frame_args_address): Delete.
1766 (arm_frame_locals_address): Delete.
1767 (arm_gdbarch_init): Do not set frame_args_address, or
1768 frame_locals_address.
1769
983a287a
AC
17702003-06-09 Andrew Cagney <[email protected]>
1771
1772 * gdbarch.sh (FRAME_NUM_ARGS): Change to function with predicate.
1773 * gdbarch.h, gdbarch.c: Re-generate.
1774 * arch-utils.h (frame_num_args_unknown): Delete both declarations.
1775 * arch-utils.c (frame_num_args_unknown): Delete function.
1776 * stack.c (print_args_stub): Use FRAME_NUM_ARGS_P.
1777 (frame_info): Use FRAME_NUM_ARGS_P.
1778 * arm-tdep.c (arm_frame_num_args): Delete function.
1779 (arm_gdbarch_init): Do not set frame_num_args.
1780 * config/pa/tm-hppa64.h (FRAME_NUM_ARGS): Delete.
1781 * hppa-tdep.c (hppa_frame_num_args): Delete function.
1782 (hppa_gdbarch_init): Do not set frame_num_args.
1783 * config/sparc/tm-sparc.h (FRAME_NUM_ARGS): Delete.
1784 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
1785 frame_num_args to default frame_num_args_unknown.
1786 * v850-tdep.c (v850_gdbarch_init): Ditto.
1787 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1788 * sh-tdep.c (sh_gdbarch_init): Ditto.
1789 * s390-tdep.c (s390_gdbarch_init): Ditto.
1790 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1791 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1792 * mips-tdep.c (mips_gdbarch_init): Ditto.
1793 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1794 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1795 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1796 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1797 * i386-tdep.c (i386_gdbarch_init): Ditto.
1798 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1799 * frv-tdep.c (frv_gdbarch_init): Ditto.
1800 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1801 * cris-tdep.c (cris_gdbarch_init): Ditto.
1802 * avr-tdep.c (avr_gdbarch_init): Ditto.
1803 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1804
8d3b0994
AC
18052003-06-09 Andrew Cagney <[email protected]>
1806
1807 * printcmd.c (print_frame_nameless_args): Moved to "stack.c".
1808 (print_frame_args): Moved to "stack.c".
1809 * stack.c: Include "gdb_assert.h".
1810 (print_frame_nameless_args): Moved from "printcmd.c", made static.
1811 (print_frame_args): Moved from "printcmd.c".
1812 * frame.h (print_frame_args): Delete declaration.
1813 * Makefile.in (stack.o): Update dependencies.
1814
25e3a86b
AC
18152003-06-08 Andrew Cagney <[email protected]>
1816
1817 * frame.c (get_prev_frame): Remove reference to
1818 frame_args_address_correct in comments.
1819 * frame-base.c (default_frame_args_address): Delete code
1820 conditional on FRAME_ARGS_ADDRESS_CORRECT.
1821 * vax-tdep.c (vax_frame_args_address_correct): Delete.
1822 (vax_frame_args_address): Merge in vax_frame_args_address_correct.
1823 * config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete
1824 (vax_frame_args_address_correct): Delete declaration.
1825
a9e5fdc2
AC
18262003-06-08 Andrew Cagney <[email protected]>
1827
1828 * gdbarch.sh (UNWIND_SP): Add.
1829 * gdbarch.h, gdbarch.c: Re-generate.
1830 * frame.c (frame_sp_unwind): New function.
1831 (get_frame_sp): New function.
1832 * frame.h (get_frame_sp, frame_sp_unwind): Declare.
1833 * regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP,
1834 gdbarch_unwind_sp and SP_REGNUM when looking for the SP register
1835 value.
1836 * d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp.
1837 (d10v_gdbarch_init): Set unwind_sp instead of read_sp.
1838
8983bd83
AC
18392003-06-08 Andrew Cagney <[email protected]>
1840
7fec2c59
AC
1841 Deprecate BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT and
1842 REMOTE_BREAKPOINT.
1843 * remote.c: Update.
1844 * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT): Update.
1845 (DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Update.
1846 * config/m68k/tm-sun3.h: Update.
1847 * config/m68k/tm-m68klynx.h: Update.
1848 * config/h8300/tm-h8300.h (DEPRECATED_REMOTE_BREAKPOINT): Update.
1849
8983bd83
AC
1850 * trad-frame.h (struct trad_frame_saved_reg): Rename "struct
1851 trad_frame". Update comments.
1852 * d10v-tdep.c (struct d10v_unwind_cache): Update.
1853 * trad-frame.c (trad_frame_alloc_saved_regs): Update.
1854 (trad_frame_register_value, trad_frame_prev_register): Update.
1855
b9362cc7
AC
18562003-06-08 Andrew Cagney <[email protected]>
1857
1858 * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen
1859 from GCC's acinclude.m4.
1860 * configure.in: Check for getopt's delcaration.
8ffd9b1b 1861 * aclocal.m4, config.in, configure: Re-generate.
b9362cc7
AC
1862 * main.c (error_init): Delete declaration.
1863 * defs.h (error_init): Declare.
1864 * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static.
1865 (rs6000_convert_from_func_ptr_addr): Make static.
1866 (_initialize_rs6000_tdep): Add declaration.
1867 * cli/cli-cmds.c (dont_repeat): Delete declaration.
1868 (show_commands, set_verbose, show_history): Delete declaration.
1869 * top.h (set_verbose): Add declaration.
1870 (show_history, set_history, show_commands): Add declaration.
1871 (do_restore_instream_cleanup): Add declaration.
1872 * objc-lang.c (specialcmp): Make static.
1873 (print_object_command): Make static.
1874 (find_objc_msgsend): Make static.
1875 (find_objc_msgcall_submethod_helper): Make static.
1876 (find_objc_msgcall_submethod): Make static.
1877 (_initialize_objc_language): Add declaration.
1878 (find_implementation_from_class): Make static.
1879 (find_implementation): Make static.
1880 * objc-exp.y (yylex): Delete lookup_struct_typedef declaration.
1881 * objc-lang.h (lookup_struct_typedef): Add declaration.
1882 * cli/cli-interp.c (_initialize_cli_interp): Add declaration.
1883 * cli/cli-script.c (clear_hook_in_cleanup): Make static.
1884 (do_restore_user_call_depth): Make static.
1885 (do_restore_instream_cleanup): Delete declaration.
1886 (dont_repeat): Delete declaration.
1887 * cli/cli-decode.c (add_abbrev_cmd): Delete function.
1888 * cli/cli-dump.c (_initialize_cli_dump): Add declaration.
1889 * reggroups.c (_initialize_reggroup): Add declaration.
1890 * cp-support.c (_initialize_cp_support): Add declaration.
1891 * cp-abi.c (_initialize_cp_abi): Add declaration.
1892 * hpacc-abi.c (_initialize_hpacc_abi): Add declaration.
1893 * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static.
1894 (_initialize_gnu_v3_abi): Add declaration.
1895 * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static.
1896 (_initialize_gnu_v2_abi): Add declaration.
1897 * frame-base.c (_initialize_frame_base): Add declaration.
1898 * doublest.c (floatformat_from_length): Make static.
1899 * frame-unwind.c (_initialize_frame_unwind): Add declaration.
1900 * frame.c (create_sentinel_frame): Make static.
1901 (_initialize_frame): Add declaration.
1902 * top.c (do_catch_errors): Make static.
1903 (gdb_rl_operate_and_get_next_completion): Make static.
1904 * typeprint.c: Include "typeprint.h".
1905 * sentinel-frame.c (sentinel_frame_prev_register): Make static.
1906 (sentinel_frame_this_id): Make static.
1907 * p-valprint.c (_initialize_pascal_valprint): Add declaration.
1908 * ui-out.c (make_cleanup_ui_out_begin_end): Delete function.
1909 * dwarf2-frame.c (dwarf2_frame_cache): Make static.
1910 * p-exp.y (push_current_type, pop_current_type): ISO C declaration.
1911 * dwarf2expr.h (dwarf_expr_context): ISO C declaration.
1912 * maint.c (maintenance_print_architecture): Make static.
1913 * signals/signals.c (_initialize_signals): Add declaration.
1914 * std-regs.c (_initialize_frame_reg): Add declaration.
1915 * jv-exp.y (push_variable): ISO C definition.
1916 (push_qualified_expression_name): Ditto.
1917 * memattr.c (_initialize_mem): Add declaration.
1918 * remote.c (remote_check_watch_resources): Make static.
1919 (remote_stopped_by_watchpoint): Make static.
1920 (remote_stopped_data_address): Make static.
1921 * d10v-tdep.c (nr_dmap_regs): Make static.
1922 (a0_regnum): Make static.
1923 (d10v_frame_unwind_cache): Make static.
1924 (d10v_frame_p): Make static.
1925 * osabi.c (show_osabi): Make static.
1926 (_initialize_gdb_osabi): Add extern declaration.
1927 * gdbtypes.c (make_qualified_type): Make static.
1928 (safe_parse_type): Make static.
1929 * macrocmd.c (_initialize_macrocmd): Add extern declaration.
1930 * macrotab.c (macro_bcache_free): Make static.
1931 * interps.c (interp_set_quiet): Make static.
1932 (interpreter_exec_cmd): Make static.
1933 * stack.h (select_frame_command): New file.
1934 * stack.c: Include "stack.h".
1935 (select_frame_command_wrapper): Delete function.
1936 (select_frame_command): Make global.
1937 * infcall.c: Include "infcall.h".
1938 * linespec.c: Include "linespec.h".
1939 * symfile.c (sections_overlap): Make static.
1940 * cp-support.h (cp_initialize_namespace): ISO C declaration.
1941 * charset.c (_initialize_charset): Add missing prototype.
1942 * regcache.c (init_legacy_regcache_descr): Make static.
1943 (do_regcache_xfree): Make static.
1944 (regcache_xfer_part): Make static.
1945 (_initialize_regcache): Add missing prototype.
1946 * breakpoint.c (parse_breakpoint_sals): Make static.
1947 (breakpoint_sals_to_pc): Make static.
1948 * interps.h (clear_interpreter_hooks): ISO C declaration.
1949 * Makefile.in (stack_h): Define.
1950 (stack.o, typeprint.o, mi-main.o): Update dependencies.
1951 (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies.
1952
a0f267c7
AC
19532003-06-08 Andrew Cagney <[email protected]>
1954
1955 * Makefile.in (d10v-tdep.o): Update dependencies.
1956 (SFILES): Add trad-frame.c.
1957 (trad_frame_h): Define.
1958 (COMMON_OBS): Add trad-frame.o.
1959 (trad-frame.o): Specify dependencies.
1960 * d10v-tdep.c: Include "trad-frame.h".
1961 (saved_regs_unwinder): Delete function.
1962 (d10v_frame_prev_register): Use trad_frame_prev_register.
1963 (struct d10v_unwind_cache): Change type of "saved_regs" to "struct
1964 trad_frame", delete "regs" and "prev_sp".
1965 (prologue_find_regs): Use trad-frame.
1966 * trad-frame.h, trad-frame.c: New files.
1967
4538b4f4
MK
19682003-06-08 Mark Kettenis <[email protected]>
1969
1970 * dwarf2cfi.c, dwarf2cfi.h: Remove.
1971
a0273b2f
AF
19722003-06-07 Adam Fedor <[email protected]>
1973
1974 * gdb/objc-lang.c (FETCH_ARGUMENT): Remove macro.
1975 (OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for
1976 using FETCH_POINTER_ARGUMENT with Objective-C method arguments.
1977 (find_implementation, resolve_msgsend, resolve_msgsend_stret,
8ffd9b1b 1978 resolve_msgsend_super, resolve_msgsend_super_stret):
a0273b2f
AF
1979 Use it.
1980
3a6c3343
AC
19812003-06-07 Andrew Cagney <[email protected]>
1982
1983 * symfile.h: Re-indent, clean up comments.
1984
b46e02f6
AC
19852003-06-07 Andrew Cagney <[email protected]>
1986
1987 * inferior.h (deprecated_write_sp): Replace
1988 generic_target_write_sp.
1989 * regcache.c (deprecated_write_sp): Replace
1990 generic_target_write_sp.
1991 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1992 * vax-tdep.c (vax_gdbarch_init): Update.
1993 * v850-tdep.c (v850_gdbarch_init): Update.
1994 * sparc-tdep.c (sparc_gdbarch_init): Update.
1995 * sh-tdep.c (sh_gdbarch_init): Update.
1996 * s390-tdep.c (s390_gdbarch_init): Update.
1997 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1998 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1999 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2000 * mcore-tdep.c (mcore_gdbarch_init): Update.
2001 * m68k-tdep.c (m68k_gdbarch_init): Update.
2002 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2003 * ia64-tdep.c (ia64_gdbarch_init): Update.
2004 * h8300-tdep.c (h8300_gdbarch_init): Update.
2005 * frv-tdep.c (frv_gdbarch_init): Update.
2006 * cris-tdep.c (cris_gdbarch_init): Update.
2007 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Update.
2008
a42e117c
AC
20092003-06-07 Andrew Cagney <[email protected]>
2010
2011 * dwarf2-frame.c (dwarf2_frame_cache): Add comments on PC_REGNUM.
2012 Assert that PC_REGNUM is valid.
2013 (dwarf2_frame_prev_register): Add comments on SP_REGNUM.
2014
bd1ce8ba
AC
20152003-06-07 Andrew Cagney <[email protected]>
2016
2017 * gdbarch.sh (TARGET_READ_SP): Add predicate, delete default.
2018 * gdbarch.h, gdbarch.c: Regenerate.
2019 * mn10300-tdep.c: Include "gdb_assert.h".
2020 (mn10300_read_fp): New function.
2021 (mn10300_gdbarch_init): Set deprecated_target_read_fp to
2022 mn10300_read_fp. Do not set read_sp to generic_target_read_sp.
2023 * ia64-tdep.c: Include "gdb_assert.h".
2024 (ia64_read_fp): New function.
2025 (ia64_gdbarch_init): Set deprecated_target_read_fp to
2026 ia64_read_sp. Do not set read_sp to generic_target_read_sp.
2027 * regcache.c (generic_target_read_sp): Delete function.
2028 (read_sp): Try TARGET_READ_SP and SP_REGNUM for the SP register.
2029 * inferior.h (generic_target_read_sp): Delete declaration.
2030 * frv-tdep.c (frv_gdbarch_init): Do not set read_sp to
2031 generic_target_read_sp.
2032 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2033 * sparc-tdep.c (sparc_gdbarch_init): Ditto
2034 * sh-tdep.c (sh_gdbarch_init): Ditto.
2035 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2036 * Makefile.in (mn10300-tdep.o, ia64-tdep.o): Update dependencies.
2037
ec5cbaec
AC
20382003-06-07 Andrew Cagney <[email protected]>
2039
2040 * gdbarch.sh: Comment each field of startup_gdbarch.
2041 * gdbarch.h, gdbarch.c: Re-generate.
2042
cde9ea48
AC
20432003-06-07 Andrew Cagney <[email protected]>
2044
2045 * gdbarch.sh (TARGET_READ_PC): Add predicate, remove default.
2046 * gdbarch.h, gdbarch.c: Re-generate.
2047 * regcache.c: Update comments on read_pc et.al.
2048 (generic_target_read_pc): Delete function.
2049 (read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register.
2050 * inferior.h (generic_target_read_pc): Delete declaration.
2051 * frv-tdep.c (frv_gdbarch_init): Do not set read_pc to
2052 generic_target_read_pc.
2053 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
2054 * sh-tdep.c (sh_gdbarch_init): Ditto.
2055 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2056 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
8ffd9b1b 2057
9a90a780
AC
20582003-06-07 Andrew Cagney <[email protected]>
2059
2060 * elfread.c (elf_symtab_read): Replace "special_local_sym_p" and
2061 "index" with "special_local_sect". Use strcmp instead of STREQ.
2062 Append period to coments.
2063
a39a16c4
MM
20642003-06-06 Mark Mitchell <[email protected]>
2065
2066 * elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX.
2067 (elfstab_offset_sections): Likewise.
2068 * gdb-stabs.h (stab_section_info): Likewise.
2069 * i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise.
2070 * objfiles.c (objfile_relocate): Likewise.
2071 * pa64solib.c (pa64_solib_add_solib_objfile): Likewise.
2072 * remote.c (get_offsets): Likewise.
2073 (remote_cisco_objfile_relocate): Likewise.
2074 * somread.c (som_symfile_offsets): Likewise.
2075 * symfile.c (alloc_section_addr_info): New function.
2076 (build_section_addr_info_from_section_tab): Use it.
2077 (free_section_addr_info): Adjust.
2078 (default_symfile_offsets): Avoid use of SECT_OFF_MAX.
2079 (syms_from_objfile): Allocate local_addr dynamically.
2080 (symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs
2081 dynamically.
2082 (add_symbol_file_command): Allocate sect_opts dynamically.
2083 (reread_symbols): Avoid use of SECT_OFF_MAX.
2084 * symfile.h (section_addr_info): Do not use MAX_SECTIONS.
2085 (alloc_section_addr_info): Declare it.
2086 * symtab.h (SIZEOF_SECTION_OFFSETS): Remove.
2087 * win32-nat.c (solib_symbols_add): Allocate section_addrs
2088 dynamically.
2089 * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX.
8ffd9b1b 2090
20c6c2f8
AC
20912003-06-06 Andrew Cagney <[email protected]>
2092
2093 * d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc".
2094 (d10v_frame_unwind_cache): Do not set "return_pc".
2095
884a26c8
MS
20962003-06-06 Michael Snyder <[email protected]>
2097
2098 * h8300-tdep.c: Make tidy (long lines).
2099
088ce440
ML
21002003-06-06 Michal Ludvig <[email protected]>
2101
8ffd9b1b 2102 * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums
088ce440
ML
2103 to regcache_collect().
2104
7d773d96
JB
21052003-06-05 J. Brobecker <[email protected]>
2106
2107 * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting
2108 pc_in_sigtramp multiarch method.
2109 (hppa_hpux_som_init_abi): Use it.
2110 (hppa_hpux_elf_init_abi): Likewise.
2111 * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this
2112 macro has been multiarched.
2113 * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this
2114 macro here, as hppa64 isn't multiarched yet.
2115
1df6926e
AC
21162003-06-05 Andrew Cagney <[email protected]>
2117
2118 * Makefile.in (value_h): Add $(frame_h).
2119 * value.h: Include "frame.h".
2120 (struct value): Replace "frame_addr" with "frame_id".
2121 (VALUE_FRAME_ID): Replace VALUE_FRAME.
2122 * values.c (allocate_value): Use VALUE_FRAME_ID.
2123 (value_copy): Use VALUE_FRAME_ID.
2124 * findvar.c (value_from_register): Use VALUE_FRAME_ID.
2125 * valops.c (value_assign): Update. Use frame_find_by_id.
2126
6b53acc6
ML
21272003-06-05 Michal Ludvig <[email protected]>
2128
2129 * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset
2130 in each pass.
2131
4d9850d3
JJ
21322003-06-05 Jeff Johnston <[email protected]>
2133
2134 * thread-db.c (check_event): For create/death event breakpoints,
2135 loop through all messages to ensure that we read the message
2136 corresponding to the breakpoint we are at.
2137
8efca6ba
MS
21382003-06-04 Michael Snyder <[email protected]>
2139
2140 * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn.
2141
0912c7f2
MK
21422003-06-04 Mark Kettenis <[email protected]>
2143
2144 * dwarf2-frame.c (struct comp_unit): Add member `dbase'.
2145 (read_encoded_value): Handle DW_EH_PE_datarel encoding.
2146 (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings
2147 when handling .eh_frame sections.
2148
4e370325
JB
21492003-06-04 J. Brobecker <[email protected]>
2150
2151 * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic
2152 prepare_to_proceed procedure instead of the hppa-specific one.
2153 * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used.
2154
b757528f 21552003-06-04 Jeff Johnston <[email protected]>
8ffd9b1b 2156
b757528f
JJ
2157 * acconfig.h: Add HAVE_TKILL_SYSCALL definition check.
2158 * config.in: Regenerated.
2159 * configure.in: Add test for syscall function and check for
2160 __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL.
2161 * configure: Regenerated.
2162 * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and
2163 <sys/syscall.h>.
2164 (kill_lwp): New function that uses tkill syscall or
2165 uses kill, depending on whether threading model is nptl or not.
2166 All callers of kill() changed to use kill_lwp().
2167 (lin_lwp_wait): Make special check when WIFEXITED occurs to
2168 see if all threads have already exited in the nptl model.
2169 (stop_and_resume_callback): New callback function used by the
2170 lin_lwp_wait thread exit handling code.
2171 (stop_wait_callback): Check for threads already having exited and
2172 delete such threads fromt the lwp list when discovered.
2173 (stop_callback): Don't assert retcode of kill call.
8ffd9b1b 2174
b757528f
JJ
2175 Roland McGrath <[email protected]>
2176 * i386-linux-nat.c (ps_get_thread_area): New function needed by
2177 nptl libthread_db.
2178
087779b1
RH
21792003-06-03 Richard Henderson <[email protected]>
2180
b21fd293
RH
2181 * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn.
2182 (alpha_sigtramp_frame_this_id): Use get_frame_memory.
2183 (alpha_sigtramp_frame_prev_register): Likewise.
2184 (alpha_heuristic_frame_prev_register): Likewise.
2185 * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
2186
8ffd9b1b 2187 * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use
087779b1
RH
2188 alpha-specific register id names.
2189 (alpha_mdebug_frame_unwind_cache): Likewise.
2190 (alpha_mdebug_frame_prev_register): Likewise.
2191
baa490c4
RH
21922003-06-03 Richard Henderson <[email protected]>
2193
2194 * alpha-tdep.c (alpha_dwarf2_init_abi): New.
2195 * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it.
2196 * alpha-linux-tdep.c (alpha_linux_init_abi): Use it.
2197 * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug
2198 unwind routines.
2199 * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise.
2200 * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o.
2201 * config/alpha/nbsd.mt (TDEPFILES): Likewise.
2202
2203 * alpha-linux-tdep.c: Remove unnecessary includes.
2204 * Makefile.in (alpha-linux-tdep.o): Update.
2205
22062003-06-03 Richard Henderson <[email protected]>
2207
2208 * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change.
2209 (alphabsd_fill_fpreg): Likewise.
2210
f534e522
JB
22112003-06-03 J. Brobecker <[email protected]>
2212
2213 * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace
2214 references to struct frame_info fields by calls to the equivalent
2215 accessors. Necessary now that frame_info is opaque.
2216
4035536b
JB
22172003-06-03 J. Brobecker <[email protected]>
2218
2219 * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete.
2220 (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep
2221 structure, field no longer exists.
2222
0bd79c5c
JB
22232003-06-03 J. Brobecker <[email protected]>
2224
2225 * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o.
2226 * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module.
2227
37bb6d9f
JB
22282003-06-03 J. Brobecker <[email protected]>
2229
2230 * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace
2231 references to struct frame_info fields by calls to the equivalent
2232 accessors. Necessary now that frame_info is opaque.
2233
852ee05c
JB
22342003-06-03 J. Brobecker <[email protected]>
2235
2236 * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete.
2237 (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep
2238 structure, field no longer exists.
2239
7d58c67d
TR
22402003-06-03 Theodore A. Roth <[email protected]>
2241
8ffd9b1b 2242 * remote.c (init_remote_state): Compute sizeof_g_packet by
7d58c67d
TR
2243 accumulation of the size of all registers instead of blindly using
2244 DEPRECATED_REGISTER_BYTES.
2245
0a48e7e8
MS
22462003-06-03 Michael Snyder <[email protected]>
2247
2248 * config/h8300/tm-h8300.h (h8300sxmode): Declare.
2249 * h8300-tdep.c (h8300_gdbarch_init): Set machine mode
2250 for h8300sx.
2251
9798ab0d
JB
22522003-06-03 J. Brobecker <[email protected]>
2253
2254 * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile.
2255 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
2256
00b037e2
AC
22572003-06-03 Andrew Cagney <[email protected]>
2258
2259 * sparc-tdep.c (sparc_convert_to_virtual): Delete function.
2260 (sparc_convert_to_raw): Delete function.
2261 (sparc_gdbarch_init): Do not set register_convert_to_raw or
2262 register_convert_to_virtual.
2263
043b2f77
JJ
22642003-06-03 Jeff Johnston <[email protected]>
2265
2266 * thread-db.c (thread_db_mourn_inferior): Unpush thread target
2267 layer if not dealing with a statically-linked threaded program.
2268
f43caff8
KW
22692003-06-03 Kris Warkentin <[email protected]>
2270
2271 * solib.c (solib_open): Update comment to reflect actual search order.
2272
ae1e7417
AC
22732003-06-03 Andrew Cagney <[email protected]>
2274
2275 * frame.c (get_frame_memory_signed): New function.
2276 (get_frame_memory, get_frame_memory_unsigned): New function.
2277 (get_frame_arch): New function.
2278 * frame.h (get_frame_signed_memory, get_frame_arch): Declare.
2279 (get_frame_memory, get_frame_unsigned_memory): Declare.
2280 * d10v-tdep.c (d10v_frame_unwind_cache): Use
2281 get_frame_memory_unsigned and get_frame_arch.
2282 (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto.
2283
cb123844
RG
22842003-06-03 Raoul Gough <[email protected]>
2285
2286 * MAINTAINERS (write after approval): Add myself.
2287
1bb792e9
JB
22882003-06-03 Jim Blandy <[email protected]>
2289
2290 * s390-nat.c (supply_gregset, fill_gregset): On the s390x, the
2291 elements of gregset_t are 64 bits each, but access registers
2292 are still 32 bits, so they're packed two per gregset_t
2293 element. Unpack/pack them properly.
2294
aee8d8ba
DC
22952003-06-02 David Carlton <[email protected]>
2296
2297 * linespec.c (find_methods): Break out code into
2298 add_matching_methods and add_constructors.
2299 (add_matching_methods): New.
2300 (add_constructors): Ditto.
2301
bf7488d2
AC
23022003-06-02 Andrew Cagney <[email protected]>
2303
bf7488d2
AC
2304 * sparc-tdep.c (sparc_print_registers): Delete call to
2305 REGISTER_CONVERTIBLE.
2306 (sparc_gdbarch_init): Do not set register_convertible.
2307 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2308 * frv-tdep.c (frv_gdbarch_init): Ditto.
2309 * cris-tdep.c (cris_gdbarch_init): Ditto.
2310
adedef68
EZ
23112003-06-02 Elena Zannoni <[email protected]>
2312
8ffd9b1b 2313 * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro.
adedef68
EZ
2314 * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD.
2315 (syms_from_objfile): Ditto.
2316
650fcc91
AS
23172003-06-03 Andreas Schwab <[email protected]>
2318
2319 * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ...
2320 (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn.
2321
df4a182b
RH
23222003-06-02 Richard Henderson <[email protected]>
2323
2324 * alpha-tdep.c (alpha_register_reggroup_p): Zero is only
2325 a member of all_reggroup.
2326
c483c494
RH
23272003-06-02 Richard Henderson <[email protected]>
2328
2329 * alpha-tdep.c (alpha_register_type): Change from _virtual_type.
2330 (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove.
2331 (alpha_lds, alpha_sts): New.
2332 (alpha_convert_register_p): Change from _register_convertible.
8ffd9b1b 2333 (alpha_register_to_value): Change from _convert_to_virtual;
c483c494
RH
2334 restructure and fail for type sizes other than 4 or 8.
2335 (alpha_value_to_register): Similarly.
2336 (alpha_extract_return_value): Use alpha_sts.
2337 (alpha_store_return_value): Use alpha_lds.
2338 (alpha_gdbarch_init): Update hooks.
2339
b38b6be2
RH
23402003-06-02 Richard Henderson <[email protected]>
2341
2342 * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific
2343 regnum identifiers.
2344 (alpha_sigtramp_register_address): Likewise.
2345
98a8e1e5
RH
23462003-06-02 Richard Henderson <[email protected]>
2347
2348 * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New.
2349 (alpha_supply_fp_regs, alpha_fill_fp_regs): New.
2350 * alpha-tdep.h: Declare them.
2351
2352 * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping.
2353 Remove zerobuf. Don't error on UNIQUE.
2354 (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs.
2355 (ALPHA_REGSET_UNIQUE): Provide default.
2356 (supply_gregset): Use alpha_supply_int_regs.
2357 (fill_gregset): Use alpha_fill_int_regs.
2358 (supply_fpregset): Use alpha_supply_fp_regs.
2359 (fill_fpregset): Use alpha_fill_fp_regs.
2360 * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove.
2361 (alphabsd_supply_reg): Use alpha_supply_int_regs.
2362 (alphabsd_fill_reg): Use alpha_fill_int_regs.
2363 (alphabsd_supply_fpreg): Use alpha_supply_fp_regs.
2364 (alphabsd_fill_fpreg): Use alpha_fill_fp_regs.
2365 * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New.
2366
67dfac52
RH
23672003-06-02 Richard Henderson <[email protected]>
2368
f75d70cc
RH
2369 * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru.
2370
67dfac52
RH
2371 * alpha-tdep.c (alpha_extract_return_value): Use internal_error.
2372 (alpha_store_return_value): Likewise.
2373
0cf566ec
DC
23742003-06-02 David Carlton <[email protected]>
2375
2376 * block.c (contained_in): Add 'const' to arguments.
2377 (block_function): Ditto.
2378 * block.h: Update declarations for block_function and
2379 contained_in.
2380
cdef89d0
DC
23812003-06-02 David Carlton <[email protected]>
2382
2383 * objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'.
2384 * c-valprint.c (c_val_print): Delete unneeded variable 's'.
2385 * p-valprint.c (pascal_val_print): Ditto.
2386 * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'.
2387
72667056
RH
23882003-06-02 Richard Henderson <[email protected]>
2389
98a8e1e5
RH
2390 * alpha-tdep.c (alpha_push_dummy_call): Use
2391 builtin_type_ieee_double_little instead of builtin_type_double.
eb4edb88 2392
8ffd9b1b 2393 * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated
98a8e1e5
RH
2394 sign-extension of 32-bit values.
2395 (alpha_store_return_value): Similarly.
0ede8eca 2396
98a8e1e5
RH
2397 * alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types.
2398 (alpha_extract_return_value): Likewise.
2399 (alpha_store_return_value): Likewise.
7b5e1cb3 2400
98a8e1e5
RH
2401 * alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats.
2402 (alpha_store_return_value): Error on IEEE Quad floats.
24064b5c 2403
98a8e1e5
RH
2404 * alpha-tdep.c (alpha_extract_return_value): Convert to regcache.
2405 (alpha_extract_struct_value_address): Likewise.
2406 (alpha_store_return_value): Likewise.
2407 (alpha_store_struct_return): Remove.
2408 (alpha_gdbarch_init): Update hook registration to match.
5ec2bb99 2409
98a8e1e5
RH
2410 * alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of
2411 deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch
2412 macros where appropriate.
2413 (alpha_register_convert_to_raw): Similarly. Use unpack_long.
2414 (alpha_convert_flt_dbl, alpha_convert_dbl_flt): New.
14696584 2415
98a8e1e5
RH
2416 * alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr
2417 for SP, GP; void_func_ptr for PC; non-language-specific types
2418 for all others.
2419 * alpha-tdep.h (ALPHA_GP_REGNUM): New.
72667056 2420
6dd77b81
RH
24212003-06-02 Richard Henderson <[email protected]>
2422
2423 * top.h (lim_at_start): Declare.
2424 * main.c (captured_main): Set it.
2425 * top.c (lim_at_start): Define.
2426 (command_loop): Use it instead of &environ.
2427 * event-top.c (command_handler): Likewise.
2428
f4dbdb54
JT
24292003-06-01 Jason Thorpe <[email protected]>
2430
2431 * mipsnbsd-tdep.c: Update copyright years.
2432 (fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg.
2433
8f285956
RH
24342003-06-01 Richard Henderson <[email protected]>
2435
98a8e1e5
RH
2436 * Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c.
2437 (alpha-linux-tdep.o): Update dependencies.
2438 (alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise.
2439 * alpha-mdebug-tdep.c: Remove unneeded includes.
8f285956 2440
615967cb
RH
24412003-06-01 Richard Henderson <[email protected]>
2442
98a8e1e5
RH
2443 * alpha-tdep.c (alpha_register_reggroup_p): New.
2444 (alpha_gdbarch_init): Register it.
615967cb 2445
b59661bd
AC
24462003-06-02 Andrew Cagney <[email protected]>
2447
2448 * dwarfread.c: Eliminate "register"
2449 (decode_die_type): Eliminate assignment within "if".
2450 (struct_type, decode_array_element_type): Ditto.
2451 (dwarf_read_array_type, read_tag_pointer_type): Ditto.
2452 (read_subroutine_type, enum_type, add_enum_psymbol): Ditto.
2453 (decode_modified_type, completedieinfo): Ditto.
2454 * block.c: Eliminate "register".
2455 (blockvector_for_pc_sect): Eliminate assignment within "if".
2456 * cp-support.h (struct symbol): Opaque declaration.
2457 * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free.
2458
5ef165c2
RH
24592003-06-01 Richard Henderson <[email protected]>
2460
98a8e1e5
RH
2461 * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ...
2462 (_initialize_alpha_tdep): ... not deprecated_tm_print_insn.
5ef165c2 2463
143985b7
AF
24642003-06-01 Adam Fedor <[email protected]>
2465
2466 * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT.
2467 * gdbarch.[ch]: Regenerate.
2468 * hppa-tdep.c (hppa_fetch_pointer_argument): New function.
2469 (hppa_gdbarch_init): Set it in the gdbarch vector.
2470 * i386-tdep.c (i386_fetch_pointer_argument): New
2471 (i386_gdbarch_init): Set it into gdbarch.
2472 * rs6000-tdep.c (rs6000_fetch_pointer_argument): New.
2473 (rs6000_gdbarch_init): Set it in gdbarch.
2474 * sparc-tdep.c (sparc_fetch_pointer_argument): New
2475 (sparc_gdbarch_init): Set it in gdbarch.
2476
ae0167b9
AC
24772003-06-01 Andrew Cagney <[email protected]>
2478
7c0b4a20
AC
2479 * defs.h (extract_address): Delete declaration.
2480 * findvar.c (extract_address): Delete function.
2481 * xstormy16-tdep.c (xstormy16_extract_return_value): Replace
2482 extract_address with the inline equivalent,
2483 extract_unsigned_integer.
2484 (xstormy16_extract_struct_value_address): Ditto.
2485 (xstormy16_pointer_to_address): Ditto.
2486 * vax-tdep.c (vax_extract_struct_value_address): Ditto.
2487 * v850-tdep.c (v850_push_arguments): Ditto.
2488 (v850_extract_return_value): Ditto.
2489 (v850_extract_struct_value_address): Ditto.
2490 * sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto.
2491 (sparcnbsd_get_longjmp_target_64): Ditto.
2492 * sparc-tdep.c (sparc_frame_saved_pc): Ditto.
2493 (get_longjmp_target): Ditto.
2494 * sh-tdep.c (sh_extract_struct_value_address): Ditto.
2495 (sh64_extract_struct_value_address): Ditto.
2496 (sh_push_arguments): Ditto.
2497 (sh64_push_arguments): Ditto.
2498 * remote-vxsparc.c (vx_read_register): Ditto.
2499 * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto.
2500 * ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto.
2501 * mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto.
2502 * mipsv4-nat.c (get_longjmp_target): Ditto.
2503 * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto.
2504 * mips-nat.c (get_longjmp_target): Ditto.
2505 * mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto.
2506 * mcore-tdep.c (mcore_extract_struct_value_address): Ditto.
2507 * m68k-tdep.c (m68k_get_longjmp_target): Ditto.
2508 * m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto.
2509 * irix5-nat.c (get_longjmp_target): Ditto.
2510 * irix4-nat.c (get_longjmp_target): Ditto.
2511 * ia64-tdep.c (generic_elf_find_global_pointer): Ditto.
2512 (ia64_push_arguments): Ditto.
2513 * hpux-thread.c (hpux_thread_store_registers): Ditto.
2514 * h8300-tdep.c (h8300_push_arguments): Ditto.
2515 (h8300_store_return_value): Ditto.
2516 (h8300_extract_struct_value_address): Ditto.
2517 * frv-tdep.c (frv_extract_struct_value_address): Ditto.
2518 (frv_push_arguments): Ditto.
2519 * avr-tdep.c (avr_pointer_to_address): Ditto.
2520 (avr_push_arguments): Ditto.
2521 * arm-tdep.c (arm_push_dummy_call): Ditto.
2522 (arm_get_longjmp_target): Ditto.
2523 * arm-linux-tdep.c (arm_linux_push_arguments): Ditto.
2524 * alpha-tdep.c (alpha_extract_struct_value_address): Ditto.
2525 (alpha_get_longjmp_target): Ditto.
2526
ae0167b9
AC
2527 * solib-irix.c (extract_mips_address): Inline extract_address,
2528 replacing it with extract_signed_integer.
2529 * solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto.
2530 (LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto.
2531 (first_link_map_member, open_symbol_file_object): Ditto.
2532 (svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto.
2533 * solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto.
2534 (LM_NEXT, LM_NAME): Ditto.
2535
44d88583
RH
25362003-06-01 Richard Henderson <[email protected]>
2537
98a8e1e5
RH
2538 * alpha-tdep.h (ALPHA_FP_REGNUM): Remove.
2539 * alpha-tdep.c (alpha_register_name): Remove vfp entry.
2540 (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM.
2541 (alpha_cannot_store_register): Likewise.
2542 * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM.
2543 * alpha-nat.c (supply_gregset): Likewise.
2544 * alphanbsd-tdep.c (fetch_core_registers): Likewise.
44d88583 2545
310e9b6a
AC
25462003-06-01 Andrew Cagney <[email protected]>
2547
2548 * infcall.c (call_function_by_hand): Update comment on
2549 DEPRECATED_DUMMY_WRITE_SP.
2550
2551 * mips-tdep.c (mips_gdbarch_init): Do not set
2552 deprecated_dummy_write_sp.
2553 (mips_eabi_push_dummy_call): Set the SP register.
2554 (mips_o64_push_dummy_call): Set the SP register.
2555 (mips_o32_push_dummy_call): Set the SP register.
2556 (mips_n32n64_push_dummy_call): Set the SP register.
2557
5ab84872
RH
25582003-06-01 Richard Henderson <[email protected]>
2559
98a8e1e5
RH
2560 * alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE
2561 instead of ALPHA_MAX_REGISTER_RAW_SIZE.
2562 (supply_gregset): Likewise.
2563 * alpha-tdep.c (alpha_store_return_value): Likewise.
2564 (alpha_get_longjmp_target): Likewise.
2565 (alpha_register_name): Constify array.
2566 (alpha_gdbarch_init): Remove deprecated_fp_regnum,
2567 deprecated_register_size, deprecated_register_bytes,
2568 deprecated_max_register_raw_size, deprecated_max_register_virtual_size.
2569 * alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove.
2570 (ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove.
5ab84872 2571
09cc52fd
RH
25722003-06-01 Richard Henderson <[email protected]>
2573
2574 * alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies
2575 from arg_reg_buffer to regcache to avoid double conversion.
2576
c7f16359
MK
25772003-06-01 Mark Kettenis <[email protected]>
2578
2579 * i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of
2580 SP_REGNUM.
2581 * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise.
2582 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise.
2583
7131cb6e
RH
25842003-06-01 Richard Henderson <[email protected]>
2585
98a8e1e5
RH
2586 * dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation.
2587 (decode_frame_entry): Set it. Skip FDE augmentation.
7131cb6e 2588
f3e0f90b
RH
25892003-06-01 Richard Henderson <[email protected]>
2590
98a8e1e5
RH
2591 * dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column
2592 not overlapping PC_REGNUM.
f3e0f90b 2593
c88e30c0
RH
25942003-06-01 Richard Henderson <[email protected]>
2595
98a8e1e5
RH
2596 * alpha-tdep.c (alpha_push_dummy_call): Transmography from
2597 alpha_push_arguments. Don't dump argument register data to
2598 the target stack. Fix float and 128-bit long double semantics.
2599 Store $t12 and $ra as specified by the ABI. Use regcache everywhere.
2600 (alpha_fix_call_dummy): Remove.
2601 (alpha_call_dummy_words): Remove.
2602 (alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call.
c88e30c0 2603
f1a559ae
RH
26042003-06-01 Richard Henderson <[email protected]>
2605
2606 * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder.
2607
5e045346
AC
26082003-06-01 Andrew Cagney <[email protected]>
2609
95404a3e
AC
2610 * mips-tdep.c (is_mips16_addr): New function.
2611 (make_mips16_addr, unmake_mips16_addr): New functions.
2612 (pc_is_mips16, mips_fetch_instruction): Use.
2613 (gdb_print_insn_mips, mips_breakpoint_from_pc): Use.
2614 (gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH.
2615 (mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH,
2616 UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and
2617 TARGET_MIPS.
2618 * config/mips/tm-mips.h: Update copyright.
2619 (TARGET_MIPS, TM_PRINT_INSN_MACH): Delete.
2620 (DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete.
2621 (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete.
2622 * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete.
2623 (TM_PRINT_INSN_MACH): Delete.
2624 * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete.
2625
5e045346
AC
2626 * configure.tgt: Replace mips64*vr4xxx*el-*-elf*,
2627 mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*,
2628 mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*,
2629 mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and
2630 mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete
2631 mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto
2632 mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*,
2633 mips*-*-riscos* and mips*-*-sysv* onto mips.
2634 * config/mips/mips64.mt: New file.
2635 * config/mips/mips.mt: New file.
2636 * config/mips/littlemips.mt: Delete file.
2637 * config/mips/decstation.mt: Delete file.
2638 * config/mips/vr4300el.mt: Delete file.
2639 * config/mips/vr5000el.mt: Delete file.
2640 * config/mips/vr5000.mt: Delete file.
2641 * config/mips/vr4100.mt: Delete file.
2642 * config/mips/vr4xxxel.mt: Delete file.
2643 * config/mips/vr4300.mt: Delete file.
2644 * config/mips/vr4xxx.mt: Delete file.
2645 * config/mips/bigmips.mt: Delete file.
2646 * config/mips/bigmips64.mt: Delete file.
2647 * config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h".
2648 * config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h".
2649 * config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h"
2650 * config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h".
2651 * config/mips/tm-tx39.h: Include "tm-mips.h" instead of
2652 "tm-bigmips.h".
2653 * config/mips/tm-irix3.h: Ditto.
2654 * config/mips/tm-mipsv4.h: Ditto.
2655 * config/mips/tm-embed.h: Ditto.
2656 * config/mips/tm-irix6.h: Include "tm-mips64.h" instead of
2657 "tm-bigmips64.h".
2658 * config/mips/tm-vr5000el.h: Delete file.
2659 * config/mips/tm-tx39l.h: Delete file.
2660 * config/mips/tm-vr4300el.h: Delete file.
2661 * config/mips/tm-vr4xxxel.h: Delete file.
2662 * config/mips/tm-vr4300.h: Delete file.
2663 * config/mips/tm-vr4100.h: Delete file.
2664 * config/mips/tm-vr4xxx.h: Delete file.
2665 * config/mips/tm-vr5000.h: Delete file.
2666 * config/mips/tm-embedl64.h: Delete file.
2667 * config/mips/tm-embedl.h: Delete file.
2668 * config/mips/tm-embed64.h: Delete file.
2669 * config/mips/tm-bigmips64.h: Delete file.
2670 * config/mips/tm-bigmips.h: Delete file.
2671
2473a4a9
MK
26722003-06-01 Mark Kettenis <[email protected]>
2673
97a5b208
MK
2674 Fix gdb/1216.
2675 * shnbsd-nat.c: Include "sh-tdep.h".
2676
2473a4a9
MK
2677 From Richard Henderson <[email protected]>:
2678 * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic.
2679
e0f7ec59
AC
26802003-05-31 Andrew Cagney <[email protected]>
2681
2682 * mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add
2683 forward declaration.
2684 (mips16_heuristic_proc_desc): Pass temp_saved_regs.
2685 (mips16_heuristic_proc_desc): Pass temp_saved_regs.
2686 (mips_find_saved_regs): Use set_reg_offset.
2687 (mips_frame_init_saved_regs): Delete function.
2688 (mips_pop_frame): Call mips_find_saved_regs instead of
2689 DEPRECATED_FRAME_INIT_SAVED_REGS.
2690
68dcc709
AC
26912003-05-31 Andrew Cagney <[email protected]>
2692
2693 * mips-tdep.c (mips_gdbarch_init): Do not set
2694 deprecated_max_register_raw_size, register_virtual_size, and
2695 deprecated_max_register_virtual_size.
2696
cfc14b3a
MK
26972003-05-31 Mark Kettenis <[email protected]>
2698
6405b0a6
MK
2699 * i386-tdep.c: Include "dwarf2-frame.h".
2700 (i386_gdbarch_init): Hook in the DWARF CFI frame unwinder.
2701 * Makefile.in (i386-tdep.o): Update dependencies.
2702
cfc14b3a
MK
2703 * dwarf2-frame.c, dwarf2-frame.h: New files.
2704 * Makefile.in (SFILES): Add dwarf2-frame.c.
2705 (dwarf2_frame_h): Define.
2706 (COMMON_OBS): Add dwarf2-frame.o.
2707 (dwarf2-frame.o): Add dependencies.
2708
6a2751d2
AJ
27092003-05-31 Andreas Jaeger <[email protected]>
2710
2711 * x86-64-linux-nat.c: Fix comment.
2712
1c3545ae
MK
27132003-05-31 Mark Kettenis <[email protected]>
2714
10f93086
MK
2715 * x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed
2716 function signature.
2717
1c3545ae
MK
2718 * i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we
2719 have a sigcontext_addr handler.
2720 * x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a
2721 sigcontext_addr handler.
2722
e11c53d2
AC
27232003-05-31 Andrew Cagney <[email protected]>
2724
2725 * mips-tdep.c (print_gp_register_row): Replace do_gp_register_row.
2726 (print_fp_register_row): Replace do_fp_register_row.
2727 (mips_print_fp_register): Add "file" and "frame" parameters.
2728 (mips_print_register): Add "file" and "frame" parameters.
2729 (mips_print_registers_info): Replace mips_do_registers_info.
2730 (mips_gdbarch_init): Set print_registers_info instead of
2731 deprecated_do_registers_info.
2732 (mips_read_fp_register_single): Add "frame" parameter.
2733 (mips_read_fp_register_double): Add "frame" parameter.
2734
a3386186
MK
27352003-05-31 Mark Kettenis <[email protected]>
2736
70913449
MK
2737 * i386-tdep.c (i386_register_name): Check for MMX registers first.
2738 Fixes a bug where GDB would print the wrong register names for
2739 targets without SSE.
2740
2b5e0749
MK
2741 * x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS.
2742 (x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved
2743 registers.
2744
2745 * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable.
2746 (x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and
2747 TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
2748 TDEP->sc_sp_offset.
2749
a3386186
MK
2750 From Michal Ludvig <[email protected]>:
2751 * i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset'
2752 and `sc_num_regs'.
2753 (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
2754 I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM,
2755 I386_ST0_REGNUM): Move here from...
2756 * i386-tdep.c: ... here.
2757 (I386_NUM_SAVED_REGS): Define to I386_NUM_REGS.
2758 (i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved
2759 registers if possible.
2760 (i386_gdbarch_init): Initialize TDEP->sc_reg_offset.
2761 * i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset):
2762 Remove variables.
2763 (i386bsd_sc_reg_offset): New variable.
2764 (i386bsd_init_abi): Initialize TDEP->sc_reg_offset and
2765 TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
2766 TDEP->sc_sp_offset.
2767 (i386fbsd_sc_reg_offset): New variable.
2768 (i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and
2769 TDEP->sc_num_regs.
2770 (i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove
2771 variables.
2772 (i386fbsd4_sc_reg_offset): New variable.
2773 (i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and
2774 TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
2775 TDEP->sc_sp_offset.
2776 * i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable.
2777 (i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs.
2778 * i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset):
2779 Remove variables.
2780 (i386nbsd_sc_reg_offset): New variable.
2781 (i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and
2782 TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
2783 TDEP->sc_sp_offset.
2784 * i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset):
2785 Remove variables.
2786 (i386obsd_sc_reg_offset): New variable.
2787 (i386obsd_init_abi): Initialize TDEP->sc_reg_offset and
2788 TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
2789 TDEP->sc_sp_offset.
2790 * i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in
2791 i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check
2792 for frame pointer offset in `struct sigcontext'.
2793
25ab4790
AC
27942003-05-31 Andrew Cagney <[email protected]>
2795
2796 * mips-tdep.c (mips_gdbarch_init): Do not set the deprecated
2797 architecture methods call_dummy_words, sizeof_call_dummy_words,
2798 push_return_address, store_struct_return, and fix_call_dummy. Set
2799 push_dummy_call instead of deprecated_push_arguments.
2800 (mips_store_struct_return): Delete function.
2801 (mips_fix_call_dummy): Delete function.
2802 (mips_push_return_address): Delete function.
2803 (mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set
2804 RA_REGNUM and T9_REGNUM.
2805 (mips_n32n64_push_dummy_call): Ditto for
2806 mips_n32n64_push_arguments.
2807 (mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments.
2808 (mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments.
2809
6a65450a
AC
28102003-05-31 Andrew Cagney <[email protected]>
2811
2812 * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename
2813 "dummy_addr" to "bp_addr".
2814 * infcall.c (call_function_by_hand): Pass "funaddr" to
2815 gdbarch_push_dummy_call.
2816 * gdbarch.h, gdbarch.c: Re-generate.
2817 * i386-tdep.c (i386_push_dummy_call): Update.
2818 * arm-tdep.c (arm_push_dummy_call): Update.
2819 * d10v-tdep.c (d10v_push_dummy_call): Update.
2820
c4f35dd8
MK
28212003-05-31 Mark Kettenis <[email protected]>
2822
2823 * x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove
2824 variable declarations.
2825 (x86_64_register_number, x86_64_register_name): Remove prototypes.
2826 (x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call,
2827 x86_64_linux_in_sigtramp, x86_64_linux_frame_chain,
2828 x86_64_init_frame_pc, x86_64_init_frame_pc,
2829 x86_64_function_has_prologue): Remove prototypes.
2830 (X86_64_NUM_GREGS): New define.
2831 (x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes.
2832 * x86-64-tdep.c: Don't include "dwarf2cfi.h". Include
2833 "dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h".
2834 (RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM,
2835 XMM1_REGNUM): Remove defines.
2836 (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM,
2837 X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM,
2838 X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM,
2839 X86_64_XMM1_REGNUM): New defines.
2840 (struct x86_64_register_info): Renamed from `struct
2841 register_info'. Remove `size' member.
2842 (x86_64_register_info_table): Remove variable.
2843 (x86_64_register_info): New variable.
2844 (X86_64_NUM_REGS): New define.
2845 (X86_64_NUM_GREGS): Remove define.
2846 (x86_64_num_regs, x86_64_num_gregs): Remove variables.
2847 (x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length):
2848 Remove variables.
2849 (x86_54_dwarf2_reg_to_regnum): Remove function.
2850 (x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables.
2851 (x86_64_dwarf_reg_to_regnum): New function.
2852 (x86_64_register_name): Rewrite.
2853 (x86_64_register_raw_size): Remove function.
2854 (x86_64_register_byte_table): Remove variable.
2855 (x86_64_register_byte): Remove function.
2856 (x86_64_register_virtual_type): Remove function.
2857 (x86_64_register_type): New function.
2858 (x86_64_register_convertible, x86_64_register_convert_to_virtual,
2859 x86_64_register_convert_to_raw): Remove functions.
2860 (x86_64_push_return_address, x86_64_pop_frame): Remove functon.
2861 (x86_64_use_struct_convention): Make static. Adjust for renamed
2862 defines.
2863 (x86_64_frame_init_saved_regs): Remove function.
2864 (x86_64_push_arguments): Make static. Change to accept a regcache
2865 as argument.
2866 (x86_64_store_return_value, x86_64_extract_return_value): Make
2867 static. Rewrite based on i386 counterparts.
2868 (x86_64_push_dummy_call): New function.
2869 (X86_64_NUM_SAVED_REGS): New define.
2870 (x86_64_register_number): Remove function.
2871 (x86_64_store_struct_return): Remove function.
2872 (x86_64_frameless_function_invocation,
2873 x86_64_function_has_prologue): Remove functions.
2874 (PROLOG_BUFSIZE): Remove define.
2875 (struct x86_64_frame_cache): New structure.
2876 (x86_64_alloc_frame_cache, x86_64_analyze_prologue,
2877 x86_64_frame_cache, x86_64_frame_this_id,
2878 x86_64_frame_prev_register, x86_64_frame_p,
2879 x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id,
2880 x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New
2881 functions.
2882 (x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New
2883 variables.
2884 (x86_64_skip_prologue): Rewrite in terms of
2885 x86_64_analyze_prologue.
2886 (x86_64_frame_base_address): New function.
2887 (x86_64_frame_base): New variable.
2888 (x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite.
2889 (x86_64_init_abi): Set register_type and push_dummy_call. Don't
2890 set deprecated_fp_regnum, deprecated_register_size,
2891 deprecated_register_bytes, register_raw_size, register_byte,
2892 register_virtual_type, register_convertiable,
2893 register_convert_to_virtual, convert_to_raw,
2894 deprecated_get_saved_register, deprecated_target_read_fp,
2895 deprecated_push_arguments, deprecated_push_return_address,
2896 deprecated_pop_frame, deprecated_store_struct_return,
2897 deprecated_frame_init_saved_regs, deprecated_frame_chain,
2898 frameless_function_invocation, deprecated_frame_saved_pc,
2899 deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp,
2900 dwarf2_build_frame_info, deprecated_init_extra_frame_info,
2901 deprecated_init_frame_pc and virtual_frame_pointer. Call
2902 frame_unwind_append_predicate to register x86_64_sigtramp_frame_p
2903 and x86_64_frame_p. Call frame_base_set_default to register
2904 x86_64_frame_base.
2905 (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines.
2906 (x86_64_supply_fxsave, x86_64_fill_fxsave): New functions.
2907 (_initialize_x86_64_tdep): Remove function.
2908 * x86-64-linux-tdep.c: Don't include "dwarf2cfi.h".
2909 (LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET,
2910 LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't
2911 define.
2912 (X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define.
2913 (x86_64_linux_sigcontext_addr): Rewrite.
2914 (x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call,
2915 x86_64_linux_frame_saved_pc): Remove functions.
2916 (x86_64_linux_pc_in_sigtramp): Renamed from
2917 x86_64_linux_in_sigtramp. Try harder to recognize a signal
2918 trampoline.
2919 (x86_64_linux_frame_chain, x86_64_init_frame_pc):
2920 Remove_functions.
2921 (x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize
2922 TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset.
2923 * x86-64-linux-nat.c: Sync with i386-linux-tdep.c.
2924 (x86_64_regmap): Rename to regmap.
2925 (GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of
2926 x86_64_num_gregs.
2927 (supply_gregset, fill_gregset): Likewise. Use regmap instead of
2928 x86_64_regmap.
2929 (x86_64_fxsave_offset): Remove function.
2930 (supply_fpregset): Simply call x86_64_supply_fxsave.
2931 (fill_fpregset): Simply call x86_64_fill_fxsave.
2932 (fetch_inferior_registers, store_inferior_registers): Avoid
2933 asignment in if-statement.
2934 (LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn,
2935 SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET,
2936 LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines.
2937 (fetch_core_registers): Remove function.
2938 (linux_elf_core_fns): Remove.
2939 (offsetoff): Don't define.
2940 (_initialize_x86_64_linux_nat, kernel_u_size): Remove functions.
2941 * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o.
2942 * config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o,
2943 add core-regset.o.
2944 * config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for
2945 protection against multiple includes instead of NM_X86_64_h. Add
2946 various comments. Include "config/nm-linux.h". Don't include
2947 <signal.h>.
2948 (REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR,
2949 GET_THREAD_SIGNALS): Remove defines.
2950 (x86_64_register_u_addr, kernel_u_size,
2951 lin_thread_get_thread_signals): Remove prototypes.
2952 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'.
2953 [HAVE_LINK_H]: Don't include "solib.h".
2954 [HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define.
2955 * config/i386/tm-x86-64linux.h: Fix comments.
2956 * Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o,
2957 x86-64-tdep.o): Update dependencies.
2958
c25083af
AC
29592003-05-30 Andrew Cagney <[email protected]>
2960
c8f55a7b
AC
2961 * config/sparc/tm-sparc.h (sparc_extract_struct_value_address):
2962 Change parameter type to a "struct regcache *".
2963
c25083af
AC
2964 * gdbarch.sh: Regardless of the multi-arch level, always define
2965 the macro when not already defined.
2966 * gdbarch.h, gdbarch.c: Re-generate.
2967
fbe586ae
RH
29682003-05-30 Richard Henderson <[email protected]>
2969
2970 * alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues.
2971 (alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder.
2972 (alpha_mdebug_frame_this_id): Likewise.
2973 (alpha_mdebug_frame_prev_register): Likewise.
2974 (alpha_mdebug_frame_base_address): Likewise.
2975 (alpha_mdebug_frame_locals_address): Likewise.
2976 (alpha_mdebug_frame_args_address): Likewise.
2977 (struct alpha_mdebug_unwind_cache): Remove in_prologue_cache.
2978 * alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start.
2979 (alpha_heuristic_frame_unwind_cache): Make static; add missing
2980 loop increment.
2981 (alpha_heuristic_frame_this_id): Make static.
2982 (alpha_heuristic_frame_prev_register): Likewise.
2983 (alpha_heuristic_frame_base_address): Likewise.
2984 * alpha-tdep.h: Update.
2985
acd5c798
MK
29862003-05-30 Mark Kettenis <[email protected]>
2987
2988 * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype.
2989 (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove
2990 defenitions.
2991 (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions.
2992 * i386-tdep.c: Mark functions that are 64-bit safe as such.
2993 (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
2994 I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM,
2995 I386_ST0_REGNUM): New defines.
2996 (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek,
2997 codestream_get): Remove define.
2998 (codestream_next_addr, condestream_addr, condestream_buf,
2999 codestream_off, codestream_cnt): Remove variables.
3000 (codestream_fill, codestream_seek, codestream_read): Remove
3001 functions.
3002 (i386_follow_jump): Rewrite to avoid usage of removed codestream
3003 functionality.
3004 (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain,
3005 i386_sigtramp_saved_pc, i386_sigtramp_saved_sp,
3006 i386_frame_saved_pc, i386_saved_pc_after_call,
3007 i386_frame_num_args, i386_frame_init_saved_regs,
3008 i386_push_return_address, i386_do_pop_frame, i386_pop_frame,
3009 i386_push_arguments): Remove functions.
3010 (i386_skip_prologue): Rewrite to avoid usage of removed codestream
3011 functionality. Use i386_analyze_prologue instead of
3012 i386_get_frame_setup.
3013 (I386_NUM_SAVED_REGS): New define.
3014 (struct i386_frame_cache): New structure.
3015 (i386_alloc_frame_cache, i386_analyze_struct_return,
3016 i386_skip_probe, i386_analyze_frame_setup,
3017 i386_analyze_register_saves, i386_analyze_prologue,
3018 i386_unwind_pc, i386_frame_cache, i386_frame_this_id,
3019 i386_frame_prev_register, i386_sigtramp_frame_cache,
3020 i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register,
3021 i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address,
3022 i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call):
3023 New functions.
3024 (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base):
3025 New variables.
3026 (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of
3027 I386_EAX_REGNUM and I386_EDX_REGNUM.
3028 (i386_extract_return_value, i386_store_return_value): Use
3029 I386_ST0_REGNUM where appropriate.
3030 (i386_extract_struct_value_address): Rewrite to use extract_address.
3031 (i386_svr4_pc_in_sigtramp): Add comment.
3032 (i386_svr4_sigcontext_addr): Rewrite.
3033 (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and
3034 TDEP->sc_sp_offset.
3035 (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set
3036 sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms
3037 of new defines. Set push_dummy_call, don't set
3038 deprecated_push_arguments, deprecated_push_return_address,
3039 deprecated_pop_frame. Don't set parm_boundary. Don't set
3040 deprecated_frame_chain, deprecated_frame_saved_pc,
3041 deprecated_saved_pc_after_call. Set unwind_dummy_id,
3042 save_dummy_frame_tos, unwind_pc. Call
3043 frame_unwind_append_predicate and frame_base_set_default. Don't
3044 set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum.
3045 Don't set frameless_function_invocation. Don't set
3046 deprecated_register_bytes, deprecated_register_size,
3047 deprecated_call_dummy_words and deprecated_sizeof_call_dummy.
3048 * i386-linux-tdep.c: Fix formatting in some comments.
3049 (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
3050 LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
3051 LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2,
3052 LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
3053 LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop
3054 redundant parentheses.
3055 (I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define.
3056 (i386_linux_sigcontext_addr): Use it. Rewrite.
3057 (find_minsym_and_objfile): Change name of second argument.
3058 (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers
3059 changed. Use frame_pc_unwind instead of
3060 DEPRECATED_SAVED_PC_AFTER_CALL.
3061 (i386_linux_init_abi): Don't set deprecated_register_bytes.
3062 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite.
3063 * i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame
3064 unwinder.
3065 * i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and
3066 "dummy-frame.h".
3067 (i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed.
3068 (_initialize_i386_cygwin_tdep): New prototype.
3069 (i386_cygwin_init_abi): Don't set deprecated_frame_chain and
3070 deprecated_frame_chain_valid.
3071 * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set
3072 TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset.
3073 Rely on the SVR4 defaults.
3074 * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o.
3075 * Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies.
3076
c89b70f1
AC
30772003-05-30 Andrew Cagney <[email protected]>
3078
3079 * infcall.c (call_function_by_hand): Always call
3080 DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case.
3081
85b32d22
RH
30822003-05-30 Richard Henderson <[email protected]>
3083
c89b70f1
AC
3084 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop
3085 increment.
85b32d22 3086
bfe51b1e
JB
30872003-05-29 Jim Blandy <[email protected]>
3088
3089 Use gdbarch methods for solib stuff on PowerPC Linux.
3090 * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE,
3091 SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will
3092 show through.
3093 * ppc-linux-tdep.c (ppc_linux_init_abi): Register
3094 IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here,
3095 giving the same effect as the #definitions above.
3096
1abf022c
AF
30972003-05-29 Adam Fedor <[email protected]>
3098
3099 * objc-lang.c (CONVERT_FUNCPTR): Remove macro
3100 (find_implementation_from_class): Replace it with the standard
3101 case i.e. do nothing.
3102
d2427a71
RH
31032003-05-29 Richard Henderson <[email protected]>
3104
3105 * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New.
3106 (alpha_linux_sigtramp_offset): Use it. Make static.
3107 (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn;
3108 update for new frame model.
3109 * alpha-mdebug-tdep.c: New file.
3110 * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c.
3111 (alpha_osf1_init_abi): Install it.
3112 * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c.
3113 (linked_proc_desc_table): Remove.
3114 (alpha_frame_past_sigtramp_frame): Remove.
3115 (alpha_dynamic_sigtramp_offset): Remove.
3116 (ALPHA_PROC_SIGTRAMP_MAGIC): Remove.
3117 (alpha_proc_desc_is_dyn_sigtramp): Remove.
3118 (alpha_set_proc_desc_is_dyn_sigtramp): Remove.
3119 (push_sigtramp_desc): Remove.
3120 (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM.
3121 (alpha_cannot_store_register): Likewise.
3122 (alpha_sigcontext_addr): Remove.
3123 (alpha_find_saved_regs): Remove.
3124 (alpha_frame_init_saved_regs): Remove.
3125 (alpha_init_frame_pc_first): Remove.
3126 (read_next_frame_reg): Remove.
3127 (alpha_frame_saved_pc): Remove.
3128 (alpha_saved_pc_after_call): Remove.
3129 (temp_proc_desc, temp_saved_regs): Remove.
3130 (alpha_about_to_return): Remove.
3131 (cached_proc_desc): Remove.
3132 (alpha_frame_chain): Remove.
3133 (alpha_print_extra_frame_info): Remove.
3134 (alpha_init_extra_frame_info): Remove.
3135 (alpha_frame_locals_address): Remove.
3136 (alpha_frame_args_address): Remove.
3137 (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR.
3138 (alpha_push_dummy_frame): Remove.
3139 (alpha_pop_frame): Remove.
3140 (alpha_after_prologue): Rename from after_prologue; remove mdebug bits.
3141 (alpha_read_insn): New.
3142 (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust
3143 for different insn encodings.
3144 (alpha_in_lenient_prologue): Remove.
3145 (struct alpha_sigtramp_unwind_cache): New.
3146 (alpha_sigtramp_frame_unwind_cache): New.
3147 (alpha_sigtramp_register_address): New.
3148 (alpha_sigtramp_frame_this_id): New.
3149 (alpha_sigtramp_frame_prev_register): New.
3150 (alpha_sigtramp_frame_unwind): New.
3151 (alpha_sigtramp_frame_p): New.
3152 (struct alpha_heuristic_unwind_cache): New.
3153 (alpha_heuristic_proc_start): Rename from heuristic_proc_start;
3154 don't count nop insns that occur between functions.
3155 (alpha_heuristic_frame_unwind_cache): New; incorporate much of
3156 heuristic_proc_desc, but without the mdebug wrapping.
3157 (alpha_heuristic_frame_this_id): New.
3158 (alpha_heuristic_frame_prev_register): New.
3159 (alpha_heuristic_frame_unwind): New.
3160 (alpha_heuristic_frame_p): New.
3161 (alpha_heuristic_frame_base_address): New.
3162 (alpha_heuristic_frame_base): New.
3163 (alpha_unwind_dummy_id): New.
3164 (alpha_unwind_pc): New.
3165 (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of
3166 frame related deprecated initializations; install replacements.
3167 (alpha_dump_tdep): Remove.
3168 * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame.
3169 (alpha_read_insn, alpha_after_prologue,
3170 alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id,
3171 alpha_heuristic_frame_prev_register,
3172 alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare.
3173 * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o.
3174 * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove.
3175 * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove.
3176
93ec1121
AC
31772003-05-29 Andrew Cagney <[email protected]>
3178
3179 * gdb_assert.h (gdb_assert_fail): Provide different definitions
3180 dependant on the availability of ASSERT_FUNCTION.
3181 (ASSERT_FUNCTION): Do not define when there is no function name.
3182
98f08d3d
KB
31832003-05-29 Kevin Buettner <[email protected]>
3184
3185 From Jimi X <[email protected]>:
3186 * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code.
3187
0897f59b
JB
31882003-05-28 Jim Blandy <[email protected]>
3189
3190 * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth
3191 argument to ptrace to int; the system headers should give it the
3192 right type, and pointers don't fit in ints on powerpc64-*-*.
3193
14898363
L
31942003-05-28 H.J. Lu <[email protected]>
3195
3196 * dwarf2read.c (process_die): Handle DW_TAG_try_block and
3197 DW_TAG_catch_block.
3198
a7a48797
EZ
31992003-05-26 Elena Zannoni <[email protected]>
3200
3201 * stabsread.c (dbx_lookup_type): Make static.
3202 (read_type): Ditto.
3203 (add_undefined_type): Ditto.
3204 * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do
3205 not export.
3206
f5479e9c
EZ
32072003-05-26 Elena Zannoni <[email protected]>
3208
3209 * hpread.c (hpread_has_name): Make static.
3210 (hpread_psymtab_to_symtab): Ditto.
3211 (file_exists): Ditto.
3212 (hpread_call_pxdb): Ditto.
3213 (hpread_pxdb_needed): Ditto.
3214 (hpread_quick_traverse): Ditto.
3215 (hpread_get_header): Ditto.
3216 (hpread_get_lntt): Ditto.
3217 (hpread_get_slt): Ditto.
3218 (class_of): Ditto.
3219
eb2e12d7
AS
32202003-05-25 Andreas Schwab <[email protected]>
3221
78bf922a
AS
3222 * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of
3223 stack_align and deprecated_extra_stack_alignment_needed.
3224 (m68k_stack_align): Delete.
3225
eb2e12d7
AS
3226 * m68k-tdep.c (m68k_register_raw_size): Remove cast.
3227 (m68k_register_virtual_size): Likewise.
3228 (altos_skip_prologue): Remove obsolete function.
3229 (isi_frame_num_args): Likewise.
3230 (news_frame_num_args): Likewise.
3231 (m68k_fix_call_dummy): Make static.
3232 (m68k_push_dummy_frame): Likewise.
3233 (m68k_pop_frame): Likewise.
3234 (m68k_skip_prologue): Likewise.
3235 (m68k_frame_init_saved_regs): Likewise.
3236 (m68k_saved_pc_after_call): Likewise.
3237 (m68k_get_longjmp_target): Make multi-arch.
3238 (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep
3239 structure. Register m68k_get_longjmp_target if enabled.
3240 * m68k-tdep.h (struct gdbarch_tdep): Define.
3241 * config/m68k/tm-m68k.h: Don't include "regcache.h".
3242
3243 * Makefile.in (config.status): Also depend on configure.tgt
3244 and configure.host.
3245 (m68klinux-tdep.o): Update dependencies.
3246 * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1.
3247 * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define.
3248 (M68K_LINUX_JB_PC): Define.
3249 (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp
3250 and take additional parameter.
3251 (m68k_linux_sigtramp_saved_pc): Update.
3252 (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register
3253 m68k_linux_pc_in_sigtramp, in_plt_section,
3254 find_solib_trampoline_target.
3255 * config/m68k/tm-linux.h: Don't include any tm headers.
3256 (START_INFERIOR_TRAPS_EXPECTED): Remove definition.
3257 (JB_ELEMENT_SIZE): Likewise.
3258 (JB_PC): Likewise.
3259 (GET_LONGJMP_TARGET): Likewise.
3260 (IN_SIGTRAMP): Likewise.
3261 (SVR4_SHARED_LIBS): Define this and include "solib.h".
3262
eb2c22dc
MK
32632003-05-25 Mark Kettenis <[email protected]>
3264
3265 * sparc-tdep.c (sparc32_do_push_arguments): New function.
3266 (sparc32_push_arguments): Re-implement by calling
3267 sparc32_do_push_arguments.
3268
44b7b84e
MK
32692003-05-25 Mark Kettenis <[email protected]>
3270
3271 * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM,
3272 SPARC_O1_REGNUM): New defines.
3273 (sparc32_extract_return_value): Rewrite to operate on a regcache.
3274 (sparc32_store_return_value): New function.
3275 (sparc_extract_struct_value_address): Rewrite to operate on a
3276 regcache.
3277 (sparc_gdbarch_init): Don't set
3278 deprecated_extract_struct_value_address. Set
3279 extract_struct_value_address instead. Don't set
3280 deprecated_extract_return_value and deprecated_store_return_value
3281 for 32-bit targets. Set extract_return_value and
3282 store_return_value instead.
3283 * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE,
3284 DEPRECTAED_EXTRACT_RETURN_VALUE,
3285 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these.
3286 (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE,
3287 EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead.
3288 (sparc_store_return_value): Remove prototype.
3289 (sparc32_store_return_value): New prototype.
3290 (sparc32_extract_return_value, sparc_extract_struct_value_address):
3291 Adjust prototypes.
3292
f6ad61e3
MK
32932003-05-24 Mark Kettenis <[email protected]>
3294
3295 * sparcnbsd-tdep.c: Include "gdb_string.h".
3296
b276f1bb
AC
32972003-05-23 Andrew Cagney <[email protected]>
3298
3299 * p-valprint.c (pascal_val_print): Replace extract_address with
3300 the inline equivalent extract_unsigned_integer.
3301 * jv-valprint.c (java_value_print): Ditto.
3302 * ada-valprint.c (ada_val_print_1): Ditto.
3303 * ada-lang.h (EXTRACT_ADDRESS): Ditto.
3304
e76c5fcc
TR
33052003-05-23 Theodore A. Roth <[email protected]>
3306
3307 * blockframe.c (frameless_look_for_prologue): Remove unused
3308 after_prologue variable.
3309
2cdd89cb
MK
33102003-05-23 Mark Kettenis <[email protected]>
3311
3312 * blockframe.c (get_pc_function_start): Rewrite to avoid
3313 asignments in if-statements.
3314
182d43bc
EZ
33152003-05-23 Raoul Gough <[email protected]>
3316
3317 Committed by Elena Zannoni <[email protected]>.
8ffd9b1b 3318 * coffread.c(coff_symtab_read): Do relocate static symbols from PE
182d43bc
EZ
3319 files, don't relocate absolute symbols (and do use mst_abs).
3320
e8f3fcdd
AC
33212003-05-23 Andrew Cagney <[email protected]>
3322
3323 * objc-lang.c: Include "gdb_assert.h".
3324 (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0.
3325 (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros.
3326 (gdb_check, gdb_check_fatal): Delete functions.
3327 (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with
3328 gdb_assert.
3329 (parse_selector, parse_method, find_methods, find_imps): Ditto.
3330 * Makefile.in (objc-lang.o): Update dependencies.
3331
3c23e6fb
ILT
33322003-05-22 Ian Lance Taylor <[email protected]>
3333
3334 * disasm.c (gdb_disassemble_info): Initialize disassemble_info
3335 with fprintf_filtered, not fprintf_unfiltered.
3336
af1342ab
AC
33372003-05-22 Andrew Cagney <[email protected]>
3338
3339 * stack.c (frame_info): Inline extract_address, replacing it with
3340 extract_unsigned_integer.
3341 * findvar.c (unsigned_pointer_to_address): Ditto.
3342 * dwarf2loc.c (dwarf_expr_read_reg): Ditto.
3343 * dwarf2expr.c (dwarf2_read_address): Ditto.
3344 * frame.c (frame_pc_unwind): Update comment.
3345 * dummy-frame.c (deprecated_read_register_dummy): Update comment.
3346
47e242ec
JJ
33472003-05-22 Jeff Johnston <[email protected]>
3348
3349 * infptrace.c (detach): Call print_sys_errmsg rather than
3350 perror_with_name to issue warning message when errno is non-zero
3351 after calling ptrace detach.
3352
e2ac8128
JB
33532003-05-21 J. Brobecker <[email protected]>
3354
3355 * config/pa/tm-hppa.h: Delete some unused macros. Move some
3356 macro definitions from here...
3357 * hppa-tdep.c: ...to there.
3358
92b3541e
KB
33592003-05-20 Kevin Buettner <[email protected]>
3360
3361 * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function
3362 register_ptrace_addr(). Fix all callers.
3363
55809acb
AS
33642003-05-21 Andreas Schwab <[email protected]>
3365
3366 * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update
3367 dependencies.
3368 * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the
3369 end.
3370 * m68klinux-tdep.c (m68k_linux_init_abi): New function.
3371 (_initialize_m68k_linux_tdep): New function.
3372 (m68k_linux_frame_saved_pc): Make static.
3373 (m68k_linux_extract_return_value): Likewise.
3374 (m68k_linux_store_return_value): Likewise.
3375 (m68k_linux_extract_struct_value_address): Likewise.
3376 * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE):
3377 Remove.
3378 (DEPRECATED_STORE_RETURN_VALUE): Remove.
3379 (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
3380 (DEPRECATED_FRAME_SAVED_PC): Remove.
3381
0fbc10f7
KW
33822003-05-20 Kris Warkentin <[email protected]>
3383
3384 * nto-tdep.c (fetch_core_registers): Match gdb's idea of
3385 regset numbering rather than our own.
3386
58da2eb2
DC
33872003-05-19 David Carlton <[email protected]>
3388
3389 * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*.
3390
1fcb5155
DC
33912003-05-19 David Carlton <[email protected]>
3392
3393 Partial fix for PR c++/827.
3394 * cp-support.h: Include symtab.h.
3395 Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace.
3396 * cp-namespace.c: Update contributors.
3397 (cp_lookup_symbol_nonlocal): New.
3398 (lookup_namespace_scope, cp_lookup_symbol_namespace)
3399 (lookup_symbol_file): Ditto.
3400 * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal.
3401 * block.h: Declare block_scope, block_using, block_global_block.
3402 * block.c (block_scope): New.
3403 (block_using, block_global_block): Ditto.
3404 * Makefile.in (cp_support_h): Depend on symtab_h.
3405 * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc.
3406
5f9a71c3
DC
34072003-05-19 David Carlton <[email protected]>
3408
3409 * language.h (struct language_defn): Add 'la_value_of_this'
3410 and 'la_lookup_symbol_nonlocal' members.
3411 * symtab.h: Declare basic_lookup_symbol_nonlocal,
3412 lookup_symbol_static, lookup_symbol_global,
3413 lookup_symbol_aux_block.
3414 * symtab.c (lookup_symbol_aux): Call language hooks to determine
3415 if we should search fields of this and how to do static/global
3416 lookup.
3417 (lookup_symbol_aux_block): Make extern.
3418 (basic_lookup_symbol_nonlocal): New.
3419 (lookup_symbol_static, lookup_symbol_global): Ditto.
3420 * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and
3421 'la_lookup_symbol_nonlocal' members.
3422 * c-lang.c (c_language_defn, cplus_language_defn)
3423 (asm_language_defn, minimal_language_defn): Ditto.
3424 * jv-lang.c (java_language_defn): Ditto.
3425 * language.c (unknown_language_defn, auto_language_defn)
3426 (local_language_defn): Ditto.
3427 * m2-lang.c (m2_language_defn): Ditto.
3428 * objc-lang.c (objc_language_defn): Ditto.
3429 * scm-lang.c (scm_language_defn): Ditto.
3430 * f-lang.c (f_language_defn): Ditto, and include value.h as well.
3431 * p-lang.c (pascal_language_defn): Ditto for both.
3432 * Makefile.in (f-lang.o): Depend on value_h.
3433 (p-lang.o): Ditto.
3434
89a9d1b1
DC
34352003-05-19 David Carlton <[email protected]>
3436
3437 * block.h: Declare block_static_block.
3438 * block.c (block_static_block): New.
3439 * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to
3440 lookup_symbol_aux_local, calling block_static_block instead.
3441 (lookup_symbol_aux_local): Delete 'static_block' argument.
3442
eed3f8ab
DC
34432003-05-19 David Carlton <[email protected]>
3444
3445 * symtab.c (lookup_symbol_aux): Delete #if 0 hunk.
3446
a09d8bda
ML
34472003-05-19 Michal Ludvig <[email protected]>
3448
3449 * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix
3450 register numbers mapping.
3451
69636828
AF
34522003-05-18 Adam Fedor <[email protected]>
3453
3454 * symtab.c (completion_list_objc_symbol): New function.
3455 (make_symbol_completion_list): Use it to add ObjC symbols
3456 when looking though the list.
3457 (language_search_unquoted_string): New function.
3458 (make_file_symbol_completion_list): Use it.
3459
55baeb84
AS
34602003-05-18 Andreas Schwab <[email protected]>
3461
d0b45d99
AS
3462 * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update
3463 dependencies.
3464 * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define
3465 as m68k_linux_extract_return_value.
3466 (DEPRECATED_STORE_RETURN_VALUE): Define as
3467 m68k_linux_store_return_value.
3468 (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as
3469 m68k_linux_extract_struct_value_address.
3470 * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use
3471 get_next_frame, get_frame_base, get_frame_pc.
3472 (m68k_linux_frame_saved_pc): Use get_frame_base.
3473 (m68k_linux_extract_return_value): New function.
3474 (m68k_linux_store_return_value): New function.
3475 (m68k_linux_extract_struct_value_address): New function.
3476 * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target.
3477
55baeb84
AS
3478 * c-exp.y (typebase): Remove duplicate occurence of
3479 `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead
8ffd9b1b 3480 of lookup_signed_typename.
55baeb84 3481
b6b08ebf
MK
34822003-05-18 Mark Kettenis <[email protected]>
3483
3484 * dwarf2loc.c (find_location_expression): Change type of second
3485 argument to `size_t *'.
3486 (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t
3487 for size variable.
3488
5ad1c190
DC
34892003-05-18 David Carlton <[email protected]>
3490
3491 * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to
3492 'linkage_name'. Add comment.
3493 (lookup_symbol_aux_local): Rename 'mangled_name' argument to
3494 'linkage_name'.
3495 (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
3496 (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms)
3497 (lookup_block_symbol): Ditto.
3498
b8b527c5
AC
34992003-05-16 Andrew Cagney <[email protected]>
3500
3501 * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES.
3502 * gdbarch.h, gdbarch.c: Re-generate.
3503 * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference.
3504 * TODO (REGISTER_BYTES): Delete reference.
3505 * alpha-tdep.c (alpha_gdbarch_init): Update.
3506 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
3507 * x86-64-tdep.c (x86_64_init_abi): Update.
3508 * vax-tdep.c (vax_gdbarch_init): Update.
3509 * v850-tdep.c (v850_gdbarch_init): Update.
3510 * sparc-tdep.c (sparc_gdbarch_init): Update.
3511 * sh-tdep.c (sh_gdbarch_init): Update.
3512 * s390-tdep.c (s390_gdbarch_init): Update.
3513 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
3514 * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update.
3515 (ns32k_gdbarch_init_32382): Update.
3516 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
3517 * mcore-tdep.c (mcore_gdbarch_init): Update.
3518 * m68k-tdep.c (m68k_gdbarch_init): Update.
3519 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
3520 * ia64-tdep.c (ia64_gdbarch_init): Update.
3521 * i386-tdep.c (i386_gdbarch_init): Update.
3522 * i386-linux-tdep.c (i386_linux_init_abi): Update.
3523 * hppa-tdep.c (hppa_gdbarch_init): Update.
3524 * h8300-tdep.c (h8300_gdbarch_init): Update.
3525 * frv-tdep.c (frv_gdbarch_init): Update.
3526 * cris-tdep.c (cris_gdbarch_init): Update.
3527 * avr-tdep.c (avr_gdbarch_init): Update.
3528 * arm-tdep.c (arm_gdbarch_init): Update.
3529 * sparc-tdep.c (sparc_pop_frame): Update.
3530 * rs6000-tdep.c (rs6000_pop_frame): Update.
3531 * remote.c (init_remote_state): Update.
3532 (remote_prepare_to_store): Update.
3533 * remote-vx.c (vx_prepare_to_store): Update.
3534 * remote-sds.c (sds_fetch_registers): Update.
3535 (sds_prepare_to_store): Update.
3536 * remote-array.c: Update.
3537 * regcache.c (init_legacy_regcache_descr): Update.
3538 (init_regcache_descr): Update.
3539 * mips-tdep.c (mips_eabi_extract_return_value): Update.
3540 (mips_o64_extract_return_value): Update.
3541 * irix5-nat.c (fetch_core_registers): Update.
3542 * irix4-nat.c (fetch_core_registers): Update.
3543 * i386-tdep.h: Update.
3544 * hppa-tdep.c (pa_do_registers_info): Update.
3545 (pa_do_strcat_registers_info): Update.
3546 * cris-tdep.c (cris_register_bytes_ok): Update.
3547 * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update.
3548 * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update.
3549 * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update.
3550 * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update.
3551 * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update.
3552 * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update.
3553 * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update.
3554 * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update.
3555 * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update.
3556 * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update.
3557 * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update.
3558 * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update.
3559 (REGISTER_BYTES_OK): Update.
3560 * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update.
3561 * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update.
3562
ee2842e2
ILT
35632003-05-16 Ian Lance Taylor <[email protected]>
3564
3565 * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define.
3566 (vax_print_insn, print_insn_arg): Remove static functions.
3567 (vax_gdbarch_init): Call set_gdbarch_print_insn with
3568 print_insn_vax from opcodes library.
3569 (_initialize_vax_tdep): Don't set deprecated_tm_print_insn.
3570
973177d3
AC
35712003-05-15 Andrew Cagney <[email protected]>
3572
aaab4dba
AC
3573 * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration.
3574 * target.h (memory_breakpoint_from_pc): Delete declaration.
3575 * mem-break.c (memory_breakpoint_from_pc): Delete function.
3576 * arch-utils.c (legacy_breakpoint_from_pc): Delete function.
3577 * monitor.c (monitor_insert_breakpoint): Use
3578 gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc.
3579 * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default.
3580 * gdbarch.h, gdbarch.c: Re-generate.
3581 * sparc-tdep.c (sparc_breakpoint_from_pc): New function.
3582 (sparc_gdbarch_init): Set breakpoint_from_pc to
3583 sparc_breakpoint_from_pc.
3584 * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro.
3585 (BREAKPOINT_FROM_PC): Define.
3586 (sparc_breakpoint_from_pc): Declare.
3587 * hppa-tdep.c (hppa_breakpoint_from_pc): New function.
3588 * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare.
3589 (BREAKPOINT_FROM_PC): Define.
3590 (BREAKPOINT): Delete macro.
3591 * target.h: Update comment.
3592 * s390-tdep.c (s390_gdbarch_init): Update comments.
3593 * remote.c: Update comments.
3594 * remote-mips.c: Update comments.
3595 * proc-api.c (write_with_trace): Do not check for a breakpoint.
3596 * mem-break.c: Update comment.
3597 * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT.
3598 (ia64_memory_insert_breakpoint): Update.
3599 * config/sparc/tm-sparc.h: Update comment.
3600 * config/pa/tm-hppa64.h: Update comment.
3601 * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro.
3602 (rs6000_breakpoint_from_pc): Update.
3603 * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro.
3604 (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro.
3605 (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro.
3606 (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro.
3607 (mips_breakpoint_from_pc): Update.
3608 (mips_dump_tdep): Update.
3609
e06963ff
AC
3610 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro.
3611 * minsyms.c (lookup_minimal_symbol): Inline
3612 DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp.
3613
973177d3
AC
3614 * c-lang.c (c_printstr): Delete "extern inspect_it" declaration.
3615 * p-valprint.c (pascal_object_print_value_fields): Ditto.
3616 * p-lang.c (pascal_printstr): Ditto.
3617 * objc-lang.c (objc_printstr): Ditto.
3618 * m2-lang.c (m2_printstr): Ditto.
3619 * jv-valprint.c (java_print_value_fields): Ditto.
3620 * f-lang.c (f_printstr): Ditto.
3621 * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h".
3622 * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and
3623 for repeat_count_threshold.
3624 * Makefile.in (cp-valprint.o): Update dependencies.
3625
5ea2bd7f 36262003-05-15 Jeff Johnston <[email protected]>
8ffd9b1b 3627
5ea2bd7f
JJ
3628 * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40.
3629 (examine_prologue): Support looking through leaf functions, knowing
8ffd9b1b
AJ
3630 they start with mov r2,r12. Support skipping over indirect stores
3631 of the input registers. Upon hitting a non-nop branch instruction
3632 or predicated instruction, bail out by setting lim_pc to the current
3633 pc value in the loop. At the end, if the lim_pc value is still
5ea2bd7f
JJ
3634 beyond our calculated value and we have trust_limit set,
3635 use the lim_pc value.
3636
cc8c88f3
AC
36372003-05-15 Andrew Cagney <[email protected]>
3638
3639 * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename
3640 generic_find_dummy_frame.
3641 * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update.
3642 (deprecated_generic_find_dummy_frame): Update.
3643 (deprecated_read_register_dummy): Update.
3644 * frame.c (deprecated_generic_get_saved_register): Update.
3645
909cd28e
TR
36462003-05-15 Theodore A. Roth <[email protected]>
3647
3648 * avr-tdep.c (avr_breakpoint_from_pc): New function.
3649 (avr_gdbarch_init): Set breakpoint_from_pc method.
3650
b923b08d
AC
36512003-05-15 Andrew Cagney <[email protected]>
3652
3653 * regcache.c (build_regcache): Set deprecated_register_valid
3654 directly.
3655 (deprecated_grub_regcache_for_register_valid): Delete function.
3656 * regcache.h (deprecated_grub_regcache_for_register_valid): Delete
3657 declaration.
3658
ae2f03ac 36592003-05-15 David Carlton <[email protected]>
8ffd9b1b
AJ
3660
3661 Committed by Elena Zannoni <[email protected]>
fbe586ae
RH
3662 * symtab.c (lookup_symbol_aux): Delete calls to
3663 lookup_symbol_aux_minsyms.
3664 (lookup_symbol_aux_minsyms): Comment out function and
3665 prototype. Delete lookup by mangled name.
ae2f03ac 3666
18ec9831
KB
36672003-05-14 Kevin Buettner <[email protected]>
3668
3669 * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to
3670 correctly indicate an empty stack and ``stack_allocated'' to the
3671 indicate the number of elements initially allocated.
3672 (dwarf_expr_grow_stack): Simplify method for computing new
3673 stack size. Don't loop infinitely if ``stack_len'' is zero.
3674 (execute_stack_op): Move ``ctx->in_reg'' initialization
3675 out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to
3676 be used in conjuction with DW_OP_piece. Revise error message
3677 accordingly.
3678
de18ac1f
TR
36792003-05-14 Theodore A. Roth <[email protected]>
3680
3681 * MAINTAINERS: Update my email address.
3682 * avr-tdep.c: Ditto.
3683
176620f1
EZ
36842003-05-14 Elena Zannoni <[email protected]>
3685
3686 * symtab.h (enum domain_enum): Rename from namespace_enum.
3687 (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN,
3688 VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN):
3689 Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE,
3690 LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE,
3691 TYPES_NAMESPACE, METHODS_NAMESPACE.
3692 (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN.
3693 (struct symbol, struct partial_symbol): Rename field
3694 'namespace_enum namespace' to 'domain_enum domain'.
3695 (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN.
3696 Delete old define kludge for namespace.
3697
3698 * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c,
3699 blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c,
3700 dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h,
3701 gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c,
3702 language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c,
3703 mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c,
3704 p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c,
3705 stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c,
3706 valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all
3707 occurrences of the above.
3708
b7f31508
ILT
37092003-05-14 Ian Lance Taylor <[email protected]>
3710
3711 * Makefile.in (install-only): Use $(SHELL) when running
3712 mkinstalldirs.
3713
2fdbdd39
ILT
37142003-05-13 Ian Lance Taylor <[email protected]>
3715
a208d82c
ILT
3716 * MAINTAINERS (write after approval): Add myself.
3717
2fdbdd39
ILT
3718 * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap
3719 second and third arguments.
3720 * ser-tcp.c (_initialize_ser_tcp): Likewise.
3721 * ser-unix.c (_initialize_ser_hardwire): Likewise.
3722
fbd9dcd3
AC
37232003-05-13 Andrew Cagney <[email protected]>
3724
3725 * defs.h (store_address): Delete declaration.
3726 findvar.c (store_address): Delete function.
3727 * arm-tdep.c (arm_push_dummy_call): Replace store_address with
3728 store_unsigned_integer.
3729 * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto.
3730 * v850-tdep.c (v850_push_arguments): Ditto.
3731 * sparc-tdep.c (sparc_get_saved_register): Ditto.
3732 * sh-tdep.c (sh64_get_saved_register): Ditto.
3733 * rs6000-tdep.c (rs6000_push_arguments): Ditto.
3734 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto.
3735 * mips-tdep.c (mips_eabi_push_arguments): Ditto.
3736 (mips_get_saved_register): Ditto.
3737 * ia64-tdep.c (ia64_get_saved_register): Ditto.
3738 (find_func_descr, ia64_push_arguments): Ditto.
3739 * i386-tdep.c (i386_push_arguments): Ditto.
3740 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
3741 * frv-tdep.c (frv_push_arguments): Ditto.
3742 * frame.c (legacy_saved_regs_prev_register): Ditto.
3743 (deprecated_generic_get_saved_register): Ditto.
3744 * findvar.c (unsigned_address_to_pointer): Ditto.
3745 * dwarf2read.c (dwarf2_const_value): Ditto.
3746 * arm-linux-tdep.c (arm_linux_push_arguments): Ditto.
3747 * alpha-tdep.c (alpha_push_arguments): Ditto.
3748
6760f9e6
JB
37492003-05-12 J. Brobecker <[email protected]>
3750
3751 * NEWS: Mention that the hppa-hpux port has been partially
3752 multiarched (32bit ABIT only, so far).
3753
30e221b4
AC
37542003-05-11 Andrew Cagney <[email protected]>
3755
3756 * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol.
3757 * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h,
3758 include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms,
3759 sim/testsuite/sim/arm/misaligned2.ms, and
3760 sim/testsuite/sim/arm/misaligned3.ms.
3761 * disasm.h (struct ui_file): Add opaque struct declaration.
3762 * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto.
3763 * frame.h (struct ui_file): Ditto.
3764
dea7f9ba
MK
37652003-05-11 Mark Kettenis <[email protected]>
3766
3767 * value.h: Pretty print.
3768
01986c48
MK
37692003-05-10 Mark Kettenis <[email protected]>
3770
3771 * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define.
3772
123a958e
AC
37732003-05-08 Andrew Cagney <[email protected]>
3774
3775 * regcache.h (max_register_size): Delete declaration.
3776 * regcache.c (max_register_size): Delete function.
3777 (struct regcache_descr): Delete field "max_register_size".
3778 (init_regcache_descr, init_legacy_regcache_descr): Assert that all
3779 registers fit in MAX_REGISTER_SIZE.
3780 (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE.
3781 (regcache_restore, regcache_xfer_part, regcache_dump): Ditto.
3782 * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE.
3783 * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto.
3784 * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto.
3785 * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto.
3786 * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto.
3787 * dve3900-rom.c, hppa-tdep.c: Ditto.
3788
eb294659
DC
37892003-05-08 David Carlton <[email protected]>
3790
3791 * valops.c (push_word): Fix typo.
3792
d9d9c31f
AC
37932003-05-08 Andrew Cagney <[email protected]>
3794
3795 * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE.
3796 * gdbarch.h: Re-generate.
3797 * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro.
3798 (legacy_max_register_raw_size): Delete declaration.
3799 * regcache.c (legacy_max_register_raw_size): Delete function.
3800 * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE.
3801 * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto.
3802 * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto.
3803 * remote-rdp.c, remote-array.c, regcache.c: Ditto.
3804 * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto.
3805 * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto.
3806 * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto.
3807 * findvar.c, dwarf2cfi.c: Ditto.
3808
22540ece
AC
38092003-05-08 Andrew Cagney <[email protected]>
3810
3811 * mips-tdep.c (read_signed_register): New function, moved to here
3812 from "regcache.c".
3813 (read_signed_register_pid): Ditto.
3814 * regcache.c (read_signed_register_pid): Delete function, moved to
3815 "mips-tdep.c".
3816 (read_signed_register): Ditto.
3817 * regcache.h (read_signed_register): Delete declaration.
3818 (read_signed_register_pid): Delete declaration.
3819
0c92afe8
AC
38202003-05-08 Andrew Cagney <[email protected]>
3821
3822 * gdbarch.sh: Add comments on MAX_REGISTER_SIZE.
3823 * gdbarch.h: Re-generate.
3824 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro.
3825 (legacy_max_register_virtual_size): Delete declaration.
3826 * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE.
3827 * d10v-tdep.c (d10v_print_registers_info): Ditto.
3828 * tracepoint.c (memrange_sortmerge): Ditto.
3829 * sparc-tdep.c (sparc_print_registers): Ditto.
3830 * regcache.c (legacy_max_register_virtual_size): Delete function.
3831
6037b830
JB
38322002-05-08 J. Brobecker <[email protected]>
3833
3834 * fork-child.c (escape_bang_in_quoted_argument): New function.
3835 (fork_inferior): Escape '!' characters in quoted arguments
3836 only when needed.
3837
5d62c8b1
JB
38382003-05-08 J. Brobecker <[email protected]>
3839
3840 * dwarf2read.c (set_cu_language): Set the language to "minimal" if
3841 the language of the CU is not currently supported by GDB.
3842
20a0e81d
JB
38432003-05-08 J. Brobecker <[email protected]>
3844
3845 * defs.h (language): Add language_minimal enum value.
3846 * c-lang.c (minimal_language_defn): New language definition.
3847 (_initialize_c_language): Add the new minimal language to the list
3848 of languages known to GDB.
3849
710ee10a
KB
38502003-05-08 Kevin Buettner <[email protected]>
3851
3852 * frame.c (get_frame_type): Don't attempt to lazily initialize
3853 frame's unwinder for legacy frames.
3854
1750fa04
AC
38552003-05-07 Andrew Cagney <[email protected]>
3856
3857 * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch"
3858 and "regcache" parameters.
3859 * avr-tdep.c (avr_remote_translate_xfer_address): Ditto.
3860
ddf9f258 38612003-05-07 Jeff Johnston <[email protected]>
8ffd9b1b
AJ
3862
3863 * dwarf2read.c (dwarf_decode_lines): Only use output of
3864 check_cu_functions() when calling record_line(). Do not update
ddf9f258
JJ
3865 the current address.
3866
87767c29
AC
38672003-05-07 Andrew Cagney <[email protected]>
3868
3869 * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR
3870 code.
3871
5e7b2f39
JB
38722003-05-07 Jim Blandy <[email protected]>
3873
3874 Rename commands 'maint list symtabs' and 'maint list psymtabs' to
3875 'maint info symtabs' and 'maint info psymtabs'.
3876 * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs):
3877 Renamed from maintenance_list_symtabs and maintenance_list_psymtabs.
3878 * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs):
3879 Declarations updated.
3880 * maint.c (maintenance_list_command): Delete.
3881 (_initialize_maint_cmds): Update calls to add_cmd.
3882 * gdbcmd.h (maintenancelistlist): Delete declaration.
3883 * cli/cli-cmds.c (maintenancelistlist): Delete.
3884 (init_cmd_lists): Don't initialize it.
3885 * cli/cli-cmds.h (maintenancelistlist): Delete declaration.
3886
f6684c31
AC
38872003-05-07 Andrew Cagney <[email protected]>
3888
3889 * d10v-tdep.c (remote_d10v_translate_xfer_address): Add
3890 "regcache".
3891 (d10v_print_registers_info): Update.
3892 (d10v_dmap_register, d10v_imap_register): Delete functions.
3893 (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register"
3894 and "imap_register".
3895 (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache".
3896 (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache".
3897 * arch-utils.c (generic_remote_translate_xfer_address): Add
3898 "regcache" and "gdbarch" parameters.
3899 * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache"
3900 parameter. Change class to multi-arch.
3901 * gdbarch.h, gdbarch.c: Re-generate.
3902 * remote.c (remote_xfer_memory): Use
3903 gdbarch_remote_translate_xfer_address.
8ffd9b1b 3904
e4846b08
JJ
39052003-05-07 Jeff Johnston <[email protected]>
3906
3907 * infrun.c (prev_pc): Move declaration ahead of proceed().
3908 (proceed): Refresh prev_pc value before resuming.
3909 (stop_stepping): Remove code to refresh prev_pc.
3910
6b71b8ac
KW
39112003-05-06 Kris Warkentin <[email protected]>
3912
3913 * nto-tdep.c: Removed stray comment.
3914
47979a4b
KW
39152003-05-06 Kris Warkentin <[email protected]>
3916
3917 * i386-nto-tdep.c: Fix old K&R function definitions.
3918 * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h.
3919 Also change add_show_from_set() call to add_setshow_cmd().
3920 * nto-tdep.h: Remove PARAMS and grep ^func ARI hits.
3921
00905d52
AC
39222003-05-05 Andrew Cagney <[email protected]>
3923
3924 * dummy-frame.c: Include "command.h" and "gdbcmd.h".
3925 (fprint_dummy_frames): New function.
3926 (maintenance_print_dummy_frames): New function.
3927 (_initialize_dummy_frame): Add command "maint print dummy-frames".
3928 * frame.c (fprint_frame_id): Make global.
3929 * frame.h (fprint_frame_id): Declare.
3930 * Makefile.in (dummy-frame.o): Update dependencies.
3931
b1e29e33
AC
39322003-05-05 Andrew Cagney <[email protected]>
3933
3934 * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE.
3935 (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename
3936 SIZEOF_CALL_DUMMY_WORDS.
3937 (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS.
3938 (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY.
3939 (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename
3940 CALL_DUMMY_BREAKPOINT_OFFSET.
3941 (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename
3942 CALL_DUMMY_START_OFFSET.
3943 (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH.
3944 * gdbarch.h, gdbarch.c: Re-generate.
3945 * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update.
3946 * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update.
3947 * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update.
3948 * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update.
3949 * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update.
3950 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update.
3951 * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update.
3952 * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update.
3953 * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update.
3954 * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update.
3955 * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update.
3956 * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update.
3957 * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update.
3958 * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update.
3959 * config/sparc/tm-sparc.h: Update.
daea6f0b
KW
3960
39612003-05-05 Kris Warkentin <[email protected]>
3962
3963 * configure.tgt: Add i[3456]86-*-nto*.
3964 * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino.
3965 * nto-tdep.c: New file. Neutrino target support routines.
3966 * nto-tdep.h: New file. Neutrino target header.
3967 * config/tm-qnxnto.h: New file.
3968 * config/i386/i386nto.mt: New file.
3969 * config/i386/tm-i386nto.h: New file.
8ffd9b1b 3970
0ce3d317
AC
39712003-05-04 Andrew Cagney <[email protected]>
3972
3973 * gdbthread.h (save_infrun_state): Drop prev_func_name parameter.
3974 (load_infrun_state): Ditto.
3975 (struct thread_info): Drop "prev_func_name" field.
3976 * thread.c (load_infrun_state): Update.
3977 (save_infrun_state): Update.
3978 * infrun.c (prev_func_name): Delete variable.
3979 (init_wait_for_inferior): Do not clear prev_func_name.
3980 (stop_stepping, keep_going, context_switch): Do not swap
3981 prev_func_name.
3982 (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp
3983 instead of PC_IN_SIGTRAMP.
3984
46654a5b
AC
39852003-05-04 Andrew Cagney <[email protected]>
3986
3987 * sentinel-frame.c (sentinel_frame_prev_register): Replace
3988 REGISTER_BYTE with register_offset_hack.
3989 * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check
3990 that REGISTER_BYTE is consistent with the regcache.
3991 * gdbarch.sh (REGISTER_BYTE): Add a predicate.
3992 * gdbarch.h, gdbarch.c: Regenerate.
8ffd9b1b 3993
14b08c1b
MK
39942003-05-04 Mark Kettenis <[email protected]>
3995
04c8243f
MK
3996 * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15.
3997 (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15.
3998
14b08c1b
MK
3999 * i386-linux-nat.c (supply_gregset): Remove unnecessary casts.
4000
c7a11e01
JB
40012003-05-03 J. Brobecker <[email protected]>
4002
4003 From Thierry Schneider <[email protected]>
4004 * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o.
4005 (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c.
4006 (mi-cmd-symbol.o): Add rule.
4007
7043d8dc
AC
40082003-05-03 Andrew Cagney <[email protected]>
4009
4010 * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add
4011 comments noteing that it replaces the old FIX_CALL_DUMMY code.
4012 * gdbarch.h, gdbarch.c: Re-generate.
4013 * d10v-tdep.c (d10v_push_dummy_code): New function.
4014 (d10v_gdbarch_init): Set push_dummy_code.
4015 * infcall.c (legacy_push_dummy_code): New function.
4016 (generic_push_dummy_code): New function.
4017 (push_dummy_code): New function.
4018 (call_function_by_hand): Call push_dummy_code. Pass bp_addr,
4019 instead of dummy_addr, to push_dummy_call. Move call to
4020 generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION
4021 switch.
4022 * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code.
4023
92bf2b80
AC
40242003-05-03 Andrew Cagney <[email protected]>
4025
4026 * disasm.h (print_insn): Declare.
4027 * disasm.c (init_gdb_disassemble_info): New function.
4028 (gdb_disassembly): Call init_gdb_disassemble_info.
4029 (gdb_print_insn): New function.
4030 * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead
4031 of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog".
4032 * mcore-tdep.c: Include "disasm.h"
4033 (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN.
4034 * d10v-tdep.c: Include "disasm.h".
4035 (display_trace): Call gdb_print_insn, instead of print_insn.
4036 (print_insn): Delete function.
4037 * printcmd.c: Include "disasm.h".
4038 (print_insn): Delete function.
4039 (print_formatted): Call gdb_print_insn, instead of print_insn.
4040 * Makefile.in (printcmd.o): Update dependencies.
4041 (mcore-tdep.o, d10v-tdep.o): Ditto.
8ffd9b1b 4042
27d94c49
AC
40432003-05-02 Andrew Cagney <[email protected]>
4044
82de1e5b
AC
4045 * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef
4046 PC_REGNUM, re-indent.
4047 * stack.c (frame_info): Use "pc" for the name of get_frame_pc when
4048 PC_REGNUM isn't set.
4049
27d94c49
AC
4050 * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional.
4051 * gdbarch.h, gdbarch.c: Re-generate.
4052 * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size,
4053 register_virtual_size, pc_regnum, or register_bytes.
4054 (D10V_PC_REGNUM): Rename _PC_REGNUM.
4055 (d10v_register_type): Use D10V_PC_REGNUM.
4056 (d10v_print_registers_info, d10v_read_pc): Ditto.
4057 (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto.
4058 (d10v_unwind_pc, d10v_frame_prev_register): Ditto.
4059
a9c0dc7f
DC
40602003-05-02 David Carlton <[email protected]>
4061
4062 * objfiles.c (allocate_objfile): For anonymous objfiles, allocate
4063 the name with mstrsave.
4064
e33d66ec
EZ
40652003-05-02 Elena Zannoni <[email protected]>
4066
4067 * charset.c (GDB_DEFAULT_TARGET_CHARSET,
4068 GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file.
4069 (host_charset_name, target_charset_name): New vars for use by
4070 set/show commands.
4071 (host_charset_enum, target_charset_enum): New enums for set/show
4072 commands.
4073 (set_charset_sfunc, set_host_charset_sfunc,
4074 set_target_charset_sfunc): New functions.
4075 (set_host_charset, set_target_charset): Make static.
4076 (list_charsets, set_host_charset_command,
4077 set_target_charset_command): Delete functions.
4078 (show_charset_command): Rewrite as....
4079 (show_charset): Hook this up with the set/show command mechanism.
4080 (_initialize_charset): Change names of charsets to match the
4081 set/show enums. Use host_charset_name and target_charset_name.
4082 Use set/show mechanism for charset, host-charset, target-charset
4083 commands. Do not make 'show host-charset' and 'show
4084 target-charset' be aliases of 'show charset'.
4085
4086 * charset.h (set_host_charset, set_target_charset): Don't export,
4087 they are not used outside the file.
4088
2b6fd0d8
AC
40892003-05-01 Andrew Cagney <[email protected]>
4090
4091 * disasm.c (gdb_disassemble_from_exec): Delete global variable.
4092 (gdb_disassembly): Make "di" non static, always initialize and
4093 cleanup. Always use dis_asm_read_memory.
4094 (gdb_dis_asm_read_memory): Delete function.
4095
6ae2f580
AC
40962003-05-01 Andrew Cagney <[email protected]>
4097
4098 * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align.
4099 (d10v_gdbarch_init): Set frame_align instead of stack_align.
4100
810ecf9f
AC
41012003-04-30 Andrew Cagney <[email protected]>
4102
4103 * gdbarch.sh (deprecated_tm_print_insn_info): Rename
4104 "tm_print_insn_info".
4105 (TARGET_PRINT_INSN_INFO): Delete macro.
4106 (dis_asm_read_memory): Delete function declaration.
4107 (dis_asm_memory_error, dis_asm_print_address): Ditto.
4108 (tm_print_insn_info): Delete variable definition.
4109 (_initialize_gdbarch): Do not initialize "tm_print_insn_info".
4110 * gdbarch.h, gdbarch.c: Re-generate.
4111 * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with
4112 "deprecated_tm_print_insn_info".
4113 * mcore-tdep.c (mcore_dump_insn): Ditto.
4114 * mips-tdep.c (mips_gdbarch_init): Ditto.
4115 * sparc-tdep.c (_initialize_sparc_tdep): Ditto.
4116 * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto.
4117 * ia64-tdep.c (_initialize_ia64_tdep): Ditto.
4118 * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info"
4119 instead of TARGET_PRINT_INSN_INFO, add comment.
4120 * s390-tdep.c (s390_get_frame_info): Instead of
4121 "dis_asm_read_memory", use "deprecated_tm_print_insn_info".
4122 (s390_check_function_end, s390_is_sigreturn): Ditto.
4123 * corefile.c (dis_asm_read_memory): Move to "disasm.c".
4124 (dis_asm_memory_error, dis_asm_print_address): Ditto.
4125 * disasm.c: Include "gdbcore.h".
4126 (_initialize_disasm): New function, initialize
4127 "deprecated_tm_print_insn_info".
4128 (deprecated_tm_print_insn_info): New variable.
4129 (dis_asm_read_memory): Moved from "corefile.c", made static.
4130 (dis_asm_print_address, dis_asm_memory_error): Ditto.
4131 * Makefile.in (disasm.o): Update dependencies.
4132
07020390
AC
41332003-04-30 Andrew Cagney <[email protected]>
4134
4135 * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1.
4136
a9fa03de
AF
41372003-04-29 Adam Fedor <[email protected]>
4138
4139 * eval.c (evaluate_subexp_standard): Handle ObjC ops.
4140 * infcall.c (find_function_addr): Make non-static.
4141 * infcall.h (find_function_addr): Declare.
4142 * Makefile.in (eval.o): Update dependencies.
4143
1bae87b9
AF
41442003-04-28 Adam Fedor <[email protected]>
4145
4146 * symtab.c (symbol_find_demangled_name): Check for and demangle
4147 ObjC symbols.
4148 (symbol_init_demangled_name): Init for language_objc as well.
4149
0ba6dca9
AC
41502003-04-28 Andrew Cagney <[email protected]>
4151
4152 * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP.
4153 (DEPRECATED_FP_REGNUM): Replace FP_REGNUM.
4154 * gdbarch.h, gdbarch.c: Re-generate.
4155 * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM,
4156 DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID.
4157 * inferior.h (deprecated_read_fp): Rename read_fp.
4158 (generic_target_read_fp): Delete declaration.
4159 * regcache.c (generic_target_read_fp): Delete function.
4160 (deprecated_read_fp): Replace read_fp, use
4161 DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM.
4162 * d10v-tdep.c (d10v_read_fp): Delete function.
4163 (d10v_gdbarch_init): Do not set deprecated_read_fp.
4164
4165 * sparc-tdep.c (sparc_gdbarch_init): Do not set
4166 deprecated_target_read_fp to generic_target_read_fp.
4167 * sh-tdep.c (sh_gdbarch_init): Ditto.
4168 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
4169 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
4170 * frv-tdep.c (frv_gdbarch_init): Ditto.
4171
4172 * xstormy16-tdep.c (xstormy16_gdbarch_init): Set
4173 deprecated_fp_regnum.
4174 * x86-64-tdep.c (x86_64_init_abi): Ditto.
4175 * vax-tdep.c (vax_gdbarch_init): Ditto.
4176 * v850-tdep.c (v850_gdbarch_init): Ditto.
4177 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
4178 * sh-tdep.c (sh_gdbarch_init): Ditto.
4179 * s390-tdep.c (s390_gdbarch_init): Ditto.
4180 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
4181 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
4182 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
4183 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
4184 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
4185 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
4186 * i386-tdep.c (i386_gdbarch_init): Ditto.
4187 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
4188 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
4189 * frv-tdep.c (frv_gdbarch_init): Ditto.
4190 * cris-tdep.c (cris_gdbarch_init): Ditto.
4191 * avr-tdep.c (avr_gdbarch_init): Ditto.
4192 * arm-tdep.c (arm_gdbarch_init): Ditto.
4193 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
4194
4195 * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp.
4196 * v850-tdep.c (v850_gdbarch_init): Ditto.
4197 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
4198 * sh-tdep.c (sh_gdbarch_init): Ditto.
4199 * s390-tdep.c (s390_gdbarch_init): Ditto.
4200 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
4201 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
4202 * mips-tdep.c (mips_gdbarch_init): Ditto.
4203 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
4204 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
4205 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
4206 * frv-tdep.c (frv_gdbarch_init): Ditto.
4207 * avr-tdep.c (avr_gdbarch_init): Ditto.
4208 * arm-tdep.c (arm_gdbarch_init): Ditto.
4209
4210 * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with
4211 DEPRECATED_FP_REGNUM.
4212 (vax_push_dummy_frame, vax_pop_frame): Ditto.
4213 * std-regs.c (value_of_builtin_frame_fp_reg): Ditto.
4214 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
4215 (sparc_push_dummy_frame, sparc64_read_fp): Ditto.
4216 (sparc32_register_virtual_type): Ditto.
4217 * sh-tdep.c (sh64_frame_chain): Ditto.
4218 (sh64_get_saved_register, sh64_pop_frame): Ditto.
4219 (sh_nofp_frame_init_saved_regs): Ditto.
4220 (sh64_nofp_frame_init_saved_regs): Ditto.
4221 (sh_fp_frame_init_saved_regs): Ditto.
4222 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
4223 * remote-e7000.c (fetch_regs_from_dump): Ditto.
4224 * procfs.c (procfs_fetch_registers): Ditto.
4225 (procfs_store_registers): Ditto.
4226 * ns32knbsd-nat.c (fetch_inferior_registers): Ditto.
4227 (store_inferior_registers, fetch_core_registers): Ditto.
4228 (fetch_kcore_registers, clear_regs): Ditto.
4229 * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto.
4230 (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto.
4231 * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto.
4232 * nlm/i386.c (do_status): Ditto.
4233 * mipsv4-nat.c (supply_gregset): Ditto.
4234 * mips-tdep.c: Ditto for comments.
4235 * mips-nat.c (fetch_inferior_registers): Ditto.
4236 (store_inferior_registers, fetch_core_registers): Ditto.
4237 * m68k-tdep.c (m68k_push_dummy_frame): Ditto.
4238 (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto.
4239 * i386-tdep.c (i386_frame_init_saved_regs): Ditto.
4240 (i386_do_pop_frame, i386_register_type): Ditto.
4241 * hppa-tdep.c (hppa_frame_chain): Ditto.
4242 (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto.
4243 (hppa_pop_frame, hppa_read_fp): Ditto.
4244 (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto.
4245 * cris-tdep.c (cris_examine, cris_pop_frame): Ditto.
4246 * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto.
4247 * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto.
4248 * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto.
4249 * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto.
4250 * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto.
4251 * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto.
4252 * blockframe.c: Ditto for comments.
4253 * arch-utils.h: Ditto for comments.
4254 * arch-utils.c (legacy_virtual_frame_pointer): Ditto.
4255 * alphanbsd-tdep.c (fetch_core_registers): Ditto.
4256 * alphabsd-nat.c (fetch_inferior_registers): Ditto.
4257 * alpha-tdep.h: Ditto for comments.
4258 * alpha-tdep.c (alpha_cannot_fetch_register): Ditto.
4259 (alpha_cannot_store_register): Ditto.
4260 (alpha_push_dummy_frame): Ditto.
4261 * alpha-nat.c (supply_gregset): Ditto.
4262
4263 * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update.
4264 * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update.
4265 * config/sparc/tm-sparc.h: Update comment.
4266
4267 * hppa-tdep.c (hppa_init_extra_frame_info): Use
4268 deprecated_read_fp instead of TARGET_READ_FP.
4269 (hppa_init_extra_frame_info, hppa_frame_chain): Ditto.
4270 (hppa_push_dummy_frame, hppa_read_fp): Ditto.
4271 * sparc-tdep.c (sparc_init_extra_frame_info): Use
4272 deprecated_read_fp instead of read_fp.
4273 * s390-tdep.c (s390_push_arguments): Ditto.
4274 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
4275 * frame.h: Ditto in comments.
4276 * frame.c (legacy_get_prev_frame): Ditto.
4277 * dummy-frame.c (dummy_frame_this_id): Ditto.
4278 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
4279
d7a27068
AC
42802003-04-28 Andrew Cagney <[email protected]>
4281
4282 * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn.
4283 * gdbarch.h, gdbarch.c: Re-generate.
4284 * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update.
4285 * vax-tdep.c (_initialize_vax_tdep): Update.
4286 * v850-tdep.c (_initialize_v850_tdep): Update.
4287 * sparc-tdep.c (_initialize_sparc_tdep): Update.
4288 * s390-tdep.c (_initialize_s390_tdep): Update.
4289 * ns32k-tdep.c (_initialize_ns32k_tdep): Update.
4290 * mn10300-tdep.c (_initialize_mn10300_tdep): Update.
4291 * mips-tdep.c (_initialize_mips_tdep): Update.
4292 * mcore-tdep.c (_initialize_mcore_tdep): Update.
4293 * m68k-tdep.c (_initialize_m68k_tdep): Update.
4294 * ia64-tdep.c (_initialize_ia64_tdep): Update.
4295 * hppa-tdep.c (_initialize_hppa_tdep): Update.
4296 * h8300-tdep.c (_initialize_h8300_tdep): Update.
4297 * frv-tdep.c (_initialize_frv_tdep): Update.
4298 * cris-tdep.c (cris_delayed_get_disassembler): Update.
4299 (_initialize_cris_tdep): Update.
4300 * arch-utils.c (legacy_print_insn): Update.
4301 * alpha-tdep.c (_initialize_alpha_tdep): Update.
4302
d2630e69
AF
43032003-04-26 Adam Fedor <[email protected]>
4304
4305 * linespec.c (decode_objc): New function to decode ObjC calls
4306 (decode_line_1): Check for ObjC calls (using decode_objc)
4307 * Makefile (linespec.o): Update dependencies.
4308
3086aeae
DJ
43092003-04-26 Daniel Jacobowitz <[email protected]>
4310
4311 * breakpoint.h (struct breakpoint_ops): New.
4312 (struct breakpoint): Add ops member.
4313
4314 * breakpoint.c (print_bp_stop_message, print_one_breakpoint)
4315 (mention): Use new breakpoint ops member.
4316 (set_raw_breakpoint): Initialize ops field to NULL.
4317 (print_exception_catchpoint, print_one_exception_catchpoint)
4318 (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New.
4319 (gnu_v3_exception_catchpoint_ops): New.
4320 (catch_exception_command_1): Call handle_gnu_v3_exceptions.
4321
1fbec6c3
AF
43222003-04-25 Adam Fedor <[email protected]>
4323
4324 * Makefile.in (COMMON_OBS): Add objc-lang.o
4325
0ef21242
AC
43262003-04-25 Andrew Cagney <[email protected]>
4327
4328 * d10v-tdep.c (print_insn): Delete function.
4329 (display_trace): Use TARGET_PRINT_INSN.
4330 (_initialize_d10v_tdep): Do not set tm_print_insn.
4331 (d10v_gdbarch_init): Set print_insn.
4332
f75493ed
AC
43332003-04-25 Andrew Cagney <[email protected]>
4334
4335 * d10v-tdep.c (d10v_extract_return_value): Delete call to printf.
4336 (_initialize_d10v_tdep): Use add_setshow_boolean_cmd.
4337 (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC.
4338 (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ...
4339 (nr_dmap_regs, a0_regnum): ... new functions.
4340 (d10v_print_registers_info): Use a0_regnum, use register_size.
4341 (d10v_register_byte): Delete function.
4342 (d10v_register_raw_size): Delete function.
4343 (d10v_register_type): Use a0_regnum.
4344 (d10v_print_registers_info): Use a0_regnum.
4345 (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM.
4346 (d10v_gdbarch_init): Do not set register_byte or
4347 register_raw_size, use D10V_SP_REGNUM to set sp_regnum.
4348 (d10v_pointer_to_address): Use extract_unsigned_integer instead of
4349 extract_address.
4350 (trace_command): Use XCALLOC.
4351 (print_insn): Delete reference to tm_print_insn.
4352 (saved_regs_unwinder): Use store_unsigned_integer instead of
4353 store_address.
4354 * frame.h (FRAME_OBSTACK_CALLOC): Define
4355
2202b100
DC
43562003-04-25 David Carlton <[email protected]>
4357
4358 * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp.
4359
4e45ca2e
AF
43602003-04-24 Adam Fedor <[email protected]>
4361
4362 * objc-lang.c: Include "valprint.h"
4363 * Makefile.in (objc-lang.o): Update dependencies.
4364
93de3e7f
AF
43652003-04-24 Adam Fedor <[email protected]>
4366
8ffd9b1b 4367 * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove
93de3e7f
AF
4368 architecture dependant compilation and mark as unimplemented
4369 (until they get put in the gdbarch vector).
4370
0f20eeea
DC
43712003-04-23 David Carlton <[email protected]>
4372
4373 * cp-support.c (cp_find_first_component): Accept 'operator' in
4374 more locations.
4375
74cfe982
AC
43762003-04-23 Andrew Cagney <[email protected]>
4377
4378 * infcall.c (call_function_by_hand): Eliminate redundant
4379 indentation. Move "saved_async" and "old_cleanups" to where they
4380 are needed.
8ffd9b1b 4381
52557533
AC
43822003-04-23 Andrew Cagney <[email protected]>
4383
4384 * infcall.c (call_function_by_hand): Eliminate the variables "rc"
4385 and "buffer". Move the "name" code to where it is needed.
4386
158775de
AC
43872003-04-23 Andrew Cagney <[email protected]>
4388
4389 * infcall.c (call_function_by_hand): Move variables "start_sp",
4390 "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call
4391 code to ON_STACK switch branch.
8ffd9b1b 4392
ebc7896c
AC
43932003-04-23 Andrew Cagney <[email protected]>
4394
4395 * infcall.c (call_function_by_hand): Make declaration of "i",
4396 "sal", "bpt" and "old_sp" more local to their use. Delete #if
4397 lint.
4398
d727590f
AC
43992003-04-23 Andrew Cagney <[email protected]>
4400
4401 * infcall.c (call_function_by_hand): Delete variable
4402 "n_method_args". Localize "param_type"'s declaration to the loop
4403 that it is used. Reinstate code assigning to said variable -
4404 deleted on 2002-06-14. Rationalize calls to value_args_coerce.
4405 Rationalize code using "param_type".
4406
d585e13a
AC
44072003-04-22 Andrew Cagney <[email protected]>
4408
4409 * infcall.c (call_function_by_hand): Use new variable "bp_addr" to
4410 compute the breakpoint address. Only call FIX_CALL_DUMMY when
4411 ON_STACK. Eliminate the variable "addr". Do not pass "real_pc"
4412 to DEPRECATED_PUSH_RETURN_ADDRESS.
4413
051caad9
KB
44142003-04-22 Kevin Buettner <[email protected]>
4415
4416 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM
4417 on the DWARF2 register number prior to fetching a register.
4418
77296879
JB
44192003-04-22 J. Brobecker <[email protected]>
4420
4421 * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro.
4422 Update all the tests using SOFT_FLOAT considering the fact that
8ffd9b1b 4423 this macro was always set to 0.
77296879
JB
4424 * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT
4425 considering the fact that this macro was always set to 0.
4426 * hppa-tdep.h (hppa_store_return_value): Likewise.
4427 (hppa_extract_return_value): Likewise.
4428
4252f1df
JB
44292003-04-22 J. Brobecker <[email protected]>
4430
4431 * config/pa/tm-hppa.h: Remove obsolete code, was used by
4432 the hppa-pro target only.
4433
14604c6b
JB
44342003-04-21 J. Brobecker <[email protected]>
4435
4436 Ongoing multi-arch conversion effort for HP/UX:
4437 * config/pa/tm-hppa.h: Move all macro that are no longer
4438 defined now that GDB_MULTI_ARCH is now set to 1 from here...
4439 * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet).
4440
77eb01d1
JB
44412003-04-21 J. Brobecker <[email protected]>
4442
4443 * config/pa/tm-hppa.h: Obsolete a section that was only used
4444 for hppa-pro.
4445
61995b3b
JB
44462003-04-21 J. Brobecker <[email protected]>
4447
4448 Ongoing multi-arch conversion for HP/UX.
4449 * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define
4450 if already defined (allows hppa64 to stay non-multiarched for now).
4451 * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define.
4452
4aa79dcc
AC
44532003-04-21 Andrew Cagney <[email protected]>
4454
4455 * frame.c (frame_id_eq): Fail when the code_addr's do not match.
4456
0f751ff2
AC
44572003-04-21 Andrew Cagney <[email protected]>
4458
4459 * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with
4460 "i386_num_mmx_regs".
4461
04714b91
AC
44622003-04-21 Andrew Cagney <[email protected]>
4463
4464 * infcall.c: New file.
4465 * infcall.h: New file.
4466 * valarith.c: Include "infcall.h".
4467 * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
4468 * eval.c, ada-valprint.c, ada-lang.c: Ditto.
4469 * Makefile.in (valarith.o, scm-lang.o): Update dependencies.
4470 (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
4471 (eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
4472 (SFILES): Add "infcall.c"
4473 (COMMON_OBS): Add "infcall.o".
4474 (infcall.o): Specify dependencies.
4475 * value.h (call_function_by_hand): Delete declaration.
4476 * inferior.h (run_stack_dummy): Delete declaration.
4477 * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
4478 (run_stack_dummy): Move to "infcall.c", merged into
4479 call_function_by_hand.
4480 * valops.c (call_function_by_hand): Moved to "infcall.c".
4481 (find_function_addr, value_arg_coerce): Ditto.
4482 (unwindonsignal_p, coerce_float_to_double): Ditto.
4483 (_initialize_valops): Move "set/show coerce-float-to-double", and
4484 "set/show unwindonsignal" commands to "infcall.c".
4485 * v850-tdep.c, target.h: Update comments.
4486 * sparc-tdep.c (sparc_fix_call_dummy): Update comments.
4487 * sh-tdep.c (sh_init_extra_frame_info): Update comments.
4488 (sh64_init_extra_frame_info): Update comments.
4489 * mn10300-tdep.c: Update comments.
4490 * mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
4491 * config/sparc/tm-sparc.h: Update comments.
4492 * breakpoint.h: Update comments.
4493 * avr-tdep.c (avr_init_extra_frame_info): Update comments.
4494 * arm-tdep.c: Update comment.
4495
f9d3c2a8
MK
44962003-04-19 Mark Kettenis <[email protected]>
4497
c40e1eab
MK
4498 * i386-tdep.c (i386_num_register_names): New variable.
4499 (i386_num_mmx_regs): Renamed from mmx_num_regs.
4500 (MM0_REGNUM): Remove redundant parentheses in define.
4501 (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs.
4502 (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p,
4503 i386_mxcsr_regnum_p): Remove redundant parentheses.
4504 (i386_register_name): Use i386_num_register_names.
8ffd9b1b 4505
94ea66b3
MK
4506 * i386-tdep.c (i386_extract_return_value,
4507 i386_store_return_value): Correct check for availability of
4508 floating-point registers.
4509
54299a1d
MK
4510 * i386-tdep.c (i386_frame_num_args): Remove function.
4511 (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown.
4512
c86c27af
MK
4513 * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from
4514 mmx_regnum_to_fp_regnum. Adjust all callers.
4515
f9d3c2a8
MK
4516 * i386-tdep.c (i386_get_longjmp_target): Use
4517 TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT
4518 and TARGET_CHAR_BIT. Use extract_typed_address instead of
4519 extract_address.
4520
94ba74a9
MK
45212003-04-19 Mark Kettenis <[email protected]>
4522
4523 * core-regset.c: Update comments to reflect reality. Re-order
4524 includes.
4525 (fetch_core_registers): Use switch instead of if. Remove
4526 redundant prototype.
4527
4074e13c
JB
45282003-04-18 Jim Blandy <[email protected]>
4529
4530 * s390-tdep.c (s390_frame_align): New function.
fbe586ae 4531 (s390_gdbarch_init): Register it with the gdbarch object.
4074e13c 4532
e3ab4aba
RH
45332003-04-17 Richard Henderson <[email protected]>
4534
4535 * remote.c (minitelnet): Don't redeclare escape_count, echo_check.
4536
627bf7c1
EZ
45372003-04-17 Michael Snyder <[email protected]>
4538 Karen Bennet <[email protected]>
4539
4540 Committed by Elena Zannoni <[email protected]>
4541 * gdb_gcore.sh: New script to create a core dump of a process.
8ffd9b1b 4542
514621a9
EZ
45432003-04-17 Elena Zannoni <[email protected]>
4544
4545 * values.c (value_being_returned): Don't fetch the return
fbe586ae 4546 value if the return type is void.
514621a9 4547
b4acd559
JJ
45482003-04-17 Jeff Johnston <[email protected]>
4549
4550 * thread-db.c: Reindented.
8ffd9b1b 4551
530b167e 45522003-04-17 Jeff Johnston <[email protected]>
8ffd9b1b
AJ
4553
4554 * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t,
4555 td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t
530b167e
JJ
4556 as types.
4557
0a48e7e8
MS
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
8ffd9b1b 4581
ab9fe00e
KB
45822003-04-16 Kevin Buettner <[email protected]>
4583
610a3745 4584 * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set
ab9fe00e
KB
4585 the size of ``long double'' to 16, instead of 8.
4586
e64a344c
MK
45872003-04-16 Mark Kettenis <[email protected]>
4588
4589 * i386-linux-nat.c: Add some whitespace to make things more
4590 readable.
4591 (fetch_register, store_register, fetch_inferior_registers,
4592 store_inferior_registers): Get rid of assignment in if-statement.
4593 (store_register): Fix typo in error message.
4594
25d41031
AC
45952003-04-16 Andrew Cagney <[email protected]>
4596
4597 * utils.c (xmmalloc): Always allocate something, matches
4598 libiberty/xmalloc's semantics.
4599 (xmrealloc, xmcalloc): Ditto.
4600
c50901fd
AC
46012003-04-16 Andrew Cagney <[email protected]>
4602
4603 * frame.c (get_prev_frame): Do not initialize "unwind" or "type",
4604 update comments.
4605 (get_frame_type): Initialize unwind and type when needed.
4606 (get_frame_id, frame_register_unwind): Ditto.
4607
f81824a9
AC
46082003-04-16 Andrew Cagney <[email protected]>
4609
4610 * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made
4611 obsolete.
4612 * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code.
4613 * sparcl-stub.c: Obsolete file.
4614 * config/sparc/tm-sparclet.h: Obsolete file.
4615 * sparclet-stub.c: Obsolete file.
4616 * sparclet-rom.c: Obsolete file.
4617 * sparcl-tdep.c: Obsolete file.
4618 * config/sparc/tm-sparclite.h: Obsolete file.
4619 * config/sparc/sparclite.mt: Obsolete file.
4620 * config/sparc/sparclet.mt: Obsolete file.
4621 * configure.tgt: Make sparclet-*-*, sparclite-*-*, and
4622 sparc86x-*-* obsolete.
4623
9219021c
DC
46242003-04-15 David Carlton <[email protected]>
4625
4626 * Makefile.in (SFILES): Add cp-namespace.c.
4627 (COMMON_OBS): Add cp-namespace.o.
4628 (block.o): Depend on gdb_obstack_h and cp_support_h.
4629 (buildsym.o): Depend on cp_support_h.
4630 (cp-namespace.o): New.
4631 (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
4632 gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
4633 (dwarf2read.o): Depend on cp_support_h.
4634 * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
4635 * dwarf2read.c (process_die): Set processing_has_namespace_info,
4636 processing_current_namespace.
4637 (read_namespace): Update processing_current_namespace; check for
4638 anonymous namespaces.
4639 (dwarf2_name): New function.
4640 (dwarf2_extension): Ditto.
4641 * cp-support.h: Update copyright, contributors.
4642 Add inclusion guards.
4643 Add opaque declaration for structs obstack, block, symbol.
4644 (struct using_direct): New struct.
4645 Add declarations for cp_find_first_component,
4646 cp_entire_prefix_len, processing_has_namespace_info,
4647 processing_current_namespace, cp_is_anonymous,
4648 cp_add_using_directive, cp_initialize_namespace,
4649 cp_finalize_namespace, cp_set_block_scope,
4650 cp_scan_for_anonymous_namespaces.
4651 * cp-namespace.c: New file.
4652 * cp-support.c: Update copyright.
4653 Include ctype.h, gdb_assert.h, gdbcmd.h.
4654 New variable maint_cplus_cmd_list.
4655 (cp_find_first_component): New function.
4656 (cp_entire_prefix_len, maint_cplus_command)
4657 (first_component_command, _initialize_cp_support): Ditto.
4658 * buildsym.c: Include cp-support.h.
4659 New variable using_list.
4660 (add_symbol_to_list): Check for anonymous namespaces.
4661 (finish_block): Set block's scope.
4662 (start_symtab): Initialize C++ namespace support.
4663 (end_symtab): Finalize C++ namespace support.
4664 * block.h: Add opaque declarations for structs
4665 block_namespace_info, using_direct, and obstack.
4666 Add declarations for block_set_scope and block_set_using.
4667 (struct block): Add 'language_specific' member.
4668 (BLOCK_NAMESPACE): New macro.
4669 * block.c: Include gdb_obstack.h and cp-support.h.
4670 (struct block_namespace_info): New struct.
4671 (block_set_scope): New function.
4672 (block_set_using, block_initialize_namespace): Ditto.
4673
d5a921c9
KB
46742003-04-14 Kevin Buettner <[email protected]>
4675
4676 * solib-svr4.c (svr4_have_link_map_offsets): New function.
4677 (locate_base): Return early if there aren't any link map offsets.
4678 (svr4_solib_create_inferior_hook): Warn if shared library support
4679 is unavailable.
4680
d2a52b27
DC
46812003-04-14 David Carlton <[email protected]>
4682
4683 * symtab.c (symbol_set_names): Add prefix when storing Java names
4684 in hash table. Fix for PR java/1039.
4685
980cae7a
DC
46862003-04-14 David Carlton <[email protected]>
4687
4688 * symtab.c (symbol_set_names): Rename 'name' arg to
4689 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'.
4690 * symtab.h: Change 'name' argument in declaration of
4691 symbol_set_names to 'linkage_name'.
4692 (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'.
4693
e227b13c
AC
46942003-04-14 Andrew Cagney <[email protected]>
4695
4696 * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE,
4697 return the fully sign-extended register value.
4698 (get_frame_pointer): Ditto.
4699 (mips_pop_frame): Initialize "proc_desc" after checking for a
4700 dummy frame.
4701
36712a20
AC
47022003-04-14 Andrew Cagney <[email protected]>
4703
4704 * mips-tdep.c (mips_push_dummy_frame): Delete function.
4705 (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros.
4706 (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro.
4707 (mips_push_register): Delete function.
4708 (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and
4709 PUSH_FP_REGNUM.
4710
44ea7b70
JB
47112003-04-14 Jim Blandy <[email protected]>
4712
4713 * symmisc.c: #include "gdb_regex.h".
4714 (maintenance_list_symtabs, maintenance_list_psymtabs): New
4715 functions.
4716 * maint.c (maintenance_list_command): New function.
4717 (_initialize_maint_cmds): Register the above as commands.
4718 * symtab.h (maintenance_list_symtabs,
4719 maintenance_list_psymtabs): New declarations.
4720 * cli/cli-cmds.c (maintenancelistlist): New variable.
4721 (init_cmd_lists): Initialize it.
4722 * cli/cli-cmds.h (maintenancelistlist): New declaration.
4723 * gdbcmd.h (maintenancelistlist): New declaration.
4724 * Makefile.in (symmisc.o): Update dependencies.
4725
2d0c7962
EZ
47262003-04-14 Elena Zannoni <[email protected]>
4727
4728 * s390-nat.c: Include asm/types.h for addr_t.
4729
1947a811
CV
47302003-04-14 Corinna Vinschen <[email protected]>
4731
4732 * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with
4733 actually incoming type.
4734
adb616d7
AC
47352003-04-13 Andrew Cagney <[email protected]>
4736
4737 * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc,
4738 get_next_frame and get_frame_saved_regs.
4739
9b5e151c
AC
47402003-04-13 Andrew Cagney <[email protected]>
4741
4742 * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead
4743 of gdbarch_num_regs.
4744
ef6e7e13
AC
47452003-04-13 Andrew Cagney <[email protected]>
4746
4747 * frame.h: Mention what replaced what in "struct frame_info".
4748 * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and
4749 deprecated_update_frame_base_hack and
4750 deprecated_update_frame_pc_hack.
4751 * hppa-tdep.c: Ditto.
4752
61fbb938
DJ
47532003-04-13 Daniel Jacobowitz <[email protected]>
4754
4755 * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments
4756 to read_reg and update its comment. Remove regnum member.
4757 * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval.
4758 Don't call read_reg when setting in_reg. Call read_reg to get
4759 the frame base if it's in a register. Return the register number
4760 on the stack instead of in the context. Remove extra arguments
4761 to read_reg.
4762 * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments.
4763 (dwarf2_evaluate_loc_desc): Call value_from_register. Expect
4764 the register number on the expression stack.
4765 (needs_frame_read_reg): Remove extra arguments.
4766
0d53c4c4
DJ
47672003-04-13 Daniel Jacobowitz <[email protected]>
4768
4769 * dwarf2expr.c (dwarf2_read_address): Renamed from read_address;
4770 made non-static.
4771 (execute_stack_op): All callers updated.
4772 * dwarf2expr.h: Add prototype for dwarf2_read_address.
4773 * dwarf2loc.c (find_location_expression): New function.
4774 (dwarf_expr_frame_base): Call it.
4775 (dwarf2_evaluate_loc_desc): Handle 0-length location expressions.
4776 (dwarf2_tracepoint_var_ref): New function, broken out from
4777 locexpr_tracepoint_var_ref.
4778 (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref.
4779 Make static.
4780 (loclist_read_variable, loclist_read_needs_frame): New functions.
4781 (loclist_describe_location, loclist_tracepoint_var_ref): New
4782 functions.
4783 (dwarf2_loclist_funcs): New struct location_funcs.
4784 * dwarf2loc.h (struct dwarf2_loclist_baton): New type.
4785 (struct dwarf2_locexpr_baton): Add comments.
4786 (dwarf2_loclist_funcs): New extern.
4787 * dwarf2read.c (struct comp_unit_head): Remove DIE member, add
4788 base_address and base_known.
4789 (dwarf_loc_buffer): New variable.
4790 (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size.
4791 (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros.
4792 (dwarf2_has_info): Initialize dwarf_loc_offset.
4793 (dwarf2_build_psymtabs): Read in .debug_loc.
4794 (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and
4795 DWARF_LOC_SIZE.
4796 (psymtab_to_symtab_1): Likewise. Move base address calculation
4797 here, from...
4798 (dwarf2_get_pc_bounds): ... here. Use the base address from
4799 cu_header.
4800 (dwarf2_symbol_mark_computed): Handle location lists.
4801
6aca59a3
DJ
48022003-04-13 Daniel Jacobowitz <[email protected]>
4803
4804 * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode
4805 if the linkage name demangled successfully.
4806
aca1fcd0
MK
48072003-04-13 Mark Kettenis <[email protected]>
4808
97095916
MK
4809 * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours,
4810 disassmbly_flavour): Removed.
4811
aca1fcd0
MK
4812 * x86-64-tdep.c (gdb_print_insn_x86_64): Removed.
4813
562a961f
MK
48142003-04-13 Mark Kettenis <[email protected]>
4815
4816 * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed.
4817
bd013d54
AC
48182003-04-12 Andrew Cagney <[email protected]>
4819
4820 * frame.h (struct frame_info): Move definition from here ...
4821 * frame.c (struct frame_info): ... to here.
4822
167ef8b1
AC
48232003-04-12 Andrew Cagney <[email protected]>
4824
4825 * gdbthread.h (save_infrun_state): Delete parameter
4826 "prev_func_start".
4827 (struct thread_info): Delete field "prev_func_start".
4828 (load_infrun_state): Ditto.
4829 * thread.c (load_infrun_state, save_infrun_state): Update.
4830 * infrun.c (prev_func_start): Delete variable.
4831 (context_switch, init_wait_for_inferior): Update.
4832 (stop_stepping, keep_going): Update.
4833
da3331ec
AC
48342003-04-12 Andrew Cagney <[email protected]>
4835
4836 * gdbarch.sh: Add missing opaque declarations.
4837 * gdbarch.h: Regnerate.
4838 * symtab.h: Add missing opaque declarations.
4839 * value.h, target.h, symfile.h, stabsread.h: Ditto.
4840 * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto.
4841 * srec.h, solib-svr4.h, source.h, inferior.h: Ditto.
4842 * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto.
4843 * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto.
4844 * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto.
4845 * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto.
4846 * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto.
4847 * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto.
4848 * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto.
4849 * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto.
4850 * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto.
4851 * cli/cli-setshow.h, cli/cli-script.h: Ditto.
4852
18adea3f
AC
48532003-04-11 Andrew Cagney <[email protected]>
4854
4855 * frame.c (get_frame_id): Return this frame's "id".
4856 (legacy_get_prev_frame): Set prev's frame ID code_addr to the
4857 function start.
4858 (legacy_saved_regs_this_id): Replace function body with
4859 internal-error.
4860 (deprecated_frame_xmalloc): Mark the frame ID as valid, use
4861 FRAME_OBSTACK_ZALLOC.
4862 (create_new_frame): Mark the frame ID as valid.
4863
2252e863
AO
48642003-04-11 Alexandre Oliva <[email protected]>
4865
4866 * Makefile.in (libbfd_h): Added missing setting.
4867 * mips-tdep.c (mips_gdbarch_init): Set disassembler_options
4868 according to the selected ABI.
4869
a8245ab8
JJ
48702003-04-11 Jeff Johnston <[email protected]>
4871
4872 * gdb_indent.sh: Recognize pid_t and sigset_t as types.
4873
6913c89a
AC
48742003-04-11 Andrew Cagney <[email protected]>
4875
4876 * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate
4877 SAVED_PC_AFTER_CALL.
4878 * gdbarch.h, gdbarch.c: Regenerate.
4879 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
4880 * x86-64-tdep.c (x86_64_init_abi): Update.
4881 * vax-tdep.c (vax_gdbarch_init): Update.
4882 * v850-tdep.c (v850_gdbarch_init): Update.
4883 * sparc-tdep.c (sparc_gdbarch_init): Update.
4884 * sh-tdep.c (sh_gdbarch_init): Update.
4885 * s390-tdep.c (s390_gdbarch_init): Update.
4886 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
4887 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
4888 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
4889 * mips-tdep.c (mips_gdbarch_init): Update.
4890 * mcore-tdep.c (mcore_gdbarch_init): Update.
4891 * m68k-tdep.c (m68k_gdbarch_init): Update.
4892 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
4893 * ia64-tdep.c (ia64_gdbarch_init): Update.
4894 (ia64_saved_pc_after_call): Update declaration.
4895 * i386ly-tdep.c (i386lynx_init_abi): Update.
4896 * i386-tdep.c (i386_gdbarch_init): Update.
4897 * hppa-tdep.c (hppa_gdbarch_init): Update.
4898 * h8300-tdep.c (h8300_gdbarch_init): Update.
4899 * frv-tdep.c (frv_gdbarch_init): Update.
4900 * cris-tdep.c (cris_gdbarch_init): Update.
4901 * avr-tdep.c (avr_gdbarch_init): Update.
4902 * arm-tdep.c (arm_gdbarch_init): Update.
4903 * alpha-tdep.c (alpha_gdbarch_init): Update.
4904 * ns32knbsd-nat.c (frame_num_args): Update.
4905 * ns32k-tdep.c (umax_frame_num_args): Update.
4906 * mips-tdep.c (mips_init_frame_pc_first): Update.
4907 * infrun.c (step_over_function): Update.
4908 * i386-linux-tdep.c (skip_hurd_resolver): Update.
4909 * i386-interix-tdep.c (i386_interix_back_one_frame): Update.
4910 * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
4911 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
4912 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
4913 * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
4914 * arm-linux-tdep.c (skip_hurd_resolver): Update.
4915 * arch-utils.c (init_frame_pc_default): Update.
4916 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
4917 * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update
4918 declaration.
8ffd9b1b 4919
38edeab8
AC
49202003-04-11 Andrew Cagney <[email protected]>
4921
4922 * i387-tdep.c: Update copyright.
4923 (i387_to_double): Delete function.
4924 (double_to_i387): Delete function.
4925
81f8a206
AC
49262003-04-10 Andrew Cagney <[email protected]>
4927
4928 * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the
4929 frame's function's address. Simplify.
4930 (d10v_frame_unwind_cache): Check that the frame's function is
4931 non-zero.
4932
6e691f7a
JB
49332003-04-10 Jim Blandy <[email protected]>
4934
4935 * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted
4936 call to set_gdbarch_deprecated_push_arguments.
4937
7f78e237
AC
49382003-04-10 Andrew Cagney <[email protected]>
4939
4940 * frame.c (fprint_frame_id): New function.
4941 (fprint_frame_type, fprint_frame): New function.
4942 (frame_pc_unwind, frame_func_unwind): Add/update trace code.
4943 (create_sentinel_frame, get_frame_id): Ditto.
4944 (frame_id_p, frame_id_eq): Ditto.
4945 (frame_id_inner, create_new_frame): Ditto.
4946 (legacy_get_prev_frame, get_prev_frame): Ditto.
4947 (deprecated_update_frame_pc_hack): Ditto.
4948 (frame_register_unwind): Ditto.
4949 (deprecated_update_frame_base_hack): Ditto.
4950
f870b49b
CV
49512003-04-10 Corinna Vinschen <[email protected]>
4952
4953 * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
4954 (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new
4955 frame_chain function.
4956 * Makefile.in: Add dependencies due to above change.
4957
7c86889b
CV
49582003-04-10 Corinna Vinschen <[email protected]>
4959
4960 * blockframe.c (legacy_frame_chain_valid): Move call to
4961 DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and
4962 inside_entry_file.
4963
d0a55772
AC
49642003-04-09 Andrew Cagney <[email protected]>
4965
4966 * frame.h (struct frame_id): Replace "pc" and "base" with
4967 "stack_addr" and "code_addr". Update comments.
4968 (frame_id_build): Update parameter names and comment.
4969 (struct frame_info): Replace "id_p" and "id" with "this_id".
4970 * dummy-frame.c (dummy_frame_this_id): Update.
4971 * breakpoint.c (print_one_breakpoint): Update.
4972 * frame.c (get_frame_id): Update.
4973 (get_frame_base, frame_id_build): Update.
4974 (create_sentinel_frame, legacy_get_prev_frame): Update.
4975 (deprecated_update_frame_base_hack): Update.
4976 (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID.
4977 (frame_id_inner): Ditto.
4978
ac16bf07
AC
49792003-04-09 Andrew Cagney <[email protected]>
4980
4981 * defs.h (gdb_print_host_address): Make "addr" parameter a
4982 pointer constant.
4983 * utils.c (gdb_print_host_address): Update.
4984
366cfc9e
KB
49852003-04-09 Kevin Buettner <[email protected]>
4986
4987 * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
4988 register number for R0 is 0.
4989
cd983b5c
JB
49902003-04-09 J. Brobecker <[email protected]>
4991
4992 * frame.h (struct gdbarch): Add opaque structure definition
4993 to avoid a compilation warning on LynxOS 4.0.
4994
d1340264
AC
49952003-04-09 Andrew Cagney <[email protected]>
4996
4997 * frame.h (struct frame_info): Delete field "pc". Replace
4998 "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc"
4999 structure.
5000 * frame.c (frame_pc_unwind): Update.
5001 (create_sentinel_frame): Do not set "pc".
5002 (get_prev_frame): Do not set "pc". Use frame_pc_unwind.
5003 (get_frame_pc): Call frame_pc_unwind.
5004 (deprecated_update_frame_pc_hack): Update.
5005 (create_new_frame): Use "pc" not "->pc".
5006
90a6fffb
AC
50072003-04-09 Andrew Cagney <[email protected]>
5008
5009 * frame.c (get_frame_id): Eliminate code updating "frame".
5010 (legacy_get_prev_frame): Ditto.
5011 (get_frame_base): Return id.base directly.
5012 (deprecated_update_frame_base_hack): Update "id.base".
5013 * frame.h (struct frame_info): Delete field "frame".
5014
2fbce691
AC
50152003-04-09 Andrew Cagney <[email protected]>
5016
5017 * NEWS: Mention that the "Sequent family" is obsolete.
5018 * configure.tgt: Obsolete i[3456]86-sequent-bsd*,
5019 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
5020 * configure.host: Obsolete i[3456]86-sequent-bsd*,
5021 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
5022 * config/i386/tm-ptx4.h: Obsolete file.
5023 * config/i386/tm-ptx.h: Obsolete file.
5024 * symm-tdep.c: Obsolete file.
5025 * config/i386/symmetry.mt: Obsolete file.
5026 * config/i386/tm-symmetry.h: Obsolete file.
5027 * symm-nat.c: Obsolete file.
5028 * config/i386/nm-symmetry.h: Obsolete file.
5029 * config/i386/xm-symmetry.h: Obsolete file.
5030 * config/i386/symmetry.mh: Obsolete file.
5031 * config/i386/nm-ptx4.h: Obsolete file.
5032 * config/i386/ptx4.mh: Obsolete file.
5033 * config/i386/ptx.mt: Obsolete file.
5034 * config/i386/ptx.mh: Obsolete file.
5035 * config/i386/xm-ptx4.h: Obsolete file.
5036 * config/i386/xm-ptx.h: Obsolete file.
5037
78c43945
AC
50382003-04-09 Andrew Cagney <[email protected]>
5039
5040 Obsolete mips*-*-mach3*.
5041 * NEWS: Mention that mips*-*-mach3* is obsolete.
5042 * m3-nat.c: Obsolete file.
5043 * config/nm-m3.h: Obsolete file.
5044 * config/mips/tm-mipsm3.h: Obsolete file.
5045 * config/mips/mipsm3.mt: Obsolete file.
5046 * config/mips/mipsm3.mh: Obsolete file.
5047 * config/mips/xm-mipsm3.h: Obsolete file.
5048 * mipsm3-nat.c: Obsolete file.
5049 * configure.host: Obsolete mips-dec-mach3*.
5050 * configure.tgt: Obsolete mips*-*-mach3*.
5051
f1908289
AC
50522003-04-09 Andrew Cagney <[email protected]>
5053
5054 * doublest.h: Update copyright.
5055 (deprecated_store_floating, deprecated_extract_floating): Rename
5056 store_floating and extract_floating. Update comments.
5057 * doublest.c: Update copyright.
5058 (extract_floating_by_length): Replace extract_floating.
5059 (store_floating_by_length): Replace store_floating.
5060 (deprecated_extract_floating): New function.
5061 (deprecated_store_floating): New function.
5062 (extract_typed_floating): Call extract_floating_by_length.
5063 (store_typed_floating): Call store_floating_by_length.
5064 * x86-64-tdep.c (x86_64_store_return_value): Update.
5065 * sh-tdep.c (sh3e_sh4_extract_return_value): Update.
5066 (sh64_extract_return_value): Update.
5067 (sh_sh4_register_convert_to_virtual): Update.
5068 (sh_sh64_register_convert_to_virtual): Update.
5069 (sh_sh4_register_convert_to_raw): Update.
5070 (sh_sh64_register_convert_to_raw): Update.
5071 * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update.
5072 (rs6000_register_convert_to_raw): Update.
5073 * ia64-tdep.c (ia64_register_convert_to_virtual): Update.
5074 (ia64_register_convert_to_raw): Update.
5075 * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update.
5076 (REGISTER_CONVERT_TO_VIRTUAL): Update.
5077 * arm-linux-tdep.c (arm_linux_push_arguments): Update.
5078 * alpha-tdep.c (alpha_register_convert_to_virtual): Update.
5079 (alpha_register_convert_to_raw): Update.
5080
4443bd83
AC
50812003-04-08 Andrew Cagney <[email protected]>
5082
5083 * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate.
5084 * gdbarch.h, gdbarch.c: Re-generate.
5085 * d10v-tdep.c (d10v_saved_pc_after_call): Delete function.
5086 (d10v_gdbarch_init): Do not set saved_pc_after_call.
5087 * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P
5088 conditionally, use frame_pc_unwind as an alternative. Add
5089 comments.
5090 * arch-utils.c (init_frame_pc_default): Only call
5091 SAVED_PC_AFTER_CALL when available.
5092
c0236d92
EZ
50932003-04-08 Elena Zannoni <[email protected]>
5094
fbe586ae 5095 * infrun.c (stop_soon): Rename from stop_soon_quietly.
c0236d92
EZ
5096 (struct inferior_status): Rename stop_soon_quietly field to stop_soon.
5097 (clear_proceed_status): Rename stop_soon_quietly to stop_soon.
5098 (start_remote): Ditto.
5099 (handle_inferior_event): Ditto.
5100 (save_inferior_status): Ditto.
5101 (restore_inferior_status): Ditto.
5102 * infcmd.c (attach_command): Ditto.
5103 * fork-child.c (startup_inferior): Ditto.
fbe586ae 5104 * inferior.h (stop_soon): Rename from stop_soon_quietly.
c0236d92
EZ
5105 * alpha-tdep.c (heuristic_proc_start): Ditto.
5106 * mips-tdep.c (heuristic_proc_start): Ditto.
5107 * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto.
5108 * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
5109 * solib-osf.c (osf_solib_create_inferior_hook): Ditto.
5110 * solib-irix.c (irix_solib_create_inferior_hook): Ditto.
5111 * remote-vx.c (vx_create_inferior): Ditto.
5112
51132003-04-08 Elena Zannoni <[email protected]>
5114
5115 * infrun.c (stop_soon_quietly): Make it an enum, to better
5116 override the default behavior of handle_inferior_event.
5117 (clear_proceed_status): Update uses of stop_soon_quietly to
5118 reflect that it is now an enum.
5119 (start_remote): Ditto.
5120 (handle_inferior_event): Change logic a bit if stop_soon_quietly
5121 is set to handle the new GNU/Linux kernel behavior for
5122 attach/sigstop. Update uses of stop_soon_quietly.
5123 * inferior.h (enum stop_kind): New enum.
5124 * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP.
5125 Reset normal handle_inferior_event behavior, afterwards.
5126 * fork-child.c (startup_inferior): Update.
5127 * alpha-tdep.c (heuristic_proc_start): Update.
5128 * solib-svr4.c (svr4_solib_create_inferior_hook): Update.
5129 * solib-sunos.c (sunos_solib_create_inferior_hook): Update.
5130 * solib-osf.c (osf_solib_create_inferior_hook): Update.
5131 * solib-irix.c (irix_solib_create_inferior_hook): Update.
5132 * remote-vx.c (vx_create_inferior): Update.
5133 * mips-tdep.c (heuristic_proc_start): Update.
5134
1211bce3
EZ
51352003-04-07 Elena Zannoni <[email protected]>
5136
5137 * disasm.c (dump_insns): Move variables inside loop, or they will
fbe586ae 5138 be freed more than once, causing wild memory corruptions.
1211bce3 5139 (gdb_disassembly): Look for the substring "-thread",
fbe586ae 5140 instead of "-threads" in the target name, to make sure to find
8ffd9b1b 5141 the 'multi-thread' target. Also, make sure we do the right thing
fbe586ae 5142 with the "core" target.
1211bce3 5143
f0ef6b29
KB
51442003-04-07 Kevin Buettner <[email protected]>
5145
5146 * mips-tdep.c (mips_print_fp_register): New function, created from
5147 do_fp_register_row(). Registers are now (also) printed as hex.
5148 Only one register is printed per row.
5149 (mips_print_register, do_fp_register_row): Print floating point
5150 registers with mips_print_fp_register().
5151
8cf71652
AC
51522003-04-06 Andrew Cagney <[email protected]>
5153
5e488a7b
AC
5154 * valprint.h (inspect_it): Add extern declaration.
5155 * objc-lang.c (value_nsstring): Avoid assignment inside of "if".
5156 (selectors_info, classes_info): Ditto.
5157 (find_objc_msgcall): Fix indentation.
5158 (objc_printstr): Delete extern declarations.
5159
8cf71652
AC
5160 * arm-tdep.c (arm_frameless_function_invocation): Fix typo.
5161
e6ba3bc9
AC
51622003-04-06 Andrew Cagney <[email protected]>
5163
5164 * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid.
5165 Update comment.
5166 * frame.c (legacy_saved_regs_this_id): Update.
5167 (legacy_get_prev_frame): Update.
5168 * xstormy16-tdep.c: Update comment.
5169 * sparc-tdep.c (sparc_frame_chain): Update comment.
5170 * blockframe.c (legacy_frame_chain_valid): Update.
5171
55e1d7e7
AC
51722003-04-06 Andrew Cagney <[email protected]>
5173
996179ee
AC
5174 * valprint.c (val_print_type_code_int): Delete #ifdef
5175 PRINT_TYPELESS_INTEGER code.
5176
55e1d7e7
AC
5177 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
5178 (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial
5179 multi-arch definition.
5180 * gdbarch.h: Re-generate.
5181
43bd9a9e
AC
51822003-04-05 Andrew Cagney <[email protected]>
5183
5184 Eliminate FRAME_FIND_SAVED_REGS.
5185 * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp):
5186 Change FSR parameter to a pointer.
5187 * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP):
5188 Assume FSR parameter is a pointer.
5189 * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp):
5190 Make fsr a pointer.
5191 * hppa-tdep.c (hppa_frame_find_saved_regs): New function.
5192 (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make
5193 saved_regs a pointer.
5194 (hppa_frame_saved_pc): Ditto.
5195 (find_dummy_frame_regs): Make frame_saved_regs a pointer
5196 (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a
5197 pointer.
5198 (restore_pc_queue): Make fsr a pointer.
5199 (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer.
5200 (hppa_frame_chain): Make saved_regs a pointer, call
5201 hppa_frame_init_saved_regs.
5202 * sparc-tdep.c: Include "gdb_assert.h".
5203 (sparc_frame_find_saved_regs): Replace internal_error with
5204 gdb_assert.
5205 * remote-vxsparc.c (vx_read_register): Delete reference to
5206 FRAME_FIND_SAVED_REGS.
5207 * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS.
5208 * gdbarch.h: Regenerate.
5209 * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
5210 (deprecated_get_frame_saved_regs): Delete declaration.
5211 (struct frame_saved_regs): Delete definition.
5212 * frame.c (deprecated_get_frame_saved_regs): Delete function.
5213 * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare.
5214 (hppa_frame_find_saved_regs): Delete declaration.
5215 (FRAME_FIND_SAVED_REGS): Delete macro.
5216 (DEPRECATED_FRAME_INIT_SAVED_REGS): Define.
5217 * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete
5218 FRAME_FIND_SAVED_REGS in comment.
5219
be41e9f4
AC
52202003-04-05 Andrew Cagney <[email protected]>
5221
5222 * frame.c (frame_func_unwind, get_frame_func): New functions.
5223 * frame.h (get_frame_func, frame_func_unwind): Declare.
5224 (struct frame_info): Add field "prev_func" for caching the
5225 previous frame's function address.
5226 * arm-tdep.c (arm_frameless_function_invocation): Combine
5227 get_pc_function_start and get_frame_pc into get_frame_func.
5228 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
5229 (sh64_nofp_frame_init_saved_regs): Ditto.
5230 * s390-tdep.c (s390_function_start): Ditto.
5231 * rs6000-tdep.c (rs6000_pop_frame): Ditto.
5232 (rs6000_frameless_function_invocation): Ditto.
5233 (rs6000_frame_saved_pc): Ditto.
5234 * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto.
5235 * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto.
5236 * i386-tdep.c (i386_frameless_signal_p): Ditto.
5237 (i386_frame_init_saved_regs): Ditto.
5238 * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto.
5239 * d10v-tdep.c (d10v_frame_unwind_cache): Combine
5240 get_pc_function_start and frame_pc_unwind into frame_func_unwind.
5241 * cris-tdep.c (cris_frame_init_saved_regs): Ditto.
5242 * blockframe.c (frameless_look_for_prologue): Ditto.
5243
a01dd7cc
AC
52442003-04-05 Andrew Cagney <[email protected]>
5245
5246 * frame.c (legacy_get_prev_frame): Link prev to next at the
5247 function start. Update comments.
5248
5e5592e6
AC
52492003-04-05 Andrew Cagney <[email protected]>
5250
5251 * frame.c (get_frame_id): Update comment.
5252 (legacy_get_prev_frame): Update comment.
5253 * gdbarch.sh: Delete check for EXTRA_FRAME_INFO.
5254 * gdbarch.h: Regenerate.
5255 * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete.
5256 * frame.h: Delete #ifdef EXTRA_FRAME_INFO code.
5257
6fba5002
AC
52582003-04-05 Andrew Cagney <[email protected]>
5259
5260 * stack.c (print_frame_info): Use get_frame_pc.
5261
7df05f2b
AC
52622003-04-04 Andrew Cagney <[email protected]>
5263
5264 * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set
5265 the frame's type from the unwinder.
5266 (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME.
5267 (create_new_frame, legacy_get_prev_frame): When the unwinder's
5268 type isn't UNKNOWN_FRAME, initalize "type" from the unwinder.
5269 (get_frame_base_address): Use get_frame_type.
5270 (get_frame_locals_address, get_frame_args_address): Ditto.
5271 (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE.
5272 * frame.h (enum frame_type): Add UNKNOWN_FRAME.
5273 (struct frame_info): Add comment explaining why the frame contains
5274 a "type" field.
5275 * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME.
5276 * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME.
5277 * sentinel-frame.c (sentinel_frame_unwinder): Set the type to
5278 NORMAL_FRAME.
5279 * frame-unwind.h: Include "frame.h".
5280 (struct frame_unwind): Add "type" field.
5281 * Makefile.in (frame_unwind_h): Add $(frame_h).
8ffd9b1b 5282
11889732
AC
52832003-04-04 Andrew Cagney <[email protected]>
5284
5285 * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build.
5286 * dummy-frame.c (dummy_frame_this_id): Use frame_id_build.
5287 * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and
5288 get_frame_base.
5289 (d10v_unwind_dummy_id): Use frame_id_build.
5290 * frame.c (find_frame_sal): Use get_frame_pc.
5291 (create_new_frame): Use deprecated_update_frame_pc_hack and
5292 deprecated_update_frame_base_hack.
5293 (create_sentinel_frame): Add comment about ->pc going away.
5294 (get_prev_frame): Add comment about ->pc going away.
5295 (legacy_get_prev_frame): Use get_frame_base, get_frame_pc,
5296 frame_id_build, deprecated_update_frame_pc_hack and
5297 deprecated_update_frame_base_hack.
5298 (select_frame): Use get_frame_pc.
5299 (legacy_saved_regs_this_id): Use frame_id_build.
5300
50c46a0d
EZ
53012003-04-04 Elena Zannoni <[email protected]>
5302
fbe586ae
RH
5303 * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the
5304 signed integer case.
5305 (classify_argument): Handle enumerations and references.
50c46a0d 5306
50bbdbd9
AC
53072003-04-04 Andrew Cagney <[email protected]>
5308
5309 * frame.c (create_sentinel_frame): Initialize the sentinel frame's
5310 ID to NULL.
5311
36018d2e
AF
53122003-04-01 Adam Fedor <[email protected]>
5313
5314 * gdb/objc-lang.c (selectors_info): Replace calls to
5315 SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with
5316 SYMBOL_NATURAL_NAME.
5317 (classes_info, find_methods): Likewise.
5318
35cec841
KB
53192003-04-03 Kevin Buettner <[email protected]>
5320
5321 * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
5322 ``mach'' to the value determined by bfd_default_set_arch_mach().
5323
43136899
BR
53242003-04-02 Bob Rossi <[email protected]>
5325
5326 * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o".
5327 (SUBDIR_MI_SRCS): Add "mi-cmd-file.c".
5328 (mi-cmd-file.o): Update dependencies.
5329
040b99fd
KB
53302003-04-01 Kevin Buettner <[email protected]>
5331
5332 * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
5333 (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
5334
9a3d7dfd
AF
53352003-04-01 Adam Fedor <[email protected]>
5336
5337 * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
5338 * language.h (struct language_defn): Add la_demangle.
5339 (language_demangle): Declare.
5340 * language.c (language_demangle): New function.
5341 (unk_lang_demangle): Likewise.
5342 (unknown_language_defn, auto_language_defn, local_language_defn):
fbe586ae 5343 Add ukn_lang_demangle.
9a3d7dfd 5344 * ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
fbe586ae 5345 * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
9a3d7dfd
AF
5346 * c-lang.c (c_language_defn, asm_language_defn): Likewise.
5347 (cplus_language_defn): Add cplus_demangle for la_demangle element.
5348 * jv-lang.c (java_demangle): New function
5349 (java_language_defn): Use it for la_demangle element.
fbe586ae
RH
5350 * objc-lang.c (objc_demangle): Add options argument
5351 (objc_language_defn): Use objc_demangle for la_demangle element.
9a3d7dfd
AF
5352 * maint.c (maintenance_demangle): Replace switch with
5353 call to language_demangle.
5354 * utils.c (fprintf_symbol_filtered): Likewise.
5355
5e074003
AC
53562003-04-01 Andrew Cagney <[email protected]>
5357
5358 * printcmd.c (print_frame_nameless_args): Delete #ifdef
5359 NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
5360 PRINT_TYPELESS_INTEGER.
5361 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
5362 PUSH_RETURN_ADDRESS.
5363
270cb5d6
AC
53642003-04-01 Andrew Cagney <[email protected]>
5365
5366 * Makefile.in (d10v-tdep.o): Update dependencies.
5367 * d10v-tdep.c: Include "frame-base.h".
5368 (d10v_frame_unwind): Make constant.
5369 (d10v_frame_base_address): New function.
5370 (d10v_frame_base): New variable.
5371 (d10v_gdbarch_init): Set frame_base default.
5372 (struct d10v_unwind_cache): Add the field "prev_sp". Update
5373 comment for base.
5374 (d10v_frame_unwind_cache): Set and use "prev_sp".
5375 (d10v_frame_this_id): Use the previous frame's inner most stack
5376 address and this frame's func address for the frame ID. Use
5377 frame_id_build. Don't analyze beyond the current instruction.
8ffd9b1b 5378
6bfb3e36
AC
53792003-04-01 Andrew Cagney <[email protected]>
5380
5381 * frame.h (get_frame_locals_address, get_frame_args_address):
5382 Refer to the base address, instead of the address of the first
5383 local or parameter.
8ffd9b1b 5384
da62e633
AC
53852003-04-01 Andrew Cagney <[email protected]>
5386
5387 Add frame debug info addresses:
5388 * frame-base.c: New file.
5389 * frame-base.h: New file.
5390 * frame.h (struct frame_base): Add opaque declaration.
5391 (get_frame_base): Update comment.
5392 (get_frame_base_address): Declare.
5393 (get_frame_locals_address): Declare.
5394 (get_frame_args_address): Declare.
5395 (struct frame_info): Add "base" and "base_cache". Update
5396 comments on the unwinder.
5397 * frame.c: Include "frame-base.h".
5398 (get_frame_locals_address): New function.
5399 (get_frame_base_address): New function.
5400 (get_frame_args_address): New function.
5401 * findvar.c (read_var_value): Use get_frame_locals_address and
5402 get_frame_args_address.
5403 * stack.c (frame_info): Use get_frame_locals_address and
5404 get_frame_args_address.
5405 (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
5406 moved to "frame-base.c".
5407 * printcmd.c (print_frame_nameless_args): Ditto.
5408 * symtab.h (address_class): Update comments.
5409 * dwarf2loc.c (dwarf_expr_frame_base): Add note about
5410 get_frame_base_address.
5411 * dwarf2expr.c (execute_stack_op): Ditto.
5412 * Makefile.in (frame_base_h): Define.
5413 (frame.o): Update dependencies.
5414 (frame-base.o): Add dependencies.
5415 (SFILES): Add frame-base.c.
5416 (COMMON_OBS): Add frame-base.o.
5417
3d30e9c2
AC
54182003-04-01 Andrew Cagney <[email protected]>
5419
5420 * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
5421 CALL_DUMMY_LENGTH): Ditto.
5422 * gdbarch.c: Re-generate.
5423 * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
5424 (CALL_DUMMY_LENGTH): Delete macro.
5425 * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
5426 * arm-tdep.c (arm_gdbarch_init): Ditto.
5427 * avr-tdep.c (avr_gdbarch_init): Ditto.
5428 * cris-tdep.c (cris_gdbarch_init): Ditto.
5429 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
5430 * frv-tdep.c (frv_gdbarch_init): Ditto.
5431 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
5432 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
5433 * i386-tdep.c (i386_gdbarch_init): Ditto.
5434 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
5435 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
5436 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
5437 * mips-tdep.c (mips_gdbarch_init): Ditto.
5438 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
5439 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
5440 * s390-tdep.c (s390_gdbarch_init): Ditto.
5441 * sh-tdep.c (sh_gdbarch_init): Ditto.
5442 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
5443 * v850-tdep.c (v850_gdbarch_init): Ditto.
5444 * vax-tdep.c (vax_gdbarch_init): Ditto.
5445 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
5446
ce0c7262
CV
54472003-04-01 Corinna Vinschen <[email protected]>
5448
5449 * frame.c (get_prev_frame): Disable call to inside_entry_file().
5450
73dd234f
AC
54512003-04-01 Andrew Cagney <[email protected]>
5452
5453 * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
5454 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
5455 * gdbarch.h, gdbarch.c: Re-generate.
5456 * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
5457 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
5458 * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
5459 * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
5460 (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
5461 * infcmd.c (run_stack_dummy): Simplify assuming
5462 CALL_DUMMY_BREAKPOINT_OFFSET_P.
5463 * infrun.c (handle_inferior_event): Ditto.
5464 * alpha-tdep.c (alpha_gdbarch_init): Do not set
5465 call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
5466 * arm-tdep.c (arm_gdbarch_init): Ditto.
5467 * avr-tdep.c (avr_gdbarch_init): Ditto.
5468 * cris-tdep.c (cris_gdbarch_init): Ditto.
5469 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
5470 * frv-tdep.c (frv_gdbarch_init): Ditto.
5471 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
5472 * i386-tdep.c (i386_gdbarch_init): Ditto.
5473 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
5474 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
5475 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
5476 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
5477 * mips-tdep.c (mips_gdbarch_init): Ditto.
5478 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
5479 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
5480 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
5481 * s390-tdep.c (s390_gdbarch_init): Ditto.
5482 * sh-tdep.c (sh_gdbarch_init): Ditto.
5483 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
5484 * v850-tdep.c (v850_gdbarch_init): Ditto.
5485 * vax-tdep.c (vax_gdbarch_init): Ditto.
5486 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
5487
97606a13
DJ
54882003-04-01 Daniel Jacobowitz <[email protected]>
5489
5490 * symfile.c (symfile_relocate_debug_section): Update call to
5491 bfd_simple_get_relocated_section_contents.
5492
e8ab51f7
AC
54932003-03-31 Andrew Cagney <[email protected]>
5494
5495 * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
5496 * gdbarch.h, gdbarch.c: Regenerate.
5497 * inferior.h (FIX_CALL_DUMMY): Delete macro.
5498 * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
5499 available.
5500 * frame.h (generic_fix_call_dummy): Delete declaration.
5501 * dummy-frame.h: Update comment.
5502 * dummy-frame.c (generic_fix_call_dummy): Delete function.
5503 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
5504 fix_call_dummy.
5505 * sh-tdep.c (sh_gdbarch_init): Ditto.
5506 * s390-tdep.c (s390_gdbarch_init): Ditto.
5507 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
5508 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
5509 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
5510 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
5511 * i386-tdep.c (i386_gdbarch_init): Ditto.
5512 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
5513 * frv-tdep.c (frv_gdbarch_init): Ditto.
5514 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
5515 * cris-tdep.c (cris_gdbarch_init): Ditto.
5516 * avr-tdep.c (avr_gdbarch_init): Ditto.
5517 * arm-tdep.c (arm_gdbarch_init): Ditto.
5518
018d1b48
JB
55192003-03-31 J. Brobecker <[email protected]>
5520
5521 * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
5522 (INIT_FRAME_AP): Likewise.
5523 (EXTRA_FRAME_INFO): Likewise.
5524
e9a2674e
AC
55252003-03-31 Andrew Cagney <[email protected]>
5526
5527 * gdbarch.sh: Include "symfile.h".
5528 (CALL_DUMMY_ADDRESS): Default to entry_point_address.
5529 * gdbarch.h, gdbarch.c: Re-generate.
5530 * inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
5531 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
5532 call_dummy_address, the default is at entry_point_address.
5533 * v850-tdep.c (v850_gdbarch_init): Ditto.
5534 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
5535 * sh-tdep.c (sh_gdbarch_init): Ditto.
5536 * s390-tdep.c (s390_gdbarch_init): Ditto.
5537 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
5538 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
5539 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
5540 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
5541 * i386-tdep.c (i386_gdbarch_init): Ditto.
5542 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
5543 * frv-tdep.c (frv_gdbarch_init): Ditto.
5544 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
5545 * cris-tdep.c (cris_gdbarch_init): Ditto.
5546 * arm-tdep.c (arm_gdbarch_init): Ditto.
5547
e8a8712a
AC
55482003-03-31 Andrew Cagney <[email protected]>
5549
5550 * gdbarch.sh (CALL_DUMMY_P): Delete.
5551 * gdbarch.h, gdbarch.c: Re-generate.
5552 * inferior.h (CALL_DUMMY_P): Delete macro.
5553 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
5554 * vax-tdep.c (vax_gdbarch_init): Update.
5555 * v850-tdep.c (v850_gdbarch_init): Update.
5556 * sparc-tdep.c (sparc_gdbarch_init): Update.
5557 * sh-tdep.c (sh_gdbarch_init): Update.
5558 * s390-tdep.c (s390_gdbarch_init): Update.
5559 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
5560 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
5561 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
5562 * mips-tdep.c (mips_gdbarch_init): Update.
5563 * mcore-tdep.c (mcore_gdbarch_init): Update.
5564 * m68k-tdep.c (m68k_gdbarch_init): Update.
5565 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
5566 * ia64-tdep.c (ia64_gdbarch_init): Update.
5567 * i386-tdep.c (i386_gdbarch_init): Update.
5568 * h8300-tdep.c (h8300_gdbarch_init): Update.
5569 * frv-tdep.c (frv_gdbarch_init): Update.
5570 * d10v-tdep.c (d10v_gdbarch_init): Update.
5571 * cris-tdep.c (cris_gdbarch_init): Update.
5572 * breakpoint.c (deprecated_frame_in_dummy): Update.
5573 * avr-tdep.c (avr_gdbarch_init): Update.
5574 * alpha-tdep.c (alpha_gdbarch_init): Update.
5575 * arm-tdep.c (arm_gdbarch_init): Update.
5576 * dummy-frame.c (dummy_frame_this_id): Update comments.
5577 * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
5578 * frame.c (legacy_get_prev_frame): Ditto.
5579 * valops.c (call_function_by_hand): Delete function.
5580 (hand_function_call): Rename to call_function_by_hand
5581
ed234cf8
AC
55822003-03-30 Andrew Cagney <[email protected]>
5583
5584 2002-11-10 Klee Dienes <[email protected]>
fbe586ae 5585 * value.h (struct value): Update comment.
ed234cf8 5586
06c77151
AC
55872003-03-30 Andrew Cagney <[email protected]>
5588
6c2b5168
AC
5589 * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
5590 D10V_FP_REGNUM.
5591 (d10v_gdbarch_init): Do not set fp_regnum.
5592
06c77151
AC
5593 * frame.c (get_frame_base): Force ID initialization.
5594 (get_prev_frame): Move computation of the frame ID from here ...
5595 (get_frame_id): ... to here.
5596 (legacy_get_prev_frame): Mark the frame ID as valid.
5597 * frame.h (struct frame_info): Add field "id_p".
5598
97a1a11c
MK
55992003-03-30 Mark Kettenis <[email protected]>
5600
5601 * i386-tdep.c (i386_store_struct_return): Removed.
5602 (i386_gdbarch_init): Don't set deprecated_store_struct_return.
5603
6c0e89ed
AC
56042003-03-30 Andrew Cagney <[email protected]>
5605
5606 * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
5607 * gdbarch.h, gdbarch.c: Regenerate.
5608 * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
5609 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
5610 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
5611 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
5612 * i386-tdep.c (i386_gdbarch_init): Ditto.
5613 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
5614 * cris-tdep.c (cris_gdbarch_init): Ditto.
5615 * vax-tdep.c (vax_gdbarch_init): Ditto.
5616 * s390-tdep.c (s390_gdbarch_init): Ditto.
5617 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
5618 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
5619 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
5620 * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
5621 * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
5622 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
5623 * sparc-tdep.c (sparc_gdbarch_init): Update.
5624 * sh-tdep.c (sh_gdbarch_init): Update.
5625 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
5626 * mips-tdep.c (mips_gdbarch_init): Update.
5627 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
5628 * ia64-tdep.c (ia64_gdbarch_init): Update.
5629 * frv-tdep.c (frv_gdbarch_init): Update.
5630 * avr-tdep.c (avr_gdbarch_init): Update.
5631 * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
5632 DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
5633 instead of when push_dummy_call is not available.
8ffd9b1b 5634
f7dd6af2
AC
56352003-03-30 Andrew Cagney <[email protected]>
5636
5637 * infttrace.c: Include "gdbthread.h".
5638 (parent_attach_all): Fix function signature.
5639 (call_ptrace): Update call.
5640 * Makefile.in (infttrace.o): Update dependencies.
5641
28f617b3
AC
56422003-03-30 Andrew Cagney <[email protected]>
5643
5644 * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
5645 PUSH_RETURN_ADDRESS.
5646 * gdbarch.h, gdbarch.c: Regenerate.
5647 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
5648 * x86-64-tdep.c (x86_64_init_abi): Update.
5649 * v850-tdep.c (v850_gdbarch_init): Update.
5650 * sparc-tdep.c (sparc_gdbarch_init): Update.
5651 * sh-tdep.c (sh_gdbarch_init): Update.
5652 * s390-tdep.c (s390_gdbarch_init): Update.
5653 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
5654 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
5655 * mips-tdep.c (mips_gdbarch_init): Update.
5656 * mcore-tdep.c (mcore_gdbarch_init): Update.
5657 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
5658 * ia64-tdep.c (ia64_gdbarch_init): Update.
5659 * i386-tdep.c (i386_gdbarch_init): Update.
5660 * h8300-tdep.c (h8300_gdbarch_init): Update.
5661 * frv-tdep.c (frv_gdbarch_init): Update.
5662 * cris-tdep.c (cris_gdbarch_init): Update.
5663 * avr-tdep.c (avr_gdbarch_init): Update.
5664 * arm-tdep.c (arm_gdbarch_init): Update.
5665 * valops.c (hand_function_call): Update.
5666
4d628cd7
AC
56672003-03-29 Andrew Cagney <[email protected]>
5668
5669 * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
5670 sizeof_call_dummy_words.
5671 * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
5672 define.
5673 * gdbarch.h: Regenerate.
8ffd9b1b 5674
65e82032
AC
56752003-03-29 Andrew Cagney <[email protected]>
5676
5677 * infttrace.h: New file.
5678 * hpread.c: Include "gdb_assert.h" and "somsolib.h".
5679 (hpread_get_textlow): Detect an uninitialized dn_bufp.
5680 (hpread_read_doc_function_type): Detect an initialized type1.
5681 (hpread_quick_traverse): Initialize mod_name_string.
5682 * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
5683 (som_solib_get_solib_by_pc): Declare.
5684 (so_lib_thread_start_addr): Declare.
5685 (no_shared_libraries): Declare.
5686 * somread.c (init_import_symbols): Make static. Add forward
5687 declaration.
5688 * config/pa/nm-hppah.h: Include "infttrace.h" for
5689 parent_attach_all.
5690 (hppa_insert_hw_watchpoint): Declare.
5691 (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
5692 * hppah-nat.c: Include "gdb_string.h".
5693 (parent_attach_all): Delete extern declaration, moved to
5694 "infttrace.h".
5695 (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
5696 int.
5697 (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
5698 * Makefile.in (infttrace_h): Define.
5699 (hpread.o): Update dependencies.
5700 (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
5701 * hppa-hpux-tdep.c: Include "gdb_string.h".
5702 * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
5703 * infrun.c (handle_inferior_event): Always initialize
5704 stepped_after_stopped_by_watchpoint. Add default and remove
5705 fallthrough in switch statement.
5706 * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
5707 parameter to int.
5708 (hppa_remove_hw_watchpoint): Ditto.
5709
2c3bbe77
AC
57102003-03-29 Andrew Cagney <[email protected]>
5711
5712 * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
5713 offset.
5714
2dd604e7
RE
57152003-03-29 Richard Earnshaw <[email protected]>
5716
5717 * arm-tdep.c (arm_push_arguments): Delete.
5718 (struct stack_item): New type.
5719 (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
5720 (arm_store_struct_return): Delte.
5721 (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
5722 arm_push_arguments or arm_store_struct_return.
5723
e8933a55
AC
57242003-03-28 Andrew Cagney <[email protected]>
5725
5726 * Makefile.in (d10v-tdep.o): Update dependencies.
5727 * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
5728 * d10v-tdep.c: Include "remote.h".
5729 (target_resume_hook): Delete extern declaration.
5730 (target_wait_loop_hook): Ditto.
5731 (tdisassemble_command): Eliminate assignment in "if" conditional.
5732 (d10v_ts2_register_sim_regno): Eliminate call to
5733 legacy_register_sim_regno.
5734 (d10v_ts3_register_sim_regno): Ditto.
5735
6949171e
JJ
57362003-03-28 Jeff Johnston <[email protected]>
5737
5738 * thread.c: Reindented.
5739 * lin-lwp.c: Ditto.
5740 * linux-proc.c: Ditto.
5741
98c7071f
BR
57422003-03-28 Bob Rossi <[email protected]>
5743
fbe586ae 5744 * MAINTAINERS (write after approval): Add myself.
98c7071f 5745
5edc9ca6
TR
57462003-03-27 Theodore A. Roth <[email protected]>
5747
5748 * objc-exp.y: Add missing semi-colons.
5749
378bfd1b
AC
57502003-03-27 Andrew Cagney <[email protected]>
5751
5752 * regcache.c (write_sp): Delete function and references.
5753 * inferior.h (write_sp): Delete declaration.
5754 * valops.c (hand_function_call): Replace write_sp with
5755 TARGET_WRITE_SP.
5756 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
5757 (sparc_pop_frame): Ditto.
8ffd9b1b 5758
56056df7
AC
57592003-03-27 Andrew Cagney <[email protected]>
5760
5761 * NEWS: Mention removal of support for hppa*-*-bsd* and
5762 hppa*-*-osf* natives, and hppa*-*-pro* target.
5763 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
5764 * config/pa/xm-pa.h: Obsolete file.
5765 * config/pa/xm-hppab.h: Obsolete file.
5766 * config/pa/nm-hppab.h: Obsolete file.
5767 * config/pa/tm-hppab.h: Obsolete file.
5768 * config/pa/tm-hppao.h: Obsolete file.
5769 * config/pa/nm-hppao.h: Obsolete file.
5770 * config/pa/tm-pro.h: Obsolete file.
5771 * config/pa/hppaosf.mt: Obsolete file.
5772 * config/pa/hppaosf.mh: Obsolete file.
5773 * config/pa/hppapro.mt: Obsolete file.
5774 * config/pa/hppabsd.mt: Obsolete file.
5775 * config/pa/hppabsd.mh: Obsolete file.
5776 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
5777 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
5778 hppa*-*-osf*.
5779
5873a88d
AC
57802003-03-27 Andrew Cagney <[email protected]>
5781
5782 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
5783 push_arguments. Don't set push_return_address or write_sp.
5784 (d10v_push_dummy_call): Replace d10v_push_arguments.
5785 (d10v_push_return_address, d10v_write_sp): Delete function,
5786 handled by push_dummy_call.
5787
b81774d8
AC
57882003-03-26 Andrew Cagney <[email protected]>
5789
5790 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
5791 (push_dummy_call): New pure multi-arch replacement with gdbarch,
5792 regcache and dummy_addr parameters.
5793 * gdbarch.h, gdbarch.c: Re-generate.
5794 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
5795 available; assume it will handle stack alignment and return
5796 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
5797 legacy_push_arguments.
5798 (legacy_push_arguments): Rename default_push_arguments.
5799 * value.h (legacy_push_arguments): Rename default_push_arguments.
5800 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
5801 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
5802 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
5803 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
5804 * config/i386/tm-symmetry.h: Update.
5805 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
5806 * x86-64-tdep.c (x86_64_init_abi): Update.
5807 * v850-tdep.c (v850_gdbarch_init): Update.
5808 * sparc-tdep.c (sparc_gdbarch_init): Update.
5809 * sh-tdep.c (sh_gdbarch_init): Update.
5810 * s390-tdep.c (s390_gdbarch_init): Update.
5811 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
5812 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
5813 * mips-tdep.c (mips_gdbarch_init): Update.
5814 * mcore-tdep.c (mcore_gdbarch_init): Update.
5815 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
5816 * ia64-tdep.c (ia64_gdbarch_init): Update.
5817 * i386-tdep.c (i386_gdbarch_init): Update.
5818 * hppa-tdep.c (hppa_gdbarch_init): Update.
5819 * h8300-tdep.c (h8300_gdbarch_init): Update.
5820 * frv-tdep.c (frv_gdbarch_init): Update.
5821 * d10v-tdep.c (d10v_gdbarch_init): Update.
5822 * cris-tdep.c (cris_gdbarch_init): Update.
5823 * avr-tdep.c (avr_gdbarch_init): Update.
5824 * arm-tdep.c (arm_gdbarch_init): Update.
5825 * arm-linux-tdep.c (arm_linux_init_abi): Update.
5826 * alpha-tdep.c (alpha_gdbarch_init): Update.
5827
f541410f
DJ
58282003-03-26 Daniel Jacobowitz <[email protected]>
5829
5830 * signals/signals.c (do_target_signal_to_host): Correct realtime
5831 signal range test.
5832
69f567ae
DJ
58332003-03-26 Daniel Jacobowitz <[email protected]>
5834
5835 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
5836 (struct sal_chain, map_catch_names): Remove.
5837 (catch_exception_command_1): Don't call
5838 handle_gnu_4_16_catch_command.
5839
d5d14a5a
DJ
58402003-03-26 Daniel Jacobowitz <[email protected]>
5841
5842 From Mark Dettinger <[email protected]>:
5843 * dwarf2cfi.c (read_2u): Increment pointer by two.
5844
bdd73e22
DJ
58452003-03-26 Daniel Jacobowitz <[email protected]>
5846
5847 * signals/signals.c: Fix typos in last change.
5848
960cb555
DJ
58492003-03-26 Daniel Jacobowitz <[email protected]>
5850
5851 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
5852 not already defined. Use __SIGRTMIN if available.
5853 (target_signal_from_host): Remove SIGRTMIN block.
5854 (do_target_signal_to_host): Remove SIGRTMIN block; check that
5855 the signal is within the realtime range.
5856
f636b87d
AF
58572003-03-25 Adam Fedor <[email protected]>
5858
5859 * Makefile.in (infrun.o): Add $(language_h)
5860 * infrun.c (handle_inferior_event): Use skip_language_trampoline
5861 for language specific trampolines.
5862 * language.h (struct language_defn): Add skip_trampoline.
5863 (skip_language_trampoline): Declare.
5864 * language.c (unk_lang_trampoline, skip_language_trampoline):
5865 New functions.
5866 (unknown_language_defn, auto_language_defn, local_language_defn):
5867 Add ukn_lang_trampoline.
5868 * ada-lang.c (ada_language_defn): Add NULL for language
5869 specific skip_trampoline.
5870 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
5871 scm-lang.c: Likewise.
5872 * objc-lang.c (objc_skip_trampoline): New function.
5873 (objc_language_defn): Add objc_skip_trampoline.
5874
28f617b3 58752003-03-25 Andrew Cagney <[email protected]>
270c3b1d
AC
5876
5877 * frame.c (get_prev_frame): Delay validating a frame's ID -
5878 non-NULL, didn't go backwards - until an attempt to unwind it to
5879 the previous frame.
5880
f933a9c5
AC
58812003-03-25 Andrew Cagney <[email protected]>
5882
5883 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
5884 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
5885 * gdbarch.h, gdbarch.c: Re-generate.
5886 * config/sparc/tm-sparc.h
5887 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
5888 * sparc-tdep.c (sparc_gdbarch_init): Set
5889 deprecated_extra_stack_alignment_needed.
5890 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
5891 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
5892 extra_stack_alignment_needed.
5893 * v850-tdep.c (v850_gdbarch_init): Ditto.
5894 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
5895 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
5896 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
5897 * cris-tdep.c (cris_gdbarch_init): Ditto.
5898 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
5899 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
8ffd9b1b 5900
4183d812
AC
59012003-03-25 Andrew Cagney <[email protected]>
5902
5903 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
5904 STORE_STRUCT_RETURN.
5905 * gdbarch.h, gdbarch.c: Regenerate.
5906 * d10v-tdep.c (d10v_store_struct_return): Delete function.
5907 (d10v_push_arguments): Set the struct return register.
5908 (d10v_gdbarch_init): Update.
5909 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
5910 * x86-64-tdep.c (x86_64_init_abi): Update.
5911 * vax-tdep.c (vax_gdbarch_init): Update.
5912 * v850-tdep.c (v850_gdbarch_init): Update.
5913 * sparc-tdep.c (sparc_gdbarch_init): Update.
5914 * sh-tdep.c (sh_gdbarch_init): Update.
5915 * s390-tdep.c (s390_gdbarch_init): Update.
5916 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
5917 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
5918 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
5919 * mips-tdep.c (mips_gdbarch_init): Update.
5920 * mcore-tdep.c (mcore_gdbarch_init): Update.
5921 * m68k-tdep.c (m68k_gdbarch_init): Update.
5922 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
5923 * ia64-tdep.c (ia64_gdbarch_init): Update.
5924 * i386-tdep.c (i386_gdbarch_init): Update.
5925 * hppa-tdep.c (hppa_gdbarch_init): Update.
5926 * h8300-tdep.c (h8300_gdbarch_init): Update.
5927 * frv-tdep.c (frv_gdbarch_init): Update.
5928 * cris-tdep.c (cris_gdbarch_init): Update.
5929 * avr-tdep.c (avr_gdbarch_init): Update.
5930 * arm-tdep.c (arm_gdbarch_init): Update.
5931 * alpha-tdep.c (alpha_gdbarch_init): Update.
8ffd9b1b 5932
1bf6d5cc
AC
59332003-03-25 Andrew Cagney <[email protected]>
5934
5935 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
5936 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
5937 CALL_DUMMY_STACK_ADJUST with a predicate variable.
5938 * gdbarch.h, gdbarch.c: Regenerate.
5939 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
5940 call_dummy_stack_adjust_p.
5941 * vax-tdep.c (vax_gdbarch_init): Ditto.
5942 * v850-tdep.c (v850_gdbarch_init): Ditto.
5943 * sh-tdep.c (sh_gdbarch_init): Ditto.
5944 * s390-tdep.c (s390_gdbarch_init): Ditto.
5945 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
5946 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
5947 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
5948 * mips-tdep.c (mips_gdbarch_init): Ditto.
5949 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
5950 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
5951 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
5952 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
5953 * i386-tdep.c (i386_gdbarch_init): Ditto.
5954 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
5955 * frv-tdep.c (frv_gdbarch_init): Ditto.
5956 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
5957 * cris-tdep.c (cris_gdbarch_init): Ditto.
5958 * avr-tdep.c (avr_gdbarch_init): Ditto.
5959 * arm-tdep.c (arm_gdbarch_init): Ditto.
5960 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
5961 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
5962 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
5963 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
5964 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
5965 call_dummy_stack_adjust_p.
5966 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
5967 (CALL_DUMMY_STACK_ADJUST): Delete macro.
5968 * sparc-tdep.c (sparc32_push_arguments): Update.
5969 * valops.c (hand_function_call): Update.
5970
71c08af0
CV
59712003-03-25 Corinna Vinschen <[email protected]>
5972
5973 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
5974 set_gdbarch_char_signed.
5975
30757f90
RE
59762003-03-25 Richard Earnshaw <[email protected]>
5977
5978 PR cli/548
5979 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
5980
03d48a7d
RE
59812003-03-25 Richard Earnshaw <[email protected]>
5982
5983 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
5984 (_initialize_arm_tdep): Don't set tm_print_insn.
5985
2cf6873c
AF
59862003-03-24 Adam Fedor <[email protected]>
5987
5988 * Makefile.in (YYOBJ): Add objc-exp.tab.o
5989 * objc-lang.h: Add multiple inclusion protection.
5990 (start_msglist, add_msglist, end_msglist): Additional declarations.
5991
17c0759e
RE
59922003-03-24 Richard Earnshaw <[email protected]>
5993
5994 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
5995 value was renamed to ARM_FLOAT_SOFT_FPA.
5996
618ce49f
AC
59972003-03-23 Andrew Cagney <[email protected]>
5998
5999 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
6000 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
6001 * gdbarch.h, gdbarch.c: Regenerate.
6002 * valops.c (hand_function_call): Update.
6003 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
6004 * frame.c (legacy_saved_regs_this_id): Update.
6005 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
6006 * dummy-frame.h: Update.
6007 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
6008 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
6009 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
6010 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
6011 * config/m68k/tm-sun3.h: Update.
6012 * blockframe.c (inside_main_func, frame_chain_valid): Update.
6013 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
6014 * x86-64-tdep.c (x86_64_init_abi): Update.
6015 * vax-tdep.c (vax_gdbarch_init): Update.
6016 * v850-tdep.c (v850_gdbarch_init): Update.
6017 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
6018 * sh-tdep.c (sh_gdbarch_init): Update.
6019 * s390-tdep.c (s390_gdbarch_init): Update.
6020 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
6021 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
6022 (frame_get_saved_regs): Update.
6023 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
6024 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
6025 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
6026 * mips-tdep.c (mips_gdbarch_init): Update.
6027 * mcore-tdep.c (mcore_gdbarch_init): Update.
6028 * m68k-tdep.c (m68k_gdbarch_init): Update.
6029 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
6030 * ia64-tdep.c (ia64_gdbarch_init): Update.
6031 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
6032 * i386-interix-tdep.c (i386_interix_init_abi): Update.
6033 (i386_interix_back_one_frame): Update.
6034 * hppa-tdep.c (hppa_gdbarch_init): Update.
6035 (hppa_init_extra_frame_info): Update.
6036 * h8300-tdep.c (h8300_gdbarch_init): Update.
6037 * frv-tdep.c (frv_gdbarch_init): Update.
6038 * cris-tdep.c (cris_gdbarch_init): Update.
6039 * avr-tdep.c (avr_gdbarch_init): Update.
6040 * arm-tdep.c (arm_gdbarch_init): Update.
6041 * alpha-tdep.c (alpha_gdbarch_init): Update.
6042
fd50bc42
RE
60432003-03-22 Richard Earnshaw <[email protected]>
6044
6045 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
6046 (arm_get_fp_model): Declare.
6047 * arm-tdep.c (fp_model_strings): New string array.
6048 (arm_fp_model, current_fp_model): New variables.
6049 (arm_get_fp_model): New function.
6050 (arm_set_fp): New function.
6051 (set_fp_model_sfunc): New function.
6052 (show_fp_model): New function.
6053 (_initialize_arm_tdep): Add new command to set/show the FPU.
6054 (arm_extract_return_value): Use arm_get_fp_model.
6055 (arm_store_return_value): Likewise.
6056 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
6057 to initialize the floating-point data types.
6058 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
6059 model is FPA.
6060
26304000
RE
60612003-03-22 Richard Earnshaw <[email protected]>
6062
6063 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
6064 the current setting of each value.
6065 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
8ffd9b1b 6066 new_set and new_show. Use add_setshow_cmd_full and
26304000
RE
6067 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
6068 commands and add new version as subcommands of "set/show arm".
6069
afd7eef0
RE
60702003-03-22 Richard Earnshaw <[email protected]>
6071
6072 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
6073 (set_arm_command, show_arm_command): New functions.
6074 (_initialize_arm_tdep): Add them.
6075 (num_disassembly_options): Renamed from num_flavor_options.
6076 (valid_disassembly_styles): Renamed from valid_flavors.
6077 (disassembly_style): Renamed from disassembly_flavor.
8ffd9b1b 6078 (set_disassembly_style_sfunc): Renamed from
afd7eef0
RE
6079 set_disassembly_flavor_sfunc.
6080 (set_disassembly_style): Renamed from set_disassembly_flavor.
6081 (arm_othernames): Updated.
6082 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
6083 command. Add "set/show arm disassembly" commands. Deprecate
6084 "othernames" command.
6085
299a7944
RE
60862003-03-22 Richard Earnshaw <[email protected]>
6087
6088 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
6089 (arm-tdep.o): Depend on elf_arm_h.
6090
c1dac9e6
RE
60912003-03-22 Richard Earnshaw <[email protected]>
6092
6093 * Makefile.in (coff_internal_h): Define.
6094 (arm-tdep.o): Update dependencies.
6095
2702d96c
RE
60962003-03-22 Richard Earnshaw <[email protected]>
6097
6098 * arm-tdep.c (prologue_cache): Delete.
6099 (check_prologue_cache, save_prologue_cache): Delete.
6100 (arm_scan_prologue): Don't check or update the prologue_cache.
6101 (arm_gdb_arch_init): Don't initialize it.
6102 (_initialize_arm_tdep): Likewise.
6103
27d5d74b
SC
61042003-03-21 Stephane Carrez <[email protected]>
6105
6106 * MAINTAINERS (tui): Maintainer of tui code.
6107
1762d96d
CV
61082003-03-21 Corinna Vinschen <[email protected]>
6109
6110 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
6111 (i386-cygwin-tdep.o): Add dependencies.
6112 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
6113 * i386-cygwin-tdep.c: New file.
6114 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
6115 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
6116
4c2e2391
AC
61172003-03-20 Andrew Cagney <[email protected]>
6118
f20d38b7
AC
6119 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
6120 (handle_inferior_event): Remove code calling
6121 DYNAMIC_TRAMPOLINE_NEXTPC.
6122
0022b738
AC
6123 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
6124 already has a full path.
6125
864dbc90
AC
6126 * main.c (gdb_main): Return 1.
6127 (captured_main): Call error to report an invalid interpreter.
6128
4c2e2391
AC
6129 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
6130 * alpha-osf1-tdep.c: Include "gdb_string.h".
6131
5ef7553b
JB
61322003-03-19 J. Brobecker <[email protected]>
6133
6134 Continuing work to convert the hppa targets to multiarch partial.
6135
6136 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
6137 method, now that hppa_push_dummy_frame has a conformant prototype.
6138 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
6139 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
6140 for the switch to multiarch partial.
6141
7bde8967
KB
61422003-03-19 Kevin Buettner <[email protected]>
6143
6144 * mdebugread.c (parse_symbol): For stEnd, we're done counting
6145 when iss is issNull.
6146
b006a9e9
KB
61472003-03-18 Kevin Buettner <[email protected]>
6148
6149 * mips-tdep.c (mips_register_name): Fix fencepost error involving
6150 NUM_REGS bounds check.
6151
5e2e9765
KB
61522003-03-18 Kevin Buettner <[email protected]>
6153
6154 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
6155 * mips-tdep.c (gdb_assert.h): Include.
6156 (mips_generic_reg_names, mips_processor_reg_names): Make static.
6157 (mips_register_name): Handle integer registers explicitly. Add
6158 bounds checking.
6159 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
6160 (mips_lsi33k_reg_names): Don't list integer registers; they're
6161 handled by mips_register_name() now.
6162 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
6163 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
6164 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
6165 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
6166 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
6167
a2867626
AC
61682003-03-18 Andrew Cagney <[email protected]>
6169
6170 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
6171 a void pointer.
6172 * gdbtypes.h (print_scalar_formatted): Update declaration.
6173 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
6174
06600e06
JB
61752003-03-18 J. Brobecker <[email protected]>
6176
6177 * infrun.c (observer.h): Add #include.
6178 (normal_stop): Add call to observer_notify_normal_stop.
6179 * Makefile.in (infrun.o): Add dependency on observer.h.
6180
7daf4f5b
JB
61812003-03-18 J. Brobecker <[email protected]>
6182
6183 Continuing work to convert the hppa targets to multiarch partial.
6184 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
6185 parameter. Reformat comment.
6186 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
6187 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
6188 to match new profile.
6189
3371ccc0
JB
61902003-03-18 J. Brobecker <[email protected]>
6191
6192 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
6193 appear to be working in any case.
6194
4fbe891e
JB
61952003-03-18 J. Brobecker <[email protected]>
6196
6197 * observer.c (observer_test_first_observer): New static variable.
6198 (observer_test_second_observer): Likewise.
6199 (observer_test_third_observer): Likewise.
6200 (observer_test_first_notification_function): New static function.
6201 (observer_test_second_notification_function): Likewise.
6202 (observer_test_third_notification_function): Likewise.
6203
a7ff40e7
JB
62042003-03-17 J. Brobecker <[email protected]>
6205
6206 * hppa-tdep.c (gdb_assert.h): Add missing #include.
6207 * somsolib.c (gdb_assert.h): Likewise.
6208 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
6209 (somsolib.o): Likewise.
6210
26ca4152
AC
62112003-03-17 Andrew Cagney <[email protected]>
6212
6213 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
6214 BFD. Simplify setting of di.endian.
6215
0a613259
AC
62162003-03-17 Andrew Cagney <[email protected]>
6217
6218 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
6219 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
6220
6221 From Elena Zannoni <[email protected]>
6222 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
6223 vector and floating-point parameters.
6224 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
6225 convention.
6226 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
6227
1132738f
FN
62282003-03-17 Fernando Nasser <[email protected]>
6229
6230 * MAINTAINERS: Remove my name from several maintainership roles.
6231
6dc42492
AC
62322003-03-17 Andrew Cagney <[email protected]>
6233
6234 Fix frame off-by-one bug.
6235 * frame-unwind.h (frame_this_id_ftype): Replace
6236 frame_unwind_id_ftype.
6237 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
6238 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
6239 with "prev_register".
6240 * frame-unwind.c (frame_unwind_find_by_pc): Return
6241 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
6242 comment.
6243 * dummy-frame.c (cached_find_dummy_frame): Delete function.
6244 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
6245 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
6246 (dummy_frame_unwind): Update.
6247 * sentinel-frame.c (sentinel_frame_prev_register): Replace
6248 sentinel_frame_register_unwind.
6249 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
6250 (sentinel_frame_unwinder): Update.
6251 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
6252 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
6253 * frame.c (create_sentinel_frame): Update. Initialize
6254 "prologue_cache" instead of "unwind_cache".
6255 (frame_register_unwind): Call this frame's prev_register with the
6256 next frame and this frame's prologue cache.
6257 (get_prev_frame): Simplify. Always call prev frame's this_id with
6258 this frame and prev frame's prologue cache. Document that this
6259 call is shifted one to the left when compared to the
6260 frame_register_unwind call.
6261 (legacy_saved_regs_prev_register): Replace
6262 frame_saved_regs_register_unwind.
6263 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
6264 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
6265 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
6266 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
6267 (d10v_frame_unwind): Update.
6268 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
6269 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
6270 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
6271 "saved_regs" with "this_saved_regs".
6272
efd710d6
AC
62732003-03-16 Andrew Cagney <[email protected]>
6274
6275 * frame.c (frame_pop): Don't call target_store_registers. Fix
6276 problem reported by Mark Kettenis.
6277
4e259f09
MK
62782003-03-16 Mark Kettenis <[email protected]>
6279
6280 * i386-tdep.c (i386_register_type): Renamed from
6281 i386_register_virtual_type. Adjust function signature.
6282 (i386_gdbarch_init): Set register_type instead of
6283 deprecated_max_register_raw_size,
6284 deprecated_max_register_virtual_size and register_virtual_type.
6285
055bb976
AC
62862003-03-14 Andrew Cagney <[email protected]>
6287
6288 * frame.c (get_prev_frame): When a legacy frame, always call
6289 legacy_get_prev_frame. Simplify unwind code using assumption that
6290 the unwinder is new.
6291 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
6292 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
6293 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
6294
ac2adee5
AC
62952003-03-14 Andrew Cagney <[email protected]>
6296
6297 * frame.c (get_saved_register): Delete function.
6298 * frame.h (get_saved_register): Delete declaration.
6299 * xstormy16-tdep.c: Update comment.
6300 * regcache.h: Update comments.
6301 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
6302 get_saved_register and extract_address, use
6303 frame_read_unsigned_register.
6304 (sparc_frame_saved_pc): Ditto.
6305 (sparc_get_saved_register): Instead of get_saved_register, use
6306 frame_register.
6307 (sparc_pop_frame): Ditto.
6308 * findvar.c: Update comments.
6309 (value_of_register): Call frame_register instead of
6310 get_saved_register.
6311 (value_from_register): Ditto.
6312 * config/sparc/tm-sparc.h: Update comment.
6313 * breakpoint.c: Update comment.
6314
129c1cd6
AC
63152003-03-14 Andrew Cagney <[email protected]>
6316
6317 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
6318 GET_SAVED_REGISTER.
6319 * gdbarch.h, gdbarch.c: Re-generate.
6320 * frame.h: Update comments.
6321 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
6322 * x86-64-tdep.c (x86_64_init_abi): Update.
6323 * sparc-tdep.c (sparc_gdbarch_init): Update.
6324 * sh-tdep.c (sh_gdbarch_init): Update.
6325 * mips-tdep.c (mips_gdbarch_init): Update.
6326 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
6327 * cris-tdep.c (cris_gdbarch_init): Update.
6328 * ia64-tdep.c (ia64_gdbarch_init): Update.
6329 * frame.c (frame_register): Update.
6330 (get_saved_register): Update.
6331 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
8ffd9b1b 6332
749b82f6
AC
63332003-03-13 Andrew Cagney <[email protected]>
6334
6335 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
6336 * gdbarch.h, gdbarch.c: Regenerate.
6337 * valops.c (hand_function_call): Update comment.
6338 * stack.c (return_command): Update comment.
6339 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
6340 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
6341 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
6342 * x86-64-tdep.c (x86_64_init_abi): Update.
6343 * vax-tdep.c (vax_gdbarch_init): Update.
6344 * v850-tdep.c (v850_gdbarch_init): Update.
6345 * sparc-tdep.c (sparc_gdbarch_init): Update.
6346 * sh-tdep.c (sh_gdbarch_init): Update.
6347 * s390-tdep.c (s390_gdbarch_init): Update.
6348 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
6349 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
6350 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
6351 * mips-tdep.c (mips_gdbarch_init): Update.
6352 * mcore-tdep.c (mcore_gdbarch_init): Update.
6353 * m68k-tdep.c (m68k_gdbarch_init): Update.
6354 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
6355 * ia64-tdep.c (ia64_gdbarch_init): Update.
6356 * i386-tdep.c (i386_gdbarch_init): Update.
6357 * hppa-tdep.c (hppa_gdbarch_init): Update.
6358 * h8300-tdep.c (h8300_gdbarch_init): Update.
6359 * frv-tdep.c (frv_gdbarch_init): Update.
6360 * cris-tdep.c (cris_gdbarch_init): Update.
6361 * avr-tdep.c (avr_gdbarch_init): Update.
6362 * arm-tdep.c (arm_gdbarch_init): Update.
6363 * alpha-tdep.c (alpha_gdbarch_init): Update.
6364
1594fa56
AC
63652003-03-13 Andrew Cagney <[email protected]>
6366
6367 * frame.c (legacy_frame_p): New function.
6368 (get_prev_frame): Use legacy_frame_p.
6369 * frame.h (legacy_frame_p): Declare.
6370
7717fda3
V
63712003-03-13 D. Venkatasubramanian <[email protected]>
6372
fbe586ae 6373 * MAINTAINERS (write after approval): Alphabetically
7717fda3
V
6374 listing corrected.
6375
0c67cbe9
V
63762003-03-13 D. Venkatasubramanian <[email protected]>
6377
fbe586ae 6378 * MAINTAINERS (write after approval): Add myself.
0c67cbe9 6379
03febf99
AC
63802003-03-12 Andrew Cagney <[email protected]>
6381
6382 * frame.c (get_prev_frame): Rename the frame parameter to
6383 "this_frame".
6384 (get_next_frame, legacy_get_prev_frame): Ditto.
6385
0a1e1ca1
AC
63862003-03-12 Andrew Cagney <[email protected]>
6387
6388 * frame.c (get_current_frame): Check target_has_registers before
6389 checking target_has_stack.
6390 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
6391 instead of deprecated_selected_frame.
6392 * findvar.c (value_of_register): Pass "frame", not
6393 deprecated_selected_frame, to value_of_builtin_reg.
6394
a66a9c23
AC
63952003-03-12 Andrew Cagney <[email protected]>
6396
6397 * regcache.c (regcache_cooked_write_signed): New function.
6398 (regcache_cooked_write_unsigned): New function.
6399 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
6400 (regcache_cooked_read_signed): Fix regnum in range assertion.
6401 * regcache.h (regcache_cooked_write_signed): Declare.
6402 (regcache_cooked_write_unsigned): Declare.
6403
8bedc050
AC
64042003-03-12 Andrew Cagney <[email protected]>
6405
6406 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
6407 * gdbarch.h, gdbarch.c: Re-generate.
6408 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
6409 * x86-64-tdep.h: Update.
6410 * x86-64-tdep.c (x86_64_init_abi): Update.
6411 * v850-tdep.c (v850_gdbarch_init): Update.
6412 * sparc-tdep.c (sparc_gdbarch_init): Update.
6413 * sh-tdep.c (sh_gdbarch_init): Update.
6414 * s390-tdep.c (s390_gdbarch_init): Update.
6415 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
6416 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
6417 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
6418 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
6419 * mips-tdep.c (mips_gdbarch_init): Update.
6420 * mcore-tdep.c (mcore_gdbarch_init): Update.
6421 * m68k-tdep.c (m68k_gdbarch_init): Update.
6422 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
6423 * ia64-tdep.c (ia64_gdbarch_init): Update.
6424 * i386-tdep.c (i386_gdbarch_init): Update.
6425 * i386-interix-tdep.c (i386_interix_init_abi): Update.
6426 * hppa-tdep.c (hppa_gdbarch_init): Update.
6427 * h8300-tdep.c (h8300_gdbarch_init): Update.
6428 * frv-tdep.c (frv_gdbarch_init): Update.
6429 * cris-tdep.c (cris_gdbarch_init): Update.
6430 * avr-tdep.c (avr_gdbarch_init): Update.
6431 * arm-tdep.c (arm_gdbarch_init): Update.
6432 * alpha-tdep.c (alpha_gdbarch_init): Update.
6433 * sh-tdep.c (sh_init_extra_frame_info): Update.
6434 (sh64_init_extra_frame_info): Update.
6435 * ns32knbsd-nat.c (frame_num_args): Update.
6436 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
6437 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
6438 (xstormy16_frame_chain_valid): Update.
6439 * vax-tdep.c (vax_saved_pc_after_call): Update.
6440 * v850-tdep.c (v850_frame_chain): Update.
6441 (v850_pop_frame): Update.
6442 (v850_init_extra_frame_info): Update.
6443 * sparc-tdep.c (setup_arbitrary_frame): Update.
6444 * ns32k-tdep.c (umax_frame_num_args): Update.
6445 * s390-tdep.c (s390_pop_frame_regular): Update.
6446 * mn10300-tdep.c (mn10300_frame_chain): Update.
6447 (mn10300_pop_frame_regular): Update.
6448 (mn10300_init_extra_frame_info): Update.
6449 * mips-tdep.c (mips_init_frame_pc_first): Update.
6450 (mips_frame_chain): Update.
6451 (mips_pop_frame): Update.
6452 * mcore-tdep.c (mcore_frame_chain): Update.
6453 (mcore_pop_frame): Update.
6454 (mcore_init_extra_frame_info): Update.
6455 * arch-utils.c (init_frame_pc_default): Update.
6456 * m68k-tdep.c (isi_frame_num_args): Update.
6457 (delta68_frame_num_args): Update.
6458 (news_frame_num_args): Update.
6459 * ia64-tdep.c (ia64_pop_frame_regular): Update.
6460 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
6461 (alpha_frame_chain): Update.
6462 (alpha_pop_frame): Update.
6463 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
6464 (hppa_init_extra_frame_info): Update.
6465 (hppa_frame_chain): Update.
6466 (hppa_frame_chain_valid): Update.
6467 * cris-tdep.c (cris_init_extra_frame_info): Update.
6468 * avr-tdep.c (avr_init_extra_frame_info): Update.
6469 * arm-tdep.c (arm_frame_chain_valid): Update.
6470 (arm_init_extra_frame_info): Update.
6471 (arm_pop_frame): Update.
6472 * frame.c (frame_pc_unwind): Update.
6473 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
6474 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
6475 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
6476 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
6477 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
6478 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
8ffd9b1b 6479
7a25a7c1
AC
64802003-03-12 Andrew Cagney <[email protected]>
6481
6482 Eliminate the need for POP_FRAME.
6483 * frame.c (do_frame_unwind_register): New function.
6484 (frame_pop): When no POP_FRAME, pop the frame using register
6485 unwind and a scratch regcache.
6486 (frame_saved_regs_pop): Delete function.
6487 (trad_frame_unwinder): Update.
6488 * d10v-tdep.c (d10v_frame_pop): Delete function.
6489 (d10v_frame_unwind): Update.
6490 * sentinel-frame.c (sentinel_frame_pop): Delete function.
6491 (sentinel_frame_unwinder): Update.
6492 * dummy-frame.c (dummy_frame_pop): Delete function.
6493 (dummy_frame_unwind): Update.
6494 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
6495 (struct frame_unwind): Update.
6496
2f38ef89
KB
64972003-03-11 Kevin Buettner <[email protected]>
6498
6499 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
6500 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
6501 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
6502 Do range checks on register number obtained from debugging info.
6503 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
6504 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
6505 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
6506 mapping function.
6507 (do_fp_register_row): Fix typo which caused double type to be
6508 used when attempting to unpack a float.
6509
552f4abf
JB
65102003-03-11 J. Brobecker <[email protected]>
6511
6512 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
6513
e0d2ae16
AC
65142003-03-11 Andrew Cagney <[email protected]>
6515
6516 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
6517 frame. Problem found by Corinna Vinschen.
6518
ddbfdd06
PM
65192003-03-11 Pierre Muller <[email protected]>
6520
6521 * doublest.c (floatformat_from_length): Accept also
6522 the real size of 'long double' type.
6523
088b2ddc 65242003-03-10 Daniel Jacobowitz <[email protected]>
31cc81e9 6525
088b2ddc 6526 From Klee Dienes <[email protected]>:
31cc81e9
DJ
6527 * breakpoint.c (bpstat_copy): Copy the command lines as well
6528 as the old value, to match what is freed in bpstat_clear.
6529
f56f77c1
DC
65302003-03-10 David Carlton <[email protected]>
6531
6532 * minsyms.c (add_minsym_to_hash_table): Replace
6533 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
6534 (compare_minimal_symbols, compact_minimal_symbols)
6535 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
6536 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
6537 of DEPRECATED_SYMBOL_MATCHES_NAME.
6538 (lookup_minimal_symbol_solib_trampoline): Ditto.
6539
5602984a
AC
65402003-03-10 Andrew Cagney <[email protected]>
6541
6542 * regcache.h (regcache_cooked_read_ftype): Define.
6543 (regcache_save, regcache_restore): Add a cooked_read parameter.
6544 * regcache.c (regcache_save, regcache_restore): Update.
6545 (do_cooked_read): New function.
6546 (regcache_cpy): Pass do_cooked_read to regcache_save and
6547 regcache_restore.
6548
8bedc050
AC
65492003-03-10 Andrew Cagney <[email protected]>
6550
6551 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
6552 * gdbarch.h, gdbarch.c: Re-generate.
6553 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
6554 * x86-64-tdep.h: Update.
6555 * x86-64-tdep.c (x86_64_init_abi): Update.
6556 * v850-tdep.c (v850_gdbarch_init): Update.
6557 * sparc-tdep.c (sparc_gdbarch_init): Update.
6558 * sh-tdep.c (sh_gdbarch_init): Update.
6559 * s390-tdep.c (s390_gdbarch_init): Update.
6560 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
6561 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
6562 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
6563 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
6564 * mips-tdep.c (mips_gdbarch_init): Update.
6565 * mcore-tdep.c (mcore_gdbarch_init): Update.
6566 * m68k-tdep.c (m68k_gdbarch_init): Update.
6567 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
6568 * ia64-tdep.c (ia64_gdbarch_init): Update.
6569 * i386-tdep.c (i386_gdbarch_init): Update.
6570 * i386-interix-tdep.c (i386_interix_init_abi): Update.
6571 * hppa-tdep.c (hppa_gdbarch_init): Update.
6572 * h8300-tdep.c (h8300_gdbarch_init): Update.
6573 * frv-tdep.c (frv_gdbarch_init): Update.
6574 * cris-tdep.c (cris_gdbarch_init): Update.
6575 * avr-tdep.c (avr_gdbarch_init): Update.
6576 * arm-tdep.c (arm_gdbarch_init): Update.
6577 * alpha-tdep.c (alpha_gdbarch_init): Update.
6578 * sh-tdep.c (sh_init_extra_frame_info): Update.
6579 (sh64_init_extra_frame_info): Update.
6580 * ns32knbsd-nat.c (frame_num_args): Update.
6581 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
6582 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
6583 (xstormy16_frame_chain_valid): Update.
6584 * vax-tdep.c (vax_saved_pc_after_call): Update.
6585 * v850-tdep.c (v850_frame_chain): Update.
6586 (v850_pop_frame): Update.
6587 (v850_init_extra_frame_info): Update.
6588 * sparc-tdep.c (setup_arbitrary_frame): Update.
6589 * ns32k-tdep.c (umax_frame_num_args): Update.
6590 * s390-tdep.c (s390_pop_frame_regular): Update.
6591 * mn10300-tdep.c (mn10300_frame_chain): Update.
6592 (mn10300_pop_frame_regular): Update.
6593 (mn10300_init_extra_frame_info): Update.
6594 * mips-tdep.c (mips_init_frame_pc_first): Update.
6595 (mips_frame_chain): Update.
6596 (mips_pop_frame): Update.
6597 * mcore-tdep.c (mcore_frame_chain): Update.
6598 (mcore_pop_frame): Update.
6599 (mcore_init_extra_frame_info): Update.
6600 * arch-utils.c (init_frame_pc_default): Update.
6601 * m68k-tdep.c (isi_frame_num_args): Update.
6602 (delta68_frame_num_args): Update.
6603 (news_frame_num_args): Update.
6604 * ia64-tdep.c (ia64_pop_frame_regular): Update.
6605 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
6606 (alpha_frame_chain): Update.
6607 (alpha_pop_frame): Update.
6608 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
6609 (hppa_init_extra_frame_info): Update.
6610 (hppa_frame_chain): Update.
6611 (hppa_frame_chain_valid): Update.
6612 * cris-tdep.c (cris_init_extra_frame_info): Update.
6613 * avr-tdep.c (avr_init_extra_frame_info): Update.
6614 * arm-tdep.c (arm_frame_chain_valid): Update.
6615 (arm_init_extra_frame_info): Update.
6616 (arm_pop_frame): Update.
6617 * frame.c (frame_pc_unwind): Update.
6618 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
6619 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
6620 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
6621 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
6622 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
6623 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
8ffd9b1b 6624
12cc2063
AC
66252003-03-10 Andrew Cagney <[email protected]>
6626
6627 * gdbarch.sh (gdbarch_unwind_pc): New method.
6628 * gdbarch.h, gdbarch.c: Regenerate.
6629 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
6630 but use read_pc and FRAME_SAVED_PC as fall backs.
6631 (frame_saved_regs_pc_unwind): Delete function.
6632 (trad_frame_unwinder): Update.
6633 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
6634 (struct frame_unwind): Update.
6635 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
6636 (dummy_frame_unwind): Update.
6637 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
6638 (sentinel_frame_unwinder): Update.
6639 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
6640 (d10v_frame_unwind): Update.
6641 (d10v_unwind_pc): New function.
6642 (d10v_gdbarch_init): Set unwind_pc.
6643
ef840a37
AC
66442003-03-10 Andrew Cagney <[email protected]>
6645
a2ce2e56
AC
6646 * gdbarch.h: Re-generate.
6647
ef840a37
AC
6648 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
6649 PC.
6650 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
6651 the PC register.
6652
08f3424b
MK
66532003-03-08 Mark Kettenis <[email protected]>
6654
6655 * gdbarch.sh (save_dummy_frame_tos): Add comment.
6656
1248ede2
AC
66572003-03-08 Andrew Cagney <[email protected]>
6658
6659 * cli-out.c: Update copyright.
6660 (cli_out_data): Define typedef. Use instead of ui_out_data.
6661
f49bacc8
AC
66622003-03-08 Andrew Cagney <[email protected]>
6663
6664 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
6665 the result.
6666
9b05f993
AC
66672003-03-07 Andrew Cagney <[email protected]>
6668
6669 * gdbarch.sh: Don't generate two macro definitions when an
6670 undefined macro taking no arguments.
6671 * gdbarch.h: Regenerate.
8ffd9b1b 6672
166f4c7b
ML
66732002-03-07 Michal Ludvig <[email protected]>
6674
6675 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
6676 (x86_64_unwind_dummy_id): New functions.
6677 (x86_64_init_abi): Register these two new functions.
6678
6d686a84
ML
66792003-03-07 Michal Ludvig <[email protected]>
6680
6681 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
8ffd9b1b 6682 (x86_64_skip_prologue): Move prologue detection to
6d686a84
ML
6683 separate function.
6684 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
6685
6314f104
AC
66862003-03-05 Andrew Cagney <[email protected]>
6687
6688 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
6689 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
6690 * frame.c (get_prev_frame): Restructure the frame ID unwind code
6691 to use unwind_dummy_id when a dummy frame.
6692 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
6693 predicate.
6694 * gdbarch.h, gdbarch.c: Regneerate.
8ffd9b1b 6695
ceea5145
AC
66962003-03-05 Andrew Cagney <[email protected]>
6697
6698 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
6699 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
6700 Do not use d10v_read_sp or d10v_read_fp when obtaining register
6701 values.
6702
0d843116
AC
67032003-03-05 Andrew Cagney <[email protected]>
6704
6705 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
6706 (struct d10v_unwind_cache): Delete field "frameless". Replace
6707 "next_addr" with "sp_offset". Add "r11_offset".
6708 (d10v_frame_unwind_cache): Update.
6709 (prologue_find_regs): Update. When "mv r11, sp", save the
6710 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
6711 RN was saved in r11_offset.
6712
b2579786
AC
67132003-03-05 Andrew Cagney <[email protected]>
6714
6715 * frame.c (deprecated_update_frame_pc_hack): Also update the the
6716 cached PC value in the next frame.
6717
218e5956
AC
67182003-03-05 Andrew Cagney <[email protected]>
6719
6720 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
6721 "id_unwind_cache" with "id".
6722 (frame_id_unwind): Delete declaration.
6723 * frame.c (frame_id_unwind): Delete function.
6724 (get_prev_frame): Call the frame id unwind method directly. Store
6725 the returned next frame's ID value in NEXT_FRAME. Note that there
6726 is a problem with the wrong unwind ID being called with the wrong
6727 unwind cache.
6728
ed363b1b
DJ
67292003-03-05 Daniel Jacobowitz <[email protected]>
6730
6731 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
6732
fe1f4a5e
DJ
67332003-03-05 James Ingham <[email protected]>
6734 Daniel Jacobowitz <[email protected]>
6735
6736 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
6737 (auto_cp_abi): New variable.
6738 (current_cp_abi, num_cp_abis): Make static.
6739 (CP_ABI_MAX): Define.
6740 (cp_abis): Turn into an array.
6741 (value_virtual_fn_field): Fix formatting.
6742 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
6743 takes a pointer.
6744 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
6745 (list_cp_abis, _initialize_cp_abi): New functions.
6746 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
6747 declarations for cp_abis, num_cp_abis, current_cp_abi, and
6748 switch_to_cp_abi. Update prototype for register_cp_abi.
6749 * Makefile.in (cp-abi.o): Update dependencies.
6750 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
6751 instead of switch_to_cp_abi.
6752 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
6753 register_cp_abi.
6754 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
6755 register_cp_abi.
6756 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
6757
e4adbba9
DJ
67582003-03-05 Daniel Jacobowitz <[email protected]>
6759
6760 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
6761 * dwarf2loc.c: Include "regcache.h".
6762 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
6763 register_size.
6764 * Makefile.in (dwarf2loc.o): Update dependencies.
6765
91ccbfc1
TR
67662003-03-04 Theodore A. Roth <[email protected]>
6767
6768 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
6769 number of io registers reported by remote target is not a multiple of
6770 step.
6771
3d4e8fd2
DC
67722003-03-04 David Carlton <[email protected]>
6773
6774 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
6775 (lookup_symbol_aux_psymtabs): Update call to
6776 lookup_partial_symbol.
6777 (lookup_transparent_type, find_main_psymtab)
6778 (make_symbol_overload_list): Ditto.
6779
ed42d87b
KH
67802003-03-04 Kazu Hirata <[email protected]>
6781
6782 * MAINTAINERS (Write after approval): Update my email address.
6783
a0ed5532
AC
67842003-03-03 Andrew Cagney <[email protected]>
6785
6786 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
6787 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
6788 predicate. Replace MAX_REGISTER_RAW_SIZE.
6789 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
6790 MAX_REGISTER_VIRTUAL_SIZE.
6791 * regcache.c (legacy_max_register_raw_size): New function.
6792 (legacy_max_register_virtual_size): New function.
6793 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
6794 (MAX_REGISTER_RAW_SIZE): Define.
6795 (legacy_max_register_raw_size): Declare.
6796 (legacy_max_register_virtual_size): Declare.
6797 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
6798 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
6799 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
6800 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
6801 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
6802 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
6803 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
6804 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
6805 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
6806 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
6807 * vax-tdep.c (vax_gdbarch_init): Update.
6808 * v850-tdep.c (v850_gdbarch_init): Update.
6809 * sparc-tdep.c (sparc_gdbarch_init): Update.
6810 * sh-tdep.c (sh_gdbarch_init): Update.
6811 * s390-tdep.c (s390_gdbarch_init): Update.
6812 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
6813 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
6814 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
6815 * mips-tdep.c (mips_gdbarch_init): Update.
6816 * mcore-tdep.c (mcore_gdbarch_init): Update.
6817 * m68k-tdep.c (m68k_gdbarch_init): Update.
6818 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
6819 * ia64-tdep.c (ia64_gdbarch_init): Update.
6820 * i386-tdep.c (i386_gdbarch_init): Update.
6821 * hppa-tdep.c (hppa_gdbarch_init): Update.
6822 * h8300-tdep.c (h8300_gdbarch_init): Update.
6823 * frv-tdep.c (frv_gdbarch_init): Update.
6824 * cris-tdep.c (cris_gdbarch_init): Update.
6825 * avr-tdep.c (avr_gdbarch_init): Update.
6826 * arm-tdep.c (arm_gdbarch_init): Update.
6827 * alpha-tdep.c (alpha_gdbarch_init): Update.
6828 * d10v-tdep.c (d10v_gdbarch_init): Do not set
6829 max_register_raw_size or max_register_virtual_size.
6830
8e437497
DC
68312003-03-03 David Carlton <[email protected]>
6832
6833 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
6834 SYMBOL_MATCHES_NAME, add comment.
6835 (SYMBOL_MATCHES_NATURAL_NAME): New.
6836 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
6837 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
6838 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
6839 * symtab.c (lookup_partial_symbol): Use
6840 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
6841 unhelpful comment.
6842 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
6843 SYMBOL_MATCHES_NAME.
6844 Fix for PR c++/33.
6845
25120b0d
DC
68462003-03-03 David Carlton <[email protected]>
6847
6848 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
6849 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
6850 by regexp matching against SYMBOL_NATURAL_NAME.
6851
78a11fb4
DC
68522003-03-03 David Carlton <[email protected]>
6853
6854 * linespec.c (find_method): Extract code into collect_methods.
6855 (collect_methods): New.
6856
645dd519
MK
68572003-03-02 Mark Kettenis <[email protected]>
6858
b4700d91
MK
6859 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
6860 get_frame_base.
6861
645dd519
MK
6862 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
6863 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
6864
0aa7e1aa
SC
68652003-03-02 Stephane Carrez <[email protected]>
6866
8ffd9b1b 6867 * arch-utils.c (generic_register_byte): Fix to use the loop index
0aa7e1aa
SC
6868 and not regnum when summing the size of all registers up to regnum.
6869
f30ee0bc
AC
68702003-03-01 Andrew Cagney <[email protected]>
6871
6872 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
6873 FRAME_INIT_SAVED_REGS.
6874 * gdbarch.h, gdbarch.c: Regenerate.
6875 * stack.c (frame_info): Update.
6876 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
6877 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
6878 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
6879 * ns32k-tdep.c (ns32k_pop_frame): Update.
6880 * mips-tdep.c (mips_pop_frame): Update.
6881 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
6882 * ia64-tdep.c (ia64_frame_chain): Update.
6883 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
6884 (ia64_frameless_function_invocation): Update.
6885 (ia64_init_extra_frame_info): Update.
6886 (ia64_pop_frame_regular): Update.
6887 * frame.h (struct frame_info): Update comment.
6888 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
6889 * frame.c (frame_saved_regs_register_unwind): Update.
6890 (frame_saved_regs_register_unwind): Update.
6891 (deprecated_generic_get_saved_register): Update.
6892 * cris-tdep.c: Update comment.
6893 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
6894 Rename macro.
6895 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
6896 * x86-64-tdep.c (x86_64_init_abi): Update.
6897 * vax-tdep.c (vax_gdbarch_init): Update.
6898 * v850-tdep.c (v850_gdbarch_init): Update.
6899 * sparc-tdep.c (sparc_gdbarch_init): Update.
6900 * sh-tdep.c (sh_gdbarch_init): Update.
6901 * s390-tdep.c (s390_gdbarch_init): Update.
6902 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
6903 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
6904 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
6905 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
6906 * mips-tdep.c (mips_gdbarch_init): Update.
6907 * mcore-tdep.c (mcore_gdbarch_init): Update.
6908 * m68k-tdep.c (m68k_gdbarch_init): Update.
6909 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
6910 * ia64-tdep.c (ia64_gdbarch_init): Update.
6911 * i386-tdep.c (i386_gdbarch_init): Update.
6912 * frv-tdep.c (frv_gdbarch_init): Update.
6913 * avr-tdep.c (avr_gdbarch_init): Update.
6914 * arm-tdep.c (arm_gdbarch_init): Update.
6915 * alpha-tdep.c (alpha_gdbarch_init): Update.
8ffd9b1b 6916
42fa7c0f
AC
69172003-03-01 Andrew Cagney <[email protected]>
6918
6919 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
6920 option enum and switch. When no windows, set the interpreter to
6921 INTERP_CONSOLE.
8ffd9b1b 6922
49c7e338
AC
69232003-03-01 Andrew Cagney <[email protected]>
6924
6925 * main.c (captured_main): Replace magic option characters with an
6926 enum.
6927
e9582e71
AC
69282003-03-01 Andrew Cagney <[email protected]>
6929
6930 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
6931 INIT_EXTRA_FRAME_INFO.
6932 * gdbarch.h, gdbarch.c: Regenerate.
6933 * arm-tdep.c: Update comments.
6934 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
6935 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
6936 * frame.h, avr-tdep.c: Ditto.
6937 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
6938 (create_new_frame, legacy_get_prev_frame): Ditto.
6939 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
6940 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
6941 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
6942 deprecated_init_extra_frame_info instead of init_extra_frame_info.
6943 * x86-64-tdep.c (x86_64_init_abi): Ditto.
6944 * v850-tdep.c (v850_gdbarch_init): Ditto.
6945 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
6946 * sh-tdep.c (sh_gdbarch_init): Ditto.
6947 * s390-tdep.c (s390_gdbarch_init): Ditto.
6948 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
6949 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
6950 * mips-tdep.c (mips_gdbarch_init): Ditto.
6951 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
6952 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
6953 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
6954 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
6955 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
6956 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
6957 * frv-tdep.c (frv_gdbarch_init): Ditto.
6958 * cris-tdep.c (cris_gdbarch_init): Ditto.
6959 * avr-tdep.c (avr_gdbarch_init): Ditto.
6960 * arm-tdep.c (arm_gdbarch_init): Ditto.
6961 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
6962 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
6963
35cac7cf
AC
69642003-03-01 Andrew Cagney <[email protected]>
6965
6966 * gdbarch.sh (register_type): New function with predicate.
6967 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
6968 * gdbarch.h, gdbarch.c: Re-generate.
6969 * arch-utils.c (generic_register_byte): Use generic_register_size.
6970 (generic_register_size): When available, use
6971 gdbarch_register_type.
6972 * regcache.c (init_regcache_descr): When available, initialize the
6973 register type array using gdbarch_register_type. If the
6974 architecture supplies gdbarch_register_type, do not use the legacy
6975 regcache layout.
6976 * d10v-tdep.c (d10v_register_type): Replace
6977 d10v_register_virtual_type.
6978 (d10v_gdbarch_init): Set register_type instead of
6979 register_virtual_type.
6980
7b83296f
AC
69812003-03-01 Andrew Cagney <[email protected]>
6982
6983 * Makefile.in (ax-gdb.o): Update dependencies.
6984 * ax-gdb.c: Include "regcache.h".
6985 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
6986 * findvar.c (value_of_register): Ditto.
6987 * infcmd.c (default_print_registers_info): Ditto.
6988
eadc1c87
MK
69892003-03-01 Mark Kettenis <[email protected]>
6990
6991 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
6992 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
6993
14143612
MK
69942003-03-01 Mark Kettenis <[email protected]>
6995
6996 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
6997 of STREQ.
6998
a55cc764
DJ
69992003-02-28 Daniel Jacobowitz <[email protected]>
7000
7001 * Makefile.in (dwarf2loc.o): Update dependencies.
7002 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
7003 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
7004 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
7005 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
7006 (locexpr_tracepoint_var_ref): New function.
7007 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
7008
08a617da
AC
70092003-02-28 Andrew Cagney <[email protected]>
7010
7011 * regcache.c (register_size): New function.
7012 * regcache.h (register_size): Declare
7013 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
7014 max_register_size instead of MAX_REGISTER_RAW_SIZE.
7015
4224873a
DC
70162003-02-28 David Carlton <[email protected]>
7017
7018 * linespec.c (decode_compound): Extract code into find_method.
7019 (find_method): New.
7020
ccdc5d7f
JB
70212003-02-28 J. Brobecker <[email protected]>
7022
7023 * Makefile.in: Add rules to build and link in observer.o.
7024
974e8ced
JB
70252003-02-27 J. Brobecker <[email protected]>
7026
7027 * observer.c: Minor comments edits.
7028
7a28f973
JB
70292003-02-27 J. Brobecker <[email protected]>
7030
7031 * observer.h, observer.c: New file.
7032
27cddce2
AC
70332003-02-27 Andrew Cagney <[email protected]>
7034
7035 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
7036
b94a41a1
SC
70372003-02-27 Stephane Carrez <[email protected]>
7038
7039 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
7040 (M6812_OP_STS_EXT): Likewise.
7041 (m6811_prologue): Use the above to recognize prologue.
7042 (m6812_prologue): Likewise.
7043
c8be8951
DC
70442003-02-27 David Carlton <[email protected]>
7045
7046 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
7047 SYMBOL_PRINT_NAME.
7048 (compare_psymbols): Ditto.
7049 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
7050
d05bb1fc
MS
70512003-02-27 Michael Snyder <[email protected]>
7052
4e845cd3
MS
7053 * f-lang.c (build_fortran_types): New function.
7054 (_initialize_f_language): Gdbarch-register built-in fortran types.
d05bb1fc
MS
7055 * doublest.c (extract_floating): Fix warning text.
7056
f3824013
AC
70572003-02-27 Andrew Cagney <[email protected]>
7058
7059 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
7060 predicate. Replaces PUSH_DUMMY_FRAME.
7061 * gdbarch.h, gdbarch.c: Regnerate.
7062 * valops.c (hand_function_call): Update. Call
7063 generic_push_dummy_frame directly.
7064 * vax-tdep.c (vax_gdbarch_init): Update.
7065 * sparc-tdep.c (sparc_gdbarch_init): Update.
7066 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
7067 * m68k-tdep.c (m68k_gdbarch_init): Update.
7068 * hppa-tdep.c (hppa_gdbarch_init): Update.
7069 * alpha-tdep.c (alpha_gdbarch_init): Update.
7070 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
7071 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
7072 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
7073 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
7074 push_dummy_frame to generic_push_dummy_frame.
7075 * v850-tdep.c (v850_gdbarch_init): Ditto.
7076 * sh-tdep.c (sh_gdbarch_init): Ditto.
7077 * s390-tdep.c (s390_gdbarch_init): Ditto.
7078 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
7079 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
7080 * mips-tdep.c (mips_gdbarch_init): Ditto.
7081 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
7082 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
7083 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
7084 * i386-tdep.c (i386_gdbarch_init): Ditto.
7085 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
7086 * frv-tdep.c (frv_gdbarch_init): Ditto.
7087 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
7088 * cris-tdep.c (cris_gdbarch_init): Ditto.
7089 * avr-tdep.c (avr_gdbarch_init): Ditto.
7090 * arm-tdep.c (arm_gdbarch_init): Ditto.
8ffd9b1b 7091
ad188201
KB
70922003-02-26 Kevin Buettner <[email protected]>
7093
7094 * mips-tdep.c (show_mips_abi): New function.
7095 (_initialize_mips_tdep): Use show_mips_abi() to implement the
7096 command ``show mips abi''.
7097
6b37567a 70982003-02-26 Jeff Johnston <[email protected]>
8ffd9b1b 7099
6b37567a 7100 From Elena Zannoni <[email protected]>
8ffd9b1b 7101 * dbxread.c (process_one_symbol): Only record line 0 if one or
6b37567a
JJ
7102 more sline entries have been seen for the function.
7103
d3e0a5bf
MC
71042003-02-26 Michael Chastain <[email protected]>
7105
7106 * configure: Regenerate with autoconf 000227.
7107
18972eea
MC
71082003-02-26 Michael Chastain <[email protected]>
7109
7110 Close PR build/660.
7111 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
7112 for old libc5/glibc.
7113 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
7114
0bbde931
KW
71152003-02-26 Kris Warkentin <[email protected]>
7116
7117 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
7118 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
7119
27ca5dad
MC
71202003-02-26 Michael Chastain <[email protected]>
7121
7122 * configure.in: New variable HAVE_UINTPTR_T.
7123 * configure, config.in: Regenerated.
7124
6f88d630
DJ
71252003-02-26 Daniel Jacobowitz <[email protected]>
7126
7127 Fix PR build/1097.
7128 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
7129
b14185ce
AC
71302003-02-25 Andrew Cagney <[email protected]>
7131
7132 * frame.c (get_prev_frame): Add comment on check for
7133 inside_entry_func. Only check for inside_entry_file when not a
7134 dummy and not a sentinel. Check that the new frame is not inner
7135 to the old frame.
7136
ac2bd0a9
AC
71372003-02-25 Andrew Cagney <[email protected]>
7138
7139 * frame.c (frame_debug): New variable.
7140 (_initialize_frame): Add "set/show debug frame" command.
7141 (get_prev_frame): When frame_debug, print reason why unwind
7142 failed.
7143
b18a0fd2
MC
71442003-02-25 Michael Chastain <[email protected]>
7145
7146 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
7147 to avoid uintptr_t definition problems.
7148
22abf04a
DC
71492003-02-25 David Carlton <[email protected]>
7150
7151 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
7152 (SYMBOL_LINKAGE_NAME): Ditto.
7153 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
7154 SYMBOL_LINKAGE_NAME.
7155 (struct general_symbol_info): Expand comment.
7156 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
7157 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
7158 (SYMBOL_MATCHES_REGEXP): Ditto.
7159 * symtab.c (symbol_natural_name): New function.
7160 * objfiles.h: Replace all uses of SYMBOL_NAME by
7161 DEPRECATED_SYMBOL_NAME.
7162 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
7163 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
7164 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
7165 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
7166 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
7167 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
7168 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
7169 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
7170 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
7171 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
7172 * ada-exp.y: Ditto.
7173 * ada-exp.y: Update copyright.
7174 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
7175 * cp-valprint.c: Ditto.
7176
1a5848f6
JJ
71772003-02-25 Jeff Johnston <[email protected]>
7178
7179 * infptrace.c (detach): Do not flag error if ptrace detach fails
7180 and errno is set to ESRCH.
7181
7343d46a
AC
71822003-02-24 Andrew Cagney <[email protected]>
7183
7184 * infptrace.c (udot_info): Change type of udot_off to long. Use
7185 paddr when printing udot_off's value.
7186
49fa1dc2
DC
71872003-02-24 David Carlton <[email protected]>
7188
7189 * symtab.c (make_symbol_overload_list): Only read in partial
7190 symtabs containing a matching partial symbol.
7191
0fe19209
DC
71922003-02-24 David Carlton <[email protected]>
7193
7194 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
7195 do the comparison, not strcmp.
7196 * symfile.c (compare_psymbols): Ditto.
7197 * defs.h: Declare strcmp_iw_ordered.
7198 * utils.c (strcmp_iw_ordered): New function.
7199
8e3ee7b5
JB
72002003-02-24 Jim Blandy <[email protected]>
7201
7202 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
7203 support, shared libs): Remove my name from here, to better reflect
7204 reality.
7205
7df1a324
KW
72062003-02-24 Kris Warkentin <[email protected]>
7207
7208 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
7209 (target_ops): Add to_have_continuable_watchpoint.
7210 * target.c (update_current_target): Add INHERIT line for
7211 to_have_continuable_watchpoint.
7212 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
7213 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
7214 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
7215 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
7216
d1c76907
EZ
72172003-02-24 Elena Zannoni <[email protected]>
7218
7219 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
7220 maintainership.
7221
2610b0bf
KW
72222003-02-24 Kris Warkentin <[email protected]>
7223
f46169db
KW
7224 * solib.c (solib_open): Call target defined search function after
7225 failing with solib-search-path.
7226 * solist.h (target_so_ops): Add find_and_open_solib function hook and
7227 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
2610b0bf 7228
9a3c34fe
KW
72292003-02-24 Kris Warkentin <[email protected]>
7230
f46169db 7231 * MAINTAINERS: Add myself to Write After section.
9a3c34fe 7232
2417dd25
SC
72332003-02-23 Stephane Carrez <[email protected]>
7234
7235 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
7236
b631436b
SC
72372003-02-22 Stephane Carrez <[email protected]>
7238
7239 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
7240 (m68hc11_add_reggroups): New function.
7241 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
7242 (m68hc11_gdbarch_init): Install the reggroups.
7243 (_initialize_m68hc11_tdep): Initialize them.
7244
0aa8c1e4
JW
72452003-02-21 James E Wilson <[email protected]>
7246
7247 * MAINTAINERS: Update my email address.
7248
50ceaba5
DC
72492003-02-21 David Carlton <[email protected]>
7250
7251 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
7252
4c2df51b
DJ
72532003-02-21 Daniel Jacobowitz <[email protected]>
7254
7255 Based on a patch from Daniel Berlin ([email protected]).
7256 * symtab.h: Add opaque declarations of struct axs_value and
7257 struct agent_expr.
7258 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
7259 (struct location_funcs): New type.
7260 (struct symbol): Add "loc" to aux_value.
7261 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
7262 * dwarf2read.c: Include "dwarf2expr.h".
7263 (dwarf2_symbol_mark_computed): New function.
7264 (read_func_scope): Use it.
7265 (var_decode_location): New function.
7266 (new_symbol): Use it.
7267 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
7268
7269 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
7270 (dwarf2expr_h, dwarf2loc_h): New variables.
7271 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
7272 (dwarf2expr.o, dwarf2loc.o): New rules.
7273 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
7274 * buildsym.c (finish_block): Handle LOC_COMPUTED and
7275 LOC_COMPUTED_ARG.
7276 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
7277 * m2-exp.y (yylex): Likewise.
7278 * printcmd.c (address_info, print_frame_args): Likewise.
7279 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
7280 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
7281 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
7282 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
7283 * symtab.c (lookup_block_symbol): Likewise.
7284
5784d15e
AF
72852003-02-20 Adam Fedor <[email protected]>
7286
7287 * symtab.h: Remove objc_specific struct
7288 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
7289 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
7290 Have language_objc use cplus_specific struct.
7291
d4cad8db
TT
72922003-02-20 Tom Tromey <[email protected]>
7293
7294 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
7295 TYPE_NAME, when printing a String value. PR java/1075.
7296
2f9a90b4
AF
72972003-02-20 Adam Fedor <[email protected]>
7298
d38074a8 7299 * objc-lang.h (find_methods): Remove declaration.
fbe586ae 7300 * objc-lang.c (find_methods): Make static.
2f9a90b4 7301
6f17862b
CF
73022003-02-20 Christopher Faylor <[email protected]>
7303
7304 * win32-nat.c (get_image_name): Check return value from
7305 ReadProcessMemory.
7306 (child_xfer_memory): Ditto.
7307
715d1656
AO
73082003-02-20 Alexandre Oliva <[email protected]>
7309
7310 * configure.in (TARGET_SYSTEM_ROOT): Set default to
7311 ${exec_prefix}/${target_alias}/sys-root. Match explicit
7312 '${exec_prefix}' (in addition to the expansion thereof) as
7313 relocatable.
7314 * configure: Rebuilt.
7315
b1262a02
DC
73162003-02-20 David Carlton <[email protected]>
7317
7318 * symtab.c (search_symbols): Revert the search_symbols part of my
7319 2002-12-23 patch. Add comment.
7320
7134143f
DJ
73212002-02-20 Daniel Jacobowitz <[email protected]>
7322
7323 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
7324 * dbxread.c (elfstab_build_psymtabs): Don't call
7325 install_minimal_symbols.
7326 (stabsect_build_psymtabs): Likewise.
7327 * elfread.c (elf_symfile_read): Call install_minimal_symbols
7328 earlier.
7329 * somread.c (som_symfile_read): Call install_minimal_symbols
7330 and do_cleanups earlier.
7331 * nlmread.c (nlm_symfile_read): Likewise.
7332 * mdebugread.c (elfmdebug_build_psymtabs): Call
7333 install_minimal_symbols and make appropriate cleanups.
7334
cf466558
KB
73352003-02-20 Kevin Buettner <[email protected]>
7336
7337 * solib.c (reload_shared_libraries): New function.
7338 (_initialize_solib): Add callbacks for ``set solib-search-path''
7339 and ``set solib-absolute-prefix''.
7340
de5ad195
DC
73412003-02-20 David Carlton <[email protected]>
7342
7343 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
7344 expand comment.
7345 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
7346 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
7347 * ada-typeprint.c (ada_typedef_print): Ditto.
7348 * ax-gdb.c (gen_var_ref): Ditto.
7349 * breakpoint.c (print_one_breakpoint): Ditto.
7350 * buildsym.c (finish_block): Ditto.
7351 * c-valprint.c (c_val_print): Ditto.
7352 * expprint.c (print_subexp): Ditto.
7353 * findvar.c (locate_var_value): Ditto.
8ffd9b1b
AJ
7354 * infcmd.c (jump_command): Ditto.
7355 * linespec.c (decode_line_2, decode_compound): Ditto.
7356 * maint.c (maintenance_translate_address): Ditto.
7357 * objc-lang.c (compare_selectors, compare_classes): Ditto.
de5ad195
DC
7358 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
7359 Ditto.
8ffd9b1b
AJ
7360 * p-valprint.c (pascal_val_print): Ditto.
7361 * stabsread.c (define_symbol): Ditto.
de5ad195 7362 * stack.c (print_frame, frame_info, print_block_frame_locals)
8ffd9b1b
AJ
7363 (print_frame_arg_vars, return_command): Ditto.
7364 * symfile.c (compare_symbols, compare_psymbols): Ditto.
7365 * symmisc.c (print_symbol): Ditto.
de5ad195
DC
7366 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
7367 (compare_search_syms, print_symbol_info, print_msymbol_info)
8ffd9b1b
AJ
7368 (rbreak_command): Ditto.
7369 * tracepoint.c (tracepoints_info): Ditto.
7370 * typeprint.c (typedef_print): Ditto.
7371 * valops.c (value_of_variable, hand_function_call): Ditto.
de5ad195
DC
7372 * cli/cli-cmds.c (edit_command, list_command): Ditto.
7373 * ada-typeprint.c: Update Copyright.
7374 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
7375 * tracepoint.c, cli/cli-cmds.c: Ditto.
7376
f796e4be
KB
73772003-02-20 Kevin Buettner <[email protected]>
7378
7379 * frame.c (generic_unwind_get_saved_register): Make non-static.
7380 * frame.h (generic_unwind_get_saved_register): Declare.
7381 * mips-tdep.c (read_next_frame_reg): Fetch register from
7382 current regcache when frame is NULL.
7383 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
7384 that must be NULL.
7385 (mips_get_saved_register): Call generic_unwind_get_saved_register()
7386 instead of frame_register_unwind().
7387
836cc9f4
AC
73882003-02-20 Andrew Cagney <[email protected]>
7389
7390 * remote-sim.c (gdbsim_insert_breakpoint)
7391 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
7392 code.
7393
501eef12
AC
73942003-02-20 Andrew Cagney <[email protected]>
7395
7396 * remote.c (_initialize_remote): Add commands "set/show remote
7397 hardware-watchpoint-limit" and "set/show remote
7398 hardware-breakpoint-limit".
7399 (remote_hw_watchpoint_limit): Initialize to -1.
7400 (remote_hw_breakpoint_limit): Ditto.
7401 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
7402
1b6bc7e0
CF
74032003-02-19 Raoul Gough <[email protected]>
7404
7405 * coff-pe-read.c: New file - support reading of minimal symbols from a
7406 portable executable using the export table.
7407 * coff-pe-read.h: New file.
7408 * coffread.c: Include coff-pe-read.h.
7409 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
7410 debugging symbols found.
7411 * Makefile.in (SFILES): Add coff-pe-read.o.
7412 (coff_pe_read_h): Define.
7413 (COMMON_OBS): Add coff-pe-read.o.
7414 (coffread.o): Add coff_pe_read_h dependency.
7415 (coff-pe-read.o): New target.
7416
fe898f56
DC
74172003-02-19 David Carlton <[email protected]>
7418
7419 * Makefile.in (SFILES): Add block.c.
7420 (block_h): New.
7421 (COMMON_OBS): Add block.o.
7422 (block.o): New.
7423 (x86-64-tdep.o): Add $(block_h).
7424 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
7425 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
7426 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
7427 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
7428 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
7429 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
7430 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
7431 * value.h: Add opaque declaration for struct block.
7432 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
7433 * ada-lang.h: Ditto.
7434 * x86-64-tdep.c: #include "block.h"
7435 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
7436 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
7437 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
7438 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
7439 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
7440 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
7441 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
7442 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
7443 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
7444 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
7445 * symtab.c (block_function): Ditto.
7446 (contained_in): Ditto.
7447 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
7448 block.h. Add opaque declaration for struct block.
7449 * symtab.h: Move block_function and contained_in declarations to
7450 block.h. Add opaque declarations for struct block, struct
7451 blockvector.
7452 (struct block): Move to block.h.
7453 (struct blockvector): Ditto.
7454 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
7455 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
7456 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
7457 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
7458 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
7459 Ditto.
7460 * block.c: New file.
7461 * block.h: New file.
7462
173345b5
TR
74632003-02-19 Theodore A. Roth <[email protected]>
7464
7465 * avr-tdep.c (avr_extract_return_value): Remove function.
7466 (avr_store_return_value): Remove function.
7467 (avr_extract_struct_value_address): Remove function.
7468 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
7469
338ef23d
AC
74702003-02-19 Andrew Cagney <[email protected]>
7471
7472 * rs6000-tdep.c: Include "gdb_assert.h".
7473 (registers_e500): Add "acc" and "spefscr".
7474 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
7475 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
7476 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
7477 really is "r0".
7478 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
7479
5412f5f3
KS
74802003-02-18 Keith Seitz <[email protected]>
7481
7482 * Makefile.in: Add gdbtk-interps.c.
7483
881324eb
KB
74842003-02-18 Kevin Buettner <[email protected]>
7485
7486 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
7487 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
7488
6a2f5abf
AC
74892003-02-18 Andrew Cagney <[email protected]>
7490
7491 * symtab.h (struct objfile): Add opaque declaration.
7492
54c7009d
EZ
74932003-02-18 Elena Zannoni <[email protected]>
7494
7495 From Jim Ingham <[email protected]>:
fbe586ae
RH
7496 * dbxread.c (process_one_symbol): Use last_function_start rather
7497 than function_start_offset to find the real beginning of the
7498 current function. The latter is just the text section offset on
7499 some systems, the former is always the real function start.
54c7009d 7500
7ee6d7eb
AC
75012003-02-17 Andrew Cagney <[email protected]>
7502
7503 * configure.in: Revert ${target} != ${host}.
7504
2846da9b
AC
75052003-02-17 Andrew Cagney <[email protected]>
7506
7507 * configure.in (Makefile): Use the test ${target} != ${host},
7508 instead of the absence of the "nm.h" file, to determine of the
7509 configuration non-native.
7510 * configure: Regenerate.
8ffd9b1b 7511
3b27aeea
EZ
75122003-02-14 Elena Zannoni <[email protected]>
7513
fbe586ae 7514 From Brian Ford <[email protected]>
3b27aeea
EZ
7515
7516 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
7517 conditionalize tui_active test.
7518 (lookup_cmd_1): Ditto.
7519
b0b1c2c0
MK
75202003-02-14 Mark Kettenis <[email protected]>
7521
7522 * configure.in: Add check for _etext.
7523 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
7524 available.
7525 * config.in, configure: regenerated.
7526
8f05cde5
DJ
75272003-02-14 Daniel Jacobowitz <[email protected]>
7528
7529 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
7530
021e7609
AC
75312003-02-14 Andrew Cagney <[email protected]>
7532
7533 * main.c (tui_version): Delete variable.
7534 (captured_main): When --tui, set interpreter_p to "tui" instead of
7535 enabling tui_version.
7536 * printcmd.c (display_command) [TUI]: Test tui_active instead of
7537 tui_version.
7538 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
7539 * cli/cli-cmds.c (disassemble_command): Ditto.
7540 * defs.h (tui_version): Delete declaration.
7541 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
7542 (tui-interp.o): Add rules.
7543 (SUBDIR_TUI_OBS): Add "tui-interp.o".
7544
e325dcec
CF
75452003-02-14 Christopher Faylor <[email protected]>
7546
36ffb041 7547 * win32-nat.c (register_loaded_dll): Correctly set address range for
e325dcec
CF
7548 just-loaded dll.
7549
c4f90d87
JM
75502003-02-12 Jason Molenda ([email protected])
7551
fbe586ae
RH
7552 * symmisc.c (print_objfile_statistics): Include information about
7553 the number of psymtabs and symtabs in each object file.
c4f90d87 7554
e46e5ccd
KS
75552003-02-13 Keith R Seitz <[email protected]>
7556
7557 * main.h (struct captured_main_args): Add interpreter_p.
7558 * main.c (captured_main): Initialize interpreter_p from context.
7559 * gdb.c (main): Set interpreter_p argument.
7560 * Makefile.in (gdb.o): Add dependency for interps.h.
7561
fe97fe9c
AC
75622003-02-12 Andrew Cagney <[email protected]>
7563
7564 * event-top.c (cli_command_loop): Delete declaration.
7565 (_initialize_event_loop): Delete function setting event_loop_hook.
7566 * event-top.h (cli_command_loop): Declare. Update copyright.
7567 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
7568 * interps.c (current_interp_command_loop): When event_loop_p, call
7569 cli_command_loop.
7570
1cdac4ef
AC
75712003-02-12 Andrew Cagney <[email protected]>
7572
7573 * interps.h (interp_command_loop_ftype): Change return type to
7574 void.
7575
48037ead
ML
75762003-02-12 Michal Ludvig <[email protected]>
7577
7578 * x86-64-tdep.c (x86_64_extract_return_value)
7579 (x86_64_store_return_value): Use regcache instead of regbuf.
7580 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
7581 * x86-64-linux-nat.c (fill_gregset): Use regcache.
7582
033afc63
AC
75832003-02-11 Andrew Cagney <[email protected]>
7584
7585 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
7586 * aclocal.m4: Regenerate.
7587 * configure: Regenerate.
7588
7589 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
7590 TCL_LD_SEARCH_FLAGS.
7591
40d02bca
ML
75922003-02-10 Michal Ludvig <[email protected]>
7593
7594 * dwarf2cfi.c: Reindented.
7595
11308a41
AC
75962003-02-09 Andrew Cagney <[email protected]>
7597
7598 * interps.c (clear_interpreter_hooks): Convert function definition
7599 to ISO C.
7600
e1c1c0f6
DC
76012003-02-07 David Carlton <[email protected]>
7602
7603 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
7604
ab5d3da6
KB
76052003-02-07 Kevin Buettner <[email protected]>
7606
7607 * gdbtypes.h (struct main_type): Move ``length'' field from here...
7608 (struct type): ...to here.
7609 (TYPE_LENGTH): Adjust to reflect different location of ``length''
7610 field.
7611 * gdbtypes.c (make_qualified_type): Set length on newly created type.
7612 (replace_type): Set length on all type variants for a given type.
7613
b8a92b82
AC
76142003-02-07 Andrew Cagney <[email protected]>
7615
7616 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
7617 <sys/stat.h>.
7618 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
8ffd9b1b 7619
5cb316ef
AC
76202003-02-06 Andrew Cagney <[email protected]>
7621
2555fe1a
AC
7622 * Makefile.in (symm-nat.o): Update dependencies.
7623 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
7624 (lynx-nat.o, ia64-linux-nat.): Ditto.
7625 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
7626 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
7627 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
7628
44270758
AC
7629 * Makefile.in (inflow_h): Define.
7630 (procfs.o, inflow.o, procfs.o): Update dependencies.
7631 * inftarg.c (child_stop): Delete extern declaration of
7632 inferior_process_group. Include "inflow.h".
7633 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
7634 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
7635 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
7636 (our_process_group, inferior_process_group): Extern declarations.
7637
df8f7274
AC
7638 * procfs.c: Include "gdb_assert.h".
7639
5cb316ef
AC
7640 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
7641 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
7642 * jv-typeprint.c (java_type_print_base): Ditto.
7643 * typeprint.c (typedef_print): Eliminate STREQ.
7644 * cli/cli-script.c (define_command, define_command): Ditto.
7645 * main.c (captured_main): Ditto.
7646 * values.c (lookup_internalvar): Ditto.
7647 * utils.c (safe_strerror, parse_escape): Eliminate assignment
7648 within `if' conditional.
7649 * linespec.c (decode_line_2): Ditto.
7650 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
7651 (bfd_openw_with_cleanup): Ditto.
7652
2a28ccea
MK
76532003-02-07 Mark Kettenis <[email protected]>
7654
7655 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
7656 legacy_extract_return_value and store_return_value to
7657 legacy_return_value.
7658
786b8124
CF
76592003-02-06 Raoul Gough <[email protected]>
7660
7661 * win32-nat.c (get_relocated_section_addrs): New function. Find
7662 section load addresses for symbol handling in relocated DLLs.
7663 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
7664
b871e4ec
FF
76652003-02-05 Fred Fish <[email protected]>
7666
7667 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
7668 '=' and '!='.
7669 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
7670 with '&' and '=='.
7671 (angel_RDI_info): Ditto.
7672 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
7673 with '&' and '!='.
7674 (threads_continue_all_with_signals): Ditto.
8ffd9b1b 7675
4389a95a 76762003-02-05 Jim Ingham <[email protected]>
fbe586ae
RH
7677 Keith Seitz <[email protected]>
7678 Elena Zannoni <[email protected]>
7679 Andrew Cagney <[email protected]>
4389a95a
AC
7680
7681 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
7682 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
7683 (SUBDIR_MI_OBS): Add "mi-interp.o".
7684 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
7685 (SFILES): Add "interps.c".
7686 (COMMON_OBS): Add "interps.o".
7687 (interps_h, mi_main_h): Define.
7688 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
7689 (mi-main.o, main.o, event-top.o): Update dependencies.
7690 * cli/cli-interp.c: New file.
7691 * interps.h, interps.c: New files.
7692 * top.c: (gdb_init): Don't install the default interpreter, handed
7693 by captured_main.
7694 * main.c: Include "interps.h".
7695 (interpreter_p): Note that it should malloc'ed.
7696 (captured_command_loop): Call current_interp_command_loop.
7697 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
7698 xfree and xstrdup when updating interpreter_p. Install the
7699 default interpreter. Add hack to stop mi1's copyright notice
7700 being encoded.
7701 * event-top.h (gdb_setup_readline): Declare.
7702 (gdb_disable_readline): Declare.
7703 * event-top.c: Include "interps.h".
7704 (display_gdb_prompt): Call current_interp_display_prompt_p.
7705 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
7706 gdb_stdlog, and gdb_stdtarg.
7707 (_initialize_event_loop): Don't call gdb_setup_readline.
7708 * cli-out.c (cli_out_set_stream): New function.
7709 * cli-out.h (cli_out_set_stream): Declare.
7710
ff3b5810
MK
77112003-02-06 Mark Kettenis <[email protected]>
7712
7713 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
7714 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
7715 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
7716 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
7717 config/i386/i386v42mp.mt: Removed.
7718
5b729aa5
MK
77192003-02-05 Mark Kettenis <[email protected]>
7720
7721 * configure.tgt (*-*-solaris*): Set gdb_osabi to
7722 GDB_OSABI_SOLARIS.
7723
8cc15142
MC
77242003-02-05 Michael Chastain <[email protected]>
7725
7726 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
7727 2.12.1 and earlier versions.
7728
5aa5d4b9
AC
77292003-02-05 Andrew Cagney <[email protected]>
7730
7731 Remove orphaned hosts, targets and files.
7732 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
7733 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
7734 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
7735 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
7736 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
7737 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
7738 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
7739 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
7740 * config/sparc/tm-sp64sim.h: Delete.
7741 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
7742 hosts.
7743 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
7744 mips*-dec-mach3* targets.
7745
b68767c1
MC
77462003-02-04 Michael Chastain <[email protected]>
7747
7748 * NEWS: Fix typo: sepcifying -> specifying.
7749
5ae7ca1d
MC
77502003-02-04 Michael Chastain <[email protected]>
7751
7752 * dwarfread.c: Add documentation on the state of dwarf-1,
7753 looking towards obsoletion.
7754
d08a4280
MC
77552003-02-03 Michael Chastain <[email protected]>
7756
7757 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
7758 gdb/testsuite/gdb.c++/pr-1023.exp.
7759
e9be73e4
AC
77602003-02-04 Andrew Cagney <[email protected]>
7761
7762 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
7763 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
7764
7765 * utils.c (init_page_info): Delete reference to MPW in comments.
7766 * main.c (captured_main): Delete #ifdef MPW.
7767
05d57f6f
AC
77682003-02-04 Andrew Cagney <[email protected]>
7769
8ffd9b1b 7770 * NEWS: Note that the m32r-*-elf* is obsolete.
05d57f6f
AC
7771 * monitor.c (monitor_expect): Obsolete reference to m32r.
7772 * configure.tgt: Mark m32r-*-elf* as obsolete.
7773 * MAINTAINERS: Mark m32k as obsolete.
7774 * m32r-rom.c: Obsolete file.
7775 * config/m32r/m32r.mt: Obsolete file.
7776 * config/m32r/tm-m32r.h: Obsolete file.
7777 * m32r-stub.c: Obsolete file.
7778 * m32r-tdep.c: Obsolete file.
7779
8b0e5691
AC
77802003-02-04 Andrew Cagney <[email protected]>
7781
7782 * NEWS: Mention that the z8k-zilog-none is obsolete.
7783 * MAINTAINERS: Mark z8k as obsolete.
7784 * configure.tgt: Obsolete the z8k-*-coff* target.
7785 * config/z8k/z8k.mt: Obsolete file.
7786 * config/z8k/tm-z8k.h: Obsolete file.
7787 * z8k-tdep.c: Obsolete file.
7788
67f16606
AC
77892003-02-04 Andrew Cagney <[email protected]>
7790
7791 * NEWS: Mention that the mn10200-elf is obsolete.
7792 * configure.tgt: Obsolete mn10200-*-* target.
7793 * breakpoint.c (update_breakpoints_after_exec): Update comment to
7794 mention that the mn10200 is obsolete.
7795 * breakpoint.h: Ditto.
7796 * MAINTAINERS: Mark the mn10200-elf as obsolete.
7797 * config/mn10200/mn10200.mt: Obsolete file.
7798 * config/mn10200/tm-mn10200.h: Obsolete file.
7799 * mn10200-tdep.c: Obsolete file.
7800
fd2299bd
AC
78012003-02-04 Andrew Cagney <[email protected]>
7802
7803 * MAINTAINERS: Mark h8500 as obsolete.
7804 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
7805 * findvar.c (value_from_register): Ditto.
7806 * h8500-tdep.c: Mark file as obsolete.
7807 * config/h8500/h8500.mt: Ditto.
7808 * config/h8500/tm-h8500.h: Ditto.
7809 * NEWS: Mention that h8500 is obsolete.
7810
eb9a305d
DC
78112003-02-04 David Carlton <[email protected]>
7812
7813 * objfiles.c (allocate_objfile): Always set name. Add comment at
7814 start of function.
7815 * jv-lang.c (get_dynamics_objfile): Add comment.
7816
406fc7fb
DC
78172003-02-04 David Carlton <[email protected]>
7818
7819 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
7820 * printcmd.c (build_address_symbolic): Replace uses of
7821 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
7822 SYMBOL_NAME, and asm_demangle.
7823 Update copyright.
7824
93d91629
DC
78252003-02-04 David Carlton <[email protected]>
7826
7827 * linespec.c (decode_compound): Extract code into
7828 lookup_prefix_sym.
7829 (lookup_prefix_sym): New function.
7830
1c5cb38e
DC
78312003-02-04 David Carlton <[email protected]>
7832
7833 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
7834 FLOAT_COERCION_BADNESS.
7835 * gdbtypes.c (rank_one_type): Replace all uses of
7836 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
7837
0cf824c9
JB
78382003-02-04 Jim Blandy <[email protected]>
7839
7840 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
7841 section, let dwarf_macinfo_section point to it, not
7842 dwarf_loc_section.
7843
a2d356b0
DJ
78442003-02-04 Daniel Jacobowitz <[email protected]>
7845
7846 Pointed out by Anton Blanchard <[email protected]>.
7847 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
7848 (ppc_linux_at_sigtramp_return_path): Use it.
7849
2de7ced7
DJ
78502003-02-04 Daniel Jacobowitz <[email protected]>
7851
7852 * defs.h (streq): Add prototype.
7853 * utils.c (streq): New function.
7854
7855 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
7856 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
7857 * mdebugread.c (new_symbol): Likewise.
7858 * stabsread.c (define_symbol): Likewise.
7859 * coffread.c (process_coff_symbol): Likewise.
7860 * dwarfread.c (new_symbol): Likewise.
7861
7862 * minsyms.c (prim_record_minimal_symbol_and_info): Use
7863 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
7864 here.
7865 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
7866 SYMBOL_INIT_DEMANGLED_NAME.
7867 * objfiles.c: Include "hashtab.h".
7868 (allocate_objfile): Call htab_set_functions_ex for the
7869 demangled_names_hash.
7870 (free_objfile): Call htab_delete for the demangled_names_hash.
7871 * objfiles.h (struct htab): Add declaration.
7872 (struct objfile): Add demangled_names_hash.
7873 * symfile.c: Include "hashtab.h".
7874 (reread_symbols): Call htab_delete for the demangled_names_hash.
7875 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
7876 SYMBOL_NAME in the bcache.
7877 * symtab.c: Include "hashtab.h". Update comments.
7878 (create_demangled_names_hash, symbol_set_names): New functions.
7879 (symbol_find_demangled_name): New function, broken out from
7880 symbol_init_demangled_names.
7881 (symbol_init_demangled_names): Use it.
7882 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
7883 (SYMBOL_SET_NAMES): New macro.
7884 (symbol_set_names): Add prototype.
7885
15831452
JB
78862003-02-03 Jim Blandy <[email protected]>
7887
7888 Use a single, consistent representation for an empty minimal
7889 symbol table in an objfile.
7890 * objfiles.c (terminate_minimal_symbol_table): New function.
7891 (allocate_objfile): Call it.
7892 * objfiles.h (terminate_minimal_symbol_table): New declaration.
7893 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
8ffd9b1b 7894 non-NULL.
15831452
JB
7895 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
7896 objfile has minimal symbols, compare minimal_symbol_count to zero,
7897 instead of comparing msymbols with NULL.
7898 * objfiles.c (have_minimal_symbols): Same.
7899 * solib-sunos.c (solib_add_common_symbols): Call
7900 terminate_minimal_symbol_table.
7901 * symfile.c (reread_symbols): Same.
8ffd9b1b 7902
ffc65945
KB
79032003-02-03 Kevin Buettner <[email protected]>
7904
7905 * s390-tdep.c (s390_address_class_type_flags)
7906 (s390_address_class_type_flags_to_name)
7907 (s390_address_class_name_to_type_flags): New functions.
7908 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
7909 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
7910
f211c6d4
MS
79112003-02-03 Michael Snyder <[email protected]>
7912
7913 * arm-tdep.c: Fix spell-o in comment.
7914
659b0389
ML
79152003-02-03 Michal Ludvig <[email protected]>
7916
7917 * dwarf2cfi.c (pointer_encoding): Added new parameter.
7918 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
8ffd9b1b 7919 error messages to contain BFD filename.
659b0389 7920
3b31d625
EZ
79212003-02-02 Elena Zannoni <[email protected]>
7922
997b089a 7923 Fix PR gdb/742 gdb/743 gdb/877
3b31d625
EZ
7924 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
7925 (do_mixed_source_and_assembly): Use
7926 make_cleanup_ui_out_tuple_begin_end and
7927 make_cleanup_ui_out_tuple_begin_end.
7928 (do_mixed_source_and_assembly): Ditto.
7929 * thread.c (do_captured_list_thread_ids): Ditto.
7930 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
7931 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
7932 ui_out_tuple_end): Delete prototypes.
7933 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
7934 ui_out_list_end, ui_out_tuple_end): Delete.
7935
7936 From Kevin Buettner <[email protected]>:
7937 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
fbe586ae
RH
7938 * ui-out.c (make_cleanup_ui_out_table_begin_end)
7939 (do_cleanup_table_end): New functions.
7940 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
7941 Use cleanups to invoke_ui_out_tuple_end().
7942 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
3b31d625
EZ
7943 * cli/cli-setshow.c (cmd_show_list): Use
7944 make_cleanup_ui_out_tuple_begin_end.
8ffd9b1b 7945
5b181d62
AC
79462003-02-02 Andrew Cagney <[email protected]>
7947
7948 * frame.c (frame_unwind_register): New function.
7949 (frame_unwind_unsigned_register): Use.
7950 (frame_unwind_signed_register): Use.
7951 (frame_read_register): New function.
7952 * frame.h (frame_unwind_register): Declare.
7953 (frame_read_register): Declare.
7954
7955 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
7956 and frame_unwind_register instead of read_memory, write_register
7957 and deprecated_write_register_bytes.
7958
5f601589
AC
79592003-02-02 Andrew Cagney <[email protected]>
7960
7961 * frame.h: Note that namelen can be negative.
7962 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
7963 NAME's length.
7964
7965 * NEWS: Mention that the d10v's `regs' command is deprecated.
7966 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
7967 (d10v_print_registers_info): New function.
7968 (show_regs): Call d10v_print_registers_info.
7969 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
7970
6a3fe0a4
MK
79712003-02-02 Mark Kettenis <[email protected]>
7972
7973 * stack.c (print_frame_info): Restore call to annotate_frame_begin
7974 lost in the previous patch.
7975
075559bc
AC
79762003-02-01 Andrew Cagney <[email protected]>
7977
7978 From 2002-11-09 Jason Molenda ([email protected])
fbe586ae
RH
7979 * stack.c (print_frame_info_base): Output complete FRAME tuple
7980 for synthesized frames.
075559bc 7981
6789195b
AC
79822003-02-02 Andrew Cagney <[email protected]>
7983
7984 * mips-nat.c (zerobuf): Delete.
7985 (fetch_inferior_registers): Alloc local zerobuf.
7986 (fetch_core_registers): Alloc local zerobuf.
7987 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
7988 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
7989 * thread-db.c (thread_db_store_registers): Ditto.
7990 * sh-tdep.c (sh_do_register): Ditto.
7991 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
7992 * remote-sim.c (gdbsim_store_register): Ditto.
7993 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
7994 * remote-e7000.c (fetch_regs_from_dump): Ditto.
7995 * monitor.c (monitor_supply_register): Ditto.
7996 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
7997 * mips-nat.c (fetch_inferior_registers): Ditto.
7998 * m68klinux-nat.c (fetch_register): Ditto.
7999 * lynx-nat.c (fetch_inferior_registers): Ditto.
8000 (fetch_inferior_registers): Ditto.
8001 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
8002 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
8003 (hpux_thread_store_registers): Ditto.
8004 * hppah-nat.c (fetch_register): Ditto.
8005 * hppab-nat.c (fetch_register): Ditto.
8006 * hppa-tdep.c (pa_register_look_aside): Ditto.
8007 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
8008 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
8009
e669114a
AC
80102003-02-01 Andrew Cagney <[email protected]>
8011
8012 * gdbarch.sh: Explictly specify all method levels. When a
8013 variable with an empty level, provide a non-multi-arch default.
8014 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
8015 * gdbarch.h: Re-generate.
8016 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
8017 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
8018
9a043c1d
AC
80192003-02-01 Andrew Cagney <[email protected]>
8020
8021 * defs.h (host_pointer_to_address): Delete declaration.
8022 (address_to_host_pointer): Delete declaration.
8023 * utils.c (host_pointer_to_address): Delete function.
8024 (address_to_host_pointer): Delete function.
8025 * procfs.c (procfs_address_to_host_pointer): New function.
8026 * procfs.c (proc_set_watchpoint): Use.
8027 (procfs_can_use_hw_breakpoint): Update comments.
8028 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
8029 (som_solib_add): Use.
8030 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
8031 * hppa-tdep.c (unwind_command): Use.
8ffd9b1b 8032
7ca9f392
AC
80332003-02-01 Andrew Cagney <[email protected]>
8034
94bbfd30
AC
8035 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
8036 strlen d_name.
8037
7ca9f392
AC
8038 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
8039 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
8040 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
8041 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
8042 (define_symbol): Update.
8043 * symfile.c (generic_load): Remove references to nindy.
8044 * symtab.c: Remove references to nindy.
8045
31a85ea2
AC
80462003-02-01 Andrew Cagney <[email protected]>
8047
8048 * infcmd.c (print_float_info): Delete code conditional on
8049 FLOAT_INFO.
8050 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
8051 * config/m68k/nm-apollo68b.h: Ditto.
8052 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
8053 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
8054 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
8055
f6e85fc8
MK
80562003-02-01 Mark Kettenis <[email protected]>
8057
6015b6a0
MK
8058 * config/i386/tm-i386os9k.h: Removed.
8059
f7a30bdf
MK
8060 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
8061 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
8062 they're identical to i[3456]86-*-sysv* now.
8063 * config/i386/i386v32.mh: Removed.
8064 * config/i386/xm-i386v32.h: Removed.
8065 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
8066
28d52111
MK
8067 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
8068
4d3f6bce
MK
8069 * config/i386/i386dgux.mh: Removed.
8070 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
8071
f6e85fc8
MK
8072 * configure.in: Fix typo.
8073 * configure: Regenerated.
8074
53955967
DC
80752003-01-31 David Carlton <[email protected]>
8076
8077 * dwarf2read.c (dwarf2_locate_sections): Set
8078 dwarf_ranges_section.
8079
b1364885
AC
80802003-01-31 Andrew Cagney <[email protected]>
8081
8dbb1c65
AC
8082 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
8083 * utils.c: Update comments documenting legitimate uses of PTR.
8ffd9b1b 8084
8731e58e
AC
8085 * utils.c: Re-indent.
8086
b1364885
AC
8087 * config/djgpp/fnchange.lst: Delete nindy files.
8088 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
8089 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
8090 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
8091 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
8092 * nindy-share/README, nindy-share/Onindy.c: Delete files.
8093 * nindy-tdep.c, nindy-share/Makefile: Delete files.
8094 * Makefile.in (init.c): Remove nindy references.
8095 (saber_gdb): Delete rule.
8096 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
8097 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
8098 and a68v-nat.c.
8099 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
8100 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
8101 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
8102 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
8103 nindy-share/stop.h.
8104 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
8105 * saber.suppress: Delete file.
8106
086df311
DJ
81072003-01-31 Daniel Jacobowitz <[email protected]>
8108
8109 * dbxread.c (stabs_data): New static variable.
8110 (fill_symbuf): Support an in-memory buffer for stabs data.
8111 (stabs_seek): New function.
8112 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
8113 (read_ofile_symtab): Use stabs_seek.
8114 (elfstab_build_psymtabs): Take an asection* instead of
8115 an offset and size. Relocate the stabs data if necessary.
8116 Save the section* for dbx_psymtab_to_symtab.
8117 * dwarf2read.c: Add section variables for each debug section.
8118 (dwarf2_locate_sections): Fill them in.
8119 (dwarf2_read_section): Take an asection* argument.
8120 Relocate the section contents if necessary.
8121 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
8122 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
8123 it to dwarf2_read_section.
8124 (dwarf2_build_frame_info): Update callers.
8125 * elfread.c (elf_symfile_read): Update call to
8126 elfstab_build_psymtabs.
8127 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
8128 (DBX_STAB_SECTION): New macro.
8ffd9b1b 8129 * stabsread.h (elfstab_build_psymtabs): Update prototype.
086df311
DJ
8130 * symfile.c (symfile_dummy_outputs): New function.
8131 (symfile_relocate_debug_section): New function.
8132 * symfile.h (symfile_relocate_debug_section): Add prototype.
8133
87d1b352
RH
81342003-01-31 Richard Henderson <[email protected]>
8135
8136 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
8137 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
8138 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
8139 * alpha-tdep.c (alpha_register_name): Add "unique".
8140 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
8141 (ALPHA_UNIQUE_REGNUM): New.
8142 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
8143
c48861fb
AC
81442003-01-31 Andrew Cagney <[email protected]>
8145
8146 * README: Remove reference to Ericsson 1800 monitor.
8147 * Makefile.in (remote-es.o): Delete rule.
8148 (ALLDEPFILES): Delete remote-es.c.
8149 * remote-es.c: Delete file.
8150 * config/m68k/es1800.mt: Delete file.
8151 * config/djgpp/fnchange.lst: Update.
8152 * configure.tgt: Delete m68*-ericsson-* target.
8153
d764a824
AF
81542003-01-31 Adam Fedor <[email protected]>
8155
8156 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
8157 Remove duplicate/shadowing variable of same name.
8158
fe36c4f4
JB
81592003-01-30 Jim Blandy <[email protected]>
8160
8161 * symfile.c (find_separate_debug_file): Assert that the objfile's
8162 directory name we compute ends with a slash, and then assume that
8163 that's so everywhere we use it.
8164
cb741690
DJ
81652003-01-30 Daniel Jacobowitz <[email protected]>
8166
8167 * valops.c (value_assign): Flush frame cache after stores to memory
8168 also.
8169
96ee5227
AC
81702003-01-30 Andrew Cagney <[email protected]>
8171
8172 * Makefile.in (mon960-rom.o): Delete rule.
8173 * mon960-rom.c: Delete file.
8174
7f6104a9
AC
81752003-01-30 Andrew Cagney <[email protected]>
8176
8177 * d10v-tdep.c: Include "frame-unwind.h".
8178 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
8179 list.
8180 (next_addr, uses_frame): Delete.
8181 (struct d10v_unwind_cache): Define.
8182 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
8183 Use info instead of next_addr and uses_frame globals.
8184 (d10v_frame_init_saved_regs): Delete function.
8185 (d10v_init_extra_frame_info): Delete function.
8186 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
8187 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
8188 init_frame_pc or frame_saved_pc.
8189 (d10v_pop_frame): Delete function.
8190 (do_d10v_pop_frame): Delete function.
8191 (d10v_frame_chain): Delete function.
8192 (d10v_frame_chain_valid): Delete function.
8193 (d10v_frame_pc_unwind): New function.
8194 (d10v_frame_id_unwind): New function.
8195 (saved_regs_unwinder): New function.
8196 (d10v_frame_register_unwind): New function.
8197 (d10v_frame_pop): New function.
8198 (d10v_frame_unwind): New variable.
8199 (d10v_frame_p): New function.
8200 (d10v_frame_saved_pc): Delete function.
8201 * Makefile.in (d10v-tdep.o): Update dependencies.
8202
cad2e848
JB
82032003-01-30 J. Brobecker <[email protected]>
8204
8205 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
8206 causing some regressions due to a change in the default value
8207 for this macro.
8208
af34e669
DJ
82092003-01-29 Richard Henderson <[email protected]>
8210 Elena Zannoni <[email protected]>
8211 Daniel Jacobowitz <[email protected]>
8212
8213 Fix PR gdb/961.
8ffd9b1b 8214 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
af34e669
DJ
8215 variables.
8216 (RANGES_SECTION): New.
8217 (dwarf_ranges_buffer): New variable.
8218 (struct comp_unit_head): Add member "die".
8219 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
8220 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
8221 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
8222 (dwarf2_locate_sections): Likewise.
8223 (dwarf2_build_psymtabs): Read .debug_ranges.
8224 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
8225 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
8226 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
8227 Look for DW_AT_ranges and return the bounding box.
8228
baa93fa6
CF
82292003-01-29 Brian Ford <[email protected]>
8230
8231 * win32-nat.c (cygwin_pid): Removed as unused.
8232 (child_attach): Try fall back to Cygwin pid.
8233
c63f977f
JB
82342003-01-29 Jim Blandy <[email protected]>
8235
8236 * objfiles.h (struct objfile): Doc fix.
8237
d62d1979
AC
82382003-01-29 Andrew Cagney <[email protected]>
8239
8240 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
8241 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
8242 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
8243 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
8244 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
8245 (FRAME_SAVED_PC): Change to a function with predicate.
8246 * gdbarch.h, gdbarch.c: Re-generate.
8247
1ae18a04
AC
82482003-01-28 Andrew Cagney <[email protected]>
8249
52287340
AC
8250 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
8251
1ae18a04
AC
8252 * complaints.c (complain): Delete function.
8253 * complaints.h (struct deprecated_complaint): Delete definition.
8254 (complain): Delete declaration.
8255
f2c16bd6
KB
82562003-01-28 Kevin Buettner <[email protected]>
8257
8258 * mips-tdep.c (mips_init_extra_frame_info): Return early for
8259 dummy frames.
8260
a94dd1fd
AC
82612003-01-27 Andrew Cagney <[email protected]>
8262
8263 * sentinel-frame.h, sentinel-frame.c: New files.
8264 * Makefile.in (frame.o): Update dependencies.
8265 (SFILES): Add sentinel-frame.c.
8266 (sentinel_frame_h): Define.
8267 (COMMON_OBS): Add sentinel-frame.o.
8268 (sentinel-frame.o): Specify dependencies.
8269 * frame.c: Include "sentinel-frame.h".
8270 (frame_register_unwind): Rewrite assuming that there is always a a
8271 ->next frame.
8272 (frame_register, generic_unwind_get_saved_register): Ditto.
8273 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
8274 (create_sentinel_frame, unwind_to_current_frame): New functions.
8275 (get_current_frame): Rewrite using create_sentinel_frame and
8276 unwind_to_current_frame. When possible, always create a frame.
8277 (create_new_frame): Set next to the sentinel frame.
8278 (get_next_frame): Rewrite. Don't go below the level 0 frame.
8279 (deprecated_update_frame_pc_hack): Update the next frame's PC and
8280 ID cache when necessary.
8281 (frame_saved_regs_id_unwind): Use frame_relative_level.
8282 (deprecated_generic_get_saved_register): Use frame_relative_level,
8283 get_frame_saved_regs, get_frame_pc, get_frame_base and
8284 get_next_frame.
8285 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
8286 frame_register.
8287
5378adc4
DJ
82882003-01-27 Daniel Jacobowitz <[email protected]>
8289
8290 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
8291
51ee2ddc
DJ
82922003-01-27 Daniel Jacobowitz <[email protected]>
8293
8294 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
8295 (maintenance_set_profile_cmd): Use error () instead of warning ().
8296
d9feb4e7
DJ
82972003-01-27 Daniel Jacobowitz <[email protected]>
8298
8299 * configure.in: Check that -pg works if using --enable-profiling.
8300 Check for monstartup and _mcleanup regardless of --enable-profiling.
8301 * maint.c: Check for monstartup and _mcleanup before using them.
8302 * config.in: Regenerated.
8303 * configure: Regenerated.
8304
2d188dd3
NC
83052003-01-24 Nick Clifton <[email protected]>
8306
8307 * Add sh2e support:
8308
8309 2002-04-02 Elena Zannoni <[email protected]>
8310
8311 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
8312 (sh2e_show_regs): New.
8313 (sh_gdbarch_init): Handle bfd_mach_sh2e.
8314 * config/sh/tm-sh.h: Added sh2e to comments.
8315
cb3c37b2
JB
83162003-01-23 Jim Blandy <[email protected]>
8317
8318 * symfile.c (syms_from_objfile): Don't print the "(no debugging
8319 symbols found)" message here; we haven't checked for a separate
8320 debug info file yet, so we don't know yet.
8321 (symbol_file_add_with_addrs_or_offsets): Print it here, after
8322 we've looked everywhere. Also, there's no need to print a special
8323 message when we're loading the separate debug info file: the one
8324 symbol_file_add prints is fine.
8325
5b5d99cf
JB
83262003-01-23 Alexander Larsson <[email protected]>
8327 Jim Blandy <[email protected]>
8328
8329 Add support for executables whose debug info has been separated
8330 out into a separate file, leaving only a link behind.
8331 * objfiles.h (struct objfile): New fields: separate_debug_objfile
8332 and separate_debug_objfile_backlink.
8333 (put_objfile_before): New declaration.
8334 * symfile.c: #include "filenames.h".
8335 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
8336 debug info in a separate file, read that, too. Save the addrs
8337 argument, so we can use it again to read the separated debug info;
8338 syms_from_objfile modifies the table we pass it.
8339 (reread_symbols): After re-reading an objfile, call
8340 reread_separate_symbols to refresh its separate debug info
8341 objfile, if it has one.
8342 (reread_separate_symbols, find_separate_debug_file,
8343 get_debug_link_info, separate_debug_file_exists): New functions.
8344 (debug_file_directory): New global var.
8345 (_initialize_symfile): Initialize debug_file_directory, and
8346 provide the new `set debug-file-directory' command to let the user
8347 change it.
8348 * objfiles.c (free_objfile): If this objfile has its debug info in
8349 a separate objfile, free that one too. If this is itself a
8350 separate debug info objfile, clear our parent's backlink.
8351 (put_objfile_before): New function.
8352 * utils.c (gnu_debuglink_crc32): New function.
8353 * defs.h (gnu_debuglink_crc32): New declaration.
8354 * Makefile.in (symfile.o): Note dependency on "filenames.h".
8355 * configure.in: Handle --with-separate-debug-dir config option.
8356 * acinclude.m4 (AC_DEFINE_DIR): New macro.
8357 * acconfig.h (DEBUGDIR): New macro.
8358 * configure, aclocal.m4, config.in: Regenerated.
8359
7e8580c1
JB
83602003-01-22 Jim Blandy <[email protected]>
8361
7904e09f
JB
8362 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
8363 like the old symbol_file_add, but taking new arguments: you can
8364 now pass in either a `struct section_addr_info' list to say where
8365 each section is loaded, or a `struct section_offsets' table. Pass
8366 these new arguments through to syms_from_objfile as appropriate.
8ffd9b1b 8367 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
7904e09f
JB
8368 with the appropriate quiescent values for the new arguments.
8369
7e8580c1
JB
8370 * symfile.c: #include "gdb_assert.h".
8371 (syms_from_objfile): Add the ability to pass in a section offset
8372 table directly, as an alternative to the section_addr_info table.
8373 Document arguments better.
8374 (symbol_file_add): Pass extra arguments to syms_from_objfile.
8375 * symfile.h (syms_from_objfile): Update declaration.
8376 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
8377 syms_from_objfile.
8378 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
8379
d28f9cdf
DJ
83802003-01-22 Daniel Jacobowitz <[email protected]>
8381
8382 Original patch by Tom Tromey <[email protected]> and
8383 Jason Molenda <[email protected]>.
8384 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
8385 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
8386 * NEWS: Mention profiling.
8387 * configure.in (--enable-gdbtk): Fix typo.
8388 (--enable-profiling): New. Set PROFILE_CFLAGS.
8389 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
8390 Fill in function.
8391 (profiling_state): New variable.
8392 (mcleanup_wrapper): New function.
8393 (_initialize_maint): Remove NOTYET, fix call to
8394 add_setshow_boolean_cmd for "maint set profile".
8395 * configure: Regenerated.
8396
df21e465
MH
83972003-01-21 Martin M. Hunt <[email protected]>
8398
8399 * Makefile.in (install-gdbtk): Install PNG images too.
8400
73c1f219
AC
84012003-01-21 Andrew Cagney <[email protected]>
8402
8403 * exec.c (text_start): Delete global variable.
8404 (exec_file_attach): Make text_start local to the function.
8405 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
8406 * valops.c (hand_function_call): Delete code that handles
8407 BEFORE_TEXT_END and AFTER_TEXT_END.
8408 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
8409 of CALL_DUMMY_LOCATION.
8410 * gdbarch.c: Regenerate.
8411 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
8412 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
8413 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
8414 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
8415 (text_end): Delete extern declaration.
8416
eb4f72c5
AC
84172003-01-21 Andrew Cagney <[email protected]>
8418
8419 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
8420 * blockframe.c (backtrace_below_main): Move to "frame.c".
8421 (frame_chain_valid): Delete check for backtrace_below_main.
8422 (_initialize_blockframe): Delete initialization, move ``set
8423 backtrace-below-main'' command to "frame.c".
8424 (do_flush_frames_sfunc): Delete function.
8425 * frame.c: Include "command.h" and "gdbcmd.h".
8426 (frame_type_from_pc): New function.
8427 (create_new_frame): Use frame_type_from_pc.
8428 (legacy_get_prev_frame): New function.
8429 (get_prev_frame): Rewrite. When an old style frame, call
8430 legacy_get_prev_frame. Otherwize, unwind the PC first.
8431 (_initialize_frame): Add ``set backtrace-below-main'' command.
8432 * Makefile.in (frame.o): Update dependencies.
8433
778ce8cc
AC
84342003-01-19 Andrew Cagney <[email protected]>
8435
8436 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
8437 DEPRECATED_REGISTERS_INFO.
8438
01c193c8
AC
84392003-01-19 Andrew Cagney <[email protected]>
8440
8441 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
8442 Maintainers'. Update `Various Maintainers'.
8443
dedc2a2b
AC
84442003-01-19 Andrew Cagney <[email protected]>
8445
8446 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
8447 * gdbarch.sh (POP_FRAME): Change to function with predicate.
8448 Suppress actual parameters when `-'.
8449 * gdbarch.h, gdbarch.c: Regenerate.
8450
b7261c70
AC
84512003-01-19 Andrew Cagney <[email protected]>
8452
8453 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
8454 code handling dummy frames.
8455
dbe9fe58
AC
84562003-01-19 Andrew Cagney <[email protected]>
8457
8458 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
8459 (struct frame_unwind): Add field pop.
8460 * frame.h (frame_pop): Declare.
8461 * frame.c (frame_saved_regs_pop): New function.
8462 (trad_frame_unwinder): Add frame_saved_regs_pop.
8463 (frame_pop): New function.
8464 * dummy-frame.c (dummy_frame_pop): New function.
8465 (discard_innermost_dummy): New function.
8466 (generic_pop_dummy_frame): Use discard_innermost_dummy.
8467 (dummy_frame_unwind): Add dummy_frame_pop.
8468 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
8469 * valops.c (hand_function_call): Ditto.
8470 * stack.c (return_command): Ditto.
8471
570b8f7c
AC
84722003-01-18 Andrew Cagney <[email protected]>
8473
8474 * cris-tdep.c: Fix function declaration indentation.
8475 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
8476 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
8477 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
8478 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
8479 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
8480 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
8481
84822003-01-18 Michael Chastain <[email protected]>
eaec4d85
MC
8483
8484 * README (Unpacking and Installation -- quick overview):
8485 Warn against ".../gdb-5.3/gdb/configure".
8486
494cca16
AC
84872003-01-18 Andrew Cagney <[email protected]>
8488
8489 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
8490 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
8491 (struct frame_unwind): Declare opaque.
8492 (dummy_frame_p): Declare function.
8493 * dummy-frame.c (dummy_frame_id_unwind): Make static.
8494 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
8495 * dummy-frame.c: Include "frame-unwind.h".
8496 (dummy_frame_p): New function.
8497 (dummy_frame_unwind): New variable.
8498 * frame.c: Include "frame-unwind.h".
8499 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
8500 to use the new unwind field.
8501 (set_unwind_by_pc): Delete function.
8502 (create_new_frame, get_prev_frame): Set unwind field using
8503 frame_unwind_find_by_pc.
8504 (trad_frame_unwind, trad_frame_unwinder): New variables.
8505 * frame.h (trad_frame_unwind): Declare variable.
8506 (frame_id_unwind_ftype): Delete declaration.
8507 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
8508 (struct frame_unwind): Declare opaque.
8509 (struct frame_info): Replace the fields id_unwind, pc_unwind and
8510 register_unwind with a single unwind pointer.
8511 * frame-unwind.h, frame-unwind.c: New files.
8512 * Makefile.in (SFILES): Add frame-unwind.c.
8513 (frame_unwind_h): Define.
8514 (COMMON_OBS): Add frame-unwind.o.
8515 (frame-unwind.o): Specify dependencies.
8516 (frame.o, dummy-frame.o): Update dependencies.
8ffd9b1b 8517
4efb68b1
AC
85182003-01-18 Andrew Cagney <[email protected]>
8519
8520 * ada-valprint.c: Eliminate PTR.
8521 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
8522 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
8523 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
8524 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
8525 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
8526 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
8527 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
8ffd9b1b 8528
a84d24ee
AC
85292003-01-17 Andrew Cagney <[email protected]>
8530
762f08a3
AC
8531 * main.c (captured_main): Don't use PTR.
8532 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
8533 * gdbtypes.c (lookup_primitive_typename): Ditto.
8534 (lookup_struct_elt_type): Ditto.
8535 * f-valprint.c (info_common_command): Ditto.
8536 (list_all_visible_commons): Ditto.
8537 * jv-typeprint.c (java_type_print_base): Ditto.
8538
a84d24ee
AC
8539 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
8540 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
8541 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
8542 i386-interix-nat.c and i386-interix-tdep.c. Rename
8543 m68klinux-nat.c and m68klinux-tdep.c. Rename
8544 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
8545 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
8546 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
8547 * main.c (captured_main): Use xfree, not free.
8548
c170fb60
AC
85492003-01-16 Andrew Cagney <[email protected]>
8550
8551 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
8552 ID back using a parameter.
8553 * frame.c (frame_id_unwind): Update call.
8554 (frame_saved_regs_id_unwind): Update.
8555 * dummy-frame.c (dummy_frame_id_unwind): Update function.
8556 * dummy-frame.h (struct frame_id): Add opaque declaration.
8557 (dummy_frame_id_unwind): Update declaration.
8558
867f3898
AC
85592003-01-15 Andrew Cagney <[email protected]>
8560
8561 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
8562
40622be8 85632003-01-15 Stephen P. Smith <[email protected]>
de3a8c23 8564
40622be8 8565 * MAINTAINERS (Stephen P. Smith): Updated email address.
de3a8c23 8566
ae66c1fc
EZ
85672003-01-14 Elena Zannoni <[email protected]>
8568
997b089a 8569 Fix PR gdb/898
ae66c1fc
EZ
8570 * breakpoint.c (until_break_command): Add new argument. Use it to
8571 decide whether to stop only at the current frame or not.
8572 * breakpoint.h (until_break_command): Update prototype.
8ffd9b1b 8573 * infcmd.c (until_command): Add new argument to until_break_command
ae66c1fc
EZ
8574 call.
8575 (advance_command): New function.
8576 (_initialize_infcmd): Update help string for 'until' command.
8577 Add new 'advance' command.
8578
a04257e6
DC
85792003-01-14 David Carlton <[email protected]>
8580
8581 * linespec.c (decode_line_1): Normalize comments.
8582 (set_flags): Ditto.
8583 (locate_first_half): Ditto.
8584 (decode_compound): Ditto.
8585 (symtab_from_filename): Ditto.
8586 (decode_all_digits): Ditto.
8587 (decode_dollar): Ditto.
8588 (find_methods): Ditto.
8589 (find_toplevel_char): Ditto.
8590
1bac305b
AC
85912003-01-13 Andrew Cagney <[email protected]>
8592
8593 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
8594 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
8595 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
8596 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
8597 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
8598 * language.c, language.h, m32r-tdep.c: Update copyright.
8599 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
8600 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
8601 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
8602 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
8603 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
8604 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
8605
25caa7a8
EZ
86062003-01-13 Elena Zannoni <[email protected]>
8607
8608 * stabsread.h (process_later, resolve_cfront_continuation):
8609 Obsolete.
8610 Update copyright years.
8611 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
8612 Update copyright year.
8613 * dbxread.c(struct cont_elem): Obsolete.
8ffd9b1b 8614 (process_later, process_now): Obsolete functions.
25caa7a8
EZ
8615 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
8616 Update copyright year.
8617 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
8618 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
8619 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
8620 (parse_partial_symbols): Obsolete cfront support.
8621 * stabsread.c
8622 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
8623 macros.
8624 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
8625 read_cfront_baseclasses, read_cfront_member_functions,
8626 resolve_cfront_continuation,read_cfront_static_fields,
8627 copy_cfront_struct_fields): Obsolete functions.
8628 (define_symbol, read_one_struct_field): Obsolete cfront support.
8629 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
8630 Update Copyright year.
8631
7789c6f5
EZ
86322003-01-13 Elena Zannoni <[email protected]>
8633
8634 * stack.c (print_frame_info, print_stack_frame_base_stub,
8635 print_stack_frame_base, show_and_print_stack_frame_stub,
8636 show_and_print_stack_frame, print_only_stack_frame_stub,
8637 print_only_stack_frame): Delete functions.
8638 (print_stack_frame_stub): Call print_frame_info instead of
8639 print_frame_info_base.
8640 (print_frame_info_base): Rename to print_frame_info.
8641 (backtrace_command_1): Call print_frame_info, instead of
8642 print_frame_info_base.
8643 (current_frame_command): Call print_stack_frame, instead of
8644 print_only_stack_frame.
8645 (frame_command): Call print_stack_frame, instead of
8646 show_and_print_stack_frame.
8647 (up_command): Ditto.
8648 (down_command): Ditto.
8649 * frame.h (print_only_stack_frame): Delete prototype.
8650 * infrun.c (normal_stop): Call print_stack_frame, instead of
8651 show_and_print_stack_frame.
8652 * thread.c (info_threads_command): Call print_stack_frame, instead
8653 of print_only_stack_frame.
8654
3f5a3016
AC
86552003-01-13 Andrew Cagney <[email protected]>
8656
d99ba314
AC
8657 * README (Graphical interface to GDB): Update URL. Point at
8658 gdb/links/.
8659
3f5a3016
AC
8660 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
8661 version match.
8662
083ae935
DJ
86632003-01-13 Daniel Jacobowitz <[email protected]>
8664
8665 * symtab.c (find_pc_sect_line): Don't consider end-of-function
8666 lines.
8667
5365276c
DJ
86682003-01-13 Daniel Jacobowitz <[email protected]>
8669
8670 * thread-db.c (attach_thread): Prototype.
8671 (struct private_thread_info): Remove lwpid. Add thread handle (th),
8672 thread information (ti), and valid flags (th_valid, ti_valid).
8673 (attach_thread): Move target_pid_to_str call to after the thread
8674 is added to GDB's list. Initialize the cache.
8675 (thread_get_info_callback, thread_db_map_id2thr)
8676 (thread_db_get_info): New functions.
8677 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
8678 (thread_db_store_registers, thread_db_thread_alive)
8679 (thread_db_get_thread_local_address): Use them.
8680 (thread_db_pid_to_str): Likewise. Return "Missing" instead
8681 of calling error() for threads in unknown state.
8682
8683 (clear_lwpid_callback): New function.
8684 (thread_db_resume): Use it to clear the cache.
8685
9fc30b6b
DJ
86862003-01-13 Daniel Jacobowitz <[email protected]>
8687
8688 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
8689 (resume_callback): Remove dead code.
8690
8f871025
AC
86912003-01-13 Andrew Cagney <[email protected]>
8692
8693 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
8694 predicate.
8695 * gdbarch.h, gdbarch.c: Regenerate.
8696 * stack.c (frame_info): Only initialize the saved registers when
8697 FRAME_INIT_SAVED_REGS_P.
8698 * frame.c (frame_saved_regs_register_unwind): Assert
8699 FRAME_INIT_SAVED_REGS_P.
8700 (deprecated_generic_get_saved_register): Ditto.
8701
3f565f1e
DJ
87022003-01-13 Daniel Jacobowitz <[email protected]>
8703
8704 * source.c (openp): Squelch warning about "filename".
8705
072b1022
DJ
87062003-01-13 Daniel Jacobowitz <[email protected]>
8707
8708 * source.c (openp): If the file does not exist don't necessarily
8709 search the path.
8710
973ccf8b
DJ
87112003-01-13 Daniel Jacobowitz <[email protected]>
8712
8713 Fix PR gdb/872.
8714 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
8715 (integer_types_same_name_p): New function.
8716 (rank_one_type): Use it.
8717 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
8718
030292b7
DJ
87192003-01-13 Daniel Jacobowitz <[email protected]>
8720
8721 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
8722 variables.
8723 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
8724 * configure.in: Add --with-sysroot.
8725 * configure: Regenerated.
8726 * main.c (gdb_sysroot): New variable.
8727 (captured_main): Initialize gdb_sysroot.
8728 * defs.h (gdb_sysroot): New extern declaration.
8729 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
8730
afb5d334
MC
87312003-01-12 Michael Chastain <[email protected]>
8732
8733 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
8734
751ceeb4
MC
87352003-01-12 Michael Chastain <[email protected]>
8736
8737 * top.c (print_gdb_version): Bump copyright year to 2003.
8738
94cd26f8
DC
87392003-01-12 David Carlton <[email protected]>
8740
8741 * linespec.c (symtab_from_filename): Rename variable 's' to
8742 'file_symtab'.
8743
1ce79225
AC
87442003-01-12 Andrew Cagney <[email protected]>
8745
8746 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
8747 dummy frame.
8748 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
8749
fa1fd571
AC
87502003-01-12 Andrew Cagney <[email protected]>
8751
8752 * d10v-tdep.c: Include "gdb_assert.h".
8753 (d10v_store_return_value): Rewrite to match current interface.
8754 (d10v_extract_struct_value_address): Ditto.
8755 (d10v_extract_return_value): Ditto.
8756 (d10v_gdbarch_init): Set store_restore_value,
8757 extract_struct_value_address and extract_return_value.
8758
68b8d23e
JB
87592003-01-12 J. Brobecker <[email protected]>
8760
8761 * hpread.c (set_namestring): New procedure replacing the
8762 SET_NAMESTRING macro.
8763 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
8764 by calls to set_namestring.
8765
87662003-01-11 J. Brobecker <[email protected]>
1fb309ea
JB
8767
8768 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
8769 a compilation warning.
8770 (hpread_process_one_debug_symbol): Likewise.
8771
88d262ca
DC
87722003-01-10 David Carlton <[email protected]>
8773
8774 * linespec.c (decode_line_1): Rename variable 's' to
8775 'file_symtab'.
8776 (decode_all_digits): Rename argument 's' to 'file_symtab'.
8777 (decode_dollar): Ditto.
8778 (decode_variable): Ditto.
8779 (symbol_found): Ditto.
8780
86669319
MC
87812003-01-09 Michael Chastain <[email protected]>
8782
8783 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
8784
616a9dc4
CV
87852003-01-07 Corinna Vinschen <[email protected]>
8786
8787 * win32-nat.c (set_process_privilege): New function.
8788 (child_attach): Call set_process_privilege() to enable the
8789 SE_DEBUG_NAME user privilege if available in process token.
8790
3269bcfa
JB
87912003-01-10 J. Brobecker <[email protected]>
8792
8793 * hpread.c (hpread_process_one_debug_symbol): Fix a small
8794 compilation error in the previous revision.
8795
2b0ee454
DC
87962003-01-09 David Carlton <[email protected]>
8797
8798 * linespec.c: Update copyright.
8799
b3ba1b44
DJ
88002003-01-09 Daniel Jacobowitz <[email protected]>
8801
8802 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
8803 than inferior_ptid.
8804 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
8805
4ef3f3be
AC
88062003-01-09 Andrew Cagney <[email protected]>
8807
479ab5a0
AC
8808 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
8809 Update comments.
8810 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
8811 (frame_saved_regs_zalloc): Update.
8812 (frame_saved_regs_register_unwind): Update.
8813 (create_new_frame): Update.
8814 (get_prev_frame): Update.
8815 (frame_extra_info_zalloc): Update.
8816 (deprecated_get_frame_saved_regs): Update.
8817 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
8818 * cris-tdep.c: Update comment.
8819
bde58177
AC
8820 * somsolib.h: Fix function indentation.
8821 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
8822 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
8823 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
8824 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
8825 * somsolib.c, inftarg.c: Remove assignment in if conditional.
8826
4ef3f3be
AC
8827 * infrun.c (follow_fork): Use ISO C definition.
8828 * expprint.c (print_subexp): Use xfree instead of free.
8829 * charset.c: Include "gdb_string.h" instead of <string.h>.
8830 (register_iconv_charsets): Use ISO C definition.
8831 (host_charset, target_charset): Ditto.
8832 * Makefile.in (charset.o): Update dependencies.
8833 (mi-cmd-env.o): Update dependencies.
8834
1c615f7a
AC
88352003-01-08 Andrew Cagney <[email protected]>
8836
8837 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
8838 get_frame_base.
8839
c9a1dc08
AC
88402003-01-08 Andrew Cagney <[email protected]>
8841
8842 * gdb_mbuild.sh: Add --keep option. When specified, keep the
8843 build directories. Save edited gdb output in Mbuild.log. If a
8844 build fails, remove any final GDB executable.
8845
dbad9d94
AC
88462003-01-08 Andrew Cagney <[email protected]>
8847
8848 * gdb_mbuild.sh: Edit the output of `maint print architecture'
8849 replacing hex constants with function names and stripping leading
8850 file name directory prefixes.
8851
8d357cca
AC
88522003-01-08 Andrew Cagney <[email protected]>
8853
8854 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
8855 get_frame_base.
8856
bca02a8a
DC
88572003-01-08 David Carlton <[email protected]>
8858
8859 * linespec.c (decode_line_1): Move code into decode_variable.
8860 (decode_variable): New function.
8861
7f8ab3a0
AC
88622003-01-08 Andrew Cagney <[email protected]>
8863
8864 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
8865
7b5849cc
AC
88662003-01-08 Andrew Cagney <[email protected]>
8867
8868 * cris-tdep.c (cris_frame_init_saved_regs): Use
8869 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
8870 saved_regs buffer.
8871 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
8872 (sh64_nofp_frame_init_saved_regs): Ditto.
8873 (sh_fp_frame_init_saved_regs): Ditto.
8874 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
8875 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
8876 * mcore-tdep.c (analyze_dummy_frame): Ditto.
8877 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
8878
72a5efb3
DJ
88792003-01-08 Daniel Jacobowitz <[email protected]>
8880
8881 * minsyms.c (lookup_minimal_symbol): Update comment.
8882 (lookup_minimal_symbol_text): Update comment. Use the hash table.
8883 (lookup_minimal_symbol_solib_trampoline): Likewise.
8884
11c02a10
AC
88852003-01-08 Andrew Cagney <[email protected]>
8886
aab3ea25
AC
8887 * d10v-tdep.c (d10v_init_extra_frame_info): Use
8888 frame_relative_level.
8889
da50a4b7
AC
8890 * alpha-tdep.c: Use get_frame_extra_info.
8891 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
8892 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
8893 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
8894 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
8895
11c02a10
AC
8896 * alpha-tdep.c: Use get_next_frame.
8897 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
8898 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
8899 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
8900 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
8901 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
8902 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
8903 * xstormy16-tdep.c: Ditto.
8ffd9b1b 8904
1e2330ba
AC
89052003-01-07 Andrew Cagney <[email protected]>
8906
8907 * alpha-tdep.c: Use get_frame_base.
8908 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
8909 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
8910 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
8911 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
8912 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
8913 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
8914 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
8915 * config/sparc/tm-sparc.h: Ditto.
8ffd9b1b 8916
2d75187b
AC
89172003-01-07 Andrew Cagney <[email protected]>
8918
8919 * frame.c (deprecated_get_frame_context): New function.
8920 (deprecated_set_frame_context): New function.
8921 * frame.h (deprecated_get_frame_context): Declare.
8922 (deprecated_set_frame_context): Declare.
8923 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
8924 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
8ffd9b1b 8925
483d36b2
AC
89262003-01-07 Andrew Cagney <[email protected]>
8927
8928 * frame.c (deprecated_set_frame_next_hack): New function.
8929 (deprecated_set_frame_prev_hack): New function.
8930 * frame.h (deprecated_set_frame_next_hack): Declare.
8931 (deprecated_set_frame_prev_hack): Declare.
8932 * mcore-tdep.c (analyze_dummy_frame): Use
8933 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
8934 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
8935
14e91ac5
DC
89362003-01-07 David Carlton <[email protected]>
8937
8938 * linespec.c (decode_line_1): Move code into decode_dollar.
8939 (decode_dollar): New function.
8940
b0c6b05c
AC
89412003-01-07 Andrew Cagney <[email protected]>
8942
8943 * arm-tdep.c (arm_init_extra_frame_info): Use
8944 deprecated_update_frame_base_hack.
8945 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
8946 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
8947 (fix_frame_pointer): Ditto.
8948 (mn10300_analyze_prologue): Ditto.
8949
a00a19e9
AC
89502003-01-07 Andrew Cagney <[email protected]>
8951
8952 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
8953 extra_info using frame_extra_info_zalloc.
8954 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
8955 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
8956 (sh64_init_extra_frame_info): Ditto.
8957 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
8958 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
8959 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
8960 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
8961 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
8962 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
8963 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
8964 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
8965 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
8966 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
8967 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
8968 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
8969
8970 * mn10300-tdep.c (analyze_dummy_frame): Use
8971 deprecated_set_frame_extra_info_hack.
8972 * mcore-tdep.c (analyze_dummy_frame): Ditto.
8973
1fb4c65b
JB
89742003-01-07 J. Brobecker <[email protected]>
8975
8976 * mdebugread.c (parse_symbol): Skip stProc entries which storage
8977 class is not scText. These do not define "real" procedures.
8978 (parse_partial_symbols): Likewise.
8979
9fe7d6bf
MS
89802003-01-06 Michael Snyder <[email protected]>
8981
8982 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
8983
f6c609c4
AC
89842003-01-06 Andrew Cagney <[email protected]>
8985
8986 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
8987 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
8988 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
8989 deprecated_frame_xmalloc_with_cleanup.
8990 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
8991 deprecated_frame_xmalloc.
8992 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
8993 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
8994
d995ff4b
AC
89952003-01-06 Andrew Cagney <[email protected]>
8996
84dc46cb
AC
8997 * x86-64-linux-tdep.c: Include "osabi.h".
8998 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
8999
d995ff4b
AC
9000 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
9001
66140c26
AC
90022003-01-06 Andrew Cagney <[email protected]>
9003
9004 * MAINTAINERS (Target Instruction Set Architectures): Update
9005 arm-elf. Can be built with -Werror, has been multiarched.
9006
9007 * value.h (unpack_long): Make buffer parameter constant.
9008 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
9009 * scm-lang.h (scm_parse): Ditto.
9010 * defs.h (extract_typed_address, extract_address): Ditto.
9011 (extract_long_unsigned_integer): Ditto.
9012 * inferior.h (unsigned_pointer_to_address): Ditto.
9013 (signed_pointer_to_address): Ditto.
9014 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
9015 * gdbarch.h, gdbarch.c: Regenerate.
9016 * findvar.c (extract_long_unsigned_integer): Update.
9017 (extract_address): Update.
9018 (extract_typed_address): Update.
9019 (unsigned_pointer_to_address): Update.
9020 * values.c (unpack_long): Update.
9021 (unpack_double): Update.
9022 (unpack_pointer): Update.
9023 (unpack_field_as_long): Update.
9024 * d10v-tdep.c (d10v_pointer_to_address): Update.
9025 * avr-tdep.c (avr_pointer_to_address): Update.
9026 * scm-lang.c (scm_unpack): Update.
9027 * findvar.c (signed_pointer_to_address): Update.
9028
b089b3da
ML
90292003-01-06 Michal Ludvig <[email protected]>
9030
8ffd9b1b 9031 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
b089b3da
ML
9032 since it is in i386-tdep.c.
9033
aff87235
JB
90342003-01-06 J. Brobecker <[email protected]>
9035
9036 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
9037 failure introduced in the previous change.
9038
34f5e845
MC
90392003-01-05 Michael Chastain <[email protected]>
9040
9041 * README: Remove references to deleted remote-*.c files:
9042 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
9043 remote-nrom.c, remote-os9k.c, remote-udi.c.
9044
28bcfd30
MK
90452003-01-05 Mark Kettenis <[email protected]>
9046
9047 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
9048 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
9049 i386_get_longjmp_target.
9050
15a5b3ee
AC
90512003-01-05 Andrew Cagney <[email protected]>
9052
9053 * arm-tdep.c (prologue_cache): Change to a pointer.
9054 (_initialize_arm_tdep): Allocate prologue_cache.
9055 (check_prologue_cache): Update.
9056 (save_prologue_cache): Update.
9057 (arm_gdbarch_init): Update.
9058
c263362b
DJ
90592003-01-04 Daniel Jacobowitz <[email protected]>
9060
9061 * stabsread.c (update_method_name_from_physname): Call complaint()
9062 instead of error.
9063
51603483
DJ
90642003-01-04 Daniel Jacobowitz <[email protected]>
9065
9066 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
9067 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
9068 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
9069
9070 * blockframe.c: Include "gdbcmd.h" and "command.h".
9071 (backtrace_below_main): New variable.
9072 (file_frame_chain_valid, func_frame_chain_valid)
9073 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
9074 (generic_func_frame_chain_valid): Remove functions.
9075 (frame_chain_valid, do_flush_frames_sfunc): New functions.
9076 (_initialize_blockframe): New function.
9077 * Makefile.in (blockframe.o): Update dependencies.
9078 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
9079 comment. Call frame_chain_valid ().
9080 * frame.h: Remove old prototypes. Add prototype for
9081 frame_chain_valid and update comments to match.
9082 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
9083 Remove old comment.
9084 * gdbarch.h: Regenerated.
9085 * gdbarch.c: Regenerated.
9086
9087 * alpha-tdep.c (alpha_gdbarch_init): Don't call
9088 set_gdbarch_frame_chain_valid.
9089 * avr-tdep.c (avr_gdbarch_init): Likewise.
9090 * cris-tdep.c (cris_gdbarch_init): Likewise.
9091 * frv-tdep.c (frv_gdbarch_init): Likewise.
9092 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
9093 * i386-tdep.c (i386_svr4_init_abi): Likewise.
9094 (i386_nw_init_abi): Likewise.
9095 (i386_gdbarch_init): Likewise.
9096 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
9097 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
9098 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
9099 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
9100 * mips-tdep.c (mips_gdbarch_init): Likewise.
9101 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
9102 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
9103 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
9104 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
9105 * s390-tdep.c (s390_gdbarch_init): Likewise.
9106 * sh-tdep.c (sh_gdbarch_init): Likewise.
9107 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
9108 * v850-tdep.c (v850_gdbarch_init): Likewise.
9109 * vax-tdep.c (vax_gdbarch_init): Likewise.
9110 * x86-64-tdep.c (x86_64_init_abi): Likewise.
9111
9112 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
9113 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
9114 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
9115 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
9116 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
9117 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
9118 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
9119 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
9120
b00a8037
DJ
91212002-01-04 Daniel Jacobowitz <[email protected]>
9122
9123 * Makefile.in (acconfig_h): Remove incorrect macro.
9124 (config_h): Define.
9125 (osabi.o): Update dependencies.
9126 * configure.tgt: Set gdb_osabi based on target triplet.
9127 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
9128 * configure: Regenerated.
9129 * config.in: Regenerated.
9130 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
9131 (GDB_OSABI_DEFAULT): Define if not already defined.
9132 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
9133 (set_osabi_string): New variables.
9134 (gdbarch_register_osabi): Add new OS ABI to
9135 gdb_osabi_available_names.
9136 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
9137 (set_osabi, show_osabi): New functions.
9138 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
9139
4be87837
DJ
91402003-01-04 Daniel Jacobowitz <[email protected]>
9141
9142 * arch-utils.c (gdbarch_info_init): Set osabi to
9143 GDB_OSABI_UNINITIALIZED.
9144 * gdbarch.sh: Add osabi to struct gdbarch and to struct
9145 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
9146 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
9147 * gdbarch.c: Regenerated.
9148 * gdbarch.h: Regenerated.
9149 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
9150 there's no BFD.
9151 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
9152 * osabi.h (enum gdb_osabi): Move to defs.h.
9153 (gdbarch_init_osabi): Update prototype.
9154 * defs.h (enum gdb_osabi): Moved here.
9155 * Makefile.in: Update dependencies.
9156
9157 * alpha-tdep.h: Don't include "osabi.h".
9158 (struct gdbarch_tdep): Remove osabi member.
9159 * alpha-tdep.c: Include "osabi.h".
9160 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
9161 iterate over arches. Update call to gdbarch_init_osabi.
9162 (alpha_dump_tdep): Don't dump osabi.
9163 * alpha-linux-tdep.c: Include "osabi.h".
9164 * alpha-osf1-tdep.c: Include "osabi.h".
9165 * alphafbsd-tdep.c: Include "osabi.h".
9166 * alphanbsd-tdep.c: Include "osabi.h".
9167
9168 * arm-tdep.h: Don't include "osabi.h".
9169 (struct gdbarch_tdep): Remove osabi member.
9170 * arm-tdep.c: Include "osabi.h".
9171 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
9172 iterate over arches. Update call to gdbarch_init_osabi.
9173 (arm_dump_tdep): Don't dump osabi.
9174 * arm-linux-tdep.c: Include "osabi.h".
9175 * armnbsd-tdep.c: Include "osabi.h".
9176
9177 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
9178 Update call to gdbarch_init_osabi.
9179
9180 * i386-tdep.h: Don't include "osabi.h".
9181 (struct gdbarch_tdep): Remove osabi member.
9182 * i386-tdep.c: Include "osabi.h".
9183 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
9184 iterate over arches. Update call to gdbarch_init_osabi.
9185 (i386_dump_tdep): Don't dump osabi.
9186 * i386-linux-tdep.c: Include "osabi.h".
9187 * i386-sol2-tdep.c: Include "osabi.h".
9188 * i386bsd-tdep.c: Include "osabi.h".
9189 * i386gnu-tdep.c: Include "osabi.h".
9190 * i386ly-tdep.c: Include "osabi.h".
9191 * i386nbsd-tdep.c: Include "osabi.h".
9192 * i386obsd-tdep.c: Include "osabi.h".
9193
9194 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
9195 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
9196 check osabi when iterating over arches. Update call to
9197 gdbarch_init_osabi.
9198 (mips_dump_tdep): Don't dump osabi.
9199
9200 * ns32k-tdep.h: Don't include "osabi.h".
9201 (struct gdbarch_tdep): Remove.
9202 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
9203 gdbarch_lookup_osabi. Don't iterate over arches. Don't
9204 allocate tdep. Update call to gdbarch_init_osabi.
9205 (ns32k_dump_tdep): Remove.
9206 (_initialize_ns32k_tdep): Update call to gdbarch_register.
9207 * ns32knbsd-tdep.c: Include "osabi.h".
9208
9209 * ppc-tdep.h: Don't include "osabi.h".
9210 (struct gdbarch_tdep): Remove osabi member.
9211 * rs6000-tdep.c: Include "osabi.h".
9212 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
9213 osabi when iterating over arches. Update call to
9214 gdbarch_init_osabi.
9215 (rs6000_dump_tdep): Don't dump osabi.
9216 * ppc-linux-tdep.c: Include "osabi.h".
9217 * ppcnbsd-tdep.c: Include "osabi.h".
9218
9219 * sh-tdep.h: Don't include "osabi.h".
9220 (struct gdbarch_tdep): Remove osabi member.
9221 * sh-tdep.c: Include "osabi.h".
9222 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
9223 iterate over arches. Update call to gdbarch_init_osabi.
9224 (sh_dump_tdep): Don't dump osabi.
9225 * shnbsd-tdep.c: Include "osabi.h".
9226
9227 * sparc-tdep.c: Include "osabi.h".
9228 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
9229 iterate over arches. Update call to gdbarch_init_osabi.
9230 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
9231 tdep structure.
9232
9233 * vax-tdep.h: Don't include "osabi.h".
9234 (struct gdbarch_tdep): Remove.
9235 * vax-tdep.c: Include "osabi.h".
9236 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
9237 iterate over arches. Don't allocate tdep. Update call
9238 to gdbarch_init_osabi.
9239 (vax_dump_tdep): Remove.
9240 (_initialize_vax_tdep): Update call to gdbarch_register.
9241
a881cf8e
DJ
92422003-01-04 Daniel Jacobowitz <[email protected]>
9243
9244 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
9245 entirely.
9246 (breakpoint_re_set_one): Don't fetch the value for a disabled
9247 watchpoint.
9248
1e698235
DJ
92492003-01-04 Daniel Jacobowitz <[email protected]>
9250
9251 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
9252 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
9253 (COERCE_FLOAT_TO_DOUBLE): Remove.
9254 * gdbarch.c: Regenerate.
9255 * gdbarch.h: Regenerate.
9256 * Makefile.in: Remove value_h from gdbarch_h.
9257 * valops.c (coerce_float_to_double): New variable.
9258 (default_coerce_float_to_double): Remove.
9259 (standard_coerce_float_to_double): Remove.
9260 (value_arg_coerce): Use coerce_float_to_double.
9261 (_initialize_valops): Add "set coerce-float-to-double".
9262 * value.h (default_coerce_float_to_double): Remove prototype.
9263 (standard_coerce_float_to_double): Remove prototype.
9264
9265 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
9266 prototyped.
9267 * mdebugread.c (parse_symbol): Likewise.
9268 * stabsread.c (define_symbol): Mark all functions as prototyped.
9269
9270 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
9271 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
9272 set_gdbarch_coerce_float_to_double.
9273 * arm-tdep.c (arm_gdbarch_init): Likewise.
9274 * frv-tdep.c (frv_gdbarch_init): Likewise.
9275 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
9276 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
9277 * mips-tdep.c (mips_gdbarch_init): Likewise.
9278 (mips_coerce_float_to_double): Remove.
9279 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
9280 (rs6000_coerce_float_to_double): Remove.
9281 * s390-tdep.c (s390_gdbarch_init): Likewise.
9282 * sh-tdep.c (sh_gdbarch_init): Likewise.
9283 (sh_coerce_float_to_double): Remove.
9284 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
9285 (sparc_coerce_float_to_double): Remove.
9286 * v850-tdep.c (v850_gdbarch_init): Likewise.
9287 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
9288 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
9289 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
9290 (hppa_coerce_float_to_double): Remove prototype.
9291 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
9292
f436a26a
DJ
92932003-01-04 Daniel Jacobowitz <[email protected]>
9294
9295 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
9296
248f8055
DJ
92972003-01-04 Daniel Jacobowitz <[email protected]>
9298
9299 Suggested by Stewart Brown <[email protected]>:
9300 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
9301 in recursive calls. Handle TYPE_CODE_TYPEDEF.
9302 (c_type_print_varspec_suffix): Likewise.
9303
72cfdc76
MK
93042003-01-04 Mark Kettenis <[email protected]>
9305
bfd260bb
MK
9306 * configure.in: Don't set and AC_SUBST SUBDIRS.
9307 * configure: Regenerated.
9308
72cfdc76
MK
9309 * configure.in: Remove code dealing with shared libraries.
9310 * Makefile.in: Remove HLDFLAGS and HLDENV.
9311 * configure: Regenerated.
9312
c8b8a898
AC
93132003-01-04 Andrew Cagney <[email protected]>
9314
9315 * frame.c (deprecated_frame_xmalloc): New function.
9316 (deprecated_set_frame_saved_regs_hack): New function.
9317 (deprecated_set_frame_extra_info_hack): New function.
9318 * frame.h (deprecated_frame_xmalloc): Declare.
9319 (deprecated_set_frame_saved_regs_hack): Declare.
9320 (deprecated_set_frame_extra_info_hack): Declare.
9321
14abd0fb
MK
93222003-01-04 Mark Kettenis <[email protected]>
9323
8ee53726
MK
9324 * configure.in: Move code that provides the --enable-gdbtk option
9325 right after the code that handles the --enable-tui option, and
9326 polish it somewhat.
9327 * configure: Regenerated.
9328
14abd0fb
MK
9329 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
9330 AC_CHECK_FUNCS and remove the old check for pread64.
9331 * acinclude.m4 (AC_GNU_SOURCE): New macro.
9332 * acconfig.h (_GNU_SOURCE): Add.
9333 (HAVE_PREAD64): Remove.
9334 * configure, aclocal.m4, config.in: Regenerated.
9335
b2fb4676
AC
93362003-01-03 Andrew Cagney <[email protected]>
9337
9338 * alpha-tdep.c: Use get_frame_saved_regs.
9339 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
9340 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
9341 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
9342 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
9343 * vax-tdep.c, xstormy16-tdep.c: Ditto.
9344
8dcde887
MK
93452003-01-03 Mark Kettenis <[email protected]>
9346
9347 * configure.in: Remove all use of the SUBDIRS variable; add
9348 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
9349 code providing the --enable-multi-ice option, and move it right in
9350 front of the code that checks whether gdbserver is supported.
9351 Polish that too.
9352 * configure: Regenerated.
9353 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
9354 @SUBDIRS@.
9355
8ccd593b
AC
93562003-01-03 Andrew Cagney <[email protected]>
9357
9358 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
9359 * avr-tdep.c, cris-tdep.c: Ditto.
9360 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
9361 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
8ffd9b1b 9362
91151a06
MK
93632003-01-03 Mark Kettenis <[email protected]>
9364
9365 * configure.in: Remove --enable-netrom option.
9366 * configure: Regenerated.
9367
8fe84d01
MK
93682003-01-03 Mark Kettenis <[email protected]>
9369
9370 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
9371 declaration for `struct re_pattern_buffer' instead.
9372 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
9373
f0394be6
JB
93742003-01-03 J. Brobecker <[email protected]>
9375
9376 * mdebugread.c (parse_symbol): Count until the stEnd matching
9377 the structure name.
9378
27e9bf90
MK
93792003-01-02 Mark Kettenis <[email protected]>
9380
93d331ba
MK
9381 * configure.in: Remove --with-cpu option.
9382 subscripts. Remove evil changequotes here.
9383 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
9384 * config.in, configure: Regenerated.
8ffd9b1b 9385
27e9bf90
MK
9386 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
9387 * configure.in: Cleanup section that sources GDB and BFD configure
9388 subscripts. Remove evil changequotes here.
9389 * config.in, configure: Regenerated.
9390
50abf9e5
AC
93912003-01-02 Andrew Cagney <[email protected]>
9392
9393 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
9394 frame accessor methods.
9395 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
9396 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
9397 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
9398 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
9399 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
9400 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
9401 * z8k-tdep.c: Ditto.
8ffd9b1b 9402
287c1a40
MK
94032003-01-02 Mark Kettenis <[email protected]>
9404
f5dbc56d
MK
9405 * configure.in: Remove UI_OUT configuration code.
9406 * ada-lang.c: Update assuming UI_OUT is always true.
9407 * Makefile.in (UIOUT_CFLAGS): Remove.
9408 * configure: Regenerated.
9409 * TODO: Remove blurb about elimination of -DUI_OUT.
9410
627af7ea
MK
9411 * configure.in: Move code that provides the --enable-gdbcli,
9412 --enable-gdbmi options right before the code that handles the
9413 --enable-tui option. Polish a bit.
9414 * configure: Regenerated.
9415
06825bd1
MK
9416 * configure.in: Rewrite check for GNU regex and the
9417 --without-included regex option, and move it into the "Checks for
9418 library functions" section. This makes us use the system regex
9419 again by default on systems with version 2 of the GNU C library.
9420 This was apparently broken.
9421 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
9422 * acconfig.h (USE_INCLUDED_REGEX): Remove.
9423 * config.in, configure: Regenerated.
9424
287c1a40
MK
9425 * configure.in: Move code that provides the --enable-tui option
9426 before the "Checks for libraries" section. Polish the code
9427 somewhat and set need_curses to yes if we build the TUI. Rewrite
9428 code that looks for a library providing termcap functionality to
9429 match more closely what's done in the Readline library, and move
9430 it into to the "Checks for libraries" section.
9431 * configure: Regenerated.
9432 * Makefile.in (TERMCAP): Remove variable.
9433 * config/i386/go32.mh (TERMCAP): Remove variable.
9434
684e56bf
AC
94352003-01-02 Andrew Cagney <[email protected]>
9436
9437 * MAINTAINERS: Mention gdb_mbuild.sh.
9438 * gdb_mbuild.sh: Rewrite.
9439
e1ea1d75
MK
94402003-01-02 Mark Kettenis <[email protected]>
9441
9442 * configure.in: Fix typo in last change.
9443 * config.in, configure: Regenerated.
9444
1b831c93
AC
94452003-01-02 Andrew Cagney <[email protected]>
9446
9447 * valarith.c (value_binop): Delete obsolete code and comments.
9448 * configure.host: Ditto.
9449 * buildsym.h (make_blockvector): Ditto.
9450 * buildsym.c (make_blockvector): Ditto.
9451 * defs.h (enum language): Ditto.
9452 (chill_demangle): Ditto.
9453 * elfread.c (elf_symtab_read): Ditto.
9454 * dwarfread.c (CHILL_PRODUCER): Ditto.
9455 (set_cu_language): Ditto.
9456 (handle_producer): Ditto.
9457 * expprint.c (print_subexp): Ditto.
9458 * gdbtypes.c (chill_varying_type): Ditto.
9459 * gdbtypes.h (builtin_type_chill_bool): Ditto.
9460 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
9461 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
9462 (chill_varying_type): Ditto.
9463 * language.h (_LANG_chill): Ditto.
9464 * language.c (binop_result_type, integral_type): Ditto.
9465 (character_type, string_type, structured_type): Ditto.
9466 (lang_bool_type, binop_type_check): Ditto.
9467 * stabsread.h (os9k_stabs): Ditto.
9468 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
9469 (define_symbol, read_type, read_struct_fields): Ditto.
9470 (read_array_type, read_enum_type, read_huge_number): Ditto.
9471 (read_range_type, start_stabs): Ditto.
9472 * symfile.c (init_filename_language_table): Ditto.
9473 (add_psymbol_with_dem_name_to_list): Ditto.
9474 * symtab.c (symbol_init_language_specific): Ditto.
9475 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
9476 * symtab.h (struct general_symbol_info): Ditto.
9477 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
9478 * typeprint.c (typedef_print): Ditto.
9479 * utils.c (fprintf_symbol_filtered): Ditto.
9480 * valops.c (value_cast, search_struct_field, value_slice): Delete
9481 obsolete code.
9482 (varying_to_slice): Delete function.
9483 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
9484 (varying_to_slice): Delete declaration.
9485 * MAINTAINERS: Update.
9486
8bb2c122
MK
94872003-01-02 Mark Kettenis <[email protected]>
9488
97bf5e38
MK
9489 * configure.in: Reorganize "Checks for library functions section"
9490 a bit. Remove check for `btowc' and `isascii' functions.
9491 * configure: Regenerated.
9492
5ee754fc
MK
9493 * acconfig.h (_MSE_INT_H): Remove.
9494 * configure.in: Create "Checks for header files" section, and move
9495 appropriate tests there. Don't check for objlist.h, wchar.h,
9496 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
9497 misdetection fix. Also add "Checks for types", "Checks for
9498 compiler characteristics" and "Checks for library functions"
9499 sections.
9500 * config.in, configure: Regenerated.
9501
8bb2c122
MK
9502 * configure.in: Create "Checks for programs" section, and move
9503 appropriate tests there.
9504
9a156167
MK
95052003-01-01 Mark Kettenis <[email protected]>
9506
9507 * configure.in: Create "Checks for libraries" section, and move
9508 appropriate tests there. Cleanup check for wctype in libw. Use
9509 AC_SEARCH_LIBS to see whether we need libsocket.
9510 * configure: Regenerated.
9511
a80e2bcb 9512For older changes see ChangeLog-2002
c906108c
SS
9513\f
9514Local Variables:
9515mode: change-log
9516left-margin: 8
9517fill-column: 74
9518version-control: never
9519End:
This page took 2.124487 seconds and 4 git commands to generate.