]> Git Repo - binutils.git/blame - gdb/ChangeLog
2004-01-17 Andrew Cagney <[email protected]>
[binutils.git] / gdb / ChangeLog
CommitLineData
71bd6bd4
AC
12004-01-17 Andrew Cagney <[email protected]>
2
3 * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
4 * gdbarch.c: Re-generate.
5 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
6 DECR_PC_AFTER_BREAK to zero.
7 * vax-tdep.c (vax_gdbarch_init): Ditto.
8 * v850-tdep.c (v850_gdbarch_init): Ditto.
9 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
10 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
11 * sh-tdep.c (sh_gdbarch_init): Ditto.
12 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
13 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
14 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
15 * mips-tdep.c (mips_gdbarch_init): Ditto.
16 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
17 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
18 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
19 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
20 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
21 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
22 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
23 * frv-tdep.c (frv_gdbarch_init): Ditto.
24 * cris-tdep.c (cris_gdbarch_init): Ditto.
25 * avr-tdep.c (avr_gdbarch_init): Ditto.
26 * arm-tdep.c (arm_gdbarch_init): Ditto.
27 * i386-nto-tdep.c (i386nto_init_abi): Add comment.
28
a02abb62
JB
292004-01-17 J. Brobecker <[email protected]>
30
31 * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
32 Delete, no longer used.
33 (read_subrange_type): New function, mostly extracted from
34 read_array_type().
35 (read_array_type): Replace extracted code by call to
36 read_subrange_type().
37 (dwarf2_get_attr_constant_value): New function.
38 (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
39 (add_partial_symbol): Likewise.
40 (process_die): Likewise.
41 (new_symbol): Likewise.
42 (read_type_die): Likewise.
43
cf5b2f1b
AC
442004-01-16 Andrew Cagney <[email protected]>
45
46 * symfile.c: Update copyright year.
47 (compare_symbols): Delete unused function.
48 * stabsread.c: Update copyright year.
49 (lrs_general_complaint): Delete unused function.
50 (ref_search_value): Ditto.
51 (get_substring): Delete declaration.
52 * sh64-tdep.c: Update copyright year.
53 (sh64_get_gdb_regnum): Delete unused function.
54 * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
55 Delete unused function.
56
d33b9831
MK
572004-01-17 Mark Kettenis <[email protected]>
58
59 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
60 * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
61
7aea86e6
AC
622004-01-16 Andrew Cagney <[email protected]>
63
64 Changes from Peter Schauer.
65 * rs6000-tdep.c: Update copyright year.
66 (rs6000_push_dummy_call): Update the stack pointer before
67 accessing the corresponding stack region.
68 * rs6000-nat.c: Update copyright year.
69 (set_host_arch): Set "info.abfd" to "exec_bfd".
70
26b0da32
MK
712004-01-15 Mark Kettenis <[email protected]>
72
73 * blockframe.c: Update copyright year.
74 (inside_entry_func): Don't treat a zero PC specially.
75
86fbe6cc
EZ
762004-01-14 Elena Zannoni <[email protected]>
77
78 * gcore.c (gcore_copy_callback): Use paddr_d to print size
79 variable.
80 (gcore_create_callback): Ditto. Skip any memory segment that has
81 no permissions set.
82
63d06c5c
DC
832004-01-14 David Carlton <[email protected]>
84
85 Change symbols for C++ nested types to contain the fully qualified
86 name, if possible. (At least in the DWARF-2 case.) Partial fix
87 for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
88 c++/895.
89 * c-exp.y (qualified_type): Handle types nested within classes.
90 * cp-namespace.c: Update comments.
91 (cp_set_block_scope): Delete #if 0.
92 (cp_lookup_nested_type): Handle types nested within classes.
93 * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
94 when appropriate.
95 (add_partial_symbol): Add the name of the enclosing namespace to
96 types.
97 (pdi_needs_namespace): New.
98 (add_partial_namespace): Tweak comment.
99 (add_partial_structure): New.
100 (psymtab_to_symtab_1): Initialize processing_current_prefix
101 here...
102 (process_die): instead of here.
103 (read_structure_scope): Try to figure out the name of the class or
104 namespace that the structure might be defined within.
105 (read_enumeration): Generate fully-qualified names, if possible.
106 (read_namespace): Don't set name to NULL.
107 (die_specification): New.
108 (new_symbol): Generate fully-qualified names for types.
109 (read_type_die): Determine appropriate prefix.
110 (determine_prefix): New.
111 (typename_concat): New.
112 (class_name): New.
113 * valops.c (value_aggregate_elt): Pass NOSIDE to
114 value_struct_elt_for_reference.
115 (value_struct_elt_for_reference): Make static, add NOSIDE
116 parameter, call value_maybe_namespace_elt as a last resort.
117 (value_namespace_elt): Break out code into
118 value_maybe_namespace_elt.
119 (value_maybe_namespace_elt): New.
120
87783b8b
AC
1212004-01-12 Andrew Cagney <[email protected]>
122
123 * mips-tdep.c (mips_convert_register_p): Handle both raw and
124 cooked floating-point registers.
125 (mips_gdbarch_init): Set convert_register_p, register_to_value,
126 and value_to_register.
127
6503b91e
AC
1282004-01-13 Andrew Cagney <[email protected]>
129
130 * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
131 * gdbarch.c: Re-generate.
132 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
133 FUNCTION_START_OFFSET.
134 * v850-tdep.c (v850_gdbarch_init): Ditto.
135 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
136 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
137 * sh-tdep.c (sh_gdbarch_init): Ditto.
138 * s390-tdep.c (s390_gdbarch_init): Ditto.
139 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
140 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
141 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
142 * mips-tdep.c (mips_gdbarch_init): Ditto.
143 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
144 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
145 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
146 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
147 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
148 * i386-tdep.c (i386_gdbarch_init): Ditto.
149 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
150 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
151 * frv-tdep.c (frv_gdbarch_init): Ditto.
152 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
153 * cris-tdep.c (cris_gdbarch_init): Ditto.
154 * avr-tdep.c (avr_gdbarch_init): Ditto.
155 * arm-tdep.c (arm_gdbarch_init): Ditto.
156 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
157
ea1dd7bc
DJ
1582004-01-13 Daniel Jacobowitz <[email protected]>
159
160 * infrun.c (follow_fork_mode_ask): Remove.
161 (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
162 (follow_fork): Simplify and remove internal error for
163 follow_fork_mode_ask.
164 (_initialize_infrun): Update "set follow-fork-mode" help text.
165
0f0cffd2
AC
1662004-01-13 Andrew Cagney <[email protected]>
167
168 * configure.in: Update copyright year.
169 (build_warnings): Add -Wunused-label.
170 * configure: Re-generate.
171
de38af99
AC
1722004-01-12 Andrew Cagney <[email protected]>
173
954a7fba
AC
174 * exec.h (exec_ops): Make "extern".
175
de38af99
AC
176 * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
177 the function is void.
178 (mips_pseudo_register_write): Ditto.
179
1a111ce3
AC
1802004-01-12 Andrew Cagney <[email protected]>
181
182 * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
183 call. Never defined.
184 * sparc-tdep.h (struct frame_info): Add opaque declaration.
185 * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
186 (struct sparc_gregset, struct regcache): Ditto.
187 * sparc-nat.c: Update copyright. Specify "GNU/Linux".
188
48efe704
AC
1892004-01-12 Andrew Cagney <[email protected]>
190
191 * mi/ChangeLog: Delete file. Renamed to ...
192 * mi/ChangeLog-1999-2003: New file.
193 * tui/ChangeLog: Delete file. Renamed to ...
194 * tui/ChangeLog-1998-2003: New file.
195
a54124c5
MK
1962004-01-11 Mark Kettenis <[email protected]>
197
2ca62865
MK
198 * sparc64nbsd-tdep.c: Include "regset.h".
199 (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
200 Remove variables.
201 (fetch_core_registers): Remove function.
202 (sparc64nbsd_core_fns): Remove variable.
203 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
204 functions.
205 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
206 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
207 (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
208
ca9d58e9
MK
209 * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
210 sparc_extract_struct_value_address.
211 (sparc32_gdbarch_init): Set extract_struct_value_address.
212 * sparc64-tdep.c (sparc64_extract_struct_value_address): New
213 function.
214 (sparc64_init_abi): Set extract_struct_value_address. Don't set
215 return_value_on_stack.
216
3cc87ec0
MK
217 * NEWS: Mention that %cs and %ss have been added to the AMD64
218 configurations
219
5bf00f29
MK
220 * frame.c: Update copyright year.
221 (get_prev_frame): Improve comment.
222
4f7ec84e
MK
223 * sparc64fbsd-tdep.c: Include "regset.h".
224 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
225 Remove variables.
226 (fetch_core_registers): Remove function.
227 (sparc64fbsd_core_fns): Remove variable.
228 (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
229 functions.
230 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
231 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
46b58ce9 232 (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
4f7ec84e 233
4e7b0cd3
MK
234 * sparcnbsd-tdep.c: Include "regset.h".
235 (fetch_core_registers): Remove function.
236 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
237 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
238 functions.
239 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
240 TDEP->fpregset.
46b58ce9 241 (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
4e7b0cd3 242
a54124c5
MK
243 * sparc-tdep.h (struct regset): Provide opaque declaration.
244 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
245 fpregset and sizeof_fpregset members.
246 * sparc-tdep.c (struct regset): Provide opaque declaration.
247 (sparc_regset_from_core_section): New function.
248 (sparc32_gdbarch_init): Initialize TDEP->gregset,
249 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
250 Set regset_from_core_section when appropriate.
251
29ff87c5
MK
2522004-01-10 Mark Kettenis <[email protected]>
253
79b1ab3d
MK
254 * x86-64-tdep.c (amd64_non_pod_p): New function.
255 (amd64_classify_aggregate): Return class memory for non-POD
256 C++ structure types.
257
6470d250
MK
258 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
259 argument. Use it to reserve a register if necessary.
260 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
261 amd64_push_arguments.
262
562c50c2
MK
263 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
264
af233647
MK
265 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
266 register numbers in comments.
267 * x86-64-tdep.h: Update copyright year.
268 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
269 Adjust for addition of %cs and %ss.
270 * amd64fbsd-nat.c: Update copyright year.
271 (reg_offset): Add register offsets for %cs and %ss.
272 * amd64fbsd-tdep.c: Update copyright year.
273 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
274 (amd64fbsd_sc_reg_offset): Likewise.
275 * x86-64-linux-nat.c: Update copyright year.
276 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
277 and %ss.
278 * amd64nbsd-nat.c: Update copyright year.
279 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
280 * amd64nbsd-tdep.c: Update copyright year.
281 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
282 * x86-64-linux-tdep.c: Update copyright year.
283 (user_to_gdb_regmap): Add mapping for %cs and %ss.
284 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
285 * regformats/reg-x86-64.dat: Add %cs and %ss.
286
29ff87c5
MK
287 * blockframe.c (inside_entry_func): Reformat. Introduce new local
288 variables to prevent long lines. Update comments to reflect
289 reality.
290
38d518c9
EZ
2912004-01-09 David Carlton <[email protected]>
292
293 Checked in by Elena Zannoni <[email protected]>.
294 * dwarf2read.c (read_namespace): Pull out name-generating code
295 into namespace_name. Rename previous_namespace to previous_prefix
296 and processing_current_namespace to processing_current_prefix..
297 (namespace_name): New function.
298 (add_partial_symbol): Substitute uses of pdi->name with
299 actual_name.
300 * cp-support.h: Rename processing_current_namespace to
301 processing_current_prefix.
302 Update copyright year.
303 * cp-namespace.c: Rename processing_current_namespace to
304 processing_current_prefix.
305 Update copyright year.
306
1e4728e7
AC
3072004-01-09 Andrew Cagney <[email protected]>
308
309 * jv-valprint.c, ser-unix.c: Add missing copyright years.
310
c77c642a
MK
3112004-01-09 Mark Kettenis <[email protected]>
312
313 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
314 complaining.
315 (process_one_symbol): Deal with N_PATCH stabs.
316
b44e9041
EZ
3172004-01-09 Elena Zannoni <[email protected]>
318
319 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
320 ifdeffed code.
321 Update copyright year.
38d518c9 322
eccfb640
MC
3232004-01-08 Michael Chastain <[email protected]>
324
325 * config/pa/tm-hppa.h: Update extern declarations for
326 hppa32_hpux_frame_saved_pc_in_sigtramp,
327 hppa32_hpux_frame_base_before_sigtramp, and
328 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
329
848c5feb
MC
3302004-01-08 Michael Chastain <[email protected]>
331
332 * config/pa/tm-hppah.h: Update copyright years.
333
3cc5d663
AC
3342004-01-08 Andrew Cagney <[email protected]>
335
336 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
337 (mips_o32_reg_struct_has_addr): Delete function.
338 (mips_gdbarch_init): Update.
339 (mips_extract_struct_value_address): Delete function.
340
bfec0b41
JJ
3412004-01-08 David Mosberger <[email protected]>
342
343 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
344 reality.
345
16e109ca
AC
3462004-01-07 Andrew Cagney <[email protected]>
347
6214a8a1
AC
348 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
349 architecture's elf flags (when available).
350
8d5838b5
AC
351 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
352 FPU to the start, check the MIPS FPU when looking for an old
353 architecture.
354 (set_mipsfpu_single_command): Update the architecture.
355 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
356
480d3dd2
AC
357 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
358 (mips_mask_address_p): Add "tdep" parameter.
359 (show_mask_address, mips_addr_bits_remove): Update.
360 (mips_dump_tdep): Update.
361 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
362 (MIPS_STACK_ARGSIZE): Delete macro.
363 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
364 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
365 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
366 (mips_dump_tdep): Update.
367 (MIPS_SAVED_REGSIZE): Delete macro.
368 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
369 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
370 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
371 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
372 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
373 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
374 (mips_pop_frame, return_value_location): Update.
375 (mips_n32n64_return_value, mips_dump_tdep): Update.
376
ec03c1ac
AC
377 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
378 MIPS ABI.
379
16e109ca
AC
380 * mips-tdep.c: Update copyright.
381 (mips_gdbarch_init): Merge two code blocks handling the register
382 name and number layout.
383
15255275
MS
3842004-01-02 Pawel Ostrowski <[email protected]>
385
386 * tracepoint.c (validate_actionline): Fix segv at EOF
387
9f9057da
MC
3882004-01-07 Michael Chastain <[email protected]>
389
390 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
391 properly for static fields.
392
0127c0d3 3932004-01-06 Jeff Johnston <[email protected]>
91562f53 394 Jason Molenda <[email protected]>
0127c0d3
JJ
395
396 * disasm.c: Update copyright to include 2004.
397 (do_mixed_source_and_assembly): For uiout asm list
398 and tuple cleanups, initialize to null_cleanup instead of
399 NULL and do so prior to loop. Only reset when we close off
400 the tuple/list. Move check for whether to close off the
401 asm tuple/list to after dump_insns call where it will be run
402 on each loop iteration.
403
5269965e
AC
4042004-01-05 Andrew Cagney <[email protected]>
405
54f1137d
AC
406 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
407 should be a switch case and not a label.
408 * mips-tdep.c (mips32_next_pc): Delete unused labels
409 "greater_equal_branch" and "less_zero_branch".
410 * jv-valprint.c (java_print_value_fields): Delete unused label
411 "flush_it".
412
5269965e
AC
413 * target.c (unpush_target): Only close a target that is in the
414 target stack.
415
dbc22fa1
MK
4162004-01-05 Mark Kettenis <[email protected]>
417
9515395e
MK
418 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
419 address from [sp + 64] instead of %o2.
420
dbc22fa1
MK
421 * frame.c (get_prev_frame): Don't try to unwind the PC. This
422 fixes PR backtrace/1476.
423
5439edaa
AC
4242004-01-05 Andrew Cagney <[email protected]>
425
426 * libunwind-frame.h (struct frame_id): Add opaque declaration,
427 move to start of file.
428 * i386-tdep.h (struct regcache): Add opaque declaration.
429 * config/ia64/nm-linux.h (struct target_ops): Add opaque
430 declaration.
431 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
432 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
433 * win32-nat.c (fake_create_process): Use ISO C style definition.
434 * stabsread.c (define_symbol): Delete #ifndef
435 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
436 stabs_argument_has_addr call, macro never defined.
437
19061abe
MC
4382004-01-04 Michael Chastain <[email protected]>
439
440 * op50-rom.c: Delete.
441 * w89k-rom.c: Delete.
442 * Makefile.in: Remove references.
443
e53bef9f
MK
4442004-01-04 Mark Kettenis <[email protected]>
445
446 * x86-64-tdep.c: Update copyright year.
447 (struct amd64_register_info): Rename from x86_64_register_info.
448 (amd64_register_info): Rename from x86_64_register_info.
449 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
450 (amd64_register_name): Rename from x86_64_register_name.
451 (amd64_register_type): Rename from x86_64_register_type.
452 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
453 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
454 (amd64_dwarf_reg_to_regnum): Rename from
455 x86_64_dwarf_reg_to_regnum.
456 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
457 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
458 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
459 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
460 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
461 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
462 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
463 (amd64_frame_cache): Rename from x86_64_frame_cache.
464 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
465 (amd64_frame_prev_register): Rename from
466 x86_64_frame_prev_register.
467 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
468 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
469 (amd64_sigtramp_frame_cache): Rename from
470 x86_64_sigtramp_frame_cache.
471 (amd64_sigtramp_frame_prev_register): Rename from
472 x86_64_sigtramp_frame_prev_register.
473 (amd64_sigtramp_frame_unwind): Rename from
474 x86_64_sigtramp_frame_unwind.
475 (amd64_sigtramp_frame_sniffer): Rename from
476 x86_64_sigtramp_frame_sniffer.
477 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
478 (amd64_frame_base): Rename from x86_64_frame_base.
479 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
480 (amd64_frame_align): Rename from x86_64_frame_align.
481 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
482 (amd64_regset_from_core_section): Rename from
483 x86_64_regset_from_core_section.
484 (x86_64_init_abi): Update comments.
485
fca6aa58
NR
4862004-01-04 Nick Roberts <[email protected]>
487
488 * MAINTAINERS (write after approval): Add myself.
489
8ada74e3
MK
4902004-01-04 Mark Kettenis <[email protected]>
491
492 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
493 `float' arguments.
494
5154b0cd
MK
4952004-01-04 Mark Kettenis <[email protected]>
496
497 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
498 such that it mentions a specific version of GCC that exhibits this
499 bug.
500
fb316966
MK
5012004-01-03 Mark Kettenis <[email protected]>
502
200cc553
MK
503 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
504 structure that has a single `float' member, store it in %f1 in
505 addition to %f0.
506
e226a4a0
MK
507 * sparc-sol2-nat.c: Add missing '\'.
508
b9d4c5ed
MK
509 * sparc-tdep.c (sparc32_return_value): New function.
510 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
511 Remove functions.
512 (sparc32_gdbarch_init): Set return_value, don't set
513 extract_return_value, store_return_value, use_struct_convention
514 and return_value_on_stack.
515
fb316966
MK
516 * sparc-sol2-nat.c: Add missing ')'.
517
1af510a8
JB
5182004-01-03 J. Brobecker <[email protected]>
519
520 * infrun.c (handle_step_into_function): New function.
521 (handle_inferior_event): Extract out some code into the new
522 function above.
523
5cf4d23a
JB
5242004-01-03 J. Brobecker <[email protected]>
525
526 * infrun.c (handle_inferior_event): Move the declaration of
527 real_stop_pc inside the if blocks where it is used.
528
60af1db2
MK
5292004-01-03 Mark Kettenis <[email protected]>
530
531 * sparc64-tdep.c (sparc64_16_byte_align_p)
532 (sparc64_store_floating_fields, sparc64_store_floating_fields):
533 Use check_typedef to get subtypes of structures and unions.
534 (sparc64_store_return_value): Fix calculation of the appropriate
535 offset into VALBUF when storing a structure or union.
536 (sparc64_return_value): New function.
537 (sparc64_use_struct_convention): Remove function.
538 (sparc64_init_abi): Set return_value, don't set
539 extract_return_value, store_return_value and
540 use_struct_convention.
541
1a901d3f
EZ
5422004-01-03 Eli Zaretskii <[email protected]>
543
544 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
545 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
546 gdb/config/alpha/xm-alphaosf.h,
547 gdb/config/powerpc/tm-ppcle-eabi.h,
548 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
549 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
550 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
551 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
552 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
553 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
554 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
555 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
556 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
557 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
558 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
559 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
560 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
561 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
562 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
563 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
564 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
565 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
566 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
567 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
568 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
569 Remove lines for .cvsignore files.
570
ef52e463
JB
5712004-01-03 J. Brobecker <[email protected]>
572
573 * infrun.c: Back out the previous change.
574
cb1bf9dc
MK
5752004-01-03 Mark Kettenis <[email protected]>
576
f0424ef6
MK
577 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
578 sparc-*-sunos4* to the list of REMOVED configurations.
579
cb1bf9dc
MK
580 * configure.tgt: Add back sparc-*-vxworks*.
581 * remote-vxsparc.c: Remove all includes except for "defs.h",
582 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
583 Include "sparc-tdep.h".
584 (SPARC_R_G1): New define.
585 (vxsparc_gregset): New variable.
586 (ext_format_sparc): Remove extern declaration.
587 (vx_read_register): Rewrite to use sparc32_supply_gregset and
588 sparc32_supply_fpregset.
589 (vx_write_register): Rewrite to use sparc32_collect_gregset,
590 sparc_collect_rwindow and sparc32_collect_fpregset.
591 * config/sparc/tm-vxworks.h: New file, based on recently removed
592 tm-vxsparc.h.
593 * config/sparc/vxworks.mt: New file, based on recently removed
594 vxworks.mt.
595
5e938f9f
JB
5962004-01-03 J. Brobecker <[email protected]>
597
598 * infrun.c (handle_step_into_function): New function.
599 (handle_inferior_event): Extract out some code into the new
600 function above.
601
386c036b
MK
6022004-01-02 Mark Kettenis <[email protected]>
603
604 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
605 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
606 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
607 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
608 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
609 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
610 (sparc_nat_h): New variable.
611 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
612 (tm-sun4os4.h): Remove dependency.
613 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
614 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
615 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
616 sparc-tdep.o): Update dependencies.
617 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
618 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
619 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
620 dependencies.
621 * configure.host: Remove existing sparc-*-lynxos*,
622 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
623 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
624 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
625 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
626 triplets.
627 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
628 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
629 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
630 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
631 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
632 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
633 sparc64-*-solaris2* and sparc64-*-* triplets.
634 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
635 "symtab.h" and "objfiles.h".
636 (BIAS): Remove define.
637 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
638 (X_DISP19): Remove macros.
639 (sparc_fetch_instruction): Remove function.
640 (struct gdbarch_tdep): Remove definition.
641 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
642 (sparc_breakpoint_from_pc): Remove function.
643 (struct sparc64_frame_cache): Remove definition.
644 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
645 sparc64_unwind_pc): Remove functions.
646 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
647 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
648 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
649 (sparc64_frame_cache): Change return type to `struct
650 sparc_frame_cache *'. Simply call sparc_frame_cache.
651 (sparc64_frame_this_id, sparc64_frame_prev_register,
652 sparc64_frame_base_address): Use `struct sparc_frame_cache'
653 instead of `struct sparc64_frame_cache.
654 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
655 sparc_analyze_control_transfer, sparc_software_single_step,
656 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
657 _initialize_sparc64_tdep): Remove functions.
658 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
659 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
660 macros.
661 (sparc64_supply_gregset, sparc64_collect_gregset,
662 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
663 (sparc64_init_abi): New function.
664 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
665 inclusion guard. Include "sparc-tdep.h".
666 (BIAS): Define.
667 (r_tstate_offset, r_fprs_offset): New defines.
668 (enum sparc_regnum): Remove defenition.
669 (enum sparc64_regnum): Reformat.
670 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
671 (sparc64_init_abi, sparc64_supply_gregset,
672 sparc64_collect_gregset, sparc64_supply_fpregset,
673 sparc64_collect_fpregset): New prototypes.
674 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
675 Add extern declarations.
676 (sparc64_sol2_init_abi): New prototype.
677 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
678 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
679 prototypes.
680 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
681 "sparnbsd-nat.h".
682 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
683 functions.
684 (_initialize_sparc64fbsd_nat): Remove initialization of
685 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
686 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
687 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
688 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
689 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
690 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
691 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
692 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
693 (sparc64fbsd_r_y_offset): Remove variables.
694 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
695 Make static and const.
696 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
697 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
698 functions.
699 (sparc64fbsd_gregset): New variable.
700 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
701 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
702 and sparc64_supply_fpregset.
703 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
704 (sparc64fbsd_sigtramp_frame_this_id)
705 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
706 (sparc64fbsd_sigtramp_frame_unwind): New variable.
707 (sparc64fbsd_sigtramp_frame_sniffer): New function.
708 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
709 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
710 * sparcnbsd-tdep.c: Update copyright year. Include
711 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
712 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
713 "value.h" and "sparcnbsd-tdep.h".
714 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
715 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
716 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
717 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
718 defines.
719 (sparcnbsd_gregset): New variable.
720 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
721 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
722 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
723 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
724 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
725 variables.
726 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
727 (sparc32nbsd_sigcontext_frame_this_id)
728 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
729 (sparc32nbsd_sigcontext_frame_unwind): New variable.
730 (sparc32nbsd_sigtramp_frame_sniffer): New function.
731 (sparcnbsd_get_longjmp_target_32,
732 sparcnbsd_get_longjmp_target_64): Remove functions.
733 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
734 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
735 sparcnbsd_init_elf): Remove.
736 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
737 (sparcnbsd_elf_init_abi): New functions.
738 (_initialize_sparcnbsd_tdep): New prototype.
739 (_initialize_sparnbsd_tdep): Update.
740 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
741 corelow.o. Add sparc64-nat.o and sparc-nat.o.
742 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
743 * config/sparc/linux.mh: Update comment.
744 (XM_FILE, HOST_IPC): Remove variables.
745 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
746 sparc-linux-nat.o.
747 * config/sparc/linux.mt: Update comment.
748 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
749 * config/sparc/nbsd.mt: Reformat.
750 * config/sparc/nbsd64.mh: Update comment.
751 (NATDEPFILES): Add sparc-nat.o.
752 * config/sparc/nbsd64.mt: Update comment.
753 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
754 (TM_FILE): Set to tm-nbsd.h.
755 * config/sparc/nbsdelf.mh: Update comment.
756 (NATDEPFILES): Add sparc-nat.o.
757 (XM_FILE): Delete.
758 * config/sparc/nbsdaout.mh: Update comment.
759 (NATDEPFILES): Add sparc-nat.o
760 (XM_FILE): Delete.
761 * config/sparc/nm-linux.h: Update copyright year. Don't include
762 "config/nm-svr4.h" and "solib.h". Add protection against multiple
763 inclusion.
764 (KERNEL_U_SIZE): Remove define.
765 (kernel_u_size): Remove prototype.
766 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
767 * config/sparc/nm-nbsd.h: Update copyright. Don't include
768 "regcache.h".
769 (CHILD_PREPARE_TO_STORE): Remove define.
770 * config/sparc/nm-nbsdaout.h: Tweak some comments.
771 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
772 sparcnbsd-nat.c: Rewrite files.
773 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
774 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
775 sparcnbsd-tdep.h: Remove files.
776 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
777 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
778 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
779 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
780 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
781 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
782 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
783 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
784 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
785 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
786 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
787 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
788 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
789 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
790 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
791 * config/sparc/linux64.mh, config/sparc/linux64.mt,
792 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
793 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
794 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
795
ee84457a
AC
7962004-01-02 Andrew Cagney <[email protected]>
797
798 From 2003-12-18 Kazuhiro Inaoka:
799 * configure.host: Add m32r-linux target.
800
0bc2134e
MC
8012004-01-02 Michael Chastain <[email protected]>
802
803 * top.c (print_gdb_version): Update year to 2004.
804
89a72f9c
MM
8052004-01-02 Mark Mitchell <[email protected]>
806
807 * MAINTAINERS: Add myself to the write-after-approval category.
808
86b013ed
DJ
8092004-01-02 Daniel Jacobowitz <[email protected]>
810
811 From Bernardo Innocenti <[email protected]>:
812 * configure.tgt: Add uClinux target.
813
e42c9534
AC
8142004-01-02 Andrew Cagney <[email protected]>
815
816 * utils.c (do_my_cleanups): Make static, add forward declaration.
817 * defs.h (do_my_cleanups): Delete declaration.
818
162467d3
EZ
8192004-01-02 Eli Zaretskii <[email protected]>
820
821 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
822 bfd/ChangeLog-0203.
823
78434e59
MK
8242004-01-02 Mark Kettenis <[email protected]>
825
826 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
827 in <machine/reg.h>.
828 * configure, config.in: Regenerate.
829
48efe704
AC
830For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
831tui/ChangeLog-1998-2003.
c906108c
SS
832\f
833Local Variables:
834mode: change-log
835left-margin: 8
836fill-column: 74
837version-control: never
838End:
This page took 1.198417 seconds and 4 git commands to generate.