2004-01-20 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2004-01-20 Andrew Cagney <cagney@redhat.com>
2
3 * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
4 sym2 to start of block.
5
6 2004-01-19 Michael Chastain <mec.gnu@mindspring.com>
7
8 * MAINTAINERS: Delete mmalloc.
9 * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
10 * NEWS: Mention removal of --with-malloc.
11 * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
12 * config.in: Regenerate.
13 * configure: Regenerate.
14 * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc,
15 USE_MMALLOC, MMCHECK_FORCE.
16 * gdbinit.in: Remove mmalloc.
17 * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
18 * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
19 * config/i386/go32.mh: Likewise.
20 * config/i386/interix.mh: Likewise.
21 * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.
22
23 2004-01-19 Jeff Johnston <jjohnstn@redhat.com>
24
25 * linespec.c (decode_variable, symtab_from_filename): Call
26 error_silent with error message instead of throwing an exception
27 directly.
28 * defs.h (error_silent, error_output_message): Add prototypes.
29 (catch_exceptions_with_msg): Ditto.
30 * utils.c (error_silent, error_output_message): New functions.
31 * top.c (catch_exceptions_with_msg): New function.
32
33 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
34
35 * mi/mi-cmds.h (enum print_values): Add definition.
36
37 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name,
38 type and value for simple data types and just the name and type
39 for complex ones, if required.
40
41 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the
42 children, if required.
43
44 2004-01-19 Kevin Buettner <kevinb@redhat.com>
45
46 * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
47 unused declarations.
48
49 2004-01-19 Andrew Cagney <cagney@redhat.com>
50
51 * top.h (mapped_symbol_files): Delete declaration.
52 * main.c (captured_main): Delete option "m" and "mapped".
53 * objfiles.c (mapped_symbol_files): Delete variable.
54 * symfile.c (symbol_file_command): Delete mmap code.
55 (symbol_file_add_with_addrs_or_offsets): Ditto.
56 (add_symbol_file_command, reread_separate_symbols): Ditto.
57 * objfiles.h (OBJF_MAPPED): Delete.
58 * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
59 (free_objfile) [USE_MMALLOC]: Ditto.
60 (open_existing_mapped_file): Delete function.
61 (open_mapped_file): Delete function.
62 (map_to_file): Delete function.
63
64 2004-01-19 Kevin Buettner <kevinb@redhat.com>
65
66 * infrun.c (step_into_function): Account for possible breakpoint
67 adjustment when computing ``stop_func_start''.
68
69 2004-01-19 Kevin Buettner <kevinb@redhat.com>
70
71 * target.c (default_region_size_ok_for_hw_watchpoint): Compare
72 the region size against the size of a pointer, not the size of
73 a register as given by DEPRECATED_REGISTER_SIZE.
74
75 2004-01-19 Andrew Cagney <cagney@redhat.com>
76
77 * tui/tui-regs.h: Include "tui-data.h".
78 (tuiFirstRegElementNoInLine): Delete declaration.
79 (tui_display_registers_from): Rename tuiDisplayRegistersFrom.
80 (tui_last_regs_line_no): Rename tuiLastRegsLineNo.
81 (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
82 (tui_calculate_regs_column_count): Rename
83 tuiCalculateRegsColumnCount.
84 (tui_check_register_values): Rename tuiCheckRegisterValues.
85 (tui_show_registers): Rename tuiShowRegisters.
86 (tui_display_registers_from_line): Rename
87 tuiDisplayRegistersFromLine.
88 (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
89 (tui_toggle_float_regs): Rename tuiToggleFloatRegs.
90 (tui_first_reg_element_no_inline): Rename
91 tuiFirstRegElementNoInLine.
92 * tui/tui-data.h: Update copyright.
93 (enum tui_register_display_type): Rename _TuiRegisterDisplayType.
94 * tui/tui-windata.c: Update copyright, update references.
95 * tui/tui-regs.c: Update copyright, update references.
96 * tui/tui-win.c: Update copyright, update references.
97 * tui/tui-layout.c: Update copyright, update references.
98
99 2004-01-18 Andrew Cagney <cagney@redhat.com>
100
101 * tui/tui-io.c: Update copyright.
102 (key_is_end_sequence, key_is_backspace): New functions.
103 (key_is_command_char, key_is_start_sequence): New function.
104 (tui_getc): Update references.
105 * tui/tui-io.h: Update copyright.
106 (m_tuiStartNewLine): Delete macro.
107 (m_isBackspace, m_isDeleteChar): Delete macros.
108 (m_isDeleteLine, m_isDeleteToEol): Delete macros.
109 (m_isNextPage, m_isPrevPage): Delete macros.
110 (m_isLeftArrow, m_isRightArrow): Delete macros.
111 (m_isXdbStyleCommandChar): Delete macro.
112 (key_is_start_sequence): Declare, replace m_isStartSequence.
113 (key_is_end_sequence): Declare, replace m_isEndSequence.
114 (key_is_backspace): Declare ,replace m_isBackspace.
115 (key_is_command_char): Declare, replace m_isCommandChar.
116 * tui/tui-command.c: Update copyright.
117 (tuiDispatchCtrlChar): Update references.
118
119 * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
120 tuiSourceWin.h.
121
122 * tui/tui-command.c: Rename tui/tuiCommand.c.
123 * tui/tui-command.h: Rename tui/tuiCommand.h.
124 * tui/tui-data.c: Rename tui/tuiData.c.
125 * tui/tui-data.h: Rename tui/tuiData.h.
126 * tui/tui-disasm.c: Rename tui/tuiDisassem.c.
127 * tui/tui-disasm.h: Rename tui/tuiDisassem.h.
128 * tui/tui-io.c: Rename tui/tuiIO.c.
129 * tui/tui-io.h: Rename tui/tuiIO.h.
130 * tui/tui-layout.c: Rename tui/tuiLayout.c.
131 * tui/tui-layout.h: Rename tui/tuiLayout.h.
132 * tui/tui-regs.c: Rename tui/tuiRegs.c.
133 * tui/tui-regs.h: Rename tui/tuiRegs.h.
134 * tui/tui-source.c: Rename tui/tuiSource.c.
135 * tui/tui-source.h: Rename tui/tuiSource.h.
136 * tui/tui-stack.c: Rename tui/tuiStack.c.
137 * tui/tui-stack.h: Rename tui/tuiStack.h.
138 * tui/tui-win.c: Rename tui/tuiWin.c.
139 * tui/tui-win.h: Rename tui/tuiWin.h.
140 * tui/tui-windata.c: Rename tui/tuiDataWin.c.
141 * tui/tui-windata.h: Rename tui/tuiDataWin.h.
142 * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
143 * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
144 * tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
145 * tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
146 * tui/tui-file.c: Update includes.
147 * tui/tui-hooks.c: Update includes.
148 * tui/tui-interp.c: Update includes.
149 * tui/tui.c: Update includes.
150 * Makefile.in: Update all tui/ dependencies.
151 (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.
152
153 * Makefile.in: Update copyright. Update dependencies.
154
155 * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
156 problem.
157
158 2004-01-18 Andrew Cagney <cagney@redhat.com>
159
160 * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
161 instead of register_gdbarch_init.
162
163 * remote-sds.c (tohex): Delete unused function. Update copyright.
164 * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
165 * v850-tdep.c (v850_register_virtual_size): Ditto.
166 * target.c (normal_target_post_startup_inferior): Ditto.
167 * source.c (ambiguous_line_spec): Ditto.
168 * remote.c (adapt_remote_get_threadinfo): Ditto.
169 * mi/mi-out.c (out_field_fmt): Ditto.
170 * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
171 (output_control_change_notification): Ditto.
172 * m68k-tdep.c (m68k_register_byte): Ditto.
173 (m68k_remote_breakpoint_from_pc): Ditto.
174 * ui-out.c (init_ui_out_state): Delete unused declaration.
175 * stabsread.c (search_value): Ditto.
176 * mi/mi-cmd-env.c (env_cli_command): Ditto.
177 * maint.c (print_section_table): Ditto.
178 * infrun.c (set_follow_fork_mode_command): Ditto.
179
180 2004-01-18 Mark Kettenis <kettenis@gnu.org>
181
182 * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
183 DW_CFA_def_cfa_exporession. Add support for
184 DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and
185 DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391.
186
187 2004-01-18 Andrew Cagney <cagney@redhat.com>
188
189 * ocd.c: Update copyright.
190 (bdm_read_register_command): Delete unused function.
191 (_initialize_remote_ocd): Delete commented out reference.
192 (get_quoted_char, reset_packet): Delete #if0ed function.
193 (output_packet, put_quoted_char): Delete #if0ed function.
194 (stu_put_packet, stu_get_packet): Delete #if0ed function.
195 (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper.
196 (BDM_BREAKPOINT): Delete #if0ed macro.
197 (remote_timeout): Delete #if0ed variable.
198
199 2004-01-18 Mark Kettenis <kettenis@gnu.org>
200
201 * Makefile.in (ALLDEPFILES): Remove core-sol2.c.
202 (core-sol2.o): Remove dependency.
203 * core-sol2.c: Remove file.
204
205 2004-01-17 Andrew Cagney <cagney@redhat.com>
206
207 * mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
208 * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
209 enums.
210
211 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
212
213 * remote.c: Update copyright years.
214
215 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
216
217 * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.
218
219 2004-01-17 Andrew Cagney <cagney@redhat.com>
220
221 * mdebugread.c: Update copyright.
222 (parse_symbol): Replace DEPRECATED_STREQ with strcmp.
223 (parse_type, parse_procedure): Ditto.
224 (parse_partial_symbols, psymtab_to_symtab_1): Ditto.
225
226 * cris-tdep.c (cris_store_struct_return): Put back accidently
227 deleted function.
228
229 * gdbarch.sh: Update copyright year.
230 * gdbarch.h, gdbarch.c: Re-generate.
231
232 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
233
234 Suggested by George Anzinger.
235 * dwarf2expr.c (execute_stack_op): Fetch the second item from the
236 correct stack offset. Include unknown opcode numbers in the error
237 message.
238
239 2004-01-17 Andrew Cagney <cagney@redhat.com>
240
241 * x86-64-tdep.c (x86_64_init_abi): No need to clear
242 extract_struct_value_address, i386 does not set it.
243 * sparc64-tdep.c (sparc64_init_abi): Do not set
244 extract_struct_value_address, never called.
245 (sparc64_extract_struct_value_address): Delete function.
246 * m68hc11-tdep.c: Update copyright.
247 (m68hc11_gdbarch_init): Delete redundant assignment of
248 extract_struct_value_address.
249 * i386-tdep.c: Update copyright.
250 (i386_gdbarch_init): Do not set extract_struct_value_address,
251 never called.
252 (i386_extract_struct_value_address): Delete function.
253 * sparc-tdep.c (sparc32_gdbarch_init): Do not set
254 extract_struct_value_address, never called.
255 (sparc32_extract_struct_value_address): #if 0 function. Add
256 comments explaining its future.
257
258 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
259
260 * arm-tdep.c (arm_write_pc): New function.
261 (arm_gdbarch_init): Call set_gdbarch_write_pc.
262
263 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
264
265 * breakpoint.c (must_shift_inst_regs): Delete.
266 (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
267 and SHIFT_INST_REGS.
268 * infcmd.c (step_1, step_1_continuation): Delete references to
269 SHIFT_INST_REGS.
270 * infrun.c (keep_going): Likewise.
271 * target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
272 * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
273
274 2004-01-17 Andrew Cagney <cagney@redhat.com>
275
276 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
277 * gdbarch.h, gdbarch.c: Re-generate.
278 * infcmd.c (print_return_value): Delete reference to
279 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
280
281 * cris-tdep.c (cris_gdbarch_init): Do not set
282 deprecated_extract_struct_value_address.
283
284 * xstormy16-tdep.c: Update copyright.
285 (xstormy16_extract_struct_value_address): Update to current
286 extract struct value address interface.
287 (xstormy16_gdbarch_init): Set extract_struct_value_address.
288 * sh64-tdep.c (sh64_extract_struct_value_address): Update to
289 current extract struct value address interface.
290 (sh64_gdbarch_init): Set extract_struct_value_address.
291
292 * cris-tdep.c: Update copyright.
293 (cris_extract_struct_value_address): Delete function.
294 (struct_return_address): Delete variable.
295 (cris_store_struct_return): Do not set struct_return_address.
296
297 * mcore-tdep.c: Update copyright.
298 (mcore_extract_struct_value_address): Delete function. Update
299 comments.
300 (mcore_gdbarch_init): Update.
301 * mn10300-tdep.c: Update copyright.
302 (mn10300_extract_struct_value_address): Delete function.
303 (mn10300_gdbarch_init): Update.
304 * v850-tdep.c: Update copyright.
305 (v850_extract_struct_value_address): Delete.
306 (v850_gdbarch_init): Update.
307 * ns32k-tdep.c: Update copyright.
308 (ns32k_extract_struct_value_address): Delete.
309 (ns32k_gdbarch_init): Update.
310 * hppa-tdep.c (hppa_extract_struct_value_address): Delete.
311 (hppa_gdbarch_init): Update.
312 * vax-tdep.c: Update copyright.
313 (vax_extract_struct_value_address): Delete.
314 (vax_gdbarch_init): Update.
315
316 * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
317 * gdbarch.h, gdbarch.c: Re-generate.
318 * procfs.c (procfs_fetch_registers): Delete reference to
319 DEPRECATED_NPC_REGNUM.
320 (procfs_store_registers): Ditto.
321 * regcache.c (generic_target_write_pc): Simplify.
322 * lynx-nat.c: Delete #ifdef SPARC code. Not used.
323
324 * core-sol2.c (fetch_core_registers): Replace
325 DEPRECATED_NPC_REGNUM with equivalent tdep value.
326
327 * hppa-tdep.c: Update copyright year.
328 (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of
329 NPC_REGNUM.
330 (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
331
332 * mips-tdep.c (mips_write_pc): New function.
333 (mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
334 (mips_read_pc): Use mips_regnum instead of PC_REGNUM.
335 (mips_find_saved_regs, mips_software_single_step: Ditto.
336 (mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
337 mips_init_extra_frame_info, mips_pop_frame): Ditto.
338
339 2004-01-17 Andrew Cagney <cagney@redhat.com>
340
341 * mips-tdep.c: Re-indent. Group functions by ABI.
342
343 2004-01-17 Andrew Cagney <cagney@redhat.com>
344
345 * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
346 * gdbarch.c: Re-generate.
347 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
348 DECR_PC_AFTER_BREAK to zero.
349 * vax-tdep.c (vax_gdbarch_init): Ditto.
350 * v850-tdep.c (v850_gdbarch_init): Ditto.
351 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
352 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
353 * sh-tdep.c (sh_gdbarch_init): Ditto.
354 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
355 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
356 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
357 * mips-tdep.c (mips_gdbarch_init): Ditto.
358 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
359 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
360 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
361 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
362 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
363 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
364 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
365 * frv-tdep.c (frv_gdbarch_init): Ditto.
366 * cris-tdep.c (cris_gdbarch_init): Ditto.
367 * avr-tdep.c (avr_gdbarch_init): Ditto.
368 * arm-tdep.c (arm_gdbarch_init): Ditto.
369 * i386-nto-tdep.c (i386nto_init_abi): Add comment.
370
371 2004-01-17 J. Brobecker <brobecker@gnat.com>
372
373 * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
374 Delete, no longer used.
375 (read_subrange_type): New function, mostly extracted from
376 read_array_type().
377 (read_array_type): Replace extracted code by call to
378 read_subrange_type().
379 (dwarf2_get_attr_constant_value): New function.
380 (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
381 (add_partial_symbol): Likewise.
382 (process_die): Likewise.
383 (new_symbol): Likewise.
384 (read_type_die): Likewise.
385
386 2004-01-16 Andrew Cagney <cagney@redhat.com>
387
388 * symfile.c: Update copyright year.
389 (compare_symbols): Delete unused function.
390 * stabsread.c: Update copyright year.
391 (lrs_general_complaint): Delete unused function.
392 (ref_search_value): Ditto.
393 (get_substring): Delete declaration.
394 * sh64-tdep.c: Update copyright year.
395 (sh64_get_gdb_regnum): Delete unused function.
396 * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
397 Delete unused function.
398
399 2004-01-17 Mark Kettenis <kettenis@gnu.org>
400
401 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
402 * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
403
404 2004-01-16 Andrew Cagney <cagney@redhat.com>
405
406 Changes from Peter Schauer.
407 * rs6000-tdep.c: Update copyright year.
408 (rs6000_push_dummy_call): Update the stack pointer before
409 accessing the corresponding stack region.
410 * rs6000-nat.c: Update copyright year.
411 (set_host_arch): Set "info.abfd" to "exec_bfd".
412
413 2004-01-15 Mark Kettenis <kettenis@gnu.org>
414
415 * blockframe.c: Update copyright year.
416 (inside_entry_func): Don't treat a zero PC specially.
417
418 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
419
420 * gcore.c (gcore_copy_callback): Use paddr_d to print size
421 variable.
422 (gcore_create_callback): Ditto. Skip any memory segment that has
423 no permissions set.
424
425 2004-01-14 David Carlton <carlton@kealia.com>
426
427 Change symbols for C++ nested types to contain the fully qualified
428 name, if possible. (At least in the DWARF-2 case.) Partial fix
429 for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
430 c++/895.
431 * c-exp.y (qualified_type): Handle types nested within classes.
432 * cp-namespace.c: Update comments.
433 (cp_set_block_scope): Delete #if 0.
434 (cp_lookup_nested_type): Handle types nested within classes.
435 * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
436 when appropriate.
437 (add_partial_symbol): Add the name of the enclosing namespace to
438 types.
439 (pdi_needs_namespace): New.
440 (add_partial_namespace): Tweak comment.
441 (add_partial_structure): New.
442 (psymtab_to_symtab_1): Initialize processing_current_prefix
443 here...
444 (process_die): instead of here.
445 (read_structure_scope): Try to figure out the name of the class or
446 namespace that the structure might be defined within.
447 (read_enumeration): Generate fully-qualified names, if possible.
448 (read_namespace): Don't set name to NULL.
449 (die_specification): New.
450 (new_symbol): Generate fully-qualified names for types.
451 (read_type_die): Determine appropriate prefix.
452 (determine_prefix): New.
453 (typename_concat): New.
454 (class_name): New.
455 * valops.c (value_aggregate_elt): Pass NOSIDE to
456 value_struct_elt_for_reference.
457 (value_struct_elt_for_reference): Make static, add NOSIDE
458 parameter, call value_maybe_namespace_elt as a last resort.
459 (value_namespace_elt): Break out code into
460 value_maybe_namespace_elt.
461 (value_maybe_namespace_elt): New.
462
463 2004-01-12 Andrew Cagney <cagney@redhat.com>
464
465 * mips-tdep.c (mips_convert_register_p): Handle both raw and
466 cooked floating-point registers.
467 (mips_gdbarch_init): Set convert_register_p, register_to_value,
468 and value_to_register.
469
470 2004-01-13 Andrew Cagney <cagney@redhat.com>
471
472 * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
473 * gdbarch.c: Re-generate.
474 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
475 FUNCTION_START_OFFSET.
476 * v850-tdep.c (v850_gdbarch_init): Ditto.
477 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
478 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
479 * sh-tdep.c (sh_gdbarch_init): Ditto.
480 * s390-tdep.c (s390_gdbarch_init): Ditto.
481 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
482 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
483 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
484 * mips-tdep.c (mips_gdbarch_init): Ditto.
485 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
486 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
487 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
488 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
489 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
490 * i386-tdep.c (i386_gdbarch_init): Ditto.
491 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
492 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
493 * frv-tdep.c (frv_gdbarch_init): Ditto.
494 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
495 * cris-tdep.c (cris_gdbarch_init): Ditto.
496 * avr-tdep.c (avr_gdbarch_init): Ditto.
497 * arm-tdep.c (arm_gdbarch_init): Ditto.
498 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
499
500 2004-01-13 Daniel Jacobowitz <drow@mvista.com>
501
502 * infrun.c (follow_fork_mode_ask): Remove.
503 (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
504 (follow_fork): Simplify and remove internal error for
505 follow_fork_mode_ask.
506 (_initialize_infrun): Update "set follow-fork-mode" help text.
507
508 2004-01-13 Andrew Cagney <cagney@redhat.com>
509
510 * configure.in: Update copyright year.
511 (build_warnings): Add -Wunused-label.
512 * configure: Re-generate.
513
514 2004-01-12 Andrew Cagney <cagney@redhat.com>
515
516 * exec.h (exec_ops): Make "extern".
517
518 * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
519 the function is void.
520 (mips_pseudo_register_write): Ditto.
521
522 2004-01-12 Andrew Cagney <cagney@redhat.com>
523
524 * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
525 call. Never defined.
526 * sparc-tdep.h (struct frame_info): Add opaque declaration.
527 * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
528 (struct sparc_gregset, struct regcache): Ditto.
529 * sparc-nat.c: Update copyright. Specify "GNU/Linux".
530
531 2004-01-12 Andrew Cagney <cagney@redhat.com>
532
533 * mi/ChangeLog: Delete file. Renamed to ...
534 * mi/ChangeLog-1999-2003: New file.
535 * tui/ChangeLog: Delete file. Renamed to ...
536 * tui/ChangeLog-1998-2003: New file.
537
538 2004-01-11 Mark Kettenis <kettenis@gnu.org>
539
540 * sparc64nbsd-tdep.c: Include "regset.h".
541 (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
542 Remove variables.
543 (fetch_core_registers): Remove function.
544 (sparc64nbsd_core_fns): Remove variable.
545 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
546 functions.
547 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
548 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
549 (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
550
551 * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
552 sparc_extract_struct_value_address.
553 (sparc32_gdbarch_init): Set extract_struct_value_address.
554 * sparc64-tdep.c (sparc64_extract_struct_value_address): New
555 function.
556 (sparc64_init_abi): Set extract_struct_value_address. Don't set
557 return_value_on_stack.
558
559 * NEWS: Mention that %cs and %ss have been added to the AMD64
560 configurations
561
562 * frame.c: Update copyright year.
563 (get_prev_frame): Improve comment.
564
565 * sparc64fbsd-tdep.c: Include "regset.h".
566 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
567 Remove variables.
568 (fetch_core_registers): Remove function.
569 (sparc64fbsd_core_fns): Remove variable.
570 (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
571 functions.
572 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
573 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
574 (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
575
576 * sparcnbsd-tdep.c: Include "regset.h".
577 (fetch_core_registers): Remove function.
578 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
579 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
580 functions.
581 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
582 TDEP->fpregset.
583 (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
584
585 * sparc-tdep.h (struct regset): Provide opaque declaration.
586 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
587 fpregset and sizeof_fpregset members.
588 * sparc-tdep.c (struct regset): Provide opaque declaration.
589 (sparc_regset_from_core_section): New function.
590 (sparc32_gdbarch_init): Initialize TDEP->gregset,
591 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
592 Set regset_from_core_section when appropriate.
593
594 2004-01-10 Mark Kettenis <kettenis@gnu.org>
595
596 * x86-64-tdep.c (amd64_non_pod_p): New function.
597 (amd64_classify_aggregate): Return class memory for non-POD
598 C++ structure types.
599
600 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
601 argument. Use it to reserve a register if necessary.
602 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
603 amd64_push_arguments.
604
605 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
606
607 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
608 register numbers in comments.
609 * x86-64-tdep.h: Update copyright year.
610 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
611 Adjust for addition of %cs and %ss.
612 * amd64fbsd-nat.c: Update copyright year.
613 (reg_offset): Add register offsets for %cs and %ss.
614 * amd64fbsd-tdep.c: Update copyright year.
615 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
616 (amd64fbsd_sc_reg_offset): Likewise.
617 * x86-64-linux-nat.c: Update copyright year.
618 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
619 and %ss.
620 * amd64nbsd-nat.c: Update copyright year.
621 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
622 * amd64nbsd-tdep.c: Update copyright year.
623 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
624 * x86-64-linux-tdep.c: Update copyright year.
625 (user_to_gdb_regmap): Add mapping for %cs and %ss.
626 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
627 * regformats/reg-x86-64.dat: Add %cs and %ss.
628
629 * blockframe.c (inside_entry_func): Reformat. Introduce new local
630 variables to prevent long lines. Update comments to reflect
631 reality.
632
633 2004-01-09 David Carlton <carlton@kealia.com>
634
635 Checked in by Elena Zannoni <ezannoni@redhat.com>.
636 * dwarf2read.c (read_namespace): Pull out name-generating code
637 into namespace_name. Rename previous_namespace to previous_prefix
638 and processing_current_namespace to processing_current_prefix..
639 (namespace_name): New function.
640 (add_partial_symbol): Substitute uses of pdi->name with
641 actual_name.
642 * cp-support.h: Rename processing_current_namespace to
643 processing_current_prefix.
644 Update copyright year.
645 * cp-namespace.c: Rename processing_current_namespace to
646 processing_current_prefix.
647 Update copyright year.
648
649 2004-01-09 Andrew Cagney <cagney@redhat.com>
650
651 * jv-valprint.c, ser-unix.c: Add missing copyright years.
652
653 2004-01-09 Mark Kettenis <kettenis@gnu.org>
654
655 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
656 complaining.
657 (process_one_symbol): Deal with N_PATCH stabs.
658
659 2004-01-09 Elena Zannoni <ezannoni@redhat.com>
660
661 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
662 ifdeffed code.
663 Update copyright year.
664
665 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
666
667 * config/pa/tm-hppa.h: Update extern declarations for
668 hppa32_hpux_frame_saved_pc_in_sigtramp,
669 hppa32_hpux_frame_base_before_sigtramp, and
670 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
671
672 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
673
674 * config/pa/tm-hppah.h: Update copyright years.
675
676 2004-01-08 Andrew Cagney <cagney@redhat.com>
677
678 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
679 (mips_o32_reg_struct_has_addr): Delete function.
680 (mips_gdbarch_init): Update.
681 (mips_extract_struct_value_address): Delete function.
682
683 2004-01-08 David Mosberger <davidm@hpl.hp.com>
684
685 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
686 reality.
687
688 2004-01-07 Andrew Cagney <cagney@redhat.com>
689
690 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
691 architecture's elf flags (when available).
692
693 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
694 FPU to the start, check the MIPS FPU when looking for an old
695 architecture.
696 (set_mipsfpu_single_command): Update the architecture.
697 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
698
699 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
700 (mips_mask_address_p): Add "tdep" parameter.
701 (show_mask_address, mips_addr_bits_remove): Update.
702 (mips_dump_tdep): Update.
703 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
704 (MIPS_STACK_ARGSIZE): Delete macro.
705 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
706 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
707 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
708 (mips_dump_tdep): Update.
709 (MIPS_SAVED_REGSIZE): Delete macro.
710 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
711 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
712 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
713 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
714 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
715 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
716 (mips_pop_frame, return_value_location): Update.
717 (mips_n32n64_return_value, mips_dump_tdep): Update.
718
719 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
720 MIPS ABI.
721
722 * mips-tdep.c: Update copyright.
723 (mips_gdbarch_init): Merge two code blocks handling the register
724 name and number layout.
725
726 2004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
727
728 * tracepoint.c (validate_actionline): Fix segv at EOF
729
730 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
731
732 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
733 properly for static fields.
734
735 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
736 Jason Molenda <jmolenda@apple.com>
737
738 * disasm.c: Update copyright to include 2004.
739 (do_mixed_source_and_assembly): For uiout asm list
740 and tuple cleanups, initialize to null_cleanup instead of
741 NULL and do so prior to loop. Only reset when we close off
742 the tuple/list. Move check for whether to close off the
743 asm tuple/list to after dump_insns call where it will be run
744 on each loop iteration.
745
746 2004-01-05 Andrew Cagney <cagney@redhat.com>
747
748 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
749 should be a switch case and not a label.
750 * mips-tdep.c (mips32_next_pc): Delete unused labels
751 "greater_equal_branch" and "less_zero_branch".
752 * jv-valprint.c (java_print_value_fields): Delete unused label
753 "flush_it".
754
755 * target.c (unpush_target): Only close a target that is in the
756 target stack.
757
758 2004-01-05 Mark Kettenis <kettenis@gnu.org>
759
760 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
761 address from [sp + 64] instead of %o2.
762
763 * frame.c (get_prev_frame): Don't try to unwind the PC. This
764 fixes PR backtrace/1476.
765
766 2004-01-05 Andrew Cagney <cagney@redhat.com>
767
768 * libunwind-frame.h (struct frame_id): Add opaque declaration,
769 move to start of file.
770 * i386-tdep.h (struct regcache): Add opaque declaration.
771 * config/ia64/nm-linux.h (struct target_ops): Add opaque
772 declaration.
773 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
774 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
775 * win32-nat.c (fake_create_process): Use ISO C style definition.
776 * stabsread.c (define_symbol): Delete #ifndef
777 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
778 stabs_argument_has_addr call, macro never defined.
779
780 2004-01-04 Michael Chastain <mec.gnu@mindspring.com>
781
782 * op50-rom.c: Delete.
783 * w89k-rom.c: Delete.
784 * Makefile.in: Remove references.
785
786 2004-01-04 Mark Kettenis <kettenis@gnu.org>
787
788 * x86-64-tdep.c: Update copyright year.
789 (struct amd64_register_info): Rename from x86_64_register_info.
790 (amd64_register_info): Rename from x86_64_register_info.
791 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
792 (amd64_register_name): Rename from x86_64_register_name.
793 (amd64_register_type): Rename from x86_64_register_type.
794 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
795 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
796 (amd64_dwarf_reg_to_regnum): Rename from
797 x86_64_dwarf_reg_to_regnum.
798 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
799 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
800 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
801 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
802 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
803 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
804 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
805 (amd64_frame_cache): Rename from x86_64_frame_cache.
806 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
807 (amd64_frame_prev_register): Rename from
808 x86_64_frame_prev_register.
809 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
810 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
811 (amd64_sigtramp_frame_cache): Rename from
812 x86_64_sigtramp_frame_cache.
813 (amd64_sigtramp_frame_prev_register): Rename from
814 x86_64_sigtramp_frame_prev_register.
815 (amd64_sigtramp_frame_unwind): Rename from
816 x86_64_sigtramp_frame_unwind.
817 (amd64_sigtramp_frame_sniffer): Rename from
818 x86_64_sigtramp_frame_sniffer.
819 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
820 (amd64_frame_base): Rename from x86_64_frame_base.
821 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
822 (amd64_frame_align): Rename from x86_64_frame_align.
823 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
824 (amd64_regset_from_core_section): Rename from
825 x86_64_regset_from_core_section.
826 (x86_64_init_abi): Update comments.
827
828 2004-01-04 Nick Roberts <nick@nick.uklinux.net>
829
830 * MAINTAINERS (write after approval): Add myself.
831
832 2004-01-04 Mark Kettenis <kettenis@gnu.org>
833
834 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
835 `float' arguments.
836
837 2004-01-04 Mark Kettenis <kettenis@gnu.org>
838
839 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
840 such that it mentions a specific version of GCC that exhibits this
841 bug.
842
843 2004-01-03 Mark Kettenis <kettenis@gnu.org>
844
845 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
846 structure that has a single `float' member, store it in %f1 in
847 addition to %f0.
848
849 * sparc-sol2-nat.c: Add missing '\'.
850
851 * sparc-tdep.c (sparc32_return_value): New function.
852 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
853 Remove functions.
854 (sparc32_gdbarch_init): Set return_value, don't set
855 extract_return_value, store_return_value, use_struct_convention
856 and return_value_on_stack.
857
858 * sparc-sol2-nat.c: Add missing ')'.
859
860 2004-01-03 J. Brobecker <brobecker@gnat.com>
861
862 * infrun.c (handle_step_into_function): New function.
863 (handle_inferior_event): Extract out some code into the new
864 function above.
865
866 2004-01-03 J. Brobecker <brobecker@gnat.com>
867
868 * infrun.c (handle_inferior_event): Move the declaration of
869 real_stop_pc inside the if blocks where it is used.
870
871 2004-01-03 Mark Kettenis <kettenis@gnu.org>
872
873 * sparc64-tdep.c (sparc64_16_byte_align_p)
874 (sparc64_store_floating_fields, sparc64_store_floating_fields):
875 Use check_typedef to get subtypes of structures and unions.
876 (sparc64_store_return_value): Fix calculation of the appropriate
877 offset into VALBUF when storing a structure or union.
878 (sparc64_return_value): New function.
879 (sparc64_use_struct_convention): Remove function.
880 (sparc64_init_abi): Set return_value, don't set
881 extract_return_value, store_return_value and
882 use_struct_convention.
883
884 2004-01-03 Eli Zaretskii <eliz@elta.co.il>
885
886 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
887 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
888 gdb/config/alpha/xm-alphaosf.h,
889 gdb/config/powerpc/tm-ppcle-eabi.h,
890 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
891 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
892 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
893 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
894 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
895 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
896 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
897 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
898 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
899 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
900 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
901 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
902 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
903 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
904 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
905 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
906 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
907 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
908 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
909 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
910 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
911 Remove lines for .cvsignore files.
912
913 2004-01-03 J. Brobecker <brobecker@gnat.com>
914
915 * infrun.c: Back out the previous change.
916
917 2004-01-03 Mark Kettenis <kettenis@gnu.org>
918
919 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
920 sparc-*-sunos4* to the list of REMOVED configurations.
921
922 * configure.tgt: Add back sparc-*-vxworks*.
923 * remote-vxsparc.c: Remove all includes except for "defs.h",
924 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
925 Include "sparc-tdep.h".
926 (SPARC_R_G1): New define.
927 (vxsparc_gregset): New variable.
928 (ext_format_sparc): Remove extern declaration.
929 (vx_read_register): Rewrite to use sparc32_supply_gregset and
930 sparc32_supply_fpregset.
931 (vx_write_register): Rewrite to use sparc32_collect_gregset,
932 sparc_collect_rwindow and sparc32_collect_fpregset.
933 * config/sparc/tm-vxworks.h: New file, based on recently removed
934 tm-vxsparc.h.
935 * config/sparc/vxworks.mt: New file, based on recently removed
936 vxworks.mt.
937
938 2004-01-03 J. Brobecker <brobecker@gnat.com>
939
940 * infrun.c (handle_step_into_function): New function.
941 (handle_inferior_event): Extract out some code into the new
942 function above.
943
944 2004-01-02 Mark Kettenis <kettenis@gnu.org>
945
946 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
947 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
948 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
949 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
950 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
951 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
952 (sparc_nat_h): New variable.
953 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
954 (tm-sun4os4.h): Remove dependency.
955 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
956 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
957 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
958 sparc-tdep.o): Update dependencies.
959 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
960 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
961 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
962 dependencies.
963 * configure.host: Remove existing sparc-*-lynxos*,
964 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
965 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
966 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
967 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
968 triplets.
969 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
970 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
971 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
972 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
973 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
974 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
975 sparc64-*-solaris2* and sparc64-*-* triplets.
976 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
977 "symtab.h" and "objfiles.h".
978 (BIAS): Remove define.
979 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
980 (X_DISP19): Remove macros.
981 (sparc_fetch_instruction): Remove function.
982 (struct gdbarch_tdep): Remove definition.
983 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
984 (sparc_breakpoint_from_pc): Remove function.
985 (struct sparc64_frame_cache): Remove definition.
986 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
987 sparc64_unwind_pc): Remove functions.
988 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
989 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
990 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
991 (sparc64_frame_cache): Change return type to `struct
992 sparc_frame_cache *'. Simply call sparc_frame_cache.
993 (sparc64_frame_this_id, sparc64_frame_prev_register,
994 sparc64_frame_base_address): Use `struct sparc_frame_cache'
995 instead of `struct sparc64_frame_cache.
996 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
997 sparc_analyze_control_transfer, sparc_software_single_step,
998 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
999 _initialize_sparc64_tdep): Remove functions.
1000 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
1001 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
1002 macros.
1003 (sparc64_supply_gregset, sparc64_collect_gregset,
1004 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
1005 (sparc64_init_abi): New function.
1006 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
1007 inclusion guard. Include "sparc-tdep.h".
1008 (BIAS): Define.
1009 (r_tstate_offset, r_fprs_offset): New defines.
1010 (enum sparc_regnum): Remove defenition.
1011 (enum sparc64_regnum): Reformat.
1012 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
1013 (sparc64_init_abi, sparc64_supply_gregset,
1014 sparc64_collect_gregset, sparc64_supply_fpregset,
1015 sparc64_collect_fpregset): New prototypes.
1016 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
1017 Add extern declarations.
1018 (sparc64_sol2_init_abi): New prototype.
1019 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
1020 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
1021 prototypes.
1022 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
1023 "sparnbsd-nat.h".
1024 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
1025 functions.
1026 (_initialize_sparc64fbsd_nat): Remove initialization of
1027 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
1028 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
1029 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
1030 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
1031 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
1032 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
1033 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
1034 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
1035 (sparc64fbsd_r_y_offset): Remove variables.
1036 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
1037 Make static and const.
1038 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
1039 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
1040 functions.
1041 (sparc64fbsd_gregset): New variable.
1042 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
1043 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
1044 and sparc64_supply_fpregset.
1045 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
1046 (sparc64fbsd_sigtramp_frame_this_id)
1047 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
1048 (sparc64fbsd_sigtramp_frame_unwind): New variable.
1049 (sparc64fbsd_sigtramp_frame_sniffer): New function.
1050 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
1051 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
1052 * sparcnbsd-tdep.c: Update copyright year. Include
1053 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
1054 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
1055 "value.h" and "sparcnbsd-tdep.h".
1056 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
1057 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
1058 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
1059 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
1060 defines.
1061 (sparcnbsd_gregset): New variable.
1062 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
1063 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
1064 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
1065 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
1066 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
1067 variables.
1068 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
1069 (sparc32nbsd_sigcontext_frame_this_id)
1070 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
1071 (sparc32nbsd_sigcontext_frame_unwind): New variable.
1072 (sparc32nbsd_sigtramp_frame_sniffer): New function.
1073 (sparcnbsd_get_longjmp_target_32,
1074 sparcnbsd_get_longjmp_target_64): Remove functions.
1075 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
1076 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
1077 sparcnbsd_init_elf): Remove.
1078 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
1079 (sparcnbsd_elf_init_abi): New functions.
1080 (_initialize_sparcnbsd_tdep): New prototype.
1081 (_initialize_sparnbsd_tdep): Update.
1082 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
1083 corelow.o. Add sparc64-nat.o and sparc-nat.o.
1084 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
1085 * config/sparc/linux.mh: Update comment.
1086 (XM_FILE, HOST_IPC): Remove variables.
1087 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
1088 sparc-linux-nat.o.
1089 * config/sparc/linux.mt: Update comment.
1090 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
1091 * config/sparc/nbsd.mt: Reformat.
1092 * config/sparc/nbsd64.mh: Update comment.
1093 (NATDEPFILES): Add sparc-nat.o.
1094 * config/sparc/nbsd64.mt: Update comment.
1095 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
1096 (TM_FILE): Set to tm-nbsd.h.
1097 * config/sparc/nbsdelf.mh: Update comment.
1098 (NATDEPFILES): Add sparc-nat.o.
1099 (XM_FILE): Delete.
1100 * config/sparc/nbsdaout.mh: Update comment.
1101 (NATDEPFILES): Add sparc-nat.o
1102 (XM_FILE): Delete.
1103 * config/sparc/nm-linux.h: Update copyright year. Don't include
1104 "config/nm-svr4.h" and "solib.h". Add protection against multiple
1105 inclusion.
1106 (KERNEL_U_SIZE): Remove define.
1107 (kernel_u_size): Remove prototype.
1108 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
1109 * config/sparc/nm-nbsd.h: Update copyright. Don't include
1110 "regcache.h".
1111 (CHILD_PREPARE_TO_STORE): Remove define.
1112 * config/sparc/nm-nbsdaout.h: Tweak some comments.
1113 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
1114 sparcnbsd-nat.c: Rewrite files.
1115 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
1116 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
1117 sparcnbsd-tdep.h: Remove files.
1118 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
1119 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
1120 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
1121 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
1122 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
1123 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
1124 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
1125 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
1126 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
1127 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
1128 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
1129 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
1130 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
1131 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
1132 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
1133 * config/sparc/linux64.mh, config/sparc/linux64.mt,
1134 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
1135 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
1136 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
1137
1138 2004-01-02 Andrew Cagney <cagney@redhat.com>
1139
1140 From 2003-12-18 Kazuhiro Inaoka:
1141 * configure.host: Add m32r-linux target.
1142
1143 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1144
1145 * top.c (print_gdb_version): Update year to 2004.
1146
1147 2004-01-02 Mark Mitchell <mark@codesourcery.com>
1148
1149 * MAINTAINERS: Add myself to the write-after-approval category.
1150
1151 2004-01-02 Daniel Jacobowitz <drow@mvista.com>
1152
1153 From Bernardo Innocenti <bernie@develer.com>:
1154 * configure.tgt: Add uClinux target.
1155
1156 2004-01-02 Andrew Cagney <cagney@redhat.com>
1157
1158 * utils.c (do_my_cleanups): Make static, add forward declaration.
1159 * defs.h (do_my_cleanups): Delete declaration.
1160
1161 2004-01-02 Eli Zaretskii <eliz@elta.co.il>
1162
1163 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
1164 bfd/ChangeLog-0203.
1165
1166 2004-01-02 Mark Kettenis <kettenis@gnu.org>
1167
1168 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
1169 in <machine/reg.h>.
1170 * configure, config.in: Regenerate.
1171
1172 For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
1173 tui/ChangeLog-1998-2003.
1174 \f
1175 Local Variables:
1176 mode: change-log
1177 left-margin: 8
1178 fill-column: 74
1179 version-control: never
1180 End:
This page took 0.081773 seconds and 5 git commands to generate.