]>
Commit | Line | Data |
---|---|---|
60fac5b8 MK |
1 | 2003-08-29 Mark Kettenis <[email protected]> |
2 | ||
3 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define. | |
4 | * x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h". | |
5 | Change "register array" to "register cache" in comments. | |
6 | (x86_64_linux_gregset64_reg_offset): New variable. | |
7 | (GETREGS_SUPPLIES): Remove macro. | |
8 | (supply_gregset): Call amd64_supply_native_gregset instead of | |
9 | x86_64_linux_supply_gregset. | |
10 | (fill_gregset): Rename `regno' to `regnum'. Call | |
11 | amd64_collect_native_gregset instead of x86_64_linux_fill_gregset. | |
12 | (store_regs): Rename `regno' to `regnum'. | |
13 | (store_fpregs): Rename `regno' to `regnum'. | |
14 | (fetch_inferior_registers): Rename `regno' to `regnum'. Use | |
15 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
16 | Reorganize function a bit. | |
17 | (store_inferior_registers): Rename `regno' to `regnum'. Use | |
18 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
19 | Reorganize function a bit. | |
20 | (_initialize_x86_64_linux_nat): New function. | |
21 | * config/i386/x86-64linux.mh. | |
22 | ||
546143b6 AC |
23 | 2003-08-29 Andrew Cagney <[email protected]> |
24 | ||
25 | * config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro. | |
26 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro. | |
27 | (target_remove_watchpoint): Delete macro. | |
28 | (target_insert_watchpoint): Delete macro. | |
29 | (remote_mips_can_use_hardware_watchpoint): Delete declaration. | |
30 | (remote_mips_stopped_by_watchpoint): Delete declaration. | |
31 | (remote_mips_remove_watchpoint): Delete declaration. | |
32 | (remote_mips_set_watchpoint): Delete declaration. | |
33 | (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro. | |
34 | * remote-mips.c (_initialize_remote_mips): Set | |
35 | "to_insert_watchpoint", "to_stopped_by_watchpoint", | |
36 | "to_can_use_hardware_watchpoint", and "to_remove_watchpoint". | |
37 | (mips_insert_watchpoint): Rename remote_mips_set_watchpoint. | |
38 | (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint. | |
39 | (mips_stopped_by_watchpoint): Rename | |
40 | remote_mips_stopped_by_watchpoint. | |
41 | (mips_can_hardware_watchpoint): Rename | |
42 | remote_mips_can_use_hardware_watchpoint, update function | |
43 | signature. | |
44 | ||
7bace51b MK |
45 | 2003-08-29 Mark Kettenis <[email protected]> |
46 | ||
b0f5c6f2 MK |
47 | * x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and |
48 | USER_DS. We haven't given them a register number yet. | |
49 | ||
2a6d284d MK |
50 | * amd64-nat.h: New file. |
51 | * amd64-nat.c: New file. | |
52 | * amd64fbsd-nat.c: Include "amd64-nat.h". | |
53 | (REG_ADDR, GETREGS_SUPPLIES): Remove macros. | |
54 | (amd64fbsd32_r_reg_offset): New variable. | |
55 | (supply_gregset): Simply call amd64_supply_native_gregset. | |
56 | (fill_gregset): Rename `regno' to `regnum'. Simply call | |
57 | amd64_collect_native_gregset. | |
58 | (fill_fpregset): Rename `regno' to `regnum'. | |
59 | (fetch_inferior_registers): Rename `regno' to `regnum'. Replace | |
60 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
61 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
62 | `fpregset_t'. Call amd64_supply_native_gregset instead of | |
63 | supply_gregset. Call x86_64_supply_fxsave instead of | |
64 | supply_fpregset. | |
65 | (store_inferior_registers): Rename `regno' to `regnum'. Replace | |
66 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
67 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
68 | `fpregset_t'. Call amd64_collect_native_gregset instead of | |
69 | fill_gregset. Call x86_64_collect_fxsave instead of | |
70 | fill_fpregset. | |
71 | (_initialize_am64fbsd_nat): Initialize | |
72 | amd64_native_gregset32_reg_offset and | |
73 | amd64_native_gregset64_reg_offset. | |
74 | * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o. | |
75 | ||
a16d75cc MK |
76 | * regcache.c (regcache_raw_supply): Don't assert that BUF isn't a |
77 | null pointer. Fix typo in comment. | |
78 | ||
7bace51b MK |
79 | * regcache.c (supply_register): Reimplement to call |
80 | regcache_raw_supply. | |
81 | (regcache_collect): Reimplement by calling regcache_raw_collect. | |
82 | ||
9a661b68 MK |
83 | 2003-08-28 Mark Kettenis <[email protected]> |
84 | ||
85 | * regcache.c (register_buffer): Consitify first argument. | |
86 | (regcache_raw_supply, regcache_raw_collect): New | |
87 | functions. | |
88 | ||
e94cc8fa DJ |
89 | 2003-08-28 Daniel Jacobowitz <[email protected]> |
90 | ||
91 | * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. Suggested | |
92 | by Nathan J. Williams. | |
93 | ||
c64bd0ce DJ |
94 | 2003-08-28 Daniel Jacobowitz <[email protected]> |
95 | ||
96 | * lin-lwp.c (wait_lwp): New function, copied from | |
97 | stop_wait_callback. Clean up. | |
98 | (stop_wait_callback): Use wait_lwp. | |
99 | ||
e5ab0dce AC |
100 | 2003-08-28 Andrew Cagney <[email protected]> |
101 | ||
102 | * mips-tdep.c (gdb_print_insn_mips): Set the disassembler's | |
103 | flavour and disassembler options. | |
104 | (_initialize_mips_tdep): Do not set deprecated_tm_print_insn. | |
105 | (mips_gdbarch_init): Set "print_insn". Delete initialization of | |
106 | deprecated_tm_print_insn_info. | |
107 | ||
a788de9b AC |
108 | 2003-08-27 Andrew Cagney <[email protected]> |
109 | ||
110 | * s390-tdep.c (s390_readinstruction): Delete "info" parameter. | |
111 | Use target_read_memory. | |
112 | (s390_get_frame_info): Update. Do not reference | |
113 | deprecated_tm_print_insn_info. | |
114 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
115 | ||
36482093 AC |
116 | 2003-08-27 Andrew Cagney <[email protected]> |
117 | ||
118 | * Makefile.in (cris-tdep.o): Update dependencies. | |
119 | * cris-tdep.c: Include "gdb_assert.h". | |
120 | (cris_gdbarch_init): Set print_insn. | |
121 | (_initialize_cris_tdep): Do not set deprecated_tm_print_insn. | |
122 | (cris_delayed_get_disassembler): Simplify, directly call the | |
123 | disassembler returned by cris_get_disassembler. | |
124 | * hppa-tdep.c (hppa_gdbarch_init): Set print_insn. | |
125 | (_initialize_hppa_tdep): Do not set deprecated_tm_print_insn. | |
126 | * ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn. | |
127 | (_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn. | |
128 | * mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn. | |
129 | (_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn. | |
130 | * mcore-tdep.c (mcore_gdbarch_init): Set print_insn. | |
131 | (_initialize_mcore_tdep): Do not set deprecated_tm_print_insn. | |
132 | * frv-tdep.c (frv_gdbarch_init): Set print_insn. | |
133 | (_initialize_frv_tdep): Do not set deprecated_tm_print_insn. | |
134 | * sparc-tdep.c (sparc_gdbarch_init): Set print_insn. | |
135 | (gdb_print_insn_sparc): Delete function. | |
136 | (_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or | |
137 | deprecated_tm_print_insn_info. | |
138 | * v850-tdep.c (v850_gdbarch_init): Set print_insn. | |
139 | (_initialize_v850_tdep): Do not set deprecated_tm_print_insn. | |
140 | (v850_gdbarch_init): Do not set deprecated_tm_print_insn_info. | |
141 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn. | |
142 | (_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn. | |
143 | * s390-tdep.c (gdb_print_insn_s390): Delete function. | |
144 | (_initialize_s390_tdep): Do not set deprecated_tm_print_insn. | |
145 | (s390_gdbarch_init): Set print_insn. | |
146 | ||
0285512f AC |
147 | 2003-08-27 Andrew Cagney <[email protected]> |
148 | ||
149 | * ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function. | |
150 | (ppc_linux_init_abi): For PPC64, do not set call_dummy_address. | |
151 | * infcall.c (call_function_by_hand): Convert the entry point | |
152 | address into a code address. | |
153 | ||
cdcd5552 AC |
154 | 2003-08-27 Andrew Cagney <[email protected]> |
155 | ||
156 | * dsrec.c: Include "gdb_string.h". | |
157 | * Makefile.in (dsrec.o): Update dependencies. | |
158 | ||
e85cddad MC |
159 | 2003-08-27 Michael Chastain <[email protected]> |
160 | ||
161 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*. | |
162 | ||
8bbfbb23 AC |
163 | 2003-08-27 Andrew Cagney <[email protected]> |
164 | ||
165 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function. | |
166 | (alpha_osf1_init_abi): Do not set call_dummy_address. | |
167 | ||
ba058b66 DC |
168 | 2003-08-27 David Carlton <[email protected]> |
169 | ||
170 | From Randolph Chung <[email protected]>: | |
171 | * linux-proc.c (linux_info_proc_cmd): rework the code so that it | |
172 | compiles with -Wformat-nonliteral -Werror. | |
173 | ||
87f84c9d JB |
174 | 2003-08-26 Jim Blandy <[email protected]> |
175 | ||
176 | * solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument. | |
177 | (enable_break): Pass SEC_CODE as the SECT_FLAGS argument to | |
178 | bfd_lookup_symbol, since we only want symbols in code sections. | |
179 | (look_for_base): Pass zero as the SECT_FLAGS argument to | |
180 | bfd_lookup_symbol, since we're not concerned about which section | |
181 | the symbol is in. | |
182 | ||
102d615a JJ |
183 | 2003-08-26 Jeff Johnston <[email protected]> |
184 | ||
185 | * ia64-tdep.c (examine_prologue): Only stop at predicated insns if | |
186 | we are frameless or the return address register is already known. | |
187 | ||
cc7ad3ea AC |
188 | 2003-08-26 Andrew Cagney <[email protected]> |
189 | ||
190 | * i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s | |
191 | in size. Add comments. | |
192 | ||
af8b88dd JJ |
193 | 2003-08-26 Jeff Johnston <[email protected]> |
194 | ||
195 | * ia64-tdep.c (ia64_convert_from_func_addr): New function. | |
196 | (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr(). | |
197 | ||
e0a4f5a1 JM |
198 | 2003-08-26 Jason Merrill <[email protected]> |
199 | ||
200 | * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name | |
201 | case out of #ifdef MIPS block. | |
202 | ||
4ae9ee8e DJ |
203 | 2003-08-25 Daniel Jacobowitz <[email protected]> |
204 | ||
205 | PR java/1322 | |
206 | * dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are | |
207 | available before calling SECT_OFF_TEXT. | |
3c164570 | 208 | * PROBLEMS: Remove description of java/1322. |
4ae9ee8e | 209 | |
004d836a JJ |
210 | 2003-08-25 Jeff Johnston <[email protected]> |
211 | ||
212 | * ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63, | |
213 | bof, and nat0-nat127 as pseudo-registers. | |
214 | (ia64_frame_cache): New struct used to cache frame info. | |
215 | (ia64_register_reggroup_p): New routine used to override default | |
216 | register grouping so registers without names are still saved and | |
217 | restored. | |
218 | (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their | |
219 | pseudo values. | |
220 | (ia64_pseudo_register_read): New routine to read pseudo-registers. | |
221 | (ia64_pseudo_register_write): New routine to write pseudo-registers. | |
222 | (ia64_alloc_frame_cache): New routine to create a new | |
223 | ia64_frame_cache. | |
224 | (examine_prologue): Change prototype to add next_frame pointer. | |
225 | Assume frameless until otherwise proven. Verify that the cfm for | |
226 | current frame matches the cfm that should occur for the prologues | |
227 | alloc insn and if equal, mark as not frameless. At end of routine, | |
228 | if not frameless, calculate registers for the previous frame and store | |
229 | in the cache, if a cache is provided. | |
230 | (ia64_skip_prologue): Use new prototype when calling examine_prologue | |
231 | and pass 0 for next_frame. | |
232 | (ia64_store_return_value): Change to use convert_typed_floating() | |
233 | instead of calling ia64_convert_to_raw(). | |
234 | (ia64_extract_return_value): Change to use convert_typed_floating() | |
235 | instead of calling ia64_convert_to_virtual(). | |
236 | (ia64_frame_cache): New routine to support new frame model. | |
237 | (ia64_frame_this_id, ia64_frame_prev_register): Ditto. | |
238 | (ia64_frame_sniffer): Ditto. | |
239 | (ia64_sigtramp_frame_init_saved_regs): Ditto. | |
240 | (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto. | |
241 | (ia64_sigtramp_frame_prev_register): Ditto. | |
242 | (ia64_sigtramp_frame_sniffer): Ditto. | |
243 | (ia64_frame_base_address): Ditto. | |
244 | (ia64_extract_struct_value_address): Change to issue error message. | |
245 | (ia64_frame_align): New routine to align sp. | |
246 | (ia64_push_dummy_call): New routine based on ia64_push_arguments(). | |
247 | (ia64_push_arguments): Removed. Logic moved to | |
248 | ia64_push_dummy_call(). | |
249 | (ia64_push_return_address): Ditto. | |
250 | (ia64_unwind_dummy_id): New function. | |
251 | (ia64_unwind_pc): Ditto. | |
252 | (ia64_convert_register_p): Ditto. | |
253 | (ia64_register_to_value): Ditto. | |
254 | (ia64_value_to_register): Ditto. | |
255 | (ia64_pop_frame, ia64_pop_frame_regular): Removed. | |
256 | (ia64_register_byte, ia64_register_raw_size): Ditto. | |
257 | (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto. | |
258 | (ia64_saved_pc_after_call): Ditto. | |
259 | (ia64_frame_chain, ia64_frame_saved_pc): Ditto. | |
260 | (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto. | |
261 | (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto. | |
262 | (ia64_register_convert_to_raw): Ditto. | |
263 | (ia64_store_struct_return, ia64_call_dummy_words): Ditto. | |
264 | (ia64_init_extra_frame_info): Ditto. | |
265 | (ia64_frame_args_address, ia64_frame_locals_address): Ditto. | |
266 | (ia64_gdbarch_init): Remove registering of deprecated functions that | |
267 | are no longer used. Add registration of new gdbarch functions. | |
268 | Remove registering deprecated_write_sp. Replace | |
269 | set_gdbarch_register_virtual_type() with set_gdbarch_register_type(). | |
270 | Delete set_gdbarch_deprecated_register_convertible(), | |
271 | set_gdbarch_deprecated_register_convert_to_virtual(), and | |
272 | set_gdbarch_deprecated_register_convert_to_raw() calls. Remove | |
273 | set_gdbarch_deprecated_register_size(), | |
274 | set_gdbarch_deprecated_register_bytes(), | |
275 | set_gdbarch_pcregnum(), | |
276 | set_gdbarch_deprecated_register_byte(), | |
277 | set_gdbarch_deprecated_register_raw_size(), | |
278 | set_gdbarch_deprecated_max_register_raw_size(), | |
279 | set_gdbarch_deprecated_register_virtual_size(), | |
280 | and set_gdbarch_deprecated_max_register_virtual_size() calls. | |
281 | Replace set_gdbarch_deprecated_extract_return_value() with | |
282 | set_gdbarch_extract_return_value(). Remove calls to: | |
283 | set_gdbarch_deprecated_saved_pc_after_call(); | |
284 | set_gdbarch_deprecated_frame_chain(), | |
285 | set_gdbarch_deprecated_frame_saved_pc(), | |
286 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
287 | set_gdbarch_deprecated_get_saved_register(), | |
288 | set_gdbarch_deprecated_call_dummy_words(), | |
289 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
290 | set_gdbarch_deprecated_init_extra_frame_info(), | |
291 | set_gdbarch_deprecated_frame_args_address(), | |
292 | set_gdbarch_deprecated_frame_locals_address(), | |
293 | and set_gdbarch_deprecated_dummy_write_sp(). | |
294 | Add set_gdbarch_convert_register_p(), | |
295 | set_gdbarch_register_to_value(), | |
296 | set_gdbarch_value_to_register(), | |
297 | set_gdbarch_push_dummy_call(), | |
298 | set_gdbarch_frame_align(), | |
299 | set_gdbarch_unwind_dummy_id(), | |
300 | set_gdbarch_unwind_pc(), | |
301 | frame_unwind_append_sniffer(), | |
302 | frame_unwind_append_sniffer(), | |
303 | and frame_base_set_default(). | |
304 | ||
aede7613 CD |
305 | 2003-08-25 Chris Demetriou <[email protected]> |
306 | ||
307 | * configure.tgt: Document need for special "mipsisa64" handling. | |
308 | (mipsisa64*-*-linux64): Handle as target linux64. | |
309 | (mipsisa64*-*-*): Handle as target embed64. | |
310 | ||
43c3a82e MC |
311 | 2003-08-18 Michael Chastain <[email protected]> |
312 | ||
313 | * PROBLEMS: Document pr gdb/1322, the Java anonymous | |
314 | objfile bug. | |
315 | ||
6564f77d MK |
316 | 2003-08-24 Mark Kettenis <[email protected]> |
317 | ||
2de139ba MK |
318 | * i387-tdep.h: Update copyright date. |
319 | (I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines. | |
320 | ||
6564f77d MK |
321 | * linux-proc.c (linux_proc_xfer_memory): Remove comment about |
322 | CFLAGS games to reflect reality. | |
323 | ||
42cf1509 AC |
324 | 2003-08-24 Andrew Cagney <[email protected]> |
325 | ||
326 | * arm-tdep.c (_initialize_arm_tdep): Simplify by assuming | |
327 | GDB_MULTI_ARCH is always non-zero. | |
328 | * osabi.c (_initialize_gdb_osabi): Ditto. | |
329 | (gdbarch_init_osabi): Ditto. | |
330 | * sparc-tdep.c: Ditto for #if code. | |
331 | ||
0485f6ad MK |
332 | 2003-08-23 Mark Kettenis <[email protected]> |
333 | ||
334 | * x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument. | |
335 | Update comments. | |
336 | * x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype. Update | |
337 | comments. | |
338 | * x86-64-linux-tdep.c (fetch_core_registers): Adjust call to | |
339 | x86_64_supply_fxsave. | |
340 | * x86-64-linux-nat.c (supply_fpregset): Adjust call to | |
341 | x86_64_supply_fxsave. | |
342 | * amd64fbsd-nat.c (supply_fpregset): Adjust call to | |
343 | x86_64_supply_fxsave. | |
344 | ||
c7716133 AJ |
345 | 2003-08-23 Andreas Jaeger <[email protected]> |
346 | ||
347 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to | |
348 | i387_supply_fxsave. | |
349 | ||
ed504bdf MK |
350 | 2003-08-23 Mark Kettenis <[email protected]> |
351 | ||
352 | * go32-nat.c (fetch_register): Call i387_supply_fsave instead of | |
353 | i387_supply_register. | |
354 | (go32_fetch_registers): Adjust call to i387_supply_fsave. | |
355 | * i386nbsd-tdep.c (fetch_core_registers): Adjust call to | |
356 | i387_supply_fsave. | |
357 | (fetch_elfcore_registers): Adjust call to i387_supply_fsave and | |
358 | i387_supply_fxsave. | |
359 | * i386obsd-tdep.c (fetch_core_registers): Adjust call to | |
360 | i387_supply_fsave. | |
361 | * i386bsd-nat.c (supply_fpregset): Adjust call to | |
362 | i387_supply_fsave. | |
363 | (fetch_inferior_registers): Remove extraneous whitespace. Adjust | |
364 | call to i387_supply_fxsave. Call i387_supply_fsave instead of | |
365 | supply_fpregset. | |
366 | (store_inferior_registers): Remove extraneous whitespace. Call | |
367 | i387_fill_fsave instead of fill_fpregset. | |
368 | * i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave. | |
369 | (supply_fpregset): Likewise. | |
370 | * i386v4-nat.c (supply_fpregset): Adjust call to | |
371 | i387_supply_fsave. | |
372 | * i386-interix-nat.c (supply_fpregset): Adjust call to | |
373 | i387_supply_fsave. | |
374 | * i386-linux-nat.c (supply_fpregset): Adjust call to | |
375 | i387_supply_fsave. | |
376 | (supply_fpxregset): Adjust call to i387_adjust_fxsave. | |
377 | * i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to | |
378 | i387supply_fsave and i387_supply_fxsave. | |
379 | * i387-tdep.c (i387_supply_fsave): Add `regnum' argument. | |
380 | Incorporate code from `i387_supply_register. | |
381 | (i387_supply_register): Remove. | |
382 | (i387_supply_fxsave): Add `regnum' argument. | |
383 | Update comments. | |
384 | * i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust | |
385 | prototype. | |
386 | (i387_supply_register): remove prototype. | |
387 | Update comments. | |
388 | ||
4be5d520 MC |
389 | 2003-08-22 Michael Chastain <[email protected]> |
390 | ||
391 | * config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*. | |
392 | Add lines for files in gdb/testsuite/gdb.cp/* that are | |
393 | still not 8.3 unique. | |
394 | ||
7ed85d26 DJ |
395 | 2003-08-22 Daniel Jacobowitz <[email protected]> |
396 | ||
397 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether | |
398 | TYPE_VPTR_FIELDNO is valid. | |
399 | ||
eb0d3137 MK |
400 | 2003-08-19 Mark Kettenis <[email protected]> |
401 | ||
402 | * utils.c (set_width_command): Remove prototypes. | |
403 | (set_screen_size): New prototype. | |
404 | (init_page_info): Simplify by fetching the screen size from | |
405 | Readline. Call set_screen_size. | |
406 | (set_screen_size): New function. | |
407 | (set_width): Add missing whitespace in comment. | |
408 | (set_width_command): Call set_screen_size. | |
409 | (set_height_command): New function. | |
410 | (initialize_utils): Fix formatting. Make "set height" command | |
411 | call set_height_command. Remove redundant code that turns off | |
412 | pagination if output isn't a terminal. Remove redundant call to | |
413 | set_width_command. | |
414 | ||
7e6d0ac8 MK |
415 | 2003-08-22 Mark Kettenis <[email protected]> |
416 | ||
3567a8ea MK |
417 | * sparc64-tdep.h (sparc64_regnum): Fix comment. |
418 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes. | |
419 | (sparc_supply_rwindow, sparc_fill_rwindow): New prototypes. | |
420 | * sparc64-tdep.c (sparc64_pseudo_register_read): Add missing | |
421 | `case' keyword. | |
422 | (sparc64_register_info): Give the reister with number | |
423 | SPARC64_STATE_REGNUM a name. | |
424 | (sparc64_pseudo_register_write): Add support for %cwp, %pstate, | |
425 | %asi and %ccr. | |
426 | (sparc64_push_dummy_call): Take BIAS into account when checking | |
427 | stcak alignment. | |
428 | (sparc_software_single_step): Remove assertions that check whether | |
429 | NPC and NNPC were zero. | |
430 | (sparc_supply_rwindow): Make public. Merge functionality with | |
431 | sparc64_supply_rwindow. | |
432 | (sparc_fill_rwindow): Make public. Merge functionality with | |
433 | sparc64_fill_rwindow. | |
434 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove. | |
435 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set | |
436 | SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p. | |
437 | * sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call | |
438 | sparc_supply_rwindow instead of sparc64_supply_rwindow. | |
439 | ||
7e6d0ac8 MK |
440 | * reggroups.c: Add whitespace after declarations of local |
441 | variables in functions. | |
442 | ||
72e5f484 MC |
443 | 2003-08-21 Michael Chastain <[email protected]> |
444 | ||
445 | * gdbtypes.h: Change array bound type from an int to enum. | |
446 | ||
435ac228 AC |
447 | 2003-08-21 Andrew Cagney <[email protected]> |
448 | ||
449 | * config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code. | |
450 | * config/sparc/tm-sparc.h: Ditto. | |
451 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH | |
452 | unconditionally. | |
453 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto. | |
454 | ||
0d0e1a63 MK |
455 | 2003-07-13 Mark Kettenis <[email protected]> |
456 | ||
457 | * objfiles.h (struct objfile): Add memebers `data' and `num_data'. | |
458 | (register_objfile_data, set_objfile_data, objfile_data): New | |
459 | prototypes. | |
460 | * objfiles.c (objfile_alloc_data, objfile_free_data): New | |
461 | prototypes. | |
462 | (allocate_objfile): Call objfile_alloc_data. | |
463 | (free_objfile): Call objfile_free_data. | |
464 | (struct objfile_data): New. | |
465 | (struct objfile_data_registration): New. | |
466 | (struct objfile_data_registry): New. | |
467 | (objfile_data_registry): New variable. | |
468 | (register_objfile_data): New function. | |
469 | (objfile_alloc_data, objfile_free_data): New functions. | |
470 | (set_objfile_data, objfile_data): New functions. | |
471 | * dwarf2-frame.c (dwarf2_frame_data): New variable. | |
472 | (dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism. | |
473 | (_initialize_dwarf2_frame): New function and prototype. | |
474 | ||
d90cf509 AC |
475 | 2003-08-21 Andrew Cagney <[email protected]> |
476 | ||
477 | * sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select | |
478 | a specific architecture. | |
479 | * arch-utils.h (set_architecture_from_arch_mach): Delete | |
480 | declaration. | |
481 | (target_architecture_hook): Delete declaration. | |
482 | * arch-utils.c: Delete non GDB_MULTI_ARCH includes. | |
483 | (default_float_format): Assume GDB_MULTI_ARCH. | |
484 | (default_double_format): Assume GDB_MULTI_ARCH. | |
485 | (set_endian_from_file): Delete function. | |
486 | (arch_ok): Delete function. | |
487 | (set_arch): Delete function. | |
488 | (set_architecture_from_arch_mach): Delete function. | |
489 | (set_architecture_from_file): Delete function. | |
490 | (set_architecture): Assume GDB_MULTI_ARCH. | |
491 | (set_gdbarch_from_file): Assume GDB_MULTI_ARCH. | |
492 | ||
8b39fe56 MK |
493 | 2003-08-21 Mark Kettenis <[email protected]> |
494 | ||
495 | Rewrite FreeBSD/sparc64 native configuration. | |
496 | * sparcbsd-nat.c, sparcbsd-nat.h: New files. | |
497 | * sparc64fbsd-nat.c: New file. | |
498 | * sparc64fbsd-tdep.c: New file. | |
499 | * sparc64-tdep.c sparc64-tdep.h: New files. | |
500 | * Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o, | |
501 | sparc64fbsd-tdep.o): New dependencies. | |
502 | (SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c | |
503 | and sparc64fbsd-tdep.c. | |
504 | (sparc64_tdep_h, sparcbsd_nat_h): New variables. | |
505 | * config/sparc/fbsd.mh: Remove copyright notice. | |
506 | (NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and | |
507 | sparcbsd-nat.o. | |
508 | * config/sparc/fbsd.mt: Remove copyright notice. | |
509 | (TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o, | |
510 | solib-legacy.o. Add sparc64-tdep.o and sparc64fbsd-tdep.o. | |
511 | * config/sparc/nm-fbsd.h: Don't include "elf/common.h". | |
512 | (SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS, | |
513 | PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T, | |
514 | regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu, | |
515 | fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines. | |
516 | * config/sparc/tm-fbsd.h: Don't include "solib.h" and | |
517 | "sparc/tm-sp64.h". | |
518 | (SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines. | |
519 | (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM. | |
520 | ||
a7f19c79 MC |
521 | 2003-08-21 Michael Chastain <[email protected]> |
522 | ||
523 | * symtab.h: Add doco on the space critical structures and | |
524 | some measurements of space usage. | |
525 | ||
da08ea5b MS |
526 | 2003-08-21 Michael Snyder <[email protected]> |
527 | ||
528 | * tracepoint.c (trace_dump_command): Trace break address | |
529 | is subject to DECR_PC_AFTER_BREAK. | |
530 | (set_traceframe_context): Make "trace_line" an int. | |
531 | Fixes suggested by Mark Newman <[email protected]> | |
532 | ||
6df2bf50 MS |
533 | 2003-08-20 Michael Snyder <[email protected]> |
534 | ||
535 | * sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG. | |
536 | * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set | |
537 | FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for | |
538 | argument passing. | |
539 | (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New | |
540 | functions, replace sh_push_dummy_call. | |
541 | (sh_gdbarch_init): Set push_dummy_call to one of new methods. | |
542 | ||
0955bbf0 MC |
543 | 2003-08-20 Michael Chastain <[email protected]> |
544 | ||
545 | * gdbtypes.h (struct main_type): Rearrange to save space. | |
546 | ||
260a4188 MS |
547 | 2003-08-20 Michael Snyder <[email protected]> |
548 | ||
549 | * trad-frame.c: Comment typo fix. | |
550 | ||
8baa6f92 KB |
551 | 2003-08-20 Michael Snyder <[email protected]> |
552 | Kevin Buettner <[email protected]> | |
553 | ||
554 | * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include. | |
555 | (frv_frame_init_saved_regs): Add declaration. | |
556 | (frame_extra_info): Add new field ``saved_regs''. | |
557 | (frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue) | |
558 | (frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular): | |
559 | Update frame related code. | |
560 | (frv_extract_struct_value_address): Adjust formatting. | |
561 | * Makefile.in (frv-tdep.o): Update dependencies. | |
562 | * config/frv/tm-frv.h (target_insert_watchpoint) | |
563 | (target_remove_watchpoint, target_insert_hw_breakpoint) | |
564 | (target_remove_hw_breakpoint): Delete these macros. | |
565 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
566 | (remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove | |
567 | these declarations. | |
568 | ||
87193939 MC |
569 | 2003-08-20 Michael Chastain <[email protected]> |
570 | ||
571 | * defs.h (ENUM_BITFIELD): New macro. | |
572 | * symtab.h (ENUM_BITFIELD): Use it. | |
573 | (BYTE_BITFIELD): Remove old macro, which was already disabled. | |
574 | ||
062103ba SA |
575 | 2003-08-19 Shrinivas Atre <[email protected]> |
576 | ||
577 | * MAINTAINERS (write after approval): Add myself. | |
578 | ||
8b148df9 AC |
579 | 2003-08-18 Andrew Cagney <[email protected]> |
580 | ||
581 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method. | |
582 | * gdbarch.h, gdbarch.c: Re-generate. | |
583 | * infcall.c (call_function_by_hand): Adjust the SP by | |
584 | frame_red_zone_size before allocating any stack space. | |
585 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size". | |
586 | * x86-64-tdep.c (x86_64_frame_align): New function. | |
587 | (x86_64_init_abi): Set "frame_red_zone_size" and "frame_align". | |
588 | ||
589 | * x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change. | |
590 | Remove code adjusting SP so that it skips over the Red Zone. | |
591 | ||
954a4db8 MK |
592 | 2003-08-18 Mark Kettenis <[email protected]> |
593 | ||
594 | * NEWS (New native configurations): Mention FreeBSD/amd64. | |
595 | ||
1a241548 AC |
596 | 2003-08-18 Andrew Cagney <[email protected]> |
597 | ||
598 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set | |
599 | "dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of | |
600 | "m68k_frame_p". | |
601 | (m68hc11_frame_sniffer): Replace "m68hc11_frame_p". | |
602 | ||
f82b2acd MK |
603 | 2003-08-18 Mark Kettenis <[email protected]> |
604 | ||
605 | * x86-64-tdep.c (x86_64_dwarf_regmap): Remove trailing whitespace. | |
606 | ||
4056d258 ML |
607 | 2003-08-18 Michal Ludvig <[email protected]> |
608 | ||
609 | * config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): | |
610 | Define. | |
611 | * i386-linux-nat.c: Include "linux-nat.h". | |
612 | (child_post_startup_inferior): New function. | |
613 | ||
99ab4326 MK |
614 | 2003-08-18 Mark Kettenis <[email protected]> |
615 | ||
616 | * i386-tdep.c (i386_analyze_register_saves): Handle register saves | |
617 | at the start of a frameless function. This probably fixes PR | |
618 | backtrace/1338. | |
619 | ||
c8d5f0d6 MC |
620 | 2003-08-17 Michael Chastain <[email protected]> |
621 | ||
622 | * symfile.c (find_sym_fns): Remove special case for apollo target. | |
623 | ||
9016a515 DJ |
624 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
625 | ||
626 | * linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define. | |
627 | (PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define. | |
628 | (linux_parent_pid, linux_supports_tracevforkdone_flag): New variable. | |
629 | (linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag. | |
630 | (linux_supports_tracevforkdone): New function. | |
631 | (linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and | |
632 | TRACEVFORKDONE. | |
633 | (child_follow_fork): Handle vfork. | |
634 | (linux_handle_extended_wait): Likewise. Also handle exec. | |
635 | (child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable. | |
636 | * NEWS: Mention fork tracing. | |
637 | ||
c538c11c DJ |
638 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
639 | ||
640 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
641 | ||
4de4c07c DJ |
642 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
643 | ||
644 | * Makefile.in (i386-linux-nat.o): Update dependencies. | |
645 | * config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. | |
646 | * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH) | |
647 | (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define. | |
648 | * i386-linux-nat.c: Include "linux-nat.h". | |
649 | (child_post_startup_inferior): New function. | |
650 | * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef. | |
651 | * infptrace.c (kill_inferior): Wrap in #ifdef. | |
652 | * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after | |
653 | attaching to each LWP. | |
654 | (child_wait, lin_lwp_wait): Call linux_handle_extended_wait. | |
655 | (init_lin_lwp_ops): Fill in some more operations. | |
656 | * linux-nat.h (linux_enable_event_reporting) | |
657 | (linux_handle_extended_wait, linux_child_post_startup_inferior): New | |
658 | prototypes. | |
659 | * linux-nat.c (linux_enable_event_reporting): New function. | |
660 | (child_post_attach, linux_child_post_startup_inferior) | |
661 | (child_post_startup_inferior, child_follow_fork) | |
662 | (linux_handle_extended_wait, kill_inferior): New functions. | |
663 | ||
7996bcec AC |
664 | 2003-08-16 Andrew Cagney <[email protected]> |
665 | ||
666 | * gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code. | |
667 | * gdbarch.h, gdbarch.c: Re-generate. | |
668 | ||
3d48a7a0 MK |
669 | 2003-08-16 Mark Kettenis <[email protected]> |
670 | ||
671 | * config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define. | |
672 | ||
7989c619 AC |
673 | 2003-08-16 Andrew Cagney <[email protected]> |
674 | ||
675 | * NEWS: Mention that "set prompt-escape-char" was deleted. | |
676 | * top.c (get_prompt_1): Delete function. | |
677 | (gdb_prompt_escape): | |
678 | (init_main): Do not clear "gdb_prompt_escape". Delete "set | |
679 | prompt-escape-char" command. | |
680 | (MAX_PROMPT_SIZE): Delete macro. | |
681 | (get_prompt): Simplify, do not call get_prompt_1. | |
682 | ||
07978cd8 AC |
683 | 2003-08-16 Andrew Cagney <[email protected]> |
684 | ||
685 | * Makefile.in (printcmd.o, valprint.o): Do not try to build with | |
686 | -Werror. -Wformat-nonliteral problems. | |
687 | ||
3ff7cf9e JB |
688 | 2003-08-15 J. Brobecker <[email protected]> |
689 | ||
690 | Further multiarching work mostly for hppa64-*-hpux11: | |
691 | * hppa-tdep.h: New file. | |
692 | * hppa-tdep.c: #include hppa-tdep.c. | |
693 | (hppa32_num_regs): Renamed from hppa_num_regs. | |
694 | (hppa64_num_regs): New constant. | |
695 | (hppa64_call_dummy_breakpoint_offset): New constant. | |
696 | (hppa32_call_dummy_length): New constant. | |
697 | (hppa64_call_dummy_length): New constant. | |
698 | (hppa32_stack_align): Make name 32bit explicit. | |
699 | (hppa32_register_virtual_type): Likewise. | |
700 | (hppa32_extract_return_value): Likewise. | |
701 | (hppa32_use_struct_convention): Likewise. | |
702 | (hppa32_store_return_value): Likewise. | |
703 | (hppa64_register_virtual_type): New function. | |
704 | (hppa64_extract_return_value): New function. | |
705 | (hppa64_use_struct_convention): New function. | |
706 | (hppa64_store_return_value): New function. | |
707 | (hppa_frame_locals_address): Remove declaration, function does | |
708 | not exist anymore. | |
709 | (hppa_register_byte): Add support for PA64 ABI. | |
710 | (hppa_gdbarch_init): Add support for PA64 ABI. | |
711 | * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp): | |
712 | Make name 32bit explicit. | |
713 | (hppa32_hpux_frame_base_before_sigtramp): Likewise. | |
714 | (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise. | |
715 | (hppa64_hpux_frame_saved_pc_in_sigtramp): New function. | |
716 | (hppa64_hpux_frame_base_before_sigtramp): New function. | |
717 | (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function. | |
718 | * config/pa/tm-hppa64.h: Remove macros that are no longer | |
719 | necessary now that the gdbarch vector is properly setup. | |
720 | Transform some macros into function calls. Some minor cleanup. | |
721 | * config/pa/tm-hppah.h: Update function calls in macros | |
722 | following the function renaming in hppa-hpux-tdep.c. | |
723 | * Makefile.in (hppa_tdep_h): New variable. | |
724 | (hppa-tdep.o): Add dependency over hppa_tdep_h. | |
725 | ||
5d05ca6d MS |
726 | 2003-08-14 Michael Snyder <[email protected]> |
727 | ||
728 | * disasm.c (gdb_disassemble_info): Set info->insn_sets to zero. | |
729 | ||
37ba2569 JB |
730 | 2003-08-13 J. Brobecker <[email protected]> |
731 | ||
732 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct | |
733 | bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization | |
734 | routine. | |
735 | ||
aed7f26a MS |
736 | 2003-08-13 Michael Snyder <[email protected]> |
737 | ||
738 | * frv-tdep.c (frv_push_arguments): Use deprecated ftype. | |
739 | (frv_saved_pc_after_call): Use deprecated ftype. | |
740 | (stupid_useless_init_extra_frame_info): Remove orphan prototype. | |
741 | (frv_remote_translate_xfer_address): Remove. | |
742 | (frv_gdbarch_init): Use generic_remote_translate_xfer_address. | |
743 | ||
752d4ac1 JB |
744 | 2003-08-13 J. Brobecker <[email protected]> |
745 | ||
746 | * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch | |
747 | initialization after the common gdbarch initialization, not before. | |
748 | ||
1426ac1d JB |
749 | 2003-08-13 J. Brobecker <[email protected]> |
750 | ||
751 | * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used. | |
752 | (ADDR_BITS_REMOVE): Remove, redundant. | |
753 | ||
b6fbdd1d JB |
754 | 2003-08-13 J. Brobecker <[email protected]> |
755 | ||
756 | * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove | |
757 | gdbarch method to clear the 2 low bits of text addresses. | |
758 | ||
44160db3 AC |
759 | 2003-08-12 Andrew Cagney <[email protected]> |
760 | ||
761 | * Makefile.in (dsrec.o): Update dependencies. | |
762 | * dsrec.c: Include "gdb_assert.h". | |
763 | (make_srec): Use snprintf instead of sprintf, use a literal format | |
764 | string. | |
765 | ||
bcf7d3ca AC |
766 | 2003-08-12 Andrew Cagney <[email protected]> |
767 | ||
768 | * frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of | |
769 | FRAME_OBSTACK_ZALLOC. | |
770 | ||
49ed40de KB |
771 | 2003-08-12 Kevin Buettner <[email protected]> |
772 | ||
773 | * i386-tdep.c (i386_gdbarch_init): Enable default support for | |
774 | SSE registers. | |
775 | ||
b246147c MK |
776 | 2003-08-10 Mark Kettenis <[email protected]> |
777 | ||
778 | * x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end, | |
779 | amd64fbsd_sc_reg_offset): Add extern declarations. | |
780 | * amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern | |
781 | declarations. | |
782 | ||
d95fdc0d BE |
783 | 2003-08-11 Ben Elliston <[email protected]> |
784 | ||
785 | * MAINTAINERS (write after approval): Update my mail address. | |
786 | ||
cf6a0e73 AC |
787 | 2003-08-10 Andrew Cagney <[email protected]> |
788 | ||
789 | * Makefile.in (monitor.o): Do not build monitor.c with -Werror. | |
790 | ||
f837910f MK |
791 | 2003-08-10 Mark Kettenis <[email protected]> |
792 | ||
e2dbbd2d MK |
793 | * i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, |
794 | i386obsd_sigtramp_start, i386obsd_sigtramp_end, | |
795 | i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset, | |
796 | i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset, | |
797 | i386bsd_sc_reg_offset): Add extern declarations. | |
798 | * i386obsd-nat.c: Include "i386-tdep.h" | |
799 | (_initialize_i386obsd_nat): Remove extern declarations. | |
800 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern | |
801 | declarations. | |
802 | * i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern | |
803 | declarations. | |
804 | ||
f837910f MK |
805 | * i386-tdep.c (i386_register_to_value): Use get_frame_register |
806 | instead of frame_read_register. | |
807 | (i386_fetch_pointer_argument): Use get_frame_register_unsigned | |
808 | instead of frame_read_register. Use I386_ESP_REGNUM instead of | |
809 | SP_REGNUM. | |
810 | (i386_frame_prev_register): Use frame_unwind_register_unsigned | |
811 | instead of frame_unwind_unsigned_register. Use | |
812 | I386_EFLAGS_REGISTER instead of PS_REGNUM. | |
813 | (i386_get_longjmp_target): Use regcache_read_unsigned_register | |
814 | instead of read_register. Use builtin_type_void_data_ptr instead | |
815 | of builtin_type_void_func_ptr when extracting the address of the | |
816 | jmp_buf. | |
817 | (i386_extract_return_value, i386_store_return_value, | |
818 | i386_pseudo_register_read, i386_pseudo_register_write): Use | |
819 | register_size instead REGISTER_RAW_SIZE. | |
820 | ||
edcf254d AC |
821 | 2003-08-10 Andrew Cagney <[email protected]> |
822 | ||
823 | * infcall.c (call_function_by_hand): Use xstrprintf instead of | |
824 | sprintf. Make "name" constant. | |
825 | ||
26604a34 MK |
826 | 2003-08-10 Mark Kettenis <[email protected]> |
827 | ||
192285c6 MK |
828 | * i387-tdep.c (i387_register_to_value): Use get_frame_register |
829 | instead of frame_read_register. | |
f837910f MK |
830 | (i387_print_float_info): Use get_frame_register and |
831 | get_frame_register_unsigned instead of frame_register_read. | |
192285c6 | 832 | |
f0925262 MK |
833 | * i386fbsd-nat.c: Include "i386-tdep.h". |
834 | (child_resume): Make `eflags' an ULONGEST. Use | |
835 | regcache_cooked_read_unsigned and regcache_cooked_write_unsigned | |
836 | instead of register_read and register_write. | |
837 | ||
a144416f MK |
838 | * i386bsd-nat.c (fetch_inferior_registers, |
839 | store_inferior_registers): Don't use && at the end of a line. | |
840 | (_initialize_i386bsd_nat): Fix typo. | |
841 | ||
fec74868 MK |
842 | * frame.c (_initialize_frame): Add missing backslash. |
843 | ||
87232496 MK |
844 | From Peter Schauer ([email protected]): |
845 | * sol-thread.c (sol_thread_store_registers): Use regcache_collect | |
846 | and supply_register instead of manipulating the register buffer | |
847 | directly. | |
848 | ||
c9b9de0b MK |
849 | From Peter Schauer ([email protected]): |
850 | * config/i386/nm-i386sol2.h | |
851 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one. | |
852 | ||
26604a34 MK |
853 | Based on a patch from Michael Elizabeth Chastain ([email protected]): |
854 | * i386-tdep.c (i386_analyze_frame_setup): Recognize more | |
855 | instructions that GCC likes to mingle into the prologue. Fixes | |
856 | gdb/1253 and gdb/1255. | |
857 | ||
25d29d70 AC |
858 | 2003-08-09 Andrew Cagney <[email protected]> |
859 | ||
860 | Fix GDB PR cli/926. | |
861 | * cli/cli-decode.c (add_setshow_uinteger_cmd): New function. | |
862 | * command.h (add_setshow_uinteger_cmd): Declare. | |
863 | * frame.c (set_backtrace_cmd): New function. | |
864 | (show_backtrace_cmd): New function. | |
865 | * frame.c (_initialize_frame): Replace "set/show | |
866 | backtrace-below-main" with "set/show backtrace past-main". Add | |
867 | command "set/show backtrace limit". | |
868 | (backtrace_past_main): Rename "backtrace_below_main". | |
869 | (backtrace_limit): New variable. | |
870 | (get_prev_frame): Update. Check the backtrace_limit. | |
871 | ||
9ebf4acf AC |
872 | 2003-08-09 Andrew Cagney <[email protected]> |
873 | ||
874 | * defs.h (xstrprintf): Declare. | |
875 | * utils.c (xstrprintf): New function. | |
876 | * breakpoint.c (insert_breakpoints): Replace sprintf and | |
877 | non-literal format strings, with xstrprintf and cleanups. | |
878 | (delete_breakpoint,breakpoint_re_set): Ditto. | |
879 | (commands_command, insert_breakpoints): Ditto. | |
880 | (bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto. | |
881 | (break_at_finish_command_1): Ditto. | |
882 | ||
3771659b AC |
883 | 2003-08-09 Andrew Cagney <[email protected]> |
884 | ||
885 | * MAINTAINERS (language support): List Adam Fedor as Objective C | |
886 | maintainer. | |
887 | ||
b4263afa JB |
888 | 2003-08-08 J. Brobecker <[email protected]> |
889 | ||
890 | * NEWS (Multi-arched targets): Document that all hppa-hpux targets | |
891 | are now multiarched. | |
892 | ||
d84defb1 JB |
893 | 2003-08-08 J. Brobecker <[email protected]> |
894 | ||
895 | * config/pa/tm-hppa64.h: Remove lots of macros that are no | |
896 | longer necessary now that hppa64 is partially multiarch'ed. | |
897 | ||
f786f615 AC |
898 | 2003-08-08 Andrew Cagney <[email protected]> |
899 | ||
900 | * interps.c (interp_set): Check for a NULL "old_interp". | |
901 | ||
c938e9b0 L |
902 | 2003-08-08 H.J. Lu <[email protected]> |
903 | ||
904 | * Makefile.in (FLAGS_TO_PASS): Add DESTDIR. | |
905 | (install-only): Support DESTDIR. | |
906 | (uninstall): Likewise. | |
907 | (install-gdbtk): Likewise. | |
908 | ||
9a146a11 EZ |
909 | 2003-08-08 Elena Zannoni <[email protected]> |
910 | ||
911 | * symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this | |
912 | contains something meaningful at all times. | |
913 | ||
914 | Fri Aug 8 00:28:46 UTC 2003 Brendan Conoboy <[email protected]> | |
7a76ced5 | 915 | |
62599e99 | 916 | * configure.host: Set gdb_host_cpu=arm when host_cpu=xscale. |
7a76ced5 | 917 | |
56296155 BC |
918 | Fri Aug 8 00:28:38 UTC 2003 Brendan Conoboy <[email protected]> |
919 | ||
62599e99 | 920 | * MAINTAINERS (write after approval): Added self. |
56296155 | 921 | |
9710e734 AC |
922 | 2003-08-07 Andrew Cagney <[email protected]> |
923 | ||
924 | * inferior.h (AT_SYMBOL): Define. | |
925 | * blockframe.c (inside_entry_file): Check for AT_SYMBOL. | |
926 | * infcall.c (call_function_by_hand): Add code to handle AT_SYMBOL. | |
927 | * mips-tdep.c (mips_call_dummy_address): Delete function. | |
928 | (mips_gdbarch_init): Set call_dummy_location to AT_SYMBOL, do not | |
929 | set call_dummy_address. | |
930 | ||
98b3ab73 AC |
931 | 2003-08-07 Andrew Cagney <[email protected]> |
932 | ||
933 | * language.c (op_error): Delete function. | |
934 | (binop_type_check): Delete function. | |
935 | * language.h (type_op_error, range_op_error): Delete macros. | |
936 | (op_error): Delete declaration. | |
937 | ||
2fcf52f0 AC |
938 | 2003-08-07 Andrew Cagney <[email protected]> |
939 | ||
940 | * interps.h (INTERP_MI2, INTERP_MI3): Define. | |
941 | ||
abd4220e | 942 | 2003-08-07 Michal Ludvig <[email protected]> |
fd83bada | 943 | |
abd4220e | 944 | * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers. |
fd83bada | 945 | (x86_64_push_arguments): Skip the red zone. |
abd4220e | 946 | |
9dd5f34f AC |
947 | 2003-08-05 Andrew Cagney <[email protected]> |
948 | ||
949 | * reggroups.c (reggroup_next): Check for the final entry. | |
950 | ||
e5e78edc AC |
951 | 2003-08-04 Andrew Cagney <[email protected]> |
952 | ||
ab4e3d93 AC |
953 | * monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT. |
954 | * cli/cli-script.c (define_command): Call query directly, instead | |
955 | of passing it a buffer. | |
956 | * ocd.c (ocd_error): Pass error a constant format string. | |
957 | * remote-mips.c (mips_error): Use fputs_filtered. | |
958 | ||
1062ca82 AC |
959 | * solib-svr4.c (_initialize_svr4_solib): Update |
960 | register_gdbarch_data call. | |
961 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto. | |
962 | ||
fcc1c85c AC |
963 | * gdbarch.sh (gdbarch_data_free_ftype): Delete declaration. |
964 | (register_gdbarch_data): Delete "free" parameter. Update | |
965 | comments. | |
966 | * gdbarch.h, gdbarch.c: Re-generate. | |
967 | * reggroups.c (_initialize_reggroup): Update. | |
968 | * gnu-v3-abi.c (init_gnuv3_ops): Update. | |
969 | * frame-base.c (_initialize_frame_base): Update. | |
970 | * frame-unwind.c (_initialize_frame_unwind): Update. | |
971 | * user-regs.c (_initialize_user_regs): Update. | |
972 | * remote.c (_initialize_remote): Update. | |
973 | * regcache.c (_initialize_regcache): Update. | |
974 | ||
116f06ea AC |
975 | * regcache.c (xfree_regcache_descr): Delete function. |
976 | (_initialize_regcache): Update call to register_gdbarch_data. | |
977 | (init_regcache_descr, init_legacy_regcache_descr): Use | |
978 | GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC. | |
979 | ||
e5e78edc AC |
980 | * remote.c (free_remote_state): Delete function. |
981 | (_initialize_remote): Update register_gdbarch_data. | |
982 | (init_remote_state): Use GDBARCH_OBSTACK_XALLOC and | |
983 | GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc. | |
984 | ||
6c7d17ba AC |
985 | 2003-08-04 Andrew Cagney <[email protected]> |
986 | ||
987 | * reggroups.c (struct reggroup_el): Define. | |
988 | (struct reggroups): Delete field "nr_group". Replace array | |
989 | "group" with a "first" to "last" linked list. | |
990 | (reggroups_init): Update. Allocate using gdbarch's obstack. | |
991 | (reggroups_free): Delete function. | |
992 | (add_group): Update. Add "el" parameter. | |
993 | (reggroup_add): Pass gdbarch obstack allocated space to add_group. | |
994 | (default_groups): Update. | |
995 | (reggroup_next): Replace reggroups. | |
996 | (reggroups_dump): Update. | |
997 | (_initialize_reggroup): Pass XMALLOC allocated space to add_group. | |
998 | * regcache.c (regcache_dump): Use reggroup_next instead of reggroups. | |
999 | * infcmd.c (registers_info): Use reggroup_next instead of reggroups. | |
1000 | ||
89b7795b DJ |
1001 | 2003-08-04 Daniel Jacobowitz <[email protected]> |
1002 | ||
1003 | * Makefile.in (tui-interp.o): Update dependencies. | |
1004 | ||
306d9ac5 DC |
1005 | 2003-08-04 David Carlton <[email protected]> |
1006 | ||
1007 | * charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args | |
1008 | to internal_error call. | |
1009 | * source.c (forward_search_command): Add "%s" format argument. | |
1010 | (reverse_search_command): Ditto. | |
1011 | * top.c (quit_confirm): Ditto. | |
1012 | * cli/cli-setshow.c (do_setshow_command): Ditto. | |
1013 | * cp-valprint.c (cp_print_class_method): Replace | |
1014 | {f,}printf_{un,}filtered by {f,}puts_{un,}filtered. | |
1015 | (cp_print_class_member): Ditto. | |
1016 | * event-top.c (command_line_handler): Ditto. | |
1017 | * linux-proc.c (linux_info_proc_cmd): Ditto. | |
1018 | * p-typeprint.c (pascal_type_print_base): Ditto. | |
1019 | * p-valprint.c (pascal_object_print_class_method): Ditto. | |
1020 | (pascal_object_print_class_member): Ditto. | |
1021 | * printcmd.c (print_scalar_formatted,printf_command): Ditto. | |
1022 | * remote.c (remote_cisco_section_offsets): Ditto. | |
1023 | * top.c (command_line_input): Ditto. | |
1024 | * utils.c (vwarning,error_stream,quit): Ditto. | |
1025 | * valprint.c (print_floating,print_binary_chars) | |
1026 | (print_octal_chars,print_decimal_chars,print_hex_chars): Ditto. | |
1027 | ||
57bfe177 AC |
1028 | 2003-08-04 Andrew Cagney <[email protected]> |
1029 | ||
1030 | * frame.c (frame_func_unwind): Use frame_unwind_address_in_block. | |
1031 | ||
e546b999 AC |
1032 | 2003-08-02 Andrew Cagney <[email protected]> |
1033 | ||
1034 | * config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc, | |
1035 | gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and | |
1036 | amd64fbsd-nat.c. | |
1037 | ||
91092ee5 AC |
1038 | 2003-08-02 Andrew Cagney <[email protected]> |
1039 | ||
1040 | * Makefile.in: Update all dependencies and definitions. | |
1041 | ||
889f28e2 AF |
1042 | 2003-08-02 Adam Fedor <[email protected]> |
1043 | ||
1044 | * linespec.c (is_objc_method_format): New function | |
1045 | (decode_line_1, locate_first_half): Use it. | |
1046 | Fixes PR objc/1298 | |
1047 | ||
880bc914 AC |
1048 | 2003-08-01 Andrew Cagney <[email protected]> |
1049 | ||
1050 | * NEWS: Mention that m32r is multi-arch. | |
1051 | From 2003-07-28 Kei Sakamoto <[email protected]>: | |
1052 | * configure.tgt: Recognize m32r-*-*. | |
1053 | * config/m32r/tm-m32r.h: Delete file. | |
1054 | * config/m32r/m32r.mt: New file. | |
1055 | * m32r-rom.c (m32r_upload_command): Use hostent only when | |
1056 | gethostname succeeds, in order to avoid a compilation | |
1057 | warning. | |
1058 | * m32r-tdep.c (m32r_store_return_value): Add a cast to remove a | |
1059 | compiler warning. | |
1060 | ||
19f59343 MS |
1061 | 2003-08-01 Michael Snyder <[email protected]> |
1062 | ||
1063 | * sh-tdep.c (sh_frame_align): New gdbarch method. | |
1064 | (sh_gdbarch_init): Set up frame_align method. | |
1065 | ||
4e7d7511 MS |
1066 | 2003-07-31 Michael Snyder <[email protected]> |
1067 | ||
1068 | * value.h, values.c, infcall.c, infcmd.c: Revert 07-30 change, | |
1069 | which is already covered by the new frames infrastructure. | |
1070 | ||
63022984 AC |
1071 | 2003-07-31 Andrew Cagney <[email protected]> |
1072 | ||
1073 | * user-regs.c (struct user_reg): Add "next" link. | |
1074 | (struct user_regs): Replace "user" with "first" and "last" links. | |
1075 | (append_user_reg): Add pre-allocated "reg" parameter. | |
1076 | (builtin_user_regs): Provide initial value for "last". | |
1077 | (user_reg_add_builtin): XMALLOC memory for append_user_reg. | |
1078 | (user_regs_init): Allocate memory from the gdbarch obstack. | |
1079 | (user_reg_add): GDBARCH_OBSTACK_ZALLOC memory for append_user_reg. | |
1080 | (user_reg_map_name_to_regnum): Rewrite to search the user_reg | |
1081 | linked list. | |
1082 | (usernum_to_user_reg): New function. | |
1083 | (user_reg_map_regnum_to_name): Use usernum_to_user_reg. | |
1084 | (value_of_user_reg): Use usernum_to_user_reg. | |
1085 | (user_regs_free): Delete function. | |
1086 | (_initialize_user_regs): Update register_gdbarch_data call. | |
1087 | ||
7cf6e574 DJ |
1088 | 2003-07-31 Daniel Jacobowitz <[email protected]> |
1089 | ||
1090 | * dwarf2read.c (new_symbol): Use var_decode_location for parameters. | |
1091 | ||
c48a845b MS |
1092 | 2003-07-30 Michael Snyder <[email protected]> |
1093 | ||
4e7d7511 | 1094 | * value.h (value_being_returned): Add a struct_addr argument. |
c48a845b MS |
1095 | * infcall.c (call_function_by_hand): Pass struct_addr to |
1096 | value_being_returned. | |
1097 | * infcmd.c (print_return_value): Pass zero as struct_addr. | |
1098 | * values.c (value_being_returned): If struct_addr is passed, | |
1099 | use it instead of trying to recover it from the inferior. | |
1100 | ||
f0d8db19 KB |
1101 | 2003-07-30 Kevin Buettner <[email protected]> |
1102 | ||
1103 | * mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that | |
1104 | the prologue analyzer won't need to attempt to extract the pc | |
1105 | value from the woefully incomplete dummy frame. | |
1106 | (mn10300_analyze_prologue): Avoid calls to get_frame_pc() when | |
1107 | possible. Disable code which modifies the frame. | |
1108 | ||
e5c113a1 AC |
1109 | 2003-07-28 Andrew Cagney <[email protected]> |
1110 | ||
1111 | * annotate.c (annotate_breakpoints_headers): Restrict annotation | |
1112 | to level 2. | |
1113 | (annotate_breakpoints_table, annotate_record): Ditto. | |
1114 | (annotate_breakpoints_table_end, annotate_field_begin): Ditto. | |
1115 | (annotate_field_name_end, annotate_field_value): Ditto. | |
1116 | (annotate_field_end, annotate_frame_source_begin): Ditto. | |
1117 | (annotate_frame_source_file, annotate_frame_source_file_end): Ditto. | |
1118 | (annotate_frame_source_line, annotate_frame_source_end): Ditto. | |
1119 | (annotate_frame_begin, annotate_frame_function_name): Ditto. | |
1120 | (annotate_frame_address_end, annotate_frame_address): Ditto. | |
1121 | (annotate_frame_args, annotate_frame_end): Ditto. | |
1122 | (annotate_frame_where, annotate_arg_begin): Ditto. | |
1123 | (annotate_arg_name_end, annotate_arg_value): Ditto. | |
1124 | (annotate_arg_end, annotate_signal_handler_caller): Ditto. | |
1125 | (annotate_function_call, annotate_signal_name): Ditto. | |
1126 | (annotate_signal_string, annotate_signal_name_end): Ditto. | |
1127 | (annotate_signal_string_end, annotate_value_history_begin): Ditto. | |
1128 | (annotate_value_begin, annotate_value_history_value): Ditto. | |
1129 | (annotate_value_history_end, annotate_value_end): Ditto. | |
1130 | (annotate_display_begin, annotate_display_number_end): Ditto. | |
1131 | (annotate_display_format, annotate_display_expression): Ditto. | |
1132 | (annotate_display_expression_end, annotate_display_value): Ditto. | |
1133 | (annotate_display_end, annotate_array_section_begin): Ditto. | |
1134 | (annotate_elt_rep, annotate_elt_rep_end): Ditto. | |
1135 | (annotate_elt, annotate_array_section_end): Ditto. | |
1136 | ||
bb1db049 AC |
1137 | 2003-07-28 Andrew Cagney <[email protected]> |
1138 | ||
1139 | * regcache.c (struct regcache_descr): Update comments on | |
1140 | nr_raw_registers. | |
1141 | (init_legacy_regcache_descr): Don't set nr_raw_registers or | |
1142 | sizeof_raw_register_valid_p. | |
1143 | (init_regcache_descr): Set nr_raw_registers and | |
1144 | sizeof_raw_register_valid_p before calling | |
1145 | init_legacy_regcache_descr. | |
1146 | ||
20e6603c AC |
1147 | 2003-07-28 Andrew Cagney <[email protected]> |
1148 | ||
1149 | * mips-tdep.c (print_gp_register_row): Print the GPR's register | |
1150 | MOD NUM_REGS. | |
1151 | ||
db742940 DJ |
1152 | 2003-07-28 Daniel Jacobowitz <[email protected]> |
1153 | ||
1154 | * thread.c (info_threads_command): Use get_selected_frame (). | |
1155 | Check that there is at least one non-sentinel frame. | |
1156 | ||
ce7f4371 SC |
1157 | 2003-07-27 Stephane Carrez <[email protected]> |
1158 | ||
1159 | * m68hc11-tdep.c (struct frame_extra_info): Remove. | |
1160 | (m68hc11_pop_frame): Remove. | |
1161 | (m68hc11_frame_saved_pc): Remove. | |
1162 | (m68hc11_frame_chain): Remove. | |
1163 | (m68hc11_frame_init_saved_regs): Remove. | |
1164 | (m68hc11_init_extra_frame_info): Remove. | |
1165 | (m68hc11_store_struct_return): Remove. | |
1166 | (m68hc11_saved_pc_after_call): Remove. | |
1167 | ||
1ea653ae SC |
1168 | 2003-07-27 Stephane Carrez <[email protected]> |
1169 | ||
1170 | * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold | |
1171 | frame unwind information. | |
1172 | (m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue | |
1173 | and adapted for frame unwinding. | |
1174 | (m68hc11_skip_prologue): Update to scan prologue in temporary object. | |
1175 | (m68hc11_unwind_pc): New function. | |
1176 | (m68hc11_frame_unwind_cache): New function to analyze frames. | |
1177 | (m68hc11_frame_this_id): New function to create new frame struct. | |
1178 | (m68hc11_frame_prev_register): New function to unwind a register from | |
1179 | the frame. | |
1180 | (m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder. | |
1181 | (m68hc11_frame_p): New function for the above. | |
1182 | (m68hc11_frame_base_address): New function to return fp of frame. | |
1183 | (m68hc11_frame_args_address): Update for frame. | |
1184 | (m68hc11_frame_base): Default 68hc11/68hc12 frame. | |
1185 | (m68hc11_unwind_sp): New function. | |
1186 | (m68hc11_unwind_dummy_id): New function. | |
1187 | (m68hc11_gdbarch_init): Install the above frames; remove deprecated | |
1188 | calls. | |
1189 | ||
c8a7f6ac SC |
1190 | 2003-07-27 Stephane Carrez <[email protected]> |
1191 | ||
1192 | * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc. | |
1193 | (m68hc11_guess_from_prologue): Advance the pc and frame size only | |
1194 | when we are beyond the current pc. | |
1195 | ||
3dc990bf SC |
1196 | 2003-07-27 Stephane Carrez <[email protected]> |
1197 | ||
1198 | * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted | |
1199 | from m68hc11_push_arguments. | |
1200 | (m68hc11_push_arguments): Remove. | |
1201 | (m68hc11_push_return_address): Remove. | |
1202 | (m68hc11_gdbarch_init): Install the above; remove above deprecated | |
1203 | handlers; remove deprecated_extra_stack_alignment_needed. | |
1204 | ||
222e5d1d AC |
1205 | 2003-07-27 Andrew Cagney <[email protected]> |
1206 | ||
1207 | * config/pa/tm-hppa.h (init_frame_pc_default): Declare. | |
1208 | * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update | |
1209 | REAL_PC and not the pointer. | |
1210 | * hppa-hpux-tdep.c: Include frame.h | |
1211 | ||
a7e9a47e AC |
1212 | 2003-07-27 Andrew Cagney <[email protected]> |
1213 | ||
1214 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to | |
1215 | GDB_MULTI_ACH_PARTIAL. | |
1216 | ||
7e3dd49e AC |
1217 | 2003-07-27 Andrew Cagney <[email protected]> |
1218 | ||
1219 | Patch from 2003-07-22 Kei Sakamoto <[email protected]>: | |
1220 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style - | |
1221 | operator at start and not end of line. | |
1222 | (decode_prologue): Ditto. | |
1223 | (m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use | |
1224 | frame_unwind_register_unsigned instead of | |
1225 | frame_unwind_unsigned_register. | |
1226 | (m32r_read_pc): Use regcache_cooked_read_unsigned instead of | |
1227 | read_register. | |
1228 | (m32r_push_dummy_call): Use register_size instead of | |
1229 | REGISTER_RAW_SIZE. | |
1230 | (m32r_frame_sniffer): Replace m32r_frame_p. | |
1231 | (m32r_gdbarch_init): Call frame_unwind_append_sniffer. | |
1232 | * m32r-rom.c (report_transfer_performance): Delete extern | |
1233 | declaration. | |
1234 | (m32r_load, m32r_upload_command): Use print_transfer_performance | |
1235 | instead of report_transfer_performance. | |
1236 | (_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd | |
1237 | / add_show_from_set. | |
1238 | ||
0880807f AC |
1239 | 2003-07-26 Andrew Cagney <[email protected]> |
1240 | ||
1241 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated | |
1242 | store_return_value and extract_struct_value_address. | |
1243 | ||
64ae9269 DJ |
1244 | 2003-07-26 Daniel Jacobowitz <[email protected]> |
1245 | ||
1246 | PR c++/1267 | |
1247 | * minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is | |
1248 | NULL, default to the section containing PC. | |
1249 | ||
e286caf2 SC |
1250 | 2003-07-24 Stephane Carrez <[email protected]> |
1251 | ||
1252 | * NEWS: Mention "regs" deprecated for m68hc11 too. | |
1253 | ||
1254 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command. | |
1255 | (m68hc11_print_register): New function to print out one register. | |
1256 | (m68hc11_print_registers_info): New function to print registers. | |
1257 | (show_regs): Deprecate and use the above. | |
1258 | (m68hc11_gdbarch_init): Install the print_registers_info. | |
1259 | ||
705b278b JJ |
1260 | 2003-07-24 Jeff Johnston <[email protected]> |
1261 | ||
1262 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify | |
1263 | that we have a SIGTRAP before returning non-zero. | |
1264 | ||
63cd4198 EZ |
1265 | 2003-07-23 Michal Ludvig <[email protected]> |
1266 | Elena Zannoni <[email protected]> | |
1267 | ||
1268 | * linespec.c (decode_line_2): Avoid crash if | |
1269 | find_function_start_sal() returns empty record. | |
1270 | ||
6926787d AS |
1271 | 2003-07-23 Andreas Schwab <[email protected]> |
1272 | ||
1273 | * ia64-tdep.c (ia64_print_insn): New function. | |
1274 | (ia64_gdbarch_init): Set print_insn to it. | |
1275 | (_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and | |
1276 | deprecated_tm_print_insn_info. | |
1277 | ||
708cc1b6 MS |
1278 | 2003-07-22 Michael Snyder <[email protected]> |
1279 | ||
1280 | * h8300-tdep.c (h8300_extract_return_value): Teach it how to | |
1281 | handle 8-bit returns (long long). | |
1282 | (h8300h_extract_return_value): Ditto. | |
1283 | (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned. | |
1284 | ||
aebd7893 AC |
1285 | 2003-07-22 Andrew Cagney <[email protected]> |
1286 | ||
1287 | * gdbarch.c Include "gdb_obstack.h". | |
1288 | (struct gdbarch): Add an "obstack". | |
1289 | (alloc_gdbarch_data): Allocate the gdbarch data using | |
1290 | GDBARCH_OBSTACK_CALLOC. | |
1291 | (free_gdbarch_data): Delete function. | |
1292 | (gdbarch_obstack_zalloc): New function. | |
1293 | (gdbarch_free): Free the obstack, do not call free_gdbarch_data. | |
1294 | Assert that the architecture is not initialized. | |
1295 | (gdbarch_alloc): Allocate an obstack, allocate the architecture | |
1296 | vector from the obstack. | |
1297 | (alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the | |
1298 | architecture obstack. | |
1299 | (GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define. | |
1300 | (set_gdbarch_data): Assert that the data is not initialized. | |
1301 | (struct gdbarch_data): Delete member "free". | |
1302 | (register_gdbarch_data): Do not initialize "free". | |
1303 | * gdbarch.h, gdbarch.c: Re-generate. | |
1304 | ||
153721e6 AC |
1305 | 2003-07-22 Andrew Cagney <[email protected]> |
1306 | ||
1307 | * configure.in (build_warnings): Add -Wformat-nonliteral. | |
1308 | * configure: Re-generate. | |
1309 | ||
c193f044 | 1310 | 2003-07-22 Elena Zannoni <[email protected]> |
32ffcbed EZ |
1311 | |
1312 | * dwarf2loc.c (locexpr_describe_location): Fix typos. | |
c193f044 | 1313 | |
c3228f12 EZ |
1314 | 2003-07-22 Elena Zannoni <[email protected]> |
1315 | ||
1316 | * findvar.c (read_var_value): Remove case for thread local storage | |
1317 | variables. It is now entirely handled by the dwarf2 location | |
1318 | expression code. | |
1319 | * printcmd.c (address_info): Ditto. | |
1320 | * symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC | |
1321 | enumeration value. | |
1322 | (struct symbol): Remove objfile field, which was used by | |
1323 | LOC_THREAD_LOCAL_STATIC only. | |
1324 | * dwarf2read.c (decode_locdesc): Remove is_thread_local variable. | |
1325 | * dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about | |
1326 | usage of objfile pointer. | |
1327 | * dwarf2loc.c (locexpr_describe_location): Add case to handle | |
1328 | thread local variables. | |
1329 | Add include of objfiles.h. | |
1330 | * dwarf2expr.c (execute_stack_op): Add comments about thread local | |
1331 | storage variables. | |
1332 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
1333 | ||
aef9bcd2 AC |
1334 | 2003-07-22 Andrew Cagney <[email protected]> |
1335 | ||
1336 | * config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use | |
1337 | get_frame_base. | |
1338 | (FRAME_BASE_BEFORE_SIGTRAMP): Ditto. | |
1339 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto. | |
1340 | (struct value): Add opaque declaration. | |
1341 | (DEPRECATED_FRAME_ARGS_ADDRESS): Delete. | |
1342 | ||
d95a8903 AC |
1343 | 2003-07-21 Andrew Cagney <[email protected]> |
1344 | ||
1345 | From 2003-07-04 Kei Sakamoto <[email protected]>: | |
1346 | * m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite. | |
1347 | ||
4db73d49 SC |
1348 | 2003-07-20 Stephane Carrez <[email protected]> |
1349 | ||
1350 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use | |
1351 | regcache_cooked_read_unsigned instead of read_register. | |
1352 | (m68hc11_saved_pc_after_call): Likewise. | |
1353 | (m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned | |
1354 | instead of write_register. | |
1355 | (m68hc11_register_type): New function. | |
1356 | (m68hc11_register_virtual_type): Remove. | |
1357 | (m68hc11_store_return_value): Convert to use the regcache. | |
1358 | (m68hc11_extract_struct_value_address): Likewise. | |
1359 | (m68hc11_gdbarch_init): Remove deprecated ops for register to use | |
1360 | m68hc11_register_type; undeprecate store_return_value and | |
1361 | extract_struct_value_address. | |
1362 | ||
ef2b8fcd SC |
1363 | 2003-07-20 Stephane Carrez <[email protected]> |
1364 | ||
1365 | * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read | |
1366 | and translate to use regcache. | |
1367 | (m68hc11_gdbarch_init): Undeprecate extract_return_value. | |
1368 | ||
625b0b97 AC |
1369 | 2003-07-18 Andrew Cagney <[email protected]> |
1370 | ||
1371 | * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method. | |
1372 | * gdbarch.h, gdbarch.c: Re-generate. | |
1373 | * i386-tdep.c (i386_gdbarch_init): Do not set | |
1374 | DWARF2_BUILD_FRAME_INFO. | |
1375 | * elfread.c (elf_symfile_read): Call dwarf2_build_frame_info | |
1376 | unconditionally. | |
1377 | * alpha-tdep.c (alpha_dwarf2_init_abi): Do not set | |
1378 | DWARF2_BUILD_FRAME_INFO. | |
1379 | ||
22b0d388 AC |
1380 | 2003-07-18 Andrew Cagney <[email protected]> |
1381 | ||
1382 | From 2003-07-04 Kei Sakamoto <[email protected]>: | |
1383 | * disasm.c (gdb_disassemble_info): Initilize di.arch. | |
1384 | ||
1ce5d6dd AC |
1385 | 2003-07-18 Andrew Cagney <[email protected]> |
1386 | ||
1387 | * dwarf2-frame.c (dwarf2_frame_sniffer): Use | |
1388 | frame_unwind_address_in_block, instead of frame_pc_unwind. | |
1389 | (dwarf2_frame_cache): Ditto. | |
1390 | ||
e6e5e94c AC |
1391 | 2003-07-18 Andrew Cagney <[email protected]> |
1392 | ||
1393 | * user-regs.h (struct gdbarch): Declare opaque. | |
1394 | * ui-out.h (struct ui_file): Declare opaque. | |
1395 | * dwarf2-frame.h (struct frame_info): Declare opaque. | |
1396 | ||
5483d879 KW |
1397 | 2003-07-18 Kris Warkentin <[email protected]> |
1398 | ||
1399 | * nto-procfs.c: Clean ARI hits. Change #include <..> to | |
1400 | #include "...". | |
1401 | (procfs_meminfo): Change strerror to safe_strerror. | |
1402 | (procfs_can_run): Remove K&R badness. | |
1403 | ||
278a7cf7 MS |
1404 | 2003-07-17 Michael Snyder <[email protected]> |
1405 | ||
1406 | * remote-sim.c: Comment typo fix. | |
1407 | ||
606e3b82 AC |
1408 | 2003-07-17 Andrew Cagney <[email protected]> |
1409 | ||
1410 | * defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by | |
1411 | configure. | |
1412 | * sparc-tdep.c (sparc_intreg_size): Make non-static. | |
1413 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to | |
1414 | GDB_MULTI_ARCH_PARTIAL. | |
1415 | ||
c43af07c EZ |
1416 | 2003-07-17 Elena Zannoni <[email protected]> |
1417 | ||
1418 | * Makefile.in (x86-64-linux-nat.o): Update dependencies. | |
1419 | * x86-64-linux-nat.c (ps_get_thread_area): New function. Add | |
1420 | include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h. | |
1421 | ||
3b85b0f1 TR |
1422 | 2003-07-16 Theodore A. Roth <[email protected]> |
1423 | ||
1424 | * avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue | |
1425 | found. | |
1426 | (avr_frame_unwind_cache): Don't unwind FP for main. | |
1427 | Update a comment. | |
1428 | Save the computed prev_sp. | |
1429 | (avr_saved_regs_unwinder): Remove function. | |
1430 | (avr_frame_prev_register): Use PC unwind logic from | |
1431 | avr_saved_regs_unwinder(), otherwise use trad_frame_prev_register(). | |
1432 | ||
336d1bba AC |
1433 | 2003-07-16 Andrew Cagney <[email protected]> |
1434 | ||
1435 | * frame-base.h (frame_base_p_ftype): Delete definition. | |
1436 | (frame_base_append_predicate): Delete declaration. | |
1437 | * frame-unwind.h (frame_unwind_p_ftype): Delete definition. | |
1438 | (frame_unwind_append_predicate): Delete declaration. | |
1439 | * frame-unwind.c (struct frame_unwind_table): Delete field "p". | |
1440 | (append_predicate): Delete parameter "p". | |
1441 | (frame_unwind_append_predicate): Delete function. | |
1442 | (frame_unwind_append_sniffer): Update call to append_predicate. | |
1443 | (frame_unwind_free): Delete function. | |
1444 | (_initialize_frame_unwind): Pass NULL as "free" to | |
1445 | register_gdbarch_data. | |
1446 | (frame_unwind_init): Append the dummy_frame_sniffer. | |
1447 | (frame_unwind_find_by_frame): Simplify. | |
1448 | * frame-base.c (struct frame_base_table): Delete field "p". | |
1449 | (append_predicate): Delete parameter "p". | |
1450 | (frame_base_append_predicate): Delete function. | |
1451 | (frame_base_append_sniffer): Update call to append_predicate. | |
1452 | (frame_base_free): Delete function. | |
1453 | (frame_base_find_by_frame): Simplify. | |
1454 | (_initialize_frame_base): Pass NULL as "free" to | |
1455 | register_gdbarch_data. | |
1456 | * x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p". | |
1457 | (x86_64_sigtramp_frame_sniffer): Replace | |
1458 | "x86_64_sigtramp_frame_p". | |
1459 | (x86_64_init_abi): Set the frame unwind sniffers. | |
1460 | * m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p". | |
1461 | (m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p" | |
1462 | (m68k_gdbarch_init): Set the frame unwind sniffers. | |
1463 | * i386-tdep.c (i386_sigtramp_frame_sniffer): Replace | |
1464 | "i386_sigtramp_frame_p". | |
1465 | (i386_frame_sniffer): Replace "i386_frame_p". | |
1466 | (i386_gdbarch_init): Set the frame unwind sniffers. | |
1467 | * avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer". | |
1468 | (avr_gdbarch_init): Set the frame unwind sniffers. | |
1469 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace | |
1470 | "alpha_sigtramp_frame_p" | |
1471 | (alpha_heuristic_frame_sniffer): Replace | |
1472 | "alpha_heuristic_frame_p". | |
1473 | (alpha_gdbarch_init): Set the frame unwind sniffers. | |
1474 | (alpha_dwarf2_init_abi): Ditto. | |
1475 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace | |
1476 | "alpha_debug_frame_p". | |
1477 | (alpha_mdebug_frame_base_sniffer): Replace | |
1478 | "alpha_mdebug_frame_base_p". | |
1479 | (alpha_mdebug_init_abi): Set the frame unwind sniffers. | |
1480 | * d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p". | |
1481 | (d10v_gdbarch_init): Set the frame unwind sniffer. | |
1482 | * dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
1483 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
1484 | * dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
1485 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
1486 | * dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p". | |
1487 | * dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p". | |
1488 | ||
48db5a3c CV |
1489 | 2003-07-16 Michael Snyder <[email protected]> |
1490 | ||
1491 | * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp | |
1492 | should go thru sh_dsp_register_sim_regno, else the dsp regs | |
1493 | will not get the right values. | |
1494 | ||
1495 | 2003-07-16 Corinna Vinschen <[email protected]> | |
1496 | ||
1497 | * sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to | |
1498 | deprecated_store_floating by call to store_typed_floating. | |
1499 | (sh_sh4_register_convert_to_raw): Substitute call to | |
1500 | deprecated_extract_floating by call to extract_typed_floating. | |
1501 | ||
1502 | 2003-07-16 Corinna Vinschen <[email protected]> | |
1503 | ||
1504 | * sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e. | |
1505 | ||
1506 | 2003-07-16 Corinna Vinschen <[email protected]> | |
1507 | ||
1508 | * sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to | |
1509 | register_size and calls to REGISTER_VIRTUAL_TYPE by calls to | |
1510 | gdbarch_register_type in 32 bit code throughout. Avoid current_gdbarch | |
1511 | as possible. | |
1512 | (do_pseudo_register): Remove. | |
1513 | (sh_push_dummy_code): New function. | |
1514 | (sh64_store_struct_return): Rename from sh_store_struct_return. | |
1515 | Only called for sh64 now. | |
1516 | (sh_extract_struct_value_address): Regcache'ify. | |
1517 | (sh_push_dummy_call): Rename from sh_push_arguments. Regcache'ify | |
1518 | and accomodate new tasks. | |
1519 | (sh64_push_return_address): Rename from sh_push_return_address. | |
1520 | Only called for sh64 now. | |
1521 | (sh_default_extract_return_value): Rename from sh_extract_return_value. | |
1522 | Regcache'ify. | |
1523 | (sh3e_sh4_extract_return_value): Regcache'ify. | |
1524 | (sh_default_store_return_value): Ditto. | |
1525 | (sh3e_sh4_store_return_value): Ditto. | |
1526 | (sh_default_register_byte): Remove. | |
1527 | (sh_sh4_register_byte): Remove. | |
1528 | (sh_default_register_raw_size): Remove. | |
1529 | (sh_sh4_register_raw_size): Remove. | |
1530 | (sh_register_virtual_size): Remove. | |
1531 | (sh_sh3e_register_virtual_type): Remove. | |
1532 | (sh_sh3e_register_type): New function. | |
1533 | (sh_sh4_register_virtual_type): Remove. | |
1534 | (sh_sh4_register_type): New function. | |
1535 | (sh_default_register_virtual_type): Remove. | |
1536 | (sh_default_register_type): New function. | |
1537 | (do_fv_register_info): Add parameters to accomodate call from | |
1538 | sh_print_registers_info. | |
1539 | (do_dr_register_info): Ditto. | |
1540 | (sh_print_pseudo_register): Rename from sh_do_pseudo_register. | |
1541 | Add parameters to accomodate call from sh_print_registers_info. | |
1542 | (sh_do_fp_register): Ditto. | |
1543 | (sh64_do_pseudo_register): Call do_dr_register_info, | |
1544 | do_fv_register_info and sh_do_fp_register with default parameters. | |
1545 | (sh_do_register): Add parameters to accomodate call from | |
1546 | sh_print_registers_info. | |
1547 | (sh_print_register): Ditto. | |
1548 | (sh_print_registers_info): Rename from sh_do_registers_info. | |
1549 | Add parameters to be used as gdbarch_print_registers_info | |
1550 | implementation. Accomodate removed do_pseudo_register function | |
1551 | pointer. | |
1552 | (sh_compact_do_registers_info): Accomodate removed do_pseudo_register | |
1553 | function pointer. Call sh_print_register with default parameters. | |
1554 | (sh64_do_registers_info): Call sh_print_registers_info instead of | |
1555 | sh_do_registers_info. | |
1556 | (sh_gdbarch_init): Rearrange to cleanup and to allow easier | |
1557 | detection of deprecated vs. non-deprecated functionality. | |
1558 | Rename sh_call_dummy_words to sh64_call_dummy_words. Remove | |
1559 | function pointer assignments by direct function calls. | |
1560 | ||
e8a89fe2 AC |
1561 | 2003-07-15 Andrew Cagney <[email protected]> |
1562 | ||
1563 | * frame.c (get_frame_id): Use frame_unwind_find_by_frame. | |
1564 | (frame_register_unwind, create_new_frame): Ditto. | |
1565 | (legacy_get_prev_frame, get_frame_type): Ditto. | |
1566 | (get_frame_base_address): Use frame_base_find_by_frame. | |
1567 | (get_frame_locals_address): Use frame_base_find_by_frame. | |
1568 | (get_frame_args_address): Use frame_base_find_by_frame. | |
1569 | * frame-base.h (frame_base_sniffer_ftype): Declare. | |
1570 | (frame_base_append_sniffer): Declare. | |
1571 | (frame_base_find_by_frame): Replace frame_base_find_by_pc. | |
1572 | * frame-base.c (append_predicate): Add a "sniffer" parameter. | |
1573 | (frame_base_append_sniffer): New function. | |
1574 | (frame_base_append_predicate): Add a NULL sniffer. | |
1575 | (frame_base_find_by_frame): Replace "frame_base_find_by_pc". | |
1576 | (struct frame_base_table): Add "sniffer". | |
1577 | (frame_base_free): Free the "sniffer" table. | |
1578 | * frame-unwind.h (frame_unwind_sniffer_ftype): Define. | |
1579 | (frame_unwind_append_sniffer): Declare. | |
1580 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
1581 | * frame-unwind.c (frame_unwind_free): Free the "sniffer" table. | |
1582 | (struct frame_unwind_table): Add "sniffer", delete "middle". | |
1583 | (append_predicate): Add "sniffer" parameter, append the sniffer. | |
1584 | (frame_unwind_init): Update append_predicate call. | |
1585 | (frame_unwind_append_sniffer): New function. | |
1586 | (frame_unwind_append_predicate): Update append_predicate call. | |
1587 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
1588 | ||
0714963c AC |
1589 | 2003-07-15 Andrew Cagney <[email protected]> |
1590 | ||
1591 | * frame.c (get_prev_frame): Move disabled inside_entry_func to | |
1592 | before code inhibiting repeated unwind attempts. Add to | |
1593 | commentary on that test's problems. | |
1594 | * blockframe.c (inside_main_func): Look for "main" in the minimal | |
1595 | symbol table. | |
1596 | * d10v-tdep.c (d10v_frame_this_id): Delete check that frames are | |
1597 | identical. | |
1598 | ||
d9170e22 AC |
1599 | 2003-07-15 Andrew Cagney <[email protected]> |
1600 | ||
1601 | * complaints.c (struct explanation): Define. | |
1602 | (struct complaints): Change type of "explanation" to "struct | |
1603 | explanation". | |
1604 | (symfile_explanations): Convert to a "struct explanation" table. | |
1605 | (vcomplaint): Update. | |
1606 | ||
eba29c8c ML |
1607 | 2003-07-15 Michal Ludvig <[email protected]> |
1608 | ||
1609 | * x86-64-linux-nat.c (regmap): Removed. | |
1610 | (supply_gregset, fill_gregset): Call | |
1611 | x86_64_linux_(fill,supply)_gregset functions. | |
1612 | * x86-64-linux-tdep.c (USER_*): New defines. | |
1613 | (user_to_gdb_regmap, x86_64_core_fns): New structure. | |
1614 | (x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): | |
1615 | New functions. | |
1616 | (fetch_core_registers): Ditto. | |
1617 | (_initialize_x86_64_linux_tdep): Call add_core_fns(). | |
1618 | * x86-64-linux-tdep.h: New file. | |
1619 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o | |
1620 | and core-regset.o. | |
1621 | * config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o. | |
1622 | ||
68cc0bfb MK |
1623 | 2003-07-13 Mark Kettenis <[email protected]> |
1624 | ||
88a115f7 MK |
1625 | * x86-64-tdep.c (x86_64_store_return_value): Use |
1626 | regcache_cooked_write_part instead of regcache_cooked_write. | |
01e4b823 | 1627 | |
68cc0bfb MK |
1628 | * configure.host: Add x86_64-*-freebsd*. |
1629 | * configure.tgt: Add x86_64-*-freebsd*. | |
1630 | * Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets. | |
1631 | * amd64fbsd-nat.c: New file. | |
1632 | * amd64fbsd-tdep.c: New file. | |
1633 | * config/i386/nm-fbsd64.h: New file. | |
1634 | * config/i386/fbsd64.mh: New file. | |
1635 | * config/i386/fbsd64.mt: New file. | |
1636 | ||
138e7be5 MK |
1637 | 2003-07-11 Mark Kettenis <[email protected]> |
1638 | ||
1639 | * alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset', | |
1640 | `sc_regs_offset' and `sc_fpregs_offset'. | |
1641 | * alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF, | |
1642 | SIGFRAME_FPREGSAVE_OFF): Remove defines. | |
1643 | (alpha_sigtramp_register_address): Rewrite to use new members of | |
1644 | `struct gdbarch_tdep'. | |
1645 | (alpha_gdbarch_init): Initialize new members of struct | |
1646 | gdbarch_tdep'. | |
1647 | * alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use | |
1648 | ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE. | |
1649 | (alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables. | |
1650 | (alphafbsd_pc_in_sigtramp): Implement. | |
1651 | (alphafbsd_sigtramp_offset): New function. | |
1652 | (alphafbsd_sigcontext_addr): New function. | |
1653 | (alphafbsd_init_abi): Initialize signal trampoline related members | |
1654 | of `struct gdbarch_tdep'. | |
1655 | (_initialize_alphafbsd_tdep): Add prototype. | |
1656 | ||
95303a68 TR |
1657 | 2003-07-11 Theodore A. Roth <[email protected]> |
1658 | ||
ba292e4c TR |
1659 | * Makefile.in (install-only): Quote sed expression when generating |
1660 | transformed_name. | |
95303a68 | 1661 | |
6896c0c7 RH |
1662 | 2003-07-11 Richard Henderson <[email protected]> |
1663 | ||
1664 | * Makefile.in (dwarf2-frame.o): Add complaints_h. | |
1665 | * dwarf2-frame.c: Include complaints.h. | |
1666 | (decode_frame_entry_1): Rename from decode_frame_entry; tidy | |
1667 | variable initialization; return NULL on error. | |
1668 | (decode_frame_entry): New. | |
1669 | ||
8edd5d01 AC |
1670 | 2003-07-11 Andrew Cagney <[email protected]> |
1671 | ||
c4a09524 AC |
1672 | * frame.h (frame_address_in_block): Delete declaration. |
1673 | * blockframe.c (frame_address_in_block): Delete function. | |
1674 | (get_frame_block): Use get_frame_address_in_block. | |
1675 | (block_innermost_frame): Ditto. | |
1676 | * stack.c (print_frame, backtrace_command_1): Ditto. | |
1677 | ||
8edd5d01 AC |
1678 | * frame.h (get_frame_address_in_block): Declare. |
1679 | (frame_unwind_address_in_block): Declare. | |
1680 | * frame.c (frame_unwind_address_in_block): New function. | |
1681 | (get_frame_address_in_block): New function. | |
1682 | ||
f7968451 AC |
1683 | 2003-07-10 Andrew Cagney <[email protected]> |
1684 | ||
1685 | * gdbarch.sh: Simplify predicate methods. Remove need to provide | |
1686 | pre-default. Note: re-generate has no effect. | |
1687 | ||
ae99b398 AC |
1688 | 2003-07-10 Andrew Cagney <[email protected]> |
1689 | ||
1690 | * gdbarch.sh: When a variable, but not a function, compare against | |
1691 | 0. Fix problem in previous patch. | |
1692 | * gdbarch.c: Re-generate. | |
1693 | ||
956ac328 AC |
1694 | 2003-07-10 Andrew Cagney <[email protected]> |
1695 | ||
1696 | * gdbarch.sh: Use gdb_assert instead of internal_error. Compare | |
1697 | functions against NULL, not 0. | |
1698 | * gdbarch.c: Re-generate. | |
1699 | ||
287c3240 FF |
1700 | 2003-07-10 Fred Fish <[email protected]> |
1701 | ||
1702 | * coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a | |
1703 | null string instead of a null pointer. | |
1704 | * solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto. | |
1705 | ||
32f63c4b MS |
1706 | 2003-07-09 Michael Snyder <[email protected]> |
1707 | ||
1708 | * sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error. | |
1709 | ||
402ecd56 MK |
1710 | 2003-07-09 Mark Kettenis <[email protected]> |
1711 | ||
1712 | * x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, | |
1713 | X86_64_RDI_REGNUM, X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, | |
1714 | X86_64_RIP_REGNUM, X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, | |
1715 | X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Moved here ... | |
1716 | * x86-64-tdep.c: ... from here. | |
1717 | ||
c481dac7 AS |
1718 | 2003-07-09 Andreas Schwab <[email protected]> |
1719 | ||
1720 | * m68k-tdep.h (enum struct_return): Define. | |
1721 | (struct gdbarch_tdep): Add struct_return. | |
1722 | * m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4 | |
1723 | bytes are padded to the right, not to the left. Pass struct value | |
1724 | address in register %a1, not on stack. | |
1725 | (m68k_use_struct_convention): New function. | |
1726 | (m68k_gdbarch_init): Set use_struct_convention. Initialize | |
1727 | struct_return in tdep to pcc_struct_return. | |
1728 | * m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to | |
1729 | reg_struct_return. | |
1730 | ||
64176fa3 JB |
1731 | 2003-07-09 Joel Brobecker <[email protected]> |
1732 | ||
1733 | * somread.c (som_symfile_offsets): Fix compilation error. | |
1734 | ||
96a4ee76 AC |
1735 | 2003-07-09 Andrew Cagney <[email protected]> |
1736 | ||
1737 | * regcache.c (register_size): Only check REGISTER_RAW_SIZE once. | |
1738 | Add comments about the checks. | |
1739 | ||
1517c6d1 AC |
1740 | 2003-07-08 Andrew Cagney <[email protected]> |
1741 | ||
1742 | * Makefile.in: Make dependency section headers consistent. | |
1743 | (config_h): Move to $BUILD headers section. | |
1744 | (exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto. | |
1745 | (msg_U_h, notify_S_h, process_reply_S_h): Ditto. | |
1746 | (ada-exp.tab.c): Move to YACC/LEX section. | |
1747 | (ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto. | |
1748 | (jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto. | |
1749 | ||
dc5dd1eb KW |
1750 | 2003-07-08 Kris Warkentin <[email protected]> |
1751 | ||
1752 | * nto-procfs.c: Cleaned up a bunch of ARI hits. | |
fda848e0 KW |
1753 | Include "gdb_dirent.h" instead of <dirent.h>, replace all instances |
1754 | of strerror with safe_strerror, use ISO C function definitions, | |
1755 | and replace instances of sprintf with snprintf. | |
dc5dd1eb | 1756 | |
612dde91 AC |
1757 | 2003-07-07 Andrew Cagney <[email protected]> |
1758 | ||
1759 | * frame.c (get_prev_frame): Enable check for identical frames. | |
1760 | Update comments. Update error messages. | |
1761 | ||
492c11d3 JB |
1762 | 2003-07-07 Joel Brobecker <[email protected]> |
1763 | ||
1764 | * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure. | |
1765 | ||
376a5a49 JB |
1766 | 2003-07-07 Joel Brobecker <[email protected]> |
1767 | ||
1768 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to | |
1769 | sort_symtab_syms, no longer necessary. | |
1770 | ||
22b4a9ad JB |
1771 | 2003-07-07 Joel Brobecker <[email protected]> |
1772 | ||
1773 | * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment. | |
1774 | ||
5bbcb741 JB |
1775 | 2003-07-07 Joel Brobecker <[email protected]> |
1776 | ||
1777 | * mips-tdep.c (mips_register_raw_size): Fix compilation failure. | |
1778 | (mips_register_byte): Likewise. | |
1779 | ||
c139e7d9 DJ |
1780 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
1781 | ||
1782 | * Makefile.in (sparc_tdep_h): New. | |
1783 | (sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o) | |
1784 | (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h). | |
1785 | * sparc-linux-nat.c: Include "sparc-tdep.h". | |
1786 | * sparc-nat.c: Likewise. | |
1787 | * sparc-tdep.c: Likewise. | |
1788 | * sparc64nbsd-nat.c: Likewise. | |
1789 | * sparcnbsd-nat.c: Likewise. | |
1790 | * sparcnbsd-tdep.c: Likewise. | |
1791 | * sparc-tdep.h: New file. | |
1792 | * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum | |
1793 | and sparc_npc_regnum. | |
1794 | ||
fd8f87c5 DJ |
1795 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
1796 | ||
1797 | * mips-linux-nat.c (mips_linux_cannot_fetch_register) | |
1798 | (mips_linux_cannot_store_register): List supported instead of | |
1799 | unsupported registers. | |
1800 | ||
13adf674 DJ |
1801 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
1802 | ||
1803 | * disasm.c (dump_insns): Separate instructions from addresses. | |
1804 | ||
8de307e0 AS |
1805 | 2003-07-07 Andreas Schwab <[email protected]> |
1806 | ||
1807 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
1808 | dependencies. | |
1809 | * m68k-tdep.c (NUM_FREGS): Delete. | |
1810 | (SIG_PC_FP_OFFSET): Delete. | |
1811 | (TARGET_M68K): Delete. | |
1812 | (P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP, | |
1813 | P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP, | |
1814 | P_MOVEL_SP, P_MOVEML_SP): Define. | |
1815 | (P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM, | |
1816 | P_TRAP): Delete. | |
1817 | (m68k_register_raw_size): Delete. | |
1818 | (m68k_register_virtual_size): Delete. | |
1819 | (m68k_register_type): Renamed from m68k_register_virtual_type and | |
1820 | add gdbarch argument. | |
1821 | (m68k_store_struct_return): Delete. | |
1822 | (m68k_deprecated_extract_return_value): Delete. | |
1823 | (m68k_deprecated_extract_struct_value_address): Delete. | |
1824 | (m68k_frame_chain): Delete. | |
1825 | (m68k_frame_saved_pc): Delete. | |
1826 | (m68k_fix_call_dummy): Delete. | |
1827 | (m68k_push_dummy_frame): Delete. | |
1828 | (m68k_pop_frame): Delete. | |
1829 | (m68k_extract_return_value): New function. | |
1830 | (m68k_store_return_value): Rewrite using regcache. | |
1831 | (m68k_extract_struct_value_address): Rewrite using regcache. | |
1832 | (m68k_push_dummy_call): New function. | |
1833 | (struct m68k_frame_cache): Define. | |
1834 | (m68k_alloc_frame_cache): New function. | |
1835 | (m68k_analyze_frame_setup): New function. | |
1836 | (m68k_analyze_register_saves): New function. | |
1837 | (m68k_analyze_prologue): New function. | |
1838 | (m68k_skip_prologue): Rewrite using above functions. | |
1839 | (m68k_unwind_pc): New function. | |
1840 | (m68k_frame_cache): New function. | |
1841 | (m68k_frame_this_id): New function. | |
1842 | (m68k_frame_prev_register): New function. | |
1843 | (m68k_frame_unwind): New variable. | |
1844 | (m68k_frame_p): New function. | |
1845 | (m68k_sigtramp_frame_cache): New function. | |
1846 | (m68k_sigtramp_frame_this_id): New function. | |
1847 | (m68k_sigtramp_frame_prev_register): New function. | |
1848 | (m68k_sigtramp_frame_unwind): New variable. | |
1849 | (m68k_sigtramp_frame_p): New function. | |
1850 | (m68k_frame_base_address): New function. | |
1851 | (m68k_frame_base): New function. | |
1852 | (m68k_unwind_dummy_id): New function. | |
1853 | (fill_gregset): Use regcache_collect. | |
1854 | (fill_fpregset): Likewise. | |
1855 | (m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is | |
1856 | defined. | |
1857 | (m68k_gdbarch_init): Don't define call_dummy_words. Don't set | |
1858 | deprecated_init_frame_pc, deprecated_store_struct_return, | |
1859 | deprecated_extract_return_value, deprecated_store_return_value, | |
1860 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
1861 | deprecated_frame_init_saved_regs, deprecated_register_raw_size, | |
1862 | deprecated_register_virtual_size, | |
1863 | deprecated_max_register_raw_size, | |
1864 | deprecated_max_register_virtual_size, | |
1865 | deprecated_register_virtual_type, deprecated_register_size, | |
1866 | deprecated_register_byte, deprecated_register_bytes, | |
1867 | deprecated_fp_regnum, deprecated_use_generic_dummy_frames, | |
1868 | call_dummy_location, deprecated_call_dummy_breakpoint_offset, | |
1869 | deprecated_pc_in_call_dummy, deprecated_call_dummy_length, | |
1870 | deprecated_call_dummy_start_offset, deprecated_call_dummy_words, | |
1871 | deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy, | |
1872 | deprecated_push_dummy_frame, deprecated_pop_frame, | |
1873 | deprecated_dummy_write_sp. Set deprecated_saved_pc_after_call | |
1874 | only if SYSCALL_TRAP is defined. Set extract_return_value, | |
1875 | store_return_value, extract_struct_value_address, register_type, | |
1876 | push_dummy_call, unwind_dummy_id, unwind_pc. Add two frame unwind | |
1877 | predicates. | |
1878 | * m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS, | |
1879 | M68K_MAX_REGISTER_SIZE): Define. | |
1880 | (struct m68k_sigtramp_info): Define. | |
1881 | (struct gdbarch_tdep): Add get_sigtramp_info. | |
1882 | * m68klinux-nat.c (fetch_register): Use register_size instead of | |
1883 | REGISTER_RAW_SIZE. Don't put assignment in if. | |
1884 | (store_register): Likewise. | |
1885 | (fetch_inferior_registers): Likewise. | |
1886 | (store_inferior_registers): Likewise. | |
1887 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete. | |
1888 | (m68k_linux_frame_saved_pc): Delete. | |
1889 | (m68k_linux_sigcontext_reg_offset, | |
1890 | m68k_linux_ucontext_reg_offset): Define. | |
1891 | (m68k_linux_get_sigtramp_info): New function. | |
1892 | (m68k_linux_extract_return_value): Rewrite using regcache. | |
1893 | (m68k_linux_store_return_value): Likewise. | |
1894 | (m68k_linux_extract_struct_value_address): Likewise. | |
1895 | (m68k_linux_init_abi): Set get_sigtramp_info in tdep structure. | |
1896 | Don't set deprecated_frame_saved_pc, | |
1897 | deprecated_extract_return_value, deprecated_store_return_value, | |
1898 | deprecated_extract_struct_value_address. Set | |
1899 | extract_return_value, store_return_value, | |
1900 | extract_struct_value_address. | |
1901 | ||
eb8bc282 AC |
1902 | 2003-07-07 Andrew Cagney <[email protected]> |
1903 | ||
1904 | * expprint.c: Include "user-regs.h" instead of "frame.h". | |
1905 | (print_subexp): Use user_reg_map_regnum_to_name, instead of | |
1906 | frame_map_regnum_to_name. | |
1907 | * frame.c: Include "user-regs.h" instead of "builtin-regs.h". | |
1908 | (frame_map_name_to_regnum): Simplify, call | |
1909 | user_reg_map_name_to_regnum. | |
1910 | (frame_map_regnum_to_name): Simplify, call | |
1911 | user_reg_map_regnum_to_name. | |
1912 | (frame_register_unwind): Update. | |
1913 | * std-regs.c: Include "user-regs.h" instead of "builtin-regs.h". | |
1914 | (_initialize_frame_reg): Call user_reg_add_builtin. | |
1915 | * findvar.c: Include "user-regs.h" instead of "builtin-regs.h". | |
1916 | (value_of_register): Use value_of_user_reg. | |
1917 | * eval.c (evaluate_subexp_standard): Update. | |
1918 | * parse.c (write_dollar_variable): Update. | |
1919 | * d10v-tdep.c (d10v_print_registers_info): Update. | |
1920 | * infcmd.c (registers_info): Update. | |
1921 | * Makefile.in (SFILES): Delete "builtin-regs.c", add "user-regs.c". | |
1922 | (builtin_regs_h): Delete macro. | |
1923 | (user_regs_h): Define. | |
1924 | (COMMON_OBS): Delete "builtin-regs.o", add "user-regs.o". | |
1925 | (builtin-regs.o): Delete target. | |
1926 | (user-regs.o): Specify dependencies. | |
1927 | (expprint.o): Update dependencies. | |
1928 | (findvar.o): Update dependencies. | |
1929 | (frame.o): Update dependencies. | |
1930 | (std-regs.o): Update dependencies. | |
1931 | ||
9f476a01 CF |
1932 | 2003-07-06 Christopher Faylor <[email protected]> |
1933 | ||
1934 | * win32-nat.c (solib_symbols_add): Use one variable for all section | |
1935 | address stuff. Pass variable rather than address of variable to | |
1936 | safe_symbol_file_add. | |
1937 | ||
a731b831 AS |
1938 | 2003-07-06 Andreas Schwab <[email protected]> |
1939 | ||
1940 | * m68klinux-nat.c (fill_fpregset): Fix use of loop index. | |
1941 | ||
9f83329d JB |
1942 | 2003-07-04 Joel Brobecker <[email protected]> |
1943 | ||
1944 | * rs6000-nat.c (vmap_symtab): Fix compilation error. | |
1945 | ||
27e28cc5 KW |
1946 | 2003-07-04 Kris Warkentin <[email protected]> |
1947 | ||
1948 | * config/i386/nto.mh: Set XM_FILE to xm-i386.h | |
1949 | ||
1950 | 2003-07-04 Kris Warkentin <[email protected]> | |
1951 | ||
1952 | * nto-procfs.c: New file. Native procfs support for QNX Neutrino. | |
1953 | * config/i386/nto.mh: New file. | |
1954 | * config/i386/nm-nto.h: New file. | |
1955 | * configure.host: Add i[3456]86-*-nto*. | |
1956 | ||
100f2e98 JB |
1957 | 2003-07-03 Joel Brobecker <[email protected]> |
1958 | ||
1959 | * remote-vx.c (vx_add_symbols): Fix compilation error. | |
1960 | ||
e23457df AC |
1961 | 2003-07-03 Andrew Cagney <[email protected]> |
1962 | ||
1963 | * gdbarch.sh (REGISTER_NAME): Do not supply a default. | |
1964 | * gdbarch.h, gdbarch.c: Re-generate. | |
1965 | * config/sparc/tm-sparc.h (REGISTER_NAME): Define. | |
1966 | (legacy_register_name): Declare. | |
1967 | * config/sparc/tm-sp64.h (legacy_register_name): Declare. | |
1968 | (REGISTER_NAME): Define. | |
1969 | * sparc-tdep.c (legacy_register_name): New function. | |
1970 | * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. | |
1971 | (REGISTER_NAME): Define. | |
1972 | (hppa64_register_name): Declare. | |
1973 | * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. | |
1974 | * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. | |
1975 | (hppa64_register_name): New function. | |
1976 | (hppa_register_name): New function. | |
1977 | * arch-utils.c (legacy_register_name): Delete. | |
1978 | * arch-utils.h (legacy_register_name): Delete. | |
1979 | ||
38caaeec DJ |
1980 | 2003-07-03 Daniel Jacobowitz <[email protected]> |
1981 | ||
1982 | * cli/cli-interp.c (cli_interpreter_resume): Update the | |
1983 | cli_uiout's stream to gdb_stdout. | |
1984 | ||
dadd712e AC |
1985 | 2003-07-03 Andrew Cagney <[email protected]> |
1986 | ||
1987 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add | |
1988 | predicate. | |
1989 | * gdbarch.h, gdbarch.c: Re-generate. | |
1990 | * regcache.c (init_regcache_descr): Use legacy code when either | |
1991 | REGISTER_BYTE or REGISTER_RAW_SIZE is set. | |
1992 | ||
c7f1390e DJ |
1993 | 2003-07-02 Daniel Jacobowitz <[email protected]> |
1994 | ||
1995 | * NEWS: Move "set logging" entry into GDB 6.0 section. | |
1996 | ||
4bc8c588 JB |
1997 | 2003-07-02 Jim Blandy <[email protected]> |
1998 | ||
a9dd42f1 JB |
1999 | * s390-tdep.c (struct frame_extra_info): new member: |
2000 | 'stack_bought_valid'. | |
2001 | (s390_get_frame_info): Set fextra_info->stack_bought_valid if we | |
2002 | initialize fextra_info->stack_bought. | |
2003 | (s390_frameless_function_invocation): Don't trust the value of | |
2004 | fextra_info_ptr->stack_bought unless | |
2005 | fextra_info->stack_bought_valid is set. | |
2006 | ||
4bc8c588 JB |
2007 | New S390 prologue analyzer. |
2008 | * s390-tdep.c (struct prologue_value, enum pv_boolean): New types. | |
2009 | (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, | |
2010 | pv_constant_last, pv_add, pv_add_constant, pv_subtract, | |
2011 | pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref, | |
2012 | compute_x_addr, s390_on_stack, s390_store, | |
2013 | s390_get_signal_frame_info): New functions. | |
2014 | (S390_NUM_SPILL_SLOTS): New macro. | |
2015 | (s390_get_frame_info): Rewritten. | |
2016 | (is_arg_reg): Deleted. | |
2017 | ||
2018 | Break out the decoding of S/390 instructions into separate | |
2019 | functions, to make it more legible, and easier to check | |
2020 | against the spec. | |
2021 | * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse, | |
2022 | is_rx, is_rxe): New functions. | |
2023 | (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras, | |
2024 | op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi, | |
2025 | op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st, | |
2026 | op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New | |
2027 | enums for opcode values. (Is this an improvement?) | |
2028 | ||
fd13a04a AC |
2029 | 2003-07-02 Andrew Cagney <[email protected]> |
2030 | ||
2031 | * i386-tdep.c: Revert change committed as part of trad-frame code | |
2032 | below. | |
2033 | ||
3f8091c1 DJ |
2034 | 2003-07-02 Daniel Jacobowitz <[email protected]> |
2035 | ||
2036 | * breakpoint.c (insert_catchpoint): Make static. | |
2037 | ||
8dd5115e AS |
2038 | 2003-07-02 Andreas Schwab <[email protected]> |
2039 | ||
2040 | * ia64-tdep.c (ia64_push_dummy_call): Define as combination of | |
2041 | former ia64_push_arguments and ia64_push_return_address, and use | |
2042 | regcache functions instead of read/write_register. | |
2043 | (ia64_gdbarch_init): Set push_dummy_call instead of | |
2044 | deprecated_push_arguments and deprecated_push_return_address. | |
2045 | ||
a2229c23 AJ |
2046 | 2003-07-01 Andreas Jaeger <[email protected]> |
2047 | ||
2048 | * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte | |
2049 | before the call. | |
2050 | Set %rax only to number of SSE registers used. | |
2051 | ||
3b3850e8 AC |
2052 | 2003-07-01 Andrew Cagney <[email protected]> |
2053 | ||
2054 | * trad-frame.h: Update comments, a -1 .addr is reserved. | |
2055 | (trad_frame_value_p, trad_frame_addr_p): Declare. | |
2056 | (trad_frame_reg_p): Declare. | |
2057 | (trad_frame_set_value): Rename trad_frame_register_value. | |
2058 | (trad_frame_set_unknown): Declare. | |
2059 | * trad-frame.c (trad_frame_realreg_p): New function. | |
2060 | (trad_frame_addr_p, trad_frame_value_p): New function. | |
2061 | (trad_frame_set_unknown): New function. | |
2062 | (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero. | |
2063 | (trad_frame_prev_register): Use trad_frame_realreg_p, | |
2064 | trad_frame_addr_p and trad_frame_value_p. | |
2065 | (trad_frame_set_value): Rename trad_frame_register_value. | |
2066 | * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p | |
2067 | and trad_frame_set_value. | |
a2229c23 | 2068 | |
4d819d0e JB |
2069 | 2003-06-30 Jim Blandy <[email protected]> |
2070 | ||
2071 | Patch from IBM (authors unspecified, probably Ulrich Weigand and | |
2072 | Gerhard Tonn) for argument passing on the S/390 and S/390x: | |
2073 | * s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space | |
2074 | for 16 registers, and then 32 more bytes. | |
2075 | (S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS): | |
2076 | New macros. | |
2077 | (is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially. | |
2078 | Move up in the file, since it's now used by is_simple_arg. | |
2079 | (is_simple_arg): Don't assume registers are four bytes long. | |
2080 | Exclude all double arguments. Extended floats are not simple | |
2081 | args. | |
2082 | (is_power_of_two): New function. | |
2083 | (pass_by_copy_ref): Call is_power_of_two, and check that the | |
2084 | length fits in a register, rather than listing all the acceptable | |
2085 | sizes. Extended floats are not passed by reference. | |
2086 | (s390_push_arguments): Don't assume registers are four bytes long. | |
2087 | Reserve an argument register to point to the buffer for structures | |
2088 | returned by value. Use S390_NUM_FP_PARAMETER_REGISTERS and | |
2089 | S390_STACK_FRAME_OVERHEAD. | |
2090 | ||
1ad828f1 AS |
2091 | 2003-06-30 Andreas Schwab <[email protected]> |
2092 | ||
2093 | * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to | |
2094 | format error message. | |
2095 | ||
39b00981 JB |
2096 | 2003-06-30 Joel Brobecker <[email protected]> |
2097 | ||
2098 | * sparc-tdep.c (stop_after_trap): Remove declaration, not used. | |
2099 | ||
b2a7f303 DC |
2100 | 2003-06-30 David Carlton <[email protected]> |
2101 | ||
2102 | Band-aid for PR c++/1245. | |
2103 | * Makefile.in (cp-support.o): Depend on complaints_h. | |
2104 | * cp-support.c: Include complaints.h. Add declaration for | |
2105 | find_last_component. | |
2106 | (cp_find_first_component): Separate code into | |
2107 | cp_find_first_component_aux. | |
2108 | (cp_find_first_component_aux): Call demangled_name_complaint. | |
2109 | (demangled_name_complaint): New. | |
2110 | ||
a257b5bb AC |
2111 | 2003-06-30 Andrew Cagney <[email protected]> |
2112 | ||
2113 | * remote.c (remote_write_bytes): Explicitly compute and then use | |
2114 | the payload size. Update comments to reflect. Fixes problem of | |
2115 | GDB not sending small packets as found by Fred Fish. | |
2116 | ||
0a2cfde4 AC |
2117 | 2003-06-30 Andrew Cagney <[email protected]> |
2118 | ||
2119 | * remote.c (remote_async_wait): Fix -Wformat problem. | |
2120 | ||
3fcb8548 AC |
2121 | 2003-06-29 Andrew Cagney <[email protected]> |
2122 | ||
2123 | * remote.c (remote_wait): Call error, and not warning, when the | |
2124 | packet is corrupt. | |
2125 | (remote_async_wait): Ditto. | |
2126 | ||
9f9970a3 DJ |
2127 | 2003-06-29 Daniel Jacobowitz <[email protected]> |
2128 | ||
2129 | * sparc-tdep.c (sparc_y_regnum): Make external again. | |
2130 | ||
83a8ccca DJ |
2131 | 2003-06-29 Daniel Jacobowitz <[email protected]> |
2132 | ||
2133 | * cli/cli-logging.c (pop_output_files): Add void to function | |
2134 | definition. | |
2135 | ||
d2cf594a AC |
2136 | 2003-06-29 Andrew Cagney <[email protected]> |
2137 | ||
2138 | * frame.c (frame_register_unwind): Use unsigned char when dumping | |
2139 | the buffer contents. | |
2140 | ||
0fac0b41 DJ |
2141 | 2003-06-28 Daniel Jacobowitz <[email protected]> |
2142 | ||
2143 | * cli/cli-logging.c: New file. | |
2144 | * cli-out.c (struct ui_out_data): Add original_stream. | |
2145 | (cli_redirect): New function. | |
2146 | (cli_ui_out_impl): Add cli_redirect. | |
2147 | (cli_out_new): Initialize original_stream. | |
2148 | * ui-out.c (default_ui_out_impl): Add NULL for redirect member. | |
2149 | (uo_redirect, ui_out_redirect): New. | |
2150 | * ui-out.h (struct ui_out_impl): Add redirect member. | |
2151 | (redirect_ftype): New. | |
2152 | (ui_out_redirect): Add prototype. | |
2153 | * Makefile.in: Add rules for cli-logging.c. | |
2154 | * NEWS: Mention "set logging". | |
2155 | ||
88a07d7c EZ |
2156 | 2003-06-27 Elena Zannoni <[email protected]> |
2157 | ||
2158 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o. | |
2159 | ||
4eb58876 AC |
2160 | 2003-06-27 Andrew Cagney <[email protected]> |
2161 | ||
2162 | * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function. | |
2163 | (m68hc11_gdbarch_init): Do not set call_dummy_address. | |
2164 | * avr-tdep.c (avr_call_dummy_address): Delete function. | |
2165 | (avr_gdbarch_init): Do not set call_dummy_address. | |
2166 | ||
1549f619 EZ |
2167 | 2003-06-27 Elena Zannoni <[email protected]> |
2168 | ||
2169 | * symfile.c (syms_from_objfile): Move variables to inner block. | |
2170 | Move the checks for the non-mainline case a bit earlier to avoid | |
2171 | doing some useless computations. | |
2172 | ||
3cb3398d EZ |
2173 | 2003-06-27 Elena Zannoni <[email protected]> |
2174 | ||
2175 | * dwarfread.c (decode_modified_type): Gag new compiler warning. | |
2176 | ||
3799ccc6 EZ |
2177 | 2003-06-26 Elena Zannoni <[email protected]> |
2178 | ||
2179 | * dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame | |
2180 | sections. | |
2181 | ||
ce1f6491 MC |
2182 | 2003-06-26 Michael Chastain <[email protected]> |
2183 | ||
2184 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc, | |
2185 | gdb/testsuite/gdb.c++/pr-1210.exp. | |
2186 | ||
d958dfd0 AC |
2187 | 2003-06-26 Andrew Cagney <[email protected]> |
2188 | ||
2189 | * config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's | |
2190 | altivec_expression.h and altivec_registers.h. | |
2191 | ||
d31431ed AC |
2192 | 2003-06-26 Andrew Cagney <[email protected]> |
2193 | ||
2194 | * mips-tdep.c (gdb_print_insn_mips): Only explicitly set | |
2195 | info->mach when MIPS16. Patch suggested by Fred Fish. | |
2196 | ||
714b1282 AC |
2197 | 2003-06-26 Andrew Cagney <[email protected]> |
2198 | ||
2199 | * utils.c (internal_vproblem): Print the problem to a reason | |
2200 | buffer and then pass to query. Make the msg variable more local. | |
2201 | ||
42efa47a AC |
2202 | 2003-06-26 Andrew Cagney <[email protected]> |
2203 | ||
2204 | * gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate. Deprecate. | |
2205 | (FRAME_LOCALS_ADDRESS): Add predicate. Deprecate. | |
2206 | * gdbarch.h, gdbarch.c: Re-generate. | |
2207 | * frame-base.c (default_frame_args_address): Update. Use | |
2208 | default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is | |
2209 | not available. | |
2210 | (default_frame_locals_address): Ditto for | |
2211 | DEPRECATED_FRAME_LOCALS_ADDRESS. | |
2212 | * vax-tdep.c (vax_sigtramp_saved_pc): Update. | |
2213 | (vax_frame_num_args): Update. | |
2214 | (vax_gdbarch_init): Update. | |
2215 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
2216 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
2217 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
2218 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
2219 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
2220 | * symtab.h (address_class): Update comments. | |
2221 | * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update. | |
2222 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
2223 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
2224 | * config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
2225 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
2226 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
2227 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
2228 | * alpha-mdebug-tdep.c: Update. | |
2229 | * ada-lang.c (add_symbols_from_enclosing_procs): Update. | |
2230 | ||
8ffd9b1b AJ |
2231 | 2003-06-26 Andreas Jaeger <[email protected]> |
2232 | ||
2233 | * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number | |
2234 | of SSE registers so that varargs functions work. Rework handling | |
2235 | of passing arguments on the stack. | |
2236 | (x86_64_store_return_value): Return double and float values in SSE | |
2237 | register. | |
2238 | ||
e8ac10a6 MC |
2239 | 2003-06-24 Michael Chastain <[email protected]> |
2240 | ||
2241 | * PROBLEMS: Document pr gdb/1091 and pr gdb/1193, | |
2242 | the "constructor breakpoints ignored" bug. | |
2243 | ||
986af8e6 DC |
2244 | 2003-06-25 David Carlton <[email protected]> |
2245 | ||
2246 | * MAINTAINERS: Update e-mail address. | |
2247 | ||
d64558a5 JB |
2248 | 2003-06-24 Jim Blandy <[email protected]> |
2249 | ||
e538d2d7 JB |
2250 | * ppc-linux-tdep.c: More "Linux" -> "GNU/Linux". |
2251 | ||
02631ec0 JB |
2252 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New |
2253 | function. | |
2254 | (ppc_linux_init_abi): Register it as the | |
2255 | CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI. | |
2256 | ||
e716d87a JB |
2257 | * ppc-linux-tdep.c (ppc64_call_dummy_address): New function. |
2258 | (ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address | |
2259 | method. | |
2260 | ||
d64558a5 JB |
2261 | * ppc-linux-tdep.c (ppc64_desc_entry_point): New function. |
2262 | (ppc64_standard_linkage_target): Use it. | |
2263 | ||
449a5da4 AC |
2264 | 2003-06-23 Andrew Cagney <[email protected]> |
2265 | ||
2266 | * rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases | |
2267 | for 0 "int0" and 4 "int32" sized registers. | |
2268 | * gdbtypes.c (builtin_type_int0): Define. | |
2269 | (build_gdbtypes): Initialize builtin_type_int0. | |
2270 | * gdbtypes.h (builtin_type_int0): Declare. | |
2271 | ||
b2a02dda SC |
2272 | 2003-06-23 Stephane Carrez <[email protected]> |
2273 | ||
2274 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed | |
2275 | as characters are unsigned. | |
2276 | ||
fba3138e DJ |
2277 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
2278 | ||
2279 | PR gdb/1179 | |
2280 | * dwarfread.c (struct_type): Skip static fields without crashing. | |
2281 | ||
f6c8180b AC |
2282 | 2003-06-22 Andrew Cagney <[email protected]> |
2283 | ||
2284 | GDB 6.0 branch created. | |
f2c06f52 AC |
2285 | * README: Update. |
2286 | * PROBLEMS: Update. Empty. | |
2287 | * NEWS: Update. | |
f6c8180b | 2288 | |
ae822768 DJ |
2289 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
2290 | ||
2291 | * symfile.c (add_symbol_file_command): Use parse_and_eval_address. | |
2292 | Suggested by Nick Hibma <[email protected]>. | |
2293 | ||
261de166 AC |
2294 | 2003-06-22 Andrew Cagney <[email protected]> |
2295 | ||
2296 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle | |
2297 | GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil | |
2298 | Velikov. | |
2299 | ||
30e94205 DJ |
2300 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
2301 | ||
2302 | * cli/cli-cmds.c (shell_escape): Silence warnings from old | |
2303 | compilers. | |
2304 | ||
9e14d721 DJ |
2305 | 2003-06-21 Daniel Jacobowitz <[email protected]> |
2306 | ||
2307 | * c-valprint.c (c_value_print): Add VALUE_OFFSET to the address | |
2308 | argument of val_print. | |
2309 | * cp-valprint.c (cp_print_value): Don't add the offset parameter | |
2310 | to the address argument of baseclass_offset or target_read_memory. | |
2311 | Do add it to the argument of cp_print_value_fields. | |
2312 | ||
a4b8ebc8 AC |
2313 | 2003-06-21 Andrew Cagney <[email protected]> |
2314 | ||
2315 | * mips-tdep.c: Include "reggroups.h" and "sim-regno.h". | |
2316 | (mips_register_name): Return names for NUM_REGS..2*NUM_REGS | |
2317 | instead of 0..NUM_REGS. | |
2318 | (mips_register_reggroup_p): New function. | |
2319 | (mips_pseudo_register_write): New function. | |
2320 | (mips_pseudo_register_read): New function. | |
2321 | (mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size | |
2322 | based on the register's type. | |
2323 | (read_next_frame_reg): Simplify. Assert that REGNO is a pseudo / | |
2324 | cooked. | |
2325 | (mips_get_saved_register): Simplify. Assert that REGNO is a | |
2326 | pseudo / cooked. | |
2327 | (mips_register_byte): New function. Use MIPS_REGISTER_BYTE. | |
2328 | (mips_register_type): Replace mips_register_virtual_type. Map | |
2329 | NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE | |
2330 | when available. | |
2331 | (read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert | |
2332 | that the register is cooked / virtual. | |
2333 | (mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC. | |
2334 | Only get the extra info when needed. | |
2335 | (set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well. | |
2336 | (mips32_heuristic_proc_desc): Fetch the cooked register. | |
2337 | (heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto. | |
2338 | (mips_init_extra_frame_info, get_frame_pointer): Ditto. | |
2339 | (mips_print_register): Use gdbarch_register_type, instead of | |
2340 | REGISTER_VIRTUAL_TYPE. | |
2341 | (print_gp_register_row): Use gdbarch_register_type, instead of | |
2342 | REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM. | |
2343 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
2344 | Print the pseudo / cooked registers. | |
2345 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
2346 | Print the pseudo / cooked registers. | |
2347 | (mips_xfer_register): Use regcache_cooked_read_part. Assert that | |
2348 | REG_NUM is pseudo / cooked. | |
2349 | (mips_o32_xfer_return_value): Xfer the pseudo / cooked register. | |
2350 | (mips_n32n64_xfer_return_value): Ditto. | |
2351 | (mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS. | |
2352 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto. | |
2353 | (mips_register_sim_regno): New function. | |
2354 | (mips_gdbarch_init): Set deprecated_register_byte, | |
2355 | register_group_p, pseudo_register_write, pseudo_register_read, | |
2356 | register_sim_regno, and num_pseudo_regs. Set register_type, | |
2357 | instead of register_virtual_type. | |
2358 | * Makefile.in (mips-tdep.o): Update dependencies. | |
2359 | * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename | |
2360 | REGISTER_VIRTUAL_TYPE. | |
2361 | * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto. | |
2362 | * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto. | |
2363 | * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE. | |
2364 | * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto. | |
2365 | * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto. | |
2366 | ||
325ed089 DJ |
2367 | 2003-06-21 Daniel Jacobowitz <[email protected]> |
2368 | ||
2369 | * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h) | |
2370 | * cli/cli-cmds.c: Include "gdb_vfork.h". | |
2371 | (shell_escape): Use vfork. | |
2372 | ||
f0e7d0e8 AC |
2373 | 2003-06-21 Andrew Cagney <[email protected]> |
2374 | ||
c57bb9fa AC |
2375 | * mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling |
2376 | 32 bit floating-point register saves. | |
2377 | ||
6e51443a AC |
2378 | * frame.h (deprecated_unwind_get_saved_register): Delete. |
2379 | * frame.c (deprecated_unwind_get_saved_register): Delete function. | |
2380 | * mips-tdep.c (mips_get_saved_register): Use frame_register_unwind | |
2381 | and deprecated_get_next_frame_hack instead of | |
2382 | deprecated_unwind_get_saved_register. | |
2383 | ||
ed183c7c AC |
2384 | * mips-tdep.c (mips_dump_tdep): Do not print |
2385 | REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE. | |
2386 | ||
f0e7d0e8 AC |
2387 | * frame.c (get_frame_register): New function. |
2388 | (frame_unwind_register_signed): New function. | |
2389 | (get_frame_register_signed): New function. | |
2390 | (frame_unwind_register_unsigned): New function. | |
2391 | (get_frame_register_unsigned): New function. | |
2392 | * frame.h: Add comments on naming schema. | |
2393 | (get_frame_register, frame_unwind_register_signed): Declare. | |
2394 | (get_frame_register_signed, get_frame_register_signed): Declare. | |
2395 | (frame_unwind_register_unsigned): Declare. | |
2396 | (get_frame_register_unsigned): Declare. | |
2397 | ||
2224d941 TR |
2398 | 2003-06-20 Theodore A. Roth <[email protected]> |
2399 | ||
2400 | * avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit. | |
2401 | ||
8619218d TR |
2402 | 2003-06-20 Theodore A. Roth <[email protected]> |
2403 | ||
2404 | * avr-tdep.c (avr_read_pc): Use regcache instead of read_register. | |
2405 | (avr_read_sp): Ditto. | |
2406 | ||
0b1b50c0 DJ |
2407 | 2003-06-20 Daniel Jacobowitz <[email protected]> |
2408 | ||
2409 | * config/arm/linux.mt: Remove code protected by GDBSERVER define. | |
2410 | * config/arm/nm-linux.h: Likewise. | |
2411 | * config/arm/tm-linux.h: Likewise. | |
2412 | * config/ia64/nm-linux.h: Likewise. | |
2413 | * config/ia64/tm-ia64.h: Likewise. | |
2414 | * config/s390/tm-linux.h: Likewise. | |
2415 | * config/s390/tm-s390.h: Likewise. | |
2416 | * s390-nat.c: Likewise. | |
2417 | * s390-tdep.c: Likewise. | |
2418 | ||
2419 | * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES. | |
2420 | * config/ia64/linux.mt: Likewise. | |
2421 | * config/m68k/linux.mh: Likewise. | |
2422 | * config/mips/linux.mt: Likewise. | |
2423 | * config/powerpc/linux.mh: Likewise. | |
2424 | * config/sh/linux.mt: Likewise. | |
2425 | ||
c8c18e65 KW |
2426 | 2003-06-19 Kris Warkentin <[email protected]> |
2427 | ||
2428 | * solib.c (solib_open): Change tests for whether to search | |
2429 | LD_LIBRARY_PATH and PATH to better deal with remotes. Update | |
2430 | comments. | |
2431 | ||
dcccef2e TR |
2432 | 2003-06-19 Theodore A. Roth <[email protected]> |
2433 | ||
2434 | * avr-tdep.c (avr_frame_address): Delete function. | |
2435 | (avr_gdbarch_init): Don't call set_gdbarch_frame_args_address, | |
2436 | set_gdbarch_frame_args_address. | |
2437 | ||
5861a190 AC |
2438 | 2003-06-19 Andrew Cagney <[email protected]> |
2439 | ||
2440 | * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete. | |
2441 | (REGISTER_CONVERT_FROM_TYPE): Delete. | |
2442 | (mips_register_convert_to_type): Delete declaration. | |
2443 | (mips_register_convert_from_type): Delete declaration. | |
2444 | * linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux | |
2445 | kernel/. | |
2446 | ||
0274a8ce MS |
2447 | 2003-06-19 Michael Snyder <[email protected]> |
2448 | ||
2449 | * linux-nat.h: New file. | |
2450 | * linux-nat.c: Include linux-nat.h. | |
8ffd9b1b | 2451 | * lin-lwp.c: Include linux-nat.h. |
0274a8ce | 2452 | Move struct lwp_info def to linux-nat.h. |
8ffd9b1b | 2453 | * linux-proc.c: Include linux-nat.h. |
0274a8ce MS |
2454 | (linux_make_note_section): Iterate over lwps instead of threads. |
2455 | (linux_do_thread_registers): Use lwp instead of merged pid. | |
2456 | * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h. | |
8ffd9b1b | 2457 | * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): |
0274a8ce MS |
2458 | Add dependency on linux_nat_h. |
2459 | ||
adf5f719 TR |
2460 | 2003-06-19 Theodore A. Roth <[email protected]> |
2461 | ||
2462 | * avr-tdep.c (avr_extract_return_value): Delete debugging fprintf. | |
2463 | ||
6766a268 DJ |
2464 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
2465 | ||
2466 | * varobj.c (get_type, get_target_type): Use check_typedef. | |
2467 | ||
1171114a DJ |
2468 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
2469 | ||
2470 | * breakpoint.c (insert_catchpoint): Call internal_error. | |
2471 | ||
adcf68a2 TR |
2472 | 2003-06-19 Theodore A. Roth <[email protected]> |
2473 | ||
2474 | * avr-tdep.c (avr_push_dummy_code): Delete function. | |
2475 | (avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code. | |
2476 | ||
ea67f13b DJ |
2477 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
2478 | ||
2479 | * arch-utils.c (default_prepare_to_proceed): Remove. | |
2480 | (generic_prepare_to_proceed): Remove. | |
2481 | * arch-utils.h (default_prepare_to_proceed): Remove prototype. | |
2482 | (generic_prepare_to_proceed): Remove prototype. | |
2483 | * gdbarch.sh (PREPARE_TO_PROCEED): Remove. | |
2484 | * gdbarch.c: Regenerate. | |
2485 | * gdbarch.h: Regenerate. | |
2486 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype. | |
2487 | * hppah-nat.c (hppa_switched_threads): Remove. | |
2488 | * infrun.c (prepare_to_proceed): New static function, copied from | |
2489 | generic_prepare_to_proceed. Remove select_it argument. | |
2490 | (proceed): Call prepare_to_proceed. | |
2491 | * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove | |
2492 | variables. | |
2493 | (ptrace_wait): Don't set the removed variables. | |
2494 | (hppa_switched_threads): Remove. | |
2495 | * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove. | |
2496 | * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define. | |
2497 | (lin_lwp_prepare_to_proceed): Remove prototype. | |
2498 | * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine. | |
2499 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define. | |
2500 | ||
4add8633 TR |
2501 | 2003-06-18 Theodore A. Roth <[email protected]> |
2502 | ||
2503 | * avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, and | |
2504 | trad-frame.h. | |
2505 | (AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64. | |
2506 | (AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define. | |
2507 | (AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define. | |
2508 | (AVR_PROLOGUE_*): Enumerate prologue types. | |
2509 | (struct frame_extra_info): Remove. | |
2510 | (struct avr_unwind_cache): Define. | |
2511 | (avr_write_sp): Delete function. | |
2512 | (avr_read_fp): Ditto. | |
2513 | (avr_init_extra_frame_info): Ditto. | |
2514 | (avr_pop_frame): Ditto. | |
2515 | (avr_frame_saved_pc): Ditto. | |
2516 | (avr_saved_pc_after_call): Ditto. | |
2517 | (avr_push_return_address): Ditto. | |
2518 | (avr_frame_chain): Ditto. | |
2519 | (avr_store_struct_return): Ditto. | |
2520 | (avr_push_arguments): Ditto. | |
2521 | (avr_scan_prologue): Update comments. Changed to set up the info for | |
2522 | cache unwinding. Now returns end of prologue PC. | |
2523 | (avr_skip_prologue): Better handling of functions lacking a prologue | |
2524 | by using avr_scan_prologue. | |
2525 | (avr_scan_arg_moves): New function. | |
2526 | (avr_saved_regs_unwinder): Ditto. | |
2527 | (avr_frame_unwind_cache): Ditto. | |
2528 | (avr_unwind_pc): Ditto. | |
2529 | (avr_frame_this_id): Ditto. | |
2530 | (avr_frame_prev_register): Ditto. | |
2531 | (avr_frame_p): Ditto. | |
2532 | (avr_frame_base_address ): Ditto. | |
2533 | (avr_unwind_dummy_id): Ditto. | |
2534 | (avr_push_dummy_code): Ditto. | |
2535 | (push_stack_item): Ditto. | |
2536 | (pop_stack_item): Ditto. | |
2537 | (avr_push_dummy_call): Ditto. | |
2538 | (struct stack_item): Define. | |
2539 | (avr_frame_unwind): Declare structure. | |
2540 | (avr_frame_base): Ditto. | |
2541 | (avr_gdbarch_init): Remove calls to | |
2542 | set_gdbarch_deprecated_init_frame_pc, | |
2543 | set_gdbarch_deprecated_target_read_fp, | |
2544 | set_gdbarch_deprecated_dummy_write_sp, | |
2545 | set_gdbarch_deprecated_fp_regnum, | |
2546 | set_gdbarch_deprecated_push_arguments, | |
2547 | set_gdbarch_deprecated_push_return_address, | |
2548 | set_gdbarch_deprecated_pop_frame, | |
2549 | set_gdbarch_deprecated_store_struct_return, | |
2550 | set_gdbarch_deprecated_frame_init_saved_regs, | |
2551 | set_gdbarch_deprecated_init_extra_frame_info, | |
2552 | set_gdbarch_deprecated_frame_chain, | |
2553 | set_gdbarch_deprecated_frame_saved_pc, | |
2554 | set_gdbarch_deprecated_saved_pc_after_call. | |
2555 | Add calls to set_gdbarch_push_dummy_call, | |
2556 | set_gdbarch_push_dummy_code, | |
2557 | frame_unwind_append_predicate, | |
2558 | frame_base_set_default, | |
2559 | set_gdbarch_unwind_dummy_id, | |
2560 | set_gdbarch_unwind_pc. | |
2561 | Wrap a long line. | |
2562 | ||
7be04a68 MS |
2563 | 2003-06-18 Corinna Vinschen <[email protected]> |
2564 | ||
2565 | * h8300-tdep.c (h8300s_register_name): Enable MACH and MACL | |
2566 | registers for H8/300S. | |
2567 | (h8300_print_registers_info): Ditto. | |
8ffd9b1b | 2568 | (h8300_gdbarch_init): Accommodate register count for H8/300S. |
7be04a68 | 2569 | |
ae087d01 DJ |
2570 | 2003-06-18 Daniel Jacobowitz <[email protected]> |
2571 | ||
2572 | * config/nm-linux.h (linux_record_stopped_pid): New prototype. | |
2573 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
2574 | (lin_lwp_wait): Likewise. Update comments. | |
2575 | * linux-nat.c (struct simple_pid_list, add_to_pid_list) | |
2576 | (pull_pid_from_list, linux_record_stopped_pid): New. | |
2577 | ||
07d8f827 SC |
2578 | 2003-06-17 Stephane Carrez <[email protected]> |
2579 | ||
2580 | * ada-lang.c (scan_discrim_bound): Name first argument. | |
2581 | (ada_add_block_symbols): Remove BLOCK_SYM to use local variable | |
2582 | declared by ALL_BLOCK_SYMBOLS. | |
2583 | ||
7cb47b14 SC |
2584 | 2003-06-17 Stephane Carrez <[email protected]> |
2585 | ||
2586 | * ada-tasks.c (find_function_in_inferior): Don't declare it. | |
2587 | ("regcache.h"): Include it. | |
2588 | * ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN. | |
2589 | ||
6ad8ae5c DJ |
2590 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
2591 | ||
2592 | * NEWS: Mention gdbserver detach change and "disconnect" command. | |
2593 | * infcmd.c (disconnect_command): New function. | |
2594 | (_initialize_infcmd): Add ``disconnect'' command. | |
2595 | * remote.c (remote_async_detach): Delete. | |
2596 | (remote_detach): Merge remote_async_detach. | |
2597 | (remote_disconnect): New. | |
2598 | (init_remote_ops): Set to_disconnect. | |
2599 | (init_remote_cisco_ops): Likewise. | |
2600 | (init_remote_async_ops): Likewise. Use remote_detach. | |
2601 | * target.c (cleanup_target): Default to_disconnect. | |
2602 | (update_current_target): Inherit to_disconnect. | |
2603 | (target_disconnect, debug_to_disconnect): New functions. | |
2604 | (setup_target_debug): Set to_disconnect. | |
2605 | * target.h (struct target_ops): Add to_disconnect. | |
2606 | (target_disconnect): Add prototype. | |
2607 | ||
687595f9 DJ |
2608 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
2609 | ||
2610 | * breakpoint.c (insert_catchpoint): New function. | |
2611 | (insert_breakpoints): Use catch_exceptions to call | |
2612 | insert_catchpoint. Disable catchpoints if they fail to insert. | |
2613 | ||
29239a8f DJ |
2614 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
2615 | ||
2616 | * symfile.c (reread_symbols): Clear sym_private. | |
2617 | ||
2cdf3c63 AC |
2618 | 2003-06-17 Andrew Cagney <[email protected]> |
2619 | ||
2620 | * trad-frame.h (struct frame_info): Add opaque declaration. | |
2621 | * remote-fileio.h (struct cmd_list_element): Add opaque | |
2622 | declaration. | |
2623 | * h8300-tdep.c (h8300s_register_name): Avoid C++ // style | |
2624 | comments. | |
2625 | ||
cf0e1e0d DJ |
2626 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
2627 | ||
2628 | * remote.c (remote_prepare_to_store): Replace call to | |
2629 | deprecated_read_register_bytes with multiple regcache_raw_read | |
2630 | calls. | |
2631 | ||
192cdb19 KW |
2632 | 2003-06-17 Kris Warkentin <[email protected]> |
2633 | ||
2634 | * nto-tdep.c (nto_map_arch_to_cputype): Recognize "powerpc". | |
2635 | (nto_find_and_open_solib): Likewise. | |
2636 | (nto_init_solib_absolute_prefix): Likewise. | |
2637 | (_initialize_nto_tdep): Fix indentation. | |
2638 | ||
89929b45 KW |
2639 | 2003-06-17 Kris Warkentin <[email protected]> |
2640 | ||
2641 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR. | |
2642 | ||
46019f27 KW |
2643 | 2003-06-17 Kris Warkentin <[email protected]> |
2644 | ||
2645 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using. | |
2646 | ||
1a38736e JB |
2647 | 2003-06-17 Jim Blandy <[email protected]> |
2648 | ||
2649 | * ppc-linux-tdep.c: "Linux" -> "GNU/Linux" | |
2650 | ||
3605c34a TR |
2651 | 2003-06-16 Theodore A. Roth <[email protected]> |
2652 | ||
2653 | * avr-tdep.c (avr_extract_return_value): New function. | |
2654 | (avr_gdbarch_init): Set extract_return_value method. | |
2655 | ||
870b3035 AC |
2656 | 2003-06-16 Andrew Cagney <[email protected]> |
2657 | ||
2658 | * frame.h (deprecated_get_next_frame_hack): Declare. | |
2659 | * frame.c (legacy_saved_regs_prev_register): Only require | |
2660 | DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that | |
2661 | there are always saved regs. | |
2662 | (deprecated_generic_get_saved_register): Do not require | |
2663 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
2664 | (legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN, | |
2665 | use frame ID unwind instead. | |
2666 | (deprecated_get_next_frame_hack): New function. | |
2667 | ||
63d47a7d CV |
2668 | 2003-06-16 Corinna Vinschen <[email protected]> |
2669 | ||
2670 | * h8300-tdep.c (h8300_push_arguments): Remove. Substitute by... | |
2671 | (h8300_push_dummy_call): ...this function. Some minor optimization. | |
2672 | (h8300_push_return_address): Remove. | |
2673 | (h8300_gdbarch_init): Remove calls to | |
2674 | set_gdbarch_deprecated_dummy_write_sp, | |
2675 | set_gdbarch_deprecated_push_arguments and | |
2676 | set_gdbarch_deprecated_push_return_address. | |
2677 | Add call to set_gdbarch_push_dummy_call. | |
2678 | ||
4bb1dc5e CV |
2679 | 2003-06-16 Corinna Vinschen <[email protected]> |
2680 | ||
2681 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define. | |
2682 | (E_PSEUDO_EXR_REGNUM): Ditto. | |
2683 | (h8300_is_argument_spill): Check for instructions moving argument | |
8ffd9b1b | 2684 | registers into safe registers. |
4bb1dc5e CV |
2685 | (h8300_skip_prologue): Check for stm instruction to push registers |
2686 | used for register variables onto stack. | |
2687 | (gdb_print_insn_h8300): Remove. | |
2688 | (h8300_examine_prologue): Add a comment. | |
2689 | (h8300_register_name): Take pseudo registers into account. | |
2690 | (h8300s_register_name): Ditto. | |
2691 | (h8300sx_register_name): Ditto. | |
2692 | (h8300_print_register): Ditto. | |
2693 | (h8300_print_registers_info): Define "nice" printing order. | |
2694 | (h8300_saved_pc_after_call): Take pseudo registers into account. | |
2695 | (h8300_register_type): Ditto. Return type used for remote connection | |
2696 | when requesting real CCR or EXR register, return actual type when | |
2697 | requesting pseudo CCR or EXR. | |
2698 | (h8300_pseudo_register_read): New function. | |
2699 | (h8300_pseudo_register_write): Ditto. | |
2700 | (h8300_dbg_reg_to_regnum): Ditto. | |
2701 | (h8300s_dbg_reg_to_regnum): Ditto. | |
2702 | (h8300_gdbarch_init): Call set_gdbarch_num_pseudo_regs, | |
2703 | set_gdbarch_ecoff_reg_to_regnum, set_gdbarch_dwarf_reg_to_regnum, | |
2704 | set_gdbarch_dwarf2_reg_to_regnum, set_gdbarch_stab_reg_to_regnum and | |
2705 | set_gdbarch_print_insn architecture dependent. | |
2706 | Call set_gdbarch_pseudo_register_read and | |
2707 | set_gdbarch_pseudo_register_write. | |
2708 | (_initialize_h8300_tdep): Remove assignment to deprecated_tm_print_insn. | |
2709 | ||
a59fe496 AC |
2710 | 2003-06-16 Andrew Cagney <[email protected]> |
2711 | ||
2712 | * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate. | |
2713 | * gdbarch.h, gdbarch.c: Re-generate. | |
2714 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
2715 | * s390-tdep.c (s390_gdbarch_init): Update. | |
2716 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
2717 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
2718 | * mips-tdep.c (mips_gdbarch_init): Update. | |
2719 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
2720 | * cris-tdep.c (cris_gdbarch_init): Update. | |
2721 | * infcall.c (call_function_by_hand): Update. | |
2722 | * ia64-tdep.c (ia64_push_arguments): Update comment. | |
2723 | * frame.c (legacy_get_prev_frame): Do not assume | |
2724 | SAVE_DUMMY_FRAME_TOS_P. | |
2725 | * dummy-frame.c (find_dummy_frame): Update comment. | |
2726 | ||
6f4e5a41 AC |
2727 | 2003-06-16 Andrew Cagney <[email protected]> |
2728 | ||
2729 | * regcache.c (do_cooked_read): Do not use register_valid_p. | |
2730 | ||
72fab697 TR |
2731 | 2003-06-15 Theodore A. Roth <[email protected]> |
2732 | ||
2733 | * avr-tdep.c (avr_register_type): Remove a blank line. | |
2734 | (avr_scan_prologue): Correct some comments. | |
2735 | ||
e3d8b004 TR |
2736 | 2003-06-15 Theodore A. Roth <[email protected]> |
2737 | ||
2738 | * avr-tdep.c (avr_scan_prologue): Update comment describing the various | |
2739 | prologue types. | |
8ffd9b1b | 2740 | Properly scan prologues generated by gcc with the -mcall-prologues |
e3d8b004 TR |
2741 | option. |
2742 | Add code to scan -mcall-prologues for mega devices. | |
2743 | ||
866b76ea TR |
2744 | 2003-06-15 Theodore A. Roth <[email protected]> |
2745 | ||
2746 | * avr-tdep.c (avr_register_byte): Delete function. | |
2747 | (avr_register_raw_size): Delete function. | |
2748 | (avr_register_virtual_size): Delete function. | |
2749 | (avr_register_virtual_type): Delete function. | |
2750 | (avr_register_type): New function. | |
2751 | (avr_address_to_pointer): Remove unused code. | |
2752 | (avr_read_fp): Need to read FP as two separate bytes due to change to | |
2753 | avr_register_type() usage. | |
2754 | (avr_gdbarch_init): Don't set deprecated_register_size. | |
2755 | Don't set deprecated_register_bytes. | |
2756 | Don't set deprecated_register_byte. | |
2757 | Don't set deprecated_register_raw_size. | |
2758 | Don't set deprecated_max_register_raw_size. | |
2759 | Don't set deprecated_register_virtual_size. | |
2760 | Don't set deprecated_max_register_virtual_size. | |
2761 | Don't set deprecated_register_virtual_type. | |
2762 | Set register_type method. | |
2763 | ||
3993f6b1 DJ |
2764 | 2003-06-15 Daniel Jacobowitz <[email protected]> |
2765 | ||
2766 | * Makefile.in (linux-nat.o): Add rule. | |
2767 | * linux-nat.c: New file. | |
2768 | * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define. | |
2769 | (CHILD_INSERT_VFORK_CATCHPOINT): Define. | |
2770 | (CHILD_INSERT_EXEC_CATCHPOINT): Define. | |
2771 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o. | |
2772 | * config/arm/linux.mh (NATDEPFILES): Likewise. | |
2773 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
2774 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
2775 | * config/ia64/linux.mh (NATDEPFILES): Likewise. | |
2776 | * config/m68k/linux.mh (NATDEPFILES): Likewise. | |
2777 | * config/mips/linux.mh (NATDEPFILES): Likewise. | |
2778 | * config/powerpc/linux.mh (NATDEPFILES): Likewise. | |
2779 | * config/s390/s390.mh (NATDEPFILES): Likewise. | |
2780 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
2781 | ||
786a90bb MK |
2782 | 2003-06-15 Mark Kettenis <[email protected]> |
2783 | ||
2784 | * i387-tdep.c: Reorder includes, fix some whitespace issues and | |
2785 | replace out-of-date comment. | |
2786 | ||
3bd3f01e AC |
2787 | 2003-06-15 Andrew Cagney <[email protected]> |
2788 | ||
2789 | * rdi-share/host.h (Fail): Change to a varargs function. | |
2790 | * remote-rdi.c (Fail): Update. | |
8ffd9b1b | 2791 | |
de5b9bb9 MK |
2792 | 2003-06-15 Mark Kettenis <[email protected]> |
2793 | ||
2794 | * i386-tdep.c (i386_next_regnum): Fix bounds checking. | |
2795 | (i386_convert_register_p, i386_register_to_value, | |
2796 | i386_register_from_value): Handle types longer than 8 bytes. | |
2797 | ||
d532c08f MK |
2798 | 2003-06-15 Mark Kettenis <[email protected]> |
2799 | ||
2800 | * i386-tdep.c (i386_register_to_value, i386_value_to_register): | |
2801 | Move floating-point code to new function in i387-tdep.c. | |
2802 | * i387-tdep.c (i387_register_to_value, i387_value_to_register): | |
2803 | New functions containing code moved here from i386-tdep.c. | |
2804 | * i387-tdep.h: Add opaque declaration for `struct type'. | |
2805 | (i387_register_to_value, i387_value_to_register): New prototypes. | |
2806 | * x86-64-tdep.c (x86_64_convert_register_p): New function. | |
2807 | (x86_64_init_abi): Set convert_register_p, register_to_value and | |
2808 | value_to_register here. | |
8ffd9b1b | 2809 | |
42c466d7 AC |
2810 | 2003-06-14 Andrew Cagney <[email protected]> |
2811 | ||
2812 | * mips-tdep.c (mips_register_to_value): Make static. | |
2813 | (mips_value_to_register): Make static. | |
2814 | * i386-tdep.c (i386_fetch_pointer_argument): Make static. | |
2815 | * ia64-tdep.c (ia64_register_raw_size): Make static. | |
2816 | (ia64_register_virtual_size): Make static. | |
2817 | (ia64_register_byte): Make static. | |
2818 | * i387-tdep.c: Include "i387-tdep.h". | |
2819 | (print_387_control_word): Delete function. | |
2820 | (print_387_status_word): Delete function. | |
2821 | (print_387_status_bits): Delete function. | |
2822 | (print_387_control_bits): Delete function. | |
2823 | * Makefile.in (i387-tdep.o): Update dependencies. | |
2824 | * rdi-share/host.h (Fail): Declare. | |
2825 | * remote-rdi.c (Fail): Update to match declaration. | |
2826 | ||
2a9cda49 AC |
2827 | 2003-06-14 Andrew Cagney <[email protected]> |
2828 | ||
2829 | * config/mips/embedl64.mt (TDEPFILES): Delete "remote-array.o". | |
2830 | * config/mips/embedl.mt (TDEPFILES): Delete "remote-array.o". | |
2831 | * config/mips/embed64.mt (TDEPFILES): Delete "remote-array.o". | |
2832 | * config/djgpp/fnchange.lst: Delete "remote-array.c". | |
2833 | * README: Delete reference to remote-array. | |
2834 | * Makefile.in (ALLDEPFILES): Remove "remote-array.c". | |
2835 | (remote-array.o): Delete target. | |
2836 | * config/mips/embed.mt (TDEPFILES): Delete "remote-array.o". | |
2837 | * remote-array.c: Delete file. | |
2838 | ||
ff2e87ac AC |
2839 | 2003-06-14 Andrew Cagney <[email protected]> |
2840 | Mark Kettenis <[email protected]> | |
2841 | ||
2842 | * gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter. | |
2843 | (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace raw buffer | |
2844 | parameter with "frame". | |
2845 | * gdbarch.h, gdbarch.c: Re-generate. | |
2846 | * frame.h (put_frame_register): Declare. | |
2847 | * frame.c (put_frame_register): New function. | |
2848 | * arch-utils.c (legacy_convert_register_p): Add "type" parameter. | |
2849 | (legacy_register_to_value): Rewrite, use "frame" to get the | |
2850 | register value. | |
2851 | (legacy_value_to_register): Rewrite, use "frame" to find the | |
2852 | register's location before storing. | |
2853 | * arch-utils.h (legacy_convert_register_p): Update. | |
2854 | (legacy_register_to_value, legacy_value_to_register): Update. | |
2855 | * findvar.c (value_from_register): Rewrite, eliminate use of | |
2856 | REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass | |
2857 | "frame" to REGISTER_TO_VALUE. | |
2858 | * valops.c (value_assign): Move the CONVERT_REGISTER code to the | |
2859 | lval_reg_frame_relative + lval_register branch of the switch. Do | |
2860 | not use REGISTER_CONVERT_FROM_TYPE. Use put_frame_register. | |
2861 | * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM, | |
2862 | I386_EDI_REGNUM): New defines. | |
2863 | (i386_next_regnum, i386_convert_register_p, | |
2864 | i386_register_to_value, i386_value_to_register): New functions. | |
2865 | (i386_register_convertible, i386_register_convert_to_virtual, | |
2866 | i386_convert_to_raw): Remove functions. | |
2867 | (i386_gdbarch_init): Set convert_register_p, register_to_value and | |
2868 | value_to_register instead of register_convertible, | |
2869 | register_convert_to_virtual and register_convert_to_raw. | |
2870 | * mips-tdep.c (mips_convert_register_p): New function. | |
2871 | (mips_value_to_register): Replace mips_register_convert_from_type. | |
2872 | (mips_register_to_value): Replace mips_register_convert_to_type. | |
2873 | (mips_gdbarch_init): Set conver_register_p, value_to_register and | |
2874 | register_to_value. | |
2875 | * alpha-tdep.c (alpha_convert_register_p): Update. | |
2876 | (alpha_value_to_register): Update, store the register. | |
2877 | (alpha_register_to_value): Update, fetch the register. | |
2878 | ||
98be1e77 TR |
2879 | 2003-06-14 Theodore A. Roth <[email protected]> |
2880 | ||
2881 | * avr-tdep.c (avr_remote_translate_xfer_address): Delete function. | |
2882 | (avr_gdbarch_init): Remove avr_call_dummy_words variable. | |
2883 | Don't set deprecated_call_dummy_words. | |
2884 | Remove commented out set_gdbarch_believe_pcc_promotion() call. | |
2885 | Don't set remote_translate_xfer_address. | |
2886 | (avr_io_reg_read_command): Remove commented out debug printf. | |
2887 | Wrap a long line. | |
2888 | ||
57bc6122 TR |
2889 | 2003-06-14 Theodore A. Roth <[email protected]> |
2890 | ||
2891 | * avr-tdep.c (avr_scan_prologue): Fix to avoid a buffer over run which | |
2892 | causes gdb to seg fault. | |
2893 | ||
eb01fc62 DJ |
2894 | 2003-06-14 Daniel Jacobowitz <[email protected]> |
2895 | ||
2896 | * sparc-nat.c (fetch_inferior_registers): Correct | |
2897 | a reference to "registers". | |
2898 | ||
3b3e6bee DJ |
2899 | 2003-06-14 Jeroen Dekkers <[email protected]> |
2900 | ||
2901 | * Makefile.in (exc_request_U_h): Define | |
2902 | (exc_request_S_h): Likewise. | |
2903 | (msg_reply_S_h): Likewise. | |
2904 | (msg_U_h): Likewise. | |
2905 | (notify_S_h): Likewise. | |
2906 | (process_reply_S_h): Likewise. | |
2907 | (gnu-nat.o): Depend on gdb_obstack_h | |
2908 | * gnu-nat.c: Include "gdb_obstack.h". | |
2909 | ||
b8de8283 AC |
2910 | 2003-06-13 Andrew Cagney <[email protected]> |
2911 | ||
2912 | * gdbarch.sh: Document what PUSH_DUMMY_CALL replaces. | |
2913 | * gdbarch.h, gdbarch.c: Re-generate. | |
8ffd9b1b | 2914 | |
f3be58bc AC |
2915 | 2003-06-13 Andrew Cagney <[email protected]> |
2916 | ||
2917 | * gdbarch.sh: Document what UNWIND_DUMMY_ID replaces. Clarify | |
2918 | when deprecated REGISTER macros can be deleted. | |
2919 | * gdbarch.h, gdbarch.c: Re-generate. | |
2920 | ||
4c0122c8 JB |
2921 | 2003-06-13 Jim Blandy <[email protected]> |
2922 | ||
2923 | * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC | |
2924 | Linux entry point symbols for _dl_debug_state, too. | |
2925 | ||
3e210248 AC |
2926 | 2003-06-13 Andrew Cagney <[email protected]> |
2927 | ||
2928 | * infcall.c (call_function_by_hand): When UNWIND_DUMMY_ID is | |
2929 | available, do not use the FP register, and always save the TOS. | |
2930 | * dummy-frame.c (dummy_frame_this_id): Do not assert | |
2931 | SAVE_DUMMY_FRAME_TOS. | |
2932 | * i386-tdep.c (i386_save_dummy_frame_tos): Delete function. | |
2933 | (i386_gdbarch_init): Do not set save_dummy_frame_tos. | |
2934 | (i386_push_dummy_call): Add 8 to the returned SP. | |
2935 | * frame.c (legacy_frame_p): Do not require SAVE_DUMMY_FRAME_TOS. | |
2936 | * d10v-tdep.c (d10v_unwind_dummy_id): Use d10v_unwind_sp. | |
2937 | (d10v_gdbarch_init): Do not set save_dummy_frame_tos. | |
2938 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos): Delete function. | |
2939 | (x86_64_push_dummy_call): Return "sp + 16". | |
2940 | (x86_64_init_abi): Do not set save_dummy_frame_tos. | |
2941 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
2942 | save_dummy_frame_tos. | |
2943 | ||
0b65af49 JB |
2944 | 2003-06-13 Jim Blandy <[email protected]> |
2945 | ||
2946 | * frv-tdep.c (frv_use_struct_convention): Delete static | |
2947 | declaration for function deleted in my change of 2003-06-12. | |
2948 | ||
4ea2465e TR |
2949 | 2003-06-13 Theodore A. Roth <[email protected]> |
2950 | ||
2951 | * avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit. | |
2952 | (avr_pointer_to_address): Shift code addrs left 1 bit. | |
2953 | (avr_convert_from_func_ptr_addr): Delete function since operation is | |
2954 | better handled by avr_address_to_pointer and avr_pointer_to_address. | |
2955 | (avr_gdbarch_init): Don't set convert_from_func_ptr_add method. | |
2956 | ||
1581182a MK |
2957 | 2003-06-13 Mark Kettenis <[email protected]> |
2958 | ||
2959 | From Kelley Cook <[email protected]>: | |
2960 | * configure.host: Accept i[34567]86 variants. | |
2961 | * configure.tgt: Likewise. | |
2962 | * nlm/configure.in: Likewise. | |
2963 | * nlm/configure: Regenerated. | |
2964 | ||
7aa1783e RE |
2965 | 2003-06-13 Richard Earnshaw <[email protected]> |
2966 | ||
2967 | * arm-tdep.c (solib-svr4.h): Dont' include it. | |
2968 | (arm_linux_svr4_fetch_link_map_offsets): Move to ... | |
2969 | * arm-linux-tdep.c: ... here. Make static. | |
2970 | (arm_linux_init_abi): Register it. | |
2971 | (solib-svr4.h): Include it. | |
2972 | * Makefile.in: Update dependencies. | |
2973 | * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete. | |
2974 | (arm_linux_svr4_fetch_link_map_offsets): Delete declaration. | |
2975 | ||
0261a0d0 CV |
2976 | 2003-06-13 Corinna Vinschen <[email protected]> |
2977 | ||
2978 | * h8300-tdep.c: Add definitions E_RET0_REGNUM and E_RET1_REGNUM to | |
2979 | indicate registers used for return values. | |
2980 | (struct frame_extra_info): Drop args_pointer and locals_pointer. | |
2981 | (h8300_examine_prologue): Remove initializing dropped frame_extra_info | |
2982 | members. | |
2983 | (h8300_init_extra_frame_info): Ditto. | |
2984 | (h8300_frame_locals_address): Removed. | |
2985 | (h8300_frame_args_address): Removed. | |
2986 | (h8300_extract_return_value): Use new regcache structure. Only care | |
2987 | for 16 bit CPUs. | |
2988 | (h8300h_extract_return_value): Same function for 32 bit CPUs. | |
2989 | (h8300_store_return_value): Use new regcache structure. Only care | |
2990 | for 16 bit CPUs. | |
2991 | (h8300h_store_return_value): Same function for 32 bit CPUs. | |
2992 | (h8300_store_struct_return): Removed. | |
2993 | (h8300_extract_struct_value_address): Use new regcache structure. | |
2994 | (h8300h_extract_struct_value_address): Removed. | |
2995 | (h8300_push_dummy_code): New function. | |
2996 | (h8300_gdbarch_init): Slightly rearranged to stress deprecated calls. | |
2997 | Remove call_dummy_words. Call set_gdbarch_extract_return_value and | |
2998 | set_gdbarch_store_return_value architecture dependent. | |
2999 | Call set_gdbarch_push_dummy_code and | |
3000 | set_gdbarch_extract_struct_value_address. | |
3001 | Remove calls to set_gdbarch_frame_args_address, | |
3002 | set_gdbarch_frame_locals_address, | |
3003 | set_gdbarch_deprecated_store_struct_return, | |
3004 | set_gdbarch_deprecated_extract_return_value, | |
3005 | set_gdbarch_deprecated_extract_struct_value_address, | |
3006 | set_gdbarch_deprecated_call_dummy_words and | |
3007 | set_gdbarch_deprecated_sizeof_call_dummy_words. | |
3008 | ||
055c394a CV |
3009 | 2003-06-13 Corinna Vinschen <[email protected]> |
3010 | ||
3011 | * h8300-tdep.c (h8300_register_byte): Remove. | |
3012 | (h8300h_register_byte): Remove. | |
3013 | (h8300_register_virtual_type): Remove. Substitute by... | |
3014 | (h8300_register_type): New function. | |
3015 | (h8300_extract_struct_value_address): Drop usage of h8300_register_byte. | |
3016 | (h8300h_extract_struct_value_address): Ditto. | |
3017 | (h8300_gdbarch_init): Drop calls to | |
3018 | set_gdbarch_deprecated_register_byte and | |
3019 | set_gdbarch_deprecated_register_virtual_type. | |
3020 | Add call to set_gdbarch_register_type. | |
3021 | ||
9c04cab7 AC |
3022 | 2003-06-13 Andrew Cagney <[email protected]> |
3023 | ||
3024 | * gdbarch.sh: Update comments on registers. | |
3025 | (deprecated_register_byte): Rename register_byte. | |
3026 | (deprecated_register_raw_size): Rename register_raw_size. | |
3027 | (deprecated_register_virtual_size): Rename register_virtual_size. | |
3028 | (deprecated_register_virtual_type): Rename register_virtual_type. | |
3029 | * gdbarch.h, gdbarch.c: Re-generate. | |
3030 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
3031 | * vax-tdep.c (vax_gdbarch_init): Update. | |
3032 | * v850-tdep.c (v850_gdbarch_init): Update. | |
3033 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
3034 | * sh-tdep.c (sh_gdbarch_init): Update. | |
3035 | * s390-tdep.c (s390_gdbarch_init): Update. | |
3036 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3037 | * ns32k-tdep.c: Update. | |
3038 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
3039 | * mips-tdep.c (mips_gdbarch_init): Update. | |
3040 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
3041 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
3042 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
3043 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
3044 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
3045 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
3046 | * frv-tdep.c (frv_gdbarch_init): Update. | |
3047 | * cris-tdep.c (cris_gdbarch_init): Update. | |
3048 | * avr-tdep.c (avr_gdbarch_init): Update. | |
3049 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
3050 | * arm-tdep.c (arm_gdbarch_init): Update. | |
3051 | ||
b060cbea AC |
3052 | 2003-06-13 Andrew Cagney <[email protected]> |
3053 | ||
3054 | * mips-tdep.c (mips_gdbarch_init): Replace remaining instances of | |
3055 | mips_o32_use_struct_convention with always_use_struct_convention. | |
3056 | ||
0fc9922a DC |
3057 | 2003-06-12 David Carlton <[email protected]> |
3058 | ||
3059 | * cp-namespace.c (cp_set_block_scope): Comment out | |
3060 | processing_has_namespace_info branch. | |
3061 | ||
1fd35568 JB |
3062 | 2003-06-12 Jim Blandy <[email protected]> |
3063 | ||
f470a70a JB |
3064 | Recognize and skip 64-bit PowerPC Linux linkage functions. |
3065 | * ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct | |
3066 | insn_pattern, insns_match_pattern, d_field, ds_field): New | |
3067 | functions, macros, and types for working with PPC instructions. | |
3068 | (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN, | |
3069 | ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target, | |
3070 | ppc64_skip_trampoline_code): New functions, variables, and macros | |
3071 | for recognizing and skipping linkage functions. | |
3072 | (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and | |
3073 | ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI. | |
3074 | ||
49ff75ad JB |
3075 | * ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-area |
3076 | register offsets for both the 32- and 64-bit interfaces. | |
3077 | ||
bd918c83 JB |
3078 | Actually finish the job started by my change of 2003-05-29. |
3079 | * config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the | |
3080 | other #definition of this. | |
3081 | (ppc_linux_skip_trampoline_code): Remove declaration. | |
3082 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this | |
3083 | static. | |
3084 | (ppc_linux_init_abi): Register it as the skip_trampoline_code | |
3085 | method for GDBARCH. | |
3086 | ||
3087 | * config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This is | |
3088 | 'long' on ppc64-*-linux*. | |
3089 | ||
f8c59253 JB |
3090 | * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ |
3091 | isn't #defined, assume the register doesn't exist: act as if | |
3092 | tdep->ppc_mq_regnum were -1. | |
3093 | ||
8fbb30b1 JB |
3094 | * configure.host, configure.tgt: Add entries for |
3095 | powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and | |
3096 | powerpc/linux.mt. | |
3097 | * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: | |
3098 | New files. | |
3099 | ||
1fd35568 JB |
3100 | * arch-utils.c (always_use_struct_convention): New function. |
3101 | * arch-utils.h (always_use_struct_convention): New prototype. | |
3102 | * alpha-tdep.c (alpha_use_struct_convention): Delete. | |
3103 | (alpha_gdbarch_init): Register always_use_struct_convention, | |
3104 | instead of alpha_use_struct_convention. | |
3105 | * cris-tdep.c (cris_use_struct_convention): Delete. | |
3106 | (cris_gdbarch_init): Register always_use_struct_convention, | |
3107 | instead of cris_use_struct_convention. | |
3108 | * frv-tdep.c (frv_use_struct_convention): Delete. | |
3109 | (frv_gdbarch_init): Register always_use_struct_convention, | |
3110 | instead of frv_use_struct_convention. | |
3111 | * h8300-tdep.c (h8300_use_struct_convention): Delete. | |
3112 | (h8300_gdbarch_init): Register always_use_struct_convention, | |
3113 | instead of h8300_use_struct_convention. | |
e3305dd9 | 3114 | * mips-tdep.c (mips_o32_use_struct_convention): Delete. |
1fd35568 JB |
3115 | (mips_o32_gdbarch_init): Register always_use_struct_convention, |
3116 | instead of mips_o32_use_struct_convention. | |
3117 | ||
e14e6e9c AC |
3118 | 2003-06-12 Andrew Cagney <[email protected]> |
3119 | ||
3120 | * wince.c: Include "mips-tdep.h". | |
3121 | * mips-tdep.h (mips_next_pc): Declare. | |
3122 | * mcore-tdep.c: Make more local functions static. | |
3123 | * Makefile.in (wince.o): Update dependencies. | |
3124 | ||
2335f48e DC |
3125 | 2003-06-12 David Carlton <[email protected]> |
3126 | ||
3127 | * symtab.c (lookup_symbol_aux_minsyms): Replace | |
3128 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
3129 | (find_pc_sect_line, search_symbols, rbreak_command): Ditto. | |
3130 | (COMPLETION_LIST_ADD_SYMBOL): Rewrite in terms of | |
3131 | SYMBOL_NATURAL_NAME. | |
3132 | ||
f70a7d61 AS |
3133 | 2003-06-12 Andreas Schwab <[email protected]> |
3134 | ||
3135 | * Makefile.in (tuiDisassem.o): Update dependencies. | |
3136 | ||
b6429628 DC |
3137 | 2003-06-12 David Carlton <[email protected]> |
3138 | ||
3139 | * symtab.h: Delete declaration of make_symbol_overload_list. | |
3140 | Add declaration of lookup_partial_symbol. | |
3141 | * symtab.c (remove_params): Move to cp-support.c. | |
3142 | (overload_list_add_symbol, make_symbol_overload_list) | |
3143 | (sym_return_val_size, sym_return_val_index): Ditto. | |
3144 | (lookup_partial_symbol): Make extern. | |
3145 | * cp-support.h: Add declaration of make_symbol_overload_list. | |
3146 | * cp-support.c: Include dictionary.h, objfiles.h, frame.h, | |
3147 | symtab.h, and block.h. | |
3148 | (remove_params): Move here from symtab.c. | |
3149 | (overload_list_add_symbol, make_symbol_overload_list) | |
3150 | (sym_return_val_size, sym_return_val_index): Ditto. | |
3151 | * valops.c: Include cp-support.h. | |
3152 | * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h, | |
3153 | frame_h, and block_h. | |
3154 | (valops.o): Depend on cp_support_h. | |
3155 | ||
084edea5 CV |
3156 | 2003-06-12 Corinna Vinschen <[email protected]> |
3157 | ||
3158 | * h8300-tdep.c: Add H8SX registers. Drop E_NUM_REGS entirely, | |
3159 | substitute by NUM_REGS throughout. | |
3160 | (h8300_register_name): Only care for H8/300 and H8/300H registers. | |
3161 | (h8300s_register_name): New function for H8S registers. | |
3162 | (h8300sx_register_name): Ditto for H8SX registers. | |
3163 | (h8300_print_register): Revise register printing, avoid depending | |
3164 | on 32 bit long. | |
0261a0d0 | 3165 | (h8300_register_byte): Only care for H8/300 registers. |
084edea5 CV |
3166 | (h8300h_register_byte): New function for any other architecture. |
3167 | (h8300_register_raw_size): Remove. | |
3168 | (h8300_register_virtual_type): Revise to return actually useful | |
3169 | type. | |
3170 | (h8300_extract_struct_value_address): Only care for H8/300 registers. | |
3171 | (h8300h_extract_struct_value_address): New function for any other | |
3172 | architecture. | |
3173 | (h8300_gdbarch_init): Add h8300sxn. Call set_gdbarch_num_regs, | |
3174 | set_gdbarch_register_name, set_gdbarch_register_byte, | |
3175 | set_gdbarch_ptr_bit and set_gdbarch_addr_bit architecture dependent. | |
3176 | Remove calls to set_gdbarch_deprecated_register_size, | |
3177 | set_gdbarch_deprecated_register_bytes, set_gdbarch_register_raw_size, | |
3178 | set_gdbarch_deprecated_max_register_raw_size, | |
3179 | set_gdbarch_register_virtual_size and | |
3180 | set_gdbarch_deprecated_max_register_virtual_size entirely. | |
3181 | Call set_gdbarch_long_long_bit, set_gdbarch_double_bit and | |
3182 | set_gdbarch_long_double_bit. | |
3183 | ||
06194148 JJ |
3184 | 2003-06-11 Jeff Johnston <[email protected]> |
3185 | ||
8ffd9b1b AJ |
3186 | * doublest.c (convert_doublest_to_floatformat): When dealing |
3187 | with the implied integer bit, only alter mant_bits if we are | |
06194148 JJ |
3188 | processing a full 32 bits of mantissa. |
3189 | ||
de4f826b DC |
3190 | 2003-06-11 David Carlton <[email protected]> |
3191 | ||
3192 | * dictionary.h: New. | |
3193 | * dictionary.c: New. | |
3194 | * block.h: Add opaque declaration for struct dictionary. | |
3195 | (struct block): Add 'dict' member; delete 'hashtable', 'nsyms', | |
3196 | 'sym' members. | |
3197 | (BLOCK_DICT): New macro. | |
3198 | Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM, | |
3199 | BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE, | |
3200 | BLOCK_SHOULD_SORT. | |
3201 | (ALL_BLOCK_SYMBOLS): Update definition. | |
3202 | * Makefile.in (SFILES): Add dictionary.c. | |
3203 | (dictionary_h): New. | |
3204 | (COMMON_OBS): Add dictionary.o. | |
3205 | (dictionary.o): New. | |
3206 | (ada-lang.o): Depend on dictionary_h. | |
3207 | (buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o) | |
3208 | (stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o) | |
3209 | (mi-cmd-stack.o): Ditto. | |
3210 | (gdbtk-cmds.o): Update dependencies. | |
3211 | (gdbtk-stack.o): Ditto. | |
3212 | * ada-lang.c: Include dictionary.h. | |
3213 | (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS. | |
3214 | (fill_in_ada_prototype, debug_print_block): Ditto. | |
3215 | (ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace | |
3216 | explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable | |
3217 | 'is_sorted'. | |
3218 | * mdebugread.c: Include dictionary.h. | |
3219 | (struct parse_stack): Delete 'maxsyms' member. | |
3220 | (parse_symbol): Update calls to new_block. Delete calls to | |
3221 | shrink_block. Use dictionary methods. | |
3222 | (psymtab_to_symtab_1): Delete calls to sort_symtab_syms. | |
3223 | Update calls to new_symtab. Don't maintain maxsyms data. | |
3224 | (mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS. | |
3225 | (add_symbol): Just call dict_add_symbol. | |
3226 | (new_symtab): Delete 'maxsyms' argument. | |
3227 | (new_symtab): Update calls to new_block. | |
3228 | (new_block): Delete 'maxsyms' argument; add 'function' argument. | |
3229 | (shrink_block): Delete function. | |
3230 | (fixup_sigtramp): Update call to new_block. Add symbol via | |
3231 | dict_add_symbol. | |
3232 | * jv-lang.c: Include dictionary.h. | |
3233 | (get_java_class_symtab): Set the BLOCK_DICT of the blocks | |
3234 | appropriately. Set class_symtab->free_func. Make sure the | |
3235 | blockvector is big enough to hold two blocks. | |
3236 | (add_class_symtab_symbol): Use dictionary methods. | |
3237 | (free_class_block): New function. | |
3238 | (type_from_class): Replace explicit iteration by | |
3239 | ALL_BLOCK_SYMBOLS. | |
3240 | * symtab.h (struct symtab): Replace 'free_ptr' method by | |
3241 | 'free_func'. | |
3242 | * dwarf2read.c (psymtab_to_symtab_1): Delete call to | |
3243 | sort_symtab_syms. | |
3244 | * dwarfread.c (psymtab_to_symtab_1): Delete call to | |
3245 | sort_symtab_syms. | |
3246 | * coffread.c (coff_symfile_read): Delete call to sort_symtab_syms. | |
3247 | Include dictionary.h. | |
3248 | (patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS. | |
3249 | * dbxread.c (dbx_psymtab_to_symtab_1): Delete call to | |
3250 | sort_symtab_syms. | |
3251 | * objfiles.c: Include dictionary.h. | |
3252 | (objfile_relocate): Update use of ALL_BLOCK_SYMBOLS. | |
3253 | * buildsym.c: Include dictionary.h. | |
3254 | (finish_block): Use dictionary methods. | |
3255 | (end_symtab): Set free_func to NULL, not free_ptr. | |
3256 | * tracepoint.c: Include dictionary.h. | |
3257 | (add_local_symbols): Update use of ALL_BLOCK_SYMBOLS. | |
3258 | (scope_info): Ditto. | |
3259 | * stack.c: Include dictionary.h. | |
3260 | (print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS. | |
3261 | (print_block_frame_labels, print_frame_arg_vars) | |
3262 | (print_frame_args): Ditto. | |
3263 | * symmisc.c (free_symtab_block): Use dictionary methods. | |
3264 | (dump_symtab): Ditto. | |
3265 | (free_symtab): Replace use of 'free_ptr' by 'free_func'. | |
3266 | Include dictionary.h. | |
3267 | * symfile.h: Delete declarations of sort_block_syms, | |
3268 | sort_symtab_syms. | |
3269 | * symfile.c (sort_block_syms): Delete. | |
3270 | (sort_symtab_syms): Delete. | |
3271 | * symtab.c: Include dictionary.h. | |
3272 | (lookup_block_symbol): Use dictionary iterators. | |
3273 | (find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS. | |
3274 | (search_symbols, make_symbol_completion_list): Ditto. | |
3275 | (make_symbol_overload_list): Ditto. | |
3276 | * valops.c (value_of_local): Use dict_empty. | |
3277 | Include dictionary.h. | |
3278 | ||
a31f978c JB |
3279 | 2003-06-11 J. Brobecker <[email protected]> |
3280 | ||
3281 | * win32-nat.c (solib_symbols_add): Fix a small compilation error. | |
3282 | ||
526e70c0 DC |
3283 | 2003-06-11 David Carlton <[email protected]> |
3284 | ||
3285 | * block.h (BLOCK_SHOULD_SORT): Delete. | |
3286 | * symtab.c (lookup_block_symbol): Don't worry about sorted linear | |
3287 | blocks. | |
3288 | * ada-lang.c (ada_add_block_symbols): Ditto. | |
3289 | * symfile.c (sort_block_syms): Delete. | |
3290 | (sort_symtab_syms): Ditto. | |
3291 | * symfile.h: Delete sort_symtabs_syms and sort_block_syms | |
3292 | declarations. | |
3293 | * coffread.c (coff_symfile_read): Don't call sort_symtab_syms. | |
3294 | * dbxread.c (dbx_psymtab_to_symtab_1): Ditto. | |
3295 | * dwarf2read.c (psymtab_to_symtab_1): Ditto. | |
3296 | * dwarfread.c (psymtab_to_symtab_1): Ditto. | |
3297 | * hpread.c (hpread_psymtab_to_symtab_1): Ditto. | |
3298 | * mdebugread.c (psymtab_to_symtab_1): Ditto. | |
3299 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto. | |
3300 | ||
33c08150 JJ |
3301 | 2003-06-11 Jeff Johnston <[email protected]> |
3302 | ||
8ffd9b1b | 3303 | * ia64-tdep.c (ia64_gdbarch_init): Set number of long double |
33c08150 JJ |
3304 | bits to 128. |
3305 | ||
781a750d AC |
3306 | 2003-06-11 Andrew Cagney <[email protected]> |
3307 | ||
3308 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate | |
3309 | REGISTER_CONVERTIBLE. | |
3310 | (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same. | |
3311 | (DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant. | |
3312 | * gdbarch.h, gdbarch.c: Re-generate. | |
3313 | * arch-utils.h (deprecated_register_convertible_not): Rename | |
3314 | generic_register_convertible_not. | |
3315 | * arch-utils.c (deprecated_register_convertible_not): Rename | |
3316 | generic_register_convertible. | |
3317 | (legacy_convert_register_p, legacy_register_to_value): Update. | |
3318 | * sh-tdep.c (sh64_push_arguments): Update. | |
3319 | * m68klinux-tdep.c (m68k_linux_extract_return_value): Update. | |
3320 | * config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update. | |
3321 | * m68klinux-tdep.c (m68k_linux_store_return_value): Update. | |
3322 | * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update. | |
3323 | * arch-utils.c (legacy_value_to_register): Update. | |
3324 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3325 | (rs6000_register_convert_to_raw): Make parameter "from" const. | |
3326 | * mips-tdep.c (mips_gdbarch_init): Update. | |
3327 | (mips_register_convert_to_raw): Make parameter"virt_buf" const. | |
3328 | * infcmd.c (default_print_registers_info): Update. | |
3329 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
3330 | (ia64_register_convert_to_raw): Make parameter "from" const. | |
3331 | * i386-tdep.c (i386_gdbarch_init): Update. | |
3332 | (i386_register_convert_to_raw): Update. | |
3333 | ||
cd90e54f AC |
3334 | 2003-06-11 Andrew Cagney <[email protected]> |
3335 | ||
3336 | * remote-fileio.c: Include "remote-fileio.h". | |
3337 | * Makefile.in (remote-fileio.o): Update dependencies. | |
3338 | (remote_fileio_h): Fix typo. | |
3339 | ||
a78f21af AC |
3340 | 2003-06-11 Andrew Cagney <[email protected]> |
3341 | ||
3342 | * xstormy16-tdep.c (xstormy16_push_return_address): Make static. | |
3343 | (xstormy16_save_dummy_frame_tos): Make static. | |
3344 | (_initialize_xstormy16_tdep): Add declaration. | |
3345 | * vax-tdep.c (_initialize_vax_tdep): Add declaration. | |
3346 | * v850-tdep.c: Make local functions static. | |
3347 | (_initialize_v850_tdep): Add declaration. | |
3348 | * sparc-tdep.c: Make local functions static. | |
3349 | (_initialize_sparc_tdep): Add declaration. | |
3350 | * sh-tdep.c: Make local functions static. | |
3351 | (_initialize_sh_tdep): Add declaration. | |
3352 | * sh3-rom.c (_initialize_sh3_rom): Add declaration. | |
3353 | * s390-tdep.c: Make local functions static. | |
3354 | (_initialize_s390_tdep): Add declaration. | |
3355 | * dbxread.c (find_stab_function_addr): Make static. | |
3356 | * ppc-bdm.c (_initialize_bdm_ppc): Add declaration. | |
3357 | * ocd.c (_initialize_remote_ocd): Add declaration. | |
3358 | * dink32-rom.c (_initialize_dink32_rom): Add declaration. | |
3359 | * ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration. | |
3360 | * ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration. | |
3361 | * ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration. | |
3362 | * mips-tdep.c (_initialize_mips_tdep): Add declaration. | |
3363 | * remote-array.c (_initialize_array): Add declaration. | |
3364 | (_initialize_remote_monitors): Add declaration. | |
3365 | * remote-mips.c: Make local functions static. | |
3366 | (_initialize_remote_mips): Add declaration. | |
3367 | * mcore-tdep.c: Make all local functions static. | |
3368 | (_initialize_mcore_tdep): Add declaration. | |
3369 | * dbug-rom.c (_initialize_dbug_rom): Add declaration. | |
3370 | * abug-rom.c (_initialize_abug_rom): Add declaration. | |
3371 | * rom68k-rom.c (_initialize_rom68k): Add declaration. | |
3372 | * cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration. | |
3373 | * m68k-tdep.c (_initialize_m68k_tdep): Add declaration. | |
3374 | * remote-est.c (_initialize_est): Add declaration. | |
3375 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration. | |
3376 | (m68hc11_call_dummy_address): Make static. | |
3377 | * ia64-tdep.c: Make local functions static. | |
3378 | (_initialize_ia64_tdep): Add declaration. | |
3379 | * solib-legacy.c (_initialize_svr4_lm): Add declaration. | |
3380 | * monitor.c (monitor_wait_filter): Make static. | |
3381 | (_initialize_remote_monitors): Add declaration. | |
3382 | * remote-hms.c (_initialize_remote_hms): Add declaration. | |
3383 | * remote-e7000.c (fetch_regs_from_dump): Make static. | |
3384 | (expect_n): Make static. | |
3385 | (_initialize_remote_e7000): Add declaration. | |
3386 | * ser-e7kpc.c: Always include "defs.h". | |
3387 | (_initialize_ser_e7000pc): Add declaration. | |
3388 | * h8300-tdep.c (_initialize_h8300_tdep): Add declaration. | |
3389 | * cris-tdep.c: Make all but one function static. | |
3390 | (_initialize_cris_tdep): Add declaration. | |
3391 | * solib-svr4.c (_initialize_svr4_solib): Add declaration. | |
3392 | * solib.c (update_solib_list): Make static. | |
3393 | (_initialize_solib): Add declaration. | |
3394 | * avr-tdep.c (avr_breakpoint_from_pc): Make static. | |
3395 | (_initialize_avr_tdep): Add declaration. | |
3396 | * remote-rdi.c (voiddummy): Make static. | |
3397 | (_initialize_remote_rdi): Add declaration. | |
3398 | * arm-tdep.c (_initialize_arm_tdep): Add declaration. | |
3399 | * remote-rdp.c (send_rdp): Make static. | |
3400 | (_initialize_remote_rdp): Add declaration. | |
3401 | * alpha-tdep.c (_initialize_alpha_tdep): Add declaration. | |
3402 | ||
cbcdb1f5 CV |
3403 | 2003-06-11 Corinna Vinschen <[email protected]> |
3404 | ||
3405 | * remote-fileio.c: Make ari happy. | |
3406 | ||
a191ea8d JB |
3407 | 2003-06-10 J. Brobecker <[email protected]> |
3408 | ||
3409 | * rs6000-nat.c (child_xfer_memory): Compute the right address when | |
3410 | fetching the trailing bytes of the buffer we are about to write. | |
3411 | ||
0ef75e11 AC |
3412 | 2003-06-10 Andrew Cagney <[email protected]> |
3413 | ||
3414 | * remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H. | |
3415 | * Makefile.in (remote-fileio.o): Update dependencies. | |
3416 | * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not | |
3417 | include <setjmp.h>, or <sys/types.h> conditional on USG. | |
3418 | (remote_fio_jmp_buf): Delete global variable. | |
3419 | ||
449092f6 | 3420 | 2003-06-10 Corinna Vinschen <[email protected]> |
559fa028 | 3421 | Martin M. Hunt <[email protected]> |
449092f6 | 3422 | |
559fa028 AC |
3423 | * Makefile.in (REMOTE_OBS): Add remote-fileio.o |
3424 | (SFILES): Add remote-fileio.c. | |
3425 | Add dependencies for building remote-fileio.o. Add remote-fileio.h to | |
3426 | dependencies for building remote.o. | |
449092f6 CV |
3427 | * remote-fileio.c: New file implementing the remote File-I/O protocol. |
3428 | * remote-fileio.h: New header file defining remote File-I/O interface. | |
8ffd9b1b | 3429 | * remote.c (remote_write_bytes, remote_read_bytes): Remove |
449092f6 CV |
3430 | static storage class. |
3431 | (remote_wait, remote_async_wait): Call remote_fileio_request() on | |
3432 | 'F' packet. | |
3433 | (_initialize_remote): Call initialize_remote_fileio(). | |
3434 | * remote.h: Declare remote_write_bytes() and remote_read_bytes(). | |
449092f6 CV |
3435 | * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin. |
3436 | * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin. | |
3437 | (captured_main): Initialize new ui_files. | |
3438 | * ui-file.c: Add read and fgets input functions. | |
3439 | (ui_file_new): set ui_file_fputs and ui_file_read to null functions. | |
3440 | (null_file_read): New function. | |
3441 | (ui_file_read): New function. | |
3442 | (set_ui_file_read): New function. | |
3443 | (stdio_file_read): New function. | |
3444 | * ui-file.h: New type ui_file_read_ftype. | |
3445 | (set_ui_file_read): Declare. | |
3446 | (ui_file_read): Declare. | |
3447 | ||
248de703 AC |
3448 | 2003-06-09 Andrew Cagney <[email protected]> |
3449 | ||
3450 | * frame.h (deprecated_unwind_get_saved_register): Rename | |
3451 | generic_unwind_get_saved_register, update comments. | |
3452 | * mips-tdep.c (mips_get_saved_register): Update. | |
3453 | * frame.c (deprecated_unwind_get_saved_register): Update. | |
3454 | ||
0ed8aa57 AC |
3455 | 2003-06-09 Andrew Cagney <[email protected]> |
3456 | ||
3457 | * vax-tdep.c (vax_frame_locals_address): Delete function. | |
3458 | (vax_gdbarch_init): Do not set frame_locals_address. | |
3459 | * m68hc11-tdep.c (m68hc11_frame_locals_address): Delete function. | |
3460 | (m68hc11_gdbarch_init): Do not set frame_locals_address. | |
3461 | * s390-tdep.c (s390_frame_args_address): Delete function. | |
3462 | (s390_gdbarch_init): Do not set frame_args_address or | |
3463 | frame_locals_address. | |
3464 | * ns32k-tdep.c (ns32k_frame_locals_address): Delete. | |
3465 | (ns32k_gdbarch_init): Do not set frame_locals_address. | |
3466 | * hppa-tdep.c (hppa_frame_args_address): Delete function. | |
3467 | (hppa_frame_locals_address): Delete function. | |
3468 | (hppa_gdbarch_init): Do not set frame_args_address, or | |
3469 | frame_locals_address. | |
3470 | * arm-tdep.c (arm_frame_args_address): Delete. | |
3471 | (arm_frame_locals_address): Delete. | |
3472 | (arm_gdbarch_init): Do not set frame_args_address, or | |
3473 | frame_locals_address. | |
3474 | ||
983a287a AC |
3475 | 2003-06-09 Andrew Cagney <[email protected]> |
3476 | ||
3477 | * gdbarch.sh (FRAME_NUM_ARGS): Change to function with predicate. | |
3478 | * gdbarch.h, gdbarch.c: Re-generate. | |
3479 | * arch-utils.h (frame_num_args_unknown): Delete both declarations. | |
3480 | * arch-utils.c (frame_num_args_unknown): Delete function. | |
3481 | * stack.c (print_args_stub): Use FRAME_NUM_ARGS_P. | |
3482 | (frame_info): Use FRAME_NUM_ARGS_P. | |
3483 | * arm-tdep.c (arm_frame_num_args): Delete function. | |
3484 | (arm_gdbarch_init): Do not set frame_num_args. | |
3485 | * config/pa/tm-hppa64.h (FRAME_NUM_ARGS): Delete. | |
3486 | * hppa-tdep.c (hppa_frame_num_args): Delete function. | |
3487 | (hppa_gdbarch_init): Do not set frame_num_args. | |
3488 | * config/sparc/tm-sparc.h (FRAME_NUM_ARGS): Delete. | |
3489 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
3490 | frame_num_args to default frame_num_args_unknown. | |
3491 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
3492 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
3493 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
3494 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
3495 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
3496 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
3497 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
3498 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
3499 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
3500 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
3501 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
3502 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
3503 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
3504 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
3505 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
3506 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
3507 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
3508 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
3509 | ||
8d3b0994 AC |
3510 | 2003-06-09 Andrew Cagney <[email protected]> |
3511 | ||
3512 | * printcmd.c (print_frame_nameless_args): Moved to "stack.c". | |
3513 | (print_frame_args): Moved to "stack.c". | |
3514 | * stack.c: Include "gdb_assert.h". | |
3515 | (print_frame_nameless_args): Moved from "printcmd.c", made static. | |
3516 | (print_frame_args): Moved from "printcmd.c". | |
3517 | * frame.h (print_frame_args): Delete declaration. | |
3518 | * Makefile.in (stack.o): Update dependencies. | |
3519 | ||
25e3a86b AC |
3520 | 2003-06-08 Andrew Cagney <[email protected]> |
3521 | ||
3522 | * frame.c (get_prev_frame): Remove reference to | |
3523 | frame_args_address_correct in comments. | |
3524 | * frame-base.c (default_frame_args_address): Delete code | |
3525 | conditional on FRAME_ARGS_ADDRESS_CORRECT. | |
3526 | * vax-tdep.c (vax_frame_args_address_correct): Delete. | |
3527 | (vax_frame_args_address): Merge in vax_frame_args_address_correct. | |
3528 | * config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete | |
3529 | (vax_frame_args_address_correct): Delete declaration. | |
3530 | ||
a9e5fdc2 AC |
3531 | 2003-06-08 Andrew Cagney <[email protected]> |
3532 | ||
3533 | * gdbarch.sh (UNWIND_SP): Add. | |
3534 | * gdbarch.h, gdbarch.c: Re-generate. | |
3535 | * frame.c (frame_sp_unwind): New function. | |
3536 | (get_frame_sp): New function. | |
3537 | * frame.h (get_frame_sp, frame_sp_unwind): Declare. | |
3538 | * regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP, | |
3539 | gdbarch_unwind_sp and SP_REGNUM when looking for the SP register | |
3540 | value. | |
3541 | * d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp. | |
3542 | (d10v_gdbarch_init): Set unwind_sp instead of read_sp. | |
3543 | ||
8983bd83 AC |
3544 | 2003-06-08 Andrew Cagney <[email protected]> |
3545 | ||
7fec2c59 AC |
3546 | Deprecate BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT and |
3547 | REMOTE_BREAKPOINT. | |
3548 | * remote.c: Update. | |
3549 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT): Update. | |
3550 | (DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Update. | |
3551 | * config/m68k/tm-sun3.h: Update. | |
3552 | * config/m68k/tm-m68klynx.h: Update. | |
3553 | * config/h8300/tm-h8300.h (DEPRECATED_REMOTE_BREAKPOINT): Update. | |
3554 | ||
8983bd83 AC |
3555 | * trad-frame.h (struct trad_frame_saved_reg): Rename "struct |
3556 | trad_frame". Update comments. | |
3557 | * d10v-tdep.c (struct d10v_unwind_cache): Update. | |
3558 | * trad-frame.c (trad_frame_alloc_saved_regs): Update. | |
3559 | (trad_frame_register_value, trad_frame_prev_register): Update. | |
3560 | ||
b9362cc7 AC |
3561 | 2003-06-08 Andrew Cagney <[email protected]> |
3562 | ||
3563 | * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen | |
3564 | from GCC's acinclude.m4. | |
3565 | * configure.in: Check for getopt's delcaration. | |
8ffd9b1b | 3566 | * aclocal.m4, config.in, configure: Re-generate. |
b9362cc7 AC |
3567 | * main.c (error_init): Delete declaration. |
3568 | * defs.h (error_init): Declare. | |
3569 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static. | |
3570 | (rs6000_convert_from_func_ptr_addr): Make static. | |
3571 | (_initialize_rs6000_tdep): Add declaration. | |
3572 | * cli/cli-cmds.c (dont_repeat): Delete declaration. | |
3573 | (show_commands, set_verbose, show_history): Delete declaration. | |
3574 | * top.h (set_verbose): Add declaration. | |
3575 | (show_history, set_history, show_commands): Add declaration. | |
3576 | (do_restore_instream_cleanup): Add declaration. | |
3577 | * objc-lang.c (specialcmp): Make static. | |
3578 | (print_object_command): Make static. | |
3579 | (find_objc_msgsend): Make static. | |
3580 | (find_objc_msgcall_submethod_helper): Make static. | |
3581 | (find_objc_msgcall_submethod): Make static. | |
3582 | (_initialize_objc_language): Add declaration. | |
3583 | (find_implementation_from_class): Make static. | |
3584 | (find_implementation): Make static. | |
3585 | * objc-exp.y (yylex): Delete lookup_struct_typedef declaration. | |
3586 | * objc-lang.h (lookup_struct_typedef): Add declaration. | |
3587 | * cli/cli-interp.c (_initialize_cli_interp): Add declaration. | |
3588 | * cli/cli-script.c (clear_hook_in_cleanup): Make static. | |
3589 | (do_restore_user_call_depth): Make static. | |
3590 | (do_restore_instream_cleanup): Delete declaration. | |
3591 | (dont_repeat): Delete declaration. | |
3592 | * cli/cli-decode.c (add_abbrev_cmd): Delete function. | |
3593 | * cli/cli-dump.c (_initialize_cli_dump): Add declaration. | |
3594 | * reggroups.c (_initialize_reggroup): Add declaration. | |
3595 | * cp-support.c (_initialize_cp_support): Add declaration. | |
3596 | * cp-abi.c (_initialize_cp_abi): Add declaration. | |
3597 | * hpacc-abi.c (_initialize_hpacc_abi): Add declaration. | |
3598 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static. | |
3599 | (_initialize_gnu_v3_abi): Add declaration. | |
3600 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static. | |
3601 | (_initialize_gnu_v2_abi): Add declaration. | |
3602 | * frame-base.c (_initialize_frame_base): Add declaration. | |
3603 | * doublest.c (floatformat_from_length): Make static. | |
3604 | * frame-unwind.c (_initialize_frame_unwind): Add declaration. | |
3605 | * frame.c (create_sentinel_frame): Make static. | |
3606 | (_initialize_frame): Add declaration. | |
3607 | * top.c (do_catch_errors): Make static. | |
3608 | (gdb_rl_operate_and_get_next_completion): Make static. | |
3609 | * typeprint.c: Include "typeprint.h". | |
3610 | * sentinel-frame.c (sentinel_frame_prev_register): Make static. | |
3611 | (sentinel_frame_this_id): Make static. | |
3612 | * p-valprint.c (_initialize_pascal_valprint): Add declaration. | |
3613 | * ui-out.c (make_cleanup_ui_out_begin_end): Delete function. | |
3614 | * dwarf2-frame.c (dwarf2_frame_cache): Make static. | |
3615 | * p-exp.y (push_current_type, pop_current_type): ISO C declaration. | |
3616 | * dwarf2expr.h (dwarf_expr_context): ISO C declaration. | |
3617 | * maint.c (maintenance_print_architecture): Make static. | |
3618 | * signals/signals.c (_initialize_signals): Add declaration. | |
3619 | * std-regs.c (_initialize_frame_reg): Add declaration. | |
3620 | * jv-exp.y (push_variable): ISO C definition. | |
3621 | (push_qualified_expression_name): Ditto. | |
3622 | * memattr.c (_initialize_mem): Add declaration. | |
3623 | * remote.c (remote_check_watch_resources): Make static. | |
3624 | (remote_stopped_by_watchpoint): Make static. | |
3625 | (remote_stopped_data_address): Make static. | |
3626 | * d10v-tdep.c (nr_dmap_regs): Make static. | |
3627 | (a0_regnum): Make static. | |
3628 | (d10v_frame_unwind_cache): Make static. | |
3629 | (d10v_frame_p): Make static. | |
3630 | * osabi.c (show_osabi): Make static. | |
3631 | (_initialize_gdb_osabi): Add extern declaration. | |
3632 | * gdbtypes.c (make_qualified_type): Make static. | |
3633 | (safe_parse_type): Make static. | |
3634 | * macrocmd.c (_initialize_macrocmd): Add extern declaration. | |
3635 | * macrotab.c (macro_bcache_free): Make static. | |
3636 | * interps.c (interp_set_quiet): Make static. | |
3637 | (interpreter_exec_cmd): Make static. | |
3638 | * stack.h (select_frame_command): New file. | |
3639 | * stack.c: Include "stack.h". | |
3640 | (select_frame_command_wrapper): Delete function. | |
3641 | (select_frame_command): Make global. | |
3642 | * infcall.c: Include "infcall.h". | |
3643 | * linespec.c: Include "linespec.h". | |
3644 | * symfile.c (sections_overlap): Make static. | |
3645 | * cp-support.h (cp_initialize_namespace): ISO C declaration. | |
3646 | * charset.c (_initialize_charset): Add missing prototype. | |
3647 | * regcache.c (init_legacy_regcache_descr): Make static. | |
3648 | (do_regcache_xfree): Make static. | |
3649 | (regcache_xfer_part): Make static. | |
3650 | (_initialize_regcache): Add missing prototype. | |
3651 | * breakpoint.c (parse_breakpoint_sals): Make static. | |
3652 | (breakpoint_sals_to_pc): Make static. | |
3653 | * interps.h (clear_interpreter_hooks): ISO C declaration. | |
3654 | * Makefile.in (stack_h): Define. | |
3655 | (stack.o, typeprint.o, mi-main.o): Update dependencies. | |
3656 | (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies. | |
3657 | ||
a0f267c7 AC |
3658 | 2003-06-08 Andrew Cagney <[email protected]> |
3659 | ||
3660 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
3661 | (SFILES): Add trad-frame.c. | |
3662 | (trad_frame_h): Define. | |
3663 | (COMMON_OBS): Add trad-frame.o. | |
3664 | (trad-frame.o): Specify dependencies. | |
3665 | * d10v-tdep.c: Include "trad-frame.h". | |
3666 | (saved_regs_unwinder): Delete function. | |
3667 | (d10v_frame_prev_register): Use trad_frame_prev_register. | |
3668 | (struct d10v_unwind_cache): Change type of "saved_regs" to "struct | |
3669 | trad_frame", delete "regs" and "prev_sp". | |
3670 | (prologue_find_regs): Use trad-frame. | |
3671 | * trad-frame.h, trad-frame.c: New files. | |
3672 | ||
4538b4f4 MK |
3673 | 2003-06-08 Mark Kettenis <[email protected]> |
3674 | ||
3675 | * dwarf2cfi.c, dwarf2cfi.h: Remove. | |
3676 | ||
a0273b2f AF |
3677 | 2003-06-07 Adam Fedor <[email protected]> |
3678 | ||
3679 | * gdb/objc-lang.c (FETCH_ARGUMENT): Remove macro. | |
3680 | (OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for | |
3681 | using FETCH_POINTER_ARGUMENT with Objective-C method arguments. | |
3682 | (find_implementation, resolve_msgsend, resolve_msgsend_stret, | |
8ffd9b1b | 3683 | resolve_msgsend_super, resolve_msgsend_super_stret): |
a0273b2f AF |
3684 | Use it. |
3685 | ||
3a6c3343 AC |
3686 | 2003-06-07 Andrew Cagney <[email protected]> |
3687 | ||
3688 | * symfile.h: Re-indent, clean up comments. | |
3689 | ||
b46e02f6 AC |
3690 | 2003-06-07 Andrew Cagney <[email protected]> |
3691 | ||
3692 | * inferior.h (deprecated_write_sp): Replace | |
3693 | generic_target_write_sp. | |
3694 | * regcache.c (deprecated_write_sp): Replace | |
3695 | generic_target_write_sp. | |
3696 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
3697 | * vax-tdep.c (vax_gdbarch_init): Update. | |
3698 | * v850-tdep.c (v850_gdbarch_init): Update. | |
3699 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
3700 | * sh-tdep.c (sh_gdbarch_init): Update. | |
3701 | * s390-tdep.c (s390_gdbarch_init): Update. | |
3702 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3703 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
3704 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
3705 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
3706 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
3707 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
3708 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
3709 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
3710 | * frv-tdep.c (frv_gdbarch_init): Update. | |
3711 | * cris-tdep.c (cris_gdbarch_init): Update. | |
3712 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
3713 | ||
a42e117c AC |
3714 | 2003-06-07 Andrew Cagney <[email protected]> |
3715 | ||
3716 | * dwarf2-frame.c (dwarf2_frame_cache): Add comments on PC_REGNUM. | |
3717 | Assert that PC_REGNUM is valid. | |
3718 | (dwarf2_frame_prev_register): Add comments on SP_REGNUM. | |
3719 | ||
bd1ce8ba AC |
3720 | 2003-06-07 Andrew Cagney <[email protected]> |
3721 | ||
3722 | * gdbarch.sh (TARGET_READ_SP): Add predicate, delete default. | |
3723 | * gdbarch.h, gdbarch.c: Regenerate. | |
3724 | * mn10300-tdep.c: Include "gdb_assert.h". | |
3725 | (mn10300_read_fp): New function. | |
3726 | (mn10300_gdbarch_init): Set deprecated_target_read_fp to | |
3727 | mn10300_read_fp. Do not set read_sp to generic_target_read_sp. | |
3728 | * ia64-tdep.c: Include "gdb_assert.h". | |
3729 | (ia64_read_fp): New function. | |
3730 | (ia64_gdbarch_init): Set deprecated_target_read_fp to | |
3731 | ia64_read_sp. Do not set read_sp to generic_target_read_sp. | |
3732 | * regcache.c (generic_target_read_sp): Delete function. | |
3733 | (read_sp): Try TARGET_READ_SP and SP_REGNUM for the SP register. | |
3734 | * inferior.h (generic_target_read_sp): Delete declaration. | |
3735 | * frv-tdep.c (frv_gdbarch_init): Do not set read_sp to | |
3736 | generic_target_read_sp. | |
3737 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
3738 | * sparc-tdep.c (sparc_gdbarch_init): Ditto | |
3739 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
3740 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
3741 | * Makefile.in (mn10300-tdep.o, ia64-tdep.o): Update dependencies. | |
3742 | ||
ec5cbaec AC |
3743 | 2003-06-07 Andrew Cagney <[email protected]> |
3744 | ||
3745 | * gdbarch.sh: Comment each field of startup_gdbarch. | |
3746 | * gdbarch.h, gdbarch.c: Re-generate. | |
3747 | ||
cde9ea48 AC |
3748 | 2003-06-07 Andrew Cagney <[email protected]> |
3749 | ||
3750 | * gdbarch.sh (TARGET_READ_PC): Add predicate, remove default. | |
3751 | * gdbarch.h, gdbarch.c: Re-generate. | |
3752 | * regcache.c: Update comments on read_pc et.al. | |
3753 | (generic_target_read_pc): Delete function. | |
3754 | (read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register. | |
3755 | * inferior.h (generic_target_read_pc): Delete declaration. | |
3756 | * frv-tdep.c (frv_gdbarch_init): Do not set read_pc to | |
3757 | generic_target_read_pc. | |
3758 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
3759 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
3760 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
3761 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 3762 | |
9a90a780 AC |
3763 | 2003-06-07 Andrew Cagney <[email protected]> |
3764 | ||
3765 | * elfread.c (elf_symtab_read): Replace "special_local_sym_p" and | |
3766 | "index" with "special_local_sect". Use strcmp instead of STREQ. | |
3767 | Append period to coments. | |
3768 | ||
a39a16c4 MM |
3769 | 2003-06-06 Mark Mitchell <[email protected]> |
3770 | ||
3771 | * elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX. | |
3772 | (elfstab_offset_sections): Likewise. | |
3773 | * gdb-stabs.h (stab_section_info): Likewise. | |
3774 | * i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise. | |
3775 | * objfiles.c (objfile_relocate): Likewise. | |
3776 | * pa64solib.c (pa64_solib_add_solib_objfile): Likewise. | |
3777 | * remote.c (get_offsets): Likewise. | |
3778 | (remote_cisco_objfile_relocate): Likewise. | |
3779 | * somread.c (som_symfile_offsets): Likewise. | |
3780 | * symfile.c (alloc_section_addr_info): New function. | |
3781 | (build_section_addr_info_from_section_tab): Use it. | |
3782 | (free_section_addr_info): Adjust. | |
3783 | (default_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
3784 | (syms_from_objfile): Allocate local_addr dynamically. | |
3785 | (symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs | |
3786 | dynamically. | |
3787 | (add_symbol_file_command): Allocate sect_opts dynamically. | |
3788 | (reread_symbols): Avoid use of SECT_OFF_MAX. | |
3789 | * symfile.h (section_addr_info): Do not use MAX_SECTIONS. | |
3790 | (alloc_section_addr_info): Declare it. | |
3791 | * symtab.h (SIZEOF_SECTION_OFFSETS): Remove. | |
3792 | * win32-nat.c (solib_symbols_add): Allocate section_addrs | |
3793 | dynamically. | |
3794 | * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
8ffd9b1b | 3795 | |
20c6c2f8 AC |
3796 | 2003-06-06 Andrew Cagney <[email protected]> |
3797 | ||
3798 | * d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc". | |
3799 | (d10v_frame_unwind_cache): Do not set "return_pc". | |
3800 | ||
884a26c8 MS |
3801 | 2003-06-06 Michael Snyder <[email protected]> |
3802 | ||
3803 | * h8300-tdep.c: Make tidy (long lines). | |
3804 | ||
088ce440 ML |
3805 | 2003-06-06 Michal Ludvig <[email protected]> |
3806 | ||
8ffd9b1b | 3807 | * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums |
088ce440 ML |
3808 | to regcache_collect(). |
3809 | ||
7d773d96 JB |
3810 | 2003-06-05 J. Brobecker <[email protected]> |
3811 | ||
3812 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting | |
3813 | pc_in_sigtramp multiarch method. | |
3814 | (hppa_hpux_som_init_abi): Use it. | |
3815 | (hppa_hpux_elf_init_abi): Likewise. | |
3816 | * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this | |
3817 | macro has been multiarched. | |
3818 | * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this | |
3819 | macro here, as hppa64 isn't multiarched yet. | |
3820 | ||
1df6926e AC |
3821 | 2003-06-05 Andrew Cagney <[email protected]> |
3822 | ||
3823 | * Makefile.in (value_h): Add $(frame_h). | |
3824 | * value.h: Include "frame.h". | |
3825 | (struct value): Replace "frame_addr" with "frame_id". | |
3826 | (VALUE_FRAME_ID): Replace VALUE_FRAME. | |
3827 | * values.c (allocate_value): Use VALUE_FRAME_ID. | |
3828 | (value_copy): Use VALUE_FRAME_ID. | |
3829 | * findvar.c (value_from_register): Use VALUE_FRAME_ID. | |
3830 | * valops.c (value_assign): Update. Use frame_find_by_id. | |
3831 | ||
6b53acc6 ML |
3832 | 2003-06-05 Michal Ludvig <[email protected]> |
3833 | ||
3834 | * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset | |
3835 | in each pass. | |
3836 | ||
4d9850d3 JJ |
3837 | 2003-06-05 Jeff Johnston <[email protected]> |
3838 | ||
3839 | * thread-db.c (check_event): For create/death event breakpoints, | |
3840 | loop through all messages to ensure that we read the message | |
3841 | corresponding to the breakpoint we are at. | |
3842 | ||
8efca6ba MS |
3843 | 2003-06-04 Michael Snyder <[email protected]> |
3844 | ||
3845 | * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn. | |
3846 | ||
0912c7f2 MK |
3847 | 2003-06-04 Mark Kettenis <[email protected]> |
3848 | ||
3849 | * dwarf2-frame.c (struct comp_unit): Add member `dbase'. | |
3850 | (read_encoded_value): Handle DW_EH_PE_datarel encoding. | |
3851 | (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings | |
3852 | when handling .eh_frame sections. | |
3853 | ||
4e370325 JB |
3854 | 2003-06-04 J. Brobecker <[email protected]> |
3855 | ||
3856 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic | |
3857 | prepare_to_proceed procedure instead of the hppa-specific one. | |
3858 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used. | |
3859 | ||
b757528f | 3860 | 2003-06-04 Jeff Johnston <[email protected]> |
8ffd9b1b | 3861 | |
b757528f JJ |
3862 | * acconfig.h: Add HAVE_TKILL_SYSCALL definition check. |
3863 | * config.in: Regenerated. | |
3864 | * configure.in: Add test for syscall function and check for | |
3865 | __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. | |
3866 | * configure: Regenerated. | |
3867 | * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and | |
3868 | <sys/syscall.h>. | |
3869 | (kill_lwp): New function that uses tkill syscall or | |
3870 | uses kill, depending on whether threading model is nptl or not. | |
3871 | All callers of kill() changed to use kill_lwp(). | |
3872 | (lin_lwp_wait): Make special check when WIFEXITED occurs to | |
3873 | see if all threads have already exited in the nptl model. | |
3874 | (stop_and_resume_callback): New callback function used by the | |
3875 | lin_lwp_wait thread exit handling code. | |
3876 | (stop_wait_callback): Check for threads already having exited and | |
3877 | delete such threads fromt the lwp list when discovered. | |
3878 | (stop_callback): Don't assert retcode of kill call. | |
8ffd9b1b | 3879 | |
b757528f JJ |
3880 | Roland McGrath <[email protected]> |
3881 | * i386-linux-nat.c (ps_get_thread_area): New function needed by | |
3882 | nptl libthread_db. | |
3883 | ||
087779b1 RH |
3884 | 2003-06-03 Richard Henderson <[email protected]> |
3885 | ||
b21fd293 RH |
3886 | * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn. |
3887 | (alpha_sigtramp_frame_this_id): Use get_frame_memory. | |
3888 | (alpha_sigtramp_frame_prev_register): Likewise. | |
3889 | (alpha_heuristic_frame_prev_register): Likewise. | |
3890 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise. | |
3891 | ||
8ffd9b1b | 3892 | * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use |
087779b1 RH |
3893 | alpha-specific register id names. |
3894 | (alpha_mdebug_frame_unwind_cache): Likewise. | |
3895 | (alpha_mdebug_frame_prev_register): Likewise. | |
3896 | ||
baa490c4 RH |
3897 | 2003-06-03 Richard Henderson <[email protected]> |
3898 | ||
3899 | * alpha-tdep.c (alpha_dwarf2_init_abi): New. | |
3900 | * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. | |
3901 | * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. | |
3902 | * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug | |
3903 | unwind routines. | |
3904 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
3905 | * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
3906 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
3907 | ||
3908 | * alpha-linux-tdep.c: Remove unnecessary includes. | |
3909 | * Makefile.in (alpha-linux-tdep.o): Update. | |
3910 | ||
3911 | 2003-06-03 Richard Henderson <[email protected]> | |
3912 | ||
3913 | * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change. | |
3914 | (alphabsd_fill_fpreg): Likewise. | |
3915 | ||
f534e522 JB |
3916 | 2003-06-03 J. Brobecker <[email protected]> |
3917 | ||
3918 | * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace | |
3919 | references to struct frame_info fields by calls to the equivalent | |
3920 | accessors. Necessary now that frame_info is opaque. | |
3921 | ||
4035536b JB |
3922 | 2003-06-03 J. Brobecker <[email protected]> |
3923 | ||
3924 | * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete. | |
3925 | (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep | |
3926 | structure, field no longer exists. | |
3927 | ||
0bd79c5c JB |
3928 | 2003-06-03 J. Brobecker <[email protected]> |
3929 | ||
3930 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
3931 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module. | |
3932 | ||
37bb6d9f JB |
3933 | 2003-06-03 J. Brobecker <[email protected]> |
3934 | ||
3935 | * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace | |
3936 | references to struct frame_info fields by calls to the equivalent | |
3937 | accessors. Necessary now that frame_info is opaque. | |
3938 | ||
852ee05c JB |
3939 | 2003-06-03 J. Brobecker <[email protected]> |
3940 | ||
3941 | * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. | |
3942 | (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep | |
3943 | structure, field no longer exists. | |
3944 | ||
7d58c67d TR |
3945 | 2003-06-03 Theodore A. Roth <[email protected]> |
3946 | ||
8ffd9b1b | 3947 | * remote.c (init_remote_state): Compute sizeof_g_packet by |
7d58c67d TR |
3948 | accumulation of the size of all registers instead of blindly using |
3949 | DEPRECATED_REGISTER_BYTES. | |
3950 | ||
0a48e7e8 MS |
3951 | 2003-06-03 Michael Snyder <[email protected]> |
3952 | ||
3953 | * config/h8300/tm-h8300.h (h8300sxmode): Declare. | |
3954 | * h8300-tdep.c (h8300_gdbarch_init): Set machine mode | |
3955 | for h8300sx. | |
3956 | ||
9798ab0d JB |
3957 | 2003-06-03 J. Brobecker <[email protected]> |
3958 | ||
3959 | * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile. | |
3960 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. | |
3961 | ||
00b037e2 AC |
3962 | 2003-06-03 Andrew Cagney <[email protected]> |
3963 | ||
3964 | * sparc-tdep.c (sparc_convert_to_virtual): Delete function. | |
3965 | (sparc_convert_to_raw): Delete function. | |
3966 | (sparc_gdbarch_init): Do not set register_convert_to_raw or | |
3967 | register_convert_to_virtual. | |
3968 | ||
043b2f77 JJ |
3969 | 2003-06-03 Jeff Johnston <[email protected]> |
3970 | ||
3971 | * thread-db.c (thread_db_mourn_inferior): Unpush thread target | |
3972 | layer if not dealing with a statically-linked threaded program. | |
3973 | ||
f43caff8 KW |
3974 | 2003-06-03 Kris Warkentin <[email protected]> |
3975 | ||
3976 | * solib.c (solib_open): Update comment to reflect actual search order. | |
3977 | ||
ae1e7417 AC |
3978 | 2003-06-03 Andrew Cagney <[email protected]> |
3979 | ||
3980 | * frame.c (get_frame_memory_signed): New function. | |
3981 | (get_frame_memory, get_frame_memory_unsigned): New function. | |
3982 | (get_frame_arch): New function. | |
3983 | * frame.h (get_frame_signed_memory, get_frame_arch): Declare. | |
3984 | (get_frame_memory, get_frame_unsigned_memory): Declare. | |
3985 | * d10v-tdep.c (d10v_frame_unwind_cache): Use | |
3986 | get_frame_memory_unsigned and get_frame_arch. | |
3987 | (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto. | |
3988 | ||
cb123844 RG |
3989 | 2003-06-03 Raoul Gough <[email protected]> |
3990 | ||
3991 | * MAINTAINERS (write after approval): Add myself. | |
3992 | ||
1bb792e9 JB |
3993 | 2003-06-03 Jim Blandy <[email protected]> |
3994 | ||
3995 | * s390-nat.c (supply_gregset, fill_gregset): On the s390x, the | |
3996 | elements of gregset_t are 64 bits each, but access registers | |
3997 | are still 32 bits, so they're packed two per gregset_t | |
3998 | element. Unpack/pack them properly. | |
3999 | ||
aee8d8ba DC |
4000 | 2003-06-02 David Carlton <[email protected]> |
4001 | ||
4002 | * linespec.c (find_methods): Break out code into | |
4003 | add_matching_methods and add_constructors. | |
4004 | (add_matching_methods): New. | |
4005 | (add_constructors): Ditto. | |
4006 | ||
bf7488d2 AC |
4007 | 2003-06-02 Andrew Cagney <[email protected]> |
4008 | ||
bf7488d2 AC |
4009 | * sparc-tdep.c (sparc_print_registers): Delete call to |
4010 | REGISTER_CONVERTIBLE. | |
4011 | (sparc_gdbarch_init): Do not set register_convertible. | |
4012 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4013 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
4014 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4015 | ||
adedef68 EZ |
4016 | 2003-06-02 Elena Zannoni <[email protected]> |
4017 | ||
8ffd9b1b | 4018 | * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. |
adedef68 EZ |
4019 | * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD. |
4020 | (syms_from_objfile): Ditto. | |
4021 | ||
650fcc91 AS |
4022 | 2003-06-03 Andreas Schwab <[email protected]> |
4023 | ||
4024 | * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ... | |
4025 | (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn. | |
4026 | ||
df4a182b RH |
4027 | 2003-06-02 Richard Henderson <[email protected]> |
4028 | ||
4029 | * alpha-tdep.c (alpha_register_reggroup_p): Zero is only | |
4030 | a member of all_reggroup. | |
4031 | ||
c483c494 RH |
4032 | 2003-06-02 Richard Henderson <[email protected]> |
4033 | ||
4034 | * alpha-tdep.c (alpha_register_type): Change from _virtual_type. | |
4035 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove. | |
4036 | (alpha_lds, alpha_sts): New. | |
4037 | (alpha_convert_register_p): Change from _register_convertible. | |
8ffd9b1b | 4038 | (alpha_register_to_value): Change from _convert_to_virtual; |
c483c494 RH |
4039 | restructure and fail for type sizes other than 4 or 8. |
4040 | (alpha_value_to_register): Similarly. | |
4041 | (alpha_extract_return_value): Use alpha_sts. | |
4042 | (alpha_store_return_value): Use alpha_lds. | |
4043 | (alpha_gdbarch_init): Update hooks. | |
4044 | ||
b38b6be2 RH |
4045 | 2003-06-02 Richard Henderson <[email protected]> |
4046 | ||
4047 | * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific | |
4048 | regnum identifiers. | |
4049 | (alpha_sigtramp_register_address): Likewise. | |
4050 | ||
98a8e1e5 RH |
4051 | 2003-06-02 Richard Henderson <[email protected]> |
4052 | ||
4053 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New. | |
4054 | (alpha_supply_fp_regs, alpha_fill_fp_regs): New. | |
4055 | * alpha-tdep.h: Declare them. | |
4056 | ||
4057 | * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping. | |
4058 | Remove zerobuf. Don't error on UNIQUE. | |
4059 | (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs. | |
4060 | (ALPHA_REGSET_UNIQUE): Provide default. | |
4061 | (supply_gregset): Use alpha_supply_int_regs. | |
4062 | (fill_gregset): Use alpha_fill_int_regs. | |
4063 | (supply_fpregset): Use alpha_supply_fp_regs. | |
4064 | (fill_fpregset): Use alpha_fill_fp_regs. | |
4065 | * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove. | |
4066 | (alphabsd_supply_reg): Use alpha_supply_int_regs. | |
4067 | (alphabsd_fill_reg): Use alpha_fill_int_regs. | |
4068 | (alphabsd_supply_fpreg): Use alpha_supply_fp_regs. | |
4069 | (alphabsd_fill_fpreg): Use alpha_fill_fp_regs. | |
4070 | * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New. | |
4071 | ||
67dfac52 RH |
4072 | 2003-06-02 Richard Henderson <[email protected]> |
4073 | ||
f75d70cc RH |
4074 | * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru. |
4075 | ||
67dfac52 RH |
4076 | * alpha-tdep.c (alpha_extract_return_value): Use internal_error. |
4077 | (alpha_store_return_value): Likewise. | |
4078 | ||
0cf566ec DC |
4079 | 2003-06-02 David Carlton <[email protected]> |
4080 | ||
4081 | * block.c (contained_in): Add 'const' to arguments. | |
4082 | (block_function): Ditto. | |
4083 | * block.h: Update declarations for block_function and | |
4084 | contained_in. | |
4085 | ||
cdef89d0 DC |
4086 | 2003-06-02 David Carlton <[email protected]> |
4087 | ||
4088 | * objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'. | |
4089 | * c-valprint.c (c_val_print): Delete unneeded variable 's'. | |
4090 | * p-valprint.c (pascal_val_print): Ditto. | |
4091 | * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'. | |
4092 | ||
72667056 RH |
4093 | 2003-06-02 Richard Henderson <[email protected]> |
4094 | ||
98a8e1e5 RH |
4095 | * alpha-tdep.c (alpha_push_dummy_call): Use |
4096 | builtin_type_ieee_double_little instead of builtin_type_double. | |
eb4edb88 | 4097 | |
8ffd9b1b | 4098 | * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated |
98a8e1e5 RH |
4099 | sign-extension of 32-bit values. |
4100 | (alpha_store_return_value): Similarly. | |
0ede8eca | 4101 | |
98a8e1e5 RH |
4102 | * alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types. |
4103 | (alpha_extract_return_value): Likewise. | |
4104 | (alpha_store_return_value): Likewise. | |
7b5e1cb3 | 4105 | |
98a8e1e5 RH |
4106 | * alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats. |
4107 | (alpha_store_return_value): Error on IEEE Quad floats. | |
24064b5c | 4108 | |
98a8e1e5 RH |
4109 | * alpha-tdep.c (alpha_extract_return_value): Convert to regcache. |
4110 | (alpha_extract_struct_value_address): Likewise. | |
4111 | (alpha_store_return_value): Likewise. | |
4112 | (alpha_store_struct_return): Remove. | |
4113 | (alpha_gdbarch_init): Update hook registration to match. | |
5ec2bb99 | 4114 | |
98a8e1e5 RH |
4115 | * alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of |
4116 | deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch | |
4117 | macros where appropriate. | |
4118 | (alpha_register_convert_to_raw): Similarly. Use unpack_long. | |
4119 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): New. | |
14696584 | 4120 | |
98a8e1e5 RH |
4121 | * alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr |
4122 | for SP, GP; void_func_ptr for PC; non-language-specific types | |
4123 | for all others. | |
4124 | * alpha-tdep.h (ALPHA_GP_REGNUM): New. | |
72667056 | 4125 | |
6dd77b81 RH |
4126 | 2003-06-02 Richard Henderson <[email protected]> |
4127 | ||
4128 | * top.h (lim_at_start): Declare. | |
4129 | * main.c (captured_main): Set it. | |
4130 | * top.c (lim_at_start): Define. | |
4131 | (command_loop): Use it instead of &environ. | |
4132 | * event-top.c (command_handler): Likewise. | |
4133 | ||
f4dbdb54 JT |
4134 | 2003-06-01 Jason Thorpe <[email protected]> |
4135 | ||
4136 | * mipsnbsd-tdep.c: Update copyright years. | |
4137 | (fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg. | |
4138 | ||
8f285956 RH |
4139 | 2003-06-01 Richard Henderson <[email protected]> |
4140 | ||
98a8e1e5 RH |
4141 | * Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c. |
4142 | (alpha-linux-tdep.o): Update dependencies. | |
4143 | (alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise. | |
4144 | * alpha-mdebug-tdep.c: Remove unneeded includes. | |
8f285956 | 4145 | |
615967cb RH |
4146 | 2003-06-01 Richard Henderson <[email protected]> |
4147 | ||
98a8e1e5 RH |
4148 | * alpha-tdep.c (alpha_register_reggroup_p): New. |
4149 | (alpha_gdbarch_init): Register it. | |
615967cb | 4150 | |
b59661bd AC |
4151 | 2003-06-02 Andrew Cagney <[email protected]> |
4152 | ||
4153 | * dwarfread.c: Eliminate "register" | |
4154 | (decode_die_type): Eliminate assignment within "if". | |
4155 | (struct_type, decode_array_element_type): Ditto. | |
4156 | (dwarf_read_array_type, read_tag_pointer_type): Ditto. | |
4157 | (read_subroutine_type, enum_type, add_enum_psymbol): Ditto. | |
4158 | (decode_modified_type, completedieinfo): Ditto. | |
4159 | * block.c: Eliminate "register". | |
4160 | (blockvector_for_pc_sect): Eliminate assignment within "if". | |
4161 | * cp-support.h (struct symbol): Opaque declaration. | |
4162 | * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free. | |
4163 | ||
5ef165c2 RH |
4164 | 2003-06-01 Richard Henderson <[email protected]> |
4165 | ||
98a8e1e5 RH |
4166 | * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ... |
4167 | (_initialize_alpha_tdep): ... not deprecated_tm_print_insn. | |
5ef165c2 | 4168 | |
143985b7 AF |
4169 | 2003-06-01 Adam Fedor <[email protected]> |
4170 | ||
4171 | * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT. | |
4172 | * gdbarch.[ch]: Regenerate. | |
4173 | * hppa-tdep.c (hppa_fetch_pointer_argument): New function. | |
4174 | (hppa_gdbarch_init): Set it in the gdbarch vector. | |
4175 | * i386-tdep.c (i386_fetch_pointer_argument): New | |
4176 | (i386_gdbarch_init): Set it into gdbarch. | |
4177 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): New. | |
4178 | (rs6000_gdbarch_init): Set it in gdbarch. | |
4179 | * sparc-tdep.c (sparc_fetch_pointer_argument): New | |
4180 | (sparc_gdbarch_init): Set it in gdbarch. | |
4181 | ||
ae0167b9 AC |
4182 | 2003-06-01 Andrew Cagney <[email protected]> |
4183 | ||
7c0b4a20 AC |
4184 | * defs.h (extract_address): Delete declaration. |
4185 | * findvar.c (extract_address): Delete function. | |
4186 | * xstormy16-tdep.c (xstormy16_extract_return_value): Replace | |
4187 | extract_address with the inline equivalent, | |
4188 | extract_unsigned_integer. | |
4189 | (xstormy16_extract_struct_value_address): Ditto. | |
4190 | (xstormy16_pointer_to_address): Ditto. | |
4191 | * vax-tdep.c (vax_extract_struct_value_address): Ditto. | |
4192 | * v850-tdep.c (v850_push_arguments): Ditto. | |
4193 | (v850_extract_return_value): Ditto. | |
4194 | (v850_extract_struct_value_address): Ditto. | |
4195 | * sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto. | |
4196 | (sparcnbsd_get_longjmp_target_64): Ditto. | |
4197 | * sparc-tdep.c (sparc_frame_saved_pc): Ditto. | |
4198 | (get_longjmp_target): Ditto. | |
4199 | * sh-tdep.c (sh_extract_struct_value_address): Ditto. | |
4200 | (sh64_extract_struct_value_address): Ditto. | |
4201 | (sh_push_arguments): Ditto. | |
4202 | (sh64_push_arguments): Ditto. | |
4203 | * remote-vxsparc.c (vx_read_register): Ditto. | |
4204 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto. | |
4205 | * ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto. | |
4206 | * mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto. | |
4207 | * mipsv4-nat.c (get_longjmp_target): Ditto. | |
4208 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto. | |
4209 | * mips-nat.c (get_longjmp_target): Ditto. | |
4210 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto. | |
4211 | * mcore-tdep.c (mcore_extract_struct_value_address): Ditto. | |
4212 | * m68k-tdep.c (m68k_get_longjmp_target): Ditto. | |
4213 | * m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto. | |
4214 | * irix5-nat.c (get_longjmp_target): Ditto. | |
4215 | * irix4-nat.c (get_longjmp_target): Ditto. | |
4216 | * ia64-tdep.c (generic_elf_find_global_pointer): Ditto. | |
4217 | (ia64_push_arguments): Ditto. | |
4218 | * hpux-thread.c (hpux_thread_store_registers): Ditto. | |
4219 | * h8300-tdep.c (h8300_push_arguments): Ditto. | |
4220 | (h8300_store_return_value): Ditto. | |
4221 | (h8300_extract_struct_value_address): Ditto. | |
4222 | * frv-tdep.c (frv_extract_struct_value_address): Ditto. | |
4223 | (frv_push_arguments): Ditto. | |
4224 | * avr-tdep.c (avr_pointer_to_address): Ditto. | |
4225 | (avr_push_arguments): Ditto. | |
4226 | * arm-tdep.c (arm_push_dummy_call): Ditto. | |
4227 | (arm_get_longjmp_target): Ditto. | |
4228 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
4229 | * alpha-tdep.c (alpha_extract_struct_value_address): Ditto. | |
4230 | (alpha_get_longjmp_target): Ditto. | |
4231 | ||
ae0167b9 AC |
4232 | * solib-irix.c (extract_mips_address): Inline extract_address, |
4233 | replacing it with extract_signed_integer. | |
4234 | * solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
4235 | (LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto. | |
4236 | (first_link_map_member, open_symbol_file_object): Ditto. | |
4237 | (svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto. | |
4238 | * solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
4239 | (LM_NEXT, LM_NAME): Ditto. | |
4240 | ||
44d88583 RH |
4241 | 2003-06-01 Richard Henderson <[email protected]> |
4242 | ||
98a8e1e5 RH |
4243 | * alpha-tdep.h (ALPHA_FP_REGNUM): Remove. |
4244 | * alpha-tdep.c (alpha_register_name): Remove vfp entry. | |
4245 | (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM. | |
4246 | (alpha_cannot_store_register): Likewise. | |
4247 | * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM. | |
4248 | * alpha-nat.c (supply_gregset): Likewise. | |
4249 | * alphanbsd-tdep.c (fetch_core_registers): Likewise. | |
44d88583 | 4250 | |
310e9b6a AC |
4251 | 2003-06-01 Andrew Cagney <[email protected]> |
4252 | ||
4253 | * infcall.c (call_function_by_hand): Update comment on | |
4254 | DEPRECATED_DUMMY_WRITE_SP. | |
4255 | ||
4256 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
4257 | deprecated_dummy_write_sp. | |
4258 | (mips_eabi_push_dummy_call): Set the SP register. | |
4259 | (mips_o64_push_dummy_call): Set the SP register. | |
4260 | (mips_o32_push_dummy_call): Set the SP register. | |
4261 | (mips_n32n64_push_dummy_call): Set the SP register. | |
4262 | ||
5ab84872 RH |
4263 | 2003-06-01 Richard Henderson <[email protected]> |
4264 | ||
98a8e1e5 RH |
4265 | * alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE |
4266 | instead of ALPHA_MAX_REGISTER_RAW_SIZE. | |
4267 | (supply_gregset): Likewise. | |
4268 | * alpha-tdep.c (alpha_store_return_value): Likewise. | |
4269 | (alpha_get_longjmp_target): Likewise. | |
4270 | (alpha_register_name): Constify array. | |
4271 | (alpha_gdbarch_init): Remove deprecated_fp_regnum, | |
4272 | deprecated_register_size, deprecated_register_bytes, | |
4273 | deprecated_max_register_raw_size, deprecated_max_register_virtual_size. | |
4274 | * alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove. | |
4275 | (ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
5ab84872 | 4276 | |
09cc52fd RH |
4277 | 2003-06-01 Richard Henderson <[email protected]> |
4278 | ||
4279 | * alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies | |
4280 | from arg_reg_buffer to regcache to avoid double conversion. | |
4281 | ||
c7f16359 MK |
4282 | 2003-06-01 Mark Kettenis <[email protected]> |
4283 | ||
4284 | * i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of | |
4285 | SP_REGNUM. | |
4286 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise. | |
4287 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise. | |
4288 | ||
7131cb6e RH |
4289 | 2003-06-01 Richard Henderson <[email protected]> |
4290 | ||
98a8e1e5 RH |
4291 | * dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation. |
4292 | (decode_frame_entry): Set it. Skip FDE augmentation. | |
7131cb6e | 4293 | |
f3e0f90b RH |
4294 | 2003-06-01 Richard Henderson <[email protected]> |
4295 | ||
98a8e1e5 RH |
4296 | * dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column |
4297 | not overlapping PC_REGNUM. | |
f3e0f90b | 4298 | |
c88e30c0 RH |
4299 | 2003-06-01 Richard Henderson <[email protected]> |
4300 | ||
98a8e1e5 RH |
4301 | * alpha-tdep.c (alpha_push_dummy_call): Transmography from |
4302 | alpha_push_arguments. Don't dump argument register data to | |
4303 | the target stack. Fix float and 128-bit long double semantics. | |
4304 | Store $t12 and $ra as specified by the ABI. Use regcache everywhere. | |
4305 | (alpha_fix_call_dummy): Remove. | |
4306 | (alpha_call_dummy_words): Remove. | |
4307 | (alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call. | |
c88e30c0 | 4308 | |
f1a559ae RH |
4309 | 2003-06-01 Richard Henderson <[email protected]> |
4310 | ||
4311 | * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder. | |
4312 | ||
5e045346 AC |
4313 | 2003-06-01 Andrew Cagney <[email protected]> |
4314 | ||
95404a3e AC |
4315 | * mips-tdep.c (is_mips16_addr): New function. |
4316 | (make_mips16_addr, unmake_mips16_addr): New functions. | |
4317 | (pc_is_mips16, mips_fetch_instruction): Use. | |
4318 | (gdb_print_insn_mips, mips_breakpoint_from_pc): Use. | |
4319 | (gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH. | |
4320 | (mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH, | |
4321 | UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and | |
4322 | TARGET_MIPS. | |
4323 | * config/mips/tm-mips.h: Update copyright. | |
4324 | (TARGET_MIPS, TM_PRINT_INSN_MACH): Delete. | |
4325 | (DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete. | |
4326 | (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete. | |
4327 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete. | |
4328 | (TM_PRINT_INSN_MACH): Delete. | |
4329 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete. | |
4330 | ||
5e045346 AC |
4331 | * configure.tgt: Replace mips64*vr4xxx*el-*-elf*, |
4332 | mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*, | |
4333 | mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*, | |
4334 | mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and | |
4335 | mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete | |
4336 | mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto | |
4337 | mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*, | |
4338 | mips*-*-riscos* and mips*-*-sysv* onto mips. | |
4339 | * config/mips/mips64.mt: New file. | |
4340 | * config/mips/mips.mt: New file. | |
4341 | * config/mips/littlemips.mt: Delete file. | |
4342 | * config/mips/decstation.mt: Delete file. | |
4343 | * config/mips/vr4300el.mt: Delete file. | |
4344 | * config/mips/vr5000el.mt: Delete file. | |
4345 | * config/mips/vr5000.mt: Delete file. | |
4346 | * config/mips/vr4100.mt: Delete file. | |
4347 | * config/mips/vr4xxxel.mt: Delete file. | |
4348 | * config/mips/vr4300.mt: Delete file. | |
4349 | * config/mips/vr4xxx.mt: Delete file. | |
4350 | * config/mips/bigmips.mt: Delete file. | |
4351 | * config/mips/bigmips64.mt: Delete file. | |
4352 | * config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h". | |
4353 | * config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h". | |
4354 | * config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h" | |
4355 | * config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h". | |
4356 | * config/mips/tm-tx39.h: Include "tm-mips.h" instead of | |
4357 | "tm-bigmips.h". | |
4358 | * config/mips/tm-irix3.h: Ditto. | |
4359 | * config/mips/tm-mipsv4.h: Ditto. | |
4360 | * config/mips/tm-embed.h: Ditto. | |
4361 | * config/mips/tm-irix6.h: Include "tm-mips64.h" instead of | |
4362 | "tm-bigmips64.h". | |
4363 | * config/mips/tm-vr5000el.h: Delete file. | |
4364 | * config/mips/tm-tx39l.h: Delete file. | |
4365 | * config/mips/tm-vr4300el.h: Delete file. | |
4366 | * config/mips/tm-vr4xxxel.h: Delete file. | |
4367 | * config/mips/tm-vr4300.h: Delete file. | |
4368 | * config/mips/tm-vr4100.h: Delete file. | |
4369 | * config/mips/tm-vr4xxx.h: Delete file. | |
4370 | * config/mips/tm-vr5000.h: Delete file. | |
4371 | * config/mips/tm-embedl64.h: Delete file. | |
4372 | * config/mips/tm-embedl.h: Delete file. | |
4373 | * config/mips/tm-embed64.h: Delete file. | |
4374 | * config/mips/tm-bigmips64.h: Delete file. | |
4375 | * config/mips/tm-bigmips.h: Delete file. | |
4376 | ||
2473a4a9 MK |
4377 | 2003-06-01 Mark Kettenis <[email protected]> |
4378 | ||
97a5b208 MK |
4379 | Fix gdb/1216. |
4380 | * shnbsd-nat.c: Include "sh-tdep.h". | |
4381 | ||
2473a4a9 MK |
4382 | From Richard Henderson <[email protected]>: |
4383 | * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic. | |
4384 | ||
e0f7ec59 AC |
4385 | 2003-05-31 Andrew Cagney <[email protected]> |
4386 | ||
4387 | * mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add | |
4388 | forward declaration. | |
4389 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
4390 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
4391 | (mips_find_saved_regs): Use set_reg_offset. | |
4392 | (mips_frame_init_saved_regs): Delete function. | |
4393 | (mips_pop_frame): Call mips_find_saved_regs instead of | |
4394 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
4395 | ||
68dcc709 AC |
4396 | 2003-05-31 Andrew Cagney <[email protected]> |
4397 | ||
4398 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
4399 | deprecated_max_register_raw_size, register_virtual_size, and | |
4400 | deprecated_max_register_virtual_size. | |
4401 | ||
cfc14b3a MK |
4402 | 2003-05-31 Mark Kettenis <[email protected]> |
4403 | ||
6405b0a6 MK |
4404 | * i386-tdep.c: Include "dwarf2-frame.h". |
4405 | (i386_gdbarch_init): Hook in the DWARF CFI frame unwinder. | |
4406 | * Makefile.in (i386-tdep.o): Update dependencies. | |
4407 | ||
cfc14b3a MK |
4408 | * dwarf2-frame.c, dwarf2-frame.h: New files. |
4409 | * Makefile.in (SFILES): Add dwarf2-frame.c. | |
4410 | (dwarf2_frame_h): Define. | |
4411 | (COMMON_OBS): Add dwarf2-frame.o. | |
4412 | (dwarf2-frame.o): Add dependencies. | |
4413 | ||
6a2751d2 AJ |
4414 | 2003-05-31 Andreas Jaeger <[email protected]> |
4415 | ||
4416 | * x86-64-linux-nat.c: Fix comment. | |
4417 | ||
1c3545ae MK |
4418 | 2003-05-31 Mark Kettenis <[email protected]> |
4419 | ||
10f93086 MK |
4420 | * x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed |
4421 | function signature. | |
4422 | ||
1c3545ae MK |
4423 | * i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we |
4424 | have a sigcontext_addr handler. | |
4425 | * x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a | |
4426 | sigcontext_addr handler. | |
4427 | ||
e11c53d2 AC |
4428 | 2003-05-31 Andrew Cagney <[email protected]> |
4429 | ||
4430 | * mips-tdep.c (print_gp_register_row): Replace do_gp_register_row. | |
4431 | (print_fp_register_row): Replace do_fp_register_row. | |
4432 | (mips_print_fp_register): Add "file" and "frame" parameters. | |
4433 | (mips_print_register): Add "file" and "frame" parameters. | |
4434 | (mips_print_registers_info): Replace mips_do_registers_info. | |
4435 | (mips_gdbarch_init): Set print_registers_info instead of | |
4436 | deprecated_do_registers_info. | |
4437 | (mips_read_fp_register_single): Add "frame" parameter. | |
4438 | (mips_read_fp_register_double): Add "frame" parameter. | |
4439 | ||
a3386186 MK |
4440 | 2003-05-31 Mark Kettenis <[email protected]> |
4441 | ||
70913449 MK |
4442 | * i386-tdep.c (i386_register_name): Check for MMX registers first. |
4443 | Fixes a bug where GDB would print the wrong register names for | |
4444 | targets without SSE. | |
4445 | ||
2b5e0749 MK |
4446 | * x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS. |
4447 | (x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
4448 | registers. | |
4449 | ||
4450 | * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable. | |
4451 | (x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and | |
4452 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
4453 | TDEP->sc_sp_offset. | |
4454 | ||
a3386186 MK |
4455 | From Michal Ludvig <[email protected]>: |
4456 | * i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset' | |
4457 | and `sc_num_regs'. | |
4458 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
4459 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
4460 | I386_ST0_REGNUM): Move here from... | |
4461 | * i386-tdep.c: ... here. | |
4462 | (I386_NUM_SAVED_REGS): Define to I386_NUM_REGS. | |
4463 | (i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
4464 | registers if possible. | |
4465 | (i386_gdbarch_init): Initialize TDEP->sc_reg_offset. | |
4466 | * i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset): | |
4467 | Remove variables. | |
4468 | (i386bsd_sc_reg_offset): New variable. | |
4469 | (i386bsd_init_abi): Initialize TDEP->sc_reg_offset and | |
4470 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
4471 | TDEP->sc_sp_offset. | |
4472 | (i386fbsd_sc_reg_offset): New variable. | |
4473 | (i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and | |
4474 | TDEP->sc_num_regs. | |
4475 | (i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove | |
4476 | variables. | |
4477 | (i386fbsd4_sc_reg_offset): New variable. | |
4478 | (i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and | |
4479 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
4480 | TDEP->sc_sp_offset. | |
4481 | * i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable. | |
4482 | (i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs. | |
4483 | * i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset): | |
4484 | Remove variables. | |
4485 | (i386nbsd_sc_reg_offset): New variable. | |
4486 | (i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and | |
4487 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
4488 | TDEP->sc_sp_offset. | |
4489 | * i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset): | |
4490 | Remove variables. | |
4491 | (i386obsd_sc_reg_offset): New variable. | |
4492 | (i386obsd_init_abi): Initialize TDEP->sc_reg_offset and | |
4493 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
4494 | TDEP->sc_sp_offset. | |
4495 | * i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in | |
4496 | i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check | |
4497 | for frame pointer offset in `struct sigcontext'. | |
4498 | ||
25ab4790 AC |
4499 | 2003-05-31 Andrew Cagney <[email protected]> |
4500 | ||
4501 | * mips-tdep.c (mips_gdbarch_init): Do not set the deprecated | |
4502 | architecture methods call_dummy_words, sizeof_call_dummy_words, | |
4503 | push_return_address, store_struct_return, and fix_call_dummy. Set | |
4504 | push_dummy_call instead of deprecated_push_arguments. | |
4505 | (mips_store_struct_return): Delete function. | |
4506 | (mips_fix_call_dummy): Delete function. | |
4507 | (mips_push_return_address): Delete function. | |
4508 | (mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set | |
4509 | RA_REGNUM and T9_REGNUM. | |
4510 | (mips_n32n64_push_dummy_call): Ditto for | |
4511 | mips_n32n64_push_arguments. | |
4512 | (mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments. | |
4513 | (mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments. | |
4514 | ||
6a65450a AC |
4515 | 2003-05-31 Andrew Cagney <[email protected]> |
4516 | ||
4517 | * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename | |
4518 | "dummy_addr" to "bp_addr". | |
4519 | * infcall.c (call_function_by_hand): Pass "funaddr" to | |
4520 | gdbarch_push_dummy_call. | |
4521 | * gdbarch.h, gdbarch.c: Re-generate. | |
4522 | * i386-tdep.c (i386_push_dummy_call): Update. | |
4523 | * arm-tdep.c (arm_push_dummy_call): Update. | |
4524 | * d10v-tdep.c (d10v_push_dummy_call): Update. | |
4525 | ||
c4f35dd8 MK |
4526 | 2003-05-31 Mark Kettenis <[email protected]> |
4527 | ||
4528 | * x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove | |
4529 | variable declarations. | |
4530 | (x86_64_register_number, x86_64_register_name): Remove prototypes. | |
4531 | (x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call, | |
4532 | x86_64_linux_in_sigtramp, x86_64_linux_frame_chain, | |
4533 | x86_64_init_frame_pc, x86_64_init_frame_pc, | |
4534 | x86_64_function_has_prologue): Remove prototypes. | |
4535 | (X86_64_NUM_GREGS): New define. | |
4536 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes. | |
4537 | * x86-64-tdep.c: Don't include "dwarf2cfi.h". Include | |
4538 | "dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h". | |
4539 | (RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM, | |
4540 | XMM1_REGNUM): Remove defines. | |
4541 | (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM, | |
4542 | X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM, | |
4543 | X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, | |
4544 | X86_64_XMM1_REGNUM): New defines. | |
4545 | (struct x86_64_register_info): Renamed from `struct | |
4546 | register_info'. Remove `size' member. | |
4547 | (x86_64_register_info_table): Remove variable. | |
4548 | (x86_64_register_info): New variable. | |
4549 | (X86_64_NUM_REGS): New define. | |
4550 | (X86_64_NUM_GREGS): Remove define. | |
4551 | (x86_64_num_regs, x86_64_num_gregs): Remove variables. | |
4552 | (x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length): | |
4553 | Remove variables. | |
4554 | (x86_54_dwarf2_reg_to_regnum): Remove function. | |
4555 | (x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables. | |
4556 | (x86_64_dwarf_reg_to_regnum): New function. | |
4557 | (x86_64_register_name): Rewrite. | |
4558 | (x86_64_register_raw_size): Remove function. | |
4559 | (x86_64_register_byte_table): Remove variable. | |
4560 | (x86_64_register_byte): Remove function. | |
4561 | (x86_64_register_virtual_type): Remove function. | |
4562 | (x86_64_register_type): New function. | |
4563 | (x86_64_register_convertible, x86_64_register_convert_to_virtual, | |
4564 | x86_64_register_convert_to_raw): Remove functions. | |
4565 | (x86_64_push_return_address, x86_64_pop_frame): Remove functon. | |
4566 | (x86_64_use_struct_convention): Make static. Adjust for renamed | |
4567 | defines. | |
4568 | (x86_64_frame_init_saved_regs): Remove function. | |
4569 | (x86_64_push_arguments): Make static. Change to accept a regcache | |
4570 | as argument. | |
4571 | (x86_64_store_return_value, x86_64_extract_return_value): Make | |
4572 | static. Rewrite based on i386 counterparts. | |
4573 | (x86_64_push_dummy_call): New function. | |
4574 | (X86_64_NUM_SAVED_REGS): New define. | |
4575 | (x86_64_register_number): Remove function. | |
4576 | (x86_64_store_struct_return): Remove function. | |
4577 | (x86_64_frameless_function_invocation, | |
4578 | x86_64_function_has_prologue): Remove functions. | |
4579 | (PROLOG_BUFSIZE): Remove define. | |
4580 | (struct x86_64_frame_cache): New structure. | |
4581 | (x86_64_alloc_frame_cache, x86_64_analyze_prologue, | |
4582 | x86_64_frame_cache, x86_64_frame_this_id, | |
4583 | x86_64_frame_prev_register, x86_64_frame_p, | |
4584 | x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id, | |
4585 | x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New | |
4586 | functions. | |
4587 | (x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New | |
4588 | variables. | |
4589 | (x86_64_skip_prologue): Rewrite in terms of | |
4590 | x86_64_analyze_prologue. | |
4591 | (x86_64_frame_base_address): New function. | |
4592 | (x86_64_frame_base): New variable. | |
4593 | (x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite. | |
4594 | (x86_64_init_abi): Set register_type and push_dummy_call. Don't | |
4595 | set deprecated_fp_regnum, deprecated_register_size, | |
4596 | deprecated_register_bytes, register_raw_size, register_byte, | |
4597 | register_virtual_type, register_convertiable, | |
4598 | register_convert_to_virtual, convert_to_raw, | |
4599 | deprecated_get_saved_register, deprecated_target_read_fp, | |
4600 | deprecated_push_arguments, deprecated_push_return_address, | |
4601 | deprecated_pop_frame, deprecated_store_struct_return, | |
4602 | deprecated_frame_init_saved_regs, deprecated_frame_chain, | |
4603 | frameless_function_invocation, deprecated_frame_saved_pc, | |
4604 | deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp, | |
4605 | dwarf2_build_frame_info, deprecated_init_extra_frame_info, | |
4606 | deprecated_init_frame_pc and virtual_frame_pointer. Call | |
4607 | frame_unwind_append_predicate to register x86_64_sigtramp_frame_p | |
4608 | and x86_64_frame_p. Call frame_base_set_default to register | |
4609 | x86_64_frame_base. | |
4610 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines. | |
4611 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New functions. | |
4612 | (_initialize_x86_64_tdep): Remove function. | |
4613 | * x86-64-linux-tdep.c: Don't include "dwarf2cfi.h". | |
4614 | (LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET, | |
4615 | LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't | |
4616 | define. | |
4617 | (X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define. | |
4618 | (x86_64_linux_sigcontext_addr): Rewrite. | |
4619 | (x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call, | |
4620 | x86_64_linux_frame_saved_pc): Remove functions. | |
4621 | (x86_64_linux_pc_in_sigtramp): Renamed from | |
4622 | x86_64_linux_in_sigtramp. Try harder to recognize a signal | |
4623 | trampoline. | |
4624 | (x86_64_linux_frame_chain, x86_64_init_frame_pc): | |
4625 | Remove_functions. | |
4626 | (x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize | |
4627 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
4628 | * x86-64-linux-nat.c: Sync with i386-linux-tdep.c. | |
4629 | (x86_64_regmap): Rename to regmap. | |
4630 | (GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of | |
4631 | x86_64_num_gregs. | |
4632 | (supply_gregset, fill_gregset): Likewise. Use regmap instead of | |
4633 | x86_64_regmap. | |
4634 | (x86_64_fxsave_offset): Remove function. | |
4635 | (supply_fpregset): Simply call x86_64_supply_fxsave. | |
4636 | (fill_fpregset): Simply call x86_64_fill_fxsave. | |
4637 | (fetch_inferior_registers, store_inferior_registers): Avoid | |
4638 | asignment in if-statement. | |
4639 | (LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn, | |
4640 | SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET, | |
4641 | LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines. | |
4642 | (fetch_core_registers): Remove function. | |
4643 | (linux_elf_core_fns): Remove. | |
4644 | (offsetoff): Don't define. | |
4645 | (_initialize_x86_64_linux_nat, kernel_u_size): Remove functions. | |
4646 | * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o. | |
4647 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o, | |
4648 | add core-regset.o. | |
4649 | * config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for | |
4650 | protection against multiple includes instead of NM_X86_64_h. Add | |
4651 | various comments. Include "config/nm-linux.h". Don't include | |
4652 | <signal.h>. | |
4653 | (REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR, | |
4654 | GET_THREAD_SIGNALS): Remove defines. | |
4655 | (x86_64_register_u_addr, kernel_u_size, | |
4656 | lin_thread_get_thread_signals): Remove prototypes. | |
4657 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'. | |
4658 | [HAVE_LINK_H]: Don't include "solib.h". | |
4659 | [HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define. | |
4660 | * config/i386/tm-x86-64linux.h: Fix comments. | |
4661 | * Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o, | |
4662 | x86-64-tdep.o): Update dependencies. | |
4663 | ||
c25083af AC |
4664 | 2003-05-30 Andrew Cagney <[email protected]> |
4665 | ||
c8f55a7b AC |
4666 | * config/sparc/tm-sparc.h (sparc_extract_struct_value_address): |
4667 | Change parameter type to a "struct regcache *". | |
4668 | ||
c25083af AC |
4669 | * gdbarch.sh: Regardless of the multi-arch level, always define |
4670 | the macro when not already defined. | |
4671 | * gdbarch.h, gdbarch.c: Re-generate. | |
4672 | ||
fbe586ae RH |
4673 | 2003-05-30 Richard Henderson <[email protected]> |
4674 | ||
4675 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues. | |
4676 | (alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder. | |
4677 | (alpha_mdebug_frame_this_id): Likewise. | |
4678 | (alpha_mdebug_frame_prev_register): Likewise. | |
4679 | (alpha_mdebug_frame_base_address): Likewise. | |
4680 | (alpha_mdebug_frame_locals_address): Likewise. | |
4681 | (alpha_mdebug_frame_args_address): Likewise. | |
4682 | (struct alpha_mdebug_unwind_cache): Remove in_prologue_cache. | |
4683 | * alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start. | |
4684 | (alpha_heuristic_frame_unwind_cache): Make static; add missing | |
4685 | loop increment. | |
4686 | (alpha_heuristic_frame_this_id): Make static. | |
4687 | (alpha_heuristic_frame_prev_register): Likewise. | |
4688 | (alpha_heuristic_frame_base_address): Likewise. | |
4689 | * alpha-tdep.h: Update. | |
4690 | ||
acd5c798 MK |
4691 | 2003-05-30 Mark Kettenis <[email protected]> |
4692 | ||
4693 | * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype. | |
4694 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove | |
4695 | defenitions. | |
4696 | (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions. | |
4697 | * i386-tdep.c: Mark functions that are 64-bit safe as such. | |
4698 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
4699 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
4700 | I386_ST0_REGNUM): New defines. | |
4701 | (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek, | |
4702 | codestream_get): Remove define. | |
4703 | (codestream_next_addr, condestream_addr, condestream_buf, | |
4704 | codestream_off, codestream_cnt): Remove variables. | |
4705 | (codestream_fill, codestream_seek, codestream_read): Remove | |
4706 | functions. | |
4707 | (i386_follow_jump): Rewrite to avoid usage of removed codestream | |
4708 | functionality. | |
4709 | (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain, | |
4710 | i386_sigtramp_saved_pc, i386_sigtramp_saved_sp, | |
4711 | i386_frame_saved_pc, i386_saved_pc_after_call, | |
4712 | i386_frame_num_args, i386_frame_init_saved_regs, | |
4713 | i386_push_return_address, i386_do_pop_frame, i386_pop_frame, | |
4714 | i386_push_arguments): Remove functions. | |
4715 | (i386_skip_prologue): Rewrite to avoid usage of removed codestream | |
4716 | functionality. Use i386_analyze_prologue instead of | |
4717 | i386_get_frame_setup. | |
4718 | (I386_NUM_SAVED_REGS): New define. | |
4719 | (struct i386_frame_cache): New structure. | |
4720 | (i386_alloc_frame_cache, i386_analyze_struct_return, | |
4721 | i386_skip_probe, i386_analyze_frame_setup, | |
4722 | i386_analyze_register_saves, i386_analyze_prologue, | |
4723 | i386_unwind_pc, i386_frame_cache, i386_frame_this_id, | |
4724 | i386_frame_prev_register, i386_sigtramp_frame_cache, | |
4725 | i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register, | |
4726 | i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address, | |
4727 | i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call): | |
4728 | New functions. | |
4729 | (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base): | |
4730 | New variables. | |
4731 | (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of | |
4732 | I386_EAX_REGNUM and I386_EDX_REGNUM. | |
4733 | (i386_extract_return_value, i386_store_return_value): Use | |
4734 | I386_ST0_REGNUM where appropriate. | |
4735 | (i386_extract_struct_value_address): Rewrite to use extract_address. | |
4736 | (i386_svr4_pc_in_sigtramp): Add comment. | |
4737 | (i386_svr4_sigcontext_addr): Rewrite. | |
4738 | (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and | |
4739 | TDEP->sc_sp_offset. | |
4740 | (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set | |
4741 | sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms | |
4742 | of new defines. Set push_dummy_call, don't set | |
4743 | deprecated_push_arguments, deprecated_push_return_address, | |
4744 | deprecated_pop_frame. Don't set parm_boundary. Don't set | |
4745 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
4746 | deprecated_saved_pc_after_call. Set unwind_dummy_id, | |
4747 | save_dummy_frame_tos, unwind_pc. Call | |
4748 | frame_unwind_append_predicate and frame_base_set_default. Don't | |
4749 | set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum. | |
4750 | Don't set frameless_function_invocation. Don't set | |
4751 | deprecated_register_bytes, deprecated_register_size, | |
4752 | deprecated_call_dummy_words and deprecated_sizeof_call_dummy. | |
4753 | * i386-linux-tdep.c: Fix formatting in some comments. | |
4754 | (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0, | |
4755 | LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1, | |
4756 | LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, | |
4757 | LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, | |
4758 | LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop | |
4759 | redundant parentheses. | |
4760 | (I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define. | |
4761 | (i386_linux_sigcontext_addr): Use it. Rewrite. | |
4762 | (find_minsym_and_objfile): Change name of second argument. | |
4763 | (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers | |
4764 | changed. Use frame_pc_unwind instead of | |
4765 | DEPRECATED_SAVED_PC_AFTER_CALL. | |
4766 | (i386_linux_init_abi): Don't set deprecated_register_bytes. | |
4767 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite. | |
4768 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame | |
4769 | unwinder. | |
4770 | * i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and | |
4771 | "dummy-frame.h". | |
4772 | (i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed. | |
4773 | (_initialize_i386_cygwin_tdep): New prototype. | |
4774 | (i386_cygwin_init_abi): Don't set deprecated_frame_chain and | |
4775 | deprecated_frame_chain_valid. | |
4776 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set | |
4777 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
4778 | Rely on the SVR4 defaults. | |
4779 | * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o. | |
4780 | * Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies. | |
4781 | ||
c89b70f1 AC |
4782 | 2003-05-30 Andrew Cagney <[email protected]> |
4783 | ||
4784 | * infcall.c (call_function_by_hand): Always call | |
4785 | DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case. | |
4786 | ||
85b32d22 RH |
4787 | 2003-05-30 Richard Henderson <[email protected]> |
4788 | ||
c89b70f1 AC |
4789 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop |
4790 | increment. | |
85b32d22 | 4791 | |
bfe51b1e JB |
4792 | 2003-05-29 Jim Blandy <[email protected]> |
4793 | ||
4794 | Use gdbarch methods for solib stuff on PowerPC Linux. | |
4795 | * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, | |
4796 | SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will | |
4797 | show through. | |
4798 | * ppc-linux-tdep.c (ppc_linux_init_abi): Register | |
4799 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, | |
4800 | giving the same effect as the #definitions above. | |
4801 | ||
1abf022c AF |
4802 | 2003-05-29 Adam Fedor <[email protected]> |
4803 | ||
4804 | * objc-lang.c (CONVERT_FUNCPTR): Remove macro | |
4805 | (find_implementation_from_class): Replace it with the standard | |
4806 | case i.e. do nothing. | |
4807 | ||
d2427a71 RH |
4808 | 2003-05-29 Richard Henderson <[email protected]> |
4809 | ||
4810 | * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New. | |
4811 | (alpha_linux_sigtramp_offset): Use it. Make static. | |
4812 | (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn; | |
4813 | update for new frame model. | |
4814 | * alpha-mdebug-tdep.c: New file. | |
4815 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c. | |
4816 | (alpha_osf1_init_abi): Install it. | |
4817 | * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c. | |
4818 | (linked_proc_desc_table): Remove. | |
4819 | (alpha_frame_past_sigtramp_frame): Remove. | |
4820 | (alpha_dynamic_sigtramp_offset): Remove. | |
4821 | (ALPHA_PROC_SIGTRAMP_MAGIC): Remove. | |
4822 | (alpha_proc_desc_is_dyn_sigtramp): Remove. | |
4823 | (alpha_set_proc_desc_is_dyn_sigtramp): Remove. | |
4824 | (push_sigtramp_desc): Remove. | |
4825 | (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM. | |
4826 | (alpha_cannot_store_register): Likewise. | |
4827 | (alpha_sigcontext_addr): Remove. | |
4828 | (alpha_find_saved_regs): Remove. | |
4829 | (alpha_frame_init_saved_regs): Remove. | |
4830 | (alpha_init_frame_pc_first): Remove. | |
4831 | (read_next_frame_reg): Remove. | |
4832 | (alpha_frame_saved_pc): Remove. | |
4833 | (alpha_saved_pc_after_call): Remove. | |
4834 | (temp_proc_desc, temp_saved_regs): Remove. | |
4835 | (alpha_about_to_return): Remove. | |
4836 | (cached_proc_desc): Remove. | |
4837 | (alpha_frame_chain): Remove. | |
4838 | (alpha_print_extra_frame_info): Remove. | |
4839 | (alpha_init_extra_frame_info): Remove. | |
4840 | (alpha_frame_locals_address): Remove. | |
4841 | (alpha_frame_args_address): Remove. | |
4842 | (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR. | |
4843 | (alpha_push_dummy_frame): Remove. | |
4844 | (alpha_pop_frame): Remove. | |
4845 | (alpha_after_prologue): Rename from after_prologue; remove mdebug bits. | |
4846 | (alpha_read_insn): New. | |
4847 | (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust | |
4848 | for different insn encodings. | |
4849 | (alpha_in_lenient_prologue): Remove. | |
4850 | (struct alpha_sigtramp_unwind_cache): New. | |
4851 | (alpha_sigtramp_frame_unwind_cache): New. | |
4852 | (alpha_sigtramp_register_address): New. | |
4853 | (alpha_sigtramp_frame_this_id): New. | |
4854 | (alpha_sigtramp_frame_prev_register): New. | |
4855 | (alpha_sigtramp_frame_unwind): New. | |
4856 | (alpha_sigtramp_frame_p): New. | |
4857 | (struct alpha_heuristic_unwind_cache): New. | |
4858 | (alpha_heuristic_proc_start): Rename from heuristic_proc_start; | |
4859 | don't count nop insns that occur between functions. | |
4860 | (alpha_heuristic_frame_unwind_cache): New; incorporate much of | |
4861 | heuristic_proc_desc, but without the mdebug wrapping. | |
4862 | (alpha_heuristic_frame_this_id): New. | |
4863 | (alpha_heuristic_frame_prev_register): New. | |
4864 | (alpha_heuristic_frame_unwind): New. | |
4865 | (alpha_heuristic_frame_p): New. | |
4866 | (alpha_heuristic_frame_base_address): New. | |
4867 | (alpha_heuristic_frame_base): New. | |
4868 | (alpha_unwind_dummy_id): New. | |
4869 | (alpha_unwind_pc): New. | |
4870 | (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of | |
4871 | frame related deprecated initializations; install replacements. | |
4872 | (alpha_dump_tdep): Remove. | |
4873 | * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame. | |
4874 | (alpha_read_insn, alpha_after_prologue, | |
4875 | alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id, | |
4876 | alpha_heuristic_frame_prev_register, | |
4877 | alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare. | |
4878 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
4879 | * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove. | |
4880 | * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove. | |
4881 | ||
93ec1121 AC |
4882 | 2003-05-29 Andrew Cagney <[email protected]> |
4883 | ||
4884 | * gdb_assert.h (gdb_assert_fail): Provide different definitions | |
4885 | dependant on the availability of ASSERT_FUNCTION. | |
4886 | (ASSERT_FUNCTION): Do not define when there is no function name. | |
4887 | ||
98f08d3d KB |
4888 | 2003-05-29 Kevin Buettner <[email protected]> |
4889 | ||
4890 | From Jimi X <[email protected]>: | |
4891 | * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code. | |
4892 | ||
0897f59b JB |
4893 | 2003-05-28 Jim Blandy <[email protected]> |
4894 | ||
4895 | * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth | |
4896 | argument to ptrace to int; the system headers should give it the | |
4897 | right type, and pointers don't fit in ints on powerpc64-*-*. | |
4898 | ||
14898363 L |
4899 | 2003-05-28 H.J. Lu <[email protected]> |
4900 | ||
4901 | * dwarf2read.c (process_die): Handle DW_TAG_try_block and | |
4902 | DW_TAG_catch_block. | |
4903 | ||
a7a48797 EZ |
4904 | 2003-05-26 Elena Zannoni <[email protected]> |
4905 | ||
4906 | * stabsread.c (dbx_lookup_type): Make static. | |
4907 | (read_type): Ditto. | |
4908 | (add_undefined_type): Ditto. | |
4909 | * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do | |
4910 | not export. | |
4911 | ||
f5479e9c EZ |
4912 | 2003-05-26 Elena Zannoni <[email protected]> |
4913 | ||
4914 | * hpread.c (hpread_has_name): Make static. | |
4915 | (hpread_psymtab_to_symtab): Ditto. | |
4916 | (file_exists): Ditto. | |
4917 | (hpread_call_pxdb): Ditto. | |
4918 | (hpread_pxdb_needed): Ditto. | |
4919 | (hpread_quick_traverse): Ditto. | |
4920 | (hpread_get_header): Ditto. | |
4921 | (hpread_get_lntt): Ditto. | |
4922 | (hpread_get_slt): Ditto. | |
4923 | (class_of): Ditto. | |
4924 | ||
eb2e12d7 AS |
4925 | 2003-05-25 Andreas Schwab <[email protected]> |
4926 | ||
78bf922a AS |
4927 | * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of |
4928 | stack_align and deprecated_extra_stack_alignment_needed. | |
4929 | (m68k_stack_align): Delete. | |
4930 | ||
eb2e12d7 AS |
4931 | * m68k-tdep.c (m68k_register_raw_size): Remove cast. |
4932 | (m68k_register_virtual_size): Likewise. | |
4933 | (altos_skip_prologue): Remove obsolete function. | |
4934 | (isi_frame_num_args): Likewise. | |
4935 | (news_frame_num_args): Likewise. | |
4936 | (m68k_fix_call_dummy): Make static. | |
4937 | (m68k_push_dummy_frame): Likewise. | |
4938 | (m68k_pop_frame): Likewise. | |
4939 | (m68k_skip_prologue): Likewise. | |
4940 | (m68k_frame_init_saved_regs): Likewise. | |
4941 | (m68k_saved_pc_after_call): Likewise. | |
4942 | (m68k_get_longjmp_target): Make multi-arch. | |
4943 | (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep | |
4944 | structure. Register m68k_get_longjmp_target if enabled. | |
4945 | * m68k-tdep.h (struct gdbarch_tdep): Define. | |
4946 | * config/m68k/tm-m68k.h: Don't include "regcache.h". | |
4947 | ||
4948 | * Makefile.in (config.status): Also depend on configure.tgt | |
4949 | and configure.host. | |
4950 | (m68klinux-tdep.o): Update dependencies. | |
4951 | * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1. | |
4952 | * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define. | |
4953 | (M68K_LINUX_JB_PC): Define. | |
4954 | (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp | |
4955 | and take additional parameter. | |
4956 | (m68k_linux_sigtramp_saved_pc): Update. | |
4957 | (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register | |
4958 | m68k_linux_pc_in_sigtramp, in_plt_section, | |
4959 | find_solib_trampoline_target. | |
4960 | * config/m68k/tm-linux.h: Don't include any tm headers. | |
4961 | (START_INFERIOR_TRAPS_EXPECTED): Remove definition. | |
4962 | (JB_ELEMENT_SIZE): Likewise. | |
4963 | (JB_PC): Likewise. | |
4964 | (GET_LONGJMP_TARGET): Likewise. | |
4965 | (IN_SIGTRAMP): Likewise. | |
4966 | (SVR4_SHARED_LIBS): Define this and include "solib.h". | |
4967 | ||
eb2c22dc MK |
4968 | 2003-05-25 Mark Kettenis <[email protected]> |
4969 | ||
4970 | * sparc-tdep.c (sparc32_do_push_arguments): New function. | |
4971 | (sparc32_push_arguments): Re-implement by calling | |
4972 | sparc32_do_push_arguments. | |
4973 | ||
44b7b84e MK |
4974 | 2003-05-25 Mark Kettenis <[email protected]> |
4975 | ||
4976 | * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM, | |
4977 | SPARC_O1_REGNUM): New defines. | |
4978 | (sparc32_extract_return_value): Rewrite to operate on a regcache. | |
4979 | (sparc32_store_return_value): New function. | |
4980 | (sparc_extract_struct_value_address): Rewrite to operate on a | |
4981 | regcache. | |
4982 | (sparc_gdbarch_init): Don't set | |
4983 | deprecated_extract_struct_value_address. Set | |
4984 | extract_struct_value_address instead. Don't set | |
4985 | deprecated_extract_return_value and deprecated_store_return_value | |
4986 | for 32-bit targets. Set extract_return_value and | |
4987 | store_return_value instead. | |
4988 | * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE, | |
4989 | DEPRECTAED_EXTRACT_RETURN_VALUE, | |
4990 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these. | |
4991 | (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE, | |
4992 | EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead. | |
4993 | (sparc_store_return_value): Remove prototype. | |
4994 | (sparc32_store_return_value): New prototype. | |
4995 | (sparc32_extract_return_value, sparc_extract_struct_value_address): | |
4996 | Adjust prototypes. | |
4997 | ||
f6ad61e3 MK |
4998 | 2003-05-24 Mark Kettenis <[email protected]> |
4999 | ||
5000 | * sparcnbsd-tdep.c: Include "gdb_string.h". | |
5001 | ||
b276f1bb AC |
5002 | 2003-05-23 Andrew Cagney <[email protected]> |
5003 | ||
5004 | * p-valprint.c (pascal_val_print): Replace extract_address with | |
5005 | the inline equivalent extract_unsigned_integer. | |
5006 | * jv-valprint.c (java_value_print): Ditto. | |
5007 | * ada-valprint.c (ada_val_print_1): Ditto. | |
5008 | * ada-lang.h (EXTRACT_ADDRESS): Ditto. | |
5009 | ||
e76c5fcc TR |
5010 | 2003-05-23 Theodore A. Roth <[email protected]> |
5011 | ||
5012 | * blockframe.c (frameless_look_for_prologue): Remove unused | |
5013 | after_prologue variable. | |
5014 | ||
2cdd89cb MK |
5015 | 2003-05-23 Mark Kettenis <[email protected]> |
5016 | ||
5017 | * blockframe.c (get_pc_function_start): Rewrite to avoid | |
5018 | asignments in if-statements. | |
5019 | ||
182d43bc EZ |
5020 | 2003-05-23 Raoul Gough <[email protected]> |
5021 | ||
5022 | Committed by Elena Zannoni <[email protected]>. | |
8ffd9b1b | 5023 | * coffread.c(coff_symtab_read): Do relocate static symbols from PE |
182d43bc EZ |
5024 | files, don't relocate absolute symbols (and do use mst_abs). |
5025 | ||
e8f3fcdd AC |
5026 | 2003-05-23 Andrew Cagney <[email protected]> |
5027 | ||
5028 | * objc-lang.c: Include "gdb_assert.h". | |
5029 | (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0. | |
5030 | (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros. | |
5031 | (gdb_check, gdb_check_fatal): Delete functions. | |
5032 | (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with | |
5033 | gdb_assert. | |
5034 | (parse_selector, parse_method, find_methods, find_imps): Ditto. | |
5035 | * Makefile.in (objc-lang.o): Update dependencies. | |
5036 | ||
3c23e6fb ILT |
5037 | 2003-05-22 Ian Lance Taylor <[email protected]> |
5038 | ||
5039 | * disasm.c (gdb_disassemble_info): Initialize disassemble_info | |
5040 | with fprintf_filtered, not fprintf_unfiltered. | |
5041 | ||
af1342ab AC |
5042 | 2003-05-22 Andrew Cagney <[email protected]> |
5043 | ||
5044 | * stack.c (frame_info): Inline extract_address, replacing it with | |
5045 | extract_unsigned_integer. | |
5046 | * findvar.c (unsigned_pointer_to_address): Ditto. | |
5047 | * dwarf2loc.c (dwarf_expr_read_reg): Ditto. | |
5048 | * dwarf2expr.c (dwarf2_read_address): Ditto. | |
5049 | * frame.c (frame_pc_unwind): Update comment. | |
5050 | * dummy-frame.c (deprecated_read_register_dummy): Update comment. | |
5051 | ||
47e242ec JJ |
5052 | 2003-05-22 Jeff Johnston <[email protected]> |
5053 | ||
5054 | * infptrace.c (detach): Call print_sys_errmsg rather than | |
5055 | perror_with_name to issue warning message when errno is non-zero | |
5056 | after calling ptrace detach. | |
5057 | ||
e2ac8128 JB |
5058 | 2003-05-21 J. Brobecker <[email protected]> |
5059 | ||
5060 | * config/pa/tm-hppa.h: Delete some unused macros. Move some | |
5061 | macro definitions from here... | |
5062 | * hppa-tdep.c: ...to there. | |
5063 | ||
92b3541e KB |
5064 | 2003-05-20 Kevin Buettner <[email protected]> |
5065 | ||
5066 | * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function | |
5067 | register_ptrace_addr(). Fix all callers. | |
5068 | ||
55809acb AS |
5069 | 2003-05-21 Andreas Schwab <[email protected]> |
5070 | ||
5071 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
5072 | dependencies. | |
5073 | * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the | |
5074 | end. | |
5075 | * m68klinux-tdep.c (m68k_linux_init_abi): New function. | |
5076 | (_initialize_m68k_linux_tdep): New function. | |
5077 | (m68k_linux_frame_saved_pc): Make static. | |
5078 | (m68k_linux_extract_return_value): Likewise. | |
5079 | (m68k_linux_store_return_value): Likewise. | |
5080 | (m68k_linux_extract_struct_value_address): Likewise. | |
5081 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): | |
5082 | Remove. | |
5083 | (DEPRECATED_STORE_RETURN_VALUE): Remove. | |
5084 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
5085 | (DEPRECATED_FRAME_SAVED_PC): Remove. | |
5086 | ||
0fbc10f7 KW |
5087 | 2003-05-20 Kris Warkentin <[email protected]> |
5088 | ||
5089 | * nto-tdep.c (fetch_core_registers): Match gdb's idea of | |
5090 | regset numbering rather than our own. | |
5091 | ||
58da2eb2 DC |
5092 | 2003-05-19 David Carlton <[email protected]> |
5093 | ||
5094 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*. | |
5095 | ||
1fcb5155 DC |
5096 | 2003-05-19 David Carlton <[email protected]> |
5097 | ||
5098 | Partial fix for PR c++/827. | |
5099 | * cp-support.h: Include symtab.h. | |
5100 | Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace. | |
5101 | * cp-namespace.c: Update contributors. | |
5102 | (cp_lookup_symbol_nonlocal): New. | |
5103 | (lookup_namespace_scope, cp_lookup_symbol_namespace) | |
5104 | (lookup_symbol_file): Ditto. | |
5105 | * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal. | |
5106 | * block.h: Declare block_scope, block_using, block_global_block. | |
5107 | * block.c (block_scope): New. | |
5108 | (block_using, block_global_block): Ditto. | |
5109 | * Makefile.in (cp_support_h): Depend on symtab_h. | |
5110 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc. | |
5111 | ||
5f9a71c3 DC |
5112 | 2003-05-19 David Carlton <[email protected]> |
5113 | ||
5114 | * language.h (struct language_defn): Add 'la_value_of_this' | |
5115 | and 'la_lookup_symbol_nonlocal' members. | |
5116 | * symtab.h: Declare basic_lookup_symbol_nonlocal, | |
5117 | lookup_symbol_static, lookup_symbol_global, | |
5118 | lookup_symbol_aux_block. | |
5119 | * symtab.c (lookup_symbol_aux): Call language hooks to determine | |
5120 | if we should search fields of this and how to do static/global | |
5121 | lookup. | |
5122 | (lookup_symbol_aux_block): Make extern. | |
5123 | (basic_lookup_symbol_nonlocal): New. | |
5124 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
5125 | * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and | |
5126 | 'la_lookup_symbol_nonlocal' members. | |
5127 | * c-lang.c (c_language_defn, cplus_language_defn) | |
5128 | (asm_language_defn, minimal_language_defn): Ditto. | |
5129 | * jv-lang.c (java_language_defn): Ditto. | |
5130 | * language.c (unknown_language_defn, auto_language_defn) | |
5131 | (local_language_defn): Ditto. | |
5132 | * m2-lang.c (m2_language_defn): Ditto. | |
5133 | * objc-lang.c (objc_language_defn): Ditto. | |
5134 | * scm-lang.c (scm_language_defn): Ditto. | |
5135 | * f-lang.c (f_language_defn): Ditto, and include value.h as well. | |
5136 | * p-lang.c (pascal_language_defn): Ditto for both. | |
5137 | * Makefile.in (f-lang.o): Depend on value_h. | |
5138 | (p-lang.o): Ditto. | |
5139 | ||
89a9d1b1 DC |
5140 | 2003-05-19 David Carlton <[email protected]> |
5141 | ||
5142 | * block.h: Declare block_static_block. | |
5143 | * block.c (block_static_block): New. | |
5144 | * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to | |
5145 | lookup_symbol_aux_local, calling block_static_block instead. | |
5146 | (lookup_symbol_aux_local): Delete 'static_block' argument. | |
5147 | ||
eed3f8ab DC |
5148 | 2003-05-19 David Carlton <[email protected]> |
5149 | ||
5150 | * symtab.c (lookup_symbol_aux): Delete #if 0 hunk. | |
5151 | ||
a09d8bda ML |
5152 | 2003-05-19 Michal Ludvig <[email protected]> |
5153 | ||
5154 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix | |
5155 | register numbers mapping. | |
5156 | ||
69636828 AF |
5157 | 2003-05-18 Adam Fedor <[email protected]> |
5158 | ||
5159 | * symtab.c (completion_list_objc_symbol): New function. | |
5160 | (make_symbol_completion_list): Use it to add ObjC symbols | |
5161 | when looking though the list. | |
5162 | (language_search_unquoted_string): New function. | |
5163 | (make_file_symbol_completion_list): Use it. | |
5164 | ||
55baeb84 AS |
5165 | 2003-05-18 Andreas Schwab <[email protected]> |
5166 | ||
d0b45d99 AS |
5167 | * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update |
5168 | dependencies. | |
5169 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define | |
5170 | as m68k_linux_extract_return_value. | |
5171 | (DEPRECATED_STORE_RETURN_VALUE): Define as | |
5172 | m68k_linux_store_return_value. | |
5173 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
5174 | m68k_linux_extract_struct_value_address. | |
5175 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use | |
5176 | get_next_frame, get_frame_base, get_frame_pc. | |
5177 | (m68k_linux_frame_saved_pc): Use get_frame_base. | |
5178 | (m68k_linux_extract_return_value): New function. | |
5179 | (m68k_linux_store_return_value): New function. | |
5180 | (m68k_linux_extract_struct_value_address): New function. | |
5181 | * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target. | |
5182 | ||
55baeb84 AS |
5183 | * c-exp.y (typebase): Remove duplicate occurence of |
5184 | `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead | |
8ffd9b1b | 5185 | of lookup_signed_typename. |
55baeb84 | 5186 | |
b6b08ebf MK |
5187 | 2003-05-18 Mark Kettenis <[email protected]> |
5188 | ||
5189 | * dwarf2loc.c (find_location_expression): Change type of second | |
5190 | argument to `size_t *'. | |
5191 | (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t | |
5192 | for size variable. | |
5193 | ||
5ad1c190 DC |
5194 | 2003-05-18 David Carlton <[email protected]> |
5195 | ||
5196 | * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to | |
5197 | 'linkage_name'. Add comment. | |
5198 | (lookup_symbol_aux_local): Rename 'mangled_name' argument to | |
5199 | 'linkage_name'. | |
5200 | (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
5201 | (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms) | |
5202 | (lookup_block_symbol): Ditto. | |
5203 | ||
b8b527c5 AC |
5204 | 2003-05-16 Andrew Cagney <[email protected]> |
5205 | ||
5206 | * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES. | |
5207 | * gdbarch.h, gdbarch.c: Re-generate. | |
5208 | * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference. | |
5209 | * TODO (REGISTER_BYTES): Delete reference. | |
5210 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
5211 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
5212 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
5213 | * vax-tdep.c (vax_gdbarch_init): Update. | |
5214 | * v850-tdep.c (v850_gdbarch_init): Update. | |
5215 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
5216 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5217 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5218 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5219 | * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. | |
5220 | (ns32k_gdbarch_init_32382): Update. | |
5221 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
5222 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5223 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
5224 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5225 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5226 | * i386-tdep.c (i386_gdbarch_init): Update. | |
5227 | * i386-linux-tdep.c (i386_linux_init_abi): Update. | |
5228 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
5229 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
5230 | * frv-tdep.c (frv_gdbarch_init): Update. | |
5231 | * cris-tdep.c (cris_gdbarch_init): Update. | |
5232 | * avr-tdep.c (avr_gdbarch_init): Update. | |
5233 | * arm-tdep.c (arm_gdbarch_init): Update. | |
5234 | * sparc-tdep.c (sparc_pop_frame): Update. | |
5235 | * rs6000-tdep.c (rs6000_pop_frame): Update. | |
5236 | * remote.c (init_remote_state): Update. | |
5237 | (remote_prepare_to_store): Update. | |
5238 | * remote-vx.c (vx_prepare_to_store): Update. | |
5239 | * remote-sds.c (sds_fetch_registers): Update. | |
5240 | (sds_prepare_to_store): Update. | |
5241 | * remote-array.c: Update. | |
5242 | * regcache.c (init_legacy_regcache_descr): Update. | |
5243 | (init_regcache_descr): Update. | |
5244 | * mips-tdep.c (mips_eabi_extract_return_value): Update. | |
5245 | (mips_o64_extract_return_value): Update. | |
5246 | * irix5-nat.c (fetch_core_registers): Update. | |
5247 | * irix4-nat.c (fetch_core_registers): Update. | |
5248 | * i386-tdep.h: Update. | |
5249 | * hppa-tdep.c (pa_do_registers_info): Update. | |
5250 | (pa_do_strcat_registers_info): Update. | |
5251 | * cris-tdep.c (cris_register_bytes_ok): Update. | |
5252 | * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update. | |
5253 | * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update. | |
5254 | * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update. | |
5255 | * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update. | |
5256 | * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update. | |
5257 | * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update. | |
5258 | * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update. | |
5259 | * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update. | |
5260 | * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update. | |
5261 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update. | |
5262 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update. | |
5263 | * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update. | |
5264 | (REGISTER_BYTES_OK): Update. | |
5265 | * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update. | |
5266 | * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update. | |
5267 | ||
ee2842e2 ILT |
5268 | 2003-05-16 Ian Lance Taylor <[email protected]> |
5269 | ||
5270 | * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define. | |
5271 | (vax_print_insn, print_insn_arg): Remove static functions. | |
5272 | (vax_gdbarch_init): Call set_gdbarch_print_insn with | |
5273 | print_insn_vax from opcodes library. | |
5274 | (_initialize_vax_tdep): Don't set deprecated_tm_print_insn. | |
5275 | ||
973177d3 AC |
5276 | 2003-05-15 Andrew Cagney <[email protected]> |
5277 | ||
aaab4dba AC |
5278 | * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration. |
5279 | * target.h (memory_breakpoint_from_pc): Delete declaration. | |
5280 | * mem-break.c (memory_breakpoint_from_pc): Delete function. | |
5281 | * arch-utils.c (legacy_breakpoint_from_pc): Delete function. | |
5282 | * monitor.c (monitor_insert_breakpoint): Use | |
5283 | gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc. | |
5284 | * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default. | |
5285 | * gdbarch.h, gdbarch.c: Re-generate. | |
5286 | * sparc-tdep.c (sparc_breakpoint_from_pc): New function. | |
5287 | (sparc_gdbarch_init): Set breakpoint_from_pc to | |
5288 | sparc_breakpoint_from_pc. | |
5289 | * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro. | |
5290 | (BREAKPOINT_FROM_PC): Define. | |
5291 | (sparc_breakpoint_from_pc): Declare. | |
5292 | * hppa-tdep.c (hppa_breakpoint_from_pc): New function. | |
5293 | * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare. | |
5294 | (BREAKPOINT_FROM_PC): Define. | |
5295 | (BREAKPOINT): Delete macro. | |
5296 | * target.h: Update comment. | |
5297 | * s390-tdep.c (s390_gdbarch_init): Update comments. | |
5298 | * remote.c: Update comments. | |
5299 | * remote-mips.c: Update comments. | |
5300 | * proc-api.c (write_with_trace): Do not check for a breakpoint. | |
5301 | * mem-break.c: Update comment. | |
5302 | * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT. | |
5303 | (ia64_memory_insert_breakpoint): Update. | |
5304 | * config/sparc/tm-sparc.h: Update comment. | |
5305 | * config/pa/tm-hppa64.h: Update comment. | |
5306 | * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
5307 | (rs6000_breakpoint_from_pc): Update. | |
5308 | * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
5309 | (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro. | |
5310 | (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro. | |
5311 | (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro. | |
5312 | (mips_breakpoint_from_pc): Update. | |
5313 | (mips_dump_tdep): Update. | |
5314 | ||
e06963ff AC |
5315 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro. |
5316 | * minsyms.c (lookup_minimal_symbol): Inline | |
5317 | DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp. | |
5318 | ||
973177d3 AC |
5319 | * c-lang.c (c_printstr): Delete "extern inspect_it" declaration. |
5320 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
5321 | * p-lang.c (pascal_printstr): Ditto. | |
5322 | * objc-lang.c (objc_printstr): Ditto. | |
5323 | * m2-lang.c (m2_printstr): Ditto. | |
5324 | * jv-valprint.c (java_print_value_fields): Ditto. | |
5325 | * f-lang.c (f_printstr): Ditto. | |
5326 | * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h". | |
5327 | * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and | |
5328 | for repeat_count_threshold. | |
5329 | * Makefile.in (cp-valprint.o): Update dependencies. | |
5330 | ||
5ea2bd7f | 5331 | 2003-05-15 Jeff Johnston <[email protected]> |
8ffd9b1b | 5332 | |
5ea2bd7f JJ |
5333 | * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. |
5334 | (examine_prologue): Support looking through leaf functions, knowing | |
8ffd9b1b AJ |
5335 | they start with mov r2,r12. Support skipping over indirect stores |
5336 | of the input registers. Upon hitting a non-nop branch instruction | |
5337 | or predicated instruction, bail out by setting lim_pc to the current | |
5338 | pc value in the loop. At the end, if the lim_pc value is still | |
5ea2bd7f JJ |
5339 | beyond our calculated value and we have trust_limit set, |
5340 | use the lim_pc value. | |
5341 | ||
cc8c88f3 AC |
5342 | 2003-05-15 Andrew Cagney <[email protected]> |
5343 | ||
5344 | * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename | |
5345 | generic_find_dummy_frame. | |
5346 | * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update. | |
5347 | (deprecated_generic_find_dummy_frame): Update. | |
5348 | (deprecated_read_register_dummy): Update. | |
5349 | * frame.c (deprecated_generic_get_saved_register): Update. | |
5350 | ||
909cd28e TR |
5351 | 2003-05-15 Theodore A. Roth <[email protected]> |
5352 | ||
5353 | * avr-tdep.c (avr_breakpoint_from_pc): New function. | |
5354 | (avr_gdbarch_init): Set breakpoint_from_pc method. | |
5355 | ||
b923b08d AC |
5356 | 2003-05-15 Andrew Cagney <[email protected]> |
5357 | ||
5358 | * regcache.c (build_regcache): Set deprecated_register_valid | |
5359 | directly. | |
5360 | (deprecated_grub_regcache_for_register_valid): Delete function. | |
5361 | * regcache.h (deprecated_grub_regcache_for_register_valid): Delete | |
5362 | declaration. | |
5363 | ||
ae2f03ac | 5364 | 2003-05-15 David Carlton <[email protected]> |
8ffd9b1b AJ |
5365 | |
5366 | Committed by Elena Zannoni <[email protected]> | |
fbe586ae RH |
5367 | * symtab.c (lookup_symbol_aux): Delete calls to |
5368 | lookup_symbol_aux_minsyms. | |
5369 | (lookup_symbol_aux_minsyms): Comment out function and | |
5370 | prototype. Delete lookup by mangled name. | |
ae2f03ac | 5371 | |
18ec9831 KB |
5372 | 2003-05-14 Kevin Buettner <[email protected]> |
5373 | ||
5374 | * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to | |
5375 | correctly indicate an empty stack and ``stack_allocated'' to the | |
5376 | indicate the number of elements initially allocated. | |
5377 | (dwarf_expr_grow_stack): Simplify method for computing new | |
5378 | stack size. Don't loop infinitely if ``stack_len'' is zero. | |
5379 | (execute_stack_op): Move ``ctx->in_reg'' initialization | |
5380 | out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to | |
5381 | be used in conjuction with DW_OP_piece. Revise error message | |
5382 | accordingly. | |
5383 | ||
de18ac1f TR |
5384 | 2003-05-14 Theodore A. Roth <[email protected]> |
5385 | ||
5386 | * MAINTAINERS: Update my email address. | |
5387 | * avr-tdep.c: Ditto. | |
5388 | ||
176620f1 EZ |
5389 | 2003-05-14 Elena Zannoni <[email protected]> |
5390 | ||
5391 | * symtab.h (enum domain_enum): Rename from namespace_enum. | |
5392 | (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN, | |
5393 | VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN): | |
5394 | Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE, | |
5395 | LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE, | |
5396 | TYPES_NAMESPACE, METHODS_NAMESPACE. | |
5397 | (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN. | |
5398 | (struct symbol, struct partial_symbol): Rename field | |
5399 | 'namespace_enum namespace' to 'domain_enum domain'. | |
5400 | (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN. | |
5401 | Delete old define kludge for namespace. | |
5402 | ||
5403 | * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c, | |
5404 | blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c, | |
5405 | dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h, | |
5406 | gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c, | |
5407 | language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c, | |
5408 | mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c, | |
5409 | p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c, | |
5410 | stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c, | |
5411 | valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all | |
5412 | occurrences of the above. | |
5413 | ||
b7f31508 ILT |
5414 | 2003-05-14 Ian Lance Taylor <[email protected]> |
5415 | ||
5416 | * Makefile.in (install-only): Use $(SHELL) when running | |
5417 | mkinstalldirs. | |
5418 | ||
2fdbdd39 ILT |
5419 | 2003-05-13 Ian Lance Taylor <[email protected]> |
5420 | ||
a208d82c ILT |
5421 | * MAINTAINERS (write after approval): Add myself. |
5422 | ||
2fdbdd39 ILT |
5423 | * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap |
5424 | second and third arguments. | |
5425 | * ser-tcp.c (_initialize_ser_tcp): Likewise. | |
5426 | * ser-unix.c (_initialize_ser_hardwire): Likewise. | |
5427 | ||
fbd9dcd3 AC |
5428 | 2003-05-13 Andrew Cagney <[email protected]> |
5429 | ||
5430 | * defs.h (store_address): Delete declaration. | |
5431 | findvar.c (store_address): Delete function. | |
5432 | * arm-tdep.c (arm_push_dummy_call): Replace store_address with | |
5433 | store_unsigned_integer. | |
5434 | * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto. | |
5435 | * v850-tdep.c (v850_push_arguments): Ditto. | |
5436 | * sparc-tdep.c (sparc_get_saved_register): Ditto. | |
5437 | * sh-tdep.c (sh64_get_saved_register): Ditto. | |
5438 | * rs6000-tdep.c (rs6000_push_arguments): Ditto. | |
5439 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto. | |
5440 | * mips-tdep.c (mips_eabi_push_arguments): Ditto. | |
5441 | (mips_get_saved_register): Ditto. | |
5442 | * ia64-tdep.c (ia64_get_saved_register): Ditto. | |
5443 | (find_func_descr, ia64_push_arguments): Ditto. | |
5444 | * i386-tdep.c (i386_push_arguments): Ditto. | |
5445 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
5446 | * frv-tdep.c (frv_push_arguments): Ditto. | |
5447 | * frame.c (legacy_saved_regs_prev_register): Ditto. | |
5448 | (deprecated_generic_get_saved_register): Ditto. | |
5449 | * findvar.c (unsigned_address_to_pointer): Ditto. | |
5450 | * dwarf2read.c (dwarf2_const_value): Ditto. | |
5451 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
5452 | * alpha-tdep.c (alpha_push_arguments): Ditto. | |
5453 | ||
6760f9e6 JB |
5454 | 2003-05-12 J. Brobecker <[email protected]> |
5455 | ||
5456 | * NEWS: Mention that the hppa-hpux port has been partially | |
5457 | multiarched (32bit ABIT only, so far). | |
5458 | ||
30e221b4 AC |
5459 | 2003-05-11 Andrew Cagney <[email protected]> |
5460 | ||
5461 | * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol. | |
5462 | * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h, | |
5463 | include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms, | |
5464 | sim/testsuite/sim/arm/misaligned2.ms, and | |
5465 | sim/testsuite/sim/arm/misaligned3.ms. | |
5466 | * disasm.h (struct ui_file): Add opaque struct declaration. | |
5467 | * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto. | |
5468 | * frame.h (struct ui_file): Ditto. | |
5469 | ||
dea7f9ba MK |
5470 | 2003-05-11 Mark Kettenis <[email protected]> |
5471 | ||
5472 | * value.h: Pretty print. | |
5473 | ||
01986c48 MK |
5474 | 2003-05-10 Mark Kettenis <[email protected]> |
5475 | ||
5476 | * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define. | |
5477 | ||
123a958e AC |
5478 | 2003-05-08 Andrew Cagney <[email protected]> |
5479 | ||
5480 | * regcache.h (max_register_size): Delete declaration. | |
5481 | * regcache.c (max_register_size): Delete function. | |
5482 | (struct regcache_descr): Delete field "max_register_size". | |
5483 | (init_regcache_descr, init_legacy_regcache_descr): Assert that all | |
5484 | registers fit in MAX_REGISTER_SIZE. | |
5485 | (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE. | |
5486 | (regcache_restore, regcache_xfer_part, regcache_dump): Ditto. | |
5487 | * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE. | |
5488 | * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto. | |
5489 | * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto. | |
5490 | * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto. | |
5491 | * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto. | |
5492 | * dve3900-rom.c, hppa-tdep.c: Ditto. | |
5493 | ||
eb294659 DC |
5494 | 2003-05-08 David Carlton <[email protected]> |
5495 | ||
5496 | * valops.c (push_word): Fix typo. | |
5497 | ||
d9d9c31f AC |
5498 | 2003-05-08 Andrew Cagney <[email protected]> |
5499 | ||
5500 | * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. | |
5501 | * gdbarch.h: Re-generate. | |
5502 | * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. | |
5503 | (legacy_max_register_raw_size): Delete declaration. | |
5504 | * regcache.c (legacy_max_register_raw_size): Delete function. | |
5505 | * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. | |
5506 | * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto. | |
5507 | * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto. | |
5508 | * remote-rdp.c, remote-array.c, regcache.c: Ditto. | |
5509 | * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto. | |
5510 | * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto. | |
5511 | * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto. | |
5512 | * findvar.c, dwarf2cfi.c: Ditto. | |
5513 | ||
22540ece AC |
5514 | 2003-05-08 Andrew Cagney <[email protected]> |
5515 | ||
5516 | * mips-tdep.c (read_signed_register): New function, moved to here | |
5517 | from "regcache.c". | |
5518 | (read_signed_register_pid): Ditto. | |
5519 | * regcache.c (read_signed_register_pid): Delete function, moved to | |
5520 | "mips-tdep.c". | |
5521 | (read_signed_register): Ditto. | |
5522 | * regcache.h (read_signed_register): Delete declaration. | |
5523 | (read_signed_register_pid): Delete declaration. | |
5524 | ||
0c92afe8 AC |
5525 | 2003-05-08 Andrew Cagney <[email protected]> |
5526 | ||
5527 | * gdbarch.sh: Add comments on MAX_REGISTER_SIZE. | |
5528 | * gdbarch.h: Re-generate. | |
5529 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. | |
5530 | (legacy_max_register_virtual_size): Delete declaration. | |
5531 | * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. | |
5532 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
5533 | * tracepoint.c (memrange_sortmerge): Ditto. | |
5534 | * sparc-tdep.c (sparc_print_registers): Ditto. | |
5535 | * regcache.c (legacy_max_register_virtual_size): Delete function. | |
5536 | ||
6037b830 JB |
5537 | 2002-05-08 J. Brobecker <[email protected]> |
5538 | ||
5539 | * fork-child.c (escape_bang_in_quoted_argument): New function. | |
5540 | (fork_inferior): Escape '!' characters in quoted arguments | |
5541 | only when needed. | |
5542 | ||
5d62c8b1 JB |
5543 | 2003-05-08 J. Brobecker <[email protected]> |
5544 | ||
5545 | * dwarf2read.c (set_cu_language): Set the language to "minimal" if | |
5546 | the language of the CU is not currently supported by GDB. | |
5547 | ||
20a0e81d JB |
5548 | 2003-05-08 J. Brobecker <[email protected]> |
5549 | ||
5550 | * defs.h (language): Add language_minimal enum value. | |
5551 | * c-lang.c (minimal_language_defn): New language definition. | |
5552 | (_initialize_c_language): Add the new minimal language to the list | |
5553 | of languages known to GDB. | |
5554 | ||
710ee10a KB |
5555 | 2003-05-08 Kevin Buettner <[email protected]> |
5556 | ||
5557 | * frame.c (get_frame_type): Don't attempt to lazily initialize | |
5558 | frame's unwinder for legacy frames. | |
5559 | ||
1750fa04 AC |
5560 | 2003-05-07 Andrew Cagney <[email protected]> |
5561 | ||
5562 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" | |
5563 | and "regcache" parameters. | |
5564 | * avr-tdep.c (avr_remote_translate_xfer_address): Ditto. | |
5565 | ||
ddf9f258 | 5566 | 2003-05-07 Jeff Johnston <[email protected]> |
8ffd9b1b AJ |
5567 | |
5568 | * dwarf2read.c (dwarf_decode_lines): Only use output of | |
5569 | check_cu_functions() when calling record_line(). Do not update | |
ddf9f258 JJ |
5570 | the current address. |
5571 | ||
87767c29 AC |
5572 | 2003-05-07 Andrew Cagney <[email protected]> |
5573 | ||
5574 | * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR | |
5575 | code. | |
5576 | ||
5e7b2f39 JB |
5577 | 2003-05-07 Jim Blandy <[email protected]> |
5578 | ||
5579 | Rename commands 'maint list symtabs' and 'maint list psymtabs' to | |
5580 | 'maint info symtabs' and 'maint info psymtabs'. | |
5581 | * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): | |
5582 | Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. | |
5583 | * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): | |
5584 | Declarations updated. | |
5585 | * maint.c (maintenance_list_command): Delete. | |
5586 | (_initialize_maint_cmds): Update calls to add_cmd. | |
5587 | * gdbcmd.h (maintenancelistlist): Delete declaration. | |
5588 | * cli/cli-cmds.c (maintenancelistlist): Delete. | |
5589 | (init_cmd_lists): Don't initialize it. | |
5590 | * cli/cli-cmds.h (maintenancelistlist): Delete declaration. | |
5591 | ||
f6684c31 AC |
5592 | 2003-05-07 Andrew Cagney <[email protected]> |
5593 | ||
5594 | * d10v-tdep.c (remote_d10v_translate_xfer_address): Add | |
5595 | "regcache". | |
5596 | (d10v_print_registers_info): Update. | |
5597 | (d10v_dmap_register, d10v_imap_register): Delete functions. | |
5598 | (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" | |
5599 | and "imap_register". | |
5600 | (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". | |
5601 | (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". | |
5602 | * arch-utils.c (generic_remote_translate_xfer_address): Add | |
5603 | "regcache" and "gdbarch" parameters. | |
5604 | * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" | |
5605 | parameter. Change class to multi-arch. | |
5606 | * gdbarch.h, gdbarch.c: Re-generate. | |
5607 | * remote.c (remote_xfer_memory): Use | |
5608 | gdbarch_remote_translate_xfer_address. | |
8ffd9b1b | 5609 | |
e4846b08 JJ |
5610 | 2003-05-07 Jeff Johnston <[email protected]> |
5611 | ||
5612 | * infrun.c (prev_pc): Move declaration ahead of proceed(). | |
5613 | (proceed): Refresh prev_pc value before resuming. | |
5614 | (stop_stepping): Remove code to refresh prev_pc. | |
5615 | ||
6b71b8ac KW |
5616 | 2003-05-06 Kris Warkentin <[email protected]> |
5617 | ||
5618 | * nto-tdep.c: Removed stray comment. | |
5619 | ||
47979a4b KW |
5620 | 2003-05-06 Kris Warkentin <[email protected]> |
5621 | ||
5622 | * i386-nto-tdep.c: Fix old K&R function definitions. | |
5623 | * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h. | |
5624 | Also change add_show_from_set() call to add_setshow_cmd(). | |
5625 | * nto-tdep.h: Remove PARAMS and grep ^func ARI hits. | |
5626 | ||
00905d52 AC |
5627 | 2003-05-05 Andrew Cagney <[email protected]> |
5628 | ||
5629 | * dummy-frame.c: Include "command.h" and "gdbcmd.h". | |
5630 | (fprint_dummy_frames): New function. | |
5631 | (maintenance_print_dummy_frames): New function. | |
5632 | (_initialize_dummy_frame): Add command "maint print dummy-frames". | |
5633 | * frame.c (fprint_frame_id): Make global. | |
5634 | * frame.h (fprint_frame_id): Declare. | |
5635 | * Makefile.in (dummy-frame.o): Update dependencies. | |
5636 | ||
b1e29e33 AC |
5637 | 2003-05-05 Andrew Cagney <[email protected]> |
5638 | ||
5639 | * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. | |
5640 | (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename | |
5641 | SIZEOF_CALL_DUMMY_WORDS. | |
5642 | (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. | |
5643 | (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. | |
5644 | (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename | |
5645 | CALL_DUMMY_BREAKPOINT_OFFSET. | |
5646 | (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename | |
5647 | CALL_DUMMY_START_OFFSET. | |
5648 | (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. | |
5649 | * gdbarch.h, gdbarch.c: Re-generate. | |
5650 | * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. | |
5651 | * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. | |
5652 | * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. | |
5653 | * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. | |
5654 | * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. | |
5655 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. | |
5656 | * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
5657 | * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. | |
5658 | * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. | |
5659 | * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
5660 | * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. | |
5661 | * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. | |
5662 | * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. | |
5663 | * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. | |
5664 | * config/sparc/tm-sparc.h: Update. | |
daea6f0b KW |
5665 | |
5666 | 2003-05-05 Kris Warkentin <[email protected]> | |
5667 | ||
5668 | * configure.tgt: Add i[3456]86-*-nto*. | |
5669 | * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino. | |
5670 | * nto-tdep.c: New file. Neutrino target support routines. | |
5671 | * nto-tdep.h: New file. Neutrino target header. | |
5672 | * config/tm-qnxnto.h: New file. | |
5673 | * config/i386/i386nto.mt: New file. | |
5674 | * config/i386/tm-i386nto.h: New file. | |
8ffd9b1b | 5675 | |
0ce3d317 AC |
5676 | 2003-05-04 Andrew Cagney <[email protected]> |
5677 | ||
5678 | * gdbthread.h (save_infrun_state): Drop prev_func_name parameter. | |
5679 | (load_infrun_state): Ditto. | |
5680 | (struct thread_info): Drop "prev_func_name" field. | |
5681 | * thread.c (load_infrun_state): Update. | |
5682 | (save_infrun_state): Update. | |
5683 | * infrun.c (prev_func_name): Delete variable. | |
5684 | (init_wait_for_inferior): Do not clear prev_func_name. | |
5685 | (stop_stepping, keep_going, context_switch): Do not swap | |
5686 | prev_func_name. | |
5687 | (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp | |
5688 | instead of PC_IN_SIGTRAMP. | |
5689 | ||
46654a5b AC |
5690 | 2003-05-04 Andrew Cagney <[email protected]> |
5691 | ||
5692 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
5693 | REGISTER_BYTE with register_offset_hack. | |
5694 | * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check | |
5695 | that REGISTER_BYTE is consistent with the regcache. | |
5696 | * gdbarch.sh (REGISTER_BYTE): Add a predicate. | |
5697 | * gdbarch.h, gdbarch.c: Regenerate. | |
8ffd9b1b | 5698 | |
14b08c1b MK |
5699 | 2003-05-04 Mark Kettenis <[email protected]> |
5700 | ||
04c8243f MK |
5701 | * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15. |
5702 | (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15. | |
5703 | ||
14b08c1b MK |
5704 | * i386-linux-nat.c (supply_gregset): Remove unnecessary casts. |
5705 | ||
c7a11e01 JB |
5706 | 2003-05-03 J. Brobecker <[email protected]> |
5707 | ||
5708 | From Thierry Schneider <[email protected]> | |
5709 | * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o. | |
5710 | (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c. | |
5711 | (mi-cmd-symbol.o): Add rule. | |
5712 | ||
7043d8dc AC |
5713 | 2003-05-03 Andrew Cagney <[email protected]> |
5714 | ||
5715 | * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add | |
5716 | comments noteing that it replaces the old FIX_CALL_DUMMY code. | |
5717 | * gdbarch.h, gdbarch.c: Re-generate. | |
5718 | * d10v-tdep.c (d10v_push_dummy_code): New function. | |
5719 | (d10v_gdbarch_init): Set push_dummy_code. | |
5720 | * infcall.c (legacy_push_dummy_code): New function. | |
5721 | (generic_push_dummy_code): New function. | |
5722 | (push_dummy_code): New function. | |
5723 | (call_function_by_hand): Call push_dummy_code. Pass bp_addr, | |
5724 | instead of dummy_addr, to push_dummy_call. Move call to | |
5725 | generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION | |
5726 | switch. | |
5727 | * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code. | |
5728 | ||
92bf2b80 AC |
5729 | 2003-05-03 Andrew Cagney <[email protected]> |
5730 | ||
5731 | * disasm.h (print_insn): Declare. | |
5732 | * disasm.c (init_gdb_disassemble_info): New function. | |
5733 | (gdb_disassembly): Call init_gdb_disassemble_info. | |
5734 | (gdb_print_insn): New function. | |
5735 | * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead | |
5736 | of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog". | |
5737 | * mcore-tdep.c: Include "disasm.h" | |
5738 | (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN. | |
5739 | * d10v-tdep.c: Include "disasm.h". | |
5740 | (display_trace): Call gdb_print_insn, instead of print_insn. | |
5741 | (print_insn): Delete function. | |
5742 | * printcmd.c: Include "disasm.h". | |
5743 | (print_insn): Delete function. | |
5744 | (print_formatted): Call gdb_print_insn, instead of print_insn. | |
5745 | * Makefile.in (printcmd.o): Update dependencies. | |
5746 | (mcore-tdep.o, d10v-tdep.o): Ditto. | |
8ffd9b1b | 5747 | |
27d94c49 AC |
5748 | 2003-05-02 Andrew Cagney <[email protected]> |
5749 | ||
82de1e5b AC |
5750 | * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef |
5751 | PC_REGNUM, re-indent. | |
5752 | * stack.c (frame_info): Use "pc" for the name of get_frame_pc when | |
5753 | PC_REGNUM isn't set. | |
5754 | ||
27d94c49 AC |
5755 | * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional. |
5756 | * gdbarch.h, gdbarch.c: Re-generate. | |
5757 | * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size, | |
5758 | register_virtual_size, pc_regnum, or register_bytes. | |
5759 | (D10V_PC_REGNUM): Rename _PC_REGNUM. | |
5760 | (d10v_register_type): Use D10V_PC_REGNUM. | |
5761 | (d10v_print_registers_info, d10v_read_pc): Ditto. | |
5762 | (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto. | |
5763 | (d10v_unwind_pc, d10v_frame_prev_register): Ditto. | |
5764 | ||
a9c0dc7f DC |
5765 | 2003-05-02 David Carlton <[email protected]> |
5766 | ||
5767 | * objfiles.c (allocate_objfile): For anonymous objfiles, allocate | |
5768 | the name with mstrsave. | |
5769 | ||
e33d66ec EZ |
5770 | 2003-05-02 Elena Zannoni <[email protected]> |
5771 | ||
5772 | * charset.c (GDB_DEFAULT_TARGET_CHARSET, | |
5773 | GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. | |
5774 | (host_charset_name, target_charset_name): New vars for use by | |
5775 | set/show commands. | |
5776 | (host_charset_enum, target_charset_enum): New enums for set/show | |
5777 | commands. | |
5778 | (set_charset_sfunc, set_host_charset_sfunc, | |
5779 | set_target_charset_sfunc): New functions. | |
5780 | (set_host_charset, set_target_charset): Make static. | |
5781 | (list_charsets, set_host_charset_command, | |
5782 | set_target_charset_command): Delete functions. | |
5783 | (show_charset_command): Rewrite as.... | |
5784 | (show_charset): Hook this up with the set/show command mechanism. | |
5785 | (_initialize_charset): Change names of charsets to match the | |
5786 | set/show enums. Use host_charset_name and target_charset_name. | |
5787 | Use set/show mechanism for charset, host-charset, target-charset | |
5788 | commands. Do not make 'show host-charset' and 'show | |
5789 | target-charset' be aliases of 'show charset'. | |
5790 | ||
5791 | * charset.h (set_host_charset, set_target_charset): Don't export, | |
5792 | they are not used outside the file. | |
5793 | ||
2b6fd0d8 AC |
5794 | 2003-05-01 Andrew Cagney <[email protected]> |
5795 | ||
5796 | * disasm.c (gdb_disassemble_from_exec): Delete global variable. | |
5797 | (gdb_disassembly): Make "di" non static, always initialize and | |
5798 | cleanup. Always use dis_asm_read_memory. | |
5799 | (gdb_dis_asm_read_memory): Delete function. | |
5800 | ||
6ae2f580 AC |
5801 | 2003-05-01 Andrew Cagney <[email protected]> |
5802 | ||
5803 | * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align. | |
5804 | (d10v_gdbarch_init): Set frame_align instead of stack_align. | |
5805 | ||
810ecf9f AC |
5806 | 2003-04-30 Andrew Cagney <[email protected]> |
5807 | ||
5808 | * gdbarch.sh (deprecated_tm_print_insn_info): Rename | |
5809 | "tm_print_insn_info". | |
5810 | (TARGET_PRINT_INSN_INFO): Delete macro. | |
5811 | (dis_asm_read_memory): Delete function declaration. | |
5812 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
5813 | (tm_print_insn_info): Delete variable definition. | |
5814 | (_initialize_gdbarch): Do not initialize "tm_print_insn_info". | |
5815 | * gdbarch.h, gdbarch.c: Re-generate. | |
5816 | * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with | |
5817 | "deprecated_tm_print_insn_info". | |
5818 | * mcore-tdep.c (mcore_dump_insn): Ditto. | |
5819 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
5820 | * sparc-tdep.c (_initialize_sparc_tdep): Ditto. | |
5821 | * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto. | |
5822 | * ia64-tdep.c (_initialize_ia64_tdep): Ditto. | |
5823 | * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info" | |
5824 | instead of TARGET_PRINT_INSN_INFO, add comment. | |
5825 | * s390-tdep.c (s390_get_frame_info): Instead of | |
5826 | "dis_asm_read_memory", use "deprecated_tm_print_insn_info". | |
5827 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
5828 | * corefile.c (dis_asm_read_memory): Move to "disasm.c". | |
5829 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
5830 | * disasm.c: Include "gdbcore.h". | |
5831 | (_initialize_disasm): New function, initialize | |
5832 | "deprecated_tm_print_insn_info". | |
5833 | (deprecated_tm_print_insn_info): New variable. | |
5834 | (dis_asm_read_memory): Moved from "corefile.c", made static. | |
5835 | (dis_asm_print_address, dis_asm_memory_error): Ditto. | |
5836 | * Makefile.in (disasm.o): Update dependencies. | |
5837 | ||
07020390 AC |
5838 | 2003-04-30 Andrew Cagney <[email protected]> |
5839 | ||
5840 | * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. | |
5841 | ||
a9fa03de AF |
5842 | 2003-04-29 Adam Fedor <[email protected]> |
5843 | ||
5844 | * eval.c (evaluate_subexp_standard): Handle ObjC ops. | |
5845 | * infcall.c (find_function_addr): Make non-static. | |
5846 | * infcall.h (find_function_addr): Declare. | |
5847 | * Makefile.in (eval.o): Update dependencies. | |
5848 | ||
1bae87b9 AF |
5849 | 2003-04-28 Adam Fedor <[email protected]> |
5850 | ||
5851 | * symtab.c (symbol_find_demangled_name): Check for and demangle | |
5852 | ObjC symbols. | |
5853 | (symbol_init_demangled_name): Init for language_objc as well. | |
5854 | ||
0ba6dca9 AC |
5855 | 2003-04-28 Andrew Cagney <[email protected]> |
5856 | ||
5857 | * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. | |
5858 | (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. | |
5859 | * gdbarch.h, gdbarch.c: Re-generate. | |
5860 | * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, | |
5861 | DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. | |
5862 | * inferior.h (deprecated_read_fp): Rename read_fp. | |
5863 | (generic_target_read_fp): Delete declaration. | |
5864 | * regcache.c (generic_target_read_fp): Delete function. | |
5865 | (deprecated_read_fp): Replace read_fp, use | |
5866 | DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. | |
5867 | * d10v-tdep.c (d10v_read_fp): Delete function. | |
5868 | (d10v_gdbarch_init): Do not set deprecated_read_fp. | |
5869 | ||
5870 | * sparc-tdep.c (sparc_gdbarch_init): Do not set | |
5871 | deprecated_target_read_fp to generic_target_read_fp. | |
5872 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5873 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5874 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5875 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
5876 | ||
5877 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set | |
5878 | deprecated_fp_regnum. | |
5879 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
5880 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
5881 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
5882 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
5883 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5884 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
5885 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5886 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
5887 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
5888 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
5889 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5890 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
5891 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
5892 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
5893 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
5894 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
5895 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
5896 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
5897 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
5898 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
5899 | ||
5900 | * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. | |
5901 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
5902 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
5903 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5904 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
5905 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5906 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
5907 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
5908 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5909 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
5910 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
5911 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
5912 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
5913 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
5914 | ||
5915 | * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with | |
5916 | DEPRECATED_FP_REGNUM. | |
5917 | (vax_push_dummy_frame, vax_pop_frame): Ditto. | |
5918 | * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. | |
5919 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
5920 | (sparc_push_dummy_frame, sparc64_read_fp): Ditto. | |
5921 | (sparc32_register_virtual_type): Ditto. | |
5922 | * sh-tdep.c (sh64_frame_chain): Ditto. | |
5923 | (sh64_get_saved_register, sh64_pop_frame): Ditto. | |
5924 | (sh_nofp_frame_init_saved_regs): Ditto. | |
5925 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
5926 | (sh_fp_frame_init_saved_regs): Ditto. | |
5927 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
5928 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
5929 | * procfs.c (procfs_fetch_registers): Ditto. | |
5930 | (procfs_store_registers): Ditto. | |
5931 | * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. | |
5932 | (store_inferior_registers, fetch_core_registers): Ditto. | |
5933 | (fetch_kcore_registers, clear_regs): Ditto. | |
5934 | * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. | |
5935 | (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. | |
5936 | * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. | |
5937 | * nlm/i386.c (do_status): Ditto. | |
5938 | * mipsv4-nat.c (supply_gregset): Ditto. | |
5939 | * mips-tdep.c: Ditto for comments. | |
5940 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
5941 | (store_inferior_registers, fetch_core_registers): Ditto. | |
5942 | * m68k-tdep.c (m68k_push_dummy_frame): Ditto. | |
5943 | (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. | |
5944 | * i386-tdep.c (i386_frame_init_saved_regs): Ditto. | |
5945 | (i386_do_pop_frame, i386_register_type): Ditto. | |
5946 | * hppa-tdep.c (hppa_frame_chain): Ditto. | |
5947 | (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. | |
5948 | (hppa_pop_frame, hppa_read_fp): Ditto. | |
5949 | (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. | |
5950 | * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. | |
5951 | * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. | |
5952 | * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. | |
5953 | * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. | |
5954 | * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. | |
5955 | * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. | |
5956 | * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. | |
5957 | * blockframe.c: Ditto for comments. | |
5958 | * arch-utils.h: Ditto for comments. | |
5959 | * arch-utils.c (legacy_virtual_frame_pointer): Ditto. | |
5960 | * alphanbsd-tdep.c (fetch_core_registers): Ditto. | |
5961 | * alphabsd-nat.c (fetch_inferior_registers): Ditto. | |
5962 | * alpha-tdep.h: Ditto for comments. | |
5963 | * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. | |
5964 | (alpha_cannot_store_register): Ditto. | |
5965 | (alpha_push_dummy_frame): Ditto. | |
5966 | * alpha-nat.c (supply_gregset): Ditto. | |
5967 | ||
5968 | * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. | |
5969 | * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. | |
5970 | * config/sparc/tm-sparc.h: Update comment. | |
5971 | ||
5972 | * hppa-tdep.c (hppa_init_extra_frame_info): Use | |
5973 | deprecated_read_fp instead of TARGET_READ_FP. | |
5974 | (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. | |
5975 | (hppa_push_dummy_frame, hppa_read_fp): Ditto. | |
5976 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
5977 | deprecated_read_fp instead of read_fp. | |
5978 | * s390-tdep.c (s390_push_arguments): Ditto. | |
5979 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
5980 | * frame.h: Ditto in comments. | |
5981 | * frame.c (legacy_get_prev_frame): Ditto. | |
5982 | * dummy-frame.c (dummy_frame_this_id): Ditto. | |
5983 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
5984 | ||
d7a27068 AC |
5985 | 2003-04-28 Andrew Cagney <[email protected]> |
5986 | ||
5987 | * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn. | |
5988 | * gdbarch.h, gdbarch.c: Re-generate. | |
5989 | * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update. | |
5990 | * vax-tdep.c (_initialize_vax_tdep): Update. | |
5991 | * v850-tdep.c (_initialize_v850_tdep): Update. | |
5992 | * sparc-tdep.c (_initialize_sparc_tdep): Update. | |
5993 | * s390-tdep.c (_initialize_s390_tdep): Update. | |
5994 | * ns32k-tdep.c (_initialize_ns32k_tdep): Update. | |
5995 | * mn10300-tdep.c (_initialize_mn10300_tdep): Update. | |
5996 | * mips-tdep.c (_initialize_mips_tdep): Update. | |
5997 | * mcore-tdep.c (_initialize_mcore_tdep): Update. | |
5998 | * m68k-tdep.c (_initialize_m68k_tdep): Update. | |
5999 | * ia64-tdep.c (_initialize_ia64_tdep): Update. | |
6000 | * hppa-tdep.c (_initialize_hppa_tdep): Update. | |
6001 | * h8300-tdep.c (_initialize_h8300_tdep): Update. | |
6002 | * frv-tdep.c (_initialize_frv_tdep): Update. | |
6003 | * cris-tdep.c (cris_delayed_get_disassembler): Update. | |
6004 | (_initialize_cris_tdep): Update. | |
6005 | * arch-utils.c (legacy_print_insn): Update. | |
6006 | * alpha-tdep.c (_initialize_alpha_tdep): Update. | |
6007 | ||
d2630e69 AF |
6008 | 2003-04-26 Adam Fedor <[email protected]> |
6009 | ||
6010 | * linespec.c (decode_objc): New function to decode ObjC calls | |
6011 | (decode_line_1): Check for ObjC calls (using decode_objc) | |
6012 | * Makefile (linespec.o): Update dependencies. | |
6013 | ||
3086aeae DJ |
6014 | 2003-04-26 Daniel Jacobowitz <[email protected]> |
6015 | ||
6016 | * breakpoint.h (struct breakpoint_ops): New. | |
6017 | (struct breakpoint): Add ops member. | |
6018 | ||
6019 | * breakpoint.c (print_bp_stop_message, print_one_breakpoint) | |
6020 | (mention): Use new breakpoint ops member. | |
6021 | (set_raw_breakpoint): Initialize ops field to NULL. | |
6022 | (print_exception_catchpoint, print_one_exception_catchpoint) | |
6023 | (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New. | |
6024 | (gnu_v3_exception_catchpoint_ops): New. | |
6025 | (catch_exception_command_1): Call handle_gnu_v3_exceptions. | |
6026 | ||
1fbec6c3 AF |
6027 | 2003-04-25 Adam Fedor <[email protected]> |
6028 | ||
6029 | * Makefile.in (COMMON_OBS): Add objc-lang.o | |
6030 | ||
0ef21242 AC |
6031 | 2003-04-25 Andrew Cagney <[email protected]> |
6032 | ||
6033 | * d10v-tdep.c (print_insn): Delete function. | |
6034 | (display_trace): Use TARGET_PRINT_INSN. | |
6035 | (_initialize_d10v_tdep): Do not set tm_print_insn. | |
6036 | (d10v_gdbarch_init): Set print_insn. | |
6037 | ||
f75493ed AC |
6038 | 2003-04-25 Andrew Cagney <[email protected]> |
6039 | ||
6040 | * d10v-tdep.c (d10v_extract_return_value): Delete call to printf. | |
6041 | (_initialize_d10v_tdep): Use add_setshow_boolean_cmd. | |
6042 | (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC. | |
6043 | (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ... | |
6044 | (nr_dmap_regs, a0_regnum): ... new functions. | |
6045 | (d10v_print_registers_info): Use a0_regnum, use register_size. | |
6046 | (d10v_register_byte): Delete function. | |
6047 | (d10v_register_raw_size): Delete function. | |
6048 | (d10v_register_type): Use a0_regnum. | |
6049 | (d10v_print_registers_info): Use a0_regnum. | |
6050 | (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM. | |
6051 | (d10v_gdbarch_init): Do not set register_byte or | |
6052 | register_raw_size, use D10V_SP_REGNUM to set sp_regnum. | |
6053 | (d10v_pointer_to_address): Use extract_unsigned_integer instead of | |
6054 | extract_address. | |
6055 | (trace_command): Use XCALLOC. | |
6056 | (print_insn): Delete reference to tm_print_insn. | |
6057 | (saved_regs_unwinder): Use store_unsigned_integer instead of | |
6058 | store_address. | |
6059 | * frame.h (FRAME_OBSTACK_CALLOC): Define | |
6060 | ||
2202b100 DC |
6061 | 2003-04-25 David Carlton <[email protected]> |
6062 | ||
6063 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp. | |
6064 | ||
4e45ca2e AF |
6065 | 2003-04-24 Adam Fedor <[email protected]> |
6066 | ||
6067 | * objc-lang.c: Include "valprint.h" | |
6068 | * Makefile.in (objc-lang.o): Update dependencies. | |
6069 | ||
93de3e7f AF |
6070 | 2003-04-24 Adam Fedor <[email protected]> |
6071 | ||
8ffd9b1b | 6072 | * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove |
93de3e7f AF |
6073 | architecture dependant compilation and mark as unimplemented |
6074 | (until they get put in the gdbarch vector). | |
6075 | ||
0f20eeea DC |
6076 | 2003-04-23 David Carlton <[email protected]> |
6077 | ||
6078 | * cp-support.c (cp_find_first_component): Accept 'operator' in | |
6079 | more locations. | |
6080 | ||
74cfe982 AC |
6081 | 2003-04-23 Andrew Cagney <[email protected]> |
6082 | ||
6083 | * infcall.c (call_function_by_hand): Eliminate redundant | |
6084 | indentation. Move "saved_async" and "old_cleanups" to where they | |
6085 | are needed. | |
8ffd9b1b | 6086 | |
52557533 AC |
6087 | 2003-04-23 Andrew Cagney <[email protected]> |
6088 | ||
6089 | * infcall.c (call_function_by_hand): Eliminate the variables "rc" | |
6090 | and "buffer". Move the "name" code to where it is needed. | |
6091 | ||
158775de AC |
6092 | 2003-04-23 Andrew Cagney <[email protected]> |
6093 | ||
6094 | * infcall.c (call_function_by_hand): Move variables "start_sp", | |
6095 | "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call | |
6096 | code to ON_STACK switch branch. | |
8ffd9b1b | 6097 | |
ebc7896c AC |
6098 | 2003-04-23 Andrew Cagney <[email protected]> |
6099 | ||
6100 | * infcall.c (call_function_by_hand): Make declaration of "i", | |
6101 | "sal", "bpt" and "old_sp" more local to their use. Delete #if | |
6102 | lint. | |
6103 | ||
d727590f AC |
6104 | 2003-04-23 Andrew Cagney <[email protected]> |
6105 | ||
6106 | * infcall.c (call_function_by_hand): Delete variable | |
6107 | "n_method_args". Localize "param_type"'s declaration to the loop | |
6108 | that it is used. Reinstate code assigning to said variable - | |
6109 | deleted on 2002-06-14. Rationalize calls to value_args_coerce. | |
6110 | Rationalize code using "param_type". | |
6111 | ||
d585e13a AC |
6112 | 2003-04-22 Andrew Cagney <[email protected]> |
6113 | ||
6114 | * infcall.c (call_function_by_hand): Use new variable "bp_addr" to | |
6115 | compute the breakpoint address. Only call FIX_CALL_DUMMY when | |
6116 | ON_STACK. Eliminate the variable "addr". Do not pass "real_pc" | |
6117 | to DEPRECATED_PUSH_RETURN_ADDRESS. | |
6118 | ||
051caad9 KB |
6119 | 2003-04-22 Kevin Buettner <[email protected]> |
6120 | ||
6121 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM | |
6122 | on the DWARF2 register number prior to fetching a register. | |
6123 | ||
77296879 JB |
6124 | 2003-04-22 J. Brobecker <[email protected]> |
6125 | ||
6126 | * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro. | |
6127 | Update all the tests using SOFT_FLOAT considering the fact that | |
8ffd9b1b | 6128 | this macro was always set to 0. |
77296879 JB |
6129 | * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT |
6130 | considering the fact that this macro was always set to 0. | |
6131 | * hppa-tdep.h (hppa_store_return_value): Likewise. | |
6132 | (hppa_extract_return_value): Likewise. | |
6133 | ||
4252f1df JB |
6134 | 2003-04-22 J. Brobecker <[email protected]> |
6135 | ||
6136 | * config/pa/tm-hppa.h: Remove obsolete code, was used by | |
6137 | the hppa-pro target only. | |
6138 | ||
14604c6b JB |
6139 | 2003-04-21 J. Brobecker <[email protected]> |
6140 | ||
6141 | Ongoing multi-arch conversion effort for HP/UX: | |
6142 | * config/pa/tm-hppa.h: Move all macro that are no longer | |
6143 | defined now that GDB_MULTI_ARCH is now set to 1 from here... | |
6144 | * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet). | |
6145 | ||
77eb01d1 JB |
6146 | 2003-04-21 J. Brobecker <[email protected]> |
6147 | ||
6148 | * config/pa/tm-hppa.h: Obsolete a section that was only used | |
6149 | for hppa-pro. | |
6150 | ||
61995b3b JB |
6151 | 2003-04-21 J. Brobecker <[email protected]> |
6152 | ||
6153 | Ongoing multi-arch conversion for HP/UX. | |
6154 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define | |
6155 | if already defined (allows hppa64 to stay non-multiarched for now). | |
6156 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define. | |
6157 | ||
4aa79dcc AC |
6158 | 2003-04-21 Andrew Cagney <[email protected]> |
6159 | ||
6160 | * frame.c (frame_id_eq): Fail when the code_addr's do not match. | |
6161 | ||
0f751ff2 AC |
6162 | 2003-04-21 Andrew Cagney <[email protected]> |
6163 | ||
6164 | * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with | |
6165 | "i386_num_mmx_regs". | |
6166 | ||
04714b91 AC |
6167 | 2003-04-21 Andrew Cagney <[email protected]> |
6168 | ||
6169 | * infcall.c: New file. | |
6170 | * infcall.h: New file. | |
6171 | * valarith.c: Include "infcall.h". | |
6172 | * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto. | |
6173 | * eval.c, ada-valprint.c, ada-lang.c: Ditto. | |
6174 | * Makefile.in (valarith.o, scm-lang.o): Update dependencies. | |
6175 | (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies. | |
6176 | (eval.o, ada-valprint.o, ada-lang.o): Update dependencies. | |
6177 | (SFILES): Add "infcall.c" | |
6178 | (COMMON_OBS): Add "infcall.o". | |
6179 | (infcall.o): Specify dependencies. | |
6180 | * value.h (call_function_by_hand): Delete declaration. | |
6181 | * inferior.h (run_stack_dummy): Delete declaration. | |
6182 | * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c". | |
6183 | (run_stack_dummy): Move to "infcall.c", merged into | |
6184 | call_function_by_hand. | |
6185 | * valops.c (call_function_by_hand): Moved to "infcall.c". | |
6186 | (find_function_addr, value_arg_coerce): Ditto. | |
6187 | (unwindonsignal_p, coerce_float_to_double): Ditto. | |
6188 | (_initialize_valops): Move "set/show coerce-float-to-double", and | |
6189 | "set/show unwindonsignal" commands to "infcall.c". | |
6190 | * v850-tdep.c, target.h: Update comments. | |
6191 | * sparc-tdep.c (sparc_fix_call_dummy): Update comments. | |
6192 | * sh-tdep.c (sh_init_extra_frame_info): Update comments. | |
6193 | (sh64_init_extra_frame_info): Update comments. | |
6194 | * mn10300-tdep.c: Update comments. | |
6195 | * mcore-tdep.c (mcore_init_extra_frame_info): Update comments. | |
6196 | * config/sparc/tm-sparc.h: Update comments. | |
6197 | * breakpoint.h: Update comments. | |
6198 | * avr-tdep.c (avr_init_extra_frame_info): Update comments. | |
6199 | * arm-tdep.c: Update comment. | |
6200 | ||
f9d3c2a8 MK |
6201 | 2003-04-19 Mark Kettenis <[email protected]> |
6202 | ||
c40e1eab MK |
6203 | * i386-tdep.c (i386_num_register_names): New variable. |
6204 | (i386_num_mmx_regs): Renamed from mmx_num_regs. | |
6205 | (MM0_REGNUM): Remove redundant parentheses in define. | |
6206 | (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs. | |
6207 | (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, | |
6208 | i386_mxcsr_regnum_p): Remove redundant parentheses. | |
6209 | (i386_register_name): Use i386_num_register_names. | |
8ffd9b1b | 6210 | |
94ea66b3 MK |
6211 | * i386-tdep.c (i386_extract_return_value, |
6212 | i386_store_return_value): Correct check for availability of | |
6213 | floating-point registers. | |
6214 | ||
54299a1d MK |
6215 | * i386-tdep.c (i386_frame_num_args): Remove function. |
6216 | (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown. | |
6217 | ||
c86c27af MK |
6218 | * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from |
6219 | mmx_regnum_to_fp_regnum. Adjust all callers. | |
6220 | ||
f9d3c2a8 MK |
6221 | * i386-tdep.c (i386_get_longjmp_target): Use |
6222 | TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT | |
6223 | and TARGET_CHAR_BIT. Use extract_typed_address instead of | |
6224 | extract_address. | |
6225 | ||
94ba74a9 MK |
6226 | 2003-04-19 Mark Kettenis <[email protected]> |
6227 | ||
6228 | * core-regset.c: Update comments to reflect reality. Re-order | |
6229 | includes. | |
6230 | (fetch_core_registers): Use switch instead of if. Remove | |
6231 | redundant prototype. | |
6232 | ||
4074e13c JB |
6233 | 2003-04-18 Jim Blandy <[email protected]> |
6234 | ||
6235 | * s390-tdep.c (s390_frame_align): New function. | |
fbe586ae | 6236 | (s390_gdbarch_init): Register it with the gdbarch object. |
4074e13c | 6237 | |
e3ab4aba RH |
6238 | 2003-04-17 Richard Henderson <[email protected]> |
6239 | ||
6240 | * remote.c (minitelnet): Don't redeclare escape_count, echo_check. | |
6241 | ||
627bf7c1 EZ |
6242 | 2003-04-17 Michael Snyder <[email protected]> |
6243 | Karen Bennet <[email protected]> | |
6244 | ||
6245 | Committed by Elena Zannoni <[email protected]> | |
6246 | * gdb_gcore.sh: New script to create a core dump of a process. | |
8ffd9b1b | 6247 | |
514621a9 EZ |
6248 | 2003-04-17 Elena Zannoni <[email protected]> |
6249 | ||
6250 | * values.c (value_being_returned): Don't fetch the return | |
fbe586ae | 6251 | value if the return type is void. |
514621a9 | 6252 | |
b4acd559 JJ |
6253 | 2003-04-17 Jeff Johnston <[email protected]> |
6254 | ||
6255 | * thread-db.c: Reindented. | |
8ffd9b1b | 6256 | |
530b167e | 6257 | 2003-04-17 Jeff Johnston <[email protected]> |
8ffd9b1b AJ |
6258 | |
6259 | * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, | |
6260 | td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t | |
530b167e JJ |
6261 | as types. |
6262 | ||
0a48e7e8 MS |
6263 | |
6264 | ||
6265 | ||
6266 | ||
6267 | ||
6268 | ||
6269 | ||
6270 | ||
6271 | ||
6272 | ||
6273 | ||
6274 | ||
6275 | ||
6276 | ||
6277 | ||
6278 | ||
6279 | ||
6280 | ||
6281 | ||
6282 | ||
6283 | ||
6284 | ||
6285 | ||
8ffd9b1b | 6286 | |
ab9fe00e KB |
6287 | 2003-04-16 Kevin Buettner <[email protected]> |
6288 | ||
610a3745 | 6289 | * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set |
ab9fe00e KB |
6290 | the size of ``long double'' to 16, instead of 8. |
6291 | ||
e64a344c MK |
6292 | 2003-04-16 Mark Kettenis <[email protected]> |
6293 | ||
6294 | * i386-linux-nat.c: Add some whitespace to make things more | |
6295 | readable. | |
6296 | (fetch_register, store_register, fetch_inferior_registers, | |
6297 | store_inferior_registers): Get rid of assignment in if-statement. | |
6298 | (store_register): Fix typo in error message. | |
6299 | ||
25d41031 AC |
6300 | 2003-04-16 Andrew Cagney <[email protected]> |
6301 | ||
6302 | * utils.c (xmmalloc): Always allocate something, matches | |
6303 | libiberty/xmalloc's semantics. | |
6304 | (xmrealloc, xmcalloc): Ditto. | |
6305 | ||
c50901fd AC |
6306 | 2003-04-16 Andrew Cagney <[email protected]> |
6307 | ||
6308 | * frame.c (get_prev_frame): Do not initialize "unwind" or "type", | |
6309 | update comments. | |
6310 | (get_frame_type): Initialize unwind and type when needed. | |
6311 | (get_frame_id, frame_register_unwind): Ditto. | |
6312 | ||
f81824a9 AC |
6313 | 2003-04-16 Andrew Cagney <[email protected]> |
6314 | ||
6315 | * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made | |
6316 | obsolete. | |
6317 | * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. | |
6318 | * sparcl-stub.c: Obsolete file. | |
6319 | * config/sparc/tm-sparclet.h: Obsolete file. | |
6320 | * sparclet-stub.c: Obsolete file. | |
6321 | * sparclet-rom.c: Obsolete file. | |
6322 | * sparcl-tdep.c: Obsolete file. | |
6323 | * config/sparc/tm-sparclite.h: Obsolete file. | |
6324 | * config/sparc/sparclite.mt: Obsolete file. | |
6325 | * config/sparc/sparclet.mt: Obsolete file. | |
6326 | * configure.tgt: Make sparclet-*-*, sparclite-*-*, and | |
6327 | sparc86x-*-* obsolete. | |
6328 | ||
9219021c DC |
6329 | 2003-04-15 David Carlton <[email protected]> |
6330 | ||
6331 | * Makefile.in (SFILES): Add cp-namespace.c. | |
6332 | (COMMON_OBS): Add cp-namespace.o. | |
6333 | (block.o): Depend on gdb_obstack_h and cp_support_h. | |
6334 | (buildsym.o): Depend on cp_support_h. | |
6335 | (cp-namespace.o): New. | |
6336 | (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h, | |
6337 | gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h. | |
6338 | (dwarf2read.o): Depend on cp_support_h. | |
6339 | * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE. | |
6340 | * dwarf2read.c (process_die): Set processing_has_namespace_info, | |
6341 | processing_current_namespace. | |
6342 | (read_namespace): Update processing_current_namespace; check for | |
6343 | anonymous namespaces. | |
6344 | (dwarf2_name): New function. | |
6345 | (dwarf2_extension): Ditto. | |
6346 | * cp-support.h: Update copyright, contributors. | |
6347 | Add inclusion guards. | |
6348 | Add opaque declaration for structs obstack, block, symbol. | |
6349 | (struct using_direct): New struct. | |
6350 | Add declarations for cp_find_first_component, | |
6351 | cp_entire_prefix_len, processing_has_namespace_info, | |
6352 | processing_current_namespace, cp_is_anonymous, | |
6353 | cp_add_using_directive, cp_initialize_namespace, | |
6354 | cp_finalize_namespace, cp_set_block_scope, | |
6355 | cp_scan_for_anonymous_namespaces. | |
6356 | * cp-namespace.c: New file. | |
6357 | * cp-support.c: Update copyright. | |
6358 | Include ctype.h, gdb_assert.h, gdbcmd.h. | |
6359 | New variable maint_cplus_cmd_list. | |
6360 | (cp_find_first_component): New function. | |
6361 | (cp_entire_prefix_len, maint_cplus_command) | |
6362 | (first_component_command, _initialize_cp_support): Ditto. | |
6363 | * buildsym.c: Include cp-support.h. | |
6364 | New variable using_list. | |
6365 | (add_symbol_to_list): Check for anonymous namespaces. | |
6366 | (finish_block): Set block's scope. | |
6367 | (start_symtab): Initialize C++ namespace support. | |
6368 | (end_symtab): Finalize C++ namespace support. | |
6369 | * block.h: Add opaque declarations for structs | |
6370 | block_namespace_info, using_direct, and obstack. | |
6371 | Add declarations for block_set_scope and block_set_using. | |
6372 | (struct block): Add 'language_specific' member. | |
6373 | (BLOCK_NAMESPACE): New macro. | |
6374 | * block.c: Include gdb_obstack.h and cp-support.h. | |
6375 | (struct block_namespace_info): New struct. | |
6376 | (block_set_scope): New function. | |
6377 | (block_set_using, block_initialize_namespace): Ditto. | |
6378 | ||
d5a921c9 KB |
6379 | 2003-04-14 Kevin Buettner <[email protected]> |
6380 | ||
6381 | * solib-svr4.c (svr4_have_link_map_offsets): New function. | |
6382 | (locate_base): Return early if there aren't any link map offsets. | |
6383 | (svr4_solib_create_inferior_hook): Warn if shared library support | |
6384 | is unavailable. | |
6385 | ||
d2a52b27 DC |
6386 | 2003-04-14 David Carlton <[email protected]> |
6387 | ||
6388 | * symtab.c (symbol_set_names): Add prefix when storing Java names | |
6389 | in hash table. Fix for PR java/1039. | |
6390 | ||
980cae7a DC |
6391 | 2003-04-14 David Carlton <[email protected]> |
6392 | ||
6393 | * symtab.c (symbol_set_names): Rename 'name' arg to | |
6394 | 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'. | |
6395 | * symtab.h: Change 'name' argument in declaration of | |
6396 | symbol_set_names to 'linkage_name'. | |
6397 | (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'. | |
6398 | ||
e227b13c AC |
6399 | 2003-04-14 Andrew Cagney <[email protected]> |
6400 | ||
6401 | * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE, | |
6402 | return the fully sign-extended register value. | |
6403 | (get_frame_pointer): Ditto. | |
6404 | (mips_pop_frame): Initialize "proc_desc" after checking for a | |
6405 | dummy frame. | |
6406 | ||
36712a20 AC |
6407 | 2003-04-14 Andrew Cagney <[email protected]> |
6408 | ||
6409 | * mips-tdep.c (mips_push_dummy_frame): Delete function. | |
6410 | (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros. | |
6411 | (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro. | |
6412 | (mips_push_register): Delete function. | |
6413 | (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and | |
6414 | PUSH_FP_REGNUM. | |
6415 | ||
44ea7b70 JB |
6416 | 2003-04-14 Jim Blandy <[email protected]> |
6417 | ||
6418 | * symmisc.c: #include "gdb_regex.h". | |
6419 | (maintenance_list_symtabs, maintenance_list_psymtabs): New | |
6420 | functions. | |
6421 | * maint.c (maintenance_list_command): New function. | |
6422 | (_initialize_maint_cmds): Register the above as commands. | |
6423 | * symtab.h (maintenance_list_symtabs, | |
6424 | maintenance_list_psymtabs): New declarations. | |
6425 | * cli/cli-cmds.c (maintenancelistlist): New variable. | |
6426 | (init_cmd_lists): Initialize it. | |
6427 | * cli/cli-cmds.h (maintenancelistlist): New declaration. | |
6428 | * gdbcmd.h (maintenancelistlist): New declaration. | |
6429 | * Makefile.in (symmisc.o): Update dependencies. | |
6430 | ||
2d0c7962 EZ |
6431 | 2003-04-14 Elena Zannoni <[email protected]> |
6432 | ||
6433 | * s390-nat.c: Include asm/types.h for addr_t. | |
6434 | ||
1947a811 CV |
6435 | 2003-04-14 Corinna Vinschen <[email protected]> |
6436 | ||
6437 | * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with | |
6438 | actually incoming type. | |
6439 | ||
adb616d7 AC |
6440 | 2003-04-13 Andrew Cagney <[email protected]> |
6441 | ||
6442 | * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc, | |
6443 | get_next_frame and get_frame_saved_regs. | |
6444 | ||
9b5e151c AC |
6445 | 2003-04-13 Andrew Cagney <[email protected]> |
6446 | ||
6447 | * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead | |
6448 | of gdbarch_num_regs. | |
6449 | ||
ef6e7e13 AC |
6450 | 2003-04-13 Andrew Cagney <[email protected]> |
6451 | ||
6452 | * frame.h: Mention what replaced what in "struct frame_info". | |
6453 | * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and | |
6454 | deprecated_update_frame_base_hack and | |
6455 | deprecated_update_frame_pc_hack. | |
6456 | * hppa-tdep.c: Ditto. | |
6457 | ||
61fbb938 DJ |
6458 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
6459 | ||
6460 | * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments | |
6461 | to read_reg and update its comment. Remove regnum member. | |
6462 | * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval. | |
6463 | Don't call read_reg when setting in_reg. Call read_reg to get | |
6464 | the frame base if it's in a register. Return the register number | |
6465 | on the stack instead of in the context. Remove extra arguments | |
6466 | to read_reg. | |
6467 | * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments. | |
6468 | (dwarf2_evaluate_loc_desc): Call value_from_register. Expect | |
6469 | the register number on the expression stack. | |
6470 | (needs_frame_read_reg): Remove extra arguments. | |
6471 | ||
0d53c4c4 DJ |
6472 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
6473 | ||
6474 | * dwarf2expr.c (dwarf2_read_address): Renamed from read_address; | |
6475 | made non-static. | |
6476 | (execute_stack_op): All callers updated. | |
6477 | * dwarf2expr.h: Add prototype for dwarf2_read_address. | |
6478 | * dwarf2loc.c (find_location_expression): New function. | |
6479 | (dwarf_expr_frame_base): Call it. | |
6480 | (dwarf2_evaluate_loc_desc): Handle 0-length location expressions. | |
6481 | (dwarf2_tracepoint_var_ref): New function, broken out from | |
6482 | locexpr_tracepoint_var_ref. | |
6483 | (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref. | |
6484 | Make static. | |
6485 | (loclist_read_variable, loclist_read_needs_frame): New functions. | |
6486 | (loclist_describe_location, loclist_tracepoint_var_ref): New | |
6487 | functions. | |
6488 | (dwarf2_loclist_funcs): New struct location_funcs. | |
6489 | * dwarf2loc.h (struct dwarf2_loclist_baton): New type. | |
6490 | (struct dwarf2_locexpr_baton): Add comments. | |
6491 | (dwarf2_loclist_funcs): New extern. | |
6492 | * dwarf2read.c (struct comp_unit_head): Remove DIE member, add | |
6493 | base_address and base_known. | |
6494 | (dwarf_loc_buffer): New variable. | |
6495 | (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size. | |
6496 | (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros. | |
6497 | (dwarf2_has_info): Initialize dwarf_loc_offset. | |
6498 | (dwarf2_build_psymtabs): Read in .debug_loc. | |
6499 | (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and | |
6500 | DWARF_LOC_SIZE. | |
6501 | (psymtab_to_symtab_1): Likewise. Move base address calculation | |
6502 | here, from... | |
6503 | (dwarf2_get_pc_bounds): ... here. Use the base address from | |
6504 | cu_header. | |
6505 | (dwarf2_symbol_mark_computed): Handle location lists. | |
6506 | ||
6aca59a3 DJ |
6507 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
6508 | ||
6509 | * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode | |
6510 | if the linkage name demangled successfully. | |
6511 | ||
aca1fcd0 MK |
6512 | 2003-04-13 Mark Kettenis <[email protected]> |
6513 | ||
97095916 MK |
6514 | * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours, |
6515 | disassmbly_flavour): Removed. | |
6516 | ||
aca1fcd0 MK |
6517 | * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. |
6518 | ||
562a961f MK |
6519 | 2003-04-13 Mark Kettenis <[email protected]> |
6520 | ||
6521 | * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed. | |
6522 | ||
bd013d54 AC |
6523 | 2003-04-12 Andrew Cagney <[email protected]> |
6524 | ||
6525 | * frame.h (struct frame_info): Move definition from here ... | |
6526 | * frame.c (struct frame_info): ... to here. | |
6527 | ||
167ef8b1 AC |
6528 | 2003-04-12 Andrew Cagney <[email protected]> |
6529 | ||
6530 | * gdbthread.h (save_infrun_state): Delete parameter | |
6531 | "prev_func_start". | |
6532 | (struct thread_info): Delete field "prev_func_start". | |
6533 | (load_infrun_state): Ditto. | |
6534 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
6535 | * infrun.c (prev_func_start): Delete variable. | |
6536 | (context_switch, init_wait_for_inferior): Update. | |
6537 | (stop_stepping, keep_going): Update. | |
6538 | ||
da3331ec AC |
6539 | 2003-04-12 Andrew Cagney <[email protected]> |
6540 | ||
6541 | * gdbarch.sh: Add missing opaque declarations. | |
6542 | * gdbarch.h: Regnerate. | |
6543 | * symtab.h: Add missing opaque declarations. | |
6544 | * value.h, target.h, symfile.h, stabsread.h: Ditto. | |
6545 | * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. | |
6546 | * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. | |
6547 | * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. | |
6548 | * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. | |
6549 | * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. | |
6550 | * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. | |
6551 | * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. | |
6552 | * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. | |
6553 | * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. | |
6554 | * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. | |
6555 | * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. | |
6556 | * cli/cli-setshow.h, cli/cli-script.h: Ditto. | |
6557 | ||
18adea3f AC |
6558 | 2003-04-11 Andrew Cagney <[email protected]> |
6559 | ||
6560 | * frame.c (get_frame_id): Return this frame's "id". | |
6561 | (legacy_get_prev_frame): Set prev's frame ID code_addr to the | |
6562 | function start. | |
6563 | (legacy_saved_regs_this_id): Replace function body with | |
6564 | internal-error. | |
6565 | (deprecated_frame_xmalloc): Mark the frame ID as valid, use | |
6566 | FRAME_OBSTACK_ZALLOC. | |
6567 | (create_new_frame): Mark the frame ID as valid. | |
6568 | ||
2252e863 AO |
6569 | 2003-04-11 Alexandre Oliva <[email protected]> |
6570 | ||
6571 | * Makefile.in (libbfd_h): Added missing setting. | |
6572 | * mips-tdep.c (mips_gdbarch_init): Set disassembler_options | |
6573 | according to the selected ABI. | |
6574 | ||
a8245ab8 JJ |
6575 | 2003-04-11 Jeff Johnston <[email protected]> |
6576 | ||
6577 | * gdb_indent.sh: Recognize pid_t and sigset_t as types. | |
6578 | ||
6913c89a AC |
6579 | 2003-04-11 Andrew Cagney <[email protected]> |
6580 | ||
6581 | * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate | |
6582 | SAVED_PC_AFTER_CALL. | |
6583 | * gdbarch.h, gdbarch.c: Regenerate. | |
6584 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
6585 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
6586 | * vax-tdep.c (vax_gdbarch_init): Update. | |
6587 | * v850-tdep.c (v850_gdbarch_init): Update. | |
6588 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
6589 | * sh-tdep.c (sh_gdbarch_init): Update. | |
6590 | * s390-tdep.c (s390_gdbarch_init): Update. | |
6591 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
6592 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
6593 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
6594 | * mips-tdep.c (mips_gdbarch_init): Update. | |
6595 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
6596 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
6597 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
6598 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
6599 | (ia64_saved_pc_after_call): Update declaration. | |
6600 | * i386ly-tdep.c (i386lynx_init_abi): Update. | |
6601 | * i386-tdep.c (i386_gdbarch_init): Update. | |
6602 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
6603 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
6604 | * frv-tdep.c (frv_gdbarch_init): Update. | |
6605 | * cris-tdep.c (cris_gdbarch_init): Update. | |
6606 | * avr-tdep.c (avr_gdbarch_init): Update. | |
6607 | * arm-tdep.c (arm_gdbarch_init): Update. | |
6608 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
6609 | * ns32knbsd-nat.c (frame_num_args): Update. | |
6610 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
6611 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
6612 | * infrun.c (step_over_function): Update. | |
6613 | * i386-linux-tdep.c (skip_hurd_resolver): Update. | |
6614 | * i386-interix-tdep.c (i386_interix_back_one_frame): Update. | |
6615 | * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
6616 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
6617 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
6618 | * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
6619 | * arm-linux-tdep.c (skip_hurd_resolver): Update. | |
6620 | * arch-utils.c (init_frame_pc_default): Update. | |
6621 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
6622 | * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update | |
6623 | declaration. | |
8ffd9b1b | 6624 | |
38edeab8 AC |
6625 | 2003-04-11 Andrew Cagney <[email protected]> |
6626 | ||
6627 | * i387-tdep.c: Update copyright. | |
6628 | (i387_to_double): Delete function. | |
6629 | (double_to_i387): Delete function. | |
6630 | ||
81f8a206 AC |
6631 | 2003-04-10 Andrew Cagney <[email protected]> |
6632 | ||
6633 | * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the | |
6634 | frame's function's address. Simplify. | |
6635 | (d10v_frame_unwind_cache): Check that the frame's function is | |
6636 | non-zero. | |
6637 | ||
6e691f7a JB |
6638 | 2003-04-10 Jim Blandy <[email protected]> |
6639 | ||
6640 | * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted | |
6641 | call to set_gdbarch_deprecated_push_arguments. | |
6642 | ||
7f78e237 AC |
6643 | 2003-04-10 Andrew Cagney <[email protected]> |
6644 | ||
6645 | * frame.c (fprint_frame_id): New function. | |
6646 | (fprint_frame_type, fprint_frame): New function. | |
6647 | (frame_pc_unwind, frame_func_unwind): Add/update trace code. | |
6648 | (create_sentinel_frame, get_frame_id): Ditto. | |
6649 | (frame_id_p, frame_id_eq): Ditto. | |
6650 | (frame_id_inner, create_new_frame): Ditto. | |
6651 | (legacy_get_prev_frame, get_prev_frame): Ditto. | |
6652 | (deprecated_update_frame_pc_hack): Ditto. | |
6653 | (frame_register_unwind): Ditto. | |
6654 | (deprecated_update_frame_base_hack): Ditto. | |
6655 | ||
f870b49b CV |
6656 | 2003-04-10 Corinna Vinschen <[email protected]> |
6657 | ||
6658 | * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function. | |
6659 | (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new | |
6660 | frame_chain function. | |
6661 | * Makefile.in: Add dependencies due to above change. | |
6662 | ||
7c86889b CV |
6663 | 2003-04-10 Corinna Vinschen <[email protected]> |
6664 | ||
6665 | * blockframe.c (legacy_frame_chain_valid): Move call to | |
6666 | DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and | |
6667 | inside_entry_file. | |
6668 | ||
d0a55772 AC |
6669 | 2003-04-09 Andrew Cagney <[email protected]> |
6670 | ||
6671 | * frame.h (struct frame_id): Replace "pc" and "base" with | |
6672 | "stack_addr" and "code_addr". Update comments. | |
6673 | (frame_id_build): Update parameter names and comment. | |
6674 | (struct frame_info): Replace "id_p" and "id" with "this_id". | |
6675 | * dummy-frame.c (dummy_frame_this_id): Update. | |
6676 | * breakpoint.c (print_one_breakpoint): Update. | |
6677 | * frame.c (get_frame_id): Update. | |
6678 | (get_frame_base, frame_id_build): Update. | |
6679 | (create_sentinel_frame, legacy_get_prev_frame): Update. | |
6680 | (deprecated_update_frame_base_hack): Update. | |
6681 | (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. | |
6682 | (frame_id_inner): Ditto. | |
6683 | ||
ac16bf07 AC |
6684 | 2003-04-09 Andrew Cagney <[email protected]> |
6685 | ||
6686 | * defs.h (gdb_print_host_address): Make "addr" parameter a | |
6687 | pointer constant. | |
6688 | * utils.c (gdb_print_host_address): Update. | |
6689 | ||
366cfc9e KB |
6690 | 2003-04-09 Kevin Buettner <[email protected]> |
6691 | ||
6692 | * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the | |
6693 | register number for R0 is 0. | |
6694 | ||
cd983b5c JB |
6695 | 2003-04-09 J. Brobecker <[email protected]> |
6696 | ||
6697 | * frame.h (struct gdbarch): Add opaque structure definition | |
6698 | to avoid a compilation warning on LynxOS 4.0. | |
6699 | ||
d1340264 AC |
6700 | 2003-04-09 Andrew Cagney <[email protected]> |
6701 | ||
6702 | * frame.h (struct frame_info): Delete field "pc". Replace | |
6703 | "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc" | |
6704 | structure. | |
6705 | * frame.c (frame_pc_unwind): Update. | |
6706 | (create_sentinel_frame): Do not set "pc". | |
6707 | (get_prev_frame): Do not set "pc". Use frame_pc_unwind. | |
6708 | (get_frame_pc): Call frame_pc_unwind. | |
6709 | (deprecated_update_frame_pc_hack): Update. | |
6710 | (create_new_frame): Use "pc" not "->pc". | |
6711 | ||
90a6fffb AC |
6712 | 2003-04-09 Andrew Cagney <[email protected]> |
6713 | ||
6714 | * frame.c (get_frame_id): Eliminate code updating "frame". | |
6715 | (legacy_get_prev_frame): Ditto. | |
6716 | (get_frame_base): Return id.base directly. | |
6717 | (deprecated_update_frame_base_hack): Update "id.base". | |
6718 | * frame.h (struct frame_info): Delete field "frame". | |
6719 | ||
2fbce691 AC |
6720 | 2003-04-09 Andrew Cagney <[email protected]> |
6721 | ||
6722 | * NEWS: Mention that the "Sequent family" is obsolete. | |
6723 | * configure.tgt: Obsolete i[3456]86-sequent-bsd*, | |
6724 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
6725 | * configure.host: Obsolete i[3456]86-sequent-bsd*, | |
6726 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
6727 | * config/i386/tm-ptx4.h: Obsolete file. | |
6728 | * config/i386/tm-ptx.h: Obsolete file. | |
6729 | * symm-tdep.c: Obsolete file. | |
6730 | * config/i386/symmetry.mt: Obsolete file. | |
6731 | * config/i386/tm-symmetry.h: Obsolete file. | |
6732 | * symm-nat.c: Obsolete file. | |
6733 | * config/i386/nm-symmetry.h: Obsolete file. | |
6734 | * config/i386/xm-symmetry.h: Obsolete file. | |
6735 | * config/i386/symmetry.mh: Obsolete file. | |
6736 | * config/i386/nm-ptx4.h: Obsolete file. | |
6737 | * config/i386/ptx4.mh: Obsolete file. | |
6738 | * config/i386/ptx.mt: Obsolete file. | |
6739 | * config/i386/ptx.mh: Obsolete file. | |
6740 | * config/i386/xm-ptx4.h: Obsolete file. | |
6741 | * config/i386/xm-ptx.h: Obsolete file. | |
6742 | ||
78c43945 AC |
6743 | 2003-04-09 Andrew Cagney <[email protected]> |
6744 | ||
6745 | Obsolete mips*-*-mach3*. | |
6746 | * NEWS: Mention that mips*-*-mach3* is obsolete. | |
6747 | * m3-nat.c: Obsolete file. | |
6748 | * config/nm-m3.h: Obsolete file. | |
6749 | * config/mips/tm-mipsm3.h: Obsolete file. | |
6750 | * config/mips/mipsm3.mt: Obsolete file. | |
6751 | * config/mips/mipsm3.mh: Obsolete file. | |
6752 | * config/mips/xm-mipsm3.h: Obsolete file. | |
6753 | * mipsm3-nat.c: Obsolete file. | |
6754 | * configure.host: Obsolete mips-dec-mach3*. | |
6755 | * configure.tgt: Obsolete mips*-*-mach3*. | |
6756 | ||
f1908289 AC |
6757 | 2003-04-09 Andrew Cagney <[email protected]> |
6758 | ||
6759 | * doublest.h: Update copyright. | |
6760 | (deprecated_store_floating, deprecated_extract_floating): Rename | |
6761 | store_floating and extract_floating. Update comments. | |
6762 | * doublest.c: Update copyright. | |
6763 | (extract_floating_by_length): Replace extract_floating. | |
6764 | (store_floating_by_length): Replace store_floating. | |
6765 | (deprecated_extract_floating): New function. | |
6766 | (deprecated_store_floating): New function. | |
6767 | (extract_typed_floating): Call extract_floating_by_length. | |
6768 | (store_typed_floating): Call store_floating_by_length. | |
6769 | * x86-64-tdep.c (x86_64_store_return_value): Update. | |
6770 | * sh-tdep.c (sh3e_sh4_extract_return_value): Update. | |
6771 | (sh64_extract_return_value): Update. | |
6772 | (sh_sh4_register_convert_to_virtual): Update. | |
6773 | (sh_sh64_register_convert_to_virtual): Update. | |
6774 | (sh_sh4_register_convert_to_raw): Update. | |
6775 | (sh_sh64_register_convert_to_raw): Update. | |
6776 | * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. | |
6777 | (rs6000_register_convert_to_raw): Update. | |
6778 | * ia64-tdep.c (ia64_register_convert_to_virtual): Update. | |
6779 | (ia64_register_convert_to_raw): Update. | |
6780 | * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. | |
6781 | (REGISTER_CONVERT_TO_VIRTUAL): Update. | |
6782 | * arm-linux-tdep.c (arm_linux_push_arguments): Update. | |
6783 | * alpha-tdep.c (alpha_register_convert_to_virtual): Update. | |
6784 | (alpha_register_convert_to_raw): Update. | |
6785 | ||
4443bd83 AC |
6786 | 2003-04-08 Andrew Cagney <[email protected]> |
6787 | ||
6788 | * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. | |
6789 | * gdbarch.h, gdbarch.c: Re-generate. | |
6790 | * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. | |
6791 | (d10v_gdbarch_init): Do not set saved_pc_after_call. | |
6792 | * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P | |
6793 | conditionally, use frame_pc_unwind as an alternative. Add | |
6794 | comments. | |
6795 | * arch-utils.c (init_frame_pc_default): Only call | |
6796 | SAVED_PC_AFTER_CALL when available. | |
6797 | ||
c0236d92 EZ |
6798 | 2003-04-08 Elena Zannoni <[email protected]> |
6799 | ||
fbe586ae | 6800 | * infrun.c (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
6801 | (struct inferior_status): Rename stop_soon_quietly field to stop_soon. |
6802 | (clear_proceed_status): Rename stop_soon_quietly to stop_soon. | |
6803 | (start_remote): Ditto. | |
6804 | (handle_inferior_event): Ditto. | |
6805 | (save_inferior_status): Ditto. | |
6806 | (restore_inferior_status): Ditto. | |
6807 | * infcmd.c (attach_command): Ditto. | |
6808 | * fork-child.c (startup_inferior): Ditto. | |
fbe586ae | 6809 | * inferior.h (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
6810 | * alpha-tdep.c (heuristic_proc_start): Ditto. |
6811 | * mips-tdep.c (heuristic_proc_start): Ditto. | |
6812 | * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. | |
6813 | * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. | |
6814 | * solib-osf.c (osf_solib_create_inferior_hook): Ditto. | |
6815 | * solib-irix.c (irix_solib_create_inferior_hook): Ditto. | |
6816 | * remote-vx.c (vx_create_inferior): Ditto. | |
6817 | ||
6818 | 2003-04-08 Elena Zannoni <[email protected]> | |
6819 | ||
6820 | * infrun.c (stop_soon_quietly): Make it an enum, to better | |
6821 | override the default behavior of handle_inferior_event. | |
6822 | (clear_proceed_status): Update uses of stop_soon_quietly to | |
6823 | reflect that it is now an enum. | |
6824 | (start_remote): Ditto. | |
6825 | (handle_inferior_event): Change logic a bit if stop_soon_quietly | |
6826 | is set to handle the new GNU/Linux kernel behavior for | |
6827 | attach/sigstop. Update uses of stop_soon_quietly. | |
6828 | * inferior.h (enum stop_kind): New enum. | |
6829 | * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. | |
6830 | Reset normal handle_inferior_event behavior, afterwards. | |
6831 | * fork-child.c (startup_inferior): Update. | |
6832 | * alpha-tdep.c (heuristic_proc_start): Update. | |
6833 | * solib-svr4.c (svr4_solib_create_inferior_hook): Update. | |
6834 | * solib-sunos.c (sunos_solib_create_inferior_hook): Update. | |
6835 | * solib-osf.c (osf_solib_create_inferior_hook): Update. | |
6836 | * solib-irix.c (irix_solib_create_inferior_hook): Update. | |
6837 | * remote-vx.c (vx_create_inferior): Update. | |
6838 | * mips-tdep.c (heuristic_proc_start): Update. | |
6839 | ||
1211bce3 EZ |
6840 | 2003-04-07 Elena Zannoni <[email protected]> |
6841 | ||
6842 | * disasm.c (dump_insns): Move variables inside loop, or they will | |
fbe586ae | 6843 | be freed more than once, causing wild memory corruptions. |
1211bce3 | 6844 | (gdb_disassembly): Look for the substring "-thread", |
fbe586ae | 6845 | instead of "-threads" in the target name, to make sure to find |
8ffd9b1b | 6846 | the 'multi-thread' target. Also, make sure we do the right thing |
fbe586ae | 6847 | with the "core" target. |
1211bce3 | 6848 | |
f0ef6b29 KB |
6849 | 2003-04-07 Kevin Buettner <[email protected]> |
6850 | ||
6851 | * mips-tdep.c (mips_print_fp_register): New function, created from | |
6852 | do_fp_register_row(). Registers are now (also) printed as hex. | |
6853 | Only one register is printed per row. | |
6854 | (mips_print_register, do_fp_register_row): Print floating point | |
6855 | registers with mips_print_fp_register(). | |
6856 | ||
8cf71652 AC |
6857 | 2003-04-06 Andrew Cagney <[email protected]> |
6858 | ||
5e488a7b AC |
6859 | * valprint.h (inspect_it): Add extern declaration. |
6860 | * objc-lang.c (value_nsstring): Avoid assignment inside of "if". | |
6861 | (selectors_info, classes_info): Ditto. | |
6862 | (find_objc_msgcall): Fix indentation. | |
6863 | (objc_printstr): Delete extern declarations. | |
6864 | ||
8cf71652 AC |
6865 | * arm-tdep.c (arm_frameless_function_invocation): Fix typo. |
6866 | ||
e6ba3bc9 AC |
6867 | 2003-04-06 Andrew Cagney <[email protected]> |
6868 | ||
6869 | * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid. | |
6870 | Update comment. | |
6871 | * frame.c (legacy_saved_regs_this_id): Update. | |
6872 | (legacy_get_prev_frame): Update. | |
6873 | * xstormy16-tdep.c: Update comment. | |
6874 | * sparc-tdep.c (sparc_frame_chain): Update comment. | |
6875 | * blockframe.c (legacy_frame_chain_valid): Update. | |
6876 | ||
55e1d7e7 AC |
6877 | 2003-04-06 Andrew Cagney <[email protected]> |
6878 | ||
996179ee AC |
6879 | * valprint.c (val_print_type_code_int): Delete #ifdef |
6880 | PRINT_TYPELESS_INTEGER code. | |
6881 | ||
55e1d7e7 AC |
6882 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES) |
6883 | (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial | |
6884 | multi-arch definition. | |
6885 | * gdbarch.h: Re-generate. | |
6886 | ||
43bd9a9e AC |
6887 | 2003-04-05 Andrew Cagney <[email protected]> |
6888 | ||
6889 | Eliminate FRAME_FIND_SAVED_REGS. | |
6890 | * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
6891 | Change FSR parameter to a pointer. | |
6892 | * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): | |
6893 | Assume FSR parameter is a pointer. | |
6894 | * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
6895 | Make fsr a pointer. | |
6896 | * hppa-tdep.c (hppa_frame_find_saved_regs): New function. | |
6897 | (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make | |
6898 | saved_regs a pointer. | |
6899 | (hppa_frame_saved_pc): Ditto. | |
6900 | (find_dummy_frame_regs): Make frame_saved_regs a pointer | |
6901 | (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a | |
6902 | pointer. | |
6903 | (restore_pc_queue): Make fsr a pointer. | |
6904 | (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer. | |
6905 | (hppa_frame_chain): Make saved_regs a pointer, call | |
6906 | hppa_frame_init_saved_regs. | |
6907 | * sparc-tdep.c: Include "gdb_assert.h". | |
6908 | (sparc_frame_find_saved_regs): Replace internal_error with | |
6909 | gdb_assert. | |
6910 | * remote-vxsparc.c (vx_read_register): Delete reference to | |
6911 | FRAME_FIND_SAVED_REGS. | |
6912 | * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS. | |
6913 | * gdbarch.h: Regenerate. | |
6914 | * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
6915 | (deprecated_get_frame_saved_regs): Delete declaration. | |
6916 | (struct frame_saved_regs): Delete definition. | |
6917 | * frame.c (deprecated_get_frame_saved_regs): Delete function. | |
6918 | * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare. | |
6919 | (hppa_frame_find_saved_regs): Delete declaration. | |
6920 | (FRAME_FIND_SAVED_REGS): Delete macro. | |
6921 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Define. | |
6922 | * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete | |
6923 | FRAME_FIND_SAVED_REGS in comment. | |
6924 | ||
be41e9f4 AC |
6925 | 2003-04-05 Andrew Cagney <[email protected]> |
6926 | ||
6927 | * frame.c (frame_func_unwind, get_frame_func): New functions. | |
6928 | * frame.h (get_frame_func, frame_func_unwind): Declare. | |
6929 | (struct frame_info): Add field "prev_func" for caching the | |
6930 | previous frame's function address. | |
6931 | * arm-tdep.c (arm_frameless_function_invocation): Combine | |
6932 | get_pc_function_start and get_frame_pc into get_frame_func. | |
6933 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
6934 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
6935 | * s390-tdep.c (s390_function_start): Ditto. | |
6936 | * rs6000-tdep.c (rs6000_pop_frame): Ditto. | |
6937 | (rs6000_frameless_function_invocation): Ditto. | |
6938 | (rs6000_frame_saved_pc): Ditto. | |
6939 | * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto. | |
6940 | * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto. | |
6941 | * i386-tdep.c (i386_frameless_signal_p): Ditto. | |
6942 | (i386_frame_init_saved_regs): Ditto. | |
6943 | * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto. | |
6944 | * d10v-tdep.c (d10v_frame_unwind_cache): Combine | |
6945 | get_pc_function_start and frame_pc_unwind into frame_func_unwind. | |
6946 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
6947 | * blockframe.c (frameless_look_for_prologue): Ditto. | |
6948 | ||
a01dd7cc AC |
6949 | 2003-04-05 Andrew Cagney <[email protected]> |
6950 | ||
6951 | * frame.c (legacy_get_prev_frame): Link prev to next at the | |
6952 | function start. Update comments. | |
6953 | ||
5e5592e6 AC |
6954 | 2003-04-05 Andrew Cagney <[email protected]> |
6955 | ||
6956 | * frame.c (get_frame_id): Update comment. | |
6957 | (legacy_get_prev_frame): Update comment. | |
6958 | * gdbarch.sh: Delete check for EXTRA_FRAME_INFO. | |
6959 | * gdbarch.h: Regenerate. | |
6960 | * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete. | |
6961 | * frame.h: Delete #ifdef EXTRA_FRAME_INFO code. | |
6962 | ||
6fba5002 AC |
6963 | 2003-04-05 Andrew Cagney <[email protected]> |
6964 | ||
6965 | * stack.c (print_frame_info): Use get_frame_pc. | |
6966 | ||
7df05f2b AC |
6967 | 2003-04-04 Andrew Cagney <[email protected]> |
6968 | ||
6969 | * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set | |
6970 | the frame's type from the unwinder. | |
6971 | (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME. | |
6972 | (create_new_frame, legacy_get_prev_frame): When the unwinder's | |
6973 | type isn't UNKNOWN_FRAME, initalize "type" from the unwinder. | |
6974 | (get_frame_base_address): Use get_frame_type. | |
6975 | (get_frame_locals_address, get_frame_args_address): Ditto. | |
6976 | (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE. | |
6977 | * frame.h (enum frame_type): Add UNKNOWN_FRAME. | |
6978 | (struct frame_info): Add comment explaining why the frame contains | |
6979 | a "type" field. | |
6980 | * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME. | |
6981 | * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME. | |
6982 | * sentinel-frame.c (sentinel_frame_unwinder): Set the type to | |
6983 | NORMAL_FRAME. | |
6984 | * frame-unwind.h: Include "frame.h". | |
6985 | (struct frame_unwind): Add "type" field. | |
6986 | * Makefile.in (frame_unwind_h): Add $(frame_h). | |
8ffd9b1b | 6987 | |
11889732 AC |
6988 | 2003-04-04 Andrew Cagney <[email protected]> |
6989 | ||
6990 | * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build. | |
6991 | * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. | |
6992 | * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and | |
6993 | get_frame_base. | |
6994 | (d10v_unwind_dummy_id): Use frame_id_build. | |
6995 | * frame.c (find_frame_sal): Use get_frame_pc. | |
6996 | (create_new_frame): Use deprecated_update_frame_pc_hack and | |
6997 | deprecated_update_frame_base_hack. | |
6998 | (create_sentinel_frame): Add comment about ->pc going away. | |
6999 | (get_prev_frame): Add comment about ->pc going away. | |
7000 | (legacy_get_prev_frame): Use get_frame_base, get_frame_pc, | |
7001 | frame_id_build, deprecated_update_frame_pc_hack and | |
7002 | deprecated_update_frame_base_hack. | |
7003 | (select_frame): Use get_frame_pc. | |
7004 | (legacy_saved_regs_this_id): Use frame_id_build. | |
7005 | ||
50c46a0d EZ |
7006 | 2003-04-04 Elena Zannoni <[email protected]> |
7007 | ||
fbe586ae RH |
7008 | * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the |
7009 | signed integer case. | |
7010 | (classify_argument): Handle enumerations and references. | |
50c46a0d | 7011 | |
50bbdbd9 AC |
7012 | 2003-04-04 Andrew Cagney <[email protected]> |
7013 | ||
7014 | * frame.c (create_sentinel_frame): Initialize the sentinel frame's | |
7015 | ID to NULL. | |
7016 | ||
36018d2e AF |
7017 | 2003-04-01 Adam Fedor <[email protected]> |
7018 | ||
7019 | * gdb/objc-lang.c (selectors_info): Replace calls to | |
7020 | SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with | |
7021 | SYMBOL_NATURAL_NAME. | |
7022 | (classes_info, find_methods): Likewise. | |
7023 | ||
35cec841 KB |
7024 | 2003-04-03 Kevin Buettner <[email protected]> |
7025 | ||
7026 | * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set | |
7027 | ``mach'' to the value determined by bfd_default_set_arch_mach(). | |
7028 | ||
43136899 BR |
7029 | 2003-04-02 Bob Rossi <[email protected]> |
7030 | ||
7031 | * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o". | |
7032 | (SUBDIR_MI_SRCS): Add "mi-cmd-file.c". | |
7033 | (mi-cmd-file.o): Update dependencies. | |
7034 | ||
040b99fd KB |
7035 | 2003-04-01 Kevin Buettner <[email protected]> |
7036 | ||
7037 | * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
7038 | (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. | |
7039 | ||
9a3d7dfd AF |
7040 | 2003-04-01 Adam Fedor <[email protected]> |
7041 | ||
7042 | * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h). | |
7043 | * language.h (struct language_defn): Add la_demangle. | |
7044 | (language_demangle): Declare. | |
7045 | * language.c (language_demangle): New function. | |
7046 | (unk_lang_demangle): Likewise. | |
7047 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
fbe586ae | 7048 | Add ukn_lang_demangle. |
9a3d7dfd | 7049 | * ada-lang.c (ada_language_defn): Add NULL for la_demangle element. |
fbe586ae | 7050 | * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise. |
9a3d7dfd AF |
7051 | * c-lang.c (c_language_defn, asm_language_defn): Likewise. |
7052 | (cplus_language_defn): Add cplus_demangle for la_demangle element. | |
7053 | * jv-lang.c (java_demangle): New function | |
7054 | (java_language_defn): Use it for la_demangle element. | |
fbe586ae RH |
7055 | * objc-lang.c (objc_demangle): Add options argument |
7056 | (objc_language_defn): Use objc_demangle for la_demangle element. | |
9a3d7dfd AF |
7057 | * maint.c (maintenance_demangle): Replace switch with |
7058 | call to language_demangle. | |
7059 | * utils.c (fprintf_symbol_filtered): Likewise. | |
7060 | ||
5e074003 AC |
7061 | 2003-04-01 Andrew Cagney <[email protected]> |
7062 | ||
7063 | * printcmd.c (print_frame_nameless_args): Delete #ifdef | |
7064 | NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and | |
7065 | PRINT_TYPELESS_INTEGER. | |
7066 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename | |
7067 | PUSH_RETURN_ADDRESS. | |
7068 | ||
270cb5d6 AC |
7069 | 2003-04-01 Andrew Cagney <[email protected]> |
7070 | ||
7071 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
7072 | * d10v-tdep.c: Include "frame-base.h". | |
7073 | (d10v_frame_unwind): Make constant. | |
7074 | (d10v_frame_base_address): New function. | |
7075 | (d10v_frame_base): New variable. | |
7076 | (d10v_gdbarch_init): Set frame_base default. | |
7077 | (struct d10v_unwind_cache): Add the field "prev_sp". Update | |
7078 | comment for base. | |
7079 | (d10v_frame_unwind_cache): Set and use "prev_sp". | |
7080 | (d10v_frame_this_id): Use the previous frame's inner most stack | |
7081 | address and this frame's func address for the frame ID. Use | |
7082 | frame_id_build. Don't analyze beyond the current instruction. | |
8ffd9b1b | 7083 | |
6bfb3e36 AC |
7084 | 2003-04-01 Andrew Cagney <[email protected]> |
7085 | ||
7086 | * frame.h (get_frame_locals_address, get_frame_args_address): | |
7087 | Refer to the base address, instead of the address of the first | |
7088 | local or parameter. | |
8ffd9b1b | 7089 | |
da62e633 AC |
7090 | 2003-04-01 Andrew Cagney <[email protected]> |
7091 | ||
7092 | Add frame debug info addresses: | |
7093 | * frame-base.c: New file. | |
7094 | * frame-base.h: New file. | |
7095 | * frame.h (struct frame_base): Add opaque declaration. | |
7096 | (get_frame_base): Update comment. | |
7097 | (get_frame_base_address): Declare. | |
7098 | (get_frame_locals_address): Declare. | |
7099 | (get_frame_args_address): Declare. | |
7100 | (struct frame_info): Add "base" and "base_cache". Update | |
7101 | comments on the unwinder. | |
7102 | * frame.c: Include "frame-base.h". | |
7103 | (get_frame_locals_address): New function. | |
7104 | (get_frame_base_address): New function. | |
7105 | (get_frame_args_address): New function. | |
7106 | * findvar.c (read_var_value): Use get_frame_locals_address and | |
7107 | get_frame_args_address. | |
7108 | * stack.c (frame_info): Use get_frame_locals_address and | |
7109 | get_frame_args_address. | |
7110 | (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro, | |
7111 | moved to "frame-base.c". | |
7112 | * printcmd.c (print_frame_nameless_args): Ditto. | |
7113 | * symtab.h (address_class): Update comments. | |
7114 | * dwarf2loc.c (dwarf_expr_frame_base): Add note about | |
7115 | get_frame_base_address. | |
7116 | * dwarf2expr.c (execute_stack_op): Ditto. | |
7117 | * Makefile.in (frame_base_h): Define. | |
7118 | (frame.o): Update dependencies. | |
7119 | (frame-base.o): Add dependencies. | |
7120 | (SFILES): Add frame-base.c. | |
7121 | (COMMON_OBS): Add frame-base.o. | |
7122 | ||
3d30e9c2 AC |
7123 | 2003-04-01 Andrew Cagney <[email protected]> |
7124 | ||
7125 | * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero. | |
7126 | CALL_DUMMY_LENGTH): Ditto. | |
7127 | * gdbarch.c: Re-generate. | |
7128 | * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro. | |
7129 | (CALL_DUMMY_LENGTH): Delete macro. | |
7130 | * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero. | |
7131 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7132 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7133 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7134 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7135 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7136 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7137 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
7138 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7139 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7140 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7141 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7142 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7143 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7144 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7145 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7146 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7147 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7148 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7149 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
7150 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
7151 | ||
ce0c7262 CV |
7152 | 2003-04-01 Corinna Vinschen <[email protected]> |
7153 | ||
7154 | * frame.c (get_prev_frame): Disable call to inside_entry_file(). | |
7155 | ||
73dd234f AC |
7156 | 2003-04-01 Andrew Cagney <[email protected]> |
7157 | ||
7158 | * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero. | |
7159 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
7160 | * gdbarch.h, gdbarch.c: Re-generate. | |
7161 | * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
7162 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
7163 | * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
7164 | * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
7165 | (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
7166 | * infcmd.c (run_stack_dummy): Simplify assuming | |
7167 | CALL_DUMMY_BREAKPOINT_OFFSET_P. | |
7168 | * infrun.c (handle_inferior_event): Ditto. | |
7169 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
7170 | call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p. | |
7171 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7172 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7173 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7174 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7175 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7176 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7177 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7178 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7179 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7180 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
7181 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7182 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7183 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7184 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
7185 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7186 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7187 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7188 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7189 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7190 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
7191 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
7192 | ||
97606a13 DJ |
7193 | 2003-04-01 Daniel Jacobowitz <[email protected]> |
7194 | ||
7195 | * symfile.c (symfile_relocate_debug_section): Update call to | |
7196 | bfd_simple_get_relocated_section_contents. | |
7197 | ||
e8ab51f7 AC |
7198 | 2003-03-31 Andrew Cagney <[email protected]> |
7199 | ||
7200 | * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. | |
7201 | * gdbarch.h, gdbarch.c: Regenerate. | |
7202 | * inferior.h (FIX_CALL_DUMMY): Delete macro. | |
7203 | * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when | |
7204 | available. | |
7205 | * frame.h (generic_fix_call_dummy): Delete declaration. | |
7206 | * dummy-frame.h: Update comment. | |
7207 | * dummy-frame.c (generic_fix_call_dummy): Delete function. | |
7208 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
7209 | fix_call_dummy. | |
7210 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7211 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7212 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7213 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7214 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7215 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7216 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7217 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7218 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7219 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7220 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7221 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7222 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7223 | ||
018d1b48 JB |
7224 | 2003-03-31 J. Brobecker <[email protected]> |
7225 | ||
7226 | * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful. | |
7227 | (INIT_FRAME_AP): Likewise. | |
7228 | (EXTRA_FRAME_INFO): Likewise. | |
7229 | ||
e9a2674e AC |
7230 | 2003-03-31 Andrew Cagney <[email protected]> |
7231 | ||
7232 | * gdbarch.sh: Include "symfile.h". | |
7233 | (CALL_DUMMY_ADDRESS): Default to entry_point_address. | |
7234 | * gdbarch.h, gdbarch.c: Re-generate. | |
7235 | * inferior.h (CALL_DUMMY_ADDRESS): Delete macro. | |
7236 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
7237 | call_dummy_address, the default is at entry_point_address. | |
7238 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7239 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7240 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7241 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7242 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7243 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7244 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7245 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7246 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7247 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7248 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7249 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7250 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7251 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7252 | ||
e8a8712a AC |
7253 | 2003-03-31 Andrew Cagney <[email protected]> |
7254 | ||
7255 | * gdbarch.sh (CALL_DUMMY_P): Delete. | |
7256 | * gdbarch.h, gdbarch.c: Re-generate. | |
7257 | * inferior.h (CALL_DUMMY_P): Delete macro. | |
7258 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7259 | * vax-tdep.c (vax_gdbarch_init): Update. | |
7260 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7261 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7262 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7263 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7264 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7265 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
7266 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7267 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7268 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7269 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
7270 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7271 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7272 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7273 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7274 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7275 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
7276 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7277 | * breakpoint.c (deprecated_frame_in_dummy): Update. | |
7278 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7279 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
7280 | * arm-tdep.c (arm_gdbarch_init): Update. | |
7281 | * dummy-frame.c (dummy_frame_this_id): Update comments. | |
7282 | * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto. | |
7283 | * frame.c (legacy_get_prev_frame): Ditto. | |
7284 | * valops.c (call_function_by_hand): Delete function. | |
7285 | (hand_function_call): Rename to call_function_by_hand | |
7286 | ||
ed234cf8 AC |
7287 | 2003-03-30 Andrew Cagney <[email protected]> |
7288 | ||
7289 | 2002-11-10 Klee Dienes <[email protected]> | |
fbe586ae | 7290 | * value.h (struct value): Update comment. |
ed234cf8 | 7291 | |
06c77151 AC |
7292 | 2003-03-30 Andrew Cagney <[email protected]> |
7293 | ||
6c2b5168 AC |
7294 | * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with |
7295 | D10V_FP_REGNUM. | |
7296 | (d10v_gdbarch_init): Do not set fp_regnum. | |
7297 | ||
06c77151 AC |
7298 | * frame.c (get_frame_base): Force ID initialization. |
7299 | (get_prev_frame): Move computation of the frame ID from here ... | |
7300 | (get_frame_id): ... to here. | |
7301 | (legacy_get_prev_frame): Mark the frame ID as valid. | |
7302 | * frame.h (struct frame_info): Add field "id_p". | |
7303 | ||
97a1a11c MK |
7304 | 2003-03-30 Mark Kettenis <[email protected]> |
7305 | ||
7306 | * i386-tdep.c (i386_store_struct_return): Removed. | |
7307 | (i386_gdbarch_init): Don't set deprecated_store_struct_return. | |
7308 | ||
6c0e89ed AC |
7309 | 2003-03-30 Andrew Cagney <[email protected]> |
7310 | ||
7311 | * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP. | |
7312 | * gdbarch.h, gdbarch.c: Regenerate. | |
7313 | * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp. | |
7314 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
7315 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7316 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
7317 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7318 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7319 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7320 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
7321 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7322 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
7323 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7324 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
7325 | * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update. | |
7326 | * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
7327 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define. | |
7328 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7329 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7330 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7331 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7332 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7333 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7334 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7335 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7336 | * valops.c (hand_function_call): Replace TARGET_WRITE_SP with | |
7337 | DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, | |
7338 | instead of when push_dummy_call is not available. | |
8ffd9b1b | 7339 | |
f7dd6af2 AC |
7340 | 2003-03-30 Andrew Cagney <[email protected]> |
7341 | ||
7342 | * infttrace.c: Include "gdbthread.h". | |
7343 | (parent_attach_all): Fix function signature. | |
7344 | (call_ptrace): Update call. | |
7345 | * Makefile.in (infttrace.o): Update dependencies. | |
7346 | ||
28f617b3 AC |
7347 | 2003-03-30 Andrew Cagney <[email protected]> |
7348 | ||
7349 | * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace | |
7350 | PUSH_RETURN_ADDRESS. | |
7351 | * gdbarch.h, gdbarch.c: Regenerate. | |
7352 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7353 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
7354 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7355 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7356 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7357 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7358 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7359 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7360 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7361 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7362 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7363 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7364 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7365 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7366 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7367 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7368 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7369 | * arm-tdep.c (arm_gdbarch_init): Update. | |
7370 | * valops.c (hand_function_call): Update. | |
7371 | ||
4d628cd7 AC |
7372 | 2003-03-29 Andrew Cagney <[email protected]> |
7373 | ||
7374 | * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or | |
7375 | sizeof_call_dummy_words. | |
7376 | * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always | |
7377 | define. | |
7378 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 7379 | |
65e82032 AC |
7380 | 2003-03-29 Andrew Cagney <[email protected]> |
7381 | ||
7382 | * infttrace.h: New file. | |
7383 | * hpread.c: Include "gdb_assert.h" and "somsolib.h". | |
7384 | (hpread_get_textlow): Detect an uninitialized dn_bufp. | |
7385 | (hpread_read_doc_function_type): Detect an initialized type1. | |
7386 | (hpread_quick_traverse): Initialize mod_name_string. | |
7387 | * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. | |
7388 | (som_solib_get_solib_by_pc): Declare. | |
7389 | (so_lib_thread_start_addr): Declare. | |
7390 | (no_shared_libraries): Declare. | |
7391 | * somread.c (init_import_symbols): Make static. Add forward | |
7392 | declaration. | |
7393 | * config/pa/nm-hppah.h: Include "infttrace.h" for | |
7394 | parent_attach_all. | |
7395 | (hppa_insert_hw_watchpoint): Declare. | |
7396 | (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. | |
7397 | * hppah-nat.c: Include "gdb_string.h". | |
7398 | (parent_attach_all): Delete extern declaration, moved to | |
7399 | "infttrace.h". | |
7400 | (hppa_can_use_hw_watchpoint): Change type of "type" parameter to | |
7401 | int. | |
7402 | (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. | |
7403 | * Makefile.in (infttrace_h): Define. | |
7404 | (hpread.o): Update dependencies. | |
7405 | (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. | |
7406 | * hppa-hpux-tdep.c: Include "gdb_string.h". | |
7407 | * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". | |
7408 | * infrun.c (handle_inferior_event): Always initialize | |
7409 | stepped_after_stopped_by_watchpoint. Add default and remove | |
7410 | fallthrough in switch statement. | |
7411 | * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" | |
7412 | parameter to int. | |
7413 | (hppa_remove_hw_watchpoint): Ditto. | |
7414 | ||
2c3bbe77 AC |
7415 | 2003-03-29 Andrew Cagney <[email protected]> |
7416 | ||
7417 | * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint | |
7418 | offset. | |
7419 | ||
2dd604e7 RE |
7420 | 2003-03-29 Richard Earnshaw <[email protected]> |
7421 | ||
7422 | * arm-tdep.c (arm_push_arguments): Delete. | |
7423 | (struct stack_item): New type. | |
7424 | (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. | |
7425 | (arm_store_struct_return): Delte. | |
7426 | (arm_gdbarch_init): Register arm_push_dummy_call. Don't register | |
7427 | arm_push_arguments or arm_store_struct_return. | |
7428 | ||
e8933a55 AC |
7429 | 2003-03-28 Andrew Cagney <[email protected]> |
7430 | ||
7431 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
7432 | * remote.h (target_resume_hook, target_wait_loop_hook): Declare. | |
7433 | * d10v-tdep.c: Include "remote.h". | |
7434 | (target_resume_hook): Delete extern declaration. | |
7435 | (target_wait_loop_hook): Ditto. | |
7436 | (tdisassemble_command): Eliminate assignment in "if" conditional. | |
7437 | (d10v_ts2_register_sim_regno): Eliminate call to | |
7438 | legacy_register_sim_regno. | |
7439 | (d10v_ts3_register_sim_regno): Ditto. | |
7440 | ||
6949171e JJ |
7441 | 2003-03-28 Jeff Johnston <[email protected]> |
7442 | ||
7443 | * thread.c: Reindented. | |
7444 | * lin-lwp.c: Ditto. | |
7445 | * linux-proc.c: Ditto. | |
7446 | ||
98c7071f BR |
7447 | 2003-03-28 Bob Rossi <[email protected]> |
7448 | ||
fbe586ae | 7449 | * MAINTAINERS (write after approval): Add myself. |
98c7071f | 7450 | |
5edc9ca6 TR |
7451 | 2003-03-27 Theodore A. Roth <[email protected]> |
7452 | ||
7453 | * objc-exp.y: Add missing semi-colons. | |
7454 | ||
378bfd1b AC |
7455 | 2003-03-27 Andrew Cagney <[email protected]> |
7456 | ||
7457 | * regcache.c (write_sp): Delete function and references. | |
7458 | * inferior.h (write_sp): Delete declaration. | |
7459 | * valops.c (hand_function_call): Replace write_sp with | |
7460 | TARGET_WRITE_SP. | |
7461 | * sparc-tdep.c (sparc_push_dummy_frame): Ditto. | |
7462 | (sparc_pop_frame): Ditto. | |
8ffd9b1b | 7463 | |
56056df7 AC |
7464 | 2003-03-27 Andrew Cagney <[email protected]> |
7465 | ||
7466 | * NEWS: Mention removal of support for hppa*-*-bsd* and | |
7467 | hppa*-*-osf* natives, and hppa*-*-pro* target. | |
7468 | * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h". | |
7469 | * config/pa/xm-pa.h: Obsolete file. | |
7470 | * config/pa/xm-hppab.h: Obsolete file. | |
7471 | * config/pa/nm-hppab.h: Obsolete file. | |
7472 | * config/pa/tm-hppab.h: Obsolete file. | |
7473 | * config/pa/tm-hppao.h: Obsolete file. | |
7474 | * config/pa/nm-hppao.h: Obsolete file. | |
7475 | * config/pa/tm-pro.h: Obsolete file. | |
7476 | * config/pa/hppaosf.mt: Obsolete file. | |
7477 | * config/pa/hppaosf.mh: Obsolete file. | |
7478 | * config/pa/hppapro.mt: Obsolete file. | |
7479 | * config/pa/hppabsd.mt: Obsolete file. | |
7480 | * config/pa/hppabsd.mh: Obsolete file. | |
7481 | * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*. | |
7482 | * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and | |
7483 | hppa*-*-osf*. | |
7484 | ||
5873a88d AC |
7485 | 2003-03-27 Andrew Cagney <[email protected]> |
7486 | ||
7487 | * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of | |
7488 | push_arguments. Don't set push_return_address or write_sp. | |
7489 | (d10v_push_dummy_call): Replace d10v_push_arguments. | |
7490 | (d10v_push_return_address, d10v_write_sp): Delete function, | |
7491 | handled by push_dummy_call. | |
7492 | ||
b81774d8 AC |
7493 | 2003-03-26 Andrew Cagney <[email protected]> |
7494 | ||
7495 | * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS. | |
7496 | (push_dummy_call): New pure multi-arch replacement with gdbarch, | |
7497 | regcache and dummy_addr parameters. | |
7498 | * gdbarch.h, gdbarch.c: Re-generate. | |
7499 | * valops.c (hand_function_call): Use gdbarch_push_dummy_call when | |
7500 | available; assume it will handle stack alignment and return | |
7501 | address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and | |
7502 | legacy_push_arguments. | |
7503 | (legacy_push_arguments): Rename default_push_arguments. | |
7504 | * value.h (legacy_push_arguments): Rename default_push_arguments. | |
7505 | * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments. | |
7506 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
7507 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
7508 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
7509 | * config/i386/tm-symmetry.h: Update. | |
7510 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7511 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
7512 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7513 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7514 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7515 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7516 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7517 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7518 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7519 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7520 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7521 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7522 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7523 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
7524 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7525 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7526 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
7527 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7528 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7529 | * arm-tdep.c (arm_gdbarch_init): Update. | |
7530 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
7531 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
7532 | ||
f541410f DJ |
7533 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
7534 | ||
7535 | * signals/signals.c (do_target_signal_to_host): Correct realtime | |
7536 | signal range test. | |
7537 | ||
69f567ae DJ |
7538 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
7539 | ||
7540 | * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals) | |
7541 | (struct sal_chain, map_catch_names): Remove. | |
7542 | (catch_exception_command_1): Don't call | |
7543 | handle_gnu_4_16_catch_command. | |
7544 | ||
d5d14a5a DJ |
7545 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
7546 | ||
7547 | From Mark Dettinger <[email protected]>: | |
7548 | * dwarf2cfi.c (read_2u): Increment pointer by two. | |
7549 | ||
bdd73e22 DJ |
7550 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
7551 | ||
7552 | * signals/signals.c: Fix typos in last change. | |
7553 | ||
960cb555 DJ |
7554 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
7555 | ||
7556 | * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if | |
7557 | not already defined. Use __SIGRTMIN if available. | |
7558 | (target_signal_from_host): Remove SIGRTMIN block. | |
7559 | (do_target_signal_to_host): Remove SIGRTMIN block; check that | |
7560 | the signal is within the realtime range. | |
7561 | ||
f636b87d AF |
7562 | 2003-03-25 Adam Fedor <[email protected]> |
7563 | ||
7564 | * Makefile.in (infrun.o): Add $(language_h) | |
7565 | * infrun.c (handle_inferior_event): Use skip_language_trampoline | |
7566 | for language specific trampolines. | |
7567 | * language.h (struct language_defn): Add skip_trampoline. | |
7568 | (skip_language_trampoline): Declare. | |
7569 | * language.c (unk_lang_trampoline, skip_language_trampoline): | |
7570 | New functions. | |
7571 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
7572 | Add ukn_lang_trampoline. | |
7573 | * ada-lang.c (ada_language_defn): Add NULL for language | |
7574 | specific skip_trampoline. | |
7575 | * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c, | |
7576 | scm-lang.c: Likewise. | |
7577 | * objc-lang.c (objc_skip_trampoline): New function. | |
7578 | (objc_language_defn): Add objc_skip_trampoline. | |
7579 | ||
28f617b3 | 7580 | 2003-03-25 Andrew Cagney <[email protected]> |
270c3b1d AC |
7581 | |
7582 | * frame.c (get_prev_frame): Delay validating a frame's ID - | |
7583 | non-NULL, didn't go backwards - until an attempt to unwind it to | |
7584 | the previous frame. | |
7585 | ||
f933a9c5 AC |
7586 | 2003-03-25 Andrew Cagney <[email protected]> |
7587 | ||
7588 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace | |
7589 | EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. | |
7590 | * gdbarch.h, gdbarch.c: Re-generate. | |
7591 | * config/sparc/tm-sparc.h | |
7592 | (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. | |
7593 | * sparc-tdep.c (sparc_gdbarch_init): Set | |
7594 | deprecated_extra_stack_alignment_needed. | |
7595 | * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. | |
7596 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear | |
7597 | extra_stack_alignment_needed. | |
7598 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7599 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
7600 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7601 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7602 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7603 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
7604 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 7605 | |
4183d812 AC |
7606 | 2003-03-25 Andrew Cagney <[email protected]> |
7607 | ||
7608 | * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace | |
7609 | STORE_STRUCT_RETURN. | |
7610 | * gdbarch.h, gdbarch.c: Regenerate. | |
7611 | * d10v-tdep.c (d10v_store_struct_return): Delete function. | |
7612 | (d10v_push_arguments): Set the struct return register. | |
7613 | (d10v_gdbarch_init): Update. | |
7614 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7615 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
7616 | * vax-tdep.c (vax_gdbarch_init): Update. | |
7617 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7618 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7619 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7620 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7621 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7622 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
7623 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7624 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7625 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7626 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
7627 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7628 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7629 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7630 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
7631 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7632 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7633 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7634 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7635 | * arm-tdep.c (arm_gdbarch_init): Update. | |
7636 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 7637 | |
1bf6d5cc AC |
7638 | 2003-03-25 Andrew Cagney <[email protected]> |
7639 | ||
7640 | * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. | |
7641 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace | |
7642 | CALL_DUMMY_STACK_ADJUST with a predicate variable. | |
7643 | * gdbarch.h, gdbarch.c: Regenerate. | |
7644 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
7645 | call_dummy_stack_adjust_p. | |
7646 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
7647 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7648 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7649 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7650 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7651 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
7652 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7653 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7654 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7655 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
7656 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7657 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7658 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7659 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7660 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7661 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
7662 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7663 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7664 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7665 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
7666 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
7667 | * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update. | |
7668 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
7669 | * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set | |
7670 | call_dummy_stack_adjust_p. | |
7671 | * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro. | |
7672 | (CALL_DUMMY_STACK_ADJUST): Delete macro. | |
7673 | * sparc-tdep.c (sparc32_push_arguments): Update. | |
7674 | * valops.c (hand_function_call): Update. | |
7675 | ||
71c08af0 CV |
7676 | 2003-03-25 Corinna Vinschen <[email protected]> |
7677 | ||
7678 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to | |
7679 | set_gdbarch_char_signed. | |
7680 | ||
30757f90 RE |
7681 | 2003-03-25 Richard Earnshaw <[email protected]> |
7682 | ||
7683 | PR cli/548 | |
7684 | * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler". | |
7685 | ||
03d48a7d RE |
7686 | 2003-03-25 Richard Earnshaw <[email protected]> |
7687 | ||
7688 | * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. | |
7689 | (_initialize_arm_tdep): Don't set tm_print_insn. | |
7690 | ||
2cf6873c AF |
7691 | 2003-03-24 Adam Fedor <[email protected]> |
7692 | ||
7693 | * Makefile.in (YYOBJ): Add objc-exp.tab.o | |
7694 | * objc-lang.h: Add multiple inclusion protection. | |
7695 | (start_msglist, add_msglist, end_msglist): Additional declarations. | |
7696 | ||
17c0759e RE |
7697 | 2003-03-24 Richard Earnshaw <[email protected]> |
7698 | ||
7699 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum | |
7700 | value was renamed to ARM_FLOAT_SOFT_FPA. | |
7701 | ||
618ce49f AC |
7702 | 2003-03-23 Andrew Cagney <[email protected]> |
7703 | ||
7704 | * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN. | |
7705 | (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID. | |
7706 | * gdbarch.h, gdbarch.c: Regenerate. | |
7707 | * valops.c (hand_function_call): Update. | |
7708 | * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
7709 | * frame.c (legacy_saved_regs_this_id): Update. | |
7710 | (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update. | |
7711 | * dummy-frame.h: Update. | |
7712 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update. | |
7713 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
7714 | * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update. | |
7715 | * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update. | |
7716 | * config/m68k/tm-sun3.h: Update. | |
7717 | * blockframe.c (inside_main_func, frame_chain_valid): Update. | |
7718 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7719 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
7720 | * vax-tdep.c (vax_gdbarch_init): Update. | |
7721 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7722 | * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update. | |
7723 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7724 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7725 | * rs6000-tdep.c (rs6000_frame_saved_pc): Update. | |
7726 | (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update. | |
7727 | (frame_get_saved_regs): Update. | |
7728 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
7729 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
7730 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7731 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7732 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7733 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
7734 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7735 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7736 | * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update. | |
7737 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
7738 | (i386_interix_back_one_frame): Update. | |
7739 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
7740 | (hppa_init_extra_frame_info): Update. | |
7741 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7742 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7743 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7744 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7745 | * arm-tdep.c (arm_gdbarch_init): Update. | |
7746 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
7747 | ||
fd50bc42 RE |
7748 | 2003-03-22 Richard Earnshaw <[email protected]> |
7749 | ||
7750 | * arm-tdep.h (arm_float_model): Add AUTO and LAST values. | |
7751 | (arm_get_fp_model): Declare. | |
7752 | * arm-tdep.c (fp_model_strings): New string array. | |
7753 | (arm_fp_model, current_fp_model): New variables. | |
7754 | (arm_get_fp_model): New function. | |
7755 | (arm_set_fp): New function. | |
7756 | (set_fp_model_sfunc): New function. | |
7757 | (show_fp_model): New function. | |
7758 | (_initialize_arm_tdep): Add new command to set/show the FPU. | |
7759 | (arm_extract_return_value): Use arm_get_fp_model. | |
7760 | (arm_store_return_value): Likewise. | |
7761 | (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp | |
7762 | to initialize the floating-point data types. | |
7763 | * arm-linux-tdep.c (arm_linux_init_abi): The default floating point | |
7764 | model is FPA. | |
7765 | ||
26304000 RE |
7766 | 2003-03-22 Richard Earnshaw <[email protected]> |
7767 | ||
7768 | * arm-tdep.c (show_arm_command): Don't print out help. Instead, show | |
7769 | the current setting of each value. | |
7770 | (_initialize_arm_tdep): Delete variable new_cmd and add new vars | |
8ffd9b1b | 7771 | new_set and new_show. Use add_setshow_cmd_full and |
26304000 RE |
7772 | add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" |
7773 | commands and add new version as subcommands of "set/show arm". | |
7774 | ||
afd7eef0 RE |
7775 | 2003-03-22 Richard Earnshaw <[email protected]> |
7776 | ||
7777 | * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists. | |
7778 | (set_arm_command, show_arm_command): New functions. | |
7779 | (_initialize_arm_tdep): Add them. | |
7780 | (num_disassembly_options): Renamed from num_flavor_options. | |
7781 | (valid_disassembly_styles): Renamed from valid_flavors. | |
7782 | (disassembly_style): Renamed from disassembly_flavor. | |
8ffd9b1b | 7783 | (set_disassembly_style_sfunc): Renamed from |
afd7eef0 RE |
7784 | set_disassembly_flavor_sfunc. |
7785 | (set_disassembly_style): Renamed from set_disassembly_flavor. | |
7786 | (arm_othernames): Updated. | |
7787 | (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor" | |
7788 | command. Add "set/show arm disassembly" commands. Deprecate | |
7789 | "othernames" command. | |
7790 | ||
299a7944 RE |
7791 | 2003-03-22 Richard Earnshaw <[email protected]> |
7792 | ||
7793 | * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define. | |
7794 | (arm-tdep.o): Depend on elf_arm_h. | |
7795 | ||
c1dac9e6 RE |
7796 | 2003-03-22 Richard Earnshaw <[email protected]> |
7797 | ||
7798 | * Makefile.in (coff_internal_h): Define. | |
7799 | (arm-tdep.o): Update dependencies. | |
7800 | ||
2702d96c RE |
7801 | 2003-03-22 Richard Earnshaw <[email protected]> |
7802 | ||
7803 | * arm-tdep.c (prologue_cache): Delete. | |
7804 | (check_prologue_cache, save_prologue_cache): Delete. | |
7805 | (arm_scan_prologue): Don't check or update the prologue_cache. | |
7806 | (arm_gdb_arch_init): Don't initialize it. | |
7807 | (_initialize_arm_tdep): Likewise. | |
7808 | ||
27d5d74b SC |
7809 | 2003-03-21 Stephane Carrez <[email protected]> |
7810 | ||
7811 | * MAINTAINERS (tui): Maintainer of tui code. | |
7812 | ||
1762d96d CV |
7813 | 2003-03-21 Corinna Vinschen <[email protected]> |
7814 | ||
7815 | * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c. | |
7816 | (i386-cygwin-tdep.o): Add dependencies. | |
7817 | * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. | |
7818 | * i386-cygwin-tdep.c: New file. | |
7819 | * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. | |
7820 | * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o. | |
7821 | ||
4c2e2391 AC |
7822 | 2003-03-20 Andrew Cagney <[email protected]> |
7823 | ||
f20d38b7 AC |
7824 | * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. |
7825 | (handle_inferior_event): Remove code calling | |
7826 | DYNAMIC_TRAMPOLINE_NEXTPC. | |
7827 | ||
0022b738 AC |
7828 | * Makefile.in (init.c): Don't add $(srcdir) prefix when a file |
7829 | already has a full path. | |
7830 | ||
864dbc90 AC |
7831 | * main.c (gdb_main): Return 1. |
7832 | (captured_main): Call error to report an invalid interpreter. | |
7833 | ||
4c2e2391 AC |
7834 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. |
7835 | * alpha-osf1-tdep.c: Include "gdb_string.h". | |
7836 | ||
5ef7553b JB |
7837 | 2003-03-19 J. Brobecker <[email protected]> |
7838 | ||
7839 | Continuing work to convert the hppa targets to multiarch partial. | |
7840 | ||
7841 | * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch | |
7842 | method, now that hppa_push_dummy_frame has a conformant prototype. | |
7843 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro | |
7844 | inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation | |
7845 | for the switch to multiarch partial. | |
7846 | ||
7bde8967 KB |
7847 | 2003-03-19 Kevin Buettner <[email protected]> |
7848 | ||
7849 | * mdebugread.c (parse_symbol): For stEnd, we're done counting | |
7850 | when iss is issNull. | |
7851 | ||
b006a9e9 KB |
7852 | 2003-03-18 Kevin Buettner <[email protected]> |
7853 | ||
7854 | * mips-tdep.c (mips_register_name): Fix fencepost error involving | |
7855 | NUM_REGS bounds check. | |
7856 | ||
5e2e9765 KB |
7857 | 2003-03-18 Kevin Buettner <[email protected]> |
7858 | ||
7859 | * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h). | |
7860 | * mips-tdep.c (gdb_assert.h): Include. | |
7861 | (mips_generic_reg_names, mips_processor_reg_names): Make static. | |
7862 | (mips_register_name): Handle integer registers explicitly. Add | |
7863 | bounds checking. | |
7864 | (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names) | |
7865 | (mips_lsi33k_reg_names): Don't list integer registers; they're | |
7866 | handled by mips_register_name() now. | |
7867 | * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise. | |
7868 | * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise. | |
7869 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise. | |
7870 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise. | |
7871 | * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise. | |
7872 | ||
a2867626 AC |
7873 | 2003-03-18 Andrew Cagney <[email protected]> |
7874 | ||
7875 | * printcmd.c (print_scalar_formatted): Change VALADDR parameter to | |
7876 | a void pointer. | |
7877 | * gdbtypes.h (print_scalar_formatted): Update declaration. | |
7878 | * expression.h (enum exp_opcode): Remove non-ISO C trailing comma. | |
7879 | ||
06600e06 JB |
7880 | 2003-03-18 J. Brobecker <[email protected]> |
7881 | ||
7882 | * infrun.c (observer.h): Add #include. | |
7883 | (normal_stop): Add call to observer_notify_normal_stop. | |
7884 | * Makefile.in (infrun.o): Add dependency on observer.h. | |
7885 | ||
7daf4f5b JB |
7886 | 2003-03-18 J. Brobecker <[email protected]> |
7887 | ||
7888 | Continuing work to convert the hppa targets to multiarch partial. | |
7889 | * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function | |
7890 | parameter. Reformat comment. | |
7891 | * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile. | |
7892 | (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame() | |
7893 | to match new profile. | |
7894 | ||
3371ccc0 JB |
7895 | 2003-03-18 J. Brobecker <[email protected]> |
7896 | ||
7897 | * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not | |
7898 | appear to be working in any case. | |
7899 | ||
4fbe891e JB |
7900 | 2003-03-18 J. Brobecker <[email protected]> |
7901 | ||
7902 | * observer.c (observer_test_first_observer): New static variable. | |
7903 | (observer_test_second_observer): Likewise. | |
7904 | (observer_test_third_observer): Likewise. | |
7905 | (observer_test_first_notification_function): New static function. | |
7906 | (observer_test_second_notification_function): Likewise. | |
7907 | (observer_test_third_notification_function): Likewise. | |
7908 | ||
a7ff40e7 JB |
7909 | 2003-03-17 J. Brobecker <[email protected]> |
7910 | ||
7911 | * hppa-tdep.c (gdb_assert.h): Add missing #include. | |
7912 | * somsolib.c (gdb_assert.h): Likewise. | |
7913 | * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. | |
7914 | (somsolib.o): Likewise. | |
7915 | ||
26ca4152 AC |
7916 | 2003-03-17 Andrew Cagney <[email protected]> |
7917 | ||
7918 | * disasm.c (gdb_disassembly): Set di.mach using the architecture's | |
7919 | BFD. Simplify setting of di.endian. | |
7920 | ||
0a613259 AC |
7921 | 2003-03-17 Andrew Cagney <[email protected]> |
7922 | ||
7923 | * rs6000-tdep.c (ppc_floating_point_unit_p): New function. | |
7924 | * ppc-tdep.h (ppc_floating_point_unit_p): Declare. | |
7925 | ||
7926 | From Elena Zannoni <[email protected]> | |
7927 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 | |
7928 | vector and floating-point parameters. | |
7929 | (ppc_sysv_abi_use_struct_convention): Handle e500 struct return | |
7930 | convention. | |
7931 | (ppc_sysv_abi_broken_use_struct_convention): Ditto. | |
7932 | ||
1132738f FN |
7933 | 2003-03-17 Fernando Nasser <[email protected]> |
7934 | ||
7935 | * MAINTAINERS: Remove my name from several maintainership roles. | |
7936 | ||
6dc42492 AC |
7937 | 2003-03-17 Andrew Cagney <[email protected]> |
7938 | ||
7939 | Fix frame off-by-one bug. | |
7940 | * frame-unwind.h (frame_this_id_ftype): Replace | |
7941 | frame_unwind_id_ftype. | |
7942 | (frame_prev_register_ftype): Replace frame_unwind_reg_ftype. | |
7943 | (struct frame_unwind): Replace "id" with "this_id". Replace "reg" | |
7944 | with "prev_register". | |
7945 | * frame-unwind.c (frame_unwind_find_by_pc): Return | |
7946 | legacy_saved_regs_unwind instead of trad_frame_unwind. Update | |
7947 | comment. | |
7948 | * dummy-frame.c (cached_find_dummy_frame): Delete function. | |
7949 | (dummy_frame_this_id): Replace dummy_frame_id_unwind. | |
7950 | (dummy_frame_prev_register): Replace dummy_frame_register_unwind. | |
7951 | (dummy_frame_unwind): Update. | |
7952 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
7953 | sentinel_frame_register_unwind. | |
7954 | (sentinel_frame_this_id): Replace sentinel_frame_id_unwind. | |
7955 | (sentinel_frame_unwinder): Update. | |
7956 | * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
7957 | (struct frame_info): Rename "unwind_cache" to "prologue_cache". | |
7958 | * frame.c (create_sentinel_frame): Update. Initialize | |
7959 | "prologue_cache" instead of "unwind_cache". | |
7960 | (frame_register_unwind): Call this frame's prev_register with the | |
7961 | next frame and this frame's prologue cache. | |
7962 | (get_prev_frame): Simplify. Always call prev frame's this_id with | |
7963 | this frame and prev frame's prologue cache. Document that this | |
7964 | call is shifted one to the left when compared to the | |
7965 | frame_register_unwind call. | |
7966 | (legacy_saved_regs_prev_register): Replace | |
7967 | frame_saved_regs_register_unwind. | |
7968 | (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind. | |
7969 | (legacy_saved_regs_unwinder): Replace trad_frame_unwinder. | |
7970 | (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
7971 | * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind. | |
7972 | (d10v_frame_unwind): Update. | |
7973 | (d10v_frame_prev_register): Replace d10v_frame_register_unwind. | |
7974 | (d10v_frame_unwind_cache): Replace this "fi" with "next_frame". | |
7975 | (saved_regs_unwinder): Replace this "frame" with "next_frame", and | |
7976 | "saved_regs" with "this_saved_regs". | |
7977 | ||
efd710d6 AC |
7978 | 2003-03-16 Andrew Cagney <[email protected]> |
7979 | ||
7980 | * frame.c (frame_pop): Don't call target_store_registers. Fix | |
7981 | problem reported by Mark Kettenis. | |
7982 | ||
4e259f09 MK |
7983 | 2003-03-16 Mark Kettenis <[email protected]> |
7984 | ||
7985 | * i386-tdep.c (i386_register_type): Renamed from | |
7986 | i386_register_virtual_type. Adjust function signature. | |
7987 | (i386_gdbarch_init): Set register_type instead of | |
7988 | deprecated_max_register_raw_size, | |
7989 | deprecated_max_register_virtual_size and register_virtual_type. | |
7990 | ||
055bb976 AC |
7991 | 2003-03-14 Andrew Cagney <[email protected]> |
7992 | ||
7993 | * frame.c (get_prev_frame): When a legacy frame, always call | |
7994 | legacy_get_prev_frame. Simplify unwind code using assumption that | |
7995 | the unwinder is new. | |
7996 | (legacy_get_prev_frame): Handle legacy sentinel frame unwind here. | |
7997 | (legacy_frame_p): When no gdbarch_unwind_dummy_id, or | |
7998 | SAVED_DUMMY_FRAME_TOS, assume a legacy frame. | |
7999 | ||
ac2adee5 AC |
8000 | 2003-03-14 Andrew Cagney <[email protected]> |
8001 | ||
8002 | * frame.c (get_saved_register): Delete function. | |
8003 | * frame.h (get_saved_register): Delete declaration. | |
8004 | * xstormy16-tdep.c: Update comment. | |
8005 | * regcache.h: Update comments. | |
8006 | * sparc-tdep.c (sparc_init_extra_frame_info): Instead of | |
8007 | get_saved_register and extract_address, use | |
8008 | frame_read_unsigned_register. | |
8009 | (sparc_frame_saved_pc): Ditto. | |
8010 | (sparc_get_saved_register): Instead of get_saved_register, use | |
8011 | frame_register. | |
8012 | (sparc_pop_frame): Ditto. | |
8013 | * findvar.c: Update comments. | |
8014 | (value_of_register): Call frame_register instead of | |
8015 | get_saved_register. | |
8016 | (value_from_register): Ditto. | |
8017 | * config/sparc/tm-sparc.h: Update comment. | |
8018 | * breakpoint.c: Update comment. | |
8019 | ||
129c1cd6 AC |
8020 | 2003-03-14 Andrew Cagney <[email protected]> |
8021 | ||
8022 | * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace | |
8023 | GET_SAVED_REGISTER. | |
8024 | * gdbarch.h, gdbarch.c: Re-generate. | |
8025 | * frame.h: Update comments. | |
8026 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8027 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8028 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8029 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8030 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8031 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8032 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8033 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8034 | * frame.c (frame_register): Update. | |
8035 | (get_saved_register): Update. | |
8036 | * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. | |
8ffd9b1b | 8037 | |
749b82f6 AC |
8038 | 2003-03-13 Andrew Cagney <[email protected]> |
8039 | ||
8040 | * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. | |
8041 | * gdbarch.h, gdbarch.c: Regenerate. | |
8042 | * valops.c (hand_function_call): Update comment. | |
8043 | * stack.c (return_command): Update comment. | |
8044 | * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update. | |
8045 | * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update. | |
8046 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8047 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8048 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8049 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8050 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8051 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8052 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8053 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8054 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8055 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8056 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8057 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8058 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8059 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8060 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8061 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8062 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8063 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8064 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8065 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8066 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8067 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8068 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8069 | ||
1594fa56 AC |
8070 | 2003-03-13 Andrew Cagney <[email protected]> |
8071 | ||
8072 | * frame.c (legacy_frame_p): New function. | |
8073 | (get_prev_frame): Use legacy_frame_p. | |
8074 | * frame.h (legacy_frame_p): Declare. | |
8075 | ||
7717fda3 V |
8076 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
8077 | ||
fbe586ae | 8078 | * MAINTAINERS (write after approval): Alphabetically |
7717fda3 V |
8079 | listing corrected. |
8080 | ||
0c67cbe9 V |
8081 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
8082 | ||
fbe586ae | 8083 | * MAINTAINERS (write after approval): Add myself. |
0c67cbe9 | 8084 | |
03febf99 AC |
8085 | 2003-03-12 Andrew Cagney <[email protected]> |
8086 | ||
8087 | * frame.c (get_prev_frame): Rename the frame parameter to | |
8088 | "this_frame". | |
8089 | (get_next_frame, legacy_get_prev_frame): Ditto. | |
8090 | ||
0a1e1ca1 AC |
8091 | 2003-03-12 Andrew Cagney <[email protected]> |
8092 | ||
8093 | * frame.c (get_current_frame): Check target_has_registers before | |
8094 | checking target_has_stack. | |
8095 | * eval.c (evaluate_subexp_standard): Use get_selected_frame, | |
8096 | instead of deprecated_selected_frame. | |
8097 | * findvar.c (value_of_register): Pass "frame", not | |
8098 | deprecated_selected_frame, to value_of_builtin_reg. | |
8099 | ||
a66a9c23 AC |
8100 | 2003-03-12 Andrew Cagney <[email protected]> |
8101 | ||
8102 | * regcache.c (regcache_cooked_write_signed): New function. | |
8103 | (regcache_cooked_write_unsigned): New function. | |
8104 | (regcache_cooked_read_unsigned): Fix regnum in range assertion. | |
8105 | (regcache_cooked_read_signed): Fix regnum in range assertion. | |
8106 | * regcache.h (regcache_cooked_write_signed): Declare. | |
8107 | (regcache_cooked_write_unsigned): Declare. | |
8108 | ||
8bedc050 AC |
8109 | 2003-03-12 Andrew Cagney <[email protected]> |
8110 | ||
8111 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
8112 | * gdbarch.h, gdbarch.c: Re-generate. | |
8113 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8114 | * x86-64-tdep.h: Update. | |
8115 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8116 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8117 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8118 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8119 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8120 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8121 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
8122 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8123 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8124 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8125 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8126 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8127 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8128 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8129 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8130 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
8131 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8132 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8133 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8134 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8135 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8136 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8137 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8138 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
8139 | (sh64_init_extra_frame_info): Update. | |
8140 | * ns32knbsd-nat.c (frame_num_args): Update. | |
8141 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
8142 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
8143 | (xstormy16_frame_chain_valid): Update. | |
8144 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
8145 | * v850-tdep.c (v850_frame_chain): Update. | |
8146 | (v850_pop_frame): Update. | |
8147 | (v850_init_extra_frame_info): Update. | |
8148 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
8149 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
8150 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
8151 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
8152 | (mn10300_pop_frame_regular): Update. | |
8153 | (mn10300_init_extra_frame_info): Update. | |
8154 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
8155 | (mips_frame_chain): Update. | |
8156 | (mips_pop_frame): Update. | |
8157 | * mcore-tdep.c (mcore_frame_chain): Update. | |
8158 | (mcore_pop_frame): Update. | |
8159 | (mcore_init_extra_frame_info): Update. | |
8160 | * arch-utils.c (init_frame_pc_default): Update. | |
8161 | * m68k-tdep.c (isi_frame_num_args): Update. | |
8162 | (delta68_frame_num_args): Update. | |
8163 | (news_frame_num_args): Update. | |
8164 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
8165 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
8166 | (alpha_frame_chain): Update. | |
8167 | (alpha_pop_frame): Update. | |
8168 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
8169 | (hppa_init_extra_frame_info): Update. | |
8170 | (hppa_frame_chain): Update. | |
8171 | (hppa_frame_chain_valid): Update. | |
8172 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
8173 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
8174 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
8175 | (arm_init_extra_frame_info): Update. | |
8176 | (arm_pop_frame): Update. | |
8177 | * frame.c (frame_pc_unwind): Update. | |
8178 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8179 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8180 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8181 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8182 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8183 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 8184 | |
7a25a7c1 AC |
8185 | 2003-03-12 Andrew Cagney <[email protected]> |
8186 | ||
8187 | Eliminate the need for POP_FRAME. | |
8188 | * frame.c (do_frame_unwind_register): New function. | |
8189 | (frame_pop): When no POP_FRAME, pop the frame using register | |
8190 | unwind and a scratch regcache. | |
8191 | (frame_saved_regs_pop): Delete function. | |
8192 | (trad_frame_unwinder): Update. | |
8193 | * d10v-tdep.c (d10v_frame_pop): Delete function. | |
8194 | (d10v_frame_unwind): Update. | |
8195 | * sentinel-frame.c (sentinel_frame_pop): Delete function. | |
8196 | (sentinel_frame_unwinder): Update. | |
8197 | * dummy-frame.c (dummy_frame_pop): Delete function. | |
8198 | (dummy_frame_unwind): Update. | |
8199 | * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. | |
8200 | (struct frame_unwind): Update. | |
8201 | ||
2f38ef89 KB |
8202 | 2003-03-11 Kevin Buettner <[email protected]> |
8203 | ||
8204 | * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to | |
8205 | mips_dwarf_dwarf2_ecoff_reg_to_regnum(). | |
8206 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): | |
8207 | Do range checks on register number obtained from debugging info. | |
8208 | (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and | |
8209 | set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of | |
8210 | set_gdbarch_ecoff_reg_to_regnum() to account for new name of | |
8211 | mapping function. | |
8212 | (do_fp_register_row): Fix typo which caused double type to be | |
8213 | used when attempting to unpack a float. | |
8214 | ||
552f4abf JB |
8215 | 2003-03-11 J. Brobecker <[email protected]> |
8216 | ||
8217 | * breakpoint.c (bpstat_stop_status): Fix a small memory leak. | |
8218 | ||
e0d2ae16 AC |
8219 | 2003-03-11 Andrew Cagney <[email protected]> |
8220 | ||
8221 | * frame.c (deprecated_update_frame_pc_hack): Don't assume a next | |
8222 | frame. Problem found by Corinna Vinschen. | |
8223 | ||
ddbfdd06 PM |
8224 | 2003-03-11 Pierre Muller <[email protected]> |
8225 | ||
8226 | * doublest.c (floatformat_from_length): Accept also | |
8227 | the real size of 'long double' type. | |
8228 | ||
088b2ddc | 8229 | 2003-03-10 Daniel Jacobowitz <[email protected]> |
31cc81e9 | 8230 | |
088b2ddc | 8231 | From Klee Dienes <[email protected]>: |
31cc81e9 DJ |
8232 | * breakpoint.c (bpstat_copy): Copy the command lines as well |
8233 | as the old value, to match what is freed in bpstat_clear. | |
8234 | ||
f56f77c1 DC |
8235 | 2003-03-10 David Carlton <[email protected]> |
8236 | ||
8237 | * minsyms.c (add_minsym_to_hash_table): Replace | |
8238 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
8239 | (compare_minimal_symbols, compact_minimal_symbols) | |
8240 | (install_minimal_symbols, find_solib_trampoline_target): Ditto. | |
8241 | (lookup_minimal_symbol_text): Use strcmp on linkage names instead | |
8242 | of DEPRECATED_SYMBOL_MATCHES_NAME. | |
8243 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
8244 | ||
5602984a AC |
8245 | 2003-03-10 Andrew Cagney <[email protected]> |
8246 | ||
8247 | * regcache.h (regcache_cooked_read_ftype): Define. | |
8248 | (regcache_save, regcache_restore): Add a cooked_read parameter. | |
8249 | * regcache.c (regcache_save, regcache_restore): Update. | |
8250 | (do_cooked_read): New function. | |
8251 | (regcache_cpy): Pass do_cooked_read to regcache_save and | |
8252 | regcache_restore. | |
8253 | ||
8bedc050 AC |
8254 | 2003-03-10 Andrew Cagney <[email protected]> |
8255 | ||
8256 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
8257 | * gdbarch.h, gdbarch.c: Re-generate. | |
8258 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8259 | * x86-64-tdep.h: Update. | |
8260 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8261 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8262 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8263 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8264 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8265 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8266 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
8267 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8268 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8269 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8270 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8271 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8272 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8273 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8274 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8275 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
8276 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8277 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8278 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8279 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8280 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8281 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8282 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8283 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
8284 | (sh64_init_extra_frame_info): Update. | |
8285 | * ns32knbsd-nat.c (frame_num_args): Update. | |
8286 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
8287 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
8288 | (xstormy16_frame_chain_valid): Update. | |
8289 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
8290 | * v850-tdep.c (v850_frame_chain): Update. | |
8291 | (v850_pop_frame): Update. | |
8292 | (v850_init_extra_frame_info): Update. | |
8293 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
8294 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
8295 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
8296 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
8297 | (mn10300_pop_frame_regular): Update. | |
8298 | (mn10300_init_extra_frame_info): Update. | |
8299 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
8300 | (mips_frame_chain): Update. | |
8301 | (mips_pop_frame): Update. | |
8302 | * mcore-tdep.c (mcore_frame_chain): Update. | |
8303 | (mcore_pop_frame): Update. | |
8304 | (mcore_init_extra_frame_info): Update. | |
8305 | * arch-utils.c (init_frame_pc_default): Update. | |
8306 | * m68k-tdep.c (isi_frame_num_args): Update. | |
8307 | (delta68_frame_num_args): Update. | |
8308 | (news_frame_num_args): Update. | |
8309 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
8310 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
8311 | (alpha_frame_chain): Update. | |
8312 | (alpha_pop_frame): Update. | |
8313 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
8314 | (hppa_init_extra_frame_info): Update. | |
8315 | (hppa_frame_chain): Update. | |
8316 | (hppa_frame_chain_valid): Update. | |
8317 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
8318 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
8319 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
8320 | (arm_init_extra_frame_info): Update. | |
8321 | (arm_pop_frame): Update. | |
8322 | * frame.c (frame_pc_unwind): Update. | |
8323 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8324 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8325 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8326 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8327 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8328 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 8329 | |
12cc2063 AC |
8330 | 2003-03-10 Andrew Cagney <[email protected]> |
8331 | ||
8332 | * gdbarch.sh (gdbarch_unwind_pc): New method. | |
8333 | * gdbarch.h, gdbarch.c: Regenerate. | |
8334 | * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, | |
8335 | but use read_pc and FRAME_SAVED_PC as fall backs. | |
8336 | (frame_saved_regs_pc_unwind): Delete function. | |
8337 | (trad_frame_unwinder): Update. | |
8338 | * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. | |
8339 | (struct frame_unwind): Update. | |
8340 | * dummy-frame.c (dummy_frame_pc_unwind): Delete function. | |
8341 | (dummy_frame_unwind): Update. | |
8342 | * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. | |
8343 | (sentinel_frame_unwinder): Update. | |
8344 | * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. | |
8345 | (d10v_frame_unwind): Update. | |
8346 | (d10v_unwind_pc): New function. | |
8347 | (d10v_gdbarch_init): Set unwind_pc. | |
8348 | ||
ef840a37 AC |
8349 | 2003-03-10 Andrew Cagney <[email protected]> |
8350 | ||
a2ce2e56 AC |
8351 | * gdbarch.h: Re-generate. |
8352 | ||
ef840a37 AC |
8353 | * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the |
8354 | PC. | |
8355 | (d10v_frame_pop): Unwind the PC, and not the LR, when restoring | |
8356 | the PC register. | |
8357 | ||
08f3424b MK |
8358 | 2003-03-08 Mark Kettenis <[email protected]> |
8359 | ||
8360 | * gdbarch.sh (save_dummy_frame_tos): Add comment. | |
8361 | ||
1248ede2 AC |
8362 | 2003-03-08 Andrew Cagney <[email protected]> |
8363 | ||
8364 | * cli-out.c: Update copyright. | |
8365 | (cli_out_data): Define typedef. Use instead of ui_out_data. | |
8366 | ||
f49bacc8 AC |
8367 | 2003-03-08 Andrew Cagney <[email protected]> |
8368 | ||
8369 | * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to | |
8370 | the result. | |
8371 | ||
9b05f993 AC |
8372 | 2003-03-07 Andrew Cagney <[email protected]> |
8373 | ||
8374 | * gdbarch.sh: Don't generate two macro definitions when an | |
8375 | undefined macro taking no arguments. | |
8376 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 8377 | |
166f4c7b ML |
8378 | 2002-03-07 Michal Ludvig <[email protected]> |
8379 | ||
8380 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos) | |
8381 | (x86_64_unwind_dummy_id): New functions. | |
8382 | (x86_64_init_abi): Register these two new functions. | |
8383 | ||
6d686a84 ML |
8384 | 2003-03-07 Michal Ludvig <[email protected]> |
8385 | ||
8386 | * x86-64-tdep.c (x86_64_function_has_prologue): New function. | |
8ffd9b1b | 8387 | (x86_64_skip_prologue): Move prologue detection to |
6d686a84 ML |
8388 | separate function. |
8389 | * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. | |
8390 | ||
6314f104 AC |
8391 | 2003-03-05 Andrew Cagney <[email protected]> |
8392 | ||
8393 | * d10v-tdep.c (d10v_unwind_dummy_id): New function. | |
8394 | (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos. | |
8395 | * frame.c (get_prev_frame): Restructure the frame ID unwind code | |
8396 | to use unwind_dummy_id when a dummy frame. | |
8397 | * gdbarch.sh (unwind_dummy_id): New multi-arch method with | |
8398 | predicate. | |
8399 | * gdbarch.h, gdbarch.c: Regneerate. | |
8ffd9b1b | 8400 | |
ceea5145 AC |
8401 | 2003-03-05 Andrew Cagney <[email protected]> |
8402 | ||
8403 | * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". | |
8404 | (d10v_frame_unwind_cache): Rewrite code computing the base and SP. | |
8405 | Do not use d10v_read_sp or d10v_read_fp when obtaining register | |
8406 | values. | |
8407 | ||
0d843116 AC |
8408 | 2003-03-05 Andrew Cagney <[email protected]> |
8409 | ||
8410 | * d10v-tdep.c (struct frame_extra_info): Delete unused structure. | |
8411 | (struct d10v_unwind_cache): Delete field "frameless". Replace | |
8412 | "next_addr" with "sp_offset". Add "r11_offset". | |
8413 | (d10v_frame_unwind_cache): Update. | |
8414 | (prologue_find_regs): Update. When "mv r11, sp", save the | |
8415 | "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that | |
8416 | RN was saved in r11_offset. | |
8417 | ||
b2579786 AC |
8418 | 2003-03-05 Andrew Cagney <[email protected]> |
8419 | ||
8420 | * frame.c (deprecated_update_frame_pc_hack): Also update the the | |
8421 | cached PC value in the next frame. | |
8422 | ||
218e5956 AC |
8423 | 2003-03-05 Andrew Cagney <[email protected]> |
8424 | ||
8425 | * frame.h (struct frame_info): Replace "id_unwind_cache_p" and | |
8426 | "id_unwind_cache" with "id". | |
8427 | (frame_id_unwind): Delete declaration. | |
8428 | * frame.c (frame_id_unwind): Delete function. | |
8429 | (get_prev_frame): Call the frame id unwind method directly. Store | |
8430 | the returned next frame's ID value in NEXT_FRAME. Note that there | |
8431 | is a problem with the wrong unwind ID being called with the wrong | |
8432 | unwind cache. | |
8433 | ||
ed363b1b DJ |
8434 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
8435 | ||
8436 | * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS. | |
8437 | ||
fe1f4a5e DJ |
8438 | 2003-03-05 James Ingham <[email protected]> |
8439 | Daniel Jacobowitz <[email protected]> | |
8440 | ||
8441 | * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h". | |
8442 | (auto_cp_abi): New variable. | |
8443 | (current_cp_abi, num_cp_abis): Make static. | |
8444 | (CP_ABI_MAX): Define. | |
8445 | (cp_abis): Turn into an array. | |
8446 | (value_virtual_fn_field): Fix formatting. | |
8447 | (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now | |
8448 | takes a pointer. | |
8449 | (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd) | |
8450 | (list_cp_abis, _initialize_cp_abi): New functions. | |
8451 | * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove | |
8452 | declarations for cp_abis, num_cp_abis, current_cp_abi, and | |
8453 | switch_to_cp_abi. Update prototype for register_cp_abi. | |
8454 | * Makefile.in (cp-abi.o): Update dependencies. | |
8455 | * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default | |
8456 | instead of switch_to_cp_abi. | |
8457 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to | |
8458 | register_cp_abi. | |
8459 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to | |
8460 | register_cp_abi. | |
8461 | * hpacc-abi.c (_initialize_hpacc_abi): Likewise. | |
8462 | ||
e4adbba9 DJ |
8463 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
8464 | ||
8465 | * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition. | |
8466 | * dwarf2loc.c: Include "regcache.h". | |
8467 | (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use | |
8468 | register_size. | |
8469 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
8470 | ||
91ccbfc1 TR |
8471 | 2003-03-04 Theodore A. Roth <[email protected]> |
8472 | ||
8473 | * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the | |
8474 | number of io registers reported by remote target is not a multiple of | |
8475 | step. | |
8476 | ||
3d4e8fd2 DC |
8477 | 2003-03-04 David Carlton <[email protected]> |
8478 | ||
8479 | * symtab.c (lookup_partial_symbol): Add linkage_name argument. | |
8480 | (lookup_symbol_aux_psymtabs): Update call to | |
8481 | lookup_partial_symbol. | |
8482 | (lookup_transparent_type, find_main_psymtab) | |
8483 | (make_symbol_overload_list): Ditto. | |
8484 | ||
ed42d87b KH |
8485 | 2003-03-04 Kazu Hirata <[email protected]> |
8486 | ||
8487 | * MAINTAINERS (Write after approval): Update my email address. | |
8488 | ||
a0ed5532 AC |
8489 | 2003-03-03 Andrew Cagney <[email protected]> |
8490 | ||
8491 | Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. | |
8492 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with | |
8493 | predicate. Replace MAX_REGISTER_RAW_SIZE. | |
8494 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for | |
8495 | MAX_REGISTER_VIRTUAL_SIZE. | |
8496 | * regcache.c (legacy_max_register_raw_size): New function. | |
8497 | (legacy_max_register_virtual_size): New function. | |
8498 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. | |
8499 | (MAX_REGISTER_RAW_SIZE): Define. | |
8500 | (legacy_max_register_raw_size): Declare. | |
8501 | (legacy_max_register_virtual_size): Declare. | |
8502 | * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
8503 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. | |
8504 | * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
8505 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
8506 | * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
8507 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
8508 | * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
8509 | * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
8510 | * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
8511 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8512 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8513 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8514 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8515 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8516 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8517 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8518 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8519 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8520 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8521 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8522 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8523 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8524 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8525 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8526 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8527 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8528 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8529 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8530 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8531 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8532 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8533 | * d10v-tdep.c (d10v_gdbarch_init): Do not set | |
8534 | max_register_raw_size or max_register_virtual_size. | |
8535 | ||
8e437497 DC |
8536 | 2003-03-03 David Carlton <[email protected]> |
8537 | ||
8538 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from | |
8539 | SYMBOL_MATCHES_NAME, add comment. | |
8540 | (SYMBOL_MATCHES_NATURAL_NAME): New. | |
8541 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace | |
8542 | SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. | |
8543 | (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. | |
8544 | * symtab.c (lookup_partial_symbol): Use | |
8545 | SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete | |
8546 | unhelpful comment. | |
8547 | (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not | |
8548 | SYMBOL_MATCHES_NAME. | |
8549 | Fix for PR c++/33. | |
8550 | ||
25120b0d DC |
8551 | 2003-03-03 David Carlton <[email protected]> |
8552 | ||
8553 | * symtab.h (SYMBOL_MATCHES_REGEXP): Delete. | |
8554 | * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP | |
8555 | by regexp matching against SYMBOL_NATURAL_NAME. | |
8556 | ||
78a11fb4 DC |
8557 | 2003-03-03 David Carlton <[email protected]> |
8558 | ||
8559 | * linespec.c (find_method): Extract code into collect_methods. | |
8560 | (collect_methods): New. | |
8561 | ||
645dd519 MK |
8562 | 2003-03-02 Mark Kettenis <[email protected]> |
8563 | ||
b4700d91 MK |
8564 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and |
8565 | get_frame_base. | |
8566 | ||
645dd519 MK |
8567 | * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of |
8568 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
8569 | ||
0aa7e1aa SC |
8570 | 2003-03-02 Stephane Carrez <[email protected]> |
8571 | ||
8ffd9b1b | 8572 | * arch-utils.c (generic_register_byte): Fix to use the loop index |
0aa7e1aa SC |
8573 | and not regnum when summing the size of all registers up to regnum. |
8574 | ||
f30ee0bc AC |
8575 | 2003-03-01 Andrew Cagney <[email protected]> |
8576 | ||
8577 | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename | |
8578 | FRAME_INIT_SAVED_REGS. | |
8579 | * gdbarch.h, gdbarch.c: Regenerate. | |
8580 | * stack.c (frame_info): Update. | |
8581 | * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. | |
8582 | (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. | |
8583 | (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. | |
8584 | * ns32k-tdep.c (ns32k_pop_frame): Update. | |
8585 | * mips-tdep.c (mips_pop_frame): Update. | |
8586 | * m68hc11-tdep.c (m68hc11_pop_frame): Update. | |
8587 | * ia64-tdep.c (ia64_frame_chain): Update. | |
8588 | (ia64_frame_saved_pc, ia64_get_saved_register): Update. | |
8589 | (ia64_frameless_function_invocation): Update. | |
8590 | (ia64_init_extra_frame_info): Update. | |
8591 | (ia64_pop_frame_regular): Update. | |
8592 | * frame.h (struct frame_info): Update comment. | |
8593 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. | |
8594 | * frame.c (frame_saved_regs_register_unwind): Update. | |
8595 | (frame_saved_regs_register_unwind): Update. | |
8596 | (deprecated_generic_get_saved_register): Update. | |
8597 | * cris-tdep.c: Update comment. | |
8598 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): | |
8599 | Rename macro. | |
8600 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8601 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8602 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8603 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8604 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8605 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8606 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8607 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8608 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
8609 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8610 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8611 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8612 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8613 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8614 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8615 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8616 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8617 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8618 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8619 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8620 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 8621 | |
42fa7c0f AC |
8622 | 2003-03-01 Andrew Cagney <[email protected]> |
8623 | ||
8624 | * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to | |
8625 | option enum and switch. When no windows, set the interpreter to | |
8626 | INTERP_CONSOLE. | |
8ffd9b1b | 8627 | |
49c7e338 AC |
8628 | 2003-03-01 Andrew Cagney <[email protected]> |
8629 | ||
8630 | * main.c (captured_main): Replace magic option characters with an | |
8631 | enum. | |
8632 | ||
e9582e71 AC |
8633 | 2003-03-01 Andrew Cagney <[email protected]> |
8634 | ||
8635 | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename | |
8636 | INIT_EXTRA_FRAME_INFO. | |
8637 | * gdbarch.h, gdbarch.c: Regenerate. | |
8638 | * arm-tdep.c: Update comments. | |
8639 | * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. | |
8640 | * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. | |
8641 | * frame.h, avr-tdep.c: Ditto. | |
8642 | * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
8643 | (create_new_frame, legacy_get_prev_frame): Ditto. | |
8644 | * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
8645 | * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
8646 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize | |
8647 | deprecated_init_extra_frame_info instead of init_extra_frame_info. | |
8648 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
8649 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8650 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8651 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8652 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8653 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
8654 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8655 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8656 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8657 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8658 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8659 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
8660 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
8661 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8662 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8663 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8664 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8665 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8666 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
8667 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8668 | ||
35cac7cf AC |
8669 | 2003-03-01 Andrew Cagney <[email protected]> |
8670 | ||
8671 | * gdbarch.sh (register_type): New function with predicate. | |
8672 | (REGISTER_VIRTUAL_TYPE): Change to function with predicate. | |
8673 | * gdbarch.h, gdbarch.c: Re-generate. | |
8674 | * arch-utils.c (generic_register_byte): Use generic_register_size. | |
8675 | (generic_register_size): When available, use | |
8676 | gdbarch_register_type. | |
8677 | * regcache.c (init_regcache_descr): When available, initialize the | |
8678 | register type array using gdbarch_register_type. If the | |
8679 | architecture supplies gdbarch_register_type, do not use the legacy | |
8680 | regcache layout. | |
8681 | * d10v-tdep.c (d10v_register_type): Replace | |
8682 | d10v_register_virtual_type. | |
8683 | (d10v_gdbarch_init): Set register_type instead of | |
8684 | register_virtual_type. | |
8685 | ||
7b83296f AC |
8686 | 2003-03-01 Andrew Cagney <[email protected]> |
8687 | ||
8688 | * Makefile.in (ax-gdb.o): Update dependencies. | |
8689 | * ax-gdb.c: Include "regcache.h". | |
8690 | (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. | |
8691 | * findvar.c (value_of_register): Ditto. | |
8692 | * infcmd.c (default_print_registers_info): Ditto. | |
8693 | ||
eadc1c87 MK |
8694 | 2003-03-01 Mark Kettenis <[email protected]> |
8695 | ||
8696 | * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of | |
8697 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
8698 | ||
14143612 MK |
8699 | 2003-03-01 Mark Kettenis <[email protected]> |
8700 | ||
8701 | * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead | |
8702 | of STREQ. | |
8703 | ||
a55cc764 DJ |
8704 | 2003-02-28 Daniel Jacobowitz <[email protected]> |
8705 | ||
8706 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
8707 | * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. | |
8708 | * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. | |
8709 | * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. | |
8710 | * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". | |
8711 | (locexpr_tracepoint_var_ref): New function. | |
8712 | (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref. | |
8713 | ||
08a617da AC |
8714 | 2003-02-28 Andrew Cagney <[email protected]> |
8715 | ||
8716 | * regcache.c (register_size): New function. | |
8717 | * regcache.h (register_size): Declare | |
8718 | * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use | |
8719 | max_register_size instead of MAX_REGISTER_RAW_SIZE. | |
8720 | ||
4224873a DC |
8721 | 2003-02-28 David Carlton <[email protected]> |
8722 | ||
8723 | * linespec.c (decode_compound): Extract code into find_method. | |
8724 | (find_method): New. | |
8725 | ||
ccdc5d7f JB |
8726 | 2003-02-28 J. Brobecker <[email protected]> |
8727 | ||
8728 | * Makefile.in: Add rules to build and link in observer.o. | |
8729 | ||
974e8ced JB |
8730 | 2003-02-27 J. Brobecker <[email protected]> |
8731 | ||
8732 | * observer.c: Minor comments edits. | |
8733 | ||
7a28f973 JB |
8734 | 2003-02-27 J. Brobecker <[email protected]> |
8735 | ||
8736 | * observer.h, observer.c: New file. | |
8737 | ||
27cddce2 AC |
8738 | 2003-02-27 Andrew Cagney <[email protected]> |
8739 | ||
8740 | * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd. | |
8741 | ||
b94a41a1 SC |
8742 | 2003-02-27 Stephane Carrez <[email protected]> |
8743 | ||
8744 | * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines. | |
8745 | (M6812_OP_STS_EXT): Likewise. | |
8746 | (m6811_prologue): Use the above to recognize prologue. | |
8747 | (m6812_prologue): Likewise. | |
8748 | ||
c8be8951 DC |
8749 | 2003-02-27 David Carlton <[email protected]> |
8750 | ||
8751 | * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not | |
8752 | SYMBOL_PRINT_NAME. | |
8753 | (compare_psymbols): Ditto. | |
8754 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
8755 | ||
d05bb1fc MS |
8756 | 2003-02-27 Michael Snyder <[email protected]> |
8757 | ||
4e845cd3 MS |
8758 | * f-lang.c (build_fortran_types): New function. |
8759 | (_initialize_f_language): Gdbarch-register built-in fortran types. | |
d05bb1fc MS |
8760 | * doublest.c (extract_floating): Fix warning text. |
8761 | ||
f3824013 AC |
8762 | 2003-02-27 Andrew Cagney <[email protected]> |
8763 | ||
8764 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with | |
8765 | predicate. Replaces PUSH_DUMMY_FRAME. | |
8766 | * gdbarch.h, gdbarch.c: Regnerate. | |
8767 | * valops.c (hand_function_call): Update. Call | |
8768 | generic_push_dummy_frame directly. | |
8769 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8770 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8771 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8772 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8773 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8774 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8775 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
8776 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
8777 | * inferior.h (PUSH_DUMMY_FRAME): Delete definition. | |
8778 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set | |
8779 | push_dummy_frame to generic_push_dummy_frame. | |
8780 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8781 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8782 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8783 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8784 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8785 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8786 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8787 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8788 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8789 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8790 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8791 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8792 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8793 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8794 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8795 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8ffd9b1b | 8796 | |
ad188201 KB |
8797 | 2003-02-26 Kevin Buettner <[email protected]> |
8798 | ||
8799 | * mips-tdep.c (show_mips_abi): New function. | |
8800 | (_initialize_mips_tdep): Use show_mips_abi() to implement the | |
8801 | command ``show mips abi''. | |
8802 | ||
6b37567a | 8803 | 2003-02-26 Jeff Johnston <[email protected]> |
8ffd9b1b | 8804 | |
6b37567a | 8805 | From Elena Zannoni <[email protected]> |
8ffd9b1b | 8806 | * dbxread.c (process_one_symbol): Only record line 0 if one or |
6b37567a JJ |
8807 | more sline entries have been seen for the function. |
8808 | ||
d3e0a5bf MC |
8809 | 2003-02-26 Michael Chastain <[email protected]> |
8810 | ||
8811 | * configure: Regenerate with autoconf 000227. | |
8812 | ||
18972eea MC |
8813 | 2003-02-26 Michael Chastain <[email protected]> |
8814 | ||
8815 | Close PR build/660. | |
8816 | * PROBLEMS (i[3456]86-*-linux*): Note explicit error message | |
8817 | for old libc5/glibc. | |
8818 | * gdb_thread_db.h: Die if not HAVE_UINTPTR_T. | |
8819 | ||
0bbde931 KW |
8820 | 2003-02-26 Kris Warkentin <[email protected]> |
8821 | ||
8822 | * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO. | |
8823 | * osabi.c (gdb_osabi_names): Add "QNX Neutrino". | |
8824 | ||
27ca5dad MC |
8825 | 2003-02-26 Michael Chastain <[email protected]> |
8826 | ||
8827 | * configure.in: New variable HAVE_UINTPTR_T. | |
8828 | * configure, config.in: Regenerated. | |
8829 | ||
6f88d630 DJ |
8830 | 2003-02-26 Daniel Jacobowitz <[email protected]> |
8831 | ||
8832 | Fix PR build/1097. | |
8833 | * utils.c (gdb_realpath): Move closing brace outwards one #endif. | |
8834 | ||
b14185ce AC |
8835 | 2003-02-25 Andrew Cagney <[email protected]> |
8836 | ||
8837 | * frame.c (get_prev_frame): Add comment on check for | |
8838 | inside_entry_func. Only check for inside_entry_file when not a | |
8839 | dummy and not a sentinel. Check that the new frame is not inner | |
8840 | to the old frame. | |
8841 | ||
ac2bd0a9 AC |
8842 | 2003-02-25 Andrew Cagney <[email protected]> |
8843 | ||
8844 | * frame.c (frame_debug): New variable. | |
8845 | (_initialize_frame): Add "set/show debug frame" command. | |
8846 | (get_prev_frame): When frame_debug, print reason why unwind | |
8847 | failed. | |
8848 | ||
b18a0fd2 MC |
8849 | 2003-02-25 Michael Chastain <[email protected]> |
8850 | ||
8851 | * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later | |
8852 | to avoid uintptr_t definition problems. | |
8853 | ||
22abf04a DC |
8854 | 2003-02-25 David Carlton <[email protected]> |
8855 | ||
8856 | * symtab.h (SYMBOL_NATURAL_NAME): New macro. | |
8857 | (SYMBOL_LINKAGE_NAME): Ditto. | |
8858 | (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and | |
8859 | SYMBOL_LINKAGE_NAME. | |
8860 | (struct general_symbol_info): Expand comment. | |
8861 | (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. | |
8862 | (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. | |
8863 | (SYMBOL_MATCHES_REGEXP): Ditto. | |
8864 | * symtab.c (symbol_natural_name): New function. | |
8865 | * objfiles.h: Replace all uses of SYMBOL_NAME by | |
8866 | DEPRECATED_SYMBOL_NAME. | |
8867 | * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. | |
8868 | * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. | |
8869 | * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. | |
8870 | * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. | |
8871 | * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. | |
8872 | * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. | |
8873 | * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. | |
8874 | * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. | |
8875 | * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. | |
8876 | * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. | |
8877 | * ada-exp.y: Ditto. | |
8878 | * ada-exp.y: Update copyright. | |
8879 | * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. | |
8880 | * cp-valprint.c: Ditto. | |
8881 | ||
1a5848f6 JJ |
8882 | 2003-02-25 Jeff Johnston <[email protected]> |
8883 | ||
8884 | * infptrace.c (detach): Do not flag error if ptrace detach fails | |
8885 | and errno is set to ESRCH. | |
8886 | ||
7343d46a AC |
8887 | 2003-02-24 Andrew Cagney <[email protected]> |
8888 | ||
8889 | * infptrace.c (udot_info): Change type of udot_off to long. Use | |
8890 | paddr when printing udot_off's value. | |
8891 | ||
49fa1dc2 DC |
8892 | 2003-02-24 David Carlton <[email protected]> |
8893 | ||
8894 | * symtab.c (make_symbol_overload_list): Only read in partial | |
8895 | symtabs containing a matching partial symbol. | |
8896 | ||
0fe19209 DC |
8897 | 2003-02-24 David Carlton <[email protected]> |
8898 | ||
8899 | * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to | |
8900 | do the comparison, not strcmp. | |
8901 | * symfile.c (compare_psymbols): Ditto. | |
8902 | * defs.h: Declare strcmp_iw_ordered. | |
8903 | * utils.c (strcmp_iw_ordered): New function. | |
8904 | ||
8e3ee7b5 JB |
8905 | 2003-02-24 Jim Blandy <[email protected]> |
8906 | ||
8907 | * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme | |
8908 | support, shared libs): Remove my name from here, to better reflect | |
8909 | reality. | |
8910 | ||
7df1a324 KW |
8911 | 2003-02-24 Kris Warkentin <[email protected]> |
8912 | ||
8913 | * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define. | |
8914 | (target_ops): Add to_have_continuable_watchpoint. | |
8915 | * target.c (update_current_target): Add INHERIT line for | |
8916 | to_have_continuable_watchpoint. | |
8917 | * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines. | |
8918 | * config/i386/nm-i386.h, config/i386/nm-i386sco5.h, | |
8919 | config/i386/nm-i386sol2.h, config/s390/nm-linux.h, | |
8920 | config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1. | |
8921 | ||
d1c76907 EZ |
8922 | 2003-02-24 Elena Zannoni <[email protected]> |
8923 | ||
8924 | * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop | |
8925 | maintainership. | |
8926 | ||
2610b0bf KW |
8927 | 2003-02-24 Kris Warkentin <[email protected]> |
8928 | ||
f46169db KW |
8929 | * solib.c (solib_open): Call target defined search function after |
8930 | failing with solib-search-path. | |
8931 | * solist.h (target_so_ops): Add find_and_open_solib function hook and | |
8932 | create define TARGET_SO_FIND_AND_OPEN_SOLIB. | |
2610b0bf | 8933 | |
9a3c34fe KW |
8934 | 2003-02-24 Kris Warkentin <[email protected]> |
8935 | ||
f46169db | 8936 | * MAINTAINERS: Add myself to Write After section. |
9a3c34fe | 8937 | |
2417dd25 SC |
8938 | 2003-02-23 Stephane Carrez <[email protected]> |
8939 | ||
8940 | * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide. | |
8941 | ||
b631436b SC |
8942 | 2003-02-22 Stephane Carrez <[email protected]> |
8943 | ||
8944 | * m68hc11-tdep.c (m68hc11_init_reggroups): New function. | |
8945 | (m68hc11_add_reggroups): New function. | |
8946 | (m68hc11_register_reggroup_p): New to register hard/soft reggroups. | |
8947 | (m68hc11_gdbarch_init): Install the reggroups. | |
8948 | (_initialize_m68hc11_tdep): Initialize them. | |
8949 | ||
0aa8c1e4 JW |
8950 | 2003-02-21 James E Wilson <[email protected]> |
8951 | ||
8952 | * MAINTAINERS: Update my email address. | |
8953 | ||
50ceaba5 DC |
8954 | 2003-02-21 David Carlton <[email protected]> |
8955 | ||
8956 | * arm-tdep.c (arm_gdbarch_init): Add break after default label. | |
8957 | ||
4c2df51b DJ |
8958 | 2003-02-21 Daniel Jacobowitz <[email protected]> |
8959 | ||
8960 | Based on a patch from Daniel Berlin ([email protected]). | |
8961 | * symtab.h: Add opaque declarations of struct axs_value and | |
8962 | struct agent_expr. | |
8963 | (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. | |
8964 | (struct location_funcs): New type. | |
8965 | (struct symbol): Add "loc" to aux_value. | |
8966 | (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. | |
8967 | * dwarf2read.c: Include "dwarf2expr.h". | |
8968 | (dwarf2_symbol_mark_computed): New function. | |
8969 | (read_func_scope): Use it. | |
8970 | (var_decode_location): New function. | |
8971 | (new_symbol): Use it. | |
8972 | * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. | |
8973 | ||
8974 | * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. | |
8975 | (dwarf2expr_h, dwarf2loc_h): New variables. | |
8976 | (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. | |
8977 | (dwarf2expr.o, dwarf2loc.o): New rules. | |
8978 | (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). | |
8979 | * buildsym.c (finish_block): Handle LOC_COMPUTED and | |
8980 | LOC_COMPUTED_ARG. | |
8981 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
8982 | * m2-exp.y (yylex): Likewise. | |
8983 | * printcmd.c (address_info, print_frame_args): Likewise. | |
8984 | * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. | |
8985 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
8986 | * ada-lang.c (ada_resolve_subexp, symtab_for_sym) | |
8987 | (ada_add_block_symbols, fill_in_ada_prototype): Likewise. | |
8988 | * symtab.c (lookup_block_symbol): Likewise. | |
8989 | ||
5784d15e AF |
8990 | 2003-02-20 Adam Fedor <[email protected]> |
8991 | ||
8992 | * symtab.h: Remove objc_specific struct | |
8993 | (SYMBOL_OBJC_DEMANGLED_NAME): Remove. | |
8994 | * symtab.c (symbol_init_language_specific, symbol_demangled_name): | |
8995 | Have language_objc use cplus_specific struct. | |
8996 | ||
d4cad8db TT |
8997 | 2003-02-20 Tom Tromey <[email protected]> |
8998 | ||
8999 | * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not | |
9000 | TYPE_NAME, when printing a String value. PR java/1075. | |
9001 | ||
2f9a90b4 AF |
9002 | 2003-02-20 Adam Fedor <[email protected]> |
9003 | ||
d38074a8 | 9004 | * objc-lang.h (find_methods): Remove declaration. |
fbe586ae | 9005 | * objc-lang.c (find_methods): Make static. |
2f9a90b4 | 9006 | |
6f17862b CF |
9007 | 2003-02-20 Christopher Faylor <[email protected]> |
9008 | ||
9009 | * win32-nat.c (get_image_name): Check return value from | |
9010 | ReadProcessMemory. | |
9011 | (child_xfer_memory): Ditto. | |
9012 | ||
715d1656 AO |
9013 | 2003-02-20 Alexandre Oliva <[email protected]> |
9014 | ||
9015 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
9016 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
9017 | '${exec_prefix}' (in addition to the expansion thereof) as | |
9018 | relocatable. | |
9019 | * configure: Rebuilt. | |
9020 | ||
b1262a02 DC |
9021 | 2003-02-20 David Carlton <[email protected]> |
9022 | ||
9023 | * symtab.c (search_symbols): Revert the search_symbols part of my | |
9024 | 2002-12-23 patch. Add comment. | |
9025 | ||
7134143f DJ |
9026 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
9027 | ||
9028 | * coffread.c (coff_symfile_read): Clean up minimal symbols earlier. | |
9029 | * dbxread.c (elfstab_build_psymtabs): Don't call | |
9030 | install_minimal_symbols. | |
9031 | (stabsect_build_psymtabs): Likewise. | |
9032 | * elfread.c (elf_symfile_read): Call install_minimal_symbols | |
9033 | earlier. | |
9034 | * somread.c (som_symfile_read): Call install_minimal_symbols | |
9035 | and do_cleanups earlier. | |
9036 | * nlmread.c (nlm_symfile_read): Likewise. | |
9037 | * mdebugread.c (elfmdebug_build_psymtabs): Call | |
9038 | install_minimal_symbols and make appropriate cleanups. | |
9039 | ||
cf466558 KB |
9040 | 2003-02-20 Kevin Buettner <[email protected]> |
9041 | ||
9042 | * solib.c (reload_shared_libraries): New function. | |
9043 | (_initialize_solib): Add callbacks for ``set solib-search-path'' | |
9044 | and ``set solib-absolute-prefix''. | |
9045 | ||
de5ad195 DC |
9046 | 2003-02-20 David Carlton <[email protected]> |
9047 | ||
9048 | * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME; | |
9049 | expand comment. | |
9050 | * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace | |
9051 | SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME. | |
9052 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
9053 | * ax-gdb.c (gen_var_ref): Ditto. | |
9054 | * breakpoint.c (print_one_breakpoint): Ditto. | |
9055 | * buildsym.c (finish_block): Ditto. | |
9056 | * c-valprint.c (c_val_print): Ditto. | |
9057 | * expprint.c (print_subexp): Ditto. | |
9058 | * findvar.c (locate_var_value): Ditto. | |
8ffd9b1b AJ |
9059 | * infcmd.c (jump_command): Ditto. |
9060 | * linespec.c (decode_line_2, decode_compound): Ditto. | |
9061 | * maint.c (maintenance_translate_address): Ditto. | |
9062 | * objc-lang.c (compare_selectors, compare_classes): Ditto. | |
de5ad195 DC |
9063 | * printcmd.c (build_address_symbolic, sym_info, print_frame_args): |
9064 | Ditto. | |
8ffd9b1b AJ |
9065 | * p-valprint.c (pascal_val_print): Ditto. |
9066 | * stabsread.c (define_symbol): Ditto. | |
de5ad195 | 9067 | * stack.c (print_frame, frame_info, print_block_frame_locals) |
8ffd9b1b AJ |
9068 | (print_frame_arg_vars, return_command): Ditto. |
9069 | * symfile.c (compare_symbols, compare_psymbols): Ditto. | |
9070 | * symmisc.c (print_symbol): Ditto. | |
de5ad195 DC |
9071 | * symtab.c (lookup_partial_symbol, lookup_block_symbol) |
9072 | (compare_search_syms, print_symbol_info, print_msymbol_info) | |
8ffd9b1b AJ |
9073 | (rbreak_command): Ditto. |
9074 | * tracepoint.c (tracepoints_info): Ditto. | |
9075 | * typeprint.c (typedef_print): Ditto. | |
9076 | * valops.c (value_of_variable, hand_function_call): Ditto. | |
de5ad195 DC |
9077 | * cli/cli-cmds.c (edit_command, list_command): Ditto. |
9078 | * ada-typeprint.c: Update Copyright. | |
9079 | * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. | |
9080 | * tracepoint.c, cli/cli-cmds.c: Ditto. | |
9081 | ||
f796e4be KB |
9082 | 2003-02-20 Kevin Buettner <[email protected]> |
9083 | ||
9084 | * frame.c (generic_unwind_get_saved_register): Make non-static. | |
9085 | * frame.h (generic_unwind_get_saved_register): Declare. | |
9086 | * mips-tdep.c (read_next_frame_reg): Fetch register from | |
9087 | current regcache when frame is NULL. | |
9088 | (mips_init_extra_frame_info): Pass NULL explicitly for parameter | |
9089 | that must be NULL. | |
9090 | (mips_get_saved_register): Call generic_unwind_get_saved_register() | |
9091 | instead of frame_register_unwind(). | |
9092 | ||
836cc9f4 AC |
9093 | 2003-02-20 Andrew Cagney <[email protected]> |
9094 | ||
9095 | * remote-sim.c (gdbsim_insert_breakpoint) | |
9096 | (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS | |
9097 | code. | |
9098 | ||
501eef12 AC |
9099 | 2003-02-20 Andrew Cagney <[email protected]> |
9100 | ||
9101 | * remote.c (_initialize_remote): Add commands "set/show remote | |
9102 | hardware-watchpoint-limit" and "set/show remote | |
9103 | hardware-breakpoint-limit". | |
9104 | (remote_hw_watchpoint_limit): Initialize to -1. | |
9105 | (remote_hw_breakpoint_limit): Ditto. | |
9106 | (remote_check_watch_resources): Treat a limit of -1 as unlimited. | |
9107 | ||
1b6bc7e0 CF |
9108 | 2003-02-19 Raoul Gough <[email protected]> |
9109 | ||
9110 | * coff-pe-read.c: New file - support reading of minimal symbols from a | |
9111 | portable executable using the export table. | |
9112 | * coff-pe-read.h: New file. | |
9113 | * coffread.c: Include coff-pe-read.h. | |
9114 | (coff_symtab_read): Call read_pe_exported_syms iff no recognized | |
9115 | debugging symbols found. | |
9116 | * Makefile.in (SFILES): Add coff-pe-read.o. | |
9117 | (coff_pe_read_h): Define. | |
9118 | (COMMON_OBS): Add coff-pe-read.o. | |
9119 | (coffread.o): Add coff_pe_read_h dependency. | |
9120 | (coff-pe-read.o): New target. | |
9121 | ||
fe898f56 DC |
9122 | 2003-02-19 David Carlton <[email protected]> |
9123 | ||
9124 | * Makefile.in (SFILES): Add block.c. | |
9125 | (block_h): New. | |
9126 | (COMMON_OBS): Add block.o. | |
9127 | (block.o): New. | |
9128 | (x86-64-tdep.o): Add $(block_h). | |
9129 | (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o) | |
9130 | (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o) | |
9131 | (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o) | |
9132 | (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o) | |
9133 | (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o) | |
9134 | (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o) | |
9135 | (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto. | |
9136 | * value.h: Add opaque declaration for struct block. | |
9137 | * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto. | |
9138 | * ada-lang.h: Ditto. | |
9139 | * x86-64-tdep.c: #include "block.h" | |
9140 | * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto. | |
9141 | * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto. | |
9142 | * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto. | |
9143 | * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto. | |
9144 | * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto. | |
9145 | * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto. | |
9146 | * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto. | |
9147 | * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto. | |
9148 | * blockframe.c (blockvector_for_pc_sect): Move to "block.c". | |
9149 | (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto. | |
9150 | * symtab.c (block_function): Ditto. | |
9151 | (contained_in): Ditto. | |
9152 | * frame.h: Move block_for_pc and block_for_pc_sect declarations to | |
9153 | block.h. Add opaque declaration for struct block. | |
9154 | * symtab.h: Move block_function and contained_in declarations to | |
9155 | block.h. Add opaque declarations for struct block, struct | |
9156 | blockvector. | |
9157 | (struct block): Move to block.h. | |
9158 | (struct blockvector): Ditto. | |
9159 | (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK) | |
9160 | (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM) | |
9161 | (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE) | |
9162 | (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS) | |
9163 | (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): | |
9164 | Ditto. | |
9165 | * block.c: New file. | |
9166 | * block.h: New file. | |
9167 | ||
173345b5 TR |
9168 | 2003-02-19 Theodore A. Roth <[email protected]> |
9169 | ||
9170 | * avr-tdep.c (avr_extract_return_value): Remove function. | |
9171 | (avr_store_return_value): Remove function. | |
9172 | (avr_extract_struct_value_address): Remove function. | |
9173 | (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls. | |
9174 | ||
338ef23d AC |
9175 | 2003-02-19 Andrew Cagney <[email protected]> |
9176 | ||
9177 | * rs6000-tdep.c: Include "gdb_assert.h". | |
9178 | (registers_e500): Add "acc" and "spefscr". | |
9179 | (PPC_GPRS_PSEUDO_REGS): Remove trailing comma. | |
9180 | (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum, | |
9181 | ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum | |
9182 | really is "r0". | |
9183 | (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson). | |
9184 | ||
5412f5f3 KS |
9185 | 2003-02-18 Keith Seitz <[email protected]> |
9186 | ||
9187 | * Makefile.in: Add gdbtk-interps.c. | |
9188 | ||
881324eb KB |
9189 | 2003-02-18 Kevin Buettner <[email protected]> |
9190 | ||
9191 | * sparc-tdep.c (sparc_frame_chain): Adjust return value. | |
9192 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare. | |
9193 | ||
6a2f5abf AC |
9194 | 2003-02-18 Andrew Cagney <[email protected]> |
9195 | ||
9196 | * symtab.h (struct objfile): Add opaque declaration. | |
9197 | ||
54c7009d EZ |
9198 | 2003-02-18 Elena Zannoni <[email protected]> |
9199 | ||
9200 | From Jim Ingham <[email protected]>: | |
fbe586ae RH |
9201 | * dbxread.c (process_one_symbol): Use last_function_start rather |
9202 | than function_start_offset to find the real beginning of the | |
9203 | current function. The latter is just the text section offset on | |
9204 | some systems, the former is always the real function start. | |
54c7009d | 9205 | |
7ee6d7eb AC |
9206 | 2003-02-17 Andrew Cagney <[email protected]> |
9207 | ||
9208 | * configure.in: Revert ${target} != ${host}. | |
9209 | ||
2846da9b AC |
9210 | 2003-02-17 Andrew Cagney <[email protected]> |
9211 | ||
9212 | * configure.in (Makefile): Use the test ${target} != ${host}, | |
9213 | instead of the absence of the "nm.h" file, to determine of the | |
9214 | configuration non-native. | |
9215 | * configure: Regenerate. | |
8ffd9b1b | 9216 | |
3b27aeea EZ |
9217 | 2003-02-14 Elena Zannoni <[email protected]> |
9218 | ||
fbe586ae | 9219 | From Brian Ford <[email protected]> |
3b27aeea EZ |
9220 | |
9221 | * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly | |
9222 | conditionalize tui_active test. | |
9223 | (lookup_cmd_1): Ditto. | |
9224 | ||
b0b1c2c0 MK |
9225 | 2003-02-14 Mark Kettenis <[email protected]> |
9226 | ||
9227 | * configure.in: Add check for _etext. | |
9228 | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't | |
9229 | available. | |
9230 | * config.in, configure: regenerated. | |
9231 | ||
8f05cde5 DJ |
9232 | 2003-02-14 Daniel Jacobowitz <[email protected]> |
9233 | ||
9234 | * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base. | |
9235 | ||
021e7609 AC |
9236 | 2003-02-14 Andrew Cagney <[email protected]> |
9237 | ||
9238 | * main.c (tui_version): Delete variable. | |
9239 | (captured_main): When --tui, set interpreter_p to "tui" instead of | |
9240 | enabling tui_version. | |
9241 | * printcmd.c (display_command) [TUI]: Test tui_active instead of | |
9242 | tui_version. | |
9243 | * cli/cli-decode.c (lookup_cmd_composition): Ditto. | |
9244 | * cli/cli-cmds.c (disassemble_command): Ditto. | |
9245 | * defs.h (tui_version): Delete declaration. | |
9246 | * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". | |
9247 | (tui-interp.o): Add rules. | |
9248 | (SUBDIR_TUI_OBS): Add "tui-interp.o". | |
9249 | ||
e325dcec CF |
9250 | 2003-02-14 Christopher Faylor <[email protected]> |
9251 | ||
36ffb041 | 9252 | * win32-nat.c (register_loaded_dll): Correctly set address range for |
e325dcec CF |
9253 | just-loaded dll. |
9254 | ||
c4f90d87 JM |
9255 | 2003-02-12 Jason Molenda ([email protected]) |
9256 | ||
fbe586ae RH |
9257 | * symmisc.c (print_objfile_statistics): Include information about |
9258 | the number of psymtabs and symtabs in each object file. | |
c4f90d87 | 9259 | |
e46e5ccd KS |
9260 | 2003-02-13 Keith R Seitz <[email protected]> |
9261 | ||
9262 | * main.h (struct captured_main_args): Add interpreter_p. | |
9263 | * main.c (captured_main): Initialize interpreter_p from context. | |
9264 | * gdb.c (main): Set interpreter_p argument. | |
9265 | * Makefile.in (gdb.o): Add dependency for interps.h. | |
9266 | ||
fe97fe9c AC |
9267 | 2003-02-12 Andrew Cagney <[email protected]> |
9268 | ||
9269 | * event-top.c (cli_command_loop): Delete declaration. | |
9270 | (_initialize_event_loop): Delete function setting event_loop_hook. | |
9271 | * event-top.h (cli_command_loop): Declare. Update copyright. | |
9272 | (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. | |
9273 | * interps.c (current_interp_command_loop): When event_loop_p, call | |
9274 | cli_command_loop. | |
9275 | ||
1cdac4ef AC |
9276 | 2003-02-12 Andrew Cagney <[email protected]> |
9277 | ||
9278 | * interps.h (interp_command_loop_ftype): Change return type to | |
9279 | void. | |
9280 | ||
48037ead ML |
9281 | 2003-02-12 Michal Ludvig <[email protected]> |
9282 | ||
9283 | * x86-64-tdep.c (x86_64_extract_return_value) | |
9284 | (x86_64_store_return_value): Use regcache instead of regbuf. | |
9285 | (x86_64_gdbarch_init): Change related set_gdbarch_* functions. | |
9286 | * x86-64-linux-nat.c (fill_gregset): Use regcache. | |
9287 | ||
033afc63 AC |
9288 | 2003-02-11 Andrew Cagney <[email protected]> |
9289 | ||
9290 | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. | |
9291 | * aclocal.m4: Regenerate. | |
9292 | * configure: Regenerate. | |
9293 | ||
9294 | * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of | |
9295 | TCL_LD_SEARCH_FLAGS. | |
9296 | ||
40d02bca ML |
9297 | 2003-02-10 Michal Ludvig <[email protected]> |
9298 | ||
9299 | * dwarf2cfi.c: Reindented. | |
9300 | ||
11308a41 AC |
9301 | 2003-02-09 Andrew Cagney <[email protected]> |
9302 | ||
9303 | * interps.c (clear_interpreter_hooks): Convert function definition | |
9304 | to ISO C. | |
9305 | ||
e1c1c0f6 DC |
9306 | 2003-02-07 David Carlton <[email protected]> |
9307 | ||
9308 | * gdb_mbuild.sh: Delete extra shift after parsing '-f'. | |
9309 | ||
ab5d3da6 KB |
9310 | 2003-02-07 Kevin Buettner <[email protected]> |
9311 | ||
9312 | * gdbtypes.h (struct main_type): Move ``length'' field from here... | |
9313 | (struct type): ...to here. | |
9314 | (TYPE_LENGTH): Adjust to reflect different location of ``length'' | |
9315 | field. | |
9316 | * gdbtypes.c (make_qualified_type): Set length on newly created type. | |
9317 | (replace_type): Set length on all type variants for a given type. | |
9318 | ||
b8a92b82 AC |
9319 | 2003-02-07 Andrew Cagney <[email protected]> |
9320 | ||
9321 | * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of | |
9322 | <sys/stat.h>. | |
9323 | * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. | |
8ffd9b1b | 9324 | |
5cb316ef AC |
9325 | 2003-02-06 Andrew Cagney <[email protected]> |
9326 | ||
2555fe1a AC |
9327 | * Makefile.in (symm-nat.o): Update dependencies. |
9328 | (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. | |
9329 | (lynx-nat.o, ia64-linux-nat.): Ditto. | |
9330 | * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include | |
9331 | "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. | |
9332 | * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. | |
9333 | ||
44270758 AC |
9334 | * Makefile.in (inflow_h): Define. |
9335 | (procfs.o, inflow.o, procfs.o): Update dependencies. | |
9336 | * inftarg.c (child_stop): Delete extern declaration of | |
9337 | inferior_process_group. Include "inflow.h". | |
9338 | * procfs.c (procfs_stop): Ditto. Include "inflow.h". | |
9339 | * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... | |
9340 | * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. | |
9341 | (our_process_group, inferior_process_group): Extern declarations. | |
9342 | ||
df8f7274 AC |
9343 | * procfs.c: Include "gdb_assert.h". |
9344 | ||
5cb316ef AC |
9345 | * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. |
9346 | * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. | |
9347 | * jv-typeprint.c (java_type_print_base): Ditto. | |
9348 | * typeprint.c (typedef_print): Eliminate STREQ. | |
9349 | * cli/cli-script.c (define_command, define_command): Ditto. | |
9350 | * main.c (captured_main): Ditto. | |
9351 | * values.c (lookup_internalvar): Ditto. | |
9352 | * utils.c (safe_strerror, parse_escape): Eliminate assignment | |
9353 | within `if' conditional. | |
9354 | * linespec.c (decode_line_2): Ditto. | |
9355 | * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. | |
9356 | (bfd_openw_with_cleanup): Ditto. | |
9357 | ||
2a28ccea MK |
9358 | 2003-02-07 Mark Kettenis <[email protected]> |
9359 | ||
9360 | * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to | |
9361 | legacy_extract_return_value and store_return_value to | |
9362 | legacy_return_value. | |
9363 | ||
786b8124 CF |
9364 | 2003-02-06 Raoul Gough <[email protected]> |
9365 | ||
9366 | * win32-nat.c (get_relocated_section_addrs): New function. Find | |
9367 | section load addresses for symbol handling in relocated DLLs. | |
9368 | (solib_symbols_add): Open a bfd and call get_relocated_section_addrs. | |
9369 | ||
b871e4ec FF |
9370 | 2003-02-05 Fred Fish <[email protected]> |
9371 | ||
9372 | * remote-e7000.c (e7000_drain_command): Fix precedence problem with | |
9373 | '=' and '!='. | |
9374 | * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem | |
9375 | with '&' and '=='. | |
9376 | (angel_RDI_info): Ditto. | |
9377 | * infttrace.c (threads_continue_all_but_one): Fix precedence problem | |
9378 | with '&' and '!='. | |
9379 | (threads_continue_all_with_signals): Ditto. | |
8ffd9b1b | 9380 | |
4389a95a | 9381 | 2003-02-05 Jim Ingham <[email protected]> |
fbe586ae RH |
9382 | Keith Seitz <[email protected]> |
9383 | Elena Zannoni <[email protected]> | |
9384 | Andrew Cagney <[email protected]> | |
4389a95a AC |
9385 | |
9386 | * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". | |
9387 | (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". | |
9388 | (SUBDIR_MI_OBS): Add "mi-interp.o". | |
9389 | (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". | |
9390 | (SFILES): Add "interps.c". | |
9391 | (COMMON_OBS): Add "interps.o". | |
9392 | (interps_h, mi_main_h): Define. | |
9393 | (interps.o, cli-interp.o, mi-interp.o): Add dependencies. | |
9394 | (mi-main.o, main.o, event-top.o): Update dependencies. | |
9395 | * cli/cli-interp.c: New file. | |
9396 | * interps.h, interps.c: New files. | |
9397 | * top.c: (gdb_init): Don't install the default interpreter, handed | |
9398 | by captured_main. | |
9399 | * main.c: Include "interps.h". | |
9400 | (interpreter_p): Note that it should malloc'ed. | |
9401 | (captured_command_loop): Call current_interp_command_loop. | |
9402 | (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use | |
9403 | xfree and xstrdup when updating interpreter_p. Install the | |
9404 | default interpreter. Add hack to stop mi1's copyright notice | |
9405 | being encoded. | |
9406 | * event-top.h (gdb_setup_readline): Declare. | |
9407 | (gdb_disable_readline): Declare. | |
9408 | * event-top.c: Include "interps.h". | |
9409 | (display_gdb_prompt): Call current_interp_display_prompt_p. | |
9410 | (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, | |
9411 | gdb_stdlog, and gdb_stdtarg. | |
9412 | (_initialize_event_loop): Don't call gdb_setup_readline. | |
9413 | * cli-out.c (cli_out_set_stream): New function. | |
9414 | * cli-out.h (cli_out_set_stream): Declare. | |
9415 | ||
ff3b5810 MK |
9416 | 2003-02-06 Mark Kettenis <[email protected]> |
9417 | ||
9418 | * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*, | |
9419 | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all | |
9420 | handled fine by i[3456]86-*sco* and i[3456]86-sysv*. | |
9421 | * config/i386/i386sco5.mt, config/i386/i386v4.mt, | |
9422 | config/i386/i386v42mp.mt: Removed. | |
9423 | ||
5b729aa5 MK |
9424 | 2003-02-05 Mark Kettenis <[email protected]> |
9425 | ||
9426 | * configure.tgt (*-*-solaris*): Set gdb_osabi to | |
9427 | GDB_OSABI_SOLARIS. | |
9428 | ||
8cc15142 MC |
9429 | 2003-02-05 Michael Chastain <[email protected]> |
9430 | ||
9431 | * PROBLEMS (i[3456]86-*-linux*): Warn about binutils | |
9432 | 2.12.1 and earlier versions. | |
9433 | ||
5aa5d4b9 AC |
9434 | 2003-02-05 Andrew Cagney <[email protected]> |
9435 | ||
9436 | Remove orphaned hosts, targets and files. | |
9437 | * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. | |
9438 | * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. | |
9439 | * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. | |
9440 | * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. | |
9441 | * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. | |
9442 | * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. | |
9443 | * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. | |
9444 | * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. | |
9445 | * config/sparc/tm-sp64sim.h: Delete. | |
9446 | * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* | |
9447 | hosts. | |
9448 | * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and | |
9449 | mips*-dec-mach3* targets. | |
9450 | ||
b68767c1 MC |
9451 | 2003-02-04 Michael Chastain <[email protected]> |
9452 | ||
9453 | * NEWS: Fix typo: sepcifying -> specifying. | |
9454 | ||
5ae7ca1d MC |
9455 | 2003-02-04 Michael Chastain <[email protected]> |
9456 | ||
9457 | * dwarfread.c: Add documentation on the state of dwarf-1, | |
9458 | looking towards obsoletion. | |
9459 | ||
d08a4280 MC |
9460 | 2003-02-03 Michael Chastain <[email protected]> |
9461 | ||
9462 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, | |
9463 | gdb/testsuite/gdb.c++/pr-1023.exp. | |
9464 | ||
e9be73e4 AC |
9465 | 2003-02-04 Andrew Cagney <[email protected]> |
9466 | ||
9467 | * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. | |
9468 | * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. | |
9469 | ||
9470 | * utils.c (init_page_info): Delete reference to MPW in comments. | |
9471 | * main.c (captured_main): Delete #ifdef MPW. | |
9472 | ||
05d57f6f AC |
9473 | 2003-02-04 Andrew Cagney <[email protected]> |
9474 | ||
8ffd9b1b | 9475 | * NEWS: Note that the m32r-*-elf* is obsolete. |
05d57f6f AC |
9476 | * monitor.c (monitor_expect): Obsolete reference to m32r. |
9477 | * configure.tgt: Mark m32r-*-elf* as obsolete. | |
9478 | * MAINTAINERS: Mark m32k as obsolete. | |
9479 | * m32r-rom.c: Obsolete file. | |
9480 | * config/m32r/m32r.mt: Obsolete file. | |
9481 | * config/m32r/tm-m32r.h: Obsolete file. | |
9482 | * m32r-stub.c: Obsolete file. | |
9483 | * m32r-tdep.c: Obsolete file. | |
9484 | ||
8b0e5691 AC |
9485 | 2003-02-04 Andrew Cagney <[email protected]> |
9486 | ||
9487 | * NEWS: Mention that the z8k-zilog-none is obsolete. | |
9488 | * MAINTAINERS: Mark z8k as obsolete. | |
9489 | * configure.tgt: Obsolete the z8k-*-coff* target. | |
9490 | * config/z8k/z8k.mt: Obsolete file. | |
9491 | * config/z8k/tm-z8k.h: Obsolete file. | |
9492 | * z8k-tdep.c: Obsolete file. | |
9493 | ||
67f16606 AC |
9494 | 2003-02-04 Andrew Cagney <[email protected]> |
9495 | ||
9496 | * NEWS: Mention that the mn10200-elf is obsolete. | |
9497 | * configure.tgt: Obsolete mn10200-*-* target. | |
9498 | * breakpoint.c (update_breakpoints_after_exec): Update comment to | |
9499 | mention that the mn10200 is obsolete. | |
9500 | * breakpoint.h: Ditto. | |
9501 | * MAINTAINERS: Mark the mn10200-elf as obsolete. | |
9502 | * config/mn10200/mn10200.mt: Obsolete file. | |
9503 | * config/mn10200/tm-mn10200.h: Obsolete file. | |
9504 | * mn10200-tdep.c: Obsolete file. | |
9505 | ||
fd2299bd AC |
9506 | 2003-02-04 Andrew Cagney <[email protected]> |
9507 | ||
9508 | * MAINTAINERS: Mark h8500 as obsolete. | |
9509 | * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. | |
9510 | * findvar.c (value_from_register): Ditto. | |
9511 | * h8500-tdep.c: Mark file as obsolete. | |
9512 | * config/h8500/h8500.mt: Ditto. | |
9513 | * config/h8500/tm-h8500.h: Ditto. | |
9514 | * NEWS: Mention that h8500 is obsolete. | |
9515 | ||
eb9a305d DC |
9516 | 2003-02-04 David Carlton <[email protected]> |
9517 | ||
9518 | * objfiles.c (allocate_objfile): Always set name. Add comment at | |
9519 | start of function. | |
9520 | * jv-lang.c (get_dynamics_objfile): Add comment. | |
9521 | ||
406fc7fb DC |
9522 | 2003-02-04 David Carlton <[email protected]> |
9523 | ||
9524 | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. | |
9525 | * printcmd.c (build_address_symbolic): Replace uses of | |
9526 | SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, | |
9527 | SYMBOL_NAME, and asm_demangle. | |
9528 | Update copyright. | |
9529 | ||
93d91629 DC |
9530 | 2003-02-04 David Carlton <[email protected]> |
9531 | ||
9532 | * linespec.c (decode_compound): Extract code into | |
9533 | lookup_prefix_sym. | |
9534 | (lookup_prefix_sym): New function. | |
9535 | ||
1c5cb38e DC |
9536 | 2003-02-04 David Carlton <[email protected]> |
9537 | ||
9538 | * gdbtypes.h: Delete INTEGER_COERCION_BADNESS, | |
9539 | FLOAT_COERCION_BADNESS. | |
9540 | * gdbtypes.c (rank_one_type): Replace all uses of | |
9541 | INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS. | |
9542 | ||
0cf824c9 JB |
9543 | 2003-02-04 Jim Blandy <[email protected]> |
9544 | ||
9545 | * dwarf2read.c (dwarf2_locate_sections): When we find a macro info | |
9546 | section, let dwarf_macinfo_section point to it, not | |
9547 | dwarf_loc_section. | |
9548 | ||
a2d356b0 DJ |
9549 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
9550 | ||
9551 | Pointed out by Anton Blanchard <[email protected]>. | |
9552 | * ppc-linux-tdep.c (insn_is_sigreturn): New function. | |
9553 | (ppc_linux_at_sigtramp_return_path): Use it. | |
9554 | ||
2de7ced7 DJ |
9555 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
9556 | ||
9557 | * defs.h (streq): Add prototype. | |
9558 | * utils.c (streq): New function. | |
9559 | ||
9560 | * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of | |
9561 | SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. | |
9562 | * mdebugread.c (new_symbol): Likewise. | |
9563 | * stabsread.c (define_symbol): Likewise. | |
9564 | * coffread.c (process_coff_symbol): Likewise. | |
9565 | * dwarfread.c (new_symbol): Likewise. | |
9566 | ||
9567 | * minsyms.c (prim_record_minimal_symbol_and_info): Use | |
9568 | SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language | |
9569 | here. | |
9570 | (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call | |
9571 | SYMBOL_INIT_DEMANGLED_NAME. | |
9572 | * objfiles.c: Include "hashtab.h". | |
9573 | (allocate_objfile): Call htab_set_functions_ex for the | |
9574 | demangled_names_hash. | |
9575 | (free_objfile): Call htab_delete for the demangled_names_hash. | |
9576 | * objfiles.h (struct htab): Add declaration. | |
9577 | (struct objfile): Add demangled_names_hash. | |
9578 | * symfile.c: Include "hashtab.h". | |
9579 | (reread_symbols): Call htab_delete for the demangled_names_hash. | |
9580 | (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting | |
9581 | SYMBOL_NAME in the bcache. | |
9582 | * symtab.c: Include "hashtab.h". Update comments. | |
9583 | (create_demangled_names_hash, symbol_set_names): New functions. | |
9584 | (symbol_find_demangled_name): New function, broken out from | |
9585 | symbol_init_demangled_names. | |
9586 | (symbol_init_demangled_names): Use it. | |
9587 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. | |
9588 | (SYMBOL_SET_NAMES): New macro. | |
9589 | (symbol_set_names): Add prototype. | |
9590 | ||
15831452 JB |
9591 | 2003-02-03 Jim Blandy <[email protected]> |
9592 | ||
9593 | Use a single, consistent representation for an empty minimal | |
9594 | symbol table in an objfile. | |
9595 | * objfiles.c (terminate_minimal_symbol_table): New function. | |
9596 | (allocate_objfile): Call it. | |
9597 | * objfiles.h (terminate_minimal_symbol_table): New declaration. | |
9598 | (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is | |
8ffd9b1b | 9599 | non-NULL. |
15831452 JB |
9600 | * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether |
9601 | objfile has minimal symbols, compare minimal_symbol_count to zero, | |
9602 | instead of comparing msymbols with NULL. | |
9603 | * objfiles.c (have_minimal_symbols): Same. | |
9604 | * solib-sunos.c (solib_add_common_symbols): Call | |
9605 | terminate_minimal_symbol_table. | |
9606 | * symfile.c (reread_symbols): Same. | |
8ffd9b1b | 9607 | |
ffc65945 KB |
9608 | 2003-02-03 Kevin Buettner <[email protected]> |
9609 | ||
9610 | * s390-tdep.c (s390_address_class_type_flags) | |
9611 | (s390_address_class_type_flags_to_name) | |
9612 | (s390_address_class_name_to_type_flags): New functions. | |
9613 | (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, | |
9614 | ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS. | |
9615 | ||
f211c6d4 MS |
9616 | 2003-02-03 Michael Snyder <[email protected]> |
9617 | ||
9618 | * arm-tdep.c: Fix spell-o in comment. | |
9619 | ||
659b0389 ML |
9620 | 2003-02-03 Michal Ludvig <[email protected]> |
9621 | ||
9622 | * dwarf2cfi.c (pointer_encoding): Added new parameter. | |
9623 | * dwarf2cfi.c, dwarf2read.c: Changed all warnings and | |
8ffd9b1b | 9624 | error messages to contain BFD filename. |
659b0389 | 9625 | |
3b31d625 EZ |
9626 | 2003-02-02 Elena Zannoni <[email protected]> |
9627 | ||
997b089a | 9628 | Fix PR gdb/742 gdb/743 gdb/877 |
3b31d625 EZ |
9629 | * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. |
9630 | (do_mixed_source_and_assembly): Use | |
9631 | make_cleanup_ui_out_tuple_begin_end and | |
9632 | make_cleanup_ui_out_tuple_begin_end. | |
9633 | (do_mixed_source_and_assembly): Ditto. | |
9634 | * thread.c (do_captured_list_thread_ids): Ditto. | |
9635 | * ui-out.h (ui_out_table_begin, ui_out_list_begin, | |
9636 | ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, | |
9637 | ui_out_tuple_end): Delete prototypes. | |
9638 | * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, | |
9639 | ui_out_list_end, ui_out_tuple_end): Delete. | |
9640 | ||
9641 | From Kevin Buettner <[email protected]>: | |
9642 | * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. | |
fbe586ae RH |
9643 | * ui-out.c (make_cleanup_ui_out_table_begin_end) |
9644 | (do_cleanup_table_end): New functions. | |
9645 | * breakpoint.c (print_it_typical, print_one_breakpoint, mention): | |
9646 | Use cleanups to invoke_ui_out_tuple_end(). | |
9647 | (breakpoint_1): Use cleanup to invoke ui_out_table_end(). | |
3b31d625 EZ |
9648 | * cli/cli-setshow.c (cmd_show_list): Use |
9649 | make_cleanup_ui_out_tuple_begin_end. | |
8ffd9b1b | 9650 | |
5b181d62 AC |
9651 | 2003-02-02 Andrew Cagney <[email protected]> |
9652 | ||
9653 | * frame.c (frame_unwind_register): New function. | |
9654 | (frame_unwind_unsigned_register): Use. | |
9655 | (frame_unwind_signed_register): Use. | |
9656 | (frame_read_register): New function. | |
9657 | * frame.h (frame_unwind_register): Declare. | |
9658 | (frame_read_register): Declare. | |
9659 | ||
9660 | * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write | |
9661 | and frame_unwind_register instead of read_memory, write_register | |
9662 | and deprecated_write_register_bytes. | |
9663 | ||
5f601589 AC |
9664 | 2003-02-02 Andrew Cagney <[email protected]> |
9665 | ||
9666 | * frame.h: Note that namelen can be negative. | |
9667 | * frame.c (frame_map_name_to_regnum): When LEN is negative, use | |
9668 | NAME's length. | |
9669 | ||
9670 | * NEWS: Mention that the d10v's `regs' command is deprecated. | |
9671 | * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. | |
9672 | (d10v_print_registers_info): New function. | |
9673 | (show_regs): Call d10v_print_registers_info. | |
9674 | (_initialize_d10v_tdep): Mark "show regs" command as deprecated. | |
9675 | ||
6a3fe0a4 MK |
9676 | 2003-02-02 Mark Kettenis <[email protected]> |
9677 | ||
9678 | * stack.c (print_frame_info): Restore call to annotate_frame_begin | |
9679 | lost in the previous patch. | |
9680 | ||
075559bc AC |
9681 | 2003-02-01 Andrew Cagney <[email protected]> |
9682 | ||
9683 | From 2002-11-09 Jason Molenda ([email protected]) | |
fbe586ae RH |
9684 | * stack.c (print_frame_info_base): Output complete FRAME tuple |
9685 | for synthesized frames. | |
075559bc | 9686 | |
6789195b AC |
9687 | 2003-02-02 Andrew Cagney <[email protected]> |
9688 | ||
9689 | * mips-nat.c (zerobuf): Delete. | |
9690 | (fetch_inferior_registers): Alloc local zerobuf. | |
9691 | (fetch_core_registers): Alloc local zerobuf. | |
9692 | * d10v-tdep.c (show_regs): Don't allocate a dynamic array using | |
9693 | MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. | |
9694 | * thread-db.c (thread_db_store_registers): Ditto. | |
9695 | * sh-tdep.c (sh_do_register): Ditto. | |
9696 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
9697 | * remote-sim.c (gdbsim_store_register): Ditto. | |
9698 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
9699 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
9700 | * monitor.c (monitor_supply_register): Ditto. | |
9701 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
9702 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
9703 | * m68klinux-nat.c (fetch_register): Ditto. | |
9704 | * lynx-nat.c (fetch_inferior_registers): Ditto. | |
9705 | (fetch_inferior_registers): Ditto. | |
9706 | * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
9707 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
9708 | (hpux_thread_store_registers): Ditto. | |
9709 | * hppah-nat.c (fetch_register): Ditto. | |
9710 | * hppab-nat.c (fetch_register): Ditto. | |
9711 | * hppa-tdep.c (pa_register_look_aside): Ditto. | |
9712 | (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. | |
9713 | * dve3900-rom.c (fetch_bitmapped_register): Ditto. | |
9714 | ||
e669114a AC |
9715 | 2003-02-01 Andrew Cagney <[email protected]> |
9716 | ||
9717 | * gdbarch.sh: Explictly specify all method levels. When a | |
9718 | variable with an empty level, provide a non-multi-arch default. | |
9719 | (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. | |
9720 | * gdbarch.h: Re-generate. | |
9721 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. | |
9722 | * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1 | |
9723 | ||
9a043c1d AC |
9724 | 2003-02-01 Andrew Cagney <[email protected]> |
9725 | ||
9726 | * defs.h (host_pointer_to_address): Delete declaration. | |
9727 | (address_to_host_pointer): Delete declaration. | |
9728 | * utils.c (host_pointer_to_address): Delete function. | |
9729 | (address_to_host_pointer): Delete function. | |
9730 | * procfs.c (procfs_address_to_host_pointer): New function. | |
9731 | * procfs.c (proc_set_watchpoint): Use. | |
9732 | (procfs_can_use_hw_breakpoint): Update comments. | |
9733 | * somsolib.c (hpux_address_to_host_pointer_hack): New function. | |
9734 | (som_solib_add): Use. | |
9735 | * hppa-tdep.c (hppa_pointer_to_address_hack): New function. | |
9736 | * hppa-tdep.c (unwind_command): Use. | |
8ffd9b1b | 9737 | |
7ca9f392 AC |
9738 | 2003-02-01 Andrew Cagney <[email protected]> |
9739 | ||
94bbfd30 AC |
9740 | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and |
9741 | strlen d_name. | |
9742 | ||
7ca9f392 AC |
9743 | * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, |
9744 | ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. | |
9745 | (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. | |
9746 | * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. | |
9747 | (define_symbol): Update. | |
9748 | * symfile.c (generic_load): Remove references to nindy. | |
9749 | * symtab.c: Remove references to nindy. | |
9750 | ||
31a85ea2 AC |
9751 | 2003-02-01 Andrew Cagney <[email protected]> |
9752 | ||
9753 | * infcmd.c (print_float_info): Delete code conditional on | |
9754 | FLOAT_INFO. | |
9755 | * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. | |
9756 | * config/m68k/nm-apollo68b.h: Ditto. | |
9757 | * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. | |
9758 | * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. | |
9759 | * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. | |
9760 | ||
f6e85fc8 MK |
9761 | 2003-02-01 Mark Kettenis <[email protected]> |
9762 | ||
6015b6a0 MK |
9763 | * config/i386/tm-i386os9k.h: Removed. |
9764 | ||
f7a30bdf MK |
9765 | * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v. |
9766 | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since | |
9767 | they're identical to i[3456]86-*-sysv* now. | |
9768 | * config/i386/i386v32.mh: Removed. | |
9769 | * config/i386/xm-i386v32.h: Removed. | |
9770 | * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro. | |
9771 | ||
28d52111 MK |
9772 | * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed. |
9773 | ||
4d3f6bce MK |
9774 | * config/i386/i386dgux.mh: Removed. |
9775 | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4. | |
9776 | ||
f6e85fc8 MK |
9777 | * configure.in: Fix typo. |
9778 | * configure: Regenerated. | |
9779 | ||
53955967 DC |
9780 | 2003-01-31 David Carlton <[email protected]> |
9781 | ||
9782 | * dwarf2read.c (dwarf2_locate_sections): Set | |
9783 | dwarf_ranges_section. | |
9784 | ||
b1364885 AC |
9785 | 2003-01-31 Andrew Cagney <[email protected]> |
9786 | ||
8dbb1c65 AC |
9787 | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. |
9788 | * utils.c: Update comments documenting legitimate uses of PTR. | |
8ffd9b1b | 9789 | |
8731e58e AC |
9790 | * utils.c: Re-indent. |
9791 | ||
b1364885 AC |
9792 | * config/djgpp/fnchange.lst: Delete nindy files. |
9793 | * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. | |
9794 | * nindy-share/nindy.c, nindy-share/env.h: Delete files. | |
9795 | * nindy-share/coff.h, nindy-share/block_io.h: Delete files. | |
9796 | * nindy-share/b.out.h, nindy-share/VERSION: Delete files. | |
9797 | * nindy-share/README, nindy-share/Onindy.c: Delete files. | |
9798 | * nindy-tdep.c, nindy-share/Makefile: Delete files. | |
9799 | * Makefile.in (init.c): Remove nindy references. | |
9800 | (saber_gdb): Delete rule. | |
9801 | (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, | |
9802 | nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, | |
9803 | and a68v-nat.c. | |
9804 | (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. | |
9805 | (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. | |
9806 | (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, | |
9807 | nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and | |
9808 | nindy-share/stop.h. | |
9809 | * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. | |
9810 | * saber.suppress: Delete file. | |
9811 | ||
086df311 DJ |
9812 | 2003-01-31 Daniel Jacobowitz <[email protected]> |
9813 | ||
9814 | * dbxread.c (stabs_data): New static variable. | |
9815 | (fill_symbuf): Support an in-memory buffer for stabs data. | |
9816 | (stabs_seek): New function. | |
9817 | (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. | |
9818 | (read_ofile_symtab): Use stabs_seek. | |
9819 | (elfstab_build_psymtabs): Take an asection* instead of | |
9820 | an offset and size. Relocate the stabs data if necessary. | |
9821 | Save the section* for dbx_psymtab_to_symtab. | |
9822 | * dwarf2read.c: Add section variables for each debug section. | |
9823 | (dwarf2_locate_sections): Fill them in. | |
9824 | (dwarf2_read_section): Take an asection* argument. | |
9825 | Relocate the section contents if necessary. | |
9826 | (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. | |
9827 | * dwarf2cfi.c (parse_frame_info): Take a section argument and pass | |
9828 | it to dwarf2_read_section. | |
9829 | (dwarf2_build_frame_info): Update callers. | |
9830 | * elfread.c (elf_symfile_read): Update call to | |
9831 | elfstab_build_psymtabs. | |
9832 | * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. | |
9833 | (DBX_STAB_SECTION): New macro. | |
8ffd9b1b | 9834 | * stabsread.h (elfstab_build_psymtabs): Update prototype. |
086df311 DJ |
9835 | * symfile.c (symfile_dummy_outputs): New function. |
9836 | (symfile_relocate_debug_section): New function. | |
9837 | * symfile.h (symfile_relocate_debug_section): Add prototype. | |
9838 | ||
87d1b352 RH |
9839 | 2003-01-31 Richard Henderson <[email protected]> |
9840 | ||
9841 | * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ... | |
9842 | (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. | |
9843 | (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. | |
9844 | * alpha-tdep.c (alpha_register_name): Add "unique". | |
9845 | * alpha-tdep.h (ALPHA_NUM_REGS): Increment. | |
9846 | (ALPHA_UNIQUE_REGNUM): New. | |
9847 | * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New. | |
9848 | ||
c48861fb AC |
9849 | 2003-01-31 Andrew Cagney <[email protected]> |
9850 | ||
9851 | * README: Remove reference to Ericsson 1800 monitor. | |
9852 | * Makefile.in (remote-es.o): Delete rule. | |
9853 | (ALLDEPFILES): Delete remote-es.c. | |
9854 | * remote-es.c: Delete file. | |
9855 | * config/m68k/es1800.mt: Delete file. | |
9856 | * config/djgpp/fnchange.lst: Update. | |
9857 | * configure.tgt: Delete m68*-ericsson-* target. | |
9858 | ||
d764a824 AF |
9859 | 2003-01-31 Adam Fedor <[email protected]> |
9860 | ||
9861 | * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc. | |
9862 | Remove duplicate/shadowing variable of same name. | |
9863 | ||
fe36c4f4 JB |
9864 | 2003-01-30 Jim Blandy <[email protected]> |
9865 | ||
9866 | * symfile.c (find_separate_debug_file): Assert that the objfile's | |
9867 | directory name we compute ends with a slash, and then assume that | |
9868 | that's so everywhere we use it. | |
9869 | ||
cb741690 DJ |
9870 | 2003-01-30 Daniel Jacobowitz <[email protected]> |
9871 | ||
9872 | * valops.c (value_assign): Flush frame cache after stores to memory | |
9873 | also. | |
9874 | ||
96ee5227 AC |
9875 | 2003-01-30 Andrew Cagney <[email protected]> |
9876 | ||
9877 | * Makefile.in (mon960-rom.o): Delete rule. | |
9878 | * mon960-rom.c: Delete file. | |
9879 | ||
7f6104a9 AC |
9880 | 2003-01-30 Andrew Cagney <[email protected]> |
9881 | ||
9882 | * d10v-tdep.c: Include "frame-unwind.h". | |
9883 | (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate | |
9884 | list. | |
9885 | (next_addr, uses_frame): Delete. | |
9886 | (struct d10v_unwind_cache): Define. | |
9887 | (prologue_find_regs): Add struct d10v_unwind_cache info parameter. | |
9888 | Use info instead of next_addr and uses_frame globals. | |
9889 | (d10v_frame_init_saved_regs): Delete function. | |
9890 | (d10v_init_extra_frame_info): Delete function. | |
9891 | (d10v_gdbarch_init): Do not initialize init_extra_frame_info, | |
9892 | frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, | |
9893 | init_frame_pc or frame_saved_pc. | |
9894 | (d10v_pop_frame): Delete function. | |
9895 | (do_d10v_pop_frame): Delete function. | |
9896 | (d10v_frame_chain): Delete function. | |
9897 | (d10v_frame_chain_valid): Delete function. | |
9898 | (d10v_frame_pc_unwind): New function. | |
9899 | (d10v_frame_id_unwind): New function. | |
9900 | (saved_regs_unwinder): New function. | |
9901 | (d10v_frame_register_unwind): New function. | |
9902 | (d10v_frame_pop): New function. | |
9903 | (d10v_frame_unwind): New variable. | |
9904 | (d10v_frame_p): New function. | |
9905 | (d10v_frame_saved_pc): Delete function. | |
9906 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
9907 | ||
cad2e848 JB |
9908 | 2003-01-30 J. Brobecker <[email protected]> |
9909 | ||
9910 | * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef | |
9911 | causing some regressions due to a change in the default value | |
9912 | for this macro. | |
9913 | ||
af34e669 DJ |
9914 | 2003-01-29 Richard Henderson <[email protected]> |
9915 | Elena Zannoni <[email protected]> | |
9916 | Daniel Jacobowitz <[email protected]> | |
9917 | ||
9918 | Fix PR gdb/961. | |
8ffd9b1b | 9919 | * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New |
af34e669 DJ |
9920 | variables. |
9921 | (RANGES_SECTION): New. | |
9922 | (dwarf_ranges_buffer): New variable. | |
9923 | (struct comp_unit_head): Add member "die". | |
9924 | (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. | |
9925 | (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. | |
9926 | (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. | |
9927 | (dwarf2_locate_sections): Likewise. | |
9928 | (dwarf2_build_psymtabs): Read .debug_ranges. | |
9929 | (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. | |
9930 | (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. | |
9931 | (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. | |
9932 | Look for DW_AT_ranges and return the bounding box. | |
9933 | ||
baa93fa6 CF |
9934 | 2003-01-29 Brian Ford <[email protected]> |
9935 | ||
9936 | * win32-nat.c (cygwin_pid): Removed as unused. | |
9937 | (child_attach): Try fall back to Cygwin pid. | |
9938 | ||
c63f977f JB |
9939 | 2003-01-29 Jim Blandy <[email protected]> |
9940 | ||
9941 | * objfiles.h (struct objfile): Doc fix. | |
9942 | ||
d62d1979 AC |
9943 | 2003-01-29 Andrew Cagney <[email protected]> |
9944 | ||
9945 | * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. | |
9946 | (legacy_get_prev_frame): Assert FRAME_CHAIN_P. | |
9947 | (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. | |
9948 | (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. | |
9949 | * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. | |
9950 | (FRAME_SAVED_PC): Change to a function with predicate. | |
9951 | * gdbarch.h, gdbarch.c: Re-generate. | |
9952 | ||
1ae18a04 AC |
9953 | 2003-01-28 Andrew Cagney <[email protected]> |
9954 | ||
52287340 AC |
9955 | * hppah-nat.c (child_pid_to_exec_file): Don't use boolean. |
9956 | ||
1ae18a04 AC |
9957 | * complaints.c (complain): Delete function. |
9958 | * complaints.h (struct deprecated_complaint): Delete definition. | |
9959 | (complain): Delete declaration. | |
9960 | ||
f2c16bd6 KB |
9961 | 2003-01-28 Kevin Buettner <[email protected]> |
9962 | ||
9963 | * mips-tdep.c (mips_init_extra_frame_info): Return early for | |
9964 | dummy frames. | |
9965 | ||
a94dd1fd AC |
9966 | 2003-01-27 Andrew Cagney <[email protected]> |
9967 | ||
9968 | * sentinel-frame.h, sentinel-frame.c: New files. | |
9969 | * Makefile.in (frame.o): Update dependencies. | |
9970 | (SFILES): Add sentinel-frame.c. | |
9971 | (sentinel_frame_h): Define. | |
9972 | (COMMON_OBS): Add sentinel-frame.o. | |
9973 | (sentinel-frame.o): Specify dependencies. | |
9974 | * frame.c: Include "sentinel-frame.h". | |
9975 | (frame_register_unwind): Rewrite assuming that there is always a a | |
9976 | ->next frame. | |
9977 | (frame_register, generic_unwind_get_saved_register): Ditto. | |
9978 | (frame_read_unsigned_register, frame_read_signed_register): Ditto. | |
9979 | (create_sentinel_frame, unwind_to_current_frame): New functions. | |
9980 | (get_current_frame): Rewrite using create_sentinel_frame and | |
9981 | unwind_to_current_frame. When possible, always create a frame. | |
9982 | (create_new_frame): Set next to the sentinel frame. | |
9983 | (get_next_frame): Rewrite. Don't go below the level 0 frame. | |
9984 | (deprecated_update_frame_pc_hack): Update the next frame's PC and | |
9985 | ID cache when necessary. | |
9986 | (frame_saved_regs_id_unwind): Use frame_relative_level. | |
9987 | (deprecated_generic_get_saved_register): Use frame_relative_level, | |
9988 | get_frame_saved_regs, get_frame_pc, get_frame_base and | |
9989 | get_next_frame. | |
9990 | (frame_saved_regs_register_unwind): Use get_frame_saved_regs and | |
9991 | frame_register. | |
9992 | ||
5378adc4 DJ |
9993 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
9994 | ||
9995 | * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments. | |
9996 | ||
51ee2ddc DJ |
9997 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
9998 | ||
9999 | * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] | |
10000 | (maintenance_set_profile_cmd): Use error () instead of warning (). | |
10001 | ||
d9feb4e7 DJ |
10002 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
10003 | ||
10004 | * configure.in: Check that -pg works if using --enable-profiling. | |
10005 | Check for monstartup and _mcleanup regardless of --enable-profiling. | |
10006 | * maint.c: Check for monstartup and _mcleanup before using them. | |
10007 | * config.in: Regenerated. | |
10008 | * configure: Regenerated. | |
10009 | ||
2d188dd3 NC |
10010 | 2003-01-24 Nick Clifton <[email protected]> |
10011 | ||
10012 | * Add sh2e support: | |
10013 | ||
10014 | 2002-04-02 Elena Zannoni <[email protected]> | |
10015 | ||
10016 | * gdb/sh-tdep.c (sh_sh2e_register_name): New. | |
10017 | (sh2e_show_regs): New. | |
10018 | (sh_gdbarch_init): Handle bfd_mach_sh2e. | |
10019 | * config/sh/tm-sh.h: Added sh2e to comments. | |
10020 | ||
cb3c37b2 JB |
10021 | 2003-01-23 Jim Blandy <[email protected]> |
10022 | ||
10023 | * symfile.c (syms_from_objfile): Don't print the "(no debugging | |
10024 | symbols found)" message here; we haven't checked for a separate | |
10025 | debug info file yet, so we don't know yet. | |
10026 | (symbol_file_add_with_addrs_or_offsets): Print it here, after | |
10027 | we've looked everywhere. Also, there's no need to print a special | |
10028 | message when we're loading the separate debug info file: the one | |
10029 | symbol_file_add prints is fine. | |
10030 | ||
5b5d99cf JB |
10031 | 2003-01-23 Alexander Larsson <[email protected]> |
10032 | Jim Blandy <[email protected]> | |
10033 | ||
10034 | Add support for executables whose debug info has been separated | |
10035 | out into a separate file, leaving only a link behind. | |
10036 | * objfiles.h (struct objfile): New fields: separate_debug_objfile | |
10037 | and separate_debug_objfile_backlink. | |
10038 | (put_objfile_before): New declaration. | |
10039 | * symfile.c: #include "filenames.h". | |
10040 | (symbol_file_add_with_addrs_or_offsets): If this objfile has its | |
10041 | debug info in a separate file, read that, too. Save the addrs | |
10042 | argument, so we can use it again to read the separated debug info; | |
10043 | syms_from_objfile modifies the table we pass it. | |
10044 | (reread_symbols): After re-reading an objfile, call | |
10045 | reread_separate_symbols to refresh its separate debug info | |
10046 | objfile, if it has one. | |
10047 | (reread_separate_symbols, find_separate_debug_file, | |
10048 | get_debug_link_info, separate_debug_file_exists): New functions. | |
10049 | (debug_file_directory): New global var. | |
10050 | (_initialize_symfile): Initialize debug_file_directory, and | |
10051 | provide the new `set debug-file-directory' command to let the user | |
10052 | change it. | |
10053 | * objfiles.c (free_objfile): If this objfile has its debug info in | |
10054 | a separate objfile, free that one too. If this is itself a | |
10055 | separate debug info objfile, clear our parent's backlink. | |
10056 | (put_objfile_before): New function. | |
10057 | * utils.c (gnu_debuglink_crc32): New function. | |
10058 | * defs.h (gnu_debuglink_crc32): New declaration. | |
10059 | * Makefile.in (symfile.o): Note dependency on "filenames.h". | |
10060 | * configure.in: Handle --with-separate-debug-dir config option. | |
10061 | * acinclude.m4 (AC_DEFINE_DIR): New macro. | |
10062 | * acconfig.h (DEBUGDIR): New macro. | |
10063 | * configure, aclocal.m4, config.in: Regenerated. | |
10064 | ||
7e8580c1 JB |
10065 | 2003-01-22 Jim Blandy <[email protected]> |
10066 | ||
7904e09f JB |
10067 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New function, |
10068 | like the old symbol_file_add, but taking new arguments: you can | |
10069 | now pass in either a `struct section_addr_info' list to say where | |
10070 | each section is loaded, or a `struct section_offsets' table. Pass | |
10071 | these new arguments through to syms_from_objfile as appropriate. | |
8ffd9b1b | 10072 | (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, |
7904e09f JB |
10073 | with the appropriate quiescent values for the new arguments. |
10074 | ||
7e8580c1 JB |
10075 | * symfile.c: #include "gdb_assert.h". |
10076 | (syms_from_objfile): Add the ability to pass in a section offset | |
10077 | table directly, as an alternative to the section_addr_info table. | |
10078 | Document arguments better. | |
10079 | (symbol_file_add): Pass extra arguments to syms_from_objfile. | |
10080 | * symfile.h (syms_from_objfile): Update declaration. | |
10081 | * rs6000-nat.c (objfile_symbol_add): Pass new arguments to | |
10082 | syms_from_objfile. | |
10083 | * Makefile.in (symfile.o): List dependency on $(gdb_assert_h). | |
10084 | ||
d28f9cdf DJ |
10085 | 2003-01-22 Daniel Jacobowitz <[email protected]> |
10086 | ||
10087 | Original patch by Tom Tromey <[email protected]> and | |
10088 | Jason Molenda <[email protected]>. | |
10089 | * Makefile.in (PROFILE_CFLAGS): Substitute from configure. | |
10090 | (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. | |
10091 | * NEWS: Mention profiling. | |
10092 | * configure.in (--enable-gdbtk): Fix typo. | |
10093 | (--enable-profiling): New. Set PROFILE_CFLAGS. | |
10094 | * maint.c (maintenance_set_profile_cmd): Remove NOTYET. | |
10095 | Fill in function. | |
10096 | (profiling_state): New variable. | |
10097 | (mcleanup_wrapper): New function. | |
10098 | (_initialize_maint): Remove NOTYET, fix call to | |
10099 | add_setshow_boolean_cmd for "maint set profile". | |
10100 | * configure: Regenerated. | |
10101 | ||
df21e465 MH |
10102 | 2003-01-21 Martin M. Hunt <[email protected]> |
10103 | ||
10104 | * Makefile.in (install-gdbtk): Install PNG images too. | |
10105 | ||
73c1f219 AC |
10106 | 2003-01-21 Andrew Cagney <[email protected]> |
10107 | ||
10108 | * exec.c (text_start): Delete global variable. | |
10109 | (exec_file_attach): Make text_start local to the function. | |
10110 | * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. | |
10111 | * valops.c (hand_function_call): Delete code that handles | |
10112 | BEFORE_TEXT_END and AFTER_TEXT_END. | |
10113 | * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead | |
10114 | of CALL_DUMMY_LOCATION. | |
10115 | * gdbarch.c: Regenerate. | |
10116 | * inferior.h (deprecated_pc_in_call_dummy_before_text_end) | |
10117 | (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. | |
10118 | * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) | |
10119 | (deprecated_pc_in_call_dummy_after_text_end): Delete functions. | |
10120 | (text_end): Delete extern declaration. | |
10121 | ||
eb4f72c5 AC |
10122 | 2003-01-21 Andrew Cagney <[email protected]> |
10123 | ||
10124 | * frame.h (FRAME_OBSTACK_ZALLOC): Define. | |
10125 | * blockframe.c (backtrace_below_main): Move to "frame.c". | |
10126 | (frame_chain_valid): Delete check for backtrace_below_main. | |
10127 | (_initialize_blockframe): Delete initialization, move ``set | |
10128 | backtrace-below-main'' command to "frame.c". | |
10129 | (do_flush_frames_sfunc): Delete function. | |
10130 | * frame.c: Include "command.h" and "gdbcmd.h". | |
10131 | (frame_type_from_pc): New function. | |
10132 | (create_new_frame): Use frame_type_from_pc. | |
10133 | (legacy_get_prev_frame): New function. | |
10134 | (get_prev_frame): Rewrite. When an old style frame, call | |
10135 | legacy_get_prev_frame. Otherwize, unwind the PC first. | |
10136 | (_initialize_frame): Add ``set backtrace-below-main'' command. | |
10137 | * Makefile.in (frame.o): Update dependencies. | |
10138 | ||
778ce8cc AC |
10139 | 2003-01-19 Andrew Cagney <[email protected]> |
10140 | ||
10141 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename | |
10142 | DEPRECATED_REGISTERS_INFO. | |
10143 | ||
01c193c8 AC |
10144 | 2003-01-19 Andrew Cagney <[email protected]> |
10145 | ||
10146 | * MAINTAINERS: Replace `Blanket Write Privs' with `Global | |
10147 | Maintainers'. Update `Various Maintainers'. | |
10148 | ||
dedc2a2b AC |
10149 | 2003-01-19 Andrew Cagney <[email protected]> |
10150 | ||
10151 | * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. | |
10152 | * gdbarch.sh (POP_FRAME): Change to function with predicate. | |
10153 | Suppress actual parameters when `-'. | |
10154 | * gdbarch.h, gdbarch.c: Regenerate. | |
10155 | ||
b7261c70 AC |
10156 | 2003-01-19 Andrew Cagney <[email protected]> |
10157 | ||
10158 | * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore | |
10159 | code handling dummy frames. | |
10160 | ||
dbe9fe58 AC |
10161 | 2003-01-19 Andrew Cagney <[email protected]> |
10162 | ||
10163 | * frame-unwind.h (frame_unwind_pop_ftype): Declare. | |
10164 | (struct frame_unwind): Add field pop. | |
10165 | * frame.h (frame_pop): Declare. | |
10166 | * frame.c (frame_saved_regs_pop): New function. | |
10167 | (trad_frame_unwinder): Add frame_saved_regs_pop. | |
10168 | (frame_pop): New function. | |
10169 | * dummy-frame.c (dummy_frame_pop): New function. | |
10170 | (discard_innermost_dummy): New function. | |
10171 | (generic_pop_dummy_frame): Use discard_innermost_dummy. | |
10172 | (dummy_frame_unwind): Add dummy_frame_pop. | |
10173 | * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. | |
10174 | * valops.c (hand_function_call): Ditto. | |
10175 | * stack.c (return_command): Ditto. | |
10176 | ||
570b8f7c AC |
10177 | 2003-01-18 Andrew Cagney <[email protected]> |
10178 | ||
10179 | * cris-tdep.c: Fix function declaration indentation. | |
10180 | * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. | |
10181 | * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. | |
10182 | * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. | |
10183 | * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. | |
10184 | * xcoffread.c, config/pa/tm-hppa.h: Ditto. | |
10185 | * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto. | |
10186 | ||
10187 | 2003-01-18 Michael Chastain <[email protected]> | |
eaec4d85 MC |
10188 | |
10189 | * README (Unpacking and Installation -- quick overview): | |
10190 | Warn against ".../gdb-5.3/gdb/configure". | |
10191 | ||
494cca16 AC |
10192 | 2003-01-18 Andrew Cagney <[email protected]> |
10193 | ||
10194 | * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. | |
10195 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
10196 | (struct frame_unwind): Declare opaque. | |
10197 | (dummy_frame_p): Declare function. | |
10198 | * dummy-frame.c (dummy_frame_id_unwind): Make static. | |
10199 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
10200 | * dummy-frame.c: Include "frame-unwind.h". | |
10201 | (dummy_frame_p): New function. | |
10202 | (dummy_frame_unwind): New variable. | |
10203 | * frame.c: Include "frame-unwind.h". | |
10204 | (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update | |
10205 | to use the new unwind field. | |
10206 | (set_unwind_by_pc): Delete function. | |
10207 | (create_new_frame, get_prev_frame): Set unwind field using | |
10208 | frame_unwind_find_by_pc. | |
10209 | (trad_frame_unwind, trad_frame_unwinder): New variables. | |
10210 | * frame.h (trad_frame_unwind): Declare variable. | |
10211 | (frame_id_unwind_ftype): Delete declaration. | |
10212 | (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. | |
10213 | (struct frame_unwind): Declare opaque. | |
10214 | (struct frame_info): Replace the fields id_unwind, pc_unwind and | |
10215 | register_unwind with a single unwind pointer. | |
10216 | * frame-unwind.h, frame-unwind.c: New files. | |
10217 | * Makefile.in (SFILES): Add frame-unwind.c. | |
10218 | (frame_unwind_h): Define. | |
10219 | (COMMON_OBS): Add frame-unwind.o. | |
10220 | (frame-unwind.o): Specify dependencies. | |
10221 | (frame.o, dummy-frame.o): Update dependencies. | |
8ffd9b1b | 10222 | |
4efb68b1 AC |
10223 | 2003-01-18 Andrew Cagney <[email protected]> |
10224 | ||
10225 | * ada-valprint.c: Eliminate PTR. | |
10226 | * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. | |
10227 | * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. | |
10228 | * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. | |
10229 | * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. | |
10230 | * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. | |
10231 | * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. | |
10232 | * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. | |
8ffd9b1b | 10233 | |
a84d24ee AC |
10234 | 2003-01-17 Andrew Cagney <[email protected]> |
10235 | ||
762f08a3 AC |
10236 | * main.c (captured_main): Don't use PTR. |
10237 | * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. | |
10238 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
10239 | (lookup_struct_elt_type): Ditto. | |
10240 | * f-valprint.c (info_common_command): Ditto. | |
10241 | (list_all_visible_commons): Ditto. | |
10242 | * jv-typeprint.c (java_type_print_base): Ditto. | |
10243 | ||
a84d24ee AC |
10244 | * config/djgpp/fnchange.lst: Rename mi1-var-block.exp, |
10245 | mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. | |
10246 | Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename | |
10247 | i386-interix-nat.c and i386-interix-tdep.c. Rename | |
10248 | m68klinux-nat.c and m68klinux-tdep.c. Rename | |
10249 | config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename | |
10250 | bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename | |
10251 | gdb/objc-exp.tab.c and gdb/ada-exp.tab.c | |
10252 | * main.c (captured_main): Use xfree, not free. | |
10253 | ||
c170fb60 AC |
10254 | 2003-01-16 Andrew Cagney <[email protected]> |
10255 | ||
10256 | * frame.h (frame_id_unwind_ftype): Change type so that the frame's | |
10257 | ID back using a parameter. | |
10258 | * frame.c (frame_id_unwind): Update call. | |
10259 | (frame_saved_regs_id_unwind): Update. | |
10260 | * dummy-frame.c (dummy_frame_id_unwind): Update function. | |
10261 | * dummy-frame.h (struct frame_id): Add opaque declaration. | |
10262 | (dummy_frame_id_unwind): Update declaration. | |
10263 | ||
867f3898 AC |
10264 | 2003-01-15 Andrew Cagney <[email protected]> |
10265 | ||
10266 | * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. | |
10267 | ||
40622be8 | 10268 | 2003-01-15 Stephen P. Smith <[email protected]> |
de3a8c23 | 10269 | |
40622be8 | 10270 | * MAINTAINERS (Stephen P. Smith): Updated email address. |
de3a8c23 | 10271 | |
ae66c1fc EZ |
10272 | 2003-01-14 Elena Zannoni <[email protected]> |
10273 | ||
997b089a | 10274 | Fix PR gdb/898 |
ae66c1fc EZ |
10275 | * breakpoint.c (until_break_command): Add new argument. Use it to |
10276 | decide whether to stop only at the current frame or not. | |
10277 | * breakpoint.h (until_break_command): Update prototype. | |
8ffd9b1b | 10278 | * infcmd.c (until_command): Add new argument to until_break_command |
ae66c1fc EZ |
10279 | call. |
10280 | (advance_command): New function. | |
10281 | (_initialize_infcmd): Update help string for 'until' command. | |
10282 | Add new 'advance' command. | |
10283 | ||
a04257e6 DC |
10284 | 2003-01-14 David Carlton <[email protected]> |
10285 | ||
10286 | * linespec.c (decode_line_1): Normalize comments. | |
10287 | (set_flags): Ditto. | |
10288 | (locate_first_half): Ditto. | |
10289 | (decode_compound): Ditto. | |
10290 | (symtab_from_filename): Ditto. | |
10291 | (decode_all_digits): Ditto. | |
10292 | (decode_dollar): Ditto. | |
10293 | (find_methods): Ditto. | |
10294 | (find_toplevel_char): Ditto. | |
10295 | ||
1bac305b AC |
10296 | 2003-01-13 Andrew Cagney <[email protected]> |
10297 | ||
10298 | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. | |
10299 | * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. | |
10300 | * elfread.c, eval.c, expprint.c, expression.h: Update copyright. | |
10301 | * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. | |
10302 | * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. | |
10303 | * language.c, language.h, m32r-tdep.c: Update copyright. | |
10304 | * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. | |
10305 | * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. | |
10306 | * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. | |
10307 | * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. | |
10308 | * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. | |
10309 | * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. | |
10310 | ||
25caa7a8 EZ |
10311 | 2003-01-13 Elena Zannoni <[email protected]> |
10312 | ||
10313 | * stabsread.h (process_later, resolve_cfront_continuation): | |
10314 | Obsolete. | |
10315 | Update copyright years. | |
10316 | * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. | |
10317 | Update copyright year. | |
10318 | * dbxread.c(struct cont_elem): Obsolete. | |
8ffd9b1b | 10319 | (process_later, process_now): Obsolete functions. |
25caa7a8 EZ |
10320 | (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. |
10321 | Update copyright year. | |
10322 | * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. | |
10323 | (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions. | |
10324 | * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront. | |
10325 | (parse_partial_symbols): Obsolete cfront support. | |
10326 | * stabsread.c | |
10327 | (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete | |
10328 | macros. | |
10329 | (get_substring, get_cfront_method_physname, msg_unknown_complaint, | |
10330 | read_cfront_baseclasses, read_cfront_member_functions, | |
10331 | resolve_cfront_continuation,read_cfront_static_fields, | |
10332 | copy_cfront_struct_fields): Obsolete functions. | |
10333 | (define_symbol, read_one_struct_field): Obsolete cfront support. | |
10334 | * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support. | |
10335 | Update Copyright year. | |
10336 | ||
7789c6f5 EZ |
10337 | 2003-01-13 Elena Zannoni <[email protected]> |
10338 | ||
10339 | * stack.c (print_frame_info, print_stack_frame_base_stub, | |
10340 | print_stack_frame_base, show_and_print_stack_frame_stub, | |
10341 | show_and_print_stack_frame, print_only_stack_frame_stub, | |
10342 | print_only_stack_frame): Delete functions. | |
10343 | (print_stack_frame_stub): Call print_frame_info instead of | |
10344 | print_frame_info_base. | |
10345 | (print_frame_info_base): Rename to print_frame_info. | |
10346 | (backtrace_command_1): Call print_frame_info, instead of | |
10347 | print_frame_info_base. | |
10348 | (current_frame_command): Call print_stack_frame, instead of | |
10349 | print_only_stack_frame. | |
10350 | (frame_command): Call print_stack_frame, instead of | |
10351 | show_and_print_stack_frame. | |
10352 | (up_command): Ditto. | |
10353 | (down_command): Ditto. | |
10354 | * frame.h (print_only_stack_frame): Delete prototype. | |
10355 | * infrun.c (normal_stop): Call print_stack_frame, instead of | |
10356 | show_and_print_stack_frame. | |
10357 | * thread.c (info_threads_command): Call print_stack_frame, instead | |
10358 | of print_only_stack_frame. | |
10359 | ||
3f5a3016 AC |
10360 | 2003-01-13 Andrew Cagney <[email protected]> |
10361 | ||
d99ba314 AC |
10362 | * README (Graphical interface to GDB): Update URL. Point at |
10363 | gdb/links/. | |
10364 | ||
3f5a3016 AC |
10365 | * gdb_indent.sh: Update to version 2.2.9. Warn when not exact |
10366 | version match. | |
10367 | ||
083ae935 DJ |
10368 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
10369 | ||
10370 | * symtab.c (find_pc_sect_line): Don't consider end-of-function | |
10371 | lines. | |
10372 | ||
5365276c DJ |
10373 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
10374 | ||
10375 | * thread-db.c (attach_thread): Prototype. | |
10376 | (struct private_thread_info): Remove lwpid. Add thread handle (th), | |
10377 | thread information (ti), and valid flags (th_valid, ti_valid). | |
10378 | (attach_thread): Move target_pid_to_str call to after the thread | |
10379 | is added to GDB's list. Initialize the cache. | |
10380 | (thread_get_info_callback, thread_db_map_id2thr) | |
10381 | (thread_db_get_info): New functions. | |
10382 | (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers) | |
10383 | (thread_db_store_registers, thread_db_thread_alive) | |
10384 | (thread_db_get_thread_local_address): Use them. | |
10385 | (thread_db_pid_to_str): Likewise. Return "Missing" instead | |
10386 | of calling error() for threads in unknown state. | |
10387 | ||
10388 | (clear_lwpid_callback): New function. | |
10389 | (thread_db_resume): Use it to clear the cache. | |
10390 | ||
9fc30b6b DJ |
10391 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
10392 | ||
10393 | * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove. | |
10394 | (resume_callback): Remove dead code. | |
10395 | ||
8f871025 AC |
10396 | 2003-01-13 Andrew Cagney <[email protected]> |
10397 | ||
10398 | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with | |
10399 | predicate. | |
10400 | * gdbarch.h, gdbarch.c: Regenerate. | |
10401 | * stack.c (frame_info): Only initialize the saved registers when | |
10402 | FRAME_INIT_SAVED_REGS_P. | |
10403 | * frame.c (frame_saved_regs_register_unwind): Assert | |
10404 | FRAME_INIT_SAVED_REGS_P. | |
10405 | (deprecated_generic_get_saved_register): Ditto. | |
10406 | ||
3f565f1e DJ |
10407 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
10408 | ||
10409 | * source.c (openp): Squelch warning about "filename". | |
10410 | ||
072b1022 DJ |
10411 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
10412 | ||
10413 | * source.c (openp): If the file does not exist don't necessarily | |
10414 | search the path. | |
10415 | ||
973ccf8b DJ |
10416 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
10417 | ||
10418 | Fix PR gdb/872. | |
10419 | * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
10420 | (integer_types_same_name_p): New function. | |
10421 | (rank_one_type): Use it. | |
10422 | * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
10423 | ||
030292b7 DJ |
10424 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
10425 | ||
10426 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New | |
10427 | variables. | |
10428 | (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). | |
10429 | * configure.in: Add --with-sysroot. | |
10430 | * configure: Regenerated. | |
10431 | * main.c (gdb_sysroot): New variable. | |
10432 | (captured_main): Initialize gdb_sysroot. | |
10433 | * defs.h (gdb_sysroot): New extern declaration. | |
10434 | * solib.c (_initialize_solib): Initialize solib_absolute_prefix. | |
10435 | ||
afb5d334 MC |
10436 | 2003-01-12 Michael Chastain <[email protected]> |
10437 | ||
10438 | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002. | |
10439 | ||
751ceeb4 MC |
10440 | 2003-01-12 Michael Chastain <[email protected]> |
10441 | ||
10442 | * top.c (print_gdb_version): Bump copyright year to 2003. | |
10443 | ||
94cd26f8 DC |
10444 | 2003-01-12 David Carlton <[email protected]> |
10445 | ||
10446 | * linespec.c (symtab_from_filename): Rename variable 's' to | |
10447 | 'file_symtab'. | |
10448 | ||
1ce79225 AC |
10449 | 2003-01-12 Andrew Cagney <[email protected]> |
10450 | ||
10451 | * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a | |
10452 | dummy frame. | |
10453 | (d10v_frame_saved_pc, d10v_frame_chain): Ditto. | |
10454 | ||
fa1fd571 AC |
10455 | 2003-01-12 Andrew Cagney <[email protected]> |
10456 | ||
10457 | * d10v-tdep.c: Include "gdb_assert.h". | |
10458 | (d10v_store_return_value): Rewrite to match current interface. | |
10459 | (d10v_extract_struct_value_address): Ditto. | |
10460 | (d10v_extract_return_value): Ditto. | |
10461 | (d10v_gdbarch_init): Set store_restore_value, | |
10462 | extract_struct_value_address and extract_return_value. | |
10463 | ||
68b8d23e JB |
10464 | 2003-01-12 J. Brobecker <[email protected]> |
10465 | ||
10466 | * hpread.c (set_namestring): New procedure replacing the | |
10467 | SET_NAMESTRING macro. | |
10468 | (hpread_build_psymtabs): Replace calls to SET_NAMESTRING | |
10469 | by calls to set_namestring. | |
10470 | ||
10471 | 2003-01-11 J. Brobecker <[email protected]> | |
1fb309ea JB |
10472 | |
10473 | * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix | |
10474 | a compilation warning. | |
10475 | (hpread_process_one_debug_symbol): Likewise. | |
10476 | ||
88d262ca DC |
10477 | 2003-01-10 David Carlton <[email protected]> |
10478 | ||
10479 | * linespec.c (decode_line_1): Rename variable 's' to | |
10480 | 'file_symtab'. | |
10481 | (decode_all_digits): Rename argument 's' to 'file_symtab'. | |
10482 | (decode_dollar): Ditto. | |
10483 | (decode_variable): Ditto. | |
10484 | (symbol_found): Ditto. | |
10485 | ||
86669319 MC |
10486 | 2003-01-09 Michael Chastain <[email protected]> |
10487 | ||
10488 | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++. | |
10489 | ||
616a9dc4 CV |
10490 | 2003-01-07 Corinna Vinschen <[email protected]> |
10491 | ||
10492 | * win32-nat.c (set_process_privilege): New function. | |
10493 | (child_attach): Call set_process_privilege() to enable the | |
10494 | SE_DEBUG_NAME user privilege if available in process token. | |
10495 | ||
3269bcfa JB |
10496 | 2003-01-10 J. Brobecker <[email protected]> |
10497 | ||
10498 | * hpread.c (hpread_process_one_debug_symbol): Fix a small | |
10499 | compilation error in the previous revision. | |
10500 | ||
2b0ee454 DC |
10501 | 2003-01-09 David Carlton <[email protected]> |
10502 | ||
10503 | * linespec.c: Update copyright. | |
10504 | ||
b3ba1b44 DJ |
10505 | 2003-01-09 Daniel Jacobowitz <[email protected]> |
10506 | ||
10507 | * lin-lwp.c (child_wait): Ignore exit statuses for processes other | |
10508 | than inferior_ptid. | |
10509 | (lin_lwp_wait): Ignore exit statuses for unknown LWPs. | |
10510 | ||
4ef3f3be AC |
10511 | 2003-01-09 Andrew Cagney <[email protected]> |
10512 | ||
479ab5a0 AC |
10513 | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. |
10514 | Update comments. | |
10515 | * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. | |
10516 | (frame_saved_regs_zalloc): Update. | |
10517 | (frame_saved_regs_register_unwind): Update. | |
10518 | (create_new_frame): Update. | |
10519 | (get_prev_frame): Update. | |
10520 | (frame_extra_info_zalloc): Update. | |
10521 | (deprecated_get_frame_saved_regs): Update. | |
10522 | * dwarf2cfi.c (cfi_init_extra_frame_info): Update. | |
10523 | * cris-tdep.c: Update comment. | |
10524 | ||
bde58177 AC |
10525 | * somsolib.h: Fix function indentation. |
10526 | * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. | |
10527 | * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. | |
10528 | * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. | |
10529 | * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. | |
10530 | * somsolib.c, inftarg.c: Remove assignment in if conditional. | |
10531 | ||
4ef3f3be AC |
10532 | * infrun.c (follow_fork): Use ISO C definition. |
10533 | * expprint.c (print_subexp): Use xfree instead of free. | |
10534 | * charset.c: Include "gdb_string.h" instead of <string.h>. | |
10535 | (register_iconv_charsets): Use ISO C definition. | |
10536 | (host_charset, target_charset): Ditto. | |
10537 | * Makefile.in (charset.o): Update dependencies. | |
10538 | (mi-cmd-env.o): Update dependencies. | |
10539 | ||
1c615f7a AC |
10540 | 2003-01-08 Andrew Cagney <[email protected]> |
10541 | ||
10542 | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use | |
10543 | get_frame_base. | |
10544 | ||
c9a1dc08 AC |
10545 | 2003-01-08 Andrew Cagney <[email protected]> |
10546 | ||
10547 | * gdb_mbuild.sh: Add --keep option. When specified, keep the | |
10548 | build directories. Save edited gdb output in Mbuild.log. If a | |
10549 | build fails, remove any final GDB executable. | |
10550 | ||
dbad9d94 AC |
10551 | 2003-01-08 Andrew Cagney <[email protected]> |
10552 | ||
10553 | * gdb_mbuild.sh: Edit the output of `maint print architecture' | |
10554 | replacing hex constants with function names and stripping leading | |
10555 | file name directory prefixes. | |
10556 | ||
8d357cca AC |
10557 | 2003-01-08 Andrew Cagney <[email protected]> |
10558 | ||
10559 | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and | |
10560 | get_frame_base. | |
10561 | ||
bca02a8a DC |
10562 | 2003-01-08 David Carlton <[email protected]> |
10563 | ||
10564 | * linespec.c (decode_line_1): Move code into decode_variable. | |
10565 | (decode_variable): New function. | |
10566 | ||
7f8ab3a0 AC |
10567 | 2003-01-08 Andrew Cagney <[email protected]> |
10568 | ||
10569 | * mn10300-tdep.c (analyze_dummy_frame): Fix typo. | |
10570 | ||
7b5849cc AC |
10571 | 2003-01-08 Andrew Cagney <[email protected]> |
10572 | ||
10573 | * cris-tdep.c (cris_frame_init_saved_regs): Use | |
10574 | get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a | |
10575 | saved_regs buffer. | |
10576 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
10577 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
10578 | (sh_fp_frame_init_saved_regs): Ditto. | |
10579 | * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. | |
10580 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
10581 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
10582 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
10583 | ||
72a5efb3 DJ |
10584 | 2003-01-08 Daniel Jacobowitz <[email protected]> |
10585 | ||
10586 | * minsyms.c (lookup_minimal_symbol): Update comment. | |
10587 | (lookup_minimal_symbol_text): Update comment. Use the hash table. | |
10588 | (lookup_minimal_symbol_solib_trampoline): Likewise. | |
10589 | ||
11c02a10 AC |
10590 | 2003-01-08 Andrew Cagney <[email protected]> |
10591 | ||
aab3ea25 AC |
10592 | * d10v-tdep.c (d10v_init_extra_frame_info): Use |
10593 | frame_relative_level. | |
10594 | ||
da50a4b7 AC |
10595 | * alpha-tdep.c: Use get_frame_extra_info. |
10596 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
10597 | * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. | |
10598 | * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
10599 | * sparc-tdep.c, xstormy16-tdep.c: Ditto. | |
10600 | ||
11c02a10 AC |
10601 | * alpha-tdep.c: Use get_next_frame. |
10602 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
10603 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
10604 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. | |
10605 | * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. | |
10606 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. | |
10607 | * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. | |
10608 | * xstormy16-tdep.c: Ditto. | |
8ffd9b1b | 10609 | |
1e2330ba AC |
10610 | 2003-01-07 Andrew Cagney <[email protected]> |
10611 | ||
10612 | * alpha-tdep.c: Use get_frame_base. | |
10613 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
10614 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
10615 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
10616 | * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
10617 | * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. | |
10618 | * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
10619 | * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. | |
10620 | * config/sparc/tm-sparc.h: Ditto. | |
8ffd9b1b | 10621 | |
2d75187b AC |
10622 | 2003-01-07 Andrew Cagney <[email protected]> |
10623 | ||
10624 | * frame.c (deprecated_get_frame_context): New function. | |
10625 | (deprecated_set_frame_context): New function. | |
10626 | * frame.h (deprecated_get_frame_context): Declare. | |
10627 | (deprecated_set_frame_context): Declare. | |
10628 | * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. | |
10629 | (cfi_init_extra_frame_info): Use deprecated_set_frame_context. | |
8ffd9b1b | 10630 | |
483d36b2 AC |
10631 | 2003-01-07 Andrew Cagney <[email protected]> |
10632 | ||
10633 | * frame.c (deprecated_set_frame_next_hack): New function. | |
10634 | (deprecated_set_frame_prev_hack): New function. | |
10635 | * frame.h (deprecated_set_frame_next_hack): Declare. | |
10636 | (deprecated_set_frame_prev_hack): Declare. | |
10637 | * mcore-tdep.c (analyze_dummy_frame): Use | |
10638 | deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. | |
10639 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
10640 | ||
14e91ac5 DC |
10641 | 2003-01-07 David Carlton <[email protected]> |
10642 | ||
10643 | * linespec.c (decode_line_1): Move code into decode_dollar. | |
10644 | (decode_dollar): New function. | |
10645 | ||
b0c6b05c AC |
10646 | 2003-01-07 Andrew Cagney <[email protected]> |
10647 | ||
10648 | * arm-tdep.c (arm_init_extra_frame_info): Use | |
10649 | deprecated_update_frame_base_hack. | |
10650 | * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. | |
10651 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
10652 | (fix_frame_pointer): Ditto. | |
10653 | (mn10300_analyze_prologue): Ditto. | |
10654 | ||
a00a19e9 AC |
10655 | 2003-01-07 Andrew Cagney <[email protected]> |
10656 | ||
10657 | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate | |
10658 | extra_info using frame_extra_info_zalloc. | |
10659 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
10660 | * sh-tdep.c (sh_init_extra_frame_info): Ditto. | |
10661 | (sh64_init_extra_frame_info): Ditto. | |
10662 | * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. | |
10663 | * s390-tdep.c (s390_init_extra_frame_info): Ditto. | |
10664 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
10665 | * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. | |
10666 | * frv-tdep.c (frv_init_extra_frame_info): Ditto. | |
10667 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. | |
10668 | * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. | |
10669 | * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. | |
10670 | * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. | |
10671 | * cris-tdep.c (cris_init_extra_frame_info): Ditto. | |
10672 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
10673 | * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. | |
10674 | ||
10675 | * mn10300-tdep.c (analyze_dummy_frame): Use | |
10676 | deprecated_set_frame_extra_info_hack. | |
10677 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
10678 | ||
1fb4c65b JB |
10679 | 2003-01-07 J. Brobecker <[email protected]> |
10680 | ||
10681 | * mdebugread.c (parse_symbol): Skip stProc entries which storage | |
10682 | class is not scText. These do not define "real" procedures. | |
10683 | (parse_partial_symbols): Likewise. | |
10684 | ||
9fe7d6bf MS |
10685 | 2003-01-06 Michael Snyder <[email protected]> |
10686 | ||
10687 | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. | |
10688 | ||
f6c609c4 AC |
10689 | 2003-01-06 Andrew Cagney <[email protected]> |
10690 | ||
10691 | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. | |
10692 | * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. | |
10693 | * arm-tdep.c (arm_frame_chain): Allocate caller_fi using | |
10694 | deprecated_frame_xmalloc_with_cleanup. | |
10695 | * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using | |
10696 | deprecated_frame_xmalloc. | |
10697 | * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. | |
10698 | * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame. | |
10699 | ||
d995ff4b AC |
10700 | 2003-01-06 Andrew Cagney <[email protected]> |
10701 | ||
84dc46cb AC |
10702 | * x86-64-linux-tdep.c: Include "osabi.h". |
10703 | * Makefile.in (x86-64-linux-tdep.o): Update dependencies. | |
10704 | ||
d995ff4b AC |
10705 | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach. |
10706 | ||
66140c26 AC |
10707 | 2003-01-06 Andrew Cagney <[email protected]> |
10708 | ||
10709 | * MAINTAINERS (Target Instruction Set Architectures): Update | |
10710 | arm-elf. Can be built with -Werror, has been multiarched. | |
10711 | ||
10712 | * value.h (unpack_long): Make buffer parameter constant. | |
10713 | (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. | |
10714 | * scm-lang.h (scm_parse): Ditto. | |
10715 | * defs.h (extract_typed_address, extract_address): Ditto. | |
10716 | (extract_long_unsigned_integer): Ditto. | |
10717 | * inferior.h (unsigned_pointer_to_address): Ditto. | |
10718 | (signed_pointer_to_address): Ditto. | |
10719 | * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. | |
10720 | * gdbarch.h, gdbarch.c: Regenerate. | |
10721 | * findvar.c (extract_long_unsigned_integer): Update. | |
10722 | (extract_address): Update. | |
10723 | (extract_typed_address): Update. | |
10724 | (unsigned_pointer_to_address): Update. | |
10725 | * values.c (unpack_long): Update. | |
10726 | (unpack_double): Update. | |
10727 | (unpack_pointer): Update. | |
10728 | (unpack_field_as_long): Update. | |
10729 | * d10v-tdep.c (d10v_pointer_to_address): Update. | |
10730 | * avr-tdep.c (avr_pointer_to_address): Update. | |
10731 | * scm-lang.c (scm_unpack): Update. | |
10732 | * findvar.c (signed_pointer_to_address): Update. | |
10733 | ||
b089b3da ML |
10734 | 2003-01-06 Michal Ludvig <[email protected]> |
10735 | ||
8ffd9b1b | 10736 | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore |
b089b3da ML |
10737 | since it is in i386-tdep.c. |
10738 | ||
aff87235 JB |
10739 | 2003-01-06 J. Brobecker <[email protected]> |
10740 | ||
10741 | * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation | |
10742 | failure introduced in the previous change. | |
10743 | ||
34f5e845 MC |
10744 | 2003-01-05 Michael Chastain <[email protected]> |
10745 | ||
10746 | * README: Remove references to deleted remote-*.c files: | |
10747 | remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, | |
10748 | remote-nrom.c, remote-os9k.c, remote-udi.c. | |
10749 | ||
28bcfd30 MK |
10750 | 2003-01-05 Mark Kettenis <[email protected]> |
10751 | ||
10752 | * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64. | |
10753 | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about | |
10754 | i386_get_longjmp_target. | |
10755 | ||
15a5b3ee AC |
10756 | 2003-01-05 Andrew Cagney <[email protected]> |
10757 | ||
10758 | * arm-tdep.c (prologue_cache): Change to a pointer. | |
10759 | (_initialize_arm_tdep): Allocate prologue_cache. | |
10760 | (check_prologue_cache): Update. | |
10761 | (save_prologue_cache): Update. | |
10762 | (arm_gdbarch_init): Update. | |
10763 | ||
c263362b DJ |
10764 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
10765 | ||
10766 | * stabsread.c (update_method_name_from_physname): Call complaint() | |
10767 | instead of error. | |
10768 | ||
51603483 DJ |
10769 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
10770 | ||
10771 | * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. | |
10772 | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. | |
10773 | * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. | |
10774 | ||
10775 | * blockframe.c: Include "gdbcmd.h" and "command.h". | |
10776 | (backtrace_below_main): New variable. | |
10777 | (file_frame_chain_valid, func_frame_chain_valid) | |
10778 | (nonnull_frame_chain_valid, generic_file_frame_chain_valid) | |
10779 | (generic_func_frame_chain_valid): Remove functions. | |
10780 | (frame_chain_valid, do_flush_frames_sfunc): New functions. | |
10781 | (_initialize_blockframe): New function. | |
10782 | * Makefile.in (blockframe.o): Update dependencies. | |
10783 | * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME | |
10784 | comment. Call frame_chain_valid (). | |
10785 | * frame.h: Remove old prototypes. Add prototype for | |
10786 | frame_chain_valid and update comments to match. | |
10787 | * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. | |
10788 | Remove old comment. | |
10789 | * gdbarch.h: Regenerated. | |
10790 | * gdbarch.c: Regenerated. | |
10791 | ||
10792 | * alpha-tdep.c (alpha_gdbarch_init): Don't call | |
10793 | set_gdbarch_frame_chain_valid. | |
10794 | * avr-tdep.c (avr_gdbarch_init): Likewise. | |
10795 | * cris-tdep.c (cris_gdbarch_init): Likewise. | |
10796 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
10797 | * h8300-tdep.c (h8300_gdbarch_init): Likewise. | |
10798 | * i386-tdep.c (i386_svr4_init_abi): Likewise. | |
10799 | (i386_nw_init_abi): Likewise. | |
10800 | (i386_gdbarch_init): Likewise. | |
10801 | * ia64-tdep.c (ia64_gdbarch_init): Likewise. | |
10802 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
10803 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
10804 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
10805 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
10806 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
10807 | * ns32k-tdep.c (ns32k_gdbarch_init): Likewise. | |
10808 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise. | |
10809 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
10810 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
10811 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
10812 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
10813 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
10814 | * vax-tdep.c (vax_gdbarch_init): Likewise. | |
10815 | * x86-64-tdep.c (x86_64_init_abi): Likewise. | |
10816 | ||
10817 | * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define. | |
10818 | * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise. | |
10819 | * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise. | |
10820 | * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise. | |
10821 | * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise. | |
10822 | * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise. | |
10823 | * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise. | |
10824 | * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise. | |
10825 | ||
b00a8037 DJ |
10826 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
10827 | ||
10828 | * Makefile.in (acconfig_h): Remove incorrect macro. | |
10829 | (config_h): Define. | |
10830 | (osabi.o): Update dependencies. | |
10831 | * configure.tgt: Set gdb_osabi based on target triplet. | |
10832 | * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. | |
10833 | * configure: Regenerated. | |
10834 | * config.in: Regenerated. | |
10835 | * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". | |
10836 | (GDB_OSABI_DEFAULT): Define if not already defined. | |
10837 | (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) | |
10838 | (set_osabi_string): New variables. | |
10839 | (gdbarch_register_osabi): Add new OS ABI to | |
10840 | gdb_osabi_available_names. | |
10841 | (gdbarch_lookup_osabi): Honor specified and default OS ABIs. | |
10842 | (set_osabi, show_osabi): New functions. | |
10843 | (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands. | |
10844 | ||
4be87837 DJ |
10845 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
10846 | ||
10847 | * arch-utils.c (gdbarch_info_init): Set osabi to | |
10848 | GDB_OSABI_UNINITIALIZED. | |
10849 | * gdbarch.sh: Add osabi to struct gdbarch and to struct | |
10850 | gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi | |
10851 | in gdbarch_list_lookup_by_info and in gdbarch_update_p. | |
10852 | * gdbarch.c: Regenerated. | |
10853 | * gdbarch.h: Regenerated. | |
10854 | * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if | |
10855 | there's no BFD. | |
10856 | (gdbarch_init_osabi): Remove osabi argument; use info.osabi. | |
10857 | * osabi.h (enum gdb_osabi): Move to defs.h. | |
10858 | (gdbarch_init_osabi): Update prototype. | |
10859 | * defs.h (enum gdb_osabi): Moved here. | |
10860 | * Makefile.in: Update dependencies. | |
10861 | ||
10862 | * alpha-tdep.h: Don't include "osabi.h". | |
10863 | (struct gdbarch_tdep): Remove osabi member. | |
10864 | * alpha-tdep.c: Include "osabi.h". | |
10865 | (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
10866 | iterate over arches. Update call to gdbarch_init_osabi. | |
10867 | (alpha_dump_tdep): Don't dump osabi. | |
10868 | * alpha-linux-tdep.c: Include "osabi.h". | |
10869 | * alpha-osf1-tdep.c: Include "osabi.h". | |
10870 | * alphafbsd-tdep.c: Include "osabi.h". | |
10871 | * alphanbsd-tdep.c: Include "osabi.h". | |
10872 | ||
10873 | * arm-tdep.h: Don't include "osabi.h". | |
10874 | (struct gdbarch_tdep): Remove osabi member. | |
10875 | * arm-tdep.c: Include "osabi.h". | |
10876 | (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
10877 | iterate over arches. Update call to gdbarch_init_osabi. | |
10878 | (arm_dump_tdep): Don't dump osabi. | |
10879 | * arm-linux-tdep.c: Include "osabi.h". | |
10880 | * armnbsd-tdep.c: Include "osabi.h". | |
10881 | ||
10882 | * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi. | |
10883 | Update call to gdbarch_init_osabi. | |
10884 | ||
10885 | * i386-tdep.h: Don't include "osabi.h". | |
10886 | (struct gdbarch_tdep): Remove osabi member. | |
10887 | * i386-tdep.c: Include "osabi.h". | |
10888 | (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
10889 | iterate over arches. Update call to gdbarch_init_osabi. | |
10890 | (i386_dump_tdep): Don't dump osabi. | |
10891 | * i386-linux-tdep.c: Include "osabi.h". | |
10892 | * i386-sol2-tdep.c: Include "osabi.h". | |
10893 | * i386bsd-tdep.c: Include "osabi.h". | |
10894 | * i386gnu-tdep.c: Include "osabi.h". | |
10895 | * i386ly-tdep.c: Include "osabi.h". | |
10896 | * i386nbsd-tdep.c: Include "osabi.h". | |
10897 | * i386obsd-tdep.c: Include "osabi.h". | |
10898 | ||
10899 | * mips-tdep.c (struct gdbarch_tdep): Remove osabi member. | |
10900 | (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
10901 | check osabi when iterating over arches. Update call to | |
10902 | gdbarch_init_osabi. | |
10903 | (mips_dump_tdep): Don't dump osabi. | |
10904 | ||
10905 | * ns32k-tdep.h: Don't include "osabi.h". | |
10906 | (struct gdbarch_tdep): Remove. | |
10907 | * ns32k-tdep.c (ns32k_gdbarch_init): Don't call | |
10908 | gdbarch_lookup_osabi. Don't iterate over arches. Don't | |
10909 | allocate tdep. Update call to gdbarch_init_osabi. | |
10910 | (ns32k_dump_tdep): Remove. | |
10911 | (_initialize_ns32k_tdep): Update call to gdbarch_register. | |
10912 | * ns32knbsd-tdep.c: Include "osabi.h". | |
10913 | ||
10914 | * ppc-tdep.h: Don't include "osabi.h". | |
10915 | (struct gdbarch_tdep): Remove osabi member. | |
10916 | * rs6000-tdep.c: Include "osabi.h". | |
10917 | (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check | |
10918 | osabi when iterating over arches. Update call to | |
10919 | gdbarch_init_osabi. | |
10920 | (rs6000_dump_tdep): Don't dump osabi. | |
10921 | * ppc-linux-tdep.c: Include "osabi.h". | |
10922 | * ppcnbsd-tdep.c: Include "osabi.h". | |
10923 | ||
10924 | * sh-tdep.h: Don't include "osabi.h". | |
10925 | (struct gdbarch_tdep): Remove osabi member. | |
10926 | * sh-tdep.c: Include "osabi.h". | |
10927 | (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
10928 | iterate over arches. Update call to gdbarch_init_osabi. | |
10929 | (sh_dump_tdep): Don't dump osabi. | |
10930 | * shnbsd-tdep.c: Include "osabi.h". | |
10931 | ||
10932 | * sparc-tdep.c: Include "osabi.h". | |
10933 | (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
10934 | iterate over arches. Update call to gdbarch_init_osabi. | |
10935 | (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the | |
10936 | tdep structure. | |
10937 | ||
10938 | * vax-tdep.h: Don't include "osabi.h". | |
10939 | (struct gdbarch_tdep): Remove. | |
10940 | * vax-tdep.c: Include "osabi.h". | |
10941 | (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
10942 | iterate over arches. Don't allocate tdep. Update call | |
10943 | to gdbarch_init_osabi. | |
10944 | (vax_dump_tdep): Remove. | |
10945 | (_initialize_vax_tdep): Update call to gdbarch_register. | |
10946 | ||
a881cf8e DJ |
10947 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
10948 | ||
10949 | * breakpoint.c (insert_breakpoints): Skip disabled breakpoints | |
10950 | entirely. | |
10951 | (breakpoint_re_set_one): Don't fetch the value for a disabled | |
10952 | watchpoint. | |
10953 | ||
1e698235 DJ |
10954 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
10955 | ||
10956 | * buildsym.h (processing_hp_compilation): Remove obsolete variable. | |
10957 | * gdbarch.sh Remove include of "value.h" in gdbarch.h. | |
10958 | (COERCE_FLOAT_TO_DOUBLE): Remove. | |
10959 | * gdbarch.c: Regenerate. | |
10960 | * gdbarch.h: Regenerate. | |
10961 | * Makefile.in: Remove value_h from gdbarch_h. | |
10962 | * valops.c (coerce_float_to_double): New variable. | |
10963 | (default_coerce_float_to_double): Remove. | |
10964 | (standard_coerce_float_to_double): Remove. | |
10965 | (value_arg_coerce): Use coerce_float_to_double. | |
10966 | (_initialize_valops): Add "set coerce-float-to-double". | |
10967 | * value.h (default_coerce_float_to_double): Remove prototype. | |
10968 | (standard_coerce_float_to_double): Remove prototype. | |
10969 | ||
10970 | * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as | |
10971 | prototyped. | |
10972 | * mdebugread.c (parse_symbol): Likewise. | |
10973 | * stabsread.c (define_symbol): Mark all functions as prototyped. | |
10974 | ||
10975 | * hppa-tdep.c (hppa_coerce_float_to_double): Remove. | |
10976 | * alpha-tdep.c (alpha_gdbarch_init): Remove call to | |
10977 | set_gdbarch_coerce_float_to_double. | |
10978 | * arm-tdep.c (arm_gdbarch_init): Likewise. | |
10979 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
10980 | * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). | |
10981 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
10982 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
10983 | (mips_coerce_float_to_double): Remove. | |
10984 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
10985 | (rs6000_coerce_float_to_double): Remove. | |
10986 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
10987 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
10988 | (sh_coerce_float_to_double): Remove. | |
10989 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
10990 | (sparc_coerce_float_to_double): Remove. | |
10991 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
10992 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
10993 | * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
10994 | * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. | |
10995 | (hppa_coerce_float_to_double): Remove prototype. | |
10996 | * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
10997 | ||
f436a26a DJ |
10998 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
10999 | ||
11000 | * regformats/reg-m68k.dat: Remove fpcode and fpflags. | |
11001 | ||
248f8055 DJ |
11002 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11003 | ||
11004 | Suggested by Stewart Brown <[email protected]>: | |
11005 | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show | |
11006 | in recursive calls. Handle TYPE_CODE_TYPEDEF. | |
11007 | (c_type_print_varspec_suffix): Likewise. | |
11008 | ||
72cfdc76 MK |
11009 | 2003-01-04 Mark Kettenis <[email protected]> |
11010 | ||
bfd260bb MK |
11011 | * configure.in: Don't set and AC_SUBST SUBDIRS. |
11012 | * configure: Regenerated. | |
11013 | ||
72cfdc76 MK |
11014 | * configure.in: Remove code dealing with shared libraries. |
11015 | * Makefile.in: Remove HLDFLAGS and HLDENV. | |
11016 | * configure: Regenerated. | |
11017 | ||
c8b8a898 AC |
11018 | 2003-01-04 Andrew Cagney <[email protected]> |
11019 | ||
11020 | * frame.c (deprecated_frame_xmalloc): New function. | |
11021 | (deprecated_set_frame_saved_regs_hack): New function. | |
11022 | (deprecated_set_frame_extra_info_hack): New function. | |
11023 | * frame.h (deprecated_frame_xmalloc): Declare. | |
11024 | (deprecated_set_frame_saved_regs_hack): Declare. | |
11025 | (deprecated_set_frame_extra_info_hack): Declare. | |
11026 | ||
14abd0fb MK |
11027 | 2003-01-04 Mark Kettenis <[email protected]> |
11028 | ||
8ee53726 MK |
11029 | * configure.in: Move code that provides the --enable-gdbtk option |
11030 | right after the code that handles the --enable-tui option, and | |
11031 | polish it somewhat. | |
11032 | * configure: Regenerated. | |
11033 | ||
14abd0fb MK |
11034 | * configure.in: Call AC_GNU_SOURCE. Check for pread64 using |
11035 | AC_CHECK_FUNCS and remove the old check for pread64. | |
11036 | * acinclude.m4 (AC_GNU_SOURCE): New macro. | |
11037 | * acconfig.h (_GNU_SOURCE): Add. | |
11038 | (HAVE_PREAD64): Remove. | |
11039 | * configure, aclocal.m4, config.in: Regenerated. | |
11040 | ||
b2fb4676 AC |
11041 | 2003-01-03 Andrew Cagney <[email protected]> |
11042 | ||
11043 | * alpha-tdep.c: Use get_frame_saved_regs. | |
11044 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11045 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
11046 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto. | |
11047 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto. | |
11048 | * vax-tdep.c, xstormy16-tdep.c: Ditto. | |
11049 | ||
8dcde887 MK |
11050 | 2003-01-03 Mark Kettenis <[email protected]> |
11051 | ||
11052 | * configure.in: Remove all use of the SUBDIRS variable; add | |
11053 | directories using the AC_CONFIG_SUBDIRS macro instead. Polish | |
11054 | code providing the --enable-multi-ice option, and move it right in | |
11055 | front of the code that checks whether gdbserver is supported. | |
11056 | Polish that too. | |
11057 | * configure: Regenerated. | |
11058 | * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of | |
11059 | @SUBDIRS@. | |
11060 | ||
8ccd593b AC |
11061 | 2003-01-03 Andrew Cagney <[email protected]> |
11062 | ||
11063 | * alpha-tdep.c: Use deprecated_update_frame_base_hack. | |
11064 | * avr-tdep.c, cris-tdep.c: Ditto. | |
11065 | * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
11066 | * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
8ffd9b1b | 11067 | |
91151a06 MK |
11068 | 2003-01-03 Mark Kettenis <[email protected]> |
11069 | ||
11070 | * configure.in: Remove --enable-netrom option. | |
11071 | * configure: Regenerated. | |
11072 | ||
8fe84d01 MK |
11073 | 2003-01-03 Mark Kettenis <[email protected]> |
11074 | ||
11075 | * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward | |
11076 | declaration for `struct re_pattern_buffer' instead. | |
11077 | * Makefile.in (cli_decode_h): Remove $(gdb_regex_h). | |
11078 | ||
f0394be6 JB |
11079 | 2003-01-03 J. Brobecker <[email protected]> |
11080 | ||
11081 | * mdebugread.c (parse_symbol): Count until the stEnd matching | |
11082 | the structure name. | |
11083 | ||
27e9bf90 MK |
11084 | 2003-01-02 Mark Kettenis <[email protected]> |
11085 | ||
93d331ba MK |
11086 | * configure.in: Remove --with-cpu option. |
11087 | subscripts. Remove evil changequotes here. | |
11088 | * acconfig.h (TARGET_CPU_DEFAULT): Remove. | |
11089 | * config.in, configure: Regenerated. | |
8ffd9b1b | 11090 | |
27e9bf90 MK |
11091 | * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. |
11092 | * configure.in: Cleanup section that sources GDB and BFD configure | |
11093 | subscripts. Remove evil changequotes here. | |
11094 | * config.in, configure: Regenerated. | |
11095 | ||
50abf9e5 AC |
11096 | 2003-01-02 Andrew Cagney <[email protected]> |
11097 | ||
11098 | * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack | |
11099 | frame accessor methods. | |
11100 | * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11101 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
11102 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. | |
11103 | * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. | |
11104 | * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
11105 | * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
11106 | * z8k-tdep.c: Ditto. | |
8ffd9b1b | 11107 | |
287c1a40 MK |
11108 | 2003-01-02 Mark Kettenis <[email protected]> |
11109 | ||
f5dbc56d MK |
11110 | * configure.in: Remove UI_OUT configuration code. |
11111 | * ada-lang.c: Update assuming UI_OUT is always true. | |
11112 | * Makefile.in (UIOUT_CFLAGS): Remove. | |
11113 | * configure: Regenerated. | |
11114 | * TODO: Remove blurb about elimination of -DUI_OUT. | |
11115 | ||
627af7ea MK |
11116 | * configure.in: Move code that provides the --enable-gdbcli, |
11117 | --enable-gdbmi options right before the code that handles the | |
11118 | --enable-tui option. Polish a bit. | |
11119 | * configure: Regenerated. | |
11120 | ||
06825bd1 MK |
11121 | * configure.in: Rewrite check for GNU regex and the |
11122 | --without-included regex option, and move it into the "Checks for | |
11123 | library functions" section. This makes us use the system regex | |
11124 | again by default on systems with version 2 of the GNU C library. | |
11125 | This was apparently broken. | |
11126 | * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. | |
11127 | * acconfig.h (USE_INCLUDED_REGEX): Remove. | |
11128 | * config.in, configure: Regenerated. | |
11129 | ||
287c1a40 MK |
11130 | * configure.in: Move code that provides the --enable-tui option |
11131 | before the "Checks for libraries" section. Polish the code | |
11132 | somewhat and set need_curses to yes if we build the TUI. Rewrite | |
11133 | code that looks for a library providing termcap functionality to | |
11134 | match more closely what's done in the Readline library, and move | |
11135 | it into to the "Checks for libraries" section. | |
11136 | * configure: Regenerated. | |
11137 | * Makefile.in (TERMCAP): Remove variable. | |
11138 | * config/i386/go32.mh (TERMCAP): Remove variable. | |
11139 | ||
684e56bf AC |
11140 | 2003-01-02 Andrew Cagney <[email protected]> |
11141 | ||
11142 | * MAINTAINERS: Mention gdb_mbuild.sh. | |
11143 | * gdb_mbuild.sh: Rewrite. | |
11144 | ||
e1ea1d75 MK |
11145 | 2003-01-02 Mark Kettenis <[email protected]> |
11146 | ||
11147 | * configure.in: Fix typo in last change. | |
11148 | * config.in, configure: Regenerated. | |
11149 | ||
1b831c93 AC |
11150 | 2003-01-02 Andrew Cagney <[email protected]> |
11151 | ||
11152 | * valarith.c (value_binop): Delete obsolete code and comments. | |
11153 | * configure.host: Ditto. | |
11154 | * buildsym.h (make_blockvector): Ditto. | |
11155 | * buildsym.c (make_blockvector): Ditto. | |
11156 | * defs.h (enum language): Ditto. | |
11157 | (chill_demangle): Ditto. | |
11158 | * elfread.c (elf_symtab_read): Ditto. | |
11159 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
11160 | (set_cu_language): Ditto. | |
11161 | (handle_producer): Ditto. | |
11162 | * expprint.c (print_subexp): Ditto. | |
11163 | * gdbtypes.c (chill_varying_type): Ditto. | |
11164 | * gdbtypes.h (builtin_type_chill_bool): Ditto. | |
11165 | (builtin_type_chill_char, builtin_type_chill_long): Ditto. | |
11166 | (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. | |
11167 | (chill_varying_type): Ditto. | |
11168 | * language.h (_LANG_chill): Ditto. | |
11169 | * language.c (binop_result_type, integral_type): Ditto. | |
11170 | (character_type, string_type, structured_type): Ditto. | |
11171 | (lang_bool_type, binop_type_check): Ditto. | |
11172 | * stabsread.h (os9k_stabs): Ditto. | |
11173 | * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. | |
11174 | (define_symbol, read_type, read_struct_fields): Ditto. | |
11175 | (read_array_type, read_enum_type, read_huge_number): Ditto. | |
11176 | (read_range_type, start_stabs): Ditto. | |
11177 | * symfile.c (init_filename_language_table): Ditto. | |
11178 | (add_psymbol_with_dem_name_to_list): Ditto. | |
11179 | * symtab.c (symbol_init_language_specific): Ditto. | |
11180 | (symbol_init_demangled_name, symbol_demangled_name): Ditto. | |
11181 | * symtab.h (struct general_symbol_info): Ditto. | |
11182 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
11183 | * typeprint.c (typedef_print): Ditto. | |
11184 | * utils.c (fprintf_symbol_filtered): Ditto. | |
11185 | * valops.c (value_cast, search_struct_field, value_slice): Delete | |
11186 | obsolete code. | |
11187 | (varying_to_slice): Delete function. | |
11188 | * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. | |
11189 | (varying_to_slice): Delete declaration. | |
11190 | * MAINTAINERS: Update. | |
11191 | ||
8bb2c122 MK |
11192 | 2003-01-02 Mark Kettenis <[email protected]> |
11193 | ||
97bf5e38 MK |
11194 | * configure.in: Reorganize "Checks for library functions section" |
11195 | a bit. Remove check for `btowc' and `isascii' functions. | |
11196 | * configure: Regenerated. | |
11197 | ||
5ee754fc MK |
11198 | * acconfig.h (_MSE_INT_H): Remove. |
11199 | * configure.in: Create "Checks for header files" section, and move | |
11200 | appropriate tests there. Don't check for objlist.h, wchar.h, | |
11201 | wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> | |
11202 | misdetection fix. Also add "Checks for types", "Checks for | |
11203 | compiler characteristics" and "Checks for library functions" | |
11204 | sections. | |
11205 | * config.in, configure: Regenerated. | |
11206 | ||
8bb2c122 MK |
11207 | * configure.in: Create "Checks for programs" section, and move |
11208 | appropriate tests there. | |
11209 | ||
9a156167 MK |
11210 | 2003-01-01 Mark Kettenis <[email protected]> |
11211 | ||
11212 | * configure.in: Create "Checks for libraries" section, and move | |
11213 | appropriate tests there. Cleanup check for wctype in libw. Use | |
11214 | AC_SEARCH_LIBS to see whether we need libsocket. | |
11215 | * configure: Regenerated. | |
11216 | ||
a80e2bcb | 11217 | For older changes see ChangeLog-2002 |
c906108c SS |
11218 | \f |
11219 | Local Variables: | |
11220 | mode: change-log | |
11221 | left-margin: 8 | |
11222 | fill-column: 74 | |
11223 | version-control: never | |
11224 | End: |