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