Commit | Line | Data |
---|---|---|
1762d96d CV |
1 | 2003-03-21 Corinna Vinschen <vinschen@redhat.com> |
2 | ||
3 | * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c. | |
4 | (i386-cygwin-tdep.o): Add dependencies. | |
5 | * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. | |
6 | * i386-cygwin-tdep.c: New file. | |
7 | * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. | |
8 | * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o. | |
9 | ||
4c2e2391 AC |
10 | 2003-03-20 Andrew Cagney <cagney@redhat.com> |
11 | ||
f20d38b7 AC |
12 | * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. |
13 | (handle_inferior_event): Remove code calling | |
14 | DYNAMIC_TRAMPOLINE_NEXTPC. | |
15 | ||
0022b738 AC |
16 | * Makefile.in (init.c): Don't add $(srcdir) prefix when a file |
17 | already has a full path. | |
18 | ||
864dbc90 AC |
19 | * main.c (gdb_main): Return 1. |
20 | (captured_main): Call error to report an invalid interpreter. | |
21 | ||
4c2e2391 AC |
22 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. |
23 | * alpha-osf1-tdep.c: Include "gdb_string.h". | |
24 | ||
5ef7553b JB |
25 | 2003-03-19 J. Brobecker <brobecker@gnat.com> |
26 | ||
27 | Continuing work to convert the hppa targets to multiarch partial. | |
28 | ||
29 | * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch | |
30 | method, now that hppa_push_dummy_frame has a conformant prototype. | |
31 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro | |
32 | inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation | |
33 | for the switch to multiarch partial. | |
34 | ||
7bde8967 KB |
35 | 2003-03-19 Kevin Buettner <kevinb@redhat.com> |
36 | ||
37 | * mdebugread.c (parse_symbol): For stEnd, we're done counting | |
38 | when iss is issNull. | |
39 | ||
b006a9e9 KB |
40 | 2003-03-18 Kevin Buettner <kevinb@redhat.com> |
41 | ||
42 | * mips-tdep.c (mips_register_name): Fix fencepost error involving | |
43 | NUM_REGS bounds check. | |
44 | ||
5e2e9765 KB |
45 | 2003-03-18 Kevin Buettner <kevinb@redhat.com> |
46 | ||
47 | * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h). | |
48 | * mips-tdep.c (gdb_assert.h): Include. | |
49 | (mips_generic_reg_names, mips_processor_reg_names): Make static. | |
50 | (mips_register_name): Handle integer registers explicitly. Add | |
51 | bounds checking. | |
52 | (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names) | |
53 | (mips_lsi33k_reg_names): Don't list integer registers; they're | |
54 | handled by mips_register_name() now. | |
55 | * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise. | |
56 | * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise. | |
57 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise. | |
58 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise. | |
59 | * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise. | |
60 | ||
a2867626 AC |
61 | 2003-03-18 Andrew Cagney <cagney@redhat.com> |
62 | ||
63 | * printcmd.c (print_scalar_formatted): Change VALADDR parameter to | |
64 | a void pointer. | |
65 | * gdbtypes.h (print_scalar_formatted): Update declaration. | |
66 | * expression.h (enum exp_opcode): Remove non-ISO C trailing comma. | |
67 | ||
06600e06 JB |
68 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
69 | ||
70 | * infrun.c (observer.h): Add #include. | |
71 | (normal_stop): Add call to observer_notify_normal_stop. | |
72 | * Makefile.in (infrun.o): Add dependency on observer.h. | |
73 | ||
7daf4f5b JB |
74 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
75 | ||
76 | Continuing work to convert the hppa targets to multiarch partial. | |
77 | * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function | |
78 | parameter. Reformat comment. | |
79 | * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile. | |
80 | (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame() | |
81 | to match new profile. | |
82 | ||
3371ccc0 JB |
83 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
84 | ||
85 | * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not | |
86 | appear to be working in any case. | |
87 | ||
4fbe891e JB |
88 | 2003-03-18 J. Brobecker <brobecker@gnat.com> |
89 | ||
90 | * observer.c (observer_test_first_observer): New static variable. | |
91 | (observer_test_second_observer): Likewise. | |
92 | (observer_test_third_observer): Likewise. | |
93 | (observer_test_first_notification_function): New static function. | |
94 | (observer_test_second_notification_function): Likewise. | |
95 | (observer_test_third_notification_function): Likewise. | |
96 | ||
a7ff40e7 JB |
97 | 2003-03-17 J. Brobecker <brobecker@gnat.com> |
98 | ||
99 | * hppa-tdep.c (gdb_assert.h): Add missing #include. | |
100 | * somsolib.c (gdb_assert.h): Likewise. | |
101 | * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. | |
102 | (somsolib.o): Likewise. | |
103 | ||
26ca4152 AC |
104 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
105 | ||
106 | * disasm.c (gdb_disassembly): Set di.mach using the architecture's | |
107 | BFD. Simplify setting of di.endian. | |
108 | ||
0a613259 AC |
109 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
110 | ||
111 | * rs6000-tdep.c (ppc_floating_point_unit_p): New function. | |
112 | * ppc-tdep.h (ppc_floating_point_unit_p): Declare. | |
113 | ||
114 | From Elena Zannoni <ezannoni@redhat.com> | |
115 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 | |
116 | vector and floating-point parameters. | |
117 | (ppc_sysv_abi_use_struct_convention): Handle e500 struct return | |
118 | convention. | |
119 | (ppc_sysv_abi_broken_use_struct_convention): Ditto. | |
120 | ||
1132738f FN |
121 | 2003-03-17 Fernando Nasser <fnasser@redhat.com> |
122 | ||
123 | * MAINTAINERS: Remove my name from several maintainership roles. | |
124 | ||
6dc42492 AC |
125 | 2003-03-17 Andrew Cagney <cagney@redhat.com> |
126 | ||
127 | Fix frame off-by-one bug. | |
128 | * frame-unwind.h (frame_this_id_ftype): Replace | |
129 | frame_unwind_id_ftype. | |
130 | (frame_prev_register_ftype): Replace frame_unwind_reg_ftype. | |
131 | (struct frame_unwind): Replace "id" with "this_id". Replace "reg" | |
132 | with "prev_register". | |
133 | * frame-unwind.c (frame_unwind_find_by_pc): Return | |
134 | legacy_saved_regs_unwind instead of trad_frame_unwind. Update | |
135 | comment. | |
136 | * dummy-frame.c (cached_find_dummy_frame): Delete function. | |
137 | (dummy_frame_this_id): Replace dummy_frame_id_unwind. | |
138 | (dummy_frame_prev_register): Replace dummy_frame_register_unwind. | |
139 | (dummy_frame_unwind): Update. | |
140 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
141 | sentinel_frame_register_unwind. | |
142 | (sentinel_frame_this_id): Replace sentinel_frame_id_unwind. | |
143 | (sentinel_frame_unwinder): Update. | |
144 | * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
145 | (struct frame_info): Rename "unwind_cache" to "prologue_cache". | |
146 | * frame.c (create_sentinel_frame): Update. Initialize | |
147 | "prologue_cache" instead of "unwind_cache". | |
148 | (frame_register_unwind): Call this frame's prev_register with the | |
149 | next frame and this frame's prologue cache. | |
150 | (get_prev_frame): Simplify. Always call prev frame's this_id with | |
151 | this frame and prev frame's prologue cache. Document that this | |
152 | call is shifted one to the left when compared to the | |
153 | frame_register_unwind call. | |
154 | (legacy_saved_regs_prev_register): Replace | |
155 | frame_saved_regs_register_unwind. | |
156 | (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind. | |
157 | (legacy_saved_regs_unwinder): Replace trad_frame_unwinder. | |
158 | (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
159 | * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind. | |
160 | (d10v_frame_unwind): Update. | |
161 | (d10v_frame_prev_register): Replace d10v_frame_register_unwind. | |
162 | (d10v_frame_unwind_cache): Replace this "fi" with "next_frame". | |
163 | (saved_regs_unwinder): Replace this "frame" with "next_frame", and | |
164 | "saved_regs" with "this_saved_regs". | |
165 | ||
efd710d6 AC |
166 | 2003-03-16 Andrew Cagney <cagney@redhat.com> |
167 | ||
168 | * frame.c (frame_pop): Don't call target_store_registers. Fix | |
169 | problem reported by Mark Kettenis. | |
170 | ||
4e259f09 MK |
171 | 2003-03-16 Mark Kettenis <kettenis@gnu.org> |
172 | ||
173 | * i386-tdep.c (i386_register_type): Renamed from | |
174 | i386_register_virtual_type. Adjust function signature. | |
175 | (i386_gdbarch_init): Set register_type instead of | |
176 | deprecated_max_register_raw_size, | |
177 | deprecated_max_register_virtual_size and register_virtual_type. | |
178 | ||
055bb976 AC |
179 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
180 | ||
181 | * frame.c (get_prev_frame): When a legacy frame, always call | |
182 | legacy_get_prev_frame. Simplify unwind code using assumption that | |
183 | the unwinder is new. | |
184 | (legacy_get_prev_frame): Handle legacy sentinel frame unwind here. | |
185 | (legacy_frame_p): When no gdbarch_unwind_dummy_id, or | |
186 | SAVED_DUMMY_FRAME_TOS, assume a legacy frame. | |
187 | ||
ac2adee5 AC |
188 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
189 | ||
190 | * frame.c (get_saved_register): Delete function. | |
191 | * frame.h (get_saved_register): Delete declaration. | |
192 | * xstormy16-tdep.c: Update comment. | |
193 | * regcache.h: Update comments. | |
194 | * sparc-tdep.c (sparc_init_extra_frame_info): Instead of | |
195 | get_saved_register and extract_address, use | |
196 | frame_read_unsigned_register. | |
197 | (sparc_frame_saved_pc): Ditto. | |
198 | (sparc_get_saved_register): Instead of get_saved_register, use | |
199 | frame_register. | |
200 | (sparc_pop_frame): Ditto. | |
201 | * findvar.c: Update comments. | |
202 | (value_of_register): Call frame_register instead of | |
203 | get_saved_register. | |
204 | (value_from_register): Ditto. | |
205 | * config/sparc/tm-sparc.h: Update comment. | |
206 | * breakpoint.c: Update comment. | |
207 | ||
129c1cd6 AC |
208 | 2003-03-14 Andrew Cagney <cagney@redhat.com> |
209 | ||
210 | * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace | |
211 | GET_SAVED_REGISTER. | |
212 | * gdbarch.h, gdbarch.c: Re-generate. | |
213 | * frame.h: Update comments. | |
214 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
215 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
216 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
217 | * sh-tdep.c (sh_gdbarch_init): Update. | |
218 | * mips-tdep.c (mips_gdbarch_init): Update. | |
219 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
220 | * cris-tdep.c (cris_gdbarch_init): Update. | |
221 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
222 | * frame.c (frame_register): Update. | |
223 | (get_saved_register): Update. | |
224 | * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. | |
225 | ||
749b82f6 AC |
226 | 2003-03-13 Andrew Cagney <cagney@redhat.com> |
227 | ||
228 | * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. | |
229 | * gdbarch.h, gdbarch.c: Regenerate. | |
230 | * valops.c (hand_function_call): Update comment. | |
231 | * stack.c (return_command): Update comment. | |
232 | * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update. | |
233 | * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update. | |
234 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
235 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
236 | * vax-tdep.c (vax_gdbarch_init): Update. | |
237 | * v850-tdep.c (v850_gdbarch_init): Update. | |
238 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
239 | * sh-tdep.c (sh_gdbarch_init): Update. | |
240 | * s390-tdep.c (s390_gdbarch_init): Update. | |
241 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
242 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
243 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
244 | * mips-tdep.c (mips_gdbarch_init): Update. | |
245 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
246 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
247 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
248 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
249 | * i386-tdep.c (i386_gdbarch_init): Update. | |
250 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
251 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
252 | * frv-tdep.c (frv_gdbarch_init): Update. | |
253 | * cris-tdep.c (cris_gdbarch_init): Update. | |
254 | * avr-tdep.c (avr_gdbarch_init): Update. | |
255 | * arm-tdep.c (arm_gdbarch_init): Update. | |
256 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
257 | ||
1594fa56 AC |
258 | 2003-03-13 Andrew Cagney <cagney@redhat.com> |
259 | ||
260 | * frame.c (legacy_frame_p): New function. | |
261 | (get_prev_frame): Use legacy_frame_p. | |
262 | * frame.h (legacy_frame_p): Declare. | |
263 | ||
7717fda3 V |
264 | 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com> |
265 | ||
266 | * MAINTAINERS (write after approval): Alphabetically | |
267 | listing corrected. | |
268 | ||
0c67cbe9 V |
269 | 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com> |
270 | ||
271 | * MAINTAINERS (write after approval): Add myself. | |
272 | ||
03febf99 AC |
273 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
274 | ||
275 | * frame.c (get_prev_frame): Rename the frame parameter to | |
276 | "this_frame". | |
277 | (get_next_frame, legacy_get_prev_frame): Ditto. | |
278 | ||
0a1e1ca1 AC |
279 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
280 | ||
281 | * frame.c (get_current_frame): Check target_has_registers before | |
282 | checking target_has_stack. | |
283 | * eval.c (evaluate_subexp_standard): Use get_selected_frame, | |
284 | instead of deprecated_selected_frame. | |
285 | * findvar.c (value_of_register): Pass "frame", not | |
286 | deprecated_selected_frame, to value_of_builtin_reg. | |
287 | ||
a66a9c23 AC |
288 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
289 | ||
290 | * regcache.c (regcache_cooked_write_signed): New function. | |
291 | (regcache_cooked_write_unsigned): New function. | |
292 | (regcache_cooked_read_unsigned): Fix regnum in range assertion. | |
293 | (regcache_cooked_read_signed): Fix regnum in range assertion. | |
294 | * regcache.h (regcache_cooked_write_signed): Declare. | |
295 | (regcache_cooked_write_unsigned): Declare. | |
296 | ||
8bedc050 AC |
297 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
298 | ||
299 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
300 | * gdbarch.h, gdbarch.c: Re-generate. | |
301 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
302 | * x86-64-tdep.h: Update. | |
303 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
304 | * v850-tdep.c (v850_gdbarch_init): Update. | |
305 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
306 | * sh-tdep.c (sh_gdbarch_init): Update. | |
307 | * s390-tdep.c (s390_gdbarch_init): Update. | |
308 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
309 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
310 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
311 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
312 | * mips-tdep.c (mips_gdbarch_init): Update. | |
313 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
314 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
315 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
316 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
317 | * i386-tdep.c (i386_gdbarch_init): Update. | |
318 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
319 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
320 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
321 | * frv-tdep.c (frv_gdbarch_init): Update. | |
322 | * cris-tdep.c (cris_gdbarch_init): Update. | |
323 | * avr-tdep.c (avr_gdbarch_init): Update. | |
324 | * arm-tdep.c (arm_gdbarch_init): Update. | |
325 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
326 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
327 | (sh64_init_extra_frame_info): Update. | |
328 | * ns32knbsd-nat.c (frame_num_args): Update. | |
329 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
330 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
331 | (xstormy16_frame_chain_valid): Update. | |
332 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
333 | * v850-tdep.c (v850_frame_chain): Update. | |
334 | (v850_pop_frame): Update. | |
335 | (v850_init_extra_frame_info): Update. | |
336 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
337 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
338 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
339 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
340 | (mn10300_pop_frame_regular): Update. | |
341 | (mn10300_init_extra_frame_info): Update. | |
342 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
343 | (mips_frame_chain): Update. | |
344 | (mips_pop_frame): Update. | |
345 | * mcore-tdep.c (mcore_frame_chain): Update. | |
346 | (mcore_pop_frame): Update. | |
347 | (mcore_init_extra_frame_info): Update. | |
348 | * arch-utils.c (init_frame_pc_default): Update. | |
349 | * m68k-tdep.c (isi_frame_num_args): Update. | |
350 | (delta68_frame_num_args): Update. | |
351 | (news_frame_num_args): Update. | |
352 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
353 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
354 | (alpha_frame_chain): Update. | |
355 | (alpha_pop_frame): Update. | |
356 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
357 | (hppa_init_extra_frame_info): Update. | |
358 | (hppa_frame_chain): Update. | |
359 | (hppa_frame_chain_valid): Update. | |
360 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
361 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
362 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
363 | (arm_init_extra_frame_info): Update. | |
364 | (arm_pop_frame): Update. | |
365 | * frame.c (frame_pc_unwind): Update. | |
366 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
367 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
368 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
369 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
370 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
371 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
372 | ||
7a25a7c1 AC |
373 | 2003-03-12 Andrew Cagney <cagney@redhat.com> |
374 | ||
375 | Eliminate the need for POP_FRAME. | |
376 | * frame.c (do_frame_unwind_register): New function. | |
377 | (frame_pop): When no POP_FRAME, pop the frame using register | |
378 | unwind and a scratch regcache. | |
379 | (frame_saved_regs_pop): Delete function. | |
380 | (trad_frame_unwinder): Update. | |
381 | * d10v-tdep.c (d10v_frame_pop): Delete function. | |
382 | (d10v_frame_unwind): Update. | |
383 | * sentinel-frame.c (sentinel_frame_pop): Delete function. | |
384 | (sentinel_frame_unwinder): Update. | |
385 | * dummy-frame.c (dummy_frame_pop): Delete function. | |
386 | (dummy_frame_unwind): Update. | |
387 | * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. | |
388 | (struct frame_unwind): Update. | |
389 | ||
2f38ef89 KB |
390 | 2003-03-11 Kevin Buettner <kevinb@redhat.com> |
391 | ||
392 | * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to | |
393 | mips_dwarf_dwarf2_ecoff_reg_to_regnum(). | |
394 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): | |
395 | Do range checks on register number obtained from debugging info. | |
396 | (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and | |
397 | set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of | |
398 | set_gdbarch_ecoff_reg_to_regnum() to account for new name of | |
399 | mapping function. | |
400 | (do_fp_register_row): Fix typo which caused double type to be | |
401 | used when attempting to unpack a float. | |
402 | ||
552f4abf JB |
403 | 2003-03-11 J. Brobecker <brobecker@gnat.com> |
404 | ||
405 | * breakpoint.c (bpstat_stop_status): Fix a small memory leak. | |
406 | ||
e0d2ae16 AC |
407 | 2003-03-11 Andrew Cagney <cagney@redhat.com> |
408 | ||
409 | * frame.c (deprecated_update_frame_pc_hack): Don't assume a next | |
410 | frame. Problem found by Corinna Vinschen. | |
411 | ||
ddbfdd06 PM |
412 | 2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr> |
413 | ||
414 | * doublest.c (floatformat_from_length): Accept also | |
415 | the real size of 'long double' type. | |
416 | ||
088b2ddc | 417 | 2003-03-10 Daniel Jacobowitz <drow@mvista.com> |
31cc81e9 | 418 | |
088b2ddc | 419 | From Klee Dienes <kdienes@apple.com>: |
31cc81e9 DJ |
420 | * breakpoint.c (bpstat_copy): Copy the command lines as well |
421 | as the old value, to match what is freed in bpstat_clear. | |
422 | ||
f56f77c1 DC |
423 | 2003-03-10 David Carlton <carlton@math.stanford.edu> |
424 | ||
425 | * minsyms.c (add_minsym_to_hash_table): Replace | |
426 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
427 | (compare_minimal_symbols, compact_minimal_symbols) | |
428 | (install_minimal_symbols, find_solib_trampoline_target): Ditto. | |
429 | (lookup_minimal_symbol_text): Use strcmp on linkage names instead | |
430 | of DEPRECATED_SYMBOL_MATCHES_NAME. | |
431 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
432 | ||
5602984a AC |
433 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
434 | ||
435 | * regcache.h (regcache_cooked_read_ftype): Define. | |
436 | (regcache_save, regcache_restore): Add a cooked_read parameter. | |
437 | * regcache.c (regcache_save, regcache_restore): Update. | |
438 | (do_cooked_read): New function. | |
439 | (regcache_cpy): Pass do_cooked_read to regcache_save and | |
440 | regcache_restore. | |
441 | ||
8bedc050 AC |
442 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
443 | ||
444 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
445 | * gdbarch.h, gdbarch.c: Re-generate. | |
446 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
447 | * x86-64-tdep.h: Update. | |
448 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
449 | * v850-tdep.c (v850_gdbarch_init): Update. | |
450 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
451 | * sh-tdep.c (sh_gdbarch_init): Update. | |
452 | * s390-tdep.c (s390_gdbarch_init): Update. | |
453 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
454 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
455 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
456 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
457 | * mips-tdep.c (mips_gdbarch_init): Update. | |
458 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
459 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
460 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
461 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
462 | * i386-tdep.c (i386_gdbarch_init): Update. | |
463 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
464 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
465 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
466 | * frv-tdep.c (frv_gdbarch_init): Update. | |
467 | * cris-tdep.c (cris_gdbarch_init): Update. | |
468 | * avr-tdep.c (avr_gdbarch_init): Update. | |
469 | * arm-tdep.c (arm_gdbarch_init): Update. | |
470 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
471 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
472 | (sh64_init_extra_frame_info): Update. | |
473 | * ns32knbsd-nat.c (frame_num_args): Update. | |
474 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
475 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
476 | (xstormy16_frame_chain_valid): Update. | |
477 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
478 | * v850-tdep.c (v850_frame_chain): Update. | |
479 | (v850_pop_frame): Update. | |
480 | (v850_init_extra_frame_info): Update. | |
481 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
482 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
483 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
484 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
485 | (mn10300_pop_frame_regular): Update. | |
486 | (mn10300_init_extra_frame_info): Update. | |
487 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
488 | (mips_frame_chain): Update. | |
489 | (mips_pop_frame): Update. | |
490 | * mcore-tdep.c (mcore_frame_chain): Update. | |
491 | (mcore_pop_frame): Update. | |
492 | (mcore_init_extra_frame_info): Update. | |
493 | * arch-utils.c (init_frame_pc_default): Update. | |
494 | * m68k-tdep.c (isi_frame_num_args): Update. | |
495 | (delta68_frame_num_args): Update. | |
496 | (news_frame_num_args): Update. | |
497 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
498 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
499 | (alpha_frame_chain): Update. | |
500 | (alpha_pop_frame): Update. | |
501 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
502 | (hppa_init_extra_frame_info): Update. | |
503 | (hppa_frame_chain): Update. | |
504 | (hppa_frame_chain_valid): Update. | |
505 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
506 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
507 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
508 | (arm_init_extra_frame_info): Update. | |
509 | (arm_pop_frame): Update. | |
510 | * frame.c (frame_pc_unwind): Update. | |
511 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
512 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
513 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
514 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
515 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
516 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
517 | ||
12cc2063 AC |
518 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
519 | ||
520 | * gdbarch.sh (gdbarch_unwind_pc): New method. | |
521 | * gdbarch.h, gdbarch.c: Regenerate. | |
522 | * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, | |
523 | but use read_pc and FRAME_SAVED_PC as fall backs. | |
524 | (frame_saved_regs_pc_unwind): Delete function. | |
525 | (trad_frame_unwinder): Update. | |
526 | * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. | |
527 | (struct frame_unwind): Update. | |
528 | * dummy-frame.c (dummy_frame_pc_unwind): Delete function. | |
529 | (dummy_frame_unwind): Update. | |
530 | * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. | |
531 | (sentinel_frame_unwinder): Update. | |
532 | * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. | |
533 | (d10v_frame_unwind): Update. | |
534 | (d10v_unwind_pc): New function. | |
535 | (d10v_gdbarch_init): Set unwind_pc. | |
536 | ||
ef840a37 AC |
537 | 2003-03-10 Andrew Cagney <cagney@redhat.com> |
538 | ||
a2ce2e56 AC |
539 | * gdbarch.h: Re-generate. |
540 | ||
ef840a37 AC |
541 | * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the |
542 | PC. | |
543 | (d10v_frame_pop): Unwind the PC, and not the LR, when restoring | |
544 | the PC register. | |
545 | ||
08f3424b MK |
546 | 2003-03-08 Mark Kettenis <kettenis@gnu.org> |
547 | ||
548 | * gdbarch.sh (save_dummy_frame_tos): Add comment. | |
549 | ||
1248ede2 AC |
550 | 2003-03-08 Andrew Cagney <cagney@redhat.com> |
551 | ||
552 | * cli-out.c: Update copyright. | |
553 | (cli_out_data): Define typedef. Use instead of ui_out_data. | |
554 | ||
f49bacc8 AC |
555 | 2003-03-08 Andrew Cagney <cagney@redhat.com> |
556 | ||
557 | * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to | |
558 | the result. | |
559 | ||
9b05f993 AC |
560 | 2003-03-07 Andrew Cagney <cagney@redhat.com> |
561 | ||
562 | * gdbarch.sh: Don't generate two macro definitions when an | |
563 | undefined macro taking no arguments. | |
564 | * gdbarch.h: Regenerate. | |
565 | ||
166f4c7b ML |
566 | 2002-03-07 Michal Ludvig <mludvig@suse.cz> |
567 | ||
568 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos) | |
569 | (x86_64_unwind_dummy_id): New functions. | |
570 | (x86_64_init_abi): Register these two new functions. | |
571 | ||
6d686a84 ML |
572 | 2003-03-07 Michal Ludvig <mludvig@suse.cz> |
573 | ||
574 | * x86-64-tdep.c (x86_64_function_has_prologue): New function. | |
575 | (x86_64_skip_prologue): Move prologue detection to | |
576 | separate function. | |
577 | * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. | |
578 | ||
6314f104 AC |
579 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
580 | ||
581 | * d10v-tdep.c (d10v_unwind_dummy_id): New function. | |
582 | (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos. | |
583 | * frame.c (get_prev_frame): Restructure the frame ID unwind code | |
584 | to use unwind_dummy_id when a dummy frame. | |
585 | * gdbarch.sh (unwind_dummy_id): New multi-arch method with | |
586 | predicate. | |
587 | * gdbarch.h, gdbarch.c: Regneerate. | |
588 | ||
ceea5145 AC |
589 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
590 | ||
591 | * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". | |
592 | (d10v_frame_unwind_cache): Rewrite code computing the base and SP. | |
593 | Do not use d10v_read_sp or d10v_read_fp when obtaining register | |
594 | values. | |
595 | ||
0d843116 AC |
596 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
597 | ||
598 | * d10v-tdep.c (struct frame_extra_info): Delete unused structure. | |
599 | (struct d10v_unwind_cache): Delete field "frameless". Replace | |
600 | "next_addr" with "sp_offset". Add "r11_offset". | |
601 | (d10v_frame_unwind_cache): Update. | |
602 | (prologue_find_regs): Update. When "mv r11, sp", save the | |
603 | "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that | |
604 | RN was saved in r11_offset. | |
605 | ||
b2579786 AC |
606 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
607 | ||
608 | * frame.c (deprecated_update_frame_pc_hack): Also update the the | |
609 | cached PC value in the next frame. | |
610 | ||
218e5956 AC |
611 | 2003-03-05 Andrew Cagney <cagney@redhat.com> |
612 | ||
613 | * frame.h (struct frame_info): Replace "id_unwind_cache_p" and | |
614 | "id_unwind_cache" with "id". | |
615 | (frame_id_unwind): Delete declaration. | |
616 | * frame.c (frame_id_unwind): Delete function. | |
617 | (get_prev_frame): Call the frame id unwind method directly. Store | |
618 | the returned next frame's ID value in NEXT_FRAME. Note that there | |
619 | is a problem with the wrong unwind ID being called with the wrong | |
620 | unwind cache. | |
621 | ||
ed363b1b DJ |
622 | 2003-03-05 Daniel Jacobowitz <drow@mvista.com> |
623 | ||
624 | * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS. | |
625 | ||
fe1f4a5e DJ |
626 | 2003-03-05 James Ingham <jingham@apple.com> |
627 | Daniel Jacobowitz <drow@mvista.com> | |
628 | ||
629 | * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h". | |
630 | (auto_cp_abi): New variable. | |
631 | (current_cp_abi, num_cp_abis): Make static. | |
632 | (CP_ABI_MAX): Define. | |
633 | (cp_abis): Turn into an array. | |
634 | (value_virtual_fn_field): Fix formatting. | |
635 | (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now | |
636 | takes a pointer. | |
637 | (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd) | |
638 | (list_cp_abis, _initialize_cp_abi): New functions. | |
639 | * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove | |
640 | declarations for cp_abis, num_cp_abis, current_cp_abi, and | |
641 | switch_to_cp_abi. Update prototype for register_cp_abi. | |
642 | * Makefile.in (cp-abi.o): Update dependencies. | |
643 | * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default | |
644 | instead of switch_to_cp_abi. | |
645 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to | |
646 | register_cp_abi. | |
647 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to | |
648 | register_cp_abi. | |
649 | * hpacc-abi.c (_initialize_hpacc_abi): Likewise. | |
650 | ||
e4adbba9 DJ |
651 | 2003-03-05 Daniel Jacobowitz <drow@mvista.com> |
652 | ||
653 | * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition. | |
654 | * dwarf2loc.c: Include "regcache.h". | |
655 | (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use | |
656 | register_size. | |
657 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
658 | ||
91ccbfc1 TR |
659 | 2003-03-04 Theodore A. Roth <troth@openavr.org> |
660 | ||
661 | * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the | |
662 | number of io registers reported by remote target is not a multiple of | |
663 | step. | |
664 | ||
3d4e8fd2 DC |
665 | 2003-03-04 David Carlton <carlton@math.stanford.edu> |
666 | ||
667 | * symtab.c (lookup_partial_symbol): Add linkage_name argument. | |
668 | (lookup_symbol_aux_psymtabs): Update call to | |
669 | lookup_partial_symbol. | |
670 | (lookup_transparent_type, find_main_psymtab) | |
671 | (make_symbol_overload_list): Ditto. | |
672 | ||
ed42d87b KH |
673 | 2003-03-04 Kazu Hirata <kazu@cs.umass.edu> |
674 | ||
675 | * MAINTAINERS (Write after approval): Update my email address. | |
676 | ||
a0ed5532 AC |
677 | 2003-03-03 Andrew Cagney <cagney@redhat.com> |
678 | ||
679 | Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. | |
680 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with | |
681 | predicate. Replace MAX_REGISTER_RAW_SIZE. | |
682 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for | |
683 | MAX_REGISTER_VIRTUAL_SIZE. | |
684 | * regcache.c (legacy_max_register_raw_size): New function. | |
685 | (legacy_max_register_virtual_size): New function. | |
686 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. | |
687 | (MAX_REGISTER_RAW_SIZE): Define. | |
688 | (legacy_max_register_raw_size): Declare. | |
689 | (legacy_max_register_virtual_size): Declare. | |
690 | * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
691 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. | |
692 | * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
693 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
694 | * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
695 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
696 | * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
697 | * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
698 | * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
699 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
700 | * vax-tdep.c (vax_gdbarch_init): Update. | |
701 | * v850-tdep.c (v850_gdbarch_init): Update. | |
702 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
703 | * sh-tdep.c (sh_gdbarch_init): Update. | |
704 | * s390-tdep.c (s390_gdbarch_init): Update. | |
705 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
706 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
707 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
708 | * mips-tdep.c (mips_gdbarch_init): Update. | |
709 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
710 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
711 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
712 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
713 | * i386-tdep.c (i386_gdbarch_init): Update. | |
714 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
715 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
716 | * frv-tdep.c (frv_gdbarch_init): Update. | |
717 | * cris-tdep.c (cris_gdbarch_init): Update. | |
718 | * avr-tdep.c (avr_gdbarch_init): Update. | |
719 | * arm-tdep.c (arm_gdbarch_init): Update. | |
720 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
721 | * d10v-tdep.c (d10v_gdbarch_init): Do not set | |
722 | max_register_raw_size or max_register_virtual_size. | |
723 | ||
8e437497 DC |
724 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
725 | ||
726 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from | |
727 | SYMBOL_MATCHES_NAME, add comment. | |
728 | (SYMBOL_MATCHES_NATURAL_NAME): New. | |
729 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace | |
730 | SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. | |
731 | (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. | |
732 | * symtab.c (lookup_partial_symbol): Use | |
733 | SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete | |
734 | unhelpful comment. | |
735 | (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not | |
736 | SYMBOL_MATCHES_NAME. | |
737 | Fix for PR c++/33. | |
738 | ||
25120b0d DC |
739 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
740 | ||
741 | * symtab.h (SYMBOL_MATCHES_REGEXP): Delete. | |
742 | * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP | |
743 | by regexp matching against SYMBOL_NATURAL_NAME. | |
744 | ||
78a11fb4 DC |
745 | 2003-03-03 David Carlton <carlton@math.stanford.edu> |
746 | ||
747 | * linespec.c (find_method): Extract code into collect_methods. | |
748 | (collect_methods): New. | |
749 | ||
645dd519 MK |
750 | 2003-03-02 Mark Kettenis <kettenis@gnu.org> |
751 | ||
b4700d91 MK |
752 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and |
753 | get_frame_base. | |
754 | ||
645dd519 MK |
755 | * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of |
756 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
757 | ||
0aa7e1aa SC |
758 | 2003-03-02 Stephane Carrez <stcarrez@nerim.fr> |
759 | ||
760 | * arch-utils.c (generic_register_byte): Fix to use the loop index | |
761 | and not regnum when summing the size of all registers up to regnum. | |
762 | ||
f30ee0bc AC |
763 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
764 | ||
765 | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename | |
766 | FRAME_INIT_SAVED_REGS. | |
767 | * gdbarch.h, gdbarch.c: Regenerate. | |
768 | * stack.c (frame_info): Update. | |
769 | * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. | |
770 | (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. | |
771 | (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. | |
772 | * ns32k-tdep.c (ns32k_pop_frame): Update. | |
773 | * mips-tdep.c (mips_pop_frame): Update. | |
774 | * m68hc11-tdep.c (m68hc11_pop_frame): Update. | |
775 | * ia64-tdep.c (ia64_frame_chain): Update. | |
776 | (ia64_frame_saved_pc, ia64_get_saved_register): Update. | |
777 | (ia64_frameless_function_invocation): Update. | |
778 | (ia64_init_extra_frame_info): Update. | |
779 | (ia64_pop_frame_regular): Update. | |
780 | * frame.h (struct frame_info): Update comment. | |
781 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. | |
782 | * frame.c (frame_saved_regs_register_unwind): Update. | |
783 | (frame_saved_regs_register_unwind): Update. | |
784 | (deprecated_generic_get_saved_register): Update. | |
785 | * cris-tdep.c: Update comment. | |
786 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): | |
787 | Rename macro. | |
788 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
789 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
790 | * vax-tdep.c (vax_gdbarch_init): Update. | |
791 | * v850-tdep.c (v850_gdbarch_init): Update. | |
792 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
793 | * sh-tdep.c (sh_gdbarch_init): Update. | |
794 | * s390-tdep.c (s390_gdbarch_init): Update. | |
795 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
796 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
797 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
798 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
799 | * mips-tdep.c (mips_gdbarch_init): Update. | |
800 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
801 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
802 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
803 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
804 | * i386-tdep.c (i386_gdbarch_init): Update. | |
805 | * frv-tdep.c (frv_gdbarch_init): Update. | |
806 | * avr-tdep.c (avr_gdbarch_init): Update. | |
807 | * arm-tdep.c (arm_gdbarch_init): Update. | |
808 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
809 | ||
42fa7c0f AC |
810 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
811 | ||
812 | * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to | |
813 | option enum and switch. When no windows, set the interpreter to | |
814 | INTERP_CONSOLE. | |
815 | ||
49c7e338 AC |
816 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
817 | ||
818 | * main.c (captured_main): Replace magic option characters with an | |
819 | enum. | |
820 | ||
e9582e71 AC |
821 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
822 | ||
823 | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename | |
824 | INIT_EXTRA_FRAME_INFO. | |
825 | * gdbarch.h, gdbarch.c: Regenerate. | |
826 | * arm-tdep.c: Update comments. | |
827 | * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. | |
828 | * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. | |
829 | * frame.h, avr-tdep.c: Ditto. | |
830 | * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
831 | (create_new_frame, legacy_get_prev_frame): Ditto. | |
832 | * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
833 | * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
834 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize | |
835 | deprecated_init_extra_frame_info instead of init_extra_frame_info. | |
836 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
837 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
838 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
839 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
840 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
841 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
842 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
843 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
844 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
845 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
846 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
847 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
848 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
849 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
850 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
851 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
852 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
853 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
854 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
855 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
856 | ||
35cac7cf AC |
857 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
858 | ||
859 | * gdbarch.sh (register_type): New function with predicate. | |
860 | (REGISTER_VIRTUAL_TYPE): Change to function with predicate. | |
861 | * gdbarch.h, gdbarch.c: Re-generate. | |
862 | * arch-utils.c (generic_register_byte): Use generic_register_size. | |
863 | (generic_register_size): When available, use | |
864 | gdbarch_register_type. | |
865 | * regcache.c (init_regcache_descr): When available, initialize the | |
866 | register type array using gdbarch_register_type. If the | |
867 | architecture supplies gdbarch_register_type, do not use the legacy | |
868 | regcache layout. | |
869 | * d10v-tdep.c (d10v_register_type): Replace | |
870 | d10v_register_virtual_type. | |
871 | (d10v_gdbarch_init): Set register_type instead of | |
872 | register_virtual_type. | |
873 | ||
7b83296f AC |
874 | 2003-03-01 Andrew Cagney <cagney@redhat.com> |
875 | ||
876 | * Makefile.in (ax-gdb.o): Update dependencies. | |
877 | * ax-gdb.c: Include "regcache.h". | |
878 | (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. | |
879 | * findvar.c (value_of_register): Ditto. | |
880 | * infcmd.c (default_print_registers_info): Ditto. | |
881 | ||
eadc1c87 MK |
882 | 2003-03-01 Mark Kettenis <kettenis@gnu.org> |
883 | ||
884 | * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of | |
885 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
886 | ||
14143612 MK |
887 | 2003-03-01 Mark Kettenis <kettenis@gnu.org> |
888 | ||
889 | * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead | |
890 | of STREQ. | |
891 | ||
a55cc764 DJ |
892 | 2003-02-28 Daniel Jacobowitz <drow@mvista.com> |
893 | ||
894 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
895 | * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. | |
896 | * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. | |
897 | * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. | |
898 | * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". | |
899 | (locexpr_tracepoint_var_ref): New function. | |
900 | (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref. | |
901 | ||
08a617da AC |
902 | 2003-02-28 Andrew Cagney <cagney@redhat.com> |
903 | ||
904 | * regcache.c (register_size): New function. | |
905 | * regcache.h (register_size): Declare | |
906 | * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use | |
907 | max_register_size instead of MAX_REGISTER_RAW_SIZE. | |
908 | ||
4224873a DC |
909 | 2003-02-28 David Carlton <carlton@math.stanford.edu> |
910 | ||
911 | * linespec.c (decode_compound): Extract code into find_method. | |
912 | (find_method): New. | |
913 | ||
ccdc5d7f JB |
914 | 2003-02-28 J. Brobecker <brobecker@gnat.com> |
915 | ||
916 | * Makefile.in: Add rules to build and link in observer.o. | |
917 | ||
974e8ced JB |
918 | 2003-02-27 J. Brobecker <brobecker@gnat.com> |
919 | ||
920 | * observer.c: Minor comments edits. | |
921 | ||
7a28f973 JB |
922 | 2003-02-27 J. Brobecker <brobecker@gnat.com> |
923 | ||
924 | * observer.h, observer.c: New file. | |
925 | ||
27cddce2 AC |
926 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
927 | ||
928 | * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd. | |
929 | ||
b94a41a1 SC |
930 | 2003-02-27 Stephane Carrez <stcarrez@nerim.fr> |
931 | ||
932 | * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines. | |
933 | (M6812_OP_STS_EXT): Likewise. | |
934 | (m6811_prologue): Use the above to recognize prologue. | |
935 | (m6812_prologue): Likewise. | |
936 | ||
c8be8951 DC |
937 | 2003-02-27 David Carlton <carlton@math.stanford.edu> |
938 | ||
939 | * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not | |
940 | SYMBOL_PRINT_NAME. | |
941 | (compare_psymbols): Ditto. | |
942 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
943 | ||
d05bb1fc MS |
944 | 2003-02-27 Michael Snyder <msnyder@redhat.com> |
945 | ||
4e845cd3 MS |
946 | * f-lang.c (build_fortran_types): New function. |
947 | (_initialize_f_language): Gdbarch-register built-in fortran types. | |
d05bb1fc MS |
948 | * doublest.c (extract_floating): Fix warning text. |
949 | ||
f3824013 AC |
950 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
951 | ||
952 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with | |
953 | predicate. Replaces PUSH_DUMMY_FRAME. | |
954 | * gdbarch.h, gdbarch.c: Regnerate. | |
955 | * valops.c (hand_function_call): Update. Call | |
956 | generic_push_dummy_frame directly. | |
957 | * vax-tdep.c (vax_gdbarch_init): Update. | |
958 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
959 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
960 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
961 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
962 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
963 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
964 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
965 | * inferior.h (PUSH_DUMMY_FRAME): Delete definition. | |
966 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set | |
967 | push_dummy_frame to generic_push_dummy_frame. | |
968 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
969 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
970 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
971 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
972 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
973 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
974 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
975 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
976 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
977 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
978 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
979 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
980 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
981 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
982 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
983 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
984 | ||
ad188201 KB |
985 | 2003-02-26 Kevin Buettner <kevinb@redhat.com> |
986 | ||
987 | * mips-tdep.c (show_mips_abi): New function. | |
988 | (_initialize_mips_tdep): Use show_mips_abi() to implement the | |
989 | command ``show mips abi''. | |
990 | ||
6b37567a JJ |
991 | 2003-02-26 Jeff Johnston <jjohnstn@redhat.com> |
992 | ||
993 | From Elena Zannoni <ezannoni@redhat.com> | |
994 | * dbxread.c (process_one_symbol): Only record line 0 if one or | |
995 | more sline entries have been seen for the function. | |
996 | ||
d3e0a5bf MC |
997 | 2003-02-26 Michael Chastain <mec@shout.net> |
998 | ||
999 | * configure: Regenerate with autoconf 000227. | |
1000 | ||
18972eea MC |
1001 | 2003-02-26 Michael Chastain <mec@shout.net> |
1002 | ||
1003 | Close PR build/660. | |
1004 | * PROBLEMS (i[3456]86-*-linux*): Note explicit error message | |
1005 | for old libc5/glibc. | |
1006 | * gdb_thread_db.h: Die if not HAVE_UINTPTR_T. | |
1007 | ||
0bbde931 KW |
1008 | 2003-02-26 Kris Warkentin <kewarken@qnx.com> |
1009 | ||
1010 | * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO. | |
1011 | * osabi.c (gdb_osabi_names): Add "QNX Neutrino". | |
1012 | ||
27ca5dad MC |
1013 | 2003-02-26 Michael Chastain <mec@shout.net> |
1014 | ||
1015 | * configure.in: New variable HAVE_UINTPTR_T. | |
1016 | * configure, config.in: Regenerated. | |
1017 | ||
6f88d630 DJ |
1018 | 2003-02-26 Daniel Jacobowitz <drow@mvista.com> |
1019 | ||
1020 | Fix PR build/1097. | |
1021 | * utils.c (gdb_realpath): Move closing brace outwards one #endif. | |
1022 | ||
b14185ce AC |
1023 | 2003-02-25 Andrew Cagney <cagney@redhat.com> |
1024 | ||
1025 | * frame.c (get_prev_frame): Add comment on check for | |
1026 | inside_entry_func. Only check for inside_entry_file when not a | |
1027 | dummy and not a sentinel. Check that the new frame is not inner | |
1028 | to the old frame. | |
1029 | ||
ac2bd0a9 AC |
1030 | 2003-02-25 Andrew Cagney <cagney@redhat.com> |
1031 | ||
1032 | * frame.c (frame_debug): New variable. | |
1033 | (_initialize_frame): Add "set/show debug frame" command. | |
1034 | (get_prev_frame): When frame_debug, print reason why unwind | |
1035 | failed. | |
1036 | ||
b18a0fd2 MC |
1037 | 2003-02-25 Michael Chastain <mec@shout.net> |
1038 | ||
1039 | * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later | |
1040 | to avoid uintptr_t definition problems. | |
1041 | ||
22abf04a DC |
1042 | 2003-02-25 David Carlton <carlton@math.stanford.edu> |
1043 | ||
1044 | * symtab.h (SYMBOL_NATURAL_NAME): New macro. | |
1045 | (SYMBOL_LINKAGE_NAME): Ditto. | |
1046 | (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and | |
1047 | SYMBOL_LINKAGE_NAME. | |
1048 | (struct general_symbol_info): Expand comment. | |
1049 | (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. | |
1050 | (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. | |
1051 | (SYMBOL_MATCHES_REGEXP): Ditto. | |
1052 | * symtab.c (symbol_natural_name): New function. | |
1053 | * objfiles.h: Replace all uses of SYMBOL_NAME by | |
1054 | DEPRECATED_SYMBOL_NAME. | |
1055 | * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. | |
1056 | * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. | |
1057 | * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. | |
1058 | * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. | |
1059 | * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. | |
1060 | * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. | |
1061 | * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. | |
1062 | * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. | |
1063 | * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. | |
1064 | * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. | |
1065 | * ada-exp.y: Ditto. | |
1066 | * ada-exp.y: Update copyright. | |
1067 | * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. | |
1068 | * cp-valprint.c: Ditto. | |
1069 | ||
1a5848f6 JJ |
1070 | 2003-02-25 Jeff Johnston <jjohnstn@redhat.com> |
1071 | ||
1072 | * infptrace.c (detach): Do not flag error if ptrace detach fails | |
1073 | and errno is set to ESRCH. | |
1074 | ||
7343d46a AC |
1075 | 2003-02-24 Andrew Cagney <cagney@redhat.com> |
1076 | ||
1077 | * infptrace.c (udot_info): Change type of udot_off to long. Use | |
1078 | paddr when printing udot_off's value. | |
1079 | ||
49fa1dc2 DC |
1080 | 2003-02-24 David Carlton <carlton@math.stanford.edu> |
1081 | ||
1082 | * symtab.c (make_symbol_overload_list): Only read in partial | |
1083 | symtabs containing a matching partial symbol. | |
1084 | ||
0fe19209 DC |
1085 | 2003-02-24 David Carlton <carlton@math.stanford.edu> |
1086 | ||
1087 | * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to | |
1088 | do the comparison, not strcmp. | |
1089 | * symfile.c (compare_psymbols): Ditto. | |
1090 | * defs.h: Declare strcmp_iw_ordered. | |
1091 | * utils.c (strcmp_iw_ordered): New function. | |
1092 | ||
8e3ee7b5 JB |
1093 | 2003-02-24 Jim Blandy <jimb@redhat.com> |
1094 | ||
1095 | * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme | |
1096 | support, shared libs): Remove my name from here, to better reflect | |
1097 | reality. | |
1098 | ||
7df1a324 KW |
1099 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
1100 | ||
1101 | * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define. | |
1102 | (target_ops): Add to_have_continuable_watchpoint. | |
1103 | * target.c (update_current_target): Add INHERIT line for | |
1104 | to_have_continuable_watchpoint. | |
1105 | * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines. | |
1106 | * config/i386/nm-i386.h, config/i386/nm-i386sco5.h, | |
1107 | config/i386/nm-i386sol2.h, config/s390/nm-linux.h, | |
1108 | config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1. | |
1109 | ||
d1c76907 EZ |
1110 | 2003-02-24 Elena Zannoni <ezannoni@redhat.com> |
1111 | ||
1112 | * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop | |
1113 | maintainership. | |
1114 | ||
2610b0bf KW |
1115 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
1116 | ||
f46169db KW |
1117 | * solib.c (solib_open): Call target defined search function after |
1118 | failing with solib-search-path. | |
1119 | * solist.h (target_so_ops): Add find_and_open_solib function hook and | |
1120 | create define TARGET_SO_FIND_AND_OPEN_SOLIB. | |
2610b0bf | 1121 | |
9a3c34fe KW |
1122 | 2003-02-24 Kris Warkentin <kewarken@qnx.com> |
1123 | ||
f46169db | 1124 | * MAINTAINERS: Add myself to Write After section. |
9a3c34fe | 1125 | |
2417dd25 SC |
1126 | 2003-02-23 Stephane Carrez <stcarrez@nerim.fr> |
1127 | ||
1128 | * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide. | |
1129 | ||
b631436b SC |
1130 | 2003-02-22 Stephane Carrez <stcarrez@nerim.fr> |
1131 | ||
1132 | * m68hc11-tdep.c (m68hc11_init_reggroups): New function. | |
1133 | (m68hc11_add_reggroups): New function. | |
1134 | (m68hc11_register_reggroup_p): New to register hard/soft reggroups. | |
1135 | (m68hc11_gdbarch_init): Install the reggroups. | |
1136 | (_initialize_m68hc11_tdep): Initialize them. | |
1137 | ||
0aa8c1e4 JW |
1138 | 2003-02-21 James E Wilson <wilson@tuliptree.org> |
1139 | ||
1140 | * MAINTAINERS: Update my email address. | |
1141 | ||
50ceaba5 DC |
1142 | 2003-02-21 David Carlton <carlton@math.stanford.edu> |
1143 | ||
1144 | * arm-tdep.c (arm_gdbarch_init): Add break after default label. | |
1145 | ||
4c2df51b DJ |
1146 | 2003-02-21 Daniel Jacobowitz <drow@mvista.com> |
1147 | ||
1148 | Based on a patch from Daniel Berlin (dberlin@dberlin.org). | |
1149 | * symtab.h: Add opaque declarations of struct axs_value and | |
1150 | struct agent_expr. | |
1151 | (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. | |
1152 | (struct location_funcs): New type. | |
1153 | (struct symbol): Add "loc" to aux_value. | |
1154 | (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. | |
1155 | * dwarf2read.c: Include "dwarf2expr.h". | |
1156 | (dwarf2_symbol_mark_computed): New function. | |
1157 | (read_func_scope): Use it. | |
1158 | (var_decode_location): New function. | |
1159 | (new_symbol): Use it. | |
1160 | * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. | |
1161 | ||
1162 | * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. | |
1163 | (dwarf2expr_h, dwarf2loc_h): New variables. | |
1164 | (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. | |
1165 | (dwarf2expr.o, dwarf2loc.o): New rules. | |
1166 | (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). | |
1167 | * buildsym.c (finish_block): Handle LOC_COMPUTED and | |
1168 | LOC_COMPUTED_ARG. | |
1169 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
1170 | * m2-exp.y (yylex): Likewise. | |
1171 | * printcmd.c (address_info, print_frame_args): Likewise. | |
1172 | * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. | |
1173 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
1174 | * ada-lang.c (ada_resolve_subexp, symtab_for_sym) | |
1175 | (ada_add_block_symbols, fill_in_ada_prototype): Likewise. | |
1176 | * symtab.c (lookup_block_symbol): Likewise. | |
1177 | ||
5784d15e AF |
1178 | 2003-02-20 Adam Fedor <fedor@gnu.org> |
1179 | ||
1180 | * symtab.h: Remove objc_specific struct | |
1181 | (SYMBOL_OBJC_DEMANGLED_NAME): Remove. | |
1182 | * symtab.c (symbol_init_language_specific, symbol_demangled_name): | |
1183 | Have language_objc use cplus_specific struct. | |
1184 | ||
d4cad8db TT |
1185 | 2003-02-20 Tom Tromey <tromey@redhat.com> |
1186 | ||
1187 | * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not | |
1188 | TYPE_NAME, when printing a String value. PR java/1075. | |
1189 | ||
2f9a90b4 AF |
1190 | 2003-02-20 Adam Fedor <fedor@gnu.org> |
1191 | ||
d38074a8 | 1192 | * objc-lang.h (find_methods): Remove declaration. |
2f9a90b4 AF |
1193 | * objc-lang.c (find_methods): Make static. |
1194 | ||
6f17862b CF |
1195 | 2003-02-20 Christopher Faylor <cgf@redhat.com> |
1196 | ||
1197 | * win32-nat.c (get_image_name): Check return value from | |
1198 | ReadProcessMemory. | |
1199 | (child_xfer_memory): Ditto. | |
1200 | ||
715d1656 AO |
1201 | 2003-02-20 Alexandre Oliva <aoliva@redhat.com> |
1202 | ||
1203 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
1204 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
1205 | '${exec_prefix}' (in addition to the expansion thereof) as | |
1206 | relocatable. | |
1207 | * configure: Rebuilt. | |
1208 | ||
b1262a02 DC |
1209 | 2003-02-20 David Carlton <carlton@math.stanford.edu> |
1210 | ||
1211 | * symtab.c (search_symbols): Revert the search_symbols part of my | |
1212 | 2002-12-23 patch. Add comment. | |
1213 | ||
7134143f DJ |
1214 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
1215 | ||
1216 | * coffread.c (coff_symfile_read): Clean up minimal symbols earlier. | |
1217 | * dbxread.c (elfstab_build_psymtabs): Don't call | |
1218 | install_minimal_symbols. | |
1219 | (stabsect_build_psymtabs): Likewise. | |
1220 | * elfread.c (elf_symfile_read): Call install_minimal_symbols | |
1221 | earlier. | |
1222 | * somread.c (som_symfile_read): Call install_minimal_symbols | |
1223 | and do_cleanups earlier. | |
1224 | * nlmread.c (nlm_symfile_read): Likewise. | |
1225 | * mdebugread.c (elfmdebug_build_psymtabs): Call | |
1226 | install_minimal_symbols and make appropriate cleanups. | |
1227 | ||
cf466558 KB |
1228 | 2003-02-20 Kevin Buettner <kevinb@redhat.com> |
1229 | ||
1230 | * solib.c (reload_shared_libraries): New function. | |
1231 | (_initialize_solib): Add callbacks for ``set solib-search-path'' | |
1232 | and ``set solib-absolute-prefix''. | |
1233 | ||
de5ad195 DC |
1234 | 2003-02-20 David Carlton <carlton@math.stanford.edu> |
1235 | ||
1236 | * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME; | |
1237 | expand comment. | |
1238 | * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace | |
1239 | SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME. | |
1240 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
1241 | * ax-gdb.c (gen_var_ref): Ditto. | |
1242 | * breakpoint.c (print_one_breakpoint): Ditto. | |
1243 | * buildsym.c (finish_block): Ditto. | |
1244 | * c-valprint.c (c_val_print): Ditto. | |
1245 | * expprint.c (print_subexp): Ditto. | |
1246 | * findvar.c (locate_var_value): Ditto. | |
1247 | * infcmd.c (jump_command): Ditto. | |
1248 | * linespec.c (decode_line_2, decode_compound): Ditto. | |
1249 | * maint.c (maintenance_translate_address): Ditto. | |
1250 | * objc-lang.c (compare_selectors, compare_classes): Ditto. | |
1251 | * printcmd.c (build_address_symbolic, sym_info, print_frame_args): | |
1252 | Ditto. | |
1253 | * p-valprint.c (pascal_val_print): Ditto. | |
1254 | * stabsread.c (define_symbol): Ditto. | |
1255 | * stack.c (print_frame, frame_info, print_block_frame_locals) | |
1256 | (print_frame_arg_vars, return_command): Ditto. | |
1257 | * symfile.c (compare_symbols, compare_psymbols): Ditto. | |
1258 | * symmisc.c (print_symbol): Ditto. | |
1259 | * symtab.c (lookup_partial_symbol, lookup_block_symbol) | |
1260 | (compare_search_syms, print_symbol_info, print_msymbol_info) | |
1261 | (rbreak_command): Ditto. | |
1262 | * tracepoint.c (tracepoints_info): Ditto. | |
1263 | * typeprint.c (typedef_print): Ditto. | |
1264 | * valops.c (value_of_variable, hand_function_call): Ditto. | |
1265 | * cli/cli-cmds.c (edit_command, list_command): Ditto. | |
1266 | * ada-typeprint.c: Update Copyright. | |
1267 | * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. | |
1268 | * tracepoint.c, cli/cli-cmds.c: Ditto. | |
1269 | ||
f796e4be KB |
1270 | 2003-02-20 Kevin Buettner <kevinb@redhat.com> |
1271 | ||
1272 | * frame.c (generic_unwind_get_saved_register): Make non-static. | |
1273 | * frame.h (generic_unwind_get_saved_register): Declare. | |
1274 | * mips-tdep.c (read_next_frame_reg): Fetch register from | |
1275 | current regcache when frame is NULL. | |
1276 | (mips_init_extra_frame_info): Pass NULL explicitly for parameter | |
1277 | that must be NULL. | |
1278 | (mips_get_saved_register): Call generic_unwind_get_saved_register() | |
1279 | instead of frame_register_unwind(). | |
1280 | ||
836cc9f4 AC |
1281 | 2003-02-20 Andrew Cagney <ac131313@redhat.com> |
1282 | ||
1283 | * remote-sim.c (gdbsim_insert_breakpoint) | |
1284 | (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS | |
1285 | code. | |
1286 | ||
501eef12 AC |
1287 | 2003-02-20 Andrew Cagney <ac131313@redhat.com> |
1288 | ||
1289 | * remote.c (_initialize_remote): Add commands "set/show remote | |
1290 | hardware-watchpoint-limit" and "set/show remote | |
1291 | hardware-breakpoint-limit". | |
1292 | (remote_hw_watchpoint_limit): Initialize to -1. | |
1293 | (remote_hw_breakpoint_limit): Ditto. | |
1294 | (remote_check_watch_resources): Treat a limit of -1 as unlimited. | |
1295 | ||
1b6bc7e0 CF |
1296 | 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk> |
1297 | ||
1298 | * coff-pe-read.c: New file - support reading of minimal symbols from a | |
1299 | portable executable using the export table. | |
1300 | * coff-pe-read.h: New file. | |
1301 | * coffread.c: Include coff-pe-read.h. | |
1302 | (coff_symtab_read): Call read_pe_exported_syms iff no recognized | |
1303 | debugging symbols found. | |
1304 | * Makefile.in (SFILES): Add coff-pe-read.o. | |
1305 | (coff_pe_read_h): Define. | |
1306 | (COMMON_OBS): Add coff-pe-read.o. | |
1307 | (coffread.o): Add coff_pe_read_h dependency. | |
1308 | (coff-pe-read.o): New target. | |
1309 | ||
fe898f56 DC |
1310 | 2003-02-19 David Carlton <carlton@math.stanford.edu> |
1311 | ||
1312 | * Makefile.in (SFILES): Add block.c. | |
1313 | (block_h): New. | |
1314 | (COMMON_OBS): Add block.o. | |
1315 | (block.o): New. | |
1316 | (x86-64-tdep.o): Add $(block_h). | |
1317 | (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o) | |
1318 | (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o) | |
1319 | (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o) | |
1320 | (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o) | |
1321 | (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o) | |
1322 | (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o) | |
1323 | (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto. | |
1324 | * value.h: Add opaque declaration for struct block. | |
1325 | * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto. | |
1326 | * ada-lang.h: Ditto. | |
1327 | * x86-64-tdep.c: #include "block.h" | |
1328 | * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto. | |
1329 | * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto. | |
1330 | * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto. | |
1331 | * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto. | |
1332 | * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto. | |
1333 | * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto. | |
1334 | * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto. | |
1335 | * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto. | |
1336 | * blockframe.c (blockvector_for_pc_sect): Move to "block.c". | |
1337 | (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto. | |
1338 | * symtab.c (block_function): Ditto. | |
1339 | (contained_in): Ditto. | |
1340 | * frame.h: Move block_for_pc and block_for_pc_sect declarations to | |
1341 | block.h. Add opaque declaration for struct block. | |
1342 | * symtab.h: Move block_function and contained_in declarations to | |
1343 | block.h. Add opaque declarations for struct block, struct | |
1344 | blockvector. | |
1345 | (struct block): Move to block.h. | |
1346 | (struct blockvector): Ditto. | |
1347 | (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK) | |
1348 | (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM) | |
1349 | (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE) | |
1350 | (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS) | |
1351 | (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): | |
1352 | Ditto. | |
1353 | * block.c: New file. | |
1354 | * block.h: New file. | |
1355 | ||
173345b5 TR |
1356 | 2003-02-19 Theodore A. Roth <troth@openavr.org> |
1357 | ||
1358 | * avr-tdep.c (avr_extract_return_value): Remove function. | |
1359 | (avr_store_return_value): Remove function. | |
1360 | (avr_extract_struct_value_address): Remove function. | |
1361 | (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls. | |
1362 | ||
338ef23d AC |
1363 | 2003-02-19 Andrew Cagney <ac131313@redhat.com> |
1364 | ||
1365 | * rs6000-tdep.c: Include "gdb_assert.h". | |
1366 | (registers_e500): Add "acc" and "spefscr". | |
1367 | (PPC_GPRS_PSEUDO_REGS): Remove trailing comma. | |
1368 | (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum, | |
1369 | ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum | |
1370 | really is "r0". | |
1371 | (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson). | |
1372 | ||
5412f5f3 KS |
1373 | 2003-02-18 Keith Seitz <keiths@redhat.com> |
1374 | ||
1375 | * Makefile.in: Add gdbtk-interps.c. | |
1376 | ||
881324eb KB |
1377 | 2003-02-18 Kevin Buettner <kevinb@redhat.com> |
1378 | ||
1379 | * sparc-tdep.c (sparc_frame_chain): Adjust return value. | |
1380 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare. | |
1381 | ||
6a2f5abf AC |
1382 | 2003-02-18 Andrew Cagney <cagney@redhat.com> |
1383 | ||
1384 | * symtab.h (struct objfile): Add opaque declaration. | |
1385 | ||
54c7009d EZ |
1386 | 2003-02-18 Elena Zannoni <ezannoni@redhat.com> |
1387 | ||
1388 | From Jim Ingham <jingham@apple.com>: | |
1389 | * dbxread.c (process_one_symbol): Use last_function_start rather | |
1390 | than function_start_offset to find the real beginning of the | |
1391 | current function. The latter is just the text section offset on | |
1392 | some systems, the former is always the real function start. | |
1393 | ||
7ee6d7eb AC |
1394 | 2003-02-17 Andrew Cagney <cagney@redhat.com> |
1395 | ||
1396 | * configure.in: Revert ${target} != ${host}. | |
1397 | ||
2846da9b AC |
1398 | 2003-02-17 Andrew Cagney <ac131313@redhat.com> |
1399 | ||
1400 | * configure.in (Makefile): Use the test ${target} != ${host}, | |
1401 | instead of the absence of the "nm.h" file, to determine of the | |
1402 | configuration non-native. | |
1403 | * configure: Regenerate. | |
1404 | ||
3b27aeea EZ |
1405 | 2003-02-14 Elena Zannoni <ezannoni@redhat.com> |
1406 | ||
1407 | From Brian Ford <ford@vss.fsi.com> | |
1408 | ||
1409 | * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly | |
1410 | conditionalize tui_active test. | |
1411 | (lookup_cmd_1): Ditto. | |
1412 | ||
b0b1c2c0 MK |
1413 | 2003-02-14 Mark Kettenis <kettenis@gnu.org> |
1414 | ||
1415 | * configure.in: Add check for _etext. | |
1416 | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't | |
1417 | available. | |
1418 | * config.in, configure: regenerated. | |
1419 | ||
8f05cde5 DJ |
1420 | 2003-02-14 Daniel Jacobowitz <drow@mvista.com> |
1421 | ||
1422 | * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base. | |
1423 | ||
021e7609 AC |
1424 | 2003-02-14 Andrew Cagney <ac131313@redhat.com> |
1425 | ||
1426 | * main.c (tui_version): Delete variable. | |
1427 | (captured_main): When --tui, set interpreter_p to "tui" instead of | |
1428 | enabling tui_version. | |
1429 | * printcmd.c (display_command) [TUI]: Test tui_active instead of | |
1430 | tui_version. | |
1431 | * cli/cli-decode.c (lookup_cmd_composition): Ditto. | |
1432 | * cli/cli-cmds.c (disassemble_command): Ditto. | |
1433 | * defs.h (tui_version): Delete declaration. | |
1434 | * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". | |
1435 | (tui-interp.o): Add rules. | |
1436 | (SUBDIR_TUI_OBS): Add "tui-interp.o". | |
1437 | ||
e325dcec CF |
1438 | 2003-02-14 Christopher Faylor <cgf@redhat.com> |
1439 | ||
36ffb041 | 1440 | * win32-nat.c (register_loaded_dll): Correctly set address range for |
e325dcec CF |
1441 | just-loaded dll. |
1442 | ||
c4f90d87 JM |
1443 | 2003-02-12 Jason Molenda (jmolenda@apple.com) |
1444 | ||
1445 | * symmisc.c (print_objfile_statistics): Include information about | |
1446 | the number of psymtabs and symtabs in each object file. | |
1447 | ||
e46e5ccd KS |
1448 | 2003-02-13 Keith R Seitz <keiths@redhat.com> |
1449 | ||
1450 | * main.h (struct captured_main_args): Add interpreter_p. | |
1451 | * main.c (captured_main): Initialize interpreter_p from context. | |
1452 | * gdb.c (main): Set interpreter_p argument. | |
1453 | * Makefile.in (gdb.o): Add dependency for interps.h. | |
1454 | ||
fe97fe9c AC |
1455 | 2003-02-12 Andrew Cagney <ac131313@redhat.com> |
1456 | ||
1457 | * event-top.c (cli_command_loop): Delete declaration. | |
1458 | (_initialize_event_loop): Delete function setting event_loop_hook. | |
1459 | * event-top.h (cli_command_loop): Declare. Update copyright. | |
1460 | (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. | |
1461 | * interps.c (current_interp_command_loop): When event_loop_p, call | |
1462 | cli_command_loop. | |
1463 | ||
1cdac4ef AC |
1464 | 2003-02-12 Andrew Cagney <ac131313@redhat.com> |
1465 | ||
1466 | * interps.h (interp_command_loop_ftype): Change return type to | |
1467 | void. | |
1468 | ||
48037ead ML |
1469 | 2003-02-12 Michal Ludvig <mludvig@suse.cz> |
1470 | ||
1471 | * x86-64-tdep.c (x86_64_extract_return_value) | |
1472 | (x86_64_store_return_value): Use regcache instead of regbuf. | |
1473 | (x86_64_gdbarch_init): Change related set_gdbarch_* functions. | |
1474 | * x86-64-linux-nat.c (fill_gregset): Use regcache. | |
1475 | ||
033afc63 AC |
1476 | 2003-02-11 Andrew Cagney <ac131313@redhat.com> |
1477 | ||
1478 | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. | |
1479 | * aclocal.m4: Regenerate. | |
1480 | * configure: Regenerate. | |
1481 | ||
1482 | * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of | |
1483 | TCL_LD_SEARCH_FLAGS. | |
1484 | ||
40d02bca ML |
1485 | 2003-02-10 Michal Ludvig <mludvig@suse.cz> |
1486 | ||
1487 | * dwarf2cfi.c: Reindented. | |
1488 | ||
11308a41 AC |
1489 | 2003-02-09 Andrew Cagney <ac131313@redhat.com> |
1490 | ||
1491 | * interps.c (clear_interpreter_hooks): Convert function definition | |
1492 | to ISO C. | |
1493 | ||
e1c1c0f6 DC |
1494 | 2003-02-07 David Carlton <carlton@math.stanford.edu> |
1495 | ||
1496 | * gdb_mbuild.sh: Delete extra shift after parsing '-f'. | |
1497 | ||
ab5d3da6 KB |
1498 | 2003-02-07 Kevin Buettner <kevinb@redhat.com> |
1499 | ||
1500 | * gdbtypes.h (struct main_type): Move ``length'' field from here... | |
1501 | (struct type): ...to here. | |
1502 | (TYPE_LENGTH): Adjust to reflect different location of ``length'' | |
1503 | field. | |
1504 | * gdbtypes.c (make_qualified_type): Set length on newly created type. | |
1505 | (replace_type): Set length on all type variants for a given type. | |
1506 | ||
b8a92b82 AC |
1507 | 2003-02-07 Andrew Cagney <ac131313@redhat.com> |
1508 | ||
1509 | * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of | |
1510 | <sys/stat.h>. | |
1511 | * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. | |
1512 | ||
5cb316ef AC |
1513 | 2003-02-06 Andrew Cagney <ac131313@redhat.com> |
1514 | ||
2555fe1a AC |
1515 | * Makefile.in (symm-nat.o): Update dependencies. |
1516 | (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. | |
1517 | (lynx-nat.o, ia64-linux-nat.): Ditto. | |
1518 | * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include | |
1519 | "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. | |
1520 | * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. | |
1521 | ||
44270758 AC |
1522 | * Makefile.in (inflow_h): Define. |
1523 | (procfs.o, inflow.o, procfs.o): Update dependencies. | |
1524 | * inftarg.c (child_stop): Delete extern declaration of | |
1525 | inferior_process_group. Include "inflow.h". | |
1526 | * procfs.c (procfs_stop): Ditto. Include "inflow.h". | |
1527 | * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... | |
1528 | * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. | |
1529 | (our_process_group, inferior_process_group): Extern declarations. | |
1530 | ||
df8f7274 AC |
1531 | * procfs.c: Include "gdb_assert.h". |
1532 | ||
5cb316ef AC |
1533 | * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. |
1534 | * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. | |
1535 | * jv-typeprint.c (java_type_print_base): Ditto. | |
1536 | * typeprint.c (typedef_print): Eliminate STREQ. | |
1537 | * cli/cli-script.c (define_command, define_command): Ditto. | |
1538 | * main.c (captured_main): Ditto. | |
1539 | * values.c (lookup_internalvar): Ditto. | |
1540 | * utils.c (safe_strerror, parse_escape): Eliminate assignment | |
1541 | within `if' conditional. | |
1542 | * linespec.c (decode_line_2): Ditto. | |
1543 | * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. | |
1544 | (bfd_openw_with_cleanup): Ditto. | |
1545 | ||
2a28ccea MK |
1546 | 2003-02-07 Mark Kettenis <kettenis@gnu.org> |
1547 | ||
1548 | * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to | |
1549 | legacy_extract_return_value and store_return_value to | |
1550 | legacy_return_value. | |
1551 | ||
786b8124 CF |
1552 | 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk> |
1553 | ||
1554 | * win32-nat.c (get_relocated_section_addrs): New function. Find | |
1555 | section load addresses for symbol handling in relocated DLLs. | |
1556 | (solib_symbols_add): Open a bfd and call get_relocated_section_addrs. | |
1557 | ||
b871e4ec FF |
1558 | 2003-02-05 Fred Fish <fnf@intrinsity.com> |
1559 | ||
1560 | * remote-e7000.c (e7000_drain_command): Fix precedence problem with | |
1561 | '=' and '!='. | |
1562 | * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem | |
1563 | with '&' and '=='. | |
1564 | (angel_RDI_info): Ditto. | |
1565 | * infttrace.c (threads_continue_all_but_one): Fix precedence problem | |
1566 | with '&' and '!='. | |
1567 | (threads_continue_all_with_signals): Ditto. | |
1568 | ||
4389a95a AC |
1569 | 2003-02-05 Jim Ingham <jingham@apple.com> |
1570 | Keith Seitz <keiths@redhat.com> | |
1571 | Elena Zannoni <ezannoni@redhat.com> | |
1572 | Andrew Cagney <ac131313@redhat.com> | |
1573 | ||
1574 | * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". | |
1575 | (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". | |
1576 | (SUBDIR_MI_OBS): Add "mi-interp.o". | |
1577 | (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". | |
1578 | (SFILES): Add "interps.c". | |
1579 | (COMMON_OBS): Add "interps.o". | |
1580 | (interps_h, mi_main_h): Define. | |
1581 | (interps.o, cli-interp.o, mi-interp.o): Add dependencies. | |
1582 | (mi-main.o, main.o, event-top.o): Update dependencies. | |
1583 | * cli/cli-interp.c: New file. | |
1584 | * interps.h, interps.c: New files. | |
1585 | * top.c: (gdb_init): Don't install the default interpreter, handed | |
1586 | by captured_main. | |
1587 | * main.c: Include "interps.h". | |
1588 | (interpreter_p): Note that it should malloc'ed. | |
1589 | (captured_command_loop): Call current_interp_command_loop. | |
1590 | (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use | |
1591 | xfree and xstrdup when updating interpreter_p. Install the | |
1592 | default interpreter. Add hack to stop mi1's copyright notice | |
1593 | being encoded. | |
1594 | * event-top.h (gdb_setup_readline): Declare. | |
1595 | (gdb_disable_readline): Declare. | |
1596 | * event-top.c: Include "interps.h". | |
1597 | (display_gdb_prompt): Call current_interp_display_prompt_p. | |
1598 | (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, | |
1599 | gdb_stdlog, and gdb_stdtarg. | |
1600 | (_initialize_event_loop): Don't call gdb_setup_readline. | |
1601 | * cli-out.c (cli_out_set_stream): New function. | |
1602 | * cli-out.h (cli_out_set_stream): Declare. | |
1603 | ||
ff3b5810 MK |
1604 | 2003-02-06 Mark Kettenis <kettenis@gnu.org> |
1605 | ||
1606 | * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*, | |
1607 | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all | |
1608 | handled fine by i[3456]86-*sco* and i[3456]86-sysv*. | |
1609 | * config/i386/i386sco5.mt, config/i386/i386v4.mt, | |
1610 | config/i386/i386v42mp.mt: Removed. | |
1611 | ||
5b729aa5 MK |
1612 | 2003-02-05 Mark Kettenis <kettenis@gnu.org> |
1613 | ||
1614 | * configure.tgt (*-*-solaris*): Set gdb_osabi to | |
1615 | GDB_OSABI_SOLARIS. | |
1616 | ||
8cc15142 MC |
1617 | 2003-02-05 Michael Chastain <mec@shout.net> |
1618 | ||
1619 | * PROBLEMS (i[3456]86-*-linux*): Warn about binutils | |
1620 | 2.12.1 and earlier versions. | |
1621 | ||
5aa5d4b9 AC |
1622 | 2003-02-05 Andrew Cagney <ac131313@redhat.com> |
1623 | ||
1624 | Remove orphaned hosts, targets and files. | |
1625 | * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. | |
1626 | * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. | |
1627 | * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. | |
1628 | * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. | |
1629 | * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. | |
1630 | * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. | |
1631 | * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. | |
1632 | * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. | |
1633 | * config/sparc/tm-sp64sim.h: Delete. | |
1634 | * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* | |
1635 | hosts. | |
1636 | * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and | |
1637 | mips*-dec-mach3* targets. | |
1638 | ||
b68767c1 MC |
1639 | 2003-02-04 Michael Chastain <mec@shout.net> |
1640 | ||
1641 | * NEWS: Fix typo: sepcifying -> specifying. | |
1642 | ||
5ae7ca1d MC |
1643 | 2003-02-04 Michael Chastain <mec@shout.net> |
1644 | ||
1645 | * dwarfread.c: Add documentation on the state of dwarf-1, | |
1646 | looking towards obsoletion. | |
1647 | ||
d08a4280 MC |
1648 | 2003-02-03 Michael Chastain <mec@shout.net> |
1649 | ||
1650 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, | |
1651 | gdb/testsuite/gdb.c++/pr-1023.exp. | |
1652 | ||
e9be73e4 AC |
1653 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
1654 | ||
1655 | * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. | |
1656 | * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. | |
1657 | ||
1658 | * utils.c (init_page_info): Delete reference to MPW in comments. | |
1659 | * main.c (captured_main): Delete #ifdef MPW. | |
1660 | ||
05d57f6f AC |
1661 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
1662 | ||
1663 | * NEWS: Note that the m32r-*-elf* is obsolete. | |
1664 | * monitor.c (monitor_expect): Obsolete reference to m32r. | |
1665 | * configure.tgt: Mark m32r-*-elf* as obsolete. | |
1666 | * MAINTAINERS: Mark m32k as obsolete. | |
1667 | * m32r-rom.c: Obsolete file. | |
1668 | * config/m32r/m32r.mt: Obsolete file. | |
1669 | * config/m32r/tm-m32r.h: Obsolete file. | |
1670 | * m32r-stub.c: Obsolete file. | |
1671 | * m32r-tdep.c: Obsolete file. | |
1672 | ||
8b0e5691 AC |
1673 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
1674 | ||
1675 | * NEWS: Mention that the z8k-zilog-none is obsolete. | |
1676 | * MAINTAINERS: Mark z8k as obsolete. | |
1677 | * configure.tgt: Obsolete the z8k-*-coff* target. | |
1678 | * config/z8k/z8k.mt: Obsolete file. | |
1679 | * config/z8k/tm-z8k.h: Obsolete file. | |
1680 | * z8k-tdep.c: Obsolete file. | |
1681 | ||
67f16606 AC |
1682 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
1683 | ||
1684 | * NEWS: Mention that the mn10200-elf is obsolete. | |
1685 | * configure.tgt: Obsolete mn10200-*-* target. | |
1686 | * breakpoint.c (update_breakpoints_after_exec): Update comment to | |
1687 | mention that the mn10200 is obsolete. | |
1688 | * breakpoint.h: Ditto. | |
1689 | * MAINTAINERS: Mark the mn10200-elf as obsolete. | |
1690 | * config/mn10200/mn10200.mt: Obsolete file. | |
1691 | * config/mn10200/tm-mn10200.h: Obsolete file. | |
1692 | * mn10200-tdep.c: Obsolete file. | |
1693 | ||
fd2299bd AC |
1694 | 2003-02-04 Andrew Cagney <ac131313@redhat.com> |
1695 | ||
1696 | * MAINTAINERS: Mark h8500 as obsolete. | |
1697 | * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. | |
1698 | * findvar.c (value_from_register): Ditto. | |
1699 | * h8500-tdep.c: Mark file as obsolete. | |
1700 | * config/h8500/h8500.mt: Ditto. | |
1701 | * config/h8500/tm-h8500.h: Ditto. | |
1702 | * NEWS: Mention that h8500 is obsolete. | |
1703 | ||
eb9a305d DC |
1704 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
1705 | ||
1706 | * objfiles.c (allocate_objfile): Always set name. Add comment at | |
1707 | start of function. | |
1708 | * jv-lang.c (get_dynamics_objfile): Add comment. | |
1709 | ||
406fc7fb DC |
1710 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
1711 | ||
1712 | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. | |
1713 | * printcmd.c (build_address_symbolic): Replace uses of | |
1714 | SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, | |
1715 | SYMBOL_NAME, and asm_demangle. | |
1716 | Update copyright. | |
1717 | ||
93d91629 DC |
1718 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
1719 | ||
1720 | * linespec.c (decode_compound): Extract code into | |
1721 | lookup_prefix_sym. | |
1722 | (lookup_prefix_sym): New function. | |
1723 | ||
1c5cb38e DC |
1724 | 2003-02-04 David Carlton <carlton@math.stanford.edu> |
1725 | ||
1726 | * gdbtypes.h: Delete INTEGER_COERCION_BADNESS, | |
1727 | FLOAT_COERCION_BADNESS. | |
1728 | * gdbtypes.c (rank_one_type): Replace all uses of | |
1729 | INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS. | |
1730 | ||
0cf824c9 JB |
1731 | 2003-02-04 Jim Blandy <jimb@redhat.com> |
1732 | ||
1733 | * dwarf2read.c (dwarf2_locate_sections): When we find a macro info | |
1734 | section, let dwarf_macinfo_section point to it, not | |
1735 | dwarf_loc_section. | |
1736 | ||
a2d356b0 DJ |
1737 | 2003-02-04 Daniel Jacobowitz <drow@mvista.com> |
1738 | ||
1739 | Pointed out by Anton Blanchard <anton@samba.org>. | |
1740 | * ppc-linux-tdep.c (insn_is_sigreturn): New function. | |
1741 | (ppc_linux_at_sigtramp_return_path): Use it. | |
1742 | ||
2de7ced7 DJ |
1743 | 2003-02-04 Daniel Jacobowitz <drow@mvista.com> |
1744 | ||
1745 | * defs.h (streq): Add prototype. | |
1746 | * utils.c (streq): New function. | |
1747 | ||
1748 | * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of | |
1749 | SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. | |
1750 | * mdebugread.c (new_symbol): Likewise. | |
1751 | * stabsread.c (define_symbol): Likewise. | |
1752 | * coffread.c (process_coff_symbol): Likewise. | |
1753 | * dwarfread.c (new_symbol): Likewise. | |
1754 | ||
1755 | * minsyms.c (prim_record_minimal_symbol_and_info): Use | |
1756 | SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language | |
1757 | here. | |
1758 | (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call | |
1759 | SYMBOL_INIT_DEMANGLED_NAME. | |
1760 | * objfiles.c: Include "hashtab.h". | |
1761 | (allocate_objfile): Call htab_set_functions_ex for the | |
1762 | demangled_names_hash. | |
1763 | (free_objfile): Call htab_delete for the demangled_names_hash. | |
1764 | * objfiles.h (struct htab): Add declaration. | |
1765 | (struct objfile): Add demangled_names_hash. | |
1766 | * symfile.c: Include "hashtab.h". | |
1767 | (reread_symbols): Call htab_delete for the demangled_names_hash. | |
1768 | (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting | |
1769 | SYMBOL_NAME in the bcache. | |
1770 | * symtab.c: Include "hashtab.h". Update comments. | |
1771 | (create_demangled_names_hash, symbol_set_names): New functions. | |
1772 | (symbol_find_demangled_name): New function, broken out from | |
1773 | symbol_init_demangled_names. | |
1774 | (symbol_init_demangled_names): Use it. | |
1775 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. | |
1776 | (SYMBOL_SET_NAMES): New macro. | |
1777 | (symbol_set_names): Add prototype. | |
1778 | ||
15831452 JB |
1779 | 2003-02-03 Jim Blandy <jimb@redhat.com> |
1780 | ||
1781 | Use a single, consistent representation for an empty minimal | |
1782 | symbol table in an objfile. | |
1783 | * objfiles.c (terminate_minimal_symbol_table): New function. | |
1784 | (allocate_objfile): Call it. | |
1785 | * objfiles.h (terminate_minimal_symbol_table): New declaration. | |
1786 | (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is | |
1787 | non-NULL. | |
1788 | * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether | |
1789 | objfile has minimal symbols, compare minimal_symbol_count to zero, | |
1790 | instead of comparing msymbols with NULL. | |
1791 | * objfiles.c (have_minimal_symbols): Same. | |
1792 | * solib-sunos.c (solib_add_common_symbols): Call | |
1793 | terminate_minimal_symbol_table. | |
1794 | * symfile.c (reread_symbols): Same. | |
1795 | ||
ffc65945 KB |
1796 | 2003-02-03 Kevin Buettner <kevinb@redhat.com> |
1797 | ||
1798 | * s390-tdep.c (s390_address_class_type_flags) | |
1799 | (s390_address_class_type_flags_to_name) | |
1800 | (s390_address_class_name_to_type_flags): New functions. | |
1801 | (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, | |
1802 | ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS. | |
1803 | ||
f211c6d4 MS |
1804 | 2003-02-03 Michael Snyder <msnyder@redhat.com> |
1805 | ||
1806 | * arm-tdep.c: Fix spell-o in comment. | |
1807 | ||
659b0389 ML |
1808 | 2003-02-03 Michal Ludvig <mludvig@suse.cz> |
1809 | ||
1810 | * dwarf2cfi.c (pointer_encoding): Added new parameter. | |
1811 | * dwarf2cfi.c, dwarf2read.c: Changed all warnings and | |
1812 | error messages to contain BFD filename. | |
1813 | ||
3b31d625 EZ |
1814 | 2003-02-02 Elena Zannoni <ezannoni@redhat.com> |
1815 | ||
997b089a | 1816 | Fix PR gdb/742 gdb/743 gdb/877 |
3b31d625 EZ |
1817 | * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. |
1818 | (do_mixed_source_and_assembly): Use | |
1819 | make_cleanup_ui_out_tuple_begin_end and | |
1820 | make_cleanup_ui_out_tuple_begin_end. | |
1821 | (do_mixed_source_and_assembly): Ditto. | |
1822 | * thread.c (do_captured_list_thread_ids): Ditto. | |
1823 | * ui-out.h (ui_out_table_begin, ui_out_list_begin, | |
1824 | ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, | |
1825 | ui_out_tuple_end): Delete prototypes. | |
1826 | * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, | |
1827 | ui_out_list_end, ui_out_tuple_end): Delete. | |
1828 | ||
1829 | From Kevin Buettner <kevinb@redhat.com>: | |
1830 | * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. | |
1831 | * ui-out.c (make_cleanup_ui_out_table_begin_end) | |
1832 | (do_cleanup_table_end): New functions. | |
1833 | * breakpoint.c (print_it_typical, print_one_breakpoint, mention): | |
1834 | Use cleanups to invoke_ui_out_tuple_end(). | |
1835 | (breakpoint_1): Use cleanup to invoke ui_out_table_end(). | |
1836 | * cli/cli-setshow.c (cmd_show_list): Use | |
1837 | make_cleanup_ui_out_tuple_begin_end. | |
1838 | ||
5b181d62 AC |
1839 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
1840 | ||
1841 | * frame.c (frame_unwind_register): New function. | |
1842 | (frame_unwind_unsigned_register): Use. | |
1843 | (frame_unwind_signed_register): Use. | |
1844 | (frame_read_register): New function. | |
1845 | * frame.h (frame_unwind_register): Declare. | |
1846 | (frame_read_register): Declare. | |
1847 | ||
1848 | * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write | |
1849 | and frame_unwind_register instead of read_memory, write_register | |
1850 | and deprecated_write_register_bytes. | |
1851 | ||
5f601589 AC |
1852 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
1853 | ||
1854 | * frame.h: Note that namelen can be negative. | |
1855 | * frame.c (frame_map_name_to_regnum): When LEN is negative, use | |
1856 | NAME's length. | |
1857 | ||
1858 | * NEWS: Mention that the d10v's `regs' command is deprecated. | |
1859 | * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. | |
1860 | (d10v_print_registers_info): New function. | |
1861 | (show_regs): Call d10v_print_registers_info. | |
1862 | (_initialize_d10v_tdep): Mark "show regs" command as deprecated. | |
1863 | ||
6a3fe0a4 MK |
1864 | 2003-02-02 Mark Kettenis <kettenis@gnu.org> |
1865 | ||
1866 | * stack.c (print_frame_info): Restore call to annotate_frame_begin | |
1867 | lost in the previous patch. | |
1868 | ||
075559bc AC |
1869 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
1870 | ||
1871 | From 2002-11-09 Jason Molenda (jason-cl@molenda.com) | |
1872 | * stack.c (print_frame_info_base): Output complete FRAME tuple | |
1873 | for synthesized frames. | |
1874 | ||
6789195b AC |
1875 | 2003-02-02 Andrew Cagney <ac131313@redhat.com> |
1876 | ||
1877 | * mips-nat.c (zerobuf): Delete. | |
1878 | (fetch_inferior_registers): Alloc local zerobuf. | |
1879 | (fetch_core_registers): Alloc local zerobuf. | |
1880 | * d10v-tdep.c (show_regs): Don't allocate a dynamic array using | |
1881 | MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. | |
1882 | * thread-db.c (thread_db_store_registers): Ditto. | |
1883 | * sh-tdep.c (sh_do_register): Ditto. | |
1884 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
1885 | * remote-sim.c (gdbsim_store_register): Ditto. | |
1886 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
1887 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
1888 | * monitor.c (monitor_supply_register): Ditto. | |
1889 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
1890 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
1891 | * m68klinux-nat.c (fetch_register): Ditto. | |
1892 | * lynx-nat.c (fetch_inferior_registers): Ditto. | |
1893 | (fetch_inferior_registers): Ditto. | |
1894 | * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
1895 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
1896 | (hpux_thread_store_registers): Ditto. | |
1897 | * hppah-nat.c (fetch_register): Ditto. | |
1898 | * hppab-nat.c (fetch_register): Ditto. | |
1899 | * hppa-tdep.c (pa_register_look_aside): Ditto. | |
1900 | (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. | |
1901 | * dve3900-rom.c (fetch_bitmapped_register): Ditto. | |
1902 | ||
e669114a AC |
1903 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
1904 | ||
1905 | * gdbarch.sh: Explictly specify all method levels. When a | |
1906 | variable with an empty level, provide a non-multi-arch default. | |
1907 | (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. | |
1908 | * gdbarch.h: Re-generate. | |
1909 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. | |
1910 | * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1 | |
1911 | ||
9a043c1d AC |
1912 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
1913 | ||
1914 | * defs.h (host_pointer_to_address): Delete declaration. | |
1915 | (address_to_host_pointer): Delete declaration. | |
1916 | * utils.c (host_pointer_to_address): Delete function. | |
1917 | (address_to_host_pointer): Delete function. | |
1918 | * procfs.c (procfs_address_to_host_pointer): New function. | |
1919 | * procfs.c (proc_set_watchpoint): Use. | |
1920 | (procfs_can_use_hw_breakpoint): Update comments. | |
1921 | * somsolib.c (hpux_address_to_host_pointer_hack): New function. | |
1922 | (som_solib_add): Use. | |
1923 | * hppa-tdep.c (hppa_pointer_to_address_hack): New function. | |
1924 | * hppa-tdep.c (unwind_command): Use. | |
1925 | ||
7ca9f392 AC |
1926 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
1927 | ||
94bbfd30 AC |
1928 | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and |
1929 | strlen d_name. | |
1930 | ||
7ca9f392 AC |
1931 | * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, |
1932 | ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. | |
1933 | (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. | |
1934 | * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. | |
1935 | (define_symbol): Update. | |
1936 | * symfile.c (generic_load): Remove references to nindy. | |
1937 | * symtab.c: Remove references to nindy. | |
1938 | ||
31a85ea2 AC |
1939 | 2003-02-01 Andrew Cagney <ac131313@redhat.com> |
1940 | ||
1941 | * infcmd.c (print_float_info): Delete code conditional on | |
1942 | FLOAT_INFO. | |
1943 | * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. | |
1944 | * config/m68k/nm-apollo68b.h: Ditto. | |
1945 | * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. | |
1946 | * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. | |
1947 | * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. | |
1948 | ||
f6e85fc8 MK |
1949 | 2003-02-01 Mark Kettenis <kettenis@gnu.org> |
1950 | ||
6015b6a0 MK |
1951 | * config/i386/tm-i386os9k.h: Removed. |
1952 | ||
f7a30bdf MK |
1953 | * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v. |
1954 | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since | |
1955 | they're identical to i[3456]86-*-sysv* now. | |
1956 | * config/i386/i386v32.mh: Removed. | |
1957 | * config/i386/xm-i386v32.h: Removed. | |
1958 | * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro. | |
1959 | ||
28d52111 MK |
1960 | * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed. |
1961 | ||
4d3f6bce MK |
1962 | * config/i386/i386dgux.mh: Removed. |
1963 | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4. | |
1964 | ||
f6e85fc8 MK |
1965 | * configure.in: Fix typo. |
1966 | * configure: Regenerated. | |
1967 | ||
53955967 DC |
1968 | 2003-01-31 David Carlton <carlton@math.stanford.edu> |
1969 | ||
1970 | * dwarf2read.c (dwarf2_locate_sections): Set | |
1971 | dwarf_ranges_section. | |
1972 | ||
b1364885 AC |
1973 | 2003-01-31 Andrew Cagney <ac131313@redhat.com> |
1974 | ||
8dbb1c65 AC |
1975 | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. |
1976 | * utils.c: Update comments documenting legitimate uses of PTR. | |
1977 | ||
8731e58e AC |
1978 | * utils.c: Re-indent. |
1979 | ||
b1364885 AC |
1980 | * config/djgpp/fnchange.lst: Delete nindy files. |
1981 | * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. | |
1982 | * nindy-share/nindy.c, nindy-share/env.h: Delete files. | |
1983 | * nindy-share/coff.h, nindy-share/block_io.h: Delete files. | |
1984 | * nindy-share/b.out.h, nindy-share/VERSION: Delete files. | |
1985 | * nindy-share/README, nindy-share/Onindy.c: Delete files. | |
1986 | * nindy-tdep.c, nindy-share/Makefile: Delete files. | |
1987 | * Makefile.in (init.c): Remove nindy references. | |
1988 | (saber_gdb): Delete rule. | |
1989 | (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, | |
1990 | nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, | |
1991 | and a68v-nat.c. | |
1992 | (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. | |
1993 | (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. | |
1994 | (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, | |
1995 | nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and | |
1996 | nindy-share/stop.h. | |
1997 | * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. | |
1998 | * saber.suppress: Delete file. | |
1999 | ||
086df311 DJ |
2000 | 2003-01-31 Daniel Jacobowitz <drow@mvista.com> |
2001 | ||
2002 | * dbxread.c (stabs_data): New static variable. | |
2003 | (fill_symbuf): Support an in-memory buffer for stabs data. | |
2004 | (stabs_seek): New function. | |
2005 | (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. | |
2006 | (read_ofile_symtab): Use stabs_seek. | |
2007 | (elfstab_build_psymtabs): Take an asection* instead of | |
2008 | an offset and size. Relocate the stabs data if necessary. | |
2009 | Save the section* for dbx_psymtab_to_symtab. | |
2010 | * dwarf2read.c: Add section variables for each debug section. | |
2011 | (dwarf2_locate_sections): Fill them in. | |
2012 | (dwarf2_read_section): Take an asection* argument. | |
2013 | Relocate the section contents if necessary. | |
2014 | (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. | |
2015 | * dwarf2cfi.c (parse_frame_info): Take a section argument and pass | |
2016 | it to dwarf2_read_section. | |
2017 | (dwarf2_build_frame_info): Update callers. | |
2018 | * elfread.c (elf_symfile_read): Update call to | |
2019 | elfstab_build_psymtabs. | |
2020 | * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. | |
2021 | (DBX_STAB_SECTION): New macro. | |
2022 | * stabsread.h (elfstab_build_psymtabs): Update prototype. | |
2023 | * symfile.c (symfile_dummy_outputs): New function. | |
2024 | (symfile_relocate_debug_section): New function. | |
2025 | * symfile.h (symfile_relocate_debug_section): Add prototype. | |
2026 | ||
87d1b352 RH |
2027 | 2003-01-31 Richard Henderson <rth@redhat.com> |
2028 | ||
2029 | * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ... | |
2030 | (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. | |
2031 | (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. | |
2032 | * alpha-tdep.c (alpha_register_name): Add "unique". | |
2033 | * alpha-tdep.h (ALPHA_NUM_REGS): Increment. | |
2034 | (ALPHA_UNIQUE_REGNUM): New. | |
2035 | * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New. | |
2036 | ||
c48861fb AC |
2037 | 2003-01-31 Andrew Cagney <ac131313@redhat.com> |
2038 | ||
2039 | * README: Remove reference to Ericsson 1800 monitor. | |
2040 | * Makefile.in (remote-es.o): Delete rule. | |
2041 | (ALLDEPFILES): Delete remote-es.c. | |
2042 | * remote-es.c: Delete file. | |
2043 | * config/m68k/es1800.mt: Delete file. | |
2044 | * config/djgpp/fnchange.lst: Update. | |
2045 | * configure.tgt: Delete m68*-ericsson-* target. | |
2046 | ||
d764a824 AF |
2047 | 2003-01-31 Adam Fedor <fedor@gnu.org> |
2048 | ||
2049 | * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc. | |
2050 | Remove duplicate/shadowing variable of same name. | |
2051 | ||
fe36c4f4 JB |
2052 | 2003-01-30 Jim Blandy <jimb@redhat.com> |
2053 | ||
2054 | * symfile.c (find_separate_debug_file): Assert that the objfile's | |
2055 | directory name we compute ends with a slash, and then assume that | |
2056 | that's so everywhere we use it. | |
2057 | ||
cb741690 DJ |
2058 | 2003-01-30 Daniel Jacobowitz <drow@mvista.com> |
2059 | ||
2060 | * valops.c (value_assign): Flush frame cache after stores to memory | |
2061 | also. | |
2062 | ||
96ee5227 AC |
2063 | 2003-01-30 Andrew Cagney <ac131313@redhat.com> |
2064 | ||
2065 | * Makefile.in (mon960-rom.o): Delete rule. | |
2066 | * mon960-rom.c: Delete file. | |
2067 | ||
7f6104a9 AC |
2068 | 2003-01-30 Andrew Cagney <ac131313@redhat.com> |
2069 | ||
2070 | * d10v-tdep.c: Include "frame-unwind.h". | |
2071 | (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate | |
2072 | list. | |
2073 | (next_addr, uses_frame): Delete. | |
2074 | (struct d10v_unwind_cache): Define. | |
2075 | (prologue_find_regs): Add struct d10v_unwind_cache info parameter. | |
2076 | Use info instead of next_addr and uses_frame globals. | |
2077 | (d10v_frame_init_saved_regs): Delete function. | |
2078 | (d10v_init_extra_frame_info): Delete function. | |
2079 | (d10v_gdbarch_init): Do not initialize init_extra_frame_info, | |
2080 | frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, | |
2081 | init_frame_pc or frame_saved_pc. | |
2082 | (d10v_pop_frame): Delete function. | |
2083 | (do_d10v_pop_frame): Delete function. | |
2084 | (d10v_frame_chain): Delete function. | |
2085 | (d10v_frame_chain_valid): Delete function. | |
2086 | (d10v_frame_pc_unwind): New function. | |
2087 | (d10v_frame_id_unwind): New function. | |
2088 | (saved_regs_unwinder): New function. | |
2089 | (d10v_frame_register_unwind): New function. | |
2090 | (d10v_frame_pop): New function. | |
2091 | (d10v_frame_unwind): New variable. | |
2092 | (d10v_frame_p): New function. | |
2093 | (d10v_frame_saved_pc): Delete function. | |
2094 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
2095 | ||
cad2e848 JB |
2096 | 2003-01-30 J. Brobecker <brobecker@gnat.com> |
2097 | ||
2098 | * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef | |
2099 | causing some regressions due to a change in the default value | |
2100 | for this macro. | |
2101 | ||
af34e669 DJ |
2102 | 2003-01-29 Richard Henderson <rth@redhat.com> |
2103 | Elena Zannoni <ezannoni@redhat.com> | |
2104 | Daniel Jacobowitz <drow@mvista.com> | |
2105 | ||
2106 | Fix PR gdb/961. | |
2107 | * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New | |
2108 | variables. | |
2109 | (RANGES_SECTION): New. | |
2110 | (dwarf_ranges_buffer): New variable. | |
2111 | (struct comp_unit_head): Add member "die". | |
2112 | (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. | |
2113 | (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. | |
2114 | (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. | |
2115 | (dwarf2_locate_sections): Likewise. | |
2116 | (dwarf2_build_psymtabs): Read .debug_ranges. | |
2117 | (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. | |
2118 | (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. | |
2119 | (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. | |
2120 | Look for DW_AT_ranges and return the bounding box. | |
2121 | ||
baa93fa6 CF |
2122 | 2003-01-29 Brian Ford <ford@vss.fsi.com> |
2123 | ||
2124 | * win32-nat.c (cygwin_pid): Removed as unused. | |
2125 | (child_attach): Try fall back to Cygwin pid. | |
2126 | ||
c63f977f JB |
2127 | 2003-01-29 Jim Blandy <jimb@redhat.com> |
2128 | ||
2129 | * objfiles.h (struct objfile): Doc fix. | |
2130 | ||
d62d1979 AC |
2131 | 2003-01-29 Andrew Cagney <ac131313@redhat.com> |
2132 | ||
2133 | * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. | |
2134 | (legacy_get_prev_frame): Assert FRAME_CHAIN_P. | |
2135 | (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. | |
2136 | (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. | |
2137 | * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. | |
2138 | (FRAME_SAVED_PC): Change to a function with predicate. | |
2139 | * gdbarch.h, gdbarch.c: Re-generate. | |
2140 | ||
1ae18a04 AC |
2141 | 2003-01-28 Andrew Cagney <ac131313@redhat.com> |
2142 | ||
52287340 AC |
2143 | * hppah-nat.c (child_pid_to_exec_file): Don't use boolean. |
2144 | ||
1ae18a04 AC |
2145 | * complaints.c (complain): Delete function. |
2146 | * complaints.h (struct deprecated_complaint): Delete definition. | |
2147 | (complain): Delete declaration. | |
2148 | ||
f2c16bd6 KB |
2149 | 2003-01-28 Kevin Buettner <kevinb@redhat.com> |
2150 | ||
2151 | * mips-tdep.c (mips_init_extra_frame_info): Return early for | |
2152 | dummy frames. | |
2153 | ||
a94dd1fd AC |
2154 | 2003-01-27 Andrew Cagney <ac131313@redhat.com> |
2155 | ||
2156 | * sentinel-frame.h, sentinel-frame.c: New files. | |
2157 | * Makefile.in (frame.o): Update dependencies. | |
2158 | (SFILES): Add sentinel-frame.c. | |
2159 | (sentinel_frame_h): Define. | |
2160 | (COMMON_OBS): Add sentinel-frame.o. | |
2161 | (sentinel-frame.o): Specify dependencies. | |
2162 | * frame.c: Include "sentinel-frame.h". | |
2163 | (frame_register_unwind): Rewrite assuming that there is always a a | |
2164 | ->next frame. | |
2165 | (frame_register, generic_unwind_get_saved_register): Ditto. | |
2166 | (frame_read_unsigned_register, frame_read_signed_register): Ditto. | |
2167 | (create_sentinel_frame, unwind_to_current_frame): New functions. | |
2168 | (get_current_frame): Rewrite using create_sentinel_frame and | |
2169 | unwind_to_current_frame. When possible, always create a frame. | |
2170 | (create_new_frame): Set next to the sentinel frame. | |
2171 | (get_next_frame): Rewrite. Don't go below the level 0 frame. | |
2172 | (deprecated_update_frame_pc_hack): Update the next frame's PC and | |
2173 | ID cache when necessary. | |
2174 | (frame_saved_regs_id_unwind): Use frame_relative_level. | |
2175 | (deprecated_generic_get_saved_register): Use frame_relative_level, | |
2176 | get_frame_saved_regs, get_frame_pc, get_frame_base and | |
2177 | get_next_frame. | |
2178 | (frame_saved_regs_register_unwind): Use get_frame_saved_regs and | |
2179 | frame_register. | |
2180 | ||
5378adc4 DJ |
2181 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
2182 | ||
2183 | * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments. | |
2184 | ||
51ee2ddc DJ |
2185 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
2186 | ||
2187 | * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] | |
2188 | (maintenance_set_profile_cmd): Use error () instead of warning (). | |
2189 | ||
d9feb4e7 DJ |
2190 | 2003-01-27 Daniel Jacobowitz <drow@mvista.com> |
2191 | ||
2192 | * configure.in: Check that -pg works if using --enable-profiling. | |
2193 | Check for monstartup and _mcleanup regardless of --enable-profiling. | |
2194 | * maint.c: Check for monstartup and _mcleanup before using them. | |
2195 | * config.in: Regenerated. | |
2196 | * configure: Regenerated. | |
2197 | ||
2d188dd3 NC |
2198 | 2003-01-24 Nick Clifton <nickc@redhat.com> |
2199 | ||
2200 | * Add sh2e support: | |
2201 | ||
2202 | 2002-04-02 Elena Zannoni <ezannoni@redhat.com> | |
2203 | ||
2204 | * gdb/sh-tdep.c (sh_sh2e_register_name): New. | |
2205 | (sh2e_show_regs): New. | |
2206 | (sh_gdbarch_init): Handle bfd_mach_sh2e. | |
2207 | * config/sh/tm-sh.h: Added sh2e to comments. | |
2208 | ||
cb3c37b2 JB |
2209 | 2003-01-23 Jim Blandy <jimb@redhat.com> |
2210 | ||
2211 | * symfile.c (syms_from_objfile): Don't print the "(no debugging | |
2212 | symbols found)" message here; we haven't checked for a separate | |
2213 | debug info file yet, so we don't know yet. | |
2214 | (symbol_file_add_with_addrs_or_offsets): Print it here, after | |
2215 | we've looked everywhere. Also, there's no need to print a special | |
2216 | message when we're loading the separate debug info file: the one | |
2217 | symbol_file_add prints is fine. | |
2218 | ||
5b5d99cf JB |
2219 | 2003-01-23 Alexander Larsson <alexl@redhat.com> |
2220 | Jim Blandy <jimb@redhat.com> | |
2221 | ||
2222 | Add support for executables whose debug info has been separated | |
2223 | out into a separate file, leaving only a link behind. | |
2224 | * objfiles.h (struct objfile): New fields: separate_debug_objfile | |
2225 | and separate_debug_objfile_backlink. | |
2226 | (put_objfile_before): New declaration. | |
2227 | * symfile.c: #include "filenames.h". | |
2228 | (symbol_file_add_with_addrs_or_offsets): If this objfile has its | |
2229 | debug info in a separate file, read that, too. Save the addrs | |
2230 | argument, so we can use it again to read the separated debug info; | |
2231 | syms_from_objfile modifies the table we pass it. | |
2232 | (reread_symbols): After re-reading an objfile, call | |
2233 | reread_separate_symbols to refresh its separate debug info | |
2234 | objfile, if it has one. | |
2235 | (reread_separate_symbols, find_separate_debug_file, | |
2236 | get_debug_link_info, separate_debug_file_exists): New functions. | |
2237 | (debug_file_directory): New global var. | |
2238 | (_initialize_symfile): Initialize debug_file_directory, and | |
2239 | provide the new `set debug-file-directory' command to let the user | |
2240 | change it. | |
2241 | * objfiles.c (free_objfile): If this objfile has its debug info in | |
2242 | a separate objfile, free that one too. If this is itself a | |
2243 | separate debug info objfile, clear our parent's backlink. | |
2244 | (put_objfile_before): New function. | |
2245 | * utils.c (gnu_debuglink_crc32): New function. | |
2246 | * defs.h (gnu_debuglink_crc32): New declaration. | |
2247 | * Makefile.in (symfile.o): Note dependency on "filenames.h". | |
2248 | * configure.in: Handle --with-separate-debug-dir config option. | |
2249 | * acinclude.m4 (AC_DEFINE_DIR): New macro. | |
2250 | * acconfig.h (DEBUGDIR): New macro. | |
2251 | * configure, aclocal.m4, config.in: Regenerated. | |
2252 | ||
7e8580c1 JB |
2253 | 2003-01-22 Jim Blandy <jimb@redhat.com> |
2254 | ||
7904e09f JB |
2255 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New function, |
2256 | like the old symbol_file_add, but taking new arguments: you can | |
2257 | now pass in either a `struct section_addr_info' list to say where | |
2258 | each section is loaded, or a `struct section_offsets' table. Pass | |
2259 | these new arguments through to syms_from_objfile as appropriate. | |
2260 | (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, | |
2261 | with the appropriate quiescent values for the new arguments. | |
2262 | ||
7e8580c1 JB |
2263 | * symfile.c: #include "gdb_assert.h". |
2264 | (syms_from_objfile): Add the ability to pass in a section offset | |
2265 | table directly, as an alternative to the section_addr_info table. | |
2266 | Document arguments better. | |
2267 | (symbol_file_add): Pass extra arguments to syms_from_objfile. | |
2268 | * symfile.h (syms_from_objfile): Update declaration. | |
2269 | * rs6000-nat.c (objfile_symbol_add): Pass new arguments to | |
2270 | syms_from_objfile. | |
2271 | * Makefile.in (symfile.o): List dependency on $(gdb_assert_h). | |
2272 | ||
d28f9cdf DJ |
2273 | 2003-01-22 Daniel Jacobowitz <drow@mvista.com> |
2274 | ||
2275 | Original patch by Tom Tromey <tromey@cygnus.com> and | |
2276 | Jason Molenda <jmolenda@apple.com>. | |
2277 | * Makefile.in (PROFILE_CFLAGS): Substitute from configure. | |
2278 | (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. | |
2279 | * NEWS: Mention profiling. | |
2280 | * configure.in (--enable-gdbtk): Fix typo. | |
2281 | (--enable-profiling): New. Set PROFILE_CFLAGS. | |
2282 | * maint.c (maintenance_set_profile_cmd): Remove NOTYET. | |
2283 | Fill in function. | |
2284 | (profiling_state): New variable. | |
2285 | (mcleanup_wrapper): New function. | |
2286 | (_initialize_maint): Remove NOTYET, fix call to | |
2287 | add_setshow_boolean_cmd for "maint set profile". | |
2288 | * configure: Regenerated. | |
2289 | ||
df21e465 MH |
2290 | 2003-01-21 Martin M. Hunt <hunt@redhat.com> |
2291 | ||
2292 | * Makefile.in (install-gdbtk): Install PNG images too. | |
2293 | ||
73c1f219 AC |
2294 | 2003-01-21 Andrew Cagney <ac131313@redhat.com> |
2295 | ||
2296 | * exec.c (text_start): Delete global variable. | |
2297 | (exec_file_attach): Make text_start local to the function. | |
2298 | * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. | |
2299 | * valops.c (hand_function_call): Delete code that handles | |
2300 | BEFORE_TEXT_END and AFTER_TEXT_END. | |
2301 | * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead | |
2302 | of CALL_DUMMY_LOCATION. | |
2303 | * gdbarch.c: Regenerate. | |
2304 | * inferior.h (deprecated_pc_in_call_dummy_before_text_end) | |
2305 | (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. | |
2306 | * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) | |
2307 | (deprecated_pc_in_call_dummy_after_text_end): Delete functions. | |
2308 | (text_end): Delete extern declaration. | |
2309 | ||
eb4f72c5 AC |
2310 | 2003-01-21 Andrew Cagney <ac131313@redhat.com> |
2311 | ||
2312 | * frame.h (FRAME_OBSTACK_ZALLOC): Define. | |
2313 | * blockframe.c (backtrace_below_main): Move to "frame.c". | |
2314 | (frame_chain_valid): Delete check for backtrace_below_main. | |
2315 | (_initialize_blockframe): Delete initialization, move ``set | |
2316 | backtrace-below-main'' command to "frame.c". | |
2317 | (do_flush_frames_sfunc): Delete function. | |
2318 | * frame.c: Include "command.h" and "gdbcmd.h". | |
2319 | (frame_type_from_pc): New function. | |
2320 | (create_new_frame): Use frame_type_from_pc. | |
2321 | (legacy_get_prev_frame): New function. | |
2322 | (get_prev_frame): Rewrite. When an old style frame, call | |
2323 | legacy_get_prev_frame. Otherwize, unwind the PC first. | |
2324 | (_initialize_frame): Add ``set backtrace-below-main'' command. | |
2325 | * Makefile.in (frame.o): Update dependencies. | |
2326 | ||
778ce8cc AC |
2327 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
2328 | ||
2329 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename | |
2330 | DEPRECATED_REGISTERS_INFO. | |
2331 | ||
01c193c8 AC |
2332 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
2333 | ||
2334 | * MAINTAINERS: Replace `Blanket Write Privs' with `Global | |
2335 | Maintainers'. Update `Various Maintainers'. | |
2336 | ||
dedc2a2b AC |
2337 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
2338 | ||
2339 | * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. | |
2340 | * gdbarch.sh (POP_FRAME): Change to function with predicate. | |
2341 | Suppress actual parameters when `-'. | |
2342 | * gdbarch.h, gdbarch.c: Regenerate. | |
2343 | ||
b7261c70 AC |
2344 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
2345 | ||
2346 | * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore | |
2347 | code handling dummy frames. | |
2348 | ||
dbe9fe58 AC |
2349 | 2003-01-19 Andrew Cagney <ac131313@redhat.com> |
2350 | ||
2351 | * frame-unwind.h (frame_unwind_pop_ftype): Declare. | |
2352 | (struct frame_unwind): Add field pop. | |
2353 | * frame.h (frame_pop): Declare. | |
2354 | * frame.c (frame_saved_regs_pop): New function. | |
2355 | (trad_frame_unwinder): Add frame_saved_regs_pop. | |
2356 | (frame_pop): New function. | |
2357 | * dummy-frame.c (dummy_frame_pop): New function. | |
2358 | (discard_innermost_dummy): New function. | |
2359 | (generic_pop_dummy_frame): Use discard_innermost_dummy. | |
2360 | (dummy_frame_unwind): Add dummy_frame_pop. | |
2361 | * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. | |
2362 | * valops.c (hand_function_call): Ditto. | |
2363 | * stack.c (return_command): Ditto. | |
2364 | ||
570b8f7c AC |
2365 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
2366 | ||
2367 | * cris-tdep.c: Fix function declaration indentation. | |
2368 | * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. | |
2369 | * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. | |
2370 | * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. | |
2371 | * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. | |
2372 | * xcoffread.c, config/pa/tm-hppa.h: Ditto. | |
2373 | * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto. | |
2374 | ||
2375 | 2003-01-18 Michael Chastain <mec@shout.net> | |
eaec4d85 MC |
2376 | |
2377 | * README (Unpacking and Installation -- quick overview): | |
2378 | Warn against ".../gdb-5.3/gdb/configure". | |
2379 | ||
494cca16 AC |
2380 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
2381 | ||
2382 | * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. | |
2383 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
2384 | (struct frame_unwind): Declare opaque. | |
2385 | (dummy_frame_p): Declare function. | |
2386 | * dummy-frame.c (dummy_frame_id_unwind): Make static. | |
2387 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
2388 | * dummy-frame.c: Include "frame-unwind.h". | |
2389 | (dummy_frame_p): New function. | |
2390 | (dummy_frame_unwind): New variable. | |
2391 | * frame.c: Include "frame-unwind.h". | |
2392 | (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update | |
2393 | to use the new unwind field. | |
2394 | (set_unwind_by_pc): Delete function. | |
2395 | (create_new_frame, get_prev_frame): Set unwind field using | |
2396 | frame_unwind_find_by_pc. | |
2397 | (trad_frame_unwind, trad_frame_unwinder): New variables. | |
2398 | * frame.h (trad_frame_unwind): Declare variable. | |
2399 | (frame_id_unwind_ftype): Delete declaration. | |
2400 | (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. | |
2401 | (struct frame_unwind): Declare opaque. | |
2402 | (struct frame_info): Replace the fields id_unwind, pc_unwind and | |
2403 | register_unwind with a single unwind pointer. | |
2404 | * frame-unwind.h, frame-unwind.c: New files. | |
2405 | * Makefile.in (SFILES): Add frame-unwind.c. | |
2406 | (frame_unwind_h): Define. | |
2407 | (COMMON_OBS): Add frame-unwind.o. | |
2408 | (frame-unwind.o): Specify dependencies. | |
2409 | (frame.o, dummy-frame.o): Update dependencies. | |
2410 | ||
4efb68b1 AC |
2411 | 2003-01-18 Andrew Cagney <ac131313@redhat.com> |
2412 | ||
2413 | * ada-valprint.c: Eliminate PTR. | |
2414 | * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. | |
2415 | * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. | |
2416 | * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. | |
2417 | * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. | |
2418 | * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. | |
2419 | * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. | |
2420 | * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. | |
2421 | ||
a84d24ee AC |
2422 | 2003-01-17 Andrew Cagney <ac131313@redhat.com> |
2423 | ||
762f08a3 AC |
2424 | * main.c (captured_main): Don't use PTR. |
2425 | * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. | |
2426 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
2427 | (lookup_struct_elt_type): Ditto. | |
2428 | * f-valprint.c (info_common_command): Ditto. | |
2429 | (list_all_visible_commons): Ditto. | |
2430 | * jv-typeprint.c (java_type_print_base): Ditto. | |
2431 | ||
a84d24ee AC |
2432 | * config/djgpp/fnchange.lst: Rename mi1-var-block.exp, |
2433 | mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. | |
2434 | Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename | |
2435 | i386-interix-nat.c and i386-interix-tdep.c. Rename | |
2436 | m68klinux-nat.c and m68klinux-tdep.c. Rename | |
2437 | config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename | |
2438 | bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename | |
2439 | gdb/objc-exp.tab.c and gdb/ada-exp.tab.c | |
2440 | * main.c (captured_main): Use xfree, not free. | |
2441 | ||
c170fb60 AC |
2442 | 2003-01-16 Andrew Cagney <ac131313@redhat.com> |
2443 | ||
2444 | * frame.h (frame_id_unwind_ftype): Change type so that the frame's | |
2445 | ID back using a parameter. | |
2446 | * frame.c (frame_id_unwind): Update call. | |
2447 | (frame_saved_regs_id_unwind): Update. | |
2448 | * dummy-frame.c (dummy_frame_id_unwind): Update function. | |
2449 | * dummy-frame.h (struct frame_id): Add opaque declaration. | |
2450 | (dummy_frame_id_unwind): Update declaration. | |
2451 | ||
867f3898 AC |
2452 | 2003-01-15 Andrew Cagney <ac131313@redhat.com> |
2453 | ||
2454 | * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. | |
2455 | ||
40622be8 | 2456 | 2003-01-15 Stephen P. Smith <ischis2@cox.net> |
de3a8c23 | 2457 | |
40622be8 | 2458 | * MAINTAINERS (Stephen P. Smith): Updated email address. |
de3a8c23 | 2459 | |
ae66c1fc EZ |
2460 | 2003-01-14 Elena Zannoni <ezannoni@redhat.com> |
2461 | ||
997b089a | 2462 | Fix PR gdb/898 |
ae66c1fc EZ |
2463 | * breakpoint.c (until_break_command): Add new argument. Use it to |
2464 | decide whether to stop only at the current frame or not. | |
2465 | * breakpoint.h (until_break_command): Update prototype. | |
2466 | * infcmd.c (until_command): Add new argument to until_break_command | |
2467 | call. | |
2468 | (advance_command): New function. | |
2469 | (_initialize_infcmd): Update help string for 'until' command. | |
2470 | Add new 'advance' command. | |
2471 | ||
a04257e6 DC |
2472 | 2003-01-14 David Carlton <carlton@math.stanford.edu> |
2473 | ||
2474 | * linespec.c (decode_line_1): Normalize comments. | |
2475 | (set_flags): Ditto. | |
2476 | (locate_first_half): Ditto. | |
2477 | (decode_compound): Ditto. | |
2478 | (symtab_from_filename): Ditto. | |
2479 | (decode_all_digits): Ditto. | |
2480 | (decode_dollar): Ditto. | |
2481 | (find_methods): Ditto. | |
2482 | (find_toplevel_char): Ditto. | |
2483 | ||
1bac305b AC |
2484 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
2485 | ||
2486 | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. | |
2487 | * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. | |
2488 | * elfread.c, eval.c, expprint.c, expression.h: Update copyright. | |
2489 | * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. | |
2490 | * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. | |
2491 | * language.c, language.h, m32r-tdep.c: Update copyright. | |
2492 | * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. | |
2493 | * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. | |
2494 | * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. | |
2495 | * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. | |
2496 | * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. | |
2497 | * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. | |
2498 | ||
25caa7a8 EZ |
2499 | 2003-01-13 Elena Zannoni <ezannoni@redhat.com> |
2500 | ||
2501 | * stabsread.h (process_later, resolve_cfront_continuation): | |
2502 | Obsolete. | |
2503 | Update copyright years. | |
2504 | * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. | |
2505 | Update copyright year. | |
2506 | * dbxread.c(struct cont_elem): Obsolete. | |
2507 | (process_later, process_now): Obsolete functions. | |
2508 | (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. | |
2509 | Update copyright year. | |
2510 | * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. | |
2511 | (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions. | |
2512 | * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront. | |
2513 | (parse_partial_symbols): Obsolete cfront support. | |
2514 | * stabsread.c | |
2515 | (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete | |
2516 | macros. | |
2517 | (get_substring, get_cfront_method_physname, msg_unknown_complaint, | |
2518 | read_cfront_baseclasses, read_cfront_member_functions, | |
2519 | resolve_cfront_continuation,read_cfront_static_fields, | |
2520 | copy_cfront_struct_fields): Obsolete functions. | |
2521 | (define_symbol, read_one_struct_field): Obsolete cfront support. | |
2522 | * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support. | |
2523 | Update Copyright year. | |
2524 | ||
7789c6f5 EZ |
2525 | 2003-01-13 Elena Zannoni <ezannoni@redhat.com> |
2526 | ||
2527 | * stack.c (print_frame_info, print_stack_frame_base_stub, | |
2528 | print_stack_frame_base, show_and_print_stack_frame_stub, | |
2529 | show_and_print_stack_frame, print_only_stack_frame_stub, | |
2530 | print_only_stack_frame): Delete functions. | |
2531 | (print_stack_frame_stub): Call print_frame_info instead of | |
2532 | print_frame_info_base. | |
2533 | (print_frame_info_base): Rename to print_frame_info. | |
2534 | (backtrace_command_1): Call print_frame_info, instead of | |
2535 | print_frame_info_base. | |
2536 | (current_frame_command): Call print_stack_frame, instead of | |
2537 | print_only_stack_frame. | |
2538 | (frame_command): Call print_stack_frame, instead of | |
2539 | show_and_print_stack_frame. | |
2540 | (up_command): Ditto. | |
2541 | (down_command): Ditto. | |
2542 | * frame.h (print_only_stack_frame): Delete prototype. | |
2543 | * infrun.c (normal_stop): Call print_stack_frame, instead of | |
2544 | show_and_print_stack_frame. | |
2545 | * thread.c (info_threads_command): Call print_stack_frame, instead | |
2546 | of print_only_stack_frame. | |
2547 | ||
3f5a3016 AC |
2548 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
2549 | ||
d99ba314 AC |
2550 | * README (Graphical interface to GDB): Update URL. Point at |
2551 | gdb/links/. | |
2552 | ||
3f5a3016 AC |
2553 | * gdb_indent.sh: Update to version 2.2.9. Warn when not exact |
2554 | version match. | |
2555 | ||
083ae935 DJ |
2556 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
2557 | ||
2558 | * symtab.c (find_pc_sect_line): Don't consider end-of-function | |
2559 | lines. | |
2560 | ||
5365276c DJ |
2561 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
2562 | ||
2563 | * thread-db.c (attach_thread): Prototype. | |
2564 | (struct private_thread_info): Remove lwpid. Add thread handle (th), | |
2565 | thread information (ti), and valid flags (th_valid, ti_valid). | |
2566 | (attach_thread): Move target_pid_to_str call to after the thread | |
2567 | is added to GDB's list. Initialize the cache. | |
2568 | (thread_get_info_callback, thread_db_map_id2thr) | |
2569 | (thread_db_get_info): New functions. | |
2570 | (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers) | |
2571 | (thread_db_store_registers, thread_db_thread_alive) | |
2572 | (thread_db_get_thread_local_address): Use them. | |
2573 | (thread_db_pid_to_str): Likewise. Return "Missing" instead | |
2574 | of calling error() for threads in unknown state. | |
2575 | ||
2576 | (clear_lwpid_callback): New function. | |
2577 | (thread_db_resume): Use it to clear the cache. | |
2578 | ||
9fc30b6b DJ |
2579 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
2580 | ||
2581 | * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove. | |
2582 | (resume_callback): Remove dead code. | |
2583 | ||
8f871025 AC |
2584 | 2003-01-13 Andrew Cagney <ac131313@redhat.com> |
2585 | ||
2586 | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with | |
2587 | predicate. | |
2588 | * gdbarch.h, gdbarch.c: Regenerate. | |
2589 | * stack.c (frame_info): Only initialize the saved registers when | |
2590 | FRAME_INIT_SAVED_REGS_P. | |
2591 | * frame.c (frame_saved_regs_register_unwind): Assert | |
2592 | FRAME_INIT_SAVED_REGS_P. | |
2593 | (deprecated_generic_get_saved_register): Ditto. | |
2594 | ||
3f565f1e DJ |
2595 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
2596 | ||
2597 | * source.c (openp): Squelch warning about "filename". | |
2598 | ||
072b1022 DJ |
2599 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
2600 | ||
2601 | * source.c (openp): If the file does not exist don't necessarily | |
2602 | search the path. | |
2603 | ||
973ccf8b DJ |
2604 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
2605 | ||
2606 | Fix PR gdb/872. | |
2607 | * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
2608 | (integer_types_same_name_p): New function. | |
2609 | (rank_one_type): Use it. | |
2610 | * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
2611 | ||
030292b7 DJ |
2612 | 2003-01-13 Daniel Jacobowitz <drow@mvista.com> |
2613 | ||
2614 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New | |
2615 | variables. | |
2616 | (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). | |
2617 | * configure.in: Add --with-sysroot. | |
2618 | * configure: Regenerated. | |
2619 | * main.c (gdb_sysroot): New variable. | |
2620 | (captured_main): Initialize gdb_sysroot. | |
2621 | * defs.h (gdb_sysroot): New extern declaration. | |
2622 | * solib.c (_initialize_solib): Initialize solib_absolute_prefix. | |
2623 | ||
afb5d334 MC |
2624 | 2003-01-12 Michael Chastain <mec@shout.net> |
2625 | ||
2626 | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002. | |
2627 | ||
751ceeb4 MC |
2628 | 2003-01-12 Michael Chastain <mec@shout.net> |
2629 | ||
2630 | * top.c (print_gdb_version): Bump copyright year to 2003. | |
2631 | ||
94cd26f8 DC |
2632 | 2003-01-12 David Carlton <carlton@bactrian.org> |
2633 | ||
2634 | * linespec.c (symtab_from_filename): Rename variable 's' to | |
2635 | 'file_symtab'. | |
2636 | ||
1ce79225 AC |
2637 | 2003-01-12 Andrew Cagney <ac131313@redhat.com> |
2638 | ||
2639 | * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a | |
2640 | dummy frame. | |
2641 | (d10v_frame_saved_pc, d10v_frame_chain): Ditto. | |
2642 | ||
fa1fd571 AC |
2643 | 2003-01-12 Andrew Cagney <ac131313@redhat.com> |
2644 | ||
2645 | * d10v-tdep.c: Include "gdb_assert.h". | |
2646 | (d10v_store_return_value): Rewrite to match current interface. | |
2647 | (d10v_extract_struct_value_address): Ditto. | |
2648 | (d10v_extract_return_value): Ditto. | |
2649 | (d10v_gdbarch_init): Set store_restore_value, | |
2650 | extract_struct_value_address and extract_return_value. | |
2651 | ||
68b8d23e JB |
2652 | 2003-01-12 J. Brobecker <brobecker@gnat.com> |
2653 | ||
2654 | * hpread.c (set_namestring): New procedure replacing the | |
2655 | SET_NAMESTRING macro. | |
2656 | (hpread_build_psymtabs): Replace calls to SET_NAMESTRING | |
2657 | by calls to set_namestring. | |
2658 | ||
2659 | 2003-01-11 J. Brobecker <brobecker@gnat.com> | |
1fb309ea JB |
2660 | |
2661 | * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix | |
2662 | a compilation warning. | |
2663 | (hpread_process_one_debug_symbol): Likewise. | |
2664 | ||
88d262ca DC |
2665 | 2003-01-10 David Carlton <carlton@math.stanford.edu> |
2666 | ||
2667 | * linespec.c (decode_line_1): Rename variable 's' to | |
2668 | 'file_symtab'. | |
2669 | (decode_all_digits): Rename argument 's' to 'file_symtab'. | |
2670 | (decode_dollar): Ditto. | |
2671 | (decode_variable): Ditto. | |
2672 | (symbol_found): Ditto. | |
2673 | ||
86669319 MC |
2674 | 2003-01-09 Michael Chastain <mec@shout.net> |
2675 | ||
2676 | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++. | |
2677 | ||
616a9dc4 CV |
2678 | 2003-01-07 Corinna Vinschen <vinschen@redhat.com> |
2679 | ||
2680 | * win32-nat.c (set_process_privilege): New function. | |
2681 | (child_attach): Call set_process_privilege() to enable the | |
2682 | SE_DEBUG_NAME user privilege if available in process token. | |
2683 | ||
3269bcfa JB |
2684 | 2003-01-10 J. Brobecker <brobecker@gnat.com> |
2685 | ||
2686 | * hpread.c (hpread_process_one_debug_symbol): Fix a small | |
2687 | compilation error in the previous revision. | |
2688 | ||
2b0ee454 DC |
2689 | 2003-01-09 David Carlton <carlton@math.stanford.edu> |
2690 | ||
2691 | * linespec.c: Update copyright. | |
2692 | ||
b3ba1b44 DJ |
2693 | 2003-01-09 Daniel Jacobowitz <drow@mvista.com> |
2694 | ||
2695 | * lin-lwp.c (child_wait): Ignore exit statuses for processes other | |
2696 | than inferior_ptid. | |
2697 | (lin_lwp_wait): Ignore exit statuses for unknown LWPs. | |
2698 | ||
4ef3f3be AC |
2699 | 2003-01-09 Andrew Cagney <ac131313@redhat.com> |
2700 | ||
479ab5a0 AC |
2701 | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. |
2702 | Update comments. | |
2703 | * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. | |
2704 | (frame_saved_regs_zalloc): Update. | |
2705 | (frame_saved_regs_register_unwind): Update. | |
2706 | (create_new_frame): Update. | |
2707 | (get_prev_frame): Update. | |
2708 | (frame_extra_info_zalloc): Update. | |
2709 | (deprecated_get_frame_saved_regs): Update. | |
2710 | * dwarf2cfi.c (cfi_init_extra_frame_info): Update. | |
2711 | * cris-tdep.c: Update comment. | |
2712 | ||
bde58177 AC |
2713 | * somsolib.h: Fix function indentation. |
2714 | * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. | |
2715 | * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. | |
2716 | * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. | |
2717 | * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. | |
2718 | * somsolib.c, inftarg.c: Remove assignment in if conditional. | |
2719 | ||
4ef3f3be AC |
2720 | * infrun.c (follow_fork): Use ISO C definition. |
2721 | * expprint.c (print_subexp): Use xfree instead of free. | |
2722 | * charset.c: Include "gdb_string.h" instead of <string.h>. | |
2723 | (register_iconv_charsets): Use ISO C definition. | |
2724 | (host_charset, target_charset): Ditto. | |
2725 | * Makefile.in (charset.o): Update dependencies. | |
2726 | (mi-cmd-env.o): Update dependencies. | |
2727 | ||
1c615f7a AC |
2728 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
2729 | ||
2730 | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use | |
2731 | get_frame_base. | |
2732 | ||
c9a1dc08 AC |
2733 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
2734 | ||
2735 | * gdb_mbuild.sh: Add --keep option. When specified, keep the | |
2736 | build directories. Save edited gdb output in Mbuild.log. If a | |
2737 | build fails, remove any final GDB executable. | |
2738 | ||
dbad9d94 AC |
2739 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
2740 | ||
2741 | * gdb_mbuild.sh: Edit the output of `maint print architecture' | |
2742 | replacing hex constants with function names and stripping leading | |
2743 | file name directory prefixes. | |
2744 | ||
8d357cca AC |
2745 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
2746 | ||
2747 | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and | |
2748 | get_frame_base. | |
2749 | ||
bca02a8a DC |
2750 | 2003-01-08 David Carlton <carlton@math.stanford.edu> |
2751 | ||
2752 | * linespec.c (decode_line_1): Move code into decode_variable. | |
2753 | (decode_variable): New function. | |
2754 | ||
7f8ab3a0 AC |
2755 | 2003-01-08 Andrew Cagney <ac131313@redhat.com> |
2756 | ||
2757 | * mn10300-tdep.c (analyze_dummy_frame): Fix typo. | |
2758 | ||
7b5849cc AC |
2759 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
2760 | ||
2761 | * cris-tdep.c (cris_frame_init_saved_regs): Use | |
2762 | get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a | |
2763 | saved_regs buffer. | |
2764 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
2765 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
2766 | (sh_fp_frame_init_saved_regs): Ditto. | |
2767 | * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. | |
2768 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
2769 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
2770 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
2771 | ||
72a5efb3 DJ |
2772 | 2003-01-08 Daniel Jacobowitz <drow@mvista.com> |
2773 | ||
2774 | * minsyms.c (lookup_minimal_symbol): Update comment. | |
2775 | (lookup_minimal_symbol_text): Update comment. Use the hash table. | |
2776 | (lookup_minimal_symbol_solib_trampoline): Likewise. | |
2777 | ||
11c02a10 AC |
2778 | 2003-01-08 Andrew Cagney <cagney@redhat.com> |
2779 | ||
aab3ea25 AC |
2780 | * d10v-tdep.c (d10v_init_extra_frame_info): Use |
2781 | frame_relative_level. | |
2782 | ||
da50a4b7 AC |
2783 | * alpha-tdep.c: Use get_frame_extra_info. |
2784 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
2785 | * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. | |
2786 | * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
2787 | * sparc-tdep.c, xstormy16-tdep.c: Ditto. | |
2788 | ||
11c02a10 AC |
2789 | * alpha-tdep.c: Use get_next_frame. |
2790 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
2791 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
2792 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. | |
2793 | * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. | |
2794 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. | |
2795 | * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. | |
2796 | * xstormy16-tdep.c: Ditto. | |
2797 | ||
1e2330ba AC |
2798 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
2799 | ||
2800 | * alpha-tdep.c: Use get_frame_base. | |
2801 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
2802 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
2803 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
2804 | * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
2805 | * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. | |
2806 | * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
2807 | * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. | |
2808 | * config/sparc/tm-sparc.h: Ditto. | |
2809 | ||
2d75187b AC |
2810 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
2811 | ||
2812 | * frame.c (deprecated_get_frame_context): New function. | |
2813 | (deprecated_set_frame_context): New function. | |
2814 | * frame.h (deprecated_get_frame_context): Declare. | |
2815 | (deprecated_set_frame_context): Declare. | |
2816 | * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. | |
2817 | (cfi_init_extra_frame_info): Use deprecated_set_frame_context. | |
2818 | ||
483d36b2 AC |
2819 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
2820 | ||
2821 | * frame.c (deprecated_set_frame_next_hack): New function. | |
2822 | (deprecated_set_frame_prev_hack): New function. | |
2823 | * frame.h (deprecated_set_frame_next_hack): Declare. | |
2824 | (deprecated_set_frame_prev_hack): Declare. | |
2825 | * mcore-tdep.c (analyze_dummy_frame): Use | |
2826 | deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. | |
2827 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
2828 | ||
14e91ac5 DC |
2829 | 2003-01-07 David Carlton <carlton@math.stanford.edu> |
2830 | ||
2831 | * linespec.c (decode_line_1): Move code into decode_dollar. | |
2832 | (decode_dollar): New function. | |
2833 | ||
b0c6b05c AC |
2834 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
2835 | ||
2836 | * arm-tdep.c (arm_init_extra_frame_info): Use | |
2837 | deprecated_update_frame_base_hack. | |
2838 | * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. | |
2839 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
2840 | (fix_frame_pointer): Ditto. | |
2841 | (mn10300_analyze_prologue): Ditto. | |
2842 | ||
a00a19e9 AC |
2843 | 2003-01-07 Andrew Cagney <cagney@redhat.com> |
2844 | ||
2845 | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate | |
2846 | extra_info using frame_extra_info_zalloc. | |
2847 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
2848 | * sh-tdep.c (sh_init_extra_frame_info): Ditto. | |
2849 | (sh64_init_extra_frame_info): Ditto. | |
2850 | * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. | |
2851 | * s390-tdep.c (s390_init_extra_frame_info): Ditto. | |
2852 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
2853 | * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. | |
2854 | * frv-tdep.c (frv_init_extra_frame_info): Ditto. | |
2855 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. | |
2856 | * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. | |
2857 | * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. | |
2858 | * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. | |
2859 | * cris-tdep.c (cris_init_extra_frame_info): Ditto. | |
2860 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
2861 | * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. | |
2862 | ||
2863 | * mn10300-tdep.c (analyze_dummy_frame): Use | |
2864 | deprecated_set_frame_extra_info_hack. | |
2865 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
2866 | ||
1fb4c65b JB |
2867 | 2003-01-07 J. Brobecker <brobecker@gnat.com> |
2868 | ||
2869 | * mdebugread.c (parse_symbol): Skip stProc entries which storage | |
2870 | class is not scText. These do not define "real" procedures. | |
2871 | (parse_partial_symbols): Likewise. | |
2872 | ||
9fe7d6bf MS |
2873 | 2003-01-06 Michael Snyder <msnyder@redhat.com> |
2874 | ||
2875 | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. | |
2876 | ||
f6c609c4 AC |
2877 | 2003-01-06 Andrew Cagney <ac131313@redhat.com> |
2878 | ||
2879 | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. | |
2880 | * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. | |
2881 | * arm-tdep.c (arm_frame_chain): Allocate caller_fi using | |
2882 | deprecated_frame_xmalloc_with_cleanup. | |
2883 | * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using | |
2884 | deprecated_frame_xmalloc. | |
2885 | * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. | |
2886 | * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame. | |
2887 | ||
d995ff4b AC |
2888 | 2003-01-06 Andrew Cagney <cagney@redhat.com> |
2889 | ||
84dc46cb AC |
2890 | * x86-64-linux-tdep.c: Include "osabi.h". |
2891 | * Makefile.in (x86-64-linux-tdep.o): Update dependencies. | |
2892 | ||
d995ff4b AC |
2893 | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach. |
2894 | ||
66140c26 AC |
2895 | 2003-01-06 Andrew Cagney <cagney@redhat.com> |
2896 | ||
2897 | * MAINTAINERS (Target Instruction Set Architectures): Update | |
2898 | arm-elf. Can be built with -Werror, has been multiarched. | |
2899 | ||
2900 | * value.h (unpack_long): Make buffer parameter constant. | |
2901 | (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. | |
2902 | * scm-lang.h (scm_parse): Ditto. | |
2903 | * defs.h (extract_typed_address, extract_address): Ditto. | |
2904 | (extract_long_unsigned_integer): Ditto. | |
2905 | * inferior.h (unsigned_pointer_to_address): Ditto. | |
2906 | (signed_pointer_to_address): Ditto. | |
2907 | * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. | |
2908 | * gdbarch.h, gdbarch.c: Regenerate. | |
2909 | * findvar.c (extract_long_unsigned_integer): Update. | |
2910 | (extract_address): Update. | |
2911 | (extract_typed_address): Update. | |
2912 | (unsigned_pointer_to_address): Update. | |
2913 | * values.c (unpack_long): Update. | |
2914 | (unpack_double): Update. | |
2915 | (unpack_pointer): Update. | |
2916 | (unpack_field_as_long): Update. | |
2917 | * d10v-tdep.c (d10v_pointer_to_address): Update. | |
2918 | * avr-tdep.c (avr_pointer_to_address): Update. | |
2919 | * scm-lang.c (scm_unpack): Update. | |
2920 | * findvar.c (signed_pointer_to_address): Update. | |
2921 | ||
b089b3da ML |
2922 | 2003-01-06 Michal Ludvig <mludvig@suse.cz> |
2923 | ||
2924 | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore | |
2925 | since it is in i386-tdep.c. | |
2926 | ||
aff87235 JB |
2927 | 2003-01-06 J. Brobecker <brobecker@gnat.com> |
2928 | ||
2929 | * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation | |
2930 | failure introduced in the previous change. | |
2931 | ||
34f5e845 MC |
2932 | 2003-01-05 Michael Chastain <mec@shout.net> |
2933 | ||
2934 | * README: Remove references to deleted remote-*.c files: | |
2935 | remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, | |
2936 | remote-nrom.c, remote-os9k.c, remote-udi.c. | |
2937 | ||
28bcfd30 MK |
2938 | 2003-01-05 Mark Kettenis <kettenis@gnu.org> |
2939 | ||
2940 | * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64. | |
2941 | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about | |
2942 | i386_get_longjmp_target. | |
2943 | ||
15a5b3ee AC |
2944 | 2003-01-05 Andrew Cagney <ac131313@redhat.com> |
2945 | ||
2946 | * arm-tdep.c (prologue_cache): Change to a pointer. | |
2947 | (_initialize_arm_tdep): Allocate prologue_cache. | |
2948 | (check_prologue_cache): Update. | |
2949 | (save_prologue_cache): Update. | |
2950 | (arm_gdbarch_init): Update. | |
2951 | ||
c263362b DJ |
2952 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
2953 | ||
2954 | * stabsread.c (update_method_name_from_physname): Call complaint() | |
2955 | instead of error. | |
2956 | ||
51603483 DJ |
2957 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
2958 | ||
2959 | * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. | |
2960 | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. | |
2961 | * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. | |
2962 | ||
2963 | * blockframe.c: Include "gdbcmd.h" and "command.h". | |
2964 | (backtrace_below_main): New variable. | |
2965 | (file_frame_chain_valid, func_frame_chain_valid) | |
2966 | (nonnull_frame_chain_valid, generic_file_frame_chain_valid) | |
2967 | (generic_func_frame_chain_valid): Remove functions. | |
2968 | (frame_chain_valid, do_flush_frames_sfunc): New functions. | |
2969 | (_initialize_blockframe): New function. | |
2970 | * Makefile.in (blockframe.o): Update dependencies. | |
2971 | * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME | |
2972 | comment. Call frame_chain_valid (). | |
2973 | * frame.h: Remove old prototypes. Add prototype for | |
2974 | frame_chain_valid and update comments to match. | |
2975 | * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. | |
2976 | Remove old comment. | |
2977 | * gdbarch.h: Regenerated. | |
2978 | * gdbarch.c: Regenerated. | |
2979 | ||
2980 | * alpha-tdep.c (alpha_gdbarch_init): Don't call | |
2981 | set_gdbarch_frame_chain_valid. | |
2982 | * avr-tdep.c (avr_gdbarch_init): Likewise. | |
2983 | * cris-tdep.c (cris_gdbarch_init): Likewise. | |
2984 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
2985 | * h8300-tdep.c (h8300_gdbarch_init): Likewise. | |
2986 | * i386-tdep.c (i386_svr4_init_abi): Likewise. | |
2987 | (i386_nw_init_abi): Likewise. | |
2988 | (i386_gdbarch_init): Likewise. | |
2989 | * ia64-tdep.c (ia64_gdbarch_init): Likewise. | |
2990 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
2991 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
2992 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
2993 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
2994 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
2995 | * ns32k-tdep.c (ns32k_gdbarch_init): Likewise. | |
2996 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise. | |
2997 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
2998 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
2999 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
3000 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
3001 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
3002 | * vax-tdep.c (vax_gdbarch_init): Likewise. | |
3003 | * x86-64-tdep.c (x86_64_init_abi): Likewise. | |
3004 | ||
3005 | * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define. | |
3006 | * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise. | |
3007 | * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise. | |
3008 | * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise. | |
3009 | * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise. | |
3010 | * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise. | |
3011 | * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise. | |
3012 | * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise. | |
3013 | ||
b00a8037 DJ |
3014 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
3015 | ||
3016 | * Makefile.in (acconfig_h): Remove incorrect macro. | |
3017 | (config_h): Define. | |
3018 | (osabi.o): Update dependencies. | |
3019 | * configure.tgt: Set gdb_osabi based on target triplet. | |
3020 | * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. | |
3021 | * configure: Regenerated. | |
3022 | * config.in: Regenerated. | |
3023 | * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". | |
3024 | (GDB_OSABI_DEFAULT): Define if not already defined. | |
3025 | (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) | |
3026 | (set_osabi_string): New variables. | |
3027 | (gdbarch_register_osabi): Add new OS ABI to | |
3028 | gdb_osabi_available_names. | |
3029 | (gdbarch_lookup_osabi): Honor specified and default OS ABIs. | |
3030 | (set_osabi, show_osabi): New functions. | |
3031 | (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands. | |
3032 | ||
4be87837 DJ |
3033 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
3034 | ||
3035 | * arch-utils.c (gdbarch_info_init): Set osabi to | |
3036 | GDB_OSABI_UNINITIALIZED. | |
3037 | * gdbarch.sh: Add osabi to struct gdbarch and to struct | |
3038 | gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi | |
3039 | in gdbarch_list_lookup_by_info and in gdbarch_update_p. | |
3040 | * gdbarch.c: Regenerated. | |
3041 | * gdbarch.h: Regenerated. | |
3042 | * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if | |
3043 | there's no BFD. | |
3044 | (gdbarch_init_osabi): Remove osabi argument; use info.osabi. | |
3045 | * osabi.h (enum gdb_osabi): Move to defs.h. | |
3046 | (gdbarch_init_osabi): Update prototype. | |
3047 | * defs.h (enum gdb_osabi): Moved here. | |
3048 | * Makefile.in: Update dependencies. | |
3049 | ||
3050 | * alpha-tdep.h: Don't include "osabi.h". | |
3051 | (struct gdbarch_tdep): Remove osabi member. | |
3052 | * alpha-tdep.c: Include "osabi.h". | |
3053 | (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
3054 | iterate over arches. Update call to gdbarch_init_osabi. | |
3055 | (alpha_dump_tdep): Don't dump osabi. | |
3056 | * alpha-linux-tdep.c: Include "osabi.h". | |
3057 | * alpha-osf1-tdep.c: Include "osabi.h". | |
3058 | * alphafbsd-tdep.c: Include "osabi.h". | |
3059 | * alphanbsd-tdep.c: Include "osabi.h". | |
3060 | ||
3061 | * arm-tdep.h: Don't include "osabi.h". | |
3062 | (struct gdbarch_tdep): Remove osabi member. | |
3063 | * arm-tdep.c: Include "osabi.h". | |
3064 | (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
3065 | iterate over arches. Update call to gdbarch_init_osabi. | |
3066 | (arm_dump_tdep): Don't dump osabi. | |
3067 | * arm-linux-tdep.c: Include "osabi.h". | |
3068 | * armnbsd-tdep.c: Include "osabi.h". | |
3069 | ||
3070 | * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi. | |
3071 | Update call to gdbarch_init_osabi. | |
3072 | ||
3073 | * i386-tdep.h: Don't include "osabi.h". | |
3074 | (struct gdbarch_tdep): Remove osabi member. | |
3075 | * i386-tdep.c: Include "osabi.h". | |
3076 | (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
3077 | iterate over arches. Update call to gdbarch_init_osabi. | |
3078 | (i386_dump_tdep): Don't dump osabi. | |
3079 | * i386-linux-tdep.c: Include "osabi.h". | |
3080 | * i386-sol2-tdep.c: Include "osabi.h". | |
3081 | * i386bsd-tdep.c: Include "osabi.h". | |
3082 | * i386gnu-tdep.c: Include "osabi.h". | |
3083 | * i386ly-tdep.c: Include "osabi.h". | |
3084 | * i386nbsd-tdep.c: Include "osabi.h". | |
3085 | * i386obsd-tdep.c: Include "osabi.h". | |
3086 | ||
3087 | * mips-tdep.c (struct gdbarch_tdep): Remove osabi member. | |
3088 | (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
3089 | check osabi when iterating over arches. Update call to | |
3090 | gdbarch_init_osabi. | |
3091 | (mips_dump_tdep): Don't dump osabi. | |
3092 | ||
3093 | * ns32k-tdep.h: Don't include "osabi.h". | |
3094 | (struct gdbarch_tdep): Remove. | |
3095 | * ns32k-tdep.c (ns32k_gdbarch_init): Don't call | |
3096 | gdbarch_lookup_osabi. Don't iterate over arches. Don't | |
3097 | allocate tdep. Update call to gdbarch_init_osabi. | |
3098 | (ns32k_dump_tdep): Remove. | |
3099 | (_initialize_ns32k_tdep): Update call to gdbarch_register. | |
3100 | * ns32knbsd-tdep.c: Include "osabi.h". | |
3101 | ||
3102 | * ppc-tdep.h: Don't include "osabi.h". | |
3103 | (struct gdbarch_tdep): Remove osabi member. | |
3104 | * rs6000-tdep.c: Include "osabi.h". | |
3105 | (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check | |
3106 | osabi when iterating over arches. Update call to | |
3107 | gdbarch_init_osabi. | |
3108 | (rs6000_dump_tdep): Don't dump osabi. | |
3109 | * ppc-linux-tdep.c: Include "osabi.h". | |
3110 | * ppcnbsd-tdep.c: Include "osabi.h". | |
3111 | ||
3112 | * sh-tdep.h: Don't include "osabi.h". | |
3113 | (struct gdbarch_tdep): Remove osabi member. | |
3114 | * sh-tdep.c: Include "osabi.h". | |
3115 | (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
3116 | iterate over arches. Update call to gdbarch_init_osabi. | |
3117 | (sh_dump_tdep): Don't dump osabi. | |
3118 | * shnbsd-tdep.c: Include "osabi.h". | |
3119 | ||
3120 | * sparc-tdep.c: Include "osabi.h". | |
3121 | (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
3122 | iterate over arches. Update call to gdbarch_init_osabi. | |
3123 | (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the | |
3124 | tdep structure. | |
3125 | ||
3126 | * vax-tdep.h: Don't include "osabi.h". | |
3127 | (struct gdbarch_tdep): Remove. | |
3128 | * vax-tdep.c: Include "osabi.h". | |
3129 | (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
3130 | iterate over arches. Don't allocate tdep. Update call | |
3131 | to gdbarch_init_osabi. | |
3132 | (vax_dump_tdep): Remove. | |
3133 | (_initialize_vax_tdep): Update call to gdbarch_register. | |
3134 | ||
a881cf8e DJ |
3135 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
3136 | ||
3137 | * breakpoint.c (insert_breakpoints): Skip disabled breakpoints | |
3138 | entirely. | |
3139 | (breakpoint_re_set_one): Don't fetch the value for a disabled | |
3140 | watchpoint. | |
3141 | ||
1e698235 DJ |
3142 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
3143 | ||
3144 | * buildsym.h (processing_hp_compilation): Remove obsolete variable. | |
3145 | * gdbarch.sh Remove include of "value.h" in gdbarch.h. | |
3146 | (COERCE_FLOAT_TO_DOUBLE): Remove. | |
3147 | * gdbarch.c: Regenerate. | |
3148 | * gdbarch.h: Regenerate. | |
3149 | * Makefile.in: Remove value_h from gdbarch_h. | |
3150 | * valops.c (coerce_float_to_double): New variable. | |
3151 | (default_coerce_float_to_double): Remove. | |
3152 | (standard_coerce_float_to_double): Remove. | |
3153 | (value_arg_coerce): Use coerce_float_to_double. | |
3154 | (_initialize_valops): Add "set coerce-float-to-double". | |
3155 | * value.h (default_coerce_float_to_double): Remove prototype. | |
3156 | (standard_coerce_float_to_double): Remove prototype. | |
3157 | ||
3158 | * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as | |
3159 | prototyped. | |
3160 | * mdebugread.c (parse_symbol): Likewise. | |
3161 | * stabsread.c (define_symbol): Mark all functions as prototyped. | |
3162 | ||
3163 | * hppa-tdep.c (hppa_coerce_float_to_double): Remove. | |
3164 | * alpha-tdep.c (alpha_gdbarch_init): Remove call to | |
3165 | set_gdbarch_coerce_float_to_double. | |
3166 | * arm-tdep.c (arm_gdbarch_init): Likewise. | |
3167 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
3168 | * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). | |
3169 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
3170 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
3171 | (mips_coerce_float_to_double): Remove. | |
3172 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
3173 | (rs6000_coerce_float_to_double): Remove. | |
3174 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
3175 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
3176 | (sh_coerce_float_to_double): Remove. | |
3177 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
3178 | (sparc_coerce_float_to_double): Remove. | |
3179 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
3180 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
3181 | * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
3182 | * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. | |
3183 | (hppa_coerce_float_to_double): Remove prototype. | |
3184 | * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
3185 | ||
f436a26a DJ |
3186 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
3187 | ||
3188 | * regformats/reg-m68k.dat: Remove fpcode and fpflags. | |
3189 | ||
248f8055 DJ |
3190 | 2003-01-04 Daniel Jacobowitz <drow@mvista.com> |
3191 | ||
3192 | Suggested by Stewart Brown <sb24@avaya.com>: | |
3193 | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show | |
3194 | in recursive calls. Handle TYPE_CODE_TYPEDEF. | |
3195 | (c_type_print_varspec_suffix): Likewise. | |
3196 | ||
72cfdc76 MK |
3197 | 2003-01-04 Mark Kettenis <kettenis@gnu.org> |
3198 | ||
bfd260bb MK |
3199 | * configure.in: Don't set and AC_SUBST SUBDIRS. |
3200 | * configure: Regenerated. | |
3201 | ||
72cfdc76 MK |
3202 | * configure.in: Remove code dealing with shared libraries. |
3203 | * Makefile.in: Remove HLDFLAGS and HLDENV. | |
3204 | * configure: Regenerated. | |
3205 | ||
c8b8a898 AC |
3206 | 2003-01-04 Andrew Cagney <ac131313@redhat.com> |
3207 | ||
3208 | * frame.c (deprecated_frame_xmalloc): New function. | |
3209 | (deprecated_set_frame_saved_regs_hack): New function. | |
3210 | (deprecated_set_frame_extra_info_hack): New function. | |
3211 | * frame.h (deprecated_frame_xmalloc): Declare. | |
3212 | (deprecated_set_frame_saved_regs_hack): Declare. | |
3213 | (deprecated_set_frame_extra_info_hack): Declare. | |
3214 | ||
14abd0fb MK |
3215 | 2003-01-04 Mark Kettenis <kettenis@gnu.org> |
3216 | ||
8ee53726 MK |
3217 | * configure.in: Move code that provides the --enable-gdbtk option |
3218 | right after the code that handles the --enable-tui option, and | |
3219 | polish it somewhat. | |
3220 | * configure: Regenerated. | |
3221 | ||
14abd0fb MK |
3222 | * configure.in: Call AC_GNU_SOURCE. Check for pread64 using |
3223 | AC_CHECK_FUNCS and remove the old check for pread64. | |
3224 | * acinclude.m4 (AC_GNU_SOURCE): New macro. | |
3225 | * acconfig.h (_GNU_SOURCE): Add. | |
3226 | (HAVE_PREAD64): Remove. | |
3227 | * configure, aclocal.m4, config.in: Regenerated. | |
3228 | ||
b2fb4676 AC |
3229 | 2003-01-03 Andrew Cagney <ac131313@redhat.com> |
3230 | ||
3231 | * alpha-tdep.c: Use get_frame_saved_regs. | |
3232 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
3233 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
3234 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto. | |
3235 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto. | |
3236 | * vax-tdep.c, xstormy16-tdep.c: Ditto. | |
3237 | ||
8dcde887 MK |
3238 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
3239 | ||
3240 | * configure.in: Remove all use of the SUBDIRS variable; add | |
3241 | directories using the AC_CONFIG_SUBDIRS macro instead. Polish | |
3242 | code providing the --enable-multi-ice option, and move it right in | |
3243 | front of the code that checks whether gdbserver is supported. | |
3244 | Polish that too. | |
3245 | * configure: Regenerated. | |
3246 | * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of | |
3247 | @SUBDIRS@. | |
3248 | ||
8ccd593b AC |
3249 | 2003-01-03 Andrew Cagney <cagney@redhat.com> |
3250 | ||
3251 | * alpha-tdep.c: Use deprecated_update_frame_base_hack. | |
3252 | * avr-tdep.c, cris-tdep.c: Ditto. | |
3253 | * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
3254 | * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
3255 | ||
91151a06 MK |
3256 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
3257 | ||
3258 | * configure.in: Remove --enable-netrom option. | |
3259 | * configure: Regenerated. | |
3260 | ||
8fe84d01 MK |
3261 | 2003-01-03 Mark Kettenis <kettenis@gnu.org> |
3262 | ||
3263 | * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward | |
3264 | declaration for `struct re_pattern_buffer' instead. | |
3265 | * Makefile.in (cli_decode_h): Remove $(gdb_regex_h). | |
3266 | ||
f0394be6 JB |
3267 | 2003-01-03 J. Brobecker <brobecker@gnat.com> |
3268 | ||
3269 | * mdebugread.c (parse_symbol): Count until the stEnd matching | |
3270 | the structure name. | |
3271 | ||
27e9bf90 MK |
3272 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
3273 | ||
93d331ba MK |
3274 | * configure.in: Remove --with-cpu option. |
3275 | subscripts. Remove evil changequotes here. | |
3276 | * acconfig.h (TARGET_CPU_DEFAULT): Remove. | |
3277 | * config.in, configure: Regenerated. | |
3278 | ||
27e9bf90 MK |
3279 | * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. |
3280 | * configure.in: Cleanup section that sources GDB and BFD configure | |
3281 | subscripts. Remove evil changequotes here. | |
3282 | * config.in, configure: Regenerated. | |
3283 | ||
50abf9e5 AC |
3284 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
3285 | ||
3286 | * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack | |
3287 | frame accessor methods. | |
3288 | * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
3289 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
3290 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. | |
3291 | * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. | |
3292 | * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
3293 | * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
3294 | * z8k-tdep.c: Ditto. | |
3295 | ||
287c1a40 MK |
3296 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
3297 | ||
f5dbc56d MK |
3298 | * configure.in: Remove UI_OUT configuration code. |
3299 | * ada-lang.c: Update assuming UI_OUT is always true. | |
3300 | * Makefile.in (UIOUT_CFLAGS): Remove. | |
3301 | * configure: Regenerated. | |
3302 | * TODO: Remove blurb about elimination of -DUI_OUT. | |
3303 | ||
627af7ea MK |
3304 | * configure.in: Move code that provides the --enable-gdbcli, |
3305 | --enable-gdbmi options right before the code that handles the | |
3306 | --enable-tui option. Polish a bit. | |
3307 | * configure: Regenerated. | |
3308 | ||
06825bd1 MK |
3309 | * configure.in: Rewrite check for GNU regex and the |
3310 | --without-included regex option, and move it into the "Checks for | |
3311 | library functions" section. This makes us use the system regex | |
3312 | again by default on systems with version 2 of the GNU C library. | |
3313 | This was apparently broken. | |
3314 | * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. | |
3315 | * acconfig.h (USE_INCLUDED_REGEX): Remove. | |
3316 | * config.in, configure: Regenerated. | |
3317 | ||
287c1a40 MK |
3318 | * configure.in: Move code that provides the --enable-tui option |
3319 | before the "Checks for libraries" section. Polish the code | |
3320 | somewhat and set need_curses to yes if we build the TUI. Rewrite | |
3321 | code that looks for a library providing termcap functionality to | |
3322 | match more closely what's done in the Readline library, and move | |
3323 | it into to the "Checks for libraries" section. | |
3324 | * configure: Regenerated. | |
3325 | * Makefile.in (TERMCAP): Remove variable. | |
3326 | * config/i386/go32.mh (TERMCAP): Remove variable. | |
3327 | ||
684e56bf AC |
3328 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
3329 | ||
3330 | * MAINTAINERS: Mention gdb_mbuild.sh. | |
3331 | * gdb_mbuild.sh: Rewrite. | |
3332 | ||
e1ea1d75 MK |
3333 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
3334 | ||
3335 | * configure.in: Fix typo in last change. | |
3336 | * config.in, configure: Regenerated. | |
3337 | ||
1b831c93 AC |
3338 | 2003-01-02 Andrew Cagney <ac131313@redhat.com> |
3339 | ||
3340 | * valarith.c (value_binop): Delete obsolete code and comments. | |
3341 | * configure.host: Ditto. | |
3342 | * buildsym.h (make_blockvector): Ditto. | |
3343 | * buildsym.c (make_blockvector): Ditto. | |
3344 | * defs.h (enum language): Ditto. | |
3345 | (chill_demangle): Ditto. | |
3346 | * elfread.c (elf_symtab_read): Ditto. | |
3347 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
3348 | (set_cu_language): Ditto. | |
3349 | (handle_producer): Ditto. | |
3350 | * expprint.c (print_subexp): Ditto. | |
3351 | * gdbtypes.c (chill_varying_type): Ditto. | |
3352 | * gdbtypes.h (builtin_type_chill_bool): Ditto. | |
3353 | (builtin_type_chill_char, builtin_type_chill_long): Ditto. | |
3354 | (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. | |
3355 | (chill_varying_type): Ditto. | |
3356 | * language.h (_LANG_chill): Ditto. | |
3357 | * language.c (binop_result_type, integral_type): Ditto. | |
3358 | (character_type, string_type, structured_type): Ditto. | |
3359 | (lang_bool_type, binop_type_check): Ditto. | |
3360 | * stabsread.h (os9k_stabs): Ditto. | |
3361 | * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. | |
3362 | (define_symbol, read_type, read_struct_fields): Ditto. | |
3363 | (read_array_type, read_enum_type, read_huge_number): Ditto. | |
3364 | (read_range_type, start_stabs): Ditto. | |
3365 | * symfile.c (init_filename_language_table): Ditto. | |
3366 | (add_psymbol_with_dem_name_to_list): Ditto. | |
3367 | * symtab.c (symbol_init_language_specific): Ditto. | |
3368 | (symbol_init_demangled_name, symbol_demangled_name): Ditto. | |
3369 | * symtab.h (struct general_symbol_info): Ditto. | |
3370 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
3371 | * typeprint.c (typedef_print): Ditto. | |
3372 | * utils.c (fprintf_symbol_filtered): Ditto. | |
3373 | * valops.c (value_cast, search_struct_field, value_slice): Delete | |
3374 | obsolete code. | |
3375 | (varying_to_slice): Delete function. | |
3376 | * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. | |
3377 | (varying_to_slice): Delete declaration. | |
3378 | * MAINTAINERS: Update. | |
3379 | ||
8bb2c122 MK |
3380 | 2003-01-02 Mark Kettenis <kettenis@gnu.org> |
3381 | ||
97bf5e38 MK |
3382 | * configure.in: Reorganize "Checks for library functions section" |
3383 | a bit. Remove check for `btowc' and `isascii' functions. | |
3384 | * configure: Regenerated. | |
3385 | ||
5ee754fc MK |
3386 | * acconfig.h (_MSE_INT_H): Remove. |
3387 | * configure.in: Create "Checks for header files" section, and move | |
3388 | appropriate tests there. Don't check for objlist.h, wchar.h, | |
3389 | wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> | |
3390 | misdetection fix. Also add "Checks for types", "Checks for | |
3391 | compiler characteristics" and "Checks for library functions" | |
3392 | sections. | |
3393 | * config.in, configure: Regenerated. | |
3394 | ||
8bb2c122 MK |
3395 | * configure.in: Create "Checks for programs" section, and move |
3396 | appropriate tests there. | |
3397 | ||
9a156167 MK |
3398 | 2003-01-01 Mark Kettenis <kettenis@gnu.org> |
3399 | ||
3400 | * configure.in: Create "Checks for libraries" section, and move | |
3401 | appropriate tests there. Cleanup check for wctype in libw. Use | |
3402 | AC_SEARCH_LIBS to see whether we need libsocket. | |
3403 | * configure: Regenerated. | |
3404 | ||
a80e2bcb | 3405 | For older changes see ChangeLog-2002 |
c906108c SS |
3406 | \f |
3407 | Local Variables: | |
3408 | mode: change-log | |
3409 | left-margin: 8 | |
3410 | fill-column: 74 | |
3411 | version-control: never | |
3412 | End: |