Commit | Line | Data |
---|---|---|
92ad9cd9 AC |
1 | 2003-10-20 Andrew Cagney <cagney@redhat.com> |
2 | ||
3 | * values.c (register_value_being_returned): Update comments. Use | |
4 | "gdbarch_return_value" when available. | |
5 | (using_struct_return): Ditto. | |
6 | (set_return_value): Ditto. Use "gdbarch_return_value" when | |
7 | available.. Print a warning, and not an error, when an unhandled | |
8 | return type is encountered. | |
9 | * infcmd.c: Include "gdb_assert.h". | |
10 | (print_return_value): When gdbarch_return_value_p, and using | |
11 | struct return, assume that the value is not available. | |
12 | * defs.h (return_value_convention): Define. | |
13 | * gdbarch.sh (gdbarch_return_value): New predicate method. | |
14 | * gdbarch.h, gdbarch.c: Re-generate | |
15 | * ppc-sysv-tdep.c (return_value_convention): Delete definition. | |
16 | ||
198beae2 AC |
17 | 2003-10-20 Andrew Cagney <cagney@redhat.com> |
18 | ||
19 | * symtab.c: Replace "struct sec" with "struct bfd_section". | |
20 | * objfiles.c, linespec.c, blockframe.c, block.c: Ditto. | |
21 | ||
e7cb278a MC |
22 | 2003-10-19 Michael Chastain <mec@shout.net> |
23 | ||
24 | * config/djgpp/fnchange.lst: Add lines for: | |
25 | gdb/amd64nbsd-nat.c, gdb/amd64nbsd-tdep.c, | |
26 | gdb/i386fbsd-nat.c, gdb/i386fbsd-tdep.c, | |
27 | gdb/sparc64fbsd-nat.c, gdb/sparc64bsd-tdep.c. | |
28 | ||
21ad8dc3 MK |
29 | 2003-10-19 Mark Kettenis <kettenis@gnu.org> |
30 | ||
31 | * amd64fbsd-nat.c (fetch_inferior_registers, | |
32 | store_inferior_registers): Remove functions. | |
33 | * config/i386/fbsd64.mh (NATDEPFILES): Add amd64bsd-nat.o. | |
34 | ||
cced5e27 MK |
35 | 2003-10-18 Mark Kettenis <kettenis@gnu.org> |
36 | ||
37 | Add NetBSD/amd64 native configuration: | |
38 | * x86-64-tdep.h (amd64nbsd_r_reg_offset): Add extern declarations. | |
39 | * amd64nbsd-tdep.c: New file. | |
40 | * amd64nbsd-nat.c: New file. | |
41 | * amd64bsd-nat.c: New file. | |
42 | * config/i386/nbsd64.mh: New file. | |
43 | * config/i386/nbsd64.mt: New file. | |
44 | * configure.host: Add x86_64-*-netbsd*. | |
45 | * configure.tgt: Add x86_64-*-netbsd*. | |
46 | * Makefile.in (amd64bsd-nat.o, amd64nbsd-nat.o, amd64nbsd-tdep.o): | |
47 | New targets. | |
48 | * NEWS (New native configurations): Mention NetBSD/amd64. | |
49 | ||
666de3fd MC |
50 | 2003-10-17 Michael Chastain <mec@shout.net> |
51 | ||
52 | * config/djgpp/fnchange.lst: Remove dead lines for: | |
53 | bfd/elf32-i386qnx.c, bfd/elf32-ppcqnx.c, bfd/elf32-shqnx.c, | |
54 | bfd/elf32-sh-lin.c, bfd/elf32-sh-nbsd.c, bfd/elf32-sh64-nbsd.c, | |
55 | bfd/elf64-alpha-fbsd.c, bfd/elf64-sh64-nbsd.c, | |
56 | gdb/alphanbsd-nat.c, gdb/config/i386/tm-i386mk.h, | |
57 | gdb/config/i386/tm-i386v42mp.h, gdb/config/i386/xm-i386mach.h, | |
58 | gdb/config/i386/xm-i386mk.h, gdb/config/i386/xm-i386v32.h, | |
59 | gdb/config/m68k/apollo68v.mh, gdb/config/m68k/nm-apollo68v.h, | |
60 | gdb/config/m68k/xm-apollo68v.h, gdb/config/m88k/tm-delta88v4.h, | |
61 | gdb/config/mips/tm-bigmips64.h, gdb/config/mips/tm-embed64.h, | |
62 | gdb/config/mips/tm-embedl.h, gdb/config/mips/tm-embedl64.h, | |
63 | gdb/config/mips/tm-vr4300el.h, gdb/config/mips/tm-vr4xxxel.h, | |
64 | gdb/config/mips/tm-vr5000el.h, gdb/config/sparc/tm-sparclet.h, | |
65 | gdb/config/sparc/tm-sparclite.h, | |
66 | gdb/gdbtk/generic/ChangeLog-2001, | |
67 | gdb/gdbtk/library/ChangeLog-2001, gdb/remote-adapt.c, | |
68 | gdb/remote-eb.c, gdb/remote-mm.c, gdb/remote-nrom.c, | |
69 | gdb/remote-udi.c, gdb/remote-vx29k.c, gdb/remote-vx960.c, | |
70 | gdb/sparclet-rom.c, gdb/sparclet-stub.c, | |
71 | gdb/testsuite/gdb.mi/mi0-var-block.exp, | |
72 | gdb/testsuite/gdb.mi/mi0-var-child.exp, | |
73 | gdb/testsuite/gdb.mi/mi0-var-cmd.exp, | |
74 | gdb/testsuite/gdb.mi/mi0-var-display.exp, | |
75 | itcl/iwidgets3.0.0/demos/extfileselectionbox, | |
76 | itcl/iwidgets3.0.0/demos/extfileselectiondialog, | |
77 | itcl/iwidgets3.0.0/demos/fileselectionbox, | |
78 | itcl/iwidgets3.0.0/demos/fileselectiondialog, | |
79 | itcl/iwidgets3.0.0/demos/html/buttonbox.n.html, | |
80 | itcl/iwidgets3.0.0/demos/html/canvasprintbox.n.html, | |
81 | itcl/iwidgets3.0.0/demos/html/canvasprintdialog.n.html, | |
82 | itcl/iwidgets3.0.0/demos/html/combobox.n.html, | |
83 | itcl/iwidgets3.0.0/demos/html/dialog.n.html, | |
84 | itcl/iwidgets3.0.0/demos/html/dialogshell.n.html, | |
85 | itcl/iwidgets3.0.0/demos/html/entryfield.n.html, | |
86 | itcl/iwidgets3.0.0/demos/html/feedback.n.html, | |
87 | itcl/iwidgets3.0.0/demos/html/fileselectionbox.n.html, | |
88 | itcl/iwidgets3.0.0/demos/html/fileselectiondialog.n.html, | |
89 | itcl/iwidgets3.0.0/demos/html/hyperhelp.n.html, | |
90 | itcl/iwidgets3.0.0/demos/html/iwidgets2.2.0UserCmds.html, | |
91 | itcl/iwidgets3.0.0/demos/html/labeledwidget.n.html, | |
92 | itcl/iwidgets3.0.0/demos/html/menubar.n.html, | |
93 | itcl/iwidgets3.0.0/demos/html/messagedialog.n.html, | |
94 | itcl/iwidgets3.0.0/demos/html/notebook.n.html, | |
95 | itcl/iwidgets3.0.0/demos/html/optionmenu.n.html, | |
96 | itcl/iwidgets3.0.0/demos/html/panedwindow.n.html, | |
97 | itcl/iwidgets3.0.0/demos/html/promptdialog.n.html, | |
98 | itcl/iwidgets3.0.0/demos/html/pushbutton.n.html, | |
99 | itcl/iwidgets3.0.0/demos/html/radiobox.n.html, | |
100 | itcl/iwidgets3.0.0/demos/html/scrolledcanvas.n.html, | |
101 | itcl/iwidgets3.0.0/demos/html/scrolledframe.n.html, | |
102 | itcl/iwidgets3.0.0/demos/html/scrolledhtml.n.html, | |
103 | itcl/iwidgets3.0.0/demos/html/scrolledlistbox.n.html, | |
104 | itcl/iwidgets3.0.0/demos/html/scrolledtext.n.html, | |
105 | itcl/iwidgets3.0.0/demos/html/selectionbox.n.html, | |
106 | itcl/iwidgets3.0.0/demos/html/selectiondialog.n.html, | |
107 | itcl/iwidgets3.0.0/demos/html/shell.n.html, | |
108 | itcl/iwidgets3.0.0/demos/html/spindate.n.html, | |
109 | itcl/iwidgets3.0.0/demos/html/spinint.n.html, | |
110 | itcl/iwidgets3.0.0/demos/html/spinner.n.html, | |
111 | itcl/iwidgets3.0.0/demos/html/spintime.n.html, | |
112 | itcl/iwidgets3.0.0/demos/html/tabnotebook.n.html, | |
113 | itcl/iwidgets3.0.0/demos/html/tabset.n.html, | |
114 | itcl/iwidgets3.0.0/demos/html/toolbar.n.html, | |
115 | itcl/iwidgets3.0.0/demos/scrolledcanvas, | |
116 | itcl/iwidgets3.0.0/demos/scrolledframe, | |
117 | itcl/iwidgets3.0.0/demos/scrolledhtml, | |
118 | itcl/iwidgets3.0.0/demos/scrolledlistbox, | |
119 | itcl/iwidgets3.0.0/demos/scrolledtext, | |
120 | itcl/iwidgets3.0.0/demos/selectionbox, | |
121 | itcl/iwidgets3.0.0/demos/selectiondialog, | |
122 | itcl/iwidgets3.0.0/doc/canvasprintbox.n, | |
123 | itcl/iwidgets3.0.0/doc/canvasprintdialog.n, | |
124 | itcl/iwidgets3.0.0/doc/extfileselectionbox.n, | |
125 | itcl/iwidgets3.0.0/doc/extfileselectiondialog.n, | |
126 | itcl/iwidgets3.0.0/doc/fileselectionbox.n, | |
127 | itcl/iwidgets3.0.0/doc/fileselectiondialog.n, | |
128 | itcl/iwidgets3.0.0/doc/scopedobject.n.backup, | |
129 | itcl/iwidgets3.0.0/doc/scrolledcanvas.n, | |
130 | itcl/iwidgets3.0.0/doc/scrolledframe.n, | |
131 | itcl/iwidgets3.0.0/doc/scrolledhtml.n, | |
132 | itcl/iwidgets3.0.0/doc/scrolledlistbox.n, | |
133 | itcl/iwidgets3.0.0/doc/scrolledtext.n, | |
134 | itcl/iwidgets3.0.0/doc/selectionbox.n, | |
135 | itcl/iwidgets3.0.0/doc/selectiondialog.n, | |
136 | itcl/iwidgets3.0.0/generic/canvasprintbox.itk, | |
137 | itcl/iwidgets3.0.0/generic/canvasprintdialog.itk, | |
138 | itcl/iwidgets3.0.0/generic/extfileselectionbox.itk, | |
139 | itcl/iwidgets3.0.0/generic/extfileselectiondialog.itk, | |
140 | itcl/iwidgets3.0.0/generic/fileselectionbox.itk, | |
141 | itcl/iwidgets3.0.0/generic/fileselectiondialog.itk, | |
142 | itcl/iwidgets3.0.0/generic/scrolledcanvas.itk, | |
143 | itcl/iwidgets3.0.0/generic/scrolledframe.itk, | |
144 | itcl/iwidgets3.0.0/generic/scrolledhtml.itk, | |
145 | itcl/iwidgets3.0.0/generic/scrolledlistbox.itk, | |
146 | itcl/iwidgets3.0.0/generic/scrolledtext.itk, | |
147 | itcl/iwidgets3.0.0/generic/scrolledwidget.itk, | |
148 | itcl/iwidgets3.0.0/generic/selectionbox.itk, | |
149 | itcl/iwidgets3.0.0/generic/selectiondialog.itk, | |
150 | itcl/iwidgets3.0.0/tests/canvasprintbox.test, | |
151 | itcl/iwidgets3.0.0/tests/canvasprintdialog.test, | |
152 | itcl/iwidgets3.0.0/tests/extfileselectionbox.test, | |
153 | itcl/iwidgets3.0.0/tests/extfileselectiondialog.test, | |
154 | itcl/iwidgets3.0.0/tests/fileselectionbox.test, | |
155 | itcl/iwidgets3.0.0/tests/fileselectiondialog.test, | |
156 | itcl/iwidgets3.0.0/tests/scrolledcanvas.test, | |
157 | itcl/iwidgets3.0.0/tests/scrolledframe.test, | |
158 | itcl/iwidgets3.0.0/tests/scrolledhtml.test, | |
159 | itcl/iwidgets3.0.0/tests/scrolledlistbox.test, | |
160 | itcl/iwidgets3.0.0/tests/scrolledtext.test, | |
161 | itcl/iwidgets3.0.0/tests/selectionbox.test, | |
162 | itcl/iwidgets3.0.0/tests/selectiondialog.test, | |
163 | itcl/iwidgets3.0.0/unix/iwidgets.tcl.in, | |
164 | itcl/iwidgets3.0.0/unix/pkgIndex.tcl.in, | |
165 | tix/docs/Release-4.1.0.html, tix/docs/Release-4.1.0.txt, | |
166 | tix/docs/Release-4.1a2.html, tix/docs/Release-4.1a2.txt, | |
167 | tix/docs/Release-4.1a3.html, tix/docs/Release-4.1a3.txt, | |
168 | tix/docs/Release-4.1b1.html, tix/docs/Release-4.1b1.txt, | |
169 | tix/docs/Release-4.1b2.html, tix/docs/Release-4.1b2.txt, | |
170 | tix/tixConfig.sh.in, tix/unix/tk4.2/pkgIndex.tcl.in, | |
171 | tix/unix/tk8.0/pkgIndex.tcl.in, tix/unix/tk8.0/pkgIndex.tcl.in, | |
172 | tix/unix/tk8.1/pkgIndex.tcl.in, tix/win/tkConsole41.c, | |
173 | tix/win/tkConsole42.c, tix/win/tkConsole80a1.c, | |
174 | tix/win/tkConsole80b1.c, tix/win/tkConsole81.c, tk/doc/tk4.0.ps, | |
175 | tk/mac/tkMacProjects.sit.hqx. | |
176 | ||
1e3ff5ad AC |
177 | 2003-10-17 Andrew Cagney <cagney@redhat.com> |
178 | ||
8db32d44 AC |
179 | * target.c (target_section_by_addr): New function. |
180 | (do_xfer_memory): Use "target_section_by_addr". | |
181 | * target.h (target_section_by_addr): Declare. | |
182 | ||
1e3ff5ad AC |
183 | * target.h (struct target_ops): Add "to_read_partial" and |
184 | "to_write_partial", delete "to_query". | |
185 | (target_read_partial, target_write_partial): Declare. | |
186 | (target_read, target_write): Declare. | |
187 | (target_query): Delete macro. | |
188 | * target.c (target_read_partial): New function. | |
189 | (target_write_partial, target_read, target_write): New function. | |
190 | (update_current_target): Delete inheritance of "to_query". Add | |
191 | comments about "to_read_partial" and "to_write_partial". | |
192 | (debug_to_partial_read, debug_to_partial_write): New functions. | |
193 | (debug_to_query): Delete function. | |
194 | (setup_target_debug): Set "to_read_partial" and "to_write_partial" | |
195 | instead of "to_query". | |
196 | * remote.c (remote_read_partial): Replace "remote_query". | |
197 | (init_remote_ops): Set "to_read_partial" instead of "to_query". | |
198 | (init_remote_async_ops): Ditto. | |
199 | * kod.c (gdb_kod_query): Make "bufsize" a LONGEST. Use | |
200 | "target_read_partial" instead of "target_query". | |
201 | * avr-tdep.c (avr_io_reg_read_command): Make "bufsize" a LONGEST. | |
202 | Use "target_read_partial" instead of "target_query". | |
203 | ||
48c66725 JJ |
204 | 2003-10-17 Jeff Johnston <jjohnstn@redhat.com> |
205 | ||
206 | * frame.h (struct frame_id): Add new field: special_addr. | |
207 | (frame_id_build_special): New prototype. | |
208 | * frame.c (frame_id_build_special): New function. | |
209 | (frame_id_build): Change to call frame_id_build_special(). | |
210 | (frame_id_eq): Change to also test special_addr field. | |
211 | (frame_id_inner): Update comment. | |
212 | ||
7998dfc3 AC |
213 | 2003-10-17 Andrew Cagney <cagney@redhat.com> |
214 | ||
215 | * target.c (update_current_target): Perform the target cleanup. | |
216 | Put the target stack beneath the squashed "current_target". | |
217 | (add_target): Delete disabled call to "cleanup_target". | |
218 | (cleanup_target): Delete function. | |
219 | (push_target, unpush_target): Do not call "cleanup_target". | |
220 | ||
9c04404e | 221 | 2003-10-17 Andrew Cagney <cagney@redhat.com> |
258b763a AC |
222 | |
223 | * target.c (target_stack): Change to a static target_ops. | |
224 | (update_current_target): Walk the "struct target_ops" stack. | |
225 | (pop_target, do_xfer_memory, target_info): Ditto. | |
226 | (find_target_beneath): Ditto. | |
227 | (push_target): Rewrite to use the "struct target_ops" stack. | |
228 | (unpush_target): Ditto. | |
229 | * target.h (struct target_stack_item): Delete definition. | |
230 | (target_stack): Delete declaration. | |
231 | (struct target_ops): Add field "beneath". | |
232 | ||
c98a2b49 | 233 | 2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com> |
ac1764c7 AC |
234 | |
235 | * gdb/config/h8300/tm-h8300.h (h8300_normal_mode): Add external | |
236 | declaration. | |
237 | * gdb/h8300-tdep.c (BINWORD): Update BINWORD for h8300_normal_mode | |
c98a2b49 SA |
238 | (h8300_examine_prologue): Use h8300_normal_mode flag |
239 | (h8300_gdbarch_init): Set architecture info for normal mode | |
240 | ||
506fb367 DJ |
241 | 2003-10-16 Daniel Jacobowitz <drow@mvista.com> |
242 | ||
243 | * remote.c (remote_protocol_vcont): New variable. | |
244 | (set_remote_protocol_vcont_packet_cmd): New function. | |
245 | (show_remote_protocol_vcont_packet_cmd): New function. | |
246 | (init_all_packet_configs): Handle remote_protocol_vcont. | |
247 | (remote_vcont_probe): New function. | |
248 | (remote_vcont_resume): New function. | |
249 | (remote_resume): Use it. | |
250 | (remote_async_resume): Call remote_resume. | |
251 | (_initialize_remote): Add verbose-resume packet commands. | |
252 | ||
65815ea1 AC |
253 | 2003-10-16 Andrew Cagney <cagney@redhat.com> |
254 | ||
255 | * infrun.c (handle_inferior_event): Add comment about | |
256 | "frame_id_inner" being too weak. | |
257 | ||
40324f1b EZ |
258 | 2003-10-16 Elena Zannoni <ezannoni@redhat.com> |
259 | ||
260 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove | |
261 | second parameter, which is always null. Remove | |
262 | SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code. | |
263 | * symtab.h (lookup_minimal_symbol_solib_trampoline): Update | |
264 | accordingly. | |
265 | * somsolib.c (som_solib_create_inferior_hook, | |
266 | som_solib_desire_dynamic_linker_symbols): Update callers. | |
267 | * hppa-tdep.c (hppa_fix_call_dummy): Ditto. | |
b4b4b794 KI |
268 | |
269 | 2003-10-16 Kei Sakamoto <sakamoto.kei@renesas.com> | |
270 | ||
271 | * remote-m32r-sdi.c : New file, interface to m32r on-chip | |
272 | debug interface, SDI (Scalable Debug Interface). | |
273 | * NEWS: Mention m32r SDI protocol was supported. | |
274 | * Makefile.in (remote-m32r-sdi.o): Add build rule. | |
275 | * config/m32r/m32r.mt (TDEPFILES) : Add remote-m32r-sdi.o. | |
276 | ||
51931cbb JJ |
277 | 2003-10-15 Jeff Johnston <jjohnstn@redhat.com> |
278 | ||
279 | * ia64-linux-tdep.c: Include gdbcore.h. | |
280 | (IA64_LINUX_SIGCONTEXT_OFFSET): Magic constant removed. | |
281 | (ia64_linux_sigcontext_register_addr): Find the address of the | |
282 | sigcontext area stored in the sigframe instead of using | |
283 | a magic offset constant. | |
284 | ||
84e7fd53 AC |
285 | 2003-10-15 Andrew Cagney <cagney@redhat.com> |
286 | ||
287 | * remote.c (remote_search): Delete function. | |
288 | * target.h (target_search): Delete disabled macro. | |
289 | (struct target_ops): Delete disabled field "to_search". | |
290 | ||
0f4d7c52 KB |
291 | 2003-10-14 Kevin Buettner <kevinb@redhat.com> |
292 | ||
293 | * frv-tdep.c (frv_frame_this_id): Call inside_entry_func() | |
294 | instead of deprecated_inside_entry_file(). | |
295 | ||
2e952408 CV |
296 | 2003-10-14 Corinna Vinschen <vinschen@redhat.com> |
297 | ||
298 | * sh-tdep.c: Fix copy/paste hangover in comment. | |
299 | (sh_push_dummy_call_fpu): Accomodate double passing in little endian | |
300 | mode. | |
301 | (sh3e_sh4_extract_return_value): Ditto. | |
302 | ||
7e86466e RH |
303 | 2003-10-13 Richard Henderson <rth@redhat.com> |
304 | ||
305 | * f-typeprint.c (f_type_print_base): Handle TYPE_CODE_REF. | |
306 | * f-valprint.c (f_val_print): Likewise. Tweak TYPE_CODE_PTR to | |
307 | match c_val_print a bit closer. | |
308 | ||
46a16dba KB |
309 | 2003-10-13 Kevin Buettner <kevinb@redhat.com> |
310 | ||
311 | * frv-tdep.c (max_instrs_per_bundle, frv_instr_size): New constants. | |
312 | (frv_gdbarch_adjust_breakpoint_address): New function. | |
313 | (frv_gdbarch_init): Initialize ``gdbarch_adjust_breakpoint_address'' | |
314 | method. | |
315 | ||
76897487 KB |
316 | 2003-10-13 Kevin Buettner <kevinb@redhat.com> |
317 | ||
318 | * breakpoint.h (struct breakpoint): Add new member | |
319 | ``requested_address''. | |
320 | * breakpoint.c (breakpoint_adjustment_warning) | |
321 | (adjust_breakpoint_address): New static functions. | |
322 | (print_it_typical): Issue warning if breakpoint's address is different | |
323 | from its requested address. | |
324 | (set_raw_breakpoint, set_longjmp_resume_breakpoint, watch_command_1) | |
325 | (breakpoint_re_set_one): Set breakpoint's | |
326 | ``requested_address'' field. Set ``address'' field to the | |
327 | result of calling adjust_breakpoint_address() on the requested | |
328 | address. | |
329 | ||
a1131521 KB |
330 | 2003-10-13 Kevin Buettner <kevinb@redhat.com> |
331 | ||
332 | * gdbarch.sh (ADJUST_BREAKPOINT_ADDRESS): New method. | |
333 | * gdbarch.h, gdbarch.c: Regenerate. | |
334 | ||
6ce6d90f MK |
335 | 2003-10-11 Mark Kettenis <kettenis@gnu.org> |
336 | ||
155c1d33 MK |
337 | * i386bsd-tdep.c (i386bsd_init_abi): Use ARRAY_SIZE to initialize |
338 | TDEP->sc_num_regs. | |
339 | ||
8a96bc77 MK |
340 | * i386fbsd-tdep.c: New file. |
341 | (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, | |
342 | i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi, | |
343 | i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Move here from | |
344 | i386bsd-tdep.c. | |
345 | (_initialize_i386fbsd_tdep): New function. | |
346 | (i386fbsd_r_reg_offset, i386fbsd4_r_reg_offset): New varibles. | |
347 | (i386fbsdaout_init_abi): Initialize TDEP->gregset_reg_offset, | |
348 | TDEP->gregset_num_regs, TDEP->sizeof_gregset and | |
349 | TDEP->sizeof_fpregset. Use ARRAY_SIZE to initialize | |
350 | TDEP->sc_num_regs. | |
351 | (i386fbsd4_init_abi): Initialize TDEP->gregset_reg_offset, | |
352 | TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE | |
353 | to initialize TDEP->sc_num_regs. | |
354 | * i386bsd-tdep.c (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, | |
355 | i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi, | |
356 | i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Remove. | |
357 | (_initialize_i386bsd_tdep): Don't register FreeBSD a.out and | |
358 | FreeBSD ELF OS/ABI's here. | |
359 | * Makefile.in (ALLDEPFILES): Add i386fbsd-tdep.c. | |
360 | (i386fbsd-tdep.o): New target. | |
361 | * config/i386/fbsd.mt (TDEPFILES): Add i386fbsd-tdep.o. | |
362 | * config/i386/fbsd64.mt (TDEPFILES): Add i386fbsd-tdep.o. | |
363 | ||
477f40d1 MK |
364 | * amd64fbsd-tdep.c (amd64fbsd_r_reg_offset): New variable. |
365 | (amd64fbsd_init_abi): Set TDEP->gregset_reg_offset, | |
366 | TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE | |
367 | in initialization of TDEP->sc_num_regs. | |
368 | ||
c6b33596 MK |
369 | * x86-64-tdep.c (x86_64_regset_from_core_section): New function. |
370 | (x86_64_init_abi): Initialize regset_from_core_section if | |
371 | appropriate. | |
372 | ||
8446b36a MK |
373 | * i386-tdep.c (i386_regset_from_core_section): New function. |
374 | (i386_gdbarch_init): Initialize regset_from_core_section if | |
375 | appropriate. | |
376 | * i386-tdep.h (i386_regset_from_core_section): New declaration. | |
377 | ||
c783cbd6 MK |
378 | * i386-tdep.h (struct regset): Declare opaque. |
379 | ||
6ce6d90f MK |
380 | * gdbarch.sh (regset_from_core_section): New method. |
381 | (struct regset): Declare opaque. | |
382 | * gdbarch.c, gdbarch.h: Regenerated. | |
383 | ||
b98ed7be AM |
384 | 2003-10-11 Alan Modra <amodra@bigpond.net.au> |
385 | ||
386 | * hppa-tdep.c (hppa_in_solib_call_trampoline): Don't refer directly to | |
387 | _cooked_size and vma; Use bfd_section_size and bfd_get_section_vma. | |
388 | Correct test for pc within section. | |
389 | ||
f6214256 MK |
390 | 2003-10-11 Mark Kettenis <kettenis@gnu.org> |
391 | ||
392 | * gdbarch.sh: Remove trailing whitepsace from comments. | |
393 | ||
a8f4cde1 RM |
394 | 2003-10-08 Roland McGrath <roland@redhat.com> |
395 | ||
396 | * gcore.c (make_mem_sec): Function removed, folded into ... | |
397 | (gcore_create_callback): ... here. To omit a section, clear its | |
398 | SEC_LOAD bit rather than zeroing its size. | |
399 | Omit read-only sections only if they correspond to a known disk file. | |
400 | (gcore_copy_callback): Ignore sections without SEC_LOAD flag set. | |
401 | ||
74276724 MS |
402 | 2003-10-10 Michael Snyder <msnyder@redhat.com> |
403 | ||
404 | * d10v-tdep.c: Fix typo in comment. | |
405 | ||
e754ae69 AC |
406 | 2003-10-10 Andrew Cagney <cagney@redhat.com> |
407 | ||
408 | * rs6000-tdep.c (e500_store_return_value): Delete function. | |
409 | (e500_extract_return_value): Delete function. | |
410 | (rs6000_gdbarch_init): When SYSV, set "extract_return_value" and | |
411 | "restore_return_value" to "ppc_sysv_abi_extract_return_value" and | |
412 | "ppc_sysv_abi_restore_return_value" where applicable. | |
413 | * ppc-tdep.h: (ppc_sysv_abi_store_return_value): Declare. | |
414 | (ppc_sysv_abi_extract_return_value): Declare. | |
415 | (ppc_sysv_abi_broken_store_return_value): Declare. | |
416 | (ppc_sysv_abi_broken_extract_return_value): Declare. | |
417 | (ppc_sysv_abi_broken_use_struct_convention:) Delete declaration. | |
418 | * ppc-sysv-tdep.c (return_value_convention): Move definition to | |
419 | start of file. | |
420 | (do_ppc_sysv_return_value): New function. | |
421 | (ppc_sysv_abi_extract_return_value): New function. | |
422 | (ppc_sysv_abi_store_return_value): New function. | |
423 | (ppc_sysv_abi_broken_extract_return_value): New function. | |
424 | (ppc_sysv_abi_broken_store_return_value): New function. | |
425 | (ppc_sysv_abi_use_struct_convention): Call | |
426 | do_ppc_sysv_return_value. | |
427 | ||
8d4ce20a JB |
428 | 2003-10-10 J. Brobecker <brobecker@gnat.com> |
429 | ||
430 | * blockframe.c (inside_main_func): No longer use symbol_lookup() | |
431 | to lookup the main function symbol. | |
432 | ||
afce3d2a CV |
433 | 2003-10-10 Corinna Vinschen <vinschen@redhat.com> |
434 | ||
435 | * sh-tdep.c (sh_treat_as_flt_p): New function to recognize float | |
436 | types correctly. | |
437 | (sh_push_dummy_call_fpu): Fix argument passing rules. | |
438 | (sh3e_sh4_extract_return_value): Call sh_treat_as_flt_p to recognize | |
439 | float types. | |
440 | (sh3e_sh4_store_return_value): Ditto. | |
441 | ||
7fe958be EZ |
442 | 2003-10-10 Elena Zannoni <ezannoni@redhat.com> |
443 | ||
444 | * sh-tdep.c (sh_use_struct_convention): Clarify one case in | |
445 | comment. | |
446 | ||
3f997a97 CV |
447 | 2003-10-10 Corinna Vinschen <vinschen@redhat.com> |
448 | ||
449 | * sh-tdep.c (sh_use_struct_convention): Clean up to have a | |
450 | more readable code. Accomodate passing of bitfields. | |
451 | ||
8be9034a AC |
452 | 2003-10-10 Andrew Cagney <cagney@redhat.com> |
453 | ||
454 | * Makefile.in (ppc-sysv-tdep.o): Add $(gdb_assert_h). | |
455 | * rs6000-tdep.c (rs6000_gdbarch_init): When 64 bit SysV ABI, set | |
456 | push_dummy_call to ppc64_sysv_abi_push_dummy_call. | |
457 | * ppc-sysv-tdep.c: Include "gdb_assert.h". | |
458 | (ppc64_sysv_abi_push_dummy_call): New function. | |
459 | (ppc64_sysv_abi_broken_push_dummy_call): New function. | |
460 | * ppc-tdep.h (ppc64_sysv_abi_push_dummy_call): Declare. | |
461 | (ppc64_sysv_abi_broken_push_dummy_call): Declare. | |
462 | ||
85a453d5 KI |
463 | 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com> |
464 | ||
465 | * NEWS: Replace "Hitachi" and "Mitsubishi" with "Renesas". | |
466 | * README: Ditto. | |
467 | * d10v-tdep.c: Ditto. | |
468 | * h8300-tdep.c: Ditto. | |
469 | * remote-e7000.c: Ditto. | |
470 | * remote-hms.c: Ditto. | |
471 | * ser-e7kpc.c: Ditto. | |
472 | * sh-stub.c: Ditto. | |
473 | * sh-tdep.c: Ditto. | |
474 | * sh-tdep.h: Ditto. | |
475 | * sh3-rom.c: Ditto. | |
476 | * sh64-tdep.c: Ditto. | |
477 | * top.c: Ditto. | |
478 | * wince.c: Ditto. | |
479 | * config/d10v/d10v.mt: Ditto. | |
480 | * config/sh/embed.mt: Ditto. | |
481 | * config/sh/linux.mt: Ditto. | |
482 | * config/sh/tm-linux.h: Ditto. | |
483 | * config/sh/tm-sh.h: Ditto. | |
484 | * config/sh/wince.mt: Ditto. | |
485 | ||
221c12ff AC |
486 | 2003-10-09 Andrew Cagney <cagney@redhat.com> |
487 | ||
488 | * ppc-tdep.h (struct type): Declare opaque. | |
489 | * x86-64-tdep.h (struct regcache): Declare opaque. | |
490 | * sh-tdep.c (sh_do_fp_register): Delete "register" attribute, fix | |
491 | coding style. | |
492 | ||
ef5200c1 AC |
493 | 2003-10-09 Andrew Cagney <cagney@redhat.com> |
494 | ||
495 | Changes from 2003-09-09 Jimi Xenidis <jimix@watson.ibm.com>: | |
496 | * config/rs6000/tm-rs6000.h (SOFTWARE_SINGLE_STEP): Delete macro. | |
497 | (SOFTWARE_SINGLE_STEP_P): Ditto. | |
498 | * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto. | |
499 | * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Ditto. | |
500 | (SOFTWARE_SINGLE_STEP_P): Ditto. | |
501 | * rs6000-tdep.c (rs6000_gdbarch_init): When AIX, set | |
502 | software_single_step to rs6000_software_single_step. | |
a8f4cde1 | 503 | |
9644bbdd AC |
504 | 2003-10-09 Andrew Cagney <cagney@redhat.com> |
505 | ||
506 | * MAINTAINERS: Mark m32r-elf as buildable with -Werror. | |
507 | ||
db72fa6b MS |
508 | 2003-10-09 Michael Snyder <msnyder@redhat.com> |
509 | ||
f3efb16c MS |
510 | * frame.h: Fix typo in comment. |
511 | * dummy-frame.c: Fix typo in comment. | |
db72fa6b MS |
512 | * d10v-tdep.c: Random whitespace/comment tweaks. |
513 | ||
9a5cef92 EZ |
514 | 2003-10-09 Elena Zannoni <ezannoni@redhat.com> |
515 | ||
516 | * sh-tdep.c (sh_gdbarch_init): Delete setting of push_dummy_code. | |
f49c4e4e | 517 | (sh_push_dummy_code): Delete function, it's only used for dummy calls |
9a5cef92 | 518 | on stack. |
a8f4cde1 | 519 | |
9a5cef92 EZ |
520 | Based on input by Stephen Clarke (stephen.clarke@superh.com): |
521 | * sh-tdep.c (sh_use_struct_convention): Add comment explaining ABI | |
522 | in detail. | |
a8f4cde1 | 523 | |
0f317a0c DJ |
524 | 2003-10-09 Daniel Jacobowitz <drow@mvista.com> |
525 | ||
526 | * remote-mips.c (mips_initialize): Remove unneeded call to | |
527 | get_selected_frame. Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. | |
528 | ||
bbab2f46 DJ |
529 | 2003-10-09 Daniel Jacobowitz <drow@mvista.com> |
530 | ||
531 | * dwarf2expr.c (execute_stack_op): Don't treat the frame base as | |
532 | a memory pointer. | |
533 | ||
550950b8 JJ |
534 | 2003-10-08 Jeff Johnston <jjohnstn@redhat.com> |
535 | ||
536 | * lin-lwp.c (stop_and_resume_callback): Set the resumed flag | |
537 | for any lwp we resume. | |
538 | (running_callback): Add lwps that have pending status events | |
539 | against them to be considered running. | |
540 | ||
15c69bc7 KI |
541 | 2003-10-08 Kei Sakamoto <sakamoto.kei@renesas.com> |
542 | ||
543 | * m32r-tdep.c : Include "dis-asm.h". | |
544 | * Makefile.in (m32r-tdep.o): Update dependencies. | |
545 | ||
51065942 JB |
546 | 2003-10-06 J. Brobecker <brobecker@gnat.com> |
547 | ||
548 | * completer.h (get_gdb_completer_word_break_characters): Delete. | |
549 | * completer.c: include language.h. | |
550 | (gdb_completer_word_break_characters): Delete. | |
551 | (get_gdb_completer_word_break_characters): Delete. | |
552 | (location_completer): Use the word break characters of the current | |
553 | language. | |
554 | (complete_line): Likewise. | |
555 | (line_completion_function): Likewise. | |
556 | (skip_quoted_chars): Likewise. | |
557 | * Makefile.in (completer.o): Add dependency on language.h. | |
558 | * top.c (init_main): Set the readline word break characters | |
559 | to GDB's default word break characters. | |
560 | ||
6084f43a JB |
561 | 2003-10-06 J. Brobecker <brobecker@gnat.com> |
562 | ||
563 | * language.h (language_defn): new field, la_word_break_characters. | |
564 | * language.c (unknown_language_defn): Set new field to | |
565 | default_word_break_characters. | |
566 | (auto_language_defn): Likewise. | |
567 | (local_language_defn): Likewise. | |
568 | * ada-lang.c (ada_language_defn): Likewise. | |
569 | * c-lang.c (c_language_defn): Likewise. | |
570 | (cplus_language_defn): Likewise. | |
571 | (asm_language_defn): Likewise. | |
572 | (minimal_language_defn): Likewise. | |
573 | * f-lang.c (f_language_defn): Likewise. | |
574 | * jv-lang.c (java_language_defn): Likewise. | |
575 | * m2-lang.c (m2_language_defn): Likewise. | |
576 | * objc-lang.c (objc_language_defn): Likewise. | |
577 | * p-lang.c (pascal_language_defn): Likewise. | |
578 | * scm-lang.c (scm_language_defn): Likewise. | |
579 | ||
944fcfab AC |
580 | 2003-10-06 Andrew Cagney <cagney@redhat.com> |
581 | ||
582 | * ppc-sysv-tdep.c: Re-indent. | |
583 | ||
9f0a5303 JB |
584 | 2003-10-06 J. Brobecker <brobecker@gnat.com> |
585 | ||
586 | * language.h (default_word_break_characters): Add prototype. | |
587 | * language.c (default_word_break_characters): New function. | |
588 | ||
7270b6ed AS |
589 | 2003-10-06 Andreas Schwab <schwab@suse.de> |
590 | ||
591 | * i386-tdep.c (i386_analyze_frame_setup): Also handle xorl/subl | |
592 | with %eax. | |
593 | ||
a5d61f66 AC |
594 | 2003-10-06 Andrew Cagney <cagney@redhat.com> |
595 | ||
596 | * Makefile.in (ALLDEPFILES): Remove "z8k-tdep.c" and | |
597 | "h8500-tdep.c". | |
598 | (z8k-tdep.o): Delete custom build rule. | |
599 | ||
28a86f5c AC |
600 | 2003-10-06 Andrew Cagney <cagney@redhat.com> |
601 | ||
1bfd8a83 AC |
602 | * Makefile.in: Update all dependencies. |
603 | ||
17144ef8 AC |
604 | * MAINTAINERS: Mention that h8500, mn10200, and z8k were deleted. |
605 | No longer list PA as as obsolete candidate. List m32r as | |
606 | broken instead of obsolete. | |
a8f4cde1 | 607 | |
a5679ae5 AC |
608 | * config/nm-m3.h, config/h8500/h8500.mt: Delete obsolete files. |
609 | * config/h8500/tm-h8500.h, config/i386/nm-ptx4.h: Ditto. | |
610 | * config/i386/nm-symmetry.h, config/i386/ptx.mh: Ditto. | |
611 | * config/i386/ptx.mt, config/i386/ptx4.mh: Ditto. | |
612 | * config/i386/ptx4.mt, config/i386/symmetry.mh: Ditto. | |
613 | * config/i386/symmetry.mt, config/i386/tm-ptx.h: Ditto. | |
614 | * config/i386/tm-ptx4.h, config/i386/tm-symmetry.h: Ditto. | |
615 | * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. | |
616 | * config/i386/xm-symmetry.h, config/mips/mipsm3.mh: Ditto. | |
617 | * config/mips/mipsm3.mt, config/mips/tm-mipsm3.h: Ditto. | |
618 | * config/mips/xm-mipsm3.h, config/mn10200/mn10200.mt: Ditto. | |
619 | * config/mn10200/tm-mn10200.h, config/pa/hppabsd.mh: Ditto. | |
620 | * config/pa/hppabsd.mt, config/pa/hppaosf.mh: Ditto. | |
621 | * config/pa/hppaosf.mt, config/pa/hppapro.mt: Ditto. | |
622 | * config/pa/nm-hppab.h, config/pa/nm-hppao.h: Ditto. | |
623 | * config/pa/tm-hppab.h, config/pa/tm-hppao.h: Ditto. | |
624 | * config/pa/tm-pro.h, config/pa/xm-hppab.h: Ditto. | |
625 | * config/pa/xm-pa.h, config/sparc/sparclet.mt: Ditto. | |
626 | * config/sparc/sparclite.mt, config/sparc/tm-sparclet.h: Ditto. | |
627 | * config/sparc/tm-sparclite.h, config/z8k/tm-z8k.h: Ditto. | |
628 | * config/z8k/z8k.mt: Ditto. | |
629 | ||
4a8269c0 AC |
630 | * NEWS: Mention that z8k-zilog-none, z8ksim, mn10200-*-*, |
631 | h8500hms, hppa*-*-bsd*, hppa*-*-osf*, hppa*-*-pro*, | |
632 | mips*-*-mach3*, i[3456]86-sequent-sysv4*, i[3456]86-sequent-sysv*, | |
633 | i[3456]86-sequent-bsd*, sparclet-*-*, sparclite-fujitsu-none, and | |
634 | sparclite were removed. | |
635 | * configure.host, configure.tgt: Remove corresponding tuples. | |
636 | ||
41989fcd AC |
637 | * breakpoint.c, breakpoint.h: Remove obsolete code. |
638 | * buildsym.c, dbxread.c, gdbtypes.c, mdebugread.c: Ditto. | |
639 | * monitor.c, sparc-tdep.c, stabsread.c: Ditto. | |
640 | * stabsread.h, xcoffread.c: Ditto. | |
641 | ||
28a86f5c AC |
642 | * z8k-tdep.c, symm-tdep.c, symm-nat.c: Delete obsolete file. |
643 | * sparclet-stub.c, sparclet-rom.c: Delete obsolete file. | |
644 | * sparcl-tdep.c, sparcl-stub.c, h8500-tdep.c: Delete obsolete file. | |
645 | * m3-nat.c, mipsm3-nat.c, mn10200-tdep.c: Delete obsolete file. | |
646 | ||
4efdaa0d DL |
647 | 2003-10-06 David Lecomber <dsl@sources.redhat.com> |
648 | ||
649 | * f-valprint.c: Reformatting | |
650 | ||
ae53de43 MK |
651 | 2003-10-06 Mark Kettenis <kettenis@gnu.org> |
652 | ||
a8bb57e7 MK |
653 | * x86-64-tdep.c: Remove duplicate comment. |
654 | ||
ae53de43 MK |
655 | * x86-64-tdep.c (x86_64_store_return_value): Don't use |
656 | DEPRECATED_REGISTER_RAW_SIZE. Use symbolic names for register | |
657 | names for return values. This fixes a bug since we looked at %rbx | |
658 | instead of %rdx. | |
659 | ||
473f17b0 MK |
660 | 2003-10-05 Mark Kettenis <kettenis@gnu.org> |
661 | ||
2c261fae MK |
662 | * x86-64-tdep.c: Include "regset.h". |
663 | ||
473f17b0 MK |
664 | * i386-tdep.h (struct gdbarch_tdep): Add members gregset, |
665 | gregset_reg_offset, gregset_num_regs, sizeof_gregset, fpregset, | |
666 | sizeof_fpregset. | |
667 | * i386-tdep.c: Include "regset.h". | |
668 | (i386_supply_gregset): New function. | |
669 | (i386_supply_fpregset): New function. | |
670 | (i386_gdbarch_init): Initialze register set-related members of | |
671 | TDEP. | |
672 | * x86-64-tdep.c (x86_64_supply_fpregset): New function. | |
673 | (x86_64_init_abi): Initialize TDEP->sizeof_fpregset. | |
674 | ||
afd48b75 AC |
675 | 2003-10-03 Andrew Cagney <cagney@redhat.com> |
676 | ||
677 | * rs6000-tdep.c (rs6000_gdbarch_init): When the 64 bit SysV ABI, | |
678 | set extract_return_value, store_return_value and | |
679 | use_struct_convention to ppc64_sysv_abi_extract_return_value, | |
680 | ppc64_sysv_abi_store_return_value and | |
681 | ppc64_sysv_abi_use_struct_convention. | |
682 | * ppc-tdep.h (ppc64_sysv_abi_extract_return_value): Declare. | |
683 | (ppc64_sysv_abi_store_return_value): Declare. | |
684 | (ppc64_sysv_abi_use_struct_convention): Declare. | |
685 | * ppc-sysv-tdep.c (enum return_value_convention): Define. | |
686 | (ppc64_sysv_abi_extract_return_value): New function. | |
687 | (ppc64_sysv_abi_store_return_value): New function. | |
688 | (ppc64_sysv_abi_use_struct_convention): New function. | |
689 | (ppc64_sysv_abi_return_value): New function. | |
690 | ||
9b540880 AC |
691 | 2003-10-03 Andrew Cagney <cagney@redhat.com> |
692 | ||
693 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Only | |
694 | convert a descriptor to a function when it's in the ".opd" | |
695 | section. | |
696 | ||
8748518b CV |
697 | 2003-10-03 Corinna Vinschen <vinschen@redhat.com> |
698 | ||
699 | * sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and | |
700 | reg_size to keep GCC silent. | |
701 | ||
0fd85043 CV |
702 | 2003-10-03 Corinna Vinschen <vinschen@redhat.com> |
703 | ||
704 | * dwarf2-frame.c (struct comp_unit): Add tbase member to store | |
705 | base for DW_EH_PE_textrel encodings. | |
706 | (read_encoded_value): Add a DW_EH_PE_textrel case. | |
707 | (dwarf2_build_frame_info): Set unit.tbase to beginning of text | |
708 | section. | |
709 | ||
37b517aa MK |
710 | 2003-10-03 Mark Kettenis <kettenis@gnu.org> |
711 | ||
712 | * dwarf2-frame.c (dwarf2_build_frame_info): Fix comment. | |
713 | ||
12c266ea AC |
714 | 2003-10-02 Andrew Cagney <cagney@redhat.com> |
715 | ||
716 | * gdbarch.sh (DEPRECATED_REGISTER_RAW_SIZE): Rename | |
717 | REGISTER_RAW_SIZE. | |
718 | * gdbarch.h, gdbarch.c: Re-generate. | |
719 | * aix-thread.c, alpha-tdep.h, arm-tdep.c, core-sol2.c: Update. | |
720 | * cris-tdep.c, dve3900-rom.c, findvar.c, frame.c: Update. | |
721 | * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. | |
722 | * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. | |
723 | * ia64-linux-nat.c, ia64-tdep.c, infcmd.c, infptrace.c: Update. | |
724 | * infrun.c, irix5-nat.c, lynx-nat.c, mips-linux-tdep.c: Update. | |
725 | * mips-nat.c, mips-tdep.c, mipsv4-nat.c, mn10300-tdep.c: Update. | |
726 | * monitor.c, ns32k-tdep.c, ppc-linux-nat.c, regcache.c: Update. | |
727 | * remote-e7000.c, remote-mips.c, remote-sim.c: Update. | |
728 | * remote-vxmips.c, remote-vxsparc.c, remote.c: Update. | |
729 | * rom68k-rom.c, rs6000-nat.c, rs6000-tdep.c, s390-tdep.c: Update. | |
730 | * sh64-tdep.c, sparc-nat.c, sparc-tdep.c, stack.c: Update. | |
731 | * target.c, tracepoint.c, v850-tdep.c, v850ice.c, valops.c: Update. | |
732 | * vax-tdep.c, vax-tdep.h, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
733 | * config/m68k/tm-delta68.h, config/m68k/tm-vx68.h: Update. | |
734 | * config/sparc/tm-sparc.h, config/sparc/tm-sparclynx.h: Update. | |
a8f4cde1 | 735 | |
78ba4af6 JB |
736 | 2003-10-02 Jim Blandy <jimb@redhat.com> |
737 | ||
738 | * dwarf2read.c (struct die_info): Doc fix. | |
739 | ||
617daa0e CV |
740 | 2003-10-02 Corinna Vinschen <vinschen@redhat.com> |
741 | ||
742 | * sh-tdep.c: Running thru gdb_indent.sh. | |
743 | ||
e5e33cd9 CV |
744 | 2003-10-02 Corinna Vinschen <vinschen@redhat.com> |
745 | ||
746 | * sh-tdep.c (sh_justify_value_in_reg): New function. | |
747 | (sh_stack_allocsize): Ditto. | |
748 | (flt_argreg_array): New array used for floating point argument | |
749 | passing. | |
750 | (sh_init_flt_argreg): New function. | |
a8f4cde1 | 751 | (sh_next_flt_argreg): Ditto. |
e5e33cd9 CV |
752 | (sh_push_dummy_call_fpu): Simplify. Rename "odd_sized_struct" to |
753 | "pass_on_stack". Use new helper functions. Accomodate Renesas ABI. | |
754 | Fix argument passing strategy. | |
755 | (sh_push_dummy_call_nofpu): Ditto. | |
756 | ||
5fe830e4 AC |
757 | 2003-10-01 Andrew Cagney <cagney@redhat.com> |
758 | ||
759 | * value.h (register_value_being_returned): Declare. Replace | |
760 | "value_being_returned". | |
761 | * infcall.c (call_function_by_hand): Use | |
762 | register_value_being_returned. | |
763 | * infcmd.c (print_return_value): Call | |
764 | "register_value_being_returned", handle struct return locally. | |
765 | * values.c (register_value_being_returned): New function. Replace | |
766 | "value_being_returned". | |
a8f4cde1 | 767 | |
5fe830e4 | 768 | 2003-09-30 Elena Zannoni <ezannoni@redhat.com> |
cf50a87a EZ |
769 | |
770 | * linux-proc.c (linux_do_registers): New function. | |
771 | (linux_make_note_section): Use linux_do_registers in case of | |
772 | single threaded inferior programs. | |
773 | ||
64f395bf AC |
774 | 2003-10-01 Andrew Cagney <cagney@redhat.com> |
775 | ||
776 | * infcall.c (call_function_by_hand): When STRUCT_RETURN, always | |
777 | use STRUCT_ADDR. When not using "struct return convention", pass | |
778 | "0" to "value_being_returned". Add FIXMEs. | |
779 | * infcmd.c (print_return_value): Pass an explicit 0/1 to | |
780 | value_being_returned. Add comments. | |
781 | * values.c (value_being_returned): Add fixme. | |
782 | * hppa-tdep.c (hppa_extract_struct_value_address): Add FIXME. | |
783 | (hppa_value_returned_from_stack): Add FIXME. | |
784 | ||
639d11d3 DC |
785 | 2003-09-30 David Carlton <carlton@kealia.com> |
786 | ||
787 | * dwarf2read.c (struct die_info): Add 'parent' field; replace | |
788 | 'has_children' and 'next' by 'child' and 'sibling'. | |
789 | (read_comp_unit): Rework algorithm, breaking body into | |
790 | read_die_and_children and read_die_and_siblings. | |
791 | (read_die_and_children, read_die_and_siblings): New. | |
792 | (read_full_die): Add 'has_children' argument; set it instead of | |
793 | the die's 'has_children' field. Minor formatting cleanup. | |
794 | (free_die_list): Use die->child and die->sibling instead of | |
795 | die->next. | |
796 | (dump_die_list): Ditto. | |
797 | (sibling_die): Use die->sibling. | |
798 | (psymtab_to_symtab_1): Use die's 'child' field in place of its | |
799 | 'has_children' and 'next' fields. | |
a8f4cde1 RM |
800 | (process_die, read_file_scope, read_func_scope) |
801 | (read_lexical_block_scope, read_structure_scope) | |
802 | (read_enumeration, read_array_type, read_common_block) | |
639d11d3 DC |
803 | (read_namespace, read_subroutine_type, dump_die): Ditto. |
804 | ||
5bffac25 AC |
805 | 2003-09-30 Andrew Cagney <cagney@redhat.com> |
806 | ||
807 | * rs6000-tdep.c (rs6000_gdbarch_init): Set the PowerOpen red zone | |
808 | to 224, not 220. | |
809 | ||
f30992d4 AC |
810 | 2003-09-30 Andrew Cagney <cagney@redhat.com> |
811 | ||
812 | * gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_SIZE): Rename | |
813 | REGISTER_VIRTUAL_SIZE. | |
814 | * gdbarch.h, gdbarch.c: Regenerate. | |
815 | * vax-tdep.h, sparc-tdep.c, regcache.h: Update. | |
816 | * regcache.c, mn10300-tdep.c, mips-tdep.c: Update. | |
817 | * infcmd.c, frame.c, findvar.c, cris-tdep.c: Update. | |
818 | ||
2e092625 AC |
819 | 2003-09-29 Andrew Cagney <cagney@redhat.com> |
820 | ||
821 | * gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_TYPE): Rename | |
822 | DEPRECATED_REGISTER_VIRTUAL_TYPE. | |
823 | * gdbarch.h, gdbarch.c: Regenerate. | |
824 | * arch-utils.c, hppa-tdep.c, regcache.c, regcache.h: Update. | |
825 | * sh64-tdep.c, sparc-tdep.c: Update. | |
4deab737 AC |
826 | |
827 | * remote-vxsparc.c (vx_read_register): Replace bzero with memset. | |
828 | * remote-vxmips.c (vx_read_register): Ditto. | |
829 | * remote-vx68.c (vx_read_register): Ditto. | |
830 | * gnu-nat.c (inf_validate_procs): Ditto. | |
831 | ||
7a5dd6ee JB |
832 | 2003-09-29 J. Brobecker <brobecker@gnat.com> |
833 | ||
834 | * infcall.c (call_function_by_hand): Fix build failure | |
835 | introduced in the previous change to this file. | |
836 | ||
1fe43d45 AC |
837 | 2003-09-29 Andrew Cagney <cagney@redhat.com> |
838 | ||
839 | * NEWS: Mention Objective-C. | |
840 | ||
e28a332c JG |
841 | 2003-09-29 Jerome Guitton <guitton@act-europe.fr> |
842 | ||
843 | * arm-tdep.c (arm_make_prologue_cache): Use trad_frame_addr_p to | |
844 | test if the register has been saved on the stack. | |
845 | (arm_scan_prologue_cache): When analysing the instruction | |
846 | "str lr, [sp, #-4]", save the address where lr has been stored. | |
847 | ||
9ff63c35 AC |
848 | 2003-09-28 Andrew Cagney <cagney@redhat.com> |
849 | ||
7f5f525d AC |
850 | * frame.c (frame_read_unsigned_register): Delete function. |
851 | * frame.h (frame_read_unsigned_register): Delete declaration. | |
852 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
853 | get_frame_register_unsigned. | |
854 | (sparc_frame_saved_pc, sparc_pop_frame): Ditto. | |
855 | * m68hc11-tdep.c (m68hc11_print_register): Ditto. | |
856 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
a8f4cde1 | 857 | |
7f5f525d AC |
858 | * frame.h (frame_read_register): Delete declaration. |
859 | * frame.c (frame_read_register): Delete function. | |
860 | * arch-utils.c (legacy_register_to_value): Use get_frame_register. | |
861 | * sparc-tdep.c (sparc_fetch_pointer_argument): Ditto. | |
862 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Ditto. | |
863 | * mips-tdep.c (mips_register_to_value): Ditto. | |
864 | * hppa-tdep.c (hppa_fetch_pointer_argument): Ditto. | |
865 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
866 | ||
867 | * frame.c (frame_read_signed_register): Delete function. | |
868 | (frame_read_unsigned_register): Update comments. | |
869 | * frame.h (frame_read_signed_register): Delete declaration. | |
870 | * h8300-tdep.c (h8300_print_register): Use | |
871 | get_frame_register_signed. | |
872 | * m68hc11-tdep.c (m68hc11_print_register): Ditto. | |
873 | ||
9ff63c35 AC |
874 | * config/pa/tm-hppa.h (DEPRECATED_VALUE_RETURNED_FROM_STACK): |
875 | Rename VALUE_RETURNED_FROM_STACK. | |
876 | * infcmd.c (print_return_value): Update. | |
877 | * infcall.c (call_function_by_hand): Update. | |
878 | ||
41d041d6 MK |
879 | 2003-09-28 Mark Kettenis <kettenis@gnu.org> |
880 | ||
881 | * i387-tdep.c (i387_supply_fsave, i387_supply_fxsave): Add | |
882 | regcache argument and reverse the order of the other two | |
883 | arguments. Remove local regcache variable. Determine | |
884 | architecture from REGCACHE. Update comments. | |
885 | * x86-64-tdep.c (x86_64_supply_fxsave): Add regcache argument and | |
886 | reverse the order of the other two arguments. Remove local | |
887 | regcache variable. Determine architecture from REGCACHE. Update | |
888 | comments. | |
889 | * i387-tdep.h (i387_supply_fsave, i387_supply_fxsave): Adjust | |
890 | prototypes. Update comments. | |
891 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust prototype. Adjust | |
892 | comment. | |
893 | * amd64fbsd-nat.c (supply_fpregset, fetch_inferior_registers): | |
894 | Update. | |
895 | * go32-nat.c (fetch_register, go32_fetch_registers): Update. | |
896 | * i386-interix-nat.c (supply_fpregset): Update. | |
897 | * i386-linux-nat.c (supply_fpregset, supply_fpxregset): Update. | |
898 | * i386-nto-tdep.c (i386nto_supply_fpregset): Update. | |
899 | * i386gnu-nat.c (fetch_fpregs, supply_fpregset): Update. | |
900 | * i386bsd-nat.c (supply_fpregset, fetch_inferior_registers): Update. | |
901 | * i386nbsd-tdep.c (fetch_core_registers, fetch_elfcore_registers): | |
902 | Update. | |
903 | * i386obsd-tdep.c (fetch_core_registers): Update. | |
904 | * i386v4-nat.c (supply_fpregset): Update. | |
905 | * x86-64-linux-nat.c (supply_fpregset): Update. | |
906 | * x86-64-linux-tdep.c (fetch_core_registers): Update. | |
a8f4cde1 | 907 | |
1cb97e17 MK |
908 | 2003-09-27 Mark Kettenis <kettenis@gnu.org> |
909 | ||
5716833c MK |
910 | * i386-tdep.h: Put opaque declarations in alphabetical |
911 | order. Remove spurious whitespace. | |
912 | (struct gdbarch_tdep): add st0_regnum and mm0_regnum members. | |
913 | (i386_sse_regnum_p, i386_mxcsr_regnum_p): Remove prototypes. | |
914 | * i386-tdep.c (MM0_REGNUM): Remove define. | |
915 | (i386_mmx_regnum_p): Add gdbarch argument. | |
916 | (i386_sse_regnum_p, i386_mxcsr_regnum_p): Add gdbarch argument. | |
917 | Rewrite using new macro definitions for FPU/SSE registers. | |
918 | (i386_fp_regnum_p, i386_fpc_regnum_p): Rewrite using new macro | |
919 | definitions from i387-tdep.h. | |
920 | (i386_register_name): Update. | |
921 | (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): Update to use | |
922 | new macro definitions for FPU/SSE registers. | |
923 | (i386_extract_return_value): Determine whether floating-point | |
924 | registers are present by examining REGCACHE's architecture. | |
925 | (i386_store_return_value): Likewise. Use I386_MAX_REGISTER_SIZE | |
926 | instead of FPU_REG_RAW_SIZE. Use new macro definitions for | |
927 | FPU/SSE registers. | |
928 | (i386_register_type): Update. | |
929 | (i386_mmx_regnum_to_fp_regnum): Rewrite using new macro | |
930 | definitions for FPU registers. Use REGCACHE's architecture to | |
931 | determine the appropriate register numbers. | |
932 | (i386_pseudo_register_read, i386_pseudo_register_write, | |
933 | i386_register_reggroup_p): Update. | |
934 | (i386_gdbarch_init): Initialize TDEP->st0_regnum and | |
935 | TDEP->mm0_regnum. | |
936 | * i387-tdep.h (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, | |
937 | I387_FTAG_REGNUM, I387_FISEG_REGNUM, I387_FIOFF_REGNUM, | |
938 | I387_FOSEG_REGNUM, I387_FOOFF_REGNUM, I387_FOP_REGNUM, | |
939 | I387_XMM0_REGNUM, I387_MXCSR_REGNUM): New defines. | |
940 | (i387_supply_fsave, i387_fill_fsave, i387_supply_fxsave, | |
941 | i387_fill_fxsave): Change type of fsave/fxsave argument from `char | |
942 | *' to `void *'. | |
943 | * i387-tdep.c (i387_print_float_info, fsave_offset, FSAVE_ADDR, | |
944 | i387_supply_fsave, i387_fill_fsave, fxsave_offset, FXSAVE_ADDR, | |
945 | i387_supply_fxsave, i387_fill_fxsave): Update to use new macro | |
946 | definitions for FPU/SSE registers. | |
947 | (FXSAVE_MXCSR_ADDR): New define. | |
948 | * x86-64-tdep.c (x86_64_init_abi): Override TDEP->st0_regnum and | |
949 | TDEP->mm0_regnum. | |
950 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Remove defines. | |
951 | (I387_ST0_REGNUM): Define. | |
952 | ||
41d35cb0 MK |
953 | * regcache.h (get_regcache_arch): New prototype. |
954 | * regcache.c (get_regcache_arch): New function. | |
955 | ||
54e74f72 MK |
956 | * x86-64-tdep.c (x86_64_store_return_value): Remove spurious |
957 | whitespace. | |
958 | ||
1cb97e17 MK |
959 | * i386-tdep.c (i386_num_register_names, i386_num_mmx_regs): |
960 | Initialize using ARRAY_SIZE. | |
961 | ||
0968aa8c AC |
962 | 2003-09-27 Andrew Cagney <cagney@redhat.com> |
963 | ||
964 | * arch-utils.c (deprecated_init_frame_pc_default): Rename | |
965 | "init_frame_pc_default". | |
966 | * arch-utils.h (deprecated_init_frame_pc_default): Update. | |
967 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
968 | * vax-tdep.c (vax_gdbarch_init): Update. | |
969 | * v850-tdep.c (v850_gdbarch_init): Update. | |
970 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
971 | * s390-tdep.c (s390_gdbarch_init): Update. | |
972 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
973 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
974 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
975 | * cris-tdep.c (cris_gdbarch_init): Update. | |
976 | * config/pa/tm-hppa.h (DEPRECATED_INIT_FRAME_PC): Update. | |
977 | ||
54c84734 MK |
978 | 2003-09-26 Mark Kettenis <kettenis@gnu.org> |
979 | ||
980 | * regset.h: New file. | |
981 | * Makefile.in (regset_h): Add. | |
982 | ||
1b1d3794 AC |
983 | 2003-09-25 Andrew Cagney <cagney@redhat.com> |
984 | ||
985 | * frame.h (deprecated_frame_saved_regs): Rename | |
986 | get_frame_saved_regs. | |
987 | * cris-tdep.c, frame.c, h8300-tdep.c, hppa-tdep.c: Update. | |
988 | * mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update. | |
989 | * ns32k-tdep.c, ppc-linux-tdep.c, rs6000-tdep.c: Update. | |
990 | * s390-tdep.c, sh64-tdep.c, stack.c: Update. | |
991 | * v850-tdep.c, vax-tdep.c, xstormy16-tdep.c: Update. | |
992 | ||
e6beb428 AC |
993 | 2003-09-25 Andrew Cagney <cagney@redhat.com> |
994 | ||
995 | * NEWS: Mention the new backtrace mechanism, DWARF 2 CFI, hosted | |
996 | file I/O, multi-arch, TLS and NPTL, DWARF 2 Location Expressions, | |
997 | and Java. | |
998 | * PROBLEMS: Mention that mips*-*-*, powerpc*-*-*, sparc*-*-* and | |
999 | arm*-*-* do not use the new frame code. | |
1000 | ||
710122da DC |
1001 | 2003-09-25 David Carlton <carlton@kealia.com> |
1002 | ||
1003 | * c-exp.y: Remove 'register' declarations. | |
1004 | * f-exp.y, jv-exp.y, m2-exp.y, objc-exp.y, p-exp.y: Ditto. | |
1005 | ||
79c2c32d DC |
1006 | 2003-09-25 David Carlton <carlton@kealia.com> |
1007 | ||
1008 | * c-exp.y: Include cp-support.h. Add qualified_type. | |
1009 | (yylex): Delete nested type hack; add comments. | |
1010 | * cp-namespace.c (cp_lookup_nested_type): New function. | |
1011 | * cp-support.h: Declare cp_lookup_nested_type. | |
1012 | * eval.c (evaluate_subexp_standard): Call value_aggregate_elt | |
1013 | instead of value_struct_elt_for_reference. | |
1014 | * valops.c: Include cp-support.h. | |
1015 | (value_aggregate_elt): New function. | |
1016 | (value_namespace_elt): Ditto. | |
1017 | (value_struct_elt_for_reference): Make static. | |
1018 | * value.h: Delete declaration of value_struct_elt_for_reference; | |
1019 | add declaration for value_aggregate_elt. | |
1020 | * Makefile.in (c-exp.tab.o): Depend on $(cp_support_h). | |
1021 | (valops.o): Ditto. | |
1022 | ||
898c62f5 DJ |
1023 | 2003-09-25 Daniel Jacobowitz <drow@mvista.com> |
1024 | ||
1025 | * stack.c: Include "reggroups.h". | |
1026 | (frame_info): Only display registers in all_reggroup. | |
1027 | * Makefile.in (stack.o): Update dependencies. | |
1028 | ||
28cd8767 JG |
1029 | 2003-09-25 Jerome Guitton <guitton@act-europe.fr> |
1030 | ||
1031 | * arm-tdep.c (arm_skip_prologue): Handle "sub ip, sp #n" and | |
1032 | "add ip, sp #n" in the prologue. | |
1033 | (arm_scan_prologue): Ditto. | |
1034 | ||
a4ab2b5d JG |
1035 | 2003-09-25 Jerome Guitton <guitton@act-europe.fr> |
1036 | ||
1037 | * MAINTAINERS (write after approval): Add myself. | |
1038 | ||
3f244638 AS |
1039 | 2003-09-25 Andreas Schwab <schwab@suse.de> |
1040 | ||
1041 | * m68k-tdep.c: Include "dwarf2-frame.h". | |
1042 | (m68k_gdbarch_init): Add the DWARF CFI frame unwinder. | |
1043 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
1044 | ||
1c0159e0 CV |
1045 | 2003-09-25 Corinna Vinschen <vinschen@redhat.com> |
1046 | ||
1047 | * sh-tdep.c (struct frame_extra_info): Remove. | |
1048 | (struct sh_frame_cache): New structure. | |
1049 | (GET_SOURCE_REG): New macro extracting source register of an opcode. | |
1050 | (GET_TARGET_REG): Ditto but target register. | |
1051 | (GET_PUSHED_REG): Remove. | |
1052 | (IS_MOV_ARG_TO_REG): New macro. | |
1053 | (IS_MOV_ARG_TO_IND_R14): New macro. | |
1054 | (IS_MOV_ARG_TO_IND_R14_WITH_DISP): New macro. | |
1055 | (IS_MOVW_PCREL_TO_REG): New macro. | |
1056 | (IS_MOVL_PCREL_TO_REG): New macro. | |
1057 | (IS_SUB_REG_FROM_SP): New macro. | |
1058 | (IS_ARG_MOV): Remove. | |
1059 | (IS_MOV_TO_R14): Remove. | |
1060 | (IS_RESTORE_FP): New macro. | |
1061 | (IS_RTS): New macro. | |
1062 | (IS_LDS): New macro. | |
1063 | (IS_MOV_FP_SP): New macro. | |
1064 | (IS_ADD_REG_TO_FP): New macro. | |
1065 | (IS_ADD_IMM_FP): New macro. | |
1066 | (sh_skip_prologue_hard_way): Remove. | |
1067 | (sh_saved_pc_after_call): Remove. | |
1068 | (sh_frame_chain): Remove. | |
1069 | (sh_find_callers_reg): Remove. | |
a8f4cde1 | 1070 | (sh_nofp_frame_init_saved_regs): Remove. |
1c0159e0 CV |
1071 | (sh_fp_frame_init_saved_regs): Remove. |
1072 | (sh_init_extra_frame_info): Remove. | |
1073 | (sh_analyze_prologue): New function. | |
1074 | (sh_skip_prologue): Remove deprecated code. Rely on new function | |
1075 | sh_analyze_prologue when after_prologue fails. | |
1076 | (sh_frame_saved_pc): Remove. | |
1077 | (sh_alloc_frame_cache): New function. | |
1078 | (sh_frame_cache): Ditto. | |
1079 | (sh_frame_prev_register): Ditto. | |
1080 | (sh_frame_this_id): Ditto. | |
1081 | (sh_frame_unwind): New structure defining the heuristic frame | |
1082 | sniffer interface. | |
1083 | (sh_frame_sniffer): New function. | |
1084 | (sh_unwind_sp): Ditto. | |
1085 | (sh_unwind_pc): Ditto. | |
1086 | (sh_unwind_dummy_id): Ditto. | |
1087 | (sh_frame_base_address): Ditto. | |
1088 | (sh_frame_base): New structure defining new frame base code. | |
1089 | (sh_in_function_epilogue_p): New function. | |
1090 | (sh_gdbarch_init): Restructure and simplify to eliminate deprecated | |
1091 | code and to call all new code instead. Initialize dwarf2 and | |
1092 | heuristic frame sniffer. | |
1093 | ||
5f9769d1 PH |
1094 | 2003-09-24 Paul N. Hilfinger <hilfingr@nile.gnat.com> |
1095 | ||
a8f4cde1 RM |
1096 | * parser-defs.h (struct exp_descriptor): New definition, containing |
1097 | language-specific info for printing, prefixifying, dumping, and | |
5f9769d1 PH |
1098 | evaluating expressions. |
1099 | (exp_descriptor_standard): Declare new variable. | |
1100 | (print_subexp): Make global and declare here (from expprint.c). | |
1101 | (dump_subexp): Ditto. | |
1102 | (dump_subexp_body_standard): Declare. | |
1103 | (operator_length_standard): Declare. | |
1104 | (op_name_standard): Declare. | |
1105 | (print_subexp): Declare. | |
1106 | (print_subexp_standard): Declare. | |
1107 | ||
1108 | * language.h (struct language_defn): Add la_exp_desc field to hold | |
1109 | pointer to table for language-specific operators. | |
1110 | Remove evaluate_exp field, which is now in struct exp_descriptor. | |
a8f4cde1 RM |
1111 | |
1112 | * parse.c (operator_length): Move most code to new | |
5f9769d1 | 1113 | operator_length_standard function. Use language-specific information. |
a8f4cde1 | 1114 | (operator_length_standard): New function taking most code from |
5f9769d1 PH |
1115 | operator_length. |
1116 | (exp_descriptor_standard): New constant. | |
a8f4cde1 RM |
1117 | |
1118 | * expression.h (enum exp_opcode): Add definitions of OP_EXTENDED0 | |
5f9769d1 | 1119 | and OP_EXTENDED_LAST. |
a8f4cde1 RM |
1120 | |
1121 | * expprint.c (print_subexp): Use language-specific print_subexp. | |
5f9769d1 PH |
1122 | Make global; remove static declaration. |
1123 | Move most code to print_subexp_standard. | |
a8f4cde1 | 1124 | (print_subexp_standard): New function, containing code formerly in |
5f9769d1 PH |
1125 | print_subexp. |
1126 | (op_name): Add expression to argument signature. | |
a8f4cde1 | 1127 | Use langauge-specific op_name. |
5f9769d1 PH |
1128 | Move most code to op_name_standard. |
1129 | (op_name_standard): New function, containing code formerly in op_name. | |
1130 | (dump_subexp): Use new version of op_name function. | |
1131 | Use language-specific dump_subexp_body, and move most existing code to | |
1132 | dump_subexp_body_standard. | |
1133 | (dump_raw_expression): Use new op_name interface. | |
1134 | (dump_subexp_body): Move most code to dump_subexp_body_standard. | |
1135 | (dump_subexp_body_standard): New function, containing code formerly | |
1136 | in dump_subexp_body. | |
a8f4cde1 | 1137 | |
5f9769d1 PH |
1138 | * language.c (unknown_language): Add default la_exp_desc field and |
1139 | remove evaluate_exp field. | |
1140 | (auto_language): Ditto. | |
1141 | (local_language): Ditto. | |
1142 | * f-lang.c (f_language_defn): Ditto. | |
1143 | * c-lang.c (c_language_defn): Ditto. | |
1144 | (cplus_language_defn): Ditto. | |
1145 | (asm_language_defn): Ditto. | |
1146 | (minimal_language_defn): Ditto. | |
1147 | * p-lang.c (pascal_language_defn): Ditto. | |
1148 | * m2-lang.c (m2_language_defn): Ditto. | |
1149 | * objc-lang.c (objc_language_defn): Ditto. | |
a8f4cde1 RM |
1150 | |
1151 | * jv-lang.c (exp_descriptor_java): New variable, containing | |
5f9769d1 PH |
1152 | Java-specific expression evaluator. |
1153 | (java_language_defn): Add la_exp_desc field and remove evaluate_exp | |
1154 | field. | |
a8f4cde1 | 1155 | * scm-lang.c (exp_descriptor_scm): New variable, containing |
5f9769d1 PH |
1156 | Scheme-specific expression evaluator. |
1157 | (scm_language_defn): Add la_exp_desc field and remove evaluate_exp | |
1158 | field. | |
1159 | * objc-lang.c (print_object_command): Take evaluate_exp from the | |
1160 | la_exp_desc field. | |
a8f4cde1 | 1161 | |
5f9769d1 | 1162 | * Makefile.in (eval.o): Add dependency on parser-defs.h. |
a8f4cde1 RM |
1163 | |
1164 | * eval.c: Include parser-defs.h for the full declaration of | |
5f9769d1 PH |
1165 | la_exp_desc's type. |
1166 | (evaluate_subexp): Get evaluate_exp out of la_exp_desc field. | |
a8f4cde1 | 1167 | |
24daaebc PH |
1168 | 2003-09-23 Paul N. Hilfinger <hilfingr@nile.gnat.com> |
1169 | ||
1170 | * parser-defs.h (operator_length): Declare. | |
a8f4cde1 | 1171 | |
24daaebc PH |
1172 | * parse.c (length_of_subexp): Use operator_length to get operator |
1173 | lengths and arities for operators. | |
1174 | Move most code to new operator_length function. | |
a8f4cde1 | 1175 | (operator_length): New function absorbing most code from |
24daaebc PH |
1176 | length_of_subexp. |
1177 | (prefixify_subexp): Remove large case and use operator_length instead. | |
1178 | (parse_exp_1): Use renamings: | |
a8f4cde1 | 1179 | dump_prefix_expression => dump_raw_expression and |
24daaebc | 1180 | dump_postfix_expression => dump_prefix_expression. |
a8f4cde1 | 1181 | |
24daaebc PH |
1182 | * expression.h (dump_prefix_expression): Rename to ... |
1183 | (dump_raw_expression): New name. | |
1184 | (dump_postfix_expression): Rename to ... | |
1185 | (dump_prefix_expression): New name. | |
a8f4cde1 | 1186 | |
24daaebc PH |
1187 | * expprint.c (dump_subexp): Make global. Add comment. |
1188 | Move most existing code to dump_subexp_body. | |
1189 | (dump_subexp_body): New function. | |
1190 | (dump_prefix_expression): Rename to dump_raw_expression. | |
a8f4cde1 | 1191 | Remove attempt to print the expression via print_expression: it can't |
24daaebc PH |
1192 | work before the expression is prefixified. |
1193 | (dump_raw_expression): Renamed from dump_prefix_expression. | |
a8f4cde1 | 1194 | (dump_postfix_expression): Rename to dump_prefix_expression, since |
24daaebc | 1195 | that's what it does. |
a8f4cde1 | 1196 | Remove 'note' parameter, since this routine must be used on |
24daaebc PH |
1197 | prefixified expression. |
1198 | (dump_prefix_expression): Renamed from dump_postfix_expression. | |
a8f4cde1 | 1199 | |
8c2957c4 JB |
1200 | 2003-09-22 Jim Blandy <jimb@redhat.com> |
1201 | ||
1202 | * dwarf2read.c (read_array_type): When building the type for an | |
1203 | array of unspecified length, make sure to choose the upper bound | |
1204 | so that the array's total length comes out to be zero --- that's | |
1205 | how we represent such arrays. | |
1206 | ||
592e3010 MC |
1207 | 2003-09-22 Michael Chastain <mec@shout.net> |
1208 | ||
1209 | * MAINTAINERS: Rename gdb.c++ to gdb.cp. | |
1210 | ||
365c70b1 JJ |
1211 | 2003-09-22 Jeff Johnston <jjohnstn@redhat.com> |
1212 | ||
1213 | * top.c (quit_force): Fix indirect call to quit_target so | |
1214 | a struct qt_args pointer is passed. | |
1215 | ||
5d6eb653 AC |
1216 | 2003-09-22 Andrew Cagney <cagney@redhat.com> |
1217 | ||
1218 | * arch-utils.h (init_frame_pc_noop): Delete declaration. | |
1219 | * arch-utils.c (init_frame_pc_noop): Delete function. | |
1220 | * mn10300-tdep.c (mn10300_gdbarch_init): Do not set | |
1221 | "init_frame_pc". | |
1222 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
1223 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
1224 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Delete | |
1225 | declaration. | |
1226 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
1227 | * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Delete | |
1228 | declaration. | |
1229 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
1230 | ||
b222a67f AG |
1231 | 2003-09-22 Anthony Green <green@redhat.com> |
1232 | ||
1233 | * monitor.c (monitor_expect): Delete unused conflicting targ_ops | |
1234 | declaration. | |
1235 | ||
d5b5ac79 AC |
1236 | 2003-09-20 Andrew Cagney <cagney@redhat.com> |
1237 | ||
deafb061 AC |
1238 | * breakpoint.c: Eliminate ARGSUSED. |
1239 | * buildsym.c, cli/cli-cmds.c, cli/cli-script.c: Ditto. | |
1240 | * coffread.c, corelow.c, dwarf2read.c, event-top.c: Ditto. | |
1241 | * exec.c, gcore.c, hpux-thread.c, infcmd.c, inflow.c: Ditto. | |
1242 | * infrun.c, inftarg.c, maint.c, ocd.c, printcmd.c: Ditto. | |
1243 | * procfs.c, regcache.c, remote-rdi.c, remote-sds.c: Ditto. | |
1244 | * remote.c, sol-thread.c, source.c, stabsread.c: Ditto. | |
1245 | * stack.c, symfile.c, target.c, top.c, typeprint.c: Ditto. | |
1246 | * utils.c, v850ice.c, valprint.c, values.c, win32-nat.c: Ditto. | |
1247 | * wince.c, remote-vx.c: Ditto. | |
1248 | ||
d5b5ac79 AC |
1249 | * cli/cli-script.c: Remove "register" attributes. |
1250 | * config/pa/tm-hppa.h: Ditto. | |
1251 | * cli/cli-decode.c: Ditto. | |
1252 | * cli/cli-cmds.c: Ditto. | |
1253 | ||
c6316faa AC |
1254 | 2003-09-19 Andrew Cagney <cagney@redhat.com> |
1255 | ||
1256 | * sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to | |
1257 | DEPRECATED_NPC_REGNUM. | |
1258 | * sparc64nbsd-nat.c (getregs_supplies): Ditto. | |
1259 | ||
f4f99b11 CF |
1260 | 2003-09-19 Christopher Faylor <cgf@redhat.com> |
1261 | ||
1262 | * win32-nat.c (mappings): Remove HAVE_SSE conditional. | |
1263 | ||
1708f284 JB |
1264 | 2003-09-19 Jim Blandy <jimb@redhat.com> |
1265 | ||
1266 | * macrotab.c (macro_include): Use the correct comparison to find | |
1267 | the appropriate place for this inclusion in the list. | |
1268 | ||
b9fbf434 AC |
1269 | 2003-09-19 Andrew Cagney <cagney@redhat.com> |
1270 | ||
1271 | * config/pa/nm-hppah.h (NEED_TEXT_START_END): Delete. | |
1272 | (DEPRECATED_HPUX_TEXT_END): Define. | |
1273 | (deprecated_hpux_text_end): Declare. | |
1274 | (struct target_ops): Declare opaque. | |
1275 | * hppah-nat.c (text_end): Make static. | |
1276 | (deprecated_hpux_text_end): New function. | |
1277 | * exec.c (text_end): Delete global variable. | |
1278 | (NEED_TEXT_START_END): Do not define. | |
1279 | (exec_file_attach): Replace code computing "text_end" code with | |
1280 | call to DEPRECATED_HPUX_TEXT_END. | |
1281 | ||
5b03f266 AC |
1282 | 2003-09-19 Andrew Cagney <cagney@redhat.com> |
1283 | ||
1284 | * utils.c (align_up, align_down): New functions. | |
1285 | * defs.h (align_up, align_down): Declare. | |
1286 | * ppc-sysv-tdep.c (align_up, align_down): Delete functions. | |
1287 | * s390-tdep.c: Replace "round_up" and "round_down" with "align_up" | |
1288 | and "align_down". | |
1289 | (round_up, round_down): Delete functions. | |
1290 | * mips-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
1291 | "align_down". | |
1292 | (ROUND_DOWN, ROUND_UP): Delete macros. | |
1293 | (mips_dump_tdep): Do not print "ROUND_UP" or "ROUND_DOWN". | |
1294 | * h8300-tdep.c: Replace "round_up" and "round_down" with | |
1295 | "align_up" and "align_down". | |
1296 | (round_up, round_down): Delete macros. | |
1297 | * frv-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
1298 | "align_down". | |
1299 | (ROUND_UP, ROUND_DOWN): Delete macros. | |
1300 | ||
51db5742 JB |
1301 | 2003-09-18 J. Brobecker <brobecker@gnat.com> |
1302 | ||
1303 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a | |
1304 | hard-coded constant. Use the proper machine name instead. | |
1305 | ||
77949794 AC |
1306 | 2003-09-17 Andrew Cagney <cagney@redhat.com> |
1307 | ||
1308 | * sparc-tdep.c (legacy_register_name): Delete function. | |
1309 | * mips-tdep.c (mips_dump_tdep): Do not print REGISTER_NAME. | |
1310 | (mips_gdbarch_init): Refer to MIPS_REGISTER_NAME in comments. | |
1311 | * infcmd.c (gdb_register_name): Delete variable. | |
1312 | * gdbarch.sh (SDB_REG_TO_REGNUM): Delete reference to | |
1313 | REGISTER_NAME and "tm.h". | |
1314 | * gdbarch.h, gdbarch.c: Regenerate. | |
1315 | * dpx2-nat.c (regmap): Refer to REGISTER_NAME and not | |
1316 | REGISTER_NAMES in comments. | |
1317 | * remote-st.c (get_reg_name), i386b-nat.c (tregmap): Ditto. | |
1318 | * m68klinux-nat.c (regmap): Ditto. | |
1319 | ||
b55c33cc JB |
1320 | 2003-09-17 Jim Blandy <jimb@redhat.com> |
1321 | ||
1322 | * Makefile.in (dis_asm_h): Note that this #includes "bfd.h". | |
1323 | ||
957e27ac AC |
1324 | 2003-09-17 Andrew Cagney <cagney@redhat.com> |
1325 | ||
1326 | * ppcnbsd-tdep.c (ppcnbsd_use_struct_convention): New function. | |
1327 | (ppcnbsd_init_abi): Set "use_struct_convention" to | |
1328 | "ppcnbsd_use_struct_convention". | |
1329 | ||
192cb3d4 MK |
1330 | 2003-09-17 Mark Kettenis <kettenis@gnu.org> |
1331 | ||
1332 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. | |
1333 | * gdbarch.h, gdbarch.c: Regenerate. | |
1334 | (stabs_argument_has_addr): New architecture method. | |
1335 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
1336 | * arch-utils.c: Include "buildsym.h". | |
1337 | (default_stabs_argument_has_addr): New function. | |
1338 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
1339 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
1340 | ||
efe59759 AC |
1341 | 2003-09-17 Andrew Cagney <cagney@redhat.com> |
1342 | ||
1343 | * gdbarch.sh (DEPRECATED_NPC_REGNUM): Deprecate NPC_REGNUM. | |
1344 | * gdbarch.h, gdbarch.c: Regenerate. | |
1345 | * core-sol2.c, hppa-tdep.c, lynx-nat.c, procfs.c: Update. | |
1346 | * regcache.c, remote-vxsparc.c, sparc-linux-nat.c: Update. | |
1347 | * sparc-nat.c, sparc-tdep.c, sparc64-tdep.c: Update. | |
1348 | * sparcnbsd-tdep.c: Update. | |
a8f4cde1 | 1349 | |
62700349 AC |
1350 | 2003-09-17 Andrew Cagney <cagney@redhat.com> |
1351 | ||
1352 | * gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE. | |
1353 | * gdbarch.h, gdbarch.c: Regenerate. | |
1354 | * arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update. | |
1355 | * d10v-tdep.c, frame.c: Update. | |
1356 | * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. | |
1357 | * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. | |
1358 | * ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update. | |
1359 | * mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update. | |
1360 | * mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
1361 | * ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update. | |
1362 | * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update. | |
1363 | * remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update. | |
1364 | * sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update. | |
1365 | * v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update. | |
1366 | * config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update. | |
1367 | * config/pa/nm-hppah.h: Update. | |
1368 | ||
b9ff3018 AC |
1369 | 2003-09-16 Andrew Cagney <cagney@redhat.com> |
1370 | ||
1371 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set the 32 bit | |
1372 | "use_struct_convention" to "ppc_linux_use_struct_convention". | |
1373 | (ppc_linux_use_struct_convention): New function. | |
1374 | * rs6000-tdep.c (rs6000_use_struct_convention): New function. | |
1375 | (rs6000_gdbarch_init): For AIX, set "use_struct_convention" to | |
1376 | "rs6000_use_struct_convention". | |
1377 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Delete | |
1378 | declaration. | |
1379 | * ppc-sysv-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
1380 | Delete function. | |
1381 | ||
aa1ee363 AC |
1382 | 2003-09-16 Andrew Cagney <cagney@redhat.com> |
1383 | ||
1384 | * buildsym.c: Remove more occurances of "register". | |
1385 | * coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto. | |
1386 | * environ.c, eval.c, f-valprint.c, findvar.c: Ditto. | |
1387 | * gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto. | |
1388 | * infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto. | |
1389 | * printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto. | |
1390 | * sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto. | |
1391 | * standalone.c, symfile.c, symmisc.c, symtab.c: Ditto. | |
1392 | * utils.c, valops.c, values.c, xcoffread.c: Ditto. | |
1393 | ||
f2ea0907 CV |
1394 | 2003-09-16 Corinna Vinschen <vinschen@redhat.com> |
1395 | ||
1396 | * sh-tdep.h (struct gdbarch_tdep): Remove. Change all register | |
1397 | numbers to enumeration values. | |
1398 | * sh-tdep.c: Accomodate above change. | |
1399 | (SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS. | |
1400 | (NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only). | |
1401 | (NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only). | |
1402 | (IS_ADD_IMM_SP): Rename from IS_ADD_SP. | |
1403 | (IS_FPUSH): Rename from IS_FMOV. | |
1404 | (sh_extract_struct_value_address): Remove useless comment. | |
1405 | (sh_dsp_register_sim_regno): Use register values from sh-tdep.h | |
1406 | instead of own local values. | |
1407 | (sh_dump_tdep): Remove. | |
1408 | (_initialize_sh_tdep): Accomodate removing sh_dump_tdep. | |
1409 | * sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes. | |
1410 | ||
1c704f11 AC |
1411 | 2003-09-15 Andrew Cagney <cagney@redhat.com> |
1412 | ||
1413 | * doublest.c (convert_floatformat_to_doublest): No longer need to | |
1414 | cast "exp_bias" to an int. Reverts 2002-12-04 change. | |
1415 | ||
ac79b88b DJ |
1416 | 2003-09-15 Daniel Jacobowitz <drow@mvista.com> |
1417 | ||
1418 | * values.c (unpack_double): Call floatformat_is_valid. | |
1419 | ||
1c671366 MK |
1420 | 2003-09-15 Mark Kettenis <kettenis@gnu.org> |
1421 | ||
de5227fb MK |
1422 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of |
1423 | ps_strings into a long. | |
1424 | ||
1c671366 MK |
1425 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from |
1426 | _initialize_am64fbsd_nat. | |
1427 | ||
a604369a KB |
1428 | 2003-09-15 Kevin Buettner <kevinb@redhat.com> |
1429 | ||
1430 | * dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset | |
1431 | associated with DW_AT_ranges attribute is out of bounds. | |
1432 | ||
b3cacbee DL |
1433 | 2003-09-15 David Lecomber <dsl@sources.redhat.com> |
1434 | ||
1435 | * f-valprint.c: Apply array element printing limits to multi-dimensional arrays | |
1436 | ||
d0f37bb2 MC |
1437 | 2003-09-14 Michael Chastain <mec@shout.net> |
1438 | ||
1439 | * config/m68k/nm-apollo68v.h: Delete. | |
1440 | * config/m68k/xm-apollo68v.h: Delete. | |
1441 | ||
69517000 AC |
1442 | 2003-09-14 Andrew Cagney <cagney@redhat.com> |
1443 | ||
1444 | * rs6000-tdep.c (rs6000_push_dummy_call): Fix typos. | |
1445 | * dcache.c: Update copyrights and descriptions. | |
1446 | * scm-exp.c, ia64-aix-nat.c, hppam3-nat.c: environ.c: Ditto. | |
1447 | ||
ef8b349d AC |
1448 | 2003-09-14 Andrew Cagney <cagney@redhat.com> |
1449 | ||
1450 | * config/djgpp/fnchange.lst: Rename "amd64fbsd-tdep.c" and | |
1451 | "amd64fbsd-nat.c" to "a64fb-tdep.c" and "a64fb-nat.c". | |
1452 | ||
52f0bd74 AC |
1453 | 2003-09-14 Andrew Cagney <cagney@redhat.com> |
1454 | ||
1455 | * alpha-nat.c: Remove some occurances of "register". | |
1456 | * alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto. | |
1457 | * buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto. | |
1458 | * corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto. | |
1459 | * dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto. | |
1460 | * environ.c, eval.c, event-top.c, f-typeprint.c: Ditto. | |
1461 | * f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto. | |
1462 | * h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto. | |
1463 | * hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto. | |
1464 | * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto. | |
1465 | * infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto. | |
1466 | * jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto. | |
1467 | * mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto. | |
1468 | * mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto. | |
1469 | * ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto. | |
1470 | * p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto. | |
1471 | * remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto. | |
1472 | * rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto. | |
1473 | * solib.c, somread.c, source.c, sparc-tdep.c: Ditto. | |
1474 | * stabsread.c, stack.c, standalone.c, symfile.c: Ditto. | |
1475 | * symmisc.c, symtab.c, top.c, tracepoint.c: Ditto. | |
1476 | * typeprint.c, utils.c, valarith.c, valops.c: Ditto. | |
1477 | * values.c, vax-tdep.c, xcoffread.c: Ditto. | |
a8f4cde1 | 1478 | |
4a4b3fed AC |
1479 | 2003-09-13 Andrew Cagney <cagney@redhat.com> |
1480 | ||
1481 | * config/pa/tm-hppa64.h (struct frame_info): Declare opaque. | |
1482 | * ppc-tdep.h (struct regcache): Declare opaque. | |
1483 | * objfiles.h (struct objfile_data): Declare opaque. | |
1484 | * cp-support.h (struct objfile): Declare opaque. | |
1485 | * linux-nat.h (target_waitstatus): Declare opaque. | |
1486 | ||
2110b94f MK |
1487 | 2003-09-14 Mark Kettenis <kettenis@gnu.org> |
1488 | ||
1c671366 MK |
1489 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. |
1490 | (stabs_argument_has_addr): New architecture method. | |
1491 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
1492 | * arch-utils.c: Include "buildsym.h". | |
1493 | (default_stabs_argument_has_addr): New function. | |
1494 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
1495 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
1496 | ||
2110b94f MK |
1497 | * cris-tdep.c (cris_gdbarch_init): Set |
1498 | deprecated_reg_struct_has_addr instead of reg_struct_has_addr. | |
1499 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
1500 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
1501 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
1502 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
1503 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
1504 | ||
48436ce6 AC |
1505 | 2003-09-13 Andrew Cagney <cagney@redhat.com> |
1506 | ||
1507 | * values.c (using_struct_return): Delete "function" and "funcaddr" | |
1508 | parameters. | |
1509 | * value.h (using_struct_return): Update declaration. | |
1510 | * infcmd.c (finish_command_continuation): Update. | |
1511 | (finish_command): Update. | |
1512 | * infcall.c (call_function_by_hand): Update. | |
1513 | * eval.c (evaluate_subexp_standard): Update. | |
1514 | ||
403d9909 CF |
1515 | 2003-09-13 Christopher Faylor <cgf@redhat.com> |
1516 | ||
1517 | * win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for | |
1518 | SSE registers since gdb will not operate correctly without this. | |
1519 | Restore include file ordering munged in previous change. | |
1520 | * config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define. | |
1521 | ||
ebf7d56b MK |
1522 | 2003-09-13 Mark Kettenis <kettenis@gnu.org> |
1523 | ||
8e823e25 MK |
1524 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed from |
1525 | REG_STRUCT_HAS_ADDR. | |
1526 | * gdbarch.c, gdbarch.h: Updated. | |
1527 | * infcall.c (call_function_by_hand): Update. | |
1528 | * stabsread.c (define_symbol): Updated. | |
a8f4cde1 | 1529 | |
ebf7d56b MK |
1530 | * Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove. |
1531 | ||
d3f13f72 CF |
1532 | 2003-09-12 Christopher Faylor <cgf@redhat.com> |
1533 | ||
1534 | * win32-nat.c: Reorganize so that defines used by target headers are | |
1535 | actually defined by the system headers. | |
1536 | * config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather | |
1537 | than HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists. | |
1538 | ||
14f75137 JB |
1539 | 2003-09-12 Jim Blandy <jimb@redhat.com> |
1540 | ||
d646061f JB |
1541 | * dbxread.c (read_dbx_symtab): Don't report an internal error if |
1542 | the file has no .data, .bss, or .rodata sections. Instead wait | |
1543 | until we see a variable alleged to live in one of those sections. | |
1544 | ||
2a13f9bc JB |
1545 | * dbxread.c (read_dbx_symtab): If we have no .data section and no |
1546 | .bss section, presume that any variables we find live in the | |
1547 | .rodata section. | |
1548 | ||
4f49b26b JB |
1549 | * dbxread.c (read_dbx_symtab): Add FIXME about finding section |
1550 | offsets for global and static variables. | |
1551 | ||
14f75137 JB |
1552 | * dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT |
1553 | symbol types are, by definition, in the .data section, so it is | |
1554 | correct to use SECT_OFF_DATA (objfile) here, not data_sect_index. | |
1555 | If there is no .data section, there should be no N_DATA or N_DATA | |
1556 | | N_EXT symbols. | |
1557 | ||
212c460c MK |
1558 | 2003-09-12 Mark Kettenis <kettenis@gnu.org> |
1559 | ||
1560 | * amd64fbsd-tdep.c: Fix sigtramp recognition. | |
1561 | (amd64fbsd_sigcontext_addr): Rewrite. | |
1562 | (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize | |
1563 | with correct values. | |
1564 | (amd64fbsd_sc_reg_offset): Initialize with correct values. | |
1565 | (amd64fbsd_init_abi): Fix typo. | |
1566 | ||
68856ea3 AC |
1567 | 2003-09-12 Andrew Cagney <cagney@redhat.com> |
1568 | ||
1569 | * ppc-sysv-tdep.c (align_up, align_down): Replace "round2" macro. | |
1570 | (ppc_sysv_abi_push_dummy_call): Rewrite, use a two pass loop. | |
1571 | ||
627b3ba2 AC |
1572 | 2003-09-12 Andrew Cagney <cagney@redhat.com> |
1573 | ||
1574 | * objfiles.h (struct entry_info): Deprecate "entry_file_lowpc" and | |
1575 | "entry_file_highpc". Update comments. | |
1576 | * defs.h (deprecated_inside_entry_file): Rename | |
1577 | "inside_entry_file". | |
1578 | * blockframe.c (deprecated_inside_entry_file): Rename | |
1579 | "inside_entry_file". | |
1580 | * frame.c (get_prev_frame): Update. Use if 0 instead of #if 0. | |
1581 | * vax-tdep.c (vax_frame_chain): Update. | |
1582 | * sh64-tdep.c (sh64_frame_chain): Update. | |
1583 | * sh-tdep.c (sh_frame_chain): Update. | |
1584 | * rs6000-tdep.c (rs6000_frame_chain): Update. | |
1585 | * ns32k-tdep.c (ns32k_frame_chain): Update. | |
1586 | * mips-tdep.c (mips_frame_chain): Update. | |
1587 | * m68hc11-tdep.c (m68hc11_frame_this_id): Update. | |
1588 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
1589 | * i386-interix-tdep.c (i386_interix_frame_chain_valid): Update. | |
1590 | * frv-tdep.c (frv_frame_this_id): Update. | |
1591 | * d10v-tdep.c (d10v_frame_this_id): Update. | |
1592 | * cris-tdep.c (cris_frame_chain): Update. | |
1593 | * blockframe.c (legacy_frame_chain_valid): Update. | |
1594 | * avr-tdep.c (avr_frame_this_id): Update. | |
1595 | * arm-tdep.c (arm_prologue_this_id): Update. | |
1596 | * alpha-tdep.c (alpha_heuristic_frame_this_id): Update. | |
1597 | * objfiles.c (objfile_relocate): Update. | |
1598 | * mipsread.c (mipscoff_symfile_read): Update. | |
1599 | (mipscoff_symfile_read): Update. | |
1600 | * mdebugread.c (parse_partial_symbols): Update. | |
1601 | * dwarfread.c (read_file_scope): Update. | |
1602 | * dwarf2read.c (read_file_scope): Update. | |
1603 | * dbxread.c (read_dbx_symtab): Update. | |
1604 | (read_dbx_symtab): Update. | |
1605 | * coffread.c (complete_symtab): Update. | |
1606 | ||
b0abbc58 JJ |
1607 | 2003-09-12 Jeff Johnston <jjohnstn@redhat.com> |
1608 | ||
1609 | * top.c (quit_target): New static helper function. | |
1610 | (quit_force): Moved code to quit_target(). Call quit_target() | |
1611 | via catch_errors() to catch errors during quit. | |
1612 | ||
a1632d59 DC |
1613 | 2003-09-11 David Carlton <carlton@kealia.com> |
1614 | ||
1615 | * buildsym.c (finish_block): Use allocate_block to allocate the | |
1616 | block. | |
1617 | * mdebugread.c (new_block): Add FIXME. | |
1618 | ||
5c4e30ca DC |
1619 | 2003-09-11 David Carlton <carlton@kealia.com> |
1620 | ||
1621 | * gdbtypes.h: Add TYPE_CODE_NAMESPACE. | |
1622 | * gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE. | |
1623 | (recursive_dump_type): Ditto. | |
1624 | * printcmd.c (print_formatted): Ditto. | |
1625 | * typeprint.c (print_type_scalar): Ditto. | |
1626 | * c-typeprint.c (c_type_print_varspec_prefix): Ditto. | |
1627 | (c_type_print_varspec_suffix, c_type_print_base): Ditto. | |
1628 | * cp-support.h: Declare cp_check_possible_namespace_symbols, | |
1629 | maint_cplus_cmd_list. | |
1630 | * cp-support.c: Make maint_cplus_cmd_list extern. | |
1631 | * cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h, | |
1632 | command.h. | |
1633 | (lookup_symbol_file): Look in possible namespace blocks when | |
1634 | appropriate. | |
1635 | (initialize_namespace_symtab): New. | |
1636 | (get_possible_namespace_block, free_namespace_block) | |
1637 | (check_possible_namespace_symbols) | |
1638 | (check_possible_namespace_symbols_loop) | |
1639 | (check_one_possible_namespace_symbol) | |
1640 | (lookup_possible_namespace_symbol, maintenance_cplus_namespace) | |
1641 | (_initialize_cp_namespace): Ditto. | |
1642 | * block.h: Declare allocate_block. | |
1643 | * block.c (allocate_block): New. | |
1644 | * jv-lang.c (get_java_class_symtab): Allocate blocks via | |
1645 | allocate_block. | |
1646 | * symfile.h: Update declaration of add_psymbol_to_list. | |
1647 | * symfile.c (add_psymbol_to_list): Return the partial symbol in | |
1648 | question. | |
1649 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to | |
1650 | scan_partial_symbols_call. | |
1651 | (scan_partial_symbols): Add NAMESPACE argument; update calls to | |
1652 | helper functions. | |
1653 | (add_partial_symbol): If necessary, scan mangled names for names | |
1654 | of namespaces. | |
1655 | (add_partial_namespace): Add NAMESPACE argument; generate partial | |
1656 | symbols associated to namespaces. | |
1657 | (add_partial_enumeration): Add NAMESPACE argument. | |
1658 | (new_symbol): Allow namespace syms. | |
1659 | (read_namespace): Generate namespace syms. | |
1660 | * objfiles.h: Add opaque declaration of struct symtab. | |
1661 | (struct objfile): Add cp_namespace_symtab member. | |
1662 | * objfiles.c (allocate_objfile): Set | |
1663 | objfile->cp_namespace_symtab. | |
1664 | * Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h, | |
1665 | dictionary_h, command_h. | |
1666 | ||
33a7c2fc AC |
1667 | 2003-09-11 Andrew Cagney <cagney@redhat.com> |
1668 | ||
1669 | * rs6000-tdep.c (rs6000_push_dummy_call): Use | |
1670 | regcache_raw_write_signed to set SP_REGNUM, move the operation to | |
1671 | near the function's end. | |
1672 | (rs6000_gdbarch_init): Do not set "deprecated_dummy_write_sp". | |
1673 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use | |
1674 | regcache_raw_write_signed to set SP_REGNUM. | |
1675 | ||
63cd24fe EZ |
1676 | 2003-09-11 Elena Zannoni <ezannoni@redhat.com> |
1677 | ||
1678 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure | |
1679 | orig_addrs is set up properly. | |
1680 | ||
f27dd7fd AC |
1681 | 2003-09-11 Andrew Cagney <cagney@redhat.com> |
1682 | ||
1683 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Rename STACK_ALIGN. | |
1684 | * gdbarch.h, gdbarch.c: Re-generate. | |
1685 | * infcall.c (call_function_by_hand): Update. | |
1686 | * hppa-tdep.c (hppa_push_arguments): Update. | |
1687 | * ada-lang.c (place_on_stack): Update. | |
1688 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1689 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1690 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1691 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
1692 | * h8300-tdep.c (h8300_gdbarch_init): Delete comment refering to | |
1693 | stack_align. | |
1694 | ||
f630a401 DJ |
1695 | 2003-09-11 Daniel Jacobowitz <drow@mvista.com> |
1696 | ||
1697 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in a | |
1698 | register do need a frame. | |
1699 | ||
0ddabb4c AC |
1700 | 2003-09-11 Andrew Cagney <cagney@redhat.com> |
1701 | ||
1702 | Since the IRIX 4 configuration was forcing K&R mode it hasn't been | |
1703 | buildable since GDB 5.0. | |
1704 | * NEWS: Mention that IRIX 3 and IRIX 4 support were removed. | |
1705 | * configure.host: Delete "mips-sgi-irix3*" and "mips-sgi-irix4*". | |
1706 | * configure.tgt: Delete "mips*-sgi-*" a.k.a. irix3. | |
1707 | * irix4-nat.c: Delete file. | |
1708 | * config/mips/irix4.mh: Delete file. | |
1709 | * config/mips/irix3.mh: Delete file. | |
1710 | * config/mips/irix3.mt: Delete file. | |
1711 | * config/mips/tm-irix3.h: Delete file. | |
1712 | * config/mips/nm-irix3.h: Delete file. | |
1713 | * config/mips/xm-irix3.h: Delete file. | |
1714 | * config/mips/nm-irix4.h: Delete file. | |
1715 | * config/mips/xm-irix4.h: Delete file. | |
1716 | * config/mips/tm-irix5.h: Inline contents of "tm-irix3.h". | |
1717 | ||
fde2cceb JB |
1718 | 2003-09-10 J. Brobecker <brobecker@gnat.com> |
1719 | ||
1720 | * hppa-tdep.c: Include "dis-asm.h". Fixes a build failure. | |
1721 | * Makefile.in (hppa-tdep.o): Update dependencies. | |
1722 | ||
66f667f5 JW |
1723 | 2003-09-10 James E Wilson <wilson@specifixinc.com> |
1724 | ||
ef5fd69f JW |
1725 | * MAINTAINERS: Change my e-mail address. Move to paper trail |
1726 | section. | |
66f667f5 | 1727 | |
53e8aaea KB |
1728 | 2003-09-10 Kevin Buettner <kevinb@redhat.com> |
1729 | ||
1730 | * MAINTAINERS (frv): New ISA entry. | |
1731 | ||
dcc6aaff KB |
1732 | 2003-09-10 Kevin Buettner <kevinb@redhat.com> |
1733 | ||
1734 | * frv-tdep.c (dis-asm.h): Include. | |
1735 | * Makefile.in (frv-tdep.o): Update dependencies. | |
1736 | ||
932644f0 JJ |
1737 | 2003-09-09 Jeff Johnston <jjohnstn@redhat.com> |
1738 | ||
1739 | * ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs): | |
1740 | Fix typo for high range of floating registers. | |
1741 | ||
91c24f0a DC |
1742 | 2003-09-09 David Carlton <carlton@kealia.com> |
1743 | ||
1744 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and | |
1745 | highpc initialization here out of scan_partial_symbols. | |
1746 | (scan_partial_symbols): Restructure into a recursive version, | |
1747 | calling add_partial_namespace and add_partial_enumeration when | |
1748 | appropriate. | |
1749 | (add_partial_namespace): New. | |
1750 | (add_partial_enumeration, locate_pdi_sibling): Ditto. | |
1751 | ||
c9263853 AC |
1752 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
1753 | ||
e56a0ecc AC |
1754 | * rs6000-tdep.c (ppc_push_return_address): Delete function. |
1755 | (rs6000_push_dummy_call): Set LR to BP_ADDR. | |
1756 | (rs6000_gdbarch_init): Do not set deprecated_push_return_address. | |
1757 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
1758 | ||
794a477a AC |
1759 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete function. |
1760 | (rs6000_push_dummy_call): Set the "TOC" register. | |
1761 | ||
c9263853 AC |
1762 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated |
1763 | methods "max_register_raw_size", "max_register_virtual_size" or | |
1764 | "register_virtual_size". | |
1765 | ||
afa7d0b2 ILT |
1766 | 2003-09-09 Ian Lance Taylor <ian@wasabisystems.com> |
1767 | ||
1768 | * MAINTAINERS: Update my e-mail address. | |
1769 | ||
7a41266b AC |
1770 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
1771 | ||
1772 | * rs6000-tdep.c (rs6000_store_struct_return): Delete function. | |
1773 | (rs6000_push_dummy_call): Store the struct return address. | |
1774 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
1775 | ||
77b2b6d4 AC |
1776 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
1777 | ||
1778 | * ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace | |
1779 | "ppc_sysv_abi_push_arguments". | |
1780 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace | |
1781 | "ppc_sysv_abi_push_arguments". | |
1782 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call" | |
1783 | instead of "push_arguments". | |
1784 | (rs6000_push_dummy_call): Replace "rs6000_push_arguments". | |
1785 | ||
e8a7b686 AC |
1786 | 2003-09-09 Andrew Cagney <cagney@redhat.com> |
1787 | ||
1788 | * sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS | |
1789 | instead of CALL_DUMMY_ADDRESS. | |
1790 | ||
f86f5ca3 PH |
1791 | 2003-09-09 Paul N. Hilfinger <hilfingr@gnat.com> |
1792 | ||
1793 | * p-lang.c: Eliminate "register". | |
1794 | * c-lang.c: Ditto. | |
1795 | * expprint.c: Ditto. | |
1796 | * f-lang.c: Ditto. | |
1797 | * jv-lang.c: Ditto. | |
1798 | * language.c: Ditto. | |
1799 | * m2-lang.c: Ditto. | |
1800 | * parse.c: Ditto. | |
1801 | * scm-lang.c: Ditto. | |
1802 | * objc-lang.c: Ditto. | |
1803 | ||
83ee270e NC |
1804 | 2003-09-09 Nick Clifton <nickc@redhat.com> |
1805 | ||
1806 | * v850-tdep.c (v850_processor_type_table): Add bfd_mach_v850e1. | |
1807 | ||
a89aa300 AC |
1808 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
1809 | ||
1810 | * avr-tdep.c: Include "dis-asm.h". | |
1811 | * cris-tdep.c: Include "dis-asm.h". | |
1812 | (cris_delayed_get_disassembler): Use "struct disassemble_info" | |
1813 | instead of corresponding typedef. | |
1814 | * h8300-tdep.c: Include "dis-asm.h". | |
1815 | * ia64-tdep.c: Include "dis-asm.h". | |
1816 | * i386-tdep.c: Include "dis-asm.h". | |
1817 | (i386_print_insn): Use "struct disassemble_info" instead of | |
1818 | corresponding typedef. | |
1819 | * m68k-tdep.c: Include "dis-asm.h". | |
1820 | * mcore-tdep.c: Include "dis-asm.h". | |
1821 | * mips-tdep.c: Include "dis-asm.h". | |
1822 | (gdb_print_insn_mips): Make static, use "struct disassemble_info" | |
1823 | instead of corresponding typedef. | |
1824 | * ns32k-tdep.c: Include "dis-asm.h". | |
1825 | * s390-tdep.c: Include "dis-asm.h". | |
1826 | * sparc-tdep.c: Include "dis-asm.h". | |
1827 | * vax-tdep.c: Include "dis-asm.h". | |
1828 | * v850-tdep.c: Include "dis-asm.h". | |
1829 | * mn10300-tdep.c: Include "dis-asm.h". | |
1830 | * rs6000-tdep.c: Include "dis-asm.h". | |
1831 | * xstormy16-tdep.c: Include "dis-asm.h". | |
1832 | (_initialize_xstormy16_tdep): Delete "extern" declaration of | |
1833 | print_insn_xstormy16. | |
1834 | * Makefile.in (v850-tdep.o): Update dependencies. | |
1835 | (vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto. | |
1836 | (ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto. | |
1837 | (m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto. | |
1838 | (h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto. | |
1839 | (mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto. | |
1840 | (gdbarch_h): Remove $(dis_asm_h). | |
1841 | * disasm.c: Include "dis-asm.h". | |
1842 | (dis_asm_read_memory): Use "struct disassemble_info" instead of | |
1843 | corresponding typedef. | |
1844 | (dis_asm_memory_error, dump_insns, do_assembly_only): Ditto. | |
1845 | (gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto. | |
1846 | * gdbarch.sh: Do not include "dis-asm.h". | |
1847 | (struct disassemble_info): Declare opaque. | |
1848 | (TARGET_PRINT_INSN): Update declaration. | |
1849 | * gdbarch.h, gdbarch.c: Re-generate. | |
1850 | ||
88a82a65 AC |
1851 | 2003-09-08 Andrew Cagney <cagney@redhat.com> |
1852 | ||
1853 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename | |
1854 | CALL_DUMMY_ADDRESS, change to a predicate. | |
1855 | * gdbarch.h, gdbarch.c: Re-generate. | |
1856 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
1857 | Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address. | |
1858 | * infcall.c (call_function_by_hand): Ditto. | |
1859 | * sparc-tdep.c (sparc_push_return_address): Ditto. | |
1860 | (sparc_gdbarch_init): Set deprecated_call_dummy_address. | |
1861 | * xstormy16-tdep.c (xstormy16_push_return_address): Replace | |
1862 | CALL_DUMMY_ADDRESS with entry_point_address. | |
1863 | * v850-tdep.c (v850_push_return_address): Ditto. | |
1864 | * s390-tdep.c (s390_push_return_address): Ditto. | |
1865 | * rs6000-tdep.c (ppc_push_return_address): Ditto. | |
1866 | * mn10300-tdep.c (mn10300_push_return_address): Ditto. | |
1867 | * mcore-tdep.c (mcore_push_return_address): Ditto. | |
1868 | * cris-tdep.c (cris_push_return_address): Ditto. | |
1869 | * arm-tdep.c (arm_push_return_address): Ditto. | |
1870 | ||
3e2c4033 AC |
1871 | 2003-09-08 Andrew Cagney <cagney@redhat.com> |
1872 | ||
1873 | * dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous | |
1874 | enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED | |
1875 | and REG_UNMODIFIED to REG_SAME_VALUE. | |
1876 | (execute_cfa_program): Update. | |
1877 | (dwarf2_frame_cache): Update. Initialize table to | |
1878 | REG_UNSPECIFIED, complain if CFI fails to specify a register's | |
1879 | location. | |
1880 | (dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED. | |
1881 | ||
39efb398 AC |
1882 | 2003-09-08 Andrew Cagney <cagney@redhat.com> |
1883 | ||
1884 | * gnu-nat.c: Remove "inline" function attribute. | |
1885 | * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto. | |
1886 | ||
f5cb5aca KB |
1887 | 2003-09-08 Kevin Buettner <kevinb@redhat.com> |
1888 | ||
1889 | * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V | |
1890 | target. | |
1891 | ||
1cb761c7 KB |
1892 | 2003-09-08 Kevin Buettner <kevinb@redhat.com> |
1893 | ||
1894 | * frv-tdep.c (frame-unwind.h, frame-base.h): Include. | |
1895 | (frame_extra_info): Rename this struct to frv_unwind_cache. | |
1896 | Delete fields ``fp_to_callers_sp_offset'' and ``lr_saved_on_stack''. | |
1897 | Add fields ``prev_sp'' and ``base''. | |
1898 | (frv_frame_chain, frv_frame_saved_pc, frv_frame_init_saved_regs) | |
1899 | (frv_saved_pc_after_call, frv_init_extra_frame_info) | |
1900 | (frv_push_return_address, frv_pop_frame, frv_pop_frame_regular): | |
1901 | Delete. | |
1902 | (frv_analyze_prologue): Add ``struct frv_unwind_cache *'' argument. | |
1903 | Revise all callers. Fill in the unwind cache argument and make | |
1904 | other adjustments to account for new frame mechanisms. | |
1905 | (frv_frame_unwind_cache, frv_frame_align, frv_unwind_pc) | |
1906 | (frv_frame_this_id, frv_frame_prev_register, frv_frame_sniffer) | |
1907 | (frv_frame_base_address, frv_unwind_dummy_id): New functions. | |
1908 | (frv_frame_unwind, frv_frame_base): New structs. | |
1909 | (frv_push_arguments): Change name to frv_push_dummy_call(). Add | |
1910 | additional arguments expected by this method and adjust function | |
1911 | body accordingly. | |
1912 | (frv_gdbarch_init): Remove calls to the following functions: | |
1913 | set_gdbarch_deprecated_init_frame_pc(), | |
1914 | set_gdbarch_deprecated_saved_pc_after_call(), | |
1915 | set_gdbarch_deprecated_frame_chain(), | |
1916 | set_gdbarch_deprecated_frame_saved_pc(), | |
1917 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
1918 | set_gdbarch_deprecated_push_arguments(), | |
1919 | set_gdbarch_deprecated_push_return_address(), | |
1920 | set_gdbarch_deprecated_pop_frame(), | |
1921 | set_gdbarch_deprecated_call_dummy_words(), | |
1922 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
1923 | set_gdbarch_deprecated_init_extra_frame_info(), | |
1924 | set_gdbarch_deprecated_dummy_write_sp(), and | |
1925 | set_gdbarch_deprecated_pc_in_call_dummy(). | |
1926 | Add calls to the following functions: | |
1927 | set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(), | |
1928 | set_gdbarch_frame_align(), frame_unwind_append_sniffer(), and | |
1929 | frame_base_set_default(). | |
1930 | * Makefile.in (frv-tdep.o): Update dependencies. | |
a8f4cde1 | 1931 | |
68f6cf99 MK |
1932 | 2003-09-09 Mark Kettenis <kettenis@gnu.org> |
1933 | ||
1934 | * dwarf2-frame.c (read_encoded_value): Add support for | |
1935 | DW_EH_PE_aligned encoding. | |
1936 | ||
73b65bb0 DJ |
1937 | 2003-09-08 Daniel Jacobowitz <drow@mvista.com> |
1938 | ||
1939 | * infrun.c (normal_stop): Don't print a message if the inferior | |
1940 | has exited. | |
1941 | ||
7c8a5605 JB |
1942 | 2003-09-08 Jim Blandy <jimb@redhat.com> |
1943 | ||
1944 | * Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h). | |
1945 | * dbxread.c: #include "gdb_assert.h". | |
1946 | (read_dbx_symtab): If the objfile has no .data section, use the | |
1947 | section index for the .bss section instead. | |
1948 | ||
7dd88986 DJ |
1949 | 2003-09-08 Daniel Jacobowitz <drow@mvista.com> |
1950 | ||
1951 | * frame.c (deprecated_safe_get_selected_frame): New function. | |
1952 | * frame.h (deprecated_safe_get_selected_frame): Add prototype. | |
1953 | * findvar.c (read_var_value): Call it. | |
1954 | ||
55ff77ac CV |
1955 | 2003-09-08 Corinna Vinschen <vinschen@redhat.com> |
1956 | ||
1957 | * Makefile.in (ALLDEPFILES): Add sh64-tdep.c. | |
1958 | (sh64-tdep.o): Add dependencies. | |
1959 | * configure.tgt: Add FIXME to sh-*-linux*. | |
1960 | * sh-tdep.c: Move sh64 support to sh64-tdep.c. | |
1961 | (sh_gdbarch_init): Always set correct sh_show_regs function | |
a8f4cde1 | 1962 | pointer. Call sh64_gdbarch_init() if machine type is sh5. |
55ff77ac CV |
1963 | * sh-tdep.h: Move sh64 support to sh64-tdep.c. |
1964 | * sh64-tdep.c: New file, containing all sh64 related code from | |
1965 | sh-tdep.c. | |
1966 | * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o. | |
1967 | * config/sh/linux.mt (TDEPFILES): Ditto. | |
a8f4cde1 | 1968 | * config/sh/nbsd.mt (TDEPFILES): Ditto. |
55ff77ac CV |
1969 | * config/sh/tm-sh.h: Drop REGISTER_TYPE definition. |
1970 | * config/sh/wince.mt (TDEPFILES): Ditto. | |
1971 | ||
bfb39158 DJ |
1972 | 2003-09-07 Daniel Jacobowitz <drow@mvista.com> |
1973 | ||
1974 | * lin-lwp.c (detach_callback): Don't call stop_wait_callback. | |
1975 | (stop_wait_callback): Handle !lp->signalled also. | |
1976 | (lin_lwp_has_pending, flush_callback): New functions. | |
1977 | (lin_lwp_wait): Call flush_callback. | |
1978 | * linux-proc.c (linux_proc_add_line_to_sigset): New function. | |
1979 | (linux_proc_pending_signals): New function. | |
1980 | * linux-nat.h (linux_proc_pending_signals): Add prototype. | |
1981 | ||
9407de8e DJ |
1982 | 2003-09-07 Daniel Jacobowitz <drow@mvista.com> |
1983 | ||
1984 | From Nick Kelsey <nickk@ubicom.com>: | |
1985 | * infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE | |
1986 | when the stop PC is at the beginning of a function also. | |
1987 | ||
2ef47cd0 DJ |
1988 | 2003-09-06 Daniel Jacobowitz <drow@mvista.com> |
1989 | ||
1990 | * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New. | |
1991 | (arm_linux_init_abi): Use arm_linux_arm_be_breakpoint. | |
1992 | ||
6f4492c8 MK |
1993 | 2003-09-06 Mark Kettenis <kettenis@gnu.org> |
1994 | ||
1995 | * sol-thread.c: Include "gdb_string.h". | |
1996 | ||
d3420b2f MK |
1997 | 2003-09-03 Mark Kettenis <m.kettenis@osp.nl> |
1998 | ||
1999 | * gcore.c: Reorder include files in alphabetical order. Include | |
2000 | "gdb_assert.h". Various coding style fixes. | |
2001 | (derive_stack_segment, derive_heap_segment): Replace check for | |
2002 | non-null BOTTOM and TOP with gdb_assert. | |
2003 | (derive_heap_segment): Replace check for successful creation of | |
2004 | ZERO with gdb_assert. | |
2005 | (make_mem_sec): Use bfd_section_lma to set OSEC->lma. | |
2006 | ||
5220ea4c AC |
2007 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
2008 | ||
2009 | * thread-db.c (verbose_dlsym): New function. | |
2010 | (thread_db_load): Use verbose_dlsym | |
2011 | (thread_db_new_objfile): Print that libthread_db was loaded, and | |
2012 | that thread debugging was enabled. | |
2013 | ||
6e8c2c06 AC |
2014 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
2015 | ||
2016 | * configure.tgt: Add "mips64*-*-*" target. Delete | |
2017 | mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*, | |
2018 | mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*, | |
2019 | mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*, | |
2020 | mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*, | |
2021 | mips*-sony-*, and mips64*-*-elf* targets. | |
2022 | * config/mips/embedl.mt: Delete file. | |
2023 | * config/mips/embedl64.mt: Delete file. | |
2024 | * config/mips/mips.mt: Delete file. | |
2025 | * config/mips/mips64.mt: Delete file. | |
2026 | * config/mips/tm-embed.h: Delete file. | |
2027 | * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h". | |
2028 | * config/mips/embed64.mt: Delete out-of-date comment. | |
2029 | ||
3a3bc038 AC |
2030 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
2031 | ||
2032 | * hppa-tdep.c (hppa_gdbarch_init): Set | |
2033 | "have_nonsteppable_watchpoint". | |
2034 | * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
2035 | * mips-tdep.c (mips_dump_tdep): Do not print | |
2036 | HAVE_NONSTEPPABLE_WATCHPOINT. | |
2037 | (mips_gdbarch_init): Set "have_nonsteppable_watchpoint". | |
2038 | * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
2039 | * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
2040 | * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
2041 | ||
a957e642 CV |
2042 | 2003-09-04 Corinna Vinschen <vinschen@redhat.com> |
2043 | ||
2044 | * breakpoint.c (watchpoint_check): Remove accidentally checked in | |
2045 | unused code. Add comment. | |
2046 | ||
a6fbcf2f CV |
2047 | 2003-09-04 Corinna Vinschen <vinschen@redhat.com> |
2048 | ||
2049 | * breakpoint.c (watchpoint_check): Check for pc being in an | |
2050 | epilogue if watchpoint frame couldn't be found. | |
2051 | ||
c14a44d5 AC |
2052 | 2003-09-04 Andrew Cagney <cagney@redhat.com> |
2053 | ||
2054 | * Makefile.in: Re-generate all dependencies. | |
2055 | ||
f6c40618 AC |
2056 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
2057 | ||
2058 | * arch-utils.h (legacy_print_insn): Delete declaration. | |
2059 | * arch-utils.c (legacy_print_insn): Delete function. | |
2060 | * disasm.c (deprecated_tm_print_insn_info): Delete. | |
2061 | (_initialize_disasm): Delete function, contained code initializing | |
2062 | deprecated_tm_print_insn_info. | |
2063 | * gdbarch.sh (deprecated_tm_print_insn): Delete. | |
2064 | (deprecated_tm_print_insn_info): Delete. | |
2065 | (TARGET_PRINT_INSN): Do not provide a default. | |
2066 | * gdbarch.h, gdbarch.c: Re-generate. | |
2067 | ||
242e8be5 AC |
2068 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
2069 | ||
2070 | * disasm.c (fprintf_disasm): New function. | |
2071 | (gdb_disassemble_info): Call "init_disassemble_info", instead of | |
2072 | INIT_DISASSEMBLE_INFO_NO_ARCH. Do not initialize "insn_sets", | |
2073 | reverts 2003-08-14 change. | |
2074 | (_initialize_disasm): Call "init_disassemble_info", instead of | |
2075 | INIT_DISASSEMBLE_INFO_NO_ARCH. | |
2076 | ||
3ffc3dda MS |
2077 | 2003-09-03 Michael Snyder <msnyder@redhat.com> |
2078 | ||
2079 | * config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch]. | |
2080 | ||
52d16ba8 AC |
2081 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
2082 | ||
2083 | * config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition. | |
2084 | * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define. | |
2085 | * symfile.c (syms_from_objfile): Update. | |
2086 | (reread_symbols): `Update | |
2087 | * exec.c (exec_file_attach): Update. | |
2088 | (exec_file_attach): Update. | |
2089 | * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert | |
2090 | 2003-08-29 change. | |
2091 | * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET. | |
2092 | ||
eb5492fa DJ |
2093 | 2003-09-03 Daniel Jacobowitz <drow@mvista.com> |
2094 | ||
2095 | * arm-tdep.c: Include frame-unwind.h, frame-base.h, and | |
2096 | trad-frame.h. | |
2097 | (arm_get_cache): Delete macro. | |
2098 | (struct arm_prologue_cache): Update comments. Make saved_regs into | |
2099 | a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp | |
2100 | to prev_sp. | |
2101 | (thumb_scan_prologue): Update for cache changes. Don't call | |
2102 | DEPRECATED_PC_IN_CALL_DUMMY. | |
2103 | (arm_scan_prologue): Update for cache changes. Take NEXT_FRAME | |
2104 | argument and use it in desperation search for our prologue. Do not | |
2105 | search past the specified PC. | |
2106 | (arm_make_prologue_cache): Simplify. | |
2107 | ||
2108 | (arm_prologue_this_id, arm_prologue_prev_register) | |
2109 | (arm_prologue_unwind, arm_prologue_unwind_sniffer) | |
2110 | (arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache) | |
2111 | (arm_sigtramp_this_id, arm_sigtramp_prev_register) | |
2112 | (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer) | |
2113 | (arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New. | |
2114 | ||
2115 | (arm_frame_chain_valid, arm_find_callers_reg) | |
2116 | (arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs) | |
2117 | (arm_pop_frame): Delete obsolete methods. | |
2118 | (arm_minimal_frame_chain, arm_minimal_frame_info): Delete. | |
2119 | ||
2120 | (arm_gdbarch_init): Update for new frame methods. Register prologue | |
2121 | and sigtramp unwinders. Set the default frame base method. | |
2122 | ||
2123 | * Makefile.in (arm-tdep.o): Update dependencies. | |
2124 | * varobj.c (find_frame_addr_in_frame_chain): Call | |
2125 | get_frame_base_address. | |
2126 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
2127 | ||
24de872b DJ |
2128 | 2003-09-03 Daniel Jacobowitz <drow@mvista.com> |
2129 | ||
2130 | * arm-tdep.c (arm_minimal_frame_chain): Renamed from | |
2131 | arm_frame_chain. Take NEXT_FRAME and CACHE arguments. | |
2132 | Use the cache instead of DEPRECATED_FRAME_SAVED_PC. | |
2133 | (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info. | |
2134 | Take NEXT_FRAME and CACHE arguments. Call | |
2135 | FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument. | |
2136 | Set unwound_pc in CACHE instead of modifying the frame argument. | |
2137 | Don't bother checking the frame type when looking for sigtramp | |
2138 | frames. | |
2139 | (arm_make_prologue_cache, arm_frame_chain) | |
2140 | (arm_init_extra_frame_info): New functions. | |
2141 | ||
9b8d791a DJ |
2142 | 2003-09-03 Daniel Jacobowitz <drow@mvista.com> |
2143 | ||
2144 | * arm-tdep.c (arm_get_cache): Define. | |
2145 | (struct arm_prologue_cache): Renamed from frame_extra_info. Add | |
2146 | unwound_sp, unwound_pc, and saved_regs. | |
2147 | (thumb_scan_prologue): Take a cache instead of the frame. | |
2148 | (arm_scan_prologue): Likewise. | |
2149 | (arm_frame_chain): Create a temporary cache for arm_scan_prologue | |
2150 | instead of a temporary frame. | |
2151 | (arm_init_extra_frame_info): Allocate and use a cache. | |
2152 | (arm_frame_saved_pc, arm_pop_frame): Use the cache. | |
2153 | ||
7ee3275f AC |
2154 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
2155 | ||
2156 | * config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS. | |
2157 | * config/mips/wince.mt (TM_CLIBS): Ditto. | |
2158 | * config/sh/wince.mt (TM_CLIBS): Ditto. | |
2159 | * config/pa/hppa64.mt (TM_CLIBS): Delete. | |
2160 | * config/sparc/sp64.mt (CC): Delete. | |
2161 | ||
57b29be7 AC |
2162 | 2003-09-03 Andrew Cagney <cagney@redhat.com> |
2163 | ||
2164 | * defs.h: Do not include "arch-utils.h". | |
2165 | (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or | |
2166 | GDB_MULTI_ARCH_PURE. | |
2167 | * configure.in (GDB_MULTI_ARCH): Do not define. | |
2168 | * configure, config.in: Regenerate. | |
2169 | * configure.tgt: Do not set variable "gdb_multi_arch". | |
2170 | * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. | |
2171 | * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. | |
2172 | * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. | |
2173 | * config/v850/v850.mt (TM_FILE): Delete disabled definition. | |
2174 | * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. | |
2175 | * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. | |
2176 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. | |
2177 | * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. | |
2178 | * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. | |
2179 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. | |
2180 | * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. | |
2181 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. | |
2182 | * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. | |
2183 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. | |
2184 | * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. | |
2185 | * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. | |
2186 | * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. | |
2187 | * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition. | |
a8f4cde1 | 2188 | |
12e035e2 MC |
2189 | 2003-08-30 Michael Chastain <mec@shout.net> |
2190 | ||
2191 | * Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h. | |
2192 | * config/m68k/nm-hp300hpux.h: Delete. | |
2193 | * config/m68k/tm-hp300hpux.h: Delete. | |
2194 | * config/m68k/xm-hp300hpux.h: Delete. | |
2195 | * config/m68k/xm-hp300bsd.h: Delete. | |
2196 | * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h, | |
2197 | tm-hp300hpux.h, xm-hp300hpux.h. | |
2198 | * somsolib.c: Remove comment about hp300 shared libraries. | |
2199 | ||
bda34dc2 MK |
2200 | 2003-08-31 Mark Kettenis <kettenis@gnu.org> |
2201 | ||
5bca7895 MK |
2202 | * i386-linux-nat.c (ps_get_thread_area): Don't define as extern. |
2203 | Only define PTRACE_GET_THREAD_AREA is not already defined. | |
2204 | Various style fixes in code and comments and some additional | |
2205 | spelling fixes in comments. Move after functions dealing with | |
2206 | debug registers. | |
2207 | * x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern. | |
2208 | Fix coding-style. | |
2209 | ||
bda34dc2 MK |
2210 | * alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use |
2211 | frame_unwind_register_unsigned instead of | |
2212 | frame_unwind_unsigned_register. | |
2213 | ||
c890192f MK |
2214 | 2003-08-30 Mark Kettenis <kettenis@gnu.org> |
2215 | ||
2216 | * configure.in: Search for gethostbyname in libnsl. | |
2217 | * configure: Regenerated. | |
2218 | ||
60fac5b8 MK |
2219 | 2003-08-29 Mark Kettenis <kettenis@gnu.org> |
2220 | ||
e294916c MK |
2221 | * configure.in: Remove redundant AC_MSG_RESULT in check for |
2222 | uintptr_t in stdint.h. | |
2223 | * configure: Regenerated. | |
2224 | ||
c40d267a MK |
2225 | * amd64-nat.h (struct regcache): Add opaque declaration. |
2226 | ||
60fac5b8 MK |
2227 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define. |
2228 | * x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h". | |
2229 | Change "register array" to "register cache" in comments. | |
2230 | (x86_64_linux_gregset64_reg_offset): New variable. | |
2231 | (GETREGS_SUPPLIES): Remove macro. | |
2232 | (supply_gregset): Call amd64_supply_native_gregset instead of | |
2233 | x86_64_linux_supply_gregset. | |
2234 | (fill_gregset): Rename `regno' to `regnum'. Call | |
2235 | amd64_collect_native_gregset instead of x86_64_linux_fill_gregset. | |
2236 | (store_regs): Rename `regno' to `regnum'. | |
2237 | (store_fpregs): Rename `regno' to `regnum'. | |
2238 | (fetch_inferior_registers): Rename `regno' to `regnum'. Use | |
2239 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
2240 | Reorganize function a bit. | |
2241 | (store_inferior_registers): Rename `regno' to `regnum'. Use | |
2242 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
2243 | Reorganize function a bit. | |
2244 | (_initialize_x86_64_linux_nat): New function. | |
2245 | * config/i386/x86-64linux.mh. | |
2246 | ||
546143b6 AC |
2247 | 2003-08-29 Andrew Cagney <cagney@redhat.com> |
2248 | ||
2249 | * config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro. | |
2250 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro. | |
2251 | (target_remove_watchpoint): Delete macro. | |
2252 | (target_insert_watchpoint): Delete macro. | |
2253 | (remote_mips_can_use_hardware_watchpoint): Delete declaration. | |
2254 | (remote_mips_stopped_by_watchpoint): Delete declaration. | |
2255 | (remote_mips_remove_watchpoint): Delete declaration. | |
2256 | (remote_mips_set_watchpoint): Delete declaration. | |
2257 | (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro. | |
2258 | * remote-mips.c (_initialize_remote_mips): Set | |
2259 | "to_insert_watchpoint", "to_stopped_by_watchpoint", | |
2260 | "to_can_use_hardware_watchpoint", and "to_remove_watchpoint". | |
2261 | (mips_insert_watchpoint): Rename remote_mips_set_watchpoint. | |
2262 | (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint. | |
2263 | (mips_stopped_by_watchpoint): Rename | |
2264 | remote_mips_stopped_by_watchpoint. | |
2265 | (mips_can_hardware_watchpoint): Rename | |
2266 | remote_mips_can_use_hardware_watchpoint, update function | |
2267 | signature. | |
2268 | ||
7bace51b MK |
2269 | 2003-08-29 Mark Kettenis <kettenis@gnu.org> |
2270 | ||
b0f5c6f2 MK |
2271 | * x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and |
2272 | USER_DS. We haven't given them a register number yet. | |
2273 | ||
2a6d284d MK |
2274 | * amd64-nat.h: New file. |
2275 | * amd64-nat.c: New file. | |
2276 | * amd64fbsd-nat.c: Include "amd64-nat.h". | |
2277 | (REG_ADDR, GETREGS_SUPPLIES): Remove macros. | |
2278 | (amd64fbsd32_r_reg_offset): New variable. | |
2279 | (supply_gregset): Simply call amd64_supply_native_gregset. | |
2280 | (fill_gregset): Rename `regno' to `regnum'. Simply call | |
2281 | amd64_collect_native_gregset. | |
2282 | (fill_fpregset): Rename `regno' to `regnum'. | |
2283 | (fetch_inferior_registers): Rename `regno' to `regnum'. Replace | |
2284 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
2285 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
2286 | `fpregset_t'. Call amd64_supply_native_gregset instead of | |
2287 | supply_gregset. Call x86_64_supply_fxsave instead of | |
2288 | supply_fpregset. | |
2289 | (store_inferior_registers): Rename `regno' to `regnum'. Replace | |
2290 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
2291 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
2292 | `fpregset_t'. Call amd64_collect_native_gregset instead of | |
2293 | fill_gregset. Call x86_64_collect_fxsave instead of | |
2294 | fill_fpregset. | |
2295 | (_initialize_am64fbsd_nat): Initialize | |
2296 | amd64_native_gregset32_reg_offset and | |
2297 | amd64_native_gregset64_reg_offset. | |
2298 | * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o. | |
2299 | ||
a16d75cc MK |
2300 | * regcache.c (regcache_raw_supply): Don't assert that BUF isn't a |
2301 | null pointer. Fix typo in comment. | |
2302 | ||
7bace51b MK |
2303 | * regcache.c (supply_register): Reimplement to call |
2304 | regcache_raw_supply. | |
2305 | (regcache_collect): Reimplement by calling regcache_raw_collect. | |
2306 | ||
9a661b68 MK |
2307 | 2003-08-28 Mark Kettenis <kettenis@gnu.org> |
2308 | ||
2309 | * regcache.c (register_buffer): Consitify first argument. | |
2310 | (regcache_raw_supply, regcache_raw_collect): New | |
2311 | functions. | |
2312 | ||
e94cc8fa DJ |
2313 | 2003-08-28 Daniel Jacobowitz <drow@mvista.com> |
2314 | ||
2315 | * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. Suggested | |
2316 | by Nathan J. Williams. | |
2317 | ||
c64bd0ce DJ |
2318 | 2003-08-28 Daniel Jacobowitz <drow@mvista.com> |
2319 | ||
2320 | * lin-lwp.c (wait_lwp): New function, copied from | |
2321 | stop_wait_callback. Clean up. | |
2322 | (stop_wait_callback): Use wait_lwp. | |
2323 | ||
e5ab0dce AC |
2324 | 2003-08-28 Andrew Cagney <cagney@redhat.com> |
2325 | ||
2326 | * mips-tdep.c (gdb_print_insn_mips): Set the disassembler's | |
2327 | flavour and disassembler options. | |
2328 | (_initialize_mips_tdep): Do not set deprecated_tm_print_insn. | |
2329 | (mips_gdbarch_init): Set "print_insn". Delete initialization of | |
2330 | deprecated_tm_print_insn_info. | |
a8f4cde1 | 2331 | |
a788de9b AC |
2332 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
2333 | ||
2334 | * s390-tdep.c (s390_readinstruction): Delete "info" parameter. | |
2335 | Use target_read_memory. | |
2336 | (s390_get_frame_info): Update. Do not reference | |
2337 | deprecated_tm_print_insn_info. | |
2338 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
2339 | ||
36482093 AC |
2340 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
2341 | ||
2342 | * Makefile.in (cris-tdep.o): Update dependencies. | |
2343 | * cris-tdep.c: Include "gdb_assert.h". | |
2344 | (cris_gdbarch_init): Set print_insn. | |
2345 | (_initialize_cris_tdep): Do not set deprecated_tm_print_insn. | |
2346 | (cris_delayed_get_disassembler): Simplify, directly call the | |
2347 | disassembler returned by cris_get_disassembler. | |
2348 | * hppa-tdep.c (hppa_gdbarch_init): Set print_insn. | |
2349 | (_initialize_hppa_tdep): Do not set deprecated_tm_print_insn. | |
2350 | * ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn. | |
2351 | (_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn. | |
2352 | * mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn. | |
2353 | (_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn. | |
2354 | * mcore-tdep.c (mcore_gdbarch_init): Set print_insn. | |
2355 | (_initialize_mcore_tdep): Do not set deprecated_tm_print_insn. | |
2356 | * frv-tdep.c (frv_gdbarch_init): Set print_insn. | |
2357 | (_initialize_frv_tdep): Do not set deprecated_tm_print_insn. | |
2358 | * sparc-tdep.c (sparc_gdbarch_init): Set print_insn. | |
2359 | (gdb_print_insn_sparc): Delete function. | |
2360 | (_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or | |
2361 | deprecated_tm_print_insn_info. | |
2362 | * v850-tdep.c (v850_gdbarch_init): Set print_insn. | |
2363 | (_initialize_v850_tdep): Do not set deprecated_tm_print_insn. | |
2364 | (v850_gdbarch_init): Do not set deprecated_tm_print_insn_info. | |
2365 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn. | |
2366 | (_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn. | |
2367 | * s390-tdep.c (gdb_print_insn_s390): Delete function. | |
2368 | (_initialize_s390_tdep): Do not set deprecated_tm_print_insn. | |
2369 | (s390_gdbarch_init): Set print_insn. | |
2370 | ||
0285512f AC |
2371 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
2372 | ||
2373 | * ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function. | |
2374 | (ppc_linux_init_abi): For PPC64, do not set call_dummy_address. | |
2375 | * infcall.c (call_function_by_hand): Convert the entry point | |
2376 | address into a code address. | |
2377 | ||
cdcd5552 AC |
2378 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
2379 | ||
2380 | * dsrec.c: Include "gdb_string.h". | |
2381 | * Makefile.in (dsrec.o): Update dependencies. | |
2382 | ||
e85cddad MC |
2383 | 2003-08-27 Michael Chastain <mec@shout.net> |
2384 | ||
2385 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*. | |
2386 | ||
8bbfbb23 AC |
2387 | 2003-08-27 Andrew Cagney <cagney@redhat.com> |
2388 | ||
2389 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function. | |
2390 | (alpha_osf1_init_abi): Do not set call_dummy_address. | |
2391 | ||
ba058b66 DC |
2392 | 2003-08-27 David Carlton <carlton@kealia.com> |
2393 | ||
2394 | From Randolph Chung <tausq@debian.org>: | |
2395 | * linux-proc.c (linux_info_proc_cmd): rework the code so that it | |
2396 | compiles with -Wformat-nonliteral -Werror. | |
2397 | ||
87f84c9d JB |
2398 | 2003-08-26 Jim Blandy <jimb@redhat.com> |
2399 | ||
2400 | * solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument. | |
2401 | (enable_break): Pass SEC_CODE as the SECT_FLAGS argument to | |
2402 | bfd_lookup_symbol, since we only want symbols in code sections. | |
2403 | (look_for_base): Pass zero as the SECT_FLAGS argument to | |
2404 | bfd_lookup_symbol, since we're not concerned about which section | |
2405 | the symbol is in. | |
2406 | ||
102d615a JJ |
2407 | 2003-08-26 Jeff Johnston <jjohnstn@redhat.com> |
2408 | ||
2409 | * ia64-tdep.c (examine_prologue): Only stop at predicated insns if | |
a8f4cde1 | 2410 | we are frameless or the return address register is already known. |
102d615a | 2411 | |
cc7ad3ea AC |
2412 | 2003-08-26 Andrew Cagney <cagney@redhat.com> |
2413 | ||
2414 | * i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s | |
2415 | in size. Add comments. | |
2416 | ||
af8b88dd JJ |
2417 | 2003-08-26 Jeff Johnston <jjohnstn@redhat.com> |
2418 | ||
2419 | * ia64-tdep.c (ia64_convert_from_func_addr): New function. | |
a8f4cde1 | 2420 | (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr(). |
af8b88dd | 2421 | |
e0a4f5a1 JM |
2422 | 2003-08-26 Jason Merrill <jason@redhat.com> |
2423 | ||
2424 | * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name | |
2425 | case out of #ifdef MIPS block. | |
2426 | ||
4ae9ee8e DJ |
2427 | 2003-08-25 Daniel Jacobowitz <drow@mvista.com> |
2428 | ||
2429 | PR java/1322 | |
2430 | * dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are | |
2431 | available before calling SECT_OFF_TEXT. | |
3c164570 | 2432 | * PROBLEMS: Remove description of java/1322. |
4ae9ee8e | 2433 | |
004d836a JJ |
2434 | 2003-08-25 Jeff Johnston <jjohnstn@redhat.com> |
2435 | ||
a8f4cde1 | 2436 | * ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63, |
004d836a JJ |
2437 | bof, and nat0-nat127 as pseudo-registers. |
2438 | (ia64_frame_cache): New struct used to cache frame info. | |
2439 | (ia64_register_reggroup_p): New routine used to override default | |
a8f4cde1 | 2440 | register grouping so registers without names are still saved and |
004d836a | 2441 | restored. |
a8f4cde1 | 2442 | (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their |
004d836a JJ |
2443 | pseudo values. |
2444 | (ia64_pseudo_register_read): New routine to read pseudo-registers. | |
2445 | (ia64_pseudo_register_write): New routine to write pseudo-registers. | |
a8f4cde1 | 2446 | (ia64_alloc_frame_cache): New routine to create a new |
004d836a JJ |
2447 | ia64_frame_cache. |
2448 | (examine_prologue): Change prototype to add next_frame pointer. | |
2449 | Assume frameless until otherwise proven. Verify that the cfm for | |
a8f4cde1 | 2450 | current frame matches the cfm that should occur for the prologues |
004d836a JJ |
2451 | alloc insn and if equal, mark as not frameless. At end of routine, |
2452 | if not frameless, calculate registers for the previous frame and store | |
2453 | in the cache, if a cache is provided. | |
2454 | (ia64_skip_prologue): Use new prototype when calling examine_prologue | |
2455 | and pass 0 for next_frame. | |
2456 | (ia64_store_return_value): Change to use convert_typed_floating() | |
2457 | instead of calling ia64_convert_to_raw(). | |
2458 | (ia64_extract_return_value): Change to use convert_typed_floating() | |
2459 | instead of calling ia64_convert_to_virtual(). | |
2460 | (ia64_frame_cache): New routine to support new frame model. | |
2461 | (ia64_frame_this_id, ia64_frame_prev_register): Ditto. | |
2462 | (ia64_frame_sniffer): Ditto. | |
2463 | (ia64_sigtramp_frame_init_saved_regs): Ditto. | |
2464 | (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto. | |
2465 | (ia64_sigtramp_frame_prev_register): Ditto. | |
2466 | (ia64_sigtramp_frame_sniffer): Ditto. | |
2467 | (ia64_frame_base_address): Ditto. | |
2468 | (ia64_extract_struct_value_address): Change to issue error message. | |
2469 | (ia64_frame_align): New routine to align sp. | |
2470 | (ia64_push_dummy_call): New routine based on ia64_push_arguments(). | |
a8f4cde1 | 2471 | (ia64_push_arguments): Removed. Logic moved to |
004d836a JJ |
2472 | ia64_push_dummy_call(). |
2473 | (ia64_push_return_address): Ditto. | |
2474 | (ia64_unwind_dummy_id): New function. | |
2475 | (ia64_unwind_pc): Ditto. | |
2476 | (ia64_convert_register_p): Ditto. | |
2477 | (ia64_register_to_value): Ditto. | |
2478 | (ia64_value_to_register): Ditto. | |
2479 | (ia64_pop_frame, ia64_pop_frame_regular): Removed. | |
2480 | (ia64_register_byte, ia64_register_raw_size): Ditto. | |
2481 | (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto. | |
2482 | (ia64_saved_pc_after_call): Ditto. | |
2483 | (ia64_frame_chain, ia64_frame_saved_pc): Ditto. | |
2484 | (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto. | |
2485 | (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto. | |
2486 | (ia64_register_convert_to_raw): Ditto. | |
2487 | (ia64_store_struct_return, ia64_call_dummy_words): Ditto. | |
2488 | (ia64_init_extra_frame_info): Ditto. | |
2489 | (ia64_frame_args_address, ia64_frame_locals_address): Ditto. | |
2490 | (ia64_gdbarch_init): Remove registering of deprecated functions that | |
2491 | are no longer used. Add registration of new gdbarch functions. | |
2492 | Remove registering deprecated_write_sp. Replace | |
2493 | set_gdbarch_register_virtual_type() with set_gdbarch_register_type(). | |
2494 | Delete set_gdbarch_deprecated_register_convertible(), | |
2495 | set_gdbarch_deprecated_register_convert_to_virtual(), and | |
2496 | set_gdbarch_deprecated_register_convert_to_raw() calls. Remove | |
2497 | set_gdbarch_deprecated_register_size(), | |
2498 | set_gdbarch_deprecated_register_bytes(), | |
2499 | set_gdbarch_pcregnum(), | |
2500 | set_gdbarch_deprecated_register_byte(), | |
2501 | set_gdbarch_deprecated_register_raw_size(), | |
2502 | set_gdbarch_deprecated_max_register_raw_size(), | |
2503 | set_gdbarch_deprecated_register_virtual_size(), | |
2504 | and set_gdbarch_deprecated_max_register_virtual_size() calls. | |
2505 | Replace set_gdbarch_deprecated_extract_return_value() with | |
2506 | set_gdbarch_extract_return_value(). Remove calls to: | |
2507 | set_gdbarch_deprecated_saved_pc_after_call(); | |
2508 | set_gdbarch_deprecated_frame_chain(), | |
2509 | set_gdbarch_deprecated_frame_saved_pc(), | |
2510 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
2511 | set_gdbarch_deprecated_get_saved_register(), | |
2512 | set_gdbarch_deprecated_call_dummy_words(), | |
2513 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
2514 | set_gdbarch_deprecated_init_extra_frame_info(), | |
2515 | set_gdbarch_deprecated_frame_args_address(), | |
2516 | set_gdbarch_deprecated_frame_locals_address(), | |
2517 | and set_gdbarch_deprecated_dummy_write_sp(). | |
2518 | Add set_gdbarch_convert_register_p(), | |
2519 | set_gdbarch_register_to_value(), | |
2520 | set_gdbarch_value_to_register(), | |
2521 | set_gdbarch_push_dummy_call(), | |
2522 | set_gdbarch_frame_align(), | |
2523 | set_gdbarch_unwind_dummy_id(), | |
2524 | set_gdbarch_unwind_pc(), | |
2525 | frame_unwind_append_sniffer(), | |
2526 | frame_unwind_append_sniffer(), | |
2527 | and frame_base_set_default(). | |
2528 | ||
aede7613 CD |
2529 | 2003-08-25 Chris Demetriou <cgd@broadcom.com> |
2530 | ||
2531 | * configure.tgt: Document need for special "mipsisa64" handling. | |
2532 | (mipsisa64*-*-linux64): Handle as target linux64. | |
2533 | (mipsisa64*-*-*): Handle as target embed64. | |
2534 | ||
43c3a82e MC |
2535 | 2003-08-18 Michael Chastain <mec@shout.net> |
2536 | ||
2537 | * PROBLEMS: Document pr gdb/1322, the Java anonymous | |
2538 | objfile bug. | |
2539 | ||
6564f77d MK |
2540 | 2003-08-24 Mark Kettenis <kettenis@gnu.org> |
2541 | ||
2de139ba MK |
2542 | * i387-tdep.h: Update copyright date. |
2543 | (I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines. | |
2544 | ||
6564f77d MK |
2545 | * linux-proc.c (linux_proc_xfer_memory): Remove comment about |
2546 | CFLAGS games to reflect reality. | |
2547 | ||
42cf1509 AC |
2548 | 2003-08-24 Andrew Cagney <cagney@redhat.com> |
2549 | ||
2550 | * arm-tdep.c (_initialize_arm_tdep): Simplify by assuming | |
2551 | GDB_MULTI_ARCH is always non-zero. | |
2552 | * osabi.c (_initialize_gdb_osabi): Ditto. | |
2553 | (gdbarch_init_osabi): Ditto. | |
2554 | * sparc-tdep.c: Ditto for #if code. | |
2555 | ||
0485f6ad MK |
2556 | 2003-08-23 Mark Kettenis <kettenis@gnu.org> |
2557 | ||
2558 | * x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument. | |
2559 | Update comments. | |
2560 | * x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype. Update | |
2561 | comments. | |
2562 | * x86-64-linux-tdep.c (fetch_core_registers): Adjust call to | |
2563 | x86_64_supply_fxsave. | |
2564 | * x86-64-linux-nat.c (supply_fpregset): Adjust call to | |
2565 | x86_64_supply_fxsave. | |
2566 | * amd64fbsd-nat.c (supply_fpregset): Adjust call to | |
2567 | x86_64_supply_fxsave. | |
2568 | ||
c7716133 AJ |
2569 | 2003-08-23 Andreas Jaeger <aj@suse.de> |
2570 | ||
2571 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to | |
2572 | i387_supply_fxsave. | |
2573 | ||
ed504bdf MK |
2574 | 2003-08-23 Mark Kettenis <kettenis@gnu.org> |
2575 | ||
2576 | * go32-nat.c (fetch_register): Call i387_supply_fsave instead of | |
2577 | i387_supply_register. | |
2578 | (go32_fetch_registers): Adjust call to i387_supply_fsave. | |
2579 | * i386nbsd-tdep.c (fetch_core_registers): Adjust call to | |
2580 | i387_supply_fsave. | |
2581 | (fetch_elfcore_registers): Adjust call to i387_supply_fsave and | |
2582 | i387_supply_fxsave. | |
2583 | * i386obsd-tdep.c (fetch_core_registers): Adjust call to | |
2584 | i387_supply_fsave. | |
2585 | * i386bsd-nat.c (supply_fpregset): Adjust call to | |
2586 | i387_supply_fsave. | |
2587 | (fetch_inferior_registers): Remove extraneous whitespace. Adjust | |
2588 | call to i387_supply_fxsave. Call i387_supply_fsave instead of | |
2589 | supply_fpregset. | |
2590 | (store_inferior_registers): Remove extraneous whitespace. Call | |
2591 | i387_fill_fsave instead of fill_fpregset. | |
2592 | * i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave. | |
2593 | (supply_fpregset): Likewise. | |
2594 | * i386v4-nat.c (supply_fpregset): Adjust call to | |
2595 | i387_supply_fsave. | |
2596 | * i386-interix-nat.c (supply_fpregset): Adjust call to | |
2597 | i387_supply_fsave. | |
2598 | * i386-linux-nat.c (supply_fpregset): Adjust call to | |
2599 | i387_supply_fsave. | |
2600 | (supply_fpxregset): Adjust call to i387_adjust_fxsave. | |
2601 | * i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to | |
2602 | i387supply_fsave and i387_supply_fxsave. | |
2603 | * i387-tdep.c (i387_supply_fsave): Add `regnum' argument. | |
2604 | Incorporate code from `i387_supply_register. | |
2605 | (i387_supply_register): Remove. | |
2606 | (i387_supply_fxsave): Add `regnum' argument. | |
2607 | Update comments. | |
2608 | * i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust | |
2609 | prototype. | |
2610 | (i387_supply_register): remove prototype. | |
2611 | Update comments. | |
a8f4cde1 | 2612 | |
4be5d520 MC |
2613 | 2003-08-22 Michael Chastain <mec@shout.net> |
2614 | ||
2615 | * config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*. | |
2616 | Add lines for files in gdb/testsuite/gdb.cp/* that are | |
2617 | still not 8.3 unique. | |
2618 | ||
7ed85d26 DJ |
2619 | 2003-08-22 Daniel Jacobowitz <drow@mvista.com> |
2620 | ||
2621 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether | |
2622 | TYPE_VPTR_FIELDNO is valid. | |
2623 | ||
eb0d3137 MK |
2624 | 2003-08-19 Mark Kettenis <kettenis@gnu.org> |
2625 | ||
2626 | * utils.c (set_width_command): Remove prototypes. | |
2627 | (set_screen_size): New prototype. | |
2628 | (init_page_info): Simplify by fetching the screen size from | |
2629 | Readline. Call set_screen_size. | |
2630 | (set_screen_size): New function. | |
2631 | (set_width): Add missing whitespace in comment. | |
2632 | (set_width_command): Call set_screen_size. | |
2633 | (set_height_command): New function. | |
2634 | (initialize_utils): Fix formatting. Make "set height" command | |
2635 | call set_height_command. Remove redundant code that turns off | |
2636 | pagination if output isn't a terminal. Remove redundant call to | |
2637 | set_width_command. | |
a8f4cde1 | 2638 | |
7e6d0ac8 MK |
2639 | 2003-08-22 Mark Kettenis <kettenis@gnu.org> |
2640 | ||
3567a8ea MK |
2641 | * sparc64-tdep.h (sparc64_regnum): Fix comment. |
2642 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes. | |
2643 | (sparc_supply_rwindow, sparc_fill_rwindow): New prototypes. | |
2644 | * sparc64-tdep.c (sparc64_pseudo_register_read): Add missing | |
2645 | `case' keyword. | |
2646 | (sparc64_register_info): Give the reister with number | |
2647 | SPARC64_STATE_REGNUM a name. | |
2648 | (sparc64_pseudo_register_write): Add support for %cwp, %pstate, | |
2649 | %asi and %ccr. | |
2650 | (sparc64_push_dummy_call): Take BIAS into account when checking | |
2651 | stcak alignment. | |
2652 | (sparc_software_single_step): Remove assertions that check whether | |
2653 | NPC and NNPC were zero. | |
2654 | (sparc_supply_rwindow): Make public. Merge functionality with | |
2655 | sparc64_supply_rwindow. | |
2656 | (sparc_fill_rwindow): Make public. Merge functionality with | |
2657 | sparc64_fill_rwindow. | |
2658 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove. | |
2659 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set | |
2660 | SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p. | |
2661 | * sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call | |
2662 | sparc_supply_rwindow instead of sparc64_supply_rwindow. | |
2663 | ||
7e6d0ac8 MK |
2664 | * reggroups.c: Add whitespace after declarations of local |
2665 | variables in functions. | |
2666 | ||
72e5f484 MC |
2667 | 2003-08-21 Michael Chastain <mec@shout.net> |
2668 | ||
2669 | * gdbtypes.h: Change array bound type from an int to enum. | |
2670 | ||
435ac228 AC |
2671 | 2003-08-21 Andrew Cagney <cagney@redhat.com> |
2672 | ||
2673 | * config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code. | |
2674 | * config/sparc/tm-sparc.h: Ditto. | |
2675 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH | |
2676 | unconditionally. | |
2677 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto. | |
2678 | ||
0d0e1a63 MK |
2679 | 2003-07-13 Mark Kettenis <kettenis@gnu.org> |
2680 | ||
2681 | * objfiles.h (struct objfile): Add memebers `data' and `num_data'. | |
2682 | (register_objfile_data, set_objfile_data, objfile_data): New | |
2683 | prototypes. | |
2684 | * objfiles.c (objfile_alloc_data, objfile_free_data): New | |
2685 | prototypes. | |
2686 | (allocate_objfile): Call objfile_alloc_data. | |
2687 | (free_objfile): Call objfile_free_data. | |
2688 | (struct objfile_data): New. | |
2689 | (struct objfile_data_registration): New. | |
2690 | (struct objfile_data_registry): New. | |
2691 | (objfile_data_registry): New variable. | |
2692 | (register_objfile_data): New function. | |
2693 | (objfile_alloc_data, objfile_free_data): New functions. | |
2694 | (set_objfile_data, objfile_data): New functions. | |
2695 | * dwarf2-frame.c (dwarf2_frame_data): New variable. | |
2696 | (dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism. | |
2697 | (_initialize_dwarf2_frame): New function and prototype. | |
2698 | ||
d90cf509 AC |
2699 | 2003-08-21 Andrew Cagney <cagney@redhat.com> |
2700 | ||
2701 | * sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select | |
2702 | a specific architecture. | |
2703 | * arch-utils.h (set_architecture_from_arch_mach): Delete | |
2704 | declaration. | |
2705 | (target_architecture_hook): Delete declaration. | |
2706 | * arch-utils.c: Delete non GDB_MULTI_ARCH includes. | |
2707 | (default_float_format): Assume GDB_MULTI_ARCH. | |
2708 | (default_double_format): Assume GDB_MULTI_ARCH. | |
2709 | (set_endian_from_file): Delete function. | |
2710 | (arch_ok): Delete function. | |
2711 | (set_arch): Delete function. | |
2712 | (set_architecture_from_arch_mach): Delete function. | |
2713 | (set_architecture_from_file): Delete function. | |
2714 | (set_architecture): Assume GDB_MULTI_ARCH. | |
2715 | (set_gdbarch_from_file): Assume GDB_MULTI_ARCH. | |
2716 | ||
8b39fe56 MK |
2717 | 2003-08-21 Mark Kettenis <kettenis@gnu.org> |
2718 | ||
2719 | Rewrite FreeBSD/sparc64 native configuration. | |
2720 | * sparcbsd-nat.c, sparcbsd-nat.h: New files. | |
2721 | * sparc64fbsd-nat.c: New file. | |
2722 | * sparc64fbsd-tdep.c: New file. | |
2723 | * sparc64-tdep.c sparc64-tdep.h: New files. | |
2724 | * Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o, | |
2725 | sparc64fbsd-tdep.o): New dependencies. | |
2726 | (SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c | |
2727 | and sparc64fbsd-tdep.c. | |
2728 | (sparc64_tdep_h, sparcbsd_nat_h): New variables. | |
2729 | * config/sparc/fbsd.mh: Remove copyright notice. | |
2730 | (NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and | |
2731 | sparcbsd-nat.o. | |
2732 | * config/sparc/fbsd.mt: Remove copyright notice. | |
2733 | (TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o, | |
2734 | solib-legacy.o. Add sparc64-tdep.o and sparc64fbsd-tdep.o. | |
2735 | * config/sparc/nm-fbsd.h: Don't include "elf/common.h". | |
2736 | (SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS, | |
2737 | PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T, | |
2738 | regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu, | |
2739 | fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines. | |
2740 | * config/sparc/tm-fbsd.h: Don't include "solib.h" and | |
2741 | "sparc/tm-sp64.h". | |
2742 | (SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines. | |
2743 | (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM. | |
2744 | ||
a7f19c79 MC |
2745 | 2003-08-21 Michael Chastain <mec@shout.net> |
2746 | ||
2747 | * symtab.h: Add doco on the space critical structures and | |
2748 | some measurements of space usage. | |
2749 | ||
da08ea5b MS |
2750 | 2003-08-21 Michael Snyder <msnyder@redhat.com> |
2751 | ||
2752 | * tracepoint.c (trace_dump_command): Trace break address | |
2753 | is subject to DECR_PC_AFTER_BREAK. | |
2754 | (set_traceframe_context): Make "trace_line" an int. | |
2755 | Fixes suggested by Mark Newman <mark.newman@lmco.com> | |
a8f4cde1 | 2756 | |
6df2bf50 MS |
2757 | 2003-08-20 Michael Snyder <msnyder@redhat.com> |
2758 | ||
2759 | * sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG. | |
a8f4cde1 RM |
2760 | * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set |
2761 | FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for | |
6df2bf50 | 2762 | argument passing. |
a8f4cde1 | 2763 | (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New |
6df2bf50 MS |
2764 | functions, replace sh_push_dummy_call. |
2765 | (sh_gdbarch_init): Set push_dummy_call to one of new methods. | |
2766 | ||
0955bbf0 MC |
2767 | 2003-08-20 Michael Chastain <mec@shout.net> |
2768 | ||
2769 | * gdbtypes.h (struct main_type): Rearrange to save space. | |
2770 | ||
260a4188 MS |
2771 | 2003-08-20 Michael Snyder <msnyder@redhat.com> |
2772 | ||
2773 | * trad-frame.c: Comment typo fix. | |
2774 | ||
8baa6f92 KB |
2775 | 2003-08-20 Michael Snyder <msnyder@redhat.com> |
2776 | Kevin Buettner <kevinb@redhat.com> | |
2777 | ||
2778 | * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include. | |
2779 | (frv_frame_init_saved_regs): Add declaration. | |
2780 | (frame_extra_info): Add new field ``saved_regs''. | |
2781 | (frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue) | |
2782 | (frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular): | |
2783 | Update frame related code. | |
2784 | (frv_extract_struct_value_address): Adjust formatting. | |
2785 | * Makefile.in (frv-tdep.o): Update dependencies. | |
2786 | * config/frv/tm-frv.h (target_insert_watchpoint) | |
2787 | (target_remove_watchpoint, target_insert_hw_breakpoint) | |
2788 | (target_remove_hw_breakpoint): Delete these macros. | |
2789 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
2790 | (remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove | |
2791 | these declarations. | |
2792 | ||
87193939 MC |
2793 | 2003-08-20 Michael Chastain <mec@shout.net> |
2794 | ||
2795 | * defs.h (ENUM_BITFIELD): New macro. | |
2796 | * symtab.h (ENUM_BITFIELD): Use it. | |
2797 | (BYTE_BITFIELD): Remove old macro, which was already disabled. | |
2798 | ||
062103ba SA |
2799 | 2003-08-19 Shrinivas Atre <shrinivasa@kpitcummins.com> |
2800 | ||
2801 | * MAINTAINERS (write after approval): Add myself. | |
a8f4cde1 | 2802 | |
8b148df9 AC |
2803 | 2003-08-18 Andrew Cagney <cagney@redhat.com> |
2804 | ||
2805 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method. | |
2806 | * gdbarch.h, gdbarch.c: Re-generate. | |
2807 | * infcall.c (call_function_by_hand): Adjust the SP by | |
2808 | frame_red_zone_size before allocating any stack space. | |
2809 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size". | |
2810 | * x86-64-tdep.c (x86_64_frame_align): New function. | |
2811 | (x86_64_init_abi): Set "frame_red_zone_size" and "frame_align". | |
2812 | ||
2813 | * x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change. | |
2814 | Remove code adjusting SP so that it skips over the Red Zone. | |
2815 | ||
954a4db8 MK |
2816 | 2003-08-18 Mark Kettenis <kettenis@gnu.org> |
2817 | ||
2818 | * NEWS (New native configurations): Mention FreeBSD/amd64. | |
2819 | ||
1a241548 AC |
2820 | 2003-08-18 Andrew Cagney <cagney@redhat.com> |
2821 | ||
2822 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set | |
2823 | "dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of | |
2824 | "m68k_frame_p". | |
2825 | (m68hc11_frame_sniffer): Replace "m68hc11_frame_p". | |
2826 | ||
f82b2acd MK |
2827 | 2003-08-18 Mark Kettenis <kettenis@gnu.org> |
2828 | ||
2829 | * x86-64-tdep.c (x86_64_dwarf_regmap): Remove trailing whitespace. | |
2830 | ||
4056d258 ML |
2831 | 2003-08-18 Michal Ludvig <mludvig@suse.cz> |
2832 | ||
2833 | * config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): | |
2834 | Define. | |
2835 | * i386-linux-nat.c: Include "linux-nat.h". | |
2836 | (child_post_startup_inferior): New function. | |
a8f4cde1 | 2837 | |
99ab4326 MK |
2838 | 2003-08-18 Mark Kettenis <kettenis@gnu.org> |
2839 | ||
2840 | * i386-tdep.c (i386_analyze_register_saves): Handle register saves | |
2841 | at the start of a frameless function. This probably fixes PR | |
2842 | backtrace/1338. | |
2843 | ||
c8d5f0d6 MC |
2844 | 2003-08-17 Michael Chastain <mec@shout.net> |
2845 | ||
2846 | * symfile.c (find_sym_fns): Remove special case for apollo target. | |
2847 | ||
9016a515 DJ |
2848 | 2003-08-17 Daniel Jacobowitz <drow@mvista.com> |
2849 | ||
2850 | * linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define. | |
2851 | (PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define. | |
2852 | (linux_parent_pid, linux_supports_tracevforkdone_flag): New variable. | |
2853 | (linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag. | |
2854 | (linux_supports_tracevforkdone): New function. | |
2855 | (linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and | |
2856 | TRACEVFORKDONE. | |
2857 | (child_follow_fork): Handle vfork. | |
2858 | (linux_handle_extended_wait): Likewise. Also handle exec. | |
2859 | (child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable. | |
2860 | * NEWS: Mention fork tracing. | |
2861 | ||
c538c11c DJ |
2862 | 2003-08-17 Daniel Jacobowitz <drow@mvista.com> |
2863 | ||
2864 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
2865 | ||
4de4c07c DJ |
2866 | 2003-08-17 Daniel Jacobowitz <drow@mvista.com> |
2867 | ||
2868 | * Makefile.in (i386-linux-nat.o): Update dependencies. | |
2869 | * config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. | |
2870 | * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH) | |
2871 | (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define. | |
2872 | * i386-linux-nat.c: Include "linux-nat.h". | |
2873 | (child_post_startup_inferior): New function. | |
2874 | * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef. | |
2875 | * infptrace.c (kill_inferior): Wrap in #ifdef. | |
2876 | * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after | |
2877 | attaching to each LWP. | |
2878 | (child_wait, lin_lwp_wait): Call linux_handle_extended_wait. | |
2879 | (init_lin_lwp_ops): Fill in some more operations. | |
2880 | * linux-nat.h (linux_enable_event_reporting) | |
2881 | (linux_handle_extended_wait, linux_child_post_startup_inferior): New | |
2882 | prototypes. | |
2883 | * linux-nat.c (linux_enable_event_reporting): New function. | |
2884 | (child_post_attach, linux_child_post_startup_inferior) | |
2885 | (child_post_startup_inferior, child_follow_fork) | |
2886 | (linux_handle_extended_wait, kill_inferior): New functions. | |
2887 | ||
7996bcec AC |
2888 | 2003-08-16 Andrew Cagney <cagney@redhat.com> |
2889 | ||
2890 | * gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code. | |
2891 | * gdbarch.h, gdbarch.c: Re-generate. | |
2892 | ||
3d48a7a0 MK |
2893 | 2003-08-16 Mark Kettenis <kettenis@gnu.org> |
2894 | ||
2895 | * config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define. | |
2896 | ||
7989c619 AC |
2897 | 2003-08-16 Andrew Cagney <cagney@redhat.com> |
2898 | ||
2899 | * NEWS: Mention that "set prompt-escape-char" was deleted. | |
2900 | * top.c (get_prompt_1): Delete function. | |
2901 | (gdb_prompt_escape): | |
2902 | (init_main): Do not clear "gdb_prompt_escape". Delete "set | |
2903 | prompt-escape-char" command. | |
2904 | (MAX_PROMPT_SIZE): Delete macro. | |
2905 | (get_prompt): Simplify, do not call get_prompt_1. | |
2906 | ||
07978cd8 AC |
2907 | 2003-08-16 Andrew Cagney <cagney@redhat.com> |
2908 | ||
2909 | * Makefile.in (printcmd.o, valprint.o): Do not try to build with | |
2910 | -Werror. -Wformat-nonliteral problems. | |
2911 | ||
3ff7cf9e JB |
2912 | 2003-08-15 J. Brobecker <brobecker@gnat.com> |
2913 | ||
2914 | Further multiarching work mostly for hppa64-*-hpux11: | |
2915 | * hppa-tdep.h: New file. | |
2916 | * hppa-tdep.c: #include hppa-tdep.c. | |
2917 | (hppa32_num_regs): Renamed from hppa_num_regs. | |
2918 | (hppa64_num_regs): New constant. | |
2919 | (hppa64_call_dummy_breakpoint_offset): New constant. | |
2920 | (hppa32_call_dummy_length): New constant. | |
2921 | (hppa64_call_dummy_length): New constant. | |
2922 | (hppa32_stack_align): Make name 32bit explicit. | |
2923 | (hppa32_register_virtual_type): Likewise. | |
2924 | (hppa32_extract_return_value): Likewise. | |
2925 | (hppa32_use_struct_convention): Likewise. | |
2926 | (hppa32_store_return_value): Likewise. | |
2927 | (hppa64_register_virtual_type): New function. | |
2928 | (hppa64_extract_return_value): New function. | |
2929 | (hppa64_use_struct_convention): New function. | |
2930 | (hppa64_store_return_value): New function. | |
2931 | (hppa_frame_locals_address): Remove declaration, function does | |
2932 | not exist anymore. | |
2933 | (hppa_register_byte): Add support for PA64 ABI. | |
2934 | (hppa_gdbarch_init): Add support for PA64 ABI. | |
2935 | * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp): | |
2936 | Make name 32bit explicit. | |
2937 | (hppa32_hpux_frame_base_before_sigtramp): Likewise. | |
2938 | (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise. | |
2939 | (hppa64_hpux_frame_saved_pc_in_sigtramp): New function. | |
2940 | (hppa64_hpux_frame_base_before_sigtramp): New function. | |
2941 | (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function. | |
2942 | * config/pa/tm-hppa64.h: Remove macros that are no longer | |
2943 | necessary now that the gdbarch vector is properly setup. | |
a8f4cde1 | 2944 | Transform some macros into function calls. Some minor cleanup. |
3ff7cf9e JB |
2945 | * config/pa/tm-hppah.h: Update function calls in macros |
2946 | following the function renaming in hppa-hpux-tdep.c. | |
2947 | * Makefile.in (hppa_tdep_h): New variable. | |
2948 | (hppa-tdep.o): Add dependency over hppa_tdep_h. | |
2949 | ||
5d05ca6d MS |
2950 | 2003-08-14 Michael Snyder <msnyder@redhat.com> |
2951 | ||
2952 | * disasm.c (gdb_disassemble_info): Set info->insn_sets to zero. | |
2953 | ||
37ba2569 JB |
2954 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
2955 | ||
2956 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct | |
2957 | bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization | |
2958 | routine. | |
2959 | ||
aed7f26a MS |
2960 | 2003-08-13 Michael Snyder <msnyder@redhat.com> |
2961 | ||
2962 | * frv-tdep.c (frv_push_arguments): Use deprecated ftype. | |
2963 | (frv_saved_pc_after_call): Use deprecated ftype. | |
2964 | (stupid_useless_init_extra_frame_info): Remove orphan prototype. | |
2965 | (frv_remote_translate_xfer_address): Remove. | |
2966 | (frv_gdbarch_init): Use generic_remote_translate_xfer_address. | |
2967 | ||
752d4ac1 JB |
2968 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
2969 | ||
2970 | * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch | |
2971 | initialization after the common gdbarch initialization, not before. | |
2972 | ||
1426ac1d JB |
2973 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
2974 | ||
2975 | * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used. | |
2976 | (ADDR_BITS_REMOVE): Remove, redundant. | |
2977 | ||
b6fbdd1d JB |
2978 | 2003-08-13 J. Brobecker <brobecker@gnat.com> |
2979 | ||
2980 | * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove | |
2981 | gdbarch method to clear the 2 low bits of text addresses. | |
2982 | ||
44160db3 AC |
2983 | 2003-08-12 Andrew Cagney <cagney@redhat.com> |
2984 | ||
2985 | * Makefile.in (dsrec.o): Update dependencies. | |
2986 | * dsrec.c: Include "gdb_assert.h". | |
2987 | (make_srec): Use snprintf instead of sprintf, use a literal format | |
2988 | string. | |
2989 | ||
bcf7d3ca AC |
2990 | 2003-08-12 Andrew Cagney <cagney@redhat.com> |
2991 | ||
2992 | * frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of | |
2993 | FRAME_OBSTACK_ZALLOC. | |
2994 | ||
49ed40de KB |
2995 | 2003-08-12 Kevin Buettner <kevinb@redhat.com> |
2996 | ||
2997 | * i386-tdep.c (i386_gdbarch_init): Enable default support for | |
2998 | SSE registers. | |
2999 | ||
b246147c MK |
3000 | 2003-08-10 Mark Kettenis <kettenis@gnu.org> |
3001 | ||
3002 | * x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end, | |
3003 | amd64fbsd_sc_reg_offset): Add extern declarations. | |
3004 | * amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern | |
3005 | declarations. | |
3006 | ||
d95fdc0d BE |
3007 | 2003-08-11 Ben Elliston <bje@wasabisystems.com> |
3008 | ||
3009 | * MAINTAINERS (write after approval): Update my mail address. | |
3010 | ||
cf6a0e73 AC |
3011 | 2003-08-10 Andrew Cagney <cagney@redhat.com> |
3012 | ||
3013 | * Makefile.in (monitor.o): Do not build monitor.c with -Werror. | |
3014 | ||
f837910f MK |
3015 | 2003-08-10 Mark Kettenis <kettenis@gnu.org> |
3016 | ||
e2dbbd2d MK |
3017 | * i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, |
3018 | i386obsd_sigtramp_start, i386obsd_sigtramp_end, | |
3019 | i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset, | |
3020 | i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset, | |
3021 | i386bsd_sc_reg_offset): Add extern declarations. | |
3022 | * i386obsd-nat.c: Include "i386-tdep.h" | |
3023 | (_initialize_i386obsd_nat): Remove extern declarations. | |
3024 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern | |
3025 | declarations. | |
3026 | * i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern | |
3027 | declarations. | |
3028 | ||
f837910f MK |
3029 | * i386-tdep.c (i386_register_to_value): Use get_frame_register |
3030 | instead of frame_read_register. | |
3031 | (i386_fetch_pointer_argument): Use get_frame_register_unsigned | |
3032 | instead of frame_read_register. Use I386_ESP_REGNUM instead of | |
3033 | SP_REGNUM. | |
3034 | (i386_frame_prev_register): Use frame_unwind_register_unsigned | |
3035 | instead of frame_unwind_unsigned_register. Use | |
3036 | I386_EFLAGS_REGISTER instead of PS_REGNUM. | |
3037 | (i386_get_longjmp_target): Use regcache_read_unsigned_register | |
3038 | instead of read_register. Use builtin_type_void_data_ptr instead | |
3039 | of builtin_type_void_func_ptr when extracting the address of the | |
3040 | jmp_buf. | |
3041 | (i386_extract_return_value, i386_store_return_value, | |
3042 | i386_pseudo_register_read, i386_pseudo_register_write): Use | |
3043 | register_size instead REGISTER_RAW_SIZE. | |
3044 | ||
edcf254d AC |
3045 | 2003-08-10 Andrew Cagney <cagney@redhat.com> |
3046 | ||
3047 | * infcall.c (call_function_by_hand): Use xstrprintf instead of | |
3048 | sprintf. Make "name" constant. | |
3049 | ||
26604a34 MK |
3050 | 2003-08-10 Mark Kettenis <kettenis@gnu.org> |
3051 | ||
192285c6 MK |
3052 | * i387-tdep.c (i387_register_to_value): Use get_frame_register |
3053 | instead of frame_read_register. | |
f837910f MK |
3054 | (i387_print_float_info): Use get_frame_register and |
3055 | get_frame_register_unsigned instead of frame_register_read. | |
192285c6 | 3056 | |
f0925262 MK |
3057 | * i386fbsd-nat.c: Include "i386-tdep.h". |
3058 | (child_resume): Make `eflags' an ULONGEST. Use | |
3059 | regcache_cooked_read_unsigned and regcache_cooked_write_unsigned | |
3060 | instead of register_read and register_write. | |
3061 | ||
a144416f MK |
3062 | * i386bsd-nat.c (fetch_inferior_registers, |
3063 | store_inferior_registers): Don't use && at the end of a line. | |
3064 | (_initialize_i386bsd_nat): Fix typo. | |
3065 | ||
fec74868 MK |
3066 | * frame.c (_initialize_frame): Add missing backslash. |
3067 | ||
87232496 MK |
3068 | From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de): |
3069 | * sol-thread.c (sol_thread_store_registers): Use regcache_collect | |
3070 | and supply_register instead of manipulating the register buffer | |
3071 | directly. | |
3072 | ||
c9b9de0b MK |
3073 | From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de): |
3074 | * config/i386/nm-i386sol2.h | |
3075 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one. | |
3076 | ||
26604a34 MK |
3077 | Based on a patch from Michael Elizabeth Chastain (mec@shout.net): |
3078 | * i386-tdep.c (i386_analyze_frame_setup): Recognize more | |
3079 | instructions that GCC likes to mingle into the prologue. Fixes | |
3080 | gdb/1253 and gdb/1255. | |
3081 | ||
25d29d70 AC |
3082 | 2003-08-09 Andrew Cagney <cagney@redhat.com> |
3083 | ||
3084 | Fix GDB PR cli/926. | |
3085 | * cli/cli-decode.c (add_setshow_uinteger_cmd): New function. | |
3086 | * command.h (add_setshow_uinteger_cmd): Declare. | |
3087 | * frame.c (set_backtrace_cmd): New function. | |
3088 | (show_backtrace_cmd): New function. | |
3089 | * frame.c (_initialize_frame): Replace "set/show | |
3090 | backtrace-below-main" with "set/show backtrace past-main". Add | |
3091 | command "set/show backtrace limit". | |
3092 | (backtrace_past_main): Rename "backtrace_below_main". | |
3093 | (backtrace_limit): New variable. | |
3094 | (get_prev_frame): Update. Check the backtrace_limit. | |
3095 | ||
9ebf4acf AC |
3096 | 2003-08-09 Andrew Cagney <cagney@redhat.com> |
3097 | ||
3098 | * defs.h (xstrprintf): Declare. | |
3099 | * utils.c (xstrprintf): New function. | |
3100 | * breakpoint.c (insert_breakpoints): Replace sprintf and | |
3101 | non-literal format strings, with xstrprintf and cleanups. | |
3102 | (delete_breakpoint,breakpoint_re_set): Ditto. | |
3103 | (commands_command, insert_breakpoints): Ditto. | |
3104 | (bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto. | |
3105 | (break_at_finish_command_1): Ditto. | |
3106 | ||
3771659b AC |
3107 | 2003-08-09 Andrew Cagney <cagney@redhat.com> |
3108 | ||
3109 | * MAINTAINERS (language support): List Adam Fedor as Objective C | |
3110 | maintainer. | |
3111 | ||
b4263afa JB |
3112 | 2003-08-08 J. Brobecker <brobecker@gnat.com> |
3113 | ||
3114 | * NEWS (Multi-arched targets): Document that all hppa-hpux targets | |
3115 | are now multiarched. | |
3116 | ||
d84defb1 JB |
3117 | 2003-08-08 J. Brobecker <brobecker@gnat.com> |
3118 | ||
3119 | * config/pa/tm-hppa64.h: Remove lots of macros that are no | |
3120 | longer necessary now that hppa64 is partially multiarch'ed. | |
3121 | ||
f786f615 AC |
3122 | 2003-08-08 Andrew Cagney <cagney@redhat.com> |
3123 | ||
3124 | * interps.c (interp_set): Check for a NULL "old_interp". | |
3125 | ||
c938e9b0 L |
3126 | 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> |
3127 | ||
3128 | * Makefile.in (FLAGS_TO_PASS): Add DESTDIR. | |
3129 | (install-only): Support DESTDIR. | |
3130 | (uninstall): Likewise. | |
3131 | (install-gdbtk): Likewise. | |
3132 | ||
9a146a11 EZ |
3133 | 2003-08-08 Elena Zannoni <ezannoni@redhat.com> |
3134 | ||
3135 | * symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this | |
3136 | contains something meaningful at all times. | |
3137 | ||
3138 | Fri Aug 8 00:28:46 UTC 2003 Brendan Conoboy <blc@redhat.com> | |
7a76ced5 | 3139 | |
62599e99 | 3140 | * configure.host: Set gdb_host_cpu=arm when host_cpu=xscale. |
7a76ced5 | 3141 | |
56296155 BC |
3142 | Fri Aug 8 00:28:38 UTC 2003 Brendan Conoboy <blc@redhat.com> |
3143 | ||
62599e99 | 3144 | * MAINTAINERS (write after approval): Added self. |
56296155 | 3145 | |
9710e734 AC |
3146 | 2003-08-07 Andrew Cagney <cagney@redhat.com> |
3147 | ||
3148 | * inferior.h (AT_SYMBOL): Define. | |
3149 | * blockframe.c (inside_entry_file): Check for AT_SYMBOL. | |
3150 | * infcall.c (call_function_by_hand): Add code to handle AT_SYMBOL. | |
3151 | * mips-tdep.c (mips_call_dummy_address): Delete function. | |
3152 | (mips_gdbarch_init): Set call_dummy_location to AT_SYMBOL, do not | |
3153 | set call_dummy_address. | |
3154 | ||
98b3ab73 AC |
3155 | 2003-08-07 Andrew Cagney <cagney@redhat.com> |
3156 | ||
3157 | * language.c (op_error): Delete function. | |
3158 | (binop_type_check): Delete function. | |
3159 | * language.h (type_op_error, range_op_error): Delete macros. | |
3160 | (op_error): Delete declaration. | |
3161 | ||
2fcf52f0 AC |
3162 | 2003-08-07 Andrew Cagney <cagney@redhat.com> |
3163 | ||
3164 | * interps.h (INTERP_MI2, INTERP_MI3): Define. | |
3165 | ||
abd4220e | 3166 | 2003-08-07 Michal Ludvig <mludvig@suse.cz> |
fd83bada | 3167 | |
abd4220e | 3168 | * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers. |
fd83bada | 3169 | (x86_64_push_arguments): Skip the red zone. |
abd4220e | 3170 | |
9dd5f34f AC |
3171 | 2003-08-05 Andrew Cagney <cagney@redhat.com> |
3172 | ||
3173 | * reggroups.c (reggroup_next): Check for the final entry. | |
3174 | ||
e5e78edc AC |
3175 | 2003-08-04 Andrew Cagney <cagney@redhat.com> |
3176 | ||
ab4e3d93 AC |
3177 | * monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT. |
3178 | * cli/cli-script.c (define_command): Call query directly, instead | |
3179 | of passing it a buffer. | |
3180 | * ocd.c (ocd_error): Pass error a constant format string. | |
3181 | * remote-mips.c (mips_error): Use fputs_filtered. | |
3182 | ||
1062ca82 AC |
3183 | * solib-svr4.c (_initialize_svr4_solib): Update |
3184 | register_gdbarch_data call. | |
3185 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto. | |
3186 | ||
fcc1c85c AC |
3187 | * gdbarch.sh (gdbarch_data_free_ftype): Delete declaration. |
3188 | (register_gdbarch_data): Delete "free" parameter. Update | |
3189 | comments. | |
3190 | * gdbarch.h, gdbarch.c: Re-generate. | |
3191 | * reggroups.c (_initialize_reggroup): Update. | |
3192 | * gnu-v3-abi.c (init_gnuv3_ops): Update. | |
3193 | * frame-base.c (_initialize_frame_base): Update. | |
3194 | * frame-unwind.c (_initialize_frame_unwind): Update. | |
3195 | * user-regs.c (_initialize_user_regs): Update. | |
3196 | * remote.c (_initialize_remote): Update. | |
3197 | * regcache.c (_initialize_regcache): Update. | |
3198 | ||
116f06ea AC |
3199 | * regcache.c (xfree_regcache_descr): Delete function. |
3200 | (_initialize_regcache): Update call to register_gdbarch_data. | |
3201 | (init_regcache_descr, init_legacy_regcache_descr): Use | |
3202 | GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC. | |
3203 | ||
e5e78edc AC |
3204 | * remote.c (free_remote_state): Delete function. |
3205 | (_initialize_remote): Update register_gdbarch_data. | |
3206 | (init_remote_state): Use GDBARCH_OBSTACK_XALLOC and | |
3207 | GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc. | |
3208 | ||
6c7d17ba AC |
3209 | 2003-08-04 Andrew Cagney <cagney@redhat.com> |
3210 | ||
3211 | * reggroups.c (struct reggroup_el): Define. | |
3212 | (struct reggroups): Delete field "nr_group". Replace array | |
3213 | "group" with a "first" to "last" linked list. | |
3214 | (reggroups_init): Update. Allocate using gdbarch's obstack. | |
3215 | (reggroups_free): Delete function. | |
3216 | (add_group): Update. Add "el" parameter. | |
3217 | (reggroup_add): Pass gdbarch obstack allocated space to add_group. | |
3218 | (default_groups): Update. | |
3219 | (reggroup_next): Replace reggroups. | |
3220 | (reggroups_dump): Update. | |
3221 | (_initialize_reggroup): Pass XMALLOC allocated space to add_group. | |
3222 | * regcache.c (regcache_dump): Use reggroup_next instead of reggroups. | |
3223 | * infcmd.c (registers_info): Use reggroup_next instead of reggroups. | |
3224 | ||
89b7795b DJ |
3225 | 2003-08-04 Daniel Jacobowitz <drow@mvista.com> |
3226 | ||
3227 | * Makefile.in (tui-interp.o): Update dependencies. | |
3228 | ||
306d9ac5 DC |
3229 | 2003-08-04 David Carlton <carlton@kealia.com> |
3230 | ||
3231 | * charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args | |
3232 | to internal_error call. | |
3233 | * source.c (forward_search_command): Add "%s" format argument. | |
3234 | (reverse_search_command): Ditto. | |
3235 | * top.c (quit_confirm): Ditto. | |
3236 | * cli/cli-setshow.c (do_setshow_command): Ditto. | |
3237 | * cp-valprint.c (cp_print_class_method): Replace | |
3238 | {f,}printf_{un,}filtered by {f,}puts_{un,}filtered. | |
3239 | (cp_print_class_member): Ditto. | |
3240 | * event-top.c (command_line_handler): Ditto. | |
3241 | * linux-proc.c (linux_info_proc_cmd): Ditto. | |
3242 | * p-typeprint.c (pascal_type_print_base): Ditto. | |
3243 | * p-valprint.c (pascal_object_print_class_method): Ditto. | |
3244 | (pascal_object_print_class_member): Ditto. | |
3245 | * printcmd.c (print_scalar_formatted,printf_command): Ditto. | |
3246 | * remote.c (remote_cisco_section_offsets): Ditto. | |
3247 | * top.c (command_line_input): Ditto. | |
3248 | * utils.c (vwarning,error_stream,quit): Ditto. | |
3249 | * valprint.c (print_floating,print_binary_chars) | |
3250 | (print_octal_chars,print_decimal_chars,print_hex_chars): Ditto. | |
3251 | ||
57bfe177 AC |
3252 | 2003-08-04 Andrew Cagney <cagney@redhat.com> |
3253 | ||
3254 | * frame.c (frame_func_unwind): Use frame_unwind_address_in_block. | |
3255 | ||
e546b999 AC |
3256 | 2003-08-02 Andrew Cagney <cagney@redhat.com> |
3257 | ||
3258 | * config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc, | |
3259 | gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and | |
3260 | amd64fbsd-nat.c. | |
3261 | ||
91092ee5 AC |
3262 | 2003-08-02 Andrew Cagney <cagney@redhat.com> |
3263 | ||
3264 | * Makefile.in: Update all dependencies and definitions. | |
3265 | ||
889f28e2 AF |
3266 | 2003-08-02 Adam Fedor <fedor@gnu.org> |
3267 | ||
3268 | * linespec.c (is_objc_method_format): New function | |
3269 | (decode_line_1, locate_first_half): Use it. | |
3270 | Fixes PR objc/1298 | |
3271 | ||
880bc914 AC |
3272 | 2003-08-01 Andrew Cagney <cagney@redhat.com> |
3273 | ||
3274 | * NEWS: Mention that m32r is multi-arch. | |
3275 | From 2003-07-28 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
3276 | * configure.tgt: Recognize m32r-*-*. | |
3277 | * config/m32r/tm-m32r.h: Delete file. | |
3278 | * config/m32r/m32r.mt: New file. | |
a8f4cde1 | 3279 | * m32r-rom.c (m32r_upload_command): Use hostent only when |
880bc914 AC |
3280 | gethostname succeeds, in order to avoid a compilation |
3281 | warning. | |
3282 | * m32r-tdep.c (m32r_store_return_value): Add a cast to remove a | |
3283 | compiler warning. | |
3284 | ||
19f59343 MS |
3285 | 2003-08-01 Michael Snyder <msnyder@redhat.com> |
3286 | ||
3287 | * sh-tdep.c (sh_frame_align): New gdbarch method. | |
3288 | (sh_gdbarch_init): Set up frame_align method. | |
3289 | ||
4e7d7511 MS |
3290 | 2003-07-31 Michael Snyder <msnyder@redhat.com> |
3291 | ||
3292 | * value.h, values.c, infcall.c, infcmd.c: Revert 07-30 change, | |
3293 | which is already covered by the new frames infrastructure. | |
3294 | ||
63022984 AC |
3295 | 2003-07-31 Andrew Cagney <cagney@redhat.com> |
3296 | ||
3297 | * user-regs.c (struct user_reg): Add "next" link. | |
3298 | (struct user_regs): Replace "user" with "first" and "last" links. | |
3299 | (append_user_reg): Add pre-allocated "reg" parameter. | |
3300 | (builtin_user_regs): Provide initial value for "last". | |
3301 | (user_reg_add_builtin): XMALLOC memory for append_user_reg. | |
3302 | (user_regs_init): Allocate memory from the gdbarch obstack. | |
3303 | (user_reg_add): GDBARCH_OBSTACK_ZALLOC memory for append_user_reg. | |
3304 | (user_reg_map_name_to_regnum): Rewrite to search the user_reg | |
3305 | linked list. | |
3306 | (usernum_to_user_reg): New function. | |
3307 | (user_reg_map_regnum_to_name): Use usernum_to_user_reg. | |
3308 | (value_of_user_reg): Use usernum_to_user_reg. | |
3309 | (user_regs_free): Delete function. | |
3310 | (_initialize_user_regs): Update register_gdbarch_data call. | |
3311 | ||
7cf6e574 DJ |
3312 | 2003-07-31 Daniel Jacobowitz <drow@mvista.com> |
3313 | ||
3314 | * dwarf2read.c (new_symbol): Use var_decode_location for parameters. | |
3315 | ||
c48a845b MS |
3316 | 2003-07-30 Michael Snyder <msnyder@redhat.com> |
3317 | ||
4e7d7511 | 3318 | * value.h (value_being_returned): Add a struct_addr argument. |
a8f4cde1 | 3319 | * infcall.c (call_function_by_hand): Pass struct_addr to |
c48a845b MS |
3320 | value_being_returned. |
3321 | * infcmd.c (print_return_value): Pass zero as struct_addr. | |
3322 | * values.c (value_being_returned): If struct_addr is passed, | |
3323 | use it instead of trying to recover it from the inferior. | |
3324 | ||
f0d8db19 KB |
3325 | 2003-07-30 Kevin Buettner <kevinb@redhat.com> |
3326 | ||
3327 | * mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that | |
3328 | the prologue analyzer won't need to attempt to extract the pc | |
3329 | value from the woefully incomplete dummy frame. | |
3330 | (mn10300_analyze_prologue): Avoid calls to get_frame_pc() when | |
3331 | possible. Disable code which modifies the frame. | |
3332 | ||
e5c113a1 AC |
3333 | 2003-07-28 Andrew Cagney <cagney@redhat.com> |
3334 | ||
3335 | * annotate.c (annotate_breakpoints_headers): Restrict annotation | |
3336 | to level 2. | |
3337 | (annotate_breakpoints_table, annotate_record): Ditto. | |
3338 | (annotate_breakpoints_table_end, annotate_field_begin): Ditto. | |
3339 | (annotate_field_name_end, annotate_field_value): Ditto. | |
3340 | (annotate_field_end, annotate_frame_source_begin): Ditto. | |
3341 | (annotate_frame_source_file, annotate_frame_source_file_end): Ditto. | |
3342 | (annotate_frame_source_line, annotate_frame_source_end): Ditto. | |
3343 | (annotate_frame_begin, annotate_frame_function_name): Ditto. | |
3344 | (annotate_frame_address_end, annotate_frame_address): Ditto. | |
3345 | (annotate_frame_args, annotate_frame_end): Ditto. | |
3346 | (annotate_frame_where, annotate_arg_begin): Ditto. | |
3347 | (annotate_arg_name_end, annotate_arg_value): Ditto. | |
3348 | (annotate_arg_end, annotate_signal_handler_caller): Ditto. | |
3349 | (annotate_function_call, annotate_signal_name): Ditto. | |
3350 | (annotate_signal_string, annotate_signal_name_end): Ditto. | |
3351 | (annotate_signal_string_end, annotate_value_history_begin): Ditto. | |
3352 | (annotate_value_begin, annotate_value_history_value): Ditto. | |
3353 | (annotate_value_history_end, annotate_value_end): Ditto. | |
3354 | (annotate_display_begin, annotate_display_number_end): Ditto. | |
3355 | (annotate_display_format, annotate_display_expression): Ditto. | |
3356 | (annotate_display_expression_end, annotate_display_value): Ditto. | |
3357 | (annotate_display_end, annotate_array_section_begin): Ditto. | |
3358 | (annotate_elt_rep, annotate_elt_rep_end): Ditto. | |
3359 | (annotate_elt, annotate_array_section_end): Ditto. | |
3360 | ||
bb1db049 AC |
3361 | 2003-07-28 Andrew Cagney <cagney@redhat.com> |
3362 | ||
3363 | * regcache.c (struct regcache_descr): Update comments on | |
3364 | nr_raw_registers. | |
3365 | (init_legacy_regcache_descr): Don't set nr_raw_registers or | |
3366 | sizeof_raw_register_valid_p. | |
3367 | (init_regcache_descr): Set nr_raw_registers and | |
3368 | sizeof_raw_register_valid_p before calling | |
3369 | init_legacy_regcache_descr. | |
3370 | ||
20e6603c AC |
3371 | 2003-07-28 Andrew Cagney <cagney@redhat.com> |
3372 | ||
3373 | * mips-tdep.c (print_gp_register_row): Print the GPR's register | |
3374 | MOD NUM_REGS. | |
3375 | ||
db742940 DJ |
3376 | 2003-07-28 Daniel Jacobowitz <drow@mvista.com> |
3377 | ||
3378 | * thread.c (info_threads_command): Use get_selected_frame (). | |
3379 | Check that there is at least one non-sentinel frame. | |
3380 | ||
ce7f4371 SC |
3381 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
3382 | ||
3383 | * m68hc11-tdep.c (struct frame_extra_info): Remove. | |
3384 | (m68hc11_pop_frame): Remove. | |
3385 | (m68hc11_frame_saved_pc): Remove. | |
3386 | (m68hc11_frame_chain): Remove. | |
3387 | (m68hc11_frame_init_saved_regs): Remove. | |
3388 | (m68hc11_init_extra_frame_info): Remove. | |
3389 | (m68hc11_store_struct_return): Remove. | |
3390 | (m68hc11_saved_pc_after_call): Remove. | |
3391 | ||
1ea653ae SC |
3392 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
3393 | ||
3394 | * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold | |
3395 | frame unwind information. | |
3396 | (m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue | |
3397 | and adapted for frame unwinding. | |
3398 | (m68hc11_skip_prologue): Update to scan prologue in temporary object. | |
3399 | (m68hc11_unwind_pc): New function. | |
3400 | (m68hc11_frame_unwind_cache): New function to analyze frames. | |
3401 | (m68hc11_frame_this_id): New function to create new frame struct. | |
3402 | (m68hc11_frame_prev_register): New function to unwind a register from | |
3403 | the frame. | |
3404 | (m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder. | |
3405 | (m68hc11_frame_p): New function for the above. | |
3406 | (m68hc11_frame_base_address): New function to return fp of frame. | |
3407 | (m68hc11_frame_args_address): Update for frame. | |
3408 | (m68hc11_frame_base): Default 68hc11/68hc12 frame. | |
3409 | (m68hc11_unwind_sp): New function. | |
3410 | (m68hc11_unwind_dummy_id): New function. | |
3411 | (m68hc11_gdbarch_init): Install the above frames; remove deprecated | |
3412 | calls. | |
3413 | ||
c8a7f6ac SC |
3414 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
3415 | ||
3416 | * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc. | |
3417 | (m68hc11_guess_from_prologue): Advance the pc and frame size only | |
3418 | when we are beyond the current pc. | |
3419 | ||
3dc990bf SC |
3420 | 2003-07-27 Stephane Carrez <stcarrez@nerim.fr> |
3421 | ||
3422 | * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted | |
3423 | from m68hc11_push_arguments. | |
3424 | (m68hc11_push_arguments): Remove. | |
3425 | (m68hc11_push_return_address): Remove. | |
3426 | (m68hc11_gdbarch_init): Install the above; remove above deprecated | |
3427 | handlers; remove deprecated_extra_stack_alignment_needed. | |
3428 | ||
222e5d1d AC |
3429 | 2003-07-27 Andrew Cagney <cagney@redhat.com> |
3430 | ||
3431 | * config/pa/tm-hppa.h (init_frame_pc_default): Declare. | |
3432 | * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update | |
3433 | REAL_PC and not the pointer. | |
3434 | * hppa-hpux-tdep.c: Include frame.h | |
3435 | ||
a7e9a47e AC |
3436 | 2003-07-27 Andrew Cagney <cagney@redhat.com> |
3437 | ||
3438 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to | |
3439 | GDB_MULTI_ACH_PARTIAL. | |
3440 | ||
7e3dd49e AC |
3441 | 2003-07-27 Andrew Cagney <cagney@redhat.com> |
3442 | ||
3443 | Patch from 2003-07-22 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
3444 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style - | |
3445 | operator at start and not end of line. | |
3446 | (decode_prologue): Ditto. | |
3447 | (m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use | |
3448 | frame_unwind_register_unsigned instead of | |
3449 | frame_unwind_unsigned_register. | |
3450 | (m32r_read_pc): Use regcache_cooked_read_unsigned instead of | |
3451 | read_register. | |
3452 | (m32r_push_dummy_call): Use register_size instead of | |
3453 | REGISTER_RAW_SIZE. | |
3454 | (m32r_frame_sniffer): Replace m32r_frame_p. | |
3455 | (m32r_gdbarch_init): Call frame_unwind_append_sniffer. | |
3456 | * m32r-rom.c (report_transfer_performance): Delete extern | |
3457 | declaration. | |
3458 | (m32r_load, m32r_upload_command): Use print_transfer_performance | |
3459 | instead of report_transfer_performance. | |
3460 | (_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd | |
3461 | / add_show_from_set. | |
3462 | ||
0880807f AC |
3463 | 2003-07-26 Andrew Cagney <cagney@redhat.com> |
3464 | ||
3465 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated | |
3466 | store_return_value and extract_struct_value_address. | |
3467 | ||
64ae9269 DJ |
3468 | 2003-07-26 Daniel Jacobowitz <drow@mvista.com> |
3469 | ||
3470 | PR c++/1267 | |
3471 | * minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is | |
3472 | NULL, default to the section containing PC. | |
3473 | ||
e286caf2 SC |
3474 | 2003-07-24 Stephane Carrez <stcarrez@nerim.fr> |
3475 | ||
3476 | * NEWS: Mention "regs" deprecated for m68hc11 too. | |
3477 | ||
3478 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command. | |
3479 | (m68hc11_print_register): New function to print out one register. | |
3480 | (m68hc11_print_registers_info): New function to print registers. | |
3481 | (show_regs): Deprecate and use the above. | |
3482 | (m68hc11_gdbarch_init): Install the print_registers_info. | |
3483 | ||
705b278b JJ |
3484 | 2003-07-24 Jeff Johnston <jjohnstn@redhat.com> |
3485 | ||
3486 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify | |
3487 | that we have a SIGTRAP before returning non-zero. | |
3488 | ||
63cd4198 EZ |
3489 | 2003-07-23 Michal Ludvig <mludvig@suse.cz> |
3490 | Elena Zannoni <ezannoni@redhat.com> | |
3491 | ||
a8f4cde1 | 3492 | * linespec.c (decode_line_2): Avoid crash if |
63cd4198 EZ |
3493 | find_function_start_sal() returns empty record. |
3494 | ||
6926787d AS |
3495 | 2003-07-23 Andreas Schwab <schwab@suse.de> |
3496 | ||
3497 | * ia64-tdep.c (ia64_print_insn): New function. | |
3498 | (ia64_gdbarch_init): Set print_insn to it. | |
3499 | (_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and | |
3500 | deprecated_tm_print_insn_info. | |
3501 | ||
708cc1b6 MS |
3502 | 2003-07-22 Michael Snyder <msnyder@redhat.com> |
3503 | ||
3504 | * h8300-tdep.c (h8300_extract_return_value): Teach it how to | |
3505 | handle 8-bit returns (long long). | |
3506 | (h8300h_extract_return_value): Ditto. | |
3507 | (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned. | |
3508 | ||
aebd7893 AC |
3509 | 2003-07-22 Andrew Cagney <cagney@redhat.com> |
3510 | ||
3511 | * gdbarch.c Include "gdb_obstack.h". | |
3512 | (struct gdbarch): Add an "obstack". | |
3513 | (alloc_gdbarch_data): Allocate the gdbarch data using | |
3514 | GDBARCH_OBSTACK_CALLOC. | |
3515 | (free_gdbarch_data): Delete function. | |
3516 | (gdbarch_obstack_zalloc): New function. | |
3517 | (gdbarch_free): Free the obstack, do not call free_gdbarch_data. | |
3518 | Assert that the architecture is not initialized. | |
3519 | (gdbarch_alloc): Allocate an obstack, allocate the architecture | |
3520 | vector from the obstack. | |
3521 | (alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the | |
3522 | architecture obstack. | |
3523 | (GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define. | |
3524 | (set_gdbarch_data): Assert that the data is not initialized. | |
3525 | (struct gdbarch_data): Delete member "free". | |
3526 | (register_gdbarch_data): Do not initialize "free". | |
3527 | * gdbarch.h, gdbarch.c: Re-generate. | |
a8f4cde1 | 3528 | |
153721e6 AC |
3529 | 2003-07-22 Andrew Cagney <cagney@redhat.com> |
3530 | ||
3531 | * configure.in (build_warnings): Add -Wformat-nonliteral. | |
3532 | * configure: Re-generate. | |
3533 | ||
c193f044 | 3534 | 2003-07-22 Elena Zannoni <ezannoni@redhat.com> |
32ffcbed EZ |
3535 | |
3536 | * dwarf2loc.c (locexpr_describe_location): Fix typos. | |
c193f044 | 3537 | |
c3228f12 EZ |
3538 | 2003-07-22 Elena Zannoni <ezannoni@redhat.com> |
3539 | ||
3540 | * findvar.c (read_var_value): Remove case for thread local storage | |
3541 | variables. It is now entirely handled by the dwarf2 location | |
3542 | expression code. | |
3543 | * printcmd.c (address_info): Ditto. | |
3544 | * symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC | |
3545 | enumeration value. | |
3546 | (struct symbol): Remove objfile field, which was used by | |
3547 | LOC_THREAD_LOCAL_STATIC only. | |
3548 | * dwarf2read.c (decode_locdesc): Remove is_thread_local variable. | |
3549 | * dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about | |
3550 | usage of objfile pointer. | |
3551 | * dwarf2loc.c (locexpr_describe_location): Add case to handle | |
3552 | thread local variables. | |
3553 | Add include of objfiles.h. | |
3554 | * dwarf2expr.c (execute_stack_op): Add comments about thread local | |
3555 | storage variables. | |
3556 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
3557 | ||
aef9bcd2 AC |
3558 | 2003-07-22 Andrew Cagney <cagney@redhat.com> |
3559 | ||
3560 | * config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use | |
3561 | get_frame_base. | |
3562 | (FRAME_BASE_BEFORE_SIGTRAMP): Ditto. | |
3563 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto. | |
3564 | (struct value): Add opaque declaration. | |
3565 | (DEPRECATED_FRAME_ARGS_ADDRESS): Delete. | |
3566 | ||
d95a8903 AC |
3567 | 2003-07-21 Andrew Cagney <cagney@redhat.com> |
3568 | ||
3569 | From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
3570 | * m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite. | |
3571 | ||
4db73d49 SC |
3572 | 2003-07-20 Stephane Carrez <stcarrez@nerim.fr> |
3573 | ||
a8f4cde1 | 3574 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use |
4db73d49 SC |
3575 | regcache_cooked_read_unsigned instead of read_register. |
3576 | (m68hc11_saved_pc_after_call): Likewise. | |
3577 | (m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned | |
3578 | instead of write_register. | |
3579 | (m68hc11_register_type): New function. | |
3580 | (m68hc11_register_virtual_type): Remove. | |
3581 | (m68hc11_store_return_value): Convert to use the regcache. | |
3582 | (m68hc11_extract_struct_value_address): Likewise. | |
3583 | (m68hc11_gdbarch_init): Remove deprecated ops for register to use | |
3584 | m68hc11_register_type; undeprecate store_return_value and | |
3585 | extract_struct_value_address. | |
3586 | ||
ef2b8fcd SC |
3587 | 2003-07-20 Stephane Carrez <stcarrez@nerim.fr> |
3588 | ||
3589 | * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read | |
3590 | and translate to use regcache. | |
3591 | (m68hc11_gdbarch_init): Undeprecate extract_return_value. | |
3592 | ||
625b0b97 AC |
3593 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
3594 | ||
3595 | * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method. | |
3596 | * gdbarch.h, gdbarch.c: Re-generate. | |
3597 | * i386-tdep.c (i386_gdbarch_init): Do not set | |
3598 | DWARF2_BUILD_FRAME_INFO. | |
3599 | * elfread.c (elf_symfile_read): Call dwarf2_build_frame_info | |
3600 | unconditionally. | |
3601 | * alpha-tdep.c (alpha_dwarf2_init_abi): Do not set | |
3602 | DWARF2_BUILD_FRAME_INFO. | |
3603 | ||
22b0d388 AC |
3604 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
3605 | ||
3606 | From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>: | |
3607 | * disasm.c (gdb_disassemble_info): Initilize di.arch. | |
3608 | ||
1ce5d6dd AC |
3609 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
3610 | ||
3611 | * dwarf2-frame.c (dwarf2_frame_sniffer): Use | |
3612 | frame_unwind_address_in_block, instead of frame_pc_unwind. | |
3613 | (dwarf2_frame_cache): Ditto. | |
3614 | ||
e6e5e94c AC |
3615 | 2003-07-18 Andrew Cagney <cagney@redhat.com> |
3616 | ||
3617 | * user-regs.h (struct gdbarch): Declare opaque. | |
3618 | * ui-out.h (struct ui_file): Declare opaque. | |
3619 | * dwarf2-frame.h (struct frame_info): Declare opaque. | |
3620 | ||
5483d879 KW |
3621 | 2003-07-18 Kris Warkentin <kewarken@qnx.com> |
3622 | ||
3623 | * nto-procfs.c: Clean ARI hits. Change #include <..> to | |
3624 | #include "...". | |
3625 | (procfs_meminfo): Change strerror to safe_strerror. | |
3626 | (procfs_can_run): Remove K&R badness. | |
3627 | ||
278a7cf7 MS |
3628 | 2003-07-17 Michael Snyder <msnyder@redhat.com> |
3629 | ||
3630 | * remote-sim.c: Comment typo fix. | |
3631 | ||
606e3b82 AC |
3632 | 2003-07-17 Andrew Cagney <cagney@redhat.com> |
3633 | ||
3634 | * defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by | |
3635 | configure. | |
3636 | * sparc-tdep.c (sparc_intreg_size): Make non-static. | |
3637 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to | |
3638 | GDB_MULTI_ARCH_PARTIAL. | |
3639 | ||
c43af07c EZ |
3640 | 2003-07-17 Elena Zannoni <ezannoni@redhat.com> |
3641 | ||
3642 | * Makefile.in (x86-64-linux-nat.o): Update dependencies. | |
3643 | * x86-64-linux-nat.c (ps_get_thread_area): New function. Add | |
3644 | include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h. | |
3645 | ||
3b85b0f1 TR |
3646 | 2003-07-16 Theodore A. Roth <troth@openavr.org> |
3647 | ||
3648 | * avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue | |
3649 | found. | |
3650 | (avr_frame_unwind_cache): Don't unwind FP for main. | |
3651 | Update a comment. | |
3652 | Save the computed prev_sp. | |
3653 | (avr_saved_regs_unwinder): Remove function. | |
a8f4cde1 | 3654 | (avr_frame_prev_register): Use PC unwind logic from |
3b85b0f1 TR |
3655 | avr_saved_regs_unwinder(), otherwise use trad_frame_prev_register(). |
3656 | ||
336d1bba AC |
3657 | 2003-07-16 Andrew Cagney <cagney@redhat.com> |
3658 | ||
3659 | * frame-base.h (frame_base_p_ftype): Delete definition. | |
3660 | (frame_base_append_predicate): Delete declaration. | |
3661 | * frame-unwind.h (frame_unwind_p_ftype): Delete definition. | |
3662 | (frame_unwind_append_predicate): Delete declaration. | |
3663 | * frame-unwind.c (struct frame_unwind_table): Delete field "p". | |
3664 | (append_predicate): Delete parameter "p". | |
3665 | (frame_unwind_append_predicate): Delete function. | |
3666 | (frame_unwind_append_sniffer): Update call to append_predicate. | |
3667 | (frame_unwind_free): Delete function. | |
3668 | (_initialize_frame_unwind): Pass NULL as "free" to | |
3669 | register_gdbarch_data. | |
3670 | (frame_unwind_init): Append the dummy_frame_sniffer. | |
3671 | (frame_unwind_find_by_frame): Simplify. | |
3672 | * frame-base.c (struct frame_base_table): Delete field "p". | |
3673 | (append_predicate): Delete parameter "p". | |
3674 | (frame_base_append_predicate): Delete function. | |
3675 | (frame_base_append_sniffer): Update call to append_predicate. | |
3676 | (frame_base_free): Delete function. | |
3677 | (frame_base_find_by_frame): Simplify. | |
3678 | (_initialize_frame_base): Pass NULL as "free" to | |
3679 | register_gdbarch_data. | |
3680 | * x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p". | |
3681 | (x86_64_sigtramp_frame_sniffer): Replace | |
3682 | "x86_64_sigtramp_frame_p". | |
3683 | (x86_64_init_abi): Set the frame unwind sniffers. | |
3684 | * m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p". | |
3685 | (m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p" | |
3686 | (m68k_gdbarch_init): Set the frame unwind sniffers. | |
3687 | * i386-tdep.c (i386_sigtramp_frame_sniffer): Replace | |
3688 | "i386_sigtramp_frame_p". | |
3689 | (i386_frame_sniffer): Replace "i386_frame_p". | |
3690 | (i386_gdbarch_init): Set the frame unwind sniffers. | |
3691 | * avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer". | |
3692 | (avr_gdbarch_init): Set the frame unwind sniffers. | |
3693 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace | |
3694 | "alpha_sigtramp_frame_p" | |
3695 | (alpha_heuristic_frame_sniffer): Replace | |
3696 | "alpha_heuristic_frame_p". | |
3697 | (alpha_gdbarch_init): Set the frame unwind sniffers. | |
3698 | (alpha_dwarf2_init_abi): Ditto. | |
3699 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace | |
3700 | "alpha_debug_frame_p". | |
3701 | (alpha_mdebug_frame_base_sniffer): Replace | |
3702 | "alpha_mdebug_frame_base_p". | |
3703 | (alpha_mdebug_init_abi): Set the frame unwind sniffers. | |
3704 | * d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p". | |
3705 | (d10v_gdbarch_init): Set the frame unwind sniffer. | |
3706 | * dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
3707 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
3708 | * dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
3709 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
3710 | * dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p". | |
3711 | * dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p". | |
3712 | ||
48db5a3c CV |
3713 | 2003-07-16 Michael Snyder <msnyder@redhat.com> |
3714 | ||
3715 | * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp | |
3716 | should go thru sh_dsp_register_sim_regno, else the dsp regs | |
3717 | will not get the right values. | |
3718 | ||
3719 | 2003-07-16 Corinna Vinschen <vinschen@redhat.com> | |
3720 | ||
3721 | * sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to | |
3722 | deprecated_store_floating by call to store_typed_floating. | |
3723 | (sh_sh4_register_convert_to_raw): Substitute call to | |
3724 | deprecated_extract_floating by call to extract_typed_floating. | |
3725 | ||
3726 | 2003-07-16 Corinna Vinschen <vinschen@redhat.com> | |
3727 | ||
3728 | * sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e. | |
3729 | ||
3730 | 2003-07-16 Corinna Vinschen <vinschen@redhat.com> | |
3731 | ||
3732 | * sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to | |
3733 | register_size and calls to REGISTER_VIRTUAL_TYPE by calls to | |
3734 | gdbarch_register_type in 32 bit code throughout. Avoid current_gdbarch | |
3735 | as possible. | |
3736 | (do_pseudo_register): Remove. | |
3737 | (sh_push_dummy_code): New function. | |
3738 | (sh64_store_struct_return): Rename from sh_store_struct_return. | |
3739 | Only called for sh64 now. | |
3740 | (sh_extract_struct_value_address): Regcache'ify. | |
3741 | (sh_push_dummy_call): Rename from sh_push_arguments. Regcache'ify | |
3742 | and accomodate new tasks. | |
3743 | (sh64_push_return_address): Rename from sh_push_return_address. | |
3744 | Only called for sh64 now. | |
3745 | (sh_default_extract_return_value): Rename from sh_extract_return_value. | |
3746 | Regcache'ify. | |
3747 | (sh3e_sh4_extract_return_value): Regcache'ify. | |
3748 | (sh_default_store_return_value): Ditto. | |
3749 | (sh3e_sh4_store_return_value): Ditto. | |
3750 | (sh_default_register_byte): Remove. | |
3751 | (sh_sh4_register_byte): Remove. | |
3752 | (sh_default_register_raw_size): Remove. | |
3753 | (sh_sh4_register_raw_size): Remove. | |
3754 | (sh_register_virtual_size): Remove. | |
3755 | (sh_sh3e_register_virtual_type): Remove. | |
3756 | (sh_sh3e_register_type): New function. | |
3757 | (sh_sh4_register_virtual_type): Remove. | |
3758 | (sh_sh4_register_type): New function. | |
3759 | (sh_default_register_virtual_type): Remove. | |
3760 | (sh_default_register_type): New function. | |
3761 | (do_fv_register_info): Add parameters to accomodate call from | |
3762 | sh_print_registers_info. | |
3763 | (do_dr_register_info): Ditto. | |
3764 | (sh_print_pseudo_register): Rename from sh_do_pseudo_register. | |
3765 | Add parameters to accomodate call from sh_print_registers_info. | |
3766 | (sh_do_fp_register): Ditto. | |
3767 | (sh64_do_pseudo_register): Call do_dr_register_info, | |
3768 | do_fv_register_info and sh_do_fp_register with default parameters. | |
3769 | (sh_do_register): Add parameters to accomodate call from | |
3770 | sh_print_registers_info. | |
3771 | (sh_print_register): Ditto. | |
3772 | (sh_print_registers_info): Rename from sh_do_registers_info. | |
3773 | Add parameters to be used as gdbarch_print_registers_info | |
3774 | implementation. Accomodate removed do_pseudo_register function | |
3775 | pointer. | |
3776 | (sh_compact_do_registers_info): Accomodate removed do_pseudo_register | |
3777 | function pointer. Call sh_print_register with default parameters. | |
3778 | (sh64_do_registers_info): Call sh_print_registers_info instead of | |
3779 | sh_do_registers_info. | |
3780 | (sh_gdbarch_init): Rearrange to cleanup and to allow easier | |
3781 | detection of deprecated vs. non-deprecated functionality. | |
3782 | Rename sh_call_dummy_words to sh64_call_dummy_words. Remove | |
3783 | function pointer assignments by direct function calls. | |
3784 | ||
e8a89fe2 AC |
3785 | 2003-07-15 Andrew Cagney <cagney@redhat.com> |
3786 | ||
3787 | * frame.c (get_frame_id): Use frame_unwind_find_by_frame. | |
3788 | (frame_register_unwind, create_new_frame): Ditto. | |
3789 | (legacy_get_prev_frame, get_frame_type): Ditto. | |
3790 | (get_frame_base_address): Use frame_base_find_by_frame. | |
3791 | (get_frame_locals_address): Use frame_base_find_by_frame. | |
3792 | (get_frame_args_address): Use frame_base_find_by_frame. | |
3793 | * frame-base.h (frame_base_sniffer_ftype): Declare. | |
3794 | (frame_base_append_sniffer): Declare. | |
3795 | (frame_base_find_by_frame): Replace frame_base_find_by_pc. | |
3796 | * frame-base.c (append_predicate): Add a "sniffer" parameter. | |
3797 | (frame_base_append_sniffer): New function. | |
3798 | (frame_base_append_predicate): Add a NULL sniffer. | |
3799 | (frame_base_find_by_frame): Replace "frame_base_find_by_pc". | |
3800 | (struct frame_base_table): Add "sniffer". | |
3801 | (frame_base_free): Free the "sniffer" table. | |
3802 | * frame-unwind.h (frame_unwind_sniffer_ftype): Define. | |
3803 | (frame_unwind_append_sniffer): Declare. | |
3804 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
3805 | * frame-unwind.c (frame_unwind_free): Free the "sniffer" table. | |
3806 | (struct frame_unwind_table): Add "sniffer", delete "middle". | |
3807 | (append_predicate): Add "sniffer" parameter, append the sniffer. | |
3808 | (frame_unwind_init): Update append_predicate call. | |
3809 | (frame_unwind_append_sniffer): New function. | |
3810 | (frame_unwind_append_predicate): Update append_predicate call. | |
3811 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
3812 | ||
0714963c AC |
3813 | 2003-07-15 Andrew Cagney <cagney@redhat.com> |
3814 | ||
3815 | * frame.c (get_prev_frame): Move disabled inside_entry_func to | |
3816 | before code inhibiting repeated unwind attempts. Add to | |
3817 | commentary on that test's problems. | |
3818 | * blockframe.c (inside_main_func): Look for "main" in the minimal | |
3819 | symbol table. | |
3820 | * d10v-tdep.c (d10v_frame_this_id): Delete check that frames are | |
3821 | identical. | |
3822 | ||
d9170e22 AC |
3823 | 2003-07-15 Andrew Cagney <cagney@redhat.com> |
3824 | ||
3825 | * complaints.c (struct explanation): Define. | |
3826 | (struct complaints): Change type of "explanation" to "struct | |
3827 | explanation". | |
3828 | (symfile_explanations): Convert to a "struct explanation" table. | |
3829 | (vcomplaint): Update. | |
3830 | ||
eba29c8c ML |
3831 | 2003-07-15 Michal Ludvig <mludvig@suse.cz> |
3832 | ||
3833 | * x86-64-linux-nat.c (regmap): Removed. | |
a8f4cde1 | 3834 | (supply_gregset, fill_gregset): Call |
eba29c8c ML |
3835 | x86_64_linux_(fill,supply)_gregset functions. |
3836 | * x86-64-linux-tdep.c (USER_*): New defines. | |
3837 | (user_to_gdb_regmap, x86_64_core_fns): New structure. | |
3838 | (x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): | |
3839 | New functions. | |
3840 | (fetch_core_registers): Ditto. | |
3841 | (_initialize_x86_64_linux_tdep): Call add_core_fns(). | |
3842 | * x86-64-linux-tdep.h: New file. | |
3843 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o | |
3844 | and core-regset.o. | |
3845 | * config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o. | |
3846 | ||
68cc0bfb MK |
3847 | 2003-07-13 Mark Kettenis <kettenis@gnu.org> |
3848 | ||
88a115f7 MK |
3849 | * x86-64-tdep.c (x86_64_store_return_value): Use |
3850 | regcache_cooked_write_part instead of regcache_cooked_write. | |
01e4b823 | 3851 | |
68cc0bfb MK |
3852 | * configure.host: Add x86_64-*-freebsd*. |
3853 | * configure.tgt: Add x86_64-*-freebsd*. | |
3854 | * Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets. | |
3855 | * amd64fbsd-nat.c: New file. | |
3856 | * amd64fbsd-tdep.c: New file. | |
3857 | * config/i386/nm-fbsd64.h: New file. | |
3858 | * config/i386/fbsd64.mh: New file. | |
3859 | * config/i386/fbsd64.mt: New file. | |
3860 | ||
138e7be5 MK |
3861 | 2003-07-11 Mark Kettenis <kettenis@gnu.org> |
3862 | ||
3863 | * alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset', | |
3864 | `sc_regs_offset' and `sc_fpregs_offset'. | |
3865 | * alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF, | |
3866 | SIGFRAME_FPREGSAVE_OFF): Remove defines. | |
3867 | (alpha_sigtramp_register_address): Rewrite to use new members of | |
3868 | `struct gdbarch_tdep'. | |
3869 | (alpha_gdbarch_init): Initialize new members of struct | |
3870 | gdbarch_tdep'. | |
3871 | * alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use | |
3872 | ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE. | |
3873 | (alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables. | |
3874 | (alphafbsd_pc_in_sigtramp): Implement. | |
3875 | (alphafbsd_sigtramp_offset): New function. | |
3876 | (alphafbsd_sigcontext_addr): New function. | |
3877 | (alphafbsd_init_abi): Initialize signal trampoline related members | |
3878 | of `struct gdbarch_tdep'. | |
3879 | (_initialize_alphafbsd_tdep): Add prototype. | |
3880 | ||
95303a68 TR |
3881 | 2003-07-11 Theodore A. Roth <troth@openavr.org> |
3882 | ||
ba292e4c TR |
3883 | * Makefile.in (install-only): Quote sed expression when generating |
3884 | transformed_name. | |
95303a68 | 3885 | |
6896c0c7 RH |
3886 | 2003-07-11 Richard Henderson <rth@redhat.com> |
3887 | ||
3888 | * Makefile.in (dwarf2-frame.o): Add complaints_h. | |
3889 | * dwarf2-frame.c: Include complaints.h. | |
3890 | (decode_frame_entry_1): Rename from decode_frame_entry; tidy | |
3891 | variable initialization; return NULL on error. | |
3892 | (decode_frame_entry): New. | |
3893 | ||
8edd5d01 AC |
3894 | 2003-07-11 Andrew Cagney <cagney@redhat.com> |
3895 | ||
c4a09524 AC |
3896 | * frame.h (frame_address_in_block): Delete declaration. |
3897 | * blockframe.c (frame_address_in_block): Delete function. | |
3898 | (get_frame_block): Use get_frame_address_in_block. | |
3899 | (block_innermost_frame): Ditto. | |
3900 | * stack.c (print_frame, backtrace_command_1): Ditto. | |
3901 | ||
8edd5d01 AC |
3902 | * frame.h (get_frame_address_in_block): Declare. |
3903 | (frame_unwind_address_in_block): Declare. | |
3904 | * frame.c (frame_unwind_address_in_block): New function. | |
3905 | (get_frame_address_in_block): New function. | |
3906 | ||
f7968451 AC |
3907 | 2003-07-10 Andrew Cagney <cagney@redhat.com> |
3908 | ||
3909 | * gdbarch.sh: Simplify predicate methods. Remove need to provide | |
3910 | pre-default. Note: re-generate has no effect. | |
a8f4cde1 | 3911 | |
ae99b398 AC |
3912 | 2003-07-10 Andrew Cagney <cagney@redhat.com> |
3913 | ||
3914 | * gdbarch.sh: When a variable, but not a function, compare against | |
3915 | 0. Fix problem in previous patch. | |
3916 | * gdbarch.c: Re-generate. | |
a8f4cde1 | 3917 | |
956ac328 AC |
3918 | 2003-07-10 Andrew Cagney <cagney@redhat.com> |
3919 | ||
3920 | * gdbarch.sh: Use gdb_assert instead of internal_error. Compare | |
3921 | functions against NULL, not 0. | |
3922 | * gdbarch.c: Re-generate. | |
a8f4cde1 | 3923 | |
287c3240 FF |
3924 | 2003-07-10 Fred Fish <fnf@ninemoons.com> |
3925 | ||
3926 | * coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a | |
3927 | null string instead of a null pointer. | |
3928 | * solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto. | |
3929 | ||
32f63c4b MS |
3930 | 2003-07-09 Michael Snyder <msnyder@redhat.com> |
3931 | ||
3932 | * sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error. | |
3933 | ||
402ecd56 MK |
3934 | 2003-07-09 Mark Kettenis <kettenis@gnu.org> |
3935 | ||
3936 | * x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, | |
3937 | X86_64_RDI_REGNUM, X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, | |
3938 | X86_64_RIP_REGNUM, X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, | |
3939 | X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Moved here ... | |
3940 | * x86-64-tdep.c: ... from here. | |
3941 | ||
c481dac7 AS |
3942 | 2003-07-09 Andreas Schwab <schwab@suse.de> |
3943 | ||
3944 | * m68k-tdep.h (enum struct_return): Define. | |
3945 | (struct gdbarch_tdep): Add struct_return. | |
3946 | * m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4 | |
3947 | bytes are padded to the right, not to the left. Pass struct value | |
3948 | address in register %a1, not on stack. | |
3949 | (m68k_use_struct_convention): New function. | |
3950 | (m68k_gdbarch_init): Set use_struct_convention. Initialize | |
3951 | struct_return in tdep to pcc_struct_return. | |
3952 | * m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to | |
3953 | reg_struct_return. | |
3954 | ||
a8f4cde1 | 3955 | 2003-07-09 Joel Brobecker <brobecker@gnat.com> |
64176fa3 | 3956 | |
a8f4cde1 | 3957 | * somread.c (som_symfile_offsets): Fix compilation error. |
64176fa3 | 3958 | |
96a4ee76 AC |
3959 | 2003-07-09 Andrew Cagney <cagney@redhat.com> |
3960 | ||
3961 | * regcache.c (register_size): Only check REGISTER_RAW_SIZE once. | |
3962 | Add comments about the checks. | |
3963 | ||
1517c6d1 AC |
3964 | 2003-07-08 Andrew Cagney <cagney@redhat.com> |
3965 | ||
3966 | * Makefile.in: Make dependency section headers consistent. | |
3967 | (config_h): Move to $BUILD headers section. | |
3968 | (exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto. | |
3969 | (msg_U_h, notify_S_h, process_reply_S_h): Ditto. | |
3970 | (ada-exp.tab.c): Move to YACC/LEX section. | |
3971 | (ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto. | |
3972 | (jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto. | |
3973 | ||
dc5dd1eb KW |
3974 | 2003-07-08 Kris Warkentin <kewarken@qnx.com> |
3975 | ||
3976 | * nto-procfs.c: Cleaned up a bunch of ARI hits. | |
fda848e0 KW |
3977 | Include "gdb_dirent.h" instead of <dirent.h>, replace all instances |
3978 | of strerror with safe_strerror, use ISO C function definitions, | |
3979 | and replace instances of sprintf with snprintf. | |
dc5dd1eb | 3980 | |
612dde91 AC |
3981 | 2003-07-07 Andrew Cagney <cagney@redhat.com> |
3982 | ||
3983 | * frame.c (get_prev_frame): Enable check for identical frames. | |
3984 | Update comments. Update error messages. | |
3985 | ||
492c11d3 JB |
3986 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
3987 | ||
3988 | * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure. | |
3989 | ||
376a5a49 JB |
3990 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
3991 | ||
3992 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to | |
3993 | sort_symtab_syms, no longer necessary. | |
3994 | ||
22b4a9ad JB |
3995 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
3996 | ||
3997 | * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment. | |
3998 | ||
5bbcb741 JB |
3999 | 2003-07-07 Joel Brobecker <brobecker@gnat.com> |
4000 | ||
4001 | * mips-tdep.c (mips_register_raw_size): Fix compilation failure. | |
4002 | (mips_register_byte): Likewise. | |
4003 | ||
c139e7d9 DJ |
4004 | 2003-07-07 Daniel Jacobowitz <drow@mvista.com> |
4005 | ||
4006 | * Makefile.in (sparc_tdep_h): New. | |
4007 | (sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o) | |
4008 | (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h). | |
4009 | * sparc-linux-nat.c: Include "sparc-tdep.h". | |
4010 | * sparc-nat.c: Likewise. | |
4011 | * sparc-tdep.c: Likewise. | |
4012 | * sparc64nbsd-nat.c: Likewise. | |
4013 | * sparcnbsd-nat.c: Likewise. | |
4014 | * sparcnbsd-tdep.c: Likewise. | |
4015 | * sparc-tdep.h: New file. | |
4016 | * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum | |
4017 | and sparc_npc_regnum. | |
4018 | ||
fd8f87c5 DJ |
4019 | 2003-07-07 Daniel Jacobowitz <drow@mvista.com> |
4020 | ||
4021 | * mips-linux-nat.c (mips_linux_cannot_fetch_register) | |
4022 | (mips_linux_cannot_store_register): List supported instead of | |
4023 | unsupported registers. | |
4024 | ||
13adf674 DJ |
4025 | 2003-07-07 Daniel Jacobowitz <drow@mvista.com> |
4026 | ||
4027 | * disasm.c (dump_insns): Separate instructions from addresses. | |
4028 | ||
8de307e0 AS |
4029 | 2003-07-07 Andreas Schwab <schwab@suse.de> |
4030 | ||
4031 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
4032 | dependencies. | |
4033 | * m68k-tdep.c (NUM_FREGS): Delete. | |
4034 | (SIG_PC_FP_OFFSET): Delete. | |
4035 | (TARGET_M68K): Delete. | |
4036 | (P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP, | |
4037 | P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP, | |
4038 | P_MOVEL_SP, P_MOVEML_SP): Define. | |
4039 | (P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM, | |
4040 | P_TRAP): Delete. | |
4041 | (m68k_register_raw_size): Delete. | |
4042 | (m68k_register_virtual_size): Delete. | |
4043 | (m68k_register_type): Renamed from m68k_register_virtual_type and | |
4044 | add gdbarch argument. | |
4045 | (m68k_store_struct_return): Delete. | |
4046 | (m68k_deprecated_extract_return_value): Delete. | |
4047 | (m68k_deprecated_extract_struct_value_address): Delete. | |
4048 | (m68k_frame_chain): Delete. | |
4049 | (m68k_frame_saved_pc): Delete. | |
4050 | (m68k_fix_call_dummy): Delete. | |
4051 | (m68k_push_dummy_frame): Delete. | |
4052 | (m68k_pop_frame): Delete. | |
4053 | (m68k_extract_return_value): New function. | |
4054 | (m68k_store_return_value): Rewrite using regcache. | |
4055 | (m68k_extract_struct_value_address): Rewrite using regcache. | |
4056 | (m68k_push_dummy_call): New function. | |
4057 | (struct m68k_frame_cache): Define. | |
4058 | (m68k_alloc_frame_cache): New function. | |
4059 | (m68k_analyze_frame_setup): New function. | |
4060 | (m68k_analyze_register_saves): New function. | |
4061 | (m68k_analyze_prologue): New function. | |
4062 | (m68k_skip_prologue): Rewrite using above functions. | |
4063 | (m68k_unwind_pc): New function. | |
4064 | (m68k_frame_cache): New function. | |
4065 | (m68k_frame_this_id): New function. | |
4066 | (m68k_frame_prev_register): New function. | |
4067 | (m68k_frame_unwind): New variable. | |
4068 | (m68k_frame_p): New function. | |
4069 | (m68k_sigtramp_frame_cache): New function. | |
4070 | (m68k_sigtramp_frame_this_id): New function. | |
4071 | (m68k_sigtramp_frame_prev_register): New function. | |
4072 | (m68k_sigtramp_frame_unwind): New variable. | |
4073 | (m68k_sigtramp_frame_p): New function. | |
4074 | (m68k_frame_base_address): New function. | |
4075 | (m68k_frame_base): New function. | |
4076 | (m68k_unwind_dummy_id): New function. | |
4077 | (fill_gregset): Use regcache_collect. | |
4078 | (fill_fpregset): Likewise. | |
4079 | (m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is | |
4080 | defined. | |
4081 | (m68k_gdbarch_init): Don't define call_dummy_words. Don't set | |
4082 | deprecated_init_frame_pc, deprecated_store_struct_return, | |
4083 | deprecated_extract_return_value, deprecated_store_return_value, | |
4084 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
4085 | deprecated_frame_init_saved_regs, deprecated_register_raw_size, | |
4086 | deprecated_register_virtual_size, | |
4087 | deprecated_max_register_raw_size, | |
4088 | deprecated_max_register_virtual_size, | |
4089 | deprecated_register_virtual_type, deprecated_register_size, | |
4090 | deprecated_register_byte, deprecated_register_bytes, | |
4091 | deprecated_fp_regnum, deprecated_use_generic_dummy_frames, | |
4092 | call_dummy_location, deprecated_call_dummy_breakpoint_offset, | |
4093 | deprecated_pc_in_call_dummy, deprecated_call_dummy_length, | |
4094 | deprecated_call_dummy_start_offset, deprecated_call_dummy_words, | |
4095 | deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy, | |
4096 | deprecated_push_dummy_frame, deprecated_pop_frame, | |
4097 | deprecated_dummy_write_sp. Set deprecated_saved_pc_after_call | |
4098 | only if SYSCALL_TRAP is defined. Set extract_return_value, | |
4099 | store_return_value, extract_struct_value_address, register_type, | |
4100 | push_dummy_call, unwind_dummy_id, unwind_pc. Add two frame unwind | |
4101 | predicates. | |
4102 | * m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS, | |
4103 | M68K_MAX_REGISTER_SIZE): Define. | |
4104 | (struct m68k_sigtramp_info): Define. | |
4105 | (struct gdbarch_tdep): Add get_sigtramp_info. | |
4106 | * m68klinux-nat.c (fetch_register): Use register_size instead of | |
4107 | REGISTER_RAW_SIZE. Don't put assignment in if. | |
4108 | (store_register): Likewise. | |
4109 | (fetch_inferior_registers): Likewise. | |
4110 | (store_inferior_registers): Likewise. | |
4111 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete. | |
4112 | (m68k_linux_frame_saved_pc): Delete. | |
4113 | (m68k_linux_sigcontext_reg_offset, | |
4114 | m68k_linux_ucontext_reg_offset): Define. | |
4115 | (m68k_linux_get_sigtramp_info): New function. | |
4116 | (m68k_linux_extract_return_value): Rewrite using regcache. | |
4117 | (m68k_linux_store_return_value): Likewise. | |
4118 | (m68k_linux_extract_struct_value_address): Likewise. | |
4119 | (m68k_linux_init_abi): Set get_sigtramp_info in tdep structure. | |
4120 | Don't set deprecated_frame_saved_pc, | |
4121 | deprecated_extract_return_value, deprecated_store_return_value, | |
4122 | deprecated_extract_struct_value_address. Set | |
4123 | extract_return_value, store_return_value, | |
4124 | extract_struct_value_address. | |
4125 | ||
eb8bc282 AC |
4126 | 2003-07-07 Andrew Cagney <cagney@redhat.com> |
4127 | ||
4128 | * expprint.c: Include "user-regs.h" instead of "frame.h". | |
4129 | (print_subexp): Use user_reg_map_regnum_to_name, instead of | |
4130 | frame_map_regnum_to_name. | |
4131 | * frame.c: Include "user-regs.h" instead of "builtin-regs.h". | |
4132 | (frame_map_name_to_regnum): Simplify, call | |
4133 | user_reg_map_name_to_regnum. | |
4134 | (frame_map_regnum_to_name): Simplify, call | |
4135 | user_reg_map_regnum_to_name. | |
4136 | (frame_register_unwind): Update. | |
4137 | * std-regs.c: Include "user-regs.h" instead of "builtin-regs.h". | |
4138 | (_initialize_frame_reg): Call user_reg_add_builtin. | |
4139 | * findvar.c: Include "user-regs.h" instead of "builtin-regs.h". | |
4140 | (value_of_register): Use value_of_user_reg. | |
4141 | * eval.c (evaluate_subexp_standard): Update. | |
4142 | * parse.c (write_dollar_variable): Update. | |
4143 | * d10v-tdep.c (d10v_print_registers_info): Update. | |
4144 | * infcmd.c (registers_info): Update. | |
4145 | * Makefile.in (SFILES): Delete "builtin-regs.c", add "user-regs.c". | |
4146 | (builtin_regs_h): Delete macro. | |
4147 | (user_regs_h): Define. | |
4148 | (COMMON_OBS): Delete "builtin-regs.o", add "user-regs.o". | |
4149 | (builtin-regs.o): Delete target. | |
4150 | (user-regs.o): Specify dependencies. | |
4151 | (expprint.o): Update dependencies. | |
4152 | (findvar.o): Update dependencies. | |
4153 | (frame.o): Update dependencies. | |
4154 | (std-regs.o): Update dependencies. | |
4155 | ||
9f476a01 CF |
4156 | 2003-07-06 Christopher Faylor <cgf@redhat.com> |
4157 | ||
4158 | * win32-nat.c (solib_symbols_add): Use one variable for all section | |
4159 | address stuff. Pass variable rather than address of variable to | |
4160 | safe_symbol_file_add. | |
4161 | ||
a731b831 AS |
4162 | 2003-07-06 Andreas Schwab <schwab@suse.de> |
4163 | ||
4164 | * m68klinux-nat.c (fill_fpregset): Fix use of loop index. | |
4165 | ||
9f83329d JB |
4166 | 2003-07-04 Joel Brobecker <brobecker@gnat.com> |
4167 | ||
4168 | * rs6000-nat.c (vmap_symtab): Fix compilation error. | |
4169 | ||
27e28cc5 KW |
4170 | 2003-07-04 Kris Warkentin <kewarken@qnx.com> |
4171 | ||
4172 | * config/i386/nto.mh: Set XM_FILE to xm-i386.h | |
4173 | ||
4174 | 2003-07-04 Kris Warkentin <kewarken@qnx.com> | |
4175 | ||
4176 | * nto-procfs.c: New file. Native procfs support for QNX Neutrino. | |
4177 | * config/i386/nto.mh: New file. | |
4178 | * config/i386/nm-nto.h: New file. | |
4179 | * configure.host: Add i[3456]86-*-nto*. | |
4180 | ||
100f2e98 JB |
4181 | 2003-07-03 Joel Brobecker <brobecker@gnat.com> |
4182 | ||
4183 | * remote-vx.c (vx_add_symbols): Fix compilation error. | |
4184 | ||
e23457df AC |
4185 | 2003-07-03 Andrew Cagney <cagney@redhat.com> |
4186 | ||
4187 | * gdbarch.sh (REGISTER_NAME): Do not supply a default. | |
4188 | * gdbarch.h, gdbarch.c: Re-generate. | |
4189 | * config/sparc/tm-sparc.h (REGISTER_NAME): Define. | |
4190 | (legacy_register_name): Declare. | |
4191 | * config/sparc/tm-sp64.h (legacy_register_name): Declare. | |
4192 | (REGISTER_NAME): Define. | |
4193 | * sparc-tdep.c (legacy_register_name): New function. | |
4194 | * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. | |
4195 | (REGISTER_NAME): Define. | |
4196 | (hppa64_register_name): Declare. | |
4197 | * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. | |
4198 | * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. | |
4199 | (hppa64_register_name): New function. | |
4200 | (hppa_register_name): New function. | |
4201 | * arch-utils.c (legacy_register_name): Delete. | |
4202 | * arch-utils.h (legacy_register_name): Delete. | |
4203 | ||
38caaeec DJ |
4204 | 2003-07-03 Daniel Jacobowitz <drow@mvista.com> |
4205 | ||
4206 | * cli/cli-interp.c (cli_interpreter_resume): Update the | |
4207 | cli_uiout's stream to gdb_stdout. | |
4208 | ||
dadd712e AC |
4209 | 2003-07-03 Andrew Cagney <cagney@redhat.com> |
4210 | ||
4211 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add | |
4212 | predicate. | |
4213 | * gdbarch.h, gdbarch.c: Re-generate. | |
4214 | * regcache.c (init_regcache_descr): Use legacy code when either | |
4215 | REGISTER_BYTE or REGISTER_RAW_SIZE is set. | |
4216 | ||
c7f1390e DJ |
4217 | 2003-07-02 Daniel Jacobowitz <drow@mvista.com> |
4218 | ||
4219 | * NEWS: Move "set logging" entry into GDB 6.0 section. | |
4220 | ||
4bc8c588 JB |
4221 | 2003-07-02 Jim Blandy <jimb@redhat.com> |
4222 | ||
a9dd42f1 JB |
4223 | * s390-tdep.c (struct frame_extra_info): new member: |
4224 | 'stack_bought_valid'. | |
4225 | (s390_get_frame_info): Set fextra_info->stack_bought_valid if we | |
4226 | initialize fextra_info->stack_bought. | |
4227 | (s390_frameless_function_invocation): Don't trust the value of | |
4228 | fextra_info_ptr->stack_bought unless | |
4229 | fextra_info->stack_bought_valid is set. | |
4230 | ||
4bc8c588 JB |
4231 | New S390 prologue analyzer. |
4232 | * s390-tdep.c (struct prologue_value, enum pv_boolean): New types. | |
4233 | (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, | |
4234 | pv_constant_last, pv_add, pv_add_constant, pv_subtract, | |
4235 | pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref, | |
4236 | compute_x_addr, s390_on_stack, s390_store, | |
4237 | s390_get_signal_frame_info): New functions. | |
4238 | (S390_NUM_SPILL_SLOTS): New macro. | |
4239 | (s390_get_frame_info): Rewritten. | |
4240 | (is_arg_reg): Deleted. | |
4241 | ||
4242 | Break out the decoding of S/390 instructions into separate | |
4243 | functions, to make it more legible, and easier to check | |
4244 | against the spec. | |
4245 | * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse, | |
4246 | is_rx, is_rxe): New functions. | |
4247 | (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras, | |
4248 | op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi, | |
4249 | op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st, | |
4250 | op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New | |
4251 | enums for opcode values. (Is this an improvement?) | |
4252 | ||
fd13a04a AC |
4253 | 2003-07-02 Andrew Cagney <cagney@redhat.com> |
4254 | ||
4255 | * i386-tdep.c: Revert change committed as part of trad-frame code | |
4256 | below. | |
4257 | ||
3f8091c1 DJ |
4258 | 2003-07-02 Daniel Jacobowitz <drow@mvista.com> |
4259 | ||
4260 | * breakpoint.c (insert_catchpoint): Make static. | |
4261 | ||
8dd5115e AS |
4262 | 2003-07-02 Andreas Schwab <schwab@suse.de> |
4263 | ||
4264 | * ia64-tdep.c (ia64_push_dummy_call): Define as combination of | |
4265 | former ia64_push_arguments and ia64_push_return_address, and use | |
4266 | regcache functions instead of read/write_register. | |
4267 | (ia64_gdbarch_init): Set push_dummy_call instead of | |
4268 | deprecated_push_arguments and deprecated_push_return_address. | |
4269 | ||
a2229c23 AJ |
4270 | 2003-07-01 Andreas Jaeger <aj@suse.de> |
4271 | ||
4272 | * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte | |
4273 | before the call. | |
4274 | Set %rax only to number of SSE registers used. | |
4275 | ||
3b3850e8 AC |
4276 | 2003-07-01 Andrew Cagney <cagney@redhat.com> |
4277 | ||
4278 | * trad-frame.h: Update comments, a -1 .addr is reserved. | |
4279 | (trad_frame_value_p, trad_frame_addr_p): Declare. | |
4280 | (trad_frame_reg_p): Declare. | |
4281 | (trad_frame_set_value): Rename trad_frame_register_value. | |
4282 | (trad_frame_set_unknown): Declare. | |
4283 | * trad-frame.c (trad_frame_realreg_p): New function. | |
4284 | (trad_frame_addr_p, trad_frame_value_p): New function. | |
4285 | (trad_frame_set_unknown): New function. | |
4286 | (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero. | |
4287 | (trad_frame_prev_register): Use trad_frame_realreg_p, | |
4288 | trad_frame_addr_p and trad_frame_value_p. | |
4289 | (trad_frame_set_value): Rename trad_frame_register_value. | |
4290 | * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p | |
4291 | and trad_frame_set_value. | |
a2229c23 | 4292 | |
4d819d0e JB |
4293 | 2003-06-30 Jim Blandy <jimb@redhat.com> |
4294 | ||
4295 | Patch from IBM (authors unspecified, probably Ulrich Weigand and | |
4296 | Gerhard Tonn) for argument passing on the S/390 and S/390x: | |
4297 | * s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space | |
4298 | for 16 registers, and then 32 more bytes. | |
4299 | (S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS): | |
4300 | New macros. | |
4301 | (is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially. | |
4302 | Move up in the file, since it's now used by is_simple_arg. | |
4303 | (is_simple_arg): Don't assume registers are four bytes long. | |
4304 | Exclude all double arguments. Extended floats are not simple | |
4305 | args. | |
4306 | (is_power_of_two): New function. | |
4307 | (pass_by_copy_ref): Call is_power_of_two, and check that the | |
4308 | length fits in a register, rather than listing all the acceptable | |
4309 | sizes. Extended floats are not passed by reference. | |
4310 | (s390_push_arguments): Don't assume registers are four bytes long. | |
4311 | Reserve an argument register to point to the buffer for structures | |
4312 | returned by value. Use S390_NUM_FP_PARAMETER_REGISTERS and | |
4313 | S390_STACK_FRAME_OVERHEAD. | |
4314 | ||
1ad828f1 AS |
4315 | 2003-06-30 Andreas Schwab <schwab@suse.de> |
4316 | ||
4317 | * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to | |
4318 | format error message. | |
4319 | ||
39b00981 JB |
4320 | 2003-06-30 Joel Brobecker <brobecker@gnat.com> |
4321 | ||
4322 | * sparc-tdep.c (stop_after_trap): Remove declaration, not used. | |
4323 | ||
b2a7f303 DC |
4324 | 2003-06-30 David Carlton <carlton@kealia.com> |
4325 | ||
4326 | Band-aid for PR c++/1245. | |
4327 | * Makefile.in (cp-support.o): Depend on complaints_h. | |
4328 | * cp-support.c: Include complaints.h. Add declaration for | |
4329 | find_last_component. | |
4330 | (cp_find_first_component): Separate code into | |
4331 | cp_find_first_component_aux. | |
4332 | (cp_find_first_component_aux): Call demangled_name_complaint. | |
4333 | (demangled_name_complaint): New. | |
4334 | ||
a257b5bb AC |
4335 | 2003-06-30 Andrew Cagney <cagney@redhat.com> |
4336 | ||
4337 | * remote.c (remote_write_bytes): Explicitly compute and then use | |
4338 | the payload size. Update comments to reflect. Fixes problem of | |
4339 | GDB not sending small packets as found by Fred Fish. | |
4340 | ||
0a2cfde4 AC |
4341 | 2003-06-30 Andrew Cagney <cagney@redhat.com> |
4342 | ||
4343 | * remote.c (remote_async_wait): Fix -Wformat problem. | |
4344 | ||
3fcb8548 AC |
4345 | 2003-06-29 Andrew Cagney <cagney@redhat.com> |
4346 | ||
4347 | * remote.c (remote_wait): Call error, and not warning, when the | |
4348 | packet is corrupt. | |
4349 | (remote_async_wait): Ditto. | |
4350 | ||
9f9970a3 DJ |
4351 | 2003-06-29 Daniel Jacobowitz <drow@mvista.com> |
4352 | ||
4353 | * sparc-tdep.c (sparc_y_regnum): Make external again. | |
4354 | ||
83a8ccca DJ |
4355 | 2003-06-29 Daniel Jacobowitz <drow@mvista.com> |
4356 | ||
4357 | * cli/cli-logging.c (pop_output_files): Add void to function | |
4358 | definition. | |
4359 | ||
d2cf594a AC |
4360 | 2003-06-29 Andrew Cagney <cagney@redhat.com> |
4361 | ||
4362 | * frame.c (frame_register_unwind): Use unsigned char when dumping | |
4363 | the buffer contents. | |
4364 | ||
0fac0b41 DJ |
4365 | 2003-06-28 Daniel Jacobowitz <drow@mvista.com> |
4366 | ||
4367 | * cli/cli-logging.c: New file. | |
4368 | * cli-out.c (struct ui_out_data): Add original_stream. | |
4369 | (cli_redirect): New function. | |
4370 | (cli_ui_out_impl): Add cli_redirect. | |
4371 | (cli_out_new): Initialize original_stream. | |
4372 | * ui-out.c (default_ui_out_impl): Add NULL for redirect member. | |
4373 | (uo_redirect, ui_out_redirect): New. | |
4374 | * ui-out.h (struct ui_out_impl): Add redirect member. | |
4375 | (redirect_ftype): New. | |
4376 | (ui_out_redirect): Add prototype. | |
4377 | * Makefile.in: Add rules for cli-logging.c. | |
4378 | * NEWS: Mention "set logging". | |
4379 | ||
88a07d7c EZ |
4380 | 2003-06-27 Elena Zannoni <ezannoni@redhat.com> |
4381 | ||
4382 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o. | |
4383 | ||
4eb58876 AC |
4384 | 2003-06-27 Andrew Cagney <cagney@redhat.com> |
4385 | ||
4386 | * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function. | |
4387 | (m68hc11_gdbarch_init): Do not set call_dummy_address. | |
4388 | * avr-tdep.c (avr_call_dummy_address): Delete function. | |
4389 | (avr_gdbarch_init): Do not set call_dummy_address. | |
4390 | ||
1549f619 EZ |
4391 | 2003-06-27 Elena Zannoni <ezannoni@redhat.com> |
4392 | ||
4393 | * symfile.c (syms_from_objfile): Move variables to inner block. | |
4394 | Move the checks for the non-mainline case a bit earlier to avoid | |
4395 | doing some useless computations. | |
4396 | ||
3cb3398d EZ |
4397 | 2003-06-27 Elena Zannoni <ezannoni@redhat.com> |
4398 | ||
4399 | * dwarfread.c (decode_modified_type): Gag new compiler warning. | |
4400 | ||
3799ccc6 EZ |
4401 | 2003-06-26 Elena Zannoni <ezannoni@redhat.com> |
4402 | ||
4403 | * dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame | |
4404 | sections. | |
4405 | ||
ce1f6491 MC |
4406 | 2003-06-26 Michael Chastain <mec@shout.net> |
4407 | ||
4408 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc, | |
4409 | gdb/testsuite/gdb.c++/pr-1210.exp. | |
4410 | ||
d958dfd0 AC |
4411 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
4412 | ||
4413 | * config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's | |
4414 | altivec_expression.h and altivec_registers.h. | |
4415 | ||
d31431ed AC |
4416 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
4417 | ||
4418 | * mips-tdep.c (gdb_print_insn_mips): Only explicitly set | |
4419 | info->mach when MIPS16. Patch suggested by Fred Fish. | |
4420 | ||
714b1282 AC |
4421 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
4422 | ||
4423 | * utils.c (internal_vproblem): Print the problem to a reason | |
4424 | buffer and then pass to query. Make the msg variable more local. | |
4425 | ||
42efa47a AC |
4426 | 2003-06-26 Andrew Cagney <cagney@redhat.com> |
4427 | ||
4428 | * gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate. Deprecate. | |
4429 | (FRAME_LOCALS_ADDRESS): Add predicate. Deprecate. | |
4430 | * gdbarch.h, gdbarch.c: Re-generate. | |
4431 | * frame-base.c (default_frame_args_address): Update. Use | |
4432 | default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is | |
4433 | not available. | |
4434 | (default_frame_locals_address): Ditto for | |
4435 | DEPRECATED_FRAME_LOCALS_ADDRESS. | |
4436 | * vax-tdep.c (vax_sigtramp_saved_pc): Update. | |
4437 | (vax_frame_num_args): Update. | |
4438 | (vax_gdbarch_init): Update. | |
4439 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4440 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
4441 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4442 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4443 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4444 | * symtab.h (address_class): Update comments. | |
4445 | * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update. | |
4446 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
4447 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
4448 | * config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
4449 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
4450 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
4451 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
4452 | * alpha-mdebug-tdep.c: Update. | |
4453 | * ada-lang.c (add_symbols_from_enclosing_procs): Update. | |
4454 | ||
8ffd9b1b AJ |
4455 | 2003-06-26 Andreas Jaeger <aj@suse.de> |
4456 | ||
4457 | * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number | |
4458 | of SSE registers so that varargs functions work. Rework handling | |
4459 | of passing arguments on the stack. | |
4460 | (x86_64_store_return_value): Return double and float values in SSE | |
4461 | register. | |
4462 | ||
e8ac10a6 MC |
4463 | 2003-06-24 Michael Chastain <mec@shout.net> |
4464 | ||
4465 | * PROBLEMS: Document pr gdb/1091 and pr gdb/1193, | |
4466 | the "constructor breakpoints ignored" bug. | |
4467 | ||
986af8e6 DC |
4468 | 2003-06-25 David Carlton <carlton@kealia.com> |
4469 | ||
4470 | * MAINTAINERS: Update e-mail address. | |
4471 | ||
d64558a5 JB |
4472 | 2003-06-24 Jim Blandy <jimb@redhat.com> |
4473 | ||
e538d2d7 JB |
4474 | * ppc-linux-tdep.c: More "Linux" -> "GNU/Linux". |
4475 | ||
02631ec0 JB |
4476 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New |
4477 | function. | |
4478 | (ppc_linux_init_abi): Register it as the | |
4479 | CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI. | |
4480 | ||
e716d87a JB |
4481 | * ppc-linux-tdep.c (ppc64_call_dummy_address): New function. |
4482 | (ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address | |
4483 | method. | |
4484 | ||
d64558a5 JB |
4485 | * ppc-linux-tdep.c (ppc64_desc_entry_point): New function. |
4486 | (ppc64_standard_linkage_target): Use it. | |
4487 | ||
449a5da4 AC |
4488 | 2003-06-23 Andrew Cagney <cagney@redhat.com> |
4489 | ||
4490 | * rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases | |
4491 | for 0 "int0" and 4 "int32" sized registers. | |
4492 | * gdbtypes.c (builtin_type_int0): Define. | |
4493 | (build_gdbtypes): Initialize builtin_type_int0. | |
4494 | * gdbtypes.h (builtin_type_int0): Declare. | |
4495 | ||
b2a02dda SC |
4496 | 2003-06-23 Stephane Carrez <stcarrez@nerim.fr> |
4497 | ||
4498 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed | |
4499 | as characters are unsigned. | |
4500 | ||
fba3138e DJ |
4501 | 2003-06-22 Daniel Jacobowitz <drow@mvista.com> |
4502 | ||
4503 | PR gdb/1179 | |
4504 | * dwarfread.c (struct_type): Skip static fields without crashing. | |
4505 | ||
f6c8180b AC |
4506 | 2003-06-22 Andrew Cagney <cagney@redhat.com> |
4507 | ||
4508 | GDB 6.0 branch created. | |
f2c06f52 AC |
4509 | * README: Update. |
4510 | * PROBLEMS: Update. Empty. | |
4511 | * NEWS: Update. | |
f6c8180b | 4512 | |
ae822768 DJ |
4513 | 2003-06-22 Daniel Jacobowitz <drow@mvista.com> |
4514 | ||
4515 | * symfile.c (add_symbol_file_command): Use parse_and_eval_address. | |
4516 | Suggested by Nick Hibma <n_hibma@webweaving.org>. | |
4517 | ||
261de166 AC |
4518 | 2003-06-22 Andrew Cagney <cagney@redhat.com> |
4519 | ||
4520 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle | |
4521 | GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil | |
4522 | Velikov. | |
4523 | ||
30e94205 DJ |
4524 | 2003-06-22 Daniel Jacobowitz <drow@mvista.com> |
4525 | ||
4526 | * cli/cli-cmds.c (shell_escape): Silence warnings from old | |
4527 | compilers. | |
4528 | ||
9e14d721 DJ |
4529 | 2003-06-21 Daniel Jacobowitz <drow@mvista.com> |
4530 | ||
4531 | * c-valprint.c (c_value_print): Add VALUE_OFFSET to the address | |
4532 | argument of val_print. | |
4533 | * cp-valprint.c (cp_print_value): Don't add the offset parameter | |
4534 | to the address argument of baseclass_offset or target_read_memory. | |
4535 | Do add it to the argument of cp_print_value_fields. | |
4536 | ||
a4b8ebc8 AC |
4537 | 2003-06-21 Andrew Cagney <cagney@redhat.com> |
4538 | ||
4539 | * mips-tdep.c: Include "reggroups.h" and "sim-regno.h". | |
4540 | (mips_register_name): Return names for NUM_REGS..2*NUM_REGS | |
4541 | instead of 0..NUM_REGS. | |
4542 | (mips_register_reggroup_p): New function. | |
4543 | (mips_pseudo_register_write): New function. | |
4544 | (mips_pseudo_register_read): New function. | |
4545 | (mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size | |
4546 | based on the register's type. | |
4547 | (read_next_frame_reg): Simplify. Assert that REGNO is a pseudo / | |
4548 | cooked. | |
4549 | (mips_get_saved_register): Simplify. Assert that REGNO is a | |
4550 | pseudo / cooked. | |
4551 | (mips_register_byte): New function. Use MIPS_REGISTER_BYTE. | |
4552 | (mips_register_type): Replace mips_register_virtual_type. Map | |
4553 | NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE | |
4554 | when available. | |
4555 | (read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert | |
4556 | that the register is cooked / virtual. | |
4557 | (mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC. | |
4558 | Only get the extra info when needed. | |
4559 | (set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well. | |
4560 | (mips32_heuristic_proc_desc): Fetch the cooked register. | |
4561 | (heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto. | |
4562 | (mips_init_extra_frame_info, get_frame_pointer): Ditto. | |
4563 | (mips_print_register): Use gdbarch_register_type, instead of | |
4564 | REGISTER_VIRTUAL_TYPE. | |
4565 | (print_gp_register_row): Use gdbarch_register_type, instead of | |
4566 | REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM. | |
4567 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
4568 | Print the pseudo / cooked registers. | |
4569 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
4570 | Print the pseudo / cooked registers. | |
4571 | (mips_xfer_register): Use regcache_cooked_read_part. Assert that | |
4572 | REG_NUM is pseudo / cooked. | |
4573 | (mips_o32_xfer_return_value): Xfer the pseudo / cooked register. | |
4574 | (mips_n32n64_xfer_return_value): Ditto. | |
4575 | (mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS. | |
4576 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto. | |
4577 | (mips_register_sim_regno): New function. | |
4578 | (mips_gdbarch_init): Set deprecated_register_byte, | |
4579 | register_group_p, pseudo_register_write, pseudo_register_read, | |
4580 | register_sim_regno, and num_pseudo_regs. Set register_type, | |
4581 | instead of register_virtual_type. | |
4582 | * Makefile.in (mips-tdep.o): Update dependencies. | |
4583 | * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename | |
4584 | REGISTER_VIRTUAL_TYPE. | |
4585 | * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto. | |
4586 | * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto. | |
4587 | * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE. | |
4588 | * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto. | |
4589 | * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto. | |
4590 | ||
325ed089 DJ |
4591 | 2003-06-21 Daniel Jacobowitz <drow@mvista.com> |
4592 | ||
4593 | * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h) | |
4594 | * cli/cli-cmds.c: Include "gdb_vfork.h". | |
4595 | (shell_escape): Use vfork. | |
4596 | ||
f0e7d0e8 AC |
4597 | 2003-06-21 Andrew Cagney <cagney@redhat.com> |
4598 | ||
c57bb9fa AC |
4599 | * mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling |
4600 | 32 bit floating-point register saves. | |
4601 | ||
6e51443a AC |
4602 | * frame.h (deprecated_unwind_get_saved_register): Delete. |
4603 | * frame.c (deprecated_unwind_get_saved_register): Delete function. | |
4604 | * mips-tdep.c (mips_get_saved_register): Use frame_register_unwind | |
4605 | and deprecated_get_next_frame_hack instead of | |
4606 | deprecated_unwind_get_saved_register. | |
4607 | ||
ed183c7c AC |
4608 | * mips-tdep.c (mips_dump_tdep): Do not print |
4609 | REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE. | |
4610 | ||
f0e7d0e8 AC |
4611 | * frame.c (get_frame_register): New function. |
4612 | (frame_unwind_register_signed): New function. | |
4613 | (get_frame_register_signed): New function. | |
4614 | (frame_unwind_register_unsigned): New function. | |
4615 | (get_frame_register_unsigned): New function. | |
4616 | * frame.h: Add comments on naming schema. | |
4617 | (get_frame_register, frame_unwind_register_signed): Declare. | |
4618 | (get_frame_register_signed, get_frame_register_signed): Declare. | |
4619 | (frame_unwind_register_unsigned): Declare. | |
4620 | (get_frame_register_unsigned): Declare. | |
4621 | ||
2224d941 TR |
4622 | 2003-06-20 Theodore A. Roth <troth@openavr.org> |
4623 | ||
4624 | * avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit. | |
4625 | ||
8619218d TR |
4626 | 2003-06-20 Theodore A. Roth <troth@openavr.org> |
4627 | ||
4628 | * avr-tdep.c (avr_read_pc): Use regcache instead of read_register. | |
4629 | (avr_read_sp): Ditto. | |
4630 | ||
0b1b50c0 DJ |
4631 | 2003-06-20 Daniel Jacobowitz <drow@mvista.com> |
4632 | ||
4633 | * config/arm/linux.mt: Remove code protected by GDBSERVER define. | |
4634 | * config/arm/nm-linux.h: Likewise. | |
4635 | * config/arm/tm-linux.h: Likewise. | |
4636 | * config/ia64/nm-linux.h: Likewise. | |
4637 | * config/ia64/tm-ia64.h: Likewise. | |
4638 | * config/s390/tm-linux.h: Likewise. | |
4639 | * config/s390/tm-s390.h: Likewise. | |
4640 | * s390-nat.c: Likewise. | |
4641 | * s390-tdep.c: Likewise. | |
4642 | ||
4643 | * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES. | |
4644 | * config/ia64/linux.mt: Likewise. | |
4645 | * config/m68k/linux.mh: Likewise. | |
4646 | * config/mips/linux.mt: Likewise. | |
4647 | * config/powerpc/linux.mh: Likewise. | |
4648 | * config/sh/linux.mt: Likewise. | |
4649 | ||
c8c18e65 KW |
4650 | 2003-06-19 Kris Warkentin <kewarken@qnx.com> |
4651 | ||
4652 | * solib.c (solib_open): Change tests for whether to search | |
4653 | LD_LIBRARY_PATH and PATH to better deal with remotes. Update | |
4654 | comments. | |
4655 | ||
dcccef2e TR |
4656 | 2003-06-19 Theodore A. Roth <troth@openavr.org> |
4657 | ||
4658 | * avr-tdep.c (avr_frame_address): Delete function. | |
4659 | (avr_gdbarch_init): Don't call set_gdbarch_frame_args_address, | |
4660 | set_gdbarch_frame_args_address. | |
4661 | ||
5861a190 AC |
4662 | 2003-06-19 Andrew Cagney <cagney@redhat.com> |
4663 | ||
4664 | * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete. | |
4665 | (REGISTER_CONVERT_FROM_TYPE): Delete. | |
4666 | (mips_register_convert_to_type): Delete declaration. | |
4667 | (mips_register_convert_from_type): Delete declaration. | |
4668 | * linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux | |
4669 | kernel/. | |
4670 | ||
0274a8ce MS |
4671 | 2003-06-19 Michael Snyder <msnyder@redhat.com> |
4672 | ||
4673 | * linux-nat.h: New file. | |
4674 | * linux-nat.c: Include linux-nat.h. | |
8ffd9b1b | 4675 | * lin-lwp.c: Include linux-nat.h. |
0274a8ce | 4676 | Move struct lwp_info def to linux-nat.h. |
8ffd9b1b | 4677 | * linux-proc.c: Include linux-nat.h. |
0274a8ce MS |
4678 | (linux_make_note_section): Iterate over lwps instead of threads. |
4679 | (linux_do_thread_registers): Use lwp instead of merged pid. | |
4680 | * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h. | |
8ffd9b1b | 4681 | * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): |
0274a8ce MS |
4682 | Add dependency on linux_nat_h. |
4683 | ||
adf5f719 TR |
4684 | 2003-06-19 Theodore A. Roth <troth@openavr.org> |
4685 | ||
4686 | * avr-tdep.c (avr_extract_return_value): Delete debugging fprintf. | |
4687 | ||
6766a268 DJ |
4688 | 2003-06-19 Daniel Jacobowitz <drow@mvista.com> |
4689 | ||
4690 | * varobj.c (get_type, get_target_type): Use check_typedef. | |
4691 | ||
1171114a DJ |
4692 | 2003-06-19 Daniel Jacobowitz <drow@mvista.com> |
4693 | ||
4694 | * breakpoint.c (insert_catchpoint): Call internal_error. | |
4695 | ||
adcf68a2 TR |
4696 | 2003-06-19 Theodore A. Roth <troth@openavr.org> |
4697 | ||
4698 | * avr-tdep.c (avr_push_dummy_code): Delete function. | |
4699 | (avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code. | |
4700 | ||
ea67f13b DJ |
4701 | 2003-06-19 Daniel Jacobowitz <drow@mvista.com> |
4702 | ||
4703 | * arch-utils.c (default_prepare_to_proceed): Remove. | |
4704 | (generic_prepare_to_proceed): Remove. | |
4705 | * arch-utils.h (default_prepare_to_proceed): Remove prototype. | |
4706 | (generic_prepare_to_proceed): Remove prototype. | |
4707 | * gdbarch.sh (PREPARE_TO_PROCEED): Remove. | |
4708 | * gdbarch.c: Regenerate. | |
4709 | * gdbarch.h: Regenerate. | |
4710 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype. | |
4711 | * hppah-nat.c (hppa_switched_threads): Remove. | |
4712 | * infrun.c (prepare_to_proceed): New static function, copied from | |
4713 | generic_prepare_to_proceed. Remove select_it argument. | |
4714 | (proceed): Call prepare_to_proceed. | |
4715 | * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove | |
4716 | variables. | |
4717 | (ptrace_wait): Don't set the removed variables. | |
4718 | (hppa_switched_threads): Remove. | |
4719 | * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove. | |
4720 | * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define. | |
4721 | (lin_lwp_prepare_to_proceed): Remove prototype. | |
4722 | * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine. | |
4723 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define. | |
4724 | ||
4add8633 TR |
4725 | 2003-06-18 Theodore A. Roth <troth@openavr.org> |
4726 | ||
4727 | * avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, and | |
4728 | trad-frame.h. | |
4729 | (AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64. | |
4730 | (AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define. | |
4731 | (AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define. | |
4732 | (AVR_PROLOGUE_*): Enumerate prologue types. | |
4733 | (struct frame_extra_info): Remove. | |
4734 | (struct avr_unwind_cache): Define. | |
4735 | (avr_write_sp): Delete function. | |
4736 | (avr_read_fp): Ditto. | |
4737 | (avr_init_extra_frame_info): Ditto. | |
4738 | (avr_pop_frame): Ditto. | |
4739 | (avr_frame_saved_pc): Ditto. | |
4740 | (avr_saved_pc_after_call): Ditto. | |
4741 | (avr_push_return_address): Ditto. | |
4742 | (avr_frame_chain): Ditto. | |
4743 | (avr_store_struct_return): Ditto. | |
4744 | (avr_push_arguments): Ditto. | |
4745 | (avr_scan_prologue): Update comments. Changed to set up the info for | |
4746 | cache unwinding. Now returns end of prologue PC. | |
4747 | (avr_skip_prologue): Better handling of functions lacking a prologue | |
4748 | by using avr_scan_prologue. | |
4749 | (avr_scan_arg_moves): New function. | |
4750 | (avr_saved_regs_unwinder): Ditto. | |
4751 | (avr_frame_unwind_cache): Ditto. | |
4752 | (avr_unwind_pc): Ditto. | |
4753 | (avr_frame_this_id): Ditto. | |
4754 | (avr_frame_prev_register): Ditto. | |
4755 | (avr_frame_p): Ditto. | |
4756 | (avr_frame_base_address ): Ditto. | |
4757 | (avr_unwind_dummy_id): Ditto. | |
4758 | (avr_push_dummy_code): Ditto. | |
4759 | (push_stack_item): Ditto. | |
4760 | (pop_stack_item): Ditto. | |
4761 | (avr_push_dummy_call): Ditto. | |
4762 | (struct stack_item): Define. | |
4763 | (avr_frame_unwind): Declare structure. | |
4764 | (avr_frame_base): Ditto. | |
4765 | (avr_gdbarch_init): Remove calls to | |
4766 | set_gdbarch_deprecated_init_frame_pc, | |
4767 | set_gdbarch_deprecated_target_read_fp, | |
4768 | set_gdbarch_deprecated_dummy_write_sp, | |
4769 | set_gdbarch_deprecated_fp_regnum, | |
4770 | set_gdbarch_deprecated_push_arguments, | |
4771 | set_gdbarch_deprecated_push_return_address, | |
4772 | set_gdbarch_deprecated_pop_frame, | |
4773 | set_gdbarch_deprecated_store_struct_return, | |
4774 | set_gdbarch_deprecated_frame_init_saved_regs, | |
4775 | set_gdbarch_deprecated_init_extra_frame_info, | |
4776 | set_gdbarch_deprecated_frame_chain, | |
4777 | set_gdbarch_deprecated_frame_saved_pc, | |
4778 | set_gdbarch_deprecated_saved_pc_after_call. | |
4779 | Add calls to set_gdbarch_push_dummy_call, | |
4780 | set_gdbarch_push_dummy_code, | |
4781 | frame_unwind_append_predicate, | |
4782 | frame_base_set_default, | |
4783 | set_gdbarch_unwind_dummy_id, | |
4784 | set_gdbarch_unwind_pc. | |
4785 | Wrap a long line. | |
4786 | ||
7be04a68 MS |
4787 | 2003-06-18 Corinna Vinschen <vinschen@redhat.com> |
4788 | ||
4789 | * h8300-tdep.c (h8300s_register_name): Enable MACH and MACL | |
4790 | registers for H8/300S. | |
4791 | (h8300_print_registers_info): Ditto. | |
8ffd9b1b | 4792 | (h8300_gdbarch_init): Accommodate register count for H8/300S. |
7be04a68 | 4793 | |
ae087d01 DJ |
4794 | 2003-06-18 Daniel Jacobowitz <drow@mvista.com> |
4795 | ||
4796 | * config/nm-linux.h (linux_record_stopped_pid): New prototype. | |
4797 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
4798 | (lin_lwp_wait): Likewise. Update comments. | |
4799 | * linux-nat.c (struct simple_pid_list, add_to_pid_list) | |
4800 | (pull_pid_from_list, linux_record_stopped_pid): New. | |
4801 | ||
07d8f827 SC |
4802 | 2003-06-17 Stephane Carrez <stcarrez@nerim.fr> |
4803 | ||
4804 | * ada-lang.c (scan_discrim_bound): Name first argument. | |
4805 | (ada_add_block_symbols): Remove BLOCK_SYM to use local variable | |
4806 | declared by ALL_BLOCK_SYMBOLS. | |
4807 | ||
7cb47b14 SC |
4808 | 2003-06-17 Stephane Carrez <stcarrez@nerim.fr> |
4809 | ||
4810 | * ada-tasks.c (find_function_in_inferior): Don't declare it. | |
4811 | ("regcache.h"): Include it. | |
4812 | * ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN. | |
4813 | ||
6ad8ae5c DJ |
4814 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
4815 | ||
4816 | * NEWS: Mention gdbserver detach change and "disconnect" command. | |
4817 | * infcmd.c (disconnect_command): New function. | |
4818 | (_initialize_infcmd): Add ``disconnect'' command. | |
4819 | * remote.c (remote_async_detach): Delete. | |
4820 | (remote_detach): Merge remote_async_detach. | |
4821 | (remote_disconnect): New. | |
4822 | (init_remote_ops): Set to_disconnect. | |
4823 | (init_remote_cisco_ops): Likewise. | |
4824 | (init_remote_async_ops): Likewise. Use remote_detach. | |
4825 | * target.c (cleanup_target): Default to_disconnect. | |
4826 | (update_current_target): Inherit to_disconnect. | |
4827 | (target_disconnect, debug_to_disconnect): New functions. | |
4828 | (setup_target_debug): Set to_disconnect. | |
4829 | * target.h (struct target_ops): Add to_disconnect. | |
4830 | (target_disconnect): Add prototype. | |
4831 | ||
687595f9 DJ |
4832 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
4833 | ||
4834 | * breakpoint.c (insert_catchpoint): New function. | |
4835 | (insert_breakpoints): Use catch_exceptions to call | |
4836 | insert_catchpoint. Disable catchpoints if they fail to insert. | |
4837 | ||
29239a8f DJ |
4838 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
4839 | ||
4840 | * symfile.c (reread_symbols): Clear sym_private. | |
4841 | ||
2cdf3c63 AC |
4842 | 2003-06-17 Andrew Cagney <cagney@redhat.com> |
4843 | ||
4844 | * trad-frame.h (struct frame_info): Add opaque declaration. | |
4845 | * remote-fileio.h (struct cmd_list_element): Add opaque | |
4846 | declaration. | |
4847 | * h8300-tdep.c (h8300s_register_name): Avoid C++ // style | |
4848 | comments. | |
4849 | ||
cf0e1e0d DJ |
4850 | 2003-06-17 Daniel Jacobowitz <drow@mvista.com> |
4851 | ||
4852 | * remote.c (remote_prepare_to_store): Replace call to | |
4853 | deprecated_read_register_bytes with multiple regcache_raw_read | |
4854 | calls. | |
4855 | ||
192cdb19 KW |
4856 | 2003-06-17 Kris Warkentin <kewarken@qnx.com> |
4857 | ||
4858 | * nto-tdep.c (nto_map_arch_to_cputype): Recognize "powerpc". | |
4859 | (nto_find_and_open_solib): Likewise. | |
4860 | (nto_init_solib_absolute_prefix): Likewise. | |
4861 | (_initialize_nto_tdep): Fix indentation. | |
4862 | ||
89929b45 KW |
4863 | 2003-06-17 Kris Warkentin <kewarken@qnx.com> |
4864 | ||
4865 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR. | |
4866 | ||
46019f27 KW |
4867 | 2003-06-17 Kris Warkentin <kewarken@qnx.com> |
4868 | ||
4869 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using. | |
4870 | ||
1a38736e JB |
4871 | 2003-06-17 Jim Blandy <jimb@redhat.com> |
4872 | ||
4873 | * ppc-linux-tdep.c: "Linux" -> "GNU/Linux" | |
4874 | ||
3605c34a TR |
4875 | 2003-06-16 Theodore A. Roth <troth@openavr.org> |
4876 | ||
4877 | * avr-tdep.c (avr_extract_return_value): New function. | |
4878 | (avr_gdbarch_init): Set extract_return_value method. | |
4879 | ||
870b3035 AC |
4880 | 2003-06-16 Andrew Cagney <cagney@redhat.com> |
4881 | ||
4882 | * frame.h (deprecated_get_next_frame_hack): Declare. | |
4883 | * frame.c (legacy_saved_regs_prev_register): Only require | |
4884 | DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that | |
4885 | there are always saved regs. | |
4886 | (deprecated_generic_get_saved_register): Do not require | |
4887 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
4888 | (legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN, | |
4889 | use frame ID unwind instead. | |
4890 | (deprecated_get_next_frame_hack): New function. | |
4891 | ||
63d47a7d CV |
4892 | 2003-06-16 Corinna Vinschen <vinschen@redhat.com> |
4893 | ||
4894 | * h8300-tdep.c (h8300_push_arguments): Remove. Substitute by... | |
4895 | (h8300_push_dummy_call): ...this function. Some minor optimization. | |
4896 | (h8300_push_return_address): Remove. | |
4897 | (h8300_gdbarch_init): Remove calls to | |
4898 | set_gdbarch_deprecated_dummy_write_sp, | |
4899 | set_gdbarch_deprecated_push_arguments and | |
4900 | set_gdbarch_deprecated_push_return_address. | |
4901 | Add call to set_gdbarch_push_dummy_call. | |
4902 | ||
4bb1dc5e CV |
4903 | 2003-06-16 Corinna Vinschen <vinschen@redhat.com> |
4904 | ||
4905 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define. | |
4906 | (E_PSEUDO_EXR_REGNUM): Ditto. | |
4907 | (h8300_is_argument_spill): Check for instructions moving argument | |
8ffd9b1b | 4908 | registers into safe registers. |
4bb1dc5e CV |
4909 | (h8300_skip_prologue): Check for stm instruction to push registers |
4910 | used for register variables onto stack. | |
4911 | (gdb_print_insn_h8300): Remove. | |
4912 | (h8300_examine_prologue): Add a comment. | |
4913 | (h8300_register_name): Take pseudo registers into account. | |
4914 | (h8300s_register_name): Ditto. | |
4915 | (h8300sx_register_name): Ditto. | |
4916 | (h8300_print_register): Ditto. | |
4917 | (h8300_print_registers_info): Define "nice" printing order. | |
4918 | (h8300_saved_pc_after_call): Take pseudo registers into account. | |
4919 | (h8300_register_type): Ditto. Return type used for remote connection | |
4920 | when requesting real CCR or EXR register, return actual type when | |
4921 | requesting pseudo CCR or EXR. | |
4922 | (h8300_pseudo_register_read): New function. | |
4923 | (h8300_pseudo_register_write): Ditto. | |
4924 | (h8300_dbg_reg_to_regnum): Ditto. | |
4925 | (h8300s_dbg_reg_to_regnum): Ditto. | |
4926 | (h8300_gdbarch_init): Call set_gdbarch_num_pseudo_regs, | |
4927 | set_gdbarch_ecoff_reg_to_regnum, set_gdbarch_dwarf_reg_to_regnum, | |
4928 | set_gdbarch_dwarf2_reg_to_regnum, set_gdbarch_stab_reg_to_regnum and | |
4929 | set_gdbarch_print_insn architecture dependent. | |
4930 | Call set_gdbarch_pseudo_register_read and | |
4931 | set_gdbarch_pseudo_register_write. | |
4932 | (_initialize_h8300_tdep): Remove assignment to deprecated_tm_print_insn. | |
4933 | ||
a59fe496 AC |
4934 | 2003-06-16 Andrew Cagney <cagney@redhat.com> |
4935 | ||
4936 | * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate. | |
4937 | * gdbarch.h, gdbarch.c: Re-generate. | |
4938 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4939 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4940 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4941 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4942 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4943 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4944 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4945 | * infcall.c (call_function_by_hand): Update. | |
4946 | * ia64-tdep.c (ia64_push_arguments): Update comment. | |
4947 | * frame.c (legacy_get_prev_frame): Do not assume | |
4948 | SAVE_DUMMY_FRAME_TOS_P. | |
4949 | * dummy-frame.c (find_dummy_frame): Update comment. | |
4950 | ||
6f4e5a41 AC |
4951 | 2003-06-16 Andrew Cagney <cagney@redhat.com> |
4952 | ||
4953 | * regcache.c (do_cooked_read): Do not use register_valid_p. | |
4954 | ||
72fab697 TR |
4955 | 2003-06-15 Theodore A. Roth <troth@openavr.org> |
4956 | ||
4957 | * avr-tdep.c (avr_register_type): Remove a blank line. | |
4958 | (avr_scan_prologue): Correct some comments. | |
4959 | ||
e3d8b004 TR |
4960 | 2003-06-15 Theodore A. Roth <troth@openavr.org> |
4961 | ||
4962 | * avr-tdep.c (avr_scan_prologue): Update comment describing the various | |
4963 | prologue types. | |
8ffd9b1b | 4964 | Properly scan prologues generated by gcc with the -mcall-prologues |
e3d8b004 TR |
4965 | option. |
4966 | Add code to scan -mcall-prologues for mega devices. | |
4967 | ||
866b76ea TR |
4968 | 2003-06-15 Theodore A. Roth <troth@openavr.org> |
4969 | ||
4970 | * avr-tdep.c (avr_register_byte): Delete function. | |
4971 | (avr_register_raw_size): Delete function. | |
4972 | (avr_register_virtual_size): Delete function. | |
4973 | (avr_register_virtual_type): Delete function. | |
4974 | (avr_register_type): New function. | |
4975 | (avr_address_to_pointer): Remove unused code. | |
4976 | (avr_read_fp): Need to read FP as two separate bytes due to change to | |
4977 | avr_register_type() usage. | |
4978 | (avr_gdbarch_init): Don't set deprecated_register_size. | |
4979 | Don't set deprecated_register_bytes. | |
4980 | Don't set deprecated_register_byte. | |
4981 | Don't set deprecated_register_raw_size. | |
4982 | Don't set deprecated_max_register_raw_size. | |
4983 | Don't set deprecated_register_virtual_size. | |
4984 | Don't set deprecated_max_register_virtual_size. | |
4985 | Don't set deprecated_register_virtual_type. | |
4986 | Set register_type method. | |
4987 | ||
3993f6b1 DJ |
4988 | 2003-06-15 Daniel Jacobowitz <drow@mvista.com> |
4989 | ||
4990 | * Makefile.in (linux-nat.o): Add rule. | |
4991 | * linux-nat.c: New file. | |
4992 | * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define. | |
4993 | (CHILD_INSERT_VFORK_CATCHPOINT): Define. | |
4994 | (CHILD_INSERT_EXEC_CATCHPOINT): Define. | |
4995 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o. | |
4996 | * config/arm/linux.mh (NATDEPFILES): Likewise. | |
4997 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
4998 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
4999 | * config/ia64/linux.mh (NATDEPFILES): Likewise. | |
5000 | * config/m68k/linux.mh (NATDEPFILES): Likewise. | |
5001 | * config/mips/linux.mh (NATDEPFILES): Likewise. | |
5002 | * config/powerpc/linux.mh (NATDEPFILES): Likewise. | |
5003 | * config/s390/s390.mh (NATDEPFILES): Likewise. | |
5004 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
5005 | ||
786a90bb MK |
5006 | 2003-06-15 Mark Kettenis <kettenis@gnu.org> |
5007 | ||
5008 | * i387-tdep.c: Reorder includes, fix some whitespace issues and | |
5009 | replace out-of-date comment. | |
5010 | ||
3bd3f01e AC |
5011 | 2003-06-15 Andrew Cagney <cagney@redhat.com> |
5012 | ||
5013 | * rdi-share/host.h (Fail): Change to a varargs function. | |
5014 | * remote-rdi.c (Fail): Update. | |
8ffd9b1b | 5015 | |
de5b9bb9 MK |
5016 | 2003-06-15 Mark Kettenis <kettenis@gnu.org> |
5017 | ||
5018 | * i386-tdep.c (i386_next_regnum): Fix bounds checking. | |
5019 | (i386_convert_register_p, i386_register_to_value, | |
5020 | i386_register_from_value): Handle types longer than 8 bytes. | |
5021 | ||
d532c08f MK |
5022 | 2003-06-15 Mark Kettenis <kettenis@gnu.org> |
5023 | ||
5024 | * i386-tdep.c (i386_register_to_value, i386_value_to_register): | |
5025 | Move floating-point code to new function in i387-tdep.c. | |
5026 | * i387-tdep.c (i387_register_to_value, i387_value_to_register): | |
5027 | New functions containing code moved here from i386-tdep.c. | |
5028 | * i387-tdep.h: Add opaque declaration for `struct type'. | |
5029 | (i387_register_to_value, i387_value_to_register): New prototypes. | |
5030 | * x86-64-tdep.c (x86_64_convert_register_p): New function. | |
5031 | (x86_64_init_abi): Set convert_register_p, register_to_value and | |
5032 | value_to_register here. | |
8ffd9b1b | 5033 | |
42c466d7 AC |
5034 | 2003-06-14 Andrew Cagney <cagney@redhat.com> |
5035 | ||
5036 | * mips-tdep.c (mips_register_to_value): Make static. | |
5037 | (mips_value_to_register): Make static. | |
5038 | * i386-tdep.c (i386_fetch_pointer_argument): Make static. | |
5039 | * ia64-tdep.c (ia64_register_raw_size): Make static. | |
5040 | (ia64_register_virtual_size): Make static. | |
5041 | (ia64_register_byte): Make static. | |
5042 | * i387-tdep.c: Include "i387-tdep.h". | |
5043 | (print_387_control_word): Delete function. | |
5044 | (print_387_status_word): Delete function. | |
5045 | (print_387_status_bits): Delete function. | |
5046 | (print_387_control_bits): Delete function. | |
5047 | * Makefile.in (i387-tdep.o): Update dependencies. | |
5048 | * rdi-share/host.h (Fail): Declare. | |
5049 | * remote-rdi.c (Fail): Update to match declaration. | |
5050 | ||
2a9cda49 AC |
5051 | 2003-06-14 Andrew Cagney <cagney@redhat.com> |
5052 | ||
5053 | * config/mips/embedl64.mt (TDEPFILES): Delete "remote-array.o". | |
5054 | * config/mips/embedl.mt (TDEPFILES): Delete "remote-array.o". | |
5055 | * config/mips/embed64.mt (TDEPFILES): Delete "remote-array.o". | |
5056 | * config/djgpp/fnchange.lst: Delete "remote-array.c". | |
5057 | * README: Delete reference to remote-array. | |
5058 | * Makefile.in (ALLDEPFILES): Remove "remote-array.c". | |
5059 | (remote-array.o): Delete target. | |
5060 | * config/mips/embed.mt (TDEPFILES): Delete "remote-array.o". | |
5061 | * remote-array.c: Delete file. | |
5062 | ||
ff2e87ac AC |
5063 | 2003-06-14 Andrew Cagney <cagney@redhat.com> |
5064 | Mark Kettenis <kettenis@gnu.org> | |
5065 | ||
5066 | * gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter. | |
5067 | (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace raw buffer | |
5068 | parameter with "frame". | |
5069 | * gdbarch.h, gdbarch.c: Re-generate. | |
5070 | * frame.h (put_frame_register): Declare. | |
5071 | * frame.c (put_frame_register): New function. | |
5072 | * arch-utils.c (legacy_convert_register_p): Add "type" parameter. | |
5073 | (legacy_register_to_value): Rewrite, use "frame" to get the | |
5074 | register value. | |
5075 | (legacy_value_to_register): Rewrite, use "frame" to find the | |
5076 | register's location before storing. | |
5077 | * arch-utils.h (legacy_convert_register_p): Update. | |
5078 | (legacy_register_to_value, legacy_value_to_register): Update. | |
5079 | * findvar.c (value_from_register): Rewrite, eliminate use of | |
5080 | REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass | |
5081 | "frame" to REGISTER_TO_VALUE. | |
5082 | * valops.c (value_assign): Move the CONVERT_REGISTER code to the | |
5083 | lval_reg_frame_relative + lval_register branch of the switch. Do | |
5084 | not use REGISTER_CONVERT_FROM_TYPE. Use put_frame_register. | |
5085 | * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM, | |
5086 | I386_EDI_REGNUM): New defines. | |
5087 | (i386_next_regnum, i386_convert_register_p, | |
5088 | i386_register_to_value, i386_value_to_register): New functions. | |
5089 | (i386_register_convertible, i386_register_convert_to_virtual, | |
5090 | i386_convert_to_raw): Remove functions. | |
5091 | (i386_gdbarch_init): Set convert_register_p, register_to_value and | |
5092 | value_to_register instead of register_convertible, | |
5093 | register_convert_to_virtual and register_convert_to_raw. | |
5094 | * mips-tdep.c (mips_convert_register_p): New function. | |
5095 | (mips_value_to_register): Replace mips_register_convert_from_type. | |
5096 | (mips_register_to_value): Replace mips_register_convert_to_type. | |
5097 | (mips_gdbarch_init): Set conver_register_p, value_to_register and | |
5098 | register_to_value. | |
5099 | * alpha-tdep.c (alpha_convert_register_p): Update. | |
5100 | (alpha_value_to_register): Update, store the register. | |
5101 | (alpha_register_to_value): Update, fetch the register. | |
5102 | ||
98be1e77 TR |
5103 | 2003-06-14 Theodore A. Roth <troth@openavr.org> |
5104 | ||
5105 | * avr-tdep.c (avr_remote_translate_xfer_address): Delete function. | |
5106 | (avr_gdbarch_init): Remove avr_call_dummy_words variable. | |
5107 | Don't set deprecated_call_dummy_words. | |
5108 | Remove commented out set_gdbarch_believe_pcc_promotion() call. | |
5109 | Don't set remote_translate_xfer_address. | |
5110 | (avr_io_reg_read_command): Remove commented out debug printf. | |
5111 | Wrap a long line. | |
5112 | ||
57bc6122 TR |
5113 | 2003-06-14 Theodore A. Roth <troth@openavr.org> |
5114 | ||
5115 | * avr-tdep.c (avr_scan_prologue): Fix to avoid a buffer over run which | |
5116 | causes gdb to seg fault. | |
5117 | ||
eb01fc62 DJ |
5118 | 2003-06-14 Daniel Jacobowitz <drow@mvista.com> |
5119 | ||
5120 | * sparc-nat.c (fetch_inferior_registers): Correct | |
5121 | a reference to "registers". | |
5122 | ||
3b3e6bee DJ |
5123 | 2003-06-14 Jeroen Dekkers <jeroen@dekkers.cx> |
5124 | ||
5125 | * Makefile.in (exc_request_U_h): Define | |
5126 | (exc_request_S_h): Likewise. | |
5127 | (msg_reply_S_h): Likewise. | |
5128 | (msg_U_h): Likewise. | |
5129 | (notify_S_h): Likewise. | |
5130 | (process_reply_S_h): Likewise. | |
5131 | (gnu-nat.o): Depend on gdb_obstack_h | |
5132 | * gnu-nat.c: Include "gdb_obstack.h". | |
5133 | ||
b8de8283 AC |
5134 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
5135 | ||
5136 | * gdbarch.sh: Document what PUSH_DUMMY_CALL replaces. | |
5137 | * gdbarch.h, gdbarch.c: Re-generate. | |
8ffd9b1b | 5138 | |
f3be58bc AC |
5139 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
5140 | ||
5141 | * gdbarch.sh: Document what UNWIND_DUMMY_ID replaces. Clarify | |
5142 | when deprecated REGISTER macros can be deleted. | |
5143 | * gdbarch.h, gdbarch.c: Re-generate. | |
5144 | ||
4c0122c8 JB |
5145 | 2003-06-13 Jim Blandy <jimb@redhat.com> |
5146 | ||
5147 | * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC | |
5148 | Linux entry point symbols for _dl_debug_state, too. | |
5149 | ||
3e210248 AC |
5150 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
5151 | ||
5152 | * infcall.c (call_function_by_hand): When UNWIND_DUMMY_ID is | |
5153 | available, do not use the FP register, and always save the TOS. | |
5154 | * dummy-frame.c (dummy_frame_this_id): Do not assert | |
5155 | SAVE_DUMMY_FRAME_TOS. | |
5156 | * i386-tdep.c (i386_save_dummy_frame_tos): Delete function. | |
5157 | (i386_gdbarch_init): Do not set save_dummy_frame_tos. | |
5158 | (i386_push_dummy_call): Add 8 to the returned SP. | |
5159 | * frame.c (legacy_frame_p): Do not require SAVE_DUMMY_FRAME_TOS. | |
5160 | * d10v-tdep.c (d10v_unwind_dummy_id): Use d10v_unwind_sp. | |
5161 | (d10v_gdbarch_init): Do not set save_dummy_frame_tos. | |
5162 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos): Delete function. | |
5163 | (x86_64_push_dummy_call): Return "sp + 16". | |
5164 | (x86_64_init_abi): Do not set save_dummy_frame_tos. | |
5165 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
5166 | save_dummy_frame_tos. | |
5167 | ||
0b65af49 JB |
5168 | 2003-06-13 Jim Blandy <jimb@redhat.com> |
5169 | ||
5170 | * frv-tdep.c (frv_use_struct_convention): Delete static | |
5171 | declaration for function deleted in my change of 2003-06-12. | |
5172 | ||
4ea2465e TR |
5173 | 2003-06-13 Theodore A. Roth <troth@openavr.org> |
5174 | ||
5175 | * avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit. | |
5176 | (avr_pointer_to_address): Shift code addrs left 1 bit. | |
5177 | (avr_convert_from_func_ptr_addr): Delete function since operation is | |
5178 | better handled by avr_address_to_pointer and avr_pointer_to_address. | |
5179 | (avr_gdbarch_init): Don't set convert_from_func_ptr_add method. | |
5180 | ||
1581182a MK |
5181 | 2003-06-13 Mark Kettenis <kettenis@gnu.org> |
5182 | ||
5183 | From Kelley Cook <kelleycook@wideopenwest.com>: | |
5184 | * configure.host: Accept i[34567]86 variants. | |
5185 | * configure.tgt: Likewise. | |
5186 | * nlm/configure.in: Likewise. | |
5187 | * nlm/configure: Regenerated. | |
5188 | ||
7aa1783e RE |
5189 | 2003-06-13 Richard Earnshaw <rearnsha@arm.com> |
5190 | ||
5191 | * arm-tdep.c (solib-svr4.h): Dont' include it. | |
5192 | (arm_linux_svr4_fetch_link_map_offsets): Move to ... | |
5193 | * arm-linux-tdep.c: ... here. Make static. | |
5194 | (arm_linux_init_abi): Register it. | |
5195 | (solib-svr4.h): Include it. | |
5196 | * Makefile.in: Update dependencies. | |
5197 | * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete. | |
5198 | (arm_linux_svr4_fetch_link_map_offsets): Delete declaration. | |
5199 | ||
0261a0d0 CV |
5200 | 2003-06-13 Corinna Vinschen <vinschen@redhat.com> |
5201 | ||
5202 | * h8300-tdep.c: Add definitions E_RET0_REGNUM and E_RET1_REGNUM to | |
5203 | indicate registers used for return values. | |
5204 | (struct frame_extra_info): Drop args_pointer and locals_pointer. | |
5205 | (h8300_examine_prologue): Remove initializing dropped frame_extra_info | |
5206 | members. | |
5207 | (h8300_init_extra_frame_info): Ditto. | |
5208 | (h8300_frame_locals_address): Removed. | |
5209 | (h8300_frame_args_address): Removed. | |
5210 | (h8300_extract_return_value): Use new regcache structure. Only care | |
5211 | for 16 bit CPUs. | |
5212 | (h8300h_extract_return_value): Same function for 32 bit CPUs. | |
5213 | (h8300_store_return_value): Use new regcache structure. Only care | |
5214 | for 16 bit CPUs. | |
5215 | (h8300h_store_return_value): Same function for 32 bit CPUs. | |
5216 | (h8300_store_struct_return): Removed. | |
5217 | (h8300_extract_struct_value_address): Use new regcache structure. | |
5218 | (h8300h_extract_struct_value_address): Removed. | |
5219 | (h8300_push_dummy_code): New function. | |
5220 | (h8300_gdbarch_init): Slightly rearranged to stress deprecated calls. | |
5221 | Remove call_dummy_words. Call set_gdbarch_extract_return_value and | |
5222 | set_gdbarch_store_return_value architecture dependent. | |
5223 | Call set_gdbarch_push_dummy_code and | |
5224 | set_gdbarch_extract_struct_value_address. | |
5225 | Remove calls to set_gdbarch_frame_args_address, | |
5226 | set_gdbarch_frame_locals_address, | |
5227 | set_gdbarch_deprecated_store_struct_return, | |
5228 | set_gdbarch_deprecated_extract_return_value, | |
5229 | set_gdbarch_deprecated_extract_struct_value_address, | |
5230 | set_gdbarch_deprecated_call_dummy_words and | |
5231 | set_gdbarch_deprecated_sizeof_call_dummy_words. | |
5232 | ||
055c394a CV |
5233 | 2003-06-13 Corinna Vinschen <vinschen@redhat.com> |
5234 | ||
5235 | * h8300-tdep.c (h8300_register_byte): Remove. | |
5236 | (h8300h_register_byte): Remove. | |
5237 | (h8300_register_virtual_type): Remove. Substitute by... | |
5238 | (h8300_register_type): New function. | |
5239 | (h8300_extract_struct_value_address): Drop usage of h8300_register_byte. | |
5240 | (h8300h_extract_struct_value_address): Ditto. | |
5241 | (h8300_gdbarch_init): Drop calls to | |
5242 | set_gdbarch_deprecated_register_byte and | |
5243 | set_gdbarch_deprecated_register_virtual_type. | |
5244 | Add call to set_gdbarch_register_type. | |
5245 | ||
9c04cab7 AC |
5246 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
5247 | ||
5248 | * gdbarch.sh: Update comments on registers. | |
5249 | (deprecated_register_byte): Rename register_byte. | |
5250 | (deprecated_register_raw_size): Rename register_raw_size. | |
5251 | (deprecated_register_virtual_size): Rename register_virtual_size. | |
5252 | (deprecated_register_virtual_type): Rename register_virtual_type. | |
5253 | * gdbarch.h, gdbarch.c: Re-generate. | |
5254 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
5255 | * vax-tdep.c (vax_gdbarch_init): Update. | |
5256 | * v850-tdep.c (v850_gdbarch_init): Update. | |
5257 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
5258 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5259 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5260 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5261 | * ns32k-tdep.c: Update. | |
5262 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
5263 | * mips-tdep.c (mips_gdbarch_init): Update. | |
5264 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5265 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
5266 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5267 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5268 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
5269 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
5270 | * frv-tdep.c (frv_gdbarch_init): Update. | |
5271 | * cris-tdep.c (cris_gdbarch_init): Update. | |
5272 | * avr-tdep.c (avr_gdbarch_init): Update. | |
5273 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
5274 | * arm-tdep.c (arm_gdbarch_init): Update. | |
5275 | ||
b060cbea AC |
5276 | 2003-06-13 Andrew Cagney <cagney@redhat.com> |
5277 | ||
5278 | * mips-tdep.c (mips_gdbarch_init): Replace remaining instances of | |
5279 | mips_o32_use_struct_convention with always_use_struct_convention. | |
5280 | ||
0fc9922a DC |
5281 | 2003-06-12 David Carlton <carlton@kealia.com> |
5282 | ||
5283 | * cp-namespace.c (cp_set_block_scope): Comment out | |
5284 | processing_has_namespace_info branch. | |
5285 | ||
1fd35568 JB |
5286 | 2003-06-12 Jim Blandy <jimb@redhat.com> |
5287 | ||
f470a70a JB |
5288 | Recognize and skip 64-bit PowerPC Linux linkage functions. |
5289 | * ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct | |
5290 | insn_pattern, insns_match_pattern, d_field, ds_field): New | |
5291 | functions, macros, and types for working with PPC instructions. | |
5292 | (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN, | |
5293 | ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target, | |
5294 | ppc64_skip_trampoline_code): New functions, variables, and macros | |
5295 | for recognizing and skipping linkage functions. | |
5296 | (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and | |
5297 | ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI. | |
5298 | ||
49ff75ad JB |
5299 | * ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-area |
5300 | register offsets for both the 32- and 64-bit interfaces. | |
5301 | ||
bd918c83 JB |
5302 | Actually finish the job started by my change of 2003-05-29. |
5303 | * config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the | |
5304 | other #definition of this. | |
5305 | (ppc_linux_skip_trampoline_code): Remove declaration. | |
5306 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this | |
5307 | static. | |
5308 | (ppc_linux_init_abi): Register it as the skip_trampoline_code | |
5309 | method for GDBARCH. | |
5310 | ||
5311 | * config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This is | |
5312 | 'long' on ppc64-*-linux*. | |
5313 | ||
f8c59253 JB |
5314 | * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ |
5315 | isn't #defined, assume the register doesn't exist: act as if | |
5316 | tdep->ppc_mq_regnum were -1. | |
5317 | ||
8fbb30b1 JB |
5318 | * configure.host, configure.tgt: Add entries for |
5319 | powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and | |
5320 | powerpc/linux.mt. | |
5321 | * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: | |
5322 | New files. | |
5323 | ||
1fd35568 JB |
5324 | * arch-utils.c (always_use_struct_convention): New function. |
5325 | * arch-utils.h (always_use_struct_convention): New prototype. | |
5326 | * alpha-tdep.c (alpha_use_struct_convention): Delete. | |
5327 | (alpha_gdbarch_init): Register always_use_struct_convention, | |
5328 | instead of alpha_use_struct_convention. | |
5329 | * cris-tdep.c (cris_use_struct_convention): Delete. | |
5330 | (cris_gdbarch_init): Register always_use_struct_convention, | |
5331 | instead of cris_use_struct_convention. | |
5332 | * frv-tdep.c (frv_use_struct_convention): Delete. | |
5333 | (frv_gdbarch_init): Register always_use_struct_convention, | |
5334 | instead of frv_use_struct_convention. | |
5335 | * h8300-tdep.c (h8300_use_struct_convention): Delete. | |
5336 | (h8300_gdbarch_init): Register always_use_struct_convention, | |
5337 | instead of h8300_use_struct_convention. | |
e3305dd9 | 5338 | * mips-tdep.c (mips_o32_use_struct_convention): Delete. |
1fd35568 JB |
5339 | (mips_o32_gdbarch_init): Register always_use_struct_convention, |
5340 | instead of mips_o32_use_struct_convention. | |
5341 | ||
e14e6e9c AC |
5342 | 2003-06-12 Andrew Cagney <cagney@redhat.com> |
5343 | ||
5344 | * wince.c: Include "mips-tdep.h". | |
5345 | * mips-tdep.h (mips_next_pc): Declare. | |
5346 | * mcore-tdep.c: Make more local functions static. | |
5347 | * Makefile.in (wince.o): Update dependencies. | |
5348 | ||
2335f48e DC |
5349 | 2003-06-12 David Carlton <carlton@kealia.com> |
5350 | ||
5351 | * symtab.c (lookup_symbol_aux_minsyms): Replace | |
5352 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
5353 | (find_pc_sect_line, search_symbols, rbreak_command): Ditto. | |
5354 | (COMPLETION_LIST_ADD_SYMBOL): Rewrite in terms of | |
5355 | SYMBOL_NATURAL_NAME. | |
5356 | ||
f70a7d61 AS |
5357 | 2003-06-12 Andreas Schwab <schwab@suse.de> |
5358 | ||
5359 | * Makefile.in (tuiDisassem.o): Update dependencies. | |
5360 | ||
b6429628 DC |
5361 | 2003-06-12 David Carlton <carlton@bactrian.org> |
5362 | ||
5363 | * symtab.h: Delete declaration of make_symbol_overload_list. | |
5364 | Add declaration of lookup_partial_symbol. | |
5365 | * symtab.c (remove_params): Move to cp-support.c. | |
5366 | (overload_list_add_symbol, make_symbol_overload_list) | |
5367 | (sym_return_val_size, sym_return_val_index): Ditto. | |
5368 | (lookup_partial_symbol): Make extern. | |
5369 | * cp-support.h: Add declaration of make_symbol_overload_list. | |
5370 | * cp-support.c: Include dictionary.h, objfiles.h, frame.h, | |
5371 | symtab.h, and block.h. | |
5372 | (remove_params): Move here from symtab.c. | |
5373 | (overload_list_add_symbol, make_symbol_overload_list) | |
5374 | (sym_return_val_size, sym_return_val_index): Ditto. | |
5375 | * valops.c: Include cp-support.h. | |
5376 | * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h, | |
5377 | frame_h, and block_h. | |
5378 | (valops.o): Depend on cp_support_h. | |
5379 | ||
084edea5 CV |
5380 | 2003-06-12 Corinna Vinschen <vinschen@redhat.com> |
5381 | ||
5382 | * h8300-tdep.c: Add H8SX registers. Drop E_NUM_REGS entirely, | |
5383 | substitute by NUM_REGS throughout. | |
5384 | (h8300_register_name): Only care for H8/300 and H8/300H registers. | |
5385 | (h8300s_register_name): New function for H8S registers. | |
5386 | (h8300sx_register_name): Ditto for H8SX registers. | |
5387 | (h8300_print_register): Revise register printing, avoid depending | |
5388 | on 32 bit long. | |
0261a0d0 | 5389 | (h8300_register_byte): Only care for H8/300 registers. |
084edea5 CV |
5390 | (h8300h_register_byte): New function for any other architecture. |
5391 | (h8300_register_raw_size): Remove. | |
5392 | (h8300_register_virtual_type): Revise to return actually useful | |
5393 | type. | |
5394 | (h8300_extract_struct_value_address): Only care for H8/300 registers. | |
5395 | (h8300h_extract_struct_value_address): New function for any other | |
5396 | architecture. | |
5397 | (h8300_gdbarch_init): Add h8300sxn. Call set_gdbarch_num_regs, | |
5398 | set_gdbarch_register_name, set_gdbarch_register_byte, | |
5399 | set_gdbarch_ptr_bit and set_gdbarch_addr_bit architecture dependent. | |
5400 | Remove calls to set_gdbarch_deprecated_register_size, | |
5401 | set_gdbarch_deprecated_register_bytes, set_gdbarch_register_raw_size, | |
5402 | set_gdbarch_deprecated_max_register_raw_size, | |
5403 | set_gdbarch_register_virtual_size and | |
5404 | set_gdbarch_deprecated_max_register_virtual_size entirely. | |
5405 | Call set_gdbarch_long_long_bit, set_gdbarch_double_bit and | |
5406 | set_gdbarch_long_double_bit. | |
5407 | ||
06194148 JJ |
5408 | 2003-06-11 Jeff Johnston <jjohnstn@redhat.com> |
5409 | ||
8ffd9b1b AJ |
5410 | * doublest.c (convert_doublest_to_floatformat): When dealing |
5411 | with the implied integer bit, only alter mant_bits if we are | |
06194148 JJ |
5412 | processing a full 32 bits of mantissa. |
5413 | ||
de4f826b DC |
5414 | 2003-06-11 David Carlton <carlton@bactrian.org> |
5415 | ||
5416 | * dictionary.h: New. | |
5417 | * dictionary.c: New. | |
5418 | * block.h: Add opaque declaration for struct dictionary. | |
5419 | (struct block): Add 'dict' member; delete 'hashtable', 'nsyms', | |
5420 | 'sym' members. | |
5421 | (BLOCK_DICT): New macro. | |
5422 | Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM, | |
5423 | BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE, | |
5424 | BLOCK_SHOULD_SORT. | |
5425 | (ALL_BLOCK_SYMBOLS): Update definition. | |
5426 | * Makefile.in (SFILES): Add dictionary.c. | |
5427 | (dictionary_h): New. | |
5428 | (COMMON_OBS): Add dictionary.o. | |
5429 | (dictionary.o): New. | |
5430 | (ada-lang.o): Depend on dictionary_h. | |
5431 | (buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o) | |
5432 | (stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o) | |
5433 | (mi-cmd-stack.o): Ditto. | |
5434 | (gdbtk-cmds.o): Update dependencies. | |
5435 | (gdbtk-stack.o): Ditto. | |
5436 | * ada-lang.c: Include dictionary.h. | |
5437 | (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS. | |
5438 | (fill_in_ada_prototype, debug_print_block): Ditto. | |
5439 | (ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace | |
5440 | explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable | |
5441 | 'is_sorted'. | |
5442 | * mdebugread.c: Include dictionary.h. | |
5443 | (struct parse_stack): Delete 'maxsyms' member. | |
5444 | (parse_symbol): Update calls to new_block. Delete calls to | |
5445 | shrink_block. Use dictionary methods. | |
5446 | (psymtab_to_symtab_1): Delete calls to sort_symtab_syms. | |
5447 | Update calls to new_symtab. Don't maintain maxsyms data. | |
5448 | (mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS. | |
5449 | (add_symbol): Just call dict_add_symbol. | |
5450 | (new_symtab): Delete 'maxsyms' argument. | |
5451 | (new_symtab): Update calls to new_block. | |
5452 | (new_block): Delete 'maxsyms' argument; add 'function' argument. | |
5453 | (shrink_block): Delete function. | |
5454 | (fixup_sigtramp): Update call to new_block. Add symbol via | |
5455 | dict_add_symbol. | |
5456 | * jv-lang.c: Include dictionary.h. | |
5457 | (get_java_class_symtab): Set the BLOCK_DICT of the blocks | |
5458 | appropriately. Set class_symtab->free_func. Make sure the | |
5459 | blockvector is big enough to hold two blocks. | |
5460 | (add_class_symtab_symbol): Use dictionary methods. | |
5461 | (free_class_block): New function. | |
5462 | (type_from_class): Replace explicit iteration by | |
5463 | ALL_BLOCK_SYMBOLS. | |
5464 | * symtab.h (struct symtab): Replace 'free_ptr' method by | |
5465 | 'free_func'. | |
5466 | * dwarf2read.c (psymtab_to_symtab_1): Delete call to | |
5467 | sort_symtab_syms. | |
5468 | * dwarfread.c (psymtab_to_symtab_1): Delete call to | |
5469 | sort_symtab_syms. | |
5470 | * coffread.c (coff_symfile_read): Delete call to sort_symtab_syms. | |
5471 | Include dictionary.h. | |
5472 | (patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS. | |
5473 | * dbxread.c (dbx_psymtab_to_symtab_1): Delete call to | |
5474 | sort_symtab_syms. | |
5475 | * objfiles.c: Include dictionary.h. | |
5476 | (objfile_relocate): Update use of ALL_BLOCK_SYMBOLS. | |
5477 | * buildsym.c: Include dictionary.h. | |
5478 | (finish_block): Use dictionary methods. | |
5479 | (end_symtab): Set free_func to NULL, not free_ptr. | |
5480 | * tracepoint.c: Include dictionary.h. | |
5481 | (add_local_symbols): Update use of ALL_BLOCK_SYMBOLS. | |
5482 | (scope_info): Ditto. | |
5483 | * stack.c: Include dictionary.h. | |
5484 | (print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS. | |
5485 | (print_block_frame_labels, print_frame_arg_vars) | |
5486 | (print_frame_args): Ditto. | |
5487 | * symmisc.c (free_symtab_block): Use dictionary methods. | |
5488 | (dump_symtab): Ditto. | |
5489 | (free_symtab): Replace use of 'free_ptr' by 'free_func'. | |
5490 | Include dictionary.h. | |
5491 | * symfile.h: Delete declarations of sort_block_syms, | |
5492 | sort_symtab_syms. | |
5493 | * symfile.c (sort_block_syms): Delete. | |
5494 | (sort_symtab_syms): Delete. | |
5495 | * symtab.c: Include dictionary.h. | |
5496 | (lookup_block_symbol): Use dictionary iterators. | |
5497 | (find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS. | |
5498 | (search_symbols, make_symbol_completion_list): Ditto. | |
5499 | (make_symbol_overload_list): Ditto. | |
5500 | * valops.c (value_of_local): Use dict_empty. | |
5501 | Include dictionary.h. | |
5502 | ||
a31f978c JB |
5503 | 2003-06-11 J. Brobecker <brobecker@gnat.com> |
5504 | ||
5505 | * win32-nat.c (solib_symbols_add): Fix a small compilation error. | |
5506 | ||
526e70c0 DC |
5507 | 2003-06-11 David Carlton <carlton@bactrian.org> |
5508 | ||
5509 | * block.h (BLOCK_SHOULD_SORT): Delete. | |
5510 | * symtab.c (lookup_block_symbol): Don't worry about sorted linear | |
5511 | blocks. | |
5512 | * ada-lang.c (ada_add_block_symbols): Ditto. | |
5513 | * symfile.c (sort_block_syms): Delete. | |
5514 | (sort_symtab_syms): Ditto. | |
5515 | * symfile.h: Delete sort_symtabs_syms and sort_block_syms | |
5516 | declarations. | |
5517 | * coffread.c (coff_symfile_read): Don't call sort_symtab_syms. | |
5518 | * dbxread.c (dbx_psymtab_to_symtab_1): Ditto. | |
5519 | * dwarf2read.c (psymtab_to_symtab_1): Ditto. | |
5520 | * dwarfread.c (psymtab_to_symtab_1): Ditto. | |
5521 | * hpread.c (hpread_psymtab_to_symtab_1): Ditto. | |
5522 | * mdebugread.c (psymtab_to_symtab_1): Ditto. | |
5523 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto. | |
5524 | ||
33c08150 JJ |
5525 | 2003-06-11 Jeff Johnston <jjohnstn@redhat.com> |
5526 | ||
8ffd9b1b | 5527 | * ia64-tdep.c (ia64_gdbarch_init): Set number of long double |
33c08150 JJ |
5528 | bits to 128. |
5529 | ||
781a750d AC |
5530 | 2003-06-11 Andrew Cagney <cagney@redhat.com> |
5531 | ||
5532 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate | |
5533 | REGISTER_CONVERTIBLE. | |
5534 | (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same. | |
5535 | (DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant. | |
5536 | * gdbarch.h, gdbarch.c: Re-generate. | |
5537 | * arch-utils.h (deprecated_register_convertible_not): Rename | |
5538 | generic_register_convertible_not. | |
5539 | * arch-utils.c (deprecated_register_convertible_not): Rename | |
5540 | generic_register_convertible. | |
5541 | (legacy_convert_register_p, legacy_register_to_value): Update. | |
5542 | * sh-tdep.c (sh64_push_arguments): Update. | |
5543 | * m68klinux-tdep.c (m68k_linux_extract_return_value): Update. | |
5544 | * config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update. | |
5545 | * m68klinux-tdep.c (m68k_linux_store_return_value): Update. | |
5546 | * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update. | |
5547 | * arch-utils.c (legacy_value_to_register): Update. | |
5548 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5549 | (rs6000_register_convert_to_raw): Make parameter "from" const. | |
5550 | * mips-tdep.c (mips_gdbarch_init): Update. | |
5551 | (mips_register_convert_to_raw): Make parameter"virt_buf" const. | |
5552 | * infcmd.c (default_print_registers_info): Update. | |
5553 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5554 | (ia64_register_convert_to_raw): Make parameter "from" const. | |
5555 | * i386-tdep.c (i386_gdbarch_init): Update. | |
5556 | (i386_register_convert_to_raw): Update. | |
5557 | ||
cd90e54f AC |
5558 | 2003-06-11 Andrew Cagney <cagney@redhat.com> |
5559 | ||
5560 | * remote-fileio.c: Include "remote-fileio.h". | |
5561 | * Makefile.in (remote-fileio.o): Update dependencies. | |
5562 | (remote_fileio_h): Fix typo. | |
5563 | ||
a78f21af AC |
5564 | 2003-06-11 Andrew Cagney <cagney@redhat.com> |
5565 | ||
5566 | * xstormy16-tdep.c (xstormy16_push_return_address): Make static. | |
5567 | (xstormy16_save_dummy_frame_tos): Make static. | |
5568 | (_initialize_xstormy16_tdep): Add declaration. | |
5569 | * vax-tdep.c (_initialize_vax_tdep): Add declaration. | |
5570 | * v850-tdep.c: Make local functions static. | |
5571 | (_initialize_v850_tdep): Add declaration. | |
5572 | * sparc-tdep.c: Make local functions static. | |
5573 | (_initialize_sparc_tdep): Add declaration. | |
5574 | * sh-tdep.c: Make local functions static. | |
5575 | (_initialize_sh_tdep): Add declaration. | |
5576 | * sh3-rom.c (_initialize_sh3_rom): Add declaration. | |
5577 | * s390-tdep.c: Make local functions static. | |
5578 | (_initialize_s390_tdep): Add declaration. | |
5579 | * dbxread.c (find_stab_function_addr): Make static. | |
5580 | * ppc-bdm.c (_initialize_bdm_ppc): Add declaration. | |
5581 | * ocd.c (_initialize_remote_ocd): Add declaration. | |
5582 | * dink32-rom.c (_initialize_dink32_rom): Add declaration. | |
5583 | * ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration. | |
5584 | * ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration. | |
5585 | * ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration. | |
5586 | * mips-tdep.c (_initialize_mips_tdep): Add declaration. | |
5587 | * remote-array.c (_initialize_array): Add declaration. | |
5588 | (_initialize_remote_monitors): Add declaration. | |
5589 | * remote-mips.c: Make local functions static. | |
5590 | (_initialize_remote_mips): Add declaration. | |
5591 | * mcore-tdep.c: Make all local functions static. | |
5592 | (_initialize_mcore_tdep): Add declaration. | |
5593 | * dbug-rom.c (_initialize_dbug_rom): Add declaration. | |
5594 | * abug-rom.c (_initialize_abug_rom): Add declaration. | |
5595 | * rom68k-rom.c (_initialize_rom68k): Add declaration. | |
5596 | * cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration. | |
5597 | * m68k-tdep.c (_initialize_m68k_tdep): Add declaration. | |
5598 | * remote-est.c (_initialize_est): Add declaration. | |
5599 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration. | |
5600 | (m68hc11_call_dummy_address): Make static. | |
5601 | * ia64-tdep.c: Make local functions static. | |
5602 | (_initialize_ia64_tdep): Add declaration. | |
5603 | * solib-legacy.c (_initialize_svr4_lm): Add declaration. | |
5604 | * monitor.c (monitor_wait_filter): Make static. | |
5605 | (_initialize_remote_monitors): Add declaration. | |
5606 | * remote-hms.c (_initialize_remote_hms): Add declaration. | |
5607 | * remote-e7000.c (fetch_regs_from_dump): Make static. | |
5608 | (expect_n): Make static. | |
5609 | (_initialize_remote_e7000): Add declaration. | |
5610 | * ser-e7kpc.c: Always include "defs.h". | |
5611 | (_initialize_ser_e7000pc): Add declaration. | |
5612 | * h8300-tdep.c (_initialize_h8300_tdep): Add declaration. | |
5613 | * cris-tdep.c: Make all but one function static. | |
5614 | (_initialize_cris_tdep): Add declaration. | |
5615 | * solib-svr4.c (_initialize_svr4_solib): Add declaration. | |
5616 | * solib.c (update_solib_list): Make static. | |
5617 | (_initialize_solib): Add declaration. | |
5618 | * avr-tdep.c (avr_breakpoint_from_pc): Make static. | |
5619 | (_initialize_avr_tdep): Add declaration. | |
5620 | * remote-rdi.c (voiddummy): Make static. | |
5621 | (_initialize_remote_rdi): Add declaration. | |
5622 | * arm-tdep.c (_initialize_arm_tdep): Add declaration. | |
5623 | * remote-rdp.c (send_rdp): Make static. | |
5624 | (_initialize_remote_rdp): Add declaration. | |
5625 | * alpha-tdep.c (_initialize_alpha_tdep): Add declaration. | |
5626 | ||
cbcdb1f5 CV |
5627 | 2003-06-11 Corinna Vinschen <vinschen@redhat.com> |
5628 | ||
5629 | * remote-fileio.c: Make ari happy. | |
5630 | ||
a191ea8d JB |
5631 | 2003-06-10 J. Brobecker <brobecker@gnat.com> |
5632 | ||
5633 | * rs6000-nat.c (child_xfer_memory): Compute the right address when | |
5634 | fetching the trailing bytes of the buffer we are about to write. | |
5635 | ||
0ef75e11 AC |
5636 | 2003-06-10 Andrew Cagney <cagney@redhat.com> |
5637 | ||
5638 | * remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H. | |
5639 | * Makefile.in (remote-fileio.o): Update dependencies. | |
5640 | * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not | |
5641 | include <setjmp.h>, or <sys/types.h> conditional on USG. | |
5642 | (remote_fio_jmp_buf): Delete global variable. | |
5643 | ||
449092f6 | 5644 | 2003-06-10 Corinna Vinschen <vinschen@redhat.com> |
559fa028 | 5645 | Martin M. Hunt <hunt@redhat.com> |
449092f6 | 5646 | |
559fa028 AC |
5647 | * Makefile.in (REMOTE_OBS): Add remote-fileio.o |
5648 | (SFILES): Add remote-fileio.c. | |
5649 | Add dependencies for building remote-fileio.o. Add remote-fileio.h to | |
5650 | dependencies for building remote.o. | |
449092f6 CV |
5651 | * remote-fileio.c: New file implementing the remote File-I/O protocol. |
5652 | * remote-fileio.h: New header file defining remote File-I/O interface. | |
8ffd9b1b | 5653 | * remote.c (remote_write_bytes, remote_read_bytes): Remove |
449092f6 CV |
5654 | static storage class. |
5655 | (remote_wait, remote_async_wait): Call remote_fileio_request() on | |
5656 | 'F' packet. | |
5657 | (_initialize_remote): Call initialize_remote_fileio(). | |
5658 | * remote.h: Declare remote_write_bytes() and remote_read_bytes(). | |
449092f6 CV |
5659 | * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin. |
5660 | * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin. | |
5661 | (captured_main): Initialize new ui_files. | |
5662 | * ui-file.c: Add read and fgets input functions. | |
5663 | (ui_file_new): set ui_file_fputs and ui_file_read to null functions. | |
5664 | (null_file_read): New function. | |
5665 | (ui_file_read): New function. | |
5666 | (set_ui_file_read): New function. | |
5667 | (stdio_file_read): New function. | |
5668 | * ui-file.h: New type ui_file_read_ftype. | |
5669 | (set_ui_file_read): Declare. | |
5670 | (ui_file_read): Declare. | |
5671 | ||
248de703 AC |
5672 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
5673 | ||
5674 | * frame.h (deprecated_unwind_get_saved_register): Rename | |
5675 | generic_unwind_get_saved_register, update comments. | |
5676 | * mips-tdep.c (mips_get_saved_register): Update. | |
5677 | * frame.c (deprecated_unwind_get_saved_register): Update. | |
5678 | ||
0ed8aa57 AC |
5679 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
5680 | ||
5681 | * vax-tdep.c (vax_frame_locals_address): Delete function. | |
5682 | (vax_gdbarch_init): Do not set frame_locals_address. | |
5683 | * m68hc11-tdep.c (m68hc11_frame_locals_address): Delete function. | |
5684 | (m68hc11_gdbarch_init): Do not set frame_locals_address. | |
5685 | * s390-tdep.c (s390_frame_args_address): Delete function. | |
5686 | (s390_gdbarch_init): Do not set frame_args_address or | |
5687 | frame_locals_address. | |
5688 | * ns32k-tdep.c (ns32k_frame_locals_address): Delete. | |
5689 | (ns32k_gdbarch_init): Do not set frame_locals_address. | |
5690 | * hppa-tdep.c (hppa_frame_args_address): Delete function. | |
5691 | (hppa_frame_locals_address): Delete function. | |
5692 | (hppa_gdbarch_init): Do not set frame_args_address, or | |
5693 | frame_locals_address. | |
5694 | * arm-tdep.c (arm_frame_args_address): Delete. | |
5695 | (arm_frame_locals_address): Delete. | |
5696 | (arm_gdbarch_init): Do not set frame_args_address, or | |
5697 | frame_locals_address. | |
5698 | ||
983a287a AC |
5699 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
5700 | ||
5701 | * gdbarch.sh (FRAME_NUM_ARGS): Change to function with predicate. | |
5702 | * gdbarch.h, gdbarch.c: Re-generate. | |
5703 | * arch-utils.h (frame_num_args_unknown): Delete both declarations. | |
5704 | * arch-utils.c (frame_num_args_unknown): Delete function. | |
5705 | * stack.c (print_args_stub): Use FRAME_NUM_ARGS_P. | |
5706 | (frame_info): Use FRAME_NUM_ARGS_P. | |
5707 | * arm-tdep.c (arm_frame_num_args): Delete function. | |
5708 | (arm_gdbarch_init): Do not set frame_num_args. | |
5709 | * config/pa/tm-hppa64.h (FRAME_NUM_ARGS): Delete. | |
5710 | * hppa-tdep.c (hppa_frame_num_args): Delete function. | |
5711 | (hppa_gdbarch_init): Do not set frame_num_args. | |
5712 | * config/sparc/tm-sparc.h (FRAME_NUM_ARGS): Delete. | |
5713 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
5714 | frame_num_args to default frame_num_args_unknown. | |
5715 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
5716 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
5717 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5718 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
5719 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5720 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
5721 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
5722 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
5723 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
5724 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5725 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
5726 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
5727 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
5728 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
5729 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
5730 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
5731 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
5732 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
5733 | ||
8d3b0994 AC |
5734 | 2003-06-09 Andrew Cagney <cagney@redhat.com> |
5735 | ||
5736 | * printcmd.c (print_frame_nameless_args): Moved to "stack.c". | |
5737 | (print_frame_args): Moved to "stack.c". | |
5738 | * stack.c: Include "gdb_assert.h". | |
5739 | (print_frame_nameless_args): Moved from "printcmd.c", made static. | |
5740 | (print_frame_args): Moved from "printcmd.c". | |
5741 | * frame.h (print_frame_args): Delete declaration. | |
5742 | * Makefile.in (stack.o): Update dependencies. | |
5743 | ||
25e3a86b AC |
5744 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
5745 | ||
5746 | * frame.c (get_prev_frame): Remove reference to | |
5747 | frame_args_address_correct in comments. | |
5748 | * frame-base.c (default_frame_args_address): Delete code | |
5749 | conditional on FRAME_ARGS_ADDRESS_CORRECT. | |
5750 | * vax-tdep.c (vax_frame_args_address_correct): Delete. | |
5751 | (vax_frame_args_address): Merge in vax_frame_args_address_correct. | |
5752 | * config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete | |
5753 | (vax_frame_args_address_correct): Delete declaration. | |
5754 | ||
a9e5fdc2 AC |
5755 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
5756 | ||
5757 | * gdbarch.sh (UNWIND_SP): Add. | |
5758 | * gdbarch.h, gdbarch.c: Re-generate. | |
5759 | * frame.c (frame_sp_unwind): New function. | |
5760 | (get_frame_sp): New function. | |
5761 | * frame.h (get_frame_sp, frame_sp_unwind): Declare. | |
5762 | * regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP, | |
5763 | gdbarch_unwind_sp and SP_REGNUM when looking for the SP register | |
5764 | value. | |
5765 | * d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp. | |
5766 | (d10v_gdbarch_init): Set unwind_sp instead of read_sp. | |
5767 | ||
8983bd83 AC |
5768 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
5769 | ||
7fec2c59 AC |
5770 | Deprecate BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT and |
5771 | REMOTE_BREAKPOINT. | |
5772 | * remote.c: Update. | |
5773 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT): Update. | |
5774 | (DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Update. | |
5775 | * config/m68k/tm-sun3.h: Update. | |
5776 | * config/m68k/tm-m68klynx.h: Update. | |
5777 | * config/h8300/tm-h8300.h (DEPRECATED_REMOTE_BREAKPOINT): Update. | |
5778 | ||
8983bd83 AC |
5779 | * trad-frame.h (struct trad_frame_saved_reg): Rename "struct |
5780 | trad_frame". Update comments. | |
5781 | * d10v-tdep.c (struct d10v_unwind_cache): Update. | |
5782 | * trad-frame.c (trad_frame_alloc_saved_regs): Update. | |
5783 | (trad_frame_register_value, trad_frame_prev_register): Update. | |
5784 | ||
b9362cc7 AC |
5785 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
5786 | ||
5787 | * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen | |
5788 | from GCC's acinclude.m4. | |
5789 | * configure.in: Check for getopt's delcaration. | |
8ffd9b1b | 5790 | * aclocal.m4, config.in, configure: Re-generate. |
b9362cc7 AC |
5791 | * main.c (error_init): Delete declaration. |
5792 | * defs.h (error_init): Declare. | |
5793 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static. | |
5794 | (rs6000_convert_from_func_ptr_addr): Make static. | |
5795 | (_initialize_rs6000_tdep): Add declaration. | |
5796 | * cli/cli-cmds.c (dont_repeat): Delete declaration. | |
5797 | (show_commands, set_verbose, show_history): Delete declaration. | |
5798 | * top.h (set_verbose): Add declaration. | |
5799 | (show_history, set_history, show_commands): Add declaration. | |
5800 | (do_restore_instream_cleanup): Add declaration. | |
5801 | * objc-lang.c (specialcmp): Make static. | |
5802 | (print_object_command): Make static. | |
5803 | (find_objc_msgsend): Make static. | |
5804 | (find_objc_msgcall_submethod_helper): Make static. | |
5805 | (find_objc_msgcall_submethod): Make static. | |
5806 | (_initialize_objc_language): Add declaration. | |
5807 | (find_implementation_from_class): Make static. | |
5808 | (find_implementation): Make static. | |
5809 | * objc-exp.y (yylex): Delete lookup_struct_typedef declaration. | |
5810 | * objc-lang.h (lookup_struct_typedef): Add declaration. | |
5811 | * cli/cli-interp.c (_initialize_cli_interp): Add declaration. | |
5812 | * cli/cli-script.c (clear_hook_in_cleanup): Make static. | |
5813 | (do_restore_user_call_depth): Make static. | |
5814 | (do_restore_instream_cleanup): Delete declaration. | |
5815 | (dont_repeat): Delete declaration. | |
5816 | * cli/cli-decode.c (add_abbrev_cmd): Delete function. | |
5817 | * cli/cli-dump.c (_initialize_cli_dump): Add declaration. | |
5818 | * reggroups.c (_initialize_reggroup): Add declaration. | |
5819 | * cp-support.c (_initialize_cp_support): Add declaration. | |
5820 | * cp-abi.c (_initialize_cp_abi): Add declaration. | |
5821 | * hpacc-abi.c (_initialize_hpacc_abi): Add declaration. | |
5822 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static. | |
5823 | (_initialize_gnu_v3_abi): Add declaration. | |
5824 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static. | |
5825 | (_initialize_gnu_v2_abi): Add declaration. | |
5826 | * frame-base.c (_initialize_frame_base): Add declaration. | |
5827 | * doublest.c (floatformat_from_length): Make static. | |
5828 | * frame-unwind.c (_initialize_frame_unwind): Add declaration. | |
5829 | * frame.c (create_sentinel_frame): Make static. | |
5830 | (_initialize_frame): Add declaration. | |
5831 | * top.c (do_catch_errors): Make static. | |
5832 | (gdb_rl_operate_and_get_next_completion): Make static. | |
5833 | * typeprint.c: Include "typeprint.h". | |
5834 | * sentinel-frame.c (sentinel_frame_prev_register): Make static. | |
5835 | (sentinel_frame_this_id): Make static. | |
5836 | * p-valprint.c (_initialize_pascal_valprint): Add declaration. | |
5837 | * ui-out.c (make_cleanup_ui_out_begin_end): Delete function. | |
5838 | * dwarf2-frame.c (dwarf2_frame_cache): Make static. | |
5839 | * p-exp.y (push_current_type, pop_current_type): ISO C declaration. | |
5840 | * dwarf2expr.h (dwarf_expr_context): ISO C declaration. | |
5841 | * maint.c (maintenance_print_architecture): Make static. | |
5842 | * signals/signals.c (_initialize_signals): Add declaration. | |
5843 | * std-regs.c (_initialize_frame_reg): Add declaration. | |
5844 | * jv-exp.y (push_variable): ISO C definition. | |
5845 | (push_qualified_expression_name): Ditto. | |
5846 | * memattr.c (_initialize_mem): Add declaration. | |
5847 | * remote.c (remote_check_watch_resources): Make static. | |
5848 | (remote_stopped_by_watchpoint): Make static. | |
5849 | (remote_stopped_data_address): Make static. | |
5850 | * d10v-tdep.c (nr_dmap_regs): Make static. | |
5851 | (a0_regnum): Make static. | |
5852 | (d10v_frame_unwind_cache): Make static. | |
5853 | (d10v_frame_p): Make static. | |
5854 | * osabi.c (show_osabi): Make static. | |
5855 | (_initialize_gdb_osabi): Add extern declaration. | |
5856 | * gdbtypes.c (make_qualified_type): Make static. | |
5857 | (safe_parse_type): Make static. | |
5858 | * macrocmd.c (_initialize_macrocmd): Add extern declaration. | |
5859 | * macrotab.c (macro_bcache_free): Make static. | |
5860 | * interps.c (interp_set_quiet): Make static. | |
5861 | (interpreter_exec_cmd): Make static. | |
5862 | * stack.h (select_frame_command): New file. | |
5863 | * stack.c: Include "stack.h". | |
5864 | (select_frame_command_wrapper): Delete function. | |
5865 | (select_frame_command): Make global. | |
5866 | * infcall.c: Include "infcall.h". | |
5867 | * linespec.c: Include "linespec.h". | |
5868 | * symfile.c (sections_overlap): Make static. | |
5869 | * cp-support.h (cp_initialize_namespace): ISO C declaration. | |
5870 | * charset.c (_initialize_charset): Add missing prototype. | |
5871 | * regcache.c (init_legacy_regcache_descr): Make static. | |
5872 | (do_regcache_xfree): Make static. | |
5873 | (regcache_xfer_part): Make static. | |
5874 | (_initialize_regcache): Add missing prototype. | |
5875 | * breakpoint.c (parse_breakpoint_sals): Make static. | |
5876 | (breakpoint_sals_to_pc): Make static. | |
5877 | * interps.h (clear_interpreter_hooks): ISO C declaration. | |
5878 | * Makefile.in (stack_h): Define. | |
5879 | (stack.o, typeprint.o, mi-main.o): Update dependencies. | |
5880 | (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies. | |
5881 | ||
a0f267c7 AC |
5882 | 2003-06-08 Andrew Cagney <cagney@redhat.com> |
5883 | ||
5884 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
5885 | (SFILES): Add trad-frame.c. | |
5886 | (trad_frame_h): Define. | |
5887 | (COMMON_OBS): Add trad-frame.o. | |
5888 | (trad-frame.o): Specify dependencies. | |
5889 | * d10v-tdep.c: Include "trad-frame.h". | |
5890 | (saved_regs_unwinder): Delete function. | |
5891 | (d10v_frame_prev_register): Use trad_frame_prev_register. | |
5892 | (struct d10v_unwind_cache): Change type of "saved_regs" to "struct | |
5893 | trad_frame", delete "regs" and "prev_sp". | |
5894 | (prologue_find_regs): Use trad-frame. | |
5895 | * trad-frame.h, trad-frame.c: New files. | |
5896 | ||
4538b4f4 MK |
5897 | 2003-06-08 Mark Kettenis <kettenis@gnu.org> |
5898 | ||
5899 | * dwarf2cfi.c, dwarf2cfi.h: Remove. | |
5900 | ||
a0273b2f AF |
5901 | 2003-06-07 Adam Fedor <fedor@gnu.org> |
5902 | ||
5903 | * gdb/objc-lang.c (FETCH_ARGUMENT): Remove macro. | |
5904 | (OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for | |
5905 | using FETCH_POINTER_ARGUMENT with Objective-C method arguments. | |
5906 | (find_implementation, resolve_msgsend, resolve_msgsend_stret, | |
8ffd9b1b | 5907 | resolve_msgsend_super, resolve_msgsend_super_stret): |
a0273b2f AF |
5908 | Use it. |
5909 | ||
3a6c3343 AC |
5910 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
5911 | ||
5912 | * symfile.h: Re-indent, clean up comments. | |
5913 | ||
b46e02f6 AC |
5914 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
5915 | ||
5916 | * inferior.h (deprecated_write_sp): Replace | |
5917 | generic_target_write_sp. | |
5918 | * regcache.c (deprecated_write_sp): Replace | |
5919 | generic_target_write_sp. | |
5920 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
5921 | * vax-tdep.c (vax_gdbarch_init): Update. | |
5922 | * v850-tdep.c (v850_gdbarch_init): Update. | |
5923 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
5924 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5925 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5926 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5927 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
5928 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
5929 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5930 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
5931 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5932 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5933 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
5934 | * frv-tdep.c (frv_gdbarch_init): Update. | |
5935 | * cris-tdep.c (cris_gdbarch_init): Update. | |
5936 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
5937 | ||
a42e117c AC |
5938 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
5939 | ||
5940 | * dwarf2-frame.c (dwarf2_frame_cache): Add comments on PC_REGNUM. | |
5941 | Assert that PC_REGNUM is valid. | |
5942 | (dwarf2_frame_prev_register): Add comments on SP_REGNUM. | |
5943 | ||
bd1ce8ba AC |
5944 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
5945 | ||
5946 | * gdbarch.sh (TARGET_READ_SP): Add predicate, delete default. | |
5947 | * gdbarch.h, gdbarch.c: Regenerate. | |
5948 | * mn10300-tdep.c: Include "gdb_assert.h". | |
5949 | (mn10300_read_fp): New function. | |
5950 | (mn10300_gdbarch_init): Set deprecated_target_read_fp to | |
5951 | mn10300_read_fp. Do not set read_sp to generic_target_read_sp. | |
5952 | * ia64-tdep.c: Include "gdb_assert.h". | |
5953 | (ia64_read_fp): New function. | |
5954 | (ia64_gdbarch_init): Set deprecated_target_read_fp to | |
5955 | ia64_read_sp. Do not set read_sp to generic_target_read_sp. | |
5956 | * regcache.c (generic_target_read_sp): Delete function. | |
5957 | (read_sp): Try TARGET_READ_SP and SP_REGNUM for the SP register. | |
5958 | * inferior.h (generic_target_read_sp): Delete declaration. | |
5959 | * frv-tdep.c (frv_gdbarch_init): Do not set read_sp to | |
5960 | generic_target_read_sp. | |
5961 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5962 | * sparc-tdep.c (sparc_gdbarch_init): Ditto | |
5963 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5964 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5965 | * Makefile.in (mn10300-tdep.o, ia64-tdep.o): Update dependencies. | |
5966 | ||
ec5cbaec AC |
5967 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
5968 | ||
5969 | * gdbarch.sh: Comment each field of startup_gdbarch. | |
5970 | * gdbarch.h, gdbarch.c: Re-generate. | |
5971 | ||
cde9ea48 AC |
5972 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
5973 | ||
5974 | * gdbarch.sh (TARGET_READ_PC): Add predicate, remove default. | |
5975 | * gdbarch.h, gdbarch.c: Re-generate. | |
5976 | * regcache.c: Update comments on read_pc et.al. | |
5977 | (generic_target_read_pc): Delete function. | |
5978 | (read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register. | |
5979 | * inferior.h (generic_target_read_pc): Delete declaration. | |
5980 | * frv-tdep.c (frv_gdbarch_init): Do not set read_pc to | |
5981 | generic_target_read_pc. | |
5982 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
5983 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5984 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5985 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 5986 | |
9a90a780 AC |
5987 | 2003-06-07 Andrew Cagney <cagney@redhat.com> |
5988 | ||
5989 | * elfread.c (elf_symtab_read): Replace "special_local_sym_p" and | |
5990 | "index" with "special_local_sect". Use strcmp instead of STREQ. | |
5991 | Append period to coments. | |
5992 | ||
a39a16c4 MM |
5993 | 2003-06-06 Mark Mitchell <mark@codesourcery.com> |
5994 | ||
5995 | * elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX. | |
5996 | (elfstab_offset_sections): Likewise. | |
5997 | * gdb-stabs.h (stab_section_info): Likewise. | |
5998 | * i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise. | |
5999 | * objfiles.c (objfile_relocate): Likewise. | |
6000 | * pa64solib.c (pa64_solib_add_solib_objfile): Likewise. | |
6001 | * remote.c (get_offsets): Likewise. | |
6002 | (remote_cisco_objfile_relocate): Likewise. | |
6003 | * somread.c (som_symfile_offsets): Likewise. | |
6004 | * symfile.c (alloc_section_addr_info): New function. | |
6005 | (build_section_addr_info_from_section_tab): Use it. | |
6006 | (free_section_addr_info): Adjust. | |
6007 | (default_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
6008 | (syms_from_objfile): Allocate local_addr dynamically. | |
6009 | (symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs | |
6010 | dynamically. | |
6011 | (add_symbol_file_command): Allocate sect_opts dynamically. | |
6012 | (reread_symbols): Avoid use of SECT_OFF_MAX. | |
6013 | * symfile.h (section_addr_info): Do not use MAX_SECTIONS. | |
6014 | (alloc_section_addr_info): Declare it. | |
6015 | * symtab.h (SIZEOF_SECTION_OFFSETS): Remove. | |
6016 | * win32-nat.c (solib_symbols_add): Allocate section_addrs | |
6017 | dynamically. | |
6018 | * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
8ffd9b1b | 6019 | |
20c6c2f8 AC |
6020 | 2003-06-06 Andrew Cagney <cagney@redhat.com> |
6021 | ||
6022 | * d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc". | |
6023 | (d10v_frame_unwind_cache): Do not set "return_pc". | |
6024 | ||
884a26c8 MS |
6025 | 2003-06-06 Michael Snyder <msnyder@redhat.com> |
6026 | ||
6027 | * h8300-tdep.c: Make tidy (long lines). | |
6028 | ||
088ce440 ML |
6029 | 2003-06-06 Michal Ludvig <mludvig@suse.cz> |
6030 | ||
8ffd9b1b | 6031 | * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums |
088ce440 ML |
6032 | to regcache_collect(). |
6033 | ||
7d773d96 JB |
6034 | 2003-06-05 J. Brobecker <brobecker@gnat.com> |
6035 | ||
6036 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting | |
6037 | pc_in_sigtramp multiarch method. | |
6038 | (hppa_hpux_som_init_abi): Use it. | |
6039 | (hppa_hpux_elf_init_abi): Likewise. | |
6040 | * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this | |
6041 | macro has been multiarched. | |
6042 | * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this | |
6043 | macro here, as hppa64 isn't multiarched yet. | |
6044 | ||
1df6926e AC |
6045 | 2003-06-05 Andrew Cagney <cagney@redhat.com> |
6046 | ||
6047 | * Makefile.in (value_h): Add $(frame_h). | |
6048 | * value.h: Include "frame.h". | |
6049 | (struct value): Replace "frame_addr" with "frame_id". | |
6050 | (VALUE_FRAME_ID): Replace VALUE_FRAME. | |
6051 | * values.c (allocate_value): Use VALUE_FRAME_ID. | |
6052 | (value_copy): Use VALUE_FRAME_ID. | |
6053 | * findvar.c (value_from_register): Use VALUE_FRAME_ID. | |
6054 | * valops.c (value_assign): Update. Use frame_find_by_id. | |
6055 | ||
6b53acc6 ML |
6056 | 2003-06-05 Michal Ludvig <mludvig@suse.cz> |
6057 | ||
6058 | * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset | |
6059 | in each pass. | |
6060 | ||
4d9850d3 JJ |
6061 | 2003-06-05 Jeff Johnston <jjohnstn@redhat.com> |
6062 | ||
6063 | * thread-db.c (check_event): For create/death event breakpoints, | |
6064 | loop through all messages to ensure that we read the message | |
6065 | corresponding to the breakpoint we are at. | |
6066 | ||
8efca6ba MS |
6067 | 2003-06-04 Michael Snyder <msnyder@redhat.com> |
6068 | ||
6069 | * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn. | |
6070 | ||
0912c7f2 MK |
6071 | 2003-06-04 Mark Kettenis <kettenis@gnu.org> |
6072 | ||
6073 | * dwarf2-frame.c (struct comp_unit): Add member `dbase'. | |
6074 | (read_encoded_value): Handle DW_EH_PE_datarel encoding. | |
6075 | (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings | |
6076 | when handling .eh_frame sections. | |
6077 | ||
4e370325 JB |
6078 | 2003-06-04 J. Brobecker <brobecker@gnat.com> |
6079 | ||
6080 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic | |
6081 | prepare_to_proceed procedure instead of the hppa-specific one. | |
6082 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used. | |
6083 | ||
b757528f | 6084 | 2003-06-04 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b | 6085 | |
b757528f JJ |
6086 | * acconfig.h: Add HAVE_TKILL_SYSCALL definition check. |
6087 | * config.in: Regenerated. | |
6088 | * configure.in: Add test for syscall function and check for | |
6089 | __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. | |
6090 | * configure: Regenerated. | |
6091 | * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and | |
6092 | <sys/syscall.h>. | |
6093 | (kill_lwp): New function that uses tkill syscall or | |
6094 | uses kill, depending on whether threading model is nptl or not. | |
6095 | All callers of kill() changed to use kill_lwp(). | |
6096 | (lin_lwp_wait): Make special check when WIFEXITED occurs to | |
6097 | see if all threads have already exited in the nptl model. | |
6098 | (stop_and_resume_callback): New callback function used by the | |
6099 | lin_lwp_wait thread exit handling code. | |
6100 | (stop_wait_callback): Check for threads already having exited and | |
6101 | delete such threads fromt the lwp list when discovered. | |
6102 | (stop_callback): Don't assert retcode of kill call. | |
8ffd9b1b | 6103 | |
b757528f JJ |
6104 | Roland McGrath <roland@redhat.com> |
6105 | * i386-linux-nat.c (ps_get_thread_area): New function needed by | |
6106 | nptl libthread_db. | |
6107 | ||
087779b1 RH |
6108 | 2003-06-03 Richard Henderson <rth@redhat.com> |
6109 | ||
b21fd293 RH |
6110 | * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn. |
6111 | (alpha_sigtramp_frame_this_id): Use get_frame_memory. | |
6112 | (alpha_sigtramp_frame_prev_register): Likewise. | |
6113 | (alpha_heuristic_frame_prev_register): Likewise. | |
6114 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise. | |
6115 | ||
8ffd9b1b | 6116 | * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use |
087779b1 RH |
6117 | alpha-specific register id names. |
6118 | (alpha_mdebug_frame_unwind_cache): Likewise. | |
6119 | (alpha_mdebug_frame_prev_register): Likewise. | |
6120 | ||
baa490c4 RH |
6121 | 2003-06-03 Richard Henderson <rth@redhat.com> |
6122 | ||
6123 | * alpha-tdep.c (alpha_dwarf2_init_abi): New. | |
6124 | * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. | |
6125 | * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. | |
6126 | * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug | |
6127 | unwind routines. | |
6128 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
6129 | * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
6130 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
6131 | ||
6132 | * alpha-linux-tdep.c: Remove unnecessary includes. | |
6133 | * Makefile.in (alpha-linux-tdep.o): Update. | |
6134 | ||
6135 | 2003-06-03 Richard Henderson <rth@redhat.com> | |
6136 | ||
6137 | * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change. | |
6138 | (alphabsd_fill_fpreg): Likewise. | |
6139 | ||
f534e522 JB |
6140 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
6141 | ||
6142 | * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace | |
6143 | references to struct frame_info fields by calls to the equivalent | |
6144 | accessors. Necessary now that frame_info is opaque. | |
6145 | ||
4035536b JB |
6146 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
6147 | ||
6148 | * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete. | |
6149 | (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep | |
6150 | structure, field no longer exists. | |
6151 | ||
0bd79c5c JB |
6152 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
6153 | ||
6154 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
6155 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module. | |
6156 | ||
37bb6d9f JB |
6157 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
6158 | ||
6159 | * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace | |
6160 | references to struct frame_info fields by calls to the equivalent | |
6161 | accessors. Necessary now that frame_info is opaque. | |
6162 | ||
852ee05c JB |
6163 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
6164 | ||
6165 | * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. | |
6166 | (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep | |
6167 | structure, field no longer exists. | |
6168 | ||
7d58c67d TR |
6169 | 2003-06-03 Theodore A. Roth <troth@openavr.org> |
6170 | ||
8ffd9b1b | 6171 | * remote.c (init_remote_state): Compute sizeof_g_packet by |
7d58c67d TR |
6172 | accumulation of the size of all registers instead of blindly using |
6173 | DEPRECATED_REGISTER_BYTES. | |
6174 | ||
0a48e7e8 MS |
6175 | 2003-06-03 Michael Snyder <msnyder@redhat.com> |
6176 | ||
6177 | * config/h8300/tm-h8300.h (h8300sxmode): Declare. | |
6178 | * h8300-tdep.c (h8300_gdbarch_init): Set machine mode | |
6179 | for h8300sx. | |
6180 | ||
9798ab0d JB |
6181 | 2003-06-03 J. Brobecker <brobecker@gnat.com> |
6182 | ||
6183 | * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile. | |
6184 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. | |
6185 | ||
00b037e2 AC |
6186 | 2003-06-03 Andrew Cagney <cagney@redhat.com> |
6187 | ||
6188 | * sparc-tdep.c (sparc_convert_to_virtual): Delete function. | |
6189 | (sparc_convert_to_raw): Delete function. | |
6190 | (sparc_gdbarch_init): Do not set register_convert_to_raw or | |
6191 | register_convert_to_virtual. | |
6192 | ||
043b2f77 JJ |
6193 | 2003-06-03 Jeff Johnston <jjohnstn@redhat.com> |
6194 | ||
6195 | * thread-db.c (thread_db_mourn_inferior): Unpush thread target | |
6196 | layer if not dealing with a statically-linked threaded program. | |
6197 | ||
f43caff8 KW |
6198 | 2003-06-03 Kris Warkentin <kewarken@qnx.com> |
6199 | ||
6200 | * solib.c (solib_open): Update comment to reflect actual search order. | |
6201 | ||
ae1e7417 AC |
6202 | 2003-06-03 Andrew Cagney <cagney@redhat.com> |
6203 | ||
6204 | * frame.c (get_frame_memory_signed): New function. | |
6205 | (get_frame_memory, get_frame_memory_unsigned): New function. | |
6206 | (get_frame_arch): New function. | |
6207 | * frame.h (get_frame_signed_memory, get_frame_arch): Declare. | |
6208 | (get_frame_memory, get_frame_unsigned_memory): Declare. | |
6209 | * d10v-tdep.c (d10v_frame_unwind_cache): Use | |
6210 | get_frame_memory_unsigned and get_frame_arch. | |
6211 | (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto. | |
6212 | ||
cb123844 RG |
6213 | 2003-06-03 Raoul Gough <RaoulGough@yahoo.co.uk> |
6214 | ||
6215 | * MAINTAINERS (write after approval): Add myself. | |
6216 | ||
1bb792e9 JB |
6217 | 2003-06-03 Jim Blandy <jimb@redhat.com> |
6218 | ||
6219 | * s390-nat.c (supply_gregset, fill_gregset): On the s390x, the | |
6220 | elements of gregset_t are 64 bits each, but access registers | |
6221 | are still 32 bits, so they're packed two per gregset_t | |
6222 | element. Unpack/pack them properly. | |
6223 | ||
aee8d8ba DC |
6224 | 2003-06-02 David Carlton <carlton@bactrian.org> |
6225 | ||
6226 | * linespec.c (find_methods): Break out code into | |
6227 | add_matching_methods and add_constructors. | |
6228 | (add_matching_methods): New. | |
6229 | (add_constructors): Ditto. | |
6230 | ||
bf7488d2 AC |
6231 | 2003-06-02 Andrew Cagney <cagney@redhat.com> |
6232 | ||
bf7488d2 AC |
6233 | * sparc-tdep.c (sparc_print_registers): Delete call to |
6234 | REGISTER_CONVERTIBLE. | |
6235 | (sparc_gdbarch_init): Do not set register_convertible. | |
6236 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6237 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6238 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
6239 | ||
adedef68 EZ |
6240 | 2003-06-02 Elena Zannoni <ezannoni@redhat.com> |
6241 | ||
8ffd9b1b | 6242 | * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. |
adedef68 EZ |
6243 | * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD. |
6244 | (syms_from_objfile): Ditto. | |
6245 | ||
650fcc91 AS |
6246 | 2003-06-03 Andreas Schwab <schwab@suse.de> |
6247 | ||
6248 | * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ... | |
6249 | (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn. | |
6250 | ||
df4a182b RH |
6251 | 2003-06-02 Richard Henderson <rth@redhat.com> |
6252 | ||
6253 | * alpha-tdep.c (alpha_register_reggroup_p): Zero is only | |
6254 | a member of all_reggroup. | |
6255 | ||
c483c494 RH |
6256 | 2003-06-02 Richard Henderson <rth@redhat.com> |
6257 | ||
6258 | * alpha-tdep.c (alpha_register_type): Change from _virtual_type. | |
6259 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove. | |
6260 | (alpha_lds, alpha_sts): New. | |
6261 | (alpha_convert_register_p): Change from _register_convertible. | |
8ffd9b1b | 6262 | (alpha_register_to_value): Change from _convert_to_virtual; |
c483c494 RH |
6263 | restructure and fail for type sizes other than 4 or 8. |
6264 | (alpha_value_to_register): Similarly. | |
6265 | (alpha_extract_return_value): Use alpha_sts. | |
6266 | (alpha_store_return_value): Use alpha_lds. | |
6267 | (alpha_gdbarch_init): Update hooks. | |
6268 | ||
b38b6be2 RH |
6269 | 2003-06-02 Richard Henderson <rth@redhat.com> |
6270 | ||
6271 | * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific | |
6272 | regnum identifiers. | |
6273 | (alpha_sigtramp_register_address): Likewise. | |
6274 | ||
98a8e1e5 RH |
6275 | 2003-06-02 Richard Henderson <rth@redhat.com> |
6276 | ||
6277 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New. | |
6278 | (alpha_supply_fp_regs, alpha_fill_fp_regs): New. | |
6279 | * alpha-tdep.h: Declare them. | |
6280 | ||
6281 | * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping. | |
6282 | Remove zerobuf. Don't error on UNIQUE. | |
6283 | (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs. | |
6284 | (ALPHA_REGSET_UNIQUE): Provide default. | |
6285 | (supply_gregset): Use alpha_supply_int_regs. | |
6286 | (fill_gregset): Use alpha_fill_int_regs. | |
6287 | (supply_fpregset): Use alpha_supply_fp_regs. | |
6288 | (fill_fpregset): Use alpha_fill_fp_regs. | |
6289 | * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove. | |
6290 | (alphabsd_supply_reg): Use alpha_supply_int_regs. | |
6291 | (alphabsd_fill_reg): Use alpha_fill_int_regs. | |
6292 | (alphabsd_supply_fpreg): Use alpha_supply_fp_regs. | |
6293 | (alphabsd_fill_fpreg): Use alpha_fill_fp_regs. | |
6294 | * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New. | |
6295 | ||
67dfac52 RH |
6296 | 2003-06-02 Richard Henderson <rth@redhat.com> |
6297 | ||
f75d70cc RH |
6298 | * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru. |
6299 | ||
67dfac52 RH |
6300 | * alpha-tdep.c (alpha_extract_return_value): Use internal_error. |
6301 | (alpha_store_return_value): Likewise. | |
6302 | ||
0cf566ec DC |
6303 | 2003-06-02 David Carlton <carlton@math.stanford.edu> |
6304 | ||
6305 | * block.c (contained_in): Add 'const' to arguments. | |
6306 | (block_function): Ditto. | |
6307 | * block.h: Update declarations for block_function and | |
6308 | contained_in. | |
6309 | ||
cdef89d0 DC |
6310 | 2003-06-02 David Carlton <carlton@math.stanford.edu> |
6311 | ||
6312 | * objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'. | |
6313 | * c-valprint.c (c_val_print): Delete unneeded variable 's'. | |
6314 | * p-valprint.c (pascal_val_print): Ditto. | |
6315 | * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'. | |
6316 | ||
72667056 RH |
6317 | 2003-06-02 Richard Henderson <rth@redhat.com> |
6318 | ||
98a8e1e5 RH |
6319 | * alpha-tdep.c (alpha_push_dummy_call): Use |
6320 | builtin_type_ieee_double_little instead of builtin_type_double. | |
eb4edb88 | 6321 | |
8ffd9b1b | 6322 | * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated |
98a8e1e5 RH |
6323 | sign-extension of 32-bit values. |
6324 | (alpha_store_return_value): Similarly. | |
0ede8eca | 6325 | |
98a8e1e5 RH |
6326 | * alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types. |
6327 | (alpha_extract_return_value): Likewise. | |
6328 | (alpha_store_return_value): Likewise. | |
7b5e1cb3 | 6329 | |
98a8e1e5 RH |
6330 | * alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats. |
6331 | (alpha_store_return_value): Error on IEEE Quad floats. | |
24064b5c | 6332 | |
98a8e1e5 RH |
6333 | * alpha-tdep.c (alpha_extract_return_value): Convert to regcache. |
6334 | (alpha_extract_struct_value_address): Likewise. | |
6335 | (alpha_store_return_value): Likewise. | |
6336 | (alpha_store_struct_return): Remove. | |
6337 | (alpha_gdbarch_init): Update hook registration to match. | |
5ec2bb99 | 6338 | |
98a8e1e5 RH |
6339 | * alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of |
6340 | deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch | |
6341 | macros where appropriate. | |
6342 | (alpha_register_convert_to_raw): Similarly. Use unpack_long. | |
6343 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): New. | |
14696584 | 6344 | |
98a8e1e5 RH |
6345 | * alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr |
6346 | for SP, GP; void_func_ptr for PC; non-language-specific types | |
6347 | for all others. | |
6348 | * alpha-tdep.h (ALPHA_GP_REGNUM): New. | |
72667056 | 6349 | |
6dd77b81 RH |
6350 | 2003-06-02 Richard Henderson <rth@redhat.com> |
6351 | ||
6352 | * top.h (lim_at_start): Declare. | |
6353 | * main.c (captured_main): Set it. | |
6354 | * top.c (lim_at_start): Define. | |
6355 | (command_loop): Use it instead of &environ. | |
6356 | * event-top.c (command_handler): Likewise. | |
6357 | ||
f4dbdb54 JT |
6358 | 2003-06-01 Jason Thorpe <thorpej@wasabisystems.com> |
6359 | ||
6360 | * mipsnbsd-tdep.c: Update copyright years. | |
6361 | (fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg. | |
6362 | ||
8f285956 RH |
6363 | 2003-06-01 Richard Henderson <rth@redhat.com> |
6364 | ||
98a8e1e5 RH |
6365 | * Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c. |
6366 | (alpha-linux-tdep.o): Update dependencies. | |
6367 | (alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise. | |
6368 | * alpha-mdebug-tdep.c: Remove unneeded includes. | |
8f285956 | 6369 | |
615967cb RH |
6370 | 2003-06-01 Richard Henderson <rth@redhat.com> |
6371 | ||
98a8e1e5 RH |
6372 | * alpha-tdep.c (alpha_register_reggroup_p): New. |
6373 | (alpha_gdbarch_init): Register it. | |
615967cb | 6374 | |
b59661bd AC |
6375 | 2003-06-02 Andrew Cagney <cagney@redhat.com> |
6376 | ||
6377 | * dwarfread.c: Eliminate "register" | |
6378 | (decode_die_type): Eliminate assignment within "if". | |
6379 | (struct_type, decode_array_element_type): Ditto. | |
6380 | (dwarf_read_array_type, read_tag_pointer_type): Ditto. | |
6381 | (read_subroutine_type, enum_type, add_enum_psymbol): Ditto. | |
6382 | (decode_modified_type, completedieinfo): Ditto. | |
6383 | * block.c: Eliminate "register". | |
6384 | (blockvector_for_pc_sect): Eliminate assignment within "if". | |
6385 | * cp-support.h (struct symbol): Opaque declaration. | |
6386 | * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free. | |
6387 | ||
5ef165c2 RH |
6388 | 2003-06-01 Richard Henderson <rth@redhat.com> |
6389 | ||
98a8e1e5 RH |
6390 | * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ... |
6391 | (_initialize_alpha_tdep): ... not deprecated_tm_print_insn. | |
5ef165c2 | 6392 | |
143985b7 AF |
6393 | 2003-06-01 Adam Fedor <fedor@gnu.org> |
6394 | ||
6395 | * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT. | |
6396 | * gdbarch.[ch]: Regenerate. | |
6397 | * hppa-tdep.c (hppa_fetch_pointer_argument): New function. | |
6398 | (hppa_gdbarch_init): Set it in the gdbarch vector. | |
6399 | * i386-tdep.c (i386_fetch_pointer_argument): New | |
6400 | (i386_gdbarch_init): Set it into gdbarch. | |
6401 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): New. | |
6402 | (rs6000_gdbarch_init): Set it in gdbarch. | |
6403 | * sparc-tdep.c (sparc_fetch_pointer_argument): New | |
6404 | (sparc_gdbarch_init): Set it in gdbarch. | |
6405 | ||
ae0167b9 AC |
6406 | 2003-06-01 Andrew Cagney <cagney@redhat.com> |
6407 | ||
7c0b4a20 AC |
6408 | * defs.h (extract_address): Delete declaration. |
6409 | * findvar.c (extract_address): Delete function. | |
6410 | * xstormy16-tdep.c (xstormy16_extract_return_value): Replace | |
6411 | extract_address with the inline equivalent, | |
6412 | extract_unsigned_integer. | |
6413 | (xstormy16_extract_struct_value_address): Ditto. | |
6414 | (xstormy16_pointer_to_address): Ditto. | |
6415 | * vax-tdep.c (vax_extract_struct_value_address): Ditto. | |
6416 | * v850-tdep.c (v850_push_arguments): Ditto. | |
6417 | (v850_extract_return_value): Ditto. | |
6418 | (v850_extract_struct_value_address): Ditto. | |
6419 | * sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto. | |
6420 | (sparcnbsd_get_longjmp_target_64): Ditto. | |
6421 | * sparc-tdep.c (sparc_frame_saved_pc): Ditto. | |
6422 | (get_longjmp_target): Ditto. | |
6423 | * sh-tdep.c (sh_extract_struct_value_address): Ditto. | |
6424 | (sh64_extract_struct_value_address): Ditto. | |
6425 | (sh_push_arguments): Ditto. | |
6426 | (sh64_push_arguments): Ditto. | |
6427 | * remote-vxsparc.c (vx_read_register): Ditto. | |
6428 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto. | |
6429 | * ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto. | |
6430 | * mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto. | |
6431 | * mipsv4-nat.c (get_longjmp_target): Ditto. | |
6432 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto. | |
6433 | * mips-nat.c (get_longjmp_target): Ditto. | |
6434 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto. | |
6435 | * mcore-tdep.c (mcore_extract_struct_value_address): Ditto. | |
6436 | * m68k-tdep.c (m68k_get_longjmp_target): Ditto. | |
6437 | * m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto. | |
6438 | * irix5-nat.c (get_longjmp_target): Ditto. | |
6439 | * irix4-nat.c (get_longjmp_target): Ditto. | |
6440 | * ia64-tdep.c (generic_elf_find_global_pointer): Ditto. | |
6441 | (ia64_push_arguments): Ditto. | |
6442 | * hpux-thread.c (hpux_thread_store_registers): Ditto. | |
6443 | * h8300-tdep.c (h8300_push_arguments): Ditto. | |
6444 | (h8300_store_return_value): Ditto. | |
6445 | (h8300_extract_struct_value_address): Ditto. | |
6446 | * frv-tdep.c (frv_extract_struct_value_address): Ditto. | |
6447 | (frv_push_arguments): Ditto. | |
6448 | * avr-tdep.c (avr_pointer_to_address): Ditto. | |
6449 | (avr_push_arguments): Ditto. | |
6450 | * arm-tdep.c (arm_push_dummy_call): Ditto. | |
6451 | (arm_get_longjmp_target): Ditto. | |
6452 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
6453 | * alpha-tdep.c (alpha_extract_struct_value_address): Ditto. | |
6454 | (alpha_get_longjmp_target): Ditto. | |
6455 | ||
ae0167b9 AC |
6456 | * solib-irix.c (extract_mips_address): Inline extract_address, |
6457 | replacing it with extract_signed_integer. | |
6458 | * solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
6459 | (LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto. | |
6460 | (first_link_map_member, open_symbol_file_object): Ditto. | |
6461 | (svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto. | |
6462 | * solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
6463 | (LM_NEXT, LM_NAME): Ditto. | |
6464 | ||
44d88583 RH |
6465 | 2003-06-01 Richard Henderson <rth@redhat.com> |
6466 | ||
98a8e1e5 RH |
6467 | * alpha-tdep.h (ALPHA_FP_REGNUM): Remove. |
6468 | * alpha-tdep.c (alpha_register_name): Remove vfp entry. | |
6469 | (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM. | |
6470 | (alpha_cannot_store_register): Likewise. | |
6471 | * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM. | |
6472 | * alpha-nat.c (supply_gregset): Likewise. | |
6473 | * alphanbsd-tdep.c (fetch_core_registers): Likewise. | |
44d88583 | 6474 | |
310e9b6a AC |
6475 | 2003-06-01 Andrew Cagney <cagney@redhat.com> |
6476 | ||
6477 | * infcall.c (call_function_by_hand): Update comment on | |
6478 | DEPRECATED_DUMMY_WRITE_SP. | |
6479 | ||
6480 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
6481 | deprecated_dummy_write_sp. | |
6482 | (mips_eabi_push_dummy_call): Set the SP register. | |
6483 | (mips_o64_push_dummy_call): Set the SP register. | |
6484 | (mips_o32_push_dummy_call): Set the SP register. | |
6485 | (mips_n32n64_push_dummy_call): Set the SP register. | |
6486 | ||
5ab84872 RH |
6487 | 2003-06-01 Richard Henderson <rth@redhat.com> |
6488 | ||
98a8e1e5 RH |
6489 | * alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE |
6490 | instead of ALPHA_MAX_REGISTER_RAW_SIZE. | |
6491 | (supply_gregset): Likewise. | |
6492 | * alpha-tdep.c (alpha_store_return_value): Likewise. | |
6493 | (alpha_get_longjmp_target): Likewise. | |
6494 | (alpha_register_name): Constify array. | |
6495 | (alpha_gdbarch_init): Remove deprecated_fp_regnum, | |
6496 | deprecated_register_size, deprecated_register_bytes, | |
6497 | deprecated_max_register_raw_size, deprecated_max_register_virtual_size. | |
6498 | * alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove. | |
6499 | (ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
5ab84872 | 6500 | |
09cc52fd RH |
6501 | 2003-06-01 Richard Henderson <rth@redhat.com> |
6502 | ||
6503 | * alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies | |
6504 | from arg_reg_buffer to regcache to avoid double conversion. | |
6505 | ||
c7f16359 MK |
6506 | 2003-06-01 Mark Kettenis <kettenis@gnu.org> |
6507 | ||
6508 | * i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of | |
6509 | SP_REGNUM. | |
6510 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise. | |
6511 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise. | |
6512 | ||
7131cb6e RH |
6513 | 2003-06-01 Richard Henderson <rth@redhat.com> |
6514 | ||
98a8e1e5 RH |
6515 | * dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation. |
6516 | (decode_frame_entry): Set it. Skip FDE augmentation. | |
7131cb6e | 6517 | |
f3e0f90b RH |
6518 | 2003-06-01 Richard Henderson <rth@redhat.com> |
6519 | ||
98a8e1e5 RH |
6520 | * dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column |
6521 | not overlapping PC_REGNUM. | |
f3e0f90b | 6522 | |
c88e30c0 RH |
6523 | 2003-06-01 Richard Henderson <rth@redhat.com> |
6524 | ||
98a8e1e5 RH |
6525 | * alpha-tdep.c (alpha_push_dummy_call): Transmography from |
6526 | alpha_push_arguments. Don't dump argument register data to | |
6527 | the target stack. Fix float and 128-bit long double semantics. | |
6528 | Store $t12 and $ra as specified by the ABI. Use regcache everywhere. | |
6529 | (alpha_fix_call_dummy): Remove. | |
6530 | (alpha_call_dummy_words): Remove. | |
6531 | (alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call. | |
c88e30c0 | 6532 | |
f1a559ae RH |
6533 | 2003-06-01 Richard Henderson <rth@redhat.com> |
6534 | ||
6535 | * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder. | |
6536 | ||
5e045346 AC |
6537 | 2003-06-01 Andrew Cagney <cagney@redhat.com> |
6538 | ||
95404a3e AC |
6539 | * mips-tdep.c (is_mips16_addr): New function. |
6540 | (make_mips16_addr, unmake_mips16_addr): New functions. | |
6541 | (pc_is_mips16, mips_fetch_instruction): Use. | |
6542 | (gdb_print_insn_mips, mips_breakpoint_from_pc): Use. | |
6543 | (gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH. | |
6544 | (mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH, | |
6545 | UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and | |
6546 | TARGET_MIPS. | |
6547 | * config/mips/tm-mips.h: Update copyright. | |
6548 | (TARGET_MIPS, TM_PRINT_INSN_MACH): Delete. | |
6549 | (DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete. | |
6550 | (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete. | |
6551 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete. | |
6552 | (TM_PRINT_INSN_MACH): Delete. | |
6553 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete. | |
6554 | ||
5e045346 AC |
6555 | * configure.tgt: Replace mips64*vr4xxx*el-*-elf*, |
6556 | mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*, | |
6557 | mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*, | |
6558 | mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and | |
6559 | mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete | |
6560 | mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto | |
6561 | mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*, | |
6562 | mips*-*-riscos* and mips*-*-sysv* onto mips. | |
6563 | * config/mips/mips64.mt: New file. | |
6564 | * config/mips/mips.mt: New file. | |
6565 | * config/mips/littlemips.mt: Delete file. | |
6566 | * config/mips/decstation.mt: Delete file. | |
6567 | * config/mips/vr4300el.mt: Delete file. | |
6568 | * config/mips/vr5000el.mt: Delete file. | |
6569 | * config/mips/vr5000.mt: Delete file. | |
6570 | * config/mips/vr4100.mt: Delete file. | |
6571 | * config/mips/vr4xxxel.mt: Delete file. | |
6572 | * config/mips/vr4300.mt: Delete file. | |
6573 | * config/mips/vr4xxx.mt: Delete file. | |
6574 | * config/mips/bigmips.mt: Delete file. | |
6575 | * config/mips/bigmips64.mt: Delete file. | |
6576 | * config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h". | |
6577 | * config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h". | |
6578 | * config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h" | |
6579 | * config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h". | |
6580 | * config/mips/tm-tx39.h: Include "tm-mips.h" instead of | |
6581 | "tm-bigmips.h". | |
6582 | * config/mips/tm-irix3.h: Ditto. | |
6583 | * config/mips/tm-mipsv4.h: Ditto. | |
6584 | * config/mips/tm-embed.h: Ditto. | |
6585 | * config/mips/tm-irix6.h: Include "tm-mips64.h" instead of | |
6586 | "tm-bigmips64.h". | |
6587 | * config/mips/tm-vr5000el.h: Delete file. | |
6588 | * config/mips/tm-tx39l.h: Delete file. | |
6589 | * config/mips/tm-vr4300el.h: Delete file. | |
6590 | * config/mips/tm-vr4xxxel.h: Delete file. | |
6591 | * config/mips/tm-vr4300.h: Delete file. | |
6592 | * config/mips/tm-vr4100.h: Delete file. | |
6593 | * config/mips/tm-vr4xxx.h: Delete file. | |
6594 | * config/mips/tm-vr5000.h: Delete file. | |
6595 | * config/mips/tm-embedl64.h: Delete file. | |
6596 | * config/mips/tm-embedl.h: Delete file. | |
6597 | * config/mips/tm-embed64.h: Delete file. | |
6598 | * config/mips/tm-bigmips64.h: Delete file. | |
6599 | * config/mips/tm-bigmips.h: Delete file. | |
6600 | ||
2473a4a9 MK |
6601 | 2003-06-01 Mark Kettenis <kettenis@gnu.org> |
6602 | ||
97a5b208 MK |
6603 | Fix gdb/1216. |
6604 | * shnbsd-nat.c: Include "sh-tdep.h". | |
6605 | ||
2473a4a9 MK |
6606 | From Richard Henderson <rth@redhat.com>: |
6607 | * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic. | |
6608 | ||
e0f7ec59 AC |
6609 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
6610 | ||
6611 | * mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add | |
6612 | forward declaration. | |
6613 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
6614 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
6615 | (mips_find_saved_regs): Use set_reg_offset. | |
6616 | (mips_frame_init_saved_regs): Delete function. | |
6617 | (mips_pop_frame): Call mips_find_saved_regs instead of | |
6618 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
6619 | ||
68dcc709 AC |
6620 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
6621 | ||
6622 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
6623 | deprecated_max_register_raw_size, register_virtual_size, and | |
6624 | deprecated_max_register_virtual_size. | |
6625 | ||
cfc14b3a MK |
6626 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
6627 | ||
6405b0a6 MK |
6628 | * i386-tdep.c: Include "dwarf2-frame.h". |
6629 | (i386_gdbarch_init): Hook in the DWARF CFI frame unwinder. | |
6630 | * Makefile.in (i386-tdep.o): Update dependencies. | |
6631 | ||
cfc14b3a MK |
6632 | * dwarf2-frame.c, dwarf2-frame.h: New files. |
6633 | * Makefile.in (SFILES): Add dwarf2-frame.c. | |
6634 | (dwarf2_frame_h): Define. | |
6635 | (COMMON_OBS): Add dwarf2-frame.o. | |
6636 | (dwarf2-frame.o): Add dependencies. | |
6637 | ||
6a2751d2 AJ |
6638 | 2003-05-31 Andreas Jaeger <aj@suse.de> |
6639 | ||
6640 | * x86-64-linux-nat.c: Fix comment. | |
6641 | ||
1c3545ae MK |
6642 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
6643 | ||
10f93086 MK |
6644 | * x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed |
6645 | function signature. | |
6646 | ||
1c3545ae MK |
6647 | * i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we |
6648 | have a sigcontext_addr handler. | |
6649 | * x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a | |
6650 | sigcontext_addr handler. | |
6651 | ||
e11c53d2 AC |
6652 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
6653 | ||
6654 | * mips-tdep.c (print_gp_register_row): Replace do_gp_register_row. | |
6655 | (print_fp_register_row): Replace do_fp_register_row. | |
6656 | (mips_print_fp_register): Add "file" and "frame" parameters. | |
6657 | (mips_print_register): Add "file" and "frame" parameters. | |
6658 | (mips_print_registers_info): Replace mips_do_registers_info. | |
6659 | (mips_gdbarch_init): Set print_registers_info instead of | |
6660 | deprecated_do_registers_info. | |
6661 | (mips_read_fp_register_single): Add "frame" parameter. | |
6662 | (mips_read_fp_register_double): Add "frame" parameter. | |
6663 | ||
a3386186 MK |
6664 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
6665 | ||
70913449 MK |
6666 | * i386-tdep.c (i386_register_name): Check for MMX registers first. |
6667 | Fixes a bug where GDB would print the wrong register names for | |
6668 | targets without SSE. | |
6669 | ||
2b5e0749 MK |
6670 | * x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS. |
6671 | (x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
6672 | registers. | |
6673 | ||
6674 | * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable. | |
6675 | (x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and | |
6676 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
6677 | TDEP->sc_sp_offset. | |
6678 | ||
a3386186 MK |
6679 | From Michal Ludvig <mludvig@suse.cz>: |
6680 | * i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset' | |
6681 | and `sc_num_regs'. | |
6682 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
6683 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
6684 | I386_ST0_REGNUM): Move here from... | |
6685 | * i386-tdep.c: ... here. | |
6686 | (I386_NUM_SAVED_REGS): Define to I386_NUM_REGS. | |
6687 | (i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
6688 | registers if possible. | |
6689 | (i386_gdbarch_init): Initialize TDEP->sc_reg_offset. | |
6690 | * i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset): | |
6691 | Remove variables. | |
6692 | (i386bsd_sc_reg_offset): New variable. | |
6693 | (i386bsd_init_abi): Initialize TDEP->sc_reg_offset and | |
6694 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
6695 | TDEP->sc_sp_offset. | |
6696 | (i386fbsd_sc_reg_offset): New variable. | |
6697 | (i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and | |
6698 | TDEP->sc_num_regs. | |
6699 | (i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove | |
6700 | variables. | |
6701 | (i386fbsd4_sc_reg_offset): New variable. | |
6702 | (i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and | |
6703 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
6704 | TDEP->sc_sp_offset. | |
6705 | * i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable. | |
6706 | (i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs. | |
6707 | * i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset): | |
6708 | Remove variables. | |
6709 | (i386nbsd_sc_reg_offset): New variable. | |
6710 | (i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and | |
6711 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
6712 | TDEP->sc_sp_offset. | |
6713 | * i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset): | |
6714 | Remove variables. | |
6715 | (i386obsd_sc_reg_offset): New variable. | |
6716 | (i386obsd_init_abi): Initialize TDEP->sc_reg_offset and | |
6717 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
6718 | TDEP->sc_sp_offset. | |
6719 | * i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in | |
6720 | i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check | |
6721 | for frame pointer offset in `struct sigcontext'. | |
6722 | ||
25ab4790 AC |
6723 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
6724 | ||
6725 | * mips-tdep.c (mips_gdbarch_init): Do not set the deprecated | |
6726 | architecture methods call_dummy_words, sizeof_call_dummy_words, | |
6727 | push_return_address, store_struct_return, and fix_call_dummy. Set | |
6728 | push_dummy_call instead of deprecated_push_arguments. | |
6729 | (mips_store_struct_return): Delete function. | |
6730 | (mips_fix_call_dummy): Delete function. | |
6731 | (mips_push_return_address): Delete function. | |
6732 | (mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set | |
6733 | RA_REGNUM and T9_REGNUM. | |
6734 | (mips_n32n64_push_dummy_call): Ditto for | |
6735 | mips_n32n64_push_arguments. | |
6736 | (mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments. | |
6737 | (mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments. | |
6738 | ||
6a65450a AC |
6739 | 2003-05-31 Andrew Cagney <cagney@redhat.com> |
6740 | ||
6741 | * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename | |
6742 | "dummy_addr" to "bp_addr". | |
6743 | * infcall.c (call_function_by_hand): Pass "funaddr" to | |
6744 | gdbarch_push_dummy_call. | |
6745 | * gdbarch.h, gdbarch.c: Re-generate. | |
6746 | * i386-tdep.c (i386_push_dummy_call): Update. | |
6747 | * arm-tdep.c (arm_push_dummy_call): Update. | |
6748 | * d10v-tdep.c (d10v_push_dummy_call): Update. | |
6749 | ||
c4f35dd8 MK |
6750 | 2003-05-31 Mark Kettenis <kettenis@gnu.org> |
6751 | ||
6752 | * x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove | |
6753 | variable declarations. | |
6754 | (x86_64_register_number, x86_64_register_name): Remove prototypes. | |
6755 | (x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call, | |
6756 | x86_64_linux_in_sigtramp, x86_64_linux_frame_chain, | |
6757 | x86_64_init_frame_pc, x86_64_init_frame_pc, | |
6758 | x86_64_function_has_prologue): Remove prototypes. | |
6759 | (X86_64_NUM_GREGS): New define. | |
6760 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes. | |
6761 | * x86-64-tdep.c: Don't include "dwarf2cfi.h". Include | |
6762 | "dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h". | |
6763 | (RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM, | |
6764 | XMM1_REGNUM): Remove defines. | |
6765 | (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM, | |
6766 | X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM, | |
6767 | X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, | |
6768 | X86_64_XMM1_REGNUM): New defines. | |
6769 | (struct x86_64_register_info): Renamed from `struct | |
6770 | register_info'. Remove `size' member. | |
6771 | (x86_64_register_info_table): Remove variable. | |
6772 | (x86_64_register_info): New variable. | |
6773 | (X86_64_NUM_REGS): New define. | |
6774 | (X86_64_NUM_GREGS): Remove define. | |
6775 | (x86_64_num_regs, x86_64_num_gregs): Remove variables. | |
6776 | (x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length): | |
6777 | Remove variables. | |
6778 | (x86_54_dwarf2_reg_to_regnum): Remove function. | |
6779 | (x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables. | |
6780 | (x86_64_dwarf_reg_to_regnum): New function. | |
6781 | (x86_64_register_name): Rewrite. | |
6782 | (x86_64_register_raw_size): Remove function. | |
6783 | (x86_64_register_byte_table): Remove variable. | |
6784 | (x86_64_register_byte): Remove function. | |
6785 | (x86_64_register_virtual_type): Remove function. | |
6786 | (x86_64_register_type): New function. | |
6787 | (x86_64_register_convertible, x86_64_register_convert_to_virtual, | |
6788 | x86_64_register_convert_to_raw): Remove functions. | |
6789 | (x86_64_push_return_address, x86_64_pop_frame): Remove functon. | |
6790 | (x86_64_use_struct_convention): Make static. Adjust for renamed | |
6791 | defines. | |
6792 | (x86_64_frame_init_saved_regs): Remove function. | |
6793 | (x86_64_push_arguments): Make static. Change to accept a regcache | |
6794 | as argument. | |
6795 | (x86_64_store_return_value, x86_64_extract_return_value): Make | |
6796 | static. Rewrite based on i386 counterparts. | |
6797 | (x86_64_push_dummy_call): New function. | |
6798 | (X86_64_NUM_SAVED_REGS): New define. | |
6799 | (x86_64_register_number): Remove function. | |
6800 | (x86_64_store_struct_return): Remove function. | |
6801 | (x86_64_frameless_function_invocation, | |
6802 | x86_64_function_has_prologue): Remove functions. | |
6803 | (PROLOG_BUFSIZE): Remove define. | |
6804 | (struct x86_64_frame_cache): New structure. | |
6805 | (x86_64_alloc_frame_cache, x86_64_analyze_prologue, | |
6806 | x86_64_frame_cache, x86_64_frame_this_id, | |
6807 | x86_64_frame_prev_register, x86_64_frame_p, | |
6808 | x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id, | |
6809 | x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New | |
6810 | functions. | |
6811 | (x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New | |
6812 | variables. | |
6813 | (x86_64_skip_prologue): Rewrite in terms of | |
6814 | x86_64_analyze_prologue. | |
6815 | (x86_64_frame_base_address): New function. | |
6816 | (x86_64_frame_base): New variable. | |
6817 | (x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite. | |
6818 | (x86_64_init_abi): Set register_type and push_dummy_call. Don't | |
6819 | set deprecated_fp_regnum, deprecated_register_size, | |
6820 | deprecated_register_bytes, register_raw_size, register_byte, | |
6821 | register_virtual_type, register_convertiable, | |
6822 | register_convert_to_virtual, convert_to_raw, | |
6823 | deprecated_get_saved_register, deprecated_target_read_fp, | |
6824 | deprecated_push_arguments, deprecated_push_return_address, | |
6825 | deprecated_pop_frame, deprecated_store_struct_return, | |
6826 | deprecated_frame_init_saved_regs, deprecated_frame_chain, | |
6827 | frameless_function_invocation, deprecated_frame_saved_pc, | |
6828 | deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp, | |
6829 | dwarf2_build_frame_info, deprecated_init_extra_frame_info, | |
6830 | deprecated_init_frame_pc and virtual_frame_pointer. Call | |
6831 | frame_unwind_append_predicate to register x86_64_sigtramp_frame_p | |
6832 | and x86_64_frame_p. Call frame_base_set_default to register | |
6833 | x86_64_frame_base. | |
6834 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines. | |
6835 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New functions. | |
6836 | (_initialize_x86_64_tdep): Remove function. | |
6837 | * x86-64-linux-tdep.c: Don't include "dwarf2cfi.h". | |
6838 | (LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET, | |
6839 | LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't | |
6840 | define. | |
6841 | (X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define. | |
6842 | (x86_64_linux_sigcontext_addr): Rewrite. | |
6843 | (x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call, | |
6844 | x86_64_linux_frame_saved_pc): Remove functions. | |
6845 | (x86_64_linux_pc_in_sigtramp): Renamed from | |
6846 | x86_64_linux_in_sigtramp. Try harder to recognize a signal | |
6847 | trampoline. | |
6848 | (x86_64_linux_frame_chain, x86_64_init_frame_pc): | |
6849 | Remove_functions. | |
6850 | (x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize | |
6851 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
6852 | * x86-64-linux-nat.c: Sync with i386-linux-tdep.c. | |
6853 | (x86_64_regmap): Rename to regmap. | |
6854 | (GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of | |
6855 | x86_64_num_gregs. | |
6856 | (supply_gregset, fill_gregset): Likewise. Use regmap instead of | |
6857 | x86_64_regmap. | |
6858 | (x86_64_fxsave_offset): Remove function. | |
6859 | (supply_fpregset): Simply call x86_64_supply_fxsave. | |
6860 | (fill_fpregset): Simply call x86_64_fill_fxsave. | |
6861 | (fetch_inferior_registers, store_inferior_registers): Avoid | |
6862 | asignment in if-statement. | |
6863 | (LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn, | |
6864 | SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET, | |
6865 | LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines. | |
6866 | (fetch_core_registers): Remove function. | |
6867 | (linux_elf_core_fns): Remove. | |
6868 | (offsetoff): Don't define. | |
6869 | (_initialize_x86_64_linux_nat, kernel_u_size): Remove functions. | |
6870 | * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o. | |
6871 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o, | |
6872 | add core-regset.o. | |
6873 | * config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for | |
6874 | protection against multiple includes instead of NM_X86_64_h. Add | |
6875 | various comments. Include "config/nm-linux.h". Don't include | |
6876 | <signal.h>. | |
6877 | (REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR, | |
6878 | GET_THREAD_SIGNALS): Remove defines. | |
6879 | (x86_64_register_u_addr, kernel_u_size, | |
6880 | lin_thread_get_thread_signals): Remove prototypes. | |
6881 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'. | |
6882 | [HAVE_LINK_H]: Don't include "solib.h". | |
6883 | [HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define. | |
6884 | * config/i386/tm-x86-64linux.h: Fix comments. | |
6885 | * Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o, | |
6886 | x86-64-tdep.o): Update dependencies. | |
6887 | ||
c25083af AC |
6888 | 2003-05-30 Andrew Cagney <cagney@redhat.com> |
6889 | ||
c8f55a7b AC |
6890 | * config/sparc/tm-sparc.h (sparc_extract_struct_value_address): |
6891 | Change parameter type to a "struct regcache *". | |
6892 | ||
c25083af AC |
6893 | * gdbarch.sh: Regardless of the multi-arch level, always define |
6894 | the macro when not already defined. | |
6895 | * gdbarch.h, gdbarch.c: Re-generate. | |
6896 | ||
fbe586ae RH |
6897 | 2003-05-30 Richard Henderson <rth@redhat.com> |
6898 | ||
6899 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues. | |
6900 | (alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder. | |
6901 | (alpha_mdebug_frame_this_id): Likewise. | |
6902 | (alpha_mdebug_frame_prev_register): Likewise. | |
6903 | (alpha_mdebug_frame_base_address): Likewise. | |
6904 | (alpha_mdebug_frame_locals_address): Likewise. | |
6905 | (alpha_mdebug_frame_args_address): Likewise. | |
6906 | (struct alpha_mdebug_unwind_cache): Remove in_prologue_cache. | |
6907 | * alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start. | |
6908 | (alpha_heuristic_frame_unwind_cache): Make static; add missing | |
6909 | loop increment. | |
6910 | (alpha_heuristic_frame_this_id): Make static. | |
6911 | (alpha_heuristic_frame_prev_register): Likewise. | |
6912 | (alpha_heuristic_frame_base_address): Likewise. | |
6913 | * alpha-tdep.h: Update. | |
6914 | ||
acd5c798 MK |
6915 | 2003-05-30 Mark Kettenis <kettenis@gnu.org> |
6916 | ||
6917 | * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype. | |
6918 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove | |
6919 | defenitions. | |
6920 | (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions. | |
6921 | * i386-tdep.c: Mark functions that are 64-bit safe as such. | |
6922 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
6923 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
6924 | I386_ST0_REGNUM): New defines. | |
6925 | (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek, | |
6926 | codestream_get): Remove define. | |
6927 | (codestream_next_addr, condestream_addr, condestream_buf, | |
6928 | codestream_off, codestream_cnt): Remove variables. | |
6929 | (codestream_fill, codestream_seek, codestream_read): Remove | |
6930 | functions. | |
6931 | (i386_follow_jump): Rewrite to avoid usage of removed codestream | |
6932 | functionality. | |
6933 | (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain, | |
6934 | i386_sigtramp_saved_pc, i386_sigtramp_saved_sp, | |
6935 | i386_frame_saved_pc, i386_saved_pc_after_call, | |
6936 | i386_frame_num_args, i386_frame_init_saved_regs, | |
6937 | i386_push_return_address, i386_do_pop_frame, i386_pop_frame, | |
6938 | i386_push_arguments): Remove functions. | |
6939 | (i386_skip_prologue): Rewrite to avoid usage of removed codestream | |
6940 | functionality. Use i386_analyze_prologue instead of | |
6941 | i386_get_frame_setup. | |
6942 | (I386_NUM_SAVED_REGS): New define. | |
6943 | (struct i386_frame_cache): New structure. | |
6944 | (i386_alloc_frame_cache, i386_analyze_struct_return, | |
6945 | i386_skip_probe, i386_analyze_frame_setup, | |
6946 | i386_analyze_register_saves, i386_analyze_prologue, | |
6947 | i386_unwind_pc, i386_frame_cache, i386_frame_this_id, | |
6948 | i386_frame_prev_register, i386_sigtramp_frame_cache, | |
6949 | i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register, | |
6950 | i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address, | |
6951 | i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call): | |
6952 | New functions. | |
6953 | (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base): | |
6954 | New variables. | |
6955 | (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of | |
6956 | I386_EAX_REGNUM and I386_EDX_REGNUM. | |
6957 | (i386_extract_return_value, i386_store_return_value): Use | |
6958 | I386_ST0_REGNUM where appropriate. | |
6959 | (i386_extract_struct_value_address): Rewrite to use extract_address. | |
6960 | (i386_svr4_pc_in_sigtramp): Add comment. | |
6961 | (i386_svr4_sigcontext_addr): Rewrite. | |
6962 | (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and | |
6963 | TDEP->sc_sp_offset. | |
6964 | (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set | |
6965 | sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms | |
6966 | of new defines. Set push_dummy_call, don't set | |
6967 | deprecated_push_arguments, deprecated_push_return_address, | |
6968 | deprecated_pop_frame. Don't set parm_boundary. Don't set | |
6969 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
6970 | deprecated_saved_pc_after_call. Set unwind_dummy_id, | |
6971 | save_dummy_frame_tos, unwind_pc. Call | |
6972 | frame_unwind_append_predicate and frame_base_set_default. Don't | |
6973 | set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum. | |
6974 | Don't set frameless_function_invocation. Don't set | |
6975 | deprecated_register_bytes, deprecated_register_size, | |
6976 | deprecated_call_dummy_words and deprecated_sizeof_call_dummy. | |
6977 | * i386-linux-tdep.c: Fix formatting in some comments. | |
6978 | (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0, | |
6979 | LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1, | |
6980 | LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, | |
6981 | LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, | |
6982 | LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop | |
6983 | redundant parentheses. | |
6984 | (I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define. | |
6985 | (i386_linux_sigcontext_addr): Use it. Rewrite. | |
6986 | (find_minsym_and_objfile): Change name of second argument. | |
6987 | (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers | |
6988 | changed. Use frame_pc_unwind instead of | |
6989 | DEPRECATED_SAVED_PC_AFTER_CALL. | |
6990 | (i386_linux_init_abi): Don't set deprecated_register_bytes. | |
6991 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite. | |
6992 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame | |
6993 | unwinder. | |
6994 | * i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and | |
6995 | "dummy-frame.h". | |
6996 | (i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed. | |
6997 | (_initialize_i386_cygwin_tdep): New prototype. | |
6998 | (i386_cygwin_init_abi): Don't set deprecated_frame_chain and | |
6999 | deprecated_frame_chain_valid. | |
7000 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set | |
7001 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
7002 | Rely on the SVR4 defaults. | |
7003 | * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o. | |
7004 | * Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies. | |
7005 | ||
c89b70f1 AC |
7006 | 2003-05-30 Andrew Cagney <cagney@redhat.com> |
7007 | ||
7008 | * infcall.c (call_function_by_hand): Always call | |
7009 | DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case. | |
7010 | ||
85b32d22 RH |
7011 | 2003-05-30 Richard Henderson <rth@redhat.com> |
7012 | ||
c89b70f1 AC |
7013 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop |
7014 | increment. | |
85b32d22 | 7015 | |
bfe51b1e JB |
7016 | 2003-05-29 Jim Blandy <jimb@redhat.com> |
7017 | ||
7018 | Use gdbarch methods for solib stuff on PowerPC Linux. | |
7019 | * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, | |
7020 | SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will | |
7021 | show through. | |
7022 | * ppc-linux-tdep.c (ppc_linux_init_abi): Register | |
7023 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, | |
7024 | giving the same effect as the #definitions above. | |
7025 | ||
1abf022c AF |
7026 | 2003-05-29 Adam Fedor <fedor@gnu.org> |
7027 | ||
7028 | * objc-lang.c (CONVERT_FUNCPTR): Remove macro | |
7029 | (find_implementation_from_class): Replace it with the standard | |
7030 | case i.e. do nothing. | |
7031 | ||
d2427a71 RH |
7032 | 2003-05-29 Richard Henderson <rth@redhat.com> |
7033 | ||
7034 | * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New. | |
7035 | (alpha_linux_sigtramp_offset): Use it. Make static. | |
7036 | (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn; | |
7037 | update for new frame model. | |
7038 | * alpha-mdebug-tdep.c: New file. | |
7039 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c. | |
7040 | (alpha_osf1_init_abi): Install it. | |
7041 | * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c. | |
7042 | (linked_proc_desc_table): Remove. | |
7043 | (alpha_frame_past_sigtramp_frame): Remove. | |
7044 | (alpha_dynamic_sigtramp_offset): Remove. | |
7045 | (ALPHA_PROC_SIGTRAMP_MAGIC): Remove. | |
7046 | (alpha_proc_desc_is_dyn_sigtramp): Remove. | |
7047 | (alpha_set_proc_desc_is_dyn_sigtramp): Remove. | |
7048 | (push_sigtramp_desc): Remove. | |
7049 | (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM. | |
7050 | (alpha_cannot_store_register): Likewise. | |
7051 | (alpha_sigcontext_addr): Remove. | |
7052 | (alpha_find_saved_regs): Remove. | |
7053 | (alpha_frame_init_saved_regs): Remove. | |
7054 | (alpha_init_frame_pc_first): Remove. | |
7055 | (read_next_frame_reg): Remove. | |
7056 | (alpha_frame_saved_pc): Remove. | |
7057 | (alpha_saved_pc_after_call): Remove. | |
7058 | (temp_proc_desc, temp_saved_regs): Remove. | |
7059 | (alpha_about_to_return): Remove. | |
7060 | (cached_proc_desc): Remove. | |
7061 | (alpha_frame_chain): Remove. | |
7062 | (alpha_print_extra_frame_info): Remove. | |
7063 | (alpha_init_extra_frame_info): Remove. | |
7064 | (alpha_frame_locals_address): Remove. | |
7065 | (alpha_frame_args_address): Remove. | |
7066 | (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR. | |
7067 | (alpha_push_dummy_frame): Remove. | |
7068 | (alpha_pop_frame): Remove. | |
7069 | (alpha_after_prologue): Rename from after_prologue; remove mdebug bits. | |
7070 | (alpha_read_insn): New. | |
7071 | (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust | |
7072 | for different insn encodings. | |
7073 | (alpha_in_lenient_prologue): Remove. | |
7074 | (struct alpha_sigtramp_unwind_cache): New. | |
7075 | (alpha_sigtramp_frame_unwind_cache): New. | |
7076 | (alpha_sigtramp_register_address): New. | |
7077 | (alpha_sigtramp_frame_this_id): New. | |
7078 | (alpha_sigtramp_frame_prev_register): New. | |
7079 | (alpha_sigtramp_frame_unwind): New. | |
7080 | (alpha_sigtramp_frame_p): New. | |
7081 | (struct alpha_heuristic_unwind_cache): New. | |
7082 | (alpha_heuristic_proc_start): Rename from heuristic_proc_start; | |
7083 | don't count nop insns that occur between functions. | |
7084 | (alpha_heuristic_frame_unwind_cache): New; incorporate much of | |
7085 | heuristic_proc_desc, but without the mdebug wrapping. | |
7086 | (alpha_heuristic_frame_this_id): New. | |
7087 | (alpha_heuristic_frame_prev_register): New. | |
7088 | (alpha_heuristic_frame_unwind): New. | |
7089 | (alpha_heuristic_frame_p): New. | |
7090 | (alpha_heuristic_frame_base_address): New. | |
7091 | (alpha_heuristic_frame_base): New. | |
7092 | (alpha_unwind_dummy_id): New. | |
7093 | (alpha_unwind_pc): New. | |
7094 | (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of | |
7095 | frame related deprecated initializations; install replacements. | |
7096 | (alpha_dump_tdep): Remove. | |
7097 | * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame. | |
7098 | (alpha_read_insn, alpha_after_prologue, | |
7099 | alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id, | |
7100 | alpha_heuristic_frame_prev_register, | |
7101 | alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare. | |
7102 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
7103 | * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove. | |
7104 | * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove. | |
7105 | ||
93ec1121 AC |
7106 | 2003-05-29 Andrew Cagney <cagney@redhat.com> |
7107 | ||
7108 | * gdb_assert.h (gdb_assert_fail): Provide different definitions | |
7109 | dependant on the availability of ASSERT_FUNCTION. | |
7110 | (ASSERT_FUNCTION): Do not define when there is no function name. | |
7111 | ||
98f08d3d KB |
7112 | 2003-05-29 Kevin Buettner <kevinb@redhat.com> |
7113 | ||
7114 | From Jimi X <jimix@watson.ibm.com>: | |
7115 | * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code. | |
7116 | ||
0897f59b JB |
7117 | 2003-05-28 Jim Blandy <jimb@redhat.com> |
7118 | ||
7119 | * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth | |
7120 | argument to ptrace to int; the system headers should give it the | |
7121 | right type, and pointers don't fit in ints on powerpc64-*-*. | |
7122 | ||
14898363 L |
7123 | 2003-05-28 H.J. Lu <hongjiu.lu@intel.com> |
7124 | ||
7125 | * dwarf2read.c (process_die): Handle DW_TAG_try_block and | |
7126 | DW_TAG_catch_block. | |
7127 | ||
a7a48797 EZ |
7128 | 2003-05-26 Elena Zannoni <ezannoni@redhat.com> |
7129 | ||
7130 | * stabsread.c (dbx_lookup_type): Make static. | |
7131 | (read_type): Ditto. | |
7132 | (add_undefined_type): Ditto. | |
7133 | * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do | |
7134 | not export. | |
7135 | ||
f5479e9c EZ |
7136 | 2003-05-26 Elena Zannoni <ezannoni@redhat.com> |
7137 | ||
7138 | * hpread.c (hpread_has_name): Make static. | |
7139 | (hpread_psymtab_to_symtab): Ditto. | |
7140 | (file_exists): Ditto. | |
7141 | (hpread_call_pxdb): Ditto. | |
7142 | (hpread_pxdb_needed): Ditto. | |
7143 | (hpread_quick_traverse): Ditto. | |
7144 | (hpread_get_header): Ditto. | |
7145 | (hpread_get_lntt): Ditto. | |
7146 | (hpread_get_slt): Ditto. | |
7147 | (class_of): Ditto. | |
7148 | ||
eb2e12d7 AS |
7149 | 2003-05-25 Andreas Schwab <schwab@suse.de> |
7150 | ||
78bf922a AS |
7151 | * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of |
7152 | stack_align and deprecated_extra_stack_alignment_needed. | |
7153 | (m68k_stack_align): Delete. | |
7154 | ||
eb2e12d7 AS |
7155 | * m68k-tdep.c (m68k_register_raw_size): Remove cast. |
7156 | (m68k_register_virtual_size): Likewise. | |
7157 | (altos_skip_prologue): Remove obsolete function. | |
7158 | (isi_frame_num_args): Likewise. | |
7159 | (news_frame_num_args): Likewise. | |
7160 | (m68k_fix_call_dummy): Make static. | |
7161 | (m68k_push_dummy_frame): Likewise. | |
7162 | (m68k_pop_frame): Likewise. | |
7163 | (m68k_skip_prologue): Likewise. | |
7164 | (m68k_frame_init_saved_regs): Likewise. | |
7165 | (m68k_saved_pc_after_call): Likewise. | |
7166 | (m68k_get_longjmp_target): Make multi-arch. | |
7167 | (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep | |
7168 | structure. Register m68k_get_longjmp_target if enabled. | |
7169 | * m68k-tdep.h (struct gdbarch_tdep): Define. | |
7170 | * config/m68k/tm-m68k.h: Don't include "regcache.h". | |
7171 | ||
7172 | * Makefile.in (config.status): Also depend on configure.tgt | |
7173 | and configure.host. | |
7174 | (m68klinux-tdep.o): Update dependencies. | |
7175 | * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1. | |
7176 | * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define. | |
7177 | (M68K_LINUX_JB_PC): Define. | |
7178 | (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp | |
7179 | and take additional parameter. | |
7180 | (m68k_linux_sigtramp_saved_pc): Update. | |
7181 | (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register | |
7182 | m68k_linux_pc_in_sigtramp, in_plt_section, | |
7183 | find_solib_trampoline_target. | |
7184 | * config/m68k/tm-linux.h: Don't include any tm headers. | |
7185 | (START_INFERIOR_TRAPS_EXPECTED): Remove definition. | |
7186 | (JB_ELEMENT_SIZE): Likewise. | |
7187 | (JB_PC): Likewise. | |
7188 | (GET_LONGJMP_TARGET): Likewise. | |
7189 | (IN_SIGTRAMP): Likewise. | |
7190 | (SVR4_SHARED_LIBS): Define this and include "solib.h". | |
7191 | ||
eb2c22dc MK |
7192 | 2003-05-25 Mark Kettenis <kettenis@gnu.org> |
7193 | ||
7194 | * sparc-tdep.c (sparc32_do_push_arguments): New function. | |
7195 | (sparc32_push_arguments): Re-implement by calling | |
7196 | sparc32_do_push_arguments. | |
7197 | ||
44b7b84e MK |
7198 | 2003-05-25 Mark Kettenis <kettenis@gnu.org> |
7199 | ||
7200 | * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM, | |
7201 | SPARC_O1_REGNUM): New defines. | |
7202 | (sparc32_extract_return_value): Rewrite to operate on a regcache. | |
7203 | (sparc32_store_return_value): New function. | |
7204 | (sparc_extract_struct_value_address): Rewrite to operate on a | |
7205 | regcache. | |
7206 | (sparc_gdbarch_init): Don't set | |
7207 | deprecated_extract_struct_value_address. Set | |
7208 | extract_struct_value_address instead. Don't set | |
7209 | deprecated_extract_return_value and deprecated_store_return_value | |
7210 | for 32-bit targets. Set extract_return_value and | |
7211 | store_return_value instead. | |
7212 | * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE, | |
7213 | DEPRECTAED_EXTRACT_RETURN_VALUE, | |
7214 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these. | |
7215 | (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE, | |
7216 | EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead. | |
7217 | (sparc_store_return_value): Remove prototype. | |
7218 | (sparc32_store_return_value): New prototype. | |
7219 | (sparc32_extract_return_value, sparc_extract_struct_value_address): | |
7220 | Adjust prototypes. | |
7221 | ||
f6ad61e3 MK |
7222 | 2003-05-24 Mark Kettenis <kettenis@gnu.org> |
7223 | ||
7224 | * sparcnbsd-tdep.c: Include "gdb_string.h". | |
7225 | ||
b276f1bb AC |
7226 | 2003-05-23 Andrew Cagney <cagney@redhat.com> |
7227 | ||
7228 | * p-valprint.c (pascal_val_print): Replace extract_address with | |
7229 | the inline equivalent extract_unsigned_integer. | |
7230 | * jv-valprint.c (java_value_print): Ditto. | |
7231 | * ada-valprint.c (ada_val_print_1): Ditto. | |
7232 | * ada-lang.h (EXTRACT_ADDRESS): Ditto. | |
7233 | ||
e76c5fcc TR |
7234 | 2003-05-23 Theodore A. Roth <troth@openavr.org> |
7235 | ||
7236 | * blockframe.c (frameless_look_for_prologue): Remove unused | |
7237 | after_prologue variable. | |
7238 | ||
2cdd89cb MK |
7239 | 2003-05-23 Mark Kettenis <kettenis@gnu.org> |
7240 | ||
7241 | * blockframe.c (get_pc_function_start): Rewrite to avoid | |
7242 | asignments in if-statements. | |
7243 | ||
182d43bc EZ |
7244 | 2003-05-23 Raoul Gough <RaoulGough@yahoo.co.uk> |
7245 | ||
7246 | Committed by Elena Zannoni <ezannoni@redhat.com>. | |
8ffd9b1b | 7247 | * coffread.c(coff_symtab_read): Do relocate static symbols from PE |
182d43bc EZ |
7248 | files, don't relocate absolute symbols (and do use mst_abs). |
7249 | ||
e8f3fcdd AC |
7250 | 2003-05-23 Andrew Cagney <cagney@redhat.com> |
7251 | ||
7252 | * objc-lang.c: Include "gdb_assert.h". | |
7253 | (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0. | |
7254 | (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros. | |
7255 | (gdb_check, gdb_check_fatal): Delete functions. | |
7256 | (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with | |
7257 | gdb_assert. | |
7258 | (parse_selector, parse_method, find_methods, find_imps): Ditto. | |
7259 | * Makefile.in (objc-lang.o): Update dependencies. | |
7260 | ||
3c23e6fb ILT |
7261 | 2003-05-22 Ian Lance Taylor <ian@airs.com> |
7262 | ||
7263 | * disasm.c (gdb_disassemble_info): Initialize disassemble_info | |
7264 | with fprintf_filtered, not fprintf_unfiltered. | |
7265 | ||
af1342ab AC |
7266 | 2003-05-22 Andrew Cagney <cagney@redhat.com> |
7267 | ||
7268 | * stack.c (frame_info): Inline extract_address, replacing it with | |
7269 | extract_unsigned_integer. | |
7270 | * findvar.c (unsigned_pointer_to_address): Ditto. | |
7271 | * dwarf2loc.c (dwarf_expr_read_reg): Ditto. | |
7272 | * dwarf2expr.c (dwarf2_read_address): Ditto. | |
7273 | * frame.c (frame_pc_unwind): Update comment. | |
7274 | * dummy-frame.c (deprecated_read_register_dummy): Update comment. | |
7275 | ||
47e242ec JJ |
7276 | 2003-05-22 Jeff Johnston <jjohnstn@redhat.com> |
7277 | ||
7278 | * infptrace.c (detach): Call print_sys_errmsg rather than | |
7279 | perror_with_name to issue warning message when errno is non-zero | |
7280 | after calling ptrace detach. | |
7281 | ||
e2ac8128 JB |
7282 | 2003-05-21 J. Brobecker <brobecker@gnat.com> |
7283 | ||
7284 | * config/pa/tm-hppa.h: Delete some unused macros. Move some | |
7285 | macro definitions from here... | |
7286 | * hppa-tdep.c: ...to there. | |
7287 | ||
92b3541e KB |
7288 | 2003-05-20 Kevin Buettner <kevinb@redhat.com> |
7289 | ||
7290 | * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function | |
7291 | register_ptrace_addr(). Fix all callers. | |
7292 | ||
55809acb AS |
7293 | 2003-05-21 Andreas Schwab <schwab@suse.de> |
7294 | ||
7295 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
7296 | dependencies. | |
7297 | * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the | |
7298 | end. | |
7299 | * m68klinux-tdep.c (m68k_linux_init_abi): New function. | |
7300 | (_initialize_m68k_linux_tdep): New function. | |
7301 | (m68k_linux_frame_saved_pc): Make static. | |
7302 | (m68k_linux_extract_return_value): Likewise. | |
7303 | (m68k_linux_store_return_value): Likewise. | |
7304 | (m68k_linux_extract_struct_value_address): Likewise. | |
7305 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): | |
7306 | Remove. | |
7307 | (DEPRECATED_STORE_RETURN_VALUE): Remove. | |
7308 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
7309 | (DEPRECATED_FRAME_SAVED_PC): Remove. | |
7310 | ||
0fbc10f7 KW |
7311 | 2003-05-20 Kris Warkentin <kewarken@qnx.com> |
7312 | ||
7313 | * nto-tdep.c (fetch_core_registers): Match gdb's idea of | |
7314 | regset numbering rather than our own. | |
7315 | ||
58da2eb2 DC |
7316 | 2003-05-19 David Carlton <carlton@bactrian.org> |
7317 | ||
7318 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*. | |
7319 | ||
1fcb5155 DC |
7320 | 2003-05-19 David Carlton <carlton@bactrian.org> |
7321 | ||
7322 | Partial fix for PR c++/827. | |
7323 | * cp-support.h: Include symtab.h. | |
7324 | Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace. | |
7325 | * cp-namespace.c: Update contributors. | |
7326 | (cp_lookup_symbol_nonlocal): New. | |
7327 | (lookup_namespace_scope, cp_lookup_symbol_namespace) | |
7328 | (lookup_symbol_file): Ditto. | |
7329 | * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal. | |
7330 | * block.h: Declare block_scope, block_using, block_global_block. | |
7331 | * block.c (block_scope): New. | |
7332 | (block_using, block_global_block): Ditto. | |
7333 | * Makefile.in (cp_support_h): Depend on symtab_h. | |
7334 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc. | |
7335 | ||
5f9a71c3 DC |
7336 | 2003-05-19 David Carlton <carlton@bactrian.org> |
7337 | ||
7338 | * language.h (struct language_defn): Add 'la_value_of_this' | |
7339 | and 'la_lookup_symbol_nonlocal' members. | |
7340 | * symtab.h: Declare basic_lookup_symbol_nonlocal, | |
7341 | lookup_symbol_static, lookup_symbol_global, | |
7342 | lookup_symbol_aux_block. | |
7343 | * symtab.c (lookup_symbol_aux): Call language hooks to determine | |
7344 | if we should search fields of this and how to do static/global | |
7345 | lookup. | |
7346 | (lookup_symbol_aux_block): Make extern. | |
7347 | (basic_lookup_symbol_nonlocal): New. | |
7348 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
7349 | * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and | |
7350 | 'la_lookup_symbol_nonlocal' members. | |
7351 | * c-lang.c (c_language_defn, cplus_language_defn) | |
7352 | (asm_language_defn, minimal_language_defn): Ditto. | |
7353 | * jv-lang.c (java_language_defn): Ditto. | |
7354 | * language.c (unknown_language_defn, auto_language_defn) | |
7355 | (local_language_defn): Ditto. | |
7356 | * m2-lang.c (m2_language_defn): Ditto. | |
7357 | * objc-lang.c (objc_language_defn): Ditto. | |
7358 | * scm-lang.c (scm_language_defn): Ditto. | |
7359 | * f-lang.c (f_language_defn): Ditto, and include value.h as well. | |
7360 | * p-lang.c (pascal_language_defn): Ditto for both. | |
7361 | * Makefile.in (f-lang.o): Depend on value_h. | |
7362 | (p-lang.o): Ditto. | |
7363 | ||
89a9d1b1 DC |
7364 | 2003-05-19 David Carlton <carlton@bactrian.org> |
7365 | ||
7366 | * block.h: Declare block_static_block. | |
7367 | * block.c (block_static_block): New. | |
7368 | * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to | |
7369 | lookup_symbol_aux_local, calling block_static_block instead. | |
7370 | (lookup_symbol_aux_local): Delete 'static_block' argument. | |
7371 | ||
eed3f8ab DC |
7372 | 2003-05-19 David Carlton <carlton@bactrian.org> |
7373 | ||
7374 | * symtab.c (lookup_symbol_aux): Delete #if 0 hunk. | |
7375 | ||
a09d8bda ML |
7376 | 2003-05-19 Michal Ludvig <mludvig@suse.cz> |
7377 | ||
7378 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix | |
7379 | register numbers mapping. | |
7380 | ||
69636828 AF |
7381 | 2003-05-18 Adam Fedor <fedor@gnu.org> |
7382 | ||
7383 | * symtab.c (completion_list_objc_symbol): New function. | |
7384 | (make_symbol_completion_list): Use it to add ObjC symbols | |
7385 | when looking though the list. | |
7386 | (language_search_unquoted_string): New function. | |
7387 | (make_file_symbol_completion_list): Use it. | |
7388 | ||
55baeb84 AS |
7389 | 2003-05-18 Andreas Schwab <schwab@suse.de> |
7390 | ||
d0b45d99 AS |
7391 | * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update |
7392 | dependencies. | |
7393 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define | |
7394 | as m68k_linux_extract_return_value. | |
7395 | (DEPRECATED_STORE_RETURN_VALUE): Define as | |
7396 | m68k_linux_store_return_value. | |
7397 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
7398 | m68k_linux_extract_struct_value_address. | |
7399 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use | |
7400 | get_next_frame, get_frame_base, get_frame_pc. | |
7401 | (m68k_linux_frame_saved_pc): Use get_frame_base. | |
7402 | (m68k_linux_extract_return_value): New function. | |
7403 | (m68k_linux_store_return_value): New function. | |
7404 | (m68k_linux_extract_struct_value_address): New function. | |
7405 | * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target. | |
7406 | ||
55baeb84 AS |
7407 | * c-exp.y (typebase): Remove duplicate occurence of |
7408 | `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead | |
8ffd9b1b | 7409 | of lookup_signed_typename. |
55baeb84 | 7410 | |
b6b08ebf MK |
7411 | 2003-05-18 Mark Kettenis <kettenis@gnu.org> |
7412 | ||
7413 | * dwarf2loc.c (find_location_expression): Change type of second | |
7414 | argument to `size_t *'. | |
7415 | (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t | |
7416 | for size variable. | |
7417 | ||
5ad1c190 DC |
7418 | 2003-05-18 David Carlton <carlton@bactrian.org> |
7419 | ||
7420 | * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to | |
7421 | 'linkage_name'. Add comment. | |
7422 | (lookup_symbol_aux_local): Rename 'mangled_name' argument to | |
7423 | 'linkage_name'. | |
7424 | (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
7425 | (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms) | |
7426 | (lookup_block_symbol): Ditto. | |
7427 | ||
b8b527c5 AC |
7428 | 2003-05-16 Andrew Cagney <cagney@redhat.com> |
7429 | ||
7430 | * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES. | |
7431 | * gdbarch.h, gdbarch.c: Re-generate. | |
7432 | * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference. | |
7433 | * TODO (REGISTER_BYTES): Delete reference. | |
7434 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
7435 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7436 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
7437 | * vax-tdep.c (vax_gdbarch_init): Update. | |
7438 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7439 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7440 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7441 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7442 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7443 | * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. | |
7444 | (ns32k_gdbarch_init_32382): Update. | |
7445 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7446 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7447 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
7448 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7449 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7450 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7451 | * i386-linux-tdep.c (i386_linux_init_abi): Update. | |
7452 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
7453 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7454 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7455 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7456 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7457 | * arm-tdep.c (arm_gdbarch_init): Update. | |
7458 | * sparc-tdep.c (sparc_pop_frame): Update. | |
7459 | * rs6000-tdep.c (rs6000_pop_frame): Update. | |
7460 | * remote.c (init_remote_state): Update. | |
7461 | (remote_prepare_to_store): Update. | |
7462 | * remote-vx.c (vx_prepare_to_store): Update. | |
7463 | * remote-sds.c (sds_fetch_registers): Update. | |
7464 | (sds_prepare_to_store): Update. | |
7465 | * remote-array.c: Update. | |
7466 | * regcache.c (init_legacy_regcache_descr): Update. | |
7467 | (init_regcache_descr): Update. | |
7468 | * mips-tdep.c (mips_eabi_extract_return_value): Update. | |
7469 | (mips_o64_extract_return_value): Update. | |
7470 | * irix5-nat.c (fetch_core_registers): Update. | |
7471 | * irix4-nat.c (fetch_core_registers): Update. | |
7472 | * i386-tdep.h: Update. | |
7473 | * hppa-tdep.c (pa_do_registers_info): Update. | |
7474 | (pa_do_strcat_registers_info): Update. | |
7475 | * cris-tdep.c (cris_register_bytes_ok): Update. | |
7476 | * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update. | |
7477 | * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update. | |
7478 | * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update. | |
7479 | * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update. | |
7480 | * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update. | |
7481 | * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update. | |
7482 | * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update. | |
7483 | * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update. | |
7484 | * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update. | |
7485 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update. | |
7486 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update. | |
7487 | * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update. | |
7488 | (REGISTER_BYTES_OK): Update. | |
7489 | * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update. | |
7490 | * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update. | |
7491 | ||
ee2842e2 ILT |
7492 | 2003-05-16 Ian Lance Taylor <ian@airs.com> |
7493 | ||
7494 | * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define. | |
7495 | (vax_print_insn, print_insn_arg): Remove static functions. | |
7496 | (vax_gdbarch_init): Call set_gdbarch_print_insn with | |
7497 | print_insn_vax from opcodes library. | |
7498 | (_initialize_vax_tdep): Don't set deprecated_tm_print_insn. | |
7499 | ||
973177d3 AC |
7500 | 2003-05-15 Andrew Cagney <cagney@redhat.com> |
7501 | ||
aaab4dba AC |
7502 | * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration. |
7503 | * target.h (memory_breakpoint_from_pc): Delete declaration. | |
7504 | * mem-break.c (memory_breakpoint_from_pc): Delete function. | |
7505 | * arch-utils.c (legacy_breakpoint_from_pc): Delete function. | |
7506 | * monitor.c (monitor_insert_breakpoint): Use | |
7507 | gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc. | |
7508 | * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default. | |
7509 | * gdbarch.h, gdbarch.c: Re-generate. | |
7510 | * sparc-tdep.c (sparc_breakpoint_from_pc): New function. | |
7511 | (sparc_gdbarch_init): Set breakpoint_from_pc to | |
7512 | sparc_breakpoint_from_pc. | |
7513 | * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro. | |
7514 | (BREAKPOINT_FROM_PC): Define. | |
7515 | (sparc_breakpoint_from_pc): Declare. | |
7516 | * hppa-tdep.c (hppa_breakpoint_from_pc): New function. | |
7517 | * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare. | |
7518 | (BREAKPOINT_FROM_PC): Define. | |
7519 | (BREAKPOINT): Delete macro. | |
7520 | * target.h: Update comment. | |
7521 | * s390-tdep.c (s390_gdbarch_init): Update comments. | |
7522 | * remote.c: Update comments. | |
7523 | * remote-mips.c: Update comments. | |
7524 | * proc-api.c (write_with_trace): Do not check for a breakpoint. | |
7525 | * mem-break.c: Update comment. | |
7526 | * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT. | |
7527 | (ia64_memory_insert_breakpoint): Update. | |
7528 | * config/sparc/tm-sparc.h: Update comment. | |
7529 | * config/pa/tm-hppa64.h: Update comment. | |
7530 | * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
7531 | (rs6000_breakpoint_from_pc): Update. | |
7532 | * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
7533 | (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro. | |
7534 | (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro. | |
7535 | (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro. | |
7536 | (mips_breakpoint_from_pc): Update. | |
7537 | (mips_dump_tdep): Update. | |
7538 | ||
e06963ff AC |
7539 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro. |
7540 | * minsyms.c (lookup_minimal_symbol): Inline | |
7541 | DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp. | |
7542 | ||
973177d3 AC |
7543 | * c-lang.c (c_printstr): Delete "extern inspect_it" declaration. |
7544 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
7545 | * p-lang.c (pascal_printstr): Ditto. | |
7546 | * objc-lang.c (objc_printstr): Ditto. | |
7547 | * m2-lang.c (m2_printstr): Ditto. | |
7548 | * jv-valprint.c (java_print_value_fields): Ditto. | |
7549 | * f-lang.c (f_printstr): Ditto. | |
7550 | * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h". | |
7551 | * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and | |
7552 | for repeat_count_threshold. | |
7553 | * Makefile.in (cp-valprint.o): Update dependencies. | |
7554 | ||
5ea2bd7f | 7555 | 2003-05-15 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b | 7556 | |
5ea2bd7f JJ |
7557 | * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. |
7558 | (examine_prologue): Support looking through leaf functions, knowing | |
8ffd9b1b AJ |
7559 | they start with mov r2,r12. Support skipping over indirect stores |
7560 | of the input registers. Upon hitting a non-nop branch instruction | |
7561 | or predicated instruction, bail out by setting lim_pc to the current | |
7562 | pc value in the loop. At the end, if the lim_pc value is still | |
5ea2bd7f JJ |
7563 | beyond our calculated value and we have trust_limit set, |
7564 | use the lim_pc value. | |
7565 | ||
cc8c88f3 AC |
7566 | 2003-05-15 Andrew Cagney <cagney@redhat.com> |
7567 | ||
7568 | * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename | |
7569 | generic_find_dummy_frame. | |
7570 | * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update. | |
7571 | (deprecated_generic_find_dummy_frame): Update. | |
7572 | (deprecated_read_register_dummy): Update. | |
7573 | * frame.c (deprecated_generic_get_saved_register): Update. | |
7574 | ||
909cd28e TR |
7575 | 2003-05-15 Theodore A. Roth <troth@openavr.org> |
7576 | ||
7577 | * avr-tdep.c (avr_breakpoint_from_pc): New function. | |
7578 | (avr_gdbarch_init): Set breakpoint_from_pc method. | |
7579 | ||
b923b08d AC |
7580 | 2003-05-15 Andrew Cagney <cagney@redhat.com> |
7581 | ||
7582 | * regcache.c (build_regcache): Set deprecated_register_valid | |
7583 | directly. | |
7584 | (deprecated_grub_regcache_for_register_valid): Delete function. | |
7585 | * regcache.h (deprecated_grub_regcache_for_register_valid): Delete | |
7586 | declaration. | |
7587 | ||
ae2f03ac | 7588 | 2003-05-15 David Carlton <carlton@bactrian.org> |
8ffd9b1b AJ |
7589 | |
7590 | Committed by Elena Zannoni <ezannoni@redhat.com> | |
fbe586ae RH |
7591 | * symtab.c (lookup_symbol_aux): Delete calls to |
7592 | lookup_symbol_aux_minsyms. | |
7593 | (lookup_symbol_aux_minsyms): Comment out function and | |
7594 | prototype. Delete lookup by mangled name. | |
ae2f03ac | 7595 | |
18ec9831 KB |
7596 | 2003-05-14 Kevin Buettner <kevinb@redhat.com> |
7597 | ||
7598 | * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to | |
7599 | correctly indicate an empty stack and ``stack_allocated'' to the | |
7600 | indicate the number of elements initially allocated. | |
7601 | (dwarf_expr_grow_stack): Simplify method for computing new | |
7602 | stack size. Don't loop infinitely if ``stack_len'' is zero. | |
7603 | (execute_stack_op): Move ``ctx->in_reg'' initialization | |
7604 | out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to | |
7605 | be used in conjuction with DW_OP_piece. Revise error message | |
7606 | accordingly. | |
7607 | ||
de18ac1f TR |
7608 | 2003-05-14 Theodore A. Roth <troth@openavr.org> |
7609 | ||
7610 | * MAINTAINERS: Update my email address. | |
7611 | * avr-tdep.c: Ditto. | |
7612 | ||
176620f1 EZ |
7613 | 2003-05-14 Elena Zannoni <ezannoni@redhat.com> |
7614 | ||
7615 | * symtab.h (enum domain_enum): Rename from namespace_enum. | |
7616 | (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN, | |
7617 | VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN): | |
7618 | Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE, | |
7619 | LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE, | |
7620 | TYPES_NAMESPACE, METHODS_NAMESPACE. | |
7621 | (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN. | |
7622 | (struct symbol, struct partial_symbol): Rename field | |
7623 | 'namespace_enum namespace' to 'domain_enum domain'. | |
7624 | (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN. | |
7625 | Delete old define kludge for namespace. | |
7626 | ||
7627 | * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c, | |
7628 | blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c, | |
7629 | dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h, | |
7630 | gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c, | |
7631 | language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c, | |
7632 | mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c, | |
7633 | p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c, | |
7634 | stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c, | |
7635 | valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all | |
7636 | occurrences of the above. | |
7637 | ||
b7f31508 ILT |
7638 | 2003-05-14 Ian Lance Taylor <ian@airs.com> |
7639 | ||
7640 | * Makefile.in (install-only): Use $(SHELL) when running | |
7641 | mkinstalldirs. | |
7642 | ||
2fdbdd39 ILT |
7643 | 2003-05-13 Ian Lance Taylor <ian@airs.com> |
7644 | ||
a208d82c ILT |
7645 | * MAINTAINERS (write after approval): Add myself. |
7646 | ||
2fdbdd39 ILT |
7647 | * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap |
7648 | second and third arguments. | |
7649 | * ser-tcp.c (_initialize_ser_tcp): Likewise. | |
7650 | * ser-unix.c (_initialize_ser_hardwire): Likewise. | |
7651 | ||
fbd9dcd3 AC |
7652 | 2003-05-13 Andrew Cagney <cagney@redhat.com> |
7653 | ||
7654 | * defs.h (store_address): Delete declaration. | |
7655 | findvar.c (store_address): Delete function. | |
7656 | * arm-tdep.c (arm_push_dummy_call): Replace store_address with | |
7657 | store_unsigned_integer. | |
7658 | * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto. | |
7659 | * v850-tdep.c (v850_push_arguments): Ditto. | |
7660 | * sparc-tdep.c (sparc_get_saved_register): Ditto. | |
7661 | * sh-tdep.c (sh64_get_saved_register): Ditto. | |
7662 | * rs6000-tdep.c (rs6000_push_arguments): Ditto. | |
7663 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto. | |
7664 | * mips-tdep.c (mips_eabi_push_arguments): Ditto. | |
7665 | (mips_get_saved_register): Ditto. | |
7666 | * ia64-tdep.c (ia64_get_saved_register): Ditto. | |
7667 | (find_func_descr, ia64_push_arguments): Ditto. | |
7668 | * i386-tdep.c (i386_push_arguments): Ditto. | |
7669 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
7670 | * frv-tdep.c (frv_push_arguments): Ditto. | |
7671 | * frame.c (legacy_saved_regs_prev_register): Ditto. | |
7672 | (deprecated_generic_get_saved_register): Ditto. | |
7673 | * findvar.c (unsigned_address_to_pointer): Ditto. | |
7674 | * dwarf2read.c (dwarf2_const_value): Ditto. | |
7675 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
7676 | * alpha-tdep.c (alpha_push_arguments): Ditto. | |
7677 | ||
6760f9e6 JB |
7678 | 2003-05-12 J. Brobecker <brobecker@gnat.com> |
7679 | ||
7680 | * NEWS: Mention that the hppa-hpux port has been partially | |
7681 | multiarched (32bit ABIT only, so far). | |
7682 | ||
30e221b4 AC |
7683 | 2003-05-11 Andrew Cagney <cagney@redhat.com> |
7684 | ||
7685 | * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol. | |
7686 | * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h, | |
7687 | include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms, | |
7688 | sim/testsuite/sim/arm/misaligned2.ms, and | |
7689 | sim/testsuite/sim/arm/misaligned3.ms. | |
7690 | * disasm.h (struct ui_file): Add opaque struct declaration. | |
7691 | * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto. | |
7692 | * frame.h (struct ui_file): Ditto. | |
7693 | ||
dea7f9ba MK |
7694 | 2003-05-11 Mark Kettenis <kettenis@gnu.org> |
7695 | ||
7696 | * value.h: Pretty print. | |
7697 | ||
01986c48 MK |
7698 | 2003-05-10 Mark Kettenis <kettenis@gnu.org> |
7699 | ||
7700 | * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define. | |
7701 | ||
123a958e AC |
7702 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
7703 | ||
7704 | * regcache.h (max_register_size): Delete declaration. | |
7705 | * regcache.c (max_register_size): Delete function. | |
7706 | (struct regcache_descr): Delete field "max_register_size". | |
7707 | (init_regcache_descr, init_legacy_regcache_descr): Assert that all | |
7708 | registers fit in MAX_REGISTER_SIZE. | |
7709 | (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE. | |
7710 | (regcache_restore, regcache_xfer_part, regcache_dump): Ditto. | |
7711 | * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE. | |
7712 | * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto. | |
7713 | * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto. | |
7714 | * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto. | |
7715 | * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto. | |
7716 | * dve3900-rom.c, hppa-tdep.c: Ditto. | |
7717 | ||
eb294659 DC |
7718 | 2003-05-08 David Carlton <carlton@math.stanford.edu> |
7719 | ||
7720 | * valops.c (push_word): Fix typo. | |
7721 | ||
d9d9c31f AC |
7722 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
7723 | ||
7724 | * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. | |
7725 | * gdbarch.h: Re-generate. | |
7726 | * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. | |
7727 | (legacy_max_register_raw_size): Delete declaration. | |
7728 | * regcache.c (legacy_max_register_raw_size): Delete function. | |
7729 | * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. | |
7730 | * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto. | |
7731 | * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto. | |
7732 | * remote-rdp.c, remote-array.c, regcache.c: Ditto. | |
7733 | * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto. | |
7734 | * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto. | |
7735 | * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto. | |
7736 | * findvar.c, dwarf2cfi.c: Ditto. | |
7737 | ||
22540ece AC |
7738 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
7739 | ||
7740 | * mips-tdep.c (read_signed_register): New function, moved to here | |
7741 | from "regcache.c". | |
7742 | (read_signed_register_pid): Ditto. | |
7743 | * regcache.c (read_signed_register_pid): Delete function, moved to | |
7744 | "mips-tdep.c". | |
7745 | (read_signed_register): Ditto. | |
7746 | * regcache.h (read_signed_register): Delete declaration. | |
7747 | (read_signed_register_pid): Delete declaration. | |
7748 | ||
0c92afe8 AC |
7749 | 2003-05-08 Andrew Cagney <cagney@redhat.com> |
7750 | ||
7751 | * gdbarch.sh: Add comments on MAX_REGISTER_SIZE. | |
7752 | * gdbarch.h: Re-generate. | |
7753 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. | |
7754 | (legacy_max_register_virtual_size): Delete declaration. | |
7755 | * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. | |
7756 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
7757 | * tracepoint.c (memrange_sortmerge): Ditto. | |
7758 | * sparc-tdep.c (sparc_print_registers): Ditto. | |
7759 | * regcache.c (legacy_max_register_virtual_size): Delete function. | |
7760 | ||
6037b830 JB |
7761 | 2002-05-08 J. Brobecker <brobecker@gnat.com> |
7762 | ||
7763 | * fork-child.c (escape_bang_in_quoted_argument): New function. | |
7764 | (fork_inferior): Escape '!' characters in quoted arguments | |
7765 | only when needed. | |
7766 | ||
5d62c8b1 JB |
7767 | 2003-05-08 J. Brobecker <brobecker@gnat.com> |
7768 | ||
7769 | * dwarf2read.c (set_cu_language): Set the language to "minimal" if | |
7770 | the language of the CU is not currently supported by GDB. | |
7771 | ||
20a0e81d JB |
7772 | 2003-05-08 J. Brobecker <brobecker@gnat.com> |
7773 | ||
7774 | * defs.h (language): Add language_minimal enum value. | |
7775 | * c-lang.c (minimal_language_defn): New language definition. | |
7776 | (_initialize_c_language): Add the new minimal language to the list | |
7777 | of languages known to GDB. | |
7778 | ||
710ee10a KB |
7779 | 2003-05-08 Kevin Buettner <kevinb@redhat.com> |
7780 | ||
7781 | * frame.c (get_frame_type): Don't attempt to lazily initialize | |
7782 | frame's unwinder for legacy frames. | |
7783 | ||
1750fa04 AC |
7784 | 2003-05-07 Andrew Cagney <cagney@redhat.com> |
7785 | ||
7786 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" | |
7787 | and "regcache" parameters. | |
7788 | * avr-tdep.c (avr_remote_translate_xfer_address): Ditto. | |
7789 | ||
ddf9f258 | 7790 | 2003-05-07 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b AJ |
7791 | |
7792 | * dwarf2read.c (dwarf_decode_lines): Only use output of | |
7793 | check_cu_functions() when calling record_line(). Do not update | |
ddf9f258 JJ |
7794 | the current address. |
7795 | ||
87767c29 AC |
7796 | 2003-05-07 Andrew Cagney <cagney@redhat.com> |
7797 | ||
7798 | * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR | |
7799 | code. | |
7800 | ||
5e7b2f39 JB |
7801 | 2003-05-07 Jim Blandy <jimb@redhat.com> |
7802 | ||
7803 | Rename commands 'maint list symtabs' and 'maint list psymtabs' to | |
7804 | 'maint info symtabs' and 'maint info psymtabs'. | |
7805 | * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): | |
7806 | Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. | |
7807 | * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): | |
7808 | Declarations updated. | |
7809 | * maint.c (maintenance_list_command): Delete. | |
7810 | (_initialize_maint_cmds): Update calls to add_cmd. | |
7811 | * gdbcmd.h (maintenancelistlist): Delete declaration. | |
7812 | * cli/cli-cmds.c (maintenancelistlist): Delete. | |
7813 | (init_cmd_lists): Don't initialize it. | |
7814 | * cli/cli-cmds.h (maintenancelistlist): Delete declaration. | |
7815 | ||
f6684c31 AC |
7816 | 2003-05-07 Andrew Cagney <cagney@redhat.com> |
7817 | ||
7818 | * d10v-tdep.c (remote_d10v_translate_xfer_address): Add | |
7819 | "regcache". | |
7820 | (d10v_print_registers_info): Update. | |
7821 | (d10v_dmap_register, d10v_imap_register): Delete functions. | |
7822 | (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" | |
7823 | and "imap_register". | |
7824 | (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". | |
7825 | (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". | |
7826 | * arch-utils.c (generic_remote_translate_xfer_address): Add | |
7827 | "regcache" and "gdbarch" parameters. | |
7828 | * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" | |
7829 | parameter. Change class to multi-arch. | |
7830 | * gdbarch.h, gdbarch.c: Re-generate. | |
7831 | * remote.c (remote_xfer_memory): Use | |
7832 | gdbarch_remote_translate_xfer_address. | |
8ffd9b1b | 7833 | |
e4846b08 JJ |
7834 | 2003-05-07 Jeff Johnston <jjohnstn@redhat.com> |
7835 | ||
7836 | * infrun.c (prev_pc): Move declaration ahead of proceed(). | |
7837 | (proceed): Refresh prev_pc value before resuming. | |
7838 | (stop_stepping): Remove code to refresh prev_pc. | |
7839 | ||
6b71b8ac KW |
7840 | 2003-05-06 Kris Warkentin <kewarken@qnx.com> |
7841 | ||
7842 | * nto-tdep.c: Removed stray comment. | |
7843 | ||
47979a4b KW |
7844 | 2003-05-06 Kris Warkentin <kewarken@qnx.com> |
7845 | ||
7846 | * i386-nto-tdep.c: Fix old K&R function definitions. | |
7847 | * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h. | |
7848 | Also change add_show_from_set() call to add_setshow_cmd(). | |
7849 | * nto-tdep.h: Remove PARAMS and grep ^func ARI hits. | |
7850 | ||
00905d52 AC |
7851 | 2003-05-05 Andrew Cagney <cagney@redhat.com> |
7852 | ||
7853 | * dummy-frame.c: Include "command.h" and "gdbcmd.h". | |
7854 | (fprint_dummy_frames): New function. | |
7855 | (maintenance_print_dummy_frames): New function. | |
7856 | (_initialize_dummy_frame): Add command "maint print dummy-frames". | |
7857 | * frame.c (fprint_frame_id): Make global. | |
7858 | * frame.h (fprint_frame_id): Declare. | |
7859 | * Makefile.in (dummy-frame.o): Update dependencies. | |
7860 | ||
b1e29e33 AC |
7861 | 2003-05-05 Andrew Cagney <cagney@redhat.com> |
7862 | ||
7863 | * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. | |
7864 | (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename | |
7865 | SIZEOF_CALL_DUMMY_WORDS. | |
7866 | (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. | |
7867 | (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. | |
7868 | (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename | |
7869 | CALL_DUMMY_BREAKPOINT_OFFSET. | |
7870 | (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename | |
7871 | CALL_DUMMY_START_OFFSET. | |
7872 | (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. | |
7873 | * gdbarch.h, gdbarch.c: Re-generate. | |
7874 | * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. | |
7875 | * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. | |
7876 | * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. | |
7877 | * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. | |
7878 | * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. | |
7879 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. | |
7880 | * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
7881 | * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. | |
7882 | * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. | |
7883 | * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
7884 | * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. | |
7885 | * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. | |
7886 | * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. | |
7887 | * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. | |
7888 | * config/sparc/tm-sparc.h: Update. | |
daea6f0b KW |
7889 | |
7890 | 2003-05-05 Kris Warkentin <kewarken@qnx.com> | |
7891 | ||
7892 | * configure.tgt: Add i[3456]86-*-nto*. | |
7893 | * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino. | |
7894 | * nto-tdep.c: New file. Neutrino target support routines. | |
7895 | * nto-tdep.h: New file. Neutrino target header. | |
7896 | * config/tm-qnxnto.h: New file. | |
7897 | * config/i386/i386nto.mt: New file. | |
7898 | * config/i386/tm-i386nto.h: New file. | |
8ffd9b1b | 7899 | |
0ce3d317 AC |
7900 | 2003-05-04 Andrew Cagney <cagney@redhat.com> |
7901 | ||
7902 | * gdbthread.h (save_infrun_state): Drop prev_func_name parameter. | |
7903 | (load_infrun_state): Ditto. | |
7904 | (struct thread_info): Drop "prev_func_name" field. | |
7905 | * thread.c (load_infrun_state): Update. | |
7906 | (save_infrun_state): Update. | |
7907 | * infrun.c (prev_func_name): Delete variable. | |
7908 | (init_wait_for_inferior): Do not clear prev_func_name. | |
7909 | (stop_stepping, keep_going, context_switch): Do not swap | |
7910 | prev_func_name. | |
7911 | (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp | |
7912 | instead of PC_IN_SIGTRAMP. | |
7913 | ||
46654a5b AC |
7914 | 2003-05-04 Andrew Cagney <cagney@redhat.com> |
7915 | ||
7916 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
7917 | REGISTER_BYTE with register_offset_hack. | |
7918 | * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check | |
7919 | that REGISTER_BYTE is consistent with the regcache. | |
7920 | * gdbarch.sh (REGISTER_BYTE): Add a predicate. | |
7921 | * gdbarch.h, gdbarch.c: Regenerate. | |
8ffd9b1b | 7922 | |
14b08c1b MK |
7923 | 2003-05-04 Mark Kettenis <kettenis@gnu.org> |
7924 | ||
04c8243f MK |
7925 | * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15. |
7926 | (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15. | |
7927 | ||
14b08c1b MK |
7928 | * i386-linux-nat.c (supply_gregset): Remove unnecessary casts. |
7929 | ||
c7a11e01 JB |
7930 | 2003-05-03 J. Brobecker <brobecker@gnat.com> |
7931 | ||
7932 | From Thierry Schneider <tpschneider1@yahoo.com> | |
7933 | * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o. | |
7934 | (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c. | |
7935 | (mi-cmd-symbol.o): Add rule. | |
7936 | ||
7043d8dc AC |
7937 | 2003-05-03 Andrew Cagney <cagney@redhat.com> |
7938 | ||
7939 | * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add | |
7940 | comments noteing that it replaces the old FIX_CALL_DUMMY code. | |
7941 | * gdbarch.h, gdbarch.c: Re-generate. | |
7942 | * d10v-tdep.c (d10v_push_dummy_code): New function. | |
7943 | (d10v_gdbarch_init): Set push_dummy_code. | |
7944 | * infcall.c (legacy_push_dummy_code): New function. | |
7945 | (generic_push_dummy_code): New function. | |
7946 | (push_dummy_code): New function. | |
7947 | (call_function_by_hand): Call push_dummy_code. Pass bp_addr, | |
7948 | instead of dummy_addr, to push_dummy_call. Move call to | |
7949 | generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION | |
7950 | switch. | |
7951 | * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code. | |
7952 | ||
92bf2b80 AC |
7953 | 2003-05-03 Andrew Cagney <cagney@redhat.com> |
7954 | ||
7955 | * disasm.h (print_insn): Declare. | |
7956 | * disasm.c (init_gdb_disassemble_info): New function. | |
7957 | (gdb_disassembly): Call init_gdb_disassemble_info. | |
7958 | (gdb_print_insn): New function. | |
7959 | * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead | |
7960 | of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog". | |
7961 | * mcore-tdep.c: Include "disasm.h" | |
7962 | (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN. | |
7963 | * d10v-tdep.c: Include "disasm.h". | |
7964 | (display_trace): Call gdb_print_insn, instead of print_insn. | |
7965 | (print_insn): Delete function. | |
7966 | * printcmd.c: Include "disasm.h". | |
7967 | (print_insn): Delete function. | |
7968 | (print_formatted): Call gdb_print_insn, instead of print_insn. | |
7969 | * Makefile.in (printcmd.o): Update dependencies. | |
7970 | (mcore-tdep.o, d10v-tdep.o): Ditto. | |
8ffd9b1b | 7971 | |
27d94c49 AC |
7972 | 2003-05-02 Andrew Cagney <cagney@redhat.com> |
7973 | ||
82de1e5b AC |
7974 | * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef |
7975 | PC_REGNUM, re-indent. | |
7976 | * stack.c (frame_info): Use "pc" for the name of get_frame_pc when | |
7977 | PC_REGNUM isn't set. | |
7978 | ||
27d94c49 AC |
7979 | * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional. |
7980 | * gdbarch.h, gdbarch.c: Re-generate. | |
7981 | * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size, | |
7982 | register_virtual_size, pc_regnum, or register_bytes. | |
7983 | (D10V_PC_REGNUM): Rename _PC_REGNUM. | |
7984 | (d10v_register_type): Use D10V_PC_REGNUM. | |
7985 | (d10v_print_registers_info, d10v_read_pc): Ditto. | |
7986 | (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto. | |
7987 | (d10v_unwind_pc, d10v_frame_prev_register): Ditto. | |
7988 | ||
a9c0dc7f DC |
7989 | 2003-05-02 David Carlton <carlton@bactrian.org> |
7990 | ||
7991 | * objfiles.c (allocate_objfile): For anonymous objfiles, allocate | |
7992 | the name with mstrsave. | |
7993 | ||
e33d66ec EZ |
7994 | 2003-05-02 Elena Zannoni <ezannoni@redhat.com> |
7995 | ||
7996 | * charset.c (GDB_DEFAULT_TARGET_CHARSET, | |
7997 | GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. | |
7998 | (host_charset_name, target_charset_name): New vars for use by | |
7999 | set/show commands. | |
8000 | (host_charset_enum, target_charset_enum): New enums for set/show | |
8001 | commands. | |
8002 | (set_charset_sfunc, set_host_charset_sfunc, | |
8003 | set_target_charset_sfunc): New functions. | |
8004 | (set_host_charset, set_target_charset): Make static. | |
8005 | (list_charsets, set_host_charset_command, | |
8006 | set_target_charset_command): Delete functions. | |
8007 | (show_charset_command): Rewrite as.... | |
8008 | (show_charset): Hook this up with the set/show command mechanism. | |
8009 | (_initialize_charset): Change names of charsets to match the | |
8010 | set/show enums. Use host_charset_name and target_charset_name. | |
8011 | Use set/show mechanism for charset, host-charset, target-charset | |
8012 | commands. Do not make 'show host-charset' and 'show | |
8013 | target-charset' be aliases of 'show charset'. | |
8014 | ||
8015 | * charset.h (set_host_charset, set_target_charset): Don't export, | |
8016 | they are not used outside the file. | |
8017 | ||
2b6fd0d8 AC |
8018 | 2003-05-01 Andrew Cagney <cagney@redhat.com> |
8019 | ||
8020 | * disasm.c (gdb_disassemble_from_exec): Delete global variable. | |
8021 | (gdb_disassembly): Make "di" non static, always initialize and | |
8022 | cleanup. Always use dis_asm_read_memory. | |
8023 | (gdb_dis_asm_read_memory): Delete function. | |
8024 | ||
6ae2f580 AC |
8025 | 2003-05-01 Andrew Cagney <cagney@redhat.com> |
8026 | ||
8027 | * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align. | |
8028 | (d10v_gdbarch_init): Set frame_align instead of stack_align. | |
8029 | ||
810ecf9f AC |
8030 | 2003-04-30 Andrew Cagney <cagney@redhat.com> |
8031 | ||
8032 | * gdbarch.sh (deprecated_tm_print_insn_info): Rename | |
8033 | "tm_print_insn_info". | |
8034 | (TARGET_PRINT_INSN_INFO): Delete macro. | |
8035 | (dis_asm_read_memory): Delete function declaration. | |
8036 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
8037 | (tm_print_insn_info): Delete variable definition. | |
8038 | (_initialize_gdbarch): Do not initialize "tm_print_insn_info". | |
8039 | * gdbarch.h, gdbarch.c: Re-generate. | |
8040 | * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with | |
8041 | "deprecated_tm_print_insn_info". | |
8042 | * mcore-tdep.c (mcore_dump_insn): Ditto. | |
8043 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8044 | * sparc-tdep.c (_initialize_sparc_tdep): Ditto. | |
8045 | * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto. | |
8046 | * ia64-tdep.c (_initialize_ia64_tdep): Ditto. | |
8047 | * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info" | |
8048 | instead of TARGET_PRINT_INSN_INFO, add comment. | |
8049 | * s390-tdep.c (s390_get_frame_info): Instead of | |
8050 | "dis_asm_read_memory", use "deprecated_tm_print_insn_info". | |
8051 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
8052 | * corefile.c (dis_asm_read_memory): Move to "disasm.c". | |
8053 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
8054 | * disasm.c: Include "gdbcore.h". | |
8055 | (_initialize_disasm): New function, initialize | |
8056 | "deprecated_tm_print_insn_info". | |
8057 | (deprecated_tm_print_insn_info): New variable. | |
8058 | (dis_asm_read_memory): Moved from "corefile.c", made static. | |
8059 | (dis_asm_print_address, dis_asm_memory_error): Ditto. | |
8060 | * Makefile.in (disasm.o): Update dependencies. | |
8061 | ||
07020390 AC |
8062 | 2003-04-30 Andrew Cagney <cagney@redhat.com> |
8063 | ||
8064 | * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. | |
8065 | ||
a9fa03de AF |
8066 | 2003-04-29 Adam Fedor <fedor@gnu.org> |
8067 | ||
8068 | * eval.c (evaluate_subexp_standard): Handle ObjC ops. | |
8069 | * infcall.c (find_function_addr): Make non-static. | |
8070 | * infcall.h (find_function_addr): Declare. | |
8071 | * Makefile.in (eval.o): Update dependencies. | |
8072 | ||
1bae87b9 AF |
8073 | 2003-04-28 Adam Fedor <fedor@gnu.org> |
8074 | ||
8075 | * symtab.c (symbol_find_demangled_name): Check for and demangle | |
8076 | ObjC symbols. | |
8077 | (symbol_init_demangled_name): Init for language_objc as well. | |
8078 | ||
0ba6dca9 AC |
8079 | 2003-04-28 Andrew Cagney <cagney@redhat.com> |
8080 | ||
8081 | * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. | |
8082 | (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. | |
8083 | * gdbarch.h, gdbarch.c: Re-generate. | |
8084 | * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, | |
8085 | DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. | |
8086 | * inferior.h (deprecated_read_fp): Rename read_fp. | |
8087 | (generic_target_read_fp): Delete declaration. | |
8088 | * regcache.c (generic_target_read_fp): Delete function. | |
8089 | (deprecated_read_fp): Replace read_fp, use | |
8090 | DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. | |
8091 | * d10v-tdep.c (d10v_read_fp): Delete function. | |
8092 | (d10v_gdbarch_init): Do not set deprecated_read_fp. | |
8093 | ||
8094 | * sparc-tdep.c (sparc_gdbarch_init): Do not set | |
8095 | deprecated_target_read_fp to generic_target_read_fp. | |
8096 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8097 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8098 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8099 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8100 | ||
8101 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set | |
8102 | deprecated_fp_regnum. | |
8103 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
8104 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8105 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8106 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8107 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8108 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8109 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8110 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8111 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8112 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8113 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8114 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8115 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8116 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
8117 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8118 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8119 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8120 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8121 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8122 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
8123 | ||
8124 | * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. | |
8125 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8126 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8127 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8128 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8129 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8130 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8131 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8132 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8133 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8134 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
8135 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8136 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8137 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8138 | ||
8139 | * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with | |
8140 | DEPRECATED_FP_REGNUM. | |
8141 | (vax_push_dummy_frame, vax_pop_frame): Ditto. | |
8142 | * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. | |
8143 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
8144 | (sparc_push_dummy_frame, sparc64_read_fp): Ditto. | |
8145 | (sparc32_register_virtual_type): Ditto. | |
8146 | * sh-tdep.c (sh64_frame_chain): Ditto. | |
8147 | (sh64_get_saved_register, sh64_pop_frame): Ditto. | |
8148 | (sh_nofp_frame_init_saved_regs): Ditto. | |
8149 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
8150 | (sh_fp_frame_init_saved_regs): Ditto. | |
8151 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
8152 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
8153 | * procfs.c (procfs_fetch_registers): Ditto. | |
8154 | (procfs_store_registers): Ditto. | |
8155 | * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. | |
8156 | (store_inferior_registers, fetch_core_registers): Ditto. | |
8157 | (fetch_kcore_registers, clear_regs): Ditto. | |
8158 | * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. | |
8159 | (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. | |
8160 | * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. | |
8161 | * nlm/i386.c (do_status): Ditto. | |
8162 | * mipsv4-nat.c (supply_gregset): Ditto. | |
8163 | * mips-tdep.c: Ditto for comments. | |
8164 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
8165 | (store_inferior_registers, fetch_core_registers): Ditto. | |
8166 | * m68k-tdep.c (m68k_push_dummy_frame): Ditto. | |
8167 | (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. | |
8168 | * i386-tdep.c (i386_frame_init_saved_regs): Ditto. | |
8169 | (i386_do_pop_frame, i386_register_type): Ditto. | |
8170 | * hppa-tdep.c (hppa_frame_chain): Ditto. | |
8171 | (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. | |
8172 | (hppa_pop_frame, hppa_read_fp): Ditto. | |
8173 | (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. | |
8174 | * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. | |
8175 | * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. | |
8176 | * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. | |
8177 | * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. | |
8178 | * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. | |
8179 | * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. | |
8180 | * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. | |
8181 | * blockframe.c: Ditto for comments. | |
8182 | * arch-utils.h: Ditto for comments. | |
8183 | * arch-utils.c (legacy_virtual_frame_pointer): Ditto. | |
8184 | * alphanbsd-tdep.c (fetch_core_registers): Ditto. | |
8185 | * alphabsd-nat.c (fetch_inferior_registers): Ditto. | |
8186 | * alpha-tdep.h: Ditto for comments. | |
8187 | * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. | |
8188 | (alpha_cannot_store_register): Ditto. | |
8189 | (alpha_push_dummy_frame): Ditto. | |
8190 | * alpha-nat.c (supply_gregset): Ditto. | |
8191 | ||
8192 | * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. | |
8193 | * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. | |
8194 | * config/sparc/tm-sparc.h: Update comment. | |
8195 | ||
8196 | * hppa-tdep.c (hppa_init_extra_frame_info): Use | |
8197 | deprecated_read_fp instead of TARGET_READ_FP. | |
8198 | (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. | |
8199 | (hppa_push_dummy_frame, hppa_read_fp): Ditto. | |
8200 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
8201 | deprecated_read_fp instead of read_fp. | |
8202 | * s390-tdep.c (s390_push_arguments): Ditto. | |
8203 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8204 | * frame.h: Ditto in comments. | |
8205 | * frame.c (legacy_get_prev_frame): Ditto. | |
8206 | * dummy-frame.c (dummy_frame_this_id): Ditto. | |
8207 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
8208 | ||
d7a27068 AC |
8209 | 2003-04-28 Andrew Cagney <cagney@redhat.com> |
8210 | ||
8211 | * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn. | |
8212 | * gdbarch.h, gdbarch.c: Re-generate. | |
8213 | * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update. | |
8214 | * vax-tdep.c (_initialize_vax_tdep): Update. | |
8215 | * v850-tdep.c (_initialize_v850_tdep): Update. | |
8216 | * sparc-tdep.c (_initialize_sparc_tdep): Update. | |
8217 | * s390-tdep.c (_initialize_s390_tdep): Update. | |
8218 | * ns32k-tdep.c (_initialize_ns32k_tdep): Update. | |
8219 | * mn10300-tdep.c (_initialize_mn10300_tdep): Update. | |
8220 | * mips-tdep.c (_initialize_mips_tdep): Update. | |
8221 | * mcore-tdep.c (_initialize_mcore_tdep): Update. | |
8222 | * m68k-tdep.c (_initialize_m68k_tdep): Update. | |
8223 | * ia64-tdep.c (_initialize_ia64_tdep): Update. | |
8224 | * hppa-tdep.c (_initialize_hppa_tdep): Update. | |
8225 | * h8300-tdep.c (_initialize_h8300_tdep): Update. | |
8226 | * frv-tdep.c (_initialize_frv_tdep): Update. | |
8227 | * cris-tdep.c (cris_delayed_get_disassembler): Update. | |
8228 | (_initialize_cris_tdep): Update. | |
8229 | * arch-utils.c (legacy_print_insn): Update. | |
8230 | * alpha-tdep.c (_initialize_alpha_tdep): Update. | |
8231 | ||
d2630e69 AF |
8232 | 2003-04-26 Adam Fedor <fedor@gnu.org> |
8233 | ||
8234 | * linespec.c (decode_objc): New function to decode ObjC calls | |
8235 | (decode_line_1): Check for ObjC calls (using decode_objc) | |
8236 | * Makefile (linespec.o): Update dependencies. | |
8237 | ||
3086aeae DJ |
8238 | 2003-04-26 Daniel Jacobowitz <drow@mvista.com> |
8239 | ||
8240 | * breakpoint.h (struct breakpoint_ops): New. | |
8241 | (struct breakpoint): Add ops member. | |
8242 | ||
8243 | * breakpoint.c (print_bp_stop_message, print_one_breakpoint) | |
8244 | (mention): Use new breakpoint ops member. | |
8245 | (set_raw_breakpoint): Initialize ops field to NULL. | |
8246 | (print_exception_catchpoint, print_one_exception_catchpoint) | |
8247 | (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New. | |
8248 | (gnu_v3_exception_catchpoint_ops): New. | |
8249 | (catch_exception_command_1): Call handle_gnu_v3_exceptions. | |
8250 | ||
1fbec6c3 AF |
8251 | 2003-04-25 Adam Fedor <fedor@gnu.org> |
8252 | ||
8253 | * Makefile.in (COMMON_OBS): Add objc-lang.o | |
8254 | ||
0ef21242 AC |
8255 | 2003-04-25 Andrew Cagney <cagney@redhat.com> |
8256 | ||
8257 | * d10v-tdep.c (print_insn): Delete function. | |
8258 | (display_trace): Use TARGET_PRINT_INSN. | |
8259 | (_initialize_d10v_tdep): Do not set tm_print_insn. | |
8260 | (d10v_gdbarch_init): Set print_insn. | |
8261 | ||
f75493ed AC |
8262 | 2003-04-25 Andrew Cagney <cagney@redhat.com> |
8263 | ||
8264 | * d10v-tdep.c (d10v_extract_return_value): Delete call to printf. | |
8265 | (_initialize_d10v_tdep): Use add_setshow_boolean_cmd. | |
8266 | (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC. | |
8267 | (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ... | |
8268 | (nr_dmap_regs, a0_regnum): ... new functions. | |
8269 | (d10v_print_registers_info): Use a0_regnum, use register_size. | |
8270 | (d10v_register_byte): Delete function. | |
8271 | (d10v_register_raw_size): Delete function. | |
8272 | (d10v_register_type): Use a0_regnum. | |
8273 | (d10v_print_registers_info): Use a0_regnum. | |
8274 | (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM. | |
8275 | (d10v_gdbarch_init): Do not set register_byte or | |
8276 | register_raw_size, use D10V_SP_REGNUM to set sp_regnum. | |
8277 | (d10v_pointer_to_address): Use extract_unsigned_integer instead of | |
8278 | extract_address. | |
8279 | (trace_command): Use XCALLOC. | |
8280 | (print_insn): Delete reference to tm_print_insn. | |
8281 | (saved_regs_unwinder): Use store_unsigned_integer instead of | |
8282 | store_address. | |
8283 | * frame.h (FRAME_OBSTACK_CALLOC): Define | |
8284 | ||
2202b100 DC |
8285 | 2003-04-25 David Carlton <carlton@bactrian.org> |
8286 | ||
8287 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp. | |
8288 | ||
4e45ca2e AF |
8289 | 2003-04-24 Adam Fedor <fedor@gnu.org> |
8290 | ||
8291 | * objc-lang.c: Include "valprint.h" | |
8292 | * Makefile.in (objc-lang.o): Update dependencies. | |
8293 | ||
93de3e7f AF |
8294 | 2003-04-24 Adam Fedor <fedor@gnu.org> |
8295 | ||
8ffd9b1b | 8296 | * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove |
93de3e7f AF |
8297 | architecture dependant compilation and mark as unimplemented |
8298 | (until they get put in the gdbarch vector). | |
8299 | ||
0f20eeea DC |
8300 | 2003-04-23 David Carlton <carlton@bactrian.org> |
8301 | ||
8302 | * cp-support.c (cp_find_first_component): Accept 'operator' in | |
8303 | more locations. | |
8304 | ||
74cfe982 AC |
8305 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
8306 | ||
8307 | * infcall.c (call_function_by_hand): Eliminate redundant | |
8308 | indentation. Move "saved_async" and "old_cleanups" to where they | |
8309 | are needed. | |
8ffd9b1b | 8310 | |
52557533 AC |
8311 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
8312 | ||
8313 | * infcall.c (call_function_by_hand): Eliminate the variables "rc" | |
8314 | and "buffer". Move the "name" code to where it is needed. | |
8315 | ||
158775de AC |
8316 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
8317 | ||
8318 | * infcall.c (call_function_by_hand): Move variables "start_sp", | |
8319 | "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call | |
8320 | code to ON_STACK switch branch. | |
8ffd9b1b | 8321 | |
ebc7896c AC |
8322 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
8323 | ||
8324 | * infcall.c (call_function_by_hand): Make declaration of "i", | |
8325 | "sal", "bpt" and "old_sp" more local to their use. Delete #if | |
8326 | lint. | |
8327 | ||
d727590f AC |
8328 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
8329 | ||
8330 | * infcall.c (call_function_by_hand): Delete variable | |
8331 | "n_method_args". Localize "param_type"'s declaration to the loop | |
8332 | that it is used. Reinstate code assigning to said variable - | |
8333 | deleted on 2002-06-14. Rationalize calls to value_args_coerce. | |
8334 | Rationalize code using "param_type". | |
8335 | ||
d585e13a AC |
8336 | 2003-04-22 Andrew Cagney <cagney@redhat.com> |
8337 | ||
8338 | * infcall.c (call_function_by_hand): Use new variable "bp_addr" to | |
8339 | compute the breakpoint address. Only call FIX_CALL_DUMMY when | |
8340 | ON_STACK. Eliminate the variable "addr". Do not pass "real_pc" | |
8341 | to DEPRECATED_PUSH_RETURN_ADDRESS. | |
8342 | ||
051caad9 KB |
8343 | 2003-04-22 Kevin Buettner <kevinb@redhat.com> |
8344 | ||
8345 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM | |
8346 | on the DWARF2 register number prior to fetching a register. | |
8347 | ||
77296879 JB |
8348 | 2003-04-22 J. Brobecker <brobecker@gnat.com> |
8349 | ||
8350 | * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro. | |
8351 | Update all the tests using SOFT_FLOAT considering the fact that | |
8ffd9b1b | 8352 | this macro was always set to 0. |
77296879 JB |
8353 | * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT |
8354 | considering the fact that this macro was always set to 0. | |
8355 | * hppa-tdep.h (hppa_store_return_value): Likewise. | |
8356 | (hppa_extract_return_value): Likewise. | |
8357 | ||
4252f1df JB |
8358 | 2003-04-22 J. Brobecker <brobecker@gnat.com> |
8359 | ||
8360 | * config/pa/tm-hppa.h: Remove obsolete code, was used by | |
8361 | the hppa-pro target only. | |
8362 | ||
14604c6b JB |
8363 | 2003-04-21 J. Brobecker <brobecker@gnat.com> |
8364 | ||
8365 | Ongoing multi-arch conversion effort for HP/UX: | |
8366 | * config/pa/tm-hppa.h: Move all macro that are no longer | |
8367 | defined now that GDB_MULTI_ARCH is now set to 1 from here... | |
8368 | * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet). | |
8369 | ||
77eb01d1 JB |
8370 | 2003-04-21 J. Brobecker <brobecker@gnat.com> |
8371 | ||
8372 | * config/pa/tm-hppa.h: Obsolete a section that was only used | |
8373 | for hppa-pro. | |
8374 | ||
61995b3b JB |
8375 | 2003-04-21 J. Brobecker <brobecker@gnat.com> |
8376 | ||
8377 | Ongoing multi-arch conversion for HP/UX. | |
8378 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define | |
8379 | if already defined (allows hppa64 to stay non-multiarched for now). | |
8380 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define. | |
8381 | ||
4aa79dcc AC |
8382 | 2003-04-21 Andrew Cagney <cagney@redhat.com> |
8383 | ||
8384 | * frame.c (frame_id_eq): Fail when the code_addr's do not match. | |
8385 | ||
0f751ff2 AC |
8386 | 2003-04-21 Andrew Cagney <cagney@redhat.com> |
8387 | ||
8388 | * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with | |
8389 | "i386_num_mmx_regs". | |
8390 | ||
04714b91 AC |
8391 | 2003-04-21 Andrew Cagney <cagney@redhat.com> |
8392 | ||
8393 | * infcall.c: New file. | |
8394 | * infcall.h: New file. | |
8395 | * valarith.c: Include "infcall.h". | |
8396 | * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto. | |
8397 | * eval.c, ada-valprint.c, ada-lang.c: Ditto. | |
8398 | * Makefile.in (valarith.o, scm-lang.o): Update dependencies. | |
8399 | (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies. | |
8400 | (eval.o, ada-valprint.o, ada-lang.o): Update dependencies. | |
8401 | (SFILES): Add "infcall.c" | |
8402 | (COMMON_OBS): Add "infcall.o". | |
8403 | (infcall.o): Specify dependencies. | |
8404 | * value.h (call_function_by_hand): Delete declaration. | |
8405 | * inferior.h (run_stack_dummy): Delete declaration. | |
8406 | * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c". | |
8407 | (run_stack_dummy): Move to "infcall.c", merged into | |
8408 | call_function_by_hand. | |
8409 | * valops.c (call_function_by_hand): Moved to "infcall.c". | |
8410 | (find_function_addr, value_arg_coerce): Ditto. | |
8411 | (unwindonsignal_p, coerce_float_to_double): Ditto. | |
8412 | (_initialize_valops): Move "set/show coerce-float-to-double", and | |
8413 | "set/show unwindonsignal" commands to "infcall.c". | |
8414 | * v850-tdep.c, target.h: Update comments. | |
8415 | * sparc-tdep.c (sparc_fix_call_dummy): Update comments. | |
8416 | * sh-tdep.c (sh_init_extra_frame_info): Update comments. | |
8417 | (sh64_init_extra_frame_info): Update comments. | |
8418 | * mn10300-tdep.c: Update comments. | |
8419 | * mcore-tdep.c (mcore_init_extra_frame_info): Update comments. | |
8420 | * config/sparc/tm-sparc.h: Update comments. | |
8421 | * breakpoint.h: Update comments. | |
8422 | * avr-tdep.c (avr_init_extra_frame_info): Update comments. | |
8423 | * arm-tdep.c: Update comment. | |
8424 | ||
f9d3c2a8 MK |
8425 | 2003-04-19 Mark Kettenis <kettenis@gnu.org> |
8426 | ||
c40e1eab MK |
8427 | * i386-tdep.c (i386_num_register_names): New variable. |
8428 | (i386_num_mmx_regs): Renamed from mmx_num_regs. | |
8429 | (MM0_REGNUM): Remove redundant parentheses in define. | |
8430 | (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs. | |
8431 | (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, | |
8432 | i386_mxcsr_regnum_p): Remove redundant parentheses. | |
8433 | (i386_register_name): Use i386_num_register_names. | |
8ffd9b1b | 8434 | |
94ea66b3 MK |
8435 | * i386-tdep.c (i386_extract_return_value, |
8436 | i386_store_return_value): Correct check for availability of | |
8437 | floating-point registers. | |
8438 | ||
54299a1d MK |
8439 | * i386-tdep.c (i386_frame_num_args): Remove function. |
8440 | (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown. | |
8441 | ||
c86c27af MK |
8442 | * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from |
8443 | mmx_regnum_to_fp_regnum. Adjust all callers. | |
8444 | ||
f9d3c2a8 MK |
8445 | * i386-tdep.c (i386_get_longjmp_target): Use |
8446 | TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT | |
8447 | and TARGET_CHAR_BIT. Use extract_typed_address instead of | |
8448 | extract_address. | |
8449 | ||
94ba74a9 MK |
8450 | 2003-04-19 Mark Kettenis <kettenis@gnu.org> |
8451 | ||
8452 | * core-regset.c: Update comments to reflect reality. Re-order | |
8453 | includes. | |
8454 | (fetch_core_registers): Use switch instead of if. Remove | |
8455 | redundant prototype. | |
8456 | ||
4074e13c JB |
8457 | 2003-04-18 Jim Blandy <jimb@redhat.com> |
8458 | ||
8459 | * s390-tdep.c (s390_frame_align): New function. | |
fbe586ae | 8460 | (s390_gdbarch_init): Register it with the gdbarch object. |
4074e13c | 8461 | |
e3ab4aba RH |
8462 | 2003-04-17 Richard Henderson <rth@redhat.com> |
8463 | ||
8464 | * remote.c (minitelnet): Don't redeclare escape_count, echo_check. | |
8465 | ||
627bf7c1 EZ |
8466 | 2003-04-17 Michael Snyder <msnyder@redhat.com> |
8467 | Karen Bennet <bennet@redhat.com> | |
8468 | ||
8469 | Committed by Elena Zannoni <ezannoni@redhat.com> | |
8470 | * gdb_gcore.sh: New script to create a core dump of a process. | |
8ffd9b1b | 8471 | |
514621a9 EZ |
8472 | 2003-04-17 Elena Zannoni <ezannoni@redhat.com> |
8473 | ||
8474 | * values.c (value_being_returned): Don't fetch the return | |
fbe586ae | 8475 | value if the return type is void. |
514621a9 | 8476 | |
b4acd559 JJ |
8477 | 2003-04-17 Jeff Johnston <jjohnstn@redhat.com> |
8478 | ||
8479 | * thread-db.c: Reindented. | |
8ffd9b1b | 8480 | |
530b167e | 8481 | 2003-04-17 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b AJ |
8482 | |
8483 | * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, | |
8484 | td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t | |
530b167e JJ |
8485 | as types. |
8486 | ||
0a48e7e8 MS |
8487 | |
8488 | ||
8489 | ||
8490 | ||
8491 | ||
8492 | ||
8493 | ||
8494 | ||
8495 | ||
8496 | ||
8497 | ||
8498 | ||
8499 | ||
8500 | ||
8501 | ||
8502 | ||
8503 | ||
8504 | ||
8505 | ||
8506 | ||
8507 | ||
8508 | ||
8509 | ||
8ffd9b1b | 8510 | |
ab9fe00e KB |
8511 | 2003-04-16 Kevin Buettner <kevinb@redhat.com> |
8512 | ||
610a3745 | 8513 | * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set |
ab9fe00e KB |
8514 | the size of ``long double'' to 16, instead of 8. |
8515 | ||
e64a344c MK |
8516 | 2003-04-16 Mark Kettenis <kettenis@gnu.org> |
8517 | ||
8518 | * i386-linux-nat.c: Add some whitespace to make things more | |
8519 | readable. | |
8520 | (fetch_register, store_register, fetch_inferior_registers, | |
8521 | store_inferior_registers): Get rid of assignment in if-statement. | |
8522 | (store_register): Fix typo in error message. | |
8523 | ||
25d41031 AC |
8524 | 2003-04-16 Andrew Cagney <cagney@redhat.com> |
8525 | ||
8526 | * utils.c (xmmalloc): Always allocate something, matches | |
8527 | libiberty/xmalloc's semantics. | |
8528 | (xmrealloc, xmcalloc): Ditto. | |
8529 | ||
c50901fd AC |
8530 | 2003-04-16 Andrew Cagney <cagney@redhat.com> |
8531 | ||
8532 | * frame.c (get_prev_frame): Do not initialize "unwind" or "type", | |
8533 | update comments. | |
8534 | (get_frame_type): Initialize unwind and type when needed. | |
8535 | (get_frame_id, frame_register_unwind): Ditto. | |
8536 | ||
f81824a9 AC |
8537 | 2003-04-16 Andrew Cagney <cagney@redhat.com> |
8538 | ||
8539 | * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made | |
8540 | obsolete. | |
8541 | * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. | |
8542 | * sparcl-stub.c: Obsolete file. | |
8543 | * config/sparc/tm-sparclet.h: Obsolete file. | |
8544 | * sparclet-stub.c: Obsolete file. | |
8545 | * sparclet-rom.c: Obsolete file. | |
8546 | * sparcl-tdep.c: Obsolete file. | |
8547 | * config/sparc/tm-sparclite.h: Obsolete file. | |
8548 | * config/sparc/sparclite.mt: Obsolete file. | |
8549 | * config/sparc/sparclet.mt: Obsolete file. | |
8550 | * configure.tgt: Make sparclet-*-*, sparclite-*-*, and | |
8551 | sparc86x-*-* obsolete. | |
8552 | ||
9219021c DC |
8553 | 2003-04-15 David Carlton <carlton@math.stanford.edu> |
8554 | ||
8555 | * Makefile.in (SFILES): Add cp-namespace.c. | |
8556 | (COMMON_OBS): Add cp-namespace.o. | |
8557 | (block.o): Depend on gdb_obstack_h and cp_support_h. | |
8558 | (buildsym.o): Depend on cp_support_h. | |
8559 | (cp-namespace.o): New. | |
8560 | (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h, | |
8561 | gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h. | |
8562 | (dwarf2read.o): Depend on cp_support_h. | |
8563 | * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE. | |
8564 | * dwarf2read.c (process_die): Set processing_has_namespace_info, | |
8565 | processing_current_namespace. | |
8566 | (read_namespace): Update processing_current_namespace; check for | |
8567 | anonymous namespaces. | |
8568 | (dwarf2_name): New function. | |
8569 | (dwarf2_extension): Ditto. | |
8570 | * cp-support.h: Update copyright, contributors. | |
8571 | Add inclusion guards. | |
8572 | Add opaque declaration for structs obstack, block, symbol. | |
8573 | (struct using_direct): New struct. | |
8574 | Add declarations for cp_find_first_component, | |
8575 | cp_entire_prefix_len, processing_has_namespace_info, | |
8576 | processing_current_namespace, cp_is_anonymous, | |
8577 | cp_add_using_directive, cp_initialize_namespace, | |
8578 | cp_finalize_namespace, cp_set_block_scope, | |
8579 | cp_scan_for_anonymous_namespaces. | |
8580 | * cp-namespace.c: New file. | |
8581 | * cp-support.c: Update copyright. | |
8582 | Include ctype.h, gdb_assert.h, gdbcmd.h. | |
8583 | New variable maint_cplus_cmd_list. | |
8584 | (cp_find_first_component): New function. | |
8585 | (cp_entire_prefix_len, maint_cplus_command) | |
8586 | (first_component_command, _initialize_cp_support): Ditto. | |
8587 | * buildsym.c: Include cp-support.h. | |
8588 | New variable using_list. | |
8589 | (add_symbol_to_list): Check for anonymous namespaces. | |
8590 | (finish_block): Set block's scope. | |
8591 | (start_symtab): Initialize C++ namespace support. | |
8592 | (end_symtab): Finalize C++ namespace support. | |
8593 | * block.h: Add opaque declarations for structs | |
8594 | block_namespace_info, using_direct, and obstack. | |
8595 | Add declarations for block_set_scope and block_set_using. | |
8596 | (struct block): Add 'language_specific' member. | |
8597 | (BLOCK_NAMESPACE): New macro. | |
8598 | * block.c: Include gdb_obstack.h and cp-support.h. | |
8599 | (struct block_namespace_info): New struct. | |
8600 | (block_set_scope): New function. | |
8601 | (block_set_using, block_initialize_namespace): Ditto. | |
8602 | ||
d5a921c9 KB |
8603 | 2003-04-14 Kevin Buettner <kevinb@redhat.com> |
8604 | ||
8605 | * solib-svr4.c (svr4_have_link_map_offsets): New function. | |
8606 | (locate_base): Return early if there aren't any link map offsets. | |
8607 | (svr4_solib_create_inferior_hook): Warn if shared library support | |
8608 | is unavailable. | |
8609 | ||
d2a52b27 DC |
8610 | 2003-04-14 David Carlton <carlton@math.stanford.edu> |
8611 | ||
8612 | * symtab.c (symbol_set_names): Add prefix when storing Java names | |
8613 | in hash table. Fix for PR java/1039. | |
8614 | ||
980cae7a DC |
8615 | 2003-04-14 David Carlton <carlton@math.stanford.edu> |
8616 | ||
8617 | * symtab.c (symbol_set_names): Rename 'name' arg to | |
8618 | 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'. | |
8619 | * symtab.h: Change 'name' argument in declaration of | |
8620 | symbol_set_names to 'linkage_name'. | |
8621 | (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'. | |
8622 | ||
e227b13c AC |
8623 | 2003-04-14 Andrew Cagney <cagney@redhat.com> |
8624 | ||
8625 | * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE, | |
8626 | return the fully sign-extended register value. | |
8627 | (get_frame_pointer): Ditto. | |
8628 | (mips_pop_frame): Initialize "proc_desc" after checking for a | |
8629 | dummy frame. | |
8630 | ||
36712a20 AC |
8631 | 2003-04-14 Andrew Cagney <cagney@redhat.com> |
8632 | ||
8633 | * mips-tdep.c (mips_push_dummy_frame): Delete function. | |
8634 | (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros. | |
8635 | (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro. | |
8636 | (mips_push_register): Delete function. | |
8637 | (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and | |
8638 | PUSH_FP_REGNUM. | |
8639 | ||
44ea7b70 JB |
8640 | 2003-04-14 Jim Blandy <jimb@redhat.com> |
8641 | ||
8642 | * symmisc.c: #include "gdb_regex.h". | |
8643 | (maintenance_list_symtabs, maintenance_list_psymtabs): New | |
8644 | functions. | |
8645 | * maint.c (maintenance_list_command): New function. | |
8646 | (_initialize_maint_cmds): Register the above as commands. | |
8647 | * symtab.h (maintenance_list_symtabs, | |
8648 | maintenance_list_psymtabs): New declarations. | |
8649 | * cli/cli-cmds.c (maintenancelistlist): New variable. | |
8650 | (init_cmd_lists): Initialize it. | |
8651 | * cli/cli-cmds.h (maintenancelistlist): New declaration. | |
8652 | * gdbcmd.h (maintenancelistlist): New declaration. | |
8653 | * Makefile.in (symmisc.o): Update dependencies. | |
8654 | ||
2d0c7962 EZ |
8655 | 2003-04-14 Elena Zannoni <ezannoni@redhat.com> |
8656 | ||
8657 | * s390-nat.c: Include asm/types.h for addr_t. | |
8658 | ||
1947a811 CV |
8659 | 2003-04-14 Corinna Vinschen <vinschen@redhat.com> |
8660 | ||
8661 | * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with | |
8662 | actually incoming type. | |
8663 | ||
adb616d7 AC |
8664 | 2003-04-13 Andrew Cagney <cagney@redhat.com> |
8665 | ||
8666 | * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc, | |
8667 | get_next_frame and get_frame_saved_regs. | |
8668 | ||
9b5e151c AC |
8669 | 2003-04-13 Andrew Cagney <cagney@redhat.com> |
8670 | ||
8671 | * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead | |
8672 | of gdbarch_num_regs. | |
8673 | ||
ef6e7e13 AC |
8674 | 2003-04-13 Andrew Cagney <cagney@redhat.com> |
8675 | ||
8676 | * frame.h: Mention what replaced what in "struct frame_info". | |
8677 | * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and | |
8678 | deprecated_update_frame_base_hack and | |
8679 | deprecated_update_frame_pc_hack. | |
8680 | * hppa-tdep.c: Ditto. | |
8681 | ||
61fbb938 DJ |
8682 | 2003-04-13 Daniel Jacobowitz <drow@mvista.com> |
8683 | ||
8684 | * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments | |
8685 | to read_reg and update its comment. Remove regnum member. | |
8686 | * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval. | |
8687 | Don't call read_reg when setting in_reg. Call read_reg to get | |
8688 | the frame base if it's in a register. Return the register number | |
8689 | on the stack instead of in the context. Remove extra arguments | |
8690 | to read_reg. | |
8691 | * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments. | |
8692 | (dwarf2_evaluate_loc_desc): Call value_from_register. Expect | |
8693 | the register number on the expression stack. | |
8694 | (needs_frame_read_reg): Remove extra arguments. | |
8695 | ||
0d53c4c4 DJ |
8696 | 2003-04-13 Daniel Jacobowitz <drow@mvista.com> |
8697 | ||
8698 | * dwarf2expr.c (dwarf2_read_address): Renamed from read_address; | |
8699 | made non-static. | |
8700 | (execute_stack_op): All callers updated. | |
8701 | * dwarf2expr.h: Add prototype for dwarf2_read_address. | |
8702 | * dwarf2loc.c (find_location_expression): New function. | |
8703 | (dwarf_expr_frame_base): Call it. | |
8704 | (dwarf2_evaluate_loc_desc): Handle 0-length location expressions. | |
8705 | (dwarf2_tracepoint_var_ref): New function, broken out from | |
8706 | locexpr_tracepoint_var_ref. | |
8707 | (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref. | |
8708 | Make static. | |
8709 | (loclist_read_variable, loclist_read_needs_frame): New functions. | |
8710 | (loclist_describe_location, loclist_tracepoint_var_ref): New | |
8711 | functions. | |
8712 | (dwarf2_loclist_funcs): New struct location_funcs. | |
8713 | * dwarf2loc.h (struct dwarf2_loclist_baton): New type. | |
8714 | (struct dwarf2_locexpr_baton): Add comments. | |
8715 | (dwarf2_loclist_funcs): New extern. | |
8716 | * dwarf2read.c (struct comp_unit_head): Remove DIE member, add | |
8717 | base_address and base_known. | |
8718 | (dwarf_loc_buffer): New variable. | |
8719 | (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size. | |
8720 | (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros. | |
8721 | (dwarf2_has_info): Initialize dwarf_loc_offset. | |
8722 | (dwarf2_build_psymtabs): Read in .debug_loc. | |
8723 | (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and | |
8724 | DWARF_LOC_SIZE. | |
8725 | (psymtab_to_symtab_1): Likewise. Move base address calculation | |
8726 | here, from... | |
8727 | (dwarf2_get_pc_bounds): ... here. Use the base address from | |
8728 | cu_header. | |
8729 | (dwarf2_symbol_mark_computed): Handle location lists. | |
8730 | ||
6aca59a3 DJ |
8731 | 2003-04-13 Daniel Jacobowitz <drow@mvista.com> |
8732 | ||
8733 | * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode | |
8734 | if the linkage name demangled successfully. | |
8735 | ||
aca1fcd0 MK |
8736 | 2003-04-13 Mark Kettenis <kettenis@gnu.org> |
8737 | ||
97095916 MK |
8738 | * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours, |
8739 | disassmbly_flavour): Removed. | |
8740 | ||
aca1fcd0 MK |
8741 | * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. |
8742 | ||
562a961f MK |
8743 | 2003-04-13 Mark Kettenis <kettenis@gnu.org> |
8744 | ||
8745 | * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed. | |
8746 | ||
bd013d54 AC |
8747 | 2003-04-12 Andrew Cagney <cagney@redhat.com> |
8748 | ||
8749 | * frame.h (struct frame_info): Move definition from here ... | |
8750 | * frame.c (struct frame_info): ... to here. | |
8751 | ||
167ef8b1 AC |
8752 | 2003-04-12 Andrew Cagney <cagney@redhat.com> |
8753 | ||
8754 | * gdbthread.h (save_infrun_state): Delete parameter | |
8755 | "prev_func_start". | |
8756 | (struct thread_info): Delete field "prev_func_start". | |
8757 | (load_infrun_state): Ditto. | |
8758 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
8759 | * infrun.c (prev_func_start): Delete variable. | |
8760 | (context_switch, init_wait_for_inferior): Update. | |
8761 | (stop_stepping, keep_going): Update. | |
8762 | ||
da3331ec AC |
8763 | 2003-04-12 Andrew Cagney <cagney@redhat.com> |
8764 | ||
8765 | * gdbarch.sh: Add missing opaque declarations. | |
8766 | * gdbarch.h: Regnerate. | |
8767 | * symtab.h: Add missing opaque declarations. | |
8768 | * value.h, target.h, symfile.h, stabsread.h: Ditto. | |
8769 | * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. | |
8770 | * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. | |
8771 | * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. | |
8772 | * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. | |
8773 | * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. | |
8774 | * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. | |
8775 | * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. | |
8776 | * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. | |
8777 | * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. | |
8778 | * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. | |
8779 | * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. | |
8780 | * cli/cli-setshow.h, cli/cli-script.h: Ditto. | |
8781 | ||
18adea3f AC |
8782 | 2003-04-11 Andrew Cagney <cagney@redhat.com> |
8783 | ||
8784 | * frame.c (get_frame_id): Return this frame's "id". | |
8785 | (legacy_get_prev_frame): Set prev's frame ID code_addr to the | |
8786 | function start. | |
8787 | (legacy_saved_regs_this_id): Replace function body with | |
8788 | internal-error. | |
8789 | (deprecated_frame_xmalloc): Mark the frame ID as valid, use | |
8790 | FRAME_OBSTACK_ZALLOC. | |
8791 | (create_new_frame): Mark the frame ID as valid. | |
8792 | ||
2252e863 AO |
8793 | 2003-04-11 Alexandre Oliva <aoliva@redhat.com> |
8794 | ||
8795 | * Makefile.in (libbfd_h): Added missing setting. | |
8796 | * mips-tdep.c (mips_gdbarch_init): Set disassembler_options | |
8797 | according to the selected ABI. | |
8798 | ||
a8245ab8 JJ |
8799 | 2003-04-11 Jeff Johnston <jjohnstn@redhat.com> |
8800 | ||
8801 | * gdb_indent.sh: Recognize pid_t and sigset_t as types. | |
8802 | ||
6913c89a AC |
8803 | 2003-04-11 Andrew Cagney <cagney@redhat.com> |
8804 | ||
8805 | * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate | |
8806 | SAVED_PC_AFTER_CALL. | |
8807 | * gdbarch.h, gdbarch.c: Regenerate. | |
8808 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8809 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8810 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8811 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8812 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8813 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8814 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8815 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8816 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8817 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8818 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8819 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8820 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8821 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8822 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8823 | (ia64_saved_pc_after_call): Update declaration. | |
8824 | * i386ly-tdep.c (i386lynx_init_abi): Update. | |
8825 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8826 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8827 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8828 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8829 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8830 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8831 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8832 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8833 | * ns32knbsd-nat.c (frame_num_args): Update. | |
8834 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
8835 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
8836 | * infrun.c (step_over_function): Update. | |
8837 | * i386-linux-tdep.c (skip_hurd_resolver): Update. | |
8838 | * i386-interix-tdep.c (i386_interix_back_one_frame): Update. | |
8839 | * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
8840 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8841 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8842 | * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
8843 | * arm-linux-tdep.c (skip_hurd_resolver): Update. | |
8844 | * arch-utils.c (init_frame_pc_default): Update. | |
8845 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
8846 | * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update | |
8847 | declaration. | |
8ffd9b1b | 8848 | |
38edeab8 AC |
8849 | 2003-04-11 Andrew Cagney <cagney@redhat.com> |
8850 | ||
8851 | * i387-tdep.c: Update copyright. | |
8852 | (i387_to_double): Delete function. | |
8853 | (double_to_i387): Delete function. | |
8854 | ||
81f8a206 AC |
8855 | 2003-04-10 Andrew Cagney <cagney@redhat.com> |
8856 | ||
8857 | * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the | |
8858 | frame's function's address. Simplify. | |
8859 | (d10v_frame_unwind_cache): Check that the frame's function is | |
8860 | non-zero. | |
8861 | ||
6e691f7a JB |
8862 | 2003-04-10 Jim Blandy <jimb@redhat.com> |
8863 | ||
8864 | * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted | |
8865 | call to set_gdbarch_deprecated_push_arguments. | |
8866 | ||
7f78e237 AC |
8867 | 2003-04-10 Andrew Cagney <cagney@redhat.com> |
8868 | ||
8869 | * frame.c (fprint_frame_id): New function. | |
8870 | (fprint_frame_type, fprint_frame): New function. | |
8871 | (frame_pc_unwind, frame_func_unwind): Add/update trace code. | |
8872 | (create_sentinel_frame, get_frame_id): Ditto. | |
8873 | (frame_id_p, frame_id_eq): Ditto. | |
8874 | (frame_id_inner, create_new_frame): Ditto. | |
8875 | (legacy_get_prev_frame, get_prev_frame): Ditto. | |
8876 | (deprecated_update_frame_pc_hack): Ditto. | |
8877 | (frame_register_unwind): Ditto. | |
8878 | (deprecated_update_frame_base_hack): Ditto. | |
8879 | ||
f870b49b CV |
8880 | 2003-04-10 Corinna Vinschen <vinschen@redhat.com> |
8881 | ||
8882 | * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function. | |
8883 | (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new | |
8884 | frame_chain function. | |
8885 | * Makefile.in: Add dependencies due to above change. | |
8886 | ||
7c86889b CV |
8887 | 2003-04-10 Corinna Vinschen <vinschen@redhat.com> |
8888 | ||
8889 | * blockframe.c (legacy_frame_chain_valid): Move call to | |
8890 | DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and | |
8891 | inside_entry_file. | |
8892 | ||
d0a55772 AC |
8893 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
8894 | ||
8895 | * frame.h (struct frame_id): Replace "pc" and "base" with | |
8896 | "stack_addr" and "code_addr". Update comments. | |
8897 | (frame_id_build): Update parameter names and comment. | |
8898 | (struct frame_info): Replace "id_p" and "id" with "this_id". | |
8899 | * dummy-frame.c (dummy_frame_this_id): Update. | |
8900 | * breakpoint.c (print_one_breakpoint): Update. | |
8901 | * frame.c (get_frame_id): Update. | |
8902 | (get_frame_base, frame_id_build): Update. | |
8903 | (create_sentinel_frame, legacy_get_prev_frame): Update. | |
8904 | (deprecated_update_frame_base_hack): Update. | |
8905 | (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. | |
8906 | (frame_id_inner): Ditto. | |
8907 | ||
ac16bf07 AC |
8908 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
8909 | ||
8910 | * defs.h (gdb_print_host_address): Make "addr" parameter a | |
8911 | pointer constant. | |
8912 | * utils.c (gdb_print_host_address): Update. | |
8913 | ||
366cfc9e KB |
8914 | 2003-04-09 Kevin Buettner <kevinb@redhat.com> |
8915 | ||
8916 | * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the | |
8917 | register number for R0 is 0. | |
8918 | ||
cd983b5c JB |
8919 | 2003-04-09 J. Brobecker <brobecker@gnat.com> |
8920 | ||
8921 | * frame.h (struct gdbarch): Add opaque structure definition | |
8922 | to avoid a compilation warning on LynxOS 4.0. | |
8923 | ||
d1340264 AC |
8924 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
8925 | ||
8926 | * frame.h (struct frame_info): Delete field "pc". Replace | |
8927 | "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc" | |
8928 | structure. | |
8929 | * frame.c (frame_pc_unwind): Update. | |
8930 | (create_sentinel_frame): Do not set "pc". | |
8931 | (get_prev_frame): Do not set "pc". Use frame_pc_unwind. | |
8932 | (get_frame_pc): Call frame_pc_unwind. | |
8933 | (deprecated_update_frame_pc_hack): Update. | |
8934 | (create_new_frame): Use "pc" not "->pc". | |
8935 | ||
90a6fffb AC |
8936 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
8937 | ||
8938 | * frame.c (get_frame_id): Eliminate code updating "frame". | |
8939 | (legacy_get_prev_frame): Ditto. | |
8940 | (get_frame_base): Return id.base directly. | |
8941 | (deprecated_update_frame_base_hack): Update "id.base". | |
8942 | * frame.h (struct frame_info): Delete field "frame". | |
8943 | ||
2fbce691 AC |
8944 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
8945 | ||
8946 | * NEWS: Mention that the "Sequent family" is obsolete. | |
8947 | * configure.tgt: Obsolete i[3456]86-sequent-bsd*, | |
8948 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
8949 | * configure.host: Obsolete i[3456]86-sequent-bsd*, | |
8950 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
8951 | * config/i386/tm-ptx4.h: Obsolete file. | |
8952 | * config/i386/tm-ptx.h: Obsolete file. | |
8953 | * symm-tdep.c: Obsolete file. | |
8954 | * config/i386/symmetry.mt: Obsolete file. | |
8955 | * config/i386/tm-symmetry.h: Obsolete file. | |
8956 | * symm-nat.c: Obsolete file. | |
8957 | * config/i386/nm-symmetry.h: Obsolete file. | |
8958 | * config/i386/xm-symmetry.h: Obsolete file. | |
8959 | * config/i386/symmetry.mh: Obsolete file. | |
8960 | * config/i386/nm-ptx4.h: Obsolete file. | |
8961 | * config/i386/ptx4.mh: Obsolete file. | |
8962 | * config/i386/ptx.mt: Obsolete file. | |
8963 | * config/i386/ptx.mh: Obsolete file. | |
8964 | * config/i386/xm-ptx4.h: Obsolete file. | |
8965 | * config/i386/xm-ptx.h: Obsolete file. | |
8966 | ||
78c43945 AC |
8967 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
8968 | ||
8969 | Obsolete mips*-*-mach3*. | |
8970 | * NEWS: Mention that mips*-*-mach3* is obsolete. | |
8971 | * m3-nat.c: Obsolete file. | |
8972 | * config/nm-m3.h: Obsolete file. | |
8973 | * config/mips/tm-mipsm3.h: Obsolete file. | |
8974 | * config/mips/mipsm3.mt: Obsolete file. | |
8975 | * config/mips/mipsm3.mh: Obsolete file. | |
8976 | * config/mips/xm-mipsm3.h: Obsolete file. | |
8977 | * mipsm3-nat.c: Obsolete file. | |
8978 | * configure.host: Obsolete mips-dec-mach3*. | |
8979 | * configure.tgt: Obsolete mips*-*-mach3*. | |
8980 | ||
f1908289 AC |
8981 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
8982 | ||
8983 | * doublest.h: Update copyright. | |
8984 | (deprecated_store_floating, deprecated_extract_floating): Rename | |
8985 | store_floating and extract_floating. Update comments. | |
8986 | * doublest.c: Update copyright. | |
8987 | (extract_floating_by_length): Replace extract_floating. | |
8988 | (store_floating_by_length): Replace store_floating. | |
8989 | (deprecated_extract_floating): New function. | |
8990 | (deprecated_store_floating): New function. | |
8991 | (extract_typed_floating): Call extract_floating_by_length. | |
8992 | (store_typed_floating): Call store_floating_by_length. | |
8993 | * x86-64-tdep.c (x86_64_store_return_value): Update. | |
8994 | * sh-tdep.c (sh3e_sh4_extract_return_value): Update. | |
8995 | (sh64_extract_return_value): Update. | |
8996 | (sh_sh4_register_convert_to_virtual): Update. | |
8997 | (sh_sh64_register_convert_to_virtual): Update. | |
8998 | (sh_sh4_register_convert_to_raw): Update. | |
8999 | (sh_sh64_register_convert_to_raw): Update. | |
9000 | * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. | |
9001 | (rs6000_register_convert_to_raw): Update. | |
9002 | * ia64-tdep.c (ia64_register_convert_to_virtual): Update. | |
9003 | (ia64_register_convert_to_raw): Update. | |
9004 | * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. | |
9005 | (REGISTER_CONVERT_TO_VIRTUAL): Update. | |
9006 | * arm-linux-tdep.c (arm_linux_push_arguments): Update. | |
9007 | * alpha-tdep.c (alpha_register_convert_to_virtual): Update. | |
9008 | (alpha_register_convert_to_raw): Update. | |
9009 | ||
4443bd83 AC |
9010 | 2003-04-08 Andrew Cagney <cagney@redhat.com> |
9011 | ||
9012 | * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. | |
9013 | * gdbarch.h, gdbarch.c: Re-generate. | |
9014 | * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. | |
9015 | (d10v_gdbarch_init): Do not set saved_pc_after_call. | |
9016 | * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P | |
9017 | conditionally, use frame_pc_unwind as an alternative. Add | |
9018 | comments. | |
9019 | * arch-utils.c (init_frame_pc_default): Only call | |
9020 | SAVED_PC_AFTER_CALL when available. | |
9021 | ||
c0236d92 EZ |
9022 | 2003-04-08 Elena Zannoni <ezannoni@redhat.com> |
9023 | ||
fbe586ae | 9024 | * infrun.c (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
9025 | (struct inferior_status): Rename stop_soon_quietly field to stop_soon. |
9026 | (clear_proceed_status): Rename stop_soon_quietly to stop_soon. | |
9027 | (start_remote): Ditto. | |
9028 | (handle_inferior_event): Ditto. | |
9029 | (save_inferior_status): Ditto. | |
9030 | (restore_inferior_status): Ditto. | |
9031 | * infcmd.c (attach_command): Ditto. | |
9032 | * fork-child.c (startup_inferior): Ditto. | |
fbe586ae | 9033 | * inferior.h (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
9034 | * alpha-tdep.c (heuristic_proc_start): Ditto. |
9035 | * mips-tdep.c (heuristic_proc_start): Ditto. | |
9036 | * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. | |
9037 | * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. | |
9038 | * solib-osf.c (osf_solib_create_inferior_hook): Ditto. | |
9039 | * solib-irix.c (irix_solib_create_inferior_hook): Ditto. | |
9040 | * remote-vx.c (vx_create_inferior): Ditto. | |
9041 | ||
9042 | 2003-04-08 Elena Zannoni <ezannoni@redhat.com> | |
9043 | ||
9044 | * infrun.c (stop_soon_quietly): Make it an enum, to better | |
9045 | override the default behavior of handle_inferior_event. | |
9046 | (clear_proceed_status): Update uses of stop_soon_quietly to | |
9047 | reflect that it is now an enum. | |
9048 | (start_remote): Ditto. | |
9049 | (handle_inferior_event): Change logic a bit if stop_soon_quietly | |
9050 | is set to handle the new GNU/Linux kernel behavior for | |
9051 | attach/sigstop. Update uses of stop_soon_quietly. | |
9052 | * inferior.h (enum stop_kind): New enum. | |
9053 | * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. | |
9054 | Reset normal handle_inferior_event behavior, afterwards. | |
9055 | * fork-child.c (startup_inferior): Update. | |
9056 | * alpha-tdep.c (heuristic_proc_start): Update. | |
9057 | * solib-svr4.c (svr4_solib_create_inferior_hook): Update. | |
9058 | * solib-sunos.c (sunos_solib_create_inferior_hook): Update. | |
9059 | * solib-osf.c (osf_solib_create_inferior_hook): Update. | |
9060 | * solib-irix.c (irix_solib_create_inferior_hook): Update. | |
9061 | * remote-vx.c (vx_create_inferior): Update. | |
9062 | * mips-tdep.c (heuristic_proc_start): Update. | |
9063 | ||
1211bce3 EZ |
9064 | 2003-04-07 Elena Zannoni <ezannoni@redhat.com> |
9065 | ||
9066 | * disasm.c (dump_insns): Move variables inside loop, or they will | |
fbe586ae | 9067 | be freed more than once, causing wild memory corruptions. |
1211bce3 | 9068 | (gdb_disassembly): Look for the substring "-thread", |
fbe586ae | 9069 | instead of "-threads" in the target name, to make sure to find |
8ffd9b1b | 9070 | the 'multi-thread' target. Also, make sure we do the right thing |
fbe586ae | 9071 | with the "core" target. |
1211bce3 | 9072 | |
f0ef6b29 KB |
9073 | 2003-04-07 Kevin Buettner <kevinb@redhat.com> |
9074 | ||
9075 | * mips-tdep.c (mips_print_fp_register): New function, created from | |
9076 | do_fp_register_row(). Registers are now (also) printed as hex. | |
9077 | Only one register is printed per row. | |
9078 | (mips_print_register, do_fp_register_row): Print floating point | |
9079 | registers with mips_print_fp_register(). | |
9080 | ||
8cf71652 AC |
9081 | 2003-04-06 Andrew Cagney <cagney@redhat.com> |
9082 | ||
5e488a7b AC |
9083 | * valprint.h (inspect_it): Add extern declaration. |
9084 | * objc-lang.c (value_nsstring): Avoid assignment inside of "if". | |
9085 | (selectors_info, classes_info): Ditto. | |
9086 | (find_objc_msgcall): Fix indentation. | |
9087 | (objc_printstr): Delete extern declarations. | |
9088 | ||
8cf71652 AC |
9089 | * arm-tdep.c (arm_frameless_function_invocation): Fix typo. |
9090 | ||
e6ba3bc9 AC |
9091 | 2003-04-06 Andrew Cagney <cagney@redhat.com> |
9092 | ||
9093 | * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid. | |
9094 | Update comment. | |
9095 | * frame.c (legacy_saved_regs_this_id): Update. | |
9096 | (legacy_get_prev_frame): Update. | |
9097 | * xstormy16-tdep.c: Update comment. | |
9098 | * sparc-tdep.c (sparc_frame_chain): Update comment. | |
9099 | * blockframe.c (legacy_frame_chain_valid): Update. | |
9100 | ||
55e1d7e7 AC |
9101 | 2003-04-06 Andrew Cagney <cagney@redhat.com> |
9102 | ||
996179ee AC |
9103 | * valprint.c (val_print_type_code_int): Delete #ifdef |
9104 | PRINT_TYPELESS_INTEGER code. | |
9105 | ||
55e1d7e7 AC |
9106 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES) |
9107 | (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial | |
9108 | multi-arch definition. | |
9109 | * gdbarch.h: Re-generate. | |
9110 | ||
43bd9a9e AC |
9111 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
9112 | ||
9113 | Eliminate FRAME_FIND_SAVED_REGS. | |
9114 | * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
9115 | Change FSR parameter to a pointer. | |
9116 | * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): | |
9117 | Assume FSR parameter is a pointer. | |
9118 | * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
9119 | Make fsr a pointer. | |
9120 | * hppa-tdep.c (hppa_frame_find_saved_regs): New function. | |
9121 | (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make | |
9122 | saved_regs a pointer. | |
9123 | (hppa_frame_saved_pc): Ditto. | |
9124 | (find_dummy_frame_regs): Make frame_saved_regs a pointer | |
9125 | (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a | |
9126 | pointer. | |
9127 | (restore_pc_queue): Make fsr a pointer. | |
9128 | (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer. | |
9129 | (hppa_frame_chain): Make saved_regs a pointer, call | |
9130 | hppa_frame_init_saved_regs. | |
9131 | * sparc-tdep.c: Include "gdb_assert.h". | |
9132 | (sparc_frame_find_saved_regs): Replace internal_error with | |
9133 | gdb_assert. | |
9134 | * remote-vxsparc.c (vx_read_register): Delete reference to | |
9135 | FRAME_FIND_SAVED_REGS. | |
9136 | * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS. | |
9137 | * gdbarch.h: Regenerate. | |
9138 | * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
9139 | (deprecated_get_frame_saved_regs): Delete declaration. | |
9140 | (struct frame_saved_regs): Delete definition. | |
9141 | * frame.c (deprecated_get_frame_saved_regs): Delete function. | |
9142 | * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare. | |
9143 | (hppa_frame_find_saved_regs): Delete declaration. | |
9144 | (FRAME_FIND_SAVED_REGS): Delete macro. | |
9145 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Define. | |
9146 | * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete | |
9147 | FRAME_FIND_SAVED_REGS in comment. | |
9148 | ||
be41e9f4 AC |
9149 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
9150 | ||
9151 | * frame.c (frame_func_unwind, get_frame_func): New functions. | |
9152 | * frame.h (get_frame_func, frame_func_unwind): Declare. | |
9153 | (struct frame_info): Add field "prev_func" for caching the | |
9154 | previous frame's function address. | |
9155 | * arm-tdep.c (arm_frameless_function_invocation): Combine | |
9156 | get_pc_function_start and get_frame_pc into get_frame_func. | |
9157 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
9158 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
9159 | * s390-tdep.c (s390_function_start): Ditto. | |
9160 | * rs6000-tdep.c (rs6000_pop_frame): Ditto. | |
9161 | (rs6000_frameless_function_invocation): Ditto. | |
9162 | (rs6000_frame_saved_pc): Ditto. | |
9163 | * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto. | |
9164 | * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto. | |
9165 | * i386-tdep.c (i386_frameless_signal_p): Ditto. | |
9166 | (i386_frame_init_saved_regs): Ditto. | |
9167 | * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto. | |
9168 | * d10v-tdep.c (d10v_frame_unwind_cache): Combine | |
9169 | get_pc_function_start and frame_pc_unwind into frame_func_unwind. | |
9170 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
9171 | * blockframe.c (frameless_look_for_prologue): Ditto. | |
9172 | ||
a01dd7cc AC |
9173 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
9174 | ||
9175 | * frame.c (legacy_get_prev_frame): Link prev to next at the | |
9176 | function start. Update comments. | |
9177 | ||
5e5592e6 AC |
9178 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
9179 | ||
9180 | * frame.c (get_frame_id): Update comment. | |
9181 | (legacy_get_prev_frame): Update comment. | |
9182 | * gdbarch.sh: Delete check for EXTRA_FRAME_INFO. | |
9183 | * gdbarch.h: Regenerate. | |
9184 | * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete. | |
9185 | * frame.h: Delete #ifdef EXTRA_FRAME_INFO code. | |
9186 | ||
6fba5002 AC |
9187 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
9188 | ||
9189 | * stack.c (print_frame_info): Use get_frame_pc. | |
9190 | ||
7df05f2b AC |
9191 | 2003-04-04 Andrew Cagney <cagney@redhat.com> |
9192 | ||
9193 | * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set | |
9194 | the frame's type from the unwinder. | |
9195 | (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME. | |
9196 | (create_new_frame, legacy_get_prev_frame): When the unwinder's | |
9197 | type isn't UNKNOWN_FRAME, initalize "type" from the unwinder. | |
9198 | (get_frame_base_address): Use get_frame_type. | |
9199 | (get_frame_locals_address, get_frame_args_address): Ditto. | |
9200 | (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE. | |
9201 | * frame.h (enum frame_type): Add UNKNOWN_FRAME. | |
9202 | (struct frame_info): Add comment explaining why the frame contains | |
9203 | a "type" field. | |
9204 | * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME. | |
9205 | * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME. | |
9206 | * sentinel-frame.c (sentinel_frame_unwinder): Set the type to | |
9207 | NORMAL_FRAME. | |
9208 | * frame-unwind.h: Include "frame.h". | |
9209 | (struct frame_unwind): Add "type" field. | |
9210 | * Makefile.in (frame_unwind_h): Add $(frame_h). | |
8ffd9b1b | 9211 | |
11889732 AC |
9212 | 2003-04-04 Andrew Cagney <cagney@redhat.com> |
9213 | ||
9214 | * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build. | |
9215 | * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. | |
9216 | * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and | |
9217 | get_frame_base. | |
9218 | (d10v_unwind_dummy_id): Use frame_id_build. | |
9219 | * frame.c (find_frame_sal): Use get_frame_pc. | |
9220 | (create_new_frame): Use deprecated_update_frame_pc_hack and | |
9221 | deprecated_update_frame_base_hack. | |
9222 | (create_sentinel_frame): Add comment about ->pc going away. | |
9223 | (get_prev_frame): Add comment about ->pc going away. | |
9224 | (legacy_get_prev_frame): Use get_frame_base, get_frame_pc, | |
9225 | frame_id_build, deprecated_update_frame_pc_hack and | |
9226 | deprecated_update_frame_base_hack. | |
9227 | (select_frame): Use get_frame_pc. | |
9228 | (legacy_saved_regs_this_id): Use frame_id_build. | |
9229 | ||
50c46a0d EZ |
9230 | 2003-04-04 Elena Zannoni <ezannoni@redhat.com> |
9231 | ||
fbe586ae RH |
9232 | * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the |
9233 | signed integer case. | |
9234 | (classify_argument): Handle enumerations and references. | |
50c46a0d | 9235 | |
50bbdbd9 AC |
9236 | 2003-04-04 Andrew Cagney <cagney@redhat.com> |
9237 | ||
9238 | * frame.c (create_sentinel_frame): Initialize the sentinel frame's | |
9239 | ID to NULL. | |
9240 | ||
36018d2e AF |
9241 | 2003-04-01 Adam Fedor <fedor@gnu.org> |
9242 | ||
9243 | * gdb/objc-lang.c (selectors_info): Replace calls to | |
9244 | SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with | |
9245 | SYMBOL_NATURAL_NAME. | |
9246 | (classes_info, find_methods): Likewise. | |
9247 | ||
35cec841 KB |
9248 | 2003-04-03 Kevin Buettner <kevinb@redhat.com> |
9249 | ||
9250 | * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set | |
9251 | ``mach'' to the value determined by bfd_default_set_arch_mach(). | |
9252 | ||
43136899 BR |
9253 | 2003-04-02 Bob Rossi <bob_rossi@cox.net> |
9254 | ||
9255 | * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o". | |
9256 | (SUBDIR_MI_SRCS): Add "mi-cmd-file.c". | |
9257 | (mi-cmd-file.o): Update dependencies. | |
9258 | ||
040b99fd KB |
9259 | 2003-04-01 Kevin Buettner <kevinb@redhat.com> |
9260 | ||
9261 | * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
9262 | (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. | |
9263 | ||
9a3d7dfd AF |
9264 | 2003-04-01 Adam Fedor <fedor@gnu.org> |
9265 | ||
9266 | * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h). | |
9267 | * language.h (struct language_defn): Add la_demangle. | |
9268 | (language_demangle): Declare. | |
9269 | * language.c (language_demangle): New function. | |
9270 | (unk_lang_demangle): Likewise. | |
9271 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
fbe586ae | 9272 | Add ukn_lang_demangle. |
9a3d7dfd | 9273 | * ada-lang.c (ada_language_defn): Add NULL for la_demangle element. |
fbe586ae | 9274 | * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise. |
9a3d7dfd AF |
9275 | * c-lang.c (c_language_defn, asm_language_defn): Likewise. |
9276 | (cplus_language_defn): Add cplus_demangle for la_demangle element. | |
9277 | * jv-lang.c (java_demangle): New function | |
9278 | (java_language_defn): Use it for la_demangle element. | |
fbe586ae RH |
9279 | * objc-lang.c (objc_demangle): Add options argument |
9280 | (objc_language_defn): Use objc_demangle for la_demangle element. | |
9a3d7dfd AF |
9281 | * maint.c (maintenance_demangle): Replace switch with |
9282 | call to language_demangle. | |
9283 | * utils.c (fprintf_symbol_filtered): Likewise. | |
9284 | ||
5e074003 AC |
9285 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
9286 | ||
9287 | * printcmd.c (print_frame_nameless_args): Delete #ifdef | |
9288 | NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and | |
9289 | PRINT_TYPELESS_INTEGER. | |
9290 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename | |
9291 | PUSH_RETURN_ADDRESS. | |
9292 | ||
270cb5d6 AC |
9293 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
9294 | ||
9295 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
9296 | * d10v-tdep.c: Include "frame-base.h". | |
9297 | (d10v_frame_unwind): Make constant. | |
9298 | (d10v_frame_base_address): New function. | |
9299 | (d10v_frame_base): New variable. | |
9300 | (d10v_gdbarch_init): Set frame_base default. | |
9301 | (struct d10v_unwind_cache): Add the field "prev_sp". Update | |
9302 | comment for base. | |
9303 | (d10v_frame_unwind_cache): Set and use "prev_sp". | |
9304 | (d10v_frame_this_id): Use the previous frame's inner most stack | |
9305 | address and this frame's func address for the frame ID. Use | |
9306 | frame_id_build. Don't analyze beyond the current instruction. | |
8ffd9b1b | 9307 | |
6bfb3e36 AC |
9308 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
9309 | ||
9310 | * frame.h (get_frame_locals_address, get_frame_args_address): | |
9311 | Refer to the base address, instead of the address of the first | |
9312 | local or parameter. | |
8ffd9b1b | 9313 | |
da62e633 AC |
9314 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
9315 | ||
9316 | Add frame debug info addresses: | |
9317 | * frame-base.c: New file. | |
9318 | * frame-base.h: New file. | |
9319 | * frame.h (struct frame_base): Add opaque declaration. | |
9320 | (get_frame_base): Update comment. | |
9321 | (get_frame_base_address): Declare. | |
9322 | (get_frame_locals_address): Declare. | |
9323 | (get_frame_args_address): Declare. | |
9324 | (struct frame_info): Add "base" and "base_cache". Update | |
9325 | comments on the unwinder. | |
9326 | * frame.c: Include "frame-base.h". | |
9327 | (get_frame_locals_address): New function. | |
9328 | (get_frame_base_address): New function. | |
9329 | (get_frame_args_address): New function. | |
9330 | * findvar.c (read_var_value): Use get_frame_locals_address and | |
9331 | get_frame_args_address. | |
9332 | * stack.c (frame_info): Use get_frame_locals_address and | |
9333 | get_frame_args_address. | |
9334 | (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro, | |
9335 | moved to "frame-base.c". | |
9336 | * printcmd.c (print_frame_nameless_args): Ditto. | |
9337 | * symtab.h (address_class): Update comments. | |
9338 | * dwarf2loc.c (dwarf_expr_frame_base): Add note about | |
9339 | get_frame_base_address. | |
9340 | * dwarf2expr.c (execute_stack_op): Ditto. | |
9341 | * Makefile.in (frame_base_h): Define. | |
9342 | (frame.o): Update dependencies. | |
9343 | (frame-base.o): Add dependencies. | |
9344 | (SFILES): Add frame-base.c. | |
9345 | (COMMON_OBS): Add frame-base.o. | |
9346 | ||
3d30e9c2 AC |
9347 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
9348 | ||
9349 | * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero. | |
9350 | CALL_DUMMY_LENGTH): Ditto. | |
9351 | * gdbarch.c: Re-generate. | |
9352 | * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro. | |
9353 | (CALL_DUMMY_LENGTH): Delete macro. | |
9354 | * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero. | |
9355 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9356 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9357 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9358 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9359 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9360 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9361 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
9362 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9363 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9364 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9365 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9366 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9367 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9368 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9369 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9370 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9371 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
9372 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9373 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
9374 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
9375 | ||
ce0c7262 CV |
9376 | 2003-04-01 Corinna Vinschen <vinschen@redhat.com> |
9377 | ||
9378 | * frame.c (get_prev_frame): Disable call to inside_entry_file(). | |
9379 | ||
73dd234f AC |
9380 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
9381 | ||
9382 | * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero. | |
9383 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
9384 | * gdbarch.h, gdbarch.c: Re-generate. | |
9385 | * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
9386 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
9387 | * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
9388 | * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
9389 | (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
9390 | * infcmd.c (run_stack_dummy): Simplify assuming | |
9391 | CALL_DUMMY_BREAKPOINT_OFFSET_P. | |
9392 | * infrun.c (handle_inferior_event): Ditto. | |
9393 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
9394 | call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p. | |
9395 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9396 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9397 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9398 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9399 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9400 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9401 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9402 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9403 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9404 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
9405 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9406 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9407 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9408 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
9409 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9410 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9411 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9412 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
9413 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9414 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
9415 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
9416 | ||
97606a13 DJ |
9417 | 2003-04-01 Daniel Jacobowitz <drow@mvista.com> |
9418 | ||
9419 | * symfile.c (symfile_relocate_debug_section): Update call to | |
9420 | bfd_simple_get_relocated_section_contents. | |
9421 | ||
e8ab51f7 AC |
9422 | 2003-03-31 Andrew Cagney <cagney@redhat.com> |
9423 | ||
9424 | * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. | |
9425 | * gdbarch.h, gdbarch.c: Regenerate. | |
9426 | * inferior.h (FIX_CALL_DUMMY): Delete macro. | |
9427 | * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when | |
9428 | available. | |
9429 | * frame.h (generic_fix_call_dummy): Delete declaration. | |
9430 | * dummy-frame.h: Update comment. | |
9431 | * dummy-frame.c (generic_fix_call_dummy): Delete function. | |
9432 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
9433 | fix_call_dummy. | |
9434 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9435 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9436 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9437 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9438 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9439 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9440 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9441 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9442 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9443 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9444 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9445 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9446 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9447 | ||
018d1b48 JB |
9448 | 2003-03-31 J. Brobecker <brobecker@gnat.com> |
9449 | ||
9450 | * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful. | |
9451 | (INIT_FRAME_AP): Likewise. | |
9452 | (EXTRA_FRAME_INFO): Likewise. | |
9453 | ||
e9a2674e AC |
9454 | 2003-03-31 Andrew Cagney <cagney@redhat.com> |
9455 | ||
9456 | * gdbarch.sh: Include "symfile.h". | |
9457 | (CALL_DUMMY_ADDRESS): Default to entry_point_address. | |
9458 | * gdbarch.h, gdbarch.c: Re-generate. | |
9459 | * inferior.h (CALL_DUMMY_ADDRESS): Delete macro. | |
9460 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
9461 | call_dummy_address, the default is at entry_point_address. | |
9462 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9463 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
9464 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9465 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9466 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9467 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9468 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9469 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9470 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9471 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9472 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9473 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9474 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9475 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9476 | ||
e8a8712a AC |
9477 | 2003-03-31 Andrew Cagney <cagney@redhat.com> |
9478 | ||
9479 | * gdbarch.sh (CALL_DUMMY_P): Delete. | |
9480 | * gdbarch.h, gdbarch.c: Re-generate. | |
9481 | * inferior.h (CALL_DUMMY_P): Delete macro. | |
9482 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9483 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9484 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9485 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9486 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9487 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9488 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9489 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9490 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9491 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9492 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9493 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9494 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9495 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9496 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9497 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9498 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9499 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
9500 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9501 | * breakpoint.c (deprecated_frame_in_dummy): Update. | |
9502 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9503 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9504 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9505 | * dummy-frame.c (dummy_frame_this_id): Update comments. | |
9506 | * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto. | |
9507 | * frame.c (legacy_get_prev_frame): Ditto. | |
9508 | * valops.c (call_function_by_hand): Delete function. | |
9509 | (hand_function_call): Rename to call_function_by_hand | |
9510 | ||
ed234cf8 AC |
9511 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
9512 | ||
9513 | 2002-11-10 Klee Dienes <kdienes@apple.com> | |
fbe586ae | 9514 | * value.h (struct value): Update comment. |
ed234cf8 | 9515 | |
06c77151 AC |
9516 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
9517 | ||
6c2b5168 AC |
9518 | * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with |
9519 | D10V_FP_REGNUM. | |
9520 | (d10v_gdbarch_init): Do not set fp_regnum. | |
9521 | ||
06c77151 AC |
9522 | * frame.c (get_frame_base): Force ID initialization. |
9523 | (get_prev_frame): Move computation of the frame ID from here ... | |
9524 | (get_frame_id): ... to here. | |
9525 | (legacy_get_prev_frame): Mark the frame ID as valid. | |
9526 | * frame.h (struct frame_info): Add field "id_p". | |
9527 | ||
97a1a11c MK |
9528 | 2003-03-30 Mark Kettenis <kettenis@gnu.org> |
9529 | ||
9530 | * i386-tdep.c (i386_store_struct_return): Removed. | |
9531 | (i386_gdbarch_init): Don't set deprecated_store_struct_return. | |
9532 | ||
6c0e89ed AC |
9533 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
9534 | ||
9535 | * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP. | |
9536 | * gdbarch.h, gdbarch.c: Regenerate. | |
9537 | * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp. | |
9538 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
9539 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9540 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
9541 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9542 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9543 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9544 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
9545 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9546 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
9547 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9548 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
9549 | * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update. | |
9550 | * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
9551 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define. | |
9552 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9553 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9554 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9555 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9556 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9557 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9558 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9559 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9560 | * valops.c (hand_function_call): Replace TARGET_WRITE_SP with | |
9561 | DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, | |
9562 | instead of when push_dummy_call is not available. | |
8ffd9b1b | 9563 | |
f7dd6af2 AC |
9564 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
9565 | ||
9566 | * infttrace.c: Include "gdbthread.h". | |
9567 | (parent_attach_all): Fix function signature. | |
9568 | (call_ptrace): Update call. | |
9569 | * Makefile.in (infttrace.o): Update dependencies. | |
9570 | ||
28f617b3 AC |
9571 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
9572 | ||
9573 | * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace | |
9574 | PUSH_RETURN_ADDRESS. | |
9575 | * gdbarch.h, gdbarch.c: Regenerate. | |
9576 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9577 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9578 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9579 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9580 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9581 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9582 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9583 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9584 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9585 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9586 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9587 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9588 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9589 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9590 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9591 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9592 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9593 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9594 | * valops.c (hand_function_call): Update. | |
9595 | ||
4d628cd7 AC |
9596 | 2003-03-29 Andrew Cagney <cagney@redhat.com> |
9597 | ||
9598 | * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or | |
9599 | sizeof_call_dummy_words. | |
9600 | * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always | |
9601 | define. | |
9602 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 9603 | |
65e82032 AC |
9604 | 2003-03-29 Andrew Cagney <cagney@redhat.com> |
9605 | ||
9606 | * infttrace.h: New file. | |
9607 | * hpread.c: Include "gdb_assert.h" and "somsolib.h". | |
9608 | (hpread_get_textlow): Detect an uninitialized dn_bufp. | |
9609 | (hpread_read_doc_function_type): Detect an initialized type1. | |
9610 | (hpread_quick_traverse): Initialize mod_name_string. | |
9611 | * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. | |
9612 | (som_solib_get_solib_by_pc): Declare. | |
9613 | (so_lib_thread_start_addr): Declare. | |
9614 | (no_shared_libraries): Declare. | |
9615 | * somread.c (init_import_symbols): Make static. Add forward | |
9616 | declaration. | |
9617 | * config/pa/nm-hppah.h: Include "infttrace.h" for | |
9618 | parent_attach_all. | |
9619 | (hppa_insert_hw_watchpoint): Declare. | |
9620 | (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. | |
9621 | * hppah-nat.c: Include "gdb_string.h". | |
9622 | (parent_attach_all): Delete extern declaration, moved to | |
9623 | "infttrace.h". | |
9624 | (hppa_can_use_hw_watchpoint): Change type of "type" parameter to | |
9625 | int. | |
9626 | (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. | |
9627 | * Makefile.in (infttrace_h): Define. | |
9628 | (hpread.o): Update dependencies. | |
9629 | (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. | |
9630 | * hppa-hpux-tdep.c: Include "gdb_string.h". | |
9631 | * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". | |
9632 | * infrun.c (handle_inferior_event): Always initialize | |
9633 | stepped_after_stopped_by_watchpoint. Add default and remove | |
9634 | fallthrough in switch statement. | |
9635 | * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" | |
9636 | parameter to int. | |
9637 | (hppa_remove_hw_watchpoint): Ditto. | |
9638 | ||
2c3bbe77 AC |
9639 | 2003-03-29 Andrew Cagney <cagney@redhat.com> |
9640 | ||
9641 | * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint | |
9642 | offset. | |
9643 | ||
2dd604e7 RE |
9644 | 2003-03-29 Richard Earnshaw <rearnsha@arm.com> |
9645 | ||
9646 | * arm-tdep.c (arm_push_arguments): Delete. | |
9647 | (struct stack_item): New type. | |
9648 | (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. | |
9649 | (arm_store_struct_return): Delte. | |
9650 | (arm_gdbarch_init): Register arm_push_dummy_call. Don't register | |
9651 | arm_push_arguments or arm_store_struct_return. | |
9652 | ||
e8933a55 AC |
9653 | 2003-03-28 Andrew Cagney <cagney@redhat.com> |
9654 | ||
9655 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
9656 | * remote.h (target_resume_hook, target_wait_loop_hook): Declare. | |
9657 | * d10v-tdep.c: Include "remote.h". | |
9658 | (target_resume_hook): Delete extern declaration. | |
9659 | (target_wait_loop_hook): Ditto. | |
9660 | (tdisassemble_command): Eliminate assignment in "if" conditional. | |
9661 | (d10v_ts2_register_sim_regno): Eliminate call to | |
9662 | legacy_register_sim_regno. | |
9663 | (d10v_ts3_register_sim_regno): Ditto. | |
9664 | ||
6949171e JJ |
9665 | 2003-03-28 Jeff Johnston <jjohnstn@redhat.com> |
9666 | ||
9667 | * thread.c: Reindented. | |
9668 | * lin-lwp.c: Ditto. | |
9669 | * linux-proc.c: Ditto. | |
9670 | ||
98c7071f BR |
9671 | 2003-03-28 Bob Rossi <bob_rossi@cox.net> |
9672 | ||
fbe586ae | 9673 | * MAINTAINERS (write after approval): Add myself. |
98c7071f | 9674 | |
5edc9ca6 TR |
9675 | 2003-03-27 Theodore A. Roth <troth@openavr.org> |
9676 | ||
9677 | * objc-exp.y: Add missing semi-colons. | |
9678 | ||
378bfd1b AC |
9679 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
9680 | ||
9681 | * regcache.c (write_sp): Delete function and references. | |
9682 | * inferior.h (write_sp): Delete declaration. | |
9683 | * valops.c (hand_function_call): Replace write_sp with | |
9684 | TARGET_WRITE_SP. | |
9685 | * sparc-tdep.c (sparc_push_dummy_frame): Ditto. | |
9686 | (sparc_pop_frame): Ditto. | |
8ffd9b1b | 9687 | |
56056df7 AC |
9688 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
9689 | ||
9690 | * NEWS: Mention removal of support for hppa*-*-bsd* and | |
9691 | hppa*-*-osf* natives, and hppa*-*-pro* target. | |
9692 | * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h". | |
9693 | * config/pa/xm-pa.h: Obsolete file. | |
9694 | * config/pa/xm-hppab.h: Obsolete file. | |
9695 | * config/pa/nm-hppab.h: Obsolete file. | |
9696 | * config/pa/tm-hppab.h: Obsolete file. | |
9697 | * config/pa/tm-hppao.h: Obsolete file. | |
9698 | * config/pa/nm-hppao.h: Obsolete file. | |
9699 | * config/pa/tm-pro.h: Obsolete file. | |
9700 | * config/pa/hppaosf.mt: Obsolete file. | |
9701 | * config/pa/hppaosf.mh: Obsolete file. | |
9702 | * config/pa/hppapro.mt: Obsolete file. | |
9703 | * config/pa/hppabsd.mt: Obsolete file. | |
9704 | * config/pa/hppabsd.mh: Obsolete file. | |
9705 | * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*. | |
9706 | * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and | |
9707 | hppa*-*-osf*. | |
9708 | ||
5873a88d AC |
9709 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
9710 | ||
9711 | * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of | |
9712 | push_arguments. Don't set push_return_address or write_sp. | |
9713 | (d10v_push_dummy_call): Replace d10v_push_arguments. | |
9714 | (d10v_push_return_address, d10v_write_sp): Delete function, | |
9715 | handled by push_dummy_call. | |
9716 | ||
b81774d8 AC |
9717 | 2003-03-26 Andrew Cagney <cagney@redhat.com> |
9718 | ||
9719 | * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS. | |
9720 | (push_dummy_call): New pure multi-arch replacement with gdbarch, | |
9721 | regcache and dummy_addr parameters. | |
9722 | * gdbarch.h, gdbarch.c: Re-generate. | |
9723 | * valops.c (hand_function_call): Use gdbarch_push_dummy_call when | |
9724 | available; assume it will handle stack alignment and return | |
9725 | address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and | |
9726 | legacy_push_arguments. | |
9727 | (legacy_push_arguments): Rename default_push_arguments. | |
9728 | * value.h (legacy_push_arguments): Rename default_push_arguments. | |
9729 | * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments. | |
9730 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
9731 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
9732 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
9733 | * config/i386/tm-symmetry.h: Update. | |
9734 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9735 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9736 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9737 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9738 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9739 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9740 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9741 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9742 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9743 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9744 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9745 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9746 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9747 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9748 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9749 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9750 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
9751 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9752 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9753 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9754 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
9755 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9756 | ||
f541410f DJ |
9757 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
9758 | ||
9759 | * signals/signals.c (do_target_signal_to_host): Correct realtime | |
9760 | signal range test. | |
9761 | ||
69f567ae DJ |
9762 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
9763 | ||
9764 | * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals) | |
9765 | (struct sal_chain, map_catch_names): Remove. | |
9766 | (catch_exception_command_1): Don't call | |
9767 | handle_gnu_4_16_catch_command. | |
9768 | ||
d5d14a5a DJ |
9769 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
9770 | ||
9771 | From Mark Dettinger <dettinge@de.ibm.com>: | |
9772 | * dwarf2cfi.c (read_2u): Increment pointer by two. | |
9773 | ||
bdd73e22 DJ |
9774 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
9775 | ||
9776 | * signals/signals.c: Fix typos in last change. | |
9777 | ||
960cb555 DJ |
9778 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
9779 | ||
9780 | * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if | |
9781 | not already defined. Use __SIGRTMIN if available. | |
9782 | (target_signal_from_host): Remove SIGRTMIN block. | |
9783 | (do_target_signal_to_host): Remove SIGRTMIN block; check that | |
9784 | the signal is within the realtime range. | |
9785 | ||
f636b87d AF |
9786 | 2003-03-25 Adam Fedor <fedor@gnu.org> |
9787 | ||
9788 | * Makefile.in (infrun.o): Add $(language_h) | |
9789 | * infrun.c (handle_inferior_event): Use skip_language_trampoline | |
9790 | for language specific trampolines. | |
9791 | * language.h (struct language_defn): Add skip_trampoline. | |
9792 | (skip_language_trampoline): Declare. | |
9793 | * language.c (unk_lang_trampoline, skip_language_trampoline): | |
9794 | New functions. | |
9795 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
9796 | Add ukn_lang_trampoline. | |
9797 | * ada-lang.c (ada_language_defn): Add NULL for language | |
9798 | specific skip_trampoline. | |
9799 | * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c, | |
9800 | scm-lang.c: Likewise. | |
9801 | * objc-lang.c (objc_skip_trampoline): New function. | |
9802 | (objc_language_defn): Add objc_skip_trampoline. | |
9803 | ||
28f617b3 | 9804 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
270c3b1d AC |
9805 | |
9806 | * frame.c (get_prev_frame): Delay validating a frame's ID - | |
9807 | non-NULL, didn't go backwards - until an attempt to unwind it to | |
9808 | the previous frame. | |
9809 | ||
f933a9c5 AC |
9810 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
9811 | ||
9812 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace | |
9813 | EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. | |
9814 | * gdbarch.h, gdbarch.c: Re-generate. | |
9815 | * config/sparc/tm-sparc.h | |
9816 | (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. | |
9817 | * sparc-tdep.c (sparc_gdbarch_init): Set | |
9818 | deprecated_extra_stack_alignment_needed. | |
9819 | * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. | |
9820 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear | |
9821 | extra_stack_alignment_needed. | |
9822 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9823 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
9824 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9825 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9826 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9827 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
9828 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 9829 | |
4183d812 AC |
9830 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
9831 | ||
9832 | * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace | |
9833 | STORE_STRUCT_RETURN. | |
9834 | * gdbarch.h, gdbarch.c: Regenerate. | |
9835 | * d10v-tdep.c (d10v_store_struct_return): Delete function. | |
9836 | (d10v_push_arguments): Set the struct return register. | |
9837 | (d10v_gdbarch_init): Update. | |
9838 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9839 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9840 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9841 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9842 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9843 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9844 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9845 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9846 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9847 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9848 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9849 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9850 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9851 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9852 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9853 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9854 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9855 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9856 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9857 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9858 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9859 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9860 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 9861 | |
1bf6d5cc AC |
9862 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
9863 | ||
9864 | * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. | |
9865 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace | |
9866 | CALL_DUMMY_STACK_ADJUST with a predicate variable. | |
9867 | * gdbarch.h, gdbarch.c: Regenerate. | |
9868 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
9869 | call_dummy_stack_adjust_p. | |
9870 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
9871 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9872 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9873 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9874 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9875 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
9876 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9877 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9878 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9879 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
9880 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9881 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9882 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9883 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9884 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9885 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9886 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9887 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9888 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9889 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
9890 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
9891 | * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update. | |
9892 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
9893 | * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set | |
9894 | call_dummy_stack_adjust_p. | |
9895 | * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro. | |
9896 | (CALL_DUMMY_STACK_ADJUST): Delete macro. | |
9897 | * sparc-tdep.c (sparc32_push_arguments): Update. | |
9898 | * valops.c (hand_function_call): Update. | |
9899 | ||
71c08af0 CV |
9900 | 2003-03-25 Corinna Vinschen <vinschen@redhat.com> |
9901 | ||
9902 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to | |
9903 | set_gdbarch_char_signed. | |
9904 | ||
30757f90 RE |
9905 | 2003-03-25 Richard Earnshaw <rearnsha@arm.com> |
9906 | ||
9907 | PR cli/548 | |
9908 | * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler". | |
9909 | ||
03d48a7d RE |
9910 | 2003-03-25 Richard Earnshaw <rearnsha@arm.com> |
9911 | ||
9912 | * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. | |
9913 | (_initialize_arm_tdep): Don't set tm_print_insn. | |
9914 | ||
2cf6873c AF |
9915 | 2003-03-24 Adam Fedor <fedor@gnu.org> |
9916 | ||
9917 | * Makefile.in (YYOBJ): Add objc-exp.tab.o | |
9918 | * objc-lang.h: Add multiple inclusion protection. | |
9919 | (start_msglist, add_msglist, end_msglist): Additional declarations. | |
9920 | ||
17c0759e RE |
9921 | 2003-03-24 Richard Earnshaw <rearnsha@arm.com> |
9922 | ||
9923 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum | |
9924 | value was renamed to ARM_FLOAT_SOFT_FPA. | |
9925 | ||
618ce49f AC |
9926 | 2003-03-23 Andrew Cagney <cagney@redhat.com> |
9927 | ||
9928 | * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN. | |
9929 | (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID. | |
9930 | * gdbarch.h, gdbarch.c: Regenerate. | |
9931 | * valops.c (hand_function_call): Update. | |
9932 | * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
9933 | * frame.c (legacy_saved_regs_this_id): Update. | |
9934 | (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update. | |
9935 | * dummy-frame.h: Update. | |
9936 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update. | |
9937 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
9938 | * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update. | |
9939 | * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update. | |
9940 | * config/m68k/tm-sun3.h: Update. | |
9941 | * blockframe.c (inside_main_func, frame_chain_valid): Update. | |
9942 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9943 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9944 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9945 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9946 | * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update. | |
9947 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9948 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9949 | * rs6000-tdep.c (rs6000_frame_saved_pc): Update. | |
9950 | (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update. | |
9951 | (frame_get_saved_regs): Update. | |
9952 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
9953 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9954 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9955 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9956 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9957 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9958 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9959 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9960 | * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update. | |
9961 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
9962 | (i386_interix_back_one_frame): Update. | |
9963 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9964 | (hppa_init_extra_frame_info): Update. | |
9965 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9966 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9967 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9968 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9969 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9970 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9971 | ||
fd50bc42 RE |
9972 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
9973 | ||
9974 | * arm-tdep.h (arm_float_model): Add AUTO and LAST values. | |
9975 | (arm_get_fp_model): Declare. | |
9976 | * arm-tdep.c (fp_model_strings): New string array. | |
9977 | (arm_fp_model, current_fp_model): New variables. | |
9978 | (arm_get_fp_model): New function. | |
9979 | (arm_set_fp): New function. | |
9980 | (set_fp_model_sfunc): New function. | |
9981 | (show_fp_model): New function. | |
9982 | (_initialize_arm_tdep): Add new command to set/show the FPU. | |
9983 | (arm_extract_return_value): Use arm_get_fp_model. | |
9984 | (arm_store_return_value): Likewise. | |
9985 | (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp | |
9986 | to initialize the floating-point data types. | |
9987 | * arm-linux-tdep.c (arm_linux_init_abi): The default floating point | |
9988 | model is FPA. | |
9989 | ||
26304000 RE |
9990 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
9991 | ||
9992 | * arm-tdep.c (show_arm_command): Don't print out help. Instead, show | |
9993 | the current setting of each value. | |
9994 | (_initialize_arm_tdep): Delete variable new_cmd and add new vars | |
8ffd9b1b | 9995 | new_set and new_show. Use add_setshow_cmd_full and |
26304000 RE |
9996 | add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" |
9997 | commands and add new version as subcommands of "set/show arm". | |
9998 | ||
afd7eef0 RE |
9999 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
10000 | ||
10001 | * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists. | |
10002 | (set_arm_command, show_arm_command): New functions. | |
10003 | (_initialize_arm_tdep): Add them. | |
10004 | (num_disassembly_options): Renamed from num_flavor_options. | |
10005 | (valid_disassembly_styles): Renamed from valid_flavors. | |
10006 | (disassembly_style): Renamed from disassembly_flavor. | |
8ffd9b1b | 10007 | (set_disassembly_style_sfunc): Renamed from |
afd7eef0 RE |
10008 | set_disassembly_flavor_sfunc. |
10009 | (set_disassembly_style): Renamed from set_disassembly_flavor. | |
10010 | (arm_othernames): Updated. | |
10011 | (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor" | |
10012 | command. Add "set/show arm disassembly" commands. Deprecate | |
10013 | "othernames" command. | |
10014 | ||
299a7944 RE |
10015 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
10016 | ||
10017 | * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define. | |
10018 | (arm-tdep.o): Depend on elf_arm_h. | |
10019 | ||
c1dac9e6 RE |
10020 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
10021 | ||
10022 | * Makefile.in (coff_internal_h): Define. | |
10023 | (arm-tdep.o): Update dependencies. | |
10024 | ||
2702d96c RE |
10025 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
10026 | ||
10027 | * arm-tdep.c (prologue_cache): Delete. | |
10028 | (check_prologue_cache, save_prologue_cache): Delete. | |
10029 | (arm_scan_prologue): Don't check or update the prologue_cache. | |
10030 | (arm_gdb_arch_init): Don't initialize it. | |
10031 | (_initialize_arm_tdep): Likewise. | |
10032 | ||
27d5d74b SC |
10033 | 2003-03-21 Stephane Carrez <stcarrez@nerim.fr> |
10034 | ||
10035 | * MAINTAINERS (tui): Maintainer of tui code. | |
10036 | ||
1762d96d CV |
10037 | 2003-03-21 Corinna Vinschen <vinschen@redhat.com> |
10038 | ||
10039 | * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c. | |
10040 | (i386-cygwin-tdep.o): Add dependencies. | |
10041 | * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. | |
10042 | * i386-cygwin-tdep.c: New file. | |
10043 | * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. | |
10044 | * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o. | |
10045 | ||
4c2e2391 AC |
10046 | 2003-03-20 Andrew Cagney <cagney@redhat.com> |
10047 | ||
f20d38b7 AC |
10048 | * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. |
10049 | (handle_inferior_event): Remove code calling | |
10050 | DYNAMIC_TRAMPOLINE_NEXTPC. | |
10051 | ||
0022b738 AC |
10052 | * Makefile.in (init.c): Don't add $(srcdir) prefix when a file |
10053 | already has a full path. | |
10054 | ||
864dbc90 AC |
10055 | * main.c (gdb_main): Return 1. |
10056 | (captured_main): Call error to report an invalid interpreter. | |
10057 | ||
4c2e2391 AC |
10058 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. |
10059 | * alpha-osf1-tdep.c: Include "gdb_string.h". | |
10060 | ||
5ef7553b JB |
10061 | 2003-03-19 J. Brobecker <brobecker@gnat.com> |
10062 | ||
10063 | Continuing work to convert the hppa targets to multiarch partial. | |
10064 | ||
10065 | * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch | |
10066 | method, now that hppa_push_dummy_frame has a conformant prototype. | |
10067 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro | |
10068 | inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation | |
10069 | for the switch to multiarch partial. | |
10070 | ||
7bde8967 KB |
10071 | 2003-03-19 Kevin Buettner <kevinb@redhat.com> |
10072 | ||
10073 | * mdebugread.c (parse_symbol): For stEnd, we're done counting | |
10074 | when iss is issNull. | |
10075 | ||
b006a9e9 KB |
10076 | 2003-03-18 Kevin Buettner <kevinb@redhat.com> |
10077 | ||
10078 | * mips-tdep.c (mips_register_name): Fix fencepost error involving | |
10079 | NUM_REGS bounds check. | |
10080 | ||
5e2e9765 KB |
10081 | 2003-03-18 Kevin Buettner <kevinb@redhat.com> |
10082 | ||
10083 | * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h). | |
10084 | * mips-tdep.c (gdb_assert.h): Include. | |
10085 | (mips_generic_reg_names, mips_processor_reg_names): Make static. | |
10086 | (mips_register_name): Handle integer registers explicitly. Add | |
10087 | bounds checking. | |
10088 | (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names) | |
10089 | (mips_lsi33k_reg_names): Don't list integer registers; they're | |
10090 | handled by mips_register_name() now. | |
10091 | * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise. | |
10092 | * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise. | |
10093 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise. | |
10094 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise. | |
10095 | * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise. | |
10096 | ||
a2867626 AC |
10097 | 2003-03-18 Andrew Cagney <cagney@redhat.com> |
10098 | ||
10099 | * printcmd.c (print_scalar_formatted): Change VALADDR parameter to | |
10100 | a void pointer. | |
10101 | * gdbtypes.h (print_scalar_formatted): Update declaration. | |
10102 | * expression.h (enum exp_opcode): Remove non-ISO C trailing comma. | |
10103 | ||
06600e06 JB |
10104 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
10105 | ||
10106 | * infrun.c (observer.h): Add #include. | |
10107 | (normal_stop): Add call to observer_notify_normal_stop. | |
10108 | * Makefile.in (infrun.o): Add dependency on observer.h. | |
10109 | ||
7daf4f5b JB |
10110 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
10111 | ||
10112 | Continuing work to convert the hppa targets to multiarch partial. | |
10113 | * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function | |
10114 | parameter. Reformat comment. | |
10115 | * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile. | |
10116 | (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame() | |
10117 | to match new profile. | |
10118 | ||
3371ccc0 JB |
10119 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
10120 | ||
10121 | * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not | |
10122 | appear to be working in any case. | |
10123 | ||
4fbe891e JB |
10124 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
10125 | ||
10126 | * observer.c (observer_test_first_observer): New static variable. | |
10127 | (observer_test_second_observer): Likewise. | |
10128 | (observer_test_third_observer): Likewise. | |
10129 | (observer_test_first_notification_function): New static function. | |
10130 | (observer_test_second_notification_function): Likewise. | |
10131 | (observer_test_third_notification_function): Likewise. | |
10132 | ||
a7ff40e7 JB |
10133 | 2003-03-17 J. Brobecker <brobecker@gnat.com> |
10134 | ||
10135 | * hppa-tdep.c (gdb_assert.h): Add missing #include. | |
10136 | * somsolib.c (gdb_assert.h): Likewise. | |
10137 | * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. | |
10138 | (somsolib.o): Likewise. | |
10139 | ||
26ca4152 AC |
10140 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
10141 | ||
10142 | * disasm.c (gdb_disassembly): Set di.mach using the architecture's | |
10143 | BFD. Simplify setting of di.endian. | |
10144 | ||
0a613259 AC |
10145 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
10146 | ||
10147 | * rs6000-tdep.c (ppc_floating_point_unit_p): New function. | |
10148 | * ppc-tdep.h (ppc_floating_point_unit_p): Declare. | |
10149 | ||
10150 | From Elena Zannoni <ezannoni@redhat.com> | |
10151 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 | |
10152 | vector and floating-point parameters. | |
10153 | (ppc_sysv_abi_use_struct_convention): Handle e500 struct return | |
10154 | convention. | |
10155 | (ppc_sysv_abi_broken_use_struct_convention): Ditto. | |
10156 | ||
1132738f FN |
10157 | 2003-03-17 Fernando Nasser <fnasser@redhat.com> |
10158 | ||
10159 | * MAINTAINERS: Remove my name from several maintainership roles. | |
10160 | ||
6dc42492 AC |
10161 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
10162 | ||
10163 | Fix frame off-by-one bug. | |
10164 | * frame-unwind.h (frame_this_id_ftype): Replace | |
10165 | frame_unwind_id_ftype. | |
10166 | (frame_prev_register_ftype): Replace frame_unwind_reg_ftype. | |
10167 | (struct frame_unwind): Replace "id" with "this_id". Replace "reg" | |
10168 | with "prev_register". | |
10169 | * frame-unwind.c (frame_unwind_find_by_pc): Return | |
10170 | legacy_saved_regs_unwind instead of trad_frame_unwind. Update | |
10171 | comment. | |
10172 | * dummy-frame.c (cached_find_dummy_frame): Delete function. | |
10173 | (dummy_frame_this_id): Replace dummy_frame_id_unwind. | |
10174 | (dummy_frame_prev_register): Replace dummy_frame_register_unwind. | |
10175 | (dummy_frame_unwind): Update. | |
10176 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
10177 | sentinel_frame_register_unwind. | |
10178 | (sentinel_frame_this_id): Replace sentinel_frame_id_unwind. | |
10179 | (sentinel_frame_unwinder): Update. | |
10180 | * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
10181 | (struct frame_info): Rename "unwind_cache" to "prologue_cache". | |
10182 | * frame.c (create_sentinel_frame): Update. Initialize | |
10183 | "prologue_cache" instead of "unwind_cache". | |
10184 | (frame_register_unwind): Call this frame's prev_register with the | |
10185 | next frame and this frame's prologue cache. | |
10186 | (get_prev_frame): Simplify. Always call prev frame's this_id with | |
10187 | this frame and prev frame's prologue cache. Document that this | |
10188 | call is shifted one to the left when compared to the | |
10189 | frame_register_unwind call. | |
10190 | (legacy_saved_regs_prev_register): Replace | |
10191 | frame_saved_regs_register_unwind. | |
10192 | (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind. | |
10193 | (legacy_saved_regs_unwinder): Replace trad_frame_unwinder. | |
10194 | (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
10195 | * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind. | |
10196 | (d10v_frame_unwind): Update. | |
10197 | (d10v_frame_prev_register): Replace d10v_frame_register_unwind. | |
10198 | (d10v_frame_unwind_cache): Replace this "fi" with "next_frame". | |
10199 | (saved_regs_unwinder): Replace this "frame" with "next_frame", and | |
10200 | "saved_regs" with "this_saved_regs". | |
10201 | ||
efd710d6 AC |
10202 | 2003-03-16 Andrew Cagney <cagney@redhat.com> |
10203 | ||
10204 | * frame.c (frame_pop): Don't call target_store_registers. Fix | |
10205 | problem reported by Mark Kettenis. | |
10206 | ||
4e259f09 MK |
10207 | 2003-03-16 Mark Kettenis <kettenis@gnu.org> |
10208 | ||
10209 | * i386-tdep.c (i386_register_type): Renamed from | |
10210 | i386_register_virtual_type. Adjust function signature. | |
10211 | (i386_gdbarch_init): Set register_type instead of | |
10212 | deprecated_max_register_raw_size, | |
10213 | deprecated_max_register_virtual_size and register_virtual_type. | |
10214 | ||
055bb976 AC |
10215 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
10216 | ||
10217 | * frame.c (get_prev_frame): When a legacy frame, always call | |
10218 | legacy_get_prev_frame. Simplify unwind code using assumption that | |
10219 | the unwinder is new. | |
10220 | (legacy_get_prev_frame): Handle legacy sentinel frame unwind here. | |
10221 | (legacy_frame_p): When no gdbarch_unwind_dummy_id, or | |
10222 | SAVED_DUMMY_FRAME_TOS, assume a legacy frame. | |
10223 | ||
ac2adee5 AC |
10224 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
10225 | ||
10226 | * frame.c (get_saved_register): Delete function. | |
10227 | * frame.h (get_saved_register): Delete declaration. | |
10228 | * xstormy16-tdep.c: Update comment. | |
10229 | * regcache.h: Update comments. | |
10230 | * sparc-tdep.c (sparc_init_extra_frame_info): Instead of | |
10231 | get_saved_register and extract_address, use | |
10232 | frame_read_unsigned_register. | |
10233 | (sparc_frame_saved_pc): Ditto. | |
10234 | (sparc_get_saved_register): Instead of get_saved_register, use | |
10235 | frame_register. | |
10236 | (sparc_pop_frame): Ditto. | |
10237 | * findvar.c: Update comments. | |
10238 | (value_of_register): Call frame_register instead of | |
10239 | get_saved_register. | |
10240 | (value_from_register): Ditto. | |
10241 | * config/sparc/tm-sparc.h: Update comment. | |
10242 | * breakpoint.c: Update comment. | |
10243 | ||
129c1cd6 AC |
10244 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
10245 | ||
10246 | * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace | |
10247 | GET_SAVED_REGISTER. | |
10248 | * gdbarch.h, gdbarch.c: Re-generate. | |
10249 | * frame.h: Update comments. | |
10250 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10251 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
10252 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10253 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10254 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10255 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10256 | * cris-tdep.c (cris_gdbarch_init): Update. | |
10257 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10258 | * frame.c (frame_register): Update. | |
10259 | (get_saved_register): Update. | |
10260 | * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. | |
8ffd9b1b | 10261 | |
749b82f6 AC |
10262 | 2003-03-13 Andrew Cagney <cagney@redhat.com> |
10263 | ||
10264 | * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. | |
10265 | * gdbarch.h, gdbarch.c: Regenerate. | |
10266 | * valops.c (hand_function_call): Update comment. | |
10267 | * stack.c (return_command): Update comment. | |
10268 | * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update. | |
10269 | * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update. | |
10270 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10271 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
10272 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10273 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10274 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10275 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10276 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10277 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10278 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10279 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10280 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10281 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10282 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10283 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10284 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10285 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10286 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
10287 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
10288 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10289 | * cris-tdep.c (cris_gdbarch_init): Update. | |
10290 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10291 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10292 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10293 | ||
1594fa56 AC |
10294 | 2003-03-13 Andrew Cagney <cagney@redhat.com> |
10295 | ||
10296 | * frame.c (legacy_frame_p): New function. | |
10297 | (get_prev_frame): Use legacy_frame_p. | |
10298 | * frame.h (legacy_frame_p): Declare. | |
10299 | ||
7717fda3 V |
10300 | 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com> |
10301 | ||
fbe586ae | 10302 | * MAINTAINERS (write after approval): Alphabetically |
7717fda3 V |
10303 | listing corrected. |
10304 | ||
0c67cbe9 V |
10305 | 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com> |
10306 | ||
fbe586ae | 10307 | * MAINTAINERS (write after approval): Add myself. |
0c67cbe9 | 10308 | |
03febf99 AC |
10309 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
10310 | ||
10311 | * frame.c (get_prev_frame): Rename the frame parameter to | |
10312 | "this_frame". | |
10313 | (get_next_frame, legacy_get_prev_frame): Ditto. | |
10314 | ||
0a1e1ca1 AC |
10315 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
10316 | ||
10317 | * frame.c (get_current_frame): Check target_has_registers before | |
10318 | checking target_has_stack. | |
10319 | * eval.c (evaluate_subexp_standard): Use get_selected_frame, | |
10320 | instead of deprecated_selected_frame. | |
10321 | * findvar.c (value_of_register): Pass "frame", not | |
10322 | deprecated_selected_frame, to value_of_builtin_reg. | |
10323 | ||
a66a9c23 AC |
10324 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
10325 | ||
10326 | * regcache.c (regcache_cooked_write_signed): New function. | |
10327 | (regcache_cooked_write_unsigned): New function. | |
10328 | (regcache_cooked_read_unsigned): Fix regnum in range assertion. | |
10329 | (regcache_cooked_read_signed): Fix regnum in range assertion. | |
10330 | * regcache.h (regcache_cooked_write_signed): Declare. | |
10331 | (regcache_cooked_write_unsigned): Declare. | |
10332 | ||
8bedc050 AC |
10333 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
10334 | ||
10335 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
10336 | * gdbarch.h, gdbarch.c: Re-generate. | |
10337 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10338 | * x86-64-tdep.h: Update. | |
10339 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
10340 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10341 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10342 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10343 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10344 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10345 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
10346 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10347 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10348 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10349 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10350 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10351 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10352 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10353 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10354 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
10355 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
10356 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
10357 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10358 | * cris-tdep.c (cris_gdbarch_init): Update. | |
10359 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10360 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10361 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10362 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
10363 | (sh64_init_extra_frame_info): Update. | |
10364 | * ns32knbsd-nat.c (frame_num_args): Update. | |
10365 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
10366 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
10367 | (xstormy16_frame_chain_valid): Update. | |
10368 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
10369 | * v850-tdep.c (v850_frame_chain): Update. | |
10370 | (v850_pop_frame): Update. | |
10371 | (v850_init_extra_frame_info): Update. | |
10372 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
10373 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
10374 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
10375 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
10376 | (mn10300_pop_frame_regular): Update. | |
10377 | (mn10300_init_extra_frame_info): Update. | |
10378 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
10379 | (mips_frame_chain): Update. | |
10380 | (mips_pop_frame): Update. | |
10381 | * mcore-tdep.c (mcore_frame_chain): Update. | |
10382 | (mcore_pop_frame): Update. | |
10383 | (mcore_init_extra_frame_info): Update. | |
10384 | * arch-utils.c (init_frame_pc_default): Update. | |
10385 | * m68k-tdep.c (isi_frame_num_args): Update. | |
10386 | (delta68_frame_num_args): Update. | |
10387 | (news_frame_num_args): Update. | |
10388 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
10389 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
10390 | (alpha_frame_chain): Update. | |
10391 | (alpha_pop_frame): Update. | |
10392 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
10393 | (hppa_init_extra_frame_info): Update. | |
10394 | (hppa_frame_chain): Update. | |
10395 | (hppa_frame_chain_valid): Update. | |
10396 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
10397 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
10398 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
10399 | (arm_init_extra_frame_info): Update. | |
10400 | (arm_pop_frame): Update. | |
10401 | * frame.c (frame_pc_unwind): Update. | |
10402 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
10403 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
10404 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
10405 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
10406 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
10407 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 10408 | |
7a25a7c1 AC |
10409 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
10410 | ||
10411 | Eliminate the need for POP_FRAME. | |
10412 | * frame.c (do_frame_unwind_register): New function. | |
10413 | (frame_pop): When no POP_FRAME, pop the frame using register | |
10414 | unwind and a scratch regcache. | |
10415 | (frame_saved_regs_pop): Delete function. | |
10416 | (trad_frame_unwinder): Update. | |
10417 | * d10v-tdep.c (d10v_frame_pop): Delete function. | |
10418 | (d10v_frame_unwind): Update. | |
10419 | * sentinel-frame.c (sentinel_frame_pop): Delete function. | |
10420 | (sentinel_frame_unwinder): Update. | |
10421 | * dummy-frame.c (dummy_frame_pop): Delete function. | |
10422 | (dummy_frame_unwind): Update. | |
10423 | * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. | |
10424 | (struct frame_unwind): Update. | |
10425 | ||
2f38ef89 KB |
10426 | 2003-03-11 Kevin Buettner <kevinb@redhat.com> |
10427 | ||
10428 | * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to | |
10429 | mips_dwarf_dwarf2_ecoff_reg_to_regnum(). | |
10430 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): | |
10431 | Do range checks on register number obtained from debugging info. | |
10432 | (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and | |
10433 | set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of | |
10434 | set_gdbarch_ecoff_reg_to_regnum() to account for new name of | |
10435 | mapping function. | |
10436 | (do_fp_register_row): Fix typo which caused double type to be | |
10437 | used when attempting to unpack a float. | |
10438 | ||
552f4abf JB |
10439 | 2003-03-11 J. Brobecker <brobecker@gnat.com> |
10440 | ||
10441 | * breakpoint.c (bpstat_stop_status): Fix a small memory leak. | |
10442 | ||
e0d2ae16 AC |
10443 | 2003-03-11 Andrew Cagney <cagney@redhat.com> |
10444 | ||
10445 | * frame.c (deprecated_update_frame_pc_hack): Don't assume a next | |
10446 | frame. Problem found by Corinna Vinschen. | |
10447 | ||
ddbfdd06 PM |
10448 | 2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr> |
10449 | ||
10450 | * doublest.c (floatformat_from_length): Accept also | |
10451 | the real size of 'long double' type. | |
10452 | ||
088b2ddc | 10453 | 2003-03-10 Daniel Jacobowitz <drow@mvista.com> |
31cc81e9 | 10454 | |
088b2ddc | 10455 | From Klee Dienes <kdienes@apple.com>: |
31cc81e9 DJ |
10456 | * breakpoint.c (bpstat_copy): Copy the command lines as well |
10457 | as the old value, to match what is freed in bpstat_clear. | |
10458 | ||
f56f77c1 DC |
10459 | 2003-03-10 David Carlton <carlton@math.stanford.edu> |
10460 | ||
10461 | * minsyms.c (add_minsym_to_hash_table): Replace | |
10462 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
10463 | (compare_minimal_symbols, compact_minimal_symbols) | |
10464 | (install_minimal_symbols, find_solib_trampoline_target): Ditto. | |
10465 | (lookup_minimal_symbol_text): Use strcmp on linkage names instead | |
10466 | of DEPRECATED_SYMBOL_MATCHES_NAME. | |
10467 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
10468 | ||
5602984a AC |
10469 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
10470 | ||
10471 | * regcache.h (regcache_cooked_read_ftype): Define. | |
10472 | (regcache_save, regcache_restore): Add a cooked_read parameter. | |
10473 | * regcache.c (regcache_save, regcache_restore): Update. | |
10474 | (do_cooked_read): New function. | |
10475 | (regcache_cpy): Pass do_cooked_read to regcache_save and | |
10476 | regcache_restore. | |
10477 | ||
8bedc050 AC |
10478 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
10479 | ||
10480 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
10481 | * gdbarch.h, gdbarch.c: Re-generate. | |
10482 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10483 | * x86-64-tdep.h: Update. | |
10484 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
10485 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10486 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10487 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10488 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10489 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10490 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
10491 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10492 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10493 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10494 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10495 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10496 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10497 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10498 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10499 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
10500 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
10501 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
10502 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10503 | * cris-tdep.c (cris_gdbarch_init): Update. | |
10504 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10505 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10506 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10507 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
10508 | (sh64_init_extra_frame_info): Update. | |
10509 | * ns32knbsd-nat.c (frame_num_args): Update. | |
10510 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
10511 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
10512 | (xstormy16_frame_chain_valid): Update. | |
10513 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
10514 | * v850-tdep.c (v850_frame_chain): Update. | |
10515 | (v850_pop_frame): Update. | |
10516 | (v850_init_extra_frame_info): Update. | |
10517 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
10518 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
10519 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
10520 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
10521 | (mn10300_pop_frame_regular): Update. | |
10522 | (mn10300_init_extra_frame_info): Update. | |
10523 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
10524 | (mips_frame_chain): Update. | |
10525 | (mips_pop_frame): Update. | |
10526 | * mcore-tdep.c (mcore_frame_chain): Update. | |
10527 | (mcore_pop_frame): Update. | |
10528 | (mcore_init_extra_frame_info): Update. | |
10529 | * arch-utils.c (init_frame_pc_default): Update. | |
10530 | * m68k-tdep.c (isi_frame_num_args): Update. | |
10531 | (delta68_frame_num_args): Update. | |
10532 | (news_frame_num_args): Update. | |
10533 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
10534 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
10535 | (alpha_frame_chain): Update. | |
10536 | (alpha_pop_frame): Update. | |
10537 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
10538 | (hppa_init_extra_frame_info): Update. | |
10539 | (hppa_frame_chain): Update. | |
10540 | (hppa_frame_chain_valid): Update. | |
10541 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
10542 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
10543 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
10544 | (arm_init_extra_frame_info): Update. | |
10545 | (arm_pop_frame): Update. | |
10546 | * frame.c (frame_pc_unwind): Update. | |
10547 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
10548 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
10549 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
10550 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
10551 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
10552 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 10553 | |
12cc2063 AC |
10554 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
10555 | ||
10556 | * gdbarch.sh (gdbarch_unwind_pc): New method. | |
10557 | * gdbarch.h, gdbarch.c: Regenerate. | |
10558 | * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, | |
10559 | but use read_pc and FRAME_SAVED_PC as fall backs. | |
10560 | (frame_saved_regs_pc_unwind): Delete function. | |
10561 | (trad_frame_unwinder): Update. | |
10562 | * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. | |
10563 | (struct frame_unwind): Update. | |
10564 | * dummy-frame.c (dummy_frame_pc_unwind): Delete function. | |
10565 | (dummy_frame_unwind): Update. | |
10566 | * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. | |
10567 | (sentinel_frame_unwinder): Update. | |
10568 | * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. | |
10569 | (d10v_frame_unwind): Update. | |
10570 | (d10v_unwind_pc): New function. | |
10571 | (d10v_gdbarch_init): Set unwind_pc. | |
10572 | ||
ef840a37 AC |
10573 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
10574 | ||
a2ce2e56 AC |
10575 | * gdbarch.h: Re-generate. |
10576 | ||
ef840a37 AC |
10577 | * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the |
10578 | PC. | |
10579 | (d10v_frame_pop): Unwind the PC, and not the LR, when restoring | |
10580 | the PC register. | |
10581 | ||
08f3424b MK |
10582 | 2003-03-08 Mark Kettenis <kettenis@gnu.org> |
10583 | ||
10584 | * gdbarch.sh (save_dummy_frame_tos): Add comment. | |
10585 | ||
1248ede2 AC |
10586 | 2003-03-08 Andrew Cagney <cagney@redhat.com> |
10587 | ||
10588 | * cli-out.c: Update copyright. | |
10589 | (cli_out_data): Define typedef. Use instead of ui_out_data. | |
10590 | ||
f49bacc8 AC |
10591 | 2003-03-08 Andrew Cagney <cagney@redhat.com> |
10592 | ||
10593 | * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to | |
10594 | the result. | |
10595 | ||
9b05f993 AC |
10596 | 2003-03-07 Andrew Cagney <cagney@redhat.com> |
10597 | ||
10598 | * gdbarch.sh: Don't generate two macro definitions when an | |
10599 | undefined macro taking no arguments. | |
10600 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 10601 | |
166f4c7b ML |
10602 | 2002-03-07 Michal Ludvig <mludvig@suse.cz> |
10603 | ||
10604 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos) | |
10605 | (x86_64_unwind_dummy_id): New functions. | |
10606 | (x86_64_init_abi): Register these two new functions. | |
10607 | ||
6d686a84 ML |
10608 | 2003-03-07 Michal Ludvig <mludvig@suse.cz> |
10609 | ||
10610 | * x86-64-tdep.c (x86_64_function_has_prologue): New function. | |
8ffd9b1b | 10611 | (x86_64_skip_prologue): Move prologue detection to |
6d686a84 ML |
10612 | separate function. |
10613 | * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. | |
10614 | ||
6314f104 AC |
10615 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
10616 | ||
10617 | * d10v-tdep.c (d10v_unwind_dummy_id): New function. | |
10618 | (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos. | |
10619 | * frame.c (get_prev_frame): Restructure the frame ID unwind code | |
10620 | to use unwind_dummy_id when a dummy frame. | |
10621 | * gdbarch.sh (unwind_dummy_id): New multi-arch method with | |
10622 | predicate. | |
10623 | * gdbarch.h, gdbarch.c: Regneerate. | |
8ffd9b1b | 10624 | |
ceea5145 AC |
10625 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
10626 | ||
10627 | * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". | |
10628 | (d10v_frame_unwind_cache): Rewrite code computing the base and SP. | |
10629 | Do not use d10v_read_sp or d10v_read_fp when obtaining register | |
10630 | values. | |
10631 | ||
0d843116 AC |
10632 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
10633 | ||
10634 | * d10v-tdep.c (struct frame_extra_info): Delete unused structure. | |
10635 | (struct d10v_unwind_cache): Delete field "frameless". Replace | |
10636 | "next_addr" with "sp_offset". Add "r11_offset". | |
10637 | (d10v_frame_unwind_cache): Update. | |
10638 | (prologue_find_regs): Update. When "mv r11, sp", save the | |
10639 | "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that | |
10640 | RN was saved in r11_offset. | |
10641 | ||
b2579786 AC |
10642 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
10643 | ||
10644 | * frame.c (deprecated_update_frame_pc_hack): Also update the the | |
10645 | cached PC value in the next frame. | |
10646 | ||
218e5956 AC |
10647 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
10648 | ||
10649 | * frame.h (struct frame_info): Replace "id_unwind_cache_p" and | |
10650 | "id_unwind_cache" with "id". | |
10651 | (frame_id_unwind): Delete declaration. | |
10652 | * frame.c (frame_id_unwind): Delete function. | |
10653 | (get_prev_frame): Call the frame id unwind method directly. Store | |
10654 | the returned next frame's ID value in NEXT_FRAME. Note that there | |
10655 | is a problem with the wrong unwind ID being called with the wrong | |
10656 | unwind cache. | |
10657 | ||
ed363b1b DJ |
10658 | 2003-03-05 Daniel Jacobowitz <drow@mvista.com> |
10659 | ||
10660 | * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS. | |
10661 | ||
fe1f4a5e DJ |
10662 | 2003-03-05 James Ingham <jingham@apple.com> |
10663 | Daniel Jacobowitz <drow@mvista.com> | |
10664 | ||
10665 | * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h". | |
10666 | (auto_cp_abi): New variable. | |
10667 | (current_cp_abi, num_cp_abis): Make static. | |
10668 | (CP_ABI_MAX): Define. | |
10669 | (cp_abis): Turn into an array. | |
10670 | (value_virtual_fn_field): Fix formatting. | |
10671 | (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now | |
10672 | takes a pointer. | |
10673 | (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd) | |
10674 | (list_cp_abis, _initialize_cp_abi): New functions. | |
10675 | * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove | |
10676 | declarations for cp_abis, num_cp_abis, current_cp_abi, and | |
10677 | switch_to_cp_abi. Update prototype for register_cp_abi. | |
10678 | * Makefile.in (cp-abi.o): Update dependencies. | |
10679 | * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default | |
10680 | instead of switch_to_cp_abi. | |
10681 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to | |
10682 | register_cp_abi. | |
10683 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to | |
10684 | register_cp_abi. | |
10685 | * hpacc-abi.c (_initialize_hpacc_abi): Likewise. | |
10686 | ||
e4adbba9 DJ |
10687 | 2003-03-05 Daniel Jacobowitz <drow@mvista.com> |
10688 | ||
10689 | * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition. | |
10690 | * dwarf2loc.c: Include "regcache.h". | |
10691 | (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use | |
10692 | register_size. | |
10693 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
10694 | ||
91ccbfc1 TR |
10695 | 2003-03-04 Theodore A. Roth <troth@openavr.org> |
10696 | ||
10697 | * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the | |
10698 | number of io registers reported by remote target is not a multiple of | |
10699 | step. | |
10700 | ||
3d4e8fd2 DC |
10701 | 2003-03-04 David Carlton <carlton@math.stanford.edu> |
10702 | ||
10703 | * symtab.c (lookup_partial_symbol): Add linkage_name argument. | |
10704 | (lookup_symbol_aux_psymtabs): Update call to | |
10705 | lookup_partial_symbol. | |
10706 | (lookup_transparent_type, find_main_psymtab) | |
10707 | (make_symbol_overload_list): Ditto. | |
10708 | ||
ed42d87b KH |
10709 | 2003-03-04 Kazu Hirata <kazu@cs.umass.edu> |
10710 | ||
10711 | * MAINTAINERS (Write after approval): Update my email address. | |
10712 | ||
a0ed5532 AC |
10713 | 2003-03-03 Andrew Cagney <cagney@redhat.com> |
10714 | ||
10715 | Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. | |
10716 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with | |
10717 | predicate. Replace MAX_REGISTER_RAW_SIZE. | |
10718 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for | |
10719 | MAX_REGISTER_VIRTUAL_SIZE. | |
10720 | * regcache.c (legacy_max_register_raw_size): New function. | |
10721 | (legacy_max_register_virtual_size): New function. | |
10722 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. | |
10723 | (MAX_REGISTER_RAW_SIZE): Define. | |
10724 | (legacy_max_register_raw_size): Declare. | |
10725 | (legacy_max_register_virtual_size): Declare. | |
10726 | * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
10727 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. | |
10728 | * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
10729 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
10730 | * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
10731 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
10732 | * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
10733 | * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
10734 | * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
10735 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10736 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10737 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10738 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10739 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10740 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10741 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10742 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10743 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10744 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10745 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10746 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10747 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10748 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10749 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10750 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
10751 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
10752 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10753 | * cris-tdep.c (cris_gdbarch_init): Update. | |
10754 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10755 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10756 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10757 | * d10v-tdep.c (d10v_gdbarch_init): Do not set | |
10758 | max_register_raw_size or max_register_virtual_size. | |
10759 | ||
8e437497 DC |
10760 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
10761 | ||
10762 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from | |
10763 | SYMBOL_MATCHES_NAME, add comment. | |
10764 | (SYMBOL_MATCHES_NATURAL_NAME): New. | |
10765 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace | |
10766 | SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. | |
10767 | (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. | |
10768 | * symtab.c (lookup_partial_symbol): Use | |
10769 | SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete | |
10770 | unhelpful comment. | |
10771 | (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not | |
10772 | SYMBOL_MATCHES_NAME. | |
10773 | Fix for PR c++/33. | |
10774 | ||
25120b0d DC |
10775 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
10776 | ||
10777 | * symtab.h (SYMBOL_MATCHES_REGEXP): Delete. | |
10778 | * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP | |
10779 | by regexp matching against SYMBOL_NATURAL_NAME. | |
10780 | ||
78a11fb4 DC |
10781 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
10782 | ||
10783 | * linespec.c (find_method): Extract code into collect_methods. | |
10784 | (collect_methods): New. | |
10785 | ||
645dd519 MK |
10786 | 2003-03-02 Mark Kettenis <kettenis@gnu.org> |
10787 | ||
b4700d91 MK |
10788 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and |
10789 | get_frame_base. | |
10790 | ||
645dd519 MK |
10791 | * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of |
10792 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
10793 | ||
0aa7e1aa SC |
10794 | 2003-03-02 Stephane Carrez <stcarrez@nerim.fr> |
10795 | ||
8ffd9b1b | 10796 | * arch-utils.c (generic_register_byte): Fix to use the loop index |
0aa7e1aa SC |
10797 | and not regnum when summing the size of all registers up to regnum. |
10798 | ||
f30ee0bc AC |
10799 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
10800 | ||
10801 | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename | |
10802 | FRAME_INIT_SAVED_REGS. | |
10803 | * gdbarch.h, gdbarch.c: Regenerate. | |
10804 | * stack.c (frame_info): Update. | |
10805 | * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. | |
10806 | (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. | |
10807 | (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. | |
10808 | * ns32k-tdep.c (ns32k_pop_frame): Update. | |
10809 | * mips-tdep.c (mips_pop_frame): Update. | |
10810 | * m68hc11-tdep.c (m68hc11_pop_frame): Update. | |
10811 | * ia64-tdep.c (ia64_frame_chain): Update. | |
10812 | (ia64_frame_saved_pc, ia64_get_saved_register): Update. | |
10813 | (ia64_frameless_function_invocation): Update. | |
10814 | (ia64_init_extra_frame_info): Update. | |
10815 | (ia64_pop_frame_regular): Update. | |
10816 | * frame.h (struct frame_info): Update comment. | |
10817 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. | |
10818 | * frame.c (frame_saved_regs_register_unwind): Update. | |
10819 | (frame_saved_regs_register_unwind): Update. | |
10820 | (deprecated_generic_get_saved_register): Update. | |
10821 | * cris-tdep.c: Update comment. | |
10822 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): | |
10823 | Rename macro. | |
10824 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10825 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
10826 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10827 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10828 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10829 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10830 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10831 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10832 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
10833 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10834 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10835 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10836 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10837 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10838 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10839 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10840 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10841 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10842 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10843 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10844 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 10845 | |
42fa7c0f AC |
10846 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
10847 | ||
10848 | * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to | |
10849 | option enum and switch. When no windows, set the interpreter to | |
10850 | INTERP_CONSOLE. | |
8ffd9b1b | 10851 | |
49c7e338 AC |
10852 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
10853 | ||
10854 | * main.c (captured_main): Replace magic option characters with an | |
10855 | enum. | |
10856 | ||
e9582e71 AC |
10857 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
10858 | ||
10859 | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename | |
10860 | INIT_EXTRA_FRAME_INFO. | |
10861 | * gdbarch.h, gdbarch.c: Regenerate. | |
10862 | * arm-tdep.c: Update comments. | |
10863 | * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. | |
10864 | * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. | |
10865 | * frame.h, avr-tdep.c: Ditto. | |
10866 | * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
10867 | (create_new_frame, legacy_get_prev_frame): Ditto. | |
10868 | * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
10869 | * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
10870 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize | |
10871 | deprecated_init_extra_frame_info instead of init_extra_frame_info. | |
10872 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
10873 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
10874 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
10875 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
10876 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
10877 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
10878 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
10879 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
10880 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
10881 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
10882 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
10883 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
10884 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
10885 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
10886 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
10887 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
10888 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
10889 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
10890 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
10891 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
10892 | ||
35cac7cf AC |
10893 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
10894 | ||
10895 | * gdbarch.sh (register_type): New function with predicate. | |
10896 | (REGISTER_VIRTUAL_TYPE): Change to function with predicate. | |
10897 | * gdbarch.h, gdbarch.c: Re-generate. | |
10898 | * arch-utils.c (generic_register_byte): Use generic_register_size. | |
10899 | (generic_register_size): When available, use | |
10900 | gdbarch_register_type. | |
10901 | * regcache.c (init_regcache_descr): When available, initialize the | |
10902 | register type array using gdbarch_register_type. If the | |
10903 | architecture supplies gdbarch_register_type, do not use the legacy | |
10904 | regcache layout. | |
10905 | * d10v-tdep.c (d10v_register_type): Replace | |
10906 | d10v_register_virtual_type. | |
10907 | (d10v_gdbarch_init): Set register_type instead of | |
10908 | register_virtual_type. | |
10909 | ||
7b83296f AC |
10910 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
10911 | ||
10912 | * Makefile.in (ax-gdb.o): Update dependencies. | |
10913 | * ax-gdb.c: Include "regcache.h". | |
10914 | (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. | |
10915 | * findvar.c (value_of_register): Ditto. | |
10916 | * infcmd.c (default_print_registers_info): Ditto. | |
10917 | ||
eadc1c87 MK |
10918 | 2003-03-01 Mark Kettenis <kettenis@gnu.org> |
10919 | ||
10920 | * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of | |
10921 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
10922 | ||
14143612 MK |
10923 | 2003-03-01 Mark Kettenis <kettenis@gnu.org> |
10924 | ||
10925 | * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead | |
10926 | of STREQ. | |
10927 | ||
a55cc764 DJ |
10928 | 2003-02-28 Daniel Jacobowitz <drow@mvista.com> |
10929 | ||
10930 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
10931 | * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. | |
10932 | * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. | |
10933 | * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. | |
10934 | * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". | |
10935 | (locexpr_tracepoint_var_ref): New function. | |
10936 | (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref. | |
10937 | ||
08a617da AC |
10938 | 2003-02-28 Andrew Cagney <cagney@redhat.com> |
10939 | ||
10940 | * regcache.c (register_size): New function. | |
10941 | * regcache.h (register_size): Declare | |
10942 | * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use | |
10943 | max_register_size instead of MAX_REGISTER_RAW_SIZE. | |
10944 | ||
4224873a DC |
10945 | 2003-02-28 David Carlton <carlton@math.stanford.edu> |
10946 | ||
10947 | * linespec.c (decode_compound): Extract code into find_method. | |
10948 | (find_method): New. | |
10949 | ||
ccdc5d7f JB |
10950 | 2003-02-28 J. Brobecker <brobecker@gnat.com> |
10951 | ||
10952 | * Makefile.in: Add rules to build and link in observer.o. | |
10953 | ||
974e8ced JB |
10954 | 2003-02-27 J. Brobecker <brobecker@gnat.com> |
10955 | ||
10956 | * observer.c: Minor comments edits. | |
10957 | ||
7a28f973 JB |
10958 | 2003-02-27 J. Brobecker <brobecker@gnat.com> |
10959 | ||
10960 | * observer.h, observer.c: New file. | |
10961 | ||
27cddce2 AC |
10962 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
10963 | ||
10964 | * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd. | |
10965 | ||
b94a41a1 SC |
10966 | 2003-02-27 Stephane Carrez <stcarrez@nerim.fr> |
10967 | ||
10968 | * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines. | |
10969 | (M6812_OP_STS_EXT): Likewise. | |
10970 | (m6811_prologue): Use the above to recognize prologue. | |
10971 | (m6812_prologue): Likewise. | |
10972 | ||
c8be8951 DC |
10973 | 2003-02-27 David Carlton <carlton@math.stanford.edu> |
10974 | ||
10975 | * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not | |
10976 | SYMBOL_PRINT_NAME. | |
10977 | (compare_psymbols): Ditto. | |
10978 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
10979 | ||
d05bb1fc MS |
10980 | 2003-02-27 Michael Snyder <msnyder@redhat.com> |
10981 | ||
4e845cd3 MS |
10982 | * f-lang.c (build_fortran_types): New function. |
10983 | (_initialize_f_language): Gdbarch-register built-in fortran types. | |
d05bb1fc MS |
10984 | * doublest.c (extract_floating): Fix warning text. |
10985 | ||
f3824013 AC |
10986 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
10987 | ||
10988 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with | |
10989 | predicate. Replaces PUSH_DUMMY_FRAME. | |
10990 | * gdbarch.h, gdbarch.c: Regnerate. | |
10991 | * valops.c (hand_function_call): Update. Call | |
10992 | generic_push_dummy_frame directly. | |
10993 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10994 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10995 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10996 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10997 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
10998 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10999 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
11000 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
11001 | * inferior.h (PUSH_DUMMY_FRAME): Delete definition. | |
11002 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set | |
11003 | push_dummy_frame to generic_push_dummy_frame. | |
11004 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
11005 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
11006 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
11007 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
11008 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
11009 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
11010 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
11011 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
11012 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
11013 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
11014 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
11015 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
11016 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
11017 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
11018 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
11019 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8ffd9b1b | 11020 | |
ad188201 KB |
11021 | 2003-02-26 Kevin Buettner <kevinb@redhat.com> |
11022 | ||
11023 | * mips-tdep.c (show_mips_abi): New function. | |
11024 | (_initialize_mips_tdep): Use show_mips_abi() to implement the | |
11025 | command ``show mips abi''. | |
11026 | ||
6b37567a | 11027 | 2003-02-26 Jeff Johnston <jjohnstn@redhat.com> |
8ffd9b1b | 11028 | |
6b37567a | 11029 | From Elena Zannoni <ezannoni@redhat.com> |
8ffd9b1b | 11030 | * dbxread.c (process_one_symbol): Only record line 0 if one or |
6b37567a JJ |
11031 | more sline entries have been seen for the function. |
11032 | ||
d3e0a5bf MC |
11033 | 2003-02-26 Michael Chastain <mec@shout.net> |
11034 | ||
11035 | * configure: Regenerate with autoconf 000227. | |
11036 | ||
18972eea MC |
11037 | 2003-02-26 Michael Chastain <mec@shout.net> |
11038 | ||
11039 | Close PR build/660. | |
11040 | * PROBLEMS (i[3456]86-*-linux*): Note explicit error message | |
11041 | for old libc5/glibc. | |
11042 | * gdb_thread_db.h: Die if not HAVE_UINTPTR_T. | |
11043 | ||
0bbde931 KW |
11044 | 2003-02-26 Kris Warkentin <kewarken@qnx.com> |
11045 | ||
11046 | * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO. | |
11047 | * osabi.c (gdb_osabi_names): Add "QNX Neutrino". | |
11048 | ||
27ca5dad MC |
11049 | 2003-02-26 Michael Chastain <mec@shout.net> |
11050 | ||
11051 | * configure.in: New variable HAVE_UINTPTR_T. | |
11052 | * configure, config.in: Regenerated. | |
11053 | ||
6f88d630 DJ |
11054 | 2003-02-26 Daniel Jacobowitz <drow@mvista.com> |
11055 | ||
11056 | Fix PR build/1097. | |
11057 | * utils.c (gdb_realpath): Move closing brace outwards one #endif. | |
11058 | ||
b14185ce AC |
11059 | 2003-02-25 Andrew Cagney <cagney@redhat.com> |
11060 | ||
11061 | * frame.c (get_prev_frame): Add comment on check for | |
11062 | inside_entry_func. Only check for inside_entry_file when not a | |
11063 | dummy and not a sentinel. Check that the new frame is not inner | |
11064 | to the old frame. | |
11065 | ||
ac2bd0a9 AC |
11066 | 2003-02-25 Andrew Cagney <cagney@redhat.com> |
11067 | ||
11068 | * frame.c (frame_debug): New variable. | |
11069 | (_initialize_frame): Add "set/show debug frame" command. | |
11070 | (get_prev_frame): When frame_debug, print reason why unwind | |
11071 | failed. | |
11072 | ||
b18a0fd2 MC |
11073 | 2003-02-25 Michael Chastain <mec@shout.net> |
11074 | ||
11075 | * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later | |
11076 | to avoid uintptr_t definition problems. | |
11077 | ||
22abf04a DC |
11078 | 2003-02-25 David Carlton <carlton@math.stanford.edu> |
11079 | ||
11080 | * symtab.h (SYMBOL_NATURAL_NAME): New macro. | |
11081 | (SYMBOL_LINKAGE_NAME): Ditto. | |
11082 | (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and | |
11083 | SYMBOL_LINKAGE_NAME. | |
11084 | (struct general_symbol_info): Expand comment. | |
11085 | (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. | |
11086 | (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. | |
11087 | (SYMBOL_MATCHES_REGEXP): Ditto. | |
11088 | * symtab.c (symbol_natural_name): New function. | |
11089 | * objfiles.h: Replace all uses of SYMBOL_NAME by | |
11090 | DEPRECATED_SYMBOL_NAME. | |
11091 | * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. | |
11092 | * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. | |
11093 | * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. | |
11094 | * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. | |
11095 | * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. | |
11096 | * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. | |
11097 | * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. | |
11098 | * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. | |
11099 | * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. | |
11100 | * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. | |
11101 | * ada-exp.y: Ditto. | |
11102 | * ada-exp.y: Update copyright. | |
11103 | * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. | |
11104 | * cp-valprint.c: Ditto. | |
11105 | ||
1a5848f6 JJ |
11106 | 2003-02-25 Jeff Johnston <jjohnstn@redhat.com> |
11107 | ||
11108 | * infptrace.c (detach): Do not flag error if ptrace detach fails | |
11109 | and errno is set to ESRCH. | |
11110 | ||
7343d46a AC |
11111 | 2003-02-24 Andrew Cagney <cagney@redhat.com> |
11112 | ||
11113 | * infptrace.c (udot_info): Change type of udot_off to long. Use | |
11114 | paddr when printing udot_off's value. | |
11115 | ||
49fa1dc2 DC |
11116 | 2003-02-24 David Carlton <carlton@math.stanford.edu> |
11117 | ||
11118 | * symtab.c (make_symbol_overload_list): Only read in partial | |
11119 | symtabs containing a matching partial symbol. | |
11120 | ||
0fe19209 DC |
11121 | 2003-02-24 David Carlton <carlton@math.stanford.edu> |
11122 | ||
11123 | * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to | |
11124 | do the comparison, not strcmp. | |
11125 | * symfile.c (compare_psymbols): Ditto. | |
11126 | * defs.h: Declare strcmp_iw_ordered. | |
11127 | * utils.c (strcmp_iw_ordered): New function. | |
11128 | ||
8e3ee7b5 JB |
11129 | 2003-02-24 Jim Blandy <jimb@redhat.com> |
11130 | ||
11131 | * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme | |
11132 | support, shared libs): Remove my name from here, to better reflect | |
11133 | reality. | |
11134 | ||
7df1a324 KW |
11135 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
11136 | ||
11137 | * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define. | |
11138 | (target_ops): Add to_have_continuable_watchpoint. | |
11139 | * target.c (update_current_target): Add INHERIT line for | |
11140 | to_have_continuable_watchpoint. | |
11141 | * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines. | |
11142 | * config/i386/nm-i386.h, config/i386/nm-i386sco5.h, | |
11143 | config/i386/nm-i386sol2.h, config/s390/nm-linux.h, | |
11144 | config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1. | |
11145 | ||
d1c76907 EZ |
11146 | 2003-02-24 Elena Zannoni <ezannoni@redhat.com> |
11147 | ||
11148 | * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop | |
11149 | maintainership. | |
11150 | ||
2610b0bf KW |
11151 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
11152 | ||
f46169db KW |
11153 | * solib.c (solib_open): Call target defined search function after |
11154 | failing with solib-search-path. | |
11155 | * solist.h (target_so_ops): Add find_and_open_solib function hook and | |
11156 | create define TARGET_SO_FIND_AND_OPEN_SOLIB. | |
2610b0bf | 11157 | |
9a3c34fe KW |
11158 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
11159 | ||
f46169db | 11160 | * MAINTAINERS: Add myself to Write After section. |
9a3c34fe | 11161 | |
2417dd25 SC |
11162 | 2003-02-23 Stephane Carrez <stcarrez@nerim.fr> |
11163 | ||
11164 | * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide. | |
11165 | ||
b631436b SC |
11166 | 2003-02-22 Stephane Carrez <stcarrez@nerim.fr> |
11167 | ||
11168 | * m68hc11-tdep.c (m68hc11_init_reggroups): New function. | |
11169 | (m68hc11_add_reggroups): New function. | |
11170 | (m68hc11_register_reggroup_p): New to register hard/soft reggroups. | |
11171 | (m68hc11_gdbarch_init): Install the reggroups. | |
11172 | (_initialize_m68hc11_tdep): Initialize them. | |
11173 | ||
0aa8c1e4 JW |
11174 | 2003-02-21 James E Wilson <wilson@tuliptree.org> |
11175 | ||
11176 | * MAINTAINERS: Update my email address. | |
11177 | ||
50ceaba5 DC |
11178 | 2003-02-21 David Carlton <carlton@math.stanford.edu> |
11179 | ||
11180 | * arm-tdep.c (arm_gdbarch_init): Add break after default label. | |
11181 | ||
4c2df51b DJ |
11182 | 2003-02-21 Daniel Jacobowitz <drow@mvista.com> |
11183 | ||
11184 | Based on a patch from Daniel Berlin (dberlin@dberlin.org). | |
11185 | * symtab.h: Add opaque declarations of struct axs_value and | |
11186 | struct agent_expr. | |
11187 | (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. | |
11188 | (struct location_funcs): New type. | |
11189 | (struct symbol): Add "loc" to aux_value. | |
11190 | (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. | |
11191 | * dwarf2read.c: Include "dwarf2expr.h". | |
11192 | (dwarf2_symbol_mark_computed): New function. | |
11193 | (read_func_scope): Use it. | |
11194 | (var_decode_location): New function. | |
11195 | (new_symbol): Use it. | |
11196 | * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. | |
11197 | ||
11198 | * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. | |
11199 | (dwarf2expr_h, dwarf2loc_h): New variables. | |
11200 | (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. | |
11201 | (dwarf2expr.o, dwarf2loc.o): New rules. | |
11202 | (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). | |
11203 | * buildsym.c (finish_block): Handle LOC_COMPUTED and | |
11204 | LOC_COMPUTED_ARG. | |
11205 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
11206 | * m2-exp.y (yylex): Likewise. | |
11207 | * printcmd.c (address_info, print_frame_args): Likewise. | |
11208 | * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. | |
11209 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
11210 | * ada-lang.c (ada_resolve_subexp, symtab_for_sym) | |
11211 | (ada_add_block_symbols, fill_in_ada_prototype): Likewise. | |
11212 | * symtab.c (lookup_block_symbol): Likewise. | |
11213 | ||
5784d15e AF |
11214 | 2003-02-20 Adam Fedor <fedor@gnu.org> |
11215 | ||
11216 | * symtab.h: Remove objc_specific struct | |
11217 | (SYMBOL_OBJC_DEMANGLED_NAME): Remove. | |
11218 | * symtab.c (symbol_init_language_specific, symbol_demangled_name): | |
11219 | Have language_objc use cplus_specific struct. | |
11220 | ||
d4cad8db TT |
11221 | 2003-02-20 Tom Tromey <tromey@redhat.com> |
11222 | ||
11223 | * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not | |
11224 | TYPE_NAME, when printing a String value. PR java/1075. | |
11225 | ||
2f9a90b4 AF |
11226 | 2003-02-20 Adam Fedor <fedor@gnu.org> |
11227 | ||
d38074a8 | 11228 | * objc-lang.h (find_methods): Remove declaration. |
fbe586ae | 11229 | * objc-lang.c (find_methods): Make static. |
2f9a90b4 | 11230 | |
6f17862b CF |
11231 | 2003-02-20 Christopher Faylor <cgf@redhat.com> |
11232 | ||
11233 | * win32-nat.c (get_image_name): Check return value from | |
11234 | ReadProcessMemory. | |
11235 | (child_xfer_memory): Ditto. | |
11236 | ||
715d1656 AO |
11237 | 2003-02-20 Alexandre Oliva <aoliva@redhat.com> |
11238 | ||
11239 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
11240 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
11241 | '${exec_prefix}' (in addition to the expansion thereof) as | |
11242 | relocatable. | |
11243 | * configure: Rebuilt. | |
11244 | ||
b1262a02 DC |
11245 | 2003-02-20 David Carlton <carlton@math.stanford.edu> |
11246 | ||
11247 | * symtab.c (search_symbols): Revert the search_symbols part of my | |
11248 | 2002-12-23 patch. Add comment. | |
11249 | ||
7134143f DJ |
11250 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
11251 | ||
11252 | * coffread.c (coff_symfile_read): Clean up minimal symbols earlier. | |
11253 | * dbxread.c (elfstab_build_psymtabs): Don't call | |
11254 | install_minimal_symbols. | |
11255 | (stabsect_build_psymtabs): Likewise. | |
11256 | * elfread.c (elf_symfile_read): Call install_minimal_symbols | |
11257 | earlier. | |
11258 | * somread.c (som_symfile_read): Call install_minimal_symbols | |
11259 | and do_cleanups earlier. | |
11260 | * nlmread.c (nlm_symfile_read): Likewise. | |
11261 | * mdebugread.c (elfmdebug_build_psymtabs): Call | |
11262 | install_minimal_symbols and make appropriate cleanups. | |
11263 | ||
cf466558 KB |
11264 | 2003-02-20 Kevin Buettner <kevinb@redhat.com> |
11265 | ||
11266 | * solib.c (reload_shared_libraries): New function. | |
11267 | (_initialize_solib): Add callbacks for ``set solib-search-path'' | |
11268 | and ``set solib-absolute-prefix''. | |
11269 | ||
de5ad195 DC |
11270 | 2003-02-20 David Carlton <carlton@math.stanford.edu> |
11271 | ||
11272 | * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME; | |
11273 | expand comment. | |
11274 | * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace | |
11275 | SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME. | |
11276 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
11277 | * ax-gdb.c (gen_var_ref): Ditto. | |
11278 | * breakpoint.c (print_one_breakpoint): Ditto. | |
11279 | * buildsym.c (finish_block): Ditto. | |
11280 | * c-valprint.c (c_val_print): Ditto. | |
11281 | * expprint.c (print_subexp): Ditto. | |
11282 | * findvar.c (locate_var_value): Ditto. | |
8ffd9b1b AJ |
11283 | * infcmd.c (jump_command): Ditto. |
11284 | * linespec.c (decode_line_2, decode_compound): Ditto. | |
11285 | * maint.c (maintenance_translate_address): Ditto. | |
11286 | * objc-lang.c (compare_selectors, compare_classes): Ditto. | |
de5ad195 DC |
11287 | * printcmd.c (build_address_symbolic, sym_info, print_frame_args): |
11288 | Ditto. | |
8ffd9b1b AJ |
11289 | * p-valprint.c (pascal_val_print): Ditto. |
11290 | * stabsread.c (define_symbol): Ditto. | |
de5ad195 | 11291 | * stack.c (print_frame, frame_info, print_block_frame_locals) |
8ffd9b1b AJ |
11292 | (print_frame_arg_vars, return_command): Ditto. |
11293 | * symfile.c (compare_symbols, compare_psymbols): Ditto. | |
11294 | * symmisc.c (print_symbol): Ditto. | |
de5ad195 DC |
11295 | * symtab.c (lookup_partial_symbol, lookup_block_symbol) |
11296 | (compare_search_syms, print_symbol_info, print_msymbol_info) | |
8ffd9b1b AJ |
11297 | (rbreak_command): Ditto. |
11298 | * tracepoint.c (tracepoints_info): Ditto. | |
11299 | * typeprint.c (typedef_print): Ditto. | |
11300 | * valops.c (value_of_variable, hand_function_call): Ditto. | |
de5ad195 DC |
11301 | * cli/cli-cmds.c (edit_command, list_command): Ditto. |
11302 | * ada-typeprint.c: Update Copyright. | |
11303 | * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. | |
11304 | * tracepoint.c, cli/cli-cmds.c: Ditto. | |
11305 | ||
f796e4be KB |
11306 | 2003-02-20 Kevin Buettner <kevinb@redhat.com> |
11307 | ||
11308 | * frame.c (generic_unwind_get_saved_register): Make non-static. | |
11309 | * frame.h (generic_unwind_get_saved_register): Declare. | |
11310 | * mips-tdep.c (read_next_frame_reg): Fetch register from | |
11311 | current regcache when frame is NULL. | |
11312 | (mips_init_extra_frame_info): Pass NULL explicitly for parameter | |
11313 | that must be NULL. | |
11314 | (mips_get_saved_register): Call generic_unwind_get_saved_register() | |
11315 | instead of frame_register_unwind(). | |
11316 | ||
836cc9f4 AC |
11317 | 2003-02-20 Andrew Cagney <ac131313@redhat.com> |
11318 | ||
11319 | * remote-sim.c (gdbsim_insert_breakpoint) | |
11320 | (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS | |
11321 | code. | |
11322 | ||
501eef12 AC |
11323 | 2003-02-20 Andrew Cagney <ac131313@redhat.com> |
11324 | ||
11325 | * remote.c (_initialize_remote): Add commands "set/show remote | |
11326 | hardware-watchpoint-limit" and "set/show remote | |
11327 | hardware-breakpoint-limit". | |
11328 | (remote_hw_watchpoint_limit): Initialize to -1. | |
11329 | (remote_hw_breakpoint_limit): Ditto. | |
11330 | (remote_check_watch_resources): Treat a limit of -1 as unlimited. | |
11331 | ||
1b6bc7e0 CF |
11332 | 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk> |
11333 | ||
11334 | * coff-pe-read.c: New file - support reading of minimal symbols from a | |
11335 | portable executable using the export table. | |
11336 | * coff-pe-read.h: New file. | |
11337 | * coffread.c: Include coff-pe-read.h. | |
11338 | (coff_symtab_read): Call read_pe_exported_syms iff no recognized | |
11339 | debugging symbols found. | |
11340 | * Makefile.in (SFILES): Add coff-pe-read.o. | |
11341 | (coff_pe_read_h): Define. | |
11342 | (COMMON_OBS): Add coff-pe-read.o. | |
11343 | (coffread.o): Add coff_pe_read_h dependency. | |
11344 | (coff-pe-read.o): New target. | |
11345 | ||
fe898f56 DC |
11346 | 2003-02-19 David Carlton <carlton@math.stanford.edu> |
11347 | ||
11348 | * Makefile.in (SFILES): Add block.c. | |
11349 | (block_h): New. | |
11350 | (COMMON_OBS): Add block.o. | |
11351 | (block.o): New. | |
11352 | (x86-64-tdep.o): Add $(block_h). | |
11353 | (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o) | |
11354 | (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o) | |
11355 | (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o) | |
11356 | (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o) | |
11357 | (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o) | |
11358 | (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o) | |
11359 | (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto. | |
11360 | * value.h: Add opaque declaration for struct block. | |
11361 | * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto. | |
11362 | * ada-lang.h: Ditto. | |
11363 | * x86-64-tdep.c: #include "block.h" | |
11364 | * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto. | |
11365 | * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto. | |
11366 | * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto. | |
11367 | * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto. | |
11368 | * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto. | |
11369 | * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto. | |
11370 | * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto. | |
11371 | * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto. | |
11372 | * blockframe.c (blockvector_for_pc_sect): Move to "block.c". | |
11373 | (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto. | |
11374 | * symtab.c (block_function): Ditto. | |
11375 | (contained_in): Ditto. | |
11376 | * frame.h: Move block_for_pc and block_for_pc_sect declarations to | |
11377 | block.h. Add opaque declaration for struct block. | |
11378 | * symtab.h: Move block_function and contained_in declarations to | |
11379 | block.h. Add opaque declarations for struct block, struct | |
11380 | blockvector. | |
11381 | (struct block): Move to block.h. | |
11382 | (struct blockvector): Ditto. | |
11383 | (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK) | |
11384 | (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM) | |
11385 | (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE) | |
11386 | (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS) | |
11387 | (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): | |
11388 | Ditto. | |
11389 | * block.c: New file. | |
11390 | * block.h: New file. | |
11391 | ||
173345b5 TR |
11392 | 2003-02-19 Theodore A. Roth <troth@openavr.org> |
11393 | ||
11394 | * avr-tdep.c (avr_extract_return_value): Remove function. | |
11395 | (avr_store_return_value): Remove function. | |
11396 | (avr_extract_struct_value_address): Remove function. | |
11397 | (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls. | |
11398 | ||
338ef23d AC |
11399 | 2003-02-19 Andrew Cagney <ac131313@redhat.com> |
11400 | ||
11401 | * rs6000-tdep.c: Include "gdb_assert.h". | |
11402 | (registers_e500): Add "acc" and "spefscr". | |
11403 | (PPC_GPRS_PSEUDO_REGS): Remove trailing comma. | |
11404 | (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum, | |
11405 | ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum | |
11406 | really is "r0". | |
11407 | (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson). | |
11408 | ||
5412f5f3 KS |
11409 | 2003-02-18 Keith Seitz <keiths@redhat.com> |
11410 | ||
11411 | * Makefile.in: Add gdbtk-interps.c. | |
11412 | ||
881324eb KB |
11413 | 2003-02-18 Kevin Buettner <kevinb@redhat.com> |
11414 | ||
11415 | * sparc-tdep.c (sparc_frame_chain): Adjust return value. | |
11416 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare. | |
11417 | ||
6a2f5abf AC |
11418 | 2003-02-18 Andrew Cagney <cagney@redhat.com> |
11419 | ||
11420 | * symtab.h (struct objfile): Add opaque declaration. | |
11421 | ||
54c7009d EZ |
11422 | 2003-02-18 Elena Zannoni <ezannoni@redhat.com> |
11423 | ||
11424 | From Jim Ingham <jingham@apple.com>: | |
fbe586ae RH |
11425 | * dbxread.c (process_one_symbol): Use last_function_start rather |
11426 | than function_start_offset to find the real beginning of the | |
11427 | current function. The latter is just the text section offset on | |
11428 | some systems, the former is always the real function start. | |
54c7009d | 11429 | |
7ee6d7eb AC |
11430 | 2003-02-17 Andrew Cagney <cagney@redhat.com> |
11431 | ||
11432 | * configure.in: Revert ${target} != ${host}. | |
11433 | ||
2846da9b AC |
11434 | 2003-02-17 Andrew Cagney <ac131313@redhat.com> |
11435 | ||
11436 | * configure.in (Makefile): Use the test ${target} != ${host}, | |
11437 | instead of the absence of the "nm.h" file, to determine of the | |
11438 | configuration non-native. | |
11439 | * configure: Regenerate. | |
8ffd9b1b | 11440 | |
3b27aeea EZ |
11441 | 2003-02-14 Elena Zannoni <ezannoni@redhat.com> |
11442 | ||
fbe586ae | 11443 | From Brian Ford <ford@vss.fsi.com> |
3b27aeea EZ |
11444 | |
11445 | * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly | |
11446 | conditionalize tui_active test. | |
11447 | (lookup_cmd_1): Ditto. | |
11448 | ||
b0b1c2c0 MK |
11449 | 2003-02-14 Mark Kettenis <kettenis@gnu.org> |
11450 | ||
11451 | * configure.in: Add check for _etext. | |
11452 | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't | |
11453 | available. | |
11454 | * config.in, configure: regenerated. | |
11455 | ||
8f05cde5 DJ |
11456 | 2003-02-14 Daniel Jacobowitz <drow@mvista.com> |
11457 | ||
11458 | * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base. | |
11459 | ||
021e7609 AC |
11460 | 2003-02-14 Andrew Cagney <ac131313@redhat.com> |
11461 | ||
11462 | * main.c (tui_version): Delete variable. | |
11463 | (captured_main): When --tui, set interpreter_p to "tui" instead of | |
11464 | enabling tui_version. | |
11465 | * printcmd.c (display_command) [TUI]: Test tui_active instead of | |
11466 | tui_version. | |
11467 | * cli/cli-decode.c (lookup_cmd_composition): Ditto. | |
11468 | * cli/cli-cmds.c (disassemble_command): Ditto. | |
11469 | * defs.h (tui_version): Delete declaration. | |
11470 | * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". | |
11471 | (tui-interp.o): Add rules. | |
11472 | (SUBDIR_TUI_OBS): Add "tui-interp.o". | |
11473 | ||
e325dcec CF |
11474 | 2003-02-14 Christopher Faylor <cgf@redhat.com> |
11475 | ||
36ffb041 | 11476 | * win32-nat.c (register_loaded_dll): Correctly set address range for |
e325dcec CF |
11477 | just-loaded dll. |
11478 | ||
c4f90d87 JM |
11479 | 2003-02-12 Jason Molenda (jmolenda@apple.com) |
11480 | ||
fbe586ae RH |
11481 | * symmisc.c (print_objfile_statistics): Include information about |
11482 | the number of psymtabs and symtabs in each object file. | |
c4f90d87 | 11483 | |
e46e5ccd KS |
11484 | 2003-02-13 Keith R Seitz <keiths@redhat.com> |
11485 | ||
11486 | * main.h (struct captured_main_args): Add interpreter_p. | |
11487 | * main.c (captured_main): Initialize interpreter_p from context. | |
11488 | * gdb.c (main): Set interpreter_p argument. | |
11489 | * Makefile.in (gdb.o): Add dependency for interps.h. | |
11490 | ||
fe97fe9c AC |
11491 | 2003-02-12 Andrew Cagney <ac131313@redhat.com> |
11492 | ||
11493 | * event-top.c (cli_command_loop): Delete declaration. | |
11494 | (_initialize_event_loop): Delete function setting event_loop_hook. | |
11495 | * event-top.h (cli_command_loop): Declare. Update copyright. | |
11496 | (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. | |
11497 | * interps.c (current_interp_command_loop): When event_loop_p, call | |
11498 | cli_command_loop. | |
11499 | ||
1cdac4ef AC |
11500 | 2003-02-12 Andrew Cagney <ac131313@redhat.com> |
11501 | ||
11502 | * interps.h (interp_command_loop_ftype): Change return type to | |
11503 | void. | |
11504 | ||
48037ead ML |
11505 | 2003-02-12 Michal Ludvig <mludvig@suse.cz> |
11506 | ||
11507 | * x86-64-tdep.c (x86_64_extract_return_value) | |
11508 | (x86_64_store_return_value): Use regcache instead of regbuf. | |
11509 | (x86_64_gdbarch_init): Change related set_gdbarch_* functions. | |
11510 | * x86-64-linux-nat.c (fill_gregset): Use regcache. | |
11511 | ||
033afc63 AC |
11512 | 2003-02-11 Andrew Cagney <ac131313@redhat.com> |
11513 | ||
11514 | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. | |
11515 | * aclocal.m4: Regenerate. | |
11516 | * configure: Regenerate. | |
11517 | ||
11518 | * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of | |
11519 | TCL_LD_SEARCH_FLAGS. | |
11520 | ||
40d02bca ML |
11521 | 2003-02-10 Michal Ludvig <mludvig@suse.cz> |
11522 | ||
11523 | * dwarf2cfi.c: Reindented. | |
11524 | ||
11308a41 AC |
11525 | 2003-02-09 Andrew Cagney <ac131313@redhat.com> |
11526 | ||
11527 | * interps.c (clear_interpreter_hooks): Convert function definition | |
11528 | to ISO C. | |
11529 | ||
e1c1c0f6 DC |
11530 | 2003-02-07 David Carlton <carlton@math.stanford.edu> |
11531 | ||
11532 | * gdb_mbuild.sh: Delete extra shift after parsing '-f'. | |
11533 | ||
ab5d3da6 KB |
11534 | 2003-02-07 Kevin Buettner <kevinb@redhat.com> |
11535 | ||
11536 | * gdbtypes.h (struct main_type): Move ``length'' field from here... | |
11537 | (struct type): ...to here. | |
11538 | (TYPE_LENGTH): Adjust to reflect different location of ``length'' | |
11539 | field. | |
11540 | * gdbtypes.c (make_qualified_type): Set length on newly created type. | |
11541 | (replace_type): Set length on all type variants for a given type. | |
11542 | ||
b8a92b82 AC |
11543 | 2003-02-07 Andrew Cagney <ac131313@redhat.com> |
11544 | ||
11545 | * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of | |
11546 | <sys/stat.h>. | |
11547 | * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. | |
8ffd9b1b | 11548 | |
5cb316ef AC |
11549 | 2003-02-06 Andrew Cagney <ac131313@redhat.com> |
11550 | ||
2555fe1a AC |
11551 | * Makefile.in (symm-nat.o): Update dependencies. |
11552 | (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. | |
11553 | (lynx-nat.o, ia64-linux-nat.): Ditto. | |
11554 | * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include | |
11555 | "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. | |
11556 | * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. | |
11557 | ||
44270758 AC |
11558 | * Makefile.in (inflow_h): Define. |
11559 | (procfs.o, inflow.o, procfs.o): Update dependencies. | |
11560 | * inftarg.c (child_stop): Delete extern declaration of | |
11561 | inferior_process_group. Include "inflow.h". | |
11562 | * procfs.c (procfs_stop): Ditto. Include "inflow.h". | |
11563 | * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... | |
11564 | * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. | |
11565 | (our_process_group, inferior_process_group): Extern declarations. | |
11566 | ||
df8f7274 AC |
11567 | * procfs.c: Include "gdb_assert.h". |
11568 | ||
5cb316ef AC |
11569 | * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. |
11570 | * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. | |
11571 | * jv-typeprint.c (java_type_print_base): Ditto. | |
11572 | * typeprint.c (typedef_print): Eliminate STREQ. | |
11573 | * cli/cli-script.c (define_command, define_command): Ditto. | |
11574 | * main.c (captured_main): Ditto. | |
11575 | * values.c (lookup_internalvar): Ditto. | |
11576 | * utils.c (safe_strerror, parse_escape): Eliminate assignment | |
11577 | within `if' conditional. | |
11578 | * linespec.c (decode_line_2): Ditto. | |
11579 | * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. | |
11580 | (bfd_openw_with_cleanup): Ditto. | |
11581 | ||
2a28ccea MK |
11582 | 2003-02-07 Mark Kettenis <kettenis@gnu.org> |
11583 | ||
11584 | * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to | |
11585 | legacy_extract_return_value and store_return_value to | |
11586 | legacy_return_value. | |
11587 | ||
786b8124 CF |
11588 | 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk> |
11589 | ||
11590 | * win32-nat.c (get_relocated_section_addrs): New function. Find | |
11591 | section load addresses for symbol handling in relocated DLLs. | |
11592 | (solib_symbols_add): Open a bfd and call get_relocated_section_addrs. | |
11593 | ||
b871e4ec FF |
11594 | 2003-02-05 Fred Fish <fnf@intrinsity.com> |
11595 | ||
11596 | * remote-e7000.c (e7000_drain_command): Fix precedence problem with | |
11597 | '=' and '!='. | |
11598 | * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem | |
11599 | with '&' and '=='. | |
11600 | (angel_RDI_info): Ditto. | |
11601 | * infttrace.c (threads_continue_all_but_one): Fix precedence problem | |
11602 | with '&' and '!='. | |
11603 | (threads_continue_all_with_signals): Ditto. | |
8ffd9b1b | 11604 | |
4389a95a | 11605 | 2003-02-05 Jim Ingham <jingham@apple.com> |
fbe586ae RH |
11606 | Keith Seitz <keiths@redhat.com> |
11607 | Elena Zannoni <ezannoni@redhat.com> | |
11608 | Andrew Cagney <ac131313@redhat.com> | |
4389a95a AC |
11609 | |
11610 | * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". | |
11611 | (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". | |
11612 | (SUBDIR_MI_OBS): Add "mi-interp.o". | |
11613 | (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". | |
11614 | (SFILES): Add "interps.c". | |
11615 | (COMMON_OBS): Add "interps.o". | |
11616 | (interps_h, mi_main_h): Define. | |
11617 | (interps.o, cli-interp.o, mi-interp.o): Add dependencies. | |
11618 | (mi-main.o, main.o, event-top.o): Update dependencies. | |
11619 | * cli/cli-interp.c: New file. | |
11620 | * interps.h, interps.c: New files. | |
11621 | * top.c: (gdb_init): Don't install the default interpreter, handed | |
11622 | by captured_main. | |
11623 | * main.c: Include "interps.h". | |
11624 | (interpreter_p): Note that it should malloc'ed. | |
11625 | (captured_command_loop): Call current_interp_command_loop. | |
11626 | (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use | |
11627 | xfree and xstrdup when updating interpreter_p. Install the | |
11628 | default interpreter. Add hack to stop mi1's copyright notice | |
11629 | being encoded. | |
11630 | * event-top.h (gdb_setup_readline): Declare. | |
11631 | (gdb_disable_readline): Declare. | |
11632 | * event-top.c: Include "interps.h". | |
11633 | (display_gdb_prompt): Call current_interp_display_prompt_p. | |
11634 | (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, | |
11635 | gdb_stdlog, and gdb_stdtarg. | |
11636 | (_initialize_event_loop): Don't call gdb_setup_readline. | |
11637 | * cli-out.c (cli_out_set_stream): New function. | |
11638 | * cli-out.h (cli_out_set_stream): Declare. | |
11639 | ||
ff3b5810 MK |
11640 | 2003-02-06 Mark Kettenis <kettenis@gnu.org> |
11641 | ||
11642 | * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*, | |
11643 | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all | |
11644 | handled fine by i[3456]86-*sco* and i[3456]86-sysv*. | |
11645 | * config/i386/i386sco5.mt, config/i386/i386v4.mt, | |
11646 | config/i386/i386v42mp.mt: Removed. | |
11647 | ||
5b729aa5 MK |
11648 | 2003-02-05 Mark Kettenis <kettenis@gnu.org> |
11649 | ||
11650 | * configure.tgt (*-*-solaris*): Set gdb_osabi to | |
11651 | GDB_OSABI_SOLARIS. | |
11652 | ||
8cc15142 MC |
11653 | 2003-02-05 Michael Chastain <mec@shout.net> |
11654 | ||
11655 | * PROBLEMS (i[3456]86-*-linux*): Warn about binutils | |
11656 | 2.12.1 and earlier versions. | |
11657 | ||
5aa5d4b9 AC |
11658 | 2003-02-05 Andrew Cagney <ac131313@redhat.com> |
11659 | ||
11660 | Remove orphaned hosts, targets and files. | |
11661 | * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. | |
11662 | * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. | |
11663 | * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. | |
11664 | * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. | |
11665 | * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. | |
11666 | * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. | |
11667 | * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. | |
11668 | * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. | |
11669 | * config/sparc/tm-sp64sim.h: Delete. | |
11670 | * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* | |
11671 | hosts. | |
11672 | * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and | |
11673 | mips*-dec-mach3* targets. | |
11674 | ||
b68767c1 MC |
11675 | 2003-02-04 Michael Chastain <mec@shout.net> |
11676 | ||
11677 | * NEWS: Fix typo: sepcifying -> specifying. | |
11678 | ||
5ae7ca1d MC |
11679 | 2003-02-04 Michael Chastain <mec@shout.net> |
11680 | ||
11681 | * dwarfread.c: Add documentation on the state of dwarf-1, | |
11682 | looking towards obsoletion. | |
11683 | ||
d08a4280 MC |
11684 | 2003-02-03 Michael Chastain <mec@shout.net> |
11685 | ||
11686 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, | |
11687 | gdb/testsuite/gdb.c++/pr-1023.exp. | |
11688 | ||
e9be73e4 AC |
11689 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
11690 | ||
11691 | * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. | |
11692 | * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. | |
11693 | ||
11694 | * utils.c (init_page_info): Delete reference to MPW in comments. | |
11695 | * main.c (captured_main): Delete #ifdef MPW. | |
11696 | ||
05d57f6f AC |
11697 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
11698 | ||
8ffd9b1b | 11699 | * NEWS: Note that the m32r-*-elf* is obsolete. |
05d57f6f AC |
11700 | * monitor.c (monitor_expect): Obsolete reference to m32r. |
11701 | * configure.tgt: Mark m32r-*-elf* as obsolete. | |
11702 | * MAINTAINERS: Mark m32k as obsolete. | |
11703 | * m32r-rom.c: Obsolete file. | |
11704 | * config/m32r/m32r.mt: Obsolete file. | |
11705 | * config/m32r/tm-m32r.h: Obsolete file. | |
11706 | * m32r-stub.c: Obsolete file. | |
11707 | * m32r-tdep.c: Obsolete file. | |
11708 | ||
8b0e5691 AC |
11709 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
11710 | ||
11711 | * NEWS: Mention that the z8k-zilog-none is obsolete. | |
11712 | * MAINTAINERS: Mark z8k as obsolete. | |
11713 | * configure.tgt: Obsolete the z8k-*-coff* target. | |
11714 | * config/z8k/z8k.mt: Obsolete file. | |
11715 | * config/z8k/tm-z8k.h: Obsolete file. | |
11716 | * z8k-tdep.c: Obsolete file. | |
11717 | ||
67f16606 AC |
11718 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
11719 | ||
11720 | * NEWS: Mention that the mn10200-elf is obsolete. | |
11721 | * configure.tgt: Obsolete mn10200-*-* target. | |
11722 | * breakpoint.c (update_breakpoints_after_exec): Update comment to | |
11723 | mention that the mn10200 is obsolete. | |
11724 | * breakpoint.h: Ditto. | |
11725 | * MAINTAINERS: Mark the mn10200-elf as obsolete. | |
11726 | * config/mn10200/mn10200.mt: Obsolete file. | |
11727 | * config/mn10200/tm-mn10200.h: Obsolete file. | |
11728 | * mn10200-tdep.c: Obsolete file. | |
11729 | ||
fd2299bd AC |
11730 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
11731 | ||
11732 | * MAINTAINERS: Mark h8500 as obsolete. | |
11733 | * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. | |
11734 | * findvar.c (value_from_register): Ditto. | |
11735 | * h8500-tdep.c: Mark file as obsolete. | |
11736 | * config/h8500/h8500.mt: Ditto. | |
11737 | * config/h8500/tm-h8500.h: Ditto. | |
11738 | * NEWS: Mention that h8500 is obsolete. | |
11739 | ||
eb9a305d DC |
11740 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
11741 | ||
11742 | * objfiles.c (allocate_objfile): Always set name. Add comment at | |
11743 | start of function. | |
11744 | * jv-lang.c (get_dynamics_objfile): Add comment. | |
11745 | ||
406fc7fb DC |
11746 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
11747 | ||
11748 | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. | |
11749 | * printcmd.c (build_address_symbolic): Replace uses of | |
11750 | SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, | |
11751 | SYMBOL_NAME, and asm_demangle. | |
11752 | Update copyright. | |
11753 | ||
93d91629 DC |
11754 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
11755 | ||
11756 | * linespec.c (decode_compound): Extract code into | |
11757 | lookup_prefix_sym. | |
11758 | (lookup_prefix_sym): New function. | |
11759 | ||
1c5cb38e DC |
11760 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
11761 | ||
11762 | * gdbtypes.h: Delete INTEGER_COERCION_BADNESS, | |
11763 | FLOAT_COERCION_BADNESS. | |
11764 | * gdbtypes.c (rank_one_type): Replace all uses of | |
11765 | INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS. | |
11766 | ||
0cf824c9 JB |
11767 | 2003-02-04 Jim Blandy <jimb@redhat.com> |
11768 | ||
11769 | * dwarf2read.c (dwarf2_locate_sections): When we find a macro info | |
11770 | section, let dwarf_macinfo_section point to it, not | |
11771 | dwarf_loc_section. | |
11772 | ||
a2d356b0 DJ |
11773 | 2003-02-04 Daniel Jacobowitz <drow@mvista.com> |
11774 | ||
11775 | Pointed out by Anton Blanchard <anton@samba.org>. | |
11776 | * ppc-linux-tdep.c (insn_is_sigreturn): New function. | |
11777 | (ppc_linux_at_sigtramp_return_path): Use it. | |
11778 | ||
2de7ced7 DJ |
11779 | 2003-02-04 Daniel Jacobowitz <drow@mvista.com> |
11780 | ||
11781 | * defs.h (streq): Add prototype. | |
11782 | * utils.c (streq): New function. | |
11783 | ||
11784 | * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of | |
11785 | SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. | |
11786 | * mdebugread.c (new_symbol): Likewise. | |
11787 | * stabsread.c (define_symbol): Likewise. | |
11788 | * coffread.c (process_coff_symbol): Likewise. | |
11789 | * dwarfread.c (new_symbol): Likewise. | |
11790 | ||
11791 | * minsyms.c (prim_record_minimal_symbol_and_info): Use | |
11792 | SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language | |
11793 | here. | |
11794 | (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call | |
11795 | SYMBOL_INIT_DEMANGLED_NAME. | |
11796 | * objfiles.c: Include "hashtab.h". | |
11797 | (allocate_objfile): Call htab_set_functions_ex for the | |
11798 | demangled_names_hash. | |
11799 | (free_objfile): Call htab_delete for the demangled_names_hash. | |
11800 | * objfiles.h (struct htab): Add declaration. | |
11801 | (struct objfile): Add demangled_names_hash. | |
11802 | * symfile.c: Include "hashtab.h". | |
11803 | (reread_symbols): Call htab_delete for the demangled_names_hash. | |
11804 | (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting | |
11805 | SYMBOL_NAME in the bcache. | |
11806 | * symtab.c: Include "hashtab.h". Update comments. | |
11807 | (create_demangled_names_hash, symbol_set_names): New functions. | |
11808 | (symbol_find_demangled_name): New function, broken out from | |
11809 | symbol_init_demangled_names. | |
11810 | (symbol_init_demangled_names): Use it. | |
11811 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. | |
11812 | (SYMBOL_SET_NAMES): New macro. | |
11813 | (symbol_set_names): Add prototype. | |
11814 | ||
15831452 JB |
11815 | 2003-02-03 Jim Blandy <jimb@redhat.com> |
11816 | ||
11817 | Use a single, consistent representation for an empty minimal | |
11818 | symbol table in an objfile. | |
11819 | * objfiles.c (terminate_minimal_symbol_table): New function. | |
11820 | (allocate_objfile): Call it. | |
11821 | * objfiles.h (terminate_minimal_symbol_table): New declaration. | |
11822 | (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is | |
8ffd9b1b | 11823 | non-NULL. |
15831452 JB |
11824 | * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether |
11825 | objfile has minimal symbols, compare minimal_symbol_count to zero, | |
11826 | instead of comparing msymbols with NULL. | |
11827 | * objfiles.c (have_minimal_symbols): Same. | |
11828 | * solib-sunos.c (solib_add_common_symbols): Call | |
11829 | terminate_minimal_symbol_table. | |
11830 | * symfile.c (reread_symbols): Same. | |
8ffd9b1b | 11831 | |
ffc65945 KB |
11832 | 2003-02-03 Kevin Buettner <kevinb@redhat.com> |
11833 | ||
11834 | * s390-tdep.c (s390_address_class_type_flags) | |
11835 | (s390_address_class_type_flags_to_name) | |
11836 | (s390_address_class_name_to_type_flags): New functions. | |
11837 | (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, | |
11838 | ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS. | |
11839 | ||
f211c6d4 MS |
11840 | 2003-02-03 Michael Snyder <msnyder@redhat.com> |
11841 | ||
11842 | * arm-tdep.c: Fix spell-o in comment. | |
11843 | ||
659b0389 ML |
11844 | 2003-02-03 Michal Ludvig <mludvig@suse.cz> |
11845 | ||
11846 | * dwarf2cfi.c (pointer_encoding): Added new parameter. | |
11847 | * dwarf2cfi.c, dwarf2read.c: Changed all warnings and | |
8ffd9b1b | 11848 | error messages to contain BFD filename. |
659b0389 | 11849 | |
3b31d625 EZ |
11850 | 2003-02-02 Elena Zannoni <ezannoni@redhat.com> |
11851 | ||
997b089a | 11852 | Fix PR gdb/742 gdb/743 gdb/877 |
3b31d625 EZ |
11853 | * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. |
11854 | (do_mixed_source_and_assembly): Use | |
11855 | make_cleanup_ui_out_tuple_begin_end and | |
11856 | make_cleanup_ui_out_tuple_begin_end. | |
11857 | (do_mixed_source_and_assembly): Ditto. | |
11858 | * thread.c (do_captured_list_thread_ids): Ditto. | |
11859 | * ui-out.h (ui_out_table_begin, ui_out_list_begin, | |
11860 | ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, | |
11861 | ui_out_tuple_end): Delete prototypes. | |
11862 | * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, | |
11863 | ui_out_list_end, ui_out_tuple_end): Delete. | |
11864 | ||
11865 | From Kevin Buettner <kevinb@redhat.com>: | |
11866 | * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. | |
fbe586ae RH |
11867 | * ui-out.c (make_cleanup_ui_out_table_begin_end) |
11868 | (do_cleanup_table_end): New functions. | |
11869 | * breakpoint.c (print_it_typical, print_one_breakpoint, mention): | |
11870 | Use cleanups to invoke_ui_out_tuple_end(). | |
11871 | (breakpoint_1): Use cleanup to invoke ui_out_table_end(). | |
3b31d625 EZ |
11872 | * cli/cli-setshow.c (cmd_show_list): Use |
11873 | make_cleanup_ui_out_tuple_begin_end. | |
8ffd9b1b | 11874 | |
5b181d62 AC |
11875 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
11876 | ||
11877 | * frame.c (frame_unwind_register): New function. | |
11878 | (frame_unwind_unsigned_register): Use. | |
11879 | (frame_unwind_signed_register): Use. | |
11880 | (frame_read_register): New function. | |
11881 | * frame.h (frame_unwind_register): Declare. | |
11882 | (frame_read_register): Declare. | |
11883 | ||
11884 | * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write | |
11885 | and frame_unwind_register instead of read_memory, write_register | |
11886 | and deprecated_write_register_bytes. | |
11887 | ||
5f601589 AC |
11888 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
11889 | ||
11890 | * frame.h: Note that namelen can be negative. | |
11891 | * frame.c (frame_map_name_to_regnum): When LEN is negative, use | |
11892 | NAME's length. | |
11893 | ||
11894 | * NEWS: Mention that the d10v's `regs' command is deprecated. | |
11895 | * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. | |
11896 | (d10v_print_registers_info): New function. | |
11897 | (show_regs): Call d10v_print_registers_info. | |
11898 | (_initialize_d10v_tdep): Mark "show regs" command as deprecated. | |
11899 | ||
6a3fe0a4 MK |
11900 | 2003-02-02 Mark Kettenis <kettenis@gnu.org> |
11901 | ||
11902 | * stack.c (print_frame_info): Restore call to annotate_frame_begin | |
11903 | lost in the previous patch. | |
11904 | ||
075559bc AC |
11905 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
11906 | ||
11907 | From 2002-11-09 Jason Molenda (jason-cl@molenda.com) | |
fbe586ae RH |
11908 | * stack.c (print_frame_info_base): Output complete FRAME tuple |
11909 | for synthesized frames. | |
075559bc | 11910 | |
6789195b AC |
11911 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
11912 | ||
11913 | * mips-nat.c (zerobuf): Delete. | |
11914 | (fetch_inferior_registers): Alloc local zerobuf. | |
11915 | (fetch_core_registers): Alloc local zerobuf. | |
11916 | * d10v-tdep.c (show_regs): Don't allocate a dynamic array using | |
11917 | MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. | |
11918 | * thread-db.c (thread_db_store_registers): Ditto. | |
11919 | * sh-tdep.c (sh_do_register): Ditto. | |
11920 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
11921 | * remote-sim.c (gdbsim_store_register): Ditto. | |
11922 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
11923 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
11924 | * monitor.c (monitor_supply_register): Ditto. | |
11925 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
11926 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
11927 | * m68klinux-nat.c (fetch_register): Ditto. | |
11928 | * lynx-nat.c (fetch_inferior_registers): Ditto. | |
11929 | (fetch_inferior_registers): Ditto. | |
11930 | * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
11931 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
11932 | (hpux_thread_store_registers): Ditto. | |
11933 | * hppah-nat.c (fetch_register): Ditto. | |
11934 | * hppab-nat.c (fetch_register): Ditto. | |
11935 | * hppa-tdep.c (pa_register_look_aside): Ditto. | |
11936 | (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. | |
11937 | * dve3900-rom.c (fetch_bitmapped_register): Ditto. | |
11938 | ||
e669114a AC |
11939 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
11940 | ||
11941 | * gdbarch.sh: Explictly specify all method levels. When a | |
11942 | variable with an empty level, provide a non-multi-arch default. | |
11943 | (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. | |
11944 | * gdbarch.h: Re-generate. | |
11945 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. | |
11946 | * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1 | |
11947 | ||
9a043c1d AC |
11948 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
11949 | ||
11950 | * defs.h (host_pointer_to_address): Delete declaration. | |
11951 | (address_to_host_pointer): Delete declaration. | |
11952 | * utils.c (host_pointer_to_address): Delete function. | |
11953 | (address_to_host_pointer): Delete function. | |
11954 | * procfs.c (procfs_address_to_host_pointer): New function. | |
11955 | * procfs.c (proc_set_watchpoint): Use. | |
11956 | (procfs_can_use_hw_breakpoint): Update comments. | |
11957 | * somsolib.c (hpux_address_to_host_pointer_hack): New function. | |
11958 | (som_solib_add): Use. | |
11959 | * hppa-tdep.c (hppa_pointer_to_address_hack): New function. | |
11960 | * hppa-tdep.c (unwind_command): Use. | |
8ffd9b1b | 11961 | |
7ca9f392 AC |
11962 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
11963 | ||
94bbfd30 AC |
11964 | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and |
11965 | strlen d_name. | |
11966 | ||
7ca9f392 AC |
11967 | * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, |
11968 | ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. | |
11969 | (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. | |
11970 | * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. | |
11971 | (define_symbol): Update. | |
11972 | * symfile.c (generic_load): Remove references to nindy. | |
11973 | * symtab.c: Remove references to nindy. | |
11974 | ||
31a85ea2 AC |
11975 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
11976 | ||
11977 | * infcmd.c (print_float_info): Delete code conditional on | |
11978 | FLOAT_INFO. | |
11979 | * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. | |
11980 | * config/m68k/nm-apollo68b.h: Ditto. | |
11981 | * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. | |
11982 | * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. | |
11983 | * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. | |
11984 | ||
f6e85fc8 MK |
11985 | 2003-02-01 Mark Kettenis <kettenis@gnu.org> |
11986 | ||
6015b6a0 MK |
11987 | * config/i386/tm-i386os9k.h: Removed. |
11988 | ||
f7a30bdf MK |
11989 | * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v. |
11990 | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since | |
11991 | they're identical to i[3456]86-*-sysv* now. | |
11992 | * config/i386/i386v32.mh: Removed. | |
11993 | * config/i386/xm-i386v32.h: Removed. | |
11994 | * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro. | |
11995 | ||
28d52111 MK |
11996 | * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed. |
11997 | ||
4d3f6bce MK |
11998 | * config/i386/i386dgux.mh: Removed. |
11999 | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4. | |
12000 | ||
f6e85fc8 MK |
12001 | * configure.in: Fix typo. |
12002 | * configure: Regenerated. | |
12003 | ||
53955967 DC |
12004 | 2003-01-31 David Carlton <carlton@math.stanford.edu> |
12005 | ||
12006 | * dwarf2read.c (dwarf2_locate_sections): Set | |
12007 | dwarf_ranges_section. | |
12008 | ||
b1364885 AC |
12009 | 2003-01-31 Andrew Cagney <ac131313@redhat.com> |
12010 | ||
8dbb1c65 AC |
12011 | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. |
12012 | * utils.c: Update comments documenting legitimate uses of PTR. | |
8ffd9b1b | 12013 | |
8731e58e AC |
12014 | * utils.c: Re-indent. |
12015 | ||
b1364885 AC |
12016 | * config/djgpp/fnchange.lst: Delete nindy files. |
12017 | * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. | |
12018 | * nindy-share/nindy.c, nindy-share/env.h: Delete files. | |
12019 | * nindy-share/coff.h, nindy-share/block_io.h: Delete files. | |
12020 | * nindy-share/b.out.h, nindy-share/VERSION: Delete files. | |
12021 | * nindy-share/README, nindy-share/Onindy.c: Delete files. | |
12022 | * nindy-tdep.c, nindy-share/Makefile: Delete files. | |
12023 | * Makefile.in (init.c): Remove nindy references. | |
12024 | (saber_gdb): Delete rule. | |
12025 | (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, | |
12026 | nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, | |
12027 | and a68v-nat.c. | |
12028 | (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. | |
12029 | (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. | |
12030 | (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, | |
12031 | nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and | |
12032 | nindy-share/stop.h. | |
12033 | * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. | |
12034 | * saber.suppress: Delete file. | |
12035 | ||
086df311 DJ |
12036 | 2003-01-31 Daniel Jacobowitz <drow@mvista.com> |
12037 | ||
12038 | * dbxread.c (stabs_data): New static variable. | |
12039 | (fill_symbuf): Support an in-memory buffer for stabs data. | |
12040 | (stabs_seek): New function. | |
12041 | (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. | |
12042 | (read_ofile_symtab): Use stabs_seek. | |
12043 | (elfstab_build_psymtabs): Take an asection* instead of | |
12044 | an offset and size. Relocate the stabs data if necessary. | |
12045 | Save the section* for dbx_psymtab_to_symtab. | |
12046 | * dwarf2read.c: Add section variables for each debug section. | |
12047 | (dwarf2_locate_sections): Fill them in. | |
12048 | (dwarf2_read_section): Take an asection* argument. | |
12049 | Relocate the section contents if necessary. | |
12050 | (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. | |
12051 | * dwarf2cfi.c (parse_frame_info): Take a section argument and pass | |
12052 | it to dwarf2_read_section. | |
12053 | (dwarf2_build_frame_info): Update callers. | |
12054 | * elfread.c (elf_symfile_read): Update call to | |
12055 | elfstab_build_psymtabs. | |
12056 | * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. | |
12057 | (DBX_STAB_SECTION): New macro. | |
8ffd9b1b | 12058 | * stabsread.h (elfstab_build_psymtabs): Update prototype. |
086df311 DJ |
12059 | * symfile.c (symfile_dummy_outputs): New function. |
12060 | (symfile_relocate_debug_section): New function. | |
12061 | * symfile.h (symfile_relocate_debug_section): Add prototype. | |
12062 | ||
87d1b352 RH |
12063 | 2003-01-31 Richard Henderson <rth@redhat.com> |
12064 | ||
12065 | * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ... | |
12066 | (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. | |
12067 | (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. | |
12068 | * alpha-tdep.c (alpha_register_name): Add "unique". | |
12069 | * alpha-tdep.h (ALPHA_NUM_REGS): Increment. | |
12070 | (ALPHA_UNIQUE_REGNUM): New. | |
12071 | * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New. | |
12072 | ||
c48861fb AC |
12073 | 2003-01-31 Andrew Cagney <ac131313@redhat.com> |
12074 | ||
12075 | * README: Remove reference to Ericsson 1800 monitor. | |
12076 | * Makefile.in (remote-es.o): Delete rule. | |
12077 | (ALLDEPFILES): Delete remote-es.c. | |
12078 | * remote-es.c: Delete file. | |
12079 | * config/m68k/es1800.mt: Delete file. | |
12080 | * config/djgpp/fnchange.lst: Update. | |
12081 | * configure.tgt: Delete m68*-ericsson-* target. | |
12082 | ||
d764a824 AF |
12083 | 2003-01-31 Adam Fedor <fedor@gnu.org> |
12084 | ||
12085 | * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc. | |
12086 | Remove duplicate/shadowing variable of same name. | |
12087 | ||
fe36c4f4 JB |
12088 | 2003-01-30 Jim Blandy <jimb@redhat.com> |
12089 | ||
12090 | * symfile.c (find_separate_debug_file): Assert that the objfile's | |
12091 | directory name we compute ends with a slash, and then assume that | |
12092 | that's so everywhere we use it. | |
12093 | ||
cb741690 DJ |
12094 | 2003-01-30 Daniel Jacobowitz <drow@mvista.com> |
12095 | ||
12096 | * valops.c (value_assign): Flush frame cache after stores to memory | |
12097 | also. | |
12098 | ||
96ee5227 AC |
12099 | 2003-01-30 Andrew Cagney <ac131313@redhat.com> |
12100 | ||
12101 | * Makefile.in (mon960-rom.o): Delete rule. | |
12102 | * mon960-rom.c: Delete file. | |
12103 | ||
7f6104a9 AC |
12104 | 2003-01-30 Andrew Cagney <ac131313@redhat.com> |
12105 | ||
12106 | * d10v-tdep.c: Include "frame-unwind.h". | |
12107 | (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate | |
12108 | list. | |
12109 | (next_addr, uses_frame): Delete. | |
12110 | (struct d10v_unwind_cache): Define. | |
12111 | (prologue_find_regs): Add struct d10v_unwind_cache info parameter. | |
12112 | Use info instead of next_addr and uses_frame globals. | |
12113 | (d10v_frame_init_saved_regs): Delete function. | |
12114 | (d10v_init_extra_frame_info): Delete function. | |
12115 | (d10v_gdbarch_init): Do not initialize init_extra_frame_info, | |
12116 | frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, | |
12117 | init_frame_pc or frame_saved_pc. | |
12118 | (d10v_pop_frame): Delete function. | |
12119 | (do_d10v_pop_frame): Delete function. | |
12120 | (d10v_frame_chain): Delete function. | |
12121 | (d10v_frame_chain_valid): Delete function. | |
12122 | (d10v_frame_pc_unwind): New function. | |
12123 | (d10v_frame_id_unwind): New function. | |
12124 | (saved_regs_unwinder): New function. | |
12125 | (d10v_frame_register_unwind): New function. | |
12126 | (d10v_frame_pop): New function. | |
12127 | (d10v_frame_unwind): New variable. | |
12128 | (d10v_frame_p): New function. | |
12129 | (d10v_frame_saved_pc): Delete function. | |
12130 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
12131 | ||
cad2e848 JB |
12132 | 2003-01-30 J. Brobecker <brobecker@gnat.com> |
12133 | ||
12134 | * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef | |
12135 | causing some regressions due to a change in the default value | |
12136 | for this macro. | |
12137 | ||
af34e669 DJ |
12138 | 2003-01-29 Richard Henderson <rth@redhat.com> |
12139 | Elena Zannoni <ezannoni@redhat.com> | |
12140 | Daniel Jacobowitz <drow@mvista.com> | |
12141 | ||
12142 | Fix PR gdb/961. | |
8ffd9b1b | 12143 | * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New |
af34e669 DJ |
12144 | variables. |
12145 | (RANGES_SECTION): New. | |
12146 | (dwarf_ranges_buffer): New variable. | |
12147 | (struct comp_unit_head): Add member "die". | |
12148 | (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. | |
12149 | (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. | |
12150 | (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. | |
12151 | (dwarf2_locate_sections): Likewise. | |
12152 | (dwarf2_build_psymtabs): Read .debug_ranges. | |
12153 | (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. | |
12154 | (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. | |
12155 | (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. | |
12156 | Look for DW_AT_ranges and return the bounding box. | |
12157 | ||
baa93fa6 CF |
12158 | 2003-01-29 Brian Ford <ford@vss.fsi.com> |
12159 | ||
12160 | * win32-nat.c (cygwin_pid): Removed as unused. | |
12161 | (child_attach): Try fall back to Cygwin pid. | |
12162 | ||
c63f977f JB |
12163 | 2003-01-29 Jim Blandy <jimb@redhat.com> |
12164 | ||
12165 | * objfiles.h (struct objfile): Doc fix. | |
12166 | ||
d62d1979 AC |
12167 | 2003-01-29 Andrew Cagney <ac131313@redhat.com> |
12168 | ||
12169 | * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. | |
12170 | (legacy_get_prev_frame): Assert FRAME_CHAIN_P. | |
12171 | (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. | |
12172 | (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. | |
12173 | * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. | |
12174 | (FRAME_SAVED_PC): Change to a function with predicate. | |
12175 | * gdbarch.h, gdbarch.c: Re-generate. | |
12176 | ||
1ae18a04 AC |
12177 | 2003-01-28 Andrew Cagney <ac131313@redhat.com> |
12178 | ||
52287340 AC |
12179 | * hppah-nat.c (child_pid_to_exec_file): Don't use boolean. |
12180 | ||
1ae18a04 AC |
12181 | * complaints.c (complain): Delete function. |
12182 | * complaints.h (struct deprecated_complaint): Delete definition. | |
12183 | (complain): Delete declaration. | |
12184 | ||
f2c16bd6 KB |
12185 | 2003-01-28 Kevin Buettner <kevinb@redhat.com> |
12186 | ||
12187 | * mips-tdep.c (mips_init_extra_frame_info): Return early for | |
12188 | dummy frames. | |
12189 | ||
a94dd1fd AC |
12190 | 2003-01-27 Andrew Cagney <ac131313@redhat.com> |
12191 | ||
12192 | * sentinel-frame.h, sentinel-frame.c: New files. | |
12193 | * Makefile.in (frame.o): Update dependencies. | |
12194 | (SFILES): Add sentinel-frame.c. | |
12195 | (sentinel_frame_h): Define. | |
12196 | (COMMON_OBS): Add sentinel-frame.o. | |
12197 | (sentinel-frame.o): Specify dependencies. | |
12198 | * frame.c: Include "sentinel-frame.h". | |
12199 | (frame_register_unwind): Rewrite assuming that there is always a a | |
12200 | ->next frame. | |
12201 | (frame_register, generic_unwind_get_saved_register): Ditto. | |
12202 | (frame_read_unsigned_register, frame_read_signed_register): Ditto. | |
12203 | (create_sentinel_frame, unwind_to_current_frame): New functions. | |
12204 | (get_current_frame): Rewrite using create_sentinel_frame and | |
12205 | unwind_to_current_frame. When possible, always create a frame. | |
12206 | (create_new_frame): Set next to the sentinel frame. | |
12207 | (get_next_frame): Rewrite. Don't go below the level 0 frame. | |
12208 | (deprecated_update_frame_pc_hack): Update the next frame's PC and | |
12209 | ID cache when necessary. | |
12210 | (frame_saved_regs_id_unwind): Use frame_relative_level. | |
12211 | (deprecated_generic_get_saved_register): Use frame_relative_level, | |
12212 | get_frame_saved_regs, get_frame_pc, get_frame_base and | |
12213 | get_next_frame. | |
12214 | (frame_saved_regs_register_unwind): Use get_frame_saved_regs and | |
12215 | frame_register. | |
12216 | ||
5378adc4 DJ |
12217 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
12218 | ||
12219 | * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments. | |
12220 | ||
51ee2ddc DJ |
12221 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
12222 | ||
12223 | * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] | |
12224 | (maintenance_set_profile_cmd): Use error () instead of warning (). | |
12225 | ||
d9feb4e7 DJ |
12226 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
12227 | ||
12228 | * configure.in: Check that -pg works if using --enable-profiling. | |
12229 | Check for monstartup and _mcleanup regardless of --enable-profiling. | |
12230 | * maint.c: Check for monstartup and _mcleanup before using them. | |
12231 | * config.in: Regenerated. | |
12232 | * configure: Regenerated. | |
12233 | ||
2d188dd3 NC |
12234 | 2003-01-24 Nick Clifton <nickc@redhat.com> |
12235 | ||
12236 | * Add sh2e support: | |
12237 | ||
12238 | 2002-04-02 Elena Zannoni <ezannoni@redhat.com> | |
12239 | ||
12240 | * gdb/sh-tdep.c (sh_sh2e_register_name): New. | |
12241 | (sh2e_show_regs): New. | |
12242 | (sh_gdbarch_init): Handle bfd_mach_sh2e. | |
12243 | * config/sh/tm-sh.h: Added sh2e to comments. | |
12244 | ||
cb3c37b2 JB |
12245 | 2003-01-23 Jim Blandy <jimb@redhat.com> |
12246 | ||
12247 | * symfile.c (syms_from_objfile): Don't print the "(no debugging | |
12248 | symbols found)" message here; we haven't checked for a separate | |
12249 | debug info file yet, so we don't know yet. | |
12250 | (symbol_file_add_with_addrs_or_offsets): Print it here, after | |
12251 | we've looked everywhere. Also, there's no need to print a special | |
12252 | message when we're loading the separate debug info file: the one | |
12253 | symbol_file_add prints is fine. | |
12254 | ||
5b5d99cf JB |
12255 | 2003-01-23 Alexander Larsson <alexl@redhat.com> |
12256 | Jim Blandy <jimb@redhat.com> | |
12257 | ||
12258 | Add support for executables whose debug info has been separated | |
12259 | out into a separate file, leaving only a link behind. | |
12260 | * objfiles.h (struct objfile): New fields: separate_debug_objfile | |
12261 | and separate_debug_objfile_backlink. | |
12262 | (put_objfile_before): New declaration. | |
12263 | * symfile.c: #include "filenames.h". | |
12264 | (symbol_file_add_with_addrs_or_offsets): If this objfile has its | |
12265 | debug info in a separate file, read that, too. Save the addrs | |
12266 | argument, so we can use it again to read the separated debug info; | |
12267 | syms_from_objfile modifies the table we pass it. | |
12268 | (reread_symbols): After re-reading an objfile, call | |
12269 | reread_separate_symbols to refresh its separate debug info | |
12270 | objfile, if it has one. | |
12271 | (reread_separate_symbols, find_separate_debug_file, | |
12272 | get_debug_link_info, separate_debug_file_exists): New functions. | |
12273 | (debug_file_directory): New global var. | |
12274 | (_initialize_symfile): Initialize debug_file_directory, and | |
12275 | provide the new `set debug-file-directory' command to let the user | |
12276 | change it. | |
12277 | * objfiles.c (free_objfile): If this objfile has its debug info in | |
12278 | a separate objfile, free that one too. If this is itself a | |
12279 | separate debug info objfile, clear our parent's backlink. | |
12280 | (put_objfile_before): New function. | |
12281 | * utils.c (gnu_debuglink_crc32): New function. | |
12282 | * defs.h (gnu_debuglink_crc32): New declaration. | |
12283 | * Makefile.in (symfile.o): Note dependency on "filenames.h". | |
12284 | * configure.in: Handle --with-separate-debug-dir config option. | |
12285 | * acinclude.m4 (AC_DEFINE_DIR): New macro. | |
12286 | * acconfig.h (DEBUGDIR): New macro. | |
12287 | * configure, aclocal.m4, config.in: Regenerated. | |
12288 | ||
7e8580c1 JB |
12289 | 2003-01-22 Jim Blandy <jimb@redhat.com> |
12290 | ||
7904e09f JB |
12291 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New function, |
12292 | like the old symbol_file_add, but taking new arguments: you can | |
12293 | now pass in either a `struct section_addr_info' list to say where | |
12294 | each section is loaded, or a `struct section_offsets' table. Pass | |
12295 | these new arguments through to syms_from_objfile as appropriate. | |
8ffd9b1b | 12296 | (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, |
7904e09f JB |
12297 | with the appropriate quiescent values for the new arguments. |
12298 | ||
7e8580c1 JB |
12299 | * symfile.c: #include "gdb_assert.h". |
12300 | (syms_from_objfile): Add the ability to pass in a section offset | |
12301 | table directly, as an alternative to the section_addr_info table. | |
12302 | Document arguments better. | |
12303 | (symbol_file_add): Pass extra arguments to syms_from_objfile. | |
12304 | * symfile.h (syms_from_objfile): Update declaration. | |
12305 | * rs6000-nat.c (objfile_symbol_add): Pass new arguments to | |
12306 | syms_from_objfile. | |
12307 | * Makefile.in (symfile.o): List dependency on $(gdb_assert_h). | |
12308 | ||
d28f9cdf DJ |
12309 | 2003-01-22 Daniel Jacobowitz <drow@mvista.com> |
12310 | ||
12311 | Original patch by Tom Tromey <tromey@cygnus.com> and | |
12312 | Jason Molenda <jmolenda@apple.com>. | |
12313 | * Makefile.in (PROFILE_CFLAGS): Substitute from configure. | |
12314 | (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. | |
12315 | * NEWS: Mention profiling. | |
12316 | * configure.in (--enable-gdbtk): Fix typo. | |
12317 | (--enable-profiling): New. Set PROFILE_CFLAGS. | |
12318 | * maint.c (maintenance_set_profile_cmd): Remove NOTYET. | |
12319 | Fill in function. | |
12320 | (profiling_state): New variable. | |
12321 | (mcleanup_wrapper): New function. | |
12322 | (_initialize_maint): Remove NOTYET, fix call to | |
12323 | add_setshow_boolean_cmd for "maint set profile". | |
12324 | * configure: Regenerated. | |
12325 | ||
df21e465 MH |
12326 | 2003-01-21 Martin M. Hunt <hunt@redhat.com> |
12327 | ||
12328 | * Makefile.in (install-gdbtk): Install PNG images too. | |
12329 | ||
73c1f219 AC |
12330 | 2003-01-21 Andrew Cagney <ac131313@redhat.com> |
12331 | ||
12332 | * exec.c (text_start): Delete global variable. | |
12333 | (exec_file_attach): Make text_start local to the function. | |
12334 | * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. | |
12335 | * valops.c (hand_function_call): Delete code that handles | |
12336 | BEFORE_TEXT_END and AFTER_TEXT_END. | |
12337 | * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead | |
12338 | of CALL_DUMMY_LOCATION. | |
12339 | * gdbarch.c: Regenerate. | |
12340 | * inferior.h (deprecated_pc_in_call_dummy_before_text_end) | |
12341 | (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. | |
12342 | * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) | |
12343 | (deprecated_pc_in_call_dummy_after_text_end): Delete functions. | |
12344 | (text_end): Delete extern declaration. | |
12345 | ||
eb4f72c5 AC |
12346 | 2003-01-21 Andrew Cagney <ac131313@redhat.com> |
12347 | ||
12348 | * frame.h (FRAME_OBSTACK_ZALLOC): Define. | |
12349 | * blockframe.c (backtrace_below_main): Move to "frame.c". | |
12350 | (frame_chain_valid): Delete check for backtrace_below_main. | |
12351 | (_initialize_blockframe): Delete initialization, move ``set | |
12352 | backtrace-below-main'' command to "frame.c". | |
12353 | (do_flush_frames_sfunc): Delete function. | |
12354 | * frame.c: Include "command.h" and "gdbcmd.h". | |
12355 | (frame_type_from_pc): New function. | |
12356 | (create_new_frame): Use frame_type_from_pc. | |
12357 | (legacy_get_prev_frame): New function. | |
12358 | (get_prev_frame): Rewrite. When an old style frame, call | |
12359 | legacy_get_prev_frame. Otherwize, unwind the PC first. | |
12360 | (_initialize_frame): Add ``set backtrace-below-main'' command. | |
12361 | * Makefile.in (frame.o): Update dependencies. | |
12362 | ||
778ce8cc AC |
12363 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
12364 | ||
12365 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename | |
12366 | DEPRECATED_REGISTERS_INFO. | |
12367 | ||
01c193c8 AC |
12368 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
12369 | ||
12370 | * MAINTAINERS: Replace `Blanket Write Privs' with `Global | |
12371 | Maintainers'. Update `Various Maintainers'. | |
12372 | ||
dedc2a2b AC |
12373 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
12374 | ||
12375 | * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. | |
12376 | * gdbarch.sh (POP_FRAME): Change to function with predicate. | |
12377 | Suppress actual parameters when `-'. | |
12378 | * gdbarch.h, gdbarch.c: Regenerate. | |
12379 | ||
b7261c70 AC |
12380 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
12381 | ||
12382 | * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore | |
12383 | code handling dummy frames. | |
12384 | ||
dbe9fe58 AC |
12385 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
12386 | ||
12387 | * frame-unwind.h (frame_unwind_pop_ftype): Declare. | |
12388 | (struct frame_unwind): Add field pop. | |
12389 | * frame.h (frame_pop): Declare. | |
12390 | * frame.c (frame_saved_regs_pop): New function. | |
12391 | (trad_frame_unwinder): Add frame_saved_regs_pop. | |
12392 | (frame_pop): New function. | |
12393 | * dummy-frame.c (dummy_frame_pop): New function. | |
12394 | (discard_innermost_dummy): New function. | |
12395 | (generic_pop_dummy_frame): Use discard_innermost_dummy. | |
12396 | (dummy_frame_unwind): Add dummy_frame_pop. | |
12397 | * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. | |
12398 | * valops.c (hand_function_call): Ditto. | |
12399 | * stack.c (return_command): Ditto. | |
12400 | ||
570b8f7c AC |
12401 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
12402 | ||
12403 | * cris-tdep.c: Fix function declaration indentation. | |
12404 | * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. | |
12405 | * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. | |
12406 | * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. | |
12407 | * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. | |
12408 | * xcoffread.c, config/pa/tm-hppa.h: Ditto. | |
12409 | * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto. | |
12410 | ||
12411 | 2003-01-18 Michael Chastain <mec@shout.net> | |
eaec4d85 MC |
12412 | |
12413 | * README (Unpacking and Installation -- quick overview): | |
12414 | Warn against ".../gdb-5.3/gdb/configure". | |
12415 | ||
494cca16 AC |
12416 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
12417 | ||
12418 | * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. | |
12419 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
12420 | (struct frame_unwind): Declare opaque. | |
12421 | (dummy_frame_p): Declare function. | |
12422 | * dummy-frame.c (dummy_frame_id_unwind): Make static. | |
12423 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
12424 | * dummy-frame.c: Include "frame-unwind.h". | |
12425 | (dummy_frame_p): New function. | |
12426 | (dummy_frame_unwind): New variable. | |
12427 | * frame.c: Include "frame-unwind.h". | |
12428 | (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update | |
12429 | to use the new unwind field. | |
12430 | (set_unwind_by_pc): Delete function. | |
12431 | (create_new_frame, get_prev_frame): Set unwind field using | |
12432 | frame_unwind_find_by_pc. | |
12433 | (trad_frame_unwind, trad_frame_unwinder): New variables. | |
12434 | * frame.h (trad_frame_unwind): Declare variable. | |
12435 | (frame_id_unwind_ftype): Delete declaration. | |
12436 | (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. | |
12437 | (struct frame_unwind): Declare opaque. | |
12438 | (struct frame_info): Replace the fields id_unwind, pc_unwind and | |
12439 | register_unwind with a single unwind pointer. | |
12440 | * frame-unwind.h, frame-unwind.c: New files. | |
12441 | * Makefile.in (SFILES): Add frame-unwind.c. | |
12442 | (frame_unwind_h): Define. | |
12443 | (COMMON_OBS): Add frame-unwind.o. | |
12444 | (frame-unwind.o): Specify dependencies. | |
12445 | (frame.o, dummy-frame.o): Update dependencies. | |
8ffd9b1b | 12446 | |
4efb68b1 AC |
12447 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
12448 | ||
12449 | * ada-valprint.c: Eliminate PTR. | |
12450 | * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. | |
12451 | * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. | |
12452 | * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. | |
12453 | * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. | |
12454 | * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. | |
12455 | * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. | |
12456 | * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. | |
8ffd9b1b | 12457 | |
a84d24ee AC |
12458 | 2003-01-17 Andrew Cagney <ac131313@redhat.com> |
12459 | ||
762f08a3 AC |
12460 | * main.c (captured_main): Don't use PTR. |
12461 | * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. | |
12462 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
12463 | (lookup_struct_elt_type): Ditto. | |
12464 | * f-valprint.c (info_common_command): Ditto. | |
12465 | (list_all_visible_commons): Ditto. | |
12466 | * jv-typeprint.c (java_type_print_base): Ditto. | |
12467 | ||
a84d24ee AC |
12468 | * config/djgpp/fnchange.lst: Rename mi1-var-block.exp, |
12469 | mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. | |
12470 | Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename | |
12471 | i386-interix-nat.c and i386-interix-tdep.c. Rename | |
12472 | m68klinux-nat.c and m68klinux-tdep.c. Rename | |
12473 | config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename | |
12474 | bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename | |
12475 | gdb/objc-exp.tab.c and gdb/ada-exp.tab.c | |
12476 | * main.c (captured_main): Use xfree, not free. | |
12477 | ||
c170fb60 AC |
12478 | 2003-01-16 Andrew Cagney <ac131313@redhat.com> |
12479 | ||
12480 | * frame.h (frame_id_unwind_ftype): Change type so that the frame's | |
12481 | ID back using a parameter. | |
12482 | * frame.c (frame_id_unwind): Update call. | |
12483 | (frame_saved_regs_id_unwind): Update. | |
12484 | * dummy-frame.c (dummy_frame_id_unwind): Update function. | |
12485 | * dummy-frame.h (struct frame_id): Add opaque declaration. | |
12486 | (dummy_frame_id_unwind): Update declaration. | |
12487 | ||
867f3898 AC |
12488 | 2003-01-15 Andrew Cagney <ac131313@redhat.com> |
12489 | ||
12490 | * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. | |
12491 | ||
40622be8 | 12492 | 2003-01-15 Stephen P. Smith <ischis2@cox.net> |
de3a8c23 | 12493 | |
40622be8 | 12494 | * MAINTAINERS (Stephen P. Smith): Updated email address. |
de3a8c23 | 12495 | |
ae66c1fc EZ |
12496 | 2003-01-14 Elena Zannoni <ezannoni@redhat.com> |
12497 | ||
997b089a | 12498 | Fix PR gdb/898 |
ae66c1fc EZ |
12499 | * breakpoint.c (until_break_command): Add new argument. Use it to |
12500 | decide whether to stop only at the current frame or not. | |
12501 | * breakpoint.h (until_break_command): Update prototype. | |
8ffd9b1b | 12502 | * infcmd.c (until_command): Add new argument to until_break_command |
ae66c1fc EZ |
12503 | call. |
12504 | (advance_command): New function. | |
12505 | (_initialize_infcmd): Update help string for 'until' command. | |
12506 | Add new 'advance' command. | |
12507 | ||
a04257e6 DC |
12508 | 2003-01-14 David Carlton <carlton@math.stanford.edu> |
12509 | ||
12510 | * linespec.c (decode_line_1): Normalize comments. | |
12511 | (set_flags): Ditto. | |
12512 | (locate_first_half): Ditto. | |
12513 | (decode_compound): Ditto. | |
12514 | (symtab_from_filename): Ditto. | |
12515 | (decode_all_digits): Ditto. | |
12516 | (decode_dollar): Ditto. | |
12517 | (find_methods): Ditto. | |
12518 | (find_toplevel_char): Ditto. | |
12519 | ||
1bac305b AC |
12520 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
12521 | ||
12522 | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. | |
12523 | * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. | |
12524 | * elfread.c, eval.c, expprint.c, expression.h: Update copyright. | |
12525 | * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. | |
12526 | * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. | |
12527 | * language.c, language.h, m32r-tdep.c: Update copyright. | |
12528 | * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. | |
12529 | * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. | |
12530 | * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. | |
12531 | * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. | |
12532 | * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. | |
12533 | * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. | |
12534 | ||
25caa7a8 EZ |
12535 | 2003-01-13 Elena Zannoni <ezannoni@redhat.com> |
12536 | ||
12537 | * stabsread.h (process_later, resolve_cfront_continuation): | |
12538 | Obsolete. | |
12539 | Update copyright years. | |
12540 | * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. | |
12541 | Update copyright year. | |
12542 | * dbxread.c(struct cont_elem): Obsolete. | |
8ffd9b1b | 12543 | (process_later, process_now): Obsolete functions. |
25caa7a8 EZ |
12544 | (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. |
12545 | Update copyright year. | |
12546 | * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. | |
12547 | (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions. | |
12548 | * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront. | |
12549 | (parse_partial_symbols): Obsolete cfront support. | |
12550 | * stabsread.c | |
12551 | (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete | |
12552 | macros. | |
12553 | (get_substring, get_cfront_method_physname, msg_unknown_complaint, | |
12554 | read_cfront_baseclasses, read_cfront_member_functions, | |
12555 | resolve_cfront_continuation,read_cfront_static_fields, | |
12556 | copy_cfront_struct_fields): Obsolete functions. | |
12557 | (define_symbol, read_one_struct_field): Obsolete cfront support. | |
12558 | * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support. | |
12559 | Update Copyright year. | |
12560 | ||
7789c6f5 EZ |
12561 | 2003-01-13 Elena Zannoni <ezannoni@redhat.com> |
12562 | ||
12563 | * stack.c (print_frame_info, print_stack_frame_base_stub, | |
12564 | print_stack_frame_base, show_and_print_stack_frame_stub, | |
12565 | show_and_print_stack_frame, print_only_stack_frame_stub, | |
12566 | print_only_stack_frame): Delete functions. | |
12567 | (print_stack_frame_stub): Call print_frame_info instead of | |
12568 | print_frame_info_base. | |
12569 | (print_frame_info_base): Rename to print_frame_info. | |
12570 | (backtrace_command_1): Call print_frame_info, instead of | |
12571 | print_frame_info_base. | |
12572 | (current_frame_command): Call print_stack_frame, instead of | |
12573 | print_only_stack_frame. | |
12574 | (frame_command): Call print_stack_frame, instead of | |
12575 | show_and_print_stack_frame. | |
12576 | (up_command): Ditto. | |
12577 | (down_command): Ditto. | |
12578 | * frame.h (print_only_stack_frame): Delete prototype. | |
12579 | * infrun.c (normal_stop): Call print_stack_frame, instead of | |
12580 | show_and_print_stack_frame. | |
12581 | * thread.c (info_threads_command): Call print_stack_frame, instead | |
12582 | of print_only_stack_frame. | |
12583 | ||
3f5a3016 AC |
12584 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
12585 | ||
d99ba314 AC |
12586 | * README (Graphical interface to GDB): Update URL. Point at |
12587 | gdb/links/. | |
12588 | ||
3f5a3016 AC |
12589 | * gdb_indent.sh: Update to version 2.2.9. Warn when not exact |
12590 | version match. | |
12591 | ||
083ae935 DJ |
12592 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
12593 | ||
12594 | * symtab.c (find_pc_sect_line): Don't consider end-of-function | |
12595 | lines. | |
12596 | ||
5365276c DJ |
12597 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
12598 | ||
12599 | * thread-db.c (attach_thread): Prototype. | |
12600 | (struct private_thread_info): Remove lwpid. Add thread handle (th), | |
12601 | thread information (ti), and valid flags (th_valid, ti_valid). | |
12602 | (attach_thread): Move target_pid_to_str call to after the thread | |
12603 | is added to GDB's list. Initialize the cache. | |
12604 | (thread_get_info_callback, thread_db_map_id2thr) | |
12605 | (thread_db_get_info): New functions. | |
12606 | (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers) | |
12607 | (thread_db_store_registers, thread_db_thread_alive) | |
12608 | (thread_db_get_thread_local_address): Use them. | |
12609 | (thread_db_pid_to_str): Likewise. Return "Missing" instead | |
12610 | of calling error() for threads in unknown state. | |
12611 | ||
12612 | (clear_lwpid_callback): New function. | |
12613 | (thread_db_resume): Use it to clear the cache. | |
12614 | ||
9fc30b6b DJ |
12615 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
12616 | ||
12617 | * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove. | |
12618 | (resume_callback): Remove dead code. | |
12619 | ||
8f871025 AC |
12620 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
12621 | ||
12622 | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with | |
12623 | predicate. | |
12624 | * gdbarch.h, gdbarch.c: Regenerate. | |
12625 | * stack.c (frame_info): Only initialize the saved registers when | |
12626 | FRAME_INIT_SAVED_REGS_P. | |
12627 | * frame.c (frame_saved_regs_register_unwind): Assert | |
12628 | FRAME_INIT_SAVED_REGS_P. | |
12629 | (deprecated_generic_get_saved_register): Ditto. | |
12630 | ||
3f565f1e DJ |
12631 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
12632 | ||
12633 | * source.c (openp): Squelch warning about "filename". | |
12634 | ||
072b1022 DJ |
12635 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
12636 | ||
12637 | * source.c (openp): If the file does not exist don't necessarily | |
12638 | search the path. | |
12639 | ||
973ccf8b DJ |
12640 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
12641 | ||
12642 | Fix PR gdb/872. | |
12643 | * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
12644 | (integer_types_same_name_p): New function. | |
12645 | (rank_one_type): Use it. | |
12646 | * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
12647 | ||
030292b7 DJ |
12648 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
12649 | ||
12650 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New | |
12651 | variables. | |
12652 | (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). | |
12653 | * configure.in: Add --with-sysroot. | |
12654 | * configure: Regenerated. | |
12655 | * main.c (gdb_sysroot): New variable. | |
12656 | (captured_main): Initialize gdb_sysroot. | |
12657 | * defs.h (gdb_sysroot): New extern declaration. | |
12658 | * solib.c (_initialize_solib): Initialize solib_absolute_prefix. | |
12659 | ||
afb5d334 MC |
12660 | 2003-01-12 Michael Chastain <mec@shout.net> |
12661 | ||
12662 | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002. | |
12663 | ||
751ceeb4 MC |
12664 | 2003-01-12 Michael Chastain <mec@shout.net> |
12665 | ||
12666 | * top.c (print_gdb_version): Bump copyright year to 2003. | |
12667 | ||
94cd26f8 DC |
12668 | 2003-01-12 David Carlton <carlton@bactrian.org> |
12669 | ||
12670 | * linespec.c (symtab_from_filename): Rename variable 's' to | |
12671 | 'file_symtab'. | |
12672 | ||
1ce79225 AC |
12673 | 2003-01-12 Andrew Cagney <ac131313@redhat.com> |
12674 | ||
12675 | * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a | |
12676 | dummy frame. | |
12677 | (d10v_frame_saved_pc, d10v_frame_chain): Ditto. | |
12678 | ||
fa1fd571 AC |
12679 | 2003-01-12 Andrew Cagney <ac131313@redhat.com> |
12680 | ||
12681 | * d10v-tdep.c: Include "gdb_assert.h". | |
12682 | (d10v_store_return_value): Rewrite to match current interface. | |
12683 | (d10v_extract_struct_value_address): Ditto. | |
12684 | (d10v_extract_return_value): Ditto. | |
12685 | (d10v_gdbarch_init): Set store_restore_value, | |
12686 | extract_struct_value_address and extract_return_value. | |
12687 | ||
68b8d23e JB |
12688 | 2003-01-12 J. Brobecker <brobecker@gnat.com> |
12689 | ||
12690 | * hpread.c (set_namestring): New procedure replacing the | |
12691 | SET_NAMESTRING macro. | |
12692 | (hpread_build_psymtabs): Replace calls to SET_NAMESTRING | |
12693 | by calls to set_namestring. | |
12694 | ||
12695 | 2003-01-11 J. Brobecker <brobecker@gnat.com> | |
1fb309ea JB |
12696 | |
12697 | * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix | |
12698 | a compilation warning. | |
12699 | (hpread_process_one_debug_symbol): Likewise. | |
12700 | ||
88d262ca DC |
12701 | 2003-01-10 David Carlton <carlton@math.stanford.edu> |
12702 | ||
12703 | * linespec.c (decode_line_1): Rename variable 's' to | |
12704 | 'file_symtab'. | |
12705 | (decode_all_digits): Rename argument 's' to 'file_symtab'. | |
12706 | (decode_dollar): Ditto. | |
12707 | (decode_variable): Ditto. | |
12708 | (symbol_found): Ditto. | |
12709 | ||
86669319 MC |
12710 | 2003-01-09 Michael Chastain <mec@shout.net> |
12711 | ||
12712 | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++. | |
12713 | ||
616a9dc4 CV |
12714 | 2003-01-07 Corinna Vinschen <vinschen@redhat.com> |
12715 | ||
12716 | * win32-nat.c (set_process_privilege): New function. | |
12717 | (child_attach): Call set_process_privilege() to enable the | |
12718 | SE_DEBUG_NAME user privilege if available in process token. | |
12719 | ||
3269bcfa JB |
12720 | 2003-01-10 J. Brobecker <brobecker@gnat.com> |
12721 | ||
12722 | * hpread.c (hpread_process_one_debug_symbol): Fix a small | |
12723 | compilation error in the previous revision. | |
12724 | ||
2b0ee454 DC |
12725 | 2003-01-09 David Carlton <carlton@math.stanford.edu> |
12726 | ||
12727 | * linespec.c: Update copyright. | |
12728 | ||
b3ba1b44 DJ |
12729 | 2003-01-09 Daniel Jacobowitz <drow@mvista.com> |
12730 | ||
12731 | * lin-lwp.c (child_wait): Ignore exit statuses for processes other | |
12732 | than inferior_ptid. | |
12733 | (lin_lwp_wait): Ignore exit statuses for unknown LWPs. | |
12734 | ||
4ef3f3be AC |
12735 | 2003-01-09 Andrew Cagney <ac131313@redhat.com> |
12736 | ||
479ab5a0 AC |
12737 | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. |
12738 | Update comments. | |
12739 | * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. | |
12740 | (frame_saved_regs_zalloc): Update. | |
12741 | (frame_saved_regs_register_unwind): Update. | |
12742 | (create_new_frame): Update. | |
12743 | (get_prev_frame): Update. | |
12744 | (frame_extra_info_zalloc): Update. | |
12745 | (deprecated_get_frame_saved_regs): Update. | |
12746 | * dwarf2cfi.c (cfi_init_extra_frame_info): Update. | |
12747 | * cris-tdep.c: Update comment. | |
12748 | ||
bde58177 AC |
12749 | * somsolib.h: Fix function indentation. |
12750 | * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. | |
12751 | * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. | |
12752 | * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. | |
12753 | * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. | |
12754 | * somsolib.c, inftarg.c: Remove assignment in if conditional. | |
12755 | ||
4ef3f3be AC |
12756 | * infrun.c (follow_fork): Use ISO C definition. |
12757 | * expprint.c (print_subexp): Use xfree instead of free. | |
12758 | * charset.c: Include "gdb_string.h" instead of <string.h>. | |
12759 | (register_iconv_charsets): Use ISO C definition. | |
12760 | (host_charset, target_charset): Ditto. | |
12761 | * Makefile.in (charset.o): Update dependencies. | |
12762 | (mi-cmd-env.o): Update dependencies. | |
12763 | ||
1c615f7a AC |
12764 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
12765 | ||
12766 | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use | |
12767 | get_frame_base. | |
12768 | ||
c9a1dc08 AC |
12769 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
12770 | ||
12771 | * gdb_mbuild.sh: Add --keep option. When specified, keep the | |
12772 | build directories. Save edited gdb output in Mbuild.log. If a | |
12773 | build fails, remove any final GDB executable. | |
12774 | ||
dbad9d94 AC |
12775 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
12776 | ||
12777 | * gdb_mbuild.sh: Edit the output of `maint print architecture' | |
12778 | replacing hex constants with function names and stripping leading | |
12779 | file name directory prefixes. | |
12780 | ||
8d357cca AC |
12781 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
12782 | ||
12783 | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and | |
12784 | get_frame_base. | |
12785 | ||
bca02a8a DC |
12786 | 2003-01-08 David Carlton <carlton@math.stanford.edu> |
12787 | ||
12788 | * linespec.c (decode_line_1): Move code into decode_variable. | |
12789 | (decode_variable): New function. | |
12790 | ||
7f8ab3a0 AC |
12791 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
12792 | ||
12793 | * mn10300-tdep.c (analyze_dummy_frame): Fix typo. | |
12794 | ||
7b5849cc AC |
12795 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
12796 | ||
12797 | * cris-tdep.c (cris_frame_init_saved_regs): Use | |
12798 | get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a | |
12799 | saved_regs buffer. | |
12800 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
12801 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
12802 | (sh_fp_frame_init_saved_regs): Ditto. | |
12803 | * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. | |
12804 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
12805 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
12806 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
12807 | ||
72a5efb3 DJ |
12808 | 2003-01-08 Daniel Jacobowitz <drow@mvista.com> |
12809 | ||
12810 | * minsyms.c (lookup_minimal_symbol): Update comment. | |
12811 | (lookup_minimal_symbol_text): Update comment. Use the hash table. | |
12812 | (lookup_minimal_symbol_solib_trampoline): Likewise. | |
12813 | ||
11c02a10 AC |
12814 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
12815 | ||
aab3ea25 AC |
12816 | * d10v-tdep.c (d10v_init_extra_frame_info): Use |
12817 | frame_relative_level. | |
12818 | ||
da50a4b7 AC |
12819 | * alpha-tdep.c: Use get_frame_extra_info. |
12820 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12821 | * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. | |
12822 | * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
12823 | * sparc-tdep.c, xstormy16-tdep.c: Ditto. | |
12824 | ||
11c02a10 AC |
12825 | * alpha-tdep.c: Use get_next_frame. |
12826 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12827 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
12828 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. | |
12829 | * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. | |
12830 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. | |
12831 | * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. | |
12832 | * xstormy16-tdep.c: Ditto. | |
8ffd9b1b | 12833 | |
1e2330ba AC |
12834 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
12835 | ||
12836 | * alpha-tdep.c: Use get_frame_base. | |
12837 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12838 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
12839 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
12840 | * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
12841 | * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. | |
12842 | * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
12843 | * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. | |
12844 | * config/sparc/tm-sparc.h: Ditto. | |
8ffd9b1b | 12845 | |
2d75187b AC |
12846 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
12847 | ||
12848 | * frame.c (deprecated_get_frame_context): New function. | |
12849 | (deprecated_set_frame_context): New function. | |
12850 | * frame.h (deprecated_get_frame_context): Declare. | |
12851 | (deprecated_set_frame_context): Declare. | |
12852 | * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. | |
12853 | (cfi_init_extra_frame_info): Use deprecated_set_frame_context. | |
8ffd9b1b | 12854 | |
483d36b2 AC |
12855 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
12856 | ||
12857 | * frame.c (deprecated_set_frame_next_hack): New function. | |
12858 | (deprecated_set_frame_prev_hack): New function. | |
12859 | * frame.h (deprecated_set_frame_next_hack): Declare. | |
12860 | (deprecated_set_frame_prev_hack): Declare. | |
12861 | * mcore-tdep.c (analyze_dummy_frame): Use | |
12862 | deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. | |
12863 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
12864 | ||
14e91ac5 DC |
12865 | 2003-01-07 David Carlton <carlton@math.stanford.edu> |
12866 | ||
12867 | * linespec.c (decode_line_1): Move code into decode_dollar. | |
12868 | (decode_dollar): New function. | |
12869 | ||
b0c6b05c AC |
12870 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
12871 | ||
12872 | * arm-tdep.c (arm_init_extra_frame_info): Use | |
12873 | deprecated_update_frame_base_hack. | |
12874 | * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. | |
12875 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
12876 | (fix_frame_pointer): Ditto. | |
12877 | (mn10300_analyze_prologue): Ditto. | |
12878 | ||
a00a19e9 AC |
12879 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
12880 | ||
12881 | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate | |
12882 | extra_info using frame_extra_info_zalloc. | |
12883 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
12884 | * sh-tdep.c (sh_init_extra_frame_info): Ditto. | |
12885 | (sh64_init_extra_frame_info): Ditto. | |
12886 | * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. | |
12887 | * s390-tdep.c (s390_init_extra_frame_info): Ditto. | |
12888 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
12889 | * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. | |
12890 | * frv-tdep.c (frv_init_extra_frame_info): Ditto. | |
12891 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. | |
12892 | * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. | |
12893 | * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. | |
12894 | * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. | |
12895 | * cris-tdep.c (cris_init_extra_frame_info): Ditto. | |
12896 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
12897 | * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. | |
12898 | ||
12899 | * mn10300-tdep.c (analyze_dummy_frame): Use | |
12900 | deprecated_set_frame_extra_info_hack. | |
12901 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
12902 | ||
1fb4c65b JB |
12903 | 2003-01-07 J. Brobecker <brobecker@gnat.com> |
12904 | ||
12905 | * mdebugread.c (parse_symbol): Skip stProc entries which storage | |
12906 | class is not scText. These do not define "real" procedures. | |
12907 | (parse_partial_symbols): Likewise. | |
12908 | ||
9fe7d6bf MS |
12909 | 2003-01-06 Michael Snyder <msnyder@redhat.com> |
12910 | ||
12911 | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. | |
12912 | ||
f6c609c4 AC |
12913 | 2003-01-06 Andrew Cagney <ac131313@redhat.com> |
12914 | ||
12915 | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. | |
12916 | * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. | |
12917 | * arm-tdep.c (arm_frame_chain): Allocate caller_fi using | |
12918 | deprecated_frame_xmalloc_with_cleanup. | |
12919 | * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using | |
12920 | deprecated_frame_xmalloc. | |
12921 | * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. | |
12922 | * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame. | |
12923 | ||
d995ff4b AC |
12924 | 2003-01-06 Andrew Cagney <cagney@redhat.com> |
12925 | ||
84dc46cb AC |
12926 | * x86-64-linux-tdep.c: Include "osabi.h". |
12927 | * Makefile.in (x86-64-linux-tdep.o): Update dependencies. | |
12928 | ||
d995ff4b AC |
12929 | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach. |
12930 | ||
66140c26 AC |
12931 | 2003-01-06 Andrew Cagney <cagney@redhat.com> |
12932 | ||
12933 | * MAINTAINERS (Target Instruction Set Architectures): Update | |
12934 | arm-elf. Can be built with -Werror, has been multiarched. | |
12935 | ||
12936 | * value.h (unpack_long): Make buffer parameter constant. | |
12937 | (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. | |
12938 | * scm-lang.h (scm_parse): Ditto. | |
12939 | * defs.h (extract_typed_address, extract_address): Ditto. | |
12940 | (extract_long_unsigned_integer): Ditto. | |
12941 | * inferior.h (unsigned_pointer_to_address): Ditto. | |
12942 | (signed_pointer_to_address): Ditto. | |
12943 | * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. | |
12944 | * gdbarch.h, gdbarch.c: Regenerate. | |
12945 | * findvar.c (extract_long_unsigned_integer): Update. | |
12946 | (extract_address): Update. | |
12947 | (extract_typed_address): Update. | |
12948 | (unsigned_pointer_to_address): Update. | |
12949 | * values.c (unpack_long): Update. | |
12950 | (unpack_double): Update. | |
12951 | (unpack_pointer): Update. | |
12952 | (unpack_field_as_long): Update. | |
12953 | * d10v-tdep.c (d10v_pointer_to_address): Update. | |
12954 | * avr-tdep.c (avr_pointer_to_address): Update. | |
12955 | * scm-lang.c (scm_unpack): Update. | |
12956 | * findvar.c (signed_pointer_to_address): Update. | |
12957 | ||
b089b3da ML |
12958 | 2003-01-06 Michal Ludvig <mludvig@suse.cz> |
12959 | ||
8ffd9b1b | 12960 | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore |
b089b3da ML |
12961 | since it is in i386-tdep.c. |
12962 | ||
aff87235 JB |
12963 | 2003-01-06 J. Brobecker <brobecker@gnat.com> |
12964 | ||
12965 | * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation | |
12966 | failure introduced in the previous change. | |
12967 | ||
34f5e845 MC |
12968 | 2003-01-05 Michael Chastain <mec@shout.net> |
12969 | ||
12970 | * README: Remove references to deleted remote-*.c files: | |
12971 | remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, | |
12972 | remote-nrom.c, remote-os9k.c, remote-udi.c. | |
12973 | ||
28bcfd30 MK |
12974 | 2003-01-05 Mark Kettenis <kettenis@gnu.org> |
12975 | ||
12976 | * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64. | |
12977 | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about | |
12978 | i386_get_longjmp_target. | |
12979 | ||
15a5b3ee AC |
12980 | 2003-01-05 Andrew Cagney <ac131313@redhat.com> |
12981 | ||
12982 | * arm-tdep.c (prologue_cache): Change to a pointer. | |
12983 | (_initialize_arm_tdep): Allocate prologue_cache. | |
12984 | (check_prologue_cache): Update. | |
12985 | (save_prologue_cache): Update. | |
12986 | (arm_gdbarch_init): Update. | |
12987 | ||
c263362b DJ |
12988 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
12989 | ||
12990 | * stabsread.c (update_method_name_from_physname): Call complaint() | |
12991 | instead of error. | |
12992 | ||
51603483 DJ |
12993 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
12994 | ||
12995 | * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. | |
12996 | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. | |
12997 | * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. | |
12998 | ||
12999 | * blockframe.c: Include "gdbcmd.h" and "command.h". | |
13000 | (backtrace_below_main): New variable. | |
13001 | (file_frame_chain_valid, func_frame_chain_valid) | |
13002 | (nonnull_frame_chain_valid, generic_file_frame_chain_valid) | |
13003 | (generic_func_frame_chain_valid): Remove functions. | |
13004 | (frame_chain_valid, do_flush_frames_sfunc): New functions. | |
13005 | (_initialize_blockframe): New function. | |
13006 | * Makefile.in (blockframe.o): Update dependencies. | |
13007 | * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME | |
13008 | comment. Call frame_chain_valid (). | |
13009 | * frame.h: Remove old prototypes. Add prototype for | |
13010 | frame_chain_valid and update comments to match. | |
13011 | * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. | |
13012 | Remove old comment. | |
13013 | * gdbarch.h: Regenerated. | |
13014 | * gdbarch.c: Regenerated. | |
13015 | ||
13016 | * alpha-tdep.c (alpha_gdbarch_init): Don't call | |
13017 | set_gdbarch_frame_chain_valid. | |
13018 | * avr-tdep.c (avr_gdbarch_init): Likewise. | |
13019 | * cris-tdep.c (cris_gdbarch_init): Likewise. | |
13020 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
13021 | * h8300-tdep.c (h8300_gdbarch_init): Likewise. | |
13022 | * i386-tdep.c (i386_svr4_init_abi): Likewise. | |
13023 | (i386_nw_init_abi): Likewise. | |
13024 | (i386_gdbarch_init): Likewise. | |
13025 | * ia64-tdep.c (ia64_gdbarch_init): Likewise. | |
13026 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
13027 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
13028 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
13029 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
13030 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
13031 | * ns32k-tdep.c (ns32k_gdbarch_init): Likewise. | |
13032 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise. | |
13033 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
13034 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
13035 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
13036 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
13037 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
13038 | * vax-tdep.c (vax_gdbarch_init): Likewise. | |
13039 | * x86-64-tdep.c (x86_64_init_abi): Likewise. | |
13040 | ||
13041 | * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define. | |
13042 | * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise. | |
13043 | * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise. | |
13044 | * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise. | |
13045 | * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise. | |
13046 | * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise. | |
13047 | * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise. | |
13048 | * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise. | |
13049 | ||
b00a8037 DJ |
13050 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
13051 | ||
13052 | * Makefile.in (acconfig_h): Remove incorrect macro. | |
13053 | (config_h): Define. | |
13054 | (osabi.o): Update dependencies. | |
13055 | * configure.tgt: Set gdb_osabi based on target triplet. | |
13056 | * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. | |
13057 | * configure: Regenerated. | |
13058 | * config.in: Regenerated. | |
13059 | * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". | |
13060 | (GDB_OSABI_DEFAULT): Define if not already defined. | |
13061 | (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) | |
13062 | (set_osabi_string): New variables. | |
13063 | (gdbarch_register_osabi): Add new OS ABI to | |
13064 | gdb_osabi_available_names. | |
13065 | (gdbarch_lookup_osabi): Honor specified and default OS ABIs. | |
13066 | (set_osabi, show_osabi): New functions. | |
13067 | (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands. | |
13068 | ||
4be87837 DJ |
13069 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
13070 | ||
13071 | * arch-utils.c (gdbarch_info_init): Set osabi to | |
13072 | GDB_OSABI_UNINITIALIZED. | |
13073 | * gdbarch.sh: Add osabi to struct gdbarch and to struct | |
13074 | gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi | |
13075 | in gdbarch_list_lookup_by_info and in gdbarch_update_p. | |
13076 | * gdbarch.c: Regenerated. | |
13077 | * gdbarch.h: Regenerated. | |
13078 | * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if | |
13079 | there's no BFD. | |
13080 | (gdbarch_init_osabi): Remove osabi argument; use info.osabi. | |
13081 | * osabi.h (enum gdb_osabi): Move to defs.h. | |
13082 | (gdbarch_init_osabi): Update prototype. | |
13083 | * defs.h (enum gdb_osabi): Moved here. | |
13084 | * Makefile.in: Update dependencies. | |
13085 | ||
13086 | * alpha-tdep.h: Don't include "osabi.h". | |
13087 | (struct gdbarch_tdep): Remove osabi member. | |
13088 | * alpha-tdep.c: Include "osabi.h". | |
13089 | (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
13090 | iterate over arches. Update call to gdbarch_init_osabi. | |
13091 | (alpha_dump_tdep): Don't dump osabi. | |
13092 | * alpha-linux-tdep.c: Include "osabi.h". | |
13093 | * alpha-osf1-tdep.c: Include "osabi.h". | |
13094 | * alphafbsd-tdep.c: Include "osabi.h". | |
13095 | * alphanbsd-tdep.c: Include "osabi.h". | |
13096 | ||
13097 | * arm-tdep.h: Don't include "osabi.h". | |
13098 | (struct gdbarch_tdep): Remove osabi member. | |
13099 | * arm-tdep.c: Include "osabi.h". | |
13100 | (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
13101 | iterate over arches. Update call to gdbarch_init_osabi. | |
13102 | (arm_dump_tdep): Don't dump osabi. | |
13103 | * arm-linux-tdep.c: Include "osabi.h". | |
13104 | * armnbsd-tdep.c: Include "osabi.h". | |
13105 | ||
13106 | * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi. | |
13107 | Update call to gdbarch_init_osabi. | |
13108 | ||
13109 | * i386-tdep.h: Don't include "osabi.h". | |
13110 | (struct gdbarch_tdep): Remove osabi member. | |
13111 | * i386-tdep.c: Include "osabi.h". | |
13112 | (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
13113 | iterate over arches. Update call to gdbarch_init_osabi. | |
13114 | (i386_dump_tdep): Don't dump osabi. | |
13115 | * i386-linux-tdep.c: Include "osabi.h". | |
13116 | * i386-sol2-tdep.c: Include "osabi.h". | |
13117 | * i386bsd-tdep.c: Include "osabi.h". | |
13118 | * i386gnu-tdep.c: Include "osabi.h". | |
13119 | * i386ly-tdep.c: Include "osabi.h". | |
13120 | * i386nbsd-tdep.c: Include "osabi.h". | |
13121 | * i386obsd-tdep.c: Include "osabi.h". | |
13122 | ||
13123 | * mips-tdep.c (struct gdbarch_tdep): Remove osabi member. | |
13124 | (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
13125 | check osabi when iterating over arches. Update call to | |
13126 | gdbarch_init_osabi. | |
13127 | (mips_dump_tdep): Don't dump osabi. | |
13128 | ||
13129 | * ns32k-tdep.h: Don't include "osabi.h". | |
13130 | (struct gdbarch_tdep): Remove. | |
13131 | * ns32k-tdep.c (ns32k_gdbarch_init): Don't call | |
13132 | gdbarch_lookup_osabi. Don't iterate over arches. Don't | |
13133 | allocate tdep. Update call to gdbarch_init_osabi. | |
13134 | (ns32k_dump_tdep): Remove. | |
13135 | (_initialize_ns32k_tdep): Update call to gdbarch_register. | |
13136 | * ns32knbsd-tdep.c: Include "osabi.h". | |
13137 | ||
13138 | * ppc-tdep.h: Don't include "osabi.h". | |
13139 | (struct gdbarch_tdep): Remove osabi member. | |
13140 | * rs6000-tdep.c: Include "osabi.h". | |
13141 | (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check | |
13142 | osabi when iterating over arches. Update call to | |
13143 | gdbarch_init_osabi. | |
13144 | (rs6000_dump_tdep): Don't dump osabi. | |
13145 | * ppc-linux-tdep.c: Include "osabi.h". | |
13146 | * ppcnbsd-tdep.c: Include "osabi.h". | |
13147 | ||
13148 | * sh-tdep.h: Don't include "osabi.h". | |
13149 | (struct gdbarch_tdep): Remove osabi member. | |
13150 | * sh-tdep.c: Include "osabi.h". | |
13151 | (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
13152 | iterate over arches. Update call to gdbarch_init_osabi. | |
13153 | (sh_dump_tdep): Don't dump osabi. | |
13154 | * shnbsd-tdep.c: Include "osabi.h". | |
13155 | ||
13156 | * sparc-tdep.c: Include "osabi.h". | |
13157 | (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
13158 | iterate over arches. Update call to gdbarch_init_osabi. | |
13159 | (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the | |
13160 | tdep structure. | |
13161 | ||
13162 | * vax-tdep.h: Don't include "osabi.h". | |
13163 | (struct gdbarch_tdep): Remove. | |
13164 | * vax-tdep.c: Include "osabi.h". | |
13165 | (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
13166 | iterate over arches. Don't allocate tdep. Update call | |
13167 | to gdbarch_init_osabi. | |
13168 | (vax_dump_tdep): Remove. | |
13169 | (_initialize_vax_tdep): Update call to gdbarch_register. | |
13170 | ||
a881cf8e DJ |
13171 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
13172 | ||
13173 | * breakpoint.c (insert_breakpoints): Skip disabled breakpoints | |
13174 | entirely. | |
13175 | (breakpoint_re_set_one): Don't fetch the value for a disabled | |
13176 | watchpoint. | |
13177 | ||
1e698235 DJ |
13178 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
13179 | ||
13180 | * buildsym.h (processing_hp_compilation): Remove obsolete variable. | |
13181 | * gdbarch.sh Remove include of "value.h" in gdbarch.h. | |
13182 | (COERCE_FLOAT_TO_DOUBLE): Remove. | |
13183 | * gdbarch.c: Regenerate. | |
13184 | * gdbarch.h: Regenerate. | |
13185 | * Makefile.in: Remove value_h from gdbarch_h. | |
13186 | * valops.c (coerce_float_to_double): New variable. | |
13187 | (default_coerce_float_to_double): Remove. | |
13188 | (standard_coerce_float_to_double): Remove. | |
13189 | (value_arg_coerce): Use coerce_float_to_double. | |
13190 | (_initialize_valops): Add "set coerce-float-to-double". | |
13191 | * value.h (default_coerce_float_to_double): Remove prototype. | |
13192 | (standard_coerce_float_to_double): Remove prototype. | |
13193 | ||
13194 | * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as | |
13195 | prototyped. | |
13196 | * mdebugread.c (parse_symbol): Likewise. | |
13197 | * stabsread.c (define_symbol): Mark all functions as prototyped. | |
13198 | ||
13199 | * hppa-tdep.c (hppa_coerce_float_to_double): Remove. | |
13200 | * alpha-tdep.c (alpha_gdbarch_init): Remove call to | |
13201 | set_gdbarch_coerce_float_to_double. | |
13202 | * arm-tdep.c (arm_gdbarch_init): Likewise. | |
13203 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
13204 | * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). | |
13205 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
13206 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
13207 | (mips_coerce_float_to_double): Remove. | |
13208 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
13209 | (rs6000_coerce_float_to_double): Remove. | |
13210 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
13211 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
13212 | (sh_coerce_float_to_double): Remove. | |
13213 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
13214 | (sparc_coerce_float_to_double): Remove. | |
13215 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
13216 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
13217 | * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
13218 | * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. | |
13219 | (hppa_coerce_float_to_double): Remove prototype. | |
13220 | * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
13221 | ||
f436a26a DJ |
13222 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
13223 | ||
13224 | * regformats/reg-m68k.dat: Remove fpcode and fpflags. | |
13225 | ||
248f8055 DJ |
13226 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
13227 | ||
13228 | Suggested by Stewart Brown <sb24@avaya.com>: | |
13229 | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show | |
13230 | in recursive calls. Handle TYPE_CODE_TYPEDEF. | |
13231 | (c_type_print_varspec_suffix): Likewise. | |
13232 | ||
72cfdc76 MK |
13233 | 2003-01-04 Mark Kettenis <kettenis@gnu.org> |
13234 | ||
bfd260bb MK |
13235 | * configure.in: Don't set and AC_SUBST SUBDIRS. |
13236 | * configure: Regenerated. | |
13237 | ||
72cfdc76 MK |
13238 | * configure.in: Remove code dealing with shared libraries. |
13239 | * Makefile.in: Remove HLDFLAGS and HLDENV. | |
13240 | * configure: Regenerated. | |
13241 | ||
c8b8a898 AC |
13242 | 2003-01-04 Andrew Cagney <ac131313@redhat.com> |
13243 | ||
13244 | * frame.c (deprecated_frame_xmalloc): New function. | |
13245 | (deprecated_set_frame_saved_regs_hack): New function. | |
13246 | (deprecated_set_frame_extra_info_hack): New function. | |
13247 | * frame.h (deprecated_frame_xmalloc): Declare. | |
13248 | (deprecated_set_frame_saved_regs_hack): Declare. | |
13249 | (deprecated_set_frame_extra_info_hack): Declare. | |
13250 | ||
14abd0fb MK |
13251 | 2003-01-04 Mark Kettenis <kettenis@gnu.org> |
13252 | ||
8ee53726 MK |
13253 | * configure.in: Move code that provides the --enable-gdbtk option |
13254 | right after the code that handles the --enable-tui option, and | |
13255 | polish it somewhat. | |
13256 | * configure: Regenerated. | |
13257 | ||
14abd0fb MK |
13258 | * configure.in: Call AC_GNU_SOURCE. Check for pread64 using |
13259 | AC_CHECK_FUNCS and remove the old check for pread64. | |
13260 | * acinclude.m4 (AC_GNU_SOURCE): New macro. | |
13261 | * acconfig.h (_GNU_SOURCE): Add. | |
13262 | (HAVE_PREAD64): Remove. | |
13263 | * configure, aclocal.m4, config.in: Regenerated. | |
13264 | ||
b2fb4676 AC |
13265 | 2003-01-03 Andrew Cagney <ac131313@redhat.com> |
13266 | ||
13267 | * alpha-tdep.c: Use get_frame_saved_regs. | |
13268 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
13269 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
13270 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto. | |
13271 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto. | |
13272 | * vax-tdep.c, xstormy16-tdep.c: Ditto. | |
13273 | ||
8dcde887 MK |
13274 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
13275 | ||
13276 | * configure.in: Remove all use of the SUBDIRS variable; add | |
13277 | directories using the AC_CONFIG_SUBDIRS macro instead. Polish | |
13278 | code providing the --enable-multi-ice option, and move it right in | |
13279 | front of the code that checks whether gdbserver is supported. | |
13280 | Polish that too. | |
13281 | * configure: Regenerated. | |
13282 | * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of | |
13283 | @SUBDIRS@. | |
13284 | ||
8ccd593b AC |
13285 | 2003-01-03 Andrew Cagney <cagney@redhat.com> |
13286 | ||
13287 | * alpha-tdep.c: Use deprecated_update_frame_base_hack. | |
13288 | * avr-tdep.c, cris-tdep.c: Ditto. | |
13289 | * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
13290 | * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
8ffd9b1b | 13291 | |
91151a06 MK |
13292 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
13293 | ||
13294 | * configure.in: Remove --enable-netrom option. | |
13295 | * configure: Regenerated. | |
13296 | ||
8fe84d01 MK |
13297 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
13298 | ||
13299 | * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward | |
13300 | declaration for `struct re_pattern_buffer' instead. | |
13301 | * Makefile.in (cli_decode_h): Remove $(gdb_regex_h). | |
13302 | ||
f0394be6 JB |
13303 | 2003-01-03 J. Brobecker <brobecker@gnat.com> |
13304 | ||
13305 | * mdebugread.c (parse_symbol): Count until the stEnd matching | |
13306 | the structure name. | |
13307 | ||
27e9bf90 MK |
13308 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
13309 | ||
93d331ba MK |
13310 | * configure.in: Remove --with-cpu option. |
13311 | subscripts. Remove evil changequotes here. | |
13312 | * acconfig.h (TARGET_CPU_DEFAULT): Remove. | |
13313 | * config.in, configure: Regenerated. | |
8ffd9b1b | 13314 | |
27e9bf90 MK |
13315 | * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. |
13316 | * configure.in: Cleanup section that sources GDB and BFD configure | |
13317 | subscripts. Remove evil changequotes here. | |
13318 | * config.in, configure: Regenerated. | |
13319 | ||
50abf9e5 AC |
13320 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
13321 | ||
13322 | * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack | |
13323 | frame accessor methods. | |
13324 | * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
13325 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
13326 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. | |
13327 | * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. | |
13328 | * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
13329 | * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
13330 | * z8k-tdep.c: Ditto. | |
8ffd9b1b | 13331 | |
287c1a40 MK |
13332 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
13333 | ||
f5dbc56d MK |
13334 | * configure.in: Remove UI_OUT configuration code. |
13335 | * ada-lang.c: Update assuming UI_OUT is always true. | |
13336 | * Makefile.in (UIOUT_CFLAGS): Remove. | |
13337 | * configure: Regenerated. | |
13338 | * TODO: Remove blurb about elimination of -DUI_OUT. | |
13339 | ||
627af7ea MK |
13340 | * configure.in: Move code that provides the --enable-gdbcli, |
13341 | --enable-gdbmi options right before the code that handles the | |
13342 | --enable-tui option. Polish a bit. | |
13343 | * configure: Regenerated. | |
13344 | ||
06825bd1 MK |
13345 | * configure.in: Rewrite check for GNU regex and the |
13346 | --without-included regex option, and move it into the "Checks for | |
13347 | library functions" section. This makes us use the system regex | |
13348 | again by default on systems with version 2 of the GNU C library. | |
13349 | This was apparently broken. | |
13350 | * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. | |
13351 | * acconfig.h (USE_INCLUDED_REGEX): Remove. | |
13352 | * config.in, configure: Regenerated. | |
13353 | ||
287c1a40 MK |
13354 | * configure.in: Move code that provides the --enable-tui option |
13355 | before the "Checks for libraries" section. Polish the code | |
13356 | somewhat and set need_curses to yes if we build the TUI. Rewrite | |
13357 | code that looks for a library providing termcap functionality to | |
13358 | match more closely what's done in the Readline library, and move | |
13359 | it into to the "Checks for libraries" section. | |
13360 | * configure: Regenerated. | |
13361 | * Makefile.in (TERMCAP): Remove variable. | |
13362 | * config/i386/go32.mh (TERMCAP): Remove variable. | |
13363 | ||
684e56bf AC |
13364 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
13365 | ||
13366 | * MAINTAINERS: Mention gdb_mbuild.sh. | |
13367 | * gdb_mbuild.sh: Rewrite. | |
13368 | ||
e1ea1d75 MK |
13369 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
13370 | ||
13371 | * configure.in: Fix typo in last change. | |
13372 | * config.in, configure: Regenerated. | |
13373 | ||
1b831c93 AC |
13374 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
13375 | ||
13376 | * valarith.c (value_binop): Delete obsolete code and comments. | |
13377 | * configure.host: Ditto. | |
13378 | * buildsym.h (make_blockvector): Ditto. | |
13379 | * buildsym.c (make_blockvector): Ditto. | |
13380 | * defs.h (enum language): Ditto. | |
13381 | (chill_demangle): Ditto. | |
13382 | * elfread.c (elf_symtab_read): Ditto. | |
13383 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
13384 | (set_cu_language): Ditto. | |
13385 | (handle_producer): Ditto. | |
13386 | * expprint.c (print_subexp): Ditto. | |
13387 | * gdbtypes.c (chill_varying_type): Ditto. | |
13388 | * gdbtypes.h (builtin_type_chill_bool): Ditto. | |
13389 | (builtin_type_chill_char, builtin_type_chill_long): Ditto. | |
13390 | (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. | |
13391 | (chill_varying_type): Ditto. | |
13392 | * language.h (_LANG_chill): Ditto. | |
13393 | * language.c (binop_result_type, integral_type): Ditto. | |
13394 | (character_type, string_type, structured_type): Ditto. | |
13395 | (lang_bool_type, binop_type_check): Ditto. | |
13396 | * stabsread.h (os9k_stabs): Ditto. | |
13397 | * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. | |
13398 | (define_symbol, read_type, read_struct_fields): Ditto. | |
13399 | (read_array_type, read_enum_type, read_huge_number): Ditto. | |
13400 | (read_range_type, start_stabs): Ditto. | |
13401 | * symfile.c (init_filename_language_table): Ditto. | |
13402 | (add_psymbol_with_dem_name_to_list): Ditto. | |
13403 | * symtab.c (symbol_init_language_specific): Ditto. | |
13404 | (symbol_init_demangled_name, symbol_demangled_name): Ditto. | |
13405 | * symtab.h (struct general_symbol_info): Ditto. | |
13406 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
13407 | * typeprint.c (typedef_print): Ditto. | |
13408 | * utils.c (fprintf_symbol_filtered): Ditto. | |
13409 | * valops.c (value_cast, search_struct_field, value_slice): Delete | |
13410 | obsolete code. | |
13411 | (varying_to_slice): Delete function. | |
13412 | * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. | |
13413 | (varying_to_slice): Delete declaration. | |
13414 | * MAINTAINERS: Update. | |
13415 | ||
8bb2c122 MK |
13416 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
13417 | ||
97bf5e38 MK |
13418 | * configure.in: Reorganize "Checks for library functions section" |
13419 | a bit. Remove check for `btowc' and `isascii' functions. | |
13420 | * configure: Regenerated. | |
13421 | ||
5ee754fc MK |
13422 | * acconfig.h (_MSE_INT_H): Remove. |
13423 | * configure.in: Create "Checks for header files" section, and move | |
13424 | appropriate tests there. Don't check for objlist.h, wchar.h, | |
13425 | wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> | |
13426 | misdetection fix. Also add "Checks for types", "Checks for | |
13427 | compiler characteristics" and "Checks for library functions" | |
13428 | sections. | |
13429 | * config.in, configure: Regenerated. | |
13430 | ||
8bb2c122 MK |
13431 | * configure.in: Create "Checks for programs" section, and move |
13432 | appropriate tests there. | |
13433 | ||
9a156167 MK |
13434 | 2003-01-01 Mark Kettenis <kettenis@gnu.org> |
13435 | ||
13436 | * configure.in: Create "Checks for libraries" section, and move | |
13437 | appropriate tests there. Cleanup check for wctype in libw. Use | |
13438 | AC_SEARCH_LIBS to see whether we need libsocket. | |
13439 | * configure: Regenerated. | |
13440 | ||
a80e2bcb | 13441 | For older changes see ChangeLog-2002 |
c906108c SS |
13442 | \f |
13443 | Local Variables: | |
13444 | mode: change-log | |
13445 | left-margin: 8 | |
13446 | fill-column: 74 | |
13447 | version-control: never | |
13448 | End: |