]>
Commit | Line | Data |
---|---|---|
c8e737d5 MK |
1 | 2004-01-25 Mark Kettenis <[email protected]> |
2 | ||
c558d81a MK |
3 | * sparc-tdep.c (sparc_regset_from_core_section): Check whether |
4 | SECT_SIZE is large enough, not wheter it's exactly the right size. | |
5 | (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and | |
6 | TDEP->fpregset to zero. | |
7 | ||
bf1e5861 | 8 | * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the |
c8e737d5 MK |
9 | floating-point registers for traditional NetBSD core files. |
10 | (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and | |
11 | TDEP->sizeof_fpregset here. | |
12 | ||
4c72d57a MK |
13 | 2004-01-25 Mark Kettenis <[email protected]> |
14 | ||
566626fa MK |
15 | * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype. |
16 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New | |
17 | function with code split out from | |
18 | sparc32nbsd_sigcontext_frame_cache. | |
19 | (sparc32nbsd_sigcontext_frame_cache): Use | |
20 | sparc32nbsd_sigcontext_saved_regs. | |
21 | (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for | |
22 | OpenBSD. | |
23 | * sparcobsd-tdep.c: New file. | |
24 | * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c. | |
25 | (sparcobsd-tdep.o): New dependency. | |
26 | * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd. | |
27 | * config/sparc/obsd.mt: New file. | |
28 | ||
4c72d57a MK |
29 | * sparc-tdep.c (sparc32_gdbarch_init): Don't require |
30 | TDEP->fpregset to be initialized to enable core file register | |
31 | sets. | |
32 | ||
7e5e9f88 MK |
33 | 2004-01-24 Mark Kettenis <[email protected]> |
34 | ||
f0f207fd | 35 | * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg): |
1e067c66 MK |
36 | Add opaque declarations. |
37 | (sparc64nbsd_sigcontext_saved_regs): New prototype. | |
38 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New | |
39 | function with code split out from | |
40 | sparc64nbsd_sigcontext_frame_cache. | |
41 | (sparc64nbsd_sigcontext_frame_cache): Use | |
42 | sparc64nbsd_sigcontext_saved_regs. | |
43 | (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for | |
44 | OpenBSD. | |
45 | * sparc64obsd-tdep.c: New file. | |
46 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c. | |
47 | (sparc64obsd-tdep.o): New dependency. | |
48 | * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and | |
49 | gdb_osabi to GDB_OSABI_OPENBSD_ELF. | |
50 | * config/sparc/obsd64.mt: New file. | |
51 | ||
690668cc MK |
52 | * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't |
53 | read the instruction at PC. | |
54 | ||
7e5e9f88 MK |
55 | * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the |
56 | value of GDB_OSABI_DEFAULT. | |
57 | (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE | |
58 | instead of GDB_OSABI_NETBSD_AOUT. | |
59 | ||
68b6dce9 NR |
60 | 2004-01-24 Nick Roberts <[email protected]> |
61 | ||
62 | * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update | |
63 | copyright. | |
64 | ||
080ce8c0 AC |
65 | 2004-01-23 Andrew Cagney <[email protected]> |
66 | ||
67 | * printcmd.c (display_command): Replace tui_set_display call with | |
68 | tui_set_layout_for_display_command. | |
69 | * tui/tui.h (enum tui_win_type): Define. | |
70 | (tui_set_layout): Delete declaration. | |
71 | (tui_set_layout_for_display_command): Rename set_tui_layout. | |
72 | * tui/tui-data.h (enum tui_layout_type): Define. | |
73 | * tui/tui-layout.h: Update copyright. Include "tui-data.h" and | |
74 | "tui.h". | |
75 | (tui_add_win_to_layout): Rename tuiAddWinToLayout. | |
76 | (tui_default_win_height): Rename tuiDefaultWinHeight. | |
77 | (tui_default_win_viewport_height): Rename | |
78 | tuiDefaultWinViewportHeight. | |
79 | (tui_set_layout): RenametuiSetLayout. | |
80 | * tui/tui-layout.c: Update references. | |
81 | * tui/tui.c: Update references. | |
82 | * tui/tui-disasm.c: Update references. | |
83 | ||
b368761e DC |
84 | 2004-01-23 David Carlton <[email protected]> |
85 | ||
86 | Partial workaround for PR c++/1511: | |
87 | * cp-namespace.c: Include frame.h. | |
88 | (cp_lookup_transparent_type): New | |
89 | (cp_lookup_transparent_type_loop): New. | |
90 | * cp-support.h: Declare cp_lookup_transparent_type. | |
91 | * symtab.c (basic_lookup_transparent_type): Renamed from | |
92 | lookup_transparent_type. | |
93 | (lookup_transparent_type): Replace old body by a call to | |
94 | current_language->la_lookup_transparent_type. | |
95 | * symtab.h: Update copyright. Declare | |
96 | basic_lookup_transparent_type. | |
97 | * language.h: Update copyright. | |
98 | (struct language_defn): Add la_lookup_transparent_type. | |
99 | * language.c: Update copyright. | |
100 | (unknown_language_defn): Add basic_lookup_transparent_type. | |
101 | (auto_language_defn): Add basic_lookup_transparent_type. | |
102 | (local_language_defn): Add basic_lookup_transparent_type. | |
103 | * ada-lang.c: Update copyright. | |
104 | (ada_language_defn): Add basic_lookup_transparent_type. | |
105 | * c-lang.c: Update copyright. | |
106 | (c_language_defn): Add basic_lookup_transparent_type. | |
107 | (cplus_language_defn): Add basic_lookup_transparent_type. | |
108 | (asm_language_defn): Add basic_lookup_transparent_type. | |
109 | (minimal_language_defn): Add basic_lookup_transparent_type. | |
110 | * f-lang.c: Update copyright. | |
111 | (f_language_defn): Add basic_lookup_transparent_type. | |
112 | * jv-lang.c: Update copyright. | |
113 | (java_language_defn): Add basic_lookup_transparent_type. | |
114 | * m2-lang.c: Update copyright. | |
115 | (m2_language_defn): Add basic_lookup_transparent_type. | |
116 | * objc-lang.c: Update copyright. | |
117 | (objc_language_defn): Add basic_lookup_transparent_type. | |
118 | * p-lang.c: Update copyright. | |
119 | (p_language_defn): Add basic_lookup_transparent_type. | |
120 | * scm-lang.c: Update copyright. | |
121 | (scm_language_defn): Add basic_lookup_transparent_type. | |
122 | * Makefile.in (cp-namespace.o): Depend on frame.h. | |
123 | ||
fdde2d81 DC |
124 | 2004-01-23 David Carlton <[email protected]> |
125 | ||
126 | Patch for PR c++/1520: | |
127 | * dwarf2read.c (read_func_scope): Set processing_current_prefix | |
128 | properly if we have a specification die. | |
129 | (determine_prefix_aux): Rename from determine_prefix. | |
130 | (determine_prefix): Like the old determine_prefix, but never | |
131 | returns NULL. | |
132 | ||
5b828b6b TR |
133 | 2004-01-23 Theodore A. Roth <[email protected]> |
134 | ||
135 | * avr-tdep.c: Update copyright. | |
136 | (avr_iaddr_p): Delete unused function. | |
137 | (avr_saddr_p): Delete unused function. | |
138 | ||
a1b8c067 DC |
139 | 2004-01-23 David Carlton <[email protected]> |
140 | ||
141 | * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab. | |
142 | Fix for PR symtab/1534. | |
143 | ||
f2cab569 MK |
144 | 2004-01-23 Mark Kettenis <[email protected]> |
145 | ||
146 | * NEWS (New native configurations): Mention OpenBSD/sparc and | |
147 | OpenBSD/sparc64. | |
148 | * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*. | |
149 | * configure.host: Likewise. | |
150 | * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI | |
151 | handler for OpenBSD. | |
152 | * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise. | |
153 | ||
642d8300 MK |
154 | 2004-01-22 Mark Kettenis <[email protected]> |
155 | ||
89aac506 MK |
156 | * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function. |
157 | (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer. | |
158 | ||
36662fde MK |
159 | * ser-pipe.c (pipe_open): Use proper null pointer in execl call. |
160 | * cli/cli-cmds.c (shell_escape): Likewise. | |
161 | ||
642d8300 MK |
162 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize |
163 | OpenBSD .note.openbsd.ident sections. | |
164 | ||
fae299cd DC |
165 | 2004-01-22 David Carlton <[email protected]> |
166 | ||
167 | * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via | |
168 | get_scope_pc_bounds. | |
169 | (read_file_scope): Ditto. | |
170 | (get_scope_pc_bounds): New function, produced by extracting code | |
171 | from the above two functions, consolidating it, and adding support | |
172 | for DW_TAG_namespace. | |
173 | ||
a49d618c MK |
174 | 2004-01-22 Mark Kettenis <[email protected]> |
175 | ||
176 | * osabi.c (MAX_NOTESZ): New define. | |
177 | (check_note): New function. | |
178 | (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using | |
179 | check_note. | |
180 | ||
fe61caab RM |
181 | 2004-01-21 Roland McGrath <[email protected]> |
182 | ||
183 | * MAINTAINERS (write after approval): Add myself. | |
184 | ||
ec145965 EZ |
185 | 2004-01-21 Eli Zaretskii <[email protected]> |
186 | ||
187 | * utils.c (init_page_info): Move declarations of `rows' and | |
188 | `cols' before the __GO32__-specific code. Move the closing brace | |
189 | outside the #ifdef __GO32__..#endif block. | |
190 | [__GO32__]: Use `rows' and `cols' to avoid compiler warnings. | |
191 | ||
877522db PB |
192 | 2004-01-21 Paul Brook <[email protected]> |
193 | ||
194 | * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling | |
195 | BPSTAT_WHAT_CHECK_SHLIBS. | |
196 | ||
dbf5be1c PB |
197 | 2004-01-21 Paul Brook <[email protected]> |
198 | ||
199 | * MAINTAINERS: Add myself to write-after-approval. | |
200 | ||
81f08b92 AC |
201 | 2004-01-20 Andrew Cagney <[email protected]> |
202 | ||
5a1efed7 AC |
203 | * ax-gdb.c (print_axs_value): Delete unused function. |
204 | * jv-lang.c (java_lookup_type): Delete unused function. | |
205 | * cli/cli-dump.c (dump_filetype): Delete unused function. | |
206 | * remote-mips.c (remote_mips_insert_hw_breakpoint) | |
207 | (remote_mips_remove_hw_breakpoint): Delete unused functions. | |
208 | (mips_getstring): Delete unused function. | |
209 | (pmon_insert_breakpoint): Delete #if0ed function. | |
210 | (PMON_MAX_BP): Delete #if0ed MACRO. | |
211 | (mips_pmon_bp_info): Delete #if0ed variable. | |
212 | (pmon_remove_breakpoint): Delete #if0ed function. | |
213 | * monitor.c (monitor_write_even_block): Delete unused function. | |
214 | (monitor_write_memory_block): Delete #if0ed code. | |
215 | * dink32-rom.c (dink32_load): Delete unused function. | |
216 | (_initialize_dink32_rom): Delete #if0ed code. | |
217 | * d10v-tdep.c (d10v_daddr_p): Delete unused function. | |
218 | ||
b0a30fce AC |
219 | * tui/tui-command.c: Update references. |
220 | * tui/tui-io.c: Update references. | |
221 | * tui/tui-command.h: Update copyright. | |
222 | (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar. | |
223 | ||
81f08b92 AC |
224 | * source.c (ambiguous_line_spec): Delete never-defined function. |
225 | * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto. | |
226 | * gdbtypes.c (add_name, add_mangled_type): Ditto. | |
227 | * cli/cli-cmds.c (validate_comname): Ditto. | |
228 | ||
65f05602 AC |
229 | * tui/tui-disasm.h: Update copyright. Include "tui.h" and |
230 | "tui-data.h". | |
231 | (tui_set_disassem_content): Rename tuiSetDisassemContent. | |
232 | (tui_show_disassem): Rename tuiShowDisassem. | |
233 | (tui_show_disassem_and_update_source): Rename | |
234 | tuiVerticalDisassemScroll. | |
235 | (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll. | |
236 | (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress. | |
237 | * tui/tui.h: Update copyright. | |
238 | (enum tui_status): Define. | |
239 | * tui/tui-data.h (enum tui_scroll_direction): Define. | |
240 | * tui/tui-disasm.c: Update copyright. Update references. | |
241 | * tui/tui-winsource.c: Update copyright. Update references. | |
242 | * tui/tui-win.c: Update references. | |
243 | * tui/tui-layout.c: Update references. | |
244 | ||
6bb0384f AC |
245 | 2004-01-20 Andrew Cagney <[email protected]> |
246 | ||
247 | * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of | |
248 | sym2 to start of block. | |
249 | ||
9175c9a3 MC |
250 | 2004-01-19 Michael Chastain <[email protected]> |
251 | ||
252 | * MAINTAINERS: Delete mmalloc. | |
253 | * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h. | |
254 | * NEWS: Mention removal of --with-malloc. | |
255 | * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE. | |
256 | * config.in: Regenerate. | |
257 | * configure: Regenerate. | |
6bb0384f AC |
258 | * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc, |
259 | USE_MMALLOC, MMCHECK_FORCE. | |
9175c9a3 MC |
260 | * gdbinit.in: Remove mmalloc. |
261 | * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch. | |
262 | * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS. | |
263 | * config/i386/go32.mh: Likewise. | |
264 | * config/i386/interix.mh: Likewise. | |
265 | * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT. | |
266 | ||
4fcef00a JJ |
267 | 2004-01-19 Jeff Johnston <[email protected]> |
268 | ||
269 | * linespec.c (decode_variable, symtab_from_filename): Call | |
270 | error_silent with error message instead of throwing an exception | |
271 | directly. | |
272 | * defs.h (error_silent, error_output_message): Add prototypes. | |
273 | (catch_exceptions_with_msg): Ditto. | |
274 | * utils.c (error_silent, error_output_message): New functions. | |
275 | * top.c (catch_exceptions_with_msg): New function. | |
276 | ||
8e94b928 NR |
277 | 2004-01-20 Nick Roberts <[email protected]> |
278 | ||
279 | * mi/mi-cmds.h (enum print_values): Add definition. | |
280 | ||
281 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name, | |
282 | type and value for simple data types and just the name and type | |
283 | for complex ones, if required. | |
284 | ||
285 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the | |
286 | children, if required. | |
287 | ||
a02d6af8 KB |
288 | 2004-01-19 Kevin Buettner <[email protected]> |
289 | ||
290 | * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete | |
291 | unused declarations. | |
292 | ||
78a4a9b9 AC |
293 | 2004-01-19 Andrew Cagney <[email protected]> |
294 | ||
295 | * top.h (mapped_symbol_files): Delete declaration. | |
296 | * main.c (captured_main): Delete option "m" and "mapped". | |
297 | * objfiles.c (mapped_symbol_files): Delete variable. | |
298 | * symfile.c (symbol_file_command): Delete mmap code. | |
299 | (symbol_file_add_with_addrs_or_offsets): Ditto. | |
300 | (add_symbol_file_command, reread_separate_symbols): Ditto. | |
301 | * objfiles.h (OBJF_MAPPED): Delete. | |
302 | * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete. | |
303 | (free_objfile) [USE_MMALLOC]: Ditto. | |
304 | (open_existing_mapped_file): Delete function. | |
305 | (open_mapped_file): Delete function. | |
306 | (map_to_file): Delete function. | |
307 | ||
2dbd5e30 KB |
308 | 2004-01-19 Kevin Buettner <[email protected]> |
309 | ||
310 | * infrun.c (step_into_function): Account for possible breakpoint | |
311 | adjustment when computing ``stop_func_start''. | |
312 | ||
437b434f KB |
313 | 2004-01-19 Kevin Buettner <[email protected]> |
314 | ||
315 | * target.c (default_region_size_ok_for_hw_watchpoint): Compare | |
316 | the region size against the size of a pointer, not the size of | |
317 | a register as given by DEPRECATED_REGISTER_SIZE. | |
318 | ||
55fb0713 AC |
319 | 2004-01-19 Andrew Cagney <[email protected]> |
320 | ||
321 | * tui/tui-regs.h: Include "tui-data.h". | |
322 | (tuiFirstRegElementNoInLine): Delete declaration. | |
323 | (tui_display_registers_from): Rename tuiDisplayRegistersFrom. | |
324 | (tui_last_regs_line_no): Rename tuiLastRegsLineNo. | |
325 | (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo. | |
326 | (tui_calculate_regs_column_count): Rename | |
327 | tuiCalculateRegsColumnCount. | |
328 | (tui_check_register_values): Rename tuiCheckRegisterValues. | |
329 | (tui_show_registers): Rename tuiShowRegisters. | |
330 | (tui_display_registers_from_line): Rename | |
331 | tuiDisplayRegistersFromLine. | |
332 | (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine. | |
333 | (tui_toggle_float_regs): Rename tuiToggleFloatRegs. | |
334 | (tui_first_reg_element_no_inline): Rename | |
335 | tuiFirstRegElementNoInLine. | |
336 | * tui/tui-data.h: Update copyright. | |
337 | (enum tui_register_display_type): Rename _TuiRegisterDisplayType. | |
338 | * tui/tui-windata.c: Update copyright, update references. | |
339 | * tui/tui-regs.c: Update copyright, update references. | |
340 | * tui/tui-win.c: Update copyright, update references. | |
341 | * tui/tui-layout.c: Update copyright, update references. | |
fe61caab | 342 | |
cebe9500 AC |
343 | 2004-01-18 Andrew Cagney <[email protected]> |
344 | ||
bcdf1568 AC |
345 | * tui/tui-io.c: Update copyright. |
346 | (key_is_end_sequence, key_is_backspace): New functions. | |
347 | (key_is_command_char, key_is_start_sequence): New function. | |
348 | (tui_getc): Update references. | |
349 | * tui/tui-io.h: Update copyright. | |
350 | (m_tuiStartNewLine): Delete macro. | |
351 | (m_isBackspace, m_isDeleteChar): Delete macros. | |
352 | (m_isDeleteLine, m_isDeleteToEol): Delete macros. | |
353 | (m_isNextPage, m_isPrevPage): Delete macros. | |
354 | (m_isLeftArrow, m_isRightArrow): Delete macros. | |
355 | (m_isXdbStyleCommandChar): Delete macro. | |
356 | (key_is_start_sequence): Declare, replace m_isStartSequence. | |
357 | (key_is_end_sequence): Declare, replace m_isEndSequence. | |
358 | (key_is_backspace): Declare ,replace m_isBackspace. | |
359 | (key_is_command_char): Declare, replace m_isCommandChar. | |
360 | * tui/tui-command.c: Update copyright. | |
361 | (tuiDispatchCtrlChar): Update references. | |
362 | ||
130d87e6 AC |
363 | * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and |
364 | tuiSourceWin.h. | |
365 | ||
d7b2e967 AC |
366 | * tui/tui-command.c: Rename tui/tuiCommand.c. |
367 | * tui/tui-command.h: Rename tui/tuiCommand.h. | |
368 | * tui/tui-data.c: Rename tui/tuiData.c. | |
369 | * tui/tui-data.h: Rename tui/tuiData.h. | |
370 | * tui/tui-disasm.c: Rename tui/tuiDisassem.c. | |
371 | * tui/tui-disasm.h: Rename tui/tuiDisassem.h. | |
372 | * tui/tui-io.c: Rename tui/tuiIO.c. | |
373 | * tui/tui-io.h: Rename tui/tuiIO.h. | |
374 | * tui/tui-layout.c: Rename tui/tuiLayout.c. | |
375 | * tui/tui-layout.h: Rename tui/tuiLayout.h. | |
376 | * tui/tui-regs.c: Rename tui/tuiRegs.c. | |
377 | * tui/tui-regs.h: Rename tui/tuiRegs.h. | |
378 | * tui/tui-source.c: Rename tui/tuiSource.c. | |
379 | * tui/tui-source.h: Rename tui/tuiSource.h. | |
380 | * tui/tui-stack.c: Rename tui/tuiStack.c. | |
381 | * tui/tui-stack.h: Rename tui/tuiStack.h. | |
382 | * tui/tui-win.c: Rename tui/tuiWin.c. | |
383 | * tui/tui-win.h: Rename tui/tuiWin.h. | |
384 | * tui/tui-windata.c: Rename tui/tuiDataWin.c. | |
385 | * tui/tui-windata.h: Rename tui/tuiDataWin.h. | |
386 | * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c. | |
387 | * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h. | |
388 | * tui/tui-winsource.c: Rename tui/tuiSourceWin.c. | |
389 | * tui/tui-winsource.h: Rename tui/tuiSourceWin.h. | |
390 | * tui/tui-file.c: Update includes. | |
391 | * tui/tui-hooks.c: Update includes. | |
392 | * tui/tui-interp.c: Update includes. | |
393 | * tui/tui.c: Update includes. | |
394 | * Makefile.in: Update all tui/ dependencies. | |
395 | (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names. | |
396 | ||
b2100910 AC |
397 | * Makefile.in: Update copyright. Update dependencies. |
398 | ||
cebe9500 AC |
399 | * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile |
400 | problem. | |
401 | ||
c6f0559b AC |
402 | 2004-01-18 Andrew Cagney <[email protected]> |
403 | ||
43e9390b AC |
404 | * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register |
405 | instead of register_gdbarch_init. | |
406 | ||
c6f0559b AC |
407 | * remote-sds.c (tohex): Delete unused function. Update copyright. |
408 | * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto. | |
409 | * v850-tdep.c (v850_register_virtual_size): Ditto. | |
410 | * target.c (normal_target_post_startup_inferior): Ditto. | |
411 | * source.c (ambiguous_line_spec): Ditto. | |
412 | * remote.c (adapt_remote_get_threadinfo): Ditto. | |
413 | * mi/mi-out.c (out_field_fmt): Ditto. | |
414 | * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto. | |
415 | (output_control_change_notification): Ditto. | |
416 | * m68k-tdep.c (m68k_register_byte): Ditto. | |
417 | (m68k_remote_breakpoint_from_pc): Ditto. | |
418 | * ui-out.c (init_ui_out_state): Delete unused declaration. | |
419 | * stabsread.c (search_value): Ditto. | |
420 | * mi/mi-cmd-env.c (env_cli_command): Ditto. | |
421 | * maint.c (print_section_table): Ditto. | |
422 | * infrun.c (set_follow_fork_mode_command): Ditto. | |
423 | ||
a8504492 MK |
424 | 2004-01-18 Mark Kettenis <[email protected]> |
425 | ||
426 | * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before | |
427 | DW_CFA_def_cfa_exporession. Add support for | |
428 | DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and | |
429 | DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391. | |
430 | ||
0bd8997e AC |
431 | 2004-01-18 Andrew Cagney <[email protected]> |
432 | ||
433 | * ocd.c: Update copyright. | |
434 | (bdm_read_register_command): Delete unused function. | |
435 | (_initialize_remote_ocd): Delete commented out reference. | |
436 | (get_quoted_char, reset_packet): Delete #if0ed function. | |
437 | (output_packet, put_quoted_char): Delete #if0ed function. | |
438 | (stu_put_packet, stu_get_packet): Delete #if0ed function. | |
439 | (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper. | |
440 | (BDM_BREAKPOINT): Delete #if0ed macro. | |
441 | (remote_timeout): Delete #if0ed variable. | |
442 | ||
31bb40e4 MK |
443 | 2004-01-18 Mark Kettenis <[email protected]> |
444 | ||
445 | * Makefile.in (ALLDEPFILES): Remove core-sol2.c. | |
446 | (core-sol2.o): Remove dependency. | |
447 | * core-sol2.c: Remove file. | |
448 | ||
887432a5 AC |
449 | 2004-01-17 Andrew Cagney <[email protected]> |
450 | ||
451 | * mdebugread.c (compare_blocks): Make addr_diff a LONGEST. | |
452 | * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK | |
453 | enums. | |
454 | ||
29182b13 DJ |
455 | 2004-01-17 Daniel Jacobowitz <[email protected]> |
456 | ||
457 | * remote.c: Update copyright years. | |
458 | ||
2963ee1d DJ |
459 | 2004-01-17 Daniel Jacobowitz <[email protected]> |
460 | ||
461 | * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf. | |
462 | ||
79d45cd4 AC |
463 | 2004-01-17 Andrew Cagney <[email protected]> |
464 | ||
ee300cd4 AC |
465 | * mdebugread.c: Update copyright. |
466 | (parse_symbol): Replace DEPRECATED_STREQ with strcmp. | |
467 | (parse_type, parse_procedure): Ditto. | |
468 | (parse_partial_symbols, psymtab_to_symtab_1): Ditto. | |
469 | ||
fcacc9c2 AC |
470 | * cris-tdep.c (cris_store_struct_return): Put back accidently |
471 | deleted function. | |
472 | ||
79d45cd4 AC |
473 | * gdbarch.sh: Update copyright year. |
474 | * gdbarch.h, gdbarch.c: Re-generate. | |
475 | ||
b263358a DJ |
476 | 2004-01-17 Daniel Jacobowitz <[email protected]> |
477 | ||
478 | Suggested by George Anzinger. | |
479 | * dwarf2expr.c (execute_stack_op): Fetch the second item from the | |
480 | correct stack offset. Include unknown opcode numbers in the error | |
481 | message. | |
482 | ||
931aecf5 AC |
483 | 2004-01-17 Andrew Cagney <[email protected]> |
484 | ||
485 | * x86-64-tdep.c (x86_64_init_abi): No need to clear | |
486 | extract_struct_value_address, i386 does not set it. | |
487 | * sparc64-tdep.c (sparc64_init_abi): Do not set | |
488 | extract_struct_value_address, never called. | |
489 | (sparc64_extract_struct_value_address): Delete function. | |
490 | * m68hc11-tdep.c: Update copyright. | |
491 | (m68hc11_gdbarch_init): Delete redundant assignment of | |
492 | extract_struct_value_address. | |
493 | * i386-tdep.c: Update copyright. | |
494 | (i386_gdbarch_init): Do not set extract_struct_value_address, | |
495 | never called. | |
496 | (i386_extract_struct_value_address): Delete function. | |
497 | * sparc-tdep.c (sparc32_gdbarch_init): Do not set | |
498 | extract_struct_value_address, never called. | |
499 | (sparc32_extract_struct_value_address): #if 0 function. Add | |
500 | comments explaining its future. | |
501 | ||
756fe439 DJ |
502 | 2004-01-17 Daniel Jacobowitz <[email protected]> |
503 | ||
504 | * arm-tdep.c (arm_write_pc): New function. | |
505 | (arm_gdbarch_init): Call set_gdbarch_write_pc. | |
506 | ||
e74f0f02 DJ |
507 | 2004-01-17 Daniel Jacobowitz <[email protected]> |
508 | ||
509 | * breakpoint.c (must_shift_inst_regs): Delete. | |
510 | (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK | |
511 | and SHIFT_INST_REGS. | |
512 | * infcmd.c (step_1, step_1_continuation): Delete references to | |
513 | SHIFT_INST_REGS. | |
514 | * infrun.c (keep_going): Likewise. | |
515 | * target.h (DECR_PC_AFTER_HW_BREAK): Don't define. | |
516 | * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise. | |
517 | ||
b6cb9035 AC |
518 | 2004-01-17 Andrew Cagney <[email protected]> |
519 | ||
444a1e2e AC |
520 | * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete. |
521 | * gdbarch.h, gdbarch.c: Re-generate. | |
522 | * infcmd.c (print_return_value): Delete reference to | |
523 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
524 | ||
def7e6ed AC |
525 | * cris-tdep.c (cris_gdbarch_init): Do not set |
526 | deprecated_extract_struct_value_address. | |
527 | ||
07be497a AC |
528 | * xstormy16-tdep.c: Update copyright. |
529 | (xstormy16_extract_struct_value_address): Update to current | |
530 | extract struct value address interface. | |
531 | (xstormy16_gdbarch_init): Set extract_struct_value_address. | |
532 | * sh64-tdep.c (sh64_extract_struct_value_address): Update to | |
533 | current extract struct value address interface. | |
534 | (sh64_gdbarch_init): Set extract_struct_value_address. | |
535 | ||
6b4d5c91 AC |
536 | * cris-tdep.c: Update copyright. |
537 | (cris_extract_struct_value_address): Delete function. | |
538 | (struct_return_address): Delete variable. | |
539 | (cris_store_struct_return): Do not set struct_return_address. | |
540 | ||
464e0365 AC |
541 | * mcore-tdep.c: Update copyright. |
542 | (mcore_extract_struct_value_address): Delete function. Update | |
543 | comments. | |
544 | (mcore_gdbarch_init): Update. | |
545 | * mn10300-tdep.c: Update copyright. | |
546 | (mn10300_extract_struct_value_address): Delete function. | |
547 | (mn10300_gdbarch_init): Update. | |
548 | * v850-tdep.c: Update copyright. | |
549 | (v850_extract_struct_value_address): Delete. | |
550 | (v850_gdbarch_init): Update. | |
551 | * ns32k-tdep.c: Update copyright. | |
552 | (ns32k_extract_struct_value_address): Delete. | |
553 | (ns32k_gdbarch_init): Update. | |
554 | * hppa-tdep.c (hppa_extract_struct_value_address): Delete. | |
555 | (hppa_gdbarch_init): Update. | |
556 | * vax-tdep.c: Update copyright. | |
557 | (vax_extract_struct_value_address): Delete. | |
558 | (vax_gdbarch_init): Update. | |
559 | ||
afb18d0f AC |
560 | * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete. |
561 | * gdbarch.h, gdbarch.c: Re-generate. | |
562 | * procfs.c (procfs_fetch_registers): Delete reference to | |
563 | DEPRECATED_NPC_REGNUM. | |
564 | (procfs_store_registers): Ditto. | |
565 | * regcache.c (generic_target_write_pc): Simplify. | |
566 | * lynx-nat.c: Delete #ifdef SPARC code. Not used. | |
567 | ||
a698f53e AC |
568 | * core-sol2.c (fetch_core_registers): Replace |
569 | DEPRECATED_NPC_REGNUM with equivalent tdep value. | |
570 | ||
adc11376 AC |
571 | * hppa-tdep.c: Update copyright year. |
572 | (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of | |
573 | NPC_REGNUM. | |
574 | (hppa_gdbarch_init): Do not set deprecated_npc_regnum. | |
575 | ||
b6cb9035 AC |
576 | * mips-tdep.c (mips_write_pc): New function. |
577 | (mips_gdbarch_init): Set "write_pc" to "mips_write_pc". | |
578 | (mips_read_pc): Use mips_regnum instead of PC_REGNUM. | |
579 | (mips_find_saved_regs, mips_software_single_step: Ditto. | |
580 | (mips_frame_saved_pc, mips_frame_saved_pc): Ditto. | |
581 | mips_init_extra_frame_info, mips_pop_frame): Ditto. | |
582 | ||
6d82d43b AC |
583 | 2004-01-17 Andrew Cagney <[email protected]> |
584 | ||
585 | * mips-tdep.c: Re-indent. Group functions by ABI. | |
586 | ||
71bd6bd4 AC |
587 | 2004-01-17 Andrew Cagney <[email protected]> |
588 | ||
589 | * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default. | |
590 | * gdbarch.c: Re-generate. | |
591 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
592 | DECR_PC_AFTER_BREAK to zero. | |
593 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
594 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
595 | * sparc-tdep.c (sparc32_gdbarch_init): Ditto. | |
596 | * sh64-tdep.c (sh64_gdbarch_init): Ditto. | |
597 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
598 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
599 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
600 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
601 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
602 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
603 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
604 | * m32r-tdep.c (m32r_gdbarch_init): Ditto. | |
605 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
606 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
607 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
608 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
609 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
610 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
611 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
612 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
613 | * i386-nto-tdep.c (i386nto_init_abi): Add comment. | |
614 | ||
a02abb62 JB |
615 | 2004-01-17 J. Brobecker <[email protected]> |
616 | ||
617 | * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint): | |
618 | Delete, no longer used. | |
619 | (read_subrange_type): New function, mostly extracted from | |
620 | read_array_type(). | |
621 | (read_array_type): Replace extracted code by call to | |
622 | read_subrange_type(). | |
623 | (dwarf2_get_attr_constant_value): New function. | |
624 | (scan_partial_symbols): Add handling for DW_TAG_subrange_type. | |
625 | (add_partial_symbol): Likewise. | |
626 | (process_die): Likewise. | |
627 | (new_symbol): Likewise. | |
628 | (read_type_die): Likewise. | |
629 | ||
cf5b2f1b AC |
630 | 2004-01-16 Andrew Cagney <[email protected]> |
631 | ||
632 | * symfile.c: Update copyright year. | |
633 | (compare_symbols): Delete unused function. | |
634 | * stabsread.c: Update copyright year. | |
635 | (lrs_general_complaint): Delete unused function. | |
636 | (ref_search_value): Ditto. | |
637 | (get_substring): Delete declaration. | |
638 | * sh64-tdep.c: Update copyright year. | |
639 | (sh64_get_gdb_regnum): Delete unused function. | |
640 | * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint): | |
641 | Delete unused function. | |
642 | ||
d33b9831 MK |
643 | 2004-01-17 Mark Kettenis <[email protected]> |
644 | ||
645 | * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF. | |
646 | * osabi.c (gdb_osabi_names): Add "OpenBSD ELF". | |
647 | ||
7aea86e6 AC |
648 | 2004-01-16 Andrew Cagney <[email protected]> |
649 | ||
650 | Changes from Peter Schauer. | |
651 | * rs6000-tdep.c: Update copyright year. | |
652 | (rs6000_push_dummy_call): Update the stack pointer before | |
653 | accessing the corresponding stack region. | |
654 | * rs6000-nat.c: Update copyright year. | |
655 | (set_host_arch): Set "info.abfd" to "exec_bfd". | |
656 | ||
26b0da32 MK |
657 | 2004-01-15 Mark Kettenis <[email protected]> |
658 | ||
659 | * blockframe.c: Update copyright year. | |
660 | (inside_entry_func): Don't treat a zero PC specially. | |
661 | ||
86fbe6cc EZ |
662 | 2004-01-14 Elena Zannoni <[email protected]> |
663 | ||
664 | * gcore.c (gcore_copy_callback): Use paddr_d to print size | |
665 | variable. | |
666 | (gcore_create_callback): Ditto. Skip any memory segment that has | |
667 | no permissions set. | |
668 | ||
63d06c5c DC |
669 | 2004-01-14 David Carlton <[email protected]> |
670 | ||
671 | Change symbols for C++ nested types to contain the fully qualified | |
672 | name, if possible. (At least in the DWARF-2 case.) Partial fix | |
673 | for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832, | |
674 | c++/895. | |
675 | * c-exp.y (qualified_type): Handle types nested within classes. | |
676 | * cp-namespace.c: Update comments. | |
677 | (cp_set_block_scope): Delete #if 0. | |
678 | (cp_lookup_nested_type): Handle types nested within classes. | |
679 | * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure | |
680 | when appropriate. | |
681 | (add_partial_symbol): Add the name of the enclosing namespace to | |
682 | types. | |
683 | (pdi_needs_namespace): New. | |
684 | (add_partial_namespace): Tweak comment. | |
685 | (add_partial_structure): New. | |
686 | (psymtab_to_symtab_1): Initialize processing_current_prefix | |
687 | here... | |
688 | (process_die): instead of here. | |
689 | (read_structure_scope): Try to figure out the name of the class or | |
690 | namespace that the structure might be defined within. | |
691 | (read_enumeration): Generate fully-qualified names, if possible. | |
692 | (read_namespace): Don't set name to NULL. | |
693 | (die_specification): New. | |
694 | (new_symbol): Generate fully-qualified names for types. | |
695 | (read_type_die): Determine appropriate prefix. | |
696 | (determine_prefix): New. | |
697 | (typename_concat): New. | |
698 | (class_name): New. | |
699 | * valops.c (value_aggregate_elt): Pass NOSIDE to | |
700 | value_struct_elt_for_reference. | |
701 | (value_struct_elt_for_reference): Make static, add NOSIDE | |
702 | parameter, call value_maybe_namespace_elt as a last resort. | |
703 | (value_namespace_elt): Break out code into | |
704 | value_maybe_namespace_elt. | |
705 | (value_maybe_namespace_elt): New. | |
706 | ||
87783b8b AC |
707 | 2004-01-12 Andrew Cagney <[email protected]> |
708 | ||
709 | * mips-tdep.c (mips_convert_register_p): Handle both raw and | |
710 | cooked floating-point registers. | |
711 | (mips_gdbarch_init): Set convert_register_p, register_to_value, | |
712 | and value_to_register. | |
713 | ||
6503b91e AC |
714 | 2004-01-13 Andrew Cagney <[email protected]> |
715 | ||
716 | * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default. | |
717 | * gdbarch.c: Re-generate. | |
718 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
719 | FUNCTION_START_OFFSET. | |
720 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
721 | * sparc-tdep.c (sparc32_gdbarch_init): Ditto. | |
722 | * sh64-tdep.c (sh64_gdbarch_init): Ditto. | |
723 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
724 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
725 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
726 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
727 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
728 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
729 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
730 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
731 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
732 | * m32r-tdep.c (m32r_gdbarch_init): Ditto. | |
733 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
734 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
735 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
736 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
737 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
738 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
739 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
740 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
741 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
742 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
743 | ||
ea1dd7bc DJ |
744 | 2004-01-13 Daniel Jacobowitz <[email protected]> |
745 | ||
746 | * infrun.c (follow_fork_mode_ask): Remove. | |
747 | (follow_fork_mode_kind_names): Remove follow_fork_mode_ask. | |
748 | (follow_fork): Simplify and remove internal error for | |
749 | follow_fork_mode_ask. | |
750 | (_initialize_infrun): Update "set follow-fork-mode" help text. | |
751 | ||
0f0cffd2 AC |
752 | 2004-01-13 Andrew Cagney <[email protected]> |
753 | ||
754 | * configure.in: Update copyright year. | |
755 | (build_warnings): Add -Wunused-label. | |
756 | * configure: Re-generate. | |
757 | ||
de38af99 AC |
758 | 2004-01-12 Andrew Cagney <[email protected]> |
759 | ||
954a7fba AC |
760 | * exec.h (exec_ops): Make "extern". |
761 | ||
de38af99 AC |
762 | * mips-tdep.c (mips_pseudo_register_read): Don't return a value, |
763 | the function is void. | |
764 | (mips_pseudo_register_write): Ditto. | |
765 | ||
1a111ce3 AC |
766 | 2004-01-12 Andrew Cagney <[email protected]> |
767 | ||
768 | * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO | |
769 | call. Never defined. | |
770 | * sparc-tdep.h (struct frame_info): Add opaque declaration. | |
771 | * sparc64-tdep.h (struct gdbarch): Add opaque declaration. | |
772 | (struct sparc_gregset, struct regcache): Ditto. | |
773 | * sparc-nat.c: Update copyright. Specify "GNU/Linux". | |
774 | ||
48efe704 AC |
775 | 2004-01-12 Andrew Cagney <[email protected]> |
776 | ||
777 | * mi/ChangeLog: Delete file. Renamed to ... | |
778 | * mi/ChangeLog-1999-2003: New file. | |
779 | * tui/ChangeLog: Delete file. Renamed to ... | |
780 | * tui/ChangeLog-1998-2003: New file. | |
fe61caab | 781 | |
a54124c5 MK |
782 | 2004-01-11 Mark Kettenis <[email protected]> |
783 | ||
2ca62865 MK |
784 | * sparc64nbsd-tdep.c: Include "regset.h". |
785 | (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg): | |
786 | Remove variables. | |
787 | (fetch_core_registers): Remove function. | |
788 | (sparc64nbsd_core_fns): Remove variable. | |
789 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New | |
790 | functions. | |
791 | (sparc64nbsd_init_abi): Initialize TDEP->gregset, | |
792 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset. | |
793 | (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns. | |
794 | ||
ca9d58e9 MK |
795 | * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from |
796 | sparc_extract_struct_value_address. | |
797 | (sparc32_gdbarch_init): Set extract_struct_value_address. | |
798 | * sparc64-tdep.c (sparc64_extract_struct_value_address): New | |
799 | function. | |
800 | (sparc64_init_abi): Set extract_struct_value_address. Don't set | |
801 | return_value_on_stack. | |
802 | ||
3cc87ec0 MK |
803 | * NEWS: Mention that %cs and %ss have been added to the AMD64 |
804 | configurations | |
805 | ||
5bf00f29 MK |
806 | * frame.c: Update copyright year. |
807 | (get_prev_frame): Improve comment. | |
808 | ||
4f7ec84e MK |
809 | * sparc64fbsd-tdep.c: Include "regset.h". |
810 | (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg): | |
811 | Remove variables. | |
812 | (fetch_core_registers): Remove function. | |
813 | (sparc64fbsd_core_fns): Remove variable. | |
814 | (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New | |
815 | functions. | |
816 | (sparc64fbsd_init_abi): Initialize TDEP->gregset, | |
817 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset. | |
46b58ce9 | 818 | (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns. |
4f7ec84e | 819 | |
4e7b0cd3 MK |
820 | * sparcnbsd-tdep.c: Include "regset.h". |
821 | (fetch_core_registers): Remove function. | |
822 | (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles. | |
823 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New | |
824 | functions. | |
825 | (sparc32nbsd_init_abi): Initialize TDEP->gregset and | |
826 | TDEP->fpregset. | |
46b58ce9 | 827 | (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns. |
4e7b0cd3 | 828 | |
a54124c5 MK |
829 | * sparc-tdep.h (struct regset): Provide opaque declaration. |
830 | (struct gdbarch_tdep): Add gregset, sizeof_gregset, | |
831 | fpregset and sizeof_fpregset members. | |
832 | * sparc-tdep.c (struct regset): Provide opaque declaration. | |
833 | (sparc_regset_from_core_section): New function. | |
834 | (sparc32_gdbarch_init): Initialize TDEP->gregset, | |
835 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset. | |
836 | Set regset_from_core_section when appropriate. | |
837 | ||
29ff87c5 MK |
838 | 2004-01-10 Mark Kettenis <[email protected]> |
839 | ||
79b1ab3d MK |
840 | * x86-64-tdep.c (amd64_non_pod_p): New function. |
841 | (amd64_classify_aggregate): Return class memory for non-POD | |
842 | C++ structure types. | |
843 | ||
6470d250 MK |
844 | * x86-64-tdep.c (amd64_push_arguments): Add struct_return |
845 | argument. Use it to reserve a register if necessary. | |
846 | (amd64_push_dummy_call): Pass STRUCT_RETURN in call to | |
847 | amd64_push_arguments. | |
848 | ||
562c50c2 MK |
849 | * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields. |
850 | ||
af233647 MK |
851 | * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust |
852 | register numbers in comments. | |
853 | * x86-64-tdep.h: Update copyright year. | |
854 | (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): | |
855 | Adjust for addition of %cs and %ss. | |
856 | * amd64fbsd-nat.c: Update copyright year. | |
857 | (reg_offset): Add register offsets for %cs and %ss. | |
858 | * amd64fbsd-tdep.c: Update copyright year. | |
859 | (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss. | |
860 | (amd64fbsd_sc_reg_offset): Likewise. | |
861 | * x86-64-linux-nat.c: Update copyright year. | |
862 | (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs | |
863 | and %ss. | |
864 | * amd64nbsd-nat.c: Update copyright year. | |
865 | (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss. | |
866 | * amd64nbsd-tdep.c: Update copyright year. | |
867 | (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss. | |
868 | * x86-64-linux-tdep.c: Update copyright year. | |
869 | (user_to_gdb_regmap): Add mapping for %cs and %ss. | |
870 | (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss. | |
871 | * regformats/reg-x86-64.dat: Add %cs and %ss. | |
872 | ||
29ff87c5 MK |
873 | * blockframe.c (inside_entry_func): Reformat. Introduce new local |
874 | variables to prevent long lines. Update comments to reflect | |
875 | reality. | |
876 | ||
38d518c9 EZ |
877 | 2004-01-09 David Carlton <[email protected]> |
878 | ||
879 | Checked in by Elena Zannoni <[email protected]>. | |
880 | * dwarf2read.c (read_namespace): Pull out name-generating code | |
881 | into namespace_name. Rename previous_namespace to previous_prefix | |
882 | and processing_current_namespace to processing_current_prefix.. | |
883 | (namespace_name): New function. | |
884 | (add_partial_symbol): Substitute uses of pdi->name with | |
885 | actual_name. | |
886 | * cp-support.h: Rename processing_current_namespace to | |
887 | processing_current_prefix. | |
888 | Update copyright year. | |
889 | * cp-namespace.c: Rename processing_current_namespace to | |
890 | processing_current_prefix. | |
891 | Update copyright year. | |
fe61caab | 892 | |
1e4728e7 AC |
893 | 2004-01-09 Andrew Cagney <[email protected]> |
894 | ||
895 | * jv-valprint.c, ser-unix.c: Add missing copyright years. | |
896 | ||
c77c642a MK |
897 | 2004-01-09 Mark Kettenis <[email protected]> |
898 | ||
899 | * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of | |
900 | complaining. | |
901 | (process_one_symbol): Deal with N_PATCH stabs. | |
902 | ||
b44e9041 EZ |
903 | 2004-01-09 Elena Zannoni <[email protected]> |
904 | ||
905 | * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and | |
906 | ifdeffed code. | |
907 | Update copyright year. | |
38d518c9 | 908 | |
eccfb640 MC |
909 | 2004-01-08 Michael Chastain <[email protected]> |
910 | ||
911 | * config/pa/tm-hppa.h: Update extern declarations for | |
912 | hppa32_hpux_frame_saved_pc_in_sigtramp, | |
913 | hppa32_hpux_frame_base_before_sigtramp, and | |
914 | hppa32_hpux_frame_find_saved_regs_in_sigtramp. | |
915 | ||
848c5feb MC |
916 | 2004-01-08 Michael Chastain <[email protected]> |
917 | ||
918 | * config/pa/tm-hppah.h: Update copyright years. | |
919 | ||
3cc5d663 AC |
920 | 2004-01-08 Andrew Cagney <[email protected]> |
921 | ||
922 | * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function. | |
923 | (mips_o32_reg_struct_has_addr): Delete function. | |
924 | (mips_gdbarch_init): Update. | |
925 | (mips_extract_struct_value_address): Delete function. | |
926 | ||
bfec0b41 JJ |
927 | 2004-01-08 David Mosberger <[email protected]> |
928 | ||
929 | * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect | |
930 | reality. | |
931 | ||
16e109ca AC |
932 | 2004-01-07 Andrew Cagney <[email protected]> |
933 | ||
6214a8a1 AC |
934 | * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous |
935 | architecture's elf flags (when available). | |
936 | ||
8d5838b5 AC |
937 | * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS |
938 | FPU to the start, check the MIPS FPU when looking for an old | |
939 | architecture. | |
940 | (set_mipsfpu_single_command): Update the architecture. | |
941 | (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto. | |
942 | ||
480d3dd2 AC |
943 | * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro. |
944 | (mips_mask_address_p): Add "tdep" parameter. | |
945 | (show_mask_address, mips_addr_bits_remove): Update. | |
946 | (mips_dump_tdep): Update. | |
947 | (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro. | |
948 | (MIPS_STACK_ARGSIZE): Delete macro. | |
949 | (mips_stack_argsize, mips_eabi_push_dummy_call): Update. | |
950 | (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update. | |
951 | (mips_o64_push_dummy_call, mips_o32_return_value): Update. | |
952 | (mips_dump_tdep): Update. | |
953 | (MIPS_SAVED_REGSIZE): Delete macro. | |
954 | (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro. | |
955 | (mips_saved_regsize, mips_eabi_use_struct_convention): Update. | |
956 | (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update. | |
957 | (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update. | |
958 | (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update. | |
959 | (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update. | |
960 | (mips_pop_frame, return_value_location): Update. | |
961 | (mips_n32n64_return_value, mips_dump_tdep): Update. | |
962 | ||
ec03c1ac AC |
963 | * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the |
964 | MIPS ABI. | |
965 | ||
16e109ca AC |
966 | * mips-tdep.c: Update copyright. |
967 | (mips_gdbarch_init): Merge two code blocks handling the register | |
968 | name and number layout. | |
969 | ||
15255275 MS |
970 | 2004-01-02 Pawel Ostrowski <[email protected]> |
971 | ||
972 | * tracepoint.c (validate_actionline): Fix segv at EOF | |
973 | ||
9f9057da MC |
974 | 2004-01-07 Michael Chastain <[email protected]> |
975 | ||
976 | * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME | |
977 | properly for static fields. | |
978 | ||
0127c0d3 | 979 | 2004-01-06 Jeff Johnston <[email protected]> |
91562f53 | 980 | Jason Molenda <[email protected]> |
0127c0d3 JJ |
981 | |
982 | * disasm.c: Update copyright to include 2004. | |
983 | (do_mixed_source_and_assembly): For uiout asm list | |
984 | and tuple cleanups, initialize to null_cleanup instead of | |
fe61caab | 985 | NULL and do so prior to loop. Only reset when we close off |
0127c0d3 | 986 | the tuple/list. Move check for whether to close off the |
fe61caab | 987 | asm tuple/list to after dump_insns call where it will be run |
0127c0d3 JJ |
988 | on each loop iteration. |
989 | ||
5269965e AC |
990 | 2004-01-05 Andrew Cagney <[email protected]> |
991 | ||
54f1137d AC |
992 | * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED" |
993 | should be a switch case and not a label. | |
994 | * mips-tdep.c (mips32_next_pc): Delete unused labels | |
995 | "greater_equal_branch" and "less_zero_branch". | |
996 | * jv-valprint.c (java_print_value_fields): Delete unused label | |
997 | "flush_it". | |
998 | ||
5269965e AC |
999 | * target.c (unpush_target): Only close a target that is in the |
1000 | target stack. | |
1001 | ||
dbc22fa1 MK |
1002 | 2004-01-05 Mark Kettenis <[email protected]> |
1003 | ||
9515395e MK |
1004 | * sparc-tdep.c (sparc_extract_struct_value_address): Get the |
1005 | address from [sp + 64] instead of %o2. | |
1006 | ||
dbc22fa1 MK |
1007 | * frame.c (get_prev_frame): Don't try to unwind the PC. This |
1008 | fixes PR backtrace/1476. | |
1009 | ||
5439edaa AC |
1010 | 2004-01-05 Andrew Cagney <[email protected]> |
1011 | ||
1012 | * libunwind-frame.h (struct frame_id): Add opaque declaration, | |
1013 | move to start of file. | |
1014 | * i386-tdep.h (struct regcache): Add opaque declaration. | |
1015 | * config/ia64/nm-linux.h (struct target_ops): Add opaque | |
1016 | declaration. | |
1017 | * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__. | |
1018 | (ia64_gdbarch_init): Use "GNU/Linux" in comment. | |
1019 | * win32-nat.c (fake_create_process): Use ISO C style definition. | |
1020 | * stabsread.c (define_symbol): Delete #ifndef | |
1021 | DEPRECATED_USE_REGISTER_NOT_ARG wrapper around | |
1022 | stabs_argument_has_addr call, macro never defined. | |
1023 | ||
19061abe MC |
1024 | 2004-01-04 Michael Chastain <[email protected]> |
1025 | ||
1026 | * op50-rom.c: Delete. | |
1027 | * w89k-rom.c: Delete. | |
1028 | * Makefile.in: Remove references. | |
1029 | ||
e53bef9f MK |
1030 | 2004-01-04 Mark Kettenis <[email protected]> |
1031 | ||
1032 | * x86-64-tdep.c: Update copyright year. | |
1033 | (struct amd64_register_info): Rename from x86_64_register_info. | |
1034 | (amd64_register_info): Rename from x86_64_register_info. | |
1035 | (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS. | |
1036 | (amd64_register_name): Rename from x86_64_register_name. | |
1037 | (amd64_register_type): Rename from x86_64_register_type. | |
1038 | (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap. | |
1039 | (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len. | |
1040 | (amd64_dwarf_reg_to_regnum): Rename from | |
1041 | x86_64_dwarf_reg_to_regnum. | |
1042 | (amd64_convert_register_p): Rename from x86_64_convert_register_p. | |
1043 | (amd64_push_dummy_call): Rename from x86_64_push_dummy_call. | |
1044 | (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS. | |
1045 | (struct amd64_frame_cache): Renamed from x86_64_frame_cache. | |
1046 | (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache. | |
1047 | (amd64_analyze_prologue): Rename from x86_64_analyze_prologue. | |
1048 | (amd64_skip_prologue): Rename from x86_64_skip_prologue. | |
1049 | (amd64_frame_cache): Rename from x86_64_frame_cache. | |
1050 | (amd64_frame_this_id): Rename from x86_64_frame_this_id. | |
1051 | (amd64_frame_prev_register): Rename from | |
1052 | x86_64_frame_prev_register. | |
1053 | (amd64_frame_unwind): Rename from x86_64_frame_unwind. | |
1054 | (amd64_frame_sniffer): Rename from x86_64_frame_sniffer. | |
1055 | (amd64_sigtramp_frame_cache): Rename from | |
1056 | x86_64_sigtramp_frame_cache. | |
1057 | (amd64_sigtramp_frame_prev_register): Rename from | |
1058 | x86_64_sigtramp_frame_prev_register. | |
1059 | (amd64_sigtramp_frame_unwind): Rename from | |
1060 | x86_64_sigtramp_frame_unwind. | |
1061 | (amd64_sigtramp_frame_sniffer): Rename from | |
1062 | x86_64_sigtramp_frame_sniffer. | |
1063 | (amd64_frame_base_address): Rename from x86_64_frame_base_address. | |
1064 | (amd64_frame_base): Rename from x86_64_frame_base. | |
1065 | (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id. | |
1066 | (amd64_frame_align): Rename from x86_64_frame_align. | |
1067 | (amd64_supply_fpregset): Rename from x86_64_supply_fpregset. | |
1068 | (amd64_regset_from_core_section): Rename from | |
1069 | x86_64_regset_from_core_section. | |
1070 | (x86_64_init_abi): Update comments. | |
1071 | ||
fca6aa58 NR |
1072 | 2004-01-04 Nick Roberts <[email protected]> |
1073 | ||
1074 | * MAINTAINERS (write after approval): Add myself. | |
1075 | ||
8ada74e3 MK |
1076 | 2004-01-04 Mark Kettenis <[email protected]> |
1077 | ||
1078 | * sparc64-tdep.c (sparc64_store_arguments): Fix handling of | |
1079 | `float' arguments. | |
1080 | ||
5154b0cd MK |
1081 | 2004-01-04 Mark Kettenis <[email protected]> |
1082 | ||
1083 | * sparc64-tdep.c (sparc64_store_floating_fields): Update comment | |
1084 | such that it mentions a specific version of GCC that exhibits this | |
1085 | bug. | |
1086 | ||
fb316966 MK |
1087 | 2004-01-03 Mark Kettenis <[email protected]> |
1088 | ||
200cc553 MK |
1089 | * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a |
1090 | structure that has a single `float' member, store it in %f1 in | |
1091 | addition to %f0. | |
1092 | ||
e226a4a0 MK |
1093 | * sparc-sol2-nat.c: Add missing '\'. |
1094 | ||
b9d4c5ed MK |
1095 | * sparc-tdep.c (sparc32_return_value): New function. |
1096 | (sparc32_use_struct_convention, sparc32_return_value_on_stack): | |
1097 | Remove functions. | |
1098 | (sparc32_gdbarch_init): Set return_value, don't set | |
1099 | extract_return_value, store_return_value, use_struct_convention | |
1100 | and return_value_on_stack. | |
1101 | ||
fb316966 MK |
1102 | * sparc-sol2-nat.c: Add missing ')'. |
1103 | ||
1af510a8 JB |
1104 | 2004-01-03 J. Brobecker <[email protected]> |
1105 | ||
1106 | * infrun.c (handle_step_into_function): New function. | |
1107 | (handle_inferior_event): Extract out some code into the new | |
1108 | function above. | |
1109 | ||
5cf4d23a JB |
1110 | 2004-01-03 J. Brobecker <[email protected]> |
1111 | ||
1112 | * infrun.c (handle_inferior_event): Move the declaration of | |
1113 | real_stop_pc inside the if blocks where it is used. | |
1114 | ||
60af1db2 MK |
1115 | 2004-01-03 Mark Kettenis <[email protected]> |
1116 | ||
1117 | * sparc64-tdep.c (sparc64_16_byte_align_p) | |
1118 | (sparc64_store_floating_fields, sparc64_store_floating_fields): | |
1119 | Use check_typedef to get subtypes of structures and unions. | |
1120 | (sparc64_store_return_value): Fix calculation of the appropriate | |
1121 | offset into VALBUF when storing a structure or union. | |
1122 | (sparc64_return_value): New function. | |
1123 | (sparc64_use_struct_convention): Remove function. | |
1124 | (sparc64_init_abi): Set return_value, don't set | |
1125 | extract_return_value, store_return_value and | |
1126 | use_struct_convention. | |
1127 | ||
1a901d3f EZ |
1128 | 2004-01-03 Eli Zaretskii <[email protected]> |
1129 | ||
1130 | * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS, | |
1131 | bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c, | |
1132 | gdb/config/alpha/xm-alphaosf.h, | |
1133 | gdb/config/powerpc/tm-ppcle-eabi.h, | |
1134 | gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001, | |
1135 | gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003, | |
1136 | gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in, | |
1137 | gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c, | |
1138 | gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c, | |
1139 | gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c, | |
1140 | gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c, | |
1141 | gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c, | |
1142 | gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c, | |
1143 | gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c, | |
1144 | gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp, | |
1145 | nclude/ChangeLog-9103, include/coff/ChangeLog-9103, | |
1146 | include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103, | |
1147 | opcodes/ChangeLog-0001, opcodes/ChangeLog-0203, | |
1148 | opcodes/openrisc-dis.c, opcodes/openrisc-desc.h, | |
1149 | sim/frv/profile-fr550.c, sim/frv/profile-fr550.h, | |
1150 | sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c, | |
1151 | sim/testsuite/sim/sh64/compact/ldsl-mach.cgs, | |
1152 | sim/testsuite/sim/sh64/compact/ldsl-macl.cgs, | |
1153 | sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and | |
1154 | sim/testsuite/sim/sh64/compact/stsl-macl.cgs. | |
1155 | Remove lines for .cvsignore files. | |
1156 | ||
ef52e463 JB |
1157 | 2004-01-03 J. Brobecker <[email protected]> |
1158 | ||
1159 | * infrun.c: Back out the previous change. | |
1160 | ||
cb1bf9dc MK |
1161 | 2004-01-03 Mark Kettenis <[email protected]> |
1162 | ||
f0424ef6 MK |
1163 | * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and |
1164 | sparc-*-sunos4* to the list of REMOVED configurations. | |
1165 | ||
cb1bf9dc MK |
1166 | * configure.tgt: Add back sparc-*-vxworks*. |
1167 | * remote-vxsparc.c: Remove all includes except for "defs.h", | |
1168 | "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h". | |
1169 | Include "sparc-tdep.h". | |
1170 | (SPARC_R_G1): New define. | |
1171 | (vxsparc_gregset): New variable. | |
1172 | (ext_format_sparc): Remove extern declaration. | |
1173 | (vx_read_register): Rewrite to use sparc32_supply_gregset and | |
1174 | sparc32_supply_fpregset. | |
1175 | (vx_write_register): Rewrite to use sparc32_collect_gregset, | |
1176 | sparc_collect_rwindow and sparc32_collect_fpregset. | |
1177 | * config/sparc/tm-vxworks.h: New file, based on recently removed | |
1178 | tm-vxsparc.h. | |
1179 | * config/sparc/vxworks.mt: New file, based on recently removed | |
1180 | vxworks.mt. | |
fe61caab | 1181 | |
5e938f9f JB |
1182 | 2004-01-03 J. Brobecker <[email protected]> |
1183 | ||
1184 | * infrun.c (handle_step_into_function): New function. | |
1185 | (handle_inferior_event): Extract out some code into the new | |
1186 | function above. | |
1187 | ||
386c036b MK |
1188 | 2004-01-02 Mark Kettenis <[email protected]> |
1189 | ||
1190 | * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and | |
1191 | sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c, | |
1192 | sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c, | |
1193 | sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c, | |
1194 | sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c, | |
1195 | sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c. | |
1196 | (sparc_nat_h): New variable. | |
1197 | (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables. | |
1198 | (tm-sun4os4.h): Remove dependency. | |
1199 | (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies. | |
1200 | (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o, | |
1201 | sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o, | |
1202 | sparc-tdep.o): Update dependencies. | |
1203 | (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o, | |
1204 | sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o, | |
1205 | sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New | |
1206 | dependencies. | |
1207 | * configure.host: Remove existing sparc-*-lynxos*, | |
1208 | sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*, | |
1209 | ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*, | |
1210 | sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*, | |
1211 | sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2* | |
1212 | triplets. | |
1213 | * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*, | |
1214 | sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*, | |
1215 | sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*, | |
1216 | sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add | |
1217 | new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*, | |
1218 | sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*, | |
1219 | sparc64-*-solaris2* and sparc64-*-* triplets. | |
1220 | * sparc64-tdep.c: Update copyright year. Include "inferior.h", | |
1221 | "symtab.h" and "objfiles.h". | |
1222 | (BIAS): Remove define. | |
1223 | (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22) | |
1224 | (X_DISP19): Remove macros. | |
1225 | (sparc_fetch_instruction): Remove function. | |
1226 | (struct gdbarch_tdep): Remove definition. | |
1227 | (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE. | |
1228 | (sparc_breakpoint_from_pc): Remove function. | |
1229 | (struct sparc64_frame_cache): Remove definition. | |
1230 | (sparc64_alloc_frame_cache, sparc64_analyze_prologue, | |
1231 | sparc64_unwind_pc): Remove functions. | |
1232 | (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of | |
1233 | `struct sparc64_frame_cache. Call sparc_analyze_prologue instead | |
1234 | of sparc64_analyze_prologue. Mark constant as ULL instead of UL. | |
1235 | (sparc64_frame_cache): Change return type to `struct | |
1236 | sparc_frame_cache *'. Simply call sparc_frame_cache. | |
1237 | (sparc64_frame_this_id, sparc64_frame_prev_register, | |
1238 | sparc64_frame_base_address): Use `struct sparc_frame_cache' | |
1239 | instead of `struct sparc64_frame_cache. | |
1240 | (sparc_unwind_dummy_id, sparc_extract_struct_value_address, | |
1241 | sparc_analyze_control_transfer, sparc_software_single_step, | |
1242 | sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow, | |
1243 | _initialize_sparc64_tdep): Remove functions. | |
1244 | (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros. | |
1245 | (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New | |
1246 | macros. | |
1247 | (sparc64_supply_gregset, sparc64_collect_gregset, | |
1248 | sparc64_supply_fpregset, sparc64_collect_fpregset): New functions. | |
1249 | (sparc64_init_abi): New function. | |
1250 | * sparc64-tdep.h: Update copyright year. Fix typo in multiple | |
1251 | inclusion guard. Include "sparc-tdep.h". | |
1252 | (BIAS): Define. | |
1253 | (r_tstate_offset, r_fprs_offset): New defines. | |
1254 | (enum sparc_regnum): Remove defenition. | |
1255 | (enum sparc64_regnum): Reformat. | |
1256 | (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes. | |
1257 | (sparc64_init_abi, sparc64_supply_gregset, | |
1258 | sparc64_collect_gregset, sparc64_supply_fpregset, | |
1259 | sparc64_collect_fpregset): New prototypes. | |
1260 | (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset): | |
1261 | Add extern declarations. | |
1262 | (sparc64_sol2_init_abi): New prototype. | |
1263 | (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg) | |
1264 | (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove | |
1265 | prototypes. | |
1266 | * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include | |
1267 | "sparnbsd-nat.h". | |
1268 | (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove | |
1269 | functions. | |
1270 | (_initialize_sparc64fbsd_nat): Remove initialization of | |
1271 | sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg, | |
1272 | sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p, | |
fe61caab | 1273 | sparcbsd_fpreg_supplies_p. Initialize sparc_gregset. |
386c036b MK |
1274 | * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h", |
1275 | "frame-unwind.h", "trad-frame.h" and "gdb_assert.h". | |
1276 | (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset) | |
1277 | (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset) | |
1278 | (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset) | |
1279 | (sparc64fbsd_r_y_offset): Remove variables. | |
1280 | (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg): | |
1281 | Make static and const. | |
1282 | (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg) | |
1283 | (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove | |
1284 | functions. | |
1285 | (sparc64fbsd_gregset): New variable. | |
1286 | (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg | |
1287 | and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset | |
1288 | and sparc64_supply_fpregset. | |
1289 | (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache) | |
1290 | (sparc64fbsd_sigtramp_frame_this_id) | |
1291 | (sparc64fbsd_sigtramp_frame_prev_register): New functions. | |
1292 | (sparc64fbsd_sigtramp_frame_unwind): New variable. | |
1293 | (sparc64fbsd_sigtramp_frame_sniffer): New function. | |
1294 | (sparc64fbsd_init_abi): Set pc_in_sigtramp, append | |
1295 | sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi. | |
1296 | * sparcnbsd-tdep.c: Update copyright year. Include | |
1297 | "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h", | |
1298 | "trad-frame.h" and "gdb_assert.h", don't include "target.h", | |
1299 | "value.h" and "sparcnbsd-tdep.h". | |
1300 | (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC) | |
1301 | (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT) | |
1302 | (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC) | |
1303 | (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove | |
1304 | defines. | |
1305 | (sparcnbsd_gregset): New variable. | |
1306 | (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64) | |
1307 | (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64) | |
1308 | (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64) | |
1309 | (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions. | |
1310 | (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New | |
1311 | variables. | |
1312 | (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache) | |
1313 | (sparc32nbsd_sigcontext_frame_this_id) | |
1314 | (sparc32nbsd_sigcontext_frame_prev_register): New functions. | |
1315 | (sparc32nbsd_sigcontext_frame_unwind): New variable. | |
1316 | (sparc32nbsd_sigtramp_frame_sniffer): New function. | |
1317 | (sparcnbsd_get_longjmp_target_32, | |
1318 | sparcnbsd_get_longjmp_target_64): Remove functions. | |
1319 | (sparcnbsd_aout_in_solib_call_trampoline): Rewrite. | |
1320 | (sparcnbsd_init_abi_common, sparcnbsd_init_aout, | |
1321 | sparcnbsd_init_elf): Remove. | |
1322 | (sparcnbsd_init_abi, sparcnbsd_aout_init_abi) | |
1323 | (sparcnbsd_elf_init_abi): New functions. | |
1324 | (_initialize_sparcnbsd_tdep): New prototype. | |
1325 | (_initialize_sparnbsd_tdep): Update. | |
1326 | * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and | |
1327 | corelow.o. Add sparc64-nat.o and sparc-nat.o. | |
1328 | * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o. | |
1329 | * config/sparc/linux.mh: Update comment. | |
1330 | (XM_FILE, HOST_IPC): Remove variables. | |
1331 | (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove | |
1332 | sparc-linux-nat.o. | |
1333 | * config/sparc/linux.mt: Update comment. | |
1334 | (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o. | |
1335 | * config/sparc/nbsd.mt: Reformat. | |
1336 | * config/sparc/nbsd64.mh: Update comment. | |
1337 | (NATDEPFILES): Add sparc-nat.o. | |
1338 | * config/sparc/nbsd64.mt: Update comment. | |
1339 | (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o. | |
1340 | (TM_FILE): Set to tm-nbsd.h. | |
1341 | * config/sparc/nbsdelf.mh: Update comment. | |
1342 | (NATDEPFILES): Add sparc-nat.o. | |
1343 | (XM_FILE): Delete. | |
1344 | * config/sparc/nbsdaout.mh: Update comment. | |
1345 | (NATDEPFILES): Add sparc-nat.o | |
1346 | (XM_FILE): Delete. | |
1347 | * config/sparc/nm-linux.h: Update copyright year. Don't include | |
1348 | "config/nm-svr4.h" and "solib.h". Add protection against multiple | |
1349 | inclusion. | |
1350 | (KERNEL_U_SIZE): Remove define. | |
1351 | (kernel_u_size): Remove prototype. | |
1352 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define. | |
1353 | * config/sparc/nm-nbsd.h: Update copyright. Don't include | |
1354 | "regcache.h". | |
1355 | (CHILD_PREPARE_TO_STORE): Remove define. | |
1356 | * config/sparc/nm-nbsdaout.h: Tweak some comments. | |
1357 | * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c, | |
1358 | sparcnbsd-nat.c: Rewrite files. | |
1359 | * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files. | |
1360 | * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h, | |
1361 | sparcnbsd-tdep.h: Remove files. | |
1362 | * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h, | |
1363 | config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt, | |
1364 | config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt, | |
1365 | config/sparc/sparc-em.mt, config/sparc/sparclynx.mh, | |
1366 | config/sparc/sparclynx.mt, config/sparc/sun4os4.mh, | |
1367 | config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh, | |
1368 | config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h, | |
1369 | config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h, | |
1370 | config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h, | |
1371 | config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h, | |
1372 | config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt, | |
1373 | config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files. | |
1374 | * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c, | |
1375 | sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c, | |
1376 | sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files. | |
1377 | * config/sparc/linux64.mh, config/sparc/linux64.mt, | |
1378 | config/sparc/nm-sol2.h, config/sparc/sol2-64.mt, | |
1379 | config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt, | |
1380 | config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files. | |
1381 | ||
ee84457a AC |
1382 | 2004-01-02 Andrew Cagney <[email protected]> |
1383 | ||
1384 | From 2003-12-18 Kazuhiro Inaoka: | |
1385 | * configure.host: Add m32r-linux target. | |
1386 | ||
0bc2134e MC |
1387 | 2004-01-02 Michael Chastain <[email protected]> |
1388 | ||
1389 | * top.c (print_gdb_version): Update year to 2004. | |
1390 | ||
89a72f9c MM |
1391 | 2004-01-02 Mark Mitchell <[email protected]> |
1392 | ||
1393 | * MAINTAINERS: Add myself to the write-after-approval category. | |
1394 | ||
86b013ed DJ |
1395 | 2004-01-02 Daniel Jacobowitz <[email protected]> |
1396 | ||
1397 | From Bernardo Innocenti <[email protected]>: | |
1398 | * configure.tgt: Add uClinux target. | |
1399 | ||
e42c9534 AC |
1400 | 2004-01-02 Andrew Cagney <[email protected]> |
1401 | ||
1402 | * utils.c (do_my_cleanups): Make static, add forward declaration. | |
1403 | * defs.h (do_my_cleanups): Delete declaration. | |
1404 | ||
162467d3 EZ |
1405 | 2004-01-02 Eli Zaretskii <[email protected]> |
1406 | ||
1407 | * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and | |
1408 | bfd/ChangeLog-0203. | |
1409 | ||
78434e59 MK |
1410 | 2004-01-02 Mark Kettenis <[email protected]> |
1411 | ||
1412 | * configure.in: Check for <machine/reg.h>. Check for `struct reg' | |
1413 | in <machine/reg.h>. | |
1414 | * configure, config.in: Regenerate. | |
1415 | ||
48efe704 AC |
1416 | For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and |
1417 | tui/ChangeLog-1998-2003. | |
c906108c SS |
1418 | \f |
1419 | Local Variables: | |
1420 | mode: change-log | |
1421 | left-margin: 8 | |
1422 | fill-column: 74 | |
1423 | version-control: never | |
1424 | End: |