]>
Commit | Line | Data |
---|---|---|
e2d0e7eb AC |
1 | 2003-10-22 Andrew Cagney <[email protected]> |
2 | ||
3 | * gdbarch.sh (convert_from_func_ptr_addr): Convert to a pure | |
4 | multi-arch method, add "targ" parameter. | |
5 | (struct target_ops): Declare. | |
6 | * gdbarch.h, gdbarch.c: Re-generate. | |
7 | * Makefile.in (c-valprint.o): Update dependencies. | |
8 | * arch-utils.h: Update copyright. | |
9 | (convert_from_func_ptr_addr_identity): Declare. | |
10 | * arch-utils.c (convert_from_func_ptr_addr_identity): New function. | |
11 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. | |
12 | * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Upate. | |
13 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Update. | |
14 | * infcall.c (find_function_addr, call_function_by_hand): Update. | |
15 | * c-valprint.c: Include "target.h". | |
16 | (print_function_pointer_address): Update. | |
17 | ||
f1c07ab0 AC |
18 | 2003-10-22 Andrew Cagney <[email protected]> |
19 | ||
20 | * target.c (target_close): New function. | |
21 | (debug_to_close): Use "target_close". | |
22 | (push_target): Use "target_close". | |
23 | (unpush_target): Use "target_close". | |
24 | (pop_target): Use "target_close". | |
25 | * target.h (struct target_ops): Add "to_xclose". | |
26 | (target_open): Delete macro. Move comment to "to_open". | |
27 | (target_close): Replace macro with function that takes a target. | |
28 | * top.c (quit_target): Pass "current_target" to "target_close". | |
29 | ||
5520a790 EZ |
30 | 2003-10-21 Elena Zannoni <[email protected]> |
31 | ||
32 | * minsyms.c (lookup_minimal_symbol_text): Remove unused parameter. | |
33 | Remove SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code. | |
34 | * symtab.h (lookup_minimal_symbol_text): Update. | |
35 | * breakpoint.c (create_overlay_event_breakpoint, | |
36 | create_longjmp_breakpoint): Update callers. | |
37 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Update caller. | |
38 | * symtab.c (find_pc_sect_line): Ditto. | |
39 | ||
caa92b73 AC |
40 | 2003-10-21 Andrew Cagney <[email protected]> |
41 | ||
42 | * target.c (errno): Delete extern declaration. | |
43 | ||
aa2a9a3c JJ |
44 | 2003-10-20 Jeff Johnston <[email protected]> |
45 | ||
46 | * ia64-tdep.c: Change all occurrences of | |
47 | DEPRECATED_REGISTER_RAW_SIZE to use register_size() instead. | |
48 | (ia64_frame_prev_register): Minor whitespace change. | |
49 | ||
4beec2b7 MC |
50 | 2003-10-20 Michael Chastain <[email protected]> |
51 | ||
52 | * config/djgpp/fnchange.lst: Add lines for: | |
53 | sim/testsuite/sim/frv/interrupts/Ipipe-fr400.cgs, | |
54 | sim/testsuite/sim/frv/interrupts/Ipipe-fr500.cgs, | |
55 | sim/testsuite/sim/frv/interrupts/badalign-fr550.cgs, | |
56 | sim/testsuite/sim/frv/interrupts/compound-fr550.cgs, | |
57 | sim/testsuite/sim/frv/interrupts/data_store_error-fr550.cgs, | |
58 | sim/testsuite/sim/frv/interrupts/fp_exception-fr550.cgs, | |
59 | sim/testsuite/sim/frv/interrupts/insn_access_error-fr550.cgs. | |
60 | ||
92ad9cd9 AC |
61 | 2003-10-20 Andrew Cagney <[email protected]> |
62 | ||
63 | * values.c (register_value_being_returned): Update comments. Use | |
64 | "gdbarch_return_value" when available. | |
65 | (using_struct_return): Ditto. | |
66 | (set_return_value): Ditto. Use "gdbarch_return_value" when | |
67 | available.. Print a warning, and not an error, when an unhandled | |
68 | return type is encountered. | |
69 | * infcmd.c: Include "gdb_assert.h". | |
70 | (print_return_value): When gdbarch_return_value_p, and using | |
71 | struct return, assume that the value is not available. | |
72 | * defs.h (return_value_convention): Define. | |
73 | * gdbarch.sh (gdbarch_return_value): New predicate method. | |
74 | * gdbarch.h, gdbarch.c: Re-generate | |
75 | * ppc-sysv-tdep.c (return_value_convention): Delete definition. | |
76 | ||
198beae2 AC |
77 | 2003-10-20 Andrew Cagney <[email protected]> |
78 | ||
79 | * symtab.c: Replace "struct sec" with "struct bfd_section". | |
80 | * objfiles.c, linespec.c, blockframe.c, block.c: Ditto. | |
81 | ||
24d693a6 | 82 | 2003-10-19 Michael Chastain <[email protected]> |
e7cb278a MC |
83 | |
84 | * config/djgpp/fnchange.lst: Add lines for: | |
85 | gdb/amd64nbsd-nat.c, gdb/amd64nbsd-tdep.c, | |
86 | gdb/i386fbsd-nat.c, gdb/i386fbsd-tdep.c, | |
87 | gdb/sparc64fbsd-nat.c, gdb/sparc64bsd-tdep.c. | |
88 | ||
21ad8dc3 MK |
89 | 2003-10-19 Mark Kettenis <[email protected]> |
90 | ||
91 | * amd64fbsd-nat.c (fetch_inferior_registers, | |
92 | store_inferior_registers): Remove functions. | |
93 | * config/i386/fbsd64.mh (NATDEPFILES): Add amd64bsd-nat.o. | |
94 | ||
cced5e27 MK |
95 | 2003-10-18 Mark Kettenis <[email protected]> |
96 | ||
97 | Add NetBSD/amd64 native configuration: | |
98 | * x86-64-tdep.h (amd64nbsd_r_reg_offset): Add extern declarations. | |
99 | * amd64nbsd-tdep.c: New file. | |
100 | * amd64nbsd-nat.c: New file. | |
101 | * amd64bsd-nat.c: New file. | |
102 | * config/i386/nbsd64.mh: New file. | |
103 | * config/i386/nbsd64.mt: New file. | |
104 | * configure.host: Add x86_64-*-netbsd*. | |
105 | * configure.tgt: Add x86_64-*-netbsd*. | |
106 | * Makefile.in (amd64bsd-nat.o, amd64nbsd-nat.o, amd64nbsd-tdep.o): | |
107 | New targets. | |
108 | * NEWS (New native configurations): Mention NetBSD/amd64. | |
109 | ||
666de3fd MC |
110 | 2003-10-17 Michael Chastain <[email protected]> |
111 | ||
112 | * config/djgpp/fnchange.lst: Remove dead lines for: | |
113 | bfd/elf32-i386qnx.c, bfd/elf32-ppcqnx.c, bfd/elf32-shqnx.c, | |
114 | bfd/elf32-sh-lin.c, bfd/elf32-sh-nbsd.c, bfd/elf32-sh64-nbsd.c, | |
115 | bfd/elf64-alpha-fbsd.c, bfd/elf64-sh64-nbsd.c, | |
116 | gdb/alphanbsd-nat.c, gdb/config/i386/tm-i386mk.h, | |
117 | gdb/config/i386/tm-i386v42mp.h, gdb/config/i386/xm-i386mach.h, | |
118 | gdb/config/i386/xm-i386mk.h, gdb/config/i386/xm-i386v32.h, | |
119 | gdb/config/m68k/apollo68v.mh, gdb/config/m68k/nm-apollo68v.h, | |
120 | gdb/config/m68k/xm-apollo68v.h, gdb/config/m88k/tm-delta88v4.h, | |
121 | gdb/config/mips/tm-bigmips64.h, gdb/config/mips/tm-embed64.h, | |
122 | gdb/config/mips/tm-embedl.h, gdb/config/mips/tm-embedl64.h, | |
123 | gdb/config/mips/tm-vr4300el.h, gdb/config/mips/tm-vr4xxxel.h, | |
124 | gdb/config/mips/tm-vr5000el.h, gdb/config/sparc/tm-sparclet.h, | |
125 | gdb/config/sparc/tm-sparclite.h, | |
126 | gdb/gdbtk/generic/ChangeLog-2001, | |
127 | gdb/gdbtk/library/ChangeLog-2001, gdb/remote-adapt.c, | |
128 | gdb/remote-eb.c, gdb/remote-mm.c, gdb/remote-nrom.c, | |
129 | gdb/remote-udi.c, gdb/remote-vx29k.c, gdb/remote-vx960.c, | |
130 | gdb/sparclet-rom.c, gdb/sparclet-stub.c, | |
131 | gdb/testsuite/gdb.mi/mi0-var-block.exp, | |
132 | gdb/testsuite/gdb.mi/mi0-var-child.exp, | |
133 | gdb/testsuite/gdb.mi/mi0-var-cmd.exp, | |
134 | gdb/testsuite/gdb.mi/mi0-var-display.exp, | |
135 | itcl/iwidgets3.0.0/demos/extfileselectionbox, | |
136 | itcl/iwidgets3.0.0/demos/extfileselectiondialog, | |
137 | itcl/iwidgets3.0.0/demos/fileselectionbox, | |
138 | itcl/iwidgets3.0.0/demos/fileselectiondialog, | |
139 | itcl/iwidgets3.0.0/demos/html/buttonbox.n.html, | |
140 | itcl/iwidgets3.0.0/demos/html/canvasprintbox.n.html, | |
141 | itcl/iwidgets3.0.0/demos/html/canvasprintdialog.n.html, | |
142 | itcl/iwidgets3.0.0/demos/html/combobox.n.html, | |
143 | itcl/iwidgets3.0.0/demos/html/dialog.n.html, | |
144 | itcl/iwidgets3.0.0/demos/html/dialogshell.n.html, | |
145 | itcl/iwidgets3.0.0/demos/html/entryfield.n.html, | |
146 | itcl/iwidgets3.0.0/demos/html/feedback.n.html, | |
147 | itcl/iwidgets3.0.0/demos/html/fileselectionbox.n.html, | |
148 | itcl/iwidgets3.0.0/demos/html/fileselectiondialog.n.html, | |
149 | itcl/iwidgets3.0.0/demos/html/hyperhelp.n.html, | |
150 | itcl/iwidgets3.0.0/demos/html/iwidgets2.2.0UserCmds.html, | |
151 | itcl/iwidgets3.0.0/demos/html/labeledwidget.n.html, | |
152 | itcl/iwidgets3.0.0/demos/html/menubar.n.html, | |
153 | itcl/iwidgets3.0.0/demos/html/messagedialog.n.html, | |
154 | itcl/iwidgets3.0.0/demos/html/notebook.n.html, | |
155 | itcl/iwidgets3.0.0/demos/html/optionmenu.n.html, | |
156 | itcl/iwidgets3.0.0/demos/html/panedwindow.n.html, | |
157 | itcl/iwidgets3.0.0/demos/html/promptdialog.n.html, | |
158 | itcl/iwidgets3.0.0/demos/html/pushbutton.n.html, | |
159 | itcl/iwidgets3.0.0/demos/html/radiobox.n.html, | |
160 | itcl/iwidgets3.0.0/demos/html/scrolledcanvas.n.html, | |
161 | itcl/iwidgets3.0.0/demos/html/scrolledframe.n.html, | |
162 | itcl/iwidgets3.0.0/demos/html/scrolledhtml.n.html, | |
163 | itcl/iwidgets3.0.0/demos/html/scrolledlistbox.n.html, | |
164 | itcl/iwidgets3.0.0/demos/html/scrolledtext.n.html, | |
165 | itcl/iwidgets3.0.0/demos/html/selectionbox.n.html, | |
166 | itcl/iwidgets3.0.0/demos/html/selectiondialog.n.html, | |
167 | itcl/iwidgets3.0.0/demos/html/shell.n.html, | |
168 | itcl/iwidgets3.0.0/demos/html/spindate.n.html, | |
169 | itcl/iwidgets3.0.0/demos/html/spinint.n.html, | |
170 | itcl/iwidgets3.0.0/demos/html/spinner.n.html, | |
171 | itcl/iwidgets3.0.0/demos/html/spintime.n.html, | |
172 | itcl/iwidgets3.0.0/demos/html/tabnotebook.n.html, | |
173 | itcl/iwidgets3.0.0/demos/html/tabset.n.html, | |
174 | itcl/iwidgets3.0.0/demos/html/toolbar.n.html, | |
175 | itcl/iwidgets3.0.0/demos/scrolledcanvas, | |
176 | itcl/iwidgets3.0.0/demos/scrolledframe, | |
177 | itcl/iwidgets3.0.0/demos/scrolledhtml, | |
178 | itcl/iwidgets3.0.0/demos/scrolledlistbox, | |
179 | itcl/iwidgets3.0.0/demos/scrolledtext, | |
180 | itcl/iwidgets3.0.0/demos/selectionbox, | |
181 | itcl/iwidgets3.0.0/demos/selectiondialog, | |
182 | itcl/iwidgets3.0.0/doc/canvasprintbox.n, | |
183 | itcl/iwidgets3.0.0/doc/canvasprintdialog.n, | |
184 | itcl/iwidgets3.0.0/doc/extfileselectionbox.n, | |
185 | itcl/iwidgets3.0.0/doc/extfileselectiondialog.n, | |
186 | itcl/iwidgets3.0.0/doc/fileselectionbox.n, | |
187 | itcl/iwidgets3.0.0/doc/fileselectiondialog.n, | |
188 | itcl/iwidgets3.0.0/doc/scopedobject.n.backup, | |
189 | itcl/iwidgets3.0.0/doc/scrolledcanvas.n, | |
190 | itcl/iwidgets3.0.0/doc/scrolledframe.n, | |
191 | itcl/iwidgets3.0.0/doc/scrolledhtml.n, | |
192 | itcl/iwidgets3.0.0/doc/scrolledlistbox.n, | |
193 | itcl/iwidgets3.0.0/doc/scrolledtext.n, | |
194 | itcl/iwidgets3.0.0/doc/selectionbox.n, | |
195 | itcl/iwidgets3.0.0/doc/selectiondialog.n, | |
196 | itcl/iwidgets3.0.0/generic/canvasprintbox.itk, | |
197 | itcl/iwidgets3.0.0/generic/canvasprintdialog.itk, | |
198 | itcl/iwidgets3.0.0/generic/extfileselectionbox.itk, | |
199 | itcl/iwidgets3.0.0/generic/extfileselectiondialog.itk, | |
200 | itcl/iwidgets3.0.0/generic/fileselectionbox.itk, | |
201 | itcl/iwidgets3.0.0/generic/fileselectiondialog.itk, | |
202 | itcl/iwidgets3.0.0/generic/scrolledcanvas.itk, | |
203 | itcl/iwidgets3.0.0/generic/scrolledframe.itk, | |
204 | itcl/iwidgets3.0.0/generic/scrolledhtml.itk, | |
205 | itcl/iwidgets3.0.0/generic/scrolledlistbox.itk, | |
206 | itcl/iwidgets3.0.0/generic/scrolledtext.itk, | |
207 | itcl/iwidgets3.0.0/generic/scrolledwidget.itk, | |
208 | itcl/iwidgets3.0.0/generic/selectionbox.itk, | |
209 | itcl/iwidgets3.0.0/generic/selectiondialog.itk, | |
210 | itcl/iwidgets3.0.0/tests/canvasprintbox.test, | |
211 | itcl/iwidgets3.0.0/tests/canvasprintdialog.test, | |
212 | itcl/iwidgets3.0.0/tests/extfileselectionbox.test, | |
213 | itcl/iwidgets3.0.0/tests/extfileselectiondialog.test, | |
214 | itcl/iwidgets3.0.0/tests/fileselectionbox.test, | |
215 | itcl/iwidgets3.0.0/tests/fileselectiondialog.test, | |
216 | itcl/iwidgets3.0.0/tests/scrolledcanvas.test, | |
217 | itcl/iwidgets3.0.0/tests/scrolledframe.test, | |
218 | itcl/iwidgets3.0.0/tests/scrolledhtml.test, | |
219 | itcl/iwidgets3.0.0/tests/scrolledlistbox.test, | |
220 | itcl/iwidgets3.0.0/tests/scrolledtext.test, | |
221 | itcl/iwidgets3.0.0/tests/selectionbox.test, | |
222 | itcl/iwidgets3.0.0/tests/selectiondialog.test, | |
223 | itcl/iwidgets3.0.0/unix/iwidgets.tcl.in, | |
224 | itcl/iwidgets3.0.0/unix/pkgIndex.tcl.in, | |
225 | tix/docs/Release-4.1.0.html, tix/docs/Release-4.1.0.txt, | |
226 | tix/docs/Release-4.1a2.html, tix/docs/Release-4.1a2.txt, | |
227 | tix/docs/Release-4.1a3.html, tix/docs/Release-4.1a3.txt, | |
228 | tix/docs/Release-4.1b1.html, tix/docs/Release-4.1b1.txt, | |
229 | tix/docs/Release-4.1b2.html, tix/docs/Release-4.1b2.txt, | |
230 | tix/tixConfig.sh.in, tix/unix/tk4.2/pkgIndex.tcl.in, | |
231 | tix/unix/tk8.0/pkgIndex.tcl.in, tix/unix/tk8.0/pkgIndex.tcl.in, | |
232 | tix/unix/tk8.1/pkgIndex.tcl.in, tix/win/tkConsole41.c, | |
233 | tix/win/tkConsole42.c, tix/win/tkConsole80a1.c, | |
234 | tix/win/tkConsole80b1.c, tix/win/tkConsole81.c, tk/doc/tk4.0.ps, | |
235 | tk/mac/tkMacProjects.sit.hqx. | |
236 | ||
1e3ff5ad AC |
237 | 2003-10-17 Andrew Cagney <[email protected]> |
238 | ||
8db32d44 AC |
239 | * target.c (target_section_by_addr): New function. |
240 | (do_xfer_memory): Use "target_section_by_addr". | |
241 | * target.h (target_section_by_addr): Declare. | |
242 | ||
1e3ff5ad AC |
243 | * target.h (struct target_ops): Add "to_read_partial" and |
244 | "to_write_partial", delete "to_query". | |
245 | (target_read_partial, target_write_partial): Declare. | |
246 | (target_read, target_write): Declare. | |
247 | (target_query): Delete macro. | |
248 | * target.c (target_read_partial): New function. | |
249 | (target_write_partial, target_read, target_write): New function. | |
250 | (update_current_target): Delete inheritance of "to_query". Add | |
251 | comments about "to_read_partial" and "to_write_partial". | |
252 | (debug_to_partial_read, debug_to_partial_write): New functions. | |
253 | (debug_to_query): Delete function. | |
254 | (setup_target_debug): Set "to_read_partial" and "to_write_partial" | |
255 | instead of "to_query". | |
256 | * remote.c (remote_read_partial): Replace "remote_query". | |
257 | (init_remote_ops): Set "to_read_partial" instead of "to_query". | |
258 | (init_remote_async_ops): Ditto. | |
259 | * kod.c (gdb_kod_query): Make "bufsize" a LONGEST. Use | |
260 | "target_read_partial" instead of "target_query". | |
261 | * avr-tdep.c (avr_io_reg_read_command): Make "bufsize" a LONGEST. | |
262 | Use "target_read_partial" instead of "target_query". | |
263 | ||
48c66725 JJ |
264 | 2003-10-17 Jeff Johnston <[email protected]> |
265 | ||
266 | * frame.h (struct frame_id): Add new field: special_addr. | |
267 | (frame_id_build_special): New prototype. | |
268 | * frame.c (frame_id_build_special): New function. | |
269 | (frame_id_build): Change to call frame_id_build_special(). | |
270 | (frame_id_eq): Change to also test special_addr field. | |
271 | (frame_id_inner): Update comment. | |
272 | ||
7998dfc3 AC |
273 | 2003-10-17 Andrew Cagney <[email protected]> |
274 | ||
275 | * target.c (update_current_target): Perform the target cleanup. | |
276 | Put the target stack beneath the squashed "current_target". | |
277 | (add_target): Delete disabled call to "cleanup_target". | |
278 | (cleanup_target): Delete function. | |
279 | (push_target, unpush_target): Do not call "cleanup_target". | |
280 | ||
9c04404e | 281 | 2003-10-17 Andrew Cagney <[email protected]> |
258b763a AC |
282 | |
283 | * target.c (target_stack): Change to a static target_ops. | |
284 | (update_current_target): Walk the "struct target_ops" stack. | |
285 | (pop_target, do_xfer_memory, target_info): Ditto. | |
286 | (find_target_beneath): Ditto. | |
287 | (push_target): Rewrite to use the "struct target_ops" stack. | |
288 | (unpush_target): Ditto. | |
289 | * target.h (struct target_stack_item): Delete definition. | |
290 | (target_stack): Delete declaration. | |
291 | (struct target_ops): Add field "beneath". | |
292 | ||
c98a2b49 | 293 | 2003-10-17 Shrinivas Atre <[email protected]> |
ac1764c7 AC |
294 | |
295 | * gdb/config/h8300/tm-h8300.h (h8300_normal_mode): Add external | |
296 | declaration. | |
297 | * gdb/h8300-tdep.c (BINWORD): Update BINWORD for h8300_normal_mode | |
c98a2b49 SA |
298 | (h8300_examine_prologue): Use h8300_normal_mode flag |
299 | (h8300_gdbarch_init): Set architecture info for normal mode | |
300 | ||
506fb367 DJ |
301 | 2003-10-16 Daniel Jacobowitz <[email protected]> |
302 | ||
303 | * remote.c (remote_protocol_vcont): New variable. | |
304 | (set_remote_protocol_vcont_packet_cmd): New function. | |
305 | (show_remote_protocol_vcont_packet_cmd): New function. | |
306 | (init_all_packet_configs): Handle remote_protocol_vcont. | |
307 | (remote_vcont_probe): New function. | |
308 | (remote_vcont_resume): New function. | |
309 | (remote_resume): Use it. | |
310 | (remote_async_resume): Call remote_resume. | |
311 | (_initialize_remote): Add verbose-resume packet commands. | |
312 | ||
65815ea1 AC |
313 | 2003-10-16 Andrew Cagney <[email protected]> |
314 | ||
315 | * infrun.c (handle_inferior_event): Add comment about | |
316 | "frame_id_inner" being too weak. | |
317 | ||
40324f1b EZ |
318 | 2003-10-16 Elena Zannoni <[email protected]> |
319 | ||
320 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove | |
321 | second parameter, which is always null. Remove | |
322 | SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code. | |
323 | * symtab.h (lookup_minimal_symbol_solib_trampoline): Update | |
324 | accordingly. | |
325 | * somsolib.c (som_solib_create_inferior_hook, | |
326 | som_solib_desire_dynamic_linker_symbols): Update callers. | |
327 | * hppa-tdep.c (hppa_fix_call_dummy): Ditto. | |
b4b4b794 KI |
328 | |
329 | 2003-10-16 Kei Sakamoto <[email protected]> | |
330 | ||
331 | * remote-m32r-sdi.c : New file, interface to m32r on-chip | |
332 | debug interface, SDI (Scalable Debug Interface). | |
333 | * NEWS: Mention m32r SDI protocol was supported. | |
334 | * Makefile.in (remote-m32r-sdi.o): Add build rule. | |
335 | * config/m32r/m32r.mt (TDEPFILES) : Add remote-m32r-sdi.o. | |
336 | ||
51931cbb JJ |
337 | 2003-10-15 Jeff Johnston <[email protected]> |
338 | ||
339 | * ia64-linux-tdep.c: Include gdbcore.h. | |
340 | (IA64_LINUX_SIGCONTEXT_OFFSET): Magic constant removed. | |
341 | (ia64_linux_sigcontext_register_addr): Find the address of the | |
342 | sigcontext area stored in the sigframe instead of using | |
343 | a magic offset constant. | |
344 | ||
84e7fd53 AC |
345 | 2003-10-15 Andrew Cagney <[email protected]> |
346 | ||
347 | * remote.c (remote_search): Delete function. | |
348 | * target.h (target_search): Delete disabled macro. | |
349 | (struct target_ops): Delete disabled field "to_search". | |
350 | ||
0f4d7c52 KB |
351 | 2003-10-14 Kevin Buettner <[email protected]> |
352 | ||
353 | * frv-tdep.c (frv_frame_this_id): Call inside_entry_func() | |
354 | instead of deprecated_inside_entry_file(). | |
355 | ||
2e952408 CV |
356 | 2003-10-14 Corinna Vinschen <[email protected]> |
357 | ||
358 | * sh-tdep.c: Fix copy/paste hangover in comment. | |
359 | (sh_push_dummy_call_fpu): Accomodate double passing in little endian | |
360 | mode. | |
361 | (sh3e_sh4_extract_return_value): Ditto. | |
362 | ||
7e86466e RH |
363 | 2003-10-13 Richard Henderson <[email protected]> |
364 | ||
365 | * f-typeprint.c (f_type_print_base): Handle TYPE_CODE_REF. | |
366 | * f-valprint.c (f_val_print): Likewise. Tweak TYPE_CODE_PTR to | |
367 | match c_val_print a bit closer. | |
368 | ||
46a16dba KB |
369 | 2003-10-13 Kevin Buettner <[email protected]> |
370 | ||
371 | * frv-tdep.c (max_instrs_per_bundle, frv_instr_size): New constants. | |
372 | (frv_gdbarch_adjust_breakpoint_address): New function. | |
373 | (frv_gdbarch_init): Initialize ``gdbarch_adjust_breakpoint_address'' | |
374 | method. | |
375 | ||
76897487 KB |
376 | 2003-10-13 Kevin Buettner <[email protected]> |
377 | ||
378 | * breakpoint.h (struct breakpoint): Add new member | |
379 | ``requested_address''. | |
380 | * breakpoint.c (breakpoint_adjustment_warning) | |
381 | (adjust_breakpoint_address): New static functions. | |
382 | (print_it_typical): Issue warning if breakpoint's address is different | |
383 | from its requested address. | |
384 | (set_raw_breakpoint, set_longjmp_resume_breakpoint, watch_command_1) | |
385 | (breakpoint_re_set_one): Set breakpoint's | |
386 | ``requested_address'' field. Set ``address'' field to the | |
387 | result of calling adjust_breakpoint_address() on the requested | |
388 | address. | |
389 | ||
a1131521 KB |
390 | 2003-10-13 Kevin Buettner <[email protected]> |
391 | ||
392 | * gdbarch.sh (ADJUST_BREAKPOINT_ADDRESS): New method. | |
393 | * gdbarch.h, gdbarch.c: Regenerate. | |
394 | ||
6ce6d90f MK |
395 | 2003-10-11 Mark Kettenis <[email protected]> |
396 | ||
155c1d33 MK |
397 | * i386bsd-tdep.c (i386bsd_init_abi): Use ARRAY_SIZE to initialize |
398 | TDEP->sc_num_regs. | |
399 | ||
8a96bc77 MK |
400 | * i386fbsd-tdep.c: New file. |
401 | (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, | |
402 | i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi, | |
403 | i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Move here from | |
404 | i386bsd-tdep.c. | |
405 | (_initialize_i386fbsd_tdep): New function. | |
406 | (i386fbsd_r_reg_offset, i386fbsd4_r_reg_offset): New varibles. | |
407 | (i386fbsdaout_init_abi): Initialize TDEP->gregset_reg_offset, | |
408 | TDEP->gregset_num_regs, TDEP->sizeof_gregset and | |
409 | TDEP->sizeof_fpregset. Use ARRAY_SIZE to initialize | |
410 | TDEP->sc_num_regs. | |
411 | (i386fbsd4_init_abi): Initialize TDEP->gregset_reg_offset, | |
412 | TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE | |
413 | to initialize TDEP->sc_num_regs. | |
414 | * i386bsd-tdep.c (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, | |
415 | i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi, | |
416 | i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Remove. | |
417 | (_initialize_i386bsd_tdep): Don't register FreeBSD a.out and | |
418 | FreeBSD ELF OS/ABI's here. | |
419 | * Makefile.in (ALLDEPFILES): Add i386fbsd-tdep.c. | |
420 | (i386fbsd-tdep.o): New target. | |
421 | * config/i386/fbsd.mt (TDEPFILES): Add i386fbsd-tdep.o. | |
422 | * config/i386/fbsd64.mt (TDEPFILES): Add i386fbsd-tdep.o. | |
423 | ||
477f40d1 MK |
424 | * amd64fbsd-tdep.c (amd64fbsd_r_reg_offset): New variable. |
425 | (amd64fbsd_init_abi): Set TDEP->gregset_reg_offset, | |
426 | TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE | |
427 | in initialization of TDEP->sc_num_regs. | |
428 | ||
c6b33596 MK |
429 | * x86-64-tdep.c (x86_64_regset_from_core_section): New function. |
430 | (x86_64_init_abi): Initialize regset_from_core_section if | |
431 | appropriate. | |
432 | ||
8446b36a MK |
433 | * i386-tdep.c (i386_regset_from_core_section): New function. |
434 | (i386_gdbarch_init): Initialize regset_from_core_section if | |
435 | appropriate. | |
436 | * i386-tdep.h (i386_regset_from_core_section): New declaration. | |
437 | ||
c783cbd6 MK |
438 | * i386-tdep.h (struct regset): Declare opaque. |
439 | ||
6ce6d90f MK |
440 | * gdbarch.sh (regset_from_core_section): New method. |
441 | (struct regset): Declare opaque. | |
442 | * gdbarch.c, gdbarch.h: Regenerated. | |
443 | ||
b98ed7be AM |
444 | 2003-10-11 Alan Modra <[email protected]> |
445 | ||
446 | * hppa-tdep.c (hppa_in_solib_call_trampoline): Don't refer directly to | |
447 | _cooked_size and vma; Use bfd_section_size and bfd_get_section_vma. | |
448 | Correct test for pc within section. | |
449 | ||
f6214256 MK |
450 | 2003-10-11 Mark Kettenis <[email protected]> |
451 | ||
452 | * gdbarch.sh: Remove trailing whitepsace from comments. | |
453 | ||
a8f4cde1 RM |
454 | 2003-10-08 Roland McGrath <[email protected]> |
455 | ||
456 | * gcore.c (make_mem_sec): Function removed, folded into ... | |
457 | (gcore_create_callback): ... here. To omit a section, clear its | |
458 | SEC_LOAD bit rather than zeroing its size. | |
459 | Omit read-only sections only if they correspond to a known disk file. | |
460 | (gcore_copy_callback): Ignore sections without SEC_LOAD flag set. | |
461 | ||
74276724 MS |
462 | 2003-10-10 Michael Snyder <[email protected]> |
463 | ||
464 | * d10v-tdep.c: Fix typo in comment. | |
465 | ||
e754ae69 AC |
466 | 2003-10-10 Andrew Cagney <[email protected]> |
467 | ||
468 | * rs6000-tdep.c (e500_store_return_value): Delete function. | |
469 | (e500_extract_return_value): Delete function. | |
470 | (rs6000_gdbarch_init): When SYSV, set "extract_return_value" and | |
471 | "restore_return_value" to "ppc_sysv_abi_extract_return_value" and | |
472 | "ppc_sysv_abi_restore_return_value" where applicable. | |
473 | * ppc-tdep.h: (ppc_sysv_abi_store_return_value): Declare. | |
474 | (ppc_sysv_abi_extract_return_value): Declare. | |
475 | (ppc_sysv_abi_broken_store_return_value): Declare. | |
476 | (ppc_sysv_abi_broken_extract_return_value): Declare. | |
477 | (ppc_sysv_abi_broken_use_struct_convention:) Delete declaration. | |
478 | * ppc-sysv-tdep.c (return_value_convention): Move definition to | |
479 | start of file. | |
480 | (do_ppc_sysv_return_value): New function. | |
481 | (ppc_sysv_abi_extract_return_value): New function. | |
482 | (ppc_sysv_abi_store_return_value): New function. | |
483 | (ppc_sysv_abi_broken_extract_return_value): New function. | |
484 | (ppc_sysv_abi_broken_store_return_value): New function. | |
485 | (ppc_sysv_abi_use_struct_convention): Call | |
486 | do_ppc_sysv_return_value. | |
487 | ||
8d4ce20a JB |
488 | 2003-10-10 J. Brobecker <[email protected]> |
489 | ||
490 | * blockframe.c (inside_main_func): No longer use symbol_lookup() | |
491 | to lookup the main function symbol. | |
492 | ||
afce3d2a CV |
493 | 2003-10-10 Corinna Vinschen <[email protected]> |
494 | ||
495 | * sh-tdep.c (sh_treat_as_flt_p): New function to recognize float | |
496 | types correctly. | |
497 | (sh_push_dummy_call_fpu): Fix argument passing rules. | |
498 | (sh3e_sh4_extract_return_value): Call sh_treat_as_flt_p to recognize | |
499 | float types. | |
500 | (sh3e_sh4_store_return_value): Ditto. | |
501 | ||
7fe958be EZ |
502 | 2003-10-10 Elena Zannoni <[email protected]> |
503 | ||
504 | * sh-tdep.c (sh_use_struct_convention): Clarify one case in | |
505 | comment. | |
506 | ||
3f997a97 CV |
507 | 2003-10-10 Corinna Vinschen <[email protected]> |
508 | ||
509 | * sh-tdep.c (sh_use_struct_convention): Clean up to have a | |
510 | more readable code. Accomodate passing of bitfields. | |
511 | ||
8be9034a AC |
512 | 2003-10-10 Andrew Cagney <[email protected]> |
513 | ||
514 | * Makefile.in (ppc-sysv-tdep.o): Add $(gdb_assert_h). | |
515 | * rs6000-tdep.c (rs6000_gdbarch_init): When 64 bit SysV ABI, set | |
516 | push_dummy_call to ppc64_sysv_abi_push_dummy_call. | |
517 | * ppc-sysv-tdep.c: Include "gdb_assert.h". | |
518 | (ppc64_sysv_abi_push_dummy_call): New function. | |
519 | (ppc64_sysv_abi_broken_push_dummy_call): New function. | |
520 | * ppc-tdep.h (ppc64_sysv_abi_push_dummy_call): Declare. | |
521 | (ppc64_sysv_abi_broken_push_dummy_call): Declare. | |
522 | ||
85a453d5 KI |
523 | 2003-10-10 Kei Sakamoto <[email protected]> |
524 | ||
525 | * NEWS: Replace "Hitachi" and "Mitsubishi" with "Renesas". | |
526 | * README: Ditto. | |
527 | * d10v-tdep.c: Ditto. | |
528 | * h8300-tdep.c: Ditto. | |
529 | * remote-e7000.c: Ditto. | |
530 | * remote-hms.c: Ditto. | |
531 | * ser-e7kpc.c: Ditto. | |
532 | * sh-stub.c: Ditto. | |
533 | * sh-tdep.c: Ditto. | |
534 | * sh-tdep.h: Ditto. | |
535 | * sh3-rom.c: Ditto. | |
536 | * sh64-tdep.c: Ditto. | |
537 | * top.c: Ditto. | |
538 | * wince.c: Ditto. | |
539 | * config/d10v/d10v.mt: Ditto. | |
540 | * config/sh/embed.mt: Ditto. | |
541 | * config/sh/linux.mt: Ditto. | |
542 | * config/sh/tm-linux.h: Ditto. | |
543 | * config/sh/tm-sh.h: Ditto. | |
544 | * config/sh/wince.mt: Ditto. | |
545 | ||
221c12ff AC |
546 | 2003-10-09 Andrew Cagney <[email protected]> |
547 | ||
548 | * ppc-tdep.h (struct type): Declare opaque. | |
549 | * x86-64-tdep.h (struct regcache): Declare opaque. | |
550 | * sh-tdep.c (sh_do_fp_register): Delete "register" attribute, fix | |
551 | coding style. | |
552 | ||
ef5200c1 AC |
553 | 2003-10-09 Andrew Cagney <[email protected]> |
554 | ||
555 | Changes from 2003-09-09 Jimi Xenidis <[email protected]>: | |
556 | * config/rs6000/tm-rs6000.h (SOFTWARE_SINGLE_STEP): Delete macro. | |
557 | (SOFTWARE_SINGLE_STEP_P): Ditto. | |
558 | * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto. | |
559 | * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Ditto. | |
560 | (SOFTWARE_SINGLE_STEP_P): Ditto. | |
561 | * rs6000-tdep.c (rs6000_gdbarch_init): When AIX, set | |
562 | software_single_step to rs6000_software_single_step. | |
a8f4cde1 | 563 | |
9644bbdd AC |
564 | 2003-10-09 Andrew Cagney <[email protected]> |
565 | ||
566 | * MAINTAINERS: Mark m32r-elf as buildable with -Werror. | |
567 | ||
db72fa6b MS |
568 | 2003-10-09 Michael Snyder <[email protected]> |
569 | ||
f3efb16c MS |
570 | * frame.h: Fix typo in comment. |
571 | * dummy-frame.c: Fix typo in comment. | |
db72fa6b MS |
572 | * d10v-tdep.c: Random whitespace/comment tweaks. |
573 | ||
9a5cef92 EZ |
574 | 2003-10-09 Elena Zannoni <[email protected]> |
575 | ||
576 | * sh-tdep.c (sh_gdbarch_init): Delete setting of push_dummy_code. | |
f49c4e4e | 577 | (sh_push_dummy_code): Delete function, it's only used for dummy calls |
9a5cef92 | 578 | on stack. |
a8f4cde1 | 579 | |
9a5cef92 EZ |
580 | Based on input by Stephen Clarke ([email protected]): |
581 | * sh-tdep.c (sh_use_struct_convention): Add comment explaining ABI | |
582 | in detail. | |
a8f4cde1 | 583 | |
0f317a0c DJ |
584 | 2003-10-09 Daniel Jacobowitz <[email protected]> |
585 | ||
586 | * remote-mips.c (mips_initialize): Remove unneeded call to | |
587 | get_selected_frame. Suggested by Atsushi Nemoto <[email protected]>. | |
588 | ||
bbab2f46 DJ |
589 | 2003-10-09 Daniel Jacobowitz <[email protected]> |
590 | ||
591 | * dwarf2expr.c (execute_stack_op): Don't treat the frame base as | |
592 | a memory pointer. | |
593 | ||
550950b8 JJ |
594 | 2003-10-08 Jeff Johnston <[email protected]> |
595 | ||
596 | * lin-lwp.c (stop_and_resume_callback): Set the resumed flag | |
597 | for any lwp we resume. | |
598 | (running_callback): Add lwps that have pending status events | |
599 | against them to be considered running. | |
600 | ||
15c69bc7 KI |
601 | 2003-10-08 Kei Sakamoto <[email protected]> |
602 | ||
603 | * m32r-tdep.c : Include "dis-asm.h". | |
604 | * Makefile.in (m32r-tdep.o): Update dependencies. | |
605 | ||
51065942 JB |
606 | 2003-10-06 J. Brobecker <[email protected]> |
607 | ||
608 | * completer.h (get_gdb_completer_word_break_characters): Delete. | |
609 | * completer.c: include language.h. | |
610 | (gdb_completer_word_break_characters): Delete. | |
611 | (get_gdb_completer_word_break_characters): Delete. | |
612 | (location_completer): Use the word break characters of the current | |
613 | language. | |
614 | (complete_line): Likewise. | |
615 | (line_completion_function): Likewise. | |
616 | (skip_quoted_chars): Likewise. | |
617 | * Makefile.in (completer.o): Add dependency on language.h. | |
618 | * top.c (init_main): Set the readline word break characters | |
619 | to GDB's default word break characters. | |
620 | ||
6084f43a JB |
621 | 2003-10-06 J. Brobecker <[email protected]> |
622 | ||
623 | * language.h (language_defn): new field, la_word_break_characters. | |
624 | * language.c (unknown_language_defn): Set new field to | |
625 | default_word_break_characters. | |
626 | (auto_language_defn): Likewise. | |
627 | (local_language_defn): Likewise. | |
628 | * ada-lang.c (ada_language_defn): Likewise. | |
629 | * c-lang.c (c_language_defn): Likewise. | |
630 | (cplus_language_defn): Likewise. | |
631 | (asm_language_defn): Likewise. | |
632 | (minimal_language_defn): Likewise. | |
633 | * f-lang.c (f_language_defn): Likewise. | |
634 | * jv-lang.c (java_language_defn): Likewise. | |
635 | * m2-lang.c (m2_language_defn): Likewise. | |
636 | * objc-lang.c (objc_language_defn): Likewise. | |
637 | * p-lang.c (pascal_language_defn): Likewise. | |
638 | * scm-lang.c (scm_language_defn): Likewise. | |
639 | ||
944fcfab AC |
640 | 2003-10-06 Andrew Cagney <[email protected]> |
641 | ||
642 | * ppc-sysv-tdep.c: Re-indent. | |
643 | ||
9f0a5303 JB |
644 | 2003-10-06 J. Brobecker <[email protected]> |
645 | ||
646 | * language.h (default_word_break_characters): Add prototype. | |
647 | * language.c (default_word_break_characters): New function. | |
648 | ||
7270b6ed AS |
649 | 2003-10-06 Andreas Schwab <[email protected]> |
650 | ||
651 | * i386-tdep.c (i386_analyze_frame_setup): Also handle xorl/subl | |
652 | with %eax. | |
653 | ||
a5d61f66 AC |
654 | 2003-10-06 Andrew Cagney <[email protected]> |
655 | ||
656 | * Makefile.in (ALLDEPFILES): Remove "z8k-tdep.c" and | |
657 | "h8500-tdep.c". | |
658 | (z8k-tdep.o): Delete custom build rule. | |
659 | ||
28a86f5c AC |
660 | 2003-10-06 Andrew Cagney <[email protected]> |
661 | ||
1bfd8a83 AC |
662 | * Makefile.in: Update all dependencies. |
663 | ||
17144ef8 AC |
664 | * MAINTAINERS: Mention that h8500, mn10200, and z8k were deleted. |
665 | No longer list PA as as obsolete candidate. List m32r as | |
666 | broken instead of obsolete. | |
a8f4cde1 | 667 | |
a5679ae5 AC |
668 | * config/nm-m3.h, config/h8500/h8500.mt: Delete obsolete files. |
669 | * config/h8500/tm-h8500.h, config/i386/nm-ptx4.h: Ditto. | |
670 | * config/i386/nm-symmetry.h, config/i386/ptx.mh: Ditto. | |
671 | * config/i386/ptx.mt, config/i386/ptx4.mh: Ditto. | |
672 | * config/i386/ptx4.mt, config/i386/symmetry.mh: Ditto. | |
673 | * config/i386/symmetry.mt, config/i386/tm-ptx.h: Ditto. | |
674 | * config/i386/tm-ptx4.h, config/i386/tm-symmetry.h: Ditto. | |
675 | * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. | |
676 | * config/i386/xm-symmetry.h, config/mips/mipsm3.mh: Ditto. | |
677 | * config/mips/mipsm3.mt, config/mips/tm-mipsm3.h: Ditto. | |
678 | * config/mips/xm-mipsm3.h, config/mn10200/mn10200.mt: Ditto. | |
679 | * config/mn10200/tm-mn10200.h, config/pa/hppabsd.mh: Ditto. | |
680 | * config/pa/hppabsd.mt, config/pa/hppaosf.mh: Ditto. | |
681 | * config/pa/hppaosf.mt, config/pa/hppapro.mt: Ditto. | |
682 | * config/pa/nm-hppab.h, config/pa/nm-hppao.h: Ditto. | |
683 | * config/pa/tm-hppab.h, config/pa/tm-hppao.h: Ditto. | |
684 | * config/pa/tm-pro.h, config/pa/xm-hppab.h: Ditto. | |
685 | * config/pa/xm-pa.h, config/sparc/sparclet.mt: Ditto. | |
686 | * config/sparc/sparclite.mt, config/sparc/tm-sparclet.h: Ditto. | |
687 | * config/sparc/tm-sparclite.h, config/z8k/tm-z8k.h: Ditto. | |
688 | * config/z8k/z8k.mt: Ditto. | |
689 | ||
4a8269c0 AC |
690 | * NEWS: Mention that z8k-zilog-none, z8ksim, mn10200-*-*, |
691 | h8500hms, hppa*-*-bsd*, hppa*-*-osf*, hppa*-*-pro*, | |
692 | mips*-*-mach3*, i[3456]86-sequent-sysv4*, i[3456]86-sequent-sysv*, | |
693 | i[3456]86-sequent-bsd*, sparclet-*-*, sparclite-fujitsu-none, and | |
694 | sparclite were removed. | |
695 | * configure.host, configure.tgt: Remove corresponding tuples. | |
696 | ||
41989fcd AC |
697 | * breakpoint.c, breakpoint.h: Remove obsolete code. |
698 | * buildsym.c, dbxread.c, gdbtypes.c, mdebugread.c: Ditto. | |
699 | * monitor.c, sparc-tdep.c, stabsread.c: Ditto. | |
700 | * stabsread.h, xcoffread.c: Ditto. | |
701 | ||
28a86f5c AC |
702 | * z8k-tdep.c, symm-tdep.c, symm-nat.c: Delete obsolete file. |
703 | * sparclet-stub.c, sparclet-rom.c: Delete obsolete file. | |
704 | * sparcl-tdep.c, sparcl-stub.c, h8500-tdep.c: Delete obsolete file. | |
705 | * m3-nat.c, mipsm3-nat.c, mn10200-tdep.c: Delete obsolete file. | |
706 | ||
4efdaa0d DL |
707 | 2003-10-06 David Lecomber <[email protected]> |
708 | ||
709 | * f-valprint.c: Reformatting | |
710 | ||
ae53de43 MK |
711 | 2003-10-06 Mark Kettenis <[email protected]> |
712 | ||
a8bb57e7 MK |
713 | * x86-64-tdep.c: Remove duplicate comment. |
714 | ||
ae53de43 MK |
715 | * x86-64-tdep.c (x86_64_store_return_value): Don't use |
716 | DEPRECATED_REGISTER_RAW_SIZE. Use symbolic names for register | |
717 | names for return values. This fixes a bug since we looked at %rbx | |
718 | instead of %rdx. | |
719 | ||
473f17b0 MK |
720 | 2003-10-05 Mark Kettenis <[email protected]> |
721 | ||
2c261fae MK |
722 | * x86-64-tdep.c: Include "regset.h". |
723 | ||
473f17b0 MK |
724 | * i386-tdep.h (struct gdbarch_tdep): Add members gregset, |
725 | gregset_reg_offset, gregset_num_regs, sizeof_gregset, fpregset, | |
726 | sizeof_fpregset. | |
727 | * i386-tdep.c: Include "regset.h". | |
728 | (i386_supply_gregset): New function. | |
729 | (i386_supply_fpregset): New function. | |
730 | (i386_gdbarch_init): Initialze register set-related members of | |
731 | TDEP. | |
732 | * x86-64-tdep.c (x86_64_supply_fpregset): New function. | |
733 | (x86_64_init_abi): Initialize TDEP->sizeof_fpregset. | |
734 | ||
afd48b75 AC |
735 | 2003-10-03 Andrew Cagney <[email protected]> |
736 | ||
737 | * rs6000-tdep.c (rs6000_gdbarch_init): When the 64 bit SysV ABI, | |
738 | set extract_return_value, store_return_value and | |
739 | use_struct_convention to ppc64_sysv_abi_extract_return_value, | |
740 | ppc64_sysv_abi_store_return_value and | |
741 | ppc64_sysv_abi_use_struct_convention. | |
742 | * ppc-tdep.h (ppc64_sysv_abi_extract_return_value): Declare. | |
743 | (ppc64_sysv_abi_store_return_value): Declare. | |
744 | (ppc64_sysv_abi_use_struct_convention): Declare. | |
745 | * ppc-sysv-tdep.c (enum return_value_convention): Define. | |
746 | (ppc64_sysv_abi_extract_return_value): New function. | |
747 | (ppc64_sysv_abi_store_return_value): New function. | |
748 | (ppc64_sysv_abi_use_struct_convention): New function. | |
749 | (ppc64_sysv_abi_return_value): New function. | |
750 | ||
9b540880 AC |
751 | 2003-10-03 Andrew Cagney <[email protected]> |
752 | ||
753 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Only | |
754 | convert a descriptor to a function when it's in the ".opd" | |
755 | section. | |
756 | ||
8748518b CV |
757 | 2003-10-03 Corinna Vinschen <[email protected]> |
758 | ||
759 | * sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and | |
760 | reg_size to keep GCC silent. | |
761 | ||
0fd85043 CV |
762 | 2003-10-03 Corinna Vinschen <[email protected]> |
763 | ||
764 | * dwarf2-frame.c (struct comp_unit): Add tbase member to store | |
765 | base for DW_EH_PE_textrel encodings. | |
766 | (read_encoded_value): Add a DW_EH_PE_textrel case. | |
767 | (dwarf2_build_frame_info): Set unit.tbase to beginning of text | |
768 | section. | |
769 | ||
37b517aa MK |
770 | 2003-10-03 Mark Kettenis <[email protected]> |
771 | ||
772 | * dwarf2-frame.c (dwarf2_build_frame_info): Fix comment. | |
773 | ||
12c266ea AC |
774 | 2003-10-02 Andrew Cagney <[email protected]> |
775 | ||
776 | * gdbarch.sh (DEPRECATED_REGISTER_RAW_SIZE): Rename | |
777 | REGISTER_RAW_SIZE. | |
778 | * gdbarch.h, gdbarch.c: Re-generate. | |
779 | * aix-thread.c, alpha-tdep.h, arm-tdep.c, core-sol2.c: Update. | |
780 | * cris-tdep.c, dve3900-rom.c, findvar.c, frame.c: Update. | |
781 | * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. | |
782 | * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. | |
783 | * ia64-linux-nat.c, ia64-tdep.c, infcmd.c, infptrace.c: Update. | |
784 | * infrun.c, irix5-nat.c, lynx-nat.c, mips-linux-tdep.c: Update. | |
785 | * mips-nat.c, mips-tdep.c, mipsv4-nat.c, mn10300-tdep.c: Update. | |
786 | * monitor.c, ns32k-tdep.c, ppc-linux-nat.c, regcache.c: Update. | |
787 | * remote-e7000.c, remote-mips.c, remote-sim.c: Update. | |
788 | * remote-vxmips.c, remote-vxsparc.c, remote.c: Update. | |
789 | * rom68k-rom.c, rs6000-nat.c, rs6000-tdep.c, s390-tdep.c: Update. | |
790 | * sh64-tdep.c, sparc-nat.c, sparc-tdep.c, stack.c: Update. | |
791 | * target.c, tracepoint.c, v850-tdep.c, v850ice.c, valops.c: Update. | |
792 | * vax-tdep.c, vax-tdep.h, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
793 | * config/m68k/tm-delta68.h, config/m68k/tm-vx68.h: Update. | |
794 | * config/sparc/tm-sparc.h, config/sparc/tm-sparclynx.h: Update. | |
a8f4cde1 | 795 | |
78ba4af6 JB |
796 | 2003-10-02 Jim Blandy <[email protected]> |
797 | ||
798 | * dwarf2read.c (struct die_info): Doc fix. | |
799 | ||
617daa0e CV |
800 | 2003-10-02 Corinna Vinschen <[email protected]> |
801 | ||
802 | * sh-tdep.c: Running thru gdb_indent.sh. | |
803 | ||
e5e33cd9 CV |
804 | 2003-10-02 Corinna Vinschen <[email protected]> |
805 | ||
806 | * sh-tdep.c (sh_justify_value_in_reg): New function. | |
807 | (sh_stack_allocsize): Ditto. | |
808 | (flt_argreg_array): New array used for floating point argument | |
809 | passing. | |
810 | (sh_init_flt_argreg): New function. | |
a8f4cde1 | 811 | (sh_next_flt_argreg): Ditto. |
e5e33cd9 CV |
812 | (sh_push_dummy_call_fpu): Simplify. Rename "odd_sized_struct" to |
813 | "pass_on_stack". Use new helper functions. Accomodate Renesas ABI. | |
814 | Fix argument passing strategy. | |
815 | (sh_push_dummy_call_nofpu): Ditto. | |
816 | ||
5fe830e4 AC |
817 | 2003-10-01 Andrew Cagney <[email protected]> |
818 | ||
819 | * value.h (register_value_being_returned): Declare. Replace | |
820 | "value_being_returned". | |
821 | * infcall.c (call_function_by_hand): Use | |
822 | register_value_being_returned. | |
823 | * infcmd.c (print_return_value): Call | |
824 | "register_value_being_returned", handle struct return locally. | |
825 | * values.c (register_value_being_returned): New function. Replace | |
826 | "value_being_returned". | |
a8f4cde1 | 827 | |
5fe830e4 | 828 | 2003-09-30 Elena Zannoni <[email protected]> |
cf50a87a EZ |
829 | |
830 | * linux-proc.c (linux_do_registers): New function. | |
831 | (linux_make_note_section): Use linux_do_registers in case of | |
832 | single threaded inferior programs. | |
833 | ||
64f395bf AC |
834 | 2003-10-01 Andrew Cagney <[email protected]> |
835 | ||
836 | * infcall.c (call_function_by_hand): When STRUCT_RETURN, always | |
837 | use STRUCT_ADDR. When not using "struct return convention", pass | |
838 | "0" to "value_being_returned". Add FIXMEs. | |
839 | * infcmd.c (print_return_value): Pass an explicit 0/1 to | |
840 | value_being_returned. Add comments. | |
841 | * values.c (value_being_returned): Add fixme. | |
842 | * hppa-tdep.c (hppa_extract_struct_value_address): Add FIXME. | |
843 | (hppa_value_returned_from_stack): Add FIXME. | |
844 | ||
639d11d3 DC |
845 | 2003-09-30 David Carlton <[email protected]> |
846 | ||
847 | * dwarf2read.c (struct die_info): Add 'parent' field; replace | |
848 | 'has_children' and 'next' by 'child' and 'sibling'. | |
849 | (read_comp_unit): Rework algorithm, breaking body into | |
850 | read_die_and_children and read_die_and_siblings. | |
851 | (read_die_and_children, read_die_and_siblings): New. | |
852 | (read_full_die): Add 'has_children' argument; set it instead of | |
853 | the die's 'has_children' field. Minor formatting cleanup. | |
854 | (free_die_list): Use die->child and die->sibling instead of | |
855 | die->next. | |
856 | (dump_die_list): Ditto. | |
857 | (sibling_die): Use die->sibling. | |
858 | (psymtab_to_symtab_1): Use die's 'child' field in place of its | |
859 | 'has_children' and 'next' fields. | |
a8f4cde1 RM |
860 | (process_die, read_file_scope, read_func_scope) |
861 | (read_lexical_block_scope, read_structure_scope) | |
862 | (read_enumeration, read_array_type, read_common_block) | |
639d11d3 DC |
863 | (read_namespace, read_subroutine_type, dump_die): Ditto. |
864 | ||
5bffac25 AC |
865 | 2003-09-30 Andrew Cagney <[email protected]> |
866 | ||
867 | * rs6000-tdep.c (rs6000_gdbarch_init): Set the PowerOpen red zone | |
868 | to 224, not 220. | |
869 | ||
f30992d4 AC |
870 | 2003-09-30 Andrew Cagney <[email protected]> |
871 | ||
872 | * gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_SIZE): Rename | |
873 | REGISTER_VIRTUAL_SIZE. | |
874 | * gdbarch.h, gdbarch.c: Regenerate. | |
875 | * vax-tdep.h, sparc-tdep.c, regcache.h: Update. | |
876 | * regcache.c, mn10300-tdep.c, mips-tdep.c: Update. | |
877 | * infcmd.c, frame.c, findvar.c, cris-tdep.c: Update. | |
878 | ||
2e092625 AC |
879 | 2003-09-29 Andrew Cagney <[email protected]> |
880 | ||
881 | * gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_TYPE): Rename | |
882 | DEPRECATED_REGISTER_VIRTUAL_TYPE. | |
883 | * gdbarch.h, gdbarch.c: Regenerate. | |
884 | * arch-utils.c, hppa-tdep.c, regcache.c, regcache.h: Update. | |
885 | * sh64-tdep.c, sparc-tdep.c: Update. | |
4deab737 AC |
886 | |
887 | * remote-vxsparc.c (vx_read_register): Replace bzero with memset. | |
888 | * remote-vxmips.c (vx_read_register): Ditto. | |
889 | * remote-vx68.c (vx_read_register): Ditto. | |
890 | * gnu-nat.c (inf_validate_procs): Ditto. | |
891 | ||
7a5dd6ee JB |
892 | 2003-09-29 J. Brobecker <[email protected]> |
893 | ||
894 | * infcall.c (call_function_by_hand): Fix build failure | |
895 | introduced in the previous change to this file. | |
896 | ||
1fe43d45 AC |
897 | 2003-09-29 Andrew Cagney <[email protected]> |
898 | ||
899 | * NEWS: Mention Objective-C. | |
900 | ||
e28a332c JG |
901 | 2003-09-29 Jerome Guitton <[email protected]> |
902 | ||
903 | * arm-tdep.c (arm_make_prologue_cache): Use trad_frame_addr_p to | |
904 | test if the register has been saved on the stack. | |
905 | (arm_scan_prologue_cache): When analysing the instruction | |
906 | "str lr, [sp, #-4]", save the address where lr has been stored. | |
907 | ||
9ff63c35 AC |
908 | 2003-09-28 Andrew Cagney <[email protected]> |
909 | ||
7f5f525d AC |
910 | * frame.c (frame_read_unsigned_register): Delete function. |
911 | * frame.h (frame_read_unsigned_register): Delete declaration. | |
912 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
913 | get_frame_register_unsigned. | |
914 | (sparc_frame_saved_pc, sparc_pop_frame): Ditto. | |
915 | * m68hc11-tdep.c (m68hc11_print_register): Ditto. | |
916 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
a8f4cde1 | 917 | |
7f5f525d AC |
918 | * frame.h (frame_read_register): Delete declaration. |
919 | * frame.c (frame_read_register): Delete function. | |
920 | * arch-utils.c (legacy_register_to_value): Use get_frame_register. | |
921 | * sparc-tdep.c (sparc_fetch_pointer_argument): Ditto. | |
922 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Ditto. | |
923 | * mips-tdep.c (mips_register_to_value): Ditto. | |
924 | * hppa-tdep.c (hppa_fetch_pointer_argument): Ditto. | |
925 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
926 | ||
927 | * frame.c (frame_read_signed_register): Delete function. | |
928 | (frame_read_unsigned_register): Update comments. | |
929 | * frame.h (frame_read_signed_register): Delete declaration. | |
930 | * h8300-tdep.c (h8300_print_register): Use | |
931 | get_frame_register_signed. | |
932 | * m68hc11-tdep.c (m68hc11_print_register): Ditto. | |
933 | ||
9ff63c35 AC |
934 | * config/pa/tm-hppa.h (DEPRECATED_VALUE_RETURNED_FROM_STACK): |
935 | Rename VALUE_RETURNED_FROM_STACK. | |
936 | * infcmd.c (print_return_value): Update. | |
937 | * infcall.c (call_function_by_hand): Update. | |
938 | ||
41d041d6 MK |
939 | 2003-09-28 Mark Kettenis <[email protected]> |
940 | ||
941 | * i387-tdep.c (i387_supply_fsave, i387_supply_fxsave): Add | |
942 | regcache argument and reverse the order of the other two | |
943 | arguments. Remove local regcache variable. Determine | |
944 | architecture from REGCACHE. Update comments. | |
945 | * x86-64-tdep.c (x86_64_supply_fxsave): Add regcache argument and | |
946 | reverse the order of the other two arguments. Remove local | |
947 | regcache variable. Determine architecture from REGCACHE. Update | |
948 | comments. | |
949 | * i387-tdep.h (i387_supply_fsave, i387_supply_fxsave): Adjust | |
950 | prototypes. Update comments. | |
951 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust prototype. Adjust | |
952 | comment. | |
953 | * amd64fbsd-nat.c (supply_fpregset, fetch_inferior_registers): | |
954 | Update. | |
955 | * go32-nat.c (fetch_register, go32_fetch_registers): Update. | |
956 | * i386-interix-nat.c (supply_fpregset): Update. | |
957 | * i386-linux-nat.c (supply_fpregset, supply_fpxregset): Update. | |
958 | * i386-nto-tdep.c (i386nto_supply_fpregset): Update. | |
959 | * i386gnu-nat.c (fetch_fpregs, supply_fpregset): Update. | |
960 | * i386bsd-nat.c (supply_fpregset, fetch_inferior_registers): Update. | |
961 | * i386nbsd-tdep.c (fetch_core_registers, fetch_elfcore_registers): | |
962 | Update. | |
963 | * i386obsd-tdep.c (fetch_core_registers): Update. | |
964 | * i386v4-nat.c (supply_fpregset): Update. | |
965 | * x86-64-linux-nat.c (supply_fpregset): Update. | |
966 | * x86-64-linux-tdep.c (fetch_core_registers): Update. | |
a8f4cde1 | 967 | |
1cb97e17 MK |
968 | 2003-09-27 Mark Kettenis <[email protected]> |
969 | ||
5716833c MK |
970 | * i386-tdep.h: Put opaque declarations in alphabetical |
971 | order. Remove spurious whitespace. | |
972 | (struct gdbarch_tdep): add st0_regnum and mm0_regnum members. | |
973 | (i386_sse_regnum_p, i386_mxcsr_regnum_p): Remove prototypes. | |
974 | * i386-tdep.c (MM0_REGNUM): Remove define. | |
975 | (i386_mmx_regnum_p): Add gdbarch argument. | |
976 | (i386_sse_regnum_p, i386_mxcsr_regnum_p): Add gdbarch argument. | |
977 | Rewrite using new macro definitions for FPU/SSE registers. | |
978 | (i386_fp_regnum_p, i386_fpc_regnum_p): Rewrite using new macro | |
979 | definitions from i387-tdep.h. | |
980 | (i386_register_name): Update. | |
981 | (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): Update to use | |
982 | new macro definitions for FPU/SSE registers. | |
983 | (i386_extract_return_value): Determine whether floating-point | |
984 | registers are present by examining REGCACHE's architecture. | |
985 | (i386_store_return_value): Likewise. Use I386_MAX_REGISTER_SIZE | |
986 | instead of FPU_REG_RAW_SIZE. Use new macro definitions for | |
987 | FPU/SSE registers. | |
988 | (i386_register_type): Update. | |
989 | (i386_mmx_regnum_to_fp_regnum): Rewrite using new macro | |
990 | definitions for FPU registers. Use REGCACHE's architecture to | |
991 | determine the appropriate register numbers. | |
992 | (i386_pseudo_register_read, i386_pseudo_register_write, | |
993 | i386_register_reggroup_p): Update. | |
994 | (i386_gdbarch_init): Initialize TDEP->st0_regnum and | |
995 | TDEP->mm0_regnum. | |
996 | * i387-tdep.h (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, | |
997 | I387_FTAG_REGNUM, I387_FISEG_REGNUM, I387_FIOFF_REGNUM, | |
998 | I387_FOSEG_REGNUM, I387_FOOFF_REGNUM, I387_FOP_REGNUM, | |
999 | I387_XMM0_REGNUM, I387_MXCSR_REGNUM): New defines. | |
1000 | (i387_supply_fsave, i387_fill_fsave, i387_supply_fxsave, | |
1001 | i387_fill_fxsave): Change type of fsave/fxsave argument from `char | |
1002 | *' to `void *'. | |
1003 | * i387-tdep.c (i387_print_float_info, fsave_offset, FSAVE_ADDR, | |
1004 | i387_supply_fsave, i387_fill_fsave, fxsave_offset, FXSAVE_ADDR, | |
1005 | i387_supply_fxsave, i387_fill_fxsave): Update to use new macro | |
1006 | definitions for FPU/SSE registers. | |
1007 | (FXSAVE_MXCSR_ADDR): New define. | |
1008 | * x86-64-tdep.c (x86_64_init_abi): Override TDEP->st0_regnum and | |
1009 | TDEP->mm0_regnum. | |
1010 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Remove defines. | |
1011 | (I387_ST0_REGNUM): Define. | |
1012 | ||
41d35cb0 MK |
1013 | * regcache.h (get_regcache_arch): New prototype. |
1014 | * regcache.c (get_regcache_arch): New function. | |
1015 | ||
54e74f72 MK |
1016 | * x86-64-tdep.c (x86_64_store_return_value): Remove spurious |
1017 | whitespace. | |
1018 | ||
1cb97e17 MK |
1019 | * i386-tdep.c (i386_num_register_names, i386_num_mmx_regs): |
1020 | Initialize using ARRAY_SIZE. | |
1021 | ||
0968aa8c AC |
1022 | 2003-09-27 Andrew Cagney <[email protected]> |
1023 | ||
1024 | * arch-utils.c (deprecated_init_frame_pc_default): Rename | |
1025 | "init_frame_pc_default". | |
1026 | * arch-utils.h (deprecated_init_frame_pc_default): Update. | |
1027 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1028 | * vax-tdep.c (vax_gdbarch_init): Update. | |
1029 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1030 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
1031 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1032 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
1033 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
1034 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
1035 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1036 | * config/pa/tm-hppa.h (DEPRECATED_INIT_FRAME_PC): Update. | |
1037 | ||
54c84734 MK |
1038 | 2003-09-26 Mark Kettenis <[email protected]> |
1039 | ||
1040 | * regset.h: New file. | |
1041 | * Makefile.in (regset_h): Add. | |
1042 | ||
1b1d3794 AC |
1043 | 2003-09-25 Andrew Cagney <[email protected]> |
1044 | ||
1045 | * frame.h (deprecated_frame_saved_regs): Rename | |
1046 | get_frame_saved_regs. | |
1047 | * cris-tdep.c, frame.c, h8300-tdep.c, hppa-tdep.c: Update. | |
1048 | * mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update. | |
1049 | * ns32k-tdep.c, ppc-linux-tdep.c, rs6000-tdep.c: Update. | |
1050 | * s390-tdep.c, sh64-tdep.c, stack.c: Update. | |
1051 | * v850-tdep.c, vax-tdep.c, xstormy16-tdep.c: Update. | |
1052 | ||
e6beb428 AC |
1053 | 2003-09-25 Andrew Cagney <[email protected]> |
1054 | ||
1055 | * NEWS: Mention the new backtrace mechanism, DWARF 2 CFI, hosted | |
1056 | file I/O, multi-arch, TLS and NPTL, DWARF 2 Location Expressions, | |
1057 | and Java. | |
1058 | * PROBLEMS: Mention that mips*-*-*, powerpc*-*-*, sparc*-*-* and | |
1059 | arm*-*-* do not use the new frame code. | |
1060 | ||
710122da DC |
1061 | 2003-09-25 David Carlton <[email protected]> |
1062 | ||
1063 | * c-exp.y: Remove 'register' declarations. | |
1064 | * f-exp.y, jv-exp.y, m2-exp.y, objc-exp.y, p-exp.y: Ditto. | |
1065 | ||
79c2c32d DC |
1066 | 2003-09-25 David Carlton <[email protected]> |
1067 | ||
1068 | * c-exp.y: Include cp-support.h. Add qualified_type. | |
1069 | (yylex): Delete nested type hack; add comments. | |
1070 | * cp-namespace.c (cp_lookup_nested_type): New function. | |
1071 | * cp-support.h: Declare cp_lookup_nested_type. | |
1072 | * eval.c (evaluate_subexp_standard): Call value_aggregate_elt | |
1073 | instead of value_struct_elt_for_reference. | |
1074 | * valops.c: Include cp-support.h. | |
1075 | (value_aggregate_elt): New function. | |
1076 | (value_namespace_elt): Ditto. | |
1077 | (value_struct_elt_for_reference): Make static. | |
1078 | * value.h: Delete declaration of value_struct_elt_for_reference; | |
1079 | add declaration for value_aggregate_elt. | |
1080 | * Makefile.in (c-exp.tab.o): Depend on $(cp_support_h). | |
1081 | (valops.o): Ditto. | |
1082 | ||
898c62f5 DJ |
1083 | 2003-09-25 Daniel Jacobowitz <[email protected]> |
1084 | ||
1085 | * stack.c: Include "reggroups.h". | |
1086 | (frame_info): Only display registers in all_reggroup. | |
1087 | * Makefile.in (stack.o): Update dependencies. | |
1088 | ||
28cd8767 JG |
1089 | 2003-09-25 Jerome Guitton <[email protected]> |
1090 | ||
1091 | * arm-tdep.c (arm_skip_prologue): Handle "sub ip, sp #n" and | |
1092 | "add ip, sp #n" in the prologue. | |
1093 | (arm_scan_prologue): Ditto. | |
1094 | ||
a4ab2b5d JG |
1095 | 2003-09-25 Jerome Guitton <[email protected]> |
1096 | ||
1097 | * MAINTAINERS (write after approval): Add myself. | |
1098 | ||
3f244638 AS |
1099 | 2003-09-25 Andreas Schwab <[email protected]> |
1100 | ||
1101 | * m68k-tdep.c: Include "dwarf2-frame.h". | |
1102 | (m68k_gdbarch_init): Add the DWARF CFI frame unwinder. | |
1103 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
1104 | ||
1c0159e0 CV |
1105 | 2003-09-25 Corinna Vinschen <[email protected]> |
1106 | ||
1107 | * sh-tdep.c (struct frame_extra_info): Remove. | |
1108 | (struct sh_frame_cache): New structure. | |
1109 | (GET_SOURCE_REG): New macro extracting source register of an opcode. | |
1110 | (GET_TARGET_REG): Ditto but target register. | |
1111 | (GET_PUSHED_REG): Remove. | |
1112 | (IS_MOV_ARG_TO_REG): New macro. | |
1113 | (IS_MOV_ARG_TO_IND_R14): New macro. | |
1114 | (IS_MOV_ARG_TO_IND_R14_WITH_DISP): New macro. | |
1115 | (IS_MOVW_PCREL_TO_REG): New macro. | |
1116 | (IS_MOVL_PCREL_TO_REG): New macro. | |
1117 | (IS_SUB_REG_FROM_SP): New macro. | |
1118 | (IS_ARG_MOV): Remove. | |
1119 | (IS_MOV_TO_R14): Remove. | |
1120 | (IS_RESTORE_FP): New macro. | |
1121 | (IS_RTS): New macro. | |
1122 | (IS_LDS): New macro. | |
1123 | (IS_MOV_FP_SP): New macro. | |
1124 | (IS_ADD_REG_TO_FP): New macro. | |
1125 | (IS_ADD_IMM_FP): New macro. | |
1126 | (sh_skip_prologue_hard_way): Remove. | |
1127 | (sh_saved_pc_after_call): Remove. | |
1128 | (sh_frame_chain): Remove. | |
1129 | (sh_find_callers_reg): Remove. | |
a8f4cde1 | 1130 | (sh_nofp_frame_init_saved_regs): Remove. |
1c0159e0 CV |
1131 | (sh_fp_frame_init_saved_regs): Remove. |
1132 | (sh_init_extra_frame_info): Remove. | |
1133 | (sh_analyze_prologue): New function. | |
1134 | (sh_skip_prologue): Remove deprecated code. Rely on new function | |
1135 | sh_analyze_prologue when after_prologue fails. | |
1136 | (sh_frame_saved_pc): Remove. | |
1137 | (sh_alloc_frame_cache): New function. | |
1138 | (sh_frame_cache): Ditto. | |
1139 | (sh_frame_prev_register): Ditto. | |
1140 | (sh_frame_this_id): Ditto. | |
1141 | (sh_frame_unwind): New structure defining the heuristic frame | |
1142 | sniffer interface. | |
1143 | (sh_frame_sniffer): New function. | |
1144 | (sh_unwind_sp): Ditto. | |
1145 | (sh_unwind_pc): Ditto. | |
1146 | (sh_unwind_dummy_id): Ditto. | |
1147 | (sh_frame_base_address): Ditto. | |
1148 | (sh_frame_base): New structure defining new frame base code. | |
1149 | (sh_in_function_epilogue_p): New function. | |
1150 | (sh_gdbarch_init): Restructure and simplify to eliminate deprecated | |
1151 | code and to call all new code instead. Initialize dwarf2 and | |
1152 | heuristic frame sniffer. | |
1153 | ||
5f9769d1 PH |
1154 | 2003-09-24 Paul N. Hilfinger <[email protected]> |
1155 | ||
a8f4cde1 RM |
1156 | * parser-defs.h (struct exp_descriptor): New definition, containing |
1157 | language-specific info for printing, prefixifying, dumping, and | |
5f9769d1 PH |
1158 | evaluating expressions. |
1159 | (exp_descriptor_standard): Declare new variable. | |
1160 | (print_subexp): Make global and declare here (from expprint.c). | |
1161 | (dump_subexp): Ditto. | |
1162 | (dump_subexp_body_standard): Declare. | |
1163 | (operator_length_standard): Declare. | |
1164 | (op_name_standard): Declare. | |
1165 | (print_subexp): Declare. | |
1166 | (print_subexp_standard): Declare. | |
1167 | ||
1168 | * language.h (struct language_defn): Add la_exp_desc field to hold | |
1169 | pointer to table for language-specific operators. | |
1170 | Remove evaluate_exp field, which is now in struct exp_descriptor. | |
a8f4cde1 RM |
1171 | |
1172 | * parse.c (operator_length): Move most code to new | |
5f9769d1 | 1173 | operator_length_standard function. Use language-specific information. |
a8f4cde1 | 1174 | (operator_length_standard): New function taking most code from |
5f9769d1 PH |
1175 | operator_length. |
1176 | (exp_descriptor_standard): New constant. | |
a8f4cde1 RM |
1177 | |
1178 | * expression.h (enum exp_opcode): Add definitions of OP_EXTENDED0 | |
5f9769d1 | 1179 | and OP_EXTENDED_LAST. |
a8f4cde1 RM |
1180 | |
1181 | * expprint.c (print_subexp): Use language-specific print_subexp. | |
5f9769d1 PH |
1182 | Make global; remove static declaration. |
1183 | Move most code to print_subexp_standard. | |
a8f4cde1 | 1184 | (print_subexp_standard): New function, containing code formerly in |
5f9769d1 PH |
1185 | print_subexp. |
1186 | (op_name): Add expression to argument signature. | |
a8f4cde1 | 1187 | Use langauge-specific op_name. |
5f9769d1 PH |
1188 | Move most code to op_name_standard. |
1189 | (op_name_standard): New function, containing code formerly in op_name. | |
1190 | (dump_subexp): Use new version of op_name function. | |
1191 | Use language-specific dump_subexp_body, and move most existing code to | |
1192 | dump_subexp_body_standard. | |
1193 | (dump_raw_expression): Use new op_name interface. | |
1194 | (dump_subexp_body): Move most code to dump_subexp_body_standard. | |
1195 | (dump_subexp_body_standard): New function, containing code formerly | |
1196 | in dump_subexp_body. | |
a8f4cde1 | 1197 | |
5f9769d1 PH |
1198 | * language.c (unknown_language): Add default la_exp_desc field and |
1199 | remove evaluate_exp field. | |
1200 | (auto_language): Ditto. | |
1201 | (local_language): Ditto. | |
1202 | * f-lang.c (f_language_defn): Ditto. | |
1203 | * c-lang.c (c_language_defn): Ditto. | |
1204 | (cplus_language_defn): Ditto. | |
1205 | (asm_language_defn): Ditto. | |
1206 | (minimal_language_defn): Ditto. | |
1207 | * p-lang.c (pascal_language_defn): Ditto. | |
1208 | * m2-lang.c (m2_language_defn): Ditto. | |
1209 | * objc-lang.c (objc_language_defn): Ditto. | |
a8f4cde1 RM |
1210 | |
1211 | * jv-lang.c (exp_descriptor_java): New variable, containing | |
5f9769d1 PH |
1212 | Java-specific expression evaluator. |
1213 | (java_language_defn): Add la_exp_desc field and remove evaluate_exp | |
1214 | field. | |
a8f4cde1 | 1215 | * scm-lang.c (exp_descriptor_scm): New variable, containing |
5f9769d1 PH |
1216 | Scheme-specific expression evaluator. |
1217 | (scm_language_defn): Add la_exp_desc field and remove evaluate_exp | |
1218 | field. | |
1219 | * objc-lang.c (print_object_command): Take evaluate_exp from the | |
1220 | la_exp_desc field. | |
a8f4cde1 | 1221 | |
5f9769d1 | 1222 | * Makefile.in (eval.o): Add dependency on parser-defs.h. |
a8f4cde1 RM |
1223 | |
1224 | * eval.c: Include parser-defs.h for the full declaration of | |
5f9769d1 PH |
1225 | la_exp_desc's type. |
1226 | (evaluate_subexp): Get evaluate_exp out of la_exp_desc field. | |
a8f4cde1 | 1227 | |
24daaebc PH |
1228 | 2003-09-23 Paul N. Hilfinger <[email protected]> |
1229 | ||
1230 | * parser-defs.h (operator_length): Declare. | |
a8f4cde1 | 1231 | |
24daaebc PH |
1232 | * parse.c (length_of_subexp): Use operator_length to get operator |
1233 | lengths and arities for operators. | |
1234 | Move most code to new operator_length function. | |
a8f4cde1 | 1235 | (operator_length): New function absorbing most code from |
24daaebc PH |
1236 | length_of_subexp. |
1237 | (prefixify_subexp): Remove large case and use operator_length instead. | |
1238 | (parse_exp_1): Use renamings: | |
a8f4cde1 | 1239 | dump_prefix_expression => dump_raw_expression and |
24daaebc | 1240 | dump_postfix_expression => dump_prefix_expression. |
a8f4cde1 | 1241 | |
24daaebc PH |
1242 | * expression.h (dump_prefix_expression): Rename to ... |
1243 | (dump_raw_expression): New name. | |
1244 | (dump_postfix_expression): Rename to ... | |
1245 | (dump_prefix_expression): New name. | |
a8f4cde1 | 1246 | |
24daaebc PH |
1247 | * expprint.c (dump_subexp): Make global. Add comment. |
1248 | Move most existing code to dump_subexp_body. | |
1249 | (dump_subexp_body): New function. | |
1250 | (dump_prefix_expression): Rename to dump_raw_expression. | |
a8f4cde1 | 1251 | Remove attempt to print the expression via print_expression: it can't |
24daaebc PH |
1252 | work before the expression is prefixified. |
1253 | (dump_raw_expression): Renamed from dump_prefix_expression. | |
a8f4cde1 | 1254 | (dump_postfix_expression): Rename to dump_prefix_expression, since |
24daaebc | 1255 | that's what it does. |
a8f4cde1 | 1256 | Remove 'note' parameter, since this routine must be used on |
24daaebc PH |
1257 | prefixified expression. |
1258 | (dump_prefix_expression): Renamed from dump_postfix_expression. | |
a8f4cde1 | 1259 | |
8c2957c4 JB |
1260 | 2003-09-22 Jim Blandy <[email protected]> |
1261 | ||
1262 | * dwarf2read.c (read_array_type): When building the type for an | |
1263 | array of unspecified length, make sure to choose the upper bound | |
1264 | so that the array's total length comes out to be zero --- that's | |
1265 | how we represent such arrays. | |
1266 | ||
592e3010 MC |
1267 | 2003-09-22 Michael Chastain <[email protected]> |
1268 | ||
1269 | * MAINTAINERS: Rename gdb.c++ to gdb.cp. | |
1270 | ||
365c70b1 JJ |
1271 | 2003-09-22 Jeff Johnston <[email protected]> |
1272 | ||
1273 | * top.c (quit_force): Fix indirect call to quit_target so | |
1274 | a struct qt_args pointer is passed. | |
1275 | ||
5d6eb653 AC |
1276 | 2003-09-22 Andrew Cagney <[email protected]> |
1277 | ||
1278 | * arch-utils.h (init_frame_pc_noop): Delete declaration. | |
1279 | * arch-utils.c (init_frame_pc_noop): Delete function. | |
1280 | * mn10300-tdep.c (mn10300_gdbarch_init): Do not set | |
1281 | "init_frame_pc". | |
1282 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
1283 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
1284 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Delete | |
1285 | declaration. | |
1286 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
1287 | * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Delete | |
1288 | declaration. | |
1289 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
1290 | ||
b222a67f AG |
1291 | 2003-09-22 Anthony Green <[email protected]> |
1292 | ||
1293 | * monitor.c (monitor_expect): Delete unused conflicting targ_ops | |
1294 | declaration. | |
1295 | ||
d5b5ac79 AC |
1296 | 2003-09-20 Andrew Cagney <[email protected]> |
1297 | ||
deafb061 AC |
1298 | * breakpoint.c: Eliminate ARGSUSED. |
1299 | * buildsym.c, cli/cli-cmds.c, cli/cli-script.c: Ditto. | |
1300 | * coffread.c, corelow.c, dwarf2read.c, event-top.c: Ditto. | |
1301 | * exec.c, gcore.c, hpux-thread.c, infcmd.c, inflow.c: Ditto. | |
1302 | * infrun.c, inftarg.c, maint.c, ocd.c, printcmd.c: Ditto. | |
1303 | * procfs.c, regcache.c, remote-rdi.c, remote-sds.c: Ditto. | |
1304 | * remote.c, sol-thread.c, source.c, stabsread.c: Ditto. | |
1305 | * stack.c, symfile.c, target.c, top.c, typeprint.c: Ditto. | |
1306 | * utils.c, v850ice.c, valprint.c, values.c, win32-nat.c: Ditto. | |
1307 | * wince.c, remote-vx.c: Ditto. | |
1308 | ||
d5b5ac79 AC |
1309 | * cli/cli-script.c: Remove "register" attributes. |
1310 | * config/pa/tm-hppa.h: Ditto. | |
1311 | * cli/cli-decode.c: Ditto. | |
1312 | * cli/cli-cmds.c: Ditto. | |
1313 | ||
c6316faa AC |
1314 | 2003-09-19 Andrew Cagney <[email protected]> |
1315 | ||
1316 | * sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to | |
1317 | DEPRECATED_NPC_REGNUM. | |
1318 | * sparc64nbsd-nat.c (getregs_supplies): Ditto. | |
1319 | ||
f4f99b11 CF |
1320 | 2003-09-19 Christopher Faylor <[email protected]> |
1321 | ||
1322 | * win32-nat.c (mappings): Remove HAVE_SSE conditional. | |
1323 | ||
1708f284 JB |
1324 | 2003-09-19 Jim Blandy <[email protected]> |
1325 | ||
1326 | * macrotab.c (macro_include): Use the correct comparison to find | |
1327 | the appropriate place for this inclusion in the list. | |
1328 | ||
b9fbf434 AC |
1329 | 2003-09-19 Andrew Cagney <[email protected]> |
1330 | ||
1331 | * config/pa/nm-hppah.h (NEED_TEXT_START_END): Delete. | |
1332 | (DEPRECATED_HPUX_TEXT_END): Define. | |
1333 | (deprecated_hpux_text_end): Declare. | |
1334 | (struct target_ops): Declare opaque. | |
1335 | * hppah-nat.c (text_end): Make static. | |
1336 | (deprecated_hpux_text_end): New function. | |
1337 | * exec.c (text_end): Delete global variable. | |
1338 | (NEED_TEXT_START_END): Do not define. | |
1339 | (exec_file_attach): Replace code computing "text_end" code with | |
1340 | call to DEPRECATED_HPUX_TEXT_END. | |
1341 | ||
5b03f266 AC |
1342 | 2003-09-19 Andrew Cagney <[email protected]> |
1343 | ||
1344 | * utils.c (align_up, align_down): New functions. | |
1345 | * defs.h (align_up, align_down): Declare. | |
1346 | * ppc-sysv-tdep.c (align_up, align_down): Delete functions. | |
1347 | * s390-tdep.c: Replace "round_up" and "round_down" with "align_up" | |
1348 | and "align_down". | |
1349 | (round_up, round_down): Delete functions. | |
1350 | * mips-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
1351 | "align_down". | |
1352 | (ROUND_DOWN, ROUND_UP): Delete macros. | |
1353 | (mips_dump_tdep): Do not print "ROUND_UP" or "ROUND_DOWN". | |
1354 | * h8300-tdep.c: Replace "round_up" and "round_down" with | |
1355 | "align_up" and "align_down". | |
1356 | (round_up, round_down): Delete macros. | |
1357 | * frv-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
1358 | "align_down". | |
1359 | (ROUND_UP, ROUND_DOWN): Delete macros. | |
1360 | ||
51db5742 JB |
1361 | 2003-09-18 J. Brobecker <[email protected]> |
1362 | ||
1363 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a | |
1364 | hard-coded constant. Use the proper machine name instead. | |
1365 | ||
77949794 AC |
1366 | 2003-09-17 Andrew Cagney <[email protected]> |
1367 | ||
1368 | * sparc-tdep.c (legacy_register_name): Delete function. | |
1369 | * mips-tdep.c (mips_dump_tdep): Do not print REGISTER_NAME. | |
1370 | (mips_gdbarch_init): Refer to MIPS_REGISTER_NAME in comments. | |
1371 | * infcmd.c (gdb_register_name): Delete variable. | |
1372 | * gdbarch.sh (SDB_REG_TO_REGNUM): Delete reference to | |
1373 | REGISTER_NAME and "tm.h". | |
1374 | * gdbarch.h, gdbarch.c: Regenerate. | |
1375 | * dpx2-nat.c (regmap): Refer to REGISTER_NAME and not | |
1376 | REGISTER_NAMES in comments. | |
1377 | * remote-st.c (get_reg_name), i386b-nat.c (tregmap): Ditto. | |
1378 | * m68klinux-nat.c (regmap): Ditto. | |
1379 | ||
b55c33cc JB |
1380 | 2003-09-17 Jim Blandy <[email protected]> |
1381 | ||
1382 | * Makefile.in (dis_asm_h): Note that this #includes "bfd.h". | |
1383 | ||
957e27ac AC |
1384 | 2003-09-17 Andrew Cagney <[email protected]> |
1385 | ||
1386 | * ppcnbsd-tdep.c (ppcnbsd_use_struct_convention): New function. | |
1387 | (ppcnbsd_init_abi): Set "use_struct_convention" to | |
1388 | "ppcnbsd_use_struct_convention". | |
1389 | ||
192cb3d4 MK |
1390 | 2003-09-17 Mark Kettenis <[email protected]> |
1391 | ||
1392 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. | |
1393 | * gdbarch.h, gdbarch.c: Regenerate. | |
1394 | (stabs_argument_has_addr): New architecture method. | |
1395 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
1396 | * arch-utils.c: Include "buildsym.h". | |
1397 | (default_stabs_argument_has_addr): New function. | |
1398 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
1399 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
1400 | ||
efe59759 AC |
1401 | 2003-09-17 Andrew Cagney <[email protected]> |
1402 | ||
1403 | * gdbarch.sh (DEPRECATED_NPC_REGNUM): Deprecate NPC_REGNUM. | |
1404 | * gdbarch.h, gdbarch.c: Regenerate. | |
1405 | * core-sol2.c, hppa-tdep.c, lynx-nat.c, procfs.c: Update. | |
1406 | * regcache.c, remote-vxsparc.c, sparc-linux-nat.c: Update. | |
1407 | * sparc-nat.c, sparc-tdep.c, sparc64-tdep.c: Update. | |
1408 | * sparcnbsd-tdep.c: Update. | |
a8f4cde1 | 1409 | |
62700349 AC |
1410 | 2003-09-17 Andrew Cagney <[email protected]> |
1411 | ||
1412 | * gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE. | |
1413 | * gdbarch.h, gdbarch.c: Regenerate. | |
1414 | * arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update. | |
1415 | * d10v-tdep.c, frame.c: Update. | |
1416 | * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. | |
1417 | * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. | |
1418 | * ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update. | |
1419 | * mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update. | |
1420 | * mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
1421 | * ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update. | |
1422 | * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update. | |
1423 | * remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update. | |
1424 | * sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update. | |
1425 | * v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update. | |
1426 | * config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update. | |
1427 | * config/pa/nm-hppah.h: Update. | |
1428 | ||
b9ff3018 AC |
1429 | 2003-09-16 Andrew Cagney <[email protected]> |
1430 | ||
1431 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set the 32 bit | |
1432 | "use_struct_convention" to "ppc_linux_use_struct_convention". | |
1433 | (ppc_linux_use_struct_convention): New function. | |
1434 | * rs6000-tdep.c (rs6000_use_struct_convention): New function. | |
1435 | (rs6000_gdbarch_init): For AIX, set "use_struct_convention" to | |
1436 | "rs6000_use_struct_convention". | |
1437 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Delete | |
1438 | declaration. | |
1439 | * ppc-sysv-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
1440 | Delete function. | |
1441 | ||
aa1ee363 AC |
1442 | 2003-09-16 Andrew Cagney <[email protected]> |
1443 | ||
1444 | * buildsym.c: Remove more occurances of "register". | |
1445 | * coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto. | |
1446 | * environ.c, eval.c, f-valprint.c, findvar.c: Ditto. | |
1447 | * gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto. | |
1448 | * infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto. | |
1449 | * printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto. | |
1450 | * sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto. | |
1451 | * standalone.c, symfile.c, symmisc.c, symtab.c: Ditto. | |
1452 | * utils.c, valops.c, values.c, xcoffread.c: Ditto. | |
1453 | ||
f2ea0907 CV |
1454 | 2003-09-16 Corinna Vinschen <[email protected]> |
1455 | ||
1456 | * sh-tdep.h (struct gdbarch_tdep): Remove. Change all register | |
1457 | numbers to enumeration values. | |
1458 | * sh-tdep.c: Accomodate above change. | |
1459 | (SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS. | |
1460 | (NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only). | |
1461 | (NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only). | |
1462 | (IS_ADD_IMM_SP): Rename from IS_ADD_SP. | |
1463 | (IS_FPUSH): Rename from IS_FMOV. | |
1464 | (sh_extract_struct_value_address): Remove useless comment. | |
1465 | (sh_dsp_register_sim_regno): Use register values from sh-tdep.h | |
1466 | instead of own local values. | |
1467 | (sh_dump_tdep): Remove. | |
1468 | (_initialize_sh_tdep): Accomodate removing sh_dump_tdep. | |
1469 | * sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes. | |
1470 | ||
1c704f11 AC |
1471 | 2003-09-15 Andrew Cagney <[email protected]> |
1472 | ||
1473 | * doublest.c (convert_floatformat_to_doublest): No longer need to | |
1474 | cast "exp_bias" to an int. Reverts 2002-12-04 change. | |
1475 | ||
ac79b88b DJ |
1476 | 2003-09-15 Daniel Jacobowitz <[email protected]> |
1477 | ||
1478 | * values.c (unpack_double): Call floatformat_is_valid. | |
1479 | ||
1c671366 MK |
1480 | 2003-09-15 Mark Kettenis <[email protected]> |
1481 | ||
de5227fb MK |
1482 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of |
1483 | ps_strings into a long. | |
1484 | ||
1c671366 MK |
1485 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from |
1486 | _initialize_am64fbsd_nat. | |
1487 | ||
a604369a KB |
1488 | 2003-09-15 Kevin Buettner <[email protected]> |
1489 | ||
1490 | * dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset | |
1491 | associated with DW_AT_ranges attribute is out of bounds. | |
1492 | ||
b3cacbee DL |
1493 | 2003-09-15 David Lecomber <[email protected]> |
1494 | ||
1495 | * f-valprint.c: Apply array element printing limits to multi-dimensional arrays | |
1496 | ||
d0f37bb2 MC |
1497 | 2003-09-14 Michael Chastain <[email protected]> |
1498 | ||
1499 | * config/m68k/nm-apollo68v.h: Delete. | |
1500 | * config/m68k/xm-apollo68v.h: Delete. | |
1501 | ||
69517000 AC |
1502 | 2003-09-14 Andrew Cagney <[email protected]> |
1503 | ||
1504 | * rs6000-tdep.c (rs6000_push_dummy_call): Fix typos. | |
1505 | * dcache.c: Update copyrights and descriptions. | |
1506 | * scm-exp.c, ia64-aix-nat.c, hppam3-nat.c: environ.c: Ditto. | |
1507 | ||
ef8b349d AC |
1508 | 2003-09-14 Andrew Cagney <[email protected]> |
1509 | ||
1510 | * config/djgpp/fnchange.lst: Rename "amd64fbsd-tdep.c" and | |
1511 | "amd64fbsd-nat.c" to "a64fb-tdep.c" and "a64fb-nat.c". | |
1512 | ||
52f0bd74 AC |
1513 | 2003-09-14 Andrew Cagney <[email protected]> |
1514 | ||
1515 | * alpha-nat.c: Remove some occurances of "register". | |
1516 | * alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto. | |
1517 | * buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto. | |
1518 | * corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto. | |
1519 | * dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto. | |
1520 | * environ.c, eval.c, event-top.c, f-typeprint.c: Ditto. | |
1521 | * f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto. | |
1522 | * h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto. | |
1523 | * hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto. | |
1524 | * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto. | |
1525 | * infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto. | |
1526 | * jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto. | |
1527 | * mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto. | |
1528 | * mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto. | |
1529 | * ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto. | |
1530 | * p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto. | |
1531 | * remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto. | |
1532 | * rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto. | |
1533 | * solib.c, somread.c, source.c, sparc-tdep.c: Ditto. | |
1534 | * stabsread.c, stack.c, standalone.c, symfile.c: Ditto. | |
1535 | * symmisc.c, symtab.c, top.c, tracepoint.c: Ditto. | |
1536 | * typeprint.c, utils.c, valarith.c, valops.c: Ditto. | |
1537 | * values.c, vax-tdep.c, xcoffread.c: Ditto. | |
a8f4cde1 | 1538 | |
4a4b3fed AC |
1539 | 2003-09-13 Andrew Cagney <[email protected]> |
1540 | ||
1541 | * config/pa/tm-hppa64.h (struct frame_info): Declare opaque. | |
1542 | * ppc-tdep.h (struct regcache): Declare opaque. | |
1543 | * objfiles.h (struct objfile_data): Declare opaque. | |
1544 | * cp-support.h (struct objfile): Declare opaque. | |
1545 | * linux-nat.h (target_waitstatus): Declare opaque. | |
1546 | ||
2110b94f MK |
1547 | 2003-09-14 Mark Kettenis <[email protected]> |
1548 | ||
1c671366 MK |
1549 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. |
1550 | (stabs_argument_has_addr): New architecture method. | |
1551 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
1552 | * arch-utils.c: Include "buildsym.h". | |
1553 | (default_stabs_argument_has_addr): New function. | |
1554 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
1555 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
1556 | ||
2110b94f MK |
1557 | * cris-tdep.c (cris_gdbarch_init): Set |
1558 | deprecated_reg_struct_has_addr instead of reg_struct_has_addr. | |
1559 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
1560 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
1561 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
1562 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
1563 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
1564 | ||
48436ce6 AC |
1565 | 2003-09-13 Andrew Cagney <[email protected]> |
1566 | ||
1567 | * values.c (using_struct_return): Delete "function" and "funcaddr" | |
1568 | parameters. | |
1569 | * value.h (using_struct_return): Update declaration. | |
1570 | * infcmd.c (finish_command_continuation): Update. | |
1571 | (finish_command): Update. | |
1572 | * infcall.c (call_function_by_hand): Update. | |
1573 | * eval.c (evaluate_subexp_standard): Update. | |
1574 | ||
403d9909 CF |
1575 | 2003-09-13 Christopher Faylor <[email protected]> |
1576 | ||
1577 | * win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for | |
1578 | SSE registers since gdb will not operate correctly without this. | |
1579 | Restore include file ordering munged in previous change. | |
1580 | * config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define. | |
1581 | ||
ebf7d56b MK |
1582 | 2003-09-13 Mark Kettenis <[email protected]> |
1583 | ||
8e823e25 MK |
1584 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed from |
1585 | REG_STRUCT_HAS_ADDR. | |
1586 | * gdbarch.c, gdbarch.h: Updated. | |
1587 | * infcall.c (call_function_by_hand): Update. | |
1588 | * stabsread.c (define_symbol): Updated. | |
a8f4cde1 | 1589 | |
ebf7d56b MK |
1590 | * Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove. |
1591 | ||
d3f13f72 CF |
1592 | 2003-09-12 Christopher Faylor <[email protected]> |
1593 | ||
1594 | * win32-nat.c: Reorganize so that defines used by target headers are | |
1595 | actually defined by the system headers. | |
1596 | * config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather | |
1597 | than HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists. | |
1598 | ||
14f75137 JB |
1599 | 2003-09-12 Jim Blandy <[email protected]> |
1600 | ||
d646061f JB |
1601 | * dbxread.c (read_dbx_symtab): Don't report an internal error if |
1602 | the file has no .data, .bss, or .rodata sections. Instead wait | |
1603 | until we see a variable alleged to live in one of those sections. | |
1604 | ||
2a13f9bc JB |
1605 | * dbxread.c (read_dbx_symtab): If we have no .data section and no |
1606 | .bss section, presume that any variables we find live in the | |
1607 | .rodata section. | |
1608 | ||
4f49b26b JB |
1609 | * dbxread.c (read_dbx_symtab): Add FIXME about finding section |
1610 | offsets for global and static variables. | |
1611 | ||
14f75137 JB |
1612 | * dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT |
1613 | symbol types are, by definition, in the .data section, so it is | |
1614 | correct to use SECT_OFF_DATA (objfile) here, not data_sect_index. | |
1615 | If there is no .data section, there should be no N_DATA or N_DATA | |
1616 | | N_EXT symbols. | |
1617 | ||
212c460c MK |
1618 | 2003-09-12 Mark Kettenis <[email protected]> |
1619 | ||
1620 | * amd64fbsd-tdep.c: Fix sigtramp recognition. | |
1621 | (amd64fbsd_sigcontext_addr): Rewrite. | |
1622 | (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize | |
1623 | with correct values. | |
1624 | (amd64fbsd_sc_reg_offset): Initialize with correct values. | |
1625 | (amd64fbsd_init_abi): Fix typo. | |
1626 | ||
68856ea3 AC |
1627 | 2003-09-12 Andrew Cagney <[email protected]> |
1628 | ||
1629 | * ppc-sysv-tdep.c (align_up, align_down): Replace "round2" macro. | |
1630 | (ppc_sysv_abi_push_dummy_call): Rewrite, use a two pass loop. | |
1631 | ||
627b3ba2 AC |
1632 | 2003-09-12 Andrew Cagney <[email protected]> |
1633 | ||
1634 | * objfiles.h (struct entry_info): Deprecate "entry_file_lowpc" and | |
1635 | "entry_file_highpc". Update comments. | |
1636 | * defs.h (deprecated_inside_entry_file): Rename | |
1637 | "inside_entry_file". | |
1638 | * blockframe.c (deprecated_inside_entry_file): Rename | |
1639 | "inside_entry_file". | |
1640 | * frame.c (get_prev_frame): Update. Use if 0 instead of #if 0. | |
1641 | * vax-tdep.c (vax_frame_chain): Update. | |
1642 | * sh64-tdep.c (sh64_frame_chain): Update. | |
1643 | * sh-tdep.c (sh_frame_chain): Update. | |
1644 | * rs6000-tdep.c (rs6000_frame_chain): Update. | |
1645 | * ns32k-tdep.c (ns32k_frame_chain): Update. | |
1646 | * mips-tdep.c (mips_frame_chain): Update. | |
1647 | * m68hc11-tdep.c (m68hc11_frame_this_id): Update. | |
1648 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
1649 | * i386-interix-tdep.c (i386_interix_frame_chain_valid): Update. | |
1650 | * frv-tdep.c (frv_frame_this_id): Update. | |
1651 | * d10v-tdep.c (d10v_frame_this_id): Update. | |
1652 | * cris-tdep.c (cris_frame_chain): Update. | |
1653 | * blockframe.c (legacy_frame_chain_valid): Update. | |
1654 | * avr-tdep.c (avr_frame_this_id): Update. | |
1655 | * arm-tdep.c (arm_prologue_this_id): Update. | |
1656 | * alpha-tdep.c (alpha_heuristic_frame_this_id): Update. | |
1657 | * objfiles.c (objfile_relocate): Update. | |
1658 | * mipsread.c (mipscoff_symfile_read): Update. | |
1659 | (mipscoff_symfile_read): Update. | |
1660 | * mdebugread.c (parse_partial_symbols): Update. | |
1661 | * dwarfread.c (read_file_scope): Update. | |
1662 | * dwarf2read.c (read_file_scope): Update. | |
1663 | * dbxread.c (read_dbx_symtab): Update. | |
1664 | (read_dbx_symtab): Update. | |
1665 | * coffread.c (complete_symtab): Update. | |
1666 | ||
b0abbc58 JJ |
1667 | 2003-09-12 Jeff Johnston <[email protected]> |
1668 | ||
1669 | * top.c (quit_target): New static helper function. | |
1670 | (quit_force): Moved code to quit_target(). Call quit_target() | |
1671 | via catch_errors() to catch errors during quit. | |
1672 | ||
a1632d59 DC |
1673 | 2003-09-11 David Carlton <[email protected]> |
1674 | ||
1675 | * buildsym.c (finish_block): Use allocate_block to allocate the | |
1676 | block. | |
1677 | * mdebugread.c (new_block): Add FIXME. | |
1678 | ||
5c4e30ca DC |
1679 | 2003-09-11 David Carlton <[email protected]> |
1680 | ||
1681 | * gdbtypes.h: Add TYPE_CODE_NAMESPACE. | |
1682 | * gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE. | |
1683 | (recursive_dump_type): Ditto. | |
1684 | * printcmd.c (print_formatted): Ditto. | |
1685 | * typeprint.c (print_type_scalar): Ditto. | |
1686 | * c-typeprint.c (c_type_print_varspec_prefix): Ditto. | |
1687 | (c_type_print_varspec_suffix, c_type_print_base): Ditto. | |
1688 | * cp-support.h: Declare cp_check_possible_namespace_symbols, | |
1689 | maint_cplus_cmd_list. | |
1690 | * cp-support.c: Make maint_cplus_cmd_list extern. | |
1691 | * cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h, | |
1692 | command.h. | |
1693 | (lookup_symbol_file): Look in possible namespace blocks when | |
1694 | appropriate. | |
1695 | (initialize_namespace_symtab): New. | |
1696 | (get_possible_namespace_block, free_namespace_block) | |
1697 | (check_possible_namespace_symbols) | |
1698 | (check_possible_namespace_symbols_loop) | |
1699 | (check_one_possible_namespace_symbol) | |
1700 | (lookup_possible_namespace_symbol, maintenance_cplus_namespace) | |
1701 | (_initialize_cp_namespace): Ditto. | |
1702 | * block.h: Declare allocate_block. | |
1703 | * block.c (allocate_block): New. | |
1704 | * jv-lang.c (get_java_class_symtab): Allocate blocks via | |
1705 | allocate_block. | |
1706 | * symfile.h: Update declaration of add_psymbol_to_list. | |
1707 | * symfile.c (add_psymbol_to_list): Return the partial symbol in | |
1708 | question. | |
1709 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to | |
1710 | scan_partial_symbols_call. | |
1711 | (scan_partial_symbols): Add NAMESPACE argument; update calls to | |
1712 | helper functions. | |
1713 | (add_partial_symbol): If necessary, scan mangled names for names | |
1714 | of namespaces. | |
1715 | (add_partial_namespace): Add NAMESPACE argument; generate partial | |
1716 | symbols associated to namespaces. | |
1717 | (add_partial_enumeration): Add NAMESPACE argument. | |
1718 | (new_symbol): Allow namespace syms. | |
1719 | (read_namespace): Generate namespace syms. | |
1720 | * objfiles.h: Add opaque declaration of struct symtab. | |
1721 | (struct objfile): Add cp_namespace_symtab member. | |
1722 | * objfiles.c (allocate_objfile): Set | |
1723 | objfile->cp_namespace_symtab. | |
1724 | * Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h, | |
1725 | dictionary_h, command_h. | |
1726 | ||
33a7c2fc AC |
1727 | 2003-09-11 Andrew Cagney <[email protected]> |
1728 | ||
1729 | * rs6000-tdep.c (rs6000_push_dummy_call): Use | |
1730 | regcache_raw_write_signed to set SP_REGNUM, move the operation to | |
1731 | near the function's end. | |
1732 | (rs6000_gdbarch_init): Do not set "deprecated_dummy_write_sp". | |
1733 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use | |
1734 | regcache_raw_write_signed to set SP_REGNUM. | |
1735 | ||
63cd24fe EZ |
1736 | 2003-09-11 Elena Zannoni <[email protected]> |
1737 | ||
1738 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure | |
1739 | orig_addrs is set up properly. | |
1740 | ||
f27dd7fd AC |
1741 | 2003-09-11 Andrew Cagney <[email protected]> |
1742 | ||
1743 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Rename STACK_ALIGN. | |
1744 | * gdbarch.h, gdbarch.c: Re-generate. | |
1745 | * infcall.c (call_function_by_hand): Update. | |
1746 | * hppa-tdep.c (hppa_push_arguments): Update. | |
1747 | * ada-lang.c (place_on_stack): Update. | |
1748 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1749 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1750 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1751 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
1752 | * h8300-tdep.c (h8300_gdbarch_init): Delete comment refering to | |
1753 | stack_align. | |
1754 | ||
f630a401 DJ |
1755 | 2003-09-11 Daniel Jacobowitz <[email protected]> |
1756 | ||
1757 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in a | |
1758 | register do need a frame. | |
1759 | ||
0ddabb4c AC |
1760 | 2003-09-11 Andrew Cagney <[email protected]> |
1761 | ||
1762 | Since the IRIX 4 configuration was forcing K&R mode it hasn't been | |
1763 | buildable since GDB 5.0. | |
1764 | * NEWS: Mention that IRIX 3 and IRIX 4 support were removed. | |
1765 | * configure.host: Delete "mips-sgi-irix3*" and "mips-sgi-irix4*". | |
1766 | * configure.tgt: Delete "mips*-sgi-*" a.k.a. irix3. | |
1767 | * irix4-nat.c: Delete file. | |
1768 | * config/mips/irix4.mh: Delete file. | |
1769 | * config/mips/irix3.mh: Delete file. | |
1770 | * config/mips/irix3.mt: Delete file. | |
1771 | * config/mips/tm-irix3.h: Delete file. | |
1772 | * config/mips/nm-irix3.h: Delete file. | |
1773 | * config/mips/xm-irix3.h: Delete file. | |
1774 | * config/mips/nm-irix4.h: Delete file. | |
1775 | * config/mips/xm-irix4.h: Delete file. | |
1776 | * config/mips/tm-irix5.h: Inline contents of "tm-irix3.h". | |
1777 | ||
fde2cceb JB |
1778 | 2003-09-10 J. Brobecker <[email protected]> |
1779 | ||
1780 | * hppa-tdep.c: Include "dis-asm.h". Fixes a build failure. | |
1781 | * Makefile.in (hppa-tdep.o): Update dependencies. | |
1782 | ||
66f667f5 JW |
1783 | 2003-09-10 James E Wilson <[email protected]> |
1784 | ||
ef5fd69f JW |
1785 | * MAINTAINERS: Change my e-mail address. Move to paper trail |
1786 | section. | |
66f667f5 | 1787 | |
53e8aaea KB |
1788 | 2003-09-10 Kevin Buettner <[email protected]> |
1789 | ||
1790 | * MAINTAINERS (frv): New ISA entry. | |
1791 | ||
dcc6aaff KB |
1792 | 2003-09-10 Kevin Buettner <[email protected]> |
1793 | ||
1794 | * frv-tdep.c (dis-asm.h): Include. | |
1795 | * Makefile.in (frv-tdep.o): Update dependencies. | |
1796 | ||
932644f0 JJ |
1797 | 2003-09-09 Jeff Johnston <[email protected]> |
1798 | ||
1799 | * ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs): | |
1800 | Fix typo for high range of floating registers. | |
1801 | ||
91c24f0a DC |
1802 | 2003-09-09 David Carlton <[email protected]> |
1803 | ||
1804 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and | |
1805 | highpc initialization here out of scan_partial_symbols. | |
1806 | (scan_partial_symbols): Restructure into a recursive version, | |
1807 | calling add_partial_namespace and add_partial_enumeration when | |
1808 | appropriate. | |
1809 | (add_partial_namespace): New. | |
1810 | (add_partial_enumeration, locate_pdi_sibling): Ditto. | |
1811 | ||
c9263853 AC |
1812 | 2003-09-09 Andrew Cagney <[email protected]> |
1813 | ||
e56a0ecc AC |
1814 | * rs6000-tdep.c (ppc_push_return_address): Delete function. |
1815 | (rs6000_push_dummy_call): Set LR to BP_ADDR. | |
1816 | (rs6000_gdbarch_init): Do not set deprecated_push_return_address. | |
1817 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
1818 | ||
794a477a AC |
1819 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete function. |
1820 | (rs6000_push_dummy_call): Set the "TOC" register. | |
1821 | ||
c9263853 AC |
1822 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated |
1823 | methods "max_register_raw_size", "max_register_virtual_size" or | |
1824 | "register_virtual_size". | |
1825 | ||
afa7d0b2 ILT |
1826 | 2003-09-09 Ian Lance Taylor <[email protected]> |
1827 | ||
1828 | * MAINTAINERS: Update my e-mail address. | |
1829 | ||
7a41266b AC |
1830 | 2003-09-09 Andrew Cagney <[email protected]> |
1831 | ||
1832 | * rs6000-tdep.c (rs6000_store_struct_return): Delete function. | |
1833 | (rs6000_push_dummy_call): Store the struct return address. | |
1834 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
1835 | ||
77b2b6d4 AC |
1836 | 2003-09-09 Andrew Cagney <[email protected]> |
1837 | ||
1838 | * ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace | |
1839 | "ppc_sysv_abi_push_arguments". | |
1840 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace | |
1841 | "ppc_sysv_abi_push_arguments". | |
1842 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call" | |
1843 | instead of "push_arguments". | |
1844 | (rs6000_push_dummy_call): Replace "rs6000_push_arguments". | |
1845 | ||
e8a7b686 AC |
1846 | 2003-09-09 Andrew Cagney <[email protected]> |
1847 | ||
1848 | * sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS | |
1849 | instead of CALL_DUMMY_ADDRESS. | |
1850 | ||
f86f5ca3 PH |
1851 | 2003-09-09 Paul N. Hilfinger <[email protected]> |
1852 | ||
1853 | * p-lang.c: Eliminate "register". | |
1854 | * c-lang.c: Ditto. | |
1855 | * expprint.c: Ditto. | |
1856 | * f-lang.c: Ditto. | |
1857 | * jv-lang.c: Ditto. | |
1858 | * language.c: Ditto. | |
1859 | * m2-lang.c: Ditto. | |
1860 | * parse.c: Ditto. | |
1861 | * scm-lang.c: Ditto. | |
1862 | * objc-lang.c: Ditto. | |
1863 | ||
83ee270e NC |
1864 | 2003-09-09 Nick Clifton <[email protected]> |
1865 | ||
1866 | * v850-tdep.c (v850_processor_type_table): Add bfd_mach_v850e1. | |
1867 | ||
a89aa300 AC |
1868 | 2003-09-04 Andrew Cagney <[email protected]> |
1869 | ||
1870 | * avr-tdep.c: Include "dis-asm.h". | |
1871 | * cris-tdep.c: Include "dis-asm.h". | |
1872 | (cris_delayed_get_disassembler): Use "struct disassemble_info" | |
1873 | instead of corresponding typedef. | |
1874 | * h8300-tdep.c: Include "dis-asm.h". | |
1875 | * ia64-tdep.c: Include "dis-asm.h". | |
1876 | * i386-tdep.c: Include "dis-asm.h". | |
1877 | (i386_print_insn): Use "struct disassemble_info" instead of | |
1878 | corresponding typedef. | |
1879 | * m68k-tdep.c: Include "dis-asm.h". | |
1880 | * mcore-tdep.c: Include "dis-asm.h". | |
1881 | * mips-tdep.c: Include "dis-asm.h". | |
1882 | (gdb_print_insn_mips): Make static, use "struct disassemble_info" | |
1883 | instead of corresponding typedef. | |
1884 | * ns32k-tdep.c: Include "dis-asm.h". | |
1885 | * s390-tdep.c: Include "dis-asm.h". | |
1886 | * sparc-tdep.c: Include "dis-asm.h". | |
1887 | * vax-tdep.c: Include "dis-asm.h". | |
1888 | * v850-tdep.c: Include "dis-asm.h". | |
1889 | * mn10300-tdep.c: Include "dis-asm.h". | |
1890 | * rs6000-tdep.c: Include "dis-asm.h". | |
1891 | * xstormy16-tdep.c: Include "dis-asm.h". | |
1892 | (_initialize_xstormy16_tdep): Delete "extern" declaration of | |
1893 | print_insn_xstormy16. | |
1894 | * Makefile.in (v850-tdep.o): Update dependencies. | |
1895 | (vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto. | |
1896 | (ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto. | |
1897 | (m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto. | |
1898 | (h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto. | |
1899 | (mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto. | |
1900 | (gdbarch_h): Remove $(dis_asm_h). | |
1901 | * disasm.c: Include "dis-asm.h". | |
1902 | (dis_asm_read_memory): Use "struct disassemble_info" instead of | |
1903 | corresponding typedef. | |
1904 | (dis_asm_memory_error, dump_insns, do_assembly_only): Ditto. | |
1905 | (gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto. | |
1906 | * gdbarch.sh: Do not include "dis-asm.h". | |
1907 | (struct disassemble_info): Declare opaque. | |
1908 | (TARGET_PRINT_INSN): Update declaration. | |
1909 | * gdbarch.h, gdbarch.c: Re-generate. | |
1910 | ||
88a82a65 AC |
1911 | 2003-09-08 Andrew Cagney <[email protected]> |
1912 | ||
1913 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename | |
1914 | CALL_DUMMY_ADDRESS, change to a predicate. | |
1915 | * gdbarch.h, gdbarch.c: Re-generate. | |
1916 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
1917 | Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address. | |
1918 | * infcall.c (call_function_by_hand): Ditto. | |
1919 | * sparc-tdep.c (sparc_push_return_address): Ditto. | |
1920 | (sparc_gdbarch_init): Set deprecated_call_dummy_address. | |
1921 | * xstormy16-tdep.c (xstormy16_push_return_address): Replace | |
1922 | CALL_DUMMY_ADDRESS with entry_point_address. | |
1923 | * v850-tdep.c (v850_push_return_address): Ditto. | |
1924 | * s390-tdep.c (s390_push_return_address): Ditto. | |
1925 | * rs6000-tdep.c (ppc_push_return_address): Ditto. | |
1926 | * mn10300-tdep.c (mn10300_push_return_address): Ditto. | |
1927 | * mcore-tdep.c (mcore_push_return_address): Ditto. | |
1928 | * cris-tdep.c (cris_push_return_address): Ditto. | |
1929 | * arm-tdep.c (arm_push_return_address): Ditto. | |
1930 | ||
3e2c4033 AC |
1931 | 2003-09-08 Andrew Cagney <[email protected]> |
1932 | ||
1933 | * dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous | |
1934 | enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED | |
1935 | and REG_UNMODIFIED to REG_SAME_VALUE. | |
1936 | (execute_cfa_program): Update. | |
1937 | (dwarf2_frame_cache): Update. Initialize table to | |
1938 | REG_UNSPECIFIED, complain if CFI fails to specify a register's | |
1939 | location. | |
1940 | (dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED. | |
1941 | ||
39efb398 AC |
1942 | 2003-09-08 Andrew Cagney <[email protected]> |
1943 | ||
1944 | * gnu-nat.c: Remove "inline" function attribute. | |
1945 | * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto. | |
1946 | ||
f5cb5aca KB |
1947 | 2003-09-08 Kevin Buettner <[email protected]> |
1948 | ||
1949 | * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V | |
1950 | target. | |
1951 | ||
1cb761c7 KB |
1952 | 2003-09-08 Kevin Buettner <[email protected]> |
1953 | ||
1954 | * frv-tdep.c (frame-unwind.h, frame-base.h): Include. | |
1955 | (frame_extra_info): Rename this struct to frv_unwind_cache. | |
1956 | Delete fields ``fp_to_callers_sp_offset'' and ``lr_saved_on_stack''. | |
1957 | Add fields ``prev_sp'' and ``base''. | |
1958 | (frv_frame_chain, frv_frame_saved_pc, frv_frame_init_saved_regs) | |
1959 | (frv_saved_pc_after_call, frv_init_extra_frame_info) | |
1960 | (frv_push_return_address, frv_pop_frame, frv_pop_frame_regular): | |
1961 | Delete. | |
1962 | (frv_analyze_prologue): Add ``struct frv_unwind_cache *'' argument. | |
1963 | Revise all callers. Fill in the unwind cache argument and make | |
1964 | other adjustments to account for new frame mechanisms. | |
1965 | (frv_frame_unwind_cache, frv_frame_align, frv_unwind_pc) | |
1966 | (frv_frame_this_id, frv_frame_prev_register, frv_frame_sniffer) | |
1967 | (frv_frame_base_address, frv_unwind_dummy_id): New functions. | |
1968 | (frv_frame_unwind, frv_frame_base): New structs. | |
1969 | (frv_push_arguments): Change name to frv_push_dummy_call(). Add | |
1970 | additional arguments expected by this method and adjust function | |
1971 | body accordingly. | |
1972 | (frv_gdbarch_init): Remove calls to the following functions: | |
1973 | set_gdbarch_deprecated_init_frame_pc(), | |
1974 | set_gdbarch_deprecated_saved_pc_after_call(), | |
1975 | set_gdbarch_deprecated_frame_chain(), | |
1976 | set_gdbarch_deprecated_frame_saved_pc(), | |
1977 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
1978 | set_gdbarch_deprecated_push_arguments(), | |
1979 | set_gdbarch_deprecated_push_return_address(), | |
1980 | set_gdbarch_deprecated_pop_frame(), | |
1981 | set_gdbarch_deprecated_call_dummy_words(), | |
1982 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
1983 | set_gdbarch_deprecated_init_extra_frame_info(), | |
1984 | set_gdbarch_deprecated_dummy_write_sp(), and | |
1985 | set_gdbarch_deprecated_pc_in_call_dummy(). | |
1986 | Add calls to the following functions: | |
1987 | set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(), | |
1988 | set_gdbarch_frame_align(), frame_unwind_append_sniffer(), and | |
1989 | frame_base_set_default(). | |
1990 | * Makefile.in (frv-tdep.o): Update dependencies. | |
a8f4cde1 | 1991 | |
68f6cf99 MK |
1992 | 2003-09-09 Mark Kettenis <[email protected]> |
1993 | ||
1994 | * dwarf2-frame.c (read_encoded_value): Add support for | |
1995 | DW_EH_PE_aligned encoding. | |
1996 | ||
73b65bb0 DJ |
1997 | 2003-09-08 Daniel Jacobowitz <[email protected]> |
1998 | ||
1999 | * infrun.c (normal_stop): Don't print a message if the inferior | |
2000 | has exited. | |
2001 | ||
7c8a5605 JB |
2002 | 2003-09-08 Jim Blandy <[email protected]> |
2003 | ||
2004 | * Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h). | |
2005 | * dbxread.c: #include "gdb_assert.h". | |
2006 | (read_dbx_symtab): If the objfile has no .data section, use the | |
2007 | section index for the .bss section instead. | |
2008 | ||
7dd88986 DJ |
2009 | 2003-09-08 Daniel Jacobowitz <[email protected]> |
2010 | ||
2011 | * frame.c (deprecated_safe_get_selected_frame): New function. | |
2012 | * frame.h (deprecated_safe_get_selected_frame): Add prototype. | |
2013 | * findvar.c (read_var_value): Call it. | |
2014 | ||
55ff77ac CV |
2015 | 2003-09-08 Corinna Vinschen <[email protected]> |
2016 | ||
2017 | * Makefile.in (ALLDEPFILES): Add sh64-tdep.c. | |
2018 | (sh64-tdep.o): Add dependencies. | |
2019 | * configure.tgt: Add FIXME to sh-*-linux*. | |
2020 | * sh-tdep.c: Move sh64 support to sh64-tdep.c. | |
2021 | (sh_gdbarch_init): Always set correct sh_show_regs function | |
a8f4cde1 | 2022 | pointer. Call sh64_gdbarch_init() if machine type is sh5. |
55ff77ac CV |
2023 | * sh-tdep.h: Move sh64 support to sh64-tdep.c. |
2024 | * sh64-tdep.c: New file, containing all sh64 related code from | |
2025 | sh-tdep.c. | |
2026 | * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o. | |
2027 | * config/sh/linux.mt (TDEPFILES): Ditto. | |
a8f4cde1 | 2028 | * config/sh/nbsd.mt (TDEPFILES): Ditto. |
55ff77ac CV |
2029 | * config/sh/tm-sh.h: Drop REGISTER_TYPE definition. |
2030 | * config/sh/wince.mt (TDEPFILES): Ditto. | |
2031 | ||
bfb39158 DJ |
2032 | 2003-09-07 Daniel Jacobowitz <[email protected]> |
2033 | ||
2034 | * lin-lwp.c (detach_callback): Don't call stop_wait_callback. | |
2035 | (stop_wait_callback): Handle !lp->signalled also. | |
2036 | (lin_lwp_has_pending, flush_callback): New functions. | |
2037 | (lin_lwp_wait): Call flush_callback. | |
2038 | * linux-proc.c (linux_proc_add_line_to_sigset): New function. | |
2039 | (linux_proc_pending_signals): New function. | |
2040 | * linux-nat.h (linux_proc_pending_signals): Add prototype. | |
2041 | ||
9407de8e DJ |
2042 | 2003-09-07 Daniel Jacobowitz <[email protected]> |
2043 | ||
2044 | From Nick Kelsey <[email protected]>: | |
2045 | * infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE | |
2046 | when the stop PC is at the beginning of a function also. | |
2047 | ||
2ef47cd0 DJ |
2048 | 2003-09-06 Daniel Jacobowitz <[email protected]> |
2049 | ||
2050 | * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New. | |
2051 | (arm_linux_init_abi): Use arm_linux_arm_be_breakpoint. | |
2052 | ||
6f4492c8 MK |
2053 | 2003-09-06 Mark Kettenis <[email protected]> |
2054 | ||
2055 | * sol-thread.c: Include "gdb_string.h". | |
2056 | ||
d3420b2f MK |
2057 | 2003-09-03 Mark Kettenis <[email protected]> |
2058 | ||
2059 | * gcore.c: Reorder include files in alphabetical order. Include | |
2060 | "gdb_assert.h". Various coding style fixes. | |
2061 | (derive_stack_segment, derive_heap_segment): Replace check for | |
2062 | non-null BOTTOM and TOP with gdb_assert. | |
2063 | (derive_heap_segment): Replace check for successful creation of | |
2064 | ZERO with gdb_assert. | |
2065 | (make_mem_sec): Use bfd_section_lma to set OSEC->lma. | |
2066 | ||
5220ea4c AC |
2067 | 2003-09-04 Andrew Cagney <[email protected]> |
2068 | ||
2069 | * thread-db.c (verbose_dlsym): New function. | |
2070 | (thread_db_load): Use verbose_dlsym | |
2071 | (thread_db_new_objfile): Print that libthread_db was loaded, and | |
2072 | that thread debugging was enabled. | |
2073 | ||
6e8c2c06 AC |
2074 | 2003-09-04 Andrew Cagney <[email protected]> |
2075 | ||
2076 | * configure.tgt: Add "mips64*-*-*" target. Delete | |
2077 | mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*, | |
2078 | mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*, | |
2079 | mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*, | |
2080 | mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*, | |
2081 | mips*-sony-*, and mips64*-*-elf* targets. | |
2082 | * config/mips/embedl.mt: Delete file. | |
2083 | * config/mips/embedl64.mt: Delete file. | |
2084 | * config/mips/mips.mt: Delete file. | |
2085 | * config/mips/mips64.mt: Delete file. | |
2086 | * config/mips/tm-embed.h: Delete file. | |
2087 | * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h". | |
2088 | * config/mips/embed64.mt: Delete out-of-date comment. | |
2089 | ||
3a3bc038 AC |
2090 | 2003-09-04 Andrew Cagney <[email protected]> |
2091 | ||
2092 | * hppa-tdep.c (hppa_gdbarch_init): Set | |
2093 | "have_nonsteppable_watchpoint". | |
2094 | * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
2095 | * mips-tdep.c (mips_dump_tdep): Do not print | |
2096 | HAVE_NONSTEPPABLE_WATCHPOINT. | |
2097 | (mips_gdbarch_init): Set "have_nonsteppable_watchpoint". | |
2098 | * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
2099 | * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
2100 | * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
2101 | ||
a957e642 CV |
2102 | 2003-09-04 Corinna Vinschen <[email protected]> |
2103 | ||
2104 | * breakpoint.c (watchpoint_check): Remove accidentally checked in | |
2105 | unused code. Add comment. | |
2106 | ||
a6fbcf2f CV |
2107 | 2003-09-04 Corinna Vinschen <[email protected]> |
2108 | ||
2109 | * breakpoint.c (watchpoint_check): Check for pc being in an | |
2110 | epilogue if watchpoint frame couldn't be found. | |
2111 | ||
c14a44d5 AC |
2112 | 2003-09-04 Andrew Cagney <[email protected]> |
2113 | ||
2114 | * Makefile.in: Re-generate all dependencies. | |
2115 | ||
f6c40618 AC |
2116 | 2003-09-03 Andrew Cagney <[email protected]> |
2117 | ||
2118 | * arch-utils.h (legacy_print_insn): Delete declaration. | |
2119 | * arch-utils.c (legacy_print_insn): Delete function. | |
2120 | * disasm.c (deprecated_tm_print_insn_info): Delete. | |
2121 | (_initialize_disasm): Delete function, contained code initializing | |
2122 | deprecated_tm_print_insn_info. | |
2123 | * gdbarch.sh (deprecated_tm_print_insn): Delete. | |
2124 | (deprecated_tm_print_insn_info): Delete. | |
2125 | (TARGET_PRINT_INSN): Do not provide a default. | |
2126 | * gdbarch.h, gdbarch.c: Re-generate. | |
2127 | ||
242e8be5 AC |
2128 | 2003-09-03 Andrew Cagney <[email protected]> |
2129 | ||
2130 | * disasm.c (fprintf_disasm): New function. | |
2131 | (gdb_disassemble_info): Call "init_disassemble_info", instead of | |
2132 | INIT_DISASSEMBLE_INFO_NO_ARCH. Do not initialize "insn_sets", | |
2133 | reverts 2003-08-14 change. | |
2134 | (_initialize_disasm): Call "init_disassemble_info", instead of | |
2135 | INIT_DISASSEMBLE_INFO_NO_ARCH. | |
2136 | ||
3ffc3dda MS |
2137 | 2003-09-03 Michael Snyder <[email protected]> |
2138 | ||
2139 | * config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch]. | |
2140 | ||
52d16ba8 AC |
2141 | 2003-09-03 Andrew Cagney <[email protected]> |
2142 | ||
2143 | * config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition. | |
2144 | * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define. | |
2145 | * symfile.c (syms_from_objfile): Update. | |
2146 | (reread_symbols): `Update | |
2147 | * exec.c (exec_file_attach): Update. | |
2148 | (exec_file_attach): Update. | |
2149 | * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert | |
2150 | 2003-08-29 change. | |
2151 | * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET. | |
2152 | ||
eb5492fa DJ |
2153 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
2154 | ||
2155 | * arm-tdep.c: Include frame-unwind.h, frame-base.h, and | |
2156 | trad-frame.h. | |
2157 | (arm_get_cache): Delete macro. | |
2158 | (struct arm_prologue_cache): Update comments. Make saved_regs into | |
2159 | a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp | |
2160 | to prev_sp. | |
2161 | (thumb_scan_prologue): Update for cache changes. Don't call | |
2162 | DEPRECATED_PC_IN_CALL_DUMMY. | |
2163 | (arm_scan_prologue): Update for cache changes. Take NEXT_FRAME | |
2164 | argument and use it in desperation search for our prologue. Do not | |
2165 | search past the specified PC. | |
2166 | (arm_make_prologue_cache): Simplify. | |
2167 | ||
2168 | (arm_prologue_this_id, arm_prologue_prev_register) | |
2169 | (arm_prologue_unwind, arm_prologue_unwind_sniffer) | |
2170 | (arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache) | |
2171 | (arm_sigtramp_this_id, arm_sigtramp_prev_register) | |
2172 | (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer) | |
2173 | (arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New. | |
2174 | ||
2175 | (arm_frame_chain_valid, arm_find_callers_reg) | |
2176 | (arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs) | |
2177 | (arm_pop_frame): Delete obsolete methods. | |
2178 | (arm_minimal_frame_chain, arm_minimal_frame_info): Delete. | |
2179 | ||
2180 | (arm_gdbarch_init): Update for new frame methods. Register prologue | |
2181 | and sigtramp unwinders. Set the default frame base method. | |
2182 | ||
2183 | * Makefile.in (arm-tdep.o): Update dependencies. | |
2184 | * varobj.c (find_frame_addr_in_frame_chain): Call | |
2185 | get_frame_base_address. | |
2186 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
2187 | ||
24de872b DJ |
2188 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
2189 | ||
2190 | * arm-tdep.c (arm_minimal_frame_chain): Renamed from | |
2191 | arm_frame_chain. Take NEXT_FRAME and CACHE arguments. | |
2192 | Use the cache instead of DEPRECATED_FRAME_SAVED_PC. | |
2193 | (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info. | |
2194 | Take NEXT_FRAME and CACHE arguments. Call | |
2195 | FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument. | |
2196 | Set unwound_pc in CACHE instead of modifying the frame argument. | |
2197 | Don't bother checking the frame type when looking for sigtramp | |
2198 | frames. | |
2199 | (arm_make_prologue_cache, arm_frame_chain) | |
2200 | (arm_init_extra_frame_info): New functions. | |
2201 | ||
9b8d791a DJ |
2202 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
2203 | ||
2204 | * arm-tdep.c (arm_get_cache): Define. | |
2205 | (struct arm_prologue_cache): Renamed from frame_extra_info. Add | |
2206 | unwound_sp, unwound_pc, and saved_regs. | |
2207 | (thumb_scan_prologue): Take a cache instead of the frame. | |
2208 | (arm_scan_prologue): Likewise. | |
2209 | (arm_frame_chain): Create a temporary cache for arm_scan_prologue | |
2210 | instead of a temporary frame. | |
2211 | (arm_init_extra_frame_info): Allocate and use a cache. | |
2212 | (arm_frame_saved_pc, arm_pop_frame): Use the cache. | |
2213 | ||
7ee3275f AC |
2214 | 2003-09-03 Andrew Cagney <[email protected]> |
2215 | ||
2216 | * config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS. | |
2217 | * config/mips/wince.mt (TM_CLIBS): Ditto. | |
2218 | * config/sh/wince.mt (TM_CLIBS): Ditto. | |
2219 | * config/pa/hppa64.mt (TM_CLIBS): Delete. | |
2220 | * config/sparc/sp64.mt (CC): Delete. | |
2221 | ||
57b29be7 AC |
2222 | 2003-09-03 Andrew Cagney <[email protected]> |
2223 | ||
2224 | * defs.h: Do not include "arch-utils.h". | |
2225 | (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or | |
2226 | GDB_MULTI_ARCH_PURE. | |
2227 | * configure.in (GDB_MULTI_ARCH): Do not define. | |
2228 | * configure, config.in: Regenerate. | |
2229 | * configure.tgt: Do not set variable "gdb_multi_arch". | |
2230 | * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. | |
2231 | * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. | |
2232 | * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. | |
2233 | * config/v850/v850.mt (TM_FILE): Delete disabled definition. | |
2234 | * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. | |
2235 | * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. | |
2236 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. | |
2237 | * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. | |
2238 | * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. | |
2239 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. | |
2240 | * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. | |
2241 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. | |
2242 | * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. | |
2243 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. | |
2244 | * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. | |
2245 | * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. | |
2246 | * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. | |
2247 | * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition. | |
a8f4cde1 | 2248 | |
12e035e2 MC |
2249 | 2003-08-30 Michael Chastain <[email protected]> |
2250 | ||
2251 | * Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h. | |
2252 | * config/m68k/nm-hp300hpux.h: Delete. | |
2253 | * config/m68k/tm-hp300hpux.h: Delete. | |
2254 | * config/m68k/xm-hp300hpux.h: Delete. | |
2255 | * config/m68k/xm-hp300bsd.h: Delete. | |
2256 | * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h, | |
2257 | tm-hp300hpux.h, xm-hp300hpux.h. | |
2258 | * somsolib.c: Remove comment about hp300 shared libraries. | |
2259 | ||
bda34dc2 MK |
2260 | 2003-08-31 Mark Kettenis <[email protected]> |
2261 | ||
5bca7895 MK |
2262 | * i386-linux-nat.c (ps_get_thread_area): Don't define as extern. |
2263 | Only define PTRACE_GET_THREAD_AREA is not already defined. | |
2264 | Various style fixes in code and comments and some additional | |
2265 | spelling fixes in comments. Move after functions dealing with | |
2266 | debug registers. | |
2267 | * x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern. | |
2268 | Fix coding-style. | |
2269 | ||
bda34dc2 MK |
2270 | * alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use |
2271 | frame_unwind_register_unsigned instead of | |
2272 | frame_unwind_unsigned_register. | |
2273 | ||
c890192f MK |
2274 | 2003-08-30 Mark Kettenis <[email protected]> |
2275 | ||
2276 | * configure.in: Search for gethostbyname in libnsl. | |
2277 | * configure: Regenerated. | |
2278 | ||
60fac5b8 MK |
2279 | 2003-08-29 Mark Kettenis <[email protected]> |
2280 | ||
e294916c MK |
2281 | * configure.in: Remove redundant AC_MSG_RESULT in check for |
2282 | uintptr_t in stdint.h. | |
2283 | * configure: Regenerated. | |
2284 | ||
c40d267a MK |
2285 | * amd64-nat.h (struct regcache): Add opaque declaration. |
2286 | ||
60fac5b8 MK |
2287 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define. |
2288 | * x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h". | |
2289 | Change "register array" to "register cache" in comments. | |
2290 | (x86_64_linux_gregset64_reg_offset): New variable. | |
2291 | (GETREGS_SUPPLIES): Remove macro. | |
2292 | (supply_gregset): Call amd64_supply_native_gregset instead of | |
2293 | x86_64_linux_supply_gregset. | |
2294 | (fill_gregset): Rename `regno' to `regnum'. Call | |
2295 | amd64_collect_native_gregset instead of x86_64_linux_fill_gregset. | |
2296 | (store_regs): Rename `regno' to `regnum'. | |
2297 | (store_fpregs): Rename `regno' to `regnum'. | |
2298 | (fetch_inferior_registers): Rename `regno' to `regnum'. Use | |
2299 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
2300 | Reorganize function a bit. | |
2301 | (store_inferior_registers): Rename `regno' to `regnum'. Use | |
2302 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
2303 | Reorganize function a bit. | |
2304 | (_initialize_x86_64_linux_nat): New function. | |
2305 | * config/i386/x86-64linux.mh. | |
2306 | ||
546143b6 AC |
2307 | 2003-08-29 Andrew Cagney <[email protected]> |
2308 | ||
2309 | * config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro. | |
2310 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro. | |
2311 | (target_remove_watchpoint): Delete macro. | |
2312 | (target_insert_watchpoint): Delete macro. | |
2313 | (remote_mips_can_use_hardware_watchpoint): Delete declaration. | |
2314 | (remote_mips_stopped_by_watchpoint): Delete declaration. | |
2315 | (remote_mips_remove_watchpoint): Delete declaration. | |
2316 | (remote_mips_set_watchpoint): Delete declaration. | |
2317 | (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro. | |
2318 | * remote-mips.c (_initialize_remote_mips): Set | |
2319 | "to_insert_watchpoint", "to_stopped_by_watchpoint", | |
2320 | "to_can_use_hardware_watchpoint", and "to_remove_watchpoint". | |
2321 | (mips_insert_watchpoint): Rename remote_mips_set_watchpoint. | |
2322 | (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint. | |
2323 | (mips_stopped_by_watchpoint): Rename | |
2324 | remote_mips_stopped_by_watchpoint. | |
2325 | (mips_can_hardware_watchpoint): Rename | |
2326 | remote_mips_can_use_hardware_watchpoint, update function | |
2327 | signature. | |
2328 | ||
7bace51b MK |
2329 | 2003-08-29 Mark Kettenis <[email protected]> |
2330 | ||
b0f5c6f2 MK |
2331 | * x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and |
2332 | USER_DS. We haven't given them a register number yet. | |
2333 | ||
2a6d284d MK |
2334 | * amd64-nat.h: New file. |
2335 | * amd64-nat.c: New file. | |
2336 | * amd64fbsd-nat.c: Include "amd64-nat.h". | |
2337 | (REG_ADDR, GETREGS_SUPPLIES): Remove macros. | |
2338 | (amd64fbsd32_r_reg_offset): New variable. | |
2339 | (supply_gregset): Simply call amd64_supply_native_gregset. | |
2340 | (fill_gregset): Rename `regno' to `regnum'. Simply call | |
2341 | amd64_collect_native_gregset. | |
2342 | (fill_fpregset): Rename `regno' to `regnum'. | |
2343 | (fetch_inferior_registers): Rename `regno' to `regnum'. Replace | |
2344 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
2345 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
2346 | `fpregset_t'. Call amd64_supply_native_gregset instead of | |
2347 | supply_gregset. Call x86_64_supply_fxsave instead of | |
2348 | supply_fpregset. | |
2349 | (store_inferior_registers): Rename `regno' to `regnum'. Replace | |
2350 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
2351 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
2352 | `fpregset_t'. Call amd64_collect_native_gregset instead of | |
2353 | fill_gregset. Call x86_64_collect_fxsave instead of | |
2354 | fill_fpregset. | |
2355 | (_initialize_am64fbsd_nat): Initialize | |
2356 | amd64_native_gregset32_reg_offset and | |
2357 | amd64_native_gregset64_reg_offset. | |
2358 | * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o. | |
2359 | ||
a16d75cc MK |
2360 | * regcache.c (regcache_raw_supply): Don't assert that BUF isn't a |
2361 | null pointer. Fix typo in comment. | |
2362 | ||
7bace51b MK |
2363 | * regcache.c (supply_register): Reimplement to call |
2364 | regcache_raw_supply. | |
2365 | (regcache_collect): Reimplement by calling regcache_raw_collect. | |
2366 | ||
9a661b68 MK |
2367 | 2003-08-28 Mark Kettenis <[email protected]> |
2368 | ||
2369 | * regcache.c (register_buffer): Consitify first argument. | |
2370 | (regcache_raw_supply, regcache_raw_collect): New | |
2371 | functions. | |
2372 | ||
e94cc8fa DJ |
2373 | 2003-08-28 Daniel Jacobowitz <[email protected]> |
2374 | ||
2375 | * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. Suggested | |
2376 | by Nathan J. Williams. | |
2377 | ||
c64bd0ce DJ |
2378 | 2003-08-28 Daniel Jacobowitz <[email protected]> |
2379 | ||
2380 | * lin-lwp.c (wait_lwp): New function, copied from | |
2381 | stop_wait_callback. Clean up. | |
2382 | (stop_wait_callback): Use wait_lwp. | |
2383 | ||
e5ab0dce AC |
2384 | 2003-08-28 Andrew Cagney <[email protected]> |
2385 | ||
2386 | * mips-tdep.c (gdb_print_insn_mips): Set the disassembler's | |
2387 | flavour and disassembler options. | |
2388 | (_initialize_mips_tdep): Do not set deprecated_tm_print_insn. | |
2389 | (mips_gdbarch_init): Set "print_insn". Delete initialization of | |
2390 | deprecated_tm_print_insn_info. | |
a8f4cde1 | 2391 | |
a788de9b AC |
2392 | 2003-08-27 Andrew Cagney <[email protected]> |
2393 | ||
2394 | * s390-tdep.c (s390_readinstruction): Delete "info" parameter. | |
2395 | Use target_read_memory. | |
2396 | (s390_get_frame_info): Update. Do not reference | |
2397 | deprecated_tm_print_insn_info. | |
2398 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
2399 | ||
36482093 AC |
2400 | 2003-08-27 Andrew Cagney <[email protected]> |
2401 | ||
2402 | * Makefile.in (cris-tdep.o): Update dependencies. | |
2403 | * cris-tdep.c: Include "gdb_assert.h". | |
2404 | (cris_gdbarch_init): Set print_insn. | |
2405 | (_initialize_cris_tdep): Do not set deprecated_tm_print_insn. | |
2406 | (cris_delayed_get_disassembler): Simplify, directly call the | |
2407 | disassembler returned by cris_get_disassembler. | |
2408 | * hppa-tdep.c (hppa_gdbarch_init): Set print_insn. | |
2409 | (_initialize_hppa_tdep): Do not set deprecated_tm_print_insn. | |
2410 | * ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn. | |
2411 | (_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn. | |
2412 | * mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn. | |
2413 | (_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn. | |
2414 | * mcore-tdep.c (mcore_gdbarch_init): Set print_insn. | |
2415 | (_initialize_mcore_tdep): Do not set deprecated_tm_print_insn. | |
2416 | * frv-tdep.c (frv_gdbarch_init): Set print_insn. | |
2417 | (_initialize_frv_tdep): Do not set deprecated_tm_print_insn. | |
2418 | * sparc-tdep.c (sparc_gdbarch_init): Set print_insn. | |
2419 | (gdb_print_insn_sparc): Delete function. | |
2420 | (_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or | |
2421 | deprecated_tm_print_insn_info. | |
2422 | * v850-tdep.c (v850_gdbarch_init): Set print_insn. | |
2423 | (_initialize_v850_tdep): Do not set deprecated_tm_print_insn. | |
2424 | (v850_gdbarch_init): Do not set deprecated_tm_print_insn_info. | |
2425 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn. | |
2426 | (_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn. | |
2427 | * s390-tdep.c (gdb_print_insn_s390): Delete function. | |
2428 | (_initialize_s390_tdep): Do not set deprecated_tm_print_insn. | |
2429 | (s390_gdbarch_init): Set print_insn. | |
2430 | ||
0285512f AC |
2431 | 2003-08-27 Andrew Cagney <[email protected]> |
2432 | ||
2433 | * ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function. | |
2434 | (ppc_linux_init_abi): For PPC64, do not set call_dummy_address. | |
2435 | * infcall.c (call_function_by_hand): Convert the entry point | |
2436 | address into a code address. | |
2437 | ||
cdcd5552 AC |
2438 | 2003-08-27 Andrew Cagney <[email protected]> |
2439 | ||
2440 | * dsrec.c: Include "gdb_string.h". | |
2441 | * Makefile.in (dsrec.o): Update dependencies. | |
2442 | ||
e85cddad MC |
2443 | 2003-08-27 Michael Chastain <[email protected]> |
2444 | ||
2445 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*. | |
2446 | ||
8bbfbb23 AC |
2447 | 2003-08-27 Andrew Cagney <[email protected]> |
2448 | ||
2449 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function. | |
2450 | (alpha_osf1_init_abi): Do not set call_dummy_address. | |
2451 | ||
ba058b66 DC |
2452 | 2003-08-27 David Carlton <[email protected]> |
2453 | ||
2454 | From Randolph Chung <[email protected]>: | |
2455 | * linux-proc.c (linux_info_proc_cmd): rework the code so that it | |
2456 | compiles with -Wformat-nonliteral -Werror. | |
2457 | ||
87f84c9d JB |
2458 | 2003-08-26 Jim Blandy <[email protected]> |
2459 | ||
2460 | * solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument. | |
2461 | (enable_break): Pass SEC_CODE as the SECT_FLAGS argument to | |
2462 | bfd_lookup_symbol, since we only want symbols in code sections. | |
2463 | (look_for_base): Pass zero as the SECT_FLAGS argument to | |
2464 | bfd_lookup_symbol, since we're not concerned about which section | |
2465 | the symbol is in. | |
2466 | ||
102d615a JJ |
2467 | 2003-08-26 Jeff Johnston <[email protected]> |
2468 | ||
2469 | * ia64-tdep.c (examine_prologue): Only stop at predicated insns if | |
a8f4cde1 | 2470 | we are frameless or the return address register is already known. |
102d615a | 2471 | |
cc7ad3ea AC |
2472 | 2003-08-26 Andrew Cagney <[email protected]> |
2473 | ||
2474 | * i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s | |
2475 | in size. Add comments. | |
2476 | ||
af8b88dd JJ |
2477 | 2003-08-26 Jeff Johnston <[email protected]> |
2478 | ||
2479 | * ia64-tdep.c (ia64_convert_from_func_addr): New function. | |
a8f4cde1 | 2480 | (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr(). |
af8b88dd | 2481 | |
e0a4f5a1 JM |
2482 | 2003-08-26 Jason Merrill <[email protected]> |
2483 | ||
2484 | * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name | |
2485 | case out of #ifdef MIPS block. | |
2486 | ||
4ae9ee8e DJ |
2487 | 2003-08-25 Daniel Jacobowitz <[email protected]> |
2488 | ||
2489 | PR java/1322 | |
2490 | * dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are | |
2491 | available before calling SECT_OFF_TEXT. | |
3c164570 | 2492 | * PROBLEMS: Remove description of java/1322. |
4ae9ee8e | 2493 | |
004d836a JJ |
2494 | 2003-08-25 Jeff Johnston <[email protected]> |
2495 | ||
a8f4cde1 | 2496 | * ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63, |
004d836a JJ |
2497 | bof, and nat0-nat127 as pseudo-registers. |
2498 | (ia64_frame_cache): New struct used to cache frame info. | |
2499 | (ia64_register_reggroup_p): New routine used to override default | |
a8f4cde1 | 2500 | register grouping so registers without names are still saved and |
004d836a | 2501 | restored. |
a8f4cde1 | 2502 | (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their |
004d836a JJ |
2503 | pseudo values. |
2504 | (ia64_pseudo_register_read): New routine to read pseudo-registers. | |
2505 | (ia64_pseudo_register_write): New routine to write pseudo-registers. | |
a8f4cde1 | 2506 | (ia64_alloc_frame_cache): New routine to create a new |
004d836a JJ |
2507 | ia64_frame_cache. |
2508 | (examine_prologue): Change prototype to add next_frame pointer. | |
2509 | Assume frameless until otherwise proven. Verify that the cfm for | |
a8f4cde1 | 2510 | current frame matches the cfm that should occur for the prologues |
004d836a JJ |
2511 | alloc insn and if equal, mark as not frameless. At end of routine, |
2512 | if not frameless, calculate registers for the previous frame and store | |
2513 | in the cache, if a cache is provided. | |
2514 | (ia64_skip_prologue): Use new prototype when calling examine_prologue | |
2515 | and pass 0 for next_frame. | |
2516 | (ia64_store_return_value): Change to use convert_typed_floating() | |
2517 | instead of calling ia64_convert_to_raw(). | |
2518 | (ia64_extract_return_value): Change to use convert_typed_floating() | |
2519 | instead of calling ia64_convert_to_virtual(). | |
2520 | (ia64_frame_cache): New routine to support new frame model. | |
2521 | (ia64_frame_this_id, ia64_frame_prev_register): Ditto. | |
2522 | (ia64_frame_sniffer): Ditto. | |
2523 | (ia64_sigtramp_frame_init_saved_regs): Ditto. | |
2524 | (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto. | |
2525 | (ia64_sigtramp_frame_prev_register): Ditto. | |
2526 | (ia64_sigtramp_frame_sniffer): Ditto. | |
2527 | (ia64_frame_base_address): Ditto. | |
2528 | (ia64_extract_struct_value_address): Change to issue error message. | |
2529 | (ia64_frame_align): New routine to align sp. | |
2530 | (ia64_push_dummy_call): New routine based on ia64_push_arguments(). | |
a8f4cde1 | 2531 | (ia64_push_arguments): Removed. Logic moved to |
004d836a JJ |
2532 | ia64_push_dummy_call(). |
2533 | (ia64_push_return_address): Ditto. | |
2534 | (ia64_unwind_dummy_id): New function. | |
2535 | (ia64_unwind_pc): Ditto. | |
2536 | (ia64_convert_register_p): Ditto. | |
2537 | (ia64_register_to_value): Ditto. | |
2538 | (ia64_value_to_register): Ditto. | |
2539 | (ia64_pop_frame, ia64_pop_frame_regular): Removed. | |
2540 | (ia64_register_byte, ia64_register_raw_size): Ditto. | |
2541 | (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto. | |
2542 | (ia64_saved_pc_after_call): Ditto. | |
2543 | (ia64_frame_chain, ia64_frame_saved_pc): Ditto. | |
2544 | (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto. | |
2545 | (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto. | |
2546 | (ia64_register_convert_to_raw): Ditto. | |
2547 | (ia64_store_struct_return, ia64_call_dummy_words): Ditto. | |
2548 | (ia64_init_extra_frame_info): Ditto. | |
2549 | (ia64_frame_args_address, ia64_frame_locals_address): Ditto. | |
2550 | (ia64_gdbarch_init): Remove registering of deprecated functions that | |
2551 | are no longer used. Add registration of new gdbarch functions. | |
2552 | Remove registering deprecated_write_sp. Replace | |
2553 | set_gdbarch_register_virtual_type() with set_gdbarch_register_type(). | |
2554 | Delete set_gdbarch_deprecated_register_convertible(), | |
2555 | set_gdbarch_deprecated_register_convert_to_virtual(), and | |
2556 | set_gdbarch_deprecated_register_convert_to_raw() calls. Remove | |
2557 | set_gdbarch_deprecated_register_size(), | |
2558 | set_gdbarch_deprecated_register_bytes(), | |
2559 | set_gdbarch_pcregnum(), | |
2560 | set_gdbarch_deprecated_register_byte(), | |
2561 | set_gdbarch_deprecated_register_raw_size(), | |
2562 | set_gdbarch_deprecated_max_register_raw_size(), | |
2563 | set_gdbarch_deprecated_register_virtual_size(), | |
2564 | and set_gdbarch_deprecated_max_register_virtual_size() calls. | |
2565 | Replace set_gdbarch_deprecated_extract_return_value() with | |
2566 | set_gdbarch_extract_return_value(). Remove calls to: | |
2567 | set_gdbarch_deprecated_saved_pc_after_call(); | |
2568 | set_gdbarch_deprecated_frame_chain(), | |
2569 | set_gdbarch_deprecated_frame_saved_pc(), | |
2570 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
2571 | set_gdbarch_deprecated_get_saved_register(), | |
2572 | set_gdbarch_deprecated_call_dummy_words(), | |
2573 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
2574 | set_gdbarch_deprecated_init_extra_frame_info(), | |
2575 | set_gdbarch_deprecated_frame_args_address(), | |
2576 | set_gdbarch_deprecated_frame_locals_address(), | |
2577 | and set_gdbarch_deprecated_dummy_write_sp(). | |
2578 | Add set_gdbarch_convert_register_p(), | |
2579 | set_gdbarch_register_to_value(), | |
2580 | set_gdbarch_value_to_register(), | |
2581 | set_gdbarch_push_dummy_call(), | |
2582 | set_gdbarch_frame_align(), | |
2583 | set_gdbarch_unwind_dummy_id(), | |
2584 | set_gdbarch_unwind_pc(), | |
2585 | frame_unwind_append_sniffer(), | |
2586 | frame_unwind_append_sniffer(), | |
2587 | and frame_base_set_default(). | |
2588 | ||
aede7613 CD |
2589 | 2003-08-25 Chris Demetriou <[email protected]> |
2590 | ||
2591 | * configure.tgt: Document need for special "mipsisa64" handling. | |
2592 | (mipsisa64*-*-linux64): Handle as target linux64. | |
2593 | (mipsisa64*-*-*): Handle as target embed64. | |
2594 | ||
43c3a82e MC |
2595 | 2003-08-18 Michael Chastain <[email protected]> |
2596 | ||
2597 | * PROBLEMS: Document pr gdb/1322, the Java anonymous | |
2598 | objfile bug. | |
2599 | ||
6564f77d MK |
2600 | 2003-08-24 Mark Kettenis <[email protected]> |
2601 | ||
2de139ba MK |
2602 | * i387-tdep.h: Update copyright date. |
2603 | (I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines. | |
2604 | ||
6564f77d MK |
2605 | * linux-proc.c (linux_proc_xfer_memory): Remove comment about |
2606 | CFLAGS games to reflect reality. | |
2607 | ||
42cf1509 AC |
2608 | 2003-08-24 Andrew Cagney <[email protected]> |
2609 | ||
2610 | * arm-tdep.c (_initialize_arm_tdep): Simplify by assuming | |
2611 | GDB_MULTI_ARCH is always non-zero. | |
2612 | * osabi.c (_initialize_gdb_osabi): Ditto. | |
2613 | (gdbarch_init_osabi): Ditto. | |
2614 | * sparc-tdep.c: Ditto for #if code. | |
2615 | ||
0485f6ad MK |
2616 | 2003-08-23 Mark Kettenis <[email protected]> |
2617 | ||
2618 | * x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument. | |
2619 | Update comments. | |
2620 | * x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype. Update | |
2621 | comments. | |
2622 | * x86-64-linux-tdep.c (fetch_core_registers): Adjust call to | |
2623 | x86_64_supply_fxsave. | |
2624 | * x86-64-linux-nat.c (supply_fpregset): Adjust call to | |
2625 | x86_64_supply_fxsave. | |
2626 | * amd64fbsd-nat.c (supply_fpregset): Adjust call to | |
2627 | x86_64_supply_fxsave. | |
2628 | ||
c7716133 AJ |
2629 | 2003-08-23 Andreas Jaeger <[email protected]> |
2630 | ||
2631 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to | |
2632 | i387_supply_fxsave. | |
2633 | ||
ed504bdf MK |
2634 | 2003-08-23 Mark Kettenis <[email protected]> |
2635 | ||
2636 | * go32-nat.c (fetch_register): Call i387_supply_fsave instead of | |
2637 | i387_supply_register. | |
2638 | (go32_fetch_registers): Adjust call to i387_supply_fsave. | |
2639 | * i386nbsd-tdep.c (fetch_core_registers): Adjust call to | |
2640 | i387_supply_fsave. | |
2641 | (fetch_elfcore_registers): Adjust call to i387_supply_fsave and | |
2642 | i387_supply_fxsave. | |
2643 | * i386obsd-tdep.c (fetch_core_registers): Adjust call to | |
2644 | i387_supply_fsave. | |
2645 | * i386bsd-nat.c (supply_fpregset): Adjust call to | |
2646 | i387_supply_fsave. | |
2647 | (fetch_inferior_registers): Remove extraneous whitespace. Adjust | |
2648 | call to i387_supply_fxsave. Call i387_supply_fsave instead of | |
2649 | supply_fpregset. | |
2650 | (store_inferior_registers): Remove extraneous whitespace. Call | |
2651 | i387_fill_fsave instead of fill_fpregset. | |
2652 | * i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave. | |
2653 | (supply_fpregset): Likewise. | |
2654 | * i386v4-nat.c (supply_fpregset): Adjust call to | |
2655 | i387_supply_fsave. | |
2656 | * i386-interix-nat.c (supply_fpregset): Adjust call to | |
2657 | i387_supply_fsave. | |
2658 | * i386-linux-nat.c (supply_fpregset): Adjust call to | |
2659 | i387_supply_fsave. | |
2660 | (supply_fpxregset): Adjust call to i387_adjust_fxsave. | |
2661 | * i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to | |
2662 | i387supply_fsave and i387_supply_fxsave. | |
2663 | * i387-tdep.c (i387_supply_fsave): Add `regnum' argument. | |
2664 | Incorporate code from `i387_supply_register. | |
2665 | (i387_supply_register): Remove. | |
2666 | (i387_supply_fxsave): Add `regnum' argument. | |
2667 | Update comments. | |
2668 | * i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust | |
2669 | prototype. | |
2670 | (i387_supply_register): remove prototype. | |
2671 | Update comments. | |
a8f4cde1 | 2672 | |
4be5d520 MC |
2673 | 2003-08-22 Michael Chastain <[email protected]> |
2674 | ||
2675 | * config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*. | |
2676 | Add lines for files in gdb/testsuite/gdb.cp/* that are | |
2677 | still not 8.3 unique. | |
2678 | ||
7ed85d26 DJ |
2679 | 2003-08-22 Daniel Jacobowitz <[email protected]> |
2680 | ||
2681 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether | |
2682 | TYPE_VPTR_FIELDNO is valid. | |
2683 | ||
eb0d3137 MK |
2684 | 2003-08-19 Mark Kettenis <[email protected]> |
2685 | ||
2686 | * utils.c (set_width_command): Remove prototypes. | |
2687 | (set_screen_size): New prototype. | |
2688 | (init_page_info): Simplify by fetching the screen size from | |
2689 | Readline. Call set_screen_size. | |
2690 | (set_screen_size): New function. | |
2691 | (set_width): Add missing whitespace in comment. | |
2692 | (set_width_command): Call set_screen_size. | |
2693 | (set_height_command): New function. | |
2694 | (initialize_utils): Fix formatting. Make "set height" command | |
2695 | call set_height_command. Remove redundant code that turns off | |
2696 | pagination if output isn't a terminal. Remove redundant call to | |
2697 | set_width_command. | |
a8f4cde1 | 2698 | |
7e6d0ac8 MK |
2699 | 2003-08-22 Mark Kettenis <[email protected]> |
2700 | ||
3567a8ea MK |
2701 | * sparc64-tdep.h (sparc64_regnum): Fix comment. |
2702 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes. | |
2703 | (sparc_supply_rwindow, sparc_fill_rwindow): New prototypes. | |
2704 | * sparc64-tdep.c (sparc64_pseudo_register_read): Add missing | |
2705 | `case' keyword. | |
2706 | (sparc64_register_info): Give the reister with number | |
2707 | SPARC64_STATE_REGNUM a name. | |
2708 | (sparc64_pseudo_register_write): Add support for %cwp, %pstate, | |
2709 | %asi and %ccr. | |
2710 | (sparc64_push_dummy_call): Take BIAS into account when checking | |
2711 | stcak alignment. | |
2712 | (sparc_software_single_step): Remove assertions that check whether | |
2713 | NPC and NNPC were zero. | |
2714 | (sparc_supply_rwindow): Make public. Merge functionality with | |
2715 | sparc64_supply_rwindow. | |
2716 | (sparc_fill_rwindow): Make public. Merge functionality with | |
2717 | sparc64_fill_rwindow. | |
2718 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove. | |
2719 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set | |
2720 | SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p. | |
2721 | * sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call | |
2722 | sparc_supply_rwindow instead of sparc64_supply_rwindow. | |
2723 | ||
7e6d0ac8 MK |
2724 | * reggroups.c: Add whitespace after declarations of local |
2725 | variables in functions. | |
2726 | ||
72e5f484 MC |
2727 | 2003-08-21 Michael Chastain <[email protected]> |
2728 | ||
2729 | * gdbtypes.h: Change array bound type from an int to enum. | |
2730 | ||
435ac228 AC |
2731 | 2003-08-21 Andrew Cagney <[email protected]> |
2732 | ||
2733 | * config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code. | |
2734 | * config/sparc/tm-sparc.h: Ditto. | |
2735 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH | |
2736 | unconditionally. | |
2737 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto. | |
2738 | ||
0d0e1a63 MK |
2739 | 2003-07-13 Mark Kettenis <[email protected]> |
2740 | ||
2741 | * objfiles.h (struct objfile): Add memebers `data' and `num_data'. | |
2742 | (register_objfile_data, set_objfile_data, objfile_data): New | |
2743 | prototypes. | |
2744 | * objfiles.c (objfile_alloc_data, objfile_free_data): New | |
2745 | prototypes. | |
2746 | (allocate_objfile): Call objfile_alloc_data. | |
2747 | (free_objfile): Call objfile_free_data. | |
2748 | (struct objfile_data): New. | |
2749 | (struct objfile_data_registration): New. | |
2750 | (struct objfile_data_registry): New. | |
2751 | (objfile_data_registry): New variable. | |
2752 | (register_objfile_data): New function. | |
2753 | (objfile_alloc_data, objfile_free_data): New functions. | |
2754 | (set_objfile_data, objfile_data): New functions. | |
2755 | * dwarf2-frame.c (dwarf2_frame_data): New variable. | |
2756 | (dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism. | |
2757 | (_initialize_dwarf2_frame): New function and prototype. | |
2758 | ||
d90cf509 AC |
2759 | 2003-08-21 Andrew Cagney <[email protected]> |
2760 | ||
2761 | * sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select | |
2762 | a specific architecture. | |
2763 | * arch-utils.h (set_architecture_from_arch_mach): Delete | |
2764 | declaration. | |
2765 | (target_architecture_hook): Delete declaration. | |
2766 | * arch-utils.c: Delete non GDB_MULTI_ARCH includes. | |
2767 | (default_float_format): Assume GDB_MULTI_ARCH. | |
2768 | (default_double_format): Assume GDB_MULTI_ARCH. | |
2769 | (set_endian_from_file): Delete function. | |
2770 | (arch_ok): Delete function. | |
2771 | (set_arch): Delete function. | |
2772 | (set_architecture_from_arch_mach): Delete function. | |
2773 | (set_architecture_from_file): Delete function. | |
2774 | (set_architecture): Assume GDB_MULTI_ARCH. | |
2775 | (set_gdbarch_from_file): Assume GDB_MULTI_ARCH. | |
2776 | ||
8b39fe56 MK |
2777 | 2003-08-21 Mark Kettenis <[email protected]> |
2778 | ||
2779 | Rewrite FreeBSD/sparc64 native configuration. | |
2780 | * sparcbsd-nat.c, sparcbsd-nat.h: New files. | |
2781 | * sparc64fbsd-nat.c: New file. | |
2782 | * sparc64fbsd-tdep.c: New file. | |
2783 | * sparc64-tdep.c sparc64-tdep.h: New files. | |
2784 | * Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o, | |
2785 | sparc64fbsd-tdep.o): New dependencies. | |
2786 | (SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c | |
2787 | and sparc64fbsd-tdep.c. | |
2788 | (sparc64_tdep_h, sparcbsd_nat_h): New variables. | |
2789 | * config/sparc/fbsd.mh: Remove copyright notice. | |
2790 | (NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and | |
2791 | sparcbsd-nat.o. | |
2792 | * config/sparc/fbsd.mt: Remove copyright notice. | |
2793 | (TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o, | |
2794 | solib-legacy.o. Add sparc64-tdep.o and sparc64fbsd-tdep.o. | |
2795 | * config/sparc/nm-fbsd.h: Don't include "elf/common.h". | |
2796 | (SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS, | |
2797 | PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T, | |
2798 | regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu, | |
2799 | fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines. | |
2800 | * config/sparc/tm-fbsd.h: Don't include "solib.h" and | |
2801 | "sparc/tm-sp64.h". | |
2802 | (SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines. | |
2803 | (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM. | |
2804 | ||
a7f19c79 MC |
2805 | 2003-08-21 Michael Chastain <[email protected]> |
2806 | ||
2807 | * symtab.h: Add doco on the space critical structures and | |
2808 | some measurements of space usage. | |
2809 | ||
da08ea5b MS |
2810 | 2003-08-21 Michael Snyder <[email protected]> |
2811 | ||
2812 | * tracepoint.c (trace_dump_command): Trace break address | |
2813 | is subject to DECR_PC_AFTER_BREAK. | |
2814 | (set_traceframe_context): Make "trace_line" an int. | |
2815 | Fixes suggested by Mark Newman <[email protected]> | |
a8f4cde1 | 2816 | |
6df2bf50 MS |
2817 | 2003-08-20 Michael Snyder <[email protected]> |
2818 | ||
2819 | * sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG. | |
a8f4cde1 RM |
2820 | * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set |
2821 | FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for | |
6df2bf50 | 2822 | argument passing. |
a8f4cde1 | 2823 | (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New |
6df2bf50 MS |
2824 | functions, replace sh_push_dummy_call. |
2825 | (sh_gdbarch_init): Set push_dummy_call to one of new methods. | |
2826 | ||
0955bbf0 MC |
2827 | 2003-08-20 Michael Chastain <[email protected]> |
2828 | ||
2829 | * gdbtypes.h (struct main_type): Rearrange to save space. | |
2830 | ||
260a4188 MS |
2831 | 2003-08-20 Michael Snyder <[email protected]> |
2832 | ||
2833 | * trad-frame.c: Comment typo fix. | |
2834 | ||
8baa6f92 KB |
2835 | 2003-08-20 Michael Snyder <[email protected]> |
2836 | Kevin Buettner <[email protected]> | |
2837 | ||
2838 | * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include. | |
2839 | (frv_frame_init_saved_regs): Add declaration. | |
2840 | (frame_extra_info): Add new field ``saved_regs''. | |
2841 | (frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue) | |
2842 | (frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular): | |
2843 | Update frame related code. | |
2844 | (frv_extract_struct_value_address): Adjust formatting. | |
2845 | * Makefile.in (frv-tdep.o): Update dependencies. | |
2846 | * config/frv/tm-frv.h (target_insert_watchpoint) | |
2847 | (target_remove_watchpoint, target_insert_hw_breakpoint) | |
2848 | (target_remove_hw_breakpoint): Delete these macros. | |
2849 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
2850 | (remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove | |
2851 | these declarations. | |
2852 | ||
87193939 MC |
2853 | 2003-08-20 Michael Chastain <[email protected]> |
2854 | ||
2855 | * defs.h (ENUM_BITFIELD): New macro. | |
2856 | * symtab.h (ENUM_BITFIELD): Use it. | |
2857 | (BYTE_BITFIELD): Remove old macro, which was already disabled. | |
2858 | ||
062103ba SA |
2859 | 2003-08-19 Shrinivas Atre <[email protected]> |
2860 | ||
2861 | * MAINTAINERS (write after approval): Add myself. | |
a8f4cde1 | 2862 | |
8b148df9 AC |
2863 | 2003-08-18 Andrew Cagney <[email protected]> |
2864 | ||
2865 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method. | |
2866 | * gdbarch.h, gdbarch.c: Re-generate. | |
2867 | * infcall.c (call_function_by_hand): Adjust the SP by | |
2868 | frame_red_zone_size before allocating any stack space. | |
2869 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size". | |
2870 | * x86-64-tdep.c (x86_64_frame_align): New function. | |
2871 | (x86_64_init_abi): Set "frame_red_zone_size" and "frame_align". | |
2872 | ||
2873 | * x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change. | |
2874 | Remove code adjusting SP so that it skips over the Red Zone. | |
2875 | ||
954a4db8 MK |
2876 | 2003-08-18 Mark Kettenis <[email protected]> |
2877 | ||
2878 | * NEWS (New native configurations): Mention FreeBSD/amd64. | |
2879 | ||
1a241548 AC |
2880 | 2003-08-18 Andrew Cagney <[email protected]> |
2881 | ||
2882 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set | |
2883 | "dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of | |
2884 | "m68k_frame_p". | |
2885 | (m68hc11_frame_sniffer): Replace "m68hc11_frame_p". | |
2886 | ||
f82b2acd MK |
2887 | 2003-08-18 Mark Kettenis <[email protected]> |
2888 | ||
2889 | * x86-64-tdep.c (x86_64_dwarf_regmap): Remove trailing whitespace. | |
2890 | ||
4056d258 ML |
2891 | 2003-08-18 Michal Ludvig <[email protected]> |
2892 | ||
2893 | * config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): | |
2894 | Define. | |
2895 | * i386-linux-nat.c: Include "linux-nat.h". | |
2896 | (child_post_startup_inferior): New function. | |
a8f4cde1 | 2897 | |
99ab4326 MK |
2898 | 2003-08-18 Mark Kettenis <[email protected]> |
2899 | ||
2900 | * i386-tdep.c (i386_analyze_register_saves): Handle register saves | |
2901 | at the start of a frameless function. This probably fixes PR | |
2902 | backtrace/1338. | |
2903 | ||
c8d5f0d6 MC |
2904 | 2003-08-17 Michael Chastain <[email protected]> |
2905 | ||
2906 | * symfile.c (find_sym_fns): Remove special case for apollo target. | |
2907 | ||
9016a515 DJ |
2908 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
2909 | ||
2910 | * linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define. | |
2911 | (PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define. | |
2912 | (linux_parent_pid, linux_supports_tracevforkdone_flag): New variable. | |
2913 | (linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag. | |
2914 | (linux_supports_tracevforkdone): New function. | |
2915 | (linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and | |
2916 | TRACEVFORKDONE. | |
2917 | (child_follow_fork): Handle vfork. | |
2918 | (linux_handle_extended_wait): Likewise. Also handle exec. | |
2919 | (child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable. | |
2920 | * NEWS: Mention fork tracing. | |
2921 | ||
c538c11c DJ |
2922 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
2923 | ||
2924 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
2925 | ||
4de4c07c DJ |
2926 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
2927 | ||
2928 | * Makefile.in (i386-linux-nat.o): Update dependencies. | |
2929 | * config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. | |
2930 | * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH) | |
2931 | (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define. | |
2932 | * i386-linux-nat.c: Include "linux-nat.h". | |
2933 | (child_post_startup_inferior): New function. | |
2934 | * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef. | |
2935 | * infptrace.c (kill_inferior): Wrap in #ifdef. | |
2936 | * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after | |
2937 | attaching to each LWP. | |
2938 | (child_wait, lin_lwp_wait): Call linux_handle_extended_wait. | |
2939 | (init_lin_lwp_ops): Fill in some more operations. | |
2940 | * linux-nat.h (linux_enable_event_reporting) | |
2941 | (linux_handle_extended_wait, linux_child_post_startup_inferior): New | |
2942 | prototypes. | |
2943 | * linux-nat.c (linux_enable_event_reporting): New function. | |
2944 | (child_post_attach, linux_child_post_startup_inferior) | |
2945 | (child_post_startup_inferior, child_follow_fork) | |
2946 | (linux_handle_extended_wait, kill_inferior): New functions. | |
2947 | ||
7996bcec AC |
2948 | 2003-08-16 Andrew Cagney <[email protected]> |
2949 | ||
2950 | * gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code. | |
2951 | * gdbarch.h, gdbarch.c: Re-generate. | |
2952 | ||
3d48a7a0 MK |
2953 | 2003-08-16 Mark Kettenis <[email protected]> |
2954 | ||
2955 | * config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define. | |
2956 | ||
7989c619 AC |
2957 | 2003-08-16 Andrew Cagney <[email protected]> |
2958 | ||
2959 | * NEWS: Mention that "set prompt-escape-char" was deleted. | |
2960 | * top.c (get_prompt_1): Delete function. | |
2961 | (gdb_prompt_escape): | |
2962 | (init_main): Do not clear "gdb_prompt_escape". Delete "set | |
2963 | prompt-escape-char" command. | |
2964 | (MAX_PROMPT_SIZE): Delete macro. | |
2965 | (get_prompt): Simplify, do not call get_prompt_1. | |
2966 | ||
07978cd8 AC |
2967 | 2003-08-16 Andrew Cagney <[email protected]> |
2968 | ||
2969 | * Makefile.in (printcmd.o, valprint.o): Do not try to build with | |
2970 | -Werror. -Wformat-nonliteral problems. | |
2971 | ||
3ff7cf9e JB |
2972 | 2003-08-15 J. Brobecker <[email protected]> |
2973 | ||
2974 | Further multiarching work mostly for hppa64-*-hpux11: | |
2975 | * hppa-tdep.h: New file. | |
2976 | * hppa-tdep.c: #include hppa-tdep.c. | |
2977 | (hppa32_num_regs): Renamed from hppa_num_regs. | |
2978 | (hppa64_num_regs): New constant. | |
2979 | (hppa64_call_dummy_breakpoint_offset): New constant. | |
2980 | (hppa32_call_dummy_length): New constant. | |
2981 | (hppa64_call_dummy_length): New constant. | |
2982 | (hppa32_stack_align): Make name 32bit explicit. | |
2983 | (hppa32_register_virtual_type): Likewise. | |
2984 | (hppa32_extract_return_value): Likewise. | |
2985 | (hppa32_use_struct_convention): Likewise. | |
2986 | (hppa32_store_return_value): Likewise. | |
2987 | (hppa64_register_virtual_type): New function. | |
2988 | (hppa64_extract_return_value): New function. | |
2989 | (hppa64_use_struct_convention): New function. | |
2990 | (hppa64_store_return_value): New function. | |
2991 | (hppa_frame_locals_address): Remove declaration, function does | |
2992 | not exist anymore. | |
2993 | (hppa_register_byte): Add support for PA64 ABI. | |
2994 | (hppa_gdbarch_init): Add support for PA64 ABI. | |
2995 | * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp): | |
2996 | Make name 32bit explicit. | |
2997 | (hppa32_hpux_frame_base_before_sigtramp): Likewise. | |
2998 | (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise. | |
2999 | (hppa64_hpux_frame_saved_pc_in_sigtramp): New function. | |
3000 | (hppa64_hpux_frame_base_before_sigtramp): New function. | |
3001 | (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function. | |
3002 | * config/pa/tm-hppa64.h: Remove macros that are no longer | |
3003 | necessary now that the gdbarch vector is properly setup. | |
a8f4cde1 | 3004 | Transform some macros into function calls. Some minor cleanup. |
3ff7cf9e JB |
3005 | * config/pa/tm-hppah.h: Update function calls in macros |
3006 | following the function renaming in hppa-hpux-tdep.c. | |
3007 | * Makefile.in (hppa_tdep_h): New variable. | |
3008 | (hppa-tdep.o): Add dependency over hppa_tdep_h. | |
3009 | ||
5d05ca6d MS |
3010 | 2003-08-14 Michael Snyder <[email protected]> |
3011 | ||
3012 | * disasm.c (gdb_disassemble_info): Set info->insn_sets to zero. | |
3013 | ||
37ba2569 JB |
3014 | 2003-08-13 J. Brobecker <[email protected]> |
3015 | ||
3016 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct | |
3017 | bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization | |
3018 | routine. | |
3019 | ||
aed7f26a MS |
3020 | 2003-08-13 Michael Snyder <[email protected]> |
3021 | ||
3022 | * frv-tdep.c (frv_push_arguments): Use deprecated ftype. | |
3023 | (frv_saved_pc_after_call): Use deprecated ftype. | |
3024 | (stupid_useless_init_extra_frame_info): Remove orphan prototype. | |
3025 | (frv_remote_translate_xfer_address): Remove. | |
3026 | (frv_gdbarch_init): Use generic_remote_translate_xfer_address. | |
3027 | ||
752d4ac1 JB |
3028 | 2003-08-13 J. Brobecker <[email protected]> |
3029 | ||
3030 | * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch | |
3031 | initialization after the common gdbarch initialization, not before. | |
3032 | ||
1426ac1d JB |
3033 | 2003-08-13 J. Brobecker <[email protected]> |
3034 | ||
3035 | * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used. | |
3036 | (ADDR_BITS_REMOVE): Remove, redundant. | |
3037 | ||
b6fbdd1d JB |
3038 | 2003-08-13 J. Brobecker <[email protected]> |
3039 | ||
3040 | * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove | |
3041 | gdbarch method to clear the 2 low bits of text addresses. | |
3042 | ||
44160db3 AC |
3043 | 2003-08-12 Andrew Cagney <[email protected]> |
3044 | ||
3045 | * Makefile.in (dsrec.o): Update dependencies. | |
3046 | * dsrec.c: Include "gdb_assert.h". | |
3047 | (make_srec): Use snprintf instead of sprintf, use a literal format | |
3048 | string. | |
3049 | ||
bcf7d3ca AC |
3050 | 2003-08-12 Andrew Cagney <[email protected]> |
3051 | ||
3052 | * frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of | |
3053 | FRAME_OBSTACK_ZALLOC. | |
3054 | ||
49ed40de KB |
3055 | 2003-08-12 Kevin Buettner <[email protected]> |
3056 | ||
3057 | * i386-tdep.c (i386_gdbarch_init): Enable default support for | |
3058 | SSE registers. | |
3059 | ||
b246147c MK |
3060 | 2003-08-10 Mark Kettenis <[email protected]> |
3061 | ||
3062 | * x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end, | |
3063 | amd64fbsd_sc_reg_offset): Add extern declarations. | |
3064 | * amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern | |
3065 | declarations. | |
3066 | ||
d95fdc0d BE |
3067 | 2003-08-11 Ben Elliston <[email protected]> |
3068 | ||
3069 | * MAINTAINERS (write after approval): Update my mail address. | |
3070 | ||
cf6a0e73 AC |
3071 | 2003-08-10 Andrew Cagney <[email protected]> |
3072 | ||
3073 | * Makefile.in (monitor.o): Do not build monitor.c with -Werror. | |
3074 | ||
f837910f MK |
3075 | 2003-08-10 Mark Kettenis <[email protected]> |
3076 | ||
e2dbbd2d MK |
3077 | * i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, |
3078 | i386obsd_sigtramp_start, i386obsd_sigtramp_end, | |
3079 | i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset, | |
3080 | i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset, | |
3081 | i386bsd_sc_reg_offset): Add extern declarations. | |
3082 | * i386obsd-nat.c: Include "i386-tdep.h" | |
3083 | (_initialize_i386obsd_nat): Remove extern declarations. | |
3084 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern | |
3085 | declarations. | |
3086 | * i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern | |
3087 | declarations. | |
3088 | ||
f837910f MK |
3089 | * i386-tdep.c (i386_register_to_value): Use get_frame_register |
3090 | instead of frame_read_register. | |
3091 | (i386_fetch_pointer_argument): Use get_frame_register_unsigned | |
3092 | instead of frame_read_register. Use I386_ESP_REGNUM instead of | |
3093 | SP_REGNUM. | |
3094 | (i386_frame_prev_register): Use frame_unwind_register_unsigned | |
3095 | instead of frame_unwind_unsigned_register. Use | |
3096 | I386_EFLAGS_REGISTER instead of PS_REGNUM. | |
3097 | (i386_get_longjmp_target): Use regcache_read_unsigned_register | |
3098 | instead of read_register. Use builtin_type_void_data_ptr instead | |
3099 | of builtin_type_void_func_ptr when extracting the address of the | |
3100 | jmp_buf. | |
3101 | (i386_extract_return_value, i386_store_return_value, | |
3102 | i386_pseudo_register_read, i386_pseudo_register_write): Use | |
3103 | register_size instead REGISTER_RAW_SIZE. | |
3104 | ||
edcf254d AC |
3105 | 2003-08-10 Andrew Cagney <[email protected]> |
3106 | ||
3107 | * infcall.c (call_function_by_hand): Use xstrprintf instead of | |
3108 | sprintf. Make "name" constant. | |
3109 | ||
26604a34 MK |
3110 | 2003-08-10 Mark Kettenis <[email protected]> |
3111 | ||
192285c6 MK |
3112 | * i387-tdep.c (i387_register_to_value): Use get_frame_register |
3113 | instead of frame_read_register. | |
f837910f MK |
3114 | (i387_print_float_info): Use get_frame_register and |
3115 | get_frame_register_unsigned instead of frame_register_read. | |
192285c6 | 3116 | |
f0925262 MK |
3117 | * i386fbsd-nat.c: Include "i386-tdep.h". |
3118 | (child_resume): Make `eflags' an ULONGEST. Use | |
3119 | regcache_cooked_read_unsigned and regcache_cooked_write_unsigned | |
3120 | instead of register_read and register_write. | |
3121 | ||
a144416f MK |
3122 | * i386bsd-nat.c (fetch_inferior_registers, |
3123 | store_inferior_registers): Don't use && at the end of a line. | |
3124 | (_initialize_i386bsd_nat): Fix typo. | |
3125 | ||
fec74868 MK |
3126 | * frame.c (_initialize_frame): Add missing backslash. |
3127 | ||
87232496 MK |
3128 | From Peter Schauer ([email protected]): |
3129 | * sol-thread.c (sol_thread_store_registers): Use regcache_collect | |
3130 | and supply_register instead of manipulating the register buffer | |
3131 | directly. | |
3132 | ||
c9b9de0b MK |
3133 | From Peter Schauer ([email protected]): |
3134 | * config/i386/nm-i386sol2.h | |
3135 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one. | |
3136 | ||
26604a34 MK |
3137 | Based on a patch from Michael Elizabeth Chastain ([email protected]): |
3138 | * i386-tdep.c (i386_analyze_frame_setup): Recognize more | |
3139 | instructions that GCC likes to mingle into the prologue. Fixes | |
3140 | gdb/1253 and gdb/1255. | |
3141 | ||
25d29d70 AC |
3142 | 2003-08-09 Andrew Cagney <[email protected]> |
3143 | ||
3144 | Fix GDB PR cli/926. | |
3145 | * cli/cli-decode.c (add_setshow_uinteger_cmd): New function. | |
3146 | * command.h (add_setshow_uinteger_cmd): Declare. | |
3147 | * frame.c (set_backtrace_cmd): New function. | |
3148 | (show_backtrace_cmd): New function. | |
3149 | * frame.c (_initialize_frame): Replace "set/show | |
3150 | backtrace-below-main" with "set/show backtrace past-main". Add | |
3151 | command "set/show backtrace limit". | |
3152 | (backtrace_past_main): Rename "backtrace_below_main". | |
3153 | (backtrace_limit): New variable. | |
3154 | (get_prev_frame): Update. Check the backtrace_limit. | |
3155 | ||
9ebf4acf AC |
3156 | 2003-08-09 Andrew Cagney <[email protected]> |
3157 | ||
3158 | * defs.h (xstrprintf): Declare. | |
3159 | * utils.c (xstrprintf): New function. | |
3160 | * breakpoint.c (insert_breakpoints): Replace sprintf and | |
3161 | non-literal format strings, with xstrprintf and cleanups. | |
3162 | (delete_breakpoint,breakpoint_re_set): Ditto. | |
3163 | (commands_command, insert_breakpoints): Ditto. | |
3164 | (bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto. | |
3165 | (break_at_finish_command_1): Ditto. | |
3166 | ||
3771659b AC |
3167 | 2003-08-09 Andrew Cagney <[email protected]> |
3168 | ||
3169 | * MAINTAINERS (language support): List Adam Fedor as Objective C | |
3170 | maintainer. | |
3171 | ||
b4263afa JB |
3172 | 2003-08-08 J. Brobecker <[email protected]> |
3173 | ||
3174 | * NEWS (Multi-arched targets): Document that all hppa-hpux targets | |
3175 | are now multiarched. | |
3176 | ||
d84defb1 JB |
3177 | 2003-08-08 J. Brobecker <[email protected]> |
3178 | ||
3179 | * config/pa/tm-hppa64.h: Remove lots of macros that are no | |
3180 | longer necessary now that hppa64 is partially multiarch'ed. | |
3181 | ||
f786f615 AC |
3182 | 2003-08-08 Andrew Cagney <[email protected]> |
3183 | ||
3184 | * interps.c (interp_set): Check for a NULL "old_interp". | |
3185 | ||
c938e9b0 L |
3186 | 2003-08-08 H.J. Lu <[email protected]> |
3187 | ||
3188 | * Makefile.in (FLAGS_TO_PASS): Add DESTDIR. | |
3189 | (install-only): Support DESTDIR. | |
3190 | (uninstall): Likewise. | |
3191 | (install-gdbtk): Likewise. | |
3192 | ||
9a146a11 EZ |
3193 | 2003-08-08 Elena Zannoni <[email protected]> |
3194 | ||
3195 | * symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this | |
3196 | contains something meaningful at all times. | |
3197 | ||
3198 | Fri Aug 8 00:28:46 UTC 2003 Brendan Conoboy <[email protected]> | |
7a76ced5 | 3199 | |
62599e99 | 3200 | * configure.host: Set gdb_host_cpu=arm when host_cpu=xscale. |
7a76ced5 | 3201 | |
56296155 BC |
3202 | Fri Aug 8 00:28:38 UTC 2003 Brendan Conoboy <[email protected]> |
3203 | ||
62599e99 | 3204 | * MAINTAINERS (write after approval): Added self. |
56296155 | 3205 | |
9710e734 AC |
3206 | 2003-08-07 Andrew Cagney <[email protected]> |
3207 | ||
3208 | * inferior.h (AT_SYMBOL): Define. | |
3209 | * blockframe.c (inside_entry_file): Check for AT_SYMBOL. | |
3210 | * infcall.c (call_function_by_hand): Add code to handle AT_SYMBOL. | |
3211 | * mips-tdep.c (mips_call_dummy_address): Delete function. | |
3212 | (mips_gdbarch_init): Set call_dummy_location to AT_SYMBOL, do not | |
3213 | set call_dummy_address. | |
3214 | ||
98b3ab73 AC |
3215 | 2003-08-07 Andrew Cagney <[email protected]> |
3216 | ||
3217 | * language.c (op_error): Delete function. | |
3218 | (binop_type_check): Delete function. | |
3219 | * language.h (type_op_error, range_op_error): Delete macros. | |
3220 | (op_error): Delete declaration. | |
3221 | ||
2fcf52f0 AC |
3222 | 2003-08-07 Andrew Cagney <[email protected]> |
3223 | ||
3224 | * interps.h (INTERP_MI2, INTERP_MI3): Define. | |
3225 | ||
abd4220e | 3226 | 2003-08-07 Michal Ludvig <[email protected]> |
fd83bada | 3227 | |
abd4220e | 3228 | * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers. |
fd83bada | 3229 | (x86_64_push_arguments): Skip the red zone. |
abd4220e | 3230 | |
9dd5f34f AC |
3231 | 2003-08-05 Andrew Cagney <[email protected]> |
3232 | ||
3233 | * reggroups.c (reggroup_next): Check for the final entry. | |
3234 | ||
e5e78edc AC |
3235 | 2003-08-04 Andrew Cagney <[email protected]> |
3236 | ||
ab4e3d93 AC |
3237 | * monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT. |
3238 | * cli/cli-script.c (define_command): Call query directly, instead | |
3239 | of passing it a buffer. | |
3240 | * ocd.c (ocd_error): Pass error a constant format string. | |
3241 | * remote-mips.c (mips_error): Use fputs_filtered. | |
3242 | ||
1062ca82 AC |
3243 | * solib-svr4.c (_initialize_svr4_solib): Update |
3244 | register_gdbarch_data call. | |
3245 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto. | |
3246 | ||
fcc1c85c AC |
3247 | * gdbarch.sh (gdbarch_data_free_ftype): Delete declaration. |
3248 | (register_gdbarch_data): Delete "free" parameter. Update | |
3249 | comments. | |
3250 | * gdbarch.h, gdbarch.c: Re-generate. | |
3251 | * reggroups.c (_initialize_reggroup): Update. | |
3252 | * gnu-v3-abi.c (init_gnuv3_ops): Update. | |
3253 | * frame-base.c (_initialize_frame_base): Update. | |
3254 | * frame-unwind.c (_initialize_frame_unwind): Update. | |
3255 | * user-regs.c (_initialize_user_regs): Update. | |
3256 | * remote.c (_initialize_remote): Update. | |
3257 | * regcache.c (_initialize_regcache): Update. | |
3258 | ||
116f06ea AC |
3259 | * regcache.c (xfree_regcache_descr): Delete function. |
3260 | (_initialize_regcache): Update call to register_gdbarch_data. | |
3261 | (init_regcache_descr, init_legacy_regcache_descr): Use | |
3262 | GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC. | |
3263 | ||
e5e78edc AC |
3264 | * remote.c (free_remote_state): Delete function. |
3265 | (_initialize_remote): Update register_gdbarch_data. | |
3266 | (init_remote_state): Use GDBARCH_OBSTACK_XALLOC and | |
3267 | GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc. | |
3268 | ||
6c7d17ba AC |
3269 | 2003-08-04 Andrew Cagney <[email protected]> |
3270 | ||
3271 | * reggroups.c (struct reggroup_el): Define. | |
3272 | (struct reggroups): Delete field "nr_group". Replace array | |
3273 | "group" with a "first" to "last" linked list. | |
3274 | (reggroups_init): Update. Allocate using gdbarch's obstack. | |
3275 | (reggroups_free): Delete function. | |
3276 | (add_group): Update. Add "el" parameter. | |
3277 | (reggroup_add): Pass gdbarch obstack allocated space to add_group. | |
3278 | (default_groups): Update. | |
3279 | (reggroup_next): Replace reggroups. | |
3280 | (reggroups_dump): Update. | |
3281 | (_initialize_reggroup): Pass XMALLOC allocated space to add_group. | |
3282 | * regcache.c (regcache_dump): Use reggroup_next instead of reggroups. | |
3283 | * infcmd.c (registers_info): Use reggroup_next instead of reggroups. | |
3284 | ||
89b7795b DJ |
3285 | 2003-08-04 Daniel Jacobowitz <[email protected]> |
3286 | ||
3287 | * Makefile.in (tui-interp.o): Update dependencies. | |
3288 | ||
306d9ac5 DC |
3289 | 2003-08-04 David Carlton <[email protected]> |
3290 | ||
3291 | * charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args | |
3292 | to internal_error call. | |
3293 | * source.c (forward_search_command): Add "%s" format argument. | |
3294 | (reverse_search_command): Ditto. | |
3295 | * top.c (quit_confirm): Ditto. | |
3296 | * cli/cli-setshow.c (do_setshow_command): Ditto. | |
3297 | * cp-valprint.c (cp_print_class_method): Replace | |
3298 | {f,}printf_{un,}filtered by {f,}puts_{un,}filtered. | |
3299 | (cp_print_class_member): Ditto. | |
3300 | * event-top.c (command_line_handler): Ditto. | |
3301 | * linux-proc.c (linux_info_proc_cmd): Ditto. | |
3302 | * p-typeprint.c (pascal_type_print_base): Ditto. | |
3303 | * p-valprint.c (pascal_object_print_class_method): Ditto. | |
3304 | (pascal_object_print_class_member): Ditto. | |
3305 | * printcmd.c (print_scalar_formatted,printf_command): Ditto. | |
3306 | * remote.c (remote_cisco_section_offsets): Ditto. | |
3307 | * top.c (command_line_input): Ditto. | |
3308 | * utils.c (vwarning,error_stream,quit): Ditto. | |
3309 | * valprint.c (print_floating,print_binary_chars) | |
3310 | (print_octal_chars,print_decimal_chars,print_hex_chars): Ditto. | |
3311 | ||
57bfe177 AC |
3312 | 2003-08-04 Andrew Cagney <[email protected]> |
3313 | ||
3314 | * frame.c (frame_func_unwind): Use frame_unwind_address_in_block. | |
3315 | ||
e546b999 AC |
3316 | 2003-08-02 Andrew Cagney <[email protected]> |
3317 | ||
3318 | * config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc, | |
3319 | gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and | |
3320 | amd64fbsd-nat.c. | |
3321 | ||
91092ee5 AC |
3322 | 2003-08-02 Andrew Cagney <[email protected]> |
3323 | ||
3324 | * Makefile.in: Update all dependencies and definitions. | |
3325 | ||
889f28e2 AF |
3326 | 2003-08-02 Adam Fedor <[email protected]> |
3327 | ||
3328 | * linespec.c (is_objc_method_format): New function | |
3329 | (decode_line_1, locate_first_half): Use it. | |
3330 | Fixes PR objc/1298 | |
3331 | ||
880bc914 AC |
3332 | 2003-08-01 Andrew Cagney <[email protected]> |
3333 | ||
3334 | * NEWS: Mention that m32r is multi-arch. | |
3335 | From 2003-07-28 Kei Sakamoto <[email protected]>: | |
3336 | * configure.tgt: Recognize m32r-*-*. | |
3337 | * config/m32r/tm-m32r.h: Delete file. | |
3338 | * config/m32r/m32r.mt: New file. | |
a8f4cde1 | 3339 | * m32r-rom.c (m32r_upload_command): Use hostent only when |
880bc914 AC |
3340 | gethostname succeeds, in order to avoid a compilation |
3341 | warning. | |
3342 | * m32r-tdep.c (m32r_store_return_value): Add a cast to remove a | |
3343 | compiler warning. | |
3344 | ||
19f59343 MS |
3345 | 2003-08-01 Michael Snyder <[email protected]> |
3346 | ||
3347 | * sh-tdep.c (sh_frame_align): New gdbarch method. | |
3348 | (sh_gdbarch_init): Set up frame_align method. | |
3349 | ||
4e7d7511 MS |
3350 | 2003-07-31 Michael Snyder <[email protected]> |
3351 | ||
3352 | * value.h, values.c, infcall.c, infcmd.c: Revert 07-30 change, | |
3353 | which is already covered by the new frames infrastructure. | |
3354 | ||
63022984 AC |
3355 | 2003-07-31 Andrew Cagney <[email protected]> |
3356 | ||
3357 | * user-regs.c (struct user_reg): Add "next" link. | |
3358 | (struct user_regs): Replace "user" with "first" and "last" links. | |
3359 | (append_user_reg): Add pre-allocated "reg" parameter. | |
3360 | (builtin_user_regs): Provide initial value for "last". | |
3361 | (user_reg_add_builtin): XMALLOC memory for append_user_reg. | |
3362 | (user_regs_init): Allocate memory from the gdbarch obstack. | |
3363 | (user_reg_add): GDBARCH_OBSTACK_ZALLOC memory for append_user_reg. | |
3364 | (user_reg_map_name_to_regnum): Rewrite to search the user_reg | |
3365 | linked list. | |
3366 | (usernum_to_user_reg): New function. | |
3367 | (user_reg_map_regnum_to_name): Use usernum_to_user_reg. | |
3368 | (value_of_user_reg): Use usernum_to_user_reg. | |
3369 | (user_regs_free): Delete function. | |
3370 | (_initialize_user_regs): Update register_gdbarch_data call. | |
3371 | ||
7cf6e574 DJ |
3372 | 2003-07-31 Daniel Jacobowitz <[email protected]> |
3373 | ||
3374 | * dwarf2read.c (new_symbol): Use var_decode_location for parameters. | |
3375 | ||
c48a845b MS |
3376 | 2003-07-30 Michael Snyder <[email protected]> |
3377 | ||
4e7d7511 | 3378 | * value.h (value_being_returned): Add a struct_addr argument. |
a8f4cde1 | 3379 | * infcall.c (call_function_by_hand): Pass struct_addr to |
c48a845b MS |
3380 | value_being_returned. |
3381 | * infcmd.c (print_return_value): Pass zero as struct_addr. | |
3382 | * values.c (value_being_returned): If struct_addr is passed, | |
3383 | use it instead of trying to recover it from the inferior. | |
3384 | ||
f0d8db19 KB |
3385 | 2003-07-30 Kevin Buettner <[email protected]> |
3386 | ||
3387 | * mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that | |
3388 | the prologue analyzer won't need to attempt to extract the pc | |
3389 | value from the woefully incomplete dummy frame. | |
3390 | (mn10300_analyze_prologue): Avoid calls to get_frame_pc() when | |
3391 | possible. Disable code which modifies the frame. | |
3392 | ||
e5c113a1 AC |
3393 | 2003-07-28 Andrew Cagney <[email protected]> |
3394 | ||
3395 | * annotate.c (annotate_breakpoints_headers): Restrict annotation | |
3396 | to level 2. | |
3397 | (annotate_breakpoints_table, annotate_record): Ditto. | |
3398 | (annotate_breakpoints_table_end, annotate_field_begin): Ditto. | |
3399 | (annotate_field_name_end, annotate_field_value): Ditto. | |
3400 | (annotate_field_end, annotate_frame_source_begin): Ditto. | |
3401 | (annotate_frame_source_file, annotate_frame_source_file_end): Ditto. | |
3402 | (annotate_frame_source_line, annotate_frame_source_end): Ditto. | |
3403 | (annotate_frame_begin, annotate_frame_function_name): Ditto. | |
3404 | (annotate_frame_address_end, annotate_frame_address): Ditto. | |
3405 | (annotate_frame_args, annotate_frame_end): Ditto. | |
3406 | (annotate_frame_where, annotate_arg_begin): Ditto. | |
3407 | (annotate_arg_name_end, annotate_arg_value): Ditto. | |
3408 | (annotate_arg_end, annotate_signal_handler_caller): Ditto. | |
3409 | (annotate_function_call, annotate_signal_name): Ditto. | |
3410 | (annotate_signal_string, annotate_signal_name_end): Ditto. | |
3411 | (annotate_signal_string_end, annotate_value_history_begin): Ditto. | |
3412 | (annotate_value_begin, annotate_value_history_value): Ditto. | |
3413 | (annotate_value_history_end, annotate_value_end): Ditto. | |
3414 | (annotate_display_begin, annotate_display_number_end): Ditto. | |
3415 | (annotate_display_format, annotate_display_expression): Ditto. | |
3416 | (annotate_display_expression_end, annotate_display_value): Ditto. | |
3417 | (annotate_display_end, annotate_array_section_begin): Ditto. | |
3418 | (annotate_elt_rep, annotate_elt_rep_end): Ditto. | |
3419 | (annotate_elt, annotate_array_section_end): Ditto. | |
3420 | ||
bb1db049 AC |
3421 | 2003-07-28 Andrew Cagney <[email protected]> |
3422 | ||
3423 | * regcache.c (struct regcache_descr): Update comments on | |
3424 | nr_raw_registers. | |
3425 | (init_legacy_regcache_descr): Don't set nr_raw_registers or | |
3426 | sizeof_raw_register_valid_p. | |
3427 | (init_regcache_descr): Set nr_raw_registers and | |
3428 | sizeof_raw_register_valid_p before calling | |
3429 | init_legacy_regcache_descr. | |
3430 | ||
20e6603c AC |
3431 | 2003-07-28 Andrew Cagney <[email protected]> |
3432 | ||
3433 | * mips-tdep.c (print_gp_register_row): Print the GPR's register | |
3434 | MOD NUM_REGS. | |
3435 | ||
db742940 DJ |
3436 | 2003-07-28 Daniel Jacobowitz <[email protected]> |
3437 | ||
3438 | * thread.c (info_threads_command): Use get_selected_frame (). | |
3439 | Check that there is at least one non-sentinel frame. | |
3440 | ||
ce7f4371 SC |
3441 | 2003-07-27 Stephane Carrez <[email protected]> |
3442 | ||
3443 | * m68hc11-tdep.c (struct frame_extra_info): Remove. | |
3444 | (m68hc11_pop_frame): Remove. | |
3445 | (m68hc11_frame_saved_pc): Remove. | |
3446 | (m68hc11_frame_chain): Remove. | |
3447 | (m68hc11_frame_init_saved_regs): Remove. | |
3448 | (m68hc11_init_extra_frame_info): Remove. | |
3449 | (m68hc11_store_struct_return): Remove. | |
3450 | (m68hc11_saved_pc_after_call): Remove. | |
3451 | ||
1ea653ae SC |
3452 | 2003-07-27 Stephane Carrez <[email protected]> |
3453 | ||
3454 | * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold | |
3455 | frame unwind information. | |
3456 | (m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue | |
3457 | and adapted for frame unwinding. | |
3458 | (m68hc11_skip_prologue): Update to scan prologue in temporary object. | |
3459 | (m68hc11_unwind_pc): New function. | |
3460 | (m68hc11_frame_unwind_cache): New function to analyze frames. | |
3461 | (m68hc11_frame_this_id): New function to create new frame struct. | |
3462 | (m68hc11_frame_prev_register): New function to unwind a register from | |
3463 | the frame. | |
3464 | (m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder. | |
3465 | (m68hc11_frame_p): New function for the above. | |
3466 | (m68hc11_frame_base_address): New function to return fp of frame. | |
3467 | (m68hc11_frame_args_address): Update for frame. | |
3468 | (m68hc11_frame_base): Default 68hc11/68hc12 frame. | |
3469 | (m68hc11_unwind_sp): New function. | |
3470 | (m68hc11_unwind_dummy_id): New function. | |
3471 | (m68hc11_gdbarch_init): Install the above frames; remove deprecated | |
3472 | calls. | |
3473 | ||
c8a7f6ac SC |
3474 | 2003-07-27 Stephane Carrez <[email protected]> |
3475 | ||
3476 | * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc. | |
3477 | (m68hc11_guess_from_prologue): Advance the pc and frame size only | |
3478 | when we are beyond the current pc. | |
3479 | ||
3dc990bf SC |
3480 | 2003-07-27 Stephane Carrez <[email protected]> |
3481 | ||
3482 | * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted | |
3483 | from m68hc11_push_arguments. | |
3484 | (m68hc11_push_arguments): Remove. | |
3485 | (m68hc11_push_return_address): Remove. | |
3486 | (m68hc11_gdbarch_init): Install the above; remove above deprecated | |
3487 | handlers; remove deprecated_extra_stack_alignment_needed. | |
3488 | ||
222e5d1d AC |
3489 | 2003-07-27 Andrew Cagney <[email protected]> |
3490 | ||
3491 | * config/pa/tm-hppa.h (init_frame_pc_default): Declare. | |
3492 | * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update | |
3493 | REAL_PC and not the pointer. | |
3494 | * hppa-hpux-tdep.c: Include frame.h | |
3495 | ||
a7e9a47e AC |
3496 | 2003-07-27 Andrew Cagney <[email protected]> |
3497 | ||
3498 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to | |
3499 | GDB_MULTI_ACH_PARTIAL. | |
3500 | ||
7e3dd49e AC |
3501 | 2003-07-27 Andrew Cagney <[email protected]> |
3502 | ||
3503 | Patch from 2003-07-22 Kei Sakamoto <[email protected]>: | |
3504 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style - | |
3505 | operator at start and not end of line. | |
3506 | (decode_prologue): Ditto. | |
3507 | (m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use | |
3508 | frame_unwind_register_unsigned instead of | |
3509 | frame_unwind_unsigned_register. | |
3510 | (m32r_read_pc): Use regcache_cooked_read_unsigned instead of | |
3511 | read_register. | |
3512 | (m32r_push_dummy_call): Use register_size instead of | |
3513 | REGISTER_RAW_SIZE. | |
3514 | (m32r_frame_sniffer): Replace m32r_frame_p. | |
3515 | (m32r_gdbarch_init): Call frame_unwind_append_sniffer. | |
3516 | * m32r-rom.c (report_transfer_performance): Delete extern | |
3517 | declaration. | |
3518 | (m32r_load, m32r_upload_command): Use print_transfer_performance | |
3519 | instead of report_transfer_performance. | |
3520 | (_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd | |
3521 | / add_show_from_set. | |
3522 | ||
0880807f AC |
3523 | 2003-07-26 Andrew Cagney <[email protected]> |
3524 | ||
3525 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated | |
3526 | store_return_value and extract_struct_value_address. | |
3527 | ||
64ae9269 DJ |
3528 | 2003-07-26 Daniel Jacobowitz <[email protected]> |
3529 | ||
3530 | PR c++/1267 | |
3531 | * minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is | |
3532 | NULL, default to the section containing PC. | |
3533 | ||
e286caf2 SC |
3534 | 2003-07-24 Stephane Carrez <[email protected]> |
3535 | ||
3536 | * NEWS: Mention "regs" deprecated for m68hc11 too. | |
3537 | ||
3538 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command. | |
3539 | (m68hc11_print_register): New function to print out one register. | |
3540 | (m68hc11_print_registers_info): New function to print registers. | |
3541 | (show_regs): Deprecate and use the above. | |
3542 | (m68hc11_gdbarch_init): Install the print_registers_info. | |
3543 | ||
705b278b JJ |
3544 | 2003-07-24 Jeff Johnston <[email protected]> |
3545 | ||
3546 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify | |
3547 | that we have a SIGTRAP before returning non-zero. | |
3548 | ||
63cd4198 EZ |
3549 | 2003-07-23 Michal Ludvig <[email protected]> |
3550 | Elena Zannoni <[email protected]> | |
3551 | ||
a8f4cde1 | 3552 | * linespec.c (decode_line_2): Avoid crash if |
63cd4198 EZ |
3553 | find_function_start_sal() returns empty record. |
3554 | ||
6926787d AS |
3555 | 2003-07-23 Andreas Schwab <[email protected]> |
3556 | ||
3557 | * ia64-tdep.c (ia64_print_insn): New function. | |
3558 | (ia64_gdbarch_init): Set print_insn to it. | |
3559 | (_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and | |
3560 | deprecated_tm_print_insn_info. | |
3561 | ||
708cc1b6 MS |
3562 | 2003-07-22 Michael Snyder <[email protected]> |
3563 | ||
3564 | * h8300-tdep.c (h8300_extract_return_value): Teach it how to | |
3565 | handle 8-bit returns (long long). | |
3566 | (h8300h_extract_return_value): Ditto. | |
3567 | (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned. | |
3568 | ||
aebd7893 AC |
3569 | 2003-07-22 Andrew Cagney <[email protected]> |
3570 | ||
3571 | * gdbarch.c Include "gdb_obstack.h". | |
3572 | (struct gdbarch): Add an "obstack". | |
3573 | (alloc_gdbarch_data): Allocate the gdbarch data using | |
3574 | GDBARCH_OBSTACK_CALLOC. | |
3575 | (free_gdbarch_data): Delete function. | |
3576 | (gdbarch_obstack_zalloc): New function. | |
3577 | (gdbarch_free): Free the obstack, do not call free_gdbarch_data. | |
3578 | Assert that the architecture is not initialized. | |
3579 | (gdbarch_alloc): Allocate an obstack, allocate the architecture | |
3580 | vector from the obstack. | |
3581 | (alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the | |
3582 | architecture obstack. | |
3583 | (GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define. | |
3584 | (set_gdbarch_data): Assert that the data is not initialized. | |
3585 | (struct gdbarch_data): Delete member "free". | |
3586 | (register_gdbarch_data): Do not initialize "free". | |
3587 | * gdbarch.h, gdbarch.c: Re-generate. | |
a8f4cde1 | 3588 | |
153721e6 AC |
3589 | 2003-07-22 Andrew Cagney <[email protected]> |
3590 | ||
3591 | * configure.in (build_warnings): Add -Wformat-nonliteral. | |
3592 | * configure: Re-generate. | |
3593 | ||
c193f044 | 3594 | 2003-07-22 Elena Zannoni <[email protected]> |
32ffcbed EZ |
3595 | |
3596 | * dwarf2loc.c (locexpr_describe_location): Fix typos. | |
c193f044 | 3597 | |
c3228f12 EZ |
3598 | 2003-07-22 Elena Zannoni <[email protected]> |
3599 | ||
3600 | * findvar.c (read_var_value): Remove case for thread local storage | |
3601 | variables. It is now entirely handled by the dwarf2 location | |
3602 | expression code. | |
3603 | * printcmd.c (address_info): Ditto. | |
3604 | * symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC | |
3605 | enumeration value. | |
3606 | (struct symbol): Remove objfile field, which was used by | |
3607 | LOC_THREAD_LOCAL_STATIC only. | |
3608 | * dwarf2read.c (decode_locdesc): Remove is_thread_local variable. | |
3609 | * dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about | |
3610 | usage of objfile pointer. | |
3611 | * dwarf2loc.c (locexpr_describe_location): Add case to handle | |
3612 | thread local variables. | |
3613 | Add include of objfiles.h. | |
3614 | * dwarf2expr.c (execute_stack_op): Add comments about thread local | |
3615 | storage variables. | |
3616 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
3617 | ||
aef9bcd2 AC |
3618 | 2003-07-22 Andrew Cagney <[email protected]> |
3619 | ||
3620 | * config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use | |
3621 | get_frame_base. | |
3622 | (FRAME_BASE_BEFORE_SIGTRAMP): Ditto. | |
3623 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto. | |
3624 | (struct value): Add opaque declaration. | |
3625 | (DEPRECATED_FRAME_ARGS_ADDRESS): Delete. | |
3626 | ||
d95a8903 AC |
3627 | 2003-07-21 Andrew Cagney <[email protected]> |
3628 | ||
3629 | From 2003-07-04 Kei Sakamoto <[email protected]>: | |
3630 | * m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite. | |
3631 | ||
4db73d49 SC |
3632 | 2003-07-20 Stephane Carrez <[email protected]> |
3633 | ||
a8f4cde1 | 3634 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use |
4db73d49 SC |
3635 | regcache_cooked_read_unsigned instead of read_register. |
3636 | (m68hc11_saved_pc_after_call): Likewise. | |
3637 | (m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned | |
3638 | instead of write_register. | |
3639 | (m68hc11_register_type): New function. | |
3640 | (m68hc11_register_virtual_type): Remove. | |
3641 | (m68hc11_store_return_value): Convert to use the regcache. | |
3642 | (m68hc11_extract_struct_value_address): Likewise. | |
3643 | (m68hc11_gdbarch_init): Remove deprecated ops for register to use | |
3644 | m68hc11_register_type; undeprecate store_return_value and | |
3645 | extract_struct_value_address. | |
3646 | ||
ef2b8fcd SC |
3647 | 2003-07-20 Stephane Carrez <[email protected]> |
3648 | ||
3649 | * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read | |
3650 | and translate to use regcache. | |
3651 | (m68hc11_gdbarch_init): Undeprecate extract_return_value. | |
3652 | ||
625b0b97 AC |
3653 | 2003-07-18 Andrew Cagney <[email protected]> |
3654 | ||
3655 | * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method. | |
3656 | * gdbarch.h, gdbarch.c: Re-generate. | |
3657 | * i386-tdep.c (i386_gdbarch_init): Do not set | |
3658 | DWARF2_BUILD_FRAME_INFO. | |
3659 | * elfread.c (elf_symfile_read): Call dwarf2_build_frame_info | |
3660 | unconditionally. | |
3661 | * alpha-tdep.c (alpha_dwarf2_init_abi): Do not set | |
3662 | DWARF2_BUILD_FRAME_INFO. | |
3663 | ||
22b0d388 AC |
3664 | 2003-07-18 Andrew Cagney <[email protected]> |
3665 | ||
3666 | From 2003-07-04 Kei Sakamoto <[email protected]>: | |
3667 | * disasm.c (gdb_disassemble_info): Initilize di.arch. | |
3668 | ||
1ce5d6dd AC |
3669 | 2003-07-18 Andrew Cagney <[email protected]> |
3670 | ||
3671 | * dwarf2-frame.c (dwarf2_frame_sniffer): Use | |
3672 | frame_unwind_address_in_block, instead of frame_pc_unwind. | |
3673 | (dwarf2_frame_cache): Ditto. | |
3674 | ||
e6e5e94c AC |
3675 | 2003-07-18 Andrew Cagney <[email protected]> |
3676 | ||
3677 | * user-regs.h (struct gdbarch): Declare opaque. | |
3678 | * ui-out.h (struct ui_file): Declare opaque. | |
3679 | * dwarf2-frame.h (struct frame_info): Declare opaque. | |
3680 | ||
5483d879 KW |
3681 | 2003-07-18 Kris Warkentin <[email protected]> |
3682 | ||
3683 | * nto-procfs.c: Clean ARI hits. Change #include <..> to | |
3684 | #include "...". | |
3685 | (procfs_meminfo): Change strerror to safe_strerror. | |
3686 | (procfs_can_run): Remove K&R badness. | |
3687 | ||
278a7cf7 MS |
3688 | 2003-07-17 Michael Snyder <[email protected]> |
3689 | ||
3690 | * remote-sim.c: Comment typo fix. | |
3691 | ||
606e3b82 AC |
3692 | 2003-07-17 Andrew Cagney <[email protected]> |
3693 | ||
3694 | * defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by | |
3695 | configure. | |
3696 | * sparc-tdep.c (sparc_intreg_size): Make non-static. | |
3697 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to | |
3698 | GDB_MULTI_ARCH_PARTIAL. | |
3699 | ||
c43af07c EZ |
3700 | 2003-07-17 Elena Zannoni <[email protected]> |
3701 | ||
3702 | * Makefile.in (x86-64-linux-nat.o): Update dependencies. | |
3703 | * x86-64-linux-nat.c (ps_get_thread_area): New function. Add | |
3704 | include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h. | |
3705 | ||
3b85b0f1 TR |
3706 | 2003-07-16 Theodore A. Roth <[email protected]> |
3707 | ||
3708 | * avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue | |
3709 | found. | |
3710 | (avr_frame_unwind_cache): Don't unwind FP for main. | |
3711 | Update a comment. | |
3712 | Save the computed prev_sp. | |
3713 | (avr_saved_regs_unwinder): Remove function. | |
a8f4cde1 | 3714 | (avr_frame_prev_register): Use PC unwind logic from |
3b85b0f1 TR |
3715 | avr_saved_regs_unwinder(), otherwise use trad_frame_prev_register(). |
3716 | ||
336d1bba AC |
3717 | 2003-07-16 Andrew Cagney <[email protected]> |
3718 | ||
3719 | * frame-base.h (frame_base_p_ftype): Delete definition. | |
3720 | (frame_base_append_predicate): Delete declaration. | |
3721 | * frame-unwind.h (frame_unwind_p_ftype): Delete definition. | |
3722 | (frame_unwind_append_predicate): Delete declaration. | |
3723 | * frame-unwind.c (struct frame_unwind_table): Delete field "p". | |
3724 | (append_predicate): Delete parameter "p". | |
3725 | (frame_unwind_append_predicate): Delete function. | |
3726 | (frame_unwind_append_sniffer): Update call to append_predicate. | |
3727 | (frame_unwind_free): Delete function. | |
3728 | (_initialize_frame_unwind): Pass NULL as "free" to | |
3729 | register_gdbarch_data. | |
3730 | (frame_unwind_init): Append the dummy_frame_sniffer. | |
3731 | (frame_unwind_find_by_frame): Simplify. | |
3732 | * frame-base.c (struct frame_base_table): Delete field "p". | |
3733 | (append_predicate): Delete parameter "p". | |
3734 | (frame_base_append_predicate): Delete function. | |
3735 | (frame_base_append_sniffer): Update call to append_predicate. | |
3736 | (frame_base_free): Delete function. | |
3737 | (frame_base_find_by_frame): Simplify. | |
3738 | (_initialize_frame_base): Pass NULL as "free" to | |
3739 | register_gdbarch_data. | |
3740 | * x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p". | |
3741 | (x86_64_sigtramp_frame_sniffer): Replace | |
3742 | "x86_64_sigtramp_frame_p". | |
3743 | (x86_64_init_abi): Set the frame unwind sniffers. | |
3744 | * m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p". | |
3745 | (m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p" | |
3746 | (m68k_gdbarch_init): Set the frame unwind sniffers. | |
3747 | * i386-tdep.c (i386_sigtramp_frame_sniffer): Replace | |
3748 | "i386_sigtramp_frame_p". | |
3749 | (i386_frame_sniffer): Replace "i386_frame_p". | |
3750 | (i386_gdbarch_init): Set the frame unwind sniffers. | |
3751 | * avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer". | |
3752 | (avr_gdbarch_init): Set the frame unwind sniffers. | |
3753 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace | |
3754 | "alpha_sigtramp_frame_p" | |
3755 | (alpha_heuristic_frame_sniffer): Replace | |
3756 | "alpha_heuristic_frame_p". | |
3757 | (alpha_gdbarch_init): Set the frame unwind sniffers. | |
3758 | (alpha_dwarf2_init_abi): Ditto. | |
3759 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace | |
3760 | "alpha_debug_frame_p". | |
3761 | (alpha_mdebug_frame_base_sniffer): Replace | |
3762 | "alpha_mdebug_frame_base_p". | |
3763 | (alpha_mdebug_init_abi): Set the frame unwind sniffers. | |
3764 | * d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p". | |
3765 | (d10v_gdbarch_init): Set the frame unwind sniffer. | |
3766 | * dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
3767 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
3768 | * dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
3769 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
3770 | * dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p". | |
3771 | * dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p". | |
3772 | ||
48db5a3c CV |
3773 | 2003-07-16 Michael Snyder <[email protected]> |
3774 | ||
3775 | * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp | |
3776 | should go thru sh_dsp_register_sim_regno, else the dsp regs | |
3777 | will not get the right values. | |
3778 | ||
3779 | 2003-07-16 Corinna Vinschen <[email protected]> | |
3780 | ||
3781 | * sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to | |
3782 | deprecated_store_floating by call to store_typed_floating. | |
3783 | (sh_sh4_register_convert_to_raw): Substitute call to | |
3784 | deprecated_extract_floating by call to extract_typed_floating. | |
3785 | ||
3786 | 2003-07-16 Corinna Vinschen <[email protected]> | |
3787 | ||
3788 | * sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e. | |
3789 | ||
3790 | 2003-07-16 Corinna Vinschen <[email protected]> | |
3791 | ||
3792 | * sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to | |
3793 | register_size and calls to REGISTER_VIRTUAL_TYPE by calls to | |
3794 | gdbarch_register_type in 32 bit code throughout. Avoid current_gdbarch | |
3795 | as possible. | |
3796 | (do_pseudo_register): Remove. | |
3797 | (sh_push_dummy_code): New function. | |
3798 | (sh64_store_struct_return): Rename from sh_store_struct_return. | |
3799 | Only called for sh64 now. | |
3800 | (sh_extract_struct_value_address): Regcache'ify. | |
3801 | (sh_push_dummy_call): Rename from sh_push_arguments. Regcache'ify | |
3802 | and accomodate new tasks. | |
3803 | (sh64_push_return_address): Rename from sh_push_return_address. | |
3804 | Only called for sh64 now. | |
3805 | (sh_default_extract_return_value): Rename from sh_extract_return_value. | |
3806 | Regcache'ify. | |
3807 | (sh3e_sh4_extract_return_value): Regcache'ify. | |
3808 | (sh_default_store_return_value): Ditto. | |
3809 | (sh3e_sh4_store_return_value): Ditto. | |
3810 | (sh_default_register_byte): Remove. | |
3811 | (sh_sh4_register_byte): Remove. | |
3812 | (sh_default_register_raw_size): Remove. | |
3813 | (sh_sh4_register_raw_size): Remove. | |
3814 | (sh_register_virtual_size): Remove. | |
3815 | (sh_sh3e_register_virtual_type): Remove. | |
3816 | (sh_sh3e_register_type): New function. | |
3817 | (sh_sh4_register_virtual_type): Remove. | |
3818 | (sh_sh4_register_type): New function. | |
3819 | (sh_default_register_virtual_type): Remove. | |
3820 | (sh_default_register_type): New function. | |
3821 | (do_fv_register_info): Add parameters to accomodate call from | |
3822 | sh_print_registers_info. | |
3823 | (do_dr_register_info): Ditto. | |
3824 | (sh_print_pseudo_register): Rename from sh_do_pseudo_register. | |
3825 | Add parameters to accomodate call from sh_print_registers_info. | |
3826 | (sh_do_fp_register): Ditto. | |
3827 | (sh64_do_pseudo_register): Call do_dr_register_info, | |
3828 | do_fv_register_info and sh_do_fp_register with default parameters. | |
3829 | (sh_do_register): Add parameters to accomodate call from | |
3830 | sh_print_registers_info. | |
3831 | (sh_print_register): Ditto. | |
3832 | (sh_print_registers_info): Rename from sh_do_registers_info. | |
3833 | Add parameters to be used as gdbarch_print_registers_info | |
3834 | implementation. Accomodate removed do_pseudo_register function | |
3835 | pointer. | |
3836 | (sh_compact_do_registers_info): Accomodate removed do_pseudo_register | |
3837 | function pointer. Call sh_print_register with default parameters. | |
3838 | (sh64_do_registers_info): Call sh_print_registers_info instead of | |
3839 | sh_do_registers_info. | |
3840 | (sh_gdbarch_init): Rearrange to cleanup and to allow easier | |
3841 | detection of deprecated vs. non-deprecated functionality. | |
3842 | Rename sh_call_dummy_words to sh64_call_dummy_words. Remove | |
3843 | function pointer assignments by direct function calls. | |
3844 | ||
e8a89fe2 AC |
3845 | 2003-07-15 Andrew Cagney <[email protected]> |
3846 | ||
3847 | * frame.c (get_frame_id): Use frame_unwind_find_by_frame. | |
3848 | (frame_register_unwind, create_new_frame): Ditto. | |
3849 | (legacy_get_prev_frame, get_frame_type): Ditto. | |
3850 | (get_frame_base_address): Use frame_base_find_by_frame. | |
3851 | (get_frame_locals_address): Use frame_base_find_by_frame. | |
3852 | (get_frame_args_address): Use frame_base_find_by_frame. | |
3853 | * frame-base.h (frame_base_sniffer_ftype): Declare. | |
3854 | (frame_base_append_sniffer): Declare. | |
3855 | (frame_base_find_by_frame): Replace frame_base_find_by_pc. | |
3856 | * frame-base.c (append_predicate): Add a "sniffer" parameter. | |
3857 | (frame_base_append_sniffer): New function. | |
3858 | (frame_base_append_predicate): Add a NULL sniffer. | |
3859 | (frame_base_find_by_frame): Replace "frame_base_find_by_pc". | |
3860 | (struct frame_base_table): Add "sniffer". | |
3861 | (frame_base_free): Free the "sniffer" table. | |
3862 | * frame-unwind.h (frame_unwind_sniffer_ftype): Define. | |
3863 | (frame_unwind_append_sniffer): Declare. | |
3864 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
3865 | * frame-unwind.c (frame_unwind_free): Free the "sniffer" table. | |
3866 | (struct frame_unwind_table): Add "sniffer", delete "middle". | |
3867 | (append_predicate): Add "sniffer" parameter, append the sniffer. | |
3868 | (frame_unwind_init): Update append_predicate call. | |
3869 | (frame_unwind_append_sniffer): New function. | |
3870 | (frame_unwind_append_predicate): Update append_predicate call. | |
3871 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
3872 | ||
0714963c AC |
3873 | 2003-07-15 Andrew Cagney <[email protected]> |
3874 | ||
3875 | * frame.c (get_prev_frame): Move disabled inside_entry_func to | |
3876 | before code inhibiting repeated unwind attempts. Add to | |
3877 | commentary on that test's problems. | |
3878 | * blockframe.c (inside_main_func): Look for "main" in the minimal | |
3879 | symbol table. | |
3880 | * d10v-tdep.c (d10v_frame_this_id): Delete check that frames are | |
3881 | identical. | |
3882 | ||
d9170e22 AC |
3883 | 2003-07-15 Andrew Cagney <[email protected]> |
3884 | ||
3885 | * complaints.c (struct explanation): Define. | |
3886 | (struct complaints): Change type of "explanation" to "struct | |
3887 | explanation". | |
3888 | (symfile_explanations): Convert to a "struct explanation" table. | |
3889 | (vcomplaint): Update. | |
3890 | ||
eba29c8c ML |
3891 | 2003-07-15 Michal Ludvig <[email protected]> |
3892 | ||
3893 | * x86-64-linux-nat.c (regmap): Removed. | |
a8f4cde1 | 3894 | (supply_gregset, fill_gregset): Call |
eba29c8c ML |
3895 | x86_64_linux_(fill,supply)_gregset functions. |
3896 | * x86-64-linux-tdep.c (USER_*): New defines. | |
3897 | (user_to_gdb_regmap, x86_64_core_fns): New structure. | |
3898 | (x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): | |
3899 | New functions. | |
3900 | (fetch_core_registers): Ditto. | |
3901 | (_initialize_x86_64_linux_tdep): Call add_core_fns(). | |
3902 | * x86-64-linux-tdep.h: New file. | |
3903 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o | |
3904 | and core-regset.o. | |
3905 | * config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o. | |
3906 | ||
68cc0bfb MK |
3907 | 2003-07-13 Mark Kettenis <[email protected]> |
3908 | ||
88a115f7 MK |
3909 | * x86-64-tdep.c (x86_64_store_return_value): Use |
3910 | regcache_cooked_write_part instead of regcache_cooked_write. | |
01e4b823 | 3911 | |
68cc0bfb MK |
3912 | * configure.host: Add x86_64-*-freebsd*. |
3913 | * configure.tgt: Add x86_64-*-freebsd*. | |
3914 | * Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets. | |
3915 | * amd64fbsd-nat.c: New file. | |
3916 | * amd64fbsd-tdep.c: New file. | |
3917 | * config/i386/nm-fbsd64.h: New file. | |
3918 | * config/i386/fbsd64.mh: New file. | |
3919 | * config/i386/fbsd64.mt: New file. | |
3920 | ||
138e7be5 MK |
3921 | 2003-07-11 Mark Kettenis <[email protected]> |
3922 | ||
3923 | * alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset', | |
3924 | `sc_regs_offset' and `sc_fpregs_offset'. | |
3925 | * alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF, | |
3926 | SIGFRAME_FPREGSAVE_OFF): Remove defines. | |
3927 | (alpha_sigtramp_register_address): Rewrite to use new members of | |
3928 | `struct gdbarch_tdep'. | |
3929 | (alpha_gdbarch_init): Initialize new members of struct | |
3930 | gdbarch_tdep'. | |
3931 | * alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use | |
3932 | ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE. | |
3933 | (alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables. | |
3934 | (alphafbsd_pc_in_sigtramp): Implement. | |
3935 | (alphafbsd_sigtramp_offset): New function. | |
3936 | (alphafbsd_sigcontext_addr): New function. | |
3937 | (alphafbsd_init_abi): Initialize signal trampoline related members | |
3938 | of `struct gdbarch_tdep'. | |
3939 | (_initialize_alphafbsd_tdep): Add prototype. | |
3940 | ||
95303a68 TR |
3941 | 2003-07-11 Theodore A. Roth <[email protected]> |
3942 | ||
ba292e4c TR |
3943 | * Makefile.in (install-only): Quote sed expression when generating |
3944 | transformed_name. | |
95303a68 | 3945 | |
6896c0c7 RH |
3946 | 2003-07-11 Richard Henderson <[email protected]> |
3947 | ||
3948 | * Makefile.in (dwarf2-frame.o): Add complaints_h. | |
3949 | * dwarf2-frame.c: Include complaints.h. | |
3950 | (decode_frame_entry_1): Rename from decode_frame_entry; tidy | |
3951 | variable initialization; return NULL on error. | |
3952 | (decode_frame_entry): New. | |
3953 | ||
8edd5d01 AC |
3954 | 2003-07-11 Andrew Cagney <[email protected]> |
3955 | ||
c4a09524 AC |
3956 | * frame.h (frame_address_in_block): Delete declaration. |
3957 | * blockframe.c (frame_address_in_block): Delete function. | |
3958 | (get_frame_block): Use get_frame_address_in_block. | |
3959 | (block_innermost_frame): Ditto. | |
3960 | * stack.c (print_frame, backtrace_command_1): Ditto. | |
3961 | ||
8edd5d01 AC |
3962 | * frame.h (get_frame_address_in_block): Declare. |
3963 | (frame_unwind_address_in_block): Declare. | |
3964 | * frame.c (frame_unwind_address_in_block): New function. | |
3965 | (get_frame_address_in_block): New function. | |
3966 | ||
f7968451 AC |
3967 | 2003-07-10 Andrew Cagney <[email protected]> |
3968 | ||
3969 | * gdbarch.sh: Simplify predicate methods. Remove need to provide | |
3970 | pre-default. Note: re-generate has no effect. | |
a8f4cde1 | 3971 | |
ae99b398 AC |
3972 | 2003-07-10 Andrew Cagney <[email protected]> |
3973 | ||
3974 | * gdbarch.sh: When a variable, but not a function, compare against | |
3975 | 0. Fix problem in previous patch. | |
3976 | * gdbarch.c: Re-generate. | |
a8f4cde1 | 3977 | |
956ac328 AC |
3978 | 2003-07-10 Andrew Cagney <[email protected]> |
3979 | ||
3980 | * gdbarch.sh: Use gdb_assert instead of internal_error. Compare | |
3981 | functions against NULL, not 0. | |
3982 | * gdbarch.c: Re-generate. | |
a8f4cde1 | 3983 | |
287c3240 FF |
3984 | 2003-07-10 Fred Fish <[email protected]> |
3985 | ||
3986 | * coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a | |
3987 | null string instead of a null pointer. | |
3988 | * solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto. | |
3989 | ||
32f63c4b MS |
3990 | 2003-07-09 Michael Snyder <[email protected]> |
3991 | ||
3992 | * sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error. | |
3993 | ||
402ecd56 MK |
3994 | 2003-07-09 Mark Kettenis <[email protected]> |
3995 | ||
3996 | * x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, | |
3997 | X86_64_RDI_REGNUM, X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, | |
3998 | X86_64_RIP_REGNUM, X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, | |
3999 | X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Moved here ... | |
4000 | * x86-64-tdep.c: ... from here. | |
4001 | ||
c481dac7 AS |
4002 | 2003-07-09 Andreas Schwab <[email protected]> |
4003 | ||
4004 | * m68k-tdep.h (enum struct_return): Define. | |
4005 | (struct gdbarch_tdep): Add struct_return. | |
4006 | * m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4 | |
4007 | bytes are padded to the right, not to the left. Pass struct value | |
4008 | address in register %a1, not on stack. | |
4009 | (m68k_use_struct_convention): New function. | |
4010 | (m68k_gdbarch_init): Set use_struct_convention. Initialize | |
4011 | struct_return in tdep to pcc_struct_return. | |
4012 | * m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to | |
4013 | reg_struct_return. | |
4014 | ||
a8f4cde1 | 4015 | 2003-07-09 Joel Brobecker <[email protected]> |
64176fa3 | 4016 | |
a8f4cde1 | 4017 | * somread.c (som_symfile_offsets): Fix compilation error. |
64176fa3 | 4018 | |
96a4ee76 AC |
4019 | 2003-07-09 Andrew Cagney <[email protected]> |
4020 | ||
4021 | * regcache.c (register_size): Only check REGISTER_RAW_SIZE once. | |
4022 | Add comments about the checks. | |
4023 | ||
1517c6d1 AC |
4024 | 2003-07-08 Andrew Cagney <[email protected]> |
4025 | ||
4026 | * Makefile.in: Make dependency section headers consistent. | |
4027 | (config_h): Move to $BUILD headers section. | |
4028 | (exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto. | |
4029 | (msg_U_h, notify_S_h, process_reply_S_h): Ditto. | |
4030 | (ada-exp.tab.c): Move to YACC/LEX section. | |
4031 | (ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto. | |
4032 | (jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto. | |
4033 | ||
dc5dd1eb KW |
4034 | 2003-07-08 Kris Warkentin <[email protected]> |
4035 | ||
4036 | * nto-procfs.c: Cleaned up a bunch of ARI hits. | |
fda848e0 KW |
4037 | Include "gdb_dirent.h" instead of <dirent.h>, replace all instances |
4038 | of strerror with safe_strerror, use ISO C function definitions, | |
4039 | and replace instances of sprintf with snprintf. | |
dc5dd1eb | 4040 | |
612dde91 AC |
4041 | 2003-07-07 Andrew Cagney <[email protected]> |
4042 | ||
4043 | * frame.c (get_prev_frame): Enable check for identical frames. | |
4044 | Update comments. Update error messages. | |
4045 | ||
492c11d3 JB |
4046 | 2003-07-07 Joel Brobecker <[email protected]> |
4047 | ||
4048 | * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure. | |
4049 | ||
376a5a49 JB |
4050 | 2003-07-07 Joel Brobecker <[email protected]> |
4051 | ||
4052 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to | |
4053 | sort_symtab_syms, no longer necessary. | |
4054 | ||
22b4a9ad JB |
4055 | 2003-07-07 Joel Brobecker <[email protected]> |
4056 | ||
4057 | * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment. | |
4058 | ||
5bbcb741 JB |
4059 | 2003-07-07 Joel Brobecker <[email protected]> |
4060 | ||
4061 | * mips-tdep.c (mips_register_raw_size): Fix compilation failure. | |
4062 | (mips_register_byte): Likewise. | |
4063 | ||
c139e7d9 DJ |
4064 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
4065 | ||
4066 | * Makefile.in (sparc_tdep_h): New. | |
4067 | (sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o) | |
4068 | (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h). | |
4069 | * sparc-linux-nat.c: Include "sparc-tdep.h". | |
4070 | * sparc-nat.c: Likewise. | |
4071 | * sparc-tdep.c: Likewise. | |
4072 | * sparc64nbsd-nat.c: Likewise. | |
4073 | * sparcnbsd-nat.c: Likewise. | |
4074 | * sparcnbsd-tdep.c: Likewise. | |
4075 | * sparc-tdep.h: New file. | |
4076 | * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum | |
4077 | and sparc_npc_regnum. | |
4078 | ||
fd8f87c5 DJ |
4079 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
4080 | ||
4081 | * mips-linux-nat.c (mips_linux_cannot_fetch_register) | |
4082 | (mips_linux_cannot_store_register): List supported instead of | |
4083 | unsupported registers. | |
4084 | ||
13adf674 DJ |
4085 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
4086 | ||
4087 | * disasm.c (dump_insns): Separate instructions from addresses. | |
4088 | ||
8de307e0 AS |
4089 | 2003-07-07 Andreas Schwab <[email protected]> |
4090 | ||
4091 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
4092 | dependencies. | |
4093 | * m68k-tdep.c (NUM_FREGS): Delete. | |
4094 | (SIG_PC_FP_OFFSET): Delete. | |
4095 | (TARGET_M68K): Delete. | |
4096 | (P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP, | |
4097 | P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP, | |
4098 | P_MOVEL_SP, P_MOVEML_SP): Define. | |
4099 | (P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM, | |
4100 | P_TRAP): Delete. | |
4101 | (m68k_register_raw_size): Delete. | |
4102 | (m68k_register_virtual_size): Delete. | |
4103 | (m68k_register_type): Renamed from m68k_register_virtual_type and | |
4104 | add gdbarch argument. | |
4105 | (m68k_store_struct_return): Delete. | |
4106 | (m68k_deprecated_extract_return_value): Delete. | |
4107 | (m68k_deprecated_extract_struct_value_address): Delete. | |
4108 | (m68k_frame_chain): Delete. | |
4109 | (m68k_frame_saved_pc): Delete. | |
4110 | (m68k_fix_call_dummy): Delete. | |
4111 | (m68k_push_dummy_frame): Delete. | |
4112 | (m68k_pop_frame): Delete. | |
4113 | (m68k_extract_return_value): New function. | |
4114 | (m68k_store_return_value): Rewrite using regcache. | |
4115 | (m68k_extract_struct_value_address): Rewrite using regcache. | |
4116 | (m68k_push_dummy_call): New function. | |
4117 | (struct m68k_frame_cache): Define. | |
4118 | (m68k_alloc_frame_cache): New function. | |
4119 | (m68k_analyze_frame_setup): New function. | |
4120 | (m68k_analyze_register_saves): New function. | |
4121 | (m68k_analyze_prologue): New function. | |
4122 | (m68k_skip_prologue): Rewrite using above functions. | |
4123 | (m68k_unwind_pc): New function. | |
4124 | (m68k_frame_cache): New function. | |
4125 | (m68k_frame_this_id): New function. | |
4126 | (m68k_frame_prev_register): New function. | |
4127 | (m68k_frame_unwind): New variable. | |
4128 | (m68k_frame_p): New function. | |
4129 | (m68k_sigtramp_frame_cache): New function. | |
4130 | (m68k_sigtramp_frame_this_id): New function. | |
4131 | (m68k_sigtramp_frame_prev_register): New function. | |
4132 | (m68k_sigtramp_frame_unwind): New variable. | |
4133 | (m68k_sigtramp_frame_p): New function. | |
4134 | (m68k_frame_base_address): New function. | |
4135 | (m68k_frame_base): New function. | |
4136 | (m68k_unwind_dummy_id): New function. | |
4137 | (fill_gregset): Use regcache_collect. | |
4138 | (fill_fpregset): Likewise. | |
4139 | (m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is | |
4140 | defined. | |
4141 | (m68k_gdbarch_init): Don't define call_dummy_words. Don't set | |
4142 | deprecated_init_frame_pc, deprecated_store_struct_return, | |
4143 | deprecated_extract_return_value, deprecated_store_return_value, | |
4144 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
4145 | deprecated_frame_init_saved_regs, deprecated_register_raw_size, | |
4146 | deprecated_register_virtual_size, | |
4147 | deprecated_max_register_raw_size, | |
4148 | deprecated_max_register_virtual_size, | |
4149 | deprecated_register_virtual_type, deprecated_register_size, | |
4150 | deprecated_register_byte, deprecated_register_bytes, | |
4151 | deprecated_fp_regnum, deprecated_use_generic_dummy_frames, | |
4152 | call_dummy_location, deprecated_call_dummy_breakpoint_offset, | |
4153 | deprecated_pc_in_call_dummy, deprecated_call_dummy_length, | |
4154 | deprecated_call_dummy_start_offset, deprecated_call_dummy_words, | |
4155 | deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy, | |
4156 | deprecated_push_dummy_frame, deprecated_pop_frame, | |
4157 | deprecated_dummy_write_sp. Set deprecated_saved_pc_after_call | |
4158 | only if SYSCALL_TRAP is defined. Set extract_return_value, | |
4159 | store_return_value, extract_struct_value_address, register_type, | |
4160 | push_dummy_call, unwind_dummy_id, unwind_pc. Add two frame unwind | |
4161 | predicates. | |
4162 | * m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS, | |
4163 | M68K_MAX_REGISTER_SIZE): Define. | |
4164 | (struct m68k_sigtramp_info): Define. | |
4165 | (struct gdbarch_tdep): Add get_sigtramp_info. | |
4166 | * m68klinux-nat.c (fetch_register): Use register_size instead of | |
4167 | REGISTER_RAW_SIZE. Don't put assignment in if. | |
4168 | (store_register): Likewise. | |
4169 | (fetch_inferior_registers): Likewise. | |
4170 | (store_inferior_registers): Likewise. | |
4171 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete. | |
4172 | (m68k_linux_frame_saved_pc): Delete. | |
4173 | (m68k_linux_sigcontext_reg_offset, | |
4174 | m68k_linux_ucontext_reg_offset): Define. | |
4175 | (m68k_linux_get_sigtramp_info): New function. | |
4176 | (m68k_linux_extract_return_value): Rewrite using regcache. | |
4177 | (m68k_linux_store_return_value): Likewise. | |
4178 | (m68k_linux_extract_struct_value_address): Likewise. | |
4179 | (m68k_linux_init_abi): Set get_sigtramp_info in tdep structure. | |
4180 | Don't set deprecated_frame_saved_pc, | |
4181 | deprecated_extract_return_value, deprecated_store_return_value, | |
4182 | deprecated_extract_struct_value_address. Set | |
4183 | extract_return_value, store_return_value, | |
4184 | extract_struct_value_address. | |
4185 | ||
eb8bc282 AC |
4186 | 2003-07-07 Andrew Cagney <[email protected]> |
4187 | ||
4188 | * expprint.c: Include "user-regs.h" instead of "frame.h". | |
4189 | (print_subexp): Use user_reg_map_regnum_to_name, instead of | |
4190 | frame_map_regnum_to_name. | |
4191 | * frame.c: Include "user-regs.h" instead of "builtin-regs.h". | |
4192 | (frame_map_name_to_regnum): Simplify, call | |
4193 | user_reg_map_name_to_regnum. | |
4194 | (frame_map_regnum_to_name): Simplify, call | |
4195 | user_reg_map_regnum_to_name. | |
4196 | (frame_register_unwind): Update. | |
4197 | * std-regs.c: Include "user-regs.h" instead of "builtin-regs.h". | |
4198 | (_initialize_frame_reg): Call user_reg_add_builtin. | |
4199 | * findvar.c: Include "user-regs.h" instead of "builtin-regs.h". | |
4200 | (value_of_register): Use value_of_user_reg. | |
4201 | * eval.c (evaluate_subexp_standard): Update. | |
4202 | * parse.c (write_dollar_variable): Update. | |
4203 | * d10v-tdep.c (d10v_print_registers_info): Update. | |
4204 | * infcmd.c (registers_info): Update. | |
4205 | * Makefile.in (SFILES): Delete "builtin-regs.c", add "user-regs.c". | |
4206 | (builtin_regs_h): Delete macro. | |
4207 | (user_regs_h): Define. | |
4208 | (COMMON_OBS): Delete "builtin-regs.o", add "user-regs.o". | |
4209 | (builtin-regs.o): Delete target. | |
4210 | (user-regs.o): Specify dependencies. | |
4211 | (expprint.o): Update dependencies. | |
4212 | (findvar.o): Update dependencies. | |
4213 | (frame.o): Update dependencies. | |
4214 | (std-regs.o): Update dependencies. | |
4215 | ||
9f476a01 CF |
4216 | 2003-07-06 Christopher Faylor <[email protected]> |
4217 | ||
4218 | * win32-nat.c (solib_symbols_add): Use one variable for all section | |
4219 | address stuff. Pass variable rather than address of variable to | |
4220 | safe_symbol_file_add. | |
4221 | ||
a731b831 AS |
4222 | 2003-07-06 Andreas Schwab <[email protected]> |
4223 | ||
4224 | * m68klinux-nat.c (fill_fpregset): Fix use of loop index. | |
4225 | ||
9f83329d JB |
4226 | 2003-07-04 Joel Brobecker <[email protected]> |
4227 | ||
4228 | * rs6000-nat.c (vmap_symtab): Fix compilation error. | |
4229 | ||
27e28cc5 KW |
4230 | 2003-07-04 Kris Warkentin <[email protected]> |
4231 | ||
4232 | * config/i386/nto.mh: Set XM_FILE to xm-i386.h | |
4233 | ||
4234 | 2003-07-04 Kris Warkentin <[email protected]> | |
4235 | ||
4236 | * nto-procfs.c: New file. Native procfs support for QNX Neutrino. | |
4237 | * config/i386/nto.mh: New file. | |
4238 | * config/i386/nm-nto.h: New file. | |
4239 | * configure.host: Add i[3456]86-*-nto*. | |
4240 | ||
100f2e98 JB |
4241 | 2003-07-03 Joel Brobecker <[email protected]> |
4242 | ||
4243 | * remote-vx.c (vx_add_symbols): Fix compilation error. | |
4244 | ||
e23457df AC |
4245 | 2003-07-03 Andrew Cagney <[email protected]> |
4246 | ||
4247 | * gdbarch.sh (REGISTER_NAME): Do not supply a default. | |
4248 | * gdbarch.h, gdbarch.c: Re-generate. | |
4249 | * config/sparc/tm-sparc.h (REGISTER_NAME): Define. | |
4250 | (legacy_register_name): Declare. | |
4251 | * config/sparc/tm-sp64.h (legacy_register_name): Declare. | |
4252 | (REGISTER_NAME): Define. | |
4253 | * sparc-tdep.c (legacy_register_name): New function. | |
4254 | * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. | |
4255 | (REGISTER_NAME): Define. | |
4256 | (hppa64_register_name): Declare. | |
4257 | * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. | |
4258 | * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. | |
4259 | (hppa64_register_name): New function. | |
4260 | (hppa_register_name): New function. | |
4261 | * arch-utils.c (legacy_register_name): Delete. | |
4262 | * arch-utils.h (legacy_register_name): Delete. | |
4263 | ||
38caaeec DJ |
4264 | 2003-07-03 Daniel Jacobowitz <[email protected]> |
4265 | ||
4266 | * cli/cli-interp.c (cli_interpreter_resume): Update the | |
4267 | cli_uiout's stream to gdb_stdout. | |
4268 | ||
dadd712e AC |
4269 | 2003-07-03 Andrew Cagney <[email protected]> |
4270 | ||
4271 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add | |
4272 | predicate. | |
4273 | * gdbarch.h, gdbarch.c: Re-generate. | |
4274 | * regcache.c (init_regcache_descr): Use legacy code when either | |
4275 | REGISTER_BYTE or REGISTER_RAW_SIZE is set. | |
4276 | ||
c7f1390e DJ |
4277 | 2003-07-02 Daniel Jacobowitz <[email protected]> |
4278 | ||
4279 | * NEWS: Move "set logging" entry into GDB 6.0 section. | |
4280 | ||
4bc8c588 JB |
4281 | 2003-07-02 Jim Blandy <[email protected]> |
4282 | ||
a9dd42f1 JB |
4283 | * s390-tdep.c (struct frame_extra_info): new member: |
4284 | 'stack_bought_valid'. | |
4285 | (s390_get_frame_info): Set fextra_info->stack_bought_valid if we | |
4286 | initialize fextra_info->stack_bought. | |
4287 | (s390_frameless_function_invocation): Don't trust the value of | |
4288 | fextra_info_ptr->stack_bought unless | |
4289 | fextra_info->stack_bought_valid is set. | |
4290 | ||
4bc8c588 JB |
4291 | New S390 prologue analyzer. |
4292 | * s390-tdep.c (struct prologue_value, enum pv_boolean): New types. | |
4293 | (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, | |
4294 | pv_constant_last, pv_add, pv_add_constant, pv_subtract, | |
4295 | pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref, | |
4296 | compute_x_addr, s390_on_stack, s390_store, | |
4297 | s390_get_signal_frame_info): New functions. | |
4298 | (S390_NUM_SPILL_SLOTS): New macro. | |
4299 | (s390_get_frame_info): Rewritten. | |
4300 | (is_arg_reg): Deleted. | |
4301 | ||
4302 | Break out the decoding of S/390 instructions into separate | |
4303 | functions, to make it more legible, and easier to check | |
4304 | against the spec. | |
4305 | * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse, | |
4306 | is_rx, is_rxe): New functions. | |
4307 | (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras, | |
4308 | op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi, | |
4309 | op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st, | |
4310 | op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New | |
4311 | enums for opcode values. (Is this an improvement?) | |
4312 | ||
fd13a04a AC |
4313 | 2003-07-02 Andrew Cagney <[email protected]> |
4314 | ||
4315 | * i386-tdep.c: Revert change committed as part of trad-frame code | |
4316 | below. | |
4317 | ||
3f8091c1 DJ |
4318 | 2003-07-02 Daniel Jacobowitz <[email protected]> |
4319 | ||
4320 | * breakpoint.c (insert_catchpoint): Make static. | |
4321 | ||
8dd5115e AS |
4322 | 2003-07-02 Andreas Schwab <[email protected]> |
4323 | ||
4324 | * ia64-tdep.c (ia64_push_dummy_call): Define as combination of | |
4325 | former ia64_push_arguments and ia64_push_return_address, and use | |
4326 | regcache functions instead of read/write_register. | |
4327 | (ia64_gdbarch_init): Set push_dummy_call instead of | |
4328 | deprecated_push_arguments and deprecated_push_return_address. | |
4329 | ||
a2229c23 AJ |
4330 | 2003-07-01 Andreas Jaeger <[email protected]> |
4331 | ||
4332 | * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte | |
4333 | before the call. | |
4334 | Set %rax only to number of SSE registers used. | |
4335 | ||
3b3850e8 AC |
4336 | 2003-07-01 Andrew Cagney <[email protected]> |
4337 | ||
4338 | * trad-frame.h: Update comments, a -1 .addr is reserved. | |
4339 | (trad_frame_value_p, trad_frame_addr_p): Declare. | |
4340 | (trad_frame_reg_p): Declare. | |
4341 | (trad_frame_set_value): Rename trad_frame_register_value. | |
4342 | (trad_frame_set_unknown): Declare. | |
4343 | * trad-frame.c (trad_frame_realreg_p): New function. | |
4344 | (trad_frame_addr_p, trad_frame_value_p): New function. | |
4345 | (trad_frame_set_unknown): New function. | |
4346 | (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero. | |
4347 | (trad_frame_prev_register): Use trad_frame_realreg_p, | |
4348 | trad_frame_addr_p and trad_frame_value_p. | |
4349 | (trad_frame_set_value): Rename trad_frame_register_value. | |
4350 | * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p | |
4351 | and trad_frame_set_value. | |
a2229c23 | 4352 | |
4d819d0e JB |
4353 | 2003-06-30 Jim Blandy <[email protected]> |
4354 | ||
4355 | Patch from IBM (authors unspecified, probably Ulrich Weigand and | |
4356 | Gerhard Tonn) for argument passing on the S/390 and S/390x: | |
4357 | * s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space | |
4358 | for 16 registers, and then 32 more bytes. | |
4359 | (S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS): | |
4360 | New macros. | |
4361 | (is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially. | |
4362 | Move up in the file, since it's now used by is_simple_arg. | |
4363 | (is_simple_arg): Don't assume registers are four bytes long. | |
4364 | Exclude all double arguments. Extended floats are not simple | |
4365 | args. | |
4366 | (is_power_of_two): New function. | |
4367 | (pass_by_copy_ref): Call is_power_of_two, and check that the | |
4368 | length fits in a register, rather than listing all the acceptable | |
4369 | sizes. Extended floats are not passed by reference. | |
4370 | (s390_push_arguments): Don't assume registers are four bytes long. | |
4371 | Reserve an argument register to point to the buffer for structures | |
4372 | returned by value. Use S390_NUM_FP_PARAMETER_REGISTERS and | |
4373 | S390_STACK_FRAME_OVERHEAD. | |
4374 | ||
1ad828f1 AS |
4375 | 2003-06-30 Andreas Schwab <[email protected]> |
4376 | ||
4377 | * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to | |
4378 | format error message. | |
4379 | ||
39b00981 JB |
4380 | 2003-06-30 Joel Brobecker <[email protected]> |
4381 | ||
4382 | * sparc-tdep.c (stop_after_trap): Remove declaration, not used. | |
4383 | ||
b2a7f303 DC |
4384 | 2003-06-30 David Carlton <[email protected]> |
4385 | ||
4386 | Band-aid for PR c++/1245. | |
4387 | * Makefile.in (cp-support.o): Depend on complaints_h. | |
4388 | * cp-support.c: Include complaints.h. Add declaration for | |
4389 | find_last_component. | |
4390 | (cp_find_first_component): Separate code into | |
4391 | cp_find_first_component_aux. | |
4392 | (cp_find_first_component_aux): Call demangled_name_complaint. | |
4393 | (demangled_name_complaint): New. | |
4394 | ||
a257b5bb AC |
4395 | 2003-06-30 Andrew Cagney <[email protected]> |
4396 | ||
4397 | * remote.c (remote_write_bytes): Explicitly compute and then use | |
4398 | the payload size. Update comments to reflect. Fixes problem of | |
4399 | GDB not sending small packets as found by Fred Fish. | |
4400 | ||
0a2cfde4 AC |
4401 | 2003-06-30 Andrew Cagney <[email protected]> |
4402 | ||
4403 | * remote.c (remote_async_wait): Fix -Wformat problem. | |
4404 | ||
3fcb8548 AC |
4405 | 2003-06-29 Andrew Cagney <[email protected]> |
4406 | ||
4407 | * remote.c (remote_wait): Call error, and not warning, when the | |
4408 | packet is corrupt. | |
4409 | (remote_async_wait): Ditto. | |
4410 | ||
9f9970a3 DJ |
4411 | 2003-06-29 Daniel Jacobowitz <[email protected]> |
4412 | ||
4413 | * sparc-tdep.c (sparc_y_regnum): Make external again. | |
4414 | ||
83a8ccca DJ |
4415 | 2003-06-29 Daniel Jacobowitz <[email protected]> |
4416 | ||
4417 | * cli/cli-logging.c (pop_output_files): Add void to function | |
4418 | definition. | |
4419 | ||
d2cf594a AC |
4420 | 2003-06-29 Andrew Cagney <[email protected]> |
4421 | ||
4422 | * frame.c (frame_register_unwind): Use unsigned char when dumping | |
4423 | the buffer contents. | |
4424 | ||
0fac0b41 DJ |
4425 | 2003-06-28 Daniel Jacobowitz <[email protected]> |
4426 | ||
4427 | * cli/cli-logging.c: New file. | |
4428 | * cli-out.c (struct ui_out_data): Add original_stream. | |
4429 | (cli_redirect): New function. | |
4430 | (cli_ui_out_impl): Add cli_redirect. | |
4431 | (cli_out_new): Initialize original_stream. | |
4432 | * ui-out.c (default_ui_out_impl): Add NULL for redirect member. | |
4433 | (uo_redirect, ui_out_redirect): New. | |
4434 | * ui-out.h (struct ui_out_impl): Add redirect member. | |
4435 | (redirect_ftype): New. | |
4436 | (ui_out_redirect): Add prototype. | |
4437 | * Makefile.in: Add rules for cli-logging.c. | |
4438 | * NEWS: Mention "set logging". | |
4439 | ||
88a07d7c EZ |
4440 | 2003-06-27 Elena Zannoni <[email protected]> |
4441 | ||
4442 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o. | |
4443 | ||
4eb58876 AC |
4444 | 2003-06-27 Andrew Cagney <[email protected]> |
4445 | ||
4446 | * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function. | |
4447 | (m68hc11_gdbarch_init): Do not set call_dummy_address. | |
4448 | * avr-tdep.c (avr_call_dummy_address): Delete function. | |
4449 | (avr_gdbarch_init): Do not set call_dummy_address. | |
4450 | ||
1549f619 EZ |
4451 | 2003-06-27 Elena Zannoni <[email protected]> |
4452 | ||
4453 | * symfile.c (syms_from_objfile): Move variables to inner block. | |
4454 | Move the checks for the non-mainline case a bit earlier to avoid | |
4455 | doing some useless computations. | |
4456 | ||
3cb3398d EZ |
4457 | 2003-06-27 Elena Zannoni <[email protected]> |
4458 | ||
4459 | * dwarfread.c (decode_modified_type): Gag new compiler warning. | |
4460 | ||
3799ccc6 EZ |
4461 | 2003-06-26 Elena Zannoni <[email protected]> |
4462 | ||
4463 | * dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame | |
4464 | sections. | |
4465 | ||
ce1f6491 MC |
4466 | 2003-06-26 Michael Chastain <[email protected]> |
4467 | ||
4468 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc, | |
4469 | gdb/testsuite/gdb.c++/pr-1210.exp. | |
4470 | ||
d958dfd0 AC |
4471 | 2003-06-26 Andrew Cagney <[email protected]> |
4472 | ||
4473 | * config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's | |
4474 | altivec_expression.h and altivec_registers.h. | |
4475 | ||
d31431ed AC |
4476 | 2003-06-26 Andrew Cagney <[email protected]> |
4477 | ||
4478 | * mips-tdep.c (gdb_print_insn_mips): Only explicitly set | |
4479 | info->mach when MIPS16. Patch suggested by Fred Fish. | |
4480 | ||
714b1282 AC |
4481 | 2003-06-26 Andrew Cagney <[email protected]> |
4482 | ||
4483 | * utils.c (internal_vproblem): Print the problem to a reason | |
4484 | buffer and then pass to query. Make the msg variable more local. | |
4485 | ||
42efa47a AC |
4486 | 2003-06-26 Andrew Cagney <[email protected]> |
4487 | ||
4488 | * gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate. Deprecate. | |
4489 | (FRAME_LOCALS_ADDRESS): Add predicate. Deprecate. | |
4490 | * gdbarch.h, gdbarch.c: Re-generate. | |
4491 | * frame-base.c (default_frame_args_address): Update. Use | |
4492 | default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is | |
4493 | not available. | |
4494 | (default_frame_locals_address): Ditto for | |
4495 | DEPRECATED_FRAME_LOCALS_ADDRESS. | |
4496 | * vax-tdep.c (vax_sigtramp_saved_pc): Update. | |
4497 | (vax_frame_num_args): Update. | |
4498 | (vax_gdbarch_init): Update. | |
4499 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4500 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
4501 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4502 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4503 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4504 | * symtab.h (address_class): Update comments. | |
4505 | * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update. | |
4506 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
4507 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
4508 | * config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
4509 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
4510 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
4511 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
4512 | * alpha-mdebug-tdep.c: Update. | |
4513 | * ada-lang.c (add_symbols_from_enclosing_procs): Update. | |
4514 | ||
8ffd9b1b AJ |
4515 | 2003-06-26 Andreas Jaeger <[email protected]> |
4516 | ||
4517 | * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number | |
4518 | of SSE registers so that varargs functions work. Rework handling | |
4519 | of passing arguments on the stack. | |
4520 | (x86_64_store_return_value): Return double and float values in SSE | |
4521 | register. | |
4522 | ||
e8ac10a6 MC |
4523 | 2003-06-24 Michael Chastain <[email protected]> |
4524 | ||
4525 | * PROBLEMS: Document pr gdb/1091 and pr gdb/1193, | |
4526 | the "constructor breakpoints ignored" bug. | |
4527 | ||
986af8e6 DC |
4528 | 2003-06-25 David Carlton <[email protected]> |
4529 | ||
4530 | * MAINTAINERS: Update e-mail address. | |
4531 | ||
d64558a5 JB |
4532 | 2003-06-24 Jim Blandy <[email protected]> |
4533 | ||
e538d2d7 JB |
4534 | * ppc-linux-tdep.c: More "Linux" -> "GNU/Linux". |
4535 | ||
02631ec0 JB |
4536 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New |
4537 | function. | |
4538 | (ppc_linux_init_abi): Register it as the | |
4539 | CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI. | |
4540 | ||
e716d87a JB |
4541 | * ppc-linux-tdep.c (ppc64_call_dummy_address): New function. |
4542 | (ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address | |
4543 | method. | |
4544 | ||
d64558a5 JB |
4545 | * ppc-linux-tdep.c (ppc64_desc_entry_point): New function. |
4546 | (ppc64_standard_linkage_target): Use it. | |
4547 | ||
449a5da4 AC |
4548 | 2003-06-23 Andrew Cagney <[email protected]> |
4549 | ||
4550 | * rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases | |
4551 | for 0 "int0" and 4 "int32" sized registers. | |
4552 | * gdbtypes.c (builtin_type_int0): Define. | |
4553 | (build_gdbtypes): Initialize builtin_type_int0. | |
4554 | * gdbtypes.h (builtin_type_int0): Declare. | |
4555 | ||
b2a02dda SC |
4556 | 2003-06-23 Stephane Carrez <[email protected]> |
4557 | ||
4558 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed | |
4559 | as characters are unsigned. | |
4560 | ||
fba3138e DJ |
4561 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
4562 | ||
4563 | PR gdb/1179 | |
4564 | * dwarfread.c (struct_type): Skip static fields without crashing. | |
4565 | ||
f6c8180b AC |
4566 | 2003-06-22 Andrew Cagney <[email protected]> |
4567 | ||
4568 | GDB 6.0 branch created. | |
f2c06f52 AC |
4569 | * README: Update. |
4570 | * PROBLEMS: Update. Empty. | |
4571 | * NEWS: Update. | |
f6c8180b | 4572 | |
ae822768 DJ |
4573 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
4574 | ||
4575 | * symfile.c (add_symbol_file_command): Use parse_and_eval_address. | |
4576 | Suggested by Nick Hibma <[email protected]>. | |
4577 | ||
261de166 AC |
4578 | 2003-06-22 Andrew Cagney <[email protected]> |
4579 | ||
4580 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle | |
4581 | GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil | |
4582 | Velikov. | |
4583 | ||
30e94205 DJ |
4584 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
4585 | ||
4586 | * cli/cli-cmds.c (shell_escape): Silence warnings from old | |
4587 | compilers. | |
4588 | ||
9e14d721 DJ |
4589 | 2003-06-21 Daniel Jacobowitz <[email protected]> |
4590 | ||
4591 | * c-valprint.c (c_value_print): Add VALUE_OFFSET to the address | |
4592 | argument of val_print. | |
4593 | * cp-valprint.c (cp_print_value): Don't add the offset parameter | |
4594 | to the address argument of baseclass_offset or target_read_memory. | |
4595 | Do add it to the argument of cp_print_value_fields. | |
4596 | ||
a4b8ebc8 AC |
4597 | 2003-06-21 Andrew Cagney <[email protected]> |
4598 | ||
4599 | * mips-tdep.c: Include "reggroups.h" and "sim-regno.h". | |
4600 | (mips_register_name): Return names for NUM_REGS..2*NUM_REGS | |
4601 | instead of 0..NUM_REGS. | |
4602 | (mips_register_reggroup_p): New function. | |
4603 | (mips_pseudo_register_write): New function. | |
4604 | (mips_pseudo_register_read): New function. | |
4605 | (mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size | |
4606 | based on the register's type. | |
4607 | (read_next_frame_reg): Simplify. Assert that REGNO is a pseudo / | |
4608 | cooked. | |
4609 | (mips_get_saved_register): Simplify. Assert that REGNO is a | |
4610 | pseudo / cooked. | |
4611 | (mips_register_byte): New function. Use MIPS_REGISTER_BYTE. | |
4612 | (mips_register_type): Replace mips_register_virtual_type. Map | |
4613 | NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE | |
4614 | when available. | |
4615 | (read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert | |
4616 | that the register is cooked / virtual. | |
4617 | (mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC. | |
4618 | Only get the extra info when needed. | |
4619 | (set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well. | |
4620 | (mips32_heuristic_proc_desc): Fetch the cooked register. | |
4621 | (heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto. | |
4622 | (mips_init_extra_frame_info, get_frame_pointer): Ditto. | |
4623 | (mips_print_register): Use gdbarch_register_type, instead of | |
4624 | REGISTER_VIRTUAL_TYPE. | |
4625 | (print_gp_register_row): Use gdbarch_register_type, instead of | |
4626 | REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM. | |
4627 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
4628 | Print the pseudo / cooked registers. | |
4629 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
4630 | Print the pseudo / cooked registers. | |
4631 | (mips_xfer_register): Use regcache_cooked_read_part. Assert that | |
4632 | REG_NUM is pseudo / cooked. | |
4633 | (mips_o32_xfer_return_value): Xfer the pseudo / cooked register. | |
4634 | (mips_n32n64_xfer_return_value): Ditto. | |
4635 | (mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS. | |
4636 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto. | |
4637 | (mips_register_sim_regno): New function. | |
4638 | (mips_gdbarch_init): Set deprecated_register_byte, | |
4639 | register_group_p, pseudo_register_write, pseudo_register_read, | |
4640 | register_sim_regno, and num_pseudo_regs. Set register_type, | |
4641 | instead of register_virtual_type. | |
4642 | * Makefile.in (mips-tdep.o): Update dependencies. | |
4643 | * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename | |
4644 | REGISTER_VIRTUAL_TYPE. | |
4645 | * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto. | |
4646 | * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto. | |
4647 | * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE. | |
4648 | * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto. | |
4649 | * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto. | |
4650 | ||
325ed089 DJ |
4651 | 2003-06-21 Daniel Jacobowitz <[email protected]> |
4652 | ||
4653 | * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h) | |
4654 | * cli/cli-cmds.c: Include "gdb_vfork.h". | |
4655 | (shell_escape): Use vfork. | |
4656 | ||
f0e7d0e8 AC |
4657 | 2003-06-21 Andrew Cagney <[email protected]> |
4658 | ||
c57bb9fa AC |
4659 | * mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling |
4660 | 32 bit floating-point register saves. | |
4661 | ||
6e51443a AC |
4662 | * frame.h (deprecated_unwind_get_saved_register): Delete. |
4663 | * frame.c (deprecated_unwind_get_saved_register): Delete function. | |
4664 | * mips-tdep.c (mips_get_saved_register): Use frame_register_unwind | |
4665 | and deprecated_get_next_frame_hack instead of | |
4666 | deprecated_unwind_get_saved_register. | |
4667 | ||
ed183c7c AC |
4668 | * mips-tdep.c (mips_dump_tdep): Do not print |
4669 | REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE. | |
4670 | ||
f0e7d0e8 AC |
4671 | * frame.c (get_frame_register): New function. |
4672 | (frame_unwind_register_signed): New function. | |
4673 | (get_frame_register_signed): New function. | |
4674 | (frame_unwind_register_unsigned): New function. | |
4675 | (get_frame_register_unsigned): New function. | |
4676 | * frame.h: Add comments on naming schema. | |
4677 | (get_frame_register, frame_unwind_register_signed): Declare. | |
4678 | (get_frame_register_signed, get_frame_register_signed): Declare. | |
4679 | (frame_unwind_register_unsigned): Declare. | |
4680 | (get_frame_register_unsigned): Declare. | |
4681 | ||
2224d941 TR |
4682 | 2003-06-20 Theodore A. Roth <[email protected]> |
4683 | ||
4684 | * avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit. | |
4685 | ||
8619218d TR |
4686 | 2003-06-20 Theodore A. Roth <[email protected]> |
4687 | ||
4688 | * avr-tdep.c (avr_read_pc): Use regcache instead of read_register. | |
4689 | (avr_read_sp): Ditto. | |
4690 | ||
0b1b50c0 DJ |
4691 | 2003-06-20 Daniel Jacobowitz <[email protected]> |
4692 | ||
4693 | * config/arm/linux.mt: Remove code protected by GDBSERVER define. | |
4694 | * config/arm/nm-linux.h: Likewise. | |
4695 | * config/arm/tm-linux.h: Likewise. | |
4696 | * config/ia64/nm-linux.h: Likewise. | |
4697 | * config/ia64/tm-ia64.h: Likewise. | |
4698 | * config/s390/tm-linux.h: Likewise. | |
4699 | * config/s390/tm-s390.h: Likewise. | |
4700 | * s390-nat.c: Likewise. | |
4701 | * s390-tdep.c: Likewise. | |
4702 | ||
4703 | * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES. | |
4704 | * config/ia64/linux.mt: Likewise. | |
4705 | * config/m68k/linux.mh: Likewise. | |
4706 | * config/mips/linux.mt: Likewise. | |
4707 | * config/powerpc/linux.mh: Likewise. | |
4708 | * config/sh/linux.mt: Likewise. | |
4709 | ||
c8c18e65 KW |
4710 | 2003-06-19 Kris Warkentin <[email protected]> |
4711 | ||
4712 | * solib.c (solib_open): Change tests for whether to search | |
4713 | LD_LIBRARY_PATH and PATH to better deal with remotes. Update | |
4714 | comments. | |
4715 | ||
dcccef2e TR |
4716 | 2003-06-19 Theodore A. Roth <[email protected]> |
4717 | ||
4718 | * avr-tdep.c (avr_frame_address): Delete function. | |
4719 | (avr_gdbarch_init): Don't call set_gdbarch_frame_args_address, | |
4720 | set_gdbarch_frame_args_address. | |
4721 | ||
5861a190 AC |
4722 | 2003-06-19 Andrew Cagney <[email protected]> |
4723 | ||
4724 | * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete. | |
4725 | (REGISTER_CONVERT_FROM_TYPE): Delete. | |
4726 | (mips_register_convert_to_type): Delete declaration. | |
4727 | (mips_register_convert_from_type): Delete declaration. | |
4728 | * linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux | |
4729 | kernel/. | |
4730 | ||
0274a8ce MS |
4731 | 2003-06-19 Michael Snyder <[email protected]> |
4732 | ||
4733 | * linux-nat.h: New file. | |
4734 | * linux-nat.c: Include linux-nat.h. | |
8ffd9b1b | 4735 | * lin-lwp.c: Include linux-nat.h. |
0274a8ce | 4736 | Move struct lwp_info def to linux-nat.h. |
8ffd9b1b | 4737 | * linux-proc.c: Include linux-nat.h. |
0274a8ce MS |
4738 | (linux_make_note_section): Iterate over lwps instead of threads. |
4739 | (linux_do_thread_registers): Use lwp instead of merged pid. | |
4740 | * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h. | |
8ffd9b1b | 4741 | * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): |
0274a8ce MS |
4742 | Add dependency on linux_nat_h. |
4743 | ||
adf5f719 TR |
4744 | 2003-06-19 Theodore A. Roth <[email protected]> |
4745 | ||
4746 | * avr-tdep.c (avr_extract_return_value): Delete debugging fprintf. | |
4747 | ||
6766a268 DJ |
4748 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
4749 | ||
4750 | * varobj.c (get_type, get_target_type): Use check_typedef. | |
4751 | ||
1171114a DJ |
4752 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
4753 | ||
4754 | * breakpoint.c (insert_catchpoint): Call internal_error. | |
4755 | ||
adcf68a2 TR |
4756 | 2003-06-19 Theodore A. Roth <[email protected]> |
4757 | ||
4758 | * avr-tdep.c (avr_push_dummy_code): Delete function. | |
4759 | (avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code. | |
4760 | ||
ea67f13b DJ |
4761 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
4762 | ||
4763 | * arch-utils.c (default_prepare_to_proceed): Remove. | |
4764 | (generic_prepare_to_proceed): Remove. | |
4765 | * arch-utils.h (default_prepare_to_proceed): Remove prototype. | |
4766 | (generic_prepare_to_proceed): Remove prototype. | |
4767 | * gdbarch.sh (PREPARE_TO_PROCEED): Remove. | |
4768 | * gdbarch.c: Regenerate. | |
4769 | * gdbarch.h: Regenerate. | |
4770 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype. | |
4771 | * hppah-nat.c (hppa_switched_threads): Remove. | |
4772 | * infrun.c (prepare_to_proceed): New static function, copied from | |
4773 | generic_prepare_to_proceed. Remove select_it argument. | |
4774 | (proceed): Call prepare_to_proceed. | |
4775 | * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove | |
4776 | variables. | |
4777 | (ptrace_wait): Don't set the removed variables. | |
4778 | (hppa_switched_threads): Remove. | |
4779 | * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove. | |
4780 | * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define. | |
4781 | (lin_lwp_prepare_to_proceed): Remove prototype. | |
4782 | * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine. | |
4783 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define. | |
4784 | ||
4add8633 TR |
4785 | 2003-06-18 Theodore A. Roth <[email protected]> |
4786 | ||
4787 | * avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, and | |
4788 | trad-frame.h. | |
4789 | (AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64. | |
4790 | (AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define. | |
4791 | (AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define. | |
4792 | (AVR_PROLOGUE_*): Enumerate prologue types. | |
4793 | (struct frame_extra_info): Remove. | |
4794 | (struct avr_unwind_cache): Define. | |
4795 | (avr_write_sp): Delete function. | |
4796 | (avr_read_fp): Ditto. | |
4797 | (avr_init_extra_frame_info): Ditto. | |
4798 | (avr_pop_frame): Ditto. | |
4799 | (avr_frame_saved_pc): Ditto. | |
4800 | (avr_saved_pc_after_call): Ditto. | |
4801 | (avr_push_return_address): Ditto. | |
4802 | (avr_frame_chain): Ditto. | |
4803 | (avr_store_struct_return): Ditto. | |
4804 | (avr_push_arguments): Ditto. | |
4805 | (avr_scan_prologue): Update comments. Changed to set up the info for | |
4806 | cache unwinding. Now returns end of prologue PC. | |
4807 | (avr_skip_prologue): Better handling of functions lacking a prologue | |
4808 | by using avr_scan_prologue. | |
4809 | (avr_scan_arg_moves): New function. | |
4810 | (avr_saved_regs_unwinder): Ditto. | |
4811 | (avr_frame_unwind_cache): Ditto. | |
4812 | (avr_unwind_pc): Ditto. | |
4813 | (avr_frame_this_id): Ditto. | |
4814 | (avr_frame_prev_register): Ditto. | |
4815 | (avr_frame_p): Ditto. | |
4816 | (avr_frame_base_address ): Ditto. | |
4817 | (avr_unwind_dummy_id): Ditto. | |
4818 | (avr_push_dummy_code): Ditto. | |
4819 | (push_stack_item): Ditto. | |
4820 | (pop_stack_item): Ditto. | |
4821 | (avr_push_dummy_call): Ditto. | |
4822 | (struct stack_item): Define. | |
4823 | (avr_frame_unwind): Declare structure. | |
4824 | (avr_frame_base): Ditto. | |
4825 | (avr_gdbarch_init): Remove calls to | |
4826 | set_gdbarch_deprecated_init_frame_pc, | |
4827 | set_gdbarch_deprecated_target_read_fp, | |
4828 | set_gdbarch_deprecated_dummy_write_sp, | |
4829 | set_gdbarch_deprecated_fp_regnum, | |
4830 | set_gdbarch_deprecated_push_arguments, | |
4831 | set_gdbarch_deprecated_push_return_address, | |
4832 | set_gdbarch_deprecated_pop_frame, | |
4833 | set_gdbarch_deprecated_store_struct_return, | |
4834 | set_gdbarch_deprecated_frame_init_saved_regs, | |
4835 | set_gdbarch_deprecated_init_extra_frame_info, | |
4836 | set_gdbarch_deprecated_frame_chain, | |
4837 | set_gdbarch_deprecated_frame_saved_pc, | |
4838 | set_gdbarch_deprecated_saved_pc_after_call. | |
4839 | Add calls to set_gdbarch_push_dummy_call, | |
4840 | set_gdbarch_push_dummy_code, | |
4841 | frame_unwind_append_predicate, | |
4842 | frame_base_set_default, | |
4843 | set_gdbarch_unwind_dummy_id, | |
4844 | set_gdbarch_unwind_pc. | |
4845 | Wrap a long line. | |
4846 | ||
7be04a68 MS |
4847 | 2003-06-18 Corinna Vinschen <[email protected]> |
4848 | ||
4849 | * h8300-tdep.c (h8300s_register_name): Enable MACH and MACL | |
4850 | registers for H8/300S. | |
4851 | (h8300_print_registers_info): Ditto. | |
8ffd9b1b | 4852 | (h8300_gdbarch_init): Accommodate register count for H8/300S. |
7be04a68 | 4853 | |
ae087d01 DJ |
4854 | 2003-06-18 Daniel Jacobowitz <[email protected]> |
4855 | ||
4856 | * config/nm-linux.h (linux_record_stopped_pid): New prototype. | |
4857 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
4858 | (lin_lwp_wait): Likewise. Update comments. | |
4859 | * linux-nat.c (struct simple_pid_list, add_to_pid_list) | |
4860 | (pull_pid_from_list, linux_record_stopped_pid): New. | |
4861 | ||
07d8f827 SC |
4862 | 2003-06-17 Stephane Carrez <[email protected]> |
4863 | ||
4864 | * ada-lang.c (scan_discrim_bound): Name first argument. | |
4865 | (ada_add_block_symbols): Remove BLOCK_SYM to use local variable | |
4866 | declared by ALL_BLOCK_SYMBOLS. | |
4867 | ||
7cb47b14 SC |
4868 | 2003-06-17 Stephane Carrez <[email protected]> |
4869 | ||
4870 | * ada-tasks.c (find_function_in_inferior): Don't declare it. | |
4871 | ("regcache.h"): Include it. | |
4872 | * ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN. | |
4873 | ||
6ad8ae5c DJ |
4874 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
4875 | ||
4876 | * NEWS: Mention gdbserver detach change and "disconnect" command. | |
4877 | * infcmd.c (disconnect_command): New function. | |
4878 | (_initialize_infcmd): Add ``disconnect'' command. | |
4879 | * remote.c (remote_async_detach): Delete. | |
4880 | (remote_detach): Merge remote_async_detach. | |
4881 | (remote_disconnect): New. | |
4882 | (init_remote_ops): Set to_disconnect. | |
4883 | (init_remote_cisco_ops): Likewise. | |
4884 | (init_remote_async_ops): Likewise. Use remote_detach. | |
4885 | * target.c (cleanup_target): Default to_disconnect. | |
4886 | (update_current_target): Inherit to_disconnect. | |
4887 | (target_disconnect, debug_to_disconnect): New functions. | |
4888 | (setup_target_debug): Set to_disconnect. | |
4889 | * target.h (struct target_ops): Add to_disconnect. | |
4890 | (target_disconnect): Add prototype. | |
4891 | ||
687595f9 DJ |
4892 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
4893 | ||
4894 | * breakpoint.c (insert_catchpoint): New function. | |
4895 | (insert_breakpoints): Use catch_exceptions to call | |
4896 | insert_catchpoint. Disable catchpoints if they fail to insert. | |
4897 | ||
29239a8f DJ |
4898 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
4899 | ||
4900 | * symfile.c (reread_symbols): Clear sym_private. | |
4901 | ||
2cdf3c63 AC |
4902 | 2003-06-17 Andrew Cagney <[email protected]> |
4903 | ||
4904 | * trad-frame.h (struct frame_info): Add opaque declaration. | |
4905 | * remote-fileio.h (struct cmd_list_element): Add opaque | |
4906 | declaration. | |
4907 | * h8300-tdep.c (h8300s_register_name): Avoid C++ // style | |
4908 | comments. | |
4909 | ||
cf0e1e0d DJ |
4910 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
4911 | ||
4912 | * remote.c (remote_prepare_to_store): Replace call to | |
4913 | deprecated_read_register_bytes with multiple regcache_raw_read | |
4914 | calls. | |
4915 | ||
192cdb19 KW |
4916 | 2003-06-17 Kris Warkentin <[email protected]> |
4917 | ||
4918 | * nto-tdep.c (nto_map_arch_to_cputype): Recognize "powerpc". | |
4919 | (nto_find_and_open_solib): Likewise. | |
4920 | (nto_init_solib_absolute_prefix): Likewise. | |
4921 | (_initialize_nto_tdep): Fix indentation. | |
4922 | ||
89929b45 KW |
4923 | 2003-06-17 Kris Warkentin <[email protected]> |
4924 | ||
4925 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR. | |
4926 | ||
46019f27 KW |
4927 | 2003-06-17 Kris Warkentin <[email protected]> |
4928 | ||
4929 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using. | |
4930 | ||
1a38736e JB |
4931 | 2003-06-17 Jim Blandy <[email protected]> |
4932 | ||
4933 | * ppc-linux-tdep.c: "Linux" -> "GNU/Linux" | |
4934 | ||
3605c34a TR |
4935 | 2003-06-16 Theodore A. Roth <[email protected]> |
4936 | ||
4937 | * avr-tdep.c (avr_extract_return_value): New function. | |
4938 | (avr_gdbarch_init): Set extract_return_value method. | |
4939 | ||
870b3035 AC |
4940 | 2003-06-16 Andrew Cagney <[email protected]> |
4941 | ||
4942 | * frame.h (deprecated_get_next_frame_hack): Declare. | |
4943 | * frame.c (legacy_saved_regs_prev_register): Only require | |
4944 | DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that | |
4945 | there are always saved regs. | |
4946 | (deprecated_generic_get_saved_register): Do not require | |
4947 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
4948 | (legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN, | |
4949 | use frame ID unwind instead. | |
4950 | (deprecated_get_next_frame_hack): New function. | |
4951 | ||
63d47a7d CV |
4952 | 2003-06-16 Corinna Vinschen <[email protected]> |
4953 | ||
4954 | * h8300-tdep.c (h8300_push_arguments): Remove. Substitute by... | |
4955 | (h8300_push_dummy_call): ...this function. Some minor optimization. | |
4956 | (h8300_push_return_address): Remove. | |
4957 | (h8300_gdbarch_init): Remove calls to | |
4958 | set_gdbarch_deprecated_dummy_write_sp, | |
4959 | set_gdbarch_deprecated_push_arguments and | |
4960 | set_gdbarch_deprecated_push_return_address. | |
4961 | Add call to set_gdbarch_push_dummy_call. | |
4962 | ||
4bb1dc5e CV |
4963 | 2003-06-16 Corinna Vinschen <[email protected]> |
4964 | ||
4965 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define. | |
4966 | (E_PSEUDO_EXR_REGNUM): Ditto. | |
4967 | (h8300_is_argument_spill): Check for instructions moving argument | |
8ffd9b1b | 4968 | registers into safe registers. |
4bb1dc5e CV |
4969 | (h8300_skip_prologue): Check for stm instruction to push registers |
4970 | used for register variables onto stack. | |
4971 | (gdb_print_insn_h8300): Remove. | |
4972 | (h8300_examine_prologue): Add a comment. | |
4973 | (h8300_register_name): Take pseudo registers into account. | |
4974 | (h8300s_register_name): Ditto. | |
4975 | (h8300sx_register_name): Ditto. | |
4976 | (h8300_print_register): Ditto. | |
4977 | (h8300_print_registers_info): Define "nice" printing order. | |
4978 | (h8300_saved_pc_after_call): Take pseudo registers into account. | |
4979 | (h8300_register_type): Ditto. Return type used for remote connection | |
4980 | when requesting real CCR or EXR register, return actual type when | |
4981 | requesting pseudo CCR or EXR. | |
4982 | (h8300_pseudo_register_read): New function. | |
4983 | (h8300_pseudo_register_write): Ditto. | |
4984 | (h8300_dbg_reg_to_regnum): Ditto. | |
4985 | (h8300s_dbg_reg_to_regnum): Ditto. | |
4986 | (h8300_gdbarch_init): Call set_gdbarch_num_pseudo_regs, | |
4987 | set_gdbarch_ecoff_reg_to_regnum, set_gdbarch_dwarf_reg_to_regnum, | |
4988 | set_gdbarch_dwarf2_reg_to_regnum, set_gdbarch_stab_reg_to_regnum and | |
4989 | set_gdbarch_print_insn architecture dependent. | |
4990 | Call set_gdbarch_pseudo_register_read and | |
4991 | set_gdbarch_pseudo_register_write. | |
4992 | (_initialize_h8300_tdep): Remove assignment to deprecated_tm_print_insn. | |
4993 | ||
a59fe496 AC |
4994 | 2003-06-16 Andrew Cagney <[email protected]> |
4995 | ||
4996 | * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate. | |
4997 | * gdbarch.h, gdbarch.c: Re-generate. | |
4998 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4999 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5000 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5001 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
5002 | * mips-tdep.c (mips_gdbarch_init): Update. | |
5003 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5004 | * cris-tdep.c (cris_gdbarch_init): Update. | |
5005 | * infcall.c (call_function_by_hand): Update. | |
5006 | * ia64-tdep.c (ia64_push_arguments): Update comment. | |
5007 | * frame.c (legacy_get_prev_frame): Do not assume | |
5008 | SAVE_DUMMY_FRAME_TOS_P. | |
5009 | * dummy-frame.c (find_dummy_frame): Update comment. | |
5010 | ||
6f4e5a41 AC |
5011 | 2003-06-16 Andrew Cagney <[email protected]> |
5012 | ||
5013 | * regcache.c (do_cooked_read): Do not use register_valid_p. | |
5014 | ||
72fab697 TR |
5015 | 2003-06-15 Theodore A. Roth <[email protected]> |
5016 | ||
5017 | * avr-tdep.c (avr_register_type): Remove a blank line. | |
5018 | (avr_scan_prologue): Correct some comments. | |
5019 | ||
e3d8b004 TR |
5020 | 2003-06-15 Theodore A. Roth <[email protected]> |
5021 | ||
5022 | * avr-tdep.c (avr_scan_prologue): Update comment describing the various | |
5023 | prologue types. | |
8ffd9b1b | 5024 | Properly scan prologues generated by gcc with the -mcall-prologues |
e3d8b004 TR |
5025 | option. |
5026 | Add code to scan -mcall-prologues for mega devices. | |
5027 | ||
866b76ea TR |
5028 | 2003-06-15 Theodore A. Roth <[email protected]> |
5029 | ||
5030 | * avr-tdep.c (avr_register_byte): Delete function. | |
5031 | (avr_register_raw_size): Delete function. | |
5032 | (avr_register_virtual_size): Delete function. | |
5033 | (avr_register_virtual_type): Delete function. | |
5034 | (avr_register_type): New function. | |
5035 | (avr_address_to_pointer): Remove unused code. | |
5036 | (avr_read_fp): Need to read FP as two separate bytes due to change to | |
5037 | avr_register_type() usage. | |
5038 | (avr_gdbarch_init): Don't set deprecated_register_size. | |
5039 | Don't set deprecated_register_bytes. | |
5040 | Don't set deprecated_register_byte. | |
5041 | Don't set deprecated_register_raw_size. | |
5042 | Don't set deprecated_max_register_raw_size. | |
5043 | Don't set deprecated_register_virtual_size. | |
5044 | Don't set deprecated_max_register_virtual_size. | |
5045 | Don't set deprecated_register_virtual_type. | |
5046 | Set register_type method. | |
5047 | ||
3993f6b1 DJ |
5048 | 2003-06-15 Daniel Jacobowitz <[email protected]> |
5049 | ||
5050 | * Makefile.in (linux-nat.o): Add rule. | |
5051 | * linux-nat.c: New file. | |
5052 | * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define. | |
5053 | (CHILD_INSERT_VFORK_CATCHPOINT): Define. | |
5054 | (CHILD_INSERT_EXEC_CATCHPOINT): Define. | |
5055 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o. | |
5056 | * config/arm/linux.mh (NATDEPFILES): Likewise. | |
5057 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
5058 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
5059 | * config/ia64/linux.mh (NATDEPFILES): Likewise. | |
5060 | * config/m68k/linux.mh (NATDEPFILES): Likewise. | |
5061 | * config/mips/linux.mh (NATDEPFILES): Likewise. | |
5062 | * config/powerpc/linux.mh (NATDEPFILES): Likewise. | |
5063 | * config/s390/s390.mh (NATDEPFILES): Likewise. | |
5064 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
5065 | ||
786a90bb MK |
5066 | 2003-06-15 Mark Kettenis <[email protected]> |
5067 | ||
5068 | * i387-tdep.c: Reorder includes, fix some whitespace issues and | |
5069 | replace out-of-date comment. | |
5070 | ||
3bd3f01e AC |
5071 | 2003-06-15 Andrew Cagney <[email protected]> |
5072 | ||
5073 | * rdi-share/host.h (Fail): Change to a varargs function. | |
5074 | * remote-rdi.c (Fail): Update. | |
8ffd9b1b | 5075 | |
de5b9bb9 MK |
5076 | 2003-06-15 Mark Kettenis <[email protected]> |
5077 | ||
5078 | * i386-tdep.c (i386_next_regnum): Fix bounds checking. | |
5079 | (i386_convert_register_p, i386_register_to_value, | |
5080 | i386_register_from_value): Handle types longer than 8 bytes. | |
5081 | ||
d532c08f MK |
5082 | 2003-06-15 Mark Kettenis <[email protected]> |
5083 | ||
5084 | * i386-tdep.c (i386_register_to_value, i386_value_to_register): | |
5085 | Move floating-point code to new function in i387-tdep.c. | |
5086 | * i387-tdep.c (i387_register_to_value, i387_value_to_register): | |
5087 | New functions containing code moved here from i386-tdep.c. | |
5088 | * i387-tdep.h: Add opaque declaration for `struct type'. | |
5089 | (i387_register_to_value, i387_value_to_register): New prototypes. | |
5090 | * x86-64-tdep.c (x86_64_convert_register_p): New function. | |
5091 | (x86_64_init_abi): Set convert_register_p, register_to_value and | |
5092 | value_to_register here. | |
8ffd9b1b | 5093 | |
42c466d7 AC |
5094 | 2003-06-14 Andrew Cagney <[email protected]> |
5095 | ||
5096 | * mips-tdep.c (mips_register_to_value): Make static. | |
5097 | (mips_value_to_register): Make static. | |
5098 | * i386-tdep.c (i386_fetch_pointer_argument): Make static. | |
5099 | * ia64-tdep.c (ia64_register_raw_size): Make static. | |
5100 | (ia64_register_virtual_size): Make static. | |
5101 | (ia64_register_byte): Make static. | |
5102 | * i387-tdep.c: Include "i387-tdep.h". | |
5103 | (print_387_control_word): Delete function. | |
5104 | (print_387_status_word): Delete function. | |
5105 | (print_387_status_bits): Delete function. | |
5106 | (print_387_control_bits): Delete function. | |
5107 | * Makefile.in (i387-tdep.o): Update dependencies. | |
5108 | * rdi-share/host.h (Fail): Declare. | |
5109 | * remote-rdi.c (Fail): Update to match declaration. | |
5110 | ||
2a9cda49 AC |
5111 | 2003-06-14 Andrew Cagney <[email protected]> |
5112 | ||
5113 | * config/mips/embedl64.mt (TDEPFILES): Delete "remote-array.o". | |
5114 | * config/mips/embedl.mt (TDEPFILES): Delete "remote-array.o". | |
5115 | * config/mips/embed64.mt (TDEPFILES): Delete "remote-array.o". | |
5116 | * config/djgpp/fnchange.lst: Delete "remote-array.c". | |
5117 | * README: Delete reference to remote-array. | |
5118 | * Makefile.in (ALLDEPFILES): Remove "remote-array.c". | |
5119 | (remote-array.o): Delete target. | |
5120 | * config/mips/embed.mt (TDEPFILES): Delete "remote-array.o". | |
5121 | * remote-array.c: Delete file. | |
5122 | ||
ff2e87ac AC |
5123 | 2003-06-14 Andrew Cagney <[email protected]> |
5124 | Mark Kettenis <[email protected]> | |
5125 | ||
5126 | * gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter. | |
5127 | (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace raw buffer | |
5128 | parameter with "frame". | |
5129 | * gdbarch.h, gdbarch.c: Re-generate. | |
5130 | * frame.h (put_frame_register): Declare. | |
5131 | * frame.c (put_frame_register): New function. | |
5132 | * arch-utils.c (legacy_convert_register_p): Add "type" parameter. | |
5133 | (legacy_register_to_value): Rewrite, use "frame" to get the | |
5134 | register value. | |
5135 | (legacy_value_to_register): Rewrite, use "frame" to find the | |
5136 | register's location before storing. | |
5137 | * arch-utils.h (legacy_convert_register_p): Update. | |
5138 | (legacy_register_to_value, legacy_value_to_register): Update. | |
5139 | * findvar.c (value_from_register): Rewrite, eliminate use of | |
5140 | REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass | |
5141 | "frame" to REGISTER_TO_VALUE. | |
5142 | * valops.c (value_assign): Move the CONVERT_REGISTER code to the | |
5143 | lval_reg_frame_relative + lval_register branch of the switch. Do | |
5144 | not use REGISTER_CONVERT_FROM_TYPE. Use put_frame_register. | |
5145 | * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM, | |
5146 | I386_EDI_REGNUM): New defines. | |
5147 | (i386_next_regnum, i386_convert_register_p, | |
5148 | i386_register_to_value, i386_value_to_register): New functions. | |
5149 | (i386_register_convertible, i386_register_convert_to_virtual, | |
5150 | i386_convert_to_raw): Remove functions. | |
5151 | (i386_gdbarch_init): Set convert_register_p, register_to_value and | |
5152 | value_to_register instead of register_convertible, | |
5153 | register_convert_to_virtual and register_convert_to_raw. | |
5154 | * mips-tdep.c (mips_convert_register_p): New function. | |
5155 | (mips_value_to_register): Replace mips_register_convert_from_type. | |
5156 | (mips_register_to_value): Replace mips_register_convert_to_type. | |
5157 | (mips_gdbarch_init): Set conver_register_p, value_to_register and | |
5158 | register_to_value. | |
5159 | * alpha-tdep.c (alpha_convert_register_p): Update. | |
5160 | (alpha_value_to_register): Update, store the register. | |
5161 | (alpha_register_to_value): Update, fetch the register. | |
5162 | ||
98be1e77 TR |
5163 | 2003-06-14 Theodore A. Roth <[email protected]> |
5164 | ||
5165 | * avr-tdep.c (avr_remote_translate_xfer_address): Delete function. | |
5166 | (avr_gdbarch_init): Remove avr_call_dummy_words variable. | |
5167 | Don't set deprecated_call_dummy_words. | |
5168 | Remove commented out set_gdbarch_believe_pcc_promotion() call. | |
5169 | Don't set remote_translate_xfer_address. | |
5170 | (avr_io_reg_read_command): Remove commented out debug printf. | |
5171 | Wrap a long line. | |
5172 | ||
57bc6122 TR |
5173 | 2003-06-14 Theodore A. Roth <[email protected]> |
5174 | ||
5175 | * avr-tdep.c (avr_scan_prologue): Fix to avoid a buffer over run which | |
5176 | causes gdb to seg fault. | |
5177 | ||
eb01fc62 DJ |
5178 | 2003-06-14 Daniel Jacobowitz <[email protected]> |
5179 | ||
5180 | * sparc-nat.c (fetch_inferior_registers): Correct | |
5181 | a reference to "registers". | |
5182 | ||
3b3e6bee DJ |
5183 | 2003-06-14 Jeroen Dekkers <[email protected]> |
5184 | ||
5185 | * Makefile.in (exc_request_U_h): Define | |
5186 | (exc_request_S_h): Likewise. | |
5187 | (msg_reply_S_h): Likewise. | |
5188 | (msg_U_h): Likewise. | |
5189 | (notify_S_h): Likewise. | |
5190 | (process_reply_S_h): Likewise. | |
5191 | (gnu-nat.o): Depend on gdb_obstack_h | |
5192 | * gnu-nat.c: Include "gdb_obstack.h". | |
5193 | ||
b8de8283 AC |
5194 | 2003-06-13 Andrew Cagney <[email protected]> |
5195 | ||
5196 | * gdbarch.sh: Document what PUSH_DUMMY_CALL replaces. | |
5197 | * gdbarch.h, gdbarch.c: Re-generate. | |
8ffd9b1b | 5198 | |
f3be58bc AC |
5199 | 2003-06-13 Andrew Cagney <[email protected]> |
5200 | ||
5201 | * gdbarch.sh: Document what UNWIND_DUMMY_ID replaces. Clarify | |
5202 | when deprecated REGISTER macros can be deleted. | |
5203 | * gdbarch.h, gdbarch.c: Re-generate. | |
5204 | ||
4c0122c8 JB |
5205 | 2003-06-13 Jim Blandy <[email protected]> |
5206 | ||
5207 | * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC | |
5208 | Linux entry point symbols for _dl_debug_state, too. | |
5209 | ||
3e210248 AC |
5210 | 2003-06-13 Andrew Cagney <[email protected]> |
5211 | ||
5212 | * infcall.c (call_function_by_hand): When UNWIND_DUMMY_ID is | |
5213 | available, do not use the FP register, and always save the TOS. | |
5214 | * dummy-frame.c (dummy_frame_this_id): Do not assert | |
5215 | SAVE_DUMMY_FRAME_TOS. | |
5216 | * i386-tdep.c (i386_save_dummy_frame_tos): Delete function. | |
5217 | (i386_gdbarch_init): Do not set save_dummy_frame_tos. | |
5218 | (i386_push_dummy_call): Add 8 to the returned SP. | |
5219 | * frame.c (legacy_frame_p): Do not require SAVE_DUMMY_FRAME_TOS. | |
5220 | * d10v-tdep.c (d10v_unwind_dummy_id): Use d10v_unwind_sp. | |
5221 | (d10v_gdbarch_init): Do not set save_dummy_frame_tos. | |
5222 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos): Delete function. | |
5223 | (x86_64_push_dummy_call): Return "sp + 16". | |
5224 | (x86_64_init_abi): Do not set save_dummy_frame_tos. | |
5225 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
5226 | save_dummy_frame_tos. | |
5227 | ||
0b65af49 JB |
5228 | 2003-06-13 Jim Blandy <[email protected]> |
5229 | ||
5230 | * frv-tdep.c (frv_use_struct_convention): Delete static | |
5231 | declaration for function deleted in my change of 2003-06-12. | |
5232 | ||
4ea2465e TR |
5233 | 2003-06-13 Theodore A. Roth <[email protected]> |
5234 | ||
5235 | * avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit. | |
5236 | (avr_pointer_to_address): Shift code addrs left 1 bit. | |
5237 | (avr_convert_from_func_ptr_addr): Delete function since operation is | |
5238 | better handled by avr_address_to_pointer and avr_pointer_to_address. | |
5239 | (avr_gdbarch_init): Don't set convert_from_func_ptr_add method. | |
5240 | ||
1581182a MK |
5241 | 2003-06-13 Mark Kettenis <[email protected]> |
5242 | ||
5243 | From Kelley Cook <[email protected]>: | |
5244 | * configure.host: Accept i[34567]86 variants. | |
5245 | * configure.tgt: Likewise. | |
5246 | * nlm/configure.in: Likewise. | |
5247 | * nlm/configure: Regenerated. | |
5248 | ||
7aa1783e RE |
5249 | 2003-06-13 Richard Earnshaw <[email protected]> |
5250 | ||
5251 | * arm-tdep.c (solib-svr4.h): Dont' include it. | |
5252 | (arm_linux_svr4_fetch_link_map_offsets): Move to ... | |
5253 | * arm-linux-tdep.c: ... here. Make static. | |
5254 | (arm_linux_init_abi): Register it. | |
5255 | (solib-svr4.h): Include it. | |
5256 | * Makefile.in: Update dependencies. | |
5257 | * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete. | |
5258 | (arm_linux_svr4_fetch_link_map_offsets): Delete declaration. | |
5259 | ||
0261a0d0 CV |
5260 | 2003-06-13 Corinna Vinschen <[email protected]> |
5261 | ||
5262 | * h8300-tdep.c: Add definitions E_RET0_REGNUM and E_RET1_REGNUM to | |
5263 | indicate registers used for return values. | |
5264 | (struct frame_extra_info): Drop args_pointer and locals_pointer. | |
5265 | (h8300_examine_prologue): Remove initializing dropped frame_extra_info | |
5266 | members. | |
5267 | (h8300_init_extra_frame_info): Ditto. | |
5268 | (h8300_frame_locals_address): Removed. | |
5269 | (h8300_frame_args_address): Removed. | |
5270 | (h8300_extract_return_value): Use new regcache structure. Only care | |
5271 | for 16 bit CPUs. | |
5272 | (h8300h_extract_return_value): Same function for 32 bit CPUs. | |
5273 | (h8300_store_return_value): Use new regcache structure. Only care | |
5274 | for 16 bit CPUs. | |
5275 | (h8300h_store_return_value): Same function for 32 bit CPUs. | |
5276 | (h8300_store_struct_return): Removed. | |
5277 | (h8300_extract_struct_value_address): Use new regcache structure. | |
5278 | (h8300h_extract_struct_value_address): Removed. | |
5279 | (h8300_push_dummy_code): New function. | |
5280 | (h8300_gdbarch_init): Slightly rearranged to stress deprecated calls. | |
5281 | Remove call_dummy_words. Call set_gdbarch_extract_return_value and | |
5282 | set_gdbarch_store_return_value architecture dependent. | |
5283 | Call set_gdbarch_push_dummy_code and | |
5284 | set_gdbarch_extract_struct_value_address. | |
5285 | Remove calls to set_gdbarch_frame_args_address, | |
5286 | set_gdbarch_frame_locals_address, | |
5287 | set_gdbarch_deprecated_store_struct_return, | |
5288 | set_gdbarch_deprecated_extract_return_value, | |
5289 | set_gdbarch_deprecated_extract_struct_value_address, | |
5290 | set_gdbarch_deprecated_call_dummy_words and | |
5291 | set_gdbarch_deprecated_sizeof_call_dummy_words. | |
5292 | ||
055c394a CV |
5293 | 2003-06-13 Corinna Vinschen <[email protected]> |
5294 | ||
5295 | * h8300-tdep.c (h8300_register_byte): Remove. | |
5296 | (h8300h_register_byte): Remove. | |
5297 | (h8300_register_virtual_type): Remove. Substitute by... | |
5298 | (h8300_register_type): New function. | |
5299 | (h8300_extract_struct_value_address): Drop usage of h8300_register_byte. | |
5300 | (h8300h_extract_struct_value_address): Ditto. | |
5301 | (h8300_gdbarch_init): Drop calls to | |
5302 | set_gdbarch_deprecated_register_byte and | |
5303 | set_gdbarch_deprecated_register_virtual_type. | |
5304 | Add call to set_gdbarch_register_type. | |
5305 | ||
9c04cab7 AC |
5306 | 2003-06-13 Andrew Cagney <[email protected]> |
5307 | ||
5308 | * gdbarch.sh: Update comments on registers. | |
5309 | (deprecated_register_byte): Rename register_byte. | |
5310 | (deprecated_register_raw_size): Rename register_raw_size. | |
5311 | (deprecated_register_virtual_size): Rename register_virtual_size. | |
5312 | (deprecated_register_virtual_type): Rename register_virtual_type. | |
5313 | * gdbarch.h, gdbarch.c: Re-generate. | |
5314 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
5315 | * vax-tdep.c (vax_gdbarch_init): Update. | |
5316 | * v850-tdep.c (v850_gdbarch_init): Update. | |
5317 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
5318 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5319 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5320 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5321 | * ns32k-tdep.c: Update. | |
5322 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
5323 | * mips-tdep.c (mips_gdbarch_init): Update. | |
5324 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5325 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
5326 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5327 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5328 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
5329 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
5330 | * frv-tdep.c (frv_gdbarch_init): Update. | |
5331 | * cris-tdep.c (cris_gdbarch_init): Update. | |
5332 | * avr-tdep.c (avr_gdbarch_init): Update. | |
5333 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
5334 | * arm-tdep.c (arm_gdbarch_init): Update. | |
5335 | ||
b060cbea AC |
5336 | 2003-06-13 Andrew Cagney <[email protected]> |
5337 | ||
5338 | * mips-tdep.c (mips_gdbarch_init): Replace remaining instances of | |
5339 | mips_o32_use_struct_convention with always_use_struct_convention. | |
5340 | ||
0fc9922a DC |
5341 | 2003-06-12 David Carlton <[email protected]> |
5342 | ||
5343 | * cp-namespace.c (cp_set_block_scope): Comment out | |
5344 | processing_has_namespace_info branch. | |
5345 | ||
1fd35568 JB |
5346 | 2003-06-12 Jim Blandy <[email protected]> |
5347 | ||
f470a70a JB |
5348 | Recognize and skip 64-bit PowerPC Linux linkage functions. |
5349 | * ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct | |
5350 | insn_pattern, insns_match_pattern, d_field, ds_field): New | |
5351 | functions, macros, and types for working with PPC instructions. | |
5352 | (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN, | |
5353 | ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target, | |
5354 | ppc64_skip_trampoline_code): New functions, variables, and macros | |
5355 | for recognizing and skipping linkage functions. | |
5356 | (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and | |
5357 | ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI. | |
5358 | ||
49ff75ad JB |
5359 | * ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-area |
5360 | register offsets for both the 32- and 64-bit interfaces. | |
5361 | ||
bd918c83 JB |
5362 | Actually finish the job started by my change of 2003-05-29. |
5363 | * config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the | |
5364 | other #definition of this. | |
5365 | (ppc_linux_skip_trampoline_code): Remove declaration. | |
5366 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this | |
5367 | static. | |
5368 | (ppc_linux_init_abi): Register it as the skip_trampoline_code | |
5369 | method for GDBARCH. | |
5370 | ||
5371 | * config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This is | |
5372 | 'long' on ppc64-*-linux*. | |
5373 | ||
f8c59253 JB |
5374 | * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ |
5375 | isn't #defined, assume the register doesn't exist: act as if | |
5376 | tdep->ppc_mq_regnum were -1. | |
5377 | ||
8fbb30b1 JB |
5378 | * configure.host, configure.tgt: Add entries for |
5379 | powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and | |
5380 | powerpc/linux.mt. | |
5381 | * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: | |
5382 | New files. | |
5383 | ||
1fd35568 JB |
5384 | * arch-utils.c (always_use_struct_convention): New function. |
5385 | * arch-utils.h (always_use_struct_convention): New prototype. | |
5386 | * alpha-tdep.c (alpha_use_struct_convention): Delete. | |
5387 | (alpha_gdbarch_init): Register always_use_struct_convention, | |
5388 | instead of alpha_use_struct_convention. | |
5389 | * cris-tdep.c (cris_use_struct_convention): Delete. | |
5390 | (cris_gdbarch_init): Register always_use_struct_convention, | |
5391 | instead of cris_use_struct_convention. | |
5392 | * frv-tdep.c (frv_use_struct_convention): Delete. | |
5393 | (frv_gdbarch_init): Register always_use_struct_convention, | |
5394 | instead of frv_use_struct_convention. | |
5395 | * h8300-tdep.c (h8300_use_struct_convention): Delete. | |
5396 | (h8300_gdbarch_init): Register always_use_struct_convention, | |
5397 | instead of h8300_use_struct_convention. | |
e3305dd9 | 5398 | * mips-tdep.c (mips_o32_use_struct_convention): Delete. |
1fd35568 JB |
5399 | (mips_o32_gdbarch_init): Register always_use_struct_convention, |
5400 | instead of mips_o32_use_struct_convention. | |
5401 | ||
e14e6e9c AC |
5402 | 2003-06-12 Andrew Cagney <[email protected]> |
5403 | ||
5404 | * wince.c: Include "mips-tdep.h". | |
5405 | * mips-tdep.h (mips_next_pc): Declare. | |
5406 | * mcore-tdep.c: Make more local functions static. | |
5407 | * Makefile.in (wince.o): Update dependencies. | |
5408 | ||
2335f48e DC |
5409 | 2003-06-12 David Carlton <[email protected]> |
5410 | ||
5411 | * symtab.c (lookup_symbol_aux_minsyms): Replace | |
5412 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
5413 | (find_pc_sect_line, search_symbols, rbreak_command): Ditto. | |
5414 | (COMPLETION_LIST_ADD_SYMBOL): Rewrite in terms of | |
5415 | SYMBOL_NATURAL_NAME. | |
5416 | ||
f70a7d61 AS |
5417 | 2003-06-12 Andreas Schwab <[email protected]> |
5418 | ||
5419 | * Makefile.in (tuiDisassem.o): Update dependencies. | |
5420 | ||
b6429628 DC |
5421 | 2003-06-12 David Carlton <[email protected]> |
5422 | ||
5423 | * symtab.h: Delete declaration of make_symbol_overload_list. | |
5424 | Add declaration of lookup_partial_symbol. | |
5425 | * symtab.c (remove_params): Move to cp-support.c. | |
5426 | (overload_list_add_symbol, make_symbol_overload_list) | |
5427 | (sym_return_val_size, sym_return_val_index): Ditto. | |
5428 | (lookup_partial_symbol): Make extern. | |
5429 | * cp-support.h: Add declaration of make_symbol_overload_list. | |
5430 | * cp-support.c: Include dictionary.h, objfiles.h, frame.h, | |
5431 | symtab.h, and block.h. | |
5432 | (remove_params): Move here from symtab.c. | |
5433 | (overload_list_add_symbol, make_symbol_overload_list) | |
5434 | (sym_return_val_size, sym_return_val_index): Ditto. | |
5435 | * valops.c: Include cp-support.h. | |
5436 | * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h, | |
5437 | frame_h, and block_h. | |
5438 | (valops.o): Depend on cp_support_h. | |
5439 | ||
084edea5 CV |
5440 | 2003-06-12 Corinna Vinschen <[email protected]> |
5441 | ||
5442 | * h8300-tdep.c: Add H8SX registers. Drop E_NUM_REGS entirely, | |
5443 | substitute by NUM_REGS throughout. | |
5444 | (h8300_register_name): Only care for H8/300 and H8/300H registers. | |
5445 | (h8300s_register_name): New function for H8S registers. | |
5446 | (h8300sx_register_name): Ditto for H8SX registers. | |
5447 | (h8300_print_register): Revise register printing, avoid depending | |
5448 | on 32 bit long. | |
0261a0d0 | 5449 | (h8300_register_byte): Only care for H8/300 registers. |
084edea5 CV |
5450 | (h8300h_register_byte): New function for any other architecture. |
5451 | (h8300_register_raw_size): Remove. | |
5452 | (h8300_register_virtual_type): Revise to return actually useful | |
5453 | type. | |
5454 | (h8300_extract_struct_value_address): Only care for H8/300 registers. | |
5455 | (h8300h_extract_struct_value_address): New function for any other | |
5456 | architecture. | |
5457 | (h8300_gdbarch_init): Add h8300sxn. Call set_gdbarch_num_regs, | |
5458 | set_gdbarch_register_name, set_gdbarch_register_byte, | |
5459 | set_gdbarch_ptr_bit and set_gdbarch_addr_bit architecture dependent. | |
5460 | Remove calls to set_gdbarch_deprecated_register_size, | |
5461 | set_gdbarch_deprecated_register_bytes, set_gdbarch_register_raw_size, | |
5462 | set_gdbarch_deprecated_max_register_raw_size, | |
5463 | set_gdbarch_register_virtual_size and | |
5464 | set_gdbarch_deprecated_max_register_virtual_size entirely. | |
5465 | Call set_gdbarch_long_long_bit, set_gdbarch_double_bit and | |
5466 | set_gdbarch_long_double_bit. | |
5467 | ||
06194148 JJ |
5468 | 2003-06-11 Jeff Johnston <[email protected]> |
5469 | ||
8ffd9b1b AJ |
5470 | * doublest.c (convert_doublest_to_floatformat): When dealing |
5471 | with the implied integer bit, only alter mant_bits if we are | |
06194148 JJ |
5472 | processing a full 32 bits of mantissa. |
5473 | ||
de4f826b DC |
5474 | 2003-06-11 David Carlton <[email protected]> |
5475 | ||
5476 | * dictionary.h: New. | |
5477 | * dictionary.c: New. | |
5478 | * block.h: Add opaque declaration for struct dictionary. | |
5479 | (struct block): Add 'dict' member; delete 'hashtable', 'nsyms', | |
5480 | 'sym' members. | |
5481 | (BLOCK_DICT): New macro. | |
5482 | Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM, | |
5483 | BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE, | |
5484 | BLOCK_SHOULD_SORT. | |
5485 | (ALL_BLOCK_SYMBOLS): Update definition. | |
5486 | * Makefile.in (SFILES): Add dictionary.c. | |
5487 | (dictionary_h): New. | |
5488 | (COMMON_OBS): Add dictionary.o. | |
5489 | (dictionary.o): New. | |
5490 | (ada-lang.o): Depend on dictionary_h. | |
5491 | (buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o) | |
5492 | (stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o) | |
5493 | (mi-cmd-stack.o): Ditto. | |
5494 | (gdbtk-cmds.o): Update dependencies. | |
5495 | (gdbtk-stack.o): Ditto. | |
5496 | * ada-lang.c: Include dictionary.h. | |
5497 | (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS. | |
5498 | (fill_in_ada_prototype, debug_print_block): Ditto. | |
5499 | (ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace | |
5500 | explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable | |
5501 | 'is_sorted'. | |
5502 | * mdebugread.c: Include dictionary.h. | |
5503 | (struct parse_stack): Delete 'maxsyms' member. | |
5504 | (parse_symbol): Update calls to new_block. Delete calls to | |
5505 | shrink_block. Use dictionary methods. | |
5506 | (psymtab_to_symtab_1): Delete calls to sort_symtab_syms. | |
5507 | Update calls to new_symtab. Don't maintain maxsyms data. | |
5508 | (mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS. | |
5509 | (add_symbol): Just call dict_add_symbol. | |
5510 | (new_symtab): Delete 'maxsyms' argument. | |
5511 | (new_symtab): Update calls to new_block. | |
5512 | (new_block): Delete 'maxsyms' argument; add 'function' argument. | |
5513 | (shrink_block): Delete function. | |
5514 | (fixup_sigtramp): Update call to new_block. Add symbol via | |
5515 | dict_add_symbol. | |
5516 | * jv-lang.c: Include dictionary.h. | |
5517 | (get_java_class_symtab): Set the BLOCK_DICT of the blocks | |
5518 | appropriately. Set class_symtab->free_func. Make sure the | |
5519 | blockvector is big enough to hold two blocks. | |
5520 | (add_class_symtab_symbol): Use dictionary methods. | |
5521 | (free_class_block): New function. | |
5522 | (type_from_class): Replace explicit iteration by | |
5523 | ALL_BLOCK_SYMBOLS. | |
5524 | * symtab.h (struct symtab): Replace 'free_ptr' method by | |
5525 | 'free_func'. | |
5526 | * dwarf2read.c (psymtab_to_symtab_1): Delete call to | |
5527 | sort_symtab_syms. | |
5528 | * dwarfread.c (psymtab_to_symtab_1): Delete call to | |
5529 | sort_symtab_syms. | |
5530 | * coffread.c (coff_symfile_read): Delete call to sort_symtab_syms. | |
5531 | Include dictionary.h. | |
5532 | (patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS. | |
5533 | * dbxread.c (dbx_psymtab_to_symtab_1): Delete call to | |
5534 | sort_symtab_syms. | |
5535 | * objfiles.c: Include dictionary.h. | |
5536 | (objfile_relocate): Update use of ALL_BLOCK_SYMBOLS. | |
5537 | * buildsym.c: Include dictionary.h. | |
5538 | (finish_block): Use dictionary methods. | |
5539 | (end_symtab): Set free_func to NULL, not free_ptr. | |
5540 | * tracepoint.c: Include dictionary.h. | |
5541 | (add_local_symbols): Update use of ALL_BLOCK_SYMBOLS. | |
5542 | (scope_info): Ditto. | |
5543 | * stack.c: Include dictionary.h. | |
5544 | (print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS. | |
5545 | (print_block_frame_labels, print_frame_arg_vars) | |
5546 | (print_frame_args): Ditto. | |
5547 | * symmisc.c (free_symtab_block): Use dictionary methods. | |
5548 | (dump_symtab): Ditto. | |
5549 | (free_symtab): Replace use of 'free_ptr' by 'free_func'. | |
5550 | Include dictionary.h. | |
5551 | * symfile.h: Delete declarations of sort_block_syms, | |
5552 | sort_symtab_syms. | |
5553 | * symfile.c (sort_block_syms): Delete. | |
5554 | (sort_symtab_syms): Delete. | |
5555 | * symtab.c: Include dictionary.h. | |
5556 | (lookup_block_symbol): Use dictionary iterators. | |
5557 | (find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS. | |
5558 | (search_symbols, make_symbol_completion_list): Ditto. | |
5559 | (make_symbol_overload_list): Ditto. | |
5560 | * valops.c (value_of_local): Use dict_empty. | |
5561 | Include dictionary.h. | |
5562 | ||
a31f978c JB |
5563 | 2003-06-11 J. Brobecker <[email protected]> |
5564 | ||
5565 | * win32-nat.c (solib_symbols_add): Fix a small compilation error. | |
5566 | ||
526e70c0 DC |
5567 | 2003-06-11 David Carlton <[email protected]> |
5568 | ||
5569 | * block.h (BLOCK_SHOULD_SORT): Delete. | |
5570 | * symtab.c (lookup_block_symbol): Don't worry about sorted linear | |
5571 | blocks. | |
5572 | * ada-lang.c (ada_add_block_symbols): Ditto. | |
5573 | * symfile.c (sort_block_syms): Delete. | |
5574 | (sort_symtab_syms): Ditto. | |
5575 | * symfile.h: Delete sort_symtabs_syms and sort_block_syms | |
5576 | declarations. | |
5577 | * coffread.c (coff_symfile_read): Don't call sort_symtab_syms. | |
5578 | * dbxread.c (dbx_psymtab_to_symtab_1): Ditto. | |
5579 | * dwarf2read.c (psymtab_to_symtab_1): Ditto. | |
5580 | * dwarfread.c (psymtab_to_symtab_1): Ditto. | |
5581 | * hpread.c (hpread_psymtab_to_symtab_1): Ditto. | |
5582 | * mdebugread.c (psymtab_to_symtab_1): Ditto. | |
5583 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto. | |
5584 | ||
33c08150 JJ |
5585 | 2003-06-11 Jeff Johnston <[email protected]> |
5586 | ||
8ffd9b1b | 5587 | * ia64-tdep.c (ia64_gdbarch_init): Set number of long double |
33c08150 JJ |
5588 | bits to 128. |
5589 | ||
781a750d AC |
5590 | 2003-06-11 Andrew Cagney <[email protected]> |
5591 | ||
5592 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate | |
5593 | REGISTER_CONVERTIBLE. | |
5594 | (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same. | |
5595 | (DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant. | |
5596 | * gdbarch.h, gdbarch.c: Re-generate. | |
5597 | * arch-utils.h (deprecated_register_convertible_not): Rename | |
5598 | generic_register_convertible_not. | |
5599 | * arch-utils.c (deprecated_register_convertible_not): Rename | |
5600 | generic_register_convertible. | |
5601 | (legacy_convert_register_p, legacy_register_to_value): Update. | |
5602 | * sh-tdep.c (sh64_push_arguments): Update. | |
5603 | * m68klinux-tdep.c (m68k_linux_extract_return_value): Update. | |
5604 | * config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update. | |
5605 | * m68klinux-tdep.c (m68k_linux_store_return_value): Update. | |
5606 | * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update. | |
5607 | * arch-utils.c (legacy_value_to_register): Update. | |
5608 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5609 | (rs6000_register_convert_to_raw): Make parameter "from" const. | |
5610 | * mips-tdep.c (mips_gdbarch_init): Update. | |
5611 | (mips_register_convert_to_raw): Make parameter"virt_buf" const. | |
5612 | * infcmd.c (default_print_registers_info): Update. | |
5613 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5614 | (ia64_register_convert_to_raw): Make parameter "from" const. | |
5615 | * i386-tdep.c (i386_gdbarch_init): Update. | |
5616 | (i386_register_convert_to_raw): Update. | |
5617 | ||
cd90e54f AC |
5618 | 2003-06-11 Andrew Cagney <[email protected]> |
5619 | ||
5620 | * remote-fileio.c: Include "remote-fileio.h". | |
5621 | * Makefile.in (remote-fileio.o): Update dependencies. | |
5622 | (remote_fileio_h): Fix typo. | |
5623 | ||
a78f21af AC |
5624 | 2003-06-11 Andrew Cagney <[email protected]> |
5625 | ||
5626 | * xstormy16-tdep.c (xstormy16_push_return_address): Make static. | |
5627 | (xstormy16_save_dummy_frame_tos): Make static. | |
5628 | (_initialize_xstormy16_tdep): Add declaration. | |
5629 | * vax-tdep.c (_initialize_vax_tdep): Add declaration. | |
5630 | * v850-tdep.c: Make local functions static. | |
5631 | (_initialize_v850_tdep): Add declaration. | |
5632 | * sparc-tdep.c: Make local functions static. | |
5633 | (_initialize_sparc_tdep): Add declaration. | |
5634 | * sh-tdep.c: Make local functions static. | |
5635 | (_initialize_sh_tdep): Add declaration. | |
5636 | * sh3-rom.c (_initialize_sh3_rom): Add declaration. | |
5637 | * s390-tdep.c: Make local functions static. | |
5638 | (_initialize_s390_tdep): Add declaration. | |
5639 | * dbxread.c (find_stab_function_addr): Make static. | |
5640 | * ppc-bdm.c (_initialize_bdm_ppc): Add declaration. | |
5641 | * ocd.c (_initialize_remote_ocd): Add declaration. | |
5642 | * dink32-rom.c (_initialize_dink32_rom): Add declaration. | |
5643 | * ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration. | |
5644 | * ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration. | |
5645 | * ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration. | |
5646 | * mips-tdep.c (_initialize_mips_tdep): Add declaration. | |
5647 | * remote-array.c (_initialize_array): Add declaration. | |
5648 | (_initialize_remote_monitors): Add declaration. | |
5649 | * remote-mips.c: Make local functions static. | |
5650 | (_initialize_remote_mips): Add declaration. | |
5651 | * mcore-tdep.c: Make all local functions static. | |
5652 | (_initialize_mcore_tdep): Add declaration. | |
5653 | * dbug-rom.c (_initialize_dbug_rom): Add declaration. | |
5654 | * abug-rom.c (_initialize_abug_rom): Add declaration. | |
5655 | * rom68k-rom.c (_initialize_rom68k): Add declaration. | |
5656 | * cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration. | |
5657 | * m68k-tdep.c (_initialize_m68k_tdep): Add declaration. | |
5658 | * remote-est.c (_initialize_est): Add declaration. | |
5659 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration. | |
5660 | (m68hc11_call_dummy_address): Make static. | |
5661 | * ia64-tdep.c: Make local functions static. | |
5662 | (_initialize_ia64_tdep): Add declaration. | |
5663 | * solib-legacy.c (_initialize_svr4_lm): Add declaration. | |
5664 | * monitor.c (monitor_wait_filter): Make static. | |
5665 | (_initialize_remote_monitors): Add declaration. | |
5666 | * remote-hms.c (_initialize_remote_hms): Add declaration. | |
5667 | * remote-e7000.c (fetch_regs_from_dump): Make static. | |
5668 | (expect_n): Make static. | |
5669 | (_initialize_remote_e7000): Add declaration. | |
5670 | * ser-e7kpc.c: Always include "defs.h". | |
5671 | (_initialize_ser_e7000pc): Add declaration. | |
5672 | * h8300-tdep.c (_initialize_h8300_tdep): Add declaration. | |
5673 | * cris-tdep.c: Make all but one function static. | |
5674 | (_initialize_cris_tdep): Add declaration. | |
5675 | * solib-svr4.c (_initialize_svr4_solib): Add declaration. | |
5676 | * solib.c (update_solib_list): Make static. | |
5677 | (_initialize_solib): Add declaration. | |
5678 | * avr-tdep.c (avr_breakpoint_from_pc): Make static. | |
5679 | (_initialize_avr_tdep): Add declaration. | |
5680 | * remote-rdi.c (voiddummy): Make static. | |
5681 | (_initialize_remote_rdi): Add declaration. | |
5682 | * arm-tdep.c (_initialize_arm_tdep): Add declaration. | |
5683 | * remote-rdp.c (send_rdp): Make static. | |
5684 | (_initialize_remote_rdp): Add declaration. | |
5685 | * alpha-tdep.c (_initialize_alpha_tdep): Add declaration. | |
5686 | ||
cbcdb1f5 CV |
5687 | 2003-06-11 Corinna Vinschen <[email protected]> |
5688 | ||
5689 | * remote-fileio.c: Make ari happy. | |
5690 | ||
a191ea8d JB |
5691 | 2003-06-10 J. Brobecker <[email protected]> |
5692 | ||
5693 | * rs6000-nat.c (child_xfer_memory): Compute the right address when | |
5694 | fetching the trailing bytes of the buffer we are about to write. | |
5695 | ||
0ef75e11 AC |
5696 | 2003-06-10 Andrew Cagney <[email protected]> |
5697 | ||
5698 | * remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H. | |
5699 | * Makefile.in (remote-fileio.o): Update dependencies. | |
5700 | * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not | |
5701 | include <setjmp.h>, or <sys/types.h> conditional on USG. | |
5702 | (remote_fio_jmp_buf): Delete global variable. | |
5703 | ||
449092f6 | 5704 | 2003-06-10 Corinna Vinschen <[email protected]> |
559fa028 | 5705 | Martin M. Hunt <[email protected]> |
449092f6 | 5706 | |
559fa028 AC |
5707 | * Makefile.in (REMOTE_OBS): Add remote-fileio.o |
5708 | (SFILES): Add remote-fileio.c. | |
5709 | Add dependencies for building remote-fileio.o. Add remote-fileio.h to | |
5710 | dependencies for building remote.o. | |
449092f6 CV |
5711 | * remote-fileio.c: New file implementing the remote File-I/O protocol. |
5712 | * remote-fileio.h: New header file defining remote File-I/O interface. | |
8ffd9b1b | 5713 | * remote.c (remote_write_bytes, remote_read_bytes): Remove |
449092f6 CV |
5714 | static storage class. |
5715 | (remote_wait, remote_async_wait): Call remote_fileio_request() on | |
5716 | 'F' packet. | |
5717 | (_initialize_remote): Call initialize_remote_fileio(). | |
5718 | * remote.h: Declare remote_write_bytes() and remote_read_bytes(). | |
449092f6 CV |
5719 | * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin. |
5720 | * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin. | |
5721 | (captured_main): Initialize new ui_files. | |
5722 | * ui-file.c: Add read and fgets input functions. | |
5723 | (ui_file_new): set ui_file_fputs and ui_file_read to null functions. | |
5724 | (null_file_read): New function. | |
5725 | (ui_file_read): New function. | |
5726 | (set_ui_file_read): New function. | |
5727 | (stdio_file_read): New function. | |
5728 | * ui-file.h: New type ui_file_read_ftype. | |
5729 | (set_ui_file_read): Declare. | |
5730 | (ui_file_read): Declare. | |
5731 | ||
248de703 AC |
5732 | 2003-06-09 Andrew Cagney <[email protected]> |
5733 | ||
5734 | * frame.h (deprecated_unwind_get_saved_register): Rename | |
5735 | generic_unwind_get_saved_register, update comments. | |
5736 | * mips-tdep.c (mips_get_saved_register): Update. | |
5737 | * frame.c (deprecated_unwind_get_saved_register): Update. | |
5738 | ||
0ed8aa57 AC |
5739 | 2003-06-09 Andrew Cagney <[email protected]> |
5740 | ||
5741 | * vax-tdep.c (vax_frame_locals_address): Delete function. | |
5742 | (vax_gdbarch_init): Do not set frame_locals_address. | |
5743 | * m68hc11-tdep.c (m68hc11_frame_locals_address): Delete function. | |
5744 | (m68hc11_gdbarch_init): Do not set frame_locals_address. | |
5745 | * s390-tdep.c (s390_frame_args_address): Delete function. | |
5746 | (s390_gdbarch_init): Do not set frame_args_address or | |
5747 | frame_locals_address. | |
5748 | * ns32k-tdep.c (ns32k_frame_locals_address): Delete. | |
5749 | (ns32k_gdbarch_init): Do not set frame_locals_address. | |
5750 | * hppa-tdep.c (hppa_frame_args_address): Delete function. | |
5751 | (hppa_frame_locals_address): Delete function. | |
5752 | (hppa_gdbarch_init): Do not set frame_args_address, or | |
5753 | frame_locals_address. | |
5754 | * arm-tdep.c (arm_frame_args_address): Delete. | |
5755 | (arm_frame_locals_address): Delete. | |
5756 | (arm_gdbarch_init): Do not set frame_args_address, or | |
5757 | frame_locals_address. | |
5758 | ||
983a287a AC |
5759 | 2003-06-09 Andrew Cagney <[email protected]> |
5760 | ||
5761 | * gdbarch.sh (FRAME_NUM_ARGS): Change to function with predicate. | |
5762 | * gdbarch.h, gdbarch.c: Re-generate. | |
5763 | * arch-utils.h (frame_num_args_unknown): Delete both declarations. | |
5764 | * arch-utils.c (frame_num_args_unknown): Delete function. | |
5765 | * stack.c (print_args_stub): Use FRAME_NUM_ARGS_P. | |
5766 | (frame_info): Use FRAME_NUM_ARGS_P. | |
5767 | * arm-tdep.c (arm_frame_num_args): Delete function. | |
5768 | (arm_gdbarch_init): Do not set frame_num_args. | |
5769 | * config/pa/tm-hppa64.h (FRAME_NUM_ARGS): Delete. | |
5770 | * hppa-tdep.c (hppa_frame_num_args): Delete function. | |
5771 | (hppa_gdbarch_init): Do not set frame_num_args. | |
5772 | * config/sparc/tm-sparc.h (FRAME_NUM_ARGS): Delete. | |
5773 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
5774 | frame_num_args to default frame_num_args_unknown. | |
5775 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
5776 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
5777 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5778 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
5779 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5780 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
5781 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
5782 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
5783 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
5784 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5785 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
5786 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
5787 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
5788 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
5789 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
5790 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
5791 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
5792 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
5793 | ||
8d3b0994 AC |
5794 | 2003-06-09 Andrew Cagney <[email protected]> |
5795 | ||
5796 | * printcmd.c (print_frame_nameless_args): Moved to "stack.c". | |
5797 | (print_frame_args): Moved to "stack.c". | |
5798 | * stack.c: Include "gdb_assert.h". | |
5799 | (print_frame_nameless_args): Moved from "printcmd.c", made static. | |
5800 | (print_frame_args): Moved from "printcmd.c". | |
5801 | * frame.h (print_frame_args): Delete declaration. | |
5802 | * Makefile.in (stack.o): Update dependencies. | |
5803 | ||
25e3a86b AC |
5804 | 2003-06-08 Andrew Cagney <[email protected]> |
5805 | ||
5806 | * frame.c (get_prev_frame): Remove reference to | |
5807 | frame_args_address_correct in comments. | |
5808 | * frame-base.c (default_frame_args_address): Delete code | |
5809 | conditional on FRAME_ARGS_ADDRESS_CORRECT. | |
5810 | * vax-tdep.c (vax_frame_args_address_correct): Delete. | |
5811 | (vax_frame_args_address): Merge in vax_frame_args_address_correct. | |
5812 | * config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete | |
5813 | (vax_frame_args_address_correct): Delete declaration. | |
5814 | ||
a9e5fdc2 AC |
5815 | 2003-06-08 Andrew Cagney <[email protected]> |
5816 | ||
5817 | * gdbarch.sh (UNWIND_SP): Add. | |
5818 | * gdbarch.h, gdbarch.c: Re-generate. | |
5819 | * frame.c (frame_sp_unwind): New function. | |
5820 | (get_frame_sp): New function. | |
5821 | * frame.h (get_frame_sp, frame_sp_unwind): Declare. | |
5822 | * regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP, | |
5823 | gdbarch_unwind_sp and SP_REGNUM when looking for the SP register | |
5824 | value. | |
5825 | * d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp. | |
5826 | (d10v_gdbarch_init): Set unwind_sp instead of read_sp. | |
5827 | ||
8983bd83 AC |
5828 | 2003-06-08 Andrew Cagney <[email protected]> |
5829 | ||
7fec2c59 AC |
5830 | Deprecate BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT and |
5831 | REMOTE_BREAKPOINT. | |
5832 | * remote.c: Update. | |
5833 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT): Update. | |
5834 | (DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Update. | |
5835 | * config/m68k/tm-sun3.h: Update. | |
5836 | * config/m68k/tm-m68klynx.h: Update. | |
5837 | * config/h8300/tm-h8300.h (DEPRECATED_REMOTE_BREAKPOINT): Update. | |
5838 | ||
8983bd83 AC |
5839 | * trad-frame.h (struct trad_frame_saved_reg): Rename "struct |
5840 | trad_frame". Update comments. | |
5841 | * d10v-tdep.c (struct d10v_unwind_cache): Update. | |
5842 | * trad-frame.c (trad_frame_alloc_saved_regs): Update. | |
5843 | (trad_frame_register_value, trad_frame_prev_register): Update. | |
5844 | ||
b9362cc7 AC |
5845 | 2003-06-08 Andrew Cagney <[email protected]> |
5846 | ||
5847 | * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen | |
5848 | from GCC's acinclude.m4. | |
5849 | * configure.in: Check for getopt's delcaration. | |
8ffd9b1b | 5850 | * aclocal.m4, config.in, configure: Re-generate. |
b9362cc7 AC |
5851 | * main.c (error_init): Delete declaration. |
5852 | * defs.h (error_init): Declare. | |
5853 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static. | |
5854 | (rs6000_convert_from_func_ptr_addr): Make static. | |
5855 | (_initialize_rs6000_tdep): Add declaration. | |
5856 | * cli/cli-cmds.c (dont_repeat): Delete declaration. | |
5857 | (show_commands, set_verbose, show_history): Delete declaration. | |
5858 | * top.h (set_verbose): Add declaration. | |
5859 | (show_history, set_history, show_commands): Add declaration. | |
5860 | (do_restore_instream_cleanup): Add declaration. | |
5861 | * objc-lang.c (specialcmp): Make static. | |
5862 | (print_object_command): Make static. | |
5863 | (find_objc_msgsend): Make static. | |
5864 | (find_objc_msgcall_submethod_helper): Make static. | |
5865 | (find_objc_msgcall_submethod): Make static. | |
5866 | (_initialize_objc_language): Add declaration. | |
5867 | (find_implementation_from_class): Make static. | |
5868 | (find_implementation): Make static. | |
5869 | * objc-exp.y (yylex): Delete lookup_struct_typedef declaration. | |
5870 | * objc-lang.h (lookup_struct_typedef): Add declaration. | |
5871 | * cli/cli-interp.c (_initialize_cli_interp): Add declaration. | |
5872 | * cli/cli-script.c (clear_hook_in_cleanup): Make static. | |
5873 | (do_restore_user_call_depth): Make static. | |
5874 | (do_restore_instream_cleanup): Delete declaration. | |
5875 | (dont_repeat): Delete declaration. | |
5876 | * cli/cli-decode.c (add_abbrev_cmd): Delete function. | |
5877 | * cli/cli-dump.c (_initialize_cli_dump): Add declaration. | |
5878 | * reggroups.c (_initialize_reggroup): Add declaration. | |
5879 | * cp-support.c (_initialize_cp_support): Add declaration. | |
5880 | * cp-abi.c (_initialize_cp_abi): Add declaration. | |
5881 | * hpacc-abi.c (_initialize_hpacc_abi): Add declaration. | |
5882 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static. | |
5883 | (_initialize_gnu_v3_abi): Add declaration. | |
5884 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static. | |
5885 | (_initialize_gnu_v2_abi): Add declaration. | |
5886 | * frame-base.c (_initialize_frame_base): Add declaration. | |
5887 | * doublest.c (floatformat_from_length): Make static. | |
5888 | * frame-unwind.c (_initialize_frame_unwind): Add declaration. | |
5889 | * frame.c (create_sentinel_frame): Make static. | |
5890 | (_initialize_frame): Add declaration. | |
5891 | * top.c (do_catch_errors): Make static. | |
5892 | (gdb_rl_operate_and_get_next_completion): Make static. | |
5893 | * typeprint.c: Include "typeprint.h". | |
5894 | * sentinel-frame.c (sentinel_frame_prev_register): Make static. | |
5895 | (sentinel_frame_this_id): Make static. | |
5896 | * p-valprint.c (_initialize_pascal_valprint): Add declaration. | |
5897 | * ui-out.c (make_cleanup_ui_out_begin_end): Delete function. | |
5898 | * dwarf2-frame.c (dwarf2_frame_cache): Make static. | |
5899 | * p-exp.y (push_current_type, pop_current_type): ISO C declaration. | |
5900 | * dwarf2expr.h (dwarf_expr_context): ISO C declaration. | |
5901 | * maint.c (maintenance_print_architecture): Make static. | |
5902 | * signals/signals.c (_initialize_signals): Add declaration. | |
5903 | * std-regs.c (_initialize_frame_reg): Add declaration. | |
5904 | * jv-exp.y (push_variable): ISO C definition. | |
5905 | (push_qualified_expression_name): Ditto. | |
5906 | * memattr.c (_initialize_mem): Add declaration. | |
5907 | * remote.c (remote_check_watch_resources): Make static. | |
5908 | (remote_stopped_by_watchpoint): Make static. | |
5909 | (remote_stopped_data_address): Make static. | |
5910 | * d10v-tdep.c (nr_dmap_regs): Make static. | |
5911 | (a0_regnum): Make static. | |
5912 | (d10v_frame_unwind_cache): Make static. | |
5913 | (d10v_frame_p): Make static. | |
5914 | * osabi.c (show_osabi): Make static. | |
5915 | (_initialize_gdb_osabi): Add extern declaration. | |
5916 | * gdbtypes.c (make_qualified_type): Make static. | |
5917 | (safe_parse_type): Make static. | |
5918 | * macrocmd.c (_initialize_macrocmd): Add extern declaration. | |
5919 | * macrotab.c (macro_bcache_free): Make static. | |
5920 | * interps.c (interp_set_quiet): Make static. | |
5921 | (interpreter_exec_cmd): Make static. | |
5922 | * stack.h (select_frame_command): New file. | |
5923 | * stack.c: Include "stack.h". | |
5924 | (select_frame_command_wrapper): Delete function. | |
5925 | (select_frame_command): Make global. | |
5926 | * infcall.c: Include "infcall.h". | |
5927 | * linespec.c: Include "linespec.h". | |
5928 | * symfile.c (sections_overlap): Make static. | |
5929 | * cp-support.h (cp_initialize_namespace): ISO C declaration. | |
5930 | * charset.c (_initialize_charset): Add missing prototype. | |
5931 | * regcache.c (init_legacy_regcache_descr): Make static. | |
5932 | (do_regcache_xfree): Make static. | |
5933 | (regcache_xfer_part): Make static. | |
5934 | (_initialize_regcache): Add missing prototype. | |
5935 | * breakpoint.c (parse_breakpoint_sals): Make static. | |
5936 | (breakpoint_sals_to_pc): Make static. | |
5937 | * interps.h (clear_interpreter_hooks): ISO C declaration. | |
5938 | * Makefile.in (stack_h): Define. | |
5939 | (stack.o, typeprint.o, mi-main.o): Update dependencies. | |
5940 | (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies. | |
5941 | ||
a0f267c7 AC |
5942 | 2003-06-08 Andrew Cagney <[email protected]> |
5943 | ||
5944 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
5945 | (SFILES): Add trad-frame.c. | |
5946 | (trad_frame_h): Define. | |
5947 | (COMMON_OBS): Add trad-frame.o. | |
5948 | (trad-frame.o): Specify dependencies. | |
5949 | * d10v-tdep.c: Include "trad-frame.h". | |
5950 | (saved_regs_unwinder): Delete function. | |
5951 | (d10v_frame_prev_register): Use trad_frame_prev_register. | |
5952 | (struct d10v_unwind_cache): Change type of "saved_regs" to "struct | |
5953 | trad_frame", delete "regs" and "prev_sp". | |
5954 | (prologue_find_regs): Use trad-frame. | |
5955 | * trad-frame.h, trad-frame.c: New files. | |
5956 | ||
4538b4f4 MK |
5957 | 2003-06-08 Mark Kettenis <[email protected]> |
5958 | ||
5959 | * dwarf2cfi.c, dwarf2cfi.h: Remove. | |
5960 | ||
a0273b2f AF |
5961 | 2003-06-07 Adam Fedor <[email protected]> |
5962 | ||
5963 | * gdb/objc-lang.c (FETCH_ARGUMENT): Remove macro. | |
5964 | (OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for | |
5965 | using FETCH_POINTER_ARGUMENT with Objective-C method arguments. | |
5966 | (find_implementation, resolve_msgsend, resolve_msgsend_stret, | |
8ffd9b1b | 5967 | resolve_msgsend_super, resolve_msgsend_super_stret): |
a0273b2f AF |
5968 | Use it. |
5969 | ||
3a6c3343 AC |
5970 | 2003-06-07 Andrew Cagney <[email protected]> |
5971 | ||
5972 | * symfile.h: Re-indent, clean up comments. | |
5973 | ||
b46e02f6 AC |
5974 | 2003-06-07 Andrew Cagney <[email protected]> |
5975 | ||
5976 | * inferior.h (deprecated_write_sp): Replace | |
5977 | generic_target_write_sp. | |
5978 | * regcache.c (deprecated_write_sp): Replace | |
5979 | generic_target_write_sp. | |
5980 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
5981 | * vax-tdep.c (vax_gdbarch_init): Update. | |
5982 | * v850-tdep.c (v850_gdbarch_init): Update. | |
5983 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
5984 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5985 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5986 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5987 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
5988 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
5989 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5990 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
5991 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5992 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5993 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
5994 | * frv-tdep.c (frv_gdbarch_init): Update. | |
5995 | * cris-tdep.c (cris_gdbarch_init): Update. | |
5996 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
5997 | ||
a42e117c AC |
5998 | 2003-06-07 Andrew Cagney <[email protected]> |
5999 | ||
6000 | * dwarf2-frame.c (dwarf2_frame_cache): Add comments on PC_REGNUM. | |
6001 | Assert that PC_REGNUM is valid. | |
6002 | (dwarf2_frame_prev_register): Add comments on SP_REGNUM. | |
6003 | ||
bd1ce8ba AC |
6004 | 2003-06-07 Andrew Cagney <[email protected]> |
6005 | ||
6006 | * gdbarch.sh (TARGET_READ_SP): Add predicate, delete default. | |
6007 | * gdbarch.h, gdbarch.c: Regenerate. | |
6008 | * mn10300-tdep.c: Include "gdb_assert.h". | |
6009 | (mn10300_read_fp): New function. | |
6010 | (mn10300_gdbarch_init): Set deprecated_target_read_fp to | |
6011 | mn10300_read_fp. Do not set read_sp to generic_target_read_sp. | |
6012 | * ia64-tdep.c: Include "gdb_assert.h". | |
6013 | (ia64_read_fp): New function. | |
6014 | (ia64_gdbarch_init): Set deprecated_target_read_fp to | |
6015 | ia64_read_sp. Do not set read_sp to generic_target_read_sp. | |
6016 | * regcache.c (generic_target_read_sp): Delete function. | |
6017 | (read_sp): Try TARGET_READ_SP and SP_REGNUM for the SP register. | |
6018 | * inferior.h (generic_target_read_sp): Delete declaration. | |
6019 | * frv-tdep.c (frv_gdbarch_init): Do not set read_sp to | |
6020 | generic_target_read_sp. | |
6021 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6022 | * sparc-tdep.c (sparc_gdbarch_init): Ditto | |
6023 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6024 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6025 | * Makefile.in (mn10300-tdep.o, ia64-tdep.o): Update dependencies. | |
6026 | ||
ec5cbaec AC |
6027 | 2003-06-07 Andrew Cagney <[email protected]> |
6028 | ||
6029 | * gdbarch.sh: Comment each field of startup_gdbarch. | |
6030 | * gdbarch.h, gdbarch.c: Re-generate. | |
6031 | ||
cde9ea48 AC |
6032 | 2003-06-07 Andrew Cagney <[email protected]> |
6033 | ||
6034 | * gdbarch.sh (TARGET_READ_PC): Add predicate, remove default. | |
6035 | * gdbarch.h, gdbarch.c: Re-generate. | |
6036 | * regcache.c: Update comments on read_pc et.al. | |
6037 | (generic_target_read_pc): Delete function. | |
6038 | (read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register. | |
6039 | * inferior.h (generic_target_read_pc): Delete declaration. | |
6040 | * frv-tdep.c (frv_gdbarch_init): Do not set read_pc to | |
6041 | generic_target_read_pc. | |
6042 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
6043 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6044 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6045 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 6046 | |
9a90a780 AC |
6047 | 2003-06-07 Andrew Cagney <[email protected]> |
6048 | ||
6049 | * elfread.c (elf_symtab_read): Replace "special_local_sym_p" and | |
6050 | "index" with "special_local_sect". Use strcmp instead of STREQ. | |
6051 | Append period to coments. | |
6052 | ||
a39a16c4 MM |
6053 | 2003-06-06 Mark Mitchell <[email protected]> |
6054 | ||
6055 | * elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX. | |
6056 | (elfstab_offset_sections): Likewise. | |
6057 | * gdb-stabs.h (stab_section_info): Likewise. | |
6058 | * i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise. | |
6059 | * objfiles.c (objfile_relocate): Likewise. | |
6060 | * pa64solib.c (pa64_solib_add_solib_objfile): Likewise. | |
6061 | * remote.c (get_offsets): Likewise. | |
6062 | (remote_cisco_objfile_relocate): Likewise. | |
6063 | * somread.c (som_symfile_offsets): Likewise. | |
6064 | * symfile.c (alloc_section_addr_info): New function. | |
6065 | (build_section_addr_info_from_section_tab): Use it. | |
6066 | (free_section_addr_info): Adjust. | |
6067 | (default_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
6068 | (syms_from_objfile): Allocate local_addr dynamically. | |
6069 | (symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs | |
6070 | dynamically. | |
6071 | (add_symbol_file_command): Allocate sect_opts dynamically. | |
6072 | (reread_symbols): Avoid use of SECT_OFF_MAX. | |
6073 | * symfile.h (section_addr_info): Do not use MAX_SECTIONS. | |
6074 | (alloc_section_addr_info): Declare it. | |
6075 | * symtab.h (SIZEOF_SECTION_OFFSETS): Remove. | |
6076 | * win32-nat.c (solib_symbols_add): Allocate section_addrs | |
6077 | dynamically. | |
6078 | * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
8ffd9b1b | 6079 | |
20c6c2f8 AC |
6080 | 2003-06-06 Andrew Cagney <[email protected]> |
6081 | ||
6082 | * d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc". | |
6083 | (d10v_frame_unwind_cache): Do not set "return_pc". | |
6084 | ||
884a26c8 MS |
6085 | 2003-06-06 Michael Snyder <[email protected]> |
6086 | ||
6087 | * h8300-tdep.c: Make tidy (long lines). | |
6088 | ||
088ce440 ML |
6089 | 2003-06-06 Michal Ludvig <[email protected]> |
6090 | ||
8ffd9b1b | 6091 | * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums |
088ce440 ML |
6092 | to regcache_collect(). |
6093 | ||
7d773d96 JB |
6094 | 2003-06-05 J. Brobecker <[email protected]> |
6095 | ||
6096 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting | |
6097 | pc_in_sigtramp multiarch method. | |
6098 | (hppa_hpux_som_init_abi): Use it. | |
6099 | (hppa_hpux_elf_init_abi): Likewise. | |
6100 | * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this | |
6101 | macro has been multiarched. | |
6102 | * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this | |
6103 | macro here, as hppa64 isn't multiarched yet. | |
6104 | ||
1df6926e AC |
6105 | 2003-06-05 Andrew Cagney <[email protected]> |
6106 | ||
6107 | * Makefile.in (value_h): Add $(frame_h). | |
6108 | * value.h: Include "frame.h". | |
6109 | (struct value): Replace "frame_addr" with "frame_id". | |
6110 | (VALUE_FRAME_ID): Replace VALUE_FRAME. | |
6111 | * values.c (allocate_value): Use VALUE_FRAME_ID. | |
6112 | (value_copy): Use VALUE_FRAME_ID. | |
6113 | * findvar.c (value_from_register): Use VALUE_FRAME_ID. | |
6114 | * valops.c (value_assign): Update. Use frame_find_by_id. | |
6115 | ||
6b53acc6 ML |
6116 | 2003-06-05 Michal Ludvig <[email protected]> |
6117 | ||
6118 | * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset | |
6119 | in each pass. | |
6120 | ||
4d9850d3 JJ |
6121 | 2003-06-05 Jeff Johnston <[email protected]> |
6122 | ||
6123 | * thread-db.c (check_event): For create/death event breakpoints, | |
6124 | loop through all messages to ensure that we read the message | |
6125 | corresponding to the breakpoint we are at. | |
6126 | ||
8efca6ba MS |
6127 | 2003-06-04 Michael Snyder <[email protected]> |
6128 | ||
6129 | * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn. | |
6130 | ||
0912c7f2 MK |
6131 | 2003-06-04 Mark Kettenis <[email protected]> |
6132 | ||
6133 | * dwarf2-frame.c (struct comp_unit): Add member `dbase'. | |
6134 | (read_encoded_value): Handle DW_EH_PE_datarel encoding. | |
6135 | (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings | |
6136 | when handling .eh_frame sections. | |
6137 | ||
4e370325 JB |
6138 | 2003-06-04 J. Brobecker <[email protected]> |
6139 | ||
6140 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic | |
6141 | prepare_to_proceed procedure instead of the hppa-specific one. | |
6142 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used. | |
6143 | ||
b757528f | 6144 | 2003-06-04 Jeff Johnston <[email protected]> |
8ffd9b1b | 6145 | |
b757528f JJ |
6146 | * acconfig.h: Add HAVE_TKILL_SYSCALL definition check. |
6147 | * config.in: Regenerated. | |
6148 | * configure.in: Add test for syscall function and check for | |
6149 | __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. | |
6150 | * configure: Regenerated. | |
6151 | * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and | |
6152 | <sys/syscall.h>. | |
6153 | (kill_lwp): New function that uses tkill syscall or | |
6154 | uses kill, depending on whether threading model is nptl or not. | |
6155 | All callers of kill() changed to use kill_lwp(). | |
6156 | (lin_lwp_wait): Make special check when WIFEXITED occurs to | |
6157 | see if all threads have already exited in the nptl model. | |
6158 | (stop_and_resume_callback): New callback function used by the | |
6159 | lin_lwp_wait thread exit handling code. | |
6160 | (stop_wait_callback): Check for threads already having exited and | |
6161 | delete such threads fromt the lwp list when discovered. | |
6162 | (stop_callback): Don't assert retcode of kill call. | |
8ffd9b1b | 6163 | |
b757528f JJ |
6164 | Roland McGrath <[email protected]> |
6165 | * i386-linux-nat.c (ps_get_thread_area): New function needed by | |
6166 | nptl libthread_db. | |
6167 | ||
087779b1 RH |
6168 | 2003-06-03 Richard Henderson <[email protected]> |
6169 | ||
b21fd293 RH |
6170 | * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn. |
6171 | (alpha_sigtramp_frame_this_id): Use get_frame_memory. | |
6172 | (alpha_sigtramp_frame_prev_register): Likewise. | |
6173 | (alpha_heuristic_frame_prev_register): Likewise. | |
6174 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise. | |
6175 | ||
8ffd9b1b | 6176 | * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use |
087779b1 RH |
6177 | alpha-specific register id names. |
6178 | (alpha_mdebug_frame_unwind_cache): Likewise. | |
6179 | (alpha_mdebug_frame_prev_register): Likewise. | |
6180 | ||
baa490c4 RH |
6181 | 2003-06-03 Richard Henderson <[email protected]> |
6182 | ||
6183 | * alpha-tdep.c (alpha_dwarf2_init_abi): New. | |
6184 | * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. | |
6185 | * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. | |
6186 | * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug | |
6187 | unwind routines. | |
6188 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
6189 | * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
6190 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
6191 | ||
6192 | * alpha-linux-tdep.c: Remove unnecessary includes. | |
6193 | * Makefile.in (alpha-linux-tdep.o): Update. | |
6194 | ||
6195 | 2003-06-03 Richard Henderson <[email protected]> | |
6196 | ||
6197 | * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change. | |
6198 | (alphabsd_fill_fpreg): Likewise. | |
6199 | ||
f534e522 JB |
6200 | 2003-06-03 J. Brobecker <[email protected]> |
6201 | ||
6202 | * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace | |
6203 | references to struct frame_info fields by calls to the equivalent | |
6204 | accessors. Necessary now that frame_info is opaque. | |
6205 | ||
4035536b JB |
6206 | 2003-06-03 J. Brobecker <[email protected]> |
6207 | ||
6208 | * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete. | |
6209 | (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep | |
6210 | structure, field no longer exists. | |
6211 | ||
0bd79c5c JB |
6212 | 2003-06-03 J. Brobecker <[email protected]> |
6213 | ||
6214 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
6215 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module. | |
6216 | ||
37bb6d9f JB |
6217 | 2003-06-03 J. Brobecker <[email protected]> |
6218 | ||
6219 | * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace | |
6220 | references to struct frame_info fields by calls to the equivalent | |
6221 | accessors. Necessary now that frame_info is opaque. | |
6222 | ||
852ee05c JB |
6223 | 2003-06-03 J. Brobecker <[email protected]> |
6224 | ||
6225 | * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. | |
6226 | (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep | |
6227 | structure, field no longer exists. | |
6228 | ||
7d58c67d TR |
6229 | 2003-06-03 Theodore A. Roth <[email protected]> |
6230 | ||
8ffd9b1b | 6231 | * remote.c (init_remote_state): Compute sizeof_g_packet by |
7d58c67d TR |
6232 | accumulation of the size of all registers instead of blindly using |
6233 | DEPRECATED_REGISTER_BYTES. | |
6234 | ||
0a48e7e8 MS |
6235 | 2003-06-03 Michael Snyder <[email protected]> |
6236 | ||
6237 | * config/h8300/tm-h8300.h (h8300sxmode): Declare. | |
6238 | * h8300-tdep.c (h8300_gdbarch_init): Set machine mode | |
6239 | for h8300sx. | |
6240 | ||
9798ab0d JB |
6241 | 2003-06-03 J. Brobecker <[email protected]> |
6242 | ||
6243 | * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile. | |
6244 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. | |
6245 | ||
00b037e2 AC |
6246 | 2003-06-03 Andrew Cagney <[email protected]> |
6247 | ||
6248 | * sparc-tdep.c (sparc_convert_to_virtual): Delete function. | |
6249 | (sparc_convert_to_raw): Delete function. | |
6250 | (sparc_gdbarch_init): Do not set register_convert_to_raw or | |
6251 | register_convert_to_virtual. | |
6252 | ||
043b2f77 JJ |
6253 | 2003-06-03 Jeff Johnston <[email protected]> |
6254 | ||
6255 | * thread-db.c (thread_db_mourn_inferior): Unpush thread target | |
6256 | layer if not dealing with a statically-linked threaded program. | |
6257 | ||
f43caff8 KW |
6258 | 2003-06-03 Kris Warkentin <[email protected]> |
6259 | ||
6260 | * solib.c (solib_open): Update comment to reflect actual search order. | |
6261 | ||
ae1e7417 AC |
6262 | 2003-06-03 Andrew Cagney <[email protected]> |
6263 | ||
6264 | * frame.c (get_frame_memory_signed): New function. | |
6265 | (get_frame_memory, get_frame_memory_unsigned): New function. | |
6266 | (get_frame_arch): New function. | |
6267 | * frame.h (get_frame_signed_memory, get_frame_arch): Declare. | |
6268 | (get_frame_memory, get_frame_unsigned_memory): Declare. | |
6269 | * d10v-tdep.c (d10v_frame_unwind_cache): Use | |
6270 | get_frame_memory_unsigned and get_frame_arch. | |
6271 | (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto. | |
6272 | ||
cb123844 RG |
6273 | 2003-06-03 Raoul Gough <[email protected]> |
6274 | ||
6275 | * MAINTAINERS (write after approval): Add myself. | |
6276 | ||
1bb792e9 JB |
6277 | 2003-06-03 Jim Blandy <[email protected]> |
6278 | ||
6279 | * s390-nat.c (supply_gregset, fill_gregset): On the s390x, the | |
6280 | elements of gregset_t are 64 bits each, but access registers | |
6281 | are still 32 bits, so they're packed two per gregset_t | |
6282 | element. Unpack/pack them properly. | |
6283 | ||
aee8d8ba DC |
6284 | 2003-06-02 David Carlton <[email protected]> |
6285 | ||
6286 | * linespec.c (find_methods): Break out code into | |
6287 | add_matching_methods and add_constructors. | |
6288 | (add_matching_methods): New. | |
6289 | (add_constructors): Ditto. | |
6290 | ||
bf7488d2 AC |
6291 | 2003-06-02 Andrew Cagney <[email protected]> |
6292 | ||
bf7488d2 AC |
6293 | * sparc-tdep.c (sparc_print_registers): Delete call to |
6294 | REGISTER_CONVERTIBLE. | |
6295 | (sparc_gdbarch_init): Do not set register_convertible. | |
6296 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6297 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6298 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
6299 | ||
adedef68 EZ |
6300 | 2003-06-02 Elena Zannoni <[email protected]> |
6301 | ||
8ffd9b1b | 6302 | * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. |
adedef68 EZ |
6303 | * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD. |
6304 | (syms_from_objfile): Ditto. | |
6305 | ||
650fcc91 AS |
6306 | 2003-06-03 Andreas Schwab <[email protected]> |
6307 | ||
6308 | * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ... | |
6309 | (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn. | |
6310 | ||
df4a182b RH |
6311 | 2003-06-02 Richard Henderson <[email protected]> |
6312 | ||
6313 | * alpha-tdep.c (alpha_register_reggroup_p): Zero is only | |
6314 | a member of all_reggroup. | |
6315 | ||
c483c494 RH |
6316 | 2003-06-02 Richard Henderson <[email protected]> |
6317 | ||
6318 | * alpha-tdep.c (alpha_register_type): Change from _virtual_type. | |
6319 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove. | |
6320 | (alpha_lds, alpha_sts): New. | |
6321 | (alpha_convert_register_p): Change from _register_convertible. | |
8ffd9b1b | 6322 | (alpha_register_to_value): Change from _convert_to_virtual; |
c483c494 RH |
6323 | restructure and fail for type sizes other than 4 or 8. |
6324 | (alpha_value_to_register): Similarly. | |
6325 | (alpha_extract_return_value): Use alpha_sts. | |
6326 | (alpha_store_return_value): Use alpha_lds. | |
6327 | (alpha_gdbarch_init): Update hooks. | |
6328 | ||
b38b6be2 RH |
6329 | 2003-06-02 Richard Henderson <[email protected]> |
6330 | ||
6331 | * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific | |
6332 | regnum identifiers. | |
6333 | (alpha_sigtramp_register_address): Likewise. | |
6334 | ||
98a8e1e5 RH |
6335 | 2003-06-02 Richard Henderson <[email protected]> |
6336 | ||
6337 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New. | |
6338 | (alpha_supply_fp_regs, alpha_fill_fp_regs): New. | |
6339 | * alpha-tdep.h: Declare them. | |
6340 | ||
6341 | * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping. | |
6342 | Remove zerobuf. Don't error on UNIQUE. | |
6343 | (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs. | |
6344 | (ALPHA_REGSET_UNIQUE): Provide default. | |
6345 | (supply_gregset): Use alpha_supply_int_regs. | |
6346 | (fill_gregset): Use alpha_fill_int_regs. | |
6347 | (supply_fpregset): Use alpha_supply_fp_regs. | |
6348 | (fill_fpregset): Use alpha_fill_fp_regs. | |
6349 | * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove. | |
6350 | (alphabsd_supply_reg): Use alpha_supply_int_regs. | |
6351 | (alphabsd_fill_reg): Use alpha_fill_int_regs. | |
6352 | (alphabsd_supply_fpreg): Use alpha_supply_fp_regs. | |
6353 | (alphabsd_fill_fpreg): Use alpha_fill_fp_regs. | |
6354 | * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New. | |
6355 | ||
67dfac52 RH |
6356 | 2003-06-02 Richard Henderson <[email protected]> |
6357 | ||
f75d70cc RH |
6358 | * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru. |
6359 | ||
67dfac52 RH |
6360 | * alpha-tdep.c (alpha_extract_return_value): Use internal_error. |
6361 | (alpha_store_return_value): Likewise. | |
6362 | ||
0cf566ec DC |
6363 | 2003-06-02 David Carlton <[email protected]> |
6364 | ||
6365 | * block.c (contained_in): Add 'const' to arguments. | |
6366 | (block_function): Ditto. | |
6367 | * block.h: Update declarations for block_function and | |
6368 | contained_in. | |
6369 | ||
cdef89d0 DC |
6370 | 2003-06-02 David Carlton <[email protected]> |
6371 | ||
6372 | * objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'. | |
6373 | * c-valprint.c (c_val_print): Delete unneeded variable 's'. | |
6374 | * p-valprint.c (pascal_val_print): Ditto. | |
6375 | * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'. | |
6376 | ||
72667056 RH |
6377 | 2003-06-02 Richard Henderson <[email protected]> |
6378 | ||
98a8e1e5 RH |
6379 | * alpha-tdep.c (alpha_push_dummy_call): Use |
6380 | builtin_type_ieee_double_little instead of builtin_type_double. | |
eb4edb88 | 6381 | |
8ffd9b1b | 6382 | * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated |
98a8e1e5 RH |
6383 | sign-extension of 32-bit values. |
6384 | (alpha_store_return_value): Similarly. | |
0ede8eca | 6385 | |
98a8e1e5 RH |
6386 | * alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types. |
6387 | (alpha_extract_return_value): Likewise. | |
6388 | (alpha_store_return_value): Likewise. | |
7b5e1cb3 | 6389 | |
98a8e1e5 RH |
6390 | * alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats. |
6391 | (alpha_store_return_value): Error on IEEE Quad floats. | |
24064b5c | 6392 | |
98a8e1e5 RH |
6393 | * alpha-tdep.c (alpha_extract_return_value): Convert to regcache. |
6394 | (alpha_extract_struct_value_address): Likewise. | |
6395 | (alpha_store_return_value): Likewise. | |
6396 | (alpha_store_struct_return): Remove. | |
6397 | (alpha_gdbarch_init): Update hook registration to match. | |
5ec2bb99 | 6398 | |
98a8e1e5 RH |
6399 | * alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of |
6400 | deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch | |
6401 | macros where appropriate. | |
6402 | (alpha_register_convert_to_raw): Similarly. Use unpack_long. | |
6403 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): New. | |
14696584 | 6404 | |
98a8e1e5 RH |
6405 | * alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr |
6406 | for SP, GP; void_func_ptr for PC; non-language-specific types | |
6407 | for all others. | |
6408 | * alpha-tdep.h (ALPHA_GP_REGNUM): New. | |
72667056 | 6409 | |
6dd77b81 RH |
6410 | 2003-06-02 Richard Henderson <[email protected]> |
6411 | ||
6412 | * top.h (lim_at_start): Declare. | |
6413 | * main.c (captured_main): Set it. | |
6414 | * top.c (lim_at_start): Define. | |
6415 | (command_loop): Use it instead of &environ. | |
6416 | * event-top.c (command_handler): Likewise. | |
6417 | ||
f4dbdb54 JT |
6418 | 2003-06-01 Jason Thorpe <[email protected]> |
6419 | ||
6420 | * mipsnbsd-tdep.c: Update copyright years. | |
6421 | (fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg. | |
6422 | ||
8f285956 RH |
6423 | 2003-06-01 Richard Henderson <[email protected]> |
6424 | ||
98a8e1e5 RH |
6425 | * Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c. |
6426 | (alpha-linux-tdep.o): Update dependencies. | |
6427 | (alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise. | |
6428 | * alpha-mdebug-tdep.c: Remove unneeded includes. | |
8f285956 | 6429 | |
615967cb RH |
6430 | 2003-06-01 Richard Henderson <[email protected]> |
6431 | ||
98a8e1e5 RH |
6432 | * alpha-tdep.c (alpha_register_reggroup_p): New. |
6433 | (alpha_gdbarch_init): Register it. | |
615967cb | 6434 | |
b59661bd AC |
6435 | 2003-06-02 Andrew Cagney <[email protected]> |
6436 | ||
6437 | * dwarfread.c: Eliminate "register" | |
6438 | (decode_die_type): Eliminate assignment within "if". | |
6439 | (struct_type, decode_array_element_type): Ditto. | |
6440 | (dwarf_read_array_type, read_tag_pointer_type): Ditto. | |
6441 | (read_subroutine_type, enum_type, add_enum_psymbol): Ditto. | |
6442 | (decode_modified_type, completedieinfo): Ditto. | |
6443 | * block.c: Eliminate "register". | |
6444 | (blockvector_for_pc_sect): Eliminate assignment within "if". | |
6445 | * cp-support.h (struct symbol): Opaque declaration. | |
6446 | * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free. | |
6447 | ||
5ef165c2 RH |
6448 | 2003-06-01 Richard Henderson <[email protected]> |
6449 | ||
98a8e1e5 RH |
6450 | * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ... |
6451 | (_initialize_alpha_tdep): ... not deprecated_tm_print_insn. | |
5ef165c2 | 6452 | |
143985b7 AF |
6453 | 2003-06-01 Adam Fedor <[email protected]> |
6454 | ||
6455 | * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT. | |
6456 | * gdbarch.[ch]: Regenerate. | |
6457 | * hppa-tdep.c (hppa_fetch_pointer_argument): New function. | |
6458 | (hppa_gdbarch_init): Set it in the gdbarch vector. | |
6459 | * i386-tdep.c (i386_fetch_pointer_argument): New | |
6460 | (i386_gdbarch_init): Set it into gdbarch. | |
6461 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): New. | |
6462 | (rs6000_gdbarch_init): Set it in gdbarch. | |
6463 | * sparc-tdep.c (sparc_fetch_pointer_argument): New | |
6464 | (sparc_gdbarch_init): Set it in gdbarch. | |
6465 | ||
ae0167b9 AC |
6466 | 2003-06-01 Andrew Cagney <[email protected]> |
6467 | ||
7c0b4a20 AC |
6468 | * defs.h (extract_address): Delete declaration. |
6469 | * findvar.c (extract_address): Delete function. | |
6470 | * xstormy16-tdep.c (xstormy16_extract_return_value): Replace | |
6471 | extract_address with the inline equivalent, | |
6472 | extract_unsigned_integer. | |
6473 | (xstormy16_extract_struct_value_address): Ditto. | |
6474 | (xstormy16_pointer_to_address): Ditto. | |
6475 | * vax-tdep.c (vax_extract_struct_value_address): Ditto. | |
6476 | * v850-tdep.c (v850_push_arguments): Ditto. | |
6477 | (v850_extract_return_value): Ditto. | |
6478 | (v850_extract_struct_value_address): Ditto. | |
6479 | * sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto. | |
6480 | (sparcnbsd_get_longjmp_target_64): Ditto. | |
6481 | * sparc-tdep.c (sparc_frame_saved_pc): Ditto. | |
6482 | (get_longjmp_target): Ditto. | |
6483 | * sh-tdep.c (sh_extract_struct_value_address): Ditto. | |
6484 | (sh64_extract_struct_value_address): Ditto. | |
6485 | (sh_push_arguments): Ditto. | |
6486 | (sh64_push_arguments): Ditto. | |
6487 | * remote-vxsparc.c (vx_read_register): Ditto. | |
6488 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto. | |
6489 | * ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto. | |
6490 | * mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto. | |
6491 | * mipsv4-nat.c (get_longjmp_target): Ditto. | |
6492 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto. | |
6493 | * mips-nat.c (get_longjmp_target): Ditto. | |
6494 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto. | |
6495 | * mcore-tdep.c (mcore_extract_struct_value_address): Ditto. | |
6496 | * m68k-tdep.c (m68k_get_longjmp_target): Ditto. | |
6497 | * m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto. | |
6498 | * irix5-nat.c (get_longjmp_target): Ditto. | |
6499 | * irix4-nat.c (get_longjmp_target): Ditto. | |
6500 | * ia64-tdep.c (generic_elf_find_global_pointer): Ditto. | |
6501 | (ia64_push_arguments): Ditto. | |
6502 | * hpux-thread.c (hpux_thread_store_registers): Ditto. | |
6503 | * h8300-tdep.c (h8300_push_arguments): Ditto. | |
6504 | (h8300_store_return_value): Ditto. | |
6505 | (h8300_extract_struct_value_address): Ditto. | |
6506 | * frv-tdep.c (frv_extract_struct_value_address): Ditto. | |
6507 | (frv_push_arguments): Ditto. | |
6508 | * avr-tdep.c (avr_pointer_to_address): Ditto. | |
6509 | (avr_push_arguments): Ditto. | |
6510 | * arm-tdep.c (arm_push_dummy_call): Ditto. | |
6511 | (arm_get_longjmp_target): Ditto. | |
6512 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
6513 | * alpha-tdep.c (alpha_extract_struct_value_address): Ditto. | |
6514 | (alpha_get_longjmp_target): Ditto. | |
6515 | ||
ae0167b9 AC |
6516 | * solib-irix.c (extract_mips_address): Inline extract_address, |
6517 | replacing it with extract_signed_integer. | |
6518 | * solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
6519 | (LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto. | |
6520 | (first_link_map_member, open_symbol_file_object): Ditto. | |
6521 | (svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto. | |
6522 | * solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
6523 | (LM_NEXT, LM_NAME): Ditto. | |
6524 | ||
44d88583 RH |
6525 | 2003-06-01 Richard Henderson <[email protected]> |
6526 | ||
98a8e1e5 RH |
6527 | * alpha-tdep.h (ALPHA_FP_REGNUM): Remove. |
6528 | * alpha-tdep.c (alpha_register_name): Remove vfp entry. | |
6529 | (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM. | |
6530 | (alpha_cannot_store_register): Likewise. | |
6531 | * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM. | |
6532 | * alpha-nat.c (supply_gregset): Likewise. | |
6533 | * alphanbsd-tdep.c (fetch_core_registers): Likewise. | |
44d88583 | 6534 | |
310e9b6a AC |
6535 | 2003-06-01 Andrew Cagney <[email protected]> |
6536 | ||
6537 | * infcall.c (call_function_by_hand): Update comment on | |
6538 | DEPRECATED_DUMMY_WRITE_SP. | |
6539 | ||
6540 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
6541 | deprecated_dummy_write_sp. | |
6542 | (mips_eabi_push_dummy_call): Set the SP register. | |
6543 | (mips_o64_push_dummy_call): Set the SP register. | |
6544 | (mips_o32_push_dummy_call): Set the SP register. | |
6545 | (mips_n32n64_push_dummy_call): Set the SP register. | |
6546 | ||
5ab84872 RH |
6547 | 2003-06-01 Richard Henderson <[email protected]> |
6548 | ||
98a8e1e5 RH |
6549 | * alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE |
6550 | instead of ALPHA_MAX_REGISTER_RAW_SIZE. | |
6551 | (supply_gregset): Likewise. | |
6552 | * alpha-tdep.c (alpha_store_return_value): Likewise. | |
6553 | (alpha_get_longjmp_target): Likewise. | |
6554 | (alpha_register_name): Constify array. | |
6555 | (alpha_gdbarch_init): Remove deprecated_fp_regnum, | |
6556 | deprecated_register_size, deprecated_register_bytes, | |
6557 | deprecated_max_register_raw_size, deprecated_max_register_virtual_size. | |
6558 | * alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove. | |
6559 | (ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
5ab84872 | 6560 | |
09cc52fd RH |
6561 | 2003-06-01 Richard Henderson <[email protected]> |
6562 | ||
6563 | * alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies | |
6564 | from arg_reg_buffer to regcache to avoid double conversion. | |
6565 | ||
c7f16359 MK |
6566 | 2003-06-01 Mark Kettenis <[email protected]> |
6567 | ||
6568 | * i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of | |
6569 | SP_REGNUM. | |
6570 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise. | |
6571 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise. | |
6572 | ||
7131cb6e RH |
6573 | 2003-06-01 Richard Henderson <[email protected]> |
6574 | ||
98a8e1e5 RH |
6575 | * dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation. |
6576 | (decode_frame_entry): Set it. Skip FDE augmentation. | |
7131cb6e | 6577 | |
f3e0f90b RH |
6578 | 2003-06-01 Richard Henderson <[email protected]> |
6579 | ||
98a8e1e5 RH |
6580 | * dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column |
6581 | not overlapping PC_REGNUM. | |
f3e0f90b | 6582 | |
c88e30c0 RH |
6583 | 2003-06-01 Richard Henderson <[email protected]> |
6584 | ||
98a8e1e5 RH |
6585 | * alpha-tdep.c (alpha_push_dummy_call): Transmography from |
6586 | alpha_push_arguments. Don't dump argument register data to | |
6587 | the target stack. Fix float and 128-bit long double semantics. | |
6588 | Store $t12 and $ra as specified by the ABI. Use regcache everywhere. | |
6589 | (alpha_fix_call_dummy): Remove. | |
6590 | (alpha_call_dummy_words): Remove. | |
6591 | (alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call. | |
c88e30c0 | 6592 | |
f1a559ae RH |
6593 | 2003-06-01 Richard Henderson <[email protected]> |
6594 | ||
6595 | * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder. | |
6596 | ||
5e045346 AC |
6597 | 2003-06-01 Andrew Cagney <[email protected]> |
6598 | ||
95404a3e AC |
6599 | * mips-tdep.c (is_mips16_addr): New function. |
6600 | (make_mips16_addr, unmake_mips16_addr): New functions. | |
6601 | (pc_is_mips16, mips_fetch_instruction): Use. | |
6602 | (gdb_print_insn_mips, mips_breakpoint_from_pc): Use. | |
6603 | (gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH. | |
6604 | (mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH, | |
6605 | UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and | |
6606 | TARGET_MIPS. | |
6607 | * config/mips/tm-mips.h: Update copyright. | |
6608 | (TARGET_MIPS, TM_PRINT_INSN_MACH): Delete. | |
6609 | (DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete. | |
6610 | (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete. | |
6611 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete. | |
6612 | (TM_PRINT_INSN_MACH): Delete. | |
6613 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete. | |
6614 | ||
5e045346 AC |
6615 | * configure.tgt: Replace mips64*vr4xxx*el-*-elf*, |
6616 | mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*, | |
6617 | mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*, | |
6618 | mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and | |
6619 | mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete | |
6620 | mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto | |
6621 | mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*, | |
6622 | mips*-*-riscos* and mips*-*-sysv* onto mips. | |
6623 | * config/mips/mips64.mt: New file. | |
6624 | * config/mips/mips.mt: New file. | |
6625 | * config/mips/littlemips.mt: Delete file. | |
6626 | * config/mips/decstation.mt: Delete file. | |
6627 | * config/mips/vr4300el.mt: Delete file. | |
6628 | * config/mips/vr5000el.mt: Delete file. | |
6629 | * config/mips/vr5000.mt: Delete file. | |
6630 | * config/mips/vr4100.mt: Delete file. | |
6631 | * config/mips/vr4xxxel.mt: Delete file. | |
6632 | * config/mips/vr4300.mt: Delete file. | |
6633 | * config/mips/vr4xxx.mt: Delete file. | |
6634 | * config/mips/bigmips.mt: Delete file. | |
6635 | * config/mips/bigmips64.mt: Delete file. | |
6636 | * config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h". | |
6637 | * config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h". | |
6638 | * config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h" | |
6639 | * config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h". | |
6640 | * config/mips/tm-tx39.h: Include "tm-mips.h" instead of | |
6641 | "tm-bigmips.h". | |
6642 | * config/mips/tm-irix3.h: Ditto. | |
6643 | * config/mips/tm-mipsv4.h: Ditto. | |
6644 | * config/mips/tm-embed.h: Ditto. | |
6645 | * config/mips/tm-irix6.h: Include "tm-mips64.h" instead of | |
6646 | "tm-bigmips64.h". | |
6647 | * config/mips/tm-vr5000el.h: Delete file. | |
6648 | * config/mips/tm-tx39l.h: Delete file. | |
6649 | * config/mips/tm-vr4300el.h: Delete file. | |
6650 | * config/mips/tm-vr4xxxel.h: Delete file. | |
6651 | * config/mips/tm-vr4300.h: Delete file. | |
6652 | * config/mips/tm-vr4100.h: Delete file. | |
6653 | * config/mips/tm-vr4xxx.h: Delete file. | |
6654 | * config/mips/tm-vr5000.h: Delete file. | |
6655 | * config/mips/tm-embedl64.h: Delete file. | |
6656 | * config/mips/tm-embedl.h: Delete file. | |
6657 | * config/mips/tm-embed64.h: Delete file. | |
6658 | * config/mips/tm-bigmips64.h: Delete file. | |
6659 | * config/mips/tm-bigmips.h: Delete file. | |
6660 | ||
2473a4a9 MK |
6661 | 2003-06-01 Mark Kettenis <[email protected]> |
6662 | ||
97a5b208 MK |
6663 | Fix gdb/1216. |
6664 | * shnbsd-nat.c: Include "sh-tdep.h". | |
6665 | ||
2473a4a9 MK |
6666 | From Richard Henderson <[email protected]>: |
6667 | * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic. | |
6668 | ||
e0f7ec59 AC |
6669 | 2003-05-31 Andrew Cagney <[email protected]> |
6670 | ||
6671 | * mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add | |
6672 | forward declaration. | |
6673 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
6674 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
6675 | (mips_find_saved_regs): Use set_reg_offset. | |
6676 | (mips_frame_init_saved_regs): Delete function. | |
6677 | (mips_pop_frame): Call mips_find_saved_regs instead of | |
6678 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
6679 | ||
68dcc709 AC |
6680 | 2003-05-31 Andrew Cagney <[email protected]> |
6681 | ||
6682 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
6683 | deprecated_max_register_raw_size, register_virtual_size, and | |
6684 | deprecated_max_register_virtual_size. | |
6685 | ||
cfc14b3a MK |
6686 | 2003-05-31 Mark Kettenis <[email protected]> |
6687 | ||
6405b0a6 MK |
6688 | * i386-tdep.c: Include "dwarf2-frame.h". |
6689 | (i386_gdbarch_init): Hook in the DWARF CFI frame unwinder. | |
6690 | * Makefile.in (i386-tdep.o): Update dependencies. | |
6691 | ||
cfc14b3a MK |
6692 | * dwarf2-frame.c, dwarf2-frame.h: New files. |
6693 | * Makefile.in (SFILES): Add dwarf2-frame.c. | |
6694 | (dwarf2_frame_h): Define. | |
6695 | (COMMON_OBS): Add dwarf2-frame.o. | |
6696 | (dwarf2-frame.o): Add dependencies. | |
6697 | ||
6a2751d2 AJ |
6698 | 2003-05-31 Andreas Jaeger <[email protected]> |
6699 | ||
6700 | * x86-64-linux-nat.c: Fix comment. | |
6701 | ||
1c3545ae MK |
6702 | 2003-05-31 Mark Kettenis <[email protected]> |
6703 | ||
10f93086 MK |
6704 | * x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed |
6705 | function signature. | |
6706 | ||
1c3545ae MK |
6707 | * i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we |
6708 | have a sigcontext_addr handler. | |
6709 | * x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a | |
6710 | sigcontext_addr handler. | |
6711 | ||
e11c53d2 AC |
6712 | 2003-05-31 Andrew Cagney <[email protected]> |
6713 | ||
6714 | * mips-tdep.c (print_gp_register_row): Replace do_gp_register_row. | |
6715 | (print_fp_register_row): Replace do_fp_register_row. | |
6716 | (mips_print_fp_register): Add "file" and "frame" parameters. | |
6717 | (mips_print_register): Add "file" and "frame" parameters. | |
6718 | (mips_print_registers_info): Replace mips_do_registers_info. | |
6719 | (mips_gdbarch_init): Set print_registers_info instead of | |
6720 | deprecated_do_registers_info. | |
6721 | (mips_read_fp_register_single): Add "frame" parameter. | |
6722 | (mips_read_fp_register_double): Add "frame" parameter. | |
6723 | ||
a3386186 MK |
6724 | 2003-05-31 Mark Kettenis <[email protected]> |
6725 | ||
70913449 MK |
6726 | * i386-tdep.c (i386_register_name): Check for MMX registers first. |
6727 | Fixes a bug where GDB would print the wrong register names for | |
6728 | targets without SSE. | |
6729 | ||
2b5e0749 MK |
6730 | * x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS. |
6731 | (x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
6732 | registers. | |
6733 | ||
6734 | * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable. | |
6735 | (x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and | |
6736 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
6737 | TDEP->sc_sp_offset. | |
6738 | ||
a3386186 MK |
6739 | From Michal Ludvig <[email protected]>: |
6740 | * i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset' | |
6741 | and `sc_num_regs'. | |
6742 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
6743 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
6744 | I386_ST0_REGNUM): Move here from... | |
6745 | * i386-tdep.c: ... here. | |
6746 | (I386_NUM_SAVED_REGS): Define to I386_NUM_REGS. | |
6747 | (i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
6748 | registers if possible. | |
6749 | (i386_gdbarch_init): Initialize TDEP->sc_reg_offset. | |
6750 | * i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset): | |
6751 | Remove variables. | |
6752 | (i386bsd_sc_reg_offset): New variable. | |
6753 | (i386bsd_init_abi): Initialize TDEP->sc_reg_offset and | |
6754 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
6755 | TDEP->sc_sp_offset. | |
6756 | (i386fbsd_sc_reg_offset): New variable. | |
6757 | (i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and | |
6758 | TDEP->sc_num_regs. | |
6759 | (i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove | |
6760 | variables. | |
6761 | (i386fbsd4_sc_reg_offset): New variable. | |
6762 | (i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and | |
6763 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
6764 | TDEP->sc_sp_offset. | |
6765 | * i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable. | |
6766 | (i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs. | |
6767 | * i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset): | |
6768 | Remove variables. | |
6769 | (i386nbsd_sc_reg_offset): New variable. | |
6770 | (i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and | |
6771 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
6772 | TDEP->sc_sp_offset. | |
6773 | * i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset): | |
6774 | Remove variables. | |
6775 | (i386obsd_sc_reg_offset): New variable. | |
6776 | (i386obsd_init_abi): Initialize TDEP->sc_reg_offset and | |
6777 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
6778 | TDEP->sc_sp_offset. | |
6779 | * i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in | |
6780 | i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check | |
6781 | for frame pointer offset in `struct sigcontext'. | |
6782 | ||
25ab4790 AC |
6783 | 2003-05-31 Andrew Cagney <[email protected]> |
6784 | ||
6785 | * mips-tdep.c (mips_gdbarch_init): Do not set the deprecated | |
6786 | architecture methods call_dummy_words, sizeof_call_dummy_words, | |
6787 | push_return_address, store_struct_return, and fix_call_dummy. Set | |
6788 | push_dummy_call instead of deprecated_push_arguments. | |
6789 | (mips_store_struct_return): Delete function. | |
6790 | (mips_fix_call_dummy): Delete function. | |
6791 | (mips_push_return_address): Delete function. | |
6792 | (mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set | |
6793 | RA_REGNUM and T9_REGNUM. | |
6794 | (mips_n32n64_push_dummy_call): Ditto for | |
6795 | mips_n32n64_push_arguments. | |
6796 | (mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments. | |
6797 | (mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments. | |
6798 | ||
6a65450a AC |
6799 | 2003-05-31 Andrew Cagney <[email protected]> |
6800 | ||
6801 | * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename | |
6802 | "dummy_addr" to "bp_addr". | |
6803 | * infcall.c (call_function_by_hand): Pass "funaddr" to | |
6804 | gdbarch_push_dummy_call. | |
6805 | * gdbarch.h, gdbarch.c: Re-generate. | |
6806 | * i386-tdep.c (i386_push_dummy_call): Update. | |
6807 | * arm-tdep.c (arm_push_dummy_call): Update. | |
6808 | * d10v-tdep.c (d10v_push_dummy_call): Update. | |
6809 | ||
c4f35dd8 MK |
6810 | 2003-05-31 Mark Kettenis <[email protected]> |
6811 | ||
6812 | * x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove | |
6813 | variable declarations. | |
6814 | (x86_64_register_number, x86_64_register_name): Remove prototypes. | |
6815 | (x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call, | |
6816 | x86_64_linux_in_sigtramp, x86_64_linux_frame_chain, | |
6817 | x86_64_init_frame_pc, x86_64_init_frame_pc, | |
6818 | x86_64_function_has_prologue): Remove prototypes. | |
6819 | (X86_64_NUM_GREGS): New define. | |
6820 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes. | |
6821 | * x86-64-tdep.c: Don't include "dwarf2cfi.h". Include | |
6822 | "dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h". | |
6823 | (RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM, | |
6824 | XMM1_REGNUM): Remove defines. | |
6825 | (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM, | |
6826 | X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM, | |
6827 | X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, | |
6828 | X86_64_XMM1_REGNUM): New defines. | |
6829 | (struct x86_64_register_info): Renamed from `struct | |
6830 | register_info'. Remove `size' member. | |
6831 | (x86_64_register_info_table): Remove variable. | |
6832 | (x86_64_register_info): New variable. | |
6833 | (X86_64_NUM_REGS): New define. | |
6834 | (X86_64_NUM_GREGS): Remove define. | |
6835 | (x86_64_num_regs, x86_64_num_gregs): Remove variables. | |
6836 | (x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length): | |
6837 | Remove variables. | |
6838 | (x86_54_dwarf2_reg_to_regnum): Remove function. | |
6839 | (x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables. | |
6840 | (x86_64_dwarf_reg_to_regnum): New function. | |
6841 | (x86_64_register_name): Rewrite. | |
6842 | (x86_64_register_raw_size): Remove function. | |
6843 | (x86_64_register_byte_table): Remove variable. | |
6844 | (x86_64_register_byte): Remove function. | |
6845 | (x86_64_register_virtual_type): Remove function. | |
6846 | (x86_64_register_type): New function. | |
6847 | (x86_64_register_convertible, x86_64_register_convert_to_virtual, | |
6848 | x86_64_register_convert_to_raw): Remove functions. | |
6849 | (x86_64_push_return_address, x86_64_pop_frame): Remove functon. | |
6850 | (x86_64_use_struct_convention): Make static. Adjust for renamed | |
6851 | defines. | |
6852 | (x86_64_frame_init_saved_regs): Remove function. | |
6853 | (x86_64_push_arguments): Make static. Change to accept a regcache | |
6854 | as argument. | |
6855 | (x86_64_store_return_value, x86_64_extract_return_value): Make | |
6856 | static. Rewrite based on i386 counterparts. | |
6857 | (x86_64_push_dummy_call): New function. | |
6858 | (X86_64_NUM_SAVED_REGS): New define. | |
6859 | (x86_64_register_number): Remove function. | |
6860 | (x86_64_store_struct_return): Remove function. | |
6861 | (x86_64_frameless_function_invocation, | |
6862 | x86_64_function_has_prologue): Remove functions. | |
6863 | (PROLOG_BUFSIZE): Remove define. | |
6864 | (struct x86_64_frame_cache): New structure. | |
6865 | (x86_64_alloc_frame_cache, x86_64_analyze_prologue, | |
6866 | x86_64_frame_cache, x86_64_frame_this_id, | |
6867 | x86_64_frame_prev_register, x86_64_frame_p, | |
6868 | x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id, | |
6869 | x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New | |
6870 | functions. | |
6871 | (x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New | |
6872 | variables. | |
6873 | (x86_64_skip_prologue): Rewrite in terms of | |
6874 | x86_64_analyze_prologue. | |
6875 | (x86_64_frame_base_address): New function. | |
6876 | (x86_64_frame_base): New variable. | |
6877 | (x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite. | |
6878 | (x86_64_init_abi): Set register_type and push_dummy_call. Don't | |
6879 | set deprecated_fp_regnum, deprecated_register_size, | |
6880 | deprecated_register_bytes, register_raw_size, register_byte, | |
6881 | register_virtual_type, register_convertiable, | |
6882 | register_convert_to_virtual, convert_to_raw, | |
6883 | deprecated_get_saved_register, deprecated_target_read_fp, | |
6884 | deprecated_push_arguments, deprecated_push_return_address, | |
6885 | deprecated_pop_frame, deprecated_store_struct_return, | |
6886 | deprecated_frame_init_saved_regs, deprecated_frame_chain, | |
6887 | frameless_function_invocation, deprecated_frame_saved_pc, | |
6888 | deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp, | |
6889 | dwarf2_build_frame_info, deprecated_init_extra_frame_info, | |
6890 | deprecated_init_frame_pc and virtual_frame_pointer. Call | |
6891 | frame_unwind_append_predicate to register x86_64_sigtramp_frame_p | |
6892 | and x86_64_frame_p. Call frame_base_set_default to register | |
6893 | x86_64_frame_base. | |
6894 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines. | |
6895 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New functions. | |
6896 | (_initialize_x86_64_tdep): Remove function. | |
6897 | * x86-64-linux-tdep.c: Don't include "dwarf2cfi.h". | |
6898 | (LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET, | |
6899 | LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't | |
6900 | define. | |
6901 | (X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define. | |
6902 | (x86_64_linux_sigcontext_addr): Rewrite. | |
6903 | (x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call, | |
6904 | x86_64_linux_frame_saved_pc): Remove functions. | |
6905 | (x86_64_linux_pc_in_sigtramp): Renamed from | |
6906 | x86_64_linux_in_sigtramp. Try harder to recognize a signal | |
6907 | trampoline. | |
6908 | (x86_64_linux_frame_chain, x86_64_init_frame_pc): | |
6909 | Remove_functions. | |
6910 | (x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize | |
6911 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
6912 | * x86-64-linux-nat.c: Sync with i386-linux-tdep.c. | |
6913 | (x86_64_regmap): Rename to regmap. | |
6914 | (GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of | |
6915 | x86_64_num_gregs. | |
6916 | (supply_gregset, fill_gregset): Likewise. Use regmap instead of | |
6917 | x86_64_regmap. | |
6918 | (x86_64_fxsave_offset): Remove function. | |
6919 | (supply_fpregset): Simply call x86_64_supply_fxsave. | |
6920 | (fill_fpregset): Simply call x86_64_fill_fxsave. | |
6921 | (fetch_inferior_registers, store_inferior_registers): Avoid | |
6922 | asignment in if-statement. | |
6923 | (LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn, | |
6924 | SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET, | |
6925 | LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines. | |
6926 | (fetch_core_registers): Remove function. | |
6927 | (linux_elf_core_fns): Remove. | |
6928 | (offsetoff): Don't define. | |
6929 | (_initialize_x86_64_linux_nat, kernel_u_size): Remove functions. | |
6930 | * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o. | |
6931 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o, | |
6932 | add core-regset.o. | |
6933 | * config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for | |
6934 | protection against multiple includes instead of NM_X86_64_h. Add | |
6935 | various comments. Include "config/nm-linux.h". Don't include | |
6936 | <signal.h>. | |
6937 | (REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR, | |
6938 | GET_THREAD_SIGNALS): Remove defines. | |
6939 | (x86_64_register_u_addr, kernel_u_size, | |
6940 | lin_thread_get_thread_signals): Remove prototypes. | |
6941 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'. | |
6942 | [HAVE_LINK_H]: Don't include "solib.h". | |
6943 | [HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define. | |
6944 | * config/i386/tm-x86-64linux.h: Fix comments. | |
6945 | * Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o, | |
6946 | x86-64-tdep.o): Update dependencies. | |
6947 | ||
c25083af AC |
6948 | 2003-05-30 Andrew Cagney <[email protected]> |
6949 | ||
c8f55a7b AC |
6950 | * config/sparc/tm-sparc.h (sparc_extract_struct_value_address): |
6951 | Change parameter type to a "struct regcache *". | |
6952 | ||
c25083af AC |
6953 | * gdbarch.sh: Regardless of the multi-arch level, always define |
6954 | the macro when not already defined. | |
6955 | * gdbarch.h, gdbarch.c: Re-generate. | |
6956 | ||
fbe586ae RH |
6957 | 2003-05-30 Richard Henderson <[email protected]> |
6958 | ||
6959 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues. | |
6960 | (alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder. | |
6961 | (alpha_mdebug_frame_this_id): Likewise. | |
6962 | (alpha_mdebug_frame_prev_register): Likewise. | |
6963 | (alpha_mdebug_frame_base_address): Likewise. | |
6964 | (alpha_mdebug_frame_locals_address): Likewise. | |
6965 | (alpha_mdebug_frame_args_address): Likewise. | |
6966 | (struct alpha_mdebug_unwind_cache): Remove in_prologue_cache. | |
6967 | * alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start. | |
6968 | (alpha_heuristic_frame_unwind_cache): Make static; add missing | |
6969 | loop increment. | |
6970 | (alpha_heuristic_frame_this_id): Make static. | |
6971 | (alpha_heuristic_frame_prev_register): Likewise. | |
6972 | (alpha_heuristic_frame_base_address): Likewise. | |
6973 | * alpha-tdep.h: Update. | |
6974 | ||
acd5c798 MK |
6975 | 2003-05-30 Mark Kettenis <[email protected]> |
6976 | ||
6977 | * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype. | |
6978 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove | |
6979 | defenitions. | |
6980 | (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions. | |
6981 | * i386-tdep.c: Mark functions that are 64-bit safe as such. | |
6982 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
6983 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
6984 | I386_ST0_REGNUM): New defines. | |
6985 | (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek, | |
6986 | codestream_get): Remove define. | |
6987 | (codestream_next_addr, condestream_addr, condestream_buf, | |
6988 | codestream_off, codestream_cnt): Remove variables. | |
6989 | (codestream_fill, codestream_seek, codestream_read): Remove | |
6990 | functions. | |
6991 | (i386_follow_jump): Rewrite to avoid usage of removed codestream | |
6992 | functionality. | |
6993 | (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain, | |
6994 | i386_sigtramp_saved_pc, i386_sigtramp_saved_sp, | |
6995 | i386_frame_saved_pc, i386_saved_pc_after_call, | |
6996 | i386_frame_num_args, i386_frame_init_saved_regs, | |
6997 | i386_push_return_address, i386_do_pop_frame, i386_pop_frame, | |
6998 | i386_push_arguments): Remove functions. | |
6999 | (i386_skip_prologue): Rewrite to avoid usage of removed codestream | |
7000 | functionality. Use i386_analyze_prologue instead of | |
7001 | i386_get_frame_setup. | |
7002 | (I386_NUM_SAVED_REGS): New define. | |
7003 | (struct i386_frame_cache): New structure. | |
7004 | (i386_alloc_frame_cache, i386_analyze_struct_return, | |
7005 | i386_skip_probe, i386_analyze_frame_setup, | |
7006 | i386_analyze_register_saves, i386_analyze_prologue, | |
7007 | i386_unwind_pc, i386_frame_cache, i386_frame_this_id, | |
7008 | i386_frame_prev_register, i386_sigtramp_frame_cache, | |
7009 | i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register, | |
7010 | i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address, | |
7011 | i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call): | |
7012 | New functions. | |
7013 | (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base): | |
7014 | New variables. | |
7015 | (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of | |
7016 | I386_EAX_REGNUM and I386_EDX_REGNUM. | |
7017 | (i386_extract_return_value, i386_store_return_value): Use | |
7018 | I386_ST0_REGNUM where appropriate. | |
7019 | (i386_extract_struct_value_address): Rewrite to use extract_address. | |
7020 | (i386_svr4_pc_in_sigtramp): Add comment. | |
7021 | (i386_svr4_sigcontext_addr): Rewrite. | |
7022 | (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and | |
7023 | TDEP->sc_sp_offset. | |
7024 | (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set | |
7025 | sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms | |
7026 | of new defines. Set push_dummy_call, don't set | |
7027 | deprecated_push_arguments, deprecated_push_return_address, | |
7028 | deprecated_pop_frame. Don't set parm_boundary. Don't set | |
7029 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
7030 | deprecated_saved_pc_after_call. Set unwind_dummy_id, | |
7031 | save_dummy_frame_tos, unwind_pc. Call | |
7032 | frame_unwind_append_predicate and frame_base_set_default. Don't | |
7033 | set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum. | |
7034 | Don't set frameless_function_invocation. Don't set | |
7035 | deprecated_register_bytes, deprecated_register_size, | |
7036 | deprecated_call_dummy_words and deprecated_sizeof_call_dummy. | |
7037 | * i386-linux-tdep.c: Fix formatting in some comments. | |
7038 | (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0, | |
7039 | LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1, | |
7040 | LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, | |
7041 | LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, | |
7042 | LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop | |
7043 | redundant parentheses. | |
7044 | (I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define. | |
7045 | (i386_linux_sigcontext_addr): Use it. Rewrite. | |
7046 | (find_minsym_and_objfile): Change name of second argument. | |
7047 | (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers | |
7048 | changed. Use frame_pc_unwind instead of | |
7049 | DEPRECATED_SAVED_PC_AFTER_CALL. | |
7050 | (i386_linux_init_abi): Don't set deprecated_register_bytes. | |
7051 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite. | |
7052 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame | |
7053 | unwinder. | |
7054 | * i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and | |
7055 | "dummy-frame.h". | |
7056 | (i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed. | |
7057 | (_initialize_i386_cygwin_tdep): New prototype. | |
7058 | (i386_cygwin_init_abi): Don't set deprecated_frame_chain and | |
7059 | deprecated_frame_chain_valid. | |
7060 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set | |
7061 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
7062 | Rely on the SVR4 defaults. | |
7063 | * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o. | |
7064 | * Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies. | |
7065 | ||
c89b70f1 AC |
7066 | 2003-05-30 Andrew Cagney <[email protected]> |
7067 | ||
7068 | * infcall.c (call_function_by_hand): Always call | |
7069 | DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case. | |
7070 | ||
85b32d22 RH |
7071 | 2003-05-30 Richard Henderson <[email protected]> |
7072 | ||
c89b70f1 AC |
7073 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop |
7074 | increment. | |
85b32d22 | 7075 | |
bfe51b1e JB |
7076 | 2003-05-29 Jim Blandy <[email protected]> |
7077 | ||
7078 | Use gdbarch methods for solib stuff on PowerPC Linux. | |
7079 | * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, | |
7080 | SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will | |
7081 | show through. | |
7082 | * ppc-linux-tdep.c (ppc_linux_init_abi): Register | |
7083 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, | |
7084 | giving the same effect as the #definitions above. | |
7085 | ||
1abf022c AF |
7086 | 2003-05-29 Adam Fedor <[email protected]> |
7087 | ||
7088 | * objc-lang.c (CONVERT_FUNCPTR): Remove macro | |
7089 | (find_implementation_from_class): Replace it with the standard | |
7090 | case i.e. do nothing. | |
7091 | ||
d2427a71 RH |
7092 | 2003-05-29 Richard Henderson <[email protected]> |
7093 | ||
7094 | * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New. | |
7095 | (alpha_linux_sigtramp_offset): Use it. Make static. | |
7096 | (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn; | |
7097 | update for new frame model. | |
7098 | * alpha-mdebug-tdep.c: New file. | |
7099 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c. | |
7100 | (alpha_osf1_init_abi): Install it. | |
7101 | * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c. | |
7102 | (linked_proc_desc_table): Remove. | |
7103 | (alpha_frame_past_sigtramp_frame): Remove. | |
7104 | (alpha_dynamic_sigtramp_offset): Remove. | |
7105 | (ALPHA_PROC_SIGTRAMP_MAGIC): Remove. | |
7106 | (alpha_proc_desc_is_dyn_sigtramp): Remove. | |
7107 | (alpha_set_proc_desc_is_dyn_sigtramp): Remove. | |
7108 | (push_sigtramp_desc): Remove. | |
7109 | (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM. | |
7110 | (alpha_cannot_store_register): Likewise. | |
7111 | (alpha_sigcontext_addr): Remove. | |
7112 | (alpha_find_saved_regs): Remove. | |
7113 | (alpha_frame_init_saved_regs): Remove. | |
7114 | (alpha_init_frame_pc_first): Remove. | |
7115 | (read_next_frame_reg): Remove. | |
7116 | (alpha_frame_saved_pc): Remove. | |
7117 | (alpha_saved_pc_after_call): Remove. | |
7118 | (temp_proc_desc, temp_saved_regs): Remove. | |
7119 | (alpha_about_to_return): Remove. | |
7120 | (cached_proc_desc): Remove. | |
7121 | (alpha_frame_chain): Remove. | |
7122 | (alpha_print_extra_frame_info): Remove. | |
7123 | (alpha_init_extra_frame_info): Remove. | |
7124 | (alpha_frame_locals_address): Remove. | |
7125 | (alpha_frame_args_address): Remove. | |
7126 | (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR. | |
7127 | (alpha_push_dummy_frame): Remove. | |
7128 | (alpha_pop_frame): Remove. | |
7129 | (alpha_after_prologue): Rename from after_prologue; remove mdebug bits. | |
7130 | (alpha_read_insn): New. | |
7131 | (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust | |
7132 | for different insn encodings. | |
7133 | (alpha_in_lenient_prologue): Remove. | |
7134 | (struct alpha_sigtramp_unwind_cache): New. | |
7135 | (alpha_sigtramp_frame_unwind_cache): New. | |
7136 | (alpha_sigtramp_register_address): New. | |
7137 | (alpha_sigtramp_frame_this_id): New. | |
7138 | (alpha_sigtramp_frame_prev_register): New. | |
7139 | (alpha_sigtramp_frame_unwind): New. | |
7140 | (alpha_sigtramp_frame_p): New. | |
7141 | (struct alpha_heuristic_unwind_cache): New. | |
7142 | (alpha_heuristic_proc_start): Rename from heuristic_proc_start; | |
7143 | don't count nop insns that occur between functions. | |
7144 | (alpha_heuristic_frame_unwind_cache): New; incorporate much of | |
7145 | heuristic_proc_desc, but without the mdebug wrapping. | |
7146 | (alpha_heuristic_frame_this_id): New. | |
7147 | (alpha_heuristic_frame_prev_register): New. | |
7148 | (alpha_heuristic_frame_unwind): New. | |
7149 | (alpha_heuristic_frame_p): New. | |
7150 | (alpha_heuristic_frame_base_address): New. | |
7151 | (alpha_heuristic_frame_base): New. | |
7152 | (alpha_unwind_dummy_id): New. | |
7153 | (alpha_unwind_pc): New. | |
7154 | (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of | |
7155 | frame related deprecated initializations; install replacements. | |
7156 | (alpha_dump_tdep): Remove. | |
7157 | * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame. | |
7158 | (alpha_read_insn, alpha_after_prologue, | |
7159 | alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id, | |
7160 | alpha_heuristic_frame_prev_register, | |
7161 | alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare. | |
7162 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
7163 | * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove. | |
7164 | * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove. | |
7165 | ||
93ec1121 AC |
7166 | 2003-05-29 Andrew Cagney <[email protected]> |
7167 | ||
7168 | * gdb_assert.h (gdb_assert_fail): Provide different definitions | |
7169 | dependant on the availability of ASSERT_FUNCTION. | |
7170 | (ASSERT_FUNCTION): Do not define when there is no function name. | |
7171 | ||
98f08d3d KB |
7172 | 2003-05-29 Kevin Buettner <[email protected]> |
7173 | ||
7174 | From Jimi X <[email protected]>: | |
7175 | * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code. | |
7176 | ||
0897f59b JB |
7177 | 2003-05-28 Jim Blandy <[email protected]> |
7178 | ||
7179 | * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth | |
7180 | argument to ptrace to int; the system headers should give it the | |
7181 | right type, and pointers don't fit in ints on powerpc64-*-*. | |
7182 | ||
14898363 L |
7183 | 2003-05-28 H.J. Lu <[email protected]> |
7184 | ||
7185 | * dwarf2read.c (process_die): Handle DW_TAG_try_block and | |
7186 | DW_TAG_catch_block. | |
7187 | ||
a7a48797 EZ |
7188 | 2003-05-26 Elena Zannoni <[email protected]> |
7189 | ||
7190 | * stabsread.c (dbx_lookup_type): Make static. | |
7191 | (read_type): Ditto. | |
7192 | (add_undefined_type): Ditto. | |
7193 | * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do | |
7194 | not export. | |
7195 | ||
f5479e9c EZ |
7196 | 2003-05-26 Elena Zannoni <[email protected]> |
7197 | ||
7198 | * hpread.c (hpread_has_name): Make static. | |
7199 | (hpread_psymtab_to_symtab): Ditto. | |
7200 | (file_exists): Ditto. | |
7201 | (hpread_call_pxdb): Ditto. | |
7202 | (hpread_pxdb_needed): Ditto. | |
7203 | (hpread_quick_traverse): Ditto. | |
7204 | (hpread_get_header): Ditto. | |
7205 | (hpread_get_lntt): Ditto. | |
7206 | (hpread_get_slt): Ditto. | |
7207 | (class_of): Ditto. | |
7208 | ||
eb2e12d7 AS |
7209 | 2003-05-25 Andreas Schwab <[email protected]> |
7210 | ||
78bf922a AS |
7211 | * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of |
7212 | stack_align and deprecated_extra_stack_alignment_needed. | |
7213 | (m68k_stack_align): Delete. | |
7214 | ||
eb2e12d7 AS |
7215 | * m68k-tdep.c (m68k_register_raw_size): Remove cast. |
7216 | (m68k_register_virtual_size): Likewise. | |
7217 | (altos_skip_prologue): Remove obsolete function. | |
7218 | (isi_frame_num_args): Likewise. | |
7219 | (news_frame_num_args): Likewise. | |
7220 | (m68k_fix_call_dummy): Make static. | |
7221 | (m68k_push_dummy_frame): Likewise. | |
7222 | (m68k_pop_frame): Likewise. | |
7223 | (m68k_skip_prologue): Likewise. | |
7224 | (m68k_frame_init_saved_regs): Likewise. | |
7225 | (m68k_saved_pc_after_call): Likewise. | |
7226 | (m68k_get_longjmp_target): Make multi-arch. | |
7227 | (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep | |
7228 | structure. Register m68k_get_longjmp_target if enabled. | |
7229 | * m68k-tdep.h (struct gdbarch_tdep): Define. | |
7230 | * config/m68k/tm-m68k.h: Don't include "regcache.h". | |
7231 | ||
7232 | * Makefile.in (config.status): Also depend on configure.tgt | |
7233 | and configure.host. | |
7234 | (m68klinux-tdep.o): Update dependencies. | |
7235 | * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1. | |
7236 | * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define. | |
7237 | (M68K_LINUX_JB_PC): Define. | |
7238 | (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp | |
7239 | and take additional parameter. | |
7240 | (m68k_linux_sigtramp_saved_pc): Update. | |
7241 | (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register | |
7242 | m68k_linux_pc_in_sigtramp, in_plt_section, | |
7243 | find_solib_trampoline_target. | |
7244 | * config/m68k/tm-linux.h: Don't include any tm headers. | |
7245 | (START_INFERIOR_TRAPS_EXPECTED): Remove definition. | |
7246 | (JB_ELEMENT_SIZE): Likewise. | |
7247 | (JB_PC): Likewise. | |
7248 | (GET_LONGJMP_TARGET): Likewise. | |
7249 | (IN_SIGTRAMP): Likewise. | |
7250 | (SVR4_SHARED_LIBS): Define this and include "solib.h". | |
7251 | ||
eb2c22dc MK |
7252 | 2003-05-25 Mark Kettenis <[email protected]> |
7253 | ||
7254 | * sparc-tdep.c (sparc32_do_push_arguments): New function. | |
7255 | (sparc32_push_arguments): Re-implement by calling | |
7256 | sparc32_do_push_arguments. | |
7257 | ||
44b7b84e MK |
7258 | 2003-05-25 Mark Kettenis <[email protected]> |
7259 | ||
7260 | * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM, | |
7261 | SPARC_O1_REGNUM): New defines. | |
7262 | (sparc32_extract_return_value): Rewrite to operate on a regcache. | |
7263 | (sparc32_store_return_value): New function. | |
7264 | (sparc_extract_struct_value_address): Rewrite to operate on a | |
7265 | regcache. | |
7266 | (sparc_gdbarch_init): Don't set | |
7267 | deprecated_extract_struct_value_address. Set | |
7268 | extract_struct_value_address instead. Don't set | |
7269 | deprecated_extract_return_value and deprecated_store_return_value | |
7270 | for 32-bit targets. Set extract_return_value and | |
7271 | store_return_value instead. | |
7272 | * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE, | |
7273 | DEPRECTAED_EXTRACT_RETURN_VALUE, | |
7274 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these. | |
7275 | (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE, | |
7276 | EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead. | |
7277 | (sparc_store_return_value): Remove prototype. | |
7278 | (sparc32_store_return_value): New prototype. | |
7279 | (sparc32_extract_return_value, sparc_extract_struct_value_address): | |
7280 | Adjust prototypes. | |
7281 | ||
f6ad61e3 MK |
7282 | 2003-05-24 Mark Kettenis <[email protected]> |
7283 | ||
7284 | * sparcnbsd-tdep.c: Include "gdb_string.h". | |
7285 | ||
b276f1bb AC |
7286 | 2003-05-23 Andrew Cagney <[email protected]> |
7287 | ||
7288 | * p-valprint.c (pascal_val_print): Replace extract_address with | |
7289 | the inline equivalent extract_unsigned_integer. | |
7290 | * jv-valprint.c (java_value_print): Ditto. | |
7291 | * ada-valprint.c (ada_val_print_1): Ditto. | |
7292 | * ada-lang.h (EXTRACT_ADDRESS): Ditto. | |
7293 | ||
e76c5fcc TR |
7294 | 2003-05-23 Theodore A. Roth <[email protected]> |
7295 | ||
7296 | * blockframe.c (frameless_look_for_prologue): Remove unused | |
7297 | after_prologue variable. | |
7298 | ||
2cdd89cb MK |
7299 | 2003-05-23 Mark Kettenis <[email protected]> |
7300 | ||
7301 | * blockframe.c (get_pc_function_start): Rewrite to avoid | |
7302 | asignments in if-statements. | |
7303 | ||
182d43bc EZ |
7304 | 2003-05-23 Raoul Gough <[email protected]> |
7305 | ||
7306 | Committed by Elena Zannoni <[email protected]>. | |
8ffd9b1b | 7307 | * coffread.c(coff_symtab_read): Do relocate static symbols from PE |
182d43bc EZ |
7308 | files, don't relocate absolute symbols (and do use mst_abs). |
7309 | ||
e8f3fcdd AC |
7310 | 2003-05-23 Andrew Cagney <[email protected]> |
7311 | ||
7312 | * objc-lang.c: Include "gdb_assert.h". | |
7313 | (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0. | |
7314 | (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros. | |
7315 | (gdb_check, gdb_check_fatal): Delete functions. | |
7316 | (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with | |
7317 | gdb_assert. | |
7318 | (parse_selector, parse_method, find_methods, find_imps): Ditto. | |
7319 | * Makefile.in (objc-lang.o): Update dependencies. | |
7320 | ||
3c23e6fb ILT |
7321 | 2003-05-22 Ian Lance Taylor <[email protected]> |
7322 | ||
7323 | * disasm.c (gdb_disassemble_info): Initialize disassemble_info | |
7324 | with fprintf_filtered, not fprintf_unfiltered. | |
7325 | ||
af1342ab AC |
7326 | 2003-05-22 Andrew Cagney <[email protected]> |
7327 | ||
7328 | * stack.c (frame_info): Inline extract_address, replacing it with | |
7329 | extract_unsigned_integer. | |
7330 | * findvar.c (unsigned_pointer_to_address): Ditto. | |
7331 | * dwarf2loc.c (dwarf_expr_read_reg): Ditto. | |
7332 | * dwarf2expr.c (dwarf2_read_address): Ditto. | |
7333 | * frame.c (frame_pc_unwind): Update comment. | |
7334 | * dummy-frame.c (deprecated_read_register_dummy): Update comment. | |
7335 | ||
47e242ec JJ |
7336 | 2003-05-22 Jeff Johnston <[email protected]> |
7337 | ||
7338 | * infptrace.c (detach): Call print_sys_errmsg rather than | |
7339 | perror_with_name to issue warning message when errno is non-zero | |
7340 | after calling ptrace detach. | |
7341 | ||
e2ac8128 JB |
7342 | 2003-05-21 J. Brobecker <[email protected]> |
7343 | ||
7344 | * config/pa/tm-hppa.h: Delete some unused macros. Move some | |
7345 | macro definitions from here... | |
7346 | * hppa-tdep.c: ...to there. | |
7347 | ||
92b3541e KB |
7348 | 2003-05-20 Kevin Buettner <[email protected]> |
7349 | ||
7350 | * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function | |
7351 | register_ptrace_addr(). Fix all callers. | |
7352 | ||
55809acb AS |
7353 | 2003-05-21 Andreas Schwab <[email protected]> |
7354 | ||
7355 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
7356 | dependencies. | |
7357 | * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the | |
7358 | end. | |
7359 | * m68klinux-tdep.c (m68k_linux_init_abi): New function. | |
7360 | (_initialize_m68k_linux_tdep): New function. | |
7361 | (m68k_linux_frame_saved_pc): Make static. | |
7362 | (m68k_linux_extract_return_value): Likewise. | |
7363 | (m68k_linux_store_return_value): Likewise. | |
7364 | (m68k_linux_extract_struct_value_address): Likewise. | |
7365 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): | |
7366 | Remove. | |
7367 | (DEPRECATED_STORE_RETURN_VALUE): Remove. | |
7368 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
7369 | (DEPRECATED_FRAME_SAVED_PC): Remove. | |
7370 | ||
0fbc10f7 KW |
7371 | 2003-05-20 Kris Warkentin <[email protected]> |
7372 | ||
7373 | * nto-tdep.c (fetch_core_registers): Match gdb's idea of | |
7374 | regset numbering rather than our own. | |
7375 | ||
58da2eb2 DC |
7376 | 2003-05-19 David Carlton <[email protected]> |
7377 | ||
7378 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*. | |
7379 | ||
1fcb5155 DC |
7380 | 2003-05-19 David Carlton <[email protected]> |
7381 | ||
7382 | Partial fix for PR c++/827. | |
7383 | * cp-support.h: Include symtab.h. | |
7384 | Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace. | |
7385 | * cp-namespace.c: Update contributors. | |
7386 | (cp_lookup_symbol_nonlocal): New. | |
7387 | (lookup_namespace_scope, cp_lookup_symbol_namespace) | |
7388 | (lookup_symbol_file): Ditto. | |
7389 | * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal. | |
7390 | * block.h: Declare block_scope, block_using, block_global_block. | |
7391 | * block.c (block_scope): New. | |
7392 | (block_using, block_global_block): Ditto. | |
7393 | * Makefile.in (cp_support_h): Depend on symtab_h. | |
7394 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc. | |
7395 | ||
5f9a71c3 DC |
7396 | 2003-05-19 David Carlton <[email protected]> |
7397 | ||
7398 | * language.h (struct language_defn): Add 'la_value_of_this' | |
7399 | and 'la_lookup_symbol_nonlocal' members. | |
7400 | * symtab.h: Declare basic_lookup_symbol_nonlocal, | |
7401 | lookup_symbol_static, lookup_symbol_global, | |
7402 | lookup_symbol_aux_block. | |
7403 | * symtab.c (lookup_symbol_aux): Call language hooks to determine | |
7404 | if we should search fields of this and how to do static/global | |
7405 | lookup. | |
7406 | (lookup_symbol_aux_block): Make extern. | |
7407 | (basic_lookup_symbol_nonlocal): New. | |
7408 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
7409 | * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and | |
7410 | 'la_lookup_symbol_nonlocal' members. | |
7411 | * c-lang.c (c_language_defn, cplus_language_defn) | |
7412 | (asm_language_defn, minimal_language_defn): Ditto. | |
7413 | * jv-lang.c (java_language_defn): Ditto. | |
7414 | * language.c (unknown_language_defn, auto_language_defn) | |
7415 | (local_language_defn): Ditto. | |
7416 | * m2-lang.c (m2_language_defn): Ditto. | |
7417 | * objc-lang.c (objc_language_defn): Ditto. | |
7418 | * scm-lang.c (scm_language_defn): Ditto. | |
7419 | * f-lang.c (f_language_defn): Ditto, and include value.h as well. | |
7420 | * p-lang.c (pascal_language_defn): Ditto for both. | |
7421 | * Makefile.in (f-lang.o): Depend on value_h. | |
7422 | (p-lang.o): Ditto. | |
7423 | ||
89a9d1b1 DC |
7424 | 2003-05-19 David Carlton <[email protected]> |
7425 | ||
7426 | * block.h: Declare block_static_block. | |
7427 | * block.c (block_static_block): New. | |
7428 | * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to | |
7429 | lookup_symbol_aux_local, calling block_static_block instead. | |
7430 | (lookup_symbol_aux_local): Delete 'static_block' argument. | |
7431 | ||
eed3f8ab DC |
7432 | 2003-05-19 David Carlton <[email protected]> |
7433 | ||
7434 | * symtab.c (lookup_symbol_aux): Delete #if 0 hunk. | |
7435 | ||
a09d8bda ML |
7436 | 2003-05-19 Michal Ludvig <[email protected]> |
7437 | ||
7438 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix | |
7439 | register numbers mapping. | |
7440 | ||
69636828 AF |
7441 | 2003-05-18 Adam Fedor <[email protected]> |
7442 | ||
7443 | * symtab.c (completion_list_objc_symbol): New function. | |
7444 | (make_symbol_completion_list): Use it to add ObjC symbols | |
7445 | when looking though the list. | |
7446 | (language_search_unquoted_string): New function. | |
7447 | (make_file_symbol_completion_list): Use it. | |
7448 | ||
55baeb84 AS |
7449 | 2003-05-18 Andreas Schwab <[email protected]> |
7450 | ||
d0b45d99 AS |
7451 | * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update |
7452 | dependencies. | |
7453 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define | |
7454 | as m68k_linux_extract_return_value. | |
7455 | (DEPRECATED_STORE_RETURN_VALUE): Define as | |
7456 | m68k_linux_store_return_value. | |
7457 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
7458 | m68k_linux_extract_struct_value_address. | |
7459 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use | |
7460 | get_next_frame, get_frame_base, get_frame_pc. | |
7461 | (m68k_linux_frame_saved_pc): Use get_frame_base. | |
7462 | (m68k_linux_extract_return_value): New function. | |
7463 | (m68k_linux_store_return_value): New function. | |
7464 | (m68k_linux_extract_struct_value_address): New function. | |
7465 | * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target. | |
7466 | ||
55baeb84 AS |
7467 | * c-exp.y (typebase): Remove duplicate occurence of |
7468 | `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead | |
8ffd9b1b | 7469 | of lookup_signed_typename. |
55baeb84 | 7470 | |
b6b08ebf MK |
7471 | 2003-05-18 Mark Kettenis <[email protected]> |
7472 | ||
7473 | * dwarf2loc.c (find_location_expression): Change type of second | |
7474 | argument to `size_t *'. | |
7475 | (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t | |
7476 | for size variable. | |
7477 | ||
5ad1c190 DC |
7478 | 2003-05-18 David Carlton <[email protected]> |
7479 | ||
7480 | * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to | |
7481 | 'linkage_name'. Add comment. | |
7482 | (lookup_symbol_aux_local): Rename 'mangled_name' argument to | |
7483 | 'linkage_name'. | |
7484 | (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
7485 | (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms) | |
7486 | (lookup_block_symbol): Ditto. | |
7487 | ||
b8b527c5 AC |
7488 | 2003-05-16 Andrew Cagney <[email protected]> |
7489 | ||
7490 | * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES. | |
7491 | * gdbarch.h, gdbarch.c: Re-generate. | |
7492 | * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference. | |
7493 | * TODO (REGISTER_BYTES): Delete reference. | |
7494 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
7495 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7496 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
7497 | * vax-tdep.c (vax_gdbarch_init): Update. | |
7498 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7499 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7500 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7501 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7502 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7503 | * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. | |
7504 | (ns32k_gdbarch_init_32382): Update. | |
7505 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7506 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7507 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
7508 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7509 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7510 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7511 | * i386-linux-tdep.c (i386_linux_init_abi): Update. | |
7512 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
7513 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7514 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7515 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7516 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7517 | * arm-tdep.c (arm_gdbarch_init): Update. | |
7518 | * sparc-tdep.c (sparc_pop_frame): Update. | |
7519 | * rs6000-tdep.c (rs6000_pop_frame): Update. | |
7520 | * remote.c (init_remote_state): Update. | |
7521 | (remote_prepare_to_store): Update. | |
7522 | * remote-vx.c (vx_prepare_to_store): Update. | |
7523 | * remote-sds.c (sds_fetch_registers): Update. | |
7524 | (sds_prepare_to_store): Update. | |
7525 | * remote-array.c: Update. | |
7526 | * regcache.c (init_legacy_regcache_descr): Update. | |
7527 | (init_regcache_descr): Update. | |
7528 | * mips-tdep.c (mips_eabi_extract_return_value): Update. | |
7529 | (mips_o64_extract_return_value): Update. | |
7530 | * irix5-nat.c (fetch_core_registers): Update. | |
7531 | * irix4-nat.c (fetch_core_registers): Update. | |
7532 | * i386-tdep.h: Update. | |
7533 | * hppa-tdep.c (pa_do_registers_info): Update. | |
7534 | (pa_do_strcat_registers_info): Update. | |
7535 | * cris-tdep.c (cris_register_bytes_ok): Update. | |
7536 | * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update. | |
7537 | * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update. | |
7538 | * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update. | |
7539 | * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update. | |
7540 | * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update. | |
7541 | * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update. | |
7542 | * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update. | |
7543 | * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update. | |
7544 | * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update. | |
7545 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update. | |
7546 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update. | |
7547 | * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update. | |
7548 | (REGISTER_BYTES_OK): Update. | |
7549 | * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update. | |
7550 | * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update. | |
7551 | ||
ee2842e2 ILT |
7552 | 2003-05-16 Ian Lance Taylor <[email protected]> |
7553 | ||
7554 | * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define. | |
7555 | (vax_print_insn, print_insn_arg): Remove static functions. | |
7556 | (vax_gdbarch_init): Call set_gdbarch_print_insn with | |
7557 | print_insn_vax from opcodes library. | |
7558 | (_initialize_vax_tdep): Don't set deprecated_tm_print_insn. | |
7559 | ||
973177d3 AC |
7560 | 2003-05-15 Andrew Cagney <[email protected]> |
7561 | ||
aaab4dba AC |
7562 | * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration. |
7563 | * target.h (memory_breakpoint_from_pc): Delete declaration. | |
7564 | * mem-break.c (memory_breakpoint_from_pc): Delete function. | |
7565 | * arch-utils.c (legacy_breakpoint_from_pc): Delete function. | |
7566 | * monitor.c (monitor_insert_breakpoint): Use | |
7567 | gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc. | |
7568 | * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default. | |
7569 | * gdbarch.h, gdbarch.c: Re-generate. | |
7570 | * sparc-tdep.c (sparc_breakpoint_from_pc): New function. | |
7571 | (sparc_gdbarch_init): Set breakpoint_from_pc to | |
7572 | sparc_breakpoint_from_pc. | |
7573 | * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro. | |
7574 | (BREAKPOINT_FROM_PC): Define. | |
7575 | (sparc_breakpoint_from_pc): Declare. | |
7576 | * hppa-tdep.c (hppa_breakpoint_from_pc): New function. | |
7577 | * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare. | |
7578 | (BREAKPOINT_FROM_PC): Define. | |
7579 | (BREAKPOINT): Delete macro. | |
7580 | * target.h: Update comment. | |
7581 | * s390-tdep.c (s390_gdbarch_init): Update comments. | |
7582 | * remote.c: Update comments. | |
7583 | * remote-mips.c: Update comments. | |
7584 | * proc-api.c (write_with_trace): Do not check for a breakpoint. | |
7585 | * mem-break.c: Update comment. | |
7586 | * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT. | |
7587 | (ia64_memory_insert_breakpoint): Update. | |
7588 | * config/sparc/tm-sparc.h: Update comment. | |
7589 | * config/pa/tm-hppa64.h: Update comment. | |
7590 | * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
7591 | (rs6000_breakpoint_from_pc): Update. | |
7592 | * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
7593 | (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro. | |
7594 | (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro. | |
7595 | (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro. | |
7596 | (mips_breakpoint_from_pc): Update. | |
7597 | (mips_dump_tdep): Update. | |
7598 | ||
e06963ff AC |
7599 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro. |
7600 | * minsyms.c (lookup_minimal_symbol): Inline | |
7601 | DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp. | |
7602 | ||
973177d3 AC |
7603 | * c-lang.c (c_printstr): Delete "extern inspect_it" declaration. |
7604 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
7605 | * p-lang.c (pascal_printstr): Ditto. | |
7606 | * objc-lang.c (objc_printstr): Ditto. | |
7607 | * m2-lang.c (m2_printstr): Ditto. | |
7608 | * jv-valprint.c (java_print_value_fields): Ditto. | |
7609 | * f-lang.c (f_printstr): Ditto. | |
7610 | * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h". | |
7611 | * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and | |
7612 | for repeat_count_threshold. | |
7613 | * Makefile.in (cp-valprint.o): Update dependencies. | |
7614 | ||
5ea2bd7f | 7615 | 2003-05-15 Jeff Johnston <[email protected]> |
8ffd9b1b | 7616 | |
5ea2bd7f JJ |
7617 | * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. |
7618 | (examine_prologue): Support looking through leaf functions, knowing | |
8ffd9b1b AJ |
7619 | they start with mov r2,r12. Support skipping over indirect stores |
7620 | of the input registers. Upon hitting a non-nop branch instruction | |
7621 | or predicated instruction, bail out by setting lim_pc to the current | |
7622 | pc value in the loop. At the end, if the lim_pc value is still | |
5ea2bd7f JJ |
7623 | beyond our calculated value and we have trust_limit set, |
7624 | use the lim_pc value. | |
7625 | ||
cc8c88f3 AC |
7626 | 2003-05-15 Andrew Cagney <[email protected]> |
7627 | ||
7628 | * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename | |
7629 | generic_find_dummy_frame. | |
7630 | * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update. | |
7631 | (deprecated_generic_find_dummy_frame): Update. | |
7632 | (deprecated_read_register_dummy): Update. | |
7633 | * frame.c (deprecated_generic_get_saved_register): Update. | |
7634 | ||
909cd28e TR |
7635 | 2003-05-15 Theodore A. Roth <[email protected]> |
7636 | ||
7637 | * avr-tdep.c (avr_breakpoint_from_pc): New function. | |
7638 | (avr_gdbarch_init): Set breakpoint_from_pc method. | |
7639 | ||
b923b08d AC |
7640 | 2003-05-15 Andrew Cagney <[email protected]> |
7641 | ||
7642 | * regcache.c (build_regcache): Set deprecated_register_valid | |
7643 | directly. | |
7644 | (deprecated_grub_regcache_for_register_valid): Delete function. | |
7645 | * regcache.h (deprecated_grub_regcache_for_register_valid): Delete | |
7646 | declaration. | |
7647 | ||
ae2f03ac | 7648 | 2003-05-15 David Carlton <[email protected]> |
8ffd9b1b AJ |
7649 | |
7650 | Committed by Elena Zannoni <[email protected]> | |
fbe586ae RH |
7651 | * symtab.c (lookup_symbol_aux): Delete calls to |
7652 | lookup_symbol_aux_minsyms. | |
7653 | (lookup_symbol_aux_minsyms): Comment out function and | |
7654 | prototype. Delete lookup by mangled name. | |
ae2f03ac | 7655 | |
18ec9831 KB |
7656 | 2003-05-14 Kevin Buettner <[email protected]> |
7657 | ||
7658 | * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to | |
7659 | correctly indicate an empty stack and ``stack_allocated'' to the | |
7660 | indicate the number of elements initially allocated. | |
7661 | (dwarf_expr_grow_stack): Simplify method for computing new | |
7662 | stack size. Don't loop infinitely if ``stack_len'' is zero. | |
7663 | (execute_stack_op): Move ``ctx->in_reg'' initialization | |
7664 | out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to | |
7665 | be used in conjuction with DW_OP_piece. Revise error message | |
7666 | accordingly. | |
7667 | ||
de18ac1f TR |
7668 | 2003-05-14 Theodore A. Roth <[email protected]> |
7669 | ||
7670 | * MAINTAINERS: Update my email address. | |
7671 | * avr-tdep.c: Ditto. | |
7672 | ||
176620f1 EZ |
7673 | 2003-05-14 Elena Zannoni <[email protected]> |
7674 | ||
7675 | * symtab.h (enum domain_enum): Rename from namespace_enum. | |
7676 | (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN, | |
7677 | VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN): | |
7678 | Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE, | |
7679 | LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE, | |
7680 | TYPES_NAMESPACE, METHODS_NAMESPACE. | |
7681 | (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN. | |
7682 | (struct symbol, struct partial_symbol): Rename field | |
7683 | 'namespace_enum namespace' to 'domain_enum domain'. | |
7684 | (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN. | |
7685 | Delete old define kludge for namespace. | |
7686 | ||
7687 | * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c, | |
7688 | blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c, | |
7689 | dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h, | |
7690 | gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c, | |
7691 | language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c, | |
7692 | mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c, | |
7693 | p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c, | |
7694 | stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c, | |
7695 | valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all | |
7696 | occurrences of the above. | |
7697 | ||
b7f31508 ILT |
7698 | 2003-05-14 Ian Lance Taylor <[email protected]> |
7699 | ||
7700 | * Makefile.in (install-only): Use $(SHELL) when running | |
7701 | mkinstalldirs. | |
7702 | ||
2fdbdd39 ILT |
7703 | 2003-05-13 Ian Lance Taylor <[email protected]> |
7704 | ||
a208d82c ILT |
7705 | * MAINTAINERS (write after approval): Add myself. |
7706 | ||
2fdbdd39 ILT |
7707 | * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap |
7708 | second and third arguments. | |
7709 | * ser-tcp.c (_initialize_ser_tcp): Likewise. | |
7710 | * ser-unix.c (_initialize_ser_hardwire): Likewise. | |
7711 | ||
fbd9dcd3 AC |
7712 | 2003-05-13 Andrew Cagney <[email protected]> |
7713 | ||
7714 | * defs.h (store_address): Delete declaration. | |
7715 | findvar.c (store_address): Delete function. | |
7716 | * arm-tdep.c (arm_push_dummy_call): Replace store_address with | |
7717 | store_unsigned_integer. | |
7718 | * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto. | |
7719 | * v850-tdep.c (v850_push_arguments): Ditto. | |
7720 | * sparc-tdep.c (sparc_get_saved_register): Ditto. | |
7721 | * sh-tdep.c (sh64_get_saved_register): Ditto. | |
7722 | * rs6000-tdep.c (rs6000_push_arguments): Ditto. | |
7723 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto. | |
7724 | * mips-tdep.c (mips_eabi_push_arguments): Ditto. | |
7725 | (mips_get_saved_register): Ditto. | |
7726 | * ia64-tdep.c (ia64_get_saved_register): Ditto. | |
7727 | (find_func_descr, ia64_push_arguments): Ditto. | |
7728 | * i386-tdep.c (i386_push_arguments): Ditto. | |
7729 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
7730 | * frv-tdep.c (frv_push_arguments): Ditto. | |
7731 | * frame.c (legacy_saved_regs_prev_register): Ditto. | |
7732 | (deprecated_generic_get_saved_register): Ditto. | |
7733 | * findvar.c (unsigned_address_to_pointer): Ditto. | |
7734 | * dwarf2read.c (dwarf2_const_value): Ditto. | |
7735 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
7736 | * alpha-tdep.c (alpha_push_arguments): Ditto. | |
7737 | ||
6760f9e6 JB |
7738 | 2003-05-12 J. Brobecker <[email protected]> |
7739 | ||
7740 | * NEWS: Mention that the hppa-hpux port has been partially | |
7741 | multiarched (32bit ABIT only, so far). | |
7742 | ||
30e221b4 AC |
7743 | 2003-05-11 Andrew Cagney <[email protected]> |
7744 | ||
7745 | * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol. | |
7746 | * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h, | |
7747 | include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms, | |
7748 | sim/testsuite/sim/arm/misaligned2.ms, and | |
7749 | sim/testsuite/sim/arm/misaligned3.ms. | |
7750 | * disasm.h (struct ui_file): Add opaque struct declaration. | |
7751 | * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto. | |
7752 | * frame.h (struct ui_file): Ditto. | |
7753 | ||
dea7f9ba MK |
7754 | 2003-05-11 Mark Kettenis <[email protected]> |
7755 | ||
7756 | * value.h: Pretty print. | |
7757 | ||
01986c48 MK |
7758 | 2003-05-10 Mark Kettenis <[email protected]> |
7759 | ||
7760 | * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define. | |
7761 | ||
123a958e AC |
7762 | 2003-05-08 Andrew Cagney <[email protected]> |
7763 | ||
7764 | * regcache.h (max_register_size): Delete declaration. | |
7765 | * regcache.c (max_register_size): Delete function. | |
7766 | (struct regcache_descr): Delete field "max_register_size". | |
7767 | (init_regcache_descr, init_legacy_regcache_descr): Assert that all | |
7768 | registers fit in MAX_REGISTER_SIZE. | |
7769 | (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE. | |
7770 | (regcache_restore, regcache_xfer_part, regcache_dump): Ditto. | |
7771 | * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE. | |
7772 | * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto. | |
7773 | * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto. | |
7774 | * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto. | |
7775 | * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto. | |
7776 | * dve3900-rom.c, hppa-tdep.c: Ditto. | |
7777 | ||
eb294659 DC |
7778 | 2003-05-08 David Carlton <[email protected]> |
7779 | ||
7780 | * valops.c (push_word): Fix typo. | |
7781 | ||
d9d9c31f AC |
7782 | 2003-05-08 Andrew Cagney <[email protected]> |
7783 | ||
7784 | * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. | |
7785 | * gdbarch.h: Re-generate. | |
7786 | * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. | |
7787 | (legacy_max_register_raw_size): Delete declaration. | |
7788 | * regcache.c (legacy_max_register_raw_size): Delete function. | |
7789 | * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. | |
7790 | * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto. | |
7791 | * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto. | |
7792 | * remote-rdp.c, remote-array.c, regcache.c: Ditto. | |
7793 | * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto. | |
7794 | * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto. | |
7795 | * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto. | |
7796 | * findvar.c, dwarf2cfi.c: Ditto. | |
7797 | ||
22540ece AC |
7798 | 2003-05-08 Andrew Cagney <[email protected]> |
7799 | ||
7800 | * mips-tdep.c (read_signed_register): New function, moved to here | |
7801 | from "regcache.c". | |
7802 | (read_signed_register_pid): Ditto. | |
7803 | * regcache.c (read_signed_register_pid): Delete function, moved to | |
7804 | "mips-tdep.c". | |
7805 | (read_signed_register): Ditto. | |
7806 | * regcache.h (read_signed_register): Delete declaration. | |
7807 | (read_signed_register_pid): Delete declaration. | |
7808 | ||
0c92afe8 AC |
7809 | 2003-05-08 Andrew Cagney <[email protected]> |
7810 | ||
7811 | * gdbarch.sh: Add comments on MAX_REGISTER_SIZE. | |
7812 | * gdbarch.h: Re-generate. | |
7813 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. | |
7814 | (legacy_max_register_virtual_size): Delete declaration. | |
7815 | * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. | |
7816 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
7817 | * tracepoint.c (memrange_sortmerge): Ditto. | |
7818 | * sparc-tdep.c (sparc_print_registers): Ditto. | |
7819 | * regcache.c (legacy_max_register_virtual_size): Delete function. | |
7820 | ||
6037b830 JB |
7821 | 2002-05-08 J. Brobecker <[email protected]> |
7822 | ||
7823 | * fork-child.c (escape_bang_in_quoted_argument): New function. | |
7824 | (fork_inferior): Escape '!' characters in quoted arguments | |
7825 | only when needed. | |
7826 | ||
5d62c8b1 JB |
7827 | 2003-05-08 J. Brobecker <[email protected]> |
7828 | ||
7829 | * dwarf2read.c (set_cu_language): Set the language to "minimal" if | |
7830 | the language of the CU is not currently supported by GDB. | |
7831 | ||
20a0e81d JB |
7832 | 2003-05-08 J. Brobecker <[email protected]> |
7833 | ||
7834 | * defs.h (language): Add language_minimal enum value. | |
7835 | * c-lang.c (minimal_language_defn): New language definition. | |
7836 | (_initialize_c_language): Add the new minimal language to the list | |
7837 | of languages known to GDB. | |
7838 | ||
710ee10a KB |
7839 | 2003-05-08 Kevin Buettner <[email protected]> |
7840 | ||
7841 | * frame.c (get_frame_type): Don't attempt to lazily initialize | |
7842 | frame's unwinder for legacy frames. | |
7843 | ||
1750fa04 AC |
7844 | 2003-05-07 Andrew Cagney <[email protected]> |
7845 | ||
7846 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" | |
7847 | and "regcache" parameters. | |
7848 | * avr-tdep.c (avr_remote_translate_xfer_address): Ditto. | |
7849 | ||
ddf9f258 | 7850 | 2003-05-07 Jeff Johnston <[email protected]> |
8ffd9b1b AJ |
7851 | |
7852 | * dwarf2read.c (dwarf_decode_lines): Only use output of | |
7853 | check_cu_functions() when calling record_line(). Do not update | |
ddf9f258 JJ |
7854 | the current address. |
7855 | ||
87767c29 AC |
7856 | 2003-05-07 Andrew Cagney <[email protected]> |
7857 | ||
7858 | * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR | |
7859 | code. | |
7860 | ||
5e7b2f39 JB |
7861 | 2003-05-07 Jim Blandy <[email protected]> |
7862 | ||
7863 | Rename commands 'maint list symtabs' and 'maint list psymtabs' to | |
7864 | 'maint info symtabs' and 'maint info psymtabs'. | |
7865 | * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): | |
7866 | Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. | |
7867 | * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): | |
7868 | Declarations updated. | |
7869 | * maint.c (maintenance_list_command): Delete. | |
7870 | (_initialize_maint_cmds): Update calls to add_cmd. | |
7871 | * gdbcmd.h (maintenancelistlist): Delete declaration. | |
7872 | * cli/cli-cmds.c (maintenancelistlist): Delete. | |
7873 | (init_cmd_lists): Don't initialize it. | |
7874 | * cli/cli-cmds.h (maintenancelistlist): Delete declaration. | |
7875 | ||
f6684c31 AC |
7876 | 2003-05-07 Andrew Cagney <[email protected]> |
7877 | ||
7878 | * d10v-tdep.c (remote_d10v_translate_xfer_address): Add | |
7879 | "regcache". | |
7880 | (d10v_print_registers_info): Update. | |
7881 | (d10v_dmap_register, d10v_imap_register): Delete functions. | |
7882 | (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" | |
7883 | and "imap_register". | |
7884 | (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". | |
7885 | (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". | |
7886 | * arch-utils.c (generic_remote_translate_xfer_address): Add | |
7887 | "regcache" and "gdbarch" parameters. | |
7888 | * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" | |
7889 | parameter. Change class to multi-arch. | |
7890 | * gdbarch.h, gdbarch.c: Re-generate. | |
7891 | * remote.c (remote_xfer_memory): Use | |
7892 | gdbarch_remote_translate_xfer_address. | |
8ffd9b1b | 7893 | |
e4846b08 JJ |
7894 | 2003-05-07 Jeff Johnston <[email protected]> |
7895 | ||
7896 | * infrun.c (prev_pc): Move declaration ahead of proceed(). | |
7897 | (proceed): Refresh prev_pc value before resuming. | |
7898 | (stop_stepping): Remove code to refresh prev_pc. | |
7899 | ||
6b71b8ac KW |
7900 | 2003-05-06 Kris Warkentin <[email protected]> |
7901 | ||
7902 | * nto-tdep.c: Removed stray comment. | |
7903 | ||
47979a4b KW |
7904 | 2003-05-06 Kris Warkentin <[email protected]> |
7905 | ||
7906 | * i386-nto-tdep.c: Fix old K&R function definitions. | |
7907 | * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h. | |
7908 | Also change add_show_from_set() call to add_setshow_cmd(). | |
7909 | * nto-tdep.h: Remove PARAMS and grep ^func ARI hits. | |
7910 | ||
00905d52 AC |
7911 | 2003-05-05 Andrew Cagney <[email protected]> |
7912 | ||
7913 | * dummy-frame.c: Include "command.h" and "gdbcmd.h". | |
7914 | (fprint_dummy_frames): New function. | |
7915 | (maintenance_print_dummy_frames): New function. | |
7916 | (_initialize_dummy_frame): Add command "maint print dummy-frames". | |
7917 | * frame.c (fprint_frame_id): Make global. | |
7918 | * frame.h (fprint_frame_id): Declare. | |
7919 | * Makefile.in (dummy-frame.o): Update dependencies. | |
7920 | ||
b1e29e33 AC |
7921 | 2003-05-05 Andrew Cagney <[email protected]> |
7922 | ||
7923 | * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. | |
7924 | (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename | |
7925 | SIZEOF_CALL_DUMMY_WORDS. | |
7926 | (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. | |
7927 | (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. | |
7928 | (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename | |
7929 | CALL_DUMMY_BREAKPOINT_OFFSET. | |
7930 | (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename | |
7931 | CALL_DUMMY_START_OFFSET. | |
7932 | (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. | |
7933 | * gdbarch.h, gdbarch.c: Re-generate. | |
7934 | * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. | |
7935 | * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. | |
7936 | * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. | |
7937 | * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. | |
7938 | * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. | |
7939 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. | |
7940 | * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
7941 | * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. | |
7942 | * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. | |
7943 | * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
7944 | * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. | |
7945 | * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. | |
7946 | * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. | |
7947 | * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. | |
7948 | * config/sparc/tm-sparc.h: Update. | |
daea6f0b KW |
7949 | |
7950 | 2003-05-05 Kris Warkentin <[email protected]> | |
7951 | ||
7952 | * configure.tgt: Add i[3456]86-*-nto*. | |
7953 | * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino. | |
7954 | * nto-tdep.c: New file. Neutrino target support routines. | |
7955 | * nto-tdep.h: New file. Neutrino target header. | |
7956 | * config/tm-qnxnto.h: New file. | |
7957 | * config/i386/i386nto.mt: New file. | |
7958 | * config/i386/tm-i386nto.h: New file. | |
8ffd9b1b | 7959 | |
0ce3d317 AC |
7960 | 2003-05-04 Andrew Cagney <[email protected]> |
7961 | ||
7962 | * gdbthread.h (save_infrun_state): Drop prev_func_name parameter. | |
7963 | (load_infrun_state): Ditto. | |
7964 | (struct thread_info): Drop "prev_func_name" field. | |
7965 | * thread.c (load_infrun_state): Update. | |
7966 | (save_infrun_state): Update. | |
7967 | * infrun.c (prev_func_name): Delete variable. | |
7968 | (init_wait_for_inferior): Do not clear prev_func_name. | |
7969 | (stop_stepping, keep_going, context_switch): Do not swap | |
7970 | prev_func_name. | |
7971 | (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp | |
7972 | instead of PC_IN_SIGTRAMP. | |
7973 | ||
46654a5b AC |
7974 | 2003-05-04 Andrew Cagney <[email protected]> |
7975 | ||
7976 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
7977 | REGISTER_BYTE with register_offset_hack. | |
7978 | * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check | |
7979 | that REGISTER_BYTE is consistent with the regcache. | |
7980 | * gdbarch.sh (REGISTER_BYTE): Add a predicate. | |
7981 | * gdbarch.h, gdbarch.c: Regenerate. | |
8ffd9b1b | 7982 | |
14b08c1b MK |
7983 | 2003-05-04 Mark Kettenis <[email protected]> |
7984 | ||
04c8243f MK |
7985 | * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15. |
7986 | (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15. | |
7987 | ||
14b08c1b MK |
7988 | * i386-linux-nat.c (supply_gregset): Remove unnecessary casts. |
7989 | ||
c7a11e01 JB |
7990 | 2003-05-03 J. Brobecker <[email protected]> |
7991 | ||
7992 | From Thierry Schneider <[email protected]> | |
7993 | * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o. | |
7994 | (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c. | |
7995 | (mi-cmd-symbol.o): Add rule. | |
7996 | ||
7043d8dc AC |
7997 | 2003-05-03 Andrew Cagney <[email protected]> |
7998 | ||
7999 | * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add | |
8000 | comments noteing that it replaces the old FIX_CALL_DUMMY code. | |
8001 | * gdbarch.h, gdbarch.c: Re-generate. | |
8002 | * d10v-tdep.c (d10v_push_dummy_code): New function. | |
8003 | (d10v_gdbarch_init): Set push_dummy_code. | |
8004 | * infcall.c (legacy_push_dummy_code): New function. | |
8005 | (generic_push_dummy_code): New function. | |
8006 | (push_dummy_code): New function. | |
8007 | (call_function_by_hand): Call push_dummy_code. Pass bp_addr, | |
8008 | instead of dummy_addr, to push_dummy_call. Move call to | |
8009 | generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION | |
8010 | switch. | |
8011 | * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code. | |
8012 | ||
92bf2b80 AC |
8013 | 2003-05-03 Andrew Cagney <[email protected]> |
8014 | ||
8015 | * disasm.h (print_insn): Declare. | |
8016 | * disasm.c (init_gdb_disassemble_info): New function. | |
8017 | (gdb_disassembly): Call init_gdb_disassemble_info. | |
8018 | (gdb_print_insn): New function. | |
8019 | * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead | |
8020 | of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog". | |
8021 | * mcore-tdep.c: Include "disasm.h" | |
8022 | (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN. | |
8023 | * d10v-tdep.c: Include "disasm.h". | |
8024 | (display_trace): Call gdb_print_insn, instead of print_insn. | |
8025 | (print_insn): Delete function. | |
8026 | * printcmd.c: Include "disasm.h". | |
8027 | (print_insn): Delete function. | |
8028 | (print_formatted): Call gdb_print_insn, instead of print_insn. | |
8029 | * Makefile.in (printcmd.o): Update dependencies. | |
8030 | (mcore-tdep.o, d10v-tdep.o): Ditto. | |
8ffd9b1b | 8031 | |
27d94c49 AC |
8032 | 2003-05-02 Andrew Cagney <[email protected]> |
8033 | ||
82de1e5b AC |
8034 | * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef |
8035 | PC_REGNUM, re-indent. | |
8036 | * stack.c (frame_info): Use "pc" for the name of get_frame_pc when | |
8037 | PC_REGNUM isn't set. | |
8038 | ||
27d94c49 AC |
8039 | * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional. |
8040 | * gdbarch.h, gdbarch.c: Re-generate. | |
8041 | * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size, | |
8042 | register_virtual_size, pc_regnum, or register_bytes. | |
8043 | (D10V_PC_REGNUM): Rename _PC_REGNUM. | |
8044 | (d10v_register_type): Use D10V_PC_REGNUM. | |
8045 | (d10v_print_registers_info, d10v_read_pc): Ditto. | |
8046 | (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto. | |
8047 | (d10v_unwind_pc, d10v_frame_prev_register): Ditto. | |
8048 | ||
a9c0dc7f DC |
8049 | 2003-05-02 David Carlton <[email protected]> |
8050 | ||
8051 | * objfiles.c (allocate_objfile): For anonymous objfiles, allocate | |
8052 | the name with mstrsave. | |
8053 | ||
e33d66ec EZ |
8054 | 2003-05-02 Elena Zannoni <[email protected]> |
8055 | ||
8056 | * charset.c (GDB_DEFAULT_TARGET_CHARSET, | |
8057 | GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. | |
8058 | (host_charset_name, target_charset_name): New vars for use by | |
8059 | set/show commands. | |
8060 | (host_charset_enum, target_charset_enum): New enums for set/show | |
8061 | commands. | |
8062 | (set_charset_sfunc, set_host_charset_sfunc, | |
8063 | set_target_charset_sfunc): New functions. | |
8064 | (set_host_charset, set_target_charset): Make static. | |
8065 | (list_charsets, set_host_charset_command, | |
8066 | set_target_charset_command): Delete functions. | |
8067 | (show_charset_command): Rewrite as.... | |
8068 | (show_charset): Hook this up with the set/show command mechanism. | |
8069 | (_initialize_charset): Change names of charsets to match the | |
8070 | set/show enums. Use host_charset_name and target_charset_name. | |
8071 | Use set/show mechanism for charset, host-charset, target-charset | |
8072 | commands. Do not make 'show host-charset' and 'show | |
8073 | target-charset' be aliases of 'show charset'. | |
8074 | ||
8075 | * charset.h (set_host_charset, set_target_charset): Don't export, | |
8076 | they are not used outside the file. | |
8077 | ||
2b6fd0d8 AC |
8078 | 2003-05-01 Andrew Cagney <[email protected]> |
8079 | ||
8080 | * disasm.c (gdb_disassemble_from_exec): Delete global variable. | |
8081 | (gdb_disassembly): Make "di" non static, always initialize and | |
8082 | cleanup. Always use dis_asm_read_memory. | |
8083 | (gdb_dis_asm_read_memory): Delete function. | |
8084 | ||
6ae2f580 AC |
8085 | 2003-05-01 Andrew Cagney <[email protected]> |
8086 | ||
8087 | * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align. | |
8088 | (d10v_gdbarch_init): Set frame_align instead of stack_align. | |
8089 | ||
810ecf9f AC |
8090 | 2003-04-30 Andrew Cagney <[email protected]> |
8091 | ||
8092 | * gdbarch.sh (deprecated_tm_print_insn_info): Rename | |
8093 | "tm_print_insn_info". | |
8094 | (TARGET_PRINT_INSN_INFO): Delete macro. | |
8095 | (dis_asm_read_memory): Delete function declaration. | |
8096 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
8097 | (tm_print_insn_info): Delete variable definition. | |
8098 | (_initialize_gdbarch): Do not initialize "tm_print_insn_info". | |
8099 | * gdbarch.h, gdbarch.c: Re-generate. | |
8100 | * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with | |
8101 | "deprecated_tm_print_insn_info". | |
8102 | * mcore-tdep.c (mcore_dump_insn): Ditto. | |
8103 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8104 | * sparc-tdep.c (_initialize_sparc_tdep): Ditto. | |
8105 | * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto. | |
8106 | * ia64-tdep.c (_initialize_ia64_tdep): Ditto. | |
8107 | * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info" | |
8108 | instead of TARGET_PRINT_INSN_INFO, add comment. | |
8109 | * s390-tdep.c (s390_get_frame_info): Instead of | |
8110 | "dis_asm_read_memory", use "deprecated_tm_print_insn_info". | |
8111 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
8112 | * corefile.c (dis_asm_read_memory): Move to "disasm.c". | |
8113 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
8114 | * disasm.c: Include "gdbcore.h". | |
8115 | (_initialize_disasm): New function, initialize | |
8116 | "deprecated_tm_print_insn_info". | |
8117 | (deprecated_tm_print_insn_info): New variable. | |
8118 | (dis_asm_read_memory): Moved from "corefile.c", made static. | |
8119 | (dis_asm_print_address, dis_asm_memory_error): Ditto. | |
8120 | * Makefile.in (disasm.o): Update dependencies. | |
8121 | ||
07020390 AC |
8122 | 2003-04-30 Andrew Cagney <[email protected]> |
8123 | ||
8124 | * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. | |
8125 | ||
a9fa03de AF |
8126 | 2003-04-29 Adam Fedor <[email protected]> |
8127 | ||
8128 | * eval.c (evaluate_subexp_standard): Handle ObjC ops. | |
8129 | * infcall.c (find_function_addr): Make non-static. | |
8130 | * infcall.h (find_function_addr): Declare. | |
8131 | * Makefile.in (eval.o): Update dependencies. | |
8132 | ||
1bae87b9 AF |
8133 | 2003-04-28 Adam Fedor <[email protected]> |
8134 | ||
8135 | * symtab.c (symbol_find_demangled_name): Check for and demangle | |
8136 | ObjC symbols. | |
8137 | (symbol_init_demangled_name): Init for language_objc as well. | |
8138 | ||
0ba6dca9 AC |
8139 | 2003-04-28 Andrew Cagney <[email protected]> |
8140 | ||
8141 | * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. | |
8142 | (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. | |
8143 | * gdbarch.h, gdbarch.c: Re-generate. | |
8144 | * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, | |
8145 | DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. | |
8146 | * inferior.h (deprecated_read_fp): Rename read_fp. | |
8147 | (generic_target_read_fp): Delete declaration. | |
8148 | * regcache.c (generic_target_read_fp): Delete function. | |
8149 | (deprecated_read_fp): Replace read_fp, use | |
8150 | DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. | |
8151 | * d10v-tdep.c (d10v_read_fp): Delete function. | |
8152 | (d10v_gdbarch_init): Do not set deprecated_read_fp. | |
8153 | ||
8154 | * sparc-tdep.c (sparc_gdbarch_init): Do not set | |
8155 | deprecated_target_read_fp to generic_target_read_fp. | |
8156 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8157 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8158 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8159 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8160 | ||
8161 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set | |
8162 | deprecated_fp_regnum. | |
8163 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
8164 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8165 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8166 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8167 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8168 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8169 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8170 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8171 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8172 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8173 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8174 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8175 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8176 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
8177 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8178 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8179 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8180 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8181 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8182 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
8183 | ||
8184 | * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. | |
8185 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8186 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8187 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8188 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8189 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8190 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8191 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8192 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8193 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8194 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
8195 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8196 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8197 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8198 | ||
8199 | * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with | |
8200 | DEPRECATED_FP_REGNUM. | |
8201 | (vax_push_dummy_frame, vax_pop_frame): Ditto. | |
8202 | * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. | |
8203 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
8204 | (sparc_push_dummy_frame, sparc64_read_fp): Ditto. | |
8205 | (sparc32_register_virtual_type): Ditto. | |
8206 | * sh-tdep.c (sh64_frame_chain): Ditto. | |
8207 | (sh64_get_saved_register, sh64_pop_frame): Ditto. | |
8208 | (sh_nofp_frame_init_saved_regs): Ditto. | |
8209 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
8210 | (sh_fp_frame_init_saved_regs): Ditto. | |
8211 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
8212 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
8213 | * procfs.c (procfs_fetch_registers): Ditto. | |
8214 | (procfs_store_registers): Ditto. | |
8215 | * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. | |
8216 | (store_inferior_registers, fetch_core_registers): Ditto. | |
8217 | (fetch_kcore_registers, clear_regs): Ditto. | |
8218 | * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. | |
8219 | (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. | |
8220 | * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. | |
8221 | * nlm/i386.c (do_status): Ditto. | |
8222 | * mipsv4-nat.c (supply_gregset): Ditto. | |
8223 | * mips-tdep.c: Ditto for comments. | |
8224 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
8225 | (store_inferior_registers, fetch_core_registers): Ditto. | |
8226 | * m68k-tdep.c (m68k_push_dummy_frame): Ditto. | |
8227 | (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. | |
8228 | * i386-tdep.c (i386_frame_init_saved_regs): Ditto. | |
8229 | (i386_do_pop_frame, i386_register_type): Ditto. | |
8230 | * hppa-tdep.c (hppa_frame_chain): Ditto. | |
8231 | (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. | |
8232 | (hppa_pop_frame, hppa_read_fp): Ditto. | |
8233 | (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. | |
8234 | * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. | |
8235 | * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. | |
8236 | * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. | |
8237 | * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. | |
8238 | * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. | |
8239 | * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. | |
8240 | * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. | |
8241 | * blockframe.c: Ditto for comments. | |
8242 | * arch-utils.h: Ditto for comments. | |
8243 | * arch-utils.c (legacy_virtual_frame_pointer): Ditto. | |
8244 | * alphanbsd-tdep.c (fetch_core_registers): Ditto. | |
8245 | * alphabsd-nat.c (fetch_inferior_registers): Ditto. | |
8246 | * alpha-tdep.h: Ditto for comments. | |
8247 | * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. | |
8248 | (alpha_cannot_store_register): Ditto. | |
8249 | (alpha_push_dummy_frame): Ditto. | |
8250 | * alpha-nat.c (supply_gregset): Ditto. | |
8251 | ||
8252 | * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. | |
8253 | * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. | |
8254 | * config/sparc/tm-sparc.h: Update comment. | |
8255 | ||
8256 | * hppa-tdep.c (hppa_init_extra_frame_info): Use | |
8257 | deprecated_read_fp instead of TARGET_READ_FP. | |
8258 | (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. | |
8259 | (hppa_push_dummy_frame, hppa_read_fp): Ditto. | |
8260 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
8261 | deprecated_read_fp instead of read_fp. | |
8262 | * s390-tdep.c (s390_push_arguments): Ditto. | |
8263 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8264 | * frame.h: Ditto in comments. | |
8265 | * frame.c (legacy_get_prev_frame): Ditto. | |
8266 | * dummy-frame.c (dummy_frame_this_id): Ditto. | |
8267 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
8268 | ||
d7a27068 AC |
8269 | 2003-04-28 Andrew Cagney <[email protected]> |
8270 | ||
8271 | * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn. | |
8272 | * gdbarch.h, gdbarch.c: Re-generate. | |
8273 | * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update. | |
8274 | * vax-tdep.c (_initialize_vax_tdep): Update. | |
8275 | * v850-tdep.c (_initialize_v850_tdep): Update. | |
8276 | * sparc-tdep.c (_initialize_sparc_tdep): Update. | |
8277 | * s390-tdep.c (_initialize_s390_tdep): Update. | |
8278 | * ns32k-tdep.c (_initialize_ns32k_tdep): Update. | |
8279 | * mn10300-tdep.c (_initialize_mn10300_tdep): Update. | |
8280 | * mips-tdep.c (_initialize_mips_tdep): Update. | |
8281 | * mcore-tdep.c (_initialize_mcore_tdep): Update. | |
8282 | * m68k-tdep.c (_initialize_m68k_tdep): Update. | |
8283 | * ia64-tdep.c (_initialize_ia64_tdep): Update. | |
8284 | * hppa-tdep.c (_initialize_hppa_tdep): Update. | |
8285 | * h8300-tdep.c (_initialize_h8300_tdep): Update. | |
8286 | * frv-tdep.c (_initialize_frv_tdep): Update. | |
8287 | * cris-tdep.c (cris_delayed_get_disassembler): Update. | |
8288 | (_initialize_cris_tdep): Update. | |
8289 | * arch-utils.c (legacy_print_insn): Update. | |
8290 | * alpha-tdep.c (_initialize_alpha_tdep): Update. | |
8291 | ||
d2630e69 AF |
8292 | 2003-04-26 Adam Fedor <[email protected]> |
8293 | ||
8294 | * linespec.c (decode_objc): New function to decode ObjC calls | |
8295 | (decode_line_1): Check for ObjC calls (using decode_objc) | |
8296 | * Makefile (linespec.o): Update dependencies. | |
8297 | ||
3086aeae DJ |
8298 | 2003-04-26 Daniel Jacobowitz <[email protected]> |
8299 | ||
8300 | * breakpoint.h (struct breakpoint_ops): New. | |
8301 | (struct breakpoint): Add ops member. | |
8302 | ||
8303 | * breakpoint.c (print_bp_stop_message, print_one_breakpoint) | |
8304 | (mention): Use new breakpoint ops member. | |
8305 | (set_raw_breakpoint): Initialize ops field to NULL. | |
8306 | (print_exception_catchpoint, print_one_exception_catchpoint) | |
8307 | (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New. | |
8308 | (gnu_v3_exception_catchpoint_ops): New. | |
8309 | (catch_exception_command_1): Call handle_gnu_v3_exceptions. | |
8310 | ||
1fbec6c3 AF |
8311 | 2003-04-25 Adam Fedor <[email protected]> |
8312 | ||
8313 | * Makefile.in (COMMON_OBS): Add objc-lang.o | |
8314 | ||
0ef21242 AC |
8315 | 2003-04-25 Andrew Cagney <[email protected]> |
8316 | ||
8317 | * d10v-tdep.c (print_insn): Delete function. | |
8318 | (display_trace): Use TARGET_PRINT_INSN. | |
8319 | (_initialize_d10v_tdep): Do not set tm_print_insn. | |
8320 | (d10v_gdbarch_init): Set print_insn. | |
8321 | ||
f75493ed AC |
8322 | 2003-04-25 Andrew Cagney <[email protected]> |
8323 | ||
8324 | * d10v-tdep.c (d10v_extract_return_value): Delete call to printf. | |
8325 | (_initialize_d10v_tdep): Use add_setshow_boolean_cmd. | |
8326 | (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC. | |
8327 | (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ... | |
8328 | (nr_dmap_regs, a0_regnum): ... new functions. | |
8329 | (d10v_print_registers_info): Use a0_regnum, use register_size. | |
8330 | (d10v_register_byte): Delete function. | |
8331 | (d10v_register_raw_size): Delete function. | |
8332 | (d10v_register_type): Use a0_regnum. | |
8333 | (d10v_print_registers_info): Use a0_regnum. | |
8334 | (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM. | |
8335 | (d10v_gdbarch_init): Do not set register_byte or | |
8336 | register_raw_size, use D10V_SP_REGNUM to set sp_regnum. | |
8337 | (d10v_pointer_to_address): Use extract_unsigned_integer instead of | |
8338 | extract_address. | |
8339 | (trace_command): Use XCALLOC. | |
8340 | (print_insn): Delete reference to tm_print_insn. | |
8341 | (saved_regs_unwinder): Use store_unsigned_integer instead of | |
8342 | store_address. | |
8343 | * frame.h (FRAME_OBSTACK_CALLOC): Define | |
8344 | ||
2202b100 DC |
8345 | 2003-04-25 David Carlton <[email protected]> |
8346 | ||
8347 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp. | |
8348 | ||
4e45ca2e AF |
8349 | 2003-04-24 Adam Fedor <[email protected]> |
8350 | ||
8351 | * objc-lang.c: Include "valprint.h" | |
8352 | * Makefile.in (objc-lang.o): Update dependencies. | |
8353 | ||
93de3e7f AF |
8354 | 2003-04-24 Adam Fedor <[email protected]> |
8355 | ||
8ffd9b1b | 8356 | * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove |
93de3e7f AF |
8357 | architecture dependant compilation and mark as unimplemented |
8358 | (until they get put in the gdbarch vector). | |
8359 | ||
0f20eeea DC |
8360 | 2003-04-23 David Carlton <[email protected]> |
8361 | ||
8362 | * cp-support.c (cp_find_first_component): Accept 'operator' in | |
8363 | more locations. | |
8364 | ||
74cfe982 AC |
8365 | 2003-04-23 Andrew Cagney <[email protected]> |
8366 | ||
8367 | * infcall.c (call_function_by_hand): Eliminate redundant | |
8368 | indentation. Move "saved_async" and "old_cleanups" to where they | |
8369 | are needed. | |
8ffd9b1b | 8370 | |
52557533 AC |
8371 | 2003-04-23 Andrew Cagney <[email protected]> |
8372 | ||
8373 | * infcall.c (call_function_by_hand): Eliminate the variables "rc" | |
8374 | and "buffer". Move the "name" code to where it is needed. | |
8375 | ||
158775de AC |
8376 | 2003-04-23 Andrew Cagney <[email protected]> |
8377 | ||
8378 | * infcall.c (call_function_by_hand): Move variables "start_sp", | |
8379 | "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call | |
8380 | code to ON_STACK switch branch. | |
8ffd9b1b | 8381 | |
ebc7896c AC |
8382 | 2003-04-23 Andrew Cagney <[email protected]> |
8383 | ||
8384 | * infcall.c (call_function_by_hand): Make declaration of "i", | |
8385 | "sal", "bpt" and "old_sp" more local to their use. Delete #if | |
8386 | lint. | |
8387 | ||
d727590f AC |
8388 | 2003-04-23 Andrew Cagney <[email protected]> |
8389 | ||
8390 | * infcall.c (call_function_by_hand): Delete variable | |
8391 | "n_method_args". Localize "param_type"'s declaration to the loop | |
8392 | that it is used. Reinstate code assigning to said variable - | |
8393 | deleted on 2002-06-14. Rationalize calls to value_args_coerce. | |
8394 | Rationalize code using "param_type". | |
8395 | ||
d585e13a AC |
8396 | 2003-04-22 Andrew Cagney <[email protected]> |
8397 | ||
8398 | * infcall.c (call_function_by_hand): Use new variable "bp_addr" to | |
8399 | compute the breakpoint address. Only call FIX_CALL_DUMMY when | |
8400 | ON_STACK. Eliminate the variable "addr". Do not pass "real_pc" | |
8401 | to DEPRECATED_PUSH_RETURN_ADDRESS. | |
8402 | ||
051caad9 KB |
8403 | 2003-04-22 Kevin Buettner <[email protected]> |
8404 | ||
8405 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM | |
8406 | on the DWARF2 register number prior to fetching a register. | |
8407 | ||
77296879 JB |
8408 | 2003-04-22 J. Brobecker <[email protected]> |
8409 | ||
8410 | * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro. | |
8411 | Update all the tests using SOFT_FLOAT considering the fact that | |
8ffd9b1b | 8412 | this macro was always set to 0. |
77296879 JB |
8413 | * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT |
8414 | considering the fact that this macro was always set to 0. | |
8415 | * hppa-tdep.h (hppa_store_return_value): Likewise. | |
8416 | (hppa_extract_return_value): Likewise. | |
8417 | ||
4252f1df JB |
8418 | 2003-04-22 J. Brobecker <[email protected]> |
8419 | ||
8420 | * config/pa/tm-hppa.h: Remove obsolete code, was used by | |
8421 | the hppa-pro target only. | |
8422 | ||
14604c6b JB |
8423 | 2003-04-21 J. Brobecker <[email protected]> |
8424 | ||
8425 | Ongoing multi-arch conversion effort for HP/UX: | |
8426 | * config/pa/tm-hppa.h: Move all macro that are no longer | |
8427 | defined now that GDB_MULTI_ARCH is now set to 1 from here... | |
8428 | * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet). | |
8429 | ||
77eb01d1 JB |
8430 | 2003-04-21 J. Brobecker <[email protected]> |
8431 | ||
8432 | * config/pa/tm-hppa.h: Obsolete a section that was only used | |
8433 | for hppa-pro. | |
8434 | ||
61995b3b JB |
8435 | 2003-04-21 J. Brobecker <[email protected]> |
8436 | ||
8437 | Ongoing multi-arch conversion for HP/UX. | |
8438 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define | |
8439 | if already defined (allows hppa64 to stay non-multiarched for now). | |
8440 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define. | |
8441 | ||
4aa79dcc AC |
8442 | 2003-04-21 Andrew Cagney <[email protected]> |
8443 | ||
8444 | * frame.c (frame_id_eq): Fail when the code_addr's do not match. | |
8445 | ||
0f751ff2 AC |
8446 | 2003-04-21 Andrew Cagney <[email protected]> |
8447 | ||
8448 | * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with | |
8449 | "i386_num_mmx_regs". | |
8450 | ||
04714b91 AC |
8451 | 2003-04-21 Andrew Cagney <[email protected]> |
8452 | ||
8453 | * infcall.c: New file. | |
8454 | * infcall.h: New file. | |
8455 | * valarith.c: Include "infcall.h". | |
8456 | * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto. | |
8457 | * eval.c, ada-valprint.c, ada-lang.c: Ditto. | |
8458 | * Makefile.in (valarith.o, scm-lang.o): Update dependencies. | |
8459 | (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies. | |
8460 | (eval.o, ada-valprint.o, ada-lang.o): Update dependencies. | |
8461 | (SFILES): Add "infcall.c" | |
8462 | (COMMON_OBS): Add "infcall.o". | |
8463 | (infcall.o): Specify dependencies. | |
8464 | * value.h (call_function_by_hand): Delete declaration. | |
8465 | * inferior.h (run_stack_dummy): Delete declaration. | |
8466 | * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c". | |
8467 | (run_stack_dummy): Move to "infcall.c", merged into | |
8468 | call_function_by_hand. | |
8469 | * valops.c (call_function_by_hand): Moved to "infcall.c". | |
8470 | (find_function_addr, value_arg_coerce): Ditto. | |
8471 | (unwindonsignal_p, coerce_float_to_double): Ditto. | |
8472 | (_initialize_valops): Move "set/show coerce-float-to-double", and | |
8473 | "set/show unwindonsignal" commands to "infcall.c". | |
8474 | * v850-tdep.c, target.h: Update comments. | |
8475 | * sparc-tdep.c (sparc_fix_call_dummy): Update comments. | |
8476 | * sh-tdep.c (sh_init_extra_frame_info): Update comments. | |
8477 | (sh64_init_extra_frame_info): Update comments. | |
8478 | * mn10300-tdep.c: Update comments. | |
8479 | * mcore-tdep.c (mcore_init_extra_frame_info): Update comments. | |
8480 | * config/sparc/tm-sparc.h: Update comments. | |
8481 | * breakpoint.h: Update comments. | |
8482 | * avr-tdep.c (avr_init_extra_frame_info): Update comments. | |
8483 | * arm-tdep.c: Update comment. | |
8484 | ||
f9d3c2a8 MK |
8485 | 2003-04-19 Mark Kettenis <[email protected]> |
8486 | ||
c40e1eab MK |
8487 | * i386-tdep.c (i386_num_register_names): New variable. |
8488 | (i386_num_mmx_regs): Renamed from mmx_num_regs. | |
8489 | (MM0_REGNUM): Remove redundant parentheses in define. | |
8490 | (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs. | |
8491 | (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, | |
8492 | i386_mxcsr_regnum_p): Remove redundant parentheses. | |
8493 | (i386_register_name): Use i386_num_register_names. | |
8ffd9b1b | 8494 | |
94ea66b3 MK |
8495 | * i386-tdep.c (i386_extract_return_value, |
8496 | i386_store_return_value): Correct check for availability of | |
8497 | floating-point registers. | |
8498 | ||
54299a1d MK |
8499 | * i386-tdep.c (i386_frame_num_args): Remove function. |
8500 | (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown. | |
8501 | ||
c86c27af MK |
8502 | * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from |
8503 | mmx_regnum_to_fp_regnum. Adjust all callers. | |
8504 | ||
f9d3c2a8 MK |
8505 | * i386-tdep.c (i386_get_longjmp_target): Use |
8506 | TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT | |
8507 | and TARGET_CHAR_BIT. Use extract_typed_address instead of | |
8508 | extract_address. | |
8509 | ||
94ba74a9 MK |
8510 | 2003-04-19 Mark Kettenis <[email protected]> |
8511 | ||
8512 | * core-regset.c: Update comments to reflect reality. Re-order | |
8513 | includes. | |
8514 | (fetch_core_registers): Use switch instead of if. Remove | |
8515 | redundant prototype. | |
8516 | ||
4074e13c JB |
8517 | 2003-04-18 Jim Blandy <[email protected]> |
8518 | ||
8519 | * s390-tdep.c (s390_frame_align): New function. | |
fbe586ae | 8520 | (s390_gdbarch_init): Register it with the gdbarch object. |
4074e13c | 8521 | |
e3ab4aba RH |
8522 | 2003-04-17 Richard Henderson <[email protected]> |
8523 | ||
8524 | * remote.c (minitelnet): Don't redeclare escape_count, echo_check. | |
8525 | ||
627bf7c1 EZ |
8526 | 2003-04-17 Michael Snyder <[email protected]> |
8527 | Karen Bennet <[email protected]> | |
8528 | ||
8529 | Committed by Elena Zannoni <[email protected]> | |
8530 | * gdb_gcore.sh: New script to create a core dump of a process. | |
8ffd9b1b | 8531 | |
514621a9 EZ |
8532 | 2003-04-17 Elena Zannoni <[email protected]> |
8533 | ||
8534 | * values.c (value_being_returned): Don't fetch the return | |
fbe586ae | 8535 | value if the return type is void. |
514621a9 | 8536 | |
b4acd559 JJ |
8537 | 2003-04-17 Jeff Johnston <[email protected]> |
8538 | ||
8539 | * thread-db.c: Reindented. | |
8ffd9b1b | 8540 | |
530b167e | 8541 | 2003-04-17 Jeff Johnston <[email protected]> |
8ffd9b1b AJ |
8542 | |
8543 | * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, | |
8544 | td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t | |
530b167e JJ |
8545 | as types. |
8546 | ||
0a48e7e8 MS |
8547 | |
8548 | ||
8549 | ||
8550 | ||
8551 | ||
8552 | ||
8553 | ||
8554 | ||
8555 | ||
8556 | ||
8557 | ||
8558 | ||
8559 | ||
8560 | ||
8561 | ||
8562 | ||
8563 | ||
8564 | ||
8565 | ||
8566 | ||
8567 | ||
8568 | ||
8569 | ||
8ffd9b1b | 8570 | |
ab9fe00e KB |
8571 | 2003-04-16 Kevin Buettner <[email protected]> |
8572 | ||
610a3745 | 8573 | * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set |
ab9fe00e KB |
8574 | the size of ``long double'' to 16, instead of 8. |
8575 | ||
e64a344c MK |
8576 | 2003-04-16 Mark Kettenis <[email protected]> |
8577 | ||
8578 | * i386-linux-nat.c: Add some whitespace to make things more | |
8579 | readable. | |
8580 | (fetch_register, store_register, fetch_inferior_registers, | |
8581 | store_inferior_registers): Get rid of assignment in if-statement. | |
8582 | (store_register): Fix typo in error message. | |
8583 | ||
25d41031 AC |
8584 | 2003-04-16 Andrew Cagney <[email protected]> |
8585 | ||
8586 | * utils.c (xmmalloc): Always allocate something, matches | |
8587 | libiberty/xmalloc's semantics. | |
8588 | (xmrealloc, xmcalloc): Ditto. | |
8589 | ||
c50901fd AC |
8590 | 2003-04-16 Andrew Cagney <[email protected]> |
8591 | ||
8592 | * frame.c (get_prev_frame): Do not initialize "unwind" or "type", | |
8593 | update comments. | |
8594 | (get_frame_type): Initialize unwind and type when needed. | |
8595 | (get_frame_id, frame_register_unwind): Ditto. | |
8596 | ||
f81824a9 AC |
8597 | 2003-04-16 Andrew Cagney <[email protected]> |
8598 | ||
8599 | * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made | |
8600 | obsolete. | |
8601 | * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. | |
8602 | * sparcl-stub.c: Obsolete file. | |
8603 | * config/sparc/tm-sparclet.h: Obsolete file. | |
8604 | * sparclet-stub.c: Obsolete file. | |
8605 | * sparclet-rom.c: Obsolete file. | |
8606 | * sparcl-tdep.c: Obsolete file. | |
8607 | * config/sparc/tm-sparclite.h: Obsolete file. | |
8608 | * config/sparc/sparclite.mt: Obsolete file. | |
8609 | * config/sparc/sparclet.mt: Obsolete file. | |
8610 | * configure.tgt: Make sparclet-*-*, sparclite-*-*, and | |
8611 | sparc86x-*-* obsolete. | |
8612 | ||
9219021c DC |
8613 | 2003-04-15 David Carlton <[email protected]> |
8614 | ||
8615 | * Makefile.in (SFILES): Add cp-namespace.c. | |
8616 | (COMMON_OBS): Add cp-namespace.o. | |
8617 | (block.o): Depend on gdb_obstack_h and cp_support_h. | |
8618 | (buildsym.o): Depend on cp_support_h. | |
8619 | (cp-namespace.o): New. | |
8620 | (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h, | |
8621 | gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h. | |
8622 | (dwarf2read.o): Depend on cp_support_h. | |
8623 | * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE. | |
8624 | * dwarf2read.c (process_die): Set processing_has_namespace_info, | |
8625 | processing_current_namespace. | |
8626 | (read_namespace): Update processing_current_namespace; check for | |
8627 | anonymous namespaces. | |
8628 | (dwarf2_name): New function. | |
8629 | (dwarf2_extension): Ditto. | |
8630 | * cp-support.h: Update copyright, contributors. | |
8631 | Add inclusion guards. | |
8632 | Add opaque declaration for structs obstack, block, symbol. | |
8633 | (struct using_direct): New struct. | |
8634 | Add declarations for cp_find_first_component, | |
8635 | cp_entire_prefix_len, processing_has_namespace_info, | |
8636 | processing_current_namespace, cp_is_anonymous, | |
8637 | cp_add_using_directive, cp_initialize_namespace, | |
8638 | cp_finalize_namespace, cp_set_block_scope, | |
8639 | cp_scan_for_anonymous_namespaces. | |
8640 | * cp-namespace.c: New file. | |
8641 | * cp-support.c: Update copyright. | |
8642 | Include ctype.h, gdb_assert.h, gdbcmd.h. | |
8643 | New variable maint_cplus_cmd_list. | |
8644 | (cp_find_first_component): New function. | |
8645 | (cp_entire_prefix_len, maint_cplus_command) | |
8646 | (first_component_command, _initialize_cp_support): Ditto. | |
8647 | * buildsym.c: Include cp-support.h. | |
8648 | New variable using_list. | |
8649 | (add_symbol_to_list): Check for anonymous namespaces. | |
8650 | (finish_block): Set block's scope. | |
8651 | (start_symtab): Initialize C++ namespace support. | |
8652 | (end_symtab): Finalize C++ namespace support. | |
8653 | * block.h: Add opaque declarations for structs | |
8654 | block_namespace_info, using_direct, and obstack. | |
8655 | Add declarations for block_set_scope and block_set_using. | |
8656 | (struct block): Add 'language_specific' member. | |
8657 | (BLOCK_NAMESPACE): New macro. | |
8658 | * block.c: Include gdb_obstack.h and cp-support.h. | |
8659 | (struct block_namespace_info): New struct. | |
8660 | (block_set_scope): New function. | |
8661 | (block_set_using, block_initialize_namespace): Ditto. | |
8662 | ||
d5a921c9 KB |
8663 | 2003-04-14 Kevin Buettner <[email protected]> |
8664 | ||
8665 | * solib-svr4.c (svr4_have_link_map_offsets): New function. | |
8666 | (locate_base): Return early if there aren't any link map offsets. | |
8667 | (svr4_solib_create_inferior_hook): Warn if shared library support | |
8668 | is unavailable. | |
8669 | ||
d2a52b27 DC |
8670 | 2003-04-14 David Carlton <[email protected]> |
8671 | ||
8672 | * symtab.c (symbol_set_names): Add prefix when storing Java names | |
8673 | in hash table. Fix for PR java/1039. | |
8674 | ||
980cae7a DC |
8675 | 2003-04-14 David Carlton <[email protected]> |
8676 | ||
8677 | * symtab.c (symbol_set_names): Rename 'name' arg to | |
8678 | 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'. | |
8679 | * symtab.h: Change 'name' argument in declaration of | |
8680 | symbol_set_names to 'linkage_name'. | |
8681 | (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'. | |
8682 | ||
e227b13c AC |
8683 | 2003-04-14 Andrew Cagney <[email protected]> |
8684 | ||
8685 | * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE, | |
8686 | return the fully sign-extended register value. | |
8687 | (get_frame_pointer): Ditto. | |
8688 | (mips_pop_frame): Initialize "proc_desc" after checking for a | |
8689 | dummy frame. | |
8690 | ||
36712a20 AC |
8691 | 2003-04-14 Andrew Cagney <[email protected]> |
8692 | ||
8693 | * mips-tdep.c (mips_push_dummy_frame): Delete function. | |
8694 | (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros. | |
8695 | (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro. | |
8696 | (mips_push_register): Delete function. | |
8697 | (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and | |
8698 | PUSH_FP_REGNUM. | |
8699 | ||
44ea7b70 JB |
8700 | 2003-04-14 Jim Blandy <[email protected]> |
8701 | ||
8702 | * symmisc.c: #include "gdb_regex.h". | |
8703 | (maintenance_list_symtabs, maintenance_list_psymtabs): New | |
8704 | functions. | |
8705 | * maint.c (maintenance_list_command): New function. | |
8706 | (_initialize_maint_cmds): Register the above as commands. | |
8707 | * symtab.h (maintenance_list_symtabs, | |
8708 | maintenance_list_psymtabs): New declarations. | |
8709 | * cli/cli-cmds.c (maintenancelistlist): New variable. | |
8710 | (init_cmd_lists): Initialize it. | |
8711 | * cli/cli-cmds.h (maintenancelistlist): New declaration. | |
8712 | * gdbcmd.h (maintenancelistlist): New declaration. | |
8713 | * Makefile.in (symmisc.o): Update dependencies. | |
8714 | ||
2d0c7962 EZ |
8715 | 2003-04-14 Elena Zannoni <[email protected]> |
8716 | ||
8717 | * s390-nat.c: Include asm/types.h for addr_t. | |
8718 | ||
1947a811 CV |
8719 | 2003-04-14 Corinna Vinschen <[email protected]> |
8720 | ||
8721 | * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with | |
8722 | actually incoming type. | |
8723 | ||
adb616d7 AC |
8724 | 2003-04-13 Andrew Cagney <[email protected]> |
8725 | ||
8726 | * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc, | |
8727 | get_next_frame and get_frame_saved_regs. | |
8728 | ||
9b5e151c AC |
8729 | 2003-04-13 Andrew Cagney <[email protected]> |
8730 | ||
8731 | * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead | |
8732 | of gdbarch_num_regs. | |
8733 | ||
ef6e7e13 AC |
8734 | 2003-04-13 Andrew Cagney <[email protected]> |
8735 | ||
8736 | * frame.h: Mention what replaced what in "struct frame_info". | |
8737 | * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and | |
8738 | deprecated_update_frame_base_hack and | |
8739 | deprecated_update_frame_pc_hack. | |
8740 | * hppa-tdep.c: Ditto. | |
8741 | ||
61fbb938 DJ |
8742 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
8743 | ||
8744 | * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments | |
8745 | to read_reg and update its comment. Remove regnum member. | |
8746 | * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval. | |
8747 | Don't call read_reg when setting in_reg. Call read_reg to get | |
8748 | the frame base if it's in a register. Return the register number | |
8749 | on the stack instead of in the context. Remove extra arguments | |
8750 | to read_reg. | |
8751 | * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments. | |
8752 | (dwarf2_evaluate_loc_desc): Call value_from_register. Expect | |
8753 | the register number on the expression stack. | |
8754 | (needs_frame_read_reg): Remove extra arguments. | |
8755 | ||
0d53c4c4 DJ |
8756 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
8757 | ||
8758 | * dwarf2expr.c (dwarf2_read_address): Renamed from read_address; | |
8759 | made non-static. | |
8760 | (execute_stack_op): All callers updated. | |
8761 | * dwarf2expr.h: Add prototype for dwarf2_read_address. | |
8762 | * dwarf2loc.c (find_location_expression): New function. | |
8763 | (dwarf_expr_frame_base): Call it. | |
8764 | (dwarf2_evaluate_loc_desc): Handle 0-length location expressions. | |
8765 | (dwarf2_tracepoint_var_ref): New function, broken out from | |
8766 | locexpr_tracepoint_var_ref. | |
8767 | (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref. | |
8768 | Make static. | |
8769 | (loclist_read_variable, loclist_read_needs_frame): New functions. | |
8770 | (loclist_describe_location, loclist_tracepoint_var_ref): New | |
8771 | functions. | |
8772 | (dwarf2_loclist_funcs): New struct location_funcs. | |
8773 | * dwarf2loc.h (struct dwarf2_loclist_baton): New type. | |
8774 | (struct dwarf2_locexpr_baton): Add comments. | |
8775 | (dwarf2_loclist_funcs): New extern. | |
8776 | * dwarf2read.c (struct comp_unit_head): Remove DIE member, add | |
8777 | base_address and base_known. | |
8778 | (dwarf_loc_buffer): New variable. | |
8779 | (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size. | |
8780 | (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros. | |
8781 | (dwarf2_has_info): Initialize dwarf_loc_offset. | |
8782 | (dwarf2_build_psymtabs): Read in .debug_loc. | |
8783 | (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and | |
8784 | DWARF_LOC_SIZE. | |
8785 | (psymtab_to_symtab_1): Likewise. Move base address calculation | |
8786 | here, from... | |
8787 | (dwarf2_get_pc_bounds): ... here. Use the base address from | |
8788 | cu_header. | |
8789 | (dwarf2_symbol_mark_computed): Handle location lists. | |
8790 | ||
6aca59a3 DJ |
8791 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
8792 | ||
8793 | * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode | |
8794 | if the linkage name demangled successfully. | |
8795 | ||
aca1fcd0 MK |
8796 | 2003-04-13 Mark Kettenis <[email protected]> |
8797 | ||
97095916 MK |
8798 | * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours, |
8799 | disassmbly_flavour): Removed. | |
8800 | ||
aca1fcd0 MK |
8801 | * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. |
8802 | ||
562a961f MK |
8803 | 2003-04-13 Mark Kettenis <[email protected]> |
8804 | ||
8805 | * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed. | |
8806 | ||
bd013d54 AC |
8807 | 2003-04-12 Andrew Cagney <[email protected]> |
8808 | ||
8809 | * frame.h (struct frame_info): Move definition from here ... | |
8810 | * frame.c (struct frame_info): ... to here. | |
8811 | ||
167ef8b1 AC |
8812 | 2003-04-12 Andrew Cagney <[email protected]> |
8813 | ||
8814 | * gdbthread.h (save_infrun_state): Delete parameter | |
8815 | "prev_func_start". | |
8816 | (struct thread_info): Delete field "prev_func_start". | |
8817 | (load_infrun_state): Ditto. | |
8818 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
8819 | * infrun.c (prev_func_start): Delete variable. | |
8820 | (context_switch, init_wait_for_inferior): Update. | |
8821 | (stop_stepping, keep_going): Update. | |
8822 | ||
da3331ec AC |
8823 | 2003-04-12 Andrew Cagney <[email protected]> |
8824 | ||
8825 | * gdbarch.sh: Add missing opaque declarations. | |
8826 | * gdbarch.h: Regnerate. | |
8827 | * symtab.h: Add missing opaque declarations. | |
8828 | * value.h, target.h, symfile.h, stabsread.h: Ditto. | |
8829 | * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. | |
8830 | * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. | |
8831 | * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. | |
8832 | * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. | |
8833 | * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. | |
8834 | * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. | |
8835 | * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. | |
8836 | * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. | |
8837 | * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. | |
8838 | * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. | |
8839 | * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. | |
8840 | * cli/cli-setshow.h, cli/cli-script.h: Ditto. | |
8841 | ||
18adea3f AC |
8842 | 2003-04-11 Andrew Cagney <[email protected]> |
8843 | ||
8844 | * frame.c (get_frame_id): Return this frame's "id". | |
8845 | (legacy_get_prev_frame): Set prev's frame ID code_addr to the | |
8846 | function start. | |
8847 | (legacy_saved_regs_this_id): Replace function body with | |
8848 | internal-error. | |
8849 | (deprecated_frame_xmalloc): Mark the frame ID as valid, use | |
8850 | FRAME_OBSTACK_ZALLOC. | |
8851 | (create_new_frame): Mark the frame ID as valid. | |
8852 | ||
2252e863 AO |
8853 | 2003-04-11 Alexandre Oliva <[email protected]> |
8854 | ||
8855 | * Makefile.in (libbfd_h): Added missing setting. | |
8856 | * mips-tdep.c (mips_gdbarch_init): Set disassembler_options | |
8857 | according to the selected ABI. | |
8858 | ||
a8245ab8 JJ |
8859 | 2003-04-11 Jeff Johnston <[email protected]> |
8860 | ||
8861 | * gdb_indent.sh: Recognize pid_t and sigset_t as types. | |
8862 | ||
6913c89a AC |
8863 | 2003-04-11 Andrew Cagney <[email protected]> |
8864 | ||
8865 | * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate | |
8866 | SAVED_PC_AFTER_CALL. | |
8867 | * gdbarch.h, gdbarch.c: Regenerate. | |
8868 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8869 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8870 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8871 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8872 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8873 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8874 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8875 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8876 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8877 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8878 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8879 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8880 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8881 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8882 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8883 | (ia64_saved_pc_after_call): Update declaration. | |
8884 | * i386ly-tdep.c (i386lynx_init_abi): Update. | |
8885 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8886 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8887 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8888 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8889 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8890 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8891 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8892 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8893 | * ns32knbsd-nat.c (frame_num_args): Update. | |
8894 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
8895 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
8896 | * infrun.c (step_over_function): Update. | |
8897 | * i386-linux-tdep.c (skip_hurd_resolver): Update. | |
8898 | * i386-interix-tdep.c (i386_interix_back_one_frame): Update. | |
8899 | * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
8900 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8901 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8902 | * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
8903 | * arm-linux-tdep.c (skip_hurd_resolver): Update. | |
8904 | * arch-utils.c (init_frame_pc_default): Update. | |
8905 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
8906 | * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update | |
8907 | declaration. | |
8ffd9b1b | 8908 | |
38edeab8 AC |
8909 | 2003-04-11 Andrew Cagney <[email protected]> |
8910 | ||
8911 | * i387-tdep.c: Update copyright. | |
8912 | (i387_to_double): Delete function. | |
8913 | (double_to_i387): Delete function. | |
8914 | ||
81f8a206 AC |
8915 | 2003-04-10 Andrew Cagney <[email protected]> |
8916 | ||
8917 | * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the | |
8918 | frame's function's address. Simplify. | |
8919 | (d10v_frame_unwind_cache): Check that the frame's function is | |
8920 | non-zero. | |
8921 | ||
6e691f7a JB |
8922 | 2003-04-10 Jim Blandy <[email protected]> |
8923 | ||
8924 | * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted | |
8925 | call to set_gdbarch_deprecated_push_arguments. | |
8926 | ||
7f78e237 AC |
8927 | 2003-04-10 Andrew Cagney <[email protected]> |
8928 | ||
8929 | * frame.c (fprint_frame_id): New function. | |
8930 | (fprint_frame_type, fprint_frame): New function. | |
8931 | (frame_pc_unwind, frame_func_unwind): Add/update trace code. | |
8932 | (create_sentinel_frame, get_frame_id): Ditto. | |
8933 | (frame_id_p, frame_id_eq): Ditto. | |
8934 | (frame_id_inner, create_new_frame): Ditto. | |
8935 | (legacy_get_prev_frame, get_prev_frame): Ditto. | |
8936 | (deprecated_update_frame_pc_hack): Ditto. | |
8937 | (frame_register_unwind): Ditto. | |
8938 | (deprecated_update_frame_base_hack): Ditto. | |
8939 | ||
f870b49b CV |
8940 | 2003-04-10 Corinna Vinschen <[email protected]> |
8941 | ||
8942 | * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function. | |
8943 | (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new | |
8944 | frame_chain function. | |
8945 | * Makefile.in: Add dependencies due to above change. | |
8946 | ||
7c86889b CV |
8947 | 2003-04-10 Corinna Vinschen <[email protected]> |
8948 | ||
8949 | * blockframe.c (legacy_frame_chain_valid): Move call to | |
8950 | DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and | |
8951 | inside_entry_file. | |
8952 | ||
d0a55772 AC |
8953 | 2003-04-09 Andrew Cagney <[email protected]> |
8954 | ||
8955 | * frame.h (struct frame_id): Replace "pc" and "base" with | |
8956 | "stack_addr" and "code_addr". Update comments. | |
8957 | (frame_id_build): Update parameter names and comment. | |
8958 | (struct frame_info): Replace "id_p" and "id" with "this_id". | |
8959 | * dummy-frame.c (dummy_frame_this_id): Update. | |
8960 | * breakpoint.c (print_one_breakpoint): Update. | |
8961 | * frame.c (get_frame_id): Update. | |
8962 | (get_frame_base, frame_id_build): Update. | |
8963 | (create_sentinel_frame, legacy_get_prev_frame): Update. | |
8964 | (deprecated_update_frame_base_hack): Update. | |
8965 | (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. | |
8966 | (frame_id_inner): Ditto. | |
8967 | ||
ac16bf07 AC |
8968 | 2003-04-09 Andrew Cagney <[email protected]> |
8969 | ||
8970 | * defs.h (gdb_print_host_address): Make "addr" parameter a | |
8971 | pointer constant. | |
8972 | * utils.c (gdb_print_host_address): Update. | |
8973 | ||
366cfc9e KB |
8974 | 2003-04-09 Kevin Buettner <[email protected]> |
8975 | ||
8976 | * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the | |
8977 | register number for R0 is 0. | |
8978 | ||
cd983b5c JB |
8979 | 2003-04-09 J. Brobecker <[email protected]> |
8980 | ||
8981 | * frame.h (struct gdbarch): Add opaque structure definition | |
8982 | to avoid a compilation warning on LynxOS 4.0. | |
8983 | ||
d1340264 AC |
8984 | 2003-04-09 Andrew Cagney <[email protected]> |
8985 | ||
8986 | * frame.h (struct frame_info): Delete field "pc". Replace | |
8987 | "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc" | |
8988 | structure. | |
8989 | * frame.c (frame_pc_unwind): Update. | |
8990 | (create_sentinel_frame): Do not set "pc". | |
8991 | (get_prev_frame): Do not set "pc". Use frame_pc_unwind. | |
8992 | (get_frame_pc): Call frame_pc_unwind. | |
8993 | (deprecated_update_frame_pc_hack): Update. | |
8994 | (create_new_frame): Use "pc" not "->pc". | |
8995 | ||
90a6fffb AC |
8996 | 2003-04-09 Andrew Cagney <[email protected]> |
8997 | ||
8998 | * frame.c (get_frame_id): Eliminate code updating "frame". | |
8999 | (legacy_get_prev_frame): Ditto. | |
9000 | (get_frame_base): Return id.base directly. | |
9001 | (deprecated_update_frame_base_hack): Update "id.base". | |
9002 | * frame.h (struct frame_info): Delete field "frame". | |
9003 | ||
2fbce691 AC |
9004 | 2003-04-09 Andrew Cagney <[email protected]> |
9005 | ||
9006 | * NEWS: Mention that the "Sequent family" is obsolete. | |
9007 | * configure.tgt: Obsolete i[3456]86-sequent-bsd*, | |
9008 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
9009 | * configure.host: Obsolete i[3456]86-sequent-bsd*, | |
9010 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
9011 | * config/i386/tm-ptx4.h: Obsolete file. | |
9012 | * config/i386/tm-ptx.h: Obsolete file. | |
9013 | * symm-tdep.c: Obsolete file. | |
9014 | * config/i386/symmetry.mt: Obsolete file. | |
9015 | * config/i386/tm-symmetry.h: Obsolete file. | |
9016 | * symm-nat.c: Obsolete file. | |
9017 | * config/i386/nm-symmetry.h: Obsolete file. | |
9018 | * config/i386/xm-symmetry.h: Obsolete file. | |
9019 | * config/i386/symmetry.mh: Obsolete file. | |
9020 | * config/i386/nm-ptx4.h: Obsolete file. | |
9021 | * config/i386/ptx4.mh: Obsolete file. | |
9022 | * config/i386/ptx.mt: Obsolete file. | |
9023 | * config/i386/ptx.mh: Obsolete file. | |
9024 | * config/i386/xm-ptx4.h: Obsolete file. | |
9025 | * config/i386/xm-ptx.h: Obsolete file. | |
9026 | ||
78c43945 AC |
9027 | 2003-04-09 Andrew Cagney <[email protected]> |
9028 | ||
9029 | Obsolete mips*-*-mach3*. | |
9030 | * NEWS: Mention that mips*-*-mach3* is obsolete. | |
9031 | * m3-nat.c: Obsolete file. | |
9032 | * config/nm-m3.h: Obsolete file. | |
9033 | * config/mips/tm-mipsm3.h: Obsolete file. | |
9034 | * config/mips/mipsm3.mt: Obsolete file. | |
9035 | * config/mips/mipsm3.mh: Obsolete file. | |
9036 | * config/mips/xm-mipsm3.h: Obsolete file. | |
9037 | * mipsm3-nat.c: Obsolete file. | |
9038 | * configure.host: Obsolete mips-dec-mach3*. | |
9039 | * configure.tgt: Obsolete mips*-*-mach3*. | |
9040 | ||
f1908289 AC |
9041 | 2003-04-09 Andrew Cagney <[email protected]> |
9042 | ||
9043 | * doublest.h: Update copyright. | |
9044 | (deprecated_store_floating, deprecated_extract_floating): Rename | |
9045 | store_floating and extract_floating. Update comments. | |
9046 | * doublest.c: Update copyright. | |
9047 | (extract_floating_by_length): Replace extract_floating. | |
9048 | (store_floating_by_length): Replace store_floating. | |
9049 | (deprecated_extract_floating): New function. | |
9050 | (deprecated_store_floating): New function. | |
9051 | (extract_typed_floating): Call extract_floating_by_length. | |
9052 | (store_typed_floating): Call store_floating_by_length. | |
9053 | * x86-64-tdep.c (x86_64_store_return_value): Update. | |
9054 | * sh-tdep.c (sh3e_sh4_extract_return_value): Update. | |
9055 | (sh64_extract_return_value): Update. | |
9056 | (sh_sh4_register_convert_to_virtual): Update. | |
9057 | (sh_sh64_register_convert_to_virtual): Update. | |
9058 | (sh_sh4_register_convert_to_raw): Update. | |
9059 | (sh_sh64_register_convert_to_raw): Update. | |
9060 | * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. | |
9061 | (rs6000_register_convert_to_raw): Update. | |
9062 | * ia64-tdep.c (ia64_register_convert_to_virtual): Update. | |
9063 | (ia64_register_convert_to_raw): Update. | |
9064 | * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. | |
9065 | (REGISTER_CONVERT_TO_VIRTUAL): Update. | |
9066 | * arm-linux-tdep.c (arm_linux_push_arguments): Update. | |
9067 | * alpha-tdep.c (alpha_register_convert_to_virtual): Update. | |
9068 | (alpha_register_convert_to_raw): Update. | |
9069 | ||
4443bd83 AC |
9070 | 2003-04-08 Andrew Cagney <[email protected]> |
9071 | ||
9072 | * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. | |
9073 | * gdbarch.h, gdbarch.c: Re-generate. | |
9074 | * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. | |
9075 | (d10v_gdbarch_init): Do not set saved_pc_after_call. | |
9076 | * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P | |
9077 | conditionally, use frame_pc_unwind as an alternative. Add | |
9078 | comments. | |
9079 | * arch-utils.c (init_frame_pc_default): Only call | |
9080 | SAVED_PC_AFTER_CALL when available. | |
9081 | ||
c0236d92 EZ |
9082 | 2003-04-08 Elena Zannoni <[email protected]> |
9083 | ||
fbe586ae | 9084 | * infrun.c (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
9085 | (struct inferior_status): Rename stop_soon_quietly field to stop_soon. |
9086 | (clear_proceed_status): Rename stop_soon_quietly to stop_soon. | |
9087 | (start_remote): Ditto. | |
9088 | (handle_inferior_event): Ditto. | |
9089 | (save_inferior_status): Ditto. | |
9090 | (restore_inferior_status): Ditto. | |
9091 | * infcmd.c (attach_command): Ditto. | |
9092 | * fork-child.c (startup_inferior): Ditto. | |
fbe586ae | 9093 | * inferior.h (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
9094 | * alpha-tdep.c (heuristic_proc_start): Ditto. |
9095 | * mips-tdep.c (heuristic_proc_start): Ditto. | |
9096 | * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. | |
9097 | * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. | |
9098 | * solib-osf.c (osf_solib_create_inferior_hook): Ditto. | |
9099 | * solib-irix.c (irix_solib_create_inferior_hook): Ditto. | |
9100 | * remote-vx.c (vx_create_inferior): Ditto. | |
9101 | ||
9102 | 2003-04-08 Elena Zannoni <[email protected]> | |
9103 | ||
9104 | * infrun.c (stop_soon_quietly): Make it an enum, to better | |
9105 | override the default behavior of handle_inferior_event. | |
9106 | (clear_proceed_status): Update uses of stop_soon_quietly to | |
9107 | reflect that it is now an enum. | |
9108 | (start_remote): Ditto. | |
9109 | (handle_inferior_event): Change logic a bit if stop_soon_quietly | |
9110 | is set to handle the new GNU/Linux kernel behavior for | |
9111 | attach/sigstop. Update uses of stop_soon_quietly. | |
9112 | * inferior.h (enum stop_kind): New enum. | |
9113 | * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. | |
9114 | Reset normal handle_inferior_event behavior, afterwards. | |
9115 | * fork-child.c (startup_inferior): Update. | |
9116 | * alpha-tdep.c (heuristic_proc_start): Update. | |
9117 | * solib-svr4.c (svr4_solib_create_inferior_hook): Update. | |
9118 | * solib-sunos.c (sunos_solib_create_inferior_hook): Update. | |
9119 | * solib-osf.c (osf_solib_create_inferior_hook): Update. | |
9120 | * solib-irix.c (irix_solib_create_inferior_hook): Update. | |
9121 | * remote-vx.c (vx_create_inferior): Update. | |
9122 | * mips-tdep.c (heuristic_proc_start): Update. | |
9123 | ||
1211bce3 EZ |
9124 | 2003-04-07 Elena Zannoni <[email protected]> |
9125 | ||
9126 | * disasm.c (dump_insns): Move variables inside loop, or they will | |
fbe586ae | 9127 | be freed more than once, causing wild memory corruptions. |
1211bce3 | 9128 | (gdb_disassembly): Look for the substring "-thread", |
fbe586ae | 9129 | instead of "-threads" in the target name, to make sure to find |
8ffd9b1b | 9130 | the 'multi-thread' target. Also, make sure we do the right thing |
fbe586ae | 9131 | with the "core" target. |
1211bce3 | 9132 | |
f0ef6b29 KB |
9133 | 2003-04-07 Kevin Buettner <[email protected]> |
9134 | ||
9135 | * mips-tdep.c (mips_print_fp_register): New function, created from | |
9136 | do_fp_register_row(). Registers are now (also) printed as hex. | |
9137 | Only one register is printed per row. | |
9138 | (mips_print_register, do_fp_register_row): Print floating point | |
9139 | registers with mips_print_fp_register(). | |
9140 | ||
8cf71652 AC |
9141 | 2003-04-06 Andrew Cagney <[email protected]> |
9142 | ||
5e488a7b AC |
9143 | * valprint.h (inspect_it): Add extern declaration. |
9144 | * objc-lang.c (value_nsstring): Avoid assignment inside of "if". | |
9145 | (selectors_info, classes_info): Ditto. | |
9146 | (find_objc_msgcall): Fix indentation. | |
9147 | (objc_printstr): Delete extern declarations. | |
9148 | ||
8cf71652 AC |
9149 | * arm-tdep.c (arm_frameless_function_invocation): Fix typo. |
9150 | ||
e6ba3bc9 AC |
9151 | 2003-04-06 Andrew Cagney <[email protected]> |
9152 | ||
9153 | * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid. | |
9154 | Update comment. | |
9155 | * frame.c (legacy_saved_regs_this_id): Update. | |
9156 | (legacy_get_prev_frame): Update. | |
9157 | * xstormy16-tdep.c: Update comment. | |
9158 | * sparc-tdep.c (sparc_frame_chain): Update comment. | |
9159 | * blockframe.c (legacy_frame_chain_valid): Update. | |
9160 | ||
55e1d7e7 AC |
9161 | 2003-04-06 Andrew Cagney <[email protected]> |
9162 | ||
996179ee AC |
9163 | * valprint.c (val_print_type_code_int): Delete #ifdef |
9164 | PRINT_TYPELESS_INTEGER code. | |
9165 | ||
55e1d7e7 AC |
9166 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES) |
9167 | (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial | |
9168 | multi-arch definition. | |
9169 | * gdbarch.h: Re-generate. | |
9170 | ||
43bd9a9e AC |
9171 | 2003-04-05 Andrew Cagney <[email protected]> |
9172 | ||
9173 | Eliminate FRAME_FIND_SAVED_REGS. | |
9174 | * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
9175 | Change FSR parameter to a pointer. | |
9176 | * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): | |
9177 | Assume FSR parameter is a pointer. | |
9178 | * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
9179 | Make fsr a pointer. | |
9180 | * hppa-tdep.c (hppa_frame_find_saved_regs): New function. | |
9181 | (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make | |
9182 | saved_regs a pointer. | |
9183 | (hppa_frame_saved_pc): Ditto. | |
9184 | (find_dummy_frame_regs): Make frame_saved_regs a pointer | |
9185 | (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a | |
9186 | pointer. | |
9187 | (restore_pc_queue): Make fsr a pointer. | |
9188 | (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer. | |
9189 | (hppa_frame_chain): Make saved_regs a pointer, call | |
9190 | hppa_frame_init_saved_regs. | |
9191 | * sparc-tdep.c: Include "gdb_assert.h". | |
9192 | (sparc_frame_find_saved_regs): Replace internal_error with | |
9193 | gdb_assert. | |
9194 | * remote-vxsparc.c (vx_read_register): Delete reference to | |
9195 | FRAME_FIND_SAVED_REGS. | |
9196 | * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS. | |
9197 | * gdbarch.h: Regenerate. | |
9198 | * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
9199 | (deprecated_get_frame_saved_regs): Delete declaration. | |
9200 | (struct frame_saved_regs): Delete definition. | |
9201 | * frame.c (deprecated_get_frame_saved_regs): Delete function. | |
9202 | * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare. | |
9203 | (hppa_frame_find_saved_regs): Delete declaration. | |
9204 | (FRAME_FIND_SAVED_REGS): Delete macro. | |
9205 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Define. | |
9206 | * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete | |
9207 | FRAME_FIND_SAVED_REGS in comment. | |
9208 | ||
be41e9f4 AC |
9209 | 2003-04-05 Andrew Cagney <[email protected]> |
9210 | ||
9211 | * frame.c (frame_func_unwind, get_frame_func): New functions. | |
9212 | * frame.h (get_frame_func, frame_func_unwind): Declare. | |
9213 | (struct frame_info): Add field "prev_func" for caching the | |
9214 | previous frame's function address. | |
9215 | * arm-tdep.c (arm_frameless_function_invocation): Combine | |
9216 | get_pc_function_start and get_frame_pc into get_frame_func. | |
9217 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
9218 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
9219 | * s390-tdep.c (s390_function_start): Ditto. | |
9220 | * rs6000-tdep.c (rs6000_pop_frame): Ditto. | |
9221 | (rs6000_frameless_function_invocation): Ditto. | |
9222 | (rs6000_frame_saved_pc): Ditto. | |
9223 | * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto. | |
9224 | * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto. | |
9225 | * i386-tdep.c (i386_frameless_signal_p): Ditto. | |
9226 | (i386_frame_init_saved_regs): Ditto. | |
9227 | * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto. | |
9228 | * d10v-tdep.c (d10v_frame_unwind_cache): Combine | |
9229 | get_pc_function_start and frame_pc_unwind into frame_func_unwind. | |
9230 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
9231 | * blockframe.c (frameless_look_for_prologue): Ditto. | |
9232 | ||
a01dd7cc AC |
9233 | 2003-04-05 Andrew Cagney <[email protected]> |
9234 | ||
9235 | * frame.c (legacy_get_prev_frame): Link prev to next at the | |
9236 | function start. Update comments. | |
9237 | ||
5e5592e6 AC |
9238 | 2003-04-05 Andrew Cagney <[email protected]> |
9239 | ||
9240 | * frame.c (get_frame_id): Update comment. | |
9241 | (legacy_get_prev_frame): Update comment. | |
9242 | * gdbarch.sh: Delete check for EXTRA_FRAME_INFO. | |
9243 | * gdbarch.h: Regenerate. | |
9244 | * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete. | |
9245 | * frame.h: Delete #ifdef EXTRA_FRAME_INFO code. | |
9246 | ||
6fba5002 AC |
9247 | 2003-04-05 Andrew Cagney <[email protected]> |
9248 | ||
9249 | * stack.c (print_frame_info): Use get_frame_pc. | |
9250 | ||
7df05f2b AC |
9251 | 2003-04-04 Andrew Cagney <[email protected]> |
9252 | ||
9253 | * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set | |
9254 | the frame's type from the unwinder. | |
9255 | (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME. | |
9256 | (create_new_frame, legacy_get_prev_frame): When the unwinder's | |
9257 | type isn't UNKNOWN_FRAME, initalize "type" from the unwinder. | |
9258 | (get_frame_base_address): Use get_frame_type. | |
9259 | (get_frame_locals_address, get_frame_args_address): Ditto. | |
9260 | (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE. | |
9261 | * frame.h (enum frame_type): Add UNKNOWN_FRAME. | |
9262 | (struct frame_info): Add comment explaining why the frame contains | |
9263 | a "type" field. | |
9264 | * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME. | |
9265 | * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME. | |
9266 | * sentinel-frame.c (sentinel_frame_unwinder): Set the type to | |
9267 | NORMAL_FRAME. | |
9268 | * frame-unwind.h: Include "frame.h". | |
9269 | (struct frame_unwind): Add "type" field. | |
9270 | * Makefile.in (frame_unwind_h): Add $(frame_h). | |
8ffd9b1b | 9271 | |
11889732 AC |
9272 | 2003-04-04 Andrew Cagney <[email protected]> |
9273 | ||
9274 | * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build. | |
9275 | * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. | |
9276 | * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and | |
9277 | get_frame_base. | |
9278 | (d10v_unwind_dummy_id): Use frame_id_build. | |
9279 | * frame.c (find_frame_sal): Use get_frame_pc. | |
9280 | (create_new_frame): Use deprecated_update_frame_pc_hack and | |
9281 | deprecated_update_frame_base_hack. | |
9282 | (create_sentinel_frame): Add comment about ->pc going away. | |
9283 | (get_prev_frame): Add comment about ->pc going away. | |
9284 | (legacy_get_prev_frame): Use get_frame_base, get_frame_pc, | |
9285 | frame_id_build, deprecated_update_frame_pc_hack and | |
9286 | deprecated_update_frame_base_hack. | |
9287 | (select_frame): Use get_frame_pc. | |
9288 | (legacy_saved_regs_this_id): Use frame_id_build. | |
9289 | ||
50c46a0d EZ |
9290 | 2003-04-04 Elena Zannoni <[email protected]> |
9291 | ||
fbe586ae RH |
9292 | * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the |
9293 | signed integer case. | |
9294 | (classify_argument): Handle enumerations and references. | |
50c46a0d | 9295 | |
50bbdbd9 AC |
9296 | 2003-04-04 Andrew Cagney <[email protected]> |
9297 | ||
9298 | * frame.c (create_sentinel_frame): Initialize the sentinel frame's | |
9299 | ID to NULL. | |
9300 | ||
36018d2e AF |
9301 | 2003-04-01 Adam Fedor <[email protected]> |
9302 | ||
9303 | * gdb/objc-lang.c (selectors_info): Replace calls to | |
9304 | SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with | |
9305 | SYMBOL_NATURAL_NAME. | |
9306 | (classes_info, find_methods): Likewise. | |
9307 | ||
35cec841 KB |
9308 | 2003-04-03 Kevin Buettner <[email protected]> |
9309 | ||
9310 | * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set | |
9311 | ``mach'' to the value determined by bfd_default_set_arch_mach(). | |
9312 | ||
43136899 BR |
9313 | 2003-04-02 Bob Rossi <[email protected]> |
9314 | ||
9315 | * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o". | |
9316 | (SUBDIR_MI_SRCS): Add "mi-cmd-file.c". | |
9317 | (mi-cmd-file.o): Update dependencies. | |
9318 | ||
040b99fd KB |
9319 | 2003-04-01 Kevin Buettner <[email protected]> |
9320 | ||
9321 | * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
9322 | (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. | |
9323 | ||
9a3d7dfd AF |
9324 | 2003-04-01 Adam Fedor <[email protected]> |
9325 | ||
9326 | * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h). | |
9327 | * language.h (struct language_defn): Add la_demangle. | |
9328 | (language_demangle): Declare. | |
9329 | * language.c (language_demangle): New function. | |
9330 | (unk_lang_demangle): Likewise. | |
9331 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
fbe586ae | 9332 | Add ukn_lang_demangle. |
9a3d7dfd | 9333 | * ada-lang.c (ada_language_defn): Add NULL for la_demangle element. |
fbe586ae | 9334 | * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise. |
9a3d7dfd AF |
9335 | * c-lang.c (c_language_defn, asm_language_defn): Likewise. |
9336 | (cplus_language_defn): Add cplus_demangle for la_demangle element. | |
9337 | * jv-lang.c (java_demangle): New function | |
9338 | (java_language_defn): Use it for la_demangle element. | |
fbe586ae RH |
9339 | * objc-lang.c (objc_demangle): Add options argument |
9340 | (objc_language_defn): Use objc_demangle for la_demangle element. | |
9a3d7dfd AF |
9341 | * maint.c (maintenance_demangle): Replace switch with |
9342 | call to language_demangle. | |
9343 | * utils.c (fprintf_symbol_filtered): Likewise. | |
9344 | ||
5e074003 AC |
9345 | 2003-04-01 Andrew Cagney <[email protected]> |
9346 | ||
9347 | * printcmd.c (print_frame_nameless_args): Delete #ifdef | |
9348 | NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and | |
9349 | PRINT_TYPELESS_INTEGER. | |
9350 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename | |
9351 | PUSH_RETURN_ADDRESS. | |
9352 | ||
270cb5d6 AC |
9353 | 2003-04-01 Andrew Cagney <[email protected]> |
9354 | ||
9355 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
9356 | * d10v-tdep.c: Include "frame-base.h". | |
9357 | (d10v_frame_unwind): Make constant. | |
9358 | (d10v_frame_base_address): New function. | |
9359 | (d10v_frame_base): New variable. | |
9360 | (d10v_gdbarch_init): Set frame_base default. | |
9361 | (struct d10v_unwind_cache): Add the field "prev_sp". Update | |
9362 | comment for base. | |
9363 | (d10v_frame_unwind_cache): Set and use "prev_sp". | |
9364 | (d10v_frame_this_id): Use the previous frame's inner most stack | |
9365 | address and this frame's func address for the frame ID. Use | |
9366 | frame_id_build. Don't analyze beyond the current instruction. | |
8ffd9b1b | 9367 | |
6bfb3e36 AC |
9368 | 2003-04-01 Andrew Cagney <[email protected]> |
9369 | ||
9370 | * frame.h (get_frame_locals_address, get_frame_args_address): | |
9371 | Refer to the base address, instead of the address of the first | |
9372 | local or parameter. | |
8ffd9b1b | 9373 | |
da62e633 AC |
9374 | 2003-04-01 Andrew Cagney <[email protected]> |
9375 | ||
9376 | Add frame debug info addresses: | |
9377 | * frame-base.c: New file. | |
9378 | * frame-base.h: New file. | |
9379 | * frame.h (struct frame_base): Add opaque declaration. | |
9380 | (get_frame_base): Update comment. | |
9381 | (get_frame_base_address): Declare. | |
9382 | (get_frame_locals_address): Declare. | |
9383 | (get_frame_args_address): Declare. | |
9384 | (struct frame_info): Add "base" and "base_cache". Update | |
9385 | comments on the unwinder. | |
9386 | * frame.c: Include "frame-base.h". | |
9387 | (get_frame_locals_address): New function. | |
9388 | (get_frame_base_address): New function. | |
9389 | (get_frame_args_address): New function. | |
9390 | * findvar.c (read_var_value): Use get_frame_locals_address and | |
9391 | get_frame_args_address. | |
9392 | * stack.c (frame_info): Use get_frame_locals_address and | |
9393 | get_frame_args_address. | |
9394 | (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro, | |
9395 | moved to "frame-base.c". | |
9396 | * printcmd.c (print_frame_nameless_args): Ditto. | |
9397 | * symtab.h (address_class): Update comments. | |
9398 | * dwarf2loc.c (dwarf_expr_frame_base): Add note about | |
9399 | get_frame_base_address. | |
9400 | * dwarf2expr.c (execute_stack_op): Ditto. | |
9401 | * Makefile.in (frame_base_h): Define. | |
9402 | (frame.o): Update dependencies. | |
9403 | (frame-base.o): Add dependencies. | |
9404 | (SFILES): Add frame-base.c. | |
9405 | (COMMON_OBS): Add frame-base.o. | |
9406 | ||
3d30e9c2 AC |
9407 | 2003-04-01 Andrew Cagney <[email protected]> |
9408 | ||
9409 | * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero. | |
9410 | CALL_DUMMY_LENGTH): Ditto. | |
9411 | * gdbarch.c: Re-generate. | |
9412 | * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro. | |
9413 | (CALL_DUMMY_LENGTH): Delete macro. | |
9414 | * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero. | |
9415 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9416 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9417 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9418 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9419 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9420 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9421 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
9422 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9423 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9424 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9425 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9426 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9427 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9428 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9429 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9430 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9431 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
9432 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9433 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
9434 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
9435 | ||
ce0c7262 CV |
9436 | 2003-04-01 Corinna Vinschen <[email protected]> |
9437 | ||
9438 | * frame.c (get_prev_frame): Disable call to inside_entry_file(). | |
9439 | ||
73dd234f AC |
9440 | 2003-04-01 Andrew Cagney <[email protected]> |
9441 | ||
9442 | * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero. | |
9443 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
9444 | * gdbarch.h, gdbarch.c: Re-generate. | |
9445 | * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
9446 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
9447 | * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
9448 | * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
9449 | (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
9450 | * infcmd.c (run_stack_dummy): Simplify assuming | |
9451 | CALL_DUMMY_BREAKPOINT_OFFSET_P. | |
9452 | * infrun.c (handle_inferior_event): Ditto. | |
9453 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
9454 | call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p. | |
9455 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9456 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9457 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9458 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9459 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9460 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9461 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9462 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9463 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9464 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
9465 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9466 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9467 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9468 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
9469 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9470 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9471 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9472 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
9473 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9474 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
9475 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
9476 | ||
97606a13 DJ |
9477 | 2003-04-01 Daniel Jacobowitz <[email protected]> |
9478 | ||
9479 | * symfile.c (symfile_relocate_debug_section): Update call to | |
9480 | bfd_simple_get_relocated_section_contents. | |
9481 | ||
e8ab51f7 AC |
9482 | 2003-03-31 Andrew Cagney <[email protected]> |
9483 | ||
9484 | * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. | |
9485 | * gdbarch.h, gdbarch.c: Regenerate. | |
9486 | * inferior.h (FIX_CALL_DUMMY): Delete macro. | |
9487 | * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when | |
9488 | available. | |
9489 | * frame.h (generic_fix_call_dummy): Delete declaration. | |
9490 | * dummy-frame.h: Update comment. | |
9491 | * dummy-frame.c (generic_fix_call_dummy): Delete function. | |
9492 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
9493 | fix_call_dummy. | |
9494 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9495 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9496 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9497 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9498 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9499 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9500 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9501 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9502 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9503 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9504 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9505 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9506 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9507 | ||
018d1b48 JB |
9508 | 2003-03-31 J. Brobecker <[email protected]> |
9509 | ||
9510 | * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful. | |
9511 | (INIT_FRAME_AP): Likewise. | |
9512 | (EXTRA_FRAME_INFO): Likewise. | |
9513 | ||
e9a2674e AC |
9514 | 2003-03-31 Andrew Cagney <[email protected]> |
9515 | ||
9516 | * gdbarch.sh: Include "symfile.h". | |
9517 | (CALL_DUMMY_ADDRESS): Default to entry_point_address. | |
9518 | * gdbarch.h, gdbarch.c: Re-generate. | |
9519 | * inferior.h (CALL_DUMMY_ADDRESS): Delete macro. | |
9520 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
9521 | call_dummy_address, the default is at entry_point_address. | |
9522 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9523 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
9524 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9525 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9526 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9527 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9528 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9529 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9530 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9531 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9532 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9533 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9534 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9535 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9536 | ||
e8a8712a AC |
9537 | 2003-03-31 Andrew Cagney <[email protected]> |
9538 | ||
9539 | * gdbarch.sh (CALL_DUMMY_P): Delete. | |
9540 | * gdbarch.h, gdbarch.c: Re-generate. | |
9541 | * inferior.h (CALL_DUMMY_P): Delete macro. | |
9542 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9543 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9544 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9545 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9546 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9547 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9548 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9549 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9550 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9551 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9552 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9553 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9554 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9555 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9556 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9557 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9558 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9559 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
9560 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9561 | * breakpoint.c (deprecated_frame_in_dummy): Update. | |
9562 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9563 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9564 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9565 | * dummy-frame.c (dummy_frame_this_id): Update comments. | |
9566 | * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto. | |
9567 | * frame.c (legacy_get_prev_frame): Ditto. | |
9568 | * valops.c (call_function_by_hand): Delete function. | |
9569 | (hand_function_call): Rename to call_function_by_hand | |
9570 | ||
ed234cf8 AC |
9571 | 2003-03-30 Andrew Cagney <[email protected]> |
9572 | ||
9573 | 2002-11-10 Klee Dienes <[email protected]> | |
fbe586ae | 9574 | * value.h (struct value): Update comment. |
ed234cf8 | 9575 | |
06c77151 AC |
9576 | 2003-03-30 Andrew Cagney <[email protected]> |
9577 | ||
6c2b5168 AC |
9578 | * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with |
9579 | D10V_FP_REGNUM. | |
9580 | (d10v_gdbarch_init): Do not set fp_regnum. | |
9581 | ||
06c77151 AC |
9582 | * frame.c (get_frame_base): Force ID initialization. |
9583 | (get_prev_frame): Move computation of the frame ID from here ... | |
9584 | (get_frame_id): ... to here. | |
9585 | (legacy_get_prev_frame): Mark the frame ID as valid. | |
9586 | * frame.h (struct frame_info): Add field "id_p". | |
9587 | ||
97a1a11c MK |
9588 | 2003-03-30 Mark Kettenis <[email protected]> |
9589 | ||
9590 | * i386-tdep.c (i386_store_struct_return): Removed. | |
9591 | (i386_gdbarch_init): Don't set deprecated_store_struct_return. | |
9592 | ||
6c0e89ed AC |
9593 | 2003-03-30 Andrew Cagney <[email protected]> |
9594 | ||
9595 | * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP. | |
9596 | * gdbarch.h, gdbarch.c: Regenerate. | |
9597 | * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp. | |
9598 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
9599 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9600 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
9601 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9602 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9603 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9604 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
9605 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9606 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
9607 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9608 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
9609 | * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update. | |
9610 | * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
9611 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define. | |
9612 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9613 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9614 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9615 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9616 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9617 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9618 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9619 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9620 | * valops.c (hand_function_call): Replace TARGET_WRITE_SP with | |
9621 | DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, | |
9622 | instead of when push_dummy_call is not available. | |
8ffd9b1b | 9623 | |
f7dd6af2 AC |
9624 | 2003-03-30 Andrew Cagney <[email protected]> |
9625 | ||
9626 | * infttrace.c: Include "gdbthread.h". | |
9627 | (parent_attach_all): Fix function signature. | |
9628 | (call_ptrace): Update call. | |
9629 | * Makefile.in (infttrace.o): Update dependencies. | |
9630 | ||
28f617b3 AC |
9631 | 2003-03-30 Andrew Cagney <[email protected]> |
9632 | ||
9633 | * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace | |
9634 | PUSH_RETURN_ADDRESS. | |
9635 | * gdbarch.h, gdbarch.c: Regenerate. | |
9636 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9637 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9638 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9639 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9640 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9641 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9642 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9643 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9644 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9645 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9646 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9647 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9648 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9649 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9650 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9651 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9652 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9653 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9654 | * valops.c (hand_function_call): Update. | |
9655 | ||
4d628cd7 AC |
9656 | 2003-03-29 Andrew Cagney <[email protected]> |
9657 | ||
9658 | * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or | |
9659 | sizeof_call_dummy_words. | |
9660 | * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always | |
9661 | define. | |
9662 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 9663 | |
65e82032 AC |
9664 | 2003-03-29 Andrew Cagney <[email protected]> |
9665 | ||
9666 | * infttrace.h: New file. | |
9667 | * hpread.c: Include "gdb_assert.h" and "somsolib.h". | |
9668 | (hpread_get_textlow): Detect an uninitialized dn_bufp. | |
9669 | (hpread_read_doc_function_type): Detect an initialized type1. | |
9670 | (hpread_quick_traverse): Initialize mod_name_string. | |
9671 | * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. | |
9672 | (som_solib_get_solib_by_pc): Declare. | |
9673 | (so_lib_thread_start_addr): Declare. | |
9674 | (no_shared_libraries): Declare. | |
9675 | * somread.c (init_import_symbols): Make static. Add forward | |
9676 | declaration. | |
9677 | * config/pa/nm-hppah.h: Include "infttrace.h" for | |
9678 | parent_attach_all. | |
9679 | (hppa_insert_hw_watchpoint): Declare. | |
9680 | (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. | |
9681 | * hppah-nat.c: Include "gdb_string.h". | |
9682 | (parent_attach_all): Delete extern declaration, moved to | |
9683 | "infttrace.h". | |
9684 | (hppa_can_use_hw_watchpoint): Change type of "type" parameter to | |
9685 | int. | |
9686 | (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. | |
9687 | * Makefile.in (infttrace_h): Define. | |
9688 | (hpread.o): Update dependencies. | |
9689 | (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. | |
9690 | * hppa-hpux-tdep.c: Include "gdb_string.h". | |
9691 | * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". | |
9692 | * infrun.c (handle_inferior_event): Always initialize | |
9693 | stepped_after_stopped_by_watchpoint. Add default and remove | |
9694 | fallthrough in switch statement. | |
9695 | * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" | |
9696 | parameter to int. | |
9697 | (hppa_remove_hw_watchpoint): Ditto. | |
9698 | ||
2c3bbe77 AC |
9699 | 2003-03-29 Andrew Cagney <[email protected]> |
9700 | ||
9701 | * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint | |
9702 | offset. | |
9703 | ||
2dd604e7 RE |
9704 | 2003-03-29 Richard Earnshaw <[email protected]> |
9705 | ||
9706 | * arm-tdep.c (arm_push_arguments): Delete. | |
9707 | (struct stack_item): New type. | |
9708 | (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. | |
9709 | (arm_store_struct_return): Delte. | |
9710 | (arm_gdbarch_init): Register arm_push_dummy_call. Don't register | |
9711 | arm_push_arguments or arm_store_struct_return. | |
9712 | ||
e8933a55 AC |
9713 | 2003-03-28 Andrew Cagney <[email protected]> |
9714 | ||
9715 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
9716 | * remote.h (target_resume_hook, target_wait_loop_hook): Declare. | |
9717 | * d10v-tdep.c: Include "remote.h". | |
9718 | (target_resume_hook): Delete extern declaration. | |
9719 | (target_wait_loop_hook): Ditto. | |
9720 | (tdisassemble_command): Eliminate assignment in "if" conditional. | |
9721 | (d10v_ts2_register_sim_regno): Eliminate call to | |
9722 | legacy_register_sim_regno. | |
9723 | (d10v_ts3_register_sim_regno): Ditto. | |
9724 | ||
6949171e JJ |
9725 | 2003-03-28 Jeff Johnston <[email protected]> |
9726 | ||
9727 | * thread.c: Reindented. | |
9728 | * lin-lwp.c: Ditto. | |
9729 | * linux-proc.c: Ditto. | |
9730 | ||
98c7071f BR |
9731 | 2003-03-28 Bob Rossi <[email protected]> |
9732 | ||
fbe586ae | 9733 | * MAINTAINERS (write after approval): Add myself. |
98c7071f | 9734 | |
5edc9ca6 TR |
9735 | 2003-03-27 Theodore A. Roth <[email protected]> |
9736 | ||
9737 | * objc-exp.y: Add missing semi-colons. | |
9738 | ||
378bfd1b AC |
9739 | 2003-03-27 Andrew Cagney <[email protected]> |
9740 | ||
9741 | * regcache.c (write_sp): Delete function and references. | |
9742 | * inferior.h (write_sp): Delete declaration. | |
9743 | * valops.c (hand_function_call): Replace write_sp with | |
9744 | TARGET_WRITE_SP. | |
9745 | * sparc-tdep.c (sparc_push_dummy_frame): Ditto. | |
9746 | (sparc_pop_frame): Ditto. | |
8ffd9b1b | 9747 | |
56056df7 AC |
9748 | 2003-03-27 Andrew Cagney <[email protected]> |
9749 | ||
9750 | * NEWS: Mention removal of support for hppa*-*-bsd* and | |
9751 | hppa*-*-osf* natives, and hppa*-*-pro* target. | |
9752 | * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h". | |
9753 | * config/pa/xm-pa.h: Obsolete file. | |
9754 | * config/pa/xm-hppab.h: Obsolete file. | |
9755 | * config/pa/nm-hppab.h: Obsolete file. | |
9756 | * config/pa/tm-hppab.h: Obsolete file. | |
9757 | * config/pa/tm-hppao.h: Obsolete file. | |
9758 | * config/pa/nm-hppao.h: Obsolete file. | |
9759 | * config/pa/tm-pro.h: Obsolete file. | |
9760 | * config/pa/hppaosf.mt: Obsolete file. | |
9761 | * config/pa/hppaosf.mh: Obsolete file. | |
9762 | * config/pa/hppapro.mt: Obsolete file. | |
9763 | * config/pa/hppabsd.mt: Obsolete file. | |
9764 | * config/pa/hppabsd.mh: Obsolete file. | |
9765 | * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*. | |
9766 | * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and | |
9767 | hppa*-*-osf*. | |
9768 | ||
5873a88d AC |
9769 | 2003-03-27 Andrew Cagney <[email protected]> |
9770 | ||
9771 | * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of | |
9772 | push_arguments. Don't set push_return_address or write_sp. | |
9773 | (d10v_push_dummy_call): Replace d10v_push_arguments. | |
9774 | (d10v_push_return_address, d10v_write_sp): Delete function, | |
9775 | handled by push_dummy_call. | |
9776 | ||
b81774d8 AC |
9777 | 2003-03-26 Andrew Cagney <[email protected]> |
9778 | ||
9779 | * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS. | |
9780 | (push_dummy_call): New pure multi-arch replacement with gdbarch, | |
9781 | regcache and dummy_addr parameters. | |
9782 | * gdbarch.h, gdbarch.c: Re-generate. | |
9783 | * valops.c (hand_function_call): Use gdbarch_push_dummy_call when | |
9784 | available; assume it will handle stack alignment and return | |
9785 | address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and | |
9786 | legacy_push_arguments. | |
9787 | (legacy_push_arguments): Rename default_push_arguments. | |
9788 | * value.h (legacy_push_arguments): Rename default_push_arguments. | |
9789 | * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments. | |
9790 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
9791 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
9792 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
9793 | * config/i386/tm-symmetry.h: Update. | |
9794 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9795 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9796 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9797 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9798 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9799 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9800 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9801 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9802 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9803 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9804 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9805 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9806 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9807 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9808 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9809 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9810 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
9811 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9812 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9813 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9814 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
9815 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9816 | ||
f541410f DJ |
9817 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
9818 | ||
9819 | * signals/signals.c (do_target_signal_to_host): Correct realtime | |
9820 | signal range test. | |
9821 | ||
69f567ae DJ |
9822 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
9823 | ||
9824 | * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals) | |
9825 | (struct sal_chain, map_catch_names): Remove. | |
9826 | (catch_exception_command_1): Don't call | |
9827 | handle_gnu_4_16_catch_command. | |
9828 | ||
d5d14a5a DJ |
9829 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
9830 | ||
9831 | From Mark Dettinger <[email protected]>: | |
9832 | * dwarf2cfi.c (read_2u): Increment pointer by two. | |
9833 | ||
bdd73e22 DJ |
9834 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
9835 | ||
9836 | * signals/signals.c: Fix typos in last change. | |
9837 | ||
960cb555 DJ |
9838 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
9839 | ||
9840 | * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if | |
9841 | not already defined. Use __SIGRTMIN if available. | |
9842 | (target_signal_from_host): Remove SIGRTMIN block. | |
9843 | (do_target_signal_to_host): Remove SIGRTMIN block; check that | |
9844 | the signal is within the realtime range. | |
9845 | ||
f636b87d AF |
9846 | 2003-03-25 Adam Fedor <[email protected]> |
9847 | ||
9848 | * Makefile.in (infrun.o): Add $(language_h) | |
9849 | * infrun.c (handle_inferior_event): Use skip_language_trampoline | |
9850 | for language specific trampolines. | |
9851 | * language.h (struct language_defn): Add skip_trampoline. | |
9852 | (skip_language_trampoline): Declare. | |
9853 | * language.c (unk_lang_trampoline, skip_language_trampoline): | |
9854 | New functions. | |
9855 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
9856 | Add ukn_lang_trampoline. | |
9857 | * ada-lang.c (ada_language_defn): Add NULL for language | |
9858 | specific skip_trampoline. | |
9859 | * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c, | |
9860 | scm-lang.c: Likewise. | |
9861 | * objc-lang.c (objc_skip_trampoline): New function. | |
9862 | (objc_language_defn): Add objc_skip_trampoline. | |
9863 | ||
28f617b3 | 9864 | 2003-03-25 Andrew Cagney <[email protected]> |
270c3b1d AC |
9865 | |
9866 | * frame.c (get_prev_frame): Delay validating a frame's ID - | |
9867 | non-NULL, didn't go backwards - until an attempt to unwind it to | |
9868 | the previous frame. | |
9869 | ||
f933a9c5 AC |
9870 | 2003-03-25 Andrew Cagney <[email protected]> |
9871 | ||
9872 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace | |
9873 | EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. | |
9874 | * gdbarch.h, gdbarch.c: Re-generate. | |
9875 | * config/sparc/tm-sparc.h | |
9876 | (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. | |
9877 | * sparc-tdep.c (sparc_gdbarch_init): Set | |
9878 | deprecated_extra_stack_alignment_needed. | |
9879 | * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. | |
9880 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear | |
9881 | extra_stack_alignment_needed. | |
9882 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9883 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
9884 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9885 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9886 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9887 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
9888 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 9889 | |
4183d812 AC |
9890 | 2003-03-25 Andrew Cagney <[email protected]> |
9891 | ||
9892 | * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace | |
9893 | STORE_STRUCT_RETURN. | |
9894 | * gdbarch.h, gdbarch.c: Regenerate. | |
9895 | * d10v-tdep.c (d10v_store_struct_return): Delete function. | |
9896 | (d10v_push_arguments): Set the struct return register. | |
9897 | (d10v_gdbarch_init): Update. | |
9898 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9899 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9900 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9901 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9902 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9903 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9904 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9905 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9906 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9907 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9908 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9909 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9910 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9911 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9912 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9913 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9914 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9915 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9916 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9917 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9918 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9919 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9920 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 9921 | |
1bf6d5cc AC |
9922 | 2003-03-25 Andrew Cagney <[email protected]> |
9923 | ||
9924 | * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. | |
9925 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace | |
9926 | CALL_DUMMY_STACK_ADJUST with a predicate variable. | |
9927 | * gdbarch.h, gdbarch.c: Regenerate. | |
9928 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
9929 | call_dummy_stack_adjust_p. | |
9930 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
9931 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9932 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9933 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9934 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9935 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
9936 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9937 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9938 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9939 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
9940 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9941 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9942 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9943 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9944 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9945 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9946 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9947 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9948 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9949 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
9950 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
9951 | * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update. | |
9952 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
9953 | * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set | |
9954 | call_dummy_stack_adjust_p. | |
9955 | * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro. | |
9956 | (CALL_DUMMY_STACK_ADJUST): Delete macro. | |
9957 | * sparc-tdep.c (sparc32_push_arguments): Update. | |
9958 | * valops.c (hand_function_call): Update. | |
9959 | ||
71c08af0 CV |
9960 | 2003-03-25 Corinna Vinschen <[email protected]> |
9961 | ||
9962 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to | |
9963 | set_gdbarch_char_signed. | |
9964 | ||
30757f90 RE |
9965 | 2003-03-25 Richard Earnshaw <[email protected]> |
9966 | ||
9967 | PR cli/548 | |
9968 | * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler". | |
9969 | ||
03d48a7d RE |
9970 | 2003-03-25 Richard Earnshaw <[email protected]> |
9971 | ||
9972 | * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. | |
9973 | (_initialize_arm_tdep): Don't set tm_print_insn. | |
9974 | ||
2cf6873c AF |
9975 | 2003-03-24 Adam Fedor <[email protected]> |
9976 | ||
9977 | * Makefile.in (YYOBJ): Add objc-exp.tab.o | |
9978 | * objc-lang.h: Add multiple inclusion protection. | |
9979 | (start_msglist, add_msglist, end_msglist): Additional declarations. | |
9980 | ||
17c0759e RE |
9981 | 2003-03-24 Richard Earnshaw <[email protected]> |
9982 | ||
9983 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum | |
9984 | value was renamed to ARM_FLOAT_SOFT_FPA. | |
9985 | ||
618ce49f AC |
9986 | 2003-03-23 Andrew Cagney <[email protected]> |
9987 | ||
9988 | * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN. | |
9989 | (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID. | |
9990 | * gdbarch.h, gdbarch.c: Regenerate. | |
9991 | * valops.c (hand_function_call): Update. | |
9992 | * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
9993 | * frame.c (legacy_saved_regs_this_id): Update. | |
9994 | (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update. | |
9995 | * dummy-frame.h: Update. | |
9996 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update. | |
9997 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
9998 | * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update. | |
9999 | * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update. | |
10000 | * config/m68k/tm-sun3.h: Update. | |
10001 | * blockframe.c (inside_main_func, frame_chain_valid): Update. | |
10002 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10003 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
10004 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10005 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10006 | * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update. | |
10007 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10008 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10009 | * rs6000-tdep.c (rs6000_frame_saved_pc): Update. | |
10010 | (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update. | |
10011 | (frame_get_saved_regs): Update. | |
10012 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
10013 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10014 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10015 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10016 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10017 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10018 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10019 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10020 | * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update. | |
10021 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
10022 | (i386_interix_back_one_frame): Update. | |
10023 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
10024 | (hppa_init_extra_frame_info): Update. | |
10025 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
10026 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10027 | * cris-tdep.c (cris_gdbarch_init): Update. | |
10028 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10029 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10030 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10031 | ||
fd50bc42 RE |
10032 | 2003-03-22 Richard Earnshaw <[email protected]> |
10033 | ||
10034 | * arm-tdep.h (arm_float_model): Add AUTO and LAST values. | |
10035 | (arm_get_fp_model): Declare. | |
10036 | * arm-tdep.c (fp_model_strings): New string array. | |
10037 | (arm_fp_model, current_fp_model): New variables. | |
10038 | (arm_get_fp_model): New function. | |
10039 | (arm_set_fp): New function. | |
10040 | (set_fp_model_sfunc): New function. | |
10041 | (show_fp_model): New function. | |
10042 | (_initialize_arm_tdep): Add new command to set/show the FPU. | |
10043 | (arm_extract_return_value): Use arm_get_fp_model. | |
10044 | (arm_store_return_value): Likewise. | |
10045 | (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp | |
10046 | to initialize the floating-point data types. | |
10047 | * arm-linux-tdep.c (arm_linux_init_abi): The default floating point | |
10048 | model is FPA. | |
10049 | ||
26304000 RE |
10050 | 2003-03-22 Richard Earnshaw <[email protected]> |
10051 | ||
10052 | * arm-tdep.c (show_arm_command): Don't print out help. Instead, show | |
10053 | the current setting of each value. | |
10054 | (_initialize_arm_tdep): Delete variable new_cmd and add new vars | |
8ffd9b1b | 10055 | new_set and new_show. Use add_setshow_cmd_full and |
26304000 RE |
10056 | add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" |
10057 | commands and add new version as subcommands of "set/show arm". | |
10058 | ||
afd7eef0 RE |
10059 | 2003-03-22 Richard Earnshaw <[email protected]> |
10060 | ||
10061 | * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists. | |
10062 | (set_arm_command, show_arm_command): New functions. | |
10063 | (_initialize_arm_tdep): Add them. | |
10064 | (num_disassembly_options): Renamed from num_flavor_options. | |
10065 | (valid_disassembly_styles): Renamed from valid_flavors. | |
10066 | (disassembly_style): Renamed from disassembly_flavor. | |
8ffd9b1b | 10067 | (set_disassembly_style_sfunc): Renamed from |
afd7eef0 RE |
10068 | set_disassembly_flavor_sfunc. |
10069 | (set_disassembly_style): Renamed from set_disassembly_flavor. | |
10070 | (arm_othernames): Updated. | |
10071 | (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor" | |
10072 | command. Add "set/show arm disassembly" commands. Deprecate | |
10073 | "othernames" command. | |
10074 | ||
299a7944 RE |
10075 | 2003-03-22 Richard Earnshaw <[email protected]> |
10076 | ||
10077 | * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define. | |
10078 | (arm-tdep.o): Depend on elf_arm_h. | |
10079 | ||
c1dac9e6 RE |
10080 | 2003-03-22 Richard Earnshaw <[email protected]> |
10081 | ||
10082 | * Makefile.in (coff_internal_h): Define. | |
10083 | (arm-tdep.o): Update dependencies. | |
10084 | ||
2702d96c RE |
10085 | 2003-03-22 Richard Earnshaw <[email protected]> |
10086 | ||
10087 | * arm-tdep.c (prologue_cache): Delete. | |
10088 | (check_prologue_cache, save_prologue_cache): Delete. | |
10089 | (arm_scan_prologue): Don't check or update the prologue_cache. | |
10090 | (arm_gdb_arch_init): Don't initialize it. | |
10091 | (_initialize_arm_tdep): Likewise. | |
10092 | ||
27d5d74b SC |
10093 | 2003-03-21 Stephane Carrez <[email protected]> |
10094 | ||
10095 | * MAINTAINERS (tui): Maintainer of tui code. | |
10096 | ||
1762d96d CV |
10097 | 2003-03-21 Corinna Vinschen <[email protected]> |
10098 | ||
10099 | * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c. | |
10100 | (i386-cygwin-tdep.o): Add dependencies. | |
10101 | * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. | |
10102 | * i386-cygwin-tdep.c: New file. | |
10103 | * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. | |
10104 | * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o. | |
10105 | ||
4c2e2391 AC |
10106 | 2003-03-20 Andrew Cagney <[email protected]> |
10107 | ||
f20d38b7 AC |
10108 | * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. |
10109 | (handle_inferior_event): Remove code calling | |
10110 | DYNAMIC_TRAMPOLINE_NEXTPC. | |
10111 | ||
0022b738 AC |
10112 | * Makefile.in (init.c): Don't add $(srcdir) prefix when a file |
10113 | already has a full path. | |
10114 | ||
864dbc90 AC |
10115 | * main.c (gdb_main): Return 1. |
10116 | (captured_main): Call error to report an invalid interpreter. | |
10117 | ||
4c2e2391 AC |
10118 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. |
10119 | * alpha-osf1-tdep.c: Include "gdb_string.h". | |
10120 | ||
5ef7553b JB |
10121 | 2003-03-19 J. Brobecker <[email protected]> |
10122 | ||
10123 | Continuing work to convert the hppa targets to multiarch partial. | |
10124 | ||
10125 | * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch | |
10126 | method, now that hppa_push_dummy_frame has a conformant prototype. | |
10127 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro | |
10128 | inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation | |
10129 | for the switch to multiarch partial. | |
10130 | ||
7bde8967 KB |
10131 | 2003-03-19 Kevin Buettner <[email protected]> |
10132 | ||
10133 | * mdebugread.c (parse_symbol): For stEnd, we're done counting | |
10134 | when iss is issNull. | |
10135 | ||
b006a9e9 KB |
10136 | 2003-03-18 Kevin Buettner <[email protected]> |
10137 | ||
10138 | * mips-tdep.c (mips_register_name): Fix fencepost error involving | |
10139 | NUM_REGS bounds check. | |
10140 | ||
5e2e9765 KB |
10141 | 2003-03-18 Kevin Buettner <[email protected]> |
10142 | ||
10143 | * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h). | |
10144 | * mips-tdep.c (gdb_assert.h): Include. | |
10145 | (mips_generic_reg_names, mips_processor_reg_names): Make static. | |
10146 | (mips_register_name): Handle integer registers explicitly. Add | |
10147 | bounds checking. | |
10148 | (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names) | |
10149 | (mips_lsi33k_reg_names): Don't list integer registers; they're | |
10150 | handled by mips_register_name() now. | |
10151 | * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise. | |
10152 | * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise. | |
10153 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise. | |
10154 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise. | |
10155 | * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise. | |
10156 | ||
a2867626 AC |
10157 | 2003-03-18 Andrew Cagney <[email protected]> |
10158 | ||
10159 | * printcmd.c (print_scalar_formatted): Change VALADDR parameter to | |
10160 | a void pointer. | |
10161 | * gdbtypes.h (print_scalar_formatted): Update declaration. | |
10162 | * expression.h (enum exp_opcode): Remove non-ISO C trailing comma. | |
10163 | ||
06600e06 JB |
10164 | 2003-03-18 J. Brobecker <[email protected]> |
10165 | ||
10166 | * infrun.c (observer.h): Add #include. | |
10167 | (normal_stop): Add call to observer_notify_normal_stop. | |
10168 | * Makefile.in (infrun.o): Add dependency on observer.h. | |
10169 | ||
7daf4f5b JB |
10170 | 2003-03-18 J. Brobecker <[email protected]> |
10171 | ||
10172 | Continuing work to convert the hppa targets to multiarch partial. | |
10173 | * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function | |
10174 | parameter. Reformat comment. | |
10175 | * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile. | |
10176 | (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame() | |
10177 | to match new profile. | |
10178 | ||
3371ccc0 JB |
10179 | 2003-03-18 J. Brobecker <[email protected]> |
10180 | ||
10181 | * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not | |
10182 | appear to be working in any case. | |
10183 | ||
4fbe891e JB |
10184 | 2003-03-18 J. Brobecker <[email protected]> |
10185 | ||
10186 | * observer.c (observer_test_first_observer): New static variable. | |
10187 | (observer_test_second_observer): Likewise. | |
10188 | (observer_test_third_observer): Likewise. | |
10189 | (observer_test_first_notification_function): New static function. | |
10190 | (observer_test_second_notification_function): Likewise. | |
10191 | (observer_test_third_notification_function): Likewise. | |
10192 | ||
a7ff40e7 JB |
10193 | 2003-03-17 J. Brobecker <[email protected]> |
10194 | ||
10195 | * hppa-tdep.c (gdb_assert.h): Add missing #include. | |
10196 | * somsolib.c (gdb_assert.h): Likewise. | |
10197 | * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. | |
10198 | (somsolib.o): Likewise. | |
10199 | ||
26ca4152 AC |
10200 | 2003-03-17 Andrew Cagney <[email protected]> |
10201 | ||
10202 | * disasm.c (gdb_disassembly): Set di.mach using the architecture's | |
10203 | BFD. Simplify setting of di.endian. | |
10204 | ||
0a613259 AC |
10205 | 2003-03-17 Andrew Cagney <[email protected]> |
10206 | ||
10207 | * rs6000-tdep.c (ppc_floating_point_unit_p): New function. | |
10208 | * ppc-tdep.h (ppc_floating_point_unit_p): Declare. | |
10209 | ||
10210 | From Elena Zannoni <[email protected]> | |
10211 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 | |
10212 | vector and floating-point parameters. | |
10213 | (ppc_sysv_abi_use_struct_convention): Handle e500 struct return | |
10214 | convention. | |
10215 | (ppc_sysv_abi_broken_use_struct_convention): Ditto. | |
10216 | ||
1132738f FN |
10217 | 2003-03-17 Fernando Nasser <[email protected]> |
10218 | ||
10219 | * MAINTAINERS: Remove my name from several maintainership roles. | |
10220 | ||
6dc42492 AC |
10221 | 2003-03-17 Andrew Cagney <[email protected]> |
10222 | ||
10223 | Fix frame off-by-one bug. | |
10224 | * frame-unwind.h (frame_this_id_ftype): Replace | |
10225 | frame_unwind_id_ftype. | |
10226 | (frame_prev_register_ftype): Replace frame_unwind_reg_ftype. | |
10227 | (struct frame_unwind): Replace "id" with "this_id". Replace "reg" | |
10228 | with "prev_register". | |
10229 | * frame-unwind.c (frame_unwind_find_by_pc): Return | |
10230 | legacy_saved_regs_unwind instead of trad_frame_unwind. Update | |
10231 | comment. | |
10232 | * dummy-frame.c (cached_find_dummy_frame): Delete function. | |
10233 | (dummy_frame_this_id): Replace dummy_frame_id_unwind. | |
10234 | (dummy_frame_prev_register): Replace dummy_frame_register_unwind. | |
10235 | (dummy_frame_unwind): Update. | |
10236 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
10237 | sentinel_frame_register_unwind. | |
10238 | (sentinel_frame_this_id): Replace sentinel_frame_id_unwind. | |
10239 | (sentinel_frame_unwinder): Update. | |
10240 | * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
10241 | (struct frame_info): Rename "unwind_cache" to "prologue_cache". | |
10242 | * frame.c (create_sentinel_frame): Update. Initialize | |
10243 | "prologue_cache" instead of "unwind_cache". | |
10244 | (frame_register_unwind): Call this frame's prev_register with the | |
10245 | next frame and this frame's prologue cache. | |
10246 | (get_prev_frame): Simplify. Always call prev frame's this_id with | |
10247 | this frame and prev frame's prologue cache. Document that this | |
10248 | call is shifted one to the left when compared to the | |
10249 | frame_register_unwind call. | |
10250 | (legacy_saved_regs_prev_register): Replace | |
10251 | frame_saved_regs_register_unwind. | |
10252 | (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind. | |
10253 | (legacy_saved_regs_unwinder): Replace trad_frame_unwinder. | |
10254 | (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
10255 | * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind. | |
10256 | (d10v_frame_unwind): Update. | |
10257 | (d10v_frame_prev_register): Replace d10v_frame_register_unwind. | |
10258 | (d10v_frame_unwind_cache): Replace this "fi" with "next_frame". | |
10259 | (saved_regs_unwinder): Replace this "frame" with "next_frame", and | |
10260 | "saved_regs" with "this_saved_regs". | |
10261 | ||
efd710d6 AC |
10262 | 2003-03-16 Andrew Cagney <[email protected]> |
10263 | ||
10264 | * frame.c (frame_pop): Don't call target_store_registers. Fix | |
10265 | problem reported by Mark Kettenis. | |
10266 | ||
4e259f09 MK |
10267 | 2003-03-16 Mark Kettenis <[email protected]> |
10268 | ||
10269 | * i386-tdep.c (i386_register_type): Renamed from | |
10270 | i386_register_virtual_type. Adjust function signature. | |
10271 | (i386_gdbarch_init): Set register_type instead of | |
10272 | deprecated_max_register_raw_size, | |
10273 | deprecated_max_register_virtual_size and register_virtual_type. | |
10274 | ||
055bb976 AC |
10275 | 2003-03-14 Andrew Cagney <[email protected]> |
10276 | ||
10277 | * frame.c (get_prev_frame): When a legacy frame, always call | |
10278 | legacy_get_prev_frame. Simplify unwind code using assumption that | |
10279 | the unwinder is new. | |
10280 | (legacy_get_prev_frame): Handle legacy sentinel frame unwind here. | |
10281 | (legacy_frame_p): When no gdbarch_unwind_dummy_id, or | |
10282 | SAVED_DUMMY_FRAME_TOS, assume a legacy frame. | |
10283 | ||
ac2adee5 AC |
10284 | 2003-03-14 Andrew Cagney <[email protected]> |
10285 | ||
10286 | * frame.c (get_saved_register): Delete function. | |
10287 | * frame.h (get_saved_register): Delete declaration. | |
10288 | * xstormy16-tdep.c: Update comment. | |
10289 | * regcache.h: Update comments. | |
10290 | * sparc-tdep.c (sparc_init_extra_frame_info): Instead of | |
10291 | get_saved_register and extract_address, use | |
10292 | frame_read_unsigned_register. | |
10293 | (sparc_frame_saved_pc): Ditto. | |
10294 | (sparc_get_saved_register): Instead of get_saved_register, use | |
10295 | frame_register. | |
10296 | (sparc_pop_frame): Ditto. | |
10297 | * findvar.c: Update comments. | |
10298 | (value_of_register): Call frame_register instead of | |
10299 | get_saved_register. | |
10300 | (value_from_register): Ditto. | |
10301 | * config/sparc/tm-sparc.h: Update comment. | |
10302 | * breakpoint.c: Update comment. | |
10303 | ||
129c1cd6 AC |
10304 | 2003-03-14 Andrew Cagney <[email protected]> |
10305 | ||
10306 | * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace | |
10307 | GET_SAVED_REGISTER. | |
10308 | * gdbarch.h, gdbarch.c: Re-generate. | |
10309 | * frame.h: Update comments. | |
10310 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10311 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
10312 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10313 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10314 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10315 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10316 | * cris-tdep.c (cris_gdbarch_init): Update. | |
10317 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10318 | * frame.c (frame_register): Update. | |
10319 | (get_saved_register): Update. | |
10320 | * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. | |
8ffd9b1b | 10321 | |
749b82f6 AC |
10322 | 2003-03-13 Andrew Cagney <[email protected]> |
10323 | ||
10324 | * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. | |
10325 | * gdbarch.h, gdbarch.c: Regenerate. | |
10326 | * valops.c (hand_function_call): Update comment. | |
10327 | * stack.c (return_command): Update comment. | |
10328 | * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update. | |
10329 | * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update. | |
10330 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10331 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
10332 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10333 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10334 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10335 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10336 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10337 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10338 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10339 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10340 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10341 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10342 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10343 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10344 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10345 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10346 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
10347 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
10348 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10349 | * cris-tdep.c (cris_gdbarch_init): Update. | |
10350 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10351 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10352 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10353 | ||
1594fa56 AC |
10354 | 2003-03-13 Andrew Cagney <[email protected]> |
10355 | ||
10356 | * frame.c (legacy_frame_p): New function. | |
10357 | (get_prev_frame): Use legacy_frame_p. | |
10358 | * frame.h (legacy_frame_p): Declare. | |
10359 | ||
7717fda3 V |
10360 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
10361 | ||
fbe586ae | 10362 | * MAINTAINERS (write after approval): Alphabetically |
7717fda3 V |
10363 | listing corrected. |
10364 | ||
0c67cbe9 V |
10365 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
10366 | ||
fbe586ae | 10367 | * MAINTAINERS (write after approval): Add myself. |
0c67cbe9 | 10368 | |
03febf99 AC |
10369 | 2003-03-12 Andrew Cagney <[email protected]> |
10370 | ||
10371 | * frame.c (get_prev_frame): Rename the frame parameter to | |
10372 | "this_frame". | |
10373 | (get_next_frame, legacy_get_prev_frame): Ditto. | |
10374 | ||
0a1e1ca1 AC |
10375 | 2003-03-12 Andrew Cagney <[email protected]> |
10376 | ||
10377 | * frame.c (get_current_frame): Check target_has_registers before | |
10378 | checking target_has_stack. | |
10379 | * eval.c (evaluate_subexp_standard): Use get_selected_frame, | |
10380 | instead of deprecated_selected_frame. | |
10381 | * findvar.c (value_of_register): Pass "frame", not | |
10382 | deprecated_selected_frame, to value_of_builtin_reg. | |
10383 | ||
a66a9c23 AC |
10384 | 2003-03-12 Andrew Cagney <[email protected]> |
10385 | ||
10386 | * regcache.c (regcache_cooked_write_signed): New function. | |
10387 | (regcache_cooked_write_unsigned): New function. | |
10388 | (regcache_cooked_read_unsigned): Fix regnum in range assertion. | |
10389 | (regcache_cooked_read_signed): Fix regnum in range assertion. | |
10390 | * regcache.h (regcache_cooked_write_signed): Declare. | |
10391 | (regcache_cooked_write_unsigned): Declare. | |
10392 | ||
8bedc050 AC |
10393 | 2003-03-12 Andrew Cagney <[email protected]> |
10394 | ||
10395 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
10396 | * gdbarch.h, gdbarch.c: Re-generate. | |
10397 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10398 | * x86-64-tdep.h: Update. | |
10399 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
10400 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10401 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10402 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10403 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10404 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10405 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
10406 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10407 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10408 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10409 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10410 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10411 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10412 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10413 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10414 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
10415 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
10416 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
10417 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10418 | * cris-tdep.c (cris_gdbarch_init): Update. | |
10419 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10420 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10421 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10422 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
10423 | (sh64_init_extra_frame_info): Update. | |
10424 | * ns32knbsd-nat.c (frame_num_args): Update. | |
10425 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
10426 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
10427 | (xstormy16_frame_chain_valid): Update. | |
10428 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
10429 | * v850-tdep.c (v850_frame_chain): Update. | |
10430 | (v850_pop_frame): Update. | |
10431 | (v850_init_extra_frame_info): Update. | |
10432 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
10433 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
10434 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
10435 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
10436 | (mn10300_pop_frame_regular): Update. | |
10437 | (mn10300_init_extra_frame_info): Update. | |
10438 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
10439 | (mips_frame_chain): Update. | |
10440 | (mips_pop_frame): Update. | |
10441 | * mcore-tdep.c (mcore_frame_chain): Update. | |
10442 | (mcore_pop_frame): Update. | |
10443 | (mcore_init_extra_frame_info): Update. | |
10444 | * arch-utils.c (init_frame_pc_default): Update. | |
10445 | * m68k-tdep.c (isi_frame_num_args): Update. | |
10446 | (delta68_frame_num_args): Update. | |
10447 | (news_frame_num_args): Update. | |
10448 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
10449 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
10450 | (alpha_frame_chain): Update. | |
10451 | (alpha_pop_frame): Update. | |
10452 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
10453 | (hppa_init_extra_frame_info): Update. | |
10454 | (hppa_frame_chain): Update. | |
10455 | (hppa_frame_chain_valid): Update. | |
10456 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
10457 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
10458 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
10459 | (arm_init_extra_frame_info): Update. | |
10460 | (arm_pop_frame): Update. | |
10461 | * frame.c (frame_pc_unwind): Update. | |
10462 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
10463 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
10464 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
10465 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
10466 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
10467 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 10468 | |
7a25a7c1 AC |
10469 | 2003-03-12 Andrew Cagney <[email protected]> |
10470 | ||
10471 | Eliminate the need for POP_FRAME. | |
10472 | * frame.c (do_frame_unwind_register): New function. | |
10473 | (frame_pop): When no POP_FRAME, pop the frame using register | |
10474 | unwind and a scratch regcache. | |
10475 | (frame_saved_regs_pop): Delete function. | |
10476 | (trad_frame_unwinder): Update. | |
10477 | * d10v-tdep.c (d10v_frame_pop): Delete function. | |
10478 | (d10v_frame_unwind): Update. | |
10479 | * sentinel-frame.c (sentinel_frame_pop): Delete function. | |
10480 | (sentinel_frame_unwinder): Update. | |
10481 | * dummy-frame.c (dummy_frame_pop): Delete function. | |
10482 | (dummy_frame_unwind): Update. | |
10483 | * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. | |
10484 | (struct frame_unwind): Update. | |
10485 | ||
2f38ef89 KB |
10486 | 2003-03-11 Kevin Buettner <[email protected]> |
10487 | ||
10488 | * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to | |
10489 | mips_dwarf_dwarf2_ecoff_reg_to_regnum(). | |
10490 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): | |
10491 | Do range checks on register number obtained from debugging info. | |
10492 | (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and | |
10493 | set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of | |
10494 | set_gdbarch_ecoff_reg_to_regnum() to account for new name of | |
10495 | mapping function. | |
10496 | (do_fp_register_row): Fix typo which caused double type to be | |
10497 | used when attempting to unpack a float. | |
10498 | ||
552f4abf JB |
10499 | 2003-03-11 J. Brobecker <[email protected]> |
10500 | ||
10501 | * breakpoint.c (bpstat_stop_status): Fix a small memory leak. | |
10502 | ||
e0d2ae16 AC |
10503 | 2003-03-11 Andrew Cagney <[email protected]> |
10504 | ||
10505 | * frame.c (deprecated_update_frame_pc_hack): Don't assume a next | |
10506 | frame. Problem found by Corinna Vinschen. | |
10507 | ||
ddbfdd06 PM |
10508 | 2003-03-11 Pierre Muller <[email protected]> |
10509 | ||
10510 | * doublest.c (floatformat_from_length): Accept also | |
10511 | the real size of 'long double' type. | |
10512 | ||
088b2ddc | 10513 | 2003-03-10 Daniel Jacobowitz <[email protected]> |
31cc81e9 | 10514 | |
088b2ddc | 10515 | From Klee Dienes <[email protected]>: |
31cc81e9 DJ |
10516 | * breakpoint.c (bpstat_copy): Copy the command lines as well |
10517 | as the old value, to match what is freed in bpstat_clear. | |
10518 | ||
f56f77c1 DC |
10519 | 2003-03-10 David Carlton <[email protected]> |
10520 | ||
10521 | * minsyms.c (add_minsym_to_hash_table): Replace | |
10522 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
10523 | (compare_minimal_symbols, compact_minimal_symbols) | |
10524 | (install_minimal_symbols, find_solib_trampoline_target): Ditto. | |
10525 | (lookup_minimal_symbol_text): Use strcmp on linkage names instead | |
10526 | of DEPRECATED_SYMBOL_MATCHES_NAME. | |
10527 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
10528 | ||
5602984a AC |
10529 | 2003-03-10 Andrew Cagney <[email protected]> |
10530 | ||
10531 | * regcache.h (regcache_cooked_read_ftype): Define. | |
10532 | (regcache_save, regcache_restore): Add a cooked_read parameter. | |
10533 | * regcache.c (regcache_save, regcache_restore): Update. | |
10534 | (do_cooked_read): New function. | |
10535 | (regcache_cpy): Pass do_cooked_read to regcache_save and | |
10536 | regcache_restore. | |
10537 | ||
8bedc050 AC |
10538 | 2003-03-10 Andrew Cagney <[email protected]> |
10539 | ||
10540 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
10541 | * gdbarch.h, gdbarch.c: Re-generate. | |
10542 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10543 | * x86-64-tdep.h: Update. | |
10544 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
10545 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10546 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10547 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10548 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10549 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10550 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
10551 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10552 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10553 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10554 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10555 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10556 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10557 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10558 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10559 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
10560 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
10561 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
10562 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10563 | * cris-tdep.c (cris_gdbarch_init): Update. | |
10564 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10565 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10566 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10567 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
10568 | (sh64_init_extra_frame_info): Update. | |
10569 | * ns32knbsd-nat.c (frame_num_args): Update. | |
10570 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
10571 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
10572 | (xstormy16_frame_chain_valid): Update. | |
10573 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
10574 | * v850-tdep.c (v850_frame_chain): Update. | |
10575 | (v850_pop_frame): Update. | |
10576 | (v850_init_extra_frame_info): Update. | |
10577 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
10578 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
10579 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
10580 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
10581 | (mn10300_pop_frame_regular): Update. | |
10582 | (mn10300_init_extra_frame_info): Update. | |
10583 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
10584 | (mips_frame_chain): Update. | |
10585 | (mips_pop_frame): Update. | |
10586 | * mcore-tdep.c (mcore_frame_chain): Update. | |
10587 | (mcore_pop_frame): Update. | |
10588 | (mcore_init_extra_frame_info): Update. | |
10589 | * arch-utils.c (init_frame_pc_default): Update. | |
10590 | * m68k-tdep.c (isi_frame_num_args): Update. | |
10591 | (delta68_frame_num_args): Update. | |
10592 | (news_frame_num_args): Update. | |
10593 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
10594 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
10595 | (alpha_frame_chain): Update. | |
10596 | (alpha_pop_frame): Update. | |
10597 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
10598 | (hppa_init_extra_frame_info): Update. | |
10599 | (hppa_frame_chain): Update. | |
10600 | (hppa_frame_chain_valid): Update. | |
10601 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
10602 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
10603 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
10604 | (arm_init_extra_frame_info): Update. | |
10605 | (arm_pop_frame): Update. | |
10606 | * frame.c (frame_pc_unwind): Update. | |
10607 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
10608 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
10609 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
10610 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
10611 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
10612 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 10613 | |
12cc2063 AC |
10614 | 2003-03-10 Andrew Cagney <[email protected]> |
10615 | ||
10616 | * gdbarch.sh (gdbarch_unwind_pc): New method. | |
10617 | * gdbarch.h, gdbarch.c: Regenerate. | |
10618 | * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, | |
10619 | but use read_pc and FRAME_SAVED_PC as fall backs. | |
10620 | (frame_saved_regs_pc_unwind): Delete function. | |
10621 | (trad_frame_unwinder): Update. | |
10622 | * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. | |
10623 | (struct frame_unwind): Update. | |
10624 | * dummy-frame.c (dummy_frame_pc_unwind): Delete function. | |
10625 | (dummy_frame_unwind): Update. | |
10626 | * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. | |
10627 | (sentinel_frame_unwinder): Update. | |
10628 | * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. | |
10629 | (d10v_frame_unwind): Update. | |
10630 | (d10v_unwind_pc): New function. | |
10631 | (d10v_gdbarch_init): Set unwind_pc. | |
10632 | ||
ef840a37 AC |
10633 | 2003-03-10 Andrew Cagney <[email protected]> |
10634 | ||
a2ce2e56 AC |
10635 | * gdbarch.h: Re-generate. |
10636 | ||
ef840a37 AC |
10637 | * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the |
10638 | PC. | |
10639 | (d10v_frame_pop): Unwind the PC, and not the LR, when restoring | |
10640 | the PC register. | |
10641 | ||
08f3424b MK |
10642 | 2003-03-08 Mark Kettenis <[email protected]> |
10643 | ||
10644 | * gdbarch.sh (save_dummy_frame_tos): Add comment. | |
10645 | ||
1248ede2 AC |
10646 | 2003-03-08 Andrew Cagney <[email protected]> |
10647 | ||
10648 | * cli-out.c: Update copyright. | |
10649 | (cli_out_data): Define typedef. Use instead of ui_out_data. | |
10650 | ||
f49bacc8 AC |
10651 | 2003-03-08 Andrew Cagney <[email protected]> |
10652 | ||
10653 | * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to | |
10654 | the result. | |
10655 | ||
9b05f993 AC |
10656 | 2003-03-07 Andrew Cagney <[email protected]> |
10657 | ||
10658 | * gdbarch.sh: Don't generate two macro definitions when an | |
10659 | undefined macro taking no arguments. | |
10660 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 10661 | |
166f4c7b ML |
10662 | 2002-03-07 Michal Ludvig <[email protected]> |
10663 | ||
10664 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos) | |
10665 | (x86_64_unwind_dummy_id): New functions. | |
10666 | (x86_64_init_abi): Register these two new functions. | |
10667 | ||
6d686a84 ML |
10668 | 2003-03-07 Michal Ludvig <[email protected]> |
10669 | ||
10670 | * x86-64-tdep.c (x86_64_function_has_prologue): New function. | |
8ffd9b1b | 10671 | (x86_64_skip_prologue): Move prologue detection to |
6d686a84 ML |
10672 | separate function. |
10673 | * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. | |
10674 | ||
6314f104 AC |
10675 | 2003-03-05 Andrew Cagney <[email protected]> |
10676 | ||
10677 | * d10v-tdep.c (d10v_unwind_dummy_id): New function. | |
10678 | (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos. | |
10679 | * frame.c (get_prev_frame): Restructure the frame ID unwind code | |
10680 | to use unwind_dummy_id when a dummy frame. | |
10681 | * gdbarch.sh (unwind_dummy_id): New multi-arch method with | |
10682 | predicate. | |
10683 | * gdbarch.h, gdbarch.c: Regneerate. | |
8ffd9b1b | 10684 | |
ceea5145 AC |
10685 | 2003-03-05 Andrew Cagney <[email protected]> |
10686 | ||
10687 | * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". | |
10688 | (d10v_frame_unwind_cache): Rewrite code computing the base and SP. | |
10689 | Do not use d10v_read_sp or d10v_read_fp when obtaining register | |
10690 | values. | |
10691 | ||
0d843116 AC |
10692 | 2003-03-05 Andrew Cagney <[email protected]> |
10693 | ||
10694 | * d10v-tdep.c (struct frame_extra_info): Delete unused structure. | |
10695 | (struct d10v_unwind_cache): Delete field "frameless". Replace | |
10696 | "next_addr" with "sp_offset". Add "r11_offset". | |
10697 | (d10v_frame_unwind_cache): Update. | |
10698 | (prologue_find_regs): Update. When "mv r11, sp", save the | |
10699 | "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that | |
10700 | RN was saved in r11_offset. | |
10701 | ||
b2579786 AC |
10702 | 2003-03-05 Andrew Cagney <[email protected]> |
10703 | ||
10704 | * frame.c (deprecated_update_frame_pc_hack): Also update the the | |
10705 | cached PC value in the next frame. | |
10706 | ||
218e5956 AC |
10707 | 2003-03-05 Andrew Cagney <[email protected]> |
10708 | ||
10709 | * frame.h (struct frame_info): Replace "id_unwind_cache_p" and | |
10710 | "id_unwind_cache" with "id". | |
10711 | (frame_id_unwind): Delete declaration. | |
10712 | * frame.c (frame_id_unwind): Delete function. | |
10713 | (get_prev_frame): Call the frame id unwind method directly. Store | |
10714 | the returned next frame's ID value in NEXT_FRAME. Note that there | |
10715 | is a problem with the wrong unwind ID being called with the wrong | |
10716 | unwind cache. | |
10717 | ||
ed363b1b DJ |
10718 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
10719 | ||
10720 | * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS. | |
10721 | ||
fe1f4a5e DJ |
10722 | 2003-03-05 James Ingham <[email protected]> |
10723 | Daniel Jacobowitz <[email protected]> | |
10724 | ||
10725 | * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h". | |
10726 | (auto_cp_abi): New variable. | |
10727 | (current_cp_abi, num_cp_abis): Make static. | |
10728 | (CP_ABI_MAX): Define. | |
10729 | (cp_abis): Turn into an array. | |
10730 | (value_virtual_fn_field): Fix formatting. | |
10731 | (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now | |
10732 | takes a pointer. | |
10733 | (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd) | |
10734 | (list_cp_abis, _initialize_cp_abi): New functions. | |
10735 | * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove | |
10736 | declarations for cp_abis, num_cp_abis, current_cp_abi, and | |
10737 | switch_to_cp_abi. Update prototype for register_cp_abi. | |
10738 | * Makefile.in (cp-abi.o): Update dependencies. | |
10739 | * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default | |
10740 | instead of switch_to_cp_abi. | |
10741 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to | |
10742 | register_cp_abi. | |
10743 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to | |
10744 | register_cp_abi. | |
10745 | * hpacc-abi.c (_initialize_hpacc_abi): Likewise. | |
10746 | ||
e4adbba9 DJ |
10747 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
10748 | ||
10749 | * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition. | |
10750 | * dwarf2loc.c: Include "regcache.h". | |
10751 | (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use | |
10752 | register_size. | |
10753 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
10754 | ||
91ccbfc1 TR |
10755 | 2003-03-04 Theodore A. Roth <[email protected]> |
10756 | ||
10757 | * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the | |
10758 | number of io registers reported by remote target is not a multiple of | |
10759 | step. | |
10760 | ||
3d4e8fd2 DC |
10761 | 2003-03-04 David Carlton <[email protected]> |
10762 | ||
10763 | * symtab.c (lookup_partial_symbol): Add linkage_name argument. | |
10764 | (lookup_symbol_aux_psymtabs): Update call to | |
10765 | lookup_partial_symbol. | |
10766 | (lookup_transparent_type, find_main_psymtab) | |
10767 | (make_symbol_overload_list): Ditto. | |
10768 | ||
ed42d87b KH |
10769 | 2003-03-04 Kazu Hirata <[email protected]> |
10770 | ||
10771 | * MAINTAINERS (Write after approval): Update my email address. | |
10772 | ||
a0ed5532 AC |
10773 | 2003-03-03 Andrew Cagney <[email protected]> |
10774 | ||
10775 | Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. | |
10776 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with | |
10777 | predicate. Replace MAX_REGISTER_RAW_SIZE. | |
10778 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for | |
10779 | MAX_REGISTER_VIRTUAL_SIZE. | |
10780 | * regcache.c (legacy_max_register_raw_size): New function. | |
10781 | (legacy_max_register_virtual_size): New function. | |
10782 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. | |
10783 | (MAX_REGISTER_RAW_SIZE): Define. | |
10784 | (legacy_max_register_raw_size): Declare. | |
10785 | (legacy_max_register_virtual_size): Declare. | |
10786 | * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
10787 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. | |
10788 | * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
10789 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
10790 | * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
10791 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
10792 | * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
10793 | * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
10794 | * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
10795 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10796 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10797 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10798 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10799 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10800 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10801 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10802 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10803 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10804 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10805 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10806 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10807 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10808 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10809 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10810 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
10811 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
10812 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10813 | * cris-tdep.c (cris_gdbarch_init): Update. | |
10814 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10815 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10816 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10817 | * d10v-tdep.c (d10v_gdbarch_init): Do not set | |
10818 | max_register_raw_size or max_register_virtual_size. | |
10819 | ||
8e437497 DC |
10820 | 2003-03-03 David Carlton <[email protected]> |
10821 | ||
10822 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from | |
10823 | SYMBOL_MATCHES_NAME, add comment. | |
10824 | (SYMBOL_MATCHES_NATURAL_NAME): New. | |
10825 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace | |
10826 | SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. | |
10827 | (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. | |
10828 | * symtab.c (lookup_partial_symbol): Use | |
10829 | SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete | |
10830 | unhelpful comment. | |
10831 | (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not | |
10832 | SYMBOL_MATCHES_NAME. | |
10833 | Fix for PR c++/33. | |
10834 | ||
25120b0d DC |
10835 | 2003-03-03 David Carlton <[email protected]> |
10836 | ||
10837 | * symtab.h (SYMBOL_MATCHES_REGEXP): Delete. | |
10838 | * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP | |
10839 | by regexp matching against SYMBOL_NATURAL_NAME. | |
10840 | ||
78a11fb4 DC |
10841 | 2003-03-03 David Carlton <[email protected]> |
10842 | ||
10843 | * linespec.c (find_method): Extract code into collect_methods. | |
10844 | (collect_methods): New. | |
10845 | ||
645dd519 MK |
10846 | 2003-03-02 Mark Kettenis <[email protected]> |
10847 | ||
b4700d91 MK |
10848 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and |
10849 | get_frame_base. | |
10850 | ||
645dd519 MK |
10851 | * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of |
10852 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
10853 | ||
0aa7e1aa SC |
10854 | 2003-03-02 Stephane Carrez <[email protected]> |
10855 | ||
8ffd9b1b | 10856 | * arch-utils.c (generic_register_byte): Fix to use the loop index |
0aa7e1aa SC |
10857 | and not regnum when summing the size of all registers up to regnum. |
10858 | ||
f30ee0bc AC |
10859 | 2003-03-01 Andrew Cagney <[email protected]> |
10860 | ||
10861 | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename | |
10862 | FRAME_INIT_SAVED_REGS. | |
10863 | * gdbarch.h, gdbarch.c: Regenerate. | |
10864 | * stack.c (frame_info): Update. | |
10865 | * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. | |
10866 | (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. | |
10867 | (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. | |
10868 | * ns32k-tdep.c (ns32k_pop_frame): Update. | |
10869 | * mips-tdep.c (mips_pop_frame): Update. | |
10870 | * m68hc11-tdep.c (m68hc11_pop_frame): Update. | |
10871 | * ia64-tdep.c (ia64_frame_chain): Update. | |
10872 | (ia64_frame_saved_pc, ia64_get_saved_register): Update. | |
10873 | (ia64_frameless_function_invocation): Update. | |
10874 | (ia64_init_extra_frame_info): Update. | |
10875 | (ia64_pop_frame_regular): Update. | |
10876 | * frame.h (struct frame_info): Update comment. | |
10877 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. | |
10878 | * frame.c (frame_saved_regs_register_unwind): Update. | |
10879 | (frame_saved_regs_register_unwind): Update. | |
10880 | (deprecated_generic_get_saved_register): Update. | |
10881 | * cris-tdep.c: Update comment. | |
10882 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): | |
10883 | Rename macro. | |
10884 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10885 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
10886 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10887 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10888 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10889 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10890 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10891 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10892 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
10893 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10894 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10895 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10896 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10897 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10898 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10899 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10900 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10901 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10902 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10903 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10904 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 10905 | |
42fa7c0f AC |
10906 | 2003-03-01 Andrew Cagney <[email protected]> |
10907 | ||
10908 | * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to | |
10909 | option enum and switch. When no windows, set the interpreter to | |
10910 | INTERP_CONSOLE. | |
8ffd9b1b | 10911 | |
49c7e338 AC |
10912 | 2003-03-01 Andrew Cagney <[email protected]> |
10913 | ||
10914 | * main.c (captured_main): Replace magic option characters with an | |
10915 | enum. | |
10916 | ||
e9582e71 AC |
10917 | 2003-03-01 Andrew Cagney <[email protected]> |
10918 | ||
10919 | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename | |
10920 | INIT_EXTRA_FRAME_INFO. | |
10921 | * gdbarch.h, gdbarch.c: Regenerate. | |
10922 | * arm-tdep.c: Update comments. | |
10923 | * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. | |
10924 | * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. | |
10925 | * frame.h, avr-tdep.c: Ditto. | |
10926 | * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
10927 | (create_new_frame, legacy_get_prev_frame): Ditto. | |
10928 | * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
10929 | * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
10930 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize | |
10931 | deprecated_init_extra_frame_info instead of init_extra_frame_info. | |
10932 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
10933 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
10934 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
10935 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
10936 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
10937 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
10938 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
10939 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
10940 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
10941 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
10942 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
10943 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
10944 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
10945 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
10946 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
10947 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
10948 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
10949 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
10950 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
10951 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
10952 | ||
35cac7cf AC |
10953 | 2003-03-01 Andrew Cagney <[email protected]> |
10954 | ||
10955 | * gdbarch.sh (register_type): New function with predicate. | |
10956 | (REGISTER_VIRTUAL_TYPE): Change to function with predicate. | |
10957 | * gdbarch.h, gdbarch.c: Re-generate. | |
10958 | * arch-utils.c (generic_register_byte): Use generic_register_size. | |
10959 | (generic_register_size): When available, use | |
10960 | gdbarch_register_type. | |
10961 | * regcache.c (init_regcache_descr): When available, initialize the | |
10962 | register type array using gdbarch_register_type. If the | |
10963 | architecture supplies gdbarch_register_type, do not use the legacy | |
10964 | regcache layout. | |
10965 | * d10v-tdep.c (d10v_register_type): Replace | |
10966 | d10v_register_virtual_type. | |
10967 | (d10v_gdbarch_init): Set register_type instead of | |
10968 | register_virtual_type. | |
10969 | ||
7b83296f AC |
10970 | 2003-03-01 Andrew Cagney <[email protected]> |
10971 | ||
10972 | * Makefile.in (ax-gdb.o): Update dependencies. | |
10973 | * ax-gdb.c: Include "regcache.h". | |
10974 | (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. | |
10975 | * findvar.c (value_of_register): Ditto. | |
10976 | * infcmd.c (default_print_registers_info): Ditto. | |
10977 | ||
eadc1c87 MK |
10978 | 2003-03-01 Mark Kettenis <[email protected]> |
10979 | ||
10980 | * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of | |
10981 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
10982 | ||
14143612 MK |
10983 | 2003-03-01 Mark Kettenis <[email protected]> |
10984 | ||
10985 | * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead | |
10986 | of STREQ. | |
10987 | ||
a55cc764 DJ |
10988 | 2003-02-28 Daniel Jacobowitz <[email protected]> |
10989 | ||
10990 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
10991 | * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. | |
10992 | * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. | |
10993 | * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. | |
10994 | * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". | |
10995 | (locexpr_tracepoint_var_ref): New function. | |
10996 | (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref. | |
10997 | ||
08a617da AC |
10998 | 2003-02-28 Andrew Cagney <[email protected]> |
10999 | ||
11000 | * regcache.c (register_size): New function. | |
11001 | * regcache.h (register_size): Declare | |
11002 | * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use | |
11003 | max_register_size instead of MAX_REGISTER_RAW_SIZE. | |
11004 | ||
4224873a DC |
11005 | 2003-02-28 David Carlton <[email protected]> |
11006 | ||
11007 | * linespec.c (decode_compound): Extract code into find_method. | |
11008 | (find_method): New. | |
11009 | ||
ccdc5d7f JB |
11010 | 2003-02-28 J. Brobecker <[email protected]> |
11011 | ||
11012 | * Makefile.in: Add rules to build and link in observer.o. | |
11013 | ||
974e8ced JB |
11014 | 2003-02-27 J. Brobecker <[email protected]> |
11015 | ||
11016 | * observer.c: Minor comments edits. | |
11017 | ||
7a28f973 JB |
11018 | 2003-02-27 J. Brobecker <[email protected]> |
11019 | ||
11020 | * observer.h, observer.c: New file. | |
11021 | ||
27cddce2 AC |
11022 | 2003-02-27 Andrew Cagney <[email protected]> |
11023 | ||
11024 | * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd. | |
11025 | ||
b94a41a1 SC |
11026 | 2003-02-27 Stephane Carrez <[email protected]> |
11027 | ||
11028 | * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines. | |
11029 | (M6812_OP_STS_EXT): Likewise. | |
11030 | (m6811_prologue): Use the above to recognize prologue. | |
11031 | (m6812_prologue): Likewise. | |
11032 | ||
c8be8951 DC |
11033 | 2003-02-27 David Carlton <[email protected]> |
11034 | ||
11035 | * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not | |
11036 | SYMBOL_PRINT_NAME. | |
11037 | (compare_psymbols): Ditto. | |
11038 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
11039 | ||
d05bb1fc MS |
11040 | 2003-02-27 Michael Snyder <[email protected]> |
11041 | ||
4e845cd3 MS |
11042 | * f-lang.c (build_fortran_types): New function. |
11043 | (_initialize_f_language): Gdbarch-register built-in fortran types. | |
d05bb1fc MS |
11044 | * doublest.c (extract_floating): Fix warning text. |
11045 | ||
f3824013 AC |
11046 | 2003-02-27 Andrew Cagney <[email protected]> |
11047 | ||
11048 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with | |
11049 | predicate. Replaces PUSH_DUMMY_FRAME. | |
11050 | * gdbarch.h, gdbarch.c: Regnerate. | |
11051 | * valops.c (hand_function_call): Update. Call | |
11052 | generic_push_dummy_frame directly. | |
11053 | * vax-tdep.c (vax_gdbarch_init): Update. | |
11054 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
11055 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
11056 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
11057 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
11058 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
11059 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
11060 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
11061 | * inferior.h (PUSH_DUMMY_FRAME): Delete definition. | |
11062 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set | |
11063 | push_dummy_frame to generic_push_dummy_frame. | |
11064 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
11065 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
11066 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
11067 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
11068 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
11069 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
11070 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
11071 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
11072 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
11073 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
11074 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
11075 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
11076 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
11077 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
11078 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
11079 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8ffd9b1b | 11080 | |
ad188201 KB |
11081 | 2003-02-26 Kevin Buettner <[email protected]> |
11082 | ||
11083 | * mips-tdep.c (show_mips_abi): New function. | |
11084 | (_initialize_mips_tdep): Use show_mips_abi() to implement the | |
11085 | command ``show mips abi''. | |
11086 | ||
6b37567a | 11087 | 2003-02-26 Jeff Johnston <[email protected]> |
8ffd9b1b | 11088 | |
6b37567a | 11089 | From Elena Zannoni <[email protected]> |
8ffd9b1b | 11090 | * dbxread.c (process_one_symbol): Only record line 0 if one or |
6b37567a JJ |
11091 | more sline entries have been seen for the function. |
11092 | ||
d3e0a5bf MC |
11093 | 2003-02-26 Michael Chastain <[email protected]> |
11094 | ||
11095 | * configure: Regenerate with autoconf 000227. | |
11096 | ||
18972eea MC |
11097 | 2003-02-26 Michael Chastain <[email protected]> |
11098 | ||
11099 | Close PR build/660. | |
11100 | * PROBLEMS (i[3456]86-*-linux*): Note explicit error message | |
11101 | for old libc5/glibc. | |
11102 | * gdb_thread_db.h: Die if not HAVE_UINTPTR_T. | |
11103 | ||
0bbde931 KW |
11104 | 2003-02-26 Kris Warkentin <[email protected]> |
11105 | ||
11106 | * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO. | |
11107 | * osabi.c (gdb_osabi_names): Add "QNX Neutrino". | |
11108 | ||
27ca5dad MC |
11109 | 2003-02-26 Michael Chastain <[email protected]> |
11110 | ||
11111 | * configure.in: New variable HAVE_UINTPTR_T. | |
11112 | * configure, config.in: Regenerated. | |
11113 | ||
6f88d630 DJ |
11114 | 2003-02-26 Daniel Jacobowitz <[email protected]> |
11115 | ||
11116 | Fix PR build/1097. | |
11117 | * utils.c (gdb_realpath): Move closing brace outwards one #endif. | |
11118 | ||
b14185ce AC |
11119 | 2003-02-25 Andrew Cagney <[email protected]> |
11120 | ||
11121 | * frame.c (get_prev_frame): Add comment on check for | |
11122 | inside_entry_func. Only check for inside_entry_file when not a | |
11123 | dummy and not a sentinel. Check that the new frame is not inner | |
11124 | to the old frame. | |
11125 | ||
ac2bd0a9 AC |
11126 | 2003-02-25 Andrew Cagney <[email protected]> |
11127 | ||
11128 | * frame.c (frame_debug): New variable. | |
11129 | (_initialize_frame): Add "set/show debug frame" command. | |
11130 | (get_prev_frame): When frame_debug, print reason why unwind | |
11131 | failed. | |
11132 | ||
b18a0fd2 MC |
11133 | 2003-02-25 Michael Chastain <[email protected]> |
11134 | ||
11135 | * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later | |
11136 | to avoid uintptr_t definition problems. | |
11137 | ||
22abf04a DC |
11138 | 2003-02-25 David Carlton <[email protected]> |
11139 | ||
11140 | * symtab.h (SYMBOL_NATURAL_NAME): New macro. | |
11141 | (SYMBOL_LINKAGE_NAME): Ditto. | |
11142 | (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and | |
11143 | SYMBOL_LINKAGE_NAME. | |
11144 | (struct general_symbol_info): Expand comment. | |
11145 | (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. | |
11146 | (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. | |
11147 | (SYMBOL_MATCHES_REGEXP): Ditto. | |
11148 | * symtab.c (symbol_natural_name): New function. | |
11149 | * objfiles.h: Replace all uses of SYMBOL_NAME by | |
11150 | DEPRECATED_SYMBOL_NAME. | |
11151 | * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. | |
11152 | * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. | |
11153 | * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. | |
11154 | * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. | |
11155 | * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. | |
11156 | * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. | |
11157 | * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. | |
11158 | * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. | |
11159 | * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. | |
11160 | * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. | |
11161 | * ada-exp.y: Ditto. | |
11162 | * ada-exp.y: Update copyright. | |
11163 | * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. | |
11164 | * cp-valprint.c: Ditto. | |
11165 | ||
1a5848f6 JJ |
11166 | 2003-02-25 Jeff Johnston <[email protected]> |
11167 | ||
11168 | * infptrace.c (detach): Do not flag error if ptrace detach fails | |
11169 | and errno is set to ESRCH. | |
11170 | ||
7343d46a AC |
11171 | 2003-02-24 Andrew Cagney <[email protected]> |
11172 | ||
11173 | * infptrace.c (udot_info): Change type of udot_off to long. Use | |
11174 | paddr when printing udot_off's value. | |
11175 | ||
49fa1dc2 DC |
11176 | 2003-02-24 David Carlton <[email protected]> |
11177 | ||
11178 | * symtab.c (make_symbol_overload_list): Only read in partial | |
11179 | symtabs containing a matching partial symbol. | |
11180 | ||
0fe19209 DC |
11181 | 2003-02-24 David Carlton <[email protected]> |
11182 | ||
11183 | * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to | |
11184 | do the comparison, not strcmp. | |
11185 | * symfile.c (compare_psymbols): Ditto. | |
11186 | * defs.h: Declare strcmp_iw_ordered. | |
11187 | * utils.c (strcmp_iw_ordered): New function. | |
11188 | ||
8e3ee7b5 JB |
11189 | 2003-02-24 Jim Blandy <[email protected]> |
11190 | ||
11191 | * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme | |
11192 | support, shared libs): Remove my name from here, to better reflect | |
11193 | reality. | |
11194 | ||
7df1a324 KW |
11195 | 2003-02-24 Kris Warkentin <[email protected]> |
11196 | ||
11197 | * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define. | |
11198 | (target_ops): Add to_have_continuable_watchpoint. | |
11199 | * target.c (update_current_target): Add INHERIT line for | |
11200 | to_have_continuable_watchpoint. | |
11201 | * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines. | |
11202 | * config/i386/nm-i386.h, config/i386/nm-i386sco5.h, | |
11203 | config/i386/nm-i386sol2.h, config/s390/nm-linux.h, | |
11204 | config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1. | |
11205 | ||
d1c76907 EZ |
11206 | 2003-02-24 Elena Zannoni <[email protected]> |
11207 | ||
11208 | * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop | |
11209 | maintainership. | |
11210 | ||
2610b0bf KW |
11211 | 2003-02-24 Kris Warkentin <[email protected]> |
11212 | ||
f46169db KW |
11213 | * solib.c (solib_open): Call target defined search function after |
11214 | failing with solib-search-path. | |
11215 | * solist.h (target_so_ops): Add find_and_open_solib function hook and | |
11216 | create define TARGET_SO_FIND_AND_OPEN_SOLIB. | |
2610b0bf | 11217 | |
9a3c34fe KW |
11218 | 2003-02-24 Kris Warkentin <[email protected]> |
11219 | ||
f46169db | 11220 | * MAINTAINERS: Add myself to Write After section. |
9a3c34fe | 11221 | |
2417dd25 SC |
11222 | 2003-02-23 Stephane Carrez <[email protected]> |
11223 | ||
11224 | * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide. | |
11225 | ||
b631436b SC |
11226 | 2003-02-22 Stephane Carrez <[email protected]> |
11227 | ||
11228 | * m68hc11-tdep.c (m68hc11_init_reggroups): New function. | |
11229 | (m68hc11_add_reggroups): New function. | |
11230 | (m68hc11_register_reggroup_p): New to register hard/soft reggroups. | |
11231 | (m68hc11_gdbarch_init): Install the reggroups. | |
11232 | (_initialize_m68hc11_tdep): Initialize them. | |
11233 | ||
0aa8c1e4 JW |
11234 | 2003-02-21 James E Wilson <[email protected]> |
11235 | ||
11236 | * MAINTAINERS: Update my email address. | |
11237 | ||
50ceaba5 DC |
11238 | 2003-02-21 David Carlton <[email protected]> |
11239 | ||
11240 | * arm-tdep.c (arm_gdbarch_init): Add break after default label. | |
11241 | ||
4c2df51b DJ |
11242 | 2003-02-21 Daniel Jacobowitz <[email protected]> |
11243 | ||
11244 | Based on a patch from Daniel Berlin ([email protected]). | |
11245 | * symtab.h: Add opaque declarations of struct axs_value and | |
11246 | struct agent_expr. | |
11247 | (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. | |
11248 | (struct location_funcs): New type. | |
11249 | (struct symbol): Add "loc" to aux_value. | |
11250 | (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. | |
11251 | * dwarf2read.c: Include "dwarf2expr.h". | |
11252 | (dwarf2_symbol_mark_computed): New function. | |
11253 | (read_func_scope): Use it. | |
11254 | (var_decode_location): New function. | |
11255 | (new_symbol): Use it. | |
11256 | * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. | |
11257 | ||
11258 | * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. | |
11259 | (dwarf2expr_h, dwarf2loc_h): New variables. | |
11260 | (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. | |
11261 | (dwarf2expr.o, dwarf2loc.o): New rules. | |
11262 | (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). | |
11263 | * buildsym.c (finish_block): Handle LOC_COMPUTED and | |
11264 | LOC_COMPUTED_ARG. | |
11265 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
11266 | * m2-exp.y (yylex): Likewise. | |
11267 | * printcmd.c (address_info, print_frame_args): Likewise. | |
11268 | * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. | |
11269 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
11270 | * ada-lang.c (ada_resolve_subexp, symtab_for_sym) | |
11271 | (ada_add_block_symbols, fill_in_ada_prototype): Likewise. | |
11272 | * symtab.c (lookup_block_symbol): Likewise. | |
11273 | ||
5784d15e AF |
11274 | 2003-02-20 Adam Fedor <[email protected]> |
11275 | ||
11276 | * symtab.h: Remove objc_specific struct | |
11277 | (SYMBOL_OBJC_DEMANGLED_NAME): Remove. | |
11278 | * symtab.c (symbol_init_language_specific, symbol_demangled_name): | |
11279 | Have language_objc use cplus_specific struct. | |
11280 | ||
d4cad8db TT |
11281 | 2003-02-20 Tom Tromey <[email protected]> |
11282 | ||
11283 | * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not | |
11284 | TYPE_NAME, when printing a String value. PR java/1075. | |
11285 | ||
2f9a90b4 AF |
11286 | 2003-02-20 Adam Fedor <[email protected]> |
11287 | ||
d38074a8 | 11288 | * objc-lang.h (find_methods): Remove declaration. |
fbe586ae | 11289 | * objc-lang.c (find_methods): Make static. |
2f9a90b4 | 11290 | |
6f17862b CF |
11291 | 2003-02-20 Christopher Faylor <[email protected]> |
11292 | ||
11293 | * win32-nat.c (get_image_name): Check return value from | |
11294 | ReadProcessMemory. | |
11295 | (child_xfer_memory): Ditto. | |
11296 | ||
715d1656 AO |
11297 | 2003-02-20 Alexandre Oliva <[email protected]> |
11298 | ||
11299 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
11300 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
11301 | '${exec_prefix}' (in addition to the expansion thereof) as | |
11302 | relocatable. | |
11303 | * configure: Rebuilt. | |
11304 | ||
b1262a02 DC |
11305 | 2003-02-20 David Carlton <[email protected]> |
11306 | ||
11307 | * symtab.c (search_symbols): Revert the search_symbols part of my | |
11308 | 2002-12-23 patch. Add comment. | |
11309 | ||
7134143f DJ |
11310 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
11311 | ||
11312 | * coffread.c (coff_symfile_read): Clean up minimal symbols earlier. | |
11313 | * dbxread.c (elfstab_build_psymtabs): Don't call | |
11314 | install_minimal_symbols. | |
11315 | (stabsect_build_psymtabs): Likewise. | |
11316 | * elfread.c (elf_symfile_read): Call install_minimal_symbols | |
11317 | earlier. | |
11318 | * somread.c (som_symfile_read): Call install_minimal_symbols | |
11319 | and do_cleanups earlier. | |
11320 | * nlmread.c (nlm_symfile_read): Likewise. | |
11321 | * mdebugread.c (elfmdebug_build_psymtabs): Call | |
11322 | install_minimal_symbols and make appropriate cleanups. | |
11323 | ||
cf466558 KB |
11324 | 2003-02-20 Kevin Buettner <[email protected]> |
11325 | ||
11326 | * solib.c (reload_shared_libraries): New function. | |
11327 | (_initialize_solib): Add callbacks for ``set solib-search-path'' | |
11328 | and ``set solib-absolute-prefix''. | |
11329 | ||
de5ad195 DC |
11330 | 2003-02-20 David Carlton <[email protected]> |
11331 | ||
11332 | * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME; | |
11333 | expand comment. | |
11334 | * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace | |
11335 | SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME. | |
11336 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
11337 | * ax-gdb.c (gen_var_ref): Ditto. | |
11338 | * breakpoint.c (print_one_breakpoint): Ditto. | |
11339 | * buildsym.c (finish_block): Ditto. | |
11340 | * c-valprint.c (c_val_print): Ditto. | |
11341 | * expprint.c (print_subexp): Ditto. | |
11342 | * findvar.c (locate_var_value): Ditto. | |
8ffd9b1b AJ |
11343 | * infcmd.c (jump_command): Ditto. |
11344 | * linespec.c (decode_line_2, decode_compound): Ditto. | |
11345 | * maint.c (maintenance_translate_address): Ditto. | |
11346 | * objc-lang.c (compare_selectors, compare_classes): Ditto. | |
de5ad195 DC |
11347 | * printcmd.c (build_address_symbolic, sym_info, print_frame_args): |
11348 | Ditto. | |
8ffd9b1b AJ |
11349 | * p-valprint.c (pascal_val_print): Ditto. |
11350 | * stabsread.c (define_symbol): Ditto. | |
de5ad195 | 11351 | * stack.c (print_frame, frame_info, print_block_frame_locals) |
8ffd9b1b AJ |
11352 | (print_frame_arg_vars, return_command): Ditto. |
11353 | * symfile.c (compare_symbols, compare_psymbols): Ditto. | |
11354 | * symmisc.c (print_symbol): Ditto. | |
de5ad195 DC |
11355 | * symtab.c (lookup_partial_symbol, lookup_block_symbol) |
11356 | (compare_search_syms, print_symbol_info, print_msymbol_info) | |
8ffd9b1b AJ |
11357 | (rbreak_command): Ditto. |
11358 | * tracepoint.c (tracepoints_info): Ditto. | |
11359 | * typeprint.c (typedef_print): Ditto. | |
11360 | * valops.c (value_of_variable, hand_function_call): Ditto. | |
de5ad195 DC |
11361 | * cli/cli-cmds.c (edit_command, list_command): Ditto. |
11362 | * ada-typeprint.c: Update Copyright. | |
11363 | * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. | |
11364 | * tracepoint.c, cli/cli-cmds.c: Ditto. | |
11365 | ||
f796e4be KB |
11366 | 2003-02-20 Kevin Buettner <[email protected]> |
11367 | ||
11368 | * frame.c (generic_unwind_get_saved_register): Make non-static. | |
11369 | * frame.h (generic_unwind_get_saved_register): Declare. | |
11370 | * mips-tdep.c (read_next_frame_reg): Fetch register from | |
11371 | current regcache when frame is NULL. | |
11372 | (mips_init_extra_frame_info): Pass NULL explicitly for parameter | |
11373 | that must be NULL. | |
11374 | (mips_get_saved_register): Call generic_unwind_get_saved_register() | |
11375 | instead of frame_register_unwind(). | |
11376 | ||
836cc9f4 AC |
11377 | 2003-02-20 Andrew Cagney <[email protected]> |
11378 | ||
11379 | * remote-sim.c (gdbsim_insert_breakpoint) | |
11380 | (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS | |
11381 | code. | |
11382 | ||
501eef12 AC |
11383 | 2003-02-20 Andrew Cagney <[email protected]> |
11384 | ||
11385 | * remote.c (_initialize_remote): Add commands "set/show remote | |
11386 | hardware-watchpoint-limit" and "set/show remote | |
11387 | hardware-breakpoint-limit". | |
11388 | (remote_hw_watchpoint_limit): Initialize to -1. | |
11389 | (remote_hw_breakpoint_limit): Ditto. | |
11390 | (remote_check_watch_resources): Treat a limit of -1 as unlimited. | |
11391 | ||
1b6bc7e0 CF |
11392 | 2003-02-19 Raoul Gough <[email protected]> |
11393 | ||
11394 | * coff-pe-read.c: New file - support reading of minimal symbols from a | |
11395 | portable executable using the export table. | |
11396 | * coff-pe-read.h: New file. | |
11397 | * coffread.c: Include coff-pe-read.h. | |
11398 | (coff_symtab_read): Call read_pe_exported_syms iff no recognized | |
11399 | debugging symbols found. | |
11400 | * Makefile.in (SFILES): Add coff-pe-read.o. | |
11401 | (coff_pe_read_h): Define. | |
11402 | (COMMON_OBS): Add coff-pe-read.o. | |
11403 | (coffread.o): Add coff_pe_read_h dependency. | |
11404 | (coff-pe-read.o): New target. | |
11405 | ||
fe898f56 DC |
11406 | 2003-02-19 David Carlton <[email protected]> |
11407 | ||
11408 | * Makefile.in (SFILES): Add block.c. | |
11409 | (block_h): New. | |
11410 | (COMMON_OBS): Add block.o. | |
11411 | (block.o): New. | |
11412 | (x86-64-tdep.o): Add $(block_h). | |
11413 | (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o) | |
11414 | (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o) | |
11415 | (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o) | |
11416 | (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o) | |
11417 | (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o) | |
11418 | (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o) | |
11419 | (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto. | |
11420 | * value.h: Add opaque declaration for struct block. | |
11421 | * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto. | |
11422 | * ada-lang.h: Ditto. | |
11423 | * x86-64-tdep.c: #include "block.h" | |
11424 | * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto. | |
11425 | * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto. | |
11426 | * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto. | |
11427 | * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto. | |
11428 | * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto. | |
11429 | * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto. | |
11430 | * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto. | |
11431 | * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto. | |
11432 | * blockframe.c (blockvector_for_pc_sect): Move to "block.c". | |
11433 | (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto. | |
11434 | * symtab.c (block_function): Ditto. | |
11435 | (contained_in): Ditto. | |
11436 | * frame.h: Move block_for_pc and block_for_pc_sect declarations to | |
11437 | block.h. Add opaque declaration for struct block. | |
11438 | * symtab.h: Move block_function and contained_in declarations to | |
11439 | block.h. Add opaque declarations for struct block, struct | |
11440 | blockvector. | |
11441 | (struct block): Move to block.h. | |
11442 | (struct blockvector): Ditto. | |
11443 | (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK) | |
11444 | (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM) | |
11445 | (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE) | |
11446 | (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS) | |
11447 | (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): | |
11448 | Ditto. | |
11449 | * block.c: New file. | |
11450 | * block.h: New file. | |
11451 | ||
173345b5 TR |
11452 | 2003-02-19 Theodore A. Roth <[email protected]> |
11453 | ||
11454 | * avr-tdep.c (avr_extract_return_value): Remove function. | |
11455 | (avr_store_return_value): Remove function. | |
11456 | (avr_extract_struct_value_address): Remove function. | |
11457 | (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls. | |
11458 | ||
338ef23d AC |
11459 | 2003-02-19 Andrew Cagney <[email protected]> |
11460 | ||
11461 | * rs6000-tdep.c: Include "gdb_assert.h". | |
11462 | (registers_e500): Add "acc" and "spefscr". | |
11463 | (PPC_GPRS_PSEUDO_REGS): Remove trailing comma. | |
11464 | (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum, | |
11465 | ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum | |
11466 | really is "r0". | |
11467 | (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson). | |
11468 | ||
5412f5f3 KS |
11469 | 2003-02-18 Keith Seitz <[email protected]> |
11470 | ||
11471 | * Makefile.in: Add gdbtk-interps.c. | |
11472 | ||
881324eb KB |
11473 | 2003-02-18 Kevin Buettner <[email protected]> |
11474 | ||
11475 | * sparc-tdep.c (sparc_frame_chain): Adjust return value. | |
11476 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare. | |
11477 | ||
6a2f5abf AC |
11478 | 2003-02-18 Andrew Cagney <[email protected]> |
11479 | ||
11480 | * symtab.h (struct objfile): Add opaque declaration. | |
11481 | ||
54c7009d EZ |
11482 | 2003-02-18 Elena Zannoni <[email protected]> |
11483 | ||
11484 | From Jim Ingham <[email protected]>: | |
fbe586ae RH |
11485 | * dbxread.c (process_one_symbol): Use last_function_start rather |
11486 | than function_start_offset to find the real beginning of the | |
11487 | current function. The latter is just the text section offset on | |
11488 | some systems, the former is always the real function start. | |
54c7009d | 11489 | |
7ee6d7eb AC |
11490 | 2003-02-17 Andrew Cagney <[email protected]> |
11491 | ||
11492 | * configure.in: Revert ${target} != ${host}. | |
11493 | ||
2846da9b AC |
11494 | 2003-02-17 Andrew Cagney <[email protected]> |
11495 | ||
11496 | * configure.in (Makefile): Use the test ${target} != ${host}, | |
11497 | instead of the absence of the "nm.h" file, to determine of the | |
11498 | configuration non-native. | |
11499 | * configure: Regenerate. | |
8ffd9b1b | 11500 | |
3b27aeea EZ |
11501 | 2003-02-14 Elena Zannoni <[email protected]> |
11502 | ||
fbe586ae | 11503 | From Brian Ford <[email protected]> |
3b27aeea EZ |
11504 | |
11505 | * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly | |
11506 | conditionalize tui_active test. | |
11507 | (lookup_cmd_1): Ditto. | |
11508 | ||
b0b1c2c0 MK |
11509 | 2003-02-14 Mark Kettenis <[email protected]> |
11510 | ||
11511 | * configure.in: Add check for _etext. | |
11512 | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't | |
11513 | available. | |
11514 | * config.in, configure: regenerated. | |
11515 | ||
8f05cde5 DJ |
11516 | 2003-02-14 Daniel Jacobowitz <[email protected]> |
11517 | ||
11518 | * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base. | |
11519 | ||
021e7609 AC |
11520 | 2003-02-14 Andrew Cagney <[email protected]> |
11521 | ||
11522 | * main.c (tui_version): Delete variable. | |
11523 | (captured_main): When --tui, set interpreter_p to "tui" instead of | |
11524 | enabling tui_version. | |
11525 | * printcmd.c (display_command) [TUI]: Test tui_active instead of | |
11526 | tui_version. | |
11527 | * cli/cli-decode.c (lookup_cmd_composition): Ditto. | |
11528 | * cli/cli-cmds.c (disassemble_command): Ditto. | |
11529 | * defs.h (tui_version): Delete declaration. | |
11530 | * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". | |
11531 | (tui-interp.o): Add rules. | |
11532 | (SUBDIR_TUI_OBS): Add "tui-interp.o". | |
11533 | ||
e325dcec CF |
11534 | 2003-02-14 Christopher Faylor <[email protected]> |
11535 | ||
36ffb041 | 11536 | * win32-nat.c (register_loaded_dll): Correctly set address range for |
e325dcec CF |
11537 | just-loaded dll. |
11538 | ||
c4f90d87 JM |
11539 | 2003-02-12 Jason Molenda ([email protected]) |
11540 | ||
fbe586ae RH |
11541 | * symmisc.c (print_objfile_statistics): Include information about |
11542 | the number of psymtabs and symtabs in each object file. | |
c4f90d87 | 11543 | |
e46e5ccd KS |
11544 | 2003-02-13 Keith R Seitz <[email protected]> |
11545 | ||
11546 | * main.h (struct captured_main_args): Add interpreter_p. | |
11547 | * main.c (captured_main): Initialize interpreter_p from context. | |
11548 | * gdb.c (main): Set interpreter_p argument. | |
11549 | * Makefile.in (gdb.o): Add dependency for interps.h. | |
11550 | ||
fe97fe9c AC |
11551 | 2003-02-12 Andrew Cagney <[email protected]> |
11552 | ||
11553 | * event-top.c (cli_command_loop): Delete declaration. | |
11554 | (_initialize_event_loop): Delete function setting event_loop_hook. | |
11555 | * event-top.h (cli_command_loop): Declare. Update copyright. | |
11556 | (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. | |
11557 | * interps.c (current_interp_command_loop): When event_loop_p, call | |
11558 | cli_command_loop. | |
11559 | ||
1cdac4ef AC |
11560 | 2003-02-12 Andrew Cagney <[email protected]> |
11561 | ||
11562 | * interps.h (interp_command_loop_ftype): Change return type to | |
11563 | void. | |
11564 | ||
48037ead ML |
11565 | 2003-02-12 Michal Ludvig <[email protected]> |
11566 | ||
11567 | * x86-64-tdep.c (x86_64_extract_return_value) | |
11568 | (x86_64_store_return_value): Use regcache instead of regbuf. | |
11569 | (x86_64_gdbarch_init): Change related set_gdbarch_* functions. | |
11570 | * x86-64-linux-nat.c (fill_gregset): Use regcache. | |
11571 | ||
033afc63 AC |
11572 | 2003-02-11 Andrew Cagney <[email protected]> |
11573 | ||
11574 | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. | |
11575 | * aclocal.m4: Regenerate. | |
11576 | * configure: Regenerate. | |
11577 | ||
11578 | * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of | |
11579 | TCL_LD_SEARCH_FLAGS. | |
11580 | ||
40d02bca ML |
11581 | 2003-02-10 Michal Ludvig <[email protected]> |
11582 | ||
11583 | * dwarf2cfi.c: Reindented. | |
11584 | ||
11308a41 AC |
11585 | 2003-02-09 Andrew Cagney <[email protected]> |
11586 | ||
11587 | * interps.c (clear_interpreter_hooks): Convert function definition | |
11588 | to ISO C. | |
11589 | ||
e1c1c0f6 DC |
11590 | 2003-02-07 David Carlton <[email protected]> |
11591 | ||
11592 | * gdb_mbuild.sh: Delete extra shift after parsing '-f'. | |
11593 | ||
ab5d3da6 KB |
11594 | 2003-02-07 Kevin Buettner <[email protected]> |
11595 | ||
11596 | * gdbtypes.h (struct main_type): Move ``length'' field from here... | |
11597 | (struct type): ...to here. | |
11598 | (TYPE_LENGTH): Adjust to reflect different location of ``length'' | |
11599 | field. | |
11600 | * gdbtypes.c (make_qualified_type): Set length on newly created type. | |
11601 | (replace_type): Set length on all type variants for a given type. | |
11602 | ||
b8a92b82 AC |
11603 | 2003-02-07 Andrew Cagney <[email protected]> |
11604 | ||
11605 | * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of | |
11606 | <sys/stat.h>. | |
11607 | * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. | |
8ffd9b1b | 11608 | |
5cb316ef AC |
11609 | 2003-02-06 Andrew Cagney <[email protected]> |
11610 | ||
2555fe1a AC |
11611 | * Makefile.in (symm-nat.o): Update dependencies. |
11612 | (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. | |
11613 | (lynx-nat.o, ia64-linux-nat.): Ditto. | |
11614 | * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include | |
11615 | "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. | |
11616 | * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. | |
11617 | ||
44270758 AC |
11618 | * Makefile.in (inflow_h): Define. |
11619 | (procfs.o, inflow.o, procfs.o): Update dependencies. | |
11620 | * inftarg.c (child_stop): Delete extern declaration of | |
11621 | inferior_process_group. Include "inflow.h". | |
11622 | * procfs.c (procfs_stop): Ditto. Include "inflow.h". | |
11623 | * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... | |
11624 | * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. | |
11625 | (our_process_group, inferior_process_group): Extern declarations. | |
11626 | ||
df8f7274 AC |
11627 | * procfs.c: Include "gdb_assert.h". |
11628 | ||
5cb316ef AC |
11629 | * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. |
11630 | * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. | |
11631 | * jv-typeprint.c (java_type_print_base): Ditto. | |
11632 | * typeprint.c (typedef_print): Eliminate STREQ. | |
11633 | * cli/cli-script.c (define_command, define_command): Ditto. | |
11634 | * main.c (captured_main): Ditto. | |
11635 | * values.c (lookup_internalvar): Ditto. | |
11636 | * utils.c (safe_strerror, parse_escape): Eliminate assignment | |
11637 | within `if' conditional. | |
11638 | * linespec.c (decode_line_2): Ditto. | |
11639 | * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. | |
11640 | (bfd_openw_with_cleanup): Ditto. | |
11641 | ||
2a28ccea MK |
11642 | 2003-02-07 Mark Kettenis <[email protected]> |
11643 | ||
11644 | * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to | |
11645 | legacy_extract_return_value and store_return_value to | |
11646 | legacy_return_value. | |
11647 | ||
786b8124 CF |
11648 | 2003-02-06 Raoul Gough <[email protected]> |
11649 | ||
11650 | * win32-nat.c (get_relocated_section_addrs): New function. Find | |
11651 | section load addresses for symbol handling in relocated DLLs. | |
11652 | (solib_symbols_add): Open a bfd and call get_relocated_section_addrs. | |
11653 | ||
b871e4ec FF |
11654 | 2003-02-05 Fred Fish <[email protected]> |
11655 | ||
11656 | * remote-e7000.c (e7000_drain_command): Fix precedence problem with | |
11657 | '=' and '!='. | |
11658 | * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem | |
11659 | with '&' and '=='. | |
11660 | (angel_RDI_info): Ditto. | |
11661 | * infttrace.c (threads_continue_all_but_one): Fix precedence problem | |
11662 | with '&' and '!='. | |
11663 | (threads_continue_all_with_signals): Ditto. | |
8ffd9b1b | 11664 | |
4389a95a | 11665 | 2003-02-05 Jim Ingham <[email protected]> |
fbe586ae RH |
11666 | Keith Seitz <[email protected]> |
11667 | Elena Zannoni <[email protected]> | |
11668 | Andrew Cagney <[email protected]> | |
4389a95a AC |
11669 | |
11670 | * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". | |
11671 | (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". | |
11672 | (SUBDIR_MI_OBS): Add "mi-interp.o". | |
11673 | (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". | |
11674 | (SFILES): Add "interps.c". | |
11675 | (COMMON_OBS): Add "interps.o". | |
11676 | (interps_h, mi_main_h): Define. | |
11677 | (interps.o, cli-interp.o, mi-interp.o): Add dependencies. | |
11678 | (mi-main.o, main.o, event-top.o): Update dependencies. | |
11679 | * cli/cli-interp.c: New file. | |
11680 | * interps.h, interps.c: New files. | |
11681 | * top.c: (gdb_init): Don't install the default interpreter, handed | |
11682 | by captured_main. | |
11683 | * main.c: Include "interps.h". | |
11684 | (interpreter_p): Note that it should malloc'ed. | |
11685 | (captured_command_loop): Call current_interp_command_loop. | |
11686 | (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use | |
11687 | xfree and xstrdup when updating interpreter_p. Install the | |
11688 | default interpreter. Add hack to stop mi1's copyright notice | |
11689 | being encoded. | |
11690 | * event-top.h (gdb_setup_readline): Declare. | |
11691 | (gdb_disable_readline): Declare. | |
11692 | * event-top.c: Include "interps.h". | |
11693 | (display_gdb_prompt): Call current_interp_display_prompt_p. | |
11694 | (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, | |
11695 | gdb_stdlog, and gdb_stdtarg. | |
11696 | (_initialize_event_loop): Don't call gdb_setup_readline. | |
11697 | * cli-out.c (cli_out_set_stream): New function. | |
11698 | * cli-out.h (cli_out_set_stream): Declare. | |
11699 | ||
ff3b5810 MK |
11700 | 2003-02-06 Mark Kettenis <[email protected]> |
11701 | ||
11702 | * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*, | |
11703 | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all | |
11704 | handled fine by i[3456]86-*sco* and i[3456]86-sysv*. | |
11705 | * config/i386/i386sco5.mt, config/i386/i386v4.mt, | |
11706 | config/i386/i386v42mp.mt: Removed. | |
11707 | ||
5b729aa5 MK |
11708 | 2003-02-05 Mark Kettenis <[email protected]> |
11709 | ||
11710 | * configure.tgt (*-*-solaris*): Set gdb_osabi to | |
11711 | GDB_OSABI_SOLARIS. | |
11712 | ||
8cc15142 MC |
11713 | 2003-02-05 Michael Chastain <[email protected]> |
11714 | ||
11715 | * PROBLEMS (i[3456]86-*-linux*): Warn about binutils | |
11716 | 2.12.1 and earlier versions. | |
11717 | ||
5aa5d4b9 AC |
11718 | 2003-02-05 Andrew Cagney <[email protected]> |
11719 | ||
11720 | Remove orphaned hosts, targets and files. | |
11721 | * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. | |
11722 | * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. | |
11723 | * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. | |
11724 | * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. | |
11725 | * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. | |
11726 | * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. | |
11727 | * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. | |
11728 | * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. | |
11729 | * config/sparc/tm-sp64sim.h: Delete. | |
11730 | * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* | |
11731 | hosts. | |
11732 | * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and | |
11733 | mips*-dec-mach3* targets. | |
11734 | ||
b68767c1 MC |
11735 | 2003-02-04 Michael Chastain <[email protected]> |
11736 | ||
11737 | * NEWS: Fix typo: sepcifying -> specifying. | |
11738 | ||
5ae7ca1d MC |
11739 | 2003-02-04 Michael Chastain <[email protected]> |
11740 | ||
11741 | * dwarfread.c: Add documentation on the state of dwarf-1, | |
11742 | looking towards obsoletion. | |
11743 | ||
d08a4280 MC |
11744 | 2003-02-03 Michael Chastain <[email protected]> |
11745 | ||
11746 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, | |
11747 | gdb/testsuite/gdb.c++/pr-1023.exp. | |
11748 | ||
e9be73e4 AC |
11749 | 2003-02-04 Andrew Cagney <[email protected]> |
11750 | ||
11751 | * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. | |
11752 | * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. | |
11753 | ||
11754 | * utils.c (init_page_info): Delete reference to MPW in comments. | |
11755 | * main.c (captured_main): Delete #ifdef MPW. | |
11756 | ||
05d57f6f AC |
11757 | 2003-02-04 Andrew Cagney <[email protected]> |
11758 | ||
8ffd9b1b | 11759 | * NEWS: Note that the m32r-*-elf* is obsolete. |
05d57f6f AC |
11760 | * monitor.c (monitor_expect): Obsolete reference to m32r. |
11761 | * configure.tgt: Mark m32r-*-elf* as obsolete. | |
11762 | * MAINTAINERS: Mark m32k as obsolete. | |
11763 | * m32r-rom.c: Obsolete file. | |
11764 | * config/m32r/m32r.mt: Obsolete file. | |
11765 | * config/m32r/tm-m32r.h: Obsolete file. | |
11766 | * m32r-stub.c: Obsolete file. | |
11767 | * m32r-tdep.c: Obsolete file. | |
11768 | ||
8b0e5691 AC |
11769 | 2003-02-04 Andrew Cagney <[email protected]> |
11770 | ||
11771 | * NEWS: Mention that the z8k-zilog-none is obsolete. | |
11772 | * MAINTAINERS: Mark z8k as obsolete. | |
11773 | * configure.tgt: Obsolete the z8k-*-coff* target. | |
11774 | * config/z8k/z8k.mt: Obsolete file. | |
11775 | * config/z8k/tm-z8k.h: Obsolete file. | |
11776 | * z8k-tdep.c: Obsolete file. | |
11777 | ||
67f16606 AC |
11778 | 2003-02-04 Andrew Cagney <[email protected]> |
11779 | ||
11780 | * NEWS: Mention that the mn10200-elf is obsolete. | |
11781 | * configure.tgt: Obsolete mn10200-*-* target. | |
11782 | * breakpoint.c (update_breakpoints_after_exec): Update comment to | |
11783 | mention that the mn10200 is obsolete. | |
11784 | * breakpoint.h: Ditto. | |
11785 | * MAINTAINERS: Mark the mn10200-elf as obsolete. | |
11786 | * config/mn10200/mn10200.mt: Obsolete file. | |
11787 | * config/mn10200/tm-mn10200.h: Obsolete file. | |
11788 | * mn10200-tdep.c: Obsolete file. | |
11789 | ||
fd2299bd AC |
11790 | 2003-02-04 Andrew Cagney <[email protected]> |
11791 | ||
11792 | * MAINTAINERS: Mark h8500 as obsolete. | |
11793 | * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. | |
11794 | * findvar.c (value_from_register): Ditto. | |
11795 | * h8500-tdep.c: Mark file as obsolete. | |
11796 | * config/h8500/h8500.mt: Ditto. | |
11797 | * config/h8500/tm-h8500.h: Ditto. | |
11798 | * NEWS: Mention that h8500 is obsolete. | |
11799 | ||
eb9a305d DC |
11800 | 2003-02-04 David Carlton <[email protected]> |
11801 | ||
11802 | * objfiles.c (allocate_objfile): Always set name. Add comment at | |
11803 | start of function. | |
11804 | * jv-lang.c (get_dynamics_objfile): Add comment. | |
11805 | ||
406fc7fb DC |
11806 | 2003-02-04 David Carlton <[email protected]> |
11807 | ||
11808 | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. | |
11809 | * printcmd.c (build_address_symbolic): Replace uses of | |
11810 | SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, | |
11811 | SYMBOL_NAME, and asm_demangle. | |
11812 | Update copyright. | |
11813 | ||
93d91629 DC |
11814 | 2003-02-04 David Carlton <[email protected]> |
11815 | ||
11816 | * linespec.c (decode_compound): Extract code into | |
11817 | lookup_prefix_sym. | |
11818 | (lookup_prefix_sym): New function. | |
11819 | ||
1c5cb38e DC |
11820 | 2003-02-04 David Carlton <[email protected]> |
11821 | ||
11822 | * gdbtypes.h: Delete INTEGER_COERCION_BADNESS, | |
11823 | FLOAT_COERCION_BADNESS. | |
11824 | * gdbtypes.c (rank_one_type): Replace all uses of | |
11825 | INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS. | |
11826 | ||
0cf824c9 JB |
11827 | 2003-02-04 Jim Blandy <[email protected]> |
11828 | ||
11829 | * dwarf2read.c (dwarf2_locate_sections): When we find a macro info | |
11830 | section, let dwarf_macinfo_section point to it, not | |
11831 | dwarf_loc_section. | |
11832 | ||
a2d356b0 DJ |
11833 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
11834 | ||
11835 | Pointed out by Anton Blanchard <[email protected]>. | |
11836 | * ppc-linux-tdep.c (insn_is_sigreturn): New function. | |
11837 | (ppc_linux_at_sigtramp_return_path): Use it. | |
11838 | ||
2de7ced7 DJ |
11839 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
11840 | ||
11841 | * defs.h (streq): Add prototype. | |
11842 | * utils.c (streq): New function. | |
11843 | ||
11844 | * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of | |
11845 | SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. | |
11846 | * mdebugread.c (new_symbol): Likewise. | |
11847 | * stabsread.c (define_symbol): Likewise. | |
11848 | * coffread.c (process_coff_symbol): Likewise. | |
11849 | * dwarfread.c (new_symbol): Likewise. | |
11850 | ||
11851 | * minsyms.c (prim_record_minimal_symbol_and_info): Use | |
11852 | SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language | |
11853 | here. | |
11854 | (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call | |
11855 | SYMBOL_INIT_DEMANGLED_NAME. | |
11856 | * objfiles.c: Include "hashtab.h". | |
11857 | (allocate_objfile): Call htab_set_functions_ex for the | |
11858 | demangled_names_hash. | |
11859 | (free_objfile): Call htab_delete for the demangled_names_hash. | |
11860 | * objfiles.h (struct htab): Add declaration. | |
11861 | (struct objfile): Add demangled_names_hash. | |
11862 | * symfile.c: Include "hashtab.h". | |
11863 | (reread_symbols): Call htab_delete for the demangled_names_hash. | |
11864 | (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting | |
11865 | SYMBOL_NAME in the bcache. | |
11866 | * symtab.c: Include "hashtab.h". Update comments. | |
11867 | (create_demangled_names_hash, symbol_set_names): New functions. | |
11868 | (symbol_find_demangled_name): New function, broken out from | |
11869 | symbol_init_demangled_names. | |
11870 | (symbol_init_demangled_names): Use it. | |
11871 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. | |
11872 | (SYMBOL_SET_NAMES): New macro. | |
11873 | (symbol_set_names): Add prototype. | |
11874 | ||
15831452 JB |
11875 | 2003-02-03 Jim Blandy <[email protected]> |
11876 | ||
11877 | Use a single, consistent representation for an empty minimal | |
11878 | symbol table in an objfile. | |
11879 | * objfiles.c (terminate_minimal_symbol_table): New function. | |
11880 | (allocate_objfile): Call it. | |
11881 | * objfiles.h (terminate_minimal_symbol_table): New declaration. | |
11882 | (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is | |
8ffd9b1b | 11883 | non-NULL. |
15831452 JB |
11884 | * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether |
11885 | objfile has minimal symbols, compare minimal_symbol_count to zero, | |
11886 | instead of comparing msymbols with NULL. | |
11887 | * objfiles.c (have_minimal_symbols): Same. | |
11888 | * solib-sunos.c (solib_add_common_symbols): Call | |
11889 | terminate_minimal_symbol_table. | |
11890 | * symfile.c (reread_symbols): Same. | |
8ffd9b1b | 11891 | |
ffc65945 KB |
11892 | 2003-02-03 Kevin Buettner <[email protected]> |
11893 | ||
11894 | * s390-tdep.c (s390_address_class_type_flags) | |
11895 | (s390_address_class_type_flags_to_name) | |
11896 | (s390_address_class_name_to_type_flags): New functions. | |
11897 | (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, | |
11898 | ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS. | |
11899 | ||
f211c6d4 MS |
11900 | 2003-02-03 Michael Snyder <[email protected]> |
11901 | ||
11902 | * arm-tdep.c: Fix spell-o in comment. | |
11903 | ||
659b0389 ML |
11904 | 2003-02-03 Michal Ludvig <[email protected]> |
11905 | ||
11906 | * dwarf2cfi.c (pointer_encoding): Added new parameter. | |
11907 | * dwarf2cfi.c, dwarf2read.c: Changed all warnings and | |
8ffd9b1b | 11908 | error messages to contain BFD filename. |
659b0389 | 11909 | |
3b31d625 EZ |
11910 | 2003-02-02 Elena Zannoni <[email protected]> |
11911 | ||
997b089a | 11912 | Fix PR gdb/742 gdb/743 gdb/877 |
3b31d625 EZ |
11913 | * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. |
11914 | (do_mixed_source_and_assembly): Use | |
11915 | make_cleanup_ui_out_tuple_begin_end and | |
11916 | make_cleanup_ui_out_tuple_begin_end. | |
11917 | (do_mixed_source_and_assembly): Ditto. | |
11918 | * thread.c (do_captured_list_thread_ids): Ditto. | |
11919 | * ui-out.h (ui_out_table_begin, ui_out_list_begin, | |
11920 | ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, | |
11921 | ui_out_tuple_end): Delete prototypes. | |
11922 | * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, | |
11923 | ui_out_list_end, ui_out_tuple_end): Delete. | |
11924 | ||
11925 | From Kevin Buettner <[email protected]>: | |
11926 | * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. | |
fbe586ae RH |
11927 | * ui-out.c (make_cleanup_ui_out_table_begin_end) |
11928 | (do_cleanup_table_end): New functions. | |
11929 | * breakpoint.c (print_it_typical, print_one_breakpoint, mention): | |
11930 | Use cleanups to invoke_ui_out_tuple_end(). | |
11931 | (breakpoint_1): Use cleanup to invoke ui_out_table_end(). | |
3b31d625 EZ |
11932 | * cli/cli-setshow.c (cmd_show_list): Use |
11933 | make_cleanup_ui_out_tuple_begin_end. | |
8ffd9b1b | 11934 | |
5b181d62 AC |
11935 | 2003-02-02 Andrew Cagney <[email protected]> |
11936 | ||
11937 | * frame.c (frame_unwind_register): New function. | |
11938 | (frame_unwind_unsigned_register): Use. | |
11939 | (frame_unwind_signed_register): Use. | |
11940 | (frame_read_register): New function. | |
11941 | * frame.h (frame_unwind_register): Declare. | |
11942 | (frame_read_register): Declare. | |
11943 | ||
11944 | * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write | |
11945 | and frame_unwind_register instead of read_memory, write_register | |
11946 | and deprecated_write_register_bytes. | |
11947 | ||
5f601589 AC |
11948 | 2003-02-02 Andrew Cagney <[email protected]> |
11949 | ||
11950 | * frame.h: Note that namelen can be negative. | |
11951 | * frame.c (frame_map_name_to_regnum): When LEN is negative, use | |
11952 | NAME's length. | |
11953 | ||
11954 | * NEWS: Mention that the d10v's `regs' command is deprecated. | |
11955 | * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. | |
11956 | (d10v_print_registers_info): New function. | |
11957 | (show_regs): Call d10v_print_registers_info. | |
11958 | (_initialize_d10v_tdep): Mark "show regs" command as deprecated. | |
11959 | ||
6a3fe0a4 MK |
11960 | 2003-02-02 Mark Kettenis <[email protected]> |
11961 | ||
11962 | * stack.c (print_frame_info): Restore call to annotate_frame_begin | |
11963 | lost in the previous patch. | |
11964 | ||
075559bc AC |
11965 | 2003-02-01 Andrew Cagney <[email protected]> |
11966 | ||
11967 | From 2002-11-09 Jason Molenda ([email protected]) | |
fbe586ae RH |
11968 | * stack.c (print_frame_info_base): Output complete FRAME tuple |
11969 | for synthesized frames. | |
075559bc | 11970 | |
6789195b AC |
11971 | 2003-02-02 Andrew Cagney <[email protected]> |
11972 | ||
11973 | * mips-nat.c (zerobuf): Delete. | |
11974 | (fetch_inferior_registers): Alloc local zerobuf. | |
11975 | (fetch_core_registers): Alloc local zerobuf. | |
11976 | * d10v-tdep.c (show_regs): Don't allocate a dynamic array using | |
11977 | MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. | |
11978 | * thread-db.c (thread_db_store_registers): Ditto. | |
11979 | * sh-tdep.c (sh_do_register): Ditto. | |
11980 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
11981 | * remote-sim.c (gdbsim_store_register): Ditto. | |
11982 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
11983 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
11984 | * monitor.c (monitor_supply_register): Ditto. | |
11985 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
11986 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
11987 | * m68klinux-nat.c (fetch_register): Ditto. | |
11988 | * lynx-nat.c (fetch_inferior_registers): Ditto. | |
11989 | (fetch_inferior_registers): Ditto. | |
11990 | * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
11991 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
11992 | (hpux_thread_store_registers): Ditto. | |
11993 | * hppah-nat.c (fetch_register): Ditto. | |
11994 | * hppab-nat.c (fetch_register): Ditto. | |
11995 | * hppa-tdep.c (pa_register_look_aside): Ditto. | |
11996 | (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. | |
11997 | * dve3900-rom.c (fetch_bitmapped_register): Ditto. | |
11998 | ||
e669114a AC |
11999 | 2003-02-01 Andrew Cagney <[email protected]> |
12000 | ||
12001 | * gdbarch.sh: Explictly specify all method levels. When a | |
12002 | variable with an empty level, provide a non-multi-arch default. | |
12003 | (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. | |
12004 | * gdbarch.h: Re-generate. | |
12005 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. | |
12006 | * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1 | |
12007 | ||
9a043c1d AC |
12008 | 2003-02-01 Andrew Cagney <[email protected]> |
12009 | ||
12010 | * defs.h (host_pointer_to_address): Delete declaration. | |
12011 | (address_to_host_pointer): Delete declaration. | |
12012 | * utils.c (host_pointer_to_address): Delete function. | |
12013 | (address_to_host_pointer): Delete function. | |
12014 | * procfs.c (procfs_address_to_host_pointer): New function. | |
12015 | * procfs.c (proc_set_watchpoint): Use. | |
12016 | (procfs_can_use_hw_breakpoint): Update comments. | |
12017 | * somsolib.c (hpux_address_to_host_pointer_hack): New function. | |
12018 | (som_solib_add): Use. | |
12019 | * hppa-tdep.c (hppa_pointer_to_address_hack): New function. | |
12020 | * hppa-tdep.c (unwind_command): Use. | |
8ffd9b1b | 12021 | |
7ca9f392 AC |
12022 | 2003-02-01 Andrew Cagney <[email protected]> |
12023 | ||
94bbfd30 AC |
12024 | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and |
12025 | strlen d_name. | |
12026 | ||
7ca9f392 AC |
12027 | * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, |
12028 | ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. | |
12029 | (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. | |
12030 | * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. | |
12031 | (define_symbol): Update. | |
12032 | * symfile.c (generic_load): Remove references to nindy. | |
12033 | * symtab.c: Remove references to nindy. | |
12034 | ||
31a85ea2 AC |
12035 | 2003-02-01 Andrew Cagney <[email protected]> |
12036 | ||
12037 | * infcmd.c (print_float_info): Delete code conditional on | |
12038 | FLOAT_INFO. | |
12039 | * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. | |
12040 | * config/m68k/nm-apollo68b.h: Ditto. | |
12041 | * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. | |
12042 | * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. | |
12043 | * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. | |
12044 | ||
f6e85fc8 MK |
12045 | 2003-02-01 Mark Kettenis <[email protected]> |
12046 | ||
6015b6a0 MK |
12047 | * config/i386/tm-i386os9k.h: Removed. |
12048 | ||
f7a30bdf MK |
12049 | * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v. |
12050 | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since | |
12051 | they're identical to i[3456]86-*-sysv* now. | |
12052 | * config/i386/i386v32.mh: Removed. | |
12053 | * config/i386/xm-i386v32.h: Removed. | |
12054 | * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro. | |
12055 | ||
28d52111 MK |
12056 | * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed. |
12057 | ||
4d3f6bce MK |
12058 | * config/i386/i386dgux.mh: Removed. |
12059 | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4. | |
12060 | ||
f6e85fc8 MK |
12061 | * configure.in: Fix typo. |
12062 | * configure: Regenerated. | |
12063 | ||
53955967 DC |
12064 | 2003-01-31 David Carlton <[email protected]> |
12065 | ||
12066 | * dwarf2read.c (dwarf2_locate_sections): Set | |
12067 | dwarf_ranges_section. | |
12068 | ||
b1364885 AC |
12069 | 2003-01-31 Andrew Cagney <[email protected]> |
12070 | ||
8dbb1c65 AC |
12071 | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. |
12072 | * utils.c: Update comments documenting legitimate uses of PTR. | |
8ffd9b1b | 12073 | |
8731e58e AC |
12074 | * utils.c: Re-indent. |
12075 | ||
b1364885 AC |
12076 | * config/djgpp/fnchange.lst: Delete nindy files. |
12077 | * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. | |
12078 | * nindy-share/nindy.c, nindy-share/env.h: Delete files. | |
12079 | * nindy-share/coff.h, nindy-share/block_io.h: Delete files. | |
12080 | * nindy-share/b.out.h, nindy-share/VERSION: Delete files. | |
12081 | * nindy-share/README, nindy-share/Onindy.c: Delete files. | |
12082 | * nindy-tdep.c, nindy-share/Makefile: Delete files. | |
12083 | * Makefile.in (init.c): Remove nindy references. | |
12084 | (saber_gdb): Delete rule. | |
12085 | (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, | |
12086 | nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, | |
12087 | and a68v-nat.c. | |
12088 | (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. | |
12089 | (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. | |
12090 | (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, | |
12091 | nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and | |
12092 | nindy-share/stop.h. | |
12093 | * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. | |
12094 | * saber.suppress: Delete file. | |
12095 | ||
086df311 DJ |
12096 | 2003-01-31 Daniel Jacobowitz <[email protected]> |
12097 | ||
12098 | * dbxread.c (stabs_data): New static variable. | |
12099 | (fill_symbuf): Support an in-memory buffer for stabs data. | |
12100 | (stabs_seek): New function. | |
12101 | (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. | |
12102 | (read_ofile_symtab): Use stabs_seek. | |
12103 | (elfstab_build_psymtabs): Take an asection* instead of | |
12104 | an offset and size. Relocate the stabs data if necessary. | |
12105 | Save the section* for dbx_psymtab_to_symtab. | |
12106 | * dwarf2read.c: Add section variables for each debug section. | |
12107 | (dwarf2_locate_sections): Fill them in. | |
12108 | (dwarf2_read_section): Take an asection* argument. | |
12109 | Relocate the section contents if necessary. | |
12110 | (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. | |
12111 | * dwarf2cfi.c (parse_frame_info): Take a section argument and pass | |
12112 | it to dwarf2_read_section. | |
12113 | (dwarf2_build_frame_info): Update callers. | |
12114 | * elfread.c (elf_symfile_read): Update call to | |
12115 | elfstab_build_psymtabs. | |
12116 | * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. | |
12117 | (DBX_STAB_SECTION): New macro. | |
8ffd9b1b | 12118 | * stabsread.h (elfstab_build_psymtabs): Update prototype. |
086df311 DJ |
12119 | * symfile.c (symfile_dummy_outputs): New function. |
12120 | (symfile_relocate_debug_section): New function. | |
12121 | * symfile.h (symfile_relocate_debug_section): Add prototype. | |
12122 | ||
87d1b352 RH |
12123 | 2003-01-31 Richard Henderson <[email protected]> |
12124 | ||
12125 | * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ... | |
12126 | (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. | |
12127 | (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. | |
12128 | * alpha-tdep.c (alpha_register_name): Add "unique". | |
12129 | * alpha-tdep.h (ALPHA_NUM_REGS): Increment. | |
12130 | (ALPHA_UNIQUE_REGNUM): New. | |
12131 | * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New. | |
12132 | ||
c48861fb AC |
12133 | 2003-01-31 Andrew Cagney <[email protected]> |
12134 | ||
12135 | * README: Remove reference to Ericsson 1800 monitor. | |
12136 | * Makefile.in (remote-es.o): Delete rule. | |
12137 | (ALLDEPFILES): Delete remote-es.c. | |
12138 | * remote-es.c: Delete file. | |
12139 | * config/m68k/es1800.mt: Delete file. | |
12140 | * config/djgpp/fnchange.lst: Update. | |
12141 | * configure.tgt: Delete m68*-ericsson-* target. | |
12142 | ||
d764a824 AF |
12143 | 2003-01-31 Adam Fedor <[email protected]> |
12144 | ||
12145 | * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc. | |
12146 | Remove duplicate/shadowing variable of same name. | |
12147 | ||
fe36c4f4 JB |
12148 | 2003-01-30 Jim Blandy <[email protected]> |
12149 | ||
12150 | * symfile.c (find_separate_debug_file): Assert that the objfile's | |
12151 | directory name we compute ends with a slash, and then assume that | |
12152 | that's so everywhere we use it. | |
12153 | ||
cb741690 DJ |
12154 | 2003-01-30 Daniel Jacobowitz <[email protected]> |
12155 | ||
12156 | * valops.c (value_assign): Flush frame cache after stores to memory | |
12157 | also. | |
12158 | ||
96ee5227 AC |
12159 | 2003-01-30 Andrew Cagney <[email protected]> |
12160 | ||
12161 | * Makefile.in (mon960-rom.o): Delete rule. | |
12162 | * mon960-rom.c: Delete file. | |
12163 | ||
7f6104a9 AC |
12164 | 2003-01-30 Andrew Cagney <[email protected]> |
12165 | ||
12166 | * d10v-tdep.c: Include "frame-unwind.h". | |
12167 | (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate | |
12168 | list. | |
12169 | (next_addr, uses_frame): Delete. | |
12170 | (struct d10v_unwind_cache): Define. | |
12171 | (prologue_find_regs): Add struct d10v_unwind_cache info parameter. | |
12172 | Use info instead of next_addr and uses_frame globals. | |
12173 | (d10v_frame_init_saved_regs): Delete function. | |
12174 | (d10v_init_extra_frame_info): Delete function. | |
12175 | (d10v_gdbarch_init): Do not initialize init_extra_frame_info, | |
12176 | frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, | |
12177 | init_frame_pc or frame_saved_pc. | |
12178 | (d10v_pop_frame): Delete function. | |
12179 | (do_d10v_pop_frame): Delete function. | |
12180 | (d10v_frame_chain): Delete function. | |
12181 | (d10v_frame_chain_valid): Delete function. | |
12182 | (d10v_frame_pc_unwind): New function. | |
12183 | (d10v_frame_id_unwind): New function. | |
12184 | (saved_regs_unwinder): New function. | |
12185 | (d10v_frame_register_unwind): New function. | |
12186 | (d10v_frame_pop): New function. | |
12187 | (d10v_frame_unwind): New variable. | |
12188 | (d10v_frame_p): New function. | |
12189 | (d10v_frame_saved_pc): Delete function. | |
12190 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
12191 | ||
cad2e848 JB |
12192 | 2003-01-30 J. Brobecker <[email protected]> |
12193 | ||
12194 | * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef | |
12195 | causing some regressions due to a change in the default value | |
12196 | for this macro. | |
12197 | ||
af34e669 DJ |
12198 | 2003-01-29 Richard Henderson <[email protected]> |
12199 | Elena Zannoni <[email protected]> | |
12200 | Daniel Jacobowitz <[email protected]> | |
12201 | ||
12202 | Fix PR gdb/961. | |
8ffd9b1b | 12203 | * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New |
af34e669 DJ |
12204 | variables. |
12205 | (RANGES_SECTION): New. | |
12206 | (dwarf_ranges_buffer): New variable. | |
12207 | (struct comp_unit_head): Add member "die". | |
12208 | (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. | |
12209 | (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. | |
12210 | (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. | |
12211 | (dwarf2_locate_sections): Likewise. | |
12212 | (dwarf2_build_psymtabs): Read .debug_ranges. | |
12213 | (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. | |
12214 | (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. | |
12215 | (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. | |
12216 | Look for DW_AT_ranges and return the bounding box. | |
12217 | ||
baa93fa6 CF |
12218 | 2003-01-29 Brian Ford <[email protected]> |
12219 | ||
12220 | * win32-nat.c (cygwin_pid): Removed as unused. | |
12221 | (child_attach): Try fall back to Cygwin pid. | |
12222 | ||
c63f977f JB |
12223 | 2003-01-29 Jim Blandy <[email protected]> |
12224 | ||
12225 | * objfiles.h (struct objfile): Doc fix. | |
12226 | ||
d62d1979 AC |
12227 | 2003-01-29 Andrew Cagney <[email protected]> |
12228 | ||
12229 | * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. | |
12230 | (legacy_get_prev_frame): Assert FRAME_CHAIN_P. | |
12231 | (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. | |
12232 | (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. | |
12233 | * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. | |
12234 | (FRAME_SAVED_PC): Change to a function with predicate. | |
12235 | * gdbarch.h, gdbarch.c: Re-generate. | |
12236 | ||
1ae18a04 AC |
12237 | 2003-01-28 Andrew Cagney <[email protected]> |
12238 | ||
52287340 AC |
12239 | * hppah-nat.c (child_pid_to_exec_file): Don't use boolean. |
12240 | ||
1ae18a04 AC |
12241 | * complaints.c (complain): Delete function. |
12242 | * complaints.h (struct deprecated_complaint): Delete definition. | |
12243 | (complain): Delete declaration. | |
12244 | ||
f2c16bd6 KB |
12245 | 2003-01-28 Kevin Buettner <[email protected]> |
12246 | ||
12247 | * mips-tdep.c (mips_init_extra_frame_info): Return early for | |
12248 | dummy frames. | |
12249 | ||
a94dd1fd AC |
12250 | 2003-01-27 Andrew Cagney <[email protected]> |
12251 | ||
12252 | * sentinel-frame.h, sentinel-frame.c: New files. | |
12253 | * Makefile.in (frame.o): Update dependencies. | |
12254 | (SFILES): Add sentinel-frame.c. | |
12255 | (sentinel_frame_h): Define. | |
12256 | (COMMON_OBS): Add sentinel-frame.o. | |
12257 | (sentinel-frame.o): Specify dependencies. | |
12258 | * frame.c: Include "sentinel-frame.h". | |
12259 | (frame_register_unwind): Rewrite assuming that there is always a a | |
12260 | ->next frame. | |
12261 | (frame_register, generic_unwind_get_saved_register): Ditto. | |
12262 | (frame_read_unsigned_register, frame_read_signed_register): Ditto. | |
12263 | (create_sentinel_frame, unwind_to_current_frame): New functions. | |
12264 | (get_current_frame): Rewrite using create_sentinel_frame and | |
12265 | unwind_to_current_frame. When possible, always create a frame. | |
12266 | (create_new_frame): Set next to the sentinel frame. | |
12267 | (get_next_frame): Rewrite. Don't go below the level 0 frame. | |
12268 | (deprecated_update_frame_pc_hack): Update the next frame's PC and | |
12269 | ID cache when necessary. | |
12270 | (frame_saved_regs_id_unwind): Use frame_relative_level. | |
12271 | (deprecated_generic_get_saved_register): Use frame_relative_level, | |
12272 | get_frame_saved_regs, get_frame_pc, get_frame_base and | |
12273 | get_next_frame. | |
12274 | (frame_saved_regs_register_unwind): Use get_frame_saved_regs and | |
12275 | frame_register. | |
12276 | ||
5378adc4 DJ |
12277 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
12278 | ||
12279 | * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments. | |
12280 | ||
51ee2ddc DJ |
12281 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
12282 | ||
12283 | * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] | |
12284 | (maintenance_set_profile_cmd): Use error () instead of warning (). | |
12285 | ||
d9feb4e7 DJ |
12286 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
12287 | ||
12288 | * configure.in: Check that -pg works if using --enable-profiling. | |
12289 | Check for monstartup and _mcleanup regardless of --enable-profiling. | |
12290 | * maint.c: Check for monstartup and _mcleanup before using them. | |
12291 | * config.in: Regenerated. | |
12292 | * configure: Regenerated. | |
12293 | ||
2d188dd3 NC |
12294 | 2003-01-24 Nick Clifton <[email protected]> |
12295 | ||
12296 | * Add sh2e support: | |
12297 | ||
12298 | 2002-04-02 Elena Zannoni <[email protected]> | |
12299 | ||
12300 | * gdb/sh-tdep.c (sh_sh2e_register_name): New. | |
12301 | (sh2e_show_regs): New. | |
12302 | (sh_gdbarch_init): Handle bfd_mach_sh2e. | |
12303 | * config/sh/tm-sh.h: Added sh2e to comments. | |
12304 | ||
cb3c37b2 JB |
12305 | 2003-01-23 Jim Blandy <[email protected]> |
12306 | ||
12307 | * symfile.c (syms_from_objfile): Don't print the "(no debugging | |
12308 | symbols found)" message here; we haven't checked for a separate | |
12309 | debug info file yet, so we don't know yet. | |
12310 | (symbol_file_add_with_addrs_or_offsets): Print it here, after | |
12311 | we've looked everywhere. Also, there's no need to print a special | |
12312 | message when we're loading the separate debug info file: the one | |
12313 | symbol_file_add prints is fine. | |
12314 | ||
5b5d99cf JB |
12315 | 2003-01-23 Alexander Larsson <[email protected]> |
12316 | Jim Blandy <[email protected]> | |
12317 | ||
12318 | Add support for executables whose debug info has been separated | |
12319 | out into a separate file, leaving only a link behind. | |
12320 | * objfiles.h (struct objfile): New fields: separate_debug_objfile | |
12321 | and separate_debug_objfile_backlink. | |
12322 | (put_objfile_before): New declaration. | |
12323 | * symfile.c: #include "filenames.h". | |
12324 | (symbol_file_add_with_addrs_or_offsets): If this objfile has its | |
12325 | debug info in a separate file, read that, too. Save the addrs | |
12326 | argument, so we can use it again to read the separated debug info; | |
12327 | syms_from_objfile modifies the table we pass it. | |
12328 | (reread_symbols): After re-reading an objfile, call | |
12329 | reread_separate_symbols to refresh its separate debug info | |
12330 | objfile, if it has one. | |
12331 | (reread_separate_symbols, find_separate_debug_file, | |
12332 | get_debug_link_info, separate_debug_file_exists): New functions. | |
12333 | (debug_file_directory): New global var. | |
12334 | (_initialize_symfile): Initialize debug_file_directory, and | |
12335 | provide the new `set debug-file-directory' command to let the user | |
12336 | change it. | |
12337 | * objfiles.c (free_objfile): If this objfile has its debug info in | |
12338 | a separate objfile, free that one too. If this is itself a | |
12339 | separate debug info objfile, clear our parent's backlink. | |
12340 | (put_objfile_before): New function. | |
12341 | * utils.c (gnu_debuglink_crc32): New function. | |
12342 | * defs.h (gnu_debuglink_crc32): New declaration. | |
12343 | * Makefile.in (symfile.o): Note dependency on "filenames.h". | |
12344 | * configure.in: Handle --with-separate-debug-dir config option. | |
12345 | * acinclude.m4 (AC_DEFINE_DIR): New macro. | |
12346 | * acconfig.h (DEBUGDIR): New macro. | |
12347 | * configure, aclocal.m4, config.in: Regenerated. | |
12348 | ||
7e8580c1 JB |
12349 | 2003-01-22 Jim Blandy <[email protected]> |
12350 | ||
7904e09f JB |
12351 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New function, |
12352 | like the old symbol_file_add, but taking new arguments: you can | |
12353 | now pass in either a `struct section_addr_info' list to say where | |
12354 | each section is loaded, or a `struct section_offsets' table. Pass | |
12355 | these new arguments through to syms_from_objfile as appropriate. | |
8ffd9b1b | 12356 | (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, |
7904e09f JB |
12357 | with the appropriate quiescent values for the new arguments. |
12358 | ||
7e8580c1 JB |
12359 | * symfile.c: #include "gdb_assert.h". |
12360 | (syms_from_objfile): Add the ability to pass in a section offset | |
12361 | table directly, as an alternative to the section_addr_info table. | |
12362 | Document arguments better. | |
12363 | (symbol_file_add): Pass extra arguments to syms_from_objfile. | |
12364 | * symfile.h (syms_from_objfile): Update declaration. | |
12365 | * rs6000-nat.c (objfile_symbol_add): Pass new arguments to | |
12366 | syms_from_objfile. | |
12367 | * Makefile.in (symfile.o): List dependency on $(gdb_assert_h). | |
12368 | ||
d28f9cdf DJ |
12369 | 2003-01-22 Daniel Jacobowitz <[email protected]> |
12370 | ||
12371 | Original patch by Tom Tromey <[email protected]> and | |
12372 | Jason Molenda <[email protected]>. | |
12373 | * Makefile.in (PROFILE_CFLAGS): Substitute from configure. | |
12374 | (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. | |
12375 | * NEWS: Mention profiling. | |
12376 | * configure.in (--enable-gdbtk): Fix typo. | |
12377 | (--enable-profiling): New. Set PROFILE_CFLAGS. | |
12378 | * maint.c (maintenance_set_profile_cmd): Remove NOTYET. | |
12379 | Fill in function. | |
12380 | (profiling_state): New variable. | |
12381 | (mcleanup_wrapper): New function. | |
12382 | (_initialize_maint): Remove NOTYET, fix call to | |
12383 | add_setshow_boolean_cmd for "maint set profile". | |
12384 | * configure: Regenerated. | |
12385 | ||
df21e465 MH |
12386 | 2003-01-21 Martin M. Hunt <[email protected]> |
12387 | ||
12388 | * Makefile.in (install-gdbtk): Install PNG images too. | |
12389 | ||
73c1f219 AC |
12390 | 2003-01-21 Andrew Cagney <[email protected]> |
12391 | ||
12392 | * exec.c (text_start): Delete global variable. | |
12393 | (exec_file_attach): Make text_start local to the function. | |
12394 | * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. | |
12395 | * valops.c (hand_function_call): Delete code that handles | |
12396 | BEFORE_TEXT_END and AFTER_TEXT_END. | |
12397 | * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead | |
12398 | of CALL_DUMMY_LOCATION. | |
12399 | * gdbarch.c: Regenerate. | |
12400 | * inferior.h (deprecated_pc_in_call_dummy_before_text_end) | |
12401 | (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. | |
12402 | * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) | |
12403 | (deprecated_pc_in_call_dummy_after_text_end): Delete functions. | |
12404 | (text_end): Delete extern declaration. | |
12405 | ||
eb4f72c5 AC |
12406 | 2003-01-21 Andrew Cagney <[email protected]> |
12407 | ||
12408 | * frame.h (FRAME_OBSTACK_ZALLOC): Define. | |
12409 | * blockframe.c (backtrace_below_main): Move to "frame.c". | |
12410 | (frame_chain_valid): Delete check for backtrace_below_main. | |
12411 | (_initialize_blockframe): Delete initialization, move ``set | |
12412 | backtrace-below-main'' command to "frame.c". | |
12413 | (do_flush_frames_sfunc): Delete function. | |
12414 | * frame.c: Include "command.h" and "gdbcmd.h". | |
12415 | (frame_type_from_pc): New function. | |
12416 | (create_new_frame): Use frame_type_from_pc. | |
12417 | (legacy_get_prev_frame): New function. | |
12418 | (get_prev_frame): Rewrite. When an old style frame, call | |
12419 | legacy_get_prev_frame. Otherwize, unwind the PC first. | |
12420 | (_initialize_frame): Add ``set backtrace-below-main'' command. | |
12421 | * Makefile.in (frame.o): Update dependencies. | |
12422 | ||
778ce8cc AC |
12423 | 2003-01-19 Andrew Cagney <[email protected]> |
12424 | ||
12425 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename | |
12426 | DEPRECATED_REGISTERS_INFO. | |
12427 | ||
01c193c8 AC |
12428 | 2003-01-19 Andrew Cagney <[email protected]> |
12429 | ||
12430 | * MAINTAINERS: Replace `Blanket Write Privs' with `Global | |
12431 | Maintainers'. Update `Various Maintainers'. | |
12432 | ||
dedc2a2b AC |
12433 | 2003-01-19 Andrew Cagney <[email protected]> |
12434 | ||
12435 | * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. | |
12436 | * gdbarch.sh (POP_FRAME): Change to function with predicate. | |
12437 | Suppress actual parameters when `-'. | |
12438 | * gdbarch.h, gdbarch.c: Regenerate. | |
12439 | ||
b7261c70 AC |
12440 | 2003-01-19 Andrew Cagney <[email protected]> |
12441 | ||
12442 | * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore | |
12443 | code handling dummy frames. | |
12444 | ||
dbe9fe58 AC |
12445 | 2003-01-19 Andrew Cagney <[email protected]> |
12446 | ||
12447 | * frame-unwind.h (frame_unwind_pop_ftype): Declare. | |
12448 | (struct frame_unwind): Add field pop. | |
12449 | * frame.h (frame_pop): Declare. | |
12450 | * frame.c (frame_saved_regs_pop): New function. | |
12451 | (trad_frame_unwinder): Add frame_saved_regs_pop. | |
12452 | (frame_pop): New function. | |
12453 | * dummy-frame.c (dummy_frame_pop): New function. | |
12454 | (discard_innermost_dummy): New function. | |
12455 | (generic_pop_dummy_frame): Use discard_innermost_dummy. | |
12456 | (dummy_frame_unwind): Add dummy_frame_pop. | |
12457 | * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. | |
12458 | * valops.c (hand_function_call): Ditto. | |
12459 | * stack.c (return_command): Ditto. | |
12460 | ||
570b8f7c AC |
12461 | 2003-01-18 Andrew Cagney <[email protected]> |
12462 | ||
12463 | * cris-tdep.c: Fix function declaration indentation. | |
12464 | * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. | |
12465 | * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. | |
12466 | * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. | |
12467 | * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. | |
12468 | * xcoffread.c, config/pa/tm-hppa.h: Ditto. | |
12469 | * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto. | |
12470 | ||
12471 | 2003-01-18 Michael Chastain <[email protected]> | |
eaec4d85 MC |
12472 | |
12473 | * README (Unpacking and Installation -- quick overview): | |
12474 | Warn against ".../gdb-5.3/gdb/configure". | |
12475 | ||
494cca16 AC |
12476 | 2003-01-18 Andrew Cagney <[email protected]> |
12477 | ||
12478 | * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. | |
12479 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
12480 | (struct frame_unwind): Declare opaque. | |
12481 | (dummy_frame_p): Declare function. | |
12482 | * dummy-frame.c (dummy_frame_id_unwind): Make static. | |
12483 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
12484 | * dummy-frame.c: Include "frame-unwind.h". | |
12485 | (dummy_frame_p): New function. | |
12486 | (dummy_frame_unwind): New variable. | |
12487 | * frame.c: Include "frame-unwind.h". | |
12488 | (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update | |
12489 | to use the new unwind field. | |
12490 | (set_unwind_by_pc): Delete function. | |
12491 | (create_new_frame, get_prev_frame): Set unwind field using | |
12492 | frame_unwind_find_by_pc. | |
12493 | (trad_frame_unwind, trad_frame_unwinder): New variables. | |
12494 | * frame.h (trad_frame_unwind): Declare variable. | |
12495 | (frame_id_unwind_ftype): Delete declaration. | |
12496 | (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. | |
12497 | (struct frame_unwind): Declare opaque. | |
12498 | (struct frame_info): Replace the fields id_unwind, pc_unwind and | |
12499 | register_unwind with a single unwind pointer. | |
12500 | * frame-unwind.h, frame-unwind.c: New files. | |
12501 | * Makefile.in (SFILES): Add frame-unwind.c. | |
12502 | (frame_unwind_h): Define. | |
12503 | (COMMON_OBS): Add frame-unwind.o. | |
12504 | (frame-unwind.o): Specify dependencies. | |
12505 | (frame.o, dummy-frame.o): Update dependencies. | |
8ffd9b1b | 12506 | |
4efb68b1 AC |
12507 | 2003-01-18 Andrew Cagney <[email protected]> |
12508 | ||
12509 | * ada-valprint.c: Eliminate PTR. | |
12510 | * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. | |
12511 | * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. | |
12512 | * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. | |
12513 | * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. | |
12514 | * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. | |
12515 | * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. | |
12516 | * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. | |
8ffd9b1b | 12517 | |
a84d24ee AC |
12518 | 2003-01-17 Andrew Cagney <[email protected]> |
12519 | ||
762f08a3 AC |
12520 | * main.c (captured_main): Don't use PTR. |
12521 | * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. | |
12522 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
12523 | (lookup_struct_elt_type): Ditto. | |
12524 | * f-valprint.c (info_common_command): Ditto. | |
12525 | (list_all_visible_commons): Ditto. | |
12526 | * jv-typeprint.c (java_type_print_base): Ditto. | |
12527 | ||
a84d24ee AC |
12528 | * config/djgpp/fnchange.lst: Rename mi1-var-block.exp, |
12529 | mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. | |
12530 | Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename | |
12531 | i386-interix-nat.c and i386-interix-tdep.c. Rename | |
12532 | m68klinux-nat.c and m68klinux-tdep.c. Rename | |
12533 | config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename | |
12534 | bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename | |
12535 | gdb/objc-exp.tab.c and gdb/ada-exp.tab.c | |
12536 | * main.c (captured_main): Use xfree, not free. | |
12537 | ||
c170fb60 AC |
12538 | 2003-01-16 Andrew Cagney <[email protected]> |
12539 | ||
12540 | * frame.h (frame_id_unwind_ftype): Change type so that the frame's | |
12541 | ID back using a parameter. | |
12542 | * frame.c (frame_id_unwind): Update call. | |
12543 | (frame_saved_regs_id_unwind): Update. | |
12544 | * dummy-frame.c (dummy_frame_id_unwind): Update function. | |
12545 | * dummy-frame.h (struct frame_id): Add opaque declaration. | |
12546 | (dummy_frame_id_unwind): Update declaration. | |
12547 | ||
867f3898 AC |
12548 | 2003-01-15 Andrew Cagney <[email protected]> |
12549 | ||
12550 | * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. | |
12551 | ||
40622be8 | 12552 | 2003-01-15 Stephen P. Smith <[email protected]> |
de3a8c23 | 12553 | |
40622be8 | 12554 | * MAINTAINERS (Stephen P. Smith): Updated email address. |
de3a8c23 | 12555 | |
ae66c1fc EZ |
12556 | 2003-01-14 Elena Zannoni <[email protected]> |
12557 | ||
997b089a | 12558 | Fix PR gdb/898 |
ae66c1fc EZ |
12559 | * breakpoint.c (until_break_command): Add new argument. Use it to |
12560 | decide whether to stop only at the current frame or not. | |
12561 | * breakpoint.h (until_break_command): Update prototype. | |
8ffd9b1b | 12562 | * infcmd.c (until_command): Add new argument to until_break_command |
ae66c1fc EZ |
12563 | call. |
12564 | (advance_command): New function. | |
12565 | (_initialize_infcmd): Update help string for 'until' command. | |
12566 | Add new 'advance' command. | |
12567 | ||
a04257e6 DC |
12568 | 2003-01-14 David Carlton <[email protected]> |
12569 | ||
12570 | * linespec.c (decode_line_1): Normalize comments. | |
12571 | (set_flags): Ditto. | |
12572 | (locate_first_half): Ditto. | |
12573 | (decode_compound): Ditto. | |
12574 | (symtab_from_filename): Ditto. | |
12575 | (decode_all_digits): Ditto. | |
12576 | (decode_dollar): Ditto. | |
12577 | (find_methods): Ditto. | |
12578 | (find_toplevel_char): Ditto. | |
12579 | ||
1bac305b AC |
12580 | 2003-01-13 Andrew Cagney <[email protected]> |
12581 | ||
12582 | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. | |
12583 | * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. | |
12584 | * elfread.c, eval.c, expprint.c, expression.h: Update copyright. | |
12585 | * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. | |
12586 | * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. | |
12587 | * language.c, language.h, m32r-tdep.c: Update copyright. | |
12588 | * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. | |
12589 | * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. | |
12590 | * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. | |
12591 | * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. | |
12592 | * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. | |
12593 | * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. | |
12594 | ||
25caa7a8 EZ |
12595 | 2003-01-13 Elena Zannoni <[email protected]> |
12596 | ||
12597 | * stabsread.h (process_later, resolve_cfront_continuation): | |
12598 | Obsolete. | |
12599 | Update copyright years. | |
12600 | * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. | |
12601 | Update copyright year. | |
12602 | * dbxread.c(struct cont_elem): Obsolete. | |
8ffd9b1b | 12603 | (process_later, process_now): Obsolete functions. |
25caa7a8 EZ |
12604 | (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. |
12605 | Update copyright year. | |
12606 | * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. | |
12607 | (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions. | |
12608 | * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront. | |
12609 | (parse_partial_symbols): Obsolete cfront support. | |
12610 | * stabsread.c | |
12611 | (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete | |
12612 | macros. | |
12613 | (get_substring, get_cfront_method_physname, msg_unknown_complaint, | |
12614 | read_cfront_baseclasses, read_cfront_member_functions, | |
12615 | resolve_cfront_continuation,read_cfront_static_fields, | |
12616 | copy_cfront_struct_fields): Obsolete functions. | |
12617 | (define_symbol, read_one_struct_field): Obsolete cfront support. | |
12618 | * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support. | |
12619 | Update Copyright year. | |
12620 | ||
7789c6f5 EZ |
12621 | 2003-01-13 Elena Zannoni <[email protected]> |
12622 | ||
12623 | * stack.c (print_frame_info, print_stack_frame_base_stub, | |
12624 | print_stack_frame_base, show_and_print_stack_frame_stub, | |
12625 | show_and_print_stack_frame, print_only_stack_frame_stub, | |
12626 | print_only_stack_frame): Delete functions. | |
12627 | (print_stack_frame_stub): Call print_frame_info instead of | |
12628 | print_frame_info_base. | |
12629 | (print_frame_info_base): Rename to print_frame_info. | |
12630 | (backtrace_command_1): Call print_frame_info, instead of | |
12631 | print_frame_info_base. | |
12632 | (current_frame_command): Call print_stack_frame, instead of | |
12633 | print_only_stack_frame. | |
12634 | (frame_command): Call print_stack_frame, instead of | |
12635 | show_and_print_stack_frame. | |
12636 | (up_command): Ditto. | |
12637 | (down_command): Ditto. | |
12638 | * frame.h (print_only_stack_frame): Delete prototype. | |
12639 | * infrun.c (normal_stop): Call print_stack_frame, instead of | |
12640 | show_and_print_stack_frame. | |
12641 | * thread.c (info_threads_command): Call print_stack_frame, instead | |
12642 | of print_only_stack_frame. | |
12643 | ||
3f5a3016 AC |
12644 | 2003-01-13 Andrew Cagney <[email protected]> |
12645 | ||
d99ba314 AC |
12646 | * README (Graphical interface to GDB): Update URL. Point at |
12647 | gdb/links/. | |
12648 | ||
3f5a3016 AC |
12649 | * gdb_indent.sh: Update to version 2.2.9. Warn when not exact |
12650 | version match. | |
12651 | ||
083ae935 DJ |
12652 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
12653 | ||
12654 | * symtab.c (find_pc_sect_line): Don't consider end-of-function | |
12655 | lines. | |
12656 | ||
5365276c DJ |
12657 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
12658 | ||
12659 | * thread-db.c (attach_thread): Prototype. | |
12660 | (struct private_thread_info): Remove lwpid. Add thread handle (th), | |
12661 | thread information (ti), and valid flags (th_valid, ti_valid). | |
12662 | (attach_thread): Move target_pid_to_str call to after the thread | |
12663 | is added to GDB's list. Initialize the cache. | |
12664 | (thread_get_info_callback, thread_db_map_id2thr) | |
12665 | (thread_db_get_info): New functions. | |
12666 | (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers) | |
12667 | (thread_db_store_registers, thread_db_thread_alive) | |
12668 | (thread_db_get_thread_local_address): Use them. | |
12669 | (thread_db_pid_to_str): Likewise. Return "Missing" instead | |
12670 | of calling error() for threads in unknown state. | |
12671 | ||
12672 | (clear_lwpid_callback): New function. | |
12673 | (thread_db_resume): Use it to clear the cache. | |
12674 | ||
9fc30b6b DJ |
12675 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
12676 | ||
12677 | * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove. | |
12678 | (resume_callback): Remove dead code. | |
12679 | ||
8f871025 AC |
12680 | 2003-01-13 Andrew Cagney <[email protected]> |
12681 | ||
12682 | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with | |
12683 | predicate. | |
12684 | * gdbarch.h, gdbarch.c: Regenerate. | |
12685 | * stack.c (frame_info): Only initialize the saved registers when | |
12686 | FRAME_INIT_SAVED_REGS_P. | |
12687 | * frame.c (frame_saved_regs_register_unwind): Assert | |
12688 | FRAME_INIT_SAVED_REGS_P. | |
12689 | (deprecated_generic_get_saved_register): Ditto. | |
12690 | ||
3f565f1e DJ |
12691 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
12692 | ||
12693 | * source.c (openp): Squelch warning about "filename". | |
12694 | ||
072b1022 DJ |
12695 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
12696 | ||
12697 | * source.c (openp): If the file does not exist don't necessarily | |
12698 | search the path. | |
12699 | ||
973ccf8b DJ |
12700 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
12701 | ||
12702 | Fix PR gdb/872. | |
12703 | * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
12704 | (integer_types_same_name_p): New function. | |
12705 | (rank_one_type): Use it. | |
12706 | * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
12707 | ||
030292b7 DJ |
12708 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
12709 | ||
12710 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New | |
12711 | variables. | |
12712 | (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). | |
12713 | * configure.in: Add --with-sysroot. | |
12714 | * configure: Regenerated. | |
12715 | * main.c (gdb_sysroot): New variable. | |
12716 | (captured_main): Initialize gdb_sysroot. | |
12717 | * defs.h (gdb_sysroot): New extern declaration. | |
12718 | * solib.c (_initialize_solib): Initialize solib_absolute_prefix. | |
12719 | ||
afb5d334 MC |
12720 | 2003-01-12 Michael Chastain <[email protected]> |
12721 | ||
12722 | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002. | |
12723 | ||
751ceeb4 MC |
12724 | 2003-01-12 Michael Chastain <[email protected]> |
12725 | ||
12726 | * top.c (print_gdb_version): Bump copyright year to 2003. | |
12727 | ||
94cd26f8 DC |
12728 | 2003-01-12 David Carlton <[email protected]> |
12729 | ||
12730 | * linespec.c (symtab_from_filename): Rename variable 's' to | |
12731 | 'file_symtab'. | |
12732 | ||
1ce79225 AC |
12733 | 2003-01-12 Andrew Cagney <[email protected]> |
12734 | ||
12735 | * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a | |
12736 | dummy frame. | |
12737 | (d10v_frame_saved_pc, d10v_frame_chain): Ditto. | |
12738 | ||
fa1fd571 AC |
12739 | 2003-01-12 Andrew Cagney <[email protected]> |
12740 | ||
12741 | * d10v-tdep.c: Include "gdb_assert.h". | |
12742 | (d10v_store_return_value): Rewrite to match current interface. | |
12743 | (d10v_extract_struct_value_address): Ditto. | |
12744 | (d10v_extract_return_value): Ditto. | |
12745 | (d10v_gdbarch_init): Set store_restore_value, | |
12746 | extract_struct_value_address and extract_return_value. | |
12747 | ||
68b8d23e JB |
12748 | 2003-01-12 J. Brobecker <[email protected]> |
12749 | ||
12750 | * hpread.c (set_namestring): New procedure replacing the | |
12751 | SET_NAMESTRING macro. | |
12752 | (hpread_build_psymtabs): Replace calls to SET_NAMESTRING | |
12753 | by calls to set_namestring. | |
12754 | ||
12755 | 2003-01-11 J. Brobecker <[email protected]> | |
1fb309ea JB |
12756 | |
12757 | * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix | |
12758 | a compilation warning. | |
12759 | (hpread_process_one_debug_symbol): Likewise. | |
12760 | ||
88d262ca DC |
12761 | 2003-01-10 David Carlton <[email protected]> |
12762 | ||
12763 | * linespec.c (decode_line_1): Rename variable 's' to | |
12764 | 'file_symtab'. | |
12765 | (decode_all_digits): Rename argument 's' to 'file_symtab'. | |
12766 | (decode_dollar): Ditto. | |
12767 | (decode_variable): Ditto. | |
12768 | (symbol_found): Ditto. | |
12769 | ||
86669319 MC |
12770 | 2003-01-09 Michael Chastain <[email protected]> |
12771 | ||
12772 | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++. | |
12773 | ||
616a9dc4 CV |
12774 | 2003-01-07 Corinna Vinschen <[email protected]> |
12775 | ||
12776 | * win32-nat.c (set_process_privilege): New function. | |
12777 | (child_attach): Call set_process_privilege() to enable the | |
12778 | SE_DEBUG_NAME user privilege if available in process token. | |
12779 | ||
3269bcfa JB |
12780 | 2003-01-10 J. Brobecker <[email protected]> |
12781 | ||
12782 | * hpread.c (hpread_process_one_debug_symbol): Fix a small | |
12783 | compilation error in the previous revision. | |
12784 | ||
2b0ee454 DC |
12785 | 2003-01-09 David Carlton <[email protected]> |
12786 | ||
12787 | * linespec.c: Update copyright. | |
12788 | ||
b3ba1b44 DJ |
12789 | 2003-01-09 Daniel Jacobowitz <[email protected]> |
12790 | ||
12791 | * lin-lwp.c (child_wait): Ignore exit statuses for processes other | |
12792 | than inferior_ptid. | |
12793 | (lin_lwp_wait): Ignore exit statuses for unknown LWPs. | |
12794 | ||
4ef3f3be AC |
12795 | 2003-01-09 Andrew Cagney <[email protected]> |
12796 | ||
479ab5a0 AC |
12797 | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. |
12798 | Update comments. | |
12799 | * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. | |
12800 | (frame_saved_regs_zalloc): Update. | |
12801 | (frame_saved_regs_register_unwind): Update. | |
12802 | (create_new_frame): Update. | |
12803 | (get_prev_frame): Update. | |
12804 | (frame_extra_info_zalloc): Update. | |
12805 | (deprecated_get_frame_saved_regs): Update. | |
12806 | * dwarf2cfi.c (cfi_init_extra_frame_info): Update. | |
12807 | * cris-tdep.c: Update comment. | |
12808 | ||
bde58177 AC |
12809 | * somsolib.h: Fix function indentation. |
12810 | * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. | |
12811 | * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. | |
12812 | * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. | |
12813 | * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. | |
12814 | * somsolib.c, inftarg.c: Remove assignment in if conditional. | |
12815 | ||
4ef3f3be AC |
12816 | * infrun.c (follow_fork): Use ISO C definition. |
12817 | * expprint.c (print_subexp): Use xfree instead of free. | |
12818 | * charset.c: Include "gdb_string.h" instead of <string.h>. | |
12819 | (register_iconv_charsets): Use ISO C definition. | |
12820 | (host_charset, target_charset): Ditto. | |
12821 | * Makefile.in (charset.o): Update dependencies. | |
12822 | (mi-cmd-env.o): Update dependencies. | |
12823 | ||
1c615f7a AC |
12824 | 2003-01-08 Andrew Cagney <[email protected]> |
12825 | ||
12826 | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use | |
12827 | get_frame_base. | |
12828 | ||
c9a1dc08 AC |
12829 | 2003-01-08 Andrew Cagney <[email protected]> |
12830 | ||
12831 | * gdb_mbuild.sh: Add --keep option. When specified, keep the | |
12832 | build directories. Save edited gdb output in Mbuild.log. If a | |
12833 | build fails, remove any final GDB executable. | |
12834 | ||
dbad9d94 AC |
12835 | 2003-01-08 Andrew Cagney <[email protected]> |
12836 | ||
12837 | * gdb_mbuild.sh: Edit the output of `maint print architecture' | |
12838 | replacing hex constants with function names and stripping leading | |
12839 | file name directory prefixes. | |
12840 | ||
8d357cca AC |
12841 | 2003-01-08 Andrew Cagney <[email protected]> |
12842 | ||
12843 | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and | |
12844 | get_frame_base. | |
12845 | ||
bca02a8a DC |
12846 | 2003-01-08 David Carlton <[email protected]> |
12847 | ||
12848 | * linespec.c (decode_line_1): Move code into decode_variable. | |
12849 | (decode_variable): New function. | |
12850 | ||
7f8ab3a0 AC |
12851 | 2003-01-08 Andrew Cagney <[email protected]> |
12852 | ||
12853 | * mn10300-tdep.c (analyze_dummy_frame): Fix typo. | |
12854 | ||
7b5849cc AC |
12855 | 2003-01-08 Andrew Cagney <[email protected]> |
12856 | ||
12857 | * cris-tdep.c (cris_frame_init_saved_regs): Use | |
12858 | get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a | |
12859 | saved_regs buffer. | |
12860 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
12861 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
12862 | (sh_fp_frame_init_saved_regs): Ditto. | |
12863 | * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. | |
12864 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
12865 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
12866 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
12867 | ||
72a5efb3 DJ |
12868 | 2003-01-08 Daniel Jacobowitz <[email protected]> |
12869 | ||
12870 | * minsyms.c (lookup_minimal_symbol): Update comment. | |
12871 | (lookup_minimal_symbol_text): Update comment. Use the hash table. | |
12872 | (lookup_minimal_symbol_solib_trampoline): Likewise. | |
12873 | ||
11c02a10 AC |
12874 | 2003-01-08 Andrew Cagney <[email protected]> |
12875 | ||
aab3ea25 AC |
12876 | * d10v-tdep.c (d10v_init_extra_frame_info): Use |
12877 | frame_relative_level. | |
12878 | ||
da50a4b7 AC |
12879 | * alpha-tdep.c: Use get_frame_extra_info. |
12880 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12881 | * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. | |
12882 | * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
12883 | * sparc-tdep.c, xstormy16-tdep.c: Ditto. | |
12884 | ||
11c02a10 AC |
12885 | * alpha-tdep.c: Use get_next_frame. |
12886 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12887 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
12888 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. | |
12889 | * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. | |
12890 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. | |
12891 | * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. | |
12892 | * xstormy16-tdep.c: Ditto. | |
8ffd9b1b | 12893 | |
1e2330ba AC |
12894 | 2003-01-07 Andrew Cagney <[email protected]> |
12895 | ||
12896 | * alpha-tdep.c: Use get_frame_base. | |
12897 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12898 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
12899 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
12900 | * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
12901 | * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. | |
12902 | * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
12903 | * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. | |
12904 | * config/sparc/tm-sparc.h: Ditto. | |
8ffd9b1b | 12905 | |
2d75187b AC |
12906 | 2003-01-07 Andrew Cagney <[email protected]> |
12907 | ||
12908 | * frame.c (deprecated_get_frame_context): New function. | |
12909 | (deprecated_set_frame_context): New function. | |
12910 | * frame.h (deprecated_get_frame_context): Declare. | |
12911 | (deprecated_set_frame_context): Declare. | |
12912 | * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. | |
12913 | (cfi_init_extra_frame_info): Use deprecated_set_frame_context. | |
8ffd9b1b | 12914 | |
483d36b2 AC |
12915 | 2003-01-07 Andrew Cagney <[email protected]> |
12916 | ||
12917 | * frame.c (deprecated_set_frame_next_hack): New function. | |
12918 | (deprecated_set_frame_prev_hack): New function. | |
12919 | * frame.h (deprecated_set_frame_next_hack): Declare. | |
12920 | (deprecated_set_frame_prev_hack): Declare. | |
12921 | * mcore-tdep.c (analyze_dummy_frame): Use | |
12922 | deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. | |
12923 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
12924 | ||
14e91ac5 DC |
12925 | 2003-01-07 David Carlton <[email protected]> |
12926 | ||
12927 | * linespec.c (decode_line_1): Move code into decode_dollar. | |
12928 | (decode_dollar): New function. | |
12929 | ||
b0c6b05c AC |
12930 | 2003-01-07 Andrew Cagney <[email protected]> |
12931 | ||
12932 | * arm-tdep.c (arm_init_extra_frame_info): Use | |
12933 | deprecated_update_frame_base_hack. | |
12934 | * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. | |
12935 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
12936 | (fix_frame_pointer): Ditto. | |
12937 | (mn10300_analyze_prologue): Ditto. | |
12938 | ||
a00a19e9 AC |
12939 | 2003-01-07 Andrew Cagney <[email protected]> |
12940 | ||
12941 | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate | |
12942 | extra_info using frame_extra_info_zalloc. | |
12943 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
12944 | * sh-tdep.c (sh_init_extra_frame_info): Ditto. | |
12945 | (sh64_init_extra_frame_info): Ditto. | |
12946 | * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. | |
12947 | * s390-tdep.c (s390_init_extra_frame_info): Ditto. | |
12948 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
12949 | * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. | |
12950 | * frv-tdep.c (frv_init_extra_frame_info): Ditto. | |
12951 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. | |
12952 | * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. | |
12953 | * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. | |
12954 | * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. | |
12955 | * cris-tdep.c (cris_init_extra_frame_info): Ditto. | |
12956 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
12957 | * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. | |
12958 | ||
12959 | * mn10300-tdep.c (analyze_dummy_frame): Use | |
12960 | deprecated_set_frame_extra_info_hack. | |
12961 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
12962 | ||
1fb4c65b JB |
12963 | 2003-01-07 J. Brobecker <[email protected]> |
12964 | ||
12965 | * mdebugread.c (parse_symbol): Skip stProc entries which storage | |
12966 | class is not scText. These do not define "real" procedures. | |
12967 | (parse_partial_symbols): Likewise. | |
12968 | ||
9fe7d6bf MS |
12969 | 2003-01-06 Michael Snyder <[email protected]> |
12970 | ||
12971 | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. | |
12972 | ||
f6c609c4 AC |
12973 | 2003-01-06 Andrew Cagney <[email protected]> |
12974 | ||
12975 | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. | |
12976 | * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. | |
12977 | * arm-tdep.c (arm_frame_chain): Allocate caller_fi using | |
12978 | deprecated_frame_xmalloc_with_cleanup. | |
12979 | * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using | |
12980 | deprecated_frame_xmalloc. | |
12981 | * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. | |
12982 | * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame. | |
12983 | ||
d995ff4b AC |
12984 | 2003-01-06 Andrew Cagney <[email protected]> |
12985 | ||
84dc46cb AC |
12986 | * x86-64-linux-tdep.c: Include "osabi.h". |
12987 | * Makefile.in (x86-64-linux-tdep.o): Update dependencies. | |
12988 | ||
d995ff4b AC |
12989 | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach. |
12990 | ||
66140c26 AC |
12991 | 2003-01-06 Andrew Cagney <[email protected]> |
12992 | ||
12993 | * MAINTAINERS (Target Instruction Set Architectures): Update | |
12994 | arm-elf. Can be built with -Werror, has been multiarched. | |
12995 | ||
12996 | * value.h (unpack_long): Make buffer parameter constant. | |
12997 | (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. | |
12998 | * scm-lang.h (scm_parse): Ditto. | |
12999 | * defs.h (extract_typed_address, extract_address): Ditto. | |
13000 | (extract_long_unsigned_integer): Ditto. | |
13001 | * inferior.h (unsigned_pointer_to_address): Ditto. | |
13002 | (signed_pointer_to_address): Ditto. | |
13003 | * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. | |
13004 | * gdbarch.h, gdbarch.c: Regenerate. | |
13005 | * findvar.c (extract_long_unsigned_integer): Update. | |
13006 | (extract_address): Update. | |
13007 | (extract_typed_address): Update. | |
13008 | (unsigned_pointer_to_address): Update. | |
13009 | * values.c (unpack_long): Update. | |
13010 | (unpack_double): Update. | |
13011 | (unpack_pointer): Update. | |
13012 | (unpack_field_as_long): Update. | |
13013 | * d10v-tdep.c (d10v_pointer_to_address): Update. | |
13014 | * avr-tdep.c (avr_pointer_to_address): Update. | |
13015 | * scm-lang.c (scm_unpack): Update. | |
13016 | * findvar.c (signed_pointer_to_address): Update. | |
13017 | ||
b089b3da ML |
13018 | 2003-01-06 Michal Ludvig <[email protected]> |
13019 | ||
8ffd9b1b | 13020 | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore |
b089b3da ML |
13021 | since it is in i386-tdep.c. |
13022 | ||
aff87235 JB |
13023 | 2003-01-06 J. Brobecker <[email protected]> |
13024 | ||
13025 | * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation | |
13026 | failure introduced in the previous change. | |
13027 | ||
34f5e845 MC |
13028 | 2003-01-05 Michael Chastain <[email protected]> |
13029 | ||
13030 | * README: Remove references to deleted remote-*.c files: | |
13031 | remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, | |
13032 | remote-nrom.c, remote-os9k.c, remote-udi.c. | |
13033 | ||
28bcfd30 MK |
13034 | 2003-01-05 Mark Kettenis <[email protected]> |
13035 | ||
13036 | * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64. | |
13037 | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about | |
13038 | i386_get_longjmp_target. | |
13039 | ||
15a5b3ee AC |
13040 | 2003-01-05 Andrew Cagney <[email protected]> |
13041 | ||
13042 | * arm-tdep.c (prologue_cache): Change to a pointer. | |
13043 | (_initialize_arm_tdep): Allocate prologue_cache. | |
13044 | (check_prologue_cache): Update. | |
13045 | (save_prologue_cache): Update. | |
13046 | (arm_gdbarch_init): Update. | |
13047 | ||
c263362b DJ |
13048 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
13049 | ||
13050 | * stabsread.c (update_method_name_from_physname): Call complaint() | |
13051 | instead of error. | |
13052 | ||
51603483 DJ |
13053 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
13054 | ||
13055 | * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. | |
13056 | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. | |
13057 | * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. | |
13058 | ||
13059 | * blockframe.c: Include "gdbcmd.h" and "command.h". | |
13060 | (backtrace_below_main): New variable. | |
13061 | (file_frame_chain_valid, func_frame_chain_valid) | |
13062 | (nonnull_frame_chain_valid, generic_file_frame_chain_valid) | |
13063 | (generic_func_frame_chain_valid): Remove functions. | |
13064 | (frame_chain_valid, do_flush_frames_sfunc): New functions. | |
13065 | (_initialize_blockframe): New function. | |
13066 | * Makefile.in (blockframe.o): Update dependencies. | |
13067 | * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME | |
13068 | comment. Call frame_chain_valid (). | |
13069 | * frame.h: Remove old prototypes. Add prototype for | |
13070 | frame_chain_valid and update comments to match. | |
13071 | * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. | |
13072 | Remove old comment. | |
13073 | * gdbarch.h: Regenerated. | |
13074 | * gdbarch.c: Regenerated. | |
13075 | ||
13076 | * alpha-tdep.c (alpha_gdbarch_init): Don't call | |
13077 | set_gdbarch_frame_chain_valid. | |
13078 | * avr-tdep.c (avr_gdbarch_init): Likewise. | |
13079 | * cris-tdep.c (cris_gdbarch_init): Likewise. | |
13080 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
13081 | * h8300-tdep.c (h8300_gdbarch_init): Likewise. | |
13082 | * i386-tdep.c (i386_svr4_init_abi): Likewise. | |
13083 | (i386_nw_init_abi): Likewise. | |
13084 | (i386_gdbarch_init): Likewise. | |
13085 | * ia64-tdep.c (ia64_gdbarch_init): Likewise. | |
13086 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
13087 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
13088 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
13089 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
13090 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
13091 | * ns32k-tdep.c (ns32k_gdbarch_init): Likewise. | |
13092 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise. | |
13093 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
13094 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
13095 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
13096 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
13097 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
13098 | * vax-tdep.c (vax_gdbarch_init): Likewise. | |
13099 | * x86-64-tdep.c (x86_64_init_abi): Likewise. | |
13100 | ||
13101 | * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define. | |
13102 | * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise. | |
13103 | * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise. | |
13104 | * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise. | |
13105 | * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise. | |
13106 | * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise. | |
13107 | * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise. | |
13108 | * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise. | |
13109 | ||
b00a8037 DJ |
13110 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
13111 | ||
13112 | * Makefile.in (acconfig_h): Remove incorrect macro. | |
13113 | (config_h): Define. | |
13114 | (osabi.o): Update dependencies. | |
13115 | * configure.tgt: Set gdb_osabi based on target triplet. | |
13116 | * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. | |
13117 | * configure: Regenerated. | |
13118 | * config.in: Regenerated. | |
13119 | * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". | |
13120 | (GDB_OSABI_DEFAULT): Define if not already defined. | |
13121 | (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) | |
13122 | (set_osabi_string): New variables. | |
13123 | (gdbarch_register_osabi): Add new OS ABI to | |
13124 | gdb_osabi_available_names. | |
13125 | (gdbarch_lookup_osabi): Honor specified and default OS ABIs. | |
13126 | (set_osabi, show_osabi): New functions. | |
13127 | (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands. | |
13128 | ||
4be87837 DJ |
13129 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
13130 | ||
13131 | * arch-utils.c (gdbarch_info_init): Set osabi to | |
13132 | GDB_OSABI_UNINITIALIZED. | |
13133 | * gdbarch.sh: Add osabi to struct gdbarch and to struct | |
13134 | gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi | |
13135 | in gdbarch_list_lookup_by_info and in gdbarch_update_p. | |
13136 | * gdbarch.c: Regenerated. | |
13137 | * gdbarch.h: Regenerated. | |
13138 | * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if | |
13139 | there's no BFD. | |
13140 | (gdbarch_init_osabi): Remove osabi argument; use info.osabi. | |
13141 | * osabi.h (enum gdb_osabi): Move to defs.h. | |
13142 | (gdbarch_init_osabi): Update prototype. | |
13143 | * defs.h (enum gdb_osabi): Moved here. | |
13144 | * Makefile.in: Update dependencies. | |
13145 | ||
13146 | * alpha-tdep.h: Don't include "osabi.h". | |
13147 | (struct gdbarch_tdep): Remove osabi member. | |
13148 | * alpha-tdep.c: Include "osabi.h". | |
13149 | (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
13150 | iterate over arches. Update call to gdbarch_init_osabi. | |
13151 | (alpha_dump_tdep): Don't dump osabi. | |
13152 | * alpha-linux-tdep.c: Include "osabi.h". | |
13153 | * alpha-osf1-tdep.c: Include "osabi.h". | |
13154 | * alphafbsd-tdep.c: Include "osabi.h". | |
13155 | * alphanbsd-tdep.c: Include "osabi.h". | |
13156 | ||
13157 | * arm-tdep.h: Don't include "osabi.h". | |
13158 | (struct gdbarch_tdep): Remove osabi member. | |
13159 | * arm-tdep.c: Include "osabi.h". | |
13160 | (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
13161 | iterate over arches. Update call to gdbarch_init_osabi. | |
13162 | (arm_dump_tdep): Don't dump osabi. | |
13163 | * arm-linux-tdep.c: Include "osabi.h". | |
13164 | * armnbsd-tdep.c: Include "osabi.h". | |
13165 | ||
13166 | * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi. | |
13167 | Update call to gdbarch_init_osabi. | |
13168 | ||
13169 | * i386-tdep.h: Don't include "osabi.h". | |
13170 | (struct gdbarch_tdep): Remove osabi member. | |
13171 | * i386-tdep.c: Include "osabi.h". | |
13172 | (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
13173 | iterate over arches. Update call to gdbarch_init_osabi. | |
13174 | (i386_dump_tdep): Don't dump osabi. | |
13175 | * i386-linux-tdep.c: Include "osabi.h". | |
13176 | * i386-sol2-tdep.c: Include "osabi.h". | |
13177 | * i386bsd-tdep.c: Include "osabi.h". | |
13178 | * i386gnu-tdep.c: Include "osabi.h". | |
13179 | * i386ly-tdep.c: Include "osabi.h". | |
13180 | * i386nbsd-tdep.c: Include "osabi.h". | |
13181 | * i386obsd-tdep.c: Include "osabi.h". | |
13182 | ||
13183 | * mips-tdep.c (struct gdbarch_tdep): Remove osabi member. | |
13184 | (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
13185 | check osabi when iterating over arches. Update call to | |
13186 | gdbarch_init_osabi. | |
13187 | (mips_dump_tdep): Don't dump osabi. | |
13188 | ||
13189 | * ns32k-tdep.h: Don't include "osabi.h". | |
13190 | (struct gdbarch_tdep): Remove. | |
13191 | * ns32k-tdep.c (ns32k_gdbarch_init): Don't call | |
13192 | gdbarch_lookup_osabi. Don't iterate over arches. Don't | |
13193 | allocate tdep. Update call to gdbarch_init_osabi. | |
13194 | (ns32k_dump_tdep): Remove. | |
13195 | (_initialize_ns32k_tdep): Update call to gdbarch_register. | |
13196 | * ns32knbsd-tdep.c: Include "osabi.h". | |
13197 | ||
13198 | * ppc-tdep.h: Don't include "osabi.h". | |
13199 | (struct gdbarch_tdep): Remove osabi member. | |
13200 | * rs6000-tdep.c: Include "osabi.h". | |
13201 | (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check | |
13202 | osabi when iterating over arches. Update call to | |
13203 | gdbarch_init_osabi. | |
13204 | (rs6000_dump_tdep): Don't dump osabi. | |
13205 | * ppc-linux-tdep.c: Include "osabi.h". | |
13206 | * ppcnbsd-tdep.c: Include "osabi.h". | |
13207 | ||
13208 | * sh-tdep.h: Don't include "osabi.h". | |
13209 | (struct gdbarch_tdep): Remove osabi member. | |
13210 | * sh-tdep.c: Include "osabi.h". | |
13211 | (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
13212 | iterate over arches. Update call to gdbarch_init_osabi. | |
13213 | (sh_dump_tdep): Don't dump osabi. | |
13214 | * shnbsd-tdep.c: Include "osabi.h". | |
13215 | ||
13216 | * sparc-tdep.c: Include "osabi.h". | |
13217 | (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
13218 | iterate over arches. Update call to gdbarch_init_osabi. | |
13219 | (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the | |
13220 | tdep structure. | |
13221 | ||
13222 | * vax-tdep.h: Don't include "osabi.h". | |
13223 | (struct gdbarch_tdep): Remove. | |
13224 | * vax-tdep.c: Include "osabi.h". | |
13225 | (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
13226 | iterate over arches. Don't allocate tdep. Update call | |
13227 | to gdbarch_init_osabi. | |
13228 | (vax_dump_tdep): Remove. | |
13229 | (_initialize_vax_tdep): Update call to gdbarch_register. | |
13230 | ||
a881cf8e DJ |
13231 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
13232 | ||
13233 | * breakpoint.c (insert_breakpoints): Skip disabled breakpoints | |
13234 | entirely. | |
13235 | (breakpoint_re_set_one): Don't fetch the value for a disabled | |
13236 | watchpoint. | |
13237 | ||
1e698235 DJ |
13238 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
13239 | ||
13240 | * buildsym.h (processing_hp_compilation): Remove obsolete variable. | |
13241 | * gdbarch.sh Remove include of "value.h" in gdbarch.h. | |
13242 | (COERCE_FLOAT_TO_DOUBLE): Remove. | |
13243 | * gdbarch.c: Regenerate. | |
13244 | * gdbarch.h: Regenerate. | |
13245 | * Makefile.in: Remove value_h from gdbarch_h. | |
13246 | * valops.c (coerce_float_to_double): New variable. | |
13247 | (default_coerce_float_to_double): Remove. | |
13248 | (standard_coerce_float_to_double): Remove. | |
13249 | (value_arg_coerce): Use coerce_float_to_double. | |
13250 | (_initialize_valops): Add "set coerce-float-to-double". | |
13251 | * value.h (default_coerce_float_to_double): Remove prototype. | |
13252 | (standard_coerce_float_to_double): Remove prototype. | |
13253 | ||
13254 | * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as | |
13255 | prototyped. | |
13256 | * mdebugread.c (parse_symbol): Likewise. | |
13257 | * stabsread.c (define_symbol): Mark all functions as prototyped. | |
13258 | ||
13259 | * hppa-tdep.c (hppa_coerce_float_to_double): Remove. | |
13260 | * alpha-tdep.c (alpha_gdbarch_init): Remove call to | |
13261 | set_gdbarch_coerce_float_to_double. | |
13262 | * arm-tdep.c (arm_gdbarch_init): Likewise. | |
13263 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
13264 | * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). | |
13265 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
13266 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
13267 | (mips_coerce_float_to_double): Remove. | |
13268 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
13269 | (rs6000_coerce_float_to_double): Remove. | |
13270 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
13271 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
13272 | (sh_coerce_float_to_double): Remove. | |
13273 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
13274 | (sparc_coerce_float_to_double): Remove. | |
13275 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
13276 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
13277 | * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
13278 | * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. | |
13279 | (hppa_coerce_float_to_double): Remove prototype. | |
13280 | * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
13281 | ||
f436a26a DJ |
13282 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
13283 | ||
13284 | * regformats/reg-m68k.dat: Remove fpcode and fpflags. | |
13285 | ||
248f8055 DJ |
13286 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
13287 | ||
13288 | Suggested by Stewart Brown <[email protected]>: | |
13289 | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show | |
13290 | in recursive calls. Handle TYPE_CODE_TYPEDEF. | |
13291 | (c_type_print_varspec_suffix): Likewise. | |
13292 | ||
72cfdc76 MK |
13293 | 2003-01-04 Mark Kettenis <[email protected]> |
13294 | ||
bfd260bb MK |
13295 | * configure.in: Don't set and AC_SUBST SUBDIRS. |
13296 | * configure: Regenerated. | |
13297 | ||
72cfdc76 MK |
13298 | * configure.in: Remove code dealing with shared libraries. |
13299 | * Makefile.in: Remove HLDFLAGS and HLDENV. | |
13300 | * configure: Regenerated. | |
13301 | ||
c8b8a898 AC |
13302 | 2003-01-04 Andrew Cagney <[email protected]> |
13303 | ||
13304 | * frame.c (deprecated_frame_xmalloc): New function. | |
13305 | (deprecated_set_frame_saved_regs_hack): New function. | |
13306 | (deprecated_set_frame_extra_info_hack): New function. | |
13307 | * frame.h (deprecated_frame_xmalloc): Declare. | |
13308 | (deprecated_set_frame_saved_regs_hack): Declare. | |
13309 | (deprecated_set_frame_extra_info_hack): Declare. | |
13310 | ||
14abd0fb MK |
13311 | 2003-01-04 Mark Kettenis <[email protected]> |
13312 | ||
8ee53726 MK |
13313 | * configure.in: Move code that provides the --enable-gdbtk option |
13314 | right after the code that handles the --enable-tui option, and | |
13315 | polish it somewhat. | |
13316 | * configure: Regenerated. | |
13317 | ||
14abd0fb MK |
13318 | * configure.in: Call AC_GNU_SOURCE. Check for pread64 using |
13319 | AC_CHECK_FUNCS and remove the old check for pread64. | |
13320 | * acinclude.m4 (AC_GNU_SOURCE): New macro. | |
13321 | * acconfig.h (_GNU_SOURCE): Add. | |
13322 | (HAVE_PREAD64): Remove. | |
13323 | * configure, aclocal.m4, config.in: Regenerated. | |
13324 | ||
b2fb4676 AC |
13325 | 2003-01-03 Andrew Cagney <[email protected]> |
13326 | ||
13327 | * alpha-tdep.c: Use get_frame_saved_regs. | |
13328 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
13329 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
13330 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto. | |
13331 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto. | |
13332 | * vax-tdep.c, xstormy16-tdep.c: Ditto. | |
13333 | ||
8dcde887 MK |
13334 | 2003-01-03 Mark Kettenis <[email protected]> |
13335 | ||
13336 | * configure.in: Remove all use of the SUBDIRS variable; add | |
13337 | directories using the AC_CONFIG_SUBDIRS macro instead. Polish | |
13338 | code providing the --enable-multi-ice option, and move it right in | |
13339 | front of the code that checks whether gdbserver is supported. | |
13340 | Polish that too. | |
13341 | * configure: Regenerated. | |
13342 | * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of | |
13343 | @SUBDIRS@. | |
13344 | ||
8ccd593b AC |
13345 | 2003-01-03 Andrew Cagney <[email protected]> |
13346 | ||
13347 | * alpha-tdep.c: Use deprecated_update_frame_base_hack. | |
13348 | * avr-tdep.c, cris-tdep.c: Ditto. | |
13349 | * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
13350 | * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
8ffd9b1b | 13351 | |
91151a06 MK |
13352 | 2003-01-03 Mark Kettenis <[email protected]> |
13353 | ||
13354 | * configure.in: Remove --enable-netrom option. | |
13355 | * configure: Regenerated. | |
13356 | ||
8fe84d01 MK |
13357 | 2003-01-03 Mark Kettenis <[email protected]> |
13358 | ||
13359 | * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward | |
13360 | declaration for `struct re_pattern_buffer' instead. | |
13361 | * Makefile.in (cli_decode_h): Remove $(gdb_regex_h). | |
13362 | ||
f0394be6 JB |
13363 | 2003-01-03 J. Brobecker <[email protected]> |
13364 | ||
13365 | * mdebugread.c (parse_symbol): Count until the stEnd matching | |
13366 | the structure name. | |
13367 | ||
27e9bf90 MK |
13368 | 2003-01-02 Mark Kettenis <[email protected]> |
13369 | ||
93d331ba MK |
13370 | * configure.in: Remove --with-cpu option. |
13371 | subscripts. Remove evil changequotes here. | |
13372 | * acconfig.h (TARGET_CPU_DEFAULT): Remove. | |
13373 | * config.in, configure: Regenerated. | |
8ffd9b1b | 13374 | |
27e9bf90 MK |
13375 | * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. |
13376 | * configure.in: Cleanup section that sources GDB and BFD configure | |
13377 | subscripts. Remove evil changequotes here. | |
13378 | * config.in, configure: Regenerated. | |
13379 | ||
50abf9e5 AC |
13380 | 2003-01-02 Andrew Cagney <[email protected]> |
13381 | ||
13382 | * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack | |
13383 | frame accessor methods. | |
13384 | * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
13385 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
13386 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. | |
13387 | * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. | |
13388 | * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
13389 | * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
13390 | * z8k-tdep.c: Ditto. | |
8ffd9b1b | 13391 | |
287c1a40 MK |
13392 | 2003-01-02 Mark Kettenis <[email protected]> |
13393 | ||
f5dbc56d MK |
13394 | * configure.in: Remove UI_OUT configuration code. |
13395 | * ada-lang.c: Update assuming UI_OUT is always true. | |
13396 | * Makefile.in (UIOUT_CFLAGS): Remove. | |
13397 | * configure: Regenerated. | |
13398 | * TODO: Remove blurb about elimination of -DUI_OUT. | |
13399 | ||
627af7ea MK |
13400 | * configure.in: Move code that provides the --enable-gdbcli, |
13401 | --enable-gdbmi options right before the code that handles the | |
13402 | --enable-tui option. Polish a bit. | |
13403 | * configure: Regenerated. | |
13404 | ||
06825bd1 MK |
13405 | * configure.in: Rewrite check for GNU regex and the |
13406 | --without-included regex option, and move it into the "Checks for | |
13407 | library functions" section. This makes us use the system regex | |
13408 | again by default on systems with version 2 of the GNU C library. | |
13409 | This was apparently broken. | |
13410 | * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. | |
13411 | * acconfig.h (USE_INCLUDED_REGEX): Remove. | |
13412 | * config.in, configure: Regenerated. | |
13413 | ||
287c1a40 MK |
13414 | * configure.in: Move code that provides the --enable-tui option |
13415 | before the "Checks for libraries" section. Polish the code | |
13416 | somewhat and set need_curses to yes if we build the TUI. Rewrite | |
13417 | code that looks for a library providing termcap functionality to | |
13418 | match more closely what's done in the Readline library, and move | |
13419 | it into to the "Checks for libraries" section. | |
13420 | * configure: Regenerated. | |
13421 | * Makefile.in (TERMCAP): Remove variable. | |
13422 | * config/i386/go32.mh (TERMCAP): Remove variable. | |
13423 | ||
684e56bf AC |
13424 | 2003-01-02 Andrew Cagney <[email protected]> |
13425 | ||
13426 | * MAINTAINERS: Mention gdb_mbuild.sh. | |
13427 | * gdb_mbuild.sh: Rewrite. | |
13428 | ||
e1ea1d75 MK |
13429 | 2003-01-02 Mark Kettenis <[email protected]> |
13430 | ||
13431 | * configure.in: Fix typo in last change. | |
13432 | * config.in, configure: Regenerated. | |
13433 | ||
1b831c93 AC |
13434 | 2003-01-02 Andrew Cagney <[email protected]> |
13435 | ||
13436 | * valarith.c (value_binop): Delete obsolete code and comments. | |
13437 | * configure.host: Ditto. | |
13438 | * buildsym.h (make_blockvector): Ditto. | |
13439 | * buildsym.c (make_blockvector): Ditto. | |
13440 | * defs.h (enum language): Ditto. | |
13441 | (chill_demangle): Ditto. | |
13442 | * elfread.c (elf_symtab_read): Ditto. | |
13443 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
13444 | (set_cu_language): Ditto. | |
13445 | (handle_producer): Ditto. | |
13446 | * expprint.c (print_subexp): Ditto. | |
13447 | * gdbtypes.c (chill_varying_type): Ditto. | |
13448 | * gdbtypes.h (builtin_type_chill_bool): Ditto. | |
13449 | (builtin_type_chill_char, builtin_type_chill_long): Ditto. | |
13450 | (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. | |
13451 | (chill_varying_type): Ditto. | |
13452 | * language.h (_LANG_chill): Ditto. | |
13453 | * language.c (binop_result_type, integral_type): Ditto. | |
13454 | (character_type, string_type, structured_type): Ditto. | |
13455 | (lang_bool_type, binop_type_check): Ditto. | |
13456 | * stabsread.h (os9k_stabs): Ditto. | |
13457 | * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. | |
13458 | (define_symbol, read_type, read_struct_fields): Ditto. | |
13459 | (read_array_type, read_enum_type, read_huge_number): Ditto. | |
13460 | (read_range_type, start_stabs): Ditto. | |
13461 | * symfile.c (init_filename_language_table): Ditto. | |
13462 | (add_psymbol_with_dem_name_to_list): Ditto. | |
13463 | * symtab.c (symbol_init_language_specific): Ditto. | |
13464 | (symbol_init_demangled_name, symbol_demangled_name): Ditto. | |
13465 | * symtab.h (struct general_symbol_info): Ditto. | |
13466 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
13467 | * typeprint.c (typedef_print): Ditto. | |
13468 | * utils.c (fprintf_symbol_filtered): Ditto. | |
13469 | * valops.c (value_cast, search_struct_field, value_slice): Delete | |
13470 | obsolete code. | |
13471 | (varying_to_slice): Delete function. | |
13472 | * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. | |
13473 | (varying_to_slice): Delete declaration. | |
13474 | * MAINTAINERS: Update. | |
13475 | ||
8bb2c122 MK |
13476 | 2003-01-02 Mark Kettenis <[email protected]> |
13477 | ||
97bf5e38 MK |
13478 | * configure.in: Reorganize "Checks for library functions section" |
13479 | a bit. Remove check for `btowc' and `isascii' functions. | |
13480 | * configure: Regenerated. | |
13481 | ||
5ee754fc MK |
13482 | * acconfig.h (_MSE_INT_H): Remove. |
13483 | * configure.in: Create "Checks for header files" section, and move | |
13484 | appropriate tests there. Don't check for objlist.h, wchar.h, | |
13485 | wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> | |
13486 | misdetection fix. Also add "Checks for types", "Checks for | |
13487 | compiler characteristics" and "Checks for library functions" | |
13488 | sections. | |
13489 | * config.in, configure: Regenerated. | |
13490 | ||
8bb2c122 MK |
13491 | * configure.in: Create "Checks for programs" section, and move |
13492 | appropriate tests there. | |
13493 | ||
9a156167 MK |
13494 | 2003-01-01 Mark Kettenis <[email protected]> |
13495 | ||
13496 | * configure.in: Create "Checks for libraries" section, and move | |
13497 | appropriate tests there. Cleanup check for wctype in libw. Use | |
13498 | AC_SEARCH_LIBS to see whether we need libsocket. | |
13499 | * configure: Regenerated. | |
13500 | ||
a80e2bcb | 13501 | For older changes see ChangeLog-2002 |
c906108c SS |
13502 | \f |
13503 | Local Variables: | |
13504 | mode: change-log | |
13505 | left-margin: 8 | |
13506 | fill-column: 74 | |
13507 | version-control: never | |
13508 | End: |