* stabsread.c (read_type): If we find any type numbers that are
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
8cfe231d
JB
12004-02-17 Jim Blandy <jimb@redhat.com>
2
3 * stabsread.c (read_type): If we find any type numbers that are
4 forward references, complain if the references aren't resolved by
5 the time we're finished reading.
6 (cleanup_undefined_types): Make error message more appropriate for
7 a complaint.
8
5bf0017e
EZ
92004-02-17 Elena Zannoni <ezannoni@redhat.com>
10
9d62932d
EZ
11 * Makefile.in (defs_h): Remove dependency on progress_h.
12 * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of
13 progress.h.
14 * main.c (captured_main): Delete use of START_PROGRESS and
15 END_PROGRESS.
16
172004-02-17 Elena Zannoni <ezannoni@redhat.com>
18
5bf0017e
EZ
19 * objfiles.c (terminate_minimal_symbol_table): Add back
20 initialization of MSYMBOL_TYPE.
21
9fc9f5e2
AC
222004-02-17 David Mosberger <davidm@hpl.hp.com>
23
24 Committed by Andrew Cagney.
25 * Makefile.in (ia64_tdep_h): New macro.
26 (ia64-linux-tdep.o): Mention $(ia64_tdep_h).
27 (ia64-tdep.o): Likewise.
28 * ia64-tdep.h: New file.
29 * ia64-tdep.c: Update copyright notice. Include "ia64-tdep.h".
30 (ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h.
31 (ia64_aix_sigcontext_register_address): Likewise.
32 (ia64_linux_getunwind_table): Delete declaration.
33 * ia64-linux-tdep.c: Likewise.
34
76cd2bd9
CV
352004-02-17 Corinna Vinschen <vinschen@redhat.com>
36
37 * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM.
38 * sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to
39 DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM.
40
634aa483
AC
412004-02-17 Andrew Cagney <cagney@redhat.com>
42
43 * symtab.c (skip_prologue_using_sal): New function.
44 * symtab.h (skip_prologue_using_sal): Declare.
45 * frv-tdep.c: Include "symtab.h".
46 (skip_prologue_using_sal): Delete function.
47 * mips-tdep.c (skip_prologue_using_sal): Delete function.
48 * rs6000-tdep.c (refine_prologue_limit): Mention
49 skip_prologue_using_sal.
50 * ia64-tdep.c (refine_prologue_limit): Ditto.
51 * Makefile.in: Update dependencies.
52
532004-02-16 Andrew Cagney <cagney@redhat.com>
19772a2c 54
39ce7b3f
AC
55 * config/alpha/tm-nbsd.h: Update copyright, delete #undef
56 START_INFERIOR_TRAPS_EXPECTED.
57 * config/alpha/tm-fbsd.h: Update copyright, delete #undef
58 START_INFERIOR_TRAPS_EXPECTED.
59 * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED):
60 Delete macro.
61 * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete
62 macro, moved to "nm-osf.h". Update copyright.
63 * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define,
64 update copyright.
65
19772a2c
AC
66 * gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate
67 and function replacing FRAMELESS_FUNCTION_INVOCATION.
68 * blockframe.c (legacy_frameless_look_for_prologue): Rename
69 frameless_look_for_prologue.
70 * frame.h (legacy_frameless_look_for_prologue): Rename
71 frameless_look_for_prologue.
72 * gdbarch.h, gdbarch.c: Re-generate.
73 * sh64-tdep.c (sh64_gdbarch_init): Update.
74 * sh-tdep.c (sh_gdbarch_init): Update.
75 * s390-tdep.c (s390_gdbarch_init): Update.
76 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
77 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
78 * m68k-tdep.c (m68k_gdbarch_init): Update.
79 (delta68_frame_args_address): Update.
80 * m32r-tdep.c (m32r_gdbarch_init): Update.
81 * hppa-tdep.c (hppa_gdbarch_init): Update.
82 * h8300-tdep.c (h8300_gdbarch_init): Update.
83 * frv-tdep.c (frv_gdbarch_init): Update.
84 (frv_frameless_function_invocation): Update.
85 * cris-tdep.c (cris_gdbarch_init): Update.
86 (cris_frameless_function_invocation): Update.
87 * avr-tdep.c (avr_gdbarch_init): Update.
88 * arm-tdep.c (arm_gdbarch_init): Update.
89 * stack.c (frame_info): Update, call predicate.
90 * rs6000-tdep.c (rs6000_frame_chain): Update, call predicate..
91 * frame.c (legacy_get_prev_frame): Update, call predicate..
92 * arch-utils.c (generic_frameless_function_invocation_not): Delete.
93 * arch-utils.h (generic_frameless_function_invocation_not): Delete.
94 * alpha-tdep.c (alpha_gdbarch_init): Do not set frameless function
95 invocation.
96 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
97 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
98 * vax-tdep.c (vax_gdbarch_init): Ditto.
2be8b3c1
AC
99
100 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused
101 function.
102
7dcaac91
DJ
1032004-02-16 Daniel Jacobowitz <drow@mvista.com>
104
105 * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
106 initializations.
107
88289b6e
AC
1082004-02-16 Andrew Cagney <cagney@redhat.com>
109
110 * tui/tui-windata.c: Include "gdb_string.h".
111 * tui/tui-source.c, tui/tui-winsource.c: Ditto.
112 * tui/tui-layout.c, tui/tui-command.c: Ditto.
113 * Makefile.in: Update dependencies.
114
9f976b41
DJ
1152004-02-16 Daniel Jacobowitz <drow@mvista.com>
116
117 * Makefile.in (infrun.o): Add $(gdb_assert_h).
118 * infrun.c: Include "gdb_assert.h".
119 (singlestep_ptid, saved_singlestep_ptid)
120 (stepping_past_singlestep_breakpoint): New variables.
121 (resume): Set singlestep_ptid. Check for singlestep thread
122 hop.
123 (init_wait_for_inferior): Clear stepping_past_singlestep_breakpoint.
124 (handle_inferior_event): Handle singlestep thread hop.
125
c324d747
AC
1262004-02-16 Andrew Cagney <cagney@redhat.com>
127
f090b9b1
AC
128 * dwarf2-frame.c (dwarf2_frame_ops): New function.
129 (dwarf2_frame_set_init_reg): Use, instead of gdbarch_data.
130 (dwarf2_frame_init_reg): Ditto.
131
fd33e6cb
AC
132 * printcmd.c (display_command): Check that EXP isn't NULL. Fix
133 suggested by Joshua Neuheisel
134
c324d747
AC
135 * configure.in: Always check for curses, including pdcurses.
136 Warn, instead of error, when no curses are found. Enable TUI when
137 curses is available.
138 * configure: Re-generate.
139
b66ba949
CV
1402004-02-16 Corinna Vinschen <vinschen@redhat.com>
141
142 * sh-tdep.c (sh_register_convert_to_virtual): Rename from
143 sh_sh4_register_convert_to_virtual.
144 (sh_register_convert_to_raw): Rename from
145 sh_sh4_register_convert_to_raw.
146 (sh_pseudo_register_read): Accomodate above name change.
147 (sh_pseudo_register_write): Ditto.
148
b58cbbf2
CV
1492004-02-16 Corinna Vinschen <vinschen@redhat.com>
150
151 * sh-tdep.c (sh_generic_register_name): Remove.
152 (sh_gdbarch_init): Use sh_sh_register_name in default case.
153
5929a910
AC
1542004-02-15 Andrew Cagney <cagney@redhat.com>
155
4566dfcf
AC
156 * configure.in (build_warnings): Add -Wunused-function.
157 * configure: Re-generate.
158
db11ed55
AC
159 * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro.
160 * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto.
161
46ac7a5d
AC
162 * procfs.c (procfs_init_inferior): Assume that
163 START_INFERIOR_TRAPS_EXPECTED is defined.
164 * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h.
165 * config/ns32k/tm-nbsd.h: Delete file,
166 START_INFERIOR_TRAPS_EXPECTED already defined as 2.
167
ba801595
AC
168 * config/vax/tm-vaxbsd.h: Do not include "tm-vax.h".
169 * config/vax/tm-vax.h: Delete file.
170
5929a910
AC
171 * config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
172 * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
173 * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro.
174 * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
175 * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference.
176 * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
177 * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference.
178
8f22cb90
MK
1792004-02-15 Mark Kettenis <kettenis@gnu.org>
180
181 * dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype.
182 * dwarf2-frame.c (dwarf2_frame_data): New variable.
183 (struct dwarf2_frame_ops): New.
184 (dwarf2_frame_default_init_reg): New function, based on
185 dwarf2_frame_init_reg.
186 (dwarf2_frame_init, dwarf2_frame_set_init_reg): New function.
187 (dwarf2_frame_init_reg): Call architecture-specific function.
188 (dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data.
189 (dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data
190 instead of dwarf2_frame_data.
191 (_initialize_dwarf2_frame): Initailize new dwarf2_frame_data.
192 Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data.
193
8132723e
AC
1942004-02-15 Andrew Cagney <cagney@redhat.com>
195
046a4708
AC
196 * gdbarch.sh (deprecated_register_gdbarch_swap): Rename
197 register_gdbarch_swap.
198 (DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP.
199 * f-lang.c (_initialize_f_language): Update, use
200 DEPRECATED_REGISTER_GDBARCH_SWAP.
201 * remote.c (_initialize_remote): Ditto.
202 * regcache.c (_initialize_regcache): Ditto.
203 * parse.c (_initialize_parse): Ditto.
204 * infrun.c (_initialize_infrun): Ditto.
205 * mi/mi-main.c (_initialize_mi_main): Ditto.
206 * gdbtypes.c (_initialize_gdbtypes): Ditto.
207
549c1eea
AC
208 * solib.c (solib_map_sections): Use bfd_set_cacheable instead of
209 poking .cacheable directly.
210 * symfile.c (symfile_bfd_open): Ditto.
211
0c0b39de
AC
212 * Makefile.in: Update all dependencies.
213
8132723e
AC
214 * Makefile.in: (.SUFFIXES): Add ".l" and ".y".
215 (.y.c, .l.c): Specify implicit rule. Instead of .tab.c, generate
216 .c. Update references. Delete unnecessary .tab.c and -lex.c rules.
217 (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule.
218 (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar.
0c0b39de 219
b9d26eb9
AC
2202004-02-14 Andrew Cagney <cagney@redhat.com>
221
8e1f669a
AC
222 * arch-utils.c (legacy_convert_register_p): Check
223 DEPRECATED_REGISTER_CONVERTIBLE_P.
224 * findvar.c (value_of_register): Ditto.
225
cd0bfa36
AC
226 * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate.
227 * gdbarch.h, gdbarch.c: Re-generate.
228 * arch-utils.c (deprecated_register_convertible_not): Delete.
229 * arch-utils.h (deprecated_register_convertible_not): Delete.
230 * mi/mi-main.c (get_register): Update. Update copyright.
231 * infcmd.c (default_print_registers_info): Update.
232
b9d26eb9
AC
233 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
234 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete.
235 (DEPRECATED_CALL_DUMMY_ADDRESS): Delete.
236 * gdbarch.h, gdbarch.c: Re-generate.
237 * frame.c (deprecated_get_next_frame_hack): Delete function.
238 * frame.h (deprecated_get_next_frame_hack): Delete declaration.
239 * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
240 Update.
241 * infcall.c (call_function_by_hand): Update.
242
9ab9195f
EZ
2432004-02-14 Elena Zannoni <ezannoni@redhat.com>
244
245 * symfile.c (init_entry_point_info, entry_point_address): Move
246 from here...
247 * objfiles.c (init_entry_point_info, entry_point_address):..to
248 here.
249 * symfile.h (init_entry_point_info, entry_point_address): Remove
250 prototypes.
251 * objfiles.h (init_entry_point_info, entry_point_address):Add
252 prototypes.
253 * cris-tdep.c: Remove include of symfile.h. Add include of
254 objfiles.h.
255 * infcall.c: Ditto.
256 * mcore-tdep.c: Ditto.
257 * mn10300-tdep.c: Ditto.
258 * sh64-tdep.c: Ditto.
259 * v850-tdep.c: Ditto.
260 * arm-tdep.c: Remove include of symfile.h.
261 * blockframe.c: Ditto.
262 * coffread.c: Ditto.
263 * dbxread.c: Ditto.
264 * dwarf2read.c: Ditto.
265 * dwarfread.c: Ditto.
266 * frv-tdep.c: Ditto.
267 * ia64-tdep.c: Ditto.
268 * mdebugread.c: Ditto.
269 * mipsread.c: Ditto.
270 * rs6000-tdep.c: Ditto.
271 * s390-tdep.c: Ditto.
272 * sh-tdep.c: Ditto.
273 * xstormy16-tdep.c: Ditto.
274 * gdbarch.sh: Remove include of symfile.h.
275 * gdbarch.c: Regenerate.
276 * solib-irix.c (enable_break): Use entry_point_address().
277 Add comment about include file.
278 * xcoffread.c: Add comment about include file.
279 * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o)
280 (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o)
281 (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o)
282 (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o)
283 (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies.
284
c4c5b7ba
AC
2852004-02-13 Andrew Cagney <cagney@redhat.com>
286
287 * corelow.c (core_xfer_partial): Use "struct bfd_section".
288 * config/sparc/nm-nbsd.h (struct target_ops): Declare, update
289 copyright.
290 * mips-linux-tdep.c: Use "GNU/Linux", update copyright.
291
3e7879de
FF
2922004-02-12 Fred Fish <fnf@redhat.com>
293
294 * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to
295 set_gdbarch_store_return_value.
296
6a7760b6
AC
2972004-02-12 Andrew Cagney <cagney@redhat.com>
298
299 * remote-rdi.c (arm_rdi_start_remote): Delete unused function.
300 (arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto.
301 (interrupt_query): Ditto.
302 (ofunc): Delete unused variable.
303 * cris-tdep.c (cris_abi): Delete unused function.
304 (reg_pop_op, move_reg_to_mem_index_inc_op): Ditto.
305 (cris_get_wide_opcode, cris_get_short_size): Ditto.
306 (cris_get_asr_quick_shift_steps): Ditto.
307 (cris_skip_prologue_frameless_p): Ditto.
308 * arm-tdep.c (arm_push_return_address): Delete unused function.
309 (arm_push_dummy_frame, arm_fix_call_dummy): Ditto.
310 * rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function.
311 * s390-tdep.c (s390_function_start): Delete unused function.
312
31687c3c
AC
3132004-02-12 Andrew Cagney <cagney@redhat.com>
314
315 * gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete.
316 gdbarch.h, gdbarch.c: Re-generate.
317 * cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p
318 to generic_prologue_frameless_p.
319 * arch-utils.h (generic_prologue_frameless_p): Delete declaration.
320 * arch-utils.c (generic_prologue_frameless_p): Delete function.
321
6de918a6
DJ
3222004-02-11 Daniel Jacobowitz <drow@mvista.com>
323
324 * mips-linux-tdep.c: Include "frame.h".
325 (mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code)
326 (mips_linux_skip_resolver): New functions.
327 (mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver
328 and set_gdbarch_in_solib_call_trampoline.
329 * mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call
330 to after set_gdbarch_in_solib_return_trampoline. Only set the
331 solib hooks to mips16 functions if the OS ABI is unknown.
332 * config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after
333 including "config/tm-linux.h".
334 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Define.
335 * Makefile.in (mips-linux-tdep.o): Update.
336
87b3ede8
DC
3372004-02-11 David Carlton <carlton@kealia.com>
338
339 * linespec.c (decode_compound): Only look for a class symbol when
340 considering all but the rightmost component.
341
5979bc46
AC
3422004-02-11 Andrew Cagney <cagney@redhat.com>
343
344 * hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and
345 abi code are are separatly grouped.
346
5867a2fb
AC
3472004-02-11 Andrew Cagney <cagney@redhat.com>
348
349 * gdbarch.sh (FRAME_ARGS_SKIP): Default to 0.
350 * gdbarch.h, gdbarch.c: Re-generate.
351 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
352 * v850-tdep.c (v850_gdbarch_init): Update.
353 * sh64-tdep.c (sh64_gdbarch_init): Update.
354 * sh-tdep.c (sh_gdbarch_init): Update.
355 * s390-tdep.c (s390_gdbarch_init): Update.
356 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
357 * mips-tdep.c (mips_gdbarch_init): Update.
358 * mcore-tdep.c (mcore_gdbarch_init): Update.
359 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
360 * m32r-tdep.c (m32r_gdbarch_init): Update.
361 * ia64-tdep.c (ia64_gdbarch_init): Update.
362 * hppa-tdep.c (hppa_gdbarch_init): Update.
363 * h8300-tdep.c (h8300_gdbarch_init): Update.
364 * frv-tdep.c (frv_gdbarch_init): Update.
365 * d10v-tdep.c (d10v_gdbarch_init): Update.
366 * cris-tdep.c (cris_gdbarch_init): Update.
367 * avr-tdep.c (avr_gdbarch_init): Update.
368 * arm-tdep.c (arm_gdbarch_init): Update.
369 * alpha-tdep.c (alpha_gdbarch_init): Update.
370
026a72f8
CV
3712004-02-11 Corinna Vinschen <vinschen@redhat.com>
372
373 * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing
374 comma.
375 (sh_sh4al_dsp_register_name): Ditto.
376
3903d437
AC
3772004-02-10 Andrew Cagney <cagney@redhat.com>
378
379 * mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code.
380 (mips_init_frame_pc_first): Delete function.
381 (mips_frame_saved_pc): Delete function.
382 (mips_frame_chain): Delete function.
383 (mips_init_extra_frame_info): Delete function.
384 (mips_xfer_register): Delete unused variable "reg".
385 (mips_n32n64_push_dummy_call): Delete unused variable "valbuf".
386 (mips_n32n64_return_value): Delete unused variable "reg".
387 (mips_n32n64_return_value): Delete unused variable "pos".
388 (mips_o32_push_dummy_call): Delete unused variable "valbuf".
389 (mips_o32_return_value): Delete unused variable "pos".
390 (mips_o64_push_dummy_call): Delete unused variable "valbuf".
391 (mips_print_fp_register): Delete unused variable "namelen"
392 (mips_print_fp_register): Delete unused variable "flt2"
393 (get_frame_pointer): Delete function.
394 (cached_proc_desc): Delete static variable.
395 (mips_pop_frame): Delete function.
396 (mips_find_saved_regs): Delete function.
397 (mips_get_saved_register): Delete function.
398 (mips_saved_pc_after_call): Delete function.
399 (SIGFRAME_BASE): Delete macro.
400 (SIGFRAME_FPREGSAVE_OFF): Delete macro.
401 (SIGFRAME_PC_OFF): Delete macro.
402 (SIGFRAME_REGSAVE_OFF): Delete macro.
403 (mips_dump_tdep): Do not print deleted macro definitions.
404
b9fb98bd
AC
4052004-02-10 Andrew Cagney <cagney@redhat.com>
406
407 * Makefile.in (SFILES): Remove explictly listed tui files.
408 (SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c.
409
78ced177
JJ
4102004-02-10 Jeff Johnston <jjohnstn@redhat.com>
411
412 * ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement
413 to use paddr functions to format ia64 addresses and long values.
414 (ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto.
415 (ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto.
416 (get_kernel_table, ia64_find_proc_info_x): Ditto.
417 (ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto.
418 (ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto.
419
6a83354a
AC
4202004-02-10 Andrew Cagney <cagney@redhat.com>
421
422 * defs.h: Do not include "tui.h".
423 * gdb_curses.h: New file.
424 * tui/tui-hooks.h: New file.
425 * tui/tui.h (tui_update_all_exec_infos): Delete declaration.
426 (tui_install_hooks, tui_remove_hooks): Delete declarations.
427 (tui_initialize_io): Delete declaration.
428 (tui_initialize_readline: Delete redundant declaration.
429 (struct tui_point): Delete definition.
430 * tui/tui-data.h (struct tui_point): Define.
431 * cli/cli-decode.c [TUI]: Include "tui/tui.h".
432 * utils.c: Include "tui/tui.h".
433 * tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h".
434 * printcmd.c [TUI]: Include "tui/tui.h".
435 * cli/cli-cmds.c [TUI]: Include "tui/tui.h".
436 * tui/tui-command.c: Include "gdb_curses.h".
437 * tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto.
438 * tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto.
439 * tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto.
440 * tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto.
441 * tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h".
442 * Makefile.in: Update all dependencies.
443 (tui_hooks_h, gdb_curses_h): Define.
444 (SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui.
445
997470ef
EZ
4462004-02-10 Elena Zannoni <ezannoni@redhat.com>
447
448 * objfiles.h (struct objfile): Remove unused fields auxf1 and
449 auxf2. Add comments about some other rarely used fields.
450
4ff2cc4d
AC
4512004-02-10 Andrew Cagney <cagney@redhat.com>
452
453 * Makefile.in (init.c): Fix script removing duplicates. Problem
454 reported by Peter Schauer.
455
1ab21617
EZ
4562004-02-09 Elena Zannoni <ezannoni@redhat.com>
457
458 * bcache.c (bcache_xmalloc): Use obstack_init instead of
459 obstack_specify_allocation.
460 * objfiles.c (allocate_objfile): Ditto.
461 * solib-sunos.c (solib_add_common_symbols)
462 (allocate_rt_common_objfile): Ditto.
463 * symfile.c (reread_symbols): Ditto.
464 * gdb_obstack.h: Add comment.
465
17763fd9
EZ
4662004-02-09 Elena Zannoni <ezannoni@redhat.com>
467
468 * linespec.c (decode_line_1, locate_first_half)
469 (decode_compound, lookup_prefix_sym): Update comments. Delete old
470 commented out code.
471
ec5cdd75
DJ
4722004-02-09 Daniel Jacobowitz <drow@mvista.com>
473
474 * cp-namespace.c (check_one_possible_namespace_symbol): Don't use
475 obstack_free.
476
43b54b88
AC
4772004-02-09 Andrew Cagney <cagney@redhat.com>
478
479 * blockframe.c (find_pc_partial_function): If find_pc_overlay
480 fails, try find_pc_section. Fix PR c++/1267.
481 * minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section
482 instead of find_pc_mapped_section.
483 (lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do
484 not default to the section containing PC. Fix PR symtab/1519.
485
edfae063
AC
4862004-02-09 Andrew Cagney <cagney@redhat.com>
487
488 * Makefile.in (mips-tdep.o): Update dependencies.
489 * mips-tdep.c: Include "frame-unwind.h", "frame-base.h" and
490 "trad-frame.h".
491 (mips_unwind_pc): Return the pseudo PC register.
492 (mips_unwind_dummy_id): New function.
493 (mips16_fetch_instruction): New function.
494 (mips32_fetch_instruction): New function.
495 (struct mips_frame_cache): Define.
496 (mips_mdebug_frame_cache): New function.
497 (mips_mdebug_frame_this_id): New function.
498 (mips_mdebug_frame_prev_register): New function.
499 (mips_mdebug_frame_unwind): Define.
500 (mips_mdebug_frame_sniffer): New function.
501 (mips_mdebug_frame_base_address): New function.
502 (mips_mdebug_frame_base): Define.
503 (mips_mdebug_frame_base_sniffer): New function.
504 (mips_gdbarch_init): Append unwind and base sniffers. Set
505 unwind_dummy_id.
506
defc864c
AC
5072004-02-08 Andrew Cagney <cagney@redhat.com>
508
6764ddad
AC
509 * frame.c: Print both the register number and name.
510
defc864c
AC
511 * Makefile.in (init.c): Eliminate duplicates. Combine two greps
512 and a sed into a single sed. Make .c and .o patterns more robust.
513 (OBS): Delete.
514 (INIT_FILES): Replace OBS with COMMON_OBS.
515 (COMMON_OBS): Move DEPFILES and YYOBJ to start of definition.
516
645d6d10
MK
5172004-02-08 Mark Kettenis <kettenis@gnu.org>
518
519 * sparc-nat.c (sparc_xfer_wcookie): Try to fetch the cookie using
520 the PT_WCOOKIE request.
521
23e3c3fc
AC
5222004-02-08 Andrew Cagney <cagney@redhat.com>
523
58dfe9ff
AC
524 * mips-tdep.c (mips_unwind_pc): New function.
525 (mips_gdbarch_init): Set mips_unwind_pc.
526
1152e35e
AC
527 * frame.c (legacy_saved_regs_this_id): Return a null frame ID.
528 (get_frame_id): Allow the UNKNOWN_FRAME.
529 (frame_register_unwind, get_frame_type): Ditto.
530
31b75dbf
AC
531 * frame.c (legacy_frame_p): Check for DEPRECATED_TARGET_READ_FP_P
532 and DEPRECATED_FP_REGNUM. Don't assume that the lack of
533 unwind_dummy_id indicates a legacy frame.
534
3483b318
AC
535 * configure.in (CONFIG_LIB_OBS): Replace with CONFIG_OBS.
536 * configure: Re-generate.
537
23e3c3fc
AC
538 * mips-tdep.c (mips_gdbarch_init): Group deprecated frame unwind
539 methods.
540
33f8ca73
AC
5412004-02-08 Andrew Cagney <cagney@redhat.com>
542
543 * configure.in (CONFIG_ALL): Set to Makefile target, and not
544 makefile macro.
545 * configure: Re-generate.
546 (CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Ditto.
547 * Makefile.in (SUBDIR_CLI_CLEAN): Delete.
548 (SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): Delete.
549 (SUBDIR_CLI_ALL, SUBDIR_GDBTK_ALL): Delete.
550 (SUBDIR_GDBTK_CLEAN, SUBDIR_GDBTK_INSTALL): Delete.
551 (SUBDIR_GDBTK_UNINSTALL, SUBDIR_MI_ALL): Delete.
552 (SUBDIR_MI_CLEAN, SUBDIR_MI_INSTALL): Delete.
553 (SUBDIR_MI_UNINSTALL, SUBDIR_TUI_ALL): Delete.
554 (SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL): Delete.
555 (SUBDIR_TUI_UNINSTALL, SUBDIR_CLI_CLEAN): Delete.
556
6ba8e26f 5572004-02-07 Andrew Cagney <cagney@redhat.com>
d836ee13 558
20d286a5
AC
559 * Makefile.in: Update all dependencies.
560
d836ee13
AC
561 * configure.in (CONFIG_INITS, CONFIG_LIB_OBS): Delete.
562 * configure: Re-generate.
563 * Makefile.in (INIT_FILES): Replace CONFIG_INITS with CONFIG_SRCS.
564 (CONFIG_LIB_OBS, CONFIG_INITS): Delete.
565 (COMMON_OBS): Add "main.o" and "annotate.o".
566 (ANNOTATE_OBS): Delete.
567 (OBS): Remove ANNOTATE_OBS.
568 (DEPFILES): Replace CONFIG_LIB_OBS with CONFIG_LIB_OBS, remove
569 CONFIG_INITS.
570 (gdb$(EXEEXT), insight$(EXEEXT)): Do not depend on, or link
571 against CONFIG_OBS and "main.o".
572 (SUBDIR_CLI_INITS, SUBDIR_MI_INITS): Delete.
573 (SUBDIR_TUI_INITS, SUBDIR_GDBTK_INITS): Delete.
574
d02c80cd
AC
575 * tui/tui-command.c: Include "gdb_string.h", delete register
576 attribute, use ISO-C function signatures.
577 * tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto.
578 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
579 * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto.
580 * tui/tui.c: Ditto.
6ba8e26f
AC
581
582 * tui/tui-command.c: Change variable and function names to lower
583 case.
584 * tui/tui-data.c, tui/tui-disasm.c: Ditto.
585 * tui/tui-hooks.c, tui/tui-io.c, tui/tui-layout.c: Ditto.
586 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
587 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
588 * tui/tui-winsource.c, tui/tui.c: Ditto.
589
4a146b47
EZ
5902004-02-07 Elena Zannoni <ezannoni@redhat.com>
591
592 * buildsym.c (free_pending_blocks, finish_block)
593 (record_pending_block, make_blockvector, end_symtab): Replace
594 symbol_obstack with objfile_obstack.
595 * coffread.c (process_coff_symbol, coff_read_struct_type)
596 (coff_read_enum_type): Ditto.
597 * cp-namespace.c (initialize_namespace_symtab)
598 (check_one_possible_namespace_symbol): Ditto.
599 * dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file)
600 (dwarf2_symbol_mark_computed): Ditto.
601 * dwarfread.c (enum_type, new_symbol, synthesize_typedef): Ditto.
602 * elfread.c (elf_symtab_read): Ditto.
603 * hpread.c (hpread_symfile_init, hpread_symfile_init)
604 (hpread_read_enum_type, hpread_read_function_type)
605 (hpread_read_doc_function_type, hpread_process_one_debug_symbol):
606 Ditto.
607 * jv-lang.c (get_java_class_symtab, add_class_symbol)
608 (java_link_class_type): Ditto.
609 * mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab)
610 (new_symbol): Ditto.
611 * minsyms.c (install_minimal_symbols): Ditto.
612 * objfiles.c (allocate_objfile): Remove init of symbol_obstack.
613 (terminate_minimal_symbol_table): Replace symbol_obstack with
614 objfile_obstack.
615 (free_objfile): Remove freeing of symbol_obstack.
616 * objfiles.h: Remove symbol_obstack field.
617 * pa64solib.c (add_to_solist): Replace symbol_obstack with
618 objfile_obstack.
619 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
620 symbol_obstack.
621 (solib_add_common_symbols): Replace symbol_obstack with
622 objfile_obstack.
623 * somsolib.c (som_solib_add): Ditto.
624 * stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
625 (common_block_start, common_block_end): Ditto.
626 * symfile.c (reread_symbols): Remove freeing and init of
627 symbol_obstack.
628 (allocate_symtab): Rename symbol_obstack to objfile_obstack.
629 * symfile.h: Update comment.
630 * symmisc.c (print_objfile_statistics): Remove symbol_obstack
631 stats printing.
632 * symtab.c (symbol_set_names): Replace symbol_obstack with
633 objfile_obstack.
634 * symtab.h (struct general_symbol_info, struct minimal_symbol):
635 Update comments.
636 * xcoffread.c (read_xcoff_symtab, SYMBOL_DUP, SYMNAME_ALLOC)
637 (init_stringtab, xcoff_initial_scan): Replace symbol_obstack with
638 objfile_obstack.
639
6d012f14
AC
6402004-02-07 Andrew Cagney <cagney@redhat.com>
641
642 * tui/tui.h: Do not include <stdarg.h>, <string.h>, and
643 "ansidecl.h". Do not undef "reg" and "chtype". Fix case of
644 fields and variables.
645 * tui/tui-wingeneral.h (m_beVisible): Delete macro.
646 (m_beInvisible): Delete macro.
647 * tui/tui-data.h: Fix case case fields and variables.
648 (m_genWinPtrIsNull): Delete macro.
649 (tui_win_list): Rename winList.
650 (TUI_SRC_WIN): Rename srcWin.
651 (TUI_DISASM_WIN): Rename disassemWin.
652 (TUI_DATA_WIN): Rename dataWin.
653 (TUI_CMD_WIN): Rename cmdWin.
654 (m_genWinPtrNotNull): Delete macro.
655 (m_winPtrIsNull): Delete macro.
656 (m_winPtrNotNull): Delete macro.
657 (tui_win_is_source_type): Replace m_winIsSourceType
658 (tui_win_is_auxillary): Replace m_winIsAuzillary.
659 (tui_win_has_locator): Replace m_hasLocator.
660 (tui_set_win_highlight): Replace m_setWinHighlightOn and
661 m_setWinHighlightOff.
662 * tui/tui-data.c: Update references.
663 (tui_win_is_source_type, tui_set_win_highlight): New functions.
664 (tui_win_has_locator, tui_win_is_auxillary): New functions.
665 * tui/tui-command.c, tui/tui-disasm.c: Update references.
666 * tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto.
667 * tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto.
668 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
669 * tui/tui-winsource.c, tui/tui.c: Ditto.
670
7d34766b
MK
6712004-02-07 Mark Kettenis <kettenis@gnu.org>
672
1c800673
MK
673 * sparc-tdep.h (sparc_fetch_wcookie): New prototype.
674 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Handle
675 StackGhost.
676
7d34766b
MK
677 * sparc-tdep.c (sparc32_frame_prev_register): Rename local
678 variable `i6' to `i7'.
679 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
680
22940a24
AC
6812004-02-07 Andrew Cagney <cagney@redhat.com>
682
683 * tui/tui.h (Opaque, OpaquePtr OpaqueList): Delete definition.
684 (TuiPoint, TuiPointPtr): Ditto.
685 (TuiStatus, TuiStatusPtr): Ditto.
686 (TuiWinType, TuiWinTypePtr): Ditto.
687 (struct tui_point): Rename _TuiPoint.
688 (tui_get_low_disassembly_address): Rename
689 tuiGetLowDisassemblyAddress.
690 (tui_update_all_exec_infos): Rename tuiUpdateAllExecInfos.
691 (tuiFree): Delete declaration.
692 (OpaqueFuncPtr, TuiOpaqueFuncPtr): Delete definitions.
693 (TuiVoidFuncPtr, TuiIntFuncPtr): Delete definitions.
694 * tui/tui.c (tuiFree): Delete function.
695 * cli/cli-cmds.c (disassemble_command): Update references.
696 * tui/tui-data.c, tui/tui-data.h, tui/tui-disasm.c: Ditto.
697 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
698 * tui/tui-stack.c, tui/tui-win.c, tui/tui-wingeneral.c: Ditto.
699 * tui/tui-winsource.c: Ditto.
700
8b92e4d5
EZ
7012004-02-07 Elena Zannoni <ezannoni@redhat.com>
702
703 * dbxread.c (dbx_symfile_init, start_psymtab, end_psymtab,
704 coffstab_build_psymtabs, elfstab_build_psymtabs)
705 (stabsect_build_psymtabs): Replace psymbol_obstack with
706 objfile_obstack.
707 * dwarf2-frame.c (decode_frame_entry_1): Ditto.
708 * dwarf2read.c (dwarf2_build_psymtabs_hard, dwarf2_read_section):
709 Ditto.
710 * dwarfread.c (scan_compilation_units): Ditto.
711 * elfread.c (elfstab_offset_sections): Ditto.
712 * hppa-tdep.c (read_unwind_info): Ditto.
713 * hpread.c (hpread_build_psymtabs, hpread_start_psymtab)
714 (hpread_end_psymtab): Ditto.
715 * mdebugread.c (mdebug_build_psymtabs, add_pending)
716 (parse_partial_symbols, new_psymtab, elfmdebug_build_psymtabs):
717 Ditto.
718 * mips-tdep.c (non_heuristic_proc_desc): Ditto.
719 * objfiles.c (add_to_objfile_sections)
720 (build_objfile_section_table): Ditto.
721 (allocate_objfile): Remove init of psymbol_obstack.
722 (free_objfile): Remove freeing of psymbol_obstack.
723 * objfiles.h (struct objfile): Remove field
724 psymbol_obstack. Update comments.
725 * pa64solib.c (pa64_solib_add_solib_objfile): Replace
726 psymbol_obstack with objfile_obstack.
727 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
728 psymbol_obstack.
729 * somread.c (som_symfile_offsets, init_import_symbols)
730 (init_export_symbols): Replace psymbol_obstack with
731 objfile_obstack.
732 * somsolib.c (som_solib_add_solib_objfile): Ditto.
733 * symfile.c (default_symfile_offsets, syms_from_objfile)
734 (reread_symbols): Remove freeing and init of psymbol_obstack.
735 (cashier_psymtab): Update comment.
736 * symmisc.c (print_objfile_statistics): Don't report stats for
737 psymbol obstack.
738 * symtab.h (struct general_symbol_info, struct partial_symtab):
739 Update comments.
740 * xcoffread.c (xcoff_start_psymtab, xcoff_end_psymtab, swap_sym)
741 (xcoff_symfile_offsets): Replace psymbol_obstack with
742 objfile_obstack.
743
b99607ea
EZ
7442004-02-07 Elena Zannoni <ezannoni@redhat.com>
745
746 * objfiles.h (struct objfile): Add objfile_obstack field.
747 Remove type_obstack field.
748
749 * dwarf2read.c (dwarf2_add_field,dwarf2_add_member_fn,
750 read_structure_scope read_enumeration, new_symbol): Replace
751 type_obstack with objfile_obstack.
752 * dwarfread.c (struct_type, enum_type): Ditto.
753 * gdbtypes.c (alloc_type, alloc_type_instance, init_type)
754 (lookup_fundamental_type): Ditto.
755 * gdbtypes.h (TYPE_ALLOC): Ditto.
756 * hpread.c (hpread_read_enum_type, hpread_read_function_type)
757 (hpread_read_doc_function_type, hpread_read_struct_type)
758 (fix_static_member_physnames, hpread_read_array_type)
759 (hpread_read_subrange_type, hpread_type_lookup): Ditto.
760 * jv-lang.c (java_lookup_class, type_from_class, type_from_class)
761 (java_link_class_type): Ditto.
762 * mdebugread.c (parse_type): Ditto.
763 * objfiles.c (allocate_objfile, free_objfile): Ditto.
764 * solib-sunos.c (solib_add_common_symbols): Ditto.
765 * stabsread.c (define_symbol, read_type, read_member_functions,
766 read_cpp_abbrev, read_one_struct_field): Ditto.
767 * symfile.c (reread_symbols): Ditto.
768 * symmisc.c (print_objfile_statistics): Ditto.
769
2a8854a7
AC
7702004-02-07 Andrew Cagney <cagney@redhat.com>
771
772 * tui/tui-data.h (tui_win_element): Rename TuiWinElement.
773 (tui_exec_info_content): Rename TuiExecInfoContent.
774 (TuiGenWinInfo, TuiGenWinInfoPtr): Delete definitions.
775 (TuiWinInfo, TuiWinInfoPtr): Ditto.
776 (TuiScrollDirection, TuiScrollDirectionPtr): Ditto.
777 (TuiList, TuiListPtr): Ditto.
778 (TuiLayoutType, TuiLayoutTypePtr): Ditto.
779 (TuiDataType, TuiDataTypePtr): Ditto.
780 (TuiRegisterDisplayType, TuiRegisterDisplayTypePtr): Ditto.
781 (TuiLineOrAddress, TuiLineOrAddressPtr): Ditto.
782 (TuiLayoutDef, TuiLayoutDefPtr): Ditto.
783 (TuiSourceElement, TuiSourceElementPtr): Ditto.
784 (TuiDataElement, TuiDataElementPtr): Ditto.
785 (TuiWinElement, TuiWinElementPtr): Ditto.
786 (TuiDataInfo, TuiDataInfoPtr): Ditto.
787 (TuiCommandElement, TuiCommandElementPtr): Ditto.
788 (TuiLocatorElement, TuiLocatorElementPtr): Ditto.
789 (TuiWhichElement, TuiWhichElementPtr): Ditto.
790 (TuiSourceInfo, TuiSourceInfoPtr): Ditto.
791 (TuiCommandInfo, TuiCommandInfoPtr): Ditto.
792 * tui/tui-command.c, tui/tui-data.c: Update references.
793 * tui/tui-data.h, tui/tui-disasm.c, tui/tui-layout.c: Ditto.
794 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
795 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
796 * tui/tui-winsource.c, tui/tui.c: Ditto.
797
05cbe71a
MK
7982004-02-07 Mark Kettenis <kettenis@gnu.org>
799
800 * dwarf2-frame.h: Update copyright.
801 (enum dwarf2_frame_reg_rule): New.
802 (struct dwarf2_frame_state_reg): New.
803 (dwarf2_frame_sniffer, dwarf2_frame_base_sniffer): Make extern.
804 * dwarf2-frame.c: Update copyright.
805 (enum dwarf2_reg_rule): Remove.
806 (struct dwarf2_frame_state): Remove defenition of `struct
807 dwarf2_frame_state_reg'.
808 (read_reg): Call get_frame_arch to get the architecture instead of
809 using CURRENT_GDBARCH.
810 (execute_cfa_program): Prefix old `enum dwarf2_reg_rule' tags with
811 DWARF2_FRAME_.
812 (dwarf2_frame_init_reg): New function.
813 (dwarf2_frame_cache): Call get_frame_arch to get the architecture
814 instead of using CURRENT_GDBARCH. Call dwarf2_frame_init_reg to
815 initialize the register state. Prefix old `enum dwarf2_reg_rule'
816 tags with DWARF2_FRAME_.
817 (dwarf2_frame_prev_register): Call get_frame_arch to get the
818 architecture instead of using CURRENT_GDBARCH. Prefix old `enum
819 dwarf2_reg_rule' tags with DWARF2_FRAME_.
820
ec7d9e56
AC
8212004-02-06 Andrew Cagney <cagney@redhat.com>
822
dd1abb8c
AC
823 * tui/tui-data.h (struct tui_list): Rename _TuiList.
824 (enum tui_data_type): Rename _TuiDataType.
825 (struct tui_layout_def): Rename _TuiLayoutDef.
826 (struct tui_source_element): Rename _TuiSourceElement.
827 (struct tui_data_element): Rename _TuiDataElement.
828 (struct tui_command_element): Rename _TuiCommandElement.
829 (struct tui_locator_element): Rename _TuiLocatorElement.
830 (union tui_which_element): Define.
831 (struct tui_win_element): Rename _TuiWinElement.
832 (struct tui_data_info): Rename _TuiDataInfo.
833 (struct tui_source_info): Rename _TuiSourceInfo.
834 (struct tui_command_info): Rename _TuiCommandInfo.
835 (tui_initialize_static_data): Rename initializeStaticData.
836 (tui_alloc_generic_win_info): Rename allocGenericWinInfo.
837 (tui_alloc_win_info): Rename allocWinInfo.
838 (tui_init_generic_part): Rename initGenericPart.
839 (tui_init_win_info): Rename initWinInfo.
840 (tui_alloc_content): Rename allocContent.
841 (tui_add_content_elements): Rename addContentElements.
842 (tui_init_content_element): Rename initContentElement.
843 (tui_free_window): Rename freeWindow.
844 (tui_free_win_content): Rename freeWinContent.
845 (tui_free_data_content): Rename freeDataContent.
846 (tui_free_all_source_wins_content): Rename
847 freeAllSourceWinsContent.
848 (tui_del_window): Rename tuiDelWindow.
849 (tui_del_data_windows): Rename tuiDelDataWindows.
850 (tui_partial_win_by_name): Rename partialWinByName.
851 (tui_win_name): Rename winName.
852 (tui_current_layout): Rename currentLayout.
853 (tui_set_current_layout_to): Rename setCurrentLayoutTo.
854 (tui_term_height): Rename termHeight.
855 (tui_set_term_height_to): Rename setTermHeightTo.
856 (tui_term_width): Rename termWidth.
857 (tui_set_term_width_to): Rename setTermWidthTo.
858 (tui_set_gen_win_origin): Rename setGenWinOrigin.
859 (tui_locator_win_info_ptr): Rename locatorWinInfoPtr.
860 (tui_source_exec_info_win_ptr): Rename tui_gen_win_info.
861 (tui_disassem_exec_info_win_ptr): Rename disassemExecInfoWinPtr.
862 (tui_source_windows): Rename sourceWindows.
863 (tui_clear_source_windows): Rename clearSourceWindows.
864 (tui_clear_source_windows_detail): Rename
865 clearSourceWindowsDetail.
866 (tui_clear_win_detail): Rename clearWinDetail.
867 (tui_add_to_source_windows): Rename tuiAddToSourceWindows.
868 (tui_default_tab_len): Rename tuiDefaultTabLen.
869 (tui_set_default_tab_len): Rename tuiSetDefaultTabLen.
870 (tui_win_with_focus): Rename tuiWinWithFocus.
871 (tui_set_win_with_focus): Rename tuiSetWinWithFocus.
872 (tui_layout_def): Rename tuiLayoutDef.
873 (tui_win_resized): Rename tuiWinResized.
874 (tui_set_win_resized_to): Rename tuiSetWinResizedTo.
875 (tui_next_win): Rename tuiNextWin.
876 (tui_prev_win): Rename tuiPrevWin.
877 (tui_add_to_source_windows): Rename addToSourceWindows.
878 * tui/tui-winsource.c, tui/tui-win.c: Update references.
879 * tui/tui-layout.c, tui/tui-source.c: Ditto.
880 * tui/tui-stack.c, tui/tui-io.c: Ditto.
881 * tui/tui.c, tui/tui-data.c: Ditto.
882 * tui/tui-interp.c, tui/tui-data.c: Ditto.
883 * tui/tui-disasm.c, tui/tui-command.c: Ditto.
884
a358af15
AC
885 * tui/tui-source.h: Update copyright. Include "tui-data.h".
886 (struct symtab): Declare.
887 (tui_set_source_content): Rename tuiSetSourceContent.
888 (tui_show_symtab_source): Rename tuiShowSource.
889 (tui_source_is_displayed): Rename tuiSourceIsDisplayed.
890 (tui_vertical_source_scroll): Rename tuiVerticalSourceScroll.
891 * tui/tui-source.c: Update copyright. Update references.
892 * tui/tui-win.c, tui/tui-winsource.c: Update references.
893 * tui/tui-stack.c: Update references.
894
a21fcd8f
AC
895 * tui/tui-win.h: Update copyright. Include "tui-data.h".
896 (struct tui_win_info): Declare.
897 (tui_scroll_forward): Rename tuiScrollForward.
898 (tui_scroll_backward): Rename tuiScrollBackward.
899 (tui_scroll_left): Rename tuiScrollLeft.
900 (tui_scroll_right): Rename tuiScrollRight.
901 (tui_set_win_focus_to): Rename tuiSetWinFocusTo.
902 (tui_resize_all): Rename tuiResizeAll.
903 (tui_refresh_all_win): Rename tuiRefreshAll.
904 (tui_sigwinch_handler): Rename tuiSigwinchHandler.
905 * tui/tui-layout.c, * tui/tui-io.c: Update references.
906 * tui/tui-wingeneral.h, * tui/tui.c: Update references.
907 * tui/tui-disasm.c, * tui/tui-command.c: Update references.
908
edae1ccf
AC
909 * tui/tui-windata.h: Update copyright. Include "tui-data.h".
910 (tui_erase_data_content): Rename tuiEraseDataContent.
911 (tui_display_all_data): Rename tuiDisplayAllData.
912 (tui_check_data_values): Rename tuiCheckDataValues.
913 (tui_display_data_from_line): Rename tuiDisplayDataFromLine.
914 (tui_first_data_item_displayed): Rename tuiFirstDataItemDisplayed.
915 (tui_first_data_element_no_in_line): Rename
916 tuiFirstDataElementNoInLine.
917 (tui_delete_data_content_windows): Rename
918 tuiDeleteDataContentWindows.
919 (tui_refresh_data_win): Rename tuiRefreshDataWin.
920 (tui_display_data_from): Rename tuiDisplayDataFrom.
921 (tui_vertical_data_scroll): Rename tuiVerticalDataScroll.
922 * tui/tui-windata.c, tui/tui-hooks.c: Update references.
923 * tui/tui-win.c, tui/tui-regs.c: Update references.
924 * tui/tui-layout.c, tui/tui.c: Update references.
925
ec7d9e56
AC
926 * tui/tui-wingeneral.h: Update copyright.
927 (m_allBeVisible): Delete macro.
928 (m_allBeInvisible): Delete macro.
929 (struct tui_gen_win_info): Declare.
930 (struct tui_win_info): Declare.
931 (tui_unhighlight_win): Rename unhighlightWin.
932 (tui_make_visible, tui_make_invisible): Replace makeVisible.
933 (tui_make_all_visible, tui_make_all_invisible): Replace makeAllVisible.
934 (tui_make_window): Rename makeWindow.
935 (tui_copy_win): Rename copyWin.
936 (tui_box_win): Rename boxWin.
937 (tui_highlight_win): Rename highlightWin.
938 (tui_check_and_display_highlight_if_needed): Rename
939 checkAndDisplayHighlightIfNeeded.
940 (tui_refresh_all): Rename refreshAll.
941 (tui_delete_win): Rename tuiDelwin.
942 (tui_refresh_win): Rename tuiRefreshWin.
943 * tui/tui-wingeneral.c (make_visible): Rename makeVisible.
944 (tui_make_visible, tui_make_invisible): New functions.
945 (tui_make_all_visible, tui_make_all_invisible): New functions.
946 (make_all_visible): Rename makeAllVisible.
947 * tui/tui-winsource.c, tui/tui-windata.c: Update references.
948 * tui/tui-data.c, tui/tui-winsource.c: Update references.
949 * tui/tui-windata.c, tui/tui-win.c: Update references.
950 * tui/tui-regs.c, tui/tui-layout.c: Update references.
951 * tui/tui-data.h (struct tui_gen_win_info): Rename _TuiGenWinInfo.
952
1e52e2eb
MK
9532004-02-06 Mark Kettenis <kettenis@gnu.org>
954
955 * proc-api.c (write_with_trace): Initialize local variable to
956 silence compiler warning.
957
f80bda8e
AC
9582004-02-06 Andrew Cagney <cagney@redhat.com>
959
960 * tui/tui-source.h: Do not include "defs.h".
961 (struct tui_win_info): Declare.
962 (tui_set_source_content_nil): Declare.
963 * tui/tui-data.h (struct tui_win_info): Rename _TuiWinInfo.
964 (union tui_line_or_address): Rename _TuiLineOrAddress.
965 * tui/tui-winsource.h: Update copyright. Include "tui-data.h".
966 (tui_update_source_window): Rename tuiUpdateSourceWindow.
967 (tui_update_source_window_as_is): Rename
968 tuiUpdateSourceWindowAsIs.
969 (tui_update_source_windows_with_addr): Rename
970 tuiUpdateSourceWindowsWithAddr.
971 (tui_update_source_windows_with_line): Rename
972 tuiUpdateSourceWindowsWithLine.
973 (tui_clear_source_content): Rename tuiClearSourceContent.
974 (tui_erase_source_content): Rename tuiEraseSourceContent.
975 (tui_set_source_content_nil): Rename tuiSetSourceContentNil.
976 (tui_show_source_content): Rename tuiShowSourceContent.
977 (tui_horizontal_source_scroll): Rename tuiHorizontalSourceScroll.
978 (tui_set_exec_info_content): Rename tuiSetExecInfoContent.
979 (tui_show_exec_info_content): Rename tuiShowExecInfoContent.
980 (tui_erase_exec_info_content): Rename tuiEraseExecInfoContent.
981 (tui_clear_exec_info_content): Rename tuiClearExecInfoContent.
982 (tui_update_exec_info): Rename tuiUpdateExecInfo.
983 (tui_set_is_exec_point_at): Rename tuiSetIsExecPointAt.
984 (tui_alloc_source_buffer): Rename tuiAllocSourceBuffer.
985 (tui_line_is_displayed): Rename tuiLineIsDisplayed.
986 (tui_addr_is_displayed): Rename tuiAddrIsDisplayed.
987 (struct tui_win_info): Declare.
988 * tui/tui-stack.c: Update references.
989 * tui/tui-layout.c, tui/tui-winsource.c: Ditto.
990 * tui/tui-win.c, tui/tui-source.c: Ditto.
991 * tui/tui.c, tui/tui-disasm.c: Ditto.
992
9fbfb822
MK
9932004-02-06 Mark Kettenis <kettenis@gnu.org>
994
995 * i386-linux-tdep.c (i386_linux_sigcontext_addr): Fix calculation
996 of UCONTEXT_ADDR. Fixes PR backtrace/1545.
997
03cebad2
MK
9982004-02-05 Mark Kettenis <kettenis@gnu.org>
999
1000 * infrun.c (handle_inferior_event): Allow for breakpoint
1001 instructions to generate a SIGSEGV in addition to SIGTRAP, SIGILL
1002 and SIGEMT. Update comments.
1003 * NEWS (Revised SPARC target): Mention support for non-executable
1004 stack.
1005
290281b1
MK
10062004-02-04 Mark Kettenis <kettenis@gnu.org>
1007
1008 * target.h (target_object): Add TARGET_OBJECT_WCOOKIE.
1009 * inftarg.c: Update copyright year.
1010 (child_xfer_partial): Add support for TARGET_OBJECT_WCOOKIE.
1011 * sparc-nat.c: Include "target.h" and "gdb_assert.h".
1012 (sparc_xfer_wcookie): New function.
1013 * sparc-tdep.c (sparc_fetch_wcookie): New function.
1014 * Makefile.in (sparc-nat.o): Update dependencies.
1015 * config/sparc/nm-nbsd.h: Include "target.h".
1016 (NATIVE_XFER_WCOOKIE): New define.
1017 (sparc_xfer_wcookie): New prototype.
1018
212161df
AC
10192004-02-04 Andrew Cagney <cagney@redhat.com>
1020
1021 * m68k-tdep.c (m68k_saved_pc_after_call): Delete #ifdef
1022 SYSCALL_TRAP function.
1023 (m68k_gdbarch_init): Delete #ifdef SYSCALL_TRAP code.
1024
6e4c6c91
DJ
10252004-02-04 Andrew Cagney <cagney@redhat.com>
1026 Daniel Jacobowitz <drow@mvista.com>
1027
1028 * objfiles.h: Delete comments refering to inside_entry_func and
1029 DEPRECATED_FRAME_CHAIN_VALID.
1030 * defs.h (inside_entry_func): Update prototype..
1031 * blockframe.c (inside_entry_func): Rename to
1032 legacy_inside_entry_func. Add new inside_entry_func taking a frame.
1033 * frame.c (get_prev_frame): Pass the frame to inside_entry_func.
1034
cae688ec
JJ
10352004-02-03 Jeff Johnston <jjohnstn@redhat.com>
1036
1037 * breakpoint.c (struct captured_parse_breakpoint_args): Move
1038 outside of #ifdef SOLIB_ADD region.
1039 (do_restore_lang_radix_cleanup): Ditto.
1040 (resolve_pending_breakpoint): Ditto.
1041
19217676
AC
10422004-02-03 Andrew Cagney <cagney@redhat.com>
1043
1044 * ia64-tdep.c (read_sigcontext_register): Delete unused function.
1045 (process_note_abi_tag_sections): Delete unused function.
1046 (ia64_read_fp): Delete unused function.
1047 (gdbarch_extract_struct_value_address): Delete declaration.
1048
876753be
AC
10492004-02-02 Andrew Cagney <cagney@redhat.com>
1050
1051 * vax-tdep.c (vax_frame_chain): Delete call to
1052 deprecated_inside_entry_file.
1053 * ns32k-tdep.c (ns32k_frame_chain): Ditto.
1054
d4f10bf2
MK
10552004-02-02 Mark Kettenis <kettenis@gnu.org>
1056
1057 * dwarf2-frame.c (dwarf2_frame_cache): Deal with a return address
1058 column that's "empty" or "same value" when eliminating REG_RA
1059 rules.
1060
cae688ec
JJ
10612004-02-02 Jeff Johnston <jjohnstn@redhat.com>
1062
1063 * NEWS: Add information about new pending breakpoint support.
1064
0101ce28
JJ
10652004-02-02 Jeff Johnston <jjohnstn@redhat.com>
1066
1067 * breakpoint.h (struct breakpoint): Add new flag, from_tty,
1068 and pending fields for pending breakpoint support.
1069 * breakpoint.c (breakpoint_enabled): Add check for not pending.
1070 (condition_command): Only parse condition if not a pending
1071 breakpoint.
1072 (print_one_breakpoint): Add support for pending breakpoints.
1073 (describe_other_breakpoints): Add checks to verify we are not
1074 dealing with pending breakpoints.
1075 (check_duplicates): Don't check pending breakpoints.
1076 (set_raw_breakpoint): Initialize pending flag.
1077 (do_restore_lang_radix_cleanup): New cleanup routine.
1078 (resolve_pending_breakpoint): New function.
1079 (re_enable_breakpoints_in_shlibs): Try and resolve any
1080 pending breakpoints via resolve_pending_breakpoint.
1081 (mention): Add pending breakpoint support.
1082 (parse_breakpoint_sals): Add new parameter to pass to
1083 decode_line_1 to indicate silent errors when files or functions
1084 are not found. Change all callers.
1085 (do_captured_parse_breakpoint): New function.
1086 (break_command_1): Change prototype to return an rc value and to
1087 take an optional pending breakpoint pointer. Support creating
1088 a pending breakpoint if a "not found" form of error occurs when
1089 parsing the breakpoint. Also support resolving an existing pending
1090 breakpoint and be silent if the resolution fails.
1091 (create_breakpoints): Change prototype to take pending breakpoint
1092 pointer. When resolving a pending breakpoint, use the new pointer
1093 to provide a conditional or commands added by the end-user.
1094 (delete_breakpoint): Add appropriate check for pending.
1095 (breakpoint_re_set_one): Ditto.
1096 (do_enable_breakpoint): Ditto.
1097
8d577d32
DC
10982004-02-02 David Carlton <carlton@kealia.com>
1099
1100 * valops.c (enum oload_classification): New.
1101 (find_overload_match): Break implementation into separate
1102 functions; delete #if 0'd code; look for symbols within
1103 namespaces.
1104 (find_oload_champ_namespace,find_oload_champ_namespace_loop)
1105 (find_oload_champ,oload_method_static,classify_oload_match): New.
1106 * cp-support.h: Add declaration for cp_func_name; update
1107 declaration for make_symbol_overload_list.
1108 * cp-support.c (cp_func_name): New.
1109 (overload_list_add_symbol): Fix comment, use
1110 SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME.
1111 (make_symbol_overload_list): Take a function name and a namespace
1112 instead of a symbol; change implementation.
1113 (make_symbol_overload_list_using): New.
1114 (make_symbol_overload_list_qualified, read_in_psymtabs): New.
1115
22e8e3c7
FF
11162004-02-02 Fred Fish <fnf@redhat.com>
1117
1118 * main.c (gdb_stdtarg): Move definition to group with other
15390fef 1119 gdb_stdtarg definitions and update copyright years.
22e8e3c7
FF
1120 * remote-sim.c (gdb_os_write_stderr): Write output to
1121 gdb_stdtargerr stream instead of gdb_stdtarg stream.
1122 (gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of
15390fef 1123 gdb_stderr stream and update copyright years.
22e8e3c7 1124
6b753f60
DJ
11252004-02-01 Daniel Jacobowitz <drow@mvista.com>
1126
1127 * Makefile.in (mips-linux-nat.o): Update dependencies.
1128 * mips-linux-nat.c: Include mips-tdep.h.
1129
11302004-02-01 Roland McGrath <roland@redhat.com>
2cb6b099
RM
1131
1132 * sol-thread.c (sol_thread_xfer_partial): New function.
1133 (init_sol_thread_ops): Use that for to_xfer_partial hook.
1134 (init_sol_core_ops): Likewise.
1135
1136 * procfs.c (procfs_xfer_partial): New function.
1137 (init_procfs_ops): Use that for procfs_ops.to_xfer_partial.
1138 * Makefile.in (procfs.o): Add $(auxv_h) dep.
1139
1140 * config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's
1141 procfs_xfer_auxv function.
1142
1143 * procfs.c (procfs_make_note_section): If we can read
1144 TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it.
1145 * linux-proc.c (linux_make_note_section): Likewise.
1146
1147 * auxv.h: New file.
1148 * auxv.c: New file.
1149 * Makefile.in (auxv_h): New variable.
1150 (COMMON_OBS): Add auxv.o here.
1151 (auxv.o): New target.
1152
1153 * corelow.c (core_xfer_partial): New function.
1154 (init_core_ops): Use it for core_ops.to_xfer_partial.
1155
1156 * target.h (enum target_object): Add TARGET_OBJECT_AUXV.
1157 * inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV
1158 macro if that is defined.
1159
fa5281d0
DJ
11602004-02-01 Daniel Jacobowitz <drow@mvista.com>
1161
1162 * breakpoint.c (bpstat_stop_status): Take a ptid_t argument,
1163 and check the specified thread for each breakpoint.
1164 * breakpoint.h (bpstat_stop_status): Update prototype.
1165 * infrun.c (handle_inferior_event): Update calls to
1166 bpstat_stop_status.
1167
26ee262d
DJ
11682004-02-01 Daniel Jacobowitz <drow@mvista.com>
1169
1170 * Makefile.in (cli-cmds.o): Add $(readline_h).
1171
d9b52655
DJ
11722004-02-01 Daniel Jacobowitz <drow@mvista.com>
1173
1174 * cli/cli-cmds.c: Include readline.h.
1175 (complete_command): Pass the start of the last word to
1176 complete_line.
1177
9709f61c
DJ
11782004-01-31 Daniel Jacobowitz <drow@mvista.com>
1179
1180 * breakpoint.c (bpstat_stop_status): Remove not_a_sw_breakpoint
1181 argument, and change first argument to a CORE_ADDR.
1182 * breakpoint.h (bpstat_stop_status): Update prototype.
1183 * infrun.c (adjust_pc_after_break): Add a new comment.
1184 (handle_inferior_event): Update calls to bpstat_stop_status.
1185
4f1280bb
DJ
11862004-01-31 Daniel Jacobowitz <drow@mvista.com>
1187
1188 * breakpoint.h: Update copyright years.
1189
4fa8626c
DJ
11902004-01-31 Daniel Jacobowitz <drow@mvista.com>
1191
1192 * breakpoint.c (software_breakpoint_inserted_here_p): New function.
1193 (bpstat_stop_status): Don't decrement PC.
1194 * breakpoint.h (software_breakpoint_inserted_here_p): Add
1195 prototype.
1196 * infrun.c (adjust_pc_after_break): New function.
1197 (handle_inferior_event): Call it, early. Remove later references
1198 to DECR_PC_AFTER_BREAK.
1199 (normal_stop): Add commentary.
1200
fad0733a
DJ
12012004-01-31 Daniel Jacobowitz <drow@mvista.com>
1202
1203 * breakpoint.c (breakpoint_re_set_one): Add missing chunk of
1204 2004-01-27 double-free fix.
1205
42cdca6c
MK
12062004-01-31 Mark Kettenis <kettenis@gnu.org>
1207
1208 * sparc-tdep.c (sparc_fetch_wcookie): New function.
1209 (sparc32_frame_prev_register): Handle StackGhost.
1210 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
1211
932d5416
RM
12122004-01-29 Roland McGrath <roland@redhat.com>
1213
1214 * configure.in (NEW_PROC_API): Also match solaris2.9 for this test.
1215 * configure: Regenerated.
1216
1217 * procfs.c: Include gdb_string.h for str* decls, otherwise warnings.
1218 * Makefile.in (procfs.o): Add dep.
1219
47d3492a
AC
12202004-01-28 Andrew Cagney <cagney@redhat.com>
1221
1222 * tui/tui-stack.h: Update copyright.
1223 (struct frame_info): Add opaque declaration.
1224 (tui_update_locator_filename): Rename tuiUpdateLocatorFilename.
1225 (tui_show_locator_content): Rename tuiShowLocatorContent.
1226 (tui_show_frame_info): Rename tuiShowFrameInfo.
1227 * tui/tui-stack.c: Update copyright. Update references.
1228 * tui/tui-winsource.c: Update references.
1229 * tui/tui-win.c: Update references.
1230 * tui/tui-layout.c: Update references.
1231 * tui/tui-hooks.c: Update copyright, update references.
1232 * tui/tui.c: Update copyright, update references.
1233 * tui/tui-disasm.c: Update references.
1234
5d51ca54
DC
12352004-01-28 David Carlton <carlton@kealia.com>
1236
1237 * dwarf2read.c (add_partial_structure): Use demangled name if
1238 namespace equals "".
1239
086ed43d
JB
12402004-01-27 Jim Blandy <jimb@redhat.com>
1241
1242 Clean up misapplied patch:
1243 * dwarf2read.c (determine_prefix): Change one of the two forward
1244 declarations for 'determine_prefix_aux' to a declaration for this.
1245 (read_func_scope): Use cu->language, not cu_language. Pass 'cu'
1246 argument to 'die_specification'.
1247
2a35147e
JB
1248 * dwarf2read.c (read_func_scope): Re-indent comment.
1249
a355c7de 12502004-01-27 Paul N. Hilfinger <hilfinger@gnat.com>
932d5416 1251
a355c7de
AC
1252 * breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and
1253 b->exp to NULL after freeing so that error during re-parsing or
1254 evaluation of expressions associated with breakpoint don't
1255 eventually lead to re-freeing of storage.
1256 Committed by Andrew Cagney.
1257
63ff5125
AC
12582004-01-27 Andrew Cagney <cagney@redhat.com>
1259
1260 * source.c (ambiguous_line_spec): Delete undefined declaration.
1261 * m32r-rom.c (m32r_set_board_address): Delete unused function.
1262 (m32r_set_server_address, m32r_set_download_path): Ditto.
1263 * remote-fileio.c (remote_fileio_to_fio_int): Ditto.
1264
e142c38c
DJ
12652004-01-27 Daniel Jacobowitz <drow@mvista.com>
1266
1267 * dwarf2read.c: Update calls to changed and renamed functions, and
1268 references to moved variables.
1269
1270 (struct dwarf2_cu): Add first_fn, last_fn, cached_fn,
1271 language, language_defn, list_in_scope, and ftypes members.
1272 (cu_first_fn, cu_last_fn, cu_cached_fn, cu_language)
1273 (cu_language_defn, list_in_scope, ftypes, cu_header_offset)
1274 (baseaddr): Remove globals.
1275
1276 (dwarf_attr): Renamed to dwarf2_attr. Add CU argument.
1277 (set_cu_language, die_is_declaration, die_specification)
1278 (determine_prefix, determin_prefix_aux, class_name, namespace_name)
1279 (dwarf2_linkage_name, dwarf2_name, dwarf2_extension)
1280 (dwarf2_get_ref_die_offset, dwarf2_fundamental_type)
1281 (initialize_cu_func_list, add_to_cu_func_list): Add CU argument.
1282
1283 (dwarf2_build_psymtabs_hard): Add local baseaddr. Initialize
1284 cu.list_in_scope. Don't initialize cu_header_offset.
1285 (add_partial_symbol): Add local baseaddr.
1286 (psymtab_to_symtab_1): Add local baseaddr. Use
1287 objfile->section_offsets for consistency. Don't initialize
1288 cu_header_offset; do initialize cu.header.offset and
1289 cu.list_in_scope.
1290 (read_file_scope, read_func_scope, read_lexical_block_scope)
1291 (dwarf_decode_lines, new_symbol): Add local baseaddr.
1292
c6e06ede
MC
12932004-01-27 Michael Chastain <mec.gnu@mindspring.com>
1294
fb328ecc 1295 * PROBLEMS: Add gdb/1516.
c6e06ede 1296
48184fd4
AC
12972003-12-29 Robert Millan <robertmh@gnu.org>
1298
1299 Patch committed by Andrw Cagney.
1300 * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
1301 * configure.tgt: Match knetbsd*-gnu.
1302
c1321b30
AC
13032004-01-26 Andrew Cagney <cagney@redhat.com>
1304
f3699be3
AC
1305 * breakpoint.c (catch_command_1): Delete #ifdef code.
1306 (catch_fork_command_1): Delete #ifdef wrapper.
1307 (catch_exec_command_1): Ditto.
1308 (catch_load_command_1): Ditto.
1309 (catch_unload_command_1): Ditto.
1310
c1321b30
AC
1311 * breakpoint.c (watchpoint_check): Delete #if0ed variable.
1312 (catch_breakpoint): Delete #if0ed function.
1313 (disable_catch_breakpoint): Ditto.
1314 (delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
1315 (disable_catch, enable_catch, delete_catch): Ditto.
1316
b4501125
AC
13172004-01-26 Andrew Cagney <cagney@redhat.com>
1318
1319 * remote.c (echo_check, quit_flag): Delete variables.
1320 (cisco_kernel_mode): Delete variable.
1321 (minitelnet_return, tty_input, escape_count): Delete variables.
1322 (remote_cisco_mode): Delete variable.
1323 (remote_cisco_open, remote_cisco_close): Delete function.
1324 (remote_cisco_mourn, remote_cisco_wait): Delete function.
1325 (init_remote_cisco_ops): Delete function.
1326 (_initialize_remote): Do not install "remote cisco" code.
1327 (read_frame): Delete cisco specific code.
1328 (remote_info_process): Delete function.
1329 (remote_wait): Delete cisco specific code.
1330 (remote_cisco_section_offsets): Delete function.
1331 (remote_cisco_objfile_relocate): Delete function.
1332 (remote_async_wait): Delete cisco specific code.
1333 (minitelnet, readtty, readsocket): Delete function.
1334
74055713
AC
13352004-01-26 Andrew Cagney <cagney@redhat.com>
1336
1337 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add
1338 comments mentioning extract_returned_value_address.
1339 * infcmd.c (print_return_value): Update. Add comments on
1340 extract_returned_value_address.
1341 * stack.c (return_command): Add comments on
1342 extract_returned_value_address.
1343 * values.c: Update comment.
1344 * m32r-tdep.c: Update comment.
1345 * sparc-tdep.c: Update comment.
1346 * ia64-tdep.c (ia64_use_struct_convention): Update comment.
1347 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1348 * sh64-tdep.c (sh64_gdbarch_init): Update.
1349 * sh-tdep.c (sh_gdbarch_init): Update.
1350 * s390-tdep.c (s390_gdbarch_init): Update.
1351 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1352 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
1353 * m68k-tdep.c (m68k_gdbarch_init): Update.
1354 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1355 * m32r-tdep.c (m32r_gdbarch_init): Update.
1356 * ia64-tdep.c (ia64_gdbarch_init): Update.
1357 * h8300-tdep.c (h8300_gdbarch_init): Update.
1358 * frv-tdep.c (frv_gdbarch_init): Update.
1359 * arm-tdep.c (arm_gdbarch_init): Update.
1360 * alpha-tdep.c (alpha_gdbarch_init): Update.
1361
a67af2b9
AC
13622004-01-26 Andrew Cagney <cagney@redhat.com>
1363
1364 * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of
1365 SYMBOL_LOCATION_FUNCS
1366 (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to
1367 "struct symbol_ops".
1368 * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change
1369 type to "struct symbol_ops".
1370 * symtab.h (struct symbol_ops): Rename "struct location_funcs".
1371 (struct symbol): Replace ".aux_value.loc.funcs" and
1372 ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr".
1373 (SYMBOL_OBJFILE): Delete macro.
1374 (SYMBOL_LOCATION_FUNCS): Delete macro.
1375 (SYMBOL_LOCATION_BATON): Update.
1376 * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS
1377 intead of SYMBOL_LOCATION_FUNCS.
1378 * ax-gdb.c (gen_var_ref): Ditto.
1379 * printcmd.c (address_info): Ditto.
1380 * findvar.c (read_var_value): Ditto.
1381 (symbol_read_needs_frame): Ditto.
1382
c034e007
AC
13832004-01-26 Andrew Cagney <cagney@redhat.com>
1384
1385 * dwarf2read.c (read_func_scope): Document frame-base hack.
1386
bb472c1e
MK
13872004-01-25 Mark Kettenis <kettenis@gnu.org>
1388
1389 * infcmd.c (print_return_value): Plug memory leak; delete
1390 ui_stream object. Rename argument `structure_return' to
1391 `struct_return'.
1392
c8e737d5
MK
13932004-01-25 Mark Kettenis <kettenis@gnu.org>
1394
f941662f
MK
1395 * infcmd.c (print_return_value): Wrap long lines.
1396 (finish_command_continuation, finish_command): Remove unused
1397 variable `funcaddr'. Fix some coding-standards problems.
1398
c558d81a
MK
1399 * sparc-tdep.c (sparc_regset_from_core_section): Check whether
1400 SECT_SIZE is large enough, not wheter it's exactly the right size.
1401 (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and
1402 TDEP->fpregset to zero.
1403
bf1e5861 1404 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the
c8e737d5
MK
1405 floating-point registers for traditional NetBSD core files.
1406 (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and
1407 TDEP->sizeof_fpregset here.
1408
4c72d57a
MK
14092004-01-25 Mark Kettenis <kettenis@gnu.org>
1410
566626fa
MK
1411 * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
1412 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New
1413 function with code split out from
1414 sparc32nbsd_sigcontext_frame_cache.
1415 (sparc32nbsd_sigcontext_frame_cache): Use
1416 sparc32nbsd_sigcontext_saved_regs.
1417 (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for
1418 OpenBSD.
1419 * sparcobsd-tdep.c: New file.
1420 * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c.
1421 (sparcobsd-tdep.o): New dependency.
1422 * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd.
1423 * config/sparc/obsd.mt: New file.
1424
4c72d57a
MK
1425 * sparc-tdep.c (sparc32_gdbarch_init): Don't require
1426 TDEP->fpregset to be initialized to enable core file register
1427 sets.
1428
7e5e9f88
MK
14292004-01-24 Mark Kettenis <kettenis@gnu.org>
1430
f0f207fd 1431 * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg):
1e067c66
MK
1432 Add opaque declarations.
1433 (sparc64nbsd_sigcontext_saved_regs): New prototype.
1434 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New
1435 function with code split out from
1436 sparc64nbsd_sigcontext_frame_cache.
1437 (sparc64nbsd_sigcontext_frame_cache): Use
1438 sparc64nbsd_sigcontext_saved_regs.
1439 (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for
1440 OpenBSD.
1441 * sparc64obsd-tdep.c: New file.
1442 * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c.
1443 (sparc64obsd-tdep.o): New dependency.
1444 * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and
1445 gdb_osabi to GDB_OSABI_OPENBSD_ELF.
1446 * config/sparc/obsd64.mt: New file.
1447
690668cc
MK
1448 * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't
1449 read the instruction at PC.
1450
7e5e9f88
MK
1451 * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the
1452 value of GDB_OSABI_DEFAULT.
1453 (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE
1454 instead of GDB_OSABI_NETBSD_AOUT.
1455
68b6dce9
NR
14562004-01-24 Nick Roberts <nick@nick.uklinux.net>
1457
1458 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update
1459 copyright.
1460
080ce8c0
AC
14612004-01-23 Andrew Cagney <cagney@redhat.com>
1462
1463 * printcmd.c (display_command): Replace tui_set_display call with
1464 tui_set_layout_for_display_command.
1465 * tui/tui.h (enum tui_win_type): Define.
1466 (tui_set_layout): Delete declaration.
1467 (tui_set_layout_for_display_command): Rename set_tui_layout.
1468 * tui/tui-data.h (enum tui_layout_type): Define.
1469 * tui/tui-layout.h: Update copyright. Include "tui-data.h" and
1470 "tui.h".
1471 (tui_add_win_to_layout): Rename tuiAddWinToLayout.
1472 (tui_default_win_height): Rename tuiDefaultWinHeight.
1473 (tui_default_win_viewport_height): Rename
1474 tuiDefaultWinViewportHeight.
1475 (tui_set_layout): RenametuiSetLayout.
1476 * tui/tui-layout.c: Update references.
1477 * tui/tui.c: Update references.
1478 * tui/tui-disasm.c: Update references.
1479
b368761e
DC
14802004-01-23 David Carlton <carlton@kealia.com>
1481
1482 Partial workaround for PR c++/1511:
1483 * cp-namespace.c: Include frame.h.
1484 (cp_lookup_transparent_type): New
1485 (cp_lookup_transparent_type_loop): New.
1486 * cp-support.h: Declare cp_lookup_transparent_type.
1487 * symtab.c (basic_lookup_transparent_type): Renamed from
1488 lookup_transparent_type.
1489 (lookup_transparent_type): Replace old body by a call to
1490 current_language->la_lookup_transparent_type.
1491 * symtab.h: Update copyright. Declare
1492 basic_lookup_transparent_type.
1493 * language.h: Update copyright.
1494 (struct language_defn): Add la_lookup_transparent_type.
1495 * language.c: Update copyright.
1496 (unknown_language_defn): Add basic_lookup_transparent_type.
1497 (auto_language_defn): Add basic_lookup_transparent_type.
1498 (local_language_defn): Add basic_lookup_transparent_type.
1499 * ada-lang.c: Update copyright.
1500 (ada_language_defn): Add basic_lookup_transparent_type.
1501 * c-lang.c: Update copyright.
1502 (c_language_defn): Add basic_lookup_transparent_type.
1503 (cplus_language_defn): Add basic_lookup_transparent_type.
1504 (asm_language_defn): Add basic_lookup_transparent_type.
1505 (minimal_language_defn): Add basic_lookup_transparent_type.
1506 * f-lang.c: Update copyright.
1507 (f_language_defn): Add basic_lookup_transparent_type.
1508 * jv-lang.c: Update copyright.
1509 (java_language_defn): Add basic_lookup_transparent_type.
1510 * m2-lang.c: Update copyright.
1511 (m2_language_defn): Add basic_lookup_transparent_type.
1512 * objc-lang.c: Update copyright.
1513 (objc_language_defn): Add basic_lookup_transparent_type.
1514 * p-lang.c: Update copyright.
1515 (p_language_defn): Add basic_lookup_transparent_type.
1516 * scm-lang.c: Update copyright.
1517 (scm_language_defn): Add basic_lookup_transparent_type.
1518 * Makefile.in (cp-namespace.o): Depend on frame.h.
1519
fdde2d81
DC
15202004-01-23 David Carlton <carlton@kealia.com>
1521
1522 Patch for PR c++/1520:
1523 * dwarf2read.c (read_func_scope): Set processing_current_prefix
1524 properly if we have a specification die.
1525 (determine_prefix_aux): Rename from determine_prefix.
1526 (determine_prefix): Like the old determine_prefix, but never
1527 returns NULL.
1528
5b828b6b
TR
15292004-01-23 Theodore A. Roth <troth@openavr.org>
1530
1531 * avr-tdep.c: Update copyright.
1532 (avr_iaddr_p): Delete unused function.
1533 (avr_saddr_p): Delete unused function.
1534
a1b8c067
DC
15352004-01-23 David Carlton <carlton@kealia.com>
1536
1537 * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
1538 Fix for PR symtab/1534.
1539
f2cab569
MK
15402004-01-23 Mark Kettenis <kettenis@gnu.org>
1541
1542 * NEWS (New native configurations): Mention OpenBSD/sparc and
1543 OpenBSD/sparc64.
1544 * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
1545 * configure.host: Likewise.
1546 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
1547 handler for OpenBSD.
1548 * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
1549
642d8300
MK
15502004-01-22 Mark Kettenis <kettenis@gnu.org>
1551
89aac506
MK
1552 * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
1553 (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.
1554
36662fde
MK
1555 * ser-pipe.c (pipe_open): Use proper null pointer in execl call.
1556 * cli/cli-cmds.c (shell_escape): Likewise.
1557
642d8300
MK
1558 * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
1559 OpenBSD .note.openbsd.ident sections.
1560
fae299cd
DC
15612004-01-22 David Carlton <carlton@kealia.com>
1562
1563 * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
1564 get_scope_pc_bounds.
1565 (read_file_scope): Ditto.
1566 (get_scope_pc_bounds): New function, produced by extracting code
1567 from the above two functions, consolidating it, and adding support
1568 for DW_TAG_namespace.
1569
a49d618c
MK
15702004-01-22 Mark Kettenis <kettenis@gnu.org>
1571
1572 * osabi.c (MAX_NOTESZ): New define.
1573 (check_note): New function.
1574 (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
1575 check_note.
1576
fe61caab
RM
15772004-01-21 Roland McGrath <roland@redhat.com>
1578
1579 * MAINTAINERS (write after approval): Add myself.
1580
ec145965
EZ
15812004-01-21 Eli Zaretskii <eliz@gnu.org>
1582
1583 * utils.c (init_page_info): Move declarations of `rows' and
1584 `cols' before the __GO32__-specific code. Move the closing brace
1585 outside the #ifdef __GO32__..#endif block.
1586 [__GO32__]: Use `rows' and `cols' to avoid compiler warnings.
1587
877522db
PB
15882004-01-21 Paul Brook <paul@codesourcery.com>
1589
1590 * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
1591 BPSTAT_WHAT_CHECK_SHLIBS.
1592
dbf5be1c
PB
15932004-01-21 Paul Brook <paul@codesourcery.com>
1594
1595 * MAINTAINERS: Add myself to write-after-approval.
1596
81f08b92
AC
15972004-01-20 Andrew Cagney <cagney@redhat.com>
1598
5a1efed7
AC
1599 * ax-gdb.c (print_axs_value): Delete unused function.
1600 * jv-lang.c (java_lookup_type): Delete unused function.
1601 * cli/cli-dump.c (dump_filetype): Delete unused function.
1602 * remote-mips.c (remote_mips_insert_hw_breakpoint)
1603 (remote_mips_remove_hw_breakpoint): Delete unused functions.
1604 (mips_getstring): Delete unused function.
1605 (pmon_insert_breakpoint): Delete #if0ed function.
1606 (PMON_MAX_BP): Delete #if0ed MACRO.
1607 (mips_pmon_bp_info): Delete #if0ed variable.
1608 (pmon_remove_breakpoint): Delete #if0ed function.
1609 * monitor.c (monitor_write_even_block): Delete unused function.
1610 (monitor_write_memory_block): Delete #if0ed code.
1611 * dink32-rom.c (dink32_load): Delete unused function.
1612 (_initialize_dink32_rom): Delete #if0ed code.
1613 * d10v-tdep.c (d10v_daddr_p): Delete unused function.
1614
b0a30fce
AC
1615 * tui/tui-command.c: Update references.
1616 * tui/tui-io.c: Update references.
1617 * tui/tui-command.h: Update copyright.
1618 (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
1619
81f08b92
AC
1620 * source.c (ambiguous_line_spec): Delete never-defined function.
1621 * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
1622 * gdbtypes.c (add_name, add_mangled_type): Ditto.
1623 * cli/cli-cmds.c (validate_comname): Ditto.
1624
65f05602
AC
1625 * tui/tui-disasm.h: Update copyright. Include "tui.h" and
1626 "tui-data.h".
1627 (tui_set_disassem_content): Rename tuiSetDisassemContent.
1628 (tui_show_disassem): Rename tuiShowDisassem.
1629 (tui_show_disassem_and_update_source): Rename
1630 tuiVerticalDisassemScroll.
1631 (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
1632 (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
1633 * tui/tui.h: Update copyright.
1634 (enum tui_status): Define.
1635 * tui/tui-data.h (enum tui_scroll_direction): Define.
1636 * tui/tui-disasm.c: Update copyright. Update references.
1637 * tui/tui-winsource.c: Update copyright. Update references.
1638 * tui/tui-win.c: Update references.
1639 * tui/tui-layout.c: Update references.
1640
6bb0384f
AC
16412004-01-20 Andrew Cagney <cagney@redhat.com>
1642
1643 * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
1644 sym2 to start of block.
1645
9175c9a3
MC
16462004-01-19 Michael Chastain <mec.gnu@mindspring.com>
1647
1648 * MAINTAINERS: Delete mmalloc.
1649 * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
1650 * NEWS: Mention removal of --with-malloc.
1651 * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
1652 * config.in: Regenerate.
1653 * configure: Regenerate.
6bb0384f
AC
1654 * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc,
1655 USE_MMALLOC, MMCHECK_FORCE.
9175c9a3
MC
1656 * gdbinit.in: Remove mmalloc.
1657 * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
1658 * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
1659 * config/i386/go32.mh: Likewise.
1660 * config/i386/interix.mh: Likewise.
1661 * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.
1662
4fcef00a
JJ
16632004-01-19 Jeff Johnston <jjohnstn@redhat.com>
1664
1665 * linespec.c (decode_variable, symtab_from_filename): Call
1666 error_silent with error message instead of throwing an exception
1667 directly.
1668 * defs.h (error_silent, error_output_message): Add prototypes.
1669 (catch_exceptions_with_msg): Ditto.
1670 * utils.c (error_silent, error_output_message): New functions.
1671 * top.c (catch_exceptions_with_msg): New function.
1672
8e94b928
NR
16732004-01-20 Nick Roberts <nick@nick.uklinux.net>
1674
1675 * mi/mi-cmds.h (enum print_values): Add definition.
1676
1677 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name,
1678 type and value for simple data types and just the name and type
1679 for complex ones, if required.
1680
1681 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the
1682 children, if required.
1683
a02d6af8
KB
16842004-01-19 Kevin Buettner <kevinb@redhat.com>
1685
1686 * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
1687 unused declarations.
1688
78a4a9b9
AC
16892004-01-19 Andrew Cagney <cagney@redhat.com>
1690
1691 * top.h (mapped_symbol_files): Delete declaration.
1692 * main.c (captured_main): Delete option "m" and "mapped".
1693 * objfiles.c (mapped_symbol_files): Delete variable.
1694 * symfile.c (symbol_file_command): Delete mmap code.
1695 (symbol_file_add_with_addrs_or_offsets): Ditto.
1696 (add_symbol_file_command, reread_separate_symbols): Ditto.
1697 * objfiles.h (OBJF_MAPPED): Delete.
1698 * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
1699 (free_objfile) [USE_MMALLOC]: Ditto.
1700 (open_existing_mapped_file): Delete function.
1701 (open_mapped_file): Delete function.
1702 (map_to_file): Delete function.
1703
2dbd5e30
KB
17042004-01-19 Kevin Buettner <kevinb@redhat.com>
1705
1706 * infrun.c (step_into_function): Account for possible breakpoint
1707 adjustment when computing ``stop_func_start''.
1708
437b434f
KB
17092004-01-19 Kevin Buettner <kevinb@redhat.com>
1710
1711 * target.c (default_region_size_ok_for_hw_watchpoint): Compare
1712 the region size against the size of a pointer, not the size of
1713 a register as given by DEPRECATED_REGISTER_SIZE.
1714
55fb0713
AC
17152004-01-19 Andrew Cagney <cagney@redhat.com>
1716
1717 * tui/tui-regs.h: Include "tui-data.h".
1718 (tuiFirstRegElementNoInLine): Delete declaration.
1719 (tui_display_registers_from): Rename tuiDisplayRegistersFrom.
1720 (tui_last_regs_line_no): Rename tuiLastRegsLineNo.
1721 (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
1722 (tui_calculate_regs_column_count): Rename
1723 tuiCalculateRegsColumnCount.
1724 (tui_check_register_values): Rename tuiCheckRegisterValues.
1725 (tui_show_registers): Rename tuiShowRegisters.
1726 (tui_display_registers_from_line): Rename
1727 tuiDisplayRegistersFromLine.
1728 (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
1729 (tui_toggle_float_regs): Rename tuiToggleFloatRegs.
1730 (tui_first_reg_element_no_inline): Rename
1731 tuiFirstRegElementNoInLine.
1732 * tui/tui-data.h: Update copyright.
1733 (enum tui_register_display_type): Rename _TuiRegisterDisplayType.
1734 * tui/tui-windata.c: Update copyright, update references.
1735 * tui/tui-regs.c: Update copyright, update references.
1736 * tui/tui-win.c: Update copyright, update references.
1737 * tui/tui-layout.c: Update copyright, update references.
fe61caab 1738
cebe9500
AC
17392004-01-18 Andrew Cagney <cagney@redhat.com>
1740
bcdf1568
AC
1741 * tui/tui-io.c: Update copyright.
1742 (key_is_end_sequence, key_is_backspace): New functions.
1743 (key_is_command_char, key_is_start_sequence): New function.
1744 (tui_getc): Update references.
1745 * tui/tui-io.h: Update copyright.
1746 (m_tuiStartNewLine): Delete macro.
1747 (m_isBackspace, m_isDeleteChar): Delete macros.
1748 (m_isDeleteLine, m_isDeleteToEol): Delete macros.
1749 (m_isNextPage, m_isPrevPage): Delete macros.
1750 (m_isLeftArrow, m_isRightArrow): Delete macros.
1751 (m_isXdbStyleCommandChar): Delete macro.
1752 (key_is_start_sequence): Declare, replace m_isStartSequence.
1753 (key_is_end_sequence): Declare, replace m_isEndSequence.
1754 (key_is_backspace): Declare ,replace m_isBackspace.
1755 (key_is_command_char): Declare, replace m_isCommandChar.
1756 * tui/tui-command.c: Update copyright.
1757 (tuiDispatchCtrlChar): Update references.
1758
130d87e6
AC
1759 * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
1760 tuiSourceWin.h.
1761
d7b2e967
AC
1762 * tui/tui-command.c: Rename tui/tuiCommand.c.
1763 * tui/tui-command.h: Rename tui/tuiCommand.h.
1764 * tui/tui-data.c: Rename tui/tuiData.c.
1765 * tui/tui-data.h: Rename tui/tuiData.h.
1766 * tui/tui-disasm.c: Rename tui/tuiDisassem.c.
1767 * tui/tui-disasm.h: Rename tui/tuiDisassem.h.
1768 * tui/tui-io.c: Rename tui/tuiIO.c.
1769 * tui/tui-io.h: Rename tui/tuiIO.h.
1770 * tui/tui-layout.c: Rename tui/tuiLayout.c.
1771 * tui/tui-layout.h: Rename tui/tuiLayout.h.
1772 * tui/tui-regs.c: Rename tui/tuiRegs.c.
1773 * tui/tui-regs.h: Rename tui/tuiRegs.h.
1774 * tui/tui-source.c: Rename tui/tuiSource.c.
1775 * tui/tui-source.h: Rename tui/tuiSource.h.
1776 * tui/tui-stack.c: Rename tui/tuiStack.c.
1777 * tui/tui-stack.h: Rename tui/tuiStack.h.
1778 * tui/tui-win.c: Rename tui/tuiWin.c.
1779 * tui/tui-win.h: Rename tui/tuiWin.h.
1780 * tui/tui-windata.c: Rename tui/tuiDataWin.c.
1781 * tui/tui-windata.h: Rename tui/tuiDataWin.h.
1782 * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
1783 * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
1784 * tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
1785 * tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
1786 * tui/tui-file.c: Update includes.
1787 * tui/tui-hooks.c: Update includes.
1788 * tui/tui-interp.c: Update includes.
1789 * tui/tui.c: Update includes.
1790 * Makefile.in: Update all tui/ dependencies.
1791 (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.
1792
b2100910
AC
1793 * Makefile.in: Update copyright. Update dependencies.
1794
cebe9500
AC
1795 * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
1796 problem.
1797
c6f0559b
AC
17982004-01-18 Andrew Cagney <cagney@redhat.com>
1799
43e9390b
AC
1800 * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
1801 instead of register_gdbarch_init.
1802
c6f0559b
AC
1803 * remote-sds.c (tohex): Delete unused function. Update copyright.
1804 * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
1805 * v850-tdep.c (v850_register_virtual_size): Ditto.
1806 * target.c (normal_target_post_startup_inferior): Ditto.
1807 * source.c (ambiguous_line_spec): Ditto.
1808 * remote.c (adapt_remote_get_threadinfo): Ditto.
1809 * mi/mi-out.c (out_field_fmt): Ditto.
1810 * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
1811 (output_control_change_notification): Ditto.
1812 * m68k-tdep.c (m68k_register_byte): Ditto.
1813 (m68k_remote_breakpoint_from_pc): Ditto.
1814 * ui-out.c (init_ui_out_state): Delete unused declaration.
1815 * stabsread.c (search_value): Ditto.
1816 * mi/mi-cmd-env.c (env_cli_command): Ditto.
1817 * maint.c (print_section_table): Ditto.
1818 * infrun.c (set_follow_fork_mode_command): Ditto.
1819
a8504492
MK
18202004-01-18 Mark Kettenis <kettenis@gnu.org>
1821
1822 * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
1823 DW_CFA_def_cfa_exporession. Add support for
1824 DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and
1825 DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391.
1826
0bd8997e
AC
18272004-01-18 Andrew Cagney <cagney@redhat.com>
1828
1829 * ocd.c: Update copyright.
1830 (bdm_read_register_command): Delete unused function.
1831 (_initialize_remote_ocd): Delete commented out reference.
1832 (get_quoted_char, reset_packet): Delete #if0ed function.
1833 (output_packet, put_quoted_char): Delete #if0ed function.
1834 (stu_put_packet, stu_get_packet): Delete #if0ed function.
1835 (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper.
1836 (BDM_BREAKPOINT): Delete #if0ed macro.
1837 (remote_timeout): Delete #if0ed variable.
1838
31bb40e4
MK
18392004-01-18 Mark Kettenis <kettenis@gnu.org>
1840
1841 * Makefile.in (ALLDEPFILES): Remove core-sol2.c.
1842 (core-sol2.o): Remove dependency.
1843 * core-sol2.c: Remove file.
1844
887432a5
AC
18452004-01-17 Andrew Cagney <cagney@redhat.com>
1846
1847 * mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
1848 * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
1849 enums.
1850
29182b13
DJ
18512004-01-17 Daniel Jacobowitz <drow@mvista.com>
1852
1853 * remote.c: Update copyright years.
1854
2963ee1d
DJ
18552004-01-17 Daniel Jacobowitz <drow@mvista.com>
1856
1857 * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.
1858
79d45cd4
AC
18592004-01-17 Andrew Cagney <cagney@redhat.com>
1860
ee300cd4
AC
1861 * mdebugread.c: Update copyright.
1862 (parse_symbol): Replace DEPRECATED_STREQ with strcmp.
1863 (parse_type, parse_procedure): Ditto.
1864 (parse_partial_symbols, psymtab_to_symtab_1): Ditto.
1865
fcacc9c2
AC
1866 * cris-tdep.c (cris_store_struct_return): Put back accidently
1867 deleted function.
1868
79d45cd4
AC
1869 * gdbarch.sh: Update copyright year.
1870 * gdbarch.h, gdbarch.c: Re-generate.
1871
b263358a
DJ
18722004-01-17 Daniel Jacobowitz <drow@mvista.com>
1873
1874 Suggested by George Anzinger.
1875 * dwarf2expr.c (execute_stack_op): Fetch the second item from the
1876 correct stack offset. Include unknown opcode numbers in the error
1877 message.
1878
931aecf5
AC
18792004-01-17 Andrew Cagney <cagney@redhat.com>
1880
1881 * x86-64-tdep.c (x86_64_init_abi): No need to clear
1882 extract_struct_value_address, i386 does not set it.
1883 * sparc64-tdep.c (sparc64_init_abi): Do not set
1884 extract_struct_value_address, never called.
1885 (sparc64_extract_struct_value_address): Delete function.
1886 * m68hc11-tdep.c: Update copyright.
1887 (m68hc11_gdbarch_init): Delete redundant assignment of
1888 extract_struct_value_address.
1889 * i386-tdep.c: Update copyright.
1890 (i386_gdbarch_init): Do not set extract_struct_value_address,
1891 never called.
1892 (i386_extract_struct_value_address): Delete function.
1893 * sparc-tdep.c (sparc32_gdbarch_init): Do not set
1894 extract_struct_value_address, never called.
1895 (sparc32_extract_struct_value_address): #if 0 function. Add
1896 comments explaining its future.
1897
756fe439
DJ
18982004-01-17 Daniel Jacobowitz <drow@mvista.com>
1899
1900 * arm-tdep.c (arm_write_pc): New function.
1901 (arm_gdbarch_init): Call set_gdbarch_write_pc.
1902
e74f0f02
DJ
19032004-01-17 Daniel Jacobowitz <drow@mvista.com>
1904
1905 * breakpoint.c (must_shift_inst_regs): Delete.
1906 (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
1907 and SHIFT_INST_REGS.
1908 * infcmd.c (step_1, step_1_continuation): Delete references to
1909 SHIFT_INST_REGS.
1910 * infrun.c (keep_going): Likewise.
1911 * target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
1912 * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
1913
b6cb9035
AC
19142004-01-17 Andrew Cagney <cagney@redhat.com>
1915
444a1e2e
AC
1916 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
1917 * gdbarch.h, gdbarch.c: Re-generate.
1918 * infcmd.c (print_return_value): Delete reference to
1919 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
1920
def7e6ed
AC
1921 * cris-tdep.c (cris_gdbarch_init): Do not set
1922 deprecated_extract_struct_value_address.
1923
07be497a
AC
1924 * xstormy16-tdep.c: Update copyright.
1925 (xstormy16_extract_struct_value_address): Update to current
1926 extract struct value address interface.
1927 (xstormy16_gdbarch_init): Set extract_struct_value_address.
1928 * sh64-tdep.c (sh64_extract_struct_value_address): Update to
1929 current extract struct value address interface.
1930 (sh64_gdbarch_init): Set extract_struct_value_address.
1931
6b4d5c91
AC
1932 * cris-tdep.c: Update copyright.
1933 (cris_extract_struct_value_address): Delete function.
1934 (struct_return_address): Delete variable.
1935 (cris_store_struct_return): Do not set struct_return_address.
1936
464e0365
AC
1937 * mcore-tdep.c: Update copyright.
1938 (mcore_extract_struct_value_address): Delete function. Update
1939 comments.
1940 (mcore_gdbarch_init): Update.
1941 * mn10300-tdep.c: Update copyright.
1942 (mn10300_extract_struct_value_address): Delete function.
1943 (mn10300_gdbarch_init): Update.
1944 * v850-tdep.c: Update copyright.
1945 (v850_extract_struct_value_address): Delete.
1946 (v850_gdbarch_init): Update.
1947 * ns32k-tdep.c: Update copyright.
1948 (ns32k_extract_struct_value_address): Delete.
1949 (ns32k_gdbarch_init): Update.
1950 * hppa-tdep.c (hppa_extract_struct_value_address): Delete.
1951 (hppa_gdbarch_init): Update.
1952 * vax-tdep.c: Update copyright.
1953 (vax_extract_struct_value_address): Delete.
1954 (vax_gdbarch_init): Update.
1955
afb18d0f
AC
1956 * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
1957 * gdbarch.h, gdbarch.c: Re-generate.
1958 * procfs.c (procfs_fetch_registers): Delete reference to
1959 DEPRECATED_NPC_REGNUM.
1960 (procfs_store_registers): Ditto.
1961 * regcache.c (generic_target_write_pc): Simplify.
1962 * lynx-nat.c: Delete #ifdef SPARC code. Not used.
1963
a698f53e
AC
1964 * core-sol2.c (fetch_core_registers): Replace
1965 DEPRECATED_NPC_REGNUM with equivalent tdep value.
1966
adc11376
AC
1967 * hppa-tdep.c: Update copyright year.
1968 (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of
1969 NPC_REGNUM.
1970 (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
1971
b6cb9035
AC
1972 * mips-tdep.c (mips_write_pc): New function.
1973 (mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
1974 (mips_read_pc): Use mips_regnum instead of PC_REGNUM.
1975 (mips_find_saved_regs, mips_software_single_step: Ditto.
1976 (mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
1977 mips_init_extra_frame_info, mips_pop_frame): Ditto.
1978
6d82d43b
AC
19792004-01-17 Andrew Cagney <cagney@redhat.com>
1980
1981 * mips-tdep.c: Re-indent. Group functions by ABI.
1982
71bd6bd4
AC
19832004-01-17 Andrew Cagney <cagney@redhat.com>
1984
1985 * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
1986 * gdbarch.c: Re-generate.
1987 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
1988 DECR_PC_AFTER_BREAK to zero.
1989 * vax-tdep.c (vax_gdbarch_init): Ditto.
1990 * v850-tdep.c (v850_gdbarch_init): Ditto.
1991 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
1992 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
1993 * sh-tdep.c (sh_gdbarch_init): Ditto.
1994 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1995 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1996 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1997 * mips-tdep.c (mips_gdbarch_init): Ditto.
1998 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1999 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2000 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
2001 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2002 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
2003 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
2004 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2005 * frv-tdep.c (frv_gdbarch_init): Ditto.
2006 * cris-tdep.c (cris_gdbarch_init): Ditto.
2007 * avr-tdep.c (avr_gdbarch_init): Ditto.
2008 * arm-tdep.c (arm_gdbarch_init): Ditto.
2009 * i386-nto-tdep.c (i386nto_init_abi): Add comment.
2010
a02abb62
JB
20112004-01-17 J. Brobecker <brobecker@gnat.com>
2012
2013 * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
2014 Delete, no longer used.
2015 (read_subrange_type): New function, mostly extracted from
2016 read_array_type().
2017 (read_array_type): Replace extracted code by call to
2018 read_subrange_type().
2019 (dwarf2_get_attr_constant_value): New function.
2020 (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
2021 (add_partial_symbol): Likewise.
2022 (process_die): Likewise.
2023 (new_symbol): Likewise.
2024 (read_type_die): Likewise.
2025
cf5b2f1b
AC
20262004-01-16 Andrew Cagney <cagney@redhat.com>
2027
2028 * symfile.c: Update copyright year.
2029 (compare_symbols): Delete unused function.
2030 * stabsread.c: Update copyright year.
2031 (lrs_general_complaint): Delete unused function.
2032 (ref_search_value): Ditto.
2033 (get_substring): Delete declaration.
2034 * sh64-tdep.c: Update copyright year.
2035 (sh64_get_gdb_regnum): Delete unused function.
2036 * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
2037 Delete unused function.
2038
d33b9831
MK
20392004-01-17 Mark Kettenis <kettenis@gnu.org>
2040
2041 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
2042 * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
2043
7aea86e6
AC
20442004-01-16 Andrew Cagney <cagney@redhat.com>
2045
2046 Changes from Peter Schauer.
2047 * rs6000-tdep.c: Update copyright year.
2048 (rs6000_push_dummy_call): Update the stack pointer before
2049 accessing the corresponding stack region.
2050 * rs6000-nat.c: Update copyright year.
2051 (set_host_arch): Set "info.abfd" to "exec_bfd".
2052
26b0da32
MK
20532004-01-15 Mark Kettenis <kettenis@gnu.org>
2054
2055 * blockframe.c: Update copyright year.
2056 (inside_entry_func): Don't treat a zero PC specially.
2057
86fbe6cc
EZ
20582004-01-14 Elena Zannoni <ezannoni@redhat.com>
2059
2060 * gcore.c (gcore_copy_callback): Use paddr_d to print size
2061 variable.
2062 (gcore_create_callback): Ditto. Skip any memory segment that has
2063 no permissions set.
2064
63d06c5c
DC
20652004-01-14 David Carlton <carlton@kealia.com>
2066
2067 Change symbols for C++ nested types to contain the fully qualified
2068 name, if possible. (At least in the DWARF-2 case.) Partial fix
2069 for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
2070 c++/895.
2071 * c-exp.y (qualified_type): Handle types nested within classes.
2072 * cp-namespace.c: Update comments.
2073 (cp_set_block_scope): Delete #if 0.
2074 (cp_lookup_nested_type): Handle types nested within classes.
2075 * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
2076 when appropriate.
2077 (add_partial_symbol): Add the name of the enclosing namespace to
2078 types.
2079 (pdi_needs_namespace): New.
2080 (add_partial_namespace): Tweak comment.
2081 (add_partial_structure): New.
2082 (psymtab_to_symtab_1): Initialize processing_current_prefix
2083 here...
2084 (process_die): instead of here.
2085 (read_structure_scope): Try to figure out the name of the class or
2086 namespace that the structure might be defined within.
2087 (read_enumeration): Generate fully-qualified names, if possible.
2088 (read_namespace): Don't set name to NULL.
2089 (die_specification): New.
2090 (new_symbol): Generate fully-qualified names for types.
2091 (read_type_die): Determine appropriate prefix.
2092 (determine_prefix): New.
2093 (typename_concat): New.
2094 (class_name): New.
2095 * valops.c (value_aggregate_elt): Pass NOSIDE to
2096 value_struct_elt_for_reference.
2097 (value_struct_elt_for_reference): Make static, add NOSIDE
2098 parameter, call value_maybe_namespace_elt as a last resort.
2099 (value_namespace_elt): Break out code into
2100 value_maybe_namespace_elt.
2101 (value_maybe_namespace_elt): New.
2102
87783b8b
AC
21032004-01-12 Andrew Cagney <cagney@redhat.com>
2104
2105 * mips-tdep.c (mips_convert_register_p): Handle both raw and
2106 cooked floating-point registers.
2107 (mips_gdbarch_init): Set convert_register_p, register_to_value,
2108 and value_to_register.
2109
6503b91e
AC
21102004-01-13 Andrew Cagney <cagney@redhat.com>
2111
2112 * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
2113 * gdbarch.c: Re-generate.
2114 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
2115 FUNCTION_START_OFFSET.
2116 * v850-tdep.c (v850_gdbarch_init): Ditto.
2117 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
2118 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
2119 * sh-tdep.c (sh_gdbarch_init): Ditto.
2120 * s390-tdep.c (s390_gdbarch_init): Ditto.
2121 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2122 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
2123 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2124 * mips-tdep.c (mips_gdbarch_init): Ditto.
2125 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2126 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
2127 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2128 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
2129 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2130 * i386-tdep.c (i386_gdbarch_init): Ditto.
2131 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
2132 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2133 * frv-tdep.c (frv_gdbarch_init): Ditto.
2134 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
2135 * cris-tdep.c (cris_gdbarch_init): Ditto.
2136 * avr-tdep.c (avr_gdbarch_init): Ditto.
2137 * arm-tdep.c (arm_gdbarch_init): Ditto.
2138 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
2139
ea1dd7bc
DJ
21402004-01-13 Daniel Jacobowitz <drow@mvista.com>
2141
2142 * infrun.c (follow_fork_mode_ask): Remove.
2143 (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
2144 (follow_fork): Simplify and remove internal error for
2145 follow_fork_mode_ask.
2146 (_initialize_infrun): Update "set follow-fork-mode" help text.
2147
0f0cffd2
AC
21482004-01-13 Andrew Cagney <cagney@redhat.com>
2149
2150 * configure.in: Update copyright year.
2151 (build_warnings): Add -Wunused-label.
2152 * configure: Re-generate.
2153
de38af99
AC
21542004-01-12 Andrew Cagney <cagney@redhat.com>
2155
954a7fba
AC
2156 * exec.h (exec_ops): Make "extern".
2157
de38af99
AC
2158 * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
2159 the function is void.
2160 (mips_pseudo_register_write): Ditto.
2161
1a111ce3
AC
21622004-01-12 Andrew Cagney <cagney@redhat.com>
2163
2164 * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
2165 call. Never defined.
2166 * sparc-tdep.h (struct frame_info): Add opaque declaration.
2167 * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
2168 (struct sparc_gregset, struct regcache): Ditto.
2169 * sparc-nat.c: Update copyright. Specify "GNU/Linux".
2170
48efe704
AC
21712004-01-12 Andrew Cagney <cagney@redhat.com>
2172
2173 * mi/ChangeLog: Delete file. Renamed to ...
2174 * mi/ChangeLog-1999-2003: New file.
2175 * tui/ChangeLog: Delete file. Renamed to ...
2176 * tui/ChangeLog-1998-2003: New file.
fe61caab 2177
a54124c5
MK
21782004-01-11 Mark Kettenis <kettenis@gnu.org>
2179
2ca62865
MK
2180 * sparc64nbsd-tdep.c: Include "regset.h".
2181 (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
2182 Remove variables.
2183 (fetch_core_registers): Remove function.
2184 (sparc64nbsd_core_fns): Remove variable.
2185 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
2186 functions.
2187 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
2188 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
2189 (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
2190
ca9d58e9
MK
2191 * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
2192 sparc_extract_struct_value_address.
2193 (sparc32_gdbarch_init): Set extract_struct_value_address.
2194 * sparc64-tdep.c (sparc64_extract_struct_value_address): New
2195 function.
2196 (sparc64_init_abi): Set extract_struct_value_address. Don't set
2197 return_value_on_stack.
2198
3cc87ec0
MK
2199 * NEWS: Mention that %cs and %ss have been added to the AMD64
2200 configurations
2201
5bf00f29
MK
2202 * frame.c: Update copyright year.
2203 (get_prev_frame): Improve comment.
2204
4f7ec84e
MK
2205 * sparc64fbsd-tdep.c: Include "regset.h".
2206 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
2207 Remove variables.
2208 (fetch_core_registers): Remove function.
2209 (sparc64fbsd_core_fns): Remove variable.
2210 (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
2211 functions.
2212 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
2213 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
46b58ce9 2214 (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
4f7ec84e 2215
4e7b0cd3
MK
2216 * sparcnbsd-tdep.c: Include "regset.h".
2217 (fetch_core_registers): Remove function.
2218 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
2219 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
2220 functions.
2221 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
2222 TDEP->fpregset.
46b58ce9 2223 (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
4e7b0cd3 2224
a54124c5
MK
2225 * sparc-tdep.h (struct regset): Provide opaque declaration.
2226 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
2227 fpregset and sizeof_fpregset members.
2228 * sparc-tdep.c (struct regset): Provide opaque declaration.
2229 (sparc_regset_from_core_section): New function.
2230 (sparc32_gdbarch_init): Initialize TDEP->gregset,
2231 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
2232 Set regset_from_core_section when appropriate.
2233
29ff87c5
MK
22342004-01-10 Mark Kettenis <kettenis@gnu.org>
2235
79b1ab3d
MK
2236 * x86-64-tdep.c (amd64_non_pod_p): New function.
2237 (amd64_classify_aggregate): Return class memory for non-POD
2238 C++ structure types.
2239
6470d250
MK
2240 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
2241 argument. Use it to reserve a register if necessary.
2242 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
2243 amd64_push_arguments.
2244
562c50c2
MK
2245 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
2246
af233647
MK
2247 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
2248 register numbers in comments.
2249 * x86-64-tdep.h: Update copyright year.
2250 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
2251 Adjust for addition of %cs and %ss.
2252 * amd64fbsd-nat.c: Update copyright year.
2253 (reg_offset): Add register offsets for %cs and %ss.
2254 * amd64fbsd-tdep.c: Update copyright year.
2255 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
2256 (amd64fbsd_sc_reg_offset): Likewise.
2257 * x86-64-linux-nat.c: Update copyright year.
2258 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
2259 and %ss.
2260 * amd64nbsd-nat.c: Update copyright year.
2261 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
2262 * amd64nbsd-tdep.c: Update copyright year.
2263 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
2264 * x86-64-linux-tdep.c: Update copyright year.
2265 (user_to_gdb_regmap): Add mapping for %cs and %ss.
2266 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
2267 * regformats/reg-x86-64.dat: Add %cs and %ss.
2268
29ff87c5
MK
2269 * blockframe.c (inside_entry_func): Reformat. Introduce new local
2270 variables to prevent long lines. Update comments to reflect
2271 reality.
2272
38d518c9
EZ
22732004-01-09 David Carlton <carlton@kealia.com>
2274
2275 Checked in by Elena Zannoni <ezannoni@redhat.com>.
2276 * dwarf2read.c (read_namespace): Pull out name-generating code
2277 into namespace_name. Rename previous_namespace to previous_prefix
2278 and processing_current_namespace to processing_current_prefix..
2279 (namespace_name): New function.
2280 (add_partial_symbol): Substitute uses of pdi->name with
2281 actual_name.
2282 * cp-support.h: Rename processing_current_namespace to
2283 processing_current_prefix.
2284 Update copyright year.
2285 * cp-namespace.c: Rename processing_current_namespace to
2286 processing_current_prefix.
2287 Update copyright year.
fe61caab 2288
1e4728e7
AC
22892004-01-09 Andrew Cagney <cagney@redhat.com>
2290
2291 * jv-valprint.c, ser-unix.c: Add missing copyright years.
2292
c77c642a
MK
22932004-01-09 Mark Kettenis <kettenis@gnu.org>
2294
2295 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
2296 complaining.
2297 (process_one_symbol): Deal with N_PATCH stabs.
2298
b44e9041
EZ
22992004-01-09 Elena Zannoni <ezannoni@redhat.com>
2300
2301 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
2302 ifdeffed code.
2303 Update copyright year.
38d518c9 2304
eccfb640
MC
23052004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2306
2307 * config/pa/tm-hppa.h: Update extern declarations for
2308 hppa32_hpux_frame_saved_pc_in_sigtramp,
2309 hppa32_hpux_frame_base_before_sigtramp, and
2310 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
2311
848c5feb
MC
23122004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2313
2314 * config/pa/tm-hppah.h: Update copyright years.
2315
3cc5d663
AC
23162004-01-08 Andrew Cagney <cagney@redhat.com>
2317
2318 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
2319 (mips_o32_reg_struct_has_addr): Delete function.
2320 (mips_gdbarch_init): Update.
2321 (mips_extract_struct_value_address): Delete function.
2322
bfec0b41
JJ
23232004-01-08 David Mosberger <davidm@hpl.hp.com>
2324
2325 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
2326 reality.
2327
16e109ca
AC
23282004-01-07 Andrew Cagney <cagney@redhat.com>
2329
6214a8a1
AC
2330 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
2331 architecture's elf flags (when available).
2332
8d5838b5
AC
2333 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
2334 FPU to the start, check the MIPS FPU when looking for an old
2335 architecture.
2336 (set_mipsfpu_single_command): Update the architecture.
2337 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
2338
480d3dd2
AC
2339 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
2340 (mips_mask_address_p): Add "tdep" parameter.
2341 (show_mask_address, mips_addr_bits_remove): Update.
2342 (mips_dump_tdep): Update.
2343 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
2344 (MIPS_STACK_ARGSIZE): Delete macro.
2345 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
2346 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
2347 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
2348 (mips_dump_tdep): Update.
2349 (MIPS_SAVED_REGSIZE): Delete macro.
2350 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
2351 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
2352 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
2353 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
2354 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
2355 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
2356 (mips_pop_frame, return_value_location): Update.
2357 (mips_n32n64_return_value, mips_dump_tdep): Update.
2358
ec03c1ac
AC
2359 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
2360 MIPS ABI.
2361
16e109ca
AC
2362 * mips-tdep.c: Update copyright.
2363 (mips_gdbarch_init): Merge two code blocks handling the register
2364 name and number layout.
2365
15255275
MS
23662004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
2367
2368 * tracepoint.c (validate_actionline): Fix segv at EOF
2369
9f9057da
MC
23702004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2371
2372 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
2373 properly for static fields.
2374
0127c0d3 23752004-01-06 Jeff Johnston <jjohnstn@redhat.com>
91562f53 2376 Jason Molenda <jmolenda@apple.com>
0127c0d3
JJ
2377
2378 * disasm.c: Update copyright to include 2004.
2379 (do_mixed_source_and_assembly): For uiout asm list
2380 and tuple cleanups, initialize to null_cleanup instead of
fe61caab 2381 NULL and do so prior to loop. Only reset when we close off
0127c0d3 2382 the tuple/list. Move check for whether to close off the
fe61caab 2383 asm tuple/list to after dump_insns call where it will be run
0127c0d3
JJ
2384 on each loop iteration.
2385
5269965e
AC
23862004-01-05 Andrew Cagney <cagney@redhat.com>
2387
54f1137d
AC
2388 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
2389 should be a switch case and not a label.
2390 * mips-tdep.c (mips32_next_pc): Delete unused labels
2391 "greater_equal_branch" and "less_zero_branch".
2392 * jv-valprint.c (java_print_value_fields): Delete unused label
2393 "flush_it".
2394
5269965e
AC
2395 * target.c (unpush_target): Only close a target that is in the
2396 target stack.
2397
dbc22fa1
MK
23982004-01-05 Mark Kettenis <kettenis@gnu.org>
2399
9515395e
MK
2400 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
2401 address from [sp + 64] instead of %o2.
2402
dbc22fa1
MK
2403 * frame.c (get_prev_frame): Don't try to unwind the PC. This
2404 fixes PR backtrace/1476.
2405
5439edaa
AC
24062004-01-05 Andrew Cagney <cagney@redhat.com>
2407
2408 * libunwind-frame.h (struct frame_id): Add opaque declaration,
2409 move to start of file.
2410 * i386-tdep.h (struct regcache): Add opaque declaration.
2411 * config/ia64/nm-linux.h (struct target_ops): Add opaque
2412 declaration.
2413 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
2414 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
2415 * win32-nat.c (fake_create_process): Use ISO C style definition.
2416 * stabsread.c (define_symbol): Delete #ifndef
2417 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
2418 stabs_argument_has_addr call, macro never defined.
2419
19061abe
MC
24202004-01-04 Michael Chastain <mec.gnu@mindspring.com>
2421
2422 * op50-rom.c: Delete.
2423 * w89k-rom.c: Delete.
2424 * Makefile.in: Remove references.
2425
e53bef9f
MK
24262004-01-04 Mark Kettenis <kettenis@gnu.org>
2427
2428 * x86-64-tdep.c: Update copyright year.
2429 (struct amd64_register_info): Rename from x86_64_register_info.
2430 (amd64_register_info): Rename from x86_64_register_info.
2431 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
2432 (amd64_register_name): Rename from x86_64_register_name.
2433 (amd64_register_type): Rename from x86_64_register_type.
2434 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
2435 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
2436 (amd64_dwarf_reg_to_regnum): Rename from
2437 x86_64_dwarf_reg_to_regnum.
2438 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
2439 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
2440 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
2441 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
2442 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
2443 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
2444 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
2445 (amd64_frame_cache): Rename from x86_64_frame_cache.
2446 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
2447 (amd64_frame_prev_register): Rename from
2448 x86_64_frame_prev_register.
2449 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
2450 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
2451 (amd64_sigtramp_frame_cache): Rename from
2452 x86_64_sigtramp_frame_cache.
2453 (amd64_sigtramp_frame_prev_register): Rename from
2454 x86_64_sigtramp_frame_prev_register.
2455 (amd64_sigtramp_frame_unwind): Rename from
2456 x86_64_sigtramp_frame_unwind.
2457 (amd64_sigtramp_frame_sniffer): Rename from
2458 x86_64_sigtramp_frame_sniffer.
2459 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
2460 (amd64_frame_base): Rename from x86_64_frame_base.
2461 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
2462 (amd64_frame_align): Rename from x86_64_frame_align.
2463 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
2464 (amd64_regset_from_core_section): Rename from
2465 x86_64_regset_from_core_section.
2466 (x86_64_init_abi): Update comments.
2467
fca6aa58
NR
24682004-01-04 Nick Roberts <nick@nick.uklinux.net>
2469
2470 * MAINTAINERS (write after approval): Add myself.
2471
8ada74e3
MK
24722004-01-04 Mark Kettenis <kettenis@gnu.org>
2473
2474 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
2475 `float' arguments.
2476
5154b0cd
MK
24772004-01-04 Mark Kettenis <kettenis@gnu.org>
2478
2479 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
2480 such that it mentions a specific version of GCC that exhibits this
2481 bug.
2482
fb316966
MK
24832004-01-03 Mark Kettenis <kettenis@gnu.org>
2484
200cc553
MK
2485 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
2486 structure that has a single `float' member, store it in %f1 in
2487 addition to %f0.
2488
e226a4a0
MK
2489 * sparc-sol2-nat.c: Add missing '\'.
2490
b9d4c5ed
MK
2491 * sparc-tdep.c (sparc32_return_value): New function.
2492 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
2493 Remove functions.
2494 (sparc32_gdbarch_init): Set return_value, don't set
2495 extract_return_value, store_return_value, use_struct_convention
2496 and return_value_on_stack.
2497
fb316966
MK
2498 * sparc-sol2-nat.c: Add missing ')'.
2499
1af510a8
JB
25002004-01-03 J. Brobecker <brobecker@gnat.com>
2501
2502 * infrun.c (handle_step_into_function): New function.
2503 (handle_inferior_event): Extract out some code into the new
2504 function above.
2505
5cf4d23a
JB
25062004-01-03 J. Brobecker <brobecker@gnat.com>
2507
2508 * infrun.c (handle_inferior_event): Move the declaration of
2509 real_stop_pc inside the if blocks where it is used.
2510
60af1db2
MK
25112004-01-03 Mark Kettenis <kettenis@gnu.org>
2512
2513 * sparc64-tdep.c (sparc64_16_byte_align_p)
2514 (sparc64_store_floating_fields, sparc64_store_floating_fields):
2515 Use check_typedef to get subtypes of structures and unions.
2516 (sparc64_store_return_value): Fix calculation of the appropriate
2517 offset into VALBUF when storing a structure or union.
2518 (sparc64_return_value): New function.
2519 (sparc64_use_struct_convention): Remove function.
2520 (sparc64_init_abi): Set return_value, don't set
2521 extract_return_value, store_return_value and
2522 use_struct_convention.
2523
1a901d3f
EZ
25242004-01-03 Eli Zaretskii <eliz@elta.co.il>
2525
2526 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
2527 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
2528 gdb/config/alpha/xm-alphaosf.h,
2529 gdb/config/powerpc/tm-ppcle-eabi.h,
2530 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
2531 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
2532 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
2533 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
2534 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
2535 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
2536 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
2537 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
2538 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
2539 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
2540 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
2541 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
2542 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
2543 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
2544 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
2545 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
2546 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
2547 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
2548 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
2549 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
2550 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
2551 Remove lines for .cvsignore files.
2552
ef52e463
JB
25532004-01-03 J. Brobecker <brobecker@gnat.com>
2554
2555 * infrun.c: Back out the previous change.
2556
cb1bf9dc
MK
25572004-01-03 Mark Kettenis <kettenis@gnu.org>
2558
f0424ef6
MK
2559 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
2560 sparc-*-sunos4* to the list of REMOVED configurations.
2561
cb1bf9dc
MK
2562 * configure.tgt: Add back sparc-*-vxworks*.
2563 * remote-vxsparc.c: Remove all includes except for "defs.h",
2564 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
2565 Include "sparc-tdep.h".
2566 (SPARC_R_G1): New define.
2567 (vxsparc_gregset): New variable.
2568 (ext_format_sparc): Remove extern declaration.
2569 (vx_read_register): Rewrite to use sparc32_supply_gregset and
2570 sparc32_supply_fpregset.
2571 (vx_write_register): Rewrite to use sparc32_collect_gregset,
2572 sparc_collect_rwindow and sparc32_collect_fpregset.
2573 * config/sparc/tm-vxworks.h: New file, based on recently removed
2574 tm-vxsparc.h.
2575 * config/sparc/vxworks.mt: New file, based on recently removed
2576 vxworks.mt.
fe61caab 2577
5e938f9f
JB
25782004-01-03 J. Brobecker <brobecker@gnat.com>
2579
2580 * infrun.c (handle_step_into_function): New function.
2581 (handle_inferior_event): Extract out some code into the new
2582 function above.
2583
386c036b
MK
25842004-01-02 Mark Kettenis <kettenis@gnu.org>
2585
2586 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
2587 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
2588 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
2589 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
2590 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
2591 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
2592 (sparc_nat_h): New variable.
2593 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
2594 (tm-sun4os4.h): Remove dependency.
2595 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
2596 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
2597 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
2598 sparc-tdep.o): Update dependencies.
2599 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
2600 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
2601 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
2602 dependencies.
2603 * configure.host: Remove existing sparc-*-lynxos*,
2604 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
2605 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
2606 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
2607 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
2608 triplets.
2609 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
2610 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
2611 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
2612 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
2613 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
2614 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
2615 sparc64-*-solaris2* and sparc64-*-* triplets.
2616 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
2617 "symtab.h" and "objfiles.h".
2618 (BIAS): Remove define.
2619 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
2620 (X_DISP19): Remove macros.
2621 (sparc_fetch_instruction): Remove function.
2622 (struct gdbarch_tdep): Remove definition.
2623 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
2624 (sparc_breakpoint_from_pc): Remove function.
2625 (struct sparc64_frame_cache): Remove definition.
2626 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
2627 sparc64_unwind_pc): Remove functions.
2628 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
2629 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
2630 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
2631 (sparc64_frame_cache): Change return type to `struct
2632 sparc_frame_cache *'. Simply call sparc_frame_cache.
2633 (sparc64_frame_this_id, sparc64_frame_prev_register,
2634 sparc64_frame_base_address): Use `struct sparc_frame_cache'
2635 instead of `struct sparc64_frame_cache.
2636 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
2637 sparc_analyze_control_transfer, sparc_software_single_step,
2638 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
2639 _initialize_sparc64_tdep): Remove functions.
2640 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
2641 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
2642 macros.
2643 (sparc64_supply_gregset, sparc64_collect_gregset,
2644 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
2645 (sparc64_init_abi): New function.
2646 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
2647 inclusion guard. Include "sparc-tdep.h".
2648 (BIAS): Define.
2649 (r_tstate_offset, r_fprs_offset): New defines.
2650 (enum sparc_regnum): Remove defenition.
2651 (enum sparc64_regnum): Reformat.
2652 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
2653 (sparc64_init_abi, sparc64_supply_gregset,
2654 sparc64_collect_gregset, sparc64_supply_fpregset,
2655 sparc64_collect_fpregset): New prototypes.
2656 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
2657 Add extern declarations.
2658 (sparc64_sol2_init_abi): New prototype.
2659 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
2660 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
2661 prototypes.
2662 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
2663 "sparnbsd-nat.h".
2664 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
2665 functions.
2666 (_initialize_sparc64fbsd_nat): Remove initialization of
2667 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
2668 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
fe61caab 2669 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
386c036b
MK
2670 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
2671 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
2672 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
2673 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
2674 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
2675 (sparc64fbsd_r_y_offset): Remove variables.
2676 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
2677 Make static and const.
2678 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
2679 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
2680 functions.
2681 (sparc64fbsd_gregset): New variable.
2682 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
2683 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
2684 and sparc64_supply_fpregset.
2685 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
2686 (sparc64fbsd_sigtramp_frame_this_id)
2687 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
2688 (sparc64fbsd_sigtramp_frame_unwind): New variable.
2689 (sparc64fbsd_sigtramp_frame_sniffer): New function.
2690 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
2691 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
2692 * sparcnbsd-tdep.c: Update copyright year. Include
2693 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
2694 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
2695 "value.h" and "sparcnbsd-tdep.h".
2696 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
2697 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
2698 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
2699 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
2700 defines.
2701 (sparcnbsd_gregset): New variable.
2702 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
2703 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
2704 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
2705 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
2706 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
2707 variables.
2708 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
2709 (sparc32nbsd_sigcontext_frame_this_id)
2710 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
2711 (sparc32nbsd_sigcontext_frame_unwind): New variable.
2712 (sparc32nbsd_sigtramp_frame_sniffer): New function.
2713 (sparcnbsd_get_longjmp_target_32,
2714 sparcnbsd_get_longjmp_target_64): Remove functions.
2715 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
2716 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
2717 sparcnbsd_init_elf): Remove.
2718 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
2719 (sparcnbsd_elf_init_abi): New functions.
2720 (_initialize_sparcnbsd_tdep): New prototype.
2721 (_initialize_sparnbsd_tdep): Update.
2722 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
2723 corelow.o. Add sparc64-nat.o and sparc-nat.o.
2724 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
2725 * config/sparc/linux.mh: Update comment.
2726 (XM_FILE, HOST_IPC): Remove variables.
2727 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
2728 sparc-linux-nat.o.
2729 * config/sparc/linux.mt: Update comment.
2730 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
2731 * config/sparc/nbsd.mt: Reformat.
2732 * config/sparc/nbsd64.mh: Update comment.
2733 (NATDEPFILES): Add sparc-nat.o.
2734 * config/sparc/nbsd64.mt: Update comment.
2735 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
2736 (TM_FILE): Set to tm-nbsd.h.
2737 * config/sparc/nbsdelf.mh: Update comment.
2738 (NATDEPFILES): Add sparc-nat.o.
2739 (XM_FILE): Delete.
2740 * config/sparc/nbsdaout.mh: Update comment.
2741 (NATDEPFILES): Add sparc-nat.o
2742 (XM_FILE): Delete.
2743 * config/sparc/nm-linux.h: Update copyright year. Don't include
2744 "config/nm-svr4.h" and "solib.h". Add protection against multiple
2745 inclusion.
2746 (KERNEL_U_SIZE): Remove define.
2747 (kernel_u_size): Remove prototype.
2748 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
2749 * config/sparc/nm-nbsd.h: Update copyright. Don't include
2750 "regcache.h".
2751 (CHILD_PREPARE_TO_STORE): Remove define.
2752 * config/sparc/nm-nbsdaout.h: Tweak some comments.
2753 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
2754 sparcnbsd-nat.c: Rewrite files.
2755 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
2756 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
2757 sparcnbsd-tdep.h: Remove files.
2758 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
2759 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
2760 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
2761 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
2762 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
2763 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
2764 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
2765 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
2766 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
2767 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
2768 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
2769 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
2770 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
2771 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
2772 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
2773 * config/sparc/linux64.mh, config/sparc/linux64.mt,
2774 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
2775 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
2776 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
2777
ee84457a
AC
27782004-01-02 Andrew Cagney <cagney@redhat.com>
2779
2780 From 2003-12-18 Kazuhiro Inaoka:
2781 * configure.host: Add m32r-linux target.
2782
0bc2134e
MC
27832004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2784
2785 * top.c (print_gdb_version): Update year to 2004.
2786
89a72f9c
MM
27872004-01-02 Mark Mitchell <mark@codesourcery.com>
2788
2789 * MAINTAINERS: Add myself to the write-after-approval category.
2790
86b013ed
DJ
27912004-01-02 Daniel Jacobowitz <drow@mvista.com>
2792
2793 From Bernardo Innocenti <bernie@develer.com>:
2794 * configure.tgt: Add uClinux target.
2795
e42c9534
AC
27962004-01-02 Andrew Cagney <cagney@redhat.com>
2797
2798 * utils.c (do_my_cleanups): Make static, add forward declaration.
2799 * defs.h (do_my_cleanups): Delete declaration.
2800
162467d3
EZ
28012004-01-02 Eli Zaretskii <eliz@elta.co.il>
2802
2803 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
2804 bfd/ChangeLog-0203.
2805
78434e59
MK
28062004-01-02 Mark Kettenis <kettenis@gnu.org>
2807
2808 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
2809 in <machine/reg.h>.
2810 * configure, config.in: Regenerate.
2811
48efe704
AC
2812For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
2813tui/ChangeLog-1998-2003.
c906108c
SS
2814\f
2815Local Variables:
2816mode: change-log
2817left-margin: 8
2818fill-column: 74
2819version-control: never
2820End:
This page took 0.727172 seconds and 4 git commands to generate.