2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
b887c273
RC
12004-06-11 Randolph Chung <tausq@debian.org>
2
3 * somread.c (som_symtab_read): Exclude gcc local symbols.
4
1b2bfbb9
RC
52004-06-11 Randolph Chung <tausq@debian.org>
6
7 * infrun.c (handle_inferior_event): Handle the case when a trampoline
8 ends up in the runtime resolver, and if the trampoline has no name.
9 Rearrange the code so that all the trampoline processing happens before
10 other step-out-of-range handling.
11
a9d61c86
MH
122004-06-11 Martin Hunt <hunt@redhat.com>
13
14 * mips-tdep.c (mips_gdbarch_init): Recognize vr4120
15 has no fpu.
16
2c87cf5a
AC
172004-06-10 Andrew Cagney <cagney@gnu.org>
18
19 * blockframe.c (legacy_inside_entry_func): Delete.
20 (legacy_frame_chain_valid): Inline call to
21 legacy_inside_entry_func, simplify.
22
0b67b468 232004-06-10 Bob Rossi <bob@brasko.net>
57c22c6c
BR
24
25 * dbxread.c (read_dbx_symtab): Set pst->dirname when known.
26 * dwarf2read.c (partial_die_info) : Add dirname field.
27 (dwarf2_build_psymtabs_hard) : Set pst->dirname when known.
28 (read_partial_die) : Save away DW_AT_comp_dir.
29 * defs.h (symtab_to_filename) : Removed.
30 * source.c (find_and_open_source) : Added.
31 (open_source_file): Just calls find_and_open_source.
32 (symtab_to_filename) : Removed.
33 (symtab_to_fullname, psymtab_to_fullname ) : Added.
34 * source.h (psymtab_to_fullname,symtab_to_fullname): Added.
35 * symtab.c (lookup_symtab): Call symtab_to_fullname instead of
36 symtab_to_filename.
37 * symtab.h (partial_symtab): Add dirname field.
38 * mi/mi-cmd-file.c (FILENAME,FULLNAME): Added.
39 (mi_cmd_file_list_exec_source_file): Call new function symtab_to_fullname
40 to find fullname.
41 (mi_cmd_file_list_exec_source_files): Added.
42 * mi/mi-cmds.c (mi_cmd_mi_cmds) : Add -file-list-exec-source-files.
43 * mi/mi-cmds.h (mi_cmd_file_list_exec_source_files): Added.
44
9a1dd1ad
AC
452004-06-10 Andrew Cagney <cagney@gnu.org>
46
239ae8c7
AC
47 * avr-tdep.c (avr_gdbarch_init): Do not set use_struct_convention
48 to generic_use_struct_convention, the default value.
49
fc720350
AC
50 * mn10300-tdep.c (mn10300_type_align): Call internal_error instead
51 of abort.
52
9a1dd1ad
AC
53 * ns32k-tdep.c (ns32k_push_arguments): New function.
54 (ns32k_gdbarch_init): Set deprecated_push_arguments.
55 * infcall.c (call_function_by_hand): Call error instead of
56 legacy_push_arguments.
57 * value.h (legacy_push_arguments): Delete declaration.
58 * valops.c (legacy_push_arguments): Delete function.
59 (value_push): Delete function.
60
fea25152
BF
612004-06-10 Brian Ford <ford@vss.fsi.com>
62
63 * coffread.c (coff_symfile_read): Prevent mixed debugging formats
64 from corrupting/reinitializing the psymtab. Support DWARF 2 frame
65 info.
66 * dbxread.c (elfstab_build_psymtabs): Remove bogus comment.
67
30a4a8e0
AC
682004-06-10 Andrew Cagney <cagney@gnu.org>
69
70 * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Delete.
71 * gdbarch.h, gdbarch.c: Re-generate.
72 * frame.h (deprecated_pc_in_call_dummy): Delete "sp" and "fp"
73 parameters.
74 * dummy-frame.c (deprecated_pc_in_call_dummy): Update.
75 * arm-tdep.c (arm_pc_is_thumb_dummy): Call
76 deprecated_pc_in_call_dummy instead of
77 DEPRECATED_PC_IN_CALL_DUMMY.
78 (arm_skip_prologue): Ditto.
79 * xstormy16-tdep.c (xstormy16_pop_frame, xstormy16_scan_prologue)
80 (xstormy16_frame_saved_pc, xstormy16_frame_chain): Ditto.
81 * v850-tdep.c (v850_find_callers_reg, v850_frame_chain)
82 (v850_pop_frame, v850_frame_saved_pc, v850_frame_init_saved_regs):
83 Ditto.
84 * sh64-tdep.c (sh64_frame_chain, sh64_get_saved_pr)
85 (sh64_init_extra_frame_info, sh64_get_saved_register)
86 (sh64_pop_frame): Ditto.
87 * mips-tdep.c (non_heuristic_proc_desc): Ditto.
88 * mcore-tdep.c (mcore_find_callers_reg, mcore_frame_saved_pc)
89 (mcore_pop_frame, mcore_init_extra_frame_info): Ditto.
90 * h8300-tdep.c (h8300_frame_chain, h8300_frame_saved_pc)
91 (h8300_pop_frame): Ditto.
92 * blockframe.c (legacy_inside_entry_func)
93 (legacy_frame_chain_valid): Ditto.
94 * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update call
95 to deprecated_pc_in_call_dummy.
96
81cfbe54
AC
972004-06-09 Andrew Cagney <cagney@gnu.org>
98
a1f4a1b6
AC
99 * gdbarch.sh (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Do not
100 provide a default value.
101 (CONVERT_REGISTER_P): Default to generic_convert_register_p.
102 * gdbarch.h, gdbarch.c: Re-generate.
103 * arch-utils.c (generic_convert_register_p): Rename
104 legacy_convert_register_p
105 (legacy_register_to_value, legacy_value_to_register): Delete
106 functions.
107 * arch-utils.h (generic_convert_register_p): Rename
108 legacy_convert_register_p.
109 (legacy_register_to_value, legacy_value_to_register): Delete
110 declarations.
111
9730f241
AC
112 * gdbarch.sh (DEPRECATED_REGISTER_CONVERT_TO_RAW)
113 (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL)
114 (DEPRECATED_REGISTER_CONVERTIBLE): Delete.
115 * gdbarch.h, gdbarch.c: Re-generate.
116 * infcmd.c (default_print_registers_info): Simplify.
117 * findvar.c (value_of_register): Simplify.
118 * mi/mi-main.c (get_register): Simplify.
119 * arch-utils.c (legacy_convert_register_p): Always return 0.
120 (legacy_register_to_value, legacy_value_to_register): Always call
121 internal_error.
122
8a1bf479
AC
123 * infptrace.c (child_xfer_memory) [CLEAR_INSN_CACHE]: Delete
124 #ifdef CLEAR_INSN_CACHE code.
125 * target.c (generic_mourn_inferior) [CLEAR_DEFERRED_STORES]:
126 Delete #ifdef CLEAR_DEFERRED_STORES code.
127
4b38d6f1
AC
128 * solib-svr4.c [HANDLE_SVR4_EXEC_EMULATORS]: Delete #ifdef code.
129
2d62ecc7
AC
130 * config/ia64/tm-linux.h (TARGET_ELF64): Delete macro, Update
131 copyright.
132 * config/ia64/tm-aix.h (TARGET_ELF64): Ditto.
133
be4f7469
AC
134 * config/mips/mipsv4.mh: Delete file.
135
81cfbe54
AC
136 * config/pa/tm-hppa64.h (HPREAD_ADJUST_STACK_ADDRESS): Delete
137 unreferenced macro.
138 (hpread_adjust_stack_address): Delete declaration.
139
d966f0cb
AC
1402004-06-08 Andrew Cagney <cagney@gnu.org>
141
142 * infptrace.c [ATTACH_DETACH]: Remove #ifdef wrappers.
143 (attach, detach): When neither PT_ATTACH / PT_DETACH nor
144 PTRACE_ATTACH / PTRACE_DETACH available call error.
145 (PT_ATTACH, PT_DETACH): Move definition to attach / detach.
146 * infttrace.c (update_thread_state_after_attach, attach, detach):
147 Remove #ifdef wrappers.
148 * inftarg.c (child_attach, child_detach): Remove #ifdef wrappers.
149 * gnu-nat.c [ATTACH_DETACH]: Remove #ifdef wrappers.
150 * config/nm-bsd.h (ATTACH_DETACH): Delete.
151 * config/nm-sysv4.h (ATTACH_DETACH): Delete.
152 * config/nm-nbsd.h (ATTACH_DETACH): Delete.
153 * config/nm-linux.h (ATTACH_DETACH): Delete.
154 * config/rs6000/nm-rs6000.h (ATTACH_DETACH): Delete.
155 * config/pa/nm-hppah.h (ATTACH_DETACH): Delete.
156 * config/i386/nm-i386sco5.h (ATTACH_DETACH): Delete.
157 * config/i386/nm-i386sco4.h (ATTACH_DETACH): Delete.
158 * config/i386/nm-i386gnu.h (ATTACH_DETACH): Delete.
159
d91670b9
CV
1602004-06-08 Corinna Vinschen <vinschen@redhat.com>
161
162 * configure.in: Set $configdir to the right OS specific value.
163 Use value when setting $tcldir and $tkdir.
164 * configure: Regenerate.
165
28ba0b33
PB
1662004-06-06 Paul Brook <paul@codesourcery.com>
167
168 * gdb/dwarf2-frame.c (decode_frame_entry_1): Decode version 3 CIE
169 records.
170
f26caa11
PH
1712004-06-08 Paul N. Hilfinger <Hilfinger@gnat.com>
172
173 * ada-lang.c (lookup_symbol_in_language): New function to allow
174 re-use of another language's symbol lookup code. (Placed here
175 temporarily while Ada support is being integrated into the public
176 tree).
177 (restore_language): New auxiliary function for
178 lookup_symbol_in_language.
179 * ada-lang.h (lookup_symbol_in_language): Declare (Placed here
180 temporarily while Ada support is being integrated into the public
181 tree).
182
d560a54b
AO
1832004-06-08 Alexandre Oliva <aoliva@redhat.com>
184
e75d110c
AO
185 * Makefile.in (check//%): New.
186
d560a54b
AO
187 * mn10300-tdep.c (mn10300_extract_return_value): Rewrite.
188 (mn10300_store_return_value): Rewrite.
189 (mn10300_type_align): New.
190 (mn10300_use_struct_convention): Rewrite.
191 (mn10300_return_value): New, using all of the above.
192 (mn10300_pop_frame_regular): Add saved_regs_size.
193 (mn10300_gdbarch_init): Remove deprecated rewritten entry points.
194
a72fbdb7
AO
195 * mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved
196 regs if PC is on movm.
197
01904826
JB
1982004-06-07 Jim Blandy <jimb@redhat.com>
199
200 Add native Linux support for the PowerPC E500.
201 * ppc-tdep.h (struct gdbarch_tdep): New member: 'ppc_gprs_pseudo_p'.
202 * rs6000-tdep.c (rs6000_gdbarch_init): Initialize it to false on
203 all architectures except the E500.
204 * ppc-linux-nat.c: (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): New
205 #definitions.
206 (struct gdb_evrregset_t): New type.
207 (have_ptrace_getsetevrregs): New variable.
208 (get_spe_registers, read_spliced_spe_reg, fetch_spe_register,
209 fetch_spe_registers): New functions.
210 (fetch_register): Call fetch_spe_register as appropriate.
211 Assert that we're only passed raw register numbers.
212 (fetch_ppc_registers): Call fetch_spe_registers as appropriate.
213 Don't fetch gprs if they're pseudoregisters.
214 (set_spe_registers, write_spliced_spe_reg, store_spe_register,
215 store_spe_registers): New functions.
216 (store_register): Call store_spe_register as appropriate.
217 Assert that we're only passed raw register numbers.
218 (store_ppc_registers): Call store_spe_registers as appropriate.
219 Don't store gprs if they're pseudoregisters.
220
f90ef764
JJ
2212004-06-07 Jeff Johnston <jjohnstn@redhat.com>
222
223 * thread-db.c (thread_get_info_callback): Fill in the thread_info
224 struct if one exists, even if we are dealing with a zombie thread.
225
45b75230
AC
2262004-06-07 Andrew Cagney <cagney@gnu.org>
227
228 * target.h (PC_REQUIRES_RUN_BEFORE_USE): Delete definition.
229 * config/pa/tm-hppa.h (DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE):
230 Rename PC_REQUIRES_RUN_BEFORE_USE.
231 * breakpoint.c (breakpoint_sals_to_pc): Update. Wrap reference in
232 #ifdef.
233
1658da49
RC
2342004-06-07 Randolph Chung <tausq@debian.org>
235
236 * hppa-tdep.c (hppa_frame_cache): Handle the cases when we start
237 unwinding after sp has been saved to the stack but before the end
238 of the prologue, and after the fp has been modified but before it has
239 been saved to the stack.
240 (hppa_frame_base_address, hppa_frame_base, hppa_frame_base_sniffer):
241 Remove superfluous definitions.
242 (hppa_gdbarch_init): Remove superfluous frame base sniffer.
243
9a727a3c
RC
2442004-06-07 Guy Martin <gmsoft@gentoo.org>
245
246 Committed by Randolph Chung.
247 * hppa-linux-nat.c: Include the correct version of the header file
248 depending on the kernel version.
249
9e500012
RC
2502004-06-06 Randolph Chung <tausq@debian.org>
251
252 * infrun.c (trap_expected_after_continue): Remove HP_OS_BUG workaround.
253 (proceed, init_wait_for_inferior, handle_inferior_event): Likewise.
254
3388d7ff
RC
2552004-06-06 Randolph Chung <tausq@debian.org>
256
257 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline)
258 (hppa_hpux_skip_trampoline_code): Don't cache symbol values.
259 * hppa-linux-tdep.c (hppa_linux_in_dyncall): Likewise.
260 * hppa-tdep.c (hppa_symbol_address): New function definition.
261 * hppa-tdep.h (hppa_symbol_address): New function declaration.
262
d49771ef
RC
2632004-06-06 Randolph Chung <tausq@debian.org>
264
265 * hppa-tdep.h (struct value): Forward declaration.
266 (gdbarch_tdep): Define tdep find_global_pointer method.
267 * hppa-tdep.c (hppa32_push_dummy_call): Find the global pointer
268 associated with the function we are trying to call, and write it
269 to the gp register.
270 (hppa32_convert_from_funct_ptr_addr): New function.
271 (hppa_find_global_pointer): New function.
272 (hppa_gdbarch_init): Set default find_global_pointer method; set
273 convert_from_func_ptr_addr method.
274 * hppa-linux-tdep.c (hppa_linux_find_global_pointer): New function.
275 (hppa_linux_init_abi): Set find_global_pointer method.
276 * Makefile.in (hppa-linux-tdep.o): Add value.h dependency.
277
7d9b040b
RC
2782004-06-06 Randolph Chung <tausq@debian.org>
279
280 * gdbarch.sh (PUSH_DUMMY_CALL): Change CORE_ADDR func_addr argument
281 to struct value *function.
282 * gdbarch.c: Regenerate.
283 * gdbarch.h: Likewise.
284 * infcall.c (call_function_by_hand): Pass entire function value
285 to push_dummy_call.
286
287 * Makefile.in (alpha-tdep.o, frv-tdep.o, ia64-tdep.o, mips-tdep.o)
288 (ppc-sysv-tdep.o, rs6000-tdep.o): Update dependencies.
289 * alpha-tdep.c (alpha_push_dummy_call): Update call signature.
290 * amd64-tdep.c (amd64_push_dummy_call): Likewise.
291 * arm-tdep.c (arm_push_dummy_call): Likewise.
292 * avr-tdep.c (avr_push_dummy_call): Likewise.
293 * cris-tdep.c (cris_push_dummy_call): Likewise.
294 * d10v-tdep.c (d10v_push_dummy_call): Likewise.
295 * frv-tdep.c (frv_push_dummy_call): Likewise.
296 * h8300-tdep.c (h8300_push_dummy_call): Likewise.
297 * hppa-tdep.c (hppa32_push_dummy_call)
298 (hppa64_push_dummy_call): Likewise.
299 * i386-tdep.c (i386_push_dummy_call): Likewise.
300 * ia64-tdep.c (ia64_push_dummy_call): Likewise.
301 * m32r-tdep.c (m32r_push_dummy_call): Likewise.
302 * m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise.
303 * m68k-tdep.c (m68k_push_dummy_call): Likewise.
304 * m88k-tdep.c (m88k_push_dummy_call): Likewise.
305 * mips-tdep.c (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
306 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Likewise.
307 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
308 (ppc64_sysv_abi_push_dummy_call): Likewise.
309 * ppc-tdep.h (ppc_sysv_abi_push_dummy_call)
310 (ppc64_sysv_abi_push_dummy_call): Likewise.
311 * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
312 * s390-tdep.c (s390_push_dummy_call): Likewise.
313 * sh-tdep.c (sh_push_dummy_call_fpu)
314 (sh_push_dummy_call_nofpu): Likewise.
315 * sparc-tdep.c (sparc32_push_dummy_call): Likewise.
316 * sparc64-tdep.c (sparc64_push_dummy_call): Likewise.
317 * vax-tdep.c (vax_push_dummy_call): Likewise.
318
4a19ea35
JB
3192004-06-04 Jim Blandy <jimb@redhat.com>
320
8327ccee
JB
321 * ppc-linux-nat.c (fetch_register): Don't forget to pass the
322 gdbarch argument to register_size.
323
a3c001ce
JB
324 * rs6000-tdep.c (rs6000_store_return_value): Use
325 regcache_cooked_write_part instead of
326 deprecated_write_register_bytes.
327 (rs6000_gdbarch_init): Register it for gdbarch_store_return_value,
328 not gdbarch_deprecated_store_return_value.
329
4a19ea35
JB
330 * ppc-linux-nat.c (store_register, fetch_register): Remove
331 incorrect assertions. Simplify and generalize handling of
332 transfers whose sizes are not multiples of, or less than, sizeof
333 (PTRACE_XFER_TYPE).
334
b9b5d7ea
JJ
3352004-06-04 Jeff Johnston <jjohnstn@redhat.com>
336
337 * infrun.c (handle_inferior_event): Don't treat an invalid ptid
338 as a new thread event.
339 * thread_db.c (thread_get_info_callback): If the thread is a
340 zombie, return TD_THR_ZOMBIE.
341 * (thread_from_lwp): If thread_get_info_callback returns
342 TD_THR_ZOMBIE, check if the thread is still on the thread list
343 and return a -1 ptid if not found.
344 (thread_db_wait): If thread_from_lwp returns a -1 ptid, then
345 change the status to TARGET_WAITKIND_SPURIOUS.
346
c8a3b559
CV
3472004-06-03 Corinna Vinschen <vinschen@redhat.com>
348
349 * sh-tdep.c (sh3e_sh4_store_return_value): Correctly store
350 double values in little endian mode.
351
20605361
AC
3522004-06-02 Albert Chin-A-Young <china@thewrittenword.com>
353
354 Committed by Andrew Cagney.
355 * gdb/dictionary.c, gdb/gdbtypes.h: Remove trailing comma
356 after last enum constant to avoid error from IBM C
357 compiler.
358
bc97b3ba
JB
3592004-06-02 Jim Blandy <jimb@redhat.com>
360
361 * ppc-linux-nat.c (store_register, fetch_register): Rename 'mess'
362 to 'message', and make it local to the lone block that uses it.
363
1da28ab0
JB
364 * ppc-linux-nat.c (store_register): Remove unused local 'offset'.
365
4c4b4cd2
PH
3662004-06-02 Paul N. Hilfinger <hilfinger@gnat.com>
367
368 * ada-exp.y: Synchronize with current ACT sources.
369 * ada-lang.c: Ditto.
370 * ada-lang.h: Ditto.
371 * ada-lex.l: Ditto.
372 * ada-tasks.c: Ditto.
373 * ada-typeprint.c: Ditto.
374 * ada-valprint.c: Ditto.
375
f65f91b5
JB
3762004-06-01 Jim Blandy <jimb@redhat.com>
377
378 * ppc-tdep.h: Delete unused 'regoff' member.
379 * rs6000-tdep.c (rs6000_gdbarch_init): Don't initialize it.
380
d4687fa0
MC
3812004-06-01 Michael Chastain <mec.gnu@mindspring.com>
382
383 Fix PR symtab/1661.
384 * hpread.c (hpread_pxdb_needed): Call memset after alloca.
385 (hpread_read_struct_type): Likewise.
386
de169ec9
AC
3872004-06-01 Andrew Cagney <cagney@gnu.org>
388
c6902d46
AC
389 * mi/mi-cmd-env.c (env_execute_cli_command): Use xstrprintf
390 instead of xasprintf.
391 * mi/mi-main.c (mi_error_last_message, mi_cmd_exec_interrupt)
392 (mi_cmd_thread_select, mi_cmd_thread_list_ids)
393 (mi_cmd_data_list_register_names)
394 (mi_cmd_data_list_changed_registers)
395 (mi_cmd_data_list_register_values)
396 (get_register, mi_cmd_data_write_register_values)
397 (mi_cmd_data_write_register_values)
398 (mi_cmd_data_assign, mi_cmd_data_evaluate_expression)
399 (mi_cmd_target_download, mi_cmd_target_select)
400 (mi_cmd_data_read_memory, mi_cmd_data_write_memory)
401 (mi_execute_cli_command, mi_execute_async_cli_command)
402 (mi_execute_async_cli_command): Ditto.
403 * mi/mi-interp.c (mi_cmd_interpreter_exec) Ditto.
404 * mi/mi-cmd-var.c (mi_cmd_var_create): Ditto.
405
6085fc2d
AC
406 * mi/mi-cmds.h (mi_error_last_message): Delete declaration.
407 * mi/mi-interp.c (mi_cmd_interpreter_exec): Call
408 error_last_message instead of mi_error_last_message.
409 * mi/mi-main.c (mi_error_last_message): Delete function.
410
de169ec9
AC
411 * mi/mi-main.c (mi_cmd_data_read_memory): Add missing return for
412 "invalid number of columns" error. Delete redundant "out of
413 memory" check.
414
1fc7d519
MK
4152004-05-31 Mark Kettenis <kettenis@gnu.org>
416
6cfb2041
MK
417 * i386bsd-nat.c: Don't include <sys/procfs.h>.
418 (gregset_t, fpregset_t): Remove typedefs.
419 (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Remove macros.
420 (REG_OFFSET): Rename argument.
421 (i386bsd_r_reg_offset): Rename from reg_offset.
422 (REG_ADDR): Remove macro.
423 (cannot_fetch_register, supply_gregset, fill_gregset): Remove
424 functions.
425 (i386bsd_supply_gregset, i386bsd_collect_gregset): New functions.
426 (fetch_inferior_registers): Use `struct reg' and `struct fpreg'
427 instead of gregset_t and fpregset_t. Use i386bsd_supply_gregset
428 instead of supply_gregset.
429 (store_inferior_registers): Use `struct reg' and `struct fpreg'
430 instead of gregset_t and fpregset_t. Use i386bsd_collect_gregset
431 instead of fill_gregset.
432 (register_u_addr): Use i386_r_reg_offset instead of REG_ADDR.
433
1fc7d519
MK
434 * i386bsd-nat.c: Don't include "gregset.h".
435 (supply_gregset, fill_gregset): Make static.
436 (supply_fpregset, fill_fpregset): Remove.
437 * Makefile.in (i386bsd-nat.o): Update dependencies.
438
2c34abbe
MK
4392004-05-30 Mark Kettenis <kettenis@gnu.org>
440
448724fb
MK
441 * fbsd-proc.c: Include "regcache.h", "regset.h" and
442 "gdb_assert.h". Con't include "gregset.h".
443 (fbsd_make_corefile_notes): Use regset-based core file support
444 instead off fill_gregset and fill_fpregset.
445 * Makefile.in (fbsd-proc.o): Update dependencies.
446
5ca8ca7c
MK
447 * m88k-tdep.c (m88k_analyze_prologue): Fix handling of branch
448 instructions.
449 (m88k_frame_prev_register): Simplify code a bit.
450
593adc23
MK
451 * amd64-tdep.c (amd64_supply_fpregset): Adjust comment.
452 (amd64_collect_fpregset): New function.
453 (amd64_regset_from_core_section): Use amd64_collect_fpregset.
454
8d1b517b
MK
455 * hppa-tdep.h (hppa_regnum): Add HPPA_R31_REGNUM.
456
7fdafb5a
MK
457 * i386-tdep.c (i386_supply_gregset): Adjust comment.
458 (i386_collect_gregset): New function.
459 (i386_supply_fpregset): Adjust comment.
460 (i386_collect_fpregset): New function.
461 (i386_regset_from_core_section): Use i386_collect_gregset and
462 i386_collect_fpregset.
463
8693c419
MK
464 * hppa-tdep.c (hppa_frame_prev_register_helper): Reimplement to
465 handle VALUEP being null.
466
2c34abbe
MK
467 * regset.h (collect_regset_ftype): Unconstify fourth argument.
468
45d134d8
MK
4692004-05-29 Mark Kettenis <kettenis@gnu.org>
470
1698f4e7
MK
471 * MAINTAINERS: Undelete m88k. Add myself as maintainer.
472
45d134d8
MK
473 * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Adjust for new
474 assembler in OpenBSD 3.5-current.
475 (amd64obsd_sigcontext_addr): Likewise.
476
691d145a
JB
4772004-05-28 Jim Blandy <jimb@redhat.com>
478
479 * rs6000-tdep.c: Use the modern gdbarch methods for handling the
480 register set, so our regcache isn't declared "legacy" and our E500
481 pseudoregister read and write functions aren't ignored.
482 (rs6000_register_byte, rs6000_register_raw_size,
483 rs6000_register_virtual_type, rs6000_register_convertible,
484 rs6000_register_convert_to_virtual,
485 rs6000_register_convert_to_raw): Deleted.
486 (rs6000_register_type, rs6000_convert_register_p,
487 rs6000_register_to_value, rs6000_value_to_register): New
488 functions.
489 (rs6000_gdbarch_init): Don't register
490 gdbarch_deprecated_register_size,
491 gdbarch_deprecated_register_bytes,
492 gdbarch_deprecated_register_byte,
493 gdbarch_deprecated_register_raw_size,
494 gdbarch_deprecated_register_virtual_type,
495 gdbarch_deprecated_register_convertible,
496 gdbarch_deprecated_register_convert_to_virtual, or
497 gdbarch_deprecated_register_convert_to_raw methods. Instead,
498 register gdbarch_register_type, gdbarch_convert_register_p,
499 gdbarch_register_to_value, and gdbarch_value_to_register methods.
500
18ed0c4e
JB
5012004-05-26 Jim Blandy <jimb@redhat.com>
502
503 * rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): Deleted.
504 (rs6000_stab_reg_to_regnum, rs6000_dwarf2_reg_to_regnum): New
505 functions, updated to match the register numberings used in GCC.
506 (rs6000_gdbarch_init): Register rs6000_stab_reg_to_regnum and
507 rs6000_dwarf2_reg_to_regnum as register number conversions
508 functions for STABS and Dwarf2.
509
779af9e3
RC
5102004-05-26 Randolph Chung <tausq@debian.org>
511
512 * infttrace.h (target_waitkind): Forward declare type instead of pulling
513 in header file.
514
c23968a2
JB
5152004-05-25 Joel Brobecker <brobecker@gnat.com>
516
517 * NEWS: Document new "start" command.
518
3a7d1c27
RC
5192004-05-25 Randolph Chung <tausq@debian.org>
520
521 * hppa-linux-tdep.c (hppa_linux_init_abi): sizeof(long double) == 8 on
522 hppa-linux.
523
43613416
RC
5242004-05-25 Randolph Chung <tausq@debian.org>
525
526 * hppa-hpux-tdep.c (offsetof): Define.
527 (hppa_hpux_pc_in_sigtramp, hppa32_hpux_frame_saved_pc_in_sigtramp)
528 (hppa32_hpux_frame_base_before_sigtramp)
529 (hppa32_hpux_frame_find_saved_regs_in_sigtramp)
530 (hppa64_hpux_frame_saved_pc_in_sigtramp)
531 (hppa64_hpux_frame_base_before_sigtramp)
532 (hppa64_hpux_frame_find_saved_regs_in_sigtramp): Remove unused
533 functions.
534 (struct hppa_hpux_sigtramp_unwind_cache, hppa_hpux_tramp_reg)
535 (hppa_hpux_sigtramp_frame_unwind_cache)
536 (hppa_hpux_sigtramp_frame_this_id)
537 (hppa_hpux_sigtramp_frame_prev_register)
538 (hppa_hpux_sigtramp_frame_unwind)
539 (hppa_hpux_sigtramp_unwind_sniffer): New signal trampoline unwinder.
540 (hppa_hpux_init_abi): Register sigtramp unwinder.
541 * Makefile.in (hppa-hpux-tdep.o): Update dependencies.
542
6d1be3f1
RC
5432004-05-25 Randolph Chung <tausq@debian.org>
544
545 * hppa-tdep.c (hppa_fallback_frame_cache): Handle stack adjustment,
546 and multiple stack unwinds.
547 (hppa_stub_unwind_sniffer): Handle unwind from pc == 0.
548
97c34f65
AC
5492004-05-25 Andrew Cagney <cagney@gnu.org>
550
551 * symfile.h (symbol_file_add_from_memory): Delete declaration.
552 * symfile-mem.h: Delete file.
553 * symfile-mem.c: Do not include "symfile-mem.h".
554 (symbol_file_add_from_memory): Make static. Use "struct bfd" and
555 "struct bfd_section". When an error do not bother returning NULL.
556 (add_symbol_file_from_memory_command): Use "struct bfd" and
557 "struct bfd_section".
558 * Makefile.in (symfile_mem_h): Delete.
559 (symfile-mem.o): Update dependencies.
560
e23cbd82
NR
5612004-05-25 Nick Roberts <nickrob@gnu.org>
562
563 * gdb-mi.el: New file.
564
20d2ca3e
AC
5652004-05-25 Andrew Cagney <cagney@gnu.org>
566
567 * inftarg.c: Include "observer.h".
568 (child_attach, child_create_inferior): Notify inferior_created.
569 * corelow.c: Include "observer.h".
570 (core_open): Notify inferior_created.
571 * Makefile.in (inftarg.o, corelow.o): Update dependencies.
572
c27cda74
AC
5732004-05-25 Andrew Cagney <cagney@gnu.org>
574
575 * target.h (struct target_ops): Add from_tty to
576 to_create_inferior.
577 (target_create_inferior, find_default_create_inferior): Update.
578 * infcmd.c (run_command): Update.
579 * wince.c (child_create_inferior): Update.
580 * win32-nat.c (child_create_inferior): Update.
581 * uw-thread.c (uw_thread_create_inferior): Update.
582 * thread-db.c (thread_db_create_inferior): Update.
583 * target.c (debug_to_create_inferior)
584 (find_default_create_inferior): Update.
585 (maybe_kill_then_create_inferior): Update.
586 * sol-thread.c (sol_thread_create_inferior): Update.
587 * remote.c (extended_remote_async_create_inferior)
588 (extended_remote_create_inferior): Update.
589 * remote-vx.c (vx_create_inferior): Update.
590 * remote-st.c (st2000_create_inferior): Update.
591 * remote-sim.c (gdbsim_create_inferior): Update.
592 * remote-sds.c (sds_create_inferior): Update.
593 * remote-rdp.c (remote_rdp_create_inferior): Update.
594 * remote-rdi.c (arm_rdi_create_inferior): Update.
595 * remote-m32r-sdi.c (m32r_create_inferior): Update.
596 * remote-e7000.c (e7000_create_inferior): Update.
597 * procfs.c (procfs_create_inferior): Update.
598 * ocd.c (ocd_create_inferior): Update.
599 * ocd.h (ocd_create_inferior): Update.
600 * nto-procfs.c (procfs_create_inferior): Update.
601 * monitor.c (monitor_create_inferior): Update.
602 * lin-lwp.c (lin_lwp_create_inferior): Update.
603 * inftarg.c (child_create_inferior): Update.
604 * hpux-thread.c (hpux_thread_create_inferior): Update.
605 * gnu-nat.c (gnu_create_inferior): Update.
606
1db2a798
AC
6072004-05-25 Andrew Cagney <cagney@gnu.com>
608
609 * MAINTAINERS: Update e-mail address.
610
007d08bb
RC
6112004-05-24 Randolph Chung <tausq@debian.org>
612
613 * thread.c (info_threads_command, thread_apply_all_command)
614 (thread_apply_command, thread_command, do_captured_thread_select):
615 Remove HPUXHPPA-specific code.
616
69e7b95e
RC
6172004-05-24 Randolph Chung <tausq@debian.org>
618
619 * hppa-tdep.c (SR4EXPORT_LDIL_OFFSET, SR4EXPORT_LDO_OFFSET): Remove
620 unused symbols.
621 * hppa-tdep.h (HPPA_INSTRUCTION_SIZE): Remove, since there are no more
622 references.
623
a4d5f2e0
JB
6242004-05-24 Joel Brobecker <brobecker@gnat.com>
625
626 * infcmd.c (kill_if_already_running): New function, extracted
627 from run_command().
628 (run_command): Replace extracted code by call to
629 kill_if_already_running().
630 (start_command): New function.
631 (_initialize_infcmd): Add "start" command.
632
bf2ca189
MK
6332004-05-24 Mark Kettenis <kettenis@gnu.org>
634
635 Add OpenBSD/m88k support.
636 * NEWS (New native configurations): Mention OpenBSD/m88k.
637 * m88k-tdep.c, m88k-tdep.h, m88kbsd-nat.c, config/m88k/nm-obsd.h,
638 config/m88k/obsd.mh, config/m88k/obsd.mt: New files.
639 * Makefile.in (m88k_tdep_h): New variable.
640 (ALLDEPFILES): Add m88k-tdep.c and m88kbsd-nat.c.
641 (m88kbsd-nat.o, m88k-tdep.o): New dependencies.
642 * configure.host: Add m88*-*-openbsd*.
643 * configure.tgt: Add m88*-*-openbsd*.
644
80fadb11
JB
6452004-05-24 Jim Blandy <jimb@redhat.com>
646
647 * MAINTAINERS (tracing bytecode stuff): Allow global maintainers
648 to approve changes.
649
19e2d14b
KB
6502004-05-24 Kevin Buettner <kevinb@redhat.com>
651
652 * symtab.c (fixup_section): Search section table when lookup by
653 name fails.
654
1b07b470
RC
6552004-05-24 Randolph Chung <tausq@debian.org>
656
657 * hppa-tdep.c: Fix handling of 8-byte structures; they should not
658 be "small_struct".
659
368702b1
MK
6602004-05-24 Mark Kettenis <kettenis@gnu.org>
661
5df97fde
MK
662 * m68kbsd-nat.c (m68kbsd_collect_gregset): Specify correct
663 register number in regcache_raw_collect call.
664 (m68kbsd_collect_fpregset): Likewise.
665 * vaxbsd-nat.c (vaxbsd_collect_gregset): Likewise.
666
368702b1
MK
667 * regset.h (struct regset): Add back `regset' member.
668
a770d4ec
MK
6692004-05-23 Mark Kettenis <kettenis@gnu.org>
670
70f9f479
MK
671 * configure.in: Check for td_pcb in `struct thread'.
672 * configure, config.in: Regenerated.
673
2e16d79e
MK
674 * dpx2-nat.c: Remove file.
675 * Makefile.in (ALLDEPFILES): Remove dpx2-nat.c.
676 (dpx2-nat.o): Remove dependencies.
677
492cf391
MK
678 * amd64obsd-nat.c: Include "gdbcore.h", "regcache.h",
679 <sys/types.h>, <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
680 (amd64obsd_supply_pcb): New function.
681 (_initialize_amd64obsd_nat): Enable libkvm interface.
682 * Makefile.in (amd64obsd-nat.o): Update dependencies.
683 * config/i386/obsd64.mh (NATDEPFILES): Add bsd-kvm.o
684 (LOADLIBES): New variable.
685
a770d4ec
MK
686 * sparcnbsd-nat.c: Include "gdbcore.h", "regcache.h",
687 <sys/types.h>, <machine/pcb.h> and "bsd-kvm.h".
688 (sparc32nbsd_supply_pcb): New function.
689 (_initialize_sparcnbsd_nat): Enable libkvm interface.
690 * Makefile.in (sparcnbsd-nat.o): Update dependencies.
691 * config/sparc/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
692 (LOADLIBES): New variable.
693
9ea75c57
MK
6942004-05-22 Mark Kettenis <kettenis@gnu.org>
695
2e0c3539
MK
696 * bsd-kvm.c, bsd-kvm.h: New files.
697 * i386fbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
698 "bsd-kvm.h".
699 (i386fbsd_supply_pcb): New function.
700 * Makefile.in (ALLDEPFILES): Add bsd-kvm.c.
701 (i386fbsd-nat.o): Update dependencies.
702 (bsd_kvm_h): New variable.
703 (bsd-kvm.o): New dependency.
704 * config/i386/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
705 (LOADLIBES): New variable.
706
9ea75c57
MK
707 * regset.c: Tweak comment.
708 (regset_alloc): Remove descr argument. Use GDBARCH_OBSTACK_ZALLOC
709 macro.
710 * regset.h: Update copyright year.
711 (struct regset): Remove `descr' member, add `gdbarch' member.
712 (regset_alloc): Adjust prototype and comment.
713 * i386-tdep.c (i386_supply_gregset): Get TDEP from REGSET->arch.
714 (i386_supply_fpregset): Likewise.
715 (i386_regset_from_core_section): Update call to regset_alloc.
716 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get TDEP from
717 REGSET->arch.
718 (i386obsd_aout_regset_from_core_section): Update call to
719 regset_alloc.
720 * i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Get TDEP from
721 REGSET->arch.
722 (i386nbsd_aout_regset_from_core_section): Update call to
723 regset_alloc.
724 * amd64-tdep.c (amd64_supply_fpregset): Get TDEP from
725 REGSET->arch.
726 (amd64_regset_from_core_section): Update call to regset_alloc.
727 * amd64obsd-tdep.c (amd64obsd_supply_regset): Get TDEP from
728 REGSET->arch.
729 (amd64obsd_regset_from_core_section): Update call to regset_alloc.
730 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Directly pass
731 &sparc32nbsd_gregset in sparc32_supply_gregset call.
732 (sparc32nbsd_init_abi): Update call to regset_alloc.
733 * sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Directly pass
734 &sparc64obsd_core_gregset in sparc64_supply_gregset call.
735 (sparc64obsd_init_abi): Update call to regset_alloc.
736 * sparc64nbsd-tdep.c (sparc64nbsd_supply_gregset): Directly pass
737 &sparc64nbsd_gregset in sparc64_supply_gregset call.
738 (sparc64nbsd_init_abi): Update call to regset_alloc.
739 * sparc64fbsd-tdep.c (sparc64fbsd_supply_gregset): Directly pass
740 &sparc64fbsd_gregset in sparc64_supply_gregset call.
741 (sparc64fbsd_init_abi): Update call to regset_alloc.
742
867e2dc5
JB
7432004-05-22 Jim Blandy <jimb@redhat.com>
744
745 * ppc-tdep.h (spe_register_p): New declaration.
746 (struct gdbarch_tdep): New members: ppc_acc_regnum and
747 ppc_spefscr_regnum.
748 * rs6000-tdep.c (spe_register_p): New function.
749 (rs6000_dwarf2_stab_reg_to_regnum): Recognize numbers for acc and
750 spefscr.
751 (rs6000_gdbarch_init): Initialize the new members of the tdep
752 structure.
753
617a4cba
JB
7542004-05-21 Jim Blandy <jimb@redhat.com>
755
0397dee1
JB
756 * ppc-linux-nat.c (fetch_register): Move code back to be next
757 to the comment that describes it. (Moved code, instead of
758 comment, for symmetry with store_register.)
759
617a4cba
JB
760 Allocate regset structures in the gdbarch's obstack, not using
761 xmalloc.
762 * regset.c (regset_alloc): Renamed from regset_xmalloc.
763 Add 'arch' argument. Allocate the regset on arch's obstack, not
764 using xmalloc.
765 * regset.h (regset_alloc): Update declaration.
766 * am64-tdep.c (amd64_regset_from_core_section): Update call; pass
767 gdbarch argument.
768 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
769 * i386-tdep.c (i386_regset_from_core_section): Same.
770 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
771 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
772 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
773 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
774 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
775 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
776
9aa3914d
JB
7772004-05-21 Joel Brobecker <brobecker@gnat.com>
778
779 * config/djgpp/fnchange.lst: Undo previous change, was useless.
780
99c87dab
JB
7812004-05-21 Jim Blandy <jimb@redhat.com>
782
783 * dwarf2expr.c (execute_stack_op): Add 'break' statements after
784 cases for DW_OP_div and DW_OP_shr. (Thanks to Reva Cuthbertson.)
785
c2b6b4aa
JB
7862004-05-20 Jim Blandy <jimb@redhat.com>
787
788 * rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes.
789
144529d0
MK
7902004-05-20 Mark Kettenis <kettenis@gnu.org>
791
792 * regset.h: Make prototype const-correct.
793 * regset.c (regset_xmalloc): Make const-correct.
794
4725b721
PH
7952004-05-20 Paul N. Hilfinger <hilfinger@gnat.com>
796
797 * symtab.h (SYMBOL_SEARCH_NAME): New definition.
798 (SYMBOL_MATCHES_SEARCH_NAME): New definition.
799 (symbol_search_name): Declare.
800
801 * dictionary.c (iter_name_first_hashed): Match on SYMBOL_SEARCH_NAME.
802 (iter_name_next_hashed): Ditto.
803 (iter_name_next_linear): Ditto.
804 (insert_symbol_hashed): Hash on SYMBOL_SEARCH_NAME.
805
806 * symtab.c (lookup_partial_symbol): Assume symbols ordered by
807 search name, using SYMBOL_SEARCH_NAME and SYMBOL_MATCHES_SEARCH_NAME.
808 (symbol_search_name): New function.
809
810 * symfile.c (compare_psymbols): Order by SYMBOL_SEARCH_NAME.
811
812 * minsyms.c (build_minimal_symbol_hash_tables): Change
813 test for adding to demangled hash table to check for difference
814 between SYMBOL_SEARCH_NAME and SYMBOL_LINKAGE_NAME.
815
be07a590
JB
8162004-05-19 Jim Blandy <jimb@redhat.com>
817
818 Use a constructor function to create regset structures.
819 * regset.h (supply_regset_ftype, collect_regset_ftype): New typedefs.
820 (struct regset): Use supply_regset_ftype. Add new
821 'collect_regset' member.
822 (regset_xmalloc): New declaration.
823 * regset.c: New file.
824 * am64-tdep.c (amd64_regset_from_core_section): Use
825 regset_xmalloc to construct regset structures.
826 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
827 * i386-tdep.c (i386_regset_from_core_section): Same.
828 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
829 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
830 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
831 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
832 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
833 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
834 * Makefile.in (COMMON_OBS): Add regset.o.
835 (regset.o): New rule.
836
604368f5
JB
8372004-05-19 Joel Brobecker <brobecker@gnat.com>
838
839 * config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.exp
840 and pthread_cond_wait.c.
841
82d69f8b
JB
8422004-05-18 Jim Blandy <jimb@redhat.com>
843
844 * rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep fields
845 before the mach-specific switch, and then let the individual cases
846 override the defaults, rather than leaving them uninitialized
847 until the switch and then setting them in each case.
848
5859efe5
RC
8492004-05-18 Randolph Chung <tausq@debian.org>
850
851 * hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for
852 millicode functions.
853
9ca80cf8
RC
8542004-05-18 Randolph Chung <tausq@debian.org>
855
856 * somsolib.c (som_solib_remove_inferior_hook): Make all the size
857 references to dld_flags_buffer consistent.
858
ed70ba00
RC
8592004-05-18 Randolph Chung <tausq@debian.org>
860
861 * hppa-tdep.c (hppa_frame_cache): If a frame pointer is available, use
862 it for unwinding the stack.
863
63100632
RC
8642004-05-18 Randolph Chung <tausq@debian.org>
865
866 * config/pa/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE)
867 Undefine these so we can overide them using gdbarch.
868
090ccbb7
RC
8692004-05-18 Randolph Chung <tausq@debian.org>
870
871 * hppa-tdep.c (hppa_stub_frame_unwind_cache): Don't do export stub
872 handling for 64-bit HPUX (elf).
873
594706e6
DJ
8742004-05-18 Daniel Jacobowitz <dan@debian.org>
875
876 * alpha-tdep.c (alpha_gdbarch_init): Use LL suffix for large
877 constants.
878 * amd64-tdep.c (amd64_skip_prologue): Likewise.
879 * ia64-tdep.c (examine_prologue): Likewise.
880 * ns32k-tdep.c (ns32k_fix_call_dummy): Remove unused function.
881 * v850-tdep.c (v850_fix_call_dummy): Likewise.
882
e5483145
MK
8832004-05-18 Mark Kettenis <kettenis@gnu.org>
884
885 * vax-tdep.c (vax_return_value): Implement
886 RETURN_VALUE_ABI_RETURNS_ADDRESS.
887
caed1a45
MK
8882004-05-17 Mark Kettenis <kettenis@gnu.org>
889
890 * vax-tdep.c (vax_return_value): Fix typo.
891
3c0b7db2
AC
8922004-05-17 Andrew Cagney <cagney@redhat.com>
893
5aae53e5
AC
894 * MAINTAINERS: Mark Salter was also responsible for
895 testsuite/config/
896
3c0b7db2
AC
897 * NEWS: Mention signal fixes.
898
22b0923d
RC
8992004-05-17 Randolph Chung <tausq@debian.org>
900
901 * hppa-tdep.c (hppa_stub_frame_unwind_cache): For HPUX stub unwinding,
902 check to see if we are unwinding an export stub. Export stubs clobber
903 the %rp in the call path and stores the original rp in a stack slot.
904
22f2b2f3
JB
9052004-05-17 Jim Blandy <jimb@redhat.com>
906
907 * MAINTAINERS: Update address for J.T. Conklin.
908
cea96d64
RC
9092004-05-17 Randolph Chung <tausq@debian.org>
910
911 * hppa-tdep.c: Remove superfluous #include's.
912 * Makefile.in (hppa-tdep.o): Update dependencies.
913
f08f6a4a
RC
9142004-05-17 Randolph Chung <tausq@debian.org>
915
916 * hppa-tdep.c (THREAD_INITIAL_FRAME_SYMBOL): Delete unused symbol.
917 (THREAD_INITIAL_FRAME_SYM_LEN): Likewise.
918 (unwind_command, hppa_alignof, prologue_inst_adjust_sp)
919 (is_branch, inst_saves_gr, inst_saves_fr, compare_unwind_entries)
920 (read_unwind_info, internalize_unwinds, record_text_segment_lowaddr):
921 Remove static function declarations.
922
51da707a
MK
9232004-05-17 Mark Kettenis <kettenis@gnu.org>
924
caed1a45
MK
925 * alphabsd-nat.c: Update copyright year.
926 (getregs_supplies): Replace PC_REGNUM with ALPHA_PC_REGNUM.
927
c0c2b0db
MK
928 * m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUM
929 and M68K_A2_REGNUM.
930
51da707a
MK
931 * m68k-tdep.c (m68k_svr4_return_value): Implement
932 RETURN_VALUE_ABI_RETURNS_ADDRESS.
933
8d027a04
MK
9342004-05-16 Mark Kettenis <kettenis@gnu.org>
935
936 * sol-thread.c Update copyright year. Fix various coding
937 standards violations. Tweak a few comments.
938 (td_err_string, td_state_string, thread_to_lwp, lwp_to_thread):
939 Delete prototypes.
940
0d99fdb9
RC
9412004-05-15 Randolph Chung <tausq@debian.org>
942
943 * hppa-tdep.h (hppa_frame_prev_register_helper): Pass save_regs
944 as pointer instead of array reference since HPUX compiler does
945 not accept unsized array arguments.
946 * somsolib.c (dld_flags_buffer): Use constant array size.
947
f7e3843a
MK
9482004-05-15 Mark Kettenis <kettenis@gnu.org>
949
0fe85704
MK
950 * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Replace hexadecimal
951 offset with decimal offset.
952 (amd64obsd_sigcontext_addr): Return correct address for entire
953 signal trampoline.
954
a54f9a00
MK
955 * vax-tdep.c (vax_frame_num_args): Use get_frame_base_address
956 instead of get_frame_base.
957
feae6502
MK
958 * i386bsd-nat.c (supply_gregset): Use regcache_raw_supply.
959 (fill_gregset): Use regcache_raw_collect.
960
0382d099
MK
961 * config/djgpp/fnchange.lst: Add entries for ppcobsd-nat.c and
962 ppcobsd-tdep.c.
963
f7e3843a
MK
964 * config/sparc/tm-nbsd64.h: Remove file.
965 * config/tm-sunos.h: Remove file.
966
773df3e5
JB
9672004-05-15 Joel Brobecker <brobecker@gnat.com>
968
969 * rs6000-tdep.c (store_param_on_stack_p): New function,
970 an improved version of some code extracted from skip_prologue().
971 (skip_prologue): Use store_param_on_stack_p() to detect
972 instructions saving a parameter on the stack. Detect when r0
973 is used to save a parameter.
974 Do not mark "li rx, SIMM" instructions as part of the prologue,
975 unless the following instruction is also part of the prologue.
976
95918acb
AC
9772004-05-14 Andrew Cagney <cagney@redhat.com>
978
06f32659
AC
979 * infrun.c (handle_inferior_event): Simplify
980 STEP_OVER_UNDEBUGGABLE.
981
95918acb
AC
982 * infrun.c (handle_step_into_function): Delete function.
983 (handle_inferior_event): Inline calls to
984 handle_step_into_function.
985
42203e46
JG
9862004-05-14 Jerome Guitton <guitton@rome.act-europe.fr>
987
988 * rs6000-nat.c: Fix a comment.
989
02f60eae
JB
9902004-05-12 David Anderson <davea@sgi.com>
991
992 Committed by Jim Blandy <jimb@redhat.com>:
993 * regcache.c (struct regcache_descr): fix comment spelling.
994
552e377b
JB
9952004-05-13 J. Brobecker <brobecker@gnat.com>
996
997 * aix-thread.c: s/ppc_floating_point_p/ppc_floating_point_unit_p/.
998 Fixes a link link failure.
999
349766b2
JB
10002004-05-13 J. Brobecker <brobecker@gnat.com>
1001
1002 * aix-thread.c (store_regs_kernel_thread): Fix a little obvious
1003 error that was causing the build to fail.
1004
0d4d5484
JB
10052004-05-13 J. Brobecker <brobecker@gnat.com>
1006
1007 * aix-thread.c: #include "gdb_string.h". Needed for memset and memcopy.
1008 * Makefile.in (aix-thread.o): Add dependency on gdb_string.h.
1009
0b30808c
AC
10102004-05-13 Andrew Cagney <cagney@redhat.com>
1011
1012 * infrun.c (handle_inferior_event): Check for
1013 STEP_OVER_UNDEBUGGABLE after signal trampolines and function
1014 calls. Update comments.
1015
cdf2c5f5
JB
10162004-05-13 Jim Blandy <jimb@redhat.com>
1017
063715bf
JB
1018 * aix-thread.c (pdc_read_regs, supply_gprs64, supply_fprs)
1019 (fetch_regs_user_thread, fetch_regs_kernel_thread)
1020 (store_regs_user_thread, store_regs_kernel_thread): Use
1021 ppc_num_gprs and ppc_num_fprs instead of '32' and '31'.
1022 * ppc-linux-nat.c (fill_gregset): Same.
1023 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
1024 (ppc_linux_sigtramp_cache): Same.
1025 * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg)
1026 (ppcnbsd_sigtramp_cache_init): Same.
1027 * rs6000-nat.c (fetch_core_registers): Same.
1028 * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset)
1029 (rs6000_frame_cache): Same.
1030
cdf2c5f5
JB
1031 * aix-thread.c (supply_gprs64, fetch_regs_user_thread)
1032 (store_regs_user_thread): Use tdep->ppc_gp0_regnum, instead
1033 of assuming that the gprs are numbered starting with zero.
1034 * ppc-linux-nat.c (fill_gregset): Same.
1035 * ppc-linux-tdep.c (ppc_linux_supply_gregset): Same.
1036 * ppcnbsd-nat.c (getregs_supplies): Same.
1037 * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg): Same.
1038 * rs6000-nat.c (fetch_core_registers): Same.
1039 * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset): Same.
1040
450bd37b
MS
10412004-05-07 Michael Snyder <msnyder@redhat.com>
1042
1043 * tracepoint.c (scope_info): Add handling for LOC_COMPUTED,
1044 LOC_COMPUTED_ARG, and LOC_INDIRECT.
1045
4a72a2a6
AC
10462004-05-13 Andrew Cagney <cagney@redhat.com>
1047
1048 * infrun.c (handle_inferior_event): Use frame_unwind_id.
1049
8edfa926
BM
10502004-05-13 Bryce McKinlay <mckinlay@redhat.com>
1051
1052 * dwarf2loc.c (find_location_expression): Use ANOFFSET to adjust
1053 base_address for shared libraries.
1054
723e0e3d
BM
10552004-05-13 Bryce McKinlay <mckinlay@redhat.com>
1056
1057 * MAINTAINERS (write after approval): Add myself.
1058
00d4360e
UW
10592004-05-13 Ulrich Weigand <uweigand@de.ibm.com>
1060
1061 * breakpoint.c (bpstat_stop_status): Add new argument
1062 STOPPED_BY_WATCHPOINT. Use it instead of testing
1063 target_stopped_data_address agaist 0 to check whether
1064 or not we stopped due to a hardware watchpoint.
1065 * breakpoint.h (bpstat_stop_status): Adapt prototype.
1066 * infrun.c (handle_inferior_event): Call bpstat_stop_status
1067 with new argument.
1068
ec76baa5
JB
10692004-05-12 Jim Blandy <jimb@redhat.com>
1070
1071 * configure.in: When checking whether we should use the -bbigtoc
1072 option, don't forget to restore the original value of LDFLAGS.
1073 * configure: Regenerated.
1074
f2c9ca08
AC
10752004-05-12 Andrew Cagney <cagney@redhat.com>
1076
1077 * thread.c (load_infrun_state): Delete step_sp.
1078 * infrun.c (context_switch): Ditto.
1079 * inferior.h (step_sp): Ditto.
1080 * infcmd.c (step_sp, step_1, step_once, until_next_command): Ditto.
1081 * gdbthread.h (struct thread_info, save_infrun_state)
1082 (restore_infrun_state): Ditto.
1083
090ddb2a
UW
10842004-05-12 Ulrich Weigand <uweigand@de.ibm.com>
1085
1086 * MAINTAINERS (write after approval): Add myself.
1087
8aad930b
AC
10882004-05-12 Andrew Cagney <cagney@redhat.com>
1089
1090 * infrun.c (adjust_pc_after_break): Rewrite decr logic,
1091 eliminate reference to step_sp.
1092 (struct execution_control_state, init_execution_control_state)
1093 (handle_inferior_event, keep_going): Delete update_step_sp and
1094 step_sp.
1095 * infcmd.c (step_sp): Note that variable is unused.
1096
922d5ae0
AC
10972004-05-11 Andrew Cagney <cagney@redhat.com>
1098
1099 * infrun.c (step_over_function): Delete function.
1100 (handle_step_into_function): Use insert_step_resume_breakpoint.
1101 (insert_step_resume_breakpoint): Fix assertion.
1102
017c5ca5
NR
11032004-05-11 Nick Roberts <nickrob@gnu.org>
1104
1105 * utils.c (defaulted_query): Just use the normal query input type
1106 when printing the annotations.
1107
42edda50
AC
11082004-05-11 Andrew Cagney <cagney@redhat.com>
1109
1110 * infrun.c (handle_inferior_event): Simplify code handling
1111 step-into or return-from a signal trampoline.
1112
d28b44a7
AC
11132004-05-11 Andrew Cagney <cagney@redhat.com>
1114
1115 * ppcnbsd-tdep.c: Include "gdb_assert.h".
1116 * Makefile.in (ppcnbsd-tdep.o): Update dependencies.
1117
383f0f5b
JB
11182004-05-10 Jim Blandy <jimb@redhat.com>
1119
d0b57c3a
JB
1120 * ppc-bdm.c (bdm_ppc_fetch_registers): Replace utterly broken code
1121 with a call to internal_error.
1122
383f0f5b
JB
1123 * ppc-tdep.h (struct gdbarch_tdep): Change definition of
1124 ppc_fp0_regnum and ppc_fpscr_regnum: if they are -1, then this
1125 processor variant lacks those registers.
1126 (ppc_floating_point_unit_p): Change description to make it clear
1127 that this returns info about the ISA, not the ABI.
1128 * rs6000-tdep.c (ppc_floating_point_unit_p): Decide whether to
1129 return true or false by checking tdep->ppc_fp0_regnum and
1130 tdep->ppc_fpscr_regnum. The original code replicated the BFD
1131 arch/mach switching done in rs6000_gdbarch_init; it's better to
1132 keep that logic there, and just check the results here.
1133 (rs6000_gdbarch_init): On the E500, set tdep->ppc_fp0_regnum and
1134 tdep->ppc_fpscr_regnum to -1 to indicate that we have no
1135 floating-point registers.
1136 (ppc_supply_fpregset, ppc_collect_fpregset)
1137 (rs6000_push_dummy_call, rs6000_extract_return_value)
1138 (rs6000_store_return_value): Assert that we have floating-point
1139 registers.
1140 (rs6000_dwarf2_stab_reg_to_regnum): Add FIXME.
1141 (rs6000_frame_cache): Don't note the locations at which
1142 floating-point registers were saved if we have no fprs.
1143 * aix-thread.c (supply_fprs, fill_fprs): Assert that we have FP
1144 registers.
1145 (fetch_regs_user_thread, fetch_regs_kernel_thread)
1146 (store_regs_user_thread, store_regs_kernel_thread): Only call
1147 supply_fprs / fill_fprs if we actually have floating-point
1148 registers.
1149 (special_register_p): Check ppc_fpscr_regnum before matching
1150 against it.
1151 (supply_sprs64, supply_sprs32, fill_sprs64, fill_sprs32): Don't
1152 supply / collect fpscr if we don't have it.
1153 * ppc-bdm.c: #include "gdb_assert.h".
1154 (bdm_ppc_fetch_registers, bdm_ppc_store_registers): Assert that we
1155 have floating-point registers, since I can't test this code on
1156 FP-free systems to adapt it.
1157 * ppc-linux-nat.c (ppc_register_u_addr): Don't match against the
1158 fpscr and floating point register numbers if they don't exist.
1159 (fetch_register): Assert that we have floating-point registers
1160 before we reach the code that handles them.
1161 (store_register): Same. And use tdep instead of calling
1162 gdbarch_tdep again.
1163 (fill_fpregset): Don't try to collect FP registers and fpscr if we
1164 don't have them.
1165 (ppc_linux_sigtramp_cache): Don't record the saved locations of
1166 fprs and fpscr if we don't have them.
1167 (ppc_linux_supply_fpregset): Don't supply fp regs and fpscr if we
1168 don't have them.
1169 * ppcnbsd-nat.c: #include "gdb_assert.h".
1170 (getfpregs_supplies): Assert that we have floating-point registers.
1171 * ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg): Same.
1172 * ppcobsd-tdep.c: #include "gdb_assert.h".
1173 (ppcobsd_supply_gregset, ppcobsd_collect_gregset): Assert that we
1174 have floating-point registers.
1175 * rs6000-nat.c (regmap): Don't match against the fpscr and
1176 floating point register numbers if they don't exist.
1177 (fetch_inferior_registers, store_inferior_registers,
1178 fetch_core_registers): Only fetch / store / supply the
1179 floating-point registers and the fpscr if we have them.
1180 * Makefile.in (ppc-bdm.o, ppc-linux-nat.o, ppcnbsd-nat.o)
1181 (ppcobsd-tdep.o): Update dependencies.
1182
15960608
AC
11832004-05-10 Andrew Cagney <cagney@redhat.com>
1184
1185 * infrun.c (through_sigtramp_breakpoint): Delete variable.
1186 (context_switch): Do not switch through_sigtramp_breakpoint.
1187 * gdbthread.h (save_infrun_state, load_infrun_state)
1188 (struct thread_info): Delete through_sigtramp_breakpoint parameter
1189 and structure member.
1190 * thread.c (load_infrun_state, save_infrun_state): Update.
1191
5ab5aa0f
MK
11922004-05-10 Mark Kettenis <kettenis@gnu.org>
1193
1194 * m68kbsd-tdep.c (m68kbsd_elf_init_abi): Call m68k_svr4_init_abi.
1195
da78b0e7
DJ
11962004-05-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1197
1198 * acinclude.m4: Quote macro names being defined by AC_DEFUN
1199 throughout.
1200 * aclocal.m4: Regenerate.
1201
cca0d3b0
NW
12022004-05-10 Nathan J. Williams <nathanw@wasabisystems.com>
1203
1204 * alphanbsd-tdep.c: Fix include of "gdb_string.h".
1205
d303a6c7
AC
12062004-05-10 Andrew Cagney <cagney@redhat.com>
1207
1208 * infrun.c (check_sigtramp2): Delete function.
1209 (handle_inferior_event): When single stepping, and taking a
1210 signal, set a breakpoint at the signal return address. Delete
1211 redundant calls to check_sigtramp2.
1212 (insert_step_resume_breakpoint): New function.
1213 (through_sigtramp_breakpoint, handle_inferior_event)
1214 (follow_exec, wait_for_inferior, fetch_inferior_event)
1215 (currently_stepping, keep_going): Delete most uses of
1216 through_sigtramp_breakpoint, not that it should be deleted.
1217 (delete_breakpoint_current_contents): Delete function.
1218
03f4cc20
RC
12192004-05-10 Randolph Chung <tausq@debian.org>
1220
1221 * config/pa/linux.mt (TM_FILE): Use new tm-linux.h for hppa-linux
1222 target.
1223 * config/pa/tm-linux.h: New file.
1224
37fc812e
DJ
12252004-05-10 Daniel Jacobowitz <drow@mvista.com>
1226
1227 * cli/cli-setshow.c (cmd_show_list): Check for "show" in the middle
1228 of prefixes. Don't print the prefix twice in the CLI.
1229
26c0b942
JB
12302004-05-10 Jim Blandy <jimb@redhat.com>
1231
2e56e9c1
JB
1232 * rs6000-tdep.c (ppc_collect_gregset): When regnum == -1, do
1233 collect all the gprs.
1234
26c0b942
JB
1235 * rs6000-tdep.c (ppc_collect_gregset): Correct off-by-one error in
1236 loop collecting gprs.
1237
dc497459
AC
12382004-05-09 Andrew Cagney <cagney@redhat.com>
1239
1240 * remote-vx.c (net_step): Delete step-range code.
1241 * remote.c (remote_resume, init_all_packet_configs)
1242 (set_remote_protocol_E_packet_cmd)
1243 (show_remote_protocol_E_packet_cmd)
1244 (remote_protocol_E, show_remote_cmd, _initialize_remote)
1245 (remote_protocol_e, set_remote_protocol_e_packet_cmd)
1246 (show_remote_protocol_e_packet_cmd): Ditto.
1247
0543f387
MK
12482004-05-09 Mark Kettenis <kettenis@gnu.org>
1249
c481d1ca
MK
1250 * hppa-tdep.h (enum hppa_regnum): Name enum, add HPPA_R1_REGNUM.
1251
f626a069
MK
1252 * hppa-tdep.h: Update copyright year.
1253 (struct trad_frame_saved_reg): Add opaque declaration.
1254
6fa57a7d
MK
1255 * amd64-tdep.c (amd64_return_value): Implement
1256 RETURN_VALUE_ABI_RETURNS_ADDRESS.
1257
e47577ab
MK
1258 * m68k-tdep.c (m68k_convert_register_p, m68k_register_to_value)
1259 (m68k_value_to_register): New functions.
1260 (m68k_gdbarch_init): Set convert_register_p, register_to_value and
1261 value_to_register.
1262
31db7b6c
MK
1263 * defs.h (enum return_value_convention): Add
1264 RETURN_VALUE_ABI_RETURNS_ADDRESS and
1265 RETURN_VALUE_ABI_PRESERVES_ADDRESS.
1266 * infcmd.c (legacy_return_value): New function.
1267 (print_return_value): Rwerite to implement
1268 RETURN_VALUE_ABI_RETURNS_ADDRESS.
1269 * values.c (using_struct_return): Check for inequality to
1270 RETURN_VALUE_REGISTER_CONVENTION instead of equality to
1271 RETURN_VALUE_STRUCT_CONVENTION.
1272 * i386-tdep.c (i386_return_value): Implement
1273 RETURN_VALUE_ABI_RETURNS_ADDRESS.
1274
0543f387
MK
1275 * vax-tdep.c: Tweak comments. Reorder include files. Don't
1276 include "symtab.h", "opcode/vax.h" and "inferior.h".
1277 (vax_skip_prologue): Replace calls to read_memory_integer by calls
1278 to read_memory_unsigned_integer.
1279 (vax_gdbarch_init): Reorder.
1280 (_initialize_vax_tdep): Spell out prototype.
1281 * Makefile.in (vax-tdep.o): Update dependencies.
1282
0c93b7b6
AC
12832004-05-08 Andrew Cagney <cagney@redhat.com>
1284
e6b55ae2
AC
1285 * infrun.c (resume): Delete call to DO_DEFERRED_STORES.
1286 * target.c (target_detach, target_disconnect): Ditto.
1287
1ac839b8
AC
1288 * infcall.c (call_function_by_hand): When no
1289 DEPRECATED_SAVE_DUMMY_FRAME_TOS call generic_save_dummy_frame_tos.
1290 * rs6000-tdep.c (rs6000_gdbarch_init): Do not set
1291 DEPRECATED_SAVE_DUMMY_FRAME_TOS.
1292 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1293 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1294
28954179
AC
1295 * gdbarch.sh (DEPRECATED_FIX_CALL_DUMMY): Delete.
1296 * gdbarch.h, gdbarch.c: Re-generate.
1297 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set
1298 deprecated_fix_call_dummy.
1299 * v850-tdep.c (v850_gdbarch_init): Ditto.
1300 * infcall.c (call_function_by_hand): Do not call
1301 DEPRECATED_FIX_CALL_DUMMY.
1302
434b87dd
AC
1303 * gdbarch.sh (DEPRECATED_CALL_DUMMY_WORDS)
1304 (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Delete.
1305 * gdbarch.h, gdbarch.c: Re-generate.
1306 * arm-linux-tdep.c (arm_linux_call_dummy_words)
1307 (arm_linux_init_abi): Do not set deprecated_call_dummy_words or
1308 deprecated_sizeof_call_dummy_words.
1309 * arm-tdep.c (arm_call_dummy_words, arm_gdbarch_init): Ditto.
1310 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
1311 * v850-tdep.c (v850_gdbarch_init): Ditto.
1312 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
1313 * ns32k-tdep.c (ns32k_call_dummy_words, ns32k_gdbarch_init): Ditto.
1314 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1315 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1316 * arch-utils.h (legacy_call_dummy_words)
1317 (legacy_sizeof_call_dummy_words): Delete declarations.
1318 * arch-utils.c (legacy_call_dummy_words)
1319 (legacy_sizeof_call_dummy_words): Delete variables.
1320
58d28df8
AC
1321 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Delete.
1322 * gdbarch.h, gdbarch.c: Re-generate.
1323 * inferior.h (PUSH_DUMMY_FRAME): Delete macro.
1324 * infcall.c (call_function_by_hand): Eliminate call to
1325 DEPRECATED_PUSH_DUMMY_FRAME.
1326 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated
1327 push_dummy_frame.
1328 (ns32k_push_dummy_frame): Delete function.
1329
e4a2df64
AC
1330 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set
1331 deprecated_call_dummy_breakpoint_offset or
1332 deprecated_call_dummy_start_offset.
1333 * dummy-frame.c, arm-tdep.c: Update comments.
1334 * gdbarch.sh (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET)
1335 (DEPRECATED_CALL_DUMMY_START_OFFSET): Delete.
1336 * gdbarch.h, gdbarch.c: Re-generate.
1337
d3712828
AC
1338 * infcall.c (legacy_push_dummy_code): Delete function.
1339 (push_dummy_code): Delete call.
1340
7a882905
AC
1341 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete.
1342 * gdbarch.h, gdbarch.c: Re-generate.
1343 * blockframe.c (legacy_frame_chain_valid): Simplify by eliminating
1344 DEPRECATED_USE_GENERIC_DUMMY_FRAMES.
1345 * infcall.c (legacy_push_dummy_code, call_function_by_hand): Ditto.
1346 * frame.c (frame_type_from_pc, legacy_get_prev_frame): Ditto.
1347
0ec5872b
AC
1348 * breakpoint.h (deprecated_frame_in_dummy): Delete declaration.
1349 (struct frame_info): Delete opaque declaration.
1350 * breakpoint.c (deprecated_frame_in_dummy): Delete function.
1351 * frame.c (get_frame_type): Delete call.
1352
0c93b7b6
AC
1353 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated
1354 pc_in_call_dummy.
1355 * inferior.h (deprecated_pc_in_call_dummy_on_stack): Delete.
1356 * blockframe.c (deprecated_pc_in_call_dummy_on_stack): Delete.
1357
75536971
MK
13582004-05-08 Mark Kettenis <kettenis@gnu.org>
1359
527ca6bb
MK
1360 * alphanbsd-tdep.c: Include "gdb_string.h".
1361 * armnbsd-tdep.c: Update copyright year.
1362 Include "gdb_string.h".
1363 * Makefile.in (alphanbsd-tdep.o, armnbsd-tdep.o): Update
1364 dependencies.
1365
d39fdc61
MK
1366 * delta68-nat.c: Remove file.
1367 * m68k-tdep.c (delta68_in_sigtramp, delta68_frame_args_address)
1368 (delta68_frame_saved_pc, delta68_frame_num_args): Remove functions.
1369 * Makefile.in (ALLDEPFILES): Remove delta68-nat.c.
1370 (delta68-nat.o): Remove dependency.
1371
75536971
MK
1372 * m68k-tdep.c (m68k_frameless_function_invocation): Remove
1373 function.
1374 (m68k_gdbarch_init): Don't set
1375 deprecated_frameless_function_invocation.
1376
f4ca1d1f
RC
13772004-05-07 Randolph Chung <tausq@debian.org>
1378
1379 * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Use
1380 read_memory_nobpt for code reading when doing frame unwinding.
1381 * hppa-linux-tdep.c (insns_match_pattern): Likewise.
1382
2f0e8c7a
RC
13832004-05-07 Randolph Chung <tausq@debian.org>
1384
1385 * hppa-linux-tdep.c (hppa_linux_sigtramp_find_sigcontext): Pass in pc
1386 instead of sp, handle sigaltstack case.
1387 (hppa_linux_sigtramp_frame_unwind_cache): Adjust calls to
1388 hppa_linux_sigtramp_find_sigcontext, and set base to the frame of the
1389 signal handler and not that of the caller.
1390 (hppa_linux_sigtramp_unwind_sniffer): Adjust calls to
1391 hppa_linux_sigtramp_find_sigcontext.
1392
959464ff
RC
13932004-05-07 Randolph Chung <tausq@debian.org>
1394
1395 * Makefile.in (ALLDEPFILES): Add hppa-linux-tdep.c and
1396 hppa-linux-nat.c.
1397 (hppa-linux-tdep.o, hppa-linux-nat.o): Define rules.
1398 * hppa-linux-nat.c (fetch_register, store_register): Define.
1399 (fetch_inferior_registers, store_inferior_registers): Define.
1400 (supply_gregset): Add comment and clean up some unneeded code.
1401 (fill_gregset): Add comment and fix so that it saves registers in
1402 the right place in the gregset.
1403 (fill_fpregset): Fix buffer overrun problem.
1404 * config/pa/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
1405
0da28f8a
RC
14062004-05-07 Randolph Chung <tausq@debian.org>
1407
1408 * hppa-tdep.c (hppa_frame_prev_register_helper): New function to
1409 do common handling of the pcoqt register.
1410 (hppa_frame_prev_register, hppa_stub_frame_prev_register): Convert
1411 to use helper function.
1412 (hppa_frame_unwind_sniffer): Only use if unwind entry is present.
1413 (hppa_fallback_frame_cache, hppa_fallback_frame_this_id)
1414 (hppa_fallback_frame_prev_register, hppa_fallback_frame_unwind): New
1415 generic fallback unwinder when all else fails.
1416 (hppa_gdbarch_init): Add fallback sniffer.
1417 * hppa-tdep.h (hppa_frame_prev_register_helper): Prototype.
1418 * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register): Convert
1419 to use helper function.
1420
b9ec757a
JB
14212004-05-08 Joel Brobecker <brobecker@gnat.com>
1422
1423 * config/djgpp/fnchange.lst: Add translation rules for
1424 gdb.arch/powerpc-aix-prologue.c and gdb.arch/powerpc-aix-prologue.exp.
1425
756e95f1
MK
14262004-05-08 Mark Kettenis <kettenis@gnu.org>
1427
1428 * frame.c (get_prev_frame_1): Work around GCC bug.
1429 * frame.h: Add comment about GCC bug.
1430
2b4855ab
AC
14312004-05-07 Andrew Cagney <cagney@redhat.com>
1432
1433 * observer.c: Include "commands.h" and "gdbcmd.h".
1434 (observer_debug, _initialize_observer): Add the
1435 command "set/show debug observer".
1436 * observer.sh: When observer debugging, log notify calls.
1437 * Makefile.in (observer.o): Update dependencies.
1438
ba3e8e46
JM
14392004-05-07 Jason Molenda (jmolenda@apple.com)
1440
1441 * cli/cli-decode.c: Fix "SHOW_DOR" comment typeos.
1442
16796152
JB
14432004-05-07 Jim Blandy <jimb@redhat.com>
1444
daf6dc85
JB
1445 * aix-thread.c (fetch_regs_kernel_thread, fill_gprs64,
1446 fill_gprs32, store_regs_kernel_thread): Use tdep->ppc_gp0_regnum
1447 to recognize gpr regnums, instead of assuming that
1448 tdep->ppc_fp0_regnum marks the end of the general-purpose
1449 registers.
1450
16796152
JB
1451 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Assert that
1452 the given architecture has floating-point registers.
1453
c69b8bfc
AC
14542004-05-07 Andrew Cagney <cagney@redhat.com>
1455
1456 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Replace with
1457 macro defined to 1.
1458 * gdbarch.h, gdbarch.c: Re-generate.
1459 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set
1460 deprecated_use_generic_dummy_frames.
1461
7243600a
BF
14622004-05-07 Brian Ford <ford@vss.fsi.com>
1463
1464 * NEWS: Mention Cygwin DWARF 2 support.
1465
73c1e0a1
AC
14662004-05-07 Andrew Cagney <cagney@redhat.com>
1467
1468 * objfiles.h (struct entry_info): Delete unused fields
1469 deprecated_entry_file_lowpc and deprecated_entry_file_highpc.
1470 * objfiles.c (init_entry_point_info, objfile_relocate): Update.
1471 * mipsread.c (mipscoff_symfile_read): Update.
1472 * mdebugread.c (parse_partial_symbols): Update.
1473 * dwarfread.c (read_file_scope): Update.
1474 * dwarf2read.c (read_file_scope): Update.
1475 * dbxread.c (read_dbx_symtab, read_dbx_symtab): Update.
1476 * coffread.c (complete_symtab): Update.
1477
1d3056ac
MK
14782004-05-07 Mark Kettenis <kettenis@gnu.org>
1479
1480 * infcall.c (_initialize_infcall): Fix typo.
1481
15170568
AC
14822004-05-07 Andrew Cagney <cagney@redhat.com>
1483
1484 * cli/cli-decode.c (add_setshow_zinteger_cmd): New function.
1485 * command.h (add_setshow_zinteger_cmd): Declare.
1486
34f75cc1
RC
14872004-05-06 Randolph Chung <tausq@debian.org>
1488
1489 * config/pa/tm-hppa.h (RO_REGNUM, FLAGS_REGNUM, RP_REGNUM)
1490 (HPPA_FP_REGNUM, HPPA_SP_REGNUM, SAR_REGNUM, IPSW_REGNUM)
1491 (PCOQ_HEAD_REGNUM, PCSQ_HEAD_REGNUM, PCOQ_TAIL_REGNUM, PCSQ_TAIL_REGNUM)
1492 (EIEM_REGNUM, IIR_REGNUM, ISR_REGNUM, IOR_REGNUM, SR4_REGNUM)
1493 (RCR_REGNUM, PID0_REGNUM, PID1_REGNUM, PID2_REGNUM, PID3_REGNUM)
1494 (CCR_REGNUM, TR0_REGNUM, CR27_REGNUM, HPPA_FP0_REGNUM, FP4_REGNUM)
1495 (ARG0_REGNUM, ARG1_REGNUM, ARG2_REGNUM, ARG3_REGNUM): Move *_REGNUM
1496 definitions ...
1497 * hppa-tdep.h: ... to here, with HPPA_ prefix.
1498 * Makefile.in (hppah-nat.o): Add $(hppa_tdep_h)
1499 * hppa-hpux-tdep.c (hppa32_hpux_frame_find_saved_regs_in_sig)
1500 (hppa64_hpux_frame_find_saved_regs_in_sig)
1501 (child_get_current_exception_event): Add HPPA_ prefix to *_REGNUM usage.
1502 * hppa-linux-nat.c (GR_REGNUM, TR_REGNUM, greg_map): Likewise.
1503 * hppa-linux-tdep.c (hppa_dwarf_reg_to_regnum)
1504 (hppa_linux_target_write_pc, hppa_linux_sigtramp_frame_unwind_cache)
1505 (hppa_linux_sigtramp_frame_prev_register): Likewise.
1506 * hppa-tdep.c (hppa32_return_value, hppa64_return_value)
1507 (hppa32_push_dummy_call, hppa64_push_dummy_call, hppa64_frame_align)
1508 (hppa_target_read_pc, hppa_target_write_pc, hppa_frame_cache)
1509 (hppa_frame_prev_register, hppa_stub_frame_unwind_cache)
1510 (hppa_stub_frame_prev_register, hppa_unwind_dummy_id)
1511 (hppa_skip_permanent_breakpoint, hppa_instruction_nullified)
1512 (hppa32_register_type, hppa_cannot_store_register)
1513 (hppa_fetch_pointer_argument, hppa_pseudo_register_read): Likewise.
1514 * hppah-nat.c (store_inferior_registers, fetch_register): Likewise.
1515 * hpread.c (hpread_process_one_debug_symbol): Likewise.
1516 * pa64solib.c (pa64_solib_have_load_event)
1517 (pa64_solib_have_unload_event, pa64_solib_loaded_library_pathname)
1518 (pa64_solib_unloaded_library_pathname): Likewise.
1519 * somsolib.c (som_solib_have_load_event, som_solib_have_unload_event)
1520 (som_solib_library_pathname): Likewise.
1521
0a5e7efe
JI
15222004-05-05 Jim Ingham <jingham@apple.com>
1523
1524 * breakpoint.c (create_breakpoints): Copy the ignore count and
1525 thread id over from the pended breakpoint to the actual
1526 breakpoint.
1527
10a4b113
AC
15282004-05-05 Andrew Cagney <cagney@redhat.com>
1529
1530 * gdbarch.sh (PARM_BOUNDARY): Delete.
1531 gdbarch.h, gdbarch.c: Re-generate.
1532 * valops.c (PARM_BOUNDARY): Delete macro.
1533 (value_push): Delete PARM_BOUNDARY code.
1534 * m68k-tdep.c (m68k_gdbarch_init): Do not set parm_boundary.
1535
366f009f
JB
15362004-05-04 Jim Blandy <jimb@redhat.com>
1537
32b99774
JB
1538 * ppc-linux-nat.c (fetch_ppc_registers, store_ppc_registers):
1539 Don't assume that the gprs, fprs, and UISA sprs are
1540 contiguous, start at register number zero, and end with fpscr.
1541 Instead, use the numbers from the tdep structure.
1542
366f009f
JB
1543 * config/rs6000/tm-rs6000.h (FP0_REGNUM): Document that this
1544 should no longer be used in code specific to the RS6000 and its
1545 derivatives.
1546 * ppc-tdep.h (struct gdbarch_tdep): Add 'ppc_fp0_regnum' member.
1547 * rs6000-tdep.c (rs6000_gdbarch_init): Initialize
1548 tdep->ppc_fp0_regnum.
1549 (ppc_supply_fpregset, ppc_collect_fpregset)
1550 (rs6000_push_dummy_call, rs6000_extract_return_value)
1551 (rs6000_dwarf2_stab_reg_to_regnum, rs6000_store_return_value)
1552 (rs6000_frame_cache): Use tdep->ppc_fp0_regnum instead of
1553 FP0_REGNUM.
1554 * aix-thread.c (supply_fprs, fetch_regs_kernel_thread)
1555 (fill_gprs64, fill_gprs32, fill_fprs, store_regs_kernel_thread):
1556 Same.
1557 * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_fetch_registers,
1558 bdm_ppc_store_registers): Same.
1559 * ppc-linux-nat.c (ppc_register_u_addr, fetch_register)
1560 (store_register, fill_fpregset): Same.
1561 * ppc-linux-tdep.c (ppc_linux_sigtramp_cache)
1562 (ppc_linux_supply_fpregset): Same.
1563 * ppcnbsd-nat.c (getfpregs_supplies): Same.
1564 * ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg):
1565 Same.
1566 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call,
1567 do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call,
1568 ppc64_sysv_abi_return_value): Same.
1569 * rs6000-nat.c (regmap, fetch_inferior_registers)
1570 (store_inferior_registers, fetch_core_registers): Same.
1571
827f338d
MK
15722004-05-01 Mark Kettenis <kettenis@gnu.org>
1573
1574 * m68knbsd-nat.c: Remove file.
1575 * m68knbsd-tdep.c: Remove file.
1576 * Makefile.in: (m68knbsd-nat.o, m68knbsd-tdep.o): Remove
1577 dependencies.
1578 * configure.host: Add m68k-*-netbsdelf*.
1579 * configure.tgt (m68k-*-netbsd*): Set gdb_target to nbsd.
1580 * config/m68k/nbsdaout.mh (NATDEPFILES): Add m68kbsd-nat.o,
1581 solib.o and solib-sunos.o. Remove m68knbsd-nat.o, corelow.o.
1582 (XM_FILE): Remove.
1583 * config/m68k/nbsdelf.mh: New file.
1584 * config/m68k/nbsd.mt: New file.
1585 * config/m68k/nbsdaout.mt: Remove file.
1586 * config/m68k/tm-nbsd.h: Don't include <sys/param.h>,
1587 <machine/vmparam.h> and "m68k/tm-m68k.h". Include "solib.h".
1588 (BPT_VECTOR, STACK_END_ADDR): Remove defines.
1589 (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Likewise.
1590 (use_struct_convention): Remove prototype.
1591 (USE_STRUCT_CONVENTION): Remove define.
1592 * config/m68k/xm-nbsd.h: Remove file.
1593
66894781
MS
15942004-05-04 Michael Snyder <msnyder@redhat.com>
1595
1596 * m68k-tdep.c (m68k_gdbarch_init): Default to using
1597 reg_struct_return method (as gcc usually does for cross targets).
1598
f0f63663
AC
15992004-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1600
1601 Committed by Andrew Cagney.
1602 * s390-tdep.c (s390_sigtramp_frame_unwind_cache): Account for
1603 alignment padding when accessing ucontext struct members.
1604
edf61169
JB
16052004-05-04 Jim Blandy <jimb@redhat.com>
1606
8bf659e8
JB
1607 * config/ppc-tdep.h (struct gdbarch_tdep): Delete
1608 'ppc_gplast_regnum' member.
1609 (ppc_num_gprs): New enum constant.
1610 * ppc-linux-nat.c (ppc_register_u_addr): Use tdep->ppc_gp0_regnum
1611 and ppc_num_gprs instead of tdep->ppc_gplast_regnum.
1612 * rs6000-nat.c (regmap, fetch_inferior_registers,
1613 store_inferior_registers): Same.
1614 * rs6000-tdep.c (e500_pseudo_register_read)
1615 (e500_pseudo_register_write): Same.
1616 (rs6000_gdbarch_init): Don't initialize tdep->ppc_gplast_regnum.
1617
b967e06f
JB
1618 * config/rs6000/tm-rs6000.h (FPLAST_REGNUM): Delete #definition.
1619 * ppc-tdep.h (ppc_num_fprs): New enum constant.
1620 * aix-thread.c (fetch_regs_kernel_thread, fill_fprs,
1621 store_regs_kernel_thread): Use FP0_REGNUM + ppc_num_fprs, not
1622 FPLAST_REGNUM.
1623 * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
1624 Same.
1625 * ppc-linux-nat.c (ppc_register_u_addr): Same.
1626 * rs6000-nat.c (regmap, fetch_inferior_registers)
1627 (store_inferior_registers): Same.
1628
edf61169
JB
1629 * aix-thread.c (fill_fprs): Fix off-by-one error comparing regno
1630 with FPLAST_REGNUM.
1631
58a9656e
JB
16322004-05-03 Joel Brobecker <brobecker@gnat.com>
1633
1634 * dwarf2read.c (dwarf2_create_include_psymtab): Fix build
1635 failure detected by recent versions of GCC.
1636 (psymtab_to_symtab_1): No longer use the PST_PRIVATE macro
1637 to be consistent with the usage in dwarf2_create_include_psymtab.
1638
dc305454
MS
16392004-05-03 Michael Snyder <msnyder@redhat.com>
1640
1641 * mips-tdep.c (mips_gdbarch_init): Fix typo in comment.
1642 (heuristic_proc_start): Whitespace cleanup.
1643
29972665
MK
16442004-05-04 Mark Kettenis <kettenis@gnu.org>
1645
6b57680d
MK
1646 * sun3-nat.c: Remove file.
1647 * Makefile.in (tm-sun3.h tm-altos.h tm-sun2.h tm-3b1.h): Remove
1648 dependencies.
1649 (ALLDEPFILES): Remove sun3-nat.c.
1650 (sun3-nat.o): Remove dependencies.
1651
29972665
MK
1652 * i386-interix-nat.c, i386-interix-tdep.c,
1653 config/i386/nm-interix.h, config/i386/interix.mh,
1654 config/i386/interix.mt: Remove files.
1655 * Makefile.in (i386-interix-nat.o, i386-interix-tdep.o): Remove
1656 dependencies.
1657
f595cb19
MK
16582004-05-03 Mark Kettenis <kettenis@gnu.org>
1659
1660 * m68k-tdep.h (struct gdbarch_tdep): Add member
1661 struct_value_regnum.
1662 (m68k_svr4_init_abi): New prototype.
1663 * m68k-tdep.c: Include "floatformat.h". Add comment about all the
1664 different calling conventions.
1665 (m68k_extract_return_value): Remove code dealing with single-field
1666 structs.
1667 (m68k_store_return_value): Remove code dealing with single-field
1668 structs. Correctly store return values of 5, 6, 7 or 8 bytes.
1669 (m68k_extract_struct_value_address): Remove function.
1670 (m68k_svr4_extract_return_value,m68k_svr4_store_return_value)
1671 (m68k_reg_struct_return_p, m68k_return_value)
1672 (m68k_svr4_return_value): New functions.
1673 (m68k_use_struct_convention): Remove function.
1674 (m68k_push_dummy_call): Use new struct_value_regnum member of
1675 `struct gdbarch_tdep' instead of hardcoded register number to
1676 store STRUCT_ADDR.
1677 (m68k_svr4_init_abi): New function.
1678 (m68k_gdbarch_init): Don't set extract_return_value,
1679 store_return_values, deprecated_extract_struct_value_address and
1680 use_struct_convention. Set return_value instead. Initialize new
1681 struct_value_regnum member of `struct gdbarch_tdep'.
1682 * m68klinux-tdep.c: Update copyright year.
1683 (m68k_linux_extract_return_value, m68k_linux_store_return_value)
1684 (m68k_linux_extract_struct_value_address): Remove function.
1685 (m68k_linux_init_abi): Don't set extract_return_value,
1686 store_return_values, deprecated_extract_struct_value_address and
1687 use_struct_convention. Call m68k_svr4_init_abi but override the
1688 new struct_value_regnum member of `struct gdbarch_tdep'.
1689 * Makefile.in (m68k-tdep.o): Update dependencies.
1690
aaa75496
JB
16912004-05-03 J. Brobecker <brobecker@gnat.com>
1692
1693 * dwarf2read.c (line_header): Add new included_p field in
1694 field file_names.
1695 (partial_die_info): New field has_stmt_list. New field line_offset.
1696 (dwarf2_create_include_psymtab): New function.
1697 (dwarf2_build_include_psymtabs): New function.
1698 (add_file_name): Add forward declaration. Initialize new field.
1699 (dwarf_decode_lines): Add new parameter. Enhance this procedure
1700 to be able to determine the list of files included by the
1701 given unit, and build their associated psymtabs.
1702 (dwarf2_build_psymtabs_hard): Build the psymtabs for the included
1703 files as well.
1704 (psymtab_to_symtab_1): Build the symtabs of all dependencies as well.
1705 (read_file_scope): Update call to dwarf_decode_lines.
1706 (read_partial_die): Handle DW_AT_stmt_list attributes.
1707
c848556f
MC
17082004-05-02 Michael Chastain <mec.gnu@mindspring.com>
1709
1710 Unfix PR gdb/1626.
1711 * configure.in: Revert special case for osf5.*.
1712 * configure: Regenerate.
1713
eb4556d7
JB
17142004-05-02 Jim Blandy <jimb@redhat.com>
1715
1716 Move the symbol-file-from-memory functions into their own file.
1717 * symfile-mem.c, symfile-mem.h: New files.
1718 * symfile.c (symbol_file_add_from_bfd): New function.
1719 (symbol_file_add): Call symbol_file_add_from_bfd.
1720 (symbol_file_add_from_memory, add_symbol_file_from_memory_command):
1721 Moved to symfile-mem.c.
1722 (_initialize_symfile): Move definition of
1723 add-symbol-file-from-memory command to symfile-mem.c.
1724 * symfile.h (symbol_file_add_from_bfd): New declaration.
1725 * config/i386/linux.mt (TDEPFILES): Add symfile-mem.o.
1726 * config/powerpc/linux.mt (TDEPFILES): Same.
1727 * Makefile.in (SFILES): Add symfile-mem.c.
1728 (symfile_mem_h): New variable.
1729 (HFILES_NO_SRCDIR): Add symfile-mem.h.
1730 (symfile-mem.o): New rule.
1731
80bb239e
AC
17322004-05-01 Andrew Cagney <cagney@redhat.com>
1733
7789d0fa
AC
1734 * breakpoint.c (insert_bp_location): Use get_frame_id, and
1735 frame_find_by_id instead of frame_relative_level.
1736 (do_enable_breakpoint): Ditto.
1737 * thread.c: Update copyright.
1738 (info_threads_command): Ditto, simplify.
1739
80bb239e
AC
1740 * frame.c (deprecated_generic_get_saved_register): Delete
1741 function, moved to "xstormy16-tdep.c".
1742 * xstormy16-tdep.c (xstormy16_get_saved_register): Inline
1743 deprecated_generic_get_saved_register from "frame.c".
1744 (xstormy16_frame_saved_register): Call
1745 xstormy16_get_saved_register.
1746 * dummy-frame.c (deprecated_find_dummy_frame_regcache): Make
1747 static.
1748 * dummy-frame.h (deprecated_find_dummy_frame_regcache): Delete.
1749 * frame.h (deprecated_generic_get_saved_register): Delete.
1750
b2a871dd
MC
17512004-05-01 Michael Chastain <mec.gnu@mindspring.com>
1752
1753 * dwarfread.c: Update documentation on the state of dwarf-1.
1754
0e100dab
AC
17552004-05-01 Andrew Cagney <cagney@redhat.com>
1756
acd8056e
AC
1757 * stack.c (select_frame_command): Delete call to
1758 frame_relative_level.
1759 (print_frame, set_backtrace_limit_command, backtrace_limit_info):
1760 Delete #if0 code.
1761 (frame_info): Do not print FRAMELESS.
1762 (print_block_frame_labels): Replace DEPRECATED_STREQ.
1763 (catch_info): Delete #if0 code.
1764
0e100dab
AC
1765 * frame.c (create_sentinel_frame): Set type to SENTINEL_FRAME.
1766 * dummy-frame.c (dummy_frame_this_id): Use get_frame_type, instead
1767 of frame_relative_level.
1768 * sentinel-frame.c (sentinel_frame_unwinder): Set unwinder's type
1769 to SENTINEL_FRAME.
1770 * frame.h (enum frame_type): Add SENTINEL_FRAME.
1771 * s390-tdep.c (s390_prologue_frame_unwind_cache): Delete calls to
1772 frame_relative_level.
1773
55699d59
AC
1774 * frame.h (deprecated_set_frame_type): Delete declaration.
1775 * frame.c (deprecated_set_frame_type): Delete function, update
1776 comments.
1777
fcf70625
AC
1778 * gdbarch.sh (DEPRECATED_PC_IN_SIGTRAMP): Delete.
1779 * gdbarch.h, gdbarch.c: Re-generate.
1780 * shnbsd-tdep.c (shnbsd_init_abi): Do not set pc_in_sigtramp.
1781 (shnbsd_pc_in_sigtramp): Delete.
1782 * i386-interix-tdep.c (i386_interix_init_abi): Do not set
1783 pc_in_sigtramp.
1784 * hppa-hpux-tdep.c (hppa_hpux_init_abi): Do not set
1785 pc_in_sigtramp.
1786 * frame.h: Update comments.
1787 * ppc-linux-tdep.c: Update comments.
1788 * breakpoint.c (bpstat_what): Update comments.
1789
ac5eccb7
AC
1790 * Makefile.in (m68klinux-tdep.o, m68klinux-nat.o): Fix
1791 m68klinux-tdep.o's dependencies, were previously added to
1792 m68klinux-nat.o.
1793
f2524b93
AC
1794 * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Use pc_in_sigtramp.
1795 * alpha-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp.
1796 * alphafbsd-tdep.c (alphafbsd_init_abi): Update.
1797 * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update.
1798 * alpha-linux-tdep.c (alpha_linux_init_abi): Update.
1799
17e20bce
AC
1800 * Makefile.in (m68klinux-nat.o): Update dependencies.
1801 * m68klinux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
1802 (m68k_linux_sigtramp_frame_cache)
1803 (m68k_linux_sigtramp_frame_this_id)
1804 (m68k_linux_sigtramp_frame_prev_register)
1805 (m68k_linux_sigtramp_frame_unwind)
1806 (m68k_linux_sigtramp_frame_sniffer)
1807 (struct m68k_linux_sigtramp_info, m68k_linux_init_abi): Code from
1808 m68k-tdep.h and m68k-tdep.c, add "linux" to function and variable
1809 names, use trad-frame.h.
1810 * m68k-tdep.h (struct gdbarch_tdep): Delete get_sigtramp_info.
1811 (struct m68k_sigtramp_info): Delete.
1812 * m68k-tdep.c (m68k_sigtramp_frame_cache)
1813 (m68k_sigtramp_frame_this_id, m68k_sigtramp_frame_prev_register)
1814 (m68k_sigtramp_frame_unwind, m68k_sigtramp_frame_sniffer)
1815 (m68k_gdbarch_init): Delete all the sigtramp code, moved to
1816 "m68klinux-tdep.c".
1817
c8864fa2
AC
1818 * infrun.c (check_sigtramp2): Delete check for
1819 DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN.
1820
511dd2cd
MK
18212004-05-01 Mark Kettenis <kettenis@gnu.org>
1822
1823 * m68k-tdep.h (m68kbsd_fpreg_offset): New prototype.
1824
8c6b0e06
AC
18252004-05-01 Andrew Cagney <cagney@redhat.com>
1826
9df0bb3f
AC
1827 * frv-linux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
1828 (frv_linux_sigtramp_frame_cache)
1829 (frv_linux_sigtramp_frame_this_id)
1830 (frv_linux_sigtramp_frame_prev_register)
1831 (frv_linux_sigtramp_frame_unwind)
1832 (frv_linux_sigtramp_frame_sniffer): Copied from frv-tdep.c,
1833 include "linux" in function and variable names, directly call
1834 frv_linux_pc_in_sigtramp and frv_linux_sigcontext_reg_addr, use
1835 the latest trad-frame code.
1836 (frv_linux_init_abi): Append frv_linux_sigtramp_frame_sniffer, do
1837 not set frv_sigcontext_reg_addr or deprecated_pc_in_sigtramp
1838 * Makefile.in (frv-linux-tdep.o): Update dependencies.
1839 * frv-tdep.h (frv_set_sigcontext_reg_addr): Delete declaration.
1840 * frv-tdep.c (frv_sigtramp_frame_cache)
1841 (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
1842 (frv_sigtramp_frame_unwind, frv_sigtramp_frame_sniffer): Moved to
1843 frv-linux-tdep.c.
1844 (frv_gdbarch_init): Do not append a sigtramp sniffer.
1845 (struct gdbarch_tdep): Delete sigcontext_reg_addr.
1846 (frv_set_sigcontext_reg_addr): Delete function.
1847
8c6b0e06
AC
1848 * gdbarch.sh (DEPRECATED_SIGTRAMP_START)
1849 (DEPRECATED_SIGTRAMP_END): Delete.
1850 * gdbarch.h, gdbarch.c: Re-generate.
1851 * arch-utils.c (legacy_pc_in_sigtramp): Simplify.
1852 * config/vax/tm-vaxbsd.h: Update copyright.
1853 (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
1854 (DEPRECATED_IN_SIGTRAMP): Define.
1855 * config/m68k/tm-nbsd.h: Update copyright.
1856 (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
1857 (DEPRECATED_IN_SIGTRAMP): Define.
1858
50ea7769
MK
18592004-05-01 Mark Kettenis <kettenis@gnu.org>
1860
03ac2a74
MK
1861 * dwarf2-frame.c (read_encoded_value): Handle DW_EH_PE_funcrel
1862 encondings. Fixes PR gdb/1628.
1863
50ea7769
MK
1864 * dwarf2-frame.c (execute_cfa_program): Complain if we encounter a
1865 DW_CFA_restore state without a matching DW_CFA_remember_state
1866 instead of aborting. Fixes PR backtrace/1589.
1867
9a5d7be1
JB
18682004-04-30 Joel Brobecker <brobecker@gnat.com>
1869
1870 * MAINTAINERS: Add self as AIX maintainer.
1871 Update my e-mail address in write-after-approval section.
1872
2593d1cd
AC
18732004-04-30 Andrew Cagney <cagney@redhat.com>
1874
ce12bbf9
AC
1875 * frame.c (frame_type_from_pc): Delete call to PC_IN_SIGTRAMP.
1876 (legacy_get_prev_frame): Ditto.
1877
36710c63
AC
1878 * mips-tdep.c (mips_pc_in_sigtramp): Delete.
1879 (mips_gdbarch_init): Do not set pc_in_sigtramp.
1880 * mipsread.c (sigtramp_address): Delete extern variable.
1881 (mipscoff_new_init): Delete reference.
1882 * mdebugread.c (sigtramp_address, sigtramp_end): Delete variables.
1883 (fixup_sigtramp): Delete function.
1884 * config/mips/tm-mips.h (sigtramp_address, sigtramp_end)
1885 (fixup_sigtramp): Delete declarations.
1886
2593d1cd
AC
1887 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set
1888 deprecated_pc_in_sigtramp.
1889 (ppcnbsd_pc_in_sigtramp): Delete function.
1890
2a25f91c
MK
18912004-05-01 Mark Kettenis <kettenis@gnu.org>
1892
1893 * config/m68k/nm-nbsd.h: Tweak comments.
1894 * config/m68k/nm-nbsdaout.h: Likewise.
1895
0b281939
AC
18962004-04-30 Andrew Cagney <cagney@redhat.com>
1897
1898 * arm-tdep.c (arm_sigtramp_unwind_sniffer): Call
1899 legacy_pc_in_sigtramp.
1900 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto.
1901
8f2d3ea0
MK
19022004-05-01 Mark Kettenis <kettenis@gnu.org>
1903
1904 Add OpenBSD/m68k support.
1905 * NEWS (New native configurations): Mention OpenBSD/m68k.
1906 * m68kbsd-tdep.c: New file.
1907 * m68kbsd-nat.c: New file.
1908 * Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c.
1909 (m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies.
1910 * configure.host: Add m68k-*-openbsd.
1911 * configure.tgt: Add m68k-*-openbsd.
1912 * config/m68k/tm-obsd.h: New file.
1913 * config/m68k/obsd.mt: New file.
1914 * config/m68k/obsd.mh: New file.
1915 * config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and
1916 m68kbsd-tdep.c.
1917
c40f49a4
AC
19182004-04-30 Andrew Cagney <cagney@redhat.com>
1919
1920 * mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function.
1921 (mipsnbsd_init_abi): Do not set pc_in_sigtramp.
1922
e81554cd
MK
19232004-04-30 Mark Kettenis <kettenis@gnu.org>
1924
1925 * m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.
1926 * config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define.
1927
d4dc1a91
BF
19282004-04-30 Brian Ford <ford@vss.fsi.com>
1929
1930 Revert 2004-04-16 change.
1931 * i386-tdep.c (i386_gdbarch_init): Fix comment typos.
1932 (i386_coff_init_abi): Remove.
1933 * i386-tdep.h (i386_coff_init_abi): Remove.
1934 * i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above.
1935
2f72f850
AC
19362004-04-30 Andrew Cagney <cagney@redhat.com>
1937
e492f9d6
AC
1938 * blockframe.c (find_pc_partial_function): Delete use of
1939 DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and
1940 DEPRECATED_SIGTRAMP_END.
1941
7b7adad0
AC
1942 * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete.
1943 * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete.
1944 * config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP.
1945 * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete.
1946 * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete.
1947
2f72f850
AC
1948 * defs.h (deprecated_inside_entry_file): Delete declaration.
1949 * blockframe.c (deprecated_inside_entry_file): Delete function.
1950 (legacy_frame_chain_valid): Delete call.
1951 * sh64-tdep.c (sh64_frame_chain): Delete call.
1952 * objfiles.h: Update comments.
1953 * i386-interix-tdep.c (i386_interix_frame_chain_valid): Delete
1954 call.
1955 * frame.c (get_prev_frame): Delete call, update comments.
1956
283f90a7
BF
19572004-04-30 Brian Ford <ford@vss.fsi.com>
1958
1959 * MAINTAINERS (Write After Approval): Add myself.
1960
8ee56bcf
AC
19612004-04-30 Andrew Cagney <cagney@redhat.com>
1962
1963 * gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete.
1964 * gdbarch.h, gdbarch.c: Re-generate.
1965 * stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE
1966 code.
1967
ee27e1b6
AC
19682004-04-30 Andrew Cagney <cagney@redhat.com>
1969
1970 * gdb-events.sh (selected_thread_changed)
1971 (selected_frame_level_changed, target_changed): Delete.
1972 * gdb-events.h, gdb-events.c: Re-generate.
1973 * valops.c (value_assign): Update.
1974 * stack.c (select_frame_command, up_silently_base)
1975 (down_silently_base): Update.
1976
d5ac5a39
AC
19772004-04-29 Andrew Cagney <cagney@redhat.com>
1978
1979 * mips-tdep.c (mips_register_type): Re-write, handle 32-bit ABI
1980 registers correctly.
1981 (print_gp_register_row, mips32_heuristic_proc_desc)
1982 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call)
1983 (mips_o64_push_dummy_call, mips_eabi_push_dummy_call): Eliminate
1984 references to mips_isa_regsize.
1985
ceae6e75
AC
19862004-04-29 Andrew Cagney <cagney@redhat.com>
1987
1988 * mips-tdep.c (struct gdbarch_tdep): Delete
1989 mips_fp_register_double.
1990 (FP_REGISTER_DOUBLE): Delete macro, replace with test for
1991 mips_abi_regsize.
1992 (mips_gdbarch_init): Do not set mips_fp_register_double.
1993 (mips_dump_tdep): Do not print FP_REGISTER_DOUBLE.
1994
a587af0b
AC
19952004-04-29 Joel Brobecker <brobecker@gnat.com>
1996
1997 Committed by Andrew Cagney.
1998 * infrun.c (handle_inferior_event): Rely on frame IDs to detect
1999 function calls.
2000
13326b4e
AC
20012004-04-29 Andrew Cagney <cagney@redhat.com>
2002
2003 * mips-tdep.c (mips_abi_regsize): Replace tdep parameter with
2004 gdbarch, use mips_abi, update callers.
2005 (mips_stack_argsize): Replace tdep parameter with gdbarch, use
2006 mips_abi_regsize, update callers.
2007 (struct gdbarch_tdep): Delete mips_default_stack_argsize and
2008 mips_default_abi_regsize.
2009 (mips_gdbarch_init): Do not set mips_default_stack_argsize and
2010 mips_default_abi_regsize.
2011
711cc5cd
AC
20122004-04-29 Andrew Cagney <cagney@redhat.com>
2013
1b13c4f6
AC
2014 * mips-tdep.c (mips_abi_regsize): Rename mips_saved_regsize.
2015 (mips_abi_regsize_string): Rename mips_saved_regsize_string.
2016 (struct gdbarch_tdep): Rename mips_default_saved_regsize to
2017 mips_default_abi_regsize.
2018 (mips_isa_regsize): Rename mips_regisze.
2019 * mipsnbsd-tdep.c: Update.
2020 * mips-linux-tdep.c: Update.
2021 * irix5-nat.c: Update.
2022 * mips-tdep.h (mips_isa_regsize): Update.
2023
711cc5cd
AC
2024 * gdb-events.sh (WITH_GDB_EVENTS): Delete macro and references.
2025 Delete all disabled code.
2026 * gdb-events.h, gdb-events.c: Re-generate.
2027
e63bbc88
MK
20282004-04-19 Jerome Guitton <guitton@gnat.com>
2029 Mark Kettenis <kettenis@gnu.org>
2030
2031 * i386-tdep.c (i386_skip_prologue): follow the last jump only if
2032 the function begins with a branch instruction.
2033
fd35795f
MK
20342004-04-29 Mark Kettenis <kettenis@gnu.org>
2035
2036 * i386-tdep.c: Fix spelling mistakes.
2037
c960c18f
AC
20382004-04-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2039 Andrew Cagney <cagney@redhat.com>
2040
2041 * configure.in (mips-sgi-irix5*): Define _KMEMUSER for
2042 <sys/proc.h>.
2043 * acconfig.h: Provide default _KMEMUSER value.
2044 * config.in, configure: Re-generate.
2045 * NEWS: Mention fix.
2046
50306a9d
RC
20472004-04-24 Randolph Chung <tausq@debian.org>
2048
2049 * configure.host (hppa*-*-linux*): New target.
2050 * configure.tgt (hppa*-*-linux*): Likewise.
2051 * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move
2052 gdbarch_init_osabi() call earlier so that osabi-specific frame
2053 unwinders can be registered first.
2054 * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and
2055 hppa-linux-nat.c.
2056 * config/pa/tm-hppa.h (ISR_REGNUM, PID0_REGNUM, PID1_REGNUM)
2057 (PID2_REGNUM, PID3_REGNUM): Add definitions of some register numbers.
2058 * config/pa/linux.mh: New file.
2059 * config/pa/linux.mt: New file.
2060 * config/pa/nm-linux.h: New file.
2061 * config/pa/xm-linux.h: New file.
2062 * hppa-linux-nat.c: New file.
2063 * hppa-linux-tdep.c: New file.
2064
2a6228ef
RC
20652004-04-28 Randolph Chung <tausq@debian.org>
2066
2067 * hppa-tdep.c (hppa32_return_value): Handle both 4- and 8-byte fp
2068 return values.
2069 (hppa32_push_dummy_call): Fix small struct and floating point argument
2070 passing, and make sure the stack frame is properly aligned.
2071
82c10df6
AC
20722004-04-28 Andrew Cagney <cagney@redhat.com>
2073
d762c46a
AC
2074 * stack.c (print_stack_frame): Fix description.
2075
82c10df6
AC
2076 * NEWS: Mention gdb/gdbserver/configure execute permission
2077 changed. PR server/519.
2078
0faf0076
AC
20792004-04-28 Andrew Cagney <cagney@redhat.com>
2080
2081 * stack.c (print_stack_frame_stub): Delete declaration.
2082 (struct print_stack_frame_args, print_stack_frame)
2083 (print_frame_info, print_frame): Replace "source" with print what.
2084 Replace "print" with "print_level". Replace "args" with
2085 "print_args".
2086 * frame.h (show_and_print_stack_frame, print_stack_frame)
2087 (print_frame_info): Update declarations.
2088 * stack.c (select_and_print_frame, frame_command)
2089 (current_frame_command, up_command, down_command): Update calls -
2090 use get_selected_frame, pass "enum print_what" for source, do not
2091 call frame_relative_level.
2092 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto.
2093 * remote-rdp.c (remote_rdp_open): Ditto.
2094 * remote-mips.c (common_open): Ditto.
2095 * remote-e7000.c (e7000_start_remote): Ditto.
2096 * ocd.c (ocd_start_remote): Ditto.
2097 * mi/mi-main.c (mi_cmd_exec_return): Ditto.
2098 * infrun.c (normal_stop): Ditto.
2099 * inflow.c (kill_command): Ditto.
2100 * infcmd.c (finish_command): Ditto.
2101 * corelow.c (core_open): Ditto.
2102 * tracepoint.c (finish_tfind_command): Ditto.
2103 * thread.c (info_threads_command, info_threads_command)
2104 (restore_current_thread, do_captured_thread_select): Ditto.
2105 * ada-tasks.c (task_command): Ditto.
2106
f4c5303c
OF
21072004-04-26 Orjan Friberg <orjanf@axis.com>
2108
2109 * frame.c: Include "observer.h".
2110 (frame_observer_target_changed): New function.
2111 (_initialize_frame): Attach target_changed observer.
2112 * regcache.c: Include "observer.h".
2113 (regcache_observer_target_changed): New function.
2114 (_initialize_regcache): Attach target_changed observer.
2115 * valops.c: Include "observer.h".
2116 (value_assign): Notify target_changed event when modifying register.
2117 * Makefile.in (frame.o, regcache.o, valops.o): Add $(observer_h).
2118
7270d8f2
OF
21192004-04-26 Orjan Friberg <orjanf@axis.com>
2120
2121 From Paul Koning <pkoning@equallogic.com>:
2122 * breakpoint.c (free_valchain): New function.
2123 (insert_bp_location, delete_breakpoint): Use free_valchain.
2124 (remove_breakpoint): Do not remove the valchain.
2125 (bpstat_stop_status): If not stopped by watchpoint, skip
2126 watchpoints when generating stop status list.
2127 * infrun.c (handle_inferior_event): Make
2128 stepped_after_stopped_by_watchpoint a global variable.
2129 * remote.c (remote_stopped_data_address): Return watch data
2130 address rather than zero if stepped_after_stopped_by_watchpoint is
2131 set.
2132
02d62932
MC
21332004-04-25 Michael Chastain <mec.gnu@mindspring.com>
2134
2135 Fix PR gdb/1626.
2136 * configure.in: Check for curses after termcap.
2137 On osf5.*, do not check for ncurses.
2138 * configure: Regenerate.
2139
3e9a183c
MK
21402004-04-25 Mark Kettenis <kettenis@gnu.org>
2141
c79ac407
MK
2142 * ppcobsd-nat.c: Include "ppc-tdep.h".
2143 * Makefile.in (ppcobsd-nat.o): Update dependencies.
2144
3e9a183c
MK
2145 * stack.c (return_command): Use CHECK_TYPEDEF on the return type.
2146 Fixes PR tdep/1623 and PR tdep/1624.
2147
38cc9c28
MC
21482004-04-24 Michael Chastain <mec.gnu@mindspring.com>
2149
2150 * xmodem.h, xmodem.c: Remove files.
2151 * Makefile.in: Remove references to xmodem.h, xmodem.c.
2152
7f07c5b6
RC
21532004-04-23 Randolph Chung <tausq@debian.org>
2154
2155 * hppa-tdep.c (hppa_stub_unwind_cache, hppa_stub_frame_unwind_cache)
2156 (hppa_stub_frame_this_id, hppa_stub_frame_prev_register)
2157 (hppa_stub_frame_unwind, hppa_stub_unwind_sniffer): New stub unwinder
2158 for handling stackless frames.
2159 (hppa_gdbarch_init): Link in hppa_stub_unwind_sniffer.
2160
9f7194c3
RC
21612004-04-23 Randolph Chung <tausq@debian.org>
2162
2163 * hppa-tdep.c (hppa_frame_cache): Handle the case when frame unwind
2164 starts at a pc before the frame is created.
2165
dcff6009
JB
21662004-04-23 Joel Brobecker <brobecker@gnat.com>
2167
2168 * ChangeLog-2002: Fix year in one of the ChangeLog entries.
2169
65951cd9
JG
21702004-04-23 Jerome Guitton <guitton@gnat.fr>
2171
2172 * rs6000-tdep.c (rs6000_extract_return_value): When extracting a float,
2173 use convert_typed_floating to get the appropriate format.
2174
abc485a1
RC
21752004-04-22 Randolph Chung <tausq@debian.org>
2176
2177 * hppa-tdep.h (find_unwind_entry, hppa_get_field, hppa_extract_5_load)
2178 (hppa_extract_5R_store, hppa_extract_5r_store, hppa_extract_17)
2179 (hppa_extract_21, hppa_extract_14, hppa_low_sign_extend)
2180 (hppa_sign_extend): Add prototype.
2181 * hppa-tdep.c (get_field, extract_5_load, extract_5R_store)
2182 (extract_5r_store, extract_17, extract_21, extract_14, low_sign_extend)
2183 (sign_extend): Rename with hppa_ prefix and make non-static. Other
2184 hppa targets will also use these functions.
2185 (find_unwind_entry): Remove prototype (moved to hppa-tdep.h).
2186 (hppa_in_solib_call_trampoline, hppa_in_solib_return_trampoline)
2187 (hppa_skip_trampoline_code): Move to hppa-hpux-tdep.c
2188 (hppa_gdbarch_init): Remove gdbarch setting of
2189 skip_trampoline_code, in_solib_call_trampoline and
2190 in_solib_return_trampoline.
2191 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline)
2192 (hppa64_hpux_in_solib_call_trampoline): New functions, split from
2193 hppa_in_solib_call_trampoline.
2194 (hppa_hpux_in_solib_return_trampoline, hppa_hpux_skip_trampoline_code):
2195 Moved from hppa-tdep.c.
2196 (hppa_hpux_init_abi): Set gdbarch for skip_trampoline_code,
2197 in_solib_call_trampoline and in_solib_return_trampoline.
2198
369aa520
RC
21992004-04-22 Randolph Chung <tausq@debian.org>
2200
2201 * hppa-tdep.c (hppa_debug): New variable.
2202 (find_unwind_entry, hppa_frame_cache): Add debug output.
2203 (_initialize_hppa_tdep): Add command to set debug flag.
2204
476be15e
AC
22052004-04-22 Andrew Cagney <cagney@redhat.com>
2206
2207 * ppcnbsd-tdep.c: Update copyright. Include "tramp-frame.h" and
2208 "trad-frame.h".
2209 (ppcnbsd_sigtramp_cache_init, ppcnbsd_sigtramp): Implement a NetBSD
2210 signal trampoline unwinder.
2211 (ppcnbsd_init_abi): Register ppcnbsd_sigtramp.
2212
d195bc9f
MK
22132004-04-22 Mark Kettenis <kettenis@gnu.org>
2214
2215 Add OpenBSD/powerpc support.
2216 * NEWS (New native configurations): Mention OpenBSD/powerpc.
2217 * ppc-tdep.h (struct ppc_reg_offsets): New structure.
2218 (ppc_supply_gregset, ppc_supply_fpregset, ppc_collect_gregset)
2219 (ppc_collect_fpregset): New prototypes.
2220 * ppcobsd-nat.c: New file.
2221 * ppcobsd-tdep.c: New file.
2222 * ppcobsd-tdep.h: New file.
2223 * rs6000-tdep.c: Include "regset.h".
2224 (ppc_supply_reg, ppc_collect_reg, ppc_supply_gregset)
2225 (ppc_supply_fpregset, ppc_collect_gregset, ppc_collect_fpregset):
2226 New functions.
2227 * Makefile.in (ALLDEPFILES): Add pccobsd-nat.c and ppcobsd-tdep.c.
2228 (ppcobsd-nat.o, ppcobsd-tdep.o): New dependencies.
2229 (rs6000-tdep.o): Update dependencies.
2230 * configure.host: Add powerpc-*-openbsd.
2231 * configure.tgt: Add powerpc-*-openbsd.
2232 * config/powerpc/obsd.mh: New file.
2233 * config/powerpc/nm-obsd.h: New file.
2234 * config/powerpc/obsd.mt: New file.
2235
6f14cc33
AC
22362004-04-22 Andrew Cagney <cagney@redhat.com>
2237
fcf29e5f
AC
2238 * frame.h (show_frame_info): Delete declaration.
2239
6f14cc33
AC
2240 * arm-tdep.c (arm_prologue_this_id): Delete redundant cycle test.
2241 * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto.
2242 * m32r-tdep.c (m32r_frame_this_id): Ditto.
2243 * frv-tdep.c (frv_frame_this_id): Ditto.
2244 * avr-tdep.c (avr_frame_this_id): Ditto.
2245
e5786a5c
EZ
22462004-04-22 Elena Zannoni <ezannoni@redhat.com>
2247
2248 * MAINTAINERS: Drop maintenance of gdb.stabs, and linespec.c.
2249
26e75e5c
JB
22502004-04-22 Jim Blandy <jimb@redhat.com>
2251
2252 * ppc-linux-nat.c (ppc_register_u_addr): Don't assume that r0 is
2253 register number zero.
2254
d8d65dd3
MS
22552004-04-21 Michael Snyder <msnyder@redhat.com>
2256
2257 * mips-tdep.c (heuristic_proc_start):
2258 Warning() already prefixes "Warning: ".
2259
9a4105ab
AC
22602004-04-21 Andrew Cagney <cagney@redhat.com>
2261
2262 * annotate.h (deprecated_annotate_starting_hook)
2263 (deprecated_annotate_stopped_hook)
2264 (deprecated_annotate_exited_hook)
2265 (deprecated_annotate_signal_hook)
2266 (deprecated_annotate_signalled_hook): Deprecate.
2267 * tracepoint.h (deprecated_create_tracepoint_hook)
2268 (deprecated_delete_tracepoint_hook)
2269 (deprecated_modify_tracepoint_hook)
2270 (deprecated_trace_find_hook)
2271 (deprecated_trace_start_stop_hook): Deprecate.
2272 * target.h (deprecated_target_new_objfile_hook): Deprecate.
2273 * remote.h (deprecated_target_resume_hook)
2274 (deprecated_target_wait_loop_hook): Deprecate.
2275 * gdbcore.h (deprecated_exec_file_display_hook)
2276 (deprecated_file_changed_hook): Deprecate.
2277 * frame.h (deprecated_selected_frame_level_changed_hook): Deprecate.
2278 * defs.h (deprecated_modify_breakpoint_hook)
2279 (deprecated_command_loop_hook, deprecated_show_load_progress)
2280 (deprecated_print_frame_info_listing_hook)
2281 (deprecated_query_hook, deprecated_warning_hook)
2282 (deprecated_flush_hook, deprecated_create_breakpoint_hook)
2283 (deprecated_delete_breakpoint_hook)
2284 (deprecated_interactive_hook, deprecated_registers_changed_hook)
2285 (deprecated_readline_begin_hook, deprecated_readline_hook)
2286 (deprecated_readline_end_hook, deprecated_register_changed_hook)
2287 (deprecated_memory_changed_hook, deprecated_init_ui_hook)
2288 (deprecated_context_hook, deprecated_target_wait_hook)
2289 (deprecated_attach_hook, deprecated_detach_hook)
2290 (deprecated_call_command_hook, deprecated_set_hook)
2291 (deprecated_error_hook, deprecated_error_begin_hook)
2292 (deprecated_ui_load_progress_hook): Deprecate.
2293 * valops.c, uw-thread.c, utils.c, tui/tui-io.c: Update.
2294 * tui/tui-hooks.c, tracepoint.c, top.c, thread-db.c: Update.
2295 * target.c, symfile.c, stack.c, sol-thread.c, rs6000-nat.c: Update.
2296 * remote.c, remote-mips.c, regcache.c, mi/mi-interp.c: Update.
2297 * main.c, interps.c, infcmd.c, hpux-thread.c, frame.c: Update.
2298 * exec.c, dsrec.c, d10v-tdep.c, corefile.c, complaints.c: Update.
2299 * cli/cli-script.c, cli/cli-setshow.c, breakpoint.c: Update.
2300 * annotate.c, aix-thread.c: Update.
2301
62cf13cc
AC
23022004-04-21 Andrew Cagney <cagney@redhat.com>
2303
b2e31a62
AC
2304 * Makefile.in (vaxnbsd-tdep.o): Update dependencies.
2305 * vaxnbsd-tdep.c: Include "gdb_string.h".
2306
62cf13cc
AC
2307 * symfile.c (symbol_file_add_from_memory): #if 0 function.
2308 (add_symbol_file_from_memory_command): #if 0 function body, call
2309 error instead.
2310
00e32a35
AC
23112004-04-21 Andrew Cagney <cagney@redhat.com>
2312
2313 * gdbcore.h: Update copyright.
2314 (deprecated_add_core_fns): Rename add_core_fns.
2315 * win32-nat.c (_initialize_core_win32): Update.
2316 * sun3-nat.c (_initialize_core_sun3): Update.
2317 * shnbsd-tdep.c (_initialize_shnbsd_tdep): Update.
2318 * rs6000-nat.c (_initialize_core_rs6000): Update.
2319 * ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Update.
2320 * nto-tdep.c (_initialize_nto_tdep): Update.
2321 * ns32knbsd-nat.c (_initialize_ns32knbsd_nat): Update.
2322 * mipsnbsd-tdep.c (_initialize_mipsnbsd_tdep): Update.
2323 * mips-nat.c (_initialize_core_mips): Update.
2324 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update.
2325 * m68knbsd-nat.c (_initialize_m68knbsd_nat): Update.
2326 * m68klinux-nat.c (_initialize_m68k_linux_nat): Update.
2327 * lynx-nat.c (_initialize_core_lynx): Update.
2328 * irix5-nat.c (_initialize_core_irix5): Update.
2329 * i386-interix-nat.c (_initialize_core_interix): Update.
2330 * cris-tdep.c (_initialize_cris_tdep): Update.
2331 * corelow.c (deprecated_add_core_fns): Update.
2332 * core-regset.c (_initialize_core_regset): Update.
2333 * core-aout.c (_initialize_core_aout): Update.
2334 * armnbsd-nat.c (_initialize_arm_netbsd_nat): Update.
2335 * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Update.
2336 * alpha-nat.c (_initialize_core_alpha): Update.
2337
13c7b1ca
JB
23382004-04-21 Jim Blandy <jimb@redhat.com>
2339
2340 * rs6000-tdep.c (registers_e500, registers_7400): Doc fixes.
2341
7b5a2f43
DJ
23422004-04-19 Daniel Jacobowitz <drow@mvista.com>
2343
2344 * dwarf2read.c (dwarf2_tmp_obstack, dwarf2_free_tmp_obstack):
2345 Delete.
2346 (dwarf_alloc_block): Take a CU argument. Use the comp_unit_obstack.
2347 (read_attribute_value): Update calls to dwarf_alloc_block.
2348 (dwarf2_build_psymtabs_hard): Don't initialize or clean up
2349 dwarf2_tmp_obstack.
2350 (psymtab_to_symtab_1): Likewise. Clean up using
2351 free_stack_comp_unit.
2352 (add_to_cu_func_list): Use the comp_unit_obstack.
2353
05cf31d1
JB
23542004-04-19 Joel Brobecker <brobecker@gnat.com>
2355
2356 * dwarf2read.c (dwarf2_flag_true_p): New function.
2357 (die_is_declaration): Use the function above. Add some comments.
2358
adf93a2f
MK
23592004-04-19 Mark Kettenis <kettenis@gnu.org>
2360
2361 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Specify
2362 architecture when registering sparcnbsd_core_osabi_sniffer.
2363 Adjust comment.
2364
748894bf
MK
23652004-04-18 Mark Kettenis <kettenis@gnu.org>
2366
f622ad42
MK
2367 * infcall.c (find_function_addr): Add FUNCTION_START_OFFSET to
2368 return value.
2369
c4fc7f1b
MK
2370 Based on a patch from Brian Ford <ford@vss.fsi.com>:
2371 * i386-tdep.c: Correct register numbering scheme comments
2372 throughout.
2373 (i386_stab_reg_to_regnum): Rename to i386_dbx_reg_to_regnum.
2374 (i386_dwarf_reg_to_regnum): Rename to i386_svr4_reg_to_regnum.
2375 (i386_coff_init_abi, i386_elf_init_abi): Accomodate renames above.
2376 (i386_gdb_arch_init): Likewise.
2377
b4ead1bd
MK
2378 * Makefile.in (ALLDEPFILES): List ppc-sysv-tdep.c, ppcnbsd-nat.c
2379 and ppcnbsd-tdep.c instead of ppc-sysv-tdep.o, ppcnbsd-nat.o and
2380 ppcnbsd-tdep.o.
2381
748894bf
MK
2382 * m68k-tdep.h: Tweak comments.
2383 * m68k-tdep.c: Tweak comment.
2384
fdd72f95
RC
23852004-04-17 Randolph Chung <tausq@debian.org>
2386
2387 * Makefile.in (hppa-hpux-tdep.o): Add $(hppa_tdep_h).
2388 * hppa-hpux-tdep.c (hppa-tdep.h): Include.
2389 (hppa_hpux_som_init_abi): Set is_elf to 0.
2390 (hppa_hpux_elf_init_abi): Set is_elf to 1.
2391 * hppa-tdep.c (low_text_segment_address): Remove global.
2392 (record_text_segment_lowaddr): Pass in low address as parameter. Use
2393 section offset to calculate segment address.
2394 (internalize_unwinds): Define low_text_segment_address as local and
2395 pass to record_text_segment_lowaddr for ELF targets.
2396 (hppa_gdbarch_init): Zero fill tdep structure.
2397 (hppa_dump_tdep): Print tdep structure.
2398 * hppa-tdep.h (gdbarch_tdep): Add is_elf member to tdep structure.
2399
0f8d9d59
RC
24002004-04-17 Randolph Chung <tausq@debian.org>
2401
2402 * hppa-tdep.c (hppa_pseudo_register_read): Define.
2403 (hppa_gdbarch_init): Set pseudo_register_read.
2404 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Remove.
2405 * regcache.c (supply_register): Remove check for
2406 DEPRECATED_CLEAN_UP_REGISTER_VALUE since we've removed the last user.
2407
7c46b9fb
RC
24082004-04-17 Randolph Chung <tausq@debian.org>
2409
2410 * Makefile.in (hpread.o, pa64solib.o, somsolib.o): Add $(hppa_tdep_h)
2411 * hppa-tdep.h (INSTRUCTION_SIZE): Move from tm-hppa.h.
2412 (hpread_adjust_stack_address): Move to hpread.c.
2413 * hppa-tdep.h (unwind_table_entry, unwind_stub_types, obj_unwind_info,
2414 obj_private_struct): Move from tm-hppa.h.
2415 * hpread.c (hppa-tdep.h): Include.
2416 (hpread_adjust_stack_address): Move from hppa-tdep.c.
2417 (hpread_read_function_type, hpread_read_doc_function_type)
2418 (hpread_process_one_debug_symbol): Call hpread_adjust_stack_address
2419 directly.
2420 * pa64solib.c (hppa-tdep.h): Include.
2421 * somsolib.c (hppa-tdep.h): Include.
2422 * config/pa/tm-hppa.h (frame_info, frame_saved_regs, value, type,
2423 inferior_status): Remove unused forward declarations.
2424 (INSTRUCTION_SIZE): Move to hppa-tdep.c.
2425 (unwind_table_entry, unwind_stub_types, obj_unwind_info,
2426 obj_private_struct): Move to hppa-tdep.h.
2427 (HPREAD_ADJUST_STACK_ADDRESS): Remove.
2428
8d153463
RC
24292004-04-17 Randolph Chung <tausq@debian.org>
2430
2431 * hppa-tdep.c (hppa_reg_struct_has_addr, hppa_skip_prologue)
2432 (hppa_skip_trampoline_code, hppa_in_solib_call_trampoline)
2433 (hppa_in_solib_return_trampoline, hppa_cannot_store_register)
2434 (hppa_smash_text_address, hppa_target_read_pc, hppa_target_write_pc):
2435 Remove forward declaration and make static.
2436 (hppa_reg_struct_has_addr): Remove.
2437
350c2e5b
JB
24382004-04-16 Joel Brobecker <brobecker@gnat.com>
2439
2440 * observer.sh: Move comments in sed command to first column.
2441
bbde78fa
JM
24422004-04-16 Jason Molenda (jmolenda@apple.com)
2443
2444 * frame.c: Minor typeo corrections in comments.
2445
e0270fd9
JB
24462004-04-16 Joel Brobecker <brobecker@gnat.com>
2447
2448 * observer.c (observer_test_first_notification_function): Update
2449 function profile.
2450 (observer_test_second_notification_function): Likewise.
2451 (observer_test_third_notification_function): Likewise.
2452
3d049254
MK
24532004-04-16 Mark Kettenis <kettenis@gnu.org>
2454
2455 From Brian Ford <ford@vss.fsi.com>:
2456 * i386-tdep.c (i386_coff_init_abi): New function.
2457 * i386-tdep.h (i386_coff_init_abi): New prototype.
2458 * i386-cygwin-tdep.c (i386_cygwin_init_abi): Call it. Use correct
2459 register number translation functions for DWARF and DWARF 2.
2460
7867684d
JB
24612004-04-16 Joel Brobecker <brobecker@gnat.com>
2462
2463 * dwarf2read.c: Back out my previous change, it was incorrect.
2464
72bf9492
DJ
24652004-04-16 Daniel Jacobowitz <drow@mvista.com>
2466
2467 * dwarf2read.c: Include "hashtab.h".
2468 (struct dwarf2_cu): Add partial_dies, comp_unit_obstack,
2469 has_namespace_info.
2470 (struct partial_die_info): Add comments. Use bitfields to reduce
2471 memory footprint. Add scope, scope_set, has_specification,
2472 spec_offset, die_parent, die_child, and die_sibling.
2473 (peek_die_abbrev): Add prototype.
2474 (partial_read_comp_unit_head): New function, broken out from
2475 dwarf2_build_psymtabs_hard.
2476 (dwarf2_build_psymtabs_hard): Remove unused variable abbrev_ptr.
2477 Use partial_read_comp_unit_head. Initialize the CU and
2478 comp_unit_obstack. Update calls to read_partial_die and
2479 scan_partial_symbols. Use free_stack_comp_unit and
2480 load_partial_dies.
2481 (scan_partial_symbols): Change PDI to a pointer. Use the child and
2482 sibling pointers to walk partial DIEs. Call fixup_partial_die.
2483 Update calls to helper functions. Remove NAMESPACE argument.
2484 Update comments.
2485 (partial_die_parent_scope, partial_die_full_name): New functions.
2486 (add_partial_symbol): Remove namespace argument. Update call to
2487 pdi_needs_namespace. Use partial_die_full_name. Handle
2488 DW_TAG_namespace. Check has_namespace_info flag.
2489 (pdi_needs_namespace): Remove NAMESPACE argument. Just check the
2490 tag. Handle namespaces.
2491 (add_partial_namespace, add_partial_enumeration): Simplify.
2492 (guess_structure_name): New function, derived from
2493 add_partial_structure.
2494 (add_partial_structure): Remove.
2495 (determine_class_name): Update comment.
2496 (dwarf2_read_abbrevs): Set has_namespace_info flag.
2497 (is_type_tag_for_partial, load_partial_dies): New functions.
2498 (read_partial_die): Pass abbrev and abbrev_len as arguments.
2499 Record specifications instead of following them immediately.
2500 (find_partial_die_in_comp_unit, find_partial_die)
2501 (fixup_partial_die, free_stack_comp_unit)
2502 (hashtab_obstack_allocate, dummy_obstack_deallocate)
2503 (partial_die_hash, partial_die_eq): New functions.
2504 * Makefile.in (hashtab_h): Define.
2505 (dwarf2read.o): Update dependencies.
2506 (observer_inc, observer_h): Move to the correct section.
2507
fdc860a3
JB
25082004-04-15 Joel Brobecker <brobecker@gnat.com>
2509
2510 * dwarf2read.c (dwarf2_attribute_true_p): New function.
2511 (die_is_declaration): Use the function above. Add comment.
2512
dc718098
JB
25132004-04-15 Joel Brobecker <brobecker@gnat.com>
2514
2515 * dwarf2read.c (read_structure_scope): Identify stub types
2516 using die_is_declaration() only.
2517
8718a420
RM
25182004-04-15 Roland McGrath <roland@redhat.com>
2519
2520 * symfile.c (symbol_file_add_with_addrs_or_offsets): Take ABFD as
2521 argument instead of NAME.
2522 (symbol_file_add, reread_separate_symbols): Call symfile_bfd_open
2523 in call to symbol_file_add_with_addrs_or_offsets.
2524 (build_addr_info): New function, helper for ...
2525 (symbol_file_add_from_memory): New function.
2526 (add_symbol_file_from_memory_command): New function using that.
2527 (_initialize_symfile): Register it for add-symbol-file-from-memory.
2528 (pre_add_symbol_hook): Add const to argument type.
2529 * symfile.h (symbol_file_add_from_memory): Declare it.
2530
8b910bab
MK
25312004-04-15 Mark Kettenis <kettenis@gnu.org>
2532
9f076e7a
MK
2533 * NEWS (New native configurations): Mention OpenBSD/vax.
2534 * configure.host: Add vax-*-openbsd*.
2535 * config/vax/obsd.mh: New file.
2536 * config/vax/nm-obsd.h: New file.
2537
8b910bab
MK
2538 * vax-tdep.c: Include "regset.h".
2539 (vax_supply_gregset): New function.
2540 (vax_gregset): New variable.
2541 (vax_regset_from_core_section): New function.
2542 (vax_gdbarch_init): Set regset_from_core_section.
2543 * Makefile.in (vax-tdep.o): Update dependencies.
2544
7a464420
AC
25452004-04-15 Andrew Cagney <cagney@redhat.com>
2546
2547 * observer.c (normal_stop_subject, observer_notify_normal_stop)
2548 (observer_normal_stop_notification_stub)
2549 (observer_attach_normal_stop, observer_detach_normal_stop):
2550 Delete, replaced by #include "observer.inc".
2551 * infrun.c (normal_stop): Pass "stop_bpstat" to
2552 observer_notify_normal_stop.
2553 * Makefile.in (observer_inc): Define.
2554 (observer.o): Update dependencies.
2555 (observer.h, observer.inc): New rules.
2556 * observer.h: Delete file.
2557 * observer.sh: New file.
2558
e36ad527
MK
25592004-04-15 Mark Kettenis <kettenis@gnu.org>
2560
2561 * vax-tdep.c (vax_frame_cache): Fix typo.
2562
67b441e1
MK
25632004-04-14 Mark Kettenis <kettenis@gnu.org>
2564
6f606e1c
MK
2565 * NEWS (New native configurations): Mention NetBSD/vax.
2566 * configure.host: Add vax-*-netbsdelf* and vax-*-netbsd*.
2567 * config/vax/nbsdelf.mh: New file.
2568 * config/vax/nbsdaout.mh: New file.
2569 * config/vax/nm-nbsd.h: New file.
2570 * config/vax/nm-nbsdaout.h: New file.
2571
9c5519a5
MK
2572 * vaxnbsd-tdep.c: New file.
2573 * Makefile.in (vaxnbsd-tdep.o): New dependency.
2574 * configure.tgt: Add vax-*-netbsd* and vax-*-openbsd*.
2575 * config/vax/nbsd.mt: New file.
2576 * config/vax/tm-nbsd.h: New file.
2577
4844a614
MK
2578 * Makefile.in (vaxbsd-nat.o): New dependency.
2579
67b441e1
MK
2580 * vax-tdep.h (vax_regnum): Add VAX_R0_REGNUM and VAX_R1_REGNUM.
2581 * vax-tdep.c (vax_store_arguments): Remove struct_return and
2582 struct_addr arguments. Don't push return value address.
2583 (vax_push_dummy_call): Don't pass STRUCT_RETURN and STRUCT_ADDR as
2584 arguments to vax_store_arguments. Store return value address in
2585 R1.
2586 (vax_store_struct_return, vax_extract_return_value)
2587 (vax_store_return_value): Remove functions.
2588 (vax_return_value): New function.
2589 (vax_gdbarch_init): Set return value. Don't set
2590 deprecated_store_struct_return, deprecated_extract_struct_return
2591 and deprecated_store_return_value.
2592
6672f2ae
AS
25932004-04-14 Andreas Schwab <schwab@suse.de>
2594
2595 * ia64-tdep.c (ia64_libunwind_frame_prev_register): Handle null
2596 value buffer.
2597 * libunwind-frame.c (libunwind_frame_prev_register): Likewise.
2598
7346c184
MK
25992004-04-14 Mark Kettenis <kettenis@gnu.org>
2600
2601 * vax-tdep.c (vax_store_arguments, vax_push_dummy_call)
2602 (vax_unwind_dummy_id): New functions.
2603 (vax_push_dummy_frame, vax_pop_frame): Remove functions.
2604 (vax_call_dummy_words, sizeof_vax_call_dummy_words): Remove
2605 variables.
2606 (vax_fix_call_dummy): Remove function.
2607 (vax_gdbarch_init): Set push_dummy_call and unwind_dummy_id.
2608 Don't set deprecated_push_dummy_frame, deprecated_pop_frame,
2609 call_dummy_location, deprecated_call_dummy_words,
2610 deprecated_sizeof_call_dummy_words,
2611 deprecated_call_dummy_breakpoint_offset,
2612 deprecated_use_generic_dummy_frames, deprecated_pc_in_call_dummy,
2613 and deprecated_dummy_write_sp.
2614
58e23df4
DC
26152004-04-13 David Carlton <carlton@kealia.com>
2616
2617 * MAINTAINERS: Move myself to "paper trail" section.
2618
5e6b39ff
MK
26192004-04-12 Mark Kettenis <kettenis@gnu.org>
2620
7def7fef
MK
2621 * vax-tdep.c: Include "frame-base.h", "frame-unwind.h" and
2622 "trad-frame.h".
2623 (vax_frame_init_saved_regs): Remove function.
2624 (vax_sigtramp_saved_pc): Remove function.
2625 (vax_frame_saved_pc): Remove function.
2626 (vax_frame_args_address): Remove function.
2627 (vax_frame_num_args): Rewrite.
2628 (vax_frame_chain): Remove function.
2629 (vax_push_dummy_frame): Replace DEPRECATED_FP_REGNUM with
2630 VAX_FP_REGNUM.
2631 (vax_pop_frame): Likewise.
2632 (vax_saved_pc_after_call): Remove function.
2633 (struct vax_frame_cache): New structure.
2634 (vax_frame_cache): New function.
2635 (vax_frame_this_id): New function.
2636 (vax_frame_prev_register): New function.
2637 (vax_frame_unwind): New variable.
2638 (vax_frame_sniffer): New function.
2639 (vax_frame_base_address): New function.
2640 (vax_frame_args_address): New function.
2641 (vax_frame_base): New variable.
2642 (vax_unwind_pc): New function.
2643 (vax_gdbarch_init): Don't set deprecated_init_frame_pc,
2644 deprecated_fp_regnum, deprecated_saved_pc_after_call,
2645 deprecated_frame_chain, deprecated_frame_saved_pc,
2646 deprecated_frame_args_address and
2647 deprecated_frame_init_saved_regs.
2648 * Makefile.in (vax-tdep.o): Update dependencies.
2649
53284fc1
MK
2650 * vaxbsd-nat.c: New file.
2651
5e6b39ff
MK
2652 * vax-tdep.h: Update copyright year. Adjust comments.
2653 (VAX_REGISTER_SIZE, VAX_REGISTER_BYTES, VAX_MAX_REGISTER_RAW_SIZE,
2654 VAX_MAX_REGISTER_VIRTUAL_SIZE): Remove macros.
2655 (vax_regnum): New enum. Replacing...
2656 (VAX_AP_REGNUM, VAX_FP_REGNUM, VAX_SP_REGNUM, VAX_PC_REGNUM)
2657 (VAX_PS_REGNUM): ... these removed macros.
2658 * vax-tdep.c (vax_register_name): Remove prototype.
2659 (vax_register_name): Reorganize somewhat. Use ARRAY_SIZE.
2660 (vax_register_byte, vax_register_raw_size,
2661 vax_register_virtual_size, vax_register_virtual_type): Remove
2662 functions.
2663 (vax_register_type): New function.
2664 (vax_breakpoint_from_pc): Reorganize.
2665 (vax_gdbarch_init): Set register_type. Don't set
2666 deprecated_register_size, deprecated_register_bytes,
2667 deprecated_register_byte, deprecated_register_raw_size,
2668 deprecated_max_register_raw_size,
2669 deprecated_register_virtual_size,
2670 deprecated_max_register_virtual_size and
2671 deprecated_register_virtual_type. Add comment on stack direction.
2672
e9c71e9f
MK
26732004-04-11 Mark Kettenis <kettenis@gnu.org>
2674
2675 * amd64-tdep.h (amd64_regnum): Add AMD64_CS_REGNUM,
2676 AMD64_SS_REGNUM, AMD64_DS_REGNUM, AMD64_ES_REGNUM,
296bc76f 2677 AMD64_FS_REGNUM and AMD64_GS_REGNUM.
e9c71e9f 2678
d46f1176 26792004-04-10 Randolph Chung <tausq@debian.org>
8718a420 2680
d46f1176
RC
2681 * MAINTAINERS (write after approval): Add myself.
2682
a2a84a72
RC
26832004-04-07 Randolph Chung <tausq@debian.org>
2684
2685 * hppa-tdep.c (hppa_inner_than): Remove.
2686 (is_pa_2): Remove unused static variable.
8718a420 2687 (hppa_gdbarch_init): Use core_addr_greaterthan instead of own version.
a2a84a72 2688
e85c3284
PH
26892004-03-10 Paul N. Hilfinger <Hilfinger@gnat.com>
2690
2691 * language.h (language_defn): Add new la_post_parser field.
2692 * parser-defs.h (null_post_parser): New declaration (default for
2693 la_post_parser).
8718a420 2694
e85c3284
PH
2695 * parse.c (parse_exp_1): Move code to parse_exp_in_context and
2696 insert call to that function.
2697 (parse_exp_in_context): New function, including code formerly in
8718a420 2698 parse_exp_1. Calls language-dependent post-parser after
e85c3284
PH
2699 prefixification.
2700 (parse_expression_in_context): New exported function.
2701 (null_post_parser): New definition.
2702 * expression.h (parse_expression_in_context): Add declaration.
8718a420 2703
e85c3284
PH
2704 * p-lang.c (pascal_language_defn): Add trivial post-parser.
2705 * c-lang.c (c_language_defn): Ditto.
2706 (cplus_language_defn): Ditto.
2707 (asm_language_defn): Ditto.
2708 (minimal_language_defn): Ditto.
2709 * f-lang.c (f_language_defn): Ditto.
2710 * jv-lang.c (java_language_defn): Ditto.
2711 * language.c (unknown_language_defn): Ditto.
2712 (auto_language_defn): Ditto.
2713 (local_language_defn): Ditto.
2714 * m2-lang.c (m2_language_defn): Ditto.
2715 * scm-lang.c (scm_language_defn): Ditto.
2716 * obj-lang.c (objc_language_defn): Ditto.
8718a420 2717
d9f8c85b
MK
27182004-04-10 Mark Kettenis <kettenis@gnu.org>
2719
fa34704a
MK
2720 * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Remove function.
2721 (amd64nbsd_mcontext_addr): New function.
2722 (amd64nbsd_init_abi): Initialize TDEP->sigcontext_addr as
2723 amd64nbsd_mcontext_addr. Directly initialize TDEP->sc_reg_offset
2724 with amd64nbsd_r_reg_offset, instead of building it on the fly.
2725
403e1656
MK
2726 * corelow.c (core_xfer_partial): Fix coding standards violation.
2727 Add support for TARGET_OBJECT_WCOOKIE.
2728
a57e5a95
MK
2729 * sparc-linux-tdep.c (sparc32_linux_init_abi): Don't set
2730 deprecated_pc_in_sigtramp.
2731 * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise.
2732 * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise.
2733 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Likewise.
2734 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Likewise.
2735 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Likewise.
2736 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Likewise.
2737 * sparcobsd-tdep.c (sparc32obsd_init_abi): Likewise.
2738
377d9ebd
MK
2739 * amd64-linux-tdep.c, amd64nbsd-tdep.c, amd64obsd-tdep.c,
2740 i386-linux-tdep.c, i386-tdep.c, i386nbsd-tdep.c, i386obsd-tdep.c:
2741 Fix typo.
2742
f0ef85a5
MK
2743 * amd64-tdep.c (amd64_supply_fxsave): Only fiddle with
2744 I387_FISEG_REGNUM and I387_FOSEG_REGNUM in 64-bit mode.
2745 (amd64_collect_fxsave): Likewise.
2746
d9f8c85b
MK
2747 * i386-sol2-tdep.c: Include "gdb_string.h".
2748 (i386_sol2_sigtramp_p): Recognize signal trampoline based on its
2749 name.
2750 * Makefile.in (i386-sol2-tdep.o): Update dependencies.
2751
75f501b5
MK
27522004-04-10 Mark Kettenis <kettenis@gnu.org>
2753
2754 * i386-sol2-tdep.c: Include "solib-svr4.h".
2755 (i386_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
2756 * Makefile.in (i386-sol2-tdep.o): Update dependencies.
2757 * config/i386/tm-i386sol2.h: Include :solib.h".
2758 * config/i386/i386sol2.mh (NATDEPFILES): Remove solib.o,
2759 solib-svr4.o and solib-legacy.o.
2760 * config/i386/i386sol2.mt (TDEPFILES): Add solib.o and
2761 solib-svr4.o.
2762
b31bc724
MK
27632004-04-09 Mark Kettenis <kettenis@gnu.org>
2764
18bbbd9e
MK
2765 * amd64-linux-nat.c (fetch_inferior_registers): Correctly check
2766 whether a register is supplied by PTRACE_GETFPREGS.
2767 (store_inferior_registers): Likewise.
2768 * amd64bsd-nat.c (fetch_inferior_registers): Correctly check
2769 whether a register is supplied by PT_GETFPREGS.
2770 (store_inferior_registers): Likewise.
2771
3c30bf1b
MK
2772 * config/i386/linux.mt (TDEPFILES): Remove solib-legacy.o.
2773 * config/i386/linux64.mt (TDEPFILES): Likewise.
2774
a4194092
MK
2775 * i386-linux-nat.c: Update copyrigth year. Tweak comment.
2776
911bc6ee
MK
2777 * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Rewrite to use new
2778 sigtramp_p member of `struct gdbarch_tdep'. Also check whether
2779 the program counter is in the range specified by `struct
2780 gdbarch_tdep'.
2781 * amd64-linux-tdep.c: Include "symtab.h".
2782 (amd64_linux_pc_in_sigtramp): Remove function.
2783 (amd64_linux_sigtramp_p): New function.
2784 (amd64_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set
2785 deprecated_pc_in_sigtramp.
2786 * amd64nbsd-tdep.c: Include "symtab.h".
2787 (amd64nbsd_sigtramp_p): New function.
2788 (amd64nbsd_init_abi): Initialize TDEP->sigtramp_p. Don't set
2789 deprecated_pc_in_sigtramp.
2790 * amd64obsd-tdep.c: Include "symtab.h" and "objfiles.h". Add a
2791 few comments.
2792 (amd64obsd_pc_in_sigtramp): Remove function.
2793 (amd64obsd_sigtramp_p): New function.
2794 (amd64obsd_init_abi): Initialize TDEP->sigtramp_p. Don't set
2795 deprecated_pc_in_sigtramp.
2796 * i386-tdep.h (struct gdbarch_tdep): Add sigtramp_p member.
2797 (i386bsd_pc_ins_sigtramp): Remove prototype.
2798 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove prototypes.
2799 * i386-tdep.c (i386_sigtramp_frame_sniffer): Rewrite to use new
2800 sigtramp_p member of `struct gdbarch_tdep'. Also check whether
2801 the program counter is in the range specified by `struct
2802 gdbarch_tdep'.
2803 (i386_pc_in_sigtramp, i386_svr4_pc_in_sigtramp): Remove functions.
2804 (i386_sigtramp_p, i386_svr4_sigtramp_p): New functions.
2805 (i386_go32_pc_in_sigtramp): Remove function.
2806 (i386_svr4_init_abi): Don't set deprecated_pc_in_sigtramp.
2807 Initialize TDEP->sigtramp_p.
2808 (i386_go32_init_abi): Initialize TDEP->sigtramp_p to NULL.
2809 (i386_gdbarch_init): Initialize TDEP->sigtramp_p. Don't set
2810 deprecated_pc_in_sigtramp.
2811 * i386-linux-tdep.c: Adjust comments.
2812 (i386_linux_pc_in_sigtramp): Remove function.
2813 (i386_linux_sigtramp_p): New function.
2814 (i386_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set
2815 deprecated_pc_in_sigtramp.
2816 * i386-nto-tdep.c: Update copyright year.
2817 (i386nto_pc_in_sigtramp): Remove function.
2818 (i386nto_sigtramp_p): New function.
2819 (i386nto_sigcontext_addr): Use I386_ESP_REGNUM instead of
2820 SP_REGNUM.
2821 (i386nto_init_abi): Initialize TDEP->sigtramp_p. Don't set
2822 deprecated_pc_in_sigtramp.
2823 * i386-sol2-tdep.c: Update copyright year.
2824 (i386_sol2_pc_in_sigtramp): Remove function.
2825 (i386_sol2_sigtramp_p): New function.
2826 (i386_sol2_init_abi): Initialize TDEP->sigtramp_p. Don't set
2827 deprecated_pc_in_sigtramp.
2828 * i386bsd-tdep.c (i386bsd_pc_in_sigtramp): Remove function.
2829 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove functions.
2830 (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp,
2831 deprecated_sigtramp_start and deprecated_sigtramp_end.
2832 * i386nbsd-tdep.c: Include "frame.h" and "symtab.h".
2833 (i386nbsd_pc_in_sigtramp): Remove function.
2834 (i386nbsd_sigtramp_p): New function.
2835 (i386nbsd_init_abi): Don't set deprecated_pc_in_sigtramp,
2836 deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize
2837 TDEP->sigtramp_start, TDEP->sigtramp_end and TDEP->sigtramp_p.
2838 * i386obsd-tdep.c: Include "frame.h", "symtab.h" and "objfiles.h".
2839 (i386obsd_pc_in_sigtramp): Remove function.
2840 (i386obsd_sigtramp_p): New function.
2841 (i386obsd_sigtramp_start, i386obsd_sigtramp_end): Remove
2842 functions.
2843 (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp,
2844 deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize
2845 TDEP->sigtramp_p.
2846 * Makefile.in (amd64-linux-tdep.o, amd64nbsd-tdep.o,
2847 amd64obsd-tdep.o, i386nbsd-tdep.o, i386obsd-tdep.o): Update
2848 dependencies.
2849
e083e6ec
MK
2850 * config/i386/i386aout.mt: Remove file.
2851
bd153b94
MK
2852 * configure.tgt: Remove i[34567]86-*-go32*,
2853 i[34567]86-*-msdosdjgpp*, i[34567]86-*-sco*, i[34567]86-*-sysv*
2854 and i[34567]86-*-isc*. Set gdb_target to i386 for
2855 i[34567]86-*-netware* and i[34567]86-*-*.
2856 * config/i386/i386.mt: New file.
2857 * config/i386/embed.mt: Remove file.
2858 * config/i386/go32.mt: Remove file.
2859 * config/i386/i386nw.mt: Remove file.
2860 * config/i386/i386v.mt: Remove file.
2861 * config/i386/tm-go32.h: Remove file.
2862
4a1bcc8c
MK
2863 * tui/tui-hooks.c: Include "readline/readline.h" after
2864 "gdb_curses.h" instead of before.
2865 * tui/tui-io.c: Likewise.
2866
f9a79064
MK
2867 * tui/tui.c: Fix typo in comment.
2868
b31bc724
MK
2869 * sparc64-tdep.c (sparc_address_from_register): Remove function.
2870
f83f82bc
AC
28712004-04-08 Andrew Cagney <cagney@redhat.com>
2872
2873 * breakpoint.h (deprecated_exception_catchpoints_are_fragile)
2874 (deprecated_exception_support_initialized): Declare.
8718a420 2875 * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support)
f83f82bc
AC
2876 (initialize_hp_cxx_exception_support)
2877 (child_enable_exception_callback): Update.
2878 * breakpoint.c (deprecated_exception_catchpoints_are_fragile)
2879 (deprecated_exception_support_initialized): Rename
2880 deprecated_exception_catchpoints_are_fragile and
2881 deprecated_exception_support_initialized.
2882 (breakpoint_init_inferior, breakpoint_init_inferior): Update.
2883
2884 * symtab.c (deprecated_hp_som_som_object_present): Rename
2885 hp_som_som_object_present.
2886 * symtab.h (deprecated_hp_som_som_object_present): Declare.
2887 * symfile.c (hp_som_som_object_present, RESET_HP_UX_GLOBALS):
2888 Update. Delete extern declaration.
2889 * valops.c (hp_som_som_object_present): Ditto.
8718a420 2890 * parse.c (deprecated_hp_som_som_object_present)
f83f82bc
AC
2891 (parse_nested_classes_for_hpacc): Ditto.
2892 * hpread.c (hp_som_som_object_present, hpread_expand_symtab): Ditto.
8718a420 2893 * hppa-hpux-tdep.c (hp_som_som_object_present)
f83f82bc
AC
2894 (initialize_hp_cxx_exception_support): Ditto.
2895 * eval.c (hp_som_som_object_present, evaluate_subexp_standard): Ditto.
8718a420 2896 * cp-valprint.c (hp_som_som_object_present)
f83f82bc 2897 (cp_print_class_method): Ditto.
8718a420 2898 * c-typeprint.c (hp_som_som_object_present):
f83f82bc
AC
2899 (c_type_print_base): Ditto.
2900 * c-exp.y (hp_som_som_object_present): Ditto.
2901
fb2be677
AC
29022004-04-08 Andrew Cagney <cagney@redhat.com>
2903
2904 * frame-unwind.c (struct frame_unwind_table, frame_unwind_init)
2905 (frame_unwind_prepend_unwinder, frame_unwind_append_sniffer)
2906 (frame_unwind_find_by_frame): Re-implement the unwind code so
2907 that it can both prepend and append sniffers. Replace
2908 frame_unwind_register_unwinder with frame_unwind_prepend_unwinder.
2909 * tramp-frame.c (tramp_frame_append): Use
2910 frame_unwind_prepend_unwinder.
2911 * frame-unwind.h (frame_unwind_prepend_unwinder): Replace
2912 frame_unwind_register_unwinder.
2913 * tramp-frame.h (tramp_frame_prepend_unwinder): Rename
2914 tramp_frame_append.
2915 * tramp-frame.c (tramp_frame_prepend_unwinder): Update.
8718a420 2916 * mips-linux-tdep.c (mips_linux_init_abi, mips_linux_init_abi)
fb2be677
AC
2917 (mips_linux_init_abi): Update.
2918
67faf007
KB
29192004-04-08 Kevin Buettner <kevinb@redhat.com>
2920
2921 * ppc-linux-tdep.c (ELF_NREG, ELF_NFPREG, ELF_NVRREG)
2922 (ELF_FPREGSET_SIZE): Delete constants formerly used in core
2923 file support.
2924
8973ff21
KB
29252004-04-07 Kevin Buettner <kevinb@redhat.com>
2926
2927 * ia64-tdep.c (elf.h): Don't include.
2928 (elf/ia64.h) [HAVE_LIBUNWIND_IA64_H]: Include.
2929
4a0e2f88
JM
29302004-04-07 Jason Molenda (jmolenda@apple.com)
2931
2932 * frame.h: Typeo corrections in comments.
2933
9872ad24
JB
29342004-04-07 Jim Blandy <jimb@redhat.com>
2935
2936 * i386-tdep.c (i386_stab_reg_to_regnum): Correct numbering for
2937 %esp and %ebp
2938
70b216c8
MK
29392004-04-07 Mark Kettenis <kettenis@gnu.org>
2940
11d5789c
MK
2941 * config/sparc/linux.mt (TDEPFILES): Remove solib-legacy.o.
2942 * config/sparc/linux64.mt (TDEPFILES): Likewise.
2943 * config/sparc/sol2.mt (TDEPFILES): Add solib.o and solib-svr4.o.
2944 * config/sparc/sol2.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
2945 and solib-legacy.o.
2946 * config/sparc/sol2-64.mt (TDEPFILES): Add solib.o and
2947 solib-svr4.o.
2948 * config/sparc/tm-sol2.h: Update copyright year. Include
2949 "solib.h".
2950
70b216c8
MK
2951 * sparc-sol2-tdep.c: Update copyright year. Include
2952 "solib-svr4.h".
2953 (sparc32_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
2954 * sparc64-sol2-tdep.c: Include "solib-svr4.h".
2955 (sparc64_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
096f864c 2956 * Makefile.in (sparc-sol2-tdep.o, sparc64-sol2-tdep.o): Update
70b216c8
MK
2957 dependencies.
2958
6339dc9e
AC
29592004-04-06 Andrew Cagney <cagney@redhat.com>
2960
2961 * infttrace.c: Include "infttrace.h".
2962 * infttrace.h: Include "target.h".
2963 * Makefile.in (infttrace_h): Update.
2964 (infttrace.o): Update.
8718a420 2965
93449403
AC
29662004-04-06 Andrew Cagney <cagney@redhat.com>
2967
6d518969
AC
2968 * hppah-nat.c (hpux_has_forked, hpux_has_vforked)
2969 (hpux_has_execd, hpux_has_syscall_event): Include "infttrace.h",
2970 move extern declarations from here ...
2971 * infttrace.h: ... to here.
2972 * Makefile.in (hppah-nat.o): Update dependencies.
2973
85f4f2d8
AC
2974 * hppa-tdep.c (hppa_breakpoint_from_pc): Make static.
2975 (hppa_gdbarch_init): Set gdbarch_breakpoint_from_pc
8718a420 2976 * config/pa/tm-hppa.h (BREAKPOINT_FROM_PC, BREAKPOINT32):
85f4f2d8
AC
2977 (hppa_breakpoint_from_pc): Delete.
2978
93449403
AC
2979 * MAINTAINERS: Mark hppa-elf as buildable with -Werror.
2980
71456ec6
AC
29812004-04-05 Andrew Cagney <cagney@redhat.com>
2982
2983 * hppa-tdep.c: Do not include <sys/types.h>, <sys/param.h>,
2984 <signal.h>, <sys/ptrace.h>, #include "a.out.encap.h",
2985 <sys/file.h>.
8718a420 2986
4c02c60c
AC
29872004-04-06 Randolph Chung <tausq@debian.org>
2988
2989 Committed by Andrew Cagney (mechanical change).
2990 * hppa-tdep.c: (args_for_find_stub, hp_som_som_object_present,
2991 exception_catchpoints_are_fragile, find_stub_with_shl_get,
2992 cover_find_stub_with_shl_get, initialize_hp_cxx_exception_support,
2993 child_enable_exception_callback, current_ex_event,
2994 null_symtab_and_line, child_get_current_exception_event,
2995 HP_ACC_EH_notify_hook, HP_ACC_EH_set_hook_value,
2996 HP_ACC_EH_notify_callback, HP_ACC_EH_break, HP_ACC_EH_catch_throw,
2997 HP_ACC_EH_catch_catch, __eh_notification, hp_cxx_exception_support,
2998 hp_cxx_exception_support_initialized, eh_notify_hook_addr,
2999 eh_notify_callback_addr, eh_break_addr, eh_catch_catch_addr,
3000 eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior):
3001 Move hpux-specific definitions ...
3002 * hppa-hpux-tdep.c: ... to here.
3003
3a515653
AC
30042004-04-05 Andrew Cagney <cagney@redhat.com>
3005
3006 * hppa-tdep.c (hppa_frame_cache): Pass the frame's func to
3007 skip_prologue_using_sal.
3008
c1730d02
AC
30092004-04-05 Andrew Cagney <cagney@redhat.com>
3010
3011 * config/i386/tm-i386.h: Delete file.
3012 * config/i386/tm-vxworks.h: Update copyright, do not include
3013 "tm-i386.h".
3014 * config/i386/tm-nto.h, config/i386/tm-linux.h: Ditto.
3015 * config/i386/tm-i386sol2.h, config/i386/tm-i386lynx.h: Ditto.
3016 * config/i386/tm-go32.h, config/i386/tm-cygwin.h: Ditto.
3017 * config/i386/ncr3000.mt (TM_FILE): Delete.
3018 * config/i386/interix.mt (TM_FILE): Delete.
3019 * config/i386/i386v.mt (TM_FILE): Delete.
3020 * config/i386/i386nw.mt (TM_FILE): Delete.
3021 * config/i386/i386gnu.mt (TM_FILE): Delete.
3022 * config/i386/i386aout.mt (TM_FILE): Delete.
3023 * config/i386/embed.mt (TM_FILE): Delete.
3024
8b67aa36
KB
30252004-04-05 Kevin Buettner <kevinb@redhat.com>
3026
3027 * frv-tdep.h (fsr0_regnum, acc0_regnum, acc7_regnum, accg0123_regnum)
3028 (accg4567_regnum, msr0_regnum, msr1_regnum, gner0_regnum)
3029 (gner1_regnum, fner0_regnum, fner1_regnum, accg0_regnum)
3030 (accg7_regnum): New constants.
3031 (last_spr_regnum, last_pseudo_regnum): Update.
c2f59a1a
KB
3032 * frv-tdep.c (new_variant): Initialize names for fsr0, acc0-acc7,
3033 accg0-accg7, msr0, msr1, gner0, gner1, fner0, and fner1.
8b67aa36
KB
3034 (frv_pseudo_register_read, frv_pseudo_register_write): Add support
3035 for accg registers.
3036 (frv_register_sim_regno): Update spr_map[].
3037
3c7012f5
AC
30382004-04-04 Andrew Cagney <cagney@redhat.com>
3039
3040 * config/mips/xm-riscos.h: Delete.
3041 * config/mips/xm-mipsv4.h, config/mips/xm-mips.h: Delete.
3042 * config/mips/tm-mipsv4.h, config/mips/riscos.mh: Delete.
3043 * config/mips/nm-riscos.h, config/mips/nm-news-mips.h: Delete.
3044 * config/mips/nm-mips.h, config/mips/news-mips.mh: Delete.
3045 * config/mips/news-mips.mh, config/m68k/tm-m68kv4.h: Delete.
3046 * config/mips/decstation.mh, config/mips/littlemips.mh: Delete.
3047 * config/mips/mipsv4.mt, config/m68k/tm-sun3.h: Delete.
3048 * config/m68k/xm-sun3os4.h, config/m68k/xm-sun3.h: Delete.
3049 * config/m68k/xm-sun2.h, config/m68k/xm-m68kv4.h: Delete.
3050 * config/m68k/xm-dpx2.h, config/m68k/xm-delta68.h: Delete.
3051 * config/m68k/xm-3b1.h, config/m68k/tm-sun3os4.h: Delete.
3052 * config/m68k/tm-m68klynx.h, config/m68k/tm-dpx2.h: Delete.
3053 * config/m68k/tm-delta68.h, config/m68k/tm-3b1.h: Delete.
3054 * config/m68k/sun3os4.mt, config/m68k/nm-sysv4.h: Delete.
3055 * config/m68k/nm-sun3.h, config/m68k/sun3os4.mh: Delete.
3056 * config/m68k/sun2os3.mh, config/m68k/nm-sun2.h: Delete.
3057 * config/m68k/nm-m68klynx.h, config/m68k/sun3os3.mt: Delete.
3058 * config/m68k/nm-dpx2.h, config/m68k/sun2os3.mt: Delete.
3059 * config/m68k/dpx2.mh, config/m68k/sun3os3.mh: Delete.
3060 * config/m68k/sun2os4.mh, config/m68k/nm-delta68.h: Delete.
3061 * config/m68k/m68kv4.mt, config/m68k/m68klynx.mt: Delete.
3062 * config/m68k/3b1.mt, config/m68k/m68klynx.mh: Delete.
3063 * config/m68k/m68kv4.mh, config/m68k/sun2os4.mt: Delete.
3064 * config/m68k/tm-sun2os4.h, config/m68k/3b1.mh: Delete.
3065 * config/m68k/dpx2.mt, config/m68k/delta68.mt: Delete.
3066 * config/m68k/tm-sun2.h, config/m68k/delta68.mh: Delete.
8718a420 3067
3c7012f5
AC
3068 * configure.tgt: Remove m68000-*-sunos3*, m68000-*-sunos4*,
3069 m68*-bull-sysv*, m68*-att-*, m68*-motorola-*, m68*-*-lynxos*,
3070 m68*-*-sunos3*, m68*-*-sunos4*, m68*-*-sysv4*, mips*-*-sysv4*.
3071 * configure.host: Remove m680[01]0-sun-sunos3*,
3072 m680[01]0-sun-sunos4*, m68*-att-*, m68*-bull*-sysv*,
3073 m68*-*-lynxos*, m68*-*-sysv4*, m68*-motorola-*, m68*-sun-sunos3*,
3074 m68*-sun-sunos4*, m68*-sun-*, mips-dec-*, mips-little-*,
3075 mips-sony-*, mips-*-mach3*, mips-*-sysv4*, mips-*-sysv*,
3076 mips-*-riscos*.
3077 * NEWS: Mention removed systems.
3078
99d16a21
AC
30792004-04-04 Andrew Cagney <cagney@redhat.com>
3080
3081 GDB 6.1 release created from 6.1 branch.
3082
6cdf9d98
AC
30832004-04-04 Andrew Cagney <cagney@redhat.com>
3084
98d346c3
AC
3085 * gnu-nat.c (gnu_wait): Use memcpy instead of bcopy.
3086 * remote-vxmips.c (vx_read_register, vx_write_register): Ditto.
3087 * remote-vx68.c (vx_read_register, vx_write_register): Ditto.
3088
6cdf9d98
AC
3089 * config/vax/xm-vax.h (FAULT_CODE_ORIGIN, INIT_STACK): Delete.
3090 * config/alpha/xm-alphaosf.h (NO_SIGINTERRUPT): Delete.
3091 * config/alpha/xm-alphalinux.h (NO_SIGINTERRUPT): Delete.
3092
859a326d
JB
30932004-04-03 Jim Blandy <jimb@redhat.com>
3094
3095 * MAINTAINERS: Chris Faylor has changed employers; add him to
3096 "paper trail" section, and update his E-mail address.
3097
b87178c3
AC
30982004-04-03 Andrew Cagney <cagney@redhat.com>
3099
4ea2acf0
AC
3100 * frame-unwind.c (frame_unwind_find_by_frame): Delete check for
3101 generic dummy frames.
3102 * dummy-frame.c: Update copyright.
3103 (dummy_frame_sniffer): Delete check for generic dummy frames.
3104
d0bd2d18 3105 * config/pa/tm-hppa.h (REG_PARM_STACK_SPACE): Delete.
8718a420 3106 * config/pa/tm-hppa64.h (PA20W_CALLING_CONVENTIONS)
d0bd2d18
AC
3107 (REG_PARM_STACK_SPACE): Delete.
3108 * hppa-tdep.c (hppa64_push_dummy_call, hppa32_push_dummy_call):
3109 Inline reference to REG_PARM_STACK_SPACE.
3110
b87178c3
AC
3111 * config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP)
3112 (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP)
3113 (hppa32_hpux_frame_find_saved_regs_in_sigtramp)
3114 (FRAME_BASE_BEFORE_SIGTRAMP)
3115 (hppa32_hpux_frame_base_before_sigtramp)
3116 (hppa32_hpux_frame_saved_pc_in_sigtramp): Delete.
3117 * config/pa/tm-hppa64.h (hppa64_hpux_frame_saved_pc_in_sigtramp)
3118 (hppa64_hpux_frame_find_saved_regs_in_sigtramp)
3119 (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP)
3120 (FRAME_BASE_BEFORE_SIGTRAMP)
3121 (hppa64_hpux_frame_base_before_sigtramp)
3122 (FRAME_SAVED_PC_IN_SIGTRAMP): Delete.
3123
43e2e1a0
AC
31242004-04-03 Andrew Cagney <cagney@redhat.com>
3125
3126 * PROBLEMS: Mention that GDB doesn't build on HP/UX 11.00.
3127
ddc135a4
AC
31282004-04-02 Andrew Cagney <cagney@redhat.com>
3129
3130 * sh64-tdep.c (sh64_init_extra_frame_info): Replace
3131 DEPRECATED_CALL_DUMMY_LENGTH with 0, simplify.
3132 * dummy-frame.h: Delete out-of-date comments.
3133 * gdbarch.sh (DEPRECATED_CALL_DUMMY_LENGTH): Delete.
3134 * gdbarch.h, gdbarch.c: Re-generate.
3135
d15bfd3a 31362004-04-02 Joel Brobecker <brobecker@gnat.com>
8718a420 3137
d15bfd3a
AC
3138 Committed by Andrew Cagney <cagney@redhat.com>.
3139 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Do not take
3140 into account an instruction saving a register if we have already
3141 seen an earlier instruction saving that same register.
3142
f04ceafa
AC
31432004-04-02 Andrew Cagney <cagney@redhat.com>
3144
08be3abd
AC
3145 * gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Delete.
3146 * gdbarch.h, gdbarch.c: Re-generate.
3147 * frame.c (legacy_get_prev_frame): Delete references to
3148 DEPRECATED_INIT_FRAME_PC_FIRST.
3149
f04ceafa
AC
3150 * infrun.c (pc_in_sigtramp): Delete function.
3151 (check_sigtramp2): Inline call to pc_in_sigtramp, use
3152 get_frame_type.
3153
08e69816
AC
31542004-04-02 Andrew Cagney <cagney@redhat.com>
3155
3156 * infrun.c (handle_step_into_function): Delete code conditional on
3157 legacy_frame_p.
3158 (handle_inferior_event, step_over_function): Ditto.
3159
adb54772
AC
31602004-04-02 Andrew Cagney <cagney@redhat.com>
3161
3162 * frame.c (get_prev_frame_1): Exclude signal trampolines from the
3163 "previous frame inner to this frame" test.
3164
304396fb
AC
31652004-04-02 Andrew Cagney <cagney@redhat.com>
3166
3167 * frame.c (safe_frame_unwind_memory): New function.
3168 * frame.h (safe_frame_unwind_memory): Declare. Update description
3169 of /safe_/ methods.
3170 * tramp-frame.c (tramp_frame_start): Re-order parmeters, add
3171 "next_frame". Use safe_frame_unwind_memory.
3172 (tramp_frame_sniffer): Update call to tramp_frame_start.
3173
6502dd73
DJ
31742004-04-01 Daniel Jacobowitz <drow@mvista.com>
3175
3176 * dwarf2read.c (dwarf2_objfile_data_key): New.
3177 (struct dwarf2_per_objfile, dwarf2_per_objfile): New.
3178 (dwarf_info_size, dwarf_abbrev_size, dwarf_line_size)
3179 (dwarf_pubnames_size, dwarf_aranges_size, dwarf_loc_size)
3180 (dwarf_macinfo_size, dwarf_str_size, dwarf_ranges_size)
3181 (dwarf_frame_size, dwarf_eh_frame_size, dwarf_info_buffer)
3182 (dwarf_abbrev_buffer, dwarf_line_buffer, dwarf_str_buffer)
3183 (dwarf_macinfo_buffer, dwarf_ranges_buffer, dwarf_loc_buffer):
3184 Remove variables.
3185 (struct dwarf2_pinfo): Remove per-objfile members. Update comments.
3186 (DWARF_ABBREV_SIZE, DWARF_LINE_SIZE)
3187 (DWARF_LOC_SIZE, DWARF_MACINFO_SIZE, DWARF_STR_SIZE)
3188 (DWARF_RANGES_SIZE, DWARF_INFO_BUFFER)
3189 (DWARF_ABBREV_BUFFER, DWARF_LINE_BUFFER, DWARF_STR_BUFFER)
3190 (DWARF_MACINFO_BUFFER, DWARF_RANGES_BUFFER, DWARF_LOC_BUFFER):
3191 Remove macros.
3192 (dwarf2_has_info): Take an objfile argument. Allocate per-objfile
3193 data.
3194 (dwarf2_locate_sections, dwarf2_build_psymtabs)
3195 (dwarf2_build_psymtabs_easy, dwarf2_build_psymtabs_hard)
3196 (skip_one_die, dwarf2_get_pc_bounds, dwarf2_read_abbrevs)
3197 (read_partial_die, read_full_die, read_indirect_string)
3198 (dwarf_decode_line_header, dwarf_decode_macros)
3199 (dwarf2_symbol_mark_computed): Remove use of removed macros.
3200 Update uses of removed variables.
3201 (psymtab_to_symtab_1): Restore per-objfile data pointer. Remove use
3202 of removed macros.
3203 (_initialize_dwarf2_read): New function.
3204 * symfile.h (dwarf2_has_info): Update prototype.
3205 * coffread.c (coff_symfile_read): Update call to dwarf2_has_info.
3206 * elfread.c (elf_symfile_read): Likewise.
3207
408752b0
JB
32082004-04-01 Jim Blandy <jimb@redhat.com>
3209
9f744501
JB
3210 * rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): New, unified
3211 function for register numbers on all the rs6000-derived targets.
3212 (rs6000_gdbarch_init): Don't register a separate
3213 gdbarch_dwarf2_reg_to_regnum function for the E500. Use
3214 rs6000_dwarf2_stab_reg_to_regnum for both Dwarf 2 and stabs on all
3215 variants.
3216
408752b0
JB
3217 * i386-tdep.c: Add FIXME regarding STABS vs. Dwarf 2 register
3218 numbering.
3219
2de41bce
PH
32202004-04-01 Paul N. Hilfinger <Hilfinger@gnat.com>
3221
3222 * valarith.c: Update copyright notice.
3223 (value_add): Handle range types.
3224 (value_sub): Ditto.
3225 (value_equal): Ditto.
3226 (value_less): Ditto.
3227 (value_neg): Ditto.
3228 (value_complement): Ditto.
8718a420 3229 (value_binop): Simplify slightly by using is_integral_type and
2de41bce 3230 eliminiating unnecessary COERCE_ENUMs.
8718a420 3231
5613d8d3
AC
32322004-03-31 Andrew Cagney <cagney@redhat.com>
3233
3234 * frame.h (frame_unwind_id): Declare.
3235 * frame.c (frame_unwind_id): New function.
3236 (get_prev_frame_1): New function.
3237 (frame_debug_got_null_frame): New function.
3238 (get_prev_frame): Use frame_debug_got_null_frame. Move unwind
3239 code proper to prev_frame, update description.
3240 * infrun.c (step_over_function): Use frame_unwind_id.
3241
c4557624
JB
32422004-04-31 J. Brobecker <brobecker@gnat.com>
3243
3244 * hppa-tdep.c (hppa32_push_dummy_call): Set the Stack Pointer.
3245 (hppa64_push_dummy_call): Likewise.
3246
3e6bb910
JB
32472004-03-30 Jim Blandy <jimb@redhat.com>
3248
3249 From Ulrich Weigand:
3250 * utils.c (query): Do not use a va_list variable multiple times.
3251
a2f23071
DJ
32522004-03-29 Daniel Jacobowitz <drow@mvista.com>
3253
3254 * Makefile.in (linux_nat_h): Update dependencies.
3255 * configure.in: Check for <gnu/libc-version.h>.
3256 * configure: Regenerate.
3257 * config.in: Regenerate.
3258 * linux-nat.h: Include "target.h". Add waitstatus field to
3259 struct lwp_info.
3260 * lin-lwp.c (add_lwp): Initialize waitstatus.kind.
3261 (lin_lwp_attach_lwp): Don't attach to LWPs we have already attached
3262 to.
3263 (lin_lwp_handle_extended): New function. Handle clone events.
3264 (wait_lwp): Use lin_lwp_handle_extended. Update comment about
3265 thread exit events.
3266 (child_wait): Handle clone events.
3267 (lin_lwp_wait: Use lin_lwp_handle_extended and handle clone events.
3268 * linux-nat.c (linux_enable_event_reporting): Turn on
3269 PTRACE_O_TRACECLONE.
3270 (linux_handle_extended_wait): Handle clone events.
3271 * thread-db.c: Include <gnu/libc-version.h>.
3272 (struct private_thread_info): Add dying flag.
3273 (enable_thread_event_reporting): Enable TD_DEATH for glibc 2.2 and
3274 higher.
3275 (attach_thread): Update comments. Handle dying threads.
3276 (detach_thread): Set the dying flag.
3277 (check_event): Always call attach_thread.
3278
8d5f9dcb
DJ
32792004-03-29 Daniel Jacobowitz <drow@mvista.com>
3280
3281 * mips-tdep.c (mips_pdr_data): New.
3282 (non_heuristic_proc_desc): Use objfile_data and set_objfile_data.
3283 (_initialize_mips_tdep): Initialize mips_pdr_data.
3284
66337bb1
CV
32852004-03-29 Corinna Vinschen <vinschen@redhat.com>
3286
3287 * minsyms.c (install_minimal_symbols): Move dropping leading
3288 char from linkage name from here...
3289 (prim_record_minimal_symbol_and_info): ...to here. Simplify
3290 test for "__gnu_compiled*" symbols.
3291
e802b915
JB
32922004-03-28 Jim Blandy <jimb@redhat.com>
3293
3294 * rs6000-tdep.c (skip_prologue): Recognize moves from argument
3295 registers to temp register r0 and byte stores as prologue
3296 instructions.
3297
72b56458
AC
32982004-03-28 Andrew Cagney <cagney@redhat.com>
3299
3300 * PROBLEMS (Stack backtraces): Rewrite. Remove reference to
3301 arm*-*-*.
3302
0bfbda3b
SC
33032004-03-28 Stephane Carrez <stcarrez@nerim.fr>
3304
3305 * tui/tui-regs.c (tui_show_registers): Make sure the TUI is active
3306 and switch the layout to force a display of register window.
3307
5a7225ed
JB
33082004-02-26 J. Brobecker <brobecker@gnat.com>
3309
3310 * amd64-tdep.c (amd64_classify): make RANGE_TYPE objects be part
3311 of the INTEGER class.
3312
81a07a45
JB
33132004-03-26 Jim Blandy <jimb@redhat.com>
3314
3315 * ppc-linux-tdep.c (ppc_linux_init_abi): Long doubles are eight
3316 bytes long on PPC GNU/Linux.
3317
8c691c7a
DC
33182004-03-26 David Carlton <carlton@kealia.com>
3319
3320 * PROBLEMS: Refer to gdb/1588 instead of gdb/826.
3321
103a0089
AC
33222004-03-25 Andrew Cagney <cagney@redhat.com>
3323
3324 * PROBLEMS: Add general section titles, remove references to
3325 specific releases.
3326
7a5ea0d4
DJ
33272004-03-25 Daniel Jacobowitz <drow@mvista.com>
3328
3329 * arm-linux-tdep.c (ARM_LINUX_JB_ELEMENT_SIZE): Define to
3330 INT_REGISTER_SIZE.
3331 (arm_linux_push_arguments): Use TARGET_DOUBLE_BIT instead of
3332 FP_REGISTER_VIRTUAL_SIZE.
3333 * arm-tdep.c (arm_make_sigtramp_cache): Use register_size instead
3334 of DEPRECATED_REGISTER_RAW_SIZE.
3335 (arm_register_type): Add gdbarch argument.
3336 (arm_register_raw_size, arm_register_virtual_size): Delete.
3337 (arm_register_byte, arm_extract_return_value)
3338 (arm_store_return_value, arm_get_longjmp_target): Update references
3339 to INT_REGISTER_RAW_SIZE and FP_REGISTER_RAW_SIZE.
3340 (arm_gdbarch_init): Likewise. Don't set
3341 deprecated_register_raw_size, deprecated_register_virtual_size,
3342 deprecated_max_register_raw_size,
3343 deprecated_max_register_virtual_size, or
3344 deprecated_max_register_virtual_type. Do set register_type.
3345 * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE)
3346 (ARM_MAX_REGISTER_VIRTUAL_SIZE, INT_REGISTER_VIRTUAL_SIZE)
3347 (FP_REGISTER_VIRTUAL_SIZE): Delete.
3348 (INT_REGISTER_RAW_SIZE): Rename to INT_REGISTER_SIZE.
3349 (FP_REGISTER_RAW_SIZE): Rename to FP_REGISTER_SIZE.
3350 * arm-linux-tdep.c (ARM_NBSD_JB_ELEMENT_SIZE): Define to
3351 INT_REGISTER_SIZE.
3352 * remote-rdp.c (remote_rdp_fetch_register): Use MAX_REGISTER_SIZE.
3353 (remote_rdp_store_register): Likewise.
3354
5792a79b
DJ
33552004-03-24 Daniel Jacobowitz <drow@mvista.com>
3356
3357 * Makefile.in (mips-linux-tdep.o): Update dependencies.
3358 * mips-tdep.c (mips_gdbarch_init): Move frame predicates
3359 to after osabi initialization.
3360 * mips-linux-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
3361 (mips_linux_o32_sigframe_init, mips_linux_n32n64_sigframe_init): New
3362 functions.
3363 (mips_linux_o32_sigframe, mips_linux_o32_rt_sigframe)
3364 (mips_linux_n32_rt_sigframe, mips_linux_n64_rt_sigframe): New
3365 variables.
3366 (mips_linux_init_abi): Append signal trampoline unwinders.
3367
1196bfda
AC
33682004-03-24 Andrew Cagney <cagney@redhat.com>
3369
3370 * tramp-frame.h (TRAMP_SENTINEL_INSN): Define, document.
3371 * tramp-frame.c: Include "gdb_assert.h".
3372 (tramp_frame_start): Use TRAMP_SENTINEL_INSN. Use ULONGEST and
3373 correct sizeof.
3374 (tramp_frame_append): Validate the tramp frame's instructions.
3375 * Makefile.in (tramp-frame.o): Update dependencies.
3376
4be282b4
AC
33772004-03-23 Andrew Cagney <cagney@redhat.com>
3378
3379 * trad-frame.h (trad_frame_set_reg_addr): Declare.
3380
69aec09b
AC
33812004-03-23 Andrew Cagney <cagney@redhat.com>
3382
3383 * MAINTAINERS (Past Maintainers): Add Mark Salter and Fernando
3384 Nasser as past testsuite/lib/ (and other) maintainers.
3385
63ed89b4
DJ
33862004-03-23 Daniel Jacobowitz <drow@mvista.com>
3387
3388 * infcmd.c (attach_command): Reread symbols if we already have
3389 an exec file.
3390
f3b36427
AC
33912004-03-23 Andrew Cagney <cagney@redhat.com>
3392
3393 * rs6000-tdep.c (frame_get_saved_regs): Delete unused function.
3394
aa2a3f87
AC
33952004-03-23 Andrew Cagney <cagney@redhat.com>
3396
3397 * gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): Deprecate.
3398 * gdbarch.h, gdbarch.c: Re-generate.
3399 * i386obsd-tdep.c (i386obsd_init_abi): Update.
3400 * i386nbsd-tdep.c (i386nbsd_init_abi): Update.
3401 * i386bsd-tdep.c (i386bsd_init_abi): Update.
8718a420 3402 * config/vax/tm-vaxbsd.h (DEPRECATED_SIGTRAMP_END)
aa2a3f87 3403 (DEPRECATED_SIGTRAMP_START): Update.
8718a420 3404 * config/m68k/tm-nbsd.h (DEPRECATED_SIGTRAMP_END)
aa2a3f87
AC
3405 (DEPRECATED_SIGTRAMP_START): Update.
3406 * blockframe.c (find_pc_sect_partial_function): Update.
3407 * arch-utils.c (legacy_pc_in_sigtramp): Update.
3408
00cac895
DJ
34092004-03-23 Daniel Jacobowitz <drow@mvista.com>
3410
3411 * remote.c (remote_open_1): Reopen the exec file and reread symbols
3412 if necessary.
3413
f561f026
AC
34142004-03-23 Andrew Cagney <cagney@redhat.com>
3415
3416 * gdbarch.sh (PC_IN_SIGTRAMP): Change to a function with
3417 predicate, deprecate.
3418 * gdbarch.h, gdbarch.c: Re-generate.
3419 * alpha-linux-tdep.c (alpha_linux_init_abi): Update.
3420 * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update.
3421 * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Update.
3422 * alphafbsd-tdep.c (alphafbsd_init_abi): Update.
3423 * alphanbsd-tdep.c (alphanbsd_init_abi): Update.
3424 * amd64-linux-tdep.c (amd64_linux_init_abi): Update.
3425 * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Update.
3426 * amd64nbsd-tdep.c (amd64nbsd_init_abi): Update.
3427 * amd64obsd-tdep.c (amd64obsd_init_abi): Update.
3428 * arm-tdep.c (arm_sigtramp_unwind_sniffer): Update.
3429 * blockframe.c (find_pc_partial_function): Update.
3430 * breakpoint.c (bpstat_what): Update.
3431 * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update.
3432 * frv-linux-tdep.c (frv_linux_init_abi): Update.
3433 * frv-tdep.c (frv_sigtramp_frame_sniffer): Update.
3434 * hppa-hpux-tdep.c (hppa_hpux_init_abi): Update.
3435 * i386-interix-tdep.c (i386_interix_init_abi): Update.
3436 * i386-linux-tdep.c (i386_linux_init_abi): Update.
3437 * i386-nto-tdep.c (i386nto_init_abi): Update.
3438 * i386-sol2-tdep.c (i386_sol2_init_abi): Update.
3439 * i386-tdep.c (i386_sigtramp_frame_sniffer)
3440 (i386_svr4_init_abi, i386_go32_init_abi, i386_gdbarch_init): Update.
3441 * i386bsd-tdep.c (i386bsd_init_abi): Update.
3442 * i386nbsd-tdep.c (i386nbsd_init_abi): Update.
3443 * i386obsd-tdep.c (i386obsd_init_abi): Update.
3444 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Update.
3445 * infrun.c (pc_in_sigtramp): Update.
3446 * m68k-tdep.c (m68k_sigtramp_frame_sniffer): Update.
3447 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
3448 * mips-tdep.c (mips_gdbarch_init): Update.
3449 * mipsnbsd-tdep.c (mipsnbsd_init_abi): Update.
3450 * ppc-linux-tdep.c: Update comment.
3451 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Update.
3452 * shnbsd-tdep.c (shnbsd_init_abi): Update.
3453 * sparc-linux-tdep.c (sparc32_linux_init_abi): Update.
3454 * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Update.
3455 * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Update.
3456 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Update.
3457 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Update.
3458 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Update.
3459 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Update.
3460 * sparcobsd-tdep.c (sparc32obsd_init_abi): Update.
8718a420 3461
8050c72f
AC
34622004-03-23 Andrew Cagney <cagney@redhat.com>
3463
d2259dd3
AC
3464 * tramp-frame.h, tramp-frame.h: New files.
3465 * Makefile.in (SFILES, tramp_frame_h, COMMON_OBS, tramp-frame.o):
3466 Update rules to include "tramp-frame.h" and "tramp-frame.c".
3467
8050c72f
AC
3468 * Makefile.in: Update all dependencies.
3469
0db9b4b7
AC
34702004-03-23 Andrew Cagney <cagney@redhat.com>
3471
3472 * Makefile.in (trad_frame_h): Add $(frame_h).
3473 * trad-frame.h: Update copyright. Include "frame.h".
3474 (struct trad_frame_cache, trad_frame_cache_zalloc): Declare.
3475 (trad_frame_set_id, trad_frame_get_id): Declare.
3476 (trad_frame_set_reg_addr, trad_frame_get_register): Declare.
3477 * trad-frame.c: Update copyright.
3478 (struct trad_frame_cache): Define.
3479 (trad_frame_cache_zalloc): New function.
3480 (trad_frame_set_id, trad_frame_get_id): New functions.
3481 (trad_frame_set_reg_addr, trad_frame_get_register): New functions.
8718a420 3482
8e645ae7
AC
34832004-03-22 Andrew Cagney <cagney@redhat.com>
3484
3485 * s390-tdep.c (struct s390_stub_unwind_cache): Rename
3486 s390_pltstub_unwind_cache.
3487 (s390_stub_frame_unwind_cache): Rename
3488 s390_pltstub_frame_unwind_cache.
3489 (s390_stub_frame_this_id): Rename s390_pltstub_frame_this_id.
3490 (s390_stub_frame_prev_register): Rename
3491 s390_pltstub_frame_prev_register.
3492 (s390_stub_frame_unwind): Rename s390_pltstub_frame_unwind.
3493 (s390_stub_frame_sniffer): Rename s390_stub_frame_sniffer.
3494
3495 From Ulrich Weigand:
3496 * s390-tdep.c (s390_pltstub_frame_sniffer): Handle invalid function
3497 pointer calls like PLT calls.
3498
34fcf120
DJ
34992004-03-22 Daniel Jacobowitz <drow@mvista.com>
3500
3501 * mips-tdep.c (non_heuristic_proc_desc): Search using the specified
3502 PC rather than the partial function start address. Use the start
3503 address to sanity check the found PDR.
3504
5b917078
DJ
35052004-03-22 Daniel Jacobowitz <drow@mvista.com>
3506
3507 * lin-lwp.c (lin_lwp_wait): Pass the LWP ID to
3508 linux_handle_extended_wait.
3509
8adf9e78
AC
35102004-03-22 Andrew Cagney <cagney@redhat.com>
3511
c3122434
AC
3512 * rs6000-tdep.c (frame_initial_stack_address): Delete unused
3513 function.
3514
8adf9e78
AC
3515 * frame.h (generic_pop_current_frame): Delete declaration.
3516 (deprecate_pop_dummy_frame): Deprecate
3517 generic_pop_dummy_frame.
3518 * dummy-frame.c (deprecated_pop_dummy_frame): Update.
3519 (generic_pop_current_frame): Delete function.
3520 * mn10300-tdep.c (mn10300_pop_frame): Eliminate call to
3521 generic_pop_current_frame.
3522 * v850-tdep.c (v850_pop_frame): Update.
3523 * mcore-tdep.c (mcore_pop_frame): Update.
3524 * sh64-tdep.c (sh64_pop_frame): Update.
3525 * h8300-tdep.c (h8300_pop_frame): Update.
3526
90ba813f
AC
35272004-03-22 Andrew Cagney <cagney@redhat.com>
3528
3529 * frame.h (deprecated_pc_in_call_dummy): Rename
3530 generic_pc_in_call_dummy.
3531 * dummy-frame.h (pc_in_dummy_frame): Delete declaration.
3532 * dummy-frame.c (deprecated_pc_in_call_dummy): Rename
3533 generic_pc_in_call_dummy.
3534 (pc_in_dummy_frame): Make static.
3535 * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Update.
3536 * gdbarch.h, gdbarch.c: Re-generate.
3537 * dummy-frame.c (dummy_frame_sniffer): Simplify.
3538 * frame.c (frame_type_from_pc): Call deprecated_pc_in_call_dummy.
3539 (legacy_get_prev_frame): Ditto.
3540 * inferior.h: Delete reference to generic_pc_in_call_dummy in
3541 comment.
8718a420 3542
ca4bb888
AC
35432004-03-21 Andrew Cagney <cagney@redhat.com>
3544
244675f9
AC
3545 * inferior.h (deprecated_pc_in_call_dummy_at_entry_point): Delete
3546 declaration and out-of-date comment.
3547 * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
3548 Delete function.
3549 * mn10300-tdep.c (mn10300_gdbarch_init): Do not set
3550 deprecated_pc_in_call_dummy.
3551
ca4bb888
AC
3552 * infrun.c (handle_inferior_event): For non legacy frames, use the
3553 frame ID and frame type to identify a signal trampoline. Update
3554 comments.
3555
1777c7b4
NW
35562004-03-21 Nathan J. Williams <nathanw@wasabisystems.com>
3557
3558 * mipsnbsd-tdep.c: Update copyright. Include "mips-tdep.h".
3559 * Makefile.in (mipsnbsd-tdep.o): Update dependencies.
3560
82417da5
AC
35612004-03-21 Andrew Cagney <cagney@redhat.com>
3562
3563 * frame-unwind.h: Update copyright.
3564 (struct frame_data): Add opaque declaration.
3565 (frame_sniffer_ftype): Declare.
3566 (struct frame_unwind): Add "unwind_data" and "sniffer".
3567 (frame_unwind_register_unwinder): Declare.
3568 (frame_unwind_find_by_frame): Add parameter "this_cache".
3569 * frame.c (get_frame_id, create_new_frame, legacy_get_prev_frame)
3570 (legacy_get_prev_frame, legacy_get_prev_frame)
3571 (get_frame_type): Pass the prologue_cache to
3572 frame_unwind_find_by_frame.
3573 * frame-unwind.c (struct frame_unwind_table_entry): Add field
3574 "unwinder".
3575 (frame_unwind_register_unwinder): New function.
3576 (frame_unwind_find_by_frame): Handle an unwind sniffer.
3577
b2ba182e
PH
35782004-03-20 Paul Hilfinger <hilfingr@nile.gnat.com>
3579
3580 * bcache.c (print_percentage): Use floating point to avoid
3581 incorrect results when portion*100 overflows.
3582
81332287
KB
35832004-03-19 Kevin Buettner <kevinb@redhat.com>
3584
3585 * ppc_tdep.h (ppc_linux_frame_saved_pc)
3586 (ppc_linux_init_extra_frame_info)
3587 (ppc_linux_frameless_function_invocation)
3588 (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain)
3589 (rs6000_frame_saved_pc, rs6000_init_extra_frame_info)
3590 (rs6000_frameless_function_invocation, rs6000_frame_init_saved_regs)
3591 (rs6000_frame_chain): Delete declarations.
3592 * ppc-linux-tdep.c (ppc_linux_frame_saved_pc)
3593 (ppc_linux_init_extra_frame_info)
3594 (ppc_linux_frameless_function_invocation)
3595 (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain): Delete.
3596 (ppc_linux_init_abi): Remove registration of above deleted functions.
3597 * rs6000-tdep.c (rs6000_init_extra_frame_info)
3598 (rs6000_frame_init_saved_regs, rs6000_init_frame_pc_first)
3599 (rs6000_frame_args_address, rs6000_saved_pc_after_call)
3600 (rs6000_pop_frame, rs6000_frameless_function_invocation)
3601 (rs6000_frame_saved_pc, rs6000_frame_chain): Delete.
3602 (rs6000_gdbarch_init): Remove registration of above deleted functions.
3603 Use rs6000_unwind_pc(), rs6000_frame_sniffer(),
3604 rs6000_unwind_dummy_id(), and rs6000_frame_base_sniffer() for
3605 frame management for all OSABIs.
3606
61a65099
KB
36072004-03-19 Andrew Cagney <cagney@redhat.com>
3608
3609 Committed by Kevin Buettner <kevinb@redhat.com>.
3610
3611 * ppc-linux-tdep.c: Include "trad-frame.h", and "frame-unwind.h".
3612 Update copyright.
3613 (struct ppc_linux_sigtramp_cache, ppc_linux_sigtramp_cache)
3614 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
3615 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
3616 (ppc_linux_init_abi): Add both 32- and 64-bit signal trampoline
3617 unwinders. #ifdef legacy frame code.
3618 * rs6000-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
3619 "frame-base.h".
3620 (rs6000_unwind_pc, rs6000_unwind_dummy_id)
3621 (struct rs6000_frame_cache, rs6000_frame_cache)
3622 (rs6000_frame_this_id, rs6000_frame_prev_register)
3623 (rs6000_frame_sniffer, rs6000_frame_unwind)
3624 (rs6000_frame_base_address, rs6000_frame_base_sniffer)
3625 (rs6000_frame_base): Implement a traditional frame unwinder.
3626 (rs6000_gdbarch_init): When unknown, NetBSD, or GNU/Linux use the
3627 frame unwinder.
3628
88f7da05
KB
36292004-03-19 Kevin Buettner <kevinb@redhat.com>
3630
3631 * breakpoint.c (adjust_breakpoint_address): Don't adjust
3632 breakpoint address for watchpoints or the catch eventpoints.
3633 Add new paramter ``bptype''. Adjust all callers.
3634
f826dce1
AC
36352004-03-19 Andrew Cagney <cagney@redhat.com>
3636
33cb8b0f
AC
3637 * config/pa/tm-hppa.h (GDB_TARGET_IS_HPPA): Delete unused macro.
3638
f826dce1
AC
3639 * PROBLEMS: Delete note that ARM does not use frame code, problem
3640 fixed.
3641
43b1ab88
AC
36422004-03-18 Andrew Cagney <cagney@redhat.com>
3643
292ab034
AC
3644 * stack.c (return_command): Delete code wrapped in #ifdef
3645 DEPRECATED_CALL_DUMMY_HAS_COMPLETED, macro no longer defined.
3646
43b1ab88
AC
3647 * rs6000-tdep.c (skip_prologue): Record only the first LR save.
3648
dbfe4626
AC
36492004-03-18 Andrew Cagney <cagney@redhat.com>
3650
3651 * config/mips/tm-nbsd.h: Replace IN_SIGTRAMP with
3652 DEPRECATED_IN_SIGTRAMP.
3653 * config/powerpc/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
3654 * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP) Ditto.
3655 * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Ditto.
3656 * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Ditto.
3657 * config/ia64/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
3658 * config/ia64/tm-aix.h (DEPRECATED_IN_SIGTRAMP): Ditto.
3659 * config/arm/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
3660 * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Ditto.
3661 * arch-utils.c (legacy_pc_in_sigtramp): Ditto.
3662 * arch-utils.h: Remove reference to IN_SIGTRAMP in comment.
3663
0cad6aec
AC
36642004-03-18 Andrew Cagney <cagney@redhat.com>
3665
3666 * frame-base.c: Update copyright. Include "gdb_obstack.h".
3667 (struct frame_base_table_entry): Define.
3668 (struct frame_base_table): Re-implement as a linked list.
3669 (frame_base_init): Re-implement.
3670 (frame_base_table): Delete function.
3671 (append_predicate): Delete function.
3672 (frame_base_append_sniffer): Update.
3673 (frame_base_set_default): Update.
3674 (frame_base_find_by_frame): Update.
3675 (_initialize_frame_base): Use gdbarch_data_register_pre_init.
3676 * Makefile.in (frame-base.o): Update dependencies.
3677
9982c2e7
AC
36782004-03-17 Andrew Cagney <cagney@redhat.com>
3679
3680 * frame.c (legacy_get_prev_frame): Pass correct frame to
3681 frame_unwind_find_by_frame.
3682
8dfe8985
DC
36832004-03-17 David Carlton <carlton@kealia.com>
3684
3685 * NEWS: Mention C++ nested types and namespaces
3686
ed47347a
MC
36872004-03-16 Michael Chastain <mec.gnu@mindspring.com>
3688
3689 * PROBLEMS: Add section headers, "Regressions since gdb 6.0"
3690 and "Regressions since gdb 5.3.". Add known regressions since
3691 gdb 6.0.
3692
90aeadfc
DC
36932004-03-16 David Carlton <carlton@kealia.com>
3694
3695 * dwarf2read.c (process_structure_scope): Process children even
3696 when we're a declaration.
3697
73912b9b
AC
36982004-03-16 Andrew Cagney <cagney@redhat.com>
3699
3700 * symtab.h (find_pc_sect_partial_function): Delete declaration.
3701 * blockframe.c (find_pc_partial_function)
3702 (find_pc_sect_partial_function): Merge into a single
3703 find_pc_partial_function.
3704
283accbc
MK
37052004-03-16 Mark Kettenis <kettenis@gnu.org>
3706
3707 * i386bsd-nat.c: s/regno/regnum/g.
3708 (fetch_inferior_registers): Use I386_ST0_REGNUM instead of
3709 FP0_REGNUM.
3710 (store_inferior_registers): Likewise.
3711
f5b1afdf
MK
37122004-03-16 Mark Kettenis <kettenis@gnu.org>
3713
3714 * i386bsd-nat.c (fill_fpregset): Call i387_collect_fsave instead
3715 of i387_fill_fsave.
3716 (store_inferior_registers): Call i387_collect_fsave and
3717 i387_collect_fxsave instead of i387_fill_fsave and
3718 i387_fill_fxsave.
3719
41fe5eb3
AC
37202004-03-15 Andrew Cagney <cagney@redhat.com>
3721
3722 * Makefile.in (frame-unwind.o): Update dependencies.
3723 * frame-unwind.c: Include "gdb_obstack.h".
3724 (frame_unwind_init): Replace "gdbarch" parameter with an "obstack"
3725 parameter.
3726 (append_predicate): Delete function.
3727 (struct frame_unwind_table_entry): New structure.
3728 (struct frame_unwind_table): Replace "sniffer" with "head" and
3729 "tail".
3730 (frame_unwind_append_sniffer): Update.
3731 (frame_unwind_find_by_frame): Update.
3732 (_initialize_frame_unwind): Registe frame_unwind_init using
3733 gdbarch_data_register_pre_init.
3734
3f63813d
MK
37352004-03-15 Mark Kettenis <kettenis@gnu.org>
3736
3737 * i386bsd-nat.c: Update copyright year.
3738 (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Undefine and then
3739 define unconditionally.
3740
3248c325 37412004-03-15 Mark Kettenis <kettenis@gnu.org>
63b6c53f
MK
3742
3743 * i387-tdep.h (i387_collect_fsave): New prototype.
3744 * i387-tdep.c (i387_collect_fsave): New function containing most
3745 of the code from i387_fill_fsave.
3248c325 3746 (i387_fill_fsave): Call i387_collect_fsave.
63b6c53f 3747
871fbe6a
MK
37482004-03-15 Mark Kettenis <kettenis@gnu.org>
3749
3750 * i386-linux-tdep.c: Update copyright year.
3751 (i386_linux_svr4_fetch_link_map_offsets): Remove function.
3752 (i386_linux_init_abi): Set solib_svr4_fetch_link_maop_offsets to
3753 svr4_ilp32_link_map_offsets instead of
3754 i386_linux_svr4_fetch_link_map_offsets.
3755
8176b9b8
DC
37562004-03-15 David Carlton <carlton@kealia.com>
3757
3758 Fix for PR c++/1553:
3759 * dwarf2read.c (read_structure_type): Determine type name by
3760 calling determine_class_name.
3761 (determine_class_name): New.
3762 (determine_prefix): Look at TYPE_TAG_NAME and call
3763 determine_class_name when appropriate.
3764 (determine_prefix_aux, class_name): Delete.
9d58e29d 3765 (read_namespace): Set die->type.
8176b9b8 3766
fe8bf7d7
KB
37672004-03-15 Kevin Buettner <kevinb@redhat.com>
3768
3769 * breakpoint.c (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete
3770 unused macro definition. The definition in target.h (or perhaps
3771 elsewhere) takes precedence.
3772
ed6edd9b
AC
37732004-03-15 Andrew Cagney <cagney@redhat.com>
3774
f9be684a
AC
3775 * ppc-tdep.h: Update copyright.
3776 (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Change
3777 function signatures to match "regsets.h".
3778 * ppc-linux-tdep.c: Include "regset.h".
3779 (ELF_GREGSET_SIZE): Delete.
3780 (right_supply_register): New function.
3781 (ppc_linux_supply_fpregset, ppc_linux_supply_gregset): Rewrite
3782 using right_supply_register.
3783 (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): New
3784 functions.
3785 (ppc64_linux_gregset, ppc32_linux_gregset): Define.
3786 (ppc_linux_init_abi): Register ppc_linux_regset_from_core_section.
3787 (_initialize_ppc_linux_tdep): Do not register
3788 ppc_linux_regset_core_fns.
3789 (ppc_linux_regset_from_core_section): Replace
3790 fetch_core_registers.
3791 (ppc_linux_regset_core_fns): Delete.
3792 * ppc-linux-nat.c: (right_fill_reg): New function.
3793 (supply_gregset): Update call to ppc_linux_supply_gregset.
3794 (fill_gregset): Clear the register set, use right_fill_reg.
3795 (supply_fpregset): Update call to ppc_linux_supply_fpregset.
3796 (fill_fpregset): Use right_fill_reg, correctly compute FP offsets.
3797
ed6edd9b
AC
3798 * rs6000-tdep.c (rs6000_register_virtual_type): Make registers
3799 unsigned.
3800
030f20e1
AC
38012004-03-15 Andrew Cagney <cagney@redhat.com>
3802
3803 * gdbarch.sh (gdbarch_data_pre_init_fytpe)
3804 (gdbarch_data_register_pre_init, gdbarch_data_post_init_fytpe)
3805 (gdbarch_data_register_post_init): Replace gdbarch_data_init_ftype
3806 and register_gdbarch_data.
3807 (deprecated_set_gdbarch_data): Rename set_gdbarch_data.
3808 (struct gdbarch_data): Replace "init" by "pre_init" and
3809 "post_init".
3810 * gdbarch.h, gdbarch.c: Re-generate.
3811 * dwarf2-frame.c (dwarf2_frame_init): Replace "gdbarch" paramter
3812 with"obstack", use OBSTACK_ZALLOC.
3813 (dwarf2_frame_ops): Delete.
3814 (dwarf2_frame_set_init_reg): Use gdbarch_data.
3815 (dwarf2_frame_init_reg): Use gdbarch_data.
3816 (_initialize_dwarf2_frame): Use gdbarch_data_register_pre_init.
8718a420 3817 * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets)
030f20e1
AC
3818 (_initialize_svr4_solib): Update.
3819 * user-regs.c (_initialize_user_regs): Update.
3820 * reggroups.c (_initialize_reggroup): Update.
3821 * regcache.c (_initialize_regcache): Update.
3822 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update.
3823 * libunwind-frame.c (_initialize_libunwind_frame): Update.
3824 * gnu-v3-abi.c (init_gnuv3_ops): Update.
3825 * frame-unwind.c (_initialize_frame_unwind): Update.
3826 * frame-base.c (_initialize_frame_base): Update.
3827 * user-regs.c (user_reg_add): Update.
3828 * reggroups.c (reggroup_add): Update.
3829 * mips-linux-tdep.c (set_mips_linux_register_addr): Update.
3830 * libunwind-frame.c (libunwind_frame_set_descr): Update.
3831 * frame-unwind.c (frame_unwind_append_sniffer): Update.
3832 * frame-base.c (frame_base_table): Update.
3833 * remote.c (_initialize_remote): Update.
3834 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Define.
8718a420 3835
3111a3fc
AC
38362004-03-15 Andrew Cagney <cagney@redhat.com>
3837
3838 * cris-tdep.c (bfd_lookup_symbol): Delete unused function.
3839
5ecb7103
KB
38402004-03-15 Kevin Buettner <kevinb@redhat.com>
3841
3842 * Makefile.in (frv-linux-tdep.o): Add dependencies.
3843 * frv-linux-tdep.c: New file.
3844 * frv-tdep.c (struct gdbarch_tdep): Add new field
3845 ``sigcontext_reg_addr''.
3846 (frv_set_sigcontext_reg_addr, frv_sigtramp,frame_cache)
3847 (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
3848 (frv_sigramp_frame_sniffer): New functions.
3849 (frv_sigtramp_frame_unwind): New static global.
3850 (frv_gdbarch_init): Hook in ABI-specific overrides. Hook up frame
3851 sniffers.
3852 * frv-tdep.h (frv_set_sigcontext_reg_addr): New function.
3853 * config/frv/frv.mt (TDEPFILES): Add frv-linux-tdep.o.
3854
1ccda5e9
KB
38552004-03-15 Kevin Buettner <kevinb@redhat.com>
3856
3857 * frv-tdep.c (frv_analyze_prologue): Terminate prologue scan,
3858 but not via a call to error(), when unable to read memory.
3859
b375a0a5
KB
38602004-03-15 Kevin Buettner <kevinb@redhat.com>
3861
3862 * frv-tdep.c (frv_call_dummy_words): Delete.
3863 (frv_frame_unwind_cache): Delete unused variable, ``prev_sp''.
3864
4fdf6121
AC
38652004-03-15 Andrew Cagney <cagney@redhat.com>
3866
3867 * infrun.c (handle_step_into_function, step_over_function): Only
3868 update and use STEP_FRAME_ID when the system is using legacy
3869 frames. Update comments.
3870
34021503
MK
38712004-03-14 Mark Kettenis <kettenis@gnu.org>
3872
187e21d1
MK
3873 * amd64-linux-tdep.h: Remove file.
3874 * amd64-linux-tdep.c: Don't include "inferior.h" and
3875 "amd64-linux-tdep.h". Include "frame.h" and "solib-svr4.h".
3876 (USER_R15, USER_R14, USER_R13, USER_R12, USER_RBP, USER_RBX)
3877 (USER_R11, USER_R10, USER_R9, USER_R8, USER_RAX, USER_RCX)
3878 (USER_RDX, USER_RSI, USER_RDI, USER_RIP, USER_CS, USER_EFLAGS)
3879 (USER_RSP, USER_SS, USER_DS, USER_ES, USER_FS, USER_GS): Remove
3880 macros.
3881 (user_to_gdb_regmap): Remove variable.
3882 (amd64_linux_gregset_reg_offset): New variable.
3883 (amd64_core_fns): Remove variable.
3884 (fetch_core_registers): Remove function.
3885 (amd64_linux_supply_gregset, amd64_linux_fill_gregset): Remove
3886 functions.
3887 (_initialize_amd64_linux_tdep): Don't set add_core_fns.
3888 * amd64-linux-nat.c: Don't include "amd64-linux-tdep.h".
3889 * Makefile.in (amd64_linux_tdep_h): Remove.
3890 (amd64-linux-nat.o): Update dependencies.
3891 (amd64-linux-tdep.o): Update dependencies.
3892
99679982
MK
3893 * amd64-linux-nat.c (GETFPREGS_SUPPLIES): Remove macro.
3894 (fetch_regs, fetch_fpregs, store_regs, store_fpregs): Remove
3895 functions.
3896 (fetch_inferior_registers, store_inferior_registers): Rewrite.
3897
34021503
MK
3898 * amd64-tdep.h (amd64_fill_fxsave): Remove prototype.
3899 * amd64-tdep.c (amd64_fill_fxsave): Remove function.
3900
134d01f1
DJ
39012004-03-14 Daniel Jacobowitz <drow@mvista.com>
3902
3903 * dwarf2read.c (read_structure_type): Rename from
8718a420 3904 read_structure_scope. Don't create a symbol or call process_die.
134d01f1
DJ
3905 Return immediately if die->type is set. Call read_type_die before
3906 dwarf2_add_member_fn.
3907 (process_structure_scope): New function.
3908 (read_enumeration_type, process_enumeration_scope): New functions,
3909 broken out from read_enumeration. Don't create the enumeration
3910 type if it has already been created.
3911 (read_enumeration): Removed.
3912 (process_die): Call read_structure_type, process_structure_scope,
3913 read_enumeration_type, and process_enumeration_scope. Just call
3914 new_symbol for base and subrange types. Add a comment about other
3915 type dies.
3916 (read_type_die): Call read_enumeration_type.
3917 (add_partial_structure, new_symbol): Update comments.
3918
65760afb
SC
39192004-03-13 Stephane Carrez <stcarrez@nerim.fr>
3920
3921 * m68hc11-tdep.c (m68hc11_register_name): Get soft reg information.
3922
10f59415
SC
39232004-03-13 Stephane Carrez <stcarrez@nerim.fr>
3924
3925 * tui/tui-win.h (tui_get_cmd_list): Declare.
3926 * tui/tui-win.c (tui_command): New function.
3927 (tui_get_cmd_list): New function.
3928 (_initialize_tui_win): Moved initialization of tui command in
3929 tui_get_cmd_list.
3930
3931 * tui/tui-data.c (init_content_element): Setup new data members.
3932 (init_win_info): Likewise.
3933 (free_content_elements): Free it.
3934 * tui/tui-data.h (struct tui_data_element): Store the register
3935 content to print.
3936 (struct tui_data_info): Keep the current register group.
3937
3938 * tui/tui-layout.c (tui_set_layout): Update call to tui_show_registers.
3939
3940 * tui/tui-regs.h (tui_show_registers): Update prototype.
3941 (tui_toggle_float_regs, tui_calculate_regs_column_count): Remove.
3942 (tui_resize_all): No need to calculate anything for register window.
3943 * tui/tui-regs.c (tui_calculate_regs_column_count): Remove.
3944 (tui_set_register_element, tui_set_general_regs_content): Remove.
3945 (tui_set_special_regs_content): Remove.
3946 (tui_set_general_and_special_regs_content): Remove.
3947 (tui_set_float_regs_content): Remove.
3948 (tui_reg_value_has_changed, tui_get_register_raw_value): Remove.
3949 (tui_set_regs_content): Remove.
3950 (tui_toggle_float_regs, _tui_toggle_float_regs_command): Remove.
3951 (tui_v_show_registers_command_support): Remove.
3952 (tui_show_registers): Use a reggroup to specify the registers to show.
3953 (tui_show_register_group): New function.
3954 (tui_display_registers_from): Compute the layout of register window
3955 and refresh with new API; be sure to delete old register windows.
3956 (tui_check_register_values): Update to use tui_get_register and
3957 tui_display_data.
3958 (tui_display_register): Just refresh the register window part.
3959 (tui_register_format): Format registers and save in tui_data_element.
3960 (tui_get_register): New to combine tui_reg_value_has_changed and
3961 tui_get_register_raw_value; fix to use the new gdb API.
3962 (tui_show_float_command): Renamed tui_reg_float_command.
3963 (tui_show_general_command): Renamed tui_reg_general_command.
3964 (tui_show_special_command): Renamed tui_reg_system_command.
3965 (_initialize_tui_regs): Remove unused commands.
3966
c3364ea4
MK
39672004-03-13 Mark Kettenis <kettenis@gnu.org>
3968
27d1e716
MK
3969 * NEWS (New native configurations): Mention OpenBSD/amd64.
3970
c3364ea4
MK
3971 * config/i386/nm-fbsd.h: Include "config/nm-bsd.h".
3972 (PTRACE_ARG3_TYPE, FETCH_INFERIOR_REGISTERS, ATTACH_DETACH):
3973 Remove defines.
3974 * config/i386/nm-fbsd64.h: Likewise.
3975 * config/i386/nm-obsd.h: Likewise.
3976 * config/sparc/nm-fbsd.h: Likewise. Update copyright year.
3977 * config/alpha/nm-fbsd.h: Likewise. Update copyright year.
3978
b2d6d697
KB
39792004-03-12 Kevin Buettner <kevinb@redhat.com>
3980
3981 * frv-tdep.c (set_variant_scratch_registers): New function.
b2d6d697
KB
3982 * frv-tdep.h (scr0_regnum, scr1_regnum, scr2_regnum, scr3_regnum):
3983 New constants.
3984
76e43199
KB
3985 From Richard Sandiford <rsandifo@redhat.com>:
3986 * frv-tdep.c (frv_gdbarch_init): Add FR450 support.
3987
34ce532e
KB
39882004-03-12 Kevin Buettner <kevinb@redhat.com>
3989
3990 * frv-tdep.c, frv-tdep.h (first_gpr_regnum, sp_regnum, fp_regnum)
3991 (struct_return_regnum, last_gpr_regnum, first_fpr_regnum)
3992 (last_fpr_regnum, pc_regnum, first_spr_regnum, psr_regnum, ccr_regnum)
3993 (cccr_regnum, fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum)
3994 (tbr_regnum, brr_regnum, dbar0_regnum, dbar1_regnum, dbar2_regnum)
3995 (dbar3_regnum, lr_regnum, lcr_regnum, iacc0h_regnum, iacc0l_regnum)
3996 (last_spr_regnum, frv_num_regs, first_pseudo_regnum, iacc0_regnum)
3997 (last_pseudo_regnum, frv_num_pseudo_regs): Move constant (enum)
3998 definitions from frv-tdep.c to frv-tdep.h.
3999
c4d10515
KB
40002004-03-12 Kevin Buettner <kevinb@redhat.com>
4001
4002 Add shared library support for FR-V FDPIC ABI:
4003 * Makefile.in (solib-frv.o): Add dependencies.
4004 * frv-tdep.c (find_func_descr, frv_convert_from_func_ptr_addr):
4005 New functions.
4006 (frv_push_dummy_call): Add support for FDPIC ABI.
4007 (frv_gdbarch_init): Call set_gdbarch_convert_from_func_ptr_addr()
4008 for FDPIC ABI.
4009 * frv-tdep.h (frv_fdpic_find_global_pointer): Declare.
4010 (frv_fdpic_find_canonical_descriptor): Declare.
4011 * solib-frv.c: New file.
4012 * config/frv/frv.mt (TDEPFILES): Add solib.o and solib-frv.o.
4013 * config/frv/tm-frv.h (solib.h): Include.
4014
ed1bd989
KB
40152004-03-12 Kevin Buettner <kevinb@redhat.com>
4016
4017 * Makefile.in (elf_frv_h, frv_tdep_h): Define.
4018 (frv-tdep.o): Update dependencies.
4019 * frv-tdep.h: New file.
4020 * frv-tdep.c (elf-bfd.h, elf/frv.h, osabi.h, frv-tdep.h): Include.
4021 (fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum): New
4022 constants.
4023 (struct gdbarch_tdep): Add new member ``frv_abi''.
4024 (frv_abi, frv_fdpic_loadmap_addresses, set_variant_abi_fdpic): New
4025 functions.
4026 (new_variant): Set ``frv_abi'' field.
4027 (gdb_arch_init): Detect FDPIC executables.
4028
82b38f72
MK
40292004-03-12 Mark Kettenis <kettenis@gnu.org>
4030
4031 * solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H
4032 wrapper.
4033
db1ea9ba
AC
40342004-03-11 Andrew Cagney <cagney@redhat.com>
4035
4036 * solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper.
4037
f8766ec1
KB
40382004-03-11 Kevin Buettner <kevinb@redhat.com>
4039
4040 * solist.h (master_so_list): New function.
4041 * solib.c (master_so_list): Likewise.
4042 * solib-svr4.c (enable_break): Iterate over so_list entries
4043 obtained from master list instead of entries obtained directly
4044 via svr4_current_sos().
4045
523f6a27
BE
40462004-03-10 Ben Elliston <bje@gnu.org>
4047
4048 * MAINTAINERS: Update my mail address.
4049
37814c18
KI
40502004-03-10 Kei Sakamoto <sakamoto.kei@renesas.com>
4051
4052 * remote-m32r-sdi.c: Support hardware watchpoint.
4053
8b9740d8
DJ
40542004-03-09 Daniel Jacobowitz <drow@mvista.com>
4055
4056 * user-regs.c: Update copyright years.
4057 (struct user_regs): Rename to gdb_user_regs.
4058 (append_user_reg, builtin_user_regs, user_regs_init)
4059 (user_reg_add, user_reg_map_name_to_regnum)
4060 (usernum_to_user_reg): Update.
4061
4bb7a0a7
DJ
40622004-03-09 Daniel Jacobowitz <drow@mvista.com>
4063
4064 * dwarf2read.c (skip_leb128, peek_die_abbrev, skip_one_die)
4065 (skip_children): New functions.
4066 (locate_pdi_sibling): Call skip_children.
4067
44e1a9eb
DJ
40682004-03-09 Daniel Jacobowitz <drow@mvista.com>
4069
4070 * arm-tdep.c (arm_use_struct_convention): Look through typedefs.
4071 * gdbtypes.c (check_typedef): Update comments.
4072
f3dd6933
DJ
40732004-03-09 Daniel Jacobowitz <drow@mvista.com>
4074
4075 * dwarf2read.c (struct comp_unit_head): Remove dwarf2_abbrevs array.
4076 (struct dwarf2_cu): Add abbrev_obstack and dwarf2_abbrevs
4077 pointer. Update comment about comp_unit_head.
4078 (struct abbrev_info): Shorten two int flags.
4079 (dwarf_alloc_abbrev): Take a CU argument.
4080 (dwarf2_build_psymtabs_hard): Call dwarf2_free_abbrev_table
4081 each time through the loop. Update cleanup argument.
4082 (psymtab_to_symtab_1): Update cleanup call.
4083 (dwarf2_read_abbrevs, dwarf2_alloc_abbrev): Allocate on the
4084 abbrev_obstack.
4085 (dwarf2_free_abbrev_table): Renamed from dwarf2_empty_abbrev_table.
4086 Just call obstack_free and clear the pointer.
4087
b40c7d58
DJ
40882004-03-09 Daniel Jacobowitz <drow@mvista.com>
4089
4090 * infrun.c (handle_inferior_event): Remove short-circuit code for
4091 events in a different thread.
4092
333dabeb
DJ
40932004-03-09 Daniel Jacobowitz <drow@mvista.com>
4094
4095 * target.c (debug_to_xfer_memory): If targetdebug is 1, don't
4096 print the whole transfer.
4097 (initialize_targets): Update description of "set debug target".
4098
aa17d93e
DJ
40992004-03-09 Daniel Jacobowitz <drow@mvista.com>
4100
4101 * arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX.
4102
0b71f08f
NW
41032004-03-08 Nathan J. Williams <nathanw@wasabisystems.com>
4104
4105 * MAINTAINERS (write after approval): Add myself.
4106
3930f270
CV
41072004-03-08 Corinna Vinschen <vinschen@redhat.com>
4108
4109 * sh-tdep.c (sh_print_registers_info): Use for loop.
4110 Don't skip multiple registers when a float register is encountered.
4111
a2b4a96c
CV
41122004-03-08 Corinna Vinschen <vinschen@redhat.com>
4113
4114 Fix PR tdep/1291.
4115 * sh-tdep.c (sh_analyze_prologue): Align PC relative addressing
4116 to official SH documentation.
4117
f15a4bc0
AC
41182004-03-07 Andrew Cagney <cagney@redhat.com>
4119
4120 * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete
4121 unused function.
4122
9498281f
DJ
41232004-03-07 Daniel Jacobowitz <drow@mvista.com>
4124
4125 * arm-tdep.c (thumb_get_next_pc): Handle BX.
4126 (arm_get_next_pc): Handle BX and BLX.
4127
449e1137
AC
41282004-03-07 Andrew Cagney <cagney@redhat.com>
4129
eded0a31
AC
4130 * hppa-tdep.c: Replace DEPRECATED_FP_REGNUM with HPPA_FP_REGNUM,
4131 FP0_REGNUM with HPPA_FP0_REGNUM, and SP_REGNUM with
4132 HPPA_SP_REGNUM.
4133 (hppa_register_raw_size, hppa_register_byte, hppa_read_fp)
4134 (hppa_target_read_fp): Delete.
4135 (hppa_gdbarch_init): Do not set deprecated register_raw_size,
4136 register_virtual_size, max_register_raw_size,
4137 max_register_virtual_size, register_byte, register_size,
4138 target_read_fp, fp_regnum, and register_bytes. Set register_type
4139 instead of register_virtual_type.
4140 (hppa32_register_type, hppa64_register_type): Replace
4141 hppa32_register_virtual_type and hppa64_register_virtual_type.
4142 * config/pa/tm-hppa.h (HPPA_FP0_REGNUM, HPPA_SP_REGNUM)
4143 (HPPA_FP_REGNUM): Define.
4144
f5f907e2
AC
4145 * hppa-tdep.c (hppa_gdbarch_init): Add missing "break".
4146
69b4bbe4
AC
4147 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO)
4148 (pa_do_registers_info): Delete.
4149 * hppa-tdep.c (pa_do_registers_info, pa_do_strcat_registers_info)
8718a420 4150 (pa_print_registers, pa_print_fp_reg, pa_strcat_registers)
69b4bbe4 4151 (pa_strcat_fp_reg, pa_register_look_aside): Delete.
f5f907e2 4152
78161e48
AC
4153 * infcall.c (legacy_push_dummy_code): Delete #ifdef
4154 GDB_TARGET_IS_HPPA code.
4155 * config/pa/tm-hppa.h (DEPRECATED_FIX_CALL_DUMMY)
8718a420 4156 (hppa_fix_call_dummy, DEPRECATED_CALL_DUMMY_HAS_COMPLETED)
78161e48
AC
4157 (DEPRECATED_DUMMY_WRITE_SP, CALL_DUMMY): Delete.
4158 * config/pa/tm-hppa64.h (CALL_DUMMY): Delete.
8718a420
RM
4159 * hppa-tdep.c (hppa_frame_chain, hppa_frame_chain_valid)
4160 (hppa_push_dummy_frame, hppa_pop_frame, hppa_push_arguments)
4161 (hppa_fix_call_dummy, hppa64_stack_align, hppa_frame_saved_pc)
78161e48 4162 (hppa_init_extra_frame_info, hppa_saved_pc_after_call)
8718a420
RM
4163 (hppa64_call_dummy_breakpoint_offset, hppa_frame_init_saved_regs)
4164 (hppa_frameless_function_invocation, hppa64_store_return_value)
4165 (hppa_store_struct_return, hppa64_extract_return_value)
78161e48 4166 (hppa64_use_struct_convention, hppa_frame_find_saved_regs)
8718a420 4167 (hppa32_call_dummy_length, hppa64_call_dummy_length)
78161e48 4168 (find_dummy_frame_regs, FUNC_LDIL_OFFSET, FUNC_LDO_OFFSET)
8718a420
RM
4169 (find_proc_framesize, deposit_21, restore_pc_queue)
4170 (find_return_regnum, pc_in_interrupt_handler, deposit_14)
210197d2 4171 (rp_saved, pc_in_linker_stub): Delete.
78161e48 4172
782eae8b
AC
4173 Unconditionally enable 64-bit frame and ABI code.
4174 * hppa-tdep.c (hppa_gdbarch_init): Do not set deprecated
4175 call_dummy_breakpoint_offset, call_dummy_length, stack_align,
4176 push_dummy_frame, fix_call_dummy, push_arguments,
4177 call_dummy_location, extract_return_value, use_struct_convention,
4178 store_return_value, store_struct_return, saved_pc_after_call,
4179 init_frame_pc, frame_init_saved_regs, init_extra_frame_info,
4180 frame_chain, frame_chain_valid, frameless_function_invocation,
4181 frame_saved_pc, and pop_frame.
78161e48 4182
449e1137
AC
4183 * hppa-tdep.c: Replace PC_REGNUM with PCOQ_HEAD_REGNUM.
4184 (hppa64_return_value, hppa64_push_dummy_call): Rewrite.
4185 (hppa_gdbarch_init): Do not set PC_REGNUM.
4186
12507572
MK
41872004-03-06 Mark Kettenis <kettenis@gnu.org>
4188
4189 * config/alpha/tm-fbsd.h: Remove file.
4190 * config/alpha/fbsd.mt: Tweak comment.
4191 (TM_FILE): Set to tm-alpha.h.
4192
c107cc1b
AC
41932004-03-05 Andrew Cagney <cagney@redhat.com>
4194
4195 * infrun.c (step_over_function): When non-legacy code, and no
4196 step_frame_id, use the unwinder to get the caller's frame ID.
4197
f2e7c15d
MK
41982004-03-05 Mark Kettenis <kettenis@gnu.org>
4199
8b0c3633
MK
4200 * i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
4201 i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
4202 bfd_arch_unknown. Adjust comment.
4203
f2e7c15d
MK
4204 * i386-nat.c: Fix typo in comment. Re-introduce paranoiac.
4205 * i386obsd-tdep.c: Correct spelling in comment.
4206 * i386nbsd-tdep.c: Correct spelling in comment.
4207 * sparc-tdep.c: Correct spelling in comments.
4208
1198ecbe
DC
42092004-03-05 David Carlton <carlton@kealia.com>
4210
4211 * cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion
4212 bug.
4213
9eb42ed1
MK
42142004-03-05 Mark Kettenis <kettenis@gnu.org>
4215
4216 * sparc-tdep.c: Fix typo in comment.
4217
52b5e991
JB
42182004-03-04 J. Brobecker <brobecker@gnat.com>
4219
4220 * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.
4221
d8151005
DJ
42222004-03-04 Daniel Jacobowitz <drow@mvista.com>
4223
4224 * dwarf2read.c: Add comment describing memory lifetimes.
4225 (struct dwarf2_pinfo): Update comment.
4226 (dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope)
4227 (read_enumeration, new_symbol): Don't use obsavestring.
4228
cbeae229
MK
42292004-03-04 Mark Kettenis <kettenis@gnu.org>
4230
722d18c2
MK
4231 * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
4232 instead of amd64_fill_fxsave.
4233 * amd64bsd-nat.c (store_inferior_registers): Likewise.
4234 * amd64fbsd-nat.c (fill_fpregset): Likewise.
4235
cbeae229
MK
4236 * sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
4237 Reorganize code a bit.
4238
b4206d25
OF
42392004-03-04 Orjan Friberg <orjanf@axis.com>
4240
4241 * cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset
8718a420
RM
4242 when the frame pointer is pushed. Don't set the frame pointer's
4243 address on the stack unless it's actually located there.
b4206d25
OF
4244 Set the SRP's address on the stack correctly when the PC is still in
4245 the prologue.
4246 (cris_return_value): New function.
4247 (cris_gdbarch_init): Clear deprecated store_return_value,
4248 extract_return_value.
4249
49b0b195
JB
42502004-03-02 Jim Blandy <jimb@redhat.com>
4251
4252 * stabsread.c (reg_value_complaint): The maximum register number
4253 is one less than the number of registers.
4254
e9ff708b
AC
42552004-03-02 Andrew Cagney <cagney@redhat.com>
4256
4257 * i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM,
4258 I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM. Remove
4259 trailing comma and redundant assignment of I386_ST0_REGNUM.
4260 * amd64-nat.c (amd64_collect_native_gregset): Zero-extend the
4261 32-bit segment registers.
4262
d4715e41
AC
42632004-03-01 Andrew Cagney <cagney@redhat.com>
4264
4265 * rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error,
4266 use frame_relative_level and get_next_frame.
4267
3ce2bf18
AC
42682004-02-29 Andrew Cagney <cagney@redhat.com>
4269
4270 * rs6000-tdep.c (rs6000_init_frame_pc_first): New function.
4271 (rs6000_gdbarch_init): Set deprecated_init_frame_pc_first.
4272 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST):
4273 Delete macro.
4274
2da6aac3
DJ
42752004-02-29 Daniel Jacobowitz <drow@mvista.com>
4276
4277 * inflow.c (terminal_inferior): Don't give up the terminal if we
4278 previously couldn't get the inferior's terminal state.
4279
6ba34a8d
DJ
42802004-02-29 Daniel Jacobowitz <drow@mvista.com>
4281
4282 * regcache.c (read_pc_pid): Restore inferior_ptid after reading
4283 PC_REGNUM.
4284
faae5abe
AC
42852004-02-28 Andrew Cagney <cagney@redhat.com>
4286
4287 * NEWS: Refer to GDB 6.1.
4288 * README: Refer to GDB 6.1.
4289 * PROBLEMS: Refer to GDB 6.1.
4290
2227a3c5
DJ
42912004-02-28 Daniel Jacobowitz <drow@mvista.com>
4292
4293 * thread-db.c (disable_thread_signals): Remove unused function.
4294
80571bff
MK
42952004-02-28 Mark Kettenis <kettenis@gnu.org>
4296
041bd74b
MK
4297 * amd64-nat.c: Include "gdb_string.h".
4298 (amd64_collect_native_gregset): Zero-extend the 32-bit
4299 general-purpose registers and %eip.
4300
3c017e40
MK
4301 * amd64-tdep.h: (amd64_collect_fxsave): New prototype.
4302 * amd64-tdep.c (amd64_collect_fxsave): New function.
4303 (amd64_fill_fxsave): Simply call amd64_collect_fxsave.
4304
80571bff
MK
4305 * i387-tdep.h: Update copyright year.
4306 (i387_collect_fxsave): New prototype.
4307 * i387-tdep.c: Update copyright year.
4308 (i387_collect_fxsave): New function containing most of the code
4309 from i387_fill_fxsave.
4310 (i387_fill_fxsave): Call i387_collect_fxsave.
4311
50d71875
AC
43122004-02-28 Andrew Cagney <cagney@redhat.com>
4313
4314 * amd64-linux-nat.c (ps_get_thread_area): When architecture is
4315 i386 use PTRACE_GET_THREAD_AREA. Suggested by Roland McGrath.
4316
4a28816e
MK
43172004-02-28 Mark Kettenis <kettenis@gnu.org>
4318
4319 * amd64-tdep.c (amd64_frame_cache): Fix comment.
4320
dbda9972
AC
43212004-02-28 Andrew Cagney <cagney@redhat.com>
4322
4323 * utils.c: Use "", instead of <>, to include readline.
4324 tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto.
4325 * tracepoint.c, top.c, symmisc.c, symfile.c: Ditto.
4326 * source.c, solib.c, exec.c, event-top.c: Ditto.
4327 * corelow.c, completer.c, cli/cli-setshow.c: Ditto.
4328 * cli/cli-dump.c, cli/cli-cmds.c: Ditto.
4329 * Makefile.in: Update all dependencies.
4330 (readline_tilde_h, readline_history_h): Define.
4331 (readline_headers): Delete.
4332
83277a99
MK
43332004-02-28 Mark Kettenis <kettenis@gnu.org>
4334
91ae4303
MK
4335 * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
4336 "config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to
4337 "config/i386/tm-lx64.h".
4338
83277a99
MK
4339 * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to
4340 "amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c". Remove
4341 rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".
4342
6e1d7d6c
AC
43432004-02-28 Andrew Cagney <cagney@redhat.com>
4344
ecc9ac84
AC
4345 * dwarf2-frame.h (struct gdbarch): Add opaque declaration.
4346
6e1d7d6c
AC
4347 * breakpoint.c (_initialize_breakpoint): Use
4348 "add_setshow_auto_boolean_cmd. Better word-wrap help messages.
4349 Add help to show command.
4350
9671aeef
MK
43512004-02-28 Mark Kettenis <kettenis@gnu.org>
4352
7fa2737c
MK
4353 * i386-nat.c: Reformat to be closer to coding standards.
4354 (i386_handle_nonaligned_watchpoint): Rename local variable `rv' to
4355 `retval'. Make variables `align' and `size' local to while-loop.
4356 (i386_stopped_data_address): Rename local variable `ret' to `addr'.
4357 (_initialize_i386_nat): New prototype.
4358
9671aeef
MK
4359 * tui/tui.c: Include <readline/readline.h> instead of
4360 "readline/readline.h". Include it after <term.h> and
4361 "gdb_curses.h".
4362
fca7aa43
AC
43632004-02-27 Andrew Cagney <cagney@redhat.com>
4364
412275d5
AC
4365 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use
4366 the new frame unwind code.
4367 (hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM.
4368 (hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from
4369 PCOQ_HEAD_REGNUM.
4370
fca7aa43
AC
4371 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always
4372 "return_value" and "push_dummy_call".
4373 (hppa32_use_struct_convention): Delete unused function.
4374 (hppa32_store_return_value): Delete unused function.
4375 (hppa32_extract_return_value): Delete unused function.
4376 (hppa32_stack_align): Delete function.
4377
e6a8a7d2
EZ
43782004-02-27 Eli Zaretskii <eliz@elta.co.il>
4379
4380 * coffread.c (enter_linenos): Don't let rawptr reference memory
4381 outside linetab[]'s limits.
4382
1797a8f6
AC
43832004-02-27 Andrew Cagney <cagney@redhat.com>
4384
4385 * hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving
4386 inferior stack space - the stack needs to grow upwards.
4387 (hppa32_frame_align): New function.
4388 (hppa64_frame_align): Replace hppa_frame_align.
4389 (hppa_gdbarch_init): Update.
4390
2e4b5889
OF
43912004-02-26 Orjan Friberg <orjanf@axis.com>
4392
4393 * cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h)
4394 (dwarf2-frame.h): Include.
4395 (enum cris_regnums): New enum CRIS_FP_REGNUM.
4396 Remove static variables related to ABI setting.
4397 (struct gdbarch_tdep): Remove cris_abi member.
4398 (struct frame_extra_info): Remove.
4399 (cris_unwind_cache, stack_item): New structs.
4400 (cris_frame_unwind, cris_frame_base): New variables.
4401 (push_stack_item, pop_stack_item)
4402 (cris_frame_unwind_cache, cris_frame_this_id)
4403 (cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align)
4404 (cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer)
4405 (cris_frame_base_address, cris_scan_prologue, cris_unwind_pc)
4406 (cris_unwind_sp, cris_store_return_value, cris_extract_return_value)
4407 (cris_reg_struct_has_addr): New functions.
4408 (cris_examine, cris_frame_init_saved_regs, cris_frame_chain)
8718a420 4409 (cris_frame_saved_pc, cris_saved_pc_after_call,
2e4b5889
OF
4410 (cris_store_struct_return, cris_frameless_function_invocation)
4411 (cris_pop_frame, cris_skip_prologue_main)
4412 (cris_abi_original_store_return_value)
4413 (cris_abi_v2_store_return_value)
4414 (cris_abi_original_extract_return_value)
4415 (cris_abi_v2_extract_return_value)
4416 (cris_abi_original_reg_struct_has_addr)
4417 (cris_abi_v2_reg_struct_has_addr)
4418 (cris_abi_original_push_arguments, cris_abi_v2_push_arguments)
4419 (cris_push_return_address, cris_abi_update): Remove.
4420 (_initialize_cris_tdep): Remove ABI command.
4421 (cris_dump_tdep): Ditto.
8718a420 4422 (cris_gdbarch_init): Remove ABI command.
2e4b5889
OF
4423 Set store_return_value, extract_return_value, push_dummy_code,
4424 push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id,
4425 frame_unwind_append_sniffer, frame_base_set_default.
4426 Clear deprecated init_frame_pc, push_arguments, store_return_value,
4427 extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words,
4428 sizeof_call_dummy_words, get_saved_register, push_return_address,
8718a420 4429 pop_frame, store_struct_return, frame_init_saved_regs,
2e4b5889
OF
4430 init_extra_frame_info, frameless_function_invocation, frame_chain,
4431 frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos,
4432 dummy_write_sp.
8718a420 4433
6b9acc27
JJ
44342004-02-26 Jeff Johnston <jjohnstn@redhat.com>
4435
4436 * valprint.h (print_hex_chars, print_char_chars): New prototypes.
4437 * valprint.c (print_hex_chars): Change from static to external.
4438 (print_char_chars): New function.
4439 * printcmd.c (print_scalar_formatted): For integer and enum types
4440 that are longer than LONGEST, perform processing via appropriate
4441 print_*_chars routines.
4442
a431654a
AC
44432004-02-26 Andrew Cagney <cagney@redhat.com>
4444
4445 * Makefile.in: Update dependencies.
4446 Changes from Ulrich Weigand,
4447 * s390-tdep.c: Include "dwarf2-frame.h".
4448 (s390_dwarf2_frame_init_reg): New function.
4449 (s390_gdbarch_init): Install dwarf2_frame_sniffer and
4450 dwarf2_frame_base_sniffer. Call dwarf2_frame_set_init_reg.
4451
fa8d40ab
JJ
44522004-02-26 Jeff Johnston <jjohnstn@redhat.com>
4453
4454 * breakpoint.c (pending_break_support): New setting variable.
4455 (break_command_1): Account for pending_break_support setting
4456 when creating pending breakpoints.
4457 (set_breakpoint_cmd, show_breakpoint_cmd): New functions.
4458 (_initialize_breakpoint): Add "set breakpoint pending" and
4459 "show breakpoint pending" commands.
4460
0dcd613f
AC
44612004-02-26 Andrew Cagney <cagney@redhat.com>
4462
4463 Fix PR i18n/1570.
4464 * charset.c (backslashable, backslashed, represented): Remove 'e'
4465 from list of escaped characters, not part of ISO-C.
4466
479272a3
JB
44672004-02-25 J. Brobecker <brobecker@gnat.com>
4468
4469 From Peter Schauer <schauer@pdf.de>:
4470 * tui/tui.c: Move system header includes after local includes.
4471 Fixes a build failure on solaris systems.
4472
7613d933
JB
44732004-02-25 J. Brobecker <brobecker@gnat.com>
4474
4475 * configure.in: Refine the previous change.
4476 * configure: Regenerate.
4477
9c1488cb
MK
44782004-02-25 Mark Kettenis <kettenis@gnu.org>
4479
4480 * amd64-tdep.h: Renamed from x86-64-tdep.h.
4481 * amd64-tdep.c: Renamed from x86-64-tdep.c. Include
4482 "amd64-tdep.h" instead of "x86-64-tdep.h".
4483 * amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h".
4484 * amd64-linux-tdep.h: Renamed from x86-64-linux.h.
4485 * amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c. Include
4486 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
4487 and "x86-64-tdep.c".
4488 * amd64-linux-nat.c: Renamed from x86-64-linux-nat.c. Include
4489 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
4490 and "x86-64-tdep.c".
4491 * amd64bsd-nat.c: Update copyright year.
4492 Include "amd64-tdep.h" instead of "x86-64-tdep.h".
4493 * amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of
4494 "x86-64-tdep.h".
4495 * amd64fbsd-nat.c: Include "amd64-tdep.h" instead of
4496 "x86-64-tdep.h".
4497 * amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of
4498 "x86-64-tdep.h".
4499 * amd64nbsd-nat.c: Include "amd64-tdep.h" instead of
4500 "x86-64-tdep.h".
4501 * amd64obsd-tdep.c: Include "amd64-tdep.h" instead of
4502 "x86-64-tdep.h".
4503 * amd64obsd-nat.c: Include "amd64-tdep.h" instead of
4504 "x86-64-tdep.h".
8718a420 4505 * configure.host: (x86_64-*-linux*): Set gdb_target to linux64.
9c1488cb
MK
4506 * configure.tgt (x86_64-*-linux*): Set gdb_target to linux64.
4507 * Makefile.in (amd64_linux_tdep_h): Renamed from
4508 x86_64_linux_tdep_h.
4509 (amd64_tdep_h): Renamed from x86_64_tdep_h.
4510 (amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o)
4511 (amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o)
4512 (amd64obsd-tdep.o): Update dependencies.
4513 (amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New
4514 dependencies.
4515 (x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove
4516 dependencies.
4517 (ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c,
4518 amd64-linux-nat.c amd64-linux-tdep.c.
4519 * config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h
4520 * config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h.
4521 * config/i386/linux64.mt: Renamed from x86-64linux.mt.
4522 (TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with
4523 amd64-tdep.o and amd64-linux-tdep.o.
4524 (TM_FILE): Set to tm-linux64.h.
4525 * config/i386/linux64.mh: Renamed from x86-64linux.mh.
4526 (NAT_FILE): Set to nm-linux64.h.
4527 (NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o.
4528 * config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
4529 amd64-tdep.o.
4530 * config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
4531 amd64-tdep.o.
4532 * config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
4533 amd64-tdep.o.
4534
4b8dad4a
RM
45352004-02-25 Roland McGrath <roland@redhat.com>
4536
4537 * remote.c (remote_protocol_qPart_auxv): New variable.
4538 (init_all_packet_configs): Initialize it.
4539 (set_remote_protocol_qPart_auxv_packet_cmd): New function.
4540 (show_remote_protocol_qPart_auxv_packet_cmd): New function.
4541 (show_remote_cmd): Call it.
4542 (_initialize_remote): Initialize commands.
4543 (remote_xfer_partial): If enabled, use qPart:auxv:read:... query to
4544 service TARGET_OBJECT_AUXV requests.
4545
66745969
JB
45462004-02-25 J. Brobecker <brobecker@gnat.com>
4547
4548 * configure.in: Make sure that the wborder function is available.
4549 Otherwise, search for it in the cur_colr library.
4550 * configure: Regenerate.
4551
79508e1e
AC
45522004-02-25 Andrew Cagney <cagney@redhat.com>
4553
4554 * hppa-tdep.c (hppa32_push_dummy_call): Rewrite.
4555
571ee600
MK
45562004-02-25 Mark Kettenis <kettenis@gnu.org>
4557
4558 * config/i386/tm-x86-64linux.h: Tweak comments.
4559
2b1b322f 45602004-02-25 Richard Sandiford <rsandifo@redhat.com>
ad74788f
RS
4561
4562 * MAINTAINERS: Add self to write-after-approval list.
4563
4d2acc65
AC
45642004-02-25 Andrew Cagney <cagney@redhat.com>
4565
4b8dad4a 4566 PR cli/1566. Problem found, and fix suggested by David Allan.
4d2acc65
AC
4567 * cli/cli-script.c (execute_control_command): Unconditionally
4568 install a cleanup. Default "ret" to "invalid_control". Use
4569 "break" instead of "return" to escape from the switch.
4570
4cfcaf21
JB
45712004-02-24 J. Brobecker <brobecker@gnat.com>
4572
4573 * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision
4574 with the lines macro defined in term.h on AiX.
4575 * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid
4576 a collision with the label_width macro defined in term.h on AiX.
4577
54a5c8d8
KB
45782004-02-23 David Mosberger <davidm@hpl.hp.com>
4579
4580 Committed by Kevin Buettner <kevinb@redhat.com>.
4581
4582 * ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare.
4583 * ia64-tdep.c (ia64_write_pc): Make it a global function.
4584 (ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc()
4585 instead of ia64_write_pc().
4586 * ia64-linux-tdep.c (regcache.h): Include.
4587 (ia64_linux_write_pc): New function.
4b8dad4a 4588
8a1dac83
RM
45892004-02-23 Roland McGrath <roland@redhat.com>
4590
4591 * auxv.c (info_auxv_command): Fix typos in error messages.
4592
90f90721
MK
45932004-02-23 Mark Kettenis <kettenis@gnu.org>
4594
8a1dac83 4595 * x86-64-tdep.h: Tweak comment.
90f90721
MK
4596 (enum amd64_regnum): New.
4597 (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM)
4598 (X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM)
4599 (X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM)
4600 (X86_64_XMM1_REGNUM): Removed.
4601 (AMD64_NUM_GREGS): Renamed from X86_64_NUM_GREGS.
4602 (amd64_init_abi, amd64_supply_fxsave, amd64_fill_fxsave): Adjust
4603 prototypes for renamed functions.
4604 * x86-64-tdep.c: Fix typo.
4605 (amd64_dwarf_regmap): Use constants from `enum amd64_regnum' for
4606 register numbers.
4607 (amd64_return_value, amd64_push_arguments, amd64_push_dummy_call):
4608 Use constants from `enum amd64_regnum' for register numbers.
4609 (AMD64_NUM_SAVED_REGS): Adjust for renamed macros.
4610 (amd64_analyze_prologue, amd64_frame_cache,
4611 amd64_sigtramp_frame_cache): Use constants from `enum
4612 amd64_regnum' for register numbers.
4613 (amd64_supply_fpregset): Adjust for renamed functions.
4614 (amd64_init_abi): Rename from x86_64_init_abi. Use constants from
4615 `enum amd64_regnum' for register numbers.
4616 (I387_ST0_REGNUM): Use constant from `enum amd64_regnum'.
4617 (amd64_supply_fxsave): Rename from x86_64_supply_fxsave.
4618 (amd64_fill_fxsave): Rename fro x86_64_fill_fxsave.
4619 * x86-64-linux-tdep.c (amd64_linux_supply_gregset)
4620 (amd64_linux_fill_gregset): Adjust for renamed macros.
4621 (fetch_core_registers): Adjust for renamed functions.
4622 (amd64_linux_init_abi): Adjust for renamed functions.
4623 * x86-64-linux-nat.c (supply_gregset, fill_gregset): Adjust for
4624 renamed functions.
4625 * amd64-nat.c: Adjust for renamed macros.
4626 * amd64bsd-nat.c (fetch_inferior_registers)
4627 (store_inferior_registers): Use constants from `enum amd64_regnum'
4628 for register numbers. Adjust for renamed variables.
4629 * amd64fbsd-nat.c (supply_gregset, fill_gregset): Adjust for
4630 renamed variables.
4631 (_initialize_amd64fbsd_nat): Use constants from `enum
4632 amd64_regnum' for register numbers.
4633 * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use constants from
4634 `enum amd64_regnum' for register numbers.
4635 (amd64fbsd_init_abi): Adjust for renamed functions.
4636 * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Use constants from
4637 `enum amd64_regnum' for register numbers.
4638 (amd64nbsd_init_abi): Adjust for renamed functions.
4639 (_initialize_amd64nbsd_ndep): Adjust for renamed macros.
4640 * amd64obsd-tdep.c (amd64obsd_sigcontext_addr): Use constants from
4641 `enum amd64_regnum' for register numbers.
4642 (amd64obsd_init_abi): Adjust for renamed functions.
4643 (_initialize_amd64obsd_ndep): Adjust for renamed macros.
4644
d5479188
JJ
46452004-02-23 Jeff Johnston <jjohnstn@redhat.com>
4646
4647 * breakpoint.c (print_one_breakpoint): Do not output spaces
4648 after printing <PENDING> for a pending breakpoint.
4649
81cb7cc9
JJ
46502004-02-23 Jeff Johnston <jjohnstn@redhat.com>
4651
4652 * printcmd.c (print_scalar_formatted): Initialize val_long
4653 to remove compiler warning message.
4654
cbdeadca
JJ
46552004-02-23 Jeff Johnston <jjohnstn@redhat.com>
4656
4657 * defs.h (nquery, yquery): New prototypes.
4658 * breakpoint.c (break_command_1): Use new nquery interface.
4659 * utils.c (defaulted_query, nquery, yquery): New functions.
4660
da6bab63
AC
46612004-02-23 Andrew Cagney <cagney@redhat.com>
4662
2f690297
AC
4663 * hppa-tdep.c (hppa_frame_align): New function.
4664 (hppa32_push_dummy_call): New function.
4665 (hppa64_push_dummy_call): New function.
4666 (hppa_gdbarch_init): Set frame_align and push_dummy_call; keep
4667 disabled.
8a1dac83 4668
da6bab63
AC
4669 * infcall.c (legacy_push_dummy_code): Don't call deprecated
4670 FIX_CALL_DUMMY when push_dummy_call is available.
4671 (call_function_by_hand, push_dummy_code): Ditto.
4672
abf9b42d
AC
46732004-02-22 Andrew Cagney <cagney@redhat.com>
4674
4675 * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro.
4676 (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro.
4677 (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro.
4678 * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated
4679 use_generic_dummy_frames, set deprecated pc_in_call_dummy, set
4680 call_dummy_location to ON_STACK.
4681
10fc94a4
MK
46822004-02-22 Mark Kettenis <kettenis@gnu.org>
4683
51433e4b
MK
4684 * x86-64-linux-tdep.c: Tweak comment.
4685 (amd64_linux_supply_gregset): Renamed from
4686 x86_64_linux_supply_gresget.
4687 (amd64_linux_fill_gregset): Renamed from
4688 x86_64_linux_fill_gregset.
4689 (fetch_core_registers): Adjust for renamed functions.
4690 (amd64_core_fns): Renamed from x86_64_core_fns.
4691 (amd64_linux_sigtramp_start): Renamed from
4692 x86_64_linux_sigtramp_start.
4693 (amd64_linux_pc_in_sigtramp): Renamed from
4694 x86_64_linux_pc_in_sigtramp. Adjust for renamed functions.
4695 (AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Renamed from
4696 X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET.
4697 (amd64_linux_sigcontext_addr): Renamed from
4698 x86_64_linux_sigcontext_addr.
4699 (amd64_linux_sc_reg_offset): Renamed from
4700 x86_64_linux_sc_reg_offset.
4701 (amd64_linux_init_abi): Renamed from x86_64_linux_init_abi.
4702 Adjust for renamed functions and variables.
4703 (_initialize_amd64_linux_tdep): Renamed from
4704 _initialize_x86_64_linux_tdep. Adjust for renamed functions and
4705 variables.
4706 * x86-64-linux-tdep.h: Update copyright year. Tweak comment.
4707 Adjust for renamed functions.
4708
430eaf2e
MK
4709 * x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename
4710 from x86_64_linux_gregset64_reg_offset.
4711 (amd64_linux_gregset32_reg_offset): Rename from
4712 x86_64_linux_gregset64_reg_offset.
4713 (amd64_linux_dr_get): Renamed from x86_64_linux_dr_get.
4714 (amd64_linux_dr_set): Renamed from x86_64_linux_dr_set.
4715 (amd64_linux_dr_set_control): Renamed from
4716 x86_64_linux_dr_set_control. Adjust for renamed functions.
4717 (amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr.
4718 Adjust for renamed functions.
4719 (amd64_linux_dr_reset_addr): Renamed from
4720 x86_64_linux_dr_reset_addr. Adjust for renamed functions.
4721 (amd64_linux_dr_get_status): Renamed from
4722 x86_64_linux_dr_get_status. Adjust for renamed functions.
4723 (_initialize_amd64_linux_nat): Renamed from
4724 _initialize_x86_64_linux_nat. Adjust for renamed variables and
4725 functions.
4726 * config/i386/nm-x86-64linux.h: Update copyright year.
4727 Adjust for renamed functions.
4728
10fc94a4
MK
4729 * amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from
4730 amd64fbsd_sigtramp_start.
4731 (amd64fbsd_sigtramp_end_addr): Renamed from
4732 amd64fbsd_sigtramp_end.
4733 (amd64fbsd_init_abi): Adjust for renamed variables.
4734 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Adjust for renamed
4735 variables.
4736 * x86-64-tdep.h (amd64fbsd_sigtramp_start_addr): Renamed from
4737 amd64fbsd_sigtramp_start.
4738 (amd64fbsd_sigtramp_end_addr): Renamed from
4739 amd64fbsd_sigtramp_end.
4740
343af405
AC
47412004-02-22 Andrew Cagney <cagney@redhat.com>
4742
537987fc
AC
4743 * hppa-tdep.c (hppa32_return_value): New function.
4744 (hppa64_return_value): New function.
4745 (hppa_gdbarch_init): Set return_value; keep disabled.
4746
fad850b2
AC
4747 * hppa-tdep.c (hppa_gdbarch_init): Re-order separating
4748 struct-return and inferior function call methods.
4749
26d08f08
AC
4750 * hppa-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
4751 "frame-base.h".
4752 (struct hppa_frame_cache): Define.
4753 (hppa_frame_cache, hppa_frame_this_id): New functions.
4754 (hppa_frame_prev_register): New function.
4755 (hppa_frame_unwind, hppa_frame_base): New variables.
4756 (hppa_frame_unwind_sniffer): New function.
4757 (hppa_frame_base_address, hppa_unwind_pc): New function.
4758 (hppa_gdbarch_init): Set unwind_dummy_id, unwind_pc, frame unwind
4759 sniffer, and frame base sniffer; keep disabled.
4760 (hppa_frame_base_sniffer, hppa_unwind_dummy_id): New functions.
4761 * Makefile.in: Update dependencies, fix s/nbsd/obsd/ typo.
4762
e7d7bd65
AC
4763 * frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p
4764 to predicates for "seriously old code".
4765
e963316f
AC
4766 * hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into
4767 runtime if(0).
4768
56132691
AC
4769 * hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint"
4770 unsigned.
4771 (hppa_frame_find_saved_regs): Fix "std" instruction pattern
e963316f 4772
343af405
AC
4773 * config/pa/tm-hppa.h: Update copyright.
4774 (DEPRECATED_INIT_FRAME_PC): Delete macro.
4775 (deprecated_init_frame_pc_default): Delete declaration.
4776 (hppa_frame_init_saved_regs): Delete declaration.
4777 (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
4778 * hppa-tdep.c: Include "arch-utils.h".
4779 (hppa_gdbarch_init): Set deprecated init_frame_pc
4780 and deprecated frame_init_saved_regs.
4781 (hppa_frame_init_saved_regs): Make static.
4782
f5859b4d
MK
47832004-02-22 Mark Kettenis <kettenis@gnu.org>
4784
86f6f8e7 4785 Remove old 386BSD support.
cf7c5c23 4786 * NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*.
86f6f8e7
MK
4787 * configure.host: Remove i[34567]86-*-bsd*.
4788 * configure.tgt: Remove i[34567]86-*-bsd*.
4789 * i386b-nat.c: Removed.
4790 * Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
cf7c5c23
MK
4791 (i386b-nat.o): Remove dependencies.
4792
86f6f8e7
MK
4793 * config/i386/i386bsd.mh: Removed.
4794 * config/i386/i386bsd.mt: Removed.
4795 * config/i386/nm-i386bsd.h: Removed.
4796 * config/i386/tm-i386bsd.h: Removed.
4797 * config/i386/xm-i386bsd.h: Removed.
4798
971218cd
MK
4799 * x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.
4800
7e654c37
MK
4801 * amd64fbsd-tdep.c: Include "solib-svr4.h".
4802 (amd64fbsd_init_abi): Set link map offsets.
4803 * amd64nbsd-tdep.c: Include "slib-svr4.h".
4804 (amd64nbsd_init_abi): Set link map offsets.
4805 * amd64obsd-tdep.c: Include "solib-svr4.h".
4806 (amd64obsd_init_abi): Set link map offsets.
4807 * i386fbsd-tdep.c: Include "solib-svr4.h".
4808 (i386fbsd_init_abi): Set link map offsets.
4809 * i386nbsd-tdep.c: Include "solib-svr4.h".
4810 (i386nbsdelf_init_abi): Set link map offsets.
4811 * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o)
4812 (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies.
4813 * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o,
4814 solib-legacy.o and core-aout.o. Reformat.
4815 * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o,
4816 solib-svr4.o, solib-legacy.o. Reformat.
4817 * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o. Reformat.
4818 * config/i386/nbsdelf.mh: Reformat.
4819 * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o,
4820 solib-svr4.o, solib-legacy.o and corelow.o.
4821 * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat.
4822 * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o,
4823 solib-svr4.o, solib-legacy.o and corelow.o. Reformat.
4824 * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o.
4825 * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o.
4826 (TM_FILE): Set to tm-fbsd.h.
4827 * config/i386/nbsd.mt (TDEPFILES): Reformat.
4828 * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and
4829 solib-svr4.o.
4830 * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and
4831 solib-svr4.o.
4832 (TM_FILE): Set to nm-nbsd.h.
4833 * config/i386/nm-fbsd.h: Update copyright year. Tweak comments.
4834 Simplify shared library support. Don't include "elf/common.h".
4835 (SVR4_SHARED_LIBS): Don't define.
4836 * config/i386/nm-fbsd64.h: Update copyright year. Don't include
4837 "solib.h".
4838 * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h,
4839 config/i386/nm-obsd.h: Update copyright year. Tweak comments.
4840 * config/i386/tm-fbsd.h: Update copyright tear. Tweak comments.
4841 Don't include "i386/tm-i386.h". Include "solib.h".
4842 * config/i386/tm-nbsd.h: Update copyright year. Tweak comments.
4843 Don't include "i386/tm-i386.h".
4844 * config/i386/xm-i386.h: Update copyright year. Tweak comments.
4845 * config/i386/xm-nbsd.h: Update copyright year. Tweak comments.
4846 Include "i386/xm-i386.h".
4847 (HOST_LONG_DOUBLE_FORMAT): Remove.
4848
5d93ae8c
MK
4849 Fix OpenBSD/i386 sigtramp recognition.
4850 * i386-tdep.h: Update copyright year.
4851 (i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start)
4852 (i386bsd_sigtramp_end): New prototypes.
4853 (i386fbsd_sigtramp_start_addr): Renamed from
4854 i386fbsd_sigtramp_start.
4855 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
4856 (i386obsd_sigtramp_start_addr): Renamed from
4857 i386obsd_sigtramp_start.
4858 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
4859 * i386bsd-tdep.c: Update copyright year.
4860 (i386bsd_pc_in_sigtramp): Make public.
4861 * i386fbsd-nat.c: Update copyright year.
4862 (_initialize_i386fbsd_nat): Adjust for renamed variables.
4863 * i386fbsd-tdep.c: Update copyright year.
4864 (i386fbsd_sigtramp_start_addr): Renamed from
4865 i386fbsd_sigtramp_start.
4866 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
4867 (i386fbsdaout_init_abi): Adjust for renamed variables.
4868 * i386obsd-nat.c: Update copyright year.
4869 (_initialize_i386obsd_nat): Adjust for renamed variables.
4870 * i386obsd-tdep.c: Include "target.h".
4871 (i386obsd_page_size): New variable.
4872 (i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start)
4873 (i386obsd_sigtramp_end): New functions.
4874 (i386obsd_sigtramp_start_addr): Renamed from
4875 i386obsd_sigtramp_start.
4876 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
4877 (i386obsd_init_abi): Adjust for renamed variables. Set
4878 pc_in_sigtramp, sigtramp_start and sigtramp_end.
4879 * Makefile.in (i386obsd-tdep.o): Update dependencies.
4880
84d04465
MK
4881 * amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
4882 trampoline change in OpenBSD kernel.
4883
b053aceb
MK
4884 * amd64-nat.c: Update copyright year.
4885 (amd64_supply_native_gregset, amd64_collect_native_gregset): Use
4886 architecture from REGCACHE.
4887
f5859b4d
MK
4888 * x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use
4889 symbolic constants from <sys/reg.h> instead of hard-coded numbers.
4890
e4bbbda8
MK
48912004-02-21 Mark Kettenis <kettenis@gnu.org>
4892
ba361932
MK
4893 * configure.host: Add i[34567]86-*-openbsd[0-2].* and
4894 i[34567]86-*-openbsd3.[0-3].
4895 * config/i386/obsdaout.mh: New file.
4896
d3e48264
MK
4897 * config/i386/obsd.mh (MH_FLAGS): Remove.
4898
60a6eeb6
MK
4899 Fix PR build/1549.
4900 * i386obsd-tdep.c: Update copyright years. Include
4901 "solib-svr4.h".
4902 (i386obsd_init_abi): Don't set regset_from_core_section here.
4903 (i386obsd_aout_init_abi): New function. Set
4904 regset_from_core_section here.
4905 (i386obsd_elf_init_abi): New function.
4906 (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF.
4907 * Makefile.in (i386obsd-tdep.o): Update dependecies.
4908 * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
4909 (TM_FILE): Set to tm-nbsd.h.
4910
4911 * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and
4912 solib-sunos.o.
4913
e4bbbda8
MK
4914 * solib-svr4.h: Update copyright year.
4915 (svr4_ilp32_fetch_link_map_offsets)
4916 (svr4_lp64_fetch_link_map_offsets): New prototype.
4917 * solib-svr4.c: Update copyright year.
4918 (svr4_ilp32_fetch_link_map_offsets)
4919 (svr4_lp64_fetch_link_map_offsets): New function.
4920
f6fe98ef
DJ
49212004-02-20 Daniel Jacobowitz <drow@mvista.com>
4922
4923 * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
4924 to the partial symbol table.
4925
589ca796
JB
49262004-02-20 J. brobecker <brobecker@gnat.com>
4927
4928 * PROBLEMS: Add description of problem documented under gdb/1560.
4929
2031c21a
MK
49302004-02-20 Mark Kettenis <kettenis@gnu.org>
4931
30b344b1
MK
4932 * amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h". Fix
4933 comments.
4934 (amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New
4935 functions.
4936 (amd64obsd_init_abi): Reorder initializations. Use
4937 amd64obsd_r_reg_offset to initialize the general-purpose register
4938 set details. Set regset_from_core_section.
4939 (_initialize_amd64obsd_tdep): Rename from
4940 _initialize_amd64obsd_ndep. Add OS ABI handler for core dumps.
4941 * Makefile.in (amd64obsd-tdep.o): Update dependencies.
4942 * config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o.
4943
2031c21a
MK
4944 * NEWS (New native configurations): Mention OpenBSD/alpha.
4945 * configure.tgt: Add alpha*-*-openbsd*.
4946 * configure.host: Add alpha*-*-openbsd*.
4947 * alphanbsd-tdep.c: Update copyright year.
4948 (_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF.
4949
42471775
AC
49502004-02-20 Andrew Cagney <cagney@redhat.com>
4951
4952 Fix PR tdep/1372.
4953 * configure.tgt: Delete target "none-*-*".
4954 * configure.host: Delete host "none-*-*".
4955 * config/none/none.mh: Delete file.
4956 * config/none/none.mt: Delete file.
4957 * config/none/xm-none.h: Delete file.
4958 * config/none/tm-none.h: Delete file.
4959 * config/none/nm-none.h: Delete file.
4960
960ccd7d
FF
49612004-02-19 Fred Fish <fnf@redhat.com>
4962
4963 * sh-tdep.c (sh_analyze_prologue): Eliminate useless test of
4964 cache->uses_fp prior to setting it.
4965
5f883edd
FF
49662004-02-19 Fred Fish <fnf@redhat.com>
4967
4968 Fix for PR breakpoint/1558.
4969 * sh-tdep.c (IS_JSR): New macro.
4970 (sh_analyze_prologue): Use IS_JSR to terminate prologue scan.
4971
f98c22d5
JB
49722004-02-19 Jim Blandy <jimb@redhat.com>
4973
4974 * findvar.c (value_from_register): Doc fix.
4975
95051d27
JJ
49762004-02-19 Jeff Johnston <jjohnstn@redhat.com>
4977
4978 * printcmd.c (print_scalar_formatted): Do not check for sizeof
4979 type being greater than sizeof of host's LONGEST. Always use
4980 unpack_long() unless format 'f' chosen.
4981
ccefbec3
EZ
49822004-02-19 Joel Brobecker <brobecker@gnat.com>
4983
4984 Committed by Elena Zannoni <ezannoni@redhat.com>
2ede629f 4985
ccefbec3
EZ
4986 * symtab.c (find_pc_sect_psymtab): Return the psymtab that
4987 contains a symbol wich is the best, non-exact match for the given
4988 pc. Update comments.
4989
49902004-02-19 Elena Zannoni <ezannoni@redhat.com>
8a1dac83 4991
2ede629f
EZ
4992 * event-top.c (async_request_quit): Remove uses of REQUEST_QUIT
4993 macro, which was part of the now removed Mach 3 port.
4994 * utils.c (request_quit): Ditto.
4995
567ee972
MK
49962004-02-18 Mark Kettenis <kettenis@gnu.org>
4997
4998 * config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and
4999 "amd64obsd-nat.c" to "a64ob-tdep.c" and "a64ob-nat.c".
5000
50cca7bb
MK
50012004-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5002
5003 Committed by Mark Kettenis <kettenis@gnu.org>.
5004
5005 * config/s390/nm-linux.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT):
5006 Define.
5007
226361c4
AC
50082004-02-18 Andrew Cagney <cagney@redhat.com>
5009
5010 * configure.in: Add a TUI target to CONFIG_ALL, CONFIG_CLEAN,
5011 CONFIG_INSTALL and CONFIG_UNINSTALL.
5012 * configure: Re-generate.
5013 * interps.h (INTERP_TUI): Define.
5014 * Makefile.in: Update dependencies.
5015 (TUI): New macro.
5016 (tui-main.o): Specify dependencies.
5017 (install-tui, uninstall-tui, clean-tui, all-tui): New rules.
5018 * tui/tui-main.c: New file.
5019
49cfa46f
MK
50202004-02-18 Mark Kettenis <kettenis@gnu.org>
5021
e2879ccb
MK
5022 * amd64obsd-tdep.c, amd64obsd-nat.c: New files.
5023 * Makefile.in (amd64obsd-nat.o, amd64obsd-tdep.o): New
5024 dependencies.
5025 * configure.host: Add x86_64-*-openbsd*.
5026 * configure.tgt: Add x86_64-*-openbsd*.
5027 * config/i386/obsd64.mt, config/i386/obsd64.mh: New files.
5028
c43f4bec
MK
5029 * tui/tui.c: Don't include <malloc.h>.
5030
09ae75b6
MK
5031 * Makefile.in (ALLDEPFILES): Add amd64-nat.c, amd64bsd-nat.c,
5032 amdfbsd-nat.c, amd64-fbsd-tdep.c, amd64nbsd-nat.c and
5033 amd64nbsd-tdep.c.
5034
49cfa46f 5035 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make
8a1dac83 5036 static. Remove extraneous whitespace.
49cfa46f
MK
5037 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Make
5038 static.
5039
05957fdb
JB
50402004-02-17 Jim Blandy <jimb@redhat.com>
5041
5042 * findvar.c (value_from_register): Doc fix.
5043
d0f54f9d
JB
50442004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5045
5046 Committed by Jim Blandy <jimb@redhat.com>.
e1457d83 5047
8a1dac83 5048 * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use
c253954e
JB
5049 CORE_ADDR as type for selectors. Correct types for GNU run time
5050 message lookup function to use double indirection.
5051 * objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type.
5052 * objc-lang.h (lookup_child_selector): Adapt prototype.
5053
9cbd5950
JB
5054 * s390-nat.c (SUBOFF): New macro.
5055 (supply_gregset, fill_gregset): Use it to handle debugging
5056 of 32-bit exectuables running under a 64-bit kernel.
5057 * s390-tdep.c: Include "solib-svr4.h".
5058 (s390_svr4_fetch_link_map_offset): New function.
5059 (s390x_svr_fetch_link_map_offset): Likewise.
5060 (s390_gdbarch_init): Call set_solib_svr4_fetch_link_map_offsets.
5061 * Makefile.in (s390-tdep.o): Update dependencies.
5062
a8c99f38
JB
5063 * s390-tdep.c: Include "trad-frame.h", "frame-base.h", and
5064 "frame-unwind.h".
5065 (s390_readinstruction): Reformat. Use read_memory_nobpt.
5066 (GDB_TARGET_IS_ESAME, S390_GPR_SIZE, S390_FPR_SIZE): Remove.
5067 (S390_SYSCALL_OPCODE, S390_SYSCALL_SIZE): Remove.
5068 (S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET,
5069 S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET,
5070 S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET,
8a1dac83 5071 S390_SIGNAL_FRAMESIZE,
a8c99f38
JB
5072 s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove.
5073 (struct frame_extra_info): Remove.
5074 (s390_memset_extra_info): Remove.
f73b1eff
JB
5075 (op1_ag, op1_ay, op1_brasl, op1_brc, op1_brcl, op1_lay, op1_lg)
5076 (op1_lmy, op1_ly, op1_sg, op1_stmy, op1_sty, op1_sy, op_a)
5077 (op_agr, op_bas, op_bc, op_bcr, op_sgr, op_sr): New opcodes.
a8c99f38
JB
5078 (is_rse): Renamed to ...
5079 (is_rsy): ... this. Support long displacements.
5080 (is_rxe): Renamed to ...
5081 (is_rxy): ... this. Support long displacements.
5082 (compute_x_addr): Support long displacements.
5083 (struct s390_prologue_data): New data type.
5084 (s390_on_stack): Change API to use struct s390_prologue_data.
5085 (s390_store): Reimplement.
5086 (s390_load): New function.
5087 (s390_get_signal_frame_info): Remove.
5088 (s390_get_frame_info): Remove, replace by ...
5089 (s390_analyze_prolog): ... this new function.
5090 (s390_check_function_end): Remove.
5091 (s390_function_start): Remove.
5092 (s390_frameless_function_invokation): Remove.
5093 (s390_is_sigreturn): Remove.
5094 (s390_init_frame_pc_first): Remove.
5095 (s390_init_frame_extra_info): Remove.
5096 (s390_frame_init_saved_regs): Remove.
5097 (s390_frame_saved_pc_nofix): Remove.
5098 (s390_frame_saved_pc): Remove.
5099 (s390_frame_chain): Remove.
5100 (s390_fp_regnum, s390_read_fp): Remove.
5101 (s390_pop_frame_regular, s390_pop_frame): Remove.
5102 (s390_saved_pc_after_call): Remove.
5103 (s390_skip_prologue): Reimplement.
5104 (s390_in_function_epilogue_p): Support long displacements.
5105 (struct s390_unwind_cache): New data structure.
5106 (s390_frame_unwind_cache): New function.
5107 (s390_prologue_frame_unwind_cache): Likewise.
5108 (s390_backchain_frame_unwind_cache): Likewise.
5109 (s390_frame_this_id, s390_frame_prev_register): Likewise.
5110 (s390_frame_unwind): Define.
5111 (s390_frame_sniffer): New function.
5112 (struct s390_pltstub_unwind_cache): New data structure.
5113 (s390_pltstub_frame_unwind_cache): New function.
5114 (s390_pltstub_frame_this_id): Likewise.
5115 (s390_pltstub_frame_prev_register): Likewise.
5116 (s390_pltstub_frame_unwind): Define.
5117 (s390_pltstub_frame_sniffer): New function.
5118 (struct s390_sigtramp_unwind_cache): New data structure.
5119 (s390_sigtramp_frame_unwind_cache): New function.
5120 (s390_sigtramp_frame_this_id): Likewise.
5121 (s390_sigtramp_frame_prev_register): Likewise.
5122 (s390_sigtramp_frame_unwind): Define.
5123 (s390_sigtramp_frame_sniffer): New function.
5124 (s390_frame_base_address, s390_local_base_address): New functions.
5125 (s390_frame_base): Define.
5126 (s390_unwind_pc, s390_unwind_sp): New function.
5127 (s390_push_dummy_call): Use new frame base location.
5128 (s390_unwind_dummy_id): Likewise.
5129 (s390_gdbarch_init): Remove calls to:
5130 set_gdbarch_frameless_function_invocation,
5131 set_gdbarch_deprecated_init_frame_pc,
5132 set_gdbarch_deprecated_frame_chain,
5133 set_gdbarch_deprecated_frame_init_saved_regs,
5134 set_gdbarch_deprecated_pop_frame,
5135 set_gdbarch_deprecated_init_extra_frame_info,
5136 set_gdbarch_deprecated_init_frame_pc_first,
5137 set_gdbarch_deprecated_target_read_fp,
5138 set_gdbarch_deprecated_frame_saved_pc,
5139 set_gdbarch_deprecated_saved_pc_after_call,
5140 set_gdbarch_deprecated_fp_regnum.
5141 Add calls to:
5142 set_gdbarch_in_solib_call_trampoline,
5143 frame_unwind_append_sniffer,
5144 frame_base_set_default,
5145 set_gdbarch_unwind_pc,
5146 set_gdbarch_unwind_sp.
5147 * Makefile.in (s390-tdep.o): Update dependencies.
5148
b0cf273e
JB
5149 * s390-tdep.c (struct gdbarch_tdep): Add 'abi' member.
5150 (S390_STACK_FRAME_OVERHEAD): Remove.
5151 (S390_STACK_PARAMETER_ALIGNMENT): Remove.
5152 (S390_NUM_FP_PARAMETER_REGISTERS): Remove.
5153 (s390_promote_integer_argument): Remove.
5154 (s390_cannot_extract_struct_value_address): Remove.
5155 (s390_use_struct_convention, s390_store_struct_return): Remove.
5156 (s390_extract_return_value, s390_store_return_value): Remove.
5157 (s390_return_value_convention, s390_return_value): New functions.
5158 (is_float_singleton): Handle typedefs.
8a1dac83 5159 (is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref):
b0cf273e
JB
5160 Remove, replace by ...
5161 (s390_function_arg_pass_by_reference, s390_function_arg_float,
5162 s390_function_arg_integer): ... these new functions.
5163 (s390_push_arguments, s390_push_return_address): Remove, replace by ...
5164 (s390_push_dummy_call, s390_unwind_dummy_id): ... these new functions.
5165 (s390_gdbarch_init): Remove s390_call_dummy_words and elf_flags.
5166 Fill in tdep->abi.
5167 Remove calls to:
5168 set_gdbarch_deprecated_store_struct_return,
5169 set_gdbarch_deprecated_extract_return_value,
5170 set_gdbarch_deprecated_store_return_value,
5171 set_gdbarch_use_struct_convention,
5172 set_gdbarch_extract_struct_value_address,
5173 set_gdbarch_deprecated_pc_in_call_dummy,
5174 set_gdbarch_deprecated_push_arguments,
5175 set_gdbarch_deprecated_save_dummy_frame_tos,
5176 set_gdbarch_deprecated_push_return_address,
5177 set_gdbarch_deprecated_sizeof_call_dummy_words,
5178 set_gdbarch_deprecated_call_dummy_words,
5179 set_gdbarch_deprecated_dummy_write_sp.
5180 Add calls to:
5181 set_gdbarch_push_dummy_call,
5182 set_gdbarch_unwind_dummy_id,
5183 set_gdbarch_return_value.
8a1dac83 5184
e1457d83
JB
5185 * config/s390/nm-linux.h: Update comments.
5186 (target_insert_watchpoint, target_remove_watchpoint): Redefine.
5187 (STOPPED_BY_WATCHPOINT): Redefine.
5188 (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Redefine to 1.
5189 (s390_insert_watchpoint, s390_remove_watchpoint): Update prototype.
5190 (s390_stopped_by_watchpoint): Likewise.
5191 (watch_area_cnt): Remove.
5192 * s390-nat.c: Update comments.
5193 (watch_area): Remove typedef.
5194 Global replace watch_area by struct watch_area.
5195 (watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove.
8a1dac83 5196 (s390_stopped_by_watchpoint): Remove pid argument,
e1457d83
JB
5197 use s390_inferior_tid. Add short-cut for the no watchpoint case.
5198 (s390_fix_watch_points): Remove pid argument,
5199 use s390_inferior_tid. Recompute area spanned by watchpoints.
5200 (s390_insert_watchpoint, s390_remove_watchpoint): Remove pid
5201 argument. Reimplement.
5202
d0f54f9d
JB
5203 * config/s390/nm-linux.h: Update comments. Do not include "solib.h".
5204 (KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove.
5205 (FETCH_INFERIOR_REGISTERS): Define.
8a1dac83 5206 * config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and
d0f54f9d
JB
5207 core-regset.o.
5208 * config/s390/s390x.mt: Remove.
5209 * config/s390/tm-s390.h: Remove.
5210 * config/s390/tm-linux.h: Do not include "s390/tm-s390.h".
5211 (TARGET_ELF64): Remove.
5212 (SKIP_TRAMPOLINE_CODE): Do not undefine.
5213 * configure.tgt [s390-*-*, s390x-*-*]: Merge into single
5214 s390*-*-* case; always set gdb_target to s390.
5215 * regformats/reg-s390.dat: Remove control registers.
5216 * regformats/reg-s390x.dat: Likewise.
5217 * s390-tdep.h: New file.
8a1dac83 5218 * s390-nat.c: Do not include <asm/processor.h> or <value.h>.
d0f54f9d
JB
5219 Include "inferior.h" and "s390-tdep.h".
5220 Remove private definition of offsetof.
5221 (s390_register_u_addr): Remove.
5222 (regmap_gregset, regmap_fpregset): Define.
5223 (supply_gregset, fill_gregset): Reimplement.
5224 (supply_fpregset, fill_fpregset): Likewise.
5225 (s390_inferior_tid): New function.
5226 (fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise.
5227 (fetch_inferior_registers, store_inferior_registers): Likewise.
5228 * s390-tdep.c: Do not define S390_TDEP. Include "defs.h" instead
5229 of <defs.h>. Include "reggroups.h", "regset.h", and "s390-tdep.h".
5230 Global replace of S390_GP0_REGNUM by S390_R0_REGNUM.
5231 Global replace of S390_FP0_REGNUM by S390_F0_REGNUM.
5232 (struct gdbarch_tdep): Define.
5233 (struct s390_register_info): Define.
5234 (s390_register_info): New variable.
5235 (s390_register_name): Reimplement.
5236 (s390_register_type): New function.
5237 (s390_register_raw_size, s390x_register_raw_size): Remove.
5238 (s390_cannot_fetch_register): Remove.
5239 (s390_register_byte): Remove.
5240 (s390_register_virtual_type, s390x_register_virtual_type): Remove.
5241 (s390_dwarf_regmap): New variable.
5242 (s390_dwarf_reg_to_regnum): New function.
5243 (s390_stab_reg_to_regnum): Remove.
5244 (s390_pseudo_register_read, s390_pseudo_register_write): New functions.
5245 (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
5246 (s390_convert_register_p): Likewise.
5247 (s390_register_to_value, s390_value_to_register): Likewise.
5248 (s390_register_reggroup_p): Likewise.
5249 (s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset,
5250 s390_gregset, s390x_gregset, s390_fpregset): New variables.
5251 (s390_supply_regset, s390_regset_from_core_section): New functions.
5252 (GDB_TARGET_IS_ESAME): Move here from tm-s390.h.
5253 (S390_FPR_SIZE): Likewise.
5254 (S390_GPR_SIZE): Likewise. Redefine in terms of GDB_TARGET_IS_ESAME.
5255 Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE.
5256 (S390_NUM_GPRS): Move here from tm-s390.h.
5257 (S390_NUM_FPRS): Likewise.
5258 (s390_in_function_epilogue_p): New function.
5259 (s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE.
5260 Replace S390_PC_REGNUM by S390_PSWA_REGNUM.
5261 (s390_gdbarch_init): Allocate and set up gdbarch_tdep structure.
5262 Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum.
5263 Replace S390_FP_REGNUM by S390_SP_REGNUM.
5264 Remove calls to:
5265 set_gdbarch_deprecated_max_register_raw_size,
8a1dac83
RM
5266 set_gdbarch_deprecated_max_register_virtual_size,
5267 set_gdbarch_deprecated_register_byte,
d0f54f9d 5268 set_gdbarch_cannot_fetch_register,
8a1dac83 5269 set_gdbarch_cannot_store_register,
d0f54f9d
JB
5270 set_gdbarch_deprecated_register_size,
5271 set_gdbarch_deprecated_register_raw_size,
5272 set_gdbarch_deprecated_register_virtual_size,
5273 set_gdbarch_deprecated_register_virtual_type,
5274 set_gdbarch_deprecated_register_bytes.
5275 Add calls to:
5276 set_gdbarch_num_pseudo_regs,
5277 set_gdbarch_register_type,
5278 set_gdbarch_convert_register_p,
5279 set_gdbarch_register_to_value,
5280 set_gdbarch_value_to_register,
5281 set_gdbarch_register_reggroup_p,
5282 set_gdbarch_regset_from_core_section,
5283 set_gdbarch_pseudo_register_read,
5284 set_gdbarch_pseudo_register_write,
5285 set_gdbarch_in_function_epilogue_p.
5286 * Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies.
5287 (s390_tdep_h): New variable.
5288
8cfe231d
JB
52892004-02-17 Jim Blandy <jimb@redhat.com>
5290
4589a601
JB
5291 * findvar.c (value_from_register): If the type has no length, just
5292 return an acceptable value --- don't report an internal error.
5293
8cfe231d
JB
5294 * stabsread.c (read_type): If we find any type numbers that are
5295 forward references, complain if the references aren't resolved by
5296 the time we're finished reading.
5297 (cleanup_undefined_types): Make error message more appropriate for
5298 a complaint.
5299
5bf0017e
EZ
53002004-02-17 Elena Zannoni <ezannoni@redhat.com>
5301
9d62932d
EZ
5302 * Makefile.in (defs_h): Remove dependency on progress_h.
5303 * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of
5304 progress.h.
5305 * main.c (captured_main): Delete use of START_PROGRESS and
5306 END_PROGRESS.
5307
53082004-02-17 Elena Zannoni <ezannoni@redhat.com>
8a1dac83 5309
5bf0017e
EZ
5310 * objfiles.c (terminate_minimal_symbol_table): Add back
5311 initialization of MSYMBOL_TYPE.
5312
9fc9f5e2
AC
53132004-02-17 David Mosberger <davidm@hpl.hp.com>
5314
5315 Committed by Andrew Cagney.
5316 * Makefile.in (ia64_tdep_h): New macro.
5317 (ia64-linux-tdep.o): Mention $(ia64_tdep_h).
5318 (ia64-tdep.o): Likewise.
5319 * ia64-tdep.h: New file.
5320 * ia64-tdep.c: Update copyright notice. Include "ia64-tdep.h".
5321 (ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h.
5322 (ia64_aix_sigcontext_register_address): Likewise.
5323 (ia64_linux_getunwind_table): Delete declaration.
5324 * ia64-linux-tdep.c: Likewise.
5325
76cd2bd9
CV
53262004-02-17 Corinna Vinschen <vinschen@redhat.com>
5327
5328 * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM.
5329 * sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to
5330 DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM.
5331
634aa483
AC
53322004-02-17 Andrew Cagney <cagney@redhat.com>
5333
5334 * symtab.c (skip_prologue_using_sal): New function.
5335 * symtab.h (skip_prologue_using_sal): Declare.
5336 * frv-tdep.c: Include "symtab.h".
5337 (skip_prologue_using_sal): Delete function.
5338 * mips-tdep.c (skip_prologue_using_sal): Delete function.
5339 * rs6000-tdep.c (refine_prologue_limit): Mention
5340 skip_prologue_using_sal.
5341 * ia64-tdep.c (refine_prologue_limit): Ditto.
5342 * Makefile.in: Update dependencies.
5343
53442004-02-16 Andrew Cagney <cagney@redhat.com>
19772a2c 5345
39ce7b3f
AC
5346 * config/alpha/tm-nbsd.h: Update copyright, delete #undef
5347 START_INFERIOR_TRAPS_EXPECTED.
5348 * config/alpha/tm-fbsd.h: Update copyright, delete #undef
5349 START_INFERIOR_TRAPS_EXPECTED.
5350 * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED):
5351 Delete macro.
5352 * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete
5353 macro, moved to "nm-osf.h". Update copyright.
5354 * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define,
5355 update copyright.
5356
19772a2c
AC
5357 * gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate
5358 and function replacing FRAMELESS_FUNCTION_INVOCATION.
5359 * blockframe.c (legacy_frameless_look_for_prologue): Rename
5360 frameless_look_for_prologue.
5361 * frame.h (legacy_frameless_look_for_prologue): Rename
5362 frameless_look_for_prologue.
5363 * gdbarch.h, gdbarch.c: Re-generate.
5364 * sh64-tdep.c (sh64_gdbarch_init): Update.
5365 * sh-tdep.c (sh_gdbarch_init): Update.
5366 * s390-tdep.c (s390_gdbarch_init): Update.
5367 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
5368 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
5369 * m68k-tdep.c (m68k_gdbarch_init): Update.
5370 (delta68_frame_args_address): Update.
5371 * m32r-tdep.c (m32r_gdbarch_init): Update.
5372 * hppa-tdep.c (hppa_gdbarch_init): Update.
5373 * h8300-tdep.c (h8300_gdbarch_init): Update.
5374 * frv-tdep.c (frv_gdbarch_init): Update.
5375 (frv_frameless_function_invocation): Update.
5376 * cris-tdep.c (cris_gdbarch_init): Update.
5377 (cris_frameless_function_invocation): Update.
5378 * avr-tdep.c (avr_gdbarch_init): Update.
5379 * arm-tdep.c (arm_gdbarch_init): Update.
5380 * stack.c (frame_info): Update, call predicate.
5381 * rs6000-tdep.c (rs6000_frame_chain): Update, call predicate..
5382 * frame.c (legacy_get_prev_frame): Update, call predicate..
5383 * arch-utils.c (generic_frameless_function_invocation_not): Delete.
5384 * arch-utils.h (generic_frameless_function_invocation_not): Delete.
5385 * alpha-tdep.c (alpha_gdbarch_init): Do not set frameless function
5386 invocation.
5387 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
5388 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
5389 * vax-tdep.c (vax_gdbarch_init): Ditto.
2be8b3c1
AC
5390
5391 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused
5392 function.
5393
7dcaac91
DJ
53942004-02-16 Daniel Jacobowitz <drow@mvista.com>
5395
5396 * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
5397 initializations.
5398
88289b6e
AC
53992004-02-16 Andrew Cagney <cagney@redhat.com>
5400
5401 * tui/tui-windata.c: Include "gdb_string.h".
5402 * tui/tui-source.c, tui/tui-winsource.c: Ditto.
5403 * tui/tui-layout.c, tui/tui-command.c: Ditto.
5404 * Makefile.in: Update dependencies.
5405
9f976b41
DJ
54062004-02-16 Daniel Jacobowitz <drow@mvista.com>
5407
5408 * Makefile.in (infrun.o): Add $(gdb_assert_h).
5409 * infrun.c: Include "gdb_assert.h".
5410 (singlestep_ptid, saved_singlestep_ptid)
5411 (stepping_past_singlestep_breakpoint): New variables.
5412 (resume): Set singlestep_ptid. Check for singlestep thread
5413 hop.
5414 (init_wait_for_inferior): Clear stepping_past_singlestep_breakpoint.
5415 (handle_inferior_event): Handle singlestep thread hop.
5416
c324d747
AC
54172004-02-16 Andrew Cagney <cagney@redhat.com>
5418
f090b9b1
AC
5419 * dwarf2-frame.c (dwarf2_frame_ops): New function.
5420 (dwarf2_frame_set_init_reg): Use, instead of gdbarch_data.
5421 (dwarf2_frame_init_reg): Ditto.
5422
fd33e6cb
AC
5423 * printcmd.c (display_command): Check that EXP isn't NULL. Fix
5424 suggested by Joshua Neuheisel
5425
c324d747
AC
5426 * configure.in: Always check for curses, including pdcurses.
5427 Warn, instead of error, when no curses are found. Enable TUI when
5428 curses is available.
5429 * configure: Re-generate.
5430
b66ba949
CV
54312004-02-16 Corinna Vinschen <vinschen@redhat.com>
5432
5433 * sh-tdep.c (sh_register_convert_to_virtual): Rename from
5434 sh_sh4_register_convert_to_virtual.
5435 (sh_register_convert_to_raw): Rename from
5436 sh_sh4_register_convert_to_raw.
5437 (sh_pseudo_register_read): Accomodate above name change.
5438 (sh_pseudo_register_write): Ditto.
5439
b58cbbf2
CV
54402004-02-16 Corinna Vinschen <vinschen@redhat.com>
5441
5442 * sh-tdep.c (sh_generic_register_name): Remove.
5443 (sh_gdbarch_init): Use sh_sh_register_name in default case.
5444
5929a910
AC
54452004-02-15 Andrew Cagney <cagney@redhat.com>
5446
4566dfcf
AC
5447 * configure.in (build_warnings): Add -Wunused-function.
5448 * configure: Re-generate.
5449
db11ed55
AC
5450 * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro.
5451 * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto.
5452
46ac7a5d
AC
5453 * procfs.c (procfs_init_inferior): Assume that
5454 START_INFERIOR_TRAPS_EXPECTED is defined.
5455 * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h.
5456 * config/ns32k/tm-nbsd.h: Delete file,
5457 START_INFERIOR_TRAPS_EXPECTED already defined as 2.
5458
ba801595
AC
5459 * config/vax/tm-vaxbsd.h: Do not include "tm-vax.h".
5460 * config/vax/tm-vax.h: Delete file.
5461
5929a910
AC
5462 * config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
5463 * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
5464 * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro.
5465 * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
5466 * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference.
5467 * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
5468 * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference.
5469
8f22cb90
MK
54702004-02-15 Mark Kettenis <kettenis@gnu.org>
5471
5472 * dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype.
5473 * dwarf2-frame.c (dwarf2_frame_data): New variable.
5474 (struct dwarf2_frame_ops): New.
5475 (dwarf2_frame_default_init_reg): New function, based on
5476 dwarf2_frame_init_reg.
5477 (dwarf2_frame_init, dwarf2_frame_set_init_reg): New function.
5478 (dwarf2_frame_init_reg): Call architecture-specific function.
5479 (dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data.
5480 (dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data
5481 instead of dwarf2_frame_data.
5482 (_initialize_dwarf2_frame): Initailize new dwarf2_frame_data.
5483 Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data.
5484
8132723e
AC
54852004-02-15 Andrew Cagney <cagney@redhat.com>
5486
046a4708
AC
5487 * gdbarch.sh (deprecated_register_gdbarch_swap): Rename
5488 register_gdbarch_swap.
5489 (DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP.
5490 * f-lang.c (_initialize_f_language): Update, use
5491 DEPRECATED_REGISTER_GDBARCH_SWAP.
5492 * remote.c (_initialize_remote): Ditto.
5493 * regcache.c (_initialize_regcache): Ditto.
5494 * parse.c (_initialize_parse): Ditto.
5495 * infrun.c (_initialize_infrun): Ditto.
5496 * mi/mi-main.c (_initialize_mi_main): Ditto.
5497 * gdbtypes.c (_initialize_gdbtypes): Ditto.
8a1dac83 5498
549c1eea
AC
5499 * solib.c (solib_map_sections): Use bfd_set_cacheable instead of
5500 poking .cacheable directly.
5501 * symfile.c (symfile_bfd_open): Ditto.
5502
0c0b39de
AC
5503 * Makefile.in: Update all dependencies.
5504
8132723e
AC
5505 * Makefile.in: (.SUFFIXES): Add ".l" and ".y".
5506 (.y.c, .l.c): Specify implicit rule. Instead of .tab.c, generate
5507 .c. Update references. Delete unnecessary .tab.c and -lex.c rules.
5508 (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule.
5509 (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar.
0c0b39de 5510
b9d26eb9
AC
55112004-02-14 Andrew Cagney <cagney@redhat.com>
5512
8e1f669a
AC
5513 * arch-utils.c (legacy_convert_register_p): Check
5514 DEPRECATED_REGISTER_CONVERTIBLE_P.
5515 * findvar.c (value_of_register): Ditto.
5516
cd0bfa36
AC
5517 * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate.
5518 * gdbarch.h, gdbarch.c: Re-generate.
5519 * arch-utils.c (deprecated_register_convertible_not): Delete.
5520 * arch-utils.h (deprecated_register_convertible_not): Delete.
5521 * mi/mi-main.c (get_register): Update. Update copyright.
5522 * infcmd.c (default_print_registers_info): Update.
5523
b9d26eb9
AC
5524 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
5525 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete.
5526 (DEPRECATED_CALL_DUMMY_ADDRESS): Delete.
8a1dac83 5527 * gdbarch.h, gdbarch.c: Re-generate.
b9d26eb9
AC
5528 * frame.c (deprecated_get_next_frame_hack): Delete function.
5529 * frame.h (deprecated_get_next_frame_hack): Delete declaration.
5530 * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
5531 Update.
5532 * infcall.c (call_function_by_hand): Update.
5533
9ab9195f
EZ
55342004-02-14 Elena Zannoni <ezannoni@redhat.com>
5535
5536 * symfile.c (init_entry_point_info, entry_point_address): Move
8a1dac83 5537 from here...
9ab9195f
EZ
5538 * objfiles.c (init_entry_point_info, entry_point_address):..to
5539 here.
5540 * symfile.h (init_entry_point_info, entry_point_address): Remove
5541 prototypes.
5542 * objfiles.h (init_entry_point_info, entry_point_address):Add
8a1dac83 5543 prototypes.
9ab9195f
EZ
5544 * cris-tdep.c: Remove include of symfile.h. Add include of
5545 objfiles.h.
5546 * infcall.c: Ditto.
5547 * mcore-tdep.c: Ditto.
5548 * mn10300-tdep.c: Ditto.
5549 * sh64-tdep.c: Ditto.
5550 * v850-tdep.c: Ditto.
5551 * arm-tdep.c: Remove include of symfile.h.
5552 * blockframe.c: Ditto.
5553 * coffread.c: Ditto.
5554 * dbxread.c: Ditto.
5555 * dwarf2read.c: Ditto.
5556 * dwarfread.c: Ditto.
8a1dac83 5557 * frv-tdep.c: Ditto.
9ab9195f
EZ
5558 * ia64-tdep.c: Ditto.
5559 * mdebugread.c: Ditto.
5560 * mipsread.c: Ditto.
8a1dac83 5561 * rs6000-tdep.c: Ditto.
9ab9195f
EZ
5562 * s390-tdep.c: Ditto.
5563 * sh-tdep.c: Ditto.
8a1dac83 5564 * xstormy16-tdep.c: Ditto.
9ab9195f
EZ
5565 * gdbarch.sh: Remove include of symfile.h.
5566 * gdbarch.c: Regenerate.
5567 * solib-irix.c (enable_break): Use entry_point_address().
5568 Add comment about include file.
5569 * xcoffread.c: Add comment about include file.
8a1dac83
RM
5570 * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o)
5571 (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o)
5572 (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o)
5573 (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o)
9ab9195f
EZ
5574 (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies.
5575
c4c5b7ba
AC
55762004-02-13 Andrew Cagney <cagney@redhat.com>
5577
5578 * corelow.c (core_xfer_partial): Use "struct bfd_section".
5579 * config/sparc/nm-nbsd.h (struct target_ops): Declare, update
5580 copyright.
5581 * mips-linux-tdep.c: Use "GNU/Linux", update copyright.
5582
3e7879de
FF
55832004-02-12 Fred Fish <fnf@redhat.com>
5584
5585 * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to
5586 set_gdbarch_store_return_value.
5587
6a7760b6
AC
55882004-02-12 Andrew Cagney <cagney@redhat.com>
5589
5590 * remote-rdi.c (arm_rdi_start_remote): Delete unused function.
5591 (arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto.
5592 (interrupt_query): Ditto.
5593 (ofunc): Delete unused variable.
5594 * cris-tdep.c (cris_abi): Delete unused function.
5595 (reg_pop_op, move_reg_to_mem_index_inc_op): Ditto.
5596 (cris_get_wide_opcode, cris_get_short_size): Ditto.
5597 (cris_get_asr_quick_shift_steps): Ditto.
5598 (cris_skip_prologue_frameless_p): Ditto.
5599 * arm-tdep.c (arm_push_return_address): Delete unused function.
5600 (arm_push_dummy_frame, arm_fix_call_dummy): Ditto.
5601 * rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function.
5602 * s390-tdep.c (s390_function_start): Delete unused function.
5603
31687c3c
AC
56042004-02-12 Andrew Cagney <cagney@redhat.com>
5605
5606 * gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete.
5607 gdbarch.h, gdbarch.c: Re-generate.
5608 * cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p
5609 to generic_prologue_frameless_p.
5610 * arch-utils.h (generic_prologue_frameless_p): Delete declaration.
5611 * arch-utils.c (generic_prologue_frameless_p): Delete function.
5612
6de918a6
DJ
56132004-02-11 Daniel Jacobowitz <drow@mvista.com>
5614
5615 * mips-linux-tdep.c: Include "frame.h".
5616 (mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code)
5617 (mips_linux_skip_resolver): New functions.
5618 (mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver
5619 and set_gdbarch_in_solib_call_trampoline.
5620 * mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call
5621 to after set_gdbarch_in_solib_return_trampoline. Only set the
5622 solib hooks to mips16 functions if the OS ABI is unknown.
5623 * config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after
5624 including "config/tm-linux.h".
5625 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Define.
5626 * Makefile.in (mips-linux-tdep.o): Update.
5627
87b3ede8
DC
56282004-02-11 David Carlton <carlton@kealia.com>
5629
5630 * linespec.c (decode_compound): Only look for a class symbol when
5631 considering all but the rightmost component.
5632
5979bc46
AC
56332004-02-11 Andrew Cagney <cagney@redhat.com>
5634
5635 * hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and
5636 abi code are are separatly grouped.
5637
5867a2fb
AC
56382004-02-11 Andrew Cagney <cagney@redhat.com>
5639
5640 * gdbarch.sh (FRAME_ARGS_SKIP): Default to 0.
5641 * gdbarch.h, gdbarch.c: Re-generate.
5642 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
5643 * v850-tdep.c (v850_gdbarch_init): Update.
5644 * sh64-tdep.c (sh64_gdbarch_init): Update.
5645 * sh-tdep.c (sh_gdbarch_init): Update.
5646 * s390-tdep.c (s390_gdbarch_init): Update.
5647 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
5648 * mips-tdep.c (mips_gdbarch_init): Update.
5649 * mcore-tdep.c (mcore_gdbarch_init): Update.
5650 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
5651 * m32r-tdep.c (m32r_gdbarch_init): Update.
5652 * ia64-tdep.c (ia64_gdbarch_init): Update.
5653 * hppa-tdep.c (hppa_gdbarch_init): Update.
5654 * h8300-tdep.c (h8300_gdbarch_init): Update.
5655 * frv-tdep.c (frv_gdbarch_init): Update.
5656 * d10v-tdep.c (d10v_gdbarch_init): Update.
5657 * cris-tdep.c (cris_gdbarch_init): Update.
5658 * avr-tdep.c (avr_gdbarch_init): Update.
5659 * arm-tdep.c (arm_gdbarch_init): Update.
5660 * alpha-tdep.c (alpha_gdbarch_init): Update.
5661
026a72f8
CV
56622004-02-11 Corinna Vinschen <vinschen@redhat.com>
5663
5664 * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing
5665 comma.
5666 (sh_sh4al_dsp_register_name): Ditto.
5667
3903d437
AC
56682004-02-10 Andrew Cagney <cagney@redhat.com>
5669
5670 * mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code.
5671 (mips_init_frame_pc_first): Delete function.
5672 (mips_frame_saved_pc): Delete function.
5673 (mips_frame_chain): Delete function.
5674 (mips_init_extra_frame_info): Delete function.
5675 (mips_xfer_register): Delete unused variable "reg".
5676 (mips_n32n64_push_dummy_call): Delete unused variable "valbuf".
5677 (mips_n32n64_return_value): Delete unused variable "reg".
5678 (mips_n32n64_return_value): Delete unused variable "pos".
5679 (mips_o32_push_dummy_call): Delete unused variable "valbuf".
5680 (mips_o32_return_value): Delete unused variable "pos".
5681 (mips_o64_push_dummy_call): Delete unused variable "valbuf".
5682 (mips_print_fp_register): Delete unused variable "namelen"
5683 (mips_print_fp_register): Delete unused variable "flt2"
5684 (get_frame_pointer): Delete function.
5685 (cached_proc_desc): Delete static variable.
5686 (mips_pop_frame): Delete function.
5687 (mips_find_saved_regs): Delete function.
5688 (mips_get_saved_register): Delete function.
5689 (mips_saved_pc_after_call): Delete function.
5690 (SIGFRAME_BASE): Delete macro.
5691 (SIGFRAME_FPREGSAVE_OFF): Delete macro.
5692 (SIGFRAME_PC_OFF): Delete macro.
5693 (SIGFRAME_REGSAVE_OFF): Delete macro.
5694 (mips_dump_tdep): Do not print deleted macro definitions.
5695
b9fb98bd
AC
56962004-02-10 Andrew Cagney <cagney@redhat.com>
5697
5698 * Makefile.in (SFILES): Remove explictly listed tui files.
5699 (SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c.
5700
78ced177 57012004-02-10 Jeff Johnston <jjohnstn@redhat.com>
8a1dac83 5702
78ced177
JJ
5703 * ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement
5704 to use paddr functions to format ia64 addresses and long values.
5705 (ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto.
5706 (ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto.
5707 (get_kernel_table, ia64_find_proc_info_x): Ditto.
5708 (ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto.
5709 (ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto.
5710
6a83354a
AC
57112004-02-10 Andrew Cagney <cagney@redhat.com>
5712
5713 * defs.h: Do not include "tui.h".
5714 * gdb_curses.h: New file.
5715 * tui/tui-hooks.h: New file.
5716 * tui/tui.h (tui_update_all_exec_infos): Delete declaration.
5717 (tui_install_hooks, tui_remove_hooks): Delete declarations.
5718 (tui_initialize_io): Delete declaration.
5719 (tui_initialize_readline: Delete redundant declaration.
5720 (struct tui_point): Delete definition.
5721 * tui/tui-data.h (struct tui_point): Define.
5722 * cli/cli-decode.c [TUI]: Include "tui/tui.h".
5723 * utils.c: Include "tui/tui.h".
5724 * tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h".
5725 * printcmd.c [TUI]: Include "tui/tui.h".
5726 * cli/cli-cmds.c [TUI]: Include "tui/tui.h".
5727 * tui/tui-command.c: Include "gdb_curses.h".
5728 * tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto.
5729 * tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto.
5730 * tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto.
5731 * tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto.
5732 * tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h".
5733 * Makefile.in: Update all dependencies.
5734 (tui_hooks_h, gdb_curses_h): Define.
5735 (SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui.
5736
997470ef
EZ
57372004-02-10 Elena Zannoni <ezannoni@redhat.com>
5738
5739 * objfiles.h (struct objfile): Remove unused fields auxf1 and
5740 auxf2. Add comments about some other rarely used fields.
5741
4ff2cc4d
AC
57422004-02-10 Andrew Cagney <cagney@redhat.com>
5743
5744 * Makefile.in (init.c): Fix script removing duplicates. Problem
5745 reported by Peter Schauer.
5746
1ab21617
EZ
57472004-02-09 Elena Zannoni <ezannoni@redhat.com>
5748
5749 * bcache.c (bcache_xmalloc): Use obstack_init instead of
5750 obstack_specify_allocation.
5751 * objfiles.c (allocate_objfile): Ditto.
8a1dac83 5752 * solib-sunos.c (solib_add_common_symbols)
1ab21617
EZ
5753 (allocate_rt_common_objfile): Ditto.
5754 * symfile.c (reread_symbols): Ditto.
5755 * gdb_obstack.h: Add comment.
5756
17763fd9
EZ
57572004-02-09 Elena Zannoni <ezannoni@redhat.com>
5758
5759 * linespec.c (decode_line_1, locate_first_half)
5760 (decode_compound, lookup_prefix_sym): Update comments. Delete old
5761 commented out code.
5762
ec5cdd75
DJ
57632004-02-09 Daniel Jacobowitz <drow@mvista.com>
5764
5765 * cp-namespace.c (check_one_possible_namespace_symbol): Don't use
5766 obstack_free.
5767
43b54b88
AC
57682004-02-09 Andrew Cagney <cagney@redhat.com>
5769
5770 * blockframe.c (find_pc_partial_function): If find_pc_overlay
5771 fails, try find_pc_section. Fix PR c++/1267.
5772 * minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section
5773 instead of find_pc_mapped_section.
5774 (lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do
5775 not default to the section containing PC. Fix PR symtab/1519.
5776
edfae063
AC
57772004-02-09 Andrew Cagney <cagney@redhat.com>
5778
5779 * Makefile.in (mips-tdep.o): Update dependencies.
5780 * mips-tdep.c: Include "frame-unwind.h", "frame-base.h" and
5781 "trad-frame.h".
5782 (mips_unwind_pc): Return the pseudo PC register.
5783 (mips_unwind_dummy_id): New function.
5784 (mips16_fetch_instruction): New function.
5785 (mips32_fetch_instruction): New function.
5786 (struct mips_frame_cache): Define.
5787 (mips_mdebug_frame_cache): New function.
5788 (mips_mdebug_frame_this_id): New function.
5789 (mips_mdebug_frame_prev_register): New function.
5790 (mips_mdebug_frame_unwind): Define.
5791 (mips_mdebug_frame_sniffer): New function.
5792 (mips_mdebug_frame_base_address): New function.
5793 (mips_mdebug_frame_base): Define.
5794 (mips_mdebug_frame_base_sniffer): New function.
5795 (mips_gdbarch_init): Append unwind and base sniffers. Set
5796 unwind_dummy_id.
5797
defc864c
AC
57982004-02-08 Andrew Cagney <cagney@redhat.com>
5799
6764ddad
AC
5800 * frame.c: Print both the register number and name.
5801
defc864c
AC
5802 * Makefile.in (init.c): Eliminate duplicates. Combine two greps
5803 and a sed into a single sed. Make .c and .o patterns more robust.
5804 (OBS): Delete.
5805 (INIT_FILES): Replace OBS with COMMON_OBS.
5806 (COMMON_OBS): Move DEPFILES and YYOBJ to start of definition.
5807
645d6d10
MK
58082004-02-08 Mark Kettenis <kettenis@gnu.org>
5809
5810 * sparc-nat.c (sparc_xfer_wcookie): Try to fetch the cookie using
5811 the PT_WCOOKIE request.
5812
23e3c3fc
AC
58132004-02-08 Andrew Cagney <cagney@redhat.com>
5814
58dfe9ff
AC
5815 * mips-tdep.c (mips_unwind_pc): New function.
5816 (mips_gdbarch_init): Set mips_unwind_pc.
5817
1152e35e
AC
5818 * frame.c (legacy_saved_regs_this_id): Return a null frame ID.
5819 (get_frame_id): Allow the UNKNOWN_FRAME.
5820 (frame_register_unwind, get_frame_type): Ditto.
5821
31b75dbf
AC
5822 * frame.c (legacy_frame_p): Check for DEPRECATED_TARGET_READ_FP_P
5823 and DEPRECATED_FP_REGNUM. Don't assume that the lack of
5824 unwind_dummy_id indicates a legacy frame.
5825
3483b318
AC
5826 * configure.in (CONFIG_LIB_OBS): Replace with CONFIG_OBS.
5827 * configure: Re-generate.
5828
23e3c3fc
AC
5829 * mips-tdep.c (mips_gdbarch_init): Group deprecated frame unwind
5830 methods.
5831
33f8ca73
AC
58322004-02-08 Andrew Cagney <cagney@redhat.com>
5833
5834 * configure.in (CONFIG_ALL): Set to Makefile target, and not
5835 makefile macro.
5836 * configure: Re-generate.
5837 (CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Ditto.
5838 * Makefile.in (SUBDIR_CLI_CLEAN): Delete.
5839 (SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): Delete.
5840 (SUBDIR_CLI_ALL, SUBDIR_GDBTK_ALL): Delete.
5841 (SUBDIR_GDBTK_CLEAN, SUBDIR_GDBTK_INSTALL): Delete.
5842 (SUBDIR_GDBTK_UNINSTALL, SUBDIR_MI_ALL): Delete.
5843 (SUBDIR_MI_CLEAN, SUBDIR_MI_INSTALL): Delete.
5844 (SUBDIR_MI_UNINSTALL, SUBDIR_TUI_ALL): Delete.
5845 (SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL): Delete.
5846 (SUBDIR_TUI_UNINSTALL, SUBDIR_CLI_CLEAN): Delete.
5847
6ba8e26f 58482004-02-07 Andrew Cagney <cagney@redhat.com>
d836ee13 5849
20d286a5
AC
5850 * Makefile.in: Update all dependencies.
5851
d836ee13
AC
5852 * configure.in (CONFIG_INITS, CONFIG_LIB_OBS): Delete.
5853 * configure: Re-generate.
5854 * Makefile.in (INIT_FILES): Replace CONFIG_INITS with CONFIG_SRCS.
5855 (CONFIG_LIB_OBS, CONFIG_INITS): Delete.
5856 (COMMON_OBS): Add "main.o" and "annotate.o".
5857 (ANNOTATE_OBS): Delete.
5858 (OBS): Remove ANNOTATE_OBS.
5859 (DEPFILES): Replace CONFIG_LIB_OBS with CONFIG_LIB_OBS, remove
5860 CONFIG_INITS.
5861 (gdb$(EXEEXT), insight$(EXEEXT)): Do not depend on, or link
5862 against CONFIG_OBS and "main.o".
5863 (SUBDIR_CLI_INITS, SUBDIR_MI_INITS): Delete.
5864 (SUBDIR_TUI_INITS, SUBDIR_GDBTK_INITS): Delete.
5865
d02c80cd
AC
5866 * tui/tui-command.c: Include "gdb_string.h", delete register
5867 attribute, use ISO-C function signatures.
5868 * tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto.
5869 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
5870 * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto.
5871 * tui/tui.c: Ditto.
6ba8e26f
AC
5872
5873 * tui/tui-command.c: Change variable and function names to lower
5874 case.
5875 * tui/tui-data.c, tui/tui-disasm.c: Ditto.
5876 * tui/tui-hooks.c, tui/tui-io.c, tui/tui-layout.c: Ditto.
5877 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
5878 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
5879 * tui/tui-winsource.c, tui/tui.c: Ditto.
5880
4a146b47
EZ
58812004-02-07 Elena Zannoni <ezannoni@redhat.com>
5882
5883 * buildsym.c (free_pending_blocks, finish_block)
5884 (record_pending_block, make_blockvector, end_symtab): Replace
5885 symbol_obstack with objfile_obstack.
8a1dac83 5886 * coffread.c (process_coff_symbol, coff_read_struct_type)
4a146b47 5887 (coff_read_enum_type): Ditto.
8a1dac83 5888 * cp-namespace.c (initialize_namespace_symtab)
4a146b47 5889 (check_one_possible_namespace_symbol): Ditto.
8a1dac83 5890 * dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file)
4a146b47
EZ
5891 (dwarf2_symbol_mark_computed): Ditto.
5892 * dwarfread.c (enum_type, new_symbol, synthesize_typedef): Ditto.
5893 * elfread.c (elf_symtab_read): Ditto.
5894 * hpread.c (hpread_symfile_init, hpread_symfile_init)
5895 (hpread_read_enum_type, hpread_read_function_type)
5896 (hpread_read_doc_function_type, hpread_process_one_debug_symbol):
5897 Ditto.
8a1dac83 5898 * jv-lang.c (get_java_class_symtab, add_class_symbol)
4a146b47 5899 (java_link_class_type): Ditto.
8a1dac83 5900 * mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab)
4a146b47
EZ
5901 (new_symbol): Ditto.
5902 * minsyms.c (install_minimal_symbols): Ditto.
5903 * objfiles.c (allocate_objfile): Remove init of symbol_obstack.
5904 (terminate_minimal_symbol_table): Replace symbol_obstack with
5905 objfile_obstack.
5906 (free_objfile): Remove freeing of symbol_obstack.
5907 * objfiles.h: Remove symbol_obstack field.
5908 * pa64solib.c (add_to_solist): Replace symbol_obstack with
5909 objfile_obstack.
5910 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
5911 symbol_obstack.
5912 (solib_add_common_symbols): Replace symbol_obstack with
5913 objfile_obstack.
5914 * somsolib.c (som_solib_add): Ditto.
5915 * stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
5916 (common_block_start, common_block_end): Ditto.
5917 * symfile.c (reread_symbols): Remove freeing and init of
5918 symbol_obstack.
5919 (allocate_symtab): Rename symbol_obstack to objfile_obstack.
5920 * symfile.h: Update comment.
5921 * symmisc.c (print_objfile_statistics): Remove symbol_obstack
5922 stats printing.
5923 * symtab.c (symbol_set_names): Replace symbol_obstack with
5924 objfile_obstack.
5925 * symtab.h (struct general_symbol_info, struct minimal_symbol):
5926 Update comments.
5927 * xcoffread.c (read_xcoff_symtab, SYMBOL_DUP, SYMNAME_ALLOC)
5928 (init_stringtab, xcoff_initial_scan): Replace symbol_obstack with
5929 objfile_obstack.
5930
6d012f14
AC
59312004-02-07 Andrew Cagney <cagney@redhat.com>
5932
5933 * tui/tui.h: Do not include <stdarg.h>, <string.h>, and
5934 "ansidecl.h". Do not undef "reg" and "chtype". Fix case of
5935 fields and variables.
5936 * tui/tui-wingeneral.h (m_beVisible): Delete macro.
5937 (m_beInvisible): Delete macro.
5938 * tui/tui-data.h: Fix case case fields and variables.
5939 (m_genWinPtrIsNull): Delete macro.
5940 (tui_win_list): Rename winList.
5941 (TUI_SRC_WIN): Rename srcWin.
5942 (TUI_DISASM_WIN): Rename disassemWin.
5943 (TUI_DATA_WIN): Rename dataWin.
5944 (TUI_CMD_WIN): Rename cmdWin.
5945 (m_genWinPtrNotNull): Delete macro.
5946 (m_winPtrIsNull): Delete macro.
5947 (m_winPtrNotNull): Delete macro.
5948 (tui_win_is_source_type): Replace m_winIsSourceType
5949 (tui_win_is_auxillary): Replace m_winIsAuzillary.
5950 (tui_win_has_locator): Replace m_hasLocator.
5951 (tui_set_win_highlight): Replace m_setWinHighlightOn and
5952 m_setWinHighlightOff.
5953 * tui/tui-data.c: Update references.
5954 (tui_win_is_source_type, tui_set_win_highlight): New functions.
5955 (tui_win_has_locator, tui_win_is_auxillary): New functions.
5956 * tui/tui-command.c, tui/tui-disasm.c: Update references.
5957 * tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto.
5958 * tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto.
5959 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
5960 * tui/tui-winsource.c, tui/tui.c: Ditto.
5961
7d34766b
MK
59622004-02-07 Mark Kettenis <kettenis@gnu.org>
5963
1c800673
MK
5964 * sparc-tdep.h (sparc_fetch_wcookie): New prototype.
5965 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Handle
5966 StackGhost.
5967
7d34766b
MK
5968 * sparc-tdep.c (sparc32_frame_prev_register): Rename local
5969 variable `i6' to `i7'.
5970 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
5971
22940a24
AC
59722004-02-07 Andrew Cagney <cagney@redhat.com>
5973
5974 * tui/tui.h (Opaque, OpaquePtr OpaqueList): Delete definition.
5975 (TuiPoint, TuiPointPtr): Ditto.
5976 (TuiStatus, TuiStatusPtr): Ditto.
5977 (TuiWinType, TuiWinTypePtr): Ditto.
5978 (struct tui_point): Rename _TuiPoint.
5979 (tui_get_low_disassembly_address): Rename
5980 tuiGetLowDisassemblyAddress.
5981 (tui_update_all_exec_infos): Rename tuiUpdateAllExecInfos.
5982 (tuiFree): Delete declaration.
5983 (OpaqueFuncPtr, TuiOpaqueFuncPtr): Delete definitions.
5984 (TuiVoidFuncPtr, TuiIntFuncPtr): Delete definitions.
5985 * tui/tui.c (tuiFree): Delete function.
5986 * cli/cli-cmds.c (disassemble_command): Update references.
5987 * tui/tui-data.c, tui/tui-data.h, tui/tui-disasm.c: Ditto.
5988 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
5989 * tui/tui-stack.c, tui/tui-win.c, tui/tui-wingeneral.c: Ditto.
5990 * tui/tui-winsource.c: Ditto.
5991
8b92e4d5
EZ
59922004-02-07 Elena Zannoni <ezannoni@redhat.com>
5993
5994 * dbxread.c (dbx_symfile_init, start_psymtab, end_psymtab,
5995 coffstab_build_psymtabs, elfstab_build_psymtabs)
5996 (stabsect_build_psymtabs): Replace psymbol_obstack with
5997 objfile_obstack.
5998 * dwarf2-frame.c (decode_frame_entry_1): Ditto.
5999 * dwarf2read.c (dwarf2_build_psymtabs_hard, dwarf2_read_section):
6000 Ditto.
6001 * dwarfread.c (scan_compilation_units): Ditto.
6002 * elfread.c (elfstab_offset_sections): Ditto.
6003 * hppa-tdep.c (read_unwind_info): Ditto.
6004 * hpread.c (hpread_build_psymtabs, hpread_start_psymtab)
6005 (hpread_end_psymtab): Ditto.
6006 * mdebugread.c (mdebug_build_psymtabs, add_pending)
6007 (parse_partial_symbols, new_psymtab, elfmdebug_build_psymtabs):
6008 Ditto.
6009 * mips-tdep.c (non_heuristic_proc_desc): Ditto.
8a1dac83 6010 * objfiles.c (add_to_objfile_sections)
8b92e4d5
EZ
6011 (build_objfile_section_table): Ditto.
6012 (allocate_objfile): Remove init of psymbol_obstack.
6013 (free_objfile): Remove freeing of psymbol_obstack.
6014 * objfiles.h (struct objfile): Remove field
6015 psymbol_obstack. Update comments.
6016 * pa64solib.c (pa64_solib_add_solib_objfile): Replace
6017 psymbol_obstack with objfile_obstack.
6018 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
6019 psymbol_obstack.
6020 * somread.c (som_symfile_offsets, init_import_symbols)
6021 (init_export_symbols): Replace psymbol_obstack with
6022 objfile_obstack.
6023 * somsolib.c (som_solib_add_solib_objfile): Ditto.
6024 * symfile.c (default_symfile_offsets, syms_from_objfile)
6025 (reread_symbols): Remove freeing and init of psymbol_obstack.
6026 (cashier_psymtab): Update comment.
6027 * symmisc.c (print_objfile_statistics): Don't report stats for
6028 psymbol obstack.
6029 * symtab.h (struct general_symbol_info, struct partial_symtab):
6030 Update comments.
6031 * xcoffread.c (xcoff_start_psymtab, xcoff_end_psymtab, swap_sym)
6032 (xcoff_symfile_offsets): Replace psymbol_obstack with
6033 objfile_obstack.
6034
b99607ea
EZ
60352004-02-07 Elena Zannoni <ezannoni@redhat.com>
6036
6037 * objfiles.h (struct objfile): Add objfile_obstack field.
6038 Remove type_obstack field.
6039
6040 * dwarf2read.c (dwarf2_add_field,dwarf2_add_member_fn,
6041 read_structure_scope read_enumeration, new_symbol): Replace
6042 type_obstack with objfile_obstack.
6043 * dwarfread.c (struct_type, enum_type): Ditto.
8a1dac83 6044 * gdbtypes.c (alloc_type, alloc_type_instance, init_type)
b99607ea
EZ
6045 (lookup_fundamental_type): Ditto.
6046 * gdbtypes.h (TYPE_ALLOC): Ditto.
8a1dac83
RM
6047 * hpread.c (hpread_read_enum_type, hpread_read_function_type)
6048 (hpread_read_doc_function_type, hpread_read_struct_type)
6049 (fix_static_member_physnames, hpread_read_array_type)
b99607ea 6050 (hpread_read_subrange_type, hpread_type_lookup): Ditto.
8a1dac83 6051 * jv-lang.c (java_lookup_class, type_from_class, type_from_class)
b99607ea
EZ
6052 (java_link_class_type): Ditto.
6053 * mdebugread.c (parse_type): Ditto.
6054 * objfiles.c (allocate_objfile, free_objfile): Ditto.
6055 * solib-sunos.c (solib_add_common_symbols): Ditto.
6056 * stabsread.c (define_symbol, read_type, read_member_functions,
6057 read_cpp_abbrev, read_one_struct_field): Ditto.
6058 * symfile.c (reread_symbols): Ditto.
6059 * symmisc.c (print_objfile_statistics): Ditto.
8a1dac83 6060
2a8854a7
AC
60612004-02-07 Andrew Cagney <cagney@redhat.com>
6062
6063 * tui/tui-data.h (tui_win_element): Rename TuiWinElement.
6064 (tui_exec_info_content): Rename TuiExecInfoContent.
6065 (TuiGenWinInfo, TuiGenWinInfoPtr): Delete definitions.
6066 (TuiWinInfo, TuiWinInfoPtr): Ditto.
6067 (TuiScrollDirection, TuiScrollDirectionPtr): Ditto.
6068 (TuiList, TuiListPtr): Ditto.
6069 (TuiLayoutType, TuiLayoutTypePtr): Ditto.
6070 (TuiDataType, TuiDataTypePtr): Ditto.
6071 (TuiRegisterDisplayType, TuiRegisterDisplayTypePtr): Ditto.
6072 (TuiLineOrAddress, TuiLineOrAddressPtr): Ditto.
6073 (TuiLayoutDef, TuiLayoutDefPtr): Ditto.
6074 (TuiSourceElement, TuiSourceElementPtr): Ditto.
6075 (TuiDataElement, TuiDataElementPtr): Ditto.
6076 (TuiWinElement, TuiWinElementPtr): Ditto.
6077 (TuiDataInfo, TuiDataInfoPtr): Ditto.
6078 (TuiCommandElement, TuiCommandElementPtr): Ditto.
6079 (TuiLocatorElement, TuiLocatorElementPtr): Ditto.
6080 (TuiWhichElement, TuiWhichElementPtr): Ditto.
6081 (TuiSourceInfo, TuiSourceInfoPtr): Ditto.
6082 (TuiCommandInfo, TuiCommandInfoPtr): Ditto.
6083 * tui/tui-command.c, tui/tui-data.c: Update references.
6084 * tui/tui-data.h, tui/tui-disasm.c, tui/tui-layout.c: Ditto.
6085 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
6086 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
6087 * tui/tui-winsource.c, tui/tui.c: Ditto.
8a1dac83 6088
05cbe71a
MK
60892004-02-07 Mark Kettenis <kettenis@gnu.org>
6090
6091 * dwarf2-frame.h: Update copyright.
6092 (enum dwarf2_frame_reg_rule): New.
6093 (struct dwarf2_frame_state_reg): New.
6094 (dwarf2_frame_sniffer, dwarf2_frame_base_sniffer): Make extern.
6095 * dwarf2-frame.c: Update copyright.
6096 (enum dwarf2_reg_rule): Remove.
6097 (struct dwarf2_frame_state): Remove defenition of `struct
6098 dwarf2_frame_state_reg'.
6099 (read_reg): Call get_frame_arch to get the architecture instead of
6100 using CURRENT_GDBARCH.
6101 (execute_cfa_program): Prefix old `enum dwarf2_reg_rule' tags with
6102 DWARF2_FRAME_.
6103 (dwarf2_frame_init_reg): New function.
6104 (dwarf2_frame_cache): Call get_frame_arch to get the architecture
6105 instead of using CURRENT_GDBARCH. Call dwarf2_frame_init_reg to
6106 initialize the register state. Prefix old `enum dwarf2_reg_rule'
6107 tags with DWARF2_FRAME_.
6108 (dwarf2_frame_prev_register): Call get_frame_arch to get the
6109 architecture instead of using CURRENT_GDBARCH. Prefix old `enum
6110 dwarf2_reg_rule' tags with DWARF2_FRAME_.
6111
ec7d9e56
AC
61122004-02-06 Andrew Cagney <cagney@redhat.com>
6113
dd1abb8c
AC
6114 * tui/tui-data.h (struct tui_list): Rename _TuiList.
6115 (enum tui_data_type): Rename _TuiDataType.
6116 (struct tui_layout_def): Rename _TuiLayoutDef.
6117 (struct tui_source_element): Rename _TuiSourceElement.
6118 (struct tui_data_element): Rename _TuiDataElement.
6119 (struct tui_command_element): Rename _TuiCommandElement.
6120 (struct tui_locator_element): Rename _TuiLocatorElement.
6121 (union tui_which_element): Define.
6122 (struct tui_win_element): Rename _TuiWinElement.
6123 (struct tui_data_info): Rename _TuiDataInfo.
6124 (struct tui_source_info): Rename _TuiSourceInfo.
6125 (struct tui_command_info): Rename _TuiCommandInfo.
6126 (tui_initialize_static_data): Rename initializeStaticData.
6127 (tui_alloc_generic_win_info): Rename allocGenericWinInfo.
6128 (tui_alloc_win_info): Rename allocWinInfo.
6129 (tui_init_generic_part): Rename initGenericPart.
6130 (tui_init_win_info): Rename initWinInfo.
6131 (tui_alloc_content): Rename allocContent.
6132 (tui_add_content_elements): Rename addContentElements.
6133 (tui_init_content_element): Rename initContentElement.
6134 (tui_free_window): Rename freeWindow.
6135 (tui_free_win_content): Rename freeWinContent.
6136 (tui_free_data_content): Rename freeDataContent.
6137 (tui_free_all_source_wins_content): Rename
6138 freeAllSourceWinsContent.
6139 (tui_del_window): Rename tuiDelWindow.
6140 (tui_del_data_windows): Rename tuiDelDataWindows.
6141 (tui_partial_win_by_name): Rename partialWinByName.
6142 (tui_win_name): Rename winName.
6143 (tui_current_layout): Rename currentLayout.
6144 (tui_set_current_layout_to): Rename setCurrentLayoutTo.
6145 (tui_term_height): Rename termHeight.
6146 (tui_set_term_height_to): Rename setTermHeightTo.
6147 (tui_term_width): Rename termWidth.
6148 (tui_set_term_width_to): Rename setTermWidthTo.
6149 (tui_set_gen_win_origin): Rename setGenWinOrigin.
6150 (tui_locator_win_info_ptr): Rename locatorWinInfoPtr.
6151 (tui_source_exec_info_win_ptr): Rename tui_gen_win_info.
6152 (tui_disassem_exec_info_win_ptr): Rename disassemExecInfoWinPtr.
6153 (tui_source_windows): Rename sourceWindows.
6154 (tui_clear_source_windows): Rename clearSourceWindows.
6155 (tui_clear_source_windows_detail): Rename
6156 clearSourceWindowsDetail.
6157 (tui_clear_win_detail): Rename clearWinDetail.
6158 (tui_add_to_source_windows): Rename tuiAddToSourceWindows.
6159 (tui_default_tab_len): Rename tuiDefaultTabLen.
6160 (tui_set_default_tab_len): Rename tuiSetDefaultTabLen.
6161 (tui_win_with_focus): Rename tuiWinWithFocus.
6162 (tui_set_win_with_focus): Rename tuiSetWinWithFocus.
6163 (tui_layout_def): Rename tuiLayoutDef.
6164 (tui_win_resized): Rename tuiWinResized.
6165 (tui_set_win_resized_to): Rename tuiSetWinResizedTo.
6166 (tui_next_win): Rename tuiNextWin.
6167 (tui_prev_win): Rename tuiPrevWin.
6168 (tui_add_to_source_windows): Rename addToSourceWindows.
6169 * tui/tui-winsource.c, tui/tui-win.c: Update references.
6170 * tui/tui-layout.c, tui/tui-source.c: Ditto.
6171 * tui/tui-stack.c, tui/tui-io.c: Ditto.
6172 * tui/tui.c, tui/tui-data.c: Ditto.
6173 * tui/tui-interp.c, tui/tui-data.c: Ditto.
6174 * tui/tui-disasm.c, tui/tui-command.c: Ditto.
6175
a358af15
AC
6176 * tui/tui-source.h: Update copyright. Include "tui-data.h".
6177 (struct symtab): Declare.
6178 (tui_set_source_content): Rename tuiSetSourceContent.
6179 (tui_show_symtab_source): Rename tuiShowSource.
6180 (tui_source_is_displayed): Rename tuiSourceIsDisplayed.
6181 (tui_vertical_source_scroll): Rename tuiVerticalSourceScroll.
6182 * tui/tui-source.c: Update copyright. Update references.
6183 * tui/tui-win.c, tui/tui-winsource.c: Update references.
6184 * tui/tui-stack.c: Update references.
6185
a21fcd8f
AC
6186 * tui/tui-win.h: Update copyright. Include "tui-data.h".
6187 (struct tui_win_info): Declare.
6188 (tui_scroll_forward): Rename tuiScrollForward.
6189 (tui_scroll_backward): Rename tuiScrollBackward.
6190 (tui_scroll_left): Rename tuiScrollLeft.
6191 (tui_scroll_right): Rename tuiScrollRight.
6192 (tui_set_win_focus_to): Rename tuiSetWinFocusTo.
6193 (tui_resize_all): Rename tuiResizeAll.
6194 (tui_refresh_all_win): Rename tuiRefreshAll.
6195 (tui_sigwinch_handler): Rename tuiSigwinchHandler.
6196 * tui/tui-layout.c, * tui/tui-io.c: Update references.
6197 * tui/tui-wingeneral.h, * tui/tui.c: Update references.
6198 * tui/tui-disasm.c, * tui/tui-command.c: Update references.
6199
edae1ccf
AC
6200 * tui/tui-windata.h: Update copyright. Include "tui-data.h".
6201 (tui_erase_data_content): Rename tuiEraseDataContent.
6202 (tui_display_all_data): Rename tuiDisplayAllData.
6203 (tui_check_data_values): Rename tuiCheckDataValues.
6204 (tui_display_data_from_line): Rename tuiDisplayDataFromLine.
6205 (tui_first_data_item_displayed): Rename tuiFirstDataItemDisplayed.
6206 (tui_first_data_element_no_in_line): Rename
6207 tuiFirstDataElementNoInLine.
6208 (tui_delete_data_content_windows): Rename
6209 tuiDeleteDataContentWindows.
6210 (tui_refresh_data_win): Rename tuiRefreshDataWin.
6211 (tui_display_data_from): Rename tuiDisplayDataFrom.
6212 (tui_vertical_data_scroll): Rename tuiVerticalDataScroll.
6213 * tui/tui-windata.c, tui/tui-hooks.c: Update references.
6214 * tui/tui-win.c, tui/tui-regs.c: Update references.
6215 * tui/tui-layout.c, tui/tui.c: Update references.
6216
ec7d9e56
AC
6217 * tui/tui-wingeneral.h: Update copyright.
6218 (m_allBeVisible): Delete macro.
8a1dac83 6219 (m_allBeInvisible): Delete macro.
ec7d9e56
AC
6220 (struct tui_gen_win_info): Declare.
6221 (struct tui_win_info): Declare.
6222 (tui_unhighlight_win): Rename unhighlightWin.
6223 (tui_make_visible, tui_make_invisible): Replace makeVisible.
6224 (tui_make_all_visible, tui_make_all_invisible): Replace makeAllVisible.
6225 (tui_make_window): Rename makeWindow.
6226 (tui_copy_win): Rename copyWin.
6227 (tui_box_win): Rename boxWin.
6228 (tui_highlight_win): Rename highlightWin.
6229 (tui_check_and_display_highlight_if_needed): Rename
6230 checkAndDisplayHighlightIfNeeded.
6231 (tui_refresh_all): Rename refreshAll.
6232 (tui_delete_win): Rename tuiDelwin.
6233 (tui_refresh_win): Rename tuiRefreshWin.
6234 * tui/tui-wingeneral.c (make_visible): Rename makeVisible.
6235 (tui_make_visible, tui_make_invisible): New functions.
6236 (tui_make_all_visible, tui_make_all_invisible): New functions.
6237 (make_all_visible): Rename makeAllVisible.
6238 * tui/tui-winsource.c, tui/tui-windata.c: Update references.
6239 * tui/tui-data.c, tui/tui-winsource.c: Update references.
6240 * tui/tui-windata.c, tui/tui-win.c: Update references.
6241 * tui/tui-regs.c, tui/tui-layout.c: Update references.
6242 * tui/tui-data.h (struct tui_gen_win_info): Rename _TuiGenWinInfo.
6243
1e52e2eb
MK
62442004-02-06 Mark Kettenis <kettenis@gnu.org>
6245
6246 * proc-api.c (write_with_trace): Initialize local variable to
6247 silence compiler warning.
6248
f80bda8e
AC
62492004-02-06 Andrew Cagney <cagney@redhat.com>
6250
6251 * tui/tui-source.h: Do not include "defs.h".
6252 (struct tui_win_info): Declare.
6253 (tui_set_source_content_nil): Declare.
6254 * tui/tui-data.h (struct tui_win_info): Rename _TuiWinInfo.
6255 (union tui_line_or_address): Rename _TuiLineOrAddress.
6256 * tui/tui-winsource.h: Update copyright. Include "tui-data.h".
6257 (tui_update_source_window): Rename tuiUpdateSourceWindow.
6258 (tui_update_source_window_as_is): Rename
6259 tuiUpdateSourceWindowAsIs.
6260 (tui_update_source_windows_with_addr): Rename
6261 tuiUpdateSourceWindowsWithAddr.
6262 (tui_update_source_windows_with_line): Rename
6263 tuiUpdateSourceWindowsWithLine.
6264 (tui_clear_source_content): Rename tuiClearSourceContent.
6265 (tui_erase_source_content): Rename tuiEraseSourceContent.
6266 (tui_set_source_content_nil): Rename tuiSetSourceContentNil.
6267 (tui_show_source_content): Rename tuiShowSourceContent.
6268 (tui_horizontal_source_scroll): Rename tuiHorizontalSourceScroll.
6269 (tui_set_exec_info_content): Rename tuiSetExecInfoContent.
6270 (tui_show_exec_info_content): Rename tuiShowExecInfoContent.
6271 (tui_erase_exec_info_content): Rename tuiEraseExecInfoContent.
6272 (tui_clear_exec_info_content): Rename tuiClearExecInfoContent.
6273 (tui_update_exec_info): Rename tuiUpdateExecInfo.
6274 (tui_set_is_exec_point_at): Rename tuiSetIsExecPointAt.
6275 (tui_alloc_source_buffer): Rename tuiAllocSourceBuffer.
6276 (tui_line_is_displayed): Rename tuiLineIsDisplayed.
6277 (tui_addr_is_displayed): Rename tuiAddrIsDisplayed.
6278 (struct tui_win_info): Declare.
6279 * tui/tui-stack.c: Update references.
6280 * tui/tui-layout.c, tui/tui-winsource.c: Ditto.
6281 * tui/tui-win.c, tui/tui-source.c: Ditto.
6282 * tui/tui.c, tui/tui-disasm.c: Ditto.
6283
9fbfb822
MK
62842004-02-06 Mark Kettenis <kettenis@gnu.org>
6285
6286 * i386-linux-tdep.c (i386_linux_sigcontext_addr): Fix calculation
6287 of UCONTEXT_ADDR. Fixes PR backtrace/1545.
6288
03cebad2
MK
62892004-02-05 Mark Kettenis <kettenis@gnu.org>
6290
6291 * infrun.c (handle_inferior_event): Allow for breakpoint
6292 instructions to generate a SIGSEGV in addition to SIGTRAP, SIGILL
6293 and SIGEMT. Update comments.
6294 * NEWS (Revised SPARC target): Mention support for non-executable
6295 stack.
6296
290281b1
MK
62972004-02-04 Mark Kettenis <kettenis@gnu.org>
6298
6299 * target.h (target_object): Add TARGET_OBJECT_WCOOKIE.
6300 * inftarg.c: Update copyright year.
6301 (child_xfer_partial): Add support for TARGET_OBJECT_WCOOKIE.
6302 * sparc-nat.c: Include "target.h" and "gdb_assert.h".
6303 (sparc_xfer_wcookie): New function.
6304 * sparc-tdep.c (sparc_fetch_wcookie): New function.
6305 * Makefile.in (sparc-nat.o): Update dependencies.
6306 * config/sparc/nm-nbsd.h: Include "target.h".
6307 (NATIVE_XFER_WCOOKIE): New define.
6308 (sparc_xfer_wcookie): New prototype.
6309
212161df
AC
63102004-02-04 Andrew Cagney <cagney@redhat.com>
6311
6312 * m68k-tdep.c (m68k_saved_pc_after_call): Delete #ifdef
6313 SYSCALL_TRAP function.
6314 (m68k_gdbarch_init): Delete #ifdef SYSCALL_TRAP code.
6315
6e4c6c91
DJ
63162004-02-04 Andrew Cagney <cagney@redhat.com>
6317 Daniel Jacobowitz <drow@mvista.com>
6318
6319 * objfiles.h: Delete comments refering to inside_entry_func and
6320 DEPRECATED_FRAME_CHAIN_VALID.
6321 * defs.h (inside_entry_func): Update prototype..
6322 * blockframe.c (inside_entry_func): Rename to
6323 legacy_inside_entry_func. Add new inside_entry_func taking a frame.
6324 * frame.c (get_prev_frame): Pass the frame to inside_entry_func.
6325
cae688ec
JJ
63262004-02-03 Jeff Johnston <jjohnstn@redhat.com>
6327
6328 * breakpoint.c (struct captured_parse_breakpoint_args): Move
6329 outside of #ifdef SOLIB_ADD region.
6330 (do_restore_lang_radix_cleanup): Ditto.
6331 (resolve_pending_breakpoint): Ditto.
6332
19217676
AC
63332004-02-03 Andrew Cagney <cagney@redhat.com>
6334
6335 * ia64-tdep.c (read_sigcontext_register): Delete unused function.
6336 (process_note_abi_tag_sections): Delete unused function.
6337 (ia64_read_fp): Delete unused function.
6338 (gdbarch_extract_struct_value_address): Delete declaration.
6339
876753be
AC
63402004-02-02 Andrew Cagney <cagney@redhat.com>
6341
6342 * vax-tdep.c (vax_frame_chain): Delete call to
6343 deprecated_inside_entry_file.
6344 * ns32k-tdep.c (ns32k_frame_chain): Ditto.
6345
d4f10bf2
MK
63462004-02-02 Mark Kettenis <kettenis@gnu.org>
6347
6348 * dwarf2-frame.c (dwarf2_frame_cache): Deal with a return address
6349 column that's "empty" or "same value" when eliminating REG_RA
6350 rules.
6351
cae688ec
JJ
63522004-02-02 Jeff Johnston <jjohnstn@redhat.com>
6353
6354 * NEWS: Add information about new pending breakpoint support.
6355
0101ce28
JJ
63562004-02-02 Jeff Johnston <jjohnstn@redhat.com>
6357
6358 * breakpoint.h (struct breakpoint): Add new flag, from_tty,
6359 and pending fields for pending breakpoint support.
6360 * breakpoint.c (breakpoint_enabled): Add check for not pending.
6361 (condition_command): Only parse condition if not a pending
6362 breakpoint.
6363 (print_one_breakpoint): Add support for pending breakpoints.
6364 (describe_other_breakpoints): Add checks to verify we are not
6365 dealing with pending breakpoints.
6366 (check_duplicates): Don't check pending breakpoints.
6367 (set_raw_breakpoint): Initialize pending flag.
6368 (do_restore_lang_radix_cleanup): New cleanup routine.
6369 (resolve_pending_breakpoint): New function.
6370 (re_enable_breakpoints_in_shlibs): Try and resolve any
6371 pending breakpoints via resolve_pending_breakpoint.
6372 (mention): Add pending breakpoint support.
6373 (parse_breakpoint_sals): Add new parameter to pass to
6374 decode_line_1 to indicate silent errors when files or functions
6375 are not found. Change all callers.
6376 (do_captured_parse_breakpoint): New function.
6377 (break_command_1): Change prototype to return an rc value and to
6378 take an optional pending breakpoint pointer. Support creating
6379 a pending breakpoint if a "not found" form of error occurs when
6380 parsing the breakpoint. Also support resolving an existing pending
6381 breakpoint and be silent if the resolution fails.
6382 (create_breakpoints): Change prototype to take pending breakpoint
6383 pointer. When resolving a pending breakpoint, use the new pointer
6384 to provide a conditional or commands added by the end-user.
6385 (delete_breakpoint): Add appropriate check for pending.
6386 (breakpoint_re_set_one): Ditto.
6387 (do_enable_breakpoint): Ditto.
6388
8d577d32
DC
63892004-02-02 David Carlton <carlton@kealia.com>
6390
6391 * valops.c (enum oload_classification): New.
6392 (find_overload_match): Break implementation into separate
6393 functions; delete #if 0'd code; look for symbols within
6394 namespaces.
6395 (find_oload_champ_namespace,find_oload_champ_namespace_loop)
6396 (find_oload_champ,oload_method_static,classify_oload_match): New.
6397 * cp-support.h: Add declaration for cp_func_name; update
6398 declaration for make_symbol_overload_list.
6399 * cp-support.c (cp_func_name): New.
6400 (overload_list_add_symbol): Fix comment, use
6401 SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME.
6402 (make_symbol_overload_list): Take a function name and a namespace
6403 instead of a symbol; change implementation.
6404 (make_symbol_overload_list_using): New.
6405 (make_symbol_overload_list_qualified, read_in_psymtabs): New.
6406
22e8e3c7
FF
64072004-02-02 Fred Fish <fnf@redhat.com>
6408
6409 * main.c (gdb_stdtarg): Move definition to group with other
15390fef 6410 gdb_stdtarg definitions and update copyright years.
22e8e3c7
FF
6411 * remote-sim.c (gdb_os_write_stderr): Write output to
6412 gdb_stdtargerr stream instead of gdb_stdtarg stream.
6413 (gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of
15390fef 6414 gdb_stderr stream and update copyright years.
22e8e3c7 6415
6b753f60
DJ
64162004-02-01 Daniel Jacobowitz <drow@mvista.com>
6417
6418 * Makefile.in (mips-linux-nat.o): Update dependencies.
6419 * mips-linux-nat.c: Include mips-tdep.h.
6420
64212004-02-01 Roland McGrath <roland@redhat.com>
2cb6b099
RM
6422
6423 * sol-thread.c (sol_thread_xfer_partial): New function.
6424 (init_sol_thread_ops): Use that for to_xfer_partial hook.
6425 (init_sol_core_ops): Likewise.
6426
6427 * procfs.c (procfs_xfer_partial): New function.
6428 (init_procfs_ops): Use that for procfs_ops.to_xfer_partial.
6429 * Makefile.in (procfs.o): Add $(auxv_h) dep.
6430
6431 * config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's
6432 procfs_xfer_auxv function.
6433
6434 * procfs.c (procfs_make_note_section): If we can read
6435 TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it.
6436 * linux-proc.c (linux_make_note_section): Likewise.
6437
6438 * auxv.h: New file.
6439 * auxv.c: New file.
6440 * Makefile.in (auxv_h): New variable.
6441 (COMMON_OBS): Add auxv.o here.
6442 (auxv.o): New target.
6443
6444 * corelow.c (core_xfer_partial): New function.
6445 (init_core_ops): Use it for core_ops.to_xfer_partial.
6446
6447 * target.h (enum target_object): Add TARGET_OBJECT_AUXV.
6448 * inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV
6449 macro if that is defined.
6450
fa5281d0
DJ
64512004-02-01 Daniel Jacobowitz <drow@mvista.com>
6452
6453 * breakpoint.c (bpstat_stop_status): Take a ptid_t argument,
6454 and check the specified thread for each breakpoint.
6455 * breakpoint.h (bpstat_stop_status): Update prototype.
6456 * infrun.c (handle_inferior_event): Update calls to
6457 bpstat_stop_status.
6458
26ee262d
DJ
64592004-02-01 Daniel Jacobowitz <drow@mvista.com>
6460
6461 * Makefile.in (cli-cmds.o): Add $(readline_h).
6462
d9b52655
DJ
64632004-02-01 Daniel Jacobowitz <drow@mvista.com>
6464
6465 * cli/cli-cmds.c: Include readline.h.
6466 (complete_command): Pass the start of the last word to
6467 complete_line.
6468
9709f61c
DJ
64692004-01-31 Daniel Jacobowitz <drow@mvista.com>
6470
6471 * breakpoint.c (bpstat_stop_status): Remove not_a_sw_breakpoint
6472 argument, and change first argument to a CORE_ADDR.
6473 * breakpoint.h (bpstat_stop_status): Update prototype.
6474 * infrun.c (adjust_pc_after_break): Add a new comment.
6475 (handle_inferior_event): Update calls to bpstat_stop_status.
6476
4f1280bb
DJ
64772004-01-31 Daniel Jacobowitz <drow@mvista.com>
6478
6479 * breakpoint.h: Update copyright years.
6480
4fa8626c
DJ
64812004-01-31 Daniel Jacobowitz <drow@mvista.com>
6482
6483 * breakpoint.c (software_breakpoint_inserted_here_p): New function.
6484 (bpstat_stop_status): Don't decrement PC.
6485 * breakpoint.h (software_breakpoint_inserted_here_p): Add
6486 prototype.
6487 * infrun.c (adjust_pc_after_break): New function.
6488 (handle_inferior_event): Call it, early. Remove later references
6489 to DECR_PC_AFTER_BREAK.
6490 (normal_stop): Add commentary.
6491
fad0733a
DJ
64922004-01-31 Daniel Jacobowitz <drow@mvista.com>
6493
6494 * breakpoint.c (breakpoint_re_set_one): Add missing chunk of
6495 2004-01-27 double-free fix.
6496
42cdca6c
MK
64972004-01-31 Mark Kettenis <kettenis@gnu.org>
6498
6499 * sparc-tdep.c (sparc_fetch_wcookie): New function.
6500 (sparc32_frame_prev_register): Handle StackGhost.
6501 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
6502
932d5416
RM
65032004-01-29 Roland McGrath <roland@redhat.com>
6504
6505 * configure.in (NEW_PROC_API): Also match solaris2.9 for this test.
6506 * configure: Regenerated.
6507
6508 * procfs.c: Include gdb_string.h for str* decls, otherwise warnings.
6509 * Makefile.in (procfs.o): Add dep.
6510
47d3492a
AC
65112004-01-28 Andrew Cagney <cagney@redhat.com>
6512
6513 * tui/tui-stack.h: Update copyright.
6514 (struct frame_info): Add opaque declaration.
6515 (tui_update_locator_filename): Rename tuiUpdateLocatorFilename.
6516 (tui_show_locator_content): Rename tuiShowLocatorContent.
6517 (tui_show_frame_info): Rename tuiShowFrameInfo.
6518 * tui/tui-stack.c: Update copyright. Update references.
6519 * tui/tui-winsource.c: Update references.
6520 * tui/tui-win.c: Update references.
6521 * tui/tui-layout.c: Update references.
6522 * tui/tui-hooks.c: Update copyright, update references.
6523 * tui/tui.c: Update copyright, update references.
6524 * tui/tui-disasm.c: Update references.
6525
5d51ca54
DC
65262004-01-28 David Carlton <carlton@kealia.com>
6527
6528 * dwarf2read.c (add_partial_structure): Use demangled name if
6529 namespace equals "".
6530
086ed43d
JB
65312004-01-27 Jim Blandy <jimb@redhat.com>
6532
6533 Clean up misapplied patch:
6534 * dwarf2read.c (determine_prefix): Change one of the two forward
6535 declarations for 'determine_prefix_aux' to a declaration for this.
6536 (read_func_scope): Use cu->language, not cu_language. Pass 'cu'
6537 argument to 'die_specification'.
6538
2a35147e
JB
6539 * dwarf2read.c (read_func_scope): Re-indent comment.
6540
a355c7de 65412004-01-27 Paul N. Hilfinger <hilfinger@gnat.com>
932d5416 6542
a355c7de
AC
6543 * breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and
6544 b->exp to NULL after freeing so that error during re-parsing or
6545 evaluation of expressions associated with breakpoint don't
6546 eventually lead to re-freeing of storage.
6547 Committed by Andrew Cagney.
6548
63ff5125
AC
65492004-01-27 Andrew Cagney <cagney@redhat.com>
6550
6551 * source.c (ambiguous_line_spec): Delete undefined declaration.
6552 * m32r-rom.c (m32r_set_board_address): Delete unused function.
6553 (m32r_set_server_address, m32r_set_download_path): Ditto.
6554 * remote-fileio.c (remote_fileio_to_fio_int): Ditto.
6555
e142c38c
DJ
65562004-01-27 Daniel Jacobowitz <drow@mvista.com>
6557
6558 * dwarf2read.c: Update calls to changed and renamed functions, and
6559 references to moved variables.
6560
6561 (struct dwarf2_cu): Add first_fn, last_fn, cached_fn,
6562 language, language_defn, list_in_scope, and ftypes members.
6563 (cu_first_fn, cu_last_fn, cu_cached_fn, cu_language)
6564 (cu_language_defn, list_in_scope, ftypes, cu_header_offset)
6565 (baseaddr): Remove globals.
6566
6567 (dwarf_attr): Renamed to dwarf2_attr. Add CU argument.
6568 (set_cu_language, die_is_declaration, die_specification)
6569 (determine_prefix, determin_prefix_aux, class_name, namespace_name)
6570 (dwarf2_linkage_name, dwarf2_name, dwarf2_extension)
6571 (dwarf2_get_ref_die_offset, dwarf2_fundamental_type)
6572 (initialize_cu_func_list, add_to_cu_func_list): Add CU argument.
6573
6574 (dwarf2_build_psymtabs_hard): Add local baseaddr. Initialize
6575 cu.list_in_scope. Don't initialize cu_header_offset.
6576 (add_partial_symbol): Add local baseaddr.
6577 (psymtab_to_symtab_1): Add local baseaddr. Use
6578 objfile->section_offsets for consistency. Don't initialize
6579 cu_header_offset; do initialize cu.header.offset and
6580 cu.list_in_scope.
6581 (read_file_scope, read_func_scope, read_lexical_block_scope)
6582 (dwarf_decode_lines, new_symbol): Add local baseaddr.
6583
c6e06ede
MC
65842004-01-27 Michael Chastain <mec.gnu@mindspring.com>
6585
fb328ecc 6586 * PROBLEMS: Add gdb/1516.
c6e06ede 6587
48184fd4
AC
65882003-12-29 Robert Millan <robertmh@gnu.org>
6589
6590 Patch committed by Andrw Cagney.
6591 * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
6592 * configure.tgt: Match knetbsd*-gnu.
6593
c1321b30
AC
65942004-01-26 Andrew Cagney <cagney@redhat.com>
6595
f3699be3
AC
6596 * breakpoint.c (catch_command_1): Delete #ifdef code.
6597 (catch_fork_command_1): Delete #ifdef wrapper.
6598 (catch_exec_command_1): Ditto.
6599 (catch_load_command_1): Ditto.
6600 (catch_unload_command_1): Ditto.
6601
c1321b30
AC
6602 * breakpoint.c (watchpoint_check): Delete #if0ed variable.
6603 (catch_breakpoint): Delete #if0ed function.
6604 (disable_catch_breakpoint): Ditto.
6605 (delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
6606 (disable_catch, enable_catch, delete_catch): Ditto.
6607
b4501125
AC
66082004-01-26 Andrew Cagney <cagney@redhat.com>
6609
6610 * remote.c (echo_check, quit_flag): Delete variables.
6611 (cisco_kernel_mode): Delete variable.
6612 (minitelnet_return, tty_input, escape_count): Delete variables.
6613 (remote_cisco_mode): Delete variable.
6614 (remote_cisco_open, remote_cisco_close): Delete function.
6615 (remote_cisco_mourn, remote_cisco_wait): Delete function.
6616 (init_remote_cisco_ops): Delete function.
6617 (_initialize_remote): Do not install "remote cisco" code.
6618 (read_frame): Delete cisco specific code.
6619 (remote_info_process): Delete function.
6620 (remote_wait): Delete cisco specific code.
6621 (remote_cisco_section_offsets): Delete function.
6622 (remote_cisco_objfile_relocate): Delete function.
6623 (remote_async_wait): Delete cisco specific code.
6624 (minitelnet, readtty, readsocket): Delete function.
6625
74055713
AC
66262004-01-26 Andrew Cagney <cagney@redhat.com>
6627
6628 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add
6629 comments mentioning extract_returned_value_address.
6630 * infcmd.c (print_return_value): Update. Add comments on
6631 extract_returned_value_address.
6632 * stack.c (return_command): Add comments on
6633 extract_returned_value_address.
6634 * values.c: Update comment.
6635 * m32r-tdep.c: Update comment.
6636 * sparc-tdep.c: Update comment.
6637 * ia64-tdep.c (ia64_use_struct_convention): Update comment.
6638 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
6639 * sh64-tdep.c (sh64_gdbarch_init): Update.
6640 * sh-tdep.c (sh_gdbarch_init): Update.
6641 * s390-tdep.c (s390_gdbarch_init): Update.
6642 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
6643 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
6644 * m68k-tdep.c (m68k_gdbarch_init): Update.
6645 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
6646 * m32r-tdep.c (m32r_gdbarch_init): Update.
6647 * ia64-tdep.c (ia64_gdbarch_init): Update.
6648 * h8300-tdep.c (h8300_gdbarch_init): Update.
6649 * frv-tdep.c (frv_gdbarch_init): Update.
6650 * arm-tdep.c (arm_gdbarch_init): Update.
6651 * alpha-tdep.c (alpha_gdbarch_init): Update.
6652
a67af2b9
AC
66532004-01-26 Andrew Cagney <cagney@redhat.com>
6654
6655 * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of
6656 SYMBOL_LOCATION_FUNCS
6657 (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to
6658 "struct symbol_ops".
6659 * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change
6660 type to "struct symbol_ops".
6661 * symtab.h (struct symbol_ops): Rename "struct location_funcs".
6662 (struct symbol): Replace ".aux_value.loc.funcs" and
6663 ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr".
6664 (SYMBOL_OBJFILE): Delete macro.
6665 (SYMBOL_LOCATION_FUNCS): Delete macro.
6666 (SYMBOL_LOCATION_BATON): Update.
6667 * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS
6668 intead of SYMBOL_LOCATION_FUNCS.
6669 * ax-gdb.c (gen_var_ref): Ditto.
6670 * printcmd.c (address_info): Ditto.
6671 * findvar.c (read_var_value): Ditto.
6672 (symbol_read_needs_frame): Ditto.
6673
c034e007
AC
66742004-01-26 Andrew Cagney <cagney@redhat.com>
6675
6676 * dwarf2read.c (read_func_scope): Document frame-base hack.
6677
bb472c1e
MK
66782004-01-25 Mark Kettenis <kettenis@gnu.org>
6679
6680 * infcmd.c (print_return_value): Plug memory leak; delete
6681 ui_stream object. Rename argument `structure_return' to
6682 `struct_return'.
6683
c8e737d5
MK
66842004-01-25 Mark Kettenis <kettenis@gnu.org>
6685
f941662f
MK
6686 * infcmd.c (print_return_value): Wrap long lines.
6687 (finish_command_continuation, finish_command): Remove unused
6688 variable `funcaddr'. Fix some coding-standards problems.
6689
c558d81a 6690 * sparc-tdep.c (sparc_regset_from_core_section): Check whether
d8d65dd3 6691 SECT_SIZE is large enough, not whether it's exactly the right size.
c558d81a
MK
6692 (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and
6693 TDEP->fpregset to zero.
6694
bf1e5861 6695 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the
c8e737d5
MK
6696 floating-point registers for traditional NetBSD core files.
6697 (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and
6698 TDEP->sizeof_fpregset here.
6699
4c72d57a
MK
67002004-01-25 Mark Kettenis <kettenis@gnu.org>
6701
566626fa
MK
6702 * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
6703 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New
6704 function with code split out from
6705 sparc32nbsd_sigcontext_frame_cache.
6706 (sparc32nbsd_sigcontext_frame_cache): Use
6707 sparc32nbsd_sigcontext_saved_regs.
6708 (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for
6709 OpenBSD.
6710 * sparcobsd-tdep.c: New file.
6711 * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c.
6712 (sparcobsd-tdep.o): New dependency.
6713 * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd.
6714 * config/sparc/obsd.mt: New file.
6715
4c72d57a
MK
6716 * sparc-tdep.c (sparc32_gdbarch_init): Don't require
6717 TDEP->fpregset to be initialized to enable core file register
6718 sets.
6719
7e5e9f88
MK
67202004-01-24 Mark Kettenis <kettenis@gnu.org>
6721
f0f207fd 6722 * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg):
1e067c66
MK
6723 Add opaque declarations.
6724 (sparc64nbsd_sigcontext_saved_regs): New prototype.
6725 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New
6726 function with code split out from
6727 sparc64nbsd_sigcontext_frame_cache.
6728 (sparc64nbsd_sigcontext_frame_cache): Use
6729 sparc64nbsd_sigcontext_saved_regs.
6730 (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for
6731 OpenBSD.
6732 * sparc64obsd-tdep.c: New file.
6733 * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c.
6734 (sparc64obsd-tdep.o): New dependency.
6735 * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and
6736 gdb_osabi to GDB_OSABI_OPENBSD_ELF.
6737 * config/sparc/obsd64.mt: New file.
6738
690668cc
MK
6739 * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't
6740 read the instruction at PC.
6741
7e5e9f88
MK
6742 * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the
6743 value of GDB_OSABI_DEFAULT.
6744 (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE
6745 instead of GDB_OSABI_NETBSD_AOUT.
6746
68b6dce9
NR
67472004-01-24 Nick Roberts <nick@nick.uklinux.net>
6748
6749 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update
6750 copyright.
6751
080ce8c0
AC
67522004-01-23 Andrew Cagney <cagney@redhat.com>
6753
6754 * printcmd.c (display_command): Replace tui_set_display call with
6755 tui_set_layout_for_display_command.
6756 * tui/tui.h (enum tui_win_type): Define.
6757 (tui_set_layout): Delete declaration.
6758 (tui_set_layout_for_display_command): Rename set_tui_layout.
6759 * tui/tui-data.h (enum tui_layout_type): Define.
6760 * tui/tui-layout.h: Update copyright. Include "tui-data.h" and
6761 "tui.h".
6762 (tui_add_win_to_layout): Rename tuiAddWinToLayout.
6763 (tui_default_win_height): Rename tuiDefaultWinHeight.
6764 (tui_default_win_viewport_height): Rename
6765 tuiDefaultWinViewportHeight.
6766 (tui_set_layout): RenametuiSetLayout.
6767 * tui/tui-layout.c: Update references.
6768 * tui/tui.c: Update references.
6769 * tui/tui-disasm.c: Update references.
6770
b368761e
DC
67712004-01-23 David Carlton <carlton@kealia.com>
6772
6773 Partial workaround for PR c++/1511:
6774 * cp-namespace.c: Include frame.h.
6775 (cp_lookup_transparent_type): New
6776 (cp_lookup_transparent_type_loop): New.
6777 * cp-support.h: Declare cp_lookup_transparent_type.
6778 * symtab.c (basic_lookup_transparent_type): Renamed from
6779 lookup_transparent_type.
6780 (lookup_transparent_type): Replace old body by a call to
6781 current_language->la_lookup_transparent_type.
6782 * symtab.h: Update copyright. Declare
6783 basic_lookup_transparent_type.
6784 * language.h: Update copyright.
6785 (struct language_defn): Add la_lookup_transparent_type.
6786 * language.c: Update copyright.
6787 (unknown_language_defn): Add basic_lookup_transparent_type.
6788 (auto_language_defn): Add basic_lookup_transparent_type.
6789 (local_language_defn): Add basic_lookup_transparent_type.
6790 * ada-lang.c: Update copyright.
6791 (ada_language_defn): Add basic_lookup_transparent_type.
6792 * c-lang.c: Update copyright.
6793 (c_language_defn): Add basic_lookup_transparent_type.
6794 (cplus_language_defn): Add basic_lookup_transparent_type.
6795 (asm_language_defn): Add basic_lookup_transparent_type.
6796 (minimal_language_defn): Add basic_lookup_transparent_type.
6797 * f-lang.c: Update copyright.
6798 (f_language_defn): Add basic_lookup_transparent_type.
6799 * jv-lang.c: Update copyright.
6800 (java_language_defn): Add basic_lookup_transparent_type.
6801 * m2-lang.c: Update copyright.
6802 (m2_language_defn): Add basic_lookup_transparent_type.
6803 * objc-lang.c: Update copyright.
6804 (objc_language_defn): Add basic_lookup_transparent_type.
6805 * p-lang.c: Update copyright.
6806 (p_language_defn): Add basic_lookup_transparent_type.
6807 * scm-lang.c: Update copyright.
6808 (scm_language_defn): Add basic_lookup_transparent_type.
6809 * Makefile.in (cp-namespace.o): Depend on frame.h.
6810
fdde2d81
DC
68112004-01-23 David Carlton <carlton@kealia.com>
6812
6813 Patch for PR c++/1520:
6814 * dwarf2read.c (read_func_scope): Set processing_current_prefix
6815 properly if we have a specification die.
6816 (determine_prefix_aux): Rename from determine_prefix.
6817 (determine_prefix): Like the old determine_prefix, but never
6818 returns NULL.
6819
5b828b6b
TR
68202004-01-23 Theodore A. Roth <troth@openavr.org>
6821
6822 * avr-tdep.c: Update copyright.
6823 (avr_iaddr_p): Delete unused function.
6824 (avr_saddr_p): Delete unused function.
6825
a1b8c067
DC
68262004-01-23 David Carlton <carlton@kealia.com>
6827
6828 * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
6829 Fix for PR symtab/1534.
6830
f2cab569
MK
68312004-01-23 Mark Kettenis <kettenis@gnu.org>
6832
6833 * NEWS (New native configurations): Mention OpenBSD/sparc and
6834 OpenBSD/sparc64.
6835 * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
6836 * configure.host: Likewise.
6837 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
6838 handler for OpenBSD.
6839 * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
6840
642d8300
MK
68412004-01-22 Mark Kettenis <kettenis@gnu.org>
6842
89aac506
MK
6843 * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
6844 (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.
6845
36662fde
MK
6846 * ser-pipe.c (pipe_open): Use proper null pointer in execl call.
6847 * cli/cli-cmds.c (shell_escape): Likewise.
6848
642d8300
MK
6849 * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
6850 OpenBSD .note.openbsd.ident sections.
6851
fae299cd
DC
68522004-01-22 David Carlton <carlton@kealia.com>
6853
6854 * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
6855 get_scope_pc_bounds.
6856 (read_file_scope): Ditto.
6857 (get_scope_pc_bounds): New function, produced by extracting code
6858 from the above two functions, consolidating it, and adding support
6859 for DW_TAG_namespace.
6860
a49d618c
MK
68612004-01-22 Mark Kettenis <kettenis@gnu.org>
6862
6863 * osabi.c (MAX_NOTESZ): New define.
6864 (check_note): New function.
6865 (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
6866 check_note.
6867
fe61caab
RM
68682004-01-21 Roland McGrath <roland@redhat.com>
6869
6870 * MAINTAINERS (write after approval): Add myself.
6871
ec145965
EZ
68722004-01-21 Eli Zaretskii <eliz@gnu.org>
6873
6874 * utils.c (init_page_info): Move declarations of `rows' and
6875 `cols' before the __GO32__-specific code. Move the closing brace
6876 outside the #ifdef __GO32__..#endif block.
6877 [__GO32__]: Use `rows' and `cols' to avoid compiler warnings.
6878
877522db
PB
68792004-01-21 Paul Brook <paul@codesourcery.com>
6880
6881 * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
6882 BPSTAT_WHAT_CHECK_SHLIBS.
6883
dbf5be1c
PB
68842004-01-21 Paul Brook <paul@codesourcery.com>
6885
6886 * MAINTAINERS: Add myself to write-after-approval.
6887
81f08b92
AC
68882004-01-20 Andrew Cagney <cagney@redhat.com>
6889
5a1efed7
AC
6890 * ax-gdb.c (print_axs_value): Delete unused function.
6891 * jv-lang.c (java_lookup_type): Delete unused function.
6892 * cli/cli-dump.c (dump_filetype): Delete unused function.
6893 * remote-mips.c (remote_mips_insert_hw_breakpoint)
6894 (remote_mips_remove_hw_breakpoint): Delete unused functions.
6895 (mips_getstring): Delete unused function.
6896 (pmon_insert_breakpoint): Delete #if0ed function.
6897 (PMON_MAX_BP): Delete #if0ed MACRO.
6898 (mips_pmon_bp_info): Delete #if0ed variable.
6899 (pmon_remove_breakpoint): Delete #if0ed function.
6900 * monitor.c (monitor_write_even_block): Delete unused function.
6901 (monitor_write_memory_block): Delete #if0ed code.
6902 * dink32-rom.c (dink32_load): Delete unused function.
6903 (_initialize_dink32_rom): Delete #if0ed code.
6904 * d10v-tdep.c (d10v_daddr_p): Delete unused function.
6905
b0a30fce
AC
6906 * tui/tui-command.c: Update references.
6907 * tui/tui-io.c: Update references.
6908 * tui/tui-command.h: Update copyright.
6909 (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
6910
81f08b92
AC
6911 * source.c (ambiguous_line_spec): Delete never-defined function.
6912 * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
6913 * gdbtypes.c (add_name, add_mangled_type): Ditto.
6914 * cli/cli-cmds.c (validate_comname): Ditto.
6915
65f05602
AC
6916 * tui/tui-disasm.h: Update copyright. Include "tui.h" and
6917 "tui-data.h".
6918 (tui_set_disassem_content): Rename tuiSetDisassemContent.
6919 (tui_show_disassem): Rename tuiShowDisassem.
6920 (tui_show_disassem_and_update_source): Rename
6921 tuiVerticalDisassemScroll.
6922 (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
6923 (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
6924 * tui/tui.h: Update copyright.
6925 (enum tui_status): Define.
6926 * tui/tui-data.h (enum tui_scroll_direction): Define.
6927 * tui/tui-disasm.c: Update copyright. Update references.
6928 * tui/tui-winsource.c: Update copyright. Update references.
6929 * tui/tui-win.c: Update references.
6930 * tui/tui-layout.c: Update references.
6931
6bb0384f
AC
69322004-01-20 Andrew Cagney <cagney@redhat.com>
6933
6934 * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
6935 sym2 to start of block.
6936
9175c9a3
MC
69372004-01-19 Michael Chastain <mec.gnu@mindspring.com>
6938
6939 * MAINTAINERS: Delete mmalloc.
6940 * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
6941 * NEWS: Mention removal of --with-malloc.
6942 * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
6943 * config.in: Regenerate.
6944 * configure: Regenerate.
6bb0384f
AC
6945 * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc,
6946 USE_MMALLOC, MMCHECK_FORCE.
9175c9a3
MC
6947 * gdbinit.in: Remove mmalloc.
6948 * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
6949 * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
6950 * config/i386/go32.mh: Likewise.
6951 * config/i386/interix.mh: Likewise.
6952 * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.
6953
4fcef00a
JJ
69542004-01-19 Jeff Johnston <jjohnstn@redhat.com>
6955
6956 * linespec.c (decode_variable, symtab_from_filename): Call
6957 error_silent with error message instead of throwing an exception
6958 directly.
6959 * defs.h (error_silent, error_output_message): Add prototypes.
6960 (catch_exceptions_with_msg): Ditto.
6961 * utils.c (error_silent, error_output_message): New functions.
6962 * top.c (catch_exceptions_with_msg): New function.
6963
8e94b928
NR
69642004-01-20 Nick Roberts <nick@nick.uklinux.net>
6965
6966 * mi/mi-cmds.h (enum print_values): Add definition.
6967
6968 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name,
6969 type and value for simple data types and just the name and type
6970 for complex ones, if required.
6971
6972 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the
6973 children, if required.
6974
a02d6af8
KB
69752004-01-19 Kevin Buettner <kevinb@redhat.com>
6976
6977 * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
6978 unused declarations.
6979
78a4a9b9
AC
69802004-01-19 Andrew Cagney <cagney@redhat.com>
6981
6982 * top.h (mapped_symbol_files): Delete declaration.
6983 * main.c (captured_main): Delete option "m" and "mapped".
6984 * objfiles.c (mapped_symbol_files): Delete variable.
6985 * symfile.c (symbol_file_command): Delete mmap code.
6986 (symbol_file_add_with_addrs_or_offsets): Ditto.
6987 (add_symbol_file_command, reread_separate_symbols): Ditto.
6988 * objfiles.h (OBJF_MAPPED): Delete.
6989 * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
6990 (free_objfile) [USE_MMALLOC]: Ditto.
6991 (open_existing_mapped_file): Delete function.
6992 (open_mapped_file): Delete function.
6993 (map_to_file): Delete function.
6994
2dbd5e30
KB
69952004-01-19 Kevin Buettner <kevinb@redhat.com>
6996
6997 * infrun.c (step_into_function): Account for possible breakpoint
6998 adjustment when computing ``stop_func_start''.
6999
437b434f
KB
70002004-01-19 Kevin Buettner <kevinb@redhat.com>
7001
7002 * target.c (default_region_size_ok_for_hw_watchpoint): Compare
7003 the region size against the size of a pointer, not the size of
7004 a register as given by DEPRECATED_REGISTER_SIZE.
7005
55fb0713
AC
70062004-01-19 Andrew Cagney <cagney@redhat.com>
7007
7008 * tui/tui-regs.h: Include "tui-data.h".
7009 (tuiFirstRegElementNoInLine): Delete declaration.
7010 (tui_display_registers_from): Rename tuiDisplayRegistersFrom.
7011 (tui_last_regs_line_no): Rename tuiLastRegsLineNo.
7012 (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
7013 (tui_calculate_regs_column_count): Rename
7014 tuiCalculateRegsColumnCount.
7015 (tui_check_register_values): Rename tuiCheckRegisterValues.
7016 (tui_show_registers): Rename tuiShowRegisters.
7017 (tui_display_registers_from_line): Rename
7018 tuiDisplayRegistersFromLine.
7019 (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
7020 (tui_toggle_float_regs): Rename tuiToggleFloatRegs.
7021 (tui_first_reg_element_no_inline): Rename
7022 tuiFirstRegElementNoInLine.
7023 * tui/tui-data.h: Update copyright.
7024 (enum tui_register_display_type): Rename _TuiRegisterDisplayType.
7025 * tui/tui-windata.c: Update copyright, update references.
7026 * tui/tui-regs.c: Update copyright, update references.
7027 * tui/tui-win.c: Update copyright, update references.
7028 * tui/tui-layout.c: Update copyright, update references.
fe61caab 7029
cebe9500
AC
70302004-01-18 Andrew Cagney <cagney@redhat.com>
7031
bcdf1568
AC
7032 * tui/tui-io.c: Update copyright.
7033 (key_is_end_sequence, key_is_backspace): New functions.
7034 (key_is_command_char, key_is_start_sequence): New function.
7035 (tui_getc): Update references.
7036 * tui/tui-io.h: Update copyright.
7037 (m_tuiStartNewLine): Delete macro.
7038 (m_isBackspace, m_isDeleteChar): Delete macros.
7039 (m_isDeleteLine, m_isDeleteToEol): Delete macros.
7040 (m_isNextPage, m_isPrevPage): Delete macros.
7041 (m_isLeftArrow, m_isRightArrow): Delete macros.
7042 (m_isXdbStyleCommandChar): Delete macro.
7043 (key_is_start_sequence): Declare, replace m_isStartSequence.
7044 (key_is_end_sequence): Declare, replace m_isEndSequence.
7045 (key_is_backspace): Declare ,replace m_isBackspace.
7046 (key_is_command_char): Declare, replace m_isCommandChar.
7047 * tui/tui-command.c: Update copyright.
7048 (tuiDispatchCtrlChar): Update references.
7049
130d87e6
AC
7050 * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
7051 tuiSourceWin.h.
7052
d7b2e967
AC
7053 * tui/tui-command.c: Rename tui/tuiCommand.c.
7054 * tui/tui-command.h: Rename tui/tuiCommand.h.
7055 * tui/tui-data.c: Rename tui/tuiData.c.
7056 * tui/tui-data.h: Rename tui/tuiData.h.
7057 * tui/tui-disasm.c: Rename tui/tuiDisassem.c.
7058 * tui/tui-disasm.h: Rename tui/tuiDisassem.h.
7059 * tui/tui-io.c: Rename tui/tuiIO.c.
7060 * tui/tui-io.h: Rename tui/tuiIO.h.
7061 * tui/tui-layout.c: Rename tui/tuiLayout.c.
7062 * tui/tui-layout.h: Rename tui/tuiLayout.h.
7063 * tui/tui-regs.c: Rename tui/tuiRegs.c.
7064 * tui/tui-regs.h: Rename tui/tuiRegs.h.
7065 * tui/tui-source.c: Rename tui/tuiSource.c.
7066 * tui/tui-source.h: Rename tui/tuiSource.h.
7067 * tui/tui-stack.c: Rename tui/tuiStack.c.
7068 * tui/tui-stack.h: Rename tui/tuiStack.h.
7069 * tui/tui-win.c: Rename tui/tuiWin.c.
7070 * tui/tui-win.h: Rename tui/tuiWin.h.
7071 * tui/tui-windata.c: Rename tui/tuiDataWin.c.
7072 * tui/tui-windata.h: Rename tui/tuiDataWin.h.
7073 * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
7074 * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
7075 * tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
7076 * tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
7077 * tui/tui-file.c: Update includes.
7078 * tui/tui-hooks.c: Update includes.
7079 * tui/tui-interp.c: Update includes.
7080 * tui/tui.c: Update includes.
7081 * Makefile.in: Update all tui/ dependencies.
7082 (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.
7083
b2100910
AC
7084 * Makefile.in: Update copyright. Update dependencies.
7085
cebe9500
AC
7086 * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
7087 problem.
7088
c6f0559b
AC
70892004-01-18 Andrew Cagney <cagney@redhat.com>
7090
43e9390b
AC
7091 * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
7092 instead of register_gdbarch_init.
7093
c6f0559b
AC
7094 * remote-sds.c (tohex): Delete unused function. Update copyright.
7095 * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
7096 * v850-tdep.c (v850_register_virtual_size): Ditto.
7097 * target.c (normal_target_post_startup_inferior): Ditto.
7098 * source.c (ambiguous_line_spec): Ditto.
7099 * remote.c (adapt_remote_get_threadinfo): Ditto.
7100 * mi/mi-out.c (out_field_fmt): Ditto.
7101 * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
7102 (output_control_change_notification): Ditto.
7103 * m68k-tdep.c (m68k_register_byte): Ditto.
7104 (m68k_remote_breakpoint_from_pc): Ditto.
7105 * ui-out.c (init_ui_out_state): Delete unused declaration.
7106 * stabsread.c (search_value): Ditto.
7107 * mi/mi-cmd-env.c (env_cli_command): Ditto.
7108 * maint.c (print_section_table): Ditto.
7109 * infrun.c (set_follow_fork_mode_command): Ditto.
7110
a8504492
MK
71112004-01-18 Mark Kettenis <kettenis@gnu.org>
7112
7113 * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
7114 DW_CFA_def_cfa_exporession. Add support for
7115 DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and
7116 DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391.
7117
0bd8997e
AC
71182004-01-18 Andrew Cagney <cagney@redhat.com>
7119
7120 * ocd.c: Update copyright.
7121 (bdm_read_register_command): Delete unused function.
7122 (_initialize_remote_ocd): Delete commented out reference.
7123 (get_quoted_char, reset_packet): Delete #if0ed function.
7124 (output_packet, put_quoted_char): Delete #if0ed function.
7125 (stu_put_packet, stu_get_packet): Delete #if0ed function.
7126 (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper.
7127 (BDM_BREAKPOINT): Delete #if0ed macro.
7128 (remote_timeout): Delete #if0ed variable.
7129
31bb40e4
MK
71302004-01-18 Mark Kettenis <kettenis@gnu.org>
7131
7132 * Makefile.in (ALLDEPFILES): Remove core-sol2.c.
7133 (core-sol2.o): Remove dependency.
7134 * core-sol2.c: Remove file.
7135
887432a5
AC
71362004-01-17 Andrew Cagney <cagney@redhat.com>
7137
7138 * mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
7139 * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
7140 enums.
7141
29182b13
DJ
71422004-01-17 Daniel Jacobowitz <drow@mvista.com>
7143
7144 * remote.c: Update copyright years.
7145
2963ee1d
DJ
71462004-01-17 Daniel Jacobowitz <drow@mvista.com>
7147
7148 * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.
7149
79d45cd4
AC
71502004-01-17 Andrew Cagney <cagney@redhat.com>
7151
ee300cd4
AC
7152 * mdebugread.c: Update copyright.
7153 (parse_symbol): Replace DEPRECATED_STREQ with strcmp.
7154 (parse_type, parse_procedure): Ditto.
7155 (parse_partial_symbols, psymtab_to_symtab_1): Ditto.
7156
fcacc9c2
AC
7157 * cris-tdep.c (cris_store_struct_return): Put back accidently
7158 deleted function.
7159
79d45cd4
AC
7160 * gdbarch.sh: Update copyright year.
7161 * gdbarch.h, gdbarch.c: Re-generate.
7162
b263358a
DJ
71632004-01-17 Daniel Jacobowitz <drow@mvista.com>
7164
7165 Suggested by George Anzinger.
7166 * dwarf2expr.c (execute_stack_op): Fetch the second item from the
7167 correct stack offset. Include unknown opcode numbers in the error
7168 message.
7169
931aecf5
AC
71702004-01-17 Andrew Cagney <cagney@redhat.com>
7171
7172 * x86-64-tdep.c (x86_64_init_abi): No need to clear
7173 extract_struct_value_address, i386 does not set it.
7174 * sparc64-tdep.c (sparc64_init_abi): Do not set
7175 extract_struct_value_address, never called.
7176 (sparc64_extract_struct_value_address): Delete function.
7177 * m68hc11-tdep.c: Update copyright.
7178 (m68hc11_gdbarch_init): Delete redundant assignment of
7179 extract_struct_value_address.
7180 * i386-tdep.c: Update copyright.
7181 (i386_gdbarch_init): Do not set extract_struct_value_address,
7182 never called.
7183 (i386_extract_struct_value_address): Delete function.
7184 * sparc-tdep.c (sparc32_gdbarch_init): Do not set
7185 extract_struct_value_address, never called.
7186 (sparc32_extract_struct_value_address): #if 0 function. Add
7187 comments explaining its future.
7188
756fe439
DJ
71892004-01-17 Daniel Jacobowitz <drow@mvista.com>
7190
7191 * arm-tdep.c (arm_write_pc): New function.
7192 (arm_gdbarch_init): Call set_gdbarch_write_pc.
7193
e74f0f02
DJ
71942004-01-17 Daniel Jacobowitz <drow@mvista.com>
7195
7196 * breakpoint.c (must_shift_inst_regs): Delete.
7197 (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
7198 and SHIFT_INST_REGS.
7199 * infcmd.c (step_1, step_1_continuation): Delete references to
7200 SHIFT_INST_REGS.
7201 * infrun.c (keep_going): Likewise.
7202 * target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
7203 * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
7204
b6cb9035
AC
72052004-01-17 Andrew Cagney <cagney@redhat.com>
7206
444a1e2e
AC
7207 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
7208 * gdbarch.h, gdbarch.c: Re-generate.
7209 * infcmd.c (print_return_value): Delete reference to
7210 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
7211
def7e6ed
AC
7212 * cris-tdep.c (cris_gdbarch_init): Do not set
7213 deprecated_extract_struct_value_address.
7214
07be497a
AC
7215 * xstormy16-tdep.c: Update copyright.
7216 (xstormy16_extract_struct_value_address): Update to current
7217 extract struct value address interface.
7218 (xstormy16_gdbarch_init): Set extract_struct_value_address.
7219 * sh64-tdep.c (sh64_extract_struct_value_address): Update to
7220 current extract struct value address interface.
7221 (sh64_gdbarch_init): Set extract_struct_value_address.
7222
6b4d5c91
AC
7223 * cris-tdep.c: Update copyright.
7224 (cris_extract_struct_value_address): Delete function.
7225 (struct_return_address): Delete variable.
7226 (cris_store_struct_return): Do not set struct_return_address.
7227
464e0365
AC
7228 * mcore-tdep.c: Update copyright.
7229 (mcore_extract_struct_value_address): Delete function. Update
7230 comments.
7231 (mcore_gdbarch_init): Update.
7232 * mn10300-tdep.c: Update copyright.
7233 (mn10300_extract_struct_value_address): Delete function.
7234 (mn10300_gdbarch_init): Update.
7235 * v850-tdep.c: Update copyright.
7236 (v850_extract_struct_value_address): Delete.
7237 (v850_gdbarch_init): Update.
7238 * ns32k-tdep.c: Update copyright.
7239 (ns32k_extract_struct_value_address): Delete.
7240 (ns32k_gdbarch_init): Update.
7241 * hppa-tdep.c (hppa_extract_struct_value_address): Delete.
7242 (hppa_gdbarch_init): Update.
7243 * vax-tdep.c: Update copyright.
7244 (vax_extract_struct_value_address): Delete.
7245 (vax_gdbarch_init): Update.
7246
afb18d0f
AC
7247 * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
7248 * gdbarch.h, gdbarch.c: Re-generate.
7249 * procfs.c (procfs_fetch_registers): Delete reference to
7250 DEPRECATED_NPC_REGNUM.
7251 (procfs_store_registers): Ditto.
7252 * regcache.c (generic_target_write_pc): Simplify.
7253 * lynx-nat.c: Delete #ifdef SPARC code. Not used.
7254
a698f53e
AC
7255 * core-sol2.c (fetch_core_registers): Replace
7256 DEPRECATED_NPC_REGNUM with equivalent tdep value.
7257
adc11376
AC
7258 * hppa-tdep.c: Update copyright year.
7259 (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of
7260 NPC_REGNUM.
7261 (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
7262
b6cb9035
AC
7263 * mips-tdep.c (mips_write_pc): New function.
7264 (mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
7265 (mips_read_pc): Use mips_regnum instead of PC_REGNUM.
7266 (mips_find_saved_regs, mips_software_single_step: Ditto.
7267 (mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
7268 mips_init_extra_frame_info, mips_pop_frame): Ditto.
7269
6d82d43b
AC
72702004-01-17 Andrew Cagney <cagney@redhat.com>
7271
7272 * mips-tdep.c: Re-indent. Group functions by ABI.
7273
71bd6bd4
AC
72742004-01-17 Andrew Cagney <cagney@redhat.com>
7275
7276 * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
7277 * gdbarch.c: Re-generate.
7278 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
7279 DECR_PC_AFTER_BREAK to zero.
7280 * vax-tdep.c (vax_gdbarch_init): Ditto.
7281 * v850-tdep.c (v850_gdbarch_init): Ditto.
7282 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
7283 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
7284 * sh-tdep.c (sh_gdbarch_init): Ditto.
7285 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
7286 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
7287 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
7288 * mips-tdep.c (mips_gdbarch_init): Ditto.
7289 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
7290 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
7291 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
7292 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
7293 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
7294 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
7295 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
7296 * frv-tdep.c (frv_gdbarch_init): Ditto.
7297 * cris-tdep.c (cris_gdbarch_init): Ditto.
7298 * avr-tdep.c (avr_gdbarch_init): Ditto.
7299 * arm-tdep.c (arm_gdbarch_init): Ditto.
7300 * i386-nto-tdep.c (i386nto_init_abi): Add comment.
7301
a02abb62
JB
73022004-01-17 J. Brobecker <brobecker@gnat.com>
7303
7304 * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
7305 Delete, no longer used.
7306 (read_subrange_type): New function, mostly extracted from
7307 read_array_type().
7308 (read_array_type): Replace extracted code by call to
7309 read_subrange_type().
7310 (dwarf2_get_attr_constant_value): New function.
7311 (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
7312 (add_partial_symbol): Likewise.
7313 (process_die): Likewise.
7314 (new_symbol): Likewise.
7315 (read_type_die): Likewise.
7316
cf5b2f1b
AC
73172004-01-16 Andrew Cagney <cagney@redhat.com>
7318
7319 * symfile.c: Update copyright year.
7320 (compare_symbols): Delete unused function.
7321 * stabsread.c: Update copyright year.
7322 (lrs_general_complaint): Delete unused function.
7323 (ref_search_value): Ditto.
7324 (get_substring): Delete declaration.
7325 * sh64-tdep.c: Update copyright year.
7326 (sh64_get_gdb_regnum): Delete unused function.
7327 * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
7328 Delete unused function.
7329
d33b9831
MK
73302004-01-17 Mark Kettenis <kettenis@gnu.org>
7331
7332 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
7333 * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
7334
7aea86e6
AC
73352004-01-16 Andrew Cagney <cagney@redhat.com>
7336
7337 Changes from Peter Schauer.
7338 * rs6000-tdep.c: Update copyright year.
7339 (rs6000_push_dummy_call): Update the stack pointer before
7340 accessing the corresponding stack region.
7341 * rs6000-nat.c: Update copyright year.
7342 (set_host_arch): Set "info.abfd" to "exec_bfd".
7343
26b0da32
MK
73442004-01-15 Mark Kettenis <kettenis@gnu.org>
7345
7346 * blockframe.c: Update copyright year.
7347 (inside_entry_func): Don't treat a zero PC specially.
7348
86fbe6cc
EZ
73492004-01-14 Elena Zannoni <ezannoni@redhat.com>
7350
7351 * gcore.c (gcore_copy_callback): Use paddr_d to print size
7352 variable.
7353 (gcore_create_callback): Ditto. Skip any memory segment that has
7354 no permissions set.
7355
63d06c5c
DC
73562004-01-14 David Carlton <carlton@kealia.com>
7357
7358 Change symbols for C++ nested types to contain the fully qualified
7359 name, if possible. (At least in the DWARF-2 case.) Partial fix
7360 for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
7361 c++/895.
7362 * c-exp.y (qualified_type): Handle types nested within classes.
7363 * cp-namespace.c: Update comments.
7364 (cp_set_block_scope): Delete #if 0.
7365 (cp_lookup_nested_type): Handle types nested within classes.
7366 * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
7367 when appropriate.
7368 (add_partial_symbol): Add the name of the enclosing namespace to
7369 types.
7370 (pdi_needs_namespace): New.
7371 (add_partial_namespace): Tweak comment.
7372 (add_partial_structure): New.
7373 (psymtab_to_symtab_1): Initialize processing_current_prefix
7374 here...
7375 (process_die): instead of here.
7376 (read_structure_scope): Try to figure out the name of the class or
7377 namespace that the structure might be defined within.
7378 (read_enumeration): Generate fully-qualified names, if possible.
7379 (read_namespace): Don't set name to NULL.
7380 (die_specification): New.
7381 (new_symbol): Generate fully-qualified names for types.
7382 (read_type_die): Determine appropriate prefix.
7383 (determine_prefix): New.
7384 (typename_concat): New.
7385 (class_name): New.
7386 * valops.c (value_aggregate_elt): Pass NOSIDE to
7387 value_struct_elt_for_reference.
7388 (value_struct_elt_for_reference): Make static, add NOSIDE
7389 parameter, call value_maybe_namespace_elt as a last resort.
7390 (value_namespace_elt): Break out code into
7391 value_maybe_namespace_elt.
7392 (value_maybe_namespace_elt): New.
7393
87783b8b
AC
73942004-01-12 Andrew Cagney <cagney@redhat.com>
7395
7396 * mips-tdep.c (mips_convert_register_p): Handle both raw and
7397 cooked floating-point registers.
7398 (mips_gdbarch_init): Set convert_register_p, register_to_value,
7399 and value_to_register.
7400
6503b91e
AC
74012004-01-13 Andrew Cagney <cagney@redhat.com>
7402
7403 * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
7404 * gdbarch.c: Re-generate.
7405 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
7406 FUNCTION_START_OFFSET.
7407 * v850-tdep.c (v850_gdbarch_init): Ditto.
7408 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
7409 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
7410 * sh-tdep.c (sh_gdbarch_init): Ditto.
7411 * s390-tdep.c (s390_gdbarch_init): Ditto.
7412 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
7413 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
7414 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
7415 * mips-tdep.c (mips_gdbarch_init): Ditto.
7416 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
7417 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
7418 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
7419 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
7420 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
7421 * i386-tdep.c (i386_gdbarch_init): Ditto.
7422 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
7423 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
7424 * frv-tdep.c (frv_gdbarch_init): Ditto.
7425 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
7426 * cris-tdep.c (cris_gdbarch_init): Ditto.
7427 * avr-tdep.c (avr_gdbarch_init): Ditto.
7428 * arm-tdep.c (arm_gdbarch_init): Ditto.
7429 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
7430
ea1dd7bc
DJ
74312004-01-13 Daniel Jacobowitz <drow@mvista.com>
7432
7433 * infrun.c (follow_fork_mode_ask): Remove.
7434 (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
7435 (follow_fork): Simplify and remove internal error for
7436 follow_fork_mode_ask.
7437 (_initialize_infrun): Update "set follow-fork-mode" help text.
7438
0f0cffd2
AC
74392004-01-13 Andrew Cagney <cagney@redhat.com>
7440
7441 * configure.in: Update copyright year.
7442 (build_warnings): Add -Wunused-label.
7443 * configure: Re-generate.
7444
de38af99
AC
74452004-01-12 Andrew Cagney <cagney@redhat.com>
7446
954a7fba
AC
7447 * exec.h (exec_ops): Make "extern".
7448
de38af99
AC
7449 * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
7450 the function is void.
7451 (mips_pseudo_register_write): Ditto.
7452
1a111ce3
AC
74532004-01-12 Andrew Cagney <cagney@redhat.com>
7454
7455 * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
7456 call. Never defined.
7457 * sparc-tdep.h (struct frame_info): Add opaque declaration.
7458 * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
7459 (struct sparc_gregset, struct regcache): Ditto.
7460 * sparc-nat.c: Update copyright. Specify "GNU/Linux".
7461
48efe704
AC
74622004-01-12 Andrew Cagney <cagney@redhat.com>
7463
7464 * mi/ChangeLog: Delete file. Renamed to ...
7465 * mi/ChangeLog-1999-2003: New file.
7466 * tui/ChangeLog: Delete file. Renamed to ...
7467 * tui/ChangeLog-1998-2003: New file.
fe61caab 7468
a54124c5
MK
74692004-01-11 Mark Kettenis <kettenis@gnu.org>
7470
2ca62865
MK
7471 * sparc64nbsd-tdep.c: Include "regset.h".
7472 (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
7473 Remove variables.
7474 (fetch_core_registers): Remove function.
7475 (sparc64nbsd_core_fns): Remove variable.
7476 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
7477 functions.
7478 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
7479 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
7480 (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
7481
ca9d58e9
MK
7482 * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
7483 sparc_extract_struct_value_address.
7484 (sparc32_gdbarch_init): Set extract_struct_value_address.
7485 * sparc64-tdep.c (sparc64_extract_struct_value_address): New
7486 function.
7487 (sparc64_init_abi): Set extract_struct_value_address. Don't set
7488 return_value_on_stack.
7489
3cc87ec0
MK
7490 * NEWS: Mention that %cs and %ss have been added to the AMD64
7491 configurations
7492
5bf00f29
MK
7493 * frame.c: Update copyright year.
7494 (get_prev_frame): Improve comment.
7495
4f7ec84e
MK
7496 * sparc64fbsd-tdep.c: Include "regset.h".
7497 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
7498 Remove variables.
7499 (fetch_core_registers): Remove function.
7500 (sparc64fbsd_core_fns): Remove variable.
7501 (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
7502 functions.
7503 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
7504 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
46b58ce9 7505 (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
4f7ec84e 7506
4e7b0cd3
MK
7507 * sparcnbsd-tdep.c: Include "regset.h".
7508 (fetch_core_registers): Remove function.
7509 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
7510 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
7511 functions.
7512 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
7513 TDEP->fpregset.
46b58ce9 7514 (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
4e7b0cd3 7515
a54124c5
MK
7516 * sparc-tdep.h (struct regset): Provide opaque declaration.
7517 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
7518 fpregset and sizeof_fpregset members.
7519 * sparc-tdep.c (struct regset): Provide opaque declaration.
7520 (sparc_regset_from_core_section): New function.
7521 (sparc32_gdbarch_init): Initialize TDEP->gregset,
7522 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
7523 Set regset_from_core_section when appropriate.
7524
29ff87c5
MK
75252004-01-10 Mark Kettenis <kettenis@gnu.org>
7526
79b1ab3d
MK
7527 * x86-64-tdep.c (amd64_non_pod_p): New function.
7528 (amd64_classify_aggregate): Return class memory for non-POD
7529 C++ structure types.
7530
6470d250
MK
7531 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
7532 argument. Use it to reserve a register if necessary.
7533 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
7534 amd64_push_arguments.
7535
562c50c2
MK
7536 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
7537
af233647
MK
7538 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
7539 register numbers in comments.
7540 * x86-64-tdep.h: Update copyright year.
7541 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
7542 Adjust for addition of %cs and %ss.
7543 * amd64fbsd-nat.c: Update copyright year.
7544 (reg_offset): Add register offsets for %cs and %ss.
7545 * amd64fbsd-tdep.c: Update copyright year.
7546 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
7547 (amd64fbsd_sc_reg_offset): Likewise.
7548 * x86-64-linux-nat.c: Update copyright year.
7549 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
7550 and %ss.
7551 * amd64nbsd-nat.c: Update copyright year.
7552 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
7553 * amd64nbsd-tdep.c: Update copyright year.
7554 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
7555 * x86-64-linux-tdep.c: Update copyright year.
7556 (user_to_gdb_regmap): Add mapping for %cs and %ss.
7557 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
7558 * regformats/reg-x86-64.dat: Add %cs and %ss.
7559
29ff87c5
MK
7560 * blockframe.c (inside_entry_func): Reformat. Introduce new local
7561 variables to prevent long lines. Update comments to reflect
7562 reality.
7563
38d518c9
EZ
75642004-01-09 David Carlton <carlton@kealia.com>
7565
7566 Checked in by Elena Zannoni <ezannoni@redhat.com>.
7567 * dwarf2read.c (read_namespace): Pull out name-generating code
7568 into namespace_name. Rename previous_namespace to previous_prefix
7569 and processing_current_namespace to processing_current_prefix..
7570 (namespace_name): New function.
7571 (add_partial_symbol): Substitute uses of pdi->name with
7572 actual_name.
7573 * cp-support.h: Rename processing_current_namespace to
7574 processing_current_prefix.
7575 Update copyright year.
7576 * cp-namespace.c: Rename processing_current_namespace to
7577 processing_current_prefix.
7578 Update copyright year.
fe61caab 7579
1e4728e7
AC
75802004-01-09 Andrew Cagney <cagney@redhat.com>
7581
7582 * jv-valprint.c, ser-unix.c: Add missing copyright years.
7583
c77c642a
MK
75842004-01-09 Mark Kettenis <kettenis@gnu.org>
7585
7586 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
7587 complaining.
7588 (process_one_symbol): Deal with N_PATCH stabs.
7589
b44e9041
EZ
75902004-01-09 Elena Zannoni <ezannoni@redhat.com>
7591
7592 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
7593 ifdeffed code.
7594 Update copyright year.
38d518c9 7595
eccfb640
MC
75962004-01-08 Michael Chastain <mec.gnu@mindspring.com>
7597
7598 * config/pa/tm-hppa.h: Update extern declarations for
7599 hppa32_hpux_frame_saved_pc_in_sigtramp,
7600 hppa32_hpux_frame_base_before_sigtramp, and
7601 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
7602
848c5feb
MC
76032004-01-08 Michael Chastain <mec.gnu@mindspring.com>
7604
7605 * config/pa/tm-hppah.h: Update copyright years.
7606
3cc5d663
AC
76072004-01-08 Andrew Cagney <cagney@redhat.com>
7608
7609 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
7610 (mips_o32_reg_struct_has_addr): Delete function.
7611 (mips_gdbarch_init): Update.
7612 (mips_extract_struct_value_address): Delete function.
7613
bfec0b41
JJ
76142004-01-08 David Mosberger <davidm@hpl.hp.com>
7615
7616 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
7617 reality.
7618
16e109ca
AC
76192004-01-07 Andrew Cagney <cagney@redhat.com>
7620
6214a8a1
AC
7621 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
7622 architecture's elf flags (when available).
7623
8d5838b5
AC
7624 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
7625 FPU to the start, check the MIPS FPU when looking for an old
7626 architecture.
7627 (set_mipsfpu_single_command): Update the architecture.
7628 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
7629
480d3dd2
AC
7630 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
7631 (mips_mask_address_p): Add "tdep" parameter.
7632 (show_mask_address, mips_addr_bits_remove): Update.
7633 (mips_dump_tdep): Update.
7634 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
7635 (MIPS_STACK_ARGSIZE): Delete macro.
7636 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
7637 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
7638 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
7639 (mips_dump_tdep): Update.
7640 (MIPS_SAVED_REGSIZE): Delete macro.
7641 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
7642 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
7643 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
7644 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
7645 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
7646 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
7647 (mips_pop_frame, return_value_location): Update.
7648 (mips_n32n64_return_value, mips_dump_tdep): Update.
7649
ec03c1ac
AC
7650 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
7651 MIPS ABI.
7652
16e109ca
AC
7653 * mips-tdep.c: Update copyright.
7654 (mips_gdbarch_init): Merge two code blocks handling the register
7655 name and number layout.
7656
15255275
MS
76572004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
7658
7659 * tracepoint.c (validate_actionline): Fix segv at EOF
7660
9f9057da
MC
76612004-01-07 Michael Chastain <mec.gnu@mindspring.com>
7662
7663 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
7664 properly for static fields.
7665
0127c0d3 76662004-01-06 Jeff Johnston <jjohnstn@redhat.com>
91562f53 7667 Jason Molenda <jmolenda@apple.com>
0127c0d3
JJ
7668
7669 * disasm.c: Update copyright to include 2004.
7670 (do_mixed_source_and_assembly): For uiout asm list
7671 and tuple cleanups, initialize to null_cleanup instead of
fe61caab 7672 NULL and do so prior to loop. Only reset when we close off
0127c0d3 7673 the tuple/list. Move check for whether to close off the
fe61caab 7674 asm tuple/list to after dump_insns call where it will be run
0127c0d3
JJ
7675 on each loop iteration.
7676
5269965e
AC
76772004-01-05 Andrew Cagney <cagney@redhat.com>
7678
54f1137d
AC
7679 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
7680 should be a switch case and not a label.
7681 * mips-tdep.c (mips32_next_pc): Delete unused labels
7682 "greater_equal_branch" and "less_zero_branch".
7683 * jv-valprint.c (java_print_value_fields): Delete unused label
7684 "flush_it".
7685
5269965e
AC
7686 * target.c (unpush_target): Only close a target that is in the
7687 target stack.
7688
dbc22fa1
MK
76892004-01-05 Mark Kettenis <kettenis@gnu.org>
7690
9515395e
MK
7691 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
7692 address from [sp + 64] instead of %o2.
7693
dbc22fa1
MK
7694 * frame.c (get_prev_frame): Don't try to unwind the PC. This
7695 fixes PR backtrace/1476.
7696
5439edaa
AC
76972004-01-05 Andrew Cagney <cagney@redhat.com>
7698
7699 * libunwind-frame.h (struct frame_id): Add opaque declaration,
7700 move to start of file.
7701 * i386-tdep.h (struct regcache): Add opaque declaration.
7702 * config/ia64/nm-linux.h (struct target_ops): Add opaque
7703 declaration.
7704 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
7705 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
7706 * win32-nat.c (fake_create_process): Use ISO C style definition.
7707 * stabsread.c (define_symbol): Delete #ifndef
7708 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
7709 stabs_argument_has_addr call, macro never defined.
7710
19061abe
MC
77112004-01-04 Michael Chastain <mec.gnu@mindspring.com>
7712
7713 * op50-rom.c: Delete.
7714 * w89k-rom.c: Delete.
7715 * Makefile.in: Remove references.
7716
e53bef9f
MK
77172004-01-04 Mark Kettenis <kettenis@gnu.org>
7718
7719 * x86-64-tdep.c: Update copyright year.
7720 (struct amd64_register_info): Rename from x86_64_register_info.
7721 (amd64_register_info): Rename from x86_64_register_info.
7722 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
7723 (amd64_register_name): Rename from x86_64_register_name.
7724 (amd64_register_type): Rename from x86_64_register_type.
7725 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
7726 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
7727 (amd64_dwarf_reg_to_regnum): Rename from
7728 x86_64_dwarf_reg_to_regnum.
7729 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
7730 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
7731 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
7732 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
7733 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
7734 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
7735 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
7736 (amd64_frame_cache): Rename from x86_64_frame_cache.
7737 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
7738 (amd64_frame_prev_register): Rename from
7739 x86_64_frame_prev_register.
7740 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
7741 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
7742 (amd64_sigtramp_frame_cache): Rename from
7743 x86_64_sigtramp_frame_cache.
7744 (amd64_sigtramp_frame_prev_register): Rename from
7745 x86_64_sigtramp_frame_prev_register.
7746 (amd64_sigtramp_frame_unwind): Rename from
7747 x86_64_sigtramp_frame_unwind.
7748 (amd64_sigtramp_frame_sniffer): Rename from
7749 x86_64_sigtramp_frame_sniffer.
7750 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
7751 (amd64_frame_base): Rename from x86_64_frame_base.
7752 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
7753 (amd64_frame_align): Rename from x86_64_frame_align.
7754 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
7755 (amd64_regset_from_core_section): Rename from
7756 x86_64_regset_from_core_section.
7757 (x86_64_init_abi): Update comments.
7758
fca6aa58
NR
77592004-01-04 Nick Roberts <nick@nick.uklinux.net>
7760
7761 * MAINTAINERS (write after approval): Add myself.
7762
8ada74e3
MK
77632004-01-04 Mark Kettenis <kettenis@gnu.org>
7764
7765 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
7766 `float' arguments.
7767
5154b0cd
MK
77682004-01-04 Mark Kettenis <kettenis@gnu.org>
7769
7770 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
7771 such that it mentions a specific version of GCC that exhibits this
7772 bug.
7773
fb316966
MK
77742004-01-03 Mark Kettenis <kettenis@gnu.org>
7775
200cc553
MK
7776 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
7777 structure that has a single `float' member, store it in %f1 in
7778 addition to %f0.
7779
e226a4a0
MK
7780 * sparc-sol2-nat.c: Add missing '\'.
7781
b9d4c5ed
MK
7782 * sparc-tdep.c (sparc32_return_value): New function.
7783 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
7784 Remove functions.
7785 (sparc32_gdbarch_init): Set return_value, don't set
7786 extract_return_value, store_return_value, use_struct_convention
7787 and return_value_on_stack.
7788
fb316966
MK
7789 * sparc-sol2-nat.c: Add missing ')'.
7790
1af510a8
JB
77912004-01-03 J. Brobecker <brobecker@gnat.com>
7792
7793 * infrun.c (handle_step_into_function): New function.
7794 (handle_inferior_event): Extract out some code into the new
7795 function above.
7796
5cf4d23a
JB
77972004-01-03 J. Brobecker <brobecker@gnat.com>
7798
7799 * infrun.c (handle_inferior_event): Move the declaration of
7800 real_stop_pc inside the if blocks where it is used.
7801
60af1db2
MK
78022004-01-03 Mark Kettenis <kettenis@gnu.org>
7803
7804 * sparc64-tdep.c (sparc64_16_byte_align_p)
7805 (sparc64_store_floating_fields, sparc64_store_floating_fields):
7806 Use check_typedef to get subtypes of structures and unions.
7807 (sparc64_store_return_value): Fix calculation of the appropriate
7808 offset into VALBUF when storing a structure or union.
7809 (sparc64_return_value): New function.
7810 (sparc64_use_struct_convention): Remove function.
7811 (sparc64_init_abi): Set return_value, don't set
7812 extract_return_value, store_return_value and
7813 use_struct_convention.
7814
1a901d3f
EZ
78152004-01-03 Eli Zaretskii <eliz@elta.co.il>
7816
7817 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
7818 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
7819 gdb/config/alpha/xm-alphaosf.h,
7820 gdb/config/powerpc/tm-ppcle-eabi.h,
7821 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
7822 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
7823 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
7824 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
7825 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
7826 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
7827 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
7828 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
7829 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
7830 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
7831 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
7832 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
7833 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
7834 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
7835 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
7836 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
7837 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
7838 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
7839 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
7840 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
7841 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
7842 Remove lines for .cvsignore files.
7843
ef52e463
JB
78442004-01-03 J. Brobecker <brobecker@gnat.com>
7845
7846 * infrun.c: Back out the previous change.
7847
cb1bf9dc
MK
78482004-01-03 Mark Kettenis <kettenis@gnu.org>
7849
f0424ef6
MK
7850 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
7851 sparc-*-sunos4* to the list of REMOVED configurations.
7852
cb1bf9dc
MK
7853 * configure.tgt: Add back sparc-*-vxworks*.
7854 * remote-vxsparc.c: Remove all includes except for "defs.h",
7855 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
7856 Include "sparc-tdep.h".
7857 (SPARC_R_G1): New define.
7858 (vxsparc_gregset): New variable.
7859 (ext_format_sparc): Remove extern declaration.
7860 (vx_read_register): Rewrite to use sparc32_supply_gregset and
7861 sparc32_supply_fpregset.
7862 (vx_write_register): Rewrite to use sparc32_collect_gregset,
7863 sparc_collect_rwindow and sparc32_collect_fpregset.
7864 * config/sparc/tm-vxworks.h: New file, based on recently removed
7865 tm-vxsparc.h.
7866 * config/sparc/vxworks.mt: New file, based on recently removed
7867 vxworks.mt.
fe61caab 7868
5e938f9f
JB
78692004-01-03 J. Brobecker <brobecker@gnat.com>
7870
7871 * infrun.c (handle_step_into_function): New function.
7872 (handle_inferior_event): Extract out some code into the new
7873 function above.
7874
386c036b
MK
78752004-01-02 Mark Kettenis <kettenis@gnu.org>
7876
7877 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
7878 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
7879 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
7880 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
7881 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
7882 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
7883 (sparc_nat_h): New variable.
7884 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
7885 (tm-sun4os4.h): Remove dependency.
7886 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
7887 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
7888 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
7889 sparc-tdep.o): Update dependencies.
7890 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
7891 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
7892 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
7893 dependencies.
7894 * configure.host: Remove existing sparc-*-lynxos*,
7895 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
7896 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
7897 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
7898 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
7899 triplets.
7900 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
7901 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
7902 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
7903 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
7904 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
7905 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
7906 sparc64-*-solaris2* and sparc64-*-* triplets.
7907 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
7908 "symtab.h" and "objfiles.h".
7909 (BIAS): Remove define.
7910 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
7911 (X_DISP19): Remove macros.
7912 (sparc_fetch_instruction): Remove function.
7913 (struct gdbarch_tdep): Remove definition.
7914 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
7915 (sparc_breakpoint_from_pc): Remove function.
7916 (struct sparc64_frame_cache): Remove definition.
7917 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
7918 sparc64_unwind_pc): Remove functions.
7919 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
7920 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
7921 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
7922 (sparc64_frame_cache): Change return type to `struct
7923 sparc_frame_cache *'. Simply call sparc_frame_cache.
7924 (sparc64_frame_this_id, sparc64_frame_prev_register,
7925 sparc64_frame_base_address): Use `struct sparc_frame_cache'
7926 instead of `struct sparc64_frame_cache.
7927 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
7928 sparc_analyze_control_transfer, sparc_software_single_step,
7929 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
7930 _initialize_sparc64_tdep): Remove functions.
7931 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
7932 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
7933 macros.
7934 (sparc64_supply_gregset, sparc64_collect_gregset,
7935 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
7936 (sparc64_init_abi): New function.
7937 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
7938 inclusion guard. Include "sparc-tdep.h".
7939 (BIAS): Define.
7940 (r_tstate_offset, r_fprs_offset): New defines.
7941 (enum sparc_regnum): Remove defenition.
7942 (enum sparc64_regnum): Reformat.
7943 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
7944 (sparc64_init_abi, sparc64_supply_gregset,
7945 sparc64_collect_gregset, sparc64_supply_fpregset,
7946 sparc64_collect_fpregset): New prototypes.
7947 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
7948 Add extern declarations.
7949 (sparc64_sol2_init_abi): New prototype.
7950 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
7951 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
7952 prototypes.
7953 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
7954 "sparnbsd-nat.h".
7955 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
7956 functions.
7957 (_initialize_sparc64fbsd_nat): Remove initialization of
7958 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
7959 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
fe61caab 7960 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
386c036b
MK
7961 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
7962 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
7963 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
7964 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
7965 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
7966 (sparc64fbsd_r_y_offset): Remove variables.
7967 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
7968 Make static and const.
7969 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
7970 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
7971 functions.
7972 (sparc64fbsd_gregset): New variable.
7973 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
7974 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
7975 and sparc64_supply_fpregset.
7976 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
7977 (sparc64fbsd_sigtramp_frame_this_id)
7978 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
7979 (sparc64fbsd_sigtramp_frame_unwind): New variable.
7980 (sparc64fbsd_sigtramp_frame_sniffer): New function.
7981 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
7982 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
7983 * sparcnbsd-tdep.c: Update copyright year. Include
7984 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
7985 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
7986 "value.h" and "sparcnbsd-tdep.h".
7987 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
7988 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
7989 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
7990 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
7991 defines.
7992 (sparcnbsd_gregset): New variable.
7993 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
7994 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
7995 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
7996 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
7997 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
7998 variables.
7999 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
8000 (sparc32nbsd_sigcontext_frame_this_id)
8001 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
8002 (sparc32nbsd_sigcontext_frame_unwind): New variable.
8003 (sparc32nbsd_sigtramp_frame_sniffer): New function.
8004 (sparcnbsd_get_longjmp_target_32,
8005 sparcnbsd_get_longjmp_target_64): Remove functions.
8006 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
8007 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
8008 sparcnbsd_init_elf): Remove.
8009 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
8010 (sparcnbsd_elf_init_abi): New functions.
8011 (_initialize_sparcnbsd_tdep): New prototype.
8012 (_initialize_sparnbsd_tdep): Update.
8013 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
8014 corelow.o. Add sparc64-nat.o and sparc-nat.o.
8015 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
8016 * config/sparc/linux.mh: Update comment.
8017 (XM_FILE, HOST_IPC): Remove variables.
8018 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
8019 sparc-linux-nat.o.
8020 * config/sparc/linux.mt: Update comment.
8021 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
8022 * config/sparc/nbsd.mt: Reformat.
8023 * config/sparc/nbsd64.mh: Update comment.
8024 (NATDEPFILES): Add sparc-nat.o.
8025 * config/sparc/nbsd64.mt: Update comment.
8026 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
8027 (TM_FILE): Set to tm-nbsd.h.
8028 * config/sparc/nbsdelf.mh: Update comment.
8029 (NATDEPFILES): Add sparc-nat.o.
8030 (XM_FILE): Delete.
8031 * config/sparc/nbsdaout.mh: Update comment.
8032 (NATDEPFILES): Add sparc-nat.o
8033 (XM_FILE): Delete.
8034 * config/sparc/nm-linux.h: Update copyright year. Don't include
8035 "config/nm-svr4.h" and "solib.h". Add protection against multiple
8036 inclusion.
8037 (KERNEL_U_SIZE): Remove define.
8038 (kernel_u_size): Remove prototype.
8039 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
8040 * config/sparc/nm-nbsd.h: Update copyright. Don't include
8041 "regcache.h".
8042 (CHILD_PREPARE_TO_STORE): Remove define.
8043 * config/sparc/nm-nbsdaout.h: Tweak some comments.
8044 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
8045 sparcnbsd-nat.c: Rewrite files.
8046 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
8047 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
8048 sparcnbsd-tdep.h: Remove files.
8049 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
8050 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
8051 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
8052 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
8053 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
8054 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
8055 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
8056 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
8057 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
8058 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
8059 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
8060 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
8061 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
8062 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
8063 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
8064 * config/sparc/linux64.mh, config/sparc/linux64.mt,
8065 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
8066 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
8067 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
8068
ee84457a
AC
80692004-01-02 Andrew Cagney <cagney@redhat.com>
8070
8071 From 2003-12-18 Kazuhiro Inaoka:
8072 * configure.host: Add m32r-linux target.
8073
0bc2134e
MC
80742004-01-02 Michael Chastain <mec.gnu@mindspring.com>
8075
8076 * top.c (print_gdb_version): Update year to 2004.
8077
89a72f9c
MM
80782004-01-02 Mark Mitchell <mark@codesourcery.com>
8079
8080 * MAINTAINERS: Add myself to the write-after-approval category.
8081
86b013ed
DJ
80822004-01-02 Daniel Jacobowitz <drow@mvista.com>
8083
8084 From Bernardo Innocenti <bernie@develer.com>:
8085 * configure.tgt: Add uClinux target.
8086
e42c9534
AC
80872004-01-02 Andrew Cagney <cagney@redhat.com>
8088
8089 * utils.c (do_my_cleanups): Make static, add forward declaration.
8090 * defs.h (do_my_cleanups): Delete declaration.
8091
162467d3
EZ
80922004-01-02 Eli Zaretskii <eliz@elta.co.il>
8093
8094 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
8095 bfd/ChangeLog-0203.
8096
78434e59
MK
80972004-01-02 Mark Kettenis <kettenis@gnu.org>
8098
8099 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
8100 in <machine/reg.h>.
8101 * configure, config.in: Regenerate.
8102
48efe704
AC
8103For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
8104tui/ChangeLog-1998-2003.
c906108c
SS
8105\f
8106Local Variables:
8107mode: change-log
8108left-margin: 8
8109fill-column: 74
8110version-control: never
8111End:
This page took 0.945975 seconds and 4 git commands to generate.