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