Commit | Line | Data |
---|---|---|
0ba6dca9 AC |
1 | 2003-04-28 Andrew Cagney <cagney@redhat.com> |
2 | ||
3 | * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. | |
4 | (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. | |
5 | * gdbarch.h, gdbarch.c: Re-generate. | |
6 | * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, | |
7 | DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. | |
8 | * inferior.h (deprecated_read_fp): Rename read_fp. | |
9 | (generic_target_read_fp): Delete declaration. | |
10 | * regcache.c (generic_target_read_fp): Delete function. | |
11 | (deprecated_read_fp): Replace read_fp, use | |
12 | DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. | |
13 | * d10v-tdep.c (d10v_read_fp): Delete function. | |
14 | (d10v_gdbarch_init): Do not set deprecated_read_fp. | |
15 | ||
16 | * sparc-tdep.c (sparc_gdbarch_init): Do not set | |
17 | deprecated_target_read_fp to generic_target_read_fp. | |
18 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
19 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
20 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
21 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
22 | ||
23 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set | |
24 | deprecated_fp_regnum. | |
25 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
26 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
27 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
28 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
29 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
30 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
31 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
32 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
33 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
34 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
35 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
36 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
37 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
38 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
39 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
40 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
41 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
42 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
43 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
44 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
45 | ||
46 | * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. | |
47 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
48 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
49 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
50 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
51 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
52 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
53 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
54 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
55 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
56 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
57 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
58 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
59 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
60 | ||
61 | * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with | |
62 | DEPRECATED_FP_REGNUM. | |
63 | (vax_push_dummy_frame, vax_pop_frame): Ditto. | |
64 | * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. | |
65 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
66 | (sparc_push_dummy_frame, sparc64_read_fp): Ditto. | |
67 | (sparc32_register_virtual_type): Ditto. | |
68 | * sh-tdep.c (sh64_frame_chain): Ditto. | |
69 | (sh64_get_saved_register, sh64_pop_frame): Ditto. | |
70 | (sh_nofp_frame_init_saved_regs): Ditto. | |
71 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
72 | (sh_fp_frame_init_saved_regs): Ditto. | |
73 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
74 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
75 | * procfs.c (procfs_fetch_registers): Ditto. | |
76 | (procfs_store_registers): Ditto. | |
77 | * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. | |
78 | (store_inferior_registers, fetch_core_registers): Ditto. | |
79 | (fetch_kcore_registers, clear_regs): Ditto. | |
80 | * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. | |
81 | (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. | |
82 | * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. | |
83 | * nlm/i386.c (do_status): Ditto. | |
84 | * mipsv4-nat.c (supply_gregset): Ditto. | |
85 | * mips-tdep.c: Ditto for comments. | |
86 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
87 | (store_inferior_registers, fetch_core_registers): Ditto. | |
88 | * m68k-tdep.c (m68k_push_dummy_frame): Ditto. | |
89 | (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. | |
90 | * i386-tdep.c (i386_frame_init_saved_regs): Ditto. | |
91 | (i386_do_pop_frame, i386_register_type): Ditto. | |
92 | * hppa-tdep.c (hppa_frame_chain): Ditto. | |
93 | (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. | |
94 | (hppa_pop_frame, hppa_read_fp): Ditto. | |
95 | (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. | |
96 | * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. | |
97 | * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. | |
98 | * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. | |
99 | * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. | |
100 | * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. | |
101 | * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. | |
102 | * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. | |
103 | * blockframe.c: Ditto for comments. | |
104 | * arch-utils.h: Ditto for comments. | |
105 | * arch-utils.c (legacy_virtual_frame_pointer): Ditto. | |
106 | * alphanbsd-tdep.c (fetch_core_registers): Ditto. | |
107 | * alphabsd-nat.c (fetch_inferior_registers): Ditto. | |
108 | * alpha-tdep.h: Ditto for comments. | |
109 | * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. | |
110 | (alpha_cannot_store_register): Ditto. | |
111 | (alpha_push_dummy_frame): Ditto. | |
112 | * alpha-nat.c (supply_gregset): Ditto. | |
113 | ||
114 | * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. | |
115 | * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. | |
116 | * config/sparc/tm-sparc.h: Update comment. | |
117 | ||
118 | * hppa-tdep.c (hppa_init_extra_frame_info): Use | |
119 | deprecated_read_fp instead of TARGET_READ_FP. | |
120 | (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. | |
121 | (hppa_push_dummy_frame, hppa_read_fp): Ditto. | |
122 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
123 | deprecated_read_fp instead of read_fp. | |
124 | * s390-tdep.c (s390_push_arguments): Ditto. | |
125 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
126 | * frame.h: Ditto in comments. | |
127 | * frame.c (legacy_get_prev_frame): Ditto. | |
128 | * dummy-frame.c (dummy_frame_this_id): Ditto. | |
129 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
130 | ||
d7a27068 AC |
131 | 2003-04-28 Andrew Cagney <cagney@redhat.com> |
132 | ||
133 | * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn. | |
134 | * gdbarch.h, gdbarch.c: Re-generate. | |
135 | * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update. | |
136 | * vax-tdep.c (_initialize_vax_tdep): Update. | |
137 | * v850-tdep.c (_initialize_v850_tdep): Update. | |
138 | * sparc-tdep.c (_initialize_sparc_tdep): Update. | |
139 | * s390-tdep.c (_initialize_s390_tdep): Update. | |
140 | * ns32k-tdep.c (_initialize_ns32k_tdep): Update. | |
141 | * mn10300-tdep.c (_initialize_mn10300_tdep): Update. | |
142 | * mips-tdep.c (_initialize_mips_tdep): Update. | |
143 | * mcore-tdep.c (_initialize_mcore_tdep): Update. | |
144 | * m68k-tdep.c (_initialize_m68k_tdep): Update. | |
145 | * ia64-tdep.c (_initialize_ia64_tdep): Update. | |
146 | * hppa-tdep.c (_initialize_hppa_tdep): Update. | |
147 | * h8300-tdep.c (_initialize_h8300_tdep): Update. | |
148 | * frv-tdep.c (_initialize_frv_tdep): Update. | |
149 | * cris-tdep.c (cris_delayed_get_disassembler): Update. | |
150 | (_initialize_cris_tdep): Update. | |
151 | * arch-utils.c (legacy_print_insn): Update. | |
152 | * alpha-tdep.c (_initialize_alpha_tdep): Update. | |
153 | ||
d2630e69 AF |
154 | 2003-04-26 Adam Fedor <fedor@gnu.org> |
155 | ||
156 | * linespec.c (decode_objc): New function to decode ObjC calls | |
157 | (decode_line_1): Check for ObjC calls (using decode_objc) | |
158 | * Makefile (linespec.o): Update dependencies. | |
159 | ||
3086aeae DJ |
160 | 2003-04-26 Daniel Jacobowitz <drow@mvista.com> |
161 | ||
162 | * breakpoint.h (struct breakpoint_ops): New. | |
163 | (struct breakpoint): Add ops member. | |
164 | ||
165 | * breakpoint.c (print_bp_stop_message, print_one_breakpoint) | |
166 | (mention): Use new breakpoint ops member. | |
167 | (set_raw_breakpoint): Initialize ops field to NULL. | |
168 | (print_exception_catchpoint, print_one_exception_catchpoint) | |
169 | (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New. | |
170 | (gnu_v3_exception_catchpoint_ops): New. | |
171 | (catch_exception_command_1): Call handle_gnu_v3_exceptions. | |
172 | ||
1fbec6c3 AF |
173 | 2003-04-25 Adam Fedor <fedor@gnu.org> |
174 | ||
175 | * Makefile.in (COMMON_OBS): Add objc-lang.o | |
176 | ||
0ef21242 AC |
177 | 2003-04-25 Andrew Cagney <cagney@redhat.com> |
178 | ||
179 | * d10v-tdep.c (print_insn): Delete function. | |
180 | (display_trace): Use TARGET_PRINT_INSN. | |
181 | (_initialize_d10v_tdep): Do not set tm_print_insn. | |
182 | (d10v_gdbarch_init): Set print_insn. | |
183 | ||
f75493ed AC |
184 | 2003-04-25 Andrew Cagney <cagney@redhat.com> |
185 | ||
186 | * d10v-tdep.c (d10v_extract_return_value): Delete call to printf. | |
187 | (_initialize_d10v_tdep): Use add_setshow_boolean_cmd. | |
188 | (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC. | |
189 | (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ... | |
190 | (nr_dmap_regs, a0_regnum): ... new functions. | |
191 | (d10v_print_registers_info): Use a0_regnum, use register_size. | |
192 | (d10v_register_byte): Delete function. | |
193 | (d10v_register_raw_size): Delete function. | |
194 | (d10v_register_type): Use a0_regnum. | |
195 | (d10v_print_registers_info): Use a0_regnum. | |
196 | (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM. | |
197 | (d10v_gdbarch_init): Do not set register_byte or | |
198 | register_raw_size, use D10V_SP_REGNUM to set sp_regnum. | |
199 | (d10v_pointer_to_address): Use extract_unsigned_integer instead of | |
200 | extract_address. | |
201 | (trace_command): Use XCALLOC. | |
202 | (print_insn): Delete reference to tm_print_insn. | |
203 | (saved_regs_unwinder): Use store_unsigned_integer instead of | |
204 | store_address. | |
205 | * frame.h (FRAME_OBSTACK_CALLOC): Define | |
206 | ||
2202b100 DC |
207 | 2003-04-25 David Carlton <carlton@bactrian.org> |
208 | ||
209 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp. | |
210 | ||
4e45ca2e AF |
211 | 2003-04-24 Adam Fedor <fedor@gnu.org> |
212 | ||
213 | * objc-lang.c: Include "valprint.h" | |
214 | * Makefile.in (objc-lang.o): Update dependencies. | |
215 | ||
93de3e7f AF |
216 | 2003-04-24 Adam Fedor <fedor@gnu.org> |
217 | ||
218 | * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove | |
219 | architecture dependant compilation and mark as unimplemented | |
220 | (until they get put in the gdbarch vector). | |
221 | ||
0f20eeea DC |
222 | 2003-04-23 David Carlton <carlton@bactrian.org> |
223 | ||
224 | * cp-support.c (cp_find_first_component): Accept 'operator' in | |
225 | more locations. | |
226 | ||
74cfe982 AC |
227 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
228 | ||
229 | * infcall.c (call_function_by_hand): Eliminate redundant | |
230 | indentation. Move "saved_async" and "old_cleanups" to where they | |
231 | are needed. | |
232 | ||
52557533 AC |
233 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
234 | ||
235 | * infcall.c (call_function_by_hand): Eliminate the variables "rc" | |
236 | and "buffer". Move the "name" code to where it is needed. | |
237 | ||
158775de AC |
238 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
239 | ||
240 | * infcall.c (call_function_by_hand): Move variables "start_sp", | |
241 | "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call | |
242 | code to ON_STACK switch branch. | |
243 | ||
ebc7896c AC |
244 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
245 | ||
246 | * infcall.c (call_function_by_hand): Make declaration of "i", | |
247 | "sal", "bpt" and "old_sp" more local to their use. Delete #if | |
248 | lint. | |
249 | ||
d727590f AC |
250 | 2003-04-23 Andrew Cagney <cagney@redhat.com> |
251 | ||
252 | * infcall.c (call_function_by_hand): Delete variable | |
253 | "n_method_args". Localize "param_type"'s declaration to the loop | |
254 | that it is used. Reinstate code assigning to said variable - | |
255 | deleted on 2002-06-14. Rationalize calls to value_args_coerce. | |
256 | Rationalize code using "param_type". | |
257 | ||
d585e13a AC |
258 | 2003-04-22 Andrew Cagney <cagney@redhat.com> |
259 | ||
260 | * infcall.c (call_function_by_hand): Use new variable "bp_addr" to | |
261 | compute the breakpoint address. Only call FIX_CALL_DUMMY when | |
262 | ON_STACK. Eliminate the variable "addr". Do not pass "real_pc" | |
263 | to DEPRECATED_PUSH_RETURN_ADDRESS. | |
264 | ||
051caad9 KB |
265 | 2003-04-22 Kevin Buettner <kevinb@redhat.com> |
266 | ||
267 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM | |
268 | on the DWARF2 register number prior to fetching a register. | |
269 | ||
77296879 JB |
270 | 2003-04-22 J. Brobecker <brobecker@gnat.com> |
271 | ||
272 | * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro. | |
273 | Update all the tests using SOFT_FLOAT considering the fact that | |
274 | this macro was always set to 0. | |
275 | * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT | |
276 | considering the fact that this macro was always set to 0. | |
277 | * hppa-tdep.h (hppa_store_return_value): Likewise. | |
278 | (hppa_extract_return_value): Likewise. | |
279 | ||
4252f1df JB |
280 | 2003-04-22 J. Brobecker <brobecker@gnat.com> |
281 | ||
282 | * config/pa/tm-hppa.h: Remove obsolete code, was used by | |
283 | the hppa-pro target only. | |
284 | ||
14604c6b JB |
285 | 2003-04-21 J. Brobecker <brobecker@gnat.com> |
286 | ||
287 | Ongoing multi-arch conversion effort for HP/UX: | |
288 | * config/pa/tm-hppa.h: Move all macro that are no longer | |
289 | defined now that GDB_MULTI_ARCH is now set to 1 from here... | |
290 | * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet). | |
291 | ||
77eb01d1 JB |
292 | 2003-04-21 J. Brobecker <brobecker@gnat.com> |
293 | ||
294 | * config/pa/tm-hppa.h: Obsolete a section that was only used | |
295 | for hppa-pro. | |
296 | ||
61995b3b JB |
297 | 2003-04-21 J. Brobecker <brobecker@gnat.com> |
298 | ||
299 | Ongoing multi-arch conversion for HP/UX. | |
300 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define | |
301 | if already defined (allows hppa64 to stay non-multiarched for now). | |
302 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define. | |
303 | ||
4aa79dcc AC |
304 | 2003-04-21 Andrew Cagney <cagney@redhat.com> |
305 | ||
306 | * frame.c (frame_id_eq): Fail when the code_addr's do not match. | |
307 | ||
0f751ff2 AC |
308 | 2003-04-21 Andrew Cagney <cagney@redhat.com> |
309 | ||
310 | * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with | |
311 | "i386_num_mmx_regs". | |
312 | ||
04714b91 AC |
313 | 2003-04-21 Andrew Cagney <cagney@redhat.com> |
314 | ||
315 | * infcall.c: New file. | |
316 | * infcall.h: New file. | |
317 | * valarith.c: Include "infcall.h". | |
318 | * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto. | |
319 | * eval.c, ada-valprint.c, ada-lang.c: Ditto. | |
320 | * Makefile.in (valarith.o, scm-lang.o): Update dependencies. | |
321 | (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies. | |
322 | (eval.o, ada-valprint.o, ada-lang.o): Update dependencies. | |
323 | (SFILES): Add "infcall.c" | |
324 | (COMMON_OBS): Add "infcall.o". | |
325 | (infcall.o): Specify dependencies. | |
326 | * value.h (call_function_by_hand): Delete declaration. | |
327 | * inferior.h (run_stack_dummy): Delete declaration. | |
328 | * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c". | |
329 | (run_stack_dummy): Move to "infcall.c", merged into | |
330 | call_function_by_hand. | |
331 | * valops.c (call_function_by_hand): Moved to "infcall.c". | |
332 | (find_function_addr, value_arg_coerce): Ditto. | |
333 | (unwindonsignal_p, coerce_float_to_double): Ditto. | |
334 | (_initialize_valops): Move "set/show coerce-float-to-double", and | |
335 | "set/show unwindonsignal" commands to "infcall.c". | |
336 | * v850-tdep.c, target.h: Update comments. | |
337 | * sparc-tdep.c (sparc_fix_call_dummy): Update comments. | |
338 | * sh-tdep.c (sh_init_extra_frame_info): Update comments. | |
339 | (sh64_init_extra_frame_info): Update comments. | |
340 | * mn10300-tdep.c: Update comments. | |
341 | * mcore-tdep.c (mcore_init_extra_frame_info): Update comments. | |
342 | * config/sparc/tm-sparc.h: Update comments. | |
343 | * breakpoint.h: Update comments. | |
344 | * avr-tdep.c (avr_init_extra_frame_info): Update comments. | |
345 | * arm-tdep.c: Update comment. | |
346 | ||
f9d3c2a8 MK |
347 | 2003-04-19 Mark Kettenis <kettenis@gnu.org> |
348 | ||
c40e1eab MK |
349 | * i386-tdep.c (i386_num_register_names): New variable. |
350 | (i386_num_mmx_regs): Renamed from mmx_num_regs. | |
351 | (MM0_REGNUM): Remove redundant parentheses in define. | |
352 | (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs. | |
353 | (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, | |
354 | i386_mxcsr_regnum_p): Remove redundant parentheses. | |
355 | (i386_register_name): Use i386_num_register_names. | |
356 | ||
94ea66b3 MK |
357 | * i386-tdep.c (i386_extract_return_value, |
358 | i386_store_return_value): Correct check for availability of | |
359 | floating-point registers. | |
360 | ||
54299a1d MK |
361 | * i386-tdep.c (i386_frame_num_args): Remove function. |
362 | (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown. | |
363 | ||
c86c27af MK |
364 | * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from |
365 | mmx_regnum_to_fp_regnum. Adjust all callers. | |
366 | ||
f9d3c2a8 MK |
367 | * i386-tdep.c (i386_get_longjmp_target): Use |
368 | TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT | |
369 | and TARGET_CHAR_BIT. Use extract_typed_address instead of | |
370 | extract_address. | |
371 | ||
94ba74a9 MK |
372 | 2003-04-19 Mark Kettenis <kettenis@gnu.org> |
373 | ||
374 | * core-regset.c: Update comments to reflect reality. Re-order | |
375 | includes. | |
376 | (fetch_core_registers): Use switch instead of if. Remove | |
377 | redundant prototype. | |
378 | ||
4074e13c JB |
379 | 2003-04-18 Jim Blandy <jimb@redhat.com> |
380 | ||
381 | * s390-tdep.c (s390_frame_align): New function. | |
382 | (s390_gdbarch_init): Register it with the gdbarch object. | |
383 | ||
e3ab4aba RH |
384 | 2003-04-17 Richard Henderson <rth@redhat.com> |
385 | ||
386 | * remote.c (minitelnet): Don't redeclare escape_count, echo_check. | |
387 | ||
627bf7c1 EZ |
388 | 2003-04-17 Michael Snyder <msnyder@redhat.com> |
389 | Karen Bennet <bennet@redhat.com> | |
390 | ||
391 | Committed by Elena Zannoni <ezannoni@redhat.com> | |
392 | * gdb_gcore.sh: New script to create a core dump of a process. | |
393 | ||
514621a9 EZ |
394 | 2003-04-17 Elena Zannoni <ezannoni@redhat.com> |
395 | ||
396 | * values.c (value_being_returned): Don't fetch the return | |
397 | value if the return type is void. | |
398 | ||
b4acd559 JJ |
399 | 2003-04-17 Jeff Johnston <jjohnstn@redhat.com> |
400 | ||
401 | * thread-db.c: Reindented. | |
402 | ||
530b167e JJ |
403 | 2003-04-17 Jeff Johnston <jjohnstn@redhat.com> |
404 | ||
405 | * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, | |
406 | td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t | |
407 | as types. | |
408 | ||
ab9fe00e KB |
409 | 2003-04-16 Kevin Buettner <kevinb@redhat.com> |
410 | ||
610a3745 | 411 | * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set |
ab9fe00e KB |
412 | the size of ``long double'' to 16, instead of 8. |
413 | ||
e64a344c MK |
414 | 2003-04-16 Mark Kettenis <kettenis@gnu.org> |
415 | ||
416 | * i386-linux-nat.c: Add some whitespace to make things more | |
417 | readable. | |
418 | (fetch_register, store_register, fetch_inferior_registers, | |
419 | store_inferior_registers): Get rid of assignment in if-statement. | |
420 | (store_register): Fix typo in error message. | |
421 | ||
25d41031 AC |
422 | 2003-04-16 Andrew Cagney <cagney@redhat.com> |
423 | ||
424 | * utils.c (xmmalloc): Always allocate something, matches | |
425 | libiberty/xmalloc's semantics. | |
426 | (xmrealloc, xmcalloc): Ditto. | |
427 | ||
c50901fd AC |
428 | 2003-04-16 Andrew Cagney <cagney@redhat.com> |
429 | ||
430 | * frame.c (get_prev_frame): Do not initialize "unwind" or "type", | |
431 | update comments. | |
432 | (get_frame_type): Initialize unwind and type when needed. | |
433 | (get_frame_id, frame_register_unwind): Ditto. | |
434 | ||
f81824a9 AC |
435 | 2003-04-16 Andrew Cagney <cagney@redhat.com> |
436 | ||
437 | * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made | |
438 | obsolete. | |
439 | * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. | |
440 | * sparcl-stub.c: Obsolete file. | |
441 | * config/sparc/tm-sparclet.h: Obsolete file. | |
442 | * sparclet-stub.c: Obsolete file. | |
443 | * sparclet-rom.c: Obsolete file. | |
444 | * sparcl-tdep.c: Obsolete file. | |
445 | * config/sparc/tm-sparclite.h: Obsolete file. | |
446 | * config/sparc/sparclite.mt: Obsolete file. | |
447 | * config/sparc/sparclet.mt: Obsolete file. | |
448 | * configure.tgt: Make sparclet-*-*, sparclite-*-*, and | |
449 | sparc86x-*-* obsolete. | |
450 | ||
9219021c DC |
451 | 2003-04-15 David Carlton <carlton@math.stanford.edu> |
452 | ||
453 | * Makefile.in (SFILES): Add cp-namespace.c. | |
454 | (COMMON_OBS): Add cp-namespace.o. | |
455 | (block.o): Depend on gdb_obstack_h and cp_support_h. | |
456 | (buildsym.o): Depend on cp_support_h. | |
457 | (cp-namespace.o): New. | |
458 | (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h, | |
459 | gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h. | |
460 | (dwarf2read.o): Depend on cp_support_h. | |
461 | * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE. | |
462 | * dwarf2read.c (process_die): Set processing_has_namespace_info, | |
463 | processing_current_namespace. | |
464 | (read_namespace): Update processing_current_namespace; check for | |
465 | anonymous namespaces. | |
466 | (dwarf2_name): New function. | |
467 | (dwarf2_extension): Ditto. | |
468 | * cp-support.h: Update copyright, contributors. | |
469 | Add inclusion guards. | |
470 | Add opaque declaration for structs obstack, block, symbol. | |
471 | (struct using_direct): New struct. | |
472 | Add declarations for cp_find_first_component, | |
473 | cp_entire_prefix_len, processing_has_namespace_info, | |
474 | processing_current_namespace, cp_is_anonymous, | |
475 | cp_add_using_directive, cp_initialize_namespace, | |
476 | cp_finalize_namespace, cp_set_block_scope, | |
477 | cp_scan_for_anonymous_namespaces. | |
478 | * cp-namespace.c: New file. | |
479 | * cp-support.c: Update copyright. | |
480 | Include ctype.h, gdb_assert.h, gdbcmd.h. | |
481 | New variable maint_cplus_cmd_list. | |
482 | (cp_find_first_component): New function. | |
483 | (cp_entire_prefix_len, maint_cplus_command) | |
484 | (first_component_command, _initialize_cp_support): Ditto. | |
485 | * buildsym.c: Include cp-support.h. | |
486 | New variable using_list. | |
487 | (add_symbol_to_list): Check for anonymous namespaces. | |
488 | (finish_block): Set block's scope. | |
489 | (start_symtab): Initialize C++ namespace support. | |
490 | (end_symtab): Finalize C++ namespace support. | |
491 | * block.h: Add opaque declarations for structs | |
492 | block_namespace_info, using_direct, and obstack. | |
493 | Add declarations for block_set_scope and block_set_using. | |
494 | (struct block): Add 'language_specific' member. | |
495 | (BLOCK_NAMESPACE): New macro. | |
496 | * block.c: Include gdb_obstack.h and cp-support.h. | |
497 | (struct block_namespace_info): New struct. | |
498 | (block_set_scope): New function. | |
499 | (block_set_using, block_initialize_namespace): Ditto. | |
500 | ||
d5a921c9 KB |
501 | 2003-04-14 Kevin Buettner <kevinb@redhat.com> |
502 | ||
503 | * solib-svr4.c (svr4_have_link_map_offsets): New function. | |
504 | (locate_base): Return early if there aren't any link map offsets. | |
505 | (svr4_solib_create_inferior_hook): Warn if shared library support | |
506 | is unavailable. | |
507 | ||
d2a52b27 DC |
508 | 2003-04-14 David Carlton <carlton@math.stanford.edu> |
509 | ||
510 | * symtab.c (symbol_set_names): Add prefix when storing Java names | |
511 | in hash table. Fix for PR java/1039. | |
512 | ||
980cae7a DC |
513 | 2003-04-14 David Carlton <carlton@math.stanford.edu> |
514 | ||
515 | * symtab.c (symbol_set_names): Rename 'name' arg to | |
516 | 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'. | |
517 | * symtab.h: Change 'name' argument in declaration of | |
518 | symbol_set_names to 'linkage_name'. | |
519 | (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'. | |
520 | ||
e227b13c AC |
521 | 2003-04-14 Andrew Cagney <cagney@redhat.com> |
522 | ||
523 | * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE, | |
524 | return the fully sign-extended register value. | |
525 | (get_frame_pointer): Ditto. | |
526 | (mips_pop_frame): Initialize "proc_desc" after checking for a | |
527 | dummy frame. | |
528 | ||
36712a20 AC |
529 | 2003-04-14 Andrew Cagney <cagney@redhat.com> |
530 | ||
531 | * mips-tdep.c (mips_push_dummy_frame): Delete function. | |
532 | (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros. | |
533 | (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro. | |
534 | (mips_push_register): Delete function. | |
535 | (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and | |
536 | PUSH_FP_REGNUM. | |
537 | ||
44ea7b70 JB |
538 | 2003-04-14 Jim Blandy <jimb@redhat.com> |
539 | ||
540 | * symmisc.c: #include "gdb_regex.h". | |
541 | (maintenance_list_symtabs, maintenance_list_psymtabs): New | |
542 | functions. | |
543 | * maint.c (maintenance_list_command): New function. | |
544 | (_initialize_maint_cmds): Register the above as commands. | |
545 | * symtab.h (maintenance_list_symtabs, | |
546 | maintenance_list_psymtabs): New declarations. | |
547 | * cli/cli-cmds.c (maintenancelistlist): New variable. | |
548 | (init_cmd_lists): Initialize it. | |
549 | * cli/cli-cmds.h (maintenancelistlist): New declaration. | |
550 | * gdbcmd.h (maintenancelistlist): New declaration. | |
551 | * Makefile.in (symmisc.o): Update dependencies. | |
552 | ||
2d0c7962 EZ |
553 | 2003-04-14 Elena Zannoni <ezannoni@redhat.com> |
554 | ||
555 | * s390-nat.c: Include asm/types.h for addr_t. | |
556 | ||
1947a811 CV |
557 | 2003-04-14 Corinna Vinschen <vinschen@redhat.com> |
558 | ||
559 | * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with | |
560 | actually incoming type. | |
561 | ||
adb616d7 AC |
562 | 2003-04-13 Andrew Cagney <cagney@redhat.com> |
563 | ||
564 | * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc, | |
565 | get_next_frame and get_frame_saved_regs. | |
566 | ||
9b5e151c AC |
567 | 2003-04-13 Andrew Cagney <cagney@redhat.com> |
568 | ||
569 | * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead | |
570 | of gdbarch_num_regs. | |
571 | ||
ef6e7e13 AC |
572 | 2003-04-13 Andrew Cagney <cagney@redhat.com> |
573 | ||
574 | * frame.h: Mention what replaced what in "struct frame_info". | |
575 | * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and | |
576 | deprecated_update_frame_base_hack and | |
577 | deprecated_update_frame_pc_hack. | |
578 | * hppa-tdep.c: Ditto. | |
579 | ||
61fbb938 DJ |
580 | 2003-04-13 Daniel Jacobowitz <drow@mvista.com> |
581 | ||
582 | * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments | |
583 | to read_reg and update its comment. Remove regnum member. | |
584 | * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval. | |
585 | Don't call read_reg when setting in_reg. Call read_reg to get | |
586 | the frame base if it's in a register. Return the register number | |
587 | on the stack instead of in the context. Remove extra arguments | |
588 | to read_reg. | |
589 | * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments. | |
590 | (dwarf2_evaluate_loc_desc): Call value_from_register. Expect | |
591 | the register number on the expression stack. | |
592 | (needs_frame_read_reg): Remove extra arguments. | |
593 | ||
0d53c4c4 DJ |
594 | 2003-04-13 Daniel Jacobowitz <drow@mvista.com> |
595 | ||
596 | * dwarf2expr.c (dwarf2_read_address): Renamed from read_address; | |
597 | made non-static. | |
598 | (execute_stack_op): All callers updated. | |
599 | * dwarf2expr.h: Add prototype for dwarf2_read_address. | |
600 | * dwarf2loc.c (find_location_expression): New function. | |
601 | (dwarf_expr_frame_base): Call it. | |
602 | (dwarf2_evaluate_loc_desc): Handle 0-length location expressions. | |
603 | (dwarf2_tracepoint_var_ref): New function, broken out from | |
604 | locexpr_tracepoint_var_ref. | |
605 | (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref. | |
606 | Make static. | |
607 | (loclist_read_variable, loclist_read_needs_frame): New functions. | |
608 | (loclist_describe_location, loclist_tracepoint_var_ref): New | |
609 | functions. | |
610 | (dwarf2_loclist_funcs): New struct location_funcs. | |
611 | * dwarf2loc.h (struct dwarf2_loclist_baton): New type. | |
612 | (struct dwarf2_locexpr_baton): Add comments. | |
613 | (dwarf2_loclist_funcs): New extern. | |
614 | * dwarf2read.c (struct comp_unit_head): Remove DIE member, add | |
615 | base_address and base_known. | |
616 | (dwarf_loc_buffer): New variable. | |
617 | (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size. | |
618 | (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros. | |
619 | (dwarf2_has_info): Initialize dwarf_loc_offset. | |
620 | (dwarf2_build_psymtabs): Read in .debug_loc. | |
621 | (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and | |
622 | DWARF_LOC_SIZE. | |
623 | (psymtab_to_symtab_1): Likewise. Move base address calculation | |
624 | here, from... | |
625 | (dwarf2_get_pc_bounds): ... here. Use the base address from | |
626 | cu_header. | |
627 | (dwarf2_symbol_mark_computed): Handle location lists. | |
628 | ||
6aca59a3 DJ |
629 | 2003-04-13 Daniel Jacobowitz <drow@mvista.com> |
630 | ||
631 | * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode | |
632 | if the linkage name demangled successfully. | |
633 | ||
aca1fcd0 MK |
634 | 2003-04-13 Mark Kettenis <kettenis@gnu.org> |
635 | ||
97095916 MK |
636 | * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours, |
637 | disassmbly_flavour): Removed. | |
638 | ||
aca1fcd0 MK |
639 | * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. |
640 | ||
562a961f MK |
641 | 2003-04-13 Mark Kettenis <kettenis@gnu.org> |
642 | ||
643 | * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed. | |
644 | ||
bd013d54 AC |
645 | 2003-04-12 Andrew Cagney <cagney@redhat.com> |
646 | ||
647 | * frame.h (struct frame_info): Move definition from here ... | |
648 | * frame.c (struct frame_info): ... to here. | |
649 | ||
167ef8b1 AC |
650 | 2003-04-12 Andrew Cagney <cagney@redhat.com> |
651 | ||
652 | * gdbthread.h (save_infrun_state): Delete parameter | |
653 | "prev_func_start". | |
654 | (struct thread_info): Delete field "prev_func_start". | |
655 | (load_infrun_state): Ditto. | |
656 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
657 | * infrun.c (prev_func_start): Delete variable. | |
658 | (context_switch, init_wait_for_inferior): Update. | |
659 | (stop_stepping, keep_going): Update. | |
660 | ||
da3331ec AC |
661 | 2003-04-12 Andrew Cagney <cagney@redhat.com> |
662 | ||
663 | * gdbarch.sh: Add missing opaque declarations. | |
664 | * gdbarch.h: Regnerate. | |
665 | * symtab.h: Add missing opaque declarations. | |
666 | * value.h, target.h, symfile.h, stabsread.h: Ditto. | |
667 | * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. | |
668 | * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. | |
669 | * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. | |
670 | * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. | |
671 | * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. | |
672 | * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. | |
673 | * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. | |
674 | * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. | |
675 | * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. | |
676 | * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. | |
677 | * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. | |
678 | * cli/cli-setshow.h, cli/cli-script.h: Ditto. | |
679 | ||
18adea3f AC |
680 | 2003-04-11 Andrew Cagney <cagney@redhat.com> |
681 | ||
682 | * frame.c (get_frame_id): Return this frame's "id". | |
683 | (legacy_get_prev_frame): Set prev's frame ID code_addr to the | |
684 | function start. | |
685 | (legacy_saved_regs_this_id): Replace function body with | |
686 | internal-error. | |
687 | (deprecated_frame_xmalloc): Mark the frame ID as valid, use | |
688 | FRAME_OBSTACK_ZALLOC. | |
689 | (create_new_frame): Mark the frame ID as valid. | |
690 | ||
2252e863 AO |
691 | 2003-04-11 Alexandre Oliva <aoliva@redhat.com> |
692 | ||
693 | * Makefile.in (libbfd_h): Added missing setting. | |
694 | * mips-tdep.c (mips_gdbarch_init): Set disassembler_options | |
695 | according to the selected ABI. | |
696 | ||
a8245ab8 JJ |
697 | 2003-04-11 Jeff Johnston <jjohnstn@redhat.com> |
698 | ||
699 | * gdb_indent.sh: Recognize pid_t and sigset_t as types. | |
700 | ||
6913c89a AC |
701 | 2003-04-11 Andrew Cagney <cagney@redhat.com> |
702 | ||
703 | * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate | |
704 | SAVED_PC_AFTER_CALL. | |
705 | * gdbarch.h, gdbarch.c: Regenerate. | |
706 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
707 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
708 | * vax-tdep.c (vax_gdbarch_init): Update. | |
709 | * v850-tdep.c (v850_gdbarch_init): Update. | |
710 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
711 | * sh-tdep.c (sh_gdbarch_init): Update. | |
712 | * s390-tdep.c (s390_gdbarch_init): Update. | |
713 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
714 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
715 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
716 | * mips-tdep.c (mips_gdbarch_init): Update. | |
717 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
718 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
719 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
720 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
721 | (ia64_saved_pc_after_call): Update declaration. | |
722 | * i386ly-tdep.c (i386lynx_init_abi): Update. | |
723 | * i386-tdep.c (i386_gdbarch_init): Update. | |
724 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
725 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
726 | * frv-tdep.c (frv_gdbarch_init): Update. | |
727 | * cris-tdep.c (cris_gdbarch_init): Update. | |
728 | * avr-tdep.c (avr_gdbarch_init): Update. | |
729 | * arm-tdep.c (arm_gdbarch_init): Update. | |
730 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
731 | * ns32knbsd-nat.c (frame_num_args): Update. | |
732 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
733 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
734 | * infrun.c (step_over_function): Update. | |
735 | * i386-linux-tdep.c (skip_hurd_resolver): Update. | |
736 | * i386-interix-tdep.c (i386_interix_back_one_frame): Update. | |
737 | * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
738 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
739 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
740 | * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
741 | * arm-linux-tdep.c (skip_hurd_resolver): Update. | |
742 | * arch-utils.c (init_frame_pc_default): Update. | |
743 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
744 | * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update | |
745 | declaration. | |
746 | ||
38edeab8 AC |
747 | 2003-04-11 Andrew Cagney <cagney@redhat.com> |
748 | ||
749 | * i387-tdep.c: Update copyright. | |
750 | (i387_to_double): Delete function. | |
751 | (double_to_i387): Delete function. | |
752 | ||
81f8a206 AC |
753 | 2003-04-10 Andrew Cagney <cagney@redhat.com> |
754 | ||
755 | * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the | |
756 | frame's function's address. Simplify. | |
757 | (d10v_frame_unwind_cache): Check that the frame's function is | |
758 | non-zero. | |
759 | ||
6e691f7a JB |
760 | 2003-04-10 Jim Blandy <jimb@redhat.com> |
761 | ||
762 | * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted | |
763 | call to set_gdbarch_deprecated_push_arguments. | |
764 | ||
7f78e237 AC |
765 | 2003-04-10 Andrew Cagney <cagney@redhat.com> |
766 | ||
767 | * frame.c (fprint_frame_id): New function. | |
768 | (fprint_frame_type, fprint_frame): New function. | |
769 | (frame_pc_unwind, frame_func_unwind): Add/update trace code. | |
770 | (create_sentinel_frame, get_frame_id): Ditto. | |
771 | (frame_id_p, frame_id_eq): Ditto. | |
772 | (frame_id_inner, create_new_frame): Ditto. | |
773 | (legacy_get_prev_frame, get_prev_frame): Ditto. | |
774 | (deprecated_update_frame_pc_hack): Ditto. | |
775 | (frame_register_unwind): Ditto. | |
776 | (deprecated_update_frame_base_hack): Ditto. | |
777 | ||
f870b49b CV |
778 | 2003-04-10 Corinna Vinschen <vinschen@redhat.com> |
779 | ||
780 | * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function. | |
781 | (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new | |
782 | frame_chain function. | |
783 | * Makefile.in: Add dependencies due to above change. | |
784 | ||
7c86889b CV |
785 | 2003-04-10 Corinna Vinschen <vinschen@redhat.com> |
786 | ||
787 | * blockframe.c (legacy_frame_chain_valid): Move call to | |
788 | DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and | |
789 | inside_entry_file. | |
790 | ||
d0a55772 AC |
791 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
792 | ||
793 | * frame.h (struct frame_id): Replace "pc" and "base" with | |
794 | "stack_addr" and "code_addr". Update comments. | |
795 | (frame_id_build): Update parameter names and comment. | |
796 | (struct frame_info): Replace "id_p" and "id" with "this_id". | |
797 | * dummy-frame.c (dummy_frame_this_id): Update. | |
798 | * breakpoint.c (print_one_breakpoint): Update. | |
799 | * frame.c (get_frame_id): Update. | |
800 | (get_frame_base, frame_id_build): Update. | |
801 | (create_sentinel_frame, legacy_get_prev_frame): Update. | |
802 | (deprecated_update_frame_base_hack): Update. | |
803 | (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. | |
804 | (frame_id_inner): Ditto. | |
805 | ||
ac16bf07 AC |
806 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
807 | ||
808 | * defs.h (gdb_print_host_address): Make "addr" parameter a | |
809 | pointer constant. | |
810 | * utils.c (gdb_print_host_address): Update. | |
811 | ||
366cfc9e KB |
812 | 2003-04-09 Kevin Buettner <kevinb@redhat.com> |
813 | ||
814 | * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the | |
815 | register number for R0 is 0. | |
816 | ||
cd983b5c JB |
817 | 2003-04-09 J. Brobecker <brobecker@gnat.com> |
818 | ||
819 | * frame.h (struct gdbarch): Add opaque structure definition | |
820 | to avoid a compilation warning on LynxOS 4.0. | |
821 | ||
d1340264 AC |
822 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
823 | ||
824 | * frame.h (struct frame_info): Delete field "pc". Replace | |
825 | "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc" | |
826 | structure. | |
827 | * frame.c (frame_pc_unwind): Update. | |
828 | (create_sentinel_frame): Do not set "pc". | |
829 | (get_prev_frame): Do not set "pc". Use frame_pc_unwind. | |
830 | (get_frame_pc): Call frame_pc_unwind. | |
831 | (deprecated_update_frame_pc_hack): Update. | |
832 | (create_new_frame): Use "pc" not "->pc". | |
833 | ||
90a6fffb AC |
834 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
835 | ||
836 | * frame.c (get_frame_id): Eliminate code updating "frame". | |
837 | (legacy_get_prev_frame): Ditto. | |
838 | (get_frame_base): Return id.base directly. | |
839 | (deprecated_update_frame_base_hack): Update "id.base". | |
840 | * frame.h (struct frame_info): Delete field "frame". | |
841 | ||
2fbce691 AC |
842 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
843 | ||
844 | * NEWS: Mention that the "Sequent family" is obsolete. | |
845 | * configure.tgt: Obsolete i[3456]86-sequent-bsd*, | |
846 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
847 | * configure.host: Obsolete i[3456]86-sequent-bsd*, | |
848 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
849 | * config/i386/tm-ptx4.h: Obsolete file. | |
850 | * config/i386/tm-ptx.h: Obsolete file. | |
851 | * symm-tdep.c: Obsolete file. | |
852 | * config/i386/symmetry.mt: Obsolete file. | |
853 | * config/i386/tm-symmetry.h: Obsolete file. | |
854 | * symm-nat.c: Obsolete file. | |
855 | * config/i386/nm-symmetry.h: Obsolete file. | |
856 | * config/i386/xm-symmetry.h: Obsolete file. | |
857 | * config/i386/symmetry.mh: Obsolete file. | |
858 | * config/i386/nm-ptx4.h: Obsolete file. | |
859 | * config/i386/ptx4.mh: Obsolete file. | |
860 | * config/i386/ptx.mt: Obsolete file. | |
861 | * config/i386/ptx.mh: Obsolete file. | |
862 | * config/i386/xm-ptx4.h: Obsolete file. | |
863 | * config/i386/xm-ptx.h: Obsolete file. | |
864 | ||
78c43945 AC |
865 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
866 | ||
867 | Obsolete mips*-*-mach3*. | |
868 | * NEWS: Mention that mips*-*-mach3* is obsolete. | |
869 | * m3-nat.c: Obsolete file. | |
870 | * config/nm-m3.h: Obsolete file. | |
871 | * config/mips/tm-mipsm3.h: Obsolete file. | |
872 | * config/mips/mipsm3.mt: Obsolete file. | |
873 | * config/mips/mipsm3.mh: Obsolete file. | |
874 | * config/mips/xm-mipsm3.h: Obsolete file. | |
875 | * mipsm3-nat.c: Obsolete file. | |
876 | * configure.host: Obsolete mips-dec-mach3*. | |
877 | * configure.tgt: Obsolete mips*-*-mach3*. | |
878 | ||
f1908289 AC |
879 | 2003-04-09 Andrew Cagney <cagney@redhat.com> |
880 | ||
881 | * doublest.h: Update copyright. | |
882 | (deprecated_store_floating, deprecated_extract_floating): Rename | |
883 | store_floating and extract_floating. Update comments. | |
884 | * doublest.c: Update copyright. | |
885 | (extract_floating_by_length): Replace extract_floating. | |
886 | (store_floating_by_length): Replace store_floating. | |
887 | (deprecated_extract_floating): New function. | |
888 | (deprecated_store_floating): New function. | |
889 | (extract_typed_floating): Call extract_floating_by_length. | |
890 | (store_typed_floating): Call store_floating_by_length. | |
891 | * x86-64-tdep.c (x86_64_store_return_value): Update. | |
892 | * sh-tdep.c (sh3e_sh4_extract_return_value): Update. | |
893 | (sh64_extract_return_value): Update. | |
894 | (sh_sh4_register_convert_to_virtual): Update. | |
895 | (sh_sh64_register_convert_to_virtual): Update. | |
896 | (sh_sh4_register_convert_to_raw): Update. | |
897 | (sh_sh64_register_convert_to_raw): Update. | |
898 | * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. | |
899 | (rs6000_register_convert_to_raw): Update. | |
900 | * ia64-tdep.c (ia64_register_convert_to_virtual): Update. | |
901 | (ia64_register_convert_to_raw): Update. | |
902 | * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. | |
903 | (REGISTER_CONVERT_TO_VIRTUAL): Update. | |
904 | * arm-linux-tdep.c (arm_linux_push_arguments): Update. | |
905 | * alpha-tdep.c (alpha_register_convert_to_virtual): Update. | |
906 | (alpha_register_convert_to_raw): Update. | |
907 | ||
4443bd83 AC |
908 | 2003-04-08 Andrew Cagney <cagney@redhat.com> |
909 | ||
910 | * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. | |
911 | * gdbarch.h, gdbarch.c: Re-generate. | |
912 | * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. | |
913 | (d10v_gdbarch_init): Do not set saved_pc_after_call. | |
914 | * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P | |
915 | conditionally, use frame_pc_unwind as an alternative. Add | |
916 | comments. | |
917 | * arch-utils.c (init_frame_pc_default): Only call | |
918 | SAVED_PC_AFTER_CALL when available. | |
919 | ||
c0236d92 EZ |
920 | 2003-04-08 Elena Zannoni <ezannoni@redhat.com> |
921 | ||
922 | * infrun.c (stop_soon): Rename from stop_soon_quietly. | |
923 | (struct inferior_status): Rename stop_soon_quietly field to stop_soon. | |
924 | (clear_proceed_status): Rename stop_soon_quietly to stop_soon. | |
925 | (start_remote): Ditto. | |
926 | (handle_inferior_event): Ditto. | |
927 | (save_inferior_status): Ditto. | |
928 | (restore_inferior_status): Ditto. | |
929 | * infcmd.c (attach_command): Ditto. | |
930 | * fork-child.c (startup_inferior): Ditto. | |
931 | * inferior.h (stop_soon): Rename from stop_soon_quietly. | |
932 | * alpha-tdep.c (heuristic_proc_start): Ditto. | |
933 | * mips-tdep.c (heuristic_proc_start): Ditto. | |
934 | * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. | |
935 | * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. | |
936 | * solib-osf.c (osf_solib_create_inferior_hook): Ditto. | |
937 | * solib-irix.c (irix_solib_create_inferior_hook): Ditto. | |
938 | * remote-vx.c (vx_create_inferior): Ditto. | |
939 | ||
940 | 2003-04-08 Elena Zannoni <ezannoni@redhat.com> | |
941 | ||
942 | * infrun.c (stop_soon_quietly): Make it an enum, to better | |
943 | override the default behavior of handle_inferior_event. | |
944 | (clear_proceed_status): Update uses of stop_soon_quietly to | |
945 | reflect that it is now an enum. | |
946 | (start_remote): Ditto. | |
947 | (handle_inferior_event): Change logic a bit if stop_soon_quietly | |
948 | is set to handle the new GNU/Linux kernel behavior for | |
949 | attach/sigstop. Update uses of stop_soon_quietly. | |
950 | * inferior.h (enum stop_kind): New enum. | |
951 | * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. | |
952 | Reset normal handle_inferior_event behavior, afterwards. | |
953 | * fork-child.c (startup_inferior): Update. | |
954 | * alpha-tdep.c (heuristic_proc_start): Update. | |
955 | * solib-svr4.c (svr4_solib_create_inferior_hook): Update. | |
956 | * solib-sunos.c (sunos_solib_create_inferior_hook): Update. | |
957 | * solib-osf.c (osf_solib_create_inferior_hook): Update. | |
958 | * solib-irix.c (irix_solib_create_inferior_hook): Update. | |
959 | * remote-vx.c (vx_create_inferior): Update. | |
960 | * mips-tdep.c (heuristic_proc_start): Update. | |
961 | ||
1211bce3 EZ |
962 | 2003-04-07 Elena Zannoni <ezannoni@redhat.com> |
963 | ||
964 | * disasm.c (dump_insns): Move variables inside loop, or they will | |
965 | be freed more than once, causing wild memory corruptions. | |
966 | (gdb_disassembly): Look for the substring "-thread", | |
967 | instead of "-threads" in the target name, to make sure to find | |
968 | the 'multi-thread' target. Also, make sure we do the right thing | |
969 | with the "core" target. | |
970 | ||
f0ef6b29 KB |
971 | 2003-04-07 Kevin Buettner <kevinb@redhat.com> |
972 | ||
973 | * mips-tdep.c (mips_print_fp_register): New function, created from | |
974 | do_fp_register_row(). Registers are now (also) printed as hex. | |
975 | Only one register is printed per row. | |
976 | (mips_print_register, do_fp_register_row): Print floating point | |
977 | registers with mips_print_fp_register(). | |
978 | ||
8cf71652 AC |
979 | 2003-04-06 Andrew Cagney <cagney@redhat.com> |
980 | ||
5e488a7b AC |
981 | * valprint.h (inspect_it): Add extern declaration. |
982 | * objc-lang.c (value_nsstring): Avoid assignment inside of "if". | |
983 | (selectors_info, classes_info): Ditto. | |
984 | (find_objc_msgcall): Fix indentation. | |
985 | (objc_printstr): Delete extern declarations. | |
986 | ||
8cf71652 AC |
987 | * arm-tdep.c (arm_frameless_function_invocation): Fix typo. |
988 | ||
e6ba3bc9 AC |
989 | 2003-04-06 Andrew Cagney <cagney@redhat.com> |
990 | ||
991 | * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid. | |
992 | Update comment. | |
993 | * frame.c (legacy_saved_regs_this_id): Update. | |
994 | (legacy_get_prev_frame): Update. | |
995 | * xstormy16-tdep.c: Update comment. | |
996 | * sparc-tdep.c (sparc_frame_chain): Update comment. | |
997 | * blockframe.c (legacy_frame_chain_valid): Update. | |
998 | ||
55e1d7e7 AC |
999 | 2003-04-06 Andrew Cagney <cagney@redhat.com> |
1000 | ||
996179ee AC |
1001 | * valprint.c (val_print_type_code_int): Delete #ifdef |
1002 | PRINT_TYPELESS_INTEGER code. | |
1003 | ||
55e1d7e7 AC |
1004 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES) |
1005 | (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial | |
1006 | multi-arch definition. | |
1007 | * gdbarch.h: Re-generate. | |
1008 | ||
43bd9a9e AC |
1009 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
1010 | ||
1011 | Eliminate FRAME_FIND_SAVED_REGS. | |
1012 | * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
1013 | Change FSR parameter to a pointer. | |
1014 | * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): | |
1015 | Assume FSR parameter is a pointer. | |
1016 | * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
1017 | Make fsr a pointer. | |
1018 | * hppa-tdep.c (hppa_frame_find_saved_regs): New function. | |
1019 | (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make | |
1020 | saved_regs a pointer. | |
1021 | (hppa_frame_saved_pc): Ditto. | |
1022 | (find_dummy_frame_regs): Make frame_saved_regs a pointer | |
1023 | (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a | |
1024 | pointer. | |
1025 | (restore_pc_queue): Make fsr a pointer. | |
1026 | (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer. | |
1027 | (hppa_frame_chain): Make saved_regs a pointer, call | |
1028 | hppa_frame_init_saved_regs. | |
1029 | * sparc-tdep.c: Include "gdb_assert.h". | |
1030 | (sparc_frame_find_saved_regs): Replace internal_error with | |
1031 | gdb_assert. | |
1032 | * remote-vxsparc.c (vx_read_register): Delete reference to | |
1033 | FRAME_FIND_SAVED_REGS. | |
1034 | * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS. | |
1035 | * gdbarch.h: Regenerate. | |
1036 | * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
1037 | (deprecated_get_frame_saved_regs): Delete declaration. | |
1038 | (struct frame_saved_regs): Delete definition. | |
1039 | * frame.c (deprecated_get_frame_saved_regs): Delete function. | |
1040 | * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare. | |
1041 | (hppa_frame_find_saved_regs): Delete declaration. | |
1042 | (FRAME_FIND_SAVED_REGS): Delete macro. | |
1043 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Define. | |
1044 | * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete | |
1045 | FRAME_FIND_SAVED_REGS in comment. | |
1046 | ||
be41e9f4 AC |
1047 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
1048 | ||
1049 | * frame.c (frame_func_unwind, get_frame_func): New functions. | |
1050 | * frame.h (get_frame_func, frame_func_unwind): Declare. | |
1051 | (struct frame_info): Add field "prev_func" for caching the | |
1052 | previous frame's function address. | |
1053 | * arm-tdep.c (arm_frameless_function_invocation): Combine | |
1054 | get_pc_function_start and get_frame_pc into get_frame_func. | |
1055 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
1056 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
1057 | * s390-tdep.c (s390_function_start): Ditto. | |
1058 | * rs6000-tdep.c (rs6000_pop_frame): Ditto. | |
1059 | (rs6000_frameless_function_invocation): Ditto. | |
1060 | (rs6000_frame_saved_pc): Ditto. | |
1061 | * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto. | |
1062 | * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto. | |
1063 | * i386-tdep.c (i386_frameless_signal_p): Ditto. | |
1064 | (i386_frame_init_saved_regs): Ditto. | |
1065 | * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto. | |
1066 | * d10v-tdep.c (d10v_frame_unwind_cache): Combine | |
1067 | get_pc_function_start and frame_pc_unwind into frame_func_unwind. | |
1068 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
1069 | * blockframe.c (frameless_look_for_prologue): Ditto. | |
1070 | ||
a01dd7cc AC |
1071 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
1072 | ||
1073 | * frame.c (legacy_get_prev_frame): Link prev to next at the | |
1074 | function start. Update comments. | |
1075 | ||
5e5592e6 AC |
1076 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
1077 | ||
1078 | * frame.c (get_frame_id): Update comment. | |
1079 | (legacy_get_prev_frame): Update comment. | |
1080 | * gdbarch.sh: Delete check for EXTRA_FRAME_INFO. | |
1081 | * gdbarch.h: Regenerate. | |
1082 | * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete. | |
1083 | * frame.h: Delete #ifdef EXTRA_FRAME_INFO code. | |
1084 | ||
6fba5002 AC |
1085 | 2003-04-05 Andrew Cagney <cagney@redhat.com> |
1086 | ||
1087 | * stack.c (print_frame_info): Use get_frame_pc. | |
1088 | ||
7df05f2b AC |
1089 | 2003-04-04 Andrew Cagney <cagney@redhat.com> |
1090 | ||
1091 | * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set | |
1092 | the frame's type from the unwinder. | |
1093 | (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME. | |
1094 | (create_new_frame, legacy_get_prev_frame): When the unwinder's | |
1095 | type isn't UNKNOWN_FRAME, initalize "type" from the unwinder. | |
1096 | (get_frame_base_address): Use get_frame_type. | |
1097 | (get_frame_locals_address, get_frame_args_address): Ditto. | |
1098 | (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE. | |
1099 | * frame.h (enum frame_type): Add UNKNOWN_FRAME. | |
1100 | (struct frame_info): Add comment explaining why the frame contains | |
1101 | a "type" field. | |
1102 | * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME. | |
1103 | * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME. | |
1104 | * sentinel-frame.c (sentinel_frame_unwinder): Set the type to | |
1105 | NORMAL_FRAME. | |
1106 | * frame-unwind.h: Include "frame.h". | |
1107 | (struct frame_unwind): Add "type" field. | |
1108 | * Makefile.in (frame_unwind_h): Add $(frame_h). | |
1109 | ||
11889732 AC |
1110 | 2003-04-04 Andrew Cagney <cagney@redhat.com> |
1111 | ||
1112 | * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build. | |
1113 | * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. | |
1114 | * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and | |
1115 | get_frame_base. | |
1116 | (d10v_unwind_dummy_id): Use frame_id_build. | |
1117 | * frame.c (find_frame_sal): Use get_frame_pc. | |
1118 | (create_new_frame): Use deprecated_update_frame_pc_hack and | |
1119 | deprecated_update_frame_base_hack. | |
1120 | (create_sentinel_frame): Add comment about ->pc going away. | |
1121 | (get_prev_frame): Add comment about ->pc going away. | |
1122 | (legacy_get_prev_frame): Use get_frame_base, get_frame_pc, | |
1123 | frame_id_build, deprecated_update_frame_pc_hack and | |
1124 | deprecated_update_frame_base_hack. | |
1125 | (select_frame): Use get_frame_pc. | |
1126 | (legacy_saved_regs_this_id): Use frame_id_build. | |
1127 | ||
50c46a0d EZ |
1128 | 2003-04-04 Elena Zannoni <ezannoni@redhat.com> |
1129 | ||
1130 | * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the | |
1131 | signed integer case. | |
1132 | (classify_argument): Handle enumerations and references. | |
1133 | ||
50bbdbd9 AC |
1134 | 2003-04-04 Andrew Cagney <cagney@redhat.com> |
1135 | ||
1136 | * frame.c (create_sentinel_frame): Initialize the sentinel frame's | |
1137 | ID to NULL. | |
1138 | ||
36018d2e AF |
1139 | 2003-04-01 Adam Fedor <fedor@gnu.org> |
1140 | ||
1141 | * gdb/objc-lang.c (selectors_info): Replace calls to | |
1142 | SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with | |
1143 | SYMBOL_NATURAL_NAME. | |
1144 | (classes_info, find_methods): Likewise. | |
1145 | ||
35cec841 KB |
1146 | 2003-04-03 Kevin Buettner <kevinb@redhat.com> |
1147 | ||
1148 | * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set | |
1149 | ``mach'' to the value determined by bfd_default_set_arch_mach(). | |
1150 | ||
43136899 BR |
1151 | 2003-04-02 Bob Rossi <bob_rossi@cox.net> |
1152 | ||
1153 | * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o". | |
1154 | (SUBDIR_MI_SRCS): Add "mi-cmd-file.c". | |
1155 | (mi-cmd-file.o): Update dependencies. | |
1156 | ||
040b99fd KB |
1157 | 2003-04-01 Kevin Buettner <kevinb@redhat.com> |
1158 | ||
1159 | * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
1160 | (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. | |
1161 | ||
9a3d7dfd AF |
1162 | 2003-04-01 Adam Fedor <fedor@gnu.org> |
1163 | ||
1164 | * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h). | |
1165 | * language.h (struct language_defn): Add la_demangle. | |
1166 | (language_demangle): Declare. | |
1167 | * language.c (language_demangle): New function. | |
1168 | (unk_lang_demangle): Likewise. | |
1169 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
1170 | Add ukn_lang_demangle. | |
1171 | * ada-lang.c (ada_language_defn): Add NULL for la_demangle element. | |
1172 | * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise. | |
1173 | * c-lang.c (c_language_defn, asm_language_defn): Likewise. | |
1174 | (cplus_language_defn): Add cplus_demangle for la_demangle element. | |
1175 | * jv-lang.c (java_demangle): New function | |
1176 | (java_language_defn): Use it for la_demangle element. | |
1177 | * objc-lang.c (objc_demangle): Add options argument | |
1178 | (objc_language_defn): Use objc_demangle for la_demangle element. | |
1179 | * maint.c (maintenance_demangle): Replace switch with | |
1180 | call to language_demangle. | |
1181 | * utils.c (fprintf_symbol_filtered): Likewise. | |
1182 | ||
5e074003 AC |
1183 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
1184 | ||
1185 | * printcmd.c (print_frame_nameless_args): Delete #ifdef | |
1186 | NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and | |
1187 | PRINT_TYPELESS_INTEGER. | |
1188 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename | |
1189 | PUSH_RETURN_ADDRESS. | |
1190 | ||
270cb5d6 AC |
1191 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
1192 | ||
1193 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
1194 | * d10v-tdep.c: Include "frame-base.h". | |
1195 | (d10v_frame_unwind): Make constant. | |
1196 | (d10v_frame_base_address): New function. | |
1197 | (d10v_frame_base): New variable. | |
1198 | (d10v_gdbarch_init): Set frame_base default. | |
1199 | (struct d10v_unwind_cache): Add the field "prev_sp". Update | |
1200 | comment for base. | |
1201 | (d10v_frame_unwind_cache): Set and use "prev_sp". | |
1202 | (d10v_frame_this_id): Use the previous frame's inner most stack | |
1203 | address and this frame's func address for the frame ID. Use | |
1204 | frame_id_build. Don't analyze beyond the current instruction. | |
1205 | ||
6bfb3e36 AC |
1206 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
1207 | ||
1208 | * frame.h (get_frame_locals_address, get_frame_args_address): | |
1209 | Refer to the base address, instead of the address of the first | |
1210 | local or parameter. | |
1211 | ||
da62e633 AC |
1212 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
1213 | ||
1214 | Add frame debug info addresses: | |
1215 | * frame-base.c: New file. | |
1216 | * frame-base.h: New file. | |
1217 | * frame.h (struct frame_base): Add opaque declaration. | |
1218 | (get_frame_base): Update comment. | |
1219 | (get_frame_base_address): Declare. | |
1220 | (get_frame_locals_address): Declare. | |
1221 | (get_frame_args_address): Declare. | |
1222 | (struct frame_info): Add "base" and "base_cache". Update | |
1223 | comments on the unwinder. | |
1224 | * frame.c: Include "frame-base.h". | |
1225 | (get_frame_locals_address): New function. | |
1226 | (get_frame_base_address): New function. | |
1227 | (get_frame_args_address): New function. | |
1228 | * findvar.c (read_var_value): Use get_frame_locals_address and | |
1229 | get_frame_args_address. | |
1230 | * stack.c (frame_info): Use get_frame_locals_address and | |
1231 | get_frame_args_address. | |
1232 | (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro, | |
1233 | moved to "frame-base.c". | |
1234 | * printcmd.c (print_frame_nameless_args): Ditto. | |
1235 | * symtab.h (address_class): Update comments. | |
1236 | * dwarf2loc.c (dwarf_expr_frame_base): Add note about | |
1237 | get_frame_base_address. | |
1238 | * dwarf2expr.c (execute_stack_op): Ditto. | |
1239 | * Makefile.in (frame_base_h): Define. | |
1240 | (frame.o): Update dependencies. | |
1241 | (frame-base.o): Add dependencies. | |
1242 | (SFILES): Add frame-base.c. | |
1243 | (COMMON_OBS): Add frame-base.o. | |
1244 | ||
3d30e9c2 AC |
1245 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
1246 | ||
1247 | * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero. | |
1248 | CALL_DUMMY_LENGTH): Ditto. | |
1249 | * gdbarch.c: Re-generate. | |
1250 | * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro. | |
1251 | (CALL_DUMMY_LENGTH): Delete macro. | |
1252 | * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero. | |
1253 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
1254 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
1255 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
1256 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
1257 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
1258 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
1259 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
1260 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
1261 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
1262 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
1263 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
1264 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
1265 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
1266 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
1267 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
1268 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
1269 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
1270 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
1271 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
1272 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
1273 | ||
ce0c7262 CV |
1274 | 2003-04-01 Corinna Vinschen <vinschen@redhat.com> |
1275 | ||
1276 | * frame.c (get_prev_frame): Disable call to inside_entry_file(). | |
1277 | ||
73dd234f AC |
1278 | 2003-04-01 Andrew Cagney <cagney@redhat.com> |
1279 | ||
1280 | * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero. | |
1281 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
1282 | * gdbarch.h, gdbarch.c: Re-generate. | |
1283 | * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
1284 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
1285 | * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
1286 | * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
1287 | (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
1288 | * infcmd.c (run_stack_dummy): Simplify assuming | |
1289 | CALL_DUMMY_BREAKPOINT_OFFSET_P. | |
1290 | * infrun.c (handle_inferior_event): Ditto. | |
1291 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
1292 | call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p. | |
1293 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
1294 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
1295 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
1296 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
1297 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
1298 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
1299 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
1300 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
1301 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
1302 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
1303 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
1304 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
1305 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
1306 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
1307 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
1308 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
1309 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
1310 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
1311 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
1312 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
1313 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
1314 | ||
97606a13 DJ |
1315 | 2003-04-01 Daniel Jacobowitz <drow@mvista.com> |
1316 | ||
1317 | * symfile.c (symfile_relocate_debug_section): Update call to | |
1318 | bfd_simple_get_relocated_section_contents. | |
1319 | ||
e8ab51f7 AC |
1320 | 2003-03-31 Andrew Cagney <cagney@redhat.com> |
1321 | ||
1322 | * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. | |
1323 | * gdbarch.h, gdbarch.c: Regenerate. | |
1324 | * inferior.h (FIX_CALL_DUMMY): Delete macro. | |
1325 | * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when | |
1326 | available. | |
1327 | * frame.h (generic_fix_call_dummy): Delete declaration. | |
1328 | * dummy-frame.h: Update comment. | |
1329 | * dummy-frame.c (generic_fix_call_dummy): Delete function. | |
1330 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
1331 | fix_call_dummy. | |
1332 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
1333 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
1334 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
1335 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
1336 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
1337 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
1338 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
1339 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
1340 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
1341 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
1342 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
1343 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
1344 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
1345 | ||
018d1b48 JB |
1346 | 2003-03-31 J. Brobecker <brobecker@gnat.com> |
1347 | ||
1348 | * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful. | |
1349 | (INIT_FRAME_AP): Likewise. | |
1350 | (EXTRA_FRAME_INFO): Likewise. | |
1351 | ||
e9a2674e AC |
1352 | 2003-03-31 Andrew Cagney <cagney@redhat.com> |
1353 | ||
1354 | * gdbarch.sh: Include "symfile.h". | |
1355 | (CALL_DUMMY_ADDRESS): Default to entry_point_address. | |
1356 | * gdbarch.h, gdbarch.c: Re-generate. | |
1357 | * inferior.h (CALL_DUMMY_ADDRESS): Delete macro. | |
1358 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
1359 | call_dummy_address, the default is at entry_point_address. | |
1360 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
1361 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
1362 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
1363 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
1364 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
1365 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
1366 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
1367 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
1368 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
1369 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
1370 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
1371 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
1372 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
1373 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
1374 | ||
e8a8712a AC |
1375 | 2003-03-31 Andrew Cagney <cagney@redhat.com> |
1376 | ||
1377 | * gdbarch.sh (CALL_DUMMY_P): Delete. | |
1378 | * gdbarch.h, gdbarch.c: Re-generate. | |
1379 | * inferior.h (CALL_DUMMY_P): Delete macro. | |
1380 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1381 | * vax-tdep.c (vax_gdbarch_init): Update. | |
1382 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1383 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1384 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1385 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1386 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1387 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
1388 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
1389 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1390 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
1391 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
1392 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1393 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1394 | * i386-tdep.c (i386_gdbarch_init): Update. | |
1395 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
1396 | * frv-tdep.c (frv_gdbarch_init): Update. | |
1397 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
1398 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1399 | * breakpoint.c (deprecated_frame_in_dummy): Update. | |
1400 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1401 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
1402 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1403 | * dummy-frame.c (dummy_frame_this_id): Update comments. | |
1404 | * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto. | |
1405 | * frame.c (legacy_get_prev_frame): Ditto. | |
1406 | * valops.c (call_function_by_hand): Delete function. | |
1407 | (hand_function_call): Rename to call_function_by_hand | |
1408 | ||
ed234cf8 AC |
1409 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
1410 | ||
1411 | 2002-11-10 Klee Dienes <kdienes@apple.com> | |
1412 | * value.h (struct value): Update comment. | |
1413 | ||
06c77151 AC |
1414 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
1415 | ||
6c2b5168 AC |
1416 | * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with |
1417 | D10V_FP_REGNUM. | |
1418 | (d10v_gdbarch_init): Do not set fp_regnum. | |
1419 | ||
06c77151 AC |
1420 | * frame.c (get_frame_base): Force ID initialization. |
1421 | (get_prev_frame): Move computation of the frame ID from here ... | |
1422 | (get_frame_id): ... to here. | |
1423 | (legacy_get_prev_frame): Mark the frame ID as valid. | |
1424 | * frame.h (struct frame_info): Add field "id_p". | |
1425 | ||
97a1a11c MK |
1426 | 2003-03-30 Mark Kettenis <kettenis@gnu.org> |
1427 | ||
1428 | * i386-tdep.c (i386_store_struct_return): Removed. | |
1429 | (i386_gdbarch_init): Don't set deprecated_store_struct_return. | |
1430 | ||
6c0e89ed AC |
1431 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
1432 | ||
1433 | * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP. | |
1434 | * gdbarch.h, gdbarch.c: Regenerate. | |
1435 | * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp. | |
1436 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
1437 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
1438 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
1439 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
1440 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
1441 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
1442 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
1443 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
1444 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
1445 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
1446 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
1447 | * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update. | |
1448 | * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
1449 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define. | |
1450 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1451 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1452 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1453 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1454 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1455 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1456 | * frv-tdep.c (frv_gdbarch_init): Update. | |
1457 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1458 | * valops.c (hand_function_call): Replace TARGET_WRITE_SP with | |
1459 | DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, | |
1460 | instead of when push_dummy_call is not available. | |
1461 | ||
f7dd6af2 AC |
1462 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
1463 | ||
1464 | * infttrace.c: Include "gdbthread.h". | |
1465 | (parent_attach_all): Fix function signature. | |
1466 | (call_ptrace): Update call. | |
1467 | * Makefile.in (infttrace.o): Update dependencies. | |
1468 | ||
28f617b3 AC |
1469 | 2003-03-30 Andrew Cagney <cagney@redhat.com> |
1470 | ||
1471 | * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace | |
1472 | PUSH_RETURN_ADDRESS. | |
1473 | * gdbarch.h, gdbarch.c: Regenerate. | |
1474 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1475 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
1476 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1477 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1478 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1479 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1480 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1481 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
1482 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1483 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
1484 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1485 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1486 | * i386-tdep.c (i386_gdbarch_init): Update. | |
1487 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
1488 | * frv-tdep.c (frv_gdbarch_init): Update. | |
1489 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1490 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1491 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1492 | * valops.c (hand_function_call): Update. | |
1493 | ||
4d628cd7 AC |
1494 | 2003-03-29 Andrew Cagney <cagney@redhat.com> |
1495 | ||
1496 | * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or | |
1497 | sizeof_call_dummy_words. | |
1498 | * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always | |
1499 | define. | |
1500 | * gdbarch.h: Regenerate. | |
1501 | ||
65e82032 AC |
1502 | 2003-03-29 Andrew Cagney <cagney@redhat.com> |
1503 | ||
1504 | * infttrace.h: New file. | |
1505 | * hpread.c: Include "gdb_assert.h" and "somsolib.h". | |
1506 | (hpread_get_textlow): Detect an uninitialized dn_bufp. | |
1507 | (hpread_read_doc_function_type): Detect an initialized type1. | |
1508 | (hpread_quick_traverse): Initialize mod_name_string. | |
1509 | * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. | |
1510 | (som_solib_get_solib_by_pc): Declare. | |
1511 | (so_lib_thread_start_addr): Declare. | |
1512 | (no_shared_libraries): Declare. | |
1513 | * somread.c (init_import_symbols): Make static. Add forward | |
1514 | declaration. | |
1515 | * config/pa/nm-hppah.h: Include "infttrace.h" for | |
1516 | parent_attach_all. | |
1517 | (hppa_insert_hw_watchpoint): Declare. | |
1518 | (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. | |
1519 | * hppah-nat.c: Include "gdb_string.h". | |
1520 | (parent_attach_all): Delete extern declaration, moved to | |
1521 | "infttrace.h". | |
1522 | (hppa_can_use_hw_watchpoint): Change type of "type" parameter to | |
1523 | int. | |
1524 | (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. | |
1525 | * Makefile.in (infttrace_h): Define. | |
1526 | (hpread.o): Update dependencies. | |
1527 | (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. | |
1528 | * hppa-hpux-tdep.c: Include "gdb_string.h". | |
1529 | * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". | |
1530 | * infrun.c (handle_inferior_event): Always initialize | |
1531 | stepped_after_stopped_by_watchpoint. Add default and remove | |
1532 | fallthrough in switch statement. | |
1533 | * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" | |
1534 | parameter to int. | |
1535 | (hppa_remove_hw_watchpoint): Ditto. | |
1536 | ||
2c3bbe77 AC |
1537 | 2003-03-29 Andrew Cagney <cagney@redhat.com> |
1538 | ||
1539 | * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint | |
1540 | offset. | |
1541 | ||
2dd604e7 RE |
1542 | 2003-03-29 Richard Earnshaw <rearnsha@arm.com> |
1543 | ||
1544 | * arm-tdep.c (arm_push_arguments): Delete. | |
1545 | (struct stack_item): New type. | |
1546 | (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. | |
1547 | (arm_store_struct_return): Delte. | |
1548 | (arm_gdbarch_init): Register arm_push_dummy_call. Don't register | |
1549 | arm_push_arguments or arm_store_struct_return. | |
1550 | ||
e8933a55 AC |
1551 | 2003-03-28 Andrew Cagney <cagney@redhat.com> |
1552 | ||
1553 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
1554 | * remote.h (target_resume_hook, target_wait_loop_hook): Declare. | |
1555 | * d10v-tdep.c: Include "remote.h". | |
1556 | (target_resume_hook): Delete extern declaration. | |
1557 | (target_wait_loop_hook): Ditto. | |
1558 | (tdisassemble_command): Eliminate assignment in "if" conditional. | |
1559 | (d10v_ts2_register_sim_regno): Eliminate call to | |
1560 | legacy_register_sim_regno. | |
1561 | (d10v_ts3_register_sim_regno): Ditto. | |
1562 | ||
6949171e JJ |
1563 | 2003-03-28 Jeff Johnston <jjohnstn@redhat.com> |
1564 | ||
1565 | * thread.c: Reindented. | |
1566 | * lin-lwp.c: Ditto. | |
1567 | * linux-proc.c: Ditto. | |
1568 | ||
98c7071f BR |
1569 | 2003-03-28 Bob Rossi <bob_rossi@cox.net> |
1570 | ||
1571 | * MAINTAINERS (write after approval): Add myself. | |
1572 | ||
5edc9ca6 TR |
1573 | 2003-03-27 Theodore A. Roth <troth@openavr.org> |
1574 | ||
1575 | * objc-exp.y: Add missing semi-colons. | |
1576 | ||
378bfd1b AC |
1577 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
1578 | ||
1579 | * regcache.c (write_sp): Delete function and references. | |
1580 | * inferior.h (write_sp): Delete declaration. | |
1581 | * valops.c (hand_function_call): Replace write_sp with | |
1582 | TARGET_WRITE_SP. | |
1583 | * sparc-tdep.c (sparc_push_dummy_frame): Ditto. | |
1584 | (sparc_pop_frame): Ditto. | |
1585 | ||
56056df7 AC |
1586 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
1587 | ||
1588 | * NEWS: Mention removal of support for hppa*-*-bsd* and | |
1589 | hppa*-*-osf* natives, and hppa*-*-pro* target. | |
1590 | * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h". | |
1591 | * config/pa/xm-pa.h: Obsolete file. | |
1592 | * config/pa/xm-hppab.h: Obsolete file. | |
1593 | * config/pa/nm-hppab.h: Obsolete file. | |
1594 | * config/pa/tm-hppab.h: Obsolete file. | |
1595 | * config/pa/tm-hppao.h: Obsolete file. | |
1596 | * config/pa/nm-hppao.h: Obsolete file. | |
1597 | * config/pa/tm-pro.h: Obsolete file. | |
1598 | * config/pa/hppaosf.mt: Obsolete file. | |
1599 | * config/pa/hppaosf.mh: Obsolete file. | |
1600 | * config/pa/hppapro.mt: Obsolete file. | |
1601 | * config/pa/hppabsd.mt: Obsolete file. | |
1602 | * config/pa/hppabsd.mh: Obsolete file. | |
1603 | * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*. | |
1604 | * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and | |
1605 | hppa*-*-osf*. | |
1606 | ||
5873a88d AC |
1607 | 2003-03-27 Andrew Cagney <cagney@redhat.com> |
1608 | ||
1609 | * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of | |
1610 | push_arguments. Don't set push_return_address or write_sp. | |
1611 | (d10v_push_dummy_call): Replace d10v_push_arguments. | |
1612 | (d10v_push_return_address, d10v_write_sp): Delete function, | |
1613 | handled by push_dummy_call. | |
1614 | ||
b81774d8 AC |
1615 | 2003-03-26 Andrew Cagney <cagney@redhat.com> |
1616 | ||
1617 | * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS. | |
1618 | (push_dummy_call): New pure multi-arch replacement with gdbarch, | |
1619 | regcache and dummy_addr parameters. | |
1620 | * gdbarch.h, gdbarch.c: Re-generate. | |
1621 | * valops.c (hand_function_call): Use gdbarch_push_dummy_call when | |
1622 | available; assume it will handle stack alignment and return | |
1623 | address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and | |
1624 | legacy_push_arguments. | |
1625 | (legacy_push_arguments): Rename default_push_arguments. | |
1626 | * value.h (legacy_push_arguments): Rename default_push_arguments. | |
1627 | * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments. | |
1628 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
1629 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
1630 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
1631 | * config/i386/tm-symmetry.h: Update. | |
1632 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1633 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
1634 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1635 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1636 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1637 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1638 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1639 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
1640 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1641 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
1642 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1643 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1644 | * i386-tdep.c (i386_gdbarch_init): Update. | |
1645 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
1646 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
1647 | * frv-tdep.c (frv_gdbarch_init): Update. | |
1648 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
1649 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1650 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1651 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1652 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
1653 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
1654 | ||
f541410f DJ |
1655 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
1656 | ||
1657 | * signals/signals.c (do_target_signal_to_host): Correct realtime | |
1658 | signal range test. | |
1659 | ||
69f567ae DJ |
1660 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
1661 | ||
1662 | * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals) | |
1663 | (struct sal_chain, map_catch_names): Remove. | |
1664 | (catch_exception_command_1): Don't call | |
1665 | handle_gnu_4_16_catch_command. | |
1666 | ||
d5d14a5a DJ |
1667 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
1668 | ||
1669 | From Mark Dettinger <dettinge@de.ibm.com>: | |
1670 | * dwarf2cfi.c (read_2u): Increment pointer by two. | |
1671 | ||
bdd73e22 DJ |
1672 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
1673 | ||
1674 | * signals/signals.c: Fix typos in last change. | |
1675 | ||
960cb555 DJ |
1676 | 2003-03-26 Daniel Jacobowitz <drow@mvista.com> |
1677 | ||
1678 | * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if | |
1679 | not already defined. Use __SIGRTMIN if available. | |
1680 | (target_signal_from_host): Remove SIGRTMIN block. | |
1681 | (do_target_signal_to_host): Remove SIGRTMIN block; check that | |
1682 | the signal is within the realtime range. | |
1683 | ||
f636b87d AF |
1684 | 2003-03-25 Adam Fedor <fedor@gnu.org> |
1685 | ||
1686 | * Makefile.in (infrun.o): Add $(language_h) | |
1687 | * infrun.c (handle_inferior_event): Use skip_language_trampoline | |
1688 | for language specific trampolines. | |
1689 | * language.h (struct language_defn): Add skip_trampoline. | |
1690 | (skip_language_trampoline): Declare. | |
1691 | * language.c (unk_lang_trampoline, skip_language_trampoline): | |
1692 | New functions. | |
1693 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
1694 | Add ukn_lang_trampoline. | |
1695 | * ada-lang.c (ada_language_defn): Add NULL for language | |
1696 | specific skip_trampoline. | |
1697 | * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c, | |
1698 | scm-lang.c: Likewise. | |
1699 | * objc-lang.c (objc_skip_trampoline): New function. | |
1700 | (objc_language_defn): Add objc_skip_trampoline. | |
1701 | ||
28f617b3 | 1702 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
270c3b1d AC |
1703 | |
1704 | * frame.c (get_prev_frame): Delay validating a frame's ID - | |
1705 | non-NULL, didn't go backwards - until an attempt to unwind it to | |
1706 | the previous frame. | |
1707 | ||
f933a9c5 AC |
1708 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
1709 | ||
1710 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace | |
1711 | EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. | |
1712 | * gdbarch.h, gdbarch.c: Re-generate. | |
1713 | * config/sparc/tm-sparc.h | |
1714 | (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. | |
1715 | * sparc-tdep.c (sparc_gdbarch_init): Set | |
1716 | deprecated_extra_stack_alignment_needed. | |
1717 | * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. | |
1718 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear | |
1719 | extra_stack_alignment_needed. | |
1720 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
1721 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
1722 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
1723 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
1724 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
1725 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
1726 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
1727 | ||
4183d812 AC |
1728 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
1729 | ||
1730 | * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace | |
1731 | STORE_STRUCT_RETURN. | |
1732 | * gdbarch.h, gdbarch.c: Regenerate. | |
1733 | * d10v-tdep.c (d10v_store_struct_return): Delete function. | |
1734 | (d10v_push_arguments): Set the struct return register. | |
1735 | (d10v_gdbarch_init): Update. | |
1736 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1737 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
1738 | * vax-tdep.c (vax_gdbarch_init): Update. | |
1739 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1740 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1741 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1742 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1743 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1744 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
1745 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
1746 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1747 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
1748 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
1749 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1750 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1751 | * i386-tdep.c (i386_gdbarch_init): Update. | |
1752 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
1753 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
1754 | * frv-tdep.c (frv_gdbarch_init): Update. | |
1755 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1756 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1757 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1758 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
1759 | ||
1bf6d5cc AC |
1760 | 2003-03-25 Andrew Cagney <cagney@redhat.com> |
1761 | ||
1762 | * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. | |
1763 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace | |
1764 | CALL_DUMMY_STACK_ADJUST with a predicate variable. | |
1765 | * gdbarch.h, gdbarch.c: Regenerate. | |
1766 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
1767 | call_dummy_stack_adjust_p. | |
1768 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
1769 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
1770 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
1771 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
1772 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
1773 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
1774 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
1775 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
1776 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
1777 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
1778 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
1779 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
1780 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
1781 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
1782 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
1783 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
1784 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
1785 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
1786 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
1787 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
1788 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
1789 | * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update. | |
1790 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
1791 | * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set | |
1792 | call_dummy_stack_adjust_p. | |
1793 | * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro. | |
1794 | (CALL_DUMMY_STACK_ADJUST): Delete macro. | |
1795 | * sparc-tdep.c (sparc32_push_arguments): Update. | |
1796 | * valops.c (hand_function_call): Update. | |
1797 | ||
71c08af0 CV |
1798 | 2003-03-25 Corinna Vinschen <vinschen@redhat.com> |
1799 | ||
1800 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to | |
1801 | set_gdbarch_char_signed. | |
1802 | ||
30757f90 RE |
1803 | 2003-03-25 Richard Earnshaw <rearnsha@arm.com> |
1804 | ||
1805 | PR cli/548 | |
1806 | * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler". | |
1807 | ||
03d48a7d RE |
1808 | 2003-03-25 Richard Earnshaw <rearnsha@arm.com> |
1809 | ||
1810 | * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. | |
1811 | (_initialize_arm_tdep): Don't set tm_print_insn. | |
1812 | ||
2cf6873c AF |
1813 | 2003-03-24 Adam Fedor <fedor@gnu.org> |
1814 | ||
1815 | * Makefile.in (YYOBJ): Add objc-exp.tab.o | |
1816 | * objc-lang.h: Add multiple inclusion protection. | |
1817 | (start_msglist, add_msglist, end_msglist): Additional declarations. | |
1818 | ||
17c0759e RE |
1819 | 2003-03-24 Richard Earnshaw <rearnsha@arm.com> |
1820 | ||
1821 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum | |
1822 | value was renamed to ARM_FLOAT_SOFT_FPA. | |
1823 | ||
618ce49f AC |
1824 | 2003-03-23 Andrew Cagney <cagney@redhat.com> |
1825 | ||
1826 | * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN. | |
1827 | (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID. | |
1828 | * gdbarch.h, gdbarch.c: Regenerate. | |
1829 | * valops.c (hand_function_call): Update. | |
1830 | * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
1831 | * frame.c (legacy_saved_regs_this_id): Update. | |
1832 | (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update. | |
1833 | * dummy-frame.h: Update. | |
1834 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update. | |
1835 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
1836 | * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update. | |
1837 | * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update. | |
1838 | * config/m68k/tm-sun3.h: Update. | |
1839 | * blockframe.c (inside_main_func, frame_chain_valid): Update. | |
1840 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1841 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
1842 | * vax-tdep.c (vax_gdbarch_init): Update. | |
1843 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1844 | * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update. | |
1845 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1846 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1847 | * rs6000-tdep.c (rs6000_frame_saved_pc): Update. | |
1848 | (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update. | |
1849 | (frame_get_saved_regs): Update. | |
1850 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
1851 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
1852 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
1853 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1854 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
1855 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
1856 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1857 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1858 | * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update. | |
1859 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
1860 | (i386_interix_back_one_frame): Update. | |
1861 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
1862 | (hppa_init_extra_frame_info): Update. | |
1863 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
1864 | * frv-tdep.c (frv_gdbarch_init): Update. | |
1865 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1866 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1867 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1868 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
1869 | ||
fd50bc42 RE |
1870 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
1871 | ||
1872 | * arm-tdep.h (arm_float_model): Add AUTO and LAST values. | |
1873 | (arm_get_fp_model): Declare. | |
1874 | * arm-tdep.c (fp_model_strings): New string array. | |
1875 | (arm_fp_model, current_fp_model): New variables. | |
1876 | (arm_get_fp_model): New function. | |
1877 | (arm_set_fp): New function. | |
1878 | (set_fp_model_sfunc): New function. | |
1879 | (show_fp_model): New function. | |
1880 | (_initialize_arm_tdep): Add new command to set/show the FPU. | |
1881 | (arm_extract_return_value): Use arm_get_fp_model. | |
1882 | (arm_store_return_value): Likewise. | |
1883 | (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp | |
1884 | to initialize the floating-point data types. | |
1885 | * arm-linux-tdep.c (arm_linux_init_abi): The default floating point | |
1886 | model is FPA. | |
1887 | ||
26304000 RE |
1888 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
1889 | ||
1890 | * arm-tdep.c (show_arm_command): Don't print out help. Instead, show | |
1891 | the current setting of each value. | |
1892 | (_initialize_arm_tdep): Delete variable new_cmd and add new vars | |
1893 | new_set and new_show. Use add_setshow_cmd_full and | |
1894 | add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" | |
1895 | commands and add new version as subcommands of "set/show arm". | |
1896 | ||
afd7eef0 RE |
1897 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
1898 | ||
1899 | * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists. | |
1900 | (set_arm_command, show_arm_command): New functions. | |
1901 | (_initialize_arm_tdep): Add them. | |
1902 | (num_disassembly_options): Renamed from num_flavor_options. | |
1903 | (valid_disassembly_styles): Renamed from valid_flavors. | |
1904 | (disassembly_style): Renamed from disassembly_flavor. | |
1905 | (set_disassembly_style_sfunc): Renamed from | |
1906 | set_disassembly_flavor_sfunc. | |
1907 | (set_disassembly_style): Renamed from set_disassembly_flavor. | |
1908 | (arm_othernames): Updated. | |
1909 | (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor" | |
1910 | command. Add "set/show arm disassembly" commands. Deprecate | |
1911 | "othernames" command. | |
1912 | ||
299a7944 RE |
1913 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
1914 | ||
1915 | * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define. | |
1916 | (arm-tdep.o): Depend on elf_arm_h. | |
1917 | ||
c1dac9e6 RE |
1918 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
1919 | ||
1920 | * Makefile.in (coff_internal_h): Define. | |
1921 | (arm-tdep.o): Update dependencies. | |
1922 | ||
2702d96c RE |
1923 | 2003-03-22 Richard Earnshaw <rearnsha@arm.com> |
1924 | ||
1925 | * arm-tdep.c (prologue_cache): Delete. | |
1926 | (check_prologue_cache, save_prologue_cache): Delete. | |
1927 | (arm_scan_prologue): Don't check or update the prologue_cache. | |
1928 | (arm_gdb_arch_init): Don't initialize it. | |
1929 | (_initialize_arm_tdep): Likewise. | |
1930 | ||
27d5d74b SC |
1931 | 2003-03-21 Stephane Carrez <stcarrez@nerim.fr> |
1932 | ||
1933 | * MAINTAINERS (tui): Maintainer of tui code. | |
1934 | ||
1762d96d CV |
1935 | 2003-03-21 Corinna Vinschen <vinschen@redhat.com> |
1936 | ||
1937 | * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c. | |
1938 | (i386-cygwin-tdep.o): Add dependencies. | |
1939 | * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. | |
1940 | * i386-cygwin-tdep.c: New file. | |
1941 | * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. | |
1942 | * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o. | |
1943 | ||
4c2e2391 AC |
1944 | 2003-03-20 Andrew Cagney <cagney@redhat.com> |
1945 | ||
f20d38b7 AC |
1946 | * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. |
1947 | (handle_inferior_event): Remove code calling | |
1948 | DYNAMIC_TRAMPOLINE_NEXTPC. | |
1949 | ||
0022b738 AC |
1950 | * Makefile.in (init.c): Don't add $(srcdir) prefix when a file |
1951 | already has a full path. | |
1952 | ||
864dbc90 AC |
1953 | * main.c (gdb_main): Return 1. |
1954 | (captured_main): Call error to report an invalid interpreter. | |
1955 | ||
4c2e2391 AC |
1956 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. |
1957 | * alpha-osf1-tdep.c: Include "gdb_string.h". | |
1958 | ||
5ef7553b JB |
1959 | 2003-03-19 J. Brobecker <brobecker@gnat.com> |
1960 | ||
1961 | Continuing work to convert the hppa targets to multiarch partial. | |
1962 | ||
1963 | * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch | |
1964 | method, now that hppa_push_dummy_frame has a conformant prototype. | |
1965 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro | |
1966 | inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation | |
1967 | for the switch to multiarch partial. | |
1968 | ||
7bde8967 KB |
1969 | 2003-03-19 Kevin Buettner <kevinb@redhat.com> |
1970 | ||
1971 | * mdebugread.c (parse_symbol): For stEnd, we're done counting | |
1972 | when iss is issNull. | |
1973 | ||
b006a9e9 KB |
1974 | 2003-03-18 Kevin Buettner <kevinb@redhat.com> |
1975 | ||
1976 | * mips-tdep.c (mips_register_name): Fix fencepost error involving | |
1977 | NUM_REGS bounds check. | |
1978 | ||
5e2e9765 KB |
1979 | 2003-03-18 Kevin Buettner <kevinb@redhat.com> |
1980 | ||
1981 | * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h). | |
1982 | * mips-tdep.c (gdb_assert.h): Include. | |
1983 | (mips_generic_reg_names, mips_processor_reg_names): Make static. | |
1984 | (mips_register_name): Handle integer registers explicitly. Add | |
1985 | bounds checking. | |
1986 | (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names) | |
1987 | (mips_lsi33k_reg_names): Don't list integer registers; they're | |
1988 | handled by mips_register_name() now. | |
1989 | * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise. | |
1990 | * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise. | |
1991 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise. | |
1992 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise. | |
1993 | * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise. | |
1994 | ||
a2867626 AC |
1995 | 2003-03-18 Andrew Cagney <cagney@redhat.com> |
1996 | ||
1997 | * printcmd.c (print_scalar_formatted): Change VALADDR parameter to | |
1998 | a void pointer. | |
1999 | * gdbtypes.h (print_scalar_formatted): Update declaration. | |
2000 | * expression.h (enum exp_opcode): Remove non-ISO C trailing comma. | |
2001 | ||
06600e06 JB |
2002 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
2003 | ||
2004 | * infrun.c (observer.h): Add #include. | |
2005 | (normal_stop): Add call to observer_notify_normal_stop. | |
2006 | * Makefile.in (infrun.o): Add dependency on observer.h. | |
2007 | ||
7daf4f5b JB |
2008 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
2009 | ||
2010 | Continuing work to convert the hppa targets to multiarch partial. | |
2011 | * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function | |
2012 | parameter. Reformat comment. | |
2013 | * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile. | |
2014 | (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame() | |
2015 | to match new profile. | |
2016 | ||
3371ccc0 JB |
2017 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
2018 | ||
2019 | * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not | |
2020 | appear to be working in any case. | |
2021 | ||
4fbe891e JB |
2022 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
2023 | ||
2024 | * observer.c (observer_test_first_observer): New static variable. | |
2025 | (observer_test_second_observer): Likewise. | |
2026 | (observer_test_third_observer): Likewise. | |
2027 | (observer_test_first_notification_function): New static function. | |
2028 | (observer_test_second_notification_function): Likewise. | |
2029 | (observer_test_third_notification_function): Likewise. | |
2030 | ||
a7ff40e7 JB |
2031 | 2003-03-17 J. Brobecker <brobecker@gnat.com> |
2032 | ||
2033 | * hppa-tdep.c (gdb_assert.h): Add missing #include. | |
2034 | * somsolib.c (gdb_assert.h): Likewise. | |
2035 | * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. | |
2036 | (somsolib.o): Likewise. | |
2037 | ||
26ca4152 AC |
2038 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
2039 | ||
2040 | * disasm.c (gdb_disassembly): Set di.mach using the architecture's | |
2041 | BFD. Simplify setting of di.endian. | |
2042 | ||
0a613259 AC |
2043 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
2044 | ||
2045 | * rs6000-tdep.c (ppc_floating_point_unit_p): New function. | |
2046 | * ppc-tdep.h (ppc_floating_point_unit_p): Declare. | |
2047 | ||
2048 | From Elena Zannoni <ezannoni@redhat.com> | |
2049 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 | |
2050 | vector and floating-point parameters. | |
2051 | (ppc_sysv_abi_use_struct_convention): Handle e500 struct return | |
2052 | convention. | |
2053 | (ppc_sysv_abi_broken_use_struct_convention): Ditto. | |
2054 | ||
1132738f FN |
2055 | 2003-03-17 Fernando Nasser <fnasser@redhat.com> |
2056 | ||
2057 | * MAINTAINERS: Remove my name from several maintainership roles. | |
2058 | ||
6dc42492 AC |
2059 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
2060 | ||
2061 | Fix frame off-by-one bug. | |
2062 | * frame-unwind.h (frame_this_id_ftype): Replace | |
2063 | frame_unwind_id_ftype. | |
2064 | (frame_prev_register_ftype): Replace frame_unwind_reg_ftype. | |
2065 | (struct frame_unwind): Replace "id" with "this_id". Replace "reg" | |
2066 | with "prev_register". | |
2067 | * frame-unwind.c (frame_unwind_find_by_pc): Return | |
2068 | legacy_saved_regs_unwind instead of trad_frame_unwind. Update | |
2069 | comment. | |
2070 | * dummy-frame.c (cached_find_dummy_frame): Delete function. | |
2071 | (dummy_frame_this_id): Replace dummy_frame_id_unwind. | |
2072 | (dummy_frame_prev_register): Replace dummy_frame_register_unwind. | |
2073 | (dummy_frame_unwind): Update. | |
2074 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
2075 | sentinel_frame_register_unwind. | |
2076 | (sentinel_frame_this_id): Replace sentinel_frame_id_unwind. | |
2077 | (sentinel_frame_unwinder): Update. | |
2078 | * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
2079 | (struct frame_info): Rename "unwind_cache" to "prologue_cache". | |
2080 | * frame.c (create_sentinel_frame): Update. Initialize | |
2081 | "prologue_cache" instead of "unwind_cache". | |
2082 | (frame_register_unwind): Call this frame's prev_register with the | |
2083 | next frame and this frame's prologue cache. | |
2084 | (get_prev_frame): Simplify. Always call prev frame's this_id with | |
2085 | this frame and prev frame's prologue cache. Document that this | |
2086 | call is shifted one to the left when compared to the | |
2087 | frame_register_unwind call. | |
2088 | (legacy_saved_regs_prev_register): Replace | |
2089 | frame_saved_regs_register_unwind. | |
2090 | (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind. | |
2091 | (legacy_saved_regs_unwinder): Replace trad_frame_unwinder. | |
2092 | (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
2093 | * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind. | |
2094 | (d10v_frame_unwind): Update. | |
2095 | (d10v_frame_prev_register): Replace d10v_frame_register_unwind. | |
2096 | (d10v_frame_unwind_cache): Replace this "fi" with "next_frame". | |
2097 | (saved_regs_unwinder): Replace this "frame" with "next_frame", and | |
2098 | "saved_regs" with "this_saved_regs". | |
2099 | ||
efd710d6 AC |
2100 | 2003-03-16 Andrew Cagney <cagney@redhat.com> |
2101 | ||
2102 | * frame.c (frame_pop): Don't call target_store_registers. Fix | |
2103 | problem reported by Mark Kettenis. | |
2104 | ||
4e259f09 MK |
2105 | 2003-03-16 Mark Kettenis <kettenis@gnu.org> |
2106 | ||
2107 | * i386-tdep.c (i386_register_type): Renamed from | |
2108 | i386_register_virtual_type. Adjust function signature. | |
2109 | (i386_gdbarch_init): Set register_type instead of | |
2110 | deprecated_max_register_raw_size, | |
2111 | deprecated_max_register_virtual_size and register_virtual_type. | |
2112 | ||
055bb976 AC |
2113 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
2114 | ||
2115 | * frame.c (get_prev_frame): When a legacy frame, always call | |
2116 | legacy_get_prev_frame. Simplify unwind code using assumption that | |
2117 | the unwinder is new. | |
2118 | (legacy_get_prev_frame): Handle legacy sentinel frame unwind here. | |
2119 | (legacy_frame_p): When no gdbarch_unwind_dummy_id, or | |
2120 | SAVED_DUMMY_FRAME_TOS, assume a legacy frame. | |
2121 | ||
ac2adee5 AC |
2122 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
2123 | ||
2124 | * frame.c (get_saved_register): Delete function. | |
2125 | * frame.h (get_saved_register): Delete declaration. | |
2126 | * xstormy16-tdep.c: Update comment. | |
2127 | * regcache.h: Update comments. | |
2128 | * sparc-tdep.c (sparc_init_extra_frame_info): Instead of | |
2129 | get_saved_register and extract_address, use | |
2130 | frame_read_unsigned_register. | |
2131 | (sparc_frame_saved_pc): Ditto. | |
2132 | (sparc_get_saved_register): Instead of get_saved_register, use | |
2133 | frame_register. | |
2134 | (sparc_pop_frame): Ditto. | |
2135 | * findvar.c: Update comments. | |
2136 | (value_of_register): Call frame_register instead of | |
2137 | get_saved_register. | |
2138 | (value_from_register): Ditto. | |
2139 | * config/sparc/tm-sparc.h: Update comment. | |
2140 | * breakpoint.c: Update comment. | |
2141 | ||
129c1cd6 AC |
2142 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
2143 | ||
2144 | * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace | |
2145 | GET_SAVED_REGISTER. | |
2146 | * gdbarch.h, gdbarch.c: Re-generate. | |
2147 | * frame.h: Update comments. | |
2148 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
2149 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
2150 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
2151 | * sh-tdep.c (sh_gdbarch_init): Update. | |
2152 | * mips-tdep.c (mips_gdbarch_init): Update. | |
2153 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
2154 | * cris-tdep.c (cris_gdbarch_init): Update. | |
2155 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
2156 | * frame.c (frame_register): Update. | |
2157 | (get_saved_register): Update. | |
2158 | * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. | |
2159 | ||
749b82f6 AC |
2160 | 2003-03-13 Andrew Cagney <cagney@redhat.com> |
2161 | ||
2162 | * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. | |
2163 | * gdbarch.h, gdbarch.c: Regenerate. | |
2164 | * valops.c (hand_function_call): Update comment. | |
2165 | * stack.c (return_command): Update comment. | |
2166 | * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update. | |
2167 | * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update. | |
2168 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
2169 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
2170 | * vax-tdep.c (vax_gdbarch_init): Update. | |
2171 | * v850-tdep.c (v850_gdbarch_init): Update. | |
2172 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
2173 | * sh-tdep.c (sh_gdbarch_init): Update. | |
2174 | * s390-tdep.c (s390_gdbarch_init): Update. | |
2175 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
2176 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
2177 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
2178 | * mips-tdep.c (mips_gdbarch_init): Update. | |
2179 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
2180 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
2181 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
2182 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
2183 | * i386-tdep.c (i386_gdbarch_init): Update. | |
2184 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
2185 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
2186 | * frv-tdep.c (frv_gdbarch_init): Update. | |
2187 | * cris-tdep.c (cris_gdbarch_init): Update. | |
2188 | * avr-tdep.c (avr_gdbarch_init): Update. | |
2189 | * arm-tdep.c (arm_gdbarch_init): Update. | |
2190 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
2191 | ||
1594fa56 AC |
2192 | 2003-03-13 Andrew Cagney <cagney@redhat.com> |
2193 | ||
2194 | * frame.c (legacy_frame_p): New function. | |
2195 | (get_prev_frame): Use legacy_frame_p. | |
2196 | * frame.h (legacy_frame_p): Declare. | |
2197 | ||
7717fda3 V |
2198 | 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com> |
2199 | ||
2200 | * MAINTAINERS (write after approval): Alphabetically | |
2201 | listing corrected. | |
2202 | ||
0c67cbe9 V |
2203 | 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com> |
2204 | ||
2205 | * MAINTAINERS (write after approval): Add myself. | |
2206 | ||
03febf99 AC |
2207 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
2208 | ||
2209 | * frame.c (get_prev_frame): Rename the frame parameter to | |
2210 | "this_frame". | |
2211 | (get_next_frame, legacy_get_prev_frame): Ditto. | |
2212 | ||
0a1e1ca1 AC |
2213 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
2214 | ||
2215 | * frame.c (get_current_frame): Check target_has_registers before | |
2216 | checking target_has_stack. | |
2217 | * eval.c (evaluate_subexp_standard): Use get_selected_frame, | |
2218 | instead of deprecated_selected_frame. | |
2219 | * findvar.c (value_of_register): Pass "frame", not | |
2220 | deprecated_selected_frame, to value_of_builtin_reg. | |
2221 | ||
a66a9c23 AC |
2222 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
2223 | ||
2224 | * regcache.c (regcache_cooked_write_signed): New function. | |
2225 | (regcache_cooked_write_unsigned): New function. | |
2226 | (regcache_cooked_read_unsigned): Fix regnum in range assertion. | |
2227 | (regcache_cooked_read_signed): Fix regnum in range assertion. | |
2228 | * regcache.h (regcache_cooked_write_signed): Declare. | |
2229 | (regcache_cooked_write_unsigned): Declare. | |
2230 | ||
8bedc050 AC |
2231 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
2232 | ||
2233 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
2234 | * gdbarch.h, gdbarch.c: Re-generate. | |
2235 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
2236 | * x86-64-tdep.h: Update. | |
2237 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
2238 | * v850-tdep.c (v850_gdbarch_init): Update. | |
2239 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
2240 | * sh-tdep.c (sh_gdbarch_init): Update. | |
2241 | * s390-tdep.c (s390_gdbarch_init): Update. | |
2242 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
2243 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
2244 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
2245 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
2246 | * mips-tdep.c (mips_gdbarch_init): Update. | |
2247 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
2248 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
2249 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
2250 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
2251 | * i386-tdep.c (i386_gdbarch_init): Update. | |
2252 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
2253 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
2254 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
2255 | * frv-tdep.c (frv_gdbarch_init): Update. | |
2256 | * cris-tdep.c (cris_gdbarch_init): Update. | |
2257 | * avr-tdep.c (avr_gdbarch_init): Update. | |
2258 | * arm-tdep.c (arm_gdbarch_init): Update. | |
2259 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
2260 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
2261 | (sh64_init_extra_frame_info): Update. | |
2262 | * ns32knbsd-nat.c (frame_num_args): Update. | |
2263 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
2264 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
2265 | (xstormy16_frame_chain_valid): Update. | |
2266 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
2267 | * v850-tdep.c (v850_frame_chain): Update. | |
2268 | (v850_pop_frame): Update. | |
2269 | (v850_init_extra_frame_info): Update. | |
2270 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
2271 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
2272 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
2273 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
2274 | (mn10300_pop_frame_regular): Update. | |
2275 | (mn10300_init_extra_frame_info): Update. | |
2276 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
2277 | (mips_frame_chain): Update. | |
2278 | (mips_pop_frame): Update. | |
2279 | * mcore-tdep.c (mcore_frame_chain): Update. | |
2280 | (mcore_pop_frame): Update. | |
2281 | (mcore_init_extra_frame_info): Update. | |
2282 | * arch-utils.c (init_frame_pc_default): Update. | |
2283 | * m68k-tdep.c (isi_frame_num_args): Update. | |
2284 | (delta68_frame_num_args): Update. | |
2285 | (news_frame_num_args): Update. | |
2286 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
2287 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
2288 | (alpha_frame_chain): Update. | |
2289 | (alpha_pop_frame): Update. | |
2290 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
2291 | (hppa_init_extra_frame_info): Update. | |
2292 | (hppa_frame_chain): Update. | |
2293 | (hppa_frame_chain_valid): Update. | |
2294 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
2295 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
2296 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
2297 | (arm_init_extra_frame_info): Update. | |
2298 | (arm_pop_frame): Update. | |
2299 | * frame.c (frame_pc_unwind): Update. | |
2300 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
2301 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
2302 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
2303 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
2304 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
2305 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
2306 | ||
7a25a7c1 AC |
2307 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
2308 | ||
2309 | Eliminate the need for POP_FRAME. | |
2310 | * frame.c (do_frame_unwind_register): New function. | |
2311 | (frame_pop): When no POP_FRAME, pop the frame using register | |
2312 | unwind and a scratch regcache. | |
2313 | (frame_saved_regs_pop): Delete function. | |
2314 | (trad_frame_unwinder): Update. | |
2315 | * d10v-tdep.c (d10v_frame_pop): Delete function. | |
2316 | (d10v_frame_unwind): Update. | |
2317 | * sentinel-frame.c (sentinel_frame_pop): Delete function. | |
2318 | (sentinel_frame_unwinder): Update. | |
2319 | * dummy-frame.c (dummy_frame_pop): Delete function. | |
2320 | (dummy_frame_unwind): Update. | |
2321 | * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. | |
2322 | (struct frame_unwind): Update. | |
2323 | ||
2f38ef89 KB |
2324 | 2003-03-11 Kevin Buettner <kevinb@redhat.com> |
2325 | ||
2326 | * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to | |
2327 | mips_dwarf_dwarf2_ecoff_reg_to_regnum(). | |
2328 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): | |
2329 | Do range checks on register number obtained from debugging info. | |
2330 | (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and | |
2331 | set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of | |
2332 | set_gdbarch_ecoff_reg_to_regnum() to account for new name of | |
2333 | mapping function. | |
2334 | (do_fp_register_row): Fix typo which caused double type to be | |
2335 | used when attempting to unpack a float. | |
2336 | ||
552f4abf JB |
2337 | 2003-03-11 J. Brobecker <brobecker@gnat.com> |
2338 | ||
2339 | * breakpoint.c (bpstat_stop_status): Fix a small memory leak. | |
2340 | ||
e0d2ae16 AC |
2341 | 2003-03-11 Andrew Cagney <cagney@redhat.com> |
2342 | ||
2343 | * frame.c (deprecated_update_frame_pc_hack): Don't assume a next | |
2344 | frame. Problem found by Corinna Vinschen. | |
2345 | ||
ddbfdd06 PM |
2346 | 2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr> |
2347 | ||
2348 | * doublest.c (floatformat_from_length): Accept also | |
2349 | the real size of 'long double' type. | |
2350 | ||
088b2ddc | 2351 | 2003-03-10 Daniel Jacobowitz <drow@mvista.com> |
31cc81e9 | 2352 | |
088b2ddc | 2353 | From Klee Dienes <kdienes@apple.com>: |
31cc81e9 DJ |
2354 | * breakpoint.c (bpstat_copy): Copy the command lines as well |
2355 | as the old value, to match what is freed in bpstat_clear. | |
2356 | ||
f56f77c1 DC |
2357 | 2003-03-10 David Carlton <carlton@math.stanford.edu> |
2358 | ||
2359 | * minsyms.c (add_minsym_to_hash_table): Replace | |
2360 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
2361 | (compare_minimal_symbols, compact_minimal_symbols) | |
2362 | (install_minimal_symbols, find_solib_trampoline_target): Ditto. | |
2363 | (lookup_minimal_symbol_text): Use strcmp on linkage names instead | |
2364 | of DEPRECATED_SYMBOL_MATCHES_NAME. | |
2365 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
2366 | ||
5602984a AC |
2367 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
2368 | ||
2369 | * regcache.h (regcache_cooked_read_ftype): Define. | |
2370 | (regcache_save, regcache_restore): Add a cooked_read parameter. | |
2371 | * regcache.c (regcache_save, regcache_restore): Update. | |
2372 | (do_cooked_read): New function. | |
2373 | (regcache_cpy): Pass do_cooked_read to regcache_save and | |
2374 | regcache_restore. | |
2375 | ||
8bedc050 AC |
2376 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
2377 | ||
2378 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
2379 | * gdbarch.h, gdbarch.c: Re-generate. | |
2380 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
2381 | * x86-64-tdep.h: Update. | |
2382 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
2383 | * v850-tdep.c (v850_gdbarch_init): Update. | |
2384 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
2385 | * sh-tdep.c (sh_gdbarch_init): Update. | |
2386 | * s390-tdep.c (s390_gdbarch_init): Update. | |
2387 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
2388 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
2389 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
2390 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
2391 | * mips-tdep.c (mips_gdbarch_init): Update. | |
2392 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
2393 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
2394 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
2395 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
2396 | * i386-tdep.c (i386_gdbarch_init): Update. | |
2397 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
2398 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
2399 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
2400 | * frv-tdep.c (frv_gdbarch_init): Update. | |
2401 | * cris-tdep.c (cris_gdbarch_init): Update. | |
2402 | * avr-tdep.c (avr_gdbarch_init): Update. | |
2403 | * arm-tdep.c (arm_gdbarch_init): Update. | |
2404 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
2405 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
2406 | (sh64_init_extra_frame_info): Update. | |
2407 | * ns32knbsd-nat.c (frame_num_args): Update. | |
2408 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
2409 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
2410 | (xstormy16_frame_chain_valid): Update. | |
2411 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
2412 | * v850-tdep.c (v850_frame_chain): Update. | |
2413 | (v850_pop_frame): Update. | |
2414 | (v850_init_extra_frame_info): Update. | |
2415 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
2416 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
2417 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
2418 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
2419 | (mn10300_pop_frame_regular): Update. | |
2420 | (mn10300_init_extra_frame_info): Update. | |
2421 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
2422 | (mips_frame_chain): Update. | |
2423 | (mips_pop_frame): Update. | |
2424 | * mcore-tdep.c (mcore_frame_chain): Update. | |
2425 | (mcore_pop_frame): Update. | |
2426 | (mcore_init_extra_frame_info): Update. | |
2427 | * arch-utils.c (init_frame_pc_default): Update. | |
2428 | * m68k-tdep.c (isi_frame_num_args): Update. | |
2429 | (delta68_frame_num_args): Update. | |
2430 | (news_frame_num_args): Update. | |
2431 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
2432 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
2433 | (alpha_frame_chain): Update. | |
2434 | (alpha_pop_frame): Update. | |
2435 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
2436 | (hppa_init_extra_frame_info): Update. | |
2437 | (hppa_frame_chain): Update. | |
2438 | (hppa_frame_chain_valid): Update. | |
2439 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
2440 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
2441 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
2442 | (arm_init_extra_frame_info): Update. | |
2443 | (arm_pop_frame): Update. | |
2444 | * frame.c (frame_pc_unwind): Update. | |
2445 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
2446 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
2447 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
2448 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
2449 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
2450 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
2451 | ||
12cc2063 AC |
2452 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
2453 | ||
2454 | * gdbarch.sh (gdbarch_unwind_pc): New method. | |
2455 | * gdbarch.h, gdbarch.c: Regenerate. | |
2456 | * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, | |
2457 | but use read_pc and FRAME_SAVED_PC as fall backs. | |
2458 | (frame_saved_regs_pc_unwind): Delete function. | |
2459 | (trad_frame_unwinder): Update. | |
2460 | * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. | |
2461 | (struct frame_unwind): Update. | |
2462 | * dummy-frame.c (dummy_frame_pc_unwind): Delete function. | |
2463 | (dummy_frame_unwind): Update. | |
2464 | * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. | |
2465 | (sentinel_frame_unwinder): Update. | |
2466 | * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. | |
2467 | (d10v_frame_unwind): Update. | |
2468 | (d10v_unwind_pc): New function. | |
2469 | (d10v_gdbarch_init): Set unwind_pc. | |
2470 | ||
ef840a37 AC |
2471 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
2472 | ||
a2ce2e56 AC |
2473 | * gdbarch.h: Re-generate. |
2474 | ||
ef840a37 AC |
2475 | * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the |
2476 | PC. | |
2477 | (d10v_frame_pop): Unwind the PC, and not the LR, when restoring | |
2478 | the PC register. | |
2479 | ||
08f3424b MK |
2480 | 2003-03-08 Mark Kettenis <kettenis@gnu.org> |
2481 | ||
2482 | * gdbarch.sh (save_dummy_frame_tos): Add comment. | |
2483 | ||
1248ede2 AC |
2484 | 2003-03-08 Andrew Cagney <cagney@redhat.com> |
2485 | ||
2486 | * cli-out.c: Update copyright. | |
2487 | (cli_out_data): Define typedef. Use instead of ui_out_data. | |
2488 | ||
f49bacc8 AC |
2489 | 2003-03-08 Andrew Cagney <cagney@redhat.com> |
2490 | ||
2491 | * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to | |
2492 | the result. | |
2493 | ||
9b05f993 AC |
2494 | 2003-03-07 Andrew Cagney <cagney@redhat.com> |
2495 | ||
2496 | * gdbarch.sh: Don't generate two macro definitions when an | |
2497 | undefined macro taking no arguments. | |
2498 | * gdbarch.h: Regenerate. | |
2499 | ||
166f4c7b ML |
2500 | 2002-03-07 Michal Ludvig <mludvig@suse.cz> |
2501 | ||
2502 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos) | |
2503 | (x86_64_unwind_dummy_id): New functions. | |
2504 | (x86_64_init_abi): Register these two new functions. | |
2505 | ||
6d686a84 ML |
2506 | 2003-03-07 Michal Ludvig <mludvig@suse.cz> |
2507 | ||
2508 | * x86-64-tdep.c (x86_64_function_has_prologue): New function. | |
2509 | (x86_64_skip_prologue): Move prologue detection to | |
2510 | separate function. | |
2511 | * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. | |
2512 | ||
6314f104 AC |
2513 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
2514 | ||
2515 | * d10v-tdep.c (d10v_unwind_dummy_id): New function. | |
2516 | (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos. | |
2517 | * frame.c (get_prev_frame): Restructure the frame ID unwind code | |
2518 | to use unwind_dummy_id when a dummy frame. | |
2519 | * gdbarch.sh (unwind_dummy_id): New multi-arch method with | |
2520 | predicate. | |
2521 | * gdbarch.h, gdbarch.c: Regneerate. | |
2522 | ||
ceea5145 AC |
2523 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
2524 | ||
2525 | * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". | |
2526 | (d10v_frame_unwind_cache): Rewrite code computing the base and SP. | |
2527 | Do not use d10v_read_sp or d10v_read_fp when obtaining register | |
2528 | values. | |
2529 | ||
0d843116 AC |
2530 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
2531 | ||
2532 | * d10v-tdep.c (struct frame_extra_info): Delete unused structure. | |
2533 | (struct d10v_unwind_cache): Delete field "frameless". Replace | |
2534 | "next_addr" with "sp_offset". Add "r11_offset". | |
2535 | (d10v_frame_unwind_cache): Update. | |
2536 | (prologue_find_regs): Update. When "mv r11, sp", save the | |
2537 | "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that | |
2538 | RN was saved in r11_offset. | |
2539 | ||
b2579786 AC |
2540 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
2541 | ||
2542 | * frame.c (deprecated_update_frame_pc_hack): Also update the the | |
2543 | cached PC value in the next frame. | |
2544 | ||
218e5956 AC |
2545 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
2546 | ||
2547 | * frame.h (struct frame_info): Replace "id_unwind_cache_p" and | |
2548 | "id_unwind_cache" with "id". | |
2549 | (frame_id_unwind): Delete declaration. | |
2550 | * frame.c (frame_id_unwind): Delete function. | |
2551 | (get_prev_frame): Call the frame id unwind method directly. Store | |
2552 | the returned next frame's ID value in NEXT_FRAME. Note that there | |
2553 | is a problem with the wrong unwind ID being called with the wrong | |
2554 | unwind cache. | |
2555 | ||
ed363b1b DJ |
2556 | 2003-03-05 Daniel Jacobowitz <drow@mvista.com> |
2557 | ||
2558 | * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS. | |
2559 | ||
fe1f4a5e DJ |
2560 | 2003-03-05 James Ingham <jingham@apple.com> |
2561 | Daniel Jacobowitz <drow@mvista.com> | |
2562 | ||
2563 | * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h". | |
2564 | (auto_cp_abi): New variable. | |
2565 | (current_cp_abi, num_cp_abis): Make static. | |
2566 | (CP_ABI_MAX): Define. | |
2567 | (cp_abis): Turn into an array. | |
2568 | (value_virtual_fn_field): Fix formatting. | |
2569 | (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now | |
2570 | takes a pointer. | |
2571 | (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd) | |
2572 | (list_cp_abis, _initialize_cp_abi): New functions. | |
2573 | * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove | |
2574 | declarations for cp_abis, num_cp_abis, current_cp_abi, and | |
2575 | switch_to_cp_abi. Update prototype for register_cp_abi. | |
2576 | * Makefile.in (cp-abi.o): Update dependencies. | |
2577 | * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default | |
2578 | instead of switch_to_cp_abi. | |
2579 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to | |
2580 | register_cp_abi. | |
2581 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to | |
2582 | register_cp_abi. | |
2583 | * hpacc-abi.c (_initialize_hpacc_abi): Likewise. | |
2584 | ||
e4adbba9 DJ |
2585 | 2003-03-05 Daniel Jacobowitz <drow@mvista.com> |
2586 | ||
2587 | * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition. | |
2588 | * dwarf2loc.c: Include "regcache.h". | |
2589 | (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use | |
2590 | register_size. | |
2591 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
2592 | ||
91ccbfc1 TR |
2593 | 2003-03-04 Theodore A. Roth <troth@openavr.org> |
2594 | ||
2595 | * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the | |
2596 | number of io registers reported by remote target is not a multiple of | |
2597 | step. | |
2598 | ||
3d4e8fd2 DC |
2599 | 2003-03-04 David Carlton <carlton@math.stanford.edu> |
2600 | ||
2601 | * symtab.c (lookup_partial_symbol): Add linkage_name argument. | |
2602 | (lookup_symbol_aux_psymtabs): Update call to | |
2603 | lookup_partial_symbol. | |
2604 | (lookup_transparent_type, find_main_psymtab) | |
2605 | (make_symbol_overload_list): Ditto. | |
2606 | ||
ed42d87b KH |
2607 | 2003-03-04 Kazu Hirata <kazu@cs.umass.edu> |
2608 | ||
2609 | * MAINTAINERS (Write after approval): Update my email address. | |
2610 | ||
a0ed5532 AC |
2611 | 2003-03-03 Andrew Cagney <cagney@redhat.com> |
2612 | ||
2613 | Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. | |
2614 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with | |
2615 | predicate. Replace MAX_REGISTER_RAW_SIZE. | |
2616 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for | |
2617 | MAX_REGISTER_VIRTUAL_SIZE. | |
2618 | * regcache.c (legacy_max_register_raw_size): New function. | |
2619 | (legacy_max_register_virtual_size): New function. | |
2620 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. | |
2621 | (MAX_REGISTER_RAW_SIZE): Define. | |
2622 | (legacy_max_register_raw_size): Declare. | |
2623 | (legacy_max_register_virtual_size): Declare. | |
2624 | * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
2625 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. | |
2626 | * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
2627 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
2628 | * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
2629 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
2630 | * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
2631 | * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
2632 | * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
2633 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
2634 | * vax-tdep.c (vax_gdbarch_init): Update. | |
2635 | * v850-tdep.c (v850_gdbarch_init): Update. | |
2636 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
2637 | * sh-tdep.c (sh_gdbarch_init): Update. | |
2638 | * s390-tdep.c (s390_gdbarch_init): Update. | |
2639 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
2640 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
2641 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
2642 | * mips-tdep.c (mips_gdbarch_init): Update. | |
2643 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
2644 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
2645 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
2646 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
2647 | * i386-tdep.c (i386_gdbarch_init): Update. | |
2648 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
2649 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
2650 | * frv-tdep.c (frv_gdbarch_init): Update. | |
2651 | * cris-tdep.c (cris_gdbarch_init): Update. | |
2652 | * avr-tdep.c (avr_gdbarch_init): Update. | |
2653 | * arm-tdep.c (arm_gdbarch_init): Update. | |
2654 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
2655 | * d10v-tdep.c (d10v_gdbarch_init): Do not set | |
2656 | max_register_raw_size or max_register_virtual_size. | |
2657 | ||
8e437497 DC |
2658 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
2659 | ||
2660 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from | |
2661 | SYMBOL_MATCHES_NAME, add comment. | |
2662 | (SYMBOL_MATCHES_NATURAL_NAME): New. | |
2663 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace | |
2664 | SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. | |
2665 | (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. | |
2666 | * symtab.c (lookup_partial_symbol): Use | |
2667 | SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete | |
2668 | unhelpful comment. | |
2669 | (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not | |
2670 | SYMBOL_MATCHES_NAME. | |
2671 | Fix for PR c++/33. | |
2672 | ||
25120b0d DC |
2673 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
2674 | ||
2675 | * symtab.h (SYMBOL_MATCHES_REGEXP): Delete. | |
2676 | * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP | |
2677 | by regexp matching against SYMBOL_NATURAL_NAME. | |
2678 | ||
78a11fb4 DC |
2679 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
2680 | ||
2681 | * linespec.c (find_method): Extract code into collect_methods. | |
2682 | (collect_methods): New. | |
2683 | ||
645dd519 MK |
2684 | 2003-03-02 Mark Kettenis <kettenis@gnu.org> |
2685 | ||
b4700d91 MK |
2686 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and |
2687 | get_frame_base. | |
2688 | ||
645dd519 MK |
2689 | * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of |
2690 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
2691 | ||
0aa7e1aa SC |
2692 | 2003-03-02 Stephane Carrez <stcarrez@nerim.fr> |
2693 | ||
2694 | * arch-utils.c (generic_register_byte): Fix to use the loop index | |
2695 | and not regnum when summing the size of all registers up to regnum. | |
2696 | ||
f30ee0bc AC |
2697 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
2698 | ||
2699 | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename | |
2700 | FRAME_INIT_SAVED_REGS. | |
2701 | * gdbarch.h, gdbarch.c: Regenerate. | |
2702 | * stack.c (frame_info): Update. | |
2703 | * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. | |
2704 | (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. | |
2705 | (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. | |
2706 | * ns32k-tdep.c (ns32k_pop_frame): Update. | |
2707 | * mips-tdep.c (mips_pop_frame): Update. | |
2708 | * m68hc11-tdep.c (m68hc11_pop_frame): Update. | |
2709 | * ia64-tdep.c (ia64_frame_chain): Update. | |
2710 | (ia64_frame_saved_pc, ia64_get_saved_register): Update. | |
2711 | (ia64_frameless_function_invocation): Update. | |
2712 | (ia64_init_extra_frame_info): Update. | |
2713 | (ia64_pop_frame_regular): Update. | |
2714 | * frame.h (struct frame_info): Update comment. | |
2715 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. | |
2716 | * frame.c (frame_saved_regs_register_unwind): Update. | |
2717 | (frame_saved_regs_register_unwind): Update. | |
2718 | (deprecated_generic_get_saved_register): Update. | |
2719 | * cris-tdep.c: Update comment. | |
2720 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): | |
2721 | Rename macro. | |
2722 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
2723 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
2724 | * vax-tdep.c (vax_gdbarch_init): Update. | |
2725 | * v850-tdep.c (v850_gdbarch_init): Update. | |
2726 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
2727 | * sh-tdep.c (sh_gdbarch_init): Update. | |
2728 | * s390-tdep.c (s390_gdbarch_init): Update. | |
2729 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
2730 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
2731 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
2732 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
2733 | * mips-tdep.c (mips_gdbarch_init): Update. | |
2734 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
2735 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
2736 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
2737 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
2738 | * i386-tdep.c (i386_gdbarch_init): Update. | |
2739 | * frv-tdep.c (frv_gdbarch_init): Update. | |
2740 | * avr-tdep.c (avr_gdbarch_init): Update. | |
2741 | * arm-tdep.c (arm_gdbarch_init): Update. | |
2742 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
2743 | ||
42fa7c0f AC |
2744 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
2745 | ||
2746 | * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to | |
2747 | option enum and switch. When no windows, set the interpreter to | |
2748 | INTERP_CONSOLE. | |
2749 | ||
49c7e338 AC |
2750 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
2751 | ||
2752 | * main.c (captured_main): Replace magic option characters with an | |
2753 | enum. | |
2754 | ||
e9582e71 AC |
2755 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
2756 | ||
2757 | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename | |
2758 | INIT_EXTRA_FRAME_INFO. | |
2759 | * gdbarch.h, gdbarch.c: Regenerate. | |
2760 | * arm-tdep.c: Update comments. | |
2761 | * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. | |
2762 | * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. | |
2763 | * frame.h, avr-tdep.c: Ditto. | |
2764 | * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
2765 | (create_new_frame, legacy_get_prev_frame): Ditto. | |
2766 | * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
2767 | * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
2768 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize | |
2769 | deprecated_init_extra_frame_info instead of init_extra_frame_info. | |
2770 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
2771 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
2772 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
2773 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
2774 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
2775 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
2776 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
2777 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
2778 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
2779 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
2780 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
2781 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
2782 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
2783 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
2784 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
2785 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
2786 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
2787 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
2788 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
2789 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
2790 | ||
35cac7cf AC |
2791 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
2792 | ||
2793 | * gdbarch.sh (register_type): New function with predicate. | |
2794 | (REGISTER_VIRTUAL_TYPE): Change to function with predicate. | |
2795 | * gdbarch.h, gdbarch.c: Re-generate. | |
2796 | * arch-utils.c (generic_register_byte): Use generic_register_size. | |
2797 | (generic_register_size): When available, use | |
2798 | gdbarch_register_type. | |
2799 | * regcache.c (init_regcache_descr): When available, initialize the | |
2800 | register type array using gdbarch_register_type. If the | |
2801 | architecture supplies gdbarch_register_type, do not use the legacy | |
2802 | regcache layout. | |
2803 | * d10v-tdep.c (d10v_register_type): Replace | |
2804 | d10v_register_virtual_type. | |
2805 | (d10v_gdbarch_init): Set register_type instead of | |
2806 | register_virtual_type. | |
2807 | ||
7b83296f AC |
2808 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
2809 | ||
2810 | * Makefile.in (ax-gdb.o): Update dependencies. | |
2811 | * ax-gdb.c: Include "regcache.h". | |
2812 | (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. | |
2813 | * findvar.c (value_of_register): Ditto. | |
2814 | * infcmd.c (default_print_registers_info): Ditto. | |
2815 | ||
eadc1c87 MK |
2816 | 2003-03-01 Mark Kettenis <kettenis@gnu.org> |
2817 | ||
2818 | * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of | |
2819 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
2820 | ||
14143612 MK |
2821 | 2003-03-01 Mark Kettenis <kettenis@gnu.org> |
2822 | ||
2823 | * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead | |
2824 | of STREQ. | |
2825 | ||
a55cc764 DJ |
2826 | 2003-02-28 Daniel Jacobowitz <drow@mvista.com> |
2827 | ||
2828 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
2829 | * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. | |
2830 | * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. | |
2831 | * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. | |
2832 | * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". | |
2833 | (locexpr_tracepoint_var_ref): New function. | |
2834 | (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref. | |
2835 | ||
08a617da AC |
2836 | 2003-02-28 Andrew Cagney <cagney@redhat.com> |
2837 | ||
2838 | * regcache.c (register_size): New function. | |
2839 | * regcache.h (register_size): Declare | |
2840 | * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use | |
2841 | max_register_size instead of MAX_REGISTER_RAW_SIZE. | |
2842 | ||
4224873a DC |
2843 | 2003-02-28 David Carlton <carlton@math.stanford.edu> |
2844 | ||
2845 | * linespec.c (decode_compound): Extract code into find_method. | |
2846 | (find_method): New. | |
2847 | ||
ccdc5d7f JB |
2848 | 2003-02-28 J. Brobecker <brobecker@gnat.com> |
2849 | ||
2850 | * Makefile.in: Add rules to build and link in observer.o. | |
2851 | ||
974e8ced JB |
2852 | 2003-02-27 J. Brobecker <brobecker@gnat.com> |
2853 | ||
2854 | * observer.c: Minor comments edits. | |
2855 | ||
7a28f973 JB |
2856 | 2003-02-27 J. Brobecker <brobecker@gnat.com> |
2857 | ||
2858 | * observer.h, observer.c: New file. | |
2859 | ||
27cddce2 AC |
2860 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
2861 | ||
2862 | * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd. | |
2863 | ||
b94a41a1 SC |
2864 | 2003-02-27 Stephane Carrez <stcarrez@nerim.fr> |
2865 | ||
2866 | * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines. | |
2867 | (M6812_OP_STS_EXT): Likewise. | |
2868 | (m6811_prologue): Use the above to recognize prologue. | |
2869 | (m6812_prologue): Likewise. | |
2870 | ||
c8be8951 DC |
2871 | 2003-02-27 David Carlton <carlton@math.stanford.edu> |
2872 | ||
2873 | * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not | |
2874 | SYMBOL_PRINT_NAME. | |
2875 | (compare_psymbols): Ditto. | |
2876 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
2877 | ||
d05bb1fc MS |
2878 | 2003-02-27 Michael Snyder <msnyder@redhat.com> |
2879 | ||
4e845cd3 MS |
2880 | * f-lang.c (build_fortran_types): New function. |
2881 | (_initialize_f_language): Gdbarch-register built-in fortran types. | |
d05bb1fc MS |
2882 | * doublest.c (extract_floating): Fix warning text. |
2883 | ||
f3824013 AC |
2884 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
2885 | ||
2886 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with | |
2887 | predicate. Replaces PUSH_DUMMY_FRAME. | |
2888 | * gdbarch.h, gdbarch.c: Regnerate. | |
2889 | * valops.c (hand_function_call): Update. Call | |
2890 | generic_push_dummy_frame directly. | |
2891 | * vax-tdep.c (vax_gdbarch_init): Update. | |
2892 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
2893 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
2894 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
2895 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
2896 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
2897 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
2898 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
2899 | * inferior.h (PUSH_DUMMY_FRAME): Delete definition. | |
2900 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set | |
2901 | push_dummy_frame to generic_push_dummy_frame. | |
2902 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
2903 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
2904 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
2905 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
2906 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
2907 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
2908 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
2909 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
2910 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
2911 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
2912 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
2913 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
2914 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
2915 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
2916 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
2917 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
2918 | ||
ad188201 KB |
2919 | 2003-02-26 Kevin Buettner <kevinb@redhat.com> |
2920 | ||
2921 | * mips-tdep.c (show_mips_abi): New function. | |
2922 | (_initialize_mips_tdep): Use show_mips_abi() to implement the | |
2923 | command ``show mips abi''. | |
2924 | ||
6b37567a JJ |
2925 | 2003-02-26 Jeff Johnston <jjohnstn@redhat.com> |
2926 | ||
2927 | From Elena Zannoni <ezannoni@redhat.com> | |
2928 | * dbxread.c (process_one_symbol): Only record line 0 if one or | |
2929 | more sline entries have been seen for the function. | |
2930 | ||
d3e0a5bf MC |
2931 | 2003-02-26 Michael Chastain <mec@shout.net> |
2932 | ||
2933 | * configure: Regenerate with autoconf 000227. | |
2934 | ||
18972eea MC |
2935 | 2003-02-26 Michael Chastain <mec@shout.net> |
2936 | ||
2937 | Close PR build/660. | |
2938 | * PROBLEMS (i[3456]86-*-linux*): Note explicit error message | |
2939 | for old libc5/glibc. | |
2940 | * gdb_thread_db.h: Die if not HAVE_UINTPTR_T. | |
2941 | ||
0bbde931 KW |
2942 | 2003-02-26 Kris Warkentin <kewarken@qnx.com> |
2943 | ||
2944 | * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO. | |
2945 | * osabi.c (gdb_osabi_names): Add "QNX Neutrino". | |
2946 | ||
27ca5dad MC |
2947 | 2003-02-26 Michael Chastain <mec@shout.net> |
2948 | ||
2949 | * configure.in: New variable HAVE_UINTPTR_T. | |
2950 | * configure, config.in: Regenerated. | |
2951 | ||
6f88d630 DJ |
2952 | 2003-02-26 Daniel Jacobowitz <drow@mvista.com> |
2953 | ||
2954 | Fix PR build/1097. | |
2955 | * utils.c (gdb_realpath): Move closing brace outwards one #endif. | |
2956 | ||
b14185ce AC |
2957 | 2003-02-25 Andrew Cagney <cagney@redhat.com> |
2958 | ||
2959 | * frame.c (get_prev_frame): Add comment on check for | |
2960 | inside_entry_func. Only check for inside_entry_file when not a | |
2961 | dummy and not a sentinel. Check that the new frame is not inner | |
2962 | to the old frame. | |
2963 | ||
ac2bd0a9 AC |
2964 | 2003-02-25 Andrew Cagney <cagney@redhat.com> |
2965 | ||
2966 | * frame.c (frame_debug): New variable. | |
2967 | (_initialize_frame): Add "set/show debug frame" command. | |
2968 | (get_prev_frame): When frame_debug, print reason why unwind | |
2969 | failed. | |
2970 | ||
b18a0fd2 MC |
2971 | 2003-02-25 Michael Chastain <mec@shout.net> |
2972 | ||
2973 | * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later | |
2974 | to avoid uintptr_t definition problems. | |
2975 | ||
22abf04a DC |
2976 | 2003-02-25 David Carlton <carlton@math.stanford.edu> |
2977 | ||
2978 | * symtab.h (SYMBOL_NATURAL_NAME): New macro. | |
2979 | (SYMBOL_LINKAGE_NAME): Ditto. | |
2980 | (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and | |
2981 | SYMBOL_LINKAGE_NAME. | |
2982 | (struct general_symbol_info): Expand comment. | |
2983 | (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. | |
2984 | (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. | |
2985 | (SYMBOL_MATCHES_REGEXP): Ditto. | |
2986 | * symtab.c (symbol_natural_name): New function. | |
2987 | * objfiles.h: Replace all uses of SYMBOL_NAME by | |
2988 | DEPRECATED_SYMBOL_NAME. | |
2989 | * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. | |
2990 | * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. | |
2991 | * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. | |
2992 | * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. | |
2993 | * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. | |
2994 | * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. | |
2995 | * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. | |
2996 | * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. | |
2997 | * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. | |
2998 | * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. | |
2999 | * ada-exp.y: Ditto. | |
3000 | * ada-exp.y: Update copyright. | |
3001 | * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. | |
3002 | * cp-valprint.c: Ditto. | |
3003 | ||
1a5848f6 JJ |
3004 | 2003-02-25 Jeff Johnston <jjohnstn@redhat.com> |
3005 | ||
3006 | * infptrace.c (detach): Do not flag error if ptrace detach fails | |
3007 | and errno is set to ESRCH. | |
3008 | ||
7343d46a AC |
3009 | 2003-02-24 Andrew Cagney <cagney@redhat.com> |
3010 | ||
3011 | * infptrace.c (udot_info): Change type of udot_off to long. Use | |
3012 | paddr when printing udot_off's value. | |
3013 | ||
49fa1dc2 DC |
3014 | 2003-02-24 David Carlton <carlton@math.stanford.edu> |
3015 | ||
3016 | * symtab.c (make_symbol_overload_list): Only read in partial | |
3017 | symtabs containing a matching partial symbol. | |
3018 | ||
0fe19209 DC |
3019 | 2003-02-24 David Carlton <carlton@math.stanford.edu> |
3020 | ||
3021 | * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to | |
3022 | do the comparison, not strcmp. | |
3023 | * symfile.c (compare_psymbols): Ditto. | |
3024 | * defs.h: Declare strcmp_iw_ordered. | |
3025 | * utils.c (strcmp_iw_ordered): New function. | |
3026 | ||
8e3ee7b5 JB |
3027 | 2003-02-24 Jim Blandy <jimb@redhat.com> |
3028 | ||
3029 | * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme | |
3030 | support, shared libs): Remove my name from here, to better reflect | |
3031 | reality. | |
3032 | ||
7df1a324 KW |
3033 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
3034 | ||
3035 | * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define. | |
3036 | (target_ops): Add to_have_continuable_watchpoint. | |
3037 | * target.c (update_current_target): Add INHERIT line for | |
3038 | to_have_continuable_watchpoint. | |
3039 | * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines. | |
3040 | * config/i386/nm-i386.h, config/i386/nm-i386sco5.h, | |
3041 | config/i386/nm-i386sol2.h, config/s390/nm-linux.h, | |
3042 | config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1. | |
3043 | ||
d1c76907 EZ |
3044 | 2003-02-24 Elena Zannoni <ezannoni@redhat.com> |
3045 | ||
3046 | * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop | |
3047 | maintainership. | |
3048 | ||
2610b0bf KW |
3049 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
3050 | ||
f46169db KW |
3051 | * solib.c (solib_open): Call target defined search function after |
3052 | failing with solib-search-path. | |
3053 | * solist.h (target_so_ops): Add find_and_open_solib function hook and | |
3054 | create define TARGET_SO_FIND_AND_OPEN_SOLIB. | |
2610b0bf | 3055 | |
9a3c34fe KW |
3056 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
3057 | ||
f46169db | 3058 | * MAINTAINERS: Add myself to Write After section. |
9a3c34fe | 3059 | |
2417dd25 SC |
3060 | 2003-02-23 Stephane Carrez <stcarrez@nerim.fr> |
3061 | ||
3062 | * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide. | |
3063 | ||
b631436b SC |
3064 | 2003-02-22 Stephane Carrez <stcarrez@nerim.fr> |
3065 | ||
3066 | * m68hc11-tdep.c (m68hc11_init_reggroups): New function. | |
3067 | (m68hc11_add_reggroups): New function. | |
3068 | (m68hc11_register_reggroup_p): New to register hard/soft reggroups. | |
3069 | (m68hc11_gdbarch_init): Install the reggroups. | |
3070 | (_initialize_m68hc11_tdep): Initialize them. | |
3071 | ||
0aa8c1e4 JW |
3072 | 2003-02-21 James E Wilson <wilson@tuliptree.org> |
3073 | ||
3074 | * MAINTAINERS: Update my email address. | |
3075 | ||
50ceaba5 DC |
3076 | 2003-02-21 David Carlton <carlton@math.stanford.edu> |
3077 | ||
3078 | * arm-tdep.c (arm_gdbarch_init): Add break after default label. | |
3079 | ||
4c2df51b DJ |
3080 | 2003-02-21 Daniel Jacobowitz <drow@mvista.com> |
3081 | ||
3082 | Based on a patch from Daniel Berlin (dberlin@dberlin.org). | |
3083 | * symtab.h: Add opaque declarations of struct axs_value and | |
3084 | struct agent_expr. | |
3085 | (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. | |
3086 | (struct location_funcs): New type. | |
3087 | (struct symbol): Add "loc" to aux_value. | |
3088 | (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. | |
3089 | * dwarf2read.c: Include "dwarf2expr.h". | |
3090 | (dwarf2_symbol_mark_computed): New function. | |
3091 | (read_func_scope): Use it. | |
3092 | (var_decode_location): New function. | |
3093 | (new_symbol): Use it. | |
3094 | * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. | |
3095 | ||
3096 | * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. | |
3097 | (dwarf2expr_h, dwarf2loc_h): New variables. | |
3098 | (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. | |
3099 | (dwarf2expr.o, dwarf2loc.o): New rules. | |
3100 | (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). | |
3101 | * buildsym.c (finish_block): Handle LOC_COMPUTED and | |
3102 | LOC_COMPUTED_ARG. | |
3103 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
3104 | * m2-exp.y (yylex): Likewise. | |
3105 | * printcmd.c (address_info, print_frame_args): Likewise. | |
3106 | * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. | |
3107 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
3108 | * ada-lang.c (ada_resolve_subexp, symtab_for_sym) | |
3109 | (ada_add_block_symbols, fill_in_ada_prototype): Likewise. | |
3110 | * symtab.c (lookup_block_symbol): Likewise. | |
3111 | ||
5784d15e AF |
3112 | 2003-02-20 Adam Fedor <fedor@gnu.org> |
3113 | ||
3114 | * symtab.h: Remove objc_specific struct | |
3115 | (SYMBOL_OBJC_DEMANGLED_NAME): Remove. | |
3116 | * symtab.c (symbol_init_language_specific, symbol_demangled_name): | |
3117 | Have language_objc use cplus_specific struct. | |
3118 | ||
d4cad8db TT |
3119 | 2003-02-20 Tom Tromey <tromey@redhat.com> |
3120 | ||
3121 | * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not | |
3122 | TYPE_NAME, when printing a String value. PR java/1075. | |
3123 | ||
2f9a90b4 AF |
3124 | 2003-02-20 Adam Fedor <fedor@gnu.org> |
3125 | ||
d38074a8 | 3126 | * objc-lang.h (find_methods): Remove declaration. |
2f9a90b4 AF |
3127 | * objc-lang.c (find_methods): Make static. |
3128 | ||
6f17862b CF |
3129 | 2003-02-20 Christopher Faylor <cgf@redhat.com> |
3130 | ||
3131 | * win32-nat.c (get_image_name): Check return value from | |
3132 | ReadProcessMemory. | |
3133 | (child_xfer_memory): Ditto. | |
3134 | ||
715d1656 AO |
3135 | 2003-02-20 Alexandre Oliva <aoliva@redhat.com> |
3136 | ||
3137 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
3138 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
3139 | '${exec_prefix}' (in addition to the expansion thereof) as | |
3140 | relocatable. | |
3141 | * configure: Rebuilt. | |
3142 | ||
b1262a02 DC |
3143 | 2003-02-20 David Carlton <carlton@math.stanford.edu> |
3144 | ||
3145 | * symtab.c (search_symbols): Revert the search_symbols part of my | |
3146 | 2002-12-23 patch. Add comment. | |
3147 | ||
7134143f DJ |
3148 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
3149 | ||
3150 | * coffread.c (coff_symfile_read): Clean up minimal symbols earlier. | |
3151 | * dbxread.c (elfstab_build_psymtabs): Don't call | |
3152 | install_minimal_symbols. | |
3153 | (stabsect_build_psymtabs): Likewise. | |
3154 | * elfread.c (elf_symfile_read): Call install_minimal_symbols | |
3155 | earlier. | |
3156 | * somread.c (som_symfile_read): Call install_minimal_symbols | |
3157 | and do_cleanups earlier. | |
3158 | * nlmread.c (nlm_symfile_read): Likewise. | |
3159 | * mdebugread.c (elfmdebug_build_psymtabs): Call | |
3160 | install_minimal_symbols and make appropriate cleanups. | |
3161 | ||
cf466558 KB |
3162 | 2003-02-20 Kevin Buettner <kevinb@redhat.com> |
3163 | ||
3164 | * solib.c (reload_shared_libraries): New function. | |
3165 | (_initialize_solib): Add callbacks for ``set solib-search-path'' | |
3166 | and ``set solib-absolute-prefix''. | |
3167 | ||
de5ad195 DC |
3168 | 2003-02-20 David Carlton <carlton@math.stanford.edu> |
3169 | ||
3170 | * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME; | |
3171 | expand comment. | |
3172 | * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace | |
3173 | SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME. | |
3174 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
3175 | * ax-gdb.c (gen_var_ref): Ditto. | |
3176 | * breakpoint.c (print_one_breakpoint): Ditto. | |
3177 | * buildsym.c (finish_block): Ditto. | |
3178 | * c-valprint.c (c_val_print): Ditto. | |
3179 | * expprint.c (print_subexp): Ditto. | |
3180 | * findvar.c (locate_var_value): Ditto. | |
3181 | * infcmd.c (jump_command): Ditto. | |
3182 | * linespec.c (decode_line_2, decode_compound): Ditto. | |
3183 | * maint.c (maintenance_translate_address): Ditto. | |
3184 | * objc-lang.c (compare_selectors, compare_classes): Ditto. | |
3185 | * printcmd.c (build_address_symbolic, sym_info, print_frame_args): | |
3186 | Ditto. | |
3187 | * p-valprint.c (pascal_val_print): Ditto. | |
3188 | * stabsread.c (define_symbol): Ditto. | |
3189 | * stack.c (print_frame, frame_info, print_block_frame_locals) | |
3190 | (print_frame_arg_vars, return_command): Ditto. | |
3191 | * symfile.c (compare_symbols, compare_psymbols): Ditto. | |
3192 | * symmisc.c (print_symbol): Ditto. | |
3193 | * symtab.c (lookup_partial_symbol, lookup_block_symbol) | |
3194 | (compare_search_syms, print_symbol_info, print_msymbol_info) | |
3195 | (rbreak_command): Ditto. | |
3196 | * tracepoint.c (tracepoints_info): Ditto. | |
3197 | * typeprint.c (typedef_print): Ditto. | |
3198 | * valops.c (value_of_variable, hand_function_call): Ditto. | |
3199 | * cli/cli-cmds.c (edit_command, list_command): Ditto. | |
3200 | * ada-typeprint.c: Update Copyright. | |
3201 | * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. | |
3202 | * tracepoint.c, cli/cli-cmds.c: Ditto. | |
3203 | ||
f796e4be KB |
3204 | 2003-02-20 Kevin Buettner <kevinb@redhat.com> |
3205 | ||
3206 | * frame.c (generic_unwind_get_saved_register): Make non-static. | |
3207 | * frame.h (generic_unwind_get_saved_register): Declare. | |
3208 | * mips-tdep.c (read_next_frame_reg): Fetch register from | |
3209 | current regcache when frame is NULL. | |
3210 | (mips_init_extra_frame_info): Pass NULL explicitly for parameter | |
3211 | that must be NULL. | |
3212 | (mips_get_saved_register): Call generic_unwind_get_saved_register() | |
3213 | instead of frame_register_unwind(). | |
3214 | ||
836cc9f4 AC |
3215 | 2003-02-20 Andrew Cagney <ac131313@redhat.com> |
3216 | ||
3217 | * remote-sim.c (gdbsim_insert_breakpoint) | |
3218 | (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS | |
3219 | code. | |
3220 | ||
501eef12 AC |
3221 | 2003-02-20 Andrew Cagney <ac131313@redhat.com> |
3222 | ||
3223 | * remote.c (_initialize_remote): Add commands "set/show remote | |
3224 | hardware-watchpoint-limit" and "set/show remote | |
3225 | hardware-breakpoint-limit". | |
3226 | (remote_hw_watchpoint_limit): Initialize to -1. | |
3227 | (remote_hw_breakpoint_limit): Ditto. | |
3228 | (remote_check_watch_resources): Treat a limit of -1 as unlimited. | |
3229 | ||
1b6bc7e0 CF |
3230 | 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk> |
3231 | ||
3232 | * coff-pe-read.c: New file - support reading of minimal symbols from a | |
3233 | portable executable using the export table. | |
3234 | * coff-pe-read.h: New file. | |
3235 | * coffread.c: Include coff-pe-read.h. | |
3236 | (coff_symtab_read): Call read_pe_exported_syms iff no recognized | |
3237 | debugging symbols found. | |
3238 | * Makefile.in (SFILES): Add coff-pe-read.o. | |
3239 | (coff_pe_read_h): Define. | |
3240 | (COMMON_OBS): Add coff-pe-read.o. | |
3241 | (coffread.o): Add coff_pe_read_h dependency. | |
3242 | (coff-pe-read.o): New target. | |
3243 | ||
fe898f56 DC |
3244 | 2003-02-19 David Carlton <carlton@math.stanford.edu> |
3245 | ||
3246 | * Makefile.in (SFILES): Add block.c. | |
3247 | (block_h): New. | |
3248 | (COMMON_OBS): Add block.o. | |
3249 | (block.o): New. | |
3250 | (x86-64-tdep.o): Add $(block_h). | |
3251 | (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o) | |
3252 | (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o) | |
3253 | (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o) | |
3254 | (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o) | |
3255 | (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o) | |
3256 | (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o) | |
3257 | (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto. | |
3258 | * value.h: Add opaque declaration for struct block. | |
3259 | * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto. | |
3260 | * ada-lang.h: Ditto. | |
3261 | * x86-64-tdep.c: #include "block.h" | |
3262 | * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto. | |
3263 | * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto. | |
3264 | * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto. | |
3265 | * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto. | |
3266 | * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto. | |
3267 | * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto. | |
3268 | * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto. | |
3269 | * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto. | |
3270 | * blockframe.c (blockvector_for_pc_sect): Move to "block.c". | |
3271 | (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto. | |
3272 | * symtab.c (block_function): Ditto. | |
3273 | (contained_in): Ditto. | |
3274 | * frame.h: Move block_for_pc and block_for_pc_sect declarations to | |
3275 | block.h. Add opaque declaration for struct block. | |
3276 | * symtab.h: Move block_function and contained_in declarations to | |
3277 | block.h. Add opaque declarations for struct block, struct | |
3278 | blockvector. | |
3279 | (struct block): Move to block.h. | |
3280 | (struct blockvector): Ditto. | |
3281 | (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK) | |
3282 | (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM) | |
3283 | (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE) | |
3284 | (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS) | |
3285 | (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): | |
3286 | Ditto. | |
3287 | * block.c: New file. | |
3288 | * block.h: New file. | |
3289 | ||
173345b5 TR |
3290 | 2003-02-19 Theodore A. Roth <troth@openavr.org> |
3291 | ||
3292 | * avr-tdep.c (avr_extract_return_value): Remove function. | |
3293 | (avr_store_return_value): Remove function. | |
3294 | (avr_extract_struct_value_address): Remove function. | |
3295 | (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls. | |
3296 | ||
338ef23d AC |
3297 | 2003-02-19 Andrew Cagney <ac131313@redhat.com> |
3298 | ||
3299 | * rs6000-tdep.c: Include "gdb_assert.h". | |
3300 | (registers_e500): Add "acc" and "spefscr". | |
3301 | (PPC_GPRS_PSEUDO_REGS): Remove trailing comma. | |
3302 | (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum, | |
3303 | ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum | |
3304 | really is "r0". | |
3305 | (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson). | |
3306 | ||
5412f5f3 KS |
3307 | 2003-02-18 Keith Seitz <keiths@redhat.com> |
3308 | ||
3309 | * Makefile.in: Add gdbtk-interps.c. | |
3310 | ||
881324eb KB |
3311 | 2003-02-18 Kevin Buettner <kevinb@redhat.com> |
3312 | ||
3313 | * sparc-tdep.c (sparc_frame_chain): Adjust return value. | |
3314 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare. | |
3315 | ||
6a2f5abf AC |
3316 | 2003-02-18 Andrew Cagney <cagney@redhat.com> |
3317 | ||
3318 | * symtab.h (struct objfile): Add opaque declaration. | |
3319 | ||
54c7009d EZ |
3320 | 2003-02-18 Elena Zannoni <ezannoni@redhat.com> |
3321 | ||
3322 | From Jim Ingham <jingham@apple.com>: | |
3323 | * dbxread.c (process_one_symbol): Use last_function_start rather | |
3324 | than function_start_offset to find the real beginning of the | |
3325 | current function. The latter is just the text section offset on | |
3326 | some systems, the former is always the real function start. | |
3327 | ||
7ee6d7eb AC |
3328 | 2003-02-17 Andrew Cagney <cagney@redhat.com> |
3329 | ||
3330 | * configure.in: Revert ${target} != ${host}. | |
3331 | ||
2846da9b AC |
3332 | 2003-02-17 Andrew Cagney <ac131313@redhat.com> |
3333 | ||
3334 | * configure.in (Makefile): Use the test ${target} != ${host}, | |
3335 | instead of the absence of the "nm.h" file, to determine of the | |
3336 | configuration non-native. | |
3337 | * configure: Regenerate. | |
3338 | ||
3b27aeea EZ |
3339 | 2003-02-14 Elena Zannoni <ezannoni@redhat.com> |
3340 | ||
3341 | From Brian Ford <ford@vss.fsi.com> | |
3342 | ||
3343 | * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly | |
3344 | conditionalize tui_active test. | |
3345 | (lookup_cmd_1): Ditto. | |
3346 | ||
b0b1c2c0 MK |
3347 | 2003-02-14 Mark Kettenis <kettenis@gnu.org> |
3348 | ||
3349 | * configure.in: Add check for _etext. | |
3350 | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't | |
3351 | available. | |
3352 | * config.in, configure: regenerated. | |
3353 | ||
8f05cde5 DJ |
3354 | 2003-02-14 Daniel Jacobowitz <drow@mvista.com> |
3355 | ||
3356 | * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base. | |
3357 | ||
021e7609 AC |
3358 | 2003-02-14 Andrew Cagney <ac131313@redhat.com> |
3359 | ||
3360 | * main.c (tui_version): Delete variable. | |
3361 | (captured_main): When --tui, set interpreter_p to "tui" instead of | |
3362 | enabling tui_version. | |
3363 | * printcmd.c (display_command) [TUI]: Test tui_active instead of | |
3364 | tui_version. | |
3365 | * cli/cli-decode.c (lookup_cmd_composition): Ditto. | |
3366 | * cli/cli-cmds.c (disassemble_command): Ditto. | |
3367 | * defs.h (tui_version): Delete declaration. | |
3368 | * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". | |
3369 | (tui-interp.o): Add rules. | |
3370 | (SUBDIR_TUI_OBS): Add "tui-interp.o". | |
3371 | ||
e325dcec CF |
3372 | 2003-02-14 Christopher Faylor <cgf@redhat.com> |
3373 | ||
36ffb041 | 3374 | * win32-nat.c (register_loaded_dll): Correctly set address range for |
e325dcec CF |
3375 | just-loaded dll. |
3376 | ||
c4f90d87 JM |
3377 | 2003-02-12 Jason Molenda (jmolenda@apple.com) |
3378 | ||
3379 | * symmisc.c (print_objfile_statistics): Include information about | |
3380 | the number of psymtabs and symtabs in each object file. | |
3381 | ||
e46e5ccd KS |
3382 | 2003-02-13 Keith R Seitz <keiths@redhat.com> |
3383 | ||
3384 | * main.h (struct captured_main_args): Add interpreter_p. | |
3385 | * main.c (captured_main): Initialize interpreter_p from context. | |
3386 | * gdb.c (main): Set interpreter_p argument. | |
3387 | * Makefile.in (gdb.o): Add dependency for interps.h. | |
3388 | ||
fe97fe9c AC |
3389 | 2003-02-12 Andrew Cagney <ac131313@redhat.com> |
3390 | ||
3391 | * event-top.c (cli_command_loop): Delete declaration. | |
3392 | (_initialize_event_loop): Delete function setting event_loop_hook. | |
3393 | * event-top.h (cli_command_loop): Declare. Update copyright. | |
3394 | (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. | |
3395 | * interps.c (current_interp_command_loop): When event_loop_p, call | |
3396 | cli_command_loop. | |
3397 | ||
1cdac4ef AC |
3398 | 2003-02-12 Andrew Cagney <ac131313@redhat.com> |
3399 | ||
3400 | * interps.h (interp_command_loop_ftype): Change return type to | |
3401 | void. | |
3402 | ||
48037ead ML |
3403 | 2003-02-12 Michal Ludvig <mludvig@suse.cz> |
3404 | ||
3405 | * x86-64-tdep.c (x86_64_extract_return_value) | |
3406 | (x86_64_store_return_value): Use regcache instead of regbuf. | |
3407 | (x86_64_gdbarch_init): Change related set_gdbarch_* functions. | |
3408 | * x86-64-linux-nat.c (fill_gregset): Use regcache. | |
3409 | ||
033afc63 AC |
3410 | 2003-02-11 Andrew Cagney <ac131313@redhat.com> |
3411 | ||
3412 | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. | |
3413 | * aclocal.m4: Regenerate. | |
3414 | * configure: Regenerate. | |
3415 | ||
3416 | * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of | |
3417 | TCL_LD_SEARCH_FLAGS. | |
3418 | ||
40d02bca ML |
3419 | 2003-02-10 Michal Ludvig <mludvig@suse.cz> |
3420 | ||
3421 | * dwarf2cfi.c: Reindented. | |
3422 | ||
11308a41 AC |
3423 | 2003-02-09 Andrew Cagney <ac131313@redhat.com> |
3424 | ||
3425 | * interps.c (clear_interpreter_hooks): Convert function definition | |
3426 | to ISO C. | |
3427 | ||
e1c1c0f6 DC |
3428 | 2003-02-07 David Carlton <carlton@math.stanford.edu> |
3429 | ||
3430 | * gdb_mbuild.sh: Delete extra shift after parsing '-f'. | |
3431 | ||
ab5d3da6 KB |
3432 | 2003-02-07 Kevin Buettner <kevinb@redhat.com> |
3433 | ||
3434 | * gdbtypes.h (struct main_type): Move ``length'' field from here... | |
3435 | (struct type): ...to here. | |
3436 | (TYPE_LENGTH): Adjust to reflect different location of ``length'' | |
3437 | field. | |
3438 | * gdbtypes.c (make_qualified_type): Set length on newly created type. | |
3439 | (replace_type): Set length on all type variants for a given type. | |
3440 | ||
b8a92b82 AC |
3441 | 2003-02-07 Andrew Cagney <ac131313@redhat.com> |
3442 | ||
3443 | * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of | |
3444 | <sys/stat.h>. | |
3445 | * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. | |
3446 | ||
5cb316ef AC |
3447 | 2003-02-06 Andrew Cagney <ac131313@redhat.com> |
3448 | ||
2555fe1a AC |
3449 | * Makefile.in (symm-nat.o): Update dependencies. |
3450 | (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. | |
3451 | (lynx-nat.o, ia64-linux-nat.): Ditto. | |
3452 | * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include | |
3453 | "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. | |
3454 | * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. | |
3455 | ||
44270758 AC |
3456 | * Makefile.in (inflow_h): Define. |
3457 | (procfs.o, inflow.o, procfs.o): Update dependencies. | |
3458 | * inftarg.c (child_stop): Delete extern declaration of | |
3459 | inferior_process_group. Include "inflow.h". | |
3460 | * procfs.c (procfs_stop): Ditto. Include "inflow.h". | |
3461 | * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... | |
3462 | * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. | |
3463 | (our_process_group, inferior_process_group): Extern declarations. | |
3464 | ||
df8f7274 AC |
3465 | * procfs.c: Include "gdb_assert.h". |
3466 | ||
5cb316ef AC |
3467 | * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. |
3468 | * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. | |
3469 | * jv-typeprint.c (java_type_print_base): Ditto. | |
3470 | * typeprint.c (typedef_print): Eliminate STREQ. | |
3471 | * cli/cli-script.c (define_command, define_command): Ditto. | |
3472 | * main.c (captured_main): Ditto. | |
3473 | * values.c (lookup_internalvar): Ditto. | |
3474 | * utils.c (safe_strerror, parse_escape): Eliminate assignment | |
3475 | within `if' conditional. | |
3476 | * linespec.c (decode_line_2): Ditto. | |
3477 | * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. | |
3478 | (bfd_openw_with_cleanup): Ditto. | |
3479 | ||
2a28ccea MK |
3480 | 2003-02-07 Mark Kettenis <kettenis@gnu.org> |
3481 | ||
3482 | * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to | |
3483 | legacy_extract_return_value and store_return_value to | |
3484 | legacy_return_value. | |
3485 | ||
786b8124 CF |
3486 | 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk> |
3487 | ||
3488 | * win32-nat.c (get_relocated_section_addrs): New function. Find | |
3489 | section load addresses for symbol handling in relocated DLLs. | |
3490 | (solib_symbols_add): Open a bfd and call get_relocated_section_addrs. | |
3491 | ||
b871e4ec FF |
3492 | 2003-02-05 Fred Fish <fnf@intrinsity.com> |
3493 | ||
3494 | * remote-e7000.c (e7000_drain_command): Fix precedence problem with | |
3495 | '=' and '!='. | |
3496 | * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem | |
3497 | with '&' and '=='. | |
3498 | (angel_RDI_info): Ditto. | |
3499 | * infttrace.c (threads_continue_all_but_one): Fix precedence problem | |
3500 | with '&' and '!='. | |
3501 | (threads_continue_all_with_signals): Ditto. | |
3502 | ||
4389a95a AC |
3503 | 2003-02-05 Jim Ingham <jingham@apple.com> |
3504 | Keith Seitz <keiths@redhat.com> | |
3505 | Elena Zannoni <ezannoni@redhat.com> | |
3506 | Andrew Cagney <ac131313@redhat.com> | |
3507 | ||
3508 | * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". | |
3509 | (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". | |
3510 | (SUBDIR_MI_OBS): Add "mi-interp.o". | |
3511 | (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". | |
3512 | (SFILES): Add "interps.c". | |
3513 | (COMMON_OBS): Add "interps.o". | |
3514 | (interps_h, mi_main_h): Define. | |
3515 | (interps.o, cli-interp.o, mi-interp.o): Add dependencies. | |
3516 | (mi-main.o, main.o, event-top.o): Update dependencies. | |
3517 | * cli/cli-interp.c: New file. | |
3518 | * interps.h, interps.c: New files. | |
3519 | * top.c: (gdb_init): Don't install the default interpreter, handed | |
3520 | by captured_main. | |
3521 | * main.c: Include "interps.h". | |
3522 | (interpreter_p): Note that it should malloc'ed. | |
3523 | (captured_command_loop): Call current_interp_command_loop. | |
3524 | (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use | |
3525 | xfree and xstrdup when updating interpreter_p. Install the | |
3526 | default interpreter. Add hack to stop mi1's copyright notice | |
3527 | being encoded. | |
3528 | * event-top.h (gdb_setup_readline): Declare. | |
3529 | (gdb_disable_readline): Declare. | |
3530 | * event-top.c: Include "interps.h". | |
3531 | (display_gdb_prompt): Call current_interp_display_prompt_p. | |
3532 | (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, | |
3533 | gdb_stdlog, and gdb_stdtarg. | |
3534 | (_initialize_event_loop): Don't call gdb_setup_readline. | |
3535 | * cli-out.c (cli_out_set_stream): New function. | |
3536 | * cli-out.h (cli_out_set_stream): Declare. | |
3537 | ||
ff3b5810 MK |
3538 | 2003-02-06 Mark Kettenis <kettenis@gnu.org> |
3539 | ||
3540 | * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*, | |
3541 | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all | |
3542 | handled fine by i[3456]86-*sco* and i[3456]86-sysv*. | |
3543 | * config/i386/i386sco5.mt, config/i386/i386v4.mt, | |
3544 | config/i386/i386v42mp.mt: Removed. | |
3545 | ||
5b729aa5 MK |
3546 | 2003-02-05 Mark Kettenis <kettenis@gnu.org> |
3547 | ||
3548 | * configure.tgt (*-*-solaris*): Set gdb_osabi to | |
3549 | GDB_OSABI_SOLARIS. | |
3550 | ||
8cc15142 MC |
3551 | 2003-02-05 Michael Chastain <mec@shout.net> |
3552 | ||
3553 | * PROBLEMS (i[3456]86-*-linux*): Warn about binutils | |
3554 | 2.12.1 and earlier versions. | |
3555 | ||
5aa5d4b9 AC |
3556 | 2003-02-05 Andrew Cagney <ac131313@redhat.com> |
3557 | ||
3558 | Remove orphaned hosts, targets and files. | |
3559 | * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. | |
3560 | * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. | |
3561 | * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. | |
3562 | * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. | |
3563 | * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. | |
3564 | * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. | |
3565 | * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. | |
3566 | * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. | |
3567 | * config/sparc/tm-sp64sim.h: Delete. | |
3568 | * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* | |
3569 | hosts. | |
3570 | * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and | |
3571 | mips*-dec-mach3* targets. | |
3572 | ||
b68767c1 MC |
3573 | 2003-02-04 Michael Chastain <mec@shout.net> |
3574 | ||
3575 | * NEWS: Fix typo: sepcifying -> specifying. | |
3576 | ||
5ae7ca1d MC |
3577 | 2003-02-04 Michael Chastain <mec@shout.net> |
3578 | ||
3579 | * dwarfread.c: Add documentation on the state of dwarf-1, | |
3580 | looking towards obsoletion. | |
3581 | ||
d08a4280 MC |
3582 | 2003-02-03 Michael Chastain <mec@shout.net> |
3583 | ||
3584 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, | |
3585 | gdb/testsuite/gdb.c++/pr-1023.exp. | |
3586 | ||
e9be73e4 AC |
3587 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
3588 | ||
3589 | * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. | |
3590 | * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. | |
3591 | ||
3592 | * utils.c (init_page_info): Delete reference to MPW in comments. | |
3593 | * main.c (captured_main): Delete #ifdef MPW. | |
3594 | ||
05d57f6f AC |
3595 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
3596 | ||
3597 | * NEWS: Note that the m32r-*-elf* is obsolete. | |
3598 | * monitor.c (monitor_expect): Obsolete reference to m32r. | |
3599 | * configure.tgt: Mark m32r-*-elf* as obsolete. | |
3600 | * MAINTAINERS: Mark m32k as obsolete. | |
3601 | * m32r-rom.c: Obsolete file. | |
3602 | * config/m32r/m32r.mt: Obsolete file. | |
3603 | * config/m32r/tm-m32r.h: Obsolete file. | |
3604 | * m32r-stub.c: Obsolete file. | |
3605 | * m32r-tdep.c: Obsolete file. | |
3606 | ||
8b0e5691 AC |
3607 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
3608 | ||
3609 | * NEWS: Mention that the z8k-zilog-none is obsolete. | |
3610 | * MAINTAINERS: Mark z8k as obsolete. | |
3611 | * configure.tgt: Obsolete the z8k-*-coff* target. | |
3612 | * config/z8k/z8k.mt: Obsolete file. | |
3613 | * config/z8k/tm-z8k.h: Obsolete file. | |
3614 | * z8k-tdep.c: Obsolete file. | |
3615 | ||
67f16606 AC |
3616 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
3617 | ||
3618 | * NEWS: Mention that the mn10200-elf is obsolete. | |
3619 | * configure.tgt: Obsolete mn10200-*-* target. | |
3620 | * breakpoint.c (update_breakpoints_after_exec): Update comment to | |
3621 | mention that the mn10200 is obsolete. | |
3622 | * breakpoint.h: Ditto. | |
3623 | * MAINTAINERS: Mark the mn10200-elf as obsolete. | |
3624 | * config/mn10200/mn10200.mt: Obsolete file. | |
3625 | * config/mn10200/tm-mn10200.h: Obsolete file. | |
3626 | * mn10200-tdep.c: Obsolete file. | |
3627 | ||
fd2299bd AC |
3628 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
3629 | ||
3630 | * MAINTAINERS: Mark h8500 as obsolete. | |
3631 | * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. | |
3632 | * findvar.c (value_from_register): Ditto. | |
3633 | * h8500-tdep.c: Mark file as obsolete. | |
3634 | * config/h8500/h8500.mt: Ditto. | |
3635 | * config/h8500/tm-h8500.h: Ditto. | |
3636 | * NEWS: Mention that h8500 is obsolete. | |
3637 | ||
eb9a305d DC |
3638 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
3639 | ||
3640 | * objfiles.c (allocate_objfile): Always set name. Add comment at | |
3641 | start of function. | |
3642 | * jv-lang.c (get_dynamics_objfile): Add comment. | |
3643 | ||
406fc7fb DC |
3644 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
3645 | ||
3646 | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. | |
3647 | * printcmd.c (build_address_symbolic): Replace uses of | |
3648 | SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, | |
3649 | SYMBOL_NAME, and asm_demangle. | |
3650 | Update copyright. | |
3651 | ||
93d91629 DC |
3652 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
3653 | ||
3654 | * linespec.c (decode_compound): Extract code into | |
3655 | lookup_prefix_sym. | |
3656 | (lookup_prefix_sym): New function. | |
3657 | ||
1c5cb38e DC |
3658 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
3659 | ||
3660 | * gdbtypes.h: Delete INTEGER_COERCION_BADNESS, | |
3661 | FLOAT_COERCION_BADNESS. | |
3662 | * gdbtypes.c (rank_one_type): Replace all uses of | |
3663 | INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS. | |
3664 | ||
0cf824c9 JB |
3665 | 2003-02-04 Jim Blandy <jimb@redhat.com> |
3666 | ||
3667 | * dwarf2read.c (dwarf2_locate_sections): When we find a macro info | |
3668 | section, let dwarf_macinfo_section point to it, not | |
3669 | dwarf_loc_section. | |
3670 | ||
a2d356b0 DJ |
3671 | 2003-02-04 Daniel Jacobowitz <drow@mvista.com> |
3672 | ||
3673 | Pointed out by Anton Blanchard <anton@samba.org>. | |
3674 | * ppc-linux-tdep.c (insn_is_sigreturn): New function. | |
3675 | (ppc_linux_at_sigtramp_return_path): Use it. | |
3676 | ||
2de7ced7 DJ |
3677 | 2003-02-04 Daniel Jacobowitz <drow@mvista.com> |
3678 | ||
3679 | * defs.h (streq): Add prototype. | |
3680 | * utils.c (streq): New function. | |
3681 | ||
3682 | * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of | |
3683 | SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. | |
3684 | * mdebugread.c (new_symbol): Likewise. | |
3685 | * stabsread.c (define_symbol): Likewise. | |
3686 | * coffread.c (process_coff_symbol): Likewise. | |
3687 | * dwarfread.c (new_symbol): Likewise. | |
3688 | ||
3689 | * minsyms.c (prim_record_minimal_symbol_and_info): Use | |
3690 | SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language | |
3691 | here. | |
3692 | (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call | |
3693 | SYMBOL_INIT_DEMANGLED_NAME. | |
3694 | * objfiles.c: Include "hashtab.h". | |
3695 | (allocate_objfile): Call htab_set_functions_ex for the | |
3696 | demangled_names_hash. | |
3697 | (free_objfile): Call htab_delete for the demangled_names_hash. | |
3698 | * objfiles.h (struct htab): Add declaration. | |
3699 | (struct objfile): Add demangled_names_hash. | |
3700 | * symfile.c: Include "hashtab.h". | |
3701 | (reread_symbols): Call htab_delete for the demangled_names_hash. | |
3702 | (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting | |
3703 | SYMBOL_NAME in the bcache. | |
3704 | * symtab.c: Include "hashtab.h". Update comments. | |
3705 | (create_demangled_names_hash, symbol_set_names): New functions. | |
3706 | (symbol_find_demangled_name): New function, broken out from | |
3707 | symbol_init_demangled_names. | |
3708 | (symbol_init_demangled_names): Use it. | |
3709 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. | |
3710 | (SYMBOL_SET_NAMES): New macro. | |
3711 | (symbol_set_names): Add prototype. | |
3712 | ||
15831452 JB |
3713 | 2003-02-03 Jim Blandy <jimb@redhat.com> |
3714 | ||
3715 | Use a single, consistent representation for an empty minimal | |
3716 | symbol table in an objfile. | |
3717 | * objfiles.c (terminate_minimal_symbol_table): New function. | |
3718 | (allocate_objfile): Call it. | |
3719 | * objfiles.h (terminate_minimal_symbol_table): New declaration. | |
3720 | (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is | |
3721 | non-NULL. | |
3722 | * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether | |
3723 | objfile has minimal symbols, compare minimal_symbol_count to zero, | |
3724 | instead of comparing msymbols with NULL. | |
3725 | * objfiles.c (have_minimal_symbols): Same. | |
3726 | * solib-sunos.c (solib_add_common_symbols): Call | |
3727 | terminate_minimal_symbol_table. | |
3728 | * symfile.c (reread_symbols): Same. | |
3729 | ||
ffc65945 KB |
3730 | 2003-02-03 Kevin Buettner <kevinb@redhat.com> |
3731 | ||
3732 | * s390-tdep.c (s390_address_class_type_flags) | |
3733 | (s390_address_class_type_flags_to_name) | |
3734 | (s390_address_class_name_to_type_flags): New functions. | |
3735 | (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, | |
3736 | ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS. | |
3737 | ||
f211c6d4 MS |
3738 | 2003-02-03 Michael Snyder <msnyder@redhat.com> |
3739 | ||
3740 | * arm-tdep.c: Fix spell-o in comment. | |
3741 | ||
659b0389 ML |
3742 | 2003-02-03 Michal Ludvig <mludvig@suse.cz> |
3743 | ||
3744 | * dwarf2cfi.c (pointer_encoding): Added new parameter. | |
3745 | * dwarf2cfi.c, dwarf2read.c: Changed all warnings and | |
3746 | error messages to contain BFD filename. | |
3747 | ||
3b31d625 EZ |
3748 | 2003-02-02 Elena Zannoni <ezannoni@redhat.com> |
3749 | ||
997b089a | 3750 | Fix PR gdb/742 gdb/743 gdb/877 |
3b31d625 EZ |
3751 | * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. |
3752 | (do_mixed_source_and_assembly): Use | |
3753 | make_cleanup_ui_out_tuple_begin_end and | |
3754 | make_cleanup_ui_out_tuple_begin_end. | |
3755 | (do_mixed_source_and_assembly): Ditto. | |
3756 | * thread.c (do_captured_list_thread_ids): Ditto. | |
3757 | * ui-out.h (ui_out_table_begin, ui_out_list_begin, | |
3758 | ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, | |
3759 | ui_out_tuple_end): Delete prototypes. | |
3760 | * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, | |
3761 | ui_out_list_end, ui_out_tuple_end): Delete. | |
3762 | ||
3763 | From Kevin Buettner <kevinb@redhat.com>: | |
3764 | * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. | |
3765 | * ui-out.c (make_cleanup_ui_out_table_begin_end) | |
3766 | (do_cleanup_table_end): New functions. | |
3767 | * breakpoint.c (print_it_typical, print_one_breakpoint, mention): | |
3768 | Use cleanups to invoke_ui_out_tuple_end(). | |
3769 | (breakpoint_1): Use cleanup to invoke ui_out_table_end(). | |
3770 | * cli/cli-setshow.c (cmd_show_list): Use | |
3771 | make_cleanup_ui_out_tuple_begin_end. | |
3772 | ||
5b181d62 AC |
3773 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
3774 | ||
3775 | * frame.c (frame_unwind_register): New function. | |
3776 | (frame_unwind_unsigned_register): Use. | |
3777 | (frame_unwind_signed_register): Use. | |
3778 | (frame_read_register): New function. | |
3779 | * frame.h (frame_unwind_register): Declare. | |
3780 | (frame_read_register): Declare. | |
3781 | ||
3782 | * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write | |
3783 | and frame_unwind_register instead of read_memory, write_register | |
3784 | and deprecated_write_register_bytes. | |
3785 | ||
5f601589 AC |
3786 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
3787 | ||
3788 | * frame.h: Note that namelen can be negative. | |
3789 | * frame.c (frame_map_name_to_regnum): When LEN is negative, use | |
3790 | NAME's length. | |
3791 | ||
3792 | * NEWS: Mention that the d10v's `regs' command is deprecated. | |
3793 | * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. | |
3794 | (d10v_print_registers_info): New function. | |
3795 | (show_regs): Call d10v_print_registers_info. | |
3796 | (_initialize_d10v_tdep): Mark "show regs" command as deprecated. | |
3797 | ||
6a3fe0a4 MK |
3798 | 2003-02-02 Mark Kettenis <kettenis@gnu.org> |
3799 | ||
3800 | * stack.c (print_frame_info): Restore call to annotate_frame_begin | |
3801 | lost in the previous patch. | |
3802 | ||
075559bc AC |
3803 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
3804 | ||
3805 | From 2002-11-09 Jason Molenda (jason-cl@molenda.com) | |
3806 | * stack.c (print_frame_info_base): Output complete FRAME tuple | |
3807 | for synthesized frames. | |
3808 | ||
6789195b AC |
3809 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
3810 | ||
3811 | * mips-nat.c (zerobuf): Delete. | |
3812 | (fetch_inferior_registers): Alloc local zerobuf. | |
3813 | (fetch_core_registers): Alloc local zerobuf. | |
3814 | * d10v-tdep.c (show_regs): Don't allocate a dynamic array using | |
3815 | MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. | |
3816 | * thread-db.c (thread_db_store_registers): Ditto. | |
3817 | * sh-tdep.c (sh_do_register): Ditto. | |
3818 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
3819 | * remote-sim.c (gdbsim_store_register): Ditto. | |
3820 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
3821 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
3822 | * monitor.c (monitor_supply_register): Ditto. | |
3823 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
3824 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
3825 | * m68klinux-nat.c (fetch_register): Ditto. | |
3826 | * lynx-nat.c (fetch_inferior_registers): Ditto. | |
3827 | (fetch_inferior_registers): Ditto. | |
3828 | * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
3829 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
3830 | (hpux_thread_store_registers): Ditto. | |
3831 | * hppah-nat.c (fetch_register): Ditto. | |
3832 | * hppab-nat.c (fetch_register): Ditto. | |
3833 | * hppa-tdep.c (pa_register_look_aside): Ditto. | |
3834 | (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. | |
3835 | * dve3900-rom.c (fetch_bitmapped_register): Ditto. | |
3836 | ||
e669114a AC |
3837 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
3838 | ||
3839 | * gdbarch.sh: Explictly specify all method levels. When a | |
3840 | variable with an empty level, provide a non-multi-arch default. | |
3841 | (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. | |
3842 | * gdbarch.h: Re-generate. | |
3843 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. | |
3844 | * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1 | |
3845 | ||
9a043c1d AC |
3846 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
3847 | ||
3848 | * defs.h (host_pointer_to_address): Delete declaration. | |
3849 | (address_to_host_pointer): Delete declaration. | |
3850 | * utils.c (host_pointer_to_address): Delete function. | |
3851 | (address_to_host_pointer): Delete function. | |
3852 | * procfs.c (procfs_address_to_host_pointer): New function. | |
3853 | * procfs.c (proc_set_watchpoint): Use. | |
3854 | (procfs_can_use_hw_breakpoint): Update comments. | |
3855 | * somsolib.c (hpux_address_to_host_pointer_hack): New function. | |
3856 | (som_solib_add): Use. | |
3857 | * hppa-tdep.c (hppa_pointer_to_address_hack): New function. | |
3858 | * hppa-tdep.c (unwind_command): Use. | |
3859 | ||
7ca9f392 AC |
3860 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
3861 | ||
94bbfd30 AC |
3862 | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and |
3863 | strlen d_name. | |
3864 | ||
7ca9f392 AC |
3865 | * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, |
3866 | ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. | |
3867 | (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. | |
3868 | * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. | |
3869 | (define_symbol): Update. | |
3870 | * symfile.c (generic_load): Remove references to nindy. | |
3871 | * symtab.c: Remove references to nindy. | |
3872 | ||
31a85ea2 AC |
3873 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
3874 | ||
3875 | * infcmd.c (print_float_info): Delete code conditional on | |
3876 | FLOAT_INFO. | |
3877 | * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. | |
3878 | * config/m68k/nm-apollo68b.h: Ditto. | |
3879 | * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. | |
3880 | * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. | |
3881 | * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. | |
3882 | ||
f6e85fc8 MK |
3883 | 2003-02-01 Mark Kettenis <kettenis@gnu.org> |
3884 | ||
6015b6a0 MK |
3885 | * config/i386/tm-i386os9k.h: Removed. |
3886 | ||
f7a30bdf MK |
3887 | * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v. |
3888 | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since | |
3889 | they're identical to i[3456]86-*-sysv* now. | |
3890 | * config/i386/i386v32.mh: Removed. | |
3891 | * config/i386/xm-i386v32.h: Removed. | |
3892 | * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro. | |
3893 | ||
28d52111 MK |
3894 | * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed. |
3895 | ||
4d3f6bce MK |
3896 | * config/i386/i386dgux.mh: Removed. |
3897 | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4. | |
3898 | ||
f6e85fc8 MK |
3899 | * configure.in: Fix typo. |
3900 | * configure: Regenerated. | |
3901 | ||
53955967 DC |
3902 | 2003-01-31 David Carlton <carlton@math.stanford.edu> |
3903 | ||
3904 | * dwarf2read.c (dwarf2_locate_sections): Set | |
3905 | dwarf_ranges_section. | |
3906 | ||
b1364885 AC |
3907 | 2003-01-31 Andrew Cagney <ac131313@redhat.com> |
3908 | ||
8dbb1c65 AC |
3909 | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. |
3910 | * utils.c: Update comments documenting legitimate uses of PTR. | |
3911 | ||
8731e58e AC |
3912 | * utils.c: Re-indent. |
3913 | ||
b1364885 AC |
3914 | * config/djgpp/fnchange.lst: Delete nindy files. |
3915 | * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. | |
3916 | * nindy-share/nindy.c, nindy-share/env.h: Delete files. | |
3917 | * nindy-share/coff.h, nindy-share/block_io.h: Delete files. | |
3918 | * nindy-share/b.out.h, nindy-share/VERSION: Delete files. | |
3919 | * nindy-share/README, nindy-share/Onindy.c: Delete files. | |
3920 | * nindy-tdep.c, nindy-share/Makefile: Delete files. | |
3921 | * Makefile.in (init.c): Remove nindy references. | |
3922 | (saber_gdb): Delete rule. | |
3923 | (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, | |
3924 | nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, | |
3925 | and a68v-nat.c. | |
3926 | (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. | |
3927 | (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. | |
3928 | (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, | |
3929 | nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and | |
3930 | nindy-share/stop.h. | |
3931 | * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. | |
3932 | * saber.suppress: Delete file. | |
3933 | ||
086df311 DJ |
3934 | 2003-01-31 Daniel Jacobowitz <drow@mvista.com> |
3935 | ||
3936 | * dbxread.c (stabs_data): New static variable. | |
3937 | (fill_symbuf): Support an in-memory buffer for stabs data. | |
3938 | (stabs_seek): New function. | |
3939 | (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. | |
3940 | (read_ofile_symtab): Use stabs_seek. | |
3941 | (elfstab_build_psymtabs): Take an asection* instead of | |
3942 | an offset and size. Relocate the stabs data if necessary. | |
3943 | Save the section* for dbx_psymtab_to_symtab. | |
3944 | * dwarf2read.c: Add section variables for each debug section. | |
3945 | (dwarf2_locate_sections): Fill them in. | |
3946 | (dwarf2_read_section): Take an asection* argument. | |
3947 | Relocate the section contents if necessary. | |
3948 | (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. | |
3949 | * dwarf2cfi.c (parse_frame_info): Take a section argument and pass | |
3950 | it to dwarf2_read_section. | |
3951 | (dwarf2_build_frame_info): Update callers. | |
3952 | * elfread.c (elf_symfile_read): Update call to | |
3953 | elfstab_build_psymtabs. | |
3954 | * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. | |
3955 | (DBX_STAB_SECTION): New macro. | |
3956 | * stabsread.h (elfstab_build_psymtabs): Update prototype. | |
3957 | * symfile.c (symfile_dummy_outputs): New function. | |
3958 | (symfile_relocate_debug_section): New function. | |
3959 | * symfile.h (symfile_relocate_debug_section): Add prototype. | |
3960 | ||
87d1b352 RH |
3961 | 2003-01-31 Richard Henderson <rth@redhat.com> |
3962 | ||
3963 | * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ... | |
3964 | (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. | |
3965 | (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. | |
3966 | * alpha-tdep.c (alpha_register_name): Add "unique". | |
3967 | * alpha-tdep.h (ALPHA_NUM_REGS): Increment. | |
3968 | (ALPHA_UNIQUE_REGNUM): New. | |
3969 | * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New. | |
3970 | ||
c48861fb AC |
3971 | 2003-01-31 Andrew Cagney <ac131313@redhat.com> |
3972 | ||
3973 | * README: Remove reference to Ericsson 1800 monitor. | |
3974 | * Makefile.in (remote-es.o): Delete rule. | |
3975 | (ALLDEPFILES): Delete remote-es.c. | |
3976 | * remote-es.c: Delete file. | |
3977 | * config/m68k/es1800.mt: Delete file. | |
3978 | * config/djgpp/fnchange.lst: Update. | |
3979 | * configure.tgt: Delete m68*-ericsson-* target. | |
3980 | ||
d764a824 AF |
3981 | 2003-01-31 Adam Fedor <fedor@gnu.org> |
3982 | ||
3983 | * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc. | |
3984 | Remove duplicate/shadowing variable of same name. | |
3985 | ||
fe36c4f4 JB |
3986 | 2003-01-30 Jim Blandy <jimb@redhat.com> |
3987 | ||
3988 | * symfile.c (find_separate_debug_file): Assert that the objfile's | |
3989 | directory name we compute ends with a slash, and then assume that | |
3990 | that's so everywhere we use it. | |
3991 | ||
cb741690 DJ |
3992 | 2003-01-30 Daniel Jacobowitz <drow@mvista.com> |
3993 | ||
3994 | * valops.c (value_assign): Flush frame cache after stores to memory | |
3995 | also. | |
3996 | ||
96ee5227 AC |
3997 | 2003-01-30 Andrew Cagney <ac131313@redhat.com> |
3998 | ||
3999 | * Makefile.in (mon960-rom.o): Delete rule. | |
4000 | * mon960-rom.c: Delete file. | |
4001 | ||
7f6104a9 AC |
4002 | 2003-01-30 Andrew Cagney <ac131313@redhat.com> |
4003 | ||
4004 | * d10v-tdep.c: Include "frame-unwind.h". | |
4005 | (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate | |
4006 | list. | |
4007 | (next_addr, uses_frame): Delete. | |
4008 | (struct d10v_unwind_cache): Define. | |
4009 | (prologue_find_regs): Add struct d10v_unwind_cache info parameter. | |
4010 | Use info instead of next_addr and uses_frame globals. | |
4011 | (d10v_frame_init_saved_regs): Delete function. | |
4012 | (d10v_init_extra_frame_info): Delete function. | |
4013 | (d10v_gdbarch_init): Do not initialize init_extra_frame_info, | |
4014 | frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, | |
4015 | init_frame_pc or frame_saved_pc. | |
4016 | (d10v_pop_frame): Delete function. | |
4017 | (do_d10v_pop_frame): Delete function. | |
4018 | (d10v_frame_chain): Delete function. | |
4019 | (d10v_frame_chain_valid): Delete function. | |
4020 | (d10v_frame_pc_unwind): New function. | |
4021 | (d10v_frame_id_unwind): New function. | |
4022 | (saved_regs_unwinder): New function. | |
4023 | (d10v_frame_register_unwind): New function. | |
4024 | (d10v_frame_pop): New function. | |
4025 | (d10v_frame_unwind): New variable. | |
4026 | (d10v_frame_p): New function. | |
4027 | (d10v_frame_saved_pc): Delete function. | |
4028 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
4029 | ||
cad2e848 JB |
4030 | 2003-01-30 J. Brobecker <brobecker@gnat.com> |
4031 | ||
4032 | * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef | |
4033 | causing some regressions due to a change in the default value | |
4034 | for this macro. | |
4035 | ||
af34e669 DJ |
4036 | 2003-01-29 Richard Henderson <rth@redhat.com> |
4037 | Elena Zannoni <ezannoni@redhat.com> | |
4038 | Daniel Jacobowitz <drow@mvista.com> | |
4039 | ||
4040 | Fix PR gdb/961. | |
4041 | * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New | |
4042 | variables. | |
4043 | (RANGES_SECTION): New. | |
4044 | (dwarf_ranges_buffer): New variable. | |
4045 | (struct comp_unit_head): Add member "die". | |
4046 | (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. | |
4047 | (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. | |
4048 | (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. | |
4049 | (dwarf2_locate_sections): Likewise. | |
4050 | (dwarf2_build_psymtabs): Read .debug_ranges. | |
4051 | (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. | |
4052 | (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. | |
4053 | (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. | |
4054 | Look for DW_AT_ranges and return the bounding box. | |
4055 | ||
baa93fa6 CF |
4056 | 2003-01-29 Brian Ford <ford@vss.fsi.com> |
4057 | ||
4058 | * win32-nat.c (cygwin_pid): Removed as unused. | |
4059 | (child_attach): Try fall back to Cygwin pid. | |
4060 | ||
c63f977f JB |
4061 | 2003-01-29 Jim Blandy <jimb@redhat.com> |
4062 | ||
4063 | * objfiles.h (struct objfile): Doc fix. | |
4064 | ||
d62d1979 AC |
4065 | 2003-01-29 Andrew Cagney <ac131313@redhat.com> |
4066 | ||
4067 | * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. | |
4068 | (legacy_get_prev_frame): Assert FRAME_CHAIN_P. | |
4069 | (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. | |
4070 | (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. | |
4071 | * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. | |
4072 | (FRAME_SAVED_PC): Change to a function with predicate. | |
4073 | * gdbarch.h, gdbarch.c: Re-generate. | |
4074 | ||
1ae18a04 AC |
4075 | 2003-01-28 Andrew Cagney <ac131313@redhat.com> |
4076 | ||
52287340 AC |
4077 | * hppah-nat.c (child_pid_to_exec_file): Don't use boolean. |
4078 | ||
1ae18a04 AC |
4079 | * complaints.c (complain): Delete function. |
4080 | * complaints.h (struct deprecated_complaint): Delete definition. | |
4081 | (complain): Delete declaration. | |
4082 | ||
f2c16bd6 KB |
4083 | 2003-01-28 Kevin Buettner <kevinb@redhat.com> |
4084 | ||
4085 | * mips-tdep.c (mips_init_extra_frame_info): Return early for | |
4086 | dummy frames. | |
4087 | ||
a94dd1fd AC |
4088 | 2003-01-27 Andrew Cagney <ac131313@redhat.com> |
4089 | ||
4090 | * sentinel-frame.h, sentinel-frame.c: New files. | |
4091 | * Makefile.in (frame.o): Update dependencies. | |
4092 | (SFILES): Add sentinel-frame.c. | |
4093 | (sentinel_frame_h): Define. | |
4094 | (COMMON_OBS): Add sentinel-frame.o. | |
4095 | (sentinel-frame.o): Specify dependencies. | |
4096 | * frame.c: Include "sentinel-frame.h". | |
4097 | (frame_register_unwind): Rewrite assuming that there is always a a | |
4098 | ->next frame. | |
4099 | (frame_register, generic_unwind_get_saved_register): Ditto. | |
4100 | (frame_read_unsigned_register, frame_read_signed_register): Ditto. | |
4101 | (create_sentinel_frame, unwind_to_current_frame): New functions. | |
4102 | (get_current_frame): Rewrite using create_sentinel_frame and | |
4103 | unwind_to_current_frame. When possible, always create a frame. | |
4104 | (create_new_frame): Set next to the sentinel frame. | |
4105 | (get_next_frame): Rewrite. Don't go below the level 0 frame. | |
4106 | (deprecated_update_frame_pc_hack): Update the next frame's PC and | |
4107 | ID cache when necessary. | |
4108 | (frame_saved_regs_id_unwind): Use frame_relative_level. | |
4109 | (deprecated_generic_get_saved_register): Use frame_relative_level, | |
4110 | get_frame_saved_regs, get_frame_pc, get_frame_base and | |
4111 | get_next_frame. | |
4112 | (frame_saved_regs_register_unwind): Use get_frame_saved_regs and | |
4113 | frame_register. | |
4114 | ||
5378adc4 DJ |
4115 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
4116 | ||
4117 | * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments. | |
4118 | ||
51ee2ddc DJ |
4119 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
4120 | ||
4121 | * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] | |
4122 | (maintenance_set_profile_cmd): Use error () instead of warning (). | |
4123 | ||
d9feb4e7 DJ |
4124 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
4125 | ||
4126 | * configure.in: Check that -pg works if using --enable-profiling. | |
4127 | Check for monstartup and _mcleanup regardless of --enable-profiling. | |
4128 | * maint.c: Check for monstartup and _mcleanup before using them. | |
4129 | * config.in: Regenerated. | |
4130 | * configure: Regenerated. | |
4131 | ||
2d188dd3 NC |
4132 | 2003-01-24 Nick Clifton <nickc@redhat.com> |
4133 | ||
4134 | * Add sh2e support: | |
4135 | ||
4136 | 2002-04-02 Elena Zannoni <ezannoni@redhat.com> | |
4137 | ||
4138 | * gdb/sh-tdep.c (sh_sh2e_register_name): New. | |
4139 | (sh2e_show_regs): New. | |
4140 | (sh_gdbarch_init): Handle bfd_mach_sh2e. | |
4141 | * config/sh/tm-sh.h: Added sh2e to comments. | |
4142 | ||
cb3c37b2 JB |
4143 | 2003-01-23 Jim Blandy <jimb@redhat.com> |
4144 | ||
4145 | * symfile.c (syms_from_objfile): Don't print the "(no debugging | |
4146 | symbols found)" message here; we haven't checked for a separate | |
4147 | debug info file yet, so we don't know yet. | |
4148 | (symbol_file_add_with_addrs_or_offsets): Print it here, after | |
4149 | we've looked everywhere. Also, there's no need to print a special | |
4150 | message when we're loading the separate debug info file: the one | |
4151 | symbol_file_add prints is fine. | |
4152 | ||
5b5d99cf JB |
4153 | 2003-01-23 Alexander Larsson <alexl@redhat.com> |
4154 | Jim Blandy <jimb@redhat.com> | |
4155 | ||
4156 | Add support for executables whose debug info has been separated | |
4157 | out into a separate file, leaving only a link behind. | |
4158 | * objfiles.h (struct objfile): New fields: separate_debug_objfile | |
4159 | and separate_debug_objfile_backlink. | |
4160 | (put_objfile_before): New declaration. | |
4161 | * symfile.c: #include "filenames.h". | |
4162 | (symbol_file_add_with_addrs_or_offsets): If this objfile has its | |
4163 | debug info in a separate file, read that, too. Save the addrs | |
4164 | argument, so we can use it again to read the separated debug info; | |
4165 | syms_from_objfile modifies the table we pass it. | |
4166 | (reread_symbols): After re-reading an objfile, call | |
4167 | reread_separate_symbols to refresh its separate debug info | |
4168 | objfile, if it has one. | |
4169 | (reread_separate_symbols, find_separate_debug_file, | |
4170 | get_debug_link_info, separate_debug_file_exists): New functions. | |
4171 | (debug_file_directory): New global var. | |
4172 | (_initialize_symfile): Initialize debug_file_directory, and | |
4173 | provide the new `set debug-file-directory' command to let the user | |
4174 | change it. | |
4175 | * objfiles.c (free_objfile): If this objfile has its debug info in | |
4176 | a separate objfile, free that one too. If this is itself a | |
4177 | separate debug info objfile, clear our parent's backlink. | |
4178 | (put_objfile_before): New function. | |
4179 | * utils.c (gnu_debuglink_crc32): New function. | |
4180 | * defs.h (gnu_debuglink_crc32): New declaration. | |
4181 | * Makefile.in (symfile.o): Note dependency on "filenames.h". | |
4182 | * configure.in: Handle --with-separate-debug-dir config option. | |
4183 | * acinclude.m4 (AC_DEFINE_DIR): New macro. | |
4184 | * acconfig.h (DEBUGDIR): New macro. | |
4185 | * configure, aclocal.m4, config.in: Regenerated. | |
4186 | ||
7e8580c1 JB |
4187 | 2003-01-22 Jim Blandy <jimb@redhat.com> |
4188 | ||
7904e09f JB |
4189 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New function, |
4190 | like the old symbol_file_add, but taking new arguments: you can | |
4191 | now pass in either a `struct section_addr_info' list to say where | |
4192 | each section is loaded, or a `struct section_offsets' table. Pass | |
4193 | these new arguments through to syms_from_objfile as appropriate. | |
4194 | (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, | |
4195 | with the appropriate quiescent values for the new arguments. | |
4196 | ||
7e8580c1 JB |
4197 | * symfile.c: #include "gdb_assert.h". |
4198 | (syms_from_objfile): Add the ability to pass in a section offset | |
4199 | table directly, as an alternative to the section_addr_info table. | |
4200 | Document arguments better. | |
4201 | (symbol_file_add): Pass extra arguments to syms_from_objfile. | |
4202 | * symfile.h (syms_from_objfile): Update declaration. | |
4203 | * rs6000-nat.c (objfile_symbol_add): Pass new arguments to | |
4204 | syms_from_objfile. | |
4205 | * Makefile.in (symfile.o): List dependency on $(gdb_assert_h). | |
4206 | ||
d28f9cdf DJ |
4207 | 2003-01-22 Daniel Jacobowitz <drow@mvista.com> |
4208 | ||
4209 | Original patch by Tom Tromey <tromey@cygnus.com> and | |
4210 | Jason Molenda <jmolenda@apple.com>. | |
4211 | * Makefile.in (PROFILE_CFLAGS): Substitute from configure. | |
4212 | (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. | |
4213 | * NEWS: Mention profiling. | |
4214 | * configure.in (--enable-gdbtk): Fix typo. | |
4215 | (--enable-profiling): New. Set PROFILE_CFLAGS. | |
4216 | * maint.c (maintenance_set_profile_cmd): Remove NOTYET. | |
4217 | Fill in function. | |
4218 | (profiling_state): New variable. | |
4219 | (mcleanup_wrapper): New function. | |
4220 | (_initialize_maint): Remove NOTYET, fix call to | |
4221 | add_setshow_boolean_cmd for "maint set profile". | |
4222 | * configure: Regenerated. | |
4223 | ||
df21e465 MH |
4224 | 2003-01-21 Martin M. Hunt <hunt@redhat.com> |
4225 | ||
4226 | * Makefile.in (install-gdbtk): Install PNG images too. | |
4227 | ||
73c1f219 AC |
4228 | 2003-01-21 Andrew Cagney <ac131313@redhat.com> |
4229 | ||
4230 | * exec.c (text_start): Delete global variable. | |
4231 | (exec_file_attach): Make text_start local to the function. | |
4232 | * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. | |
4233 | * valops.c (hand_function_call): Delete code that handles | |
4234 | BEFORE_TEXT_END and AFTER_TEXT_END. | |
4235 | * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead | |
4236 | of CALL_DUMMY_LOCATION. | |
4237 | * gdbarch.c: Regenerate. | |
4238 | * inferior.h (deprecated_pc_in_call_dummy_before_text_end) | |
4239 | (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. | |
4240 | * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) | |
4241 | (deprecated_pc_in_call_dummy_after_text_end): Delete functions. | |
4242 | (text_end): Delete extern declaration. | |
4243 | ||
eb4f72c5 AC |
4244 | 2003-01-21 Andrew Cagney <ac131313@redhat.com> |
4245 | ||
4246 | * frame.h (FRAME_OBSTACK_ZALLOC): Define. | |
4247 | * blockframe.c (backtrace_below_main): Move to "frame.c". | |
4248 | (frame_chain_valid): Delete check for backtrace_below_main. | |
4249 | (_initialize_blockframe): Delete initialization, move ``set | |
4250 | backtrace-below-main'' command to "frame.c". | |
4251 | (do_flush_frames_sfunc): Delete function. | |
4252 | * frame.c: Include "command.h" and "gdbcmd.h". | |
4253 | (frame_type_from_pc): New function. | |
4254 | (create_new_frame): Use frame_type_from_pc. | |
4255 | (legacy_get_prev_frame): New function. | |
4256 | (get_prev_frame): Rewrite. When an old style frame, call | |
4257 | legacy_get_prev_frame. Otherwize, unwind the PC first. | |
4258 | (_initialize_frame): Add ``set backtrace-below-main'' command. | |
4259 | * Makefile.in (frame.o): Update dependencies. | |
4260 | ||
778ce8cc AC |
4261 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
4262 | ||
4263 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename | |
4264 | DEPRECATED_REGISTERS_INFO. | |
4265 | ||
01c193c8 AC |
4266 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
4267 | ||
4268 | * MAINTAINERS: Replace `Blanket Write Privs' with `Global | |
4269 | Maintainers'. Update `Various Maintainers'. | |
4270 | ||
dedc2a2b AC |
4271 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
4272 | ||
4273 | * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. | |
4274 | * gdbarch.sh (POP_FRAME): Change to function with predicate. | |
4275 | Suppress actual parameters when `-'. | |
4276 | * gdbarch.h, gdbarch.c: Regenerate. | |
4277 | ||
b7261c70 AC |
4278 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
4279 | ||
4280 | * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore | |
4281 | code handling dummy frames. | |
4282 | ||
dbe9fe58 AC |
4283 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
4284 | ||
4285 | * frame-unwind.h (frame_unwind_pop_ftype): Declare. | |
4286 | (struct frame_unwind): Add field pop. | |
4287 | * frame.h (frame_pop): Declare. | |
4288 | * frame.c (frame_saved_regs_pop): New function. | |
4289 | (trad_frame_unwinder): Add frame_saved_regs_pop. | |
4290 | (frame_pop): New function. | |
4291 | * dummy-frame.c (dummy_frame_pop): New function. | |
4292 | (discard_innermost_dummy): New function. | |
4293 | (generic_pop_dummy_frame): Use discard_innermost_dummy. | |
4294 | (dummy_frame_unwind): Add dummy_frame_pop. | |
4295 | * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. | |
4296 | * valops.c (hand_function_call): Ditto. | |
4297 | * stack.c (return_command): Ditto. | |
4298 | ||
570b8f7c AC |
4299 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
4300 | ||
4301 | * cris-tdep.c: Fix function declaration indentation. | |
4302 | * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. | |
4303 | * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. | |
4304 | * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. | |
4305 | * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. | |
4306 | * xcoffread.c, config/pa/tm-hppa.h: Ditto. | |
4307 | * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto. | |
4308 | ||
4309 | 2003-01-18 Michael Chastain <mec@shout.net> | |
eaec4d85 MC |
4310 | |
4311 | * README (Unpacking and Installation -- quick overview): | |
4312 | Warn against ".../gdb-5.3/gdb/configure". | |
4313 | ||
494cca16 AC |
4314 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
4315 | ||
4316 | * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. | |
4317 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
4318 | (struct frame_unwind): Declare opaque. | |
4319 | (dummy_frame_p): Declare function. | |
4320 | * dummy-frame.c (dummy_frame_id_unwind): Make static. | |
4321 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
4322 | * dummy-frame.c: Include "frame-unwind.h". | |
4323 | (dummy_frame_p): New function. | |
4324 | (dummy_frame_unwind): New variable. | |
4325 | * frame.c: Include "frame-unwind.h". | |
4326 | (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update | |
4327 | to use the new unwind field. | |
4328 | (set_unwind_by_pc): Delete function. | |
4329 | (create_new_frame, get_prev_frame): Set unwind field using | |
4330 | frame_unwind_find_by_pc. | |
4331 | (trad_frame_unwind, trad_frame_unwinder): New variables. | |
4332 | * frame.h (trad_frame_unwind): Declare variable. | |
4333 | (frame_id_unwind_ftype): Delete declaration. | |
4334 | (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. | |
4335 | (struct frame_unwind): Declare opaque. | |
4336 | (struct frame_info): Replace the fields id_unwind, pc_unwind and | |
4337 | register_unwind with a single unwind pointer. | |
4338 | * frame-unwind.h, frame-unwind.c: New files. | |
4339 | * Makefile.in (SFILES): Add frame-unwind.c. | |
4340 | (frame_unwind_h): Define. | |
4341 | (COMMON_OBS): Add frame-unwind.o. | |
4342 | (frame-unwind.o): Specify dependencies. | |
4343 | (frame.o, dummy-frame.o): Update dependencies. | |
4344 | ||
4efb68b1 AC |
4345 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
4346 | ||
4347 | * ada-valprint.c: Eliminate PTR. | |
4348 | * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. | |
4349 | * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. | |
4350 | * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. | |
4351 | * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. | |
4352 | * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. | |
4353 | * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. | |
4354 | * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. | |
4355 | ||
a84d24ee AC |
4356 | 2003-01-17 Andrew Cagney <ac131313@redhat.com> |
4357 | ||
762f08a3 AC |
4358 | * main.c (captured_main): Don't use PTR. |
4359 | * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. | |
4360 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
4361 | (lookup_struct_elt_type): Ditto. | |
4362 | * f-valprint.c (info_common_command): Ditto. | |
4363 | (list_all_visible_commons): Ditto. | |
4364 | * jv-typeprint.c (java_type_print_base): Ditto. | |
4365 | ||
a84d24ee AC |
4366 | * config/djgpp/fnchange.lst: Rename mi1-var-block.exp, |
4367 | mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. | |
4368 | Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename | |
4369 | i386-interix-nat.c and i386-interix-tdep.c. Rename | |
4370 | m68klinux-nat.c and m68klinux-tdep.c. Rename | |
4371 | config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename | |
4372 | bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename | |
4373 | gdb/objc-exp.tab.c and gdb/ada-exp.tab.c | |
4374 | * main.c (captured_main): Use xfree, not free. | |
4375 | ||
c170fb60 AC |
4376 | 2003-01-16 Andrew Cagney <ac131313@redhat.com> |
4377 | ||
4378 | * frame.h (frame_id_unwind_ftype): Change type so that the frame's | |
4379 | ID back using a parameter. | |
4380 | * frame.c (frame_id_unwind): Update call. | |
4381 | (frame_saved_regs_id_unwind): Update. | |
4382 | * dummy-frame.c (dummy_frame_id_unwind): Update function. | |
4383 | * dummy-frame.h (struct frame_id): Add opaque declaration. | |
4384 | (dummy_frame_id_unwind): Update declaration. | |
4385 | ||
867f3898 AC |
4386 | 2003-01-15 Andrew Cagney <ac131313@redhat.com> |
4387 | ||
4388 | * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. | |
4389 | ||
40622be8 | 4390 | 2003-01-15 Stephen P. Smith <ischis2@cox.net> |
de3a8c23 | 4391 | |
40622be8 | 4392 | * MAINTAINERS (Stephen P. Smith): Updated email address. |
de3a8c23 | 4393 | |
ae66c1fc EZ |
4394 | 2003-01-14 Elena Zannoni <ezannoni@redhat.com> |
4395 | ||
997b089a | 4396 | Fix PR gdb/898 |
ae66c1fc EZ |
4397 | * breakpoint.c (until_break_command): Add new argument. Use it to |
4398 | decide whether to stop only at the current frame or not. | |
4399 | * breakpoint.h (until_break_command): Update prototype. | |
4400 | * infcmd.c (until_command): Add new argument to until_break_command | |
4401 | call. | |
4402 | (advance_command): New function. | |
4403 | (_initialize_infcmd): Update help string for 'until' command. | |
4404 | Add new 'advance' command. | |
4405 | ||
a04257e6 DC |
4406 | 2003-01-14 David Carlton <carlton@math.stanford.edu> |
4407 | ||
4408 | * linespec.c (decode_line_1): Normalize comments. | |
4409 | (set_flags): Ditto. | |
4410 | (locate_first_half): Ditto. | |
4411 | (decode_compound): Ditto. | |
4412 | (symtab_from_filename): Ditto. | |
4413 | (decode_all_digits): Ditto. | |
4414 | (decode_dollar): Ditto. | |
4415 | (find_methods): Ditto. | |
4416 | (find_toplevel_char): Ditto. | |
4417 | ||
1bac305b AC |
4418 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
4419 | ||
4420 | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. | |
4421 | * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. | |
4422 | * elfread.c, eval.c, expprint.c, expression.h: Update copyright. | |
4423 | * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. | |
4424 | * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. | |
4425 | * language.c, language.h, m32r-tdep.c: Update copyright. | |
4426 | * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. | |
4427 | * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. | |
4428 | * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. | |
4429 | * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. | |
4430 | * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. | |
4431 | * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. | |
4432 | ||
25caa7a8 EZ |
4433 | 2003-01-13 Elena Zannoni <ezannoni@redhat.com> |
4434 | ||
4435 | * stabsread.h (process_later, resolve_cfront_continuation): | |
4436 | Obsolete. | |
4437 | Update copyright years. | |
4438 | * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. | |
4439 | Update copyright year. | |
4440 | * dbxread.c(struct cont_elem): Obsolete. | |
4441 | (process_later, process_now): Obsolete functions. | |
4442 | (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. | |
4443 | Update copyright year. | |
4444 | * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. | |
4445 | (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions. | |
4446 | * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront. | |
4447 | (parse_partial_symbols): Obsolete cfront support. | |
4448 | * stabsread.c | |
4449 | (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete | |
4450 | macros. | |
4451 | (get_substring, get_cfront_method_physname, msg_unknown_complaint, | |
4452 | read_cfront_baseclasses, read_cfront_member_functions, | |
4453 | resolve_cfront_continuation,read_cfront_static_fields, | |
4454 | copy_cfront_struct_fields): Obsolete functions. | |
4455 | (define_symbol, read_one_struct_field): Obsolete cfront support. | |
4456 | * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support. | |
4457 | Update Copyright year. | |
4458 | ||
7789c6f5 EZ |
4459 | 2003-01-13 Elena Zannoni <ezannoni@redhat.com> |
4460 | ||
4461 | * stack.c (print_frame_info, print_stack_frame_base_stub, | |
4462 | print_stack_frame_base, show_and_print_stack_frame_stub, | |
4463 | show_and_print_stack_frame, print_only_stack_frame_stub, | |
4464 | print_only_stack_frame): Delete functions. | |
4465 | (print_stack_frame_stub): Call print_frame_info instead of | |
4466 | print_frame_info_base. | |
4467 | (print_frame_info_base): Rename to print_frame_info. | |
4468 | (backtrace_command_1): Call print_frame_info, instead of | |
4469 | print_frame_info_base. | |
4470 | (current_frame_command): Call print_stack_frame, instead of | |
4471 | print_only_stack_frame. | |
4472 | (frame_command): Call print_stack_frame, instead of | |
4473 | show_and_print_stack_frame. | |
4474 | (up_command): Ditto. | |
4475 | (down_command): Ditto. | |
4476 | * frame.h (print_only_stack_frame): Delete prototype. | |
4477 | * infrun.c (normal_stop): Call print_stack_frame, instead of | |
4478 | show_and_print_stack_frame. | |
4479 | * thread.c (info_threads_command): Call print_stack_frame, instead | |
4480 | of print_only_stack_frame. | |
4481 | ||
3f5a3016 AC |
4482 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
4483 | ||
d99ba314 AC |
4484 | * README (Graphical interface to GDB): Update URL. Point at |
4485 | gdb/links/. | |
4486 | ||
3f5a3016 AC |
4487 | * gdb_indent.sh: Update to version 2.2.9. Warn when not exact |
4488 | version match. | |
4489 | ||
083ae935 DJ |
4490 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
4491 | ||
4492 | * symtab.c (find_pc_sect_line): Don't consider end-of-function | |
4493 | lines. | |
4494 | ||
5365276c DJ |
4495 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
4496 | ||
4497 | * thread-db.c (attach_thread): Prototype. | |
4498 | (struct private_thread_info): Remove lwpid. Add thread handle (th), | |
4499 | thread information (ti), and valid flags (th_valid, ti_valid). | |
4500 | (attach_thread): Move target_pid_to_str call to after the thread | |
4501 | is added to GDB's list. Initialize the cache. | |
4502 | (thread_get_info_callback, thread_db_map_id2thr) | |
4503 | (thread_db_get_info): New functions. | |
4504 | (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers) | |
4505 | (thread_db_store_registers, thread_db_thread_alive) | |
4506 | (thread_db_get_thread_local_address): Use them. | |
4507 | (thread_db_pid_to_str): Likewise. Return "Missing" instead | |
4508 | of calling error() for threads in unknown state. | |
4509 | ||
4510 | (clear_lwpid_callback): New function. | |
4511 | (thread_db_resume): Use it to clear the cache. | |
4512 | ||
9fc30b6b DJ |
4513 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
4514 | ||
4515 | * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove. | |
4516 | (resume_callback): Remove dead code. | |
4517 | ||
8f871025 AC |
4518 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
4519 | ||
4520 | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with | |
4521 | predicate. | |
4522 | * gdbarch.h, gdbarch.c: Regenerate. | |
4523 | * stack.c (frame_info): Only initialize the saved registers when | |
4524 | FRAME_INIT_SAVED_REGS_P. | |
4525 | * frame.c (frame_saved_regs_register_unwind): Assert | |
4526 | FRAME_INIT_SAVED_REGS_P. | |
4527 | (deprecated_generic_get_saved_register): Ditto. | |
4528 | ||
3f565f1e DJ |
4529 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
4530 | ||
4531 | * source.c (openp): Squelch warning about "filename". | |
4532 | ||
072b1022 DJ |
4533 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
4534 | ||
4535 | * source.c (openp): If the file does not exist don't necessarily | |
4536 | search the path. | |
4537 | ||
973ccf8b DJ |
4538 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
4539 | ||
4540 | Fix PR gdb/872. | |
4541 | * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
4542 | (integer_types_same_name_p): New function. | |
4543 | (rank_one_type): Use it. | |
4544 | * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
4545 | ||
030292b7 DJ |
4546 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
4547 | ||
4548 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New | |
4549 | variables. | |
4550 | (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). | |
4551 | * configure.in: Add --with-sysroot. | |
4552 | * configure: Regenerated. | |
4553 | * main.c (gdb_sysroot): New variable. | |
4554 | (captured_main): Initialize gdb_sysroot. | |
4555 | * defs.h (gdb_sysroot): New extern declaration. | |
4556 | * solib.c (_initialize_solib): Initialize solib_absolute_prefix. | |
4557 | ||
afb5d334 MC |
4558 | 2003-01-12 Michael Chastain <mec@shout.net> |
4559 | ||
4560 | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002. | |
4561 | ||
751ceeb4 MC |
4562 | 2003-01-12 Michael Chastain <mec@shout.net> |
4563 | ||
4564 | * top.c (print_gdb_version): Bump copyright year to 2003. | |
4565 | ||
94cd26f8 DC |
4566 | 2003-01-12 David Carlton <carlton@bactrian.org> |
4567 | ||
4568 | * linespec.c (symtab_from_filename): Rename variable 's' to | |
4569 | 'file_symtab'. | |
4570 | ||
1ce79225 AC |
4571 | 2003-01-12 Andrew Cagney <ac131313@redhat.com> |
4572 | ||
4573 | * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a | |
4574 | dummy frame. | |
4575 | (d10v_frame_saved_pc, d10v_frame_chain): Ditto. | |
4576 | ||
fa1fd571 AC |
4577 | 2003-01-12 Andrew Cagney <ac131313@redhat.com> |
4578 | ||
4579 | * d10v-tdep.c: Include "gdb_assert.h". | |
4580 | (d10v_store_return_value): Rewrite to match current interface. | |
4581 | (d10v_extract_struct_value_address): Ditto. | |
4582 | (d10v_extract_return_value): Ditto. | |
4583 | (d10v_gdbarch_init): Set store_restore_value, | |
4584 | extract_struct_value_address and extract_return_value. | |
4585 | ||
68b8d23e JB |
4586 | 2003-01-12 J. Brobecker <brobecker@gnat.com> |
4587 | ||
4588 | * hpread.c (set_namestring): New procedure replacing the | |
4589 | SET_NAMESTRING macro. | |
4590 | (hpread_build_psymtabs): Replace calls to SET_NAMESTRING | |
4591 | by calls to set_namestring. | |
4592 | ||
4593 | 2003-01-11 J. Brobecker <brobecker@gnat.com> | |
1fb309ea JB |
4594 | |
4595 | * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix | |
4596 | a compilation warning. | |
4597 | (hpread_process_one_debug_symbol): Likewise. | |
4598 | ||
88d262ca DC |
4599 | 2003-01-10 David Carlton <carlton@math.stanford.edu> |
4600 | ||
4601 | * linespec.c (decode_line_1): Rename variable 's' to | |
4602 | 'file_symtab'. | |
4603 | (decode_all_digits): Rename argument 's' to 'file_symtab'. | |
4604 | (decode_dollar): Ditto. | |
4605 | (decode_variable): Ditto. | |
4606 | (symbol_found): Ditto. | |
4607 | ||
86669319 MC |
4608 | 2003-01-09 Michael Chastain <mec@shout.net> |
4609 | ||
4610 | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++. | |
4611 | ||
616a9dc4 CV |
4612 | 2003-01-07 Corinna Vinschen <vinschen@redhat.com> |
4613 | ||
4614 | * win32-nat.c (set_process_privilege): New function. | |
4615 | (child_attach): Call set_process_privilege() to enable the | |
4616 | SE_DEBUG_NAME user privilege if available in process token. | |
4617 | ||
3269bcfa JB |
4618 | 2003-01-10 J. Brobecker <brobecker@gnat.com> |
4619 | ||
4620 | * hpread.c (hpread_process_one_debug_symbol): Fix a small | |
4621 | compilation error in the previous revision. | |
4622 | ||
2b0ee454 DC |
4623 | 2003-01-09 David Carlton <carlton@math.stanford.edu> |
4624 | ||
4625 | * linespec.c: Update copyright. | |
4626 | ||
b3ba1b44 DJ |
4627 | 2003-01-09 Daniel Jacobowitz <drow@mvista.com> |
4628 | ||
4629 | * lin-lwp.c (child_wait): Ignore exit statuses for processes other | |
4630 | than inferior_ptid. | |
4631 | (lin_lwp_wait): Ignore exit statuses for unknown LWPs. | |
4632 | ||
4ef3f3be AC |
4633 | 2003-01-09 Andrew Cagney <ac131313@redhat.com> |
4634 | ||
479ab5a0 AC |
4635 | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. |
4636 | Update comments. | |
4637 | * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. | |
4638 | (frame_saved_regs_zalloc): Update. | |
4639 | (frame_saved_regs_register_unwind): Update. | |
4640 | (create_new_frame): Update. | |
4641 | (get_prev_frame): Update. | |
4642 | (frame_extra_info_zalloc): Update. | |
4643 | (deprecated_get_frame_saved_regs): Update. | |
4644 | * dwarf2cfi.c (cfi_init_extra_frame_info): Update. | |
4645 | * cris-tdep.c: Update comment. | |
4646 | ||
bde58177 AC |
4647 | * somsolib.h: Fix function indentation. |
4648 | * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. | |
4649 | * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. | |
4650 | * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. | |
4651 | * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. | |
4652 | * somsolib.c, inftarg.c: Remove assignment in if conditional. | |
4653 | ||
4ef3f3be AC |
4654 | * infrun.c (follow_fork): Use ISO C definition. |
4655 | * expprint.c (print_subexp): Use xfree instead of free. | |
4656 | * charset.c: Include "gdb_string.h" instead of <string.h>. | |
4657 | (register_iconv_charsets): Use ISO C definition. | |
4658 | (host_charset, target_charset): Ditto. | |
4659 | * Makefile.in (charset.o): Update dependencies. | |
4660 | (mi-cmd-env.o): Update dependencies. | |
4661 | ||
1c615f7a AC |
4662 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
4663 | ||
4664 | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use | |
4665 | get_frame_base. | |
4666 | ||
c9a1dc08 AC |
4667 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
4668 | ||
4669 | * gdb_mbuild.sh: Add --keep option. When specified, keep the | |
4670 | build directories. Save edited gdb output in Mbuild.log. If a | |
4671 | build fails, remove any final GDB executable. | |
4672 | ||
dbad9d94 AC |
4673 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
4674 | ||
4675 | * gdb_mbuild.sh: Edit the output of `maint print architecture' | |
4676 | replacing hex constants with function names and stripping leading | |
4677 | file name directory prefixes. | |
4678 | ||
8d357cca AC |
4679 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
4680 | ||
4681 | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and | |
4682 | get_frame_base. | |
4683 | ||
bca02a8a DC |
4684 | 2003-01-08 David Carlton <carlton@math.stanford.edu> |
4685 | ||
4686 | * linespec.c (decode_line_1): Move code into decode_variable. | |
4687 | (decode_variable): New function. | |
4688 | ||
7f8ab3a0 AC |
4689 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
4690 | ||
4691 | * mn10300-tdep.c (analyze_dummy_frame): Fix typo. | |
4692 | ||
7b5849cc AC |
4693 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
4694 | ||
4695 | * cris-tdep.c (cris_frame_init_saved_regs): Use | |
4696 | get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a | |
4697 | saved_regs buffer. | |
4698 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
4699 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
4700 | (sh_fp_frame_init_saved_regs): Ditto. | |
4701 | * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. | |
4702 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
4703 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
4704 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
4705 | ||
72a5efb3 DJ |
4706 | 2003-01-08 Daniel Jacobowitz <drow@mvista.com> |
4707 | ||
4708 | * minsyms.c (lookup_minimal_symbol): Update comment. | |
4709 | (lookup_minimal_symbol_text): Update comment. Use the hash table. | |
4710 | (lookup_minimal_symbol_solib_trampoline): Likewise. | |
4711 | ||
11c02a10 AC |
4712 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
4713 | ||
aab3ea25 AC |
4714 | * d10v-tdep.c (d10v_init_extra_frame_info): Use |
4715 | frame_relative_level. | |
4716 | ||
da50a4b7 AC |
4717 | * alpha-tdep.c: Use get_frame_extra_info. |
4718 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
4719 | * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. | |
4720 | * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
4721 | * sparc-tdep.c, xstormy16-tdep.c: Ditto. | |
4722 | ||
11c02a10 AC |
4723 | * alpha-tdep.c: Use get_next_frame. |
4724 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
4725 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
4726 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. | |
4727 | * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. | |
4728 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. | |
4729 | * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. | |
4730 | * xstormy16-tdep.c: Ditto. | |
4731 | ||
1e2330ba AC |
4732 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
4733 | ||
4734 | * alpha-tdep.c: Use get_frame_base. | |
4735 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
4736 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
4737 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
4738 | * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
4739 | * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. | |
4740 | * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
4741 | * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. | |
4742 | * config/sparc/tm-sparc.h: Ditto. | |
4743 | ||
2d75187b AC |
4744 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
4745 | ||
4746 | * frame.c (deprecated_get_frame_context): New function. | |
4747 | (deprecated_set_frame_context): New function. | |
4748 | * frame.h (deprecated_get_frame_context): Declare. | |
4749 | (deprecated_set_frame_context): Declare. | |
4750 | * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. | |
4751 | (cfi_init_extra_frame_info): Use deprecated_set_frame_context. | |
4752 | ||
483d36b2 AC |
4753 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
4754 | ||
4755 | * frame.c (deprecated_set_frame_next_hack): New function. | |
4756 | (deprecated_set_frame_prev_hack): New function. | |
4757 | * frame.h (deprecated_set_frame_next_hack): Declare. | |
4758 | (deprecated_set_frame_prev_hack): Declare. | |
4759 | * mcore-tdep.c (analyze_dummy_frame): Use | |
4760 | deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. | |
4761 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
4762 | ||
14e91ac5 DC |
4763 | 2003-01-07 David Carlton <carlton@math.stanford.edu> |
4764 | ||
4765 | * linespec.c (decode_line_1): Move code into decode_dollar. | |
4766 | (decode_dollar): New function. | |
4767 | ||
b0c6b05c AC |
4768 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
4769 | ||
4770 | * arm-tdep.c (arm_init_extra_frame_info): Use | |
4771 | deprecated_update_frame_base_hack. | |
4772 | * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. | |
4773 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
4774 | (fix_frame_pointer): Ditto. | |
4775 | (mn10300_analyze_prologue): Ditto. | |
4776 | ||
a00a19e9 AC |
4777 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
4778 | ||
4779 | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate | |
4780 | extra_info using frame_extra_info_zalloc. | |
4781 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
4782 | * sh-tdep.c (sh_init_extra_frame_info): Ditto. | |
4783 | (sh64_init_extra_frame_info): Ditto. | |
4784 | * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. | |
4785 | * s390-tdep.c (s390_init_extra_frame_info): Ditto. | |
4786 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
4787 | * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. | |
4788 | * frv-tdep.c (frv_init_extra_frame_info): Ditto. | |
4789 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. | |
4790 | * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. | |
4791 | * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. | |
4792 | * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. | |
4793 | * cris-tdep.c (cris_init_extra_frame_info): Ditto. | |
4794 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
4795 | * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. | |
4796 | ||
4797 | * mn10300-tdep.c (analyze_dummy_frame): Use | |
4798 | deprecated_set_frame_extra_info_hack. | |
4799 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
4800 | ||
1fb4c65b JB |
4801 | 2003-01-07 J. Brobecker <brobecker@gnat.com> |
4802 | ||
4803 | * mdebugread.c (parse_symbol): Skip stProc entries which storage | |
4804 | class is not scText. These do not define "real" procedures. | |
4805 | (parse_partial_symbols): Likewise. | |
4806 | ||
9fe7d6bf MS |
4807 | 2003-01-06 Michael Snyder <msnyder@redhat.com> |
4808 | ||
4809 | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. | |
4810 | ||
f6c609c4 AC |
4811 | 2003-01-06 Andrew Cagney <ac131313@redhat.com> |
4812 | ||
4813 | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. | |
4814 | * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. | |
4815 | * arm-tdep.c (arm_frame_chain): Allocate caller_fi using | |
4816 | deprecated_frame_xmalloc_with_cleanup. | |
4817 | * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using | |
4818 | deprecated_frame_xmalloc. | |
4819 | * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. | |
4820 | * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame. | |
4821 | ||
d995ff4b AC |
4822 | 2003-01-06 Andrew Cagney <cagney@redhat.com> |
4823 | ||
84dc46cb AC |
4824 | * x86-64-linux-tdep.c: Include "osabi.h". |
4825 | * Makefile.in (x86-64-linux-tdep.o): Update dependencies. | |
4826 | ||
d995ff4b AC |
4827 | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach. |
4828 | ||
66140c26 AC |
4829 | 2003-01-06 Andrew Cagney <cagney@redhat.com> |
4830 | ||
4831 | * MAINTAINERS (Target Instruction Set Architectures): Update | |
4832 | arm-elf. Can be built with -Werror, has been multiarched. | |
4833 | ||
4834 | * value.h (unpack_long): Make buffer parameter constant. | |
4835 | (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. | |
4836 | * scm-lang.h (scm_parse): Ditto. | |
4837 | * defs.h (extract_typed_address, extract_address): Ditto. | |
4838 | (extract_long_unsigned_integer): Ditto. | |
4839 | * inferior.h (unsigned_pointer_to_address): Ditto. | |
4840 | (signed_pointer_to_address): Ditto. | |
4841 | * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. | |
4842 | * gdbarch.h, gdbarch.c: Regenerate. | |
4843 | * findvar.c (extract_long_unsigned_integer): Update. | |
4844 | (extract_address): Update. | |
4845 | (extract_typed_address): Update. | |
4846 | (unsigned_pointer_to_address): Update. | |
4847 | * values.c (unpack_long): Update. | |
4848 | (unpack_double): Update. | |
4849 | (unpack_pointer): Update. | |
4850 | (unpack_field_as_long): Update. | |
4851 | * d10v-tdep.c (d10v_pointer_to_address): Update. | |
4852 | * avr-tdep.c (avr_pointer_to_address): Update. | |
4853 | * scm-lang.c (scm_unpack): Update. | |
4854 | * findvar.c (signed_pointer_to_address): Update. | |
4855 | ||
b089b3da ML |
4856 | 2003-01-06 Michal Ludvig <mludvig@suse.cz> |
4857 | ||
4858 | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore | |
4859 | since it is in i386-tdep.c. | |
4860 | ||
aff87235 JB |
4861 | 2003-01-06 J. Brobecker <brobecker@gnat.com> |
4862 | ||
4863 | * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation | |
4864 | failure introduced in the previous change. | |
4865 | ||
34f5e845 MC |
4866 | 2003-01-05 Michael Chastain <mec@shout.net> |
4867 | ||
4868 | * README: Remove references to deleted remote-*.c files: | |
4869 | remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, | |
4870 | remote-nrom.c, remote-os9k.c, remote-udi.c. | |
4871 | ||
28bcfd30 MK |
4872 | 2003-01-05 Mark Kettenis <kettenis@gnu.org> |
4873 | ||
4874 | * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64. | |
4875 | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about | |
4876 | i386_get_longjmp_target. | |
4877 | ||
15a5b3ee AC |
4878 | 2003-01-05 Andrew Cagney <ac131313@redhat.com> |
4879 | ||
4880 | * arm-tdep.c (prologue_cache): Change to a pointer. | |
4881 | (_initialize_arm_tdep): Allocate prologue_cache. | |
4882 | (check_prologue_cache): Update. | |
4883 | (save_prologue_cache): Update. | |
4884 | (arm_gdbarch_init): Update. | |
4885 | ||
c263362b DJ |
4886 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
4887 | ||
4888 | * stabsread.c (update_method_name_from_physname): Call complaint() | |
4889 | instead of error. | |
4890 | ||
51603483 DJ |
4891 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
4892 | ||
4893 | * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. | |
4894 | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. | |
4895 | * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. | |
4896 | ||
4897 | * blockframe.c: Include "gdbcmd.h" and "command.h". | |
4898 | (backtrace_below_main): New variable. | |
4899 | (file_frame_chain_valid, func_frame_chain_valid) | |
4900 | (nonnull_frame_chain_valid, generic_file_frame_chain_valid) | |
4901 | (generic_func_frame_chain_valid): Remove functions. | |
4902 | (frame_chain_valid, do_flush_frames_sfunc): New functions. | |
4903 | (_initialize_blockframe): New function. | |
4904 | * Makefile.in (blockframe.o): Update dependencies. | |
4905 | * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME | |
4906 | comment. Call frame_chain_valid (). | |
4907 | * frame.h: Remove old prototypes. Add prototype for | |
4908 | frame_chain_valid and update comments to match. | |
4909 | * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. | |
4910 | Remove old comment. | |
4911 | * gdbarch.h: Regenerated. | |
4912 | * gdbarch.c: Regenerated. | |
4913 | ||
4914 | * alpha-tdep.c (alpha_gdbarch_init): Don't call | |
4915 | set_gdbarch_frame_chain_valid. | |
4916 | * avr-tdep.c (avr_gdbarch_init): Likewise. | |
4917 | * cris-tdep.c (cris_gdbarch_init): Likewise. | |
4918 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
4919 | * h8300-tdep.c (h8300_gdbarch_init): Likewise. | |
4920 | * i386-tdep.c (i386_svr4_init_abi): Likewise. | |
4921 | (i386_nw_init_abi): Likewise. | |
4922 | (i386_gdbarch_init): Likewise. | |
4923 | * ia64-tdep.c (ia64_gdbarch_init): Likewise. | |
4924 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
4925 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
4926 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
4927 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
4928 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
4929 | * ns32k-tdep.c (ns32k_gdbarch_init): Likewise. | |
4930 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise. | |
4931 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
4932 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
4933 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
4934 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
4935 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
4936 | * vax-tdep.c (vax_gdbarch_init): Likewise. | |
4937 | * x86-64-tdep.c (x86_64_init_abi): Likewise. | |
4938 | ||
4939 | * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define. | |
4940 | * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise. | |
4941 | * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise. | |
4942 | * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise. | |
4943 | * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise. | |
4944 | * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise. | |
4945 | * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise. | |
4946 | * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise. | |
4947 | ||
b00a8037 DJ |
4948 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
4949 | ||
4950 | * Makefile.in (acconfig_h): Remove incorrect macro. | |
4951 | (config_h): Define. | |
4952 | (osabi.o): Update dependencies. | |
4953 | * configure.tgt: Set gdb_osabi based on target triplet. | |
4954 | * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. | |
4955 | * configure: Regenerated. | |
4956 | * config.in: Regenerated. | |
4957 | * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". | |
4958 | (GDB_OSABI_DEFAULT): Define if not already defined. | |
4959 | (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) | |
4960 | (set_osabi_string): New variables. | |
4961 | (gdbarch_register_osabi): Add new OS ABI to | |
4962 | gdb_osabi_available_names. | |
4963 | (gdbarch_lookup_osabi): Honor specified and default OS ABIs. | |
4964 | (set_osabi, show_osabi): New functions. | |
4965 | (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands. | |
4966 | ||
4be87837 DJ |
4967 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
4968 | ||
4969 | * arch-utils.c (gdbarch_info_init): Set osabi to | |
4970 | GDB_OSABI_UNINITIALIZED. | |
4971 | * gdbarch.sh: Add osabi to struct gdbarch and to struct | |
4972 | gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi | |
4973 | in gdbarch_list_lookup_by_info and in gdbarch_update_p. | |
4974 | * gdbarch.c: Regenerated. | |
4975 | * gdbarch.h: Regenerated. | |
4976 | * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if | |
4977 | there's no BFD. | |
4978 | (gdbarch_init_osabi): Remove osabi argument; use info.osabi. | |
4979 | * osabi.h (enum gdb_osabi): Move to defs.h. | |
4980 | (gdbarch_init_osabi): Update prototype. | |
4981 | * defs.h (enum gdb_osabi): Moved here. | |
4982 | * Makefile.in: Update dependencies. | |
4983 | ||
4984 | * alpha-tdep.h: Don't include "osabi.h". | |
4985 | (struct gdbarch_tdep): Remove osabi member. | |
4986 | * alpha-tdep.c: Include "osabi.h". | |
4987 | (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
4988 | iterate over arches. Update call to gdbarch_init_osabi. | |
4989 | (alpha_dump_tdep): Don't dump osabi. | |
4990 | * alpha-linux-tdep.c: Include "osabi.h". | |
4991 | * alpha-osf1-tdep.c: Include "osabi.h". | |
4992 | * alphafbsd-tdep.c: Include "osabi.h". | |
4993 | * alphanbsd-tdep.c: Include "osabi.h". | |
4994 | ||
4995 | * arm-tdep.h: Don't include "osabi.h". | |
4996 | (struct gdbarch_tdep): Remove osabi member. | |
4997 | * arm-tdep.c: Include "osabi.h". | |
4998 | (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
4999 | iterate over arches. Update call to gdbarch_init_osabi. | |
5000 | (arm_dump_tdep): Don't dump osabi. | |
5001 | * arm-linux-tdep.c: Include "osabi.h". | |
5002 | * armnbsd-tdep.c: Include "osabi.h". | |
5003 | ||
5004 | * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi. | |
5005 | Update call to gdbarch_init_osabi. | |
5006 | ||
5007 | * i386-tdep.h: Don't include "osabi.h". | |
5008 | (struct gdbarch_tdep): Remove osabi member. | |
5009 | * i386-tdep.c: Include "osabi.h". | |
5010 | (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
5011 | iterate over arches. Update call to gdbarch_init_osabi. | |
5012 | (i386_dump_tdep): Don't dump osabi. | |
5013 | * i386-linux-tdep.c: Include "osabi.h". | |
5014 | * i386-sol2-tdep.c: Include "osabi.h". | |
5015 | * i386bsd-tdep.c: Include "osabi.h". | |
5016 | * i386gnu-tdep.c: Include "osabi.h". | |
5017 | * i386ly-tdep.c: Include "osabi.h". | |
5018 | * i386nbsd-tdep.c: Include "osabi.h". | |
5019 | * i386obsd-tdep.c: Include "osabi.h". | |
5020 | ||
5021 | * mips-tdep.c (struct gdbarch_tdep): Remove osabi member. | |
5022 | (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
5023 | check osabi when iterating over arches. Update call to | |
5024 | gdbarch_init_osabi. | |
5025 | (mips_dump_tdep): Don't dump osabi. | |
5026 | ||
5027 | * ns32k-tdep.h: Don't include "osabi.h". | |
5028 | (struct gdbarch_tdep): Remove. | |
5029 | * ns32k-tdep.c (ns32k_gdbarch_init): Don't call | |
5030 | gdbarch_lookup_osabi. Don't iterate over arches. Don't | |
5031 | allocate tdep. Update call to gdbarch_init_osabi. | |
5032 | (ns32k_dump_tdep): Remove. | |
5033 | (_initialize_ns32k_tdep): Update call to gdbarch_register. | |
5034 | * ns32knbsd-tdep.c: Include "osabi.h". | |
5035 | ||
5036 | * ppc-tdep.h: Don't include "osabi.h". | |
5037 | (struct gdbarch_tdep): Remove osabi member. | |
5038 | * rs6000-tdep.c: Include "osabi.h". | |
5039 | (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check | |
5040 | osabi when iterating over arches. Update call to | |
5041 | gdbarch_init_osabi. | |
5042 | (rs6000_dump_tdep): Don't dump osabi. | |
5043 | * ppc-linux-tdep.c: Include "osabi.h". | |
5044 | * ppcnbsd-tdep.c: Include "osabi.h". | |
5045 | ||
5046 | * sh-tdep.h: Don't include "osabi.h". | |
5047 | (struct gdbarch_tdep): Remove osabi member. | |
5048 | * sh-tdep.c: Include "osabi.h". | |
5049 | (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
5050 | iterate over arches. Update call to gdbarch_init_osabi. | |
5051 | (sh_dump_tdep): Don't dump osabi. | |
5052 | * shnbsd-tdep.c: Include "osabi.h". | |
5053 | ||
5054 | * sparc-tdep.c: Include "osabi.h". | |
5055 | (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
5056 | iterate over arches. Update call to gdbarch_init_osabi. | |
5057 | (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the | |
5058 | tdep structure. | |
5059 | ||
5060 | * vax-tdep.h: Don't include "osabi.h". | |
5061 | (struct gdbarch_tdep): Remove. | |
5062 | * vax-tdep.c: Include "osabi.h". | |
5063 | (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
5064 | iterate over arches. Don't allocate tdep. Update call | |
5065 | to gdbarch_init_osabi. | |
5066 | (vax_dump_tdep): Remove. | |
5067 | (_initialize_vax_tdep): Update call to gdbarch_register. | |
5068 | ||
a881cf8e DJ |
5069 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
5070 | ||
5071 | * breakpoint.c (insert_breakpoints): Skip disabled breakpoints | |
5072 | entirely. | |
5073 | (breakpoint_re_set_one): Don't fetch the value for a disabled | |
5074 | watchpoint. | |
5075 | ||
1e698235 DJ |
5076 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
5077 | ||
5078 | * buildsym.h (processing_hp_compilation): Remove obsolete variable. | |
5079 | * gdbarch.sh Remove include of "value.h" in gdbarch.h. | |
5080 | (COERCE_FLOAT_TO_DOUBLE): Remove. | |
5081 | * gdbarch.c: Regenerate. | |
5082 | * gdbarch.h: Regenerate. | |
5083 | * Makefile.in: Remove value_h from gdbarch_h. | |
5084 | * valops.c (coerce_float_to_double): New variable. | |
5085 | (default_coerce_float_to_double): Remove. | |
5086 | (standard_coerce_float_to_double): Remove. | |
5087 | (value_arg_coerce): Use coerce_float_to_double. | |
5088 | (_initialize_valops): Add "set coerce-float-to-double". | |
5089 | * value.h (default_coerce_float_to_double): Remove prototype. | |
5090 | (standard_coerce_float_to_double): Remove prototype. | |
5091 | ||
5092 | * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as | |
5093 | prototyped. | |
5094 | * mdebugread.c (parse_symbol): Likewise. | |
5095 | * stabsread.c (define_symbol): Mark all functions as prototyped. | |
5096 | ||
5097 | * hppa-tdep.c (hppa_coerce_float_to_double): Remove. | |
5098 | * alpha-tdep.c (alpha_gdbarch_init): Remove call to | |
5099 | set_gdbarch_coerce_float_to_double. | |
5100 | * arm-tdep.c (arm_gdbarch_init): Likewise. | |
5101 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
5102 | * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). | |
5103 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
5104 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
5105 | (mips_coerce_float_to_double): Remove. | |
5106 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
5107 | (rs6000_coerce_float_to_double): Remove. | |
5108 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
5109 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
5110 | (sh_coerce_float_to_double): Remove. | |
5111 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
5112 | (sparc_coerce_float_to_double): Remove. | |
5113 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
5114 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
5115 | * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
5116 | * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. | |
5117 | (hppa_coerce_float_to_double): Remove prototype. | |
5118 | * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
5119 | ||
f436a26a DJ |
5120 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
5121 | ||
5122 | * regformats/reg-m68k.dat: Remove fpcode and fpflags. | |
5123 | ||
248f8055 DJ |
5124 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
5125 | ||
5126 | Suggested by Stewart Brown <sb24@avaya.com>: | |
5127 | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show | |
5128 | in recursive calls. Handle TYPE_CODE_TYPEDEF. | |
5129 | (c_type_print_varspec_suffix): Likewise. | |
5130 | ||
72cfdc76 MK |
5131 | 2003-01-04 Mark Kettenis <kettenis@gnu.org> |
5132 | ||
bfd260bb MK |
5133 | * configure.in: Don't set and AC_SUBST SUBDIRS. |
5134 | * configure: Regenerated. | |
5135 | ||
72cfdc76 MK |
5136 | * configure.in: Remove code dealing with shared libraries. |
5137 | * Makefile.in: Remove HLDFLAGS and HLDENV. | |
5138 | * configure: Regenerated. | |
5139 | ||
c8b8a898 AC |
5140 | 2003-01-04 Andrew Cagney <ac131313@redhat.com> |
5141 | ||
5142 | * frame.c (deprecated_frame_xmalloc): New function. | |
5143 | (deprecated_set_frame_saved_regs_hack): New function. | |
5144 | (deprecated_set_frame_extra_info_hack): New function. | |
5145 | * frame.h (deprecated_frame_xmalloc): Declare. | |
5146 | (deprecated_set_frame_saved_regs_hack): Declare. | |
5147 | (deprecated_set_frame_extra_info_hack): Declare. | |
5148 | ||
14abd0fb MK |
5149 | 2003-01-04 Mark Kettenis <kettenis@gnu.org> |
5150 | ||
8ee53726 MK |
5151 | * configure.in: Move code that provides the --enable-gdbtk option |
5152 | right after the code that handles the --enable-tui option, and | |
5153 | polish it somewhat. | |
5154 | * configure: Regenerated. | |
5155 | ||
14abd0fb MK |
5156 | * configure.in: Call AC_GNU_SOURCE. Check for pread64 using |
5157 | AC_CHECK_FUNCS and remove the old check for pread64. | |
5158 | * acinclude.m4 (AC_GNU_SOURCE): New macro. | |
5159 | * acconfig.h (_GNU_SOURCE): Add. | |
5160 | (HAVE_PREAD64): Remove. | |
5161 | * configure, aclocal.m4, config.in: Regenerated. | |
5162 | ||
b2fb4676 AC |
5163 | 2003-01-03 Andrew Cagney <ac131313@redhat.com> |
5164 | ||
5165 | * alpha-tdep.c: Use get_frame_saved_regs. | |
5166 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
5167 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
5168 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto. | |
5169 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto. | |
5170 | * vax-tdep.c, xstormy16-tdep.c: Ditto. | |
5171 | ||
8dcde887 MK |
5172 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
5173 | ||
5174 | * configure.in: Remove all use of the SUBDIRS variable; add | |
5175 | directories using the AC_CONFIG_SUBDIRS macro instead. Polish | |
5176 | code providing the --enable-multi-ice option, and move it right in | |
5177 | front of the code that checks whether gdbserver is supported. | |
5178 | Polish that too. | |
5179 | * configure: Regenerated. | |
5180 | * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of | |
5181 | @SUBDIRS@. | |
5182 | ||
8ccd593b AC |
5183 | 2003-01-03 Andrew Cagney <cagney@redhat.com> |
5184 | ||
5185 | * alpha-tdep.c: Use deprecated_update_frame_base_hack. | |
5186 | * avr-tdep.c, cris-tdep.c: Ditto. | |
5187 | * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
5188 | * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
5189 | ||
91151a06 MK |
5190 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
5191 | ||
5192 | * configure.in: Remove --enable-netrom option. | |
5193 | * configure: Regenerated. | |
5194 | ||
8fe84d01 MK |
5195 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
5196 | ||
5197 | * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward | |
5198 | declaration for `struct re_pattern_buffer' instead. | |
5199 | * Makefile.in (cli_decode_h): Remove $(gdb_regex_h). | |
5200 | ||
f0394be6 JB |
5201 | 2003-01-03 J. Brobecker <brobecker@gnat.com> |
5202 | ||
5203 | * mdebugread.c (parse_symbol): Count until the stEnd matching | |
5204 | the structure name. | |
5205 | ||
27e9bf90 MK |
5206 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
5207 | ||
93d331ba MK |
5208 | * configure.in: Remove --with-cpu option. |
5209 | subscripts. Remove evil changequotes here. | |
5210 | * acconfig.h (TARGET_CPU_DEFAULT): Remove. | |
5211 | * config.in, configure: Regenerated. | |
5212 | ||
27e9bf90 MK |
5213 | * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. |
5214 | * configure.in: Cleanup section that sources GDB and BFD configure | |
5215 | subscripts. Remove evil changequotes here. | |
5216 | * config.in, configure: Regenerated. | |
5217 | ||
50abf9e5 AC |
5218 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
5219 | ||
5220 | * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack | |
5221 | frame accessor methods. | |
5222 | * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
5223 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
5224 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. | |
5225 | * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. | |
5226 | * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
5227 | * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
5228 | * z8k-tdep.c: Ditto. | |
5229 | ||
287c1a40 MK |
5230 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
5231 | ||
f5dbc56d MK |
5232 | * configure.in: Remove UI_OUT configuration code. |
5233 | * ada-lang.c: Update assuming UI_OUT is always true. | |
5234 | * Makefile.in (UIOUT_CFLAGS): Remove. | |
5235 | * configure: Regenerated. | |
5236 | * TODO: Remove blurb about elimination of -DUI_OUT. | |
5237 | ||
627af7ea MK |
5238 | * configure.in: Move code that provides the --enable-gdbcli, |
5239 | --enable-gdbmi options right before the code that handles the | |
5240 | --enable-tui option. Polish a bit. | |
5241 | * configure: Regenerated. | |
5242 | ||
06825bd1 MK |
5243 | * configure.in: Rewrite check for GNU regex and the |
5244 | --without-included regex option, and move it into the "Checks for | |
5245 | library functions" section. This makes us use the system regex | |
5246 | again by default on systems with version 2 of the GNU C library. | |
5247 | This was apparently broken. | |
5248 | * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. | |
5249 | * acconfig.h (USE_INCLUDED_REGEX): Remove. | |
5250 | * config.in, configure: Regenerated. | |
5251 | ||
287c1a40 MK |
5252 | * configure.in: Move code that provides the --enable-tui option |
5253 | before the "Checks for libraries" section. Polish the code | |
5254 | somewhat and set need_curses to yes if we build the TUI. Rewrite | |
5255 | code that looks for a library providing termcap functionality to | |
5256 | match more closely what's done in the Readline library, and move | |
5257 | it into to the "Checks for libraries" section. | |
5258 | * configure: Regenerated. | |
5259 | * Makefile.in (TERMCAP): Remove variable. | |
5260 | * config/i386/go32.mh (TERMCAP): Remove variable. | |
5261 | ||
684e56bf AC |
5262 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
5263 | ||
5264 | * MAINTAINERS: Mention gdb_mbuild.sh. | |
5265 | * gdb_mbuild.sh: Rewrite. | |
5266 | ||
e1ea1d75 MK |
5267 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
5268 | ||
5269 | * configure.in: Fix typo in last change. | |
5270 | * config.in, configure: Regenerated. | |
5271 | ||
1b831c93 AC |
5272 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
5273 | ||
5274 | * valarith.c (value_binop): Delete obsolete code and comments. | |
5275 | * configure.host: Ditto. | |
5276 | * buildsym.h (make_blockvector): Ditto. | |
5277 | * buildsym.c (make_blockvector): Ditto. | |
5278 | * defs.h (enum language): Ditto. | |
5279 | (chill_demangle): Ditto. | |
5280 | * elfread.c (elf_symtab_read): Ditto. | |
5281 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
5282 | (set_cu_language): Ditto. | |
5283 | (handle_producer): Ditto. | |
5284 | * expprint.c (print_subexp): Ditto. | |
5285 | * gdbtypes.c (chill_varying_type): Ditto. | |
5286 | * gdbtypes.h (builtin_type_chill_bool): Ditto. | |
5287 | (builtin_type_chill_char, builtin_type_chill_long): Ditto. | |
5288 | (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. | |
5289 | (chill_varying_type): Ditto. | |
5290 | * language.h (_LANG_chill): Ditto. | |
5291 | * language.c (binop_result_type, integral_type): Ditto. | |
5292 | (character_type, string_type, structured_type): Ditto. | |
5293 | (lang_bool_type, binop_type_check): Ditto. | |
5294 | * stabsread.h (os9k_stabs): Ditto. | |
5295 | * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. | |
5296 | (define_symbol, read_type, read_struct_fields): Ditto. | |
5297 | (read_array_type, read_enum_type, read_huge_number): Ditto. | |
5298 | (read_range_type, start_stabs): Ditto. | |
5299 | * symfile.c (init_filename_language_table): Ditto. | |
5300 | (add_psymbol_with_dem_name_to_list): Ditto. | |
5301 | * symtab.c (symbol_init_language_specific): Ditto. | |
5302 | (symbol_init_demangled_name, symbol_demangled_name): Ditto. | |
5303 | * symtab.h (struct general_symbol_info): Ditto. | |
5304 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
5305 | * typeprint.c (typedef_print): Ditto. | |
5306 | * utils.c (fprintf_symbol_filtered): Ditto. | |
5307 | * valops.c (value_cast, search_struct_field, value_slice): Delete | |
5308 | obsolete code. | |
5309 | (varying_to_slice): Delete function. | |
5310 | * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. | |
5311 | (varying_to_slice): Delete declaration. | |
5312 | * MAINTAINERS: Update. | |
5313 | ||
8bb2c122 MK |
5314 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
5315 | ||
97bf5e38 MK |
5316 | * configure.in: Reorganize "Checks for library functions section" |
5317 | a bit. Remove check for `btowc' and `isascii' functions. | |
5318 | * configure: Regenerated. | |
5319 | ||
5ee754fc MK |
5320 | * acconfig.h (_MSE_INT_H): Remove. |
5321 | * configure.in: Create "Checks for header files" section, and move | |
5322 | appropriate tests there. Don't check for objlist.h, wchar.h, | |
5323 | wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> | |
5324 | misdetection fix. Also add "Checks for types", "Checks for | |
5325 | compiler characteristics" and "Checks for library functions" | |
5326 | sections. | |
5327 | * config.in, configure: Regenerated. | |
5328 | ||
8bb2c122 MK |
5329 | * configure.in: Create "Checks for programs" section, and move |
5330 | appropriate tests there. | |
5331 | ||
9a156167 MK |
5332 | 2003-01-01 Mark Kettenis <kettenis@gnu.org> |
5333 | ||
5334 | * configure.in: Create "Checks for libraries" section, and move | |
5335 | appropriate tests there. Cleanup check for wctype in libw. Use | |
5336 | AC_SEARCH_LIBS to see whether we need libsocket. | |
5337 | * configure: Regenerated. | |
5338 | ||
a80e2bcb | 5339 | For older changes see ChangeLog-2002 |
c906108c SS |
5340 | \f |
5341 | Local Variables: | |
5342 | mode: change-log | |
5343 | left-margin: 8 | |
5344 | fill-column: 74 | |
5345 | version-control: never | |
5346 | End: |