]>
Commit | Line | Data |
---|---|---|
2e092625 AC |
1 | 2003-09-29 Andrew Cagney <[email protected]> |
2 | ||
3 | * gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_TYPE): Rename | |
4 | DEPRECATED_REGISTER_VIRTUAL_TYPE. | |
5 | * gdbarch.h, gdbarch.c: Regenerate. | |
6 | * arch-utils.c, hppa-tdep.c, regcache.c, regcache.h: Update. | |
7 | * sh64-tdep.c, sparc-tdep.c: Update. | |
4deab737 AC |
8 | |
9 | * remote-vxsparc.c (vx_read_register): Replace bzero with memset. | |
10 | * remote-vxmips.c (vx_read_register): Ditto. | |
11 | * remote-vx68.c (vx_read_register): Ditto. | |
12 | * gnu-nat.c (inf_validate_procs): Ditto. | |
13 | ||
7a5dd6ee JB |
14 | 2003-09-29 J. Brobecker <[email protected]> |
15 | ||
16 | * infcall.c (call_function_by_hand): Fix build failure | |
17 | introduced in the previous change to this file. | |
18 | ||
1fe43d45 AC |
19 | 2003-09-29 Andrew Cagney <[email protected]> |
20 | ||
21 | * NEWS: Mention Objective-C. | |
22 | ||
e28a332c JG |
23 | 2003-09-29 Jerome Guitton <[email protected]> |
24 | ||
25 | * arm-tdep.c (arm_make_prologue_cache): Use trad_frame_addr_p to | |
26 | test if the register has been saved on the stack. | |
27 | (arm_scan_prologue_cache): When analysing the instruction | |
28 | "str lr, [sp, #-4]", save the address where lr has been stored. | |
29 | ||
9ff63c35 AC |
30 | 2003-09-28 Andrew Cagney <[email protected]> |
31 | ||
7f5f525d AC |
32 | * frame.c (frame_read_unsigned_register): Delete function. |
33 | * frame.h (frame_read_unsigned_register): Delete declaration. | |
34 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
35 | get_frame_register_unsigned. | |
36 | (sparc_frame_saved_pc, sparc_pop_frame): Ditto. | |
37 | * m68hc11-tdep.c (m68hc11_print_register): Ditto. | |
38 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
39 | ||
40 | * frame.h (frame_read_register): Delete declaration. | |
41 | * frame.c (frame_read_register): Delete function. | |
42 | * arch-utils.c (legacy_register_to_value): Use get_frame_register. | |
43 | * sparc-tdep.c (sparc_fetch_pointer_argument): Ditto. | |
44 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Ditto. | |
45 | * mips-tdep.c (mips_register_to_value): Ditto. | |
46 | * hppa-tdep.c (hppa_fetch_pointer_argument): Ditto. | |
47 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
48 | ||
49 | * frame.c (frame_read_signed_register): Delete function. | |
50 | (frame_read_unsigned_register): Update comments. | |
51 | * frame.h (frame_read_signed_register): Delete declaration. | |
52 | * h8300-tdep.c (h8300_print_register): Use | |
53 | get_frame_register_signed. | |
54 | * m68hc11-tdep.c (m68hc11_print_register): Ditto. | |
55 | ||
9ff63c35 AC |
56 | * config/pa/tm-hppa.h (DEPRECATED_VALUE_RETURNED_FROM_STACK): |
57 | Rename VALUE_RETURNED_FROM_STACK. | |
58 | * infcmd.c (print_return_value): Update. | |
59 | * infcall.c (call_function_by_hand): Update. | |
60 | ||
41d041d6 MK |
61 | 2003-09-28 Mark Kettenis <[email protected]> |
62 | ||
63 | * i387-tdep.c (i387_supply_fsave, i387_supply_fxsave): Add | |
64 | regcache argument and reverse the order of the other two | |
65 | arguments. Remove local regcache variable. Determine | |
66 | architecture from REGCACHE. Update comments. | |
67 | * x86-64-tdep.c (x86_64_supply_fxsave): Add regcache argument and | |
68 | reverse the order of the other two arguments. Remove local | |
69 | regcache variable. Determine architecture from REGCACHE. Update | |
70 | comments. | |
71 | * i387-tdep.h (i387_supply_fsave, i387_supply_fxsave): Adjust | |
72 | prototypes. Update comments. | |
73 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust prototype. Adjust | |
74 | comment. | |
75 | * amd64fbsd-nat.c (supply_fpregset, fetch_inferior_registers): | |
76 | Update. | |
77 | * go32-nat.c (fetch_register, go32_fetch_registers): Update. | |
78 | * i386-interix-nat.c (supply_fpregset): Update. | |
79 | * i386-linux-nat.c (supply_fpregset, supply_fpxregset): Update. | |
80 | * i386-nto-tdep.c (i386nto_supply_fpregset): Update. | |
81 | * i386gnu-nat.c (fetch_fpregs, supply_fpregset): Update. | |
82 | * i386bsd-nat.c (supply_fpregset, fetch_inferior_registers): Update. | |
83 | * i386nbsd-tdep.c (fetch_core_registers, fetch_elfcore_registers): | |
84 | Update. | |
85 | * i386obsd-tdep.c (fetch_core_registers): Update. | |
86 | * i386v4-nat.c (supply_fpregset): Update. | |
87 | * x86-64-linux-nat.c (supply_fpregset): Update. | |
88 | * x86-64-linux-tdep.c (fetch_core_registers): Update. | |
89 | ||
1cb97e17 MK |
90 | 2003-09-27 Mark Kettenis <[email protected]> |
91 | ||
5716833c MK |
92 | * i386-tdep.h: Put opaque declarations in alphabetical |
93 | order. Remove spurious whitespace. | |
94 | (struct gdbarch_tdep): add st0_regnum and mm0_regnum members. | |
95 | (i386_sse_regnum_p, i386_mxcsr_regnum_p): Remove prototypes. | |
96 | * i386-tdep.c (MM0_REGNUM): Remove define. | |
97 | (i386_mmx_regnum_p): Add gdbarch argument. | |
98 | (i386_sse_regnum_p, i386_mxcsr_regnum_p): Add gdbarch argument. | |
99 | Rewrite using new macro definitions for FPU/SSE registers. | |
100 | (i386_fp_regnum_p, i386_fpc_regnum_p): Rewrite using new macro | |
101 | definitions from i387-tdep.h. | |
102 | (i386_register_name): Update. | |
103 | (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): Update to use | |
104 | new macro definitions for FPU/SSE registers. | |
105 | (i386_extract_return_value): Determine whether floating-point | |
106 | registers are present by examining REGCACHE's architecture. | |
107 | (i386_store_return_value): Likewise. Use I386_MAX_REGISTER_SIZE | |
108 | instead of FPU_REG_RAW_SIZE. Use new macro definitions for | |
109 | FPU/SSE registers. | |
110 | (i386_register_type): Update. | |
111 | (i386_mmx_regnum_to_fp_regnum): Rewrite using new macro | |
112 | definitions for FPU registers. Use REGCACHE's architecture to | |
113 | determine the appropriate register numbers. | |
114 | (i386_pseudo_register_read, i386_pseudo_register_write, | |
115 | i386_register_reggroup_p): Update. | |
116 | (i386_gdbarch_init): Initialize TDEP->st0_regnum and | |
117 | TDEP->mm0_regnum. | |
118 | * i387-tdep.h (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, | |
119 | I387_FTAG_REGNUM, I387_FISEG_REGNUM, I387_FIOFF_REGNUM, | |
120 | I387_FOSEG_REGNUM, I387_FOOFF_REGNUM, I387_FOP_REGNUM, | |
121 | I387_XMM0_REGNUM, I387_MXCSR_REGNUM): New defines. | |
122 | (i387_supply_fsave, i387_fill_fsave, i387_supply_fxsave, | |
123 | i387_fill_fxsave): Change type of fsave/fxsave argument from `char | |
124 | *' to `void *'. | |
125 | * i387-tdep.c (i387_print_float_info, fsave_offset, FSAVE_ADDR, | |
126 | i387_supply_fsave, i387_fill_fsave, fxsave_offset, FXSAVE_ADDR, | |
127 | i387_supply_fxsave, i387_fill_fxsave): Update to use new macro | |
128 | definitions for FPU/SSE registers. | |
129 | (FXSAVE_MXCSR_ADDR): New define. | |
130 | * x86-64-tdep.c (x86_64_init_abi): Override TDEP->st0_regnum and | |
131 | TDEP->mm0_regnum. | |
132 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Remove defines. | |
133 | (I387_ST0_REGNUM): Define. | |
134 | ||
41d35cb0 MK |
135 | * regcache.h (get_regcache_arch): New prototype. |
136 | * regcache.c (get_regcache_arch): New function. | |
137 | ||
54e74f72 MK |
138 | * x86-64-tdep.c (x86_64_store_return_value): Remove spurious |
139 | whitespace. | |
140 | ||
1cb97e17 MK |
141 | * i386-tdep.c (i386_num_register_names, i386_num_mmx_regs): |
142 | Initialize using ARRAY_SIZE. | |
143 | ||
0968aa8c AC |
144 | 2003-09-27 Andrew Cagney <[email protected]> |
145 | ||
146 | * arch-utils.c (deprecated_init_frame_pc_default): Rename | |
147 | "init_frame_pc_default". | |
148 | * arch-utils.h (deprecated_init_frame_pc_default): Update. | |
149 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
150 | * vax-tdep.c (vax_gdbarch_init): Update. | |
151 | * v850-tdep.c (v850_gdbarch_init): Update. | |
152 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
153 | * s390-tdep.c (s390_gdbarch_init): Update. | |
154 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
155 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
156 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
157 | * cris-tdep.c (cris_gdbarch_init): Update. | |
158 | * config/pa/tm-hppa.h (DEPRECATED_INIT_FRAME_PC): Update. | |
159 | ||
54c84734 MK |
160 | 2003-09-26 Mark Kettenis <[email protected]> |
161 | ||
162 | * regset.h: New file. | |
163 | * Makefile.in (regset_h): Add. | |
164 | ||
1b1d3794 AC |
165 | 2003-09-25 Andrew Cagney <[email protected]> |
166 | ||
167 | * frame.h (deprecated_frame_saved_regs): Rename | |
168 | get_frame_saved_regs. | |
169 | * cris-tdep.c, frame.c, h8300-tdep.c, hppa-tdep.c: Update. | |
170 | * mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update. | |
171 | * ns32k-tdep.c, ppc-linux-tdep.c, rs6000-tdep.c: Update. | |
172 | * s390-tdep.c, sh64-tdep.c, stack.c: Update. | |
173 | * v850-tdep.c, vax-tdep.c, xstormy16-tdep.c: Update. | |
174 | ||
e6beb428 AC |
175 | 2003-09-25 Andrew Cagney <[email protected]> |
176 | ||
177 | * NEWS: Mention the new backtrace mechanism, DWARF 2 CFI, hosted | |
178 | file I/O, multi-arch, TLS and NPTL, DWARF 2 Location Expressions, | |
179 | and Java. | |
180 | * PROBLEMS: Mention that mips*-*-*, powerpc*-*-*, sparc*-*-* and | |
181 | arm*-*-* do not use the new frame code. | |
182 | ||
710122da DC |
183 | 2003-09-25 David Carlton <[email protected]> |
184 | ||
185 | * c-exp.y: Remove 'register' declarations. | |
186 | * f-exp.y, jv-exp.y, m2-exp.y, objc-exp.y, p-exp.y: Ditto. | |
187 | ||
79c2c32d DC |
188 | 2003-09-25 David Carlton <[email protected]> |
189 | ||
190 | * c-exp.y: Include cp-support.h. Add qualified_type. | |
191 | (yylex): Delete nested type hack; add comments. | |
192 | * cp-namespace.c (cp_lookup_nested_type): New function. | |
193 | * cp-support.h: Declare cp_lookup_nested_type. | |
194 | * eval.c (evaluate_subexp_standard): Call value_aggregate_elt | |
195 | instead of value_struct_elt_for_reference. | |
196 | * valops.c: Include cp-support.h. | |
197 | (value_aggregate_elt): New function. | |
198 | (value_namespace_elt): Ditto. | |
199 | (value_struct_elt_for_reference): Make static. | |
200 | * value.h: Delete declaration of value_struct_elt_for_reference; | |
201 | add declaration for value_aggregate_elt. | |
202 | * Makefile.in (c-exp.tab.o): Depend on $(cp_support_h). | |
203 | (valops.o): Ditto. | |
204 | ||
898c62f5 DJ |
205 | 2003-09-25 Daniel Jacobowitz <[email protected]> |
206 | ||
207 | * stack.c: Include "reggroups.h". | |
208 | (frame_info): Only display registers in all_reggroup. | |
209 | * Makefile.in (stack.o): Update dependencies. | |
210 | ||
28cd8767 JG |
211 | 2003-09-25 Jerome Guitton <[email protected]> |
212 | ||
213 | * arm-tdep.c (arm_skip_prologue): Handle "sub ip, sp #n" and | |
214 | "add ip, sp #n" in the prologue. | |
215 | (arm_scan_prologue): Ditto. | |
216 | ||
a4ab2b5d JG |
217 | 2003-09-25 Jerome Guitton <[email protected]> |
218 | ||
219 | * MAINTAINERS (write after approval): Add myself. | |
220 | ||
3f244638 AS |
221 | 2003-09-25 Andreas Schwab <[email protected]> |
222 | ||
223 | * m68k-tdep.c: Include "dwarf2-frame.h". | |
224 | (m68k_gdbarch_init): Add the DWARF CFI frame unwinder. | |
225 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
226 | ||
1c0159e0 CV |
227 | 2003-09-25 Corinna Vinschen <[email protected]> |
228 | ||
229 | * sh-tdep.c (struct frame_extra_info): Remove. | |
230 | (struct sh_frame_cache): New structure. | |
231 | (GET_SOURCE_REG): New macro extracting source register of an opcode. | |
232 | (GET_TARGET_REG): Ditto but target register. | |
233 | (GET_PUSHED_REG): Remove. | |
234 | (IS_MOV_ARG_TO_REG): New macro. | |
235 | (IS_MOV_ARG_TO_IND_R14): New macro. | |
236 | (IS_MOV_ARG_TO_IND_R14_WITH_DISP): New macro. | |
237 | (IS_MOVW_PCREL_TO_REG): New macro. | |
238 | (IS_MOVL_PCREL_TO_REG): New macro. | |
239 | (IS_SUB_REG_FROM_SP): New macro. | |
240 | (IS_ARG_MOV): Remove. | |
241 | (IS_MOV_TO_R14): Remove. | |
242 | (IS_RESTORE_FP): New macro. | |
243 | (IS_RTS): New macro. | |
244 | (IS_LDS): New macro. | |
245 | (IS_MOV_FP_SP): New macro. | |
246 | (IS_ADD_REG_TO_FP): New macro. | |
247 | (IS_ADD_IMM_FP): New macro. | |
248 | (sh_skip_prologue_hard_way): Remove. | |
249 | (sh_saved_pc_after_call): Remove. | |
250 | (sh_frame_chain): Remove. | |
251 | (sh_find_callers_reg): Remove. | |
252 | (sh_nofp_frame_init_saved_regs): Remove. | |
253 | (sh_fp_frame_init_saved_regs): Remove. | |
254 | (sh_init_extra_frame_info): Remove. | |
255 | (sh_analyze_prologue): New function. | |
256 | (sh_skip_prologue): Remove deprecated code. Rely on new function | |
257 | sh_analyze_prologue when after_prologue fails. | |
258 | (sh_frame_saved_pc): Remove. | |
259 | (sh_alloc_frame_cache): New function. | |
260 | (sh_frame_cache): Ditto. | |
261 | (sh_frame_prev_register): Ditto. | |
262 | (sh_frame_this_id): Ditto. | |
263 | (sh_frame_unwind): New structure defining the heuristic frame | |
264 | sniffer interface. | |
265 | (sh_frame_sniffer): New function. | |
266 | (sh_unwind_sp): Ditto. | |
267 | (sh_unwind_pc): Ditto. | |
268 | (sh_unwind_dummy_id): Ditto. | |
269 | (sh_frame_base_address): Ditto. | |
270 | (sh_frame_base): New structure defining new frame base code. | |
271 | (sh_in_function_epilogue_p): New function. | |
272 | (sh_gdbarch_init): Restructure and simplify to eliminate deprecated | |
273 | code and to call all new code instead. Initialize dwarf2 and | |
274 | heuristic frame sniffer. | |
275 | ||
5f9769d1 PH |
276 | 2003-09-24 Paul N. Hilfinger <[email protected]> |
277 | ||
278 | * parser-defs.h (struct exp_descriptor): New definition, containing | |
279 | language-specific info for printing, prefixifying, dumping, and | |
280 | evaluating expressions. | |
281 | (exp_descriptor_standard): Declare new variable. | |
282 | (print_subexp): Make global and declare here (from expprint.c). | |
283 | (dump_subexp): Ditto. | |
284 | (dump_subexp_body_standard): Declare. | |
285 | (operator_length_standard): Declare. | |
286 | (op_name_standard): Declare. | |
287 | (print_subexp): Declare. | |
288 | (print_subexp_standard): Declare. | |
289 | ||
290 | * language.h (struct language_defn): Add la_exp_desc field to hold | |
291 | pointer to table for language-specific operators. | |
292 | Remove evaluate_exp field, which is now in struct exp_descriptor. | |
293 | ||
294 | * parse.c (operator_length): Move most code to new | |
295 | operator_length_standard function. Use language-specific information. | |
296 | (operator_length_standard): New function taking most code from | |
297 | operator_length. | |
298 | (exp_descriptor_standard): New constant. | |
299 | ||
300 | * expression.h (enum exp_opcode): Add definitions of OP_EXTENDED0 | |
301 | and OP_EXTENDED_LAST. | |
302 | ||
303 | * expprint.c (print_subexp): Use language-specific print_subexp. | |
304 | Make global; remove static declaration. | |
305 | Move most code to print_subexp_standard. | |
306 | (print_subexp_standard): New function, containing code formerly in | |
307 | print_subexp. | |
308 | (op_name): Add expression to argument signature. | |
309 | Use langauge-specific op_name. | |
310 | Move most code to op_name_standard. | |
311 | (op_name_standard): New function, containing code formerly in op_name. | |
312 | (dump_subexp): Use new version of op_name function. | |
313 | Use language-specific dump_subexp_body, and move most existing code to | |
314 | dump_subexp_body_standard. | |
315 | (dump_raw_expression): Use new op_name interface. | |
316 | (dump_subexp_body): Move most code to dump_subexp_body_standard. | |
317 | (dump_subexp_body_standard): New function, containing code formerly | |
318 | in dump_subexp_body. | |
319 | ||
320 | * language.c (unknown_language): Add default la_exp_desc field and | |
321 | remove evaluate_exp field. | |
322 | (auto_language): Ditto. | |
323 | (local_language): Ditto. | |
324 | * f-lang.c (f_language_defn): Ditto. | |
325 | * c-lang.c (c_language_defn): Ditto. | |
326 | (cplus_language_defn): Ditto. | |
327 | (asm_language_defn): Ditto. | |
328 | (minimal_language_defn): Ditto. | |
329 | * p-lang.c (pascal_language_defn): Ditto. | |
330 | * m2-lang.c (m2_language_defn): Ditto. | |
331 | * objc-lang.c (objc_language_defn): Ditto. | |
332 | ||
333 | * jv-lang.c (exp_descriptor_java): New variable, containing | |
334 | Java-specific expression evaluator. | |
335 | (java_language_defn): Add la_exp_desc field and remove evaluate_exp | |
336 | field. | |
337 | * scm-lang.c (exp_descriptor_scm): New variable, containing | |
338 | Scheme-specific expression evaluator. | |
339 | (scm_language_defn): Add la_exp_desc field and remove evaluate_exp | |
340 | field. | |
341 | * objc-lang.c (print_object_command): Take evaluate_exp from the | |
342 | la_exp_desc field. | |
343 | ||
344 | * Makefile.in (eval.o): Add dependency on parser-defs.h. | |
345 | ||
346 | * eval.c: Include parser-defs.h for the full declaration of | |
347 | la_exp_desc's type. | |
348 | (evaluate_subexp): Get evaluate_exp out of la_exp_desc field. | |
349 | ||
24daaebc PH |
350 | 2003-09-23 Paul N. Hilfinger <[email protected]> |
351 | ||
352 | * parser-defs.h (operator_length): Declare. | |
353 | ||
354 | * parse.c (length_of_subexp): Use operator_length to get operator | |
355 | lengths and arities for operators. | |
356 | Move most code to new operator_length function. | |
357 | (operator_length): New function absorbing most code from | |
358 | length_of_subexp. | |
359 | (prefixify_subexp): Remove large case and use operator_length instead. | |
360 | (parse_exp_1): Use renamings: | |
361 | dump_prefix_expression => dump_raw_expression and | |
362 | dump_postfix_expression => dump_prefix_expression. | |
363 | ||
364 | * expression.h (dump_prefix_expression): Rename to ... | |
365 | (dump_raw_expression): New name. | |
366 | (dump_postfix_expression): Rename to ... | |
367 | (dump_prefix_expression): New name. | |
368 | ||
369 | * expprint.c (dump_subexp): Make global. Add comment. | |
370 | Move most existing code to dump_subexp_body. | |
371 | (dump_subexp_body): New function. | |
372 | (dump_prefix_expression): Rename to dump_raw_expression. | |
373 | Remove attempt to print the expression via print_expression: it can't | |
374 | work before the expression is prefixified. | |
375 | (dump_raw_expression): Renamed from dump_prefix_expression. | |
376 | (dump_postfix_expression): Rename to dump_prefix_expression, since | |
377 | that's what it does. | |
378 | Remove 'note' parameter, since this routine must be used on | |
379 | prefixified expression. | |
380 | (dump_prefix_expression): Renamed from dump_postfix_expression. | |
381 | ||
8c2957c4 JB |
382 | 2003-09-22 Jim Blandy <[email protected]> |
383 | ||
384 | * dwarf2read.c (read_array_type): When building the type for an | |
385 | array of unspecified length, make sure to choose the upper bound | |
386 | so that the array's total length comes out to be zero --- that's | |
387 | how we represent such arrays. | |
388 | ||
592e3010 MC |
389 | 2003-09-22 Michael Chastain <[email protected]> |
390 | ||
391 | * MAINTAINERS: Rename gdb.c++ to gdb.cp. | |
392 | ||
365c70b1 JJ |
393 | 2003-09-22 Jeff Johnston <[email protected]> |
394 | ||
395 | * top.c (quit_force): Fix indirect call to quit_target so | |
396 | a struct qt_args pointer is passed. | |
397 | ||
5d6eb653 AC |
398 | 2003-09-22 Andrew Cagney <[email protected]> |
399 | ||
400 | * arch-utils.h (init_frame_pc_noop): Delete declaration. | |
401 | * arch-utils.c (init_frame_pc_noop): Delete function. | |
402 | * mn10300-tdep.c (mn10300_gdbarch_init): Do not set | |
403 | "init_frame_pc". | |
404 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
405 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
406 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Delete | |
407 | declaration. | |
408 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
409 | * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Delete | |
410 | declaration. | |
411 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
412 | ||
b222a67f AG |
413 | 2003-09-22 Anthony Green <[email protected]> |
414 | ||
415 | * monitor.c (monitor_expect): Delete unused conflicting targ_ops | |
416 | declaration. | |
417 | ||
d5b5ac79 AC |
418 | 2003-09-20 Andrew Cagney <[email protected]> |
419 | ||
deafb061 AC |
420 | * breakpoint.c: Eliminate ARGSUSED. |
421 | * buildsym.c, cli/cli-cmds.c, cli/cli-script.c: Ditto. | |
422 | * coffread.c, corelow.c, dwarf2read.c, event-top.c: Ditto. | |
423 | * exec.c, gcore.c, hpux-thread.c, infcmd.c, inflow.c: Ditto. | |
424 | * infrun.c, inftarg.c, maint.c, ocd.c, printcmd.c: Ditto. | |
425 | * procfs.c, regcache.c, remote-rdi.c, remote-sds.c: Ditto. | |
426 | * remote.c, sol-thread.c, source.c, stabsread.c: Ditto. | |
427 | * stack.c, symfile.c, target.c, top.c, typeprint.c: Ditto. | |
428 | * utils.c, v850ice.c, valprint.c, values.c, win32-nat.c: Ditto. | |
429 | * wince.c, remote-vx.c: Ditto. | |
430 | ||
d5b5ac79 AC |
431 | * cli/cli-script.c: Remove "register" attributes. |
432 | * config/pa/tm-hppa.h: Ditto. | |
433 | * cli/cli-decode.c: Ditto. | |
434 | * cli/cli-cmds.c: Ditto. | |
435 | ||
c6316faa AC |
436 | 2003-09-19 Andrew Cagney <[email protected]> |
437 | ||
438 | * sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to | |
439 | DEPRECATED_NPC_REGNUM. | |
440 | * sparc64nbsd-nat.c (getregs_supplies): Ditto. | |
441 | ||
f4f99b11 CF |
442 | 2003-09-19 Christopher Faylor <[email protected]> |
443 | ||
444 | * win32-nat.c (mappings): Remove HAVE_SSE conditional. | |
445 | ||
1708f284 JB |
446 | 2003-09-19 Jim Blandy <[email protected]> |
447 | ||
448 | * macrotab.c (macro_include): Use the correct comparison to find | |
449 | the appropriate place for this inclusion in the list. | |
450 | ||
b9fbf434 AC |
451 | 2003-09-19 Andrew Cagney <[email protected]> |
452 | ||
453 | * config/pa/nm-hppah.h (NEED_TEXT_START_END): Delete. | |
454 | (DEPRECATED_HPUX_TEXT_END): Define. | |
455 | (deprecated_hpux_text_end): Declare. | |
456 | (struct target_ops): Declare opaque. | |
457 | * hppah-nat.c (text_end): Make static. | |
458 | (deprecated_hpux_text_end): New function. | |
459 | * exec.c (text_end): Delete global variable. | |
460 | (NEED_TEXT_START_END): Do not define. | |
461 | (exec_file_attach): Replace code computing "text_end" code with | |
462 | call to DEPRECATED_HPUX_TEXT_END. | |
463 | ||
5b03f266 AC |
464 | 2003-09-19 Andrew Cagney <[email protected]> |
465 | ||
466 | * utils.c (align_up, align_down): New functions. | |
467 | * defs.h (align_up, align_down): Declare. | |
468 | * ppc-sysv-tdep.c (align_up, align_down): Delete functions. | |
469 | * s390-tdep.c: Replace "round_up" and "round_down" with "align_up" | |
470 | and "align_down". | |
471 | (round_up, round_down): Delete functions. | |
472 | * mips-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
473 | "align_down". | |
474 | (ROUND_DOWN, ROUND_UP): Delete macros. | |
475 | (mips_dump_tdep): Do not print "ROUND_UP" or "ROUND_DOWN". | |
476 | * h8300-tdep.c: Replace "round_up" and "round_down" with | |
477 | "align_up" and "align_down". | |
478 | (round_up, round_down): Delete macros. | |
479 | * frv-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
480 | "align_down". | |
481 | (ROUND_UP, ROUND_DOWN): Delete macros. | |
482 | ||
51db5742 JB |
483 | 2003-09-18 J. Brobecker <[email protected]> |
484 | ||
485 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a | |
486 | hard-coded constant. Use the proper machine name instead. | |
487 | ||
77949794 AC |
488 | 2003-09-17 Andrew Cagney <[email protected]> |
489 | ||
490 | * sparc-tdep.c (legacy_register_name): Delete function. | |
491 | * mips-tdep.c (mips_dump_tdep): Do not print REGISTER_NAME. | |
492 | (mips_gdbarch_init): Refer to MIPS_REGISTER_NAME in comments. | |
493 | * infcmd.c (gdb_register_name): Delete variable. | |
494 | * gdbarch.sh (SDB_REG_TO_REGNUM): Delete reference to | |
495 | REGISTER_NAME and "tm.h". | |
496 | * gdbarch.h, gdbarch.c: Regenerate. | |
497 | * dpx2-nat.c (regmap): Refer to REGISTER_NAME and not | |
498 | REGISTER_NAMES in comments. | |
499 | * remote-st.c (get_reg_name), i386b-nat.c (tregmap): Ditto. | |
500 | * m68klinux-nat.c (regmap): Ditto. | |
501 | ||
b55c33cc JB |
502 | 2003-09-17 Jim Blandy <[email protected]> |
503 | ||
504 | * Makefile.in (dis_asm_h): Note that this #includes "bfd.h". | |
505 | ||
957e27ac AC |
506 | 2003-09-17 Andrew Cagney <[email protected]> |
507 | ||
508 | * ppcnbsd-tdep.c (ppcnbsd_use_struct_convention): New function. | |
509 | (ppcnbsd_init_abi): Set "use_struct_convention" to | |
510 | "ppcnbsd_use_struct_convention". | |
511 | ||
192cb3d4 MK |
512 | 2003-09-17 Mark Kettenis <[email protected]> |
513 | ||
514 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. | |
515 | * gdbarch.h, gdbarch.c: Regenerate. | |
516 | (stabs_argument_has_addr): New architecture method. | |
517 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
518 | * arch-utils.c: Include "buildsym.h". | |
519 | (default_stabs_argument_has_addr): New function. | |
520 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
521 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
522 | ||
efe59759 AC |
523 | 2003-09-17 Andrew Cagney <[email protected]> |
524 | ||
525 | * gdbarch.sh (DEPRECATED_NPC_REGNUM): Deprecate NPC_REGNUM. | |
526 | * gdbarch.h, gdbarch.c: Regenerate. | |
527 | * core-sol2.c, hppa-tdep.c, lynx-nat.c, procfs.c: Update. | |
528 | * regcache.c, remote-vxsparc.c, sparc-linux-nat.c: Update. | |
529 | * sparc-nat.c, sparc-tdep.c, sparc64-tdep.c: Update. | |
530 | * sparcnbsd-tdep.c: Update. | |
531 | ||
62700349 AC |
532 | 2003-09-17 Andrew Cagney <[email protected]> |
533 | ||
534 | * gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE. | |
535 | * gdbarch.h, gdbarch.c: Regenerate. | |
536 | * arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update. | |
537 | * d10v-tdep.c, frame.c: Update. | |
538 | * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. | |
539 | * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. | |
540 | * ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update. | |
541 | * mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update. | |
542 | * mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
543 | * ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update. | |
544 | * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update. | |
545 | * remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update. | |
546 | * sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update. | |
547 | * v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update. | |
548 | * config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update. | |
549 | * config/pa/nm-hppah.h: Update. | |
550 | ||
b9ff3018 AC |
551 | 2003-09-16 Andrew Cagney <[email protected]> |
552 | ||
553 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set the 32 bit | |
554 | "use_struct_convention" to "ppc_linux_use_struct_convention". | |
555 | (ppc_linux_use_struct_convention): New function. | |
556 | * rs6000-tdep.c (rs6000_use_struct_convention): New function. | |
557 | (rs6000_gdbarch_init): For AIX, set "use_struct_convention" to | |
558 | "rs6000_use_struct_convention". | |
559 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Delete | |
560 | declaration. | |
561 | * ppc-sysv-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
562 | Delete function. | |
563 | ||
aa1ee363 AC |
564 | 2003-09-16 Andrew Cagney <[email protected]> |
565 | ||
566 | * buildsym.c: Remove more occurances of "register". | |
567 | * coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto. | |
568 | * environ.c, eval.c, f-valprint.c, findvar.c: Ditto. | |
569 | * gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto. | |
570 | * infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto. | |
571 | * printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto. | |
572 | * sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto. | |
573 | * standalone.c, symfile.c, symmisc.c, symtab.c: Ditto. | |
574 | * utils.c, valops.c, values.c, xcoffread.c: Ditto. | |
575 | ||
f2ea0907 CV |
576 | 2003-09-16 Corinna Vinschen <[email protected]> |
577 | ||
578 | * sh-tdep.h (struct gdbarch_tdep): Remove. Change all register | |
579 | numbers to enumeration values. | |
580 | * sh-tdep.c: Accomodate above change. | |
581 | (SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS. | |
582 | (NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only). | |
583 | (NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only). | |
584 | (IS_ADD_IMM_SP): Rename from IS_ADD_SP. | |
585 | (IS_FPUSH): Rename from IS_FMOV. | |
586 | (sh_extract_struct_value_address): Remove useless comment. | |
587 | (sh_dsp_register_sim_regno): Use register values from sh-tdep.h | |
588 | instead of own local values. | |
589 | (sh_dump_tdep): Remove. | |
590 | (_initialize_sh_tdep): Accomodate removing sh_dump_tdep. | |
591 | * sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes. | |
592 | ||
1c704f11 AC |
593 | 2003-09-15 Andrew Cagney <[email protected]> |
594 | ||
595 | * doublest.c (convert_floatformat_to_doublest): No longer need to | |
596 | cast "exp_bias" to an int. Reverts 2002-12-04 change. | |
597 | ||
ac79b88b DJ |
598 | 2003-09-15 Daniel Jacobowitz <[email protected]> |
599 | ||
600 | * values.c (unpack_double): Call floatformat_is_valid. | |
601 | ||
1c671366 MK |
602 | 2003-09-15 Mark Kettenis <[email protected]> |
603 | ||
de5227fb MK |
604 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of |
605 | ps_strings into a long. | |
606 | ||
1c671366 MK |
607 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from |
608 | _initialize_am64fbsd_nat. | |
609 | ||
a604369a KB |
610 | 2003-09-15 Kevin Buettner <[email protected]> |
611 | ||
612 | * dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset | |
613 | associated with DW_AT_ranges attribute is out of bounds. | |
614 | ||
b3cacbee DL |
615 | 2003-09-15 David Lecomber <[email protected]> |
616 | ||
617 | * f-valprint.c: Apply array element printing limits to multi-dimensional arrays | |
618 | ||
d0f37bb2 MC |
619 | 2003-09-14 Michael Chastain <[email protected]> |
620 | ||
621 | * config/m68k/nm-apollo68v.h: Delete. | |
622 | * config/m68k/xm-apollo68v.h: Delete. | |
623 | ||
69517000 AC |
624 | 2003-09-14 Andrew Cagney <[email protected]> |
625 | ||
626 | * rs6000-tdep.c (rs6000_push_dummy_call): Fix typos. | |
627 | * dcache.c: Update copyrights and descriptions. | |
628 | * scm-exp.c, ia64-aix-nat.c, hppam3-nat.c: environ.c: Ditto. | |
629 | ||
ef8b349d AC |
630 | 2003-09-14 Andrew Cagney <[email protected]> |
631 | ||
632 | * config/djgpp/fnchange.lst: Rename "amd64fbsd-tdep.c" and | |
633 | "amd64fbsd-nat.c" to "a64fb-tdep.c" and "a64fb-nat.c". | |
634 | ||
52f0bd74 AC |
635 | 2003-09-14 Andrew Cagney <[email protected]> |
636 | ||
637 | * alpha-nat.c: Remove some occurances of "register". | |
638 | * alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto. | |
639 | * buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto. | |
640 | * corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto. | |
641 | * dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto. | |
642 | * environ.c, eval.c, event-top.c, f-typeprint.c: Ditto. | |
643 | * f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto. | |
644 | * h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto. | |
645 | * hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto. | |
646 | * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto. | |
647 | * infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto. | |
648 | * jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto. | |
649 | * mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto. | |
650 | * mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto. | |
651 | * ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto. | |
652 | * p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto. | |
653 | * remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto. | |
654 | * rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto. | |
655 | * solib.c, somread.c, source.c, sparc-tdep.c: Ditto. | |
656 | * stabsread.c, stack.c, standalone.c, symfile.c: Ditto. | |
657 | * symmisc.c, symtab.c, top.c, tracepoint.c: Ditto. | |
658 | * typeprint.c, utils.c, valarith.c, valops.c: Ditto. | |
659 | * values.c, vax-tdep.c, xcoffread.c: Ditto. | |
660 | ||
4a4b3fed AC |
661 | 2003-09-13 Andrew Cagney <[email protected]> |
662 | ||
663 | * config/pa/tm-hppa64.h (struct frame_info): Declare opaque. | |
664 | * ppc-tdep.h (struct regcache): Declare opaque. | |
665 | * objfiles.h (struct objfile_data): Declare opaque. | |
666 | * cp-support.h (struct objfile): Declare opaque. | |
667 | * linux-nat.h (target_waitstatus): Declare opaque. | |
668 | ||
2110b94f MK |
669 | 2003-09-14 Mark Kettenis <[email protected]> |
670 | ||
1c671366 MK |
671 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. |
672 | (stabs_argument_has_addr): New architecture method. | |
673 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
674 | * arch-utils.c: Include "buildsym.h". | |
675 | (default_stabs_argument_has_addr): New function. | |
676 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
677 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
678 | ||
2110b94f MK |
679 | * cris-tdep.c (cris_gdbarch_init): Set |
680 | deprecated_reg_struct_has_addr instead of reg_struct_has_addr. | |
681 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
682 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
683 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
684 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
685 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
686 | ||
48436ce6 AC |
687 | 2003-09-13 Andrew Cagney <[email protected]> |
688 | ||
689 | * values.c (using_struct_return): Delete "function" and "funcaddr" | |
690 | parameters. | |
691 | * value.h (using_struct_return): Update declaration. | |
692 | * infcmd.c (finish_command_continuation): Update. | |
693 | (finish_command): Update. | |
694 | * infcall.c (call_function_by_hand): Update. | |
695 | * eval.c (evaluate_subexp_standard): Update. | |
696 | ||
403d9909 CF |
697 | 2003-09-13 Christopher Faylor <[email protected]> |
698 | ||
699 | * win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for | |
700 | SSE registers since gdb will not operate correctly without this. | |
701 | Restore include file ordering munged in previous change. | |
702 | * config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define. | |
703 | ||
ebf7d56b MK |
704 | 2003-09-13 Mark Kettenis <[email protected]> |
705 | ||
8e823e25 MK |
706 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed from |
707 | REG_STRUCT_HAS_ADDR. | |
708 | * gdbarch.c, gdbarch.h: Updated. | |
709 | * infcall.c (call_function_by_hand): Update. | |
710 | * stabsread.c (define_symbol): Updated. | |
711 | ||
ebf7d56b MK |
712 | * Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove. |
713 | ||
d3f13f72 CF |
714 | 2003-09-12 Christopher Faylor <[email protected]> |
715 | ||
716 | * win32-nat.c: Reorganize so that defines used by target headers are | |
717 | actually defined by the system headers. | |
718 | * config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather | |
719 | than HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists. | |
720 | ||
14f75137 JB |
721 | 2003-09-12 Jim Blandy <[email protected]> |
722 | ||
d646061f JB |
723 | * dbxread.c (read_dbx_symtab): Don't report an internal error if |
724 | the file has no .data, .bss, or .rodata sections. Instead wait | |
725 | until we see a variable alleged to live in one of those sections. | |
726 | ||
2a13f9bc JB |
727 | * dbxread.c (read_dbx_symtab): If we have no .data section and no |
728 | .bss section, presume that any variables we find live in the | |
729 | .rodata section. | |
730 | ||
4f49b26b JB |
731 | * dbxread.c (read_dbx_symtab): Add FIXME about finding section |
732 | offsets for global and static variables. | |
733 | ||
14f75137 JB |
734 | * dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT |
735 | symbol types are, by definition, in the .data section, so it is | |
736 | correct to use SECT_OFF_DATA (objfile) here, not data_sect_index. | |
737 | If there is no .data section, there should be no N_DATA or N_DATA | |
738 | | N_EXT symbols. | |
739 | ||
212c460c MK |
740 | 2003-09-12 Mark Kettenis <[email protected]> |
741 | ||
742 | * amd64fbsd-tdep.c: Fix sigtramp recognition. | |
743 | (amd64fbsd_sigcontext_addr): Rewrite. | |
744 | (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize | |
745 | with correct values. | |
746 | (amd64fbsd_sc_reg_offset): Initialize with correct values. | |
747 | (amd64fbsd_init_abi): Fix typo. | |
748 | ||
68856ea3 AC |
749 | 2003-09-12 Andrew Cagney <[email protected]> |
750 | ||
751 | * ppc-sysv-tdep.c (align_up, align_down): Replace "round2" macro. | |
752 | (ppc_sysv_abi_push_dummy_call): Rewrite, use a two pass loop. | |
753 | ||
627b3ba2 AC |
754 | 2003-09-12 Andrew Cagney <[email protected]> |
755 | ||
756 | * objfiles.h (struct entry_info): Deprecate "entry_file_lowpc" and | |
757 | "entry_file_highpc". Update comments. | |
758 | * defs.h (deprecated_inside_entry_file): Rename | |
759 | "inside_entry_file". | |
760 | * blockframe.c (deprecated_inside_entry_file): Rename | |
761 | "inside_entry_file". | |
762 | * frame.c (get_prev_frame): Update. Use if 0 instead of #if 0. | |
763 | * vax-tdep.c (vax_frame_chain): Update. | |
764 | * sh64-tdep.c (sh64_frame_chain): Update. | |
765 | * sh-tdep.c (sh_frame_chain): Update. | |
766 | * rs6000-tdep.c (rs6000_frame_chain): Update. | |
767 | * ns32k-tdep.c (ns32k_frame_chain): Update. | |
768 | * mips-tdep.c (mips_frame_chain): Update. | |
769 | * m68hc11-tdep.c (m68hc11_frame_this_id): Update. | |
770 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
771 | * i386-interix-tdep.c (i386_interix_frame_chain_valid): Update. | |
772 | * frv-tdep.c (frv_frame_this_id): Update. | |
773 | * d10v-tdep.c (d10v_frame_this_id): Update. | |
774 | * cris-tdep.c (cris_frame_chain): Update. | |
775 | * blockframe.c (legacy_frame_chain_valid): Update. | |
776 | * avr-tdep.c (avr_frame_this_id): Update. | |
777 | * arm-tdep.c (arm_prologue_this_id): Update. | |
778 | * alpha-tdep.c (alpha_heuristic_frame_this_id): Update. | |
779 | * objfiles.c (objfile_relocate): Update. | |
780 | * mipsread.c (mipscoff_symfile_read): Update. | |
781 | (mipscoff_symfile_read): Update. | |
782 | * mdebugread.c (parse_partial_symbols): Update. | |
783 | * dwarfread.c (read_file_scope): Update. | |
784 | * dwarf2read.c (read_file_scope): Update. | |
785 | * dbxread.c (read_dbx_symtab): Update. | |
786 | (read_dbx_symtab): Update. | |
787 | * coffread.c (complete_symtab): Update. | |
788 | ||
b0abbc58 JJ |
789 | 2003-09-12 Jeff Johnston <[email protected]> |
790 | ||
791 | * top.c (quit_target): New static helper function. | |
792 | (quit_force): Moved code to quit_target(). Call quit_target() | |
793 | via catch_errors() to catch errors during quit. | |
794 | ||
a1632d59 DC |
795 | 2003-09-11 David Carlton <[email protected]> |
796 | ||
797 | * buildsym.c (finish_block): Use allocate_block to allocate the | |
798 | block. | |
799 | * mdebugread.c (new_block): Add FIXME. | |
800 | ||
5c4e30ca DC |
801 | 2003-09-11 David Carlton <[email protected]> |
802 | ||
803 | * gdbtypes.h: Add TYPE_CODE_NAMESPACE. | |
804 | * gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE. | |
805 | (recursive_dump_type): Ditto. | |
806 | * printcmd.c (print_formatted): Ditto. | |
807 | * typeprint.c (print_type_scalar): Ditto. | |
808 | * c-typeprint.c (c_type_print_varspec_prefix): Ditto. | |
809 | (c_type_print_varspec_suffix, c_type_print_base): Ditto. | |
810 | * cp-support.h: Declare cp_check_possible_namespace_symbols, | |
811 | maint_cplus_cmd_list. | |
812 | * cp-support.c: Make maint_cplus_cmd_list extern. | |
813 | * cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h, | |
814 | command.h. | |
815 | (lookup_symbol_file): Look in possible namespace blocks when | |
816 | appropriate. | |
817 | (initialize_namespace_symtab): New. | |
818 | (get_possible_namespace_block, free_namespace_block) | |
819 | (check_possible_namespace_symbols) | |
820 | (check_possible_namespace_symbols_loop) | |
821 | (check_one_possible_namespace_symbol) | |
822 | (lookup_possible_namespace_symbol, maintenance_cplus_namespace) | |
823 | (_initialize_cp_namespace): Ditto. | |
824 | * block.h: Declare allocate_block. | |
825 | * block.c (allocate_block): New. | |
826 | * jv-lang.c (get_java_class_symtab): Allocate blocks via | |
827 | allocate_block. | |
828 | * symfile.h: Update declaration of add_psymbol_to_list. | |
829 | * symfile.c (add_psymbol_to_list): Return the partial symbol in | |
830 | question. | |
831 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to | |
832 | scan_partial_symbols_call. | |
833 | (scan_partial_symbols): Add NAMESPACE argument; update calls to | |
834 | helper functions. | |
835 | (add_partial_symbol): If necessary, scan mangled names for names | |
836 | of namespaces. | |
837 | (add_partial_namespace): Add NAMESPACE argument; generate partial | |
838 | symbols associated to namespaces. | |
839 | (add_partial_enumeration): Add NAMESPACE argument. | |
840 | (new_symbol): Allow namespace syms. | |
841 | (read_namespace): Generate namespace syms. | |
842 | * objfiles.h: Add opaque declaration of struct symtab. | |
843 | (struct objfile): Add cp_namespace_symtab member. | |
844 | * objfiles.c (allocate_objfile): Set | |
845 | objfile->cp_namespace_symtab. | |
846 | * Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h, | |
847 | dictionary_h, command_h. | |
848 | ||
33a7c2fc AC |
849 | 2003-09-11 Andrew Cagney <[email protected]> |
850 | ||
851 | * rs6000-tdep.c (rs6000_push_dummy_call): Use | |
852 | regcache_raw_write_signed to set SP_REGNUM, move the operation to | |
853 | near the function's end. | |
854 | (rs6000_gdbarch_init): Do not set "deprecated_dummy_write_sp". | |
855 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use | |
856 | regcache_raw_write_signed to set SP_REGNUM. | |
857 | ||
63cd24fe EZ |
858 | 2003-09-11 Elena Zannoni <[email protected]> |
859 | ||
860 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure | |
861 | orig_addrs is set up properly. | |
862 | ||
f27dd7fd AC |
863 | 2003-09-11 Andrew Cagney <[email protected]> |
864 | ||
865 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Rename STACK_ALIGN. | |
866 | * gdbarch.h, gdbarch.c: Re-generate. | |
867 | * infcall.c (call_function_by_hand): Update. | |
868 | * hppa-tdep.c (hppa_push_arguments): Update. | |
869 | * ada-lang.c (place_on_stack): Update. | |
870 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
871 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
872 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
873 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
874 | * h8300-tdep.c (h8300_gdbarch_init): Delete comment refering to | |
875 | stack_align. | |
876 | ||
f630a401 DJ |
877 | 2003-09-11 Daniel Jacobowitz <[email protected]> |
878 | ||
879 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in a | |
880 | register do need a frame. | |
881 | ||
0ddabb4c AC |
882 | 2003-09-11 Andrew Cagney <[email protected]> |
883 | ||
884 | Since the IRIX 4 configuration was forcing K&R mode it hasn't been | |
885 | buildable since GDB 5.0. | |
886 | * NEWS: Mention that IRIX 3 and IRIX 4 support were removed. | |
887 | * configure.host: Delete "mips-sgi-irix3*" and "mips-sgi-irix4*". | |
888 | * configure.tgt: Delete "mips*-sgi-*" a.k.a. irix3. | |
889 | * irix4-nat.c: Delete file. | |
890 | * config/mips/irix4.mh: Delete file. | |
891 | * config/mips/irix3.mh: Delete file. | |
892 | * config/mips/irix3.mt: Delete file. | |
893 | * config/mips/tm-irix3.h: Delete file. | |
894 | * config/mips/nm-irix3.h: Delete file. | |
895 | * config/mips/xm-irix3.h: Delete file. | |
896 | * config/mips/nm-irix4.h: Delete file. | |
897 | * config/mips/xm-irix4.h: Delete file. | |
898 | * config/mips/tm-irix5.h: Inline contents of "tm-irix3.h". | |
899 | ||
fde2cceb JB |
900 | 2003-09-10 J. Brobecker <[email protected]> |
901 | ||
902 | * hppa-tdep.c: Include "dis-asm.h". Fixes a build failure. | |
903 | * Makefile.in (hppa-tdep.o): Update dependencies. | |
904 | ||
66f667f5 JW |
905 | 2003-09-10 James E Wilson <[email protected]> |
906 | ||
ef5fd69f JW |
907 | * MAINTAINERS: Change my e-mail address. Move to paper trail |
908 | section. | |
66f667f5 | 909 | |
53e8aaea KB |
910 | 2003-09-10 Kevin Buettner <[email protected]> |
911 | ||
912 | * MAINTAINERS (frv): New ISA entry. | |
913 | ||
dcc6aaff KB |
914 | 2003-09-10 Kevin Buettner <[email protected]> |
915 | ||
916 | * frv-tdep.c (dis-asm.h): Include. | |
917 | * Makefile.in (frv-tdep.o): Update dependencies. | |
918 | ||
932644f0 JJ |
919 | 2003-09-09 Jeff Johnston <[email protected]> |
920 | ||
921 | * ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs): | |
922 | Fix typo for high range of floating registers. | |
923 | ||
91c24f0a DC |
924 | 2003-09-09 David Carlton <[email protected]> |
925 | ||
926 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and | |
927 | highpc initialization here out of scan_partial_symbols. | |
928 | (scan_partial_symbols): Restructure into a recursive version, | |
929 | calling add_partial_namespace and add_partial_enumeration when | |
930 | appropriate. | |
931 | (add_partial_namespace): New. | |
932 | (add_partial_enumeration, locate_pdi_sibling): Ditto. | |
933 | ||
c9263853 AC |
934 | 2003-09-09 Andrew Cagney <[email protected]> |
935 | ||
e56a0ecc AC |
936 | * rs6000-tdep.c (ppc_push_return_address): Delete function. |
937 | (rs6000_push_dummy_call): Set LR to BP_ADDR. | |
938 | (rs6000_gdbarch_init): Do not set deprecated_push_return_address. | |
939 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
940 | ||
794a477a AC |
941 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete function. |
942 | (rs6000_push_dummy_call): Set the "TOC" register. | |
943 | ||
c9263853 AC |
944 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated |
945 | methods "max_register_raw_size", "max_register_virtual_size" or | |
946 | "register_virtual_size". | |
947 | ||
afa7d0b2 ILT |
948 | 2003-09-09 Ian Lance Taylor <[email protected]> |
949 | ||
950 | * MAINTAINERS: Update my e-mail address. | |
951 | ||
7a41266b AC |
952 | 2003-09-09 Andrew Cagney <[email protected]> |
953 | ||
954 | * rs6000-tdep.c (rs6000_store_struct_return): Delete function. | |
955 | (rs6000_push_dummy_call): Store the struct return address. | |
956 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
957 | ||
77b2b6d4 AC |
958 | 2003-09-09 Andrew Cagney <[email protected]> |
959 | ||
960 | * ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace | |
961 | "ppc_sysv_abi_push_arguments". | |
962 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace | |
963 | "ppc_sysv_abi_push_arguments". | |
964 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call" | |
965 | instead of "push_arguments". | |
966 | (rs6000_push_dummy_call): Replace "rs6000_push_arguments". | |
967 | ||
e8a7b686 AC |
968 | 2003-09-09 Andrew Cagney <[email protected]> |
969 | ||
970 | * sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS | |
971 | instead of CALL_DUMMY_ADDRESS. | |
972 | ||
f86f5ca3 PH |
973 | 2003-09-09 Paul N. Hilfinger <[email protected]> |
974 | ||
975 | * p-lang.c: Eliminate "register". | |
976 | * c-lang.c: Ditto. | |
977 | * expprint.c: Ditto. | |
978 | * f-lang.c: Ditto. | |
979 | * jv-lang.c: Ditto. | |
980 | * language.c: Ditto. | |
981 | * m2-lang.c: Ditto. | |
982 | * parse.c: Ditto. | |
983 | * scm-lang.c: Ditto. | |
984 | * objc-lang.c: Ditto. | |
985 | ||
83ee270e NC |
986 | 2003-09-09 Nick Clifton <[email protected]> |
987 | ||
988 | * v850-tdep.c (v850_processor_type_table): Add bfd_mach_v850e1. | |
989 | ||
a89aa300 AC |
990 | 2003-09-04 Andrew Cagney <[email protected]> |
991 | ||
992 | * avr-tdep.c: Include "dis-asm.h". | |
993 | * cris-tdep.c: Include "dis-asm.h". | |
994 | (cris_delayed_get_disassembler): Use "struct disassemble_info" | |
995 | instead of corresponding typedef. | |
996 | * h8300-tdep.c: Include "dis-asm.h". | |
997 | * ia64-tdep.c: Include "dis-asm.h". | |
998 | * i386-tdep.c: Include "dis-asm.h". | |
999 | (i386_print_insn): Use "struct disassemble_info" instead of | |
1000 | corresponding typedef. | |
1001 | * m68k-tdep.c: Include "dis-asm.h". | |
1002 | * mcore-tdep.c: Include "dis-asm.h". | |
1003 | * mips-tdep.c: Include "dis-asm.h". | |
1004 | (gdb_print_insn_mips): Make static, use "struct disassemble_info" | |
1005 | instead of corresponding typedef. | |
1006 | * ns32k-tdep.c: Include "dis-asm.h". | |
1007 | * s390-tdep.c: Include "dis-asm.h". | |
1008 | * sparc-tdep.c: Include "dis-asm.h". | |
1009 | * vax-tdep.c: Include "dis-asm.h". | |
1010 | * v850-tdep.c: Include "dis-asm.h". | |
1011 | * mn10300-tdep.c: Include "dis-asm.h". | |
1012 | * rs6000-tdep.c: Include "dis-asm.h". | |
1013 | * xstormy16-tdep.c: Include "dis-asm.h". | |
1014 | (_initialize_xstormy16_tdep): Delete "extern" declaration of | |
1015 | print_insn_xstormy16. | |
1016 | * Makefile.in (v850-tdep.o): Update dependencies. | |
1017 | (vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto. | |
1018 | (ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto. | |
1019 | (m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto. | |
1020 | (h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto. | |
1021 | (mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto. | |
1022 | (gdbarch_h): Remove $(dis_asm_h). | |
1023 | * disasm.c: Include "dis-asm.h". | |
1024 | (dis_asm_read_memory): Use "struct disassemble_info" instead of | |
1025 | corresponding typedef. | |
1026 | (dis_asm_memory_error, dump_insns, do_assembly_only): Ditto. | |
1027 | (gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto. | |
1028 | * gdbarch.sh: Do not include "dis-asm.h". | |
1029 | (struct disassemble_info): Declare opaque. | |
1030 | (TARGET_PRINT_INSN): Update declaration. | |
1031 | * gdbarch.h, gdbarch.c: Re-generate. | |
1032 | ||
88a82a65 AC |
1033 | 2003-09-08 Andrew Cagney <[email protected]> |
1034 | ||
1035 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename | |
1036 | CALL_DUMMY_ADDRESS, change to a predicate. | |
1037 | * gdbarch.h, gdbarch.c: Re-generate. | |
1038 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
1039 | Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address. | |
1040 | * infcall.c (call_function_by_hand): Ditto. | |
1041 | * sparc-tdep.c (sparc_push_return_address): Ditto. | |
1042 | (sparc_gdbarch_init): Set deprecated_call_dummy_address. | |
1043 | * xstormy16-tdep.c (xstormy16_push_return_address): Replace | |
1044 | CALL_DUMMY_ADDRESS with entry_point_address. | |
1045 | * v850-tdep.c (v850_push_return_address): Ditto. | |
1046 | * s390-tdep.c (s390_push_return_address): Ditto. | |
1047 | * rs6000-tdep.c (ppc_push_return_address): Ditto. | |
1048 | * mn10300-tdep.c (mn10300_push_return_address): Ditto. | |
1049 | * mcore-tdep.c (mcore_push_return_address): Ditto. | |
1050 | * cris-tdep.c (cris_push_return_address): Ditto. | |
1051 | * arm-tdep.c (arm_push_return_address): Ditto. | |
1052 | ||
3e2c4033 AC |
1053 | 2003-09-08 Andrew Cagney <[email protected]> |
1054 | ||
1055 | * dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous | |
1056 | enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED | |
1057 | and REG_UNMODIFIED to REG_SAME_VALUE. | |
1058 | (execute_cfa_program): Update. | |
1059 | (dwarf2_frame_cache): Update. Initialize table to | |
1060 | REG_UNSPECIFIED, complain if CFI fails to specify a register's | |
1061 | location. | |
1062 | (dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED. | |
1063 | ||
39efb398 AC |
1064 | 2003-09-08 Andrew Cagney <[email protected]> |
1065 | ||
1066 | * gnu-nat.c: Remove "inline" function attribute. | |
1067 | * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto. | |
1068 | ||
f5cb5aca KB |
1069 | 2003-09-08 Kevin Buettner <[email protected]> |
1070 | ||
1071 | * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V | |
1072 | target. | |
1073 | ||
1cb761c7 KB |
1074 | 2003-09-08 Kevin Buettner <[email protected]> |
1075 | ||
1076 | * frv-tdep.c (frame-unwind.h, frame-base.h): Include. | |
1077 | (frame_extra_info): Rename this struct to frv_unwind_cache. | |
1078 | Delete fields ``fp_to_callers_sp_offset'' and ``lr_saved_on_stack''. | |
1079 | Add fields ``prev_sp'' and ``base''. | |
1080 | (frv_frame_chain, frv_frame_saved_pc, frv_frame_init_saved_regs) | |
1081 | (frv_saved_pc_after_call, frv_init_extra_frame_info) | |
1082 | (frv_push_return_address, frv_pop_frame, frv_pop_frame_regular): | |
1083 | Delete. | |
1084 | (frv_analyze_prologue): Add ``struct frv_unwind_cache *'' argument. | |
1085 | Revise all callers. Fill in the unwind cache argument and make | |
1086 | other adjustments to account for new frame mechanisms. | |
1087 | (frv_frame_unwind_cache, frv_frame_align, frv_unwind_pc) | |
1088 | (frv_frame_this_id, frv_frame_prev_register, frv_frame_sniffer) | |
1089 | (frv_frame_base_address, frv_unwind_dummy_id): New functions. | |
1090 | (frv_frame_unwind, frv_frame_base): New structs. | |
1091 | (frv_push_arguments): Change name to frv_push_dummy_call(). Add | |
1092 | additional arguments expected by this method and adjust function | |
1093 | body accordingly. | |
1094 | (frv_gdbarch_init): Remove calls to the following functions: | |
1095 | set_gdbarch_deprecated_init_frame_pc(), | |
1096 | set_gdbarch_deprecated_saved_pc_after_call(), | |
1097 | set_gdbarch_deprecated_frame_chain(), | |
1098 | set_gdbarch_deprecated_frame_saved_pc(), | |
1099 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
1100 | set_gdbarch_deprecated_push_arguments(), | |
1101 | set_gdbarch_deprecated_push_return_address(), | |
1102 | set_gdbarch_deprecated_pop_frame(), | |
1103 | set_gdbarch_deprecated_call_dummy_words(), | |
1104 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
1105 | set_gdbarch_deprecated_init_extra_frame_info(), | |
1106 | set_gdbarch_deprecated_dummy_write_sp(), and | |
1107 | set_gdbarch_deprecated_pc_in_call_dummy(). | |
1108 | Add calls to the following functions: | |
1109 | set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(), | |
1110 | set_gdbarch_frame_align(), frame_unwind_append_sniffer(), and | |
1111 | frame_base_set_default(). | |
1112 | * Makefile.in (frv-tdep.o): Update dependencies. | |
1113 | ||
68f6cf99 MK |
1114 | 2003-09-09 Mark Kettenis <[email protected]> |
1115 | ||
1116 | * dwarf2-frame.c (read_encoded_value): Add support for | |
1117 | DW_EH_PE_aligned encoding. | |
1118 | ||
73b65bb0 DJ |
1119 | 2003-09-08 Daniel Jacobowitz <[email protected]> |
1120 | ||
1121 | * infrun.c (normal_stop): Don't print a message if the inferior | |
1122 | has exited. | |
1123 | ||
7c8a5605 JB |
1124 | 2003-09-08 Jim Blandy <[email protected]> |
1125 | ||
1126 | * Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h). | |
1127 | * dbxread.c: #include "gdb_assert.h". | |
1128 | (read_dbx_symtab): If the objfile has no .data section, use the | |
1129 | section index for the .bss section instead. | |
1130 | ||
7dd88986 DJ |
1131 | 2003-09-08 Daniel Jacobowitz <[email protected]> |
1132 | ||
1133 | * frame.c (deprecated_safe_get_selected_frame): New function. | |
1134 | * frame.h (deprecated_safe_get_selected_frame): Add prototype. | |
1135 | * findvar.c (read_var_value): Call it. | |
1136 | ||
55ff77ac CV |
1137 | 2003-09-08 Corinna Vinschen <[email protected]> |
1138 | ||
1139 | * Makefile.in (ALLDEPFILES): Add sh64-tdep.c. | |
1140 | (sh64-tdep.o): Add dependencies. | |
1141 | * configure.tgt: Add FIXME to sh-*-linux*. | |
1142 | * sh-tdep.c: Move sh64 support to sh64-tdep.c. | |
1143 | (sh_gdbarch_init): Always set correct sh_show_regs function | |
1144 | pointer. Call sh64_gdbarch_init() if machine type is sh5. | |
1145 | * sh-tdep.h: Move sh64 support to sh64-tdep.c. | |
1146 | * sh64-tdep.c: New file, containing all sh64 related code from | |
1147 | sh-tdep.c. | |
1148 | * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o. | |
1149 | * config/sh/linux.mt (TDEPFILES): Ditto. | |
1150 | * config/sh/nbsd.mt (TDEPFILES): Ditto. | |
1151 | * config/sh/tm-sh.h: Drop REGISTER_TYPE definition. | |
1152 | * config/sh/wince.mt (TDEPFILES): Ditto. | |
1153 | ||
bfb39158 DJ |
1154 | 2003-09-07 Daniel Jacobowitz <[email protected]> |
1155 | ||
1156 | * lin-lwp.c (detach_callback): Don't call stop_wait_callback. | |
1157 | (stop_wait_callback): Handle !lp->signalled also. | |
1158 | (lin_lwp_has_pending, flush_callback): New functions. | |
1159 | (lin_lwp_wait): Call flush_callback. | |
1160 | * linux-proc.c (linux_proc_add_line_to_sigset): New function. | |
1161 | (linux_proc_pending_signals): New function. | |
1162 | * linux-nat.h (linux_proc_pending_signals): Add prototype. | |
1163 | ||
9407de8e DJ |
1164 | 2003-09-07 Daniel Jacobowitz <[email protected]> |
1165 | ||
1166 | From Nick Kelsey <[email protected]>: | |
1167 | * infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE | |
1168 | when the stop PC is at the beginning of a function also. | |
1169 | ||
2ef47cd0 DJ |
1170 | 2003-09-06 Daniel Jacobowitz <[email protected]> |
1171 | ||
1172 | * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New. | |
1173 | (arm_linux_init_abi): Use arm_linux_arm_be_breakpoint. | |
1174 | ||
6f4492c8 MK |
1175 | 2003-09-06 Mark Kettenis <[email protected]> |
1176 | ||
1177 | * sol-thread.c: Include "gdb_string.h". | |
1178 | ||
d3420b2f MK |
1179 | 2003-09-03 Mark Kettenis <[email protected]> |
1180 | ||
1181 | * gcore.c: Reorder include files in alphabetical order. Include | |
1182 | "gdb_assert.h". Various coding style fixes. | |
1183 | (derive_stack_segment, derive_heap_segment): Replace check for | |
1184 | non-null BOTTOM and TOP with gdb_assert. | |
1185 | (derive_heap_segment): Replace check for successful creation of | |
1186 | ZERO with gdb_assert. | |
1187 | (make_mem_sec): Use bfd_section_lma to set OSEC->lma. | |
1188 | ||
5220ea4c AC |
1189 | 2003-09-04 Andrew Cagney <[email protected]> |
1190 | ||
1191 | * thread-db.c (verbose_dlsym): New function. | |
1192 | (thread_db_load): Use verbose_dlsym | |
1193 | (thread_db_new_objfile): Print that libthread_db was loaded, and | |
1194 | that thread debugging was enabled. | |
1195 | ||
6e8c2c06 AC |
1196 | 2003-09-04 Andrew Cagney <[email protected]> |
1197 | ||
1198 | * configure.tgt: Add "mips64*-*-*" target. Delete | |
1199 | mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*, | |
1200 | mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*, | |
1201 | mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*, | |
1202 | mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*, | |
1203 | mips*-sony-*, and mips64*-*-elf* targets. | |
1204 | * config/mips/embedl.mt: Delete file. | |
1205 | * config/mips/embedl64.mt: Delete file. | |
1206 | * config/mips/mips.mt: Delete file. | |
1207 | * config/mips/mips64.mt: Delete file. | |
1208 | * config/mips/tm-embed.h: Delete file. | |
1209 | * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h". | |
1210 | * config/mips/embed64.mt: Delete out-of-date comment. | |
1211 | ||
3a3bc038 AC |
1212 | 2003-09-04 Andrew Cagney <[email protected]> |
1213 | ||
1214 | * hppa-tdep.c (hppa_gdbarch_init): Set | |
1215 | "have_nonsteppable_watchpoint". | |
1216 | * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
1217 | * mips-tdep.c (mips_dump_tdep): Do not print | |
1218 | HAVE_NONSTEPPABLE_WATCHPOINT. | |
1219 | (mips_gdbarch_init): Set "have_nonsteppable_watchpoint". | |
1220 | * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
1221 | * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
1222 | * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
1223 | ||
a957e642 CV |
1224 | 2003-09-04 Corinna Vinschen <[email protected]> |
1225 | ||
1226 | * breakpoint.c (watchpoint_check): Remove accidentally checked in | |
1227 | unused code. Add comment. | |
1228 | ||
a6fbcf2f CV |
1229 | 2003-09-04 Corinna Vinschen <[email protected]> |
1230 | ||
1231 | * breakpoint.c (watchpoint_check): Check for pc being in an | |
1232 | epilogue if watchpoint frame couldn't be found. | |
1233 | ||
c14a44d5 AC |
1234 | 2003-09-04 Andrew Cagney <[email protected]> |
1235 | ||
1236 | * Makefile.in: Re-generate all dependencies. | |
1237 | ||
f6c40618 AC |
1238 | 2003-09-03 Andrew Cagney <[email protected]> |
1239 | ||
1240 | * arch-utils.h (legacy_print_insn): Delete declaration. | |
1241 | * arch-utils.c (legacy_print_insn): Delete function. | |
1242 | * disasm.c (deprecated_tm_print_insn_info): Delete. | |
1243 | (_initialize_disasm): Delete function, contained code initializing | |
1244 | deprecated_tm_print_insn_info. | |
1245 | * gdbarch.sh (deprecated_tm_print_insn): Delete. | |
1246 | (deprecated_tm_print_insn_info): Delete. | |
1247 | (TARGET_PRINT_INSN): Do not provide a default. | |
1248 | * gdbarch.h, gdbarch.c: Re-generate. | |
1249 | ||
242e8be5 AC |
1250 | 2003-09-03 Andrew Cagney <[email protected]> |
1251 | ||
1252 | * disasm.c (fprintf_disasm): New function. | |
1253 | (gdb_disassemble_info): Call "init_disassemble_info", instead of | |
1254 | INIT_DISASSEMBLE_INFO_NO_ARCH. Do not initialize "insn_sets", | |
1255 | reverts 2003-08-14 change. | |
1256 | (_initialize_disasm): Call "init_disassemble_info", instead of | |
1257 | INIT_DISASSEMBLE_INFO_NO_ARCH. | |
1258 | ||
3ffc3dda MS |
1259 | 2003-09-03 Michael Snyder <[email protected]> |
1260 | ||
1261 | * config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch]. | |
1262 | ||
52d16ba8 AC |
1263 | 2003-09-03 Andrew Cagney <[email protected]> |
1264 | ||
1265 | * config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition. | |
1266 | * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define. | |
1267 | * symfile.c (syms_from_objfile): Update. | |
1268 | (reread_symbols): `Update | |
1269 | * exec.c (exec_file_attach): Update. | |
1270 | (exec_file_attach): Update. | |
1271 | * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert | |
1272 | 2003-08-29 change. | |
1273 | * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET. | |
1274 | ||
eb5492fa DJ |
1275 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
1276 | ||
1277 | * arm-tdep.c: Include frame-unwind.h, frame-base.h, and | |
1278 | trad-frame.h. | |
1279 | (arm_get_cache): Delete macro. | |
1280 | (struct arm_prologue_cache): Update comments. Make saved_regs into | |
1281 | a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp | |
1282 | to prev_sp. | |
1283 | (thumb_scan_prologue): Update for cache changes. Don't call | |
1284 | DEPRECATED_PC_IN_CALL_DUMMY. | |
1285 | (arm_scan_prologue): Update for cache changes. Take NEXT_FRAME | |
1286 | argument and use it in desperation search for our prologue. Do not | |
1287 | search past the specified PC. | |
1288 | (arm_make_prologue_cache): Simplify. | |
1289 | ||
1290 | (arm_prologue_this_id, arm_prologue_prev_register) | |
1291 | (arm_prologue_unwind, arm_prologue_unwind_sniffer) | |
1292 | (arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache) | |
1293 | (arm_sigtramp_this_id, arm_sigtramp_prev_register) | |
1294 | (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer) | |
1295 | (arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New. | |
1296 | ||
1297 | (arm_frame_chain_valid, arm_find_callers_reg) | |
1298 | (arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs) | |
1299 | (arm_pop_frame): Delete obsolete methods. | |
1300 | (arm_minimal_frame_chain, arm_minimal_frame_info): Delete. | |
1301 | ||
1302 | (arm_gdbarch_init): Update for new frame methods. Register prologue | |
1303 | and sigtramp unwinders. Set the default frame base method. | |
1304 | ||
1305 | * Makefile.in (arm-tdep.o): Update dependencies. | |
1306 | * varobj.c (find_frame_addr_in_frame_chain): Call | |
1307 | get_frame_base_address. | |
1308 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
1309 | ||
24de872b DJ |
1310 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
1311 | ||
1312 | * arm-tdep.c (arm_minimal_frame_chain): Renamed from | |
1313 | arm_frame_chain. Take NEXT_FRAME and CACHE arguments. | |
1314 | Use the cache instead of DEPRECATED_FRAME_SAVED_PC. | |
1315 | (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info. | |
1316 | Take NEXT_FRAME and CACHE arguments. Call | |
1317 | FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument. | |
1318 | Set unwound_pc in CACHE instead of modifying the frame argument. | |
1319 | Don't bother checking the frame type when looking for sigtramp | |
1320 | frames. | |
1321 | (arm_make_prologue_cache, arm_frame_chain) | |
1322 | (arm_init_extra_frame_info): New functions. | |
1323 | ||
9b8d791a DJ |
1324 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
1325 | ||
1326 | * arm-tdep.c (arm_get_cache): Define. | |
1327 | (struct arm_prologue_cache): Renamed from frame_extra_info. Add | |
1328 | unwound_sp, unwound_pc, and saved_regs. | |
1329 | (thumb_scan_prologue): Take a cache instead of the frame. | |
1330 | (arm_scan_prologue): Likewise. | |
1331 | (arm_frame_chain): Create a temporary cache for arm_scan_prologue | |
1332 | instead of a temporary frame. | |
1333 | (arm_init_extra_frame_info): Allocate and use a cache. | |
1334 | (arm_frame_saved_pc, arm_pop_frame): Use the cache. | |
1335 | ||
7ee3275f AC |
1336 | 2003-09-03 Andrew Cagney <[email protected]> |
1337 | ||
1338 | * config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS. | |
1339 | * config/mips/wince.mt (TM_CLIBS): Ditto. | |
1340 | * config/sh/wince.mt (TM_CLIBS): Ditto. | |
1341 | * config/pa/hppa64.mt (TM_CLIBS): Delete. | |
1342 | * config/sparc/sp64.mt (CC): Delete. | |
1343 | ||
57b29be7 AC |
1344 | 2003-09-03 Andrew Cagney <[email protected]> |
1345 | ||
1346 | * defs.h: Do not include "arch-utils.h". | |
1347 | (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or | |
1348 | GDB_MULTI_ARCH_PURE. | |
1349 | * configure.in (GDB_MULTI_ARCH): Do not define. | |
1350 | * configure, config.in: Regenerate. | |
1351 | * configure.tgt: Do not set variable "gdb_multi_arch". | |
1352 | * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. | |
1353 | * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. | |
1354 | * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. | |
1355 | * config/v850/v850.mt (TM_FILE): Delete disabled definition. | |
1356 | * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. | |
1357 | * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. | |
1358 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. | |
1359 | * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. | |
1360 | * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. | |
1361 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. | |
1362 | * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. | |
1363 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. | |
1364 | * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. | |
1365 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. | |
1366 | * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. | |
1367 | * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. | |
1368 | * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. | |
1369 | * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition. | |
1370 | ||
12e035e2 MC |
1371 | 2003-08-30 Michael Chastain <[email protected]> |
1372 | ||
1373 | * Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h. | |
1374 | * config/m68k/nm-hp300hpux.h: Delete. | |
1375 | * config/m68k/tm-hp300hpux.h: Delete. | |
1376 | * config/m68k/xm-hp300hpux.h: Delete. | |
1377 | * config/m68k/xm-hp300bsd.h: Delete. | |
1378 | * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h, | |
1379 | tm-hp300hpux.h, xm-hp300hpux.h. | |
1380 | * somsolib.c: Remove comment about hp300 shared libraries. | |
1381 | ||
bda34dc2 MK |
1382 | 2003-08-31 Mark Kettenis <[email protected]> |
1383 | ||
5bca7895 MK |
1384 | * i386-linux-nat.c (ps_get_thread_area): Don't define as extern. |
1385 | Only define PTRACE_GET_THREAD_AREA is not already defined. | |
1386 | Various style fixes in code and comments and some additional | |
1387 | spelling fixes in comments. Move after functions dealing with | |
1388 | debug registers. | |
1389 | * x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern. | |
1390 | Fix coding-style. | |
1391 | ||
bda34dc2 MK |
1392 | * alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use |
1393 | frame_unwind_register_unsigned instead of | |
1394 | frame_unwind_unsigned_register. | |
1395 | ||
c890192f MK |
1396 | 2003-08-30 Mark Kettenis <[email protected]> |
1397 | ||
1398 | * configure.in: Search for gethostbyname in libnsl. | |
1399 | * configure: Regenerated. | |
1400 | ||
60fac5b8 MK |
1401 | 2003-08-29 Mark Kettenis <[email protected]> |
1402 | ||
e294916c MK |
1403 | * configure.in: Remove redundant AC_MSG_RESULT in check for |
1404 | uintptr_t in stdint.h. | |
1405 | * configure: Regenerated. | |
1406 | ||
c40d267a MK |
1407 | * amd64-nat.h (struct regcache): Add opaque declaration. |
1408 | ||
60fac5b8 MK |
1409 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define. |
1410 | * x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h". | |
1411 | Change "register array" to "register cache" in comments. | |
1412 | (x86_64_linux_gregset64_reg_offset): New variable. | |
1413 | (GETREGS_SUPPLIES): Remove macro. | |
1414 | (supply_gregset): Call amd64_supply_native_gregset instead of | |
1415 | x86_64_linux_supply_gregset. | |
1416 | (fill_gregset): Rename `regno' to `regnum'. Call | |
1417 | amd64_collect_native_gregset instead of x86_64_linux_fill_gregset. | |
1418 | (store_regs): Rename `regno' to `regnum'. | |
1419 | (store_fpregs): Rename `regno' to `regnum'. | |
1420 | (fetch_inferior_registers): Rename `regno' to `regnum'. Use | |
1421 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
1422 | Reorganize function a bit. | |
1423 | (store_inferior_registers): Rename `regno' to `regnum'. Use | |
1424 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
1425 | Reorganize function a bit. | |
1426 | (_initialize_x86_64_linux_nat): New function. | |
1427 | * config/i386/x86-64linux.mh. | |
1428 | ||
546143b6 AC |
1429 | 2003-08-29 Andrew Cagney <[email protected]> |
1430 | ||
1431 | * config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro. | |
1432 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro. | |
1433 | (target_remove_watchpoint): Delete macro. | |
1434 | (target_insert_watchpoint): Delete macro. | |
1435 | (remote_mips_can_use_hardware_watchpoint): Delete declaration. | |
1436 | (remote_mips_stopped_by_watchpoint): Delete declaration. | |
1437 | (remote_mips_remove_watchpoint): Delete declaration. | |
1438 | (remote_mips_set_watchpoint): Delete declaration. | |
1439 | (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro. | |
1440 | * remote-mips.c (_initialize_remote_mips): Set | |
1441 | "to_insert_watchpoint", "to_stopped_by_watchpoint", | |
1442 | "to_can_use_hardware_watchpoint", and "to_remove_watchpoint". | |
1443 | (mips_insert_watchpoint): Rename remote_mips_set_watchpoint. | |
1444 | (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint. | |
1445 | (mips_stopped_by_watchpoint): Rename | |
1446 | remote_mips_stopped_by_watchpoint. | |
1447 | (mips_can_hardware_watchpoint): Rename | |
1448 | remote_mips_can_use_hardware_watchpoint, update function | |
1449 | signature. | |
1450 | ||
7bace51b MK |
1451 | 2003-08-29 Mark Kettenis <[email protected]> |
1452 | ||
b0f5c6f2 MK |
1453 | * x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and |
1454 | USER_DS. We haven't given them a register number yet. | |
1455 | ||
2a6d284d MK |
1456 | * amd64-nat.h: New file. |
1457 | * amd64-nat.c: New file. | |
1458 | * amd64fbsd-nat.c: Include "amd64-nat.h". | |
1459 | (REG_ADDR, GETREGS_SUPPLIES): Remove macros. | |
1460 | (amd64fbsd32_r_reg_offset): New variable. | |
1461 | (supply_gregset): Simply call amd64_supply_native_gregset. | |
1462 | (fill_gregset): Rename `regno' to `regnum'. Simply call | |
1463 | amd64_collect_native_gregset. | |
1464 | (fill_fpregset): Rename `regno' to `regnum'. | |
1465 | (fetch_inferior_registers): Rename `regno' to `regnum'. Replace | |
1466 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
1467 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
1468 | `fpregset_t'. Call amd64_supply_native_gregset instead of | |
1469 | supply_gregset. Call x86_64_supply_fxsave instead of | |
1470 | supply_fpregset. | |
1471 | (store_inferior_registers): Rename `regno' to `regnum'. Replace | |
1472 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
1473 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
1474 | `fpregset_t'. Call amd64_collect_native_gregset instead of | |
1475 | fill_gregset. Call x86_64_collect_fxsave instead of | |
1476 | fill_fpregset. | |
1477 | (_initialize_am64fbsd_nat): Initialize | |
1478 | amd64_native_gregset32_reg_offset and | |
1479 | amd64_native_gregset64_reg_offset. | |
1480 | * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o. | |
1481 | ||
a16d75cc MK |
1482 | * regcache.c (regcache_raw_supply): Don't assert that BUF isn't a |
1483 | null pointer. Fix typo in comment. | |
1484 | ||
7bace51b MK |
1485 | * regcache.c (supply_register): Reimplement to call |
1486 | regcache_raw_supply. | |
1487 | (regcache_collect): Reimplement by calling regcache_raw_collect. | |
1488 | ||
9a661b68 MK |
1489 | 2003-08-28 Mark Kettenis <[email protected]> |
1490 | ||
1491 | * regcache.c (register_buffer): Consitify first argument. | |
1492 | (regcache_raw_supply, regcache_raw_collect): New | |
1493 | functions. | |
1494 | ||
e94cc8fa DJ |
1495 | 2003-08-28 Daniel Jacobowitz <[email protected]> |
1496 | ||
1497 | * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. Suggested | |
1498 | by Nathan J. Williams. | |
1499 | ||
c64bd0ce DJ |
1500 | 2003-08-28 Daniel Jacobowitz <[email protected]> |
1501 | ||
1502 | * lin-lwp.c (wait_lwp): New function, copied from | |
1503 | stop_wait_callback. Clean up. | |
1504 | (stop_wait_callback): Use wait_lwp. | |
1505 | ||
e5ab0dce AC |
1506 | 2003-08-28 Andrew Cagney <[email protected]> |
1507 | ||
1508 | * mips-tdep.c (gdb_print_insn_mips): Set the disassembler's | |
1509 | flavour and disassembler options. | |
1510 | (_initialize_mips_tdep): Do not set deprecated_tm_print_insn. | |
1511 | (mips_gdbarch_init): Set "print_insn". Delete initialization of | |
1512 | deprecated_tm_print_insn_info. | |
1513 | ||
a788de9b AC |
1514 | 2003-08-27 Andrew Cagney <[email protected]> |
1515 | ||
1516 | * s390-tdep.c (s390_readinstruction): Delete "info" parameter. | |
1517 | Use target_read_memory. | |
1518 | (s390_get_frame_info): Update. Do not reference | |
1519 | deprecated_tm_print_insn_info. | |
1520 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
1521 | ||
36482093 AC |
1522 | 2003-08-27 Andrew Cagney <[email protected]> |
1523 | ||
1524 | * Makefile.in (cris-tdep.o): Update dependencies. | |
1525 | * cris-tdep.c: Include "gdb_assert.h". | |
1526 | (cris_gdbarch_init): Set print_insn. | |
1527 | (_initialize_cris_tdep): Do not set deprecated_tm_print_insn. | |
1528 | (cris_delayed_get_disassembler): Simplify, directly call the | |
1529 | disassembler returned by cris_get_disassembler. | |
1530 | * hppa-tdep.c (hppa_gdbarch_init): Set print_insn. | |
1531 | (_initialize_hppa_tdep): Do not set deprecated_tm_print_insn. | |
1532 | * ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn. | |
1533 | (_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn. | |
1534 | * mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn. | |
1535 | (_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn. | |
1536 | * mcore-tdep.c (mcore_gdbarch_init): Set print_insn. | |
1537 | (_initialize_mcore_tdep): Do not set deprecated_tm_print_insn. | |
1538 | * frv-tdep.c (frv_gdbarch_init): Set print_insn. | |
1539 | (_initialize_frv_tdep): Do not set deprecated_tm_print_insn. | |
1540 | * sparc-tdep.c (sparc_gdbarch_init): Set print_insn. | |
1541 | (gdb_print_insn_sparc): Delete function. | |
1542 | (_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or | |
1543 | deprecated_tm_print_insn_info. | |
1544 | * v850-tdep.c (v850_gdbarch_init): Set print_insn. | |
1545 | (_initialize_v850_tdep): Do not set deprecated_tm_print_insn. | |
1546 | (v850_gdbarch_init): Do not set deprecated_tm_print_insn_info. | |
1547 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn. | |
1548 | (_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn. | |
1549 | * s390-tdep.c (gdb_print_insn_s390): Delete function. | |
1550 | (_initialize_s390_tdep): Do not set deprecated_tm_print_insn. | |
1551 | (s390_gdbarch_init): Set print_insn. | |
1552 | ||
0285512f AC |
1553 | 2003-08-27 Andrew Cagney <[email protected]> |
1554 | ||
1555 | * ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function. | |
1556 | (ppc_linux_init_abi): For PPC64, do not set call_dummy_address. | |
1557 | * infcall.c (call_function_by_hand): Convert the entry point | |
1558 | address into a code address. | |
1559 | ||
cdcd5552 AC |
1560 | 2003-08-27 Andrew Cagney <[email protected]> |
1561 | ||
1562 | * dsrec.c: Include "gdb_string.h". | |
1563 | * Makefile.in (dsrec.o): Update dependencies. | |
1564 | ||
e85cddad MC |
1565 | 2003-08-27 Michael Chastain <[email protected]> |
1566 | ||
1567 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*. | |
1568 | ||
8bbfbb23 AC |
1569 | 2003-08-27 Andrew Cagney <[email protected]> |
1570 | ||
1571 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function. | |
1572 | (alpha_osf1_init_abi): Do not set call_dummy_address. | |
1573 | ||
ba058b66 DC |
1574 | 2003-08-27 David Carlton <[email protected]> |
1575 | ||
1576 | From Randolph Chung <[email protected]>: | |
1577 | * linux-proc.c (linux_info_proc_cmd): rework the code so that it | |
1578 | compiles with -Wformat-nonliteral -Werror. | |
1579 | ||
87f84c9d JB |
1580 | 2003-08-26 Jim Blandy <[email protected]> |
1581 | ||
1582 | * solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument. | |
1583 | (enable_break): Pass SEC_CODE as the SECT_FLAGS argument to | |
1584 | bfd_lookup_symbol, since we only want symbols in code sections. | |
1585 | (look_for_base): Pass zero as the SECT_FLAGS argument to | |
1586 | bfd_lookup_symbol, since we're not concerned about which section | |
1587 | the symbol is in. | |
1588 | ||
102d615a JJ |
1589 | 2003-08-26 Jeff Johnston <[email protected]> |
1590 | ||
1591 | * ia64-tdep.c (examine_prologue): Only stop at predicated insns if | |
1592 | we are frameless or the return address register is already known. | |
1593 | ||
cc7ad3ea AC |
1594 | 2003-08-26 Andrew Cagney <[email protected]> |
1595 | ||
1596 | * i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s | |
1597 | in size. Add comments. | |
1598 | ||
af8b88dd JJ |
1599 | 2003-08-26 Jeff Johnston <[email protected]> |
1600 | ||
1601 | * ia64-tdep.c (ia64_convert_from_func_addr): New function. | |
1602 | (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr(). | |
1603 | ||
e0a4f5a1 JM |
1604 | 2003-08-26 Jason Merrill <[email protected]> |
1605 | ||
1606 | * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name | |
1607 | case out of #ifdef MIPS block. | |
1608 | ||
4ae9ee8e DJ |
1609 | 2003-08-25 Daniel Jacobowitz <[email protected]> |
1610 | ||
1611 | PR java/1322 | |
1612 | * dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are | |
1613 | available before calling SECT_OFF_TEXT. | |
3c164570 | 1614 | * PROBLEMS: Remove description of java/1322. |
4ae9ee8e | 1615 | |
004d836a JJ |
1616 | 2003-08-25 Jeff Johnston <[email protected]> |
1617 | ||
1618 | * ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63, | |
1619 | bof, and nat0-nat127 as pseudo-registers. | |
1620 | (ia64_frame_cache): New struct used to cache frame info. | |
1621 | (ia64_register_reggroup_p): New routine used to override default | |
1622 | register grouping so registers without names are still saved and | |
1623 | restored. | |
1624 | (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their | |
1625 | pseudo values. | |
1626 | (ia64_pseudo_register_read): New routine to read pseudo-registers. | |
1627 | (ia64_pseudo_register_write): New routine to write pseudo-registers. | |
1628 | (ia64_alloc_frame_cache): New routine to create a new | |
1629 | ia64_frame_cache. | |
1630 | (examine_prologue): Change prototype to add next_frame pointer. | |
1631 | Assume frameless until otherwise proven. Verify that the cfm for | |
1632 | current frame matches the cfm that should occur for the prologues | |
1633 | alloc insn and if equal, mark as not frameless. At end of routine, | |
1634 | if not frameless, calculate registers for the previous frame and store | |
1635 | in the cache, if a cache is provided. | |
1636 | (ia64_skip_prologue): Use new prototype when calling examine_prologue | |
1637 | and pass 0 for next_frame. | |
1638 | (ia64_store_return_value): Change to use convert_typed_floating() | |
1639 | instead of calling ia64_convert_to_raw(). | |
1640 | (ia64_extract_return_value): Change to use convert_typed_floating() | |
1641 | instead of calling ia64_convert_to_virtual(). | |
1642 | (ia64_frame_cache): New routine to support new frame model. | |
1643 | (ia64_frame_this_id, ia64_frame_prev_register): Ditto. | |
1644 | (ia64_frame_sniffer): Ditto. | |
1645 | (ia64_sigtramp_frame_init_saved_regs): Ditto. | |
1646 | (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto. | |
1647 | (ia64_sigtramp_frame_prev_register): Ditto. | |
1648 | (ia64_sigtramp_frame_sniffer): Ditto. | |
1649 | (ia64_frame_base_address): Ditto. | |
1650 | (ia64_extract_struct_value_address): Change to issue error message. | |
1651 | (ia64_frame_align): New routine to align sp. | |
1652 | (ia64_push_dummy_call): New routine based on ia64_push_arguments(). | |
1653 | (ia64_push_arguments): Removed. Logic moved to | |
1654 | ia64_push_dummy_call(). | |
1655 | (ia64_push_return_address): Ditto. | |
1656 | (ia64_unwind_dummy_id): New function. | |
1657 | (ia64_unwind_pc): Ditto. | |
1658 | (ia64_convert_register_p): Ditto. | |
1659 | (ia64_register_to_value): Ditto. | |
1660 | (ia64_value_to_register): Ditto. | |
1661 | (ia64_pop_frame, ia64_pop_frame_regular): Removed. | |
1662 | (ia64_register_byte, ia64_register_raw_size): Ditto. | |
1663 | (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto. | |
1664 | (ia64_saved_pc_after_call): Ditto. | |
1665 | (ia64_frame_chain, ia64_frame_saved_pc): Ditto. | |
1666 | (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto. | |
1667 | (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto. | |
1668 | (ia64_register_convert_to_raw): Ditto. | |
1669 | (ia64_store_struct_return, ia64_call_dummy_words): Ditto. | |
1670 | (ia64_init_extra_frame_info): Ditto. | |
1671 | (ia64_frame_args_address, ia64_frame_locals_address): Ditto. | |
1672 | (ia64_gdbarch_init): Remove registering of deprecated functions that | |
1673 | are no longer used. Add registration of new gdbarch functions. | |
1674 | Remove registering deprecated_write_sp. Replace | |
1675 | set_gdbarch_register_virtual_type() with set_gdbarch_register_type(). | |
1676 | Delete set_gdbarch_deprecated_register_convertible(), | |
1677 | set_gdbarch_deprecated_register_convert_to_virtual(), and | |
1678 | set_gdbarch_deprecated_register_convert_to_raw() calls. Remove | |
1679 | set_gdbarch_deprecated_register_size(), | |
1680 | set_gdbarch_deprecated_register_bytes(), | |
1681 | set_gdbarch_pcregnum(), | |
1682 | set_gdbarch_deprecated_register_byte(), | |
1683 | set_gdbarch_deprecated_register_raw_size(), | |
1684 | set_gdbarch_deprecated_max_register_raw_size(), | |
1685 | set_gdbarch_deprecated_register_virtual_size(), | |
1686 | and set_gdbarch_deprecated_max_register_virtual_size() calls. | |
1687 | Replace set_gdbarch_deprecated_extract_return_value() with | |
1688 | set_gdbarch_extract_return_value(). Remove calls to: | |
1689 | set_gdbarch_deprecated_saved_pc_after_call(); | |
1690 | set_gdbarch_deprecated_frame_chain(), | |
1691 | set_gdbarch_deprecated_frame_saved_pc(), | |
1692 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
1693 | set_gdbarch_deprecated_get_saved_register(), | |
1694 | set_gdbarch_deprecated_call_dummy_words(), | |
1695 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
1696 | set_gdbarch_deprecated_init_extra_frame_info(), | |
1697 | set_gdbarch_deprecated_frame_args_address(), | |
1698 | set_gdbarch_deprecated_frame_locals_address(), | |
1699 | and set_gdbarch_deprecated_dummy_write_sp(). | |
1700 | Add set_gdbarch_convert_register_p(), | |
1701 | set_gdbarch_register_to_value(), | |
1702 | set_gdbarch_value_to_register(), | |
1703 | set_gdbarch_push_dummy_call(), | |
1704 | set_gdbarch_frame_align(), | |
1705 | set_gdbarch_unwind_dummy_id(), | |
1706 | set_gdbarch_unwind_pc(), | |
1707 | frame_unwind_append_sniffer(), | |
1708 | frame_unwind_append_sniffer(), | |
1709 | and frame_base_set_default(). | |
1710 | ||
aede7613 CD |
1711 | 2003-08-25 Chris Demetriou <[email protected]> |
1712 | ||
1713 | * configure.tgt: Document need for special "mipsisa64" handling. | |
1714 | (mipsisa64*-*-linux64): Handle as target linux64. | |
1715 | (mipsisa64*-*-*): Handle as target embed64. | |
1716 | ||
43c3a82e MC |
1717 | 2003-08-18 Michael Chastain <[email protected]> |
1718 | ||
1719 | * PROBLEMS: Document pr gdb/1322, the Java anonymous | |
1720 | objfile bug. | |
1721 | ||
6564f77d MK |
1722 | 2003-08-24 Mark Kettenis <[email protected]> |
1723 | ||
2de139ba MK |
1724 | * i387-tdep.h: Update copyright date. |
1725 | (I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines. | |
1726 | ||
6564f77d MK |
1727 | * linux-proc.c (linux_proc_xfer_memory): Remove comment about |
1728 | CFLAGS games to reflect reality. | |
1729 | ||
42cf1509 AC |
1730 | 2003-08-24 Andrew Cagney <[email protected]> |
1731 | ||
1732 | * arm-tdep.c (_initialize_arm_tdep): Simplify by assuming | |
1733 | GDB_MULTI_ARCH is always non-zero. | |
1734 | * osabi.c (_initialize_gdb_osabi): Ditto. | |
1735 | (gdbarch_init_osabi): Ditto. | |
1736 | * sparc-tdep.c: Ditto for #if code. | |
1737 | ||
0485f6ad MK |
1738 | 2003-08-23 Mark Kettenis <[email protected]> |
1739 | ||
1740 | * x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument. | |
1741 | Update comments. | |
1742 | * x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype. Update | |
1743 | comments. | |
1744 | * x86-64-linux-tdep.c (fetch_core_registers): Adjust call to | |
1745 | x86_64_supply_fxsave. | |
1746 | * x86-64-linux-nat.c (supply_fpregset): Adjust call to | |
1747 | x86_64_supply_fxsave. | |
1748 | * amd64fbsd-nat.c (supply_fpregset): Adjust call to | |
1749 | x86_64_supply_fxsave. | |
1750 | ||
c7716133 AJ |
1751 | 2003-08-23 Andreas Jaeger <[email protected]> |
1752 | ||
1753 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to | |
1754 | i387_supply_fxsave. | |
1755 | ||
ed504bdf MK |
1756 | 2003-08-23 Mark Kettenis <[email protected]> |
1757 | ||
1758 | * go32-nat.c (fetch_register): Call i387_supply_fsave instead of | |
1759 | i387_supply_register. | |
1760 | (go32_fetch_registers): Adjust call to i387_supply_fsave. | |
1761 | * i386nbsd-tdep.c (fetch_core_registers): Adjust call to | |
1762 | i387_supply_fsave. | |
1763 | (fetch_elfcore_registers): Adjust call to i387_supply_fsave and | |
1764 | i387_supply_fxsave. | |
1765 | * i386obsd-tdep.c (fetch_core_registers): Adjust call to | |
1766 | i387_supply_fsave. | |
1767 | * i386bsd-nat.c (supply_fpregset): Adjust call to | |
1768 | i387_supply_fsave. | |
1769 | (fetch_inferior_registers): Remove extraneous whitespace. Adjust | |
1770 | call to i387_supply_fxsave. Call i387_supply_fsave instead of | |
1771 | supply_fpregset. | |
1772 | (store_inferior_registers): Remove extraneous whitespace. Call | |
1773 | i387_fill_fsave instead of fill_fpregset. | |
1774 | * i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave. | |
1775 | (supply_fpregset): Likewise. | |
1776 | * i386v4-nat.c (supply_fpregset): Adjust call to | |
1777 | i387_supply_fsave. | |
1778 | * i386-interix-nat.c (supply_fpregset): Adjust call to | |
1779 | i387_supply_fsave. | |
1780 | * i386-linux-nat.c (supply_fpregset): Adjust call to | |
1781 | i387_supply_fsave. | |
1782 | (supply_fpxregset): Adjust call to i387_adjust_fxsave. | |
1783 | * i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to | |
1784 | i387supply_fsave and i387_supply_fxsave. | |
1785 | * i387-tdep.c (i387_supply_fsave): Add `regnum' argument. | |
1786 | Incorporate code from `i387_supply_register. | |
1787 | (i387_supply_register): Remove. | |
1788 | (i387_supply_fxsave): Add `regnum' argument. | |
1789 | Update comments. | |
1790 | * i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust | |
1791 | prototype. | |
1792 | (i387_supply_register): remove prototype. | |
1793 | Update comments. | |
1794 | ||
4be5d520 MC |
1795 | 2003-08-22 Michael Chastain <[email protected]> |
1796 | ||
1797 | * config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*. | |
1798 | Add lines for files in gdb/testsuite/gdb.cp/* that are | |
1799 | still not 8.3 unique. | |
1800 | ||
7ed85d26 DJ |
1801 | 2003-08-22 Daniel Jacobowitz <[email protected]> |
1802 | ||
1803 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether | |
1804 | TYPE_VPTR_FIELDNO is valid. | |
1805 | ||
eb0d3137 MK |
1806 | 2003-08-19 Mark Kettenis <[email protected]> |
1807 | ||
1808 | * utils.c (set_width_command): Remove prototypes. | |
1809 | (set_screen_size): New prototype. | |
1810 | (init_page_info): Simplify by fetching the screen size from | |
1811 | Readline. Call set_screen_size. | |
1812 | (set_screen_size): New function. | |
1813 | (set_width): Add missing whitespace in comment. | |
1814 | (set_width_command): Call set_screen_size. | |
1815 | (set_height_command): New function. | |
1816 | (initialize_utils): Fix formatting. Make "set height" command | |
1817 | call set_height_command. Remove redundant code that turns off | |
1818 | pagination if output isn't a terminal. Remove redundant call to | |
1819 | set_width_command. | |
1820 | ||
7e6d0ac8 MK |
1821 | 2003-08-22 Mark Kettenis <[email protected]> |
1822 | ||
3567a8ea MK |
1823 | * sparc64-tdep.h (sparc64_regnum): Fix comment. |
1824 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes. | |
1825 | (sparc_supply_rwindow, sparc_fill_rwindow): New prototypes. | |
1826 | * sparc64-tdep.c (sparc64_pseudo_register_read): Add missing | |
1827 | `case' keyword. | |
1828 | (sparc64_register_info): Give the reister with number | |
1829 | SPARC64_STATE_REGNUM a name. | |
1830 | (sparc64_pseudo_register_write): Add support for %cwp, %pstate, | |
1831 | %asi and %ccr. | |
1832 | (sparc64_push_dummy_call): Take BIAS into account when checking | |
1833 | stcak alignment. | |
1834 | (sparc_software_single_step): Remove assertions that check whether | |
1835 | NPC and NNPC were zero. | |
1836 | (sparc_supply_rwindow): Make public. Merge functionality with | |
1837 | sparc64_supply_rwindow. | |
1838 | (sparc_fill_rwindow): Make public. Merge functionality with | |
1839 | sparc64_fill_rwindow. | |
1840 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove. | |
1841 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set | |
1842 | SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p. | |
1843 | * sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call | |
1844 | sparc_supply_rwindow instead of sparc64_supply_rwindow. | |
1845 | ||
7e6d0ac8 MK |
1846 | * reggroups.c: Add whitespace after declarations of local |
1847 | variables in functions. | |
1848 | ||
72e5f484 MC |
1849 | 2003-08-21 Michael Chastain <[email protected]> |
1850 | ||
1851 | * gdbtypes.h: Change array bound type from an int to enum. | |
1852 | ||
435ac228 AC |
1853 | 2003-08-21 Andrew Cagney <[email protected]> |
1854 | ||
1855 | * config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code. | |
1856 | * config/sparc/tm-sparc.h: Ditto. | |
1857 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH | |
1858 | unconditionally. | |
1859 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto. | |
1860 | ||
0d0e1a63 MK |
1861 | 2003-07-13 Mark Kettenis <[email protected]> |
1862 | ||
1863 | * objfiles.h (struct objfile): Add memebers `data' and `num_data'. | |
1864 | (register_objfile_data, set_objfile_data, objfile_data): New | |
1865 | prototypes. | |
1866 | * objfiles.c (objfile_alloc_data, objfile_free_data): New | |
1867 | prototypes. | |
1868 | (allocate_objfile): Call objfile_alloc_data. | |
1869 | (free_objfile): Call objfile_free_data. | |
1870 | (struct objfile_data): New. | |
1871 | (struct objfile_data_registration): New. | |
1872 | (struct objfile_data_registry): New. | |
1873 | (objfile_data_registry): New variable. | |
1874 | (register_objfile_data): New function. | |
1875 | (objfile_alloc_data, objfile_free_data): New functions. | |
1876 | (set_objfile_data, objfile_data): New functions. | |
1877 | * dwarf2-frame.c (dwarf2_frame_data): New variable. | |
1878 | (dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism. | |
1879 | (_initialize_dwarf2_frame): New function and prototype. | |
1880 | ||
d90cf509 AC |
1881 | 2003-08-21 Andrew Cagney <[email protected]> |
1882 | ||
1883 | * sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select | |
1884 | a specific architecture. | |
1885 | * arch-utils.h (set_architecture_from_arch_mach): Delete | |
1886 | declaration. | |
1887 | (target_architecture_hook): Delete declaration. | |
1888 | * arch-utils.c: Delete non GDB_MULTI_ARCH includes. | |
1889 | (default_float_format): Assume GDB_MULTI_ARCH. | |
1890 | (default_double_format): Assume GDB_MULTI_ARCH. | |
1891 | (set_endian_from_file): Delete function. | |
1892 | (arch_ok): Delete function. | |
1893 | (set_arch): Delete function. | |
1894 | (set_architecture_from_arch_mach): Delete function. | |
1895 | (set_architecture_from_file): Delete function. | |
1896 | (set_architecture): Assume GDB_MULTI_ARCH. | |
1897 | (set_gdbarch_from_file): Assume GDB_MULTI_ARCH. | |
1898 | ||
8b39fe56 MK |
1899 | 2003-08-21 Mark Kettenis <[email protected]> |
1900 | ||
1901 | Rewrite FreeBSD/sparc64 native configuration. | |
1902 | * sparcbsd-nat.c, sparcbsd-nat.h: New files. | |
1903 | * sparc64fbsd-nat.c: New file. | |
1904 | * sparc64fbsd-tdep.c: New file. | |
1905 | * sparc64-tdep.c sparc64-tdep.h: New files. | |
1906 | * Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o, | |
1907 | sparc64fbsd-tdep.o): New dependencies. | |
1908 | (SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c | |
1909 | and sparc64fbsd-tdep.c. | |
1910 | (sparc64_tdep_h, sparcbsd_nat_h): New variables. | |
1911 | * config/sparc/fbsd.mh: Remove copyright notice. | |
1912 | (NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and | |
1913 | sparcbsd-nat.o. | |
1914 | * config/sparc/fbsd.mt: Remove copyright notice. | |
1915 | (TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o, | |
1916 | solib-legacy.o. Add sparc64-tdep.o and sparc64fbsd-tdep.o. | |
1917 | * config/sparc/nm-fbsd.h: Don't include "elf/common.h". | |
1918 | (SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS, | |
1919 | PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T, | |
1920 | regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu, | |
1921 | fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines. | |
1922 | * config/sparc/tm-fbsd.h: Don't include "solib.h" and | |
1923 | "sparc/tm-sp64.h". | |
1924 | (SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines. | |
1925 | (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM. | |
1926 | ||
a7f19c79 MC |
1927 | 2003-08-21 Michael Chastain <[email protected]> |
1928 | ||
1929 | * symtab.h: Add doco on the space critical structures and | |
1930 | some measurements of space usage. | |
1931 | ||
da08ea5b MS |
1932 | 2003-08-21 Michael Snyder <[email protected]> |
1933 | ||
1934 | * tracepoint.c (trace_dump_command): Trace break address | |
1935 | is subject to DECR_PC_AFTER_BREAK. | |
1936 | (set_traceframe_context): Make "trace_line" an int. | |
1937 | Fixes suggested by Mark Newman <[email protected]> | |
1938 | ||
6df2bf50 MS |
1939 | 2003-08-20 Michael Snyder <[email protected]> |
1940 | ||
1941 | * sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG. | |
1942 | * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set | |
1943 | FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for | |
1944 | argument passing. | |
1945 | (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New | |
1946 | functions, replace sh_push_dummy_call. | |
1947 | (sh_gdbarch_init): Set push_dummy_call to one of new methods. | |
1948 | ||
0955bbf0 MC |
1949 | 2003-08-20 Michael Chastain <[email protected]> |
1950 | ||
1951 | * gdbtypes.h (struct main_type): Rearrange to save space. | |
1952 | ||
260a4188 MS |
1953 | 2003-08-20 Michael Snyder <[email protected]> |
1954 | ||
1955 | * trad-frame.c: Comment typo fix. | |
1956 | ||
8baa6f92 KB |
1957 | 2003-08-20 Michael Snyder <[email protected]> |
1958 | Kevin Buettner <[email protected]> | |
1959 | ||
1960 | * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include. | |
1961 | (frv_frame_init_saved_regs): Add declaration. | |
1962 | (frame_extra_info): Add new field ``saved_regs''. | |
1963 | (frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue) | |
1964 | (frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular): | |
1965 | Update frame related code. | |
1966 | (frv_extract_struct_value_address): Adjust formatting. | |
1967 | * Makefile.in (frv-tdep.o): Update dependencies. | |
1968 | * config/frv/tm-frv.h (target_insert_watchpoint) | |
1969 | (target_remove_watchpoint, target_insert_hw_breakpoint) | |
1970 | (target_remove_hw_breakpoint): Delete these macros. | |
1971 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
1972 | (remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove | |
1973 | these declarations. | |
1974 | ||
87193939 MC |
1975 | 2003-08-20 Michael Chastain <[email protected]> |
1976 | ||
1977 | * defs.h (ENUM_BITFIELD): New macro. | |
1978 | * symtab.h (ENUM_BITFIELD): Use it. | |
1979 | (BYTE_BITFIELD): Remove old macro, which was already disabled. | |
1980 | ||
062103ba SA |
1981 | 2003-08-19 Shrinivas Atre <[email protected]> |
1982 | ||
1983 | * MAINTAINERS (write after approval): Add myself. | |
1984 | ||
8b148df9 AC |
1985 | 2003-08-18 Andrew Cagney <[email protected]> |
1986 | ||
1987 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method. | |
1988 | * gdbarch.h, gdbarch.c: Re-generate. | |
1989 | * infcall.c (call_function_by_hand): Adjust the SP by | |
1990 | frame_red_zone_size before allocating any stack space. | |
1991 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size". | |
1992 | * x86-64-tdep.c (x86_64_frame_align): New function. | |
1993 | (x86_64_init_abi): Set "frame_red_zone_size" and "frame_align". | |
1994 | ||
1995 | * x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change. | |
1996 | Remove code adjusting SP so that it skips over the Red Zone. | |
1997 | ||
954a4db8 MK |
1998 | 2003-08-18 Mark Kettenis <[email protected]> |
1999 | ||
2000 | * NEWS (New native configurations): Mention FreeBSD/amd64. | |
2001 | ||
1a241548 AC |
2002 | 2003-08-18 Andrew Cagney <[email protected]> |
2003 | ||
2004 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set | |
2005 | "dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of | |
2006 | "m68k_frame_p". | |
2007 | (m68hc11_frame_sniffer): Replace "m68hc11_frame_p". | |
2008 | ||
f82b2acd MK |
2009 | 2003-08-18 Mark Kettenis <[email protected]> |
2010 | ||
2011 | * x86-64-tdep.c (x86_64_dwarf_regmap): Remove trailing whitespace. | |
2012 | ||
4056d258 ML |
2013 | 2003-08-18 Michal Ludvig <[email protected]> |
2014 | ||
2015 | * config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): | |
2016 | Define. | |
2017 | * i386-linux-nat.c: Include "linux-nat.h". | |
2018 | (child_post_startup_inferior): New function. | |
2019 | ||
99ab4326 MK |
2020 | 2003-08-18 Mark Kettenis <[email protected]> |
2021 | ||
2022 | * i386-tdep.c (i386_analyze_register_saves): Handle register saves | |
2023 | at the start of a frameless function. This probably fixes PR | |
2024 | backtrace/1338. | |
2025 | ||
c8d5f0d6 MC |
2026 | 2003-08-17 Michael Chastain <[email protected]> |
2027 | ||
2028 | * symfile.c (find_sym_fns): Remove special case for apollo target. | |
2029 | ||
9016a515 DJ |
2030 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
2031 | ||
2032 | * linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define. | |
2033 | (PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define. | |
2034 | (linux_parent_pid, linux_supports_tracevforkdone_flag): New variable. | |
2035 | (linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag. | |
2036 | (linux_supports_tracevforkdone): New function. | |
2037 | (linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and | |
2038 | TRACEVFORKDONE. | |
2039 | (child_follow_fork): Handle vfork. | |
2040 | (linux_handle_extended_wait): Likewise. Also handle exec. | |
2041 | (child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable. | |
2042 | * NEWS: Mention fork tracing. | |
2043 | ||
c538c11c DJ |
2044 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
2045 | ||
2046 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
2047 | ||
4de4c07c DJ |
2048 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
2049 | ||
2050 | * Makefile.in (i386-linux-nat.o): Update dependencies. | |
2051 | * config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. | |
2052 | * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH) | |
2053 | (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define. | |
2054 | * i386-linux-nat.c: Include "linux-nat.h". | |
2055 | (child_post_startup_inferior): New function. | |
2056 | * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef. | |
2057 | * infptrace.c (kill_inferior): Wrap in #ifdef. | |
2058 | * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after | |
2059 | attaching to each LWP. | |
2060 | (child_wait, lin_lwp_wait): Call linux_handle_extended_wait. | |
2061 | (init_lin_lwp_ops): Fill in some more operations. | |
2062 | * linux-nat.h (linux_enable_event_reporting) | |
2063 | (linux_handle_extended_wait, linux_child_post_startup_inferior): New | |
2064 | prototypes. | |
2065 | * linux-nat.c (linux_enable_event_reporting): New function. | |
2066 | (child_post_attach, linux_child_post_startup_inferior) | |
2067 | (child_post_startup_inferior, child_follow_fork) | |
2068 | (linux_handle_extended_wait, kill_inferior): New functions. | |
2069 | ||
7996bcec AC |
2070 | 2003-08-16 Andrew Cagney <[email protected]> |
2071 | ||
2072 | * gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code. | |
2073 | * gdbarch.h, gdbarch.c: Re-generate. | |
2074 | ||
3d48a7a0 MK |
2075 | 2003-08-16 Mark Kettenis <[email protected]> |
2076 | ||
2077 | * config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define. | |
2078 | ||
7989c619 AC |
2079 | 2003-08-16 Andrew Cagney <[email protected]> |
2080 | ||
2081 | * NEWS: Mention that "set prompt-escape-char" was deleted. | |
2082 | * top.c (get_prompt_1): Delete function. | |
2083 | (gdb_prompt_escape): | |
2084 | (init_main): Do not clear "gdb_prompt_escape". Delete "set | |
2085 | prompt-escape-char" command. | |
2086 | (MAX_PROMPT_SIZE): Delete macro. | |
2087 | (get_prompt): Simplify, do not call get_prompt_1. | |
2088 | ||
07978cd8 AC |
2089 | 2003-08-16 Andrew Cagney <[email protected]> |
2090 | ||
2091 | * Makefile.in (printcmd.o, valprint.o): Do not try to build with | |
2092 | -Werror. -Wformat-nonliteral problems. | |
2093 | ||
3ff7cf9e JB |
2094 | 2003-08-15 J. Brobecker <[email protected]> |
2095 | ||
2096 | Further multiarching work mostly for hppa64-*-hpux11: | |
2097 | * hppa-tdep.h: New file. | |
2098 | * hppa-tdep.c: #include hppa-tdep.c. | |
2099 | (hppa32_num_regs): Renamed from hppa_num_regs. | |
2100 | (hppa64_num_regs): New constant. | |
2101 | (hppa64_call_dummy_breakpoint_offset): New constant. | |
2102 | (hppa32_call_dummy_length): New constant. | |
2103 | (hppa64_call_dummy_length): New constant. | |
2104 | (hppa32_stack_align): Make name 32bit explicit. | |
2105 | (hppa32_register_virtual_type): Likewise. | |
2106 | (hppa32_extract_return_value): Likewise. | |
2107 | (hppa32_use_struct_convention): Likewise. | |
2108 | (hppa32_store_return_value): Likewise. | |
2109 | (hppa64_register_virtual_type): New function. | |
2110 | (hppa64_extract_return_value): New function. | |
2111 | (hppa64_use_struct_convention): New function. | |
2112 | (hppa64_store_return_value): New function. | |
2113 | (hppa_frame_locals_address): Remove declaration, function does | |
2114 | not exist anymore. | |
2115 | (hppa_register_byte): Add support for PA64 ABI. | |
2116 | (hppa_gdbarch_init): Add support for PA64 ABI. | |
2117 | * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp): | |
2118 | Make name 32bit explicit. | |
2119 | (hppa32_hpux_frame_base_before_sigtramp): Likewise. | |
2120 | (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise. | |
2121 | (hppa64_hpux_frame_saved_pc_in_sigtramp): New function. | |
2122 | (hppa64_hpux_frame_base_before_sigtramp): New function. | |
2123 | (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function. | |
2124 | * config/pa/tm-hppa64.h: Remove macros that are no longer | |
2125 | necessary now that the gdbarch vector is properly setup. | |
2126 | Transform some macros into function calls. Some minor cleanup. | |
2127 | * config/pa/tm-hppah.h: Update function calls in macros | |
2128 | following the function renaming in hppa-hpux-tdep.c. | |
2129 | * Makefile.in (hppa_tdep_h): New variable. | |
2130 | (hppa-tdep.o): Add dependency over hppa_tdep_h. | |
2131 | ||
5d05ca6d MS |
2132 | 2003-08-14 Michael Snyder <[email protected]> |
2133 | ||
2134 | * disasm.c (gdb_disassemble_info): Set info->insn_sets to zero. | |
2135 | ||
37ba2569 JB |
2136 | 2003-08-13 J. Brobecker <[email protected]> |
2137 | ||
2138 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct | |
2139 | bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization | |
2140 | routine. | |
2141 | ||
aed7f26a MS |
2142 | 2003-08-13 Michael Snyder <[email protected]> |
2143 | ||
2144 | * frv-tdep.c (frv_push_arguments): Use deprecated ftype. | |
2145 | (frv_saved_pc_after_call): Use deprecated ftype. | |
2146 | (stupid_useless_init_extra_frame_info): Remove orphan prototype. | |
2147 | (frv_remote_translate_xfer_address): Remove. | |
2148 | (frv_gdbarch_init): Use generic_remote_translate_xfer_address. | |
2149 | ||
752d4ac1 JB |
2150 | 2003-08-13 J. Brobecker <[email protected]> |
2151 | ||
2152 | * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch | |
2153 | initialization after the common gdbarch initialization, not before. | |
2154 | ||
1426ac1d JB |
2155 | 2003-08-13 J. Brobecker <[email protected]> |
2156 | ||
2157 | * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used. | |
2158 | (ADDR_BITS_REMOVE): Remove, redundant. | |
2159 | ||
b6fbdd1d JB |
2160 | 2003-08-13 J. Brobecker <[email protected]> |
2161 | ||
2162 | * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove | |
2163 | gdbarch method to clear the 2 low bits of text addresses. | |
2164 | ||
44160db3 AC |
2165 | 2003-08-12 Andrew Cagney <[email protected]> |
2166 | ||
2167 | * Makefile.in (dsrec.o): Update dependencies. | |
2168 | * dsrec.c: Include "gdb_assert.h". | |
2169 | (make_srec): Use snprintf instead of sprintf, use a literal format | |
2170 | string. | |
2171 | ||
bcf7d3ca AC |
2172 | 2003-08-12 Andrew Cagney <[email protected]> |
2173 | ||
2174 | * frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of | |
2175 | FRAME_OBSTACK_ZALLOC. | |
2176 | ||
49ed40de KB |
2177 | 2003-08-12 Kevin Buettner <[email protected]> |
2178 | ||
2179 | * i386-tdep.c (i386_gdbarch_init): Enable default support for | |
2180 | SSE registers. | |
2181 | ||
b246147c MK |
2182 | 2003-08-10 Mark Kettenis <[email protected]> |
2183 | ||
2184 | * x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end, | |
2185 | amd64fbsd_sc_reg_offset): Add extern declarations. | |
2186 | * amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern | |
2187 | declarations. | |
2188 | ||
d95fdc0d BE |
2189 | 2003-08-11 Ben Elliston <[email protected]> |
2190 | ||
2191 | * MAINTAINERS (write after approval): Update my mail address. | |
2192 | ||
cf6a0e73 AC |
2193 | 2003-08-10 Andrew Cagney <[email protected]> |
2194 | ||
2195 | * Makefile.in (monitor.o): Do not build monitor.c with -Werror. | |
2196 | ||
f837910f MK |
2197 | 2003-08-10 Mark Kettenis <[email protected]> |
2198 | ||
e2dbbd2d MK |
2199 | * i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, |
2200 | i386obsd_sigtramp_start, i386obsd_sigtramp_end, | |
2201 | i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset, | |
2202 | i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset, | |
2203 | i386bsd_sc_reg_offset): Add extern declarations. | |
2204 | * i386obsd-nat.c: Include "i386-tdep.h" | |
2205 | (_initialize_i386obsd_nat): Remove extern declarations. | |
2206 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern | |
2207 | declarations. | |
2208 | * i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern | |
2209 | declarations. | |
2210 | ||
f837910f MK |
2211 | * i386-tdep.c (i386_register_to_value): Use get_frame_register |
2212 | instead of frame_read_register. | |
2213 | (i386_fetch_pointer_argument): Use get_frame_register_unsigned | |
2214 | instead of frame_read_register. Use I386_ESP_REGNUM instead of | |
2215 | SP_REGNUM. | |
2216 | (i386_frame_prev_register): Use frame_unwind_register_unsigned | |
2217 | instead of frame_unwind_unsigned_register. Use | |
2218 | I386_EFLAGS_REGISTER instead of PS_REGNUM. | |
2219 | (i386_get_longjmp_target): Use regcache_read_unsigned_register | |
2220 | instead of read_register. Use builtin_type_void_data_ptr instead | |
2221 | of builtin_type_void_func_ptr when extracting the address of the | |
2222 | jmp_buf. | |
2223 | (i386_extract_return_value, i386_store_return_value, | |
2224 | i386_pseudo_register_read, i386_pseudo_register_write): Use | |
2225 | register_size instead REGISTER_RAW_SIZE. | |
2226 | ||
edcf254d AC |
2227 | 2003-08-10 Andrew Cagney <[email protected]> |
2228 | ||
2229 | * infcall.c (call_function_by_hand): Use xstrprintf instead of | |
2230 | sprintf. Make "name" constant. | |
2231 | ||
26604a34 MK |
2232 | 2003-08-10 Mark Kettenis <[email protected]> |
2233 | ||
192285c6 MK |
2234 | * i387-tdep.c (i387_register_to_value): Use get_frame_register |
2235 | instead of frame_read_register. | |
f837910f MK |
2236 | (i387_print_float_info): Use get_frame_register and |
2237 | get_frame_register_unsigned instead of frame_register_read. | |
192285c6 | 2238 | |
f0925262 MK |
2239 | * i386fbsd-nat.c: Include "i386-tdep.h". |
2240 | (child_resume): Make `eflags' an ULONGEST. Use | |
2241 | regcache_cooked_read_unsigned and regcache_cooked_write_unsigned | |
2242 | instead of register_read and register_write. | |
2243 | ||
a144416f MK |
2244 | * i386bsd-nat.c (fetch_inferior_registers, |
2245 | store_inferior_registers): Don't use && at the end of a line. | |
2246 | (_initialize_i386bsd_nat): Fix typo. | |
2247 | ||
fec74868 MK |
2248 | * frame.c (_initialize_frame): Add missing backslash. |
2249 | ||
87232496 MK |
2250 | From Peter Schauer ([email protected]): |
2251 | * sol-thread.c (sol_thread_store_registers): Use regcache_collect | |
2252 | and supply_register instead of manipulating the register buffer | |
2253 | directly. | |
2254 | ||
c9b9de0b MK |
2255 | From Peter Schauer ([email protected]): |
2256 | * config/i386/nm-i386sol2.h | |
2257 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one. | |
2258 | ||
26604a34 MK |
2259 | Based on a patch from Michael Elizabeth Chastain ([email protected]): |
2260 | * i386-tdep.c (i386_analyze_frame_setup): Recognize more | |
2261 | instructions that GCC likes to mingle into the prologue. Fixes | |
2262 | gdb/1253 and gdb/1255. | |
2263 | ||
25d29d70 AC |
2264 | 2003-08-09 Andrew Cagney <[email protected]> |
2265 | ||
2266 | Fix GDB PR cli/926. | |
2267 | * cli/cli-decode.c (add_setshow_uinteger_cmd): New function. | |
2268 | * command.h (add_setshow_uinteger_cmd): Declare. | |
2269 | * frame.c (set_backtrace_cmd): New function. | |
2270 | (show_backtrace_cmd): New function. | |
2271 | * frame.c (_initialize_frame): Replace "set/show | |
2272 | backtrace-below-main" with "set/show backtrace past-main". Add | |
2273 | command "set/show backtrace limit". | |
2274 | (backtrace_past_main): Rename "backtrace_below_main". | |
2275 | (backtrace_limit): New variable. | |
2276 | (get_prev_frame): Update. Check the backtrace_limit. | |
2277 | ||
9ebf4acf AC |
2278 | 2003-08-09 Andrew Cagney <[email protected]> |
2279 | ||
2280 | * defs.h (xstrprintf): Declare. | |
2281 | * utils.c (xstrprintf): New function. | |
2282 | * breakpoint.c (insert_breakpoints): Replace sprintf and | |
2283 | non-literal format strings, with xstrprintf and cleanups. | |
2284 | (delete_breakpoint,breakpoint_re_set): Ditto. | |
2285 | (commands_command, insert_breakpoints): Ditto. | |
2286 | (bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto. | |
2287 | (break_at_finish_command_1): Ditto. | |
2288 | ||
3771659b AC |
2289 | 2003-08-09 Andrew Cagney <[email protected]> |
2290 | ||
2291 | * MAINTAINERS (language support): List Adam Fedor as Objective C | |
2292 | maintainer. | |
2293 | ||
b4263afa JB |
2294 | 2003-08-08 J. Brobecker <[email protected]> |
2295 | ||
2296 | * NEWS (Multi-arched targets): Document that all hppa-hpux targets | |
2297 | are now multiarched. | |
2298 | ||
d84defb1 JB |
2299 | 2003-08-08 J. Brobecker <[email protected]> |
2300 | ||
2301 | * config/pa/tm-hppa64.h: Remove lots of macros that are no | |
2302 | longer necessary now that hppa64 is partially multiarch'ed. | |
2303 | ||
f786f615 AC |
2304 | 2003-08-08 Andrew Cagney <[email protected]> |
2305 | ||
2306 | * interps.c (interp_set): Check for a NULL "old_interp". | |
2307 | ||
c938e9b0 L |
2308 | 2003-08-08 H.J. Lu <[email protected]> |
2309 | ||
2310 | * Makefile.in (FLAGS_TO_PASS): Add DESTDIR. | |
2311 | (install-only): Support DESTDIR. | |
2312 | (uninstall): Likewise. | |
2313 | (install-gdbtk): Likewise. | |
2314 | ||
9a146a11 EZ |
2315 | 2003-08-08 Elena Zannoni <[email protected]> |
2316 | ||
2317 | * symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this | |
2318 | contains something meaningful at all times. | |
2319 | ||
2320 | Fri Aug 8 00:28:46 UTC 2003 Brendan Conoboy <[email protected]> | |
7a76ced5 | 2321 | |
62599e99 | 2322 | * configure.host: Set gdb_host_cpu=arm when host_cpu=xscale. |
7a76ced5 | 2323 | |
56296155 BC |
2324 | Fri Aug 8 00:28:38 UTC 2003 Brendan Conoboy <[email protected]> |
2325 | ||
62599e99 | 2326 | * MAINTAINERS (write after approval): Added self. |
56296155 | 2327 | |
9710e734 AC |
2328 | 2003-08-07 Andrew Cagney <[email protected]> |
2329 | ||
2330 | * inferior.h (AT_SYMBOL): Define. | |
2331 | * blockframe.c (inside_entry_file): Check for AT_SYMBOL. | |
2332 | * infcall.c (call_function_by_hand): Add code to handle AT_SYMBOL. | |
2333 | * mips-tdep.c (mips_call_dummy_address): Delete function. | |
2334 | (mips_gdbarch_init): Set call_dummy_location to AT_SYMBOL, do not | |
2335 | set call_dummy_address. | |
2336 | ||
98b3ab73 AC |
2337 | 2003-08-07 Andrew Cagney <[email protected]> |
2338 | ||
2339 | * language.c (op_error): Delete function. | |
2340 | (binop_type_check): Delete function. | |
2341 | * language.h (type_op_error, range_op_error): Delete macros. | |
2342 | (op_error): Delete declaration. | |
2343 | ||
2fcf52f0 AC |
2344 | 2003-08-07 Andrew Cagney <[email protected]> |
2345 | ||
2346 | * interps.h (INTERP_MI2, INTERP_MI3): Define. | |
2347 | ||
abd4220e | 2348 | 2003-08-07 Michal Ludvig <[email protected]> |
fd83bada | 2349 | |
abd4220e | 2350 | * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers. |
fd83bada | 2351 | (x86_64_push_arguments): Skip the red zone. |
abd4220e | 2352 | |
9dd5f34f AC |
2353 | 2003-08-05 Andrew Cagney <[email protected]> |
2354 | ||
2355 | * reggroups.c (reggroup_next): Check for the final entry. | |
2356 | ||
e5e78edc AC |
2357 | 2003-08-04 Andrew Cagney <[email protected]> |
2358 | ||
ab4e3d93 AC |
2359 | * monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT. |
2360 | * cli/cli-script.c (define_command): Call query directly, instead | |
2361 | of passing it a buffer. | |
2362 | * ocd.c (ocd_error): Pass error a constant format string. | |
2363 | * remote-mips.c (mips_error): Use fputs_filtered. | |
2364 | ||
1062ca82 AC |
2365 | * solib-svr4.c (_initialize_svr4_solib): Update |
2366 | register_gdbarch_data call. | |
2367 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto. | |
2368 | ||
fcc1c85c AC |
2369 | * gdbarch.sh (gdbarch_data_free_ftype): Delete declaration. |
2370 | (register_gdbarch_data): Delete "free" parameter. Update | |
2371 | comments. | |
2372 | * gdbarch.h, gdbarch.c: Re-generate. | |
2373 | * reggroups.c (_initialize_reggroup): Update. | |
2374 | * gnu-v3-abi.c (init_gnuv3_ops): Update. | |
2375 | * frame-base.c (_initialize_frame_base): Update. | |
2376 | * frame-unwind.c (_initialize_frame_unwind): Update. | |
2377 | * user-regs.c (_initialize_user_regs): Update. | |
2378 | * remote.c (_initialize_remote): Update. | |
2379 | * regcache.c (_initialize_regcache): Update. | |
2380 | ||
116f06ea AC |
2381 | * regcache.c (xfree_regcache_descr): Delete function. |
2382 | (_initialize_regcache): Update call to register_gdbarch_data. | |
2383 | (init_regcache_descr, init_legacy_regcache_descr): Use | |
2384 | GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC. | |
2385 | ||
e5e78edc AC |
2386 | * remote.c (free_remote_state): Delete function. |
2387 | (_initialize_remote): Update register_gdbarch_data. | |
2388 | (init_remote_state): Use GDBARCH_OBSTACK_XALLOC and | |
2389 | GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc. | |
2390 | ||
6c7d17ba AC |
2391 | 2003-08-04 Andrew Cagney <[email protected]> |
2392 | ||
2393 | * reggroups.c (struct reggroup_el): Define. | |
2394 | (struct reggroups): Delete field "nr_group". Replace array | |
2395 | "group" with a "first" to "last" linked list. | |
2396 | (reggroups_init): Update. Allocate using gdbarch's obstack. | |
2397 | (reggroups_free): Delete function. | |
2398 | (add_group): Update. Add "el" parameter. | |
2399 | (reggroup_add): Pass gdbarch obstack allocated space to add_group. | |
2400 | (default_groups): Update. | |
2401 | (reggroup_next): Replace reggroups. | |
2402 | (reggroups_dump): Update. | |
2403 | (_initialize_reggroup): Pass XMALLOC allocated space to add_group. | |
2404 | * regcache.c (regcache_dump): Use reggroup_next instead of reggroups. | |
2405 | * infcmd.c (registers_info): Use reggroup_next instead of reggroups. | |
2406 | ||
89b7795b DJ |
2407 | 2003-08-04 Daniel Jacobowitz <[email protected]> |
2408 | ||
2409 | * Makefile.in (tui-interp.o): Update dependencies. | |
2410 | ||
306d9ac5 DC |
2411 | 2003-08-04 David Carlton <[email protected]> |
2412 | ||
2413 | * charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args | |
2414 | to internal_error call. | |
2415 | * source.c (forward_search_command): Add "%s" format argument. | |
2416 | (reverse_search_command): Ditto. | |
2417 | * top.c (quit_confirm): Ditto. | |
2418 | * cli/cli-setshow.c (do_setshow_command): Ditto. | |
2419 | * cp-valprint.c (cp_print_class_method): Replace | |
2420 | {f,}printf_{un,}filtered by {f,}puts_{un,}filtered. | |
2421 | (cp_print_class_member): Ditto. | |
2422 | * event-top.c (command_line_handler): Ditto. | |
2423 | * linux-proc.c (linux_info_proc_cmd): Ditto. | |
2424 | * p-typeprint.c (pascal_type_print_base): Ditto. | |
2425 | * p-valprint.c (pascal_object_print_class_method): Ditto. | |
2426 | (pascal_object_print_class_member): Ditto. | |
2427 | * printcmd.c (print_scalar_formatted,printf_command): Ditto. | |
2428 | * remote.c (remote_cisco_section_offsets): Ditto. | |
2429 | * top.c (command_line_input): Ditto. | |
2430 | * utils.c (vwarning,error_stream,quit): Ditto. | |
2431 | * valprint.c (print_floating,print_binary_chars) | |
2432 | (print_octal_chars,print_decimal_chars,print_hex_chars): Ditto. | |
2433 | ||
57bfe177 AC |
2434 | 2003-08-04 Andrew Cagney <[email protected]> |
2435 | ||
2436 | * frame.c (frame_func_unwind): Use frame_unwind_address_in_block. | |
2437 | ||
e546b999 AC |
2438 | 2003-08-02 Andrew Cagney <[email protected]> |
2439 | ||
2440 | * config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc, | |
2441 | gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and | |
2442 | amd64fbsd-nat.c. | |
2443 | ||
91092ee5 AC |
2444 | 2003-08-02 Andrew Cagney <[email protected]> |
2445 | ||
2446 | * Makefile.in: Update all dependencies and definitions. | |
2447 | ||
889f28e2 AF |
2448 | 2003-08-02 Adam Fedor <[email protected]> |
2449 | ||
2450 | * linespec.c (is_objc_method_format): New function | |
2451 | (decode_line_1, locate_first_half): Use it. | |
2452 | Fixes PR objc/1298 | |
2453 | ||
880bc914 AC |
2454 | 2003-08-01 Andrew Cagney <[email protected]> |
2455 | ||
2456 | * NEWS: Mention that m32r is multi-arch. | |
2457 | From 2003-07-28 Kei Sakamoto <[email protected]>: | |
2458 | * configure.tgt: Recognize m32r-*-*. | |
2459 | * config/m32r/tm-m32r.h: Delete file. | |
2460 | * config/m32r/m32r.mt: New file. | |
2461 | * m32r-rom.c (m32r_upload_command): Use hostent only when | |
2462 | gethostname succeeds, in order to avoid a compilation | |
2463 | warning. | |
2464 | * m32r-tdep.c (m32r_store_return_value): Add a cast to remove a | |
2465 | compiler warning. | |
2466 | ||
19f59343 MS |
2467 | 2003-08-01 Michael Snyder <[email protected]> |
2468 | ||
2469 | * sh-tdep.c (sh_frame_align): New gdbarch method. | |
2470 | (sh_gdbarch_init): Set up frame_align method. | |
2471 | ||
4e7d7511 MS |
2472 | 2003-07-31 Michael Snyder <[email protected]> |
2473 | ||
2474 | * value.h, values.c, infcall.c, infcmd.c: Revert 07-30 change, | |
2475 | which is already covered by the new frames infrastructure. | |
2476 | ||
63022984 AC |
2477 | 2003-07-31 Andrew Cagney <[email protected]> |
2478 | ||
2479 | * user-regs.c (struct user_reg): Add "next" link. | |
2480 | (struct user_regs): Replace "user" with "first" and "last" links. | |
2481 | (append_user_reg): Add pre-allocated "reg" parameter. | |
2482 | (builtin_user_regs): Provide initial value for "last". | |
2483 | (user_reg_add_builtin): XMALLOC memory for append_user_reg. | |
2484 | (user_regs_init): Allocate memory from the gdbarch obstack. | |
2485 | (user_reg_add): GDBARCH_OBSTACK_ZALLOC memory for append_user_reg. | |
2486 | (user_reg_map_name_to_regnum): Rewrite to search the user_reg | |
2487 | linked list. | |
2488 | (usernum_to_user_reg): New function. | |
2489 | (user_reg_map_regnum_to_name): Use usernum_to_user_reg. | |
2490 | (value_of_user_reg): Use usernum_to_user_reg. | |
2491 | (user_regs_free): Delete function. | |
2492 | (_initialize_user_regs): Update register_gdbarch_data call. | |
2493 | ||
7cf6e574 DJ |
2494 | 2003-07-31 Daniel Jacobowitz <[email protected]> |
2495 | ||
2496 | * dwarf2read.c (new_symbol): Use var_decode_location for parameters. | |
2497 | ||
c48a845b MS |
2498 | 2003-07-30 Michael Snyder <[email protected]> |
2499 | ||
4e7d7511 | 2500 | * value.h (value_being_returned): Add a struct_addr argument. |
c48a845b MS |
2501 | * infcall.c (call_function_by_hand): Pass struct_addr to |
2502 | value_being_returned. | |
2503 | * infcmd.c (print_return_value): Pass zero as struct_addr. | |
2504 | * values.c (value_being_returned): If struct_addr is passed, | |
2505 | use it instead of trying to recover it from the inferior. | |
2506 | ||
f0d8db19 KB |
2507 | 2003-07-30 Kevin Buettner <[email protected]> |
2508 | ||
2509 | * mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that | |
2510 | the prologue analyzer won't need to attempt to extract the pc | |
2511 | value from the woefully incomplete dummy frame. | |
2512 | (mn10300_analyze_prologue): Avoid calls to get_frame_pc() when | |
2513 | possible. Disable code which modifies the frame. | |
2514 | ||
e5c113a1 AC |
2515 | 2003-07-28 Andrew Cagney <[email protected]> |
2516 | ||
2517 | * annotate.c (annotate_breakpoints_headers): Restrict annotation | |
2518 | to level 2. | |
2519 | (annotate_breakpoints_table, annotate_record): Ditto. | |
2520 | (annotate_breakpoints_table_end, annotate_field_begin): Ditto. | |
2521 | (annotate_field_name_end, annotate_field_value): Ditto. | |
2522 | (annotate_field_end, annotate_frame_source_begin): Ditto. | |
2523 | (annotate_frame_source_file, annotate_frame_source_file_end): Ditto. | |
2524 | (annotate_frame_source_line, annotate_frame_source_end): Ditto. | |
2525 | (annotate_frame_begin, annotate_frame_function_name): Ditto. | |
2526 | (annotate_frame_address_end, annotate_frame_address): Ditto. | |
2527 | (annotate_frame_args, annotate_frame_end): Ditto. | |
2528 | (annotate_frame_where, annotate_arg_begin): Ditto. | |
2529 | (annotate_arg_name_end, annotate_arg_value): Ditto. | |
2530 | (annotate_arg_end, annotate_signal_handler_caller): Ditto. | |
2531 | (annotate_function_call, annotate_signal_name): Ditto. | |
2532 | (annotate_signal_string, annotate_signal_name_end): Ditto. | |
2533 | (annotate_signal_string_end, annotate_value_history_begin): Ditto. | |
2534 | (annotate_value_begin, annotate_value_history_value): Ditto. | |
2535 | (annotate_value_history_end, annotate_value_end): Ditto. | |
2536 | (annotate_display_begin, annotate_display_number_end): Ditto. | |
2537 | (annotate_display_format, annotate_display_expression): Ditto. | |
2538 | (annotate_display_expression_end, annotate_display_value): Ditto. | |
2539 | (annotate_display_end, annotate_array_section_begin): Ditto. | |
2540 | (annotate_elt_rep, annotate_elt_rep_end): Ditto. | |
2541 | (annotate_elt, annotate_array_section_end): Ditto. | |
2542 | ||
bb1db049 AC |
2543 | 2003-07-28 Andrew Cagney <[email protected]> |
2544 | ||
2545 | * regcache.c (struct regcache_descr): Update comments on | |
2546 | nr_raw_registers. | |
2547 | (init_legacy_regcache_descr): Don't set nr_raw_registers or | |
2548 | sizeof_raw_register_valid_p. | |
2549 | (init_regcache_descr): Set nr_raw_registers and | |
2550 | sizeof_raw_register_valid_p before calling | |
2551 | init_legacy_regcache_descr. | |
2552 | ||
20e6603c AC |
2553 | 2003-07-28 Andrew Cagney <[email protected]> |
2554 | ||
2555 | * mips-tdep.c (print_gp_register_row): Print the GPR's register | |
2556 | MOD NUM_REGS. | |
2557 | ||
db742940 DJ |
2558 | 2003-07-28 Daniel Jacobowitz <[email protected]> |
2559 | ||
2560 | * thread.c (info_threads_command): Use get_selected_frame (). | |
2561 | Check that there is at least one non-sentinel frame. | |
2562 | ||
ce7f4371 SC |
2563 | 2003-07-27 Stephane Carrez <[email protected]> |
2564 | ||
2565 | * m68hc11-tdep.c (struct frame_extra_info): Remove. | |
2566 | (m68hc11_pop_frame): Remove. | |
2567 | (m68hc11_frame_saved_pc): Remove. | |
2568 | (m68hc11_frame_chain): Remove. | |
2569 | (m68hc11_frame_init_saved_regs): Remove. | |
2570 | (m68hc11_init_extra_frame_info): Remove. | |
2571 | (m68hc11_store_struct_return): Remove. | |
2572 | (m68hc11_saved_pc_after_call): Remove. | |
2573 | ||
1ea653ae SC |
2574 | 2003-07-27 Stephane Carrez <[email protected]> |
2575 | ||
2576 | * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold | |
2577 | frame unwind information. | |
2578 | (m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue | |
2579 | and adapted for frame unwinding. | |
2580 | (m68hc11_skip_prologue): Update to scan prologue in temporary object. | |
2581 | (m68hc11_unwind_pc): New function. | |
2582 | (m68hc11_frame_unwind_cache): New function to analyze frames. | |
2583 | (m68hc11_frame_this_id): New function to create new frame struct. | |
2584 | (m68hc11_frame_prev_register): New function to unwind a register from | |
2585 | the frame. | |
2586 | (m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder. | |
2587 | (m68hc11_frame_p): New function for the above. | |
2588 | (m68hc11_frame_base_address): New function to return fp of frame. | |
2589 | (m68hc11_frame_args_address): Update for frame. | |
2590 | (m68hc11_frame_base): Default 68hc11/68hc12 frame. | |
2591 | (m68hc11_unwind_sp): New function. | |
2592 | (m68hc11_unwind_dummy_id): New function. | |
2593 | (m68hc11_gdbarch_init): Install the above frames; remove deprecated | |
2594 | calls. | |
2595 | ||
c8a7f6ac SC |
2596 | 2003-07-27 Stephane Carrez <[email protected]> |
2597 | ||
2598 | * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc. | |
2599 | (m68hc11_guess_from_prologue): Advance the pc and frame size only | |
2600 | when we are beyond the current pc. | |
2601 | ||
3dc990bf SC |
2602 | 2003-07-27 Stephane Carrez <[email protected]> |
2603 | ||
2604 | * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted | |
2605 | from m68hc11_push_arguments. | |
2606 | (m68hc11_push_arguments): Remove. | |
2607 | (m68hc11_push_return_address): Remove. | |
2608 | (m68hc11_gdbarch_init): Install the above; remove above deprecated | |
2609 | handlers; remove deprecated_extra_stack_alignment_needed. | |
2610 | ||
222e5d1d AC |
2611 | 2003-07-27 Andrew Cagney <[email protected]> |
2612 | ||
2613 | * config/pa/tm-hppa.h (init_frame_pc_default): Declare. | |
2614 | * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update | |
2615 | REAL_PC and not the pointer. | |
2616 | * hppa-hpux-tdep.c: Include frame.h | |
2617 | ||
a7e9a47e AC |
2618 | 2003-07-27 Andrew Cagney <[email protected]> |
2619 | ||
2620 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to | |
2621 | GDB_MULTI_ACH_PARTIAL. | |
2622 | ||
7e3dd49e AC |
2623 | 2003-07-27 Andrew Cagney <[email protected]> |
2624 | ||
2625 | Patch from 2003-07-22 Kei Sakamoto <[email protected]>: | |
2626 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style - | |
2627 | operator at start and not end of line. | |
2628 | (decode_prologue): Ditto. | |
2629 | (m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use | |
2630 | frame_unwind_register_unsigned instead of | |
2631 | frame_unwind_unsigned_register. | |
2632 | (m32r_read_pc): Use regcache_cooked_read_unsigned instead of | |
2633 | read_register. | |
2634 | (m32r_push_dummy_call): Use register_size instead of | |
2635 | REGISTER_RAW_SIZE. | |
2636 | (m32r_frame_sniffer): Replace m32r_frame_p. | |
2637 | (m32r_gdbarch_init): Call frame_unwind_append_sniffer. | |
2638 | * m32r-rom.c (report_transfer_performance): Delete extern | |
2639 | declaration. | |
2640 | (m32r_load, m32r_upload_command): Use print_transfer_performance | |
2641 | instead of report_transfer_performance. | |
2642 | (_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd | |
2643 | / add_show_from_set. | |
2644 | ||
0880807f AC |
2645 | 2003-07-26 Andrew Cagney <[email protected]> |
2646 | ||
2647 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated | |
2648 | store_return_value and extract_struct_value_address. | |
2649 | ||
64ae9269 DJ |
2650 | 2003-07-26 Daniel Jacobowitz <[email protected]> |
2651 | ||
2652 | PR c++/1267 | |
2653 | * minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is | |
2654 | NULL, default to the section containing PC. | |
2655 | ||
e286caf2 SC |
2656 | 2003-07-24 Stephane Carrez <[email protected]> |
2657 | ||
2658 | * NEWS: Mention "regs" deprecated for m68hc11 too. | |
2659 | ||
2660 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command. | |
2661 | (m68hc11_print_register): New function to print out one register. | |
2662 | (m68hc11_print_registers_info): New function to print registers. | |
2663 | (show_regs): Deprecate and use the above. | |
2664 | (m68hc11_gdbarch_init): Install the print_registers_info. | |
2665 | ||
705b278b JJ |
2666 | 2003-07-24 Jeff Johnston <[email protected]> |
2667 | ||
2668 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify | |
2669 | that we have a SIGTRAP before returning non-zero. | |
2670 | ||
63cd4198 EZ |
2671 | 2003-07-23 Michal Ludvig <[email protected]> |
2672 | Elena Zannoni <[email protected]> | |
2673 | ||
2674 | * linespec.c (decode_line_2): Avoid crash if | |
2675 | find_function_start_sal() returns empty record. | |
2676 | ||
6926787d AS |
2677 | 2003-07-23 Andreas Schwab <[email protected]> |
2678 | ||
2679 | * ia64-tdep.c (ia64_print_insn): New function. | |
2680 | (ia64_gdbarch_init): Set print_insn to it. | |
2681 | (_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and | |
2682 | deprecated_tm_print_insn_info. | |
2683 | ||
708cc1b6 MS |
2684 | 2003-07-22 Michael Snyder <[email protected]> |
2685 | ||
2686 | * h8300-tdep.c (h8300_extract_return_value): Teach it how to | |
2687 | handle 8-bit returns (long long). | |
2688 | (h8300h_extract_return_value): Ditto. | |
2689 | (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned. | |
2690 | ||
aebd7893 AC |
2691 | 2003-07-22 Andrew Cagney <[email protected]> |
2692 | ||
2693 | * gdbarch.c Include "gdb_obstack.h". | |
2694 | (struct gdbarch): Add an "obstack". | |
2695 | (alloc_gdbarch_data): Allocate the gdbarch data using | |
2696 | GDBARCH_OBSTACK_CALLOC. | |
2697 | (free_gdbarch_data): Delete function. | |
2698 | (gdbarch_obstack_zalloc): New function. | |
2699 | (gdbarch_free): Free the obstack, do not call free_gdbarch_data. | |
2700 | Assert that the architecture is not initialized. | |
2701 | (gdbarch_alloc): Allocate an obstack, allocate the architecture | |
2702 | vector from the obstack. | |
2703 | (alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the | |
2704 | architecture obstack. | |
2705 | (GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define. | |
2706 | (set_gdbarch_data): Assert that the data is not initialized. | |
2707 | (struct gdbarch_data): Delete member "free". | |
2708 | (register_gdbarch_data): Do not initialize "free". | |
2709 | * gdbarch.h, gdbarch.c: Re-generate. | |
2710 | ||
153721e6 AC |
2711 | 2003-07-22 Andrew Cagney <[email protected]> |
2712 | ||
2713 | * configure.in (build_warnings): Add -Wformat-nonliteral. | |
2714 | * configure: Re-generate. | |
2715 | ||
c193f044 | 2716 | 2003-07-22 Elena Zannoni <[email protected]> |
32ffcbed EZ |
2717 | |
2718 | * dwarf2loc.c (locexpr_describe_location): Fix typos. | |
c193f044 | 2719 | |
c3228f12 EZ |
2720 | 2003-07-22 Elena Zannoni <[email protected]> |
2721 | ||
2722 | * findvar.c (read_var_value): Remove case for thread local storage | |
2723 | variables. It is now entirely handled by the dwarf2 location | |
2724 | expression code. | |
2725 | * printcmd.c (address_info): Ditto. | |
2726 | * symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC | |
2727 | enumeration value. | |
2728 | (struct symbol): Remove objfile field, which was used by | |
2729 | LOC_THREAD_LOCAL_STATIC only. | |
2730 | * dwarf2read.c (decode_locdesc): Remove is_thread_local variable. | |
2731 | * dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about | |
2732 | usage of objfile pointer. | |
2733 | * dwarf2loc.c (locexpr_describe_location): Add case to handle | |
2734 | thread local variables. | |
2735 | Add include of objfiles.h. | |
2736 | * dwarf2expr.c (execute_stack_op): Add comments about thread local | |
2737 | storage variables. | |
2738 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
2739 | ||
aef9bcd2 AC |
2740 | 2003-07-22 Andrew Cagney <[email protected]> |
2741 | ||
2742 | * config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use | |
2743 | get_frame_base. | |
2744 | (FRAME_BASE_BEFORE_SIGTRAMP): Ditto. | |
2745 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto. | |
2746 | (struct value): Add opaque declaration. | |
2747 | (DEPRECATED_FRAME_ARGS_ADDRESS): Delete. | |
2748 | ||
d95a8903 AC |
2749 | 2003-07-21 Andrew Cagney <[email protected]> |
2750 | ||
2751 | From 2003-07-04 Kei Sakamoto <[email protected]>: | |
2752 | * m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite. | |
2753 | ||
4db73d49 SC |
2754 | 2003-07-20 Stephane Carrez <[email protected]> |
2755 | ||
2756 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use | |
2757 | regcache_cooked_read_unsigned instead of read_register. | |
2758 | (m68hc11_saved_pc_after_call): Likewise. | |
2759 | (m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned | |
2760 | instead of write_register. | |
2761 | (m68hc11_register_type): New function. | |
2762 | (m68hc11_register_virtual_type): Remove. | |
2763 | (m68hc11_store_return_value): Convert to use the regcache. | |
2764 | (m68hc11_extract_struct_value_address): Likewise. | |
2765 | (m68hc11_gdbarch_init): Remove deprecated ops for register to use | |
2766 | m68hc11_register_type; undeprecate store_return_value and | |
2767 | extract_struct_value_address. | |
2768 | ||
ef2b8fcd SC |
2769 | 2003-07-20 Stephane Carrez <[email protected]> |
2770 | ||
2771 | * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read | |
2772 | and translate to use regcache. | |
2773 | (m68hc11_gdbarch_init): Undeprecate extract_return_value. | |
2774 | ||
625b0b97 AC |
2775 | 2003-07-18 Andrew Cagney <[email protected]> |
2776 | ||
2777 | * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method. | |
2778 | * gdbarch.h, gdbarch.c: Re-generate. | |
2779 | * i386-tdep.c (i386_gdbarch_init): Do not set | |
2780 | DWARF2_BUILD_FRAME_INFO. | |
2781 | * elfread.c (elf_symfile_read): Call dwarf2_build_frame_info | |
2782 | unconditionally. | |
2783 | * alpha-tdep.c (alpha_dwarf2_init_abi): Do not set | |
2784 | DWARF2_BUILD_FRAME_INFO. | |
2785 | ||
22b0d388 AC |
2786 | 2003-07-18 Andrew Cagney <[email protected]> |
2787 | ||
2788 | From 2003-07-04 Kei Sakamoto <[email protected]>: | |
2789 | * disasm.c (gdb_disassemble_info): Initilize di.arch. | |
2790 | ||
1ce5d6dd AC |
2791 | 2003-07-18 Andrew Cagney <[email protected]> |
2792 | ||
2793 | * dwarf2-frame.c (dwarf2_frame_sniffer): Use | |
2794 | frame_unwind_address_in_block, instead of frame_pc_unwind. | |
2795 | (dwarf2_frame_cache): Ditto. | |
2796 | ||
e6e5e94c AC |
2797 | 2003-07-18 Andrew Cagney <[email protected]> |
2798 | ||
2799 | * user-regs.h (struct gdbarch): Declare opaque. | |
2800 | * ui-out.h (struct ui_file): Declare opaque. | |
2801 | * dwarf2-frame.h (struct frame_info): Declare opaque. | |
2802 | ||
5483d879 KW |
2803 | 2003-07-18 Kris Warkentin <[email protected]> |
2804 | ||
2805 | * nto-procfs.c: Clean ARI hits. Change #include <..> to | |
2806 | #include "...". | |
2807 | (procfs_meminfo): Change strerror to safe_strerror. | |
2808 | (procfs_can_run): Remove K&R badness. | |
2809 | ||
278a7cf7 MS |
2810 | 2003-07-17 Michael Snyder <[email protected]> |
2811 | ||
2812 | * remote-sim.c: Comment typo fix. | |
2813 | ||
606e3b82 AC |
2814 | 2003-07-17 Andrew Cagney <[email protected]> |
2815 | ||
2816 | * defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by | |
2817 | configure. | |
2818 | * sparc-tdep.c (sparc_intreg_size): Make non-static. | |
2819 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to | |
2820 | GDB_MULTI_ARCH_PARTIAL. | |
2821 | ||
c43af07c EZ |
2822 | 2003-07-17 Elena Zannoni <[email protected]> |
2823 | ||
2824 | * Makefile.in (x86-64-linux-nat.o): Update dependencies. | |
2825 | * x86-64-linux-nat.c (ps_get_thread_area): New function. Add | |
2826 | include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h. | |
2827 | ||
3b85b0f1 TR |
2828 | 2003-07-16 Theodore A. Roth <[email protected]> |
2829 | ||
2830 | * avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue | |
2831 | found. | |
2832 | (avr_frame_unwind_cache): Don't unwind FP for main. | |
2833 | Update a comment. | |
2834 | Save the computed prev_sp. | |
2835 | (avr_saved_regs_unwinder): Remove function. | |
2836 | (avr_frame_prev_register): Use PC unwind logic from | |
2837 | avr_saved_regs_unwinder(), otherwise use trad_frame_prev_register(). | |
2838 | ||
336d1bba AC |
2839 | 2003-07-16 Andrew Cagney <[email protected]> |
2840 | ||
2841 | * frame-base.h (frame_base_p_ftype): Delete definition. | |
2842 | (frame_base_append_predicate): Delete declaration. | |
2843 | * frame-unwind.h (frame_unwind_p_ftype): Delete definition. | |
2844 | (frame_unwind_append_predicate): Delete declaration. | |
2845 | * frame-unwind.c (struct frame_unwind_table): Delete field "p". | |
2846 | (append_predicate): Delete parameter "p". | |
2847 | (frame_unwind_append_predicate): Delete function. | |
2848 | (frame_unwind_append_sniffer): Update call to append_predicate. | |
2849 | (frame_unwind_free): Delete function. | |
2850 | (_initialize_frame_unwind): Pass NULL as "free" to | |
2851 | register_gdbarch_data. | |
2852 | (frame_unwind_init): Append the dummy_frame_sniffer. | |
2853 | (frame_unwind_find_by_frame): Simplify. | |
2854 | * frame-base.c (struct frame_base_table): Delete field "p". | |
2855 | (append_predicate): Delete parameter "p". | |
2856 | (frame_base_append_predicate): Delete function. | |
2857 | (frame_base_append_sniffer): Update call to append_predicate. | |
2858 | (frame_base_free): Delete function. | |
2859 | (frame_base_find_by_frame): Simplify. | |
2860 | (_initialize_frame_base): Pass NULL as "free" to | |
2861 | register_gdbarch_data. | |
2862 | * x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p". | |
2863 | (x86_64_sigtramp_frame_sniffer): Replace | |
2864 | "x86_64_sigtramp_frame_p". | |
2865 | (x86_64_init_abi): Set the frame unwind sniffers. | |
2866 | * m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p". | |
2867 | (m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p" | |
2868 | (m68k_gdbarch_init): Set the frame unwind sniffers. | |
2869 | * i386-tdep.c (i386_sigtramp_frame_sniffer): Replace | |
2870 | "i386_sigtramp_frame_p". | |
2871 | (i386_frame_sniffer): Replace "i386_frame_p". | |
2872 | (i386_gdbarch_init): Set the frame unwind sniffers. | |
2873 | * avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer". | |
2874 | (avr_gdbarch_init): Set the frame unwind sniffers. | |
2875 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace | |
2876 | "alpha_sigtramp_frame_p" | |
2877 | (alpha_heuristic_frame_sniffer): Replace | |
2878 | "alpha_heuristic_frame_p". | |
2879 | (alpha_gdbarch_init): Set the frame unwind sniffers. | |
2880 | (alpha_dwarf2_init_abi): Ditto. | |
2881 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace | |
2882 | "alpha_debug_frame_p". | |
2883 | (alpha_mdebug_frame_base_sniffer): Replace | |
2884 | "alpha_mdebug_frame_base_p". | |
2885 | (alpha_mdebug_init_abi): Set the frame unwind sniffers. | |
2886 | * d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p". | |
2887 | (d10v_gdbarch_init): Set the frame unwind sniffer. | |
2888 | * dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
2889 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
2890 | * dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
2891 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
2892 | * dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p". | |
2893 | * dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p". | |
2894 | ||
48db5a3c CV |
2895 | 2003-07-16 Michael Snyder <[email protected]> |
2896 | ||
2897 | * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp | |
2898 | should go thru sh_dsp_register_sim_regno, else the dsp regs | |
2899 | will not get the right values. | |
2900 | ||
2901 | 2003-07-16 Corinna Vinschen <[email protected]> | |
2902 | ||
2903 | * sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to | |
2904 | deprecated_store_floating by call to store_typed_floating. | |
2905 | (sh_sh4_register_convert_to_raw): Substitute call to | |
2906 | deprecated_extract_floating by call to extract_typed_floating. | |
2907 | ||
2908 | 2003-07-16 Corinna Vinschen <[email protected]> | |
2909 | ||
2910 | * sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e. | |
2911 | ||
2912 | 2003-07-16 Corinna Vinschen <[email protected]> | |
2913 | ||
2914 | * sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to | |
2915 | register_size and calls to REGISTER_VIRTUAL_TYPE by calls to | |
2916 | gdbarch_register_type in 32 bit code throughout. Avoid current_gdbarch | |
2917 | as possible. | |
2918 | (do_pseudo_register): Remove. | |
2919 | (sh_push_dummy_code): New function. | |
2920 | (sh64_store_struct_return): Rename from sh_store_struct_return. | |
2921 | Only called for sh64 now. | |
2922 | (sh_extract_struct_value_address): Regcache'ify. | |
2923 | (sh_push_dummy_call): Rename from sh_push_arguments. Regcache'ify | |
2924 | and accomodate new tasks. | |
2925 | (sh64_push_return_address): Rename from sh_push_return_address. | |
2926 | Only called for sh64 now. | |
2927 | (sh_default_extract_return_value): Rename from sh_extract_return_value. | |
2928 | Regcache'ify. | |
2929 | (sh3e_sh4_extract_return_value): Regcache'ify. | |
2930 | (sh_default_store_return_value): Ditto. | |
2931 | (sh3e_sh4_store_return_value): Ditto. | |
2932 | (sh_default_register_byte): Remove. | |
2933 | (sh_sh4_register_byte): Remove. | |
2934 | (sh_default_register_raw_size): Remove. | |
2935 | (sh_sh4_register_raw_size): Remove. | |
2936 | (sh_register_virtual_size): Remove. | |
2937 | (sh_sh3e_register_virtual_type): Remove. | |
2938 | (sh_sh3e_register_type): New function. | |
2939 | (sh_sh4_register_virtual_type): Remove. | |
2940 | (sh_sh4_register_type): New function. | |
2941 | (sh_default_register_virtual_type): Remove. | |
2942 | (sh_default_register_type): New function. | |
2943 | (do_fv_register_info): Add parameters to accomodate call from | |
2944 | sh_print_registers_info. | |
2945 | (do_dr_register_info): Ditto. | |
2946 | (sh_print_pseudo_register): Rename from sh_do_pseudo_register. | |
2947 | Add parameters to accomodate call from sh_print_registers_info. | |
2948 | (sh_do_fp_register): Ditto. | |
2949 | (sh64_do_pseudo_register): Call do_dr_register_info, | |
2950 | do_fv_register_info and sh_do_fp_register with default parameters. | |
2951 | (sh_do_register): Add parameters to accomodate call from | |
2952 | sh_print_registers_info. | |
2953 | (sh_print_register): Ditto. | |
2954 | (sh_print_registers_info): Rename from sh_do_registers_info. | |
2955 | Add parameters to be used as gdbarch_print_registers_info | |
2956 | implementation. Accomodate removed do_pseudo_register function | |
2957 | pointer. | |
2958 | (sh_compact_do_registers_info): Accomodate removed do_pseudo_register | |
2959 | function pointer. Call sh_print_register with default parameters. | |
2960 | (sh64_do_registers_info): Call sh_print_registers_info instead of | |
2961 | sh_do_registers_info. | |
2962 | (sh_gdbarch_init): Rearrange to cleanup and to allow easier | |
2963 | detection of deprecated vs. non-deprecated functionality. | |
2964 | Rename sh_call_dummy_words to sh64_call_dummy_words. Remove | |
2965 | function pointer assignments by direct function calls. | |
2966 | ||
e8a89fe2 AC |
2967 | 2003-07-15 Andrew Cagney <[email protected]> |
2968 | ||
2969 | * frame.c (get_frame_id): Use frame_unwind_find_by_frame. | |
2970 | (frame_register_unwind, create_new_frame): Ditto. | |
2971 | (legacy_get_prev_frame, get_frame_type): Ditto. | |
2972 | (get_frame_base_address): Use frame_base_find_by_frame. | |
2973 | (get_frame_locals_address): Use frame_base_find_by_frame. | |
2974 | (get_frame_args_address): Use frame_base_find_by_frame. | |
2975 | * frame-base.h (frame_base_sniffer_ftype): Declare. | |
2976 | (frame_base_append_sniffer): Declare. | |
2977 | (frame_base_find_by_frame): Replace frame_base_find_by_pc. | |
2978 | * frame-base.c (append_predicate): Add a "sniffer" parameter. | |
2979 | (frame_base_append_sniffer): New function. | |
2980 | (frame_base_append_predicate): Add a NULL sniffer. | |
2981 | (frame_base_find_by_frame): Replace "frame_base_find_by_pc". | |
2982 | (struct frame_base_table): Add "sniffer". | |
2983 | (frame_base_free): Free the "sniffer" table. | |
2984 | * frame-unwind.h (frame_unwind_sniffer_ftype): Define. | |
2985 | (frame_unwind_append_sniffer): Declare. | |
2986 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
2987 | * frame-unwind.c (frame_unwind_free): Free the "sniffer" table. | |
2988 | (struct frame_unwind_table): Add "sniffer", delete "middle". | |
2989 | (append_predicate): Add "sniffer" parameter, append the sniffer. | |
2990 | (frame_unwind_init): Update append_predicate call. | |
2991 | (frame_unwind_append_sniffer): New function. | |
2992 | (frame_unwind_append_predicate): Update append_predicate call. | |
2993 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
2994 | ||
0714963c AC |
2995 | 2003-07-15 Andrew Cagney <[email protected]> |
2996 | ||
2997 | * frame.c (get_prev_frame): Move disabled inside_entry_func to | |
2998 | before code inhibiting repeated unwind attempts. Add to | |
2999 | commentary on that test's problems. | |
3000 | * blockframe.c (inside_main_func): Look for "main" in the minimal | |
3001 | symbol table. | |
3002 | * d10v-tdep.c (d10v_frame_this_id): Delete check that frames are | |
3003 | identical. | |
3004 | ||
d9170e22 AC |
3005 | 2003-07-15 Andrew Cagney <[email protected]> |
3006 | ||
3007 | * complaints.c (struct explanation): Define. | |
3008 | (struct complaints): Change type of "explanation" to "struct | |
3009 | explanation". | |
3010 | (symfile_explanations): Convert to a "struct explanation" table. | |
3011 | (vcomplaint): Update. | |
3012 | ||
eba29c8c ML |
3013 | 2003-07-15 Michal Ludvig <[email protected]> |
3014 | ||
3015 | * x86-64-linux-nat.c (regmap): Removed. | |
3016 | (supply_gregset, fill_gregset): Call | |
3017 | x86_64_linux_(fill,supply)_gregset functions. | |
3018 | * x86-64-linux-tdep.c (USER_*): New defines. | |
3019 | (user_to_gdb_regmap, x86_64_core_fns): New structure. | |
3020 | (x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): | |
3021 | New functions. | |
3022 | (fetch_core_registers): Ditto. | |
3023 | (_initialize_x86_64_linux_tdep): Call add_core_fns(). | |
3024 | * x86-64-linux-tdep.h: New file. | |
3025 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o | |
3026 | and core-regset.o. | |
3027 | * config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o. | |
3028 | ||
68cc0bfb MK |
3029 | 2003-07-13 Mark Kettenis <[email protected]> |
3030 | ||
88a115f7 MK |
3031 | * x86-64-tdep.c (x86_64_store_return_value): Use |
3032 | regcache_cooked_write_part instead of regcache_cooked_write. | |
01e4b823 | 3033 | |
68cc0bfb MK |
3034 | * configure.host: Add x86_64-*-freebsd*. |
3035 | * configure.tgt: Add x86_64-*-freebsd*. | |
3036 | * Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets. | |
3037 | * amd64fbsd-nat.c: New file. | |
3038 | * amd64fbsd-tdep.c: New file. | |
3039 | * config/i386/nm-fbsd64.h: New file. | |
3040 | * config/i386/fbsd64.mh: New file. | |
3041 | * config/i386/fbsd64.mt: New file. | |
3042 | ||
138e7be5 MK |
3043 | 2003-07-11 Mark Kettenis <[email protected]> |
3044 | ||
3045 | * alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset', | |
3046 | `sc_regs_offset' and `sc_fpregs_offset'. | |
3047 | * alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF, | |
3048 | SIGFRAME_FPREGSAVE_OFF): Remove defines. | |
3049 | (alpha_sigtramp_register_address): Rewrite to use new members of | |
3050 | `struct gdbarch_tdep'. | |
3051 | (alpha_gdbarch_init): Initialize new members of struct | |
3052 | gdbarch_tdep'. | |
3053 | * alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use | |
3054 | ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE. | |
3055 | (alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables. | |
3056 | (alphafbsd_pc_in_sigtramp): Implement. | |
3057 | (alphafbsd_sigtramp_offset): New function. | |
3058 | (alphafbsd_sigcontext_addr): New function. | |
3059 | (alphafbsd_init_abi): Initialize signal trampoline related members | |
3060 | of `struct gdbarch_tdep'. | |
3061 | (_initialize_alphafbsd_tdep): Add prototype. | |
3062 | ||
95303a68 TR |
3063 | 2003-07-11 Theodore A. Roth <[email protected]> |
3064 | ||
ba292e4c TR |
3065 | * Makefile.in (install-only): Quote sed expression when generating |
3066 | transformed_name. | |
95303a68 | 3067 | |
6896c0c7 RH |
3068 | 2003-07-11 Richard Henderson <[email protected]> |
3069 | ||
3070 | * Makefile.in (dwarf2-frame.o): Add complaints_h. | |
3071 | * dwarf2-frame.c: Include complaints.h. | |
3072 | (decode_frame_entry_1): Rename from decode_frame_entry; tidy | |
3073 | variable initialization; return NULL on error. | |
3074 | (decode_frame_entry): New. | |
3075 | ||
8edd5d01 AC |
3076 | 2003-07-11 Andrew Cagney <[email protected]> |
3077 | ||
c4a09524 AC |
3078 | * frame.h (frame_address_in_block): Delete declaration. |
3079 | * blockframe.c (frame_address_in_block): Delete function. | |
3080 | (get_frame_block): Use get_frame_address_in_block. | |
3081 | (block_innermost_frame): Ditto. | |
3082 | * stack.c (print_frame, backtrace_command_1): Ditto. | |
3083 | ||
8edd5d01 AC |
3084 | * frame.h (get_frame_address_in_block): Declare. |
3085 | (frame_unwind_address_in_block): Declare. | |
3086 | * frame.c (frame_unwind_address_in_block): New function. | |
3087 | (get_frame_address_in_block): New function. | |
3088 | ||
f7968451 AC |
3089 | 2003-07-10 Andrew Cagney <[email protected]> |
3090 | ||
3091 | * gdbarch.sh: Simplify predicate methods. Remove need to provide | |
3092 | pre-default. Note: re-generate has no effect. | |
3093 | ||
ae99b398 AC |
3094 | 2003-07-10 Andrew Cagney <[email protected]> |
3095 | ||
3096 | * gdbarch.sh: When a variable, but not a function, compare against | |
3097 | 0. Fix problem in previous patch. | |
3098 | * gdbarch.c: Re-generate. | |
3099 | ||
956ac328 AC |
3100 | 2003-07-10 Andrew Cagney <[email protected]> |
3101 | ||
3102 | * gdbarch.sh: Use gdb_assert instead of internal_error. Compare | |
3103 | functions against NULL, not 0. | |
3104 | * gdbarch.c: Re-generate. | |
3105 | ||
287c3240 FF |
3106 | 2003-07-10 Fred Fish <[email protected]> |
3107 | ||
3108 | * coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a | |
3109 | null string instead of a null pointer. | |
3110 | * solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto. | |
3111 | ||
32f63c4b MS |
3112 | 2003-07-09 Michael Snyder <[email protected]> |
3113 | ||
3114 | * sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error. | |
3115 | ||
402ecd56 MK |
3116 | 2003-07-09 Mark Kettenis <[email protected]> |
3117 | ||
3118 | * x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, | |
3119 | X86_64_RDI_REGNUM, X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, | |
3120 | X86_64_RIP_REGNUM, X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, | |
3121 | X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Moved here ... | |
3122 | * x86-64-tdep.c: ... from here. | |
3123 | ||
c481dac7 AS |
3124 | 2003-07-09 Andreas Schwab <[email protected]> |
3125 | ||
3126 | * m68k-tdep.h (enum struct_return): Define. | |
3127 | (struct gdbarch_tdep): Add struct_return. | |
3128 | * m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4 | |
3129 | bytes are padded to the right, not to the left. Pass struct value | |
3130 | address in register %a1, not on stack. | |
3131 | (m68k_use_struct_convention): New function. | |
3132 | (m68k_gdbarch_init): Set use_struct_convention. Initialize | |
3133 | struct_return in tdep to pcc_struct_return. | |
3134 | * m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to | |
3135 | reg_struct_return. | |
3136 | ||
64176fa3 JB |
3137 | 2003-07-09 Joel Brobecker <[email protected]> |
3138 | ||
3139 | * somread.c (som_symfile_offsets): Fix compilation error. | |
3140 | ||
96a4ee76 AC |
3141 | 2003-07-09 Andrew Cagney <[email protected]> |
3142 | ||
3143 | * regcache.c (register_size): Only check REGISTER_RAW_SIZE once. | |
3144 | Add comments about the checks. | |
3145 | ||
1517c6d1 AC |
3146 | 2003-07-08 Andrew Cagney <[email protected]> |
3147 | ||
3148 | * Makefile.in: Make dependency section headers consistent. | |
3149 | (config_h): Move to $BUILD headers section. | |
3150 | (exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto. | |
3151 | (msg_U_h, notify_S_h, process_reply_S_h): Ditto. | |
3152 | (ada-exp.tab.c): Move to YACC/LEX section. | |
3153 | (ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto. | |
3154 | (jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto. | |
3155 | ||
dc5dd1eb KW |
3156 | 2003-07-08 Kris Warkentin <[email protected]> |
3157 | ||
3158 | * nto-procfs.c: Cleaned up a bunch of ARI hits. | |
fda848e0 KW |
3159 | Include "gdb_dirent.h" instead of <dirent.h>, replace all instances |
3160 | of strerror with safe_strerror, use ISO C function definitions, | |
3161 | and replace instances of sprintf with snprintf. | |
dc5dd1eb | 3162 | |
612dde91 AC |
3163 | 2003-07-07 Andrew Cagney <[email protected]> |
3164 | ||
3165 | * frame.c (get_prev_frame): Enable check for identical frames. | |
3166 | Update comments. Update error messages. | |
3167 | ||
492c11d3 JB |
3168 | 2003-07-07 Joel Brobecker <[email protected]> |
3169 | ||
3170 | * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure. | |
3171 | ||
376a5a49 JB |
3172 | 2003-07-07 Joel Brobecker <[email protected]> |
3173 | ||
3174 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to | |
3175 | sort_symtab_syms, no longer necessary. | |
3176 | ||
22b4a9ad JB |
3177 | 2003-07-07 Joel Brobecker <[email protected]> |
3178 | ||
3179 | * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment. | |
3180 | ||
5bbcb741 JB |
3181 | 2003-07-07 Joel Brobecker <[email protected]> |
3182 | ||
3183 | * mips-tdep.c (mips_register_raw_size): Fix compilation failure. | |
3184 | (mips_register_byte): Likewise. | |
3185 | ||
c139e7d9 DJ |
3186 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
3187 | ||
3188 | * Makefile.in (sparc_tdep_h): New. | |
3189 | (sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o) | |
3190 | (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h). | |
3191 | * sparc-linux-nat.c: Include "sparc-tdep.h". | |
3192 | * sparc-nat.c: Likewise. | |
3193 | * sparc-tdep.c: Likewise. | |
3194 | * sparc64nbsd-nat.c: Likewise. | |
3195 | * sparcnbsd-nat.c: Likewise. | |
3196 | * sparcnbsd-tdep.c: Likewise. | |
3197 | * sparc-tdep.h: New file. | |
3198 | * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum | |
3199 | and sparc_npc_regnum. | |
3200 | ||
fd8f87c5 DJ |
3201 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
3202 | ||
3203 | * mips-linux-nat.c (mips_linux_cannot_fetch_register) | |
3204 | (mips_linux_cannot_store_register): List supported instead of | |
3205 | unsupported registers. | |
3206 | ||
13adf674 DJ |
3207 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
3208 | ||
3209 | * disasm.c (dump_insns): Separate instructions from addresses. | |
3210 | ||
8de307e0 AS |
3211 | 2003-07-07 Andreas Schwab <[email protected]> |
3212 | ||
3213 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
3214 | dependencies. | |
3215 | * m68k-tdep.c (NUM_FREGS): Delete. | |
3216 | (SIG_PC_FP_OFFSET): Delete. | |
3217 | (TARGET_M68K): Delete. | |
3218 | (P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP, | |
3219 | P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP, | |
3220 | P_MOVEL_SP, P_MOVEML_SP): Define. | |
3221 | (P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM, | |
3222 | P_TRAP): Delete. | |
3223 | (m68k_register_raw_size): Delete. | |
3224 | (m68k_register_virtual_size): Delete. | |
3225 | (m68k_register_type): Renamed from m68k_register_virtual_type and | |
3226 | add gdbarch argument. | |
3227 | (m68k_store_struct_return): Delete. | |
3228 | (m68k_deprecated_extract_return_value): Delete. | |
3229 | (m68k_deprecated_extract_struct_value_address): Delete. | |
3230 | (m68k_frame_chain): Delete. | |
3231 | (m68k_frame_saved_pc): Delete. | |
3232 | (m68k_fix_call_dummy): Delete. | |
3233 | (m68k_push_dummy_frame): Delete. | |
3234 | (m68k_pop_frame): Delete. | |
3235 | (m68k_extract_return_value): New function. | |
3236 | (m68k_store_return_value): Rewrite using regcache. | |
3237 | (m68k_extract_struct_value_address): Rewrite using regcache. | |
3238 | (m68k_push_dummy_call): New function. | |
3239 | (struct m68k_frame_cache): Define. | |
3240 | (m68k_alloc_frame_cache): New function. | |
3241 | (m68k_analyze_frame_setup): New function. | |
3242 | (m68k_analyze_register_saves): New function. | |
3243 | (m68k_analyze_prologue): New function. | |
3244 | (m68k_skip_prologue): Rewrite using above functions. | |
3245 | (m68k_unwind_pc): New function. | |
3246 | (m68k_frame_cache): New function. | |
3247 | (m68k_frame_this_id): New function. | |
3248 | (m68k_frame_prev_register): New function. | |
3249 | (m68k_frame_unwind): New variable. | |
3250 | (m68k_frame_p): New function. | |
3251 | (m68k_sigtramp_frame_cache): New function. | |
3252 | (m68k_sigtramp_frame_this_id): New function. | |
3253 | (m68k_sigtramp_frame_prev_register): New function. | |
3254 | (m68k_sigtramp_frame_unwind): New variable. | |
3255 | (m68k_sigtramp_frame_p): New function. | |
3256 | (m68k_frame_base_address): New function. | |
3257 | (m68k_frame_base): New function. | |
3258 | (m68k_unwind_dummy_id): New function. | |
3259 | (fill_gregset): Use regcache_collect. | |
3260 | (fill_fpregset): Likewise. | |
3261 | (m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is | |
3262 | defined. | |
3263 | (m68k_gdbarch_init): Don't define call_dummy_words. Don't set | |
3264 | deprecated_init_frame_pc, deprecated_store_struct_return, | |
3265 | deprecated_extract_return_value, deprecated_store_return_value, | |
3266 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
3267 | deprecated_frame_init_saved_regs, deprecated_register_raw_size, | |
3268 | deprecated_register_virtual_size, | |
3269 | deprecated_max_register_raw_size, | |
3270 | deprecated_max_register_virtual_size, | |
3271 | deprecated_register_virtual_type, deprecated_register_size, | |
3272 | deprecated_register_byte, deprecated_register_bytes, | |
3273 | deprecated_fp_regnum, deprecated_use_generic_dummy_frames, | |
3274 | call_dummy_location, deprecated_call_dummy_breakpoint_offset, | |
3275 | deprecated_pc_in_call_dummy, deprecated_call_dummy_length, | |
3276 | deprecated_call_dummy_start_offset, deprecated_call_dummy_words, | |
3277 | deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy, | |
3278 | deprecated_push_dummy_frame, deprecated_pop_frame, | |
3279 | deprecated_dummy_write_sp. Set deprecated_saved_pc_after_call | |
3280 | only if SYSCALL_TRAP is defined. Set extract_return_value, | |
3281 | store_return_value, extract_struct_value_address, register_type, | |
3282 | push_dummy_call, unwind_dummy_id, unwind_pc. Add two frame unwind | |
3283 | predicates. | |
3284 | * m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS, | |
3285 | M68K_MAX_REGISTER_SIZE): Define. | |
3286 | (struct m68k_sigtramp_info): Define. | |
3287 | (struct gdbarch_tdep): Add get_sigtramp_info. | |
3288 | * m68klinux-nat.c (fetch_register): Use register_size instead of | |
3289 | REGISTER_RAW_SIZE. Don't put assignment in if. | |
3290 | (store_register): Likewise. | |
3291 | (fetch_inferior_registers): Likewise. | |
3292 | (store_inferior_registers): Likewise. | |
3293 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete. | |
3294 | (m68k_linux_frame_saved_pc): Delete. | |
3295 | (m68k_linux_sigcontext_reg_offset, | |
3296 | m68k_linux_ucontext_reg_offset): Define. | |
3297 | (m68k_linux_get_sigtramp_info): New function. | |
3298 | (m68k_linux_extract_return_value): Rewrite using regcache. | |
3299 | (m68k_linux_store_return_value): Likewise. | |
3300 | (m68k_linux_extract_struct_value_address): Likewise. | |
3301 | (m68k_linux_init_abi): Set get_sigtramp_info in tdep structure. | |
3302 | Don't set deprecated_frame_saved_pc, | |
3303 | deprecated_extract_return_value, deprecated_store_return_value, | |
3304 | deprecated_extract_struct_value_address. Set | |
3305 | extract_return_value, store_return_value, | |
3306 | extract_struct_value_address. | |
3307 | ||
eb8bc282 AC |
3308 | 2003-07-07 Andrew Cagney <[email protected]> |
3309 | ||
3310 | * expprint.c: Include "user-regs.h" instead of "frame.h". | |
3311 | (print_subexp): Use user_reg_map_regnum_to_name, instead of | |
3312 | frame_map_regnum_to_name. | |
3313 | * frame.c: Include "user-regs.h" instead of "builtin-regs.h". | |
3314 | (frame_map_name_to_regnum): Simplify, call | |
3315 | user_reg_map_name_to_regnum. | |
3316 | (frame_map_regnum_to_name): Simplify, call | |
3317 | user_reg_map_regnum_to_name. | |
3318 | (frame_register_unwind): Update. | |
3319 | * std-regs.c: Include "user-regs.h" instead of "builtin-regs.h". | |
3320 | (_initialize_frame_reg): Call user_reg_add_builtin. | |
3321 | * findvar.c: Include "user-regs.h" instead of "builtin-regs.h". | |
3322 | (value_of_register): Use value_of_user_reg. | |
3323 | * eval.c (evaluate_subexp_standard): Update. | |
3324 | * parse.c (write_dollar_variable): Update. | |
3325 | * d10v-tdep.c (d10v_print_registers_info): Update. | |
3326 | * infcmd.c (registers_info): Update. | |
3327 | * Makefile.in (SFILES): Delete "builtin-regs.c", add "user-regs.c". | |
3328 | (builtin_regs_h): Delete macro. | |
3329 | (user_regs_h): Define. | |
3330 | (COMMON_OBS): Delete "builtin-regs.o", add "user-regs.o". | |
3331 | (builtin-regs.o): Delete target. | |
3332 | (user-regs.o): Specify dependencies. | |
3333 | (expprint.o): Update dependencies. | |
3334 | (findvar.o): Update dependencies. | |
3335 | (frame.o): Update dependencies. | |
3336 | (std-regs.o): Update dependencies. | |
3337 | ||
9f476a01 CF |
3338 | 2003-07-06 Christopher Faylor <[email protected]> |
3339 | ||
3340 | * win32-nat.c (solib_symbols_add): Use one variable for all section | |
3341 | address stuff. Pass variable rather than address of variable to | |
3342 | safe_symbol_file_add. | |
3343 | ||
a731b831 AS |
3344 | 2003-07-06 Andreas Schwab <[email protected]> |
3345 | ||
3346 | * m68klinux-nat.c (fill_fpregset): Fix use of loop index. | |
3347 | ||
9f83329d JB |
3348 | 2003-07-04 Joel Brobecker <[email protected]> |
3349 | ||
3350 | * rs6000-nat.c (vmap_symtab): Fix compilation error. | |
3351 | ||
27e28cc5 KW |
3352 | 2003-07-04 Kris Warkentin <[email protected]> |
3353 | ||
3354 | * config/i386/nto.mh: Set XM_FILE to xm-i386.h | |
3355 | ||
3356 | 2003-07-04 Kris Warkentin <[email protected]> | |
3357 | ||
3358 | * nto-procfs.c: New file. Native procfs support for QNX Neutrino. | |
3359 | * config/i386/nto.mh: New file. | |
3360 | * config/i386/nm-nto.h: New file. | |
3361 | * configure.host: Add i[3456]86-*-nto*. | |
3362 | ||
100f2e98 JB |
3363 | 2003-07-03 Joel Brobecker <[email protected]> |
3364 | ||
3365 | * remote-vx.c (vx_add_symbols): Fix compilation error. | |
3366 | ||
e23457df AC |
3367 | 2003-07-03 Andrew Cagney <[email protected]> |
3368 | ||
3369 | * gdbarch.sh (REGISTER_NAME): Do not supply a default. | |
3370 | * gdbarch.h, gdbarch.c: Re-generate. | |
3371 | * config/sparc/tm-sparc.h (REGISTER_NAME): Define. | |
3372 | (legacy_register_name): Declare. | |
3373 | * config/sparc/tm-sp64.h (legacy_register_name): Declare. | |
3374 | (REGISTER_NAME): Define. | |
3375 | * sparc-tdep.c (legacy_register_name): New function. | |
3376 | * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. | |
3377 | (REGISTER_NAME): Define. | |
3378 | (hppa64_register_name): Declare. | |
3379 | * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. | |
3380 | * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. | |
3381 | (hppa64_register_name): New function. | |
3382 | (hppa_register_name): New function. | |
3383 | * arch-utils.c (legacy_register_name): Delete. | |
3384 | * arch-utils.h (legacy_register_name): Delete. | |
3385 | ||
38caaeec DJ |
3386 | 2003-07-03 Daniel Jacobowitz <[email protected]> |
3387 | ||
3388 | * cli/cli-interp.c (cli_interpreter_resume): Update the | |
3389 | cli_uiout's stream to gdb_stdout. | |
3390 | ||
dadd712e AC |
3391 | 2003-07-03 Andrew Cagney <[email protected]> |
3392 | ||
3393 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add | |
3394 | predicate. | |
3395 | * gdbarch.h, gdbarch.c: Re-generate. | |
3396 | * regcache.c (init_regcache_descr): Use legacy code when either | |
3397 | REGISTER_BYTE or REGISTER_RAW_SIZE is set. | |
3398 | ||
c7f1390e DJ |
3399 | 2003-07-02 Daniel Jacobowitz <[email protected]> |
3400 | ||
3401 | * NEWS: Move "set logging" entry into GDB 6.0 section. | |
3402 | ||
4bc8c588 JB |
3403 | 2003-07-02 Jim Blandy <[email protected]> |
3404 | ||
a9dd42f1 JB |
3405 | * s390-tdep.c (struct frame_extra_info): new member: |
3406 | 'stack_bought_valid'. | |
3407 | (s390_get_frame_info): Set fextra_info->stack_bought_valid if we | |
3408 | initialize fextra_info->stack_bought. | |
3409 | (s390_frameless_function_invocation): Don't trust the value of | |
3410 | fextra_info_ptr->stack_bought unless | |
3411 | fextra_info->stack_bought_valid is set. | |
3412 | ||
4bc8c588 JB |
3413 | New S390 prologue analyzer. |
3414 | * s390-tdep.c (struct prologue_value, enum pv_boolean): New types. | |
3415 | (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, | |
3416 | pv_constant_last, pv_add, pv_add_constant, pv_subtract, | |
3417 | pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref, | |
3418 | compute_x_addr, s390_on_stack, s390_store, | |
3419 | s390_get_signal_frame_info): New functions. | |
3420 | (S390_NUM_SPILL_SLOTS): New macro. | |
3421 | (s390_get_frame_info): Rewritten. | |
3422 | (is_arg_reg): Deleted. | |
3423 | ||
3424 | Break out the decoding of S/390 instructions into separate | |
3425 | functions, to make it more legible, and easier to check | |
3426 | against the spec. | |
3427 | * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse, | |
3428 | is_rx, is_rxe): New functions. | |
3429 | (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras, | |
3430 | op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi, | |
3431 | op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st, | |
3432 | op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New | |
3433 | enums for opcode values. (Is this an improvement?) | |
3434 | ||
fd13a04a AC |
3435 | 2003-07-02 Andrew Cagney <[email protected]> |
3436 | ||
3437 | * i386-tdep.c: Revert change committed as part of trad-frame code | |
3438 | below. | |
3439 | ||
3f8091c1 DJ |
3440 | 2003-07-02 Daniel Jacobowitz <[email protected]> |
3441 | ||
3442 | * breakpoint.c (insert_catchpoint): Make static. | |
3443 | ||
8dd5115e AS |
3444 | 2003-07-02 Andreas Schwab <[email protected]> |
3445 | ||
3446 | * ia64-tdep.c (ia64_push_dummy_call): Define as combination of | |
3447 | former ia64_push_arguments and ia64_push_return_address, and use | |
3448 | regcache functions instead of read/write_register. | |
3449 | (ia64_gdbarch_init): Set push_dummy_call instead of | |
3450 | deprecated_push_arguments and deprecated_push_return_address. | |
3451 | ||
a2229c23 AJ |
3452 | 2003-07-01 Andreas Jaeger <[email protected]> |
3453 | ||
3454 | * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte | |
3455 | before the call. | |
3456 | Set %rax only to number of SSE registers used. | |
3457 | ||
3b3850e8 AC |
3458 | 2003-07-01 Andrew Cagney <[email protected]> |
3459 | ||
3460 | * trad-frame.h: Update comments, a -1 .addr is reserved. | |
3461 | (trad_frame_value_p, trad_frame_addr_p): Declare. | |
3462 | (trad_frame_reg_p): Declare. | |
3463 | (trad_frame_set_value): Rename trad_frame_register_value. | |
3464 | (trad_frame_set_unknown): Declare. | |
3465 | * trad-frame.c (trad_frame_realreg_p): New function. | |
3466 | (trad_frame_addr_p, trad_frame_value_p): New function. | |
3467 | (trad_frame_set_unknown): New function. | |
3468 | (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero. | |
3469 | (trad_frame_prev_register): Use trad_frame_realreg_p, | |
3470 | trad_frame_addr_p and trad_frame_value_p. | |
3471 | (trad_frame_set_value): Rename trad_frame_register_value. | |
3472 | * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p | |
3473 | and trad_frame_set_value. | |
a2229c23 | 3474 | |
4d819d0e JB |
3475 | 2003-06-30 Jim Blandy <[email protected]> |
3476 | ||
3477 | Patch from IBM (authors unspecified, probably Ulrich Weigand and | |
3478 | Gerhard Tonn) for argument passing on the S/390 and S/390x: | |
3479 | * s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space | |
3480 | for 16 registers, and then 32 more bytes. | |
3481 | (S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS): | |
3482 | New macros. | |
3483 | (is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially. | |
3484 | Move up in the file, since it's now used by is_simple_arg. | |
3485 | (is_simple_arg): Don't assume registers are four bytes long. | |
3486 | Exclude all double arguments. Extended floats are not simple | |
3487 | args. | |
3488 | (is_power_of_two): New function. | |
3489 | (pass_by_copy_ref): Call is_power_of_two, and check that the | |
3490 | length fits in a register, rather than listing all the acceptable | |
3491 | sizes. Extended floats are not passed by reference. | |
3492 | (s390_push_arguments): Don't assume registers are four bytes long. | |
3493 | Reserve an argument register to point to the buffer for structures | |
3494 | returned by value. Use S390_NUM_FP_PARAMETER_REGISTERS and | |
3495 | S390_STACK_FRAME_OVERHEAD. | |
3496 | ||
1ad828f1 AS |
3497 | 2003-06-30 Andreas Schwab <[email protected]> |
3498 | ||
3499 | * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to | |
3500 | format error message. | |
3501 | ||
39b00981 JB |
3502 | 2003-06-30 Joel Brobecker <[email protected]> |
3503 | ||
3504 | * sparc-tdep.c (stop_after_trap): Remove declaration, not used. | |
3505 | ||
b2a7f303 DC |
3506 | 2003-06-30 David Carlton <[email protected]> |
3507 | ||
3508 | Band-aid for PR c++/1245. | |
3509 | * Makefile.in (cp-support.o): Depend on complaints_h. | |
3510 | * cp-support.c: Include complaints.h. Add declaration for | |
3511 | find_last_component. | |
3512 | (cp_find_first_component): Separate code into | |
3513 | cp_find_first_component_aux. | |
3514 | (cp_find_first_component_aux): Call demangled_name_complaint. | |
3515 | (demangled_name_complaint): New. | |
3516 | ||
a257b5bb AC |
3517 | 2003-06-30 Andrew Cagney <[email protected]> |
3518 | ||
3519 | * remote.c (remote_write_bytes): Explicitly compute and then use | |
3520 | the payload size. Update comments to reflect. Fixes problem of | |
3521 | GDB not sending small packets as found by Fred Fish. | |
3522 | ||
0a2cfde4 AC |
3523 | 2003-06-30 Andrew Cagney <[email protected]> |
3524 | ||
3525 | * remote.c (remote_async_wait): Fix -Wformat problem. | |
3526 | ||
3fcb8548 AC |
3527 | 2003-06-29 Andrew Cagney <[email protected]> |
3528 | ||
3529 | * remote.c (remote_wait): Call error, and not warning, when the | |
3530 | packet is corrupt. | |
3531 | (remote_async_wait): Ditto. | |
3532 | ||
9f9970a3 DJ |
3533 | 2003-06-29 Daniel Jacobowitz <[email protected]> |
3534 | ||
3535 | * sparc-tdep.c (sparc_y_regnum): Make external again. | |
3536 | ||
83a8ccca DJ |
3537 | 2003-06-29 Daniel Jacobowitz <[email protected]> |
3538 | ||
3539 | * cli/cli-logging.c (pop_output_files): Add void to function | |
3540 | definition. | |
3541 | ||
d2cf594a AC |
3542 | 2003-06-29 Andrew Cagney <[email protected]> |
3543 | ||
3544 | * frame.c (frame_register_unwind): Use unsigned char when dumping | |
3545 | the buffer contents. | |
3546 | ||
0fac0b41 DJ |
3547 | 2003-06-28 Daniel Jacobowitz <[email protected]> |
3548 | ||
3549 | * cli/cli-logging.c: New file. | |
3550 | * cli-out.c (struct ui_out_data): Add original_stream. | |
3551 | (cli_redirect): New function. | |
3552 | (cli_ui_out_impl): Add cli_redirect. | |
3553 | (cli_out_new): Initialize original_stream. | |
3554 | * ui-out.c (default_ui_out_impl): Add NULL for redirect member. | |
3555 | (uo_redirect, ui_out_redirect): New. | |
3556 | * ui-out.h (struct ui_out_impl): Add redirect member. | |
3557 | (redirect_ftype): New. | |
3558 | (ui_out_redirect): Add prototype. | |
3559 | * Makefile.in: Add rules for cli-logging.c. | |
3560 | * NEWS: Mention "set logging". | |
3561 | ||
88a07d7c EZ |
3562 | 2003-06-27 Elena Zannoni <[email protected]> |
3563 | ||
3564 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o. | |
3565 | ||
4eb58876 AC |
3566 | 2003-06-27 Andrew Cagney <[email protected]> |
3567 | ||
3568 | * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function. | |
3569 | (m68hc11_gdbarch_init): Do not set call_dummy_address. | |
3570 | * avr-tdep.c (avr_call_dummy_address): Delete function. | |
3571 | (avr_gdbarch_init): Do not set call_dummy_address. | |
3572 | ||
1549f619 EZ |
3573 | 2003-06-27 Elena Zannoni <[email protected]> |
3574 | ||
3575 | * symfile.c (syms_from_objfile): Move variables to inner block. | |
3576 | Move the checks for the non-mainline case a bit earlier to avoid | |
3577 | doing some useless computations. | |
3578 | ||
3cb3398d EZ |
3579 | 2003-06-27 Elena Zannoni <[email protected]> |
3580 | ||
3581 | * dwarfread.c (decode_modified_type): Gag new compiler warning. | |
3582 | ||
3799ccc6 EZ |
3583 | 2003-06-26 Elena Zannoni <[email protected]> |
3584 | ||
3585 | * dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame | |
3586 | sections. | |
3587 | ||
ce1f6491 MC |
3588 | 2003-06-26 Michael Chastain <[email protected]> |
3589 | ||
3590 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc, | |
3591 | gdb/testsuite/gdb.c++/pr-1210.exp. | |
3592 | ||
d958dfd0 AC |
3593 | 2003-06-26 Andrew Cagney <[email protected]> |
3594 | ||
3595 | * config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's | |
3596 | altivec_expression.h and altivec_registers.h. | |
3597 | ||
d31431ed AC |
3598 | 2003-06-26 Andrew Cagney <[email protected]> |
3599 | ||
3600 | * mips-tdep.c (gdb_print_insn_mips): Only explicitly set | |
3601 | info->mach when MIPS16. Patch suggested by Fred Fish. | |
3602 | ||
714b1282 AC |
3603 | 2003-06-26 Andrew Cagney <[email protected]> |
3604 | ||
3605 | * utils.c (internal_vproblem): Print the problem to a reason | |
3606 | buffer and then pass to query. Make the msg variable more local. | |
3607 | ||
42efa47a AC |
3608 | 2003-06-26 Andrew Cagney <[email protected]> |
3609 | ||
3610 | * gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate. Deprecate. | |
3611 | (FRAME_LOCALS_ADDRESS): Add predicate. Deprecate. | |
3612 | * gdbarch.h, gdbarch.c: Re-generate. | |
3613 | * frame-base.c (default_frame_args_address): Update. Use | |
3614 | default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is | |
3615 | not available. | |
3616 | (default_frame_locals_address): Ditto for | |
3617 | DEPRECATED_FRAME_LOCALS_ADDRESS. | |
3618 | * vax-tdep.c (vax_sigtramp_saved_pc): Update. | |
3619 | (vax_frame_num_args): Update. | |
3620 | (vax_gdbarch_init): Update. | |
3621 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3622 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
3623 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
3624 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
3625 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
3626 | * symtab.h (address_class): Update comments. | |
3627 | * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update. | |
3628 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
3629 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
3630 | * config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
3631 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
3632 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
3633 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
3634 | * alpha-mdebug-tdep.c: Update. | |
3635 | * ada-lang.c (add_symbols_from_enclosing_procs): Update. | |
3636 | ||
8ffd9b1b AJ |
3637 | 2003-06-26 Andreas Jaeger <[email protected]> |
3638 | ||
3639 | * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number | |
3640 | of SSE registers so that varargs functions work. Rework handling | |
3641 | of passing arguments on the stack. | |
3642 | (x86_64_store_return_value): Return double and float values in SSE | |
3643 | register. | |
3644 | ||
e8ac10a6 MC |
3645 | 2003-06-24 Michael Chastain <[email protected]> |
3646 | ||
3647 | * PROBLEMS: Document pr gdb/1091 and pr gdb/1193, | |
3648 | the "constructor breakpoints ignored" bug. | |
3649 | ||
986af8e6 DC |
3650 | 2003-06-25 David Carlton <[email protected]> |
3651 | ||
3652 | * MAINTAINERS: Update e-mail address. | |
3653 | ||
d64558a5 JB |
3654 | 2003-06-24 Jim Blandy <[email protected]> |
3655 | ||
e538d2d7 JB |
3656 | * ppc-linux-tdep.c: More "Linux" -> "GNU/Linux". |
3657 | ||
02631ec0 JB |
3658 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New |
3659 | function. | |
3660 | (ppc_linux_init_abi): Register it as the | |
3661 | CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI. | |
3662 | ||
e716d87a JB |
3663 | * ppc-linux-tdep.c (ppc64_call_dummy_address): New function. |
3664 | (ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address | |
3665 | method. | |
3666 | ||
d64558a5 JB |
3667 | * ppc-linux-tdep.c (ppc64_desc_entry_point): New function. |
3668 | (ppc64_standard_linkage_target): Use it. | |
3669 | ||
449a5da4 AC |
3670 | 2003-06-23 Andrew Cagney <[email protected]> |
3671 | ||
3672 | * rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases | |
3673 | for 0 "int0" and 4 "int32" sized registers. | |
3674 | * gdbtypes.c (builtin_type_int0): Define. | |
3675 | (build_gdbtypes): Initialize builtin_type_int0. | |
3676 | * gdbtypes.h (builtin_type_int0): Declare. | |
3677 | ||
b2a02dda SC |
3678 | 2003-06-23 Stephane Carrez <[email protected]> |
3679 | ||
3680 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed | |
3681 | as characters are unsigned. | |
3682 | ||
fba3138e DJ |
3683 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
3684 | ||
3685 | PR gdb/1179 | |
3686 | * dwarfread.c (struct_type): Skip static fields without crashing. | |
3687 | ||
f6c8180b AC |
3688 | 2003-06-22 Andrew Cagney <[email protected]> |
3689 | ||
3690 | GDB 6.0 branch created. | |
f2c06f52 AC |
3691 | * README: Update. |
3692 | * PROBLEMS: Update. Empty. | |
3693 | * NEWS: Update. | |
f6c8180b | 3694 | |
ae822768 DJ |
3695 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
3696 | ||
3697 | * symfile.c (add_symbol_file_command): Use parse_and_eval_address. | |
3698 | Suggested by Nick Hibma <[email protected]>. | |
3699 | ||
261de166 AC |
3700 | 2003-06-22 Andrew Cagney <[email protected]> |
3701 | ||
3702 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle | |
3703 | GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil | |
3704 | Velikov. | |
3705 | ||
30e94205 DJ |
3706 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
3707 | ||
3708 | * cli/cli-cmds.c (shell_escape): Silence warnings from old | |
3709 | compilers. | |
3710 | ||
9e14d721 DJ |
3711 | 2003-06-21 Daniel Jacobowitz <[email protected]> |
3712 | ||
3713 | * c-valprint.c (c_value_print): Add VALUE_OFFSET to the address | |
3714 | argument of val_print. | |
3715 | * cp-valprint.c (cp_print_value): Don't add the offset parameter | |
3716 | to the address argument of baseclass_offset or target_read_memory. | |
3717 | Do add it to the argument of cp_print_value_fields. | |
3718 | ||
a4b8ebc8 AC |
3719 | 2003-06-21 Andrew Cagney <[email protected]> |
3720 | ||
3721 | * mips-tdep.c: Include "reggroups.h" and "sim-regno.h". | |
3722 | (mips_register_name): Return names for NUM_REGS..2*NUM_REGS | |
3723 | instead of 0..NUM_REGS. | |
3724 | (mips_register_reggroup_p): New function. | |
3725 | (mips_pseudo_register_write): New function. | |
3726 | (mips_pseudo_register_read): New function. | |
3727 | (mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size | |
3728 | based on the register's type. | |
3729 | (read_next_frame_reg): Simplify. Assert that REGNO is a pseudo / | |
3730 | cooked. | |
3731 | (mips_get_saved_register): Simplify. Assert that REGNO is a | |
3732 | pseudo / cooked. | |
3733 | (mips_register_byte): New function. Use MIPS_REGISTER_BYTE. | |
3734 | (mips_register_type): Replace mips_register_virtual_type. Map | |
3735 | NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE | |
3736 | when available. | |
3737 | (read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert | |
3738 | that the register is cooked / virtual. | |
3739 | (mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC. | |
3740 | Only get the extra info when needed. | |
3741 | (set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well. | |
3742 | (mips32_heuristic_proc_desc): Fetch the cooked register. | |
3743 | (heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto. | |
3744 | (mips_init_extra_frame_info, get_frame_pointer): Ditto. | |
3745 | (mips_print_register): Use gdbarch_register_type, instead of | |
3746 | REGISTER_VIRTUAL_TYPE. | |
3747 | (print_gp_register_row): Use gdbarch_register_type, instead of | |
3748 | REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM. | |
3749 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
3750 | Print the pseudo / cooked registers. | |
3751 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
3752 | Print the pseudo / cooked registers. | |
3753 | (mips_xfer_register): Use regcache_cooked_read_part. Assert that | |
3754 | REG_NUM is pseudo / cooked. | |
3755 | (mips_o32_xfer_return_value): Xfer the pseudo / cooked register. | |
3756 | (mips_n32n64_xfer_return_value): Ditto. | |
3757 | (mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS. | |
3758 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto. | |
3759 | (mips_register_sim_regno): New function. | |
3760 | (mips_gdbarch_init): Set deprecated_register_byte, | |
3761 | register_group_p, pseudo_register_write, pseudo_register_read, | |
3762 | register_sim_regno, and num_pseudo_regs. Set register_type, | |
3763 | instead of register_virtual_type. | |
3764 | * Makefile.in (mips-tdep.o): Update dependencies. | |
3765 | * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename | |
3766 | REGISTER_VIRTUAL_TYPE. | |
3767 | * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto. | |
3768 | * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto. | |
3769 | * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE. | |
3770 | * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto. | |
3771 | * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto. | |
3772 | ||
325ed089 DJ |
3773 | 2003-06-21 Daniel Jacobowitz <[email protected]> |
3774 | ||
3775 | * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h) | |
3776 | * cli/cli-cmds.c: Include "gdb_vfork.h". | |
3777 | (shell_escape): Use vfork. | |
3778 | ||
f0e7d0e8 AC |
3779 | 2003-06-21 Andrew Cagney <[email protected]> |
3780 | ||
c57bb9fa AC |
3781 | * mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling |
3782 | 32 bit floating-point register saves. | |
3783 | ||
6e51443a AC |
3784 | * frame.h (deprecated_unwind_get_saved_register): Delete. |
3785 | * frame.c (deprecated_unwind_get_saved_register): Delete function. | |
3786 | * mips-tdep.c (mips_get_saved_register): Use frame_register_unwind | |
3787 | and deprecated_get_next_frame_hack instead of | |
3788 | deprecated_unwind_get_saved_register. | |
3789 | ||
ed183c7c AC |
3790 | * mips-tdep.c (mips_dump_tdep): Do not print |
3791 | REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE. | |
3792 | ||
f0e7d0e8 AC |
3793 | * frame.c (get_frame_register): New function. |
3794 | (frame_unwind_register_signed): New function. | |
3795 | (get_frame_register_signed): New function. | |
3796 | (frame_unwind_register_unsigned): New function. | |
3797 | (get_frame_register_unsigned): New function. | |
3798 | * frame.h: Add comments on naming schema. | |
3799 | (get_frame_register, frame_unwind_register_signed): Declare. | |
3800 | (get_frame_register_signed, get_frame_register_signed): Declare. | |
3801 | (frame_unwind_register_unsigned): Declare. | |
3802 | (get_frame_register_unsigned): Declare. | |
3803 | ||
2224d941 TR |
3804 | 2003-06-20 Theodore A. Roth <[email protected]> |
3805 | ||
3806 | * avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit. | |
3807 | ||
8619218d TR |
3808 | 2003-06-20 Theodore A. Roth <[email protected]> |
3809 | ||
3810 | * avr-tdep.c (avr_read_pc): Use regcache instead of read_register. | |
3811 | (avr_read_sp): Ditto. | |
3812 | ||
0b1b50c0 DJ |
3813 | 2003-06-20 Daniel Jacobowitz <[email protected]> |
3814 | ||
3815 | * config/arm/linux.mt: Remove code protected by GDBSERVER define. | |
3816 | * config/arm/nm-linux.h: Likewise. | |
3817 | * config/arm/tm-linux.h: Likewise. | |
3818 | * config/ia64/nm-linux.h: Likewise. | |
3819 | * config/ia64/tm-ia64.h: Likewise. | |
3820 | * config/s390/tm-linux.h: Likewise. | |
3821 | * config/s390/tm-s390.h: Likewise. | |
3822 | * s390-nat.c: Likewise. | |
3823 | * s390-tdep.c: Likewise. | |
3824 | ||
3825 | * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES. | |
3826 | * config/ia64/linux.mt: Likewise. | |
3827 | * config/m68k/linux.mh: Likewise. | |
3828 | * config/mips/linux.mt: Likewise. | |
3829 | * config/powerpc/linux.mh: Likewise. | |
3830 | * config/sh/linux.mt: Likewise. | |
3831 | ||
c8c18e65 KW |
3832 | 2003-06-19 Kris Warkentin <[email protected]> |
3833 | ||
3834 | * solib.c (solib_open): Change tests for whether to search | |
3835 | LD_LIBRARY_PATH and PATH to better deal with remotes. Update | |
3836 | comments. | |
3837 | ||
dcccef2e TR |
3838 | 2003-06-19 Theodore A. Roth <[email protected]> |
3839 | ||
3840 | * avr-tdep.c (avr_frame_address): Delete function. | |
3841 | (avr_gdbarch_init): Don't call set_gdbarch_frame_args_address, | |
3842 | set_gdbarch_frame_args_address. | |
3843 | ||
5861a190 AC |
3844 | 2003-06-19 Andrew Cagney <[email protected]> |
3845 | ||
3846 | * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete. | |
3847 | (REGISTER_CONVERT_FROM_TYPE): Delete. | |
3848 | (mips_register_convert_to_type): Delete declaration. | |
3849 | (mips_register_convert_from_type): Delete declaration. | |
3850 | * linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux | |
3851 | kernel/. | |
3852 | ||
0274a8ce MS |
3853 | 2003-06-19 Michael Snyder <[email protected]> |
3854 | ||
3855 | * linux-nat.h: New file. | |
3856 | * linux-nat.c: Include linux-nat.h. | |
8ffd9b1b | 3857 | * lin-lwp.c: Include linux-nat.h. |
0274a8ce | 3858 | Move struct lwp_info def to linux-nat.h. |
8ffd9b1b | 3859 | * linux-proc.c: Include linux-nat.h. |
0274a8ce MS |
3860 | (linux_make_note_section): Iterate over lwps instead of threads. |
3861 | (linux_do_thread_registers): Use lwp instead of merged pid. | |
3862 | * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h. | |
8ffd9b1b | 3863 | * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): |
0274a8ce MS |
3864 | Add dependency on linux_nat_h. |
3865 | ||
adf5f719 TR |
3866 | 2003-06-19 Theodore A. Roth <[email protected]> |
3867 | ||
3868 | * avr-tdep.c (avr_extract_return_value): Delete debugging fprintf. | |
3869 | ||
6766a268 DJ |
3870 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
3871 | ||
3872 | * varobj.c (get_type, get_target_type): Use check_typedef. | |
3873 | ||
1171114a DJ |
3874 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
3875 | ||
3876 | * breakpoint.c (insert_catchpoint): Call internal_error. | |
3877 | ||
adcf68a2 TR |
3878 | 2003-06-19 Theodore A. Roth <[email protected]> |
3879 | ||
3880 | * avr-tdep.c (avr_push_dummy_code): Delete function. | |
3881 | (avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code. | |
3882 | ||
ea67f13b DJ |
3883 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
3884 | ||
3885 | * arch-utils.c (default_prepare_to_proceed): Remove. | |
3886 | (generic_prepare_to_proceed): Remove. | |
3887 | * arch-utils.h (default_prepare_to_proceed): Remove prototype. | |
3888 | (generic_prepare_to_proceed): Remove prototype. | |
3889 | * gdbarch.sh (PREPARE_TO_PROCEED): Remove. | |
3890 | * gdbarch.c: Regenerate. | |
3891 | * gdbarch.h: Regenerate. | |
3892 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype. | |
3893 | * hppah-nat.c (hppa_switched_threads): Remove. | |
3894 | * infrun.c (prepare_to_proceed): New static function, copied from | |
3895 | generic_prepare_to_proceed. Remove select_it argument. | |
3896 | (proceed): Call prepare_to_proceed. | |
3897 | * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove | |
3898 | variables. | |
3899 | (ptrace_wait): Don't set the removed variables. | |
3900 | (hppa_switched_threads): Remove. | |
3901 | * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove. | |
3902 | * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define. | |
3903 | (lin_lwp_prepare_to_proceed): Remove prototype. | |
3904 | * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine. | |
3905 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define. | |
3906 | ||
4add8633 TR |
3907 | 2003-06-18 Theodore A. Roth <[email protected]> |
3908 | ||
3909 | * avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, and | |
3910 | trad-frame.h. | |
3911 | (AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64. | |
3912 | (AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define. | |
3913 | (AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define. | |
3914 | (AVR_PROLOGUE_*): Enumerate prologue types. | |
3915 | (struct frame_extra_info): Remove. | |
3916 | (struct avr_unwind_cache): Define. | |
3917 | (avr_write_sp): Delete function. | |
3918 | (avr_read_fp): Ditto. | |
3919 | (avr_init_extra_frame_info): Ditto. | |
3920 | (avr_pop_frame): Ditto. | |
3921 | (avr_frame_saved_pc): Ditto. | |
3922 | (avr_saved_pc_after_call): Ditto. | |
3923 | (avr_push_return_address): Ditto. | |
3924 | (avr_frame_chain): Ditto. | |
3925 | (avr_store_struct_return): Ditto. | |
3926 | (avr_push_arguments): Ditto. | |
3927 | (avr_scan_prologue): Update comments. Changed to set up the info for | |
3928 | cache unwinding. Now returns end of prologue PC. | |
3929 | (avr_skip_prologue): Better handling of functions lacking a prologue | |
3930 | by using avr_scan_prologue. | |
3931 | (avr_scan_arg_moves): New function. | |
3932 | (avr_saved_regs_unwinder): Ditto. | |
3933 | (avr_frame_unwind_cache): Ditto. | |
3934 | (avr_unwind_pc): Ditto. | |
3935 | (avr_frame_this_id): Ditto. | |
3936 | (avr_frame_prev_register): Ditto. | |
3937 | (avr_frame_p): Ditto. | |
3938 | (avr_frame_base_address ): Ditto. | |
3939 | (avr_unwind_dummy_id): Ditto. | |
3940 | (avr_push_dummy_code): Ditto. | |
3941 | (push_stack_item): Ditto. | |
3942 | (pop_stack_item): Ditto. | |
3943 | (avr_push_dummy_call): Ditto. | |
3944 | (struct stack_item): Define. | |
3945 | (avr_frame_unwind): Declare structure. | |
3946 | (avr_frame_base): Ditto. | |
3947 | (avr_gdbarch_init): Remove calls to | |
3948 | set_gdbarch_deprecated_init_frame_pc, | |
3949 | set_gdbarch_deprecated_target_read_fp, | |
3950 | set_gdbarch_deprecated_dummy_write_sp, | |
3951 | set_gdbarch_deprecated_fp_regnum, | |
3952 | set_gdbarch_deprecated_push_arguments, | |
3953 | set_gdbarch_deprecated_push_return_address, | |
3954 | set_gdbarch_deprecated_pop_frame, | |
3955 | set_gdbarch_deprecated_store_struct_return, | |
3956 | set_gdbarch_deprecated_frame_init_saved_regs, | |
3957 | set_gdbarch_deprecated_init_extra_frame_info, | |
3958 | set_gdbarch_deprecated_frame_chain, | |
3959 | set_gdbarch_deprecated_frame_saved_pc, | |
3960 | set_gdbarch_deprecated_saved_pc_after_call. | |
3961 | Add calls to set_gdbarch_push_dummy_call, | |
3962 | set_gdbarch_push_dummy_code, | |
3963 | frame_unwind_append_predicate, | |
3964 | frame_base_set_default, | |
3965 | set_gdbarch_unwind_dummy_id, | |
3966 | set_gdbarch_unwind_pc. | |
3967 | Wrap a long line. | |
3968 | ||
7be04a68 MS |
3969 | 2003-06-18 Corinna Vinschen <[email protected]> |
3970 | ||
3971 | * h8300-tdep.c (h8300s_register_name): Enable MACH and MACL | |
3972 | registers for H8/300S. | |
3973 | (h8300_print_registers_info): Ditto. | |
8ffd9b1b | 3974 | (h8300_gdbarch_init): Accommodate register count for H8/300S. |
7be04a68 | 3975 | |
ae087d01 DJ |
3976 | 2003-06-18 Daniel Jacobowitz <[email protected]> |
3977 | ||
3978 | * config/nm-linux.h (linux_record_stopped_pid): New prototype. | |
3979 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
3980 | (lin_lwp_wait): Likewise. Update comments. | |
3981 | * linux-nat.c (struct simple_pid_list, add_to_pid_list) | |
3982 | (pull_pid_from_list, linux_record_stopped_pid): New. | |
3983 | ||
07d8f827 SC |
3984 | 2003-06-17 Stephane Carrez <[email protected]> |
3985 | ||
3986 | * ada-lang.c (scan_discrim_bound): Name first argument. | |
3987 | (ada_add_block_symbols): Remove BLOCK_SYM to use local variable | |
3988 | declared by ALL_BLOCK_SYMBOLS. | |
3989 | ||
7cb47b14 SC |
3990 | 2003-06-17 Stephane Carrez <[email protected]> |
3991 | ||
3992 | * ada-tasks.c (find_function_in_inferior): Don't declare it. | |
3993 | ("regcache.h"): Include it. | |
3994 | * ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN. | |
3995 | ||
6ad8ae5c DJ |
3996 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
3997 | ||
3998 | * NEWS: Mention gdbserver detach change and "disconnect" command. | |
3999 | * infcmd.c (disconnect_command): New function. | |
4000 | (_initialize_infcmd): Add ``disconnect'' command. | |
4001 | * remote.c (remote_async_detach): Delete. | |
4002 | (remote_detach): Merge remote_async_detach. | |
4003 | (remote_disconnect): New. | |
4004 | (init_remote_ops): Set to_disconnect. | |
4005 | (init_remote_cisco_ops): Likewise. | |
4006 | (init_remote_async_ops): Likewise. Use remote_detach. | |
4007 | * target.c (cleanup_target): Default to_disconnect. | |
4008 | (update_current_target): Inherit to_disconnect. | |
4009 | (target_disconnect, debug_to_disconnect): New functions. | |
4010 | (setup_target_debug): Set to_disconnect. | |
4011 | * target.h (struct target_ops): Add to_disconnect. | |
4012 | (target_disconnect): Add prototype. | |
4013 | ||
687595f9 DJ |
4014 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
4015 | ||
4016 | * breakpoint.c (insert_catchpoint): New function. | |
4017 | (insert_breakpoints): Use catch_exceptions to call | |
4018 | insert_catchpoint. Disable catchpoints if they fail to insert. | |
4019 | ||
29239a8f DJ |
4020 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
4021 | ||
4022 | * symfile.c (reread_symbols): Clear sym_private. | |
4023 | ||
2cdf3c63 AC |
4024 | 2003-06-17 Andrew Cagney <[email protected]> |
4025 | ||
4026 | * trad-frame.h (struct frame_info): Add opaque declaration. | |
4027 | * remote-fileio.h (struct cmd_list_element): Add opaque | |
4028 | declaration. | |
4029 | * h8300-tdep.c (h8300s_register_name): Avoid C++ // style | |
4030 | comments. | |
4031 | ||
cf0e1e0d DJ |
4032 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
4033 | ||
4034 | * remote.c (remote_prepare_to_store): Replace call to | |
4035 | deprecated_read_register_bytes with multiple regcache_raw_read | |
4036 | calls. | |
4037 | ||
192cdb19 KW |
4038 | 2003-06-17 Kris Warkentin <[email protected]> |
4039 | ||
4040 | * nto-tdep.c (nto_map_arch_to_cputype): Recognize "powerpc". | |
4041 | (nto_find_and_open_solib): Likewise. | |
4042 | (nto_init_solib_absolute_prefix): Likewise. | |
4043 | (_initialize_nto_tdep): Fix indentation. | |
4044 | ||
89929b45 KW |
4045 | 2003-06-17 Kris Warkentin <[email protected]> |
4046 | ||
4047 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR. | |
4048 | ||
46019f27 KW |
4049 | 2003-06-17 Kris Warkentin <[email protected]> |
4050 | ||
4051 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using. | |
4052 | ||
1a38736e JB |
4053 | 2003-06-17 Jim Blandy <[email protected]> |
4054 | ||
4055 | * ppc-linux-tdep.c: "Linux" -> "GNU/Linux" | |
4056 | ||
3605c34a TR |
4057 | 2003-06-16 Theodore A. Roth <[email protected]> |
4058 | ||
4059 | * avr-tdep.c (avr_extract_return_value): New function. | |
4060 | (avr_gdbarch_init): Set extract_return_value method. | |
4061 | ||
870b3035 AC |
4062 | 2003-06-16 Andrew Cagney <[email protected]> |
4063 | ||
4064 | * frame.h (deprecated_get_next_frame_hack): Declare. | |
4065 | * frame.c (legacy_saved_regs_prev_register): Only require | |
4066 | DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that | |
4067 | there are always saved regs. | |
4068 | (deprecated_generic_get_saved_register): Do not require | |
4069 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
4070 | (legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN, | |
4071 | use frame ID unwind instead. | |
4072 | (deprecated_get_next_frame_hack): New function. | |
4073 | ||
63d47a7d CV |
4074 | 2003-06-16 Corinna Vinschen <[email protected]> |
4075 | ||
4076 | * h8300-tdep.c (h8300_push_arguments): Remove. Substitute by... | |
4077 | (h8300_push_dummy_call): ...this function. Some minor optimization. | |
4078 | (h8300_push_return_address): Remove. | |
4079 | (h8300_gdbarch_init): Remove calls to | |
4080 | set_gdbarch_deprecated_dummy_write_sp, | |
4081 | set_gdbarch_deprecated_push_arguments and | |
4082 | set_gdbarch_deprecated_push_return_address. | |
4083 | Add call to set_gdbarch_push_dummy_call. | |
4084 | ||
4bb1dc5e CV |
4085 | 2003-06-16 Corinna Vinschen <[email protected]> |
4086 | ||
4087 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define. | |
4088 | (E_PSEUDO_EXR_REGNUM): Ditto. | |
4089 | (h8300_is_argument_spill): Check for instructions moving argument | |
8ffd9b1b | 4090 | registers into safe registers. |
4bb1dc5e CV |
4091 | (h8300_skip_prologue): Check for stm instruction to push registers |
4092 | used for register variables onto stack. | |
4093 | (gdb_print_insn_h8300): Remove. | |
4094 | (h8300_examine_prologue): Add a comment. | |
4095 | (h8300_register_name): Take pseudo registers into account. | |
4096 | (h8300s_register_name): Ditto. | |
4097 | (h8300sx_register_name): Ditto. | |
4098 | (h8300_print_register): Ditto. | |
4099 | (h8300_print_registers_info): Define "nice" printing order. | |
4100 | (h8300_saved_pc_after_call): Take pseudo registers into account. | |
4101 | (h8300_register_type): Ditto. Return type used for remote connection | |
4102 | when requesting real CCR or EXR register, return actual type when | |
4103 | requesting pseudo CCR or EXR. | |
4104 | (h8300_pseudo_register_read): New function. | |
4105 | (h8300_pseudo_register_write): Ditto. | |
4106 | (h8300_dbg_reg_to_regnum): Ditto. | |
4107 | (h8300s_dbg_reg_to_regnum): Ditto. | |
4108 | (h8300_gdbarch_init): Call set_gdbarch_num_pseudo_regs, | |
4109 | set_gdbarch_ecoff_reg_to_regnum, set_gdbarch_dwarf_reg_to_regnum, | |
4110 | set_gdbarch_dwarf2_reg_to_regnum, set_gdbarch_stab_reg_to_regnum and | |
4111 | set_gdbarch_print_insn architecture dependent. | |
4112 | Call set_gdbarch_pseudo_register_read and | |
4113 | set_gdbarch_pseudo_register_write. | |
4114 | (_initialize_h8300_tdep): Remove assignment to deprecated_tm_print_insn. | |
4115 | ||
a59fe496 AC |
4116 | 2003-06-16 Andrew Cagney <[email protected]> |
4117 | ||
4118 | * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate. | |
4119 | * gdbarch.h, gdbarch.c: Re-generate. | |
4120 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4121 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4122 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4123 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4124 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4125 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4126 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4127 | * infcall.c (call_function_by_hand): Update. | |
4128 | * ia64-tdep.c (ia64_push_arguments): Update comment. | |
4129 | * frame.c (legacy_get_prev_frame): Do not assume | |
4130 | SAVE_DUMMY_FRAME_TOS_P. | |
4131 | * dummy-frame.c (find_dummy_frame): Update comment. | |
4132 | ||
6f4e5a41 AC |
4133 | 2003-06-16 Andrew Cagney <[email protected]> |
4134 | ||
4135 | * regcache.c (do_cooked_read): Do not use register_valid_p. | |
4136 | ||
72fab697 TR |
4137 | 2003-06-15 Theodore A. Roth <[email protected]> |
4138 | ||
4139 | * avr-tdep.c (avr_register_type): Remove a blank line. | |
4140 | (avr_scan_prologue): Correct some comments. | |
4141 | ||
e3d8b004 TR |
4142 | 2003-06-15 Theodore A. Roth <[email protected]> |
4143 | ||
4144 | * avr-tdep.c (avr_scan_prologue): Update comment describing the various | |
4145 | prologue types. | |
8ffd9b1b | 4146 | Properly scan prologues generated by gcc with the -mcall-prologues |
e3d8b004 TR |
4147 | option. |
4148 | Add code to scan -mcall-prologues for mega devices. | |
4149 | ||
866b76ea TR |
4150 | 2003-06-15 Theodore A. Roth <[email protected]> |
4151 | ||
4152 | * avr-tdep.c (avr_register_byte): Delete function. | |
4153 | (avr_register_raw_size): Delete function. | |
4154 | (avr_register_virtual_size): Delete function. | |
4155 | (avr_register_virtual_type): Delete function. | |
4156 | (avr_register_type): New function. | |
4157 | (avr_address_to_pointer): Remove unused code. | |
4158 | (avr_read_fp): Need to read FP as two separate bytes due to change to | |
4159 | avr_register_type() usage. | |
4160 | (avr_gdbarch_init): Don't set deprecated_register_size. | |
4161 | Don't set deprecated_register_bytes. | |
4162 | Don't set deprecated_register_byte. | |
4163 | Don't set deprecated_register_raw_size. | |
4164 | Don't set deprecated_max_register_raw_size. | |
4165 | Don't set deprecated_register_virtual_size. | |
4166 | Don't set deprecated_max_register_virtual_size. | |
4167 | Don't set deprecated_register_virtual_type. | |
4168 | Set register_type method. | |
4169 | ||
3993f6b1 DJ |
4170 | 2003-06-15 Daniel Jacobowitz <[email protected]> |
4171 | ||
4172 | * Makefile.in (linux-nat.o): Add rule. | |
4173 | * linux-nat.c: New file. | |
4174 | * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define. | |
4175 | (CHILD_INSERT_VFORK_CATCHPOINT): Define. | |
4176 | (CHILD_INSERT_EXEC_CATCHPOINT): Define. | |
4177 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o. | |
4178 | * config/arm/linux.mh (NATDEPFILES): Likewise. | |
4179 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
4180 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
4181 | * config/ia64/linux.mh (NATDEPFILES): Likewise. | |
4182 | * config/m68k/linux.mh (NATDEPFILES): Likewise. | |
4183 | * config/mips/linux.mh (NATDEPFILES): Likewise. | |
4184 | * config/powerpc/linux.mh (NATDEPFILES): Likewise. | |
4185 | * config/s390/s390.mh (NATDEPFILES): Likewise. | |
4186 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
4187 | ||
786a90bb MK |
4188 | 2003-06-15 Mark Kettenis <[email protected]> |
4189 | ||
4190 | * i387-tdep.c: Reorder includes, fix some whitespace issues and | |
4191 | replace out-of-date comment. | |
4192 | ||
3bd3f01e AC |
4193 | 2003-06-15 Andrew Cagney <[email protected]> |
4194 | ||
4195 | * rdi-share/host.h (Fail): Change to a varargs function. | |
4196 | * remote-rdi.c (Fail): Update. | |
8ffd9b1b | 4197 | |
de5b9bb9 MK |
4198 | 2003-06-15 Mark Kettenis <[email protected]> |
4199 | ||
4200 | * i386-tdep.c (i386_next_regnum): Fix bounds checking. | |
4201 | (i386_convert_register_p, i386_register_to_value, | |
4202 | i386_register_from_value): Handle types longer than 8 bytes. | |
4203 | ||
d532c08f MK |
4204 | 2003-06-15 Mark Kettenis <[email protected]> |
4205 | ||
4206 | * i386-tdep.c (i386_register_to_value, i386_value_to_register): | |
4207 | Move floating-point code to new function in i387-tdep.c. | |
4208 | * i387-tdep.c (i387_register_to_value, i387_value_to_register): | |
4209 | New functions containing code moved here from i386-tdep.c. | |
4210 | * i387-tdep.h: Add opaque declaration for `struct type'. | |
4211 | (i387_register_to_value, i387_value_to_register): New prototypes. | |
4212 | * x86-64-tdep.c (x86_64_convert_register_p): New function. | |
4213 | (x86_64_init_abi): Set convert_register_p, register_to_value and | |
4214 | value_to_register here. | |
8ffd9b1b | 4215 | |
42c466d7 AC |
4216 | 2003-06-14 Andrew Cagney <[email protected]> |
4217 | ||
4218 | * mips-tdep.c (mips_register_to_value): Make static. | |
4219 | (mips_value_to_register): Make static. | |
4220 | * i386-tdep.c (i386_fetch_pointer_argument): Make static. | |
4221 | * ia64-tdep.c (ia64_register_raw_size): Make static. | |
4222 | (ia64_register_virtual_size): Make static. | |
4223 | (ia64_register_byte): Make static. | |
4224 | * i387-tdep.c: Include "i387-tdep.h". | |
4225 | (print_387_control_word): Delete function. | |
4226 | (print_387_status_word): Delete function. | |
4227 | (print_387_status_bits): Delete function. | |
4228 | (print_387_control_bits): Delete function. | |
4229 | * Makefile.in (i387-tdep.o): Update dependencies. | |
4230 | * rdi-share/host.h (Fail): Declare. | |
4231 | * remote-rdi.c (Fail): Update to match declaration. | |
4232 | ||
2a9cda49 AC |
4233 | 2003-06-14 Andrew Cagney <[email protected]> |
4234 | ||
4235 | * config/mips/embedl64.mt (TDEPFILES): Delete "remote-array.o". | |
4236 | * config/mips/embedl.mt (TDEPFILES): Delete "remote-array.o". | |
4237 | * config/mips/embed64.mt (TDEPFILES): Delete "remote-array.o". | |
4238 | * config/djgpp/fnchange.lst: Delete "remote-array.c". | |
4239 | * README: Delete reference to remote-array. | |
4240 | * Makefile.in (ALLDEPFILES): Remove "remote-array.c". | |
4241 | (remote-array.o): Delete target. | |
4242 | * config/mips/embed.mt (TDEPFILES): Delete "remote-array.o". | |
4243 | * remote-array.c: Delete file. | |
4244 | ||
ff2e87ac AC |
4245 | 2003-06-14 Andrew Cagney <[email protected]> |
4246 | Mark Kettenis <[email protected]> | |
4247 | ||
4248 | * gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter. | |
4249 | (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace raw buffer | |
4250 | parameter with "frame". | |
4251 | * gdbarch.h, gdbarch.c: Re-generate. | |
4252 | * frame.h (put_frame_register): Declare. | |
4253 | * frame.c (put_frame_register): New function. | |
4254 | * arch-utils.c (legacy_convert_register_p): Add "type" parameter. | |
4255 | (legacy_register_to_value): Rewrite, use "frame" to get the | |
4256 | register value. | |
4257 | (legacy_value_to_register): Rewrite, use "frame" to find the | |
4258 | register's location before storing. | |
4259 | * arch-utils.h (legacy_convert_register_p): Update. | |
4260 | (legacy_register_to_value, legacy_value_to_register): Update. | |
4261 | * findvar.c (value_from_register): Rewrite, eliminate use of | |
4262 | REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass | |
4263 | "frame" to REGISTER_TO_VALUE. | |
4264 | * valops.c (value_assign): Move the CONVERT_REGISTER code to the | |
4265 | lval_reg_frame_relative + lval_register branch of the switch. Do | |
4266 | not use REGISTER_CONVERT_FROM_TYPE. Use put_frame_register. | |
4267 | * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM, | |
4268 | I386_EDI_REGNUM): New defines. | |
4269 | (i386_next_regnum, i386_convert_register_p, | |
4270 | i386_register_to_value, i386_value_to_register): New functions. | |
4271 | (i386_register_convertible, i386_register_convert_to_virtual, | |
4272 | i386_convert_to_raw): Remove functions. | |
4273 | (i386_gdbarch_init): Set convert_register_p, register_to_value and | |
4274 | value_to_register instead of register_convertible, | |
4275 | register_convert_to_virtual and register_convert_to_raw. | |
4276 | * mips-tdep.c (mips_convert_register_p): New function. | |
4277 | (mips_value_to_register): Replace mips_register_convert_from_type. | |
4278 | (mips_register_to_value): Replace mips_register_convert_to_type. | |
4279 | (mips_gdbarch_init): Set conver_register_p, value_to_register and | |
4280 | register_to_value. | |
4281 | * alpha-tdep.c (alpha_convert_register_p): Update. | |
4282 | (alpha_value_to_register): Update, store the register. | |
4283 | (alpha_register_to_value): Update, fetch the register. | |
4284 | ||
98be1e77 TR |
4285 | 2003-06-14 Theodore A. Roth <[email protected]> |
4286 | ||
4287 | * avr-tdep.c (avr_remote_translate_xfer_address): Delete function. | |
4288 | (avr_gdbarch_init): Remove avr_call_dummy_words variable. | |
4289 | Don't set deprecated_call_dummy_words. | |
4290 | Remove commented out set_gdbarch_believe_pcc_promotion() call. | |
4291 | Don't set remote_translate_xfer_address. | |
4292 | (avr_io_reg_read_command): Remove commented out debug printf. | |
4293 | Wrap a long line. | |
4294 | ||
57bc6122 TR |
4295 | 2003-06-14 Theodore A. Roth <[email protected]> |
4296 | ||
4297 | * avr-tdep.c (avr_scan_prologue): Fix to avoid a buffer over run which | |
4298 | causes gdb to seg fault. | |
4299 | ||
eb01fc62 DJ |
4300 | 2003-06-14 Daniel Jacobowitz <[email protected]> |
4301 | ||
4302 | * sparc-nat.c (fetch_inferior_registers): Correct | |
4303 | a reference to "registers". | |
4304 | ||
3b3e6bee DJ |
4305 | 2003-06-14 Jeroen Dekkers <[email protected]> |
4306 | ||
4307 | * Makefile.in (exc_request_U_h): Define | |
4308 | (exc_request_S_h): Likewise. | |
4309 | (msg_reply_S_h): Likewise. | |
4310 | (msg_U_h): Likewise. | |
4311 | (notify_S_h): Likewise. | |
4312 | (process_reply_S_h): Likewise. | |
4313 | (gnu-nat.o): Depend on gdb_obstack_h | |
4314 | * gnu-nat.c: Include "gdb_obstack.h". | |
4315 | ||
b8de8283 AC |
4316 | 2003-06-13 Andrew Cagney <[email protected]> |
4317 | ||
4318 | * gdbarch.sh: Document what PUSH_DUMMY_CALL replaces. | |
4319 | * gdbarch.h, gdbarch.c: Re-generate. | |
8ffd9b1b | 4320 | |
f3be58bc AC |
4321 | 2003-06-13 Andrew Cagney <[email protected]> |
4322 | ||
4323 | * gdbarch.sh: Document what UNWIND_DUMMY_ID replaces. Clarify | |
4324 | when deprecated REGISTER macros can be deleted. | |
4325 | * gdbarch.h, gdbarch.c: Re-generate. | |
4326 | ||
4c0122c8 JB |
4327 | 2003-06-13 Jim Blandy <[email protected]> |
4328 | ||
4329 | * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC | |
4330 | Linux entry point symbols for _dl_debug_state, too. | |
4331 | ||
3e210248 AC |
4332 | 2003-06-13 Andrew Cagney <[email protected]> |
4333 | ||
4334 | * infcall.c (call_function_by_hand): When UNWIND_DUMMY_ID is | |
4335 | available, do not use the FP register, and always save the TOS. | |
4336 | * dummy-frame.c (dummy_frame_this_id): Do not assert | |
4337 | SAVE_DUMMY_FRAME_TOS. | |
4338 | * i386-tdep.c (i386_save_dummy_frame_tos): Delete function. | |
4339 | (i386_gdbarch_init): Do not set save_dummy_frame_tos. | |
4340 | (i386_push_dummy_call): Add 8 to the returned SP. | |
4341 | * frame.c (legacy_frame_p): Do not require SAVE_DUMMY_FRAME_TOS. | |
4342 | * d10v-tdep.c (d10v_unwind_dummy_id): Use d10v_unwind_sp. | |
4343 | (d10v_gdbarch_init): Do not set save_dummy_frame_tos. | |
4344 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos): Delete function. | |
4345 | (x86_64_push_dummy_call): Return "sp + 16". | |
4346 | (x86_64_init_abi): Do not set save_dummy_frame_tos. | |
4347 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
4348 | save_dummy_frame_tos. | |
4349 | ||
0b65af49 JB |
4350 | 2003-06-13 Jim Blandy <[email protected]> |
4351 | ||
4352 | * frv-tdep.c (frv_use_struct_convention): Delete static | |
4353 | declaration for function deleted in my change of 2003-06-12. | |
4354 | ||
4ea2465e TR |
4355 | 2003-06-13 Theodore A. Roth <[email protected]> |
4356 | ||
4357 | * avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit. | |
4358 | (avr_pointer_to_address): Shift code addrs left 1 bit. | |
4359 | (avr_convert_from_func_ptr_addr): Delete function since operation is | |
4360 | better handled by avr_address_to_pointer and avr_pointer_to_address. | |
4361 | (avr_gdbarch_init): Don't set convert_from_func_ptr_add method. | |
4362 | ||
1581182a MK |
4363 | 2003-06-13 Mark Kettenis <[email protected]> |
4364 | ||
4365 | From Kelley Cook <[email protected]>: | |
4366 | * configure.host: Accept i[34567]86 variants. | |
4367 | * configure.tgt: Likewise. | |
4368 | * nlm/configure.in: Likewise. | |
4369 | * nlm/configure: Regenerated. | |
4370 | ||
7aa1783e RE |
4371 | 2003-06-13 Richard Earnshaw <[email protected]> |
4372 | ||
4373 | * arm-tdep.c (solib-svr4.h): Dont' include it. | |
4374 | (arm_linux_svr4_fetch_link_map_offsets): Move to ... | |
4375 | * arm-linux-tdep.c: ... here. Make static. | |
4376 | (arm_linux_init_abi): Register it. | |
4377 | (solib-svr4.h): Include it. | |
4378 | * Makefile.in: Update dependencies. | |
4379 | * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete. | |
4380 | (arm_linux_svr4_fetch_link_map_offsets): Delete declaration. | |
4381 | ||
0261a0d0 CV |
4382 | 2003-06-13 Corinna Vinschen <[email protected]> |
4383 | ||
4384 | * h8300-tdep.c: Add definitions E_RET0_REGNUM and E_RET1_REGNUM to | |
4385 | indicate registers used for return values. | |
4386 | (struct frame_extra_info): Drop args_pointer and locals_pointer. | |
4387 | (h8300_examine_prologue): Remove initializing dropped frame_extra_info | |
4388 | members. | |
4389 | (h8300_init_extra_frame_info): Ditto. | |
4390 | (h8300_frame_locals_address): Removed. | |
4391 | (h8300_frame_args_address): Removed. | |
4392 | (h8300_extract_return_value): Use new regcache structure. Only care | |
4393 | for 16 bit CPUs. | |
4394 | (h8300h_extract_return_value): Same function for 32 bit CPUs. | |
4395 | (h8300_store_return_value): Use new regcache structure. Only care | |
4396 | for 16 bit CPUs. | |
4397 | (h8300h_store_return_value): Same function for 32 bit CPUs. | |
4398 | (h8300_store_struct_return): Removed. | |
4399 | (h8300_extract_struct_value_address): Use new regcache structure. | |
4400 | (h8300h_extract_struct_value_address): Removed. | |
4401 | (h8300_push_dummy_code): New function. | |
4402 | (h8300_gdbarch_init): Slightly rearranged to stress deprecated calls. | |
4403 | Remove call_dummy_words. Call set_gdbarch_extract_return_value and | |
4404 | set_gdbarch_store_return_value architecture dependent. | |
4405 | Call set_gdbarch_push_dummy_code and | |
4406 | set_gdbarch_extract_struct_value_address. | |
4407 | Remove calls to set_gdbarch_frame_args_address, | |
4408 | set_gdbarch_frame_locals_address, | |
4409 | set_gdbarch_deprecated_store_struct_return, | |
4410 | set_gdbarch_deprecated_extract_return_value, | |
4411 | set_gdbarch_deprecated_extract_struct_value_address, | |
4412 | set_gdbarch_deprecated_call_dummy_words and | |
4413 | set_gdbarch_deprecated_sizeof_call_dummy_words. | |
4414 | ||
055c394a CV |
4415 | 2003-06-13 Corinna Vinschen <[email protected]> |
4416 | ||
4417 | * h8300-tdep.c (h8300_register_byte): Remove. | |
4418 | (h8300h_register_byte): Remove. | |
4419 | (h8300_register_virtual_type): Remove. Substitute by... | |
4420 | (h8300_register_type): New function. | |
4421 | (h8300_extract_struct_value_address): Drop usage of h8300_register_byte. | |
4422 | (h8300h_extract_struct_value_address): Ditto. | |
4423 | (h8300_gdbarch_init): Drop calls to | |
4424 | set_gdbarch_deprecated_register_byte and | |
4425 | set_gdbarch_deprecated_register_virtual_type. | |
4426 | Add call to set_gdbarch_register_type. | |
4427 | ||
9c04cab7 AC |
4428 | 2003-06-13 Andrew Cagney <[email protected]> |
4429 | ||
4430 | * gdbarch.sh: Update comments on registers. | |
4431 | (deprecated_register_byte): Rename register_byte. | |
4432 | (deprecated_register_raw_size): Rename register_raw_size. | |
4433 | (deprecated_register_virtual_size): Rename register_virtual_size. | |
4434 | (deprecated_register_virtual_type): Rename register_virtual_type. | |
4435 | * gdbarch.h, gdbarch.c: Re-generate. | |
4436 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4437 | * vax-tdep.c (vax_gdbarch_init): Update. | |
4438 | * v850-tdep.c (v850_gdbarch_init): Update. | |
4439 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
4440 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4441 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4442 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4443 | * ns32k-tdep.c: Update. | |
4444 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4445 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4446 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4447 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
4448 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4449 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4450 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
4451 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4452 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4453 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4454 | * avr-tdep.c (avr_gdbarch_init): Update. | |
4455 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
4456 | * arm-tdep.c (arm_gdbarch_init): Update. | |
4457 | ||
b060cbea AC |
4458 | 2003-06-13 Andrew Cagney <[email protected]> |
4459 | ||
4460 | * mips-tdep.c (mips_gdbarch_init): Replace remaining instances of | |
4461 | mips_o32_use_struct_convention with always_use_struct_convention. | |
4462 | ||
0fc9922a DC |
4463 | 2003-06-12 David Carlton <[email protected]> |
4464 | ||
4465 | * cp-namespace.c (cp_set_block_scope): Comment out | |
4466 | processing_has_namespace_info branch. | |
4467 | ||
1fd35568 JB |
4468 | 2003-06-12 Jim Blandy <[email protected]> |
4469 | ||
f470a70a JB |
4470 | Recognize and skip 64-bit PowerPC Linux linkage functions. |
4471 | * ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct | |
4472 | insn_pattern, insns_match_pattern, d_field, ds_field): New | |
4473 | functions, macros, and types for working with PPC instructions. | |
4474 | (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN, | |
4475 | ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target, | |
4476 | ppc64_skip_trampoline_code): New functions, variables, and macros | |
4477 | for recognizing and skipping linkage functions. | |
4478 | (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and | |
4479 | ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI. | |
4480 | ||
49ff75ad JB |
4481 | * ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-area |
4482 | register offsets for both the 32- and 64-bit interfaces. | |
4483 | ||
bd918c83 JB |
4484 | Actually finish the job started by my change of 2003-05-29. |
4485 | * config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the | |
4486 | other #definition of this. | |
4487 | (ppc_linux_skip_trampoline_code): Remove declaration. | |
4488 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this | |
4489 | static. | |
4490 | (ppc_linux_init_abi): Register it as the skip_trampoline_code | |
4491 | method for GDBARCH. | |
4492 | ||
4493 | * config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This is | |
4494 | 'long' on ppc64-*-linux*. | |
4495 | ||
f8c59253 JB |
4496 | * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ |
4497 | isn't #defined, assume the register doesn't exist: act as if | |
4498 | tdep->ppc_mq_regnum were -1. | |
4499 | ||
8fbb30b1 JB |
4500 | * configure.host, configure.tgt: Add entries for |
4501 | powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and | |
4502 | powerpc/linux.mt. | |
4503 | * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: | |
4504 | New files. | |
4505 | ||
1fd35568 JB |
4506 | * arch-utils.c (always_use_struct_convention): New function. |
4507 | * arch-utils.h (always_use_struct_convention): New prototype. | |
4508 | * alpha-tdep.c (alpha_use_struct_convention): Delete. | |
4509 | (alpha_gdbarch_init): Register always_use_struct_convention, | |
4510 | instead of alpha_use_struct_convention. | |
4511 | * cris-tdep.c (cris_use_struct_convention): Delete. | |
4512 | (cris_gdbarch_init): Register always_use_struct_convention, | |
4513 | instead of cris_use_struct_convention. | |
4514 | * frv-tdep.c (frv_use_struct_convention): Delete. | |
4515 | (frv_gdbarch_init): Register always_use_struct_convention, | |
4516 | instead of frv_use_struct_convention. | |
4517 | * h8300-tdep.c (h8300_use_struct_convention): Delete. | |
4518 | (h8300_gdbarch_init): Register always_use_struct_convention, | |
4519 | instead of h8300_use_struct_convention. | |
e3305dd9 | 4520 | * mips-tdep.c (mips_o32_use_struct_convention): Delete. |
1fd35568 JB |
4521 | (mips_o32_gdbarch_init): Register always_use_struct_convention, |
4522 | instead of mips_o32_use_struct_convention. | |
4523 | ||
e14e6e9c AC |
4524 | 2003-06-12 Andrew Cagney <[email protected]> |
4525 | ||
4526 | * wince.c: Include "mips-tdep.h". | |
4527 | * mips-tdep.h (mips_next_pc): Declare. | |
4528 | * mcore-tdep.c: Make more local functions static. | |
4529 | * Makefile.in (wince.o): Update dependencies. | |
4530 | ||
2335f48e DC |
4531 | 2003-06-12 David Carlton <[email protected]> |
4532 | ||
4533 | * symtab.c (lookup_symbol_aux_minsyms): Replace | |
4534 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
4535 | (find_pc_sect_line, search_symbols, rbreak_command): Ditto. | |
4536 | (COMPLETION_LIST_ADD_SYMBOL): Rewrite in terms of | |
4537 | SYMBOL_NATURAL_NAME. | |
4538 | ||
f70a7d61 AS |
4539 | 2003-06-12 Andreas Schwab <[email protected]> |
4540 | ||
4541 | * Makefile.in (tuiDisassem.o): Update dependencies. | |
4542 | ||
b6429628 DC |
4543 | 2003-06-12 David Carlton <[email protected]> |
4544 | ||
4545 | * symtab.h: Delete declaration of make_symbol_overload_list. | |
4546 | Add declaration of lookup_partial_symbol. | |
4547 | * symtab.c (remove_params): Move to cp-support.c. | |
4548 | (overload_list_add_symbol, make_symbol_overload_list) | |
4549 | (sym_return_val_size, sym_return_val_index): Ditto. | |
4550 | (lookup_partial_symbol): Make extern. | |
4551 | * cp-support.h: Add declaration of make_symbol_overload_list. | |
4552 | * cp-support.c: Include dictionary.h, objfiles.h, frame.h, | |
4553 | symtab.h, and block.h. | |
4554 | (remove_params): Move here from symtab.c. | |
4555 | (overload_list_add_symbol, make_symbol_overload_list) | |
4556 | (sym_return_val_size, sym_return_val_index): Ditto. | |
4557 | * valops.c: Include cp-support.h. | |
4558 | * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h, | |
4559 | frame_h, and block_h. | |
4560 | (valops.o): Depend on cp_support_h. | |
4561 | ||
084edea5 CV |
4562 | 2003-06-12 Corinna Vinschen <[email protected]> |
4563 | ||
4564 | * h8300-tdep.c: Add H8SX registers. Drop E_NUM_REGS entirely, | |
4565 | substitute by NUM_REGS throughout. | |
4566 | (h8300_register_name): Only care for H8/300 and H8/300H registers. | |
4567 | (h8300s_register_name): New function for H8S registers. | |
4568 | (h8300sx_register_name): Ditto for H8SX registers. | |
4569 | (h8300_print_register): Revise register printing, avoid depending | |
4570 | on 32 bit long. | |
0261a0d0 | 4571 | (h8300_register_byte): Only care for H8/300 registers. |
084edea5 CV |
4572 | (h8300h_register_byte): New function for any other architecture. |
4573 | (h8300_register_raw_size): Remove. | |
4574 | (h8300_register_virtual_type): Revise to return actually useful | |
4575 | type. | |
4576 | (h8300_extract_struct_value_address): Only care for H8/300 registers. | |
4577 | (h8300h_extract_struct_value_address): New function for any other | |
4578 | architecture. | |
4579 | (h8300_gdbarch_init): Add h8300sxn. Call set_gdbarch_num_regs, | |
4580 | set_gdbarch_register_name, set_gdbarch_register_byte, | |
4581 | set_gdbarch_ptr_bit and set_gdbarch_addr_bit architecture dependent. | |
4582 | Remove calls to set_gdbarch_deprecated_register_size, | |
4583 | set_gdbarch_deprecated_register_bytes, set_gdbarch_register_raw_size, | |
4584 | set_gdbarch_deprecated_max_register_raw_size, | |
4585 | set_gdbarch_register_virtual_size and | |
4586 | set_gdbarch_deprecated_max_register_virtual_size entirely. | |
4587 | Call set_gdbarch_long_long_bit, set_gdbarch_double_bit and | |
4588 | set_gdbarch_long_double_bit. | |
4589 | ||
06194148 JJ |
4590 | 2003-06-11 Jeff Johnston <[email protected]> |
4591 | ||
8ffd9b1b AJ |
4592 | * doublest.c (convert_doublest_to_floatformat): When dealing |
4593 | with the implied integer bit, only alter mant_bits if we are | |
06194148 JJ |
4594 | processing a full 32 bits of mantissa. |
4595 | ||
de4f826b DC |
4596 | 2003-06-11 David Carlton <[email protected]> |
4597 | ||
4598 | * dictionary.h: New. | |
4599 | * dictionary.c: New. | |
4600 | * block.h: Add opaque declaration for struct dictionary. | |
4601 | (struct block): Add 'dict' member; delete 'hashtable', 'nsyms', | |
4602 | 'sym' members. | |
4603 | (BLOCK_DICT): New macro. | |
4604 | Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM, | |
4605 | BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE, | |
4606 | BLOCK_SHOULD_SORT. | |
4607 | (ALL_BLOCK_SYMBOLS): Update definition. | |
4608 | * Makefile.in (SFILES): Add dictionary.c. | |
4609 | (dictionary_h): New. | |
4610 | (COMMON_OBS): Add dictionary.o. | |
4611 | (dictionary.o): New. | |
4612 | (ada-lang.o): Depend on dictionary_h. | |
4613 | (buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o) | |
4614 | (stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o) | |
4615 | (mi-cmd-stack.o): Ditto. | |
4616 | (gdbtk-cmds.o): Update dependencies. | |
4617 | (gdbtk-stack.o): Ditto. | |
4618 | * ada-lang.c: Include dictionary.h. | |
4619 | (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS. | |
4620 | (fill_in_ada_prototype, debug_print_block): Ditto. | |
4621 | (ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace | |
4622 | explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable | |
4623 | 'is_sorted'. | |
4624 | * mdebugread.c: Include dictionary.h. | |
4625 | (struct parse_stack): Delete 'maxsyms' member. | |
4626 | (parse_symbol): Update calls to new_block. Delete calls to | |
4627 | shrink_block. Use dictionary methods. | |
4628 | (psymtab_to_symtab_1): Delete calls to sort_symtab_syms. | |
4629 | Update calls to new_symtab. Don't maintain maxsyms data. | |
4630 | (mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS. | |
4631 | (add_symbol): Just call dict_add_symbol. | |
4632 | (new_symtab): Delete 'maxsyms' argument. | |
4633 | (new_symtab): Update calls to new_block. | |
4634 | (new_block): Delete 'maxsyms' argument; add 'function' argument. | |
4635 | (shrink_block): Delete function. | |
4636 | (fixup_sigtramp): Update call to new_block. Add symbol via | |
4637 | dict_add_symbol. | |
4638 | * jv-lang.c: Include dictionary.h. | |
4639 | (get_java_class_symtab): Set the BLOCK_DICT of the blocks | |
4640 | appropriately. Set class_symtab->free_func. Make sure the | |
4641 | blockvector is big enough to hold two blocks. | |
4642 | (add_class_symtab_symbol): Use dictionary methods. | |
4643 | (free_class_block): New function. | |
4644 | (type_from_class): Replace explicit iteration by | |
4645 | ALL_BLOCK_SYMBOLS. | |
4646 | * symtab.h (struct symtab): Replace 'free_ptr' method by | |
4647 | 'free_func'. | |
4648 | * dwarf2read.c (psymtab_to_symtab_1): Delete call to | |
4649 | sort_symtab_syms. | |
4650 | * dwarfread.c (psymtab_to_symtab_1): Delete call to | |
4651 | sort_symtab_syms. | |
4652 | * coffread.c (coff_symfile_read): Delete call to sort_symtab_syms. | |
4653 | Include dictionary.h. | |
4654 | (patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS. | |
4655 | * dbxread.c (dbx_psymtab_to_symtab_1): Delete call to | |
4656 | sort_symtab_syms. | |
4657 | * objfiles.c: Include dictionary.h. | |
4658 | (objfile_relocate): Update use of ALL_BLOCK_SYMBOLS. | |
4659 | * buildsym.c: Include dictionary.h. | |
4660 | (finish_block): Use dictionary methods. | |
4661 | (end_symtab): Set free_func to NULL, not free_ptr. | |
4662 | * tracepoint.c: Include dictionary.h. | |
4663 | (add_local_symbols): Update use of ALL_BLOCK_SYMBOLS. | |
4664 | (scope_info): Ditto. | |
4665 | * stack.c: Include dictionary.h. | |
4666 | (print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS. | |
4667 | (print_block_frame_labels, print_frame_arg_vars) | |
4668 | (print_frame_args): Ditto. | |
4669 | * symmisc.c (free_symtab_block): Use dictionary methods. | |
4670 | (dump_symtab): Ditto. | |
4671 | (free_symtab): Replace use of 'free_ptr' by 'free_func'. | |
4672 | Include dictionary.h. | |
4673 | * symfile.h: Delete declarations of sort_block_syms, | |
4674 | sort_symtab_syms. | |
4675 | * symfile.c (sort_block_syms): Delete. | |
4676 | (sort_symtab_syms): Delete. | |
4677 | * symtab.c: Include dictionary.h. | |
4678 | (lookup_block_symbol): Use dictionary iterators. | |
4679 | (find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS. | |
4680 | (search_symbols, make_symbol_completion_list): Ditto. | |
4681 | (make_symbol_overload_list): Ditto. | |
4682 | * valops.c (value_of_local): Use dict_empty. | |
4683 | Include dictionary.h. | |
4684 | ||
a31f978c JB |
4685 | 2003-06-11 J. Brobecker <[email protected]> |
4686 | ||
4687 | * win32-nat.c (solib_symbols_add): Fix a small compilation error. | |
4688 | ||
526e70c0 DC |
4689 | 2003-06-11 David Carlton <[email protected]> |
4690 | ||
4691 | * block.h (BLOCK_SHOULD_SORT): Delete. | |
4692 | * symtab.c (lookup_block_symbol): Don't worry about sorted linear | |
4693 | blocks. | |
4694 | * ada-lang.c (ada_add_block_symbols): Ditto. | |
4695 | * symfile.c (sort_block_syms): Delete. | |
4696 | (sort_symtab_syms): Ditto. | |
4697 | * symfile.h: Delete sort_symtabs_syms and sort_block_syms | |
4698 | declarations. | |
4699 | * coffread.c (coff_symfile_read): Don't call sort_symtab_syms. | |
4700 | * dbxread.c (dbx_psymtab_to_symtab_1): Ditto. | |
4701 | * dwarf2read.c (psymtab_to_symtab_1): Ditto. | |
4702 | * dwarfread.c (psymtab_to_symtab_1): Ditto. | |
4703 | * hpread.c (hpread_psymtab_to_symtab_1): Ditto. | |
4704 | * mdebugread.c (psymtab_to_symtab_1): Ditto. | |
4705 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto. | |
4706 | ||
33c08150 JJ |
4707 | 2003-06-11 Jeff Johnston <[email protected]> |
4708 | ||
8ffd9b1b | 4709 | * ia64-tdep.c (ia64_gdbarch_init): Set number of long double |
33c08150 JJ |
4710 | bits to 128. |
4711 | ||
781a750d AC |
4712 | 2003-06-11 Andrew Cagney <[email protected]> |
4713 | ||
4714 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate | |
4715 | REGISTER_CONVERTIBLE. | |
4716 | (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same. | |
4717 | (DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant. | |
4718 | * gdbarch.h, gdbarch.c: Re-generate. | |
4719 | * arch-utils.h (deprecated_register_convertible_not): Rename | |
4720 | generic_register_convertible_not. | |
4721 | * arch-utils.c (deprecated_register_convertible_not): Rename | |
4722 | generic_register_convertible. | |
4723 | (legacy_convert_register_p, legacy_register_to_value): Update. | |
4724 | * sh-tdep.c (sh64_push_arguments): Update. | |
4725 | * m68klinux-tdep.c (m68k_linux_extract_return_value): Update. | |
4726 | * config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update. | |
4727 | * m68klinux-tdep.c (m68k_linux_store_return_value): Update. | |
4728 | * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update. | |
4729 | * arch-utils.c (legacy_value_to_register): Update. | |
4730 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4731 | (rs6000_register_convert_to_raw): Make parameter "from" const. | |
4732 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4733 | (mips_register_convert_to_raw): Make parameter"virt_buf" const. | |
4734 | * infcmd.c (default_print_registers_info): Update. | |
4735 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4736 | (ia64_register_convert_to_raw): Make parameter "from" const. | |
4737 | * i386-tdep.c (i386_gdbarch_init): Update. | |
4738 | (i386_register_convert_to_raw): Update. | |
4739 | ||
cd90e54f AC |
4740 | 2003-06-11 Andrew Cagney <[email protected]> |
4741 | ||
4742 | * remote-fileio.c: Include "remote-fileio.h". | |
4743 | * Makefile.in (remote-fileio.o): Update dependencies. | |
4744 | (remote_fileio_h): Fix typo. | |
4745 | ||
a78f21af AC |
4746 | 2003-06-11 Andrew Cagney <[email protected]> |
4747 | ||
4748 | * xstormy16-tdep.c (xstormy16_push_return_address): Make static. | |
4749 | (xstormy16_save_dummy_frame_tos): Make static. | |
4750 | (_initialize_xstormy16_tdep): Add declaration. | |
4751 | * vax-tdep.c (_initialize_vax_tdep): Add declaration. | |
4752 | * v850-tdep.c: Make local functions static. | |
4753 | (_initialize_v850_tdep): Add declaration. | |
4754 | * sparc-tdep.c: Make local functions static. | |
4755 | (_initialize_sparc_tdep): Add declaration. | |
4756 | * sh-tdep.c: Make local functions static. | |
4757 | (_initialize_sh_tdep): Add declaration. | |
4758 | * sh3-rom.c (_initialize_sh3_rom): Add declaration. | |
4759 | * s390-tdep.c: Make local functions static. | |
4760 | (_initialize_s390_tdep): Add declaration. | |
4761 | * dbxread.c (find_stab_function_addr): Make static. | |
4762 | * ppc-bdm.c (_initialize_bdm_ppc): Add declaration. | |
4763 | * ocd.c (_initialize_remote_ocd): Add declaration. | |
4764 | * dink32-rom.c (_initialize_dink32_rom): Add declaration. | |
4765 | * ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration. | |
4766 | * ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration. | |
4767 | * ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration. | |
4768 | * mips-tdep.c (_initialize_mips_tdep): Add declaration. | |
4769 | * remote-array.c (_initialize_array): Add declaration. | |
4770 | (_initialize_remote_monitors): Add declaration. | |
4771 | * remote-mips.c: Make local functions static. | |
4772 | (_initialize_remote_mips): Add declaration. | |
4773 | * mcore-tdep.c: Make all local functions static. | |
4774 | (_initialize_mcore_tdep): Add declaration. | |
4775 | * dbug-rom.c (_initialize_dbug_rom): Add declaration. | |
4776 | * abug-rom.c (_initialize_abug_rom): Add declaration. | |
4777 | * rom68k-rom.c (_initialize_rom68k): Add declaration. | |
4778 | * cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration. | |
4779 | * m68k-tdep.c (_initialize_m68k_tdep): Add declaration. | |
4780 | * remote-est.c (_initialize_est): Add declaration. | |
4781 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration. | |
4782 | (m68hc11_call_dummy_address): Make static. | |
4783 | * ia64-tdep.c: Make local functions static. | |
4784 | (_initialize_ia64_tdep): Add declaration. | |
4785 | * solib-legacy.c (_initialize_svr4_lm): Add declaration. | |
4786 | * monitor.c (monitor_wait_filter): Make static. | |
4787 | (_initialize_remote_monitors): Add declaration. | |
4788 | * remote-hms.c (_initialize_remote_hms): Add declaration. | |
4789 | * remote-e7000.c (fetch_regs_from_dump): Make static. | |
4790 | (expect_n): Make static. | |
4791 | (_initialize_remote_e7000): Add declaration. | |
4792 | * ser-e7kpc.c: Always include "defs.h". | |
4793 | (_initialize_ser_e7000pc): Add declaration. | |
4794 | * h8300-tdep.c (_initialize_h8300_tdep): Add declaration. | |
4795 | * cris-tdep.c: Make all but one function static. | |
4796 | (_initialize_cris_tdep): Add declaration. | |
4797 | * solib-svr4.c (_initialize_svr4_solib): Add declaration. | |
4798 | * solib.c (update_solib_list): Make static. | |
4799 | (_initialize_solib): Add declaration. | |
4800 | * avr-tdep.c (avr_breakpoint_from_pc): Make static. | |
4801 | (_initialize_avr_tdep): Add declaration. | |
4802 | * remote-rdi.c (voiddummy): Make static. | |
4803 | (_initialize_remote_rdi): Add declaration. | |
4804 | * arm-tdep.c (_initialize_arm_tdep): Add declaration. | |
4805 | * remote-rdp.c (send_rdp): Make static. | |
4806 | (_initialize_remote_rdp): Add declaration. | |
4807 | * alpha-tdep.c (_initialize_alpha_tdep): Add declaration. | |
4808 | ||
cbcdb1f5 CV |
4809 | 2003-06-11 Corinna Vinschen <[email protected]> |
4810 | ||
4811 | * remote-fileio.c: Make ari happy. | |
4812 | ||
a191ea8d JB |
4813 | 2003-06-10 J. Brobecker <[email protected]> |
4814 | ||
4815 | * rs6000-nat.c (child_xfer_memory): Compute the right address when | |
4816 | fetching the trailing bytes of the buffer we are about to write. | |
4817 | ||
0ef75e11 AC |
4818 | 2003-06-10 Andrew Cagney <[email protected]> |
4819 | ||
4820 | * remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H. | |
4821 | * Makefile.in (remote-fileio.o): Update dependencies. | |
4822 | * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not | |
4823 | include <setjmp.h>, or <sys/types.h> conditional on USG. | |
4824 | (remote_fio_jmp_buf): Delete global variable. | |
4825 | ||
449092f6 | 4826 | 2003-06-10 Corinna Vinschen <[email protected]> |
559fa028 | 4827 | Martin M. Hunt <[email protected]> |
449092f6 | 4828 | |
559fa028 AC |
4829 | * Makefile.in (REMOTE_OBS): Add remote-fileio.o |
4830 | (SFILES): Add remote-fileio.c. | |
4831 | Add dependencies for building remote-fileio.o. Add remote-fileio.h to | |
4832 | dependencies for building remote.o. | |
449092f6 CV |
4833 | * remote-fileio.c: New file implementing the remote File-I/O protocol. |
4834 | * remote-fileio.h: New header file defining remote File-I/O interface. | |
8ffd9b1b | 4835 | * remote.c (remote_write_bytes, remote_read_bytes): Remove |
449092f6 CV |
4836 | static storage class. |
4837 | (remote_wait, remote_async_wait): Call remote_fileio_request() on | |
4838 | 'F' packet. | |
4839 | (_initialize_remote): Call initialize_remote_fileio(). | |
4840 | * remote.h: Declare remote_write_bytes() and remote_read_bytes(). | |
449092f6 CV |
4841 | * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin. |
4842 | * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin. | |
4843 | (captured_main): Initialize new ui_files. | |
4844 | * ui-file.c: Add read and fgets input functions. | |
4845 | (ui_file_new): set ui_file_fputs and ui_file_read to null functions. | |
4846 | (null_file_read): New function. | |
4847 | (ui_file_read): New function. | |
4848 | (set_ui_file_read): New function. | |
4849 | (stdio_file_read): New function. | |
4850 | * ui-file.h: New type ui_file_read_ftype. | |
4851 | (set_ui_file_read): Declare. | |
4852 | (ui_file_read): Declare. | |
4853 | ||
248de703 AC |
4854 | 2003-06-09 Andrew Cagney <[email protected]> |
4855 | ||
4856 | * frame.h (deprecated_unwind_get_saved_register): Rename | |
4857 | generic_unwind_get_saved_register, update comments. | |
4858 | * mips-tdep.c (mips_get_saved_register): Update. | |
4859 | * frame.c (deprecated_unwind_get_saved_register): Update. | |
4860 | ||
0ed8aa57 AC |
4861 | 2003-06-09 Andrew Cagney <[email protected]> |
4862 | ||
4863 | * vax-tdep.c (vax_frame_locals_address): Delete function. | |
4864 | (vax_gdbarch_init): Do not set frame_locals_address. | |
4865 | * m68hc11-tdep.c (m68hc11_frame_locals_address): Delete function. | |
4866 | (m68hc11_gdbarch_init): Do not set frame_locals_address. | |
4867 | * s390-tdep.c (s390_frame_args_address): Delete function. | |
4868 | (s390_gdbarch_init): Do not set frame_args_address or | |
4869 | frame_locals_address. | |
4870 | * ns32k-tdep.c (ns32k_frame_locals_address): Delete. | |
4871 | (ns32k_gdbarch_init): Do not set frame_locals_address. | |
4872 | * hppa-tdep.c (hppa_frame_args_address): Delete function. | |
4873 | (hppa_frame_locals_address): Delete function. | |
4874 | (hppa_gdbarch_init): Do not set frame_args_address, or | |
4875 | frame_locals_address. | |
4876 | * arm-tdep.c (arm_frame_args_address): Delete. | |
4877 | (arm_frame_locals_address): Delete. | |
4878 | (arm_gdbarch_init): Do not set frame_args_address, or | |
4879 | frame_locals_address. | |
4880 | ||
983a287a AC |
4881 | 2003-06-09 Andrew Cagney <[email protected]> |
4882 | ||
4883 | * gdbarch.sh (FRAME_NUM_ARGS): Change to function with predicate. | |
4884 | * gdbarch.h, gdbarch.c: Re-generate. | |
4885 | * arch-utils.h (frame_num_args_unknown): Delete both declarations. | |
4886 | * arch-utils.c (frame_num_args_unknown): Delete function. | |
4887 | * stack.c (print_args_stub): Use FRAME_NUM_ARGS_P. | |
4888 | (frame_info): Use FRAME_NUM_ARGS_P. | |
4889 | * arm-tdep.c (arm_frame_num_args): Delete function. | |
4890 | (arm_gdbarch_init): Do not set frame_num_args. | |
4891 | * config/pa/tm-hppa64.h (FRAME_NUM_ARGS): Delete. | |
4892 | * hppa-tdep.c (hppa_frame_num_args): Delete function. | |
4893 | (hppa_gdbarch_init): Do not set frame_num_args. | |
4894 | * config/sparc/tm-sparc.h (FRAME_NUM_ARGS): Delete. | |
4895 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
4896 | frame_num_args to default frame_num_args_unknown. | |
4897 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
4898 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
4899 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4900 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
4901 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
4902 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
4903 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
4904 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
4905 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
4906 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4907 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
4908 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
4909 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
4910 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
4911 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
4912 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4913 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
4914 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
4915 | ||
8d3b0994 AC |
4916 | 2003-06-09 Andrew Cagney <[email protected]> |
4917 | ||
4918 | * printcmd.c (print_frame_nameless_args): Moved to "stack.c". | |
4919 | (print_frame_args): Moved to "stack.c". | |
4920 | * stack.c: Include "gdb_assert.h". | |
4921 | (print_frame_nameless_args): Moved from "printcmd.c", made static. | |
4922 | (print_frame_args): Moved from "printcmd.c". | |
4923 | * frame.h (print_frame_args): Delete declaration. | |
4924 | * Makefile.in (stack.o): Update dependencies. | |
4925 | ||
25e3a86b AC |
4926 | 2003-06-08 Andrew Cagney <[email protected]> |
4927 | ||
4928 | * frame.c (get_prev_frame): Remove reference to | |
4929 | frame_args_address_correct in comments. | |
4930 | * frame-base.c (default_frame_args_address): Delete code | |
4931 | conditional on FRAME_ARGS_ADDRESS_CORRECT. | |
4932 | * vax-tdep.c (vax_frame_args_address_correct): Delete. | |
4933 | (vax_frame_args_address): Merge in vax_frame_args_address_correct. | |
4934 | * config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete | |
4935 | (vax_frame_args_address_correct): Delete declaration. | |
4936 | ||
a9e5fdc2 AC |
4937 | 2003-06-08 Andrew Cagney <[email protected]> |
4938 | ||
4939 | * gdbarch.sh (UNWIND_SP): Add. | |
4940 | * gdbarch.h, gdbarch.c: Re-generate. | |
4941 | * frame.c (frame_sp_unwind): New function. | |
4942 | (get_frame_sp): New function. | |
4943 | * frame.h (get_frame_sp, frame_sp_unwind): Declare. | |
4944 | * regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP, | |
4945 | gdbarch_unwind_sp and SP_REGNUM when looking for the SP register | |
4946 | value. | |
4947 | * d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp. | |
4948 | (d10v_gdbarch_init): Set unwind_sp instead of read_sp. | |
4949 | ||
8983bd83 AC |
4950 | 2003-06-08 Andrew Cagney <[email protected]> |
4951 | ||
7fec2c59 AC |
4952 | Deprecate BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT and |
4953 | REMOTE_BREAKPOINT. | |
4954 | * remote.c: Update. | |
4955 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT): Update. | |
4956 | (DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Update. | |
4957 | * config/m68k/tm-sun3.h: Update. | |
4958 | * config/m68k/tm-m68klynx.h: Update. | |
4959 | * config/h8300/tm-h8300.h (DEPRECATED_REMOTE_BREAKPOINT): Update. | |
4960 | ||
8983bd83 AC |
4961 | * trad-frame.h (struct trad_frame_saved_reg): Rename "struct |
4962 | trad_frame". Update comments. | |
4963 | * d10v-tdep.c (struct d10v_unwind_cache): Update. | |
4964 | * trad-frame.c (trad_frame_alloc_saved_regs): Update. | |
4965 | (trad_frame_register_value, trad_frame_prev_register): Update. | |
4966 | ||
b9362cc7 AC |
4967 | 2003-06-08 Andrew Cagney <[email protected]> |
4968 | ||
4969 | * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen | |
4970 | from GCC's acinclude.m4. | |
4971 | * configure.in: Check for getopt's delcaration. | |
8ffd9b1b | 4972 | * aclocal.m4, config.in, configure: Re-generate. |
b9362cc7 AC |
4973 | * main.c (error_init): Delete declaration. |
4974 | * defs.h (error_init): Declare. | |
4975 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static. | |
4976 | (rs6000_convert_from_func_ptr_addr): Make static. | |
4977 | (_initialize_rs6000_tdep): Add declaration. | |
4978 | * cli/cli-cmds.c (dont_repeat): Delete declaration. | |
4979 | (show_commands, set_verbose, show_history): Delete declaration. | |
4980 | * top.h (set_verbose): Add declaration. | |
4981 | (show_history, set_history, show_commands): Add declaration. | |
4982 | (do_restore_instream_cleanup): Add declaration. | |
4983 | * objc-lang.c (specialcmp): Make static. | |
4984 | (print_object_command): Make static. | |
4985 | (find_objc_msgsend): Make static. | |
4986 | (find_objc_msgcall_submethod_helper): Make static. | |
4987 | (find_objc_msgcall_submethod): Make static. | |
4988 | (_initialize_objc_language): Add declaration. | |
4989 | (find_implementation_from_class): Make static. | |
4990 | (find_implementation): Make static. | |
4991 | * objc-exp.y (yylex): Delete lookup_struct_typedef declaration. | |
4992 | * objc-lang.h (lookup_struct_typedef): Add declaration. | |
4993 | * cli/cli-interp.c (_initialize_cli_interp): Add declaration. | |
4994 | * cli/cli-script.c (clear_hook_in_cleanup): Make static. | |
4995 | (do_restore_user_call_depth): Make static. | |
4996 | (do_restore_instream_cleanup): Delete declaration. | |
4997 | (dont_repeat): Delete declaration. | |
4998 | * cli/cli-decode.c (add_abbrev_cmd): Delete function. | |
4999 | * cli/cli-dump.c (_initialize_cli_dump): Add declaration. | |
5000 | * reggroups.c (_initialize_reggroup): Add declaration. | |
5001 | * cp-support.c (_initialize_cp_support): Add declaration. | |
5002 | * cp-abi.c (_initialize_cp_abi): Add declaration. | |
5003 | * hpacc-abi.c (_initialize_hpacc_abi): Add declaration. | |
5004 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static. | |
5005 | (_initialize_gnu_v3_abi): Add declaration. | |
5006 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static. | |
5007 | (_initialize_gnu_v2_abi): Add declaration. | |
5008 | * frame-base.c (_initialize_frame_base): Add declaration. | |
5009 | * doublest.c (floatformat_from_length): Make static. | |
5010 | * frame-unwind.c (_initialize_frame_unwind): Add declaration. | |
5011 | * frame.c (create_sentinel_frame): Make static. | |
5012 | (_initialize_frame): Add declaration. | |
5013 | * top.c (do_catch_errors): Make static. | |
5014 | (gdb_rl_operate_and_get_next_completion): Make static. | |
5015 | * typeprint.c: Include "typeprint.h". | |
5016 | * sentinel-frame.c (sentinel_frame_prev_register): Make static. | |
5017 | (sentinel_frame_this_id): Make static. | |
5018 | * p-valprint.c (_initialize_pascal_valprint): Add declaration. | |
5019 | * ui-out.c (make_cleanup_ui_out_begin_end): Delete function. | |
5020 | * dwarf2-frame.c (dwarf2_frame_cache): Make static. | |
5021 | * p-exp.y (push_current_type, pop_current_type): ISO C declaration. | |
5022 | * dwarf2expr.h (dwarf_expr_context): ISO C declaration. | |
5023 | * maint.c (maintenance_print_architecture): Make static. | |
5024 | * signals/signals.c (_initialize_signals): Add declaration. | |
5025 | * std-regs.c (_initialize_frame_reg): Add declaration. | |
5026 | * jv-exp.y (push_variable): ISO C definition. | |
5027 | (push_qualified_expression_name): Ditto. | |
5028 | * memattr.c (_initialize_mem): Add declaration. | |
5029 | * remote.c (remote_check_watch_resources): Make static. | |
5030 | (remote_stopped_by_watchpoint): Make static. | |
5031 | (remote_stopped_data_address): Make static. | |
5032 | * d10v-tdep.c (nr_dmap_regs): Make static. | |
5033 | (a0_regnum): Make static. | |
5034 | (d10v_frame_unwind_cache): Make static. | |
5035 | (d10v_frame_p): Make static. | |
5036 | * osabi.c (show_osabi): Make static. | |
5037 | (_initialize_gdb_osabi): Add extern declaration. | |
5038 | * gdbtypes.c (make_qualified_type): Make static. | |
5039 | (safe_parse_type): Make static. | |
5040 | * macrocmd.c (_initialize_macrocmd): Add extern declaration. | |
5041 | * macrotab.c (macro_bcache_free): Make static. | |
5042 | * interps.c (interp_set_quiet): Make static. | |
5043 | (interpreter_exec_cmd): Make static. | |
5044 | * stack.h (select_frame_command): New file. | |
5045 | * stack.c: Include "stack.h". | |
5046 | (select_frame_command_wrapper): Delete function. | |
5047 | (select_frame_command): Make global. | |
5048 | * infcall.c: Include "infcall.h". | |
5049 | * linespec.c: Include "linespec.h". | |
5050 | * symfile.c (sections_overlap): Make static. | |
5051 | * cp-support.h (cp_initialize_namespace): ISO C declaration. | |
5052 | * charset.c (_initialize_charset): Add missing prototype. | |
5053 | * regcache.c (init_legacy_regcache_descr): Make static. | |
5054 | (do_regcache_xfree): Make static. | |
5055 | (regcache_xfer_part): Make static. | |
5056 | (_initialize_regcache): Add missing prototype. | |
5057 | * breakpoint.c (parse_breakpoint_sals): Make static. | |
5058 | (breakpoint_sals_to_pc): Make static. | |
5059 | * interps.h (clear_interpreter_hooks): ISO C declaration. | |
5060 | * Makefile.in (stack_h): Define. | |
5061 | (stack.o, typeprint.o, mi-main.o): Update dependencies. | |
5062 | (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies. | |
5063 | ||
a0f267c7 AC |
5064 | 2003-06-08 Andrew Cagney <[email protected]> |
5065 | ||
5066 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
5067 | (SFILES): Add trad-frame.c. | |
5068 | (trad_frame_h): Define. | |
5069 | (COMMON_OBS): Add trad-frame.o. | |
5070 | (trad-frame.o): Specify dependencies. | |
5071 | * d10v-tdep.c: Include "trad-frame.h". | |
5072 | (saved_regs_unwinder): Delete function. | |
5073 | (d10v_frame_prev_register): Use trad_frame_prev_register. | |
5074 | (struct d10v_unwind_cache): Change type of "saved_regs" to "struct | |
5075 | trad_frame", delete "regs" and "prev_sp". | |
5076 | (prologue_find_regs): Use trad-frame. | |
5077 | * trad-frame.h, trad-frame.c: New files. | |
5078 | ||
4538b4f4 MK |
5079 | 2003-06-08 Mark Kettenis <[email protected]> |
5080 | ||
5081 | * dwarf2cfi.c, dwarf2cfi.h: Remove. | |
5082 | ||
a0273b2f AF |
5083 | 2003-06-07 Adam Fedor <[email protected]> |
5084 | ||
5085 | * gdb/objc-lang.c (FETCH_ARGUMENT): Remove macro. | |
5086 | (OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for | |
5087 | using FETCH_POINTER_ARGUMENT with Objective-C method arguments. | |
5088 | (find_implementation, resolve_msgsend, resolve_msgsend_stret, | |
8ffd9b1b | 5089 | resolve_msgsend_super, resolve_msgsend_super_stret): |
a0273b2f AF |
5090 | Use it. |
5091 | ||
3a6c3343 AC |
5092 | 2003-06-07 Andrew Cagney <[email protected]> |
5093 | ||
5094 | * symfile.h: Re-indent, clean up comments. | |
5095 | ||
b46e02f6 AC |
5096 | 2003-06-07 Andrew Cagney <[email protected]> |
5097 | ||
5098 | * inferior.h (deprecated_write_sp): Replace | |
5099 | generic_target_write_sp. | |
5100 | * regcache.c (deprecated_write_sp): Replace | |
5101 | generic_target_write_sp. | |
5102 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
5103 | * vax-tdep.c (vax_gdbarch_init): Update. | |
5104 | * v850-tdep.c (v850_gdbarch_init): Update. | |
5105 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
5106 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5107 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5108 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5109 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
5110 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
5111 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5112 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
5113 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5114 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5115 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
5116 | * frv-tdep.c (frv_gdbarch_init): Update. | |
5117 | * cris-tdep.c (cris_gdbarch_init): Update. | |
5118 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
5119 | ||
a42e117c AC |
5120 | 2003-06-07 Andrew Cagney <[email protected]> |
5121 | ||
5122 | * dwarf2-frame.c (dwarf2_frame_cache): Add comments on PC_REGNUM. | |
5123 | Assert that PC_REGNUM is valid. | |
5124 | (dwarf2_frame_prev_register): Add comments on SP_REGNUM. | |
5125 | ||
bd1ce8ba AC |
5126 | 2003-06-07 Andrew Cagney <[email protected]> |
5127 | ||
5128 | * gdbarch.sh (TARGET_READ_SP): Add predicate, delete default. | |
5129 | * gdbarch.h, gdbarch.c: Regenerate. | |
5130 | * mn10300-tdep.c: Include "gdb_assert.h". | |
5131 | (mn10300_read_fp): New function. | |
5132 | (mn10300_gdbarch_init): Set deprecated_target_read_fp to | |
5133 | mn10300_read_fp. Do not set read_sp to generic_target_read_sp. | |
5134 | * ia64-tdep.c: Include "gdb_assert.h". | |
5135 | (ia64_read_fp): New function. | |
5136 | (ia64_gdbarch_init): Set deprecated_target_read_fp to | |
5137 | ia64_read_sp. Do not set read_sp to generic_target_read_sp. | |
5138 | * regcache.c (generic_target_read_sp): Delete function. | |
5139 | (read_sp): Try TARGET_READ_SP and SP_REGNUM for the SP register. | |
5140 | * inferior.h (generic_target_read_sp): Delete declaration. | |
5141 | * frv-tdep.c (frv_gdbarch_init): Do not set read_sp to | |
5142 | generic_target_read_sp. | |
5143 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5144 | * sparc-tdep.c (sparc_gdbarch_init): Ditto | |
5145 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5146 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5147 | * Makefile.in (mn10300-tdep.o, ia64-tdep.o): Update dependencies. | |
5148 | ||
ec5cbaec AC |
5149 | 2003-06-07 Andrew Cagney <[email protected]> |
5150 | ||
5151 | * gdbarch.sh: Comment each field of startup_gdbarch. | |
5152 | * gdbarch.h, gdbarch.c: Re-generate. | |
5153 | ||
cde9ea48 AC |
5154 | 2003-06-07 Andrew Cagney <[email protected]> |
5155 | ||
5156 | * gdbarch.sh (TARGET_READ_PC): Add predicate, remove default. | |
5157 | * gdbarch.h, gdbarch.c: Re-generate. | |
5158 | * regcache.c: Update comments on read_pc et.al. | |
5159 | (generic_target_read_pc): Delete function. | |
5160 | (read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register. | |
5161 | * inferior.h (generic_target_read_pc): Delete declaration. | |
5162 | * frv-tdep.c (frv_gdbarch_init): Do not set read_pc to | |
5163 | generic_target_read_pc. | |
5164 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
5165 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5166 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5167 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 5168 | |
9a90a780 AC |
5169 | 2003-06-07 Andrew Cagney <[email protected]> |
5170 | ||
5171 | * elfread.c (elf_symtab_read): Replace "special_local_sym_p" and | |
5172 | "index" with "special_local_sect". Use strcmp instead of STREQ. | |
5173 | Append period to coments. | |
5174 | ||
a39a16c4 MM |
5175 | 2003-06-06 Mark Mitchell <[email protected]> |
5176 | ||
5177 | * elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX. | |
5178 | (elfstab_offset_sections): Likewise. | |
5179 | * gdb-stabs.h (stab_section_info): Likewise. | |
5180 | * i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise. | |
5181 | * objfiles.c (objfile_relocate): Likewise. | |
5182 | * pa64solib.c (pa64_solib_add_solib_objfile): Likewise. | |
5183 | * remote.c (get_offsets): Likewise. | |
5184 | (remote_cisco_objfile_relocate): Likewise. | |
5185 | * somread.c (som_symfile_offsets): Likewise. | |
5186 | * symfile.c (alloc_section_addr_info): New function. | |
5187 | (build_section_addr_info_from_section_tab): Use it. | |
5188 | (free_section_addr_info): Adjust. | |
5189 | (default_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
5190 | (syms_from_objfile): Allocate local_addr dynamically. | |
5191 | (symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs | |
5192 | dynamically. | |
5193 | (add_symbol_file_command): Allocate sect_opts dynamically. | |
5194 | (reread_symbols): Avoid use of SECT_OFF_MAX. | |
5195 | * symfile.h (section_addr_info): Do not use MAX_SECTIONS. | |
5196 | (alloc_section_addr_info): Declare it. | |
5197 | * symtab.h (SIZEOF_SECTION_OFFSETS): Remove. | |
5198 | * win32-nat.c (solib_symbols_add): Allocate section_addrs | |
5199 | dynamically. | |
5200 | * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
8ffd9b1b | 5201 | |
20c6c2f8 AC |
5202 | 2003-06-06 Andrew Cagney <[email protected]> |
5203 | ||
5204 | * d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc". | |
5205 | (d10v_frame_unwind_cache): Do not set "return_pc". | |
5206 | ||
884a26c8 MS |
5207 | 2003-06-06 Michael Snyder <[email protected]> |
5208 | ||
5209 | * h8300-tdep.c: Make tidy (long lines). | |
5210 | ||
088ce440 ML |
5211 | 2003-06-06 Michal Ludvig <[email protected]> |
5212 | ||
8ffd9b1b | 5213 | * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums |
088ce440 ML |
5214 | to regcache_collect(). |
5215 | ||
7d773d96 JB |
5216 | 2003-06-05 J. Brobecker <[email protected]> |
5217 | ||
5218 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting | |
5219 | pc_in_sigtramp multiarch method. | |
5220 | (hppa_hpux_som_init_abi): Use it. | |
5221 | (hppa_hpux_elf_init_abi): Likewise. | |
5222 | * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this | |
5223 | macro has been multiarched. | |
5224 | * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this | |
5225 | macro here, as hppa64 isn't multiarched yet. | |
5226 | ||
1df6926e AC |
5227 | 2003-06-05 Andrew Cagney <[email protected]> |
5228 | ||
5229 | * Makefile.in (value_h): Add $(frame_h). | |
5230 | * value.h: Include "frame.h". | |
5231 | (struct value): Replace "frame_addr" with "frame_id". | |
5232 | (VALUE_FRAME_ID): Replace VALUE_FRAME. | |
5233 | * values.c (allocate_value): Use VALUE_FRAME_ID. | |
5234 | (value_copy): Use VALUE_FRAME_ID. | |
5235 | * findvar.c (value_from_register): Use VALUE_FRAME_ID. | |
5236 | * valops.c (value_assign): Update. Use frame_find_by_id. | |
5237 | ||
6b53acc6 ML |
5238 | 2003-06-05 Michal Ludvig <[email protected]> |
5239 | ||
5240 | * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset | |
5241 | in each pass. | |
5242 | ||
4d9850d3 JJ |
5243 | 2003-06-05 Jeff Johnston <[email protected]> |
5244 | ||
5245 | * thread-db.c (check_event): For create/death event breakpoints, | |
5246 | loop through all messages to ensure that we read the message | |
5247 | corresponding to the breakpoint we are at. | |
5248 | ||
8efca6ba MS |
5249 | 2003-06-04 Michael Snyder <[email protected]> |
5250 | ||
5251 | * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn. | |
5252 | ||
0912c7f2 MK |
5253 | 2003-06-04 Mark Kettenis <[email protected]> |
5254 | ||
5255 | * dwarf2-frame.c (struct comp_unit): Add member `dbase'. | |
5256 | (read_encoded_value): Handle DW_EH_PE_datarel encoding. | |
5257 | (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings | |
5258 | when handling .eh_frame sections. | |
5259 | ||
4e370325 JB |
5260 | 2003-06-04 J. Brobecker <[email protected]> |
5261 | ||
5262 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic | |
5263 | prepare_to_proceed procedure instead of the hppa-specific one. | |
5264 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used. | |
5265 | ||
b757528f | 5266 | 2003-06-04 Jeff Johnston <[email protected]> |
8ffd9b1b | 5267 | |
b757528f JJ |
5268 | * acconfig.h: Add HAVE_TKILL_SYSCALL definition check. |
5269 | * config.in: Regenerated. | |
5270 | * configure.in: Add test for syscall function and check for | |
5271 | __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. | |
5272 | * configure: Regenerated. | |
5273 | * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and | |
5274 | <sys/syscall.h>. | |
5275 | (kill_lwp): New function that uses tkill syscall or | |
5276 | uses kill, depending on whether threading model is nptl or not. | |
5277 | All callers of kill() changed to use kill_lwp(). | |
5278 | (lin_lwp_wait): Make special check when WIFEXITED occurs to | |
5279 | see if all threads have already exited in the nptl model. | |
5280 | (stop_and_resume_callback): New callback function used by the | |
5281 | lin_lwp_wait thread exit handling code. | |
5282 | (stop_wait_callback): Check for threads already having exited and | |
5283 | delete such threads fromt the lwp list when discovered. | |
5284 | (stop_callback): Don't assert retcode of kill call. | |
8ffd9b1b | 5285 | |
b757528f JJ |
5286 | Roland McGrath <[email protected]> |
5287 | * i386-linux-nat.c (ps_get_thread_area): New function needed by | |
5288 | nptl libthread_db. | |
5289 | ||
087779b1 RH |
5290 | 2003-06-03 Richard Henderson <[email protected]> |
5291 | ||
b21fd293 RH |
5292 | * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn. |
5293 | (alpha_sigtramp_frame_this_id): Use get_frame_memory. | |
5294 | (alpha_sigtramp_frame_prev_register): Likewise. | |
5295 | (alpha_heuristic_frame_prev_register): Likewise. | |
5296 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise. | |
5297 | ||
8ffd9b1b | 5298 | * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use |
087779b1 RH |
5299 | alpha-specific register id names. |
5300 | (alpha_mdebug_frame_unwind_cache): Likewise. | |
5301 | (alpha_mdebug_frame_prev_register): Likewise. | |
5302 | ||
baa490c4 RH |
5303 | 2003-06-03 Richard Henderson <[email protected]> |
5304 | ||
5305 | * alpha-tdep.c (alpha_dwarf2_init_abi): New. | |
5306 | * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. | |
5307 | * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. | |
5308 | * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug | |
5309 | unwind routines. | |
5310 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
5311 | * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
5312 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
5313 | ||
5314 | * alpha-linux-tdep.c: Remove unnecessary includes. | |
5315 | * Makefile.in (alpha-linux-tdep.o): Update. | |
5316 | ||
5317 | 2003-06-03 Richard Henderson <[email protected]> | |
5318 | ||
5319 | * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change. | |
5320 | (alphabsd_fill_fpreg): Likewise. | |
5321 | ||
f534e522 JB |
5322 | 2003-06-03 J. Brobecker <[email protected]> |
5323 | ||
5324 | * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace | |
5325 | references to struct frame_info fields by calls to the equivalent | |
5326 | accessors. Necessary now that frame_info is opaque. | |
5327 | ||
4035536b JB |
5328 | 2003-06-03 J. Brobecker <[email protected]> |
5329 | ||
5330 | * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete. | |
5331 | (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep | |
5332 | structure, field no longer exists. | |
5333 | ||
0bd79c5c JB |
5334 | 2003-06-03 J. Brobecker <[email protected]> |
5335 | ||
5336 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
5337 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module. | |
5338 | ||
37bb6d9f JB |
5339 | 2003-06-03 J. Brobecker <[email protected]> |
5340 | ||
5341 | * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace | |
5342 | references to struct frame_info fields by calls to the equivalent | |
5343 | accessors. Necessary now that frame_info is opaque. | |
5344 | ||
852ee05c JB |
5345 | 2003-06-03 J. Brobecker <[email protected]> |
5346 | ||
5347 | * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. | |
5348 | (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep | |
5349 | structure, field no longer exists. | |
5350 | ||
7d58c67d TR |
5351 | 2003-06-03 Theodore A. Roth <[email protected]> |
5352 | ||
8ffd9b1b | 5353 | * remote.c (init_remote_state): Compute sizeof_g_packet by |
7d58c67d TR |
5354 | accumulation of the size of all registers instead of blindly using |
5355 | DEPRECATED_REGISTER_BYTES. | |
5356 | ||
0a48e7e8 MS |
5357 | 2003-06-03 Michael Snyder <[email protected]> |
5358 | ||
5359 | * config/h8300/tm-h8300.h (h8300sxmode): Declare. | |
5360 | * h8300-tdep.c (h8300_gdbarch_init): Set machine mode | |
5361 | for h8300sx. | |
5362 | ||
9798ab0d JB |
5363 | 2003-06-03 J. Brobecker <[email protected]> |
5364 | ||
5365 | * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile. | |
5366 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. | |
5367 | ||
00b037e2 AC |
5368 | 2003-06-03 Andrew Cagney <[email protected]> |
5369 | ||
5370 | * sparc-tdep.c (sparc_convert_to_virtual): Delete function. | |
5371 | (sparc_convert_to_raw): Delete function. | |
5372 | (sparc_gdbarch_init): Do not set register_convert_to_raw or | |
5373 | register_convert_to_virtual. | |
5374 | ||
043b2f77 JJ |
5375 | 2003-06-03 Jeff Johnston <[email protected]> |
5376 | ||
5377 | * thread-db.c (thread_db_mourn_inferior): Unpush thread target | |
5378 | layer if not dealing with a statically-linked threaded program. | |
5379 | ||
f43caff8 KW |
5380 | 2003-06-03 Kris Warkentin <[email protected]> |
5381 | ||
5382 | * solib.c (solib_open): Update comment to reflect actual search order. | |
5383 | ||
ae1e7417 AC |
5384 | 2003-06-03 Andrew Cagney <[email protected]> |
5385 | ||
5386 | * frame.c (get_frame_memory_signed): New function. | |
5387 | (get_frame_memory, get_frame_memory_unsigned): New function. | |
5388 | (get_frame_arch): New function. | |
5389 | * frame.h (get_frame_signed_memory, get_frame_arch): Declare. | |
5390 | (get_frame_memory, get_frame_unsigned_memory): Declare. | |
5391 | * d10v-tdep.c (d10v_frame_unwind_cache): Use | |
5392 | get_frame_memory_unsigned and get_frame_arch. | |
5393 | (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto. | |
5394 | ||
cb123844 RG |
5395 | 2003-06-03 Raoul Gough <[email protected]> |
5396 | ||
5397 | * MAINTAINERS (write after approval): Add myself. | |
5398 | ||
1bb792e9 JB |
5399 | 2003-06-03 Jim Blandy <[email protected]> |
5400 | ||
5401 | * s390-nat.c (supply_gregset, fill_gregset): On the s390x, the | |
5402 | elements of gregset_t are 64 bits each, but access registers | |
5403 | are still 32 bits, so they're packed two per gregset_t | |
5404 | element. Unpack/pack them properly. | |
5405 | ||
aee8d8ba DC |
5406 | 2003-06-02 David Carlton <[email protected]> |
5407 | ||
5408 | * linespec.c (find_methods): Break out code into | |
5409 | add_matching_methods and add_constructors. | |
5410 | (add_matching_methods): New. | |
5411 | (add_constructors): Ditto. | |
5412 | ||
bf7488d2 AC |
5413 | 2003-06-02 Andrew Cagney <[email protected]> |
5414 | ||
bf7488d2 AC |
5415 | * sparc-tdep.c (sparc_print_registers): Delete call to |
5416 | REGISTER_CONVERTIBLE. | |
5417 | (sparc_gdbarch_init): Do not set register_convertible. | |
5418 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5419 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
5420 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
5421 | ||
adedef68 EZ |
5422 | 2003-06-02 Elena Zannoni <[email protected]> |
5423 | ||
8ffd9b1b | 5424 | * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. |
adedef68 EZ |
5425 | * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD. |
5426 | (syms_from_objfile): Ditto. | |
5427 | ||
650fcc91 AS |
5428 | 2003-06-03 Andreas Schwab <[email protected]> |
5429 | ||
5430 | * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ... | |
5431 | (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn. | |
5432 | ||
df4a182b RH |
5433 | 2003-06-02 Richard Henderson <[email protected]> |
5434 | ||
5435 | * alpha-tdep.c (alpha_register_reggroup_p): Zero is only | |
5436 | a member of all_reggroup. | |
5437 | ||
c483c494 RH |
5438 | 2003-06-02 Richard Henderson <[email protected]> |
5439 | ||
5440 | * alpha-tdep.c (alpha_register_type): Change from _virtual_type. | |
5441 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove. | |
5442 | (alpha_lds, alpha_sts): New. | |
5443 | (alpha_convert_register_p): Change from _register_convertible. | |
8ffd9b1b | 5444 | (alpha_register_to_value): Change from _convert_to_virtual; |
c483c494 RH |
5445 | restructure and fail for type sizes other than 4 or 8. |
5446 | (alpha_value_to_register): Similarly. | |
5447 | (alpha_extract_return_value): Use alpha_sts. | |
5448 | (alpha_store_return_value): Use alpha_lds. | |
5449 | (alpha_gdbarch_init): Update hooks. | |
5450 | ||
b38b6be2 RH |
5451 | 2003-06-02 Richard Henderson <[email protected]> |
5452 | ||
5453 | * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific | |
5454 | regnum identifiers. | |
5455 | (alpha_sigtramp_register_address): Likewise. | |
5456 | ||
98a8e1e5 RH |
5457 | 2003-06-02 Richard Henderson <[email protected]> |
5458 | ||
5459 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New. | |
5460 | (alpha_supply_fp_regs, alpha_fill_fp_regs): New. | |
5461 | * alpha-tdep.h: Declare them. | |
5462 | ||
5463 | * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping. | |
5464 | Remove zerobuf. Don't error on UNIQUE. | |
5465 | (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs. | |
5466 | (ALPHA_REGSET_UNIQUE): Provide default. | |
5467 | (supply_gregset): Use alpha_supply_int_regs. | |
5468 | (fill_gregset): Use alpha_fill_int_regs. | |
5469 | (supply_fpregset): Use alpha_supply_fp_regs. | |
5470 | (fill_fpregset): Use alpha_fill_fp_regs. | |
5471 | * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove. | |
5472 | (alphabsd_supply_reg): Use alpha_supply_int_regs. | |
5473 | (alphabsd_fill_reg): Use alpha_fill_int_regs. | |
5474 | (alphabsd_supply_fpreg): Use alpha_supply_fp_regs. | |
5475 | (alphabsd_fill_fpreg): Use alpha_fill_fp_regs. | |
5476 | * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New. | |
5477 | ||
67dfac52 RH |
5478 | 2003-06-02 Richard Henderson <[email protected]> |
5479 | ||
f75d70cc RH |
5480 | * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru. |
5481 | ||
67dfac52 RH |
5482 | * alpha-tdep.c (alpha_extract_return_value): Use internal_error. |
5483 | (alpha_store_return_value): Likewise. | |
5484 | ||
0cf566ec DC |
5485 | 2003-06-02 David Carlton <[email protected]> |
5486 | ||
5487 | * block.c (contained_in): Add 'const' to arguments. | |
5488 | (block_function): Ditto. | |
5489 | * block.h: Update declarations for block_function and | |
5490 | contained_in. | |
5491 | ||
cdef89d0 DC |
5492 | 2003-06-02 David Carlton <[email protected]> |
5493 | ||
5494 | * objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'. | |
5495 | * c-valprint.c (c_val_print): Delete unneeded variable 's'. | |
5496 | * p-valprint.c (pascal_val_print): Ditto. | |
5497 | * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'. | |
5498 | ||
72667056 RH |
5499 | 2003-06-02 Richard Henderson <[email protected]> |
5500 | ||
98a8e1e5 RH |
5501 | * alpha-tdep.c (alpha_push_dummy_call): Use |
5502 | builtin_type_ieee_double_little instead of builtin_type_double. | |
eb4edb88 | 5503 | |
8ffd9b1b | 5504 | * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated |
98a8e1e5 RH |
5505 | sign-extension of 32-bit values. |
5506 | (alpha_store_return_value): Similarly. | |
0ede8eca | 5507 | |
98a8e1e5 RH |
5508 | * alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types. |
5509 | (alpha_extract_return_value): Likewise. | |
5510 | (alpha_store_return_value): Likewise. | |
7b5e1cb3 | 5511 | |
98a8e1e5 RH |
5512 | * alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats. |
5513 | (alpha_store_return_value): Error on IEEE Quad floats. | |
24064b5c | 5514 | |
98a8e1e5 RH |
5515 | * alpha-tdep.c (alpha_extract_return_value): Convert to regcache. |
5516 | (alpha_extract_struct_value_address): Likewise. | |
5517 | (alpha_store_return_value): Likewise. | |
5518 | (alpha_store_struct_return): Remove. | |
5519 | (alpha_gdbarch_init): Update hook registration to match. | |
5ec2bb99 | 5520 | |
98a8e1e5 RH |
5521 | * alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of |
5522 | deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch | |
5523 | macros where appropriate. | |
5524 | (alpha_register_convert_to_raw): Similarly. Use unpack_long. | |
5525 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): New. | |
14696584 | 5526 | |
98a8e1e5 RH |
5527 | * alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr |
5528 | for SP, GP; void_func_ptr for PC; non-language-specific types | |
5529 | for all others. | |
5530 | * alpha-tdep.h (ALPHA_GP_REGNUM): New. | |
72667056 | 5531 | |
6dd77b81 RH |
5532 | 2003-06-02 Richard Henderson <[email protected]> |
5533 | ||
5534 | * top.h (lim_at_start): Declare. | |
5535 | * main.c (captured_main): Set it. | |
5536 | * top.c (lim_at_start): Define. | |
5537 | (command_loop): Use it instead of &environ. | |
5538 | * event-top.c (command_handler): Likewise. | |
5539 | ||
f4dbdb54 JT |
5540 | 2003-06-01 Jason Thorpe <[email protected]> |
5541 | ||
5542 | * mipsnbsd-tdep.c: Update copyright years. | |
5543 | (fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg. | |
5544 | ||
8f285956 RH |
5545 | 2003-06-01 Richard Henderson <[email protected]> |
5546 | ||
98a8e1e5 RH |
5547 | * Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c. |
5548 | (alpha-linux-tdep.o): Update dependencies. | |
5549 | (alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise. | |
5550 | * alpha-mdebug-tdep.c: Remove unneeded includes. | |
8f285956 | 5551 | |
615967cb RH |
5552 | 2003-06-01 Richard Henderson <[email protected]> |
5553 | ||
98a8e1e5 RH |
5554 | * alpha-tdep.c (alpha_register_reggroup_p): New. |
5555 | (alpha_gdbarch_init): Register it. | |
615967cb | 5556 | |
b59661bd AC |
5557 | 2003-06-02 Andrew Cagney <[email protected]> |
5558 | ||
5559 | * dwarfread.c: Eliminate "register" | |
5560 | (decode_die_type): Eliminate assignment within "if". | |
5561 | (struct_type, decode_array_element_type): Ditto. | |
5562 | (dwarf_read_array_type, read_tag_pointer_type): Ditto. | |
5563 | (read_subroutine_type, enum_type, add_enum_psymbol): Ditto. | |
5564 | (decode_modified_type, completedieinfo): Ditto. | |
5565 | * block.c: Eliminate "register". | |
5566 | (blockvector_for_pc_sect): Eliminate assignment within "if". | |
5567 | * cp-support.h (struct symbol): Opaque declaration. | |
5568 | * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free. | |
5569 | ||
5ef165c2 RH |
5570 | 2003-06-01 Richard Henderson <[email protected]> |
5571 | ||
98a8e1e5 RH |
5572 | * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ... |
5573 | (_initialize_alpha_tdep): ... not deprecated_tm_print_insn. | |
5ef165c2 | 5574 | |
143985b7 AF |
5575 | 2003-06-01 Adam Fedor <[email protected]> |
5576 | ||
5577 | * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT. | |
5578 | * gdbarch.[ch]: Regenerate. | |
5579 | * hppa-tdep.c (hppa_fetch_pointer_argument): New function. | |
5580 | (hppa_gdbarch_init): Set it in the gdbarch vector. | |
5581 | * i386-tdep.c (i386_fetch_pointer_argument): New | |
5582 | (i386_gdbarch_init): Set it into gdbarch. | |
5583 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): New. | |
5584 | (rs6000_gdbarch_init): Set it in gdbarch. | |
5585 | * sparc-tdep.c (sparc_fetch_pointer_argument): New | |
5586 | (sparc_gdbarch_init): Set it in gdbarch. | |
5587 | ||
ae0167b9 AC |
5588 | 2003-06-01 Andrew Cagney <[email protected]> |
5589 | ||
7c0b4a20 AC |
5590 | * defs.h (extract_address): Delete declaration. |
5591 | * findvar.c (extract_address): Delete function. | |
5592 | * xstormy16-tdep.c (xstormy16_extract_return_value): Replace | |
5593 | extract_address with the inline equivalent, | |
5594 | extract_unsigned_integer. | |
5595 | (xstormy16_extract_struct_value_address): Ditto. | |
5596 | (xstormy16_pointer_to_address): Ditto. | |
5597 | * vax-tdep.c (vax_extract_struct_value_address): Ditto. | |
5598 | * v850-tdep.c (v850_push_arguments): Ditto. | |
5599 | (v850_extract_return_value): Ditto. | |
5600 | (v850_extract_struct_value_address): Ditto. | |
5601 | * sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto. | |
5602 | (sparcnbsd_get_longjmp_target_64): Ditto. | |
5603 | * sparc-tdep.c (sparc_frame_saved_pc): Ditto. | |
5604 | (get_longjmp_target): Ditto. | |
5605 | * sh-tdep.c (sh_extract_struct_value_address): Ditto. | |
5606 | (sh64_extract_struct_value_address): Ditto. | |
5607 | (sh_push_arguments): Ditto. | |
5608 | (sh64_push_arguments): Ditto. | |
5609 | * remote-vxsparc.c (vx_read_register): Ditto. | |
5610 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto. | |
5611 | * ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto. | |
5612 | * mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto. | |
5613 | * mipsv4-nat.c (get_longjmp_target): Ditto. | |
5614 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto. | |
5615 | * mips-nat.c (get_longjmp_target): Ditto. | |
5616 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto. | |
5617 | * mcore-tdep.c (mcore_extract_struct_value_address): Ditto. | |
5618 | * m68k-tdep.c (m68k_get_longjmp_target): Ditto. | |
5619 | * m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto. | |
5620 | * irix5-nat.c (get_longjmp_target): Ditto. | |
5621 | * irix4-nat.c (get_longjmp_target): Ditto. | |
5622 | * ia64-tdep.c (generic_elf_find_global_pointer): Ditto. | |
5623 | (ia64_push_arguments): Ditto. | |
5624 | * hpux-thread.c (hpux_thread_store_registers): Ditto. | |
5625 | * h8300-tdep.c (h8300_push_arguments): Ditto. | |
5626 | (h8300_store_return_value): Ditto. | |
5627 | (h8300_extract_struct_value_address): Ditto. | |
5628 | * frv-tdep.c (frv_extract_struct_value_address): Ditto. | |
5629 | (frv_push_arguments): Ditto. | |
5630 | * avr-tdep.c (avr_pointer_to_address): Ditto. | |
5631 | (avr_push_arguments): Ditto. | |
5632 | * arm-tdep.c (arm_push_dummy_call): Ditto. | |
5633 | (arm_get_longjmp_target): Ditto. | |
5634 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
5635 | * alpha-tdep.c (alpha_extract_struct_value_address): Ditto. | |
5636 | (alpha_get_longjmp_target): Ditto. | |
5637 | ||
ae0167b9 AC |
5638 | * solib-irix.c (extract_mips_address): Inline extract_address, |
5639 | replacing it with extract_signed_integer. | |
5640 | * solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
5641 | (LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto. | |
5642 | (first_link_map_member, open_symbol_file_object): Ditto. | |
5643 | (svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto. | |
5644 | * solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
5645 | (LM_NEXT, LM_NAME): Ditto. | |
5646 | ||
44d88583 RH |
5647 | 2003-06-01 Richard Henderson <[email protected]> |
5648 | ||
98a8e1e5 RH |
5649 | * alpha-tdep.h (ALPHA_FP_REGNUM): Remove. |
5650 | * alpha-tdep.c (alpha_register_name): Remove vfp entry. | |
5651 | (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM. | |
5652 | (alpha_cannot_store_register): Likewise. | |
5653 | * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM. | |
5654 | * alpha-nat.c (supply_gregset): Likewise. | |
5655 | * alphanbsd-tdep.c (fetch_core_registers): Likewise. | |
44d88583 | 5656 | |
310e9b6a AC |
5657 | 2003-06-01 Andrew Cagney <[email protected]> |
5658 | ||
5659 | * infcall.c (call_function_by_hand): Update comment on | |
5660 | DEPRECATED_DUMMY_WRITE_SP. | |
5661 | ||
5662 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
5663 | deprecated_dummy_write_sp. | |
5664 | (mips_eabi_push_dummy_call): Set the SP register. | |
5665 | (mips_o64_push_dummy_call): Set the SP register. | |
5666 | (mips_o32_push_dummy_call): Set the SP register. | |
5667 | (mips_n32n64_push_dummy_call): Set the SP register. | |
5668 | ||
5ab84872 RH |
5669 | 2003-06-01 Richard Henderson <[email protected]> |
5670 | ||
98a8e1e5 RH |
5671 | * alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE |
5672 | instead of ALPHA_MAX_REGISTER_RAW_SIZE. | |
5673 | (supply_gregset): Likewise. | |
5674 | * alpha-tdep.c (alpha_store_return_value): Likewise. | |
5675 | (alpha_get_longjmp_target): Likewise. | |
5676 | (alpha_register_name): Constify array. | |
5677 | (alpha_gdbarch_init): Remove deprecated_fp_regnum, | |
5678 | deprecated_register_size, deprecated_register_bytes, | |
5679 | deprecated_max_register_raw_size, deprecated_max_register_virtual_size. | |
5680 | * alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove. | |
5681 | (ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
5ab84872 | 5682 | |
09cc52fd RH |
5683 | 2003-06-01 Richard Henderson <[email protected]> |
5684 | ||
5685 | * alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies | |
5686 | from arg_reg_buffer to regcache to avoid double conversion. | |
5687 | ||
c7f16359 MK |
5688 | 2003-06-01 Mark Kettenis <[email protected]> |
5689 | ||
5690 | * i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of | |
5691 | SP_REGNUM. | |
5692 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise. | |
5693 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise. | |
5694 | ||
7131cb6e RH |
5695 | 2003-06-01 Richard Henderson <[email protected]> |
5696 | ||
98a8e1e5 RH |
5697 | * dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation. |
5698 | (decode_frame_entry): Set it. Skip FDE augmentation. | |
7131cb6e | 5699 | |
f3e0f90b RH |
5700 | 2003-06-01 Richard Henderson <[email protected]> |
5701 | ||
98a8e1e5 RH |
5702 | * dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column |
5703 | not overlapping PC_REGNUM. | |
f3e0f90b | 5704 | |
c88e30c0 RH |
5705 | 2003-06-01 Richard Henderson <[email protected]> |
5706 | ||
98a8e1e5 RH |
5707 | * alpha-tdep.c (alpha_push_dummy_call): Transmography from |
5708 | alpha_push_arguments. Don't dump argument register data to | |
5709 | the target stack. Fix float and 128-bit long double semantics. | |
5710 | Store $t12 and $ra as specified by the ABI. Use regcache everywhere. | |
5711 | (alpha_fix_call_dummy): Remove. | |
5712 | (alpha_call_dummy_words): Remove. | |
5713 | (alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call. | |
c88e30c0 | 5714 | |
f1a559ae RH |
5715 | 2003-06-01 Richard Henderson <[email protected]> |
5716 | ||
5717 | * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder. | |
5718 | ||
5e045346 AC |
5719 | 2003-06-01 Andrew Cagney <[email protected]> |
5720 | ||
95404a3e AC |
5721 | * mips-tdep.c (is_mips16_addr): New function. |
5722 | (make_mips16_addr, unmake_mips16_addr): New functions. | |
5723 | (pc_is_mips16, mips_fetch_instruction): Use. | |
5724 | (gdb_print_insn_mips, mips_breakpoint_from_pc): Use. | |
5725 | (gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH. | |
5726 | (mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH, | |
5727 | UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and | |
5728 | TARGET_MIPS. | |
5729 | * config/mips/tm-mips.h: Update copyright. | |
5730 | (TARGET_MIPS, TM_PRINT_INSN_MACH): Delete. | |
5731 | (DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete. | |
5732 | (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete. | |
5733 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete. | |
5734 | (TM_PRINT_INSN_MACH): Delete. | |
5735 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete. | |
5736 | ||
5e045346 AC |
5737 | * configure.tgt: Replace mips64*vr4xxx*el-*-elf*, |
5738 | mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*, | |
5739 | mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*, | |
5740 | mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and | |
5741 | mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete | |
5742 | mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto | |
5743 | mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*, | |
5744 | mips*-*-riscos* and mips*-*-sysv* onto mips. | |
5745 | * config/mips/mips64.mt: New file. | |
5746 | * config/mips/mips.mt: New file. | |
5747 | * config/mips/littlemips.mt: Delete file. | |
5748 | * config/mips/decstation.mt: Delete file. | |
5749 | * config/mips/vr4300el.mt: Delete file. | |
5750 | * config/mips/vr5000el.mt: Delete file. | |
5751 | * config/mips/vr5000.mt: Delete file. | |
5752 | * config/mips/vr4100.mt: Delete file. | |
5753 | * config/mips/vr4xxxel.mt: Delete file. | |
5754 | * config/mips/vr4300.mt: Delete file. | |
5755 | * config/mips/vr4xxx.mt: Delete file. | |
5756 | * config/mips/bigmips.mt: Delete file. | |
5757 | * config/mips/bigmips64.mt: Delete file. | |
5758 | * config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h". | |
5759 | * config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h". | |
5760 | * config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h" | |
5761 | * config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h". | |
5762 | * config/mips/tm-tx39.h: Include "tm-mips.h" instead of | |
5763 | "tm-bigmips.h". | |
5764 | * config/mips/tm-irix3.h: Ditto. | |
5765 | * config/mips/tm-mipsv4.h: Ditto. | |
5766 | * config/mips/tm-embed.h: Ditto. | |
5767 | * config/mips/tm-irix6.h: Include "tm-mips64.h" instead of | |
5768 | "tm-bigmips64.h". | |
5769 | * config/mips/tm-vr5000el.h: Delete file. | |
5770 | * config/mips/tm-tx39l.h: Delete file. | |
5771 | * config/mips/tm-vr4300el.h: Delete file. | |
5772 | * config/mips/tm-vr4xxxel.h: Delete file. | |
5773 | * config/mips/tm-vr4300.h: Delete file. | |
5774 | * config/mips/tm-vr4100.h: Delete file. | |
5775 | * config/mips/tm-vr4xxx.h: Delete file. | |
5776 | * config/mips/tm-vr5000.h: Delete file. | |
5777 | * config/mips/tm-embedl64.h: Delete file. | |
5778 | * config/mips/tm-embedl.h: Delete file. | |
5779 | * config/mips/tm-embed64.h: Delete file. | |
5780 | * config/mips/tm-bigmips64.h: Delete file. | |
5781 | * config/mips/tm-bigmips.h: Delete file. | |
5782 | ||
2473a4a9 MK |
5783 | 2003-06-01 Mark Kettenis <[email protected]> |
5784 | ||
97a5b208 MK |
5785 | Fix gdb/1216. |
5786 | * shnbsd-nat.c: Include "sh-tdep.h". | |
5787 | ||
2473a4a9 MK |
5788 | From Richard Henderson <[email protected]>: |
5789 | * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic. | |
5790 | ||
e0f7ec59 AC |
5791 | 2003-05-31 Andrew Cagney <[email protected]> |
5792 | ||
5793 | * mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add | |
5794 | forward declaration. | |
5795 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
5796 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
5797 | (mips_find_saved_regs): Use set_reg_offset. | |
5798 | (mips_frame_init_saved_regs): Delete function. | |
5799 | (mips_pop_frame): Call mips_find_saved_regs instead of | |
5800 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
5801 | ||
68dcc709 AC |
5802 | 2003-05-31 Andrew Cagney <[email protected]> |
5803 | ||
5804 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
5805 | deprecated_max_register_raw_size, register_virtual_size, and | |
5806 | deprecated_max_register_virtual_size. | |
5807 | ||
cfc14b3a MK |
5808 | 2003-05-31 Mark Kettenis <[email protected]> |
5809 | ||
6405b0a6 MK |
5810 | * i386-tdep.c: Include "dwarf2-frame.h". |
5811 | (i386_gdbarch_init): Hook in the DWARF CFI frame unwinder. | |
5812 | * Makefile.in (i386-tdep.o): Update dependencies. | |
5813 | ||
cfc14b3a MK |
5814 | * dwarf2-frame.c, dwarf2-frame.h: New files. |
5815 | * Makefile.in (SFILES): Add dwarf2-frame.c. | |
5816 | (dwarf2_frame_h): Define. | |
5817 | (COMMON_OBS): Add dwarf2-frame.o. | |
5818 | (dwarf2-frame.o): Add dependencies. | |
5819 | ||
6a2751d2 AJ |
5820 | 2003-05-31 Andreas Jaeger <[email protected]> |
5821 | ||
5822 | * x86-64-linux-nat.c: Fix comment. | |
5823 | ||
1c3545ae MK |
5824 | 2003-05-31 Mark Kettenis <[email protected]> |
5825 | ||
10f93086 MK |
5826 | * x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed |
5827 | function signature. | |
5828 | ||
1c3545ae MK |
5829 | * i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we |
5830 | have a sigcontext_addr handler. | |
5831 | * x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a | |
5832 | sigcontext_addr handler. | |
5833 | ||
e11c53d2 AC |
5834 | 2003-05-31 Andrew Cagney <[email protected]> |
5835 | ||
5836 | * mips-tdep.c (print_gp_register_row): Replace do_gp_register_row. | |
5837 | (print_fp_register_row): Replace do_fp_register_row. | |
5838 | (mips_print_fp_register): Add "file" and "frame" parameters. | |
5839 | (mips_print_register): Add "file" and "frame" parameters. | |
5840 | (mips_print_registers_info): Replace mips_do_registers_info. | |
5841 | (mips_gdbarch_init): Set print_registers_info instead of | |
5842 | deprecated_do_registers_info. | |
5843 | (mips_read_fp_register_single): Add "frame" parameter. | |
5844 | (mips_read_fp_register_double): Add "frame" parameter. | |
5845 | ||
a3386186 MK |
5846 | 2003-05-31 Mark Kettenis <[email protected]> |
5847 | ||
70913449 MK |
5848 | * i386-tdep.c (i386_register_name): Check for MMX registers first. |
5849 | Fixes a bug where GDB would print the wrong register names for | |
5850 | targets without SSE. | |
5851 | ||
2b5e0749 MK |
5852 | * x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS. |
5853 | (x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
5854 | registers. | |
5855 | ||
5856 | * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable. | |
5857 | (x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and | |
5858 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
5859 | TDEP->sc_sp_offset. | |
5860 | ||
a3386186 MK |
5861 | From Michal Ludvig <[email protected]>: |
5862 | * i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset' | |
5863 | and `sc_num_regs'. | |
5864 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
5865 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
5866 | I386_ST0_REGNUM): Move here from... | |
5867 | * i386-tdep.c: ... here. | |
5868 | (I386_NUM_SAVED_REGS): Define to I386_NUM_REGS. | |
5869 | (i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
5870 | registers if possible. | |
5871 | (i386_gdbarch_init): Initialize TDEP->sc_reg_offset. | |
5872 | * i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset): | |
5873 | Remove variables. | |
5874 | (i386bsd_sc_reg_offset): New variable. | |
5875 | (i386bsd_init_abi): Initialize TDEP->sc_reg_offset and | |
5876 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
5877 | TDEP->sc_sp_offset. | |
5878 | (i386fbsd_sc_reg_offset): New variable. | |
5879 | (i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and | |
5880 | TDEP->sc_num_regs. | |
5881 | (i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove | |
5882 | variables. | |
5883 | (i386fbsd4_sc_reg_offset): New variable. | |
5884 | (i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and | |
5885 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
5886 | TDEP->sc_sp_offset. | |
5887 | * i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable. | |
5888 | (i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs. | |
5889 | * i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset): | |
5890 | Remove variables. | |
5891 | (i386nbsd_sc_reg_offset): New variable. | |
5892 | (i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and | |
5893 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
5894 | TDEP->sc_sp_offset. | |
5895 | * i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset): | |
5896 | Remove variables. | |
5897 | (i386obsd_sc_reg_offset): New variable. | |
5898 | (i386obsd_init_abi): Initialize TDEP->sc_reg_offset and | |
5899 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
5900 | TDEP->sc_sp_offset. | |
5901 | * i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in | |
5902 | i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check | |
5903 | for frame pointer offset in `struct sigcontext'. | |
5904 | ||
25ab4790 AC |
5905 | 2003-05-31 Andrew Cagney <[email protected]> |
5906 | ||
5907 | * mips-tdep.c (mips_gdbarch_init): Do not set the deprecated | |
5908 | architecture methods call_dummy_words, sizeof_call_dummy_words, | |
5909 | push_return_address, store_struct_return, and fix_call_dummy. Set | |
5910 | push_dummy_call instead of deprecated_push_arguments. | |
5911 | (mips_store_struct_return): Delete function. | |
5912 | (mips_fix_call_dummy): Delete function. | |
5913 | (mips_push_return_address): Delete function. | |
5914 | (mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set | |
5915 | RA_REGNUM and T9_REGNUM. | |
5916 | (mips_n32n64_push_dummy_call): Ditto for | |
5917 | mips_n32n64_push_arguments. | |
5918 | (mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments. | |
5919 | (mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments. | |
5920 | ||
6a65450a AC |
5921 | 2003-05-31 Andrew Cagney <[email protected]> |
5922 | ||
5923 | * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename | |
5924 | "dummy_addr" to "bp_addr". | |
5925 | * infcall.c (call_function_by_hand): Pass "funaddr" to | |
5926 | gdbarch_push_dummy_call. | |
5927 | * gdbarch.h, gdbarch.c: Re-generate. | |
5928 | * i386-tdep.c (i386_push_dummy_call): Update. | |
5929 | * arm-tdep.c (arm_push_dummy_call): Update. | |
5930 | * d10v-tdep.c (d10v_push_dummy_call): Update. | |
5931 | ||
c4f35dd8 MK |
5932 | 2003-05-31 Mark Kettenis <[email protected]> |
5933 | ||
5934 | * x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove | |
5935 | variable declarations. | |
5936 | (x86_64_register_number, x86_64_register_name): Remove prototypes. | |
5937 | (x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call, | |
5938 | x86_64_linux_in_sigtramp, x86_64_linux_frame_chain, | |
5939 | x86_64_init_frame_pc, x86_64_init_frame_pc, | |
5940 | x86_64_function_has_prologue): Remove prototypes. | |
5941 | (X86_64_NUM_GREGS): New define. | |
5942 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes. | |
5943 | * x86-64-tdep.c: Don't include "dwarf2cfi.h". Include | |
5944 | "dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h". | |
5945 | (RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM, | |
5946 | XMM1_REGNUM): Remove defines. | |
5947 | (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM, | |
5948 | X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM, | |
5949 | X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, | |
5950 | X86_64_XMM1_REGNUM): New defines. | |
5951 | (struct x86_64_register_info): Renamed from `struct | |
5952 | register_info'. Remove `size' member. | |
5953 | (x86_64_register_info_table): Remove variable. | |
5954 | (x86_64_register_info): New variable. | |
5955 | (X86_64_NUM_REGS): New define. | |
5956 | (X86_64_NUM_GREGS): Remove define. | |
5957 | (x86_64_num_regs, x86_64_num_gregs): Remove variables. | |
5958 | (x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length): | |
5959 | Remove variables. | |
5960 | (x86_54_dwarf2_reg_to_regnum): Remove function. | |
5961 | (x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables. | |
5962 | (x86_64_dwarf_reg_to_regnum): New function. | |
5963 | (x86_64_register_name): Rewrite. | |
5964 | (x86_64_register_raw_size): Remove function. | |
5965 | (x86_64_register_byte_table): Remove variable. | |
5966 | (x86_64_register_byte): Remove function. | |
5967 | (x86_64_register_virtual_type): Remove function. | |
5968 | (x86_64_register_type): New function. | |
5969 | (x86_64_register_convertible, x86_64_register_convert_to_virtual, | |
5970 | x86_64_register_convert_to_raw): Remove functions. | |
5971 | (x86_64_push_return_address, x86_64_pop_frame): Remove functon. | |
5972 | (x86_64_use_struct_convention): Make static. Adjust for renamed | |
5973 | defines. | |
5974 | (x86_64_frame_init_saved_regs): Remove function. | |
5975 | (x86_64_push_arguments): Make static. Change to accept a regcache | |
5976 | as argument. | |
5977 | (x86_64_store_return_value, x86_64_extract_return_value): Make | |
5978 | static. Rewrite based on i386 counterparts. | |
5979 | (x86_64_push_dummy_call): New function. | |
5980 | (X86_64_NUM_SAVED_REGS): New define. | |
5981 | (x86_64_register_number): Remove function. | |
5982 | (x86_64_store_struct_return): Remove function. | |
5983 | (x86_64_frameless_function_invocation, | |
5984 | x86_64_function_has_prologue): Remove functions. | |
5985 | (PROLOG_BUFSIZE): Remove define. | |
5986 | (struct x86_64_frame_cache): New structure. | |
5987 | (x86_64_alloc_frame_cache, x86_64_analyze_prologue, | |
5988 | x86_64_frame_cache, x86_64_frame_this_id, | |
5989 | x86_64_frame_prev_register, x86_64_frame_p, | |
5990 | x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id, | |
5991 | x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New | |
5992 | functions. | |
5993 | (x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New | |
5994 | variables. | |
5995 | (x86_64_skip_prologue): Rewrite in terms of | |
5996 | x86_64_analyze_prologue. | |
5997 | (x86_64_frame_base_address): New function. | |
5998 | (x86_64_frame_base): New variable. | |
5999 | (x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite. | |
6000 | (x86_64_init_abi): Set register_type and push_dummy_call. Don't | |
6001 | set deprecated_fp_regnum, deprecated_register_size, | |
6002 | deprecated_register_bytes, register_raw_size, register_byte, | |
6003 | register_virtual_type, register_convertiable, | |
6004 | register_convert_to_virtual, convert_to_raw, | |
6005 | deprecated_get_saved_register, deprecated_target_read_fp, | |
6006 | deprecated_push_arguments, deprecated_push_return_address, | |
6007 | deprecated_pop_frame, deprecated_store_struct_return, | |
6008 | deprecated_frame_init_saved_regs, deprecated_frame_chain, | |
6009 | frameless_function_invocation, deprecated_frame_saved_pc, | |
6010 | deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp, | |
6011 | dwarf2_build_frame_info, deprecated_init_extra_frame_info, | |
6012 | deprecated_init_frame_pc and virtual_frame_pointer. Call | |
6013 | frame_unwind_append_predicate to register x86_64_sigtramp_frame_p | |
6014 | and x86_64_frame_p. Call frame_base_set_default to register | |
6015 | x86_64_frame_base. | |
6016 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines. | |
6017 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New functions. | |
6018 | (_initialize_x86_64_tdep): Remove function. | |
6019 | * x86-64-linux-tdep.c: Don't include "dwarf2cfi.h". | |
6020 | (LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET, | |
6021 | LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't | |
6022 | define. | |
6023 | (X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define. | |
6024 | (x86_64_linux_sigcontext_addr): Rewrite. | |
6025 | (x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call, | |
6026 | x86_64_linux_frame_saved_pc): Remove functions. | |
6027 | (x86_64_linux_pc_in_sigtramp): Renamed from | |
6028 | x86_64_linux_in_sigtramp. Try harder to recognize a signal | |
6029 | trampoline. | |
6030 | (x86_64_linux_frame_chain, x86_64_init_frame_pc): | |
6031 | Remove_functions. | |
6032 | (x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize | |
6033 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
6034 | * x86-64-linux-nat.c: Sync with i386-linux-tdep.c. | |
6035 | (x86_64_regmap): Rename to regmap. | |
6036 | (GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of | |
6037 | x86_64_num_gregs. | |
6038 | (supply_gregset, fill_gregset): Likewise. Use regmap instead of | |
6039 | x86_64_regmap. | |
6040 | (x86_64_fxsave_offset): Remove function. | |
6041 | (supply_fpregset): Simply call x86_64_supply_fxsave. | |
6042 | (fill_fpregset): Simply call x86_64_fill_fxsave. | |
6043 | (fetch_inferior_registers, store_inferior_registers): Avoid | |
6044 | asignment in if-statement. | |
6045 | (LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn, | |
6046 | SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET, | |
6047 | LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines. | |
6048 | (fetch_core_registers): Remove function. | |
6049 | (linux_elf_core_fns): Remove. | |
6050 | (offsetoff): Don't define. | |
6051 | (_initialize_x86_64_linux_nat, kernel_u_size): Remove functions. | |
6052 | * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o. | |
6053 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o, | |
6054 | add core-regset.o. | |
6055 | * config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for | |
6056 | protection against multiple includes instead of NM_X86_64_h. Add | |
6057 | various comments. Include "config/nm-linux.h". Don't include | |
6058 | <signal.h>. | |
6059 | (REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR, | |
6060 | GET_THREAD_SIGNALS): Remove defines. | |
6061 | (x86_64_register_u_addr, kernel_u_size, | |
6062 | lin_thread_get_thread_signals): Remove prototypes. | |
6063 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'. | |
6064 | [HAVE_LINK_H]: Don't include "solib.h". | |
6065 | [HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define. | |
6066 | * config/i386/tm-x86-64linux.h: Fix comments. | |
6067 | * Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o, | |
6068 | x86-64-tdep.o): Update dependencies. | |
6069 | ||
c25083af AC |
6070 | 2003-05-30 Andrew Cagney <[email protected]> |
6071 | ||
c8f55a7b AC |
6072 | * config/sparc/tm-sparc.h (sparc_extract_struct_value_address): |
6073 | Change parameter type to a "struct regcache *". | |
6074 | ||
c25083af AC |
6075 | * gdbarch.sh: Regardless of the multi-arch level, always define |
6076 | the macro when not already defined. | |
6077 | * gdbarch.h, gdbarch.c: Re-generate. | |
6078 | ||
fbe586ae RH |
6079 | 2003-05-30 Richard Henderson <[email protected]> |
6080 | ||
6081 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues. | |
6082 | (alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder. | |
6083 | (alpha_mdebug_frame_this_id): Likewise. | |
6084 | (alpha_mdebug_frame_prev_register): Likewise. | |
6085 | (alpha_mdebug_frame_base_address): Likewise. | |
6086 | (alpha_mdebug_frame_locals_address): Likewise. | |
6087 | (alpha_mdebug_frame_args_address): Likewise. | |
6088 | (struct alpha_mdebug_unwind_cache): Remove in_prologue_cache. | |
6089 | * alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start. | |
6090 | (alpha_heuristic_frame_unwind_cache): Make static; add missing | |
6091 | loop increment. | |
6092 | (alpha_heuristic_frame_this_id): Make static. | |
6093 | (alpha_heuristic_frame_prev_register): Likewise. | |
6094 | (alpha_heuristic_frame_base_address): Likewise. | |
6095 | * alpha-tdep.h: Update. | |
6096 | ||
acd5c798 MK |
6097 | 2003-05-30 Mark Kettenis <[email protected]> |
6098 | ||
6099 | * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype. | |
6100 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove | |
6101 | defenitions. | |
6102 | (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions. | |
6103 | * i386-tdep.c: Mark functions that are 64-bit safe as such. | |
6104 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
6105 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
6106 | I386_ST0_REGNUM): New defines. | |
6107 | (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek, | |
6108 | codestream_get): Remove define. | |
6109 | (codestream_next_addr, condestream_addr, condestream_buf, | |
6110 | codestream_off, codestream_cnt): Remove variables. | |
6111 | (codestream_fill, codestream_seek, codestream_read): Remove | |
6112 | functions. | |
6113 | (i386_follow_jump): Rewrite to avoid usage of removed codestream | |
6114 | functionality. | |
6115 | (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain, | |
6116 | i386_sigtramp_saved_pc, i386_sigtramp_saved_sp, | |
6117 | i386_frame_saved_pc, i386_saved_pc_after_call, | |
6118 | i386_frame_num_args, i386_frame_init_saved_regs, | |
6119 | i386_push_return_address, i386_do_pop_frame, i386_pop_frame, | |
6120 | i386_push_arguments): Remove functions. | |
6121 | (i386_skip_prologue): Rewrite to avoid usage of removed codestream | |
6122 | functionality. Use i386_analyze_prologue instead of | |
6123 | i386_get_frame_setup. | |
6124 | (I386_NUM_SAVED_REGS): New define. | |
6125 | (struct i386_frame_cache): New structure. | |
6126 | (i386_alloc_frame_cache, i386_analyze_struct_return, | |
6127 | i386_skip_probe, i386_analyze_frame_setup, | |
6128 | i386_analyze_register_saves, i386_analyze_prologue, | |
6129 | i386_unwind_pc, i386_frame_cache, i386_frame_this_id, | |
6130 | i386_frame_prev_register, i386_sigtramp_frame_cache, | |
6131 | i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register, | |
6132 | i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address, | |
6133 | i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call): | |
6134 | New functions. | |
6135 | (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base): | |
6136 | New variables. | |
6137 | (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of | |
6138 | I386_EAX_REGNUM and I386_EDX_REGNUM. | |
6139 | (i386_extract_return_value, i386_store_return_value): Use | |
6140 | I386_ST0_REGNUM where appropriate. | |
6141 | (i386_extract_struct_value_address): Rewrite to use extract_address. | |
6142 | (i386_svr4_pc_in_sigtramp): Add comment. | |
6143 | (i386_svr4_sigcontext_addr): Rewrite. | |
6144 | (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and | |
6145 | TDEP->sc_sp_offset. | |
6146 | (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set | |
6147 | sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms | |
6148 | of new defines. Set push_dummy_call, don't set | |
6149 | deprecated_push_arguments, deprecated_push_return_address, | |
6150 | deprecated_pop_frame. Don't set parm_boundary. Don't set | |
6151 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
6152 | deprecated_saved_pc_after_call. Set unwind_dummy_id, | |
6153 | save_dummy_frame_tos, unwind_pc. Call | |
6154 | frame_unwind_append_predicate and frame_base_set_default. Don't | |
6155 | set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum. | |
6156 | Don't set frameless_function_invocation. Don't set | |
6157 | deprecated_register_bytes, deprecated_register_size, | |
6158 | deprecated_call_dummy_words and deprecated_sizeof_call_dummy. | |
6159 | * i386-linux-tdep.c: Fix formatting in some comments. | |
6160 | (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0, | |
6161 | LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1, | |
6162 | LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, | |
6163 | LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, | |
6164 | LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop | |
6165 | redundant parentheses. | |
6166 | (I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define. | |
6167 | (i386_linux_sigcontext_addr): Use it. Rewrite. | |
6168 | (find_minsym_and_objfile): Change name of second argument. | |
6169 | (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers | |
6170 | changed. Use frame_pc_unwind instead of | |
6171 | DEPRECATED_SAVED_PC_AFTER_CALL. | |
6172 | (i386_linux_init_abi): Don't set deprecated_register_bytes. | |
6173 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite. | |
6174 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame | |
6175 | unwinder. | |
6176 | * i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and | |
6177 | "dummy-frame.h". | |
6178 | (i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed. | |
6179 | (_initialize_i386_cygwin_tdep): New prototype. | |
6180 | (i386_cygwin_init_abi): Don't set deprecated_frame_chain and | |
6181 | deprecated_frame_chain_valid. | |
6182 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set | |
6183 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
6184 | Rely on the SVR4 defaults. | |
6185 | * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o. | |
6186 | * Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies. | |
6187 | ||
c89b70f1 AC |
6188 | 2003-05-30 Andrew Cagney <[email protected]> |
6189 | ||
6190 | * infcall.c (call_function_by_hand): Always call | |
6191 | DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case. | |
6192 | ||
85b32d22 RH |
6193 | 2003-05-30 Richard Henderson <[email protected]> |
6194 | ||
c89b70f1 AC |
6195 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop |
6196 | increment. | |
85b32d22 | 6197 | |
bfe51b1e JB |
6198 | 2003-05-29 Jim Blandy <[email protected]> |
6199 | ||
6200 | Use gdbarch methods for solib stuff on PowerPC Linux. | |
6201 | * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, | |
6202 | SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will | |
6203 | show through. | |
6204 | * ppc-linux-tdep.c (ppc_linux_init_abi): Register | |
6205 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, | |
6206 | giving the same effect as the #definitions above. | |
6207 | ||
1abf022c AF |
6208 | 2003-05-29 Adam Fedor <[email protected]> |
6209 | ||
6210 | * objc-lang.c (CONVERT_FUNCPTR): Remove macro | |
6211 | (find_implementation_from_class): Replace it with the standard | |
6212 | case i.e. do nothing. | |
6213 | ||
d2427a71 RH |
6214 | 2003-05-29 Richard Henderson <[email protected]> |
6215 | ||
6216 | * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New. | |
6217 | (alpha_linux_sigtramp_offset): Use it. Make static. | |
6218 | (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn; | |
6219 | update for new frame model. | |
6220 | * alpha-mdebug-tdep.c: New file. | |
6221 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c. | |
6222 | (alpha_osf1_init_abi): Install it. | |
6223 | * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c. | |
6224 | (linked_proc_desc_table): Remove. | |
6225 | (alpha_frame_past_sigtramp_frame): Remove. | |
6226 | (alpha_dynamic_sigtramp_offset): Remove. | |
6227 | (ALPHA_PROC_SIGTRAMP_MAGIC): Remove. | |
6228 | (alpha_proc_desc_is_dyn_sigtramp): Remove. | |
6229 | (alpha_set_proc_desc_is_dyn_sigtramp): Remove. | |
6230 | (push_sigtramp_desc): Remove. | |
6231 | (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM. | |
6232 | (alpha_cannot_store_register): Likewise. | |
6233 | (alpha_sigcontext_addr): Remove. | |
6234 | (alpha_find_saved_regs): Remove. | |
6235 | (alpha_frame_init_saved_regs): Remove. | |
6236 | (alpha_init_frame_pc_first): Remove. | |
6237 | (read_next_frame_reg): Remove. | |
6238 | (alpha_frame_saved_pc): Remove. | |
6239 | (alpha_saved_pc_after_call): Remove. | |
6240 | (temp_proc_desc, temp_saved_regs): Remove. | |
6241 | (alpha_about_to_return): Remove. | |
6242 | (cached_proc_desc): Remove. | |
6243 | (alpha_frame_chain): Remove. | |
6244 | (alpha_print_extra_frame_info): Remove. | |
6245 | (alpha_init_extra_frame_info): Remove. | |
6246 | (alpha_frame_locals_address): Remove. | |
6247 | (alpha_frame_args_address): Remove. | |
6248 | (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR. | |
6249 | (alpha_push_dummy_frame): Remove. | |
6250 | (alpha_pop_frame): Remove. | |
6251 | (alpha_after_prologue): Rename from after_prologue; remove mdebug bits. | |
6252 | (alpha_read_insn): New. | |
6253 | (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust | |
6254 | for different insn encodings. | |
6255 | (alpha_in_lenient_prologue): Remove. | |
6256 | (struct alpha_sigtramp_unwind_cache): New. | |
6257 | (alpha_sigtramp_frame_unwind_cache): New. | |
6258 | (alpha_sigtramp_register_address): New. | |
6259 | (alpha_sigtramp_frame_this_id): New. | |
6260 | (alpha_sigtramp_frame_prev_register): New. | |
6261 | (alpha_sigtramp_frame_unwind): New. | |
6262 | (alpha_sigtramp_frame_p): New. | |
6263 | (struct alpha_heuristic_unwind_cache): New. | |
6264 | (alpha_heuristic_proc_start): Rename from heuristic_proc_start; | |
6265 | don't count nop insns that occur between functions. | |
6266 | (alpha_heuristic_frame_unwind_cache): New; incorporate much of | |
6267 | heuristic_proc_desc, but without the mdebug wrapping. | |
6268 | (alpha_heuristic_frame_this_id): New. | |
6269 | (alpha_heuristic_frame_prev_register): New. | |
6270 | (alpha_heuristic_frame_unwind): New. | |
6271 | (alpha_heuristic_frame_p): New. | |
6272 | (alpha_heuristic_frame_base_address): New. | |
6273 | (alpha_heuristic_frame_base): New. | |
6274 | (alpha_unwind_dummy_id): New. | |
6275 | (alpha_unwind_pc): New. | |
6276 | (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of | |
6277 | frame related deprecated initializations; install replacements. | |
6278 | (alpha_dump_tdep): Remove. | |
6279 | * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame. | |
6280 | (alpha_read_insn, alpha_after_prologue, | |
6281 | alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id, | |
6282 | alpha_heuristic_frame_prev_register, | |
6283 | alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare. | |
6284 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
6285 | * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove. | |
6286 | * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove. | |
6287 | ||
93ec1121 AC |
6288 | 2003-05-29 Andrew Cagney <[email protected]> |
6289 | ||
6290 | * gdb_assert.h (gdb_assert_fail): Provide different definitions | |
6291 | dependant on the availability of ASSERT_FUNCTION. | |
6292 | (ASSERT_FUNCTION): Do not define when there is no function name. | |
6293 | ||
98f08d3d KB |
6294 | 2003-05-29 Kevin Buettner <[email protected]> |
6295 | ||
6296 | From Jimi X <[email protected]>: | |
6297 | * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code. | |
6298 | ||
0897f59b JB |
6299 | 2003-05-28 Jim Blandy <[email protected]> |
6300 | ||
6301 | * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth | |
6302 | argument to ptrace to int; the system headers should give it the | |
6303 | right type, and pointers don't fit in ints on powerpc64-*-*. | |
6304 | ||
14898363 L |
6305 | 2003-05-28 H.J. Lu <[email protected]> |
6306 | ||
6307 | * dwarf2read.c (process_die): Handle DW_TAG_try_block and | |
6308 | DW_TAG_catch_block. | |
6309 | ||
a7a48797 EZ |
6310 | 2003-05-26 Elena Zannoni <[email protected]> |
6311 | ||
6312 | * stabsread.c (dbx_lookup_type): Make static. | |
6313 | (read_type): Ditto. | |
6314 | (add_undefined_type): Ditto. | |
6315 | * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do | |
6316 | not export. | |
6317 | ||
f5479e9c EZ |
6318 | 2003-05-26 Elena Zannoni <[email protected]> |
6319 | ||
6320 | * hpread.c (hpread_has_name): Make static. | |
6321 | (hpread_psymtab_to_symtab): Ditto. | |
6322 | (file_exists): Ditto. | |
6323 | (hpread_call_pxdb): Ditto. | |
6324 | (hpread_pxdb_needed): Ditto. | |
6325 | (hpread_quick_traverse): Ditto. | |
6326 | (hpread_get_header): Ditto. | |
6327 | (hpread_get_lntt): Ditto. | |
6328 | (hpread_get_slt): Ditto. | |
6329 | (class_of): Ditto. | |
6330 | ||
eb2e12d7 AS |
6331 | 2003-05-25 Andreas Schwab <[email protected]> |
6332 | ||
78bf922a AS |
6333 | * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of |
6334 | stack_align and deprecated_extra_stack_alignment_needed. | |
6335 | (m68k_stack_align): Delete. | |
6336 | ||
eb2e12d7 AS |
6337 | * m68k-tdep.c (m68k_register_raw_size): Remove cast. |
6338 | (m68k_register_virtual_size): Likewise. | |
6339 | (altos_skip_prologue): Remove obsolete function. | |
6340 | (isi_frame_num_args): Likewise. | |
6341 | (news_frame_num_args): Likewise. | |
6342 | (m68k_fix_call_dummy): Make static. | |
6343 | (m68k_push_dummy_frame): Likewise. | |
6344 | (m68k_pop_frame): Likewise. | |
6345 | (m68k_skip_prologue): Likewise. | |
6346 | (m68k_frame_init_saved_regs): Likewise. | |
6347 | (m68k_saved_pc_after_call): Likewise. | |
6348 | (m68k_get_longjmp_target): Make multi-arch. | |
6349 | (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep | |
6350 | structure. Register m68k_get_longjmp_target if enabled. | |
6351 | * m68k-tdep.h (struct gdbarch_tdep): Define. | |
6352 | * config/m68k/tm-m68k.h: Don't include "regcache.h". | |
6353 | ||
6354 | * Makefile.in (config.status): Also depend on configure.tgt | |
6355 | and configure.host. | |
6356 | (m68klinux-tdep.o): Update dependencies. | |
6357 | * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1. | |
6358 | * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define. | |
6359 | (M68K_LINUX_JB_PC): Define. | |
6360 | (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp | |
6361 | and take additional parameter. | |
6362 | (m68k_linux_sigtramp_saved_pc): Update. | |
6363 | (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register | |
6364 | m68k_linux_pc_in_sigtramp, in_plt_section, | |
6365 | find_solib_trampoline_target. | |
6366 | * config/m68k/tm-linux.h: Don't include any tm headers. | |
6367 | (START_INFERIOR_TRAPS_EXPECTED): Remove definition. | |
6368 | (JB_ELEMENT_SIZE): Likewise. | |
6369 | (JB_PC): Likewise. | |
6370 | (GET_LONGJMP_TARGET): Likewise. | |
6371 | (IN_SIGTRAMP): Likewise. | |
6372 | (SVR4_SHARED_LIBS): Define this and include "solib.h". | |
6373 | ||
eb2c22dc MK |
6374 | 2003-05-25 Mark Kettenis <[email protected]> |
6375 | ||
6376 | * sparc-tdep.c (sparc32_do_push_arguments): New function. | |
6377 | (sparc32_push_arguments): Re-implement by calling | |
6378 | sparc32_do_push_arguments. | |
6379 | ||
44b7b84e MK |
6380 | 2003-05-25 Mark Kettenis <[email protected]> |
6381 | ||
6382 | * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM, | |
6383 | SPARC_O1_REGNUM): New defines. | |
6384 | (sparc32_extract_return_value): Rewrite to operate on a regcache. | |
6385 | (sparc32_store_return_value): New function. | |
6386 | (sparc_extract_struct_value_address): Rewrite to operate on a | |
6387 | regcache. | |
6388 | (sparc_gdbarch_init): Don't set | |
6389 | deprecated_extract_struct_value_address. Set | |
6390 | extract_struct_value_address instead. Don't set | |
6391 | deprecated_extract_return_value and deprecated_store_return_value | |
6392 | for 32-bit targets. Set extract_return_value and | |
6393 | store_return_value instead. | |
6394 | * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE, | |
6395 | DEPRECTAED_EXTRACT_RETURN_VALUE, | |
6396 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these. | |
6397 | (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE, | |
6398 | EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead. | |
6399 | (sparc_store_return_value): Remove prototype. | |
6400 | (sparc32_store_return_value): New prototype. | |
6401 | (sparc32_extract_return_value, sparc_extract_struct_value_address): | |
6402 | Adjust prototypes. | |
6403 | ||
f6ad61e3 MK |
6404 | 2003-05-24 Mark Kettenis <[email protected]> |
6405 | ||
6406 | * sparcnbsd-tdep.c: Include "gdb_string.h". | |
6407 | ||
b276f1bb AC |
6408 | 2003-05-23 Andrew Cagney <[email protected]> |
6409 | ||
6410 | * p-valprint.c (pascal_val_print): Replace extract_address with | |
6411 | the inline equivalent extract_unsigned_integer. | |
6412 | * jv-valprint.c (java_value_print): Ditto. | |
6413 | * ada-valprint.c (ada_val_print_1): Ditto. | |
6414 | * ada-lang.h (EXTRACT_ADDRESS): Ditto. | |
6415 | ||
e76c5fcc TR |
6416 | 2003-05-23 Theodore A. Roth <[email protected]> |
6417 | ||
6418 | * blockframe.c (frameless_look_for_prologue): Remove unused | |
6419 | after_prologue variable. | |
6420 | ||
2cdd89cb MK |
6421 | 2003-05-23 Mark Kettenis <[email protected]> |
6422 | ||
6423 | * blockframe.c (get_pc_function_start): Rewrite to avoid | |
6424 | asignments in if-statements. | |
6425 | ||
182d43bc EZ |
6426 | 2003-05-23 Raoul Gough <[email protected]> |
6427 | ||
6428 | Committed by Elena Zannoni <[email protected]>. | |
8ffd9b1b | 6429 | * coffread.c(coff_symtab_read): Do relocate static symbols from PE |
182d43bc EZ |
6430 | files, don't relocate absolute symbols (and do use mst_abs). |
6431 | ||
e8f3fcdd AC |
6432 | 2003-05-23 Andrew Cagney <[email protected]> |
6433 | ||
6434 | * objc-lang.c: Include "gdb_assert.h". | |
6435 | (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0. | |
6436 | (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros. | |
6437 | (gdb_check, gdb_check_fatal): Delete functions. | |
6438 | (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with | |
6439 | gdb_assert. | |
6440 | (parse_selector, parse_method, find_methods, find_imps): Ditto. | |
6441 | * Makefile.in (objc-lang.o): Update dependencies. | |
6442 | ||
3c23e6fb ILT |
6443 | 2003-05-22 Ian Lance Taylor <[email protected]> |
6444 | ||
6445 | * disasm.c (gdb_disassemble_info): Initialize disassemble_info | |
6446 | with fprintf_filtered, not fprintf_unfiltered. | |
6447 | ||
af1342ab AC |
6448 | 2003-05-22 Andrew Cagney <[email protected]> |
6449 | ||
6450 | * stack.c (frame_info): Inline extract_address, replacing it with | |
6451 | extract_unsigned_integer. | |
6452 | * findvar.c (unsigned_pointer_to_address): Ditto. | |
6453 | * dwarf2loc.c (dwarf_expr_read_reg): Ditto. | |
6454 | * dwarf2expr.c (dwarf2_read_address): Ditto. | |
6455 | * frame.c (frame_pc_unwind): Update comment. | |
6456 | * dummy-frame.c (deprecated_read_register_dummy): Update comment. | |
6457 | ||
47e242ec JJ |
6458 | 2003-05-22 Jeff Johnston <[email protected]> |
6459 | ||
6460 | * infptrace.c (detach): Call print_sys_errmsg rather than | |
6461 | perror_with_name to issue warning message when errno is non-zero | |
6462 | after calling ptrace detach. | |
6463 | ||
e2ac8128 JB |
6464 | 2003-05-21 J. Brobecker <[email protected]> |
6465 | ||
6466 | * config/pa/tm-hppa.h: Delete some unused macros. Move some | |
6467 | macro definitions from here... | |
6468 | * hppa-tdep.c: ...to there. | |
6469 | ||
92b3541e KB |
6470 | 2003-05-20 Kevin Buettner <[email protected]> |
6471 | ||
6472 | * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function | |
6473 | register_ptrace_addr(). Fix all callers. | |
6474 | ||
55809acb AS |
6475 | 2003-05-21 Andreas Schwab <[email protected]> |
6476 | ||
6477 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
6478 | dependencies. | |
6479 | * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the | |
6480 | end. | |
6481 | * m68klinux-tdep.c (m68k_linux_init_abi): New function. | |
6482 | (_initialize_m68k_linux_tdep): New function. | |
6483 | (m68k_linux_frame_saved_pc): Make static. | |
6484 | (m68k_linux_extract_return_value): Likewise. | |
6485 | (m68k_linux_store_return_value): Likewise. | |
6486 | (m68k_linux_extract_struct_value_address): Likewise. | |
6487 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): | |
6488 | Remove. | |
6489 | (DEPRECATED_STORE_RETURN_VALUE): Remove. | |
6490 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
6491 | (DEPRECATED_FRAME_SAVED_PC): Remove. | |
6492 | ||
0fbc10f7 KW |
6493 | 2003-05-20 Kris Warkentin <[email protected]> |
6494 | ||
6495 | * nto-tdep.c (fetch_core_registers): Match gdb's idea of | |
6496 | regset numbering rather than our own. | |
6497 | ||
58da2eb2 DC |
6498 | 2003-05-19 David Carlton <[email protected]> |
6499 | ||
6500 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*. | |
6501 | ||
1fcb5155 DC |
6502 | 2003-05-19 David Carlton <[email protected]> |
6503 | ||
6504 | Partial fix for PR c++/827. | |
6505 | * cp-support.h: Include symtab.h. | |
6506 | Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace. | |
6507 | * cp-namespace.c: Update contributors. | |
6508 | (cp_lookup_symbol_nonlocal): New. | |
6509 | (lookup_namespace_scope, cp_lookup_symbol_namespace) | |
6510 | (lookup_symbol_file): Ditto. | |
6511 | * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal. | |
6512 | * block.h: Declare block_scope, block_using, block_global_block. | |
6513 | * block.c (block_scope): New. | |
6514 | (block_using, block_global_block): Ditto. | |
6515 | * Makefile.in (cp_support_h): Depend on symtab_h. | |
6516 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc. | |
6517 | ||
5f9a71c3 DC |
6518 | 2003-05-19 David Carlton <[email protected]> |
6519 | ||
6520 | * language.h (struct language_defn): Add 'la_value_of_this' | |
6521 | and 'la_lookup_symbol_nonlocal' members. | |
6522 | * symtab.h: Declare basic_lookup_symbol_nonlocal, | |
6523 | lookup_symbol_static, lookup_symbol_global, | |
6524 | lookup_symbol_aux_block. | |
6525 | * symtab.c (lookup_symbol_aux): Call language hooks to determine | |
6526 | if we should search fields of this and how to do static/global | |
6527 | lookup. | |
6528 | (lookup_symbol_aux_block): Make extern. | |
6529 | (basic_lookup_symbol_nonlocal): New. | |
6530 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
6531 | * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and | |
6532 | 'la_lookup_symbol_nonlocal' members. | |
6533 | * c-lang.c (c_language_defn, cplus_language_defn) | |
6534 | (asm_language_defn, minimal_language_defn): Ditto. | |
6535 | * jv-lang.c (java_language_defn): Ditto. | |
6536 | * language.c (unknown_language_defn, auto_language_defn) | |
6537 | (local_language_defn): Ditto. | |
6538 | * m2-lang.c (m2_language_defn): Ditto. | |
6539 | * objc-lang.c (objc_language_defn): Ditto. | |
6540 | * scm-lang.c (scm_language_defn): Ditto. | |
6541 | * f-lang.c (f_language_defn): Ditto, and include value.h as well. | |
6542 | * p-lang.c (pascal_language_defn): Ditto for both. | |
6543 | * Makefile.in (f-lang.o): Depend on value_h. | |
6544 | (p-lang.o): Ditto. | |
6545 | ||
89a9d1b1 DC |
6546 | 2003-05-19 David Carlton <[email protected]> |
6547 | ||
6548 | * block.h: Declare block_static_block. | |
6549 | * block.c (block_static_block): New. | |
6550 | * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to | |
6551 | lookup_symbol_aux_local, calling block_static_block instead. | |
6552 | (lookup_symbol_aux_local): Delete 'static_block' argument. | |
6553 | ||
eed3f8ab DC |
6554 | 2003-05-19 David Carlton <[email protected]> |
6555 | ||
6556 | * symtab.c (lookup_symbol_aux): Delete #if 0 hunk. | |
6557 | ||
a09d8bda ML |
6558 | 2003-05-19 Michal Ludvig <[email protected]> |
6559 | ||
6560 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix | |
6561 | register numbers mapping. | |
6562 | ||
69636828 AF |
6563 | 2003-05-18 Adam Fedor <[email protected]> |
6564 | ||
6565 | * symtab.c (completion_list_objc_symbol): New function. | |
6566 | (make_symbol_completion_list): Use it to add ObjC symbols | |
6567 | when looking though the list. | |
6568 | (language_search_unquoted_string): New function. | |
6569 | (make_file_symbol_completion_list): Use it. | |
6570 | ||
55baeb84 AS |
6571 | 2003-05-18 Andreas Schwab <[email protected]> |
6572 | ||
d0b45d99 AS |
6573 | * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update |
6574 | dependencies. | |
6575 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define | |
6576 | as m68k_linux_extract_return_value. | |
6577 | (DEPRECATED_STORE_RETURN_VALUE): Define as | |
6578 | m68k_linux_store_return_value. | |
6579 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
6580 | m68k_linux_extract_struct_value_address. | |
6581 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use | |
6582 | get_next_frame, get_frame_base, get_frame_pc. | |
6583 | (m68k_linux_frame_saved_pc): Use get_frame_base. | |
6584 | (m68k_linux_extract_return_value): New function. | |
6585 | (m68k_linux_store_return_value): New function. | |
6586 | (m68k_linux_extract_struct_value_address): New function. | |
6587 | * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target. | |
6588 | ||
55baeb84 AS |
6589 | * c-exp.y (typebase): Remove duplicate occurence of |
6590 | `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead | |
8ffd9b1b | 6591 | of lookup_signed_typename. |
55baeb84 | 6592 | |
b6b08ebf MK |
6593 | 2003-05-18 Mark Kettenis <[email protected]> |
6594 | ||
6595 | * dwarf2loc.c (find_location_expression): Change type of second | |
6596 | argument to `size_t *'. | |
6597 | (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t | |
6598 | for size variable. | |
6599 | ||
5ad1c190 DC |
6600 | 2003-05-18 David Carlton <[email protected]> |
6601 | ||
6602 | * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to | |
6603 | 'linkage_name'. Add comment. | |
6604 | (lookup_symbol_aux_local): Rename 'mangled_name' argument to | |
6605 | 'linkage_name'. | |
6606 | (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
6607 | (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms) | |
6608 | (lookup_block_symbol): Ditto. | |
6609 | ||
b8b527c5 AC |
6610 | 2003-05-16 Andrew Cagney <[email protected]> |
6611 | ||
6612 | * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES. | |
6613 | * gdbarch.h, gdbarch.c: Re-generate. | |
6614 | * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference. | |
6615 | * TODO (REGISTER_BYTES): Delete reference. | |
6616 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
6617 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
6618 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
6619 | * vax-tdep.c (vax_gdbarch_init): Update. | |
6620 | * v850-tdep.c (v850_gdbarch_init): Update. | |
6621 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
6622 | * sh-tdep.c (sh_gdbarch_init): Update. | |
6623 | * s390-tdep.c (s390_gdbarch_init): Update. | |
6624 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
6625 | * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. | |
6626 | (ns32k_gdbarch_init_32382): Update. | |
6627 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
6628 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
6629 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
6630 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
6631 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
6632 | * i386-tdep.c (i386_gdbarch_init): Update. | |
6633 | * i386-linux-tdep.c (i386_linux_init_abi): Update. | |
6634 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
6635 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
6636 | * frv-tdep.c (frv_gdbarch_init): Update. | |
6637 | * cris-tdep.c (cris_gdbarch_init): Update. | |
6638 | * avr-tdep.c (avr_gdbarch_init): Update. | |
6639 | * arm-tdep.c (arm_gdbarch_init): Update. | |
6640 | * sparc-tdep.c (sparc_pop_frame): Update. | |
6641 | * rs6000-tdep.c (rs6000_pop_frame): Update. | |
6642 | * remote.c (init_remote_state): Update. | |
6643 | (remote_prepare_to_store): Update. | |
6644 | * remote-vx.c (vx_prepare_to_store): Update. | |
6645 | * remote-sds.c (sds_fetch_registers): Update. | |
6646 | (sds_prepare_to_store): Update. | |
6647 | * remote-array.c: Update. | |
6648 | * regcache.c (init_legacy_regcache_descr): Update. | |
6649 | (init_regcache_descr): Update. | |
6650 | * mips-tdep.c (mips_eabi_extract_return_value): Update. | |
6651 | (mips_o64_extract_return_value): Update. | |
6652 | * irix5-nat.c (fetch_core_registers): Update. | |
6653 | * irix4-nat.c (fetch_core_registers): Update. | |
6654 | * i386-tdep.h: Update. | |
6655 | * hppa-tdep.c (pa_do_registers_info): Update. | |
6656 | (pa_do_strcat_registers_info): Update. | |
6657 | * cris-tdep.c (cris_register_bytes_ok): Update. | |
6658 | * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update. | |
6659 | * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update. | |
6660 | * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update. | |
6661 | * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update. | |
6662 | * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update. | |
6663 | * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update. | |
6664 | * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update. | |
6665 | * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update. | |
6666 | * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update. | |
6667 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update. | |
6668 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update. | |
6669 | * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update. | |
6670 | (REGISTER_BYTES_OK): Update. | |
6671 | * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update. | |
6672 | * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update. | |
6673 | ||
ee2842e2 ILT |
6674 | 2003-05-16 Ian Lance Taylor <[email protected]> |
6675 | ||
6676 | * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define. | |
6677 | (vax_print_insn, print_insn_arg): Remove static functions. | |
6678 | (vax_gdbarch_init): Call set_gdbarch_print_insn with | |
6679 | print_insn_vax from opcodes library. | |
6680 | (_initialize_vax_tdep): Don't set deprecated_tm_print_insn. | |
6681 | ||
973177d3 AC |
6682 | 2003-05-15 Andrew Cagney <[email protected]> |
6683 | ||
aaab4dba AC |
6684 | * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration. |
6685 | * target.h (memory_breakpoint_from_pc): Delete declaration. | |
6686 | * mem-break.c (memory_breakpoint_from_pc): Delete function. | |
6687 | * arch-utils.c (legacy_breakpoint_from_pc): Delete function. | |
6688 | * monitor.c (monitor_insert_breakpoint): Use | |
6689 | gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc. | |
6690 | * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default. | |
6691 | * gdbarch.h, gdbarch.c: Re-generate. | |
6692 | * sparc-tdep.c (sparc_breakpoint_from_pc): New function. | |
6693 | (sparc_gdbarch_init): Set breakpoint_from_pc to | |
6694 | sparc_breakpoint_from_pc. | |
6695 | * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro. | |
6696 | (BREAKPOINT_FROM_PC): Define. | |
6697 | (sparc_breakpoint_from_pc): Declare. | |
6698 | * hppa-tdep.c (hppa_breakpoint_from_pc): New function. | |
6699 | * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare. | |
6700 | (BREAKPOINT_FROM_PC): Define. | |
6701 | (BREAKPOINT): Delete macro. | |
6702 | * target.h: Update comment. | |
6703 | * s390-tdep.c (s390_gdbarch_init): Update comments. | |
6704 | * remote.c: Update comments. | |
6705 | * remote-mips.c: Update comments. | |
6706 | * proc-api.c (write_with_trace): Do not check for a breakpoint. | |
6707 | * mem-break.c: Update comment. | |
6708 | * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT. | |
6709 | (ia64_memory_insert_breakpoint): Update. | |
6710 | * config/sparc/tm-sparc.h: Update comment. | |
6711 | * config/pa/tm-hppa64.h: Update comment. | |
6712 | * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
6713 | (rs6000_breakpoint_from_pc): Update. | |
6714 | * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
6715 | (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro. | |
6716 | (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro. | |
6717 | (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro. | |
6718 | (mips_breakpoint_from_pc): Update. | |
6719 | (mips_dump_tdep): Update. | |
6720 | ||
e06963ff AC |
6721 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro. |
6722 | * minsyms.c (lookup_minimal_symbol): Inline | |
6723 | DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp. | |
6724 | ||
973177d3 AC |
6725 | * c-lang.c (c_printstr): Delete "extern inspect_it" declaration. |
6726 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
6727 | * p-lang.c (pascal_printstr): Ditto. | |
6728 | * objc-lang.c (objc_printstr): Ditto. | |
6729 | * m2-lang.c (m2_printstr): Ditto. | |
6730 | * jv-valprint.c (java_print_value_fields): Ditto. | |
6731 | * f-lang.c (f_printstr): Ditto. | |
6732 | * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h". | |
6733 | * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and | |
6734 | for repeat_count_threshold. | |
6735 | * Makefile.in (cp-valprint.o): Update dependencies. | |
6736 | ||
5ea2bd7f | 6737 | 2003-05-15 Jeff Johnston <[email protected]> |
8ffd9b1b | 6738 | |
5ea2bd7f JJ |
6739 | * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. |
6740 | (examine_prologue): Support looking through leaf functions, knowing | |
8ffd9b1b AJ |
6741 | they start with mov r2,r12. Support skipping over indirect stores |
6742 | of the input registers. Upon hitting a non-nop branch instruction | |
6743 | or predicated instruction, bail out by setting lim_pc to the current | |
6744 | pc value in the loop. At the end, if the lim_pc value is still | |
5ea2bd7f JJ |
6745 | beyond our calculated value and we have trust_limit set, |
6746 | use the lim_pc value. | |
6747 | ||
cc8c88f3 AC |
6748 | 2003-05-15 Andrew Cagney <[email protected]> |
6749 | ||
6750 | * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename | |
6751 | generic_find_dummy_frame. | |
6752 | * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update. | |
6753 | (deprecated_generic_find_dummy_frame): Update. | |
6754 | (deprecated_read_register_dummy): Update. | |
6755 | * frame.c (deprecated_generic_get_saved_register): Update. | |
6756 | ||
909cd28e TR |
6757 | 2003-05-15 Theodore A. Roth <[email protected]> |
6758 | ||
6759 | * avr-tdep.c (avr_breakpoint_from_pc): New function. | |
6760 | (avr_gdbarch_init): Set breakpoint_from_pc method. | |
6761 | ||
b923b08d AC |
6762 | 2003-05-15 Andrew Cagney <[email protected]> |
6763 | ||
6764 | * regcache.c (build_regcache): Set deprecated_register_valid | |
6765 | directly. | |
6766 | (deprecated_grub_regcache_for_register_valid): Delete function. | |
6767 | * regcache.h (deprecated_grub_regcache_for_register_valid): Delete | |
6768 | declaration. | |
6769 | ||
ae2f03ac | 6770 | 2003-05-15 David Carlton <[email protected]> |
8ffd9b1b AJ |
6771 | |
6772 | Committed by Elena Zannoni <[email protected]> | |
fbe586ae RH |
6773 | * symtab.c (lookup_symbol_aux): Delete calls to |
6774 | lookup_symbol_aux_minsyms. | |
6775 | (lookup_symbol_aux_minsyms): Comment out function and | |
6776 | prototype. Delete lookup by mangled name. | |
ae2f03ac | 6777 | |
18ec9831 KB |
6778 | 2003-05-14 Kevin Buettner <[email protected]> |
6779 | ||
6780 | * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to | |
6781 | correctly indicate an empty stack and ``stack_allocated'' to the | |
6782 | indicate the number of elements initially allocated. | |
6783 | (dwarf_expr_grow_stack): Simplify method for computing new | |
6784 | stack size. Don't loop infinitely if ``stack_len'' is zero. | |
6785 | (execute_stack_op): Move ``ctx->in_reg'' initialization | |
6786 | out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to | |
6787 | be used in conjuction with DW_OP_piece. Revise error message | |
6788 | accordingly. | |
6789 | ||
de18ac1f TR |
6790 | 2003-05-14 Theodore A. Roth <[email protected]> |
6791 | ||
6792 | * MAINTAINERS: Update my email address. | |
6793 | * avr-tdep.c: Ditto. | |
6794 | ||
176620f1 EZ |
6795 | 2003-05-14 Elena Zannoni <[email protected]> |
6796 | ||
6797 | * symtab.h (enum domain_enum): Rename from namespace_enum. | |
6798 | (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN, | |
6799 | VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN): | |
6800 | Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE, | |
6801 | LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE, | |
6802 | TYPES_NAMESPACE, METHODS_NAMESPACE. | |
6803 | (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN. | |
6804 | (struct symbol, struct partial_symbol): Rename field | |
6805 | 'namespace_enum namespace' to 'domain_enum domain'. | |
6806 | (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN. | |
6807 | Delete old define kludge for namespace. | |
6808 | ||
6809 | * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c, | |
6810 | blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c, | |
6811 | dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h, | |
6812 | gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c, | |
6813 | language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c, | |
6814 | mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c, | |
6815 | p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c, | |
6816 | stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c, | |
6817 | valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all | |
6818 | occurrences of the above. | |
6819 | ||
b7f31508 ILT |
6820 | 2003-05-14 Ian Lance Taylor <[email protected]> |
6821 | ||
6822 | * Makefile.in (install-only): Use $(SHELL) when running | |
6823 | mkinstalldirs. | |
6824 | ||
2fdbdd39 ILT |
6825 | 2003-05-13 Ian Lance Taylor <[email protected]> |
6826 | ||
a208d82c ILT |
6827 | * MAINTAINERS (write after approval): Add myself. |
6828 | ||
2fdbdd39 ILT |
6829 | * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap |
6830 | second and third arguments. | |
6831 | * ser-tcp.c (_initialize_ser_tcp): Likewise. | |
6832 | * ser-unix.c (_initialize_ser_hardwire): Likewise. | |
6833 | ||
fbd9dcd3 AC |
6834 | 2003-05-13 Andrew Cagney <[email protected]> |
6835 | ||
6836 | * defs.h (store_address): Delete declaration. | |
6837 | findvar.c (store_address): Delete function. | |
6838 | * arm-tdep.c (arm_push_dummy_call): Replace store_address with | |
6839 | store_unsigned_integer. | |
6840 | * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto. | |
6841 | * v850-tdep.c (v850_push_arguments): Ditto. | |
6842 | * sparc-tdep.c (sparc_get_saved_register): Ditto. | |
6843 | * sh-tdep.c (sh64_get_saved_register): Ditto. | |
6844 | * rs6000-tdep.c (rs6000_push_arguments): Ditto. | |
6845 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto. | |
6846 | * mips-tdep.c (mips_eabi_push_arguments): Ditto. | |
6847 | (mips_get_saved_register): Ditto. | |
6848 | * ia64-tdep.c (ia64_get_saved_register): Ditto. | |
6849 | (find_func_descr, ia64_push_arguments): Ditto. | |
6850 | * i386-tdep.c (i386_push_arguments): Ditto. | |
6851 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
6852 | * frv-tdep.c (frv_push_arguments): Ditto. | |
6853 | * frame.c (legacy_saved_regs_prev_register): Ditto. | |
6854 | (deprecated_generic_get_saved_register): Ditto. | |
6855 | * findvar.c (unsigned_address_to_pointer): Ditto. | |
6856 | * dwarf2read.c (dwarf2_const_value): Ditto. | |
6857 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
6858 | * alpha-tdep.c (alpha_push_arguments): Ditto. | |
6859 | ||
6760f9e6 JB |
6860 | 2003-05-12 J. Brobecker <[email protected]> |
6861 | ||
6862 | * NEWS: Mention that the hppa-hpux port has been partially | |
6863 | multiarched (32bit ABIT only, so far). | |
6864 | ||
30e221b4 AC |
6865 | 2003-05-11 Andrew Cagney <[email protected]> |
6866 | ||
6867 | * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol. | |
6868 | * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h, | |
6869 | include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms, | |
6870 | sim/testsuite/sim/arm/misaligned2.ms, and | |
6871 | sim/testsuite/sim/arm/misaligned3.ms. | |
6872 | * disasm.h (struct ui_file): Add opaque struct declaration. | |
6873 | * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto. | |
6874 | * frame.h (struct ui_file): Ditto. | |
6875 | ||
dea7f9ba MK |
6876 | 2003-05-11 Mark Kettenis <[email protected]> |
6877 | ||
6878 | * value.h: Pretty print. | |
6879 | ||
01986c48 MK |
6880 | 2003-05-10 Mark Kettenis <[email protected]> |
6881 | ||
6882 | * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define. | |
6883 | ||
123a958e AC |
6884 | 2003-05-08 Andrew Cagney <[email protected]> |
6885 | ||
6886 | * regcache.h (max_register_size): Delete declaration. | |
6887 | * regcache.c (max_register_size): Delete function. | |
6888 | (struct regcache_descr): Delete field "max_register_size". | |
6889 | (init_regcache_descr, init_legacy_regcache_descr): Assert that all | |
6890 | registers fit in MAX_REGISTER_SIZE. | |
6891 | (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE. | |
6892 | (regcache_restore, regcache_xfer_part, regcache_dump): Ditto. | |
6893 | * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE. | |
6894 | * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto. | |
6895 | * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto. | |
6896 | * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto. | |
6897 | * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto. | |
6898 | * dve3900-rom.c, hppa-tdep.c: Ditto. | |
6899 | ||
eb294659 DC |
6900 | 2003-05-08 David Carlton <[email protected]> |
6901 | ||
6902 | * valops.c (push_word): Fix typo. | |
6903 | ||
d9d9c31f AC |
6904 | 2003-05-08 Andrew Cagney <[email protected]> |
6905 | ||
6906 | * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. | |
6907 | * gdbarch.h: Re-generate. | |
6908 | * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. | |
6909 | (legacy_max_register_raw_size): Delete declaration. | |
6910 | * regcache.c (legacy_max_register_raw_size): Delete function. | |
6911 | * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. | |
6912 | * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto. | |
6913 | * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto. | |
6914 | * remote-rdp.c, remote-array.c, regcache.c: Ditto. | |
6915 | * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto. | |
6916 | * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto. | |
6917 | * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto. | |
6918 | * findvar.c, dwarf2cfi.c: Ditto. | |
6919 | ||
22540ece AC |
6920 | 2003-05-08 Andrew Cagney <[email protected]> |
6921 | ||
6922 | * mips-tdep.c (read_signed_register): New function, moved to here | |
6923 | from "regcache.c". | |
6924 | (read_signed_register_pid): Ditto. | |
6925 | * regcache.c (read_signed_register_pid): Delete function, moved to | |
6926 | "mips-tdep.c". | |
6927 | (read_signed_register): Ditto. | |
6928 | * regcache.h (read_signed_register): Delete declaration. | |
6929 | (read_signed_register_pid): Delete declaration. | |
6930 | ||
0c92afe8 AC |
6931 | 2003-05-08 Andrew Cagney <[email protected]> |
6932 | ||
6933 | * gdbarch.sh: Add comments on MAX_REGISTER_SIZE. | |
6934 | * gdbarch.h: Re-generate. | |
6935 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. | |
6936 | (legacy_max_register_virtual_size): Delete declaration. | |
6937 | * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. | |
6938 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
6939 | * tracepoint.c (memrange_sortmerge): Ditto. | |
6940 | * sparc-tdep.c (sparc_print_registers): Ditto. | |
6941 | * regcache.c (legacy_max_register_virtual_size): Delete function. | |
6942 | ||
6037b830 JB |
6943 | 2002-05-08 J. Brobecker <[email protected]> |
6944 | ||
6945 | * fork-child.c (escape_bang_in_quoted_argument): New function. | |
6946 | (fork_inferior): Escape '!' characters in quoted arguments | |
6947 | only when needed. | |
6948 | ||
5d62c8b1 JB |
6949 | 2003-05-08 J. Brobecker <[email protected]> |
6950 | ||
6951 | * dwarf2read.c (set_cu_language): Set the language to "minimal" if | |
6952 | the language of the CU is not currently supported by GDB. | |
6953 | ||
20a0e81d JB |
6954 | 2003-05-08 J. Brobecker <[email protected]> |
6955 | ||
6956 | * defs.h (language): Add language_minimal enum value. | |
6957 | * c-lang.c (minimal_language_defn): New language definition. | |
6958 | (_initialize_c_language): Add the new minimal language to the list | |
6959 | of languages known to GDB. | |
6960 | ||
710ee10a KB |
6961 | 2003-05-08 Kevin Buettner <[email protected]> |
6962 | ||
6963 | * frame.c (get_frame_type): Don't attempt to lazily initialize | |
6964 | frame's unwinder for legacy frames. | |
6965 | ||
1750fa04 AC |
6966 | 2003-05-07 Andrew Cagney <[email protected]> |
6967 | ||
6968 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" | |
6969 | and "regcache" parameters. | |
6970 | * avr-tdep.c (avr_remote_translate_xfer_address): Ditto. | |
6971 | ||
ddf9f258 | 6972 | 2003-05-07 Jeff Johnston <[email protected]> |
8ffd9b1b AJ |
6973 | |
6974 | * dwarf2read.c (dwarf_decode_lines): Only use output of | |
6975 | check_cu_functions() when calling record_line(). Do not update | |
ddf9f258 JJ |
6976 | the current address. |
6977 | ||
87767c29 AC |
6978 | 2003-05-07 Andrew Cagney <[email protected]> |
6979 | ||
6980 | * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR | |
6981 | code. | |
6982 | ||
5e7b2f39 JB |
6983 | 2003-05-07 Jim Blandy <[email protected]> |
6984 | ||
6985 | Rename commands 'maint list symtabs' and 'maint list psymtabs' to | |
6986 | 'maint info symtabs' and 'maint info psymtabs'. | |
6987 | * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): | |
6988 | Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. | |
6989 | * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): | |
6990 | Declarations updated. | |
6991 | * maint.c (maintenance_list_command): Delete. | |
6992 | (_initialize_maint_cmds): Update calls to add_cmd. | |
6993 | * gdbcmd.h (maintenancelistlist): Delete declaration. | |
6994 | * cli/cli-cmds.c (maintenancelistlist): Delete. | |
6995 | (init_cmd_lists): Don't initialize it. | |
6996 | * cli/cli-cmds.h (maintenancelistlist): Delete declaration. | |
6997 | ||
f6684c31 AC |
6998 | 2003-05-07 Andrew Cagney <[email protected]> |
6999 | ||
7000 | * d10v-tdep.c (remote_d10v_translate_xfer_address): Add | |
7001 | "regcache". | |
7002 | (d10v_print_registers_info): Update. | |
7003 | (d10v_dmap_register, d10v_imap_register): Delete functions. | |
7004 | (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" | |
7005 | and "imap_register". | |
7006 | (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". | |
7007 | (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". | |
7008 | * arch-utils.c (generic_remote_translate_xfer_address): Add | |
7009 | "regcache" and "gdbarch" parameters. | |
7010 | * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" | |
7011 | parameter. Change class to multi-arch. | |
7012 | * gdbarch.h, gdbarch.c: Re-generate. | |
7013 | * remote.c (remote_xfer_memory): Use | |
7014 | gdbarch_remote_translate_xfer_address. | |
8ffd9b1b | 7015 | |
e4846b08 JJ |
7016 | 2003-05-07 Jeff Johnston <[email protected]> |
7017 | ||
7018 | * infrun.c (prev_pc): Move declaration ahead of proceed(). | |
7019 | (proceed): Refresh prev_pc value before resuming. | |
7020 | (stop_stepping): Remove code to refresh prev_pc. | |
7021 | ||
6b71b8ac KW |
7022 | 2003-05-06 Kris Warkentin <[email protected]> |
7023 | ||
7024 | * nto-tdep.c: Removed stray comment. | |
7025 | ||
47979a4b KW |
7026 | 2003-05-06 Kris Warkentin <[email protected]> |
7027 | ||
7028 | * i386-nto-tdep.c: Fix old K&R function definitions. | |
7029 | * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h. | |
7030 | Also change add_show_from_set() call to add_setshow_cmd(). | |
7031 | * nto-tdep.h: Remove PARAMS and grep ^func ARI hits. | |
7032 | ||
00905d52 AC |
7033 | 2003-05-05 Andrew Cagney <[email protected]> |
7034 | ||
7035 | * dummy-frame.c: Include "command.h" and "gdbcmd.h". | |
7036 | (fprint_dummy_frames): New function. | |
7037 | (maintenance_print_dummy_frames): New function. | |
7038 | (_initialize_dummy_frame): Add command "maint print dummy-frames". | |
7039 | * frame.c (fprint_frame_id): Make global. | |
7040 | * frame.h (fprint_frame_id): Declare. | |
7041 | * Makefile.in (dummy-frame.o): Update dependencies. | |
7042 | ||
b1e29e33 AC |
7043 | 2003-05-05 Andrew Cagney <[email protected]> |
7044 | ||
7045 | * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. | |
7046 | (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename | |
7047 | SIZEOF_CALL_DUMMY_WORDS. | |
7048 | (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. | |
7049 | (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. | |
7050 | (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename | |
7051 | CALL_DUMMY_BREAKPOINT_OFFSET. | |
7052 | (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename | |
7053 | CALL_DUMMY_START_OFFSET. | |
7054 | (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. | |
7055 | * gdbarch.h, gdbarch.c: Re-generate. | |
7056 | * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. | |
7057 | * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. | |
7058 | * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. | |
7059 | * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. | |
7060 | * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. | |
7061 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. | |
7062 | * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
7063 | * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. | |
7064 | * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. | |
7065 | * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
7066 | * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. | |
7067 | * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. | |
7068 | * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. | |
7069 | * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. | |
7070 | * config/sparc/tm-sparc.h: Update. | |
daea6f0b KW |
7071 | |
7072 | 2003-05-05 Kris Warkentin <[email protected]> | |
7073 | ||
7074 | * configure.tgt: Add i[3456]86-*-nto*. | |
7075 | * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino. | |
7076 | * nto-tdep.c: New file. Neutrino target support routines. | |
7077 | * nto-tdep.h: New file. Neutrino target header. | |
7078 | * config/tm-qnxnto.h: New file. | |
7079 | * config/i386/i386nto.mt: New file. | |
7080 | * config/i386/tm-i386nto.h: New file. | |
8ffd9b1b | 7081 | |
0ce3d317 AC |
7082 | 2003-05-04 Andrew Cagney <[email protected]> |
7083 | ||
7084 | * gdbthread.h (save_infrun_state): Drop prev_func_name parameter. | |
7085 | (load_infrun_state): Ditto. | |
7086 | (struct thread_info): Drop "prev_func_name" field. | |
7087 | * thread.c (load_infrun_state): Update. | |
7088 | (save_infrun_state): Update. | |
7089 | * infrun.c (prev_func_name): Delete variable. | |
7090 | (init_wait_for_inferior): Do not clear prev_func_name. | |
7091 | (stop_stepping, keep_going, context_switch): Do not swap | |
7092 | prev_func_name. | |
7093 | (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp | |
7094 | instead of PC_IN_SIGTRAMP. | |
7095 | ||
46654a5b AC |
7096 | 2003-05-04 Andrew Cagney <[email protected]> |
7097 | ||
7098 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
7099 | REGISTER_BYTE with register_offset_hack. | |
7100 | * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check | |
7101 | that REGISTER_BYTE is consistent with the regcache. | |
7102 | * gdbarch.sh (REGISTER_BYTE): Add a predicate. | |
7103 | * gdbarch.h, gdbarch.c: Regenerate. | |
8ffd9b1b | 7104 | |
14b08c1b MK |
7105 | 2003-05-04 Mark Kettenis <[email protected]> |
7106 | ||
04c8243f MK |
7107 | * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15. |
7108 | (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15. | |
7109 | ||
14b08c1b MK |
7110 | * i386-linux-nat.c (supply_gregset): Remove unnecessary casts. |
7111 | ||
c7a11e01 JB |
7112 | 2003-05-03 J. Brobecker <[email protected]> |
7113 | ||
7114 | From Thierry Schneider <[email protected]> | |
7115 | * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o. | |
7116 | (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c. | |
7117 | (mi-cmd-symbol.o): Add rule. | |
7118 | ||
7043d8dc AC |
7119 | 2003-05-03 Andrew Cagney <[email protected]> |
7120 | ||
7121 | * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add | |
7122 | comments noteing that it replaces the old FIX_CALL_DUMMY code. | |
7123 | * gdbarch.h, gdbarch.c: Re-generate. | |
7124 | * d10v-tdep.c (d10v_push_dummy_code): New function. | |
7125 | (d10v_gdbarch_init): Set push_dummy_code. | |
7126 | * infcall.c (legacy_push_dummy_code): New function. | |
7127 | (generic_push_dummy_code): New function. | |
7128 | (push_dummy_code): New function. | |
7129 | (call_function_by_hand): Call push_dummy_code. Pass bp_addr, | |
7130 | instead of dummy_addr, to push_dummy_call. Move call to | |
7131 | generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION | |
7132 | switch. | |
7133 | * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code. | |
7134 | ||
92bf2b80 AC |
7135 | 2003-05-03 Andrew Cagney <[email protected]> |
7136 | ||
7137 | * disasm.h (print_insn): Declare. | |
7138 | * disasm.c (init_gdb_disassemble_info): New function. | |
7139 | (gdb_disassembly): Call init_gdb_disassemble_info. | |
7140 | (gdb_print_insn): New function. | |
7141 | * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead | |
7142 | of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog". | |
7143 | * mcore-tdep.c: Include "disasm.h" | |
7144 | (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN. | |
7145 | * d10v-tdep.c: Include "disasm.h". | |
7146 | (display_trace): Call gdb_print_insn, instead of print_insn. | |
7147 | (print_insn): Delete function. | |
7148 | * printcmd.c: Include "disasm.h". | |
7149 | (print_insn): Delete function. | |
7150 | (print_formatted): Call gdb_print_insn, instead of print_insn. | |
7151 | * Makefile.in (printcmd.o): Update dependencies. | |
7152 | (mcore-tdep.o, d10v-tdep.o): Ditto. | |
8ffd9b1b | 7153 | |
27d94c49 AC |
7154 | 2003-05-02 Andrew Cagney <[email protected]> |
7155 | ||
82de1e5b AC |
7156 | * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef |
7157 | PC_REGNUM, re-indent. | |
7158 | * stack.c (frame_info): Use "pc" for the name of get_frame_pc when | |
7159 | PC_REGNUM isn't set. | |
7160 | ||
27d94c49 AC |
7161 | * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional. |
7162 | * gdbarch.h, gdbarch.c: Re-generate. | |
7163 | * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size, | |
7164 | register_virtual_size, pc_regnum, or register_bytes. | |
7165 | (D10V_PC_REGNUM): Rename _PC_REGNUM. | |
7166 | (d10v_register_type): Use D10V_PC_REGNUM. | |
7167 | (d10v_print_registers_info, d10v_read_pc): Ditto. | |
7168 | (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto. | |
7169 | (d10v_unwind_pc, d10v_frame_prev_register): Ditto. | |
7170 | ||
a9c0dc7f DC |
7171 | 2003-05-02 David Carlton <[email protected]> |
7172 | ||
7173 | * objfiles.c (allocate_objfile): For anonymous objfiles, allocate | |
7174 | the name with mstrsave. | |
7175 | ||
e33d66ec EZ |
7176 | 2003-05-02 Elena Zannoni <[email protected]> |
7177 | ||
7178 | * charset.c (GDB_DEFAULT_TARGET_CHARSET, | |
7179 | GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. | |
7180 | (host_charset_name, target_charset_name): New vars for use by | |
7181 | set/show commands. | |
7182 | (host_charset_enum, target_charset_enum): New enums for set/show | |
7183 | commands. | |
7184 | (set_charset_sfunc, set_host_charset_sfunc, | |
7185 | set_target_charset_sfunc): New functions. | |
7186 | (set_host_charset, set_target_charset): Make static. | |
7187 | (list_charsets, set_host_charset_command, | |
7188 | set_target_charset_command): Delete functions. | |
7189 | (show_charset_command): Rewrite as.... | |
7190 | (show_charset): Hook this up with the set/show command mechanism. | |
7191 | (_initialize_charset): Change names of charsets to match the | |
7192 | set/show enums. Use host_charset_name and target_charset_name. | |
7193 | Use set/show mechanism for charset, host-charset, target-charset | |
7194 | commands. Do not make 'show host-charset' and 'show | |
7195 | target-charset' be aliases of 'show charset'. | |
7196 | ||
7197 | * charset.h (set_host_charset, set_target_charset): Don't export, | |
7198 | they are not used outside the file. | |
7199 | ||
2b6fd0d8 AC |
7200 | 2003-05-01 Andrew Cagney <[email protected]> |
7201 | ||
7202 | * disasm.c (gdb_disassemble_from_exec): Delete global variable. | |
7203 | (gdb_disassembly): Make "di" non static, always initialize and | |
7204 | cleanup. Always use dis_asm_read_memory. | |
7205 | (gdb_dis_asm_read_memory): Delete function. | |
7206 | ||
6ae2f580 AC |
7207 | 2003-05-01 Andrew Cagney <[email protected]> |
7208 | ||
7209 | * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align. | |
7210 | (d10v_gdbarch_init): Set frame_align instead of stack_align. | |
7211 | ||
810ecf9f AC |
7212 | 2003-04-30 Andrew Cagney <[email protected]> |
7213 | ||
7214 | * gdbarch.sh (deprecated_tm_print_insn_info): Rename | |
7215 | "tm_print_insn_info". | |
7216 | (TARGET_PRINT_INSN_INFO): Delete macro. | |
7217 | (dis_asm_read_memory): Delete function declaration. | |
7218 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
7219 | (tm_print_insn_info): Delete variable definition. | |
7220 | (_initialize_gdbarch): Do not initialize "tm_print_insn_info". | |
7221 | * gdbarch.h, gdbarch.c: Re-generate. | |
7222 | * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with | |
7223 | "deprecated_tm_print_insn_info". | |
7224 | * mcore-tdep.c (mcore_dump_insn): Ditto. | |
7225 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7226 | * sparc-tdep.c (_initialize_sparc_tdep): Ditto. | |
7227 | * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto. | |
7228 | * ia64-tdep.c (_initialize_ia64_tdep): Ditto. | |
7229 | * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info" | |
7230 | instead of TARGET_PRINT_INSN_INFO, add comment. | |
7231 | * s390-tdep.c (s390_get_frame_info): Instead of | |
7232 | "dis_asm_read_memory", use "deprecated_tm_print_insn_info". | |
7233 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
7234 | * corefile.c (dis_asm_read_memory): Move to "disasm.c". | |
7235 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
7236 | * disasm.c: Include "gdbcore.h". | |
7237 | (_initialize_disasm): New function, initialize | |
7238 | "deprecated_tm_print_insn_info". | |
7239 | (deprecated_tm_print_insn_info): New variable. | |
7240 | (dis_asm_read_memory): Moved from "corefile.c", made static. | |
7241 | (dis_asm_print_address, dis_asm_memory_error): Ditto. | |
7242 | * Makefile.in (disasm.o): Update dependencies. | |
7243 | ||
07020390 AC |
7244 | 2003-04-30 Andrew Cagney <[email protected]> |
7245 | ||
7246 | * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. | |
7247 | ||
a9fa03de AF |
7248 | 2003-04-29 Adam Fedor <[email protected]> |
7249 | ||
7250 | * eval.c (evaluate_subexp_standard): Handle ObjC ops. | |
7251 | * infcall.c (find_function_addr): Make non-static. | |
7252 | * infcall.h (find_function_addr): Declare. | |
7253 | * Makefile.in (eval.o): Update dependencies. | |
7254 | ||
1bae87b9 AF |
7255 | 2003-04-28 Adam Fedor <[email protected]> |
7256 | ||
7257 | * symtab.c (symbol_find_demangled_name): Check for and demangle | |
7258 | ObjC symbols. | |
7259 | (symbol_init_demangled_name): Init for language_objc as well. | |
7260 | ||
0ba6dca9 AC |
7261 | 2003-04-28 Andrew Cagney <[email protected]> |
7262 | ||
7263 | * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. | |
7264 | (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. | |
7265 | * gdbarch.h, gdbarch.c: Re-generate. | |
7266 | * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, | |
7267 | DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. | |
7268 | * inferior.h (deprecated_read_fp): Rename read_fp. | |
7269 | (generic_target_read_fp): Delete declaration. | |
7270 | * regcache.c (generic_target_read_fp): Delete function. | |
7271 | (deprecated_read_fp): Replace read_fp, use | |
7272 | DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. | |
7273 | * d10v-tdep.c (d10v_read_fp): Delete function. | |
7274 | (d10v_gdbarch_init): Do not set deprecated_read_fp. | |
7275 | ||
7276 | * sparc-tdep.c (sparc_gdbarch_init): Do not set | |
7277 | deprecated_target_read_fp to generic_target_read_fp. | |
7278 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7279 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7280 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7281 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7282 | ||
7283 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set | |
7284 | deprecated_fp_regnum. | |
7285 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
7286 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
7287 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7288 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7289 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7290 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7291 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7292 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7293 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7294 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
7295 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7296 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7297 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7298 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
7299 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7300 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7301 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7302 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7303 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7304 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
7305 | ||
7306 | * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. | |
7307 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7308 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7309 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7310 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7311 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7312 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7313 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7314 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7315 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7316 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
7317 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7318 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7319 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7320 | ||
7321 | * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with | |
7322 | DEPRECATED_FP_REGNUM. | |
7323 | (vax_push_dummy_frame, vax_pop_frame): Ditto. | |
7324 | * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. | |
7325 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
7326 | (sparc_push_dummy_frame, sparc64_read_fp): Ditto. | |
7327 | (sparc32_register_virtual_type): Ditto. | |
7328 | * sh-tdep.c (sh64_frame_chain): Ditto. | |
7329 | (sh64_get_saved_register, sh64_pop_frame): Ditto. | |
7330 | (sh_nofp_frame_init_saved_regs): Ditto. | |
7331 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
7332 | (sh_fp_frame_init_saved_regs): Ditto. | |
7333 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
7334 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
7335 | * procfs.c (procfs_fetch_registers): Ditto. | |
7336 | (procfs_store_registers): Ditto. | |
7337 | * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. | |
7338 | (store_inferior_registers, fetch_core_registers): Ditto. | |
7339 | (fetch_kcore_registers, clear_regs): Ditto. | |
7340 | * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. | |
7341 | (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. | |
7342 | * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. | |
7343 | * nlm/i386.c (do_status): Ditto. | |
7344 | * mipsv4-nat.c (supply_gregset): Ditto. | |
7345 | * mips-tdep.c: Ditto for comments. | |
7346 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
7347 | (store_inferior_registers, fetch_core_registers): Ditto. | |
7348 | * m68k-tdep.c (m68k_push_dummy_frame): Ditto. | |
7349 | (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. | |
7350 | * i386-tdep.c (i386_frame_init_saved_regs): Ditto. | |
7351 | (i386_do_pop_frame, i386_register_type): Ditto. | |
7352 | * hppa-tdep.c (hppa_frame_chain): Ditto. | |
7353 | (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. | |
7354 | (hppa_pop_frame, hppa_read_fp): Ditto. | |
7355 | (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. | |
7356 | * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. | |
7357 | * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. | |
7358 | * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. | |
7359 | * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. | |
7360 | * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. | |
7361 | * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. | |
7362 | * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. | |
7363 | * blockframe.c: Ditto for comments. | |
7364 | * arch-utils.h: Ditto for comments. | |
7365 | * arch-utils.c (legacy_virtual_frame_pointer): Ditto. | |
7366 | * alphanbsd-tdep.c (fetch_core_registers): Ditto. | |
7367 | * alphabsd-nat.c (fetch_inferior_registers): Ditto. | |
7368 | * alpha-tdep.h: Ditto for comments. | |
7369 | * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. | |
7370 | (alpha_cannot_store_register): Ditto. | |
7371 | (alpha_push_dummy_frame): Ditto. | |
7372 | * alpha-nat.c (supply_gregset): Ditto. | |
7373 | ||
7374 | * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. | |
7375 | * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. | |
7376 | * config/sparc/tm-sparc.h: Update comment. | |
7377 | ||
7378 | * hppa-tdep.c (hppa_init_extra_frame_info): Use | |
7379 | deprecated_read_fp instead of TARGET_READ_FP. | |
7380 | (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. | |
7381 | (hppa_push_dummy_frame, hppa_read_fp): Ditto. | |
7382 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
7383 | deprecated_read_fp instead of read_fp. | |
7384 | * s390-tdep.c (s390_push_arguments): Ditto. | |
7385 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7386 | * frame.h: Ditto in comments. | |
7387 | * frame.c (legacy_get_prev_frame): Ditto. | |
7388 | * dummy-frame.c (dummy_frame_this_id): Ditto. | |
7389 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
7390 | ||
d7a27068 AC |
7391 | 2003-04-28 Andrew Cagney <[email protected]> |
7392 | ||
7393 | * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn. | |
7394 | * gdbarch.h, gdbarch.c: Re-generate. | |
7395 | * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update. | |
7396 | * vax-tdep.c (_initialize_vax_tdep): Update. | |
7397 | * v850-tdep.c (_initialize_v850_tdep): Update. | |
7398 | * sparc-tdep.c (_initialize_sparc_tdep): Update. | |
7399 | * s390-tdep.c (_initialize_s390_tdep): Update. | |
7400 | * ns32k-tdep.c (_initialize_ns32k_tdep): Update. | |
7401 | * mn10300-tdep.c (_initialize_mn10300_tdep): Update. | |
7402 | * mips-tdep.c (_initialize_mips_tdep): Update. | |
7403 | * mcore-tdep.c (_initialize_mcore_tdep): Update. | |
7404 | * m68k-tdep.c (_initialize_m68k_tdep): Update. | |
7405 | * ia64-tdep.c (_initialize_ia64_tdep): Update. | |
7406 | * hppa-tdep.c (_initialize_hppa_tdep): Update. | |
7407 | * h8300-tdep.c (_initialize_h8300_tdep): Update. | |
7408 | * frv-tdep.c (_initialize_frv_tdep): Update. | |
7409 | * cris-tdep.c (cris_delayed_get_disassembler): Update. | |
7410 | (_initialize_cris_tdep): Update. | |
7411 | * arch-utils.c (legacy_print_insn): Update. | |
7412 | * alpha-tdep.c (_initialize_alpha_tdep): Update. | |
7413 | ||
d2630e69 AF |
7414 | 2003-04-26 Adam Fedor <[email protected]> |
7415 | ||
7416 | * linespec.c (decode_objc): New function to decode ObjC calls | |
7417 | (decode_line_1): Check for ObjC calls (using decode_objc) | |
7418 | * Makefile (linespec.o): Update dependencies. | |
7419 | ||
3086aeae DJ |
7420 | 2003-04-26 Daniel Jacobowitz <[email protected]> |
7421 | ||
7422 | * breakpoint.h (struct breakpoint_ops): New. | |
7423 | (struct breakpoint): Add ops member. | |
7424 | ||
7425 | * breakpoint.c (print_bp_stop_message, print_one_breakpoint) | |
7426 | (mention): Use new breakpoint ops member. | |
7427 | (set_raw_breakpoint): Initialize ops field to NULL. | |
7428 | (print_exception_catchpoint, print_one_exception_catchpoint) | |
7429 | (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New. | |
7430 | (gnu_v3_exception_catchpoint_ops): New. | |
7431 | (catch_exception_command_1): Call handle_gnu_v3_exceptions. | |
7432 | ||
1fbec6c3 AF |
7433 | 2003-04-25 Adam Fedor <[email protected]> |
7434 | ||
7435 | * Makefile.in (COMMON_OBS): Add objc-lang.o | |
7436 | ||
0ef21242 AC |
7437 | 2003-04-25 Andrew Cagney <[email protected]> |
7438 | ||
7439 | * d10v-tdep.c (print_insn): Delete function. | |
7440 | (display_trace): Use TARGET_PRINT_INSN. | |
7441 | (_initialize_d10v_tdep): Do not set tm_print_insn. | |
7442 | (d10v_gdbarch_init): Set print_insn. | |
7443 | ||
f75493ed AC |
7444 | 2003-04-25 Andrew Cagney <[email protected]> |
7445 | ||
7446 | * d10v-tdep.c (d10v_extract_return_value): Delete call to printf. | |
7447 | (_initialize_d10v_tdep): Use add_setshow_boolean_cmd. | |
7448 | (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC. | |
7449 | (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ... | |
7450 | (nr_dmap_regs, a0_regnum): ... new functions. | |
7451 | (d10v_print_registers_info): Use a0_regnum, use register_size. | |
7452 | (d10v_register_byte): Delete function. | |
7453 | (d10v_register_raw_size): Delete function. | |
7454 | (d10v_register_type): Use a0_regnum. | |
7455 | (d10v_print_registers_info): Use a0_regnum. | |
7456 | (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM. | |
7457 | (d10v_gdbarch_init): Do not set register_byte or | |
7458 | register_raw_size, use D10V_SP_REGNUM to set sp_regnum. | |
7459 | (d10v_pointer_to_address): Use extract_unsigned_integer instead of | |
7460 | extract_address. | |
7461 | (trace_command): Use XCALLOC. | |
7462 | (print_insn): Delete reference to tm_print_insn. | |
7463 | (saved_regs_unwinder): Use store_unsigned_integer instead of | |
7464 | store_address. | |
7465 | * frame.h (FRAME_OBSTACK_CALLOC): Define | |
7466 | ||
2202b100 DC |
7467 | 2003-04-25 David Carlton <[email protected]> |
7468 | ||
7469 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp. | |
7470 | ||
4e45ca2e AF |
7471 | 2003-04-24 Adam Fedor <[email protected]> |
7472 | ||
7473 | * objc-lang.c: Include "valprint.h" | |
7474 | * Makefile.in (objc-lang.o): Update dependencies. | |
7475 | ||
93de3e7f AF |
7476 | 2003-04-24 Adam Fedor <[email protected]> |
7477 | ||
8ffd9b1b | 7478 | * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove |
93de3e7f AF |
7479 | architecture dependant compilation and mark as unimplemented |
7480 | (until they get put in the gdbarch vector). | |
7481 | ||
0f20eeea DC |
7482 | 2003-04-23 David Carlton <[email protected]> |
7483 | ||
7484 | * cp-support.c (cp_find_first_component): Accept 'operator' in | |
7485 | more locations. | |
7486 | ||
74cfe982 AC |
7487 | 2003-04-23 Andrew Cagney <[email protected]> |
7488 | ||
7489 | * infcall.c (call_function_by_hand): Eliminate redundant | |
7490 | indentation. Move "saved_async" and "old_cleanups" to where they | |
7491 | are needed. | |
8ffd9b1b | 7492 | |
52557533 AC |
7493 | 2003-04-23 Andrew Cagney <[email protected]> |
7494 | ||
7495 | * infcall.c (call_function_by_hand): Eliminate the variables "rc" | |
7496 | and "buffer". Move the "name" code to where it is needed. | |
7497 | ||
158775de AC |
7498 | 2003-04-23 Andrew Cagney <[email protected]> |
7499 | ||
7500 | * infcall.c (call_function_by_hand): Move variables "start_sp", | |
7501 | "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call | |
7502 | code to ON_STACK switch branch. | |
8ffd9b1b | 7503 | |
ebc7896c AC |
7504 | 2003-04-23 Andrew Cagney <[email protected]> |
7505 | ||
7506 | * infcall.c (call_function_by_hand): Make declaration of "i", | |
7507 | "sal", "bpt" and "old_sp" more local to their use. Delete #if | |
7508 | lint. | |
7509 | ||
d727590f AC |
7510 | 2003-04-23 Andrew Cagney <[email protected]> |
7511 | ||
7512 | * infcall.c (call_function_by_hand): Delete variable | |
7513 | "n_method_args". Localize "param_type"'s declaration to the loop | |
7514 | that it is used. Reinstate code assigning to said variable - | |
7515 | deleted on 2002-06-14. Rationalize calls to value_args_coerce. | |
7516 | Rationalize code using "param_type". | |
7517 | ||
d585e13a AC |
7518 | 2003-04-22 Andrew Cagney <[email protected]> |
7519 | ||
7520 | * infcall.c (call_function_by_hand): Use new variable "bp_addr" to | |
7521 | compute the breakpoint address. Only call FIX_CALL_DUMMY when | |
7522 | ON_STACK. Eliminate the variable "addr". Do not pass "real_pc" | |
7523 | to DEPRECATED_PUSH_RETURN_ADDRESS. | |
7524 | ||
051caad9 KB |
7525 | 2003-04-22 Kevin Buettner <[email protected]> |
7526 | ||
7527 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM | |
7528 | on the DWARF2 register number prior to fetching a register. | |
7529 | ||
77296879 JB |
7530 | 2003-04-22 J. Brobecker <[email protected]> |
7531 | ||
7532 | * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro. | |
7533 | Update all the tests using SOFT_FLOAT considering the fact that | |
8ffd9b1b | 7534 | this macro was always set to 0. |
77296879 JB |
7535 | * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT |
7536 | considering the fact that this macro was always set to 0. | |
7537 | * hppa-tdep.h (hppa_store_return_value): Likewise. | |
7538 | (hppa_extract_return_value): Likewise. | |
7539 | ||
4252f1df JB |
7540 | 2003-04-22 J. Brobecker <[email protected]> |
7541 | ||
7542 | * config/pa/tm-hppa.h: Remove obsolete code, was used by | |
7543 | the hppa-pro target only. | |
7544 | ||
14604c6b JB |
7545 | 2003-04-21 J. Brobecker <[email protected]> |
7546 | ||
7547 | Ongoing multi-arch conversion effort for HP/UX: | |
7548 | * config/pa/tm-hppa.h: Move all macro that are no longer | |
7549 | defined now that GDB_MULTI_ARCH is now set to 1 from here... | |
7550 | * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet). | |
7551 | ||
77eb01d1 JB |
7552 | 2003-04-21 J. Brobecker <[email protected]> |
7553 | ||
7554 | * config/pa/tm-hppa.h: Obsolete a section that was only used | |
7555 | for hppa-pro. | |
7556 | ||
61995b3b JB |
7557 | 2003-04-21 J. Brobecker <[email protected]> |
7558 | ||
7559 | Ongoing multi-arch conversion for HP/UX. | |
7560 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define | |
7561 | if already defined (allows hppa64 to stay non-multiarched for now). | |
7562 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define. | |
7563 | ||
4aa79dcc AC |
7564 | 2003-04-21 Andrew Cagney <[email protected]> |
7565 | ||
7566 | * frame.c (frame_id_eq): Fail when the code_addr's do not match. | |
7567 | ||
0f751ff2 AC |
7568 | 2003-04-21 Andrew Cagney <[email protected]> |
7569 | ||
7570 | * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with | |
7571 | "i386_num_mmx_regs". | |
7572 | ||
04714b91 AC |
7573 | 2003-04-21 Andrew Cagney <[email protected]> |
7574 | ||
7575 | * infcall.c: New file. | |
7576 | * infcall.h: New file. | |
7577 | * valarith.c: Include "infcall.h". | |
7578 | * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto. | |
7579 | * eval.c, ada-valprint.c, ada-lang.c: Ditto. | |
7580 | * Makefile.in (valarith.o, scm-lang.o): Update dependencies. | |
7581 | (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies. | |
7582 | (eval.o, ada-valprint.o, ada-lang.o): Update dependencies. | |
7583 | (SFILES): Add "infcall.c" | |
7584 | (COMMON_OBS): Add "infcall.o". | |
7585 | (infcall.o): Specify dependencies. | |
7586 | * value.h (call_function_by_hand): Delete declaration. | |
7587 | * inferior.h (run_stack_dummy): Delete declaration. | |
7588 | * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c". | |
7589 | (run_stack_dummy): Move to "infcall.c", merged into | |
7590 | call_function_by_hand. | |
7591 | * valops.c (call_function_by_hand): Moved to "infcall.c". | |
7592 | (find_function_addr, value_arg_coerce): Ditto. | |
7593 | (unwindonsignal_p, coerce_float_to_double): Ditto. | |
7594 | (_initialize_valops): Move "set/show coerce-float-to-double", and | |
7595 | "set/show unwindonsignal" commands to "infcall.c". | |
7596 | * v850-tdep.c, target.h: Update comments. | |
7597 | * sparc-tdep.c (sparc_fix_call_dummy): Update comments. | |
7598 | * sh-tdep.c (sh_init_extra_frame_info): Update comments. | |
7599 | (sh64_init_extra_frame_info): Update comments. | |
7600 | * mn10300-tdep.c: Update comments. | |
7601 | * mcore-tdep.c (mcore_init_extra_frame_info): Update comments. | |
7602 | * config/sparc/tm-sparc.h: Update comments. | |
7603 | * breakpoint.h: Update comments. | |
7604 | * avr-tdep.c (avr_init_extra_frame_info): Update comments. | |
7605 | * arm-tdep.c: Update comment. | |
7606 | ||
f9d3c2a8 MK |
7607 | 2003-04-19 Mark Kettenis <[email protected]> |
7608 | ||
c40e1eab MK |
7609 | * i386-tdep.c (i386_num_register_names): New variable. |
7610 | (i386_num_mmx_regs): Renamed from mmx_num_regs. | |
7611 | (MM0_REGNUM): Remove redundant parentheses in define. | |
7612 | (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs. | |
7613 | (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, | |
7614 | i386_mxcsr_regnum_p): Remove redundant parentheses. | |
7615 | (i386_register_name): Use i386_num_register_names. | |
8ffd9b1b | 7616 | |
94ea66b3 MK |
7617 | * i386-tdep.c (i386_extract_return_value, |
7618 | i386_store_return_value): Correct check for availability of | |
7619 | floating-point registers. | |
7620 | ||
54299a1d MK |
7621 | * i386-tdep.c (i386_frame_num_args): Remove function. |
7622 | (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown. | |
7623 | ||
c86c27af MK |
7624 | * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from |
7625 | mmx_regnum_to_fp_regnum. Adjust all callers. | |
7626 | ||
f9d3c2a8 MK |
7627 | * i386-tdep.c (i386_get_longjmp_target): Use |
7628 | TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT | |
7629 | and TARGET_CHAR_BIT. Use extract_typed_address instead of | |
7630 | extract_address. | |
7631 | ||
94ba74a9 MK |
7632 | 2003-04-19 Mark Kettenis <[email protected]> |
7633 | ||
7634 | * core-regset.c: Update comments to reflect reality. Re-order | |
7635 | includes. | |
7636 | (fetch_core_registers): Use switch instead of if. Remove | |
7637 | redundant prototype. | |
7638 | ||
4074e13c JB |
7639 | 2003-04-18 Jim Blandy <[email protected]> |
7640 | ||
7641 | * s390-tdep.c (s390_frame_align): New function. | |
fbe586ae | 7642 | (s390_gdbarch_init): Register it with the gdbarch object. |
4074e13c | 7643 | |
e3ab4aba RH |
7644 | 2003-04-17 Richard Henderson <[email protected]> |
7645 | ||
7646 | * remote.c (minitelnet): Don't redeclare escape_count, echo_check. | |
7647 | ||
627bf7c1 EZ |
7648 | 2003-04-17 Michael Snyder <[email protected]> |
7649 | Karen Bennet <[email protected]> | |
7650 | ||
7651 | Committed by Elena Zannoni <[email protected]> | |
7652 | * gdb_gcore.sh: New script to create a core dump of a process. | |
8ffd9b1b | 7653 | |
514621a9 EZ |
7654 | 2003-04-17 Elena Zannoni <[email protected]> |
7655 | ||
7656 | * values.c (value_being_returned): Don't fetch the return | |
fbe586ae | 7657 | value if the return type is void. |
514621a9 | 7658 | |
b4acd559 JJ |
7659 | 2003-04-17 Jeff Johnston <[email protected]> |
7660 | ||
7661 | * thread-db.c: Reindented. | |
8ffd9b1b | 7662 | |
530b167e | 7663 | 2003-04-17 Jeff Johnston <[email protected]> |
8ffd9b1b AJ |
7664 | |
7665 | * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, | |
7666 | td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t | |
530b167e JJ |
7667 | as types. |
7668 | ||
0a48e7e8 MS |
7669 | |
7670 | ||
7671 | ||
7672 | ||
7673 | ||
7674 | ||
7675 | ||
7676 | ||
7677 | ||
7678 | ||
7679 | ||
7680 | ||
7681 | ||
7682 | ||
7683 | ||
7684 | ||
7685 | ||
7686 | ||
7687 | ||
7688 | ||
7689 | ||
7690 | ||
7691 | ||
8ffd9b1b | 7692 | |
ab9fe00e KB |
7693 | 2003-04-16 Kevin Buettner <[email protected]> |
7694 | ||
610a3745 | 7695 | * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set |
ab9fe00e KB |
7696 | the size of ``long double'' to 16, instead of 8. |
7697 | ||
e64a344c MK |
7698 | 2003-04-16 Mark Kettenis <[email protected]> |
7699 | ||
7700 | * i386-linux-nat.c: Add some whitespace to make things more | |
7701 | readable. | |
7702 | (fetch_register, store_register, fetch_inferior_registers, | |
7703 | store_inferior_registers): Get rid of assignment in if-statement. | |
7704 | (store_register): Fix typo in error message. | |
7705 | ||
25d41031 AC |
7706 | 2003-04-16 Andrew Cagney <[email protected]> |
7707 | ||
7708 | * utils.c (xmmalloc): Always allocate something, matches | |
7709 | libiberty/xmalloc's semantics. | |
7710 | (xmrealloc, xmcalloc): Ditto. | |
7711 | ||
c50901fd AC |
7712 | 2003-04-16 Andrew Cagney <[email protected]> |
7713 | ||
7714 | * frame.c (get_prev_frame): Do not initialize "unwind" or "type", | |
7715 | update comments. | |
7716 | (get_frame_type): Initialize unwind and type when needed. | |
7717 | (get_frame_id, frame_register_unwind): Ditto. | |
7718 | ||
f81824a9 AC |
7719 | 2003-04-16 Andrew Cagney <[email protected]> |
7720 | ||
7721 | * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made | |
7722 | obsolete. | |
7723 | * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. | |
7724 | * sparcl-stub.c: Obsolete file. | |
7725 | * config/sparc/tm-sparclet.h: Obsolete file. | |
7726 | * sparclet-stub.c: Obsolete file. | |
7727 | * sparclet-rom.c: Obsolete file. | |
7728 | * sparcl-tdep.c: Obsolete file. | |
7729 | * config/sparc/tm-sparclite.h: Obsolete file. | |
7730 | * config/sparc/sparclite.mt: Obsolete file. | |
7731 | * config/sparc/sparclet.mt: Obsolete file. | |
7732 | * configure.tgt: Make sparclet-*-*, sparclite-*-*, and | |
7733 | sparc86x-*-* obsolete. | |
7734 | ||
9219021c DC |
7735 | 2003-04-15 David Carlton <[email protected]> |
7736 | ||
7737 | * Makefile.in (SFILES): Add cp-namespace.c. | |
7738 | (COMMON_OBS): Add cp-namespace.o. | |
7739 | (block.o): Depend on gdb_obstack_h and cp_support_h. | |
7740 | (buildsym.o): Depend on cp_support_h. | |
7741 | (cp-namespace.o): New. | |
7742 | (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h, | |
7743 | gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h. | |
7744 | (dwarf2read.o): Depend on cp_support_h. | |
7745 | * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE. | |
7746 | * dwarf2read.c (process_die): Set processing_has_namespace_info, | |
7747 | processing_current_namespace. | |
7748 | (read_namespace): Update processing_current_namespace; check for | |
7749 | anonymous namespaces. | |
7750 | (dwarf2_name): New function. | |
7751 | (dwarf2_extension): Ditto. | |
7752 | * cp-support.h: Update copyright, contributors. | |
7753 | Add inclusion guards. | |
7754 | Add opaque declaration for structs obstack, block, symbol. | |
7755 | (struct using_direct): New struct. | |
7756 | Add declarations for cp_find_first_component, | |
7757 | cp_entire_prefix_len, processing_has_namespace_info, | |
7758 | processing_current_namespace, cp_is_anonymous, | |
7759 | cp_add_using_directive, cp_initialize_namespace, | |
7760 | cp_finalize_namespace, cp_set_block_scope, | |
7761 | cp_scan_for_anonymous_namespaces. | |
7762 | * cp-namespace.c: New file. | |
7763 | * cp-support.c: Update copyright. | |
7764 | Include ctype.h, gdb_assert.h, gdbcmd.h. | |
7765 | New variable maint_cplus_cmd_list. | |
7766 | (cp_find_first_component): New function. | |
7767 | (cp_entire_prefix_len, maint_cplus_command) | |
7768 | (first_component_command, _initialize_cp_support): Ditto. | |
7769 | * buildsym.c: Include cp-support.h. | |
7770 | New variable using_list. | |
7771 | (add_symbol_to_list): Check for anonymous namespaces. | |
7772 | (finish_block): Set block's scope. | |
7773 | (start_symtab): Initialize C++ namespace support. | |
7774 | (end_symtab): Finalize C++ namespace support. | |
7775 | * block.h: Add opaque declarations for structs | |
7776 | block_namespace_info, using_direct, and obstack. | |
7777 | Add declarations for block_set_scope and block_set_using. | |
7778 | (struct block): Add 'language_specific' member. | |
7779 | (BLOCK_NAMESPACE): New macro. | |
7780 | * block.c: Include gdb_obstack.h and cp-support.h. | |
7781 | (struct block_namespace_info): New struct. | |
7782 | (block_set_scope): New function. | |
7783 | (block_set_using, block_initialize_namespace): Ditto. | |
7784 | ||
d5a921c9 KB |
7785 | 2003-04-14 Kevin Buettner <[email protected]> |
7786 | ||
7787 | * solib-svr4.c (svr4_have_link_map_offsets): New function. | |
7788 | (locate_base): Return early if there aren't any link map offsets. | |
7789 | (svr4_solib_create_inferior_hook): Warn if shared library support | |
7790 | is unavailable. | |
7791 | ||
d2a52b27 DC |
7792 | 2003-04-14 David Carlton <[email protected]> |
7793 | ||
7794 | * symtab.c (symbol_set_names): Add prefix when storing Java names | |
7795 | in hash table. Fix for PR java/1039. | |
7796 | ||
980cae7a DC |
7797 | 2003-04-14 David Carlton <[email protected]> |
7798 | ||
7799 | * symtab.c (symbol_set_names): Rename 'name' arg to | |
7800 | 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'. | |
7801 | * symtab.h: Change 'name' argument in declaration of | |
7802 | symbol_set_names to 'linkage_name'. | |
7803 | (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'. | |
7804 | ||
e227b13c AC |
7805 | 2003-04-14 Andrew Cagney <[email protected]> |
7806 | ||
7807 | * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE, | |
7808 | return the fully sign-extended register value. | |
7809 | (get_frame_pointer): Ditto. | |
7810 | (mips_pop_frame): Initialize "proc_desc" after checking for a | |
7811 | dummy frame. | |
7812 | ||
36712a20 AC |
7813 | 2003-04-14 Andrew Cagney <[email protected]> |
7814 | ||
7815 | * mips-tdep.c (mips_push_dummy_frame): Delete function. | |
7816 | (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros. | |
7817 | (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro. | |
7818 | (mips_push_register): Delete function. | |
7819 | (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and | |
7820 | PUSH_FP_REGNUM. | |
7821 | ||
44ea7b70 JB |
7822 | 2003-04-14 Jim Blandy <[email protected]> |
7823 | ||
7824 | * symmisc.c: #include "gdb_regex.h". | |
7825 | (maintenance_list_symtabs, maintenance_list_psymtabs): New | |
7826 | functions. | |
7827 | * maint.c (maintenance_list_command): New function. | |
7828 | (_initialize_maint_cmds): Register the above as commands. | |
7829 | * symtab.h (maintenance_list_symtabs, | |
7830 | maintenance_list_psymtabs): New declarations. | |
7831 | * cli/cli-cmds.c (maintenancelistlist): New variable. | |
7832 | (init_cmd_lists): Initialize it. | |
7833 | * cli/cli-cmds.h (maintenancelistlist): New declaration. | |
7834 | * gdbcmd.h (maintenancelistlist): New declaration. | |
7835 | * Makefile.in (symmisc.o): Update dependencies. | |
7836 | ||
2d0c7962 EZ |
7837 | 2003-04-14 Elena Zannoni <[email protected]> |
7838 | ||
7839 | * s390-nat.c: Include asm/types.h for addr_t. | |
7840 | ||
1947a811 CV |
7841 | 2003-04-14 Corinna Vinschen <[email protected]> |
7842 | ||
7843 | * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with | |
7844 | actually incoming type. | |
7845 | ||
adb616d7 AC |
7846 | 2003-04-13 Andrew Cagney <[email protected]> |
7847 | ||
7848 | * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc, | |
7849 | get_next_frame and get_frame_saved_regs. | |
7850 | ||
9b5e151c AC |
7851 | 2003-04-13 Andrew Cagney <[email protected]> |
7852 | ||
7853 | * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead | |
7854 | of gdbarch_num_regs. | |
7855 | ||
ef6e7e13 AC |
7856 | 2003-04-13 Andrew Cagney <[email protected]> |
7857 | ||
7858 | * frame.h: Mention what replaced what in "struct frame_info". | |
7859 | * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and | |
7860 | deprecated_update_frame_base_hack and | |
7861 | deprecated_update_frame_pc_hack. | |
7862 | * hppa-tdep.c: Ditto. | |
7863 | ||
61fbb938 DJ |
7864 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
7865 | ||
7866 | * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments | |
7867 | to read_reg and update its comment. Remove regnum member. | |
7868 | * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval. | |
7869 | Don't call read_reg when setting in_reg. Call read_reg to get | |
7870 | the frame base if it's in a register. Return the register number | |
7871 | on the stack instead of in the context. Remove extra arguments | |
7872 | to read_reg. | |
7873 | * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments. | |
7874 | (dwarf2_evaluate_loc_desc): Call value_from_register. Expect | |
7875 | the register number on the expression stack. | |
7876 | (needs_frame_read_reg): Remove extra arguments. | |
7877 | ||
0d53c4c4 DJ |
7878 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
7879 | ||
7880 | * dwarf2expr.c (dwarf2_read_address): Renamed from read_address; | |
7881 | made non-static. | |
7882 | (execute_stack_op): All callers updated. | |
7883 | * dwarf2expr.h: Add prototype for dwarf2_read_address. | |
7884 | * dwarf2loc.c (find_location_expression): New function. | |
7885 | (dwarf_expr_frame_base): Call it. | |
7886 | (dwarf2_evaluate_loc_desc): Handle 0-length location expressions. | |
7887 | (dwarf2_tracepoint_var_ref): New function, broken out from | |
7888 | locexpr_tracepoint_var_ref. | |
7889 | (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref. | |
7890 | Make static. | |
7891 | (loclist_read_variable, loclist_read_needs_frame): New functions. | |
7892 | (loclist_describe_location, loclist_tracepoint_var_ref): New | |
7893 | functions. | |
7894 | (dwarf2_loclist_funcs): New struct location_funcs. | |
7895 | * dwarf2loc.h (struct dwarf2_loclist_baton): New type. | |
7896 | (struct dwarf2_locexpr_baton): Add comments. | |
7897 | (dwarf2_loclist_funcs): New extern. | |
7898 | * dwarf2read.c (struct comp_unit_head): Remove DIE member, add | |
7899 | base_address and base_known. | |
7900 | (dwarf_loc_buffer): New variable. | |
7901 | (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size. | |
7902 | (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros. | |
7903 | (dwarf2_has_info): Initialize dwarf_loc_offset. | |
7904 | (dwarf2_build_psymtabs): Read in .debug_loc. | |
7905 | (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and | |
7906 | DWARF_LOC_SIZE. | |
7907 | (psymtab_to_symtab_1): Likewise. Move base address calculation | |
7908 | here, from... | |
7909 | (dwarf2_get_pc_bounds): ... here. Use the base address from | |
7910 | cu_header. | |
7911 | (dwarf2_symbol_mark_computed): Handle location lists. | |
7912 | ||
6aca59a3 DJ |
7913 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
7914 | ||
7915 | * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode | |
7916 | if the linkage name demangled successfully. | |
7917 | ||
aca1fcd0 MK |
7918 | 2003-04-13 Mark Kettenis <[email protected]> |
7919 | ||
97095916 MK |
7920 | * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours, |
7921 | disassmbly_flavour): Removed. | |
7922 | ||
aca1fcd0 MK |
7923 | * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. |
7924 | ||
562a961f MK |
7925 | 2003-04-13 Mark Kettenis <[email protected]> |
7926 | ||
7927 | * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed. | |
7928 | ||
bd013d54 AC |
7929 | 2003-04-12 Andrew Cagney <[email protected]> |
7930 | ||
7931 | * frame.h (struct frame_info): Move definition from here ... | |
7932 | * frame.c (struct frame_info): ... to here. | |
7933 | ||
167ef8b1 AC |
7934 | 2003-04-12 Andrew Cagney <[email protected]> |
7935 | ||
7936 | * gdbthread.h (save_infrun_state): Delete parameter | |
7937 | "prev_func_start". | |
7938 | (struct thread_info): Delete field "prev_func_start". | |
7939 | (load_infrun_state): Ditto. | |
7940 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
7941 | * infrun.c (prev_func_start): Delete variable. | |
7942 | (context_switch, init_wait_for_inferior): Update. | |
7943 | (stop_stepping, keep_going): Update. | |
7944 | ||
da3331ec AC |
7945 | 2003-04-12 Andrew Cagney <[email protected]> |
7946 | ||
7947 | * gdbarch.sh: Add missing opaque declarations. | |
7948 | * gdbarch.h: Regnerate. | |
7949 | * symtab.h: Add missing opaque declarations. | |
7950 | * value.h, target.h, symfile.h, stabsread.h: Ditto. | |
7951 | * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. | |
7952 | * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. | |
7953 | * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. | |
7954 | * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. | |
7955 | * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. | |
7956 | * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. | |
7957 | * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. | |
7958 | * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. | |
7959 | * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. | |
7960 | * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. | |
7961 | * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. | |
7962 | * cli/cli-setshow.h, cli/cli-script.h: Ditto. | |
7963 | ||
18adea3f AC |
7964 | 2003-04-11 Andrew Cagney <[email protected]> |
7965 | ||
7966 | * frame.c (get_frame_id): Return this frame's "id". | |
7967 | (legacy_get_prev_frame): Set prev's frame ID code_addr to the | |
7968 | function start. | |
7969 | (legacy_saved_regs_this_id): Replace function body with | |
7970 | internal-error. | |
7971 | (deprecated_frame_xmalloc): Mark the frame ID as valid, use | |
7972 | FRAME_OBSTACK_ZALLOC. | |
7973 | (create_new_frame): Mark the frame ID as valid. | |
7974 | ||
2252e863 AO |
7975 | 2003-04-11 Alexandre Oliva <[email protected]> |
7976 | ||
7977 | * Makefile.in (libbfd_h): Added missing setting. | |
7978 | * mips-tdep.c (mips_gdbarch_init): Set disassembler_options | |
7979 | according to the selected ABI. | |
7980 | ||
a8245ab8 JJ |
7981 | 2003-04-11 Jeff Johnston <[email protected]> |
7982 | ||
7983 | * gdb_indent.sh: Recognize pid_t and sigset_t as types. | |
7984 | ||
6913c89a AC |
7985 | 2003-04-11 Andrew Cagney <[email protected]> |
7986 | ||
7987 | * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate | |
7988 | SAVED_PC_AFTER_CALL. | |
7989 | * gdbarch.h, gdbarch.c: Regenerate. | |
7990 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7991 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
7992 | * vax-tdep.c (vax_gdbarch_init): Update. | |
7993 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7994 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7995 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7996 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7997 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7998 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
7999 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8000 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8001 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8002 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8003 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8004 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8005 | (ia64_saved_pc_after_call): Update declaration. | |
8006 | * i386ly-tdep.c (i386lynx_init_abi): Update. | |
8007 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8008 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8009 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8010 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8011 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8012 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8013 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8014 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8015 | * ns32knbsd-nat.c (frame_num_args): Update. | |
8016 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
8017 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
8018 | * infrun.c (step_over_function): Update. | |
8019 | * i386-linux-tdep.c (skip_hurd_resolver): Update. | |
8020 | * i386-interix-tdep.c (i386_interix_back_one_frame): Update. | |
8021 | * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
8022 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8023 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8024 | * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
8025 | * arm-linux-tdep.c (skip_hurd_resolver): Update. | |
8026 | * arch-utils.c (init_frame_pc_default): Update. | |
8027 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
8028 | * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update | |
8029 | declaration. | |
8ffd9b1b | 8030 | |
38edeab8 AC |
8031 | 2003-04-11 Andrew Cagney <[email protected]> |
8032 | ||
8033 | * i387-tdep.c: Update copyright. | |
8034 | (i387_to_double): Delete function. | |
8035 | (double_to_i387): Delete function. | |
8036 | ||
81f8a206 AC |
8037 | 2003-04-10 Andrew Cagney <[email protected]> |
8038 | ||
8039 | * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the | |
8040 | frame's function's address. Simplify. | |
8041 | (d10v_frame_unwind_cache): Check that the frame's function is | |
8042 | non-zero. | |
8043 | ||
6e691f7a JB |
8044 | 2003-04-10 Jim Blandy <[email protected]> |
8045 | ||
8046 | * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted | |
8047 | call to set_gdbarch_deprecated_push_arguments. | |
8048 | ||
7f78e237 AC |
8049 | 2003-04-10 Andrew Cagney <[email protected]> |
8050 | ||
8051 | * frame.c (fprint_frame_id): New function. | |
8052 | (fprint_frame_type, fprint_frame): New function. | |
8053 | (frame_pc_unwind, frame_func_unwind): Add/update trace code. | |
8054 | (create_sentinel_frame, get_frame_id): Ditto. | |
8055 | (frame_id_p, frame_id_eq): Ditto. | |
8056 | (frame_id_inner, create_new_frame): Ditto. | |
8057 | (legacy_get_prev_frame, get_prev_frame): Ditto. | |
8058 | (deprecated_update_frame_pc_hack): Ditto. | |
8059 | (frame_register_unwind): Ditto. | |
8060 | (deprecated_update_frame_base_hack): Ditto. | |
8061 | ||
f870b49b CV |
8062 | 2003-04-10 Corinna Vinschen <[email protected]> |
8063 | ||
8064 | * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function. | |
8065 | (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new | |
8066 | frame_chain function. | |
8067 | * Makefile.in: Add dependencies due to above change. | |
8068 | ||
7c86889b CV |
8069 | 2003-04-10 Corinna Vinschen <[email protected]> |
8070 | ||
8071 | * blockframe.c (legacy_frame_chain_valid): Move call to | |
8072 | DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and | |
8073 | inside_entry_file. | |
8074 | ||
d0a55772 AC |
8075 | 2003-04-09 Andrew Cagney <[email protected]> |
8076 | ||
8077 | * frame.h (struct frame_id): Replace "pc" and "base" with | |
8078 | "stack_addr" and "code_addr". Update comments. | |
8079 | (frame_id_build): Update parameter names and comment. | |
8080 | (struct frame_info): Replace "id_p" and "id" with "this_id". | |
8081 | * dummy-frame.c (dummy_frame_this_id): Update. | |
8082 | * breakpoint.c (print_one_breakpoint): Update. | |
8083 | * frame.c (get_frame_id): Update. | |
8084 | (get_frame_base, frame_id_build): Update. | |
8085 | (create_sentinel_frame, legacy_get_prev_frame): Update. | |
8086 | (deprecated_update_frame_base_hack): Update. | |
8087 | (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. | |
8088 | (frame_id_inner): Ditto. | |
8089 | ||
ac16bf07 AC |
8090 | 2003-04-09 Andrew Cagney <[email protected]> |
8091 | ||
8092 | * defs.h (gdb_print_host_address): Make "addr" parameter a | |
8093 | pointer constant. | |
8094 | * utils.c (gdb_print_host_address): Update. | |
8095 | ||
366cfc9e KB |
8096 | 2003-04-09 Kevin Buettner <[email protected]> |
8097 | ||
8098 | * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the | |
8099 | register number for R0 is 0. | |
8100 | ||
cd983b5c JB |
8101 | 2003-04-09 J. Brobecker <[email protected]> |
8102 | ||
8103 | * frame.h (struct gdbarch): Add opaque structure definition | |
8104 | to avoid a compilation warning on LynxOS 4.0. | |
8105 | ||
d1340264 AC |
8106 | 2003-04-09 Andrew Cagney <[email protected]> |
8107 | ||
8108 | * frame.h (struct frame_info): Delete field "pc". Replace | |
8109 | "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc" | |
8110 | structure. | |
8111 | * frame.c (frame_pc_unwind): Update. | |
8112 | (create_sentinel_frame): Do not set "pc". | |
8113 | (get_prev_frame): Do not set "pc". Use frame_pc_unwind. | |
8114 | (get_frame_pc): Call frame_pc_unwind. | |
8115 | (deprecated_update_frame_pc_hack): Update. | |
8116 | (create_new_frame): Use "pc" not "->pc". | |
8117 | ||
90a6fffb AC |
8118 | 2003-04-09 Andrew Cagney <[email protected]> |
8119 | ||
8120 | * frame.c (get_frame_id): Eliminate code updating "frame". | |
8121 | (legacy_get_prev_frame): Ditto. | |
8122 | (get_frame_base): Return id.base directly. | |
8123 | (deprecated_update_frame_base_hack): Update "id.base". | |
8124 | * frame.h (struct frame_info): Delete field "frame". | |
8125 | ||
2fbce691 AC |
8126 | 2003-04-09 Andrew Cagney <[email protected]> |
8127 | ||
8128 | * NEWS: Mention that the "Sequent family" is obsolete. | |
8129 | * configure.tgt: Obsolete i[3456]86-sequent-bsd*, | |
8130 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
8131 | * configure.host: Obsolete i[3456]86-sequent-bsd*, | |
8132 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
8133 | * config/i386/tm-ptx4.h: Obsolete file. | |
8134 | * config/i386/tm-ptx.h: Obsolete file. | |
8135 | * symm-tdep.c: Obsolete file. | |
8136 | * config/i386/symmetry.mt: Obsolete file. | |
8137 | * config/i386/tm-symmetry.h: Obsolete file. | |
8138 | * symm-nat.c: Obsolete file. | |
8139 | * config/i386/nm-symmetry.h: Obsolete file. | |
8140 | * config/i386/xm-symmetry.h: Obsolete file. | |
8141 | * config/i386/symmetry.mh: Obsolete file. | |
8142 | * config/i386/nm-ptx4.h: Obsolete file. | |
8143 | * config/i386/ptx4.mh: Obsolete file. | |
8144 | * config/i386/ptx.mt: Obsolete file. | |
8145 | * config/i386/ptx.mh: Obsolete file. | |
8146 | * config/i386/xm-ptx4.h: Obsolete file. | |
8147 | * config/i386/xm-ptx.h: Obsolete file. | |
8148 | ||
78c43945 AC |
8149 | 2003-04-09 Andrew Cagney <[email protected]> |
8150 | ||
8151 | Obsolete mips*-*-mach3*. | |
8152 | * NEWS: Mention that mips*-*-mach3* is obsolete. | |
8153 | * m3-nat.c: Obsolete file. | |
8154 | * config/nm-m3.h: Obsolete file. | |
8155 | * config/mips/tm-mipsm3.h: Obsolete file. | |
8156 | * config/mips/mipsm3.mt: Obsolete file. | |
8157 | * config/mips/mipsm3.mh: Obsolete file. | |
8158 | * config/mips/xm-mipsm3.h: Obsolete file. | |
8159 | * mipsm3-nat.c: Obsolete file. | |
8160 | * configure.host: Obsolete mips-dec-mach3*. | |
8161 | * configure.tgt: Obsolete mips*-*-mach3*. | |
8162 | ||
f1908289 AC |
8163 | 2003-04-09 Andrew Cagney <[email protected]> |
8164 | ||
8165 | * doublest.h: Update copyright. | |
8166 | (deprecated_store_floating, deprecated_extract_floating): Rename | |
8167 | store_floating and extract_floating. Update comments. | |
8168 | * doublest.c: Update copyright. | |
8169 | (extract_floating_by_length): Replace extract_floating. | |
8170 | (store_floating_by_length): Replace store_floating. | |
8171 | (deprecated_extract_floating): New function. | |
8172 | (deprecated_store_floating): New function. | |
8173 | (extract_typed_floating): Call extract_floating_by_length. | |
8174 | (store_typed_floating): Call store_floating_by_length. | |
8175 | * x86-64-tdep.c (x86_64_store_return_value): Update. | |
8176 | * sh-tdep.c (sh3e_sh4_extract_return_value): Update. | |
8177 | (sh64_extract_return_value): Update. | |
8178 | (sh_sh4_register_convert_to_virtual): Update. | |
8179 | (sh_sh64_register_convert_to_virtual): Update. | |
8180 | (sh_sh4_register_convert_to_raw): Update. | |
8181 | (sh_sh64_register_convert_to_raw): Update. | |
8182 | * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. | |
8183 | (rs6000_register_convert_to_raw): Update. | |
8184 | * ia64-tdep.c (ia64_register_convert_to_virtual): Update. | |
8185 | (ia64_register_convert_to_raw): Update. | |
8186 | * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. | |
8187 | (REGISTER_CONVERT_TO_VIRTUAL): Update. | |
8188 | * arm-linux-tdep.c (arm_linux_push_arguments): Update. | |
8189 | * alpha-tdep.c (alpha_register_convert_to_virtual): Update. | |
8190 | (alpha_register_convert_to_raw): Update. | |
8191 | ||
4443bd83 AC |
8192 | 2003-04-08 Andrew Cagney <[email protected]> |
8193 | ||
8194 | * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. | |
8195 | * gdbarch.h, gdbarch.c: Re-generate. | |
8196 | * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. | |
8197 | (d10v_gdbarch_init): Do not set saved_pc_after_call. | |
8198 | * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P | |
8199 | conditionally, use frame_pc_unwind as an alternative. Add | |
8200 | comments. | |
8201 | * arch-utils.c (init_frame_pc_default): Only call | |
8202 | SAVED_PC_AFTER_CALL when available. | |
8203 | ||
c0236d92 EZ |
8204 | 2003-04-08 Elena Zannoni <[email protected]> |
8205 | ||
fbe586ae | 8206 | * infrun.c (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
8207 | (struct inferior_status): Rename stop_soon_quietly field to stop_soon. |
8208 | (clear_proceed_status): Rename stop_soon_quietly to stop_soon. | |
8209 | (start_remote): Ditto. | |
8210 | (handle_inferior_event): Ditto. | |
8211 | (save_inferior_status): Ditto. | |
8212 | (restore_inferior_status): Ditto. | |
8213 | * infcmd.c (attach_command): Ditto. | |
8214 | * fork-child.c (startup_inferior): Ditto. | |
fbe586ae | 8215 | * inferior.h (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
8216 | * alpha-tdep.c (heuristic_proc_start): Ditto. |
8217 | * mips-tdep.c (heuristic_proc_start): Ditto. | |
8218 | * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. | |
8219 | * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. | |
8220 | * solib-osf.c (osf_solib_create_inferior_hook): Ditto. | |
8221 | * solib-irix.c (irix_solib_create_inferior_hook): Ditto. | |
8222 | * remote-vx.c (vx_create_inferior): Ditto. | |
8223 | ||
8224 | 2003-04-08 Elena Zannoni <[email protected]> | |
8225 | ||
8226 | * infrun.c (stop_soon_quietly): Make it an enum, to better | |
8227 | override the default behavior of handle_inferior_event. | |
8228 | (clear_proceed_status): Update uses of stop_soon_quietly to | |
8229 | reflect that it is now an enum. | |
8230 | (start_remote): Ditto. | |
8231 | (handle_inferior_event): Change logic a bit if stop_soon_quietly | |
8232 | is set to handle the new GNU/Linux kernel behavior for | |
8233 | attach/sigstop. Update uses of stop_soon_quietly. | |
8234 | * inferior.h (enum stop_kind): New enum. | |
8235 | * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. | |
8236 | Reset normal handle_inferior_event behavior, afterwards. | |
8237 | * fork-child.c (startup_inferior): Update. | |
8238 | * alpha-tdep.c (heuristic_proc_start): Update. | |
8239 | * solib-svr4.c (svr4_solib_create_inferior_hook): Update. | |
8240 | * solib-sunos.c (sunos_solib_create_inferior_hook): Update. | |
8241 | * solib-osf.c (osf_solib_create_inferior_hook): Update. | |
8242 | * solib-irix.c (irix_solib_create_inferior_hook): Update. | |
8243 | * remote-vx.c (vx_create_inferior): Update. | |
8244 | * mips-tdep.c (heuristic_proc_start): Update. | |
8245 | ||
1211bce3 EZ |
8246 | 2003-04-07 Elena Zannoni <[email protected]> |
8247 | ||
8248 | * disasm.c (dump_insns): Move variables inside loop, or they will | |
fbe586ae | 8249 | be freed more than once, causing wild memory corruptions. |
1211bce3 | 8250 | (gdb_disassembly): Look for the substring "-thread", |
fbe586ae | 8251 | instead of "-threads" in the target name, to make sure to find |
8ffd9b1b | 8252 | the 'multi-thread' target. Also, make sure we do the right thing |
fbe586ae | 8253 | with the "core" target. |
1211bce3 | 8254 | |
f0ef6b29 KB |
8255 | 2003-04-07 Kevin Buettner <[email protected]> |
8256 | ||
8257 | * mips-tdep.c (mips_print_fp_register): New function, created from | |
8258 | do_fp_register_row(). Registers are now (also) printed as hex. | |
8259 | Only one register is printed per row. | |
8260 | (mips_print_register, do_fp_register_row): Print floating point | |
8261 | registers with mips_print_fp_register(). | |
8262 | ||
8cf71652 AC |
8263 | 2003-04-06 Andrew Cagney <[email protected]> |
8264 | ||
5e488a7b AC |
8265 | * valprint.h (inspect_it): Add extern declaration. |
8266 | * objc-lang.c (value_nsstring): Avoid assignment inside of "if". | |
8267 | (selectors_info, classes_info): Ditto. | |
8268 | (find_objc_msgcall): Fix indentation. | |
8269 | (objc_printstr): Delete extern declarations. | |
8270 | ||
8cf71652 AC |
8271 | * arm-tdep.c (arm_frameless_function_invocation): Fix typo. |
8272 | ||
e6ba3bc9 AC |
8273 | 2003-04-06 Andrew Cagney <[email protected]> |
8274 | ||
8275 | * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid. | |
8276 | Update comment. | |
8277 | * frame.c (legacy_saved_regs_this_id): Update. | |
8278 | (legacy_get_prev_frame): Update. | |
8279 | * xstormy16-tdep.c: Update comment. | |
8280 | * sparc-tdep.c (sparc_frame_chain): Update comment. | |
8281 | * blockframe.c (legacy_frame_chain_valid): Update. | |
8282 | ||
55e1d7e7 AC |
8283 | 2003-04-06 Andrew Cagney <[email protected]> |
8284 | ||
996179ee AC |
8285 | * valprint.c (val_print_type_code_int): Delete #ifdef |
8286 | PRINT_TYPELESS_INTEGER code. | |
8287 | ||
55e1d7e7 AC |
8288 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES) |
8289 | (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial | |
8290 | multi-arch definition. | |
8291 | * gdbarch.h: Re-generate. | |
8292 | ||
43bd9a9e AC |
8293 | 2003-04-05 Andrew Cagney <[email protected]> |
8294 | ||
8295 | Eliminate FRAME_FIND_SAVED_REGS. | |
8296 | * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
8297 | Change FSR parameter to a pointer. | |
8298 | * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): | |
8299 | Assume FSR parameter is a pointer. | |
8300 | * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
8301 | Make fsr a pointer. | |
8302 | * hppa-tdep.c (hppa_frame_find_saved_regs): New function. | |
8303 | (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make | |
8304 | saved_regs a pointer. | |
8305 | (hppa_frame_saved_pc): Ditto. | |
8306 | (find_dummy_frame_regs): Make frame_saved_regs a pointer | |
8307 | (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a | |
8308 | pointer. | |
8309 | (restore_pc_queue): Make fsr a pointer. | |
8310 | (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer. | |
8311 | (hppa_frame_chain): Make saved_regs a pointer, call | |
8312 | hppa_frame_init_saved_regs. | |
8313 | * sparc-tdep.c: Include "gdb_assert.h". | |
8314 | (sparc_frame_find_saved_regs): Replace internal_error with | |
8315 | gdb_assert. | |
8316 | * remote-vxsparc.c (vx_read_register): Delete reference to | |
8317 | FRAME_FIND_SAVED_REGS. | |
8318 | * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS. | |
8319 | * gdbarch.h: Regenerate. | |
8320 | * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
8321 | (deprecated_get_frame_saved_regs): Delete declaration. | |
8322 | (struct frame_saved_regs): Delete definition. | |
8323 | * frame.c (deprecated_get_frame_saved_regs): Delete function. | |
8324 | * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare. | |
8325 | (hppa_frame_find_saved_regs): Delete declaration. | |
8326 | (FRAME_FIND_SAVED_REGS): Delete macro. | |
8327 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Define. | |
8328 | * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete | |
8329 | FRAME_FIND_SAVED_REGS in comment. | |
8330 | ||
be41e9f4 AC |
8331 | 2003-04-05 Andrew Cagney <[email protected]> |
8332 | ||
8333 | * frame.c (frame_func_unwind, get_frame_func): New functions. | |
8334 | * frame.h (get_frame_func, frame_func_unwind): Declare. | |
8335 | (struct frame_info): Add field "prev_func" for caching the | |
8336 | previous frame's function address. | |
8337 | * arm-tdep.c (arm_frameless_function_invocation): Combine | |
8338 | get_pc_function_start and get_frame_pc into get_frame_func. | |
8339 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
8340 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
8341 | * s390-tdep.c (s390_function_start): Ditto. | |
8342 | * rs6000-tdep.c (rs6000_pop_frame): Ditto. | |
8343 | (rs6000_frameless_function_invocation): Ditto. | |
8344 | (rs6000_frame_saved_pc): Ditto. | |
8345 | * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto. | |
8346 | * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto. | |
8347 | * i386-tdep.c (i386_frameless_signal_p): Ditto. | |
8348 | (i386_frame_init_saved_regs): Ditto. | |
8349 | * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto. | |
8350 | * d10v-tdep.c (d10v_frame_unwind_cache): Combine | |
8351 | get_pc_function_start and frame_pc_unwind into frame_func_unwind. | |
8352 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
8353 | * blockframe.c (frameless_look_for_prologue): Ditto. | |
8354 | ||
a01dd7cc AC |
8355 | 2003-04-05 Andrew Cagney <[email protected]> |
8356 | ||
8357 | * frame.c (legacy_get_prev_frame): Link prev to next at the | |
8358 | function start. Update comments. | |
8359 | ||
5e5592e6 AC |
8360 | 2003-04-05 Andrew Cagney <[email protected]> |
8361 | ||
8362 | * frame.c (get_frame_id): Update comment. | |
8363 | (legacy_get_prev_frame): Update comment. | |
8364 | * gdbarch.sh: Delete check for EXTRA_FRAME_INFO. | |
8365 | * gdbarch.h: Regenerate. | |
8366 | * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete. | |
8367 | * frame.h: Delete #ifdef EXTRA_FRAME_INFO code. | |
8368 | ||
6fba5002 AC |
8369 | 2003-04-05 Andrew Cagney <[email protected]> |
8370 | ||
8371 | * stack.c (print_frame_info): Use get_frame_pc. | |
8372 | ||
7df05f2b AC |
8373 | 2003-04-04 Andrew Cagney <[email protected]> |
8374 | ||
8375 | * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set | |
8376 | the frame's type from the unwinder. | |
8377 | (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME. | |
8378 | (create_new_frame, legacy_get_prev_frame): When the unwinder's | |
8379 | type isn't UNKNOWN_FRAME, initalize "type" from the unwinder. | |
8380 | (get_frame_base_address): Use get_frame_type. | |
8381 | (get_frame_locals_address, get_frame_args_address): Ditto. | |
8382 | (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE. | |
8383 | * frame.h (enum frame_type): Add UNKNOWN_FRAME. | |
8384 | (struct frame_info): Add comment explaining why the frame contains | |
8385 | a "type" field. | |
8386 | * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME. | |
8387 | * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME. | |
8388 | * sentinel-frame.c (sentinel_frame_unwinder): Set the type to | |
8389 | NORMAL_FRAME. | |
8390 | * frame-unwind.h: Include "frame.h". | |
8391 | (struct frame_unwind): Add "type" field. | |
8392 | * Makefile.in (frame_unwind_h): Add $(frame_h). | |
8ffd9b1b | 8393 | |
11889732 AC |
8394 | 2003-04-04 Andrew Cagney <[email protected]> |
8395 | ||
8396 | * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build. | |
8397 | * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. | |
8398 | * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and | |
8399 | get_frame_base. | |
8400 | (d10v_unwind_dummy_id): Use frame_id_build. | |
8401 | * frame.c (find_frame_sal): Use get_frame_pc. | |
8402 | (create_new_frame): Use deprecated_update_frame_pc_hack and | |
8403 | deprecated_update_frame_base_hack. | |
8404 | (create_sentinel_frame): Add comment about ->pc going away. | |
8405 | (get_prev_frame): Add comment about ->pc going away. | |
8406 | (legacy_get_prev_frame): Use get_frame_base, get_frame_pc, | |
8407 | frame_id_build, deprecated_update_frame_pc_hack and | |
8408 | deprecated_update_frame_base_hack. | |
8409 | (select_frame): Use get_frame_pc. | |
8410 | (legacy_saved_regs_this_id): Use frame_id_build. | |
8411 | ||
50c46a0d EZ |
8412 | 2003-04-04 Elena Zannoni <[email protected]> |
8413 | ||
fbe586ae RH |
8414 | * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the |
8415 | signed integer case. | |
8416 | (classify_argument): Handle enumerations and references. | |
50c46a0d | 8417 | |
50bbdbd9 AC |
8418 | 2003-04-04 Andrew Cagney <[email protected]> |
8419 | ||
8420 | * frame.c (create_sentinel_frame): Initialize the sentinel frame's | |
8421 | ID to NULL. | |
8422 | ||
36018d2e AF |
8423 | 2003-04-01 Adam Fedor <[email protected]> |
8424 | ||
8425 | * gdb/objc-lang.c (selectors_info): Replace calls to | |
8426 | SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with | |
8427 | SYMBOL_NATURAL_NAME. | |
8428 | (classes_info, find_methods): Likewise. | |
8429 | ||
35cec841 KB |
8430 | 2003-04-03 Kevin Buettner <[email protected]> |
8431 | ||
8432 | * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set | |
8433 | ``mach'' to the value determined by bfd_default_set_arch_mach(). | |
8434 | ||
43136899 BR |
8435 | 2003-04-02 Bob Rossi <[email protected]> |
8436 | ||
8437 | * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o". | |
8438 | (SUBDIR_MI_SRCS): Add "mi-cmd-file.c". | |
8439 | (mi-cmd-file.o): Update dependencies. | |
8440 | ||
040b99fd KB |
8441 | 2003-04-01 Kevin Buettner <[email protected]> |
8442 | ||
8443 | * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
8444 | (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. | |
8445 | ||
9a3d7dfd AF |
8446 | 2003-04-01 Adam Fedor <[email protected]> |
8447 | ||
8448 | * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h). | |
8449 | * language.h (struct language_defn): Add la_demangle. | |
8450 | (language_demangle): Declare. | |
8451 | * language.c (language_demangle): New function. | |
8452 | (unk_lang_demangle): Likewise. | |
8453 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
fbe586ae | 8454 | Add ukn_lang_demangle. |
9a3d7dfd | 8455 | * ada-lang.c (ada_language_defn): Add NULL for la_demangle element. |
fbe586ae | 8456 | * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise. |
9a3d7dfd AF |
8457 | * c-lang.c (c_language_defn, asm_language_defn): Likewise. |
8458 | (cplus_language_defn): Add cplus_demangle for la_demangle element. | |
8459 | * jv-lang.c (java_demangle): New function | |
8460 | (java_language_defn): Use it for la_demangle element. | |
fbe586ae RH |
8461 | * objc-lang.c (objc_demangle): Add options argument |
8462 | (objc_language_defn): Use objc_demangle for la_demangle element. | |
9a3d7dfd AF |
8463 | * maint.c (maintenance_demangle): Replace switch with |
8464 | call to language_demangle. | |
8465 | * utils.c (fprintf_symbol_filtered): Likewise. | |
8466 | ||
5e074003 AC |
8467 | 2003-04-01 Andrew Cagney <[email protected]> |
8468 | ||
8469 | * printcmd.c (print_frame_nameless_args): Delete #ifdef | |
8470 | NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and | |
8471 | PRINT_TYPELESS_INTEGER. | |
8472 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename | |
8473 | PUSH_RETURN_ADDRESS. | |
8474 | ||
270cb5d6 AC |
8475 | 2003-04-01 Andrew Cagney <[email protected]> |
8476 | ||
8477 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
8478 | * d10v-tdep.c: Include "frame-base.h". | |
8479 | (d10v_frame_unwind): Make constant. | |
8480 | (d10v_frame_base_address): New function. | |
8481 | (d10v_frame_base): New variable. | |
8482 | (d10v_gdbarch_init): Set frame_base default. | |
8483 | (struct d10v_unwind_cache): Add the field "prev_sp". Update | |
8484 | comment for base. | |
8485 | (d10v_frame_unwind_cache): Set and use "prev_sp". | |
8486 | (d10v_frame_this_id): Use the previous frame's inner most stack | |
8487 | address and this frame's func address for the frame ID. Use | |
8488 | frame_id_build. Don't analyze beyond the current instruction. | |
8ffd9b1b | 8489 | |
6bfb3e36 AC |
8490 | 2003-04-01 Andrew Cagney <[email protected]> |
8491 | ||
8492 | * frame.h (get_frame_locals_address, get_frame_args_address): | |
8493 | Refer to the base address, instead of the address of the first | |
8494 | local or parameter. | |
8ffd9b1b | 8495 | |
da62e633 AC |
8496 | 2003-04-01 Andrew Cagney <[email protected]> |
8497 | ||
8498 | Add frame debug info addresses: | |
8499 | * frame-base.c: New file. | |
8500 | * frame-base.h: New file. | |
8501 | * frame.h (struct frame_base): Add opaque declaration. | |
8502 | (get_frame_base): Update comment. | |
8503 | (get_frame_base_address): Declare. | |
8504 | (get_frame_locals_address): Declare. | |
8505 | (get_frame_args_address): Declare. | |
8506 | (struct frame_info): Add "base" and "base_cache". Update | |
8507 | comments on the unwinder. | |
8508 | * frame.c: Include "frame-base.h". | |
8509 | (get_frame_locals_address): New function. | |
8510 | (get_frame_base_address): New function. | |
8511 | (get_frame_args_address): New function. | |
8512 | * findvar.c (read_var_value): Use get_frame_locals_address and | |
8513 | get_frame_args_address. | |
8514 | * stack.c (frame_info): Use get_frame_locals_address and | |
8515 | get_frame_args_address. | |
8516 | (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro, | |
8517 | moved to "frame-base.c". | |
8518 | * printcmd.c (print_frame_nameless_args): Ditto. | |
8519 | * symtab.h (address_class): Update comments. | |
8520 | * dwarf2loc.c (dwarf_expr_frame_base): Add note about | |
8521 | get_frame_base_address. | |
8522 | * dwarf2expr.c (execute_stack_op): Ditto. | |
8523 | * Makefile.in (frame_base_h): Define. | |
8524 | (frame.o): Update dependencies. | |
8525 | (frame-base.o): Add dependencies. | |
8526 | (SFILES): Add frame-base.c. | |
8527 | (COMMON_OBS): Add frame-base.o. | |
8528 | ||
3d30e9c2 AC |
8529 | 2003-04-01 Andrew Cagney <[email protected]> |
8530 | ||
8531 | * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero. | |
8532 | CALL_DUMMY_LENGTH): Ditto. | |
8533 | * gdbarch.c: Re-generate. | |
8534 | * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro. | |
8535 | (CALL_DUMMY_LENGTH): Delete macro. | |
8536 | * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero. | |
8537 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8538 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8539 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8540 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8541 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8542 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8543 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
8544 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8545 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8546 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8547 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8548 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8549 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8550 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8551 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8552 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8553 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8554 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8555 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8556 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
8557 | ||
ce0c7262 CV |
8558 | 2003-04-01 Corinna Vinschen <[email protected]> |
8559 | ||
8560 | * frame.c (get_prev_frame): Disable call to inside_entry_file(). | |
8561 | ||
73dd234f AC |
8562 | 2003-04-01 Andrew Cagney <[email protected]> |
8563 | ||
8564 | * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero. | |
8565 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8566 | * gdbarch.h, gdbarch.c: Re-generate. | |
8567 | * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8568 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8569 | * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8570 | * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8571 | (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
8572 | * infcmd.c (run_stack_dummy): Simplify assuming | |
8573 | CALL_DUMMY_BREAKPOINT_OFFSET_P. | |
8574 | * infrun.c (handle_inferior_event): Ditto. | |
8575 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
8576 | call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p. | |
8577 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8578 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8579 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8580 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8581 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8582 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8583 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8584 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8585 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8586 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8587 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8588 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8589 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8590 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
8591 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8592 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8593 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8594 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8595 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8596 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8597 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
8598 | ||
97606a13 DJ |
8599 | 2003-04-01 Daniel Jacobowitz <[email protected]> |
8600 | ||
8601 | * symfile.c (symfile_relocate_debug_section): Update call to | |
8602 | bfd_simple_get_relocated_section_contents. | |
8603 | ||
e8ab51f7 AC |
8604 | 2003-03-31 Andrew Cagney <[email protected]> |
8605 | ||
8606 | * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. | |
8607 | * gdbarch.h, gdbarch.c: Regenerate. | |
8608 | * inferior.h (FIX_CALL_DUMMY): Delete macro. | |
8609 | * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when | |
8610 | available. | |
8611 | * frame.h (generic_fix_call_dummy): Delete declaration. | |
8612 | * dummy-frame.h: Update comment. | |
8613 | * dummy-frame.c (generic_fix_call_dummy): Delete function. | |
8614 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
8615 | fix_call_dummy. | |
8616 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8617 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8618 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8619 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8620 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8621 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8622 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8623 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8624 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8625 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8626 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8627 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8628 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8629 | ||
018d1b48 JB |
8630 | 2003-03-31 J. Brobecker <[email protected]> |
8631 | ||
8632 | * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful. | |
8633 | (INIT_FRAME_AP): Likewise. | |
8634 | (EXTRA_FRAME_INFO): Likewise. | |
8635 | ||
e9a2674e AC |
8636 | 2003-03-31 Andrew Cagney <[email protected]> |
8637 | ||
8638 | * gdbarch.sh: Include "symfile.h". | |
8639 | (CALL_DUMMY_ADDRESS): Default to entry_point_address. | |
8640 | * gdbarch.h, gdbarch.c: Re-generate. | |
8641 | * inferior.h (CALL_DUMMY_ADDRESS): Delete macro. | |
8642 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
8643 | call_dummy_address, the default is at entry_point_address. | |
8644 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8645 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8646 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8647 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8648 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8649 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8650 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8651 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8652 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8653 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8654 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8655 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8656 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8657 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8658 | ||
e8a8712a AC |
8659 | 2003-03-31 Andrew Cagney <[email protected]> |
8660 | ||
8661 | * gdbarch.sh (CALL_DUMMY_P): Delete. | |
8662 | * gdbarch.h, gdbarch.c: Re-generate. | |
8663 | * inferior.h (CALL_DUMMY_P): Delete macro. | |
8664 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8665 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8666 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8667 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8668 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8669 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8670 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8671 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8672 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8673 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8674 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8675 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8676 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8677 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8678 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8679 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8680 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8681 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
8682 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8683 | * breakpoint.c (deprecated_frame_in_dummy): Update. | |
8684 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8685 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8686 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8687 | * dummy-frame.c (dummy_frame_this_id): Update comments. | |
8688 | * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto. | |
8689 | * frame.c (legacy_get_prev_frame): Ditto. | |
8690 | * valops.c (call_function_by_hand): Delete function. | |
8691 | (hand_function_call): Rename to call_function_by_hand | |
8692 | ||
ed234cf8 AC |
8693 | 2003-03-30 Andrew Cagney <[email protected]> |
8694 | ||
8695 | 2002-11-10 Klee Dienes <[email protected]> | |
fbe586ae | 8696 | * value.h (struct value): Update comment. |
ed234cf8 | 8697 | |
06c77151 AC |
8698 | 2003-03-30 Andrew Cagney <[email protected]> |
8699 | ||
6c2b5168 AC |
8700 | * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with |
8701 | D10V_FP_REGNUM. | |
8702 | (d10v_gdbarch_init): Do not set fp_regnum. | |
8703 | ||
06c77151 AC |
8704 | * frame.c (get_frame_base): Force ID initialization. |
8705 | (get_prev_frame): Move computation of the frame ID from here ... | |
8706 | (get_frame_id): ... to here. | |
8707 | (legacy_get_prev_frame): Mark the frame ID as valid. | |
8708 | * frame.h (struct frame_info): Add field "id_p". | |
8709 | ||
97a1a11c MK |
8710 | 2003-03-30 Mark Kettenis <[email protected]> |
8711 | ||
8712 | * i386-tdep.c (i386_store_struct_return): Removed. | |
8713 | (i386_gdbarch_init): Don't set deprecated_store_struct_return. | |
8714 | ||
6c0e89ed AC |
8715 | 2003-03-30 Andrew Cagney <[email protected]> |
8716 | ||
8717 | * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP. | |
8718 | * gdbarch.h, gdbarch.c: Regenerate. | |
8719 | * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp. | |
8720 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
8721 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8722 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8723 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8724 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8725 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8726 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8727 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8728 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
8729 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8730 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
8731 | * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update. | |
8732 | * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
8733 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define. | |
8734 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8735 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8736 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8737 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8738 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8739 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8740 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8741 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8742 | * valops.c (hand_function_call): Replace TARGET_WRITE_SP with | |
8743 | DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, | |
8744 | instead of when push_dummy_call is not available. | |
8ffd9b1b | 8745 | |
f7dd6af2 AC |
8746 | 2003-03-30 Andrew Cagney <[email protected]> |
8747 | ||
8748 | * infttrace.c: Include "gdbthread.h". | |
8749 | (parent_attach_all): Fix function signature. | |
8750 | (call_ptrace): Update call. | |
8751 | * Makefile.in (infttrace.o): Update dependencies. | |
8752 | ||
28f617b3 AC |
8753 | 2003-03-30 Andrew Cagney <[email protected]> |
8754 | ||
8755 | * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace | |
8756 | PUSH_RETURN_ADDRESS. | |
8757 | * gdbarch.h, gdbarch.c: Regenerate. | |
8758 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8759 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8760 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8761 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8762 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8763 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8764 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8765 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8766 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8767 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8768 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8769 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8770 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8771 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8772 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8773 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8774 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8775 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8776 | * valops.c (hand_function_call): Update. | |
8777 | ||
4d628cd7 AC |
8778 | 2003-03-29 Andrew Cagney <[email protected]> |
8779 | ||
8780 | * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or | |
8781 | sizeof_call_dummy_words. | |
8782 | * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always | |
8783 | define. | |
8784 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 8785 | |
65e82032 AC |
8786 | 2003-03-29 Andrew Cagney <[email protected]> |
8787 | ||
8788 | * infttrace.h: New file. | |
8789 | * hpread.c: Include "gdb_assert.h" and "somsolib.h". | |
8790 | (hpread_get_textlow): Detect an uninitialized dn_bufp. | |
8791 | (hpread_read_doc_function_type): Detect an initialized type1. | |
8792 | (hpread_quick_traverse): Initialize mod_name_string. | |
8793 | * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. | |
8794 | (som_solib_get_solib_by_pc): Declare. | |
8795 | (so_lib_thread_start_addr): Declare. | |
8796 | (no_shared_libraries): Declare. | |
8797 | * somread.c (init_import_symbols): Make static. Add forward | |
8798 | declaration. | |
8799 | * config/pa/nm-hppah.h: Include "infttrace.h" for | |
8800 | parent_attach_all. | |
8801 | (hppa_insert_hw_watchpoint): Declare. | |
8802 | (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. | |
8803 | * hppah-nat.c: Include "gdb_string.h". | |
8804 | (parent_attach_all): Delete extern declaration, moved to | |
8805 | "infttrace.h". | |
8806 | (hppa_can_use_hw_watchpoint): Change type of "type" parameter to | |
8807 | int. | |
8808 | (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. | |
8809 | * Makefile.in (infttrace_h): Define. | |
8810 | (hpread.o): Update dependencies. | |
8811 | (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. | |
8812 | * hppa-hpux-tdep.c: Include "gdb_string.h". | |
8813 | * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". | |
8814 | * infrun.c (handle_inferior_event): Always initialize | |
8815 | stepped_after_stopped_by_watchpoint. Add default and remove | |
8816 | fallthrough in switch statement. | |
8817 | * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" | |
8818 | parameter to int. | |
8819 | (hppa_remove_hw_watchpoint): Ditto. | |
8820 | ||
2c3bbe77 AC |
8821 | 2003-03-29 Andrew Cagney <[email protected]> |
8822 | ||
8823 | * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint | |
8824 | offset. | |
8825 | ||
2dd604e7 RE |
8826 | 2003-03-29 Richard Earnshaw <[email protected]> |
8827 | ||
8828 | * arm-tdep.c (arm_push_arguments): Delete. | |
8829 | (struct stack_item): New type. | |
8830 | (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. | |
8831 | (arm_store_struct_return): Delte. | |
8832 | (arm_gdbarch_init): Register arm_push_dummy_call. Don't register | |
8833 | arm_push_arguments or arm_store_struct_return. | |
8834 | ||
e8933a55 AC |
8835 | 2003-03-28 Andrew Cagney <[email protected]> |
8836 | ||
8837 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
8838 | * remote.h (target_resume_hook, target_wait_loop_hook): Declare. | |
8839 | * d10v-tdep.c: Include "remote.h". | |
8840 | (target_resume_hook): Delete extern declaration. | |
8841 | (target_wait_loop_hook): Ditto. | |
8842 | (tdisassemble_command): Eliminate assignment in "if" conditional. | |
8843 | (d10v_ts2_register_sim_regno): Eliminate call to | |
8844 | legacy_register_sim_regno. | |
8845 | (d10v_ts3_register_sim_regno): Ditto. | |
8846 | ||
6949171e JJ |
8847 | 2003-03-28 Jeff Johnston <[email protected]> |
8848 | ||
8849 | * thread.c: Reindented. | |
8850 | * lin-lwp.c: Ditto. | |
8851 | * linux-proc.c: Ditto. | |
8852 | ||
98c7071f BR |
8853 | 2003-03-28 Bob Rossi <[email protected]> |
8854 | ||
fbe586ae | 8855 | * MAINTAINERS (write after approval): Add myself. |
98c7071f | 8856 | |
5edc9ca6 TR |
8857 | 2003-03-27 Theodore A. Roth <[email protected]> |
8858 | ||
8859 | * objc-exp.y: Add missing semi-colons. | |
8860 | ||
378bfd1b AC |
8861 | 2003-03-27 Andrew Cagney <[email protected]> |
8862 | ||
8863 | * regcache.c (write_sp): Delete function and references. | |
8864 | * inferior.h (write_sp): Delete declaration. | |
8865 | * valops.c (hand_function_call): Replace write_sp with | |
8866 | TARGET_WRITE_SP. | |
8867 | * sparc-tdep.c (sparc_push_dummy_frame): Ditto. | |
8868 | (sparc_pop_frame): Ditto. | |
8ffd9b1b | 8869 | |
56056df7 AC |
8870 | 2003-03-27 Andrew Cagney <[email protected]> |
8871 | ||
8872 | * NEWS: Mention removal of support for hppa*-*-bsd* and | |
8873 | hppa*-*-osf* natives, and hppa*-*-pro* target. | |
8874 | * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h". | |
8875 | * config/pa/xm-pa.h: Obsolete file. | |
8876 | * config/pa/xm-hppab.h: Obsolete file. | |
8877 | * config/pa/nm-hppab.h: Obsolete file. | |
8878 | * config/pa/tm-hppab.h: Obsolete file. | |
8879 | * config/pa/tm-hppao.h: Obsolete file. | |
8880 | * config/pa/nm-hppao.h: Obsolete file. | |
8881 | * config/pa/tm-pro.h: Obsolete file. | |
8882 | * config/pa/hppaosf.mt: Obsolete file. | |
8883 | * config/pa/hppaosf.mh: Obsolete file. | |
8884 | * config/pa/hppapro.mt: Obsolete file. | |
8885 | * config/pa/hppabsd.mt: Obsolete file. | |
8886 | * config/pa/hppabsd.mh: Obsolete file. | |
8887 | * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*. | |
8888 | * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and | |
8889 | hppa*-*-osf*. | |
8890 | ||
5873a88d AC |
8891 | 2003-03-27 Andrew Cagney <[email protected]> |
8892 | ||
8893 | * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of | |
8894 | push_arguments. Don't set push_return_address or write_sp. | |
8895 | (d10v_push_dummy_call): Replace d10v_push_arguments. | |
8896 | (d10v_push_return_address, d10v_write_sp): Delete function, | |
8897 | handled by push_dummy_call. | |
8898 | ||
b81774d8 AC |
8899 | 2003-03-26 Andrew Cagney <[email protected]> |
8900 | ||
8901 | * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS. | |
8902 | (push_dummy_call): New pure multi-arch replacement with gdbarch, | |
8903 | regcache and dummy_addr parameters. | |
8904 | * gdbarch.h, gdbarch.c: Re-generate. | |
8905 | * valops.c (hand_function_call): Use gdbarch_push_dummy_call when | |
8906 | available; assume it will handle stack alignment and return | |
8907 | address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and | |
8908 | legacy_push_arguments. | |
8909 | (legacy_push_arguments): Rename default_push_arguments. | |
8910 | * value.h (legacy_push_arguments): Rename default_push_arguments. | |
8911 | * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments. | |
8912 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
8913 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
8914 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
8915 | * config/i386/tm-symmetry.h: Update. | |
8916 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8917 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8918 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8919 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8920 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8921 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8922 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8923 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8924 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8925 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8926 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8927 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8928 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8929 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8930 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8931 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8932 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
8933 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8934 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8935 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8936 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
8937 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8938 | ||
f541410f DJ |
8939 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8940 | ||
8941 | * signals/signals.c (do_target_signal_to_host): Correct realtime | |
8942 | signal range test. | |
8943 | ||
69f567ae DJ |
8944 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8945 | ||
8946 | * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals) | |
8947 | (struct sal_chain, map_catch_names): Remove. | |
8948 | (catch_exception_command_1): Don't call | |
8949 | handle_gnu_4_16_catch_command. | |
8950 | ||
d5d14a5a DJ |
8951 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8952 | ||
8953 | From Mark Dettinger <[email protected]>: | |
8954 | * dwarf2cfi.c (read_2u): Increment pointer by two. | |
8955 | ||
bdd73e22 DJ |
8956 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8957 | ||
8958 | * signals/signals.c: Fix typos in last change. | |
8959 | ||
960cb555 DJ |
8960 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8961 | ||
8962 | * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if | |
8963 | not already defined. Use __SIGRTMIN if available. | |
8964 | (target_signal_from_host): Remove SIGRTMIN block. | |
8965 | (do_target_signal_to_host): Remove SIGRTMIN block; check that | |
8966 | the signal is within the realtime range. | |
8967 | ||
f636b87d AF |
8968 | 2003-03-25 Adam Fedor <[email protected]> |
8969 | ||
8970 | * Makefile.in (infrun.o): Add $(language_h) | |
8971 | * infrun.c (handle_inferior_event): Use skip_language_trampoline | |
8972 | for language specific trampolines. | |
8973 | * language.h (struct language_defn): Add skip_trampoline. | |
8974 | (skip_language_trampoline): Declare. | |
8975 | * language.c (unk_lang_trampoline, skip_language_trampoline): | |
8976 | New functions. | |
8977 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
8978 | Add ukn_lang_trampoline. | |
8979 | * ada-lang.c (ada_language_defn): Add NULL for language | |
8980 | specific skip_trampoline. | |
8981 | * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c, | |
8982 | scm-lang.c: Likewise. | |
8983 | * objc-lang.c (objc_skip_trampoline): New function. | |
8984 | (objc_language_defn): Add objc_skip_trampoline. | |
8985 | ||
28f617b3 | 8986 | 2003-03-25 Andrew Cagney <[email protected]> |
270c3b1d AC |
8987 | |
8988 | * frame.c (get_prev_frame): Delay validating a frame's ID - | |
8989 | non-NULL, didn't go backwards - until an attempt to unwind it to | |
8990 | the previous frame. | |
8991 | ||
f933a9c5 AC |
8992 | 2003-03-25 Andrew Cagney <[email protected]> |
8993 | ||
8994 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace | |
8995 | EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. | |
8996 | * gdbarch.h, gdbarch.c: Re-generate. | |
8997 | * config/sparc/tm-sparc.h | |
8998 | (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. | |
8999 | * sparc-tdep.c (sparc_gdbarch_init): Set | |
9000 | deprecated_extra_stack_alignment_needed. | |
9001 | * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. | |
9002 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear | |
9003 | extra_stack_alignment_needed. | |
9004 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9005 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
9006 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9007 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9008 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9009 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
9010 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 9011 | |
4183d812 AC |
9012 | 2003-03-25 Andrew Cagney <[email protected]> |
9013 | ||
9014 | * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace | |
9015 | STORE_STRUCT_RETURN. | |
9016 | * gdbarch.h, gdbarch.c: Regenerate. | |
9017 | * d10v-tdep.c (d10v_store_struct_return): Delete function. | |
9018 | (d10v_push_arguments): Set the struct return register. | |
9019 | (d10v_gdbarch_init): Update. | |
9020 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9021 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9022 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9023 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9024 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9025 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9026 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9027 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9028 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9029 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9030 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9031 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9032 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9033 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9034 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9035 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9036 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9037 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9038 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9039 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9040 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9041 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9042 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 9043 | |
1bf6d5cc AC |
9044 | 2003-03-25 Andrew Cagney <[email protected]> |
9045 | ||
9046 | * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. | |
9047 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace | |
9048 | CALL_DUMMY_STACK_ADJUST with a predicate variable. | |
9049 | * gdbarch.h, gdbarch.c: Regenerate. | |
9050 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
9051 | call_dummy_stack_adjust_p. | |
9052 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
9053 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9054 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9055 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9056 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9057 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
9058 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9059 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9060 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9061 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
9062 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9063 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9064 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9065 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9066 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9067 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9068 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9069 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9070 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9071 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
9072 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
9073 | * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update. | |
9074 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
9075 | * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set | |
9076 | call_dummy_stack_adjust_p. | |
9077 | * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro. | |
9078 | (CALL_DUMMY_STACK_ADJUST): Delete macro. | |
9079 | * sparc-tdep.c (sparc32_push_arguments): Update. | |
9080 | * valops.c (hand_function_call): Update. | |
9081 | ||
71c08af0 CV |
9082 | 2003-03-25 Corinna Vinschen <[email protected]> |
9083 | ||
9084 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to | |
9085 | set_gdbarch_char_signed. | |
9086 | ||
30757f90 RE |
9087 | 2003-03-25 Richard Earnshaw <[email protected]> |
9088 | ||
9089 | PR cli/548 | |
9090 | * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler". | |
9091 | ||
03d48a7d RE |
9092 | 2003-03-25 Richard Earnshaw <[email protected]> |
9093 | ||
9094 | * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. | |
9095 | (_initialize_arm_tdep): Don't set tm_print_insn. | |
9096 | ||
2cf6873c AF |
9097 | 2003-03-24 Adam Fedor <[email protected]> |
9098 | ||
9099 | * Makefile.in (YYOBJ): Add objc-exp.tab.o | |
9100 | * objc-lang.h: Add multiple inclusion protection. | |
9101 | (start_msglist, add_msglist, end_msglist): Additional declarations. | |
9102 | ||
17c0759e RE |
9103 | 2003-03-24 Richard Earnshaw <[email protected]> |
9104 | ||
9105 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum | |
9106 | value was renamed to ARM_FLOAT_SOFT_FPA. | |
9107 | ||
618ce49f AC |
9108 | 2003-03-23 Andrew Cagney <[email protected]> |
9109 | ||
9110 | * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN. | |
9111 | (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID. | |
9112 | * gdbarch.h, gdbarch.c: Regenerate. | |
9113 | * valops.c (hand_function_call): Update. | |
9114 | * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
9115 | * frame.c (legacy_saved_regs_this_id): Update. | |
9116 | (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update. | |
9117 | * dummy-frame.h: Update. | |
9118 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update. | |
9119 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
9120 | * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update. | |
9121 | * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update. | |
9122 | * config/m68k/tm-sun3.h: Update. | |
9123 | * blockframe.c (inside_main_func, frame_chain_valid): Update. | |
9124 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9125 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9126 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9127 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9128 | * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update. | |
9129 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9130 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9131 | * rs6000-tdep.c (rs6000_frame_saved_pc): Update. | |
9132 | (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update. | |
9133 | (frame_get_saved_regs): Update. | |
9134 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
9135 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9136 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9137 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9138 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9139 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9140 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9141 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9142 | * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update. | |
9143 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
9144 | (i386_interix_back_one_frame): Update. | |
9145 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9146 | (hppa_init_extra_frame_info): Update. | |
9147 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9148 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9149 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9150 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9151 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9152 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9153 | ||
fd50bc42 RE |
9154 | 2003-03-22 Richard Earnshaw <[email protected]> |
9155 | ||
9156 | * arm-tdep.h (arm_float_model): Add AUTO and LAST values. | |
9157 | (arm_get_fp_model): Declare. | |
9158 | * arm-tdep.c (fp_model_strings): New string array. | |
9159 | (arm_fp_model, current_fp_model): New variables. | |
9160 | (arm_get_fp_model): New function. | |
9161 | (arm_set_fp): New function. | |
9162 | (set_fp_model_sfunc): New function. | |
9163 | (show_fp_model): New function. | |
9164 | (_initialize_arm_tdep): Add new command to set/show the FPU. | |
9165 | (arm_extract_return_value): Use arm_get_fp_model. | |
9166 | (arm_store_return_value): Likewise. | |
9167 | (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp | |
9168 | to initialize the floating-point data types. | |
9169 | * arm-linux-tdep.c (arm_linux_init_abi): The default floating point | |
9170 | model is FPA. | |
9171 | ||
26304000 RE |
9172 | 2003-03-22 Richard Earnshaw <[email protected]> |
9173 | ||
9174 | * arm-tdep.c (show_arm_command): Don't print out help. Instead, show | |
9175 | the current setting of each value. | |
9176 | (_initialize_arm_tdep): Delete variable new_cmd and add new vars | |
8ffd9b1b | 9177 | new_set and new_show. Use add_setshow_cmd_full and |
26304000 RE |
9178 | add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" |
9179 | commands and add new version as subcommands of "set/show arm". | |
9180 | ||
afd7eef0 RE |
9181 | 2003-03-22 Richard Earnshaw <[email protected]> |
9182 | ||
9183 | * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists. | |
9184 | (set_arm_command, show_arm_command): New functions. | |
9185 | (_initialize_arm_tdep): Add them. | |
9186 | (num_disassembly_options): Renamed from num_flavor_options. | |
9187 | (valid_disassembly_styles): Renamed from valid_flavors. | |
9188 | (disassembly_style): Renamed from disassembly_flavor. | |
8ffd9b1b | 9189 | (set_disassembly_style_sfunc): Renamed from |
afd7eef0 RE |
9190 | set_disassembly_flavor_sfunc. |
9191 | (set_disassembly_style): Renamed from set_disassembly_flavor. | |
9192 | (arm_othernames): Updated. | |
9193 | (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor" | |
9194 | command. Add "set/show arm disassembly" commands. Deprecate | |
9195 | "othernames" command. | |
9196 | ||
299a7944 RE |
9197 | 2003-03-22 Richard Earnshaw <[email protected]> |
9198 | ||
9199 | * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define. | |
9200 | (arm-tdep.o): Depend on elf_arm_h. | |
9201 | ||
c1dac9e6 RE |
9202 | 2003-03-22 Richard Earnshaw <[email protected]> |
9203 | ||
9204 | * Makefile.in (coff_internal_h): Define. | |
9205 | (arm-tdep.o): Update dependencies. | |
9206 | ||
2702d96c RE |
9207 | 2003-03-22 Richard Earnshaw <[email protected]> |
9208 | ||
9209 | * arm-tdep.c (prologue_cache): Delete. | |
9210 | (check_prologue_cache, save_prologue_cache): Delete. | |
9211 | (arm_scan_prologue): Don't check or update the prologue_cache. | |
9212 | (arm_gdb_arch_init): Don't initialize it. | |
9213 | (_initialize_arm_tdep): Likewise. | |
9214 | ||
27d5d74b SC |
9215 | 2003-03-21 Stephane Carrez <[email protected]> |
9216 | ||
9217 | * MAINTAINERS (tui): Maintainer of tui code. | |
9218 | ||
1762d96d CV |
9219 | 2003-03-21 Corinna Vinschen <[email protected]> |
9220 | ||
9221 | * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c. | |
9222 | (i386-cygwin-tdep.o): Add dependencies. | |
9223 | * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. | |
9224 | * i386-cygwin-tdep.c: New file. | |
9225 | * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. | |
9226 | * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o. | |
9227 | ||
4c2e2391 AC |
9228 | 2003-03-20 Andrew Cagney <[email protected]> |
9229 | ||
f20d38b7 AC |
9230 | * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. |
9231 | (handle_inferior_event): Remove code calling | |
9232 | DYNAMIC_TRAMPOLINE_NEXTPC. | |
9233 | ||
0022b738 AC |
9234 | * Makefile.in (init.c): Don't add $(srcdir) prefix when a file |
9235 | already has a full path. | |
9236 | ||
864dbc90 AC |
9237 | * main.c (gdb_main): Return 1. |
9238 | (captured_main): Call error to report an invalid interpreter. | |
9239 | ||
4c2e2391 AC |
9240 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. |
9241 | * alpha-osf1-tdep.c: Include "gdb_string.h". | |
9242 | ||
5ef7553b JB |
9243 | 2003-03-19 J. Brobecker <[email protected]> |
9244 | ||
9245 | Continuing work to convert the hppa targets to multiarch partial. | |
9246 | ||
9247 | * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch | |
9248 | method, now that hppa_push_dummy_frame has a conformant prototype. | |
9249 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro | |
9250 | inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation | |
9251 | for the switch to multiarch partial. | |
9252 | ||
7bde8967 KB |
9253 | 2003-03-19 Kevin Buettner <[email protected]> |
9254 | ||
9255 | * mdebugread.c (parse_symbol): For stEnd, we're done counting | |
9256 | when iss is issNull. | |
9257 | ||
b006a9e9 KB |
9258 | 2003-03-18 Kevin Buettner <[email protected]> |
9259 | ||
9260 | * mips-tdep.c (mips_register_name): Fix fencepost error involving | |
9261 | NUM_REGS bounds check. | |
9262 | ||
5e2e9765 KB |
9263 | 2003-03-18 Kevin Buettner <[email protected]> |
9264 | ||
9265 | * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h). | |
9266 | * mips-tdep.c (gdb_assert.h): Include. | |
9267 | (mips_generic_reg_names, mips_processor_reg_names): Make static. | |
9268 | (mips_register_name): Handle integer registers explicitly. Add | |
9269 | bounds checking. | |
9270 | (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names) | |
9271 | (mips_lsi33k_reg_names): Don't list integer registers; they're | |
9272 | handled by mips_register_name() now. | |
9273 | * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise. | |
9274 | * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise. | |
9275 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise. | |
9276 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise. | |
9277 | * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise. | |
9278 | ||
a2867626 AC |
9279 | 2003-03-18 Andrew Cagney <[email protected]> |
9280 | ||
9281 | * printcmd.c (print_scalar_formatted): Change VALADDR parameter to | |
9282 | a void pointer. | |
9283 | * gdbtypes.h (print_scalar_formatted): Update declaration. | |
9284 | * expression.h (enum exp_opcode): Remove non-ISO C trailing comma. | |
9285 | ||
06600e06 JB |
9286 | 2003-03-18 J. Brobecker <[email protected]> |
9287 | ||
9288 | * infrun.c (observer.h): Add #include. | |
9289 | (normal_stop): Add call to observer_notify_normal_stop. | |
9290 | * Makefile.in (infrun.o): Add dependency on observer.h. | |
9291 | ||
7daf4f5b JB |
9292 | 2003-03-18 J. Brobecker <[email protected]> |
9293 | ||
9294 | Continuing work to convert the hppa targets to multiarch partial. | |
9295 | * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function | |
9296 | parameter. Reformat comment. | |
9297 | * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile. | |
9298 | (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame() | |
9299 | to match new profile. | |
9300 | ||
3371ccc0 JB |
9301 | 2003-03-18 J. Brobecker <[email protected]> |
9302 | ||
9303 | * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not | |
9304 | appear to be working in any case. | |
9305 | ||
4fbe891e JB |
9306 | 2003-03-18 J. Brobecker <[email protected]> |
9307 | ||
9308 | * observer.c (observer_test_first_observer): New static variable. | |
9309 | (observer_test_second_observer): Likewise. | |
9310 | (observer_test_third_observer): Likewise. | |
9311 | (observer_test_first_notification_function): New static function. | |
9312 | (observer_test_second_notification_function): Likewise. | |
9313 | (observer_test_third_notification_function): Likewise. | |
9314 | ||
a7ff40e7 JB |
9315 | 2003-03-17 J. Brobecker <[email protected]> |
9316 | ||
9317 | * hppa-tdep.c (gdb_assert.h): Add missing #include. | |
9318 | * somsolib.c (gdb_assert.h): Likewise. | |
9319 | * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. | |
9320 | (somsolib.o): Likewise. | |
9321 | ||
26ca4152 AC |
9322 | 2003-03-17 Andrew Cagney <[email protected]> |
9323 | ||
9324 | * disasm.c (gdb_disassembly): Set di.mach using the architecture's | |
9325 | BFD. Simplify setting of di.endian. | |
9326 | ||
0a613259 AC |
9327 | 2003-03-17 Andrew Cagney <[email protected]> |
9328 | ||
9329 | * rs6000-tdep.c (ppc_floating_point_unit_p): New function. | |
9330 | * ppc-tdep.h (ppc_floating_point_unit_p): Declare. | |
9331 | ||
9332 | From Elena Zannoni <[email protected]> | |
9333 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 | |
9334 | vector and floating-point parameters. | |
9335 | (ppc_sysv_abi_use_struct_convention): Handle e500 struct return | |
9336 | convention. | |
9337 | (ppc_sysv_abi_broken_use_struct_convention): Ditto. | |
9338 | ||
1132738f FN |
9339 | 2003-03-17 Fernando Nasser <[email protected]> |
9340 | ||
9341 | * MAINTAINERS: Remove my name from several maintainership roles. | |
9342 | ||
6dc42492 AC |
9343 | 2003-03-17 Andrew Cagney <[email protected]> |
9344 | ||
9345 | Fix frame off-by-one bug. | |
9346 | * frame-unwind.h (frame_this_id_ftype): Replace | |
9347 | frame_unwind_id_ftype. | |
9348 | (frame_prev_register_ftype): Replace frame_unwind_reg_ftype. | |
9349 | (struct frame_unwind): Replace "id" with "this_id". Replace "reg" | |
9350 | with "prev_register". | |
9351 | * frame-unwind.c (frame_unwind_find_by_pc): Return | |
9352 | legacy_saved_regs_unwind instead of trad_frame_unwind. Update | |
9353 | comment. | |
9354 | * dummy-frame.c (cached_find_dummy_frame): Delete function. | |
9355 | (dummy_frame_this_id): Replace dummy_frame_id_unwind. | |
9356 | (dummy_frame_prev_register): Replace dummy_frame_register_unwind. | |
9357 | (dummy_frame_unwind): Update. | |
9358 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
9359 | sentinel_frame_register_unwind. | |
9360 | (sentinel_frame_this_id): Replace sentinel_frame_id_unwind. | |
9361 | (sentinel_frame_unwinder): Update. | |
9362 | * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
9363 | (struct frame_info): Rename "unwind_cache" to "prologue_cache". | |
9364 | * frame.c (create_sentinel_frame): Update. Initialize | |
9365 | "prologue_cache" instead of "unwind_cache". | |
9366 | (frame_register_unwind): Call this frame's prev_register with the | |
9367 | next frame and this frame's prologue cache. | |
9368 | (get_prev_frame): Simplify. Always call prev frame's this_id with | |
9369 | this frame and prev frame's prologue cache. Document that this | |
9370 | call is shifted one to the left when compared to the | |
9371 | frame_register_unwind call. | |
9372 | (legacy_saved_regs_prev_register): Replace | |
9373 | frame_saved_regs_register_unwind. | |
9374 | (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind. | |
9375 | (legacy_saved_regs_unwinder): Replace trad_frame_unwinder. | |
9376 | (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
9377 | * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind. | |
9378 | (d10v_frame_unwind): Update. | |
9379 | (d10v_frame_prev_register): Replace d10v_frame_register_unwind. | |
9380 | (d10v_frame_unwind_cache): Replace this "fi" with "next_frame". | |
9381 | (saved_regs_unwinder): Replace this "frame" with "next_frame", and | |
9382 | "saved_regs" with "this_saved_regs". | |
9383 | ||
efd710d6 AC |
9384 | 2003-03-16 Andrew Cagney <[email protected]> |
9385 | ||
9386 | * frame.c (frame_pop): Don't call target_store_registers. Fix | |
9387 | problem reported by Mark Kettenis. | |
9388 | ||
4e259f09 MK |
9389 | 2003-03-16 Mark Kettenis <[email protected]> |
9390 | ||
9391 | * i386-tdep.c (i386_register_type): Renamed from | |
9392 | i386_register_virtual_type. Adjust function signature. | |
9393 | (i386_gdbarch_init): Set register_type instead of | |
9394 | deprecated_max_register_raw_size, | |
9395 | deprecated_max_register_virtual_size and register_virtual_type. | |
9396 | ||
055bb976 AC |
9397 | 2003-03-14 Andrew Cagney <[email protected]> |
9398 | ||
9399 | * frame.c (get_prev_frame): When a legacy frame, always call | |
9400 | legacy_get_prev_frame. Simplify unwind code using assumption that | |
9401 | the unwinder is new. | |
9402 | (legacy_get_prev_frame): Handle legacy sentinel frame unwind here. | |
9403 | (legacy_frame_p): When no gdbarch_unwind_dummy_id, or | |
9404 | SAVED_DUMMY_FRAME_TOS, assume a legacy frame. | |
9405 | ||
ac2adee5 AC |
9406 | 2003-03-14 Andrew Cagney <[email protected]> |
9407 | ||
9408 | * frame.c (get_saved_register): Delete function. | |
9409 | * frame.h (get_saved_register): Delete declaration. | |
9410 | * xstormy16-tdep.c: Update comment. | |
9411 | * regcache.h: Update comments. | |
9412 | * sparc-tdep.c (sparc_init_extra_frame_info): Instead of | |
9413 | get_saved_register and extract_address, use | |
9414 | frame_read_unsigned_register. | |
9415 | (sparc_frame_saved_pc): Ditto. | |
9416 | (sparc_get_saved_register): Instead of get_saved_register, use | |
9417 | frame_register. | |
9418 | (sparc_pop_frame): Ditto. | |
9419 | * findvar.c: Update comments. | |
9420 | (value_of_register): Call frame_register instead of | |
9421 | get_saved_register. | |
9422 | (value_from_register): Ditto. | |
9423 | * config/sparc/tm-sparc.h: Update comment. | |
9424 | * breakpoint.c: Update comment. | |
9425 | ||
129c1cd6 AC |
9426 | 2003-03-14 Andrew Cagney <[email protected]> |
9427 | ||
9428 | * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace | |
9429 | GET_SAVED_REGISTER. | |
9430 | * gdbarch.h, gdbarch.c: Re-generate. | |
9431 | * frame.h: Update comments. | |
9432 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9433 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9434 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9435 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9436 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9437 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9438 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9439 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9440 | * frame.c (frame_register): Update. | |
9441 | (get_saved_register): Update. | |
9442 | * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. | |
8ffd9b1b | 9443 | |
749b82f6 AC |
9444 | 2003-03-13 Andrew Cagney <[email protected]> |
9445 | ||
9446 | * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. | |
9447 | * gdbarch.h, gdbarch.c: Regenerate. | |
9448 | * valops.c (hand_function_call): Update comment. | |
9449 | * stack.c (return_command): Update comment. | |
9450 | * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update. | |
9451 | * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update. | |
9452 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9453 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9454 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9455 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9456 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9457 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9458 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9459 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9460 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9461 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9462 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9463 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9464 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9465 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9466 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9467 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9468 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9469 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9470 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9471 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9472 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9473 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9474 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9475 | ||
1594fa56 AC |
9476 | 2003-03-13 Andrew Cagney <[email protected]> |
9477 | ||
9478 | * frame.c (legacy_frame_p): New function. | |
9479 | (get_prev_frame): Use legacy_frame_p. | |
9480 | * frame.h (legacy_frame_p): Declare. | |
9481 | ||
7717fda3 V |
9482 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
9483 | ||
fbe586ae | 9484 | * MAINTAINERS (write after approval): Alphabetically |
7717fda3 V |
9485 | listing corrected. |
9486 | ||
0c67cbe9 V |
9487 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
9488 | ||
fbe586ae | 9489 | * MAINTAINERS (write after approval): Add myself. |
0c67cbe9 | 9490 | |
03febf99 AC |
9491 | 2003-03-12 Andrew Cagney <[email protected]> |
9492 | ||
9493 | * frame.c (get_prev_frame): Rename the frame parameter to | |
9494 | "this_frame". | |
9495 | (get_next_frame, legacy_get_prev_frame): Ditto. | |
9496 | ||
0a1e1ca1 AC |
9497 | 2003-03-12 Andrew Cagney <[email protected]> |
9498 | ||
9499 | * frame.c (get_current_frame): Check target_has_registers before | |
9500 | checking target_has_stack. | |
9501 | * eval.c (evaluate_subexp_standard): Use get_selected_frame, | |
9502 | instead of deprecated_selected_frame. | |
9503 | * findvar.c (value_of_register): Pass "frame", not | |
9504 | deprecated_selected_frame, to value_of_builtin_reg. | |
9505 | ||
a66a9c23 AC |
9506 | 2003-03-12 Andrew Cagney <[email protected]> |
9507 | ||
9508 | * regcache.c (regcache_cooked_write_signed): New function. | |
9509 | (regcache_cooked_write_unsigned): New function. | |
9510 | (regcache_cooked_read_unsigned): Fix regnum in range assertion. | |
9511 | (regcache_cooked_read_signed): Fix regnum in range assertion. | |
9512 | * regcache.h (regcache_cooked_write_signed): Declare. | |
9513 | (regcache_cooked_write_unsigned): Declare. | |
9514 | ||
8bedc050 AC |
9515 | 2003-03-12 Andrew Cagney <[email protected]> |
9516 | ||
9517 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
9518 | * gdbarch.h, gdbarch.c: Re-generate. | |
9519 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9520 | * x86-64-tdep.h: Update. | |
9521 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9522 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9523 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9524 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9525 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9526 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9527 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
9528 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9529 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9530 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9531 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9532 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9533 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9534 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9535 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9536 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
9537 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9538 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9539 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9540 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9541 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9542 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9543 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9544 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
9545 | (sh64_init_extra_frame_info): Update. | |
9546 | * ns32knbsd-nat.c (frame_num_args): Update. | |
9547 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
9548 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
9549 | (xstormy16_frame_chain_valid): Update. | |
9550 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
9551 | * v850-tdep.c (v850_frame_chain): Update. | |
9552 | (v850_pop_frame): Update. | |
9553 | (v850_init_extra_frame_info): Update. | |
9554 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
9555 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
9556 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
9557 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
9558 | (mn10300_pop_frame_regular): Update. | |
9559 | (mn10300_init_extra_frame_info): Update. | |
9560 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
9561 | (mips_frame_chain): Update. | |
9562 | (mips_pop_frame): Update. | |
9563 | * mcore-tdep.c (mcore_frame_chain): Update. | |
9564 | (mcore_pop_frame): Update. | |
9565 | (mcore_init_extra_frame_info): Update. | |
9566 | * arch-utils.c (init_frame_pc_default): Update. | |
9567 | * m68k-tdep.c (isi_frame_num_args): Update. | |
9568 | (delta68_frame_num_args): Update. | |
9569 | (news_frame_num_args): Update. | |
9570 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
9571 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
9572 | (alpha_frame_chain): Update. | |
9573 | (alpha_pop_frame): Update. | |
9574 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
9575 | (hppa_init_extra_frame_info): Update. | |
9576 | (hppa_frame_chain): Update. | |
9577 | (hppa_frame_chain_valid): Update. | |
9578 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
9579 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
9580 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
9581 | (arm_init_extra_frame_info): Update. | |
9582 | (arm_pop_frame): Update. | |
9583 | * frame.c (frame_pc_unwind): Update. | |
9584 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9585 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
9586 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
9587 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9588 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9589 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 9590 | |
7a25a7c1 AC |
9591 | 2003-03-12 Andrew Cagney <[email protected]> |
9592 | ||
9593 | Eliminate the need for POP_FRAME. | |
9594 | * frame.c (do_frame_unwind_register): New function. | |
9595 | (frame_pop): When no POP_FRAME, pop the frame using register | |
9596 | unwind and a scratch regcache. | |
9597 | (frame_saved_regs_pop): Delete function. | |
9598 | (trad_frame_unwinder): Update. | |
9599 | * d10v-tdep.c (d10v_frame_pop): Delete function. | |
9600 | (d10v_frame_unwind): Update. | |
9601 | * sentinel-frame.c (sentinel_frame_pop): Delete function. | |
9602 | (sentinel_frame_unwinder): Update. | |
9603 | * dummy-frame.c (dummy_frame_pop): Delete function. | |
9604 | (dummy_frame_unwind): Update. | |
9605 | * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. | |
9606 | (struct frame_unwind): Update. | |
9607 | ||
2f38ef89 KB |
9608 | 2003-03-11 Kevin Buettner <[email protected]> |
9609 | ||
9610 | * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to | |
9611 | mips_dwarf_dwarf2_ecoff_reg_to_regnum(). | |
9612 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): | |
9613 | Do range checks on register number obtained from debugging info. | |
9614 | (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and | |
9615 | set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of | |
9616 | set_gdbarch_ecoff_reg_to_regnum() to account for new name of | |
9617 | mapping function. | |
9618 | (do_fp_register_row): Fix typo which caused double type to be | |
9619 | used when attempting to unpack a float. | |
9620 | ||
552f4abf JB |
9621 | 2003-03-11 J. Brobecker <[email protected]> |
9622 | ||
9623 | * breakpoint.c (bpstat_stop_status): Fix a small memory leak. | |
9624 | ||
e0d2ae16 AC |
9625 | 2003-03-11 Andrew Cagney <[email protected]> |
9626 | ||
9627 | * frame.c (deprecated_update_frame_pc_hack): Don't assume a next | |
9628 | frame. Problem found by Corinna Vinschen. | |
9629 | ||
ddbfdd06 PM |
9630 | 2003-03-11 Pierre Muller <[email protected]> |
9631 | ||
9632 | * doublest.c (floatformat_from_length): Accept also | |
9633 | the real size of 'long double' type. | |
9634 | ||
088b2ddc | 9635 | 2003-03-10 Daniel Jacobowitz <[email protected]> |
31cc81e9 | 9636 | |
088b2ddc | 9637 | From Klee Dienes <[email protected]>: |
31cc81e9 DJ |
9638 | * breakpoint.c (bpstat_copy): Copy the command lines as well |
9639 | as the old value, to match what is freed in bpstat_clear. | |
9640 | ||
f56f77c1 DC |
9641 | 2003-03-10 David Carlton <[email protected]> |
9642 | ||
9643 | * minsyms.c (add_minsym_to_hash_table): Replace | |
9644 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
9645 | (compare_minimal_symbols, compact_minimal_symbols) | |
9646 | (install_minimal_symbols, find_solib_trampoline_target): Ditto. | |
9647 | (lookup_minimal_symbol_text): Use strcmp on linkage names instead | |
9648 | of DEPRECATED_SYMBOL_MATCHES_NAME. | |
9649 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
9650 | ||
5602984a AC |
9651 | 2003-03-10 Andrew Cagney <[email protected]> |
9652 | ||
9653 | * regcache.h (regcache_cooked_read_ftype): Define. | |
9654 | (regcache_save, regcache_restore): Add a cooked_read parameter. | |
9655 | * regcache.c (regcache_save, regcache_restore): Update. | |
9656 | (do_cooked_read): New function. | |
9657 | (regcache_cpy): Pass do_cooked_read to regcache_save and | |
9658 | regcache_restore. | |
9659 | ||
8bedc050 AC |
9660 | 2003-03-10 Andrew Cagney <[email protected]> |
9661 | ||
9662 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
9663 | * gdbarch.h, gdbarch.c: Re-generate. | |
9664 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9665 | * x86-64-tdep.h: Update. | |
9666 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9667 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9668 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9669 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9670 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9671 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9672 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
9673 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9674 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9675 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9676 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9677 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9678 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9679 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9680 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9681 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
9682 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9683 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9684 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9685 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9686 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9687 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9688 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9689 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
9690 | (sh64_init_extra_frame_info): Update. | |
9691 | * ns32knbsd-nat.c (frame_num_args): Update. | |
9692 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
9693 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
9694 | (xstormy16_frame_chain_valid): Update. | |
9695 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
9696 | * v850-tdep.c (v850_frame_chain): Update. | |
9697 | (v850_pop_frame): Update. | |
9698 | (v850_init_extra_frame_info): Update. | |
9699 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
9700 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
9701 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
9702 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
9703 | (mn10300_pop_frame_regular): Update. | |
9704 | (mn10300_init_extra_frame_info): Update. | |
9705 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
9706 | (mips_frame_chain): Update. | |
9707 | (mips_pop_frame): Update. | |
9708 | * mcore-tdep.c (mcore_frame_chain): Update. | |
9709 | (mcore_pop_frame): Update. | |
9710 | (mcore_init_extra_frame_info): Update. | |
9711 | * arch-utils.c (init_frame_pc_default): Update. | |
9712 | * m68k-tdep.c (isi_frame_num_args): Update. | |
9713 | (delta68_frame_num_args): Update. | |
9714 | (news_frame_num_args): Update. | |
9715 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
9716 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
9717 | (alpha_frame_chain): Update. | |
9718 | (alpha_pop_frame): Update. | |
9719 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
9720 | (hppa_init_extra_frame_info): Update. | |
9721 | (hppa_frame_chain): Update. | |
9722 | (hppa_frame_chain_valid): Update. | |
9723 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
9724 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
9725 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
9726 | (arm_init_extra_frame_info): Update. | |
9727 | (arm_pop_frame): Update. | |
9728 | * frame.c (frame_pc_unwind): Update. | |
9729 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9730 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
9731 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
9732 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9733 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9734 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 9735 | |
12cc2063 AC |
9736 | 2003-03-10 Andrew Cagney <[email protected]> |
9737 | ||
9738 | * gdbarch.sh (gdbarch_unwind_pc): New method. | |
9739 | * gdbarch.h, gdbarch.c: Regenerate. | |
9740 | * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, | |
9741 | but use read_pc and FRAME_SAVED_PC as fall backs. | |
9742 | (frame_saved_regs_pc_unwind): Delete function. | |
9743 | (trad_frame_unwinder): Update. | |
9744 | * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. | |
9745 | (struct frame_unwind): Update. | |
9746 | * dummy-frame.c (dummy_frame_pc_unwind): Delete function. | |
9747 | (dummy_frame_unwind): Update. | |
9748 | * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. | |
9749 | (sentinel_frame_unwinder): Update. | |
9750 | * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. | |
9751 | (d10v_frame_unwind): Update. | |
9752 | (d10v_unwind_pc): New function. | |
9753 | (d10v_gdbarch_init): Set unwind_pc. | |
9754 | ||
ef840a37 AC |
9755 | 2003-03-10 Andrew Cagney <[email protected]> |
9756 | ||
a2ce2e56 AC |
9757 | * gdbarch.h: Re-generate. |
9758 | ||
ef840a37 AC |
9759 | * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the |
9760 | PC. | |
9761 | (d10v_frame_pop): Unwind the PC, and not the LR, when restoring | |
9762 | the PC register. | |
9763 | ||
08f3424b MK |
9764 | 2003-03-08 Mark Kettenis <[email protected]> |
9765 | ||
9766 | * gdbarch.sh (save_dummy_frame_tos): Add comment. | |
9767 | ||
1248ede2 AC |
9768 | 2003-03-08 Andrew Cagney <[email protected]> |
9769 | ||
9770 | * cli-out.c: Update copyright. | |
9771 | (cli_out_data): Define typedef. Use instead of ui_out_data. | |
9772 | ||
f49bacc8 AC |
9773 | 2003-03-08 Andrew Cagney <[email protected]> |
9774 | ||
9775 | * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to | |
9776 | the result. | |
9777 | ||
9b05f993 AC |
9778 | 2003-03-07 Andrew Cagney <[email protected]> |
9779 | ||
9780 | * gdbarch.sh: Don't generate two macro definitions when an | |
9781 | undefined macro taking no arguments. | |
9782 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 9783 | |
166f4c7b ML |
9784 | 2002-03-07 Michal Ludvig <[email protected]> |
9785 | ||
9786 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos) | |
9787 | (x86_64_unwind_dummy_id): New functions. | |
9788 | (x86_64_init_abi): Register these two new functions. | |
9789 | ||
6d686a84 ML |
9790 | 2003-03-07 Michal Ludvig <[email protected]> |
9791 | ||
9792 | * x86-64-tdep.c (x86_64_function_has_prologue): New function. | |
8ffd9b1b | 9793 | (x86_64_skip_prologue): Move prologue detection to |
6d686a84 ML |
9794 | separate function. |
9795 | * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. | |
9796 | ||
6314f104 AC |
9797 | 2003-03-05 Andrew Cagney <[email protected]> |
9798 | ||
9799 | * d10v-tdep.c (d10v_unwind_dummy_id): New function. | |
9800 | (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos. | |
9801 | * frame.c (get_prev_frame): Restructure the frame ID unwind code | |
9802 | to use unwind_dummy_id when a dummy frame. | |
9803 | * gdbarch.sh (unwind_dummy_id): New multi-arch method with | |
9804 | predicate. | |
9805 | * gdbarch.h, gdbarch.c: Regneerate. | |
8ffd9b1b | 9806 | |
ceea5145 AC |
9807 | 2003-03-05 Andrew Cagney <[email protected]> |
9808 | ||
9809 | * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". | |
9810 | (d10v_frame_unwind_cache): Rewrite code computing the base and SP. | |
9811 | Do not use d10v_read_sp or d10v_read_fp when obtaining register | |
9812 | values. | |
9813 | ||
0d843116 AC |
9814 | 2003-03-05 Andrew Cagney <[email protected]> |
9815 | ||
9816 | * d10v-tdep.c (struct frame_extra_info): Delete unused structure. | |
9817 | (struct d10v_unwind_cache): Delete field "frameless". Replace | |
9818 | "next_addr" with "sp_offset". Add "r11_offset". | |
9819 | (d10v_frame_unwind_cache): Update. | |
9820 | (prologue_find_regs): Update. When "mv r11, sp", save the | |
9821 | "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that | |
9822 | RN was saved in r11_offset. | |
9823 | ||
b2579786 AC |
9824 | 2003-03-05 Andrew Cagney <[email protected]> |
9825 | ||
9826 | * frame.c (deprecated_update_frame_pc_hack): Also update the the | |
9827 | cached PC value in the next frame. | |
9828 | ||
218e5956 AC |
9829 | 2003-03-05 Andrew Cagney <[email protected]> |
9830 | ||
9831 | * frame.h (struct frame_info): Replace "id_unwind_cache_p" and | |
9832 | "id_unwind_cache" with "id". | |
9833 | (frame_id_unwind): Delete declaration. | |
9834 | * frame.c (frame_id_unwind): Delete function. | |
9835 | (get_prev_frame): Call the frame id unwind method directly. Store | |
9836 | the returned next frame's ID value in NEXT_FRAME. Note that there | |
9837 | is a problem with the wrong unwind ID being called with the wrong | |
9838 | unwind cache. | |
9839 | ||
ed363b1b DJ |
9840 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
9841 | ||
9842 | * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS. | |
9843 | ||
fe1f4a5e DJ |
9844 | 2003-03-05 James Ingham <[email protected]> |
9845 | Daniel Jacobowitz <[email protected]> | |
9846 | ||
9847 | * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h". | |
9848 | (auto_cp_abi): New variable. | |
9849 | (current_cp_abi, num_cp_abis): Make static. | |
9850 | (CP_ABI_MAX): Define. | |
9851 | (cp_abis): Turn into an array. | |
9852 | (value_virtual_fn_field): Fix formatting. | |
9853 | (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now | |
9854 | takes a pointer. | |
9855 | (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd) | |
9856 | (list_cp_abis, _initialize_cp_abi): New functions. | |
9857 | * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove | |
9858 | declarations for cp_abis, num_cp_abis, current_cp_abi, and | |
9859 | switch_to_cp_abi. Update prototype for register_cp_abi. | |
9860 | * Makefile.in (cp-abi.o): Update dependencies. | |
9861 | * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default | |
9862 | instead of switch_to_cp_abi. | |
9863 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to | |
9864 | register_cp_abi. | |
9865 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to | |
9866 | register_cp_abi. | |
9867 | * hpacc-abi.c (_initialize_hpacc_abi): Likewise. | |
9868 | ||
e4adbba9 DJ |
9869 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
9870 | ||
9871 | * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition. | |
9872 | * dwarf2loc.c: Include "regcache.h". | |
9873 | (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use | |
9874 | register_size. | |
9875 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
9876 | ||
91ccbfc1 TR |
9877 | 2003-03-04 Theodore A. Roth <[email protected]> |
9878 | ||
9879 | * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the | |
9880 | number of io registers reported by remote target is not a multiple of | |
9881 | step. | |
9882 | ||
3d4e8fd2 DC |
9883 | 2003-03-04 David Carlton <[email protected]> |
9884 | ||
9885 | * symtab.c (lookup_partial_symbol): Add linkage_name argument. | |
9886 | (lookup_symbol_aux_psymtabs): Update call to | |
9887 | lookup_partial_symbol. | |
9888 | (lookup_transparent_type, find_main_psymtab) | |
9889 | (make_symbol_overload_list): Ditto. | |
9890 | ||
ed42d87b KH |
9891 | 2003-03-04 Kazu Hirata <[email protected]> |
9892 | ||
9893 | * MAINTAINERS (Write after approval): Update my email address. | |
9894 | ||
a0ed5532 AC |
9895 | 2003-03-03 Andrew Cagney <[email protected]> |
9896 | ||
9897 | Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. | |
9898 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with | |
9899 | predicate. Replace MAX_REGISTER_RAW_SIZE. | |
9900 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for | |
9901 | MAX_REGISTER_VIRTUAL_SIZE. | |
9902 | * regcache.c (legacy_max_register_raw_size): New function. | |
9903 | (legacy_max_register_virtual_size): New function. | |
9904 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. | |
9905 | (MAX_REGISTER_RAW_SIZE): Define. | |
9906 | (legacy_max_register_raw_size): Declare. | |
9907 | (legacy_max_register_virtual_size): Declare. | |
9908 | * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
9909 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. | |
9910 | * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
9911 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
9912 | * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
9913 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
9914 | * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
9915 | * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
9916 | * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
9917 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9918 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9919 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9920 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9921 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9922 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9923 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9924 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9925 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9926 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9927 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9928 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9929 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9930 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9931 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9932 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9933 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9934 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9935 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9936 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9937 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9938 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9939 | * d10v-tdep.c (d10v_gdbarch_init): Do not set | |
9940 | max_register_raw_size or max_register_virtual_size. | |
9941 | ||
8e437497 DC |
9942 | 2003-03-03 David Carlton <[email protected]> |
9943 | ||
9944 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from | |
9945 | SYMBOL_MATCHES_NAME, add comment. | |
9946 | (SYMBOL_MATCHES_NATURAL_NAME): New. | |
9947 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace | |
9948 | SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. | |
9949 | (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. | |
9950 | * symtab.c (lookup_partial_symbol): Use | |
9951 | SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete | |
9952 | unhelpful comment. | |
9953 | (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not | |
9954 | SYMBOL_MATCHES_NAME. | |
9955 | Fix for PR c++/33. | |
9956 | ||
25120b0d DC |
9957 | 2003-03-03 David Carlton <[email protected]> |
9958 | ||
9959 | * symtab.h (SYMBOL_MATCHES_REGEXP): Delete. | |
9960 | * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP | |
9961 | by regexp matching against SYMBOL_NATURAL_NAME. | |
9962 | ||
78a11fb4 DC |
9963 | 2003-03-03 David Carlton <[email protected]> |
9964 | ||
9965 | * linespec.c (find_method): Extract code into collect_methods. | |
9966 | (collect_methods): New. | |
9967 | ||
645dd519 MK |
9968 | 2003-03-02 Mark Kettenis <[email protected]> |
9969 | ||
b4700d91 MK |
9970 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and |
9971 | get_frame_base. | |
9972 | ||
645dd519 MK |
9973 | * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of |
9974 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
9975 | ||
0aa7e1aa SC |
9976 | 2003-03-02 Stephane Carrez <[email protected]> |
9977 | ||
8ffd9b1b | 9978 | * arch-utils.c (generic_register_byte): Fix to use the loop index |
0aa7e1aa SC |
9979 | and not regnum when summing the size of all registers up to regnum. |
9980 | ||
f30ee0bc AC |
9981 | 2003-03-01 Andrew Cagney <[email protected]> |
9982 | ||
9983 | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename | |
9984 | FRAME_INIT_SAVED_REGS. | |
9985 | * gdbarch.h, gdbarch.c: Regenerate. | |
9986 | * stack.c (frame_info): Update. | |
9987 | * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. | |
9988 | (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. | |
9989 | (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. | |
9990 | * ns32k-tdep.c (ns32k_pop_frame): Update. | |
9991 | * mips-tdep.c (mips_pop_frame): Update. | |
9992 | * m68hc11-tdep.c (m68hc11_pop_frame): Update. | |
9993 | * ia64-tdep.c (ia64_frame_chain): Update. | |
9994 | (ia64_frame_saved_pc, ia64_get_saved_register): Update. | |
9995 | (ia64_frameless_function_invocation): Update. | |
9996 | (ia64_init_extra_frame_info): Update. | |
9997 | (ia64_pop_frame_regular): Update. | |
9998 | * frame.h (struct frame_info): Update comment. | |
9999 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. | |
10000 | * frame.c (frame_saved_regs_register_unwind): Update. | |
10001 | (frame_saved_regs_register_unwind): Update. | |
10002 | (deprecated_generic_get_saved_register): Update. | |
10003 | * cris-tdep.c: Update comment. | |
10004 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): | |
10005 | Rename macro. | |
10006 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10007 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
10008 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10009 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10010 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10011 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10012 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10013 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10014 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
10015 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10016 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10017 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10018 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10019 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10020 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10021 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10022 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10023 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10024 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10025 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10026 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 10027 | |
42fa7c0f AC |
10028 | 2003-03-01 Andrew Cagney <[email protected]> |
10029 | ||
10030 | * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to | |
10031 | option enum and switch. When no windows, set the interpreter to | |
10032 | INTERP_CONSOLE. | |
8ffd9b1b | 10033 | |
49c7e338 AC |
10034 | 2003-03-01 Andrew Cagney <[email protected]> |
10035 | ||
10036 | * main.c (captured_main): Replace magic option characters with an | |
10037 | enum. | |
10038 | ||
e9582e71 AC |
10039 | 2003-03-01 Andrew Cagney <[email protected]> |
10040 | ||
10041 | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename | |
10042 | INIT_EXTRA_FRAME_INFO. | |
10043 | * gdbarch.h, gdbarch.c: Regenerate. | |
10044 | * arm-tdep.c: Update comments. | |
10045 | * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. | |
10046 | * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. | |
10047 | * frame.h, avr-tdep.c: Ditto. | |
10048 | * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
10049 | (create_new_frame, legacy_get_prev_frame): Ditto. | |
10050 | * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
10051 | * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
10052 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize | |
10053 | deprecated_init_extra_frame_info instead of init_extra_frame_info. | |
10054 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
10055 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
10056 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
10057 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
10058 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
10059 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
10060 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
10061 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
10062 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
10063 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
10064 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
10065 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
10066 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
10067 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
10068 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
10069 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
10070 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
10071 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
10072 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
10073 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
10074 | ||
35cac7cf AC |
10075 | 2003-03-01 Andrew Cagney <[email protected]> |
10076 | ||
10077 | * gdbarch.sh (register_type): New function with predicate. | |
10078 | (REGISTER_VIRTUAL_TYPE): Change to function with predicate. | |
10079 | * gdbarch.h, gdbarch.c: Re-generate. | |
10080 | * arch-utils.c (generic_register_byte): Use generic_register_size. | |
10081 | (generic_register_size): When available, use | |
10082 | gdbarch_register_type. | |
10083 | * regcache.c (init_regcache_descr): When available, initialize the | |
10084 | register type array using gdbarch_register_type. If the | |
10085 | architecture supplies gdbarch_register_type, do not use the legacy | |
10086 | regcache layout. | |
10087 | * d10v-tdep.c (d10v_register_type): Replace | |
10088 | d10v_register_virtual_type. | |
10089 | (d10v_gdbarch_init): Set register_type instead of | |
10090 | register_virtual_type. | |
10091 | ||
7b83296f AC |
10092 | 2003-03-01 Andrew Cagney <[email protected]> |
10093 | ||
10094 | * Makefile.in (ax-gdb.o): Update dependencies. | |
10095 | * ax-gdb.c: Include "regcache.h". | |
10096 | (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. | |
10097 | * findvar.c (value_of_register): Ditto. | |
10098 | * infcmd.c (default_print_registers_info): Ditto. | |
10099 | ||
eadc1c87 MK |
10100 | 2003-03-01 Mark Kettenis <[email protected]> |
10101 | ||
10102 | * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of | |
10103 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
10104 | ||
14143612 MK |
10105 | 2003-03-01 Mark Kettenis <[email protected]> |
10106 | ||
10107 | * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead | |
10108 | of STREQ. | |
10109 | ||
a55cc764 DJ |
10110 | 2003-02-28 Daniel Jacobowitz <[email protected]> |
10111 | ||
10112 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
10113 | * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. | |
10114 | * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. | |
10115 | * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. | |
10116 | * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". | |
10117 | (locexpr_tracepoint_var_ref): New function. | |
10118 | (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref. | |
10119 | ||
08a617da AC |
10120 | 2003-02-28 Andrew Cagney <[email protected]> |
10121 | ||
10122 | * regcache.c (register_size): New function. | |
10123 | * regcache.h (register_size): Declare | |
10124 | * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use | |
10125 | max_register_size instead of MAX_REGISTER_RAW_SIZE. | |
10126 | ||
4224873a DC |
10127 | 2003-02-28 David Carlton <[email protected]> |
10128 | ||
10129 | * linespec.c (decode_compound): Extract code into find_method. | |
10130 | (find_method): New. | |
10131 | ||
ccdc5d7f JB |
10132 | 2003-02-28 J. Brobecker <[email protected]> |
10133 | ||
10134 | * Makefile.in: Add rules to build and link in observer.o. | |
10135 | ||
974e8ced JB |
10136 | 2003-02-27 J. Brobecker <[email protected]> |
10137 | ||
10138 | * observer.c: Minor comments edits. | |
10139 | ||
7a28f973 JB |
10140 | 2003-02-27 J. Brobecker <[email protected]> |
10141 | ||
10142 | * observer.h, observer.c: New file. | |
10143 | ||
27cddce2 AC |
10144 | 2003-02-27 Andrew Cagney <[email protected]> |
10145 | ||
10146 | * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd. | |
10147 | ||
b94a41a1 SC |
10148 | 2003-02-27 Stephane Carrez <[email protected]> |
10149 | ||
10150 | * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines. | |
10151 | (M6812_OP_STS_EXT): Likewise. | |
10152 | (m6811_prologue): Use the above to recognize prologue. | |
10153 | (m6812_prologue): Likewise. | |
10154 | ||
c8be8951 DC |
10155 | 2003-02-27 David Carlton <[email protected]> |
10156 | ||
10157 | * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not | |
10158 | SYMBOL_PRINT_NAME. | |
10159 | (compare_psymbols): Ditto. | |
10160 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
10161 | ||
d05bb1fc MS |
10162 | 2003-02-27 Michael Snyder <[email protected]> |
10163 | ||
4e845cd3 MS |
10164 | * f-lang.c (build_fortran_types): New function. |
10165 | (_initialize_f_language): Gdbarch-register built-in fortran types. | |
d05bb1fc MS |
10166 | * doublest.c (extract_floating): Fix warning text. |
10167 | ||
f3824013 AC |
10168 | 2003-02-27 Andrew Cagney <[email protected]> |
10169 | ||
10170 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with | |
10171 | predicate. Replaces PUSH_DUMMY_FRAME. | |
10172 | * gdbarch.h, gdbarch.c: Regnerate. | |
10173 | * valops.c (hand_function_call): Update. Call | |
10174 | generic_push_dummy_frame directly. | |
10175 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10176 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10177 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10178 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10179 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
10180 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10181 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
10182 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
10183 | * inferior.h (PUSH_DUMMY_FRAME): Delete definition. | |
10184 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set | |
10185 | push_dummy_frame to generic_push_dummy_frame. | |
10186 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
10187 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
10188 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
10189 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
10190 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
10191 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
10192 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
10193 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
10194 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
10195 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
10196 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
10197 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
10198 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
10199 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
10200 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
10201 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8ffd9b1b | 10202 | |
ad188201 KB |
10203 | 2003-02-26 Kevin Buettner <[email protected]> |
10204 | ||
10205 | * mips-tdep.c (show_mips_abi): New function. | |
10206 | (_initialize_mips_tdep): Use show_mips_abi() to implement the | |
10207 | command ``show mips abi''. | |
10208 | ||
6b37567a | 10209 | 2003-02-26 Jeff Johnston <[email protected]> |
8ffd9b1b | 10210 | |
6b37567a | 10211 | From Elena Zannoni <[email protected]> |
8ffd9b1b | 10212 | * dbxread.c (process_one_symbol): Only record line 0 if one or |
6b37567a JJ |
10213 | more sline entries have been seen for the function. |
10214 | ||
d3e0a5bf MC |
10215 | 2003-02-26 Michael Chastain <[email protected]> |
10216 | ||
10217 | * configure: Regenerate with autoconf 000227. | |
10218 | ||
18972eea MC |
10219 | 2003-02-26 Michael Chastain <[email protected]> |
10220 | ||
10221 | Close PR build/660. | |
10222 | * PROBLEMS (i[3456]86-*-linux*): Note explicit error message | |
10223 | for old libc5/glibc. | |
10224 | * gdb_thread_db.h: Die if not HAVE_UINTPTR_T. | |
10225 | ||
0bbde931 KW |
10226 | 2003-02-26 Kris Warkentin <[email protected]> |
10227 | ||
10228 | * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO. | |
10229 | * osabi.c (gdb_osabi_names): Add "QNX Neutrino". | |
10230 | ||
27ca5dad MC |
10231 | 2003-02-26 Michael Chastain <[email protected]> |
10232 | ||
10233 | * configure.in: New variable HAVE_UINTPTR_T. | |
10234 | * configure, config.in: Regenerated. | |
10235 | ||
6f88d630 DJ |
10236 | 2003-02-26 Daniel Jacobowitz <[email protected]> |
10237 | ||
10238 | Fix PR build/1097. | |
10239 | * utils.c (gdb_realpath): Move closing brace outwards one #endif. | |
10240 | ||
b14185ce AC |
10241 | 2003-02-25 Andrew Cagney <[email protected]> |
10242 | ||
10243 | * frame.c (get_prev_frame): Add comment on check for | |
10244 | inside_entry_func. Only check for inside_entry_file when not a | |
10245 | dummy and not a sentinel. Check that the new frame is not inner | |
10246 | to the old frame. | |
10247 | ||
ac2bd0a9 AC |
10248 | 2003-02-25 Andrew Cagney <[email protected]> |
10249 | ||
10250 | * frame.c (frame_debug): New variable. | |
10251 | (_initialize_frame): Add "set/show debug frame" command. | |
10252 | (get_prev_frame): When frame_debug, print reason why unwind | |
10253 | failed. | |
10254 | ||
b18a0fd2 MC |
10255 | 2003-02-25 Michael Chastain <[email protected]> |
10256 | ||
10257 | * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later | |
10258 | to avoid uintptr_t definition problems. | |
10259 | ||
22abf04a DC |
10260 | 2003-02-25 David Carlton <[email protected]> |
10261 | ||
10262 | * symtab.h (SYMBOL_NATURAL_NAME): New macro. | |
10263 | (SYMBOL_LINKAGE_NAME): Ditto. | |
10264 | (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and | |
10265 | SYMBOL_LINKAGE_NAME. | |
10266 | (struct general_symbol_info): Expand comment. | |
10267 | (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. | |
10268 | (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. | |
10269 | (SYMBOL_MATCHES_REGEXP): Ditto. | |
10270 | * symtab.c (symbol_natural_name): New function. | |
10271 | * objfiles.h: Replace all uses of SYMBOL_NAME by | |
10272 | DEPRECATED_SYMBOL_NAME. | |
10273 | * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. | |
10274 | * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. | |
10275 | * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. | |
10276 | * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. | |
10277 | * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. | |
10278 | * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. | |
10279 | * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. | |
10280 | * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. | |
10281 | * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. | |
10282 | * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. | |
10283 | * ada-exp.y: Ditto. | |
10284 | * ada-exp.y: Update copyright. | |
10285 | * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. | |
10286 | * cp-valprint.c: Ditto. | |
10287 | ||
1a5848f6 JJ |
10288 | 2003-02-25 Jeff Johnston <[email protected]> |
10289 | ||
10290 | * infptrace.c (detach): Do not flag error if ptrace detach fails | |
10291 | and errno is set to ESRCH. | |
10292 | ||
7343d46a AC |
10293 | 2003-02-24 Andrew Cagney <[email protected]> |
10294 | ||
10295 | * infptrace.c (udot_info): Change type of udot_off to long. Use | |
10296 | paddr when printing udot_off's value. | |
10297 | ||
49fa1dc2 DC |
10298 | 2003-02-24 David Carlton <[email protected]> |
10299 | ||
10300 | * symtab.c (make_symbol_overload_list): Only read in partial | |
10301 | symtabs containing a matching partial symbol. | |
10302 | ||
0fe19209 DC |
10303 | 2003-02-24 David Carlton <[email protected]> |
10304 | ||
10305 | * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to | |
10306 | do the comparison, not strcmp. | |
10307 | * symfile.c (compare_psymbols): Ditto. | |
10308 | * defs.h: Declare strcmp_iw_ordered. | |
10309 | * utils.c (strcmp_iw_ordered): New function. | |
10310 | ||
8e3ee7b5 JB |
10311 | 2003-02-24 Jim Blandy <[email protected]> |
10312 | ||
10313 | * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme | |
10314 | support, shared libs): Remove my name from here, to better reflect | |
10315 | reality. | |
10316 | ||
7df1a324 KW |
10317 | 2003-02-24 Kris Warkentin <[email protected]> |
10318 | ||
10319 | * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define. | |
10320 | (target_ops): Add to_have_continuable_watchpoint. | |
10321 | * target.c (update_current_target): Add INHERIT line for | |
10322 | to_have_continuable_watchpoint. | |
10323 | * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines. | |
10324 | * config/i386/nm-i386.h, config/i386/nm-i386sco5.h, | |
10325 | config/i386/nm-i386sol2.h, config/s390/nm-linux.h, | |
10326 | config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1. | |
10327 | ||
d1c76907 EZ |
10328 | 2003-02-24 Elena Zannoni <[email protected]> |
10329 | ||
10330 | * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop | |
10331 | maintainership. | |
10332 | ||
2610b0bf KW |
10333 | 2003-02-24 Kris Warkentin <[email protected]> |
10334 | ||
f46169db KW |
10335 | * solib.c (solib_open): Call target defined search function after |
10336 | failing with solib-search-path. | |
10337 | * solist.h (target_so_ops): Add find_and_open_solib function hook and | |
10338 | create define TARGET_SO_FIND_AND_OPEN_SOLIB. | |
2610b0bf | 10339 | |
9a3c34fe KW |
10340 | 2003-02-24 Kris Warkentin <[email protected]> |
10341 | ||
f46169db | 10342 | * MAINTAINERS: Add myself to Write After section. |
9a3c34fe | 10343 | |
2417dd25 SC |
10344 | 2003-02-23 Stephane Carrez <[email protected]> |
10345 | ||
10346 | * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide. | |
10347 | ||
b631436b SC |
10348 | 2003-02-22 Stephane Carrez <[email protected]> |
10349 | ||
10350 | * m68hc11-tdep.c (m68hc11_init_reggroups): New function. | |
10351 | (m68hc11_add_reggroups): New function. | |
10352 | (m68hc11_register_reggroup_p): New to register hard/soft reggroups. | |
10353 | (m68hc11_gdbarch_init): Install the reggroups. | |
10354 | (_initialize_m68hc11_tdep): Initialize them. | |
10355 | ||
0aa8c1e4 JW |
10356 | 2003-02-21 James E Wilson <[email protected]> |
10357 | ||
10358 | * MAINTAINERS: Update my email address. | |
10359 | ||
50ceaba5 DC |
10360 | 2003-02-21 David Carlton <[email protected]> |
10361 | ||
10362 | * arm-tdep.c (arm_gdbarch_init): Add break after default label. | |
10363 | ||
4c2df51b DJ |
10364 | 2003-02-21 Daniel Jacobowitz <[email protected]> |
10365 | ||
10366 | Based on a patch from Daniel Berlin ([email protected]). | |
10367 | * symtab.h: Add opaque declarations of struct axs_value and | |
10368 | struct agent_expr. | |
10369 | (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. | |
10370 | (struct location_funcs): New type. | |
10371 | (struct symbol): Add "loc" to aux_value. | |
10372 | (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. | |
10373 | * dwarf2read.c: Include "dwarf2expr.h". | |
10374 | (dwarf2_symbol_mark_computed): New function. | |
10375 | (read_func_scope): Use it. | |
10376 | (var_decode_location): New function. | |
10377 | (new_symbol): Use it. | |
10378 | * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. | |
10379 | ||
10380 | * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. | |
10381 | (dwarf2expr_h, dwarf2loc_h): New variables. | |
10382 | (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. | |
10383 | (dwarf2expr.o, dwarf2loc.o): New rules. | |
10384 | (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). | |
10385 | * buildsym.c (finish_block): Handle LOC_COMPUTED and | |
10386 | LOC_COMPUTED_ARG. | |
10387 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
10388 | * m2-exp.y (yylex): Likewise. | |
10389 | * printcmd.c (address_info, print_frame_args): Likewise. | |
10390 | * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. | |
10391 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
10392 | * ada-lang.c (ada_resolve_subexp, symtab_for_sym) | |
10393 | (ada_add_block_symbols, fill_in_ada_prototype): Likewise. | |
10394 | * symtab.c (lookup_block_symbol): Likewise. | |
10395 | ||
5784d15e AF |
10396 | 2003-02-20 Adam Fedor <[email protected]> |
10397 | ||
10398 | * symtab.h: Remove objc_specific struct | |
10399 | (SYMBOL_OBJC_DEMANGLED_NAME): Remove. | |
10400 | * symtab.c (symbol_init_language_specific, symbol_demangled_name): | |
10401 | Have language_objc use cplus_specific struct. | |
10402 | ||
d4cad8db TT |
10403 | 2003-02-20 Tom Tromey <[email protected]> |
10404 | ||
10405 | * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not | |
10406 | TYPE_NAME, when printing a String value. PR java/1075. | |
10407 | ||
2f9a90b4 AF |
10408 | 2003-02-20 Adam Fedor <[email protected]> |
10409 | ||
d38074a8 | 10410 | * objc-lang.h (find_methods): Remove declaration. |
fbe586ae | 10411 | * objc-lang.c (find_methods): Make static. |
2f9a90b4 | 10412 | |
6f17862b CF |
10413 | 2003-02-20 Christopher Faylor <[email protected]> |
10414 | ||
10415 | * win32-nat.c (get_image_name): Check return value from | |
10416 | ReadProcessMemory. | |
10417 | (child_xfer_memory): Ditto. | |
10418 | ||
715d1656 AO |
10419 | 2003-02-20 Alexandre Oliva <[email protected]> |
10420 | ||
10421 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
10422 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
10423 | '${exec_prefix}' (in addition to the expansion thereof) as | |
10424 | relocatable. | |
10425 | * configure: Rebuilt. | |
10426 | ||
b1262a02 DC |
10427 | 2003-02-20 David Carlton <[email protected]> |
10428 | ||
10429 | * symtab.c (search_symbols): Revert the search_symbols part of my | |
10430 | 2002-12-23 patch. Add comment. | |
10431 | ||
7134143f DJ |
10432 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
10433 | ||
10434 | * coffread.c (coff_symfile_read): Clean up minimal symbols earlier. | |
10435 | * dbxread.c (elfstab_build_psymtabs): Don't call | |
10436 | install_minimal_symbols. | |
10437 | (stabsect_build_psymtabs): Likewise. | |
10438 | * elfread.c (elf_symfile_read): Call install_minimal_symbols | |
10439 | earlier. | |
10440 | * somread.c (som_symfile_read): Call install_minimal_symbols | |
10441 | and do_cleanups earlier. | |
10442 | * nlmread.c (nlm_symfile_read): Likewise. | |
10443 | * mdebugread.c (elfmdebug_build_psymtabs): Call | |
10444 | install_minimal_symbols and make appropriate cleanups. | |
10445 | ||
cf466558 KB |
10446 | 2003-02-20 Kevin Buettner <[email protected]> |
10447 | ||
10448 | * solib.c (reload_shared_libraries): New function. | |
10449 | (_initialize_solib): Add callbacks for ``set solib-search-path'' | |
10450 | and ``set solib-absolute-prefix''. | |
10451 | ||
de5ad195 DC |
10452 | 2003-02-20 David Carlton <[email protected]> |
10453 | ||
10454 | * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME; | |
10455 | expand comment. | |
10456 | * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace | |
10457 | SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME. | |
10458 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
10459 | * ax-gdb.c (gen_var_ref): Ditto. | |
10460 | * breakpoint.c (print_one_breakpoint): Ditto. | |
10461 | * buildsym.c (finish_block): Ditto. | |
10462 | * c-valprint.c (c_val_print): Ditto. | |
10463 | * expprint.c (print_subexp): Ditto. | |
10464 | * findvar.c (locate_var_value): Ditto. | |
8ffd9b1b AJ |
10465 | * infcmd.c (jump_command): Ditto. |
10466 | * linespec.c (decode_line_2, decode_compound): Ditto. | |
10467 | * maint.c (maintenance_translate_address): Ditto. | |
10468 | * objc-lang.c (compare_selectors, compare_classes): Ditto. | |
de5ad195 DC |
10469 | * printcmd.c (build_address_symbolic, sym_info, print_frame_args): |
10470 | Ditto. | |
8ffd9b1b AJ |
10471 | * p-valprint.c (pascal_val_print): Ditto. |
10472 | * stabsread.c (define_symbol): Ditto. | |
de5ad195 | 10473 | * stack.c (print_frame, frame_info, print_block_frame_locals) |
8ffd9b1b AJ |
10474 | (print_frame_arg_vars, return_command): Ditto. |
10475 | * symfile.c (compare_symbols, compare_psymbols): Ditto. | |
10476 | * symmisc.c (print_symbol): Ditto. | |
de5ad195 DC |
10477 | * symtab.c (lookup_partial_symbol, lookup_block_symbol) |
10478 | (compare_search_syms, print_symbol_info, print_msymbol_info) | |
8ffd9b1b AJ |
10479 | (rbreak_command): Ditto. |
10480 | * tracepoint.c (tracepoints_info): Ditto. | |
10481 | * typeprint.c (typedef_print): Ditto. | |
10482 | * valops.c (value_of_variable, hand_function_call): Ditto. | |
de5ad195 DC |
10483 | * cli/cli-cmds.c (edit_command, list_command): Ditto. |
10484 | * ada-typeprint.c: Update Copyright. | |
10485 | * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. | |
10486 | * tracepoint.c, cli/cli-cmds.c: Ditto. | |
10487 | ||
f796e4be KB |
10488 | 2003-02-20 Kevin Buettner <[email protected]> |
10489 | ||
10490 | * frame.c (generic_unwind_get_saved_register): Make non-static. | |
10491 | * frame.h (generic_unwind_get_saved_register): Declare. | |
10492 | * mips-tdep.c (read_next_frame_reg): Fetch register from | |
10493 | current regcache when frame is NULL. | |
10494 | (mips_init_extra_frame_info): Pass NULL explicitly for parameter | |
10495 | that must be NULL. | |
10496 | (mips_get_saved_register): Call generic_unwind_get_saved_register() | |
10497 | instead of frame_register_unwind(). | |
10498 | ||
836cc9f4 AC |
10499 | 2003-02-20 Andrew Cagney <[email protected]> |
10500 | ||
10501 | * remote-sim.c (gdbsim_insert_breakpoint) | |
10502 | (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS | |
10503 | code. | |
10504 | ||
501eef12 AC |
10505 | 2003-02-20 Andrew Cagney <[email protected]> |
10506 | ||
10507 | * remote.c (_initialize_remote): Add commands "set/show remote | |
10508 | hardware-watchpoint-limit" and "set/show remote | |
10509 | hardware-breakpoint-limit". | |
10510 | (remote_hw_watchpoint_limit): Initialize to -1. | |
10511 | (remote_hw_breakpoint_limit): Ditto. | |
10512 | (remote_check_watch_resources): Treat a limit of -1 as unlimited. | |
10513 | ||
1b6bc7e0 CF |
10514 | 2003-02-19 Raoul Gough <[email protected]> |
10515 | ||
10516 | * coff-pe-read.c: New file - support reading of minimal symbols from a | |
10517 | portable executable using the export table. | |
10518 | * coff-pe-read.h: New file. | |
10519 | * coffread.c: Include coff-pe-read.h. | |
10520 | (coff_symtab_read): Call read_pe_exported_syms iff no recognized | |
10521 | debugging symbols found. | |
10522 | * Makefile.in (SFILES): Add coff-pe-read.o. | |
10523 | (coff_pe_read_h): Define. | |
10524 | (COMMON_OBS): Add coff-pe-read.o. | |
10525 | (coffread.o): Add coff_pe_read_h dependency. | |
10526 | (coff-pe-read.o): New target. | |
10527 | ||
fe898f56 DC |
10528 | 2003-02-19 David Carlton <[email protected]> |
10529 | ||
10530 | * Makefile.in (SFILES): Add block.c. | |
10531 | (block_h): New. | |
10532 | (COMMON_OBS): Add block.o. | |
10533 | (block.o): New. | |
10534 | (x86-64-tdep.o): Add $(block_h). | |
10535 | (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o) | |
10536 | (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o) | |
10537 | (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o) | |
10538 | (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o) | |
10539 | (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o) | |
10540 | (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o) | |
10541 | (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto. | |
10542 | * value.h: Add opaque declaration for struct block. | |
10543 | * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto. | |
10544 | * ada-lang.h: Ditto. | |
10545 | * x86-64-tdep.c: #include "block.h" | |
10546 | * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto. | |
10547 | * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto. | |
10548 | * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto. | |
10549 | * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto. | |
10550 | * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto. | |
10551 | * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto. | |
10552 | * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto. | |
10553 | * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto. | |
10554 | * blockframe.c (blockvector_for_pc_sect): Move to "block.c". | |
10555 | (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto. | |
10556 | * symtab.c (block_function): Ditto. | |
10557 | (contained_in): Ditto. | |
10558 | * frame.h: Move block_for_pc and block_for_pc_sect declarations to | |
10559 | block.h. Add opaque declaration for struct block. | |
10560 | * symtab.h: Move block_function and contained_in declarations to | |
10561 | block.h. Add opaque declarations for struct block, struct | |
10562 | blockvector. | |
10563 | (struct block): Move to block.h. | |
10564 | (struct blockvector): Ditto. | |
10565 | (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK) | |
10566 | (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM) | |
10567 | (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE) | |
10568 | (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS) | |
10569 | (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): | |
10570 | Ditto. | |
10571 | * block.c: New file. | |
10572 | * block.h: New file. | |
10573 | ||
173345b5 TR |
10574 | 2003-02-19 Theodore A. Roth <[email protected]> |
10575 | ||
10576 | * avr-tdep.c (avr_extract_return_value): Remove function. | |
10577 | (avr_store_return_value): Remove function. | |
10578 | (avr_extract_struct_value_address): Remove function. | |
10579 | (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls. | |
10580 | ||
338ef23d AC |
10581 | 2003-02-19 Andrew Cagney <[email protected]> |
10582 | ||
10583 | * rs6000-tdep.c: Include "gdb_assert.h". | |
10584 | (registers_e500): Add "acc" and "spefscr". | |
10585 | (PPC_GPRS_PSEUDO_REGS): Remove trailing comma. | |
10586 | (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum, | |
10587 | ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum | |
10588 | really is "r0". | |
10589 | (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson). | |
10590 | ||
5412f5f3 KS |
10591 | 2003-02-18 Keith Seitz <[email protected]> |
10592 | ||
10593 | * Makefile.in: Add gdbtk-interps.c. | |
10594 | ||
881324eb KB |
10595 | 2003-02-18 Kevin Buettner <[email protected]> |
10596 | ||
10597 | * sparc-tdep.c (sparc_frame_chain): Adjust return value. | |
10598 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare. | |
10599 | ||
6a2f5abf AC |
10600 | 2003-02-18 Andrew Cagney <[email protected]> |
10601 | ||
10602 | * symtab.h (struct objfile): Add opaque declaration. | |
10603 | ||
54c7009d EZ |
10604 | 2003-02-18 Elena Zannoni <[email protected]> |
10605 | ||
10606 | From Jim Ingham <[email protected]>: | |
fbe586ae RH |
10607 | * dbxread.c (process_one_symbol): Use last_function_start rather |
10608 | than function_start_offset to find the real beginning of the | |
10609 | current function. The latter is just the text section offset on | |
10610 | some systems, the former is always the real function start. | |
54c7009d | 10611 | |
7ee6d7eb AC |
10612 | 2003-02-17 Andrew Cagney <[email protected]> |
10613 | ||
10614 | * configure.in: Revert ${target} != ${host}. | |
10615 | ||
2846da9b AC |
10616 | 2003-02-17 Andrew Cagney <[email protected]> |
10617 | ||
10618 | * configure.in (Makefile): Use the test ${target} != ${host}, | |
10619 | instead of the absence of the "nm.h" file, to determine of the | |
10620 | configuration non-native. | |
10621 | * configure: Regenerate. | |
8ffd9b1b | 10622 | |
3b27aeea EZ |
10623 | 2003-02-14 Elena Zannoni <[email protected]> |
10624 | ||
fbe586ae | 10625 | From Brian Ford <[email protected]> |
3b27aeea EZ |
10626 | |
10627 | * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly | |
10628 | conditionalize tui_active test. | |
10629 | (lookup_cmd_1): Ditto. | |
10630 | ||
b0b1c2c0 MK |
10631 | 2003-02-14 Mark Kettenis <[email protected]> |
10632 | ||
10633 | * configure.in: Add check for _etext. | |
10634 | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't | |
10635 | available. | |
10636 | * config.in, configure: regenerated. | |
10637 | ||
8f05cde5 DJ |
10638 | 2003-02-14 Daniel Jacobowitz <[email protected]> |
10639 | ||
10640 | * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base. | |
10641 | ||
021e7609 AC |
10642 | 2003-02-14 Andrew Cagney <[email protected]> |
10643 | ||
10644 | * main.c (tui_version): Delete variable. | |
10645 | (captured_main): When --tui, set interpreter_p to "tui" instead of | |
10646 | enabling tui_version. | |
10647 | * printcmd.c (display_command) [TUI]: Test tui_active instead of | |
10648 | tui_version. | |
10649 | * cli/cli-decode.c (lookup_cmd_composition): Ditto. | |
10650 | * cli/cli-cmds.c (disassemble_command): Ditto. | |
10651 | * defs.h (tui_version): Delete declaration. | |
10652 | * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". | |
10653 | (tui-interp.o): Add rules. | |
10654 | (SUBDIR_TUI_OBS): Add "tui-interp.o". | |
10655 | ||
e325dcec CF |
10656 | 2003-02-14 Christopher Faylor <[email protected]> |
10657 | ||
36ffb041 | 10658 | * win32-nat.c (register_loaded_dll): Correctly set address range for |
e325dcec CF |
10659 | just-loaded dll. |
10660 | ||
c4f90d87 JM |
10661 | 2003-02-12 Jason Molenda ([email protected]) |
10662 | ||
fbe586ae RH |
10663 | * symmisc.c (print_objfile_statistics): Include information about |
10664 | the number of psymtabs and symtabs in each object file. | |
c4f90d87 | 10665 | |
e46e5ccd KS |
10666 | 2003-02-13 Keith R Seitz <[email protected]> |
10667 | ||
10668 | * main.h (struct captured_main_args): Add interpreter_p. | |
10669 | * main.c (captured_main): Initialize interpreter_p from context. | |
10670 | * gdb.c (main): Set interpreter_p argument. | |
10671 | * Makefile.in (gdb.o): Add dependency for interps.h. | |
10672 | ||
fe97fe9c AC |
10673 | 2003-02-12 Andrew Cagney <[email protected]> |
10674 | ||
10675 | * event-top.c (cli_command_loop): Delete declaration. | |
10676 | (_initialize_event_loop): Delete function setting event_loop_hook. | |
10677 | * event-top.h (cli_command_loop): Declare. Update copyright. | |
10678 | (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. | |
10679 | * interps.c (current_interp_command_loop): When event_loop_p, call | |
10680 | cli_command_loop. | |
10681 | ||
1cdac4ef AC |
10682 | 2003-02-12 Andrew Cagney <[email protected]> |
10683 | ||
10684 | * interps.h (interp_command_loop_ftype): Change return type to | |
10685 | void. | |
10686 | ||
48037ead ML |
10687 | 2003-02-12 Michal Ludvig <[email protected]> |
10688 | ||
10689 | * x86-64-tdep.c (x86_64_extract_return_value) | |
10690 | (x86_64_store_return_value): Use regcache instead of regbuf. | |
10691 | (x86_64_gdbarch_init): Change related set_gdbarch_* functions. | |
10692 | * x86-64-linux-nat.c (fill_gregset): Use regcache. | |
10693 | ||
033afc63 AC |
10694 | 2003-02-11 Andrew Cagney <[email protected]> |
10695 | ||
10696 | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. | |
10697 | * aclocal.m4: Regenerate. | |
10698 | * configure: Regenerate. | |
10699 | ||
10700 | * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of | |
10701 | TCL_LD_SEARCH_FLAGS. | |
10702 | ||
40d02bca ML |
10703 | 2003-02-10 Michal Ludvig <[email protected]> |
10704 | ||
10705 | * dwarf2cfi.c: Reindented. | |
10706 | ||
11308a41 AC |
10707 | 2003-02-09 Andrew Cagney <[email protected]> |
10708 | ||
10709 | * interps.c (clear_interpreter_hooks): Convert function definition | |
10710 | to ISO C. | |
10711 | ||
e1c1c0f6 DC |
10712 | 2003-02-07 David Carlton <[email protected]> |
10713 | ||
10714 | * gdb_mbuild.sh: Delete extra shift after parsing '-f'. | |
10715 | ||
ab5d3da6 KB |
10716 | 2003-02-07 Kevin Buettner <[email protected]> |
10717 | ||
10718 | * gdbtypes.h (struct main_type): Move ``length'' field from here... | |
10719 | (struct type): ...to here. | |
10720 | (TYPE_LENGTH): Adjust to reflect different location of ``length'' | |
10721 | field. | |
10722 | * gdbtypes.c (make_qualified_type): Set length on newly created type. | |
10723 | (replace_type): Set length on all type variants for a given type. | |
10724 | ||
b8a92b82 AC |
10725 | 2003-02-07 Andrew Cagney <[email protected]> |
10726 | ||
10727 | * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of | |
10728 | <sys/stat.h>. | |
10729 | * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. | |
8ffd9b1b | 10730 | |
5cb316ef AC |
10731 | 2003-02-06 Andrew Cagney <[email protected]> |
10732 | ||
2555fe1a AC |
10733 | * Makefile.in (symm-nat.o): Update dependencies. |
10734 | (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. | |
10735 | (lynx-nat.o, ia64-linux-nat.): Ditto. | |
10736 | * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include | |
10737 | "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. | |
10738 | * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. | |
10739 | ||
44270758 AC |
10740 | * Makefile.in (inflow_h): Define. |
10741 | (procfs.o, inflow.o, procfs.o): Update dependencies. | |
10742 | * inftarg.c (child_stop): Delete extern declaration of | |
10743 | inferior_process_group. Include "inflow.h". | |
10744 | * procfs.c (procfs_stop): Ditto. Include "inflow.h". | |
10745 | * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... | |
10746 | * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. | |
10747 | (our_process_group, inferior_process_group): Extern declarations. | |
10748 | ||
df8f7274 AC |
10749 | * procfs.c: Include "gdb_assert.h". |
10750 | ||
5cb316ef AC |
10751 | * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. |
10752 | * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. | |
10753 | * jv-typeprint.c (java_type_print_base): Ditto. | |
10754 | * typeprint.c (typedef_print): Eliminate STREQ. | |
10755 | * cli/cli-script.c (define_command, define_command): Ditto. | |
10756 | * main.c (captured_main): Ditto. | |
10757 | * values.c (lookup_internalvar): Ditto. | |
10758 | * utils.c (safe_strerror, parse_escape): Eliminate assignment | |
10759 | within `if' conditional. | |
10760 | * linespec.c (decode_line_2): Ditto. | |
10761 | * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. | |
10762 | (bfd_openw_with_cleanup): Ditto. | |
10763 | ||
2a28ccea MK |
10764 | 2003-02-07 Mark Kettenis <[email protected]> |
10765 | ||
10766 | * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to | |
10767 | legacy_extract_return_value and store_return_value to | |
10768 | legacy_return_value. | |
10769 | ||
786b8124 CF |
10770 | 2003-02-06 Raoul Gough <[email protected]> |
10771 | ||
10772 | * win32-nat.c (get_relocated_section_addrs): New function. Find | |
10773 | section load addresses for symbol handling in relocated DLLs. | |
10774 | (solib_symbols_add): Open a bfd and call get_relocated_section_addrs. | |
10775 | ||
b871e4ec FF |
10776 | 2003-02-05 Fred Fish <[email protected]> |
10777 | ||
10778 | * remote-e7000.c (e7000_drain_command): Fix precedence problem with | |
10779 | '=' and '!='. | |
10780 | * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem | |
10781 | with '&' and '=='. | |
10782 | (angel_RDI_info): Ditto. | |
10783 | * infttrace.c (threads_continue_all_but_one): Fix precedence problem | |
10784 | with '&' and '!='. | |
10785 | (threads_continue_all_with_signals): Ditto. | |
8ffd9b1b | 10786 | |
4389a95a | 10787 | 2003-02-05 Jim Ingham <[email protected]> |
fbe586ae RH |
10788 | Keith Seitz <[email protected]> |
10789 | Elena Zannoni <[email protected]> | |
10790 | Andrew Cagney <[email protected]> | |
4389a95a AC |
10791 | |
10792 | * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". | |
10793 | (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". | |
10794 | (SUBDIR_MI_OBS): Add "mi-interp.o". | |
10795 | (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". | |
10796 | (SFILES): Add "interps.c". | |
10797 | (COMMON_OBS): Add "interps.o". | |
10798 | (interps_h, mi_main_h): Define. | |
10799 | (interps.o, cli-interp.o, mi-interp.o): Add dependencies. | |
10800 | (mi-main.o, main.o, event-top.o): Update dependencies. | |
10801 | * cli/cli-interp.c: New file. | |
10802 | * interps.h, interps.c: New files. | |
10803 | * top.c: (gdb_init): Don't install the default interpreter, handed | |
10804 | by captured_main. | |
10805 | * main.c: Include "interps.h". | |
10806 | (interpreter_p): Note that it should malloc'ed. | |
10807 | (captured_command_loop): Call current_interp_command_loop. | |
10808 | (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use | |
10809 | xfree and xstrdup when updating interpreter_p. Install the | |
10810 | default interpreter. Add hack to stop mi1's copyright notice | |
10811 | being encoded. | |
10812 | * event-top.h (gdb_setup_readline): Declare. | |
10813 | (gdb_disable_readline): Declare. | |
10814 | * event-top.c: Include "interps.h". | |
10815 | (display_gdb_prompt): Call current_interp_display_prompt_p. | |
10816 | (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, | |
10817 | gdb_stdlog, and gdb_stdtarg. | |
10818 | (_initialize_event_loop): Don't call gdb_setup_readline. | |
10819 | * cli-out.c (cli_out_set_stream): New function. | |
10820 | * cli-out.h (cli_out_set_stream): Declare. | |
10821 | ||
ff3b5810 MK |
10822 | 2003-02-06 Mark Kettenis <[email protected]> |
10823 | ||
10824 | * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*, | |
10825 | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all | |
10826 | handled fine by i[3456]86-*sco* and i[3456]86-sysv*. | |
10827 | * config/i386/i386sco5.mt, config/i386/i386v4.mt, | |
10828 | config/i386/i386v42mp.mt: Removed. | |
10829 | ||
5b729aa5 MK |
10830 | 2003-02-05 Mark Kettenis <[email protected]> |
10831 | ||
10832 | * configure.tgt (*-*-solaris*): Set gdb_osabi to | |
10833 | GDB_OSABI_SOLARIS. | |
10834 | ||
8cc15142 MC |
10835 | 2003-02-05 Michael Chastain <[email protected]> |
10836 | ||
10837 | * PROBLEMS (i[3456]86-*-linux*): Warn about binutils | |
10838 | 2.12.1 and earlier versions. | |
10839 | ||
5aa5d4b9 AC |
10840 | 2003-02-05 Andrew Cagney <[email protected]> |
10841 | ||
10842 | Remove orphaned hosts, targets and files. | |
10843 | * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. | |
10844 | * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. | |
10845 | * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. | |
10846 | * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. | |
10847 | * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. | |
10848 | * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. | |
10849 | * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. | |
10850 | * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. | |
10851 | * config/sparc/tm-sp64sim.h: Delete. | |
10852 | * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* | |
10853 | hosts. | |
10854 | * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and | |
10855 | mips*-dec-mach3* targets. | |
10856 | ||
b68767c1 MC |
10857 | 2003-02-04 Michael Chastain <[email protected]> |
10858 | ||
10859 | * NEWS: Fix typo: sepcifying -> specifying. | |
10860 | ||
5ae7ca1d MC |
10861 | 2003-02-04 Michael Chastain <[email protected]> |
10862 | ||
10863 | * dwarfread.c: Add documentation on the state of dwarf-1, | |
10864 | looking towards obsoletion. | |
10865 | ||
d08a4280 MC |
10866 | 2003-02-03 Michael Chastain <[email protected]> |
10867 | ||
10868 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, | |
10869 | gdb/testsuite/gdb.c++/pr-1023.exp. | |
10870 | ||
e9be73e4 AC |
10871 | 2003-02-04 Andrew Cagney <[email protected]> |
10872 | ||
10873 | * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. | |
10874 | * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. | |
10875 | ||
10876 | * utils.c (init_page_info): Delete reference to MPW in comments. | |
10877 | * main.c (captured_main): Delete #ifdef MPW. | |
10878 | ||
05d57f6f AC |
10879 | 2003-02-04 Andrew Cagney <[email protected]> |
10880 | ||
8ffd9b1b | 10881 | * NEWS: Note that the m32r-*-elf* is obsolete. |
05d57f6f AC |
10882 | * monitor.c (monitor_expect): Obsolete reference to m32r. |
10883 | * configure.tgt: Mark m32r-*-elf* as obsolete. | |
10884 | * MAINTAINERS: Mark m32k as obsolete. | |
10885 | * m32r-rom.c: Obsolete file. | |
10886 | * config/m32r/m32r.mt: Obsolete file. | |
10887 | * config/m32r/tm-m32r.h: Obsolete file. | |
10888 | * m32r-stub.c: Obsolete file. | |
10889 | * m32r-tdep.c: Obsolete file. | |
10890 | ||
8b0e5691 AC |
10891 | 2003-02-04 Andrew Cagney <[email protected]> |
10892 | ||
10893 | * NEWS: Mention that the z8k-zilog-none is obsolete. | |
10894 | * MAINTAINERS: Mark z8k as obsolete. | |
10895 | * configure.tgt: Obsolete the z8k-*-coff* target. | |
10896 | * config/z8k/z8k.mt: Obsolete file. | |
10897 | * config/z8k/tm-z8k.h: Obsolete file. | |
10898 | * z8k-tdep.c: Obsolete file. | |
10899 | ||
67f16606 AC |
10900 | 2003-02-04 Andrew Cagney <[email protected]> |
10901 | ||
10902 | * NEWS: Mention that the mn10200-elf is obsolete. | |
10903 | * configure.tgt: Obsolete mn10200-*-* target. | |
10904 | * breakpoint.c (update_breakpoints_after_exec): Update comment to | |
10905 | mention that the mn10200 is obsolete. | |
10906 | * breakpoint.h: Ditto. | |
10907 | * MAINTAINERS: Mark the mn10200-elf as obsolete. | |
10908 | * config/mn10200/mn10200.mt: Obsolete file. | |
10909 | * config/mn10200/tm-mn10200.h: Obsolete file. | |
10910 | * mn10200-tdep.c: Obsolete file. | |
10911 | ||
fd2299bd AC |
10912 | 2003-02-04 Andrew Cagney <[email protected]> |
10913 | ||
10914 | * MAINTAINERS: Mark h8500 as obsolete. | |
10915 | * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. | |
10916 | * findvar.c (value_from_register): Ditto. | |
10917 | * h8500-tdep.c: Mark file as obsolete. | |
10918 | * config/h8500/h8500.mt: Ditto. | |
10919 | * config/h8500/tm-h8500.h: Ditto. | |
10920 | * NEWS: Mention that h8500 is obsolete. | |
10921 | ||
eb9a305d DC |
10922 | 2003-02-04 David Carlton <[email protected]> |
10923 | ||
10924 | * objfiles.c (allocate_objfile): Always set name. Add comment at | |
10925 | start of function. | |
10926 | * jv-lang.c (get_dynamics_objfile): Add comment. | |
10927 | ||
406fc7fb DC |
10928 | 2003-02-04 David Carlton <[email protected]> |
10929 | ||
10930 | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. | |
10931 | * printcmd.c (build_address_symbolic): Replace uses of | |
10932 | SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, | |
10933 | SYMBOL_NAME, and asm_demangle. | |
10934 | Update copyright. | |
10935 | ||
93d91629 DC |
10936 | 2003-02-04 David Carlton <[email protected]> |
10937 | ||
10938 | * linespec.c (decode_compound): Extract code into | |
10939 | lookup_prefix_sym. | |
10940 | (lookup_prefix_sym): New function. | |
10941 | ||
1c5cb38e DC |
10942 | 2003-02-04 David Carlton <[email protected]> |
10943 | ||
10944 | * gdbtypes.h: Delete INTEGER_COERCION_BADNESS, | |
10945 | FLOAT_COERCION_BADNESS. | |
10946 | * gdbtypes.c (rank_one_type): Replace all uses of | |
10947 | INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS. | |
10948 | ||
0cf824c9 JB |
10949 | 2003-02-04 Jim Blandy <[email protected]> |
10950 | ||
10951 | * dwarf2read.c (dwarf2_locate_sections): When we find a macro info | |
10952 | section, let dwarf_macinfo_section point to it, not | |
10953 | dwarf_loc_section. | |
10954 | ||
a2d356b0 DJ |
10955 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
10956 | ||
10957 | Pointed out by Anton Blanchard <[email protected]>. | |
10958 | * ppc-linux-tdep.c (insn_is_sigreturn): New function. | |
10959 | (ppc_linux_at_sigtramp_return_path): Use it. | |
10960 | ||
2de7ced7 DJ |
10961 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
10962 | ||
10963 | * defs.h (streq): Add prototype. | |
10964 | * utils.c (streq): New function. | |
10965 | ||
10966 | * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of | |
10967 | SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. | |
10968 | * mdebugread.c (new_symbol): Likewise. | |
10969 | * stabsread.c (define_symbol): Likewise. | |
10970 | * coffread.c (process_coff_symbol): Likewise. | |
10971 | * dwarfread.c (new_symbol): Likewise. | |
10972 | ||
10973 | * minsyms.c (prim_record_minimal_symbol_and_info): Use | |
10974 | SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language | |
10975 | here. | |
10976 | (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call | |
10977 | SYMBOL_INIT_DEMANGLED_NAME. | |
10978 | * objfiles.c: Include "hashtab.h". | |
10979 | (allocate_objfile): Call htab_set_functions_ex for the | |
10980 | demangled_names_hash. | |
10981 | (free_objfile): Call htab_delete for the demangled_names_hash. | |
10982 | * objfiles.h (struct htab): Add declaration. | |
10983 | (struct objfile): Add demangled_names_hash. | |
10984 | * symfile.c: Include "hashtab.h". | |
10985 | (reread_symbols): Call htab_delete for the demangled_names_hash. | |
10986 | (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting | |
10987 | SYMBOL_NAME in the bcache. | |
10988 | * symtab.c: Include "hashtab.h". Update comments. | |
10989 | (create_demangled_names_hash, symbol_set_names): New functions. | |
10990 | (symbol_find_demangled_name): New function, broken out from | |
10991 | symbol_init_demangled_names. | |
10992 | (symbol_init_demangled_names): Use it. | |
10993 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. | |
10994 | (SYMBOL_SET_NAMES): New macro. | |
10995 | (symbol_set_names): Add prototype. | |
10996 | ||
15831452 JB |
10997 | 2003-02-03 Jim Blandy <[email protected]> |
10998 | ||
10999 | Use a single, consistent representation for an empty minimal | |
11000 | symbol table in an objfile. | |
11001 | * objfiles.c (terminate_minimal_symbol_table): New function. | |
11002 | (allocate_objfile): Call it. | |
11003 | * objfiles.h (terminate_minimal_symbol_table): New declaration. | |
11004 | (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is | |
8ffd9b1b | 11005 | non-NULL. |
15831452 JB |
11006 | * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether |
11007 | objfile has minimal symbols, compare minimal_symbol_count to zero, | |
11008 | instead of comparing msymbols with NULL. | |
11009 | * objfiles.c (have_minimal_symbols): Same. | |
11010 | * solib-sunos.c (solib_add_common_symbols): Call | |
11011 | terminate_minimal_symbol_table. | |
11012 | * symfile.c (reread_symbols): Same. | |
8ffd9b1b | 11013 | |
ffc65945 KB |
11014 | 2003-02-03 Kevin Buettner <[email protected]> |
11015 | ||
11016 | * s390-tdep.c (s390_address_class_type_flags) | |
11017 | (s390_address_class_type_flags_to_name) | |
11018 | (s390_address_class_name_to_type_flags): New functions. | |
11019 | (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, | |
11020 | ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS. | |
11021 | ||
f211c6d4 MS |
11022 | 2003-02-03 Michael Snyder <[email protected]> |
11023 | ||
11024 | * arm-tdep.c: Fix spell-o in comment. | |
11025 | ||
659b0389 ML |
11026 | 2003-02-03 Michal Ludvig <[email protected]> |
11027 | ||
11028 | * dwarf2cfi.c (pointer_encoding): Added new parameter. | |
11029 | * dwarf2cfi.c, dwarf2read.c: Changed all warnings and | |
8ffd9b1b | 11030 | error messages to contain BFD filename. |
659b0389 | 11031 | |
3b31d625 EZ |
11032 | 2003-02-02 Elena Zannoni <[email protected]> |
11033 | ||
997b089a | 11034 | Fix PR gdb/742 gdb/743 gdb/877 |
3b31d625 EZ |
11035 | * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. |
11036 | (do_mixed_source_and_assembly): Use | |
11037 | make_cleanup_ui_out_tuple_begin_end and | |
11038 | make_cleanup_ui_out_tuple_begin_end. | |
11039 | (do_mixed_source_and_assembly): Ditto. | |
11040 | * thread.c (do_captured_list_thread_ids): Ditto. | |
11041 | * ui-out.h (ui_out_table_begin, ui_out_list_begin, | |
11042 | ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, | |
11043 | ui_out_tuple_end): Delete prototypes. | |
11044 | * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, | |
11045 | ui_out_list_end, ui_out_tuple_end): Delete. | |
11046 | ||
11047 | From Kevin Buettner <[email protected]>: | |
11048 | * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. | |
fbe586ae RH |
11049 | * ui-out.c (make_cleanup_ui_out_table_begin_end) |
11050 | (do_cleanup_table_end): New functions. | |
11051 | * breakpoint.c (print_it_typical, print_one_breakpoint, mention): | |
11052 | Use cleanups to invoke_ui_out_tuple_end(). | |
11053 | (breakpoint_1): Use cleanup to invoke ui_out_table_end(). | |
3b31d625 EZ |
11054 | * cli/cli-setshow.c (cmd_show_list): Use |
11055 | make_cleanup_ui_out_tuple_begin_end. | |
8ffd9b1b | 11056 | |
5b181d62 AC |
11057 | 2003-02-02 Andrew Cagney <[email protected]> |
11058 | ||
11059 | * frame.c (frame_unwind_register): New function. | |
11060 | (frame_unwind_unsigned_register): Use. | |
11061 | (frame_unwind_signed_register): Use. | |
11062 | (frame_read_register): New function. | |
11063 | * frame.h (frame_unwind_register): Declare. | |
11064 | (frame_read_register): Declare. | |
11065 | ||
11066 | * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write | |
11067 | and frame_unwind_register instead of read_memory, write_register | |
11068 | and deprecated_write_register_bytes. | |
11069 | ||
5f601589 AC |
11070 | 2003-02-02 Andrew Cagney <[email protected]> |
11071 | ||
11072 | * frame.h: Note that namelen can be negative. | |
11073 | * frame.c (frame_map_name_to_regnum): When LEN is negative, use | |
11074 | NAME's length. | |
11075 | ||
11076 | * NEWS: Mention that the d10v's `regs' command is deprecated. | |
11077 | * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. | |
11078 | (d10v_print_registers_info): New function. | |
11079 | (show_regs): Call d10v_print_registers_info. | |
11080 | (_initialize_d10v_tdep): Mark "show regs" command as deprecated. | |
11081 | ||
6a3fe0a4 MK |
11082 | 2003-02-02 Mark Kettenis <[email protected]> |
11083 | ||
11084 | * stack.c (print_frame_info): Restore call to annotate_frame_begin | |
11085 | lost in the previous patch. | |
11086 | ||
075559bc AC |
11087 | 2003-02-01 Andrew Cagney <[email protected]> |
11088 | ||
11089 | From 2002-11-09 Jason Molenda ([email protected]) | |
fbe586ae RH |
11090 | * stack.c (print_frame_info_base): Output complete FRAME tuple |
11091 | for synthesized frames. | |
075559bc | 11092 | |
6789195b AC |
11093 | 2003-02-02 Andrew Cagney <[email protected]> |
11094 | ||
11095 | * mips-nat.c (zerobuf): Delete. | |
11096 | (fetch_inferior_registers): Alloc local zerobuf. | |
11097 | (fetch_core_registers): Alloc local zerobuf. | |
11098 | * d10v-tdep.c (show_regs): Don't allocate a dynamic array using | |
11099 | MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. | |
11100 | * thread-db.c (thread_db_store_registers): Ditto. | |
11101 | * sh-tdep.c (sh_do_register): Ditto. | |
11102 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
11103 | * remote-sim.c (gdbsim_store_register): Ditto. | |
11104 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
11105 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
11106 | * monitor.c (monitor_supply_register): Ditto. | |
11107 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
11108 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
11109 | * m68klinux-nat.c (fetch_register): Ditto. | |
11110 | * lynx-nat.c (fetch_inferior_registers): Ditto. | |
11111 | (fetch_inferior_registers): Ditto. | |
11112 | * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
11113 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
11114 | (hpux_thread_store_registers): Ditto. | |
11115 | * hppah-nat.c (fetch_register): Ditto. | |
11116 | * hppab-nat.c (fetch_register): Ditto. | |
11117 | * hppa-tdep.c (pa_register_look_aside): Ditto. | |
11118 | (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. | |
11119 | * dve3900-rom.c (fetch_bitmapped_register): Ditto. | |
11120 | ||
e669114a AC |
11121 | 2003-02-01 Andrew Cagney <[email protected]> |
11122 | ||
11123 | * gdbarch.sh: Explictly specify all method levels. When a | |
11124 | variable with an empty level, provide a non-multi-arch default. | |
11125 | (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. | |
11126 | * gdbarch.h: Re-generate. | |
11127 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. | |
11128 | * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1 | |
11129 | ||
9a043c1d AC |
11130 | 2003-02-01 Andrew Cagney <[email protected]> |
11131 | ||
11132 | * defs.h (host_pointer_to_address): Delete declaration. | |
11133 | (address_to_host_pointer): Delete declaration. | |
11134 | * utils.c (host_pointer_to_address): Delete function. | |
11135 | (address_to_host_pointer): Delete function. | |
11136 | * procfs.c (procfs_address_to_host_pointer): New function. | |
11137 | * procfs.c (proc_set_watchpoint): Use. | |
11138 | (procfs_can_use_hw_breakpoint): Update comments. | |
11139 | * somsolib.c (hpux_address_to_host_pointer_hack): New function. | |
11140 | (som_solib_add): Use. | |
11141 | * hppa-tdep.c (hppa_pointer_to_address_hack): New function. | |
11142 | * hppa-tdep.c (unwind_command): Use. | |
8ffd9b1b | 11143 | |
7ca9f392 AC |
11144 | 2003-02-01 Andrew Cagney <[email protected]> |
11145 | ||
94bbfd30 AC |
11146 | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and |
11147 | strlen d_name. | |
11148 | ||
7ca9f392 AC |
11149 | * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, |
11150 | ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. | |
11151 | (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. | |
11152 | * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. | |
11153 | (define_symbol): Update. | |
11154 | * symfile.c (generic_load): Remove references to nindy. | |
11155 | * symtab.c: Remove references to nindy. | |
11156 | ||
31a85ea2 AC |
11157 | 2003-02-01 Andrew Cagney <[email protected]> |
11158 | ||
11159 | * infcmd.c (print_float_info): Delete code conditional on | |
11160 | FLOAT_INFO. | |
11161 | * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. | |
11162 | * config/m68k/nm-apollo68b.h: Ditto. | |
11163 | * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. | |
11164 | * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. | |
11165 | * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. | |
11166 | ||
f6e85fc8 MK |
11167 | 2003-02-01 Mark Kettenis <[email protected]> |
11168 | ||
6015b6a0 MK |
11169 | * config/i386/tm-i386os9k.h: Removed. |
11170 | ||
f7a30bdf MK |
11171 | * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v. |
11172 | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since | |
11173 | they're identical to i[3456]86-*-sysv* now. | |
11174 | * config/i386/i386v32.mh: Removed. | |
11175 | * config/i386/xm-i386v32.h: Removed. | |
11176 | * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro. | |
11177 | ||
28d52111 MK |
11178 | * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed. |
11179 | ||
4d3f6bce MK |
11180 | * config/i386/i386dgux.mh: Removed. |
11181 | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4. | |
11182 | ||
f6e85fc8 MK |
11183 | * configure.in: Fix typo. |
11184 | * configure: Regenerated. | |
11185 | ||
53955967 DC |
11186 | 2003-01-31 David Carlton <[email protected]> |
11187 | ||
11188 | * dwarf2read.c (dwarf2_locate_sections): Set | |
11189 | dwarf_ranges_section. | |
11190 | ||
b1364885 AC |
11191 | 2003-01-31 Andrew Cagney <[email protected]> |
11192 | ||
8dbb1c65 AC |
11193 | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. |
11194 | * utils.c: Update comments documenting legitimate uses of PTR. | |
8ffd9b1b | 11195 | |
8731e58e AC |
11196 | * utils.c: Re-indent. |
11197 | ||
b1364885 AC |
11198 | * config/djgpp/fnchange.lst: Delete nindy files. |
11199 | * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. | |
11200 | * nindy-share/nindy.c, nindy-share/env.h: Delete files. | |
11201 | * nindy-share/coff.h, nindy-share/block_io.h: Delete files. | |
11202 | * nindy-share/b.out.h, nindy-share/VERSION: Delete files. | |
11203 | * nindy-share/README, nindy-share/Onindy.c: Delete files. | |
11204 | * nindy-tdep.c, nindy-share/Makefile: Delete files. | |
11205 | * Makefile.in (init.c): Remove nindy references. | |
11206 | (saber_gdb): Delete rule. | |
11207 | (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, | |
11208 | nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, | |
11209 | and a68v-nat.c. | |
11210 | (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. | |
11211 | (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. | |
11212 | (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, | |
11213 | nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and | |
11214 | nindy-share/stop.h. | |
11215 | * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. | |
11216 | * saber.suppress: Delete file. | |
11217 | ||
086df311 DJ |
11218 | 2003-01-31 Daniel Jacobowitz <[email protected]> |
11219 | ||
11220 | * dbxread.c (stabs_data): New static variable. | |
11221 | (fill_symbuf): Support an in-memory buffer for stabs data. | |
11222 | (stabs_seek): New function. | |
11223 | (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. | |
11224 | (read_ofile_symtab): Use stabs_seek. | |
11225 | (elfstab_build_psymtabs): Take an asection* instead of | |
11226 | an offset and size. Relocate the stabs data if necessary. | |
11227 | Save the section* for dbx_psymtab_to_symtab. | |
11228 | * dwarf2read.c: Add section variables for each debug section. | |
11229 | (dwarf2_locate_sections): Fill them in. | |
11230 | (dwarf2_read_section): Take an asection* argument. | |
11231 | Relocate the section contents if necessary. | |
11232 | (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. | |
11233 | * dwarf2cfi.c (parse_frame_info): Take a section argument and pass | |
11234 | it to dwarf2_read_section. | |
11235 | (dwarf2_build_frame_info): Update callers. | |
11236 | * elfread.c (elf_symfile_read): Update call to | |
11237 | elfstab_build_psymtabs. | |
11238 | * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. | |
11239 | (DBX_STAB_SECTION): New macro. | |
8ffd9b1b | 11240 | * stabsread.h (elfstab_build_psymtabs): Update prototype. |
086df311 DJ |
11241 | * symfile.c (symfile_dummy_outputs): New function. |
11242 | (symfile_relocate_debug_section): New function. | |
11243 | * symfile.h (symfile_relocate_debug_section): Add prototype. | |
11244 | ||
87d1b352 RH |
11245 | 2003-01-31 Richard Henderson <[email protected]> |
11246 | ||
11247 | * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ... | |
11248 | (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. | |
11249 | (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. | |
11250 | * alpha-tdep.c (alpha_register_name): Add "unique". | |
11251 | * alpha-tdep.h (ALPHA_NUM_REGS): Increment. | |
11252 | (ALPHA_UNIQUE_REGNUM): New. | |
11253 | * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New. | |
11254 | ||
c48861fb AC |
11255 | 2003-01-31 Andrew Cagney <[email protected]> |
11256 | ||
11257 | * README: Remove reference to Ericsson 1800 monitor. | |
11258 | * Makefile.in (remote-es.o): Delete rule. | |
11259 | (ALLDEPFILES): Delete remote-es.c. | |
11260 | * remote-es.c: Delete file. | |
11261 | * config/m68k/es1800.mt: Delete file. | |
11262 | * config/djgpp/fnchange.lst: Update. | |
11263 | * configure.tgt: Delete m68*-ericsson-* target. | |
11264 | ||
d764a824 AF |
11265 | 2003-01-31 Adam Fedor <[email protected]> |
11266 | ||
11267 | * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc. | |
11268 | Remove duplicate/shadowing variable of same name. | |
11269 | ||
fe36c4f4 JB |
11270 | 2003-01-30 Jim Blandy <[email protected]> |
11271 | ||
11272 | * symfile.c (find_separate_debug_file): Assert that the objfile's | |
11273 | directory name we compute ends with a slash, and then assume that | |
11274 | that's so everywhere we use it. | |
11275 | ||
cb741690 DJ |
11276 | 2003-01-30 Daniel Jacobowitz <[email protected]> |
11277 | ||
11278 | * valops.c (value_assign): Flush frame cache after stores to memory | |
11279 | also. | |
11280 | ||
96ee5227 AC |
11281 | 2003-01-30 Andrew Cagney <[email protected]> |
11282 | ||
11283 | * Makefile.in (mon960-rom.o): Delete rule. | |
11284 | * mon960-rom.c: Delete file. | |
11285 | ||
7f6104a9 AC |
11286 | 2003-01-30 Andrew Cagney <[email protected]> |
11287 | ||
11288 | * d10v-tdep.c: Include "frame-unwind.h". | |
11289 | (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate | |
11290 | list. | |
11291 | (next_addr, uses_frame): Delete. | |
11292 | (struct d10v_unwind_cache): Define. | |
11293 | (prologue_find_regs): Add struct d10v_unwind_cache info parameter. | |
11294 | Use info instead of next_addr and uses_frame globals. | |
11295 | (d10v_frame_init_saved_regs): Delete function. | |
11296 | (d10v_init_extra_frame_info): Delete function. | |
11297 | (d10v_gdbarch_init): Do not initialize init_extra_frame_info, | |
11298 | frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, | |
11299 | init_frame_pc or frame_saved_pc. | |
11300 | (d10v_pop_frame): Delete function. | |
11301 | (do_d10v_pop_frame): Delete function. | |
11302 | (d10v_frame_chain): Delete function. | |
11303 | (d10v_frame_chain_valid): Delete function. | |
11304 | (d10v_frame_pc_unwind): New function. | |
11305 | (d10v_frame_id_unwind): New function. | |
11306 | (saved_regs_unwinder): New function. | |
11307 | (d10v_frame_register_unwind): New function. | |
11308 | (d10v_frame_pop): New function. | |
11309 | (d10v_frame_unwind): New variable. | |
11310 | (d10v_frame_p): New function. | |
11311 | (d10v_frame_saved_pc): Delete function. | |
11312 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
11313 | ||
cad2e848 JB |
11314 | 2003-01-30 J. Brobecker <[email protected]> |
11315 | ||
11316 | * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef | |
11317 | causing some regressions due to a change in the default value | |
11318 | for this macro. | |
11319 | ||
af34e669 DJ |
11320 | 2003-01-29 Richard Henderson <[email protected]> |
11321 | Elena Zannoni <[email protected]> | |
11322 | Daniel Jacobowitz <[email protected]> | |
11323 | ||
11324 | Fix PR gdb/961. | |
8ffd9b1b | 11325 | * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New |
af34e669 DJ |
11326 | variables. |
11327 | (RANGES_SECTION): New. | |
11328 | (dwarf_ranges_buffer): New variable. | |
11329 | (struct comp_unit_head): Add member "die". | |
11330 | (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. | |
11331 | (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. | |
11332 | (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. | |
11333 | (dwarf2_locate_sections): Likewise. | |
11334 | (dwarf2_build_psymtabs): Read .debug_ranges. | |
11335 | (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. | |
11336 | (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. | |
11337 | (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. | |
11338 | Look for DW_AT_ranges and return the bounding box. | |
11339 | ||
baa93fa6 CF |
11340 | 2003-01-29 Brian Ford <[email protected]> |
11341 | ||
11342 | * win32-nat.c (cygwin_pid): Removed as unused. | |
11343 | (child_attach): Try fall back to Cygwin pid. | |
11344 | ||
c63f977f JB |
11345 | 2003-01-29 Jim Blandy <[email protected]> |
11346 | ||
11347 | * objfiles.h (struct objfile): Doc fix. | |
11348 | ||
d62d1979 AC |
11349 | 2003-01-29 Andrew Cagney <[email protected]> |
11350 | ||
11351 | * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. | |
11352 | (legacy_get_prev_frame): Assert FRAME_CHAIN_P. | |
11353 | (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. | |
11354 | (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. | |
11355 | * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. | |
11356 | (FRAME_SAVED_PC): Change to a function with predicate. | |
11357 | * gdbarch.h, gdbarch.c: Re-generate. | |
11358 | ||
1ae18a04 AC |
11359 | 2003-01-28 Andrew Cagney <[email protected]> |
11360 | ||
52287340 AC |
11361 | * hppah-nat.c (child_pid_to_exec_file): Don't use boolean. |
11362 | ||
1ae18a04 AC |
11363 | * complaints.c (complain): Delete function. |
11364 | * complaints.h (struct deprecated_complaint): Delete definition. | |
11365 | (complain): Delete declaration. | |
11366 | ||
f2c16bd6 KB |
11367 | 2003-01-28 Kevin Buettner <[email protected]> |
11368 | ||
11369 | * mips-tdep.c (mips_init_extra_frame_info): Return early for | |
11370 | dummy frames. | |
11371 | ||
a94dd1fd AC |
11372 | 2003-01-27 Andrew Cagney <[email protected]> |
11373 | ||
11374 | * sentinel-frame.h, sentinel-frame.c: New files. | |
11375 | * Makefile.in (frame.o): Update dependencies. | |
11376 | (SFILES): Add sentinel-frame.c. | |
11377 | (sentinel_frame_h): Define. | |
11378 | (COMMON_OBS): Add sentinel-frame.o. | |
11379 | (sentinel-frame.o): Specify dependencies. | |
11380 | * frame.c: Include "sentinel-frame.h". | |
11381 | (frame_register_unwind): Rewrite assuming that there is always a a | |
11382 | ->next frame. | |
11383 | (frame_register, generic_unwind_get_saved_register): Ditto. | |
11384 | (frame_read_unsigned_register, frame_read_signed_register): Ditto. | |
11385 | (create_sentinel_frame, unwind_to_current_frame): New functions. | |
11386 | (get_current_frame): Rewrite using create_sentinel_frame and | |
11387 | unwind_to_current_frame. When possible, always create a frame. | |
11388 | (create_new_frame): Set next to the sentinel frame. | |
11389 | (get_next_frame): Rewrite. Don't go below the level 0 frame. | |
11390 | (deprecated_update_frame_pc_hack): Update the next frame's PC and | |
11391 | ID cache when necessary. | |
11392 | (frame_saved_regs_id_unwind): Use frame_relative_level. | |
11393 | (deprecated_generic_get_saved_register): Use frame_relative_level, | |
11394 | get_frame_saved_regs, get_frame_pc, get_frame_base and | |
11395 | get_next_frame. | |
11396 | (frame_saved_regs_register_unwind): Use get_frame_saved_regs and | |
11397 | frame_register. | |
11398 | ||
5378adc4 DJ |
11399 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
11400 | ||
11401 | * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments. | |
11402 | ||
51ee2ddc DJ |
11403 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
11404 | ||
11405 | * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] | |
11406 | (maintenance_set_profile_cmd): Use error () instead of warning (). | |
11407 | ||
d9feb4e7 DJ |
11408 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
11409 | ||
11410 | * configure.in: Check that -pg works if using --enable-profiling. | |
11411 | Check for monstartup and _mcleanup regardless of --enable-profiling. | |
11412 | * maint.c: Check for monstartup and _mcleanup before using them. | |
11413 | * config.in: Regenerated. | |
11414 | * configure: Regenerated. | |
11415 | ||
2d188dd3 NC |
11416 | 2003-01-24 Nick Clifton <[email protected]> |
11417 | ||
11418 | * Add sh2e support: | |
11419 | ||
11420 | 2002-04-02 Elena Zannoni <[email protected]> | |
11421 | ||
11422 | * gdb/sh-tdep.c (sh_sh2e_register_name): New. | |
11423 | (sh2e_show_regs): New. | |
11424 | (sh_gdbarch_init): Handle bfd_mach_sh2e. | |
11425 | * config/sh/tm-sh.h: Added sh2e to comments. | |
11426 | ||
cb3c37b2 JB |
11427 | 2003-01-23 Jim Blandy <[email protected]> |
11428 | ||
11429 | * symfile.c (syms_from_objfile): Don't print the "(no debugging | |
11430 | symbols found)" message here; we haven't checked for a separate | |
11431 | debug info file yet, so we don't know yet. | |
11432 | (symbol_file_add_with_addrs_or_offsets): Print it here, after | |
11433 | we've looked everywhere. Also, there's no need to print a special | |
11434 | message when we're loading the separate debug info file: the one | |
11435 | symbol_file_add prints is fine. | |
11436 | ||
5b5d99cf JB |
11437 | 2003-01-23 Alexander Larsson <[email protected]> |
11438 | Jim Blandy <[email protected]> | |
11439 | ||
11440 | Add support for executables whose debug info has been separated | |
11441 | out into a separate file, leaving only a link behind. | |
11442 | * objfiles.h (struct objfile): New fields: separate_debug_objfile | |
11443 | and separate_debug_objfile_backlink. | |
11444 | (put_objfile_before): New declaration. | |
11445 | * symfile.c: #include "filenames.h". | |
11446 | (symbol_file_add_with_addrs_or_offsets): If this objfile has its | |
11447 | debug info in a separate file, read that, too. Save the addrs | |
11448 | argument, so we can use it again to read the separated debug info; | |
11449 | syms_from_objfile modifies the table we pass it. | |
11450 | (reread_symbols): After re-reading an objfile, call | |
11451 | reread_separate_symbols to refresh its separate debug info | |
11452 | objfile, if it has one. | |
11453 | (reread_separate_symbols, find_separate_debug_file, | |
11454 | get_debug_link_info, separate_debug_file_exists): New functions. | |
11455 | (debug_file_directory): New global var. | |
11456 | (_initialize_symfile): Initialize debug_file_directory, and | |
11457 | provide the new `set debug-file-directory' command to let the user | |
11458 | change it. | |
11459 | * objfiles.c (free_objfile): If this objfile has its debug info in | |
11460 | a separate objfile, free that one too. If this is itself a | |
11461 | separate debug info objfile, clear our parent's backlink. | |
11462 | (put_objfile_before): New function. | |
11463 | * utils.c (gnu_debuglink_crc32): New function. | |
11464 | * defs.h (gnu_debuglink_crc32): New declaration. | |
11465 | * Makefile.in (symfile.o): Note dependency on "filenames.h". | |
11466 | * configure.in: Handle --with-separate-debug-dir config option. | |
11467 | * acinclude.m4 (AC_DEFINE_DIR): New macro. | |
11468 | * acconfig.h (DEBUGDIR): New macro. | |
11469 | * configure, aclocal.m4, config.in: Regenerated. | |
11470 | ||
7e8580c1 JB |
11471 | 2003-01-22 Jim Blandy <[email protected]> |
11472 | ||
7904e09f JB |
11473 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New function, |
11474 | like the old symbol_file_add, but taking new arguments: you can | |
11475 | now pass in either a `struct section_addr_info' list to say where | |
11476 | each section is loaded, or a `struct section_offsets' table. Pass | |
11477 | these new arguments through to syms_from_objfile as appropriate. | |
8ffd9b1b | 11478 | (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, |
7904e09f JB |
11479 | with the appropriate quiescent values for the new arguments. |
11480 | ||
7e8580c1 JB |
11481 | * symfile.c: #include "gdb_assert.h". |
11482 | (syms_from_objfile): Add the ability to pass in a section offset | |
11483 | table directly, as an alternative to the section_addr_info table. | |
11484 | Document arguments better. | |
11485 | (symbol_file_add): Pass extra arguments to syms_from_objfile. | |
11486 | * symfile.h (syms_from_objfile): Update declaration. | |
11487 | * rs6000-nat.c (objfile_symbol_add): Pass new arguments to | |
11488 | syms_from_objfile. | |
11489 | * Makefile.in (symfile.o): List dependency on $(gdb_assert_h). | |
11490 | ||
d28f9cdf DJ |
11491 | 2003-01-22 Daniel Jacobowitz <[email protected]> |
11492 | ||
11493 | Original patch by Tom Tromey <[email protected]> and | |
11494 | Jason Molenda <[email protected]>. | |
11495 | * Makefile.in (PROFILE_CFLAGS): Substitute from configure. | |
11496 | (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. | |
11497 | * NEWS: Mention profiling. | |
11498 | * configure.in (--enable-gdbtk): Fix typo. | |
11499 | (--enable-profiling): New. Set PROFILE_CFLAGS. | |
11500 | * maint.c (maintenance_set_profile_cmd): Remove NOTYET. | |
11501 | Fill in function. | |
11502 | (profiling_state): New variable. | |
11503 | (mcleanup_wrapper): New function. | |
11504 | (_initialize_maint): Remove NOTYET, fix call to | |
11505 | add_setshow_boolean_cmd for "maint set profile". | |
11506 | * configure: Regenerated. | |
11507 | ||
df21e465 MH |
11508 | 2003-01-21 Martin M. Hunt <[email protected]> |
11509 | ||
11510 | * Makefile.in (install-gdbtk): Install PNG images too. | |
11511 | ||
73c1f219 AC |
11512 | 2003-01-21 Andrew Cagney <[email protected]> |
11513 | ||
11514 | * exec.c (text_start): Delete global variable. | |
11515 | (exec_file_attach): Make text_start local to the function. | |
11516 | * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. | |
11517 | * valops.c (hand_function_call): Delete code that handles | |
11518 | BEFORE_TEXT_END and AFTER_TEXT_END. | |
11519 | * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead | |
11520 | of CALL_DUMMY_LOCATION. | |
11521 | * gdbarch.c: Regenerate. | |
11522 | * inferior.h (deprecated_pc_in_call_dummy_before_text_end) | |
11523 | (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. | |
11524 | * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) | |
11525 | (deprecated_pc_in_call_dummy_after_text_end): Delete functions. | |
11526 | (text_end): Delete extern declaration. | |
11527 | ||
eb4f72c5 AC |
11528 | 2003-01-21 Andrew Cagney <[email protected]> |
11529 | ||
11530 | * frame.h (FRAME_OBSTACK_ZALLOC): Define. | |
11531 | * blockframe.c (backtrace_below_main): Move to "frame.c". | |
11532 | (frame_chain_valid): Delete check for backtrace_below_main. | |
11533 | (_initialize_blockframe): Delete initialization, move ``set | |
11534 | backtrace-below-main'' command to "frame.c". | |
11535 | (do_flush_frames_sfunc): Delete function. | |
11536 | * frame.c: Include "command.h" and "gdbcmd.h". | |
11537 | (frame_type_from_pc): New function. | |
11538 | (create_new_frame): Use frame_type_from_pc. | |
11539 | (legacy_get_prev_frame): New function. | |
11540 | (get_prev_frame): Rewrite. When an old style frame, call | |
11541 | legacy_get_prev_frame. Otherwize, unwind the PC first. | |
11542 | (_initialize_frame): Add ``set backtrace-below-main'' command. | |
11543 | * Makefile.in (frame.o): Update dependencies. | |
11544 | ||
778ce8cc AC |
11545 | 2003-01-19 Andrew Cagney <[email protected]> |
11546 | ||
11547 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename | |
11548 | DEPRECATED_REGISTERS_INFO. | |
11549 | ||
01c193c8 AC |
11550 | 2003-01-19 Andrew Cagney <[email protected]> |
11551 | ||
11552 | * MAINTAINERS: Replace `Blanket Write Privs' with `Global | |
11553 | Maintainers'. Update `Various Maintainers'. | |
11554 | ||
dedc2a2b AC |
11555 | 2003-01-19 Andrew Cagney <[email protected]> |
11556 | ||
11557 | * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. | |
11558 | * gdbarch.sh (POP_FRAME): Change to function with predicate. | |
11559 | Suppress actual parameters when `-'. | |
11560 | * gdbarch.h, gdbarch.c: Regenerate. | |
11561 | ||
b7261c70 AC |
11562 | 2003-01-19 Andrew Cagney <[email protected]> |
11563 | ||
11564 | * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore | |
11565 | code handling dummy frames. | |
11566 | ||
dbe9fe58 AC |
11567 | 2003-01-19 Andrew Cagney <[email protected]> |
11568 | ||
11569 | * frame-unwind.h (frame_unwind_pop_ftype): Declare. | |
11570 | (struct frame_unwind): Add field pop. | |
11571 | * frame.h (frame_pop): Declare. | |
11572 | * frame.c (frame_saved_regs_pop): New function. | |
11573 | (trad_frame_unwinder): Add frame_saved_regs_pop. | |
11574 | (frame_pop): New function. | |
11575 | * dummy-frame.c (dummy_frame_pop): New function. | |
11576 | (discard_innermost_dummy): New function. | |
11577 | (generic_pop_dummy_frame): Use discard_innermost_dummy. | |
11578 | (dummy_frame_unwind): Add dummy_frame_pop. | |
11579 | * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. | |
11580 | * valops.c (hand_function_call): Ditto. | |
11581 | * stack.c (return_command): Ditto. | |
11582 | ||
570b8f7c AC |
11583 | 2003-01-18 Andrew Cagney <[email protected]> |
11584 | ||
11585 | * cris-tdep.c: Fix function declaration indentation. | |
11586 | * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. | |
11587 | * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. | |
11588 | * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. | |
11589 | * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. | |
11590 | * xcoffread.c, config/pa/tm-hppa.h: Ditto. | |
11591 | * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto. | |
11592 | ||
11593 | 2003-01-18 Michael Chastain <[email protected]> | |
eaec4d85 MC |
11594 | |
11595 | * README (Unpacking and Installation -- quick overview): | |
11596 | Warn against ".../gdb-5.3/gdb/configure". | |
11597 | ||
494cca16 AC |
11598 | 2003-01-18 Andrew Cagney <[email protected]> |
11599 | ||
11600 | * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. | |
11601 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
11602 | (struct frame_unwind): Declare opaque. | |
11603 | (dummy_frame_p): Declare function. | |
11604 | * dummy-frame.c (dummy_frame_id_unwind): Make static. | |
11605 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
11606 | * dummy-frame.c: Include "frame-unwind.h". | |
11607 | (dummy_frame_p): New function. | |
11608 | (dummy_frame_unwind): New variable. | |
11609 | * frame.c: Include "frame-unwind.h". | |
11610 | (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update | |
11611 | to use the new unwind field. | |
11612 | (set_unwind_by_pc): Delete function. | |
11613 | (create_new_frame, get_prev_frame): Set unwind field using | |
11614 | frame_unwind_find_by_pc. | |
11615 | (trad_frame_unwind, trad_frame_unwinder): New variables. | |
11616 | * frame.h (trad_frame_unwind): Declare variable. | |
11617 | (frame_id_unwind_ftype): Delete declaration. | |
11618 | (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. | |
11619 | (struct frame_unwind): Declare opaque. | |
11620 | (struct frame_info): Replace the fields id_unwind, pc_unwind and | |
11621 | register_unwind with a single unwind pointer. | |
11622 | * frame-unwind.h, frame-unwind.c: New files. | |
11623 | * Makefile.in (SFILES): Add frame-unwind.c. | |
11624 | (frame_unwind_h): Define. | |
11625 | (COMMON_OBS): Add frame-unwind.o. | |
11626 | (frame-unwind.o): Specify dependencies. | |
11627 | (frame.o, dummy-frame.o): Update dependencies. | |
8ffd9b1b | 11628 | |
4efb68b1 AC |
11629 | 2003-01-18 Andrew Cagney <[email protected]> |
11630 | ||
11631 | * ada-valprint.c: Eliminate PTR. | |
11632 | * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. | |
11633 | * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. | |
11634 | * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. | |
11635 | * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. | |
11636 | * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. | |
11637 | * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. | |
11638 | * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. | |
8ffd9b1b | 11639 | |
a84d24ee AC |
11640 | 2003-01-17 Andrew Cagney <[email protected]> |
11641 | ||
762f08a3 AC |
11642 | * main.c (captured_main): Don't use PTR. |
11643 | * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. | |
11644 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
11645 | (lookup_struct_elt_type): Ditto. | |
11646 | * f-valprint.c (info_common_command): Ditto. | |
11647 | (list_all_visible_commons): Ditto. | |
11648 | * jv-typeprint.c (java_type_print_base): Ditto. | |
11649 | ||
a84d24ee AC |
11650 | * config/djgpp/fnchange.lst: Rename mi1-var-block.exp, |
11651 | mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. | |
11652 | Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename | |
11653 | i386-interix-nat.c and i386-interix-tdep.c. Rename | |
11654 | m68klinux-nat.c and m68klinux-tdep.c. Rename | |
11655 | config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename | |
11656 | bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename | |
11657 | gdb/objc-exp.tab.c and gdb/ada-exp.tab.c | |
11658 | * main.c (captured_main): Use xfree, not free. | |
11659 | ||
c170fb60 AC |
11660 | 2003-01-16 Andrew Cagney <[email protected]> |
11661 | ||
11662 | * frame.h (frame_id_unwind_ftype): Change type so that the frame's | |
11663 | ID back using a parameter. | |
11664 | * frame.c (frame_id_unwind): Update call. | |
11665 | (frame_saved_regs_id_unwind): Update. | |
11666 | * dummy-frame.c (dummy_frame_id_unwind): Update function. | |
11667 | * dummy-frame.h (struct frame_id): Add opaque declaration. | |
11668 | (dummy_frame_id_unwind): Update declaration. | |
11669 | ||
867f3898 AC |
11670 | 2003-01-15 Andrew Cagney <[email protected]> |
11671 | ||
11672 | * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. | |
11673 | ||
40622be8 | 11674 | 2003-01-15 Stephen P. Smith <[email protected]> |
de3a8c23 | 11675 | |
40622be8 | 11676 | * MAINTAINERS (Stephen P. Smith): Updated email address. |
de3a8c23 | 11677 | |
ae66c1fc EZ |
11678 | 2003-01-14 Elena Zannoni <[email protected]> |
11679 | ||
997b089a | 11680 | Fix PR gdb/898 |
ae66c1fc EZ |
11681 | * breakpoint.c (until_break_command): Add new argument. Use it to |
11682 | decide whether to stop only at the current frame or not. | |
11683 | * breakpoint.h (until_break_command): Update prototype. | |
8ffd9b1b | 11684 | * infcmd.c (until_command): Add new argument to until_break_command |
ae66c1fc EZ |
11685 | call. |
11686 | (advance_command): New function. | |
11687 | (_initialize_infcmd): Update help string for 'until' command. | |
11688 | Add new 'advance' command. | |
11689 | ||
a04257e6 DC |
11690 | 2003-01-14 David Carlton <[email protected]> |
11691 | ||
11692 | * linespec.c (decode_line_1): Normalize comments. | |
11693 | (set_flags): Ditto. | |
11694 | (locate_first_half): Ditto. | |
11695 | (decode_compound): Ditto. | |
11696 | (symtab_from_filename): Ditto. | |
11697 | (decode_all_digits): Ditto. | |
11698 | (decode_dollar): Ditto. | |
11699 | (find_methods): Ditto. | |
11700 | (find_toplevel_char): Ditto. | |
11701 | ||
1bac305b AC |
11702 | 2003-01-13 Andrew Cagney <[email protected]> |
11703 | ||
11704 | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. | |
11705 | * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. | |
11706 | * elfread.c, eval.c, expprint.c, expression.h: Update copyright. | |
11707 | * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. | |
11708 | * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. | |
11709 | * language.c, language.h, m32r-tdep.c: Update copyright. | |
11710 | * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. | |
11711 | * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. | |
11712 | * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. | |
11713 | * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. | |
11714 | * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. | |
11715 | * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. | |
11716 | ||
25caa7a8 EZ |
11717 | 2003-01-13 Elena Zannoni <[email protected]> |
11718 | ||
11719 | * stabsread.h (process_later, resolve_cfront_continuation): | |
11720 | Obsolete. | |
11721 | Update copyright years. | |
11722 | * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. | |
11723 | Update copyright year. | |
11724 | * dbxread.c(struct cont_elem): Obsolete. | |
8ffd9b1b | 11725 | (process_later, process_now): Obsolete functions. |
25caa7a8 EZ |
11726 | (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. |
11727 | Update copyright year. | |
11728 | * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. | |
11729 | (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions. | |
11730 | * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront. | |
11731 | (parse_partial_symbols): Obsolete cfront support. | |
11732 | * stabsread.c | |
11733 | (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete | |
11734 | macros. | |
11735 | (get_substring, get_cfront_method_physname, msg_unknown_complaint, | |
11736 | read_cfront_baseclasses, read_cfront_member_functions, | |
11737 | resolve_cfront_continuation,read_cfront_static_fields, | |
11738 | copy_cfront_struct_fields): Obsolete functions. | |
11739 | (define_symbol, read_one_struct_field): Obsolete cfront support. | |
11740 | * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support. | |
11741 | Update Copyright year. | |
11742 | ||
7789c6f5 EZ |
11743 | 2003-01-13 Elena Zannoni <[email protected]> |
11744 | ||
11745 | * stack.c (print_frame_info, print_stack_frame_base_stub, | |
11746 | print_stack_frame_base, show_and_print_stack_frame_stub, | |
11747 | show_and_print_stack_frame, print_only_stack_frame_stub, | |
11748 | print_only_stack_frame): Delete functions. | |
11749 | (print_stack_frame_stub): Call print_frame_info instead of | |
11750 | print_frame_info_base. | |
11751 | (print_frame_info_base): Rename to print_frame_info. | |
11752 | (backtrace_command_1): Call print_frame_info, instead of | |
11753 | print_frame_info_base. | |
11754 | (current_frame_command): Call print_stack_frame, instead of | |
11755 | print_only_stack_frame. | |
11756 | (frame_command): Call print_stack_frame, instead of | |
11757 | show_and_print_stack_frame. | |
11758 | (up_command): Ditto. | |
11759 | (down_command): Ditto. | |
11760 | * frame.h (print_only_stack_frame): Delete prototype. | |
11761 | * infrun.c (normal_stop): Call print_stack_frame, instead of | |
11762 | show_and_print_stack_frame. | |
11763 | * thread.c (info_threads_command): Call print_stack_frame, instead | |
11764 | of print_only_stack_frame. | |
11765 | ||
3f5a3016 AC |
11766 | 2003-01-13 Andrew Cagney <[email protected]> |
11767 | ||
d99ba314 AC |
11768 | * README (Graphical interface to GDB): Update URL. Point at |
11769 | gdb/links/. | |
11770 | ||
3f5a3016 AC |
11771 | * gdb_indent.sh: Update to version 2.2.9. Warn when not exact |
11772 | version match. | |
11773 | ||
083ae935 DJ |
11774 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11775 | ||
11776 | * symtab.c (find_pc_sect_line): Don't consider end-of-function | |
11777 | lines. | |
11778 | ||
5365276c DJ |
11779 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11780 | ||
11781 | * thread-db.c (attach_thread): Prototype. | |
11782 | (struct private_thread_info): Remove lwpid. Add thread handle (th), | |
11783 | thread information (ti), and valid flags (th_valid, ti_valid). | |
11784 | (attach_thread): Move target_pid_to_str call to after the thread | |
11785 | is added to GDB's list. Initialize the cache. | |
11786 | (thread_get_info_callback, thread_db_map_id2thr) | |
11787 | (thread_db_get_info): New functions. | |
11788 | (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers) | |
11789 | (thread_db_store_registers, thread_db_thread_alive) | |
11790 | (thread_db_get_thread_local_address): Use them. | |
11791 | (thread_db_pid_to_str): Likewise. Return "Missing" instead | |
11792 | of calling error() for threads in unknown state. | |
11793 | ||
11794 | (clear_lwpid_callback): New function. | |
11795 | (thread_db_resume): Use it to clear the cache. | |
11796 | ||
9fc30b6b DJ |
11797 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11798 | ||
11799 | * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove. | |
11800 | (resume_callback): Remove dead code. | |
11801 | ||
8f871025 AC |
11802 | 2003-01-13 Andrew Cagney <[email protected]> |
11803 | ||
11804 | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with | |
11805 | predicate. | |
11806 | * gdbarch.h, gdbarch.c: Regenerate. | |
11807 | * stack.c (frame_info): Only initialize the saved registers when | |
11808 | FRAME_INIT_SAVED_REGS_P. | |
11809 | * frame.c (frame_saved_regs_register_unwind): Assert | |
11810 | FRAME_INIT_SAVED_REGS_P. | |
11811 | (deprecated_generic_get_saved_register): Ditto. | |
11812 | ||
3f565f1e DJ |
11813 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11814 | ||
11815 | * source.c (openp): Squelch warning about "filename". | |
11816 | ||
072b1022 DJ |
11817 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11818 | ||
11819 | * source.c (openp): If the file does not exist don't necessarily | |
11820 | search the path. | |
11821 | ||
973ccf8b DJ |
11822 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11823 | ||
11824 | Fix PR gdb/872. | |
11825 | * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
11826 | (integer_types_same_name_p): New function. | |
11827 | (rank_one_type): Use it. | |
11828 | * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
11829 | ||
030292b7 DJ |
11830 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11831 | ||
11832 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New | |
11833 | variables. | |
11834 | (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). | |
11835 | * configure.in: Add --with-sysroot. | |
11836 | * configure: Regenerated. | |
11837 | * main.c (gdb_sysroot): New variable. | |
11838 | (captured_main): Initialize gdb_sysroot. | |
11839 | * defs.h (gdb_sysroot): New extern declaration. | |
11840 | * solib.c (_initialize_solib): Initialize solib_absolute_prefix. | |
11841 | ||
afb5d334 MC |
11842 | 2003-01-12 Michael Chastain <[email protected]> |
11843 | ||
11844 | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002. | |
11845 | ||
751ceeb4 MC |
11846 | 2003-01-12 Michael Chastain <[email protected]> |
11847 | ||
11848 | * top.c (print_gdb_version): Bump copyright year to 2003. | |
11849 | ||
94cd26f8 DC |
11850 | 2003-01-12 David Carlton <[email protected]> |
11851 | ||
11852 | * linespec.c (symtab_from_filename): Rename variable 's' to | |
11853 | 'file_symtab'. | |
11854 | ||
1ce79225 AC |
11855 | 2003-01-12 Andrew Cagney <[email protected]> |
11856 | ||
11857 | * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a | |
11858 | dummy frame. | |
11859 | (d10v_frame_saved_pc, d10v_frame_chain): Ditto. | |
11860 | ||
fa1fd571 AC |
11861 | 2003-01-12 Andrew Cagney <[email protected]> |
11862 | ||
11863 | * d10v-tdep.c: Include "gdb_assert.h". | |
11864 | (d10v_store_return_value): Rewrite to match current interface. | |
11865 | (d10v_extract_struct_value_address): Ditto. | |
11866 | (d10v_extract_return_value): Ditto. | |
11867 | (d10v_gdbarch_init): Set store_restore_value, | |
11868 | extract_struct_value_address and extract_return_value. | |
11869 | ||
68b8d23e JB |
11870 | 2003-01-12 J. Brobecker <[email protected]> |
11871 | ||
11872 | * hpread.c (set_namestring): New procedure replacing the | |
11873 | SET_NAMESTRING macro. | |
11874 | (hpread_build_psymtabs): Replace calls to SET_NAMESTRING | |
11875 | by calls to set_namestring. | |
11876 | ||
11877 | 2003-01-11 J. Brobecker <[email protected]> | |
1fb309ea JB |
11878 | |
11879 | * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix | |
11880 | a compilation warning. | |
11881 | (hpread_process_one_debug_symbol): Likewise. | |
11882 | ||
88d262ca DC |
11883 | 2003-01-10 David Carlton <[email protected]> |
11884 | ||
11885 | * linespec.c (decode_line_1): Rename variable 's' to | |
11886 | 'file_symtab'. | |
11887 | (decode_all_digits): Rename argument 's' to 'file_symtab'. | |
11888 | (decode_dollar): Ditto. | |
11889 | (decode_variable): Ditto. | |
11890 | (symbol_found): Ditto. | |
11891 | ||
86669319 MC |
11892 | 2003-01-09 Michael Chastain <[email protected]> |
11893 | ||
11894 | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++. | |
11895 | ||
616a9dc4 CV |
11896 | 2003-01-07 Corinna Vinschen <[email protected]> |
11897 | ||
11898 | * win32-nat.c (set_process_privilege): New function. | |
11899 | (child_attach): Call set_process_privilege() to enable the | |
11900 | SE_DEBUG_NAME user privilege if available in process token. | |
11901 | ||
3269bcfa JB |
11902 | 2003-01-10 J. Brobecker <[email protected]> |
11903 | ||
11904 | * hpread.c (hpread_process_one_debug_symbol): Fix a small | |
11905 | compilation error in the previous revision. | |
11906 | ||
2b0ee454 DC |
11907 | 2003-01-09 David Carlton <[email protected]> |
11908 | ||
11909 | * linespec.c: Update copyright. | |
11910 | ||
b3ba1b44 DJ |
11911 | 2003-01-09 Daniel Jacobowitz <[email protected]> |
11912 | ||
11913 | * lin-lwp.c (child_wait): Ignore exit statuses for processes other | |
11914 | than inferior_ptid. | |
11915 | (lin_lwp_wait): Ignore exit statuses for unknown LWPs. | |
11916 | ||
4ef3f3be AC |
11917 | 2003-01-09 Andrew Cagney <[email protected]> |
11918 | ||
479ab5a0 AC |
11919 | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. |
11920 | Update comments. | |
11921 | * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. | |
11922 | (frame_saved_regs_zalloc): Update. | |
11923 | (frame_saved_regs_register_unwind): Update. | |
11924 | (create_new_frame): Update. | |
11925 | (get_prev_frame): Update. | |
11926 | (frame_extra_info_zalloc): Update. | |
11927 | (deprecated_get_frame_saved_regs): Update. | |
11928 | * dwarf2cfi.c (cfi_init_extra_frame_info): Update. | |
11929 | * cris-tdep.c: Update comment. | |
11930 | ||
bde58177 AC |
11931 | * somsolib.h: Fix function indentation. |
11932 | * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. | |
11933 | * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. | |
11934 | * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. | |
11935 | * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. | |
11936 | * somsolib.c, inftarg.c: Remove assignment in if conditional. | |
11937 | ||
4ef3f3be AC |
11938 | * infrun.c (follow_fork): Use ISO C definition. |
11939 | * expprint.c (print_subexp): Use xfree instead of free. | |
11940 | * charset.c: Include "gdb_string.h" instead of <string.h>. | |
11941 | (register_iconv_charsets): Use ISO C definition. | |
11942 | (host_charset, target_charset): Ditto. | |
11943 | * Makefile.in (charset.o): Update dependencies. | |
11944 | (mi-cmd-env.o): Update dependencies. | |
11945 | ||
1c615f7a AC |
11946 | 2003-01-08 Andrew Cagney <[email protected]> |
11947 | ||
11948 | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use | |
11949 | get_frame_base. | |
11950 | ||
c9a1dc08 AC |
11951 | 2003-01-08 Andrew Cagney <[email protected]> |
11952 | ||
11953 | * gdb_mbuild.sh: Add --keep option. When specified, keep the | |
11954 | build directories. Save edited gdb output in Mbuild.log. If a | |
11955 | build fails, remove any final GDB executable. | |
11956 | ||
dbad9d94 AC |
11957 | 2003-01-08 Andrew Cagney <[email protected]> |
11958 | ||
11959 | * gdb_mbuild.sh: Edit the output of `maint print architecture' | |
11960 | replacing hex constants with function names and stripping leading | |
11961 | file name directory prefixes. | |
11962 | ||
8d357cca AC |
11963 | 2003-01-08 Andrew Cagney <[email protected]> |
11964 | ||
11965 | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and | |
11966 | get_frame_base. | |
11967 | ||
bca02a8a DC |
11968 | 2003-01-08 David Carlton <[email protected]> |
11969 | ||
11970 | * linespec.c (decode_line_1): Move code into decode_variable. | |
11971 | (decode_variable): New function. | |
11972 | ||
7f8ab3a0 AC |
11973 | 2003-01-08 Andrew Cagney <[email protected]> |
11974 | ||
11975 | * mn10300-tdep.c (analyze_dummy_frame): Fix typo. | |
11976 | ||
7b5849cc AC |
11977 | 2003-01-08 Andrew Cagney <[email protected]> |
11978 | ||
11979 | * cris-tdep.c (cris_frame_init_saved_regs): Use | |
11980 | get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a | |
11981 | saved_regs buffer. | |
11982 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
11983 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
11984 | (sh_fp_frame_init_saved_regs): Ditto. | |
11985 | * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. | |
11986 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
11987 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
11988 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
11989 | ||
72a5efb3 DJ |
11990 | 2003-01-08 Daniel Jacobowitz <[email protected]> |
11991 | ||
11992 | * minsyms.c (lookup_minimal_symbol): Update comment. | |
11993 | (lookup_minimal_symbol_text): Update comment. Use the hash table. | |
11994 | (lookup_minimal_symbol_solib_trampoline): Likewise. | |
11995 | ||
11c02a10 AC |
11996 | 2003-01-08 Andrew Cagney <[email protected]> |
11997 | ||
aab3ea25 AC |
11998 | * d10v-tdep.c (d10v_init_extra_frame_info): Use |
11999 | frame_relative_level. | |
12000 | ||
da50a4b7 AC |
12001 | * alpha-tdep.c: Use get_frame_extra_info. |
12002 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12003 | * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. | |
12004 | * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
12005 | * sparc-tdep.c, xstormy16-tdep.c: Ditto. | |
12006 | ||
11c02a10 AC |
12007 | * alpha-tdep.c: Use get_next_frame. |
12008 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12009 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
12010 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. | |
12011 | * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. | |
12012 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. | |
12013 | * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. | |
12014 | * xstormy16-tdep.c: Ditto. | |
8ffd9b1b | 12015 | |
1e2330ba AC |
12016 | 2003-01-07 Andrew Cagney <[email protected]> |
12017 | ||
12018 | * alpha-tdep.c: Use get_frame_base. | |
12019 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12020 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
12021 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
12022 | * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
12023 | * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. | |
12024 | * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
12025 | * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. | |
12026 | * config/sparc/tm-sparc.h: Ditto. | |
8ffd9b1b | 12027 | |
2d75187b AC |
12028 | 2003-01-07 Andrew Cagney <[email protected]> |
12029 | ||
12030 | * frame.c (deprecated_get_frame_context): New function. | |
12031 | (deprecated_set_frame_context): New function. | |
12032 | * frame.h (deprecated_get_frame_context): Declare. | |
12033 | (deprecated_set_frame_context): Declare. | |
12034 | * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. | |
12035 | (cfi_init_extra_frame_info): Use deprecated_set_frame_context. | |
8ffd9b1b | 12036 | |
483d36b2 AC |
12037 | 2003-01-07 Andrew Cagney <[email protected]> |
12038 | ||
12039 | * frame.c (deprecated_set_frame_next_hack): New function. | |
12040 | (deprecated_set_frame_prev_hack): New function. | |
12041 | * frame.h (deprecated_set_frame_next_hack): Declare. | |
12042 | (deprecated_set_frame_prev_hack): Declare. | |
12043 | * mcore-tdep.c (analyze_dummy_frame): Use | |
12044 | deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. | |
12045 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
12046 | ||
14e91ac5 DC |
12047 | 2003-01-07 David Carlton <[email protected]> |
12048 | ||
12049 | * linespec.c (decode_line_1): Move code into decode_dollar. | |
12050 | (decode_dollar): New function. | |
12051 | ||
b0c6b05c AC |
12052 | 2003-01-07 Andrew Cagney <[email protected]> |
12053 | ||
12054 | * arm-tdep.c (arm_init_extra_frame_info): Use | |
12055 | deprecated_update_frame_base_hack. | |
12056 | * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. | |
12057 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
12058 | (fix_frame_pointer): Ditto. | |
12059 | (mn10300_analyze_prologue): Ditto. | |
12060 | ||
a00a19e9 AC |
12061 | 2003-01-07 Andrew Cagney <[email protected]> |
12062 | ||
12063 | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate | |
12064 | extra_info using frame_extra_info_zalloc. | |
12065 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
12066 | * sh-tdep.c (sh_init_extra_frame_info): Ditto. | |
12067 | (sh64_init_extra_frame_info): Ditto. | |
12068 | * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. | |
12069 | * s390-tdep.c (s390_init_extra_frame_info): Ditto. | |
12070 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
12071 | * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. | |
12072 | * frv-tdep.c (frv_init_extra_frame_info): Ditto. | |
12073 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. | |
12074 | * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. | |
12075 | * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. | |
12076 | * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. | |
12077 | * cris-tdep.c (cris_init_extra_frame_info): Ditto. | |
12078 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
12079 | * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. | |
12080 | ||
12081 | * mn10300-tdep.c (analyze_dummy_frame): Use | |
12082 | deprecated_set_frame_extra_info_hack. | |
12083 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
12084 | ||
1fb4c65b JB |
12085 | 2003-01-07 J. Brobecker <[email protected]> |
12086 | ||
12087 | * mdebugread.c (parse_symbol): Skip stProc entries which storage | |
12088 | class is not scText. These do not define "real" procedures. | |
12089 | (parse_partial_symbols): Likewise. | |
12090 | ||
9fe7d6bf MS |
12091 | 2003-01-06 Michael Snyder <[email protected]> |
12092 | ||
12093 | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. | |
12094 | ||
f6c609c4 AC |
12095 | 2003-01-06 Andrew Cagney <[email protected]> |
12096 | ||
12097 | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. | |
12098 | * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. | |
12099 | * arm-tdep.c (arm_frame_chain): Allocate caller_fi using | |
12100 | deprecated_frame_xmalloc_with_cleanup. | |
12101 | * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using | |
12102 | deprecated_frame_xmalloc. | |
12103 | * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. | |
12104 | * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame. | |
12105 | ||
d995ff4b AC |
12106 | 2003-01-06 Andrew Cagney <[email protected]> |
12107 | ||
84dc46cb AC |
12108 | * x86-64-linux-tdep.c: Include "osabi.h". |
12109 | * Makefile.in (x86-64-linux-tdep.o): Update dependencies. | |
12110 | ||
d995ff4b AC |
12111 | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach. |
12112 | ||
66140c26 AC |
12113 | 2003-01-06 Andrew Cagney <[email protected]> |
12114 | ||
12115 | * MAINTAINERS (Target Instruction Set Architectures): Update | |
12116 | arm-elf. Can be built with -Werror, has been multiarched. | |
12117 | ||
12118 | * value.h (unpack_long): Make buffer parameter constant. | |
12119 | (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. | |
12120 | * scm-lang.h (scm_parse): Ditto. | |
12121 | * defs.h (extract_typed_address, extract_address): Ditto. | |
12122 | (extract_long_unsigned_integer): Ditto. | |
12123 | * inferior.h (unsigned_pointer_to_address): Ditto. | |
12124 | (signed_pointer_to_address): Ditto. | |
12125 | * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. | |
12126 | * gdbarch.h, gdbarch.c: Regenerate. | |
12127 | * findvar.c (extract_long_unsigned_integer): Update. | |
12128 | (extract_address): Update. | |
12129 | (extract_typed_address): Update. | |
12130 | (unsigned_pointer_to_address): Update. | |
12131 | * values.c (unpack_long): Update. | |
12132 | (unpack_double): Update. | |
12133 | (unpack_pointer): Update. | |
12134 | (unpack_field_as_long): Update. | |
12135 | * d10v-tdep.c (d10v_pointer_to_address): Update. | |
12136 | * avr-tdep.c (avr_pointer_to_address): Update. | |
12137 | * scm-lang.c (scm_unpack): Update. | |
12138 | * findvar.c (signed_pointer_to_address): Update. | |
12139 | ||
b089b3da ML |
12140 | 2003-01-06 Michal Ludvig <[email protected]> |
12141 | ||
8ffd9b1b | 12142 | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore |
b089b3da ML |
12143 | since it is in i386-tdep.c. |
12144 | ||
aff87235 JB |
12145 | 2003-01-06 J. Brobecker <[email protected]> |
12146 | ||
12147 | * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation | |
12148 | failure introduced in the previous change. | |
12149 | ||
34f5e845 MC |
12150 | 2003-01-05 Michael Chastain <[email protected]> |
12151 | ||
12152 | * README: Remove references to deleted remote-*.c files: | |
12153 | remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, | |
12154 | remote-nrom.c, remote-os9k.c, remote-udi.c. | |
12155 | ||
28bcfd30 MK |
12156 | 2003-01-05 Mark Kettenis <[email protected]> |
12157 | ||
12158 | * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64. | |
12159 | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about | |
12160 | i386_get_longjmp_target. | |
12161 | ||
15a5b3ee AC |
12162 | 2003-01-05 Andrew Cagney <[email protected]> |
12163 | ||
12164 | * arm-tdep.c (prologue_cache): Change to a pointer. | |
12165 | (_initialize_arm_tdep): Allocate prologue_cache. | |
12166 | (check_prologue_cache): Update. | |
12167 | (save_prologue_cache): Update. | |
12168 | (arm_gdbarch_init): Update. | |
12169 | ||
c263362b DJ |
12170 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12171 | ||
12172 | * stabsread.c (update_method_name_from_physname): Call complaint() | |
12173 | instead of error. | |
12174 | ||
51603483 DJ |
12175 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12176 | ||
12177 | * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. | |
12178 | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. | |
12179 | * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. | |
12180 | ||
12181 | * blockframe.c: Include "gdbcmd.h" and "command.h". | |
12182 | (backtrace_below_main): New variable. | |
12183 | (file_frame_chain_valid, func_frame_chain_valid) | |
12184 | (nonnull_frame_chain_valid, generic_file_frame_chain_valid) | |
12185 | (generic_func_frame_chain_valid): Remove functions. | |
12186 | (frame_chain_valid, do_flush_frames_sfunc): New functions. | |
12187 | (_initialize_blockframe): New function. | |
12188 | * Makefile.in (blockframe.o): Update dependencies. | |
12189 | * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME | |
12190 | comment. Call frame_chain_valid (). | |
12191 | * frame.h: Remove old prototypes. Add prototype for | |
12192 | frame_chain_valid and update comments to match. | |
12193 | * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. | |
12194 | Remove old comment. | |
12195 | * gdbarch.h: Regenerated. | |
12196 | * gdbarch.c: Regenerated. | |
12197 | ||
12198 | * alpha-tdep.c (alpha_gdbarch_init): Don't call | |
12199 | set_gdbarch_frame_chain_valid. | |
12200 | * avr-tdep.c (avr_gdbarch_init): Likewise. | |
12201 | * cris-tdep.c (cris_gdbarch_init): Likewise. | |
12202 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
12203 | * h8300-tdep.c (h8300_gdbarch_init): Likewise. | |
12204 | * i386-tdep.c (i386_svr4_init_abi): Likewise. | |
12205 | (i386_nw_init_abi): Likewise. | |
12206 | (i386_gdbarch_init): Likewise. | |
12207 | * ia64-tdep.c (ia64_gdbarch_init): Likewise. | |
12208 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
12209 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
12210 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
12211 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
12212 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
12213 | * ns32k-tdep.c (ns32k_gdbarch_init): Likewise. | |
12214 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise. | |
12215 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
12216 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
12217 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
12218 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
12219 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
12220 | * vax-tdep.c (vax_gdbarch_init): Likewise. | |
12221 | * x86-64-tdep.c (x86_64_init_abi): Likewise. | |
12222 | ||
12223 | * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define. | |
12224 | * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise. | |
12225 | * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise. | |
12226 | * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise. | |
12227 | * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise. | |
12228 | * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise. | |
12229 | * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise. | |
12230 | * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise. | |
12231 | ||
b00a8037 DJ |
12232 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
12233 | ||
12234 | * Makefile.in (acconfig_h): Remove incorrect macro. | |
12235 | (config_h): Define. | |
12236 | (osabi.o): Update dependencies. | |
12237 | * configure.tgt: Set gdb_osabi based on target triplet. | |
12238 | * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. | |
12239 | * configure: Regenerated. | |
12240 | * config.in: Regenerated. | |
12241 | * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". | |
12242 | (GDB_OSABI_DEFAULT): Define if not already defined. | |
12243 | (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) | |
12244 | (set_osabi_string): New variables. | |
12245 | (gdbarch_register_osabi): Add new OS ABI to | |
12246 | gdb_osabi_available_names. | |
12247 | (gdbarch_lookup_osabi): Honor specified and default OS ABIs. | |
12248 | (set_osabi, show_osabi): New functions. | |
12249 | (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands. | |
12250 | ||
4be87837 DJ |
12251 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12252 | ||
12253 | * arch-utils.c (gdbarch_info_init): Set osabi to | |
12254 | GDB_OSABI_UNINITIALIZED. | |
12255 | * gdbarch.sh: Add osabi to struct gdbarch and to struct | |
12256 | gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi | |
12257 | in gdbarch_list_lookup_by_info and in gdbarch_update_p. | |
12258 | * gdbarch.c: Regenerated. | |
12259 | * gdbarch.h: Regenerated. | |
12260 | * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if | |
12261 | there's no BFD. | |
12262 | (gdbarch_init_osabi): Remove osabi argument; use info.osabi. | |
12263 | * osabi.h (enum gdb_osabi): Move to defs.h. | |
12264 | (gdbarch_init_osabi): Update prototype. | |
12265 | * defs.h (enum gdb_osabi): Moved here. | |
12266 | * Makefile.in: Update dependencies. | |
12267 | ||
12268 | * alpha-tdep.h: Don't include "osabi.h". | |
12269 | (struct gdbarch_tdep): Remove osabi member. | |
12270 | * alpha-tdep.c: Include "osabi.h". | |
12271 | (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
12272 | iterate over arches. Update call to gdbarch_init_osabi. | |
12273 | (alpha_dump_tdep): Don't dump osabi. | |
12274 | * alpha-linux-tdep.c: Include "osabi.h". | |
12275 | * alpha-osf1-tdep.c: Include "osabi.h". | |
12276 | * alphafbsd-tdep.c: Include "osabi.h". | |
12277 | * alphanbsd-tdep.c: Include "osabi.h". | |
12278 | ||
12279 | * arm-tdep.h: Don't include "osabi.h". | |
12280 | (struct gdbarch_tdep): Remove osabi member. | |
12281 | * arm-tdep.c: Include "osabi.h". | |
12282 | (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
12283 | iterate over arches. Update call to gdbarch_init_osabi. | |
12284 | (arm_dump_tdep): Don't dump osabi. | |
12285 | * arm-linux-tdep.c: Include "osabi.h". | |
12286 | * armnbsd-tdep.c: Include "osabi.h". | |
12287 | ||
12288 | * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi. | |
12289 | Update call to gdbarch_init_osabi. | |
12290 | ||
12291 | * i386-tdep.h: Don't include "osabi.h". | |
12292 | (struct gdbarch_tdep): Remove osabi member. | |
12293 | * i386-tdep.c: Include "osabi.h". | |
12294 | (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
12295 | iterate over arches. Update call to gdbarch_init_osabi. | |
12296 | (i386_dump_tdep): Don't dump osabi. | |
12297 | * i386-linux-tdep.c: Include "osabi.h". | |
12298 | * i386-sol2-tdep.c: Include "osabi.h". | |
12299 | * i386bsd-tdep.c: Include "osabi.h". | |
12300 | * i386gnu-tdep.c: Include "osabi.h". | |
12301 | * i386ly-tdep.c: Include "osabi.h". | |
12302 | * i386nbsd-tdep.c: Include "osabi.h". | |
12303 | * i386obsd-tdep.c: Include "osabi.h". | |
12304 | ||
12305 | * mips-tdep.c (struct gdbarch_tdep): Remove osabi member. | |
12306 | (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
12307 | check osabi when iterating over arches. Update call to | |
12308 | gdbarch_init_osabi. | |
12309 | (mips_dump_tdep): Don't dump osabi. | |
12310 | ||
12311 | * ns32k-tdep.h: Don't include "osabi.h". | |
12312 | (struct gdbarch_tdep): Remove. | |
12313 | * ns32k-tdep.c (ns32k_gdbarch_init): Don't call | |
12314 | gdbarch_lookup_osabi. Don't iterate over arches. Don't | |
12315 | allocate tdep. Update call to gdbarch_init_osabi. | |
12316 | (ns32k_dump_tdep): Remove. | |
12317 | (_initialize_ns32k_tdep): Update call to gdbarch_register. | |
12318 | * ns32knbsd-tdep.c: Include "osabi.h". | |
12319 | ||
12320 | * ppc-tdep.h: Don't include "osabi.h". | |
12321 | (struct gdbarch_tdep): Remove osabi member. | |
12322 | * rs6000-tdep.c: Include "osabi.h". | |
12323 | (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check | |
12324 | osabi when iterating over arches. Update call to | |
12325 | gdbarch_init_osabi. | |
12326 | (rs6000_dump_tdep): Don't dump osabi. | |
12327 | * ppc-linux-tdep.c: Include "osabi.h". | |
12328 | * ppcnbsd-tdep.c: Include "osabi.h". | |
12329 | ||
12330 | * sh-tdep.h: Don't include "osabi.h". | |
12331 | (struct gdbarch_tdep): Remove osabi member. | |
12332 | * sh-tdep.c: Include "osabi.h". | |
12333 | (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
12334 | iterate over arches. Update call to gdbarch_init_osabi. | |
12335 | (sh_dump_tdep): Don't dump osabi. | |
12336 | * shnbsd-tdep.c: Include "osabi.h". | |
12337 | ||
12338 | * sparc-tdep.c: Include "osabi.h". | |
12339 | (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
12340 | iterate over arches. Update call to gdbarch_init_osabi. | |
12341 | (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the | |
12342 | tdep structure. | |
12343 | ||
12344 | * vax-tdep.h: Don't include "osabi.h". | |
12345 | (struct gdbarch_tdep): Remove. | |
12346 | * vax-tdep.c: Include "osabi.h". | |
12347 | (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
12348 | iterate over arches. Don't allocate tdep. Update call | |
12349 | to gdbarch_init_osabi. | |
12350 | (vax_dump_tdep): Remove. | |
12351 | (_initialize_vax_tdep): Update call to gdbarch_register. | |
12352 | ||
a881cf8e DJ |
12353 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12354 | ||
12355 | * breakpoint.c (insert_breakpoints): Skip disabled breakpoints | |
12356 | entirely. | |
12357 | (breakpoint_re_set_one): Don't fetch the value for a disabled | |
12358 | watchpoint. | |
12359 | ||
1e698235 DJ |
12360 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12361 | ||
12362 | * buildsym.h (processing_hp_compilation): Remove obsolete variable. | |
12363 | * gdbarch.sh Remove include of "value.h" in gdbarch.h. | |
12364 | (COERCE_FLOAT_TO_DOUBLE): Remove. | |
12365 | * gdbarch.c: Regenerate. | |
12366 | * gdbarch.h: Regenerate. | |
12367 | * Makefile.in: Remove value_h from gdbarch_h. | |
12368 | * valops.c (coerce_float_to_double): New variable. | |
12369 | (default_coerce_float_to_double): Remove. | |
12370 | (standard_coerce_float_to_double): Remove. | |
12371 | (value_arg_coerce): Use coerce_float_to_double. | |
12372 | (_initialize_valops): Add "set coerce-float-to-double". | |
12373 | * value.h (default_coerce_float_to_double): Remove prototype. | |
12374 | (standard_coerce_float_to_double): Remove prototype. | |
12375 | ||
12376 | * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as | |
12377 | prototyped. | |
12378 | * mdebugread.c (parse_symbol): Likewise. | |
12379 | * stabsread.c (define_symbol): Mark all functions as prototyped. | |
12380 | ||
12381 | * hppa-tdep.c (hppa_coerce_float_to_double): Remove. | |
12382 | * alpha-tdep.c (alpha_gdbarch_init): Remove call to | |
12383 | set_gdbarch_coerce_float_to_double. | |
12384 | * arm-tdep.c (arm_gdbarch_init): Likewise. | |
12385 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
12386 | * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). | |
12387 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
12388 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
12389 | (mips_coerce_float_to_double): Remove. | |
12390 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
12391 | (rs6000_coerce_float_to_double): Remove. | |
12392 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
12393 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
12394 | (sh_coerce_float_to_double): Remove. | |
12395 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
12396 | (sparc_coerce_float_to_double): Remove. | |
12397 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
12398 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
12399 | * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
12400 | * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. | |
12401 | (hppa_coerce_float_to_double): Remove prototype. | |
12402 | * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
12403 | ||
f436a26a DJ |
12404 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12405 | ||
12406 | * regformats/reg-m68k.dat: Remove fpcode and fpflags. | |
12407 | ||
248f8055 DJ |
12408 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12409 | ||
12410 | Suggested by Stewart Brown <[email protected]>: | |
12411 | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show | |
12412 | in recursive calls. Handle TYPE_CODE_TYPEDEF. | |
12413 | (c_type_print_varspec_suffix): Likewise. | |
12414 | ||
72cfdc76 MK |
12415 | 2003-01-04 Mark Kettenis <[email protected]> |
12416 | ||
bfd260bb MK |
12417 | * configure.in: Don't set and AC_SUBST SUBDIRS. |
12418 | * configure: Regenerated. | |
12419 | ||
72cfdc76 MK |
12420 | * configure.in: Remove code dealing with shared libraries. |
12421 | * Makefile.in: Remove HLDFLAGS and HLDENV. | |
12422 | * configure: Regenerated. | |
12423 | ||
c8b8a898 AC |
12424 | 2003-01-04 Andrew Cagney <[email protected]> |
12425 | ||
12426 | * frame.c (deprecated_frame_xmalloc): New function. | |
12427 | (deprecated_set_frame_saved_regs_hack): New function. | |
12428 | (deprecated_set_frame_extra_info_hack): New function. | |
12429 | * frame.h (deprecated_frame_xmalloc): Declare. | |
12430 | (deprecated_set_frame_saved_regs_hack): Declare. | |
12431 | (deprecated_set_frame_extra_info_hack): Declare. | |
12432 | ||
14abd0fb MK |
12433 | 2003-01-04 Mark Kettenis <[email protected]> |
12434 | ||
8ee53726 MK |
12435 | * configure.in: Move code that provides the --enable-gdbtk option |
12436 | right after the code that handles the --enable-tui option, and | |
12437 | polish it somewhat. | |
12438 | * configure: Regenerated. | |
12439 | ||
14abd0fb MK |
12440 | * configure.in: Call AC_GNU_SOURCE. Check for pread64 using |
12441 | AC_CHECK_FUNCS and remove the old check for pread64. | |
12442 | * acinclude.m4 (AC_GNU_SOURCE): New macro. | |
12443 | * acconfig.h (_GNU_SOURCE): Add. | |
12444 | (HAVE_PREAD64): Remove. | |
12445 | * configure, aclocal.m4, config.in: Regenerated. | |
12446 | ||
b2fb4676 AC |
12447 | 2003-01-03 Andrew Cagney <[email protected]> |
12448 | ||
12449 | * alpha-tdep.c: Use get_frame_saved_regs. | |
12450 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12451 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
12452 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto. | |
12453 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto. | |
12454 | * vax-tdep.c, xstormy16-tdep.c: Ditto. | |
12455 | ||
8dcde887 MK |
12456 | 2003-01-03 Mark Kettenis <[email protected]> |
12457 | ||
12458 | * configure.in: Remove all use of the SUBDIRS variable; add | |
12459 | directories using the AC_CONFIG_SUBDIRS macro instead. Polish | |
12460 | code providing the --enable-multi-ice option, and move it right in | |
12461 | front of the code that checks whether gdbserver is supported. | |
12462 | Polish that too. | |
12463 | * configure: Regenerated. | |
12464 | * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of | |
12465 | @SUBDIRS@. | |
12466 | ||
8ccd593b AC |
12467 | 2003-01-03 Andrew Cagney <[email protected]> |
12468 | ||
12469 | * alpha-tdep.c: Use deprecated_update_frame_base_hack. | |
12470 | * avr-tdep.c, cris-tdep.c: Ditto. | |
12471 | * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
12472 | * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
8ffd9b1b | 12473 | |
91151a06 MK |
12474 | 2003-01-03 Mark Kettenis <[email protected]> |
12475 | ||
12476 | * configure.in: Remove --enable-netrom option. | |
12477 | * configure: Regenerated. | |
12478 | ||
8fe84d01 MK |
12479 | 2003-01-03 Mark Kettenis <[email protected]> |
12480 | ||
12481 | * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward | |
12482 | declaration for `struct re_pattern_buffer' instead. | |
12483 | * Makefile.in (cli_decode_h): Remove $(gdb_regex_h). | |
12484 | ||
f0394be6 JB |
12485 | 2003-01-03 J. Brobecker <[email protected]> |
12486 | ||
12487 | * mdebugread.c (parse_symbol): Count until the stEnd matching | |
12488 | the structure name. | |
12489 | ||
27e9bf90 MK |
12490 | 2003-01-02 Mark Kettenis <[email protected]> |
12491 | ||
93d331ba MK |
12492 | * configure.in: Remove --with-cpu option. |
12493 | subscripts. Remove evil changequotes here. | |
12494 | * acconfig.h (TARGET_CPU_DEFAULT): Remove. | |
12495 | * config.in, configure: Regenerated. | |
8ffd9b1b | 12496 | |
27e9bf90 MK |
12497 | * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. |
12498 | * configure.in: Cleanup section that sources GDB and BFD configure | |
12499 | subscripts. Remove evil changequotes here. | |
12500 | * config.in, configure: Regenerated. | |
12501 | ||
50abf9e5 AC |
12502 | 2003-01-02 Andrew Cagney <[email protected]> |
12503 | ||
12504 | * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack | |
12505 | frame accessor methods. | |
12506 | * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12507 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
12508 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. | |
12509 | * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. | |
12510 | * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
12511 | * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
12512 | * z8k-tdep.c: Ditto. | |
8ffd9b1b | 12513 | |
287c1a40 MK |
12514 | 2003-01-02 Mark Kettenis <[email protected]> |
12515 | ||
f5dbc56d MK |
12516 | * configure.in: Remove UI_OUT configuration code. |
12517 | * ada-lang.c: Update assuming UI_OUT is always true. | |
12518 | * Makefile.in (UIOUT_CFLAGS): Remove. | |
12519 | * configure: Regenerated. | |
12520 | * TODO: Remove blurb about elimination of -DUI_OUT. | |
12521 | ||
627af7ea MK |
12522 | * configure.in: Move code that provides the --enable-gdbcli, |
12523 | --enable-gdbmi options right before the code that handles the | |
12524 | --enable-tui option. Polish a bit. | |
12525 | * configure: Regenerated. | |
12526 | ||
06825bd1 MK |
12527 | * configure.in: Rewrite check for GNU regex and the |
12528 | --without-included regex option, and move it into the "Checks for | |
12529 | library functions" section. This makes us use the system regex | |
12530 | again by default on systems with version 2 of the GNU C library. | |
12531 | This was apparently broken. | |
12532 | * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. | |
12533 | * acconfig.h (USE_INCLUDED_REGEX): Remove. | |
12534 | * config.in, configure: Regenerated. | |
12535 | ||
287c1a40 MK |
12536 | * configure.in: Move code that provides the --enable-tui option |
12537 | before the "Checks for libraries" section. Polish the code | |
12538 | somewhat and set need_curses to yes if we build the TUI. Rewrite | |
12539 | code that looks for a library providing termcap functionality to | |
12540 | match more closely what's done in the Readline library, and move | |
12541 | it into to the "Checks for libraries" section. | |
12542 | * configure: Regenerated. | |
12543 | * Makefile.in (TERMCAP): Remove variable. | |
12544 | * config/i386/go32.mh (TERMCAP): Remove variable. | |
12545 | ||
684e56bf AC |
12546 | 2003-01-02 Andrew Cagney <[email protected]> |
12547 | ||
12548 | * MAINTAINERS: Mention gdb_mbuild.sh. | |
12549 | * gdb_mbuild.sh: Rewrite. | |
12550 | ||
e1ea1d75 MK |
12551 | 2003-01-02 Mark Kettenis <[email protected]> |
12552 | ||
12553 | * configure.in: Fix typo in last change. | |
12554 | * config.in, configure: Regenerated. | |
12555 | ||
1b831c93 AC |
12556 | 2003-01-02 Andrew Cagney <[email protected]> |
12557 | ||
12558 | * valarith.c (value_binop): Delete obsolete code and comments. | |
12559 | * configure.host: Ditto. | |
12560 | * buildsym.h (make_blockvector): Ditto. | |
12561 | * buildsym.c (make_blockvector): Ditto. | |
12562 | * defs.h (enum language): Ditto. | |
12563 | (chill_demangle): Ditto. | |
12564 | * elfread.c (elf_symtab_read): Ditto. | |
12565 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
12566 | (set_cu_language): Ditto. | |
12567 | (handle_producer): Ditto. | |
12568 | * expprint.c (print_subexp): Ditto. | |
12569 | * gdbtypes.c (chill_varying_type): Ditto. | |
12570 | * gdbtypes.h (builtin_type_chill_bool): Ditto. | |
12571 | (builtin_type_chill_char, builtin_type_chill_long): Ditto. | |
12572 | (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. | |
12573 | (chill_varying_type): Ditto. | |
12574 | * language.h (_LANG_chill): Ditto. | |
12575 | * language.c (binop_result_type, integral_type): Ditto. | |
12576 | (character_type, string_type, structured_type): Ditto. | |
12577 | (lang_bool_type, binop_type_check): Ditto. | |
12578 | * stabsread.h (os9k_stabs): Ditto. | |
12579 | * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. | |
12580 | (define_symbol, read_type, read_struct_fields): Ditto. | |
12581 | (read_array_type, read_enum_type, read_huge_number): Ditto. | |
12582 | (read_range_type, start_stabs): Ditto. | |
12583 | * symfile.c (init_filename_language_table): Ditto. | |
12584 | (add_psymbol_with_dem_name_to_list): Ditto. | |
12585 | * symtab.c (symbol_init_language_specific): Ditto. | |
12586 | (symbol_init_demangled_name, symbol_demangled_name): Ditto. | |
12587 | * symtab.h (struct general_symbol_info): Ditto. | |
12588 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
12589 | * typeprint.c (typedef_print): Ditto. | |
12590 | * utils.c (fprintf_symbol_filtered): Ditto. | |
12591 | * valops.c (value_cast, search_struct_field, value_slice): Delete | |
12592 | obsolete code. | |
12593 | (varying_to_slice): Delete function. | |
12594 | * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. | |
12595 | (varying_to_slice): Delete declaration. | |
12596 | * MAINTAINERS: Update. | |
12597 | ||
8bb2c122 MK |
12598 | 2003-01-02 Mark Kettenis <[email protected]> |
12599 | ||
97bf5e38 MK |
12600 | * configure.in: Reorganize "Checks for library functions section" |
12601 | a bit. Remove check for `btowc' and `isascii' functions. | |
12602 | * configure: Regenerated. | |
12603 | ||
5ee754fc MK |
12604 | * acconfig.h (_MSE_INT_H): Remove. |
12605 | * configure.in: Create "Checks for header files" section, and move | |
12606 | appropriate tests there. Don't check for objlist.h, wchar.h, | |
12607 | wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> | |
12608 | misdetection fix. Also add "Checks for types", "Checks for | |
12609 | compiler characteristics" and "Checks for library functions" | |
12610 | sections. | |
12611 | * config.in, configure: Regenerated. | |
12612 | ||
8bb2c122 MK |
12613 | * configure.in: Create "Checks for programs" section, and move |
12614 | appropriate tests there. | |
12615 | ||
9a156167 MK |
12616 | 2003-01-01 Mark Kettenis <[email protected]> |
12617 | ||
12618 | * configure.in: Create "Checks for libraries" section, and move | |
12619 | appropriate tests there. Cleanup check for wctype in libw. Use | |
12620 | AC_SEARCH_LIBS to see whether we need libsocket. | |
12621 | * configure: Regenerated. | |
12622 | ||
a80e2bcb | 12623 | For older changes see ChangeLog-2002 |
c906108c SS |
12624 | \f |
12625 | Local Variables: | |
12626 | mode: change-log | |
12627 | left-margin: 8 | |
12628 | fill-column: 74 | |
12629 | version-control: never | |
12630 | End: |