442af68deab68065857a74a9436a674e3491134d
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2004-03-19 Kevin Buettner <kevinb@redhat.com>
2
3 * ppc_tdep.h (ppc_linux_frame_saved_pc)
4 (ppc_linux_init_extra_frame_info)
5 (ppc_linux_frameless_function_invocation)
6 (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain)
7 (rs6000_frame_saved_pc, rs6000_init_extra_frame_info)
8 (rs6000_frameless_function_invocation, rs6000_frame_init_saved_regs)
9 (rs6000_frame_chain): Delete declarations.
10 * ppc-linux-tdep.c (ppc_linux_frame_saved_pc)
11 (ppc_linux_init_extra_frame_info)
12 (ppc_linux_frameless_function_invocation)
13 (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain): Delete.
14 (ppc_linux_init_abi): Remove registration of above deleted functions.
15 * rs6000-tdep.c (rs6000_init_extra_frame_info)
16 (rs6000_frame_init_saved_regs, rs6000_init_frame_pc_first)
17 (rs6000_frame_args_address, rs6000_saved_pc_after_call)
18 (rs6000_pop_frame, rs6000_frameless_function_invocation)
19 (rs6000_frame_saved_pc, rs6000_frame_chain): Delete.
20 (rs6000_gdbarch_init): Remove registration of above deleted functions.
21 Use rs6000_unwind_pc(), rs6000_frame_sniffer(),
22 rs6000_unwind_dummy_id(), and rs6000_frame_base_sniffer() for
23 frame management for all OSABIs.
24
25 2004-03-19 Andrew Cagney <cagney@redhat.com>
26
27 Committed by Kevin Buettner <kevinb@redhat.com>.
28
29 * ppc-linux-tdep.c: Include "trad-frame.h", and "frame-unwind.h".
30 Update copyright.
31 (struct ppc_linux_sigtramp_cache, ppc_linux_sigtramp_cache)
32 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
33 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
34 (ppc_linux_init_abi): Add both 32- and 64-bit signal trampoline
35 unwinders. #ifdef legacy frame code.
36 * rs6000-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
37 "frame-base.h".
38 (rs6000_unwind_pc, rs6000_unwind_dummy_id)
39 (struct rs6000_frame_cache, rs6000_frame_cache)
40 (rs6000_frame_this_id, rs6000_frame_prev_register)
41 (rs6000_frame_sniffer, rs6000_frame_unwind)
42 (rs6000_frame_base_address, rs6000_frame_base_sniffer)
43 (rs6000_frame_base): Implement a traditional frame unwinder.
44 (rs6000_gdbarch_init): When unknown, NetBSD, or GNU/Linux use the
45 frame unwinder.
46
47 2004-03-19 Kevin Buettner <kevinb@redhat.com>
48
49 * breakpoint.c (adjust_breakpoint_address): Don't adjust
50 breakpoint address for watchpoints or the catch eventpoints.
51 Add new paramter ``bptype''. Adjust all callers.
52
53 2004-03-19 Andrew Cagney <cagney@redhat.com>
54
55 * config/pa/tm-hppa.h (GDB_TARGET_IS_HPPA): Delete unused macro.
56
57 * PROBLEMS: Delete note that ARM does not use frame code, problem
58 fixed.
59
60 2004-03-18 Andrew Cagney <cagney@redhat.com>
61
62 * stack.c (return_command): Delete code wrapped in #ifdef
63 DEPRECATED_CALL_DUMMY_HAS_COMPLETED, macro no longer defined.
64
65 * rs6000-tdep.c (skip_prologue): Record only the first LR save.
66
67 2004-03-18 Andrew Cagney <cagney@redhat.com>
68
69 * config/mips/tm-nbsd.h: Replace IN_SIGTRAMP with
70 DEPRECATED_IN_SIGTRAMP.
71 * config/powerpc/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
72 * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP) Ditto.
73 * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Ditto.
74 * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Ditto.
75 * config/ia64/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
76 * config/ia64/tm-aix.h (DEPRECATED_IN_SIGTRAMP): Ditto.
77 * config/arm/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
78 * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Ditto.
79 * arch-utils.c (legacy_pc_in_sigtramp): Ditto.
80 * arch-utils.h: Remove reference to IN_SIGTRAMP in comment.
81
82 2004-03-18 Andrew Cagney <cagney@redhat.com>
83
84 * frame-base.c: Update copyright. Include "gdb_obstack.h".
85 (struct frame_base_table_entry): Define.
86 (struct frame_base_table): Re-implement as a linked list.
87 (frame_base_init): Re-implement.
88 (frame_base_table): Delete function.
89 (append_predicate): Delete function.
90 (frame_base_append_sniffer): Update.
91 (frame_base_set_default): Update.
92 (frame_base_find_by_frame): Update.
93 (_initialize_frame_base): Use gdbarch_data_register_pre_init.
94 * Makefile.in (frame-base.o): Update dependencies.
95
96 2004-03-17 Andrew Cagney <cagney@redhat.com>
97
98 * frame.c (legacy_get_prev_frame): Pass correct frame to
99 frame_unwind_find_by_frame.
100
101 2004-03-17 David Carlton <carlton@kealia.com>
102
103 * NEWS: Mention C++ nested types and namespaces
104
105 2004-03-16 Michael Chastain <mec.gnu@mindspring.com>
106
107 * PROBLEMS: Add section headers, "Regressions since gdb 6.0"
108 and "Regressions since gdb 5.3.". Add known regressions since
109 gdb 6.0.
110
111 2004-03-16 David Carlton <carlton@kealia.com>
112
113 * dwarf2read.c (process_structure_scope): Process children even
114 when we're a declaration.
115
116 2004-03-16 Andrew Cagney <cagney@redhat.com>
117
118 * symtab.h (find_pc_sect_partial_function): Delete declaration.
119 * blockframe.c (find_pc_partial_function)
120 (find_pc_sect_partial_function): Merge into a single
121 find_pc_partial_function.
122
123 2004-03-16 Mark Kettenis <kettenis@gnu.org>
124
125 * i386bsd-nat.c: s/regno/regnum/g.
126 (fetch_inferior_registers): Use I386_ST0_REGNUM instead of
127 FP0_REGNUM.
128 (store_inferior_registers): Likewise.
129
130 2004-03-16 Mark Kettenis <kettenis@gnu.org>
131
132 * i386bsd-nat.c (fill_fpregset): Call i387_collect_fsave instead
133 of i387_fill_fsave.
134 (store_inferior_registers): Call i387_collect_fsave and
135 i387_collect_fxsave instead of i387_fill_fsave and
136 i387_fill_fxsave.
137
138 2004-03-15 Andrew Cagney <cagney@redhat.com>
139
140 * Makefile.in (frame-unwind.o): Update dependencies.
141 * frame-unwind.c: Include "gdb_obstack.h".
142 (frame_unwind_init): Replace "gdbarch" parameter with an "obstack"
143 parameter.
144 (append_predicate): Delete function.
145 (struct frame_unwind_table_entry): New structure.
146 (struct frame_unwind_table): Replace "sniffer" with "head" and
147 "tail".
148 (frame_unwind_append_sniffer): Update.
149 (frame_unwind_find_by_frame): Update.
150 (_initialize_frame_unwind): Registe frame_unwind_init using
151 gdbarch_data_register_pre_init.
152
153 2004-03-15 Mark Kettenis <kettenis@gnu.org>
154
155 * i386bsd-nat.c: Update copyright year.
156 (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Undefine and then
157 define unconditionally.
158
159 2004-03-15 Mark Kettenis <kettenis@gnu.org>
160
161 * i387-tdep.h (i387_collect_fsave): New prototype.
162 * i387-tdep.c (i387_collect_fsave): New function containing most
163 of the code from i387_fill_fsave.
164 (i387_fill_fsave): Call i387_collect_fsave.
165
166 2004-03-15 Mark Kettenis <kettenis@gnu.org>
167
168 * i386-linux-tdep.c: Update copyright year.
169 (i386_linux_svr4_fetch_link_map_offsets): Remove function.
170 (i386_linux_init_abi): Set solib_svr4_fetch_link_maop_offsets to
171 svr4_ilp32_link_map_offsets instead of
172 i386_linux_svr4_fetch_link_map_offsets.
173
174 2004-03-15 David Carlton <carlton@kealia.com>
175
176 Fix for PR c++/1553:
177 * dwarf2read.c (read_structure_type): Determine type name by
178 calling determine_class_name.
179 (determine_class_name): New.
180 (determine_prefix): Look at TYPE_TAG_NAME and call
181 determine_class_name when appropriate.
182 (determine_prefix_aux, class_name): Delete.
183
184 2004-03-15 Kevin Buettner <kevinb@redhat.com>
185
186 * breakpoint.c (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete
187 unused macro definition. The definition in target.h (or perhaps
188 elsewhere) takes precedence.
189
190 2004-03-15 Andrew Cagney <cagney@redhat.com>
191
192 * ppc-tdep.h: Update copyright.
193 (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Change
194 function signatures to match "regsets.h".
195 * ppc-linux-tdep.c: Include "regset.h".
196 (ELF_GREGSET_SIZE): Delete.
197 (right_supply_register): New function.
198 (ppc_linux_supply_fpregset, ppc_linux_supply_gregset): Rewrite
199 using right_supply_register.
200 (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): New
201 functions.
202 (ppc64_linux_gregset, ppc32_linux_gregset): Define.
203 (ppc_linux_init_abi): Register ppc_linux_regset_from_core_section.
204 (_initialize_ppc_linux_tdep): Do not register
205 ppc_linux_regset_core_fns.
206 (ppc_linux_regset_from_core_section): Replace
207 fetch_core_registers.
208 (ppc_linux_regset_core_fns): Delete.
209 * ppc-linux-nat.c: (right_fill_reg): New function.
210 (supply_gregset): Update call to ppc_linux_supply_gregset.
211 (fill_gregset): Clear the register set, use right_fill_reg.
212 (supply_fpregset): Update call to ppc_linux_supply_fpregset.
213 (fill_fpregset): Use right_fill_reg, correctly compute FP offsets.
214
215 * rs6000-tdep.c (rs6000_register_virtual_type): Make registers
216 unsigned.
217
218 2004-03-15 Andrew Cagney <cagney@redhat.com>
219
220 * gdbarch.sh (gdbarch_data_pre_init_fytpe)
221 (gdbarch_data_register_pre_init, gdbarch_data_post_init_fytpe)
222 (gdbarch_data_register_post_init): Replace gdbarch_data_init_ftype
223 and register_gdbarch_data.
224 (deprecated_set_gdbarch_data): Rename set_gdbarch_data.
225 (struct gdbarch_data): Replace "init" by "pre_init" and
226 "post_init".
227 * gdbarch.h, gdbarch.c: Re-generate.
228 * dwarf2-frame.c (dwarf2_frame_init): Replace "gdbarch" paramter
229 with"obstack", use OBSTACK_ZALLOC.
230 (dwarf2_frame_ops): Delete.
231 (dwarf2_frame_set_init_reg): Use gdbarch_data.
232 (dwarf2_frame_init_reg): Use gdbarch_data.
233 (_initialize_dwarf2_frame): Use gdbarch_data_register_pre_init.
234 * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets)
235 (_initialize_svr4_solib): Update.
236 * user-regs.c (_initialize_user_regs): Update.
237 * reggroups.c (_initialize_reggroup): Update.
238 * regcache.c (_initialize_regcache): Update.
239 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update.
240 * libunwind-frame.c (_initialize_libunwind_frame): Update.
241 * gnu-v3-abi.c (init_gnuv3_ops): Update.
242 * frame-unwind.c (_initialize_frame_unwind): Update.
243 * frame-base.c (_initialize_frame_base): Update.
244 * user-regs.c (user_reg_add): Update.
245 * reggroups.c (reggroup_add): Update.
246 * mips-linux-tdep.c (set_mips_linux_register_addr): Update.
247 * libunwind-frame.c (libunwind_frame_set_descr): Update.
248 * frame-unwind.c (frame_unwind_append_sniffer): Update.
249 * frame-base.c (frame_base_table): Update.
250 * remote.c (_initialize_remote): Update.
251 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Define.
252
253 2004-03-15 Andrew Cagney <cagney@redhat.com>
254
255 * cris-tdep.c (bfd_lookup_symbol): Delete unused function.
256
257 2004-03-15 Kevin Buettner <kevinb@redhat.com>
258
259 * Makefile.in (frv-linux-tdep.o): Add dependencies.
260 * frv-linux-tdep.c: New file.
261 * frv-tdep.c (struct gdbarch_tdep): Add new field
262 ``sigcontext_reg_addr''.
263 (frv_set_sigcontext_reg_addr, frv_sigtramp,frame_cache)
264 (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
265 (frv_sigramp_frame_sniffer): New functions.
266 (frv_sigtramp_frame_unwind): New static global.
267 (frv_gdbarch_init): Hook in ABI-specific overrides. Hook up frame
268 sniffers.
269 * frv-tdep.h (frv_set_sigcontext_reg_addr): New function.
270 * config/frv/frv.mt (TDEPFILES): Add frv-linux-tdep.o.
271
272 2004-03-15 Kevin Buettner <kevinb@redhat.com>
273
274 * frv-tdep.c (frv_analyze_prologue): Terminate prologue scan,
275 but not via a call to error(), when unable to read memory.
276
277 2004-03-15 Kevin Buettner <kevinb@redhat.com>
278
279 * frv-tdep.c (frv_call_dummy_words): Delete.
280 (frv_frame_unwind_cache): Delete unused variable, ``prev_sp''.
281
282 2004-03-15 Andrew Cagney <cagney@redhat.com>
283
284 * infrun.c (handle_step_into_function, step_over_function): Only
285 update and use STEP_FRAME_ID when the system is using legacy
286 frames. Update comments.
287
288 2004-03-14 Mark Kettenis <kettenis@gnu.org>
289
290 * amd64-linux-tdep.h: Remove file.
291 * amd64-linux-tdep.c: Don't include "inferior.h" and
292 "amd64-linux-tdep.h". Include "frame.h" and "solib-svr4.h".
293 (USER_R15, USER_R14, USER_R13, USER_R12, USER_RBP, USER_RBX)
294 (USER_R11, USER_R10, USER_R9, USER_R8, USER_RAX, USER_RCX)
295 (USER_RDX, USER_RSI, USER_RDI, USER_RIP, USER_CS, USER_EFLAGS)
296 (USER_RSP, USER_SS, USER_DS, USER_ES, USER_FS, USER_GS): Remove
297 macros.
298 (user_to_gdb_regmap): Remove variable.
299 (amd64_linux_gregset_reg_offset): New variable.
300 (amd64_core_fns): Remove variable.
301 (fetch_core_registers): Remove function.
302 (amd64_linux_supply_gregset, amd64_linux_fill_gregset): Remove
303 functions.
304 (_initialize_amd64_linux_tdep): Don't set add_core_fns.
305 * amd64-linux-nat.c: Don't include "amd64-linux-tdep.h".
306 * Makefile.in (amd64_linux_tdep_h): Remove.
307 (amd64-linux-nat.o): Update dependencies.
308 (amd64-linux-tdep.o): Update dependencies.
309
310 * amd64-linux-nat.c (GETFPREGS_SUPPLIES): Remove macro.
311 (fetch_regs, fetch_fpregs, store_regs, store_fpregs): Remove
312 functions.
313 (fetch_inferior_registers, store_inferior_registers): Rewrite.
314
315 * amd64-tdep.h (amd64_fill_fxsave): Remove prototype.
316 * amd64-tdep.c (amd64_fill_fxsave): Remove function.
317
318 2004-03-14 Daniel Jacobowitz <drow@mvista.com>
319
320 * dwarf2read.c (read_structure_type): Rename from
321 read_structure_scope. Don't create a symbol or call process_die.
322 Return immediately if die->type is set. Call read_type_die before
323 dwarf2_add_member_fn.
324 (process_structure_scope): New function.
325 (read_enumeration_type, process_enumeration_scope): New functions,
326 broken out from read_enumeration. Don't create the enumeration
327 type if it has already been created.
328 (read_enumeration): Removed.
329 (process_die): Call read_structure_type, process_structure_scope,
330 read_enumeration_type, and process_enumeration_scope. Just call
331 new_symbol for base and subrange types. Add a comment about other
332 type dies.
333 (read_type_die): Call read_enumeration_type.
334 (add_partial_structure, new_symbol): Update comments.
335
336 2004-03-13 Stephane Carrez <stcarrez@nerim.fr>
337
338 * m68hc11-tdep.c (m68hc11_register_name): Get soft reg information.
339
340 2004-03-13 Stephane Carrez <stcarrez@nerim.fr>
341
342 * tui/tui-win.h (tui_get_cmd_list): Declare.
343 * tui/tui-win.c (tui_command): New function.
344 (tui_get_cmd_list): New function.
345 (_initialize_tui_win): Moved initialization of tui command in
346 tui_get_cmd_list.
347
348 * tui/tui-data.c (init_content_element): Setup new data members.
349 (init_win_info): Likewise.
350 (free_content_elements): Free it.
351 * tui/tui-data.h (struct tui_data_element): Store the register
352 content to print.
353 (struct tui_data_info): Keep the current register group.
354
355 * tui/tui-layout.c (tui_set_layout): Update call to tui_show_registers.
356
357 * tui/tui-regs.h (tui_show_registers): Update prototype.
358 (tui_toggle_float_regs, tui_calculate_regs_column_count): Remove.
359 (tui_resize_all): No need to calculate anything for register window.
360 * tui/tui-regs.c (tui_calculate_regs_column_count): Remove.
361 (tui_set_register_element, tui_set_general_regs_content): Remove.
362 (tui_set_special_regs_content): Remove.
363 (tui_set_general_and_special_regs_content): Remove.
364 (tui_set_float_regs_content): Remove.
365 (tui_reg_value_has_changed, tui_get_register_raw_value): Remove.
366 (tui_set_regs_content): Remove.
367 (tui_toggle_float_regs, _tui_toggle_float_regs_command): Remove.
368 (tui_v_show_registers_command_support): Remove.
369 (tui_show_registers): Use a reggroup to specify the registers to show.
370 (tui_show_register_group): New function.
371 (tui_display_registers_from): Compute the layout of register window
372 and refresh with new API; be sure to delete old register windows.
373 (tui_check_register_values): Update to use tui_get_register and
374 tui_display_data.
375 (tui_display_register): Just refresh the register window part.
376 (tui_register_format): Format registers and save in tui_data_element.
377 (tui_get_register): New to combine tui_reg_value_has_changed and
378 tui_get_register_raw_value; fix to use the new gdb API.
379 (tui_show_float_command): Renamed tui_reg_float_command.
380 (tui_show_general_command): Renamed tui_reg_general_command.
381 (tui_show_special_command): Renamed tui_reg_system_command.
382 (_initialize_tui_regs): Remove unused commands.
383
384 2004-03-13 Mark Kettenis <kettenis@gnu.org>
385
386 * NEWS (New native configurations): Mention OpenBSD/amd64.
387
388 * config/i386/nm-fbsd.h: Include "config/nm-bsd.h".
389 (PTRACE_ARG3_TYPE, FETCH_INFERIOR_REGISTERS, ATTACH_DETACH):
390 Remove defines.
391 * config/i386/nm-fbsd64.h: Likewise.
392 * config/i386/nm-obsd.h: Likewise.
393 * config/sparc/nm-fbsd.h: Likewise. Update copyright year.
394 * config/alpha/nm-fbsd.h: Likewise. Update copyright year.
395
396 2004-03-12 Kevin Buettner <kevinb@redhat.com>
397
398 * frv-tdep.c (set_variant_scratch_registers): New function.
399 * frv-tdep.h (scr0_regnum, scr1_regnum, scr2_regnum, scr3_regnum):
400 New constants.
401
402 From Richard Sandiford <rsandifo@redhat.com>:
403 * frv-tdep.c (frv_gdbarch_init): Add FR450 support.
404
405 2004-03-12 Kevin Buettner <kevinb@redhat.com>
406
407 * frv-tdep.c, frv-tdep.h (first_gpr_regnum, sp_regnum, fp_regnum)
408 (struct_return_regnum, last_gpr_regnum, first_fpr_regnum)
409 (last_fpr_regnum, pc_regnum, first_spr_regnum, psr_regnum, ccr_regnum)
410 (cccr_regnum, fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum)
411 (tbr_regnum, brr_regnum, dbar0_regnum, dbar1_regnum, dbar2_regnum)
412 (dbar3_regnum, lr_regnum, lcr_regnum, iacc0h_regnum, iacc0l_regnum)
413 (last_spr_regnum, frv_num_regs, first_pseudo_regnum, iacc0_regnum)
414 (last_pseudo_regnum, frv_num_pseudo_regs): Move constant (enum)
415 definitions from frv-tdep.c to frv-tdep.h.
416
417 2004-03-12 Kevin Buettner <kevinb@redhat.com>
418
419 Add shared library support for FR-V FDPIC ABI:
420 * Makefile.in (solib-frv.o): Add dependencies.
421 * frv-tdep.c (find_func_descr, frv_convert_from_func_ptr_addr):
422 New functions.
423 (frv_push_dummy_call): Add support for FDPIC ABI.
424 (frv_gdbarch_init): Call set_gdbarch_convert_from_func_ptr_addr()
425 for FDPIC ABI.
426 * frv-tdep.h (frv_fdpic_find_global_pointer): Declare.
427 (frv_fdpic_find_canonical_descriptor): Declare.
428 * solib-frv.c: New file.
429 * config/frv/frv.mt (TDEPFILES): Add solib.o and solib-frv.o.
430 * config/frv/tm-frv.h (solib.h): Include.
431
432 2004-03-12 Kevin Buettner <kevinb@redhat.com>
433
434 * Makefile.in (elf_frv_h, frv_tdep_h): Define.
435 (frv-tdep.o): Update dependencies.
436 * frv-tdep.h: New file.
437 * frv-tdep.c (elf-bfd.h, elf/frv.h, osabi.h, frv-tdep.h): Include.
438 (fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum): New
439 constants.
440 (struct gdbarch_tdep): Add new member ``frv_abi''.
441 (frv_abi, frv_fdpic_loadmap_addresses, set_variant_abi_fdpic): New
442 functions.
443 (new_variant): Set ``frv_abi'' field.
444 (gdb_arch_init): Detect FDPIC executables.
445
446 2004-03-12 Mark Kettenis <kettenis@gnu.org>
447
448 * solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H
449 wrapper.
450
451 2004-03-11 Andrew Cagney <cagney@redhat.com>
452
453 * solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper.
454
455 2004-03-11 Kevin Buettner <kevinb@redhat.com>
456
457 * solist.h (master_so_list): New function.
458 * solib.c (master_so_list): Likewise.
459 * solib-svr4.c (enable_break): Iterate over so_list entries
460 obtained from master list instead of entries obtained directly
461 via svr4_current_sos().
462
463 2004-03-10 Ben Elliston <bje@gnu.org>
464
465 * MAINTAINERS: Update my mail address.
466
467 2004-03-10 Kei Sakamoto <sakamoto.kei@renesas.com>
468
469 * remote-m32r-sdi.c: Support hardware watchpoint.
470
471 2004-03-09 Daniel Jacobowitz <drow@mvista.com>
472
473 * user-regs.c: Update copyright years.
474 (struct user_regs): Rename to gdb_user_regs.
475 (append_user_reg, builtin_user_regs, user_regs_init)
476 (user_reg_add, user_reg_map_name_to_regnum)
477 (usernum_to_user_reg): Update.
478
479 2004-03-09 Daniel Jacobowitz <drow@mvista.com>
480
481 * dwarf2read.c (skip_leb128, peek_die_abbrev, skip_one_die)
482 (skip_children): New functions.
483 (locate_pdi_sibling): Call skip_children.
484
485 2004-03-09 Daniel Jacobowitz <drow@mvista.com>
486
487 * arm-tdep.c (arm_use_struct_convention): Look through typedefs.
488 * gdbtypes.c (check_typedef): Update comments.
489
490 2004-03-09 Daniel Jacobowitz <drow@mvista.com>
491
492 * dwarf2read.c (struct comp_unit_head): Remove dwarf2_abbrevs array.
493 (struct dwarf2_cu): Add abbrev_obstack and dwarf2_abbrevs
494 pointer. Update comment about comp_unit_head.
495 (struct abbrev_info): Shorten two int flags.
496 (dwarf_alloc_abbrev): Take a CU argument.
497 (dwarf2_build_psymtabs_hard): Call dwarf2_free_abbrev_table
498 each time through the loop. Update cleanup argument.
499 (psymtab_to_symtab_1): Update cleanup call.
500 (dwarf2_read_abbrevs, dwarf2_alloc_abbrev): Allocate on the
501 abbrev_obstack.
502 (dwarf2_free_abbrev_table): Renamed from dwarf2_empty_abbrev_table.
503 Just call obstack_free and clear the pointer.
504
505 2004-03-09 Daniel Jacobowitz <drow@mvista.com>
506
507 * infrun.c (handle_inferior_event): Remove short-circuit code for
508 events in a different thread.
509
510 2004-03-09 Daniel Jacobowitz <drow@mvista.com>
511
512 * target.c (debug_to_xfer_memory): If targetdebug is 1, don't
513 print the whole transfer.
514 (initialize_targets): Update description of "set debug target".
515
516 2004-03-09 Daniel Jacobowitz <drow@mvista.com>
517
518 * arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX.
519
520 2004-03-08 Nathan J. Williams <nathanw@wasabisystems.com>
521
522 * MAINTAINERS (write after approval): Add myself.
523
524 2004-03-08 Corinna Vinschen <vinschen@redhat.com>
525
526 * sh-tdep.c (sh_print_registers_info): Use for loop.
527 Don't skip multiple registers when a float register is encountered.
528
529 2004-03-08 Corinna Vinschen <vinschen@redhat.com>
530
531 Fix PR tdep/1291.
532 * sh-tdep.c (sh_analyze_prologue): Align PC relative addressing
533 to official SH documentation.
534
535 2004-03-07 Andrew Cagney <cagney@redhat.com>
536
537 * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete
538 unused function.
539
540 2004-03-07 Daniel Jacobowitz <drow@mvista.com>
541
542 * arm-tdep.c (thumb_get_next_pc): Handle BX.
543 (arm_get_next_pc): Handle BX and BLX.
544
545 2004-03-07 Andrew Cagney <cagney@redhat.com>
546
547 * hppa-tdep.c: Replace DEPRECATED_FP_REGNUM with HPPA_FP_REGNUM,
548 FP0_REGNUM with HPPA_FP0_REGNUM, and SP_REGNUM with
549 HPPA_SP_REGNUM.
550 (hppa_register_raw_size, hppa_register_byte, hppa_read_fp)
551 (hppa_target_read_fp): Delete.
552 (hppa_gdbarch_init): Do not set deprecated register_raw_size,
553 register_virtual_size, max_register_raw_size,
554 max_register_virtual_size, register_byte, register_size,
555 target_read_fp, fp_regnum, and register_bytes. Set register_type
556 instead of register_virtual_type.
557 (hppa32_register_type, hppa64_register_type): Replace
558 hppa32_register_virtual_type and hppa64_register_virtual_type.
559 * config/pa/tm-hppa.h (HPPA_FP0_REGNUM, HPPA_SP_REGNUM)
560 (HPPA_FP_REGNUM): Define.
561
562 * hppa-tdep.c (hppa_gdbarch_init): Add missing "break".
563
564 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO)
565 (pa_do_registers_info): Delete.
566 * hppa-tdep.c (pa_do_registers_info, pa_do_strcat_registers_info)
567 (pa_print_registers, pa_print_fp_reg, pa_strcat_registers)
568 (pa_strcat_fp_reg, pa_register_look_aside): Delete.
569
570 * infcall.c (legacy_push_dummy_code): Delete #ifdef
571 GDB_TARGET_IS_HPPA code.
572 * config/pa/tm-hppa.h (DEPRECATED_FIX_CALL_DUMMY)
573 (hppa_fix_call_dummy, DEPRECATED_CALL_DUMMY_HAS_COMPLETED)
574 (DEPRECATED_DUMMY_WRITE_SP, CALL_DUMMY): Delete.
575 * config/pa/tm-hppa64.h (CALL_DUMMY): Delete.
576 * hppa-tdep.c (hppa_frame_chain, hppa_frame_chain_valid)
577 (hppa_push_dummy_frame, hppa_pop_frame, hppa_push_arguments)
578 (hppa_fix_call_dummy, hppa64_stack_align, hppa_frame_saved_pc)
579 (hppa_init_extra_frame_info, hppa_saved_pc_after_call)
580 (hppa64_call_dummy_breakpoint_offset, hppa_frame_init_saved_regs)
581 (hppa_frameless_function_invocation, hppa64_store_return_value)
582 (hppa_store_struct_return, hppa64_extract_return_value)
583 (hppa64_use_struct_convention, hppa_frame_find_saved_regs)
584 (hppa32_call_dummy_length, hppa64_call_dummy_length)
585 (find_dummy_frame_regs, FUNC_LDIL_OFFSET, FUNC_LDO_OFFSET)
586 (find_proc_framesize, deposit_21, restore_pc_queue)
587 (find_return_regnum, pc_in_interrupt_handler, deposit_14)
588 (rp_saved, pc_in_linker_stub): Delete.
589
590 Unconditionally enable 64-bit frame and ABI code.
591 * hppa-tdep.c (hppa_gdbarch_init): Do not set deprecated
592 call_dummy_breakpoint_offset, call_dummy_length, stack_align,
593 push_dummy_frame, fix_call_dummy, push_arguments,
594 call_dummy_location, extract_return_value, use_struct_convention,
595 store_return_value, store_struct_return, saved_pc_after_call,
596 init_frame_pc, frame_init_saved_regs, init_extra_frame_info,
597 frame_chain, frame_chain_valid, frameless_function_invocation,
598 frame_saved_pc, and pop_frame.
599
600 * hppa-tdep.c: Replace PC_REGNUM with PCOQ_HEAD_REGNUM.
601 (hppa64_return_value, hppa64_push_dummy_call): Rewrite.
602 (hppa_gdbarch_init): Do not set PC_REGNUM.
603
604 2004-03-06 Mark Kettenis <kettenis@gnu.org>
605
606 * config/alpha/tm-fbsd.h: Remove file.
607 * config/alpha/fbsd.mt: Tweak comment.
608 (TM_FILE): Set to tm-alpha.h.
609
610 2004-03-05 Andrew Cagney <cagney@redhat.com>
611
612 * infrun.c (step_over_function): When non-legacy code, and no
613 step_frame_id, use the unwinder to get the caller's frame ID.
614
615 2004-03-05 Mark Kettenis <kettenis@gnu.org>
616
617 * i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
618 i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
619 bfd_arch_unknown. Adjust comment.
620
621 * i386-nat.c: Fix typo in comment. Re-introduce paranoiac.
622 * i386obsd-tdep.c: Correct spelling in comment.
623 * i386nbsd-tdep.c: Correct spelling in comment.
624 * sparc-tdep.c: Correct spelling in comments.
625
626 2004-03-05 David Carlton <carlton@kealia.com>
627
628 * cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion
629 bug.
630
631 2004-03-05 Mark Kettenis <kettenis@gnu.org>
632
633 * sparc-tdep.c: Fix typo in comment.
634
635 2004-03-04 J. Brobecker <brobecker@gnat.com>
636
637 * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.
638
639 2004-03-04 Daniel Jacobowitz <drow@mvista.com>
640
641 * dwarf2read.c: Add comment describing memory lifetimes.
642 (struct dwarf2_pinfo): Update comment.
643 (dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope)
644 (read_enumeration, new_symbol): Don't use obsavestring.
645
646 2004-03-04 Mark Kettenis <kettenis@gnu.org>
647
648 * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
649 instead of amd64_fill_fxsave.
650 * amd64bsd-nat.c (store_inferior_registers): Likewise.
651 * amd64fbsd-nat.c (fill_fpregset): Likewise.
652
653 * sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
654 Reorganize code a bit.
655
656 2004-03-04 Orjan Friberg <orjanf@axis.com>
657
658 * cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset
659 when the frame pointer is pushed. Don't set the frame pointer's
660 address on the stack unless it's actually located there.
661 Set the SRP's address on the stack correctly when the PC is still in
662 the prologue.
663 (cris_return_value): New function.
664 (cris_gdbarch_init): Clear deprecated store_return_value,
665 extract_return_value.
666
667 2004-03-02 Jim Blandy <jimb@redhat.com>
668
669 * stabsread.c (reg_value_complaint): The maximum register number
670 is one less than the number of registers.
671
672 2004-03-02 Andrew Cagney <cagney@redhat.com>
673
674 * i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM,
675 I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM. Remove
676 trailing comma and redundant assignment of I386_ST0_REGNUM.
677 * amd64-nat.c (amd64_collect_native_gregset): Zero-extend the
678 32-bit segment registers.
679
680 2004-03-01 Andrew Cagney <cagney@redhat.com>
681
682 * rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error,
683 use frame_relative_level and get_next_frame.
684
685 2004-02-29 Andrew Cagney <cagney@redhat.com>
686
687 * rs6000-tdep.c (rs6000_init_frame_pc_first): New function.
688 (rs6000_gdbarch_init): Set deprecated_init_frame_pc_first.
689 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST):
690 Delete macro.
691
692 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
693
694 * inflow.c (terminal_inferior): Don't give up the terminal if we
695 previously couldn't get the inferior's terminal state.
696
697 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
698
699 * regcache.c (read_pc_pid): Restore inferior_ptid after reading
700 PC_REGNUM.
701
702 2004-02-28 Andrew Cagney <cagney@redhat.com>
703
704 * NEWS: Refer to GDB 6.1.
705 * README: Refer to GDB 6.1.
706 * PROBLEMS: Refer to GDB 6.1.
707
708 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
709
710 * thread-db.c (disable_thread_signals): Remove unused function.
711
712 2004-02-28 Mark Kettenis <kettenis@gnu.org>
713
714 * amd64-nat.c: Include "gdb_string.h".
715 (amd64_collect_native_gregset): Zero-extend the 32-bit
716 general-purpose registers and %eip.
717
718 * amd64-tdep.h: (amd64_collect_fxsave): New prototype.
719 * amd64-tdep.c (amd64_collect_fxsave): New function.
720 (amd64_fill_fxsave): Simply call amd64_collect_fxsave.
721
722 * i387-tdep.h: Update copyright year.
723 (i387_collect_fxsave): New prototype.
724 * i387-tdep.c: Update copyright year.
725 (i387_collect_fxsave): New function containing most of the code
726 from i387_fill_fxsave.
727 (i387_fill_fxsave): Call i387_collect_fxsave.
728
729 2004-02-28 Andrew Cagney <cagney@redhat.com>
730
731 * amd64-linux-nat.c (ps_get_thread_area): When architecture is
732 i386 use PTRACE_GET_THREAD_AREA. Suggested by Roland McGrath.
733
734 2004-02-28 Mark Kettenis <kettenis@gnu.org>
735
736 * amd64-tdep.c (amd64_frame_cache): Fix comment.
737
738 2004-02-28 Andrew Cagney <cagney@redhat.com>
739
740 * utils.c: Use "", instead of <>, to include readline.
741 tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto.
742 * tracepoint.c, top.c, symmisc.c, symfile.c: Ditto.
743 * source.c, solib.c, exec.c, event-top.c: Ditto.
744 * corelow.c, completer.c, cli/cli-setshow.c: Ditto.
745 * cli/cli-dump.c, cli/cli-cmds.c: Ditto.
746 * Makefile.in: Update all dependencies.
747 (readline_tilde_h, readline_history_h): Define.
748 (readline_headers): Delete.
749
750 2004-02-28 Mark Kettenis <kettenis@gnu.org>
751
752 * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
753 "config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to
754 "config/i386/tm-lx64.h".
755
756 * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to
757 "amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c". Remove
758 rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".
759
760 2004-02-28 Andrew Cagney <cagney@redhat.com>
761
762 * dwarf2-frame.h (struct gdbarch): Add opaque declaration.
763
764 * breakpoint.c (_initialize_breakpoint): Use
765 "add_setshow_auto_boolean_cmd. Better word-wrap help messages.
766 Add help to show command.
767
768 2004-02-28 Mark Kettenis <kettenis@gnu.org>
769
770 * i386-nat.c: Reformat to be closer to coding standards.
771 (i386_handle_nonaligned_watchpoint): Rename local variable `rv' to
772 `retval'. Make variables `align' and `size' local to while-loop.
773 (i386_stopped_data_address): Rename local variable `ret' to `addr'.
774 (_initialize_i386_nat): New prototype.
775
776 * tui/tui.c: Include <readline/readline.h> instead of
777 "readline/readline.h". Include it after <term.h> and
778 "gdb_curses.h".
779
780 2004-02-27 Andrew Cagney <cagney@redhat.com>
781
782 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use
783 the new frame unwind code.
784 (hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM.
785 (hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from
786 PCOQ_HEAD_REGNUM.
787
788 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always
789 "return_value" and "push_dummy_call".
790 (hppa32_use_struct_convention): Delete unused function.
791 (hppa32_store_return_value): Delete unused function.
792 (hppa32_extract_return_value): Delete unused function.
793 (hppa32_stack_align): Delete function.
794
795 2004-02-27 Eli Zaretskii <eliz@elta.co.il>
796
797 * coffread.c (enter_linenos): Don't let rawptr reference memory
798 outside linetab[]'s limits.
799
800 2004-02-27 Andrew Cagney <cagney@redhat.com>
801
802 * hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving
803 inferior stack space - the stack needs to grow upwards.
804 (hppa32_frame_align): New function.
805 (hppa64_frame_align): Replace hppa_frame_align.
806 (hppa_gdbarch_init): Update.
807
808 2004-02-26 Orjan Friberg <orjanf@axis.com>
809
810 * cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h)
811 (dwarf2-frame.h): Include.
812 (enum cris_regnums): New enum CRIS_FP_REGNUM.
813 Remove static variables related to ABI setting.
814 (struct gdbarch_tdep): Remove cris_abi member.
815 (struct frame_extra_info): Remove.
816 (cris_unwind_cache, stack_item): New structs.
817 (cris_frame_unwind, cris_frame_base): New variables.
818 (push_stack_item, pop_stack_item)
819 (cris_frame_unwind_cache, cris_frame_this_id)
820 (cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align)
821 (cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer)
822 (cris_frame_base_address, cris_scan_prologue, cris_unwind_pc)
823 (cris_unwind_sp, cris_store_return_value, cris_extract_return_value)
824 (cris_reg_struct_has_addr): New functions.
825 (cris_examine, cris_frame_init_saved_regs, cris_frame_chain)
826 (cris_frame_saved_pc, cris_saved_pc_after_call,
827 (cris_store_struct_return, cris_frameless_function_invocation)
828 (cris_pop_frame, cris_skip_prologue_main)
829 (cris_abi_original_store_return_value)
830 (cris_abi_v2_store_return_value)
831 (cris_abi_original_extract_return_value)
832 (cris_abi_v2_extract_return_value)
833 (cris_abi_original_reg_struct_has_addr)
834 (cris_abi_v2_reg_struct_has_addr)
835 (cris_abi_original_push_arguments, cris_abi_v2_push_arguments)
836 (cris_push_return_address, cris_abi_update): Remove.
837 (_initialize_cris_tdep): Remove ABI command.
838 (cris_dump_tdep): Ditto.
839 (cris_gdbarch_init): Remove ABI command.
840 Set store_return_value, extract_return_value, push_dummy_code,
841 push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id,
842 frame_unwind_append_sniffer, frame_base_set_default.
843 Clear deprecated init_frame_pc, push_arguments, store_return_value,
844 extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words,
845 sizeof_call_dummy_words, get_saved_register, push_return_address,
846 pop_frame, store_struct_return, frame_init_saved_regs,
847 init_extra_frame_info, frameless_function_invocation, frame_chain,
848 frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos,
849 dummy_write_sp.
850
851 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
852
853 * valprint.h (print_hex_chars, print_char_chars): New prototypes.
854 * valprint.c (print_hex_chars): Change from static to external.
855 (print_char_chars): New function.
856 * printcmd.c (print_scalar_formatted): For integer and enum types
857 that are longer than LONGEST, perform processing via appropriate
858 print_*_chars routines.
859
860 2004-02-26 Andrew Cagney <cagney@redhat.com>
861
862 * Makefile.in: Update dependencies.
863 Changes from Ulrich Weigand,
864 * s390-tdep.c: Include "dwarf2-frame.h".
865 (s390_dwarf2_frame_init_reg): New function.
866 (s390_gdbarch_init): Install dwarf2_frame_sniffer and
867 dwarf2_frame_base_sniffer. Call dwarf2_frame_set_init_reg.
868
869 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
870
871 * breakpoint.c (pending_break_support): New setting variable.
872 (break_command_1): Account for pending_break_support setting
873 when creating pending breakpoints.
874 (set_breakpoint_cmd, show_breakpoint_cmd): New functions.
875 (_initialize_breakpoint): Add "set breakpoint pending" and
876 "show breakpoint pending" commands.
877
878 2004-02-26 Andrew Cagney <cagney@redhat.com>
879
880 Fix PR i18n/1570.
881 * charset.c (backslashable, backslashed, represented): Remove 'e'
882 from list of escaped characters, not part of ISO-C.
883
884 2004-02-25 J. Brobecker <brobecker@gnat.com>
885
886 From Peter Schauer <schauer@pdf.de>:
887 * tui/tui.c: Move system header includes after local includes.
888 Fixes a build failure on solaris systems.
889
890 2004-02-25 J. Brobecker <brobecker@gnat.com>
891
892 * configure.in: Refine the previous change.
893 * configure: Regenerate.
894
895 2004-02-25 Mark Kettenis <kettenis@gnu.org>
896
897 * amd64-tdep.h: Renamed from x86-64-tdep.h.
898 * amd64-tdep.c: Renamed from x86-64-tdep.c. Include
899 "amd64-tdep.h" instead of "x86-64-tdep.h".
900 * amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h".
901 * amd64-linux-tdep.h: Renamed from x86-64-linux.h.
902 * amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c. Include
903 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
904 and "x86-64-tdep.c".
905 * amd64-linux-nat.c: Renamed from x86-64-linux-nat.c. Include
906 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
907 and "x86-64-tdep.c".
908 * amd64bsd-nat.c: Update copyright year.
909 Include "amd64-tdep.h" instead of "x86-64-tdep.h".
910 * amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of
911 "x86-64-tdep.h".
912 * amd64fbsd-nat.c: Include "amd64-tdep.h" instead of
913 "x86-64-tdep.h".
914 * amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of
915 "x86-64-tdep.h".
916 * amd64nbsd-nat.c: Include "amd64-tdep.h" instead of
917 "x86-64-tdep.h".
918 * amd64obsd-tdep.c: Include "amd64-tdep.h" instead of
919 "x86-64-tdep.h".
920 * amd64obsd-nat.c: Include "amd64-tdep.h" instead of
921 "x86-64-tdep.h".
922 * configure.host: (x86_64-*-linux*): Set gdb_target to linux64.
923 * configure.tgt (x86_64-*-linux*): Set gdb_target to linux64.
924 * Makefile.in (amd64_linux_tdep_h): Renamed from
925 x86_64_linux_tdep_h.
926 (amd64_tdep_h): Renamed from x86_64_tdep_h.
927 (amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o)
928 (amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o)
929 (amd64obsd-tdep.o): Update dependencies.
930 (amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New
931 dependencies.
932 (x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove
933 dependencies.
934 (ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c,
935 amd64-linux-nat.c amd64-linux-tdep.c.
936 * config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h
937 * config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h.
938 * config/i386/linux64.mt: Renamed from x86-64linux.mt.
939 (TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with
940 amd64-tdep.o and amd64-linux-tdep.o.
941 (TM_FILE): Set to tm-linux64.h.
942 * config/i386/linux64.mh: Renamed from x86-64linux.mh.
943 (NAT_FILE): Set to nm-linux64.h.
944 (NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o.
945 * config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
946 amd64-tdep.o.
947 * config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
948 amd64-tdep.o.
949 * config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
950 amd64-tdep.o.
951
952 2004-02-25 Roland McGrath <roland@redhat.com>
953
954 * remote.c (remote_protocol_qPart_auxv): New variable.
955 (init_all_packet_configs): Initialize it.
956 (set_remote_protocol_qPart_auxv_packet_cmd): New function.
957 (show_remote_protocol_qPart_auxv_packet_cmd): New function.
958 (show_remote_cmd): Call it.
959 (_initialize_remote): Initialize commands.
960 (remote_xfer_partial): If enabled, use qPart:auxv:read:... query to
961 service TARGET_OBJECT_AUXV requests.
962
963 2004-02-25 J. Brobecker <brobecker@gnat.com>
964
965 * configure.in: Make sure that the wborder function is available.
966 Otherwise, search for it in the cur_colr library.
967 * configure: Regenerate.
968
969 2004-02-25 Andrew Cagney <cagney@redhat.com>
970
971 * hppa-tdep.c (hppa32_push_dummy_call): Rewrite.
972
973 2004-02-25 Mark Kettenis <kettenis@gnu.org>
974
975 * config/i386/tm-x86-64linux.h: Tweak comments.
976
977 2004-02-25 Richard Sandiford <rsandifo@redhat.com>
978
979 * MAINTAINERS: Add self to write-after-approval list.
980
981 2004-02-25 Andrew Cagney <cagney@redhat.com>
982
983 PR cli/1566. Problem found, and fix suggested by David Allan.
984 * cli/cli-script.c (execute_control_command): Unconditionally
985 install a cleanup. Default "ret" to "invalid_control". Use
986 "break" instead of "return" to escape from the switch.
987
988 2004-02-24 J. Brobecker <brobecker@gnat.com>
989
990 * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision
991 with the lines macro defined in term.h on AiX.
992 * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid
993 a collision with the label_width macro defined in term.h on AiX.
994
995 2004-02-23 David Mosberger <davidm@hpl.hp.com>
996
997 Committed by Kevin Buettner <kevinb@redhat.com>.
998
999 * ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare.
1000 * ia64-tdep.c (ia64_write_pc): Make it a global function.
1001 (ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc()
1002 instead of ia64_write_pc().
1003 * ia64-linux-tdep.c (regcache.h): Include.
1004 (ia64_linux_write_pc): New function.
1005
1006 2004-02-23 Roland McGrath <roland@redhat.com>
1007
1008 * auxv.c (info_auxv_command): Fix typos in error messages.
1009
1010 2004-02-23 Mark Kettenis <kettenis@gnu.org>
1011
1012 * x86-64-tdep.h: Tweak comment.
1013 (enum amd64_regnum): New.
1014 (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM)
1015 (X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM)
1016 (X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM)
1017 (X86_64_XMM1_REGNUM): Removed.
1018 (AMD64_NUM_GREGS): Renamed from X86_64_NUM_GREGS.
1019 (amd64_init_abi, amd64_supply_fxsave, amd64_fill_fxsave): Adjust
1020 prototypes for renamed functions.
1021 * x86-64-tdep.c: Fix typo.
1022 (amd64_dwarf_regmap): Use constants from `enum amd64_regnum' for
1023 register numbers.
1024 (amd64_return_value, amd64_push_arguments, amd64_push_dummy_call):
1025 Use constants from `enum amd64_regnum' for register numbers.
1026 (AMD64_NUM_SAVED_REGS): Adjust for renamed macros.
1027 (amd64_analyze_prologue, amd64_frame_cache,
1028 amd64_sigtramp_frame_cache): Use constants from `enum
1029 amd64_regnum' for register numbers.
1030 (amd64_supply_fpregset): Adjust for renamed functions.
1031 (amd64_init_abi): Rename from x86_64_init_abi. Use constants from
1032 `enum amd64_regnum' for register numbers.
1033 (I387_ST0_REGNUM): Use constant from `enum amd64_regnum'.
1034 (amd64_supply_fxsave): Rename from x86_64_supply_fxsave.
1035 (amd64_fill_fxsave): Rename fro x86_64_fill_fxsave.
1036 * x86-64-linux-tdep.c (amd64_linux_supply_gregset)
1037 (amd64_linux_fill_gregset): Adjust for renamed macros.
1038 (fetch_core_registers): Adjust for renamed functions.
1039 (amd64_linux_init_abi): Adjust for renamed functions.
1040 * x86-64-linux-nat.c (supply_gregset, fill_gregset): Adjust for
1041 renamed functions.
1042 * amd64-nat.c: Adjust for renamed macros.
1043 * amd64bsd-nat.c (fetch_inferior_registers)
1044 (store_inferior_registers): Use constants from `enum amd64_regnum'
1045 for register numbers. Adjust for renamed variables.
1046 * amd64fbsd-nat.c (supply_gregset, fill_gregset): Adjust for
1047 renamed variables.
1048 (_initialize_amd64fbsd_nat): Use constants from `enum
1049 amd64_regnum' for register numbers.
1050 * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use constants from
1051 `enum amd64_regnum' for register numbers.
1052 (amd64fbsd_init_abi): Adjust for renamed functions.
1053 * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Use constants from
1054 `enum amd64_regnum' for register numbers.
1055 (amd64nbsd_init_abi): Adjust for renamed functions.
1056 (_initialize_amd64nbsd_ndep): Adjust for renamed macros.
1057 * amd64obsd-tdep.c (amd64obsd_sigcontext_addr): Use constants from
1058 `enum amd64_regnum' for register numbers.
1059 (amd64obsd_init_abi): Adjust for renamed functions.
1060 (_initialize_amd64obsd_ndep): Adjust for renamed macros.
1061
1062 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
1063
1064 * breakpoint.c (print_one_breakpoint): Do not output spaces
1065 after printing <PENDING> for a pending breakpoint.
1066
1067 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
1068
1069 * printcmd.c (print_scalar_formatted): Initialize val_long
1070 to remove compiler warning message.
1071
1072 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
1073
1074 * defs.h (nquery, yquery): New prototypes.
1075 * breakpoint.c (break_command_1): Use new nquery interface.
1076 * utils.c (defaulted_query, nquery, yquery): New functions.
1077
1078 2004-02-23 Andrew Cagney <cagney@redhat.com>
1079
1080 * hppa-tdep.c (hppa_frame_align): New function.
1081 (hppa32_push_dummy_call): New function.
1082 (hppa64_push_dummy_call): New function.
1083 (hppa_gdbarch_init): Set frame_align and push_dummy_call; keep
1084 disabled.
1085
1086 * infcall.c (legacy_push_dummy_code): Don't call deprecated
1087 FIX_CALL_DUMMY when push_dummy_call is available.
1088 (call_function_by_hand, push_dummy_code): Ditto.
1089
1090 2004-02-22 Andrew Cagney <cagney@redhat.com>
1091
1092 * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro.
1093 (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro.
1094 (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro.
1095 * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated
1096 use_generic_dummy_frames, set deprecated pc_in_call_dummy, set
1097 call_dummy_location to ON_STACK.
1098
1099 2004-02-22 Mark Kettenis <kettenis@gnu.org>
1100
1101 * x86-64-linux-tdep.c: Tweak comment.
1102 (amd64_linux_supply_gregset): Renamed from
1103 x86_64_linux_supply_gresget.
1104 (amd64_linux_fill_gregset): Renamed from
1105 x86_64_linux_fill_gregset.
1106 (fetch_core_registers): Adjust for renamed functions.
1107 (amd64_core_fns): Renamed from x86_64_core_fns.
1108 (amd64_linux_sigtramp_start): Renamed from
1109 x86_64_linux_sigtramp_start.
1110 (amd64_linux_pc_in_sigtramp): Renamed from
1111 x86_64_linux_pc_in_sigtramp. Adjust for renamed functions.
1112 (AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Renamed from
1113 X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET.
1114 (amd64_linux_sigcontext_addr): Renamed from
1115 x86_64_linux_sigcontext_addr.
1116 (amd64_linux_sc_reg_offset): Renamed from
1117 x86_64_linux_sc_reg_offset.
1118 (amd64_linux_init_abi): Renamed from x86_64_linux_init_abi.
1119 Adjust for renamed functions and variables.
1120 (_initialize_amd64_linux_tdep): Renamed from
1121 _initialize_x86_64_linux_tdep. Adjust for renamed functions and
1122 variables.
1123 * x86-64-linux-tdep.h: Update copyright year. Tweak comment.
1124 Adjust for renamed functions.
1125
1126 * x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename
1127 from x86_64_linux_gregset64_reg_offset.
1128 (amd64_linux_gregset32_reg_offset): Rename from
1129 x86_64_linux_gregset64_reg_offset.
1130 (amd64_linux_dr_get): Renamed from x86_64_linux_dr_get.
1131 (amd64_linux_dr_set): Renamed from x86_64_linux_dr_set.
1132 (amd64_linux_dr_set_control): Renamed from
1133 x86_64_linux_dr_set_control. Adjust for renamed functions.
1134 (amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr.
1135 Adjust for renamed functions.
1136 (amd64_linux_dr_reset_addr): Renamed from
1137 x86_64_linux_dr_reset_addr. Adjust for renamed functions.
1138 (amd64_linux_dr_get_status): Renamed from
1139 x86_64_linux_dr_get_status. Adjust for renamed functions.
1140 (_initialize_amd64_linux_nat): Renamed from
1141 _initialize_x86_64_linux_nat. Adjust for renamed variables and
1142 functions.
1143 * config/i386/nm-x86-64linux.h: Update copyright year.
1144 Adjust for renamed functions.
1145
1146 * amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from
1147 amd64fbsd_sigtramp_start.
1148 (amd64fbsd_sigtramp_end_addr): Renamed from
1149 amd64fbsd_sigtramp_end.
1150 (amd64fbsd_init_abi): Adjust for renamed variables.
1151 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Adjust for renamed
1152 variables.
1153 * x86-64-tdep.h (amd64fbsd_sigtramp_start_addr): Renamed from
1154 amd64fbsd_sigtramp_start.
1155 (amd64fbsd_sigtramp_end_addr): Renamed from
1156 amd64fbsd_sigtramp_end.
1157
1158 2004-02-22 Andrew Cagney <cagney@redhat.com>
1159
1160 * hppa-tdep.c (hppa32_return_value): New function.
1161 (hppa64_return_value): New function.
1162 (hppa_gdbarch_init): Set return_value; keep disabled.
1163
1164 * hppa-tdep.c (hppa_gdbarch_init): Re-order separating
1165 struct-return and inferior function call methods.
1166
1167 * hppa-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
1168 "frame-base.h".
1169 (struct hppa_frame_cache): Define.
1170 (hppa_frame_cache, hppa_frame_this_id): New functions.
1171 (hppa_frame_prev_register): New function.
1172 (hppa_frame_unwind, hppa_frame_base): New variables.
1173 (hppa_frame_unwind_sniffer): New function.
1174 (hppa_frame_base_address, hppa_unwind_pc): New function.
1175 (hppa_gdbarch_init): Set unwind_dummy_id, unwind_pc, frame unwind
1176 sniffer, and frame base sniffer; keep disabled.
1177 (hppa_frame_base_sniffer, hppa_unwind_dummy_id): New functions.
1178 * Makefile.in: Update dependencies, fix s/nbsd/obsd/ typo.
1179
1180 * frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p
1181 to predicates for "seriously old code".
1182
1183 * hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into
1184 runtime if(0).
1185
1186 * hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint"
1187 unsigned.
1188 (hppa_frame_find_saved_regs): Fix "std" instruction pattern
1189
1190 * config/pa/tm-hppa.h: Update copyright.
1191 (DEPRECATED_INIT_FRAME_PC): Delete macro.
1192 (deprecated_init_frame_pc_default): Delete declaration.
1193 (hppa_frame_init_saved_regs): Delete declaration.
1194 (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
1195 * hppa-tdep.c: Include "arch-utils.h".
1196 (hppa_gdbarch_init): Set deprecated init_frame_pc
1197 and deprecated frame_init_saved_regs.
1198 (hppa_frame_init_saved_regs): Make static.
1199
1200 2004-02-22 Mark Kettenis <kettenis@gnu.org>
1201
1202 Remove old 386BSD support.
1203 * NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*.
1204 * configure.host: Remove i[34567]86-*-bsd*.
1205 * configure.tgt: Remove i[34567]86-*-bsd*.
1206 * i386b-nat.c: Removed.
1207 * Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
1208 (i386b-nat.o): Remove dependencies.
1209
1210 * config/i386/i386bsd.mh: Removed.
1211 * config/i386/i386bsd.mt: Removed.
1212 * config/i386/nm-i386bsd.h: Removed.
1213 * config/i386/tm-i386bsd.h: Removed.
1214 * config/i386/xm-i386bsd.h: Removed.
1215
1216 * x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.
1217
1218 * amd64fbsd-tdep.c: Include "solib-svr4.h".
1219 (amd64fbsd_init_abi): Set link map offsets.
1220 * amd64nbsd-tdep.c: Include "slib-svr4.h".
1221 (amd64nbsd_init_abi): Set link map offsets.
1222 * amd64obsd-tdep.c: Include "solib-svr4.h".
1223 (amd64obsd_init_abi): Set link map offsets.
1224 * i386fbsd-tdep.c: Include "solib-svr4.h".
1225 (i386fbsd_init_abi): Set link map offsets.
1226 * i386nbsd-tdep.c: Include "solib-svr4.h".
1227 (i386nbsdelf_init_abi): Set link map offsets.
1228 * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o)
1229 (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies.
1230 * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o,
1231 solib-legacy.o and core-aout.o. Reformat.
1232 * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o,
1233 solib-svr4.o, solib-legacy.o. Reformat.
1234 * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o. Reformat.
1235 * config/i386/nbsdelf.mh: Reformat.
1236 * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o,
1237 solib-svr4.o, solib-legacy.o and corelow.o.
1238 * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat.
1239 * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o,
1240 solib-svr4.o, solib-legacy.o and corelow.o. Reformat.
1241 * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o.
1242 * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o.
1243 (TM_FILE): Set to tm-fbsd.h.
1244 * config/i386/nbsd.mt (TDEPFILES): Reformat.
1245 * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and
1246 solib-svr4.o.
1247 * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and
1248 solib-svr4.o.
1249 (TM_FILE): Set to nm-nbsd.h.
1250 * config/i386/nm-fbsd.h: Update copyright year. Tweak comments.
1251 Simplify shared library support. Don't include "elf/common.h".
1252 (SVR4_SHARED_LIBS): Don't define.
1253 * config/i386/nm-fbsd64.h: Update copyright year. Don't include
1254 "solib.h".
1255 * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h,
1256 config/i386/nm-obsd.h: Update copyright year. Tweak comments.
1257 * config/i386/tm-fbsd.h: Update copyright tear. Tweak comments.
1258 Don't include "i386/tm-i386.h". Include "solib.h".
1259 * config/i386/tm-nbsd.h: Update copyright year. Tweak comments.
1260 Don't include "i386/tm-i386.h".
1261 * config/i386/xm-i386.h: Update copyright year. Tweak comments.
1262 * config/i386/xm-nbsd.h: Update copyright year. Tweak comments.
1263 Include "i386/xm-i386.h".
1264 (HOST_LONG_DOUBLE_FORMAT): Remove.
1265
1266 Fix OpenBSD/i386 sigtramp recognition.
1267 * i386-tdep.h: Update copyright year.
1268 (i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start)
1269 (i386bsd_sigtramp_end): New prototypes.
1270 (i386fbsd_sigtramp_start_addr): Renamed from
1271 i386fbsd_sigtramp_start.
1272 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
1273 (i386obsd_sigtramp_start_addr): Renamed from
1274 i386obsd_sigtramp_start.
1275 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
1276 * i386bsd-tdep.c: Update copyright year.
1277 (i386bsd_pc_in_sigtramp): Make public.
1278 * i386fbsd-nat.c: Update copyright year.
1279 (_initialize_i386fbsd_nat): Adjust for renamed variables.
1280 * i386fbsd-tdep.c: Update copyright year.
1281 (i386fbsd_sigtramp_start_addr): Renamed from
1282 i386fbsd_sigtramp_start.
1283 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
1284 (i386fbsdaout_init_abi): Adjust for renamed variables.
1285 * i386obsd-nat.c: Update copyright year.
1286 (_initialize_i386obsd_nat): Adjust for renamed variables.
1287 * i386obsd-tdep.c: Include "target.h".
1288 (i386obsd_page_size): New variable.
1289 (i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start)
1290 (i386obsd_sigtramp_end): New functions.
1291 (i386obsd_sigtramp_start_addr): Renamed from
1292 i386obsd_sigtramp_start.
1293 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
1294 (i386obsd_init_abi): Adjust for renamed variables. Set
1295 pc_in_sigtramp, sigtramp_start and sigtramp_end.
1296 * Makefile.in (i386obsd-tdep.o): Update dependencies.
1297
1298 * amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
1299 trampoline change in OpenBSD kernel.
1300
1301 * amd64-nat.c: Update copyright year.
1302 (amd64_supply_native_gregset, amd64_collect_native_gregset): Use
1303 architecture from REGCACHE.
1304
1305 * x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use
1306 symbolic constants from <sys/reg.h> instead of hard-coded numbers.
1307
1308 2004-02-21 Mark Kettenis <kettenis@gnu.org>
1309
1310 * configure.host: Add i[34567]86-*-openbsd[0-2].* and
1311 i[34567]86-*-openbsd3.[0-3].
1312 * config/i386/obsdaout.mh: New file.
1313
1314 * config/i386/obsd.mh (MH_FLAGS): Remove.
1315
1316 Fix PR build/1549.
1317 * i386obsd-tdep.c: Update copyright years. Include
1318 "solib-svr4.h".
1319 (i386obsd_init_abi): Don't set regset_from_core_section here.
1320 (i386obsd_aout_init_abi): New function. Set
1321 regset_from_core_section here.
1322 (i386obsd_elf_init_abi): New function.
1323 (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF.
1324 * Makefile.in (i386obsd-tdep.o): Update dependecies.
1325 * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
1326 (TM_FILE): Set to tm-nbsd.h.
1327
1328 * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and
1329 solib-sunos.o.
1330
1331 * solib-svr4.h: Update copyright year.
1332 (svr4_ilp32_fetch_link_map_offsets)
1333 (svr4_lp64_fetch_link_map_offsets): New prototype.
1334 * solib-svr4.c: Update copyright year.
1335 (svr4_ilp32_fetch_link_map_offsets)
1336 (svr4_lp64_fetch_link_map_offsets): New function.
1337
1338 2004-02-20 Daniel Jacobowitz <drow@mvista.com>
1339
1340 * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
1341 to the partial symbol table.
1342
1343 2004-02-20 J. brobecker <brobecker@gnat.com>
1344
1345 * PROBLEMS: Add description of problem documented under gdb/1560.
1346
1347 2004-02-20 Mark Kettenis <kettenis@gnu.org>
1348
1349 * amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h". Fix
1350 comments.
1351 (amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New
1352 functions.
1353 (amd64obsd_init_abi): Reorder initializations. Use
1354 amd64obsd_r_reg_offset to initialize the general-purpose register
1355 set details. Set regset_from_core_section.
1356 (_initialize_amd64obsd_tdep): Rename from
1357 _initialize_amd64obsd_ndep. Add OS ABI handler for core dumps.
1358 * Makefile.in (amd64obsd-tdep.o): Update dependencies.
1359 * config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o.
1360
1361 * NEWS (New native configurations): Mention OpenBSD/alpha.
1362 * configure.tgt: Add alpha*-*-openbsd*.
1363 * configure.host: Add alpha*-*-openbsd*.
1364 * alphanbsd-tdep.c: Update copyright year.
1365 (_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF.
1366
1367 2004-02-20 Andrew Cagney <cagney@redhat.com>
1368
1369 Fix PR tdep/1372.
1370 * configure.tgt: Delete target "none-*-*".
1371 * configure.host: Delete host "none-*-*".
1372 * config/none/none.mh: Delete file.
1373 * config/none/none.mt: Delete file.
1374 * config/none/xm-none.h: Delete file.
1375 * config/none/tm-none.h: Delete file.
1376 * config/none/nm-none.h: Delete file.
1377
1378 2004-02-19 Fred Fish <fnf@redhat.com>
1379
1380 * sh-tdep.c (sh_analyze_prologue): Eliminate useless test of
1381 cache->uses_fp prior to setting it.
1382
1383 2004-02-19 Fred Fish <fnf@redhat.com>
1384
1385 Fix for PR breakpoint/1558.
1386 * sh-tdep.c (IS_JSR): New macro.
1387 (sh_analyze_prologue): Use IS_JSR to terminate prologue scan.
1388
1389 2004-02-19 Jim Blandy <jimb@redhat.com>
1390
1391 * findvar.c (value_from_register): Doc fix.
1392
1393 2004-02-19 Jeff Johnston <jjohnstn@redhat.com>
1394
1395 * printcmd.c (print_scalar_formatted): Do not check for sizeof
1396 type being greater than sizeof of host's LONGEST. Always use
1397 unpack_long() unless format 'f' chosen.
1398
1399 2004-02-19 Joel Brobecker <brobecker@gnat.com>
1400
1401 Committed by Elena Zannoni <ezannoni@redhat.com>
1402
1403 * symtab.c (find_pc_sect_psymtab): Return the psymtab that
1404 contains a symbol wich is the best, non-exact match for the given
1405 pc. Update comments.
1406
1407 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
1408
1409 * event-top.c (async_request_quit): Remove uses of REQUEST_QUIT
1410 macro, which was part of the now removed Mach 3 port.
1411 * utils.c (request_quit): Ditto.
1412
1413 2004-02-18 Mark Kettenis <kettenis@gnu.org>
1414
1415 * config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and
1416 "amd64obsd-nat.c" to "a64ob-tdep.c" and "a64ob-nat.c".
1417
1418 2004-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1419
1420 Committed by Mark Kettenis <kettenis@gnu.org>.
1421
1422 * config/s390/nm-linux.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT):
1423 Define.
1424
1425 2004-02-18 Andrew Cagney <cagney@redhat.com>
1426
1427 * configure.in: Add a TUI target to CONFIG_ALL, CONFIG_CLEAN,
1428 CONFIG_INSTALL and CONFIG_UNINSTALL.
1429 * configure: Re-generate.
1430 * interps.h (INTERP_TUI): Define.
1431 * Makefile.in: Update dependencies.
1432 (TUI): New macro.
1433 (tui-main.o): Specify dependencies.
1434 (install-tui, uninstall-tui, clean-tui, all-tui): New rules.
1435 * tui/tui-main.c: New file.
1436
1437 2004-02-18 Mark Kettenis <kettenis@gnu.org>
1438
1439 * amd64obsd-tdep.c, amd64obsd-nat.c: New files.
1440 * Makefile.in (amd64obsd-nat.o, amd64obsd-tdep.o): New
1441 dependencies.
1442 * configure.host: Add x86_64-*-openbsd*.
1443 * configure.tgt: Add x86_64-*-openbsd*.
1444 * config/i386/obsd64.mt, config/i386/obsd64.mh: New files.
1445
1446 * tui/tui.c: Don't include <malloc.h>.
1447
1448 * Makefile.in (ALLDEPFILES): Add amd64-nat.c, amd64bsd-nat.c,
1449 amdfbsd-nat.c, amd64-fbsd-tdep.c, amd64nbsd-nat.c and
1450 amd64nbsd-tdep.c.
1451
1452 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make
1453 static. Remove extraneous whitespace.
1454 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Make
1455 static.
1456
1457 2004-02-17 Jim Blandy <jimb@redhat.com>
1458
1459 * findvar.c (value_from_register): Doc fix.
1460
1461 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1462
1463 Committed by Jim Blandy <jimb@redhat.com>.
1464
1465 * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use
1466 CORE_ADDR as type for selectors. Correct types for GNU run time
1467 message lookup function to use double indirection.
1468 * objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type.
1469 * objc-lang.h (lookup_child_selector): Adapt prototype.
1470
1471 * s390-nat.c (SUBOFF): New macro.
1472 (supply_gregset, fill_gregset): Use it to handle debugging
1473 of 32-bit exectuables running under a 64-bit kernel.
1474 * s390-tdep.c: Include "solib-svr4.h".
1475 (s390_svr4_fetch_link_map_offset): New function.
1476 (s390x_svr_fetch_link_map_offset): Likewise.
1477 (s390_gdbarch_init): Call set_solib_svr4_fetch_link_map_offsets.
1478 * Makefile.in (s390-tdep.o): Update dependencies.
1479
1480 * s390-tdep.c: Include "trad-frame.h", "frame-base.h", and
1481 "frame-unwind.h".
1482 (s390_readinstruction): Reformat. Use read_memory_nobpt.
1483 (GDB_TARGET_IS_ESAME, S390_GPR_SIZE, S390_FPR_SIZE): Remove.
1484 (S390_SYSCALL_OPCODE, S390_SYSCALL_SIZE): Remove.
1485 (S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET,
1486 S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET,
1487 S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET,
1488 S390_SIGNAL_FRAMESIZE,
1489 s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove.
1490 (struct frame_extra_info): Remove.
1491 (s390_memset_extra_info): Remove.
1492 (op1_ag, op1_ay, op1_brasl, op1_brc, op1_brcl, op1_lay, op1_lg)
1493 (op1_lmy, op1_ly, op1_sg, op1_stmy, op1_sty, op1_sy, op_a)
1494 (op_agr, op_bas, op_bc, op_bcr, op_sgr, op_sr): New opcodes.
1495 (is_rse): Renamed to ...
1496 (is_rsy): ... this. Support long displacements.
1497 (is_rxe): Renamed to ...
1498 (is_rxy): ... this. Support long displacements.
1499 (compute_x_addr): Support long displacements.
1500 (struct s390_prologue_data): New data type.
1501 (s390_on_stack): Change API to use struct s390_prologue_data.
1502 (s390_store): Reimplement.
1503 (s390_load): New function.
1504 (s390_get_signal_frame_info): Remove.
1505 (s390_get_frame_info): Remove, replace by ...
1506 (s390_analyze_prolog): ... this new function.
1507 (s390_check_function_end): Remove.
1508 (s390_function_start): Remove.
1509 (s390_frameless_function_invokation): Remove.
1510 (s390_is_sigreturn): Remove.
1511 (s390_init_frame_pc_first): Remove.
1512 (s390_init_frame_extra_info): Remove.
1513 (s390_frame_init_saved_regs): Remove.
1514 (s390_frame_saved_pc_nofix): Remove.
1515 (s390_frame_saved_pc): Remove.
1516 (s390_frame_chain): Remove.
1517 (s390_fp_regnum, s390_read_fp): Remove.
1518 (s390_pop_frame_regular, s390_pop_frame): Remove.
1519 (s390_saved_pc_after_call): Remove.
1520 (s390_skip_prologue): Reimplement.
1521 (s390_in_function_epilogue_p): Support long displacements.
1522 (struct s390_unwind_cache): New data structure.
1523 (s390_frame_unwind_cache): New function.
1524 (s390_prologue_frame_unwind_cache): Likewise.
1525 (s390_backchain_frame_unwind_cache): Likewise.
1526 (s390_frame_this_id, s390_frame_prev_register): Likewise.
1527 (s390_frame_unwind): Define.
1528 (s390_frame_sniffer): New function.
1529 (struct s390_pltstub_unwind_cache): New data structure.
1530 (s390_pltstub_frame_unwind_cache): New function.
1531 (s390_pltstub_frame_this_id): Likewise.
1532 (s390_pltstub_frame_prev_register): Likewise.
1533 (s390_pltstub_frame_unwind): Define.
1534 (s390_pltstub_frame_sniffer): New function.
1535 (struct s390_sigtramp_unwind_cache): New data structure.
1536 (s390_sigtramp_frame_unwind_cache): New function.
1537 (s390_sigtramp_frame_this_id): Likewise.
1538 (s390_sigtramp_frame_prev_register): Likewise.
1539 (s390_sigtramp_frame_unwind): Define.
1540 (s390_sigtramp_frame_sniffer): New function.
1541 (s390_frame_base_address, s390_local_base_address): New functions.
1542 (s390_frame_base): Define.
1543 (s390_unwind_pc, s390_unwind_sp): New function.
1544 (s390_push_dummy_call): Use new frame base location.
1545 (s390_unwind_dummy_id): Likewise.
1546 (s390_gdbarch_init): Remove calls to:
1547 set_gdbarch_frameless_function_invocation,
1548 set_gdbarch_deprecated_init_frame_pc,
1549 set_gdbarch_deprecated_frame_chain,
1550 set_gdbarch_deprecated_frame_init_saved_regs,
1551 set_gdbarch_deprecated_pop_frame,
1552 set_gdbarch_deprecated_init_extra_frame_info,
1553 set_gdbarch_deprecated_init_frame_pc_first,
1554 set_gdbarch_deprecated_target_read_fp,
1555 set_gdbarch_deprecated_frame_saved_pc,
1556 set_gdbarch_deprecated_saved_pc_after_call,
1557 set_gdbarch_deprecated_fp_regnum.
1558 Add calls to:
1559 set_gdbarch_in_solib_call_trampoline,
1560 frame_unwind_append_sniffer,
1561 frame_base_set_default,
1562 set_gdbarch_unwind_pc,
1563 set_gdbarch_unwind_sp.
1564 * Makefile.in (s390-tdep.o): Update dependencies.
1565
1566 * s390-tdep.c (struct gdbarch_tdep): Add 'abi' member.
1567 (S390_STACK_FRAME_OVERHEAD): Remove.
1568 (S390_STACK_PARAMETER_ALIGNMENT): Remove.
1569 (S390_NUM_FP_PARAMETER_REGISTERS): Remove.
1570 (s390_promote_integer_argument): Remove.
1571 (s390_cannot_extract_struct_value_address): Remove.
1572 (s390_use_struct_convention, s390_store_struct_return): Remove.
1573 (s390_extract_return_value, s390_store_return_value): Remove.
1574 (s390_return_value_convention, s390_return_value): New functions.
1575 (is_float_singleton): Handle typedefs.
1576 (is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref):
1577 Remove, replace by ...
1578 (s390_function_arg_pass_by_reference, s390_function_arg_float,
1579 s390_function_arg_integer): ... these new functions.
1580 (s390_push_arguments, s390_push_return_address): Remove, replace by ...
1581 (s390_push_dummy_call, s390_unwind_dummy_id): ... these new functions.
1582 (s390_gdbarch_init): Remove s390_call_dummy_words and elf_flags.
1583 Fill in tdep->abi.
1584 Remove calls to:
1585 set_gdbarch_deprecated_store_struct_return,
1586 set_gdbarch_deprecated_extract_return_value,
1587 set_gdbarch_deprecated_store_return_value,
1588 set_gdbarch_use_struct_convention,
1589 set_gdbarch_extract_struct_value_address,
1590 set_gdbarch_deprecated_pc_in_call_dummy,
1591 set_gdbarch_deprecated_push_arguments,
1592 set_gdbarch_deprecated_save_dummy_frame_tos,
1593 set_gdbarch_deprecated_push_return_address,
1594 set_gdbarch_deprecated_sizeof_call_dummy_words,
1595 set_gdbarch_deprecated_call_dummy_words,
1596 set_gdbarch_deprecated_dummy_write_sp.
1597 Add calls to:
1598 set_gdbarch_push_dummy_call,
1599 set_gdbarch_unwind_dummy_id,
1600 set_gdbarch_return_value.
1601
1602 * config/s390/nm-linux.h: Update comments.
1603 (target_insert_watchpoint, target_remove_watchpoint): Redefine.
1604 (STOPPED_BY_WATCHPOINT): Redefine.
1605 (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Redefine to 1.
1606 (s390_insert_watchpoint, s390_remove_watchpoint): Update prototype.
1607 (s390_stopped_by_watchpoint): Likewise.
1608 (watch_area_cnt): Remove.
1609 * s390-nat.c: Update comments.
1610 (watch_area): Remove typedef.
1611 Global replace watch_area by struct watch_area.
1612 (watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove.
1613 (s390_stopped_by_watchpoint): Remove pid argument,
1614 use s390_inferior_tid. Add short-cut for the no watchpoint case.
1615 (s390_fix_watch_points): Remove pid argument,
1616 use s390_inferior_tid. Recompute area spanned by watchpoints.
1617 (s390_insert_watchpoint, s390_remove_watchpoint): Remove pid
1618 argument. Reimplement.
1619
1620 * config/s390/nm-linux.h: Update comments. Do not include "solib.h".
1621 (KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove.
1622 (FETCH_INFERIOR_REGISTERS): Define.
1623 * config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and
1624 core-regset.o.
1625 * config/s390/s390x.mt: Remove.
1626 * config/s390/tm-s390.h: Remove.
1627 * config/s390/tm-linux.h: Do not include "s390/tm-s390.h".
1628 (TARGET_ELF64): Remove.
1629 (SKIP_TRAMPOLINE_CODE): Do not undefine.
1630 * configure.tgt [s390-*-*, s390x-*-*]: Merge into single
1631 s390*-*-* case; always set gdb_target to s390.
1632 * regformats/reg-s390.dat: Remove control registers.
1633 * regformats/reg-s390x.dat: Likewise.
1634 * s390-tdep.h: New file.
1635 * s390-nat.c: Do not include <asm/processor.h> or <value.h>.
1636 Include "inferior.h" and "s390-tdep.h".
1637 Remove private definition of offsetof.
1638 (s390_register_u_addr): Remove.
1639 (regmap_gregset, regmap_fpregset): Define.
1640 (supply_gregset, fill_gregset): Reimplement.
1641 (supply_fpregset, fill_fpregset): Likewise.
1642 (s390_inferior_tid): New function.
1643 (fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise.
1644 (fetch_inferior_registers, store_inferior_registers): Likewise.
1645 * s390-tdep.c: Do not define S390_TDEP. Include "defs.h" instead
1646 of <defs.h>. Include "reggroups.h", "regset.h", and "s390-tdep.h".
1647 Global replace of S390_GP0_REGNUM by S390_R0_REGNUM.
1648 Global replace of S390_FP0_REGNUM by S390_F0_REGNUM.
1649 (struct gdbarch_tdep): Define.
1650 (struct s390_register_info): Define.
1651 (s390_register_info): New variable.
1652 (s390_register_name): Reimplement.
1653 (s390_register_type): New function.
1654 (s390_register_raw_size, s390x_register_raw_size): Remove.
1655 (s390_cannot_fetch_register): Remove.
1656 (s390_register_byte): Remove.
1657 (s390_register_virtual_type, s390x_register_virtual_type): Remove.
1658 (s390_dwarf_regmap): New variable.
1659 (s390_dwarf_reg_to_regnum): New function.
1660 (s390_stab_reg_to_regnum): Remove.
1661 (s390_pseudo_register_read, s390_pseudo_register_write): New functions.
1662 (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
1663 (s390_convert_register_p): Likewise.
1664 (s390_register_to_value, s390_value_to_register): Likewise.
1665 (s390_register_reggroup_p): Likewise.
1666 (s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset,
1667 s390_gregset, s390x_gregset, s390_fpregset): New variables.
1668 (s390_supply_regset, s390_regset_from_core_section): New functions.
1669 (GDB_TARGET_IS_ESAME): Move here from tm-s390.h.
1670 (S390_FPR_SIZE): Likewise.
1671 (S390_GPR_SIZE): Likewise. Redefine in terms of GDB_TARGET_IS_ESAME.
1672 Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE.
1673 (S390_NUM_GPRS): Move here from tm-s390.h.
1674 (S390_NUM_FPRS): Likewise.
1675 (s390_in_function_epilogue_p): New function.
1676 (s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE.
1677 Replace S390_PC_REGNUM by S390_PSWA_REGNUM.
1678 (s390_gdbarch_init): Allocate and set up gdbarch_tdep structure.
1679 Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum.
1680 Replace S390_FP_REGNUM by S390_SP_REGNUM.
1681 Remove calls to:
1682 set_gdbarch_deprecated_max_register_raw_size,
1683 set_gdbarch_deprecated_max_register_virtual_size,
1684 set_gdbarch_deprecated_register_byte,
1685 set_gdbarch_cannot_fetch_register,
1686 set_gdbarch_cannot_store_register,
1687 set_gdbarch_deprecated_register_size,
1688 set_gdbarch_deprecated_register_raw_size,
1689 set_gdbarch_deprecated_register_virtual_size,
1690 set_gdbarch_deprecated_register_virtual_type,
1691 set_gdbarch_deprecated_register_bytes.
1692 Add calls to:
1693 set_gdbarch_num_pseudo_regs,
1694 set_gdbarch_register_type,
1695 set_gdbarch_convert_register_p,
1696 set_gdbarch_register_to_value,
1697 set_gdbarch_value_to_register,
1698 set_gdbarch_register_reggroup_p,
1699 set_gdbarch_regset_from_core_section,
1700 set_gdbarch_pseudo_register_read,
1701 set_gdbarch_pseudo_register_write,
1702 set_gdbarch_in_function_epilogue_p.
1703 * Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies.
1704 (s390_tdep_h): New variable.
1705
1706 2004-02-17 Jim Blandy <jimb@redhat.com>
1707
1708 * findvar.c (value_from_register): If the type has no length, just
1709 return an acceptable value --- don't report an internal error.
1710
1711 * stabsread.c (read_type): If we find any type numbers that are
1712 forward references, complain if the references aren't resolved by
1713 the time we're finished reading.
1714 (cleanup_undefined_types): Make error message more appropriate for
1715 a complaint.
1716
1717 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
1718
1719 * Makefile.in (defs_h): Remove dependency on progress_h.
1720 * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of
1721 progress.h.
1722 * main.c (captured_main): Delete use of START_PROGRESS and
1723 END_PROGRESS.
1724
1725 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
1726
1727 * objfiles.c (terminate_minimal_symbol_table): Add back
1728 initialization of MSYMBOL_TYPE.
1729
1730 2004-02-17 David Mosberger <davidm@hpl.hp.com>
1731
1732 Committed by Andrew Cagney.
1733 * Makefile.in (ia64_tdep_h): New macro.
1734 (ia64-linux-tdep.o): Mention $(ia64_tdep_h).
1735 (ia64-tdep.o): Likewise.
1736 * ia64-tdep.h: New file.
1737 * ia64-tdep.c: Update copyright notice. Include "ia64-tdep.h".
1738 (ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h.
1739 (ia64_aix_sigcontext_register_address): Likewise.
1740 (ia64_linux_getunwind_table): Delete declaration.
1741 * ia64-linux-tdep.c: Likewise.
1742
1743 2004-02-17 Corinna Vinschen <vinschen@redhat.com>
1744
1745 * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM.
1746 * sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to
1747 DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM.
1748
1749 2004-02-17 Andrew Cagney <cagney@redhat.com>
1750
1751 * symtab.c (skip_prologue_using_sal): New function.
1752 * symtab.h (skip_prologue_using_sal): Declare.
1753 * frv-tdep.c: Include "symtab.h".
1754 (skip_prologue_using_sal): Delete function.
1755 * mips-tdep.c (skip_prologue_using_sal): Delete function.
1756 * rs6000-tdep.c (refine_prologue_limit): Mention
1757 skip_prologue_using_sal.
1758 * ia64-tdep.c (refine_prologue_limit): Ditto.
1759 * Makefile.in: Update dependencies.
1760
1761 2004-02-16 Andrew Cagney <cagney@redhat.com>
1762
1763 * config/alpha/tm-nbsd.h: Update copyright, delete #undef
1764 START_INFERIOR_TRAPS_EXPECTED.
1765 * config/alpha/tm-fbsd.h: Update copyright, delete #undef
1766 START_INFERIOR_TRAPS_EXPECTED.
1767 * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED):
1768 Delete macro.
1769 * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete
1770 macro, moved to "nm-osf.h". Update copyright.
1771 * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define,
1772 update copyright.
1773
1774 * gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate
1775 and function replacing FRAMELESS_FUNCTION_INVOCATION.
1776 * blockframe.c (legacy_frameless_look_for_prologue): Rename
1777 frameless_look_for_prologue.
1778 * frame.h (legacy_frameless_look_for_prologue): Rename
1779 frameless_look_for_prologue.
1780 * gdbarch.h, gdbarch.c: Re-generate.
1781 * sh64-tdep.c (sh64_gdbarch_init): Update.
1782 * sh-tdep.c (sh_gdbarch_init): Update.
1783 * s390-tdep.c (s390_gdbarch_init): Update.
1784 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1785 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1786 * m68k-tdep.c (m68k_gdbarch_init): Update.
1787 (delta68_frame_args_address): Update.
1788 * m32r-tdep.c (m32r_gdbarch_init): Update.
1789 * hppa-tdep.c (hppa_gdbarch_init): Update.
1790 * h8300-tdep.c (h8300_gdbarch_init): Update.
1791 * frv-tdep.c (frv_gdbarch_init): Update.
1792 (frv_frameless_function_invocation): Update.
1793 * cris-tdep.c (cris_gdbarch_init): Update.
1794 (cris_frameless_function_invocation): Update.
1795 * avr-tdep.c (avr_gdbarch_init): Update.
1796 * arm-tdep.c (arm_gdbarch_init): Update.
1797 * stack.c (frame_info): Update, call predicate.
1798 * rs6000-tdep.c (rs6000_frame_chain): Update, call predicate..
1799 * frame.c (legacy_get_prev_frame): Update, call predicate..
1800 * arch-utils.c (generic_frameless_function_invocation_not): Delete.
1801 * arch-utils.h (generic_frameless_function_invocation_not): Delete.
1802 * alpha-tdep.c (alpha_gdbarch_init): Do not set frameless function
1803 invocation.
1804 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1805 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1806 * vax-tdep.c (vax_gdbarch_init): Ditto.
1807
1808 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused
1809 function.
1810
1811 2004-02-16 Daniel Jacobowitz <drow@mvista.com>
1812
1813 * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
1814 initializations.
1815
1816 2004-02-16 Andrew Cagney <cagney@redhat.com>
1817
1818 * tui/tui-windata.c: Include "gdb_string.h".
1819 * tui/tui-source.c, tui/tui-winsource.c: Ditto.
1820 * tui/tui-layout.c, tui/tui-command.c: Ditto.
1821 * Makefile.in: Update dependencies.
1822
1823 2004-02-16 Daniel Jacobowitz <drow@mvista.com>
1824
1825 * Makefile.in (infrun.o): Add $(gdb_assert_h).
1826 * infrun.c: Include "gdb_assert.h".
1827 (singlestep_ptid, saved_singlestep_ptid)
1828 (stepping_past_singlestep_breakpoint): New variables.
1829 (resume): Set singlestep_ptid. Check for singlestep thread
1830 hop.
1831 (init_wait_for_inferior): Clear stepping_past_singlestep_breakpoint.
1832 (handle_inferior_event): Handle singlestep thread hop.
1833
1834 2004-02-16 Andrew Cagney <cagney@redhat.com>
1835
1836 * dwarf2-frame.c (dwarf2_frame_ops): New function.
1837 (dwarf2_frame_set_init_reg): Use, instead of gdbarch_data.
1838 (dwarf2_frame_init_reg): Ditto.
1839
1840 * printcmd.c (display_command): Check that EXP isn't NULL. Fix
1841 suggested by Joshua Neuheisel
1842
1843 * configure.in: Always check for curses, including pdcurses.
1844 Warn, instead of error, when no curses are found. Enable TUI when
1845 curses is available.
1846 * configure: Re-generate.
1847
1848 2004-02-16 Corinna Vinschen <vinschen@redhat.com>
1849
1850 * sh-tdep.c (sh_register_convert_to_virtual): Rename from
1851 sh_sh4_register_convert_to_virtual.
1852 (sh_register_convert_to_raw): Rename from
1853 sh_sh4_register_convert_to_raw.
1854 (sh_pseudo_register_read): Accomodate above name change.
1855 (sh_pseudo_register_write): Ditto.
1856
1857 2004-02-16 Corinna Vinschen <vinschen@redhat.com>
1858
1859 * sh-tdep.c (sh_generic_register_name): Remove.
1860 (sh_gdbarch_init): Use sh_sh_register_name in default case.
1861
1862 2004-02-15 Andrew Cagney <cagney@redhat.com>
1863
1864 * configure.in (build_warnings): Add -Wunused-function.
1865 * configure: Re-generate.
1866
1867 * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro.
1868 * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto.
1869
1870 * procfs.c (procfs_init_inferior): Assume that
1871 START_INFERIOR_TRAPS_EXPECTED is defined.
1872 * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h.
1873 * config/ns32k/tm-nbsd.h: Delete file,
1874 START_INFERIOR_TRAPS_EXPECTED already defined as 2.
1875
1876 * config/vax/tm-vaxbsd.h: Do not include "tm-vax.h".
1877 * config/vax/tm-vax.h: Delete file.
1878
1879 * config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
1880 * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
1881 * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro.
1882 * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
1883 * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference.
1884 * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
1885 * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference.
1886
1887 2004-02-15 Mark Kettenis <kettenis@gnu.org>
1888
1889 * dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype.
1890 * dwarf2-frame.c (dwarf2_frame_data): New variable.
1891 (struct dwarf2_frame_ops): New.
1892 (dwarf2_frame_default_init_reg): New function, based on
1893 dwarf2_frame_init_reg.
1894 (dwarf2_frame_init, dwarf2_frame_set_init_reg): New function.
1895 (dwarf2_frame_init_reg): Call architecture-specific function.
1896 (dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data.
1897 (dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data
1898 instead of dwarf2_frame_data.
1899 (_initialize_dwarf2_frame): Initailize new dwarf2_frame_data.
1900 Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data.
1901
1902 2004-02-15 Andrew Cagney <cagney@redhat.com>
1903
1904 * gdbarch.sh (deprecated_register_gdbarch_swap): Rename
1905 register_gdbarch_swap.
1906 (DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP.
1907 * f-lang.c (_initialize_f_language): Update, use
1908 DEPRECATED_REGISTER_GDBARCH_SWAP.
1909 * remote.c (_initialize_remote): Ditto.
1910 * regcache.c (_initialize_regcache): Ditto.
1911 * parse.c (_initialize_parse): Ditto.
1912 * infrun.c (_initialize_infrun): Ditto.
1913 * mi/mi-main.c (_initialize_mi_main): Ditto.
1914 * gdbtypes.c (_initialize_gdbtypes): Ditto.
1915
1916 * solib.c (solib_map_sections): Use bfd_set_cacheable instead of
1917 poking .cacheable directly.
1918 * symfile.c (symfile_bfd_open): Ditto.
1919
1920 * Makefile.in: Update all dependencies.
1921
1922 * Makefile.in: (.SUFFIXES): Add ".l" and ".y".
1923 (.y.c, .l.c): Specify implicit rule. Instead of .tab.c, generate
1924 .c. Update references. Delete unnecessary .tab.c and -lex.c rules.
1925 (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule.
1926 (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar.
1927
1928 2004-02-14 Andrew Cagney <cagney@redhat.com>
1929
1930 * arch-utils.c (legacy_convert_register_p): Check
1931 DEPRECATED_REGISTER_CONVERTIBLE_P.
1932 * findvar.c (value_of_register): Ditto.
1933
1934 * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate.
1935 * gdbarch.h, gdbarch.c: Re-generate.
1936 * arch-utils.c (deprecated_register_convertible_not): Delete.
1937 * arch-utils.h (deprecated_register_convertible_not): Delete.
1938 * mi/mi-main.c (get_register): Update. Update copyright.
1939 * infcmd.c (default_print_registers_info): Update.
1940
1941 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
1942 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete.
1943 (DEPRECATED_CALL_DUMMY_ADDRESS): Delete.
1944 * gdbarch.h, gdbarch.c: Re-generate.
1945 * frame.c (deprecated_get_next_frame_hack): Delete function.
1946 * frame.h (deprecated_get_next_frame_hack): Delete declaration.
1947 * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
1948 Update.
1949 * infcall.c (call_function_by_hand): Update.
1950
1951 2004-02-14 Elena Zannoni <ezannoni@redhat.com>
1952
1953 * symfile.c (init_entry_point_info, entry_point_address): Move
1954 from here...
1955 * objfiles.c (init_entry_point_info, entry_point_address):..to
1956 here.
1957 * symfile.h (init_entry_point_info, entry_point_address): Remove
1958 prototypes.
1959 * objfiles.h (init_entry_point_info, entry_point_address):Add
1960 prototypes.
1961 * cris-tdep.c: Remove include of symfile.h. Add include of
1962 objfiles.h.
1963 * infcall.c: Ditto.
1964 * mcore-tdep.c: Ditto.
1965 * mn10300-tdep.c: Ditto.
1966 * sh64-tdep.c: Ditto.
1967 * v850-tdep.c: Ditto.
1968 * arm-tdep.c: Remove include of symfile.h.
1969 * blockframe.c: Ditto.
1970 * coffread.c: Ditto.
1971 * dbxread.c: Ditto.
1972 * dwarf2read.c: Ditto.
1973 * dwarfread.c: Ditto.
1974 * frv-tdep.c: Ditto.
1975 * ia64-tdep.c: Ditto.
1976 * mdebugread.c: Ditto.
1977 * mipsread.c: Ditto.
1978 * rs6000-tdep.c: Ditto.
1979 * s390-tdep.c: Ditto.
1980 * sh-tdep.c: Ditto.
1981 * xstormy16-tdep.c: Ditto.
1982 * gdbarch.sh: Remove include of symfile.h.
1983 * gdbarch.c: Regenerate.
1984 * solib-irix.c (enable_break): Use entry_point_address().
1985 Add comment about include file.
1986 * xcoffread.c: Add comment about include file.
1987 * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o)
1988 (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o)
1989 (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o)
1990 (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o)
1991 (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies.
1992
1993 2004-02-13 Andrew Cagney <cagney@redhat.com>
1994
1995 * corelow.c (core_xfer_partial): Use "struct bfd_section".
1996 * config/sparc/nm-nbsd.h (struct target_ops): Declare, update
1997 copyright.
1998 * mips-linux-tdep.c: Use "GNU/Linux", update copyright.
1999
2000 2004-02-12 Fred Fish <fnf@redhat.com>
2001
2002 * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to
2003 set_gdbarch_store_return_value.
2004
2005 2004-02-12 Andrew Cagney <cagney@redhat.com>
2006
2007 * remote-rdi.c (arm_rdi_start_remote): Delete unused function.
2008 (arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto.
2009 (interrupt_query): Ditto.
2010 (ofunc): Delete unused variable.
2011 * cris-tdep.c (cris_abi): Delete unused function.
2012 (reg_pop_op, move_reg_to_mem_index_inc_op): Ditto.
2013 (cris_get_wide_opcode, cris_get_short_size): Ditto.
2014 (cris_get_asr_quick_shift_steps): Ditto.
2015 (cris_skip_prologue_frameless_p): Ditto.
2016 * arm-tdep.c (arm_push_return_address): Delete unused function.
2017 (arm_push_dummy_frame, arm_fix_call_dummy): Ditto.
2018 * rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function.
2019 * s390-tdep.c (s390_function_start): Delete unused function.
2020
2021 2004-02-12 Andrew Cagney <cagney@redhat.com>
2022
2023 * gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete.
2024 gdbarch.h, gdbarch.c: Re-generate.
2025 * cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p
2026 to generic_prologue_frameless_p.
2027 * arch-utils.h (generic_prologue_frameless_p): Delete declaration.
2028 * arch-utils.c (generic_prologue_frameless_p): Delete function.
2029
2030 2004-02-11 Daniel Jacobowitz <drow@mvista.com>
2031
2032 * mips-linux-tdep.c: Include "frame.h".
2033 (mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code)
2034 (mips_linux_skip_resolver): New functions.
2035 (mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver
2036 and set_gdbarch_in_solib_call_trampoline.
2037 * mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call
2038 to after set_gdbarch_in_solib_return_trampoline. Only set the
2039 solib hooks to mips16 functions if the OS ABI is unknown.
2040 * config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after
2041 including "config/tm-linux.h".
2042 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Define.
2043 * Makefile.in (mips-linux-tdep.o): Update.
2044
2045 2004-02-11 David Carlton <carlton@kealia.com>
2046
2047 * linespec.c (decode_compound): Only look for a class symbol when
2048 considering all but the rightmost component.
2049
2050 2004-02-11 Andrew Cagney <cagney@redhat.com>
2051
2052 * hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and
2053 abi code are are separatly grouped.
2054
2055 2004-02-11 Andrew Cagney <cagney@redhat.com>
2056
2057 * gdbarch.sh (FRAME_ARGS_SKIP): Default to 0.
2058 * gdbarch.h, gdbarch.c: Re-generate.
2059 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2060 * v850-tdep.c (v850_gdbarch_init): Update.
2061 * sh64-tdep.c (sh64_gdbarch_init): Update.
2062 * sh-tdep.c (sh_gdbarch_init): Update.
2063 * s390-tdep.c (s390_gdbarch_init): Update.
2064 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2065 * mips-tdep.c (mips_gdbarch_init): Update.
2066 * mcore-tdep.c (mcore_gdbarch_init): Update.
2067 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2068 * m32r-tdep.c (m32r_gdbarch_init): Update.
2069 * ia64-tdep.c (ia64_gdbarch_init): Update.
2070 * hppa-tdep.c (hppa_gdbarch_init): Update.
2071 * h8300-tdep.c (h8300_gdbarch_init): Update.
2072 * frv-tdep.c (frv_gdbarch_init): Update.
2073 * d10v-tdep.c (d10v_gdbarch_init): Update.
2074 * cris-tdep.c (cris_gdbarch_init): Update.
2075 * avr-tdep.c (avr_gdbarch_init): Update.
2076 * arm-tdep.c (arm_gdbarch_init): Update.
2077 * alpha-tdep.c (alpha_gdbarch_init): Update.
2078
2079 2004-02-11 Corinna Vinschen <vinschen@redhat.com>
2080
2081 * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing
2082 comma.
2083 (sh_sh4al_dsp_register_name): Ditto.
2084
2085 2004-02-10 Andrew Cagney <cagney@redhat.com>
2086
2087 * mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code.
2088 (mips_init_frame_pc_first): Delete function.
2089 (mips_frame_saved_pc): Delete function.
2090 (mips_frame_chain): Delete function.
2091 (mips_init_extra_frame_info): Delete function.
2092 (mips_xfer_register): Delete unused variable "reg".
2093 (mips_n32n64_push_dummy_call): Delete unused variable "valbuf".
2094 (mips_n32n64_return_value): Delete unused variable "reg".
2095 (mips_n32n64_return_value): Delete unused variable "pos".
2096 (mips_o32_push_dummy_call): Delete unused variable "valbuf".
2097 (mips_o32_return_value): Delete unused variable "pos".
2098 (mips_o64_push_dummy_call): Delete unused variable "valbuf".
2099 (mips_print_fp_register): Delete unused variable "namelen"
2100 (mips_print_fp_register): Delete unused variable "flt2"
2101 (get_frame_pointer): Delete function.
2102 (cached_proc_desc): Delete static variable.
2103 (mips_pop_frame): Delete function.
2104 (mips_find_saved_regs): Delete function.
2105 (mips_get_saved_register): Delete function.
2106 (mips_saved_pc_after_call): Delete function.
2107 (SIGFRAME_BASE): Delete macro.
2108 (SIGFRAME_FPREGSAVE_OFF): Delete macro.
2109 (SIGFRAME_PC_OFF): Delete macro.
2110 (SIGFRAME_REGSAVE_OFF): Delete macro.
2111 (mips_dump_tdep): Do not print deleted macro definitions.
2112
2113 2004-02-10 Andrew Cagney <cagney@redhat.com>
2114
2115 * Makefile.in (SFILES): Remove explictly listed tui files.
2116 (SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c.
2117
2118 2004-02-10 Jeff Johnston <jjohnstn@redhat.com>
2119
2120 * ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement
2121 to use paddr functions to format ia64 addresses and long values.
2122 (ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto.
2123 (ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto.
2124 (get_kernel_table, ia64_find_proc_info_x): Ditto.
2125 (ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto.
2126 (ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto.
2127
2128 2004-02-10 Andrew Cagney <cagney@redhat.com>
2129
2130 * defs.h: Do not include "tui.h".
2131 * gdb_curses.h: New file.
2132 * tui/tui-hooks.h: New file.
2133 * tui/tui.h (tui_update_all_exec_infos): Delete declaration.
2134 (tui_install_hooks, tui_remove_hooks): Delete declarations.
2135 (tui_initialize_io): Delete declaration.
2136 (tui_initialize_readline: Delete redundant declaration.
2137 (struct tui_point): Delete definition.
2138 * tui/tui-data.h (struct tui_point): Define.
2139 * cli/cli-decode.c [TUI]: Include "tui/tui.h".
2140 * utils.c: Include "tui/tui.h".
2141 * tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h".
2142 * printcmd.c [TUI]: Include "tui/tui.h".
2143 * cli/cli-cmds.c [TUI]: Include "tui/tui.h".
2144 * tui/tui-command.c: Include "gdb_curses.h".
2145 * tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto.
2146 * tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto.
2147 * tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto.
2148 * tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto.
2149 * tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h".
2150 * Makefile.in: Update all dependencies.
2151 (tui_hooks_h, gdb_curses_h): Define.
2152 (SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui.
2153
2154 2004-02-10 Elena Zannoni <ezannoni@redhat.com>
2155
2156 * objfiles.h (struct objfile): Remove unused fields auxf1 and
2157 auxf2. Add comments about some other rarely used fields.
2158
2159 2004-02-10 Andrew Cagney <cagney@redhat.com>
2160
2161 * Makefile.in (init.c): Fix script removing duplicates. Problem
2162 reported by Peter Schauer.
2163
2164 2004-02-09 Elena Zannoni <ezannoni@redhat.com>
2165
2166 * bcache.c (bcache_xmalloc): Use obstack_init instead of
2167 obstack_specify_allocation.
2168 * objfiles.c (allocate_objfile): Ditto.
2169 * solib-sunos.c (solib_add_common_symbols)
2170 (allocate_rt_common_objfile): Ditto.
2171 * symfile.c (reread_symbols): Ditto.
2172 * gdb_obstack.h: Add comment.
2173
2174 2004-02-09 Elena Zannoni <ezannoni@redhat.com>
2175
2176 * linespec.c (decode_line_1, locate_first_half)
2177 (decode_compound, lookup_prefix_sym): Update comments. Delete old
2178 commented out code.
2179
2180 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
2181
2182 * cp-namespace.c (check_one_possible_namespace_symbol): Don't use
2183 obstack_free.
2184
2185 2004-02-09 Andrew Cagney <cagney@redhat.com>
2186
2187 * blockframe.c (find_pc_partial_function): If find_pc_overlay
2188 fails, try find_pc_section. Fix PR c++/1267.
2189 * minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section
2190 instead of find_pc_mapped_section.
2191 (lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do
2192 not default to the section containing PC. Fix PR symtab/1519.
2193
2194 2004-02-09 Andrew Cagney <cagney@redhat.com>
2195
2196 * Makefile.in (mips-tdep.o): Update dependencies.
2197 * mips-tdep.c: Include "frame-unwind.h", "frame-base.h" and
2198 "trad-frame.h".
2199 (mips_unwind_pc): Return the pseudo PC register.
2200 (mips_unwind_dummy_id): New function.
2201 (mips16_fetch_instruction): New function.
2202 (mips32_fetch_instruction): New function.
2203 (struct mips_frame_cache): Define.
2204 (mips_mdebug_frame_cache): New function.
2205 (mips_mdebug_frame_this_id): New function.
2206 (mips_mdebug_frame_prev_register): New function.
2207 (mips_mdebug_frame_unwind): Define.
2208 (mips_mdebug_frame_sniffer): New function.
2209 (mips_mdebug_frame_base_address): New function.
2210 (mips_mdebug_frame_base): Define.
2211 (mips_mdebug_frame_base_sniffer): New function.
2212 (mips_gdbarch_init): Append unwind and base sniffers. Set
2213 unwind_dummy_id.
2214
2215 2004-02-08 Andrew Cagney <cagney@redhat.com>
2216
2217 * frame.c: Print both the register number and name.
2218
2219 * Makefile.in (init.c): Eliminate duplicates. Combine two greps
2220 and a sed into a single sed. Make .c and .o patterns more robust.
2221 (OBS): Delete.
2222 (INIT_FILES): Replace OBS with COMMON_OBS.
2223 (COMMON_OBS): Move DEPFILES and YYOBJ to start of definition.
2224
2225 2004-02-08 Mark Kettenis <kettenis@gnu.org>
2226
2227 * sparc-nat.c (sparc_xfer_wcookie): Try to fetch the cookie using
2228 the PT_WCOOKIE request.
2229
2230 2004-02-08 Andrew Cagney <cagney@redhat.com>
2231
2232 * mips-tdep.c (mips_unwind_pc): New function.
2233 (mips_gdbarch_init): Set mips_unwind_pc.
2234
2235 * frame.c (legacy_saved_regs_this_id): Return a null frame ID.
2236 (get_frame_id): Allow the UNKNOWN_FRAME.
2237 (frame_register_unwind, get_frame_type): Ditto.
2238
2239 * frame.c (legacy_frame_p): Check for DEPRECATED_TARGET_READ_FP_P
2240 and DEPRECATED_FP_REGNUM. Don't assume that the lack of
2241 unwind_dummy_id indicates a legacy frame.
2242
2243 * configure.in (CONFIG_LIB_OBS): Replace with CONFIG_OBS.
2244 * configure: Re-generate.
2245
2246 * mips-tdep.c (mips_gdbarch_init): Group deprecated frame unwind
2247 methods.
2248
2249 2004-02-08 Andrew Cagney <cagney@redhat.com>
2250
2251 * configure.in (CONFIG_ALL): Set to Makefile target, and not
2252 makefile macro.
2253 * configure: Re-generate.
2254 (CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Ditto.
2255 * Makefile.in (SUBDIR_CLI_CLEAN): Delete.
2256 (SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): Delete.
2257 (SUBDIR_CLI_ALL, SUBDIR_GDBTK_ALL): Delete.
2258 (SUBDIR_GDBTK_CLEAN, SUBDIR_GDBTK_INSTALL): Delete.
2259 (SUBDIR_GDBTK_UNINSTALL, SUBDIR_MI_ALL): Delete.
2260 (SUBDIR_MI_CLEAN, SUBDIR_MI_INSTALL): Delete.
2261 (SUBDIR_MI_UNINSTALL, SUBDIR_TUI_ALL): Delete.
2262 (SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL): Delete.
2263 (SUBDIR_TUI_UNINSTALL, SUBDIR_CLI_CLEAN): Delete.
2264
2265 2004-02-07 Andrew Cagney <cagney@redhat.com>
2266
2267 * Makefile.in: Update all dependencies.
2268
2269 * configure.in (CONFIG_INITS, CONFIG_LIB_OBS): Delete.
2270 * configure: Re-generate.
2271 * Makefile.in (INIT_FILES): Replace CONFIG_INITS with CONFIG_SRCS.
2272 (CONFIG_LIB_OBS, CONFIG_INITS): Delete.
2273 (COMMON_OBS): Add "main.o" and "annotate.o".
2274 (ANNOTATE_OBS): Delete.
2275 (OBS): Remove ANNOTATE_OBS.
2276 (DEPFILES): Replace CONFIG_LIB_OBS with CONFIG_LIB_OBS, remove
2277 CONFIG_INITS.
2278 (gdb$(EXEEXT), insight$(EXEEXT)): Do not depend on, or link
2279 against CONFIG_OBS and "main.o".
2280 (SUBDIR_CLI_INITS, SUBDIR_MI_INITS): Delete.
2281 (SUBDIR_TUI_INITS, SUBDIR_GDBTK_INITS): Delete.
2282
2283 * tui/tui-command.c: Include "gdb_string.h", delete register
2284 attribute, use ISO-C function signatures.
2285 * tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto.
2286 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
2287 * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto.
2288 * tui/tui.c: Ditto.
2289
2290 * tui/tui-command.c: Change variable and function names to lower
2291 case.
2292 * tui/tui-data.c, tui/tui-disasm.c: Ditto.
2293 * tui/tui-hooks.c, tui/tui-io.c, tui/tui-layout.c: Ditto.
2294 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
2295 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
2296 * tui/tui-winsource.c, tui/tui.c: Ditto.
2297
2298 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
2299
2300 * buildsym.c (free_pending_blocks, finish_block)
2301 (record_pending_block, make_blockvector, end_symtab): Replace
2302 symbol_obstack with objfile_obstack.
2303 * coffread.c (process_coff_symbol, coff_read_struct_type)
2304 (coff_read_enum_type): Ditto.
2305 * cp-namespace.c (initialize_namespace_symtab)
2306 (check_one_possible_namespace_symbol): Ditto.
2307 * dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file)
2308 (dwarf2_symbol_mark_computed): Ditto.
2309 * dwarfread.c (enum_type, new_symbol, synthesize_typedef): Ditto.
2310 * elfread.c (elf_symtab_read): Ditto.
2311 * hpread.c (hpread_symfile_init, hpread_symfile_init)
2312 (hpread_read_enum_type, hpread_read_function_type)
2313 (hpread_read_doc_function_type, hpread_process_one_debug_symbol):
2314 Ditto.
2315 * jv-lang.c (get_java_class_symtab, add_class_symbol)
2316 (java_link_class_type): Ditto.
2317 * mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab)
2318 (new_symbol): Ditto.
2319 * minsyms.c (install_minimal_symbols): Ditto.
2320 * objfiles.c (allocate_objfile): Remove init of symbol_obstack.
2321 (terminate_minimal_symbol_table): Replace symbol_obstack with
2322 objfile_obstack.
2323 (free_objfile): Remove freeing of symbol_obstack.
2324 * objfiles.h: Remove symbol_obstack field.
2325 * pa64solib.c (add_to_solist): Replace symbol_obstack with
2326 objfile_obstack.
2327 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
2328 symbol_obstack.
2329 (solib_add_common_symbols): Replace symbol_obstack with
2330 objfile_obstack.
2331 * somsolib.c (som_solib_add): Ditto.
2332 * stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
2333 (common_block_start, common_block_end): Ditto.
2334 * symfile.c (reread_symbols): Remove freeing and init of
2335 symbol_obstack.
2336 (allocate_symtab): Rename symbol_obstack to objfile_obstack.
2337 * symfile.h: Update comment.
2338 * symmisc.c (print_objfile_statistics): Remove symbol_obstack
2339 stats printing.
2340 * symtab.c (symbol_set_names): Replace symbol_obstack with
2341 objfile_obstack.
2342 * symtab.h (struct general_symbol_info, struct minimal_symbol):
2343 Update comments.
2344 * xcoffread.c (read_xcoff_symtab, SYMBOL_DUP, SYMNAME_ALLOC)
2345 (init_stringtab, xcoff_initial_scan): Replace symbol_obstack with
2346 objfile_obstack.
2347
2348 2004-02-07 Andrew Cagney <cagney@redhat.com>
2349
2350 * tui/tui.h: Do not include <stdarg.h>, <string.h>, and
2351 "ansidecl.h". Do not undef "reg" and "chtype". Fix case of
2352 fields and variables.
2353 * tui/tui-wingeneral.h (m_beVisible): Delete macro.
2354 (m_beInvisible): Delete macro.
2355 * tui/tui-data.h: Fix case case fields and variables.
2356 (m_genWinPtrIsNull): Delete macro.
2357 (tui_win_list): Rename winList.
2358 (TUI_SRC_WIN): Rename srcWin.
2359 (TUI_DISASM_WIN): Rename disassemWin.
2360 (TUI_DATA_WIN): Rename dataWin.
2361 (TUI_CMD_WIN): Rename cmdWin.
2362 (m_genWinPtrNotNull): Delete macro.
2363 (m_winPtrIsNull): Delete macro.
2364 (m_winPtrNotNull): Delete macro.
2365 (tui_win_is_source_type): Replace m_winIsSourceType
2366 (tui_win_is_auxillary): Replace m_winIsAuzillary.
2367 (tui_win_has_locator): Replace m_hasLocator.
2368 (tui_set_win_highlight): Replace m_setWinHighlightOn and
2369 m_setWinHighlightOff.
2370 * tui/tui-data.c: Update references.
2371 (tui_win_is_source_type, tui_set_win_highlight): New functions.
2372 (tui_win_has_locator, tui_win_is_auxillary): New functions.
2373 * tui/tui-command.c, tui/tui-disasm.c: Update references.
2374 * tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto.
2375 * tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto.
2376 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
2377 * tui/tui-winsource.c, tui/tui.c: Ditto.
2378
2379 2004-02-07 Mark Kettenis <kettenis@gnu.org>
2380
2381 * sparc-tdep.h (sparc_fetch_wcookie): New prototype.
2382 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Handle
2383 StackGhost.
2384
2385 * sparc-tdep.c (sparc32_frame_prev_register): Rename local
2386 variable `i6' to `i7'.
2387 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
2388
2389 2004-02-07 Andrew Cagney <cagney@redhat.com>
2390
2391 * tui/tui.h (Opaque, OpaquePtr OpaqueList): Delete definition.
2392 (TuiPoint, TuiPointPtr): Ditto.
2393 (TuiStatus, TuiStatusPtr): Ditto.
2394 (TuiWinType, TuiWinTypePtr): Ditto.
2395 (struct tui_point): Rename _TuiPoint.
2396 (tui_get_low_disassembly_address): Rename
2397 tuiGetLowDisassemblyAddress.
2398 (tui_update_all_exec_infos): Rename tuiUpdateAllExecInfos.
2399 (tuiFree): Delete declaration.
2400 (OpaqueFuncPtr, TuiOpaqueFuncPtr): Delete definitions.
2401 (TuiVoidFuncPtr, TuiIntFuncPtr): Delete definitions.
2402 * tui/tui.c (tuiFree): Delete function.
2403 * cli/cli-cmds.c (disassemble_command): Update references.
2404 * tui/tui-data.c, tui/tui-data.h, tui/tui-disasm.c: Ditto.
2405 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
2406 * tui/tui-stack.c, tui/tui-win.c, tui/tui-wingeneral.c: Ditto.
2407 * tui/tui-winsource.c: Ditto.
2408
2409 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
2410
2411 * dbxread.c (dbx_symfile_init, start_psymtab, end_psymtab,
2412 coffstab_build_psymtabs, elfstab_build_psymtabs)
2413 (stabsect_build_psymtabs): Replace psymbol_obstack with
2414 objfile_obstack.
2415 * dwarf2-frame.c (decode_frame_entry_1): Ditto.
2416 * dwarf2read.c (dwarf2_build_psymtabs_hard, dwarf2_read_section):
2417 Ditto.
2418 * dwarfread.c (scan_compilation_units): Ditto.
2419 * elfread.c (elfstab_offset_sections): Ditto.
2420 * hppa-tdep.c (read_unwind_info): Ditto.
2421 * hpread.c (hpread_build_psymtabs, hpread_start_psymtab)
2422 (hpread_end_psymtab): Ditto.
2423 * mdebugread.c (mdebug_build_psymtabs, add_pending)
2424 (parse_partial_symbols, new_psymtab, elfmdebug_build_psymtabs):
2425 Ditto.
2426 * mips-tdep.c (non_heuristic_proc_desc): Ditto.
2427 * objfiles.c (add_to_objfile_sections)
2428 (build_objfile_section_table): Ditto.
2429 (allocate_objfile): Remove init of psymbol_obstack.
2430 (free_objfile): Remove freeing of psymbol_obstack.
2431 * objfiles.h (struct objfile): Remove field
2432 psymbol_obstack. Update comments.
2433 * pa64solib.c (pa64_solib_add_solib_objfile): Replace
2434 psymbol_obstack with objfile_obstack.
2435 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
2436 psymbol_obstack.
2437 * somread.c (som_symfile_offsets, init_import_symbols)
2438 (init_export_symbols): Replace psymbol_obstack with
2439 objfile_obstack.
2440 * somsolib.c (som_solib_add_solib_objfile): Ditto.
2441 * symfile.c (default_symfile_offsets, syms_from_objfile)
2442 (reread_symbols): Remove freeing and init of psymbol_obstack.
2443 (cashier_psymtab): Update comment.
2444 * symmisc.c (print_objfile_statistics): Don't report stats for
2445 psymbol obstack.
2446 * symtab.h (struct general_symbol_info, struct partial_symtab):
2447 Update comments.
2448 * xcoffread.c (xcoff_start_psymtab, xcoff_end_psymtab, swap_sym)
2449 (xcoff_symfile_offsets): Replace psymbol_obstack with
2450 objfile_obstack.
2451
2452 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
2453
2454 * objfiles.h (struct objfile): Add objfile_obstack field.
2455 Remove type_obstack field.
2456
2457 * dwarf2read.c (dwarf2_add_field,dwarf2_add_member_fn,
2458 read_structure_scope read_enumeration, new_symbol): Replace
2459 type_obstack with objfile_obstack.
2460 * dwarfread.c (struct_type, enum_type): Ditto.
2461 * gdbtypes.c (alloc_type, alloc_type_instance, init_type)
2462 (lookup_fundamental_type): Ditto.
2463 * gdbtypes.h (TYPE_ALLOC): Ditto.
2464 * hpread.c (hpread_read_enum_type, hpread_read_function_type)
2465 (hpread_read_doc_function_type, hpread_read_struct_type)
2466 (fix_static_member_physnames, hpread_read_array_type)
2467 (hpread_read_subrange_type, hpread_type_lookup): Ditto.
2468 * jv-lang.c (java_lookup_class, type_from_class, type_from_class)
2469 (java_link_class_type): Ditto.
2470 * mdebugread.c (parse_type): Ditto.
2471 * objfiles.c (allocate_objfile, free_objfile): Ditto.
2472 * solib-sunos.c (solib_add_common_symbols): Ditto.
2473 * stabsread.c (define_symbol, read_type, read_member_functions,
2474 read_cpp_abbrev, read_one_struct_field): Ditto.
2475 * symfile.c (reread_symbols): Ditto.
2476 * symmisc.c (print_objfile_statistics): Ditto.
2477
2478 2004-02-07 Andrew Cagney <cagney@redhat.com>
2479
2480 * tui/tui-data.h (tui_win_element): Rename TuiWinElement.
2481 (tui_exec_info_content): Rename TuiExecInfoContent.
2482 (TuiGenWinInfo, TuiGenWinInfoPtr): Delete definitions.
2483 (TuiWinInfo, TuiWinInfoPtr): Ditto.
2484 (TuiScrollDirection, TuiScrollDirectionPtr): Ditto.
2485 (TuiList, TuiListPtr): Ditto.
2486 (TuiLayoutType, TuiLayoutTypePtr): Ditto.
2487 (TuiDataType, TuiDataTypePtr): Ditto.
2488 (TuiRegisterDisplayType, TuiRegisterDisplayTypePtr): Ditto.
2489 (TuiLineOrAddress, TuiLineOrAddressPtr): Ditto.
2490 (TuiLayoutDef, TuiLayoutDefPtr): Ditto.
2491 (TuiSourceElement, TuiSourceElementPtr): Ditto.
2492 (TuiDataElement, TuiDataElementPtr): Ditto.
2493 (TuiWinElement, TuiWinElementPtr): Ditto.
2494 (TuiDataInfo, TuiDataInfoPtr): Ditto.
2495 (TuiCommandElement, TuiCommandElementPtr): Ditto.
2496 (TuiLocatorElement, TuiLocatorElementPtr): Ditto.
2497 (TuiWhichElement, TuiWhichElementPtr): Ditto.
2498 (TuiSourceInfo, TuiSourceInfoPtr): Ditto.
2499 (TuiCommandInfo, TuiCommandInfoPtr): Ditto.
2500 * tui/tui-command.c, tui/tui-data.c: Update references.
2501 * tui/tui-data.h, tui/tui-disasm.c, tui/tui-layout.c: Ditto.
2502 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
2503 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
2504 * tui/tui-winsource.c, tui/tui.c: Ditto.
2505
2506 2004-02-07 Mark Kettenis <kettenis@gnu.org>
2507
2508 * dwarf2-frame.h: Update copyright.
2509 (enum dwarf2_frame_reg_rule): New.
2510 (struct dwarf2_frame_state_reg): New.
2511 (dwarf2_frame_sniffer, dwarf2_frame_base_sniffer): Make extern.
2512 * dwarf2-frame.c: Update copyright.
2513 (enum dwarf2_reg_rule): Remove.
2514 (struct dwarf2_frame_state): Remove defenition of `struct
2515 dwarf2_frame_state_reg'.
2516 (read_reg): Call get_frame_arch to get the architecture instead of
2517 using CURRENT_GDBARCH.
2518 (execute_cfa_program): Prefix old `enum dwarf2_reg_rule' tags with
2519 DWARF2_FRAME_.
2520 (dwarf2_frame_init_reg): New function.
2521 (dwarf2_frame_cache): Call get_frame_arch to get the architecture
2522 instead of using CURRENT_GDBARCH. Call dwarf2_frame_init_reg to
2523 initialize the register state. Prefix old `enum dwarf2_reg_rule'
2524 tags with DWARF2_FRAME_.
2525 (dwarf2_frame_prev_register): Call get_frame_arch to get the
2526 architecture instead of using CURRENT_GDBARCH. Prefix old `enum
2527 dwarf2_reg_rule' tags with DWARF2_FRAME_.
2528
2529 2004-02-06 Andrew Cagney <cagney@redhat.com>
2530
2531 * tui/tui-data.h (struct tui_list): Rename _TuiList.
2532 (enum tui_data_type): Rename _TuiDataType.
2533 (struct tui_layout_def): Rename _TuiLayoutDef.
2534 (struct tui_source_element): Rename _TuiSourceElement.
2535 (struct tui_data_element): Rename _TuiDataElement.
2536 (struct tui_command_element): Rename _TuiCommandElement.
2537 (struct tui_locator_element): Rename _TuiLocatorElement.
2538 (union tui_which_element): Define.
2539 (struct tui_win_element): Rename _TuiWinElement.
2540 (struct tui_data_info): Rename _TuiDataInfo.
2541 (struct tui_source_info): Rename _TuiSourceInfo.
2542 (struct tui_command_info): Rename _TuiCommandInfo.
2543 (tui_initialize_static_data): Rename initializeStaticData.
2544 (tui_alloc_generic_win_info): Rename allocGenericWinInfo.
2545 (tui_alloc_win_info): Rename allocWinInfo.
2546 (tui_init_generic_part): Rename initGenericPart.
2547 (tui_init_win_info): Rename initWinInfo.
2548 (tui_alloc_content): Rename allocContent.
2549 (tui_add_content_elements): Rename addContentElements.
2550 (tui_init_content_element): Rename initContentElement.
2551 (tui_free_window): Rename freeWindow.
2552 (tui_free_win_content): Rename freeWinContent.
2553 (tui_free_data_content): Rename freeDataContent.
2554 (tui_free_all_source_wins_content): Rename
2555 freeAllSourceWinsContent.
2556 (tui_del_window): Rename tuiDelWindow.
2557 (tui_del_data_windows): Rename tuiDelDataWindows.
2558 (tui_partial_win_by_name): Rename partialWinByName.
2559 (tui_win_name): Rename winName.
2560 (tui_current_layout): Rename currentLayout.
2561 (tui_set_current_layout_to): Rename setCurrentLayoutTo.
2562 (tui_term_height): Rename termHeight.
2563 (tui_set_term_height_to): Rename setTermHeightTo.
2564 (tui_term_width): Rename termWidth.
2565 (tui_set_term_width_to): Rename setTermWidthTo.
2566 (tui_set_gen_win_origin): Rename setGenWinOrigin.
2567 (tui_locator_win_info_ptr): Rename locatorWinInfoPtr.
2568 (tui_source_exec_info_win_ptr): Rename tui_gen_win_info.
2569 (tui_disassem_exec_info_win_ptr): Rename disassemExecInfoWinPtr.
2570 (tui_source_windows): Rename sourceWindows.
2571 (tui_clear_source_windows): Rename clearSourceWindows.
2572 (tui_clear_source_windows_detail): Rename
2573 clearSourceWindowsDetail.
2574 (tui_clear_win_detail): Rename clearWinDetail.
2575 (tui_add_to_source_windows): Rename tuiAddToSourceWindows.
2576 (tui_default_tab_len): Rename tuiDefaultTabLen.
2577 (tui_set_default_tab_len): Rename tuiSetDefaultTabLen.
2578 (tui_win_with_focus): Rename tuiWinWithFocus.
2579 (tui_set_win_with_focus): Rename tuiSetWinWithFocus.
2580 (tui_layout_def): Rename tuiLayoutDef.
2581 (tui_win_resized): Rename tuiWinResized.
2582 (tui_set_win_resized_to): Rename tuiSetWinResizedTo.
2583 (tui_next_win): Rename tuiNextWin.
2584 (tui_prev_win): Rename tuiPrevWin.
2585 (tui_add_to_source_windows): Rename addToSourceWindows.
2586 * tui/tui-winsource.c, tui/tui-win.c: Update references.
2587 * tui/tui-layout.c, tui/tui-source.c: Ditto.
2588 * tui/tui-stack.c, tui/tui-io.c: Ditto.
2589 * tui/tui.c, tui/tui-data.c: Ditto.
2590 * tui/tui-interp.c, tui/tui-data.c: Ditto.
2591 * tui/tui-disasm.c, tui/tui-command.c: Ditto.
2592
2593 * tui/tui-source.h: Update copyright. Include "tui-data.h".
2594 (struct symtab): Declare.
2595 (tui_set_source_content): Rename tuiSetSourceContent.
2596 (tui_show_symtab_source): Rename tuiShowSource.
2597 (tui_source_is_displayed): Rename tuiSourceIsDisplayed.
2598 (tui_vertical_source_scroll): Rename tuiVerticalSourceScroll.
2599 * tui/tui-source.c: Update copyright. Update references.
2600 * tui/tui-win.c, tui/tui-winsource.c: Update references.
2601 * tui/tui-stack.c: Update references.
2602
2603 * tui/tui-win.h: Update copyright. Include "tui-data.h".
2604 (struct tui_win_info): Declare.
2605 (tui_scroll_forward): Rename tuiScrollForward.
2606 (tui_scroll_backward): Rename tuiScrollBackward.
2607 (tui_scroll_left): Rename tuiScrollLeft.
2608 (tui_scroll_right): Rename tuiScrollRight.
2609 (tui_set_win_focus_to): Rename tuiSetWinFocusTo.
2610 (tui_resize_all): Rename tuiResizeAll.
2611 (tui_refresh_all_win): Rename tuiRefreshAll.
2612 (tui_sigwinch_handler): Rename tuiSigwinchHandler.
2613 * tui/tui-layout.c, * tui/tui-io.c: Update references.
2614 * tui/tui-wingeneral.h, * tui/tui.c: Update references.
2615 * tui/tui-disasm.c, * tui/tui-command.c: Update references.
2616
2617 * tui/tui-windata.h: Update copyright. Include "tui-data.h".
2618 (tui_erase_data_content): Rename tuiEraseDataContent.
2619 (tui_display_all_data): Rename tuiDisplayAllData.
2620 (tui_check_data_values): Rename tuiCheckDataValues.
2621 (tui_display_data_from_line): Rename tuiDisplayDataFromLine.
2622 (tui_first_data_item_displayed): Rename tuiFirstDataItemDisplayed.
2623 (tui_first_data_element_no_in_line): Rename
2624 tuiFirstDataElementNoInLine.
2625 (tui_delete_data_content_windows): Rename
2626 tuiDeleteDataContentWindows.
2627 (tui_refresh_data_win): Rename tuiRefreshDataWin.
2628 (tui_display_data_from): Rename tuiDisplayDataFrom.
2629 (tui_vertical_data_scroll): Rename tuiVerticalDataScroll.
2630 * tui/tui-windata.c, tui/tui-hooks.c: Update references.
2631 * tui/tui-win.c, tui/tui-regs.c: Update references.
2632 * tui/tui-layout.c, tui/tui.c: Update references.
2633
2634 * tui/tui-wingeneral.h: Update copyright.
2635 (m_allBeVisible): Delete macro.
2636 (m_allBeInvisible): Delete macro.
2637 (struct tui_gen_win_info): Declare.
2638 (struct tui_win_info): Declare.
2639 (tui_unhighlight_win): Rename unhighlightWin.
2640 (tui_make_visible, tui_make_invisible): Replace makeVisible.
2641 (tui_make_all_visible, tui_make_all_invisible): Replace makeAllVisible.
2642 (tui_make_window): Rename makeWindow.
2643 (tui_copy_win): Rename copyWin.
2644 (tui_box_win): Rename boxWin.
2645 (tui_highlight_win): Rename highlightWin.
2646 (tui_check_and_display_highlight_if_needed): Rename
2647 checkAndDisplayHighlightIfNeeded.
2648 (tui_refresh_all): Rename refreshAll.
2649 (tui_delete_win): Rename tuiDelwin.
2650 (tui_refresh_win): Rename tuiRefreshWin.
2651 * tui/tui-wingeneral.c (make_visible): Rename makeVisible.
2652 (tui_make_visible, tui_make_invisible): New functions.
2653 (tui_make_all_visible, tui_make_all_invisible): New functions.
2654 (make_all_visible): Rename makeAllVisible.
2655 * tui/tui-winsource.c, tui/tui-windata.c: Update references.
2656 * tui/tui-data.c, tui/tui-winsource.c: Update references.
2657 * tui/tui-windata.c, tui/tui-win.c: Update references.
2658 * tui/tui-regs.c, tui/tui-layout.c: Update references.
2659 * tui/tui-data.h (struct tui_gen_win_info): Rename _TuiGenWinInfo.
2660
2661 2004-02-06 Mark Kettenis <kettenis@gnu.org>
2662
2663 * proc-api.c (write_with_trace): Initialize local variable to
2664 silence compiler warning.
2665
2666 2004-02-06 Andrew Cagney <cagney@redhat.com>
2667
2668 * tui/tui-source.h: Do not include "defs.h".
2669 (struct tui_win_info): Declare.
2670 (tui_set_source_content_nil): Declare.
2671 * tui/tui-data.h (struct tui_win_info): Rename _TuiWinInfo.
2672 (union tui_line_or_address): Rename _TuiLineOrAddress.
2673 * tui/tui-winsource.h: Update copyright. Include "tui-data.h".
2674 (tui_update_source_window): Rename tuiUpdateSourceWindow.
2675 (tui_update_source_window_as_is): Rename
2676 tuiUpdateSourceWindowAsIs.
2677 (tui_update_source_windows_with_addr): Rename
2678 tuiUpdateSourceWindowsWithAddr.
2679 (tui_update_source_windows_with_line): Rename
2680 tuiUpdateSourceWindowsWithLine.
2681 (tui_clear_source_content): Rename tuiClearSourceContent.
2682 (tui_erase_source_content): Rename tuiEraseSourceContent.
2683 (tui_set_source_content_nil): Rename tuiSetSourceContentNil.
2684 (tui_show_source_content): Rename tuiShowSourceContent.
2685 (tui_horizontal_source_scroll): Rename tuiHorizontalSourceScroll.
2686 (tui_set_exec_info_content): Rename tuiSetExecInfoContent.
2687 (tui_show_exec_info_content): Rename tuiShowExecInfoContent.
2688 (tui_erase_exec_info_content): Rename tuiEraseExecInfoContent.
2689 (tui_clear_exec_info_content): Rename tuiClearExecInfoContent.
2690 (tui_update_exec_info): Rename tuiUpdateExecInfo.
2691 (tui_set_is_exec_point_at): Rename tuiSetIsExecPointAt.
2692 (tui_alloc_source_buffer): Rename tuiAllocSourceBuffer.
2693 (tui_line_is_displayed): Rename tuiLineIsDisplayed.
2694 (tui_addr_is_displayed): Rename tuiAddrIsDisplayed.
2695 (struct tui_win_info): Declare.
2696 * tui/tui-stack.c: Update references.
2697 * tui/tui-layout.c, tui/tui-winsource.c: Ditto.
2698 * tui/tui-win.c, tui/tui-source.c: Ditto.
2699 * tui/tui.c, tui/tui-disasm.c: Ditto.
2700
2701 2004-02-06 Mark Kettenis <kettenis@gnu.org>
2702
2703 * i386-linux-tdep.c (i386_linux_sigcontext_addr): Fix calculation
2704 of UCONTEXT_ADDR. Fixes PR backtrace/1545.
2705
2706 2004-02-05 Mark Kettenis <kettenis@gnu.org>
2707
2708 * infrun.c (handle_inferior_event): Allow for breakpoint
2709 instructions to generate a SIGSEGV in addition to SIGTRAP, SIGILL
2710 and SIGEMT. Update comments.
2711 * NEWS (Revised SPARC target): Mention support for non-executable
2712 stack.
2713
2714 2004-02-04 Mark Kettenis <kettenis@gnu.org>
2715
2716 * target.h (target_object): Add TARGET_OBJECT_WCOOKIE.
2717 * inftarg.c: Update copyright year.
2718 (child_xfer_partial): Add support for TARGET_OBJECT_WCOOKIE.
2719 * sparc-nat.c: Include "target.h" and "gdb_assert.h".
2720 (sparc_xfer_wcookie): New function.
2721 * sparc-tdep.c (sparc_fetch_wcookie): New function.
2722 * Makefile.in (sparc-nat.o): Update dependencies.
2723 * config/sparc/nm-nbsd.h: Include "target.h".
2724 (NATIVE_XFER_WCOOKIE): New define.
2725 (sparc_xfer_wcookie): New prototype.
2726
2727 2004-02-04 Andrew Cagney <cagney@redhat.com>
2728
2729 * m68k-tdep.c (m68k_saved_pc_after_call): Delete #ifdef
2730 SYSCALL_TRAP function.
2731 (m68k_gdbarch_init): Delete #ifdef SYSCALL_TRAP code.
2732
2733 2004-02-04 Andrew Cagney <cagney@redhat.com>
2734 Daniel Jacobowitz <drow@mvista.com>
2735
2736 * objfiles.h: Delete comments refering to inside_entry_func and
2737 DEPRECATED_FRAME_CHAIN_VALID.
2738 * defs.h (inside_entry_func): Update prototype..
2739 * blockframe.c (inside_entry_func): Rename to
2740 legacy_inside_entry_func. Add new inside_entry_func taking a frame.
2741 * frame.c (get_prev_frame): Pass the frame to inside_entry_func.
2742
2743 2004-02-03 Jeff Johnston <jjohnstn@redhat.com>
2744
2745 * breakpoint.c (struct captured_parse_breakpoint_args): Move
2746 outside of #ifdef SOLIB_ADD region.
2747 (do_restore_lang_radix_cleanup): Ditto.
2748 (resolve_pending_breakpoint): Ditto.
2749
2750 2004-02-03 Andrew Cagney <cagney@redhat.com>
2751
2752 * ia64-tdep.c (read_sigcontext_register): Delete unused function.
2753 (process_note_abi_tag_sections): Delete unused function.
2754 (ia64_read_fp): Delete unused function.
2755 (gdbarch_extract_struct_value_address): Delete declaration.
2756
2757 2004-02-02 Andrew Cagney <cagney@redhat.com>
2758
2759 * vax-tdep.c (vax_frame_chain): Delete call to
2760 deprecated_inside_entry_file.
2761 * ns32k-tdep.c (ns32k_frame_chain): Ditto.
2762
2763 2004-02-02 Mark Kettenis <kettenis@gnu.org>
2764
2765 * dwarf2-frame.c (dwarf2_frame_cache): Deal with a return address
2766 column that's "empty" or "same value" when eliminating REG_RA
2767 rules.
2768
2769 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
2770
2771 * NEWS: Add information about new pending breakpoint support.
2772
2773 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
2774
2775 * breakpoint.h (struct breakpoint): Add new flag, from_tty,
2776 and pending fields for pending breakpoint support.
2777 * breakpoint.c (breakpoint_enabled): Add check for not pending.
2778 (condition_command): Only parse condition if not a pending
2779 breakpoint.
2780 (print_one_breakpoint): Add support for pending breakpoints.
2781 (describe_other_breakpoints): Add checks to verify we are not
2782 dealing with pending breakpoints.
2783 (check_duplicates): Don't check pending breakpoints.
2784 (set_raw_breakpoint): Initialize pending flag.
2785 (do_restore_lang_radix_cleanup): New cleanup routine.
2786 (resolve_pending_breakpoint): New function.
2787 (re_enable_breakpoints_in_shlibs): Try and resolve any
2788 pending breakpoints via resolve_pending_breakpoint.
2789 (mention): Add pending breakpoint support.
2790 (parse_breakpoint_sals): Add new parameter to pass to
2791 decode_line_1 to indicate silent errors when files or functions
2792 are not found. Change all callers.
2793 (do_captured_parse_breakpoint): New function.
2794 (break_command_1): Change prototype to return an rc value and to
2795 take an optional pending breakpoint pointer. Support creating
2796 a pending breakpoint if a "not found" form of error occurs when
2797 parsing the breakpoint. Also support resolving an existing pending
2798 breakpoint and be silent if the resolution fails.
2799 (create_breakpoints): Change prototype to take pending breakpoint
2800 pointer. When resolving a pending breakpoint, use the new pointer
2801 to provide a conditional or commands added by the end-user.
2802 (delete_breakpoint): Add appropriate check for pending.
2803 (breakpoint_re_set_one): Ditto.
2804 (do_enable_breakpoint): Ditto.
2805
2806 2004-02-02 David Carlton <carlton@kealia.com>
2807
2808 * valops.c (enum oload_classification): New.
2809 (find_overload_match): Break implementation into separate
2810 functions; delete #if 0'd code; look for symbols within
2811 namespaces.
2812 (find_oload_champ_namespace,find_oload_champ_namespace_loop)
2813 (find_oload_champ,oload_method_static,classify_oload_match): New.
2814 * cp-support.h: Add declaration for cp_func_name; update
2815 declaration for make_symbol_overload_list.
2816 * cp-support.c (cp_func_name): New.
2817 (overload_list_add_symbol): Fix comment, use
2818 SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME.
2819 (make_symbol_overload_list): Take a function name and a namespace
2820 instead of a symbol; change implementation.
2821 (make_symbol_overload_list_using): New.
2822 (make_symbol_overload_list_qualified, read_in_psymtabs): New.
2823
2824 2004-02-02 Fred Fish <fnf@redhat.com>
2825
2826 * main.c (gdb_stdtarg): Move definition to group with other
2827 gdb_stdtarg definitions and update copyright years.
2828 * remote-sim.c (gdb_os_write_stderr): Write output to
2829 gdb_stdtargerr stream instead of gdb_stdtarg stream.
2830 (gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of
2831 gdb_stderr stream and update copyright years.
2832
2833 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
2834
2835 * Makefile.in (mips-linux-nat.o): Update dependencies.
2836 * mips-linux-nat.c: Include mips-tdep.h.
2837
2838 2004-02-01 Roland McGrath <roland@redhat.com>
2839
2840 * sol-thread.c (sol_thread_xfer_partial): New function.
2841 (init_sol_thread_ops): Use that for to_xfer_partial hook.
2842 (init_sol_core_ops): Likewise.
2843
2844 * procfs.c (procfs_xfer_partial): New function.
2845 (init_procfs_ops): Use that for procfs_ops.to_xfer_partial.
2846 * Makefile.in (procfs.o): Add $(auxv_h) dep.
2847
2848 * config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's
2849 procfs_xfer_auxv function.
2850
2851 * procfs.c (procfs_make_note_section): If we can read
2852 TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it.
2853 * linux-proc.c (linux_make_note_section): Likewise.
2854
2855 * auxv.h: New file.
2856 * auxv.c: New file.
2857 * Makefile.in (auxv_h): New variable.
2858 (COMMON_OBS): Add auxv.o here.
2859 (auxv.o): New target.
2860
2861 * corelow.c (core_xfer_partial): New function.
2862 (init_core_ops): Use it for core_ops.to_xfer_partial.
2863
2864 * target.h (enum target_object): Add TARGET_OBJECT_AUXV.
2865 * inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV
2866 macro if that is defined.
2867
2868 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
2869
2870 * breakpoint.c (bpstat_stop_status): Take a ptid_t argument,
2871 and check the specified thread for each breakpoint.
2872 * breakpoint.h (bpstat_stop_status): Update prototype.
2873 * infrun.c (handle_inferior_event): Update calls to
2874 bpstat_stop_status.
2875
2876 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
2877
2878 * Makefile.in (cli-cmds.o): Add $(readline_h).
2879
2880 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
2881
2882 * cli/cli-cmds.c: Include readline.h.
2883 (complete_command): Pass the start of the last word to
2884 complete_line.
2885
2886 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
2887
2888 * breakpoint.c (bpstat_stop_status): Remove not_a_sw_breakpoint
2889 argument, and change first argument to a CORE_ADDR.
2890 * breakpoint.h (bpstat_stop_status): Update prototype.
2891 * infrun.c (adjust_pc_after_break): Add a new comment.
2892 (handle_inferior_event): Update calls to bpstat_stop_status.
2893
2894 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
2895
2896 * breakpoint.h: Update copyright years.
2897
2898 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
2899
2900 * breakpoint.c (software_breakpoint_inserted_here_p): New function.
2901 (bpstat_stop_status): Don't decrement PC.
2902 * breakpoint.h (software_breakpoint_inserted_here_p): Add
2903 prototype.
2904 * infrun.c (adjust_pc_after_break): New function.
2905 (handle_inferior_event): Call it, early. Remove later references
2906 to DECR_PC_AFTER_BREAK.
2907 (normal_stop): Add commentary.
2908
2909 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
2910
2911 * breakpoint.c (breakpoint_re_set_one): Add missing chunk of
2912 2004-01-27 double-free fix.
2913
2914 2004-01-31 Mark Kettenis <kettenis@gnu.org>
2915
2916 * sparc-tdep.c (sparc_fetch_wcookie): New function.
2917 (sparc32_frame_prev_register): Handle StackGhost.
2918 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
2919
2920 2004-01-29 Roland McGrath <roland@redhat.com>
2921
2922 * configure.in (NEW_PROC_API): Also match solaris2.9 for this test.
2923 * configure: Regenerated.
2924
2925 * procfs.c: Include gdb_string.h for str* decls, otherwise warnings.
2926 * Makefile.in (procfs.o): Add dep.
2927
2928 2004-01-28 Andrew Cagney <cagney@redhat.com>
2929
2930 * tui/tui-stack.h: Update copyright.
2931 (struct frame_info): Add opaque declaration.
2932 (tui_update_locator_filename): Rename tuiUpdateLocatorFilename.
2933 (tui_show_locator_content): Rename tuiShowLocatorContent.
2934 (tui_show_frame_info): Rename tuiShowFrameInfo.
2935 * tui/tui-stack.c: Update copyright. Update references.
2936 * tui/tui-winsource.c: Update references.
2937 * tui/tui-win.c: Update references.
2938 * tui/tui-layout.c: Update references.
2939 * tui/tui-hooks.c: Update copyright, update references.
2940 * tui/tui.c: Update copyright, update references.
2941 * tui/tui-disasm.c: Update references.
2942
2943 2004-01-28 David Carlton <carlton@kealia.com>
2944
2945 * dwarf2read.c (add_partial_structure): Use demangled name if
2946 namespace equals "".
2947
2948 2004-01-27 Jim Blandy <jimb@redhat.com>
2949
2950 Clean up misapplied patch:
2951 * dwarf2read.c (determine_prefix): Change one of the two forward
2952 declarations for 'determine_prefix_aux' to a declaration for this.
2953 (read_func_scope): Use cu->language, not cu_language. Pass 'cu'
2954 argument to 'die_specification'.
2955
2956 * dwarf2read.c (read_func_scope): Re-indent comment.
2957
2958 2004-01-27 Paul N. Hilfinger <hilfinger@gnat.com>
2959
2960 * breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and
2961 b->exp to NULL after freeing so that error during re-parsing or
2962 evaluation of expressions associated with breakpoint don't
2963 eventually lead to re-freeing of storage.
2964 Committed by Andrew Cagney.
2965
2966 2004-01-27 Andrew Cagney <cagney@redhat.com>
2967
2968 * source.c (ambiguous_line_spec): Delete undefined declaration.
2969 * m32r-rom.c (m32r_set_board_address): Delete unused function.
2970 (m32r_set_server_address, m32r_set_download_path): Ditto.
2971 * remote-fileio.c (remote_fileio_to_fio_int): Ditto.
2972
2973 2004-01-27 Daniel Jacobowitz <drow@mvista.com>
2974
2975 * dwarf2read.c: Update calls to changed and renamed functions, and
2976 references to moved variables.
2977
2978 (struct dwarf2_cu): Add first_fn, last_fn, cached_fn,
2979 language, language_defn, list_in_scope, and ftypes members.
2980 (cu_first_fn, cu_last_fn, cu_cached_fn, cu_language)
2981 (cu_language_defn, list_in_scope, ftypes, cu_header_offset)
2982 (baseaddr): Remove globals.
2983
2984 (dwarf_attr): Renamed to dwarf2_attr. Add CU argument.
2985 (set_cu_language, die_is_declaration, die_specification)
2986 (determine_prefix, determin_prefix_aux, class_name, namespace_name)
2987 (dwarf2_linkage_name, dwarf2_name, dwarf2_extension)
2988 (dwarf2_get_ref_die_offset, dwarf2_fundamental_type)
2989 (initialize_cu_func_list, add_to_cu_func_list): Add CU argument.
2990
2991 (dwarf2_build_psymtabs_hard): Add local baseaddr. Initialize
2992 cu.list_in_scope. Don't initialize cu_header_offset.
2993 (add_partial_symbol): Add local baseaddr.
2994 (psymtab_to_symtab_1): Add local baseaddr. Use
2995 objfile->section_offsets for consistency. Don't initialize
2996 cu_header_offset; do initialize cu.header.offset and
2997 cu.list_in_scope.
2998 (read_file_scope, read_func_scope, read_lexical_block_scope)
2999 (dwarf_decode_lines, new_symbol): Add local baseaddr.
3000
3001 2004-01-27 Michael Chastain <mec.gnu@mindspring.com>
3002
3003 * PROBLEMS: Add gdb/1516.
3004
3005 2003-12-29 Robert Millan <robertmh@gnu.org>
3006
3007 Patch committed by Andrw Cagney.
3008 * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
3009 * configure.tgt: Match knetbsd*-gnu.
3010
3011 2004-01-26 Andrew Cagney <cagney@redhat.com>
3012
3013 * breakpoint.c (catch_command_1): Delete #ifdef code.
3014 (catch_fork_command_1): Delete #ifdef wrapper.
3015 (catch_exec_command_1): Ditto.
3016 (catch_load_command_1): Ditto.
3017 (catch_unload_command_1): Ditto.
3018
3019 * breakpoint.c (watchpoint_check): Delete #if0ed variable.
3020 (catch_breakpoint): Delete #if0ed function.
3021 (disable_catch_breakpoint): Ditto.
3022 (delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
3023 (disable_catch, enable_catch, delete_catch): Ditto.
3024
3025 2004-01-26 Andrew Cagney <cagney@redhat.com>
3026
3027 * remote.c (echo_check, quit_flag): Delete variables.
3028 (cisco_kernel_mode): Delete variable.
3029 (minitelnet_return, tty_input, escape_count): Delete variables.
3030 (remote_cisco_mode): Delete variable.
3031 (remote_cisco_open, remote_cisco_close): Delete function.
3032 (remote_cisco_mourn, remote_cisco_wait): Delete function.
3033 (init_remote_cisco_ops): Delete function.
3034 (_initialize_remote): Do not install "remote cisco" code.
3035 (read_frame): Delete cisco specific code.
3036 (remote_info_process): Delete function.
3037 (remote_wait): Delete cisco specific code.
3038 (remote_cisco_section_offsets): Delete function.
3039 (remote_cisco_objfile_relocate): Delete function.
3040 (remote_async_wait): Delete cisco specific code.
3041 (minitelnet, readtty, readsocket): Delete function.
3042
3043 2004-01-26 Andrew Cagney <cagney@redhat.com>
3044
3045 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add
3046 comments mentioning extract_returned_value_address.
3047 * infcmd.c (print_return_value): Update. Add comments on
3048 extract_returned_value_address.
3049 * stack.c (return_command): Add comments on
3050 extract_returned_value_address.
3051 * values.c: Update comment.
3052 * m32r-tdep.c: Update comment.
3053 * sparc-tdep.c: Update comment.
3054 * ia64-tdep.c (ia64_use_struct_convention): Update comment.
3055 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
3056 * sh64-tdep.c (sh64_gdbarch_init): Update.
3057 * sh-tdep.c (sh_gdbarch_init): Update.
3058 * s390-tdep.c (s390_gdbarch_init): Update.
3059 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
3060 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
3061 * m68k-tdep.c (m68k_gdbarch_init): Update.
3062 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
3063 * m32r-tdep.c (m32r_gdbarch_init): Update.
3064 * ia64-tdep.c (ia64_gdbarch_init): Update.
3065 * h8300-tdep.c (h8300_gdbarch_init): Update.
3066 * frv-tdep.c (frv_gdbarch_init): Update.
3067 * arm-tdep.c (arm_gdbarch_init): Update.
3068 * alpha-tdep.c (alpha_gdbarch_init): Update.
3069
3070 2004-01-26 Andrew Cagney <cagney@redhat.com>
3071
3072 * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of
3073 SYMBOL_LOCATION_FUNCS
3074 (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to
3075 "struct symbol_ops".
3076 * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change
3077 type to "struct symbol_ops".
3078 * symtab.h (struct symbol_ops): Rename "struct location_funcs".
3079 (struct symbol): Replace ".aux_value.loc.funcs" and
3080 ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr".
3081 (SYMBOL_OBJFILE): Delete macro.
3082 (SYMBOL_LOCATION_FUNCS): Delete macro.
3083 (SYMBOL_LOCATION_BATON): Update.
3084 * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS
3085 intead of SYMBOL_LOCATION_FUNCS.
3086 * ax-gdb.c (gen_var_ref): Ditto.
3087 * printcmd.c (address_info): Ditto.
3088 * findvar.c (read_var_value): Ditto.
3089 (symbol_read_needs_frame): Ditto.
3090
3091 2004-01-26 Andrew Cagney <cagney@redhat.com>
3092
3093 * dwarf2read.c (read_func_scope): Document frame-base hack.
3094
3095 2004-01-25 Mark Kettenis <kettenis@gnu.org>
3096
3097 * infcmd.c (print_return_value): Plug memory leak; delete
3098 ui_stream object. Rename argument `structure_return' to
3099 `struct_return'.
3100
3101 2004-01-25 Mark Kettenis <kettenis@gnu.org>
3102
3103 * infcmd.c (print_return_value): Wrap long lines.
3104 (finish_command_continuation, finish_command): Remove unused
3105 variable `funcaddr'. Fix some coding-standards problems.
3106
3107 * sparc-tdep.c (sparc_regset_from_core_section): Check whether
3108 SECT_SIZE is large enough, not wheter it's exactly the right size.
3109 (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and
3110 TDEP->fpregset to zero.
3111
3112 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the
3113 floating-point registers for traditional NetBSD core files.
3114 (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and
3115 TDEP->sizeof_fpregset here.
3116
3117 2004-01-25 Mark Kettenis <kettenis@gnu.org>
3118
3119 * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
3120 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New
3121 function with code split out from
3122 sparc32nbsd_sigcontext_frame_cache.
3123 (sparc32nbsd_sigcontext_frame_cache): Use
3124 sparc32nbsd_sigcontext_saved_regs.
3125 (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for
3126 OpenBSD.
3127 * sparcobsd-tdep.c: New file.
3128 * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c.
3129 (sparcobsd-tdep.o): New dependency.
3130 * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd.
3131 * config/sparc/obsd.mt: New file.
3132
3133 * sparc-tdep.c (sparc32_gdbarch_init): Don't require
3134 TDEP->fpregset to be initialized to enable core file register
3135 sets.
3136
3137 2004-01-24 Mark Kettenis <kettenis@gnu.org>
3138
3139 * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg):
3140 Add opaque declarations.
3141 (sparc64nbsd_sigcontext_saved_regs): New prototype.
3142 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New
3143 function with code split out from
3144 sparc64nbsd_sigcontext_frame_cache.
3145 (sparc64nbsd_sigcontext_frame_cache): Use
3146 sparc64nbsd_sigcontext_saved_regs.
3147 (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for
3148 OpenBSD.
3149 * sparc64obsd-tdep.c: New file.
3150 * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c.
3151 (sparc64obsd-tdep.o): New dependency.
3152 * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and
3153 gdb_osabi to GDB_OSABI_OPENBSD_ELF.
3154 * config/sparc/obsd64.mt: New file.
3155
3156 * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't
3157 read the instruction at PC.
3158
3159 * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the
3160 value of GDB_OSABI_DEFAULT.
3161 (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE
3162 instead of GDB_OSABI_NETBSD_AOUT.
3163
3164 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
3165
3166 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update
3167 copyright.
3168
3169 2004-01-23 Andrew Cagney <cagney@redhat.com>
3170
3171 * printcmd.c (display_command): Replace tui_set_display call with
3172 tui_set_layout_for_display_command.
3173 * tui/tui.h (enum tui_win_type): Define.
3174 (tui_set_layout): Delete declaration.
3175 (tui_set_layout_for_display_command): Rename set_tui_layout.
3176 * tui/tui-data.h (enum tui_layout_type): Define.
3177 * tui/tui-layout.h: Update copyright. Include "tui-data.h" and
3178 "tui.h".
3179 (tui_add_win_to_layout): Rename tuiAddWinToLayout.
3180 (tui_default_win_height): Rename tuiDefaultWinHeight.
3181 (tui_default_win_viewport_height): Rename
3182 tuiDefaultWinViewportHeight.
3183 (tui_set_layout): RenametuiSetLayout.
3184 * tui/tui-layout.c: Update references.
3185 * tui/tui.c: Update references.
3186 * tui/tui-disasm.c: Update references.
3187
3188 2004-01-23 David Carlton <carlton@kealia.com>
3189
3190 Partial workaround for PR c++/1511:
3191 * cp-namespace.c: Include frame.h.
3192 (cp_lookup_transparent_type): New
3193 (cp_lookup_transparent_type_loop): New.
3194 * cp-support.h: Declare cp_lookup_transparent_type.
3195 * symtab.c (basic_lookup_transparent_type): Renamed from
3196 lookup_transparent_type.
3197 (lookup_transparent_type): Replace old body by a call to
3198 current_language->la_lookup_transparent_type.
3199 * symtab.h: Update copyright. Declare
3200 basic_lookup_transparent_type.
3201 * language.h: Update copyright.
3202 (struct language_defn): Add la_lookup_transparent_type.
3203 * language.c: Update copyright.
3204 (unknown_language_defn): Add basic_lookup_transparent_type.
3205 (auto_language_defn): Add basic_lookup_transparent_type.
3206 (local_language_defn): Add basic_lookup_transparent_type.
3207 * ada-lang.c: Update copyright.
3208 (ada_language_defn): Add basic_lookup_transparent_type.
3209 * c-lang.c: Update copyright.
3210 (c_language_defn): Add basic_lookup_transparent_type.
3211 (cplus_language_defn): Add basic_lookup_transparent_type.
3212 (asm_language_defn): Add basic_lookup_transparent_type.
3213 (minimal_language_defn): Add basic_lookup_transparent_type.
3214 * f-lang.c: Update copyright.
3215 (f_language_defn): Add basic_lookup_transparent_type.
3216 * jv-lang.c: Update copyright.
3217 (java_language_defn): Add basic_lookup_transparent_type.
3218 * m2-lang.c: Update copyright.
3219 (m2_language_defn): Add basic_lookup_transparent_type.
3220 * objc-lang.c: Update copyright.
3221 (objc_language_defn): Add basic_lookup_transparent_type.
3222 * p-lang.c: Update copyright.
3223 (p_language_defn): Add basic_lookup_transparent_type.
3224 * scm-lang.c: Update copyright.
3225 (scm_language_defn): Add basic_lookup_transparent_type.
3226 * Makefile.in (cp-namespace.o): Depend on frame.h.
3227
3228 2004-01-23 David Carlton <carlton@kealia.com>
3229
3230 Patch for PR c++/1520:
3231 * dwarf2read.c (read_func_scope): Set processing_current_prefix
3232 properly if we have a specification die.
3233 (determine_prefix_aux): Rename from determine_prefix.
3234 (determine_prefix): Like the old determine_prefix, but never
3235 returns NULL.
3236
3237 2004-01-23 Theodore A. Roth <troth@openavr.org>
3238
3239 * avr-tdep.c: Update copyright.
3240 (avr_iaddr_p): Delete unused function.
3241 (avr_saddr_p): Delete unused function.
3242
3243 2004-01-23 David Carlton <carlton@kealia.com>
3244
3245 * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
3246 Fix for PR symtab/1534.
3247
3248 2004-01-23 Mark Kettenis <kettenis@gnu.org>
3249
3250 * NEWS (New native configurations): Mention OpenBSD/sparc and
3251 OpenBSD/sparc64.
3252 * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
3253 * configure.host: Likewise.
3254 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
3255 handler for OpenBSD.
3256 * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
3257
3258 2004-01-22 Mark Kettenis <kettenis@gnu.org>
3259
3260 * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
3261 (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.
3262
3263 * ser-pipe.c (pipe_open): Use proper null pointer in execl call.
3264 * cli/cli-cmds.c (shell_escape): Likewise.
3265
3266 * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
3267 OpenBSD .note.openbsd.ident sections.
3268
3269 2004-01-22 David Carlton <carlton@kealia.com>
3270
3271 * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
3272 get_scope_pc_bounds.
3273 (read_file_scope): Ditto.
3274 (get_scope_pc_bounds): New function, produced by extracting code
3275 from the above two functions, consolidating it, and adding support
3276 for DW_TAG_namespace.
3277
3278 2004-01-22 Mark Kettenis <kettenis@gnu.org>
3279
3280 * osabi.c (MAX_NOTESZ): New define.
3281 (check_note): New function.
3282 (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
3283 check_note.
3284
3285 2004-01-21 Roland McGrath <roland@redhat.com>
3286
3287 * MAINTAINERS (write after approval): Add myself.
3288
3289 2004-01-21 Eli Zaretskii <eliz@gnu.org>
3290
3291 * utils.c (init_page_info): Move declarations of `rows' and
3292 `cols' before the __GO32__-specific code. Move the closing brace
3293 outside the #ifdef __GO32__..#endif block.
3294 [__GO32__]: Use `rows' and `cols' to avoid compiler warnings.
3295
3296 2004-01-21 Paul Brook <paul@codesourcery.com>
3297
3298 * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
3299 BPSTAT_WHAT_CHECK_SHLIBS.
3300
3301 2004-01-21 Paul Brook <paul@codesourcery.com>
3302
3303 * MAINTAINERS: Add myself to write-after-approval.
3304
3305 2004-01-20 Andrew Cagney <cagney@redhat.com>
3306
3307 * ax-gdb.c (print_axs_value): Delete unused function.
3308 * jv-lang.c (java_lookup_type): Delete unused function.
3309 * cli/cli-dump.c (dump_filetype): Delete unused function.
3310 * remote-mips.c (remote_mips_insert_hw_breakpoint)
3311 (remote_mips_remove_hw_breakpoint): Delete unused functions.
3312 (mips_getstring): Delete unused function.
3313 (pmon_insert_breakpoint): Delete #if0ed function.
3314 (PMON_MAX_BP): Delete #if0ed MACRO.
3315 (mips_pmon_bp_info): Delete #if0ed variable.
3316 (pmon_remove_breakpoint): Delete #if0ed function.
3317 * monitor.c (monitor_write_even_block): Delete unused function.
3318 (monitor_write_memory_block): Delete #if0ed code.
3319 * dink32-rom.c (dink32_load): Delete unused function.
3320 (_initialize_dink32_rom): Delete #if0ed code.
3321 * d10v-tdep.c (d10v_daddr_p): Delete unused function.
3322
3323 * tui/tui-command.c: Update references.
3324 * tui/tui-io.c: Update references.
3325 * tui/tui-command.h: Update copyright.
3326 (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
3327
3328 * source.c (ambiguous_line_spec): Delete never-defined function.
3329 * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
3330 * gdbtypes.c (add_name, add_mangled_type): Ditto.
3331 * cli/cli-cmds.c (validate_comname): Ditto.
3332
3333 * tui/tui-disasm.h: Update copyright. Include "tui.h" and
3334 "tui-data.h".
3335 (tui_set_disassem_content): Rename tuiSetDisassemContent.
3336 (tui_show_disassem): Rename tuiShowDisassem.
3337 (tui_show_disassem_and_update_source): Rename
3338 tuiVerticalDisassemScroll.
3339 (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
3340 (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
3341 * tui/tui.h: Update copyright.
3342 (enum tui_status): Define.
3343 * tui/tui-data.h (enum tui_scroll_direction): Define.
3344 * tui/tui-disasm.c: Update copyright. Update references.
3345 * tui/tui-winsource.c: Update copyright. Update references.
3346 * tui/tui-win.c: Update references.
3347 * tui/tui-layout.c: Update references.
3348
3349 2004-01-20 Andrew Cagney <cagney@redhat.com>
3350
3351 * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
3352 sym2 to start of block.
3353
3354 2004-01-19 Michael Chastain <mec.gnu@mindspring.com>
3355
3356 * MAINTAINERS: Delete mmalloc.
3357 * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
3358 * NEWS: Mention removal of --with-malloc.
3359 * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
3360 * config.in: Regenerate.
3361 * configure: Regenerate.
3362 * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc,
3363 USE_MMALLOC, MMCHECK_FORCE.
3364 * gdbinit.in: Remove mmalloc.
3365 * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
3366 * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
3367 * config/i386/go32.mh: Likewise.
3368 * config/i386/interix.mh: Likewise.
3369 * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.
3370
3371 2004-01-19 Jeff Johnston <jjohnstn@redhat.com>
3372
3373 * linespec.c (decode_variable, symtab_from_filename): Call
3374 error_silent with error message instead of throwing an exception
3375 directly.
3376 * defs.h (error_silent, error_output_message): Add prototypes.
3377 (catch_exceptions_with_msg): Ditto.
3378 * utils.c (error_silent, error_output_message): New functions.
3379 * top.c (catch_exceptions_with_msg): New function.
3380
3381 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
3382
3383 * mi/mi-cmds.h (enum print_values): Add definition.
3384
3385 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name,
3386 type and value for simple data types and just the name and type
3387 for complex ones, if required.
3388
3389 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the
3390 children, if required.
3391
3392 2004-01-19 Kevin Buettner <kevinb@redhat.com>
3393
3394 * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
3395 unused declarations.
3396
3397 2004-01-19 Andrew Cagney <cagney@redhat.com>
3398
3399 * top.h (mapped_symbol_files): Delete declaration.
3400 * main.c (captured_main): Delete option "m" and "mapped".
3401 * objfiles.c (mapped_symbol_files): Delete variable.
3402 * symfile.c (symbol_file_command): Delete mmap code.
3403 (symbol_file_add_with_addrs_or_offsets): Ditto.
3404 (add_symbol_file_command, reread_separate_symbols): Ditto.
3405 * objfiles.h (OBJF_MAPPED): Delete.
3406 * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
3407 (free_objfile) [USE_MMALLOC]: Ditto.
3408 (open_existing_mapped_file): Delete function.
3409 (open_mapped_file): Delete function.
3410 (map_to_file): Delete function.
3411
3412 2004-01-19 Kevin Buettner <kevinb@redhat.com>
3413
3414 * infrun.c (step_into_function): Account for possible breakpoint
3415 adjustment when computing ``stop_func_start''.
3416
3417 2004-01-19 Kevin Buettner <kevinb@redhat.com>
3418
3419 * target.c (default_region_size_ok_for_hw_watchpoint): Compare
3420 the region size against the size of a pointer, not the size of
3421 a register as given by DEPRECATED_REGISTER_SIZE.
3422
3423 2004-01-19 Andrew Cagney <cagney@redhat.com>
3424
3425 * tui/tui-regs.h: Include "tui-data.h".
3426 (tuiFirstRegElementNoInLine): Delete declaration.
3427 (tui_display_registers_from): Rename tuiDisplayRegistersFrom.
3428 (tui_last_regs_line_no): Rename tuiLastRegsLineNo.
3429 (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
3430 (tui_calculate_regs_column_count): Rename
3431 tuiCalculateRegsColumnCount.
3432 (tui_check_register_values): Rename tuiCheckRegisterValues.
3433 (tui_show_registers): Rename tuiShowRegisters.
3434 (tui_display_registers_from_line): Rename
3435 tuiDisplayRegistersFromLine.
3436 (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
3437 (tui_toggle_float_regs): Rename tuiToggleFloatRegs.
3438 (tui_first_reg_element_no_inline): Rename
3439 tuiFirstRegElementNoInLine.
3440 * tui/tui-data.h: Update copyright.
3441 (enum tui_register_display_type): Rename _TuiRegisterDisplayType.
3442 * tui/tui-windata.c: Update copyright, update references.
3443 * tui/tui-regs.c: Update copyright, update references.
3444 * tui/tui-win.c: Update copyright, update references.
3445 * tui/tui-layout.c: Update copyright, update references.
3446
3447 2004-01-18 Andrew Cagney <cagney@redhat.com>
3448
3449 * tui/tui-io.c: Update copyright.
3450 (key_is_end_sequence, key_is_backspace): New functions.
3451 (key_is_command_char, key_is_start_sequence): New function.
3452 (tui_getc): Update references.
3453 * tui/tui-io.h: Update copyright.
3454 (m_tuiStartNewLine): Delete macro.
3455 (m_isBackspace, m_isDeleteChar): Delete macros.
3456 (m_isDeleteLine, m_isDeleteToEol): Delete macros.
3457 (m_isNextPage, m_isPrevPage): Delete macros.
3458 (m_isLeftArrow, m_isRightArrow): Delete macros.
3459 (m_isXdbStyleCommandChar): Delete macro.
3460 (key_is_start_sequence): Declare, replace m_isStartSequence.
3461 (key_is_end_sequence): Declare, replace m_isEndSequence.
3462 (key_is_backspace): Declare ,replace m_isBackspace.
3463 (key_is_command_char): Declare, replace m_isCommandChar.
3464 * tui/tui-command.c: Update copyright.
3465 (tuiDispatchCtrlChar): Update references.
3466
3467 * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
3468 tuiSourceWin.h.
3469
3470 * tui/tui-command.c: Rename tui/tuiCommand.c.
3471 * tui/tui-command.h: Rename tui/tuiCommand.h.
3472 * tui/tui-data.c: Rename tui/tuiData.c.
3473 * tui/tui-data.h: Rename tui/tuiData.h.
3474 * tui/tui-disasm.c: Rename tui/tuiDisassem.c.
3475 * tui/tui-disasm.h: Rename tui/tuiDisassem.h.
3476 * tui/tui-io.c: Rename tui/tuiIO.c.
3477 * tui/tui-io.h: Rename tui/tuiIO.h.
3478 * tui/tui-layout.c: Rename tui/tuiLayout.c.
3479 * tui/tui-layout.h: Rename tui/tuiLayout.h.
3480 * tui/tui-regs.c: Rename tui/tuiRegs.c.
3481 * tui/tui-regs.h: Rename tui/tuiRegs.h.
3482 * tui/tui-source.c: Rename tui/tuiSource.c.
3483 * tui/tui-source.h: Rename tui/tuiSource.h.
3484 * tui/tui-stack.c: Rename tui/tuiStack.c.
3485 * tui/tui-stack.h: Rename tui/tuiStack.h.
3486 * tui/tui-win.c: Rename tui/tuiWin.c.
3487 * tui/tui-win.h: Rename tui/tuiWin.h.
3488 * tui/tui-windata.c: Rename tui/tuiDataWin.c.
3489 * tui/tui-windata.h: Rename tui/tuiDataWin.h.
3490 * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
3491 * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
3492 * tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
3493 * tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
3494 * tui/tui-file.c: Update includes.
3495 * tui/tui-hooks.c: Update includes.
3496 * tui/tui-interp.c: Update includes.
3497 * tui/tui.c: Update includes.
3498 * Makefile.in: Update all tui/ dependencies.
3499 (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.
3500
3501 * Makefile.in: Update copyright. Update dependencies.
3502
3503 * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
3504 problem.
3505
3506 2004-01-18 Andrew Cagney <cagney@redhat.com>
3507
3508 * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
3509 instead of register_gdbarch_init.
3510
3511 * remote-sds.c (tohex): Delete unused function. Update copyright.
3512 * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
3513 * v850-tdep.c (v850_register_virtual_size): Ditto.
3514 * target.c (normal_target_post_startup_inferior): Ditto.
3515 * source.c (ambiguous_line_spec): Ditto.
3516 * remote.c (adapt_remote_get_threadinfo): Ditto.
3517 * mi/mi-out.c (out_field_fmt): Ditto.
3518 * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
3519 (output_control_change_notification): Ditto.
3520 * m68k-tdep.c (m68k_register_byte): Ditto.
3521 (m68k_remote_breakpoint_from_pc): Ditto.
3522 * ui-out.c (init_ui_out_state): Delete unused declaration.
3523 * stabsread.c (search_value): Ditto.
3524 * mi/mi-cmd-env.c (env_cli_command): Ditto.
3525 * maint.c (print_section_table): Ditto.
3526 * infrun.c (set_follow_fork_mode_command): Ditto.
3527
3528 2004-01-18 Mark Kettenis <kettenis@gnu.org>
3529
3530 * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
3531 DW_CFA_def_cfa_exporession. Add support for
3532 DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and
3533 DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391.
3534
3535 2004-01-18 Andrew Cagney <cagney@redhat.com>
3536
3537 * ocd.c: Update copyright.
3538 (bdm_read_register_command): Delete unused function.
3539 (_initialize_remote_ocd): Delete commented out reference.
3540 (get_quoted_char, reset_packet): Delete #if0ed function.
3541 (output_packet, put_quoted_char): Delete #if0ed function.
3542 (stu_put_packet, stu_get_packet): Delete #if0ed function.
3543 (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper.
3544 (BDM_BREAKPOINT): Delete #if0ed macro.
3545 (remote_timeout): Delete #if0ed variable.
3546
3547 2004-01-18 Mark Kettenis <kettenis@gnu.org>
3548
3549 * Makefile.in (ALLDEPFILES): Remove core-sol2.c.
3550 (core-sol2.o): Remove dependency.
3551 * core-sol2.c: Remove file.
3552
3553 2004-01-17 Andrew Cagney <cagney@redhat.com>
3554
3555 * mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
3556 * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
3557 enums.
3558
3559 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
3560
3561 * remote.c: Update copyright years.
3562
3563 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
3564
3565 * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.
3566
3567 2004-01-17 Andrew Cagney <cagney@redhat.com>
3568
3569 * mdebugread.c: Update copyright.
3570 (parse_symbol): Replace DEPRECATED_STREQ with strcmp.
3571 (parse_type, parse_procedure): Ditto.
3572 (parse_partial_symbols, psymtab_to_symtab_1): Ditto.
3573
3574 * cris-tdep.c (cris_store_struct_return): Put back accidently
3575 deleted function.
3576
3577 * gdbarch.sh: Update copyright year.
3578 * gdbarch.h, gdbarch.c: Re-generate.
3579
3580 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
3581
3582 Suggested by George Anzinger.
3583 * dwarf2expr.c (execute_stack_op): Fetch the second item from the
3584 correct stack offset. Include unknown opcode numbers in the error
3585 message.
3586
3587 2004-01-17 Andrew Cagney <cagney@redhat.com>
3588
3589 * x86-64-tdep.c (x86_64_init_abi): No need to clear
3590 extract_struct_value_address, i386 does not set it.
3591 * sparc64-tdep.c (sparc64_init_abi): Do not set
3592 extract_struct_value_address, never called.
3593 (sparc64_extract_struct_value_address): Delete function.
3594 * m68hc11-tdep.c: Update copyright.
3595 (m68hc11_gdbarch_init): Delete redundant assignment of
3596 extract_struct_value_address.
3597 * i386-tdep.c: Update copyright.
3598 (i386_gdbarch_init): Do not set extract_struct_value_address,
3599 never called.
3600 (i386_extract_struct_value_address): Delete function.
3601 * sparc-tdep.c (sparc32_gdbarch_init): Do not set
3602 extract_struct_value_address, never called.
3603 (sparc32_extract_struct_value_address): #if 0 function. Add
3604 comments explaining its future.
3605
3606 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
3607
3608 * arm-tdep.c (arm_write_pc): New function.
3609 (arm_gdbarch_init): Call set_gdbarch_write_pc.
3610
3611 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
3612
3613 * breakpoint.c (must_shift_inst_regs): Delete.
3614 (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
3615 and SHIFT_INST_REGS.
3616 * infcmd.c (step_1, step_1_continuation): Delete references to
3617 SHIFT_INST_REGS.
3618 * infrun.c (keep_going): Likewise.
3619 * target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
3620 * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
3621
3622 2004-01-17 Andrew Cagney <cagney@redhat.com>
3623
3624 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
3625 * gdbarch.h, gdbarch.c: Re-generate.
3626 * infcmd.c (print_return_value): Delete reference to
3627 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
3628
3629 * cris-tdep.c (cris_gdbarch_init): Do not set
3630 deprecated_extract_struct_value_address.
3631
3632 * xstormy16-tdep.c: Update copyright.
3633 (xstormy16_extract_struct_value_address): Update to current
3634 extract struct value address interface.
3635 (xstormy16_gdbarch_init): Set extract_struct_value_address.
3636 * sh64-tdep.c (sh64_extract_struct_value_address): Update to
3637 current extract struct value address interface.
3638 (sh64_gdbarch_init): Set extract_struct_value_address.
3639
3640 * cris-tdep.c: Update copyright.
3641 (cris_extract_struct_value_address): Delete function.
3642 (struct_return_address): Delete variable.
3643 (cris_store_struct_return): Do not set struct_return_address.
3644
3645 * mcore-tdep.c: Update copyright.
3646 (mcore_extract_struct_value_address): Delete function. Update
3647 comments.
3648 (mcore_gdbarch_init): Update.
3649 * mn10300-tdep.c: Update copyright.
3650 (mn10300_extract_struct_value_address): Delete function.
3651 (mn10300_gdbarch_init): Update.
3652 * v850-tdep.c: Update copyright.
3653 (v850_extract_struct_value_address): Delete.
3654 (v850_gdbarch_init): Update.
3655 * ns32k-tdep.c: Update copyright.
3656 (ns32k_extract_struct_value_address): Delete.
3657 (ns32k_gdbarch_init): Update.
3658 * hppa-tdep.c (hppa_extract_struct_value_address): Delete.
3659 (hppa_gdbarch_init): Update.
3660 * vax-tdep.c: Update copyright.
3661 (vax_extract_struct_value_address): Delete.
3662 (vax_gdbarch_init): Update.
3663
3664 * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
3665 * gdbarch.h, gdbarch.c: Re-generate.
3666 * procfs.c (procfs_fetch_registers): Delete reference to
3667 DEPRECATED_NPC_REGNUM.
3668 (procfs_store_registers): Ditto.
3669 * regcache.c (generic_target_write_pc): Simplify.
3670 * lynx-nat.c: Delete #ifdef SPARC code. Not used.
3671
3672 * core-sol2.c (fetch_core_registers): Replace
3673 DEPRECATED_NPC_REGNUM with equivalent tdep value.
3674
3675 * hppa-tdep.c: Update copyright year.
3676 (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of
3677 NPC_REGNUM.
3678 (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
3679
3680 * mips-tdep.c (mips_write_pc): New function.
3681 (mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
3682 (mips_read_pc): Use mips_regnum instead of PC_REGNUM.
3683 (mips_find_saved_regs, mips_software_single_step: Ditto.
3684 (mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
3685 mips_init_extra_frame_info, mips_pop_frame): Ditto.
3686
3687 2004-01-17 Andrew Cagney <cagney@redhat.com>
3688
3689 * mips-tdep.c: Re-indent. Group functions by ABI.
3690
3691 2004-01-17 Andrew Cagney <cagney@redhat.com>
3692
3693 * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
3694 * gdbarch.c: Re-generate.
3695 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
3696 DECR_PC_AFTER_BREAK to zero.
3697 * vax-tdep.c (vax_gdbarch_init): Ditto.
3698 * v850-tdep.c (v850_gdbarch_init): Ditto.
3699 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
3700 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
3701 * sh-tdep.c (sh_gdbarch_init): Ditto.
3702 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
3703 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
3704 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3705 * mips-tdep.c (mips_gdbarch_init): Ditto.
3706 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3707 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3708 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
3709 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
3710 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
3711 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
3712 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
3713 * frv-tdep.c (frv_gdbarch_init): Ditto.
3714 * cris-tdep.c (cris_gdbarch_init): Ditto.
3715 * avr-tdep.c (avr_gdbarch_init): Ditto.
3716 * arm-tdep.c (arm_gdbarch_init): Ditto.
3717 * i386-nto-tdep.c (i386nto_init_abi): Add comment.
3718
3719 2004-01-17 J. Brobecker <brobecker@gnat.com>
3720
3721 * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
3722 Delete, no longer used.
3723 (read_subrange_type): New function, mostly extracted from
3724 read_array_type().
3725 (read_array_type): Replace extracted code by call to
3726 read_subrange_type().
3727 (dwarf2_get_attr_constant_value): New function.
3728 (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
3729 (add_partial_symbol): Likewise.
3730 (process_die): Likewise.
3731 (new_symbol): Likewise.
3732 (read_type_die): Likewise.
3733
3734 2004-01-16 Andrew Cagney <cagney@redhat.com>
3735
3736 * symfile.c: Update copyright year.
3737 (compare_symbols): Delete unused function.
3738 * stabsread.c: Update copyright year.
3739 (lrs_general_complaint): Delete unused function.
3740 (ref_search_value): Ditto.
3741 (get_substring): Delete declaration.
3742 * sh64-tdep.c: Update copyright year.
3743 (sh64_get_gdb_regnum): Delete unused function.
3744 * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
3745 Delete unused function.
3746
3747 2004-01-17 Mark Kettenis <kettenis@gnu.org>
3748
3749 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
3750 * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
3751
3752 2004-01-16 Andrew Cagney <cagney@redhat.com>
3753
3754 Changes from Peter Schauer.
3755 * rs6000-tdep.c: Update copyright year.
3756 (rs6000_push_dummy_call): Update the stack pointer before
3757 accessing the corresponding stack region.
3758 * rs6000-nat.c: Update copyright year.
3759 (set_host_arch): Set "info.abfd" to "exec_bfd".
3760
3761 2004-01-15 Mark Kettenis <kettenis@gnu.org>
3762
3763 * blockframe.c: Update copyright year.
3764 (inside_entry_func): Don't treat a zero PC specially.
3765
3766 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
3767
3768 * gcore.c (gcore_copy_callback): Use paddr_d to print size
3769 variable.
3770 (gcore_create_callback): Ditto. Skip any memory segment that has
3771 no permissions set.
3772
3773 2004-01-14 David Carlton <carlton@kealia.com>
3774
3775 Change symbols for C++ nested types to contain the fully qualified
3776 name, if possible. (At least in the DWARF-2 case.) Partial fix
3777 for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
3778 c++/895.
3779 * c-exp.y (qualified_type): Handle types nested within classes.
3780 * cp-namespace.c: Update comments.
3781 (cp_set_block_scope): Delete #if 0.
3782 (cp_lookup_nested_type): Handle types nested within classes.
3783 * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
3784 when appropriate.
3785 (add_partial_symbol): Add the name of the enclosing namespace to
3786 types.
3787 (pdi_needs_namespace): New.
3788 (add_partial_namespace): Tweak comment.
3789 (add_partial_structure): New.
3790 (psymtab_to_symtab_1): Initialize processing_current_prefix
3791 here...
3792 (process_die): instead of here.
3793 (read_structure_scope): Try to figure out the name of the class or
3794 namespace that the structure might be defined within.
3795 (read_enumeration): Generate fully-qualified names, if possible.
3796 (read_namespace): Don't set name to NULL.
3797 (die_specification): New.
3798 (new_symbol): Generate fully-qualified names for types.
3799 (read_type_die): Determine appropriate prefix.
3800 (determine_prefix): New.
3801 (typename_concat): New.
3802 (class_name): New.
3803 * valops.c (value_aggregate_elt): Pass NOSIDE to
3804 value_struct_elt_for_reference.
3805 (value_struct_elt_for_reference): Make static, add NOSIDE
3806 parameter, call value_maybe_namespace_elt as a last resort.
3807 (value_namespace_elt): Break out code into
3808 value_maybe_namespace_elt.
3809 (value_maybe_namespace_elt): New.
3810
3811 2004-01-12 Andrew Cagney <cagney@redhat.com>
3812
3813 * mips-tdep.c (mips_convert_register_p): Handle both raw and
3814 cooked floating-point registers.
3815 (mips_gdbarch_init): Set convert_register_p, register_to_value,
3816 and value_to_register.
3817
3818 2004-01-13 Andrew Cagney <cagney@redhat.com>
3819
3820 * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
3821 * gdbarch.c: Re-generate.
3822 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
3823 FUNCTION_START_OFFSET.
3824 * v850-tdep.c (v850_gdbarch_init): Ditto.
3825 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
3826 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
3827 * sh-tdep.c (sh_gdbarch_init): Ditto.
3828 * s390-tdep.c (s390_gdbarch_init): Ditto.
3829 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
3830 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
3831 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3832 * mips-tdep.c (mips_gdbarch_init): Ditto.
3833 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3834 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
3835 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3836 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
3837 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
3838 * i386-tdep.c (i386_gdbarch_init): Ditto.
3839 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
3840 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
3841 * frv-tdep.c (frv_gdbarch_init): Ditto.
3842 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
3843 * cris-tdep.c (cris_gdbarch_init): Ditto.
3844 * avr-tdep.c (avr_gdbarch_init): Ditto.
3845 * arm-tdep.c (arm_gdbarch_init): Ditto.
3846 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
3847
3848 2004-01-13 Daniel Jacobowitz <drow@mvista.com>
3849
3850 * infrun.c (follow_fork_mode_ask): Remove.
3851 (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
3852 (follow_fork): Simplify and remove internal error for
3853 follow_fork_mode_ask.
3854 (_initialize_infrun): Update "set follow-fork-mode" help text.
3855
3856 2004-01-13 Andrew Cagney <cagney@redhat.com>
3857
3858 * configure.in: Update copyright year.
3859 (build_warnings): Add -Wunused-label.
3860 * configure: Re-generate.
3861
3862 2004-01-12 Andrew Cagney <cagney@redhat.com>
3863
3864 * exec.h (exec_ops): Make "extern".
3865
3866 * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
3867 the function is void.
3868 (mips_pseudo_register_write): Ditto.
3869
3870 2004-01-12 Andrew Cagney <cagney@redhat.com>
3871
3872 * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
3873 call. Never defined.
3874 * sparc-tdep.h (struct frame_info): Add opaque declaration.
3875 * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
3876 (struct sparc_gregset, struct regcache): Ditto.
3877 * sparc-nat.c: Update copyright. Specify "GNU/Linux".
3878
3879 2004-01-12 Andrew Cagney <cagney@redhat.com>
3880
3881 * mi/ChangeLog: Delete file. Renamed to ...
3882 * mi/ChangeLog-1999-2003: New file.
3883 * tui/ChangeLog: Delete file. Renamed to ...
3884 * tui/ChangeLog-1998-2003: New file.
3885
3886 2004-01-11 Mark Kettenis <kettenis@gnu.org>
3887
3888 * sparc64nbsd-tdep.c: Include "regset.h".
3889 (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
3890 Remove variables.
3891 (fetch_core_registers): Remove function.
3892 (sparc64nbsd_core_fns): Remove variable.
3893 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
3894 functions.
3895 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
3896 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
3897 (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
3898
3899 * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
3900 sparc_extract_struct_value_address.
3901 (sparc32_gdbarch_init): Set extract_struct_value_address.
3902 * sparc64-tdep.c (sparc64_extract_struct_value_address): New
3903 function.
3904 (sparc64_init_abi): Set extract_struct_value_address. Don't set
3905 return_value_on_stack.
3906
3907 * NEWS: Mention that %cs and %ss have been added to the AMD64
3908 configurations
3909
3910 * frame.c: Update copyright year.
3911 (get_prev_frame): Improve comment.
3912
3913 * sparc64fbsd-tdep.c: Include "regset.h".
3914 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
3915 Remove variables.
3916 (fetch_core_registers): Remove function.
3917 (sparc64fbsd_core_fns): Remove variable.
3918 (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
3919 functions.
3920 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
3921 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
3922 (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
3923
3924 * sparcnbsd-tdep.c: Include "regset.h".
3925 (fetch_core_registers): Remove function.
3926 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
3927 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
3928 functions.
3929 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
3930 TDEP->fpregset.
3931 (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
3932
3933 * sparc-tdep.h (struct regset): Provide opaque declaration.
3934 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
3935 fpregset and sizeof_fpregset members.
3936 * sparc-tdep.c (struct regset): Provide opaque declaration.
3937 (sparc_regset_from_core_section): New function.
3938 (sparc32_gdbarch_init): Initialize TDEP->gregset,
3939 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
3940 Set regset_from_core_section when appropriate.
3941
3942 2004-01-10 Mark Kettenis <kettenis@gnu.org>
3943
3944 * x86-64-tdep.c (amd64_non_pod_p): New function.
3945 (amd64_classify_aggregate): Return class memory for non-POD
3946 C++ structure types.
3947
3948 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
3949 argument. Use it to reserve a register if necessary.
3950 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
3951 amd64_push_arguments.
3952
3953 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
3954
3955 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
3956 register numbers in comments.
3957 * x86-64-tdep.h: Update copyright year.
3958 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
3959 Adjust for addition of %cs and %ss.
3960 * amd64fbsd-nat.c: Update copyright year.
3961 (reg_offset): Add register offsets for %cs and %ss.
3962 * amd64fbsd-tdep.c: Update copyright year.
3963 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
3964 (amd64fbsd_sc_reg_offset): Likewise.
3965 * x86-64-linux-nat.c: Update copyright year.
3966 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
3967 and %ss.
3968 * amd64nbsd-nat.c: Update copyright year.
3969 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
3970 * amd64nbsd-tdep.c: Update copyright year.
3971 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
3972 * x86-64-linux-tdep.c: Update copyright year.
3973 (user_to_gdb_regmap): Add mapping for %cs and %ss.
3974 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
3975 * regformats/reg-x86-64.dat: Add %cs and %ss.
3976
3977 * blockframe.c (inside_entry_func): Reformat. Introduce new local
3978 variables to prevent long lines. Update comments to reflect
3979 reality.
3980
3981 2004-01-09 David Carlton <carlton@kealia.com>
3982
3983 Checked in by Elena Zannoni <ezannoni@redhat.com>.
3984 * dwarf2read.c (read_namespace): Pull out name-generating code
3985 into namespace_name. Rename previous_namespace to previous_prefix
3986 and processing_current_namespace to processing_current_prefix..
3987 (namespace_name): New function.
3988 (add_partial_symbol): Substitute uses of pdi->name with
3989 actual_name.
3990 * cp-support.h: Rename processing_current_namespace to
3991 processing_current_prefix.
3992 Update copyright year.
3993 * cp-namespace.c: Rename processing_current_namespace to
3994 processing_current_prefix.
3995 Update copyright year.
3996
3997 2004-01-09 Andrew Cagney <cagney@redhat.com>
3998
3999 * jv-valprint.c, ser-unix.c: Add missing copyright years.
4000
4001 2004-01-09 Mark Kettenis <kettenis@gnu.org>
4002
4003 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
4004 complaining.
4005 (process_one_symbol): Deal with N_PATCH stabs.
4006
4007 2004-01-09 Elena Zannoni <ezannoni@redhat.com>
4008
4009 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
4010 ifdeffed code.
4011 Update copyright year.
4012
4013 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
4014
4015 * config/pa/tm-hppa.h: Update extern declarations for
4016 hppa32_hpux_frame_saved_pc_in_sigtramp,
4017 hppa32_hpux_frame_base_before_sigtramp, and
4018 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
4019
4020 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
4021
4022 * config/pa/tm-hppah.h: Update copyright years.
4023
4024 2004-01-08 Andrew Cagney <cagney@redhat.com>
4025
4026 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
4027 (mips_o32_reg_struct_has_addr): Delete function.
4028 (mips_gdbarch_init): Update.
4029 (mips_extract_struct_value_address): Delete function.
4030
4031 2004-01-08 David Mosberger <davidm@hpl.hp.com>
4032
4033 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
4034 reality.
4035
4036 2004-01-07 Andrew Cagney <cagney@redhat.com>
4037
4038 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
4039 architecture's elf flags (when available).
4040
4041 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
4042 FPU to the start, check the MIPS FPU when looking for an old
4043 architecture.
4044 (set_mipsfpu_single_command): Update the architecture.
4045 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
4046
4047 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
4048 (mips_mask_address_p): Add "tdep" parameter.
4049 (show_mask_address, mips_addr_bits_remove): Update.
4050 (mips_dump_tdep): Update.
4051 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
4052 (MIPS_STACK_ARGSIZE): Delete macro.
4053 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
4054 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
4055 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
4056 (mips_dump_tdep): Update.
4057 (MIPS_SAVED_REGSIZE): Delete macro.
4058 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
4059 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
4060 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
4061 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
4062 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
4063 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
4064 (mips_pop_frame, return_value_location): Update.
4065 (mips_n32n64_return_value, mips_dump_tdep): Update.
4066
4067 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
4068 MIPS ABI.
4069
4070 * mips-tdep.c: Update copyright.
4071 (mips_gdbarch_init): Merge two code blocks handling the register
4072 name and number layout.
4073
4074 2004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
4075
4076 * tracepoint.c (validate_actionline): Fix segv at EOF
4077
4078 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
4079
4080 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
4081 properly for static fields.
4082
4083 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
4084 Jason Molenda <jmolenda@apple.com>
4085
4086 * disasm.c: Update copyright to include 2004.
4087 (do_mixed_source_and_assembly): For uiout asm list
4088 and tuple cleanups, initialize to null_cleanup instead of
4089 NULL and do so prior to loop. Only reset when we close off
4090 the tuple/list. Move check for whether to close off the
4091 asm tuple/list to after dump_insns call where it will be run
4092 on each loop iteration.
4093
4094 2004-01-05 Andrew Cagney <cagney@redhat.com>
4095
4096 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
4097 should be a switch case and not a label.
4098 * mips-tdep.c (mips32_next_pc): Delete unused labels
4099 "greater_equal_branch" and "less_zero_branch".
4100 * jv-valprint.c (java_print_value_fields): Delete unused label
4101 "flush_it".
4102
4103 * target.c (unpush_target): Only close a target that is in the
4104 target stack.
4105
4106 2004-01-05 Mark Kettenis <kettenis@gnu.org>
4107
4108 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
4109 address from [sp + 64] instead of %o2.
4110
4111 * frame.c (get_prev_frame): Don't try to unwind the PC. This
4112 fixes PR backtrace/1476.
4113
4114 2004-01-05 Andrew Cagney <cagney@redhat.com>
4115
4116 * libunwind-frame.h (struct frame_id): Add opaque declaration,
4117 move to start of file.
4118 * i386-tdep.h (struct regcache): Add opaque declaration.
4119 * config/ia64/nm-linux.h (struct target_ops): Add opaque
4120 declaration.
4121 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
4122 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
4123 * win32-nat.c (fake_create_process): Use ISO C style definition.
4124 * stabsread.c (define_symbol): Delete #ifndef
4125 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
4126 stabs_argument_has_addr call, macro never defined.
4127
4128 2004-01-04 Michael Chastain <mec.gnu@mindspring.com>
4129
4130 * op50-rom.c: Delete.
4131 * w89k-rom.c: Delete.
4132 * Makefile.in: Remove references.
4133
4134 2004-01-04 Mark Kettenis <kettenis@gnu.org>
4135
4136 * x86-64-tdep.c: Update copyright year.
4137 (struct amd64_register_info): Rename from x86_64_register_info.
4138 (amd64_register_info): Rename from x86_64_register_info.
4139 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
4140 (amd64_register_name): Rename from x86_64_register_name.
4141 (amd64_register_type): Rename from x86_64_register_type.
4142 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
4143 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
4144 (amd64_dwarf_reg_to_regnum): Rename from
4145 x86_64_dwarf_reg_to_regnum.
4146 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
4147 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
4148 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
4149 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
4150 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
4151 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
4152 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
4153 (amd64_frame_cache): Rename from x86_64_frame_cache.
4154 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
4155 (amd64_frame_prev_register): Rename from
4156 x86_64_frame_prev_register.
4157 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
4158 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
4159 (amd64_sigtramp_frame_cache): Rename from
4160 x86_64_sigtramp_frame_cache.
4161 (amd64_sigtramp_frame_prev_register): Rename from
4162 x86_64_sigtramp_frame_prev_register.
4163 (amd64_sigtramp_frame_unwind): Rename from
4164 x86_64_sigtramp_frame_unwind.
4165 (amd64_sigtramp_frame_sniffer): Rename from
4166 x86_64_sigtramp_frame_sniffer.
4167 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
4168 (amd64_frame_base): Rename from x86_64_frame_base.
4169 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
4170 (amd64_frame_align): Rename from x86_64_frame_align.
4171 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
4172 (amd64_regset_from_core_section): Rename from
4173 x86_64_regset_from_core_section.
4174 (x86_64_init_abi): Update comments.
4175
4176 2004-01-04 Nick Roberts <nick@nick.uklinux.net>
4177
4178 * MAINTAINERS (write after approval): Add myself.
4179
4180 2004-01-04 Mark Kettenis <kettenis@gnu.org>
4181
4182 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
4183 `float' arguments.
4184
4185 2004-01-04 Mark Kettenis <kettenis@gnu.org>
4186
4187 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
4188 such that it mentions a specific version of GCC that exhibits this
4189 bug.
4190
4191 2004-01-03 Mark Kettenis <kettenis@gnu.org>
4192
4193 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
4194 structure that has a single `float' member, store it in %f1 in
4195 addition to %f0.
4196
4197 * sparc-sol2-nat.c: Add missing '\'.
4198
4199 * sparc-tdep.c (sparc32_return_value): New function.
4200 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
4201 Remove functions.
4202 (sparc32_gdbarch_init): Set return_value, don't set
4203 extract_return_value, store_return_value, use_struct_convention
4204 and return_value_on_stack.
4205
4206 * sparc-sol2-nat.c: Add missing ')'.
4207
4208 2004-01-03 J. Brobecker <brobecker@gnat.com>
4209
4210 * infrun.c (handle_step_into_function): New function.
4211 (handle_inferior_event): Extract out some code into the new
4212 function above.
4213
4214 2004-01-03 J. Brobecker <brobecker@gnat.com>
4215
4216 * infrun.c (handle_inferior_event): Move the declaration of
4217 real_stop_pc inside the if blocks where it is used.
4218
4219 2004-01-03 Mark Kettenis <kettenis@gnu.org>
4220
4221 * sparc64-tdep.c (sparc64_16_byte_align_p)
4222 (sparc64_store_floating_fields, sparc64_store_floating_fields):
4223 Use check_typedef to get subtypes of structures and unions.
4224 (sparc64_store_return_value): Fix calculation of the appropriate
4225 offset into VALBUF when storing a structure or union.
4226 (sparc64_return_value): New function.
4227 (sparc64_use_struct_convention): Remove function.
4228 (sparc64_init_abi): Set return_value, don't set
4229 extract_return_value, store_return_value and
4230 use_struct_convention.
4231
4232 2004-01-03 Eli Zaretskii <eliz@elta.co.il>
4233
4234 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
4235 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
4236 gdb/config/alpha/xm-alphaosf.h,
4237 gdb/config/powerpc/tm-ppcle-eabi.h,
4238 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
4239 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
4240 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
4241 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
4242 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
4243 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
4244 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
4245 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
4246 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
4247 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
4248 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
4249 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
4250 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
4251 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
4252 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
4253 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
4254 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
4255 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
4256 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
4257 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
4258 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
4259 Remove lines for .cvsignore files.
4260
4261 2004-01-03 J. Brobecker <brobecker@gnat.com>
4262
4263 * infrun.c: Back out the previous change.
4264
4265 2004-01-03 Mark Kettenis <kettenis@gnu.org>
4266
4267 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
4268 sparc-*-sunos4* to the list of REMOVED configurations.
4269
4270 * configure.tgt: Add back sparc-*-vxworks*.
4271 * remote-vxsparc.c: Remove all includes except for "defs.h",
4272 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
4273 Include "sparc-tdep.h".
4274 (SPARC_R_G1): New define.
4275 (vxsparc_gregset): New variable.
4276 (ext_format_sparc): Remove extern declaration.
4277 (vx_read_register): Rewrite to use sparc32_supply_gregset and
4278 sparc32_supply_fpregset.
4279 (vx_write_register): Rewrite to use sparc32_collect_gregset,
4280 sparc_collect_rwindow and sparc32_collect_fpregset.
4281 * config/sparc/tm-vxworks.h: New file, based on recently removed
4282 tm-vxsparc.h.
4283 * config/sparc/vxworks.mt: New file, based on recently removed
4284 vxworks.mt.
4285
4286 2004-01-03 J. Brobecker <brobecker@gnat.com>
4287
4288 * infrun.c (handle_step_into_function): New function.
4289 (handle_inferior_event): Extract out some code into the new
4290 function above.
4291
4292 2004-01-02 Mark Kettenis <kettenis@gnu.org>
4293
4294 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
4295 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
4296 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
4297 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
4298 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
4299 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
4300 (sparc_nat_h): New variable.
4301 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
4302 (tm-sun4os4.h): Remove dependency.
4303 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
4304 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
4305 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
4306 sparc-tdep.o): Update dependencies.
4307 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
4308 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
4309 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
4310 dependencies.
4311 * configure.host: Remove existing sparc-*-lynxos*,
4312 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
4313 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
4314 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
4315 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
4316 triplets.
4317 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
4318 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
4319 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
4320 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
4321 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
4322 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
4323 sparc64-*-solaris2* and sparc64-*-* triplets.
4324 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
4325 "symtab.h" and "objfiles.h".
4326 (BIAS): Remove define.
4327 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
4328 (X_DISP19): Remove macros.
4329 (sparc_fetch_instruction): Remove function.
4330 (struct gdbarch_tdep): Remove definition.
4331 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
4332 (sparc_breakpoint_from_pc): Remove function.
4333 (struct sparc64_frame_cache): Remove definition.
4334 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
4335 sparc64_unwind_pc): Remove functions.
4336 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
4337 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
4338 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
4339 (sparc64_frame_cache): Change return type to `struct
4340 sparc_frame_cache *'. Simply call sparc_frame_cache.
4341 (sparc64_frame_this_id, sparc64_frame_prev_register,
4342 sparc64_frame_base_address): Use `struct sparc_frame_cache'
4343 instead of `struct sparc64_frame_cache.
4344 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
4345 sparc_analyze_control_transfer, sparc_software_single_step,
4346 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
4347 _initialize_sparc64_tdep): Remove functions.
4348 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
4349 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
4350 macros.
4351 (sparc64_supply_gregset, sparc64_collect_gregset,
4352 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
4353 (sparc64_init_abi): New function.
4354 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
4355 inclusion guard. Include "sparc-tdep.h".
4356 (BIAS): Define.
4357 (r_tstate_offset, r_fprs_offset): New defines.
4358 (enum sparc_regnum): Remove defenition.
4359 (enum sparc64_regnum): Reformat.
4360 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
4361 (sparc64_init_abi, sparc64_supply_gregset,
4362 sparc64_collect_gregset, sparc64_supply_fpregset,
4363 sparc64_collect_fpregset): New prototypes.
4364 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
4365 Add extern declarations.
4366 (sparc64_sol2_init_abi): New prototype.
4367 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
4368 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
4369 prototypes.
4370 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
4371 "sparnbsd-nat.h".
4372 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
4373 functions.
4374 (_initialize_sparc64fbsd_nat): Remove initialization of
4375 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
4376 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
4377 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
4378 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
4379 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
4380 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
4381 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
4382 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
4383 (sparc64fbsd_r_y_offset): Remove variables.
4384 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
4385 Make static and const.
4386 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
4387 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
4388 functions.
4389 (sparc64fbsd_gregset): New variable.
4390 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
4391 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
4392 and sparc64_supply_fpregset.
4393 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
4394 (sparc64fbsd_sigtramp_frame_this_id)
4395 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
4396 (sparc64fbsd_sigtramp_frame_unwind): New variable.
4397 (sparc64fbsd_sigtramp_frame_sniffer): New function.
4398 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
4399 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
4400 * sparcnbsd-tdep.c: Update copyright year. Include
4401 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
4402 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
4403 "value.h" and "sparcnbsd-tdep.h".
4404 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
4405 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
4406 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
4407 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
4408 defines.
4409 (sparcnbsd_gregset): New variable.
4410 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
4411 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
4412 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
4413 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
4414 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
4415 variables.
4416 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
4417 (sparc32nbsd_sigcontext_frame_this_id)
4418 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
4419 (sparc32nbsd_sigcontext_frame_unwind): New variable.
4420 (sparc32nbsd_sigtramp_frame_sniffer): New function.
4421 (sparcnbsd_get_longjmp_target_32,
4422 sparcnbsd_get_longjmp_target_64): Remove functions.
4423 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
4424 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
4425 sparcnbsd_init_elf): Remove.
4426 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
4427 (sparcnbsd_elf_init_abi): New functions.
4428 (_initialize_sparcnbsd_tdep): New prototype.
4429 (_initialize_sparnbsd_tdep): Update.
4430 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
4431 corelow.o. Add sparc64-nat.o and sparc-nat.o.
4432 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
4433 * config/sparc/linux.mh: Update comment.
4434 (XM_FILE, HOST_IPC): Remove variables.
4435 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
4436 sparc-linux-nat.o.
4437 * config/sparc/linux.mt: Update comment.
4438 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
4439 * config/sparc/nbsd.mt: Reformat.
4440 * config/sparc/nbsd64.mh: Update comment.
4441 (NATDEPFILES): Add sparc-nat.o.
4442 * config/sparc/nbsd64.mt: Update comment.
4443 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
4444 (TM_FILE): Set to tm-nbsd.h.
4445 * config/sparc/nbsdelf.mh: Update comment.
4446 (NATDEPFILES): Add sparc-nat.o.
4447 (XM_FILE): Delete.
4448 * config/sparc/nbsdaout.mh: Update comment.
4449 (NATDEPFILES): Add sparc-nat.o
4450 (XM_FILE): Delete.
4451 * config/sparc/nm-linux.h: Update copyright year. Don't include
4452 "config/nm-svr4.h" and "solib.h". Add protection against multiple
4453 inclusion.
4454 (KERNEL_U_SIZE): Remove define.
4455 (kernel_u_size): Remove prototype.
4456 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
4457 * config/sparc/nm-nbsd.h: Update copyright. Don't include
4458 "regcache.h".
4459 (CHILD_PREPARE_TO_STORE): Remove define.
4460 * config/sparc/nm-nbsdaout.h: Tweak some comments.
4461 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
4462 sparcnbsd-nat.c: Rewrite files.
4463 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
4464 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
4465 sparcnbsd-tdep.h: Remove files.
4466 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
4467 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
4468 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
4469 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
4470 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
4471 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
4472 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
4473 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
4474 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
4475 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
4476 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
4477 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
4478 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
4479 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
4480 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
4481 * config/sparc/linux64.mh, config/sparc/linux64.mt,
4482 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
4483 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
4484 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
4485
4486 2004-01-02 Andrew Cagney <cagney@redhat.com>
4487
4488 From 2003-12-18 Kazuhiro Inaoka:
4489 * configure.host: Add m32r-linux target.
4490
4491 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
4492
4493 * top.c (print_gdb_version): Update year to 2004.
4494
4495 2004-01-02 Mark Mitchell <mark@codesourcery.com>
4496
4497 * MAINTAINERS: Add myself to the write-after-approval category.
4498
4499 2004-01-02 Daniel Jacobowitz <drow@mvista.com>
4500
4501 From Bernardo Innocenti <bernie@develer.com>:
4502 * configure.tgt: Add uClinux target.
4503
4504 2004-01-02 Andrew Cagney <cagney@redhat.com>
4505
4506 * utils.c (do_my_cleanups): Make static, add forward declaration.
4507 * defs.h (do_my_cleanups): Delete declaration.
4508
4509 2004-01-02 Eli Zaretskii <eliz@elta.co.il>
4510
4511 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
4512 bfd/ChangeLog-0203.
4513
4514 2004-01-02 Mark Kettenis <kettenis@gnu.org>
4515
4516 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
4517 in <machine/reg.h>.
4518 * configure, config.in: Regenerate.
4519
4520 For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
4521 tui/ChangeLog-1998-2003.
4522 \f
4523 Local Variables:
4524 mode: change-log
4525 left-margin: 8
4526 fill-column: 74
4527 version-control: never
4528 End:
This page took 0.143609 seconds and 3 git commands to generate.