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