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