]>
Commit | Line | Data |
---|---|---|
9a5cef92 EZ |
1 | 2003-10-09 Elena Zannoni <[email protected]> |
2 | ||
3 | * sh-tdep.c (sh_gdbarch_init): Delete setting of push_dummy_code. | |
4 | (sh_gdbarch_init): Delete function, it's only used for dummy calls | |
5 | on stack. | |
6 | ||
7 | Based on input by Stephen Clarke ([email protected]): | |
8 | * sh-tdep.c (sh_use_struct_convention): Add comment explaining ABI | |
9 | in detail. | |
10 | ||
0f317a0c DJ |
11 | 2003-10-09 Daniel Jacobowitz <[email protected]> |
12 | ||
13 | * remote-mips.c (mips_initialize): Remove unneeded call to | |
14 | get_selected_frame. Suggested by Atsushi Nemoto <[email protected]>. | |
15 | ||
bbab2f46 DJ |
16 | 2003-10-09 Daniel Jacobowitz <[email protected]> |
17 | ||
18 | * dwarf2expr.c (execute_stack_op): Don't treat the frame base as | |
19 | a memory pointer. | |
20 | ||
550950b8 JJ |
21 | 2003-10-08 Jeff Johnston <[email protected]> |
22 | ||
23 | * lin-lwp.c (stop_and_resume_callback): Set the resumed flag | |
24 | for any lwp we resume. | |
25 | (running_callback): Add lwps that have pending status events | |
26 | against them to be considered running. | |
27 | ||
15c69bc7 KI |
28 | 2003-10-08 Kei Sakamoto <[email protected]> |
29 | ||
30 | * m32r-tdep.c : Include "dis-asm.h". | |
31 | * Makefile.in (m32r-tdep.o): Update dependencies. | |
32 | ||
51065942 JB |
33 | 2003-10-06 J. Brobecker <[email protected]> |
34 | ||
35 | * completer.h (get_gdb_completer_word_break_characters): Delete. | |
36 | * completer.c: include language.h. | |
37 | (gdb_completer_word_break_characters): Delete. | |
38 | (get_gdb_completer_word_break_characters): Delete. | |
39 | (location_completer): Use the word break characters of the current | |
40 | language. | |
41 | (complete_line): Likewise. | |
42 | (line_completion_function): Likewise. | |
43 | (skip_quoted_chars): Likewise. | |
44 | * Makefile.in (completer.o): Add dependency on language.h. | |
45 | * top.c (init_main): Set the readline word break characters | |
46 | to GDB's default word break characters. | |
47 | ||
6084f43a JB |
48 | 2003-10-06 J. Brobecker <[email protected]> |
49 | ||
50 | * language.h (language_defn): new field, la_word_break_characters. | |
51 | * language.c (unknown_language_defn): Set new field to | |
52 | default_word_break_characters. | |
53 | (auto_language_defn): Likewise. | |
54 | (local_language_defn): Likewise. | |
55 | * ada-lang.c (ada_language_defn): Likewise. | |
56 | * c-lang.c (c_language_defn): Likewise. | |
57 | (cplus_language_defn): Likewise. | |
58 | (asm_language_defn): Likewise. | |
59 | (minimal_language_defn): Likewise. | |
60 | * f-lang.c (f_language_defn): Likewise. | |
61 | * jv-lang.c (java_language_defn): Likewise. | |
62 | * m2-lang.c (m2_language_defn): Likewise. | |
63 | * objc-lang.c (objc_language_defn): Likewise. | |
64 | * p-lang.c (pascal_language_defn): Likewise. | |
65 | * scm-lang.c (scm_language_defn): Likewise. | |
66 | ||
944fcfab AC |
67 | 2003-10-06 Andrew Cagney <[email protected]> |
68 | ||
69 | * ppc-sysv-tdep.c: Re-indent. | |
70 | ||
9f0a5303 JB |
71 | 2003-10-06 J. Brobecker <[email protected]> |
72 | ||
73 | * language.h (default_word_break_characters): Add prototype. | |
74 | * language.c (default_word_break_characters): New function. | |
75 | ||
7270b6ed AS |
76 | 2003-10-06 Andreas Schwab <[email protected]> |
77 | ||
78 | * i386-tdep.c (i386_analyze_frame_setup): Also handle xorl/subl | |
79 | with %eax. | |
80 | ||
a5d61f66 AC |
81 | 2003-10-06 Andrew Cagney <[email protected]> |
82 | ||
83 | * Makefile.in (ALLDEPFILES): Remove "z8k-tdep.c" and | |
84 | "h8500-tdep.c". | |
85 | (z8k-tdep.o): Delete custom build rule. | |
86 | ||
28a86f5c AC |
87 | 2003-10-06 Andrew Cagney <[email protected]> |
88 | ||
1bfd8a83 AC |
89 | * Makefile.in: Update all dependencies. |
90 | ||
17144ef8 AC |
91 | * MAINTAINERS: Mention that h8500, mn10200, and z8k were deleted. |
92 | No longer list PA as as obsolete candidate. List m32r as | |
93 | broken instead of obsolete. | |
94 | ||
a5679ae5 AC |
95 | * config/nm-m3.h, config/h8500/h8500.mt: Delete obsolete files. |
96 | * config/h8500/tm-h8500.h, config/i386/nm-ptx4.h: Ditto. | |
97 | * config/i386/nm-symmetry.h, config/i386/ptx.mh: Ditto. | |
98 | * config/i386/ptx.mt, config/i386/ptx4.mh: Ditto. | |
99 | * config/i386/ptx4.mt, config/i386/symmetry.mh: Ditto. | |
100 | * config/i386/symmetry.mt, config/i386/tm-ptx.h: Ditto. | |
101 | * config/i386/tm-ptx4.h, config/i386/tm-symmetry.h: Ditto. | |
102 | * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. | |
103 | * config/i386/xm-symmetry.h, config/mips/mipsm3.mh: Ditto. | |
104 | * config/mips/mipsm3.mt, config/mips/tm-mipsm3.h: Ditto. | |
105 | * config/mips/xm-mipsm3.h, config/mn10200/mn10200.mt: Ditto. | |
106 | * config/mn10200/tm-mn10200.h, config/pa/hppabsd.mh: Ditto. | |
107 | * config/pa/hppabsd.mt, config/pa/hppaosf.mh: Ditto. | |
108 | * config/pa/hppaosf.mt, config/pa/hppapro.mt: Ditto. | |
109 | * config/pa/nm-hppab.h, config/pa/nm-hppao.h: Ditto. | |
110 | * config/pa/tm-hppab.h, config/pa/tm-hppao.h: Ditto. | |
111 | * config/pa/tm-pro.h, config/pa/xm-hppab.h: Ditto. | |
112 | * config/pa/xm-pa.h, config/sparc/sparclet.mt: Ditto. | |
113 | * config/sparc/sparclite.mt, config/sparc/tm-sparclet.h: Ditto. | |
114 | * config/sparc/tm-sparclite.h, config/z8k/tm-z8k.h: Ditto. | |
115 | * config/z8k/z8k.mt: Ditto. | |
116 | ||
4a8269c0 AC |
117 | * NEWS: Mention that z8k-zilog-none, z8ksim, mn10200-*-*, |
118 | h8500hms, hppa*-*-bsd*, hppa*-*-osf*, hppa*-*-pro*, | |
119 | mips*-*-mach3*, i[3456]86-sequent-sysv4*, i[3456]86-sequent-sysv*, | |
120 | i[3456]86-sequent-bsd*, sparclet-*-*, sparclite-fujitsu-none, and | |
121 | sparclite were removed. | |
122 | * configure.host, configure.tgt: Remove corresponding tuples. | |
123 | ||
41989fcd AC |
124 | * breakpoint.c, breakpoint.h: Remove obsolete code. |
125 | * buildsym.c, dbxread.c, gdbtypes.c, mdebugread.c: Ditto. | |
126 | * monitor.c, sparc-tdep.c, stabsread.c: Ditto. | |
127 | * stabsread.h, xcoffread.c: Ditto. | |
128 | ||
28a86f5c AC |
129 | * z8k-tdep.c, symm-tdep.c, symm-nat.c: Delete obsolete file. |
130 | * sparclet-stub.c, sparclet-rom.c: Delete obsolete file. | |
131 | * sparcl-tdep.c, sparcl-stub.c, h8500-tdep.c: Delete obsolete file. | |
132 | * m3-nat.c, mipsm3-nat.c, mn10200-tdep.c: Delete obsolete file. | |
133 | ||
4efdaa0d DL |
134 | 2003-10-06 David Lecomber <[email protected]> |
135 | ||
136 | * f-valprint.c: Reformatting | |
137 | ||
ae53de43 MK |
138 | 2003-10-06 Mark Kettenis <[email protected]> |
139 | ||
a8bb57e7 MK |
140 | * x86-64-tdep.c: Remove duplicate comment. |
141 | ||
ae53de43 MK |
142 | * x86-64-tdep.c (x86_64_store_return_value): Don't use |
143 | DEPRECATED_REGISTER_RAW_SIZE. Use symbolic names for register | |
144 | names for return values. This fixes a bug since we looked at %rbx | |
145 | instead of %rdx. | |
146 | ||
473f17b0 MK |
147 | 2003-10-05 Mark Kettenis <[email protected]> |
148 | ||
2c261fae MK |
149 | * x86-64-tdep.c: Include "regset.h". |
150 | ||
473f17b0 MK |
151 | * i386-tdep.h (struct gdbarch_tdep): Add members gregset, |
152 | gregset_reg_offset, gregset_num_regs, sizeof_gregset, fpregset, | |
153 | sizeof_fpregset. | |
154 | * i386-tdep.c: Include "regset.h". | |
155 | (i386_supply_gregset): New function. | |
156 | (i386_supply_fpregset): New function. | |
157 | (i386_gdbarch_init): Initialze register set-related members of | |
158 | TDEP. | |
159 | * x86-64-tdep.c (x86_64_supply_fpregset): New function. | |
160 | (x86_64_init_abi): Initialize TDEP->sizeof_fpregset. | |
161 | ||
afd48b75 AC |
162 | 2003-10-03 Andrew Cagney <[email protected]> |
163 | ||
164 | * rs6000-tdep.c (rs6000_gdbarch_init): When the 64 bit SysV ABI, | |
165 | set extract_return_value, store_return_value and | |
166 | use_struct_convention to ppc64_sysv_abi_extract_return_value, | |
167 | ppc64_sysv_abi_store_return_value and | |
168 | ppc64_sysv_abi_use_struct_convention. | |
169 | * ppc-tdep.h (ppc64_sysv_abi_extract_return_value): Declare. | |
170 | (ppc64_sysv_abi_store_return_value): Declare. | |
171 | (ppc64_sysv_abi_use_struct_convention): Declare. | |
172 | * ppc-sysv-tdep.c (enum return_value_convention): Define. | |
173 | (ppc64_sysv_abi_extract_return_value): New function. | |
174 | (ppc64_sysv_abi_store_return_value): New function. | |
175 | (ppc64_sysv_abi_use_struct_convention): New function. | |
176 | (ppc64_sysv_abi_return_value): New function. | |
177 | ||
9b540880 AC |
178 | 2003-10-03 Andrew Cagney <[email protected]> |
179 | ||
180 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Only | |
181 | convert a descriptor to a function when it's in the ".opd" | |
182 | section. | |
183 | ||
8748518b CV |
184 | 2003-10-03 Corinna Vinschen <[email protected]> |
185 | ||
186 | * sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and | |
187 | reg_size to keep GCC silent. | |
188 | ||
0fd85043 CV |
189 | 2003-10-03 Corinna Vinschen <[email protected]> |
190 | ||
191 | * dwarf2-frame.c (struct comp_unit): Add tbase member to store | |
192 | base for DW_EH_PE_textrel encodings. | |
193 | (read_encoded_value): Add a DW_EH_PE_textrel case. | |
194 | (dwarf2_build_frame_info): Set unit.tbase to beginning of text | |
195 | section. | |
196 | ||
37b517aa MK |
197 | 2003-10-03 Mark Kettenis <[email protected]> |
198 | ||
199 | * dwarf2-frame.c (dwarf2_build_frame_info): Fix comment. | |
200 | ||
12c266ea AC |
201 | 2003-10-02 Andrew Cagney <[email protected]> |
202 | ||
203 | * gdbarch.sh (DEPRECATED_REGISTER_RAW_SIZE): Rename | |
204 | REGISTER_RAW_SIZE. | |
205 | * gdbarch.h, gdbarch.c: Re-generate. | |
206 | * aix-thread.c, alpha-tdep.h, arm-tdep.c, core-sol2.c: Update. | |
207 | * cris-tdep.c, dve3900-rom.c, findvar.c, frame.c: Update. | |
208 | * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. | |
209 | * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. | |
210 | * ia64-linux-nat.c, ia64-tdep.c, infcmd.c, infptrace.c: Update. | |
211 | * infrun.c, irix5-nat.c, lynx-nat.c, mips-linux-tdep.c: Update. | |
212 | * mips-nat.c, mips-tdep.c, mipsv4-nat.c, mn10300-tdep.c: Update. | |
213 | * monitor.c, ns32k-tdep.c, ppc-linux-nat.c, regcache.c: Update. | |
214 | * remote-e7000.c, remote-mips.c, remote-sim.c: Update. | |
215 | * remote-vxmips.c, remote-vxsparc.c, remote.c: Update. | |
216 | * rom68k-rom.c, rs6000-nat.c, rs6000-tdep.c, s390-tdep.c: Update. | |
217 | * sh64-tdep.c, sparc-nat.c, sparc-tdep.c, stack.c: Update. | |
218 | * target.c, tracepoint.c, v850-tdep.c, v850ice.c, valops.c: Update. | |
219 | * vax-tdep.c, vax-tdep.h, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
220 | * config/m68k/tm-delta68.h, config/m68k/tm-vx68.h: Update. | |
221 | * config/sparc/tm-sparc.h, config/sparc/tm-sparclynx.h: Update. | |
222 | ||
78ba4af6 JB |
223 | 2003-10-02 Jim Blandy <[email protected]> |
224 | ||
225 | * dwarf2read.c (struct die_info): Doc fix. | |
226 | ||
617daa0e CV |
227 | 2003-10-02 Corinna Vinschen <[email protected]> |
228 | ||
229 | * sh-tdep.c: Running thru gdb_indent.sh. | |
230 | ||
e5e33cd9 CV |
231 | 2003-10-02 Corinna Vinschen <[email protected]> |
232 | ||
233 | * sh-tdep.c (sh_justify_value_in_reg): New function. | |
234 | (sh_stack_allocsize): Ditto. | |
235 | (flt_argreg_array): New array used for floating point argument | |
236 | passing. | |
237 | (sh_init_flt_argreg): New function. | |
238 | (sh_next_flt_argreg): Ditto. | |
239 | (sh_push_dummy_call_fpu): Simplify. Rename "odd_sized_struct" to | |
240 | "pass_on_stack". Use new helper functions. Accomodate Renesas ABI. | |
241 | Fix argument passing strategy. | |
242 | (sh_push_dummy_call_nofpu): Ditto. | |
243 | ||
5fe830e4 AC |
244 | 2003-10-01 Andrew Cagney <[email protected]> |
245 | ||
246 | * value.h (register_value_being_returned): Declare. Replace | |
247 | "value_being_returned". | |
248 | * infcall.c (call_function_by_hand): Use | |
249 | register_value_being_returned. | |
250 | * infcmd.c (print_return_value): Call | |
251 | "register_value_being_returned", handle struct return locally. | |
252 | * values.c (register_value_being_returned): New function. Replace | |
253 | "value_being_returned". | |
254 | ||
255 | 2003-09-30 Elena Zannoni <[email protected]> | |
cf50a87a EZ |
256 | |
257 | * linux-proc.c (linux_do_registers): New function. | |
258 | (linux_make_note_section): Use linux_do_registers in case of | |
259 | single threaded inferior programs. | |
260 | ||
64f395bf AC |
261 | 2003-10-01 Andrew Cagney <[email protected]> |
262 | ||
263 | * infcall.c (call_function_by_hand): When STRUCT_RETURN, always | |
264 | use STRUCT_ADDR. When not using "struct return convention", pass | |
265 | "0" to "value_being_returned". Add FIXMEs. | |
266 | * infcmd.c (print_return_value): Pass an explicit 0/1 to | |
267 | value_being_returned. Add comments. | |
268 | * values.c (value_being_returned): Add fixme. | |
269 | * hppa-tdep.c (hppa_extract_struct_value_address): Add FIXME. | |
270 | (hppa_value_returned_from_stack): Add FIXME. | |
271 | ||
639d11d3 DC |
272 | 2003-09-30 David Carlton <[email protected]> |
273 | ||
274 | * dwarf2read.c (struct die_info): Add 'parent' field; replace | |
275 | 'has_children' and 'next' by 'child' and 'sibling'. | |
276 | (read_comp_unit): Rework algorithm, breaking body into | |
277 | read_die_and_children and read_die_and_siblings. | |
278 | (read_die_and_children, read_die_and_siblings): New. | |
279 | (read_full_die): Add 'has_children' argument; set it instead of | |
280 | the die's 'has_children' field. Minor formatting cleanup. | |
281 | (free_die_list): Use die->child and die->sibling instead of | |
282 | die->next. | |
283 | (dump_die_list): Ditto. | |
284 | (sibling_die): Use die->sibling. | |
285 | (psymtab_to_symtab_1): Use die's 'child' field in place of its | |
286 | 'has_children' and 'next' fields. | |
287 | (process_die, read_file_scope, read_func_scope) | |
288 | (read_lexical_block_scope, read_structure_scope) | |
289 | (read_enumeration, read_array_type, read_common_block) | |
290 | (read_namespace, read_subroutine_type, dump_die): Ditto. | |
291 | ||
5bffac25 AC |
292 | 2003-09-30 Andrew Cagney <[email protected]> |
293 | ||
294 | * rs6000-tdep.c (rs6000_gdbarch_init): Set the PowerOpen red zone | |
295 | to 224, not 220. | |
296 | ||
f30992d4 AC |
297 | 2003-09-30 Andrew Cagney <[email protected]> |
298 | ||
299 | * gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_SIZE): Rename | |
300 | REGISTER_VIRTUAL_SIZE. | |
301 | * gdbarch.h, gdbarch.c: Regenerate. | |
302 | * vax-tdep.h, sparc-tdep.c, regcache.h: Update. | |
303 | * regcache.c, mn10300-tdep.c, mips-tdep.c: Update. | |
304 | * infcmd.c, frame.c, findvar.c, cris-tdep.c: Update. | |
305 | ||
2e092625 AC |
306 | 2003-09-29 Andrew Cagney <[email protected]> |
307 | ||
308 | * gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_TYPE): Rename | |
309 | DEPRECATED_REGISTER_VIRTUAL_TYPE. | |
310 | * gdbarch.h, gdbarch.c: Regenerate. | |
311 | * arch-utils.c, hppa-tdep.c, regcache.c, regcache.h: Update. | |
312 | * sh64-tdep.c, sparc-tdep.c: Update. | |
4deab737 AC |
313 | |
314 | * remote-vxsparc.c (vx_read_register): Replace bzero with memset. | |
315 | * remote-vxmips.c (vx_read_register): Ditto. | |
316 | * remote-vx68.c (vx_read_register): Ditto. | |
317 | * gnu-nat.c (inf_validate_procs): Ditto. | |
318 | ||
7a5dd6ee JB |
319 | 2003-09-29 J. Brobecker <[email protected]> |
320 | ||
321 | * infcall.c (call_function_by_hand): Fix build failure | |
322 | introduced in the previous change to this file. | |
323 | ||
1fe43d45 AC |
324 | 2003-09-29 Andrew Cagney <[email protected]> |
325 | ||
326 | * NEWS: Mention Objective-C. | |
327 | ||
e28a332c JG |
328 | 2003-09-29 Jerome Guitton <[email protected]> |
329 | ||
330 | * arm-tdep.c (arm_make_prologue_cache): Use trad_frame_addr_p to | |
331 | test if the register has been saved on the stack. | |
332 | (arm_scan_prologue_cache): When analysing the instruction | |
333 | "str lr, [sp, #-4]", save the address where lr has been stored. | |
334 | ||
9ff63c35 AC |
335 | 2003-09-28 Andrew Cagney <[email protected]> |
336 | ||
7f5f525d AC |
337 | * frame.c (frame_read_unsigned_register): Delete function. |
338 | * frame.h (frame_read_unsigned_register): Delete declaration. | |
339 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
340 | get_frame_register_unsigned. | |
341 | (sparc_frame_saved_pc, sparc_pop_frame): Ditto. | |
342 | * m68hc11-tdep.c (m68hc11_print_register): Ditto. | |
343 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
344 | ||
345 | * frame.h (frame_read_register): Delete declaration. | |
346 | * frame.c (frame_read_register): Delete function. | |
347 | * arch-utils.c (legacy_register_to_value): Use get_frame_register. | |
348 | * sparc-tdep.c (sparc_fetch_pointer_argument): Ditto. | |
349 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Ditto. | |
350 | * mips-tdep.c (mips_register_to_value): Ditto. | |
351 | * hppa-tdep.c (hppa_fetch_pointer_argument): Ditto. | |
352 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
353 | ||
354 | * frame.c (frame_read_signed_register): Delete function. | |
355 | (frame_read_unsigned_register): Update comments. | |
356 | * frame.h (frame_read_signed_register): Delete declaration. | |
357 | * h8300-tdep.c (h8300_print_register): Use | |
358 | get_frame_register_signed. | |
359 | * m68hc11-tdep.c (m68hc11_print_register): Ditto. | |
360 | ||
9ff63c35 AC |
361 | * config/pa/tm-hppa.h (DEPRECATED_VALUE_RETURNED_FROM_STACK): |
362 | Rename VALUE_RETURNED_FROM_STACK. | |
363 | * infcmd.c (print_return_value): Update. | |
364 | * infcall.c (call_function_by_hand): Update. | |
365 | ||
41d041d6 MK |
366 | 2003-09-28 Mark Kettenis <[email protected]> |
367 | ||
368 | * i387-tdep.c (i387_supply_fsave, i387_supply_fxsave): Add | |
369 | regcache argument and reverse the order of the other two | |
370 | arguments. Remove local regcache variable. Determine | |
371 | architecture from REGCACHE. Update comments. | |
372 | * x86-64-tdep.c (x86_64_supply_fxsave): Add regcache argument and | |
373 | reverse the order of the other two arguments. Remove local | |
374 | regcache variable. Determine architecture from REGCACHE. Update | |
375 | comments. | |
376 | * i387-tdep.h (i387_supply_fsave, i387_supply_fxsave): Adjust | |
377 | prototypes. Update comments. | |
378 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust prototype. Adjust | |
379 | comment. | |
380 | * amd64fbsd-nat.c (supply_fpregset, fetch_inferior_registers): | |
381 | Update. | |
382 | * go32-nat.c (fetch_register, go32_fetch_registers): Update. | |
383 | * i386-interix-nat.c (supply_fpregset): Update. | |
384 | * i386-linux-nat.c (supply_fpregset, supply_fpxregset): Update. | |
385 | * i386-nto-tdep.c (i386nto_supply_fpregset): Update. | |
386 | * i386gnu-nat.c (fetch_fpregs, supply_fpregset): Update. | |
387 | * i386bsd-nat.c (supply_fpregset, fetch_inferior_registers): Update. | |
388 | * i386nbsd-tdep.c (fetch_core_registers, fetch_elfcore_registers): | |
389 | Update. | |
390 | * i386obsd-tdep.c (fetch_core_registers): Update. | |
391 | * i386v4-nat.c (supply_fpregset): Update. | |
392 | * x86-64-linux-nat.c (supply_fpregset): Update. | |
393 | * x86-64-linux-tdep.c (fetch_core_registers): Update. | |
394 | ||
1cb97e17 MK |
395 | 2003-09-27 Mark Kettenis <[email protected]> |
396 | ||
5716833c MK |
397 | * i386-tdep.h: Put opaque declarations in alphabetical |
398 | order. Remove spurious whitespace. | |
399 | (struct gdbarch_tdep): add st0_regnum and mm0_regnum members. | |
400 | (i386_sse_regnum_p, i386_mxcsr_regnum_p): Remove prototypes. | |
401 | * i386-tdep.c (MM0_REGNUM): Remove define. | |
402 | (i386_mmx_regnum_p): Add gdbarch argument. | |
403 | (i386_sse_regnum_p, i386_mxcsr_regnum_p): Add gdbarch argument. | |
404 | Rewrite using new macro definitions for FPU/SSE registers. | |
405 | (i386_fp_regnum_p, i386_fpc_regnum_p): Rewrite using new macro | |
406 | definitions from i387-tdep.h. | |
407 | (i386_register_name): Update. | |
408 | (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): Update to use | |
409 | new macro definitions for FPU/SSE registers. | |
410 | (i386_extract_return_value): Determine whether floating-point | |
411 | registers are present by examining REGCACHE's architecture. | |
412 | (i386_store_return_value): Likewise. Use I386_MAX_REGISTER_SIZE | |
413 | instead of FPU_REG_RAW_SIZE. Use new macro definitions for | |
414 | FPU/SSE registers. | |
415 | (i386_register_type): Update. | |
416 | (i386_mmx_regnum_to_fp_regnum): Rewrite using new macro | |
417 | definitions for FPU registers. Use REGCACHE's architecture to | |
418 | determine the appropriate register numbers. | |
419 | (i386_pseudo_register_read, i386_pseudo_register_write, | |
420 | i386_register_reggroup_p): Update. | |
421 | (i386_gdbarch_init): Initialize TDEP->st0_regnum and | |
422 | TDEP->mm0_regnum. | |
423 | * i387-tdep.h (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, | |
424 | I387_FTAG_REGNUM, I387_FISEG_REGNUM, I387_FIOFF_REGNUM, | |
425 | I387_FOSEG_REGNUM, I387_FOOFF_REGNUM, I387_FOP_REGNUM, | |
426 | I387_XMM0_REGNUM, I387_MXCSR_REGNUM): New defines. | |
427 | (i387_supply_fsave, i387_fill_fsave, i387_supply_fxsave, | |
428 | i387_fill_fxsave): Change type of fsave/fxsave argument from `char | |
429 | *' to `void *'. | |
430 | * i387-tdep.c (i387_print_float_info, fsave_offset, FSAVE_ADDR, | |
431 | i387_supply_fsave, i387_fill_fsave, fxsave_offset, FXSAVE_ADDR, | |
432 | i387_supply_fxsave, i387_fill_fxsave): Update to use new macro | |
433 | definitions for FPU/SSE registers. | |
434 | (FXSAVE_MXCSR_ADDR): New define. | |
435 | * x86-64-tdep.c (x86_64_init_abi): Override TDEP->st0_regnum and | |
436 | TDEP->mm0_regnum. | |
437 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Remove defines. | |
438 | (I387_ST0_REGNUM): Define. | |
439 | ||
41d35cb0 MK |
440 | * regcache.h (get_regcache_arch): New prototype. |
441 | * regcache.c (get_regcache_arch): New function. | |
442 | ||
54e74f72 MK |
443 | * x86-64-tdep.c (x86_64_store_return_value): Remove spurious |
444 | whitespace. | |
445 | ||
1cb97e17 MK |
446 | * i386-tdep.c (i386_num_register_names, i386_num_mmx_regs): |
447 | Initialize using ARRAY_SIZE. | |
448 | ||
0968aa8c AC |
449 | 2003-09-27 Andrew Cagney <[email protected]> |
450 | ||
451 | * arch-utils.c (deprecated_init_frame_pc_default): Rename | |
452 | "init_frame_pc_default". | |
453 | * arch-utils.h (deprecated_init_frame_pc_default): Update. | |
454 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
455 | * vax-tdep.c (vax_gdbarch_init): Update. | |
456 | * v850-tdep.c (v850_gdbarch_init): Update. | |
457 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
458 | * s390-tdep.c (s390_gdbarch_init): Update. | |
459 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
460 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
461 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
462 | * cris-tdep.c (cris_gdbarch_init): Update. | |
463 | * config/pa/tm-hppa.h (DEPRECATED_INIT_FRAME_PC): Update. | |
464 | ||
54c84734 MK |
465 | 2003-09-26 Mark Kettenis <[email protected]> |
466 | ||
467 | * regset.h: New file. | |
468 | * Makefile.in (regset_h): Add. | |
469 | ||
1b1d3794 AC |
470 | 2003-09-25 Andrew Cagney <[email protected]> |
471 | ||
472 | * frame.h (deprecated_frame_saved_regs): Rename | |
473 | get_frame_saved_regs. | |
474 | * cris-tdep.c, frame.c, h8300-tdep.c, hppa-tdep.c: Update. | |
475 | * mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update. | |
476 | * ns32k-tdep.c, ppc-linux-tdep.c, rs6000-tdep.c: Update. | |
477 | * s390-tdep.c, sh64-tdep.c, stack.c: Update. | |
478 | * v850-tdep.c, vax-tdep.c, xstormy16-tdep.c: Update. | |
479 | ||
e6beb428 AC |
480 | 2003-09-25 Andrew Cagney <[email protected]> |
481 | ||
482 | * NEWS: Mention the new backtrace mechanism, DWARF 2 CFI, hosted | |
483 | file I/O, multi-arch, TLS and NPTL, DWARF 2 Location Expressions, | |
484 | and Java. | |
485 | * PROBLEMS: Mention that mips*-*-*, powerpc*-*-*, sparc*-*-* and | |
486 | arm*-*-* do not use the new frame code. | |
487 | ||
710122da DC |
488 | 2003-09-25 David Carlton <[email protected]> |
489 | ||
490 | * c-exp.y: Remove 'register' declarations. | |
491 | * f-exp.y, jv-exp.y, m2-exp.y, objc-exp.y, p-exp.y: Ditto. | |
492 | ||
79c2c32d DC |
493 | 2003-09-25 David Carlton <[email protected]> |
494 | ||
495 | * c-exp.y: Include cp-support.h. Add qualified_type. | |
496 | (yylex): Delete nested type hack; add comments. | |
497 | * cp-namespace.c (cp_lookup_nested_type): New function. | |
498 | * cp-support.h: Declare cp_lookup_nested_type. | |
499 | * eval.c (evaluate_subexp_standard): Call value_aggregate_elt | |
500 | instead of value_struct_elt_for_reference. | |
501 | * valops.c: Include cp-support.h. | |
502 | (value_aggregate_elt): New function. | |
503 | (value_namespace_elt): Ditto. | |
504 | (value_struct_elt_for_reference): Make static. | |
505 | * value.h: Delete declaration of value_struct_elt_for_reference; | |
506 | add declaration for value_aggregate_elt. | |
507 | * Makefile.in (c-exp.tab.o): Depend on $(cp_support_h). | |
508 | (valops.o): Ditto. | |
509 | ||
898c62f5 DJ |
510 | 2003-09-25 Daniel Jacobowitz <[email protected]> |
511 | ||
512 | * stack.c: Include "reggroups.h". | |
513 | (frame_info): Only display registers in all_reggroup. | |
514 | * Makefile.in (stack.o): Update dependencies. | |
515 | ||
28cd8767 JG |
516 | 2003-09-25 Jerome Guitton <[email protected]> |
517 | ||
518 | * arm-tdep.c (arm_skip_prologue): Handle "sub ip, sp #n" and | |
519 | "add ip, sp #n" in the prologue. | |
520 | (arm_scan_prologue): Ditto. | |
521 | ||
a4ab2b5d JG |
522 | 2003-09-25 Jerome Guitton <[email protected]> |
523 | ||
524 | * MAINTAINERS (write after approval): Add myself. | |
525 | ||
3f244638 AS |
526 | 2003-09-25 Andreas Schwab <[email protected]> |
527 | ||
528 | * m68k-tdep.c: Include "dwarf2-frame.h". | |
529 | (m68k_gdbarch_init): Add the DWARF CFI frame unwinder. | |
530 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
531 | ||
1c0159e0 CV |
532 | 2003-09-25 Corinna Vinschen <[email protected]> |
533 | ||
534 | * sh-tdep.c (struct frame_extra_info): Remove. | |
535 | (struct sh_frame_cache): New structure. | |
536 | (GET_SOURCE_REG): New macro extracting source register of an opcode. | |
537 | (GET_TARGET_REG): Ditto but target register. | |
538 | (GET_PUSHED_REG): Remove. | |
539 | (IS_MOV_ARG_TO_REG): New macro. | |
540 | (IS_MOV_ARG_TO_IND_R14): New macro. | |
541 | (IS_MOV_ARG_TO_IND_R14_WITH_DISP): New macro. | |
542 | (IS_MOVW_PCREL_TO_REG): New macro. | |
543 | (IS_MOVL_PCREL_TO_REG): New macro. | |
544 | (IS_SUB_REG_FROM_SP): New macro. | |
545 | (IS_ARG_MOV): Remove. | |
546 | (IS_MOV_TO_R14): Remove. | |
547 | (IS_RESTORE_FP): New macro. | |
548 | (IS_RTS): New macro. | |
549 | (IS_LDS): New macro. | |
550 | (IS_MOV_FP_SP): New macro. | |
551 | (IS_ADD_REG_TO_FP): New macro. | |
552 | (IS_ADD_IMM_FP): New macro. | |
553 | (sh_skip_prologue_hard_way): Remove. | |
554 | (sh_saved_pc_after_call): Remove. | |
555 | (sh_frame_chain): Remove. | |
556 | (sh_find_callers_reg): Remove. | |
557 | (sh_nofp_frame_init_saved_regs): Remove. | |
558 | (sh_fp_frame_init_saved_regs): Remove. | |
559 | (sh_init_extra_frame_info): Remove. | |
560 | (sh_analyze_prologue): New function. | |
561 | (sh_skip_prologue): Remove deprecated code. Rely on new function | |
562 | sh_analyze_prologue when after_prologue fails. | |
563 | (sh_frame_saved_pc): Remove. | |
564 | (sh_alloc_frame_cache): New function. | |
565 | (sh_frame_cache): Ditto. | |
566 | (sh_frame_prev_register): Ditto. | |
567 | (sh_frame_this_id): Ditto. | |
568 | (sh_frame_unwind): New structure defining the heuristic frame | |
569 | sniffer interface. | |
570 | (sh_frame_sniffer): New function. | |
571 | (sh_unwind_sp): Ditto. | |
572 | (sh_unwind_pc): Ditto. | |
573 | (sh_unwind_dummy_id): Ditto. | |
574 | (sh_frame_base_address): Ditto. | |
575 | (sh_frame_base): New structure defining new frame base code. | |
576 | (sh_in_function_epilogue_p): New function. | |
577 | (sh_gdbarch_init): Restructure and simplify to eliminate deprecated | |
578 | code and to call all new code instead. Initialize dwarf2 and | |
579 | heuristic frame sniffer. | |
580 | ||
5f9769d1 PH |
581 | 2003-09-24 Paul N. Hilfinger <[email protected]> |
582 | ||
583 | * parser-defs.h (struct exp_descriptor): New definition, containing | |
584 | language-specific info for printing, prefixifying, dumping, and | |
585 | evaluating expressions. | |
586 | (exp_descriptor_standard): Declare new variable. | |
587 | (print_subexp): Make global and declare here (from expprint.c). | |
588 | (dump_subexp): Ditto. | |
589 | (dump_subexp_body_standard): Declare. | |
590 | (operator_length_standard): Declare. | |
591 | (op_name_standard): Declare. | |
592 | (print_subexp): Declare. | |
593 | (print_subexp_standard): Declare. | |
594 | ||
595 | * language.h (struct language_defn): Add la_exp_desc field to hold | |
596 | pointer to table for language-specific operators. | |
597 | Remove evaluate_exp field, which is now in struct exp_descriptor. | |
598 | ||
599 | * parse.c (operator_length): Move most code to new | |
600 | operator_length_standard function. Use language-specific information. | |
601 | (operator_length_standard): New function taking most code from | |
602 | operator_length. | |
603 | (exp_descriptor_standard): New constant. | |
604 | ||
605 | * expression.h (enum exp_opcode): Add definitions of OP_EXTENDED0 | |
606 | and OP_EXTENDED_LAST. | |
607 | ||
608 | * expprint.c (print_subexp): Use language-specific print_subexp. | |
609 | Make global; remove static declaration. | |
610 | Move most code to print_subexp_standard. | |
611 | (print_subexp_standard): New function, containing code formerly in | |
612 | print_subexp. | |
613 | (op_name): Add expression to argument signature. | |
614 | Use langauge-specific op_name. | |
615 | Move most code to op_name_standard. | |
616 | (op_name_standard): New function, containing code formerly in op_name. | |
617 | (dump_subexp): Use new version of op_name function. | |
618 | Use language-specific dump_subexp_body, and move most existing code to | |
619 | dump_subexp_body_standard. | |
620 | (dump_raw_expression): Use new op_name interface. | |
621 | (dump_subexp_body): Move most code to dump_subexp_body_standard. | |
622 | (dump_subexp_body_standard): New function, containing code formerly | |
623 | in dump_subexp_body. | |
624 | ||
625 | * language.c (unknown_language): Add default la_exp_desc field and | |
626 | remove evaluate_exp field. | |
627 | (auto_language): Ditto. | |
628 | (local_language): Ditto. | |
629 | * f-lang.c (f_language_defn): Ditto. | |
630 | * c-lang.c (c_language_defn): Ditto. | |
631 | (cplus_language_defn): Ditto. | |
632 | (asm_language_defn): Ditto. | |
633 | (minimal_language_defn): Ditto. | |
634 | * p-lang.c (pascal_language_defn): Ditto. | |
635 | * m2-lang.c (m2_language_defn): Ditto. | |
636 | * objc-lang.c (objc_language_defn): Ditto. | |
637 | ||
638 | * jv-lang.c (exp_descriptor_java): New variable, containing | |
639 | Java-specific expression evaluator. | |
640 | (java_language_defn): Add la_exp_desc field and remove evaluate_exp | |
641 | field. | |
642 | * scm-lang.c (exp_descriptor_scm): New variable, containing | |
643 | Scheme-specific expression evaluator. | |
644 | (scm_language_defn): Add la_exp_desc field and remove evaluate_exp | |
645 | field. | |
646 | * objc-lang.c (print_object_command): Take evaluate_exp from the | |
647 | la_exp_desc field. | |
648 | ||
649 | * Makefile.in (eval.o): Add dependency on parser-defs.h. | |
650 | ||
651 | * eval.c: Include parser-defs.h for the full declaration of | |
652 | la_exp_desc's type. | |
653 | (evaluate_subexp): Get evaluate_exp out of la_exp_desc field. | |
654 | ||
24daaebc PH |
655 | 2003-09-23 Paul N. Hilfinger <[email protected]> |
656 | ||
657 | * parser-defs.h (operator_length): Declare. | |
658 | ||
659 | * parse.c (length_of_subexp): Use operator_length to get operator | |
660 | lengths and arities for operators. | |
661 | Move most code to new operator_length function. | |
662 | (operator_length): New function absorbing most code from | |
663 | length_of_subexp. | |
664 | (prefixify_subexp): Remove large case and use operator_length instead. | |
665 | (parse_exp_1): Use renamings: | |
666 | dump_prefix_expression => dump_raw_expression and | |
667 | dump_postfix_expression => dump_prefix_expression. | |
668 | ||
669 | * expression.h (dump_prefix_expression): Rename to ... | |
670 | (dump_raw_expression): New name. | |
671 | (dump_postfix_expression): Rename to ... | |
672 | (dump_prefix_expression): New name. | |
673 | ||
674 | * expprint.c (dump_subexp): Make global. Add comment. | |
675 | Move most existing code to dump_subexp_body. | |
676 | (dump_subexp_body): New function. | |
677 | (dump_prefix_expression): Rename to dump_raw_expression. | |
678 | Remove attempt to print the expression via print_expression: it can't | |
679 | work before the expression is prefixified. | |
680 | (dump_raw_expression): Renamed from dump_prefix_expression. | |
681 | (dump_postfix_expression): Rename to dump_prefix_expression, since | |
682 | that's what it does. | |
683 | Remove 'note' parameter, since this routine must be used on | |
684 | prefixified expression. | |
685 | (dump_prefix_expression): Renamed from dump_postfix_expression. | |
686 | ||
8c2957c4 JB |
687 | 2003-09-22 Jim Blandy <[email protected]> |
688 | ||
689 | * dwarf2read.c (read_array_type): When building the type for an | |
690 | array of unspecified length, make sure to choose the upper bound | |
691 | so that the array's total length comes out to be zero --- that's | |
692 | how we represent such arrays. | |
693 | ||
592e3010 MC |
694 | 2003-09-22 Michael Chastain <[email protected]> |
695 | ||
696 | * MAINTAINERS: Rename gdb.c++ to gdb.cp. | |
697 | ||
365c70b1 JJ |
698 | 2003-09-22 Jeff Johnston <[email protected]> |
699 | ||
700 | * top.c (quit_force): Fix indirect call to quit_target so | |
701 | a struct qt_args pointer is passed. | |
702 | ||
5d6eb653 AC |
703 | 2003-09-22 Andrew Cagney <[email protected]> |
704 | ||
705 | * arch-utils.h (init_frame_pc_noop): Delete declaration. | |
706 | * arch-utils.c (init_frame_pc_noop): Delete function. | |
707 | * mn10300-tdep.c (mn10300_gdbarch_init): Do not set | |
708 | "init_frame_pc". | |
709 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
710 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
711 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Delete | |
712 | declaration. | |
713 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
714 | * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Delete | |
715 | declaration. | |
716 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
717 | ||
b222a67f AG |
718 | 2003-09-22 Anthony Green <[email protected]> |
719 | ||
720 | * monitor.c (monitor_expect): Delete unused conflicting targ_ops | |
721 | declaration. | |
722 | ||
d5b5ac79 AC |
723 | 2003-09-20 Andrew Cagney <[email protected]> |
724 | ||
deafb061 AC |
725 | * breakpoint.c: Eliminate ARGSUSED. |
726 | * buildsym.c, cli/cli-cmds.c, cli/cli-script.c: Ditto. | |
727 | * coffread.c, corelow.c, dwarf2read.c, event-top.c: Ditto. | |
728 | * exec.c, gcore.c, hpux-thread.c, infcmd.c, inflow.c: Ditto. | |
729 | * infrun.c, inftarg.c, maint.c, ocd.c, printcmd.c: Ditto. | |
730 | * procfs.c, regcache.c, remote-rdi.c, remote-sds.c: Ditto. | |
731 | * remote.c, sol-thread.c, source.c, stabsread.c: Ditto. | |
732 | * stack.c, symfile.c, target.c, top.c, typeprint.c: Ditto. | |
733 | * utils.c, v850ice.c, valprint.c, values.c, win32-nat.c: Ditto. | |
734 | * wince.c, remote-vx.c: Ditto. | |
735 | ||
d5b5ac79 AC |
736 | * cli/cli-script.c: Remove "register" attributes. |
737 | * config/pa/tm-hppa.h: Ditto. | |
738 | * cli/cli-decode.c: Ditto. | |
739 | * cli/cli-cmds.c: Ditto. | |
740 | ||
c6316faa AC |
741 | 2003-09-19 Andrew Cagney <[email protected]> |
742 | ||
743 | * sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to | |
744 | DEPRECATED_NPC_REGNUM. | |
745 | * sparc64nbsd-nat.c (getregs_supplies): Ditto. | |
746 | ||
f4f99b11 CF |
747 | 2003-09-19 Christopher Faylor <[email protected]> |
748 | ||
749 | * win32-nat.c (mappings): Remove HAVE_SSE conditional. | |
750 | ||
1708f284 JB |
751 | 2003-09-19 Jim Blandy <[email protected]> |
752 | ||
753 | * macrotab.c (macro_include): Use the correct comparison to find | |
754 | the appropriate place for this inclusion in the list. | |
755 | ||
b9fbf434 AC |
756 | 2003-09-19 Andrew Cagney <[email protected]> |
757 | ||
758 | * config/pa/nm-hppah.h (NEED_TEXT_START_END): Delete. | |
759 | (DEPRECATED_HPUX_TEXT_END): Define. | |
760 | (deprecated_hpux_text_end): Declare. | |
761 | (struct target_ops): Declare opaque. | |
762 | * hppah-nat.c (text_end): Make static. | |
763 | (deprecated_hpux_text_end): New function. | |
764 | * exec.c (text_end): Delete global variable. | |
765 | (NEED_TEXT_START_END): Do not define. | |
766 | (exec_file_attach): Replace code computing "text_end" code with | |
767 | call to DEPRECATED_HPUX_TEXT_END. | |
768 | ||
5b03f266 AC |
769 | 2003-09-19 Andrew Cagney <[email protected]> |
770 | ||
771 | * utils.c (align_up, align_down): New functions. | |
772 | * defs.h (align_up, align_down): Declare. | |
773 | * ppc-sysv-tdep.c (align_up, align_down): Delete functions. | |
774 | * s390-tdep.c: Replace "round_up" and "round_down" with "align_up" | |
775 | and "align_down". | |
776 | (round_up, round_down): Delete functions. | |
777 | * mips-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
778 | "align_down". | |
779 | (ROUND_DOWN, ROUND_UP): Delete macros. | |
780 | (mips_dump_tdep): Do not print "ROUND_UP" or "ROUND_DOWN". | |
781 | * h8300-tdep.c: Replace "round_up" and "round_down" with | |
782 | "align_up" and "align_down". | |
783 | (round_up, round_down): Delete macros. | |
784 | * frv-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
785 | "align_down". | |
786 | (ROUND_UP, ROUND_DOWN): Delete macros. | |
787 | ||
51db5742 JB |
788 | 2003-09-18 J. Brobecker <[email protected]> |
789 | ||
790 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a | |
791 | hard-coded constant. Use the proper machine name instead. | |
792 | ||
77949794 AC |
793 | 2003-09-17 Andrew Cagney <[email protected]> |
794 | ||
795 | * sparc-tdep.c (legacy_register_name): Delete function. | |
796 | * mips-tdep.c (mips_dump_tdep): Do not print REGISTER_NAME. | |
797 | (mips_gdbarch_init): Refer to MIPS_REGISTER_NAME in comments. | |
798 | * infcmd.c (gdb_register_name): Delete variable. | |
799 | * gdbarch.sh (SDB_REG_TO_REGNUM): Delete reference to | |
800 | REGISTER_NAME and "tm.h". | |
801 | * gdbarch.h, gdbarch.c: Regenerate. | |
802 | * dpx2-nat.c (regmap): Refer to REGISTER_NAME and not | |
803 | REGISTER_NAMES in comments. | |
804 | * remote-st.c (get_reg_name), i386b-nat.c (tregmap): Ditto. | |
805 | * m68klinux-nat.c (regmap): Ditto. | |
806 | ||
b55c33cc JB |
807 | 2003-09-17 Jim Blandy <[email protected]> |
808 | ||
809 | * Makefile.in (dis_asm_h): Note that this #includes "bfd.h". | |
810 | ||
957e27ac AC |
811 | 2003-09-17 Andrew Cagney <[email protected]> |
812 | ||
813 | * ppcnbsd-tdep.c (ppcnbsd_use_struct_convention): New function. | |
814 | (ppcnbsd_init_abi): Set "use_struct_convention" to | |
815 | "ppcnbsd_use_struct_convention". | |
816 | ||
192cb3d4 MK |
817 | 2003-09-17 Mark Kettenis <[email protected]> |
818 | ||
819 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. | |
820 | * gdbarch.h, gdbarch.c: Regenerate. | |
821 | (stabs_argument_has_addr): New architecture method. | |
822 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
823 | * arch-utils.c: Include "buildsym.h". | |
824 | (default_stabs_argument_has_addr): New function. | |
825 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
826 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
827 | ||
efe59759 AC |
828 | 2003-09-17 Andrew Cagney <[email protected]> |
829 | ||
830 | * gdbarch.sh (DEPRECATED_NPC_REGNUM): Deprecate NPC_REGNUM. | |
831 | * gdbarch.h, gdbarch.c: Regenerate. | |
832 | * core-sol2.c, hppa-tdep.c, lynx-nat.c, procfs.c: Update. | |
833 | * regcache.c, remote-vxsparc.c, sparc-linux-nat.c: Update. | |
834 | * sparc-nat.c, sparc-tdep.c, sparc64-tdep.c: Update. | |
835 | * sparcnbsd-tdep.c: Update. | |
836 | ||
62700349 AC |
837 | 2003-09-17 Andrew Cagney <[email protected]> |
838 | ||
839 | * gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE. | |
840 | * gdbarch.h, gdbarch.c: Regenerate. | |
841 | * arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update. | |
842 | * d10v-tdep.c, frame.c: Update. | |
843 | * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. | |
844 | * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. | |
845 | * ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update. | |
846 | * mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update. | |
847 | * mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
848 | * ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update. | |
849 | * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update. | |
850 | * remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update. | |
851 | * sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update. | |
852 | * v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update. | |
853 | * config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update. | |
854 | * config/pa/nm-hppah.h: Update. | |
855 | ||
b9ff3018 AC |
856 | 2003-09-16 Andrew Cagney <[email protected]> |
857 | ||
858 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set the 32 bit | |
859 | "use_struct_convention" to "ppc_linux_use_struct_convention". | |
860 | (ppc_linux_use_struct_convention): New function. | |
861 | * rs6000-tdep.c (rs6000_use_struct_convention): New function. | |
862 | (rs6000_gdbarch_init): For AIX, set "use_struct_convention" to | |
863 | "rs6000_use_struct_convention". | |
864 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Delete | |
865 | declaration. | |
866 | * ppc-sysv-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
867 | Delete function. | |
868 | ||
aa1ee363 AC |
869 | 2003-09-16 Andrew Cagney <[email protected]> |
870 | ||
871 | * buildsym.c: Remove more occurances of "register". | |
872 | * coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto. | |
873 | * environ.c, eval.c, f-valprint.c, findvar.c: Ditto. | |
874 | * gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto. | |
875 | * infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto. | |
876 | * printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto. | |
877 | * sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto. | |
878 | * standalone.c, symfile.c, symmisc.c, symtab.c: Ditto. | |
879 | * utils.c, valops.c, values.c, xcoffread.c: Ditto. | |
880 | ||
f2ea0907 CV |
881 | 2003-09-16 Corinna Vinschen <[email protected]> |
882 | ||
883 | * sh-tdep.h (struct gdbarch_tdep): Remove. Change all register | |
884 | numbers to enumeration values. | |
885 | * sh-tdep.c: Accomodate above change. | |
886 | (SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS. | |
887 | (NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only). | |
888 | (NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only). | |
889 | (IS_ADD_IMM_SP): Rename from IS_ADD_SP. | |
890 | (IS_FPUSH): Rename from IS_FMOV. | |
891 | (sh_extract_struct_value_address): Remove useless comment. | |
892 | (sh_dsp_register_sim_regno): Use register values from sh-tdep.h | |
893 | instead of own local values. | |
894 | (sh_dump_tdep): Remove. | |
895 | (_initialize_sh_tdep): Accomodate removing sh_dump_tdep. | |
896 | * sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes. | |
897 | ||
1c704f11 AC |
898 | 2003-09-15 Andrew Cagney <[email protected]> |
899 | ||
900 | * doublest.c (convert_floatformat_to_doublest): No longer need to | |
901 | cast "exp_bias" to an int. Reverts 2002-12-04 change. | |
902 | ||
ac79b88b DJ |
903 | 2003-09-15 Daniel Jacobowitz <[email protected]> |
904 | ||
905 | * values.c (unpack_double): Call floatformat_is_valid. | |
906 | ||
1c671366 MK |
907 | 2003-09-15 Mark Kettenis <[email protected]> |
908 | ||
de5227fb MK |
909 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of |
910 | ps_strings into a long. | |
911 | ||
1c671366 MK |
912 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from |
913 | _initialize_am64fbsd_nat. | |
914 | ||
a604369a KB |
915 | 2003-09-15 Kevin Buettner <[email protected]> |
916 | ||
917 | * dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset | |
918 | associated with DW_AT_ranges attribute is out of bounds. | |
919 | ||
b3cacbee DL |
920 | 2003-09-15 David Lecomber <[email protected]> |
921 | ||
922 | * f-valprint.c: Apply array element printing limits to multi-dimensional arrays | |
923 | ||
d0f37bb2 MC |
924 | 2003-09-14 Michael Chastain <[email protected]> |
925 | ||
926 | * config/m68k/nm-apollo68v.h: Delete. | |
927 | * config/m68k/xm-apollo68v.h: Delete. | |
928 | ||
69517000 AC |
929 | 2003-09-14 Andrew Cagney <[email protected]> |
930 | ||
931 | * rs6000-tdep.c (rs6000_push_dummy_call): Fix typos. | |
932 | * dcache.c: Update copyrights and descriptions. | |
933 | * scm-exp.c, ia64-aix-nat.c, hppam3-nat.c: environ.c: Ditto. | |
934 | ||
ef8b349d AC |
935 | 2003-09-14 Andrew Cagney <[email protected]> |
936 | ||
937 | * config/djgpp/fnchange.lst: Rename "amd64fbsd-tdep.c" and | |
938 | "amd64fbsd-nat.c" to "a64fb-tdep.c" and "a64fb-nat.c". | |
939 | ||
52f0bd74 AC |
940 | 2003-09-14 Andrew Cagney <[email protected]> |
941 | ||
942 | * alpha-nat.c: Remove some occurances of "register". | |
943 | * alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto. | |
944 | * buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto. | |
945 | * corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto. | |
946 | * dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto. | |
947 | * environ.c, eval.c, event-top.c, f-typeprint.c: Ditto. | |
948 | * f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto. | |
949 | * h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto. | |
950 | * hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto. | |
951 | * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto. | |
952 | * infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto. | |
953 | * jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto. | |
954 | * mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto. | |
955 | * mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto. | |
956 | * ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto. | |
957 | * p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto. | |
958 | * remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto. | |
959 | * rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto. | |
960 | * solib.c, somread.c, source.c, sparc-tdep.c: Ditto. | |
961 | * stabsread.c, stack.c, standalone.c, symfile.c: Ditto. | |
962 | * symmisc.c, symtab.c, top.c, tracepoint.c: Ditto. | |
963 | * typeprint.c, utils.c, valarith.c, valops.c: Ditto. | |
964 | * values.c, vax-tdep.c, xcoffread.c: Ditto. | |
965 | ||
4a4b3fed AC |
966 | 2003-09-13 Andrew Cagney <[email protected]> |
967 | ||
968 | * config/pa/tm-hppa64.h (struct frame_info): Declare opaque. | |
969 | * ppc-tdep.h (struct regcache): Declare opaque. | |
970 | * objfiles.h (struct objfile_data): Declare opaque. | |
971 | * cp-support.h (struct objfile): Declare opaque. | |
972 | * linux-nat.h (target_waitstatus): Declare opaque. | |
973 | ||
2110b94f MK |
974 | 2003-09-14 Mark Kettenis <[email protected]> |
975 | ||
1c671366 MK |
976 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. |
977 | (stabs_argument_has_addr): New architecture method. | |
978 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
979 | * arch-utils.c: Include "buildsym.h". | |
980 | (default_stabs_argument_has_addr): New function. | |
981 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
982 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
983 | ||
2110b94f MK |
984 | * cris-tdep.c (cris_gdbarch_init): Set |
985 | deprecated_reg_struct_has_addr instead of reg_struct_has_addr. | |
986 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
987 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
988 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
989 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
990 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
991 | ||
48436ce6 AC |
992 | 2003-09-13 Andrew Cagney <[email protected]> |
993 | ||
994 | * values.c (using_struct_return): Delete "function" and "funcaddr" | |
995 | parameters. | |
996 | * value.h (using_struct_return): Update declaration. | |
997 | * infcmd.c (finish_command_continuation): Update. | |
998 | (finish_command): Update. | |
999 | * infcall.c (call_function_by_hand): Update. | |
1000 | * eval.c (evaluate_subexp_standard): Update. | |
1001 | ||
403d9909 CF |
1002 | 2003-09-13 Christopher Faylor <[email protected]> |
1003 | ||
1004 | * win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for | |
1005 | SSE registers since gdb will not operate correctly without this. | |
1006 | Restore include file ordering munged in previous change. | |
1007 | * config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define. | |
1008 | ||
ebf7d56b MK |
1009 | 2003-09-13 Mark Kettenis <[email protected]> |
1010 | ||
8e823e25 MK |
1011 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed from |
1012 | REG_STRUCT_HAS_ADDR. | |
1013 | * gdbarch.c, gdbarch.h: Updated. | |
1014 | * infcall.c (call_function_by_hand): Update. | |
1015 | * stabsread.c (define_symbol): Updated. | |
1016 | ||
ebf7d56b MK |
1017 | * Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove. |
1018 | ||
d3f13f72 CF |
1019 | 2003-09-12 Christopher Faylor <[email protected]> |
1020 | ||
1021 | * win32-nat.c: Reorganize so that defines used by target headers are | |
1022 | actually defined by the system headers. | |
1023 | * config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather | |
1024 | than HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists. | |
1025 | ||
14f75137 JB |
1026 | 2003-09-12 Jim Blandy <[email protected]> |
1027 | ||
d646061f JB |
1028 | * dbxread.c (read_dbx_symtab): Don't report an internal error if |
1029 | the file has no .data, .bss, or .rodata sections. Instead wait | |
1030 | until we see a variable alleged to live in one of those sections. | |
1031 | ||
2a13f9bc JB |
1032 | * dbxread.c (read_dbx_symtab): If we have no .data section and no |
1033 | .bss section, presume that any variables we find live in the | |
1034 | .rodata section. | |
1035 | ||
4f49b26b JB |
1036 | * dbxread.c (read_dbx_symtab): Add FIXME about finding section |
1037 | offsets for global and static variables. | |
1038 | ||
14f75137 JB |
1039 | * dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT |
1040 | symbol types are, by definition, in the .data section, so it is | |
1041 | correct to use SECT_OFF_DATA (objfile) here, not data_sect_index. | |
1042 | If there is no .data section, there should be no N_DATA or N_DATA | |
1043 | | N_EXT symbols. | |
1044 | ||
212c460c MK |
1045 | 2003-09-12 Mark Kettenis <[email protected]> |
1046 | ||
1047 | * amd64fbsd-tdep.c: Fix sigtramp recognition. | |
1048 | (amd64fbsd_sigcontext_addr): Rewrite. | |
1049 | (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize | |
1050 | with correct values. | |
1051 | (amd64fbsd_sc_reg_offset): Initialize with correct values. | |
1052 | (amd64fbsd_init_abi): Fix typo. | |
1053 | ||
68856ea3 AC |
1054 | 2003-09-12 Andrew Cagney <[email protected]> |
1055 | ||
1056 | * ppc-sysv-tdep.c (align_up, align_down): Replace "round2" macro. | |
1057 | (ppc_sysv_abi_push_dummy_call): Rewrite, use a two pass loop. | |
1058 | ||
627b3ba2 AC |
1059 | 2003-09-12 Andrew Cagney <[email protected]> |
1060 | ||
1061 | * objfiles.h (struct entry_info): Deprecate "entry_file_lowpc" and | |
1062 | "entry_file_highpc". Update comments. | |
1063 | * defs.h (deprecated_inside_entry_file): Rename | |
1064 | "inside_entry_file". | |
1065 | * blockframe.c (deprecated_inside_entry_file): Rename | |
1066 | "inside_entry_file". | |
1067 | * frame.c (get_prev_frame): Update. Use if 0 instead of #if 0. | |
1068 | * vax-tdep.c (vax_frame_chain): Update. | |
1069 | * sh64-tdep.c (sh64_frame_chain): Update. | |
1070 | * sh-tdep.c (sh_frame_chain): Update. | |
1071 | * rs6000-tdep.c (rs6000_frame_chain): Update. | |
1072 | * ns32k-tdep.c (ns32k_frame_chain): Update. | |
1073 | * mips-tdep.c (mips_frame_chain): Update. | |
1074 | * m68hc11-tdep.c (m68hc11_frame_this_id): Update. | |
1075 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
1076 | * i386-interix-tdep.c (i386_interix_frame_chain_valid): Update. | |
1077 | * frv-tdep.c (frv_frame_this_id): Update. | |
1078 | * d10v-tdep.c (d10v_frame_this_id): Update. | |
1079 | * cris-tdep.c (cris_frame_chain): Update. | |
1080 | * blockframe.c (legacy_frame_chain_valid): Update. | |
1081 | * avr-tdep.c (avr_frame_this_id): Update. | |
1082 | * arm-tdep.c (arm_prologue_this_id): Update. | |
1083 | * alpha-tdep.c (alpha_heuristic_frame_this_id): Update. | |
1084 | * objfiles.c (objfile_relocate): Update. | |
1085 | * mipsread.c (mipscoff_symfile_read): Update. | |
1086 | (mipscoff_symfile_read): Update. | |
1087 | * mdebugread.c (parse_partial_symbols): Update. | |
1088 | * dwarfread.c (read_file_scope): Update. | |
1089 | * dwarf2read.c (read_file_scope): Update. | |
1090 | * dbxread.c (read_dbx_symtab): Update. | |
1091 | (read_dbx_symtab): Update. | |
1092 | * coffread.c (complete_symtab): Update. | |
1093 | ||
b0abbc58 JJ |
1094 | 2003-09-12 Jeff Johnston <[email protected]> |
1095 | ||
1096 | * top.c (quit_target): New static helper function. | |
1097 | (quit_force): Moved code to quit_target(). Call quit_target() | |
1098 | via catch_errors() to catch errors during quit. | |
1099 | ||
a1632d59 DC |
1100 | 2003-09-11 David Carlton <[email protected]> |
1101 | ||
1102 | * buildsym.c (finish_block): Use allocate_block to allocate the | |
1103 | block. | |
1104 | * mdebugread.c (new_block): Add FIXME. | |
1105 | ||
5c4e30ca DC |
1106 | 2003-09-11 David Carlton <[email protected]> |
1107 | ||
1108 | * gdbtypes.h: Add TYPE_CODE_NAMESPACE. | |
1109 | * gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE. | |
1110 | (recursive_dump_type): Ditto. | |
1111 | * printcmd.c (print_formatted): Ditto. | |
1112 | * typeprint.c (print_type_scalar): Ditto. | |
1113 | * c-typeprint.c (c_type_print_varspec_prefix): Ditto. | |
1114 | (c_type_print_varspec_suffix, c_type_print_base): Ditto. | |
1115 | * cp-support.h: Declare cp_check_possible_namespace_symbols, | |
1116 | maint_cplus_cmd_list. | |
1117 | * cp-support.c: Make maint_cplus_cmd_list extern. | |
1118 | * cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h, | |
1119 | command.h. | |
1120 | (lookup_symbol_file): Look in possible namespace blocks when | |
1121 | appropriate. | |
1122 | (initialize_namespace_symtab): New. | |
1123 | (get_possible_namespace_block, free_namespace_block) | |
1124 | (check_possible_namespace_symbols) | |
1125 | (check_possible_namespace_symbols_loop) | |
1126 | (check_one_possible_namespace_symbol) | |
1127 | (lookup_possible_namespace_symbol, maintenance_cplus_namespace) | |
1128 | (_initialize_cp_namespace): Ditto. | |
1129 | * block.h: Declare allocate_block. | |
1130 | * block.c (allocate_block): New. | |
1131 | * jv-lang.c (get_java_class_symtab): Allocate blocks via | |
1132 | allocate_block. | |
1133 | * symfile.h: Update declaration of add_psymbol_to_list. | |
1134 | * symfile.c (add_psymbol_to_list): Return the partial symbol in | |
1135 | question. | |
1136 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to | |
1137 | scan_partial_symbols_call. | |
1138 | (scan_partial_symbols): Add NAMESPACE argument; update calls to | |
1139 | helper functions. | |
1140 | (add_partial_symbol): If necessary, scan mangled names for names | |
1141 | of namespaces. | |
1142 | (add_partial_namespace): Add NAMESPACE argument; generate partial | |
1143 | symbols associated to namespaces. | |
1144 | (add_partial_enumeration): Add NAMESPACE argument. | |
1145 | (new_symbol): Allow namespace syms. | |
1146 | (read_namespace): Generate namespace syms. | |
1147 | * objfiles.h: Add opaque declaration of struct symtab. | |
1148 | (struct objfile): Add cp_namespace_symtab member. | |
1149 | * objfiles.c (allocate_objfile): Set | |
1150 | objfile->cp_namespace_symtab. | |
1151 | * Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h, | |
1152 | dictionary_h, command_h. | |
1153 | ||
33a7c2fc AC |
1154 | 2003-09-11 Andrew Cagney <[email protected]> |
1155 | ||
1156 | * rs6000-tdep.c (rs6000_push_dummy_call): Use | |
1157 | regcache_raw_write_signed to set SP_REGNUM, move the operation to | |
1158 | near the function's end. | |
1159 | (rs6000_gdbarch_init): Do not set "deprecated_dummy_write_sp". | |
1160 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use | |
1161 | regcache_raw_write_signed to set SP_REGNUM. | |
1162 | ||
63cd24fe EZ |
1163 | 2003-09-11 Elena Zannoni <[email protected]> |
1164 | ||
1165 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure | |
1166 | orig_addrs is set up properly. | |
1167 | ||
f27dd7fd AC |
1168 | 2003-09-11 Andrew Cagney <[email protected]> |
1169 | ||
1170 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Rename STACK_ALIGN. | |
1171 | * gdbarch.h, gdbarch.c: Re-generate. | |
1172 | * infcall.c (call_function_by_hand): Update. | |
1173 | * hppa-tdep.c (hppa_push_arguments): Update. | |
1174 | * ada-lang.c (place_on_stack): Update. | |
1175 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1176 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1177 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1178 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
1179 | * h8300-tdep.c (h8300_gdbarch_init): Delete comment refering to | |
1180 | stack_align. | |
1181 | ||
f630a401 DJ |
1182 | 2003-09-11 Daniel Jacobowitz <[email protected]> |
1183 | ||
1184 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in a | |
1185 | register do need a frame. | |
1186 | ||
0ddabb4c AC |
1187 | 2003-09-11 Andrew Cagney <[email protected]> |
1188 | ||
1189 | Since the IRIX 4 configuration was forcing K&R mode it hasn't been | |
1190 | buildable since GDB 5.0. | |
1191 | * NEWS: Mention that IRIX 3 and IRIX 4 support were removed. | |
1192 | * configure.host: Delete "mips-sgi-irix3*" and "mips-sgi-irix4*". | |
1193 | * configure.tgt: Delete "mips*-sgi-*" a.k.a. irix3. | |
1194 | * irix4-nat.c: Delete file. | |
1195 | * config/mips/irix4.mh: Delete file. | |
1196 | * config/mips/irix3.mh: Delete file. | |
1197 | * config/mips/irix3.mt: Delete file. | |
1198 | * config/mips/tm-irix3.h: Delete file. | |
1199 | * config/mips/nm-irix3.h: Delete file. | |
1200 | * config/mips/xm-irix3.h: Delete file. | |
1201 | * config/mips/nm-irix4.h: Delete file. | |
1202 | * config/mips/xm-irix4.h: Delete file. | |
1203 | * config/mips/tm-irix5.h: Inline contents of "tm-irix3.h". | |
1204 | ||
fde2cceb JB |
1205 | 2003-09-10 J. Brobecker <[email protected]> |
1206 | ||
1207 | * hppa-tdep.c: Include "dis-asm.h". Fixes a build failure. | |
1208 | * Makefile.in (hppa-tdep.o): Update dependencies. | |
1209 | ||
66f667f5 JW |
1210 | 2003-09-10 James E Wilson <[email protected]> |
1211 | ||
ef5fd69f JW |
1212 | * MAINTAINERS: Change my e-mail address. Move to paper trail |
1213 | section. | |
66f667f5 | 1214 | |
53e8aaea KB |
1215 | 2003-09-10 Kevin Buettner <[email protected]> |
1216 | ||
1217 | * MAINTAINERS (frv): New ISA entry. | |
1218 | ||
dcc6aaff KB |
1219 | 2003-09-10 Kevin Buettner <[email protected]> |
1220 | ||
1221 | * frv-tdep.c (dis-asm.h): Include. | |
1222 | * Makefile.in (frv-tdep.o): Update dependencies. | |
1223 | ||
932644f0 JJ |
1224 | 2003-09-09 Jeff Johnston <[email protected]> |
1225 | ||
1226 | * ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs): | |
1227 | Fix typo for high range of floating registers. | |
1228 | ||
91c24f0a DC |
1229 | 2003-09-09 David Carlton <[email protected]> |
1230 | ||
1231 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and | |
1232 | highpc initialization here out of scan_partial_symbols. | |
1233 | (scan_partial_symbols): Restructure into a recursive version, | |
1234 | calling add_partial_namespace and add_partial_enumeration when | |
1235 | appropriate. | |
1236 | (add_partial_namespace): New. | |
1237 | (add_partial_enumeration, locate_pdi_sibling): Ditto. | |
1238 | ||
c9263853 AC |
1239 | 2003-09-09 Andrew Cagney <[email protected]> |
1240 | ||
e56a0ecc AC |
1241 | * rs6000-tdep.c (ppc_push_return_address): Delete function. |
1242 | (rs6000_push_dummy_call): Set LR to BP_ADDR. | |
1243 | (rs6000_gdbarch_init): Do not set deprecated_push_return_address. | |
1244 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
1245 | ||
794a477a AC |
1246 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete function. |
1247 | (rs6000_push_dummy_call): Set the "TOC" register. | |
1248 | ||
c9263853 AC |
1249 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated |
1250 | methods "max_register_raw_size", "max_register_virtual_size" or | |
1251 | "register_virtual_size". | |
1252 | ||
afa7d0b2 ILT |
1253 | 2003-09-09 Ian Lance Taylor <[email protected]> |
1254 | ||
1255 | * MAINTAINERS: Update my e-mail address. | |
1256 | ||
7a41266b AC |
1257 | 2003-09-09 Andrew Cagney <[email protected]> |
1258 | ||
1259 | * rs6000-tdep.c (rs6000_store_struct_return): Delete function. | |
1260 | (rs6000_push_dummy_call): Store the struct return address. | |
1261 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
1262 | ||
77b2b6d4 AC |
1263 | 2003-09-09 Andrew Cagney <[email protected]> |
1264 | ||
1265 | * ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace | |
1266 | "ppc_sysv_abi_push_arguments". | |
1267 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace | |
1268 | "ppc_sysv_abi_push_arguments". | |
1269 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call" | |
1270 | instead of "push_arguments". | |
1271 | (rs6000_push_dummy_call): Replace "rs6000_push_arguments". | |
1272 | ||
e8a7b686 AC |
1273 | 2003-09-09 Andrew Cagney <[email protected]> |
1274 | ||
1275 | * sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS | |
1276 | instead of CALL_DUMMY_ADDRESS. | |
1277 | ||
f86f5ca3 PH |
1278 | 2003-09-09 Paul N. Hilfinger <[email protected]> |
1279 | ||
1280 | * p-lang.c: Eliminate "register". | |
1281 | * c-lang.c: Ditto. | |
1282 | * expprint.c: Ditto. | |
1283 | * f-lang.c: Ditto. | |
1284 | * jv-lang.c: Ditto. | |
1285 | * language.c: Ditto. | |
1286 | * m2-lang.c: Ditto. | |
1287 | * parse.c: Ditto. | |
1288 | * scm-lang.c: Ditto. | |
1289 | * objc-lang.c: Ditto. | |
1290 | ||
83ee270e NC |
1291 | 2003-09-09 Nick Clifton <[email protected]> |
1292 | ||
1293 | * v850-tdep.c (v850_processor_type_table): Add bfd_mach_v850e1. | |
1294 | ||
a89aa300 AC |
1295 | 2003-09-04 Andrew Cagney <[email protected]> |
1296 | ||
1297 | * avr-tdep.c: Include "dis-asm.h". | |
1298 | * cris-tdep.c: Include "dis-asm.h". | |
1299 | (cris_delayed_get_disassembler): Use "struct disassemble_info" | |
1300 | instead of corresponding typedef. | |
1301 | * h8300-tdep.c: Include "dis-asm.h". | |
1302 | * ia64-tdep.c: Include "dis-asm.h". | |
1303 | * i386-tdep.c: Include "dis-asm.h". | |
1304 | (i386_print_insn): Use "struct disassemble_info" instead of | |
1305 | corresponding typedef. | |
1306 | * m68k-tdep.c: Include "dis-asm.h". | |
1307 | * mcore-tdep.c: Include "dis-asm.h". | |
1308 | * mips-tdep.c: Include "dis-asm.h". | |
1309 | (gdb_print_insn_mips): Make static, use "struct disassemble_info" | |
1310 | instead of corresponding typedef. | |
1311 | * ns32k-tdep.c: Include "dis-asm.h". | |
1312 | * s390-tdep.c: Include "dis-asm.h". | |
1313 | * sparc-tdep.c: Include "dis-asm.h". | |
1314 | * vax-tdep.c: Include "dis-asm.h". | |
1315 | * v850-tdep.c: Include "dis-asm.h". | |
1316 | * mn10300-tdep.c: Include "dis-asm.h". | |
1317 | * rs6000-tdep.c: Include "dis-asm.h". | |
1318 | * xstormy16-tdep.c: Include "dis-asm.h". | |
1319 | (_initialize_xstormy16_tdep): Delete "extern" declaration of | |
1320 | print_insn_xstormy16. | |
1321 | * Makefile.in (v850-tdep.o): Update dependencies. | |
1322 | (vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto. | |
1323 | (ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto. | |
1324 | (m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto. | |
1325 | (h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto. | |
1326 | (mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto. | |
1327 | (gdbarch_h): Remove $(dis_asm_h). | |
1328 | * disasm.c: Include "dis-asm.h". | |
1329 | (dis_asm_read_memory): Use "struct disassemble_info" instead of | |
1330 | corresponding typedef. | |
1331 | (dis_asm_memory_error, dump_insns, do_assembly_only): Ditto. | |
1332 | (gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto. | |
1333 | * gdbarch.sh: Do not include "dis-asm.h". | |
1334 | (struct disassemble_info): Declare opaque. | |
1335 | (TARGET_PRINT_INSN): Update declaration. | |
1336 | * gdbarch.h, gdbarch.c: Re-generate. | |
1337 | ||
88a82a65 AC |
1338 | 2003-09-08 Andrew Cagney <[email protected]> |
1339 | ||
1340 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename | |
1341 | CALL_DUMMY_ADDRESS, change to a predicate. | |
1342 | * gdbarch.h, gdbarch.c: Re-generate. | |
1343 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
1344 | Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address. | |
1345 | * infcall.c (call_function_by_hand): Ditto. | |
1346 | * sparc-tdep.c (sparc_push_return_address): Ditto. | |
1347 | (sparc_gdbarch_init): Set deprecated_call_dummy_address. | |
1348 | * xstormy16-tdep.c (xstormy16_push_return_address): Replace | |
1349 | CALL_DUMMY_ADDRESS with entry_point_address. | |
1350 | * v850-tdep.c (v850_push_return_address): Ditto. | |
1351 | * s390-tdep.c (s390_push_return_address): Ditto. | |
1352 | * rs6000-tdep.c (ppc_push_return_address): Ditto. | |
1353 | * mn10300-tdep.c (mn10300_push_return_address): Ditto. | |
1354 | * mcore-tdep.c (mcore_push_return_address): Ditto. | |
1355 | * cris-tdep.c (cris_push_return_address): Ditto. | |
1356 | * arm-tdep.c (arm_push_return_address): Ditto. | |
1357 | ||
3e2c4033 AC |
1358 | 2003-09-08 Andrew Cagney <[email protected]> |
1359 | ||
1360 | * dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous | |
1361 | enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED | |
1362 | and REG_UNMODIFIED to REG_SAME_VALUE. | |
1363 | (execute_cfa_program): Update. | |
1364 | (dwarf2_frame_cache): Update. Initialize table to | |
1365 | REG_UNSPECIFIED, complain if CFI fails to specify a register's | |
1366 | location. | |
1367 | (dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED. | |
1368 | ||
39efb398 AC |
1369 | 2003-09-08 Andrew Cagney <[email protected]> |
1370 | ||
1371 | * gnu-nat.c: Remove "inline" function attribute. | |
1372 | * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto. | |
1373 | ||
f5cb5aca KB |
1374 | 2003-09-08 Kevin Buettner <[email protected]> |
1375 | ||
1376 | * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V | |
1377 | target. | |
1378 | ||
1cb761c7 KB |
1379 | 2003-09-08 Kevin Buettner <[email protected]> |
1380 | ||
1381 | * frv-tdep.c (frame-unwind.h, frame-base.h): Include. | |
1382 | (frame_extra_info): Rename this struct to frv_unwind_cache. | |
1383 | Delete fields ``fp_to_callers_sp_offset'' and ``lr_saved_on_stack''. | |
1384 | Add fields ``prev_sp'' and ``base''. | |
1385 | (frv_frame_chain, frv_frame_saved_pc, frv_frame_init_saved_regs) | |
1386 | (frv_saved_pc_after_call, frv_init_extra_frame_info) | |
1387 | (frv_push_return_address, frv_pop_frame, frv_pop_frame_regular): | |
1388 | Delete. | |
1389 | (frv_analyze_prologue): Add ``struct frv_unwind_cache *'' argument. | |
1390 | Revise all callers. Fill in the unwind cache argument and make | |
1391 | other adjustments to account for new frame mechanisms. | |
1392 | (frv_frame_unwind_cache, frv_frame_align, frv_unwind_pc) | |
1393 | (frv_frame_this_id, frv_frame_prev_register, frv_frame_sniffer) | |
1394 | (frv_frame_base_address, frv_unwind_dummy_id): New functions. | |
1395 | (frv_frame_unwind, frv_frame_base): New structs. | |
1396 | (frv_push_arguments): Change name to frv_push_dummy_call(). Add | |
1397 | additional arguments expected by this method and adjust function | |
1398 | body accordingly. | |
1399 | (frv_gdbarch_init): Remove calls to the following functions: | |
1400 | set_gdbarch_deprecated_init_frame_pc(), | |
1401 | set_gdbarch_deprecated_saved_pc_after_call(), | |
1402 | set_gdbarch_deprecated_frame_chain(), | |
1403 | set_gdbarch_deprecated_frame_saved_pc(), | |
1404 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
1405 | set_gdbarch_deprecated_push_arguments(), | |
1406 | set_gdbarch_deprecated_push_return_address(), | |
1407 | set_gdbarch_deprecated_pop_frame(), | |
1408 | set_gdbarch_deprecated_call_dummy_words(), | |
1409 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
1410 | set_gdbarch_deprecated_init_extra_frame_info(), | |
1411 | set_gdbarch_deprecated_dummy_write_sp(), and | |
1412 | set_gdbarch_deprecated_pc_in_call_dummy(). | |
1413 | Add calls to the following functions: | |
1414 | set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(), | |
1415 | set_gdbarch_frame_align(), frame_unwind_append_sniffer(), and | |
1416 | frame_base_set_default(). | |
1417 | * Makefile.in (frv-tdep.o): Update dependencies. | |
1418 | ||
68f6cf99 MK |
1419 | 2003-09-09 Mark Kettenis <[email protected]> |
1420 | ||
1421 | * dwarf2-frame.c (read_encoded_value): Add support for | |
1422 | DW_EH_PE_aligned encoding. | |
1423 | ||
73b65bb0 DJ |
1424 | 2003-09-08 Daniel Jacobowitz <[email protected]> |
1425 | ||
1426 | * infrun.c (normal_stop): Don't print a message if the inferior | |
1427 | has exited. | |
1428 | ||
7c8a5605 JB |
1429 | 2003-09-08 Jim Blandy <[email protected]> |
1430 | ||
1431 | * Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h). | |
1432 | * dbxread.c: #include "gdb_assert.h". | |
1433 | (read_dbx_symtab): If the objfile has no .data section, use the | |
1434 | section index for the .bss section instead. | |
1435 | ||
7dd88986 DJ |
1436 | 2003-09-08 Daniel Jacobowitz <[email protected]> |
1437 | ||
1438 | * frame.c (deprecated_safe_get_selected_frame): New function. | |
1439 | * frame.h (deprecated_safe_get_selected_frame): Add prototype. | |
1440 | * findvar.c (read_var_value): Call it. | |
1441 | ||
55ff77ac CV |
1442 | 2003-09-08 Corinna Vinschen <[email protected]> |
1443 | ||
1444 | * Makefile.in (ALLDEPFILES): Add sh64-tdep.c. | |
1445 | (sh64-tdep.o): Add dependencies. | |
1446 | * configure.tgt: Add FIXME to sh-*-linux*. | |
1447 | * sh-tdep.c: Move sh64 support to sh64-tdep.c. | |
1448 | (sh_gdbarch_init): Always set correct sh_show_regs function | |
1449 | pointer. Call sh64_gdbarch_init() if machine type is sh5. | |
1450 | * sh-tdep.h: Move sh64 support to sh64-tdep.c. | |
1451 | * sh64-tdep.c: New file, containing all sh64 related code from | |
1452 | sh-tdep.c. | |
1453 | * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o. | |
1454 | * config/sh/linux.mt (TDEPFILES): Ditto. | |
1455 | * config/sh/nbsd.mt (TDEPFILES): Ditto. | |
1456 | * config/sh/tm-sh.h: Drop REGISTER_TYPE definition. | |
1457 | * config/sh/wince.mt (TDEPFILES): Ditto. | |
1458 | ||
bfb39158 DJ |
1459 | 2003-09-07 Daniel Jacobowitz <[email protected]> |
1460 | ||
1461 | * lin-lwp.c (detach_callback): Don't call stop_wait_callback. | |
1462 | (stop_wait_callback): Handle !lp->signalled also. | |
1463 | (lin_lwp_has_pending, flush_callback): New functions. | |
1464 | (lin_lwp_wait): Call flush_callback. | |
1465 | * linux-proc.c (linux_proc_add_line_to_sigset): New function. | |
1466 | (linux_proc_pending_signals): New function. | |
1467 | * linux-nat.h (linux_proc_pending_signals): Add prototype. | |
1468 | ||
9407de8e DJ |
1469 | 2003-09-07 Daniel Jacobowitz <[email protected]> |
1470 | ||
1471 | From Nick Kelsey <[email protected]>: | |
1472 | * infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE | |
1473 | when the stop PC is at the beginning of a function also. | |
1474 | ||
2ef47cd0 DJ |
1475 | 2003-09-06 Daniel Jacobowitz <[email protected]> |
1476 | ||
1477 | * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New. | |
1478 | (arm_linux_init_abi): Use arm_linux_arm_be_breakpoint. | |
1479 | ||
6f4492c8 MK |
1480 | 2003-09-06 Mark Kettenis <[email protected]> |
1481 | ||
1482 | * sol-thread.c: Include "gdb_string.h". | |
1483 | ||
d3420b2f MK |
1484 | 2003-09-03 Mark Kettenis <[email protected]> |
1485 | ||
1486 | * gcore.c: Reorder include files in alphabetical order. Include | |
1487 | "gdb_assert.h". Various coding style fixes. | |
1488 | (derive_stack_segment, derive_heap_segment): Replace check for | |
1489 | non-null BOTTOM and TOP with gdb_assert. | |
1490 | (derive_heap_segment): Replace check for successful creation of | |
1491 | ZERO with gdb_assert. | |
1492 | (make_mem_sec): Use bfd_section_lma to set OSEC->lma. | |
1493 | ||
5220ea4c AC |
1494 | 2003-09-04 Andrew Cagney <[email protected]> |
1495 | ||
1496 | * thread-db.c (verbose_dlsym): New function. | |
1497 | (thread_db_load): Use verbose_dlsym | |
1498 | (thread_db_new_objfile): Print that libthread_db was loaded, and | |
1499 | that thread debugging was enabled. | |
1500 | ||
6e8c2c06 AC |
1501 | 2003-09-04 Andrew Cagney <[email protected]> |
1502 | ||
1503 | * configure.tgt: Add "mips64*-*-*" target. Delete | |
1504 | mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*, | |
1505 | mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*, | |
1506 | mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*, | |
1507 | mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*, | |
1508 | mips*-sony-*, and mips64*-*-elf* targets. | |
1509 | * config/mips/embedl.mt: Delete file. | |
1510 | * config/mips/embedl64.mt: Delete file. | |
1511 | * config/mips/mips.mt: Delete file. | |
1512 | * config/mips/mips64.mt: Delete file. | |
1513 | * config/mips/tm-embed.h: Delete file. | |
1514 | * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h". | |
1515 | * config/mips/embed64.mt: Delete out-of-date comment. | |
1516 | ||
3a3bc038 AC |
1517 | 2003-09-04 Andrew Cagney <[email protected]> |
1518 | ||
1519 | * hppa-tdep.c (hppa_gdbarch_init): Set | |
1520 | "have_nonsteppable_watchpoint". | |
1521 | * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
1522 | * mips-tdep.c (mips_dump_tdep): Do not print | |
1523 | HAVE_NONSTEPPABLE_WATCHPOINT. | |
1524 | (mips_gdbarch_init): Set "have_nonsteppable_watchpoint". | |
1525 | * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
1526 | * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
1527 | * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
1528 | ||
a957e642 CV |
1529 | 2003-09-04 Corinna Vinschen <[email protected]> |
1530 | ||
1531 | * breakpoint.c (watchpoint_check): Remove accidentally checked in | |
1532 | unused code. Add comment. | |
1533 | ||
a6fbcf2f CV |
1534 | 2003-09-04 Corinna Vinschen <[email protected]> |
1535 | ||
1536 | * breakpoint.c (watchpoint_check): Check for pc being in an | |
1537 | epilogue if watchpoint frame couldn't be found. | |
1538 | ||
c14a44d5 AC |
1539 | 2003-09-04 Andrew Cagney <[email protected]> |
1540 | ||
1541 | * Makefile.in: Re-generate all dependencies. | |
1542 | ||
f6c40618 AC |
1543 | 2003-09-03 Andrew Cagney <[email protected]> |
1544 | ||
1545 | * arch-utils.h (legacy_print_insn): Delete declaration. | |
1546 | * arch-utils.c (legacy_print_insn): Delete function. | |
1547 | * disasm.c (deprecated_tm_print_insn_info): Delete. | |
1548 | (_initialize_disasm): Delete function, contained code initializing | |
1549 | deprecated_tm_print_insn_info. | |
1550 | * gdbarch.sh (deprecated_tm_print_insn): Delete. | |
1551 | (deprecated_tm_print_insn_info): Delete. | |
1552 | (TARGET_PRINT_INSN): Do not provide a default. | |
1553 | * gdbarch.h, gdbarch.c: Re-generate. | |
1554 | ||
242e8be5 AC |
1555 | 2003-09-03 Andrew Cagney <[email protected]> |
1556 | ||
1557 | * disasm.c (fprintf_disasm): New function. | |
1558 | (gdb_disassemble_info): Call "init_disassemble_info", instead of | |
1559 | INIT_DISASSEMBLE_INFO_NO_ARCH. Do not initialize "insn_sets", | |
1560 | reverts 2003-08-14 change. | |
1561 | (_initialize_disasm): Call "init_disassemble_info", instead of | |
1562 | INIT_DISASSEMBLE_INFO_NO_ARCH. | |
1563 | ||
3ffc3dda MS |
1564 | 2003-09-03 Michael Snyder <[email protected]> |
1565 | ||
1566 | * config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch]. | |
1567 | ||
52d16ba8 AC |
1568 | 2003-09-03 Andrew Cagney <[email protected]> |
1569 | ||
1570 | * config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition. | |
1571 | * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define. | |
1572 | * symfile.c (syms_from_objfile): Update. | |
1573 | (reread_symbols): `Update | |
1574 | * exec.c (exec_file_attach): Update. | |
1575 | (exec_file_attach): Update. | |
1576 | * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert | |
1577 | 2003-08-29 change. | |
1578 | * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET. | |
1579 | ||
eb5492fa DJ |
1580 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
1581 | ||
1582 | * arm-tdep.c: Include frame-unwind.h, frame-base.h, and | |
1583 | trad-frame.h. | |
1584 | (arm_get_cache): Delete macro. | |
1585 | (struct arm_prologue_cache): Update comments. Make saved_regs into | |
1586 | a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp | |
1587 | to prev_sp. | |
1588 | (thumb_scan_prologue): Update for cache changes. Don't call | |
1589 | DEPRECATED_PC_IN_CALL_DUMMY. | |
1590 | (arm_scan_prologue): Update for cache changes. Take NEXT_FRAME | |
1591 | argument and use it in desperation search for our prologue. Do not | |
1592 | search past the specified PC. | |
1593 | (arm_make_prologue_cache): Simplify. | |
1594 | ||
1595 | (arm_prologue_this_id, arm_prologue_prev_register) | |
1596 | (arm_prologue_unwind, arm_prologue_unwind_sniffer) | |
1597 | (arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache) | |
1598 | (arm_sigtramp_this_id, arm_sigtramp_prev_register) | |
1599 | (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer) | |
1600 | (arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New. | |
1601 | ||
1602 | (arm_frame_chain_valid, arm_find_callers_reg) | |
1603 | (arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs) | |
1604 | (arm_pop_frame): Delete obsolete methods. | |
1605 | (arm_minimal_frame_chain, arm_minimal_frame_info): Delete. | |
1606 | ||
1607 | (arm_gdbarch_init): Update for new frame methods. Register prologue | |
1608 | and sigtramp unwinders. Set the default frame base method. | |
1609 | ||
1610 | * Makefile.in (arm-tdep.o): Update dependencies. | |
1611 | * varobj.c (find_frame_addr_in_frame_chain): Call | |
1612 | get_frame_base_address. | |
1613 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
1614 | ||
24de872b DJ |
1615 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
1616 | ||
1617 | * arm-tdep.c (arm_minimal_frame_chain): Renamed from | |
1618 | arm_frame_chain. Take NEXT_FRAME and CACHE arguments. | |
1619 | Use the cache instead of DEPRECATED_FRAME_SAVED_PC. | |
1620 | (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info. | |
1621 | Take NEXT_FRAME and CACHE arguments. Call | |
1622 | FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument. | |
1623 | Set unwound_pc in CACHE instead of modifying the frame argument. | |
1624 | Don't bother checking the frame type when looking for sigtramp | |
1625 | frames. | |
1626 | (arm_make_prologue_cache, arm_frame_chain) | |
1627 | (arm_init_extra_frame_info): New functions. | |
1628 | ||
9b8d791a DJ |
1629 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
1630 | ||
1631 | * arm-tdep.c (arm_get_cache): Define. | |
1632 | (struct arm_prologue_cache): Renamed from frame_extra_info. Add | |
1633 | unwound_sp, unwound_pc, and saved_regs. | |
1634 | (thumb_scan_prologue): Take a cache instead of the frame. | |
1635 | (arm_scan_prologue): Likewise. | |
1636 | (arm_frame_chain): Create a temporary cache for arm_scan_prologue | |
1637 | instead of a temporary frame. | |
1638 | (arm_init_extra_frame_info): Allocate and use a cache. | |
1639 | (arm_frame_saved_pc, arm_pop_frame): Use the cache. | |
1640 | ||
7ee3275f AC |
1641 | 2003-09-03 Andrew Cagney <[email protected]> |
1642 | ||
1643 | * config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS. | |
1644 | * config/mips/wince.mt (TM_CLIBS): Ditto. | |
1645 | * config/sh/wince.mt (TM_CLIBS): Ditto. | |
1646 | * config/pa/hppa64.mt (TM_CLIBS): Delete. | |
1647 | * config/sparc/sp64.mt (CC): Delete. | |
1648 | ||
57b29be7 AC |
1649 | 2003-09-03 Andrew Cagney <[email protected]> |
1650 | ||
1651 | * defs.h: Do not include "arch-utils.h". | |
1652 | (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or | |
1653 | GDB_MULTI_ARCH_PURE. | |
1654 | * configure.in (GDB_MULTI_ARCH): Do not define. | |
1655 | * configure, config.in: Regenerate. | |
1656 | * configure.tgt: Do not set variable "gdb_multi_arch". | |
1657 | * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. | |
1658 | * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. | |
1659 | * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. | |
1660 | * config/v850/v850.mt (TM_FILE): Delete disabled definition. | |
1661 | * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. | |
1662 | * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. | |
1663 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. | |
1664 | * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. | |
1665 | * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. | |
1666 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. | |
1667 | * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. | |
1668 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. | |
1669 | * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. | |
1670 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. | |
1671 | * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. | |
1672 | * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. | |
1673 | * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. | |
1674 | * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition. | |
1675 | ||
12e035e2 MC |
1676 | 2003-08-30 Michael Chastain <[email protected]> |
1677 | ||
1678 | * Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h. | |
1679 | * config/m68k/nm-hp300hpux.h: Delete. | |
1680 | * config/m68k/tm-hp300hpux.h: Delete. | |
1681 | * config/m68k/xm-hp300hpux.h: Delete. | |
1682 | * config/m68k/xm-hp300bsd.h: Delete. | |
1683 | * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h, | |
1684 | tm-hp300hpux.h, xm-hp300hpux.h. | |
1685 | * somsolib.c: Remove comment about hp300 shared libraries. | |
1686 | ||
bda34dc2 MK |
1687 | 2003-08-31 Mark Kettenis <[email protected]> |
1688 | ||
5bca7895 MK |
1689 | * i386-linux-nat.c (ps_get_thread_area): Don't define as extern. |
1690 | Only define PTRACE_GET_THREAD_AREA is not already defined. | |
1691 | Various style fixes in code and comments and some additional | |
1692 | spelling fixes in comments. Move after functions dealing with | |
1693 | debug registers. | |
1694 | * x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern. | |
1695 | Fix coding-style. | |
1696 | ||
bda34dc2 MK |
1697 | * alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use |
1698 | frame_unwind_register_unsigned instead of | |
1699 | frame_unwind_unsigned_register. | |
1700 | ||
c890192f MK |
1701 | 2003-08-30 Mark Kettenis <[email protected]> |
1702 | ||
1703 | * configure.in: Search for gethostbyname in libnsl. | |
1704 | * configure: Regenerated. | |
1705 | ||
60fac5b8 MK |
1706 | 2003-08-29 Mark Kettenis <[email protected]> |
1707 | ||
e294916c MK |
1708 | * configure.in: Remove redundant AC_MSG_RESULT in check for |
1709 | uintptr_t in stdint.h. | |
1710 | * configure: Regenerated. | |
1711 | ||
c40d267a MK |
1712 | * amd64-nat.h (struct regcache): Add opaque declaration. |
1713 | ||
60fac5b8 MK |
1714 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define. |
1715 | * x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h". | |
1716 | Change "register array" to "register cache" in comments. | |
1717 | (x86_64_linux_gregset64_reg_offset): New variable. | |
1718 | (GETREGS_SUPPLIES): Remove macro. | |
1719 | (supply_gregset): Call amd64_supply_native_gregset instead of | |
1720 | x86_64_linux_supply_gregset. | |
1721 | (fill_gregset): Rename `regno' to `regnum'. Call | |
1722 | amd64_collect_native_gregset instead of x86_64_linux_fill_gregset. | |
1723 | (store_regs): Rename `regno' to `regnum'. | |
1724 | (store_fpregs): Rename `regno' to `regnum'. | |
1725 | (fetch_inferior_registers): Rename `regno' to `regnum'. Use | |
1726 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
1727 | Reorganize function a bit. | |
1728 | (store_inferior_registers): Rename `regno' to `regnum'. Use | |
1729 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
1730 | Reorganize function a bit. | |
1731 | (_initialize_x86_64_linux_nat): New function. | |
1732 | * config/i386/x86-64linux.mh. | |
1733 | ||
546143b6 AC |
1734 | 2003-08-29 Andrew Cagney <[email protected]> |
1735 | ||
1736 | * config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro. | |
1737 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro. | |
1738 | (target_remove_watchpoint): Delete macro. | |
1739 | (target_insert_watchpoint): Delete macro. | |
1740 | (remote_mips_can_use_hardware_watchpoint): Delete declaration. | |
1741 | (remote_mips_stopped_by_watchpoint): Delete declaration. | |
1742 | (remote_mips_remove_watchpoint): Delete declaration. | |
1743 | (remote_mips_set_watchpoint): Delete declaration. | |
1744 | (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro. | |
1745 | * remote-mips.c (_initialize_remote_mips): Set | |
1746 | "to_insert_watchpoint", "to_stopped_by_watchpoint", | |
1747 | "to_can_use_hardware_watchpoint", and "to_remove_watchpoint". | |
1748 | (mips_insert_watchpoint): Rename remote_mips_set_watchpoint. | |
1749 | (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint. | |
1750 | (mips_stopped_by_watchpoint): Rename | |
1751 | remote_mips_stopped_by_watchpoint. | |
1752 | (mips_can_hardware_watchpoint): Rename | |
1753 | remote_mips_can_use_hardware_watchpoint, update function | |
1754 | signature. | |
1755 | ||
7bace51b MK |
1756 | 2003-08-29 Mark Kettenis <[email protected]> |
1757 | ||
b0f5c6f2 MK |
1758 | * x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and |
1759 | USER_DS. We haven't given them a register number yet. | |
1760 | ||
2a6d284d MK |
1761 | * amd64-nat.h: New file. |
1762 | * amd64-nat.c: New file. | |
1763 | * amd64fbsd-nat.c: Include "amd64-nat.h". | |
1764 | (REG_ADDR, GETREGS_SUPPLIES): Remove macros. | |
1765 | (amd64fbsd32_r_reg_offset): New variable. | |
1766 | (supply_gregset): Simply call amd64_supply_native_gregset. | |
1767 | (fill_gregset): Rename `regno' to `regnum'. Simply call | |
1768 | amd64_collect_native_gregset. | |
1769 | (fill_fpregset): Rename `regno' to `regnum'. | |
1770 | (fetch_inferior_registers): Rename `regno' to `regnum'. Replace | |
1771 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
1772 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
1773 | `fpregset_t'. Call amd64_supply_native_gregset instead of | |
1774 | supply_gregset. Call x86_64_supply_fxsave instead of | |
1775 | supply_fpregset. | |
1776 | (store_inferior_registers): Rename `regno' to `regnum'. Replace | |
1777 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
1778 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
1779 | `fpregset_t'. Call amd64_collect_native_gregset instead of | |
1780 | fill_gregset. Call x86_64_collect_fxsave instead of | |
1781 | fill_fpregset. | |
1782 | (_initialize_am64fbsd_nat): Initialize | |
1783 | amd64_native_gregset32_reg_offset and | |
1784 | amd64_native_gregset64_reg_offset. | |
1785 | * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o. | |
1786 | ||
a16d75cc MK |
1787 | * regcache.c (regcache_raw_supply): Don't assert that BUF isn't a |
1788 | null pointer. Fix typo in comment. | |
1789 | ||
7bace51b MK |
1790 | * regcache.c (supply_register): Reimplement to call |
1791 | regcache_raw_supply. | |
1792 | (regcache_collect): Reimplement by calling regcache_raw_collect. | |
1793 | ||
9a661b68 MK |
1794 | 2003-08-28 Mark Kettenis <[email protected]> |
1795 | ||
1796 | * regcache.c (register_buffer): Consitify first argument. | |
1797 | (regcache_raw_supply, regcache_raw_collect): New | |
1798 | functions. | |
1799 | ||
e94cc8fa DJ |
1800 | 2003-08-28 Daniel Jacobowitz <[email protected]> |
1801 | ||
1802 | * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. Suggested | |
1803 | by Nathan J. Williams. | |
1804 | ||
c64bd0ce DJ |
1805 | 2003-08-28 Daniel Jacobowitz <[email protected]> |
1806 | ||
1807 | * lin-lwp.c (wait_lwp): New function, copied from | |
1808 | stop_wait_callback. Clean up. | |
1809 | (stop_wait_callback): Use wait_lwp. | |
1810 | ||
e5ab0dce AC |
1811 | 2003-08-28 Andrew Cagney <[email protected]> |
1812 | ||
1813 | * mips-tdep.c (gdb_print_insn_mips): Set the disassembler's | |
1814 | flavour and disassembler options. | |
1815 | (_initialize_mips_tdep): Do not set deprecated_tm_print_insn. | |
1816 | (mips_gdbarch_init): Set "print_insn". Delete initialization of | |
1817 | deprecated_tm_print_insn_info. | |
1818 | ||
a788de9b AC |
1819 | 2003-08-27 Andrew Cagney <[email protected]> |
1820 | ||
1821 | * s390-tdep.c (s390_readinstruction): Delete "info" parameter. | |
1822 | Use target_read_memory. | |
1823 | (s390_get_frame_info): Update. Do not reference | |
1824 | deprecated_tm_print_insn_info. | |
1825 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
1826 | ||
36482093 AC |
1827 | 2003-08-27 Andrew Cagney <[email protected]> |
1828 | ||
1829 | * Makefile.in (cris-tdep.o): Update dependencies. | |
1830 | * cris-tdep.c: Include "gdb_assert.h". | |
1831 | (cris_gdbarch_init): Set print_insn. | |
1832 | (_initialize_cris_tdep): Do not set deprecated_tm_print_insn. | |
1833 | (cris_delayed_get_disassembler): Simplify, directly call the | |
1834 | disassembler returned by cris_get_disassembler. | |
1835 | * hppa-tdep.c (hppa_gdbarch_init): Set print_insn. | |
1836 | (_initialize_hppa_tdep): Do not set deprecated_tm_print_insn. | |
1837 | * ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn. | |
1838 | (_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn. | |
1839 | * mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn. | |
1840 | (_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn. | |
1841 | * mcore-tdep.c (mcore_gdbarch_init): Set print_insn. | |
1842 | (_initialize_mcore_tdep): Do not set deprecated_tm_print_insn. | |
1843 | * frv-tdep.c (frv_gdbarch_init): Set print_insn. | |
1844 | (_initialize_frv_tdep): Do not set deprecated_tm_print_insn. | |
1845 | * sparc-tdep.c (sparc_gdbarch_init): Set print_insn. | |
1846 | (gdb_print_insn_sparc): Delete function. | |
1847 | (_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or | |
1848 | deprecated_tm_print_insn_info. | |
1849 | * v850-tdep.c (v850_gdbarch_init): Set print_insn. | |
1850 | (_initialize_v850_tdep): Do not set deprecated_tm_print_insn. | |
1851 | (v850_gdbarch_init): Do not set deprecated_tm_print_insn_info. | |
1852 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn. | |
1853 | (_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn. | |
1854 | * s390-tdep.c (gdb_print_insn_s390): Delete function. | |
1855 | (_initialize_s390_tdep): Do not set deprecated_tm_print_insn. | |
1856 | (s390_gdbarch_init): Set print_insn. | |
1857 | ||
0285512f AC |
1858 | 2003-08-27 Andrew Cagney <[email protected]> |
1859 | ||
1860 | * ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function. | |
1861 | (ppc_linux_init_abi): For PPC64, do not set call_dummy_address. | |
1862 | * infcall.c (call_function_by_hand): Convert the entry point | |
1863 | address into a code address. | |
1864 | ||
cdcd5552 AC |
1865 | 2003-08-27 Andrew Cagney <[email protected]> |
1866 | ||
1867 | * dsrec.c: Include "gdb_string.h". | |
1868 | * Makefile.in (dsrec.o): Update dependencies. | |
1869 | ||
e85cddad MC |
1870 | 2003-08-27 Michael Chastain <[email protected]> |
1871 | ||
1872 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*. | |
1873 | ||
8bbfbb23 AC |
1874 | 2003-08-27 Andrew Cagney <[email protected]> |
1875 | ||
1876 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function. | |
1877 | (alpha_osf1_init_abi): Do not set call_dummy_address. | |
1878 | ||
ba058b66 DC |
1879 | 2003-08-27 David Carlton <[email protected]> |
1880 | ||
1881 | From Randolph Chung <[email protected]>: | |
1882 | * linux-proc.c (linux_info_proc_cmd): rework the code so that it | |
1883 | compiles with -Wformat-nonliteral -Werror. | |
1884 | ||
87f84c9d JB |
1885 | 2003-08-26 Jim Blandy <[email protected]> |
1886 | ||
1887 | * solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument. | |
1888 | (enable_break): Pass SEC_CODE as the SECT_FLAGS argument to | |
1889 | bfd_lookup_symbol, since we only want symbols in code sections. | |
1890 | (look_for_base): Pass zero as the SECT_FLAGS argument to | |
1891 | bfd_lookup_symbol, since we're not concerned about which section | |
1892 | the symbol is in. | |
1893 | ||
102d615a JJ |
1894 | 2003-08-26 Jeff Johnston <[email protected]> |
1895 | ||
1896 | * ia64-tdep.c (examine_prologue): Only stop at predicated insns if | |
1897 | we are frameless or the return address register is already known. | |
1898 | ||
cc7ad3ea AC |
1899 | 2003-08-26 Andrew Cagney <[email protected]> |
1900 | ||
1901 | * i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s | |
1902 | in size. Add comments. | |
1903 | ||
af8b88dd JJ |
1904 | 2003-08-26 Jeff Johnston <[email protected]> |
1905 | ||
1906 | * ia64-tdep.c (ia64_convert_from_func_addr): New function. | |
1907 | (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr(). | |
1908 | ||
e0a4f5a1 JM |
1909 | 2003-08-26 Jason Merrill <[email protected]> |
1910 | ||
1911 | * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name | |
1912 | case out of #ifdef MIPS block. | |
1913 | ||
4ae9ee8e DJ |
1914 | 2003-08-25 Daniel Jacobowitz <[email protected]> |
1915 | ||
1916 | PR java/1322 | |
1917 | * dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are | |
1918 | available before calling SECT_OFF_TEXT. | |
3c164570 | 1919 | * PROBLEMS: Remove description of java/1322. |
4ae9ee8e | 1920 | |
004d836a JJ |
1921 | 2003-08-25 Jeff Johnston <[email protected]> |
1922 | ||
1923 | * ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63, | |
1924 | bof, and nat0-nat127 as pseudo-registers. | |
1925 | (ia64_frame_cache): New struct used to cache frame info. | |
1926 | (ia64_register_reggroup_p): New routine used to override default | |
1927 | register grouping so registers without names are still saved and | |
1928 | restored. | |
1929 | (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their | |
1930 | pseudo values. | |
1931 | (ia64_pseudo_register_read): New routine to read pseudo-registers. | |
1932 | (ia64_pseudo_register_write): New routine to write pseudo-registers. | |
1933 | (ia64_alloc_frame_cache): New routine to create a new | |
1934 | ia64_frame_cache. | |
1935 | (examine_prologue): Change prototype to add next_frame pointer. | |
1936 | Assume frameless until otherwise proven. Verify that the cfm for | |
1937 | current frame matches the cfm that should occur for the prologues | |
1938 | alloc insn and if equal, mark as not frameless. At end of routine, | |
1939 | if not frameless, calculate registers for the previous frame and store | |
1940 | in the cache, if a cache is provided. | |
1941 | (ia64_skip_prologue): Use new prototype when calling examine_prologue | |
1942 | and pass 0 for next_frame. | |
1943 | (ia64_store_return_value): Change to use convert_typed_floating() | |
1944 | instead of calling ia64_convert_to_raw(). | |
1945 | (ia64_extract_return_value): Change to use convert_typed_floating() | |
1946 | instead of calling ia64_convert_to_virtual(). | |
1947 | (ia64_frame_cache): New routine to support new frame model. | |
1948 | (ia64_frame_this_id, ia64_frame_prev_register): Ditto. | |
1949 | (ia64_frame_sniffer): Ditto. | |
1950 | (ia64_sigtramp_frame_init_saved_regs): Ditto. | |
1951 | (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto. | |
1952 | (ia64_sigtramp_frame_prev_register): Ditto. | |
1953 | (ia64_sigtramp_frame_sniffer): Ditto. | |
1954 | (ia64_frame_base_address): Ditto. | |
1955 | (ia64_extract_struct_value_address): Change to issue error message. | |
1956 | (ia64_frame_align): New routine to align sp. | |
1957 | (ia64_push_dummy_call): New routine based on ia64_push_arguments(). | |
1958 | (ia64_push_arguments): Removed. Logic moved to | |
1959 | ia64_push_dummy_call(). | |
1960 | (ia64_push_return_address): Ditto. | |
1961 | (ia64_unwind_dummy_id): New function. | |
1962 | (ia64_unwind_pc): Ditto. | |
1963 | (ia64_convert_register_p): Ditto. | |
1964 | (ia64_register_to_value): Ditto. | |
1965 | (ia64_value_to_register): Ditto. | |
1966 | (ia64_pop_frame, ia64_pop_frame_regular): Removed. | |
1967 | (ia64_register_byte, ia64_register_raw_size): Ditto. | |
1968 | (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto. | |
1969 | (ia64_saved_pc_after_call): Ditto. | |
1970 | (ia64_frame_chain, ia64_frame_saved_pc): Ditto. | |
1971 | (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto. | |
1972 | (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto. | |
1973 | (ia64_register_convert_to_raw): Ditto. | |
1974 | (ia64_store_struct_return, ia64_call_dummy_words): Ditto. | |
1975 | (ia64_init_extra_frame_info): Ditto. | |
1976 | (ia64_frame_args_address, ia64_frame_locals_address): Ditto. | |
1977 | (ia64_gdbarch_init): Remove registering of deprecated functions that | |
1978 | are no longer used. Add registration of new gdbarch functions. | |
1979 | Remove registering deprecated_write_sp. Replace | |
1980 | set_gdbarch_register_virtual_type() with set_gdbarch_register_type(). | |
1981 | Delete set_gdbarch_deprecated_register_convertible(), | |
1982 | set_gdbarch_deprecated_register_convert_to_virtual(), and | |
1983 | set_gdbarch_deprecated_register_convert_to_raw() calls. Remove | |
1984 | set_gdbarch_deprecated_register_size(), | |
1985 | set_gdbarch_deprecated_register_bytes(), | |
1986 | set_gdbarch_pcregnum(), | |
1987 | set_gdbarch_deprecated_register_byte(), | |
1988 | set_gdbarch_deprecated_register_raw_size(), | |
1989 | set_gdbarch_deprecated_max_register_raw_size(), | |
1990 | set_gdbarch_deprecated_register_virtual_size(), | |
1991 | and set_gdbarch_deprecated_max_register_virtual_size() calls. | |
1992 | Replace set_gdbarch_deprecated_extract_return_value() with | |
1993 | set_gdbarch_extract_return_value(). Remove calls to: | |
1994 | set_gdbarch_deprecated_saved_pc_after_call(); | |
1995 | set_gdbarch_deprecated_frame_chain(), | |
1996 | set_gdbarch_deprecated_frame_saved_pc(), | |
1997 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
1998 | set_gdbarch_deprecated_get_saved_register(), | |
1999 | set_gdbarch_deprecated_call_dummy_words(), | |
2000 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
2001 | set_gdbarch_deprecated_init_extra_frame_info(), | |
2002 | set_gdbarch_deprecated_frame_args_address(), | |
2003 | set_gdbarch_deprecated_frame_locals_address(), | |
2004 | and set_gdbarch_deprecated_dummy_write_sp(). | |
2005 | Add set_gdbarch_convert_register_p(), | |
2006 | set_gdbarch_register_to_value(), | |
2007 | set_gdbarch_value_to_register(), | |
2008 | set_gdbarch_push_dummy_call(), | |
2009 | set_gdbarch_frame_align(), | |
2010 | set_gdbarch_unwind_dummy_id(), | |
2011 | set_gdbarch_unwind_pc(), | |
2012 | frame_unwind_append_sniffer(), | |
2013 | frame_unwind_append_sniffer(), | |
2014 | and frame_base_set_default(). | |
2015 | ||
aede7613 CD |
2016 | 2003-08-25 Chris Demetriou <[email protected]> |
2017 | ||
2018 | * configure.tgt: Document need for special "mipsisa64" handling. | |
2019 | (mipsisa64*-*-linux64): Handle as target linux64. | |
2020 | (mipsisa64*-*-*): Handle as target embed64. | |
2021 | ||
43c3a82e MC |
2022 | 2003-08-18 Michael Chastain <[email protected]> |
2023 | ||
2024 | * PROBLEMS: Document pr gdb/1322, the Java anonymous | |
2025 | objfile bug. | |
2026 | ||
6564f77d MK |
2027 | 2003-08-24 Mark Kettenis <[email protected]> |
2028 | ||
2de139ba MK |
2029 | * i387-tdep.h: Update copyright date. |
2030 | (I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines. | |
2031 | ||
6564f77d MK |
2032 | * linux-proc.c (linux_proc_xfer_memory): Remove comment about |
2033 | CFLAGS games to reflect reality. | |
2034 | ||
42cf1509 AC |
2035 | 2003-08-24 Andrew Cagney <[email protected]> |
2036 | ||
2037 | * arm-tdep.c (_initialize_arm_tdep): Simplify by assuming | |
2038 | GDB_MULTI_ARCH is always non-zero. | |
2039 | * osabi.c (_initialize_gdb_osabi): Ditto. | |
2040 | (gdbarch_init_osabi): Ditto. | |
2041 | * sparc-tdep.c: Ditto for #if code. | |
2042 | ||
0485f6ad MK |
2043 | 2003-08-23 Mark Kettenis <[email protected]> |
2044 | ||
2045 | * x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument. | |
2046 | Update comments. | |
2047 | * x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype. Update | |
2048 | comments. | |
2049 | * x86-64-linux-tdep.c (fetch_core_registers): Adjust call to | |
2050 | x86_64_supply_fxsave. | |
2051 | * x86-64-linux-nat.c (supply_fpregset): Adjust call to | |
2052 | x86_64_supply_fxsave. | |
2053 | * amd64fbsd-nat.c (supply_fpregset): Adjust call to | |
2054 | x86_64_supply_fxsave. | |
2055 | ||
c7716133 AJ |
2056 | 2003-08-23 Andreas Jaeger <[email protected]> |
2057 | ||
2058 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to | |
2059 | i387_supply_fxsave. | |
2060 | ||
ed504bdf MK |
2061 | 2003-08-23 Mark Kettenis <[email protected]> |
2062 | ||
2063 | * go32-nat.c (fetch_register): Call i387_supply_fsave instead of | |
2064 | i387_supply_register. | |
2065 | (go32_fetch_registers): Adjust call to i387_supply_fsave. | |
2066 | * i386nbsd-tdep.c (fetch_core_registers): Adjust call to | |
2067 | i387_supply_fsave. | |
2068 | (fetch_elfcore_registers): Adjust call to i387_supply_fsave and | |
2069 | i387_supply_fxsave. | |
2070 | * i386obsd-tdep.c (fetch_core_registers): Adjust call to | |
2071 | i387_supply_fsave. | |
2072 | * i386bsd-nat.c (supply_fpregset): Adjust call to | |
2073 | i387_supply_fsave. | |
2074 | (fetch_inferior_registers): Remove extraneous whitespace. Adjust | |
2075 | call to i387_supply_fxsave. Call i387_supply_fsave instead of | |
2076 | supply_fpregset. | |
2077 | (store_inferior_registers): Remove extraneous whitespace. Call | |
2078 | i387_fill_fsave instead of fill_fpregset. | |
2079 | * i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave. | |
2080 | (supply_fpregset): Likewise. | |
2081 | * i386v4-nat.c (supply_fpregset): Adjust call to | |
2082 | i387_supply_fsave. | |
2083 | * i386-interix-nat.c (supply_fpregset): Adjust call to | |
2084 | i387_supply_fsave. | |
2085 | * i386-linux-nat.c (supply_fpregset): Adjust call to | |
2086 | i387_supply_fsave. | |
2087 | (supply_fpxregset): Adjust call to i387_adjust_fxsave. | |
2088 | * i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to | |
2089 | i387supply_fsave and i387_supply_fxsave. | |
2090 | * i387-tdep.c (i387_supply_fsave): Add `regnum' argument. | |
2091 | Incorporate code from `i387_supply_register. | |
2092 | (i387_supply_register): Remove. | |
2093 | (i387_supply_fxsave): Add `regnum' argument. | |
2094 | Update comments. | |
2095 | * i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust | |
2096 | prototype. | |
2097 | (i387_supply_register): remove prototype. | |
2098 | Update comments. | |
2099 | ||
4be5d520 MC |
2100 | 2003-08-22 Michael Chastain <[email protected]> |
2101 | ||
2102 | * config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*. | |
2103 | Add lines for files in gdb/testsuite/gdb.cp/* that are | |
2104 | still not 8.3 unique. | |
2105 | ||
7ed85d26 DJ |
2106 | 2003-08-22 Daniel Jacobowitz <[email protected]> |
2107 | ||
2108 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether | |
2109 | TYPE_VPTR_FIELDNO is valid. | |
2110 | ||
eb0d3137 MK |
2111 | 2003-08-19 Mark Kettenis <[email protected]> |
2112 | ||
2113 | * utils.c (set_width_command): Remove prototypes. | |
2114 | (set_screen_size): New prototype. | |
2115 | (init_page_info): Simplify by fetching the screen size from | |
2116 | Readline. Call set_screen_size. | |
2117 | (set_screen_size): New function. | |
2118 | (set_width): Add missing whitespace in comment. | |
2119 | (set_width_command): Call set_screen_size. | |
2120 | (set_height_command): New function. | |
2121 | (initialize_utils): Fix formatting. Make "set height" command | |
2122 | call set_height_command. Remove redundant code that turns off | |
2123 | pagination if output isn't a terminal. Remove redundant call to | |
2124 | set_width_command. | |
2125 | ||
7e6d0ac8 MK |
2126 | 2003-08-22 Mark Kettenis <[email protected]> |
2127 | ||
3567a8ea MK |
2128 | * sparc64-tdep.h (sparc64_regnum): Fix comment. |
2129 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes. | |
2130 | (sparc_supply_rwindow, sparc_fill_rwindow): New prototypes. | |
2131 | * sparc64-tdep.c (sparc64_pseudo_register_read): Add missing | |
2132 | `case' keyword. | |
2133 | (sparc64_register_info): Give the reister with number | |
2134 | SPARC64_STATE_REGNUM a name. | |
2135 | (sparc64_pseudo_register_write): Add support for %cwp, %pstate, | |
2136 | %asi and %ccr. | |
2137 | (sparc64_push_dummy_call): Take BIAS into account when checking | |
2138 | stcak alignment. | |
2139 | (sparc_software_single_step): Remove assertions that check whether | |
2140 | NPC and NNPC were zero. | |
2141 | (sparc_supply_rwindow): Make public. Merge functionality with | |
2142 | sparc64_supply_rwindow. | |
2143 | (sparc_fill_rwindow): Make public. Merge functionality with | |
2144 | sparc64_fill_rwindow. | |
2145 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove. | |
2146 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set | |
2147 | SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p. | |
2148 | * sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call | |
2149 | sparc_supply_rwindow instead of sparc64_supply_rwindow. | |
2150 | ||
7e6d0ac8 MK |
2151 | * reggroups.c: Add whitespace after declarations of local |
2152 | variables in functions. | |
2153 | ||
72e5f484 MC |
2154 | 2003-08-21 Michael Chastain <[email protected]> |
2155 | ||
2156 | * gdbtypes.h: Change array bound type from an int to enum. | |
2157 | ||
435ac228 AC |
2158 | 2003-08-21 Andrew Cagney <[email protected]> |
2159 | ||
2160 | * config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code. | |
2161 | * config/sparc/tm-sparc.h: Ditto. | |
2162 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH | |
2163 | unconditionally. | |
2164 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto. | |
2165 | ||
0d0e1a63 MK |
2166 | 2003-07-13 Mark Kettenis <[email protected]> |
2167 | ||
2168 | * objfiles.h (struct objfile): Add memebers `data' and `num_data'. | |
2169 | (register_objfile_data, set_objfile_data, objfile_data): New | |
2170 | prototypes. | |
2171 | * objfiles.c (objfile_alloc_data, objfile_free_data): New | |
2172 | prototypes. | |
2173 | (allocate_objfile): Call objfile_alloc_data. | |
2174 | (free_objfile): Call objfile_free_data. | |
2175 | (struct objfile_data): New. | |
2176 | (struct objfile_data_registration): New. | |
2177 | (struct objfile_data_registry): New. | |
2178 | (objfile_data_registry): New variable. | |
2179 | (register_objfile_data): New function. | |
2180 | (objfile_alloc_data, objfile_free_data): New functions. | |
2181 | (set_objfile_data, objfile_data): New functions. | |
2182 | * dwarf2-frame.c (dwarf2_frame_data): New variable. | |
2183 | (dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism. | |
2184 | (_initialize_dwarf2_frame): New function and prototype. | |
2185 | ||
d90cf509 AC |
2186 | 2003-08-21 Andrew Cagney <[email protected]> |
2187 | ||
2188 | * sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select | |
2189 | a specific architecture. | |
2190 | * arch-utils.h (set_architecture_from_arch_mach): Delete | |
2191 | declaration. | |
2192 | (target_architecture_hook): Delete declaration. | |
2193 | * arch-utils.c: Delete non GDB_MULTI_ARCH includes. | |
2194 | (default_float_format): Assume GDB_MULTI_ARCH. | |
2195 | (default_double_format): Assume GDB_MULTI_ARCH. | |
2196 | (set_endian_from_file): Delete function. | |
2197 | (arch_ok): Delete function. | |
2198 | (set_arch): Delete function. | |
2199 | (set_architecture_from_arch_mach): Delete function. | |
2200 | (set_architecture_from_file): Delete function. | |
2201 | (set_architecture): Assume GDB_MULTI_ARCH. | |
2202 | (set_gdbarch_from_file): Assume GDB_MULTI_ARCH. | |
2203 | ||
8b39fe56 MK |
2204 | 2003-08-21 Mark Kettenis <[email protected]> |
2205 | ||
2206 | Rewrite FreeBSD/sparc64 native configuration. | |
2207 | * sparcbsd-nat.c, sparcbsd-nat.h: New files. | |
2208 | * sparc64fbsd-nat.c: New file. | |
2209 | * sparc64fbsd-tdep.c: New file. | |
2210 | * sparc64-tdep.c sparc64-tdep.h: New files. | |
2211 | * Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o, | |
2212 | sparc64fbsd-tdep.o): New dependencies. | |
2213 | (SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c | |
2214 | and sparc64fbsd-tdep.c. | |
2215 | (sparc64_tdep_h, sparcbsd_nat_h): New variables. | |
2216 | * config/sparc/fbsd.mh: Remove copyright notice. | |
2217 | (NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and | |
2218 | sparcbsd-nat.o. | |
2219 | * config/sparc/fbsd.mt: Remove copyright notice. | |
2220 | (TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o, | |
2221 | solib-legacy.o. Add sparc64-tdep.o and sparc64fbsd-tdep.o. | |
2222 | * config/sparc/nm-fbsd.h: Don't include "elf/common.h". | |
2223 | (SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS, | |
2224 | PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T, | |
2225 | regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu, | |
2226 | fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines. | |
2227 | * config/sparc/tm-fbsd.h: Don't include "solib.h" and | |
2228 | "sparc/tm-sp64.h". | |
2229 | (SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines. | |
2230 | (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM. | |
2231 | ||
a7f19c79 MC |
2232 | 2003-08-21 Michael Chastain <[email protected]> |
2233 | ||
2234 | * symtab.h: Add doco on the space critical structures and | |
2235 | some measurements of space usage. | |
2236 | ||
da08ea5b MS |
2237 | 2003-08-21 Michael Snyder <[email protected]> |
2238 | ||
2239 | * tracepoint.c (trace_dump_command): Trace break address | |
2240 | is subject to DECR_PC_AFTER_BREAK. | |
2241 | (set_traceframe_context): Make "trace_line" an int. | |
2242 | Fixes suggested by Mark Newman <[email protected]> | |
2243 | ||
6df2bf50 MS |
2244 | 2003-08-20 Michael Snyder <[email protected]> |
2245 | ||
2246 | * sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG. | |
2247 | * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set | |
2248 | FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for | |
2249 | argument passing. | |
2250 | (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New | |
2251 | functions, replace sh_push_dummy_call. | |
2252 | (sh_gdbarch_init): Set push_dummy_call to one of new methods. | |
2253 | ||
0955bbf0 MC |
2254 | 2003-08-20 Michael Chastain <[email protected]> |
2255 | ||
2256 | * gdbtypes.h (struct main_type): Rearrange to save space. | |
2257 | ||
260a4188 MS |
2258 | 2003-08-20 Michael Snyder <[email protected]> |
2259 | ||
2260 | * trad-frame.c: Comment typo fix. | |
2261 | ||
8baa6f92 KB |
2262 | 2003-08-20 Michael Snyder <[email protected]> |
2263 | Kevin Buettner <[email protected]> | |
2264 | ||
2265 | * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include. | |
2266 | (frv_frame_init_saved_regs): Add declaration. | |
2267 | (frame_extra_info): Add new field ``saved_regs''. | |
2268 | (frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue) | |
2269 | (frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular): | |
2270 | Update frame related code. | |
2271 | (frv_extract_struct_value_address): Adjust formatting. | |
2272 | * Makefile.in (frv-tdep.o): Update dependencies. | |
2273 | * config/frv/tm-frv.h (target_insert_watchpoint) | |
2274 | (target_remove_watchpoint, target_insert_hw_breakpoint) | |
2275 | (target_remove_hw_breakpoint): Delete these macros. | |
2276 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
2277 | (remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove | |
2278 | these declarations. | |
2279 | ||
87193939 MC |
2280 | 2003-08-20 Michael Chastain <[email protected]> |
2281 | ||
2282 | * defs.h (ENUM_BITFIELD): New macro. | |
2283 | * symtab.h (ENUM_BITFIELD): Use it. | |
2284 | (BYTE_BITFIELD): Remove old macro, which was already disabled. | |
2285 | ||
062103ba SA |
2286 | 2003-08-19 Shrinivas Atre <[email protected]> |
2287 | ||
2288 | * MAINTAINERS (write after approval): Add myself. | |
2289 | ||
8b148df9 AC |
2290 | 2003-08-18 Andrew Cagney <[email protected]> |
2291 | ||
2292 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method. | |
2293 | * gdbarch.h, gdbarch.c: Re-generate. | |
2294 | * infcall.c (call_function_by_hand): Adjust the SP by | |
2295 | frame_red_zone_size before allocating any stack space. | |
2296 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size". | |
2297 | * x86-64-tdep.c (x86_64_frame_align): New function. | |
2298 | (x86_64_init_abi): Set "frame_red_zone_size" and "frame_align". | |
2299 | ||
2300 | * x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change. | |
2301 | Remove code adjusting SP so that it skips over the Red Zone. | |
2302 | ||
954a4db8 MK |
2303 | 2003-08-18 Mark Kettenis <[email protected]> |
2304 | ||
2305 | * NEWS (New native configurations): Mention FreeBSD/amd64. | |
2306 | ||
1a241548 AC |
2307 | 2003-08-18 Andrew Cagney <[email protected]> |
2308 | ||
2309 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set | |
2310 | "dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of | |
2311 | "m68k_frame_p". | |
2312 | (m68hc11_frame_sniffer): Replace "m68hc11_frame_p". | |
2313 | ||
f82b2acd MK |
2314 | 2003-08-18 Mark Kettenis <[email protected]> |
2315 | ||
2316 | * x86-64-tdep.c (x86_64_dwarf_regmap): Remove trailing whitespace. | |
2317 | ||
4056d258 ML |
2318 | 2003-08-18 Michal Ludvig <[email protected]> |
2319 | ||
2320 | * config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): | |
2321 | Define. | |
2322 | * i386-linux-nat.c: Include "linux-nat.h". | |
2323 | (child_post_startup_inferior): New function. | |
2324 | ||
99ab4326 MK |
2325 | 2003-08-18 Mark Kettenis <[email protected]> |
2326 | ||
2327 | * i386-tdep.c (i386_analyze_register_saves): Handle register saves | |
2328 | at the start of a frameless function. This probably fixes PR | |
2329 | backtrace/1338. | |
2330 | ||
c8d5f0d6 MC |
2331 | 2003-08-17 Michael Chastain <[email protected]> |
2332 | ||
2333 | * symfile.c (find_sym_fns): Remove special case for apollo target. | |
2334 | ||
9016a515 DJ |
2335 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
2336 | ||
2337 | * linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define. | |
2338 | (PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define. | |
2339 | (linux_parent_pid, linux_supports_tracevforkdone_flag): New variable. | |
2340 | (linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag. | |
2341 | (linux_supports_tracevforkdone): New function. | |
2342 | (linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and | |
2343 | TRACEVFORKDONE. | |
2344 | (child_follow_fork): Handle vfork. | |
2345 | (linux_handle_extended_wait): Likewise. Also handle exec. | |
2346 | (child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable. | |
2347 | * NEWS: Mention fork tracing. | |
2348 | ||
c538c11c DJ |
2349 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
2350 | ||
2351 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
2352 | ||
4de4c07c DJ |
2353 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
2354 | ||
2355 | * Makefile.in (i386-linux-nat.o): Update dependencies. | |
2356 | * config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. | |
2357 | * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH) | |
2358 | (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define. | |
2359 | * i386-linux-nat.c: Include "linux-nat.h". | |
2360 | (child_post_startup_inferior): New function. | |
2361 | * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef. | |
2362 | * infptrace.c (kill_inferior): Wrap in #ifdef. | |
2363 | * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after | |
2364 | attaching to each LWP. | |
2365 | (child_wait, lin_lwp_wait): Call linux_handle_extended_wait. | |
2366 | (init_lin_lwp_ops): Fill in some more operations. | |
2367 | * linux-nat.h (linux_enable_event_reporting) | |
2368 | (linux_handle_extended_wait, linux_child_post_startup_inferior): New | |
2369 | prototypes. | |
2370 | * linux-nat.c (linux_enable_event_reporting): New function. | |
2371 | (child_post_attach, linux_child_post_startup_inferior) | |
2372 | (child_post_startup_inferior, child_follow_fork) | |
2373 | (linux_handle_extended_wait, kill_inferior): New functions. | |
2374 | ||
7996bcec AC |
2375 | 2003-08-16 Andrew Cagney <[email protected]> |
2376 | ||
2377 | * gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code. | |
2378 | * gdbarch.h, gdbarch.c: Re-generate. | |
2379 | ||
3d48a7a0 MK |
2380 | 2003-08-16 Mark Kettenis <[email protected]> |
2381 | ||
2382 | * config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define. | |
2383 | ||
7989c619 AC |
2384 | 2003-08-16 Andrew Cagney <[email protected]> |
2385 | ||
2386 | * NEWS: Mention that "set prompt-escape-char" was deleted. | |
2387 | * top.c (get_prompt_1): Delete function. | |
2388 | (gdb_prompt_escape): | |
2389 | (init_main): Do not clear "gdb_prompt_escape". Delete "set | |
2390 | prompt-escape-char" command. | |
2391 | (MAX_PROMPT_SIZE): Delete macro. | |
2392 | (get_prompt): Simplify, do not call get_prompt_1. | |
2393 | ||
07978cd8 AC |
2394 | 2003-08-16 Andrew Cagney <[email protected]> |
2395 | ||
2396 | * Makefile.in (printcmd.o, valprint.o): Do not try to build with | |
2397 | -Werror. -Wformat-nonliteral problems. | |
2398 | ||
3ff7cf9e JB |
2399 | 2003-08-15 J. Brobecker <[email protected]> |
2400 | ||
2401 | Further multiarching work mostly for hppa64-*-hpux11: | |
2402 | * hppa-tdep.h: New file. | |
2403 | * hppa-tdep.c: #include hppa-tdep.c. | |
2404 | (hppa32_num_regs): Renamed from hppa_num_regs. | |
2405 | (hppa64_num_regs): New constant. | |
2406 | (hppa64_call_dummy_breakpoint_offset): New constant. | |
2407 | (hppa32_call_dummy_length): New constant. | |
2408 | (hppa64_call_dummy_length): New constant. | |
2409 | (hppa32_stack_align): Make name 32bit explicit. | |
2410 | (hppa32_register_virtual_type): Likewise. | |
2411 | (hppa32_extract_return_value): Likewise. | |
2412 | (hppa32_use_struct_convention): Likewise. | |
2413 | (hppa32_store_return_value): Likewise. | |
2414 | (hppa64_register_virtual_type): New function. | |
2415 | (hppa64_extract_return_value): New function. | |
2416 | (hppa64_use_struct_convention): New function. | |
2417 | (hppa64_store_return_value): New function. | |
2418 | (hppa_frame_locals_address): Remove declaration, function does | |
2419 | not exist anymore. | |
2420 | (hppa_register_byte): Add support for PA64 ABI. | |
2421 | (hppa_gdbarch_init): Add support for PA64 ABI. | |
2422 | * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp): | |
2423 | Make name 32bit explicit. | |
2424 | (hppa32_hpux_frame_base_before_sigtramp): Likewise. | |
2425 | (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise. | |
2426 | (hppa64_hpux_frame_saved_pc_in_sigtramp): New function. | |
2427 | (hppa64_hpux_frame_base_before_sigtramp): New function. | |
2428 | (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function. | |
2429 | * config/pa/tm-hppa64.h: Remove macros that are no longer | |
2430 | necessary now that the gdbarch vector is properly setup. | |
2431 | Transform some macros into function calls. Some minor cleanup. | |
2432 | * config/pa/tm-hppah.h: Update function calls in macros | |
2433 | following the function renaming in hppa-hpux-tdep.c. | |
2434 | * Makefile.in (hppa_tdep_h): New variable. | |
2435 | (hppa-tdep.o): Add dependency over hppa_tdep_h. | |
2436 | ||
5d05ca6d MS |
2437 | 2003-08-14 Michael Snyder <[email protected]> |
2438 | ||
2439 | * disasm.c (gdb_disassemble_info): Set info->insn_sets to zero. | |
2440 | ||
37ba2569 JB |
2441 | 2003-08-13 J. Brobecker <[email protected]> |
2442 | ||
2443 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct | |
2444 | bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization | |
2445 | routine. | |
2446 | ||
aed7f26a MS |
2447 | 2003-08-13 Michael Snyder <[email protected]> |
2448 | ||
2449 | * frv-tdep.c (frv_push_arguments): Use deprecated ftype. | |
2450 | (frv_saved_pc_after_call): Use deprecated ftype. | |
2451 | (stupid_useless_init_extra_frame_info): Remove orphan prototype. | |
2452 | (frv_remote_translate_xfer_address): Remove. | |
2453 | (frv_gdbarch_init): Use generic_remote_translate_xfer_address. | |
2454 | ||
752d4ac1 JB |
2455 | 2003-08-13 J. Brobecker <[email protected]> |
2456 | ||
2457 | * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch | |
2458 | initialization after the common gdbarch initialization, not before. | |
2459 | ||
1426ac1d JB |
2460 | 2003-08-13 J. Brobecker <[email protected]> |
2461 | ||
2462 | * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used. | |
2463 | (ADDR_BITS_REMOVE): Remove, redundant. | |
2464 | ||
b6fbdd1d JB |
2465 | 2003-08-13 J. Brobecker <[email protected]> |
2466 | ||
2467 | * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove | |
2468 | gdbarch method to clear the 2 low bits of text addresses. | |
2469 | ||
44160db3 AC |
2470 | 2003-08-12 Andrew Cagney <[email protected]> |
2471 | ||
2472 | * Makefile.in (dsrec.o): Update dependencies. | |
2473 | * dsrec.c: Include "gdb_assert.h". | |
2474 | (make_srec): Use snprintf instead of sprintf, use a literal format | |
2475 | string. | |
2476 | ||
bcf7d3ca AC |
2477 | 2003-08-12 Andrew Cagney <[email protected]> |
2478 | ||
2479 | * frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of | |
2480 | FRAME_OBSTACK_ZALLOC. | |
2481 | ||
49ed40de KB |
2482 | 2003-08-12 Kevin Buettner <[email protected]> |
2483 | ||
2484 | * i386-tdep.c (i386_gdbarch_init): Enable default support for | |
2485 | SSE registers. | |
2486 | ||
b246147c MK |
2487 | 2003-08-10 Mark Kettenis <[email protected]> |
2488 | ||
2489 | * x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end, | |
2490 | amd64fbsd_sc_reg_offset): Add extern declarations. | |
2491 | * amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern | |
2492 | declarations. | |
2493 | ||
d95fdc0d BE |
2494 | 2003-08-11 Ben Elliston <[email protected]> |
2495 | ||
2496 | * MAINTAINERS (write after approval): Update my mail address. | |
2497 | ||
cf6a0e73 AC |
2498 | 2003-08-10 Andrew Cagney <[email protected]> |
2499 | ||
2500 | * Makefile.in (monitor.o): Do not build monitor.c with -Werror. | |
2501 | ||
f837910f MK |
2502 | 2003-08-10 Mark Kettenis <[email protected]> |
2503 | ||
e2dbbd2d MK |
2504 | * i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, |
2505 | i386obsd_sigtramp_start, i386obsd_sigtramp_end, | |
2506 | i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset, | |
2507 | i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset, | |
2508 | i386bsd_sc_reg_offset): Add extern declarations. | |
2509 | * i386obsd-nat.c: Include "i386-tdep.h" | |
2510 | (_initialize_i386obsd_nat): Remove extern declarations. | |
2511 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern | |
2512 | declarations. | |
2513 | * i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern | |
2514 | declarations. | |
2515 | ||
f837910f MK |
2516 | * i386-tdep.c (i386_register_to_value): Use get_frame_register |
2517 | instead of frame_read_register. | |
2518 | (i386_fetch_pointer_argument): Use get_frame_register_unsigned | |
2519 | instead of frame_read_register. Use I386_ESP_REGNUM instead of | |
2520 | SP_REGNUM. | |
2521 | (i386_frame_prev_register): Use frame_unwind_register_unsigned | |
2522 | instead of frame_unwind_unsigned_register. Use | |
2523 | I386_EFLAGS_REGISTER instead of PS_REGNUM. | |
2524 | (i386_get_longjmp_target): Use regcache_read_unsigned_register | |
2525 | instead of read_register. Use builtin_type_void_data_ptr instead | |
2526 | of builtin_type_void_func_ptr when extracting the address of the | |
2527 | jmp_buf. | |
2528 | (i386_extract_return_value, i386_store_return_value, | |
2529 | i386_pseudo_register_read, i386_pseudo_register_write): Use | |
2530 | register_size instead REGISTER_RAW_SIZE. | |
2531 | ||
edcf254d AC |
2532 | 2003-08-10 Andrew Cagney <[email protected]> |
2533 | ||
2534 | * infcall.c (call_function_by_hand): Use xstrprintf instead of | |
2535 | sprintf. Make "name" constant. | |
2536 | ||
26604a34 MK |
2537 | 2003-08-10 Mark Kettenis <[email protected]> |
2538 | ||
192285c6 MK |
2539 | * i387-tdep.c (i387_register_to_value): Use get_frame_register |
2540 | instead of frame_read_register. | |
f837910f MK |
2541 | (i387_print_float_info): Use get_frame_register and |
2542 | get_frame_register_unsigned instead of frame_register_read. | |
192285c6 | 2543 | |
f0925262 MK |
2544 | * i386fbsd-nat.c: Include "i386-tdep.h". |
2545 | (child_resume): Make `eflags' an ULONGEST. Use | |
2546 | regcache_cooked_read_unsigned and regcache_cooked_write_unsigned | |
2547 | instead of register_read and register_write. | |
2548 | ||
a144416f MK |
2549 | * i386bsd-nat.c (fetch_inferior_registers, |
2550 | store_inferior_registers): Don't use && at the end of a line. | |
2551 | (_initialize_i386bsd_nat): Fix typo. | |
2552 | ||
fec74868 MK |
2553 | * frame.c (_initialize_frame): Add missing backslash. |
2554 | ||
87232496 MK |
2555 | From Peter Schauer ([email protected]): |
2556 | * sol-thread.c (sol_thread_store_registers): Use regcache_collect | |
2557 | and supply_register instead of manipulating the register buffer | |
2558 | directly. | |
2559 | ||
c9b9de0b MK |
2560 | From Peter Schauer ([email protected]): |
2561 | * config/i386/nm-i386sol2.h | |
2562 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one. | |
2563 | ||
26604a34 MK |
2564 | Based on a patch from Michael Elizabeth Chastain ([email protected]): |
2565 | * i386-tdep.c (i386_analyze_frame_setup): Recognize more | |
2566 | instructions that GCC likes to mingle into the prologue. Fixes | |
2567 | gdb/1253 and gdb/1255. | |
2568 | ||
25d29d70 AC |
2569 | 2003-08-09 Andrew Cagney <[email protected]> |
2570 | ||
2571 | Fix GDB PR cli/926. | |
2572 | * cli/cli-decode.c (add_setshow_uinteger_cmd): New function. | |
2573 | * command.h (add_setshow_uinteger_cmd): Declare. | |
2574 | * frame.c (set_backtrace_cmd): New function. | |
2575 | (show_backtrace_cmd): New function. | |
2576 | * frame.c (_initialize_frame): Replace "set/show | |
2577 | backtrace-below-main" with "set/show backtrace past-main". Add | |
2578 | command "set/show backtrace limit". | |
2579 | (backtrace_past_main): Rename "backtrace_below_main". | |
2580 | (backtrace_limit): New variable. | |
2581 | (get_prev_frame): Update. Check the backtrace_limit. | |
2582 | ||
9ebf4acf AC |
2583 | 2003-08-09 Andrew Cagney <[email protected]> |
2584 | ||
2585 | * defs.h (xstrprintf): Declare. | |
2586 | * utils.c (xstrprintf): New function. | |
2587 | * breakpoint.c (insert_breakpoints): Replace sprintf and | |
2588 | non-literal format strings, with xstrprintf and cleanups. | |
2589 | (delete_breakpoint,breakpoint_re_set): Ditto. | |
2590 | (commands_command, insert_breakpoints): Ditto. | |
2591 | (bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto. | |
2592 | (break_at_finish_command_1): Ditto. | |
2593 | ||
3771659b AC |
2594 | 2003-08-09 Andrew Cagney <[email protected]> |
2595 | ||
2596 | * MAINTAINERS (language support): List Adam Fedor as Objective C | |
2597 | maintainer. | |
2598 | ||
b4263afa JB |
2599 | 2003-08-08 J. Brobecker <[email protected]> |
2600 | ||
2601 | * NEWS (Multi-arched targets): Document that all hppa-hpux targets | |
2602 | are now multiarched. | |
2603 | ||
d84defb1 JB |
2604 | 2003-08-08 J. Brobecker <[email protected]> |
2605 | ||
2606 | * config/pa/tm-hppa64.h: Remove lots of macros that are no | |
2607 | longer necessary now that hppa64 is partially multiarch'ed. | |
2608 | ||
f786f615 AC |
2609 | 2003-08-08 Andrew Cagney <[email protected]> |
2610 | ||
2611 | * interps.c (interp_set): Check for a NULL "old_interp". | |
2612 | ||
c938e9b0 L |
2613 | 2003-08-08 H.J. Lu <[email protected]> |
2614 | ||
2615 | * Makefile.in (FLAGS_TO_PASS): Add DESTDIR. | |
2616 | (install-only): Support DESTDIR. | |
2617 | (uninstall): Likewise. | |
2618 | (install-gdbtk): Likewise. | |
2619 | ||
9a146a11 EZ |
2620 | 2003-08-08 Elena Zannoni <[email protected]> |
2621 | ||
2622 | * symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this | |
2623 | contains something meaningful at all times. | |
2624 | ||
2625 | Fri Aug 8 00:28:46 UTC 2003 Brendan Conoboy <[email protected]> | |
7a76ced5 | 2626 | |
62599e99 | 2627 | * configure.host: Set gdb_host_cpu=arm when host_cpu=xscale. |
7a76ced5 | 2628 | |
56296155 BC |
2629 | Fri Aug 8 00:28:38 UTC 2003 Brendan Conoboy <[email protected]> |
2630 | ||
62599e99 | 2631 | * MAINTAINERS (write after approval): Added self. |
56296155 | 2632 | |
9710e734 AC |
2633 | 2003-08-07 Andrew Cagney <[email protected]> |
2634 | ||
2635 | * inferior.h (AT_SYMBOL): Define. | |
2636 | * blockframe.c (inside_entry_file): Check for AT_SYMBOL. | |
2637 | * infcall.c (call_function_by_hand): Add code to handle AT_SYMBOL. | |
2638 | * mips-tdep.c (mips_call_dummy_address): Delete function. | |
2639 | (mips_gdbarch_init): Set call_dummy_location to AT_SYMBOL, do not | |
2640 | set call_dummy_address. | |
2641 | ||
98b3ab73 AC |
2642 | 2003-08-07 Andrew Cagney <[email protected]> |
2643 | ||
2644 | * language.c (op_error): Delete function. | |
2645 | (binop_type_check): Delete function. | |
2646 | * language.h (type_op_error, range_op_error): Delete macros. | |
2647 | (op_error): Delete declaration. | |
2648 | ||
2fcf52f0 AC |
2649 | 2003-08-07 Andrew Cagney <[email protected]> |
2650 | ||
2651 | * interps.h (INTERP_MI2, INTERP_MI3): Define. | |
2652 | ||
abd4220e | 2653 | 2003-08-07 Michal Ludvig <[email protected]> |
fd83bada | 2654 | |
abd4220e | 2655 | * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers. |
fd83bada | 2656 | (x86_64_push_arguments): Skip the red zone. |
abd4220e | 2657 | |
9dd5f34f AC |
2658 | 2003-08-05 Andrew Cagney <[email protected]> |
2659 | ||
2660 | * reggroups.c (reggroup_next): Check for the final entry. | |
2661 | ||
e5e78edc AC |
2662 | 2003-08-04 Andrew Cagney <[email protected]> |
2663 | ||
ab4e3d93 AC |
2664 | * monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT. |
2665 | * cli/cli-script.c (define_command): Call query directly, instead | |
2666 | of passing it a buffer. | |
2667 | * ocd.c (ocd_error): Pass error a constant format string. | |
2668 | * remote-mips.c (mips_error): Use fputs_filtered. | |
2669 | ||
1062ca82 AC |
2670 | * solib-svr4.c (_initialize_svr4_solib): Update |
2671 | register_gdbarch_data call. | |
2672 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto. | |
2673 | ||
fcc1c85c AC |
2674 | * gdbarch.sh (gdbarch_data_free_ftype): Delete declaration. |
2675 | (register_gdbarch_data): Delete "free" parameter. Update | |
2676 | comments. | |
2677 | * gdbarch.h, gdbarch.c: Re-generate. | |
2678 | * reggroups.c (_initialize_reggroup): Update. | |
2679 | * gnu-v3-abi.c (init_gnuv3_ops): Update. | |
2680 | * frame-base.c (_initialize_frame_base): Update. | |
2681 | * frame-unwind.c (_initialize_frame_unwind): Update. | |
2682 | * user-regs.c (_initialize_user_regs): Update. | |
2683 | * remote.c (_initialize_remote): Update. | |
2684 | * regcache.c (_initialize_regcache): Update. | |
2685 | ||
116f06ea AC |
2686 | * regcache.c (xfree_regcache_descr): Delete function. |
2687 | (_initialize_regcache): Update call to register_gdbarch_data. | |
2688 | (init_regcache_descr, init_legacy_regcache_descr): Use | |
2689 | GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC. | |
2690 | ||
e5e78edc AC |
2691 | * remote.c (free_remote_state): Delete function. |
2692 | (_initialize_remote): Update register_gdbarch_data. | |
2693 | (init_remote_state): Use GDBARCH_OBSTACK_XALLOC and | |
2694 | GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc. | |
2695 | ||
6c7d17ba AC |
2696 | 2003-08-04 Andrew Cagney <[email protected]> |
2697 | ||
2698 | * reggroups.c (struct reggroup_el): Define. | |
2699 | (struct reggroups): Delete field "nr_group". Replace array | |
2700 | "group" with a "first" to "last" linked list. | |
2701 | (reggroups_init): Update. Allocate using gdbarch's obstack. | |
2702 | (reggroups_free): Delete function. | |
2703 | (add_group): Update. Add "el" parameter. | |
2704 | (reggroup_add): Pass gdbarch obstack allocated space to add_group. | |
2705 | (default_groups): Update. | |
2706 | (reggroup_next): Replace reggroups. | |
2707 | (reggroups_dump): Update. | |
2708 | (_initialize_reggroup): Pass XMALLOC allocated space to add_group. | |
2709 | * regcache.c (regcache_dump): Use reggroup_next instead of reggroups. | |
2710 | * infcmd.c (registers_info): Use reggroup_next instead of reggroups. | |
2711 | ||
89b7795b DJ |
2712 | 2003-08-04 Daniel Jacobowitz <[email protected]> |
2713 | ||
2714 | * Makefile.in (tui-interp.o): Update dependencies. | |
2715 | ||
306d9ac5 DC |
2716 | 2003-08-04 David Carlton <[email protected]> |
2717 | ||
2718 | * charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args | |
2719 | to internal_error call. | |
2720 | * source.c (forward_search_command): Add "%s" format argument. | |
2721 | (reverse_search_command): Ditto. | |
2722 | * top.c (quit_confirm): Ditto. | |
2723 | * cli/cli-setshow.c (do_setshow_command): Ditto. | |
2724 | * cp-valprint.c (cp_print_class_method): Replace | |
2725 | {f,}printf_{un,}filtered by {f,}puts_{un,}filtered. | |
2726 | (cp_print_class_member): Ditto. | |
2727 | * event-top.c (command_line_handler): Ditto. | |
2728 | * linux-proc.c (linux_info_proc_cmd): Ditto. | |
2729 | * p-typeprint.c (pascal_type_print_base): Ditto. | |
2730 | * p-valprint.c (pascal_object_print_class_method): Ditto. | |
2731 | (pascal_object_print_class_member): Ditto. | |
2732 | * printcmd.c (print_scalar_formatted,printf_command): Ditto. | |
2733 | * remote.c (remote_cisco_section_offsets): Ditto. | |
2734 | * top.c (command_line_input): Ditto. | |
2735 | * utils.c (vwarning,error_stream,quit): Ditto. | |
2736 | * valprint.c (print_floating,print_binary_chars) | |
2737 | (print_octal_chars,print_decimal_chars,print_hex_chars): Ditto. | |
2738 | ||
57bfe177 AC |
2739 | 2003-08-04 Andrew Cagney <[email protected]> |
2740 | ||
2741 | * frame.c (frame_func_unwind): Use frame_unwind_address_in_block. | |
2742 | ||
e546b999 AC |
2743 | 2003-08-02 Andrew Cagney <[email protected]> |
2744 | ||
2745 | * config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc, | |
2746 | gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and | |
2747 | amd64fbsd-nat.c. | |
2748 | ||
91092ee5 AC |
2749 | 2003-08-02 Andrew Cagney <[email protected]> |
2750 | ||
2751 | * Makefile.in: Update all dependencies and definitions. | |
2752 | ||
889f28e2 AF |
2753 | 2003-08-02 Adam Fedor <[email protected]> |
2754 | ||
2755 | * linespec.c (is_objc_method_format): New function | |
2756 | (decode_line_1, locate_first_half): Use it. | |
2757 | Fixes PR objc/1298 | |
2758 | ||
880bc914 AC |
2759 | 2003-08-01 Andrew Cagney <[email protected]> |
2760 | ||
2761 | * NEWS: Mention that m32r is multi-arch. | |
2762 | From 2003-07-28 Kei Sakamoto <[email protected]>: | |
2763 | * configure.tgt: Recognize m32r-*-*. | |
2764 | * config/m32r/tm-m32r.h: Delete file. | |
2765 | * config/m32r/m32r.mt: New file. | |
2766 | * m32r-rom.c (m32r_upload_command): Use hostent only when | |
2767 | gethostname succeeds, in order to avoid a compilation | |
2768 | warning. | |
2769 | * m32r-tdep.c (m32r_store_return_value): Add a cast to remove a | |
2770 | compiler warning. | |
2771 | ||
19f59343 MS |
2772 | 2003-08-01 Michael Snyder <[email protected]> |
2773 | ||
2774 | * sh-tdep.c (sh_frame_align): New gdbarch method. | |
2775 | (sh_gdbarch_init): Set up frame_align method. | |
2776 | ||
4e7d7511 MS |
2777 | 2003-07-31 Michael Snyder <[email protected]> |
2778 | ||
2779 | * value.h, values.c, infcall.c, infcmd.c: Revert 07-30 change, | |
2780 | which is already covered by the new frames infrastructure. | |
2781 | ||
63022984 AC |
2782 | 2003-07-31 Andrew Cagney <[email protected]> |
2783 | ||
2784 | * user-regs.c (struct user_reg): Add "next" link. | |
2785 | (struct user_regs): Replace "user" with "first" and "last" links. | |
2786 | (append_user_reg): Add pre-allocated "reg" parameter. | |
2787 | (builtin_user_regs): Provide initial value for "last". | |
2788 | (user_reg_add_builtin): XMALLOC memory for append_user_reg. | |
2789 | (user_regs_init): Allocate memory from the gdbarch obstack. | |
2790 | (user_reg_add): GDBARCH_OBSTACK_ZALLOC memory for append_user_reg. | |
2791 | (user_reg_map_name_to_regnum): Rewrite to search the user_reg | |
2792 | linked list. | |
2793 | (usernum_to_user_reg): New function. | |
2794 | (user_reg_map_regnum_to_name): Use usernum_to_user_reg. | |
2795 | (value_of_user_reg): Use usernum_to_user_reg. | |
2796 | (user_regs_free): Delete function. | |
2797 | (_initialize_user_regs): Update register_gdbarch_data call. | |
2798 | ||
7cf6e574 DJ |
2799 | 2003-07-31 Daniel Jacobowitz <[email protected]> |
2800 | ||
2801 | * dwarf2read.c (new_symbol): Use var_decode_location for parameters. | |
2802 | ||
c48a845b MS |
2803 | 2003-07-30 Michael Snyder <[email protected]> |
2804 | ||
4e7d7511 | 2805 | * value.h (value_being_returned): Add a struct_addr argument. |
c48a845b MS |
2806 | * infcall.c (call_function_by_hand): Pass struct_addr to |
2807 | value_being_returned. | |
2808 | * infcmd.c (print_return_value): Pass zero as struct_addr. | |
2809 | * values.c (value_being_returned): If struct_addr is passed, | |
2810 | use it instead of trying to recover it from the inferior. | |
2811 | ||
f0d8db19 KB |
2812 | 2003-07-30 Kevin Buettner <[email protected]> |
2813 | ||
2814 | * mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that | |
2815 | the prologue analyzer won't need to attempt to extract the pc | |
2816 | value from the woefully incomplete dummy frame. | |
2817 | (mn10300_analyze_prologue): Avoid calls to get_frame_pc() when | |
2818 | possible. Disable code which modifies the frame. | |
2819 | ||
e5c113a1 AC |
2820 | 2003-07-28 Andrew Cagney <[email protected]> |
2821 | ||
2822 | * annotate.c (annotate_breakpoints_headers): Restrict annotation | |
2823 | to level 2. | |
2824 | (annotate_breakpoints_table, annotate_record): Ditto. | |
2825 | (annotate_breakpoints_table_end, annotate_field_begin): Ditto. | |
2826 | (annotate_field_name_end, annotate_field_value): Ditto. | |
2827 | (annotate_field_end, annotate_frame_source_begin): Ditto. | |
2828 | (annotate_frame_source_file, annotate_frame_source_file_end): Ditto. | |
2829 | (annotate_frame_source_line, annotate_frame_source_end): Ditto. | |
2830 | (annotate_frame_begin, annotate_frame_function_name): Ditto. | |
2831 | (annotate_frame_address_end, annotate_frame_address): Ditto. | |
2832 | (annotate_frame_args, annotate_frame_end): Ditto. | |
2833 | (annotate_frame_where, annotate_arg_begin): Ditto. | |
2834 | (annotate_arg_name_end, annotate_arg_value): Ditto. | |
2835 | (annotate_arg_end, annotate_signal_handler_caller): Ditto. | |
2836 | (annotate_function_call, annotate_signal_name): Ditto. | |
2837 | (annotate_signal_string, annotate_signal_name_end): Ditto. | |
2838 | (annotate_signal_string_end, annotate_value_history_begin): Ditto. | |
2839 | (annotate_value_begin, annotate_value_history_value): Ditto. | |
2840 | (annotate_value_history_end, annotate_value_end): Ditto. | |
2841 | (annotate_display_begin, annotate_display_number_end): Ditto. | |
2842 | (annotate_display_format, annotate_display_expression): Ditto. | |
2843 | (annotate_display_expression_end, annotate_display_value): Ditto. | |
2844 | (annotate_display_end, annotate_array_section_begin): Ditto. | |
2845 | (annotate_elt_rep, annotate_elt_rep_end): Ditto. | |
2846 | (annotate_elt, annotate_array_section_end): Ditto. | |
2847 | ||
bb1db049 AC |
2848 | 2003-07-28 Andrew Cagney <[email protected]> |
2849 | ||
2850 | * regcache.c (struct regcache_descr): Update comments on | |
2851 | nr_raw_registers. | |
2852 | (init_legacy_regcache_descr): Don't set nr_raw_registers or | |
2853 | sizeof_raw_register_valid_p. | |
2854 | (init_regcache_descr): Set nr_raw_registers and | |
2855 | sizeof_raw_register_valid_p before calling | |
2856 | init_legacy_regcache_descr. | |
2857 | ||
20e6603c AC |
2858 | 2003-07-28 Andrew Cagney <[email protected]> |
2859 | ||
2860 | * mips-tdep.c (print_gp_register_row): Print the GPR's register | |
2861 | MOD NUM_REGS. | |
2862 | ||
db742940 DJ |
2863 | 2003-07-28 Daniel Jacobowitz <[email protected]> |
2864 | ||
2865 | * thread.c (info_threads_command): Use get_selected_frame (). | |
2866 | Check that there is at least one non-sentinel frame. | |
2867 | ||
ce7f4371 SC |
2868 | 2003-07-27 Stephane Carrez <[email protected]> |
2869 | ||
2870 | * m68hc11-tdep.c (struct frame_extra_info): Remove. | |
2871 | (m68hc11_pop_frame): Remove. | |
2872 | (m68hc11_frame_saved_pc): Remove. | |
2873 | (m68hc11_frame_chain): Remove. | |
2874 | (m68hc11_frame_init_saved_regs): Remove. | |
2875 | (m68hc11_init_extra_frame_info): Remove. | |
2876 | (m68hc11_store_struct_return): Remove. | |
2877 | (m68hc11_saved_pc_after_call): Remove. | |
2878 | ||
1ea653ae SC |
2879 | 2003-07-27 Stephane Carrez <[email protected]> |
2880 | ||
2881 | * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold | |
2882 | frame unwind information. | |
2883 | (m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue | |
2884 | and adapted for frame unwinding. | |
2885 | (m68hc11_skip_prologue): Update to scan prologue in temporary object. | |
2886 | (m68hc11_unwind_pc): New function. | |
2887 | (m68hc11_frame_unwind_cache): New function to analyze frames. | |
2888 | (m68hc11_frame_this_id): New function to create new frame struct. | |
2889 | (m68hc11_frame_prev_register): New function to unwind a register from | |
2890 | the frame. | |
2891 | (m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder. | |
2892 | (m68hc11_frame_p): New function for the above. | |
2893 | (m68hc11_frame_base_address): New function to return fp of frame. | |
2894 | (m68hc11_frame_args_address): Update for frame. | |
2895 | (m68hc11_frame_base): Default 68hc11/68hc12 frame. | |
2896 | (m68hc11_unwind_sp): New function. | |
2897 | (m68hc11_unwind_dummy_id): New function. | |
2898 | (m68hc11_gdbarch_init): Install the above frames; remove deprecated | |
2899 | calls. | |
2900 | ||
c8a7f6ac SC |
2901 | 2003-07-27 Stephane Carrez <[email protected]> |
2902 | ||
2903 | * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc. | |
2904 | (m68hc11_guess_from_prologue): Advance the pc and frame size only | |
2905 | when we are beyond the current pc. | |
2906 | ||
3dc990bf SC |
2907 | 2003-07-27 Stephane Carrez <[email protected]> |
2908 | ||
2909 | * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted | |
2910 | from m68hc11_push_arguments. | |
2911 | (m68hc11_push_arguments): Remove. | |
2912 | (m68hc11_push_return_address): Remove. | |
2913 | (m68hc11_gdbarch_init): Install the above; remove above deprecated | |
2914 | handlers; remove deprecated_extra_stack_alignment_needed. | |
2915 | ||
222e5d1d AC |
2916 | 2003-07-27 Andrew Cagney <[email protected]> |
2917 | ||
2918 | * config/pa/tm-hppa.h (init_frame_pc_default): Declare. | |
2919 | * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update | |
2920 | REAL_PC and not the pointer. | |
2921 | * hppa-hpux-tdep.c: Include frame.h | |
2922 | ||
a7e9a47e AC |
2923 | 2003-07-27 Andrew Cagney <[email protected]> |
2924 | ||
2925 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to | |
2926 | GDB_MULTI_ACH_PARTIAL. | |
2927 | ||
7e3dd49e AC |
2928 | 2003-07-27 Andrew Cagney <[email protected]> |
2929 | ||
2930 | Patch from 2003-07-22 Kei Sakamoto <[email protected]>: | |
2931 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style - | |
2932 | operator at start and not end of line. | |
2933 | (decode_prologue): Ditto. | |
2934 | (m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use | |
2935 | frame_unwind_register_unsigned instead of | |
2936 | frame_unwind_unsigned_register. | |
2937 | (m32r_read_pc): Use regcache_cooked_read_unsigned instead of | |
2938 | read_register. | |
2939 | (m32r_push_dummy_call): Use register_size instead of | |
2940 | REGISTER_RAW_SIZE. | |
2941 | (m32r_frame_sniffer): Replace m32r_frame_p. | |
2942 | (m32r_gdbarch_init): Call frame_unwind_append_sniffer. | |
2943 | * m32r-rom.c (report_transfer_performance): Delete extern | |
2944 | declaration. | |
2945 | (m32r_load, m32r_upload_command): Use print_transfer_performance | |
2946 | instead of report_transfer_performance. | |
2947 | (_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd | |
2948 | / add_show_from_set. | |
2949 | ||
0880807f AC |
2950 | 2003-07-26 Andrew Cagney <[email protected]> |
2951 | ||
2952 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated | |
2953 | store_return_value and extract_struct_value_address. | |
2954 | ||
64ae9269 DJ |
2955 | 2003-07-26 Daniel Jacobowitz <[email protected]> |
2956 | ||
2957 | PR c++/1267 | |
2958 | * minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is | |
2959 | NULL, default to the section containing PC. | |
2960 | ||
e286caf2 SC |
2961 | 2003-07-24 Stephane Carrez <[email protected]> |
2962 | ||
2963 | * NEWS: Mention "regs" deprecated for m68hc11 too. | |
2964 | ||
2965 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command. | |
2966 | (m68hc11_print_register): New function to print out one register. | |
2967 | (m68hc11_print_registers_info): New function to print registers. | |
2968 | (show_regs): Deprecate and use the above. | |
2969 | (m68hc11_gdbarch_init): Install the print_registers_info. | |
2970 | ||
705b278b JJ |
2971 | 2003-07-24 Jeff Johnston <[email protected]> |
2972 | ||
2973 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify | |
2974 | that we have a SIGTRAP before returning non-zero. | |
2975 | ||
63cd4198 EZ |
2976 | 2003-07-23 Michal Ludvig <[email protected]> |
2977 | Elena Zannoni <[email protected]> | |
2978 | ||
2979 | * linespec.c (decode_line_2): Avoid crash if | |
2980 | find_function_start_sal() returns empty record. | |
2981 | ||
6926787d AS |
2982 | 2003-07-23 Andreas Schwab <[email protected]> |
2983 | ||
2984 | * ia64-tdep.c (ia64_print_insn): New function. | |
2985 | (ia64_gdbarch_init): Set print_insn to it. | |
2986 | (_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and | |
2987 | deprecated_tm_print_insn_info. | |
2988 | ||
708cc1b6 MS |
2989 | 2003-07-22 Michael Snyder <[email protected]> |
2990 | ||
2991 | * h8300-tdep.c (h8300_extract_return_value): Teach it how to | |
2992 | handle 8-bit returns (long long). | |
2993 | (h8300h_extract_return_value): Ditto. | |
2994 | (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned. | |
2995 | ||
aebd7893 AC |
2996 | 2003-07-22 Andrew Cagney <[email protected]> |
2997 | ||
2998 | * gdbarch.c Include "gdb_obstack.h". | |
2999 | (struct gdbarch): Add an "obstack". | |
3000 | (alloc_gdbarch_data): Allocate the gdbarch data using | |
3001 | GDBARCH_OBSTACK_CALLOC. | |
3002 | (free_gdbarch_data): Delete function. | |
3003 | (gdbarch_obstack_zalloc): New function. | |
3004 | (gdbarch_free): Free the obstack, do not call free_gdbarch_data. | |
3005 | Assert that the architecture is not initialized. | |
3006 | (gdbarch_alloc): Allocate an obstack, allocate the architecture | |
3007 | vector from the obstack. | |
3008 | (alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the | |
3009 | architecture obstack. | |
3010 | (GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define. | |
3011 | (set_gdbarch_data): Assert that the data is not initialized. | |
3012 | (struct gdbarch_data): Delete member "free". | |
3013 | (register_gdbarch_data): Do not initialize "free". | |
3014 | * gdbarch.h, gdbarch.c: Re-generate. | |
3015 | ||
153721e6 AC |
3016 | 2003-07-22 Andrew Cagney <[email protected]> |
3017 | ||
3018 | * configure.in (build_warnings): Add -Wformat-nonliteral. | |
3019 | * configure: Re-generate. | |
3020 | ||
c193f044 | 3021 | 2003-07-22 Elena Zannoni <[email protected]> |
32ffcbed EZ |
3022 | |
3023 | * dwarf2loc.c (locexpr_describe_location): Fix typos. | |
c193f044 | 3024 | |
c3228f12 EZ |
3025 | 2003-07-22 Elena Zannoni <[email protected]> |
3026 | ||
3027 | * findvar.c (read_var_value): Remove case for thread local storage | |
3028 | variables. It is now entirely handled by the dwarf2 location | |
3029 | expression code. | |
3030 | * printcmd.c (address_info): Ditto. | |
3031 | * symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC | |
3032 | enumeration value. | |
3033 | (struct symbol): Remove objfile field, which was used by | |
3034 | LOC_THREAD_LOCAL_STATIC only. | |
3035 | * dwarf2read.c (decode_locdesc): Remove is_thread_local variable. | |
3036 | * dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about | |
3037 | usage of objfile pointer. | |
3038 | * dwarf2loc.c (locexpr_describe_location): Add case to handle | |
3039 | thread local variables. | |
3040 | Add include of objfiles.h. | |
3041 | * dwarf2expr.c (execute_stack_op): Add comments about thread local | |
3042 | storage variables. | |
3043 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
3044 | ||
aef9bcd2 AC |
3045 | 2003-07-22 Andrew Cagney <[email protected]> |
3046 | ||
3047 | * config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use | |
3048 | get_frame_base. | |
3049 | (FRAME_BASE_BEFORE_SIGTRAMP): Ditto. | |
3050 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto. | |
3051 | (struct value): Add opaque declaration. | |
3052 | (DEPRECATED_FRAME_ARGS_ADDRESS): Delete. | |
3053 | ||
d95a8903 AC |
3054 | 2003-07-21 Andrew Cagney <[email protected]> |
3055 | ||
3056 | From 2003-07-04 Kei Sakamoto <[email protected]>: | |
3057 | * m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite. | |
3058 | ||
4db73d49 SC |
3059 | 2003-07-20 Stephane Carrez <[email protected]> |
3060 | ||
3061 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use | |
3062 | regcache_cooked_read_unsigned instead of read_register. | |
3063 | (m68hc11_saved_pc_after_call): Likewise. | |
3064 | (m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned | |
3065 | instead of write_register. | |
3066 | (m68hc11_register_type): New function. | |
3067 | (m68hc11_register_virtual_type): Remove. | |
3068 | (m68hc11_store_return_value): Convert to use the regcache. | |
3069 | (m68hc11_extract_struct_value_address): Likewise. | |
3070 | (m68hc11_gdbarch_init): Remove deprecated ops for register to use | |
3071 | m68hc11_register_type; undeprecate store_return_value and | |
3072 | extract_struct_value_address. | |
3073 | ||
ef2b8fcd SC |
3074 | 2003-07-20 Stephane Carrez <[email protected]> |
3075 | ||
3076 | * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read | |
3077 | and translate to use regcache. | |
3078 | (m68hc11_gdbarch_init): Undeprecate extract_return_value. | |
3079 | ||
625b0b97 AC |
3080 | 2003-07-18 Andrew Cagney <[email protected]> |
3081 | ||
3082 | * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method. | |
3083 | * gdbarch.h, gdbarch.c: Re-generate. | |
3084 | * i386-tdep.c (i386_gdbarch_init): Do not set | |
3085 | DWARF2_BUILD_FRAME_INFO. | |
3086 | * elfread.c (elf_symfile_read): Call dwarf2_build_frame_info | |
3087 | unconditionally. | |
3088 | * alpha-tdep.c (alpha_dwarf2_init_abi): Do not set | |
3089 | DWARF2_BUILD_FRAME_INFO. | |
3090 | ||
22b0d388 AC |
3091 | 2003-07-18 Andrew Cagney <[email protected]> |
3092 | ||
3093 | From 2003-07-04 Kei Sakamoto <[email protected]>: | |
3094 | * disasm.c (gdb_disassemble_info): Initilize di.arch. | |
3095 | ||
1ce5d6dd AC |
3096 | 2003-07-18 Andrew Cagney <[email protected]> |
3097 | ||
3098 | * dwarf2-frame.c (dwarf2_frame_sniffer): Use | |
3099 | frame_unwind_address_in_block, instead of frame_pc_unwind. | |
3100 | (dwarf2_frame_cache): Ditto. | |
3101 | ||
e6e5e94c AC |
3102 | 2003-07-18 Andrew Cagney <[email protected]> |
3103 | ||
3104 | * user-regs.h (struct gdbarch): Declare opaque. | |
3105 | * ui-out.h (struct ui_file): Declare opaque. | |
3106 | * dwarf2-frame.h (struct frame_info): Declare opaque. | |
3107 | ||
5483d879 KW |
3108 | 2003-07-18 Kris Warkentin <[email protected]> |
3109 | ||
3110 | * nto-procfs.c: Clean ARI hits. Change #include <..> to | |
3111 | #include "...". | |
3112 | (procfs_meminfo): Change strerror to safe_strerror. | |
3113 | (procfs_can_run): Remove K&R badness. | |
3114 | ||
278a7cf7 MS |
3115 | 2003-07-17 Michael Snyder <[email protected]> |
3116 | ||
3117 | * remote-sim.c: Comment typo fix. | |
3118 | ||
606e3b82 AC |
3119 | 2003-07-17 Andrew Cagney <[email protected]> |
3120 | ||
3121 | * defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by | |
3122 | configure. | |
3123 | * sparc-tdep.c (sparc_intreg_size): Make non-static. | |
3124 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to | |
3125 | GDB_MULTI_ARCH_PARTIAL. | |
3126 | ||
c43af07c EZ |
3127 | 2003-07-17 Elena Zannoni <[email protected]> |
3128 | ||
3129 | * Makefile.in (x86-64-linux-nat.o): Update dependencies. | |
3130 | * x86-64-linux-nat.c (ps_get_thread_area): New function. Add | |
3131 | include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h. | |
3132 | ||
3b85b0f1 TR |
3133 | 2003-07-16 Theodore A. Roth <[email protected]> |
3134 | ||
3135 | * avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue | |
3136 | found. | |
3137 | (avr_frame_unwind_cache): Don't unwind FP for main. | |
3138 | Update a comment. | |
3139 | Save the computed prev_sp. | |
3140 | (avr_saved_regs_unwinder): Remove function. | |
3141 | (avr_frame_prev_register): Use PC unwind logic from | |
3142 | avr_saved_regs_unwinder(), otherwise use trad_frame_prev_register(). | |
3143 | ||
336d1bba AC |
3144 | 2003-07-16 Andrew Cagney <[email protected]> |
3145 | ||
3146 | * frame-base.h (frame_base_p_ftype): Delete definition. | |
3147 | (frame_base_append_predicate): Delete declaration. | |
3148 | * frame-unwind.h (frame_unwind_p_ftype): Delete definition. | |
3149 | (frame_unwind_append_predicate): Delete declaration. | |
3150 | * frame-unwind.c (struct frame_unwind_table): Delete field "p". | |
3151 | (append_predicate): Delete parameter "p". | |
3152 | (frame_unwind_append_predicate): Delete function. | |
3153 | (frame_unwind_append_sniffer): Update call to append_predicate. | |
3154 | (frame_unwind_free): Delete function. | |
3155 | (_initialize_frame_unwind): Pass NULL as "free" to | |
3156 | register_gdbarch_data. | |
3157 | (frame_unwind_init): Append the dummy_frame_sniffer. | |
3158 | (frame_unwind_find_by_frame): Simplify. | |
3159 | * frame-base.c (struct frame_base_table): Delete field "p". | |
3160 | (append_predicate): Delete parameter "p". | |
3161 | (frame_base_append_predicate): Delete function. | |
3162 | (frame_base_append_sniffer): Update call to append_predicate. | |
3163 | (frame_base_free): Delete function. | |
3164 | (frame_base_find_by_frame): Simplify. | |
3165 | (_initialize_frame_base): Pass NULL as "free" to | |
3166 | register_gdbarch_data. | |
3167 | * x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p". | |
3168 | (x86_64_sigtramp_frame_sniffer): Replace | |
3169 | "x86_64_sigtramp_frame_p". | |
3170 | (x86_64_init_abi): Set the frame unwind sniffers. | |
3171 | * m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p". | |
3172 | (m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p" | |
3173 | (m68k_gdbarch_init): Set the frame unwind sniffers. | |
3174 | * i386-tdep.c (i386_sigtramp_frame_sniffer): Replace | |
3175 | "i386_sigtramp_frame_p". | |
3176 | (i386_frame_sniffer): Replace "i386_frame_p". | |
3177 | (i386_gdbarch_init): Set the frame unwind sniffers. | |
3178 | * avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer". | |
3179 | (avr_gdbarch_init): Set the frame unwind sniffers. | |
3180 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace | |
3181 | "alpha_sigtramp_frame_p" | |
3182 | (alpha_heuristic_frame_sniffer): Replace | |
3183 | "alpha_heuristic_frame_p". | |
3184 | (alpha_gdbarch_init): Set the frame unwind sniffers. | |
3185 | (alpha_dwarf2_init_abi): Ditto. | |
3186 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace | |
3187 | "alpha_debug_frame_p". | |
3188 | (alpha_mdebug_frame_base_sniffer): Replace | |
3189 | "alpha_mdebug_frame_base_p". | |
3190 | (alpha_mdebug_init_abi): Set the frame unwind sniffers. | |
3191 | * d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p". | |
3192 | (d10v_gdbarch_init): Set the frame unwind sniffer. | |
3193 | * dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
3194 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
3195 | * dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
3196 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
3197 | * dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p". | |
3198 | * dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p". | |
3199 | ||
48db5a3c CV |
3200 | 2003-07-16 Michael Snyder <[email protected]> |
3201 | ||
3202 | * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp | |
3203 | should go thru sh_dsp_register_sim_regno, else the dsp regs | |
3204 | will not get the right values. | |
3205 | ||
3206 | 2003-07-16 Corinna Vinschen <[email protected]> | |
3207 | ||
3208 | * sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to | |
3209 | deprecated_store_floating by call to store_typed_floating. | |
3210 | (sh_sh4_register_convert_to_raw): Substitute call to | |
3211 | deprecated_extract_floating by call to extract_typed_floating. | |
3212 | ||
3213 | 2003-07-16 Corinna Vinschen <[email protected]> | |
3214 | ||
3215 | * sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e. | |
3216 | ||
3217 | 2003-07-16 Corinna Vinschen <[email protected]> | |
3218 | ||
3219 | * sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to | |
3220 | register_size and calls to REGISTER_VIRTUAL_TYPE by calls to | |
3221 | gdbarch_register_type in 32 bit code throughout. Avoid current_gdbarch | |
3222 | as possible. | |
3223 | (do_pseudo_register): Remove. | |
3224 | (sh_push_dummy_code): New function. | |
3225 | (sh64_store_struct_return): Rename from sh_store_struct_return. | |
3226 | Only called for sh64 now. | |
3227 | (sh_extract_struct_value_address): Regcache'ify. | |
3228 | (sh_push_dummy_call): Rename from sh_push_arguments. Regcache'ify | |
3229 | and accomodate new tasks. | |
3230 | (sh64_push_return_address): Rename from sh_push_return_address. | |
3231 | Only called for sh64 now. | |
3232 | (sh_default_extract_return_value): Rename from sh_extract_return_value. | |
3233 | Regcache'ify. | |
3234 | (sh3e_sh4_extract_return_value): Regcache'ify. | |
3235 | (sh_default_store_return_value): Ditto. | |
3236 | (sh3e_sh4_store_return_value): Ditto. | |
3237 | (sh_default_register_byte): Remove. | |
3238 | (sh_sh4_register_byte): Remove. | |
3239 | (sh_default_register_raw_size): Remove. | |
3240 | (sh_sh4_register_raw_size): Remove. | |
3241 | (sh_register_virtual_size): Remove. | |
3242 | (sh_sh3e_register_virtual_type): Remove. | |
3243 | (sh_sh3e_register_type): New function. | |
3244 | (sh_sh4_register_virtual_type): Remove. | |
3245 | (sh_sh4_register_type): New function. | |
3246 | (sh_default_register_virtual_type): Remove. | |
3247 | (sh_default_register_type): New function. | |
3248 | (do_fv_register_info): Add parameters to accomodate call from | |
3249 | sh_print_registers_info. | |
3250 | (do_dr_register_info): Ditto. | |
3251 | (sh_print_pseudo_register): Rename from sh_do_pseudo_register. | |
3252 | Add parameters to accomodate call from sh_print_registers_info. | |
3253 | (sh_do_fp_register): Ditto. | |
3254 | (sh64_do_pseudo_register): Call do_dr_register_info, | |
3255 | do_fv_register_info and sh_do_fp_register with default parameters. | |
3256 | (sh_do_register): Add parameters to accomodate call from | |
3257 | sh_print_registers_info. | |
3258 | (sh_print_register): Ditto. | |
3259 | (sh_print_registers_info): Rename from sh_do_registers_info. | |
3260 | Add parameters to be used as gdbarch_print_registers_info | |
3261 | implementation. Accomodate removed do_pseudo_register function | |
3262 | pointer. | |
3263 | (sh_compact_do_registers_info): Accomodate removed do_pseudo_register | |
3264 | function pointer. Call sh_print_register with default parameters. | |
3265 | (sh64_do_registers_info): Call sh_print_registers_info instead of | |
3266 | sh_do_registers_info. | |
3267 | (sh_gdbarch_init): Rearrange to cleanup and to allow easier | |
3268 | detection of deprecated vs. non-deprecated functionality. | |
3269 | Rename sh_call_dummy_words to sh64_call_dummy_words. Remove | |
3270 | function pointer assignments by direct function calls. | |
3271 | ||
e8a89fe2 AC |
3272 | 2003-07-15 Andrew Cagney <[email protected]> |
3273 | ||
3274 | * frame.c (get_frame_id): Use frame_unwind_find_by_frame. | |
3275 | (frame_register_unwind, create_new_frame): Ditto. | |
3276 | (legacy_get_prev_frame, get_frame_type): Ditto. | |
3277 | (get_frame_base_address): Use frame_base_find_by_frame. | |
3278 | (get_frame_locals_address): Use frame_base_find_by_frame. | |
3279 | (get_frame_args_address): Use frame_base_find_by_frame. | |
3280 | * frame-base.h (frame_base_sniffer_ftype): Declare. | |
3281 | (frame_base_append_sniffer): Declare. | |
3282 | (frame_base_find_by_frame): Replace frame_base_find_by_pc. | |
3283 | * frame-base.c (append_predicate): Add a "sniffer" parameter. | |
3284 | (frame_base_append_sniffer): New function. | |
3285 | (frame_base_append_predicate): Add a NULL sniffer. | |
3286 | (frame_base_find_by_frame): Replace "frame_base_find_by_pc". | |
3287 | (struct frame_base_table): Add "sniffer". | |
3288 | (frame_base_free): Free the "sniffer" table. | |
3289 | * frame-unwind.h (frame_unwind_sniffer_ftype): Define. | |
3290 | (frame_unwind_append_sniffer): Declare. | |
3291 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
3292 | * frame-unwind.c (frame_unwind_free): Free the "sniffer" table. | |
3293 | (struct frame_unwind_table): Add "sniffer", delete "middle". | |
3294 | (append_predicate): Add "sniffer" parameter, append the sniffer. | |
3295 | (frame_unwind_init): Update append_predicate call. | |
3296 | (frame_unwind_append_sniffer): New function. | |
3297 | (frame_unwind_append_predicate): Update append_predicate call. | |
3298 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
3299 | ||
0714963c AC |
3300 | 2003-07-15 Andrew Cagney <[email protected]> |
3301 | ||
3302 | * frame.c (get_prev_frame): Move disabled inside_entry_func to | |
3303 | before code inhibiting repeated unwind attempts. Add to | |
3304 | commentary on that test's problems. | |
3305 | * blockframe.c (inside_main_func): Look for "main" in the minimal | |
3306 | symbol table. | |
3307 | * d10v-tdep.c (d10v_frame_this_id): Delete check that frames are | |
3308 | identical. | |
3309 | ||
d9170e22 AC |
3310 | 2003-07-15 Andrew Cagney <[email protected]> |
3311 | ||
3312 | * complaints.c (struct explanation): Define. | |
3313 | (struct complaints): Change type of "explanation" to "struct | |
3314 | explanation". | |
3315 | (symfile_explanations): Convert to a "struct explanation" table. | |
3316 | (vcomplaint): Update. | |
3317 | ||
eba29c8c ML |
3318 | 2003-07-15 Michal Ludvig <[email protected]> |
3319 | ||
3320 | * x86-64-linux-nat.c (regmap): Removed. | |
3321 | (supply_gregset, fill_gregset): Call | |
3322 | x86_64_linux_(fill,supply)_gregset functions. | |
3323 | * x86-64-linux-tdep.c (USER_*): New defines. | |
3324 | (user_to_gdb_regmap, x86_64_core_fns): New structure. | |
3325 | (x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): | |
3326 | New functions. | |
3327 | (fetch_core_registers): Ditto. | |
3328 | (_initialize_x86_64_linux_tdep): Call add_core_fns(). | |
3329 | * x86-64-linux-tdep.h: New file. | |
3330 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o | |
3331 | and core-regset.o. | |
3332 | * config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o. | |
3333 | ||
68cc0bfb MK |
3334 | 2003-07-13 Mark Kettenis <[email protected]> |
3335 | ||
88a115f7 MK |
3336 | * x86-64-tdep.c (x86_64_store_return_value): Use |
3337 | regcache_cooked_write_part instead of regcache_cooked_write. | |
01e4b823 | 3338 | |
68cc0bfb MK |
3339 | * configure.host: Add x86_64-*-freebsd*. |
3340 | * configure.tgt: Add x86_64-*-freebsd*. | |
3341 | * Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets. | |
3342 | * amd64fbsd-nat.c: New file. | |
3343 | * amd64fbsd-tdep.c: New file. | |
3344 | * config/i386/nm-fbsd64.h: New file. | |
3345 | * config/i386/fbsd64.mh: New file. | |
3346 | * config/i386/fbsd64.mt: New file. | |
3347 | ||
138e7be5 MK |
3348 | 2003-07-11 Mark Kettenis <[email protected]> |
3349 | ||
3350 | * alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset', | |
3351 | `sc_regs_offset' and `sc_fpregs_offset'. | |
3352 | * alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF, | |
3353 | SIGFRAME_FPREGSAVE_OFF): Remove defines. | |
3354 | (alpha_sigtramp_register_address): Rewrite to use new members of | |
3355 | `struct gdbarch_tdep'. | |
3356 | (alpha_gdbarch_init): Initialize new members of struct | |
3357 | gdbarch_tdep'. | |
3358 | * alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use | |
3359 | ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE. | |
3360 | (alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables. | |
3361 | (alphafbsd_pc_in_sigtramp): Implement. | |
3362 | (alphafbsd_sigtramp_offset): New function. | |
3363 | (alphafbsd_sigcontext_addr): New function. | |
3364 | (alphafbsd_init_abi): Initialize signal trampoline related members | |
3365 | of `struct gdbarch_tdep'. | |
3366 | (_initialize_alphafbsd_tdep): Add prototype. | |
3367 | ||
95303a68 TR |
3368 | 2003-07-11 Theodore A. Roth <[email protected]> |
3369 | ||
ba292e4c TR |
3370 | * Makefile.in (install-only): Quote sed expression when generating |
3371 | transformed_name. | |
95303a68 | 3372 | |
6896c0c7 RH |
3373 | 2003-07-11 Richard Henderson <[email protected]> |
3374 | ||
3375 | * Makefile.in (dwarf2-frame.o): Add complaints_h. | |
3376 | * dwarf2-frame.c: Include complaints.h. | |
3377 | (decode_frame_entry_1): Rename from decode_frame_entry; tidy | |
3378 | variable initialization; return NULL on error. | |
3379 | (decode_frame_entry): New. | |
3380 | ||
8edd5d01 AC |
3381 | 2003-07-11 Andrew Cagney <[email protected]> |
3382 | ||
c4a09524 AC |
3383 | * frame.h (frame_address_in_block): Delete declaration. |
3384 | * blockframe.c (frame_address_in_block): Delete function. | |
3385 | (get_frame_block): Use get_frame_address_in_block. | |
3386 | (block_innermost_frame): Ditto. | |
3387 | * stack.c (print_frame, backtrace_command_1): Ditto. | |
3388 | ||
8edd5d01 AC |
3389 | * frame.h (get_frame_address_in_block): Declare. |
3390 | (frame_unwind_address_in_block): Declare. | |
3391 | * frame.c (frame_unwind_address_in_block): New function. | |
3392 | (get_frame_address_in_block): New function. | |
3393 | ||
f7968451 AC |
3394 | 2003-07-10 Andrew Cagney <[email protected]> |
3395 | ||
3396 | * gdbarch.sh: Simplify predicate methods. Remove need to provide | |
3397 | pre-default. Note: re-generate has no effect. | |
3398 | ||
ae99b398 AC |
3399 | 2003-07-10 Andrew Cagney <[email protected]> |
3400 | ||
3401 | * gdbarch.sh: When a variable, but not a function, compare against | |
3402 | 0. Fix problem in previous patch. | |
3403 | * gdbarch.c: Re-generate. | |
3404 | ||
956ac328 AC |
3405 | 2003-07-10 Andrew Cagney <[email protected]> |
3406 | ||
3407 | * gdbarch.sh: Use gdb_assert instead of internal_error. Compare | |
3408 | functions against NULL, not 0. | |
3409 | * gdbarch.c: Re-generate. | |
3410 | ||
287c3240 FF |
3411 | 2003-07-10 Fred Fish <[email protected]> |
3412 | ||
3413 | * coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a | |
3414 | null string instead of a null pointer. | |
3415 | * solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto. | |
3416 | ||
32f63c4b MS |
3417 | 2003-07-09 Michael Snyder <[email protected]> |
3418 | ||
3419 | * sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error. | |
3420 | ||
402ecd56 MK |
3421 | 2003-07-09 Mark Kettenis <[email protected]> |
3422 | ||
3423 | * x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, | |
3424 | X86_64_RDI_REGNUM, X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, | |
3425 | X86_64_RIP_REGNUM, X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, | |
3426 | X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Moved here ... | |
3427 | * x86-64-tdep.c: ... from here. | |
3428 | ||
c481dac7 AS |
3429 | 2003-07-09 Andreas Schwab <[email protected]> |
3430 | ||
3431 | * m68k-tdep.h (enum struct_return): Define. | |
3432 | (struct gdbarch_tdep): Add struct_return. | |
3433 | * m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4 | |
3434 | bytes are padded to the right, not to the left. Pass struct value | |
3435 | address in register %a1, not on stack. | |
3436 | (m68k_use_struct_convention): New function. | |
3437 | (m68k_gdbarch_init): Set use_struct_convention. Initialize | |
3438 | struct_return in tdep to pcc_struct_return. | |
3439 | * m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to | |
3440 | reg_struct_return. | |
3441 | ||
64176fa3 JB |
3442 | 2003-07-09 Joel Brobecker <[email protected]> |
3443 | ||
3444 | * somread.c (som_symfile_offsets): Fix compilation error. | |
3445 | ||
96a4ee76 AC |
3446 | 2003-07-09 Andrew Cagney <[email protected]> |
3447 | ||
3448 | * regcache.c (register_size): Only check REGISTER_RAW_SIZE once. | |
3449 | Add comments about the checks. | |
3450 | ||
1517c6d1 AC |
3451 | 2003-07-08 Andrew Cagney <[email protected]> |
3452 | ||
3453 | * Makefile.in: Make dependency section headers consistent. | |
3454 | (config_h): Move to $BUILD headers section. | |
3455 | (exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto. | |
3456 | (msg_U_h, notify_S_h, process_reply_S_h): Ditto. | |
3457 | (ada-exp.tab.c): Move to YACC/LEX section. | |
3458 | (ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto. | |
3459 | (jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto. | |
3460 | ||
dc5dd1eb KW |
3461 | 2003-07-08 Kris Warkentin <[email protected]> |
3462 | ||
3463 | * nto-procfs.c: Cleaned up a bunch of ARI hits. | |
fda848e0 KW |
3464 | Include "gdb_dirent.h" instead of <dirent.h>, replace all instances |
3465 | of strerror with safe_strerror, use ISO C function definitions, | |
3466 | and replace instances of sprintf with snprintf. | |
dc5dd1eb | 3467 | |
612dde91 AC |
3468 | 2003-07-07 Andrew Cagney <[email protected]> |
3469 | ||
3470 | * frame.c (get_prev_frame): Enable check for identical frames. | |
3471 | Update comments. Update error messages. | |
3472 | ||
492c11d3 JB |
3473 | 2003-07-07 Joel Brobecker <[email protected]> |
3474 | ||
3475 | * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure. | |
3476 | ||
376a5a49 JB |
3477 | 2003-07-07 Joel Brobecker <[email protected]> |
3478 | ||
3479 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to | |
3480 | sort_symtab_syms, no longer necessary. | |
3481 | ||
22b4a9ad JB |
3482 | 2003-07-07 Joel Brobecker <[email protected]> |
3483 | ||
3484 | * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment. | |
3485 | ||
5bbcb741 JB |
3486 | 2003-07-07 Joel Brobecker <[email protected]> |
3487 | ||
3488 | * mips-tdep.c (mips_register_raw_size): Fix compilation failure. | |
3489 | (mips_register_byte): Likewise. | |
3490 | ||
c139e7d9 DJ |
3491 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
3492 | ||
3493 | * Makefile.in (sparc_tdep_h): New. | |
3494 | (sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o) | |
3495 | (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h). | |
3496 | * sparc-linux-nat.c: Include "sparc-tdep.h". | |
3497 | * sparc-nat.c: Likewise. | |
3498 | * sparc-tdep.c: Likewise. | |
3499 | * sparc64nbsd-nat.c: Likewise. | |
3500 | * sparcnbsd-nat.c: Likewise. | |
3501 | * sparcnbsd-tdep.c: Likewise. | |
3502 | * sparc-tdep.h: New file. | |
3503 | * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum | |
3504 | and sparc_npc_regnum. | |
3505 | ||
fd8f87c5 DJ |
3506 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
3507 | ||
3508 | * mips-linux-nat.c (mips_linux_cannot_fetch_register) | |
3509 | (mips_linux_cannot_store_register): List supported instead of | |
3510 | unsupported registers. | |
3511 | ||
13adf674 DJ |
3512 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
3513 | ||
3514 | * disasm.c (dump_insns): Separate instructions from addresses. | |
3515 | ||
8de307e0 AS |
3516 | 2003-07-07 Andreas Schwab <[email protected]> |
3517 | ||
3518 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
3519 | dependencies. | |
3520 | * m68k-tdep.c (NUM_FREGS): Delete. | |
3521 | (SIG_PC_FP_OFFSET): Delete. | |
3522 | (TARGET_M68K): Delete. | |
3523 | (P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP, | |
3524 | P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP, | |
3525 | P_MOVEL_SP, P_MOVEML_SP): Define. | |
3526 | (P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM, | |
3527 | P_TRAP): Delete. | |
3528 | (m68k_register_raw_size): Delete. | |
3529 | (m68k_register_virtual_size): Delete. | |
3530 | (m68k_register_type): Renamed from m68k_register_virtual_type and | |
3531 | add gdbarch argument. | |
3532 | (m68k_store_struct_return): Delete. | |
3533 | (m68k_deprecated_extract_return_value): Delete. | |
3534 | (m68k_deprecated_extract_struct_value_address): Delete. | |
3535 | (m68k_frame_chain): Delete. | |
3536 | (m68k_frame_saved_pc): Delete. | |
3537 | (m68k_fix_call_dummy): Delete. | |
3538 | (m68k_push_dummy_frame): Delete. | |
3539 | (m68k_pop_frame): Delete. | |
3540 | (m68k_extract_return_value): New function. | |
3541 | (m68k_store_return_value): Rewrite using regcache. | |
3542 | (m68k_extract_struct_value_address): Rewrite using regcache. | |
3543 | (m68k_push_dummy_call): New function. | |
3544 | (struct m68k_frame_cache): Define. | |
3545 | (m68k_alloc_frame_cache): New function. | |
3546 | (m68k_analyze_frame_setup): New function. | |
3547 | (m68k_analyze_register_saves): New function. | |
3548 | (m68k_analyze_prologue): New function. | |
3549 | (m68k_skip_prologue): Rewrite using above functions. | |
3550 | (m68k_unwind_pc): New function. | |
3551 | (m68k_frame_cache): New function. | |
3552 | (m68k_frame_this_id): New function. | |
3553 | (m68k_frame_prev_register): New function. | |
3554 | (m68k_frame_unwind): New variable. | |
3555 | (m68k_frame_p): New function. | |
3556 | (m68k_sigtramp_frame_cache): New function. | |
3557 | (m68k_sigtramp_frame_this_id): New function. | |
3558 | (m68k_sigtramp_frame_prev_register): New function. | |
3559 | (m68k_sigtramp_frame_unwind): New variable. | |
3560 | (m68k_sigtramp_frame_p): New function. | |
3561 | (m68k_frame_base_address): New function. | |
3562 | (m68k_frame_base): New function. | |
3563 | (m68k_unwind_dummy_id): New function. | |
3564 | (fill_gregset): Use regcache_collect. | |
3565 | (fill_fpregset): Likewise. | |
3566 | (m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is | |
3567 | defined. | |
3568 | (m68k_gdbarch_init): Don't define call_dummy_words. Don't set | |
3569 | deprecated_init_frame_pc, deprecated_store_struct_return, | |
3570 | deprecated_extract_return_value, deprecated_store_return_value, | |
3571 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
3572 | deprecated_frame_init_saved_regs, deprecated_register_raw_size, | |
3573 | deprecated_register_virtual_size, | |
3574 | deprecated_max_register_raw_size, | |
3575 | deprecated_max_register_virtual_size, | |
3576 | deprecated_register_virtual_type, deprecated_register_size, | |
3577 | deprecated_register_byte, deprecated_register_bytes, | |
3578 | deprecated_fp_regnum, deprecated_use_generic_dummy_frames, | |
3579 | call_dummy_location, deprecated_call_dummy_breakpoint_offset, | |
3580 | deprecated_pc_in_call_dummy, deprecated_call_dummy_length, | |
3581 | deprecated_call_dummy_start_offset, deprecated_call_dummy_words, | |
3582 | deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy, | |
3583 | deprecated_push_dummy_frame, deprecated_pop_frame, | |
3584 | deprecated_dummy_write_sp. Set deprecated_saved_pc_after_call | |
3585 | only if SYSCALL_TRAP is defined. Set extract_return_value, | |
3586 | store_return_value, extract_struct_value_address, register_type, | |
3587 | push_dummy_call, unwind_dummy_id, unwind_pc. Add two frame unwind | |
3588 | predicates. | |
3589 | * m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS, | |
3590 | M68K_MAX_REGISTER_SIZE): Define. | |
3591 | (struct m68k_sigtramp_info): Define. | |
3592 | (struct gdbarch_tdep): Add get_sigtramp_info. | |
3593 | * m68klinux-nat.c (fetch_register): Use register_size instead of | |
3594 | REGISTER_RAW_SIZE. Don't put assignment in if. | |
3595 | (store_register): Likewise. | |
3596 | (fetch_inferior_registers): Likewise. | |
3597 | (store_inferior_registers): Likewise. | |
3598 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete. | |
3599 | (m68k_linux_frame_saved_pc): Delete. | |
3600 | (m68k_linux_sigcontext_reg_offset, | |
3601 | m68k_linux_ucontext_reg_offset): Define. | |
3602 | (m68k_linux_get_sigtramp_info): New function. | |
3603 | (m68k_linux_extract_return_value): Rewrite using regcache. | |
3604 | (m68k_linux_store_return_value): Likewise. | |
3605 | (m68k_linux_extract_struct_value_address): Likewise. | |
3606 | (m68k_linux_init_abi): Set get_sigtramp_info in tdep structure. | |
3607 | Don't set deprecated_frame_saved_pc, | |
3608 | deprecated_extract_return_value, deprecated_store_return_value, | |
3609 | deprecated_extract_struct_value_address. Set | |
3610 | extract_return_value, store_return_value, | |
3611 | extract_struct_value_address. | |
3612 | ||
eb8bc282 AC |
3613 | 2003-07-07 Andrew Cagney <[email protected]> |
3614 | ||
3615 | * expprint.c: Include "user-regs.h" instead of "frame.h". | |
3616 | (print_subexp): Use user_reg_map_regnum_to_name, instead of | |
3617 | frame_map_regnum_to_name. | |
3618 | * frame.c: Include "user-regs.h" instead of "builtin-regs.h". | |
3619 | (frame_map_name_to_regnum): Simplify, call | |
3620 | user_reg_map_name_to_regnum. | |
3621 | (frame_map_regnum_to_name): Simplify, call | |
3622 | user_reg_map_regnum_to_name. | |
3623 | (frame_register_unwind): Update. | |
3624 | * std-regs.c: Include "user-regs.h" instead of "builtin-regs.h". | |
3625 | (_initialize_frame_reg): Call user_reg_add_builtin. | |
3626 | * findvar.c: Include "user-regs.h" instead of "builtin-regs.h". | |
3627 | (value_of_register): Use value_of_user_reg. | |
3628 | * eval.c (evaluate_subexp_standard): Update. | |
3629 | * parse.c (write_dollar_variable): Update. | |
3630 | * d10v-tdep.c (d10v_print_registers_info): Update. | |
3631 | * infcmd.c (registers_info): Update. | |
3632 | * Makefile.in (SFILES): Delete "builtin-regs.c", add "user-regs.c". | |
3633 | (builtin_regs_h): Delete macro. | |
3634 | (user_regs_h): Define. | |
3635 | (COMMON_OBS): Delete "builtin-regs.o", add "user-regs.o". | |
3636 | (builtin-regs.o): Delete target. | |
3637 | (user-regs.o): Specify dependencies. | |
3638 | (expprint.o): Update dependencies. | |
3639 | (findvar.o): Update dependencies. | |
3640 | (frame.o): Update dependencies. | |
3641 | (std-regs.o): Update dependencies. | |
3642 | ||
9f476a01 CF |
3643 | 2003-07-06 Christopher Faylor <[email protected]> |
3644 | ||
3645 | * win32-nat.c (solib_symbols_add): Use one variable for all section | |
3646 | address stuff. Pass variable rather than address of variable to | |
3647 | safe_symbol_file_add. | |
3648 | ||
a731b831 AS |
3649 | 2003-07-06 Andreas Schwab <[email protected]> |
3650 | ||
3651 | * m68klinux-nat.c (fill_fpregset): Fix use of loop index. | |
3652 | ||
9f83329d JB |
3653 | 2003-07-04 Joel Brobecker <[email protected]> |
3654 | ||
3655 | * rs6000-nat.c (vmap_symtab): Fix compilation error. | |
3656 | ||
27e28cc5 KW |
3657 | 2003-07-04 Kris Warkentin <[email protected]> |
3658 | ||
3659 | * config/i386/nto.mh: Set XM_FILE to xm-i386.h | |
3660 | ||
3661 | 2003-07-04 Kris Warkentin <[email protected]> | |
3662 | ||
3663 | * nto-procfs.c: New file. Native procfs support for QNX Neutrino. | |
3664 | * config/i386/nto.mh: New file. | |
3665 | * config/i386/nm-nto.h: New file. | |
3666 | * configure.host: Add i[3456]86-*-nto*. | |
3667 | ||
100f2e98 JB |
3668 | 2003-07-03 Joel Brobecker <[email protected]> |
3669 | ||
3670 | * remote-vx.c (vx_add_symbols): Fix compilation error. | |
3671 | ||
e23457df AC |
3672 | 2003-07-03 Andrew Cagney <[email protected]> |
3673 | ||
3674 | * gdbarch.sh (REGISTER_NAME): Do not supply a default. | |
3675 | * gdbarch.h, gdbarch.c: Re-generate. | |
3676 | * config/sparc/tm-sparc.h (REGISTER_NAME): Define. | |
3677 | (legacy_register_name): Declare. | |
3678 | * config/sparc/tm-sp64.h (legacy_register_name): Declare. | |
3679 | (REGISTER_NAME): Define. | |
3680 | * sparc-tdep.c (legacy_register_name): New function. | |
3681 | * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. | |
3682 | (REGISTER_NAME): Define. | |
3683 | (hppa64_register_name): Declare. | |
3684 | * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. | |
3685 | * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. | |
3686 | (hppa64_register_name): New function. | |
3687 | (hppa_register_name): New function. | |
3688 | * arch-utils.c (legacy_register_name): Delete. | |
3689 | * arch-utils.h (legacy_register_name): Delete. | |
3690 | ||
38caaeec DJ |
3691 | 2003-07-03 Daniel Jacobowitz <[email protected]> |
3692 | ||
3693 | * cli/cli-interp.c (cli_interpreter_resume): Update the | |
3694 | cli_uiout's stream to gdb_stdout. | |
3695 | ||
dadd712e AC |
3696 | 2003-07-03 Andrew Cagney <[email protected]> |
3697 | ||
3698 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add | |
3699 | predicate. | |
3700 | * gdbarch.h, gdbarch.c: Re-generate. | |
3701 | * regcache.c (init_regcache_descr): Use legacy code when either | |
3702 | REGISTER_BYTE or REGISTER_RAW_SIZE is set. | |
3703 | ||
c7f1390e DJ |
3704 | 2003-07-02 Daniel Jacobowitz <[email protected]> |
3705 | ||
3706 | * NEWS: Move "set logging" entry into GDB 6.0 section. | |
3707 | ||
4bc8c588 JB |
3708 | 2003-07-02 Jim Blandy <[email protected]> |
3709 | ||
a9dd42f1 JB |
3710 | * s390-tdep.c (struct frame_extra_info): new member: |
3711 | 'stack_bought_valid'. | |
3712 | (s390_get_frame_info): Set fextra_info->stack_bought_valid if we | |
3713 | initialize fextra_info->stack_bought. | |
3714 | (s390_frameless_function_invocation): Don't trust the value of | |
3715 | fextra_info_ptr->stack_bought unless | |
3716 | fextra_info->stack_bought_valid is set. | |
3717 | ||
4bc8c588 JB |
3718 | New S390 prologue analyzer. |
3719 | * s390-tdep.c (struct prologue_value, enum pv_boolean): New types. | |
3720 | (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, | |
3721 | pv_constant_last, pv_add, pv_add_constant, pv_subtract, | |
3722 | pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref, | |
3723 | compute_x_addr, s390_on_stack, s390_store, | |
3724 | s390_get_signal_frame_info): New functions. | |
3725 | (S390_NUM_SPILL_SLOTS): New macro. | |
3726 | (s390_get_frame_info): Rewritten. | |
3727 | (is_arg_reg): Deleted. | |
3728 | ||
3729 | Break out the decoding of S/390 instructions into separate | |
3730 | functions, to make it more legible, and easier to check | |
3731 | against the spec. | |
3732 | * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse, | |
3733 | is_rx, is_rxe): New functions. | |
3734 | (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras, | |
3735 | op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi, | |
3736 | op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st, | |
3737 | op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New | |
3738 | enums for opcode values. (Is this an improvement?) | |
3739 | ||
fd13a04a AC |
3740 | 2003-07-02 Andrew Cagney <[email protected]> |
3741 | ||
3742 | * i386-tdep.c: Revert change committed as part of trad-frame code | |
3743 | below. | |
3744 | ||
3f8091c1 DJ |
3745 | 2003-07-02 Daniel Jacobowitz <[email protected]> |
3746 | ||
3747 | * breakpoint.c (insert_catchpoint): Make static. | |
3748 | ||
8dd5115e AS |
3749 | 2003-07-02 Andreas Schwab <[email protected]> |
3750 | ||
3751 | * ia64-tdep.c (ia64_push_dummy_call): Define as combination of | |
3752 | former ia64_push_arguments and ia64_push_return_address, and use | |
3753 | regcache functions instead of read/write_register. | |
3754 | (ia64_gdbarch_init): Set push_dummy_call instead of | |
3755 | deprecated_push_arguments and deprecated_push_return_address. | |
3756 | ||
a2229c23 AJ |
3757 | 2003-07-01 Andreas Jaeger <[email protected]> |
3758 | ||
3759 | * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte | |
3760 | before the call. | |
3761 | Set %rax only to number of SSE registers used. | |
3762 | ||
3b3850e8 AC |
3763 | 2003-07-01 Andrew Cagney <[email protected]> |
3764 | ||
3765 | * trad-frame.h: Update comments, a -1 .addr is reserved. | |
3766 | (trad_frame_value_p, trad_frame_addr_p): Declare. | |
3767 | (trad_frame_reg_p): Declare. | |
3768 | (trad_frame_set_value): Rename trad_frame_register_value. | |
3769 | (trad_frame_set_unknown): Declare. | |
3770 | * trad-frame.c (trad_frame_realreg_p): New function. | |
3771 | (trad_frame_addr_p, trad_frame_value_p): New function. | |
3772 | (trad_frame_set_unknown): New function. | |
3773 | (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero. | |
3774 | (trad_frame_prev_register): Use trad_frame_realreg_p, | |
3775 | trad_frame_addr_p and trad_frame_value_p. | |
3776 | (trad_frame_set_value): Rename trad_frame_register_value. | |
3777 | * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p | |
3778 | and trad_frame_set_value. | |
a2229c23 | 3779 | |
4d819d0e JB |
3780 | 2003-06-30 Jim Blandy <[email protected]> |
3781 | ||
3782 | Patch from IBM (authors unspecified, probably Ulrich Weigand and | |
3783 | Gerhard Tonn) for argument passing on the S/390 and S/390x: | |
3784 | * s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space | |
3785 | for 16 registers, and then 32 more bytes. | |
3786 | (S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS): | |
3787 | New macros. | |
3788 | (is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially. | |
3789 | Move up in the file, since it's now used by is_simple_arg. | |
3790 | (is_simple_arg): Don't assume registers are four bytes long. | |
3791 | Exclude all double arguments. Extended floats are not simple | |
3792 | args. | |
3793 | (is_power_of_two): New function. | |
3794 | (pass_by_copy_ref): Call is_power_of_two, and check that the | |
3795 | length fits in a register, rather than listing all the acceptable | |
3796 | sizes. Extended floats are not passed by reference. | |
3797 | (s390_push_arguments): Don't assume registers are four bytes long. | |
3798 | Reserve an argument register to point to the buffer for structures | |
3799 | returned by value. Use S390_NUM_FP_PARAMETER_REGISTERS and | |
3800 | S390_STACK_FRAME_OVERHEAD. | |
3801 | ||
1ad828f1 AS |
3802 | 2003-06-30 Andreas Schwab <[email protected]> |
3803 | ||
3804 | * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to | |
3805 | format error message. | |
3806 | ||
39b00981 JB |
3807 | 2003-06-30 Joel Brobecker <[email protected]> |
3808 | ||
3809 | * sparc-tdep.c (stop_after_trap): Remove declaration, not used. | |
3810 | ||
b2a7f303 DC |
3811 | 2003-06-30 David Carlton <[email protected]> |
3812 | ||
3813 | Band-aid for PR c++/1245. | |
3814 | * Makefile.in (cp-support.o): Depend on complaints_h. | |
3815 | * cp-support.c: Include complaints.h. Add declaration for | |
3816 | find_last_component. | |
3817 | (cp_find_first_component): Separate code into | |
3818 | cp_find_first_component_aux. | |
3819 | (cp_find_first_component_aux): Call demangled_name_complaint. | |
3820 | (demangled_name_complaint): New. | |
3821 | ||
a257b5bb AC |
3822 | 2003-06-30 Andrew Cagney <[email protected]> |
3823 | ||
3824 | * remote.c (remote_write_bytes): Explicitly compute and then use | |
3825 | the payload size. Update comments to reflect. Fixes problem of | |
3826 | GDB not sending small packets as found by Fred Fish. | |
3827 | ||
0a2cfde4 AC |
3828 | 2003-06-30 Andrew Cagney <[email protected]> |
3829 | ||
3830 | * remote.c (remote_async_wait): Fix -Wformat problem. | |
3831 | ||
3fcb8548 AC |
3832 | 2003-06-29 Andrew Cagney <[email protected]> |
3833 | ||
3834 | * remote.c (remote_wait): Call error, and not warning, when the | |
3835 | packet is corrupt. | |
3836 | (remote_async_wait): Ditto. | |
3837 | ||
9f9970a3 DJ |
3838 | 2003-06-29 Daniel Jacobowitz <[email protected]> |
3839 | ||
3840 | * sparc-tdep.c (sparc_y_regnum): Make external again. | |
3841 | ||
83a8ccca DJ |
3842 | 2003-06-29 Daniel Jacobowitz <[email protected]> |
3843 | ||
3844 | * cli/cli-logging.c (pop_output_files): Add void to function | |
3845 | definition. | |
3846 | ||
d2cf594a AC |
3847 | 2003-06-29 Andrew Cagney <[email protected]> |
3848 | ||
3849 | * frame.c (frame_register_unwind): Use unsigned char when dumping | |
3850 | the buffer contents. | |
3851 | ||
0fac0b41 DJ |
3852 | 2003-06-28 Daniel Jacobowitz <[email protected]> |
3853 | ||
3854 | * cli/cli-logging.c: New file. | |
3855 | * cli-out.c (struct ui_out_data): Add original_stream. | |
3856 | (cli_redirect): New function. | |
3857 | (cli_ui_out_impl): Add cli_redirect. | |
3858 | (cli_out_new): Initialize original_stream. | |
3859 | * ui-out.c (default_ui_out_impl): Add NULL for redirect member. | |
3860 | (uo_redirect, ui_out_redirect): New. | |
3861 | * ui-out.h (struct ui_out_impl): Add redirect member. | |
3862 | (redirect_ftype): New. | |
3863 | (ui_out_redirect): Add prototype. | |
3864 | * Makefile.in: Add rules for cli-logging.c. | |
3865 | * NEWS: Mention "set logging". | |
3866 | ||
88a07d7c EZ |
3867 | 2003-06-27 Elena Zannoni <[email protected]> |
3868 | ||
3869 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o. | |
3870 | ||
4eb58876 AC |
3871 | 2003-06-27 Andrew Cagney <[email protected]> |
3872 | ||
3873 | * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function. | |
3874 | (m68hc11_gdbarch_init): Do not set call_dummy_address. | |
3875 | * avr-tdep.c (avr_call_dummy_address): Delete function. | |
3876 | (avr_gdbarch_init): Do not set call_dummy_address. | |
3877 | ||
1549f619 EZ |
3878 | 2003-06-27 Elena Zannoni <[email protected]> |
3879 | ||
3880 | * symfile.c (syms_from_objfile): Move variables to inner block. | |
3881 | Move the checks for the non-mainline case a bit earlier to avoid | |
3882 | doing some useless computations. | |
3883 | ||
3cb3398d EZ |
3884 | 2003-06-27 Elena Zannoni <[email protected]> |
3885 | ||
3886 | * dwarfread.c (decode_modified_type): Gag new compiler warning. | |
3887 | ||
3799ccc6 EZ |
3888 | 2003-06-26 Elena Zannoni <[email protected]> |
3889 | ||
3890 | * dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame | |
3891 | sections. | |
3892 | ||
ce1f6491 MC |
3893 | 2003-06-26 Michael Chastain <[email protected]> |
3894 | ||
3895 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc, | |
3896 | gdb/testsuite/gdb.c++/pr-1210.exp. | |
3897 | ||
d958dfd0 AC |
3898 | 2003-06-26 Andrew Cagney <[email protected]> |
3899 | ||
3900 | * config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's | |
3901 | altivec_expression.h and altivec_registers.h. | |
3902 | ||
d31431ed AC |
3903 | 2003-06-26 Andrew Cagney <[email protected]> |
3904 | ||
3905 | * mips-tdep.c (gdb_print_insn_mips): Only explicitly set | |
3906 | info->mach when MIPS16. Patch suggested by Fred Fish. | |
3907 | ||
714b1282 AC |
3908 | 2003-06-26 Andrew Cagney <[email protected]> |
3909 | ||
3910 | * utils.c (internal_vproblem): Print the problem to a reason | |
3911 | buffer and then pass to query. Make the msg variable more local. | |
3912 | ||
42efa47a AC |
3913 | 2003-06-26 Andrew Cagney <[email protected]> |
3914 | ||
3915 | * gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate. Deprecate. | |
3916 | (FRAME_LOCALS_ADDRESS): Add predicate. Deprecate. | |
3917 | * gdbarch.h, gdbarch.c: Re-generate. | |
3918 | * frame-base.c (default_frame_args_address): Update. Use | |
3919 | default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is | |
3920 | not available. | |
3921 | (default_frame_locals_address): Ditto for | |
3922 | DEPRECATED_FRAME_LOCALS_ADDRESS. | |
3923 | * vax-tdep.c (vax_sigtramp_saved_pc): Update. | |
3924 | (vax_frame_num_args): Update. | |
3925 | (vax_gdbarch_init): Update. | |
3926 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3927 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
3928 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
3929 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
3930 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
3931 | * symtab.h (address_class): Update comments. | |
3932 | * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update. | |
3933 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
3934 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
3935 | * config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
3936 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
3937 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
3938 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
3939 | * alpha-mdebug-tdep.c: Update. | |
3940 | * ada-lang.c (add_symbols_from_enclosing_procs): Update. | |
3941 | ||
8ffd9b1b AJ |
3942 | 2003-06-26 Andreas Jaeger <[email protected]> |
3943 | ||
3944 | * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number | |
3945 | of SSE registers so that varargs functions work. Rework handling | |
3946 | of passing arguments on the stack. | |
3947 | (x86_64_store_return_value): Return double and float values in SSE | |
3948 | register. | |
3949 | ||
e8ac10a6 MC |
3950 | 2003-06-24 Michael Chastain <[email protected]> |
3951 | ||
3952 | * PROBLEMS: Document pr gdb/1091 and pr gdb/1193, | |
3953 | the "constructor breakpoints ignored" bug. | |
3954 | ||
986af8e6 DC |
3955 | 2003-06-25 David Carlton <[email protected]> |
3956 | ||
3957 | * MAINTAINERS: Update e-mail address. | |
3958 | ||
d64558a5 JB |
3959 | 2003-06-24 Jim Blandy <[email protected]> |
3960 | ||
e538d2d7 JB |
3961 | * ppc-linux-tdep.c: More "Linux" -> "GNU/Linux". |
3962 | ||
02631ec0 JB |
3963 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New |
3964 | function. | |
3965 | (ppc_linux_init_abi): Register it as the | |
3966 | CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI. | |
3967 | ||
e716d87a JB |
3968 | * ppc-linux-tdep.c (ppc64_call_dummy_address): New function. |
3969 | (ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address | |
3970 | method. | |
3971 | ||
d64558a5 JB |
3972 | * ppc-linux-tdep.c (ppc64_desc_entry_point): New function. |
3973 | (ppc64_standard_linkage_target): Use it. | |
3974 | ||
449a5da4 AC |
3975 | 2003-06-23 Andrew Cagney <[email protected]> |
3976 | ||
3977 | * rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases | |
3978 | for 0 "int0" and 4 "int32" sized registers. | |
3979 | * gdbtypes.c (builtin_type_int0): Define. | |
3980 | (build_gdbtypes): Initialize builtin_type_int0. | |
3981 | * gdbtypes.h (builtin_type_int0): Declare. | |
3982 | ||
b2a02dda SC |
3983 | 2003-06-23 Stephane Carrez <[email protected]> |
3984 | ||
3985 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed | |
3986 | as characters are unsigned. | |
3987 | ||
fba3138e DJ |
3988 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
3989 | ||
3990 | PR gdb/1179 | |
3991 | * dwarfread.c (struct_type): Skip static fields without crashing. | |
3992 | ||
f6c8180b AC |
3993 | 2003-06-22 Andrew Cagney <[email protected]> |
3994 | ||
3995 | GDB 6.0 branch created. | |
f2c06f52 AC |
3996 | * README: Update. |
3997 | * PROBLEMS: Update. Empty. | |
3998 | * NEWS: Update. | |
f6c8180b | 3999 | |
ae822768 DJ |
4000 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
4001 | ||
4002 | * symfile.c (add_symbol_file_command): Use parse_and_eval_address. | |
4003 | Suggested by Nick Hibma <[email protected]>. | |
4004 | ||
261de166 AC |
4005 | 2003-06-22 Andrew Cagney <[email protected]> |
4006 | ||
4007 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle | |
4008 | GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil | |
4009 | Velikov. | |
4010 | ||
30e94205 DJ |
4011 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
4012 | ||
4013 | * cli/cli-cmds.c (shell_escape): Silence warnings from old | |
4014 | compilers. | |
4015 | ||
9e14d721 DJ |
4016 | 2003-06-21 Daniel Jacobowitz <[email protected]> |
4017 | ||
4018 | * c-valprint.c (c_value_print): Add VALUE_OFFSET to the address | |
4019 | argument of val_print. | |
4020 | * cp-valprint.c (cp_print_value): Don't add the offset parameter | |
4021 | to the address argument of baseclass_offset or target_read_memory. | |
4022 | Do add it to the argument of cp_print_value_fields. | |
4023 | ||
a4b8ebc8 AC |
4024 | 2003-06-21 Andrew Cagney <[email protected]> |
4025 | ||
4026 | * mips-tdep.c: Include "reggroups.h" and "sim-regno.h". | |
4027 | (mips_register_name): Return names for NUM_REGS..2*NUM_REGS | |
4028 | instead of 0..NUM_REGS. | |
4029 | (mips_register_reggroup_p): New function. | |
4030 | (mips_pseudo_register_write): New function. | |
4031 | (mips_pseudo_register_read): New function. | |
4032 | (mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size | |
4033 | based on the register's type. | |
4034 | (read_next_frame_reg): Simplify. Assert that REGNO is a pseudo / | |
4035 | cooked. | |
4036 | (mips_get_saved_register): Simplify. Assert that REGNO is a | |
4037 | pseudo / cooked. | |
4038 | (mips_register_byte): New function. Use MIPS_REGISTER_BYTE. | |
4039 | (mips_register_type): Replace mips_register_virtual_type. Map | |
4040 | NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE | |
4041 | when available. | |
4042 | (read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert | |
4043 | that the register is cooked / virtual. | |
4044 | (mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC. | |
4045 | Only get the extra info when needed. | |
4046 | (set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well. | |
4047 | (mips32_heuristic_proc_desc): Fetch the cooked register. | |
4048 | (heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto. | |
4049 | (mips_init_extra_frame_info, get_frame_pointer): Ditto. | |
4050 | (mips_print_register): Use gdbarch_register_type, instead of | |
4051 | REGISTER_VIRTUAL_TYPE. | |
4052 | (print_gp_register_row): Use gdbarch_register_type, instead of | |
4053 | REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM. | |
4054 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
4055 | Print the pseudo / cooked registers. | |
4056 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
4057 | Print the pseudo / cooked registers. | |
4058 | (mips_xfer_register): Use regcache_cooked_read_part. Assert that | |
4059 | REG_NUM is pseudo / cooked. | |
4060 | (mips_o32_xfer_return_value): Xfer the pseudo / cooked register. | |
4061 | (mips_n32n64_xfer_return_value): Ditto. | |
4062 | (mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS. | |
4063 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto. | |
4064 | (mips_register_sim_regno): New function. | |
4065 | (mips_gdbarch_init): Set deprecated_register_byte, | |
4066 | register_group_p, pseudo_register_write, pseudo_register_read, | |
4067 | register_sim_regno, and num_pseudo_regs. Set register_type, | |
4068 | instead of register_virtual_type. | |
4069 | * Makefile.in (mips-tdep.o): Update dependencies. | |
4070 | * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename | |
4071 | REGISTER_VIRTUAL_TYPE. | |
4072 | * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto. | |
4073 | * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto. | |
4074 | * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE. | |
4075 | * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto. | |
4076 | * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto. | |
4077 | ||
325ed089 DJ |
4078 | 2003-06-21 Daniel Jacobowitz <[email protected]> |
4079 | ||
4080 | * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h) | |
4081 | * cli/cli-cmds.c: Include "gdb_vfork.h". | |
4082 | (shell_escape): Use vfork. | |
4083 | ||
f0e7d0e8 AC |
4084 | 2003-06-21 Andrew Cagney <[email protected]> |
4085 | ||
c57bb9fa AC |
4086 | * mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling |
4087 | 32 bit floating-point register saves. | |
4088 | ||
6e51443a AC |
4089 | * frame.h (deprecated_unwind_get_saved_register): Delete. |
4090 | * frame.c (deprecated_unwind_get_saved_register): Delete function. | |
4091 | * mips-tdep.c (mips_get_saved_register): Use frame_register_unwind | |
4092 | and deprecated_get_next_frame_hack instead of | |
4093 | deprecated_unwind_get_saved_register. | |
4094 | ||
ed183c7c AC |
4095 | * mips-tdep.c (mips_dump_tdep): Do not print |
4096 | REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE. | |
4097 | ||
f0e7d0e8 AC |
4098 | * frame.c (get_frame_register): New function. |
4099 | (frame_unwind_register_signed): New function. | |
4100 | (get_frame_register_signed): New function. | |
4101 | (frame_unwind_register_unsigned): New function. | |
4102 | (get_frame_register_unsigned): New function. | |
4103 | * frame.h: Add comments on naming schema. | |
4104 | (get_frame_register, frame_unwind_register_signed): Declare. | |
4105 | (get_frame_register_signed, get_frame_register_signed): Declare. | |
4106 | (frame_unwind_register_unsigned): Declare. | |
4107 | (get_frame_register_unsigned): Declare. | |
4108 | ||
2224d941 TR |
4109 | 2003-06-20 Theodore A. Roth <[email protected]> |
4110 | ||
4111 | * avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit. | |
4112 | ||
8619218d TR |
4113 | 2003-06-20 Theodore A. Roth <[email protected]> |
4114 | ||
4115 | * avr-tdep.c (avr_read_pc): Use regcache instead of read_register. | |
4116 | (avr_read_sp): Ditto. | |
4117 | ||
0b1b50c0 DJ |
4118 | 2003-06-20 Daniel Jacobowitz <[email protected]> |
4119 | ||
4120 | * config/arm/linux.mt: Remove code protected by GDBSERVER define. | |
4121 | * config/arm/nm-linux.h: Likewise. | |
4122 | * config/arm/tm-linux.h: Likewise. | |
4123 | * config/ia64/nm-linux.h: Likewise. | |
4124 | * config/ia64/tm-ia64.h: Likewise. | |
4125 | * config/s390/tm-linux.h: Likewise. | |
4126 | * config/s390/tm-s390.h: Likewise. | |
4127 | * s390-nat.c: Likewise. | |
4128 | * s390-tdep.c: Likewise. | |
4129 | ||
4130 | * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES. | |
4131 | * config/ia64/linux.mt: Likewise. | |
4132 | * config/m68k/linux.mh: Likewise. | |
4133 | * config/mips/linux.mt: Likewise. | |
4134 | * config/powerpc/linux.mh: Likewise. | |
4135 | * config/sh/linux.mt: Likewise. | |
4136 | ||
c8c18e65 KW |
4137 | 2003-06-19 Kris Warkentin <[email protected]> |
4138 | ||
4139 | * solib.c (solib_open): Change tests for whether to search | |
4140 | LD_LIBRARY_PATH and PATH to better deal with remotes. Update | |
4141 | comments. | |
4142 | ||
dcccef2e TR |
4143 | 2003-06-19 Theodore A. Roth <[email protected]> |
4144 | ||
4145 | * avr-tdep.c (avr_frame_address): Delete function. | |
4146 | (avr_gdbarch_init): Don't call set_gdbarch_frame_args_address, | |
4147 | set_gdbarch_frame_args_address. | |
4148 | ||
5861a190 AC |
4149 | 2003-06-19 Andrew Cagney <[email protected]> |
4150 | ||
4151 | * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete. | |
4152 | (REGISTER_CONVERT_FROM_TYPE): Delete. | |
4153 | (mips_register_convert_to_type): Delete declaration. | |
4154 | (mips_register_convert_from_type): Delete declaration. | |
4155 | * linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux | |
4156 | kernel/. | |
4157 | ||
0274a8ce MS |
4158 | 2003-06-19 Michael Snyder <[email protected]> |
4159 | ||
4160 | * linux-nat.h: New file. | |
4161 | * linux-nat.c: Include linux-nat.h. | |
8ffd9b1b | 4162 | * lin-lwp.c: Include linux-nat.h. |
0274a8ce | 4163 | Move struct lwp_info def to linux-nat.h. |
8ffd9b1b | 4164 | * linux-proc.c: Include linux-nat.h. |
0274a8ce MS |
4165 | (linux_make_note_section): Iterate over lwps instead of threads. |
4166 | (linux_do_thread_registers): Use lwp instead of merged pid. | |
4167 | * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h. | |
8ffd9b1b | 4168 | * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): |
0274a8ce MS |
4169 | Add dependency on linux_nat_h. |
4170 | ||
adf5f719 TR |
4171 | 2003-06-19 Theodore A. Roth <[email protected]> |
4172 | ||
4173 | * avr-tdep.c (avr_extract_return_value): Delete debugging fprintf. | |
4174 | ||
6766a268 DJ |
4175 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
4176 | ||
4177 | * varobj.c (get_type, get_target_type): Use check_typedef. | |
4178 | ||
1171114a DJ |
4179 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
4180 | ||
4181 | * breakpoint.c (insert_catchpoint): Call internal_error. | |
4182 | ||
adcf68a2 TR |
4183 | 2003-06-19 Theodore A. Roth <[email protected]> |
4184 | ||
4185 | * avr-tdep.c (avr_push_dummy_code): Delete function. | |
4186 | (avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code. | |
4187 | ||
ea67f13b DJ |
4188 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
4189 | ||
4190 | * arch-utils.c (default_prepare_to_proceed): Remove. | |
4191 | (generic_prepare_to_proceed): Remove. | |
4192 | * arch-utils.h (default_prepare_to_proceed): Remove prototype. | |
4193 | (generic_prepare_to_proceed): Remove prototype. | |
4194 | * gdbarch.sh (PREPARE_TO_PROCEED): Remove. | |
4195 | * gdbarch.c: Regenerate. | |
4196 | * gdbarch.h: Regenerate. | |
4197 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype. | |
4198 | * hppah-nat.c (hppa_switched_threads): Remove. | |
4199 | * infrun.c (prepare_to_proceed): New static function, copied from | |
4200 | generic_prepare_to_proceed. Remove select_it argument. | |
4201 | (proceed): Call prepare_to_proceed. | |
4202 | * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove | |
4203 | variables. | |
4204 | (ptrace_wait): Don't set the removed variables. | |
4205 | (hppa_switched_threads): Remove. | |
4206 | * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove. | |
4207 | * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define. | |
4208 | (lin_lwp_prepare_to_proceed): Remove prototype. | |
4209 | * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine. | |
4210 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define. | |
4211 | ||
4add8633 TR |
4212 | 2003-06-18 Theodore A. Roth <[email protected]> |
4213 | ||
4214 | * avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, and | |
4215 | trad-frame.h. | |
4216 | (AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64. | |
4217 | (AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define. | |
4218 | (AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define. | |
4219 | (AVR_PROLOGUE_*): Enumerate prologue types. | |
4220 | (struct frame_extra_info): Remove. | |
4221 | (struct avr_unwind_cache): Define. | |
4222 | (avr_write_sp): Delete function. | |
4223 | (avr_read_fp): Ditto. | |
4224 | (avr_init_extra_frame_info): Ditto. | |
4225 | (avr_pop_frame): Ditto. | |
4226 | (avr_frame_saved_pc): Ditto. | |
4227 | (avr_saved_pc_after_call): Ditto. | |
4228 | (avr_push_return_address): Ditto. | |
4229 | (avr_frame_chain): Ditto. | |
4230 | (avr_store_struct_return): Ditto. | |
4231 | (avr_push_arguments): Ditto. | |
4232 | (avr_scan_prologue): Update comments. Changed to set up the info for | |
4233 | cache unwinding. Now returns end of prologue PC. | |
4234 | (avr_skip_prologue): Better handling of functions lacking a prologue | |
4235 | by using avr_scan_prologue. | |
4236 | (avr_scan_arg_moves): New function. | |
4237 | (avr_saved_regs_unwinder): Ditto. | |
4238 | (avr_frame_unwind_cache): Ditto. | |
4239 | (avr_unwind_pc): Ditto. | |
4240 | (avr_frame_this_id): Ditto. | |
4241 | (avr_frame_prev_register): Ditto. | |
4242 | (avr_frame_p): Ditto. | |
4243 | (avr_frame_base_address ): Ditto. | |
4244 | (avr_unwind_dummy_id): Ditto. | |
4245 | (avr_push_dummy_code): Ditto. | |
4246 | (push_stack_item): Ditto. | |
4247 | (pop_stack_item): Ditto. | |
4248 | (avr_push_dummy_call): Ditto. | |
4249 | (struct stack_item): Define. | |
4250 | (avr_frame_unwind): Declare structure. | |
4251 | (avr_frame_base): Ditto. | |
4252 | (avr_gdbarch_init): Remove calls to | |
4253 | set_gdbarch_deprecated_init_frame_pc, | |
4254 | set_gdbarch_deprecated_target_read_fp, | |
4255 | set_gdbarch_deprecated_dummy_write_sp, | |
4256 | set_gdbarch_deprecated_fp_regnum, | |
4257 | set_gdbarch_deprecated_push_arguments, | |
4258 | set_gdbarch_deprecated_push_return_address, | |
4259 | set_gdbarch_deprecated_pop_frame, | |
4260 | set_gdbarch_deprecated_store_struct_return, | |
4261 | set_gdbarch_deprecated_frame_init_saved_regs, | |
4262 | set_gdbarch_deprecated_init_extra_frame_info, | |
4263 | set_gdbarch_deprecated_frame_chain, | |
4264 | set_gdbarch_deprecated_frame_saved_pc, | |
4265 | set_gdbarch_deprecated_saved_pc_after_call. | |
4266 | Add calls to set_gdbarch_push_dummy_call, | |
4267 | set_gdbarch_push_dummy_code, | |
4268 | frame_unwind_append_predicate, | |
4269 | frame_base_set_default, | |
4270 | set_gdbarch_unwind_dummy_id, | |
4271 | set_gdbarch_unwind_pc. | |
4272 | Wrap a long line. | |
4273 | ||
7be04a68 MS |
4274 | 2003-06-18 Corinna Vinschen <[email protected]> |
4275 | ||
4276 | * h8300-tdep.c (h8300s_register_name): Enable MACH and MACL | |
4277 | registers for H8/300S. | |
4278 | (h8300_print_registers_info): Ditto. | |
8ffd9b1b | 4279 | (h8300_gdbarch_init): Accommodate register count for H8/300S. |
7be04a68 | 4280 | |
ae087d01 DJ |
4281 | 2003-06-18 Daniel Jacobowitz <[email protected]> |
4282 | ||
4283 | * config/nm-linux.h (linux_record_stopped_pid): New prototype. | |
4284 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
4285 | (lin_lwp_wait): Likewise. Update comments. | |
4286 | * linux-nat.c (struct simple_pid_list, add_to_pid_list) | |
4287 | (pull_pid_from_list, linux_record_stopped_pid): New. | |
4288 | ||
07d8f827 SC |
4289 | 2003-06-17 Stephane Carrez <[email protected]> |
4290 | ||
4291 | * ada-lang.c (scan_discrim_bound): Name first argument. | |
4292 | (ada_add_block_symbols): Remove BLOCK_SYM to use local variable | |
4293 | declared by ALL_BLOCK_SYMBOLS. | |
4294 | ||
7cb47b14 SC |
4295 | 2003-06-17 Stephane Carrez <[email protected]> |
4296 | ||
4297 | * ada-tasks.c (find_function_in_inferior): Don't declare it. | |
4298 | ("regcache.h"): Include it. | |
4299 | * ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN. | |
4300 | ||
6ad8ae5c DJ |
4301 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
4302 | ||
4303 | * NEWS: Mention gdbserver detach change and "disconnect" command. | |
4304 | * infcmd.c (disconnect_command): New function. | |
4305 | (_initialize_infcmd): Add ``disconnect'' command. | |
4306 | * remote.c (remote_async_detach): Delete. | |
4307 | (remote_detach): Merge remote_async_detach. | |
4308 | (remote_disconnect): New. | |
4309 | (init_remote_ops): Set to_disconnect. | |
4310 | (init_remote_cisco_ops): Likewise. | |
4311 | (init_remote_async_ops): Likewise. Use remote_detach. | |
4312 | * target.c (cleanup_target): Default to_disconnect. | |
4313 | (update_current_target): Inherit to_disconnect. | |
4314 | (target_disconnect, debug_to_disconnect): New functions. | |
4315 | (setup_target_debug): Set to_disconnect. | |
4316 | * target.h (struct target_ops): Add to_disconnect. | |
4317 | (target_disconnect): Add prototype. | |
4318 | ||
687595f9 DJ |
4319 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
4320 | ||
4321 | * breakpoint.c (insert_catchpoint): New function. | |
4322 | (insert_breakpoints): Use catch_exceptions to call | |
4323 | insert_catchpoint. Disable catchpoints if they fail to insert. | |
4324 | ||
29239a8f DJ |
4325 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
4326 | ||
4327 | * symfile.c (reread_symbols): Clear sym_private. | |
4328 | ||
2cdf3c63 AC |
4329 | 2003-06-17 Andrew Cagney <[email protected]> |
4330 | ||
4331 | * trad-frame.h (struct frame_info): Add opaque declaration. | |
4332 | * remote-fileio.h (struct cmd_list_element): Add opaque | |
4333 | declaration. | |
4334 | * h8300-tdep.c (h8300s_register_name): Avoid C++ // style | |
4335 | comments. | |
4336 | ||
cf0e1e0d DJ |
4337 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
4338 | ||
4339 | * remote.c (remote_prepare_to_store): Replace call to | |
4340 | deprecated_read_register_bytes with multiple regcache_raw_read | |
4341 | calls. | |
4342 | ||
192cdb19 KW |
4343 | 2003-06-17 Kris Warkentin <[email protected]> |
4344 | ||
4345 | * nto-tdep.c (nto_map_arch_to_cputype): Recognize "powerpc". | |
4346 | (nto_find_and_open_solib): Likewise. | |
4347 | (nto_init_solib_absolute_prefix): Likewise. | |
4348 | (_initialize_nto_tdep): Fix indentation. | |
4349 | ||
89929b45 KW |
4350 | 2003-06-17 Kris Warkentin <[email protected]> |
4351 | ||
4352 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR. | |
4353 | ||
46019f27 KW |
4354 | 2003-06-17 Kris Warkentin <[email protected]> |
4355 | ||
4356 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using. | |
4357 | ||
1a38736e JB |
4358 | 2003-06-17 Jim Blandy <[email protected]> |
4359 | ||
4360 | * ppc-linux-tdep.c: "Linux" -> "GNU/Linux" | |
4361 | ||
3605c34a TR |
4362 | 2003-06-16 Theodore A. Roth <[email protected]> |
4363 | ||
4364 | * avr-tdep.c (avr_extract_return_value): New function. | |
4365 | (avr_gdbarch_init): Set extract_return_value method. | |
4366 | ||
870b3035 AC |
4367 | 2003-06-16 Andrew Cagney <[email protected]> |
4368 | ||
4369 | * frame.h (deprecated_get_next_frame_hack): Declare. | |
4370 | * frame.c (legacy_saved_regs_prev_register): Only require | |
4371 | DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that | |
4372 | there are always saved regs. | |
4373 | (deprecated_generic_get_saved_register): Do not require | |
4374 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
4375 | (legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN, | |
4376 | use frame ID unwind instead. | |
4377 | (deprecated_get_next_frame_hack): New function. | |
4378 | ||
63d47a7d CV |
4379 | 2003-06-16 Corinna Vinschen <[email protected]> |
4380 | ||
4381 | * h8300-tdep.c (h8300_push_arguments): Remove. Substitute by... | |
4382 | (h8300_push_dummy_call): ...this function. Some minor optimization. | |
4383 | (h8300_push_return_address): Remove. | |
4384 | (h8300_gdbarch_init): Remove calls to | |
4385 | set_gdbarch_deprecated_dummy_write_sp, | |
4386 | set_gdbarch_deprecated_push_arguments and | |
4387 | set_gdbarch_deprecated_push_return_address. | |
4388 | Add call to set_gdbarch_push_dummy_call. | |
4389 | ||
4bb1dc5e CV |
4390 | 2003-06-16 Corinna Vinschen <[email protected]> |
4391 | ||
4392 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define. | |
4393 | (E_PSEUDO_EXR_REGNUM): Ditto. | |
4394 | (h8300_is_argument_spill): Check for instructions moving argument | |
8ffd9b1b | 4395 | registers into safe registers. |
4bb1dc5e CV |
4396 | (h8300_skip_prologue): Check for stm instruction to push registers |
4397 | used for register variables onto stack. | |
4398 | (gdb_print_insn_h8300): Remove. | |
4399 | (h8300_examine_prologue): Add a comment. | |
4400 | (h8300_register_name): Take pseudo registers into account. | |
4401 | (h8300s_register_name): Ditto. | |
4402 | (h8300sx_register_name): Ditto. | |
4403 | (h8300_print_register): Ditto. | |
4404 | (h8300_print_registers_info): Define "nice" printing order. | |
4405 | (h8300_saved_pc_after_call): Take pseudo registers into account. | |
4406 | (h8300_register_type): Ditto. Return type used for remote connection | |
4407 | when requesting real CCR or EXR register, return actual type when | |
4408 | requesting pseudo CCR or EXR. | |
4409 | (h8300_pseudo_register_read): New function. | |
4410 | (h8300_pseudo_register_write): Ditto. | |
4411 | (h8300_dbg_reg_to_regnum): Ditto. | |
4412 | (h8300s_dbg_reg_to_regnum): Ditto. | |
4413 | (h8300_gdbarch_init): Call set_gdbarch_num_pseudo_regs, | |
4414 | set_gdbarch_ecoff_reg_to_regnum, set_gdbarch_dwarf_reg_to_regnum, | |
4415 | set_gdbarch_dwarf2_reg_to_regnum, set_gdbarch_stab_reg_to_regnum and | |
4416 | set_gdbarch_print_insn architecture dependent. | |
4417 | Call set_gdbarch_pseudo_register_read and | |
4418 | set_gdbarch_pseudo_register_write. | |
4419 | (_initialize_h8300_tdep): Remove assignment to deprecated_tm_print_insn. | |
4420 | ||
a59fe496 AC |
4421 | 2003-06-16 Andrew Cagney <[email protected]> |
4422 | ||
4423 | * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate. | |
4424 | * gdbarch.h, gdbarch.c: Re-generate. | |
4425 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4426 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4427 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4428 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4429 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4430 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4431 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4432 | * infcall.c (call_function_by_hand): Update. | |
4433 | * ia64-tdep.c (ia64_push_arguments): Update comment. | |
4434 | * frame.c (legacy_get_prev_frame): Do not assume | |
4435 | SAVE_DUMMY_FRAME_TOS_P. | |
4436 | * dummy-frame.c (find_dummy_frame): Update comment. | |
4437 | ||
6f4e5a41 AC |
4438 | 2003-06-16 Andrew Cagney <[email protected]> |
4439 | ||
4440 | * regcache.c (do_cooked_read): Do not use register_valid_p. | |
4441 | ||
72fab697 TR |
4442 | 2003-06-15 Theodore A. Roth <[email protected]> |
4443 | ||
4444 | * avr-tdep.c (avr_register_type): Remove a blank line. | |
4445 | (avr_scan_prologue): Correct some comments. | |
4446 | ||
e3d8b004 TR |
4447 | 2003-06-15 Theodore A. Roth <[email protected]> |
4448 | ||
4449 | * avr-tdep.c (avr_scan_prologue): Update comment describing the various | |
4450 | prologue types. | |
8ffd9b1b | 4451 | Properly scan prologues generated by gcc with the -mcall-prologues |
e3d8b004 TR |
4452 | option. |
4453 | Add code to scan -mcall-prologues for mega devices. | |
4454 | ||
866b76ea TR |
4455 | 2003-06-15 Theodore A. Roth <[email protected]> |
4456 | ||
4457 | * avr-tdep.c (avr_register_byte): Delete function. | |
4458 | (avr_register_raw_size): Delete function. | |
4459 | (avr_register_virtual_size): Delete function. | |
4460 | (avr_register_virtual_type): Delete function. | |
4461 | (avr_register_type): New function. | |
4462 | (avr_address_to_pointer): Remove unused code. | |
4463 | (avr_read_fp): Need to read FP as two separate bytes due to change to | |
4464 | avr_register_type() usage. | |
4465 | (avr_gdbarch_init): Don't set deprecated_register_size. | |
4466 | Don't set deprecated_register_bytes. | |
4467 | Don't set deprecated_register_byte. | |
4468 | Don't set deprecated_register_raw_size. | |
4469 | Don't set deprecated_max_register_raw_size. | |
4470 | Don't set deprecated_register_virtual_size. | |
4471 | Don't set deprecated_max_register_virtual_size. | |
4472 | Don't set deprecated_register_virtual_type. | |
4473 | Set register_type method. | |
4474 | ||
3993f6b1 DJ |
4475 | 2003-06-15 Daniel Jacobowitz <[email protected]> |
4476 | ||
4477 | * Makefile.in (linux-nat.o): Add rule. | |
4478 | * linux-nat.c: New file. | |
4479 | * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define. | |
4480 | (CHILD_INSERT_VFORK_CATCHPOINT): Define. | |
4481 | (CHILD_INSERT_EXEC_CATCHPOINT): Define. | |
4482 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o. | |
4483 | * config/arm/linux.mh (NATDEPFILES): Likewise. | |
4484 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
4485 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
4486 | * config/ia64/linux.mh (NATDEPFILES): Likewise. | |
4487 | * config/m68k/linux.mh (NATDEPFILES): Likewise. | |
4488 | * config/mips/linux.mh (NATDEPFILES): Likewise. | |
4489 | * config/powerpc/linux.mh (NATDEPFILES): Likewise. | |
4490 | * config/s390/s390.mh (NATDEPFILES): Likewise. | |
4491 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
4492 | ||
786a90bb MK |
4493 | 2003-06-15 Mark Kettenis <[email protected]> |
4494 | ||
4495 | * i387-tdep.c: Reorder includes, fix some whitespace issues and | |
4496 | replace out-of-date comment. | |
4497 | ||
3bd3f01e AC |
4498 | 2003-06-15 Andrew Cagney <[email protected]> |
4499 | ||
4500 | * rdi-share/host.h (Fail): Change to a varargs function. | |
4501 | * remote-rdi.c (Fail): Update. | |
8ffd9b1b | 4502 | |
de5b9bb9 MK |
4503 | 2003-06-15 Mark Kettenis <[email protected]> |
4504 | ||
4505 | * i386-tdep.c (i386_next_regnum): Fix bounds checking. | |
4506 | (i386_convert_register_p, i386_register_to_value, | |
4507 | i386_register_from_value): Handle types longer than 8 bytes. | |
4508 | ||
d532c08f MK |
4509 | 2003-06-15 Mark Kettenis <[email protected]> |
4510 | ||
4511 | * i386-tdep.c (i386_register_to_value, i386_value_to_register): | |
4512 | Move floating-point code to new function in i387-tdep.c. | |
4513 | * i387-tdep.c (i387_register_to_value, i387_value_to_register): | |
4514 | New functions containing code moved here from i386-tdep.c. | |
4515 | * i387-tdep.h: Add opaque declaration for `struct type'. | |
4516 | (i387_register_to_value, i387_value_to_register): New prototypes. | |
4517 | * x86-64-tdep.c (x86_64_convert_register_p): New function. | |
4518 | (x86_64_init_abi): Set convert_register_p, register_to_value and | |
4519 | value_to_register here. | |
8ffd9b1b | 4520 | |
42c466d7 AC |
4521 | 2003-06-14 Andrew Cagney <[email protected]> |
4522 | ||
4523 | * mips-tdep.c (mips_register_to_value): Make static. | |
4524 | (mips_value_to_register): Make static. | |
4525 | * i386-tdep.c (i386_fetch_pointer_argument): Make static. | |
4526 | * ia64-tdep.c (ia64_register_raw_size): Make static. | |
4527 | (ia64_register_virtual_size): Make static. | |
4528 | (ia64_register_byte): Make static. | |
4529 | * i387-tdep.c: Include "i387-tdep.h". | |
4530 | (print_387_control_word): Delete function. | |
4531 | (print_387_status_word): Delete function. | |
4532 | (print_387_status_bits): Delete function. | |
4533 | (print_387_control_bits): Delete function. | |
4534 | * Makefile.in (i387-tdep.o): Update dependencies. | |
4535 | * rdi-share/host.h (Fail): Declare. | |
4536 | * remote-rdi.c (Fail): Update to match declaration. | |
4537 | ||
2a9cda49 AC |
4538 | 2003-06-14 Andrew Cagney <[email protected]> |
4539 | ||
4540 | * config/mips/embedl64.mt (TDEPFILES): Delete "remote-array.o". | |
4541 | * config/mips/embedl.mt (TDEPFILES): Delete "remote-array.o". | |
4542 | * config/mips/embed64.mt (TDEPFILES): Delete "remote-array.o". | |
4543 | * config/djgpp/fnchange.lst: Delete "remote-array.c". | |
4544 | * README: Delete reference to remote-array. | |
4545 | * Makefile.in (ALLDEPFILES): Remove "remote-array.c". | |
4546 | (remote-array.o): Delete target. | |
4547 | * config/mips/embed.mt (TDEPFILES): Delete "remote-array.o". | |
4548 | * remote-array.c: Delete file. | |
4549 | ||
ff2e87ac AC |
4550 | 2003-06-14 Andrew Cagney <[email protected]> |
4551 | Mark Kettenis <[email protected]> | |
4552 | ||
4553 | * gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter. | |
4554 | (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace raw buffer | |
4555 | parameter with "frame". | |
4556 | * gdbarch.h, gdbarch.c: Re-generate. | |
4557 | * frame.h (put_frame_register): Declare. | |
4558 | * frame.c (put_frame_register): New function. | |
4559 | * arch-utils.c (legacy_convert_register_p): Add "type" parameter. | |
4560 | (legacy_register_to_value): Rewrite, use "frame" to get the | |
4561 | register value. | |
4562 | (legacy_value_to_register): Rewrite, use "frame" to find the | |
4563 | register's location before storing. | |
4564 | * arch-utils.h (legacy_convert_register_p): Update. | |
4565 | (legacy_register_to_value, legacy_value_to_register): Update. | |
4566 | * findvar.c (value_from_register): Rewrite, eliminate use of | |
4567 | REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass | |
4568 | "frame" to REGISTER_TO_VALUE. | |
4569 | * valops.c (value_assign): Move the CONVERT_REGISTER code to the | |
4570 | lval_reg_frame_relative + lval_register branch of the switch. Do | |
4571 | not use REGISTER_CONVERT_FROM_TYPE. Use put_frame_register. | |
4572 | * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM, | |
4573 | I386_EDI_REGNUM): New defines. | |
4574 | (i386_next_regnum, i386_convert_register_p, | |
4575 | i386_register_to_value, i386_value_to_register): New functions. | |
4576 | (i386_register_convertible, i386_register_convert_to_virtual, | |
4577 | i386_convert_to_raw): Remove functions. | |
4578 | (i386_gdbarch_init): Set convert_register_p, register_to_value and | |
4579 | value_to_register instead of register_convertible, | |
4580 | register_convert_to_virtual and register_convert_to_raw. | |
4581 | * mips-tdep.c (mips_convert_register_p): New function. | |
4582 | (mips_value_to_register): Replace mips_register_convert_from_type. | |
4583 | (mips_register_to_value): Replace mips_register_convert_to_type. | |
4584 | (mips_gdbarch_init): Set conver_register_p, value_to_register and | |
4585 | register_to_value. | |
4586 | * alpha-tdep.c (alpha_convert_register_p): Update. | |
4587 | (alpha_value_to_register): Update, store the register. | |
4588 | (alpha_register_to_value): Update, fetch the register. | |
4589 | ||
98be1e77 TR |
4590 | 2003-06-14 Theodore A. Roth <[email protected]> |
4591 | ||
4592 | * avr-tdep.c (avr_remote_translate_xfer_address): Delete function. | |
4593 | (avr_gdbarch_init): Remove avr_call_dummy_words variable. | |
4594 | Don't set deprecated_call_dummy_words. | |
4595 | Remove commented out set_gdbarch_believe_pcc_promotion() call. | |
4596 | Don't set remote_translate_xfer_address. | |
4597 | (avr_io_reg_read_command): Remove commented out debug printf. | |
4598 | Wrap a long line. | |
4599 | ||
57bc6122 TR |
4600 | 2003-06-14 Theodore A. Roth <[email protected]> |
4601 | ||
4602 | * avr-tdep.c (avr_scan_prologue): Fix to avoid a buffer over run which | |
4603 | causes gdb to seg fault. | |
4604 | ||
eb01fc62 DJ |
4605 | 2003-06-14 Daniel Jacobowitz <[email protected]> |
4606 | ||
4607 | * sparc-nat.c (fetch_inferior_registers): Correct | |
4608 | a reference to "registers". | |
4609 | ||
3b3e6bee DJ |
4610 | 2003-06-14 Jeroen Dekkers <[email protected]> |
4611 | ||
4612 | * Makefile.in (exc_request_U_h): Define | |
4613 | (exc_request_S_h): Likewise. | |
4614 | (msg_reply_S_h): Likewise. | |
4615 | (msg_U_h): Likewise. | |
4616 | (notify_S_h): Likewise. | |
4617 | (process_reply_S_h): Likewise. | |
4618 | (gnu-nat.o): Depend on gdb_obstack_h | |
4619 | * gnu-nat.c: Include "gdb_obstack.h". | |
4620 | ||
b8de8283 AC |
4621 | 2003-06-13 Andrew Cagney <[email protected]> |
4622 | ||
4623 | * gdbarch.sh: Document what PUSH_DUMMY_CALL replaces. | |
4624 | * gdbarch.h, gdbarch.c: Re-generate. | |
8ffd9b1b | 4625 | |
f3be58bc AC |
4626 | 2003-06-13 Andrew Cagney <[email protected]> |
4627 | ||
4628 | * gdbarch.sh: Document what UNWIND_DUMMY_ID replaces. Clarify | |
4629 | when deprecated REGISTER macros can be deleted. | |
4630 | * gdbarch.h, gdbarch.c: Re-generate. | |
4631 | ||
4c0122c8 JB |
4632 | 2003-06-13 Jim Blandy <[email protected]> |
4633 | ||
4634 | * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC | |
4635 | Linux entry point symbols for _dl_debug_state, too. | |
4636 | ||
3e210248 AC |
4637 | 2003-06-13 Andrew Cagney <[email protected]> |
4638 | ||
4639 | * infcall.c (call_function_by_hand): When UNWIND_DUMMY_ID is | |
4640 | available, do not use the FP register, and always save the TOS. | |
4641 | * dummy-frame.c (dummy_frame_this_id): Do not assert | |
4642 | SAVE_DUMMY_FRAME_TOS. | |
4643 | * i386-tdep.c (i386_save_dummy_frame_tos): Delete function. | |
4644 | (i386_gdbarch_init): Do not set save_dummy_frame_tos. | |
4645 | (i386_push_dummy_call): Add 8 to the returned SP. | |
4646 | * frame.c (legacy_frame_p): Do not require SAVE_DUMMY_FRAME_TOS. | |
4647 | * d10v-tdep.c (d10v_unwind_dummy_id): Use d10v_unwind_sp. | |
4648 | (d10v_gdbarch_init): Do not set save_dummy_frame_tos. | |
4649 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos): Delete function. | |
4650 | (x86_64_push_dummy_call): Return "sp + 16". | |
4651 | (x86_64_init_abi): Do not set save_dummy_frame_tos. | |
4652 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
4653 | save_dummy_frame_tos. | |
4654 | ||
0b65af49 JB |
4655 | 2003-06-13 Jim Blandy <[email protected]> |
4656 | ||
4657 | * frv-tdep.c (frv_use_struct_convention): Delete static | |
4658 | declaration for function deleted in my change of 2003-06-12. | |
4659 | ||
4ea2465e TR |
4660 | 2003-06-13 Theodore A. Roth <[email protected]> |
4661 | ||
4662 | * avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit. | |
4663 | (avr_pointer_to_address): Shift code addrs left 1 bit. | |
4664 | (avr_convert_from_func_ptr_addr): Delete function since operation is | |
4665 | better handled by avr_address_to_pointer and avr_pointer_to_address. | |
4666 | (avr_gdbarch_init): Don't set convert_from_func_ptr_add method. | |
4667 | ||
1581182a MK |
4668 | 2003-06-13 Mark Kettenis <[email protected]> |
4669 | ||
4670 | From Kelley Cook <[email protected]>: | |
4671 | * configure.host: Accept i[34567]86 variants. | |
4672 | * configure.tgt: Likewise. | |
4673 | * nlm/configure.in: Likewise. | |
4674 | * nlm/configure: Regenerated. | |
4675 | ||
7aa1783e RE |
4676 | 2003-06-13 Richard Earnshaw <[email protected]> |
4677 | ||
4678 | * arm-tdep.c (solib-svr4.h): Dont' include it. | |
4679 | (arm_linux_svr4_fetch_link_map_offsets): Move to ... | |
4680 | * arm-linux-tdep.c: ... here. Make static. | |
4681 | (arm_linux_init_abi): Register it. | |
4682 | (solib-svr4.h): Include it. | |
4683 | * Makefile.in: Update dependencies. | |
4684 | * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete. | |
4685 | (arm_linux_svr4_fetch_link_map_offsets): Delete declaration. | |
4686 | ||
0261a0d0 CV |
4687 | 2003-06-13 Corinna Vinschen <[email protected]> |
4688 | ||
4689 | * h8300-tdep.c: Add definitions E_RET0_REGNUM and E_RET1_REGNUM to | |
4690 | indicate registers used for return values. | |
4691 | (struct frame_extra_info): Drop args_pointer and locals_pointer. | |
4692 | (h8300_examine_prologue): Remove initializing dropped frame_extra_info | |
4693 | members. | |
4694 | (h8300_init_extra_frame_info): Ditto. | |
4695 | (h8300_frame_locals_address): Removed. | |
4696 | (h8300_frame_args_address): Removed. | |
4697 | (h8300_extract_return_value): Use new regcache structure. Only care | |
4698 | for 16 bit CPUs. | |
4699 | (h8300h_extract_return_value): Same function for 32 bit CPUs. | |
4700 | (h8300_store_return_value): Use new regcache structure. Only care | |
4701 | for 16 bit CPUs. | |
4702 | (h8300h_store_return_value): Same function for 32 bit CPUs. | |
4703 | (h8300_store_struct_return): Removed. | |
4704 | (h8300_extract_struct_value_address): Use new regcache structure. | |
4705 | (h8300h_extract_struct_value_address): Removed. | |
4706 | (h8300_push_dummy_code): New function. | |
4707 | (h8300_gdbarch_init): Slightly rearranged to stress deprecated calls. | |
4708 | Remove call_dummy_words. Call set_gdbarch_extract_return_value and | |
4709 | set_gdbarch_store_return_value architecture dependent. | |
4710 | Call set_gdbarch_push_dummy_code and | |
4711 | set_gdbarch_extract_struct_value_address. | |
4712 | Remove calls to set_gdbarch_frame_args_address, | |
4713 | set_gdbarch_frame_locals_address, | |
4714 | set_gdbarch_deprecated_store_struct_return, | |
4715 | set_gdbarch_deprecated_extract_return_value, | |
4716 | set_gdbarch_deprecated_extract_struct_value_address, | |
4717 | set_gdbarch_deprecated_call_dummy_words and | |
4718 | set_gdbarch_deprecated_sizeof_call_dummy_words. | |
4719 | ||
055c394a CV |
4720 | 2003-06-13 Corinna Vinschen <[email protected]> |
4721 | ||
4722 | * h8300-tdep.c (h8300_register_byte): Remove. | |
4723 | (h8300h_register_byte): Remove. | |
4724 | (h8300_register_virtual_type): Remove. Substitute by... | |
4725 | (h8300_register_type): New function. | |
4726 | (h8300_extract_struct_value_address): Drop usage of h8300_register_byte. | |
4727 | (h8300h_extract_struct_value_address): Ditto. | |
4728 | (h8300_gdbarch_init): Drop calls to | |
4729 | set_gdbarch_deprecated_register_byte and | |
4730 | set_gdbarch_deprecated_register_virtual_type. | |
4731 | Add call to set_gdbarch_register_type. | |
4732 | ||
9c04cab7 AC |
4733 | 2003-06-13 Andrew Cagney <[email protected]> |
4734 | ||
4735 | * gdbarch.sh: Update comments on registers. | |
4736 | (deprecated_register_byte): Rename register_byte. | |
4737 | (deprecated_register_raw_size): Rename register_raw_size. | |
4738 | (deprecated_register_virtual_size): Rename register_virtual_size. | |
4739 | (deprecated_register_virtual_type): Rename register_virtual_type. | |
4740 | * gdbarch.h, gdbarch.c: Re-generate. | |
4741 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4742 | * vax-tdep.c (vax_gdbarch_init): Update. | |
4743 | * v850-tdep.c (v850_gdbarch_init): Update. | |
4744 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
4745 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4746 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4747 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4748 | * ns32k-tdep.c: Update. | |
4749 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4750 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4751 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4752 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
4753 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4754 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4755 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
4756 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4757 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4758 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4759 | * avr-tdep.c (avr_gdbarch_init): Update. | |
4760 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
4761 | * arm-tdep.c (arm_gdbarch_init): Update. | |
4762 | ||
b060cbea AC |
4763 | 2003-06-13 Andrew Cagney <[email protected]> |
4764 | ||
4765 | * mips-tdep.c (mips_gdbarch_init): Replace remaining instances of | |
4766 | mips_o32_use_struct_convention with always_use_struct_convention. | |
4767 | ||
0fc9922a DC |
4768 | 2003-06-12 David Carlton <[email protected]> |
4769 | ||
4770 | * cp-namespace.c (cp_set_block_scope): Comment out | |
4771 | processing_has_namespace_info branch. | |
4772 | ||
1fd35568 JB |
4773 | 2003-06-12 Jim Blandy <[email protected]> |
4774 | ||
f470a70a JB |
4775 | Recognize and skip 64-bit PowerPC Linux linkage functions. |
4776 | * ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct | |
4777 | insn_pattern, insns_match_pattern, d_field, ds_field): New | |
4778 | functions, macros, and types for working with PPC instructions. | |
4779 | (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN, | |
4780 | ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target, | |
4781 | ppc64_skip_trampoline_code): New functions, variables, and macros | |
4782 | for recognizing and skipping linkage functions. | |
4783 | (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and | |
4784 | ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI. | |
4785 | ||
49ff75ad JB |
4786 | * ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-area |
4787 | register offsets for both the 32- and 64-bit interfaces. | |
4788 | ||
bd918c83 JB |
4789 | Actually finish the job started by my change of 2003-05-29. |
4790 | * config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the | |
4791 | other #definition of this. | |
4792 | (ppc_linux_skip_trampoline_code): Remove declaration. | |
4793 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this | |
4794 | static. | |
4795 | (ppc_linux_init_abi): Register it as the skip_trampoline_code | |
4796 | method for GDBARCH. | |
4797 | ||
4798 | * config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This is | |
4799 | 'long' on ppc64-*-linux*. | |
4800 | ||
f8c59253 JB |
4801 | * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ |
4802 | isn't #defined, assume the register doesn't exist: act as if | |
4803 | tdep->ppc_mq_regnum were -1. | |
4804 | ||
8fbb30b1 JB |
4805 | * configure.host, configure.tgt: Add entries for |
4806 | powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and | |
4807 | powerpc/linux.mt. | |
4808 | * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: | |
4809 | New files. | |
4810 | ||
1fd35568 JB |
4811 | * arch-utils.c (always_use_struct_convention): New function. |
4812 | * arch-utils.h (always_use_struct_convention): New prototype. | |
4813 | * alpha-tdep.c (alpha_use_struct_convention): Delete. | |
4814 | (alpha_gdbarch_init): Register always_use_struct_convention, | |
4815 | instead of alpha_use_struct_convention. | |
4816 | * cris-tdep.c (cris_use_struct_convention): Delete. | |
4817 | (cris_gdbarch_init): Register always_use_struct_convention, | |
4818 | instead of cris_use_struct_convention. | |
4819 | * frv-tdep.c (frv_use_struct_convention): Delete. | |
4820 | (frv_gdbarch_init): Register always_use_struct_convention, | |
4821 | instead of frv_use_struct_convention. | |
4822 | * h8300-tdep.c (h8300_use_struct_convention): Delete. | |
4823 | (h8300_gdbarch_init): Register always_use_struct_convention, | |
4824 | instead of h8300_use_struct_convention. | |
e3305dd9 | 4825 | * mips-tdep.c (mips_o32_use_struct_convention): Delete. |
1fd35568 JB |
4826 | (mips_o32_gdbarch_init): Register always_use_struct_convention, |
4827 | instead of mips_o32_use_struct_convention. | |
4828 | ||
e14e6e9c AC |
4829 | 2003-06-12 Andrew Cagney <[email protected]> |
4830 | ||
4831 | * wince.c: Include "mips-tdep.h". | |
4832 | * mips-tdep.h (mips_next_pc): Declare. | |
4833 | * mcore-tdep.c: Make more local functions static. | |
4834 | * Makefile.in (wince.o): Update dependencies. | |
4835 | ||
2335f48e DC |
4836 | 2003-06-12 David Carlton <[email protected]> |
4837 | ||
4838 | * symtab.c (lookup_symbol_aux_minsyms): Replace | |
4839 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
4840 | (find_pc_sect_line, search_symbols, rbreak_command): Ditto. | |
4841 | (COMPLETION_LIST_ADD_SYMBOL): Rewrite in terms of | |
4842 | SYMBOL_NATURAL_NAME. | |
4843 | ||
f70a7d61 AS |
4844 | 2003-06-12 Andreas Schwab <[email protected]> |
4845 | ||
4846 | * Makefile.in (tuiDisassem.o): Update dependencies. | |
4847 | ||
b6429628 DC |
4848 | 2003-06-12 David Carlton <[email protected]> |
4849 | ||
4850 | * symtab.h: Delete declaration of make_symbol_overload_list. | |
4851 | Add declaration of lookup_partial_symbol. | |
4852 | * symtab.c (remove_params): Move to cp-support.c. | |
4853 | (overload_list_add_symbol, make_symbol_overload_list) | |
4854 | (sym_return_val_size, sym_return_val_index): Ditto. | |
4855 | (lookup_partial_symbol): Make extern. | |
4856 | * cp-support.h: Add declaration of make_symbol_overload_list. | |
4857 | * cp-support.c: Include dictionary.h, objfiles.h, frame.h, | |
4858 | symtab.h, and block.h. | |
4859 | (remove_params): Move here from symtab.c. | |
4860 | (overload_list_add_symbol, make_symbol_overload_list) | |
4861 | (sym_return_val_size, sym_return_val_index): Ditto. | |
4862 | * valops.c: Include cp-support.h. | |
4863 | * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h, | |
4864 | frame_h, and block_h. | |
4865 | (valops.o): Depend on cp_support_h. | |
4866 | ||
084edea5 CV |
4867 | 2003-06-12 Corinna Vinschen <[email protected]> |
4868 | ||
4869 | * h8300-tdep.c: Add H8SX registers. Drop E_NUM_REGS entirely, | |
4870 | substitute by NUM_REGS throughout. | |
4871 | (h8300_register_name): Only care for H8/300 and H8/300H registers. | |
4872 | (h8300s_register_name): New function for H8S registers. | |
4873 | (h8300sx_register_name): Ditto for H8SX registers. | |
4874 | (h8300_print_register): Revise register printing, avoid depending | |
4875 | on 32 bit long. | |
0261a0d0 | 4876 | (h8300_register_byte): Only care for H8/300 registers. |
084edea5 CV |
4877 | (h8300h_register_byte): New function for any other architecture. |
4878 | (h8300_register_raw_size): Remove. | |
4879 | (h8300_register_virtual_type): Revise to return actually useful | |
4880 | type. | |
4881 | (h8300_extract_struct_value_address): Only care for H8/300 registers. | |
4882 | (h8300h_extract_struct_value_address): New function for any other | |
4883 | architecture. | |
4884 | (h8300_gdbarch_init): Add h8300sxn. Call set_gdbarch_num_regs, | |
4885 | set_gdbarch_register_name, set_gdbarch_register_byte, | |
4886 | set_gdbarch_ptr_bit and set_gdbarch_addr_bit architecture dependent. | |
4887 | Remove calls to set_gdbarch_deprecated_register_size, | |
4888 | set_gdbarch_deprecated_register_bytes, set_gdbarch_register_raw_size, | |
4889 | set_gdbarch_deprecated_max_register_raw_size, | |
4890 | set_gdbarch_register_virtual_size and | |
4891 | set_gdbarch_deprecated_max_register_virtual_size entirely. | |
4892 | Call set_gdbarch_long_long_bit, set_gdbarch_double_bit and | |
4893 | set_gdbarch_long_double_bit. | |
4894 | ||
06194148 JJ |
4895 | 2003-06-11 Jeff Johnston <[email protected]> |
4896 | ||
8ffd9b1b AJ |
4897 | * doublest.c (convert_doublest_to_floatformat): When dealing |
4898 | with the implied integer bit, only alter mant_bits if we are | |
06194148 JJ |
4899 | processing a full 32 bits of mantissa. |
4900 | ||
de4f826b DC |
4901 | 2003-06-11 David Carlton <[email protected]> |
4902 | ||
4903 | * dictionary.h: New. | |
4904 | * dictionary.c: New. | |
4905 | * block.h: Add opaque declaration for struct dictionary. | |
4906 | (struct block): Add 'dict' member; delete 'hashtable', 'nsyms', | |
4907 | 'sym' members. | |
4908 | (BLOCK_DICT): New macro. | |
4909 | Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM, | |
4910 | BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE, | |
4911 | BLOCK_SHOULD_SORT. | |
4912 | (ALL_BLOCK_SYMBOLS): Update definition. | |
4913 | * Makefile.in (SFILES): Add dictionary.c. | |
4914 | (dictionary_h): New. | |
4915 | (COMMON_OBS): Add dictionary.o. | |
4916 | (dictionary.o): New. | |
4917 | (ada-lang.o): Depend on dictionary_h. | |
4918 | (buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o) | |
4919 | (stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o) | |
4920 | (mi-cmd-stack.o): Ditto. | |
4921 | (gdbtk-cmds.o): Update dependencies. | |
4922 | (gdbtk-stack.o): Ditto. | |
4923 | * ada-lang.c: Include dictionary.h. | |
4924 | (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS. | |
4925 | (fill_in_ada_prototype, debug_print_block): Ditto. | |
4926 | (ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace | |
4927 | explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable | |
4928 | 'is_sorted'. | |
4929 | * mdebugread.c: Include dictionary.h. | |
4930 | (struct parse_stack): Delete 'maxsyms' member. | |
4931 | (parse_symbol): Update calls to new_block. Delete calls to | |
4932 | shrink_block. Use dictionary methods. | |
4933 | (psymtab_to_symtab_1): Delete calls to sort_symtab_syms. | |
4934 | Update calls to new_symtab. Don't maintain maxsyms data. | |
4935 | (mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS. | |
4936 | (add_symbol): Just call dict_add_symbol. | |
4937 | (new_symtab): Delete 'maxsyms' argument. | |
4938 | (new_symtab): Update calls to new_block. | |
4939 | (new_block): Delete 'maxsyms' argument; add 'function' argument. | |
4940 | (shrink_block): Delete function. | |
4941 | (fixup_sigtramp): Update call to new_block. Add symbol via | |
4942 | dict_add_symbol. | |
4943 | * jv-lang.c: Include dictionary.h. | |
4944 | (get_java_class_symtab): Set the BLOCK_DICT of the blocks | |
4945 | appropriately. Set class_symtab->free_func. Make sure the | |
4946 | blockvector is big enough to hold two blocks. | |
4947 | (add_class_symtab_symbol): Use dictionary methods. | |
4948 | (free_class_block): New function. | |
4949 | (type_from_class): Replace explicit iteration by | |
4950 | ALL_BLOCK_SYMBOLS. | |
4951 | * symtab.h (struct symtab): Replace 'free_ptr' method by | |
4952 | 'free_func'. | |
4953 | * dwarf2read.c (psymtab_to_symtab_1): Delete call to | |
4954 | sort_symtab_syms. | |
4955 | * dwarfread.c (psymtab_to_symtab_1): Delete call to | |
4956 | sort_symtab_syms. | |
4957 | * coffread.c (coff_symfile_read): Delete call to sort_symtab_syms. | |
4958 | Include dictionary.h. | |
4959 | (patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS. | |
4960 | * dbxread.c (dbx_psymtab_to_symtab_1): Delete call to | |
4961 | sort_symtab_syms. | |
4962 | * objfiles.c: Include dictionary.h. | |
4963 | (objfile_relocate): Update use of ALL_BLOCK_SYMBOLS. | |
4964 | * buildsym.c: Include dictionary.h. | |
4965 | (finish_block): Use dictionary methods. | |
4966 | (end_symtab): Set free_func to NULL, not free_ptr. | |
4967 | * tracepoint.c: Include dictionary.h. | |
4968 | (add_local_symbols): Update use of ALL_BLOCK_SYMBOLS. | |
4969 | (scope_info): Ditto. | |
4970 | * stack.c: Include dictionary.h. | |
4971 | (print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS. | |
4972 | (print_block_frame_labels, print_frame_arg_vars) | |
4973 | (print_frame_args): Ditto. | |
4974 | * symmisc.c (free_symtab_block): Use dictionary methods. | |
4975 | (dump_symtab): Ditto. | |
4976 | (free_symtab): Replace use of 'free_ptr' by 'free_func'. | |
4977 | Include dictionary.h. | |
4978 | * symfile.h: Delete declarations of sort_block_syms, | |
4979 | sort_symtab_syms. | |
4980 | * symfile.c (sort_block_syms): Delete. | |
4981 | (sort_symtab_syms): Delete. | |
4982 | * symtab.c: Include dictionary.h. | |
4983 | (lookup_block_symbol): Use dictionary iterators. | |
4984 | (find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS. | |
4985 | (search_symbols, make_symbol_completion_list): Ditto. | |
4986 | (make_symbol_overload_list): Ditto. | |
4987 | * valops.c (value_of_local): Use dict_empty. | |
4988 | Include dictionary.h. | |
4989 | ||
a31f978c JB |
4990 | 2003-06-11 J. Brobecker <[email protected]> |
4991 | ||
4992 | * win32-nat.c (solib_symbols_add): Fix a small compilation error. | |
4993 | ||
526e70c0 DC |
4994 | 2003-06-11 David Carlton <[email protected]> |
4995 | ||
4996 | * block.h (BLOCK_SHOULD_SORT): Delete. | |
4997 | * symtab.c (lookup_block_symbol): Don't worry about sorted linear | |
4998 | blocks. | |
4999 | * ada-lang.c (ada_add_block_symbols): Ditto. | |
5000 | * symfile.c (sort_block_syms): Delete. | |
5001 | (sort_symtab_syms): Ditto. | |
5002 | * symfile.h: Delete sort_symtabs_syms and sort_block_syms | |
5003 | declarations. | |
5004 | * coffread.c (coff_symfile_read): Don't call sort_symtab_syms. | |
5005 | * dbxread.c (dbx_psymtab_to_symtab_1): Ditto. | |
5006 | * dwarf2read.c (psymtab_to_symtab_1): Ditto. | |
5007 | * dwarfread.c (psymtab_to_symtab_1): Ditto. | |
5008 | * hpread.c (hpread_psymtab_to_symtab_1): Ditto. | |
5009 | * mdebugread.c (psymtab_to_symtab_1): Ditto. | |
5010 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto. | |
5011 | ||
33c08150 JJ |
5012 | 2003-06-11 Jeff Johnston <[email protected]> |
5013 | ||
8ffd9b1b | 5014 | * ia64-tdep.c (ia64_gdbarch_init): Set number of long double |
33c08150 JJ |
5015 | bits to 128. |
5016 | ||
781a750d AC |
5017 | 2003-06-11 Andrew Cagney <[email protected]> |
5018 | ||
5019 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate | |
5020 | REGISTER_CONVERTIBLE. | |
5021 | (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same. | |
5022 | (DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant. | |
5023 | * gdbarch.h, gdbarch.c: Re-generate. | |
5024 | * arch-utils.h (deprecated_register_convertible_not): Rename | |
5025 | generic_register_convertible_not. | |
5026 | * arch-utils.c (deprecated_register_convertible_not): Rename | |
5027 | generic_register_convertible. | |
5028 | (legacy_convert_register_p, legacy_register_to_value): Update. | |
5029 | * sh-tdep.c (sh64_push_arguments): Update. | |
5030 | * m68klinux-tdep.c (m68k_linux_extract_return_value): Update. | |
5031 | * config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update. | |
5032 | * m68klinux-tdep.c (m68k_linux_store_return_value): Update. | |
5033 | * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update. | |
5034 | * arch-utils.c (legacy_value_to_register): Update. | |
5035 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5036 | (rs6000_register_convert_to_raw): Make parameter "from" const. | |
5037 | * mips-tdep.c (mips_gdbarch_init): Update. | |
5038 | (mips_register_convert_to_raw): Make parameter"virt_buf" const. | |
5039 | * infcmd.c (default_print_registers_info): Update. | |
5040 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5041 | (ia64_register_convert_to_raw): Make parameter "from" const. | |
5042 | * i386-tdep.c (i386_gdbarch_init): Update. | |
5043 | (i386_register_convert_to_raw): Update. | |
5044 | ||
cd90e54f AC |
5045 | 2003-06-11 Andrew Cagney <[email protected]> |
5046 | ||
5047 | * remote-fileio.c: Include "remote-fileio.h". | |
5048 | * Makefile.in (remote-fileio.o): Update dependencies. | |
5049 | (remote_fileio_h): Fix typo. | |
5050 | ||
a78f21af AC |
5051 | 2003-06-11 Andrew Cagney <[email protected]> |
5052 | ||
5053 | * xstormy16-tdep.c (xstormy16_push_return_address): Make static. | |
5054 | (xstormy16_save_dummy_frame_tos): Make static. | |
5055 | (_initialize_xstormy16_tdep): Add declaration. | |
5056 | * vax-tdep.c (_initialize_vax_tdep): Add declaration. | |
5057 | * v850-tdep.c: Make local functions static. | |
5058 | (_initialize_v850_tdep): Add declaration. | |
5059 | * sparc-tdep.c: Make local functions static. | |
5060 | (_initialize_sparc_tdep): Add declaration. | |
5061 | * sh-tdep.c: Make local functions static. | |
5062 | (_initialize_sh_tdep): Add declaration. | |
5063 | * sh3-rom.c (_initialize_sh3_rom): Add declaration. | |
5064 | * s390-tdep.c: Make local functions static. | |
5065 | (_initialize_s390_tdep): Add declaration. | |
5066 | * dbxread.c (find_stab_function_addr): Make static. | |
5067 | * ppc-bdm.c (_initialize_bdm_ppc): Add declaration. | |
5068 | * ocd.c (_initialize_remote_ocd): Add declaration. | |
5069 | * dink32-rom.c (_initialize_dink32_rom): Add declaration. | |
5070 | * ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration. | |
5071 | * ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration. | |
5072 | * ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration. | |
5073 | * mips-tdep.c (_initialize_mips_tdep): Add declaration. | |
5074 | * remote-array.c (_initialize_array): Add declaration. | |
5075 | (_initialize_remote_monitors): Add declaration. | |
5076 | * remote-mips.c: Make local functions static. | |
5077 | (_initialize_remote_mips): Add declaration. | |
5078 | * mcore-tdep.c: Make all local functions static. | |
5079 | (_initialize_mcore_tdep): Add declaration. | |
5080 | * dbug-rom.c (_initialize_dbug_rom): Add declaration. | |
5081 | * abug-rom.c (_initialize_abug_rom): Add declaration. | |
5082 | * rom68k-rom.c (_initialize_rom68k): Add declaration. | |
5083 | * cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration. | |
5084 | * m68k-tdep.c (_initialize_m68k_tdep): Add declaration. | |
5085 | * remote-est.c (_initialize_est): Add declaration. | |
5086 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration. | |
5087 | (m68hc11_call_dummy_address): Make static. | |
5088 | * ia64-tdep.c: Make local functions static. | |
5089 | (_initialize_ia64_tdep): Add declaration. | |
5090 | * solib-legacy.c (_initialize_svr4_lm): Add declaration. | |
5091 | * monitor.c (monitor_wait_filter): Make static. | |
5092 | (_initialize_remote_monitors): Add declaration. | |
5093 | * remote-hms.c (_initialize_remote_hms): Add declaration. | |
5094 | * remote-e7000.c (fetch_regs_from_dump): Make static. | |
5095 | (expect_n): Make static. | |
5096 | (_initialize_remote_e7000): Add declaration. | |
5097 | * ser-e7kpc.c: Always include "defs.h". | |
5098 | (_initialize_ser_e7000pc): Add declaration. | |
5099 | * h8300-tdep.c (_initialize_h8300_tdep): Add declaration. | |
5100 | * cris-tdep.c: Make all but one function static. | |
5101 | (_initialize_cris_tdep): Add declaration. | |
5102 | * solib-svr4.c (_initialize_svr4_solib): Add declaration. | |
5103 | * solib.c (update_solib_list): Make static. | |
5104 | (_initialize_solib): Add declaration. | |
5105 | * avr-tdep.c (avr_breakpoint_from_pc): Make static. | |
5106 | (_initialize_avr_tdep): Add declaration. | |
5107 | * remote-rdi.c (voiddummy): Make static. | |
5108 | (_initialize_remote_rdi): Add declaration. | |
5109 | * arm-tdep.c (_initialize_arm_tdep): Add declaration. | |
5110 | * remote-rdp.c (send_rdp): Make static. | |
5111 | (_initialize_remote_rdp): Add declaration. | |
5112 | * alpha-tdep.c (_initialize_alpha_tdep): Add declaration. | |
5113 | ||
cbcdb1f5 CV |
5114 | 2003-06-11 Corinna Vinschen <[email protected]> |
5115 | ||
5116 | * remote-fileio.c: Make ari happy. | |
5117 | ||
a191ea8d JB |
5118 | 2003-06-10 J. Brobecker <[email protected]> |
5119 | ||
5120 | * rs6000-nat.c (child_xfer_memory): Compute the right address when | |
5121 | fetching the trailing bytes of the buffer we are about to write. | |
5122 | ||
0ef75e11 AC |
5123 | 2003-06-10 Andrew Cagney <[email protected]> |
5124 | ||
5125 | * remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H. | |
5126 | * Makefile.in (remote-fileio.o): Update dependencies. | |
5127 | * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not | |
5128 | include <setjmp.h>, or <sys/types.h> conditional on USG. | |
5129 | (remote_fio_jmp_buf): Delete global variable. | |
5130 | ||
449092f6 | 5131 | 2003-06-10 Corinna Vinschen <[email protected]> |
559fa028 | 5132 | Martin M. Hunt <[email protected]> |
449092f6 | 5133 | |
559fa028 AC |
5134 | * Makefile.in (REMOTE_OBS): Add remote-fileio.o |
5135 | (SFILES): Add remote-fileio.c. | |
5136 | Add dependencies for building remote-fileio.o. Add remote-fileio.h to | |
5137 | dependencies for building remote.o. | |
449092f6 CV |
5138 | * remote-fileio.c: New file implementing the remote File-I/O protocol. |
5139 | * remote-fileio.h: New header file defining remote File-I/O interface. | |
8ffd9b1b | 5140 | * remote.c (remote_write_bytes, remote_read_bytes): Remove |
449092f6 CV |
5141 | static storage class. |
5142 | (remote_wait, remote_async_wait): Call remote_fileio_request() on | |
5143 | 'F' packet. | |
5144 | (_initialize_remote): Call initialize_remote_fileio(). | |
5145 | * remote.h: Declare remote_write_bytes() and remote_read_bytes(). | |
449092f6 CV |
5146 | * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin. |
5147 | * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin. | |
5148 | (captured_main): Initialize new ui_files. | |
5149 | * ui-file.c: Add read and fgets input functions. | |
5150 | (ui_file_new): set ui_file_fputs and ui_file_read to null functions. | |
5151 | (null_file_read): New function. | |
5152 | (ui_file_read): New function. | |
5153 | (set_ui_file_read): New function. | |
5154 | (stdio_file_read): New function. | |
5155 | * ui-file.h: New type ui_file_read_ftype. | |
5156 | (set_ui_file_read): Declare. | |
5157 | (ui_file_read): Declare. | |
5158 | ||
248de703 AC |
5159 | 2003-06-09 Andrew Cagney <[email protected]> |
5160 | ||
5161 | * frame.h (deprecated_unwind_get_saved_register): Rename | |
5162 | generic_unwind_get_saved_register, update comments. | |
5163 | * mips-tdep.c (mips_get_saved_register): Update. | |
5164 | * frame.c (deprecated_unwind_get_saved_register): Update. | |
5165 | ||
0ed8aa57 AC |
5166 | 2003-06-09 Andrew Cagney <[email protected]> |
5167 | ||
5168 | * vax-tdep.c (vax_frame_locals_address): Delete function. | |
5169 | (vax_gdbarch_init): Do not set frame_locals_address. | |
5170 | * m68hc11-tdep.c (m68hc11_frame_locals_address): Delete function. | |
5171 | (m68hc11_gdbarch_init): Do not set frame_locals_address. | |
5172 | * s390-tdep.c (s390_frame_args_address): Delete function. | |
5173 | (s390_gdbarch_init): Do not set frame_args_address or | |
5174 | frame_locals_address. | |
5175 | * ns32k-tdep.c (ns32k_frame_locals_address): Delete. | |
5176 | (ns32k_gdbarch_init): Do not set frame_locals_address. | |
5177 | * hppa-tdep.c (hppa_frame_args_address): Delete function. | |
5178 | (hppa_frame_locals_address): Delete function. | |
5179 | (hppa_gdbarch_init): Do not set frame_args_address, or | |
5180 | frame_locals_address. | |
5181 | * arm-tdep.c (arm_frame_args_address): Delete. | |
5182 | (arm_frame_locals_address): Delete. | |
5183 | (arm_gdbarch_init): Do not set frame_args_address, or | |
5184 | frame_locals_address. | |
5185 | ||
983a287a AC |
5186 | 2003-06-09 Andrew Cagney <[email protected]> |
5187 | ||
5188 | * gdbarch.sh (FRAME_NUM_ARGS): Change to function with predicate. | |
5189 | * gdbarch.h, gdbarch.c: Re-generate. | |
5190 | * arch-utils.h (frame_num_args_unknown): Delete both declarations. | |
5191 | * arch-utils.c (frame_num_args_unknown): Delete function. | |
5192 | * stack.c (print_args_stub): Use FRAME_NUM_ARGS_P. | |
5193 | (frame_info): Use FRAME_NUM_ARGS_P. | |
5194 | * arm-tdep.c (arm_frame_num_args): Delete function. | |
5195 | (arm_gdbarch_init): Do not set frame_num_args. | |
5196 | * config/pa/tm-hppa64.h (FRAME_NUM_ARGS): Delete. | |
5197 | * hppa-tdep.c (hppa_frame_num_args): Delete function. | |
5198 | (hppa_gdbarch_init): Do not set frame_num_args. | |
5199 | * config/sparc/tm-sparc.h (FRAME_NUM_ARGS): Delete. | |
5200 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
5201 | frame_num_args to default frame_num_args_unknown. | |
5202 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
5203 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
5204 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5205 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
5206 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5207 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
5208 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
5209 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
5210 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
5211 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5212 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
5213 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
5214 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
5215 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
5216 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
5217 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
5218 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
5219 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
5220 | ||
8d3b0994 AC |
5221 | 2003-06-09 Andrew Cagney <[email protected]> |
5222 | ||
5223 | * printcmd.c (print_frame_nameless_args): Moved to "stack.c". | |
5224 | (print_frame_args): Moved to "stack.c". | |
5225 | * stack.c: Include "gdb_assert.h". | |
5226 | (print_frame_nameless_args): Moved from "printcmd.c", made static. | |
5227 | (print_frame_args): Moved from "printcmd.c". | |
5228 | * frame.h (print_frame_args): Delete declaration. | |
5229 | * Makefile.in (stack.o): Update dependencies. | |
5230 | ||
25e3a86b AC |
5231 | 2003-06-08 Andrew Cagney <[email protected]> |
5232 | ||
5233 | * frame.c (get_prev_frame): Remove reference to | |
5234 | frame_args_address_correct in comments. | |
5235 | * frame-base.c (default_frame_args_address): Delete code | |
5236 | conditional on FRAME_ARGS_ADDRESS_CORRECT. | |
5237 | * vax-tdep.c (vax_frame_args_address_correct): Delete. | |
5238 | (vax_frame_args_address): Merge in vax_frame_args_address_correct. | |
5239 | * config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete | |
5240 | (vax_frame_args_address_correct): Delete declaration. | |
5241 | ||
a9e5fdc2 AC |
5242 | 2003-06-08 Andrew Cagney <[email protected]> |
5243 | ||
5244 | * gdbarch.sh (UNWIND_SP): Add. | |
5245 | * gdbarch.h, gdbarch.c: Re-generate. | |
5246 | * frame.c (frame_sp_unwind): New function. | |
5247 | (get_frame_sp): New function. | |
5248 | * frame.h (get_frame_sp, frame_sp_unwind): Declare. | |
5249 | * regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP, | |
5250 | gdbarch_unwind_sp and SP_REGNUM when looking for the SP register | |
5251 | value. | |
5252 | * d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp. | |
5253 | (d10v_gdbarch_init): Set unwind_sp instead of read_sp. | |
5254 | ||
8983bd83 AC |
5255 | 2003-06-08 Andrew Cagney <[email protected]> |
5256 | ||
7fec2c59 AC |
5257 | Deprecate BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT and |
5258 | REMOTE_BREAKPOINT. | |
5259 | * remote.c: Update. | |
5260 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT): Update. | |
5261 | (DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Update. | |
5262 | * config/m68k/tm-sun3.h: Update. | |
5263 | * config/m68k/tm-m68klynx.h: Update. | |
5264 | * config/h8300/tm-h8300.h (DEPRECATED_REMOTE_BREAKPOINT): Update. | |
5265 | ||
8983bd83 AC |
5266 | * trad-frame.h (struct trad_frame_saved_reg): Rename "struct |
5267 | trad_frame". Update comments. | |
5268 | * d10v-tdep.c (struct d10v_unwind_cache): Update. | |
5269 | * trad-frame.c (trad_frame_alloc_saved_regs): Update. | |
5270 | (trad_frame_register_value, trad_frame_prev_register): Update. | |
5271 | ||
b9362cc7 AC |
5272 | 2003-06-08 Andrew Cagney <[email protected]> |
5273 | ||
5274 | * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen | |
5275 | from GCC's acinclude.m4. | |
5276 | * configure.in: Check for getopt's delcaration. | |
8ffd9b1b | 5277 | * aclocal.m4, config.in, configure: Re-generate. |
b9362cc7 AC |
5278 | * main.c (error_init): Delete declaration. |
5279 | * defs.h (error_init): Declare. | |
5280 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static. | |
5281 | (rs6000_convert_from_func_ptr_addr): Make static. | |
5282 | (_initialize_rs6000_tdep): Add declaration. | |
5283 | * cli/cli-cmds.c (dont_repeat): Delete declaration. | |
5284 | (show_commands, set_verbose, show_history): Delete declaration. | |
5285 | * top.h (set_verbose): Add declaration. | |
5286 | (show_history, set_history, show_commands): Add declaration. | |
5287 | (do_restore_instream_cleanup): Add declaration. | |
5288 | * objc-lang.c (specialcmp): Make static. | |
5289 | (print_object_command): Make static. | |
5290 | (find_objc_msgsend): Make static. | |
5291 | (find_objc_msgcall_submethod_helper): Make static. | |
5292 | (find_objc_msgcall_submethod): Make static. | |
5293 | (_initialize_objc_language): Add declaration. | |
5294 | (find_implementation_from_class): Make static. | |
5295 | (find_implementation): Make static. | |
5296 | * objc-exp.y (yylex): Delete lookup_struct_typedef declaration. | |
5297 | * objc-lang.h (lookup_struct_typedef): Add declaration. | |
5298 | * cli/cli-interp.c (_initialize_cli_interp): Add declaration. | |
5299 | * cli/cli-script.c (clear_hook_in_cleanup): Make static. | |
5300 | (do_restore_user_call_depth): Make static. | |
5301 | (do_restore_instream_cleanup): Delete declaration. | |
5302 | (dont_repeat): Delete declaration. | |
5303 | * cli/cli-decode.c (add_abbrev_cmd): Delete function. | |
5304 | * cli/cli-dump.c (_initialize_cli_dump): Add declaration. | |
5305 | * reggroups.c (_initialize_reggroup): Add declaration. | |
5306 | * cp-support.c (_initialize_cp_support): Add declaration. | |
5307 | * cp-abi.c (_initialize_cp_abi): Add declaration. | |
5308 | * hpacc-abi.c (_initialize_hpacc_abi): Add declaration. | |
5309 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static. | |
5310 | (_initialize_gnu_v3_abi): Add declaration. | |
5311 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static. | |
5312 | (_initialize_gnu_v2_abi): Add declaration. | |
5313 | * frame-base.c (_initialize_frame_base): Add declaration. | |
5314 | * doublest.c (floatformat_from_length): Make static. | |
5315 | * frame-unwind.c (_initialize_frame_unwind): Add declaration. | |
5316 | * frame.c (create_sentinel_frame): Make static. | |
5317 | (_initialize_frame): Add declaration. | |
5318 | * top.c (do_catch_errors): Make static. | |
5319 | (gdb_rl_operate_and_get_next_completion): Make static. | |
5320 | * typeprint.c: Include "typeprint.h". | |
5321 | * sentinel-frame.c (sentinel_frame_prev_register): Make static. | |
5322 | (sentinel_frame_this_id): Make static. | |
5323 | * p-valprint.c (_initialize_pascal_valprint): Add declaration. | |
5324 | * ui-out.c (make_cleanup_ui_out_begin_end): Delete function. | |
5325 | * dwarf2-frame.c (dwarf2_frame_cache): Make static. | |
5326 | * p-exp.y (push_current_type, pop_current_type): ISO C declaration. | |
5327 | * dwarf2expr.h (dwarf_expr_context): ISO C declaration. | |
5328 | * maint.c (maintenance_print_architecture): Make static. | |
5329 | * signals/signals.c (_initialize_signals): Add declaration. | |
5330 | * std-regs.c (_initialize_frame_reg): Add declaration. | |
5331 | * jv-exp.y (push_variable): ISO C definition. | |
5332 | (push_qualified_expression_name): Ditto. | |
5333 | * memattr.c (_initialize_mem): Add declaration. | |
5334 | * remote.c (remote_check_watch_resources): Make static. | |
5335 | (remote_stopped_by_watchpoint): Make static. | |
5336 | (remote_stopped_data_address): Make static. | |
5337 | * d10v-tdep.c (nr_dmap_regs): Make static. | |
5338 | (a0_regnum): Make static. | |
5339 | (d10v_frame_unwind_cache): Make static. | |
5340 | (d10v_frame_p): Make static. | |
5341 | * osabi.c (show_osabi): Make static. | |
5342 | (_initialize_gdb_osabi): Add extern declaration. | |
5343 | * gdbtypes.c (make_qualified_type): Make static. | |
5344 | (safe_parse_type): Make static. | |
5345 | * macrocmd.c (_initialize_macrocmd): Add extern declaration. | |
5346 | * macrotab.c (macro_bcache_free): Make static. | |
5347 | * interps.c (interp_set_quiet): Make static. | |
5348 | (interpreter_exec_cmd): Make static. | |
5349 | * stack.h (select_frame_command): New file. | |
5350 | * stack.c: Include "stack.h". | |
5351 | (select_frame_command_wrapper): Delete function. | |
5352 | (select_frame_command): Make global. | |
5353 | * infcall.c: Include "infcall.h". | |
5354 | * linespec.c: Include "linespec.h". | |
5355 | * symfile.c (sections_overlap): Make static. | |
5356 | * cp-support.h (cp_initialize_namespace): ISO C declaration. | |
5357 | * charset.c (_initialize_charset): Add missing prototype. | |
5358 | * regcache.c (init_legacy_regcache_descr): Make static. | |
5359 | (do_regcache_xfree): Make static. | |
5360 | (regcache_xfer_part): Make static. | |
5361 | (_initialize_regcache): Add missing prototype. | |
5362 | * breakpoint.c (parse_breakpoint_sals): Make static. | |
5363 | (breakpoint_sals_to_pc): Make static. | |
5364 | * interps.h (clear_interpreter_hooks): ISO C declaration. | |
5365 | * Makefile.in (stack_h): Define. | |
5366 | (stack.o, typeprint.o, mi-main.o): Update dependencies. | |
5367 | (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies. | |
5368 | ||
a0f267c7 AC |
5369 | 2003-06-08 Andrew Cagney <[email protected]> |
5370 | ||
5371 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
5372 | (SFILES): Add trad-frame.c. | |
5373 | (trad_frame_h): Define. | |
5374 | (COMMON_OBS): Add trad-frame.o. | |
5375 | (trad-frame.o): Specify dependencies. | |
5376 | * d10v-tdep.c: Include "trad-frame.h". | |
5377 | (saved_regs_unwinder): Delete function. | |
5378 | (d10v_frame_prev_register): Use trad_frame_prev_register. | |
5379 | (struct d10v_unwind_cache): Change type of "saved_regs" to "struct | |
5380 | trad_frame", delete "regs" and "prev_sp". | |
5381 | (prologue_find_regs): Use trad-frame. | |
5382 | * trad-frame.h, trad-frame.c: New files. | |
5383 | ||
4538b4f4 MK |
5384 | 2003-06-08 Mark Kettenis <[email protected]> |
5385 | ||
5386 | * dwarf2cfi.c, dwarf2cfi.h: Remove. | |
5387 | ||
a0273b2f AF |
5388 | 2003-06-07 Adam Fedor <[email protected]> |
5389 | ||
5390 | * gdb/objc-lang.c (FETCH_ARGUMENT): Remove macro. | |
5391 | (OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for | |
5392 | using FETCH_POINTER_ARGUMENT with Objective-C method arguments. | |
5393 | (find_implementation, resolve_msgsend, resolve_msgsend_stret, | |
8ffd9b1b | 5394 | resolve_msgsend_super, resolve_msgsend_super_stret): |
a0273b2f AF |
5395 | Use it. |
5396 | ||
3a6c3343 AC |
5397 | 2003-06-07 Andrew Cagney <[email protected]> |
5398 | ||
5399 | * symfile.h: Re-indent, clean up comments. | |
5400 | ||
b46e02f6 AC |
5401 | 2003-06-07 Andrew Cagney <[email protected]> |
5402 | ||
5403 | * inferior.h (deprecated_write_sp): Replace | |
5404 | generic_target_write_sp. | |
5405 | * regcache.c (deprecated_write_sp): Replace | |
5406 | generic_target_write_sp. | |
5407 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
5408 | * vax-tdep.c (vax_gdbarch_init): Update. | |
5409 | * v850-tdep.c (v850_gdbarch_init): Update. | |
5410 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
5411 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5412 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5413 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5414 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
5415 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
5416 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5417 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
5418 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5419 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5420 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
5421 | * frv-tdep.c (frv_gdbarch_init): Update. | |
5422 | * cris-tdep.c (cris_gdbarch_init): Update. | |
5423 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
5424 | ||
a42e117c AC |
5425 | 2003-06-07 Andrew Cagney <[email protected]> |
5426 | ||
5427 | * dwarf2-frame.c (dwarf2_frame_cache): Add comments on PC_REGNUM. | |
5428 | Assert that PC_REGNUM is valid. | |
5429 | (dwarf2_frame_prev_register): Add comments on SP_REGNUM. | |
5430 | ||
bd1ce8ba AC |
5431 | 2003-06-07 Andrew Cagney <[email protected]> |
5432 | ||
5433 | * gdbarch.sh (TARGET_READ_SP): Add predicate, delete default. | |
5434 | * gdbarch.h, gdbarch.c: Regenerate. | |
5435 | * mn10300-tdep.c: Include "gdb_assert.h". | |
5436 | (mn10300_read_fp): New function. | |
5437 | (mn10300_gdbarch_init): Set deprecated_target_read_fp to | |
5438 | mn10300_read_fp. Do not set read_sp to generic_target_read_sp. | |
5439 | * ia64-tdep.c: Include "gdb_assert.h". | |
5440 | (ia64_read_fp): New function. | |
5441 | (ia64_gdbarch_init): Set deprecated_target_read_fp to | |
5442 | ia64_read_sp. Do not set read_sp to generic_target_read_sp. | |
5443 | * regcache.c (generic_target_read_sp): Delete function. | |
5444 | (read_sp): Try TARGET_READ_SP and SP_REGNUM for the SP register. | |
5445 | * inferior.h (generic_target_read_sp): Delete declaration. | |
5446 | * frv-tdep.c (frv_gdbarch_init): Do not set read_sp to | |
5447 | generic_target_read_sp. | |
5448 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5449 | * sparc-tdep.c (sparc_gdbarch_init): Ditto | |
5450 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5451 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5452 | * Makefile.in (mn10300-tdep.o, ia64-tdep.o): Update dependencies. | |
5453 | ||
ec5cbaec AC |
5454 | 2003-06-07 Andrew Cagney <[email protected]> |
5455 | ||
5456 | * gdbarch.sh: Comment each field of startup_gdbarch. | |
5457 | * gdbarch.h, gdbarch.c: Re-generate. | |
5458 | ||
cde9ea48 AC |
5459 | 2003-06-07 Andrew Cagney <[email protected]> |
5460 | ||
5461 | * gdbarch.sh (TARGET_READ_PC): Add predicate, remove default. | |
5462 | * gdbarch.h, gdbarch.c: Re-generate. | |
5463 | * regcache.c: Update comments on read_pc et.al. | |
5464 | (generic_target_read_pc): Delete function. | |
5465 | (read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register. | |
5466 | * inferior.h (generic_target_read_pc): Delete declaration. | |
5467 | * frv-tdep.c (frv_gdbarch_init): Do not set read_pc to | |
5468 | generic_target_read_pc. | |
5469 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
5470 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5471 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5472 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 5473 | |
9a90a780 AC |
5474 | 2003-06-07 Andrew Cagney <[email protected]> |
5475 | ||
5476 | * elfread.c (elf_symtab_read): Replace "special_local_sym_p" and | |
5477 | "index" with "special_local_sect". Use strcmp instead of STREQ. | |
5478 | Append period to coments. | |
5479 | ||
a39a16c4 MM |
5480 | 2003-06-06 Mark Mitchell <[email protected]> |
5481 | ||
5482 | * elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX. | |
5483 | (elfstab_offset_sections): Likewise. | |
5484 | * gdb-stabs.h (stab_section_info): Likewise. | |
5485 | * i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise. | |
5486 | * objfiles.c (objfile_relocate): Likewise. | |
5487 | * pa64solib.c (pa64_solib_add_solib_objfile): Likewise. | |
5488 | * remote.c (get_offsets): Likewise. | |
5489 | (remote_cisco_objfile_relocate): Likewise. | |
5490 | * somread.c (som_symfile_offsets): Likewise. | |
5491 | * symfile.c (alloc_section_addr_info): New function. | |
5492 | (build_section_addr_info_from_section_tab): Use it. | |
5493 | (free_section_addr_info): Adjust. | |
5494 | (default_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
5495 | (syms_from_objfile): Allocate local_addr dynamically. | |
5496 | (symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs | |
5497 | dynamically. | |
5498 | (add_symbol_file_command): Allocate sect_opts dynamically. | |
5499 | (reread_symbols): Avoid use of SECT_OFF_MAX. | |
5500 | * symfile.h (section_addr_info): Do not use MAX_SECTIONS. | |
5501 | (alloc_section_addr_info): Declare it. | |
5502 | * symtab.h (SIZEOF_SECTION_OFFSETS): Remove. | |
5503 | * win32-nat.c (solib_symbols_add): Allocate section_addrs | |
5504 | dynamically. | |
5505 | * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
8ffd9b1b | 5506 | |
20c6c2f8 AC |
5507 | 2003-06-06 Andrew Cagney <[email protected]> |
5508 | ||
5509 | * d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc". | |
5510 | (d10v_frame_unwind_cache): Do not set "return_pc". | |
5511 | ||
884a26c8 MS |
5512 | 2003-06-06 Michael Snyder <[email protected]> |
5513 | ||
5514 | * h8300-tdep.c: Make tidy (long lines). | |
5515 | ||
088ce440 ML |
5516 | 2003-06-06 Michal Ludvig <[email protected]> |
5517 | ||
8ffd9b1b | 5518 | * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums |
088ce440 ML |
5519 | to regcache_collect(). |
5520 | ||
7d773d96 JB |
5521 | 2003-06-05 J. Brobecker <[email protected]> |
5522 | ||
5523 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting | |
5524 | pc_in_sigtramp multiarch method. | |
5525 | (hppa_hpux_som_init_abi): Use it. | |
5526 | (hppa_hpux_elf_init_abi): Likewise. | |
5527 | * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this | |
5528 | macro has been multiarched. | |
5529 | * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this | |
5530 | macro here, as hppa64 isn't multiarched yet. | |
5531 | ||
1df6926e AC |
5532 | 2003-06-05 Andrew Cagney <[email protected]> |
5533 | ||
5534 | * Makefile.in (value_h): Add $(frame_h). | |
5535 | * value.h: Include "frame.h". | |
5536 | (struct value): Replace "frame_addr" with "frame_id". | |
5537 | (VALUE_FRAME_ID): Replace VALUE_FRAME. | |
5538 | * values.c (allocate_value): Use VALUE_FRAME_ID. | |
5539 | (value_copy): Use VALUE_FRAME_ID. | |
5540 | * findvar.c (value_from_register): Use VALUE_FRAME_ID. | |
5541 | * valops.c (value_assign): Update. Use frame_find_by_id. | |
5542 | ||
6b53acc6 ML |
5543 | 2003-06-05 Michal Ludvig <[email protected]> |
5544 | ||
5545 | * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset | |
5546 | in each pass. | |
5547 | ||
4d9850d3 JJ |
5548 | 2003-06-05 Jeff Johnston <[email protected]> |
5549 | ||
5550 | * thread-db.c (check_event): For create/death event breakpoints, | |
5551 | loop through all messages to ensure that we read the message | |
5552 | corresponding to the breakpoint we are at. | |
5553 | ||
8efca6ba MS |
5554 | 2003-06-04 Michael Snyder <[email protected]> |
5555 | ||
5556 | * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn. | |
5557 | ||
0912c7f2 MK |
5558 | 2003-06-04 Mark Kettenis <[email protected]> |
5559 | ||
5560 | * dwarf2-frame.c (struct comp_unit): Add member `dbase'. | |
5561 | (read_encoded_value): Handle DW_EH_PE_datarel encoding. | |
5562 | (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings | |
5563 | when handling .eh_frame sections. | |
5564 | ||
4e370325 JB |
5565 | 2003-06-04 J. Brobecker <[email protected]> |
5566 | ||
5567 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic | |
5568 | prepare_to_proceed procedure instead of the hppa-specific one. | |
5569 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used. | |
5570 | ||
b757528f | 5571 | 2003-06-04 Jeff Johnston <[email protected]> |
8ffd9b1b | 5572 | |
b757528f JJ |
5573 | * acconfig.h: Add HAVE_TKILL_SYSCALL definition check. |
5574 | * config.in: Regenerated. | |
5575 | * configure.in: Add test for syscall function and check for | |
5576 | __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. | |
5577 | * configure: Regenerated. | |
5578 | * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and | |
5579 | <sys/syscall.h>. | |
5580 | (kill_lwp): New function that uses tkill syscall or | |
5581 | uses kill, depending on whether threading model is nptl or not. | |
5582 | All callers of kill() changed to use kill_lwp(). | |
5583 | (lin_lwp_wait): Make special check when WIFEXITED occurs to | |
5584 | see if all threads have already exited in the nptl model. | |
5585 | (stop_and_resume_callback): New callback function used by the | |
5586 | lin_lwp_wait thread exit handling code. | |
5587 | (stop_wait_callback): Check for threads already having exited and | |
5588 | delete such threads fromt the lwp list when discovered. | |
5589 | (stop_callback): Don't assert retcode of kill call. | |
8ffd9b1b | 5590 | |
b757528f JJ |
5591 | Roland McGrath <[email protected]> |
5592 | * i386-linux-nat.c (ps_get_thread_area): New function needed by | |
5593 | nptl libthread_db. | |
5594 | ||
087779b1 RH |
5595 | 2003-06-03 Richard Henderson <[email protected]> |
5596 | ||
b21fd293 RH |
5597 | * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn. |
5598 | (alpha_sigtramp_frame_this_id): Use get_frame_memory. | |
5599 | (alpha_sigtramp_frame_prev_register): Likewise. | |
5600 | (alpha_heuristic_frame_prev_register): Likewise. | |
5601 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise. | |
5602 | ||
8ffd9b1b | 5603 | * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use |
087779b1 RH |
5604 | alpha-specific register id names. |
5605 | (alpha_mdebug_frame_unwind_cache): Likewise. | |
5606 | (alpha_mdebug_frame_prev_register): Likewise. | |
5607 | ||
baa490c4 RH |
5608 | 2003-06-03 Richard Henderson <[email protected]> |
5609 | ||
5610 | * alpha-tdep.c (alpha_dwarf2_init_abi): New. | |
5611 | * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. | |
5612 | * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. | |
5613 | * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug | |
5614 | unwind routines. | |
5615 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
5616 | * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
5617 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
5618 | ||
5619 | * alpha-linux-tdep.c: Remove unnecessary includes. | |
5620 | * Makefile.in (alpha-linux-tdep.o): Update. | |
5621 | ||
5622 | 2003-06-03 Richard Henderson <[email protected]> | |
5623 | ||
5624 | * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change. | |
5625 | (alphabsd_fill_fpreg): Likewise. | |
5626 | ||
f534e522 JB |
5627 | 2003-06-03 J. Brobecker <[email protected]> |
5628 | ||
5629 | * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace | |
5630 | references to struct frame_info fields by calls to the equivalent | |
5631 | accessors. Necessary now that frame_info is opaque. | |
5632 | ||
4035536b JB |
5633 | 2003-06-03 J. Brobecker <[email protected]> |
5634 | ||
5635 | * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete. | |
5636 | (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep | |
5637 | structure, field no longer exists. | |
5638 | ||
0bd79c5c JB |
5639 | 2003-06-03 J. Brobecker <[email protected]> |
5640 | ||
5641 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
5642 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module. | |
5643 | ||
37bb6d9f JB |
5644 | 2003-06-03 J. Brobecker <[email protected]> |
5645 | ||
5646 | * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace | |
5647 | references to struct frame_info fields by calls to the equivalent | |
5648 | accessors. Necessary now that frame_info is opaque. | |
5649 | ||
852ee05c JB |
5650 | 2003-06-03 J. Brobecker <[email protected]> |
5651 | ||
5652 | * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. | |
5653 | (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep | |
5654 | structure, field no longer exists. | |
5655 | ||
7d58c67d TR |
5656 | 2003-06-03 Theodore A. Roth <[email protected]> |
5657 | ||
8ffd9b1b | 5658 | * remote.c (init_remote_state): Compute sizeof_g_packet by |
7d58c67d TR |
5659 | accumulation of the size of all registers instead of blindly using |
5660 | DEPRECATED_REGISTER_BYTES. | |
5661 | ||
0a48e7e8 MS |
5662 | 2003-06-03 Michael Snyder <[email protected]> |
5663 | ||
5664 | * config/h8300/tm-h8300.h (h8300sxmode): Declare. | |
5665 | * h8300-tdep.c (h8300_gdbarch_init): Set machine mode | |
5666 | for h8300sx. | |
5667 | ||
9798ab0d JB |
5668 | 2003-06-03 J. Brobecker <[email protected]> |
5669 | ||
5670 | * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile. | |
5671 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. | |
5672 | ||
00b037e2 AC |
5673 | 2003-06-03 Andrew Cagney <[email protected]> |
5674 | ||
5675 | * sparc-tdep.c (sparc_convert_to_virtual): Delete function. | |
5676 | (sparc_convert_to_raw): Delete function. | |
5677 | (sparc_gdbarch_init): Do not set register_convert_to_raw or | |
5678 | register_convert_to_virtual. | |
5679 | ||
043b2f77 JJ |
5680 | 2003-06-03 Jeff Johnston <[email protected]> |
5681 | ||
5682 | * thread-db.c (thread_db_mourn_inferior): Unpush thread target | |
5683 | layer if not dealing with a statically-linked threaded program. | |
5684 | ||
f43caff8 KW |
5685 | 2003-06-03 Kris Warkentin <[email protected]> |
5686 | ||
5687 | * solib.c (solib_open): Update comment to reflect actual search order. | |
5688 | ||
ae1e7417 AC |
5689 | 2003-06-03 Andrew Cagney <[email protected]> |
5690 | ||
5691 | * frame.c (get_frame_memory_signed): New function. | |
5692 | (get_frame_memory, get_frame_memory_unsigned): New function. | |
5693 | (get_frame_arch): New function. | |
5694 | * frame.h (get_frame_signed_memory, get_frame_arch): Declare. | |
5695 | (get_frame_memory, get_frame_unsigned_memory): Declare. | |
5696 | * d10v-tdep.c (d10v_frame_unwind_cache): Use | |
5697 | get_frame_memory_unsigned and get_frame_arch. | |
5698 | (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto. | |
5699 | ||
cb123844 RG |
5700 | 2003-06-03 Raoul Gough <[email protected]> |
5701 | ||
5702 | * MAINTAINERS (write after approval): Add myself. | |
5703 | ||
1bb792e9 JB |
5704 | 2003-06-03 Jim Blandy <[email protected]> |
5705 | ||
5706 | * s390-nat.c (supply_gregset, fill_gregset): On the s390x, the | |
5707 | elements of gregset_t are 64 bits each, but access registers | |
5708 | are still 32 bits, so they're packed two per gregset_t | |
5709 | element. Unpack/pack them properly. | |
5710 | ||
aee8d8ba DC |
5711 | 2003-06-02 David Carlton <[email protected]> |
5712 | ||
5713 | * linespec.c (find_methods): Break out code into | |
5714 | add_matching_methods and add_constructors. | |
5715 | (add_matching_methods): New. | |
5716 | (add_constructors): Ditto. | |
5717 | ||
bf7488d2 AC |
5718 | 2003-06-02 Andrew Cagney <[email protected]> |
5719 | ||
bf7488d2 AC |
5720 | * sparc-tdep.c (sparc_print_registers): Delete call to |
5721 | REGISTER_CONVERTIBLE. | |
5722 | (sparc_gdbarch_init): Do not set register_convertible. | |
5723 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5724 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
5725 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
5726 | ||
adedef68 EZ |
5727 | 2003-06-02 Elena Zannoni <[email protected]> |
5728 | ||
8ffd9b1b | 5729 | * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. |
adedef68 EZ |
5730 | * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD. |
5731 | (syms_from_objfile): Ditto. | |
5732 | ||
650fcc91 AS |
5733 | 2003-06-03 Andreas Schwab <[email protected]> |
5734 | ||
5735 | * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ... | |
5736 | (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn. | |
5737 | ||
df4a182b RH |
5738 | 2003-06-02 Richard Henderson <[email protected]> |
5739 | ||
5740 | * alpha-tdep.c (alpha_register_reggroup_p): Zero is only | |
5741 | a member of all_reggroup. | |
5742 | ||
c483c494 RH |
5743 | 2003-06-02 Richard Henderson <[email protected]> |
5744 | ||
5745 | * alpha-tdep.c (alpha_register_type): Change from _virtual_type. | |
5746 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove. | |
5747 | (alpha_lds, alpha_sts): New. | |
5748 | (alpha_convert_register_p): Change from _register_convertible. | |
8ffd9b1b | 5749 | (alpha_register_to_value): Change from _convert_to_virtual; |
c483c494 RH |
5750 | restructure and fail for type sizes other than 4 or 8. |
5751 | (alpha_value_to_register): Similarly. | |
5752 | (alpha_extract_return_value): Use alpha_sts. | |
5753 | (alpha_store_return_value): Use alpha_lds. | |
5754 | (alpha_gdbarch_init): Update hooks. | |
5755 | ||
b38b6be2 RH |
5756 | 2003-06-02 Richard Henderson <[email protected]> |
5757 | ||
5758 | * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific | |
5759 | regnum identifiers. | |
5760 | (alpha_sigtramp_register_address): Likewise. | |
5761 | ||
98a8e1e5 RH |
5762 | 2003-06-02 Richard Henderson <[email protected]> |
5763 | ||
5764 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New. | |
5765 | (alpha_supply_fp_regs, alpha_fill_fp_regs): New. | |
5766 | * alpha-tdep.h: Declare them. | |
5767 | ||
5768 | * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping. | |
5769 | Remove zerobuf. Don't error on UNIQUE. | |
5770 | (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs. | |
5771 | (ALPHA_REGSET_UNIQUE): Provide default. | |
5772 | (supply_gregset): Use alpha_supply_int_regs. | |
5773 | (fill_gregset): Use alpha_fill_int_regs. | |
5774 | (supply_fpregset): Use alpha_supply_fp_regs. | |
5775 | (fill_fpregset): Use alpha_fill_fp_regs. | |
5776 | * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove. | |
5777 | (alphabsd_supply_reg): Use alpha_supply_int_regs. | |
5778 | (alphabsd_fill_reg): Use alpha_fill_int_regs. | |
5779 | (alphabsd_supply_fpreg): Use alpha_supply_fp_regs. | |
5780 | (alphabsd_fill_fpreg): Use alpha_fill_fp_regs. | |
5781 | * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New. | |
5782 | ||
67dfac52 RH |
5783 | 2003-06-02 Richard Henderson <[email protected]> |
5784 | ||
f75d70cc RH |
5785 | * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru. |
5786 | ||
67dfac52 RH |
5787 | * alpha-tdep.c (alpha_extract_return_value): Use internal_error. |
5788 | (alpha_store_return_value): Likewise. | |
5789 | ||
0cf566ec DC |
5790 | 2003-06-02 David Carlton <[email protected]> |
5791 | ||
5792 | * block.c (contained_in): Add 'const' to arguments. | |
5793 | (block_function): Ditto. | |
5794 | * block.h: Update declarations for block_function and | |
5795 | contained_in. | |
5796 | ||
cdef89d0 DC |
5797 | 2003-06-02 David Carlton <[email protected]> |
5798 | ||
5799 | * objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'. | |
5800 | * c-valprint.c (c_val_print): Delete unneeded variable 's'. | |
5801 | * p-valprint.c (pascal_val_print): Ditto. | |
5802 | * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'. | |
5803 | ||
72667056 RH |
5804 | 2003-06-02 Richard Henderson <[email protected]> |
5805 | ||
98a8e1e5 RH |
5806 | * alpha-tdep.c (alpha_push_dummy_call): Use |
5807 | builtin_type_ieee_double_little instead of builtin_type_double. | |
eb4edb88 | 5808 | |
8ffd9b1b | 5809 | * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated |
98a8e1e5 RH |
5810 | sign-extension of 32-bit values. |
5811 | (alpha_store_return_value): Similarly. | |
0ede8eca | 5812 | |
98a8e1e5 RH |
5813 | * alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types. |
5814 | (alpha_extract_return_value): Likewise. | |
5815 | (alpha_store_return_value): Likewise. | |
7b5e1cb3 | 5816 | |
98a8e1e5 RH |
5817 | * alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats. |
5818 | (alpha_store_return_value): Error on IEEE Quad floats. | |
24064b5c | 5819 | |
98a8e1e5 RH |
5820 | * alpha-tdep.c (alpha_extract_return_value): Convert to regcache. |
5821 | (alpha_extract_struct_value_address): Likewise. | |
5822 | (alpha_store_return_value): Likewise. | |
5823 | (alpha_store_struct_return): Remove. | |
5824 | (alpha_gdbarch_init): Update hook registration to match. | |
5ec2bb99 | 5825 | |
98a8e1e5 RH |
5826 | * alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of |
5827 | deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch | |
5828 | macros where appropriate. | |
5829 | (alpha_register_convert_to_raw): Similarly. Use unpack_long. | |
5830 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): New. | |
14696584 | 5831 | |
98a8e1e5 RH |
5832 | * alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr |
5833 | for SP, GP; void_func_ptr for PC; non-language-specific types | |
5834 | for all others. | |
5835 | * alpha-tdep.h (ALPHA_GP_REGNUM): New. | |
72667056 | 5836 | |
6dd77b81 RH |
5837 | 2003-06-02 Richard Henderson <[email protected]> |
5838 | ||
5839 | * top.h (lim_at_start): Declare. | |
5840 | * main.c (captured_main): Set it. | |
5841 | * top.c (lim_at_start): Define. | |
5842 | (command_loop): Use it instead of &environ. | |
5843 | * event-top.c (command_handler): Likewise. | |
5844 | ||
f4dbdb54 JT |
5845 | 2003-06-01 Jason Thorpe <[email protected]> |
5846 | ||
5847 | * mipsnbsd-tdep.c: Update copyright years. | |
5848 | (fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg. | |
5849 | ||
8f285956 RH |
5850 | 2003-06-01 Richard Henderson <[email protected]> |
5851 | ||
98a8e1e5 RH |
5852 | * Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c. |
5853 | (alpha-linux-tdep.o): Update dependencies. | |
5854 | (alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise. | |
5855 | * alpha-mdebug-tdep.c: Remove unneeded includes. | |
8f285956 | 5856 | |
615967cb RH |
5857 | 2003-06-01 Richard Henderson <[email protected]> |
5858 | ||
98a8e1e5 RH |
5859 | * alpha-tdep.c (alpha_register_reggroup_p): New. |
5860 | (alpha_gdbarch_init): Register it. | |
615967cb | 5861 | |
b59661bd AC |
5862 | 2003-06-02 Andrew Cagney <[email protected]> |
5863 | ||
5864 | * dwarfread.c: Eliminate "register" | |
5865 | (decode_die_type): Eliminate assignment within "if". | |
5866 | (struct_type, decode_array_element_type): Ditto. | |
5867 | (dwarf_read_array_type, read_tag_pointer_type): Ditto. | |
5868 | (read_subroutine_type, enum_type, add_enum_psymbol): Ditto. | |
5869 | (decode_modified_type, completedieinfo): Ditto. | |
5870 | * block.c: Eliminate "register". | |
5871 | (blockvector_for_pc_sect): Eliminate assignment within "if". | |
5872 | * cp-support.h (struct symbol): Opaque declaration. | |
5873 | * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free. | |
5874 | ||
5ef165c2 RH |
5875 | 2003-06-01 Richard Henderson <[email protected]> |
5876 | ||
98a8e1e5 RH |
5877 | * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ... |
5878 | (_initialize_alpha_tdep): ... not deprecated_tm_print_insn. | |
5ef165c2 | 5879 | |
143985b7 AF |
5880 | 2003-06-01 Adam Fedor <[email protected]> |
5881 | ||
5882 | * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT. | |
5883 | * gdbarch.[ch]: Regenerate. | |
5884 | * hppa-tdep.c (hppa_fetch_pointer_argument): New function. | |
5885 | (hppa_gdbarch_init): Set it in the gdbarch vector. | |
5886 | * i386-tdep.c (i386_fetch_pointer_argument): New | |
5887 | (i386_gdbarch_init): Set it into gdbarch. | |
5888 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): New. | |
5889 | (rs6000_gdbarch_init): Set it in gdbarch. | |
5890 | * sparc-tdep.c (sparc_fetch_pointer_argument): New | |
5891 | (sparc_gdbarch_init): Set it in gdbarch. | |
5892 | ||
ae0167b9 AC |
5893 | 2003-06-01 Andrew Cagney <[email protected]> |
5894 | ||
7c0b4a20 AC |
5895 | * defs.h (extract_address): Delete declaration. |
5896 | * findvar.c (extract_address): Delete function. | |
5897 | * xstormy16-tdep.c (xstormy16_extract_return_value): Replace | |
5898 | extract_address with the inline equivalent, | |
5899 | extract_unsigned_integer. | |
5900 | (xstormy16_extract_struct_value_address): Ditto. | |
5901 | (xstormy16_pointer_to_address): Ditto. | |
5902 | * vax-tdep.c (vax_extract_struct_value_address): Ditto. | |
5903 | * v850-tdep.c (v850_push_arguments): Ditto. | |
5904 | (v850_extract_return_value): Ditto. | |
5905 | (v850_extract_struct_value_address): Ditto. | |
5906 | * sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto. | |
5907 | (sparcnbsd_get_longjmp_target_64): Ditto. | |
5908 | * sparc-tdep.c (sparc_frame_saved_pc): Ditto. | |
5909 | (get_longjmp_target): Ditto. | |
5910 | * sh-tdep.c (sh_extract_struct_value_address): Ditto. | |
5911 | (sh64_extract_struct_value_address): Ditto. | |
5912 | (sh_push_arguments): Ditto. | |
5913 | (sh64_push_arguments): Ditto. | |
5914 | * remote-vxsparc.c (vx_read_register): Ditto. | |
5915 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto. | |
5916 | * ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto. | |
5917 | * mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto. | |
5918 | * mipsv4-nat.c (get_longjmp_target): Ditto. | |
5919 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto. | |
5920 | * mips-nat.c (get_longjmp_target): Ditto. | |
5921 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto. | |
5922 | * mcore-tdep.c (mcore_extract_struct_value_address): Ditto. | |
5923 | * m68k-tdep.c (m68k_get_longjmp_target): Ditto. | |
5924 | * m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto. | |
5925 | * irix5-nat.c (get_longjmp_target): Ditto. | |
5926 | * irix4-nat.c (get_longjmp_target): Ditto. | |
5927 | * ia64-tdep.c (generic_elf_find_global_pointer): Ditto. | |
5928 | (ia64_push_arguments): Ditto. | |
5929 | * hpux-thread.c (hpux_thread_store_registers): Ditto. | |
5930 | * h8300-tdep.c (h8300_push_arguments): Ditto. | |
5931 | (h8300_store_return_value): Ditto. | |
5932 | (h8300_extract_struct_value_address): Ditto. | |
5933 | * frv-tdep.c (frv_extract_struct_value_address): Ditto. | |
5934 | (frv_push_arguments): Ditto. | |
5935 | * avr-tdep.c (avr_pointer_to_address): Ditto. | |
5936 | (avr_push_arguments): Ditto. | |
5937 | * arm-tdep.c (arm_push_dummy_call): Ditto. | |
5938 | (arm_get_longjmp_target): Ditto. | |
5939 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
5940 | * alpha-tdep.c (alpha_extract_struct_value_address): Ditto. | |
5941 | (alpha_get_longjmp_target): Ditto. | |
5942 | ||
ae0167b9 AC |
5943 | * solib-irix.c (extract_mips_address): Inline extract_address, |
5944 | replacing it with extract_signed_integer. | |
5945 | * solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
5946 | (LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto. | |
5947 | (first_link_map_member, open_symbol_file_object): Ditto. | |
5948 | (svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto. | |
5949 | * solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
5950 | (LM_NEXT, LM_NAME): Ditto. | |
5951 | ||
44d88583 RH |
5952 | 2003-06-01 Richard Henderson <[email protected]> |
5953 | ||
98a8e1e5 RH |
5954 | * alpha-tdep.h (ALPHA_FP_REGNUM): Remove. |
5955 | * alpha-tdep.c (alpha_register_name): Remove vfp entry. | |
5956 | (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM. | |
5957 | (alpha_cannot_store_register): Likewise. | |
5958 | * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM. | |
5959 | * alpha-nat.c (supply_gregset): Likewise. | |
5960 | * alphanbsd-tdep.c (fetch_core_registers): Likewise. | |
44d88583 | 5961 | |
310e9b6a AC |
5962 | 2003-06-01 Andrew Cagney <[email protected]> |
5963 | ||
5964 | * infcall.c (call_function_by_hand): Update comment on | |
5965 | DEPRECATED_DUMMY_WRITE_SP. | |
5966 | ||
5967 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
5968 | deprecated_dummy_write_sp. | |
5969 | (mips_eabi_push_dummy_call): Set the SP register. | |
5970 | (mips_o64_push_dummy_call): Set the SP register. | |
5971 | (mips_o32_push_dummy_call): Set the SP register. | |
5972 | (mips_n32n64_push_dummy_call): Set the SP register. | |
5973 | ||
5ab84872 RH |
5974 | 2003-06-01 Richard Henderson <[email protected]> |
5975 | ||
98a8e1e5 RH |
5976 | * alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE |
5977 | instead of ALPHA_MAX_REGISTER_RAW_SIZE. | |
5978 | (supply_gregset): Likewise. | |
5979 | * alpha-tdep.c (alpha_store_return_value): Likewise. | |
5980 | (alpha_get_longjmp_target): Likewise. | |
5981 | (alpha_register_name): Constify array. | |
5982 | (alpha_gdbarch_init): Remove deprecated_fp_regnum, | |
5983 | deprecated_register_size, deprecated_register_bytes, | |
5984 | deprecated_max_register_raw_size, deprecated_max_register_virtual_size. | |
5985 | * alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove. | |
5986 | (ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
5ab84872 | 5987 | |
09cc52fd RH |
5988 | 2003-06-01 Richard Henderson <[email protected]> |
5989 | ||
5990 | * alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies | |
5991 | from arg_reg_buffer to regcache to avoid double conversion. | |
5992 | ||
c7f16359 MK |
5993 | 2003-06-01 Mark Kettenis <[email protected]> |
5994 | ||
5995 | * i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of | |
5996 | SP_REGNUM. | |
5997 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise. | |
5998 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise. | |
5999 | ||
7131cb6e RH |
6000 | 2003-06-01 Richard Henderson <[email protected]> |
6001 | ||
98a8e1e5 RH |
6002 | * dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation. |
6003 | (decode_frame_entry): Set it. Skip FDE augmentation. | |
7131cb6e | 6004 | |
f3e0f90b RH |
6005 | 2003-06-01 Richard Henderson <[email protected]> |
6006 | ||
98a8e1e5 RH |
6007 | * dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column |
6008 | not overlapping PC_REGNUM. | |
f3e0f90b | 6009 | |
c88e30c0 RH |
6010 | 2003-06-01 Richard Henderson <[email protected]> |
6011 | ||
98a8e1e5 RH |
6012 | * alpha-tdep.c (alpha_push_dummy_call): Transmography from |
6013 | alpha_push_arguments. Don't dump argument register data to | |
6014 | the target stack. Fix float and 128-bit long double semantics. | |
6015 | Store $t12 and $ra as specified by the ABI. Use regcache everywhere. | |
6016 | (alpha_fix_call_dummy): Remove. | |
6017 | (alpha_call_dummy_words): Remove. | |
6018 | (alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call. | |
c88e30c0 | 6019 | |
f1a559ae RH |
6020 | 2003-06-01 Richard Henderson <[email protected]> |
6021 | ||
6022 | * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder. | |
6023 | ||
5e045346 AC |
6024 | 2003-06-01 Andrew Cagney <[email protected]> |
6025 | ||
95404a3e AC |
6026 | * mips-tdep.c (is_mips16_addr): New function. |
6027 | (make_mips16_addr, unmake_mips16_addr): New functions. | |
6028 | (pc_is_mips16, mips_fetch_instruction): Use. | |
6029 | (gdb_print_insn_mips, mips_breakpoint_from_pc): Use. | |
6030 | (gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH. | |
6031 | (mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH, | |
6032 | UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and | |
6033 | TARGET_MIPS. | |
6034 | * config/mips/tm-mips.h: Update copyright. | |
6035 | (TARGET_MIPS, TM_PRINT_INSN_MACH): Delete. | |
6036 | (DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete. | |
6037 | (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete. | |
6038 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete. | |
6039 | (TM_PRINT_INSN_MACH): Delete. | |
6040 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete. | |
6041 | ||
5e045346 AC |
6042 | * configure.tgt: Replace mips64*vr4xxx*el-*-elf*, |
6043 | mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*, | |
6044 | mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*, | |
6045 | mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and | |
6046 | mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete | |
6047 | mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto | |
6048 | mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*, | |
6049 | mips*-*-riscos* and mips*-*-sysv* onto mips. | |
6050 | * config/mips/mips64.mt: New file. | |
6051 | * config/mips/mips.mt: New file. | |
6052 | * config/mips/littlemips.mt: Delete file. | |
6053 | * config/mips/decstation.mt: Delete file. | |
6054 | * config/mips/vr4300el.mt: Delete file. | |
6055 | * config/mips/vr5000el.mt: Delete file. | |
6056 | * config/mips/vr5000.mt: Delete file. | |
6057 | * config/mips/vr4100.mt: Delete file. | |
6058 | * config/mips/vr4xxxel.mt: Delete file. | |
6059 | * config/mips/vr4300.mt: Delete file. | |
6060 | * config/mips/vr4xxx.mt: Delete file. | |
6061 | * config/mips/bigmips.mt: Delete file. | |
6062 | * config/mips/bigmips64.mt: Delete file. | |
6063 | * config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h". | |
6064 | * config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h". | |
6065 | * config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h" | |
6066 | * config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h". | |
6067 | * config/mips/tm-tx39.h: Include "tm-mips.h" instead of | |
6068 | "tm-bigmips.h". | |
6069 | * config/mips/tm-irix3.h: Ditto. | |
6070 | * config/mips/tm-mipsv4.h: Ditto. | |
6071 | * config/mips/tm-embed.h: Ditto. | |
6072 | * config/mips/tm-irix6.h: Include "tm-mips64.h" instead of | |
6073 | "tm-bigmips64.h". | |
6074 | * config/mips/tm-vr5000el.h: Delete file. | |
6075 | * config/mips/tm-tx39l.h: Delete file. | |
6076 | * config/mips/tm-vr4300el.h: Delete file. | |
6077 | * config/mips/tm-vr4xxxel.h: Delete file. | |
6078 | * config/mips/tm-vr4300.h: Delete file. | |
6079 | * config/mips/tm-vr4100.h: Delete file. | |
6080 | * config/mips/tm-vr4xxx.h: Delete file. | |
6081 | * config/mips/tm-vr5000.h: Delete file. | |
6082 | * config/mips/tm-embedl64.h: Delete file. | |
6083 | * config/mips/tm-embedl.h: Delete file. | |
6084 | * config/mips/tm-embed64.h: Delete file. | |
6085 | * config/mips/tm-bigmips64.h: Delete file. | |
6086 | * config/mips/tm-bigmips.h: Delete file. | |
6087 | ||
2473a4a9 MK |
6088 | 2003-06-01 Mark Kettenis <[email protected]> |
6089 | ||
97a5b208 MK |
6090 | Fix gdb/1216. |
6091 | * shnbsd-nat.c: Include "sh-tdep.h". | |
6092 | ||
2473a4a9 MK |
6093 | From Richard Henderson <[email protected]>: |
6094 | * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic. | |
6095 | ||
e0f7ec59 AC |
6096 | 2003-05-31 Andrew Cagney <[email protected]> |
6097 | ||
6098 | * mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add | |
6099 | forward declaration. | |
6100 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
6101 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
6102 | (mips_find_saved_regs): Use set_reg_offset. | |
6103 | (mips_frame_init_saved_regs): Delete function. | |
6104 | (mips_pop_frame): Call mips_find_saved_regs instead of | |
6105 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
6106 | ||
68dcc709 AC |
6107 | 2003-05-31 Andrew Cagney <[email protected]> |
6108 | ||
6109 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
6110 | deprecated_max_register_raw_size, register_virtual_size, and | |
6111 | deprecated_max_register_virtual_size. | |
6112 | ||
cfc14b3a MK |
6113 | 2003-05-31 Mark Kettenis <[email protected]> |
6114 | ||
6405b0a6 MK |
6115 | * i386-tdep.c: Include "dwarf2-frame.h". |
6116 | (i386_gdbarch_init): Hook in the DWARF CFI frame unwinder. | |
6117 | * Makefile.in (i386-tdep.o): Update dependencies. | |
6118 | ||
cfc14b3a MK |
6119 | * dwarf2-frame.c, dwarf2-frame.h: New files. |
6120 | * Makefile.in (SFILES): Add dwarf2-frame.c. | |
6121 | (dwarf2_frame_h): Define. | |
6122 | (COMMON_OBS): Add dwarf2-frame.o. | |
6123 | (dwarf2-frame.o): Add dependencies. | |
6124 | ||
6a2751d2 AJ |
6125 | 2003-05-31 Andreas Jaeger <[email protected]> |
6126 | ||
6127 | * x86-64-linux-nat.c: Fix comment. | |
6128 | ||
1c3545ae MK |
6129 | 2003-05-31 Mark Kettenis <[email protected]> |
6130 | ||
10f93086 MK |
6131 | * x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed |
6132 | function signature. | |
6133 | ||
1c3545ae MK |
6134 | * i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we |
6135 | have a sigcontext_addr handler. | |
6136 | * x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a | |
6137 | sigcontext_addr handler. | |
6138 | ||
e11c53d2 AC |
6139 | 2003-05-31 Andrew Cagney <[email protected]> |
6140 | ||
6141 | * mips-tdep.c (print_gp_register_row): Replace do_gp_register_row. | |
6142 | (print_fp_register_row): Replace do_fp_register_row. | |
6143 | (mips_print_fp_register): Add "file" and "frame" parameters. | |
6144 | (mips_print_register): Add "file" and "frame" parameters. | |
6145 | (mips_print_registers_info): Replace mips_do_registers_info. | |
6146 | (mips_gdbarch_init): Set print_registers_info instead of | |
6147 | deprecated_do_registers_info. | |
6148 | (mips_read_fp_register_single): Add "frame" parameter. | |
6149 | (mips_read_fp_register_double): Add "frame" parameter. | |
6150 | ||
a3386186 MK |
6151 | 2003-05-31 Mark Kettenis <[email protected]> |
6152 | ||
70913449 MK |
6153 | * i386-tdep.c (i386_register_name): Check for MMX registers first. |
6154 | Fixes a bug where GDB would print the wrong register names for | |
6155 | targets without SSE. | |
6156 | ||
2b5e0749 MK |
6157 | * x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS. |
6158 | (x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
6159 | registers. | |
6160 | ||
6161 | * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable. | |
6162 | (x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and | |
6163 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
6164 | TDEP->sc_sp_offset. | |
6165 | ||
a3386186 MK |
6166 | From Michal Ludvig <[email protected]>: |
6167 | * i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset' | |
6168 | and `sc_num_regs'. | |
6169 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
6170 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
6171 | I386_ST0_REGNUM): Move here from... | |
6172 | * i386-tdep.c: ... here. | |
6173 | (I386_NUM_SAVED_REGS): Define to I386_NUM_REGS. | |
6174 | (i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
6175 | registers if possible. | |
6176 | (i386_gdbarch_init): Initialize TDEP->sc_reg_offset. | |
6177 | * i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset): | |
6178 | Remove variables. | |
6179 | (i386bsd_sc_reg_offset): New variable. | |
6180 | (i386bsd_init_abi): Initialize TDEP->sc_reg_offset and | |
6181 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
6182 | TDEP->sc_sp_offset. | |
6183 | (i386fbsd_sc_reg_offset): New variable. | |
6184 | (i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and | |
6185 | TDEP->sc_num_regs. | |
6186 | (i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove | |
6187 | variables. | |
6188 | (i386fbsd4_sc_reg_offset): New variable. | |
6189 | (i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and | |
6190 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
6191 | TDEP->sc_sp_offset. | |
6192 | * i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable. | |
6193 | (i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs. | |
6194 | * i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset): | |
6195 | Remove variables. | |
6196 | (i386nbsd_sc_reg_offset): New variable. | |
6197 | (i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and | |
6198 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
6199 | TDEP->sc_sp_offset. | |
6200 | * i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset): | |
6201 | Remove variables. | |
6202 | (i386obsd_sc_reg_offset): New variable. | |
6203 | (i386obsd_init_abi): Initialize TDEP->sc_reg_offset and | |
6204 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
6205 | TDEP->sc_sp_offset. | |
6206 | * i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in | |
6207 | i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check | |
6208 | for frame pointer offset in `struct sigcontext'. | |
6209 | ||
25ab4790 AC |
6210 | 2003-05-31 Andrew Cagney <[email protected]> |
6211 | ||
6212 | * mips-tdep.c (mips_gdbarch_init): Do not set the deprecated | |
6213 | architecture methods call_dummy_words, sizeof_call_dummy_words, | |
6214 | push_return_address, store_struct_return, and fix_call_dummy. Set | |
6215 | push_dummy_call instead of deprecated_push_arguments. | |
6216 | (mips_store_struct_return): Delete function. | |
6217 | (mips_fix_call_dummy): Delete function. | |
6218 | (mips_push_return_address): Delete function. | |
6219 | (mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set | |
6220 | RA_REGNUM and T9_REGNUM. | |
6221 | (mips_n32n64_push_dummy_call): Ditto for | |
6222 | mips_n32n64_push_arguments. | |
6223 | (mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments. | |
6224 | (mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments. | |
6225 | ||
6a65450a AC |
6226 | 2003-05-31 Andrew Cagney <[email protected]> |
6227 | ||
6228 | * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename | |
6229 | "dummy_addr" to "bp_addr". | |
6230 | * infcall.c (call_function_by_hand): Pass "funaddr" to | |
6231 | gdbarch_push_dummy_call. | |
6232 | * gdbarch.h, gdbarch.c: Re-generate. | |
6233 | * i386-tdep.c (i386_push_dummy_call): Update. | |
6234 | * arm-tdep.c (arm_push_dummy_call): Update. | |
6235 | * d10v-tdep.c (d10v_push_dummy_call): Update. | |
6236 | ||
c4f35dd8 MK |
6237 | 2003-05-31 Mark Kettenis <[email protected]> |
6238 | ||
6239 | * x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove | |
6240 | variable declarations. | |
6241 | (x86_64_register_number, x86_64_register_name): Remove prototypes. | |
6242 | (x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call, | |
6243 | x86_64_linux_in_sigtramp, x86_64_linux_frame_chain, | |
6244 | x86_64_init_frame_pc, x86_64_init_frame_pc, | |
6245 | x86_64_function_has_prologue): Remove prototypes. | |
6246 | (X86_64_NUM_GREGS): New define. | |
6247 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes. | |
6248 | * x86-64-tdep.c: Don't include "dwarf2cfi.h". Include | |
6249 | "dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h". | |
6250 | (RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM, | |
6251 | XMM1_REGNUM): Remove defines. | |
6252 | (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM, | |
6253 | X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM, | |
6254 | X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, | |
6255 | X86_64_XMM1_REGNUM): New defines. | |
6256 | (struct x86_64_register_info): Renamed from `struct | |
6257 | register_info'. Remove `size' member. | |
6258 | (x86_64_register_info_table): Remove variable. | |
6259 | (x86_64_register_info): New variable. | |
6260 | (X86_64_NUM_REGS): New define. | |
6261 | (X86_64_NUM_GREGS): Remove define. | |
6262 | (x86_64_num_regs, x86_64_num_gregs): Remove variables. | |
6263 | (x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length): | |
6264 | Remove variables. | |
6265 | (x86_54_dwarf2_reg_to_regnum): Remove function. | |
6266 | (x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables. | |
6267 | (x86_64_dwarf_reg_to_regnum): New function. | |
6268 | (x86_64_register_name): Rewrite. | |
6269 | (x86_64_register_raw_size): Remove function. | |
6270 | (x86_64_register_byte_table): Remove variable. | |
6271 | (x86_64_register_byte): Remove function. | |
6272 | (x86_64_register_virtual_type): Remove function. | |
6273 | (x86_64_register_type): New function. | |
6274 | (x86_64_register_convertible, x86_64_register_convert_to_virtual, | |
6275 | x86_64_register_convert_to_raw): Remove functions. | |
6276 | (x86_64_push_return_address, x86_64_pop_frame): Remove functon. | |
6277 | (x86_64_use_struct_convention): Make static. Adjust for renamed | |
6278 | defines. | |
6279 | (x86_64_frame_init_saved_regs): Remove function. | |
6280 | (x86_64_push_arguments): Make static. Change to accept a regcache | |
6281 | as argument. | |
6282 | (x86_64_store_return_value, x86_64_extract_return_value): Make | |
6283 | static. Rewrite based on i386 counterparts. | |
6284 | (x86_64_push_dummy_call): New function. | |
6285 | (X86_64_NUM_SAVED_REGS): New define. | |
6286 | (x86_64_register_number): Remove function. | |
6287 | (x86_64_store_struct_return): Remove function. | |
6288 | (x86_64_frameless_function_invocation, | |
6289 | x86_64_function_has_prologue): Remove functions. | |
6290 | (PROLOG_BUFSIZE): Remove define. | |
6291 | (struct x86_64_frame_cache): New structure. | |
6292 | (x86_64_alloc_frame_cache, x86_64_analyze_prologue, | |
6293 | x86_64_frame_cache, x86_64_frame_this_id, | |
6294 | x86_64_frame_prev_register, x86_64_frame_p, | |
6295 | x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id, | |
6296 | x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New | |
6297 | functions. | |
6298 | (x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New | |
6299 | variables. | |
6300 | (x86_64_skip_prologue): Rewrite in terms of | |
6301 | x86_64_analyze_prologue. | |
6302 | (x86_64_frame_base_address): New function. | |
6303 | (x86_64_frame_base): New variable. | |
6304 | (x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite. | |
6305 | (x86_64_init_abi): Set register_type and push_dummy_call. Don't | |
6306 | set deprecated_fp_regnum, deprecated_register_size, | |
6307 | deprecated_register_bytes, register_raw_size, register_byte, | |
6308 | register_virtual_type, register_convertiable, | |
6309 | register_convert_to_virtual, convert_to_raw, | |
6310 | deprecated_get_saved_register, deprecated_target_read_fp, | |
6311 | deprecated_push_arguments, deprecated_push_return_address, | |
6312 | deprecated_pop_frame, deprecated_store_struct_return, | |
6313 | deprecated_frame_init_saved_regs, deprecated_frame_chain, | |
6314 | frameless_function_invocation, deprecated_frame_saved_pc, | |
6315 | deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp, | |
6316 | dwarf2_build_frame_info, deprecated_init_extra_frame_info, | |
6317 | deprecated_init_frame_pc and virtual_frame_pointer. Call | |
6318 | frame_unwind_append_predicate to register x86_64_sigtramp_frame_p | |
6319 | and x86_64_frame_p. Call frame_base_set_default to register | |
6320 | x86_64_frame_base. | |
6321 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines. | |
6322 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New functions. | |
6323 | (_initialize_x86_64_tdep): Remove function. | |
6324 | * x86-64-linux-tdep.c: Don't include "dwarf2cfi.h". | |
6325 | (LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET, | |
6326 | LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't | |
6327 | define. | |
6328 | (X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define. | |
6329 | (x86_64_linux_sigcontext_addr): Rewrite. | |
6330 | (x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call, | |
6331 | x86_64_linux_frame_saved_pc): Remove functions. | |
6332 | (x86_64_linux_pc_in_sigtramp): Renamed from | |
6333 | x86_64_linux_in_sigtramp. Try harder to recognize a signal | |
6334 | trampoline. | |
6335 | (x86_64_linux_frame_chain, x86_64_init_frame_pc): | |
6336 | Remove_functions. | |
6337 | (x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize | |
6338 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
6339 | * x86-64-linux-nat.c: Sync with i386-linux-tdep.c. | |
6340 | (x86_64_regmap): Rename to regmap. | |
6341 | (GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of | |
6342 | x86_64_num_gregs. | |
6343 | (supply_gregset, fill_gregset): Likewise. Use regmap instead of | |
6344 | x86_64_regmap. | |
6345 | (x86_64_fxsave_offset): Remove function. | |
6346 | (supply_fpregset): Simply call x86_64_supply_fxsave. | |
6347 | (fill_fpregset): Simply call x86_64_fill_fxsave. | |
6348 | (fetch_inferior_registers, store_inferior_registers): Avoid | |
6349 | asignment in if-statement. | |
6350 | (LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn, | |
6351 | SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET, | |
6352 | LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines. | |
6353 | (fetch_core_registers): Remove function. | |
6354 | (linux_elf_core_fns): Remove. | |
6355 | (offsetoff): Don't define. | |
6356 | (_initialize_x86_64_linux_nat, kernel_u_size): Remove functions. | |
6357 | * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o. | |
6358 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o, | |
6359 | add core-regset.o. | |
6360 | * config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for | |
6361 | protection against multiple includes instead of NM_X86_64_h. Add | |
6362 | various comments. Include "config/nm-linux.h". Don't include | |
6363 | <signal.h>. | |
6364 | (REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR, | |
6365 | GET_THREAD_SIGNALS): Remove defines. | |
6366 | (x86_64_register_u_addr, kernel_u_size, | |
6367 | lin_thread_get_thread_signals): Remove prototypes. | |
6368 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'. | |
6369 | [HAVE_LINK_H]: Don't include "solib.h". | |
6370 | [HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define. | |
6371 | * config/i386/tm-x86-64linux.h: Fix comments. | |
6372 | * Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o, | |
6373 | x86-64-tdep.o): Update dependencies. | |
6374 | ||
c25083af AC |
6375 | 2003-05-30 Andrew Cagney <[email protected]> |
6376 | ||
c8f55a7b AC |
6377 | * config/sparc/tm-sparc.h (sparc_extract_struct_value_address): |
6378 | Change parameter type to a "struct regcache *". | |
6379 | ||
c25083af AC |
6380 | * gdbarch.sh: Regardless of the multi-arch level, always define |
6381 | the macro when not already defined. | |
6382 | * gdbarch.h, gdbarch.c: Re-generate. | |
6383 | ||
fbe586ae RH |
6384 | 2003-05-30 Richard Henderson <[email protected]> |
6385 | ||
6386 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues. | |
6387 | (alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder. | |
6388 | (alpha_mdebug_frame_this_id): Likewise. | |
6389 | (alpha_mdebug_frame_prev_register): Likewise. | |
6390 | (alpha_mdebug_frame_base_address): Likewise. | |
6391 | (alpha_mdebug_frame_locals_address): Likewise. | |
6392 | (alpha_mdebug_frame_args_address): Likewise. | |
6393 | (struct alpha_mdebug_unwind_cache): Remove in_prologue_cache. | |
6394 | * alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start. | |
6395 | (alpha_heuristic_frame_unwind_cache): Make static; add missing | |
6396 | loop increment. | |
6397 | (alpha_heuristic_frame_this_id): Make static. | |
6398 | (alpha_heuristic_frame_prev_register): Likewise. | |
6399 | (alpha_heuristic_frame_base_address): Likewise. | |
6400 | * alpha-tdep.h: Update. | |
6401 | ||
acd5c798 MK |
6402 | 2003-05-30 Mark Kettenis <[email protected]> |
6403 | ||
6404 | * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype. | |
6405 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove | |
6406 | defenitions. | |
6407 | (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions. | |
6408 | * i386-tdep.c: Mark functions that are 64-bit safe as such. | |
6409 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
6410 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
6411 | I386_ST0_REGNUM): New defines. | |
6412 | (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek, | |
6413 | codestream_get): Remove define. | |
6414 | (codestream_next_addr, condestream_addr, condestream_buf, | |
6415 | codestream_off, codestream_cnt): Remove variables. | |
6416 | (codestream_fill, codestream_seek, codestream_read): Remove | |
6417 | functions. | |
6418 | (i386_follow_jump): Rewrite to avoid usage of removed codestream | |
6419 | functionality. | |
6420 | (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain, | |
6421 | i386_sigtramp_saved_pc, i386_sigtramp_saved_sp, | |
6422 | i386_frame_saved_pc, i386_saved_pc_after_call, | |
6423 | i386_frame_num_args, i386_frame_init_saved_regs, | |
6424 | i386_push_return_address, i386_do_pop_frame, i386_pop_frame, | |
6425 | i386_push_arguments): Remove functions. | |
6426 | (i386_skip_prologue): Rewrite to avoid usage of removed codestream | |
6427 | functionality. Use i386_analyze_prologue instead of | |
6428 | i386_get_frame_setup. | |
6429 | (I386_NUM_SAVED_REGS): New define. | |
6430 | (struct i386_frame_cache): New structure. | |
6431 | (i386_alloc_frame_cache, i386_analyze_struct_return, | |
6432 | i386_skip_probe, i386_analyze_frame_setup, | |
6433 | i386_analyze_register_saves, i386_analyze_prologue, | |
6434 | i386_unwind_pc, i386_frame_cache, i386_frame_this_id, | |
6435 | i386_frame_prev_register, i386_sigtramp_frame_cache, | |
6436 | i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register, | |
6437 | i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address, | |
6438 | i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call): | |
6439 | New functions. | |
6440 | (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base): | |
6441 | New variables. | |
6442 | (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of | |
6443 | I386_EAX_REGNUM and I386_EDX_REGNUM. | |
6444 | (i386_extract_return_value, i386_store_return_value): Use | |
6445 | I386_ST0_REGNUM where appropriate. | |
6446 | (i386_extract_struct_value_address): Rewrite to use extract_address. | |
6447 | (i386_svr4_pc_in_sigtramp): Add comment. | |
6448 | (i386_svr4_sigcontext_addr): Rewrite. | |
6449 | (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and | |
6450 | TDEP->sc_sp_offset. | |
6451 | (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set | |
6452 | sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms | |
6453 | of new defines. Set push_dummy_call, don't set | |
6454 | deprecated_push_arguments, deprecated_push_return_address, | |
6455 | deprecated_pop_frame. Don't set parm_boundary. Don't set | |
6456 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
6457 | deprecated_saved_pc_after_call. Set unwind_dummy_id, | |
6458 | save_dummy_frame_tos, unwind_pc. Call | |
6459 | frame_unwind_append_predicate and frame_base_set_default. Don't | |
6460 | set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum. | |
6461 | Don't set frameless_function_invocation. Don't set | |
6462 | deprecated_register_bytes, deprecated_register_size, | |
6463 | deprecated_call_dummy_words and deprecated_sizeof_call_dummy. | |
6464 | * i386-linux-tdep.c: Fix formatting in some comments. | |
6465 | (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0, | |
6466 | LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1, | |
6467 | LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, | |
6468 | LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, | |
6469 | LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop | |
6470 | redundant parentheses. | |
6471 | (I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define. | |
6472 | (i386_linux_sigcontext_addr): Use it. Rewrite. | |
6473 | (find_minsym_and_objfile): Change name of second argument. | |
6474 | (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers | |
6475 | changed. Use frame_pc_unwind instead of | |
6476 | DEPRECATED_SAVED_PC_AFTER_CALL. | |
6477 | (i386_linux_init_abi): Don't set deprecated_register_bytes. | |
6478 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite. | |
6479 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame | |
6480 | unwinder. | |
6481 | * i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and | |
6482 | "dummy-frame.h". | |
6483 | (i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed. | |
6484 | (_initialize_i386_cygwin_tdep): New prototype. | |
6485 | (i386_cygwin_init_abi): Don't set deprecated_frame_chain and | |
6486 | deprecated_frame_chain_valid. | |
6487 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set | |
6488 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
6489 | Rely on the SVR4 defaults. | |
6490 | * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o. | |
6491 | * Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies. | |
6492 | ||
c89b70f1 AC |
6493 | 2003-05-30 Andrew Cagney <[email protected]> |
6494 | ||
6495 | * infcall.c (call_function_by_hand): Always call | |
6496 | DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case. | |
6497 | ||
85b32d22 RH |
6498 | 2003-05-30 Richard Henderson <[email protected]> |
6499 | ||
c89b70f1 AC |
6500 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop |
6501 | increment. | |
85b32d22 | 6502 | |
bfe51b1e JB |
6503 | 2003-05-29 Jim Blandy <[email protected]> |
6504 | ||
6505 | Use gdbarch methods for solib stuff on PowerPC Linux. | |
6506 | * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, | |
6507 | SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will | |
6508 | show through. | |
6509 | * ppc-linux-tdep.c (ppc_linux_init_abi): Register | |
6510 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, | |
6511 | giving the same effect as the #definitions above. | |
6512 | ||
1abf022c AF |
6513 | 2003-05-29 Adam Fedor <[email protected]> |
6514 | ||
6515 | * objc-lang.c (CONVERT_FUNCPTR): Remove macro | |
6516 | (find_implementation_from_class): Replace it with the standard | |
6517 | case i.e. do nothing. | |
6518 | ||
d2427a71 RH |
6519 | 2003-05-29 Richard Henderson <[email protected]> |
6520 | ||
6521 | * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New. | |
6522 | (alpha_linux_sigtramp_offset): Use it. Make static. | |
6523 | (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn; | |
6524 | update for new frame model. | |
6525 | * alpha-mdebug-tdep.c: New file. | |
6526 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c. | |
6527 | (alpha_osf1_init_abi): Install it. | |
6528 | * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c. | |
6529 | (linked_proc_desc_table): Remove. | |
6530 | (alpha_frame_past_sigtramp_frame): Remove. | |
6531 | (alpha_dynamic_sigtramp_offset): Remove. | |
6532 | (ALPHA_PROC_SIGTRAMP_MAGIC): Remove. | |
6533 | (alpha_proc_desc_is_dyn_sigtramp): Remove. | |
6534 | (alpha_set_proc_desc_is_dyn_sigtramp): Remove. | |
6535 | (push_sigtramp_desc): Remove. | |
6536 | (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM. | |
6537 | (alpha_cannot_store_register): Likewise. | |
6538 | (alpha_sigcontext_addr): Remove. | |
6539 | (alpha_find_saved_regs): Remove. | |
6540 | (alpha_frame_init_saved_regs): Remove. | |
6541 | (alpha_init_frame_pc_first): Remove. | |
6542 | (read_next_frame_reg): Remove. | |
6543 | (alpha_frame_saved_pc): Remove. | |
6544 | (alpha_saved_pc_after_call): Remove. | |
6545 | (temp_proc_desc, temp_saved_regs): Remove. | |
6546 | (alpha_about_to_return): Remove. | |
6547 | (cached_proc_desc): Remove. | |
6548 | (alpha_frame_chain): Remove. | |
6549 | (alpha_print_extra_frame_info): Remove. | |
6550 | (alpha_init_extra_frame_info): Remove. | |
6551 | (alpha_frame_locals_address): Remove. | |
6552 | (alpha_frame_args_address): Remove. | |
6553 | (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR. | |
6554 | (alpha_push_dummy_frame): Remove. | |
6555 | (alpha_pop_frame): Remove. | |
6556 | (alpha_after_prologue): Rename from after_prologue; remove mdebug bits. | |
6557 | (alpha_read_insn): New. | |
6558 | (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust | |
6559 | for different insn encodings. | |
6560 | (alpha_in_lenient_prologue): Remove. | |
6561 | (struct alpha_sigtramp_unwind_cache): New. | |
6562 | (alpha_sigtramp_frame_unwind_cache): New. | |
6563 | (alpha_sigtramp_register_address): New. | |
6564 | (alpha_sigtramp_frame_this_id): New. | |
6565 | (alpha_sigtramp_frame_prev_register): New. | |
6566 | (alpha_sigtramp_frame_unwind): New. | |
6567 | (alpha_sigtramp_frame_p): New. | |
6568 | (struct alpha_heuristic_unwind_cache): New. | |
6569 | (alpha_heuristic_proc_start): Rename from heuristic_proc_start; | |
6570 | don't count nop insns that occur between functions. | |
6571 | (alpha_heuristic_frame_unwind_cache): New; incorporate much of | |
6572 | heuristic_proc_desc, but without the mdebug wrapping. | |
6573 | (alpha_heuristic_frame_this_id): New. | |
6574 | (alpha_heuristic_frame_prev_register): New. | |
6575 | (alpha_heuristic_frame_unwind): New. | |
6576 | (alpha_heuristic_frame_p): New. | |
6577 | (alpha_heuristic_frame_base_address): New. | |
6578 | (alpha_heuristic_frame_base): New. | |
6579 | (alpha_unwind_dummy_id): New. | |
6580 | (alpha_unwind_pc): New. | |
6581 | (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of | |
6582 | frame related deprecated initializations; install replacements. | |
6583 | (alpha_dump_tdep): Remove. | |
6584 | * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame. | |
6585 | (alpha_read_insn, alpha_after_prologue, | |
6586 | alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id, | |
6587 | alpha_heuristic_frame_prev_register, | |
6588 | alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare. | |
6589 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
6590 | * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove. | |
6591 | * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove. | |
6592 | ||
93ec1121 AC |
6593 | 2003-05-29 Andrew Cagney <[email protected]> |
6594 | ||
6595 | * gdb_assert.h (gdb_assert_fail): Provide different definitions | |
6596 | dependant on the availability of ASSERT_FUNCTION. | |
6597 | (ASSERT_FUNCTION): Do not define when there is no function name. | |
6598 | ||
98f08d3d KB |
6599 | 2003-05-29 Kevin Buettner <[email protected]> |
6600 | ||
6601 | From Jimi X <[email protected]>: | |
6602 | * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code. | |
6603 | ||
0897f59b JB |
6604 | 2003-05-28 Jim Blandy <[email protected]> |
6605 | ||
6606 | * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth | |
6607 | argument to ptrace to int; the system headers should give it the | |
6608 | right type, and pointers don't fit in ints on powerpc64-*-*. | |
6609 | ||
14898363 L |
6610 | 2003-05-28 H.J. Lu <[email protected]> |
6611 | ||
6612 | * dwarf2read.c (process_die): Handle DW_TAG_try_block and | |
6613 | DW_TAG_catch_block. | |
6614 | ||
a7a48797 EZ |
6615 | 2003-05-26 Elena Zannoni <[email protected]> |
6616 | ||
6617 | * stabsread.c (dbx_lookup_type): Make static. | |
6618 | (read_type): Ditto. | |
6619 | (add_undefined_type): Ditto. | |
6620 | * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do | |
6621 | not export. | |
6622 | ||
f5479e9c EZ |
6623 | 2003-05-26 Elena Zannoni <[email protected]> |
6624 | ||
6625 | * hpread.c (hpread_has_name): Make static. | |
6626 | (hpread_psymtab_to_symtab): Ditto. | |
6627 | (file_exists): Ditto. | |
6628 | (hpread_call_pxdb): Ditto. | |
6629 | (hpread_pxdb_needed): Ditto. | |
6630 | (hpread_quick_traverse): Ditto. | |
6631 | (hpread_get_header): Ditto. | |
6632 | (hpread_get_lntt): Ditto. | |
6633 | (hpread_get_slt): Ditto. | |
6634 | (class_of): Ditto. | |
6635 | ||
eb2e12d7 AS |
6636 | 2003-05-25 Andreas Schwab <[email protected]> |
6637 | ||
78bf922a AS |
6638 | * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of |
6639 | stack_align and deprecated_extra_stack_alignment_needed. | |
6640 | (m68k_stack_align): Delete. | |
6641 | ||
eb2e12d7 AS |
6642 | * m68k-tdep.c (m68k_register_raw_size): Remove cast. |
6643 | (m68k_register_virtual_size): Likewise. | |
6644 | (altos_skip_prologue): Remove obsolete function. | |
6645 | (isi_frame_num_args): Likewise. | |
6646 | (news_frame_num_args): Likewise. | |
6647 | (m68k_fix_call_dummy): Make static. | |
6648 | (m68k_push_dummy_frame): Likewise. | |
6649 | (m68k_pop_frame): Likewise. | |
6650 | (m68k_skip_prologue): Likewise. | |
6651 | (m68k_frame_init_saved_regs): Likewise. | |
6652 | (m68k_saved_pc_after_call): Likewise. | |
6653 | (m68k_get_longjmp_target): Make multi-arch. | |
6654 | (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep | |
6655 | structure. Register m68k_get_longjmp_target if enabled. | |
6656 | * m68k-tdep.h (struct gdbarch_tdep): Define. | |
6657 | * config/m68k/tm-m68k.h: Don't include "regcache.h". | |
6658 | ||
6659 | * Makefile.in (config.status): Also depend on configure.tgt | |
6660 | and configure.host. | |
6661 | (m68klinux-tdep.o): Update dependencies. | |
6662 | * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1. | |
6663 | * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define. | |
6664 | (M68K_LINUX_JB_PC): Define. | |
6665 | (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp | |
6666 | and take additional parameter. | |
6667 | (m68k_linux_sigtramp_saved_pc): Update. | |
6668 | (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register | |
6669 | m68k_linux_pc_in_sigtramp, in_plt_section, | |
6670 | find_solib_trampoline_target. | |
6671 | * config/m68k/tm-linux.h: Don't include any tm headers. | |
6672 | (START_INFERIOR_TRAPS_EXPECTED): Remove definition. | |
6673 | (JB_ELEMENT_SIZE): Likewise. | |
6674 | (JB_PC): Likewise. | |
6675 | (GET_LONGJMP_TARGET): Likewise. | |
6676 | (IN_SIGTRAMP): Likewise. | |
6677 | (SVR4_SHARED_LIBS): Define this and include "solib.h". | |
6678 | ||
eb2c22dc MK |
6679 | 2003-05-25 Mark Kettenis <[email protected]> |
6680 | ||
6681 | * sparc-tdep.c (sparc32_do_push_arguments): New function. | |
6682 | (sparc32_push_arguments): Re-implement by calling | |
6683 | sparc32_do_push_arguments. | |
6684 | ||
44b7b84e MK |
6685 | 2003-05-25 Mark Kettenis <[email protected]> |
6686 | ||
6687 | * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM, | |
6688 | SPARC_O1_REGNUM): New defines. | |
6689 | (sparc32_extract_return_value): Rewrite to operate on a regcache. | |
6690 | (sparc32_store_return_value): New function. | |
6691 | (sparc_extract_struct_value_address): Rewrite to operate on a | |
6692 | regcache. | |
6693 | (sparc_gdbarch_init): Don't set | |
6694 | deprecated_extract_struct_value_address. Set | |
6695 | extract_struct_value_address instead. Don't set | |
6696 | deprecated_extract_return_value and deprecated_store_return_value | |
6697 | for 32-bit targets. Set extract_return_value and | |
6698 | store_return_value instead. | |
6699 | * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE, | |
6700 | DEPRECTAED_EXTRACT_RETURN_VALUE, | |
6701 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these. | |
6702 | (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE, | |
6703 | EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead. | |
6704 | (sparc_store_return_value): Remove prototype. | |
6705 | (sparc32_store_return_value): New prototype. | |
6706 | (sparc32_extract_return_value, sparc_extract_struct_value_address): | |
6707 | Adjust prototypes. | |
6708 | ||
f6ad61e3 MK |
6709 | 2003-05-24 Mark Kettenis <[email protected]> |
6710 | ||
6711 | * sparcnbsd-tdep.c: Include "gdb_string.h". | |
6712 | ||
b276f1bb AC |
6713 | 2003-05-23 Andrew Cagney <[email protected]> |
6714 | ||
6715 | * p-valprint.c (pascal_val_print): Replace extract_address with | |
6716 | the inline equivalent extract_unsigned_integer. | |
6717 | * jv-valprint.c (java_value_print): Ditto. | |
6718 | * ada-valprint.c (ada_val_print_1): Ditto. | |
6719 | * ada-lang.h (EXTRACT_ADDRESS): Ditto. | |
6720 | ||
e76c5fcc TR |
6721 | 2003-05-23 Theodore A. Roth <[email protected]> |
6722 | ||
6723 | * blockframe.c (frameless_look_for_prologue): Remove unused | |
6724 | after_prologue variable. | |
6725 | ||
2cdd89cb MK |
6726 | 2003-05-23 Mark Kettenis <[email protected]> |
6727 | ||
6728 | * blockframe.c (get_pc_function_start): Rewrite to avoid | |
6729 | asignments in if-statements. | |
6730 | ||
182d43bc EZ |
6731 | 2003-05-23 Raoul Gough <[email protected]> |
6732 | ||
6733 | Committed by Elena Zannoni <[email protected]>. | |
8ffd9b1b | 6734 | * coffread.c(coff_symtab_read): Do relocate static symbols from PE |
182d43bc EZ |
6735 | files, don't relocate absolute symbols (and do use mst_abs). |
6736 | ||
e8f3fcdd AC |
6737 | 2003-05-23 Andrew Cagney <[email protected]> |
6738 | ||
6739 | * objc-lang.c: Include "gdb_assert.h". | |
6740 | (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0. | |
6741 | (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros. | |
6742 | (gdb_check, gdb_check_fatal): Delete functions. | |
6743 | (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with | |
6744 | gdb_assert. | |
6745 | (parse_selector, parse_method, find_methods, find_imps): Ditto. | |
6746 | * Makefile.in (objc-lang.o): Update dependencies. | |
6747 | ||
3c23e6fb ILT |
6748 | 2003-05-22 Ian Lance Taylor <[email protected]> |
6749 | ||
6750 | * disasm.c (gdb_disassemble_info): Initialize disassemble_info | |
6751 | with fprintf_filtered, not fprintf_unfiltered. | |
6752 | ||
af1342ab AC |
6753 | 2003-05-22 Andrew Cagney <[email protected]> |
6754 | ||
6755 | * stack.c (frame_info): Inline extract_address, replacing it with | |
6756 | extract_unsigned_integer. | |
6757 | * findvar.c (unsigned_pointer_to_address): Ditto. | |
6758 | * dwarf2loc.c (dwarf_expr_read_reg): Ditto. | |
6759 | * dwarf2expr.c (dwarf2_read_address): Ditto. | |
6760 | * frame.c (frame_pc_unwind): Update comment. | |
6761 | * dummy-frame.c (deprecated_read_register_dummy): Update comment. | |
6762 | ||
47e242ec JJ |
6763 | 2003-05-22 Jeff Johnston <[email protected]> |
6764 | ||
6765 | * infptrace.c (detach): Call print_sys_errmsg rather than | |
6766 | perror_with_name to issue warning message when errno is non-zero | |
6767 | after calling ptrace detach. | |
6768 | ||
e2ac8128 JB |
6769 | 2003-05-21 J. Brobecker <[email protected]> |
6770 | ||
6771 | * config/pa/tm-hppa.h: Delete some unused macros. Move some | |
6772 | macro definitions from here... | |
6773 | * hppa-tdep.c: ...to there. | |
6774 | ||
92b3541e KB |
6775 | 2003-05-20 Kevin Buettner <[email protected]> |
6776 | ||
6777 | * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function | |
6778 | register_ptrace_addr(). Fix all callers. | |
6779 | ||
55809acb AS |
6780 | 2003-05-21 Andreas Schwab <[email protected]> |
6781 | ||
6782 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
6783 | dependencies. | |
6784 | * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the | |
6785 | end. | |
6786 | * m68klinux-tdep.c (m68k_linux_init_abi): New function. | |
6787 | (_initialize_m68k_linux_tdep): New function. | |
6788 | (m68k_linux_frame_saved_pc): Make static. | |
6789 | (m68k_linux_extract_return_value): Likewise. | |
6790 | (m68k_linux_store_return_value): Likewise. | |
6791 | (m68k_linux_extract_struct_value_address): Likewise. | |
6792 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): | |
6793 | Remove. | |
6794 | (DEPRECATED_STORE_RETURN_VALUE): Remove. | |
6795 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
6796 | (DEPRECATED_FRAME_SAVED_PC): Remove. | |
6797 | ||
0fbc10f7 KW |
6798 | 2003-05-20 Kris Warkentin <[email protected]> |
6799 | ||
6800 | * nto-tdep.c (fetch_core_registers): Match gdb's idea of | |
6801 | regset numbering rather than our own. | |
6802 | ||
58da2eb2 DC |
6803 | 2003-05-19 David Carlton <[email protected]> |
6804 | ||
6805 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*. | |
6806 | ||
1fcb5155 DC |
6807 | 2003-05-19 David Carlton <[email protected]> |
6808 | ||
6809 | Partial fix for PR c++/827. | |
6810 | * cp-support.h: Include symtab.h. | |
6811 | Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace. | |
6812 | * cp-namespace.c: Update contributors. | |
6813 | (cp_lookup_symbol_nonlocal): New. | |
6814 | (lookup_namespace_scope, cp_lookup_symbol_namespace) | |
6815 | (lookup_symbol_file): Ditto. | |
6816 | * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal. | |
6817 | * block.h: Declare block_scope, block_using, block_global_block. | |
6818 | * block.c (block_scope): New. | |
6819 | (block_using, block_global_block): Ditto. | |
6820 | * Makefile.in (cp_support_h): Depend on symtab_h. | |
6821 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc. | |
6822 | ||
5f9a71c3 DC |
6823 | 2003-05-19 David Carlton <[email protected]> |
6824 | ||
6825 | * language.h (struct language_defn): Add 'la_value_of_this' | |
6826 | and 'la_lookup_symbol_nonlocal' members. | |
6827 | * symtab.h: Declare basic_lookup_symbol_nonlocal, | |
6828 | lookup_symbol_static, lookup_symbol_global, | |
6829 | lookup_symbol_aux_block. | |
6830 | * symtab.c (lookup_symbol_aux): Call language hooks to determine | |
6831 | if we should search fields of this and how to do static/global | |
6832 | lookup. | |
6833 | (lookup_symbol_aux_block): Make extern. | |
6834 | (basic_lookup_symbol_nonlocal): New. | |
6835 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
6836 | * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and | |
6837 | 'la_lookup_symbol_nonlocal' members. | |
6838 | * c-lang.c (c_language_defn, cplus_language_defn) | |
6839 | (asm_language_defn, minimal_language_defn): Ditto. | |
6840 | * jv-lang.c (java_language_defn): Ditto. | |
6841 | * language.c (unknown_language_defn, auto_language_defn) | |
6842 | (local_language_defn): Ditto. | |
6843 | * m2-lang.c (m2_language_defn): Ditto. | |
6844 | * objc-lang.c (objc_language_defn): Ditto. | |
6845 | * scm-lang.c (scm_language_defn): Ditto. | |
6846 | * f-lang.c (f_language_defn): Ditto, and include value.h as well. | |
6847 | * p-lang.c (pascal_language_defn): Ditto for both. | |
6848 | * Makefile.in (f-lang.o): Depend on value_h. | |
6849 | (p-lang.o): Ditto. | |
6850 | ||
89a9d1b1 DC |
6851 | 2003-05-19 David Carlton <[email protected]> |
6852 | ||
6853 | * block.h: Declare block_static_block. | |
6854 | * block.c (block_static_block): New. | |
6855 | * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to | |
6856 | lookup_symbol_aux_local, calling block_static_block instead. | |
6857 | (lookup_symbol_aux_local): Delete 'static_block' argument. | |
6858 | ||
eed3f8ab DC |
6859 | 2003-05-19 David Carlton <[email protected]> |
6860 | ||
6861 | * symtab.c (lookup_symbol_aux): Delete #if 0 hunk. | |
6862 | ||
a09d8bda ML |
6863 | 2003-05-19 Michal Ludvig <[email protected]> |
6864 | ||
6865 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix | |
6866 | register numbers mapping. | |
6867 | ||
69636828 AF |
6868 | 2003-05-18 Adam Fedor <[email protected]> |
6869 | ||
6870 | * symtab.c (completion_list_objc_symbol): New function. | |
6871 | (make_symbol_completion_list): Use it to add ObjC symbols | |
6872 | when looking though the list. | |
6873 | (language_search_unquoted_string): New function. | |
6874 | (make_file_symbol_completion_list): Use it. | |
6875 | ||
55baeb84 AS |
6876 | 2003-05-18 Andreas Schwab <[email protected]> |
6877 | ||
d0b45d99 AS |
6878 | * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update |
6879 | dependencies. | |
6880 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define | |
6881 | as m68k_linux_extract_return_value. | |
6882 | (DEPRECATED_STORE_RETURN_VALUE): Define as | |
6883 | m68k_linux_store_return_value. | |
6884 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
6885 | m68k_linux_extract_struct_value_address. | |
6886 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use | |
6887 | get_next_frame, get_frame_base, get_frame_pc. | |
6888 | (m68k_linux_frame_saved_pc): Use get_frame_base. | |
6889 | (m68k_linux_extract_return_value): New function. | |
6890 | (m68k_linux_store_return_value): New function. | |
6891 | (m68k_linux_extract_struct_value_address): New function. | |
6892 | * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target. | |
6893 | ||
55baeb84 AS |
6894 | * c-exp.y (typebase): Remove duplicate occurence of |
6895 | `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead | |
8ffd9b1b | 6896 | of lookup_signed_typename. |
55baeb84 | 6897 | |
b6b08ebf MK |
6898 | 2003-05-18 Mark Kettenis <[email protected]> |
6899 | ||
6900 | * dwarf2loc.c (find_location_expression): Change type of second | |
6901 | argument to `size_t *'. | |
6902 | (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t | |
6903 | for size variable. | |
6904 | ||
5ad1c190 DC |
6905 | 2003-05-18 David Carlton <[email protected]> |
6906 | ||
6907 | * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to | |
6908 | 'linkage_name'. Add comment. | |
6909 | (lookup_symbol_aux_local): Rename 'mangled_name' argument to | |
6910 | 'linkage_name'. | |
6911 | (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
6912 | (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms) | |
6913 | (lookup_block_symbol): Ditto. | |
6914 | ||
b8b527c5 AC |
6915 | 2003-05-16 Andrew Cagney <[email protected]> |
6916 | ||
6917 | * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES. | |
6918 | * gdbarch.h, gdbarch.c: Re-generate. | |
6919 | * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference. | |
6920 | * TODO (REGISTER_BYTES): Delete reference. | |
6921 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
6922 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
6923 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
6924 | * vax-tdep.c (vax_gdbarch_init): Update. | |
6925 | * v850-tdep.c (v850_gdbarch_init): Update. | |
6926 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
6927 | * sh-tdep.c (sh_gdbarch_init): Update. | |
6928 | * s390-tdep.c (s390_gdbarch_init): Update. | |
6929 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
6930 | * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. | |
6931 | (ns32k_gdbarch_init_32382): Update. | |
6932 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
6933 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
6934 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
6935 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
6936 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
6937 | * i386-tdep.c (i386_gdbarch_init): Update. | |
6938 | * i386-linux-tdep.c (i386_linux_init_abi): Update. | |
6939 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
6940 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
6941 | * frv-tdep.c (frv_gdbarch_init): Update. | |
6942 | * cris-tdep.c (cris_gdbarch_init): Update. | |
6943 | * avr-tdep.c (avr_gdbarch_init): Update. | |
6944 | * arm-tdep.c (arm_gdbarch_init): Update. | |
6945 | * sparc-tdep.c (sparc_pop_frame): Update. | |
6946 | * rs6000-tdep.c (rs6000_pop_frame): Update. | |
6947 | * remote.c (init_remote_state): Update. | |
6948 | (remote_prepare_to_store): Update. | |
6949 | * remote-vx.c (vx_prepare_to_store): Update. | |
6950 | * remote-sds.c (sds_fetch_registers): Update. | |
6951 | (sds_prepare_to_store): Update. | |
6952 | * remote-array.c: Update. | |
6953 | * regcache.c (init_legacy_regcache_descr): Update. | |
6954 | (init_regcache_descr): Update. | |
6955 | * mips-tdep.c (mips_eabi_extract_return_value): Update. | |
6956 | (mips_o64_extract_return_value): Update. | |
6957 | * irix5-nat.c (fetch_core_registers): Update. | |
6958 | * irix4-nat.c (fetch_core_registers): Update. | |
6959 | * i386-tdep.h: Update. | |
6960 | * hppa-tdep.c (pa_do_registers_info): Update. | |
6961 | (pa_do_strcat_registers_info): Update. | |
6962 | * cris-tdep.c (cris_register_bytes_ok): Update. | |
6963 | * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update. | |
6964 | * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update. | |
6965 | * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update. | |
6966 | * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update. | |
6967 | * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update. | |
6968 | * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update. | |
6969 | * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update. | |
6970 | * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update. | |
6971 | * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update. | |
6972 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update. | |
6973 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update. | |
6974 | * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update. | |
6975 | (REGISTER_BYTES_OK): Update. | |
6976 | * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update. | |
6977 | * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update. | |
6978 | ||
ee2842e2 ILT |
6979 | 2003-05-16 Ian Lance Taylor <[email protected]> |
6980 | ||
6981 | * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define. | |
6982 | (vax_print_insn, print_insn_arg): Remove static functions. | |
6983 | (vax_gdbarch_init): Call set_gdbarch_print_insn with | |
6984 | print_insn_vax from opcodes library. | |
6985 | (_initialize_vax_tdep): Don't set deprecated_tm_print_insn. | |
6986 | ||
973177d3 AC |
6987 | 2003-05-15 Andrew Cagney <[email protected]> |
6988 | ||
aaab4dba AC |
6989 | * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration. |
6990 | * target.h (memory_breakpoint_from_pc): Delete declaration. | |
6991 | * mem-break.c (memory_breakpoint_from_pc): Delete function. | |
6992 | * arch-utils.c (legacy_breakpoint_from_pc): Delete function. | |
6993 | * monitor.c (monitor_insert_breakpoint): Use | |
6994 | gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc. | |
6995 | * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default. | |
6996 | * gdbarch.h, gdbarch.c: Re-generate. | |
6997 | * sparc-tdep.c (sparc_breakpoint_from_pc): New function. | |
6998 | (sparc_gdbarch_init): Set breakpoint_from_pc to | |
6999 | sparc_breakpoint_from_pc. | |
7000 | * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro. | |
7001 | (BREAKPOINT_FROM_PC): Define. | |
7002 | (sparc_breakpoint_from_pc): Declare. | |
7003 | * hppa-tdep.c (hppa_breakpoint_from_pc): New function. | |
7004 | * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare. | |
7005 | (BREAKPOINT_FROM_PC): Define. | |
7006 | (BREAKPOINT): Delete macro. | |
7007 | * target.h: Update comment. | |
7008 | * s390-tdep.c (s390_gdbarch_init): Update comments. | |
7009 | * remote.c: Update comments. | |
7010 | * remote-mips.c: Update comments. | |
7011 | * proc-api.c (write_with_trace): Do not check for a breakpoint. | |
7012 | * mem-break.c: Update comment. | |
7013 | * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT. | |
7014 | (ia64_memory_insert_breakpoint): Update. | |
7015 | * config/sparc/tm-sparc.h: Update comment. | |
7016 | * config/pa/tm-hppa64.h: Update comment. | |
7017 | * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
7018 | (rs6000_breakpoint_from_pc): Update. | |
7019 | * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
7020 | (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro. | |
7021 | (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro. | |
7022 | (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro. | |
7023 | (mips_breakpoint_from_pc): Update. | |
7024 | (mips_dump_tdep): Update. | |
7025 | ||
e06963ff AC |
7026 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro. |
7027 | * minsyms.c (lookup_minimal_symbol): Inline | |
7028 | DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp. | |
7029 | ||
973177d3 AC |
7030 | * c-lang.c (c_printstr): Delete "extern inspect_it" declaration. |
7031 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
7032 | * p-lang.c (pascal_printstr): Ditto. | |
7033 | * objc-lang.c (objc_printstr): Ditto. | |
7034 | * m2-lang.c (m2_printstr): Ditto. | |
7035 | * jv-valprint.c (java_print_value_fields): Ditto. | |
7036 | * f-lang.c (f_printstr): Ditto. | |
7037 | * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h". | |
7038 | * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and | |
7039 | for repeat_count_threshold. | |
7040 | * Makefile.in (cp-valprint.o): Update dependencies. | |
7041 | ||
5ea2bd7f | 7042 | 2003-05-15 Jeff Johnston <[email protected]> |
8ffd9b1b | 7043 | |
5ea2bd7f JJ |
7044 | * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. |
7045 | (examine_prologue): Support looking through leaf functions, knowing | |
8ffd9b1b AJ |
7046 | they start with mov r2,r12. Support skipping over indirect stores |
7047 | of the input registers. Upon hitting a non-nop branch instruction | |
7048 | or predicated instruction, bail out by setting lim_pc to the current | |
7049 | pc value in the loop. At the end, if the lim_pc value is still | |
5ea2bd7f JJ |
7050 | beyond our calculated value and we have trust_limit set, |
7051 | use the lim_pc value. | |
7052 | ||
cc8c88f3 AC |
7053 | 2003-05-15 Andrew Cagney <[email protected]> |
7054 | ||
7055 | * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename | |
7056 | generic_find_dummy_frame. | |
7057 | * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update. | |
7058 | (deprecated_generic_find_dummy_frame): Update. | |
7059 | (deprecated_read_register_dummy): Update. | |
7060 | * frame.c (deprecated_generic_get_saved_register): Update. | |
7061 | ||
909cd28e TR |
7062 | 2003-05-15 Theodore A. Roth <[email protected]> |
7063 | ||
7064 | * avr-tdep.c (avr_breakpoint_from_pc): New function. | |
7065 | (avr_gdbarch_init): Set breakpoint_from_pc method. | |
7066 | ||
b923b08d AC |
7067 | 2003-05-15 Andrew Cagney <[email protected]> |
7068 | ||
7069 | * regcache.c (build_regcache): Set deprecated_register_valid | |
7070 | directly. | |
7071 | (deprecated_grub_regcache_for_register_valid): Delete function. | |
7072 | * regcache.h (deprecated_grub_regcache_for_register_valid): Delete | |
7073 | declaration. | |
7074 | ||
ae2f03ac | 7075 | 2003-05-15 David Carlton <[email protected]> |
8ffd9b1b AJ |
7076 | |
7077 | Committed by Elena Zannoni <[email protected]> | |
fbe586ae RH |
7078 | * symtab.c (lookup_symbol_aux): Delete calls to |
7079 | lookup_symbol_aux_minsyms. | |
7080 | (lookup_symbol_aux_minsyms): Comment out function and | |
7081 | prototype. Delete lookup by mangled name. | |
ae2f03ac | 7082 | |
18ec9831 KB |
7083 | 2003-05-14 Kevin Buettner <[email protected]> |
7084 | ||
7085 | * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to | |
7086 | correctly indicate an empty stack and ``stack_allocated'' to the | |
7087 | indicate the number of elements initially allocated. | |
7088 | (dwarf_expr_grow_stack): Simplify method for computing new | |
7089 | stack size. Don't loop infinitely if ``stack_len'' is zero. | |
7090 | (execute_stack_op): Move ``ctx->in_reg'' initialization | |
7091 | out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to | |
7092 | be used in conjuction with DW_OP_piece. Revise error message | |
7093 | accordingly. | |
7094 | ||
de18ac1f TR |
7095 | 2003-05-14 Theodore A. Roth <[email protected]> |
7096 | ||
7097 | * MAINTAINERS: Update my email address. | |
7098 | * avr-tdep.c: Ditto. | |
7099 | ||
176620f1 EZ |
7100 | 2003-05-14 Elena Zannoni <[email protected]> |
7101 | ||
7102 | * symtab.h (enum domain_enum): Rename from namespace_enum. | |
7103 | (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN, | |
7104 | VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN): | |
7105 | Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE, | |
7106 | LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE, | |
7107 | TYPES_NAMESPACE, METHODS_NAMESPACE. | |
7108 | (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN. | |
7109 | (struct symbol, struct partial_symbol): Rename field | |
7110 | 'namespace_enum namespace' to 'domain_enum domain'. | |
7111 | (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN. | |
7112 | Delete old define kludge for namespace. | |
7113 | ||
7114 | * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c, | |
7115 | blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c, | |
7116 | dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h, | |
7117 | gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c, | |
7118 | language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c, | |
7119 | mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c, | |
7120 | p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c, | |
7121 | stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c, | |
7122 | valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all | |
7123 | occurrences of the above. | |
7124 | ||
b7f31508 ILT |
7125 | 2003-05-14 Ian Lance Taylor <[email protected]> |
7126 | ||
7127 | * Makefile.in (install-only): Use $(SHELL) when running | |
7128 | mkinstalldirs. | |
7129 | ||
2fdbdd39 ILT |
7130 | 2003-05-13 Ian Lance Taylor <[email protected]> |
7131 | ||
a208d82c ILT |
7132 | * MAINTAINERS (write after approval): Add myself. |
7133 | ||
2fdbdd39 ILT |
7134 | * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap |
7135 | second and third arguments. | |
7136 | * ser-tcp.c (_initialize_ser_tcp): Likewise. | |
7137 | * ser-unix.c (_initialize_ser_hardwire): Likewise. | |
7138 | ||
fbd9dcd3 AC |
7139 | 2003-05-13 Andrew Cagney <[email protected]> |
7140 | ||
7141 | * defs.h (store_address): Delete declaration. | |
7142 | findvar.c (store_address): Delete function. | |
7143 | * arm-tdep.c (arm_push_dummy_call): Replace store_address with | |
7144 | store_unsigned_integer. | |
7145 | * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto. | |
7146 | * v850-tdep.c (v850_push_arguments): Ditto. | |
7147 | * sparc-tdep.c (sparc_get_saved_register): Ditto. | |
7148 | * sh-tdep.c (sh64_get_saved_register): Ditto. | |
7149 | * rs6000-tdep.c (rs6000_push_arguments): Ditto. | |
7150 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto. | |
7151 | * mips-tdep.c (mips_eabi_push_arguments): Ditto. | |
7152 | (mips_get_saved_register): Ditto. | |
7153 | * ia64-tdep.c (ia64_get_saved_register): Ditto. | |
7154 | (find_func_descr, ia64_push_arguments): Ditto. | |
7155 | * i386-tdep.c (i386_push_arguments): Ditto. | |
7156 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
7157 | * frv-tdep.c (frv_push_arguments): Ditto. | |
7158 | * frame.c (legacy_saved_regs_prev_register): Ditto. | |
7159 | (deprecated_generic_get_saved_register): Ditto. | |
7160 | * findvar.c (unsigned_address_to_pointer): Ditto. | |
7161 | * dwarf2read.c (dwarf2_const_value): Ditto. | |
7162 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
7163 | * alpha-tdep.c (alpha_push_arguments): Ditto. | |
7164 | ||
6760f9e6 JB |
7165 | 2003-05-12 J. Brobecker <[email protected]> |
7166 | ||
7167 | * NEWS: Mention that the hppa-hpux port has been partially | |
7168 | multiarched (32bit ABIT only, so far). | |
7169 | ||
30e221b4 AC |
7170 | 2003-05-11 Andrew Cagney <[email protected]> |
7171 | ||
7172 | * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol. | |
7173 | * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h, | |
7174 | include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms, | |
7175 | sim/testsuite/sim/arm/misaligned2.ms, and | |
7176 | sim/testsuite/sim/arm/misaligned3.ms. | |
7177 | * disasm.h (struct ui_file): Add opaque struct declaration. | |
7178 | * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto. | |
7179 | * frame.h (struct ui_file): Ditto. | |
7180 | ||
dea7f9ba MK |
7181 | 2003-05-11 Mark Kettenis <[email protected]> |
7182 | ||
7183 | * value.h: Pretty print. | |
7184 | ||
01986c48 MK |
7185 | 2003-05-10 Mark Kettenis <[email protected]> |
7186 | ||
7187 | * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define. | |
7188 | ||
123a958e AC |
7189 | 2003-05-08 Andrew Cagney <[email protected]> |
7190 | ||
7191 | * regcache.h (max_register_size): Delete declaration. | |
7192 | * regcache.c (max_register_size): Delete function. | |
7193 | (struct regcache_descr): Delete field "max_register_size". | |
7194 | (init_regcache_descr, init_legacy_regcache_descr): Assert that all | |
7195 | registers fit in MAX_REGISTER_SIZE. | |
7196 | (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE. | |
7197 | (regcache_restore, regcache_xfer_part, regcache_dump): Ditto. | |
7198 | * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE. | |
7199 | * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto. | |
7200 | * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto. | |
7201 | * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto. | |
7202 | * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto. | |
7203 | * dve3900-rom.c, hppa-tdep.c: Ditto. | |
7204 | ||
eb294659 DC |
7205 | 2003-05-08 David Carlton <[email protected]> |
7206 | ||
7207 | * valops.c (push_word): Fix typo. | |
7208 | ||
d9d9c31f AC |
7209 | 2003-05-08 Andrew Cagney <[email protected]> |
7210 | ||
7211 | * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. | |
7212 | * gdbarch.h: Re-generate. | |
7213 | * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. | |
7214 | (legacy_max_register_raw_size): Delete declaration. | |
7215 | * regcache.c (legacy_max_register_raw_size): Delete function. | |
7216 | * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. | |
7217 | * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto. | |
7218 | * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto. | |
7219 | * remote-rdp.c, remote-array.c, regcache.c: Ditto. | |
7220 | * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto. | |
7221 | * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto. | |
7222 | * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto. | |
7223 | * findvar.c, dwarf2cfi.c: Ditto. | |
7224 | ||
22540ece AC |
7225 | 2003-05-08 Andrew Cagney <[email protected]> |
7226 | ||
7227 | * mips-tdep.c (read_signed_register): New function, moved to here | |
7228 | from "regcache.c". | |
7229 | (read_signed_register_pid): Ditto. | |
7230 | * regcache.c (read_signed_register_pid): Delete function, moved to | |
7231 | "mips-tdep.c". | |
7232 | (read_signed_register): Ditto. | |
7233 | * regcache.h (read_signed_register): Delete declaration. | |
7234 | (read_signed_register_pid): Delete declaration. | |
7235 | ||
0c92afe8 AC |
7236 | 2003-05-08 Andrew Cagney <[email protected]> |
7237 | ||
7238 | * gdbarch.sh: Add comments on MAX_REGISTER_SIZE. | |
7239 | * gdbarch.h: Re-generate. | |
7240 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. | |
7241 | (legacy_max_register_virtual_size): Delete declaration. | |
7242 | * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. | |
7243 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
7244 | * tracepoint.c (memrange_sortmerge): Ditto. | |
7245 | * sparc-tdep.c (sparc_print_registers): Ditto. | |
7246 | * regcache.c (legacy_max_register_virtual_size): Delete function. | |
7247 | ||
6037b830 JB |
7248 | 2002-05-08 J. Brobecker <[email protected]> |
7249 | ||
7250 | * fork-child.c (escape_bang_in_quoted_argument): New function. | |
7251 | (fork_inferior): Escape '!' characters in quoted arguments | |
7252 | only when needed. | |
7253 | ||
5d62c8b1 JB |
7254 | 2003-05-08 J. Brobecker <[email protected]> |
7255 | ||
7256 | * dwarf2read.c (set_cu_language): Set the language to "minimal" if | |
7257 | the language of the CU is not currently supported by GDB. | |
7258 | ||
20a0e81d JB |
7259 | 2003-05-08 J. Brobecker <[email protected]> |
7260 | ||
7261 | * defs.h (language): Add language_minimal enum value. | |
7262 | * c-lang.c (minimal_language_defn): New language definition. | |
7263 | (_initialize_c_language): Add the new minimal language to the list | |
7264 | of languages known to GDB. | |
7265 | ||
710ee10a KB |
7266 | 2003-05-08 Kevin Buettner <[email protected]> |
7267 | ||
7268 | * frame.c (get_frame_type): Don't attempt to lazily initialize | |
7269 | frame's unwinder for legacy frames. | |
7270 | ||
1750fa04 AC |
7271 | 2003-05-07 Andrew Cagney <[email protected]> |
7272 | ||
7273 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" | |
7274 | and "regcache" parameters. | |
7275 | * avr-tdep.c (avr_remote_translate_xfer_address): Ditto. | |
7276 | ||
ddf9f258 | 7277 | 2003-05-07 Jeff Johnston <[email protected]> |
8ffd9b1b AJ |
7278 | |
7279 | * dwarf2read.c (dwarf_decode_lines): Only use output of | |
7280 | check_cu_functions() when calling record_line(). Do not update | |
ddf9f258 JJ |
7281 | the current address. |
7282 | ||
87767c29 AC |
7283 | 2003-05-07 Andrew Cagney <[email protected]> |
7284 | ||
7285 | * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR | |
7286 | code. | |
7287 | ||
5e7b2f39 JB |
7288 | 2003-05-07 Jim Blandy <[email protected]> |
7289 | ||
7290 | Rename commands 'maint list symtabs' and 'maint list psymtabs' to | |
7291 | 'maint info symtabs' and 'maint info psymtabs'. | |
7292 | * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): | |
7293 | Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. | |
7294 | * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): | |
7295 | Declarations updated. | |
7296 | * maint.c (maintenance_list_command): Delete. | |
7297 | (_initialize_maint_cmds): Update calls to add_cmd. | |
7298 | * gdbcmd.h (maintenancelistlist): Delete declaration. | |
7299 | * cli/cli-cmds.c (maintenancelistlist): Delete. | |
7300 | (init_cmd_lists): Don't initialize it. | |
7301 | * cli/cli-cmds.h (maintenancelistlist): Delete declaration. | |
7302 | ||
f6684c31 AC |
7303 | 2003-05-07 Andrew Cagney <[email protected]> |
7304 | ||
7305 | * d10v-tdep.c (remote_d10v_translate_xfer_address): Add | |
7306 | "regcache". | |
7307 | (d10v_print_registers_info): Update. | |
7308 | (d10v_dmap_register, d10v_imap_register): Delete functions. | |
7309 | (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" | |
7310 | and "imap_register". | |
7311 | (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". | |
7312 | (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". | |
7313 | * arch-utils.c (generic_remote_translate_xfer_address): Add | |
7314 | "regcache" and "gdbarch" parameters. | |
7315 | * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" | |
7316 | parameter. Change class to multi-arch. | |
7317 | * gdbarch.h, gdbarch.c: Re-generate. | |
7318 | * remote.c (remote_xfer_memory): Use | |
7319 | gdbarch_remote_translate_xfer_address. | |
8ffd9b1b | 7320 | |
e4846b08 JJ |
7321 | 2003-05-07 Jeff Johnston <[email protected]> |
7322 | ||
7323 | * infrun.c (prev_pc): Move declaration ahead of proceed(). | |
7324 | (proceed): Refresh prev_pc value before resuming. | |
7325 | (stop_stepping): Remove code to refresh prev_pc. | |
7326 | ||
6b71b8ac KW |
7327 | 2003-05-06 Kris Warkentin <[email protected]> |
7328 | ||
7329 | * nto-tdep.c: Removed stray comment. | |
7330 | ||
47979a4b KW |
7331 | 2003-05-06 Kris Warkentin <[email protected]> |
7332 | ||
7333 | * i386-nto-tdep.c: Fix old K&R function definitions. | |
7334 | * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h. | |
7335 | Also change add_show_from_set() call to add_setshow_cmd(). | |
7336 | * nto-tdep.h: Remove PARAMS and grep ^func ARI hits. | |
7337 | ||
00905d52 AC |
7338 | 2003-05-05 Andrew Cagney <[email protected]> |
7339 | ||
7340 | * dummy-frame.c: Include "command.h" and "gdbcmd.h". | |
7341 | (fprint_dummy_frames): New function. | |
7342 | (maintenance_print_dummy_frames): New function. | |
7343 | (_initialize_dummy_frame): Add command "maint print dummy-frames". | |
7344 | * frame.c (fprint_frame_id): Make global. | |
7345 | * frame.h (fprint_frame_id): Declare. | |
7346 | * Makefile.in (dummy-frame.o): Update dependencies. | |
7347 | ||
b1e29e33 AC |
7348 | 2003-05-05 Andrew Cagney <[email protected]> |
7349 | ||
7350 | * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. | |
7351 | (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename | |
7352 | SIZEOF_CALL_DUMMY_WORDS. | |
7353 | (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. | |
7354 | (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. | |
7355 | (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename | |
7356 | CALL_DUMMY_BREAKPOINT_OFFSET. | |
7357 | (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename | |
7358 | CALL_DUMMY_START_OFFSET. | |
7359 | (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. | |
7360 | * gdbarch.h, gdbarch.c: Re-generate. | |
7361 | * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. | |
7362 | * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. | |
7363 | * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. | |
7364 | * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. | |
7365 | * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. | |
7366 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. | |
7367 | * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
7368 | * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. | |
7369 | * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. | |
7370 | * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
7371 | * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. | |
7372 | * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. | |
7373 | * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. | |
7374 | * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. | |
7375 | * config/sparc/tm-sparc.h: Update. | |
daea6f0b KW |
7376 | |
7377 | 2003-05-05 Kris Warkentin <[email protected]> | |
7378 | ||
7379 | * configure.tgt: Add i[3456]86-*-nto*. | |
7380 | * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino. | |
7381 | * nto-tdep.c: New file. Neutrino target support routines. | |
7382 | * nto-tdep.h: New file. Neutrino target header. | |
7383 | * config/tm-qnxnto.h: New file. | |
7384 | * config/i386/i386nto.mt: New file. | |
7385 | * config/i386/tm-i386nto.h: New file. | |
8ffd9b1b | 7386 | |
0ce3d317 AC |
7387 | 2003-05-04 Andrew Cagney <[email protected]> |
7388 | ||
7389 | * gdbthread.h (save_infrun_state): Drop prev_func_name parameter. | |
7390 | (load_infrun_state): Ditto. | |
7391 | (struct thread_info): Drop "prev_func_name" field. | |
7392 | * thread.c (load_infrun_state): Update. | |
7393 | (save_infrun_state): Update. | |
7394 | * infrun.c (prev_func_name): Delete variable. | |
7395 | (init_wait_for_inferior): Do not clear prev_func_name. | |
7396 | (stop_stepping, keep_going, context_switch): Do not swap | |
7397 | prev_func_name. | |
7398 | (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp | |
7399 | instead of PC_IN_SIGTRAMP. | |
7400 | ||
46654a5b AC |
7401 | 2003-05-04 Andrew Cagney <[email protected]> |
7402 | ||
7403 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
7404 | REGISTER_BYTE with register_offset_hack. | |
7405 | * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check | |
7406 | that REGISTER_BYTE is consistent with the regcache. | |
7407 | * gdbarch.sh (REGISTER_BYTE): Add a predicate. | |
7408 | * gdbarch.h, gdbarch.c: Regenerate. | |
8ffd9b1b | 7409 | |
14b08c1b MK |
7410 | 2003-05-04 Mark Kettenis <[email protected]> |
7411 | ||
04c8243f MK |
7412 | * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15. |
7413 | (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15. | |
7414 | ||
14b08c1b MK |
7415 | * i386-linux-nat.c (supply_gregset): Remove unnecessary casts. |
7416 | ||
c7a11e01 JB |
7417 | 2003-05-03 J. Brobecker <[email protected]> |
7418 | ||
7419 | From Thierry Schneider <[email protected]> | |
7420 | * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o. | |
7421 | (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c. | |
7422 | (mi-cmd-symbol.o): Add rule. | |
7423 | ||
7043d8dc AC |
7424 | 2003-05-03 Andrew Cagney <[email protected]> |
7425 | ||
7426 | * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add | |
7427 | comments noteing that it replaces the old FIX_CALL_DUMMY code. | |
7428 | * gdbarch.h, gdbarch.c: Re-generate. | |
7429 | * d10v-tdep.c (d10v_push_dummy_code): New function. | |
7430 | (d10v_gdbarch_init): Set push_dummy_code. | |
7431 | * infcall.c (legacy_push_dummy_code): New function. | |
7432 | (generic_push_dummy_code): New function. | |
7433 | (push_dummy_code): New function. | |
7434 | (call_function_by_hand): Call push_dummy_code. Pass bp_addr, | |
7435 | instead of dummy_addr, to push_dummy_call. Move call to | |
7436 | generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION | |
7437 | switch. | |
7438 | * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code. | |
7439 | ||
92bf2b80 AC |
7440 | 2003-05-03 Andrew Cagney <[email protected]> |
7441 | ||
7442 | * disasm.h (print_insn): Declare. | |
7443 | * disasm.c (init_gdb_disassemble_info): New function. | |
7444 | (gdb_disassembly): Call init_gdb_disassemble_info. | |
7445 | (gdb_print_insn): New function. | |
7446 | * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead | |
7447 | of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog". | |
7448 | * mcore-tdep.c: Include "disasm.h" | |
7449 | (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN. | |
7450 | * d10v-tdep.c: Include "disasm.h". | |
7451 | (display_trace): Call gdb_print_insn, instead of print_insn. | |
7452 | (print_insn): Delete function. | |
7453 | * printcmd.c: Include "disasm.h". | |
7454 | (print_insn): Delete function. | |
7455 | (print_formatted): Call gdb_print_insn, instead of print_insn. | |
7456 | * Makefile.in (printcmd.o): Update dependencies. | |
7457 | (mcore-tdep.o, d10v-tdep.o): Ditto. | |
8ffd9b1b | 7458 | |
27d94c49 AC |
7459 | 2003-05-02 Andrew Cagney <[email protected]> |
7460 | ||
82de1e5b AC |
7461 | * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef |
7462 | PC_REGNUM, re-indent. | |
7463 | * stack.c (frame_info): Use "pc" for the name of get_frame_pc when | |
7464 | PC_REGNUM isn't set. | |
7465 | ||
27d94c49 AC |
7466 | * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional. |
7467 | * gdbarch.h, gdbarch.c: Re-generate. | |
7468 | * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size, | |
7469 | register_virtual_size, pc_regnum, or register_bytes. | |
7470 | (D10V_PC_REGNUM): Rename _PC_REGNUM. | |
7471 | (d10v_register_type): Use D10V_PC_REGNUM. | |
7472 | (d10v_print_registers_info, d10v_read_pc): Ditto. | |
7473 | (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto. | |
7474 | (d10v_unwind_pc, d10v_frame_prev_register): Ditto. | |
7475 | ||
a9c0dc7f DC |
7476 | 2003-05-02 David Carlton <[email protected]> |
7477 | ||
7478 | * objfiles.c (allocate_objfile): For anonymous objfiles, allocate | |
7479 | the name with mstrsave. | |
7480 | ||
e33d66ec EZ |
7481 | 2003-05-02 Elena Zannoni <[email protected]> |
7482 | ||
7483 | * charset.c (GDB_DEFAULT_TARGET_CHARSET, | |
7484 | GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. | |
7485 | (host_charset_name, target_charset_name): New vars for use by | |
7486 | set/show commands. | |
7487 | (host_charset_enum, target_charset_enum): New enums for set/show | |
7488 | commands. | |
7489 | (set_charset_sfunc, set_host_charset_sfunc, | |
7490 | set_target_charset_sfunc): New functions. | |
7491 | (set_host_charset, set_target_charset): Make static. | |
7492 | (list_charsets, set_host_charset_command, | |
7493 | set_target_charset_command): Delete functions. | |
7494 | (show_charset_command): Rewrite as.... | |
7495 | (show_charset): Hook this up with the set/show command mechanism. | |
7496 | (_initialize_charset): Change names of charsets to match the | |
7497 | set/show enums. Use host_charset_name and target_charset_name. | |
7498 | Use set/show mechanism for charset, host-charset, target-charset | |
7499 | commands. Do not make 'show host-charset' and 'show | |
7500 | target-charset' be aliases of 'show charset'. | |
7501 | ||
7502 | * charset.h (set_host_charset, set_target_charset): Don't export, | |
7503 | they are not used outside the file. | |
7504 | ||
2b6fd0d8 AC |
7505 | 2003-05-01 Andrew Cagney <[email protected]> |
7506 | ||
7507 | * disasm.c (gdb_disassemble_from_exec): Delete global variable. | |
7508 | (gdb_disassembly): Make "di" non static, always initialize and | |
7509 | cleanup. Always use dis_asm_read_memory. | |
7510 | (gdb_dis_asm_read_memory): Delete function. | |
7511 | ||
6ae2f580 AC |
7512 | 2003-05-01 Andrew Cagney <[email protected]> |
7513 | ||
7514 | * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align. | |
7515 | (d10v_gdbarch_init): Set frame_align instead of stack_align. | |
7516 | ||
810ecf9f AC |
7517 | 2003-04-30 Andrew Cagney <[email protected]> |
7518 | ||
7519 | * gdbarch.sh (deprecated_tm_print_insn_info): Rename | |
7520 | "tm_print_insn_info". | |
7521 | (TARGET_PRINT_INSN_INFO): Delete macro. | |
7522 | (dis_asm_read_memory): Delete function declaration. | |
7523 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
7524 | (tm_print_insn_info): Delete variable definition. | |
7525 | (_initialize_gdbarch): Do not initialize "tm_print_insn_info". | |
7526 | * gdbarch.h, gdbarch.c: Re-generate. | |
7527 | * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with | |
7528 | "deprecated_tm_print_insn_info". | |
7529 | * mcore-tdep.c (mcore_dump_insn): Ditto. | |
7530 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7531 | * sparc-tdep.c (_initialize_sparc_tdep): Ditto. | |
7532 | * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto. | |
7533 | * ia64-tdep.c (_initialize_ia64_tdep): Ditto. | |
7534 | * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info" | |
7535 | instead of TARGET_PRINT_INSN_INFO, add comment. | |
7536 | * s390-tdep.c (s390_get_frame_info): Instead of | |
7537 | "dis_asm_read_memory", use "deprecated_tm_print_insn_info". | |
7538 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
7539 | * corefile.c (dis_asm_read_memory): Move to "disasm.c". | |
7540 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
7541 | * disasm.c: Include "gdbcore.h". | |
7542 | (_initialize_disasm): New function, initialize | |
7543 | "deprecated_tm_print_insn_info". | |
7544 | (deprecated_tm_print_insn_info): New variable. | |
7545 | (dis_asm_read_memory): Moved from "corefile.c", made static. | |
7546 | (dis_asm_print_address, dis_asm_memory_error): Ditto. | |
7547 | * Makefile.in (disasm.o): Update dependencies. | |
7548 | ||
07020390 AC |
7549 | 2003-04-30 Andrew Cagney <[email protected]> |
7550 | ||
7551 | * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. | |
7552 | ||
a9fa03de AF |
7553 | 2003-04-29 Adam Fedor <[email protected]> |
7554 | ||
7555 | * eval.c (evaluate_subexp_standard): Handle ObjC ops. | |
7556 | * infcall.c (find_function_addr): Make non-static. | |
7557 | * infcall.h (find_function_addr): Declare. | |
7558 | * Makefile.in (eval.o): Update dependencies. | |
7559 | ||
1bae87b9 AF |
7560 | 2003-04-28 Adam Fedor <[email protected]> |
7561 | ||
7562 | * symtab.c (symbol_find_demangled_name): Check for and demangle | |
7563 | ObjC symbols. | |
7564 | (symbol_init_demangled_name): Init for language_objc as well. | |
7565 | ||
0ba6dca9 AC |
7566 | 2003-04-28 Andrew Cagney <[email protected]> |
7567 | ||
7568 | * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. | |
7569 | (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. | |
7570 | * gdbarch.h, gdbarch.c: Re-generate. | |
7571 | * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, | |
7572 | DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. | |
7573 | * inferior.h (deprecated_read_fp): Rename read_fp. | |
7574 | (generic_target_read_fp): Delete declaration. | |
7575 | * regcache.c (generic_target_read_fp): Delete function. | |
7576 | (deprecated_read_fp): Replace read_fp, use | |
7577 | DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. | |
7578 | * d10v-tdep.c (d10v_read_fp): Delete function. | |
7579 | (d10v_gdbarch_init): Do not set deprecated_read_fp. | |
7580 | ||
7581 | * sparc-tdep.c (sparc_gdbarch_init): Do not set | |
7582 | deprecated_target_read_fp to generic_target_read_fp. | |
7583 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7584 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7585 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7586 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7587 | ||
7588 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set | |
7589 | deprecated_fp_regnum. | |
7590 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
7591 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
7592 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7593 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7594 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7595 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7596 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7597 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7598 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
7599 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
7600 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7601 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7602 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
7603 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
7604 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
7605 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7606 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7607 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7608 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7609 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
7610 | ||
7611 | * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. | |
7612 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
7613 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7614 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7615 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
7616 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
7617 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
7618 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7619 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7620 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7621 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
7622 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
7623 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
7624 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
7625 | ||
7626 | * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with | |
7627 | DEPRECATED_FP_REGNUM. | |
7628 | (vax_push_dummy_frame, vax_pop_frame): Ditto. | |
7629 | * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. | |
7630 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
7631 | (sparc_push_dummy_frame, sparc64_read_fp): Ditto. | |
7632 | (sparc32_register_virtual_type): Ditto. | |
7633 | * sh-tdep.c (sh64_frame_chain): Ditto. | |
7634 | (sh64_get_saved_register, sh64_pop_frame): Ditto. | |
7635 | (sh_nofp_frame_init_saved_regs): Ditto. | |
7636 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
7637 | (sh_fp_frame_init_saved_regs): Ditto. | |
7638 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
7639 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
7640 | * procfs.c (procfs_fetch_registers): Ditto. | |
7641 | (procfs_store_registers): Ditto. | |
7642 | * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. | |
7643 | (store_inferior_registers, fetch_core_registers): Ditto. | |
7644 | (fetch_kcore_registers, clear_regs): Ditto. | |
7645 | * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. | |
7646 | (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. | |
7647 | * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. | |
7648 | * nlm/i386.c (do_status): Ditto. | |
7649 | * mipsv4-nat.c (supply_gregset): Ditto. | |
7650 | * mips-tdep.c: Ditto for comments. | |
7651 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
7652 | (store_inferior_registers, fetch_core_registers): Ditto. | |
7653 | * m68k-tdep.c (m68k_push_dummy_frame): Ditto. | |
7654 | (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. | |
7655 | * i386-tdep.c (i386_frame_init_saved_regs): Ditto. | |
7656 | (i386_do_pop_frame, i386_register_type): Ditto. | |
7657 | * hppa-tdep.c (hppa_frame_chain): Ditto. | |
7658 | (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. | |
7659 | (hppa_pop_frame, hppa_read_fp): Ditto. | |
7660 | (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. | |
7661 | * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. | |
7662 | * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. | |
7663 | * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. | |
7664 | * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. | |
7665 | * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. | |
7666 | * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. | |
7667 | * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. | |
7668 | * blockframe.c: Ditto for comments. | |
7669 | * arch-utils.h: Ditto for comments. | |
7670 | * arch-utils.c (legacy_virtual_frame_pointer): Ditto. | |
7671 | * alphanbsd-tdep.c (fetch_core_registers): Ditto. | |
7672 | * alphabsd-nat.c (fetch_inferior_registers): Ditto. | |
7673 | * alpha-tdep.h: Ditto for comments. | |
7674 | * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. | |
7675 | (alpha_cannot_store_register): Ditto. | |
7676 | (alpha_push_dummy_frame): Ditto. | |
7677 | * alpha-nat.c (supply_gregset): Ditto. | |
7678 | ||
7679 | * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. | |
7680 | * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. | |
7681 | * config/sparc/tm-sparc.h: Update comment. | |
7682 | ||
7683 | * hppa-tdep.c (hppa_init_extra_frame_info): Use | |
7684 | deprecated_read_fp instead of TARGET_READ_FP. | |
7685 | (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. | |
7686 | (hppa_push_dummy_frame, hppa_read_fp): Ditto. | |
7687 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
7688 | deprecated_read_fp instead of read_fp. | |
7689 | * s390-tdep.c (s390_push_arguments): Ditto. | |
7690 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7691 | * frame.h: Ditto in comments. | |
7692 | * frame.c (legacy_get_prev_frame): Ditto. | |
7693 | * dummy-frame.c (dummy_frame_this_id): Ditto. | |
7694 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
7695 | ||
d7a27068 AC |
7696 | 2003-04-28 Andrew Cagney <[email protected]> |
7697 | ||
7698 | * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn. | |
7699 | * gdbarch.h, gdbarch.c: Re-generate. | |
7700 | * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update. | |
7701 | * vax-tdep.c (_initialize_vax_tdep): Update. | |
7702 | * v850-tdep.c (_initialize_v850_tdep): Update. | |
7703 | * sparc-tdep.c (_initialize_sparc_tdep): Update. | |
7704 | * s390-tdep.c (_initialize_s390_tdep): Update. | |
7705 | * ns32k-tdep.c (_initialize_ns32k_tdep): Update. | |
7706 | * mn10300-tdep.c (_initialize_mn10300_tdep): Update. | |
7707 | * mips-tdep.c (_initialize_mips_tdep): Update. | |
7708 | * mcore-tdep.c (_initialize_mcore_tdep): Update. | |
7709 | * m68k-tdep.c (_initialize_m68k_tdep): Update. | |
7710 | * ia64-tdep.c (_initialize_ia64_tdep): Update. | |
7711 | * hppa-tdep.c (_initialize_hppa_tdep): Update. | |
7712 | * h8300-tdep.c (_initialize_h8300_tdep): Update. | |
7713 | * frv-tdep.c (_initialize_frv_tdep): Update. | |
7714 | * cris-tdep.c (cris_delayed_get_disassembler): Update. | |
7715 | (_initialize_cris_tdep): Update. | |
7716 | * arch-utils.c (legacy_print_insn): Update. | |
7717 | * alpha-tdep.c (_initialize_alpha_tdep): Update. | |
7718 | ||
d2630e69 AF |
7719 | 2003-04-26 Adam Fedor <[email protected]> |
7720 | ||
7721 | * linespec.c (decode_objc): New function to decode ObjC calls | |
7722 | (decode_line_1): Check for ObjC calls (using decode_objc) | |
7723 | * Makefile (linespec.o): Update dependencies. | |
7724 | ||
3086aeae DJ |
7725 | 2003-04-26 Daniel Jacobowitz <[email protected]> |
7726 | ||
7727 | * breakpoint.h (struct breakpoint_ops): New. | |
7728 | (struct breakpoint): Add ops member. | |
7729 | ||
7730 | * breakpoint.c (print_bp_stop_message, print_one_breakpoint) | |
7731 | (mention): Use new breakpoint ops member. | |
7732 | (set_raw_breakpoint): Initialize ops field to NULL. | |
7733 | (print_exception_catchpoint, print_one_exception_catchpoint) | |
7734 | (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New. | |
7735 | (gnu_v3_exception_catchpoint_ops): New. | |
7736 | (catch_exception_command_1): Call handle_gnu_v3_exceptions. | |
7737 | ||
1fbec6c3 AF |
7738 | 2003-04-25 Adam Fedor <[email protected]> |
7739 | ||
7740 | * Makefile.in (COMMON_OBS): Add objc-lang.o | |
7741 | ||
0ef21242 AC |
7742 | 2003-04-25 Andrew Cagney <[email protected]> |
7743 | ||
7744 | * d10v-tdep.c (print_insn): Delete function. | |
7745 | (display_trace): Use TARGET_PRINT_INSN. | |
7746 | (_initialize_d10v_tdep): Do not set tm_print_insn. | |
7747 | (d10v_gdbarch_init): Set print_insn. | |
7748 | ||
f75493ed AC |
7749 | 2003-04-25 Andrew Cagney <[email protected]> |
7750 | ||
7751 | * d10v-tdep.c (d10v_extract_return_value): Delete call to printf. | |
7752 | (_initialize_d10v_tdep): Use add_setshow_boolean_cmd. | |
7753 | (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC. | |
7754 | (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ... | |
7755 | (nr_dmap_regs, a0_regnum): ... new functions. | |
7756 | (d10v_print_registers_info): Use a0_regnum, use register_size. | |
7757 | (d10v_register_byte): Delete function. | |
7758 | (d10v_register_raw_size): Delete function. | |
7759 | (d10v_register_type): Use a0_regnum. | |
7760 | (d10v_print_registers_info): Use a0_regnum. | |
7761 | (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM. | |
7762 | (d10v_gdbarch_init): Do not set register_byte or | |
7763 | register_raw_size, use D10V_SP_REGNUM to set sp_regnum. | |
7764 | (d10v_pointer_to_address): Use extract_unsigned_integer instead of | |
7765 | extract_address. | |
7766 | (trace_command): Use XCALLOC. | |
7767 | (print_insn): Delete reference to tm_print_insn. | |
7768 | (saved_regs_unwinder): Use store_unsigned_integer instead of | |
7769 | store_address. | |
7770 | * frame.h (FRAME_OBSTACK_CALLOC): Define | |
7771 | ||
2202b100 DC |
7772 | 2003-04-25 David Carlton <[email protected]> |
7773 | ||
7774 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp. | |
7775 | ||
4e45ca2e AF |
7776 | 2003-04-24 Adam Fedor <[email protected]> |
7777 | ||
7778 | * objc-lang.c: Include "valprint.h" | |
7779 | * Makefile.in (objc-lang.o): Update dependencies. | |
7780 | ||
93de3e7f AF |
7781 | 2003-04-24 Adam Fedor <[email protected]> |
7782 | ||
8ffd9b1b | 7783 | * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove |
93de3e7f AF |
7784 | architecture dependant compilation and mark as unimplemented |
7785 | (until they get put in the gdbarch vector). | |
7786 | ||
0f20eeea DC |
7787 | 2003-04-23 David Carlton <[email protected]> |
7788 | ||
7789 | * cp-support.c (cp_find_first_component): Accept 'operator' in | |
7790 | more locations. | |
7791 | ||
74cfe982 AC |
7792 | 2003-04-23 Andrew Cagney <[email protected]> |
7793 | ||
7794 | * infcall.c (call_function_by_hand): Eliminate redundant | |
7795 | indentation. Move "saved_async" and "old_cleanups" to where they | |
7796 | are needed. | |
8ffd9b1b | 7797 | |
52557533 AC |
7798 | 2003-04-23 Andrew Cagney <[email protected]> |
7799 | ||
7800 | * infcall.c (call_function_by_hand): Eliminate the variables "rc" | |
7801 | and "buffer". Move the "name" code to where it is needed. | |
7802 | ||
158775de AC |
7803 | 2003-04-23 Andrew Cagney <[email protected]> |
7804 | ||
7805 | * infcall.c (call_function_by_hand): Move variables "start_sp", | |
7806 | "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call | |
7807 | code to ON_STACK switch branch. | |
8ffd9b1b | 7808 | |
ebc7896c AC |
7809 | 2003-04-23 Andrew Cagney <[email protected]> |
7810 | ||
7811 | * infcall.c (call_function_by_hand): Make declaration of "i", | |
7812 | "sal", "bpt" and "old_sp" more local to their use. Delete #if | |
7813 | lint. | |
7814 | ||
d727590f AC |
7815 | 2003-04-23 Andrew Cagney <[email protected]> |
7816 | ||
7817 | * infcall.c (call_function_by_hand): Delete variable | |
7818 | "n_method_args". Localize "param_type"'s declaration to the loop | |
7819 | that it is used. Reinstate code assigning to said variable - | |
7820 | deleted on 2002-06-14. Rationalize calls to value_args_coerce. | |
7821 | Rationalize code using "param_type". | |
7822 | ||
d585e13a AC |
7823 | 2003-04-22 Andrew Cagney <[email protected]> |
7824 | ||
7825 | * infcall.c (call_function_by_hand): Use new variable "bp_addr" to | |
7826 | compute the breakpoint address. Only call FIX_CALL_DUMMY when | |
7827 | ON_STACK. Eliminate the variable "addr". Do not pass "real_pc" | |
7828 | to DEPRECATED_PUSH_RETURN_ADDRESS. | |
7829 | ||
051caad9 KB |
7830 | 2003-04-22 Kevin Buettner <[email protected]> |
7831 | ||
7832 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM | |
7833 | on the DWARF2 register number prior to fetching a register. | |
7834 | ||
77296879 JB |
7835 | 2003-04-22 J. Brobecker <[email protected]> |
7836 | ||
7837 | * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro. | |
7838 | Update all the tests using SOFT_FLOAT considering the fact that | |
8ffd9b1b | 7839 | this macro was always set to 0. |
77296879 JB |
7840 | * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT |
7841 | considering the fact that this macro was always set to 0. | |
7842 | * hppa-tdep.h (hppa_store_return_value): Likewise. | |
7843 | (hppa_extract_return_value): Likewise. | |
7844 | ||
4252f1df JB |
7845 | 2003-04-22 J. Brobecker <[email protected]> |
7846 | ||
7847 | * config/pa/tm-hppa.h: Remove obsolete code, was used by | |
7848 | the hppa-pro target only. | |
7849 | ||
14604c6b JB |
7850 | 2003-04-21 J. Brobecker <[email protected]> |
7851 | ||
7852 | Ongoing multi-arch conversion effort for HP/UX: | |
7853 | * config/pa/tm-hppa.h: Move all macro that are no longer | |
7854 | defined now that GDB_MULTI_ARCH is now set to 1 from here... | |
7855 | * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet). | |
7856 | ||
77eb01d1 JB |
7857 | 2003-04-21 J. Brobecker <[email protected]> |
7858 | ||
7859 | * config/pa/tm-hppa.h: Obsolete a section that was only used | |
7860 | for hppa-pro. | |
7861 | ||
61995b3b JB |
7862 | 2003-04-21 J. Brobecker <[email protected]> |
7863 | ||
7864 | Ongoing multi-arch conversion for HP/UX. | |
7865 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define | |
7866 | if already defined (allows hppa64 to stay non-multiarched for now). | |
7867 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define. | |
7868 | ||
4aa79dcc AC |
7869 | 2003-04-21 Andrew Cagney <[email protected]> |
7870 | ||
7871 | * frame.c (frame_id_eq): Fail when the code_addr's do not match. | |
7872 | ||
0f751ff2 AC |
7873 | 2003-04-21 Andrew Cagney <[email protected]> |
7874 | ||
7875 | * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with | |
7876 | "i386_num_mmx_regs". | |
7877 | ||
04714b91 AC |
7878 | 2003-04-21 Andrew Cagney <[email protected]> |
7879 | ||
7880 | * infcall.c: New file. | |
7881 | * infcall.h: New file. | |
7882 | * valarith.c: Include "infcall.h". | |
7883 | * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto. | |
7884 | * eval.c, ada-valprint.c, ada-lang.c: Ditto. | |
7885 | * Makefile.in (valarith.o, scm-lang.o): Update dependencies. | |
7886 | (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies. | |
7887 | (eval.o, ada-valprint.o, ada-lang.o): Update dependencies. | |
7888 | (SFILES): Add "infcall.c" | |
7889 | (COMMON_OBS): Add "infcall.o". | |
7890 | (infcall.o): Specify dependencies. | |
7891 | * value.h (call_function_by_hand): Delete declaration. | |
7892 | * inferior.h (run_stack_dummy): Delete declaration. | |
7893 | * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c". | |
7894 | (run_stack_dummy): Move to "infcall.c", merged into | |
7895 | call_function_by_hand. | |
7896 | * valops.c (call_function_by_hand): Moved to "infcall.c". | |
7897 | (find_function_addr, value_arg_coerce): Ditto. | |
7898 | (unwindonsignal_p, coerce_float_to_double): Ditto. | |
7899 | (_initialize_valops): Move "set/show coerce-float-to-double", and | |
7900 | "set/show unwindonsignal" commands to "infcall.c". | |
7901 | * v850-tdep.c, target.h: Update comments. | |
7902 | * sparc-tdep.c (sparc_fix_call_dummy): Update comments. | |
7903 | * sh-tdep.c (sh_init_extra_frame_info): Update comments. | |
7904 | (sh64_init_extra_frame_info): Update comments. | |
7905 | * mn10300-tdep.c: Update comments. | |
7906 | * mcore-tdep.c (mcore_init_extra_frame_info): Update comments. | |
7907 | * config/sparc/tm-sparc.h: Update comments. | |
7908 | * breakpoint.h: Update comments. | |
7909 | * avr-tdep.c (avr_init_extra_frame_info): Update comments. | |
7910 | * arm-tdep.c: Update comment. | |
7911 | ||
f9d3c2a8 MK |
7912 | 2003-04-19 Mark Kettenis <[email protected]> |
7913 | ||
c40e1eab MK |
7914 | * i386-tdep.c (i386_num_register_names): New variable. |
7915 | (i386_num_mmx_regs): Renamed from mmx_num_regs. | |
7916 | (MM0_REGNUM): Remove redundant parentheses in define. | |
7917 | (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs. | |
7918 | (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, | |
7919 | i386_mxcsr_regnum_p): Remove redundant parentheses. | |
7920 | (i386_register_name): Use i386_num_register_names. | |
8ffd9b1b | 7921 | |
94ea66b3 MK |
7922 | * i386-tdep.c (i386_extract_return_value, |
7923 | i386_store_return_value): Correct check for availability of | |
7924 | floating-point registers. | |
7925 | ||
54299a1d MK |
7926 | * i386-tdep.c (i386_frame_num_args): Remove function. |
7927 | (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown. | |
7928 | ||
c86c27af MK |
7929 | * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from |
7930 | mmx_regnum_to_fp_regnum. Adjust all callers. | |
7931 | ||
f9d3c2a8 MK |
7932 | * i386-tdep.c (i386_get_longjmp_target): Use |
7933 | TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT | |
7934 | and TARGET_CHAR_BIT. Use extract_typed_address instead of | |
7935 | extract_address. | |
7936 | ||
94ba74a9 MK |
7937 | 2003-04-19 Mark Kettenis <[email protected]> |
7938 | ||
7939 | * core-regset.c: Update comments to reflect reality. Re-order | |
7940 | includes. | |
7941 | (fetch_core_registers): Use switch instead of if. Remove | |
7942 | redundant prototype. | |
7943 | ||
4074e13c JB |
7944 | 2003-04-18 Jim Blandy <[email protected]> |
7945 | ||
7946 | * s390-tdep.c (s390_frame_align): New function. | |
fbe586ae | 7947 | (s390_gdbarch_init): Register it with the gdbarch object. |
4074e13c | 7948 | |
e3ab4aba RH |
7949 | 2003-04-17 Richard Henderson <[email protected]> |
7950 | ||
7951 | * remote.c (minitelnet): Don't redeclare escape_count, echo_check. | |
7952 | ||
627bf7c1 EZ |
7953 | 2003-04-17 Michael Snyder <[email protected]> |
7954 | Karen Bennet <[email protected]> | |
7955 | ||
7956 | Committed by Elena Zannoni <[email protected]> | |
7957 | * gdb_gcore.sh: New script to create a core dump of a process. | |
8ffd9b1b | 7958 | |
514621a9 EZ |
7959 | 2003-04-17 Elena Zannoni <[email protected]> |
7960 | ||
7961 | * values.c (value_being_returned): Don't fetch the return | |
fbe586ae | 7962 | value if the return type is void. |
514621a9 | 7963 | |
b4acd559 JJ |
7964 | 2003-04-17 Jeff Johnston <[email protected]> |
7965 | ||
7966 | * thread-db.c: Reindented. | |
8ffd9b1b | 7967 | |
530b167e | 7968 | 2003-04-17 Jeff Johnston <[email protected]> |
8ffd9b1b AJ |
7969 | |
7970 | * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, | |
7971 | td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t | |
530b167e JJ |
7972 | as types. |
7973 | ||
0a48e7e8 MS |
7974 | |
7975 | ||
7976 | ||
7977 | ||
7978 | ||
7979 | ||
7980 | ||
7981 | ||
7982 | ||
7983 | ||
7984 | ||
7985 | ||
7986 | ||
7987 | ||
7988 | ||
7989 | ||
7990 | ||
7991 | ||
7992 | ||
7993 | ||
7994 | ||
7995 | ||
7996 | ||
8ffd9b1b | 7997 | |
ab9fe00e KB |
7998 | 2003-04-16 Kevin Buettner <[email protected]> |
7999 | ||
610a3745 | 8000 | * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set |
ab9fe00e KB |
8001 | the size of ``long double'' to 16, instead of 8. |
8002 | ||
e64a344c MK |
8003 | 2003-04-16 Mark Kettenis <[email protected]> |
8004 | ||
8005 | * i386-linux-nat.c: Add some whitespace to make things more | |
8006 | readable. | |
8007 | (fetch_register, store_register, fetch_inferior_registers, | |
8008 | store_inferior_registers): Get rid of assignment in if-statement. | |
8009 | (store_register): Fix typo in error message. | |
8010 | ||
25d41031 AC |
8011 | 2003-04-16 Andrew Cagney <[email protected]> |
8012 | ||
8013 | * utils.c (xmmalloc): Always allocate something, matches | |
8014 | libiberty/xmalloc's semantics. | |
8015 | (xmrealloc, xmcalloc): Ditto. | |
8016 | ||
c50901fd AC |
8017 | 2003-04-16 Andrew Cagney <[email protected]> |
8018 | ||
8019 | * frame.c (get_prev_frame): Do not initialize "unwind" or "type", | |
8020 | update comments. | |
8021 | (get_frame_type): Initialize unwind and type when needed. | |
8022 | (get_frame_id, frame_register_unwind): Ditto. | |
8023 | ||
f81824a9 AC |
8024 | 2003-04-16 Andrew Cagney <[email protected]> |
8025 | ||
8026 | * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made | |
8027 | obsolete. | |
8028 | * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. | |
8029 | * sparcl-stub.c: Obsolete file. | |
8030 | * config/sparc/tm-sparclet.h: Obsolete file. | |
8031 | * sparclet-stub.c: Obsolete file. | |
8032 | * sparclet-rom.c: Obsolete file. | |
8033 | * sparcl-tdep.c: Obsolete file. | |
8034 | * config/sparc/tm-sparclite.h: Obsolete file. | |
8035 | * config/sparc/sparclite.mt: Obsolete file. | |
8036 | * config/sparc/sparclet.mt: Obsolete file. | |
8037 | * configure.tgt: Make sparclet-*-*, sparclite-*-*, and | |
8038 | sparc86x-*-* obsolete. | |
8039 | ||
9219021c DC |
8040 | 2003-04-15 David Carlton <[email protected]> |
8041 | ||
8042 | * Makefile.in (SFILES): Add cp-namespace.c. | |
8043 | (COMMON_OBS): Add cp-namespace.o. | |
8044 | (block.o): Depend on gdb_obstack_h and cp_support_h. | |
8045 | (buildsym.o): Depend on cp_support_h. | |
8046 | (cp-namespace.o): New. | |
8047 | (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h, | |
8048 | gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h. | |
8049 | (dwarf2read.o): Depend on cp_support_h. | |
8050 | * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE. | |
8051 | * dwarf2read.c (process_die): Set processing_has_namespace_info, | |
8052 | processing_current_namespace. | |
8053 | (read_namespace): Update processing_current_namespace; check for | |
8054 | anonymous namespaces. | |
8055 | (dwarf2_name): New function. | |
8056 | (dwarf2_extension): Ditto. | |
8057 | * cp-support.h: Update copyright, contributors. | |
8058 | Add inclusion guards. | |
8059 | Add opaque declaration for structs obstack, block, symbol. | |
8060 | (struct using_direct): New struct. | |
8061 | Add declarations for cp_find_first_component, | |
8062 | cp_entire_prefix_len, processing_has_namespace_info, | |
8063 | processing_current_namespace, cp_is_anonymous, | |
8064 | cp_add_using_directive, cp_initialize_namespace, | |
8065 | cp_finalize_namespace, cp_set_block_scope, | |
8066 | cp_scan_for_anonymous_namespaces. | |
8067 | * cp-namespace.c: New file. | |
8068 | * cp-support.c: Update copyright. | |
8069 | Include ctype.h, gdb_assert.h, gdbcmd.h. | |
8070 | New variable maint_cplus_cmd_list. | |
8071 | (cp_find_first_component): New function. | |
8072 | (cp_entire_prefix_len, maint_cplus_command) | |
8073 | (first_component_command, _initialize_cp_support): Ditto. | |
8074 | * buildsym.c: Include cp-support.h. | |
8075 | New variable using_list. | |
8076 | (add_symbol_to_list): Check for anonymous namespaces. | |
8077 | (finish_block): Set block's scope. | |
8078 | (start_symtab): Initialize C++ namespace support. | |
8079 | (end_symtab): Finalize C++ namespace support. | |
8080 | * block.h: Add opaque declarations for structs | |
8081 | block_namespace_info, using_direct, and obstack. | |
8082 | Add declarations for block_set_scope and block_set_using. | |
8083 | (struct block): Add 'language_specific' member. | |
8084 | (BLOCK_NAMESPACE): New macro. | |
8085 | * block.c: Include gdb_obstack.h and cp-support.h. | |
8086 | (struct block_namespace_info): New struct. | |
8087 | (block_set_scope): New function. | |
8088 | (block_set_using, block_initialize_namespace): Ditto. | |
8089 | ||
d5a921c9 KB |
8090 | 2003-04-14 Kevin Buettner <[email protected]> |
8091 | ||
8092 | * solib-svr4.c (svr4_have_link_map_offsets): New function. | |
8093 | (locate_base): Return early if there aren't any link map offsets. | |
8094 | (svr4_solib_create_inferior_hook): Warn if shared library support | |
8095 | is unavailable. | |
8096 | ||
d2a52b27 DC |
8097 | 2003-04-14 David Carlton <[email protected]> |
8098 | ||
8099 | * symtab.c (symbol_set_names): Add prefix when storing Java names | |
8100 | in hash table. Fix for PR java/1039. | |
8101 | ||
980cae7a DC |
8102 | 2003-04-14 David Carlton <[email protected]> |
8103 | ||
8104 | * symtab.c (symbol_set_names): Rename 'name' arg to | |
8105 | 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'. | |
8106 | * symtab.h: Change 'name' argument in declaration of | |
8107 | symbol_set_names to 'linkage_name'. | |
8108 | (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'. | |
8109 | ||
e227b13c AC |
8110 | 2003-04-14 Andrew Cagney <[email protected]> |
8111 | ||
8112 | * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE, | |
8113 | return the fully sign-extended register value. | |
8114 | (get_frame_pointer): Ditto. | |
8115 | (mips_pop_frame): Initialize "proc_desc" after checking for a | |
8116 | dummy frame. | |
8117 | ||
36712a20 AC |
8118 | 2003-04-14 Andrew Cagney <[email protected]> |
8119 | ||
8120 | * mips-tdep.c (mips_push_dummy_frame): Delete function. | |
8121 | (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros. | |
8122 | (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro. | |
8123 | (mips_push_register): Delete function. | |
8124 | (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and | |
8125 | PUSH_FP_REGNUM. | |
8126 | ||
44ea7b70 JB |
8127 | 2003-04-14 Jim Blandy <[email protected]> |
8128 | ||
8129 | * symmisc.c: #include "gdb_regex.h". | |
8130 | (maintenance_list_symtabs, maintenance_list_psymtabs): New | |
8131 | functions. | |
8132 | * maint.c (maintenance_list_command): New function. | |
8133 | (_initialize_maint_cmds): Register the above as commands. | |
8134 | * symtab.h (maintenance_list_symtabs, | |
8135 | maintenance_list_psymtabs): New declarations. | |
8136 | * cli/cli-cmds.c (maintenancelistlist): New variable. | |
8137 | (init_cmd_lists): Initialize it. | |
8138 | * cli/cli-cmds.h (maintenancelistlist): New declaration. | |
8139 | * gdbcmd.h (maintenancelistlist): New declaration. | |
8140 | * Makefile.in (symmisc.o): Update dependencies. | |
8141 | ||
2d0c7962 EZ |
8142 | 2003-04-14 Elena Zannoni <[email protected]> |
8143 | ||
8144 | * s390-nat.c: Include asm/types.h for addr_t. | |
8145 | ||
1947a811 CV |
8146 | 2003-04-14 Corinna Vinschen <[email protected]> |
8147 | ||
8148 | * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with | |
8149 | actually incoming type. | |
8150 | ||
adb616d7 AC |
8151 | 2003-04-13 Andrew Cagney <[email protected]> |
8152 | ||
8153 | * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc, | |
8154 | get_next_frame and get_frame_saved_regs. | |
8155 | ||
9b5e151c AC |
8156 | 2003-04-13 Andrew Cagney <[email protected]> |
8157 | ||
8158 | * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead | |
8159 | of gdbarch_num_regs. | |
8160 | ||
ef6e7e13 AC |
8161 | 2003-04-13 Andrew Cagney <[email protected]> |
8162 | ||
8163 | * frame.h: Mention what replaced what in "struct frame_info". | |
8164 | * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and | |
8165 | deprecated_update_frame_base_hack and | |
8166 | deprecated_update_frame_pc_hack. | |
8167 | * hppa-tdep.c: Ditto. | |
8168 | ||
61fbb938 DJ |
8169 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
8170 | ||
8171 | * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments | |
8172 | to read_reg and update its comment. Remove regnum member. | |
8173 | * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval. | |
8174 | Don't call read_reg when setting in_reg. Call read_reg to get | |
8175 | the frame base if it's in a register. Return the register number | |
8176 | on the stack instead of in the context. Remove extra arguments | |
8177 | to read_reg. | |
8178 | * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments. | |
8179 | (dwarf2_evaluate_loc_desc): Call value_from_register. Expect | |
8180 | the register number on the expression stack. | |
8181 | (needs_frame_read_reg): Remove extra arguments. | |
8182 | ||
0d53c4c4 DJ |
8183 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
8184 | ||
8185 | * dwarf2expr.c (dwarf2_read_address): Renamed from read_address; | |
8186 | made non-static. | |
8187 | (execute_stack_op): All callers updated. | |
8188 | * dwarf2expr.h: Add prototype for dwarf2_read_address. | |
8189 | * dwarf2loc.c (find_location_expression): New function. | |
8190 | (dwarf_expr_frame_base): Call it. | |
8191 | (dwarf2_evaluate_loc_desc): Handle 0-length location expressions. | |
8192 | (dwarf2_tracepoint_var_ref): New function, broken out from | |
8193 | locexpr_tracepoint_var_ref. | |
8194 | (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref. | |
8195 | Make static. | |
8196 | (loclist_read_variable, loclist_read_needs_frame): New functions. | |
8197 | (loclist_describe_location, loclist_tracepoint_var_ref): New | |
8198 | functions. | |
8199 | (dwarf2_loclist_funcs): New struct location_funcs. | |
8200 | * dwarf2loc.h (struct dwarf2_loclist_baton): New type. | |
8201 | (struct dwarf2_locexpr_baton): Add comments. | |
8202 | (dwarf2_loclist_funcs): New extern. | |
8203 | * dwarf2read.c (struct comp_unit_head): Remove DIE member, add | |
8204 | base_address and base_known. | |
8205 | (dwarf_loc_buffer): New variable. | |
8206 | (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size. | |
8207 | (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros. | |
8208 | (dwarf2_has_info): Initialize dwarf_loc_offset. | |
8209 | (dwarf2_build_psymtabs): Read in .debug_loc. | |
8210 | (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and | |
8211 | DWARF_LOC_SIZE. | |
8212 | (psymtab_to_symtab_1): Likewise. Move base address calculation | |
8213 | here, from... | |
8214 | (dwarf2_get_pc_bounds): ... here. Use the base address from | |
8215 | cu_header. | |
8216 | (dwarf2_symbol_mark_computed): Handle location lists. | |
8217 | ||
6aca59a3 DJ |
8218 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
8219 | ||
8220 | * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode | |
8221 | if the linkage name demangled successfully. | |
8222 | ||
aca1fcd0 MK |
8223 | 2003-04-13 Mark Kettenis <[email protected]> |
8224 | ||
97095916 MK |
8225 | * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours, |
8226 | disassmbly_flavour): Removed. | |
8227 | ||
aca1fcd0 MK |
8228 | * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. |
8229 | ||
562a961f MK |
8230 | 2003-04-13 Mark Kettenis <[email protected]> |
8231 | ||
8232 | * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed. | |
8233 | ||
bd013d54 AC |
8234 | 2003-04-12 Andrew Cagney <[email protected]> |
8235 | ||
8236 | * frame.h (struct frame_info): Move definition from here ... | |
8237 | * frame.c (struct frame_info): ... to here. | |
8238 | ||
167ef8b1 AC |
8239 | 2003-04-12 Andrew Cagney <[email protected]> |
8240 | ||
8241 | * gdbthread.h (save_infrun_state): Delete parameter | |
8242 | "prev_func_start". | |
8243 | (struct thread_info): Delete field "prev_func_start". | |
8244 | (load_infrun_state): Ditto. | |
8245 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
8246 | * infrun.c (prev_func_start): Delete variable. | |
8247 | (context_switch, init_wait_for_inferior): Update. | |
8248 | (stop_stepping, keep_going): Update. | |
8249 | ||
da3331ec AC |
8250 | 2003-04-12 Andrew Cagney <[email protected]> |
8251 | ||
8252 | * gdbarch.sh: Add missing opaque declarations. | |
8253 | * gdbarch.h: Regnerate. | |
8254 | * symtab.h: Add missing opaque declarations. | |
8255 | * value.h, target.h, symfile.h, stabsread.h: Ditto. | |
8256 | * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. | |
8257 | * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. | |
8258 | * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. | |
8259 | * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. | |
8260 | * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. | |
8261 | * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. | |
8262 | * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. | |
8263 | * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. | |
8264 | * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. | |
8265 | * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. | |
8266 | * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. | |
8267 | * cli/cli-setshow.h, cli/cli-script.h: Ditto. | |
8268 | ||
18adea3f AC |
8269 | 2003-04-11 Andrew Cagney <[email protected]> |
8270 | ||
8271 | * frame.c (get_frame_id): Return this frame's "id". | |
8272 | (legacy_get_prev_frame): Set prev's frame ID code_addr to the | |
8273 | function start. | |
8274 | (legacy_saved_regs_this_id): Replace function body with | |
8275 | internal-error. | |
8276 | (deprecated_frame_xmalloc): Mark the frame ID as valid, use | |
8277 | FRAME_OBSTACK_ZALLOC. | |
8278 | (create_new_frame): Mark the frame ID as valid. | |
8279 | ||
2252e863 AO |
8280 | 2003-04-11 Alexandre Oliva <[email protected]> |
8281 | ||
8282 | * Makefile.in (libbfd_h): Added missing setting. | |
8283 | * mips-tdep.c (mips_gdbarch_init): Set disassembler_options | |
8284 | according to the selected ABI. | |
8285 | ||
a8245ab8 JJ |
8286 | 2003-04-11 Jeff Johnston <[email protected]> |
8287 | ||
8288 | * gdb_indent.sh: Recognize pid_t and sigset_t as types. | |
8289 | ||
6913c89a AC |
8290 | 2003-04-11 Andrew Cagney <[email protected]> |
8291 | ||
8292 | * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate | |
8293 | SAVED_PC_AFTER_CALL. | |
8294 | * gdbarch.h, gdbarch.c: Regenerate. | |
8295 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8296 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8297 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8298 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8299 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8300 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8301 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8302 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8303 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8304 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8305 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8306 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8307 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8308 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8309 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8310 | (ia64_saved_pc_after_call): Update declaration. | |
8311 | * i386ly-tdep.c (i386lynx_init_abi): Update. | |
8312 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8313 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8314 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8315 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8316 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8317 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8318 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8319 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8320 | * ns32knbsd-nat.c (frame_num_args): Update. | |
8321 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
8322 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
8323 | * infrun.c (step_over_function): Update. | |
8324 | * i386-linux-tdep.c (skip_hurd_resolver): Update. | |
8325 | * i386-interix-tdep.c (i386_interix_back_one_frame): Update. | |
8326 | * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
8327 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8328 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
8329 | * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
8330 | * arm-linux-tdep.c (skip_hurd_resolver): Update. | |
8331 | * arch-utils.c (init_frame_pc_default): Update. | |
8332 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
8333 | * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update | |
8334 | declaration. | |
8ffd9b1b | 8335 | |
38edeab8 AC |
8336 | 2003-04-11 Andrew Cagney <[email protected]> |
8337 | ||
8338 | * i387-tdep.c: Update copyright. | |
8339 | (i387_to_double): Delete function. | |
8340 | (double_to_i387): Delete function. | |
8341 | ||
81f8a206 AC |
8342 | 2003-04-10 Andrew Cagney <[email protected]> |
8343 | ||
8344 | * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the | |
8345 | frame's function's address. Simplify. | |
8346 | (d10v_frame_unwind_cache): Check that the frame's function is | |
8347 | non-zero. | |
8348 | ||
6e691f7a JB |
8349 | 2003-04-10 Jim Blandy <[email protected]> |
8350 | ||
8351 | * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted | |
8352 | call to set_gdbarch_deprecated_push_arguments. | |
8353 | ||
7f78e237 AC |
8354 | 2003-04-10 Andrew Cagney <[email protected]> |
8355 | ||
8356 | * frame.c (fprint_frame_id): New function. | |
8357 | (fprint_frame_type, fprint_frame): New function. | |
8358 | (frame_pc_unwind, frame_func_unwind): Add/update trace code. | |
8359 | (create_sentinel_frame, get_frame_id): Ditto. | |
8360 | (frame_id_p, frame_id_eq): Ditto. | |
8361 | (frame_id_inner, create_new_frame): Ditto. | |
8362 | (legacy_get_prev_frame, get_prev_frame): Ditto. | |
8363 | (deprecated_update_frame_pc_hack): Ditto. | |
8364 | (frame_register_unwind): Ditto. | |
8365 | (deprecated_update_frame_base_hack): Ditto. | |
8366 | ||
f870b49b CV |
8367 | 2003-04-10 Corinna Vinschen <[email protected]> |
8368 | ||
8369 | * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function. | |
8370 | (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new | |
8371 | frame_chain function. | |
8372 | * Makefile.in: Add dependencies due to above change. | |
8373 | ||
7c86889b CV |
8374 | 2003-04-10 Corinna Vinschen <[email protected]> |
8375 | ||
8376 | * blockframe.c (legacy_frame_chain_valid): Move call to | |
8377 | DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and | |
8378 | inside_entry_file. | |
8379 | ||
d0a55772 AC |
8380 | 2003-04-09 Andrew Cagney <[email protected]> |
8381 | ||
8382 | * frame.h (struct frame_id): Replace "pc" and "base" with | |
8383 | "stack_addr" and "code_addr". Update comments. | |
8384 | (frame_id_build): Update parameter names and comment. | |
8385 | (struct frame_info): Replace "id_p" and "id" with "this_id". | |
8386 | * dummy-frame.c (dummy_frame_this_id): Update. | |
8387 | * breakpoint.c (print_one_breakpoint): Update. | |
8388 | * frame.c (get_frame_id): Update. | |
8389 | (get_frame_base, frame_id_build): Update. | |
8390 | (create_sentinel_frame, legacy_get_prev_frame): Update. | |
8391 | (deprecated_update_frame_base_hack): Update. | |
8392 | (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. | |
8393 | (frame_id_inner): Ditto. | |
8394 | ||
ac16bf07 AC |
8395 | 2003-04-09 Andrew Cagney <[email protected]> |
8396 | ||
8397 | * defs.h (gdb_print_host_address): Make "addr" parameter a | |
8398 | pointer constant. | |
8399 | * utils.c (gdb_print_host_address): Update. | |
8400 | ||
366cfc9e KB |
8401 | 2003-04-09 Kevin Buettner <[email protected]> |
8402 | ||
8403 | * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the | |
8404 | register number for R0 is 0. | |
8405 | ||
cd983b5c JB |
8406 | 2003-04-09 J. Brobecker <[email protected]> |
8407 | ||
8408 | * frame.h (struct gdbarch): Add opaque structure definition | |
8409 | to avoid a compilation warning on LynxOS 4.0. | |
8410 | ||
d1340264 AC |
8411 | 2003-04-09 Andrew Cagney <[email protected]> |
8412 | ||
8413 | * frame.h (struct frame_info): Delete field "pc". Replace | |
8414 | "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc" | |
8415 | structure. | |
8416 | * frame.c (frame_pc_unwind): Update. | |
8417 | (create_sentinel_frame): Do not set "pc". | |
8418 | (get_prev_frame): Do not set "pc". Use frame_pc_unwind. | |
8419 | (get_frame_pc): Call frame_pc_unwind. | |
8420 | (deprecated_update_frame_pc_hack): Update. | |
8421 | (create_new_frame): Use "pc" not "->pc". | |
8422 | ||
90a6fffb AC |
8423 | 2003-04-09 Andrew Cagney <[email protected]> |
8424 | ||
8425 | * frame.c (get_frame_id): Eliminate code updating "frame". | |
8426 | (legacy_get_prev_frame): Ditto. | |
8427 | (get_frame_base): Return id.base directly. | |
8428 | (deprecated_update_frame_base_hack): Update "id.base". | |
8429 | * frame.h (struct frame_info): Delete field "frame". | |
8430 | ||
2fbce691 AC |
8431 | 2003-04-09 Andrew Cagney <[email protected]> |
8432 | ||
8433 | * NEWS: Mention that the "Sequent family" is obsolete. | |
8434 | * configure.tgt: Obsolete i[3456]86-sequent-bsd*, | |
8435 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
8436 | * configure.host: Obsolete i[3456]86-sequent-bsd*, | |
8437 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
8438 | * config/i386/tm-ptx4.h: Obsolete file. | |
8439 | * config/i386/tm-ptx.h: Obsolete file. | |
8440 | * symm-tdep.c: Obsolete file. | |
8441 | * config/i386/symmetry.mt: Obsolete file. | |
8442 | * config/i386/tm-symmetry.h: Obsolete file. | |
8443 | * symm-nat.c: Obsolete file. | |
8444 | * config/i386/nm-symmetry.h: Obsolete file. | |
8445 | * config/i386/xm-symmetry.h: Obsolete file. | |
8446 | * config/i386/symmetry.mh: Obsolete file. | |
8447 | * config/i386/nm-ptx4.h: Obsolete file. | |
8448 | * config/i386/ptx4.mh: Obsolete file. | |
8449 | * config/i386/ptx.mt: Obsolete file. | |
8450 | * config/i386/ptx.mh: Obsolete file. | |
8451 | * config/i386/xm-ptx4.h: Obsolete file. | |
8452 | * config/i386/xm-ptx.h: Obsolete file. | |
8453 | ||
78c43945 AC |
8454 | 2003-04-09 Andrew Cagney <[email protected]> |
8455 | ||
8456 | Obsolete mips*-*-mach3*. | |
8457 | * NEWS: Mention that mips*-*-mach3* is obsolete. | |
8458 | * m3-nat.c: Obsolete file. | |
8459 | * config/nm-m3.h: Obsolete file. | |
8460 | * config/mips/tm-mipsm3.h: Obsolete file. | |
8461 | * config/mips/mipsm3.mt: Obsolete file. | |
8462 | * config/mips/mipsm3.mh: Obsolete file. | |
8463 | * config/mips/xm-mipsm3.h: Obsolete file. | |
8464 | * mipsm3-nat.c: Obsolete file. | |
8465 | * configure.host: Obsolete mips-dec-mach3*. | |
8466 | * configure.tgt: Obsolete mips*-*-mach3*. | |
8467 | ||
f1908289 AC |
8468 | 2003-04-09 Andrew Cagney <[email protected]> |
8469 | ||
8470 | * doublest.h: Update copyright. | |
8471 | (deprecated_store_floating, deprecated_extract_floating): Rename | |
8472 | store_floating and extract_floating. Update comments. | |
8473 | * doublest.c: Update copyright. | |
8474 | (extract_floating_by_length): Replace extract_floating. | |
8475 | (store_floating_by_length): Replace store_floating. | |
8476 | (deprecated_extract_floating): New function. | |
8477 | (deprecated_store_floating): New function. | |
8478 | (extract_typed_floating): Call extract_floating_by_length. | |
8479 | (store_typed_floating): Call store_floating_by_length. | |
8480 | * x86-64-tdep.c (x86_64_store_return_value): Update. | |
8481 | * sh-tdep.c (sh3e_sh4_extract_return_value): Update. | |
8482 | (sh64_extract_return_value): Update. | |
8483 | (sh_sh4_register_convert_to_virtual): Update. | |
8484 | (sh_sh64_register_convert_to_virtual): Update. | |
8485 | (sh_sh4_register_convert_to_raw): Update. | |
8486 | (sh_sh64_register_convert_to_raw): Update. | |
8487 | * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. | |
8488 | (rs6000_register_convert_to_raw): Update. | |
8489 | * ia64-tdep.c (ia64_register_convert_to_virtual): Update. | |
8490 | (ia64_register_convert_to_raw): Update. | |
8491 | * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. | |
8492 | (REGISTER_CONVERT_TO_VIRTUAL): Update. | |
8493 | * arm-linux-tdep.c (arm_linux_push_arguments): Update. | |
8494 | * alpha-tdep.c (alpha_register_convert_to_virtual): Update. | |
8495 | (alpha_register_convert_to_raw): Update. | |
8496 | ||
4443bd83 AC |
8497 | 2003-04-08 Andrew Cagney <[email protected]> |
8498 | ||
8499 | * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. | |
8500 | * gdbarch.h, gdbarch.c: Re-generate. | |
8501 | * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. | |
8502 | (d10v_gdbarch_init): Do not set saved_pc_after_call. | |
8503 | * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P | |
8504 | conditionally, use frame_pc_unwind as an alternative. Add | |
8505 | comments. | |
8506 | * arch-utils.c (init_frame_pc_default): Only call | |
8507 | SAVED_PC_AFTER_CALL when available. | |
8508 | ||
c0236d92 EZ |
8509 | 2003-04-08 Elena Zannoni <[email protected]> |
8510 | ||
fbe586ae | 8511 | * infrun.c (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
8512 | (struct inferior_status): Rename stop_soon_quietly field to stop_soon. |
8513 | (clear_proceed_status): Rename stop_soon_quietly to stop_soon. | |
8514 | (start_remote): Ditto. | |
8515 | (handle_inferior_event): Ditto. | |
8516 | (save_inferior_status): Ditto. | |
8517 | (restore_inferior_status): Ditto. | |
8518 | * infcmd.c (attach_command): Ditto. | |
8519 | * fork-child.c (startup_inferior): Ditto. | |
fbe586ae | 8520 | * inferior.h (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
8521 | * alpha-tdep.c (heuristic_proc_start): Ditto. |
8522 | * mips-tdep.c (heuristic_proc_start): Ditto. | |
8523 | * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. | |
8524 | * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. | |
8525 | * solib-osf.c (osf_solib_create_inferior_hook): Ditto. | |
8526 | * solib-irix.c (irix_solib_create_inferior_hook): Ditto. | |
8527 | * remote-vx.c (vx_create_inferior): Ditto. | |
8528 | ||
8529 | 2003-04-08 Elena Zannoni <[email protected]> | |
8530 | ||
8531 | * infrun.c (stop_soon_quietly): Make it an enum, to better | |
8532 | override the default behavior of handle_inferior_event. | |
8533 | (clear_proceed_status): Update uses of stop_soon_quietly to | |
8534 | reflect that it is now an enum. | |
8535 | (start_remote): Ditto. | |
8536 | (handle_inferior_event): Change logic a bit if stop_soon_quietly | |
8537 | is set to handle the new GNU/Linux kernel behavior for | |
8538 | attach/sigstop. Update uses of stop_soon_quietly. | |
8539 | * inferior.h (enum stop_kind): New enum. | |
8540 | * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. | |
8541 | Reset normal handle_inferior_event behavior, afterwards. | |
8542 | * fork-child.c (startup_inferior): Update. | |
8543 | * alpha-tdep.c (heuristic_proc_start): Update. | |
8544 | * solib-svr4.c (svr4_solib_create_inferior_hook): Update. | |
8545 | * solib-sunos.c (sunos_solib_create_inferior_hook): Update. | |
8546 | * solib-osf.c (osf_solib_create_inferior_hook): Update. | |
8547 | * solib-irix.c (irix_solib_create_inferior_hook): Update. | |
8548 | * remote-vx.c (vx_create_inferior): Update. | |
8549 | * mips-tdep.c (heuristic_proc_start): Update. | |
8550 | ||
1211bce3 EZ |
8551 | 2003-04-07 Elena Zannoni <[email protected]> |
8552 | ||
8553 | * disasm.c (dump_insns): Move variables inside loop, or they will | |
fbe586ae | 8554 | be freed more than once, causing wild memory corruptions. |
1211bce3 | 8555 | (gdb_disassembly): Look for the substring "-thread", |
fbe586ae | 8556 | instead of "-threads" in the target name, to make sure to find |
8ffd9b1b | 8557 | the 'multi-thread' target. Also, make sure we do the right thing |
fbe586ae | 8558 | with the "core" target. |
1211bce3 | 8559 | |
f0ef6b29 KB |
8560 | 2003-04-07 Kevin Buettner <[email protected]> |
8561 | ||
8562 | * mips-tdep.c (mips_print_fp_register): New function, created from | |
8563 | do_fp_register_row(). Registers are now (also) printed as hex. | |
8564 | Only one register is printed per row. | |
8565 | (mips_print_register, do_fp_register_row): Print floating point | |
8566 | registers with mips_print_fp_register(). | |
8567 | ||
8cf71652 AC |
8568 | 2003-04-06 Andrew Cagney <[email protected]> |
8569 | ||
5e488a7b AC |
8570 | * valprint.h (inspect_it): Add extern declaration. |
8571 | * objc-lang.c (value_nsstring): Avoid assignment inside of "if". | |
8572 | (selectors_info, classes_info): Ditto. | |
8573 | (find_objc_msgcall): Fix indentation. | |
8574 | (objc_printstr): Delete extern declarations. | |
8575 | ||
8cf71652 AC |
8576 | * arm-tdep.c (arm_frameless_function_invocation): Fix typo. |
8577 | ||
e6ba3bc9 AC |
8578 | 2003-04-06 Andrew Cagney <[email protected]> |
8579 | ||
8580 | * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid. | |
8581 | Update comment. | |
8582 | * frame.c (legacy_saved_regs_this_id): Update. | |
8583 | (legacy_get_prev_frame): Update. | |
8584 | * xstormy16-tdep.c: Update comment. | |
8585 | * sparc-tdep.c (sparc_frame_chain): Update comment. | |
8586 | * blockframe.c (legacy_frame_chain_valid): Update. | |
8587 | ||
55e1d7e7 AC |
8588 | 2003-04-06 Andrew Cagney <[email protected]> |
8589 | ||
996179ee AC |
8590 | * valprint.c (val_print_type_code_int): Delete #ifdef |
8591 | PRINT_TYPELESS_INTEGER code. | |
8592 | ||
55e1d7e7 AC |
8593 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES) |
8594 | (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial | |
8595 | multi-arch definition. | |
8596 | * gdbarch.h: Re-generate. | |
8597 | ||
43bd9a9e AC |
8598 | 2003-04-05 Andrew Cagney <[email protected]> |
8599 | ||
8600 | Eliminate FRAME_FIND_SAVED_REGS. | |
8601 | * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
8602 | Change FSR parameter to a pointer. | |
8603 | * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): | |
8604 | Assume FSR parameter is a pointer. | |
8605 | * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
8606 | Make fsr a pointer. | |
8607 | * hppa-tdep.c (hppa_frame_find_saved_regs): New function. | |
8608 | (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make | |
8609 | saved_regs a pointer. | |
8610 | (hppa_frame_saved_pc): Ditto. | |
8611 | (find_dummy_frame_regs): Make frame_saved_regs a pointer | |
8612 | (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a | |
8613 | pointer. | |
8614 | (restore_pc_queue): Make fsr a pointer. | |
8615 | (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer. | |
8616 | (hppa_frame_chain): Make saved_regs a pointer, call | |
8617 | hppa_frame_init_saved_regs. | |
8618 | * sparc-tdep.c: Include "gdb_assert.h". | |
8619 | (sparc_frame_find_saved_regs): Replace internal_error with | |
8620 | gdb_assert. | |
8621 | * remote-vxsparc.c (vx_read_register): Delete reference to | |
8622 | FRAME_FIND_SAVED_REGS. | |
8623 | * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS. | |
8624 | * gdbarch.h: Regenerate. | |
8625 | * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
8626 | (deprecated_get_frame_saved_regs): Delete declaration. | |
8627 | (struct frame_saved_regs): Delete definition. | |
8628 | * frame.c (deprecated_get_frame_saved_regs): Delete function. | |
8629 | * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare. | |
8630 | (hppa_frame_find_saved_regs): Delete declaration. | |
8631 | (FRAME_FIND_SAVED_REGS): Delete macro. | |
8632 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Define. | |
8633 | * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete | |
8634 | FRAME_FIND_SAVED_REGS in comment. | |
8635 | ||
be41e9f4 AC |
8636 | 2003-04-05 Andrew Cagney <[email protected]> |
8637 | ||
8638 | * frame.c (frame_func_unwind, get_frame_func): New functions. | |
8639 | * frame.h (get_frame_func, frame_func_unwind): Declare. | |
8640 | (struct frame_info): Add field "prev_func" for caching the | |
8641 | previous frame's function address. | |
8642 | * arm-tdep.c (arm_frameless_function_invocation): Combine | |
8643 | get_pc_function_start and get_frame_pc into get_frame_func. | |
8644 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
8645 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
8646 | * s390-tdep.c (s390_function_start): Ditto. | |
8647 | * rs6000-tdep.c (rs6000_pop_frame): Ditto. | |
8648 | (rs6000_frameless_function_invocation): Ditto. | |
8649 | (rs6000_frame_saved_pc): Ditto. | |
8650 | * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto. | |
8651 | * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto. | |
8652 | * i386-tdep.c (i386_frameless_signal_p): Ditto. | |
8653 | (i386_frame_init_saved_regs): Ditto. | |
8654 | * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto. | |
8655 | * d10v-tdep.c (d10v_frame_unwind_cache): Combine | |
8656 | get_pc_function_start and frame_pc_unwind into frame_func_unwind. | |
8657 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
8658 | * blockframe.c (frameless_look_for_prologue): Ditto. | |
8659 | ||
a01dd7cc AC |
8660 | 2003-04-05 Andrew Cagney <[email protected]> |
8661 | ||
8662 | * frame.c (legacy_get_prev_frame): Link prev to next at the | |
8663 | function start. Update comments. | |
8664 | ||
5e5592e6 AC |
8665 | 2003-04-05 Andrew Cagney <[email protected]> |
8666 | ||
8667 | * frame.c (get_frame_id): Update comment. | |
8668 | (legacy_get_prev_frame): Update comment. | |
8669 | * gdbarch.sh: Delete check for EXTRA_FRAME_INFO. | |
8670 | * gdbarch.h: Regenerate. | |
8671 | * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete. | |
8672 | * frame.h: Delete #ifdef EXTRA_FRAME_INFO code. | |
8673 | ||
6fba5002 AC |
8674 | 2003-04-05 Andrew Cagney <[email protected]> |
8675 | ||
8676 | * stack.c (print_frame_info): Use get_frame_pc. | |
8677 | ||
7df05f2b AC |
8678 | 2003-04-04 Andrew Cagney <[email protected]> |
8679 | ||
8680 | * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set | |
8681 | the frame's type from the unwinder. | |
8682 | (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME. | |
8683 | (create_new_frame, legacy_get_prev_frame): When the unwinder's | |
8684 | type isn't UNKNOWN_FRAME, initalize "type" from the unwinder. | |
8685 | (get_frame_base_address): Use get_frame_type. | |
8686 | (get_frame_locals_address, get_frame_args_address): Ditto. | |
8687 | (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE. | |
8688 | * frame.h (enum frame_type): Add UNKNOWN_FRAME. | |
8689 | (struct frame_info): Add comment explaining why the frame contains | |
8690 | a "type" field. | |
8691 | * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME. | |
8692 | * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME. | |
8693 | * sentinel-frame.c (sentinel_frame_unwinder): Set the type to | |
8694 | NORMAL_FRAME. | |
8695 | * frame-unwind.h: Include "frame.h". | |
8696 | (struct frame_unwind): Add "type" field. | |
8697 | * Makefile.in (frame_unwind_h): Add $(frame_h). | |
8ffd9b1b | 8698 | |
11889732 AC |
8699 | 2003-04-04 Andrew Cagney <[email protected]> |
8700 | ||
8701 | * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build. | |
8702 | * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. | |
8703 | * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and | |
8704 | get_frame_base. | |
8705 | (d10v_unwind_dummy_id): Use frame_id_build. | |
8706 | * frame.c (find_frame_sal): Use get_frame_pc. | |
8707 | (create_new_frame): Use deprecated_update_frame_pc_hack and | |
8708 | deprecated_update_frame_base_hack. | |
8709 | (create_sentinel_frame): Add comment about ->pc going away. | |
8710 | (get_prev_frame): Add comment about ->pc going away. | |
8711 | (legacy_get_prev_frame): Use get_frame_base, get_frame_pc, | |
8712 | frame_id_build, deprecated_update_frame_pc_hack and | |
8713 | deprecated_update_frame_base_hack. | |
8714 | (select_frame): Use get_frame_pc. | |
8715 | (legacy_saved_regs_this_id): Use frame_id_build. | |
8716 | ||
50c46a0d EZ |
8717 | 2003-04-04 Elena Zannoni <[email protected]> |
8718 | ||
fbe586ae RH |
8719 | * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the |
8720 | signed integer case. | |
8721 | (classify_argument): Handle enumerations and references. | |
50c46a0d | 8722 | |
50bbdbd9 AC |
8723 | 2003-04-04 Andrew Cagney <[email protected]> |
8724 | ||
8725 | * frame.c (create_sentinel_frame): Initialize the sentinel frame's | |
8726 | ID to NULL. | |
8727 | ||
36018d2e AF |
8728 | 2003-04-01 Adam Fedor <[email protected]> |
8729 | ||
8730 | * gdb/objc-lang.c (selectors_info): Replace calls to | |
8731 | SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with | |
8732 | SYMBOL_NATURAL_NAME. | |
8733 | (classes_info, find_methods): Likewise. | |
8734 | ||
35cec841 KB |
8735 | 2003-04-03 Kevin Buettner <[email protected]> |
8736 | ||
8737 | * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set | |
8738 | ``mach'' to the value determined by bfd_default_set_arch_mach(). | |
8739 | ||
43136899 BR |
8740 | 2003-04-02 Bob Rossi <[email protected]> |
8741 | ||
8742 | * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o". | |
8743 | (SUBDIR_MI_SRCS): Add "mi-cmd-file.c". | |
8744 | (mi-cmd-file.o): Update dependencies. | |
8745 | ||
040b99fd KB |
8746 | 2003-04-01 Kevin Buettner <[email protected]> |
8747 | ||
8748 | * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
8749 | (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. | |
8750 | ||
9a3d7dfd AF |
8751 | 2003-04-01 Adam Fedor <[email protected]> |
8752 | ||
8753 | * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h). | |
8754 | * language.h (struct language_defn): Add la_demangle. | |
8755 | (language_demangle): Declare. | |
8756 | * language.c (language_demangle): New function. | |
8757 | (unk_lang_demangle): Likewise. | |
8758 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
fbe586ae | 8759 | Add ukn_lang_demangle. |
9a3d7dfd | 8760 | * ada-lang.c (ada_language_defn): Add NULL for la_demangle element. |
fbe586ae | 8761 | * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise. |
9a3d7dfd AF |
8762 | * c-lang.c (c_language_defn, asm_language_defn): Likewise. |
8763 | (cplus_language_defn): Add cplus_demangle for la_demangle element. | |
8764 | * jv-lang.c (java_demangle): New function | |
8765 | (java_language_defn): Use it for la_demangle element. | |
fbe586ae RH |
8766 | * objc-lang.c (objc_demangle): Add options argument |
8767 | (objc_language_defn): Use objc_demangle for la_demangle element. | |
9a3d7dfd AF |
8768 | * maint.c (maintenance_demangle): Replace switch with |
8769 | call to language_demangle. | |
8770 | * utils.c (fprintf_symbol_filtered): Likewise. | |
8771 | ||
5e074003 AC |
8772 | 2003-04-01 Andrew Cagney <[email protected]> |
8773 | ||
8774 | * printcmd.c (print_frame_nameless_args): Delete #ifdef | |
8775 | NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and | |
8776 | PRINT_TYPELESS_INTEGER. | |
8777 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename | |
8778 | PUSH_RETURN_ADDRESS. | |
8779 | ||
270cb5d6 AC |
8780 | 2003-04-01 Andrew Cagney <[email protected]> |
8781 | ||
8782 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
8783 | * d10v-tdep.c: Include "frame-base.h". | |
8784 | (d10v_frame_unwind): Make constant. | |
8785 | (d10v_frame_base_address): New function. | |
8786 | (d10v_frame_base): New variable. | |
8787 | (d10v_gdbarch_init): Set frame_base default. | |
8788 | (struct d10v_unwind_cache): Add the field "prev_sp". Update | |
8789 | comment for base. | |
8790 | (d10v_frame_unwind_cache): Set and use "prev_sp". | |
8791 | (d10v_frame_this_id): Use the previous frame's inner most stack | |
8792 | address and this frame's func address for the frame ID. Use | |
8793 | frame_id_build. Don't analyze beyond the current instruction. | |
8ffd9b1b | 8794 | |
6bfb3e36 AC |
8795 | 2003-04-01 Andrew Cagney <[email protected]> |
8796 | ||
8797 | * frame.h (get_frame_locals_address, get_frame_args_address): | |
8798 | Refer to the base address, instead of the address of the first | |
8799 | local or parameter. | |
8ffd9b1b | 8800 | |
da62e633 AC |
8801 | 2003-04-01 Andrew Cagney <[email protected]> |
8802 | ||
8803 | Add frame debug info addresses: | |
8804 | * frame-base.c: New file. | |
8805 | * frame-base.h: New file. | |
8806 | * frame.h (struct frame_base): Add opaque declaration. | |
8807 | (get_frame_base): Update comment. | |
8808 | (get_frame_base_address): Declare. | |
8809 | (get_frame_locals_address): Declare. | |
8810 | (get_frame_args_address): Declare. | |
8811 | (struct frame_info): Add "base" and "base_cache". Update | |
8812 | comments on the unwinder. | |
8813 | * frame.c: Include "frame-base.h". | |
8814 | (get_frame_locals_address): New function. | |
8815 | (get_frame_base_address): New function. | |
8816 | (get_frame_args_address): New function. | |
8817 | * findvar.c (read_var_value): Use get_frame_locals_address and | |
8818 | get_frame_args_address. | |
8819 | * stack.c (frame_info): Use get_frame_locals_address and | |
8820 | get_frame_args_address. | |
8821 | (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro, | |
8822 | moved to "frame-base.c". | |
8823 | * printcmd.c (print_frame_nameless_args): Ditto. | |
8824 | * symtab.h (address_class): Update comments. | |
8825 | * dwarf2loc.c (dwarf_expr_frame_base): Add note about | |
8826 | get_frame_base_address. | |
8827 | * dwarf2expr.c (execute_stack_op): Ditto. | |
8828 | * Makefile.in (frame_base_h): Define. | |
8829 | (frame.o): Update dependencies. | |
8830 | (frame-base.o): Add dependencies. | |
8831 | (SFILES): Add frame-base.c. | |
8832 | (COMMON_OBS): Add frame-base.o. | |
8833 | ||
3d30e9c2 AC |
8834 | 2003-04-01 Andrew Cagney <[email protected]> |
8835 | ||
8836 | * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero. | |
8837 | CALL_DUMMY_LENGTH): Ditto. | |
8838 | * gdbarch.c: Re-generate. | |
8839 | * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro. | |
8840 | (CALL_DUMMY_LENGTH): Delete macro. | |
8841 | * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero. | |
8842 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8843 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8844 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8845 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8846 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8847 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8848 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
8849 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8850 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8851 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8852 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8853 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8854 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8855 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8856 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8857 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8858 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8859 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8860 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8861 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
8862 | ||
ce0c7262 CV |
8863 | 2003-04-01 Corinna Vinschen <[email protected]> |
8864 | ||
8865 | * frame.c (get_prev_frame): Disable call to inside_entry_file(). | |
8866 | ||
73dd234f AC |
8867 | 2003-04-01 Andrew Cagney <[email protected]> |
8868 | ||
8869 | * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero. | |
8870 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8871 | * gdbarch.h, gdbarch.c: Re-generate. | |
8872 | * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8873 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8874 | * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8875 | * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8876 | (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
8877 | * infcmd.c (run_stack_dummy): Simplify assuming | |
8878 | CALL_DUMMY_BREAKPOINT_OFFSET_P. | |
8879 | * infrun.c (handle_inferior_event): Ditto. | |
8880 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
8881 | call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p. | |
8882 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8883 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8884 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8885 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8886 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8887 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8888 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8889 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8890 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8891 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8892 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8893 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8894 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8895 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
8896 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8897 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8898 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8899 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8900 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8901 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8902 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
8903 | ||
97606a13 DJ |
8904 | 2003-04-01 Daniel Jacobowitz <[email protected]> |
8905 | ||
8906 | * symfile.c (symfile_relocate_debug_section): Update call to | |
8907 | bfd_simple_get_relocated_section_contents. | |
8908 | ||
e8ab51f7 AC |
8909 | 2003-03-31 Andrew Cagney <[email protected]> |
8910 | ||
8911 | * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. | |
8912 | * gdbarch.h, gdbarch.c: Regenerate. | |
8913 | * inferior.h (FIX_CALL_DUMMY): Delete macro. | |
8914 | * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when | |
8915 | available. | |
8916 | * frame.h (generic_fix_call_dummy): Delete declaration. | |
8917 | * dummy-frame.h: Update comment. | |
8918 | * dummy-frame.c (generic_fix_call_dummy): Delete function. | |
8919 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
8920 | fix_call_dummy. | |
8921 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8922 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8923 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8924 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8925 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8926 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8927 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8928 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8929 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8930 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8931 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8932 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8933 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8934 | ||
018d1b48 JB |
8935 | 2003-03-31 J. Brobecker <[email protected]> |
8936 | ||
8937 | * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful. | |
8938 | (INIT_FRAME_AP): Likewise. | |
8939 | (EXTRA_FRAME_INFO): Likewise. | |
8940 | ||
e9a2674e AC |
8941 | 2003-03-31 Andrew Cagney <[email protected]> |
8942 | ||
8943 | * gdbarch.sh: Include "symfile.h". | |
8944 | (CALL_DUMMY_ADDRESS): Default to entry_point_address. | |
8945 | * gdbarch.h, gdbarch.c: Re-generate. | |
8946 | * inferior.h (CALL_DUMMY_ADDRESS): Delete macro. | |
8947 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
8948 | call_dummy_address, the default is at entry_point_address. | |
8949 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8950 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8951 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8952 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8953 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8954 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8955 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8956 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8957 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8958 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8959 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8960 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8961 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8962 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8963 | ||
e8a8712a AC |
8964 | 2003-03-31 Andrew Cagney <[email protected]> |
8965 | ||
8966 | * gdbarch.sh (CALL_DUMMY_P): Delete. | |
8967 | * gdbarch.h, gdbarch.c: Re-generate. | |
8968 | * inferior.h (CALL_DUMMY_P): Delete macro. | |
8969 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8970 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8971 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8972 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8973 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8974 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8975 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8976 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8977 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8978 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8979 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8980 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8981 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8982 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8983 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8984 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8985 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8986 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
8987 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8988 | * breakpoint.c (deprecated_frame_in_dummy): Update. | |
8989 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8990 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8991 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8992 | * dummy-frame.c (dummy_frame_this_id): Update comments. | |
8993 | * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto. | |
8994 | * frame.c (legacy_get_prev_frame): Ditto. | |
8995 | * valops.c (call_function_by_hand): Delete function. | |
8996 | (hand_function_call): Rename to call_function_by_hand | |
8997 | ||
ed234cf8 AC |
8998 | 2003-03-30 Andrew Cagney <[email protected]> |
8999 | ||
9000 | 2002-11-10 Klee Dienes <[email protected]> | |
fbe586ae | 9001 | * value.h (struct value): Update comment. |
ed234cf8 | 9002 | |
06c77151 AC |
9003 | 2003-03-30 Andrew Cagney <[email protected]> |
9004 | ||
6c2b5168 AC |
9005 | * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with |
9006 | D10V_FP_REGNUM. | |
9007 | (d10v_gdbarch_init): Do not set fp_regnum. | |
9008 | ||
06c77151 AC |
9009 | * frame.c (get_frame_base): Force ID initialization. |
9010 | (get_prev_frame): Move computation of the frame ID from here ... | |
9011 | (get_frame_id): ... to here. | |
9012 | (legacy_get_prev_frame): Mark the frame ID as valid. | |
9013 | * frame.h (struct frame_info): Add field "id_p". | |
9014 | ||
97a1a11c MK |
9015 | 2003-03-30 Mark Kettenis <[email protected]> |
9016 | ||
9017 | * i386-tdep.c (i386_store_struct_return): Removed. | |
9018 | (i386_gdbarch_init): Don't set deprecated_store_struct_return. | |
9019 | ||
6c0e89ed AC |
9020 | 2003-03-30 Andrew Cagney <[email protected]> |
9021 | ||
9022 | * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP. | |
9023 | * gdbarch.h, gdbarch.c: Regenerate. | |
9024 | * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp. | |
9025 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
9026 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9027 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
9028 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9029 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9030 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9031 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
9032 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9033 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
9034 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9035 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
9036 | * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update. | |
9037 | * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
9038 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define. | |
9039 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9040 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9041 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9042 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9043 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9044 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9045 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9046 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9047 | * valops.c (hand_function_call): Replace TARGET_WRITE_SP with | |
9048 | DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, | |
9049 | instead of when push_dummy_call is not available. | |
8ffd9b1b | 9050 | |
f7dd6af2 AC |
9051 | 2003-03-30 Andrew Cagney <[email protected]> |
9052 | ||
9053 | * infttrace.c: Include "gdbthread.h". | |
9054 | (parent_attach_all): Fix function signature. | |
9055 | (call_ptrace): Update call. | |
9056 | * Makefile.in (infttrace.o): Update dependencies. | |
9057 | ||
28f617b3 AC |
9058 | 2003-03-30 Andrew Cagney <[email protected]> |
9059 | ||
9060 | * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace | |
9061 | PUSH_RETURN_ADDRESS. | |
9062 | * gdbarch.h, gdbarch.c: Regenerate. | |
9063 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9064 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9065 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9066 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9067 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9068 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9069 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9070 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9071 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9072 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9073 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9074 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9075 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9076 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9077 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9078 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9079 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9080 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9081 | * valops.c (hand_function_call): Update. | |
9082 | ||
4d628cd7 AC |
9083 | 2003-03-29 Andrew Cagney <[email protected]> |
9084 | ||
9085 | * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or | |
9086 | sizeof_call_dummy_words. | |
9087 | * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always | |
9088 | define. | |
9089 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 9090 | |
65e82032 AC |
9091 | 2003-03-29 Andrew Cagney <[email protected]> |
9092 | ||
9093 | * infttrace.h: New file. | |
9094 | * hpread.c: Include "gdb_assert.h" and "somsolib.h". | |
9095 | (hpread_get_textlow): Detect an uninitialized dn_bufp. | |
9096 | (hpread_read_doc_function_type): Detect an initialized type1. | |
9097 | (hpread_quick_traverse): Initialize mod_name_string. | |
9098 | * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. | |
9099 | (som_solib_get_solib_by_pc): Declare. | |
9100 | (so_lib_thread_start_addr): Declare. | |
9101 | (no_shared_libraries): Declare. | |
9102 | * somread.c (init_import_symbols): Make static. Add forward | |
9103 | declaration. | |
9104 | * config/pa/nm-hppah.h: Include "infttrace.h" for | |
9105 | parent_attach_all. | |
9106 | (hppa_insert_hw_watchpoint): Declare. | |
9107 | (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. | |
9108 | * hppah-nat.c: Include "gdb_string.h". | |
9109 | (parent_attach_all): Delete extern declaration, moved to | |
9110 | "infttrace.h". | |
9111 | (hppa_can_use_hw_watchpoint): Change type of "type" parameter to | |
9112 | int. | |
9113 | (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. | |
9114 | * Makefile.in (infttrace_h): Define. | |
9115 | (hpread.o): Update dependencies. | |
9116 | (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. | |
9117 | * hppa-hpux-tdep.c: Include "gdb_string.h". | |
9118 | * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". | |
9119 | * infrun.c (handle_inferior_event): Always initialize | |
9120 | stepped_after_stopped_by_watchpoint. Add default and remove | |
9121 | fallthrough in switch statement. | |
9122 | * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" | |
9123 | parameter to int. | |
9124 | (hppa_remove_hw_watchpoint): Ditto. | |
9125 | ||
2c3bbe77 AC |
9126 | 2003-03-29 Andrew Cagney <[email protected]> |
9127 | ||
9128 | * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint | |
9129 | offset. | |
9130 | ||
2dd604e7 RE |
9131 | 2003-03-29 Richard Earnshaw <[email protected]> |
9132 | ||
9133 | * arm-tdep.c (arm_push_arguments): Delete. | |
9134 | (struct stack_item): New type. | |
9135 | (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. | |
9136 | (arm_store_struct_return): Delte. | |
9137 | (arm_gdbarch_init): Register arm_push_dummy_call. Don't register | |
9138 | arm_push_arguments or arm_store_struct_return. | |
9139 | ||
e8933a55 AC |
9140 | 2003-03-28 Andrew Cagney <[email protected]> |
9141 | ||
9142 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
9143 | * remote.h (target_resume_hook, target_wait_loop_hook): Declare. | |
9144 | * d10v-tdep.c: Include "remote.h". | |
9145 | (target_resume_hook): Delete extern declaration. | |
9146 | (target_wait_loop_hook): Ditto. | |
9147 | (tdisassemble_command): Eliminate assignment in "if" conditional. | |
9148 | (d10v_ts2_register_sim_regno): Eliminate call to | |
9149 | legacy_register_sim_regno. | |
9150 | (d10v_ts3_register_sim_regno): Ditto. | |
9151 | ||
6949171e JJ |
9152 | 2003-03-28 Jeff Johnston <[email protected]> |
9153 | ||
9154 | * thread.c: Reindented. | |
9155 | * lin-lwp.c: Ditto. | |
9156 | * linux-proc.c: Ditto. | |
9157 | ||
98c7071f BR |
9158 | 2003-03-28 Bob Rossi <[email protected]> |
9159 | ||
fbe586ae | 9160 | * MAINTAINERS (write after approval): Add myself. |
98c7071f | 9161 | |
5edc9ca6 TR |
9162 | 2003-03-27 Theodore A. Roth <[email protected]> |
9163 | ||
9164 | * objc-exp.y: Add missing semi-colons. | |
9165 | ||
378bfd1b AC |
9166 | 2003-03-27 Andrew Cagney <[email protected]> |
9167 | ||
9168 | * regcache.c (write_sp): Delete function and references. | |
9169 | * inferior.h (write_sp): Delete declaration. | |
9170 | * valops.c (hand_function_call): Replace write_sp with | |
9171 | TARGET_WRITE_SP. | |
9172 | * sparc-tdep.c (sparc_push_dummy_frame): Ditto. | |
9173 | (sparc_pop_frame): Ditto. | |
8ffd9b1b | 9174 | |
56056df7 AC |
9175 | 2003-03-27 Andrew Cagney <[email protected]> |
9176 | ||
9177 | * NEWS: Mention removal of support for hppa*-*-bsd* and | |
9178 | hppa*-*-osf* natives, and hppa*-*-pro* target. | |
9179 | * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h". | |
9180 | * config/pa/xm-pa.h: Obsolete file. | |
9181 | * config/pa/xm-hppab.h: Obsolete file. | |
9182 | * config/pa/nm-hppab.h: Obsolete file. | |
9183 | * config/pa/tm-hppab.h: Obsolete file. | |
9184 | * config/pa/tm-hppao.h: Obsolete file. | |
9185 | * config/pa/nm-hppao.h: Obsolete file. | |
9186 | * config/pa/tm-pro.h: Obsolete file. | |
9187 | * config/pa/hppaosf.mt: Obsolete file. | |
9188 | * config/pa/hppaosf.mh: Obsolete file. | |
9189 | * config/pa/hppapro.mt: Obsolete file. | |
9190 | * config/pa/hppabsd.mt: Obsolete file. | |
9191 | * config/pa/hppabsd.mh: Obsolete file. | |
9192 | * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*. | |
9193 | * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and | |
9194 | hppa*-*-osf*. | |
9195 | ||
5873a88d AC |
9196 | 2003-03-27 Andrew Cagney <[email protected]> |
9197 | ||
9198 | * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of | |
9199 | push_arguments. Don't set push_return_address or write_sp. | |
9200 | (d10v_push_dummy_call): Replace d10v_push_arguments. | |
9201 | (d10v_push_return_address, d10v_write_sp): Delete function, | |
9202 | handled by push_dummy_call. | |
9203 | ||
b81774d8 AC |
9204 | 2003-03-26 Andrew Cagney <[email protected]> |
9205 | ||
9206 | * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS. | |
9207 | (push_dummy_call): New pure multi-arch replacement with gdbarch, | |
9208 | regcache and dummy_addr parameters. | |
9209 | * gdbarch.h, gdbarch.c: Re-generate. | |
9210 | * valops.c (hand_function_call): Use gdbarch_push_dummy_call when | |
9211 | available; assume it will handle stack alignment and return | |
9212 | address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and | |
9213 | legacy_push_arguments. | |
9214 | (legacy_push_arguments): Rename default_push_arguments. | |
9215 | * value.h (legacy_push_arguments): Rename default_push_arguments. | |
9216 | * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments. | |
9217 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
9218 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
9219 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
9220 | * config/i386/tm-symmetry.h: Update. | |
9221 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9222 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9223 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9224 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9225 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9226 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9227 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9228 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9229 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9230 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9231 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9232 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9233 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9234 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9235 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9236 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9237 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
9238 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9239 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9240 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9241 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
9242 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9243 | ||
f541410f DJ |
9244 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
9245 | ||
9246 | * signals/signals.c (do_target_signal_to_host): Correct realtime | |
9247 | signal range test. | |
9248 | ||
69f567ae DJ |
9249 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
9250 | ||
9251 | * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals) | |
9252 | (struct sal_chain, map_catch_names): Remove. | |
9253 | (catch_exception_command_1): Don't call | |
9254 | handle_gnu_4_16_catch_command. | |
9255 | ||
d5d14a5a DJ |
9256 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
9257 | ||
9258 | From Mark Dettinger <[email protected]>: | |
9259 | * dwarf2cfi.c (read_2u): Increment pointer by two. | |
9260 | ||
bdd73e22 DJ |
9261 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
9262 | ||
9263 | * signals/signals.c: Fix typos in last change. | |
9264 | ||
960cb555 DJ |
9265 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
9266 | ||
9267 | * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if | |
9268 | not already defined. Use __SIGRTMIN if available. | |
9269 | (target_signal_from_host): Remove SIGRTMIN block. | |
9270 | (do_target_signal_to_host): Remove SIGRTMIN block; check that | |
9271 | the signal is within the realtime range. | |
9272 | ||
f636b87d AF |
9273 | 2003-03-25 Adam Fedor <[email protected]> |
9274 | ||
9275 | * Makefile.in (infrun.o): Add $(language_h) | |
9276 | * infrun.c (handle_inferior_event): Use skip_language_trampoline | |
9277 | for language specific trampolines. | |
9278 | * language.h (struct language_defn): Add skip_trampoline. | |
9279 | (skip_language_trampoline): Declare. | |
9280 | * language.c (unk_lang_trampoline, skip_language_trampoline): | |
9281 | New functions. | |
9282 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
9283 | Add ukn_lang_trampoline. | |
9284 | * ada-lang.c (ada_language_defn): Add NULL for language | |
9285 | specific skip_trampoline. | |
9286 | * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c, | |
9287 | scm-lang.c: Likewise. | |
9288 | * objc-lang.c (objc_skip_trampoline): New function. | |
9289 | (objc_language_defn): Add objc_skip_trampoline. | |
9290 | ||
28f617b3 | 9291 | 2003-03-25 Andrew Cagney <[email protected]> |
270c3b1d AC |
9292 | |
9293 | * frame.c (get_prev_frame): Delay validating a frame's ID - | |
9294 | non-NULL, didn't go backwards - until an attempt to unwind it to | |
9295 | the previous frame. | |
9296 | ||
f933a9c5 AC |
9297 | 2003-03-25 Andrew Cagney <[email protected]> |
9298 | ||
9299 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace | |
9300 | EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. | |
9301 | * gdbarch.h, gdbarch.c: Re-generate. | |
9302 | * config/sparc/tm-sparc.h | |
9303 | (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. | |
9304 | * sparc-tdep.c (sparc_gdbarch_init): Set | |
9305 | deprecated_extra_stack_alignment_needed. | |
9306 | * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. | |
9307 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear | |
9308 | extra_stack_alignment_needed. | |
9309 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9310 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
9311 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9312 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9313 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9314 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
9315 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 9316 | |
4183d812 AC |
9317 | 2003-03-25 Andrew Cagney <[email protected]> |
9318 | ||
9319 | * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace | |
9320 | STORE_STRUCT_RETURN. | |
9321 | * gdbarch.h, gdbarch.c: Regenerate. | |
9322 | * d10v-tdep.c (d10v_store_struct_return): Delete function. | |
9323 | (d10v_push_arguments): Set the struct return register. | |
9324 | (d10v_gdbarch_init): Update. | |
9325 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9326 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9327 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9328 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9329 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9330 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9331 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9332 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9333 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9334 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9335 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9336 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9337 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9338 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9339 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9340 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9341 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9342 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9343 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9344 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9345 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9346 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9347 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 9348 | |
1bf6d5cc AC |
9349 | 2003-03-25 Andrew Cagney <[email protected]> |
9350 | ||
9351 | * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. | |
9352 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace | |
9353 | CALL_DUMMY_STACK_ADJUST with a predicate variable. | |
9354 | * gdbarch.h, gdbarch.c: Regenerate. | |
9355 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
9356 | call_dummy_stack_adjust_p. | |
9357 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
9358 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9359 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9360 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9361 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9362 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
9363 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9364 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9365 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9366 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
9367 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9368 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9369 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9370 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9371 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9372 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9373 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9374 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9375 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9376 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
9377 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
9378 | * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update. | |
9379 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
9380 | * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set | |
9381 | call_dummy_stack_adjust_p. | |
9382 | * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro. | |
9383 | (CALL_DUMMY_STACK_ADJUST): Delete macro. | |
9384 | * sparc-tdep.c (sparc32_push_arguments): Update. | |
9385 | * valops.c (hand_function_call): Update. | |
9386 | ||
71c08af0 CV |
9387 | 2003-03-25 Corinna Vinschen <[email protected]> |
9388 | ||
9389 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to | |
9390 | set_gdbarch_char_signed. | |
9391 | ||
30757f90 RE |
9392 | 2003-03-25 Richard Earnshaw <[email protected]> |
9393 | ||
9394 | PR cli/548 | |
9395 | * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler". | |
9396 | ||
03d48a7d RE |
9397 | 2003-03-25 Richard Earnshaw <[email protected]> |
9398 | ||
9399 | * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. | |
9400 | (_initialize_arm_tdep): Don't set tm_print_insn. | |
9401 | ||
2cf6873c AF |
9402 | 2003-03-24 Adam Fedor <[email protected]> |
9403 | ||
9404 | * Makefile.in (YYOBJ): Add objc-exp.tab.o | |
9405 | * objc-lang.h: Add multiple inclusion protection. | |
9406 | (start_msglist, add_msglist, end_msglist): Additional declarations. | |
9407 | ||
17c0759e RE |
9408 | 2003-03-24 Richard Earnshaw <[email protected]> |
9409 | ||
9410 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum | |
9411 | value was renamed to ARM_FLOAT_SOFT_FPA. | |
9412 | ||
618ce49f AC |
9413 | 2003-03-23 Andrew Cagney <[email protected]> |
9414 | ||
9415 | * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN. | |
9416 | (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID. | |
9417 | * gdbarch.h, gdbarch.c: Regenerate. | |
9418 | * valops.c (hand_function_call): Update. | |
9419 | * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
9420 | * frame.c (legacy_saved_regs_this_id): Update. | |
9421 | (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update. | |
9422 | * dummy-frame.h: Update. | |
9423 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update. | |
9424 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
9425 | * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update. | |
9426 | * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update. | |
9427 | * config/m68k/tm-sun3.h: Update. | |
9428 | * blockframe.c (inside_main_func, frame_chain_valid): Update. | |
9429 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9430 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9431 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9432 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9433 | * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update. | |
9434 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9435 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9436 | * rs6000-tdep.c (rs6000_frame_saved_pc): Update. | |
9437 | (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update. | |
9438 | (frame_get_saved_regs): Update. | |
9439 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
9440 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9441 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9442 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9443 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9444 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9445 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9446 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9447 | * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update. | |
9448 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
9449 | (i386_interix_back_one_frame): Update. | |
9450 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9451 | (hppa_init_extra_frame_info): Update. | |
9452 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9453 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9454 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9455 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9456 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9457 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9458 | ||
fd50bc42 RE |
9459 | 2003-03-22 Richard Earnshaw <[email protected]> |
9460 | ||
9461 | * arm-tdep.h (arm_float_model): Add AUTO and LAST values. | |
9462 | (arm_get_fp_model): Declare. | |
9463 | * arm-tdep.c (fp_model_strings): New string array. | |
9464 | (arm_fp_model, current_fp_model): New variables. | |
9465 | (arm_get_fp_model): New function. | |
9466 | (arm_set_fp): New function. | |
9467 | (set_fp_model_sfunc): New function. | |
9468 | (show_fp_model): New function. | |
9469 | (_initialize_arm_tdep): Add new command to set/show the FPU. | |
9470 | (arm_extract_return_value): Use arm_get_fp_model. | |
9471 | (arm_store_return_value): Likewise. | |
9472 | (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp | |
9473 | to initialize the floating-point data types. | |
9474 | * arm-linux-tdep.c (arm_linux_init_abi): The default floating point | |
9475 | model is FPA. | |
9476 | ||
26304000 RE |
9477 | 2003-03-22 Richard Earnshaw <[email protected]> |
9478 | ||
9479 | * arm-tdep.c (show_arm_command): Don't print out help. Instead, show | |
9480 | the current setting of each value. | |
9481 | (_initialize_arm_tdep): Delete variable new_cmd and add new vars | |
8ffd9b1b | 9482 | new_set and new_show. Use add_setshow_cmd_full and |
26304000 RE |
9483 | add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" |
9484 | commands and add new version as subcommands of "set/show arm". | |
9485 | ||
afd7eef0 RE |
9486 | 2003-03-22 Richard Earnshaw <[email protected]> |
9487 | ||
9488 | * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists. | |
9489 | (set_arm_command, show_arm_command): New functions. | |
9490 | (_initialize_arm_tdep): Add them. | |
9491 | (num_disassembly_options): Renamed from num_flavor_options. | |
9492 | (valid_disassembly_styles): Renamed from valid_flavors. | |
9493 | (disassembly_style): Renamed from disassembly_flavor. | |
8ffd9b1b | 9494 | (set_disassembly_style_sfunc): Renamed from |
afd7eef0 RE |
9495 | set_disassembly_flavor_sfunc. |
9496 | (set_disassembly_style): Renamed from set_disassembly_flavor. | |
9497 | (arm_othernames): Updated. | |
9498 | (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor" | |
9499 | command. Add "set/show arm disassembly" commands. Deprecate | |
9500 | "othernames" command. | |
9501 | ||
299a7944 RE |
9502 | 2003-03-22 Richard Earnshaw <[email protected]> |
9503 | ||
9504 | * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define. | |
9505 | (arm-tdep.o): Depend on elf_arm_h. | |
9506 | ||
c1dac9e6 RE |
9507 | 2003-03-22 Richard Earnshaw <[email protected]> |
9508 | ||
9509 | * Makefile.in (coff_internal_h): Define. | |
9510 | (arm-tdep.o): Update dependencies. | |
9511 | ||
2702d96c RE |
9512 | 2003-03-22 Richard Earnshaw <[email protected]> |
9513 | ||
9514 | * arm-tdep.c (prologue_cache): Delete. | |
9515 | (check_prologue_cache, save_prologue_cache): Delete. | |
9516 | (arm_scan_prologue): Don't check or update the prologue_cache. | |
9517 | (arm_gdb_arch_init): Don't initialize it. | |
9518 | (_initialize_arm_tdep): Likewise. | |
9519 | ||
27d5d74b SC |
9520 | 2003-03-21 Stephane Carrez <[email protected]> |
9521 | ||
9522 | * MAINTAINERS (tui): Maintainer of tui code. | |
9523 | ||
1762d96d CV |
9524 | 2003-03-21 Corinna Vinschen <[email protected]> |
9525 | ||
9526 | * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c. | |
9527 | (i386-cygwin-tdep.o): Add dependencies. | |
9528 | * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. | |
9529 | * i386-cygwin-tdep.c: New file. | |
9530 | * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. | |
9531 | * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o. | |
9532 | ||
4c2e2391 AC |
9533 | 2003-03-20 Andrew Cagney <[email protected]> |
9534 | ||
f20d38b7 AC |
9535 | * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. |
9536 | (handle_inferior_event): Remove code calling | |
9537 | DYNAMIC_TRAMPOLINE_NEXTPC. | |
9538 | ||
0022b738 AC |
9539 | * Makefile.in (init.c): Don't add $(srcdir) prefix when a file |
9540 | already has a full path. | |
9541 | ||
864dbc90 AC |
9542 | * main.c (gdb_main): Return 1. |
9543 | (captured_main): Call error to report an invalid interpreter. | |
9544 | ||
4c2e2391 AC |
9545 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. |
9546 | * alpha-osf1-tdep.c: Include "gdb_string.h". | |
9547 | ||
5ef7553b JB |
9548 | 2003-03-19 J. Brobecker <[email protected]> |
9549 | ||
9550 | Continuing work to convert the hppa targets to multiarch partial. | |
9551 | ||
9552 | * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch | |
9553 | method, now that hppa_push_dummy_frame has a conformant prototype. | |
9554 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro | |
9555 | inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation | |
9556 | for the switch to multiarch partial. | |
9557 | ||
7bde8967 KB |
9558 | 2003-03-19 Kevin Buettner <[email protected]> |
9559 | ||
9560 | * mdebugread.c (parse_symbol): For stEnd, we're done counting | |
9561 | when iss is issNull. | |
9562 | ||
b006a9e9 KB |
9563 | 2003-03-18 Kevin Buettner <[email protected]> |
9564 | ||
9565 | * mips-tdep.c (mips_register_name): Fix fencepost error involving | |
9566 | NUM_REGS bounds check. | |
9567 | ||
5e2e9765 KB |
9568 | 2003-03-18 Kevin Buettner <[email protected]> |
9569 | ||
9570 | * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h). | |
9571 | * mips-tdep.c (gdb_assert.h): Include. | |
9572 | (mips_generic_reg_names, mips_processor_reg_names): Make static. | |
9573 | (mips_register_name): Handle integer registers explicitly. Add | |
9574 | bounds checking. | |
9575 | (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names) | |
9576 | (mips_lsi33k_reg_names): Don't list integer registers; they're | |
9577 | handled by mips_register_name() now. | |
9578 | * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise. | |
9579 | * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise. | |
9580 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise. | |
9581 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise. | |
9582 | * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise. | |
9583 | ||
a2867626 AC |
9584 | 2003-03-18 Andrew Cagney <[email protected]> |
9585 | ||
9586 | * printcmd.c (print_scalar_formatted): Change VALADDR parameter to | |
9587 | a void pointer. | |
9588 | * gdbtypes.h (print_scalar_formatted): Update declaration. | |
9589 | * expression.h (enum exp_opcode): Remove non-ISO C trailing comma. | |
9590 | ||
06600e06 JB |
9591 | 2003-03-18 J. Brobecker <[email protected]> |
9592 | ||
9593 | * infrun.c (observer.h): Add #include. | |
9594 | (normal_stop): Add call to observer_notify_normal_stop. | |
9595 | * Makefile.in (infrun.o): Add dependency on observer.h. | |
9596 | ||
7daf4f5b JB |
9597 | 2003-03-18 J. Brobecker <[email protected]> |
9598 | ||
9599 | Continuing work to convert the hppa targets to multiarch partial. | |
9600 | * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function | |
9601 | parameter. Reformat comment. | |
9602 | * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile. | |
9603 | (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame() | |
9604 | to match new profile. | |
9605 | ||
3371ccc0 JB |
9606 | 2003-03-18 J. Brobecker <[email protected]> |
9607 | ||
9608 | * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not | |
9609 | appear to be working in any case. | |
9610 | ||
4fbe891e JB |
9611 | 2003-03-18 J. Brobecker <[email protected]> |
9612 | ||
9613 | * observer.c (observer_test_first_observer): New static variable. | |
9614 | (observer_test_second_observer): Likewise. | |
9615 | (observer_test_third_observer): Likewise. | |
9616 | (observer_test_first_notification_function): New static function. | |
9617 | (observer_test_second_notification_function): Likewise. | |
9618 | (observer_test_third_notification_function): Likewise. | |
9619 | ||
a7ff40e7 JB |
9620 | 2003-03-17 J. Brobecker <[email protected]> |
9621 | ||
9622 | * hppa-tdep.c (gdb_assert.h): Add missing #include. | |
9623 | * somsolib.c (gdb_assert.h): Likewise. | |
9624 | * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. | |
9625 | (somsolib.o): Likewise. | |
9626 | ||
26ca4152 AC |
9627 | 2003-03-17 Andrew Cagney <[email protected]> |
9628 | ||
9629 | * disasm.c (gdb_disassembly): Set di.mach using the architecture's | |
9630 | BFD. Simplify setting of di.endian. | |
9631 | ||
0a613259 AC |
9632 | 2003-03-17 Andrew Cagney <[email protected]> |
9633 | ||
9634 | * rs6000-tdep.c (ppc_floating_point_unit_p): New function. | |
9635 | * ppc-tdep.h (ppc_floating_point_unit_p): Declare. | |
9636 | ||
9637 | From Elena Zannoni <[email protected]> | |
9638 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 | |
9639 | vector and floating-point parameters. | |
9640 | (ppc_sysv_abi_use_struct_convention): Handle e500 struct return | |
9641 | convention. | |
9642 | (ppc_sysv_abi_broken_use_struct_convention): Ditto. | |
9643 | ||
1132738f FN |
9644 | 2003-03-17 Fernando Nasser <[email protected]> |
9645 | ||
9646 | * MAINTAINERS: Remove my name from several maintainership roles. | |
9647 | ||
6dc42492 AC |
9648 | 2003-03-17 Andrew Cagney <[email protected]> |
9649 | ||
9650 | Fix frame off-by-one bug. | |
9651 | * frame-unwind.h (frame_this_id_ftype): Replace | |
9652 | frame_unwind_id_ftype. | |
9653 | (frame_prev_register_ftype): Replace frame_unwind_reg_ftype. | |
9654 | (struct frame_unwind): Replace "id" with "this_id". Replace "reg" | |
9655 | with "prev_register". | |
9656 | * frame-unwind.c (frame_unwind_find_by_pc): Return | |
9657 | legacy_saved_regs_unwind instead of trad_frame_unwind. Update | |
9658 | comment. | |
9659 | * dummy-frame.c (cached_find_dummy_frame): Delete function. | |
9660 | (dummy_frame_this_id): Replace dummy_frame_id_unwind. | |
9661 | (dummy_frame_prev_register): Replace dummy_frame_register_unwind. | |
9662 | (dummy_frame_unwind): Update. | |
9663 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
9664 | sentinel_frame_register_unwind. | |
9665 | (sentinel_frame_this_id): Replace sentinel_frame_id_unwind. | |
9666 | (sentinel_frame_unwinder): Update. | |
9667 | * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
9668 | (struct frame_info): Rename "unwind_cache" to "prologue_cache". | |
9669 | * frame.c (create_sentinel_frame): Update. Initialize | |
9670 | "prologue_cache" instead of "unwind_cache". | |
9671 | (frame_register_unwind): Call this frame's prev_register with the | |
9672 | next frame and this frame's prologue cache. | |
9673 | (get_prev_frame): Simplify. Always call prev frame's this_id with | |
9674 | this frame and prev frame's prologue cache. Document that this | |
9675 | call is shifted one to the left when compared to the | |
9676 | frame_register_unwind call. | |
9677 | (legacy_saved_regs_prev_register): Replace | |
9678 | frame_saved_regs_register_unwind. | |
9679 | (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind. | |
9680 | (legacy_saved_regs_unwinder): Replace trad_frame_unwinder. | |
9681 | (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
9682 | * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind. | |
9683 | (d10v_frame_unwind): Update. | |
9684 | (d10v_frame_prev_register): Replace d10v_frame_register_unwind. | |
9685 | (d10v_frame_unwind_cache): Replace this "fi" with "next_frame". | |
9686 | (saved_regs_unwinder): Replace this "frame" with "next_frame", and | |
9687 | "saved_regs" with "this_saved_regs". | |
9688 | ||
efd710d6 AC |
9689 | 2003-03-16 Andrew Cagney <[email protected]> |
9690 | ||
9691 | * frame.c (frame_pop): Don't call target_store_registers. Fix | |
9692 | problem reported by Mark Kettenis. | |
9693 | ||
4e259f09 MK |
9694 | 2003-03-16 Mark Kettenis <[email protected]> |
9695 | ||
9696 | * i386-tdep.c (i386_register_type): Renamed from | |
9697 | i386_register_virtual_type. Adjust function signature. | |
9698 | (i386_gdbarch_init): Set register_type instead of | |
9699 | deprecated_max_register_raw_size, | |
9700 | deprecated_max_register_virtual_size and register_virtual_type. | |
9701 | ||
055bb976 AC |
9702 | 2003-03-14 Andrew Cagney <[email protected]> |
9703 | ||
9704 | * frame.c (get_prev_frame): When a legacy frame, always call | |
9705 | legacy_get_prev_frame. Simplify unwind code using assumption that | |
9706 | the unwinder is new. | |
9707 | (legacy_get_prev_frame): Handle legacy sentinel frame unwind here. | |
9708 | (legacy_frame_p): When no gdbarch_unwind_dummy_id, or | |
9709 | SAVED_DUMMY_FRAME_TOS, assume a legacy frame. | |
9710 | ||
ac2adee5 AC |
9711 | 2003-03-14 Andrew Cagney <[email protected]> |
9712 | ||
9713 | * frame.c (get_saved_register): Delete function. | |
9714 | * frame.h (get_saved_register): Delete declaration. | |
9715 | * xstormy16-tdep.c: Update comment. | |
9716 | * regcache.h: Update comments. | |
9717 | * sparc-tdep.c (sparc_init_extra_frame_info): Instead of | |
9718 | get_saved_register and extract_address, use | |
9719 | frame_read_unsigned_register. | |
9720 | (sparc_frame_saved_pc): Ditto. | |
9721 | (sparc_get_saved_register): Instead of get_saved_register, use | |
9722 | frame_register. | |
9723 | (sparc_pop_frame): Ditto. | |
9724 | * findvar.c: Update comments. | |
9725 | (value_of_register): Call frame_register instead of | |
9726 | get_saved_register. | |
9727 | (value_from_register): Ditto. | |
9728 | * config/sparc/tm-sparc.h: Update comment. | |
9729 | * breakpoint.c: Update comment. | |
9730 | ||
129c1cd6 AC |
9731 | 2003-03-14 Andrew Cagney <[email protected]> |
9732 | ||
9733 | * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace | |
9734 | GET_SAVED_REGISTER. | |
9735 | * gdbarch.h, gdbarch.c: Re-generate. | |
9736 | * frame.h: Update comments. | |
9737 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9738 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9739 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9740 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9741 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9742 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9743 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9744 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9745 | * frame.c (frame_register): Update. | |
9746 | (get_saved_register): Update. | |
9747 | * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. | |
8ffd9b1b | 9748 | |
749b82f6 AC |
9749 | 2003-03-13 Andrew Cagney <[email protected]> |
9750 | ||
9751 | * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. | |
9752 | * gdbarch.h, gdbarch.c: Regenerate. | |
9753 | * valops.c (hand_function_call): Update comment. | |
9754 | * stack.c (return_command): Update comment. | |
9755 | * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update. | |
9756 | * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update. | |
9757 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9758 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9759 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9760 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9761 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9762 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9763 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9764 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9765 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9766 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9767 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9768 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9769 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9770 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9771 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9772 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9773 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9774 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9775 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9776 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9777 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9778 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9779 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9780 | ||
1594fa56 AC |
9781 | 2003-03-13 Andrew Cagney <[email protected]> |
9782 | ||
9783 | * frame.c (legacy_frame_p): New function. | |
9784 | (get_prev_frame): Use legacy_frame_p. | |
9785 | * frame.h (legacy_frame_p): Declare. | |
9786 | ||
7717fda3 V |
9787 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
9788 | ||
fbe586ae | 9789 | * MAINTAINERS (write after approval): Alphabetically |
7717fda3 V |
9790 | listing corrected. |
9791 | ||
0c67cbe9 V |
9792 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
9793 | ||
fbe586ae | 9794 | * MAINTAINERS (write after approval): Add myself. |
0c67cbe9 | 9795 | |
03febf99 AC |
9796 | 2003-03-12 Andrew Cagney <[email protected]> |
9797 | ||
9798 | * frame.c (get_prev_frame): Rename the frame parameter to | |
9799 | "this_frame". | |
9800 | (get_next_frame, legacy_get_prev_frame): Ditto. | |
9801 | ||
0a1e1ca1 AC |
9802 | 2003-03-12 Andrew Cagney <[email protected]> |
9803 | ||
9804 | * frame.c (get_current_frame): Check target_has_registers before | |
9805 | checking target_has_stack. | |
9806 | * eval.c (evaluate_subexp_standard): Use get_selected_frame, | |
9807 | instead of deprecated_selected_frame. | |
9808 | * findvar.c (value_of_register): Pass "frame", not | |
9809 | deprecated_selected_frame, to value_of_builtin_reg. | |
9810 | ||
a66a9c23 AC |
9811 | 2003-03-12 Andrew Cagney <[email protected]> |
9812 | ||
9813 | * regcache.c (regcache_cooked_write_signed): New function. | |
9814 | (regcache_cooked_write_unsigned): New function. | |
9815 | (regcache_cooked_read_unsigned): Fix regnum in range assertion. | |
9816 | (regcache_cooked_read_signed): Fix regnum in range assertion. | |
9817 | * regcache.h (regcache_cooked_write_signed): Declare. | |
9818 | (regcache_cooked_write_unsigned): Declare. | |
9819 | ||
8bedc050 AC |
9820 | 2003-03-12 Andrew Cagney <[email protected]> |
9821 | ||
9822 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
9823 | * gdbarch.h, gdbarch.c: Re-generate. | |
9824 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9825 | * x86-64-tdep.h: Update. | |
9826 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9827 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9828 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9829 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9830 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9831 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9832 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
9833 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9834 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9835 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9836 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9837 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9838 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9839 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9840 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9841 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
9842 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9843 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9844 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9845 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9846 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9847 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9848 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9849 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
9850 | (sh64_init_extra_frame_info): Update. | |
9851 | * ns32knbsd-nat.c (frame_num_args): Update. | |
9852 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
9853 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
9854 | (xstormy16_frame_chain_valid): Update. | |
9855 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
9856 | * v850-tdep.c (v850_frame_chain): Update. | |
9857 | (v850_pop_frame): Update. | |
9858 | (v850_init_extra_frame_info): Update. | |
9859 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
9860 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
9861 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
9862 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
9863 | (mn10300_pop_frame_regular): Update. | |
9864 | (mn10300_init_extra_frame_info): Update. | |
9865 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
9866 | (mips_frame_chain): Update. | |
9867 | (mips_pop_frame): Update. | |
9868 | * mcore-tdep.c (mcore_frame_chain): Update. | |
9869 | (mcore_pop_frame): Update. | |
9870 | (mcore_init_extra_frame_info): Update. | |
9871 | * arch-utils.c (init_frame_pc_default): Update. | |
9872 | * m68k-tdep.c (isi_frame_num_args): Update. | |
9873 | (delta68_frame_num_args): Update. | |
9874 | (news_frame_num_args): Update. | |
9875 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
9876 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
9877 | (alpha_frame_chain): Update. | |
9878 | (alpha_pop_frame): Update. | |
9879 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
9880 | (hppa_init_extra_frame_info): Update. | |
9881 | (hppa_frame_chain): Update. | |
9882 | (hppa_frame_chain_valid): Update. | |
9883 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
9884 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
9885 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
9886 | (arm_init_extra_frame_info): Update. | |
9887 | (arm_pop_frame): Update. | |
9888 | * frame.c (frame_pc_unwind): Update. | |
9889 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9890 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
9891 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
9892 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9893 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9894 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 9895 | |
7a25a7c1 AC |
9896 | 2003-03-12 Andrew Cagney <[email protected]> |
9897 | ||
9898 | Eliminate the need for POP_FRAME. | |
9899 | * frame.c (do_frame_unwind_register): New function. | |
9900 | (frame_pop): When no POP_FRAME, pop the frame using register | |
9901 | unwind and a scratch regcache. | |
9902 | (frame_saved_regs_pop): Delete function. | |
9903 | (trad_frame_unwinder): Update. | |
9904 | * d10v-tdep.c (d10v_frame_pop): Delete function. | |
9905 | (d10v_frame_unwind): Update. | |
9906 | * sentinel-frame.c (sentinel_frame_pop): Delete function. | |
9907 | (sentinel_frame_unwinder): Update. | |
9908 | * dummy-frame.c (dummy_frame_pop): Delete function. | |
9909 | (dummy_frame_unwind): Update. | |
9910 | * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. | |
9911 | (struct frame_unwind): Update. | |
9912 | ||
2f38ef89 KB |
9913 | 2003-03-11 Kevin Buettner <[email protected]> |
9914 | ||
9915 | * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to | |
9916 | mips_dwarf_dwarf2_ecoff_reg_to_regnum(). | |
9917 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): | |
9918 | Do range checks on register number obtained from debugging info. | |
9919 | (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and | |
9920 | set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of | |
9921 | set_gdbarch_ecoff_reg_to_regnum() to account for new name of | |
9922 | mapping function. | |
9923 | (do_fp_register_row): Fix typo which caused double type to be | |
9924 | used when attempting to unpack a float. | |
9925 | ||
552f4abf JB |
9926 | 2003-03-11 J. Brobecker <[email protected]> |
9927 | ||
9928 | * breakpoint.c (bpstat_stop_status): Fix a small memory leak. | |
9929 | ||
e0d2ae16 AC |
9930 | 2003-03-11 Andrew Cagney <[email protected]> |
9931 | ||
9932 | * frame.c (deprecated_update_frame_pc_hack): Don't assume a next | |
9933 | frame. Problem found by Corinna Vinschen. | |
9934 | ||
ddbfdd06 PM |
9935 | 2003-03-11 Pierre Muller <[email protected]> |
9936 | ||
9937 | * doublest.c (floatformat_from_length): Accept also | |
9938 | the real size of 'long double' type. | |
9939 | ||
088b2ddc | 9940 | 2003-03-10 Daniel Jacobowitz <[email protected]> |
31cc81e9 | 9941 | |
088b2ddc | 9942 | From Klee Dienes <[email protected]>: |
31cc81e9 DJ |
9943 | * breakpoint.c (bpstat_copy): Copy the command lines as well |
9944 | as the old value, to match what is freed in bpstat_clear. | |
9945 | ||
f56f77c1 DC |
9946 | 2003-03-10 David Carlton <[email protected]> |
9947 | ||
9948 | * minsyms.c (add_minsym_to_hash_table): Replace | |
9949 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
9950 | (compare_minimal_symbols, compact_minimal_symbols) | |
9951 | (install_minimal_symbols, find_solib_trampoline_target): Ditto. | |
9952 | (lookup_minimal_symbol_text): Use strcmp on linkage names instead | |
9953 | of DEPRECATED_SYMBOL_MATCHES_NAME. | |
9954 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
9955 | ||
5602984a AC |
9956 | 2003-03-10 Andrew Cagney <[email protected]> |
9957 | ||
9958 | * regcache.h (regcache_cooked_read_ftype): Define. | |
9959 | (regcache_save, regcache_restore): Add a cooked_read parameter. | |
9960 | * regcache.c (regcache_save, regcache_restore): Update. | |
9961 | (do_cooked_read): New function. | |
9962 | (regcache_cpy): Pass do_cooked_read to regcache_save and | |
9963 | regcache_restore. | |
9964 | ||
8bedc050 AC |
9965 | 2003-03-10 Andrew Cagney <[email protected]> |
9966 | ||
9967 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
9968 | * gdbarch.h, gdbarch.c: Re-generate. | |
9969 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9970 | * x86-64-tdep.h: Update. | |
9971 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9972 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9973 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9974 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9975 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9976 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9977 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
9978 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9979 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9980 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9981 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9982 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9983 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9984 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9985 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9986 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
9987 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9988 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9989 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9990 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9991 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9992 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9993 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9994 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
9995 | (sh64_init_extra_frame_info): Update. | |
9996 | * ns32knbsd-nat.c (frame_num_args): Update. | |
9997 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
9998 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
9999 | (xstormy16_frame_chain_valid): Update. | |
10000 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
10001 | * v850-tdep.c (v850_frame_chain): Update. | |
10002 | (v850_pop_frame): Update. | |
10003 | (v850_init_extra_frame_info): Update. | |
10004 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
10005 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
10006 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
10007 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
10008 | (mn10300_pop_frame_regular): Update. | |
10009 | (mn10300_init_extra_frame_info): Update. | |
10010 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
10011 | (mips_frame_chain): Update. | |
10012 | (mips_pop_frame): Update. | |
10013 | * mcore-tdep.c (mcore_frame_chain): Update. | |
10014 | (mcore_pop_frame): Update. | |
10015 | (mcore_init_extra_frame_info): Update. | |
10016 | * arch-utils.c (init_frame_pc_default): Update. | |
10017 | * m68k-tdep.c (isi_frame_num_args): Update. | |
10018 | (delta68_frame_num_args): Update. | |
10019 | (news_frame_num_args): Update. | |
10020 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
10021 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
10022 | (alpha_frame_chain): Update. | |
10023 | (alpha_pop_frame): Update. | |
10024 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
10025 | (hppa_init_extra_frame_info): Update. | |
10026 | (hppa_frame_chain): Update. | |
10027 | (hppa_frame_chain_valid): Update. | |
10028 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
10029 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
10030 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
10031 | (arm_init_extra_frame_info): Update. | |
10032 | (arm_pop_frame): Update. | |
10033 | * frame.c (frame_pc_unwind): Update. | |
10034 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
10035 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
10036 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
10037 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
10038 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
10039 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 10040 | |
12cc2063 AC |
10041 | 2003-03-10 Andrew Cagney <[email protected]> |
10042 | ||
10043 | * gdbarch.sh (gdbarch_unwind_pc): New method. | |
10044 | * gdbarch.h, gdbarch.c: Regenerate. | |
10045 | * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, | |
10046 | but use read_pc and FRAME_SAVED_PC as fall backs. | |
10047 | (frame_saved_regs_pc_unwind): Delete function. | |
10048 | (trad_frame_unwinder): Update. | |
10049 | * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. | |
10050 | (struct frame_unwind): Update. | |
10051 | * dummy-frame.c (dummy_frame_pc_unwind): Delete function. | |
10052 | (dummy_frame_unwind): Update. | |
10053 | * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. | |
10054 | (sentinel_frame_unwinder): Update. | |
10055 | * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. | |
10056 | (d10v_frame_unwind): Update. | |
10057 | (d10v_unwind_pc): New function. | |
10058 | (d10v_gdbarch_init): Set unwind_pc. | |
10059 | ||
ef840a37 AC |
10060 | 2003-03-10 Andrew Cagney <[email protected]> |
10061 | ||
a2ce2e56 AC |
10062 | * gdbarch.h: Re-generate. |
10063 | ||
ef840a37 AC |
10064 | * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the |
10065 | PC. | |
10066 | (d10v_frame_pop): Unwind the PC, and not the LR, when restoring | |
10067 | the PC register. | |
10068 | ||
08f3424b MK |
10069 | 2003-03-08 Mark Kettenis <[email protected]> |
10070 | ||
10071 | * gdbarch.sh (save_dummy_frame_tos): Add comment. | |
10072 | ||
1248ede2 AC |
10073 | 2003-03-08 Andrew Cagney <[email protected]> |
10074 | ||
10075 | * cli-out.c: Update copyright. | |
10076 | (cli_out_data): Define typedef. Use instead of ui_out_data. | |
10077 | ||
f49bacc8 AC |
10078 | 2003-03-08 Andrew Cagney <[email protected]> |
10079 | ||
10080 | * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to | |
10081 | the result. | |
10082 | ||
9b05f993 AC |
10083 | 2003-03-07 Andrew Cagney <[email protected]> |
10084 | ||
10085 | * gdbarch.sh: Don't generate two macro definitions when an | |
10086 | undefined macro taking no arguments. | |
10087 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 10088 | |
166f4c7b ML |
10089 | 2002-03-07 Michal Ludvig <[email protected]> |
10090 | ||
10091 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos) | |
10092 | (x86_64_unwind_dummy_id): New functions. | |
10093 | (x86_64_init_abi): Register these two new functions. | |
10094 | ||
6d686a84 ML |
10095 | 2003-03-07 Michal Ludvig <[email protected]> |
10096 | ||
10097 | * x86-64-tdep.c (x86_64_function_has_prologue): New function. | |
8ffd9b1b | 10098 | (x86_64_skip_prologue): Move prologue detection to |
6d686a84 ML |
10099 | separate function. |
10100 | * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. | |
10101 | ||
6314f104 AC |
10102 | 2003-03-05 Andrew Cagney <[email protected]> |
10103 | ||
10104 | * d10v-tdep.c (d10v_unwind_dummy_id): New function. | |
10105 | (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos. | |
10106 | * frame.c (get_prev_frame): Restructure the frame ID unwind code | |
10107 | to use unwind_dummy_id when a dummy frame. | |
10108 | * gdbarch.sh (unwind_dummy_id): New multi-arch method with | |
10109 | predicate. | |
10110 | * gdbarch.h, gdbarch.c: Regneerate. | |
8ffd9b1b | 10111 | |
ceea5145 AC |
10112 | 2003-03-05 Andrew Cagney <[email protected]> |
10113 | ||
10114 | * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". | |
10115 | (d10v_frame_unwind_cache): Rewrite code computing the base and SP. | |
10116 | Do not use d10v_read_sp or d10v_read_fp when obtaining register | |
10117 | values. | |
10118 | ||
0d843116 AC |
10119 | 2003-03-05 Andrew Cagney <[email protected]> |
10120 | ||
10121 | * d10v-tdep.c (struct frame_extra_info): Delete unused structure. | |
10122 | (struct d10v_unwind_cache): Delete field "frameless". Replace | |
10123 | "next_addr" with "sp_offset". Add "r11_offset". | |
10124 | (d10v_frame_unwind_cache): Update. | |
10125 | (prologue_find_regs): Update. When "mv r11, sp", save the | |
10126 | "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that | |
10127 | RN was saved in r11_offset. | |
10128 | ||
b2579786 AC |
10129 | 2003-03-05 Andrew Cagney <[email protected]> |
10130 | ||
10131 | * frame.c (deprecated_update_frame_pc_hack): Also update the the | |
10132 | cached PC value in the next frame. | |
10133 | ||
218e5956 AC |
10134 | 2003-03-05 Andrew Cagney <[email protected]> |
10135 | ||
10136 | * frame.h (struct frame_info): Replace "id_unwind_cache_p" and | |
10137 | "id_unwind_cache" with "id". | |
10138 | (frame_id_unwind): Delete declaration. | |
10139 | * frame.c (frame_id_unwind): Delete function. | |
10140 | (get_prev_frame): Call the frame id unwind method directly. Store | |
10141 | the returned next frame's ID value in NEXT_FRAME. Note that there | |
10142 | is a problem with the wrong unwind ID being called with the wrong | |
10143 | unwind cache. | |
10144 | ||
ed363b1b DJ |
10145 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
10146 | ||
10147 | * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS. | |
10148 | ||
fe1f4a5e DJ |
10149 | 2003-03-05 James Ingham <[email protected]> |
10150 | Daniel Jacobowitz <[email protected]> | |
10151 | ||
10152 | * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h". | |
10153 | (auto_cp_abi): New variable. | |
10154 | (current_cp_abi, num_cp_abis): Make static. | |
10155 | (CP_ABI_MAX): Define. | |
10156 | (cp_abis): Turn into an array. | |
10157 | (value_virtual_fn_field): Fix formatting. | |
10158 | (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now | |
10159 | takes a pointer. | |
10160 | (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd) | |
10161 | (list_cp_abis, _initialize_cp_abi): New functions. | |
10162 | * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove | |
10163 | declarations for cp_abis, num_cp_abis, current_cp_abi, and | |
10164 | switch_to_cp_abi. Update prototype for register_cp_abi. | |
10165 | * Makefile.in (cp-abi.o): Update dependencies. | |
10166 | * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default | |
10167 | instead of switch_to_cp_abi. | |
10168 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to | |
10169 | register_cp_abi. | |
10170 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to | |
10171 | register_cp_abi. | |
10172 | * hpacc-abi.c (_initialize_hpacc_abi): Likewise. | |
10173 | ||
e4adbba9 DJ |
10174 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
10175 | ||
10176 | * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition. | |
10177 | * dwarf2loc.c: Include "regcache.h". | |
10178 | (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use | |
10179 | register_size. | |
10180 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
10181 | ||
91ccbfc1 TR |
10182 | 2003-03-04 Theodore A. Roth <[email protected]> |
10183 | ||
10184 | * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the | |
10185 | number of io registers reported by remote target is not a multiple of | |
10186 | step. | |
10187 | ||
3d4e8fd2 DC |
10188 | 2003-03-04 David Carlton <[email protected]> |
10189 | ||
10190 | * symtab.c (lookup_partial_symbol): Add linkage_name argument. | |
10191 | (lookup_symbol_aux_psymtabs): Update call to | |
10192 | lookup_partial_symbol. | |
10193 | (lookup_transparent_type, find_main_psymtab) | |
10194 | (make_symbol_overload_list): Ditto. | |
10195 | ||
ed42d87b KH |
10196 | 2003-03-04 Kazu Hirata <[email protected]> |
10197 | ||
10198 | * MAINTAINERS (Write after approval): Update my email address. | |
10199 | ||
a0ed5532 AC |
10200 | 2003-03-03 Andrew Cagney <[email protected]> |
10201 | ||
10202 | Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. | |
10203 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with | |
10204 | predicate. Replace MAX_REGISTER_RAW_SIZE. | |
10205 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for | |
10206 | MAX_REGISTER_VIRTUAL_SIZE. | |
10207 | * regcache.c (legacy_max_register_raw_size): New function. | |
10208 | (legacy_max_register_virtual_size): New function. | |
10209 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. | |
10210 | (MAX_REGISTER_RAW_SIZE): Define. | |
10211 | (legacy_max_register_raw_size): Declare. | |
10212 | (legacy_max_register_virtual_size): Declare. | |
10213 | * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
10214 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. | |
10215 | * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
10216 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
10217 | * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
10218 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
10219 | * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
10220 | * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
10221 | * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
10222 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10223 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10224 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10225 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10226 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10227 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10228 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10229 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10230 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10231 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10232 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10233 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10234 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10235 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10236 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10237 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
10238 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
10239 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10240 | * cris-tdep.c (cris_gdbarch_init): Update. | |
10241 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10242 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10243 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10244 | * d10v-tdep.c (d10v_gdbarch_init): Do not set | |
10245 | max_register_raw_size or max_register_virtual_size. | |
10246 | ||
8e437497 DC |
10247 | 2003-03-03 David Carlton <[email protected]> |
10248 | ||
10249 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from | |
10250 | SYMBOL_MATCHES_NAME, add comment. | |
10251 | (SYMBOL_MATCHES_NATURAL_NAME): New. | |
10252 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace | |
10253 | SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. | |
10254 | (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. | |
10255 | * symtab.c (lookup_partial_symbol): Use | |
10256 | SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete | |
10257 | unhelpful comment. | |
10258 | (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not | |
10259 | SYMBOL_MATCHES_NAME. | |
10260 | Fix for PR c++/33. | |
10261 | ||
25120b0d DC |
10262 | 2003-03-03 David Carlton <[email protected]> |
10263 | ||
10264 | * symtab.h (SYMBOL_MATCHES_REGEXP): Delete. | |
10265 | * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP | |
10266 | by regexp matching against SYMBOL_NATURAL_NAME. | |
10267 | ||
78a11fb4 DC |
10268 | 2003-03-03 David Carlton <[email protected]> |
10269 | ||
10270 | * linespec.c (find_method): Extract code into collect_methods. | |
10271 | (collect_methods): New. | |
10272 | ||
645dd519 MK |
10273 | 2003-03-02 Mark Kettenis <[email protected]> |
10274 | ||
b4700d91 MK |
10275 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and |
10276 | get_frame_base. | |
10277 | ||
645dd519 MK |
10278 | * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of |
10279 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
10280 | ||
0aa7e1aa SC |
10281 | 2003-03-02 Stephane Carrez <[email protected]> |
10282 | ||
8ffd9b1b | 10283 | * arch-utils.c (generic_register_byte): Fix to use the loop index |
0aa7e1aa SC |
10284 | and not regnum when summing the size of all registers up to regnum. |
10285 | ||
f30ee0bc AC |
10286 | 2003-03-01 Andrew Cagney <[email protected]> |
10287 | ||
10288 | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename | |
10289 | FRAME_INIT_SAVED_REGS. | |
10290 | * gdbarch.h, gdbarch.c: Regenerate. | |
10291 | * stack.c (frame_info): Update. | |
10292 | * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. | |
10293 | (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. | |
10294 | (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. | |
10295 | * ns32k-tdep.c (ns32k_pop_frame): Update. | |
10296 | * mips-tdep.c (mips_pop_frame): Update. | |
10297 | * m68hc11-tdep.c (m68hc11_pop_frame): Update. | |
10298 | * ia64-tdep.c (ia64_frame_chain): Update. | |
10299 | (ia64_frame_saved_pc, ia64_get_saved_register): Update. | |
10300 | (ia64_frameless_function_invocation): Update. | |
10301 | (ia64_init_extra_frame_info): Update. | |
10302 | (ia64_pop_frame_regular): Update. | |
10303 | * frame.h (struct frame_info): Update comment. | |
10304 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. | |
10305 | * frame.c (frame_saved_regs_register_unwind): Update. | |
10306 | (frame_saved_regs_register_unwind): Update. | |
10307 | (deprecated_generic_get_saved_register): Update. | |
10308 | * cris-tdep.c: Update comment. | |
10309 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): | |
10310 | Rename macro. | |
10311 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
10312 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
10313 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10314 | * v850-tdep.c (v850_gdbarch_init): Update. | |
10315 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10316 | * sh-tdep.c (sh_gdbarch_init): Update. | |
10317 | * s390-tdep.c (s390_gdbarch_init): Update. | |
10318 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
10319 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
10320 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10321 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
10322 | * mips-tdep.c (mips_gdbarch_init): Update. | |
10323 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
10324 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10325 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
10326 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
10327 | * i386-tdep.c (i386_gdbarch_init): Update. | |
10328 | * frv-tdep.c (frv_gdbarch_init): Update. | |
10329 | * avr-tdep.c (avr_gdbarch_init): Update. | |
10330 | * arm-tdep.c (arm_gdbarch_init): Update. | |
10331 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 10332 | |
42fa7c0f AC |
10333 | 2003-03-01 Andrew Cagney <[email protected]> |
10334 | ||
10335 | * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to | |
10336 | option enum and switch. When no windows, set the interpreter to | |
10337 | INTERP_CONSOLE. | |
8ffd9b1b | 10338 | |
49c7e338 AC |
10339 | 2003-03-01 Andrew Cagney <[email protected]> |
10340 | ||
10341 | * main.c (captured_main): Replace magic option characters with an | |
10342 | enum. | |
10343 | ||
e9582e71 AC |
10344 | 2003-03-01 Andrew Cagney <[email protected]> |
10345 | ||
10346 | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename | |
10347 | INIT_EXTRA_FRAME_INFO. | |
10348 | * gdbarch.h, gdbarch.c: Regenerate. | |
10349 | * arm-tdep.c: Update comments. | |
10350 | * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. | |
10351 | * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. | |
10352 | * frame.h, avr-tdep.c: Ditto. | |
10353 | * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
10354 | (create_new_frame, legacy_get_prev_frame): Ditto. | |
10355 | * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
10356 | * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
10357 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize | |
10358 | deprecated_init_extra_frame_info instead of init_extra_frame_info. | |
10359 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
10360 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
10361 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
10362 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
10363 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
10364 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
10365 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
10366 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
10367 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
10368 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
10369 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
10370 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
10371 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
10372 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
10373 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
10374 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
10375 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
10376 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
10377 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
10378 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
10379 | ||
35cac7cf AC |
10380 | 2003-03-01 Andrew Cagney <[email protected]> |
10381 | ||
10382 | * gdbarch.sh (register_type): New function with predicate. | |
10383 | (REGISTER_VIRTUAL_TYPE): Change to function with predicate. | |
10384 | * gdbarch.h, gdbarch.c: Re-generate. | |
10385 | * arch-utils.c (generic_register_byte): Use generic_register_size. | |
10386 | (generic_register_size): When available, use | |
10387 | gdbarch_register_type. | |
10388 | * regcache.c (init_regcache_descr): When available, initialize the | |
10389 | register type array using gdbarch_register_type. If the | |
10390 | architecture supplies gdbarch_register_type, do not use the legacy | |
10391 | regcache layout. | |
10392 | * d10v-tdep.c (d10v_register_type): Replace | |
10393 | d10v_register_virtual_type. | |
10394 | (d10v_gdbarch_init): Set register_type instead of | |
10395 | register_virtual_type. | |
10396 | ||
7b83296f AC |
10397 | 2003-03-01 Andrew Cagney <[email protected]> |
10398 | ||
10399 | * Makefile.in (ax-gdb.o): Update dependencies. | |
10400 | * ax-gdb.c: Include "regcache.h". | |
10401 | (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. | |
10402 | * findvar.c (value_of_register): Ditto. | |
10403 | * infcmd.c (default_print_registers_info): Ditto. | |
10404 | ||
eadc1c87 MK |
10405 | 2003-03-01 Mark Kettenis <[email protected]> |
10406 | ||
10407 | * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of | |
10408 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
10409 | ||
14143612 MK |
10410 | 2003-03-01 Mark Kettenis <[email protected]> |
10411 | ||
10412 | * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead | |
10413 | of STREQ. | |
10414 | ||
a55cc764 DJ |
10415 | 2003-02-28 Daniel Jacobowitz <[email protected]> |
10416 | ||
10417 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
10418 | * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. | |
10419 | * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. | |
10420 | * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. | |
10421 | * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". | |
10422 | (locexpr_tracepoint_var_ref): New function. | |
10423 | (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref. | |
10424 | ||
08a617da AC |
10425 | 2003-02-28 Andrew Cagney <[email protected]> |
10426 | ||
10427 | * regcache.c (register_size): New function. | |
10428 | * regcache.h (register_size): Declare | |
10429 | * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use | |
10430 | max_register_size instead of MAX_REGISTER_RAW_SIZE. | |
10431 | ||
4224873a DC |
10432 | 2003-02-28 David Carlton <[email protected]> |
10433 | ||
10434 | * linespec.c (decode_compound): Extract code into find_method. | |
10435 | (find_method): New. | |
10436 | ||
ccdc5d7f JB |
10437 | 2003-02-28 J. Brobecker <[email protected]> |
10438 | ||
10439 | * Makefile.in: Add rules to build and link in observer.o. | |
10440 | ||
974e8ced JB |
10441 | 2003-02-27 J. Brobecker <[email protected]> |
10442 | ||
10443 | * observer.c: Minor comments edits. | |
10444 | ||
7a28f973 JB |
10445 | 2003-02-27 J. Brobecker <[email protected]> |
10446 | ||
10447 | * observer.h, observer.c: New file. | |
10448 | ||
27cddce2 AC |
10449 | 2003-02-27 Andrew Cagney <[email protected]> |
10450 | ||
10451 | * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd. | |
10452 | ||
b94a41a1 SC |
10453 | 2003-02-27 Stephane Carrez <[email protected]> |
10454 | ||
10455 | * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines. | |
10456 | (M6812_OP_STS_EXT): Likewise. | |
10457 | (m6811_prologue): Use the above to recognize prologue. | |
10458 | (m6812_prologue): Likewise. | |
10459 | ||
c8be8951 DC |
10460 | 2003-02-27 David Carlton <[email protected]> |
10461 | ||
10462 | * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not | |
10463 | SYMBOL_PRINT_NAME. | |
10464 | (compare_psymbols): Ditto. | |
10465 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
10466 | ||
d05bb1fc MS |
10467 | 2003-02-27 Michael Snyder <[email protected]> |
10468 | ||
4e845cd3 MS |
10469 | * f-lang.c (build_fortran_types): New function. |
10470 | (_initialize_f_language): Gdbarch-register built-in fortran types. | |
d05bb1fc MS |
10471 | * doublest.c (extract_floating): Fix warning text. |
10472 | ||
f3824013 AC |
10473 | 2003-02-27 Andrew Cagney <[email protected]> |
10474 | ||
10475 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with | |
10476 | predicate. Replaces PUSH_DUMMY_FRAME. | |
10477 | * gdbarch.h, gdbarch.c: Regnerate. | |
10478 | * valops.c (hand_function_call): Update. Call | |
10479 | generic_push_dummy_frame directly. | |
10480 | * vax-tdep.c (vax_gdbarch_init): Update. | |
10481 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
10482 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
10483 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
10484 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
10485 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
10486 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
10487 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
10488 | * inferior.h (PUSH_DUMMY_FRAME): Delete definition. | |
10489 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set | |
10490 | push_dummy_frame to generic_push_dummy_frame. | |
10491 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
10492 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
10493 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
10494 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
10495 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
10496 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
10497 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
10498 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
10499 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
10500 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
10501 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
10502 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
10503 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
10504 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
10505 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
10506 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8ffd9b1b | 10507 | |
ad188201 KB |
10508 | 2003-02-26 Kevin Buettner <[email protected]> |
10509 | ||
10510 | * mips-tdep.c (show_mips_abi): New function. | |
10511 | (_initialize_mips_tdep): Use show_mips_abi() to implement the | |
10512 | command ``show mips abi''. | |
10513 | ||
6b37567a | 10514 | 2003-02-26 Jeff Johnston <[email protected]> |
8ffd9b1b | 10515 | |
6b37567a | 10516 | From Elena Zannoni <[email protected]> |
8ffd9b1b | 10517 | * dbxread.c (process_one_symbol): Only record line 0 if one or |
6b37567a JJ |
10518 | more sline entries have been seen for the function. |
10519 | ||
d3e0a5bf MC |
10520 | 2003-02-26 Michael Chastain <[email protected]> |
10521 | ||
10522 | * configure: Regenerate with autoconf 000227. | |
10523 | ||
18972eea MC |
10524 | 2003-02-26 Michael Chastain <[email protected]> |
10525 | ||
10526 | Close PR build/660. | |
10527 | * PROBLEMS (i[3456]86-*-linux*): Note explicit error message | |
10528 | for old libc5/glibc. | |
10529 | * gdb_thread_db.h: Die if not HAVE_UINTPTR_T. | |
10530 | ||
0bbde931 KW |
10531 | 2003-02-26 Kris Warkentin <[email protected]> |
10532 | ||
10533 | * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO. | |
10534 | * osabi.c (gdb_osabi_names): Add "QNX Neutrino". | |
10535 | ||
27ca5dad MC |
10536 | 2003-02-26 Michael Chastain <[email protected]> |
10537 | ||
10538 | * configure.in: New variable HAVE_UINTPTR_T. | |
10539 | * configure, config.in: Regenerated. | |
10540 | ||
6f88d630 DJ |
10541 | 2003-02-26 Daniel Jacobowitz <[email protected]> |
10542 | ||
10543 | Fix PR build/1097. | |
10544 | * utils.c (gdb_realpath): Move closing brace outwards one #endif. | |
10545 | ||
b14185ce AC |
10546 | 2003-02-25 Andrew Cagney <[email protected]> |
10547 | ||
10548 | * frame.c (get_prev_frame): Add comment on check for | |
10549 | inside_entry_func. Only check for inside_entry_file when not a | |
10550 | dummy and not a sentinel. Check that the new frame is not inner | |
10551 | to the old frame. | |
10552 | ||
ac2bd0a9 AC |
10553 | 2003-02-25 Andrew Cagney <[email protected]> |
10554 | ||
10555 | * frame.c (frame_debug): New variable. | |
10556 | (_initialize_frame): Add "set/show debug frame" command. | |
10557 | (get_prev_frame): When frame_debug, print reason why unwind | |
10558 | failed. | |
10559 | ||
b18a0fd2 MC |
10560 | 2003-02-25 Michael Chastain <[email protected]> |
10561 | ||
10562 | * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later | |
10563 | to avoid uintptr_t definition problems. | |
10564 | ||
22abf04a DC |
10565 | 2003-02-25 David Carlton <[email protected]> |
10566 | ||
10567 | * symtab.h (SYMBOL_NATURAL_NAME): New macro. | |
10568 | (SYMBOL_LINKAGE_NAME): Ditto. | |
10569 | (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and | |
10570 | SYMBOL_LINKAGE_NAME. | |
10571 | (struct general_symbol_info): Expand comment. | |
10572 | (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. | |
10573 | (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. | |
10574 | (SYMBOL_MATCHES_REGEXP): Ditto. | |
10575 | * symtab.c (symbol_natural_name): New function. | |
10576 | * objfiles.h: Replace all uses of SYMBOL_NAME by | |
10577 | DEPRECATED_SYMBOL_NAME. | |
10578 | * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. | |
10579 | * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. | |
10580 | * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. | |
10581 | * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. | |
10582 | * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. | |
10583 | * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. | |
10584 | * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. | |
10585 | * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. | |
10586 | * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. | |
10587 | * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. | |
10588 | * ada-exp.y: Ditto. | |
10589 | * ada-exp.y: Update copyright. | |
10590 | * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. | |
10591 | * cp-valprint.c: Ditto. | |
10592 | ||
1a5848f6 JJ |
10593 | 2003-02-25 Jeff Johnston <[email protected]> |
10594 | ||
10595 | * infptrace.c (detach): Do not flag error if ptrace detach fails | |
10596 | and errno is set to ESRCH. | |
10597 | ||
7343d46a AC |
10598 | 2003-02-24 Andrew Cagney <[email protected]> |
10599 | ||
10600 | * infptrace.c (udot_info): Change type of udot_off to long. Use | |
10601 | paddr when printing udot_off's value. | |
10602 | ||
49fa1dc2 DC |
10603 | 2003-02-24 David Carlton <[email protected]> |
10604 | ||
10605 | * symtab.c (make_symbol_overload_list): Only read in partial | |
10606 | symtabs containing a matching partial symbol. | |
10607 | ||
0fe19209 DC |
10608 | 2003-02-24 David Carlton <[email protected]> |
10609 | ||
10610 | * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to | |
10611 | do the comparison, not strcmp. | |
10612 | * symfile.c (compare_psymbols): Ditto. | |
10613 | * defs.h: Declare strcmp_iw_ordered. | |
10614 | * utils.c (strcmp_iw_ordered): New function. | |
10615 | ||
8e3ee7b5 JB |
10616 | 2003-02-24 Jim Blandy <[email protected]> |
10617 | ||
10618 | * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme | |
10619 | support, shared libs): Remove my name from here, to better reflect | |
10620 | reality. | |
10621 | ||
7df1a324 KW |
10622 | 2003-02-24 Kris Warkentin <[email protected]> |
10623 | ||
10624 | * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define. | |
10625 | (target_ops): Add to_have_continuable_watchpoint. | |
10626 | * target.c (update_current_target): Add INHERIT line for | |
10627 | to_have_continuable_watchpoint. | |
10628 | * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines. | |
10629 | * config/i386/nm-i386.h, config/i386/nm-i386sco5.h, | |
10630 | config/i386/nm-i386sol2.h, config/s390/nm-linux.h, | |
10631 | config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1. | |
10632 | ||
d1c76907 EZ |
10633 | 2003-02-24 Elena Zannoni <[email protected]> |
10634 | ||
10635 | * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop | |
10636 | maintainership. | |
10637 | ||
2610b0bf KW |
10638 | 2003-02-24 Kris Warkentin <[email protected]> |
10639 | ||
f46169db KW |
10640 | * solib.c (solib_open): Call target defined search function after |
10641 | failing with solib-search-path. | |
10642 | * solist.h (target_so_ops): Add find_and_open_solib function hook and | |
10643 | create define TARGET_SO_FIND_AND_OPEN_SOLIB. | |
2610b0bf | 10644 | |
9a3c34fe KW |
10645 | 2003-02-24 Kris Warkentin <[email protected]> |
10646 | ||
f46169db | 10647 | * MAINTAINERS: Add myself to Write After section. |
9a3c34fe | 10648 | |
2417dd25 SC |
10649 | 2003-02-23 Stephane Carrez <[email protected]> |
10650 | ||
10651 | * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide. | |
10652 | ||
b631436b SC |
10653 | 2003-02-22 Stephane Carrez <[email protected]> |
10654 | ||
10655 | * m68hc11-tdep.c (m68hc11_init_reggroups): New function. | |
10656 | (m68hc11_add_reggroups): New function. | |
10657 | (m68hc11_register_reggroup_p): New to register hard/soft reggroups. | |
10658 | (m68hc11_gdbarch_init): Install the reggroups. | |
10659 | (_initialize_m68hc11_tdep): Initialize them. | |
10660 | ||
0aa8c1e4 JW |
10661 | 2003-02-21 James E Wilson <[email protected]> |
10662 | ||
10663 | * MAINTAINERS: Update my email address. | |
10664 | ||
50ceaba5 DC |
10665 | 2003-02-21 David Carlton <[email protected]> |
10666 | ||
10667 | * arm-tdep.c (arm_gdbarch_init): Add break after default label. | |
10668 | ||
4c2df51b DJ |
10669 | 2003-02-21 Daniel Jacobowitz <[email protected]> |
10670 | ||
10671 | Based on a patch from Daniel Berlin ([email protected]). | |
10672 | * symtab.h: Add opaque declarations of struct axs_value and | |
10673 | struct agent_expr. | |
10674 | (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. | |
10675 | (struct location_funcs): New type. | |
10676 | (struct symbol): Add "loc" to aux_value. | |
10677 | (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. | |
10678 | * dwarf2read.c: Include "dwarf2expr.h". | |
10679 | (dwarf2_symbol_mark_computed): New function. | |
10680 | (read_func_scope): Use it. | |
10681 | (var_decode_location): New function. | |
10682 | (new_symbol): Use it. | |
10683 | * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. | |
10684 | ||
10685 | * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. | |
10686 | (dwarf2expr_h, dwarf2loc_h): New variables. | |
10687 | (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. | |
10688 | (dwarf2expr.o, dwarf2loc.o): New rules. | |
10689 | (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). | |
10690 | * buildsym.c (finish_block): Handle LOC_COMPUTED and | |
10691 | LOC_COMPUTED_ARG. | |
10692 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
10693 | * m2-exp.y (yylex): Likewise. | |
10694 | * printcmd.c (address_info, print_frame_args): Likewise. | |
10695 | * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. | |
10696 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
10697 | * ada-lang.c (ada_resolve_subexp, symtab_for_sym) | |
10698 | (ada_add_block_symbols, fill_in_ada_prototype): Likewise. | |
10699 | * symtab.c (lookup_block_symbol): Likewise. | |
10700 | ||
5784d15e AF |
10701 | 2003-02-20 Adam Fedor <[email protected]> |
10702 | ||
10703 | * symtab.h: Remove objc_specific struct | |
10704 | (SYMBOL_OBJC_DEMANGLED_NAME): Remove. | |
10705 | * symtab.c (symbol_init_language_specific, symbol_demangled_name): | |
10706 | Have language_objc use cplus_specific struct. | |
10707 | ||
d4cad8db TT |
10708 | 2003-02-20 Tom Tromey <[email protected]> |
10709 | ||
10710 | * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not | |
10711 | TYPE_NAME, when printing a String value. PR java/1075. | |
10712 | ||
2f9a90b4 AF |
10713 | 2003-02-20 Adam Fedor <[email protected]> |
10714 | ||
d38074a8 | 10715 | * objc-lang.h (find_methods): Remove declaration. |
fbe586ae | 10716 | * objc-lang.c (find_methods): Make static. |
2f9a90b4 | 10717 | |
6f17862b CF |
10718 | 2003-02-20 Christopher Faylor <[email protected]> |
10719 | ||
10720 | * win32-nat.c (get_image_name): Check return value from | |
10721 | ReadProcessMemory. | |
10722 | (child_xfer_memory): Ditto. | |
10723 | ||
715d1656 AO |
10724 | 2003-02-20 Alexandre Oliva <[email protected]> |
10725 | ||
10726 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
10727 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
10728 | '${exec_prefix}' (in addition to the expansion thereof) as | |
10729 | relocatable. | |
10730 | * configure: Rebuilt. | |
10731 | ||
b1262a02 DC |
10732 | 2003-02-20 David Carlton <[email protected]> |
10733 | ||
10734 | * symtab.c (search_symbols): Revert the search_symbols part of my | |
10735 | 2002-12-23 patch. Add comment. | |
10736 | ||
7134143f DJ |
10737 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
10738 | ||
10739 | * coffread.c (coff_symfile_read): Clean up minimal symbols earlier. | |
10740 | * dbxread.c (elfstab_build_psymtabs): Don't call | |
10741 | install_minimal_symbols. | |
10742 | (stabsect_build_psymtabs): Likewise. | |
10743 | * elfread.c (elf_symfile_read): Call install_minimal_symbols | |
10744 | earlier. | |
10745 | * somread.c (som_symfile_read): Call install_minimal_symbols | |
10746 | and do_cleanups earlier. | |
10747 | * nlmread.c (nlm_symfile_read): Likewise. | |
10748 | * mdebugread.c (elfmdebug_build_psymtabs): Call | |
10749 | install_minimal_symbols and make appropriate cleanups. | |
10750 | ||
cf466558 KB |
10751 | 2003-02-20 Kevin Buettner <[email protected]> |
10752 | ||
10753 | * solib.c (reload_shared_libraries): New function. | |
10754 | (_initialize_solib): Add callbacks for ``set solib-search-path'' | |
10755 | and ``set solib-absolute-prefix''. | |
10756 | ||
de5ad195 DC |
10757 | 2003-02-20 David Carlton <[email protected]> |
10758 | ||
10759 | * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME; | |
10760 | expand comment. | |
10761 | * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace | |
10762 | SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME. | |
10763 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
10764 | * ax-gdb.c (gen_var_ref): Ditto. | |
10765 | * breakpoint.c (print_one_breakpoint): Ditto. | |
10766 | * buildsym.c (finish_block): Ditto. | |
10767 | * c-valprint.c (c_val_print): Ditto. | |
10768 | * expprint.c (print_subexp): Ditto. | |
10769 | * findvar.c (locate_var_value): Ditto. | |
8ffd9b1b AJ |
10770 | * infcmd.c (jump_command): Ditto. |
10771 | * linespec.c (decode_line_2, decode_compound): Ditto. | |
10772 | * maint.c (maintenance_translate_address): Ditto. | |
10773 | * objc-lang.c (compare_selectors, compare_classes): Ditto. | |
de5ad195 DC |
10774 | * printcmd.c (build_address_symbolic, sym_info, print_frame_args): |
10775 | Ditto. | |
8ffd9b1b AJ |
10776 | * p-valprint.c (pascal_val_print): Ditto. |
10777 | * stabsread.c (define_symbol): Ditto. | |
de5ad195 | 10778 | * stack.c (print_frame, frame_info, print_block_frame_locals) |
8ffd9b1b AJ |
10779 | (print_frame_arg_vars, return_command): Ditto. |
10780 | * symfile.c (compare_symbols, compare_psymbols): Ditto. | |
10781 | * symmisc.c (print_symbol): Ditto. | |
de5ad195 DC |
10782 | * symtab.c (lookup_partial_symbol, lookup_block_symbol) |
10783 | (compare_search_syms, print_symbol_info, print_msymbol_info) | |
8ffd9b1b AJ |
10784 | (rbreak_command): Ditto. |
10785 | * tracepoint.c (tracepoints_info): Ditto. | |
10786 | * typeprint.c (typedef_print): Ditto. | |
10787 | * valops.c (value_of_variable, hand_function_call): Ditto. | |
de5ad195 DC |
10788 | * cli/cli-cmds.c (edit_command, list_command): Ditto. |
10789 | * ada-typeprint.c: Update Copyright. | |
10790 | * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. | |
10791 | * tracepoint.c, cli/cli-cmds.c: Ditto. | |
10792 | ||
f796e4be KB |
10793 | 2003-02-20 Kevin Buettner <[email protected]> |
10794 | ||
10795 | * frame.c (generic_unwind_get_saved_register): Make non-static. | |
10796 | * frame.h (generic_unwind_get_saved_register): Declare. | |
10797 | * mips-tdep.c (read_next_frame_reg): Fetch register from | |
10798 | current regcache when frame is NULL. | |
10799 | (mips_init_extra_frame_info): Pass NULL explicitly for parameter | |
10800 | that must be NULL. | |
10801 | (mips_get_saved_register): Call generic_unwind_get_saved_register() | |
10802 | instead of frame_register_unwind(). | |
10803 | ||
836cc9f4 AC |
10804 | 2003-02-20 Andrew Cagney <[email protected]> |
10805 | ||
10806 | * remote-sim.c (gdbsim_insert_breakpoint) | |
10807 | (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS | |
10808 | code. | |
10809 | ||
501eef12 AC |
10810 | 2003-02-20 Andrew Cagney <[email protected]> |
10811 | ||
10812 | * remote.c (_initialize_remote): Add commands "set/show remote | |
10813 | hardware-watchpoint-limit" and "set/show remote | |
10814 | hardware-breakpoint-limit". | |
10815 | (remote_hw_watchpoint_limit): Initialize to -1. | |
10816 | (remote_hw_breakpoint_limit): Ditto. | |
10817 | (remote_check_watch_resources): Treat a limit of -1 as unlimited. | |
10818 | ||
1b6bc7e0 CF |
10819 | 2003-02-19 Raoul Gough <[email protected]> |
10820 | ||
10821 | * coff-pe-read.c: New file - support reading of minimal symbols from a | |
10822 | portable executable using the export table. | |
10823 | * coff-pe-read.h: New file. | |
10824 | * coffread.c: Include coff-pe-read.h. | |
10825 | (coff_symtab_read): Call read_pe_exported_syms iff no recognized | |
10826 | debugging symbols found. | |
10827 | * Makefile.in (SFILES): Add coff-pe-read.o. | |
10828 | (coff_pe_read_h): Define. | |
10829 | (COMMON_OBS): Add coff-pe-read.o. | |
10830 | (coffread.o): Add coff_pe_read_h dependency. | |
10831 | (coff-pe-read.o): New target. | |
10832 | ||
fe898f56 DC |
10833 | 2003-02-19 David Carlton <[email protected]> |
10834 | ||
10835 | * Makefile.in (SFILES): Add block.c. | |
10836 | (block_h): New. | |
10837 | (COMMON_OBS): Add block.o. | |
10838 | (block.o): New. | |
10839 | (x86-64-tdep.o): Add $(block_h). | |
10840 | (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o) | |
10841 | (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o) | |
10842 | (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o) | |
10843 | (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o) | |
10844 | (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o) | |
10845 | (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o) | |
10846 | (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto. | |
10847 | * value.h: Add opaque declaration for struct block. | |
10848 | * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto. | |
10849 | * ada-lang.h: Ditto. | |
10850 | * x86-64-tdep.c: #include "block.h" | |
10851 | * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto. | |
10852 | * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto. | |
10853 | * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto. | |
10854 | * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto. | |
10855 | * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto. | |
10856 | * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto. | |
10857 | * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto. | |
10858 | * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto. | |
10859 | * blockframe.c (blockvector_for_pc_sect): Move to "block.c". | |
10860 | (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto. | |
10861 | * symtab.c (block_function): Ditto. | |
10862 | (contained_in): Ditto. | |
10863 | * frame.h: Move block_for_pc and block_for_pc_sect declarations to | |
10864 | block.h. Add opaque declaration for struct block. | |
10865 | * symtab.h: Move block_function and contained_in declarations to | |
10866 | block.h. Add opaque declarations for struct block, struct | |
10867 | blockvector. | |
10868 | (struct block): Move to block.h. | |
10869 | (struct blockvector): Ditto. | |
10870 | (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK) | |
10871 | (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM) | |
10872 | (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE) | |
10873 | (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS) | |
10874 | (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): | |
10875 | Ditto. | |
10876 | * block.c: New file. | |
10877 | * block.h: New file. | |
10878 | ||
173345b5 TR |
10879 | 2003-02-19 Theodore A. Roth <[email protected]> |
10880 | ||
10881 | * avr-tdep.c (avr_extract_return_value): Remove function. | |
10882 | (avr_store_return_value): Remove function. | |
10883 | (avr_extract_struct_value_address): Remove function. | |
10884 | (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls. | |
10885 | ||
338ef23d AC |
10886 | 2003-02-19 Andrew Cagney <[email protected]> |
10887 | ||
10888 | * rs6000-tdep.c: Include "gdb_assert.h". | |
10889 | (registers_e500): Add "acc" and "spefscr". | |
10890 | (PPC_GPRS_PSEUDO_REGS): Remove trailing comma. | |
10891 | (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum, | |
10892 | ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum | |
10893 | really is "r0". | |
10894 | (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson). | |
10895 | ||
5412f5f3 KS |
10896 | 2003-02-18 Keith Seitz <[email protected]> |
10897 | ||
10898 | * Makefile.in: Add gdbtk-interps.c. | |
10899 | ||
881324eb KB |
10900 | 2003-02-18 Kevin Buettner <[email protected]> |
10901 | ||
10902 | * sparc-tdep.c (sparc_frame_chain): Adjust return value. | |
10903 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare. | |
10904 | ||
6a2f5abf AC |
10905 | 2003-02-18 Andrew Cagney <[email protected]> |
10906 | ||
10907 | * symtab.h (struct objfile): Add opaque declaration. | |
10908 | ||
54c7009d EZ |
10909 | 2003-02-18 Elena Zannoni <[email protected]> |
10910 | ||
10911 | From Jim Ingham <[email protected]>: | |
fbe586ae RH |
10912 | * dbxread.c (process_one_symbol): Use last_function_start rather |
10913 | than function_start_offset to find the real beginning of the | |
10914 | current function. The latter is just the text section offset on | |
10915 | some systems, the former is always the real function start. | |
54c7009d | 10916 | |
7ee6d7eb AC |
10917 | 2003-02-17 Andrew Cagney <[email protected]> |
10918 | ||
10919 | * configure.in: Revert ${target} != ${host}. | |
10920 | ||
2846da9b AC |
10921 | 2003-02-17 Andrew Cagney <[email protected]> |
10922 | ||
10923 | * configure.in (Makefile): Use the test ${target} != ${host}, | |
10924 | instead of the absence of the "nm.h" file, to determine of the | |
10925 | configuration non-native. | |
10926 | * configure: Regenerate. | |
8ffd9b1b | 10927 | |
3b27aeea EZ |
10928 | 2003-02-14 Elena Zannoni <[email protected]> |
10929 | ||
fbe586ae | 10930 | From Brian Ford <[email protected]> |
3b27aeea EZ |
10931 | |
10932 | * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly | |
10933 | conditionalize tui_active test. | |
10934 | (lookup_cmd_1): Ditto. | |
10935 | ||
b0b1c2c0 MK |
10936 | 2003-02-14 Mark Kettenis <[email protected]> |
10937 | ||
10938 | * configure.in: Add check for _etext. | |
10939 | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't | |
10940 | available. | |
10941 | * config.in, configure: regenerated. | |
10942 | ||
8f05cde5 DJ |
10943 | 2003-02-14 Daniel Jacobowitz <[email protected]> |
10944 | ||
10945 | * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base. | |
10946 | ||
021e7609 AC |
10947 | 2003-02-14 Andrew Cagney <[email protected]> |
10948 | ||
10949 | * main.c (tui_version): Delete variable. | |
10950 | (captured_main): When --tui, set interpreter_p to "tui" instead of | |
10951 | enabling tui_version. | |
10952 | * printcmd.c (display_command) [TUI]: Test tui_active instead of | |
10953 | tui_version. | |
10954 | * cli/cli-decode.c (lookup_cmd_composition): Ditto. | |
10955 | * cli/cli-cmds.c (disassemble_command): Ditto. | |
10956 | * defs.h (tui_version): Delete declaration. | |
10957 | * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". | |
10958 | (tui-interp.o): Add rules. | |
10959 | (SUBDIR_TUI_OBS): Add "tui-interp.o". | |
10960 | ||
e325dcec CF |
10961 | 2003-02-14 Christopher Faylor <[email protected]> |
10962 | ||
36ffb041 | 10963 | * win32-nat.c (register_loaded_dll): Correctly set address range for |
e325dcec CF |
10964 | just-loaded dll. |
10965 | ||
c4f90d87 JM |
10966 | 2003-02-12 Jason Molenda ([email protected]) |
10967 | ||
fbe586ae RH |
10968 | * symmisc.c (print_objfile_statistics): Include information about |
10969 | the number of psymtabs and symtabs in each object file. | |
c4f90d87 | 10970 | |
e46e5ccd KS |
10971 | 2003-02-13 Keith R Seitz <[email protected]> |
10972 | ||
10973 | * main.h (struct captured_main_args): Add interpreter_p. | |
10974 | * main.c (captured_main): Initialize interpreter_p from context. | |
10975 | * gdb.c (main): Set interpreter_p argument. | |
10976 | * Makefile.in (gdb.o): Add dependency for interps.h. | |
10977 | ||
fe97fe9c AC |
10978 | 2003-02-12 Andrew Cagney <[email protected]> |
10979 | ||
10980 | * event-top.c (cli_command_loop): Delete declaration. | |
10981 | (_initialize_event_loop): Delete function setting event_loop_hook. | |
10982 | * event-top.h (cli_command_loop): Declare. Update copyright. | |
10983 | (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. | |
10984 | * interps.c (current_interp_command_loop): When event_loop_p, call | |
10985 | cli_command_loop. | |
10986 | ||
1cdac4ef AC |
10987 | 2003-02-12 Andrew Cagney <[email protected]> |
10988 | ||
10989 | * interps.h (interp_command_loop_ftype): Change return type to | |
10990 | void. | |
10991 | ||
48037ead ML |
10992 | 2003-02-12 Michal Ludvig <[email protected]> |
10993 | ||
10994 | * x86-64-tdep.c (x86_64_extract_return_value) | |
10995 | (x86_64_store_return_value): Use regcache instead of regbuf. | |
10996 | (x86_64_gdbarch_init): Change related set_gdbarch_* functions. | |
10997 | * x86-64-linux-nat.c (fill_gregset): Use regcache. | |
10998 | ||
033afc63 AC |
10999 | 2003-02-11 Andrew Cagney <[email protected]> |
11000 | ||
11001 | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. | |
11002 | * aclocal.m4: Regenerate. | |
11003 | * configure: Regenerate. | |
11004 | ||
11005 | * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of | |
11006 | TCL_LD_SEARCH_FLAGS. | |
11007 | ||
40d02bca ML |
11008 | 2003-02-10 Michal Ludvig <[email protected]> |
11009 | ||
11010 | * dwarf2cfi.c: Reindented. | |
11011 | ||
11308a41 AC |
11012 | 2003-02-09 Andrew Cagney <[email protected]> |
11013 | ||
11014 | * interps.c (clear_interpreter_hooks): Convert function definition | |
11015 | to ISO C. | |
11016 | ||
e1c1c0f6 DC |
11017 | 2003-02-07 David Carlton <[email protected]> |
11018 | ||
11019 | * gdb_mbuild.sh: Delete extra shift after parsing '-f'. | |
11020 | ||
ab5d3da6 KB |
11021 | 2003-02-07 Kevin Buettner <[email protected]> |
11022 | ||
11023 | * gdbtypes.h (struct main_type): Move ``length'' field from here... | |
11024 | (struct type): ...to here. | |
11025 | (TYPE_LENGTH): Adjust to reflect different location of ``length'' | |
11026 | field. | |
11027 | * gdbtypes.c (make_qualified_type): Set length on newly created type. | |
11028 | (replace_type): Set length on all type variants for a given type. | |
11029 | ||
b8a92b82 AC |
11030 | 2003-02-07 Andrew Cagney <[email protected]> |
11031 | ||
11032 | * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of | |
11033 | <sys/stat.h>. | |
11034 | * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. | |
8ffd9b1b | 11035 | |
5cb316ef AC |
11036 | 2003-02-06 Andrew Cagney <[email protected]> |
11037 | ||
2555fe1a AC |
11038 | * Makefile.in (symm-nat.o): Update dependencies. |
11039 | (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. | |
11040 | (lynx-nat.o, ia64-linux-nat.): Ditto. | |
11041 | * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include | |
11042 | "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. | |
11043 | * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. | |
11044 | ||
44270758 AC |
11045 | * Makefile.in (inflow_h): Define. |
11046 | (procfs.o, inflow.o, procfs.o): Update dependencies. | |
11047 | * inftarg.c (child_stop): Delete extern declaration of | |
11048 | inferior_process_group. Include "inflow.h". | |
11049 | * procfs.c (procfs_stop): Ditto. Include "inflow.h". | |
11050 | * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... | |
11051 | * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. | |
11052 | (our_process_group, inferior_process_group): Extern declarations. | |
11053 | ||
df8f7274 AC |
11054 | * procfs.c: Include "gdb_assert.h". |
11055 | ||
5cb316ef AC |
11056 | * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. |
11057 | * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. | |
11058 | * jv-typeprint.c (java_type_print_base): Ditto. | |
11059 | * typeprint.c (typedef_print): Eliminate STREQ. | |
11060 | * cli/cli-script.c (define_command, define_command): Ditto. | |
11061 | * main.c (captured_main): Ditto. | |
11062 | * values.c (lookup_internalvar): Ditto. | |
11063 | * utils.c (safe_strerror, parse_escape): Eliminate assignment | |
11064 | within `if' conditional. | |
11065 | * linespec.c (decode_line_2): Ditto. | |
11066 | * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. | |
11067 | (bfd_openw_with_cleanup): Ditto. | |
11068 | ||
2a28ccea MK |
11069 | 2003-02-07 Mark Kettenis <[email protected]> |
11070 | ||
11071 | * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to | |
11072 | legacy_extract_return_value and store_return_value to | |
11073 | legacy_return_value. | |
11074 | ||
786b8124 CF |
11075 | 2003-02-06 Raoul Gough <[email protected]> |
11076 | ||
11077 | * win32-nat.c (get_relocated_section_addrs): New function. Find | |
11078 | section load addresses for symbol handling in relocated DLLs. | |
11079 | (solib_symbols_add): Open a bfd and call get_relocated_section_addrs. | |
11080 | ||
b871e4ec FF |
11081 | 2003-02-05 Fred Fish <[email protected]> |
11082 | ||
11083 | * remote-e7000.c (e7000_drain_command): Fix precedence problem with | |
11084 | '=' and '!='. | |
11085 | * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem | |
11086 | with '&' and '=='. | |
11087 | (angel_RDI_info): Ditto. | |
11088 | * infttrace.c (threads_continue_all_but_one): Fix precedence problem | |
11089 | with '&' and '!='. | |
11090 | (threads_continue_all_with_signals): Ditto. | |
8ffd9b1b | 11091 | |
4389a95a | 11092 | 2003-02-05 Jim Ingham <[email protected]> |
fbe586ae RH |
11093 | Keith Seitz <[email protected]> |
11094 | Elena Zannoni <[email protected]> | |
11095 | Andrew Cagney <[email protected]> | |
4389a95a AC |
11096 | |
11097 | * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". | |
11098 | (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". | |
11099 | (SUBDIR_MI_OBS): Add "mi-interp.o". | |
11100 | (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". | |
11101 | (SFILES): Add "interps.c". | |
11102 | (COMMON_OBS): Add "interps.o". | |
11103 | (interps_h, mi_main_h): Define. | |
11104 | (interps.o, cli-interp.o, mi-interp.o): Add dependencies. | |
11105 | (mi-main.o, main.o, event-top.o): Update dependencies. | |
11106 | * cli/cli-interp.c: New file. | |
11107 | * interps.h, interps.c: New files. | |
11108 | * top.c: (gdb_init): Don't install the default interpreter, handed | |
11109 | by captured_main. | |
11110 | * main.c: Include "interps.h". | |
11111 | (interpreter_p): Note that it should malloc'ed. | |
11112 | (captured_command_loop): Call current_interp_command_loop. | |
11113 | (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use | |
11114 | xfree and xstrdup when updating interpreter_p. Install the | |
11115 | default interpreter. Add hack to stop mi1's copyright notice | |
11116 | being encoded. | |
11117 | * event-top.h (gdb_setup_readline): Declare. | |
11118 | (gdb_disable_readline): Declare. | |
11119 | * event-top.c: Include "interps.h". | |
11120 | (display_gdb_prompt): Call current_interp_display_prompt_p. | |
11121 | (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, | |
11122 | gdb_stdlog, and gdb_stdtarg. | |
11123 | (_initialize_event_loop): Don't call gdb_setup_readline. | |
11124 | * cli-out.c (cli_out_set_stream): New function. | |
11125 | * cli-out.h (cli_out_set_stream): Declare. | |
11126 | ||
ff3b5810 MK |
11127 | 2003-02-06 Mark Kettenis <[email protected]> |
11128 | ||
11129 | * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*, | |
11130 | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all | |
11131 | handled fine by i[3456]86-*sco* and i[3456]86-sysv*. | |
11132 | * config/i386/i386sco5.mt, config/i386/i386v4.mt, | |
11133 | config/i386/i386v42mp.mt: Removed. | |
11134 | ||
5b729aa5 MK |
11135 | 2003-02-05 Mark Kettenis <[email protected]> |
11136 | ||
11137 | * configure.tgt (*-*-solaris*): Set gdb_osabi to | |
11138 | GDB_OSABI_SOLARIS. | |
11139 | ||
8cc15142 MC |
11140 | 2003-02-05 Michael Chastain <[email protected]> |
11141 | ||
11142 | * PROBLEMS (i[3456]86-*-linux*): Warn about binutils | |
11143 | 2.12.1 and earlier versions. | |
11144 | ||
5aa5d4b9 AC |
11145 | 2003-02-05 Andrew Cagney <[email protected]> |
11146 | ||
11147 | Remove orphaned hosts, targets and files. | |
11148 | * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. | |
11149 | * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. | |
11150 | * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. | |
11151 | * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. | |
11152 | * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. | |
11153 | * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. | |
11154 | * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. | |
11155 | * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. | |
11156 | * config/sparc/tm-sp64sim.h: Delete. | |
11157 | * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* | |
11158 | hosts. | |
11159 | * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and | |
11160 | mips*-dec-mach3* targets. | |
11161 | ||
b68767c1 MC |
11162 | 2003-02-04 Michael Chastain <[email protected]> |
11163 | ||
11164 | * NEWS: Fix typo: sepcifying -> specifying. | |
11165 | ||
5ae7ca1d MC |
11166 | 2003-02-04 Michael Chastain <[email protected]> |
11167 | ||
11168 | * dwarfread.c: Add documentation on the state of dwarf-1, | |
11169 | looking towards obsoletion. | |
11170 | ||
d08a4280 MC |
11171 | 2003-02-03 Michael Chastain <[email protected]> |
11172 | ||
11173 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, | |
11174 | gdb/testsuite/gdb.c++/pr-1023.exp. | |
11175 | ||
e9be73e4 AC |
11176 | 2003-02-04 Andrew Cagney <[email protected]> |
11177 | ||
11178 | * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. | |
11179 | * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. | |
11180 | ||
11181 | * utils.c (init_page_info): Delete reference to MPW in comments. | |
11182 | * main.c (captured_main): Delete #ifdef MPW. | |
11183 | ||
05d57f6f AC |
11184 | 2003-02-04 Andrew Cagney <[email protected]> |
11185 | ||
8ffd9b1b | 11186 | * NEWS: Note that the m32r-*-elf* is obsolete. |
05d57f6f AC |
11187 | * monitor.c (monitor_expect): Obsolete reference to m32r. |
11188 | * configure.tgt: Mark m32r-*-elf* as obsolete. | |
11189 | * MAINTAINERS: Mark m32k as obsolete. | |
11190 | * m32r-rom.c: Obsolete file. | |
11191 | * config/m32r/m32r.mt: Obsolete file. | |
11192 | * config/m32r/tm-m32r.h: Obsolete file. | |
11193 | * m32r-stub.c: Obsolete file. | |
11194 | * m32r-tdep.c: Obsolete file. | |
11195 | ||
8b0e5691 AC |
11196 | 2003-02-04 Andrew Cagney <[email protected]> |
11197 | ||
11198 | * NEWS: Mention that the z8k-zilog-none is obsolete. | |
11199 | * MAINTAINERS: Mark z8k as obsolete. | |
11200 | * configure.tgt: Obsolete the z8k-*-coff* target. | |
11201 | * config/z8k/z8k.mt: Obsolete file. | |
11202 | * config/z8k/tm-z8k.h: Obsolete file. | |
11203 | * z8k-tdep.c: Obsolete file. | |
11204 | ||
67f16606 AC |
11205 | 2003-02-04 Andrew Cagney <[email protected]> |
11206 | ||
11207 | * NEWS: Mention that the mn10200-elf is obsolete. | |
11208 | * configure.tgt: Obsolete mn10200-*-* target. | |
11209 | * breakpoint.c (update_breakpoints_after_exec): Update comment to | |
11210 | mention that the mn10200 is obsolete. | |
11211 | * breakpoint.h: Ditto. | |
11212 | * MAINTAINERS: Mark the mn10200-elf as obsolete. | |
11213 | * config/mn10200/mn10200.mt: Obsolete file. | |
11214 | * config/mn10200/tm-mn10200.h: Obsolete file. | |
11215 | * mn10200-tdep.c: Obsolete file. | |
11216 | ||
fd2299bd AC |
11217 | 2003-02-04 Andrew Cagney <[email protected]> |
11218 | ||
11219 | * MAINTAINERS: Mark h8500 as obsolete. | |
11220 | * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. | |
11221 | * findvar.c (value_from_register): Ditto. | |
11222 | * h8500-tdep.c: Mark file as obsolete. | |
11223 | * config/h8500/h8500.mt: Ditto. | |
11224 | * config/h8500/tm-h8500.h: Ditto. | |
11225 | * NEWS: Mention that h8500 is obsolete. | |
11226 | ||
eb9a305d DC |
11227 | 2003-02-04 David Carlton <[email protected]> |
11228 | ||
11229 | * objfiles.c (allocate_objfile): Always set name. Add comment at | |
11230 | start of function. | |
11231 | * jv-lang.c (get_dynamics_objfile): Add comment. | |
11232 | ||
406fc7fb DC |
11233 | 2003-02-04 David Carlton <[email protected]> |
11234 | ||
11235 | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. | |
11236 | * printcmd.c (build_address_symbolic): Replace uses of | |
11237 | SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, | |
11238 | SYMBOL_NAME, and asm_demangle. | |
11239 | Update copyright. | |
11240 | ||
93d91629 DC |
11241 | 2003-02-04 David Carlton <[email protected]> |
11242 | ||
11243 | * linespec.c (decode_compound): Extract code into | |
11244 | lookup_prefix_sym. | |
11245 | (lookup_prefix_sym): New function. | |
11246 | ||
1c5cb38e DC |
11247 | 2003-02-04 David Carlton <[email protected]> |
11248 | ||
11249 | * gdbtypes.h: Delete INTEGER_COERCION_BADNESS, | |
11250 | FLOAT_COERCION_BADNESS. | |
11251 | * gdbtypes.c (rank_one_type): Replace all uses of | |
11252 | INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS. | |
11253 | ||
0cf824c9 JB |
11254 | 2003-02-04 Jim Blandy <[email protected]> |
11255 | ||
11256 | * dwarf2read.c (dwarf2_locate_sections): When we find a macro info | |
11257 | section, let dwarf_macinfo_section point to it, not | |
11258 | dwarf_loc_section. | |
11259 | ||
a2d356b0 DJ |
11260 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
11261 | ||
11262 | Pointed out by Anton Blanchard <[email protected]>. | |
11263 | * ppc-linux-tdep.c (insn_is_sigreturn): New function. | |
11264 | (ppc_linux_at_sigtramp_return_path): Use it. | |
11265 | ||
2de7ced7 DJ |
11266 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
11267 | ||
11268 | * defs.h (streq): Add prototype. | |
11269 | * utils.c (streq): New function. | |
11270 | ||
11271 | * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of | |
11272 | SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. | |
11273 | * mdebugread.c (new_symbol): Likewise. | |
11274 | * stabsread.c (define_symbol): Likewise. | |
11275 | * coffread.c (process_coff_symbol): Likewise. | |
11276 | * dwarfread.c (new_symbol): Likewise. | |
11277 | ||
11278 | * minsyms.c (prim_record_minimal_symbol_and_info): Use | |
11279 | SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language | |
11280 | here. | |
11281 | (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call | |
11282 | SYMBOL_INIT_DEMANGLED_NAME. | |
11283 | * objfiles.c: Include "hashtab.h". | |
11284 | (allocate_objfile): Call htab_set_functions_ex for the | |
11285 | demangled_names_hash. | |
11286 | (free_objfile): Call htab_delete for the demangled_names_hash. | |
11287 | * objfiles.h (struct htab): Add declaration. | |
11288 | (struct objfile): Add demangled_names_hash. | |
11289 | * symfile.c: Include "hashtab.h". | |
11290 | (reread_symbols): Call htab_delete for the demangled_names_hash. | |
11291 | (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting | |
11292 | SYMBOL_NAME in the bcache. | |
11293 | * symtab.c: Include "hashtab.h". Update comments. | |
11294 | (create_demangled_names_hash, symbol_set_names): New functions. | |
11295 | (symbol_find_demangled_name): New function, broken out from | |
11296 | symbol_init_demangled_names. | |
11297 | (symbol_init_demangled_names): Use it. | |
11298 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. | |
11299 | (SYMBOL_SET_NAMES): New macro. | |
11300 | (symbol_set_names): Add prototype. | |
11301 | ||
15831452 JB |
11302 | 2003-02-03 Jim Blandy <[email protected]> |
11303 | ||
11304 | Use a single, consistent representation for an empty minimal | |
11305 | symbol table in an objfile. | |
11306 | * objfiles.c (terminate_minimal_symbol_table): New function. | |
11307 | (allocate_objfile): Call it. | |
11308 | * objfiles.h (terminate_minimal_symbol_table): New declaration. | |
11309 | (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is | |
8ffd9b1b | 11310 | non-NULL. |
15831452 JB |
11311 | * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether |
11312 | objfile has minimal symbols, compare minimal_symbol_count to zero, | |
11313 | instead of comparing msymbols with NULL. | |
11314 | * objfiles.c (have_minimal_symbols): Same. | |
11315 | * solib-sunos.c (solib_add_common_symbols): Call | |
11316 | terminate_minimal_symbol_table. | |
11317 | * symfile.c (reread_symbols): Same. | |
8ffd9b1b | 11318 | |
ffc65945 KB |
11319 | 2003-02-03 Kevin Buettner <[email protected]> |
11320 | ||
11321 | * s390-tdep.c (s390_address_class_type_flags) | |
11322 | (s390_address_class_type_flags_to_name) | |
11323 | (s390_address_class_name_to_type_flags): New functions. | |
11324 | (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, | |
11325 | ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS. | |
11326 | ||
f211c6d4 MS |
11327 | 2003-02-03 Michael Snyder <[email protected]> |
11328 | ||
11329 | * arm-tdep.c: Fix spell-o in comment. | |
11330 | ||
659b0389 ML |
11331 | 2003-02-03 Michal Ludvig <[email protected]> |
11332 | ||
11333 | * dwarf2cfi.c (pointer_encoding): Added new parameter. | |
11334 | * dwarf2cfi.c, dwarf2read.c: Changed all warnings and | |
8ffd9b1b | 11335 | error messages to contain BFD filename. |
659b0389 | 11336 | |
3b31d625 EZ |
11337 | 2003-02-02 Elena Zannoni <[email protected]> |
11338 | ||
997b089a | 11339 | Fix PR gdb/742 gdb/743 gdb/877 |
3b31d625 EZ |
11340 | * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. |
11341 | (do_mixed_source_and_assembly): Use | |
11342 | make_cleanup_ui_out_tuple_begin_end and | |
11343 | make_cleanup_ui_out_tuple_begin_end. | |
11344 | (do_mixed_source_and_assembly): Ditto. | |
11345 | * thread.c (do_captured_list_thread_ids): Ditto. | |
11346 | * ui-out.h (ui_out_table_begin, ui_out_list_begin, | |
11347 | ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, | |
11348 | ui_out_tuple_end): Delete prototypes. | |
11349 | * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, | |
11350 | ui_out_list_end, ui_out_tuple_end): Delete. | |
11351 | ||
11352 | From Kevin Buettner <[email protected]>: | |
11353 | * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. | |
fbe586ae RH |
11354 | * ui-out.c (make_cleanup_ui_out_table_begin_end) |
11355 | (do_cleanup_table_end): New functions. | |
11356 | * breakpoint.c (print_it_typical, print_one_breakpoint, mention): | |
11357 | Use cleanups to invoke_ui_out_tuple_end(). | |
11358 | (breakpoint_1): Use cleanup to invoke ui_out_table_end(). | |
3b31d625 EZ |
11359 | * cli/cli-setshow.c (cmd_show_list): Use |
11360 | make_cleanup_ui_out_tuple_begin_end. | |
8ffd9b1b | 11361 | |
5b181d62 AC |
11362 | 2003-02-02 Andrew Cagney <[email protected]> |
11363 | ||
11364 | * frame.c (frame_unwind_register): New function. | |
11365 | (frame_unwind_unsigned_register): Use. | |
11366 | (frame_unwind_signed_register): Use. | |
11367 | (frame_read_register): New function. | |
11368 | * frame.h (frame_unwind_register): Declare. | |
11369 | (frame_read_register): Declare. | |
11370 | ||
11371 | * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write | |
11372 | and frame_unwind_register instead of read_memory, write_register | |
11373 | and deprecated_write_register_bytes. | |
11374 | ||
5f601589 AC |
11375 | 2003-02-02 Andrew Cagney <[email protected]> |
11376 | ||
11377 | * frame.h: Note that namelen can be negative. | |
11378 | * frame.c (frame_map_name_to_regnum): When LEN is negative, use | |
11379 | NAME's length. | |
11380 | ||
11381 | * NEWS: Mention that the d10v's `regs' command is deprecated. | |
11382 | * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. | |
11383 | (d10v_print_registers_info): New function. | |
11384 | (show_regs): Call d10v_print_registers_info. | |
11385 | (_initialize_d10v_tdep): Mark "show regs" command as deprecated. | |
11386 | ||
6a3fe0a4 MK |
11387 | 2003-02-02 Mark Kettenis <[email protected]> |
11388 | ||
11389 | * stack.c (print_frame_info): Restore call to annotate_frame_begin | |
11390 | lost in the previous patch. | |
11391 | ||
075559bc AC |
11392 | 2003-02-01 Andrew Cagney <[email protected]> |
11393 | ||
11394 | From 2002-11-09 Jason Molenda ([email protected]) | |
fbe586ae RH |
11395 | * stack.c (print_frame_info_base): Output complete FRAME tuple |
11396 | for synthesized frames. | |
075559bc | 11397 | |
6789195b AC |
11398 | 2003-02-02 Andrew Cagney <[email protected]> |
11399 | ||
11400 | * mips-nat.c (zerobuf): Delete. | |
11401 | (fetch_inferior_registers): Alloc local zerobuf. | |
11402 | (fetch_core_registers): Alloc local zerobuf. | |
11403 | * d10v-tdep.c (show_regs): Don't allocate a dynamic array using | |
11404 | MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. | |
11405 | * thread-db.c (thread_db_store_registers): Ditto. | |
11406 | * sh-tdep.c (sh_do_register): Ditto. | |
11407 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
11408 | * remote-sim.c (gdbsim_store_register): Ditto. | |
11409 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
11410 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
11411 | * monitor.c (monitor_supply_register): Ditto. | |
11412 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
11413 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
11414 | * m68klinux-nat.c (fetch_register): Ditto. | |
11415 | * lynx-nat.c (fetch_inferior_registers): Ditto. | |
11416 | (fetch_inferior_registers): Ditto. | |
11417 | * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
11418 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
11419 | (hpux_thread_store_registers): Ditto. | |
11420 | * hppah-nat.c (fetch_register): Ditto. | |
11421 | * hppab-nat.c (fetch_register): Ditto. | |
11422 | * hppa-tdep.c (pa_register_look_aside): Ditto. | |
11423 | (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. | |
11424 | * dve3900-rom.c (fetch_bitmapped_register): Ditto. | |
11425 | ||
e669114a AC |
11426 | 2003-02-01 Andrew Cagney <[email protected]> |
11427 | ||
11428 | * gdbarch.sh: Explictly specify all method levels. When a | |
11429 | variable with an empty level, provide a non-multi-arch default. | |
11430 | (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. | |
11431 | * gdbarch.h: Re-generate. | |
11432 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. | |
11433 | * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1 | |
11434 | ||
9a043c1d AC |
11435 | 2003-02-01 Andrew Cagney <[email protected]> |
11436 | ||
11437 | * defs.h (host_pointer_to_address): Delete declaration. | |
11438 | (address_to_host_pointer): Delete declaration. | |
11439 | * utils.c (host_pointer_to_address): Delete function. | |
11440 | (address_to_host_pointer): Delete function. | |
11441 | * procfs.c (procfs_address_to_host_pointer): New function. | |
11442 | * procfs.c (proc_set_watchpoint): Use. | |
11443 | (procfs_can_use_hw_breakpoint): Update comments. | |
11444 | * somsolib.c (hpux_address_to_host_pointer_hack): New function. | |
11445 | (som_solib_add): Use. | |
11446 | * hppa-tdep.c (hppa_pointer_to_address_hack): New function. | |
11447 | * hppa-tdep.c (unwind_command): Use. | |
8ffd9b1b | 11448 | |
7ca9f392 AC |
11449 | 2003-02-01 Andrew Cagney <[email protected]> |
11450 | ||
94bbfd30 AC |
11451 | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and |
11452 | strlen d_name. | |
11453 | ||
7ca9f392 AC |
11454 | * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, |
11455 | ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. | |
11456 | (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. | |
11457 | * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. | |
11458 | (define_symbol): Update. | |
11459 | * symfile.c (generic_load): Remove references to nindy. | |
11460 | * symtab.c: Remove references to nindy. | |
11461 | ||
31a85ea2 AC |
11462 | 2003-02-01 Andrew Cagney <[email protected]> |
11463 | ||
11464 | * infcmd.c (print_float_info): Delete code conditional on | |
11465 | FLOAT_INFO. | |
11466 | * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. | |
11467 | * config/m68k/nm-apollo68b.h: Ditto. | |
11468 | * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. | |
11469 | * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. | |
11470 | * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. | |
11471 | ||
f6e85fc8 MK |
11472 | 2003-02-01 Mark Kettenis <[email protected]> |
11473 | ||
6015b6a0 MK |
11474 | * config/i386/tm-i386os9k.h: Removed. |
11475 | ||
f7a30bdf MK |
11476 | * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v. |
11477 | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since | |
11478 | they're identical to i[3456]86-*-sysv* now. | |
11479 | * config/i386/i386v32.mh: Removed. | |
11480 | * config/i386/xm-i386v32.h: Removed. | |
11481 | * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro. | |
11482 | ||
28d52111 MK |
11483 | * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed. |
11484 | ||
4d3f6bce MK |
11485 | * config/i386/i386dgux.mh: Removed. |
11486 | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4. | |
11487 | ||
f6e85fc8 MK |
11488 | * configure.in: Fix typo. |
11489 | * configure: Regenerated. | |
11490 | ||
53955967 DC |
11491 | 2003-01-31 David Carlton <[email protected]> |
11492 | ||
11493 | * dwarf2read.c (dwarf2_locate_sections): Set | |
11494 | dwarf_ranges_section. | |
11495 | ||
b1364885 AC |
11496 | 2003-01-31 Andrew Cagney <[email protected]> |
11497 | ||
8dbb1c65 AC |
11498 | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. |
11499 | * utils.c: Update comments documenting legitimate uses of PTR. | |
8ffd9b1b | 11500 | |
8731e58e AC |
11501 | * utils.c: Re-indent. |
11502 | ||
b1364885 AC |
11503 | * config/djgpp/fnchange.lst: Delete nindy files. |
11504 | * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. | |
11505 | * nindy-share/nindy.c, nindy-share/env.h: Delete files. | |
11506 | * nindy-share/coff.h, nindy-share/block_io.h: Delete files. | |
11507 | * nindy-share/b.out.h, nindy-share/VERSION: Delete files. | |
11508 | * nindy-share/README, nindy-share/Onindy.c: Delete files. | |
11509 | * nindy-tdep.c, nindy-share/Makefile: Delete files. | |
11510 | * Makefile.in (init.c): Remove nindy references. | |
11511 | (saber_gdb): Delete rule. | |
11512 | (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, | |
11513 | nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, | |
11514 | and a68v-nat.c. | |
11515 | (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. | |
11516 | (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. | |
11517 | (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, | |
11518 | nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and | |
11519 | nindy-share/stop.h. | |
11520 | * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. | |
11521 | * saber.suppress: Delete file. | |
11522 | ||
086df311 DJ |
11523 | 2003-01-31 Daniel Jacobowitz <[email protected]> |
11524 | ||
11525 | * dbxread.c (stabs_data): New static variable. | |
11526 | (fill_symbuf): Support an in-memory buffer for stabs data. | |
11527 | (stabs_seek): New function. | |
11528 | (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. | |
11529 | (read_ofile_symtab): Use stabs_seek. | |
11530 | (elfstab_build_psymtabs): Take an asection* instead of | |
11531 | an offset and size. Relocate the stabs data if necessary. | |
11532 | Save the section* for dbx_psymtab_to_symtab. | |
11533 | * dwarf2read.c: Add section variables for each debug section. | |
11534 | (dwarf2_locate_sections): Fill them in. | |
11535 | (dwarf2_read_section): Take an asection* argument. | |
11536 | Relocate the section contents if necessary. | |
11537 | (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. | |
11538 | * dwarf2cfi.c (parse_frame_info): Take a section argument and pass | |
11539 | it to dwarf2_read_section. | |
11540 | (dwarf2_build_frame_info): Update callers. | |
11541 | * elfread.c (elf_symfile_read): Update call to | |
11542 | elfstab_build_psymtabs. | |
11543 | * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. | |
11544 | (DBX_STAB_SECTION): New macro. | |
8ffd9b1b | 11545 | * stabsread.h (elfstab_build_psymtabs): Update prototype. |
086df311 DJ |
11546 | * symfile.c (symfile_dummy_outputs): New function. |
11547 | (symfile_relocate_debug_section): New function. | |
11548 | * symfile.h (symfile_relocate_debug_section): Add prototype. | |
11549 | ||
87d1b352 RH |
11550 | 2003-01-31 Richard Henderson <[email protected]> |
11551 | ||
11552 | * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ... | |
11553 | (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. | |
11554 | (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. | |
11555 | * alpha-tdep.c (alpha_register_name): Add "unique". | |
11556 | * alpha-tdep.h (ALPHA_NUM_REGS): Increment. | |
11557 | (ALPHA_UNIQUE_REGNUM): New. | |
11558 | * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New. | |
11559 | ||
c48861fb AC |
11560 | 2003-01-31 Andrew Cagney <[email protected]> |
11561 | ||
11562 | * README: Remove reference to Ericsson 1800 monitor. | |
11563 | * Makefile.in (remote-es.o): Delete rule. | |
11564 | (ALLDEPFILES): Delete remote-es.c. | |
11565 | * remote-es.c: Delete file. | |
11566 | * config/m68k/es1800.mt: Delete file. | |
11567 | * config/djgpp/fnchange.lst: Update. | |
11568 | * configure.tgt: Delete m68*-ericsson-* target. | |
11569 | ||
d764a824 AF |
11570 | 2003-01-31 Adam Fedor <[email protected]> |
11571 | ||
11572 | * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc. | |
11573 | Remove duplicate/shadowing variable of same name. | |
11574 | ||
fe36c4f4 JB |
11575 | 2003-01-30 Jim Blandy <[email protected]> |
11576 | ||
11577 | * symfile.c (find_separate_debug_file): Assert that the objfile's | |
11578 | directory name we compute ends with a slash, and then assume that | |
11579 | that's so everywhere we use it. | |
11580 | ||
cb741690 DJ |
11581 | 2003-01-30 Daniel Jacobowitz <[email protected]> |
11582 | ||
11583 | * valops.c (value_assign): Flush frame cache after stores to memory | |
11584 | also. | |
11585 | ||
96ee5227 AC |
11586 | 2003-01-30 Andrew Cagney <[email protected]> |
11587 | ||
11588 | * Makefile.in (mon960-rom.o): Delete rule. | |
11589 | * mon960-rom.c: Delete file. | |
11590 | ||
7f6104a9 AC |
11591 | 2003-01-30 Andrew Cagney <[email protected]> |
11592 | ||
11593 | * d10v-tdep.c: Include "frame-unwind.h". | |
11594 | (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate | |
11595 | list. | |
11596 | (next_addr, uses_frame): Delete. | |
11597 | (struct d10v_unwind_cache): Define. | |
11598 | (prologue_find_regs): Add struct d10v_unwind_cache info parameter. | |
11599 | Use info instead of next_addr and uses_frame globals. | |
11600 | (d10v_frame_init_saved_regs): Delete function. | |
11601 | (d10v_init_extra_frame_info): Delete function. | |
11602 | (d10v_gdbarch_init): Do not initialize init_extra_frame_info, | |
11603 | frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, | |
11604 | init_frame_pc or frame_saved_pc. | |
11605 | (d10v_pop_frame): Delete function. | |
11606 | (do_d10v_pop_frame): Delete function. | |
11607 | (d10v_frame_chain): Delete function. | |
11608 | (d10v_frame_chain_valid): Delete function. | |
11609 | (d10v_frame_pc_unwind): New function. | |
11610 | (d10v_frame_id_unwind): New function. | |
11611 | (saved_regs_unwinder): New function. | |
11612 | (d10v_frame_register_unwind): New function. | |
11613 | (d10v_frame_pop): New function. | |
11614 | (d10v_frame_unwind): New variable. | |
11615 | (d10v_frame_p): New function. | |
11616 | (d10v_frame_saved_pc): Delete function. | |
11617 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
11618 | ||
cad2e848 JB |
11619 | 2003-01-30 J. Brobecker <[email protected]> |
11620 | ||
11621 | * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef | |
11622 | causing some regressions due to a change in the default value | |
11623 | for this macro. | |
11624 | ||
af34e669 DJ |
11625 | 2003-01-29 Richard Henderson <[email protected]> |
11626 | Elena Zannoni <[email protected]> | |
11627 | Daniel Jacobowitz <[email protected]> | |
11628 | ||
11629 | Fix PR gdb/961. | |
8ffd9b1b | 11630 | * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New |
af34e669 DJ |
11631 | variables. |
11632 | (RANGES_SECTION): New. | |
11633 | (dwarf_ranges_buffer): New variable. | |
11634 | (struct comp_unit_head): Add member "die". | |
11635 | (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. | |
11636 | (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. | |
11637 | (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. | |
11638 | (dwarf2_locate_sections): Likewise. | |
11639 | (dwarf2_build_psymtabs): Read .debug_ranges. | |
11640 | (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. | |
11641 | (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. | |
11642 | (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. | |
11643 | Look for DW_AT_ranges and return the bounding box. | |
11644 | ||
baa93fa6 CF |
11645 | 2003-01-29 Brian Ford <[email protected]> |
11646 | ||
11647 | * win32-nat.c (cygwin_pid): Removed as unused. | |
11648 | (child_attach): Try fall back to Cygwin pid. | |
11649 | ||
c63f977f JB |
11650 | 2003-01-29 Jim Blandy <[email protected]> |
11651 | ||
11652 | * objfiles.h (struct objfile): Doc fix. | |
11653 | ||
d62d1979 AC |
11654 | 2003-01-29 Andrew Cagney <[email protected]> |
11655 | ||
11656 | * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. | |
11657 | (legacy_get_prev_frame): Assert FRAME_CHAIN_P. | |
11658 | (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. | |
11659 | (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. | |
11660 | * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. | |
11661 | (FRAME_SAVED_PC): Change to a function with predicate. | |
11662 | * gdbarch.h, gdbarch.c: Re-generate. | |
11663 | ||
1ae18a04 AC |
11664 | 2003-01-28 Andrew Cagney <[email protected]> |
11665 | ||
52287340 AC |
11666 | * hppah-nat.c (child_pid_to_exec_file): Don't use boolean. |
11667 | ||
1ae18a04 AC |
11668 | * complaints.c (complain): Delete function. |
11669 | * complaints.h (struct deprecated_complaint): Delete definition. | |
11670 | (complain): Delete declaration. | |
11671 | ||
f2c16bd6 KB |
11672 | 2003-01-28 Kevin Buettner <[email protected]> |
11673 | ||
11674 | * mips-tdep.c (mips_init_extra_frame_info): Return early for | |
11675 | dummy frames. | |
11676 | ||
a94dd1fd AC |
11677 | 2003-01-27 Andrew Cagney <[email protected]> |
11678 | ||
11679 | * sentinel-frame.h, sentinel-frame.c: New files. | |
11680 | * Makefile.in (frame.o): Update dependencies. | |
11681 | (SFILES): Add sentinel-frame.c. | |
11682 | (sentinel_frame_h): Define. | |
11683 | (COMMON_OBS): Add sentinel-frame.o. | |
11684 | (sentinel-frame.o): Specify dependencies. | |
11685 | * frame.c: Include "sentinel-frame.h". | |
11686 | (frame_register_unwind): Rewrite assuming that there is always a a | |
11687 | ->next frame. | |
11688 | (frame_register, generic_unwind_get_saved_register): Ditto. | |
11689 | (frame_read_unsigned_register, frame_read_signed_register): Ditto. | |
11690 | (create_sentinel_frame, unwind_to_current_frame): New functions. | |
11691 | (get_current_frame): Rewrite using create_sentinel_frame and | |
11692 | unwind_to_current_frame. When possible, always create a frame. | |
11693 | (create_new_frame): Set next to the sentinel frame. | |
11694 | (get_next_frame): Rewrite. Don't go below the level 0 frame. | |
11695 | (deprecated_update_frame_pc_hack): Update the next frame's PC and | |
11696 | ID cache when necessary. | |
11697 | (frame_saved_regs_id_unwind): Use frame_relative_level. | |
11698 | (deprecated_generic_get_saved_register): Use frame_relative_level, | |
11699 | get_frame_saved_regs, get_frame_pc, get_frame_base and | |
11700 | get_next_frame. | |
11701 | (frame_saved_regs_register_unwind): Use get_frame_saved_regs and | |
11702 | frame_register. | |
11703 | ||
5378adc4 DJ |
11704 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
11705 | ||
11706 | * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments. | |
11707 | ||
51ee2ddc DJ |
11708 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
11709 | ||
11710 | * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] | |
11711 | (maintenance_set_profile_cmd): Use error () instead of warning (). | |
11712 | ||
d9feb4e7 DJ |
11713 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
11714 | ||
11715 | * configure.in: Check that -pg works if using --enable-profiling. | |
11716 | Check for monstartup and _mcleanup regardless of --enable-profiling. | |
11717 | * maint.c: Check for monstartup and _mcleanup before using them. | |
11718 | * config.in: Regenerated. | |
11719 | * configure: Regenerated. | |
11720 | ||
2d188dd3 NC |
11721 | 2003-01-24 Nick Clifton <[email protected]> |
11722 | ||
11723 | * Add sh2e support: | |
11724 | ||
11725 | 2002-04-02 Elena Zannoni <[email protected]> | |
11726 | ||
11727 | * gdb/sh-tdep.c (sh_sh2e_register_name): New. | |
11728 | (sh2e_show_regs): New. | |
11729 | (sh_gdbarch_init): Handle bfd_mach_sh2e. | |
11730 | * config/sh/tm-sh.h: Added sh2e to comments. | |
11731 | ||
cb3c37b2 JB |
11732 | 2003-01-23 Jim Blandy <[email protected]> |
11733 | ||
11734 | * symfile.c (syms_from_objfile): Don't print the "(no debugging | |
11735 | symbols found)" message here; we haven't checked for a separate | |
11736 | debug info file yet, so we don't know yet. | |
11737 | (symbol_file_add_with_addrs_or_offsets): Print it here, after | |
11738 | we've looked everywhere. Also, there's no need to print a special | |
11739 | message when we're loading the separate debug info file: the one | |
11740 | symbol_file_add prints is fine. | |
11741 | ||
5b5d99cf JB |
11742 | 2003-01-23 Alexander Larsson <[email protected]> |
11743 | Jim Blandy <[email protected]> | |
11744 | ||
11745 | Add support for executables whose debug info has been separated | |
11746 | out into a separate file, leaving only a link behind. | |
11747 | * objfiles.h (struct objfile): New fields: separate_debug_objfile | |
11748 | and separate_debug_objfile_backlink. | |
11749 | (put_objfile_before): New declaration. | |
11750 | * symfile.c: #include "filenames.h". | |
11751 | (symbol_file_add_with_addrs_or_offsets): If this objfile has its | |
11752 | debug info in a separate file, read that, too. Save the addrs | |
11753 | argument, so we can use it again to read the separated debug info; | |
11754 | syms_from_objfile modifies the table we pass it. | |
11755 | (reread_symbols): After re-reading an objfile, call | |
11756 | reread_separate_symbols to refresh its separate debug info | |
11757 | objfile, if it has one. | |
11758 | (reread_separate_symbols, find_separate_debug_file, | |
11759 | get_debug_link_info, separate_debug_file_exists): New functions. | |
11760 | (debug_file_directory): New global var. | |
11761 | (_initialize_symfile): Initialize debug_file_directory, and | |
11762 | provide the new `set debug-file-directory' command to let the user | |
11763 | change it. | |
11764 | * objfiles.c (free_objfile): If this objfile has its debug info in | |
11765 | a separate objfile, free that one too. If this is itself a | |
11766 | separate debug info objfile, clear our parent's backlink. | |
11767 | (put_objfile_before): New function. | |
11768 | * utils.c (gnu_debuglink_crc32): New function. | |
11769 | * defs.h (gnu_debuglink_crc32): New declaration. | |
11770 | * Makefile.in (symfile.o): Note dependency on "filenames.h". | |
11771 | * configure.in: Handle --with-separate-debug-dir config option. | |
11772 | * acinclude.m4 (AC_DEFINE_DIR): New macro. | |
11773 | * acconfig.h (DEBUGDIR): New macro. | |
11774 | * configure, aclocal.m4, config.in: Regenerated. | |
11775 | ||
7e8580c1 JB |
11776 | 2003-01-22 Jim Blandy <[email protected]> |
11777 | ||
7904e09f JB |
11778 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New function, |
11779 | like the old symbol_file_add, but taking new arguments: you can | |
11780 | now pass in either a `struct section_addr_info' list to say where | |
11781 | each section is loaded, or a `struct section_offsets' table. Pass | |
11782 | these new arguments through to syms_from_objfile as appropriate. | |
8ffd9b1b | 11783 | (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, |
7904e09f JB |
11784 | with the appropriate quiescent values for the new arguments. |
11785 | ||
7e8580c1 JB |
11786 | * symfile.c: #include "gdb_assert.h". |
11787 | (syms_from_objfile): Add the ability to pass in a section offset | |
11788 | table directly, as an alternative to the section_addr_info table. | |
11789 | Document arguments better. | |
11790 | (symbol_file_add): Pass extra arguments to syms_from_objfile. | |
11791 | * symfile.h (syms_from_objfile): Update declaration. | |
11792 | * rs6000-nat.c (objfile_symbol_add): Pass new arguments to | |
11793 | syms_from_objfile. | |
11794 | * Makefile.in (symfile.o): List dependency on $(gdb_assert_h). | |
11795 | ||
d28f9cdf DJ |
11796 | 2003-01-22 Daniel Jacobowitz <[email protected]> |
11797 | ||
11798 | Original patch by Tom Tromey <[email protected]> and | |
11799 | Jason Molenda <[email protected]>. | |
11800 | * Makefile.in (PROFILE_CFLAGS): Substitute from configure. | |
11801 | (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. | |
11802 | * NEWS: Mention profiling. | |
11803 | * configure.in (--enable-gdbtk): Fix typo. | |
11804 | (--enable-profiling): New. Set PROFILE_CFLAGS. | |
11805 | * maint.c (maintenance_set_profile_cmd): Remove NOTYET. | |
11806 | Fill in function. | |
11807 | (profiling_state): New variable. | |
11808 | (mcleanup_wrapper): New function. | |
11809 | (_initialize_maint): Remove NOTYET, fix call to | |
11810 | add_setshow_boolean_cmd for "maint set profile". | |
11811 | * configure: Regenerated. | |
11812 | ||
df21e465 MH |
11813 | 2003-01-21 Martin M. Hunt <[email protected]> |
11814 | ||
11815 | * Makefile.in (install-gdbtk): Install PNG images too. | |
11816 | ||
73c1f219 AC |
11817 | 2003-01-21 Andrew Cagney <[email protected]> |
11818 | ||
11819 | * exec.c (text_start): Delete global variable. | |
11820 | (exec_file_attach): Make text_start local to the function. | |
11821 | * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. | |
11822 | * valops.c (hand_function_call): Delete code that handles | |
11823 | BEFORE_TEXT_END and AFTER_TEXT_END. | |
11824 | * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead | |
11825 | of CALL_DUMMY_LOCATION. | |
11826 | * gdbarch.c: Regenerate. | |
11827 | * inferior.h (deprecated_pc_in_call_dummy_before_text_end) | |
11828 | (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. | |
11829 | * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) | |
11830 | (deprecated_pc_in_call_dummy_after_text_end): Delete functions. | |
11831 | (text_end): Delete extern declaration. | |
11832 | ||
eb4f72c5 AC |
11833 | 2003-01-21 Andrew Cagney <[email protected]> |
11834 | ||
11835 | * frame.h (FRAME_OBSTACK_ZALLOC): Define. | |
11836 | * blockframe.c (backtrace_below_main): Move to "frame.c". | |
11837 | (frame_chain_valid): Delete check for backtrace_below_main. | |
11838 | (_initialize_blockframe): Delete initialization, move ``set | |
11839 | backtrace-below-main'' command to "frame.c". | |
11840 | (do_flush_frames_sfunc): Delete function. | |
11841 | * frame.c: Include "command.h" and "gdbcmd.h". | |
11842 | (frame_type_from_pc): New function. | |
11843 | (create_new_frame): Use frame_type_from_pc. | |
11844 | (legacy_get_prev_frame): New function. | |
11845 | (get_prev_frame): Rewrite. When an old style frame, call | |
11846 | legacy_get_prev_frame. Otherwize, unwind the PC first. | |
11847 | (_initialize_frame): Add ``set backtrace-below-main'' command. | |
11848 | * Makefile.in (frame.o): Update dependencies. | |
11849 | ||
778ce8cc AC |
11850 | 2003-01-19 Andrew Cagney <[email protected]> |
11851 | ||
11852 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename | |
11853 | DEPRECATED_REGISTERS_INFO. | |
11854 | ||
01c193c8 AC |
11855 | 2003-01-19 Andrew Cagney <[email protected]> |
11856 | ||
11857 | * MAINTAINERS: Replace `Blanket Write Privs' with `Global | |
11858 | Maintainers'. Update `Various Maintainers'. | |
11859 | ||
dedc2a2b AC |
11860 | 2003-01-19 Andrew Cagney <[email protected]> |
11861 | ||
11862 | * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. | |
11863 | * gdbarch.sh (POP_FRAME): Change to function with predicate. | |
11864 | Suppress actual parameters when `-'. | |
11865 | * gdbarch.h, gdbarch.c: Regenerate. | |
11866 | ||
b7261c70 AC |
11867 | 2003-01-19 Andrew Cagney <[email protected]> |
11868 | ||
11869 | * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore | |
11870 | code handling dummy frames. | |
11871 | ||
dbe9fe58 AC |
11872 | 2003-01-19 Andrew Cagney <[email protected]> |
11873 | ||
11874 | * frame-unwind.h (frame_unwind_pop_ftype): Declare. | |
11875 | (struct frame_unwind): Add field pop. | |
11876 | * frame.h (frame_pop): Declare. | |
11877 | * frame.c (frame_saved_regs_pop): New function. | |
11878 | (trad_frame_unwinder): Add frame_saved_regs_pop. | |
11879 | (frame_pop): New function. | |
11880 | * dummy-frame.c (dummy_frame_pop): New function. | |
11881 | (discard_innermost_dummy): New function. | |
11882 | (generic_pop_dummy_frame): Use discard_innermost_dummy. | |
11883 | (dummy_frame_unwind): Add dummy_frame_pop. | |
11884 | * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. | |
11885 | * valops.c (hand_function_call): Ditto. | |
11886 | * stack.c (return_command): Ditto. | |
11887 | ||
570b8f7c AC |
11888 | 2003-01-18 Andrew Cagney <[email protected]> |
11889 | ||
11890 | * cris-tdep.c: Fix function declaration indentation. | |
11891 | * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. | |
11892 | * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. | |
11893 | * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. | |
11894 | * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. | |
11895 | * xcoffread.c, config/pa/tm-hppa.h: Ditto. | |
11896 | * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto. | |
11897 | ||
11898 | 2003-01-18 Michael Chastain <[email protected]> | |
eaec4d85 MC |
11899 | |
11900 | * README (Unpacking and Installation -- quick overview): | |
11901 | Warn against ".../gdb-5.3/gdb/configure". | |
11902 | ||
494cca16 AC |
11903 | 2003-01-18 Andrew Cagney <[email protected]> |
11904 | ||
11905 | * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. | |
11906 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
11907 | (struct frame_unwind): Declare opaque. | |
11908 | (dummy_frame_p): Declare function. | |
11909 | * dummy-frame.c (dummy_frame_id_unwind): Make static. | |
11910 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
11911 | * dummy-frame.c: Include "frame-unwind.h". | |
11912 | (dummy_frame_p): New function. | |
11913 | (dummy_frame_unwind): New variable. | |
11914 | * frame.c: Include "frame-unwind.h". | |
11915 | (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update | |
11916 | to use the new unwind field. | |
11917 | (set_unwind_by_pc): Delete function. | |
11918 | (create_new_frame, get_prev_frame): Set unwind field using | |
11919 | frame_unwind_find_by_pc. | |
11920 | (trad_frame_unwind, trad_frame_unwinder): New variables. | |
11921 | * frame.h (trad_frame_unwind): Declare variable. | |
11922 | (frame_id_unwind_ftype): Delete declaration. | |
11923 | (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. | |
11924 | (struct frame_unwind): Declare opaque. | |
11925 | (struct frame_info): Replace the fields id_unwind, pc_unwind and | |
11926 | register_unwind with a single unwind pointer. | |
11927 | * frame-unwind.h, frame-unwind.c: New files. | |
11928 | * Makefile.in (SFILES): Add frame-unwind.c. | |
11929 | (frame_unwind_h): Define. | |
11930 | (COMMON_OBS): Add frame-unwind.o. | |
11931 | (frame-unwind.o): Specify dependencies. | |
11932 | (frame.o, dummy-frame.o): Update dependencies. | |
8ffd9b1b | 11933 | |
4efb68b1 AC |
11934 | 2003-01-18 Andrew Cagney <[email protected]> |
11935 | ||
11936 | * ada-valprint.c: Eliminate PTR. | |
11937 | * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. | |
11938 | * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. | |
11939 | * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. | |
11940 | * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. | |
11941 | * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. | |
11942 | * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. | |
11943 | * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. | |
8ffd9b1b | 11944 | |
a84d24ee AC |
11945 | 2003-01-17 Andrew Cagney <[email protected]> |
11946 | ||
762f08a3 AC |
11947 | * main.c (captured_main): Don't use PTR. |
11948 | * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. | |
11949 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
11950 | (lookup_struct_elt_type): Ditto. | |
11951 | * f-valprint.c (info_common_command): Ditto. | |
11952 | (list_all_visible_commons): Ditto. | |
11953 | * jv-typeprint.c (java_type_print_base): Ditto. | |
11954 | ||
a84d24ee AC |
11955 | * config/djgpp/fnchange.lst: Rename mi1-var-block.exp, |
11956 | mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. | |
11957 | Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename | |
11958 | i386-interix-nat.c and i386-interix-tdep.c. Rename | |
11959 | m68klinux-nat.c and m68klinux-tdep.c. Rename | |
11960 | config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename | |
11961 | bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename | |
11962 | gdb/objc-exp.tab.c and gdb/ada-exp.tab.c | |
11963 | * main.c (captured_main): Use xfree, not free. | |
11964 | ||
c170fb60 AC |
11965 | 2003-01-16 Andrew Cagney <[email protected]> |
11966 | ||
11967 | * frame.h (frame_id_unwind_ftype): Change type so that the frame's | |
11968 | ID back using a parameter. | |
11969 | * frame.c (frame_id_unwind): Update call. | |
11970 | (frame_saved_regs_id_unwind): Update. | |
11971 | * dummy-frame.c (dummy_frame_id_unwind): Update function. | |
11972 | * dummy-frame.h (struct frame_id): Add opaque declaration. | |
11973 | (dummy_frame_id_unwind): Update declaration. | |
11974 | ||
867f3898 AC |
11975 | 2003-01-15 Andrew Cagney <[email protected]> |
11976 | ||
11977 | * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. | |
11978 | ||
40622be8 | 11979 | 2003-01-15 Stephen P. Smith <[email protected]> |
de3a8c23 | 11980 | |
40622be8 | 11981 | * MAINTAINERS (Stephen P. Smith): Updated email address. |
de3a8c23 | 11982 | |
ae66c1fc EZ |
11983 | 2003-01-14 Elena Zannoni <[email protected]> |
11984 | ||
997b089a | 11985 | Fix PR gdb/898 |
ae66c1fc EZ |
11986 | * breakpoint.c (until_break_command): Add new argument. Use it to |
11987 | decide whether to stop only at the current frame or not. | |
11988 | * breakpoint.h (until_break_command): Update prototype. | |
8ffd9b1b | 11989 | * infcmd.c (until_command): Add new argument to until_break_command |
ae66c1fc EZ |
11990 | call. |
11991 | (advance_command): New function. | |
11992 | (_initialize_infcmd): Update help string for 'until' command. | |
11993 | Add new 'advance' command. | |
11994 | ||
a04257e6 DC |
11995 | 2003-01-14 David Carlton <[email protected]> |
11996 | ||
11997 | * linespec.c (decode_line_1): Normalize comments. | |
11998 | (set_flags): Ditto. | |
11999 | (locate_first_half): Ditto. | |
12000 | (decode_compound): Ditto. | |
12001 | (symtab_from_filename): Ditto. | |
12002 | (decode_all_digits): Ditto. | |
12003 | (decode_dollar): Ditto. | |
12004 | (find_methods): Ditto. | |
12005 | (find_toplevel_char): Ditto. | |
12006 | ||
1bac305b AC |
12007 | 2003-01-13 Andrew Cagney <[email protected]> |
12008 | ||
12009 | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. | |
12010 | * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. | |
12011 | * elfread.c, eval.c, expprint.c, expression.h: Update copyright. | |
12012 | * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. | |
12013 | * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. | |
12014 | * language.c, language.h, m32r-tdep.c: Update copyright. | |
12015 | * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. | |
12016 | * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. | |
12017 | * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. | |
12018 | * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. | |
12019 | * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. | |
12020 | * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. | |
12021 | ||
25caa7a8 EZ |
12022 | 2003-01-13 Elena Zannoni <[email protected]> |
12023 | ||
12024 | * stabsread.h (process_later, resolve_cfront_continuation): | |
12025 | Obsolete. | |
12026 | Update copyright years. | |
12027 | * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. | |
12028 | Update copyright year. | |
12029 | * dbxread.c(struct cont_elem): Obsolete. | |
8ffd9b1b | 12030 | (process_later, process_now): Obsolete functions. |
25caa7a8 EZ |
12031 | (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. |
12032 | Update copyright year. | |
12033 | * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. | |
12034 | (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions. | |
12035 | * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront. | |
12036 | (parse_partial_symbols): Obsolete cfront support. | |
12037 | * stabsread.c | |
12038 | (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete | |
12039 | macros. | |
12040 | (get_substring, get_cfront_method_physname, msg_unknown_complaint, | |
12041 | read_cfront_baseclasses, read_cfront_member_functions, | |
12042 | resolve_cfront_continuation,read_cfront_static_fields, | |
12043 | copy_cfront_struct_fields): Obsolete functions. | |
12044 | (define_symbol, read_one_struct_field): Obsolete cfront support. | |
12045 | * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support. | |
12046 | Update Copyright year. | |
12047 | ||
7789c6f5 EZ |
12048 | 2003-01-13 Elena Zannoni <[email protected]> |
12049 | ||
12050 | * stack.c (print_frame_info, print_stack_frame_base_stub, | |
12051 | print_stack_frame_base, show_and_print_stack_frame_stub, | |
12052 | show_and_print_stack_frame, print_only_stack_frame_stub, | |
12053 | print_only_stack_frame): Delete functions. | |
12054 | (print_stack_frame_stub): Call print_frame_info instead of | |
12055 | print_frame_info_base. | |
12056 | (print_frame_info_base): Rename to print_frame_info. | |
12057 | (backtrace_command_1): Call print_frame_info, instead of | |
12058 | print_frame_info_base. | |
12059 | (current_frame_command): Call print_stack_frame, instead of | |
12060 | print_only_stack_frame. | |
12061 | (frame_command): Call print_stack_frame, instead of | |
12062 | show_and_print_stack_frame. | |
12063 | (up_command): Ditto. | |
12064 | (down_command): Ditto. | |
12065 | * frame.h (print_only_stack_frame): Delete prototype. | |
12066 | * infrun.c (normal_stop): Call print_stack_frame, instead of | |
12067 | show_and_print_stack_frame. | |
12068 | * thread.c (info_threads_command): Call print_stack_frame, instead | |
12069 | of print_only_stack_frame. | |
12070 | ||
3f5a3016 AC |
12071 | 2003-01-13 Andrew Cagney <[email protected]> |
12072 | ||
d99ba314 AC |
12073 | * README (Graphical interface to GDB): Update URL. Point at |
12074 | gdb/links/. | |
12075 | ||
3f5a3016 AC |
12076 | * gdb_indent.sh: Update to version 2.2.9. Warn when not exact |
12077 | version match. | |
12078 | ||
083ae935 DJ |
12079 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
12080 | ||
12081 | * symtab.c (find_pc_sect_line): Don't consider end-of-function | |
12082 | lines. | |
12083 | ||
5365276c DJ |
12084 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
12085 | ||
12086 | * thread-db.c (attach_thread): Prototype. | |
12087 | (struct private_thread_info): Remove lwpid. Add thread handle (th), | |
12088 | thread information (ti), and valid flags (th_valid, ti_valid). | |
12089 | (attach_thread): Move target_pid_to_str call to after the thread | |
12090 | is added to GDB's list. Initialize the cache. | |
12091 | (thread_get_info_callback, thread_db_map_id2thr) | |
12092 | (thread_db_get_info): New functions. | |
12093 | (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers) | |
12094 | (thread_db_store_registers, thread_db_thread_alive) | |
12095 | (thread_db_get_thread_local_address): Use them. | |
12096 | (thread_db_pid_to_str): Likewise. Return "Missing" instead | |
12097 | of calling error() for threads in unknown state. | |
12098 | ||
12099 | (clear_lwpid_callback): New function. | |
12100 | (thread_db_resume): Use it to clear the cache. | |
12101 | ||
9fc30b6b DJ |
12102 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
12103 | ||
12104 | * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove. | |
12105 | (resume_callback): Remove dead code. | |
12106 | ||
8f871025 AC |
12107 | 2003-01-13 Andrew Cagney <[email protected]> |
12108 | ||
12109 | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with | |
12110 | predicate. | |
12111 | * gdbarch.h, gdbarch.c: Regenerate. | |
12112 | * stack.c (frame_info): Only initialize the saved registers when | |
12113 | FRAME_INIT_SAVED_REGS_P. | |
12114 | * frame.c (frame_saved_regs_register_unwind): Assert | |
12115 | FRAME_INIT_SAVED_REGS_P. | |
12116 | (deprecated_generic_get_saved_register): Ditto. | |
12117 | ||
3f565f1e DJ |
12118 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
12119 | ||
12120 | * source.c (openp): Squelch warning about "filename". | |
12121 | ||
072b1022 DJ |
12122 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
12123 | ||
12124 | * source.c (openp): If the file does not exist don't necessarily | |
12125 | search the path. | |
12126 | ||
973ccf8b DJ |
12127 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
12128 | ||
12129 | Fix PR gdb/872. | |
12130 | * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
12131 | (integer_types_same_name_p): New function. | |
12132 | (rank_one_type): Use it. | |
12133 | * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
12134 | ||
030292b7 DJ |
12135 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
12136 | ||
12137 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New | |
12138 | variables. | |
12139 | (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). | |
12140 | * configure.in: Add --with-sysroot. | |
12141 | * configure: Regenerated. | |
12142 | * main.c (gdb_sysroot): New variable. | |
12143 | (captured_main): Initialize gdb_sysroot. | |
12144 | * defs.h (gdb_sysroot): New extern declaration. | |
12145 | * solib.c (_initialize_solib): Initialize solib_absolute_prefix. | |
12146 | ||
afb5d334 MC |
12147 | 2003-01-12 Michael Chastain <[email protected]> |
12148 | ||
12149 | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002. | |
12150 | ||
751ceeb4 MC |
12151 | 2003-01-12 Michael Chastain <[email protected]> |
12152 | ||
12153 | * top.c (print_gdb_version): Bump copyright year to 2003. | |
12154 | ||
94cd26f8 DC |
12155 | 2003-01-12 David Carlton <[email protected]> |
12156 | ||
12157 | * linespec.c (symtab_from_filename): Rename variable 's' to | |
12158 | 'file_symtab'. | |
12159 | ||
1ce79225 AC |
12160 | 2003-01-12 Andrew Cagney <[email protected]> |
12161 | ||
12162 | * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a | |
12163 | dummy frame. | |
12164 | (d10v_frame_saved_pc, d10v_frame_chain): Ditto. | |
12165 | ||
fa1fd571 AC |
12166 | 2003-01-12 Andrew Cagney <[email protected]> |
12167 | ||
12168 | * d10v-tdep.c: Include "gdb_assert.h". | |
12169 | (d10v_store_return_value): Rewrite to match current interface. | |
12170 | (d10v_extract_struct_value_address): Ditto. | |
12171 | (d10v_extract_return_value): Ditto. | |
12172 | (d10v_gdbarch_init): Set store_restore_value, | |
12173 | extract_struct_value_address and extract_return_value. | |
12174 | ||
68b8d23e JB |
12175 | 2003-01-12 J. Brobecker <[email protected]> |
12176 | ||
12177 | * hpread.c (set_namestring): New procedure replacing the | |
12178 | SET_NAMESTRING macro. | |
12179 | (hpread_build_psymtabs): Replace calls to SET_NAMESTRING | |
12180 | by calls to set_namestring. | |
12181 | ||
12182 | 2003-01-11 J. Brobecker <[email protected]> | |
1fb309ea JB |
12183 | |
12184 | * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix | |
12185 | a compilation warning. | |
12186 | (hpread_process_one_debug_symbol): Likewise. | |
12187 | ||
88d262ca DC |
12188 | 2003-01-10 David Carlton <[email protected]> |
12189 | ||
12190 | * linespec.c (decode_line_1): Rename variable 's' to | |
12191 | 'file_symtab'. | |
12192 | (decode_all_digits): Rename argument 's' to 'file_symtab'. | |
12193 | (decode_dollar): Ditto. | |
12194 | (decode_variable): Ditto. | |
12195 | (symbol_found): Ditto. | |
12196 | ||
86669319 MC |
12197 | 2003-01-09 Michael Chastain <[email protected]> |
12198 | ||
12199 | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++. | |
12200 | ||
616a9dc4 CV |
12201 | 2003-01-07 Corinna Vinschen <[email protected]> |
12202 | ||
12203 | * win32-nat.c (set_process_privilege): New function. | |
12204 | (child_attach): Call set_process_privilege() to enable the | |
12205 | SE_DEBUG_NAME user privilege if available in process token. | |
12206 | ||
3269bcfa JB |
12207 | 2003-01-10 J. Brobecker <[email protected]> |
12208 | ||
12209 | * hpread.c (hpread_process_one_debug_symbol): Fix a small | |
12210 | compilation error in the previous revision. | |
12211 | ||
2b0ee454 DC |
12212 | 2003-01-09 David Carlton <[email protected]> |
12213 | ||
12214 | * linespec.c: Update copyright. | |
12215 | ||
b3ba1b44 DJ |
12216 | 2003-01-09 Daniel Jacobowitz <[email protected]> |
12217 | ||
12218 | * lin-lwp.c (child_wait): Ignore exit statuses for processes other | |
12219 | than inferior_ptid. | |
12220 | (lin_lwp_wait): Ignore exit statuses for unknown LWPs. | |
12221 | ||
4ef3f3be AC |
12222 | 2003-01-09 Andrew Cagney <[email protected]> |
12223 | ||
479ab5a0 AC |
12224 | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. |
12225 | Update comments. | |
12226 | * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. | |
12227 | (frame_saved_regs_zalloc): Update. | |
12228 | (frame_saved_regs_register_unwind): Update. | |
12229 | (create_new_frame): Update. | |
12230 | (get_prev_frame): Update. | |
12231 | (frame_extra_info_zalloc): Update. | |
12232 | (deprecated_get_frame_saved_regs): Update. | |
12233 | * dwarf2cfi.c (cfi_init_extra_frame_info): Update. | |
12234 | * cris-tdep.c: Update comment. | |
12235 | ||
bde58177 AC |
12236 | * somsolib.h: Fix function indentation. |
12237 | * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. | |
12238 | * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. | |
12239 | * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. | |
12240 | * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. | |
12241 | * somsolib.c, inftarg.c: Remove assignment in if conditional. | |
12242 | ||
4ef3f3be AC |
12243 | * infrun.c (follow_fork): Use ISO C definition. |
12244 | * expprint.c (print_subexp): Use xfree instead of free. | |
12245 | * charset.c: Include "gdb_string.h" instead of <string.h>. | |
12246 | (register_iconv_charsets): Use ISO C definition. | |
12247 | (host_charset, target_charset): Ditto. | |
12248 | * Makefile.in (charset.o): Update dependencies. | |
12249 | (mi-cmd-env.o): Update dependencies. | |
12250 | ||
1c615f7a AC |
12251 | 2003-01-08 Andrew Cagney <[email protected]> |
12252 | ||
12253 | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use | |
12254 | get_frame_base. | |
12255 | ||
c9a1dc08 AC |
12256 | 2003-01-08 Andrew Cagney <[email protected]> |
12257 | ||
12258 | * gdb_mbuild.sh: Add --keep option. When specified, keep the | |
12259 | build directories. Save edited gdb output in Mbuild.log. If a | |
12260 | build fails, remove any final GDB executable. | |
12261 | ||
dbad9d94 AC |
12262 | 2003-01-08 Andrew Cagney <[email protected]> |
12263 | ||
12264 | * gdb_mbuild.sh: Edit the output of `maint print architecture' | |
12265 | replacing hex constants with function names and stripping leading | |
12266 | file name directory prefixes. | |
12267 | ||
8d357cca AC |
12268 | 2003-01-08 Andrew Cagney <[email protected]> |
12269 | ||
12270 | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and | |
12271 | get_frame_base. | |
12272 | ||
bca02a8a DC |
12273 | 2003-01-08 David Carlton <[email protected]> |
12274 | ||
12275 | * linespec.c (decode_line_1): Move code into decode_variable. | |
12276 | (decode_variable): New function. | |
12277 | ||
7f8ab3a0 AC |
12278 | 2003-01-08 Andrew Cagney <[email protected]> |
12279 | ||
12280 | * mn10300-tdep.c (analyze_dummy_frame): Fix typo. | |
12281 | ||
7b5849cc AC |
12282 | 2003-01-08 Andrew Cagney <[email protected]> |
12283 | ||
12284 | * cris-tdep.c (cris_frame_init_saved_regs): Use | |
12285 | get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a | |
12286 | saved_regs buffer. | |
12287 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
12288 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
12289 | (sh_fp_frame_init_saved_regs): Ditto. | |
12290 | * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. | |
12291 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
12292 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
12293 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
12294 | ||
72a5efb3 DJ |
12295 | 2003-01-08 Daniel Jacobowitz <[email protected]> |
12296 | ||
12297 | * minsyms.c (lookup_minimal_symbol): Update comment. | |
12298 | (lookup_minimal_symbol_text): Update comment. Use the hash table. | |
12299 | (lookup_minimal_symbol_solib_trampoline): Likewise. | |
12300 | ||
11c02a10 AC |
12301 | 2003-01-08 Andrew Cagney <[email protected]> |
12302 | ||
aab3ea25 AC |
12303 | * d10v-tdep.c (d10v_init_extra_frame_info): Use |
12304 | frame_relative_level. | |
12305 | ||
da50a4b7 AC |
12306 | * alpha-tdep.c: Use get_frame_extra_info. |
12307 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12308 | * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. | |
12309 | * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
12310 | * sparc-tdep.c, xstormy16-tdep.c: Ditto. | |
12311 | ||
11c02a10 AC |
12312 | * alpha-tdep.c: Use get_next_frame. |
12313 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12314 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
12315 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. | |
12316 | * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. | |
12317 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. | |
12318 | * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. | |
12319 | * xstormy16-tdep.c: Ditto. | |
8ffd9b1b | 12320 | |
1e2330ba AC |
12321 | 2003-01-07 Andrew Cagney <[email protected]> |
12322 | ||
12323 | * alpha-tdep.c: Use get_frame_base. | |
12324 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12325 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
12326 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
12327 | * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
12328 | * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. | |
12329 | * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
12330 | * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. | |
12331 | * config/sparc/tm-sparc.h: Ditto. | |
8ffd9b1b | 12332 | |
2d75187b AC |
12333 | 2003-01-07 Andrew Cagney <[email protected]> |
12334 | ||
12335 | * frame.c (deprecated_get_frame_context): New function. | |
12336 | (deprecated_set_frame_context): New function. | |
12337 | * frame.h (deprecated_get_frame_context): Declare. | |
12338 | (deprecated_set_frame_context): Declare. | |
12339 | * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. | |
12340 | (cfi_init_extra_frame_info): Use deprecated_set_frame_context. | |
8ffd9b1b | 12341 | |
483d36b2 AC |
12342 | 2003-01-07 Andrew Cagney <[email protected]> |
12343 | ||
12344 | * frame.c (deprecated_set_frame_next_hack): New function. | |
12345 | (deprecated_set_frame_prev_hack): New function. | |
12346 | * frame.h (deprecated_set_frame_next_hack): Declare. | |
12347 | (deprecated_set_frame_prev_hack): Declare. | |
12348 | * mcore-tdep.c (analyze_dummy_frame): Use | |
12349 | deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. | |
12350 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
12351 | ||
14e91ac5 DC |
12352 | 2003-01-07 David Carlton <[email protected]> |
12353 | ||
12354 | * linespec.c (decode_line_1): Move code into decode_dollar. | |
12355 | (decode_dollar): New function. | |
12356 | ||
b0c6b05c AC |
12357 | 2003-01-07 Andrew Cagney <[email protected]> |
12358 | ||
12359 | * arm-tdep.c (arm_init_extra_frame_info): Use | |
12360 | deprecated_update_frame_base_hack. | |
12361 | * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. | |
12362 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
12363 | (fix_frame_pointer): Ditto. | |
12364 | (mn10300_analyze_prologue): Ditto. | |
12365 | ||
a00a19e9 AC |
12366 | 2003-01-07 Andrew Cagney <[email protected]> |
12367 | ||
12368 | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate | |
12369 | extra_info using frame_extra_info_zalloc. | |
12370 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
12371 | * sh-tdep.c (sh_init_extra_frame_info): Ditto. | |
12372 | (sh64_init_extra_frame_info): Ditto. | |
12373 | * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. | |
12374 | * s390-tdep.c (s390_init_extra_frame_info): Ditto. | |
12375 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
12376 | * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. | |
12377 | * frv-tdep.c (frv_init_extra_frame_info): Ditto. | |
12378 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. | |
12379 | * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. | |
12380 | * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. | |
12381 | * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. | |
12382 | * cris-tdep.c (cris_init_extra_frame_info): Ditto. | |
12383 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
12384 | * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. | |
12385 | ||
12386 | * mn10300-tdep.c (analyze_dummy_frame): Use | |
12387 | deprecated_set_frame_extra_info_hack. | |
12388 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
12389 | ||
1fb4c65b JB |
12390 | 2003-01-07 J. Brobecker <[email protected]> |
12391 | ||
12392 | * mdebugread.c (parse_symbol): Skip stProc entries which storage | |
12393 | class is not scText. These do not define "real" procedures. | |
12394 | (parse_partial_symbols): Likewise. | |
12395 | ||
9fe7d6bf MS |
12396 | 2003-01-06 Michael Snyder <[email protected]> |
12397 | ||
12398 | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. | |
12399 | ||
f6c609c4 AC |
12400 | 2003-01-06 Andrew Cagney <[email protected]> |
12401 | ||
12402 | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. | |
12403 | * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. | |
12404 | * arm-tdep.c (arm_frame_chain): Allocate caller_fi using | |
12405 | deprecated_frame_xmalloc_with_cleanup. | |
12406 | * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using | |
12407 | deprecated_frame_xmalloc. | |
12408 | * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. | |
12409 | * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame. | |
12410 | ||
d995ff4b AC |
12411 | 2003-01-06 Andrew Cagney <[email protected]> |
12412 | ||
84dc46cb AC |
12413 | * x86-64-linux-tdep.c: Include "osabi.h". |
12414 | * Makefile.in (x86-64-linux-tdep.o): Update dependencies. | |
12415 | ||
d995ff4b AC |
12416 | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach. |
12417 | ||
66140c26 AC |
12418 | 2003-01-06 Andrew Cagney <[email protected]> |
12419 | ||
12420 | * MAINTAINERS (Target Instruction Set Architectures): Update | |
12421 | arm-elf. Can be built with -Werror, has been multiarched. | |
12422 | ||
12423 | * value.h (unpack_long): Make buffer parameter constant. | |
12424 | (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. | |
12425 | * scm-lang.h (scm_parse): Ditto. | |
12426 | * defs.h (extract_typed_address, extract_address): Ditto. | |
12427 | (extract_long_unsigned_integer): Ditto. | |
12428 | * inferior.h (unsigned_pointer_to_address): Ditto. | |
12429 | (signed_pointer_to_address): Ditto. | |
12430 | * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. | |
12431 | * gdbarch.h, gdbarch.c: Regenerate. | |
12432 | * findvar.c (extract_long_unsigned_integer): Update. | |
12433 | (extract_address): Update. | |
12434 | (extract_typed_address): Update. | |
12435 | (unsigned_pointer_to_address): Update. | |
12436 | * values.c (unpack_long): Update. | |
12437 | (unpack_double): Update. | |
12438 | (unpack_pointer): Update. | |
12439 | (unpack_field_as_long): Update. | |
12440 | * d10v-tdep.c (d10v_pointer_to_address): Update. | |
12441 | * avr-tdep.c (avr_pointer_to_address): Update. | |
12442 | * scm-lang.c (scm_unpack): Update. | |
12443 | * findvar.c (signed_pointer_to_address): Update. | |
12444 | ||
b089b3da ML |
12445 | 2003-01-06 Michal Ludvig <[email protected]> |
12446 | ||
8ffd9b1b | 12447 | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore |
b089b3da ML |
12448 | since it is in i386-tdep.c. |
12449 | ||
aff87235 JB |
12450 | 2003-01-06 J. Brobecker <[email protected]> |
12451 | ||
12452 | * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation | |
12453 | failure introduced in the previous change. | |
12454 | ||
34f5e845 MC |
12455 | 2003-01-05 Michael Chastain <[email protected]> |
12456 | ||
12457 | * README: Remove references to deleted remote-*.c files: | |
12458 | remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, | |
12459 | remote-nrom.c, remote-os9k.c, remote-udi.c. | |
12460 | ||
28bcfd30 MK |
12461 | 2003-01-05 Mark Kettenis <[email protected]> |
12462 | ||
12463 | * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64. | |
12464 | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about | |
12465 | i386_get_longjmp_target. | |
12466 | ||
15a5b3ee AC |
12467 | 2003-01-05 Andrew Cagney <[email protected]> |
12468 | ||
12469 | * arm-tdep.c (prologue_cache): Change to a pointer. | |
12470 | (_initialize_arm_tdep): Allocate prologue_cache. | |
12471 | (check_prologue_cache): Update. | |
12472 | (save_prologue_cache): Update. | |
12473 | (arm_gdbarch_init): Update. | |
12474 | ||
c263362b DJ |
12475 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12476 | ||
12477 | * stabsread.c (update_method_name_from_physname): Call complaint() | |
12478 | instead of error. | |
12479 | ||
51603483 DJ |
12480 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12481 | ||
12482 | * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. | |
12483 | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. | |
12484 | * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. | |
12485 | ||
12486 | * blockframe.c: Include "gdbcmd.h" and "command.h". | |
12487 | (backtrace_below_main): New variable. | |
12488 | (file_frame_chain_valid, func_frame_chain_valid) | |
12489 | (nonnull_frame_chain_valid, generic_file_frame_chain_valid) | |
12490 | (generic_func_frame_chain_valid): Remove functions. | |
12491 | (frame_chain_valid, do_flush_frames_sfunc): New functions. | |
12492 | (_initialize_blockframe): New function. | |
12493 | * Makefile.in (blockframe.o): Update dependencies. | |
12494 | * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME | |
12495 | comment. Call frame_chain_valid (). | |
12496 | * frame.h: Remove old prototypes. Add prototype for | |
12497 | frame_chain_valid and update comments to match. | |
12498 | * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. | |
12499 | Remove old comment. | |
12500 | * gdbarch.h: Regenerated. | |
12501 | * gdbarch.c: Regenerated. | |
12502 | ||
12503 | * alpha-tdep.c (alpha_gdbarch_init): Don't call | |
12504 | set_gdbarch_frame_chain_valid. | |
12505 | * avr-tdep.c (avr_gdbarch_init): Likewise. | |
12506 | * cris-tdep.c (cris_gdbarch_init): Likewise. | |
12507 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
12508 | * h8300-tdep.c (h8300_gdbarch_init): Likewise. | |
12509 | * i386-tdep.c (i386_svr4_init_abi): Likewise. | |
12510 | (i386_nw_init_abi): Likewise. | |
12511 | (i386_gdbarch_init): Likewise. | |
12512 | * ia64-tdep.c (ia64_gdbarch_init): Likewise. | |
12513 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
12514 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
12515 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
12516 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
12517 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
12518 | * ns32k-tdep.c (ns32k_gdbarch_init): Likewise. | |
12519 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise. | |
12520 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
12521 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
12522 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
12523 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
12524 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
12525 | * vax-tdep.c (vax_gdbarch_init): Likewise. | |
12526 | * x86-64-tdep.c (x86_64_init_abi): Likewise. | |
12527 | ||
12528 | * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define. | |
12529 | * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise. | |
12530 | * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise. | |
12531 | * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise. | |
12532 | * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise. | |
12533 | * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise. | |
12534 | * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise. | |
12535 | * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise. | |
12536 | ||
b00a8037 DJ |
12537 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
12538 | ||
12539 | * Makefile.in (acconfig_h): Remove incorrect macro. | |
12540 | (config_h): Define. | |
12541 | (osabi.o): Update dependencies. | |
12542 | * configure.tgt: Set gdb_osabi based on target triplet. | |
12543 | * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. | |
12544 | * configure: Regenerated. | |
12545 | * config.in: Regenerated. | |
12546 | * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". | |
12547 | (GDB_OSABI_DEFAULT): Define if not already defined. | |
12548 | (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) | |
12549 | (set_osabi_string): New variables. | |
12550 | (gdbarch_register_osabi): Add new OS ABI to | |
12551 | gdb_osabi_available_names. | |
12552 | (gdbarch_lookup_osabi): Honor specified and default OS ABIs. | |
12553 | (set_osabi, show_osabi): New functions. | |
12554 | (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands. | |
12555 | ||
4be87837 DJ |
12556 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12557 | ||
12558 | * arch-utils.c (gdbarch_info_init): Set osabi to | |
12559 | GDB_OSABI_UNINITIALIZED. | |
12560 | * gdbarch.sh: Add osabi to struct gdbarch and to struct | |
12561 | gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi | |
12562 | in gdbarch_list_lookup_by_info and in gdbarch_update_p. | |
12563 | * gdbarch.c: Regenerated. | |
12564 | * gdbarch.h: Regenerated. | |
12565 | * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if | |
12566 | there's no BFD. | |
12567 | (gdbarch_init_osabi): Remove osabi argument; use info.osabi. | |
12568 | * osabi.h (enum gdb_osabi): Move to defs.h. | |
12569 | (gdbarch_init_osabi): Update prototype. | |
12570 | * defs.h (enum gdb_osabi): Moved here. | |
12571 | * Makefile.in: Update dependencies. | |
12572 | ||
12573 | * alpha-tdep.h: Don't include "osabi.h". | |
12574 | (struct gdbarch_tdep): Remove osabi member. | |
12575 | * alpha-tdep.c: Include "osabi.h". | |
12576 | (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
12577 | iterate over arches. Update call to gdbarch_init_osabi. | |
12578 | (alpha_dump_tdep): Don't dump osabi. | |
12579 | * alpha-linux-tdep.c: Include "osabi.h". | |
12580 | * alpha-osf1-tdep.c: Include "osabi.h". | |
12581 | * alphafbsd-tdep.c: Include "osabi.h". | |
12582 | * alphanbsd-tdep.c: Include "osabi.h". | |
12583 | ||
12584 | * arm-tdep.h: Don't include "osabi.h". | |
12585 | (struct gdbarch_tdep): Remove osabi member. | |
12586 | * arm-tdep.c: Include "osabi.h". | |
12587 | (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
12588 | iterate over arches. Update call to gdbarch_init_osabi. | |
12589 | (arm_dump_tdep): Don't dump osabi. | |
12590 | * arm-linux-tdep.c: Include "osabi.h". | |
12591 | * armnbsd-tdep.c: Include "osabi.h". | |
12592 | ||
12593 | * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi. | |
12594 | Update call to gdbarch_init_osabi. | |
12595 | ||
12596 | * i386-tdep.h: Don't include "osabi.h". | |
12597 | (struct gdbarch_tdep): Remove osabi member. | |
12598 | * i386-tdep.c: Include "osabi.h". | |
12599 | (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
12600 | iterate over arches. Update call to gdbarch_init_osabi. | |
12601 | (i386_dump_tdep): Don't dump osabi. | |
12602 | * i386-linux-tdep.c: Include "osabi.h". | |
12603 | * i386-sol2-tdep.c: Include "osabi.h". | |
12604 | * i386bsd-tdep.c: Include "osabi.h". | |
12605 | * i386gnu-tdep.c: Include "osabi.h". | |
12606 | * i386ly-tdep.c: Include "osabi.h". | |
12607 | * i386nbsd-tdep.c: Include "osabi.h". | |
12608 | * i386obsd-tdep.c: Include "osabi.h". | |
12609 | ||
12610 | * mips-tdep.c (struct gdbarch_tdep): Remove osabi member. | |
12611 | (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
12612 | check osabi when iterating over arches. Update call to | |
12613 | gdbarch_init_osabi. | |
12614 | (mips_dump_tdep): Don't dump osabi. | |
12615 | ||
12616 | * ns32k-tdep.h: Don't include "osabi.h". | |
12617 | (struct gdbarch_tdep): Remove. | |
12618 | * ns32k-tdep.c (ns32k_gdbarch_init): Don't call | |
12619 | gdbarch_lookup_osabi. Don't iterate over arches. Don't | |
12620 | allocate tdep. Update call to gdbarch_init_osabi. | |
12621 | (ns32k_dump_tdep): Remove. | |
12622 | (_initialize_ns32k_tdep): Update call to gdbarch_register. | |
12623 | * ns32knbsd-tdep.c: Include "osabi.h". | |
12624 | ||
12625 | * ppc-tdep.h: Don't include "osabi.h". | |
12626 | (struct gdbarch_tdep): Remove osabi member. | |
12627 | * rs6000-tdep.c: Include "osabi.h". | |
12628 | (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check | |
12629 | osabi when iterating over arches. Update call to | |
12630 | gdbarch_init_osabi. | |
12631 | (rs6000_dump_tdep): Don't dump osabi. | |
12632 | * ppc-linux-tdep.c: Include "osabi.h". | |
12633 | * ppcnbsd-tdep.c: Include "osabi.h". | |
12634 | ||
12635 | * sh-tdep.h: Don't include "osabi.h". | |
12636 | (struct gdbarch_tdep): Remove osabi member. | |
12637 | * sh-tdep.c: Include "osabi.h". | |
12638 | (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
12639 | iterate over arches. Update call to gdbarch_init_osabi. | |
12640 | (sh_dump_tdep): Don't dump osabi. | |
12641 | * shnbsd-tdep.c: Include "osabi.h". | |
12642 | ||
12643 | * sparc-tdep.c: Include "osabi.h". | |
12644 | (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
12645 | iterate over arches. Update call to gdbarch_init_osabi. | |
12646 | (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the | |
12647 | tdep structure. | |
12648 | ||
12649 | * vax-tdep.h: Don't include "osabi.h". | |
12650 | (struct gdbarch_tdep): Remove. | |
12651 | * vax-tdep.c: Include "osabi.h". | |
12652 | (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
12653 | iterate over arches. Don't allocate tdep. Update call | |
12654 | to gdbarch_init_osabi. | |
12655 | (vax_dump_tdep): Remove. | |
12656 | (_initialize_vax_tdep): Update call to gdbarch_register. | |
12657 | ||
a881cf8e DJ |
12658 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12659 | ||
12660 | * breakpoint.c (insert_breakpoints): Skip disabled breakpoints | |
12661 | entirely. | |
12662 | (breakpoint_re_set_one): Don't fetch the value for a disabled | |
12663 | watchpoint. | |
12664 | ||
1e698235 DJ |
12665 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12666 | ||
12667 | * buildsym.h (processing_hp_compilation): Remove obsolete variable. | |
12668 | * gdbarch.sh Remove include of "value.h" in gdbarch.h. | |
12669 | (COERCE_FLOAT_TO_DOUBLE): Remove. | |
12670 | * gdbarch.c: Regenerate. | |
12671 | * gdbarch.h: Regenerate. | |
12672 | * Makefile.in: Remove value_h from gdbarch_h. | |
12673 | * valops.c (coerce_float_to_double): New variable. | |
12674 | (default_coerce_float_to_double): Remove. | |
12675 | (standard_coerce_float_to_double): Remove. | |
12676 | (value_arg_coerce): Use coerce_float_to_double. | |
12677 | (_initialize_valops): Add "set coerce-float-to-double". | |
12678 | * value.h (default_coerce_float_to_double): Remove prototype. | |
12679 | (standard_coerce_float_to_double): Remove prototype. | |
12680 | ||
12681 | * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as | |
12682 | prototyped. | |
12683 | * mdebugread.c (parse_symbol): Likewise. | |
12684 | * stabsread.c (define_symbol): Mark all functions as prototyped. | |
12685 | ||
12686 | * hppa-tdep.c (hppa_coerce_float_to_double): Remove. | |
12687 | * alpha-tdep.c (alpha_gdbarch_init): Remove call to | |
12688 | set_gdbarch_coerce_float_to_double. | |
12689 | * arm-tdep.c (arm_gdbarch_init): Likewise. | |
12690 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
12691 | * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). | |
12692 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
12693 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
12694 | (mips_coerce_float_to_double): Remove. | |
12695 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
12696 | (rs6000_coerce_float_to_double): Remove. | |
12697 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
12698 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
12699 | (sh_coerce_float_to_double): Remove. | |
12700 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
12701 | (sparc_coerce_float_to_double): Remove. | |
12702 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
12703 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
12704 | * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
12705 | * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. | |
12706 | (hppa_coerce_float_to_double): Remove prototype. | |
12707 | * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
12708 | ||
f436a26a DJ |
12709 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12710 | ||
12711 | * regformats/reg-m68k.dat: Remove fpcode and fpflags. | |
12712 | ||
248f8055 DJ |
12713 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12714 | ||
12715 | Suggested by Stewart Brown <[email protected]>: | |
12716 | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show | |
12717 | in recursive calls. Handle TYPE_CODE_TYPEDEF. | |
12718 | (c_type_print_varspec_suffix): Likewise. | |
12719 | ||
72cfdc76 MK |
12720 | 2003-01-04 Mark Kettenis <[email protected]> |
12721 | ||
bfd260bb MK |
12722 | * configure.in: Don't set and AC_SUBST SUBDIRS. |
12723 | * configure: Regenerated. | |
12724 | ||
72cfdc76 MK |
12725 | * configure.in: Remove code dealing with shared libraries. |
12726 | * Makefile.in: Remove HLDFLAGS and HLDENV. | |
12727 | * configure: Regenerated. | |
12728 | ||
c8b8a898 AC |
12729 | 2003-01-04 Andrew Cagney <[email protected]> |
12730 | ||
12731 | * frame.c (deprecated_frame_xmalloc): New function. | |
12732 | (deprecated_set_frame_saved_regs_hack): New function. | |
12733 | (deprecated_set_frame_extra_info_hack): New function. | |
12734 | * frame.h (deprecated_frame_xmalloc): Declare. | |
12735 | (deprecated_set_frame_saved_regs_hack): Declare. | |
12736 | (deprecated_set_frame_extra_info_hack): Declare. | |
12737 | ||
14abd0fb MK |
12738 | 2003-01-04 Mark Kettenis <[email protected]> |
12739 | ||
8ee53726 MK |
12740 | * configure.in: Move code that provides the --enable-gdbtk option |
12741 | right after the code that handles the --enable-tui option, and | |
12742 | polish it somewhat. | |
12743 | * configure: Regenerated. | |
12744 | ||
14abd0fb MK |
12745 | * configure.in: Call AC_GNU_SOURCE. Check for pread64 using |
12746 | AC_CHECK_FUNCS and remove the old check for pread64. | |
12747 | * acinclude.m4 (AC_GNU_SOURCE): New macro. | |
12748 | * acconfig.h (_GNU_SOURCE): Add. | |
12749 | (HAVE_PREAD64): Remove. | |
12750 | * configure, aclocal.m4, config.in: Regenerated. | |
12751 | ||
b2fb4676 AC |
12752 | 2003-01-03 Andrew Cagney <[email protected]> |
12753 | ||
12754 | * alpha-tdep.c: Use get_frame_saved_regs. | |
12755 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12756 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
12757 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto. | |
12758 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto. | |
12759 | * vax-tdep.c, xstormy16-tdep.c: Ditto. | |
12760 | ||
8dcde887 MK |
12761 | 2003-01-03 Mark Kettenis <[email protected]> |
12762 | ||
12763 | * configure.in: Remove all use of the SUBDIRS variable; add | |
12764 | directories using the AC_CONFIG_SUBDIRS macro instead. Polish | |
12765 | code providing the --enable-multi-ice option, and move it right in | |
12766 | front of the code that checks whether gdbserver is supported. | |
12767 | Polish that too. | |
12768 | * configure: Regenerated. | |
12769 | * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of | |
12770 | @SUBDIRS@. | |
12771 | ||
8ccd593b AC |
12772 | 2003-01-03 Andrew Cagney <[email protected]> |
12773 | ||
12774 | * alpha-tdep.c: Use deprecated_update_frame_base_hack. | |
12775 | * avr-tdep.c, cris-tdep.c: Ditto. | |
12776 | * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
12777 | * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
8ffd9b1b | 12778 | |
91151a06 MK |
12779 | 2003-01-03 Mark Kettenis <[email protected]> |
12780 | ||
12781 | * configure.in: Remove --enable-netrom option. | |
12782 | * configure: Regenerated. | |
12783 | ||
8fe84d01 MK |
12784 | 2003-01-03 Mark Kettenis <[email protected]> |
12785 | ||
12786 | * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward | |
12787 | declaration for `struct re_pattern_buffer' instead. | |
12788 | * Makefile.in (cli_decode_h): Remove $(gdb_regex_h). | |
12789 | ||
f0394be6 JB |
12790 | 2003-01-03 J. Brobecker <[email protected]> |
12791 | ||
12792 | * mdebugread.c (parse_symbol): Count until the stEnd matching | |
12793 | the structure name. | |
12794 | ||
27e9bf90 MK |
12795 | 2003-01-02 Mark Kettenis <[email protected]> |
12796 | ||
93d331ba MK |
12797 | * configure.in: Remove --with-cpu option. |
12798 | subscripts. Remove evil changequotes here. | |
12799 | * acconfig.h (TARGET_CPU_DEFAULT): Remove. | |
12800 | * config.in, configure: Regenerated. | |
8ffd9b1b | 12801 | |
27e9bf90 MK |
12802 | * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. |
12803 | * configure.in: Cleanup section that sources GDB and BFD configure | |
12804 | subscripts. Remove evil changequotes here. | |
12805 | * config.in, configure: Regenerated. | |
12806 | ||
50abf9e5 AC |
12807 | 2003-01-02 Andrew Cagney <[email protected]> |
12808 | ||
12809 | * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack | |
12810 | frame accessor methods. | |
12811 | * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12812 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
12813 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. | |
12814 | * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. | |
12815 | * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
12816 | * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
12817 | * z8k-tdep.c: Ditto. | |
8ffd9b1b | 12818 | |
287c1a40 MK |
12819 | 2003-01-02 Mark Kettenis <[email protected]> |
12820 | ||
f5dbc56d MK |
12821 | * configure.in: Remove UI_OUT configuration code. |
12822 | * ada-lang.c: Update assuming UI_OUT is always true. | |
12823 | * Makefile.in (UIOUT_CFLAGS): Remove. | |
12824 | * configure: Regenerated. | |
12825 | * TODO: Remove blurb about elimination of -DUI_OUT. | |
12826 | ||
627af7ea MK |
12827 | * configure.in: Move code that provides the --enable-gdbcli, |
12828 | --enable-gdbmi options right before the code that handles the | |
12829 | --enable-tui option. Polish a bit. | |
12830 | * configure: Regenerated. | |
12831 | ||
06825bd1 MK |
12832 | * configure.in: Rewrite check for GNU regex and the |
12833 | --without-included regex option, and move it into the "Checks for | |
12834 | library functions" section. This makes us use the system regex | |
12835 | again by default on systems with version 2 of the GNU C library. | |
12836 | This was apparently broken. | |
12837 | * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. | |
12838 | * acconfig.h (USE_INCLUDED_REGEX): Remove. | |
12839 | * config.in, configure: Regenerated. | |
12840 | ||
287c1a40 MK |
12841 | * configure.in: Move code that provides the --enable-tui option |
12842 | before the "Checks for libraries" section. Polish the code | |
12843 | somewhat and set need_curses to yes if we build the TUI. Rewrite | |
12844 | code that looks for a library providing termcap functionality to | |
12845 | match more closely what's done in the Readline library, and move | |
12846 | it into to the "Checks for libraries" section. | |
12847 | * configure: Regenerated. | |
12848 | * Makefile.in (TERMCAP): Remove variable. | |
12849 | * config/i386/go32.mh (TERMCAP): Remove variable. | |
12850 | ||
684e56bf AC |
12851 | 2003-01-02 Andrew Cagney <[email protected]> |
12852 | ||
12853 | * MAINTAINERS: Mention gdb_mbuild.sh. | |
12854 | * gdb_mbuild.sh: Rewrite. | |
12855 | ||
e1ea1d75 MK |
12856 | 2003-01-02 Mark Kettenis <[email protected]> |
12857 | ||
12858 | * configure.in: Fix typo in last change. | |
12859 | * config.in, configure: Regenerated. | |
12860 | ||
1b831c93 AC |
12861 | 2003-01-02 Andrew Cagney <[email protected]> |
12862 | ||
12863 | * valarith.c (value_binop): Delete obsolete code and comments. | |
12864 | * configure.host: Ditto. | |
12865 | * buildsym.h (make_blockvector): Ditto. | |
12866 | * buildsym.c (make_blockvector): Ditto. | |
12867 | * defs.h (enum language): Ditto. | |
12868 | (chill_demangle): Ditto. | |
12869 | * elfread.c (elf_symtab_read): Ditto. | |
12870 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
12871 | (set_cu_language): Ditto. | |
12872 | (handle_producer): Ditto. | |
12873 | * expprint.c (print_subexp): Ditto. | |
12874 | * gdbtypes.c (chill_varying_type): Ditto. | |
12875 | * gdbtypes.h (builtin_type_chill_bool): Ditto. | |
12876 | (builtin_type_chill_char, builtin_type_chill_long): Ditto. | |
12877 | (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. | |
12878 | (chill_varying_type): Ditto. | |
12879 | * language.h (_LANG_chill): Ditto. | |
12880 | * language.c (binop_result_type, integral_type): Ditto. | |
12881 | (character_type, string_type, structured_type): Ditto. | |
12882 | (lang_bool_type, binop_type_check): Ditto. | |
12883 | * stabsread.h (os9k_stabs): Ditto. | |
12884 | * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. | |
12885 | (define_symbol, read_type, read_struct_fields): Ditto. | |
12886 | (read_array_type, read_enum_type, read_huge_number): Ditto. | |
12887 | (read_range_type, start_stabs): Ditto. | |
12888 | * symfile.c (init_filename_language_table): Ditto. | |
12889 | (add_psymbol_with_dem_name_to_list): Ditto. | |
12890 | * symtab.c (symbol_init_language_specific): Ditto. | |
12891 | (symbol_init_demangled_name, symbol_demangled_name): Ditto. | |
12892 | * symtab.h (struct general_symbol_info): Ditto. | |
12893 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
12894 | * typeprint.c (typedef_print): Ditto. | |
12895 | * utils.c (fprintf_symbol_filtered): Ditto. | |
12896 | * valops.c (value_cast, search_struct_field, value_slice): Delete | |
12897 | obsolete code. | |
12898 | (varying_to_slice): Delete function. | |
12899 | * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. | |
12900 | (varying_to_slice): Delete declaration. | |
12901 | * MAINTAINERS: Update. | |
12902 | ||
8bb2c122 MK |
12903 | 2003-01-02 Mark Kettenis <[email protected]> |
12904 | ||
97bf5e38 MK |
12905 | * configure.in: Reorganize "Checks for library functions section" |
12906 | a bit. Remove check for `btowc' and `isascii' functions. | |
12907 | * configure: Regenerated. | |
12908 | ||
5ee754fc MK |
12909 | * acconfig.h (_MSE_INT_H): Remove. |
12910 | * configure.in: Create "Checks for header files" section, and move | |
12911 | appropriate tests there. Don't check for objlist.h, wchar.h, | |
12912 | wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> | |
12913 | misdetection fix. Also add "Checks for types", "Checks for | |
12914 | compiler characteristics" and "Checks for library functions" | |
12915 | sections. | |
12916 | * config.in, configure: Regenerated. | |
12917 | ||
8bb2c122 MK |
12918 | * configure.in: Create "Checks for programs" section, and move |
12919 | appropriate tests there. | |
12920 | ||
9a156167 MK |
12921 | 2003-01-01 Mark Kettenis <[email protected]> |
12922 | ||
12923 | * configure.in: Create "Checks for libraries" section, and move | |
12924 | appropriate tests there. Cleanup check for wctype in libw. Use | |
12925 | AC_SEARCH_LIBS to see whether we need libsocket. | |
12926 | * configure: Regenerated. | |
12927 | ||
a80e2bcb | 12928 | For older changes see ChangeLog-2002 |
c906108c SS |
12929 | \f |
12930 | Local Variables: | |
12931 | mode: change-log | |
12932 | left-margin: 8 | |
12933 | fill-column: 74 | |
12934 | version-control: never | |
12935 | End: |