]>
Commit | Line | Data |
---|---|---|
1fd35568 JB |
1 | 2003-06-12 Jim Blandy <[email protected]> |
2 | ||
bd918c83 JB |
3 | Actually finish the job started by my change of 2003-05-29. |
4 | * config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the | |
5 | other #definition of this. | |
6 | (ppc_linux_skip_trampoline_code): Remove declaration. | |
7 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this | |
8 | static. | |
9 | (ppc_linux_init_abi): Register it as the skip_trampoline_code | |
10 | method for GDBARCH. | |
11 | ||
12 | * config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This is | |
13 | 'long' on ppc64-*-linux*. | |
14 | ||
f8c59253 JB |
15 | * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ |
16 | isn't #defined, assume the register doesn't exist: act as if | |
17 | tdep->ppc_mq_regnum were -1. | |
18 | ||
8fbb30b1 JB |
19 | * configure.host, configure.tgt: Add entries for |
20 | powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and | |
21 | powerpc/linux.mt. | |
22 | * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: | |
23 | New files. | |
24 | ||
1fd35568 JB |
25 | * arch-utils.c (always_use_struct_convention): New function. |
26 | * arch-utils.h (always_use_struct_convention): New prototype. | |
27 | * alpha-tdep.c (alpha_use_struct_convention): Delete. | |
28 | (alpha_gdbarch_init): Register always_use_struct_convention, | |
29 | instead of alpha_use_struct_convention. | |
30 | * cris-tdep.c (cris_use_struct_convention): Delete. | |
31 | (cris_gdbarch_init): Register always_use_struct_convention, | |
32 | instead of cris_use_struct_convention. | |
33 | * frv-tdep.c (frv_use_struct_convention): Delete. | |
34 | (frv_gdbarch_init): Register always_use_struct_convention, | |
35 | instead of frv_use_struct_convention. | |
36 | * h8300-tdep.c (h8300_use_struct_convention): Delete. | |
37 | (h8300_gdbarch_init): Register always_use_struct_convention, | |
38 | instead of h8300_use_struct_convention. | |
39 | * mips_o32-tdep.c (mips_o32_use_struct_convention): Delete. | |
40 | (mips_o32_gdbarch_init): Register always_use_struct_convention, | |
41 | instead of mips_o32_use_struct_convention. | |
42 | ||
e14e6e9c AC |
43 | 2003-06-12 Andrew Cagney <[email protected]> |
44 | ||
45 | * wince.c: Include "mips-tdep.h". | |
46 | * mips-tdep.h (mips_next_pc): Declare. | |
47 | * mcore-tdep.c: Make more local functions static. | |
48 | * Makefile.in (wince.o): Update dependencies. | |
49 | ||
2335f48e DC |
50 | 2003-06-12 David Carlton <[email protected]> |
51 | ||
52 | * symtab.c (lookup_symbol_aux_minsyms): Replace | |
53 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
54 | (find_pc_sect_line, search_symbols, rbreak_command): Ditto. | |
55 | (COMPLETION_LIST_ADD_SYMBOL): Rewrite in terms of | |
56 | SYMBOL_NATURAL_NAME. | |
57 | ||
f70a7d61 AS |
58 | 2003-06-12 Andreas Schwab <[email protected]> |
59 | ||
60 | * Makefile.in (tuiDisassem.o): Update dependencies. | |
61 | ||
b6429628 DC |
62 | 2003-06-12 David Carlton <[email protected]> |
63 | ||
64 | * symtab.h: Delete declaration of make_symbol_overload_list. | |
65 | Add declaration of lookup_partial_symbol. | |
66 | * symtab.c (remove_params): Move to cp-support.c. | |
67 | (overload_list_add_symbol, make_symbol_overload_list) | |
68 | (sym_return_val_size, sym_return_val_index): Ditto. | |
69 | (lookup_partial_symbol): Make extern. | |
70 | * cp-support.h: Add declaration of make_symbol_overload_list. | |
71 | * cp-support.c: Include dictionary.h, objfiles.h, frame.h, | |
72 | symtab.h, and block.h. | |
73 | (remove_params): Move here from symtab.c. | |
74 | (overload_list_add_symbol, make_symbol_overload_list) | |
75 | (sym_return_val_size, sym_return_val_index): Ditto. | |
76 | * valops.c: Include cp-support.h. | |
77 | * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h, | |
78 | frame_h, and block_h. | |
79 | (valops.o): Depend on cp_support_h. | |
80 | ||
084edea5 CV |
81 | 2003-06-12 Corinna Vinschen <[email protected]> |
82 | ||
83 | * h8300-tdep.c: Add H8SX registers. Drop E_NUM_REGS entirely, | |
84 | substitute by NUM_REGS throughout. | |
85 | (h8300_register_name): Only care for H8/300 and H8/300H registers. | |
86 | (h8300s_register_name): New function for H8S registers. | |
87 | (h8300sx_register_name): Ditto for H8SX registers. | |
88 | (h8300_print_register): Revise register printing, avoid depending | |
89 | on 32 bit long. | |
90 | (h8300_register_byte); Only care for H8/300 registers. | |
91 | (h8300h_register_byte): New function for any other architecture. | |
92 | (h8300_register_raw_size): Remove. | |
93 | (h8300_register_virtual_type): Revise to return actually useful | |
94 | type. | |
95 | (h8300_extract_struct_value_address): Only care for H8/300 registers. | |
96 | (h8300h_extract_struct_value_address): New function for any other | |
97 | architecture. | |
98 | (h8300_gdbarch_init): Add h8300sxn. Call set_gdbarch_num_regs, | |
99 | set_gdbarch_register_name, set_gdbarch_register_byte, | |
100 | set_gdbarch_ptr_bit and set_gdbarch_addr_bit architecture dependent. | |
101 | Remove calls to set_gdbarch_deprecated_register_size, | |
102 | set_gdbarch_deprecated_register_bytes, set_gdbarch_register_raw_size, | |
103 | set_gdbarch_deprecated_max_register_raw_size, | |
104 | set_gdbarch_register_virtual_size and | |
105 | set_gdbarch_deprecated_max_register_virtual_size entirely. | |
106 | Call set_gdbarch_long_long_bit, set_gdbarch_double_bit and | |
107 | set_gdbarch_long_double_bit. | |
108 | ||
06194148 JJ |
109 | 2003-06-11 Jeff Johnston <[email protected]> |
110 | ||
111 | * doublest.c (convert_doublest_to_floatformat): When dealing | |
112 | with the implied integer bit, only alter mant_bits if we are | |
113 | processing a full 32 bits of mantissa. | |
114 | ||
de4f826b DC |
115 | 2003-06-11 David Carlton <[email protected]> |
116 | ||
117 | * dictionary.h: New. | |
118 | * dictionary.c: New. | |
119 | * block.h: Add opaque declaration for struct dictionary. | |
120 | (struct block): Add 'dict' member; delete 'hashtable', 'nsyms', | |
121 | 'sym' members. | |
122 | (BLOCK_DICT): New macro. | |
123 | Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM, | |
124 | BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE, | |
125 | BLOCK_SHOULD_SORT. | |
126 | (ALL_BLOCK_SYMBOLS): Update definition. | |
127 | * Makefile.in (SFILES): Add dictionary.c. | |
128 | (dictionary_h): New. | |
129 | (COMMON_OBS): Add dictionary.o. | |
130 | (dictionary.o): New. | |
131 | (ada-lang.o): Depend on dictionary_h. | |
132 | (buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o) | |
133 | (stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o) | |
134 | (mi-cmd-stack.o): Ditto. | |
135 | (gdbtk-cmds.o): Update dependencies. | |
136 | (gdbtk-stack.o): Ditto. | |
137 | * ada-lang.c: Include dictionary.h. | |
138 | (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS. | |
139 | (fill_in_ada_prototype, debug_print_block): Ditto. | |
140 | (ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace | |
141 | explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable | |
142 | 'is_sorted'. | |
143 | * mdebugread.c: Include dictionary.h. | |
144 | (struct parse_stack): Delete 'maxsyms' member. | |
145 | (parse_symbol): Update calls to new_block. Delete calls to | |
146 | shrink_block. Use dictionary methods. | |
147 | (psymtab_to_symtab_1): Delete calls to sort_symtab_syms. | |
148 | Update calls to new_symtab. Don't maintain maxsyms data. | |
149 | (mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS. | |
150 | (add_symbol): Just call dict_add_symbol. | |
151 | (new_symtab): Delete 'maxsyms' argument. | |
152 | (new_symtab): Update calls to new_block. | |
153 | (new_block): Delete 'maxsyms' argument; add 'function' argument. | |
154 | (shrink_block): Delete function. | |
155 | (fixup_sigtramp): Update call to new_block. Add symbol via | |
156 | dict_add_symbol. | |
157 | * jv-lang.c: Include dictionary.h. | |
158 | (get_java_class_symtab): Set the BLOCK_DICT of the blocks | |
159 | appropriately. Set class_symtab->free_func. Make sure the | |
160 | blockvector is big enough to hold two blocks. | |
161 | (add_class_symtab_symbol): Use dictionary methods. | |
162 | (free_class_block): New function. | |
163 | (type_from_class): Replace explicit iteration by | |
164 | ALL_BLOCK_SYMBOLS. | |
165 | * symtab.h (struct symtab): Replace 'free_ptr' method by | |
166 | 'free_func'. | |
167 | * dwarf2read.c (psymtab_to_symtab_1): Delete call to | |
168 | sort_symtab_syms. | |
169 | * dwarfread.c (psymtab_to_symtab_1): Delete call to | |
170 | sort_symtab_syms. | |
171 | * coffread.c (coff_symfile_read): Delete call to sort_symtab_syms. | |
172 | Include dictionary.h. | |
173 | (patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS. | |
174 | * dbxread.c (dbx_psymtab_to_symtab_1): Delete call to | |
175 | sort_symtab_syms. | |
176 | * objfiles.c: Include dictionary.h. | |
177 | (objfile_relocate): Update use of ALL_BLOCK_SYMBOLS. | |
178 | * buildsym.c: Include dictionary.h. | |
179 | (finish_block): Use dictionary methods. | |
180 | (end_symtab): Set free_func to NULL, not free_ptr. | |
181 | * tracepoint.c: Include dictionary.h. | |
182 | (add_local_symbols): Update use of ALL_BLOCK_SYMBOLS. | |
183 | (scope_info): Ditto. | |
184 | * stack.c: Include dictionary.h. | |
185 | (print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS. | |
186 | (print_block_frame_labels, print_frame_arg_vars) | |
187 | (print_frame_args): Ditto. | |
188 | * symmisc.c (free_symtab_block): Use dictionary methods. | |
189 | (dump_symtab): Ditto. | |
190 | (free_symtab): Replace use of 'free_ptr' by 'free_func'. | |
191 | Include dictionary.h. | |
192 | * symfile.h: Delete declarations of sort_block_syms, | |
193 | sort_symtab_syms. | |
194 | * symfile.c (sort_block_syms): Delete. | |
195 | (sort_symtab_syms): Delete. | |
196 | * symtab.c: Include dictionary.h. | |
197 | (lookup_block_symbol): Use dictionary iterators. | |
198 | (find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS. | |
199 | (search_symbols, make_symbol_completion_list): Ditto. | |
200 | (make_symbol_overload_list): Ditto. | |
201 | * valops.c (value_of_local): Use dict_empty. | |
202 | Include dictionary.h. | |
203 | ||
a31f978c JB |
204 | 2003-06-11 J. Brobecker <[email protected]> |
205 | ||
206 | * win32-nat.c (solib_symbols_add): Fix a small compilation error. | |
207 | ||
526e70c0 DC |
208 | 2003-06-11 David Carlton <[email protected]> |
209 | ||
210 | * block.h (BLOCK_SHOULD_SORT): Delete. | |
211 | * symtab.c (lookup_block_symbol): Don't worry about sorted linear | |
212 | blocks. | |
213 | * ada-lang.c (ada_add_block_symbols): Ditto. | |
214 | * symfile.c (sort_block_syms): Delete. | |
215 | (sort_symtab_syms): Ditto. | |
216 | * symfile.h: Delete sort_symtabs_syms and sort_block_syms | |
217 | declarations. | |
218 | * coffread.c (coff_symfile_read): Don't call sort_symtab_syms. | |
219 | * dbxread.c (dbx_psymtab_to_symtab_1): Ditto. | |
220 | * dwarf2read.c (psymtab_to_symtab_1): Ditto. | |
221 | * dwarfread.c (psymtab_to_symtab_1): Ditto. | |
222 | * hpread.c (hpread_psymtab_to_symtab_1): Ditto. | |
223 | * mdebugread.c (psymtab_to_symtab_1): Ditto. | |
224 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto. | |
225 | ||
33c08150 JJ |
226 | 2003-06-11 Jeff Johnston <[email protected]> |
227 | ||
228 | * ia64-tdep.c (ia64_gdbarch_init): Set number of long double | |
229 | bits to 128. | |
230 | ||
781a750d AC |
231 | 2003-06-11 Andrew Cagney <[email protected]> |
232 | ||
233 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate | |
234 | REGISTER_CONVERTIBLE. | |
235 | (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same. | |
236 | (DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant. | |
237 | * gdbarch.h, gdbarch.c: Re-generate. | |
238 | * arch-utils.h (deprecated_register_convertible_not): Rename | |
239 | generic_register_convertible_not. | |
240 | * arch-utils.c (deprecated_register_convertible_not): Rename | |
241 | generic_register_convertible. | |
242 | (legacy_convert_register_p, legacy_register_to_value): Update. | |
243 | * sh-tdep.c (sh64_push_arguments): Update. | |
244 | * m68klinux-tdep.c (m68k_linux_extract_return_value): Update. | |
245 | * config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update. | |
246 | * m68klinux-tdep.c (m68k_linux_store_return_value): Update. | |
247 | * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update. | |
248 | * arch-utils.c (legacy_value_to_register): Update. | |
249 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
250 | (rs6000_register_convert_to_raw): Make parameter "from" const. | |
251 | * mips-tdep.c (mips_gdbarch_init): Update. | |
252 | (mips_register_convert_to_raw): Make parameter"virt_buf" const. | |
253 | * infcmd.c (default_print_registers_info): Update. | |
254 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
255 | (ia64_register_convert_to_raw): Make parameter "from" const. | |
256 | * i386-tdep.c (i386_gdbarch_init): Update. | |
257 | (i386_register_convert_to_raw): Update. | |
258 | ||
cd90e54f AC |
259 | 2003-06-11 Andrew Cagney <[email protected]> |
260 | ||
261 | * remote-fileio.c: Include "remote-fileio.h". | |
262 | * Makefile.in (remote-fileio.o): Update dependencies. | |
263 | (remote_fileio_h): Fix typo. | |
264 | ||
a78f21af AC |
265 | 2003-06-11 Andrew Cagney <[email protected]> |
266 | ||
267 | * xstormy16-tdep.c (xstormy16_push_return_address): Make static. | |
268 | (xstormy16_save_dummy_frame_tos): Make static. | |
269 | (_initialize_xstormy16_tdep): Add declaration. | |
270 | * vax-tdep.c (_initialize_vax_tdep): Add declaration. | |
271 | * v850-tdep.c: Make local functions static. | |
272 | (_initialize_v850_tdep): Add declaration. | |
273 | * sparc-tdep.c: Make local functions static. | |
274 | (_initialize_sparc_tdep): Add declaration. | |
275 | * sh-tdep.c: Make local functions static. | |
276 | (_initialize_sh_tdep): Add declaration. | |
277 | * sh3-rom.c (_initialize_sh3_rom): Add declaration. | |
278 | * s390-tdep.c: Make local functions static. | |
279 | (_initialize_s390_tdep): Add declaration. | |
280 | * dbxread.c (find_stab_function_addr): Make static. | |
281 | * ppc-bdm.c (_initialize_bdm_ppc): Add declaration. | |
282 | * ocd.c (_initialize_remote_ocd): Add declaration. | |
283 | * dink32-rom.c (_initialize_dink32_rom): Add declaration. | |
284 | * ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration. | |
285 | * ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration. | |
286 | * ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration. | |
287 | * mips-tdep.c (_initialize_mips_tdep): Add declaration. | |
288 | * remote-array.c (_initialize_array): Add declaration. | |
289 | (_initialize_remote_monitors): Add declaration. | |
290 | * remote-mips.c: Make local functions static. | |
291 | (_initialize_remote_mips): Add declaration. | |
292 | * mcore-tdep.c: Make all local functions static. | |
293 | (_initialize_mcore_tdep): Add declaration. | |
294 | * dbug-rom.c (_initialize_dbug_rom): Add declaration. | |
295 | * abug-rom.c (_initialize_abug_rom): Add declaration. | |
296 | * rom68k-rom.c (_initialize_rom68k): Add declaration. | |
297 | * cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration. | |
298 | * m68k-tdep.c (_initialize_m68k_tdep): Add declaration. | |
299 | * remote-est.c (_initialize_est): Add declaration. | |
300 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration. | |
301 | (m68hc11_call_dummy_address): Make static. | |
302 | * ia64-tdep.c: Make local functions static. | |
303 | (_initialize_ia64_tdep): Add declaration. | |
304 | * solib-legacy.c (_initialize_svr4_lm): Add declaration. | |
305 | * monitor.c (monitor_wait_filter): Make static. | |
306 | (_initialize_remote_monitors): Add declaration. | |
307 | * remote-hms.c (_initialize_remote_hms): Add declaration. | |
308 | * remote-e7000.c (fetch_regs_from_dump): Make static. | |
309 | (expect_n): Make static. | |
310 | (_initialize_remote_e7000): Add declaration. | |
311 | * ser-e7kpc.c: Always include "defs.h". | |
312 | (_initialize_ser_e7000pc): Add declaration. | |
313 | * h8300-tdep.c (_initialize_h8300_tdep): Add declaration. | |
314 | * cris-tdep.c: Make all but one function static. | |
315 | (_initialize_cris_tdep): Add declaration. | |
316 | * solib-svr4.c (_initialize_svr4_solib): Add declaration. | |
317 | * solib.c (update_solib_list): Make static. | |
318 | (_initialize_solib): Add declaration. | |
319 | * avr-tdep.c (avr_breakpoint_from_pc): Make static. | |
320 | (_initialize_avr_tdep): Add declaration. | |
321 | * remote-rdi.c (voiddummy): Make static. | |
322 | (_initialize_remote_rdi): Add declaration. | |
323 | * arm-tdep.c (_initialize_arm_tdep): Add declaration. | |
324 | * remote-rdp.c (send_rdp): Make static. | |
325 | (_initialize_remote_rdp): Add declaration. | |
326 | * alpha-tdep.c (_initialize_alpha_tdep): Add declaration. | |
327 | ||
cbcdb1f5 CV |
328 | 2003-06-11 Corinna Vinschen <[email protected]> |
329 | ||
330 | * remote-fileio.c: Make ari happy. | |
331 | ||
a191ea8d JB |
332 | 2003-06-10 J. Brobecker <[email protected]> |
333 | ||
334 | * rs6000-nat.c (child_xfer_memory): Compute the right address when | |
335 | fetching the trailing bytes of the buffer we are about to write. | |
336 | ||
0ef75e11 AC |
337 | 2003-06-10 Andrew Cagney <[email protected]> |
338 | ||
339 | * remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H. | |
340 | * Makefile.in (remote-fileio.o): Update dependencies. | |
341 | * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not | |
342 | include <setjmp.h>, or <sys/types.h> conditional on USG. | |
343 | (remote_fio_jmp_buf): Delete global variable. | |
344 | ||
449092f6 | 345 | 2003-06-10 Corinna Vinschen <[email protected]> |
559fa028 | 346 | Martin M. Hunt <[email protected]> |
449092f6 | 347 | |
559fa028 AC |
348 | * Makefile.in (REMOTE_OBS): Add remote-fileio.o |
349 | (SFILES): Add remote-fileio.c. | |
350 | Add dependencies for building remote-fileio.o. Add remote-fileio.h to | |
351 | dependencies for building remote.o. | |
449092f6 CV |
352 | * remote-fileio.c: New file implementing the remote File-I/O protocol. |
353 | * remote-fileio.h: New header file defining remote File-I/O interface. | |
354 | * remote.c (remote_write_bytes, remote_read_bytes): Remove | |
355 | static storage class. | |
356 | (remote_wait, remote_async_wait): Call remote_fileio_request() on | |
357 | 'F' packet. | |
358 | (_initialize_remote): Call initialize_remote_fileio(). | |
359 | * remote.h: Declare remote_write_bytes() and remote_read_bytes(). | |
449092f6 CV |
360 | * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin. |
361 | * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin. | |
362 | (captured_main): Initialize new ui_files. | |
363 | * ui-file.c: Add read and fgets input functions. | |
364 | (ui_file_new): set ui_file_fputs and ui_file_read to null functions. | |
365 | (null_file_read): New function. | |
366 | (ui_file_read): New function. | |
367 | (set_ui_file_read): New function. | |
368 | (stdio_file_read): New function. | |
369 | * ui-file.h: New type ui_file_read_ftype. | |
370 | (set_ui_file_read): Declare. | |
371 | (ui_file_read): Declare. | |
372 | ||
248de703 AC |
373 | 2003-06-09 Andrew Cagney <[email protected]> |
374 | ||
375 | * frame.h (deprecated_unwind_get_saved_register): Rename | |
376 | generic_unwind_get_saved_register, update comments. | |
377 | * mips-tdep.c (mips_get_saved_register): Update. | |
378 | * frame.c (deprecated_unwind_get_saved_register): Update. | |
379 | ||
0ed8aa57 AC |
380 | 2003-06-09 Andrew Cagney <[email protected]> |
381 | ||
382 | * vax-tdep.c (vax_frame_locals_address): Delete function. | |
383 | (vax_gdbarch_init): Do not set frame_locals_address. | |
384 | * m68hc11-tdep.c (m68hc11_frame_locals_address): Delete function. | |
385 | (m68hc11_gdbarch_init): Do not set frame_locals_address. | |
386 | * s390-tdep.c (s390_frame_args_address): Delete function. | |
387 | (s390_gdbarch_init): Do not set frame_args_address or | |
388 | frame_locals_address. | |
389 | * ns32k-tdep.c (ns32k_frame_locals_address): Delete. | |
390 | (ns32k_gdbarch_init): Do not set frame_locals_address. | |
391 | * hppa-tdep.c (hppa_frame_args_address): Delete function. | |
392 | (hppa_frame_locals_address): Delete function. | |
393 | (hppa_gdbarch_init): Do not set frame_args_address, or | |
394 | frame_locals_address. | |
395 | * arm-tdep.c (arm_frame_args_address): Delete. | |
396 | (arm_frame_locals_address): Delete. | |
397 | (arm_gdbarch_init): Do not set frame_args_address, or | |
398 | frame_locals_address. | |
399 | ||
983a287a AC |
400 | 2003-06-09 Andrew Cagney <[email protected]> |
401 | ||
402 | * gdbarch.sh (FRAME_NUM_ARGS): Change to function with predicate. | |
403 | * gdbarch.h, gdbarch.c: Re-generate. | |
404 | * arch-utils.h (frame_num_args_unknown): Delete both declarations. | |
405 | * arch-utils.c (frame_num_args_unknown): Delete function. | |
406 | * stack.c (print_args_stub): Use FRAME_NUM_ARGS_P. | |
407 | (frame_info): Use FRAME_NUM_ARGS_P. | |
408 | * arm-tdep.c (arm_frame_num_args): Delete function. | |
409 | (arm_gdbarch_init): Do not set frame_num_args. | |
410 | * config/pa/tm-hppa64.h (FRAME_NUM_ARGS): Delete. | |
411 | * hppa-tdep.c (hppa_frame_num_args): Delete function. | |
412 | (hppa_gdbarch_init): Do not set frame_num_args. | |
413 | * config/sparc/tm-sparc.h (FRAME_NUM_ARGS): Delete. | |
414 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
415 | frame_num_args to default frame_num_args_unknown. | |
416 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
417 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
418 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
419 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
420 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
421 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
422 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
423 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
424 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
425 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
426 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
427 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
428 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
429 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
430 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
431 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
432 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
433 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
434 | ||
8d3b0994 AC |
435 | 2003-06-09 Andrew Cagney <[email protected]> |
436 | ||
437 | * printcmd.c (print_frame_nameless_args): Moved to "stack.c". | |
438 | (print_frame_args): Moved to "stack.c". | |
439 | * stack.c: Include "gdb_assert.h". | |
440 | (print_frame_nameless_args): Moved from "printcmd.c", made static. | |
441 | (print_frame_args): Moved from "printcmd.c". | |
442 | * frame.h (print_frame_args): Delete declaration. | |
443 | * Makefile.in (stack.o): Update dependencies. | |
444 | ||
25e3a86b AC |
445 | 2003-06-08 Andrew Cagney <[email protected]> |
446 | ||
447 | * frame.c (get_prev_frame): Remove reference to | |
448 | frame_args_address_correct in comments. | |
449 | * frame-base.c (default_frame_args_address): Delete code | |
450 | conditional on FRAME_ARGS_ADDRESS_CORRECT. | |
451 | * vax-tdep.c (vax_frame_args_address_correct): Delete. | |
452 | (vax_frame_args_address): Merge in vax_frame_args_address_correct. | |
453 | * config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete | |
454 | (vax_frame_args_address_correct): Delete declaration. | |
455 | ||
a9e5fdc2 AC |
456 | 2003-06-08 Andrew Cagney <[email protected]> |
457 | ||
458 | * gdbarch.sh (UNWIND_SP): Add. | |
459 | * gdbarch.h, gdbarch.c: Re-generate. | |
460 | * frame.c (frame_sp_unwind): New function. | |
461 | (get_frame_sp): New function. | |
462 | * frame.h (get_frame_sp, frame_sp_unwind): Declare. | |
463 | * regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP, | |
464 | gdbarch_unwind_sp and SP_REGNUM when looking for the SP register | |
465 | value. | |
466 | * d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp. | |
467 | (d10v_gdbarch_init): Set unwind_sp instead of read_sp. | |
468 | ||
8983bd83 AC |
469 | 2003-06-08 Andrew Cagney <[email protected]> |
470 | ||
7fec2c59 AC |
471 | Deprecate BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT and |
472 | REMOTE_BREAKPOINT. | |
473 | * remote.c: Update. | |
474 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT): Update. | |
475 | (DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Update. | |
476 | * config/m68k/tm-sun3.h: Update. | |
477 | * config/m68k/tm-m68klynx.h: Update. | |
478 | * config/h8300/tm-h8300.h (DEPRECATED_REMOTE_BREAKPOINT): Update. | |
479 | ||
8983bd83 AC |
480 | * trad-frame.h (struct trad_frame_saved_reg): Rename "struct |
481 | trad_frame". Update comments. | |
482 | * d10v-tdep.c (struct d10v_unwind_cache): Update. | |
483 | * trad-frame.c (trad_frame_alloc_saved_regs): Update. | |
484 | (trad_frame_register_value, trad_frame_prev_register): Update. | |
485 | ||
b9362cc7 AC |
486 | 2003-06-08 Andrew Cagney <[email protected]> |
487 | ||
488 | * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen | |
489 | from GCC's acinclude.m4. | |
490 | * configure.in: Check for getopt's delcaration. | |
491 | * aclocal.m4, config.in, configure: Re-generate. | |
492 | * main.c (error_init): Delete declaration. | |
493 | * defs.h (error_init): Declare. | |
494 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static. | |
495 | (rs6000_convert_from_func_ptr_addr): Make static. | |
496 | (_initialize_rs6000_tdep): Add declaration. | |
497 | * cli/cli-cmds.c (dont_repeat): Delete declaration. | |
498 | (show_commands, set_verbose, show_history): Delete declaration. | |
499 | * top.h (set_verbose): Add declaration. | |
500 | (show_history, set_history, show_commands): Add declaration. | |
501 | (do_restore_instream_cleanup): Add declaration. | |
502 | * objc-lang.c (specialcmp): Make static. | |
503 | (print_object_command): Make static. | |
504 | (find_objc_msgsend): Make static. | |
505 | (find_objc_msgcall_submethod_helper): Make static. | |
506 | (find_objc_msgcall_submethod): Make static. | |
507 | (_initialize_objc_language): Add declaration. | |
508 | (find_implementation_from_class): Make static. | |
509 | (find_implementation): Make static. | |
510 | * objc-exp.y (yylex): Delete lookup_struct_typedef declaration. | |
511 | * objc-lang.h (lookup_struct_typedef): Add declaration. | |
512 | * cli/cli-interp.c (_initialize_cli_interp): Add declaration. | |
513 | * cli/cli-script.c (clear_hook_in_cleanup): Make static. | |
514 | (do_restore_user_call_depth): Make static. | |
515 | (do_restore_instream_cleanup): Delete declaration. | |
516 | (dont_repeat): Delete declaration. | |
517 | * cli/cli-decode.c (add_abbrev_cmd): Delete function. | |
518 | * cli/cli-dump.c (_initialize_cli_dump): Add declaration. | |
519 | * reggroups.c (_initialize_reggroup): Add declaration. | |
520 | * cp-support.c (_initialize_cp_support): Add declaration. | |
521 | * cp-abi.c (_initialize_cp_abi): Add declaration. | |
522 | * hpacc-abi.c (_initialize_hpacc_abi): Add declaration. | |
523 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static. | |
524 | (_initialize_gnu_v3_abi): Add declaration. | |
525 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static. | |
526 | (_initialize_gnu_v2_abi): Add declaration. | |
527 | * frame-base.c (_initialize_frame_base): Add declaration. | |
528 | * doublest.c (floatformat_from_length): Make static. | |
529 | * frame-unwind.c (_initialize_frame_unwind): Add declaration. | |
530 | * frame.c (create_sentinel_frame): Make static. | |
531 | (_initialize_frame): Add declaration. | |
532 | * top.c (do_catch_errors): Make static. | |
533 | (gdb_rl_operate_and_get_next_completion): Make static. | |
534 | * typeprint.c: Include "typeprint.h". | |
535 | * sentinel-frame.c (sentinel_frame_prev_register): Make static. | |
536 | (sentinel_frame_this_id): Make static. | |
537 | * p-valprint.c (_initialize_pascal_valprint): Add declaration. | |
538 | * ui-out.c (make_cleanup_ui_out_begin_end): Delete function. | |
539 | * dwarf2-frame.c (dwarf2_frame_cache): Make static. | |
540 | * p-exp.y (push_current_type, pop_current_type): ISO C declaration. | |
541 | * dwarf2expr.h (dwarf_expr_context): ISO C declaration. | |
542 | * maint.c (maintenance_print_architecture): Make static. | |
543 | * signals/signals.c (_initialize_signals): Add declaration. | |
544 | * std-regs.c (_initialize_frame_reg): Add declaration. | |
545 | * jv-exp.y (push_variable): ISO C definition. | |
546 | (push_qualified_expression_name): Ditto. | |
547 | * memattr.c (_initialize_mem): Add declaration. | |
548 | * remote.c (remote_check_watch_resources): Make static. | |
549 | (remote_stopped_by_watchpoint): Make static. | |
550 | (remote_stopped_data_address): Make static. | |
551 | * d10v-tdep.c (nr_dmap_regs): Make static. | |
552 | (a0_regnum): Make static. | |
553 | (d10v_frame_unwind_cache): Make static. | |
554 | (d10v_frame_p): Make static. | |
555 | * osabi.c (show_osabi): Make static. | |
556 | (_initialize_gdb_osabi): Add extern declaration. | |
557 | * gdbtypes.c (make_qualified_type): Make static. | |
558 | (safe_parse_type): Make static. | |
559 | * macrocmd.c (_initialize_macrocmd): Add extern declaration. | |
560 | * macrotab.c (macro_bcache_free): Make static. | |
561 | * interps.c (interp_set_quiet): Make static. | |
562 | (interpreter_exec_cmd): Make static. | |
563 | * stack.h (select_frame_command): New file. | |
564 | * stack.c: Include "stack.h". | |
565 | (select_frame_command_wrapper): Delete function. | |
566 | (select_frame_command): Make global. | |
567 | * infcall.c: Include "infcall.h". | |
568 | * linespec.c: Include "linespec.h". | |
569 | * symfile.c (sections_overlap): Make static. | |
570 | * cp-support.h (cp_initialize_namespace): ISO C declaration. | |
571 | * charset.c (_initialize_charset): Add missing prototype. | |
572 | * regcache.c (init_legacy_regcache_descr): Make static. | |
573 | (do_regcache_xfree): Make static. | |
574 | (regcache_xfer_part): Make static. | |
575 | (_initialize_regcache): Add missing prototype. | |
576 | * breakpoint.c (parse_breakpoint_sals): Make static. | |
577 | (breakpoint_sals_to_pc): Make static. | |
578 | * interps.h (clear_interpreter_hooks): ISO C declaration. | |
579 | * Makefile.in (stack_h): Define. | |
580 | (stack.o, typeprint.o, mi-main.o): Update dependencies. | |
581 | (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies. | |
582 | ||
a0f267c7 AC |
583 | 2003-06-08 Andrew Cagney <[email protected]> |
584 | ||
585 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
586 | (SFILES): Add trad-frame.c. | |
587 | (trad_frame_h): Define. | |
588 | (COMMON_OBS): Add trad-frame.o. | |
589 | (trad-frame.o): Specify dependencies. | |
590 | * d10v-tdep.c: Include "trad-frame.h". | |
591 | (saved_regs_unwinder): Delete function. | |
592 | (d10v_frame_prev_register): Use trad_frame_prev_register. | |
593 | (struct d10v_unwind_cache): Change type of "saved_regs" to "struct | |
594 | trad_frame", delete "regs" and "prev_sp". | |
595 | (prologue_find_regs): Use trad-frame. | |
596 | * trad-frame.h, trad-frame.c: New files. | |
597 | ||
4538b4f4 MK |
598 | 2003-06-08 Mark Kettenis <[email protected]> |
599 | ||
600 | * dwarf2cfi.c, dwarf2cfi.h: Remove. | |
601 | ||
a0273b2f AF |
602 | 2003-06-07 Adam Fedor <[email protected]> |
603 | ||
604 | * gdb/objc-lang.c (FETCH_ARGUMENT): Remove macro. | |
605 | (OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for | |
606 | using FETCH_POINTER_ARGUMENT with Objective-C method arguments. | |
607 | (find_implementation, resolve_msgsend, resolve_msgsend_stret, | |
608 | resolve_msgsend_super, resolve_msgsend_super_stret): | |
609 | Use it. | |
610 | ||
3a6c3343 AC |
611 | 2003-06-07 Andrew Cagney <[email protected]> |
612 | ||
613 | * symfile.h: Re-indent, clean up comments. | |
614 | ||
b46e02f6 AC |
615 | 2003-06-07 Andrew Cagney <[email protected]> |
616 | ||
617 | * inferior.h (deprecated_write_sp): Replace | |
618 | generic_target_write_sp. | |
619 | * regcache.c (deprecated_write_sp): Replace | |
620 | generic_target_write_sp. | |
621 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
622 | * vax-tdep.c (vax_gdbarch_init): Update. | |
623 | * v850-tdep.c (v850_gdbarch_init): Update. | |
624 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
625 | * sh-tdep.c (sh_gdbarch_init): Update. | |
626 | * s390-tdep.c (s390_gdbarch_init): Update. | |
627 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
628 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
629 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
630 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
631 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
632 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
633 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
634 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
635 | * frv-tdep.c (frv_gdbarch_init): Update. | |
636 | * cris-tdep.c (cris_gdbarch_init): Update. | |
637 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
638 | ||
a42e117c AC |
639 | 2003-06-07 Andrew Cagney <[email protected]> |
640 | ||
641 | * dwarf2-frame.c (dwarf2_frame_cache): Add comments on PC_REGNUM. | |
642 | Assert that PC_REGNUM is valid. | |
643 | (dwarf2_frame_prev_register): Add comments on SP_REGNUM. | |
644 | ||
bd1ce8ba AC |
645 | 2003-06-07 Andrew Cagney <[email protected]> |
646 | ||
647 | * gdbarch.sh (TARGET_READ_SP): Add predicate, delete default. | |
648 | * gdbarch.h, gdbarch.c: Regenerate. | |
649 | * mn10300-tdep.c: Include "gdb_assert.h". | |
650 | (mn10300_read_fp): New function. | |
651 | (mn10300_gdbarch_init): Set deprecated_target_read_fp to | |
652 | mn10300_read_fp. Do not set read_sp to generic_target_read_sp. | |
653 | * ia64-tdep.c: Include "gdb_assert.h". | |
654 | (ia64_read_fp): New function. | |
655 | (ia64_gdbarch_init): Set deprecated_target_read_fp to | |
656 | ia64_read_sp. Do not set read_sp to generic_target_read_sp. | |
657 | * regcache.c (generic_target_read_sp): Delete function. | |
658 | (read_sp): Try TARGET_READ_SP and SP_REGNUM for the SP register. | |
659 | * inferior.h (generic_target_read_sp): Delete declaration. | |
660 | * frv-tdep.c (frv_gdbarch_init): Do not set read_sp to | |
661 | generic_target_read_sp. | |
662 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
663 | * sparc-tdep.c (sparc_gdbarch_init): Ditto | |
664 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
665 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
666 | * Makefile.in (mn10300-tdep.o, ia64-tdep.o): Update dependencies. | |
667 | ||
ec5cbaec AC |
668 | 2003-06-07 Andrew Cagney <[email protected]> |
669 | ||
670 | * gdbarch.sh: Comment each field of startup_gdbarch. | |
671 | * gdbarch.h, gdbarch.c: Re-generate. | |
672 | ||
cde9ea48 AC |
673 | 2003-06-07 Andrew Cagney <[email protected]> |
674 | ||
675 | * gdbarch.sh (TARGET_READ_PC): Add predicate, remove default. | |
676 | * gdbarch.h, gdbarch.c: Re-generate. | |
677 | * regcache.c: Update comments on read_pc et.al. | |
678 | (generic_target_read_pc): Delete function. | |
679 | (read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register. | |
680 | * inferior.h (generic_target_read_pc): Delete declaration. | |
681 | * frv-tdep.c (frv_gdbarch_init): Do not set read_pc to | |
682 | generic_target_read_pc. | |
683 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
684 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
685 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
686 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
687 | ||
9a90a780 AC |
688 | 2003-06-07 Andrew Cagney <[email protected]> |
689 | ||
690 | * elfread.c (elf_symtab_read): Replace "special_local_sym_p" and | |
691 | "index" with "special_local_sect". Use strcmp instead of STREQ. | |
692 | Append period to coments. | |
693 | ||
a39a16c4 MM |
694 | 2003-06-06 Mark Mitchell <[email protected]> |
695 | ||
696 | * elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX. | |
697 | (elfstab_offset_sections): Likewise. | |
698 | * gdb-stabs.h (stab_section_info): Likewise. | |
699 | * i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise. | |
700 | * objfiles.c (objfile_relocate): Likewise. | |
701 | * pa64solib.c (pa64_solib_add_solib_objfile): Likewise. | |
702 | * remote.c (get_offsets): Likewise. | |
703 | (remote_cisco_objfile_relocate): Likewise. | |
704 | * somread.c (som_symfile_offsets): Likewise. | |
705 | * symfile.c (alloc_section_addr_info): New function. | |
706 | (build_section_addr_info_from_section_tab): Use it. | |
707 | (free_section_addr_info): Adjust. | |
708 | (default_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
709 | (syms_from_objfile): Allocate local_addr dynamically. | |
710 | (symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs | |
711 | dynamically. | |
712 | (add_symbol_file_command): Allocate sect_opts dynamically. | |
713 | (reread_symbols): Avoid use of SECT_OFF_MAX. | |
714 | * symfile.h (section_addr_info): Do not use MAX_SECTIONS. | |
715 | (alloc_section_addr_info): Declare it. | |
716 | * symtab.h (SIZEOF_SECTION_OFFSETS): Remove. | |
717 | * win32-nat.c (solib_symbols_add): Allocate section_addrs | |
718 | dynamically. | |
719 | * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
720 | ||
20c6c2f8 AC |
721 | 2003-06-06 Andrew Cagney <[email protected]> |
722 | ||
723 | * d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc". | |
724 | (d10v_frame_unwind_cache): Do not set "return_pc". | |
725 | ||
884a26c8 MS |
726 | 2003-06-06 Michael Snyder <[email protected]> |
727 | ||
728 | * h8300-tdep.c: Make tidy (long lines). | |
729 | ||
088ce440 ML |
730 | 2003-06-06 Michal Ludvig <[email protected]> |
731 | ||
732 | * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums | |
733 | to regcache_collect(). | |
734 | ||
7d773d96 JB |
735 | 2003-06-05 J. Brobecker <[email protected]> |
736 | ||
737 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting | |
738 | pc_in_sigtramp multiarch method. | |
739 | (hppa_hpux_som_init_abi): Use it. | |
740 | (hppa_hpux_elf_init_abi): Likewise. | |
741 | * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this | |
742 | macro has been multiarched. | |
743 | * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this | |
744 | macro here, as hppa64 isn't multiarched yet. | |
745 | ||
1df6926e AC |
746 | 2003-06-05 Andrew Cagney <[email protected]> |
747 | ||
748 | * Makefile.in (value_h): Add $(frame_h). | |
749 | * value.h: Include "frame.h". | |
750 | (struct value): Replace "frame_addr" with "frame_id". | |
751 | (VALUE_FRAME_ID): Replace VALUE_FRAME. | |
752 | * values.c (allocate_value): Use VALUE_FRAME_ID. | |
753 | (value_copy): Use VALUE_FRAME_ID. | |
754 | * findvar.c (value_from_register): Use VALUE_FRAME_ID. | |
755 | * valops.c (value_assign): Update. Use frame_find_by_id. | |
756 | ||
6b53acc6 ML |
757 | 2003-06-05 Michal Ludvig <[email protected]> |
758 | ||
759 | * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset | |
760 | in each pass. | |
761 | ||
4d9850d3 JJ |
762 | 2003-06-05 Jeff Johnston <[email protected]> |
763 | ||
764 | * thread-db.c (check_event): For create/death event breakpoints, | |
765 | loop through all messages to ensure that we read the message | |
766 | corresponding to the breakpoint we are at. | |
767 | ||
8efca6ba MS |
768 | 2003-06-04 Michael Snyder <[email protected]> |
769 | ||
770 | * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn. | |
771 | ||
0912c7f2 MK |
772 | 2003-06-04 Mark Kettenis <[email protected]> |
773 | ||
774 | * dwarf2-frame.c (struct comp_unit): Add member `dbase'. | |
775 | (read_encoded_value): Handle DW_EH_PE_datarel encoding. | |
776 | (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings | |
777 | when handling .eh_frame sections. | |
778 | ||
4e370325 JB |
779 | 2003-06-04 J. Brobecker <[email protected]> |
780 | ||
781 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic | |
782 | prepare_to_proceed procedure instead of the hppa-specific one. | |
783 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used. | |
784 | ||
b757528f JJ |
785 | 2003-06-04 Jeff Johnston <[email protected]> |
786 | ||
787 | * acconfig.h: Add HAVE_TKILL_SYSCALL definition check. | |
788 | * config.in: Regenerated. | |
789 | * configure.in: Add test for syscall function and check for | |
790 | __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. | |
791 | * configure: Regenerated. | |
792 | * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and | |
793 | <sys/syscall.h>. | |
794 | (kill_lwp): New function that uses tkill syscall or | |
795 | uses kill, depending on whether threading model is nptl or not. | |
796 | All callers of kill() changed to use kill_lwp(). | |
797 | (lin_lwp_wait): Make special check when WIFEXITED occurs to | |
798 | see if all threads have already exited in the nptl model. | |
799 | (stop_and_resume_callback): New callback function used by the | |
800 | lin_lwp_wait thread exit handling code. | |
801 | (stop_wait_callback): Check for threads already having exited and | |
802 | delete such threads fromt the lwp list when discovered. | |
803 | (stop_callback): Don't assert retcode of kill call. | |
804 | ||
805 | Roland McGrath <[email protected]> | |
806 | * i386-linux-nat.c (ps_get_thread_area): New function needed by | |
807 | nptl libthread_db. | |
808 | ||
087779b1 RH |
809 | 2003-06-03 Richard Henderson <[email protected]> |
810 | ||
b21fd293 RH |
811 | * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn. |
812 | (alpha_sigtramp_frame_this_id): Use get_frame_memory. | |
813 | (alpha_sigtramp_frame_prev_register): Likewise. | |
814 | (alpha_heuristic_frame_prev_register): Likewise. | |
815 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise. | |
816 | ||
087779b1 RH |
817 | * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use |
818 | alpha-specific register id names. | |
819 | (alpha_mdebug_frame_unwind_cache): Likewise. | |
820 | (alpha_mdebug_frame_prev_register): Likewise. | |
821 | ||
baa490c4 RH |
822 | 2003-06-03 Richard Henderson <[email protected]> |
823 | ||
824 | * alpha-tdep.c (alpha_dwarf2_init_abi): New. | |
825 | * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. | |
826 | * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. | |
827 | * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug | |
828 | unwind routines. | |
829 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
830 | * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
831 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
832 | ||
833 | * alpha-linux-tdep.c: Remove unnecessary includes. | |
834 | * Makefile.in (alpha-linux-tdep.o): Update. | |
835 | ||
836 | 2003-06-03 Richard Henderson <[email protected]> | |
837 | ||
838 | * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change. | |
839 | (alphabsd_fill_fpreg): Likewise. | |
840 | ||
f534e522 JB |
841 | 2003-06-03 J. Brobecker <[email protected]> |
842 | ||
843 | * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace | |
844 | references to struct frame_info fields by calls to the equivalent | |
845 | accessors. Necessary now that frame_info is opaque. | |
846 | ||
4035536b JB |
847 | 2003-06-03 J. Brobecker <[email protected]> |
848 | ||
849 | * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete. | |
850 | (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep | |
851 | structure, field no longer exists. | |
852 | ||
0bd79c5c JB |
853 | 2003-06-03 J. Brobecker <[email protected]> |
854 | ||
855 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
856 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module. | |
857 | ||
37bb6d9f JB |
858 | 2003-06-03 J. Brobecker <[email protected]> |
859 | ||
860 | * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace | |
861 | references to struct frame_info fields by calls to the equivalent | |
862 | accessors. Necessary now that frame_info is opaque. | |
863 | ||
852ee05c JB |
864 | 2003-06-03 J. Brobecker <[email protected]> |
865 | ||
866 | * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. | |
867 | (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep | |
868 | structure, field no longer exists. | |
869 | ||
7d58c67d TR |
870 | 2003-06-03 Theodore A. Roth <[email protected]> |
871 | ||
872 | * remote.c (init_remote_state): Compute sizeof_g_packet by | |
873 | accumulation of the size of all registers instead of blindly using | |
874 | DEPRECATED_REGISTER_BYTES. | |
875 | ||
0a48e7e8 MS |
876 | 2003-06-03 Michael Snyder <[email protected]> |
877 | ||
878 | * config/h8300/tm-h8300.h (h8300sxmode): Declare. | |
879 | * h8300-tdep.c (h8300_gdbarch_init): Set machine mode | |
880 | for h8300sx. | |
881 | ||
9798ab0d JB |
882 | 2003-06-03 J. Brobecker <[email protected]> |
883 | ||
884 | * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile. | |
885 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. | |
886 | ||
00b037e2 AC |
887 | 2003-06-03 Andrew Cagney <[email protected]> |
888 | ||
889 | * sparc-tdep.c (sparc_convert_to_virtual): Delete function. | |
890 | (sparc_convert_to_raw): Delete function. | |
891 | (sparc_gdbarch_init): Do not set register_convert_to_raw or | |
892 | register_convert_to_virtual. | |
893 | ||
043b2f77 JJ |
894 | 2003-06-03 Jeff Johnston <[email protected]> |
895 | ||
896 | * thread-db.c (thread_db_mourn_inferior): Unpush thread target | |
897 | layer if not dealing with a statically-linked threaded program. | |
898 | ||
f43caff8 KW |
899 | 2003-06-03 Kris Warkentin <[email protected]> |
900 | ||
901 | * solib.c (solib_open): Update comment to reflect actual search order. | |
902 | ||
ae1e7417 AC |
903 | 2003-06-03 Andrew Cagney <[email protected]> |
904 | ||
905 | * frame.c (get_frame_memory_signed): New function. | |
906 | (get_frame_memory, get_frame_memory_unsigned): New function. | |
907 | (get_frame_arch): New function. | |
908 | * frame.h (get_frame_signed_memory, get_frame_arch): Declare. | |
909 | (get_frame_memory, get_frame_unsigned_memory): Declare. | |
910 | * d10v-tdep.c (d10v_frame_unwind_cache): Use | |
911 | get_frame_memory_unsigned and get_frame_arch. | |
912 | (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto. | |
913 | ||
cb123844 RG |
914 | 2003-06-03 Raoul Gough <[email protected]> |
915 | ||
916 | * MAINTAINERS (write after approval): Add myself. | |
917 | ||
1bb792e9 JB |
918 | 2003-06-03 Jim Blandy <[email protected]> |
919 | ||
920 | * s390-nat.c (supply_gregset, fill_gregset): On the s390x, the | |
921 | elements of gregset_t are 64 bits each, but access registers | |
922 | are still 32 bits, so they're packed two per gregset_t | |
923 | element. Unpack/pack them properly. | |
924 | ||
aee8d8ba DC |
925 | 2003-06-02 David Carlton <[email protected]> |
926 | ||
927 | * linespec.c (find_methods): Break out code into | |
928 | add_matching_methods and add_constructors. | |
929 | (add_matching_methods): New. | |
930 | (add_constructors): Ditto. | |
931 | ||
bf7488d2 AC |
932 | 2003-06-02 Andrew Cagney <[email protected]> |
933 | ||
bf7488d2 AC |
934 | * sparc-tdep.c (sparc_print_registers): Delete call to |
935 | REGISTER_CONVERTIBLE. | |
936 | (sparc_gdbarch_init): Do not set register_convertible. | |
937 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
938 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
939 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
940 | ||
adedef68 EZ |
941 | 2003-06-02 Elena Zannoni <[email protected]> |
942 | ||
943 | * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. | |
944 | * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD. | |
945 | (syms_from_objfile): Ditto. | |
946 | ||
650fcc91 AS |
947 | 2003-06-03 Andreas Schwab <[email protected]> |
948 | ||
949 | * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ... | |
950 | (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn. | |
951 | ||
df4a182b RH |
952 | 2003-06-02 Richard Henderson <[email protected]> |
953 | ||
954 | * alpha-tdep.c (alpha_register_reggroup_p): Zero is only | |
955 | a member of all_reggroup. | |
956 | ||
c483c494 RH |
957 | 2003-06-02 Richard Henderson <[email protected]> |
958 | ||
959 | * alpha-tdep.c (alpha_register_type): Change from _virtual_type. | |
960 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove. | |
961 | (alpha_lds, alpha_sts): New. | |
962 | (alpha_convert_register_p): Change from _register_convertible. | |
963 | (alpha_register_to_value): Change from _convert_to_virtual; | |
964 | restructure and fail for type sizes other than 4 or 8. | |
965 | (alpha_value_to_register): Similarly. | |
966 | (alpha_extract_return_value): Use alpha_sts. | |
967 | (alpha_store_return_value): Use alpha_lds. | |
968 | (alpha_gdbarch_init): Update hooks. | |
969 | ||
b38b6be2 RH |
970 | 2003-06-02 Richard Henderson <[email protected]> |
971 | ||
972 | * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific | |
973 | regnum identifiers. | |
974 | (alpha_sigtramp_register_address): Likewise. | |
975 | ||
98a8e1e5 RH |
976 | 2003-06-02 Richard Henderson <[email protected]> |
977 | ||
978 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New. | |
979 | (alpha_supply_fp_regs, alpha_fill_fp_regs): New. | |
980 | * alpha-tdep.h: Declare them. | |
981 | ||
982 | * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping. | |
983 | Remove zerobuf. Don't error on UNIQUE. | |
984 | (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs. | |
985 | (ALPHA_REGSET_UNIQUE): Provide default. | |
986 | (supply_gregset): Use alpha_supply_int_regs. | |
987 | (fill_gregset): Use alpha_fill_int_regs. | |
988 | (supply_fpregset): Use alpha_supply_fp_regs. | |
989 | (fill_fpregset): Use alpha_fill_fp_regs. | |
990 | * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove. | |
991 | (alphabsd_supply_reg): Use alpha_supply_int_regs. | |
992 | (alphabsd_fill_reg): Use alpha_fill_int_regs. | |
993 | (alphabsd_supply_fpreg): Use alpha_supply_fp_regs. | |
994 | (alphabsd_fill_fpreg): Use alpha_fill_fp_regs. | |
995 | * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New. | |
996 | ||
67dfac52 RH |
997 | 2003-06-02 Richard Henderson <[email protected]> |
998 | ||
f75d70cc RH |
999 | * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru. |
1000 | ||
67dfac52 RH |
1001 | * alpha-tdep.c (alpha_extract_return_value): Use internal_error. |
1002 | (alpha_store_return_value): Likewise. | |
1003 | ||
0cf566ec DC |
1004 | 2003-06-02 David Carlton <[email protected]> |
1005 | ||
1006 | * block.c (contained_in): Add 'const' to arguments. | |
1007 | (block_function): Ditto. | |
1008 | * block.h: Update declarations for block_function and | |
1009 | contained_in. | |
1010 | ||
cdef89d0 DC |
1011 | 2003-06-02 David Carlton <[email protected]> |
1012 | ||
1013 | * objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'. | |
1014 | * c-valprint.c (c_val_print): Delete unneeded variable 's'. | |
1015 | * p-valprint.c (pascal_val_print): Ditto. | |
1016 | * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'. | |
1017 | ||
72667056 RH |
1018 | 2003-06-02 Richard Henderson <[email protected]> |
1019 | ||
98a8e1e5 RH |
1020 | * alpha-tdep.c (alpha_push_dummy_call): Use |
1021 | builtin_type_ieee_double_little instead of builtin_type_double. | |
eb4edb88 | 1022 | |
98a8e1e5 RH |
1023 | * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated |
1024 | sign-extension of 32-bit values. | |
1025 | (alpha_store_return_value): Similarly. | |
0ede8eca | 1026 | |
98a8e1e5 RH |
1027 | * alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types. |
1028 | (alpha_extract_return_value): Likewise. | |
1029 | (alpha_store_return_value): Likewise. | |
7b5e1cb3 | 1030 | |
98a8e1e5 RH |
1031 | * alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats. |
1032 | (alpha_store_return_value): Error on IEEE Quad floats. | |
24064b5c | 1033 | |
98a8e1e5 RH |
1034 | * alpha-tdep.c (alpha_extract_return_value): Convert to regcache. |
1035 | (alpha_extract_struct_value_address): Likewise. | |
1036 | (alpha_store_return_value): Likewise. | |
1037 | (alpha_store_struct_return): Remove. | |
1038 | (alpha_gdbarch_init): Update hook registration to match. | |
5ec2bb99 | 1039 | |
98a8e1e5 RH |
1040 | * alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of |
1041 | deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch | |
1042 | macros where appropriate. | |
1043 | (alpha_register_convert_to_raw): Similarly. Use unpack_long. | |
1044 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): New. | |
14696584 | 1045 | |
98a8e1e5 RH |
1046 | * alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr |
1047 | for SP, GP; void_func_ptr for PC; non-language-specific types | |
1048 | for all others. | |
1049 | * alpha-tdep.h (ALPHA_GP_REGNUM): New. | |
72667056 | 1050 | |
6dd77b81 RH |
1051 | 2003-06-02 Richard Henderson <[email protected]> |
1052 | ||
1053 | * top.h (lim_at_start): Declare. | |
1054 | * main.c (captured_main): Set it. | |
1055 | * top.c (lim_at_start): Define. | |
1056 | (command_loop): Use it instead of &environ. | |
1057 | * event-top.c (command_handler): Likewise. | |
1058 | ||
f4dbdb54 JT |
1059 | 2003-06-01 Jason Thorpe <[email protected]> |
1060 | ||
1061 | * mipsnbsd-tdep.c: Update copyright years. | |
1062 | (fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg. | |
1063 | ||
8f285956 RH |
1064 | 2003-06-01 Richard Henderson <[email protected]> |
1065 | ||
98a8e1e5 RH |
1066 | * Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c. |
1067 | (alpha-linux-tdep.o): Update dependencies. | |
1068 | (alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise. | |
1069 | * alpha-mdebug-tdep.c: Remove unneeded includes. | |
8f285956 | 1070 | |
615967cb RH |
1071 | 2003-06-01 Richard Henderson <[email protected]> |
1072 | ||
98a8e1e5 RH |
1073 | * alpha-tdep.c (alpha_register_reggroup_p): New. |
1074 | (alpha_gdbarch_init): Register it. | |
615967cb | 1075 | |
b59661bd AC |
1076 | 2003-06-02 Andrew Cagney <[email protected]> |
1077 | ||
1078 | * dwarfread.c: Eliminate "register" | |
1079 | (decode_die_type): Eliminate assignment within "if". | |
1080 | (struct_type, decode_array_element_type): Ditto. | |
1081 | (dwarf_read_array_type, read_tag_pointer_type): Ditto. | |
1082 | (read_subroutine_type, enum_type, add_enum_psymbol): Ditto. | |
1083 | (decode_modified_type, completedieinfo): Ditto. | |
1084 | * block.c: Eliminate "register". | |
1085 | (blockvector_for_pc_sect): Eliminate assignment within "if". | |
1086 | * cp-support.h (struct symbol): Opaque declaration. | |
1087 | * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free. | |
1088 | ||
5ef165c2 RH |
1089 | 2003-06-01 Richard Henderson <[email protected]> |
1090 | ||
98a8e1e5 RH |
1091 | * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ... |
1092 | (_initialize_alpha_tdep): ... not deprecated_tm_print_insn. | |
5ef165c2 | 1093 | |
143985b7 AF |
1094 | 2003-06-01 Adam Fedor <[email protected]> |
1095 | ||
1096 | * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT. | |
1097 | * gdbarch.[ch]: Regenerate. | |
1098 | * hppa-tdep.c (hppa_fetch_pointer_argument): New function. | |
1099 | (hppa_gdbarch_init): Set it in the gdbarch vector. | |
1100 | * i386-tdep.c (i386_fetch_pointer_argument): New | |
1101 | (i386_gdbarch_init): Set it into gdbarch. | |
1102 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): New. | |
1103 | (rs6000_gdbarch_init): Set it in gdbarch. | |
1104 | * sparc-tdep.c (sparc_fetch_pointer_argument): New | |
1105 | (sparc_gdbarch_init): Set it in gdbarch. | |
1106 | ||
ae0167b9 AC |
1107 | 2003-06-01 Andrew Cagney <[email protected]> |
1108 | ||
7c0b4a20 AC |
1109 | * defs.h (extract_address): Delete declaration. |
1110 | * findvar.c (extract_address): Delete function. | |
1111 | * xstormy16-tdep.c (xstormy16_extract_return_value): Replace | |
1112 | extract_address with the inline equivalent, | |
1113 | extract_unsigned_integer. | |
1114 | (xstormy16_extract_struct_value_address): Ditto. | |
1115 | (xstormy16_pointer_to_address): Ditto. | |
1116 | * vax-tdep.c (vax_extract_struct_value_address): Ditto. | |
1117 | * v850-tdep.c (v850_push_arguments): Ditto. | |
1118 | (v850_extract_return_value): Ditto. | |
1119 | (v850_extract_struct_value_address): Ditto. | |
1120 | * sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto. | |
1121 | (sparcnbsd_get_longjmp_target_64): Ditto. | |
1122 | * sparc-tdep.c (sparc_frame_saved_pc): Ditto. | |
1123 | (get_longjmp_target): Ditto. | |
1124 | * sh-tdep.c (sh_extract_struct_value_address): Ditto. | |
1125 | (sh64_extract_struct_value_address): Ditto. | |
1126 | (sh_push_arguments): Ditto. | |
1127 | (sh64_push_arguments): Ditto. | |
1128 | * remote-vxsparc.c (vx_read_register): Ditto. | |
1129 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto. | |
1130 | * ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto. | |
1131 | * mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto. | |
1132 | * mipsv4-nat.c (get_longjmp_target): Ditto. | |
1133 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto. | |
1134 | * mips-nat.c (get_longjmp_target): Ditto. | |
1135 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto. | |
1136 | * mcore-tdep.c (mcore_extract_struct_value_address): Ditto. | |
1137 | * m68k-tdep.c (m68k_get_longjmp_target): Ditto. | |
1138 | * m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto. | |
1139 | * irix5-nat.c (get_longjmp_target): Ditto. | |
1140 | * irix4-nat.c (get_longjmp_target): Ditto. | |
1141 | * ia64-tdep.c (generic_elf_find_global_pointer): Ditto. | |
1142 | (ia64_push_arguments): Ditto. | |
1143 | * hpux-thread.c (hpux_thread_store_registers): Ditto. | |
1144 | * h8300-tdep.c (h8300_push_arguments): Ditto. | |
1145 | (h8300_store_return_value): Ditto. | |
1146 | (h8300_extract_struct_value_address): Ditto. | |
1147 | * frv-tdep.c (frv_extract_struct_value_address): Ditto. | |
1148 | (frv_push_arguments): Ditto. | |
1149 | * avr-tdep.c (avr_pointer_to_address): Ditto. | |
1150 | (avr_push_arguments): Ditto. | |
1151 | * arm-tdep.c (arm_push_dummy_call): Ditto. | |
1152 | (arm_get_longjmp_target): Ditto. | |
1153 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
1154 | * alpha-tdep.c (alpha_extract_struct_value_address): Ditto. | |
1155 | (alpha_get_longjmp_target): Ditto. | |
1156 | ||
ae0167b9 AC |
1157 | * solib-irix.c (extract_mips_address): Inline extract_address, |
1158 | replacing it with extract_signed_integer. | |
1159 | * solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
1160 | (LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto. | |
1161 | (first_link_map_member, open_symbol_file_object): Ditto. | |
1162 | (svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto. | |
1163 | * solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
1164 | (LM_NEXT, LM_NAME): Ditto. | |
1165 | ||
44d88583 RH |
1166 | 2003-06-01 Richard Henderson <[email protected]> |
1167 | ||
98a8e1e5 RH |
1168 | * alpha-tdep.h (ALPHA_FP_REGNUM): Remove. |
1169 | * alpha-tdep.c (alpha_register_name): Remove vfp entry. | |
1170 | (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM. | |
1171 | (alpha_cannot_store_register): Likewise. | |
1172 | * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM. | |
1173 | * alpha-nat.c (supply_gregset): Likewise. | |
1174 | * alphanbsd-tdep.c (fetch_core_registers): Likewise. | |
44d88583 | 1175 | |
310e9b6a AC |
1176 | 2003-06-01 Andrew Cagney <[email protected]> |
1177 | ||
1178 | * infcall.c (call_function_by_hand): Update comment on | |
1179 | DEPRECATED_DUMMY_WRITE_SP. | |
1180 | ||
1181 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
1182 | deprecated_dummy_write_sp. | |
1183 | (mips_eabi_push_dummy_call): Set the SP register. | |
1184 | (mips_o64_push_dummy_call): Set the SP register. | |
1185 | (mips_o32_push_dummy_call): Set the SP register. | |
1186 | (mips_n32n64_push_dummy_call): Set the SP register. | |
1187 | ||
5ab84872 RH |
1188 | 2003-06-01 Richard Henderson <[email protected]> |
1189 | ||
98a8e1e5 RH |
1190 | * alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE |
1191 | instead of ALPHA_MAX_REGISTER_RAW_SIZE. | |
1192 | (supply_gregset): Likewise. | |
1193 | * alpha-tdep.c (alpha_store_return_value): Likewise. | |
1194 | (alpha_get_longjmp_target): Likewise. | |
1195 | (alpha_register_name): Constify array. | |
1196 | (alpha_gdbarch_init): Remove deprecated_fp_regnum, | |
1197 | deprecated_register_size, deprecated_register_bytes, | |
1198 | deprecated_max_register_raw_size, deprecated_max_register_virtual_size. | |
1199 | * alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove. | |
1200 | (ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
5ab84872 | 1201 | |
09cc52fd RH |
1202 | 2003-06-01 Richard Henderson <[email protected]> |
1203 | ||
1204 | * alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies | |
1205 | from arg_reg_buffer to regcache to avoid double conversion. | |
1206 | ||
c7f16359 MK |
1207 | 2003-06-01 Mark Kettenis <[email protected]> |
1208 | ||
1209 | * i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of | |
1210 | SP_REGNUM. | |
1211 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise. | |
1212 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise. | |
1213 | ||
7131cb6e RH |
1214 | 2003-06-01 Richard Henderson <[email protected]> |
1215 | ||
98a8e1e5 RH |
1216 | * dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation. |
1217 | (decode_frame_entry): Set it. Skip FDE augmentation. | |
7131cb6e | 1218 | |
f3e0f90b RH |
1219 | 2003-06-01 Richard Henderson <[email protected]> |
1220 | ||
98a8e1e5 RH |
1221 | * dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column |
1222 | not overlapping PC_REGNUM. | |
f3e0f90b | 1223 | |
c88e30c0 RH |
1224 | 2003-06-01 Richard Henderson <[email protected]> |
1225 | ||
98a8e1e5 RH |
1226 | * alpha-tdep.c (alpha_push_dummy_call): Transmography from |
1227 | alpha_push_arguments. Don't dump argument register data to | |
1228 | the target stack. Fix float and 128-bit long double semantics. | |
1229 | Store $t12 and $ra as specified by the ABI. Use regcache everywhere. | |
1230 | (alpha_fix_call_dummy): Remove. | |
1231 | (alpha_call_dummy_words): Remove. | |
1232 | (alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call. | |
c88e30c0 | 1233 | |
f1a559ae RH |
1234 | 2003-06-01 Richard Henderson <[email protected]> |
1235 | ||
1236 | * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder. | |
1237 | ||
5e045346 AC |
1238 | 2003-06-01 Andrew Cagney <[email protected]> |
1239 | ||
95404a3e AC |
1240 | * mips-tdep.c (is_mips16_addr): New function. |
1241 | (make_mips16_addr, unmake_mips16_addr): New functions. | |
1242 | (pc_is_mips16, mips_fetch_instruction): Use. | |
1243 | (gdb_print_insn_mips, mips_breakpoint_from_pc): Use. | |
1244 | (gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH. | |
1245 | (mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH, | |
1246 | UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and | |
1247 | TARGET_MIPS. | |
1248 | * config/mips/tm-mips.h: Update copyright. | |
1249 | (TARGET_MIPS, TM_PRINT_INSN_MACH): Delete. | |
1250 | (DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete. | |
1251 | (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete. | |
1252 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete. | |
1253 | (TM_PRINT_INSN_MACH): Delete. | |
1254 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete. | |
1255 | ||
5e045346 AC |
1256 | * configure.tgt: Replace mips64*vr4xxx*el-*-elf*, |
1257 | mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*, | |
1258 | mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*, | |
1259 | mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and | |
1260 | mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete | |
1261 | mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto | |
1262 | mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*, | |
1263 | mips*-*-riscos* and mips*-*-sysv* onto mips. | |
1264 | * config/mips/mips64.mt: New file. | |
1265 | * config/mips/mips.mt: New file. | |
1266 | * config/mips/littlemips.mt: Delete file. | |
1267 | * config/mips/decstation.mt: Delete file. | |
1268 | * config/mips/vr4300el.mt: Delete file. | |
1269 | * config/mips/vr5000el.mt: Delete file. | |
1270 | * config/mips/vr5000.mt: Delete file. | |
1271 | * config/mips/vr4100.mt: Delete file. | |
1272 | * config/mips/vr4xxxel.mt: Delete file. | |
1273 | * config/mips/vr4300.mt: Delete file. | |
1274 | * config/mips/vr4xxx.mt: Delete file. | |
1275 | * config/mips/bigmips.mt: Delete file. | |
1276 | * config/mips/bigmips64.mt: Delete file. | |
1277 | * config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h". | |
1278 | * config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h". | |
1279 | * config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h" | |
1280 | * config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h". | |
1281 | * config/mips/tm-tx39.h: Include "tm-mips.h" instead of | |
1282 | "tm-bigmips.h". | |
1283 | * config/mips/tm-irix3.h: Ditto. | |
1284 | * config/mips/tm-mipsv4.h: Ditto. | |
1285 | * config/mips/tm-embed.h: Ditto. | |
1286 | * config/mips/tm-irix6.h: Include "tm-mips64.h" instead of | |
1287 | "tm-bigmips64.h". | |
1288 | * config/mips/tm-vr5000el.h: Delete file. | |
1289 | * config/mips/tm-tx39l.h: Delete file. | |
1290 | * config/mips/tm-vr4300el.h: Delete file. | |
1291 | * config/mips/tm-vr4xxxel.h: Delete file. | |
1292 | * config/mips/tm-vr4300.h: Delete file. | |
1293 | * config/mips/tm-vr4100.h: Delete file. | |
1294 | * config/mips/tm-vr4xxx.h: Delete file. | |
1295 | * config/mips/tm-vr5000.h: Delete file. | |
1296 | * config/mips/tm-embedl64.h: Delete file. | |
1297 | * config/mips/tm-embedl.h: Delete file. | |
1298 | * config/mips/tm-embed64.h: Delete file. | |
1299 | * config/mips/tm-bigmips64.h: Delete file. | |
1300 | * config/mips/tm-bigmips.h: Delete file. | |
1301 | ||
2473a4a9 MK |
1302 | 2003-06-01 Mark Kettenis <[email protected]> |
1303 | ||
97a5b208 MK |
1304 | Fix gdb/1216. |
1305 | * shnbsd-nat.c: Include "sh-tdep.h". | |
1306 | ||
2473a4a9 MK |
1307 | From Richard Henderson <[email protected]>: |
1308 | * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic. | |
1309 | ||
e0f7ec59 AC |
1310 | 2003-05-31 Andrew Cagney <[email protected]> |
1311 | ||
1312 | * mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add | |
1313 | forward declaration. | |
1314 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
1315 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
1316 | (mips_find_saved_regs): Use set_reg_offset. | |
1317 | (mips_frame_init_saved_regs): Delete function. | |
1318 | (mips_pop_frame): Call mips_find_saved_regs instead of | |
1319 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
1320 | ||
68dcc709 AC |
1321 | 2003-05-31 Andrew Cagney <[email protected]> |
1322 | ||
1323 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
1324 | deprecated_max_register_raw_size, register_virtual_size, and | |
1325 | deprecated_max_register_virtual_size. | |
1326 | ||
cfc14b3a MK |
1327 | 2003-05-31 Mark Kettenis <[email protected]> |
1328 | ||
6405b0a6 MK |
1329 | * i386-tdep.c: Include "dwarf2-frame.h". |
1330 | (i386_gdbarch_init): Hook in the DWARF CFI frame unwinder. | |
1331 | * Makefile.in (i386-tdep.o): Update dependencies. | |
1332 | ||
cfc14b3a MK |
1333 | * dwarf2-frame.c, dwarf2-frame.h: New files. |
1334 | * Makefile.in (SFILES): Add dwarf2-frame.c. | |
1335 | (dwarf2_frame_h): Define. | |
1336 | (COMMON_OBS): Add dwarf2-frame.o. | |
1337 | (dwarf2-frame.o): Add dependencies. | |
1338 | ||
6a2751d2 AJ |
1339 | 2003-05-31 Andreas Jaeger <[email protected]> |
1340 | ||
1341 | * x86-64-linux-nat.c: Fix comment. | |
1342 | ||
1c3545ae MK |
1343 | 2003-05-31 Mark Kettenis <[email protected]> |
1344 | ||
10f93086 MK |
1345 | * x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed |
1346 | function signature. | |
1347 | ||
1c3545ae MK |
1348 | * i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we |
1349 | have a sigcontext_addr handler. | |
1350 | * x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a | |
1351 | sigcontext_addr handler. | |
1352 | ||
e11c53d2 AC |
1353 | 2003-05-31 Andrew Cagney <[email protected]> |
1354 | ||
1355 | * mips-tdep.c (print_gp_register_row): Replace do_gp_register_row. | |
1356 | (print_fp_register_row): Replace do_fp_register_row. | |
1357 | (mips_print_fp_register): Add "file" and "frame" parameters. | |
1358 | (mips_print_register): Add "file" and "frame" parameters. | |
1359 | (mips_print_registers_info): Replace mips_do_registers_info. | |
1360 | (mips_gdbarch_init): Set print_registers_info instead of | |
1361 | deprecated_do_registers_info. | |
1362 | (mips_read_fp_register_single): Add "frame" parameter. | |
1363 | (mips_read_fp_register_double): Add "frame" parameter. | |
1364 | ||
a3386186 MK |
1365 | 2003-05-31 Mark Kettenis <[email protected]> |
1366 | ||
70913449 MK |
1367 | * i386-tdep.c (i386_register_name): Check for MMX registers first. |
1368 | Fixes a bug where GDB would print the wrong register names for | |
1369 | targets without SSE. | |
1370 | ||
2b5e0749 MK |
1371 | * x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS. |
1372 | (x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
1373 | registers. | |
1374 | ||
1375 | * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable. | |
1376 | (x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and | |
1377 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
1378 | TDEP->sc_sp_offset. | |
1379 | ||
a3386186 MK |
1380 | From Michal Ludvig <[email protected]>: |
1381 | * i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset' | |
1382 | and `sc_num_regs'. | |
1383 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
1384 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
1385 | I386_ST0_REGNUM): Move here from... | |
1386 | * i386-tdep.c: ... here. | |
1387 | (I386_NUM_SAVED_REGS): Define to I386_NUM_REGS. | |
1388 | (i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
1389 | registers if possible. | |
1390 | (i386_gdbarch_init): Initialize TDEP->sc_reg_offset. | |
1391 | * i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset): | |
1392 | Remove variables. | |
1393 | (i386bsd_sc_reg_offset): New variable. | |
1394 | (i386bsd_init_abi): Initialize TDEP->sc_reg_offset and | |
1395 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
1396 | TDEP->sc_sp_offset. | |
1397 | (i386fbsd_sc_reg_offset): New variable. | |
1398 | (i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and | |
1399 | TDEP->sc_num_regs. | |
1400 | (i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove | |
1401 | variables. | |
1402 | (i386fbsd4_sc_reg_offset): New variable. | |
1403 | (i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and | |
1404 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
1405 | TDEP->sc_sp_offset. | |
1406 | * i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable. | |
1407 | (i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs. | |
1408 | * i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset): | |
1409 | Remove variables. | |
1410 | (i386nbsd_sc_reg_offset): New variable. | |
1411 | (i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and | |
1412 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
1413 | TDEP->sc_sp_offset. | |
1414 | * i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset): | |
1415 | Remove variables. | |
1416 | (i386obsd_sc_reg_offset): New variable. | |
1417 | (i386obsd_init_abi): Initialize TDEP->sc_reg_offset and | |
1418 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
1419 | TDEP->sc_sp_offset. | |
1420 | * i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in | |
1421 | i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check | |
1422 | for frame pointer offset in `struct sigcontext'. | |
1423 | ||
25ab4790 AC |
1424 | 2003-05-31 Andrew Cagney <[email protected]> |
1425 | ||
1426 | * mips-tdep.c (mips_gdbarch_init): Do not set the deprecated | |
1427 | architecture methods call_dummy_words, sizeof_call_dummy_words, | |
1428 | push_return_address, store_struct_return, and fix_call_dummy. Set | |
1429 | push_dummy_call instead of deprecated_push_arguments. | |
1430 | (mips_store_struct_return): Delete function. | |
1431 | (mips_fix_call_dummy): Delete function. | |
1432 | (mips_push_return_address): Delete function. | |
1433 | (mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set | |
1434 | RA_REGNUM and T9_REGNUM. | |
1435 | (mips_n32n64_push_dummy_call): Ditto for | |
1436 | mips_n32n64_push_arguments. | |
1437 | (mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments. | |
1438 | (mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments. | |
1439 | ||
6a65450a AC |
1440 | 2003-05-31 Andrew Cagney <[email protected]> |
1441 | ||
1442 | * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename | |
1443 | "dummy_addr" to "bp_addr". | |
1444 | * infcall.c (call_function_by_hand): Pass "funaddr" to | |
1445 | gdbarch_push_dummy_call. | |
1446 | * gdbarch.h, gdbarch.c: Re-generate. | |
1447 | * i386-tdep.c (i386_push_dummy_call): Update. | |
1448 | * arm-tdep.c (arm_push_dummy_call): Update. | |
1449 | * d10v-tdep.c (d10v_push_dummy_call): Update. | |
1450 | ||
c4f35dd8 MK |
1451 | 2003-05-31 Mark Kettenis <[email protected]> |
1452 | ||
1453 | * x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove | |
1454 | variable declarations. | |
1455 | (x86_64_register_number, x86_64_register_name): Remove prototypes. | |
1456 | (x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call, | |
1457 | x86_64_linux_in_sigtramp, x86_64_linux_frame_chain, | |
1458 | x86_64_init_frame_pc, x86_64_init_frame_pc, | |
1459 | x86_64_function_has_prologue): Remove prototypes. | |
1460 | (X86_64_NUM_GREGS): New define. | |
1461 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes. | |
1462 | * x86-64-tdep.c: Don't include "dwarf2cfi.h". Include | |
1463 | "dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h". | |
1464 | (RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM, | |
1465 | XMM1_REGNUM): Remove defines. | |
1466 | (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM, | |
1467 | X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM, | |
1468 | X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, | |
1469 | X86_64_XMM1_REGNUM): New defines. | |
1470 | (struct x86_64_register_info): Renamed from `struct | |
1471 | register_info'. Remove `size' member. | |
1472 | (x86_64_register_info_table): Remove variable. | |
1473 | (x86_64_register_info): New variable. | |
1474 | (X86_64_NUM_REGS): New define. | |
1475 | (X86_64_NUM_GREGS): Remove define. | |
1476 | (x86_64_num_regs, x86_64_num_gregs): Remove variables. | |
1477 | (x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length): | |
1478 | Remove variables. | |
1479 | (x86_54_dwarf2_reg_to_regnum): Remove function. | |
1480 | (x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables. | |
1481 | (x86_64_dwarf_reg_to_regnum): New function. | |
1482 | (x86_64_register_name): Rewrite. | |
1483 | (x86_64_register_raw_size): Remove function. | |
1484 | (x86_64_register_byte_table): Remove variable. | |
1485 | (x86_64_register_byte): Remove function. | |
1486 | (x86_64_register_virtual_type): Remove function. | |
1487 | (x86_64_register_type): New function. | |
1488 | (x86_64_register_convertible, x86_64_register_convert_to_virtual, | |
1489 | x86_64_register_convert_to_raw): Remove functions. | |
1490 | (x86_64_push_return_address, x86_64_pop_frame): Remove functon. | |
1491 | (x86_64_use_struct_convention): Make static. Adjust for renamed | |
1492 | defines. | |
1493 | (x86_64_frame_init_saved_regs): Remove function. | |
1494 | (x86_64_push_arguments): Make static. Change to accept a regcache | |
1495 | as argument. | |
1496 | (x86_64_store_return_value, x86_64_extract_return_value): Make | |
1497 | static. Rewrite based on i386 counterparts. | |
1498 | (x86_64_push_dummy_call): New function. | |
1499 | (X86_64_NUM_SAVED_REGS): New define. | |
1500 | (x86_64_register_number): Remove function. | |
1501 | (x86_64_store_struct_return): Remove function. | |
1502 | (x86_64_frameless_function_invocation, | |
1503 | x86_64_function_has_prologue): Remove functions. | |
1504 | (PROLOG_BUFSIZE): Remove define. | |
1505 | (struct x86_64_frame_cache): New structure. | |
1506 | (x86_64_alloc_frame_cache, x86_64_analyze_prologue, | |
1507 | x86_64_frame_cache, x86_64_frame_this_id, | |
1508 | x86_64_frame_prev_register, x86_64_frame_p, | |
1509 | x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id, | |
1510 | x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New | |
1511 | functions. | |
1512 | (x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New | |
1513 | variables. | |
1514 | (x86_64_skip_prologue): Rewrite in terms of | |
1515 | x86_64_analyze_prologue. | |
1516 | (x86_64_frame_base_address): New function. | |
1517 | (x86_64_frame_base): New variable. | |
1518 | (x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite. | |
1519 | (x86_64_init_abi): Set register_type and push_dummy_call. Don't | |
1520 | set deprecated_fp_regnum, deprecated_register_size, | |
1521 | deprecated_register_bytes, register_raw_size, register_byte, | |
1522 | register_virtual_type, register_convertiable, | |
1523 | register_convert_to_virtual, convert_to_raw, | |
1524 | deprecated_get_saved_register, deprecated_target_read_fp, | |
1525 | deprecated_push_arguments, deprecated_push_return_address, | |
1526 | deprecated_pop_frame, deprecated_store_struct_return, | |
1527 | deprecated_frame_init_saved_regs, deprecated_frame_chain, | |
1528 | frameless_function_invocation, deprecated_frame_saved_pc, | |
1529 | deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp, | |
1530 | dwarf2_build_frame_info, deprecated_init_extra_frame_info, | |
1531 | deprecated_init_frame_pc and virtual_frame_pointer. Call | |
1532 | frame_unwind_append_predicate to register x86_64_sigtramp_frame_p | |
1533 | and x86_64_frame_p. Call frame_base_set_default to register | |
1534 | x86_64_frame_base. | |
1535 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines. | |
1536 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New functions. | |
1537 | (_initialize_x86_64_tdep): Remove function. | |
1538 | * x86-64-linux-tdep.c: Don't include "dwarf2cfi.h". | |
1539 | (LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET, | |
1540 | LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't | |
1541 | define. | |
1542 | (X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define. | |
1543 | (x86_64_linux_sigcontext_addr): Rewrite. | |
1544 | (x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call, | |
1545 | x86_64_linux_frame_saved_pc): Remove functions. | |
1546 | (x86_64_linux_pc_in_sigtramp): Renamed from | |
1547 | x86_64_linux_in_sigtramp. Try harder to recognize a signal | |
1548 | trampoline. | |
1549 | (x86_64_linux_frame_chain, x86_64_init_frame_pc): | |
1550 | Remove_functions. | |
1551 | (x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize | |
1552 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
1553 | * x86-64-linux-nat.c: Sync with i386-linux-tdep.c. | |
1554 | (x86_64_regmap): Rename to regmap. | |
1555 | (GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of | |
1556 | x86_64_num_gregs. | |
1557 | (supply_gregset, fill_gregset): Likewise. Use regmap instead of | |
1558 | x86_64_regmap. | |
1559 | (x86_64_fxsave_offset): Remove function. | |
1560 | (supply_fpregset): Simply call x86_64_supply_fxsave. | |
1561 | (fill_fpregset): Simply call x86_64_fill_fxsave. | |
1562 | (fetch_inferior_registers, store_inferior_registers): Avoid | |
1563 | asignment in if-statement. | |
1564 | (LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn, | |
1565 | SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET, | |
1566 | LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines. | |
1567 | (fetch_core_registers): Remove function. | |
1568 | (linux_elf_core_fns): Remove. | |
1569 | (offsetoff): Don't define. | |
1570 | (_initialize_x86_64_linux_nat, kernel_u_size): Remove functions. | |
1571 | * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o. | |
1572 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o, | |
1573 | add core-regset.o. | |
1574 | * config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for | |
1575 | protection against multiple includes instead of NM_X86_64_h. Add | |
1576 | various comments. Include "config/nm-linux.h". Don't include | |
1577 | <signal.h>. | |
1578 | (REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR, | |
1579 | GET_THREAD_SIGNALS): Remove defines. | |
1580 | (x86_64_register_u_addr, kernel_u_size, | |
1581 | lin_thread_get_thread_signals): Remove prototypes. | |
1582 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'. | |
1583 | [HAVE_LINK_H]: Don't include "solib.h". | |
1584 | [HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define. | |
1585 | * config/i386/tm-x86-64linux.h: Fix comments. | |
1586 | * Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o, | |
1587 | x86-64-tdep.o): Update dependencies. | |
1588 | ||
c25083af AC |
1589 | 2003-05-30 Andrew Cagney <[email protected]> |
1590 | ||
c8f55a7b AC |
1591 | * config/sparc/tm-sparc.h (sparc_extract_struct_value_address): |
1592 | Change parameter type to a "struct regcache *". | |
1593 | ||
c25083af AC |
1594 | * gdbarch.sh: Regardless of the multi-arch level, always define |
1595 | the macro when not already defined. | |
1596 | * gdbarch.h, gdbarch.c: Re-generate. | |
1597 | ||
fbe586ae RH |
1598 | 2003-05-30 Richard Henderson <[email protected]> |
1599 | ||
1600 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues. | |
1601 | (alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder. | |
1602 | (alpha_mdebug_frame_this_id): Likewise. | |
1603 | (alpha_mdebug_frame_prev_register): Likewise. | |
1604 | (alpha_mdebug_frame_base_address): Likewise. | |
1605 | (alpha_mdebug_frame_locals_address): Likewise. | |
1606 | (alpha_mdebug_frame_args_address): Likewise. | |
1607 | (struct alpha_mdebug_unwind_cache): Remove in_prologue_cache. | |
1608 | * alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start. | |
1609 | (alpha_heuristic_frame_unwind_cache): Make static; add missing | |
1610 | loop increment. | |
1611 | (alpha_heuristic_frame_this_id): Make static. | |
1612 | (alpha_heuristic_frame_prev_register): Likewise. | |
1613 | (alpha_heuristic_frame_base_address): Likewise. | |
1614 | * alpha-tdep.h: Update. | |
1615 | ||
acd5c798 MK |
1616 | 2003-05-30 Mark Kettenis <[email protected]> |
1617 | ||
1618 | * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype. | |
1619 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove | |
1620 | defenitions. | |
1621 | (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions. | |
1622 | * i386-tdep.c: Mark functions that are 64-bit safe as such. | |
1623 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
1624 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
1625 | I386_ST0_REGNUM): New defines. | |
1626 | (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek, | |
1627 | codestream_get): Remove define. | |
1628 | (codestream_next_addr, condestream_addr, condestream_buf, | |
1629 | codestream_off, codestream_cnt): Remove variables. | |
1630 | (codestream_fill, codestream_seek, codestream_read): Remove | |
1631 | functions. | |
1632 | (i386_follow_jump): Rewrite to avoid usage of removed codestream | |
1633 | functionality. | |
1634 | (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain, | |
1635 | i386_sigtramp_saved_pc, i386_sigtramp_saved_sp, | |
1636 | i386_frame_saved_pc, i386_saved_pc_after_call, | |
1637 | i386_frame_num_args, i386_frame_init_saved_regs, | |
1638 | i386_push_return_address, i386_do_pop_frame, i386_pop_frame, | |
1639 | i386_push_arguments): Remove functions. | |
1640 | (i386_skip_prologue): Rewrite to avoid usage of removed codestream | |
1641 | functionality. Use i386_analyze_prologue instead of | |
1642 | i386_get_frame_setup. | |
1643 | (I386_NUM_SAVED_REGS): New define. | |
1644 | (struct i386_frame_cache): New structure. | |
1645 | (i386_alloc_frame_cache, i386_analyze_struct_return, | |
1646 | i386_skip_probe, i386_analyze_frame_setup, | |
1647 | i386_analyze_register_saves, i386_analyze_prologue, | |
1648 | i386_unwind_pc, i386_frame_cache, i386_frame_this_id, | |
1649 | i386_frame_prev_register, i386_sigtramp_frame_cache, | |
1650 | i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register, | |
1651 | i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address, | |
1652 | i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call): | |
1653 | New functions. | |
1654 | (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base): | |
1655 | New variables. | |
1656 | (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of | |
1657 | I386_EAX_REGNUM and I386_EDX_REGNUM. | |
1658 | (i386_extract_return_value, i386_store_return_value): Use | |
1659 | I386_ST0_REGNUM where appropriate. | |
1660 | (i386_extract_struct_value_address): Rewrite to use extract_address. | |
1661 | (i386_svr4_pc_in_sigtramp): Add comment. | |
1662 | (i386_svr4_sigcontext_addr): Rewrite. | |
1663 | (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and | |
1664 | TDEP->sc_sp_offset. | |
1665 | (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set | |
1666 | sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms | |
1667 | of new defines. Set push_dummy_call, don't set | |
1668 | deprecated_push_arguments, deprecated_push_return_address, | |
1669 | deprecated_pop_frame. Don't set parm_boundary. Don't set | |
1670 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
1671 | deprecated_saved_pc_after_call. Set unwind_dummy_id, | |
1672 | save_dummy_frame_tos, unwind_pc. Call | |
1673 | frame_unwind_append_predicate and frame_base_set_default. Don't | |
1674 | set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum. | |
1675 | Don't set frameless_function_invocation. Don't set | |
1676 | deprecated_register_bytes, deprecated_register_size, | |
1677 | deprecated_call_dummy_words and deprecated_sizeof_call_dummy. | |
1678 | * i386-linux-tdep.c: Fix formatting in some comments. | |
1679 | (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0, | |
1680 | LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1, | |
1681 | LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, | |
1682 | LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, | |
1683 | LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop | |
1684 | redundant parentheses. | |
1685 | (I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define. | |
1686 | (i386_linux_sigcontext_addr): Use it. Rewrite. | |
1687 | (find_minsym_and_objfile): Change name of second argument. | |
1688 | (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers | |
1689 | changed. Use frame_pc_unwind instead of | |
1690 | DEPRECATED_SAVED_PC_AFTER_CALL. | |
1691 | (i386_linux_init_abi): Don't set deprecated_register_bytes. | |
1692 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite. | |
1693 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame | |
1694 | unwinder. | |
1695 | * i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and | |
1696 | "dummy-frame.h". | |
1697 | (i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed. | |
1698 | (_initialize_i386_cygwin_tdep): New prototype. | |
1699 | (i386_cygwin_init_abi): Don't set deprecated_frame_chain and | |
1700 | deprecated_frame_chain_valid. | |
1701 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set | |
1702 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
1703 | Rely on the SVR4 defaults. | |
1704 | * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o. | |
1705 | * Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies. | |
1706 | ||
c89b70f1 AC |
1707 | 2003-05-30 Andrew Cagney <[email protected]> |
1708 | ||
1709 | * infcall.c (call_function_by_hand): Always call | |
1710 | DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case. | |
1711 | ||
85b32d22 RH |
1712 | 2003-05-30 Richard Henderson <[email protected]> |
1713 | ||
c89b70f1 AC |
1714 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop |
1715 | increment. | |
85b32d22 | 1716 | |
bfe51b1e JB |
1717 | 2003-05-29 Jim Blandy <[email protected]> |
1718 | ||
1719 | Use gdbarch methods for solib stuff on PowerPC Linux. | |
1720 | * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, | |
1721 | SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will | |
1722 | show through. | |
1723 | * ppc-linux-tdep.c (ppc_linux_init_abi): Register | |
1724 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, | |
1725 | giving the same effect as the #definitions above. | |
1726 | ||
1abf022c AF |
1727 | 2003-05-29 Adam Fedor <[email protected]> |
1728 | ||
1729 | * objc-lang.c (CONVERT_FUNCPTR): Remove macro | |
1730 | (find_implementation_from_class): Replace it with the standard | |
1731 | case i.e. do nothing. | |
1732 | ||
d2427a71 RH |
1733 | 2003-05-29 Richard Henderson <[email protected]> |
1734 | ||
1735 | * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New. | |
1736 | (alpha_linux_sigtramp_offset): Use it. Make static. | |
1737 | (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn; | |
1738 | update for new frame model. | |
1739 | * alpha-mdebug-tdep.c: New file. | |
1740 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c. | |
1741 | (alpha_osf1_init_abi): Install it. | |
1742 | * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c. | |
1743 | (linked_proc_desc_table): Remove. | |
1744 | (alpha_frame_past_sigtramp_frame): Remove. | |
1745 | (alpha_dynamic_sigtramp_offset): Remove. | |
1746 | (ALPHA_PROC_SIGTRAMP_MAGIC): Remove. | |
1747 | (alpha_proc_desc_is_dyn_sigtramp): Remove. | |
1748 | (alpha_set_proc_desc_is_dyn_sigtramp): Remove. | |
1749 | (push_sigtramp_desc): Remove. | |
1750 | (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM. | |
1751 | (alpha_cannot_store_register): Likewise. | |
1752 | (alpha_sigcontext_addr): Remove. | |
1753 | (alpha_find_saved_regs): Remove. | |
1754 | (alpha_frame_init_saved_regs): Remove. | |
1755 | (alpha_init_frame_pc_first): Remove. | |
1756 | (read_next_frame_reg): Remove. | |
1757 | (alpha_frame_saved_pc): Remove. | |
1758 | (alpha_saved_pc_after_call): Remove. | |
1759 | (temp_proc_desc, temp_saved_regs): Remove. | |
1760 | (alpha_about_to_return): Remove. | |
1761 | (cached_proc_desc): Remove. | |
1762 | (alpha_frame_chain): Remove. | |
1763 | (alpha_print_extra_frame_info): Remove. | |
1764 | (alpha_init_extra_frame_info): Remove. | |
1765 | (alpha_frame_locals_address): Remove. | |
1766 | (alpha_frame_args_address): Remove. | |
1767 | (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR. | |
1768 | (alpha_push_dummy_frame): Remove. | |
1769 | (alpha_pop_frame): Remove. | |
1770 | (alpha_after_prologue): Rename from after_prologue; remove mdebug bits. | |
1771 | (alpha_read_insn): New. | |
1772 | (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust | |
1773 | for different insn encodings. | |
1774 | (alpha_in_lenient_prologue): Remove. | |
1775 | (struct alpha_sigtramp_unwind_cache): New. | |
1776 | (alpha_sigtramp_frame_unwind_cache): New. | |
1777 | (alpha_sigtramp_register_address): New. | |
1778 | (alpha_sigtramp_frame_this_id): New. | |
1779 | (alpha_sigtramp_frame_prev_register): New. | |
1780 | (alpha_sigtramp_frame_unwind): New. | |
1781 | (alpha_sigtramp_frame_p): New. | |
1782 | (struct alpha_heuristic_unwind_cache): New. | |
1783 | (alpha_heuristic_proc_start): Rename from heuristic_proc_start; | |
1784 | don't count nop insns that occur between functions. | |
1785 | (alpha_heuristic_frame_unwind_cache): New; incorporate much of | |
1786 | heuristic_proc_desc, but without the mdebug wrapping. | |
1787 | (alpha_heuristic_frame_this_id): New. | |
1788 | (alpha_heuristic_frame_prev_register): New. | |
1789 | (alpha_heuristic_frame_unwind): New. | |
1790 | (alpha_heuristic_frame_p): New. | |
1791 | (alpha_heuristic_frame_base_address): New. | |
1792 | (alpha_heuristic_frame_base): New. | |
1793 | (alpha_unwind_dummy_id): New. | |
1794 | (alpha_unwind_pc): New. | |
1795 | (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of | |
1796 | frame related deprecated initializations; install replacements. | |
1797 | (alpha_dump_tdep): Remove. | |
1798 | * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame. | |
1799 | (alpha_read_insn, alpha_after_prologue, | |
1800 | alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id, | |
1801 | alpha_heuristic_frame_prev_register, | |
1802 | alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare. | |
1803 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
1804 | * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove. | |
1805 | * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove. | |
1806 | ||
93ec1121 AC |
1807 | 2003-05-29 Andrew Cagney <[email protected]> |
1808 | ||
1809 | * gdb_assert.h (gdb_assert_fail): Provide different definitions | |
1810 | dependant on the availability of ASSERT_FUNCTION. | |
1811 | (ASSERT_FUNCTION): Do not define when there is no function name. | |
1812 | ||
98f08d3d KB |
1813 | 2003-05-29 Kevin Buettner <[email protected]> |
1814 | ||
1815 | From Jimi X <[email protected]>: | |
1816 | * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code. | |
1817 | ||
0897f59b JB |
1818 | 2003-05-28 Jim Blandy <[email protected]> |
1819 | ||
1820 | * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth | |
1821 | argument to ptrace to int; the system headers should give it the | |
1822 | right type, and pointers don't fit in ints on powerpc64-*-*. | |
1823 | ||
14898363 L |
1824 | 2003-05-28 H.J. Lu <[email protected]> |
1825 | ||
1826 | * dwarf2read.c (process_die): Handle DW_TAG_try_block and | |
1827 | DW_TAG_catch_block. | |
1828 | ||
a7a48797 EZ |
1829 | 2003-05-26 Elena Zannoni <[email protected]> |
1830 | ||
1831 | * stabsread.c (dbx_lookup_type): Make static. | |
1832 | (read_type): Ditto. | |
1833 | (add_undefined_type): Ditto. | |
1834 | * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do | |
1835 | not export. | |
1836 | ||
f5479e9c EZ |
1837 | 2003-05-26 Elena Zannoni <[email protected]> |
1838 | ||
1839 | * hpread.c (hpread_has_name): Make static. | |
1840 | (hpread_psymtab_to_symtab): Ditto. | |
1841 | (file_exists): Ditto. | |
1842 | (hpread_call_pxdb): Ditto. | |
1843 | (hpread_pxdb_needed): Ditto. | |
1844 | (hpread_quick_traverse): Ditto. | |
1845 | (hpread_get_header): Ditto. | |
1846 | (hpread_get_lntt): Ditto. | |
1847 | (hpread_get_slt): Ditto. | |
1848 | (class_of): Ditto. | |
1849 | ||
eb2e12d7 AS |
1850 | 2003-05-25 Andreas Schwab <[email protected]> |
1851 | ||
78bf922a AS |
1852 | * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of |
1853 | stack_align and deprecated_extra_stack_alignment_needed. | |
1854 | (m68k_stack_align): Delete. | |
1855 | ||
eb2e12d7 AS |
1856 | * m68k-tdep.c (m68k_register_raw_size): Remove cast. |
1857 | (m68k_register_virtual_size): Likewise. | |
1858 | (altos_skip_prologue): Remove obsolete function. | |
1859 | (isi_frame_num_args): Likewise. | |
1860 | (news_frame_num_args): Likewise. | |
1861 | (m68k_fix_call_dummy): Make static. | |
1862 | (m68k_push_dummy_frame): Likewise. | |
1863 | (m68k_pop_frame): Likewise. | |
1864 | (m68k_skip_prologue): Likewise. | |
1865 | (m68k_frame_init_saved_regs): Likewise. | |
1866 | (m68k_saved_pc_after_call): Likewise. | |
1867 | (m68k_get_longjmp_target): Make multi-arch. | |
1868 | (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep | |
1869 | structure. Register m68k_get_longjmp_target if enabled. | |
1870 | * m68k-tdep.h (struct gdbarch_tdep): Define. | |
1871 | * config/m68k/tm-m68k.h: Don't include "regcache.h". | |
1872 | ||
1873 | * Makefile.in (config.status): Also depend on configure.tgt | |
1874 | and configure.host. | |
1875 | (m68klinux-tdep.o): Update dependencies. | |
1876 | * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1. | |
1877 | * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define. | |
1878 | (M68K_LINUX_JB_PC): Define. | |
1879 | (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp | |
1880 | and take additional parameter. | |
1881 | (m68k_linux_sigtramp_saved_pc): Update. | |
1882 | (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register | |
1883 | m68k_linux_pc_in_sigtramp, in_plt_section, | |
1884 | find_solib_trampoline_target. | |
1885 | * config/m68k/tm-linux.h: Don't include any tm headers. | |
1886 | (START_INFERIOR_TRAPS_EXPECTED): Remove definition. | |
1887 | (JB_ELEMENT_SIZE): Likewise. | |
1888 | (JB_PC): Likewise. | |
1889 | (GET_LONGJMP_TARGET): Likewise. | |
1890 | (IN_SIGTRAMP): Likewise. | |
1891 | (SVR4_SHARED_LIBS): Define this and include "solib.h". | |
1892 | ||
eb2c22dc MK |
1893 | 2003-05-25 Mark Kettenis <[email protected]> |
1894 | ||
1895 | * sparc-tdep.c (sparc32_do_push_arguments): New function. | |
1896 | (sparc32_push_arguments): Re-implement by calling | |
1897 | sparc32_do_push_arguments. | |
1898 | ||
44b7b84e MK |
1899 | 2003-05-25 Mark Kettenis <[email protected]> |
1900 | ||
1901 | * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM, | |
1902 | SPARC_O1_REGNUM): New defines. | |
1903 | (sparc32_extract_return_value): Rewrite to operate on a regcache. | |
1904 | (sparc32_store_return_value): New function. | |
1905 | (sparc_extract_struct_value_address): Rewrite to operate on a | |
1906 | regcache. | |
1907 | (sparc_gdbarch_init): Don't set | |
1908 | deprecated_extract_struct_value_address. Set | |
1909 | extract_struct_value_address instead. Don't set | |
1910 | deprecated_extract_return_value and deprecated_store_return_value | |
1911 | for 32-bit targets. Set extract_return_value and | |
1912 | store_return_value instead. | |
1913 | * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE, | |
1914 | DEPRECTAED_EXTRACT_RETURN_VALUE, | |
1915 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these. | |
1916 | (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE, | |
1917 | EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead. | |
1918 | (sparc_store_return_value): Remove prototype. | |
1919 | (sparc32_store_return_value): New prototype. | |
1920 | (sparc32_extract_return_value, sparc_extract_struct_value_address): | |
1921 | Adjust prototypes. | |
1922 | ||
f6ad61e3 MK |
1923 | 2003-05-24 Mark Kettenis <[email protected]> |
1924 | ||
1925 | * sparcnbsd-tdep.c: Include "gdb_string.h". | |
1926 | ||
b276f1bb AC |
1927 | 2003-05-23 Andrew Cagney <[email protected]> |
1928 | ||
1929 | * p-valprint.c (pascal_val_print): Replace extract_address with | |
1930 | the inline equivalent extract_unsigned_integer. | |
1931 | * jv-valprint.c (java_value_print): Ditto. | |
1932 | * ada-valprint.c (ada_val_print_1): Ditto. | |
1933 | * ada-lang.h (EXTRACT_ADDRESS): Ditto. | |
1934 | ||
e76c5fcc TR |
1935 | 2003-05-23 Theodore A. Roth <[email protected]> |
1936 | ||
1937 | * blockframe.c (frameless_look_for_prologue): Remove unused | |
1938 | after_prologue variable. | |
1939 | ||
2cdd89cb MK |
1940 | 2003-05-23 Mark Kettenis <[email protected]> |
1941 | ||
1942 | * blockframe.c (get_pc_function_start): Rewrite to avoid | |
1943 | asignments in if-statements. | |
1944 | ||
182d43bc EZ |
1945 | 2003-05-23 Raoul Gough <[email protected]> |
1946 | ||
1947 | Committed by Elena Zannoni <[email protected]>. | |
1948 | * coffread.c(coff_symtab_read): Do relocate static symbols from PE | |
1949 | files, don't relocate absolute symbols (and do use mst_abs). | |
1950 | ||
e8f3fcdd AC |
1951 | 2003-05-23 Andrew Cagney <[email protected]> |
1952 | ||
1953 | * objc-lang.c: Include "gdb_assert.h". | |
1954 | (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0. | |
1955 | (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros. | |
1956 | (gdb_check, gdb_check_fatal): Delete functions. | |
1957 | (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with | |
1958 | gdb_assert. | |
1959 | (parse_selector, parse_method, find_methods, find_imps): Ditto. | |
1960 | * Makefile.in (objc-lang.o): Update dependencies. | |
1961 | ||
3c23e6fb ILT |
1962 | 2003-05-22 Ian Lance Taylor <[email protected]> |
1963 | ||
1964 | * disasm.c (gdb_disassemble_info): Initialize disassemble_info | |
1965 | with fprintf_filtered, not fprintf_unfiltered. | |
1966 | ||
af1342ab AC |
1967 | 2003-05-22 Andrew Cagney <[email protected]> |
1968 | ||
1969 | * stack.c (frame_info): Inline extract_address, replacing it with | |
1970 | extract_unsigned_integer. | |
1971 | * findvar.c (unsigned_pointer_to_address): Ditto. | |
1972 | * dwarf2loc.c (dwarf_expr_read_reg): Ditto. | |
1973 | * dwarf2expr.c (dwarf2_read_address): Ditto. | |
1974 | * frame.c (frame_pc_unwind): Update comment. | |
1975 | * dummy-frame.c (deprecated_read_register_dummy): Update comment. | |
1976 | ||
47e242ec JJ |
1977 | 2003-05-22 Jeff Johnston <[email protected]> |
1978 | ||
1979 | * infptrace.c (detach): Call print_sys_errmsg rather than | |
1980 | perror_with_name to issue warning message when errno is non-zero | |
1981 | after calling ptrace detach. | |
1982 | ||
e2ac8128 JB |
1983 | 2003-05-21 J. Brobecker <[email protected]> |
1984 | ||
1985 | * config/pa/tm-hppa.h: Delete some unused macros. Move some | |
1986 | macro definitions from here... | |
1987 | * hppa-tdep.c: ...to there. | |
1988 | ||
92b3541e KB |
1989 | 2003-05-20 Kevin Buettner <[email protected]> |
1990 | ||
1991 | * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function | |
1992 | register_ptrace_addr(). Fix all callers. | |
1993 | ||
55809acb AS |
1994 | 2003-05-21 Andreas Schwab <[email protected]> |
1995 | ||
1996 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
1997 | dependencies. | |
1998 | * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the | |
1999 | end. | |
2000 | * m68klinux-tdep.c (m68k_linux_init_abi): New function. | |
2001 | (_initialize_m68k_linux_tdep): New function. | |
2002 | (m68k_linux_frame_saved_pc): Make static. | |
2003 | (m68k_linux_extract_return_value): Likewise. | |
2004 | (m68k_linux_store_return_value): Likewise. | |
2005 | (m68k_linux_extract_struct_value_address): Likewise. | |
2006 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): | |
2007 | Remove. | |
2008 | (DEPRECATED_STORE_RETURN_VALUE): Remove. | |
2009 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
2010 | (DEPRECATED_FRAME_SAVED_PC): Remove. | |
2011 | ||
0fbc10f7 KW |
2012 | 2003-05-20 Kris Warkentin <[email protected]> |
2013 | ||
2014 | * nto-tdep.c (fetch_core_registers): Match gdb's idea of | |
2015 | regset numbering rather than our own. | |
2016 | ||
58da2eb2 DC |
2017 | 2003-05-19 David Carlton <[email protected]> |
2018 | ||
2019 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*. | |
2020 | ||
1fcb5155 DC |
2021 | 2003-05-19 David Carlton <[email protected]> |
2022 | ||
2023 | Partial fix for PR c++/827. | |
2024 | * cp-support.h: Include symtab.h. | |
2025 | Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace. | |
2026 | * cp-namespace.c: Update contributors. | |
2027 | (cp_lookup_symbol_nonlocal): New. | |
2028 | (lookup_namespace_scope, cp_lookup_symbol_namespace) | |
2029 | (lookup_symbol_file): Ditto. | |
2030 | * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal. | |
2031 | * block.h: Declare block_scope, block_using, block_global_block. | |
2032 | * block.c (block_scope): New. | |
2033 | (block_using, block_global_block): Ditto. | |
2034 | * Makefile.in (cp_support_h): Depend on symtab_h. | |
2035 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc. | |
2036 | ||
5f9a71c3 DC |
2037 | 2003-05-19 David Carlton <[email protected]> |
2038 | ||
2039 | * language.h (struct language_defn): Add 'la_value_of_this' | |
2040 | and 'la_lookup_symbol_nonlocal' members. | |
2041 | * symtab.h: Declare basic_lookup_symbol_nonlocal, | |
2042 | lookup_symbol_static, lookup_symbol_global, | |
2043 | lookup_symbol_aux_block. | |
2044 | * symtab.c (lookup_symbol_aux): Call language hooks to determine | |
2045 | if we should search fields of this and how to do static/global | |
2046 | lookup. | |
2047 | (lookup_symbol_aux_block): Make extern. | |
2048 | (basic_lookup_symbol_nonlocal): New. | |
2049 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
2050 | * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and | |
2051 | 'la_lookup_symbol_nonlocal' members. | |
2052 | * c-lang.c (c_language_defn, cplus_language_defn) | |
2053 | (asm_language_defn, minimal_language_defn): Ditto. | |
2054 | * jv-lang.c (java_language_defn): Ditto. | |
2055 | * language.c (unknown_language_defn, auto_language_defn) | |
2056 | (local_language_defn): Ditto. | |
2057 | * m2-lang.c (m2_language_defn): Ditto. | |
2058 | * objc-lang.c (objc_language_defn): Ditto. | |
2059 | * scm-lang.c (scm_language_defn): Ditto. | |
2060 | * f-lang.c (f_language_defn): Ditto, and include value.h as well. | |
2061 | * p-lang.c (pascal_language_defn): Ditto for both. | |
2062 | * Makefile.in (f-lang.o): Depend on value_h. | |
2063 | (p-lang.o): Ditto. | |
2064 | ||
89a9d1b1 DC |
2065 | 2003-05-19 David Carlton <[email protected]> |
2066 | ||
2067 | * block.h: Declare block_static_block. | |
2068 | * block.c (block_static_block): New. | |
2069 | * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to | |
2070 | lookup_symbol_aux_local, calling block_static_block instead. | |
2071 | (lookup_symbol_aux_local): Delete 'static_block' argument. | |
2072 | ||
eed3f8ab DC |
2073 | 2003-05-19 David Carlton <[email protected]> |
2074 | ||
2075 | * symtab.c (lookup_symbol_aux): Delete #if 0 hunk. | |
2076 | ||
a09d8bda ML |
2077 | 2003-05-19 Michal Ludvig <[email protected]> |
2078 | ||
2079 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix | |
2080 | register numbers mapping. | |
2081 | ||
69636828 AF |
2082 | 2003-05-18 Adam Fedor <[email protected]> |
2083 | ||
2084 | * symtab.c (completion_list_objc_symbol): New function. | |
2085 | (make_symbol_completion_list): Use it to add ObjC symbols | |
2086 | when looking though the list. | |
2087 | (language_search_unquoted_string): New function. | |
2088 | (make_file_symbol_completion_list): Use it. | |
2089 | ||
55baeb84 AS |
2090 | 2003-05-18 Andreas Schwab <[email protected]> |
2091 | ||
d0b45d99 AS |
2092 | * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update |
2093 | dependencies. | |
2094 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define | |
2095 | as m68k_linux_extract_return_value. | |
2096 | (DEPRECATED_STORE_RETURN_VALUE): Define as | |
2097 | m68k_linux_store_return_value. | |
2098 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
2099 | m68k_linux_extract_struct_value_address. | |
2100 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use | |
2101 | get_next_frame, get_frame_base, get_frame_pc. | |
2102 | (m68k_linux_frame_saved_pc): Use get_frame_base. | |
2103 | (m68k_linux_extract_return_value): New function. | |
2104 | (m68k_linux_store_return_value): New function. | |
2105 | (m68k_linux_extract_struct_value_address): New function. | |
2106 | * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target. | |
2107 | ||
55baeb84 AS |
2108 | * c-exp.y (typebase): Remove duplicate occurence of |
2109 | `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead | |
2110 | of lookup_signed_typename. | |
2111 | ||
b6b08ebf MK |
2112 | 2003-05-18 Mark Kettenis <[email protected]> |
2113 | ||
2114 | * dwarf2loc.c (find_location_expression): Change type of second | |
2115 | argument to `size_t *'. | |
2116 | (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t | |
2117 | for size variable. | |
2118 | ||
5ad1c190 DC |
2119 | 2003-05-18 David Carlton <[email protected]> |
2120 | ||
2121 | * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to | |
2122 | 'linkage_name'. Add comment. | |
2123 | (lookup_symbol_aux_local): Rename 'mangled_name' argument to | |
2124 | 'linkage_name'. | |
2125 | (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
2126 | (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms) | |
2127 | (lookup_block_symbol): Ditto. | |
2128 | ||
b8b527c5 AC |
2129 | 2003-05-16 Andrew Cagney <[email protected]> |
2130 | ||
2131 | * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES. | |
2132 | * gdbarch.h, gdbarch.c: Re-generate. | |
2133 | * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference. | |
2134 | * TODO (REGISTER_BYTES): Delete reference. | |
2135 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
2136 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
2137 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
2138 | * vax-tdep.c (vax_gdbarch_init): Update. | |
2139 | * v850-tdep.c (v850_gdbarch_init): Update. | |
2140 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
2141 | * sh-tdep.c (sh_gdbarch_init): Update. | |
2142 | * s390-tdep.c (s390_gdbarch_init): Update. | |
2143 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
2144 | * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. | |
2145 | (ns32k_gdbarch_init_32382): Update. | |
2146 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
2147 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
2148 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
2149 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
2150 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
2151 | * i386-tdep.c (i386_gdbarch_init): Update. | |
2152 | * i386-linux-tdep.c (i386_linux_init_abi): Update. | |
2153 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
2154 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
2155 | * frv-tdep.c (frv_gdbarch_init): Update. | |
2156 | * cris-tdep.c (cris_gdbarch_init): Update. | |
2157 | * avr-tdep.c (avr_gdbarch_init): Update. | |
2158 | * arm-tdep.c (arm_gdbarch_init): Update. | |
2159 | * sparc-tdep.c (sparc_pop_frame): Update. | |
2160 | * rs6000-tdep.c (rs6000_pop_frame): Update. | |
2161 | * remote.c (init_remote_state): Update. | |
2162 | (remote_prepare_to_store): Update. | |
2163 | * remote-vx.c (vx_prepare_to_store): Update. | |
2164 | * remote-sds.c (sds_fetch_registers): Update. | |
2165 | (sds_prepare_to_store): Update. | |
2166 | * remote-array.c: Update. | |
2167 | * regcache.c (init_legacy_regcache_descr): Update. | |
2168 | (init_regcache_descr): Update. | |
2169 | * mips-tdep.c (mips_eabi_extract_return_value): Update. | |
2170 | (mips_o64_extract_return_value): Update. | |
2171 | * irix5-nat.c (fetch_core_registers): Update. | |
2172 | * irix4-nat.c (fetch_core_registers): Update. | |
2173 | * i386-tdep.h: Update. | |
2174 | * hppa-tdep.c (pa_do_registers_info): Update. | |
2175 | (pa_do_strcat_registers_info): Update. | |
2176 | * cris-tdep.c (cris_register_bytes_ok): Update. | |
2177 | * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update. | |
2178 | * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update. | |
2179 | * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update. | |
2180 | * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update. | |
2181 | * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update. | |
2182 | * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update. | |
2183 | * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update. | |
2184 | * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update. | |
2185 | * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update. | |
2186 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update. | |
2187 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update. | |
2188 | * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update. | |
2189 | (REGISTER_BYTES_OK): Update. | |
2190 | * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update. | |
2191 | * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update. | |
2192 | ||
ee2842e2 ILT |
2193 | 2003-05-16 Ian Lance Taylor <[email protected]> |
2194 | ||
2195 | * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define. | |
2196 | (vax_print_insn, print_insn_arg): Remove static functions. | |
2197 | (vax_gdbarch_init): Call set_gdbarch_print_insn with | |
2198 | print_insn_vax from opcodes library. | |
2199 | (_initialize_vax_tdep): Don't set deprecated_tm_print_insn. | |
2200 | ||
973177d3 AC |
2201 | 2003-05-15 Andrew Cagney <[email protected]> |
2202 | ||
aaab4dba AC |
2203 | * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration. |
2204 | * target.h (memory_breakpoint_from_pc): Delete declaration. | |
2205 | * mem-break.c (memory_breakpoint_from_pc): Delete function. | |
2206 | * arch-utils.c (legacy_breakpoint_from_pc): Delete function. | |
2207 | * monitor.c (monitor_insert_breakpoint): Use | |
2208 | gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc. | |
2209 | * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default. | |
2210 | * gdbarch.h, gdbarch.c: Re-generate. | |
2211 | * sparc-tdep.c (sparc_breakpoint_from_pc): New function. | |
2212 | (sparc_gdbarch_init): Set breakpoint_from_pc to | |
2213 | sparc_breakpoint_from_pc. | |
2214 | * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro. | |
2215 | (BREAKPOINT_FROM_PC): Define. | |
2216 | (sparc_breakpoint_from_pc): Declare. | |
2217 | * hppa-tdep.c (hppa_breakpoint_from_pc): New function. | |
2218 | * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare. | |
2219 | (BREAKPOINT_FROM_PC): Define. | |
2220 | (BREAKPOINT): Delete macro. | |
2221 | * target.h: Update comment. | |
2222 | * s390-tdep.c (s390_gdbarch_init): Update comments. | |
2223 | * remote.c: Update comments. | |
2224 | * remote-mips.c: Update comments. | |
2225 | * proc-api.c (write_with_trace): Do not check for a breakpoint. | |
2226 | * mem-break.c: Update comment. | |
2227 | * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT. | |
2228 | (ia64_memory_insert_breakpoint): Update. | |
2229 | * config/sparc/tm-sparc.h: Update comment. | |
2230 | * config/pa/tm-hppa64.h: Update comment. | |
2231 | * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
2232 | (rs6000_breakpoint_from_pc): Update. | |
2233 | * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
2234 | (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro. | |
2235 | (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro. | |
2236 | (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro. | |
2237 | (mips_breakpoint_from_pc): Update. | |
2238 | (mips_dump_tdep): Update. | |
2239 | ||
e06963ff AC |
2240 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro. |
2241 | * minsyms.c (lookup_minimal_symbol): Inline | |
2242 | DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp. | |
2243 | ||
973177d3 AC |
2244 | * c-lang.c (c_printstr): Delete "extern inspect_it" declaration. |
2245 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
2246 | * p-lang.c (pascal_printstr): Ditto. | |
2247 | * objc-lang.c (objc_printstr): Ditto. | |
2248 | * m2-lang.c (m2_printstr): Ditto. | |
2249 | * jv-valprint.c (java_print_value_fields): Ditto. | |
2250 | * f-lang.c (f_printstr): Ditto. | |
2251 | * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h". | |
2252 | * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and | |
2253 | for repeat_count_threshold. | |
2254 | * Makefile.in (cp-valprint.o): Update dependencies. | |
2255 | ||
5ea2bd7f JJ |
2256 | 2003-05-15 Jeff Johnston <[email protected]> |
2257 | ||
2258 | * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. | |
2259 | (examine_prologue): Support looking through leaf functions, knowing | |
2260 | they start with mov r2,r12. Support skipping over indirect stores | |
2261 | of the input registers. Upon hitting a non-nop branch instruction | |
2262 | or predicated instruction, bail out by setting lim_pc to the current | |
2263 | pc value in the loop. At the end, if the lim_pc value is still | |
2264 | beyond our calculated value and we have trust_limit set, | |
2265 | use the lim_pc value. | |
2266 | ||
cc8c88f3 AC |
2267 | 2003-05-15 Andrew Cagney <[email protected]> |
2268 | ||
2269 | * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename | |
2270 | generic_find_dummy_frame. | |
2271 | * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update. | |
2272 | (deprecated_generic_find_dummy_frame): Update. | |
2273 | (deprecated_read_register_dummy): Update. | |
2274 | * frame.c (deprecated_generic_get_saved_register): Update. | |
2275 | ||
909cd28e TR |
2276 | 2003-05-15 Theodore A. Roth <[email protected]> |
2277 | ||
2278 | * avr-tdep.c (avr_breakpoint_from_pc): New function. | |
2279 | (avr_gdbarch_init): Set breakpoint_from_pc method. | |
2280 | ||
b923b08d AC |
2281 | 2003-05-15 Andrew Cagney <[email protected]> |
2282 | ||
2283 | * regcache.c (build_regcache): Set deprecated_register_valid | |
2284 | directly. | |
2285 | (deprecated_grub_regcache_for_register_valid): Delete function. | |
2286 | * regcache.h (deprecated_grub_regcache_for_register_valid): Delete | |
2287 | declaration. | |
2288 | ||
ae2f03ac EZ |
2289 | 2003-05-15 David Carlton <[email protected]> |
2290 | ||
2291 | Committed by Elena Zannoni <[email protected]> | |
fbe586ae RH |
2292 | * symtab.c (lookup_symbol_aux): Delete calls to |
2293 | lookup_symbol_aux_minsyms. | |
2294 | (lookup_symbol_aux_minsyms): Comment out function and | |
2295 | prototype. Delete lookup by mangled name. | |
ae2f03ac | 2296 | |
18ec9831 KB |
2297 | 2003-05-14 Kevin Buettner <[email protected]> |
2298 | ||
2299 | * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to | |
2300 | correctly indicate an empty stack and ``stack_allocated'' to the | |
2301 | indicate the number of elements initially allocated. | |
2302 | (dwarf_expr_grow_stack): Simplify method for computing new | |
2303 | stack size. Don't loop infinitely if ``stack_len'' is zero. | |
2304 | (execute_stack_op): Move ``ctx->in_reg'' initialization | |
2305 | out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to | |
2306 | be used in conjuction with DW_OP_piece. Revise error message | |
2307 | accordingly. | |
2308 | ||
de18ac1f TR |
2309 | 2003-05-14 Theodore A. Roth <[email protected]> |
2310 | ||
2311 | * MAINTAINERS: Update my email address. | |
2312 | * avr-tdep.c: Ditto. | |
2313 | ||
176620f1 EZ |
2314 | 2003-05-14 Elena Zannoni <[email protected]> |
2315 | ||
2316 | * symtab.h (enum domain_enum): Rename from namespace_enum. | |
2317 | (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN, | |
2318 | VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN): | |
2319 | Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE, | |
2320 | LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE, | |
2321 | TYPES_NAMESPACE, METHODS_NAMESPACE. | |
2322 | (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN. | |
2323 | (struct symbol, struct partial_symbol): Rename field | |
2324 | 'namespace_enum namespace' to 'domain_enum domain'. | |
2325 | (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN. | |
2326 | Delete old define kludge for namespace. | |
2327 | ||
2328 | * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c, | |
2329 | blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c, | |
2330 | dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h, | |
2331 | gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c, | |
2332 | language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c, | |
2333 | mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c, | |
2334 | p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c, | |
2335 | stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c, | |
2336 | valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all | |
2337 | occurrences of the above. | |
2338 | ||
b7f31508 ILT |
2339 | 2003-05-14 Ian Lance Taylor <[email protected]> |
2340 | ||
2341 | * Makefile.in (install-only): Use $(SHELL) when running | |
2342 | mkinstalldirs. | |
2343 | ||
2fdbdd39 ILT |
2344 | 2003-05-13 Ian Lance Taylor <[email protected]> |
2345 | ||
a208d82c ILT |
2346 | * MAINTAINERS (write after approval): Add myself. |
2347 | ||
2fdbdd39 ILT |
2348 | * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap |
2349 | second and third arguments. | |
2350 | * ser-tcp.c (_initialize_ser_tcp): Likewise. | |
2351 | * ser-unix.c (_initialize_ser_hardwire): Likewise. | |
2352 | ||
fbd9dcd3 AC |
2353 | 2003-05-13 Andrew Cagney <[email protected]> |
2354 | ||
2355 | * defs.h (store_address): Delete declaration. | |
2356 | findvar.c (store_address): Delete function. | |
2357 | * arm-tdep.c (arm_push_dummy_call): Replace store_address with | |
2358 | store_unsigned_integer. | |
2359 | * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto. | |
2360 | * v850-tdep.c (v850_push_arguments): Ditto. | |
2361 | * sparc-tdep.c (sparc_get_saved_register): Ditto. | |
2362 | * sh-tdep.c (sh64_get_saved_register): Ditto. | |
2363 | * rs6000-tdep.c (rs6000_push_arguments): Ditto. | |
2364 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto. | |
2365 | * mips-tdep.c (mips_eabi_push_arguments): Ditto. | |
2366 | (mips_get_saved_register): Ditto. | |
2367 | * ia64-tdep.c (ia64_get_saved_register): Ditto. | |
2368 | (find_func_descr, ia64_push_arguments): Ditto. | |
2369 | * i386-tdep.c (i386_push_arguments): Ditto. | |
2370 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
2371 | * frv-tdep.c (frv_push_arguments): Ditto. | |
2372 | * frame.c (legacy_saved_regs_prev_register): Ditto. | |
2373 | (deprecated_generic_get_saved_register): Ditto. | |
2374 | * findvar.c (unsigned_address_to_pointer): Ditto. | |
2375 | * dwarf2read.c (dwarf2_const_value): Ditto. | |
2376 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
2377 | * alpha-tdep.c (alpha_push_arguments): Ditto. | |
2378 | ||
6760f9e6 JB |
2379 | 2003-05-12 J. Brobecker <[email protected]> |
2380 | ||
2381 | * NEWS: Mention that the hppa-hpux port has been partially | |
2382 | multiarched (32bit ABIT only, so far). | |
2383 | ||
30e221b4 AC |
2384 | 2003-05-11 Andrew Cagney <[email protected]> |
2385 | ||
2386 | * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol. | |
2387 | * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h, | |
2388 | include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms, | |
2389 | sim/testsuite/sim/arm/misaligned2.ms, and | |
2390 | sim/testsuite/sim/arm/misaligned3.ms. | |
2391 | * disasm.h (struct ui_file): Add opaque struct declaration. | |
2392 | * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto. | |
2393 | * frame.h (struct ui_file): Ditto. | |
2394 | ||
dea7f9ba MK |
2395 | 2003-05-11 Mark Kettenis <[email protected]> |
2396 | ||
2397 | * value.h: Pretty print. | |
2398 | ||
01986c48 MK |
2399 | 2003-05-10 Mark Kettenis <[email protected]> |
2400 | ||
2401 | * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define. | |
2402 | ||
123a958e AC |
2403 | 2003-05-08 Andrew Cagney <[email protected]> |
2404 | ||
2405 | * regcache.h (max_register_size): Delete declaration. | |
2406 | * regcache.c (max_register_size): Delete function. | |
2407 | (struct regcache_descr): Delete field "max_register_size". | |
2408 | (init_regcache_descr, init_legacy_regcache_descr): Assert that all | |
2409 | registers fit in MAX_REGISTER_SIZE. | |
2410 | (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE. | |
2411 | (regcache_restore, regcache_xfer_part, regcache_dump): Ditto. | |
2412 | * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE. | |
2413 | * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto. | |
2414 | * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto. | |
2415 | * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto. | |
2416 | * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto. | |
2417 | * dve3900-rom.c, hppa-tdep.c: Ditto. | |
2418 | ||
eb294659 DC |
2419 | 2003-05-08 David Carlton <[email protected]> |
2420 | ||
2421 | * valops.c (push_word): Fix typo. | |
2422 | ||
d9d9c31f AC |
2423 | 2003-05-08 Andrew Cagney <[email protected]> |
2424 | ||
2425 | * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. | |
2426 | * gdbarch.h: Re-generate. | |
2427 | * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. | |
2428 | (legacy_max_register_raw_size): Delete declaration. | |
2429 | * regcache.c (legacy_max_register_raw_size): Delete function. | |
2430 | * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. | |
2431 | * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto. | |
2432 | * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto. | |
2433 | * remote-rdp.c, remote-array.c, regcache.c: Ditto. | |
2434 | * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto. | |
2435 | * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto. | |
2436 | * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto. | |
2437 | * findvar.c, dwarf2cfi.c: Ditto. | |
2438 | ||
22540ece AC |
2439 | 2003-05-08 Andrew Cagney <[email protected]> |
2440 | ||
2441 | * mips-tdep.c (read_signed_register): New function, moved to here | |
2442 | from "regcache.c". | |
2443 | (read_signed_register_pid): Ditto. | |
2444 | * regcache.c (read_signed_register_pid): Delete function, moved to | |
2445 | "mips-tdep.c". | |
2446 | (read_signed_register): Ditto. | |
2447 | * regcache.h (read_signed_register): Delete declaration. | |
2448 | (read_signed_register_pid): Delete declaration. | |
2449 | ||
0c92afe8 AC |
2450 | 2003-05-08 Andrew Cagney <[email protected]> |
2451 | ||
2452 | * gdbarch.sh: Add comments on MAX_REGISTER_SIZE. | |
2453 | * gdbarch.h: Re-generate. | |
2454 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. | |
2455 | (legacy_max_register_virtual_size): Delete declaration. | |
2456 | * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. | |
2457 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
2458 | * tracepoint.c (memrange_sortmerge): Ditto. | |
2459 | * sparc-tdep.c (sparc_print_registers): Ditto. | |
2460 | * regcache.c (legacy_max_register_virtual_size): Delete function. | |
2461 | ||
6037b830 JB |
2462 | 2002-05-08 J. Brobecker <[email protected]> |
2463 | ||
2464 | * fork-child.c (escape_bang_in_quoted_argument): New function. | |
2465 | (fork_inferior): Escape '!' characters in quoted arguments | |
2466 | only when needed. | |
2467 | ||
5d62c8b1 JB |
2468 | 2003-05-08 J. Brobecker <[email protected]> |
2469 | ||
2470 | * dwarf2read.c (set_cu_language): Set the language to "minimal" if | |
2471 | the language of the CU is not currently supported by GDB. | |
2472 | ||
20a0e81d JB |
2473 | 2003-05-08 J. Brobecker <[email protected]> |
2474 | ||
2475 | * defs.h (language): Add language_minimal enum value. | |
2476 | * c-lang.c (minimal_language_defn): New language definition. | |
2477 | (_initialize_c_language): Add the new minimal language to the list | |
2478 | of languages known to GDB. | |
2479 | ||
710ee10a KB |
2480 | 2003-05-08 Kevin Buettner <[email protected]> |
2481 | ||
2482 | * frame.c (get_frame_type): Don't attempt to lazily initialize | |
2483 | frame's unwinder for legacy frames. | |
2484 | ||
1750fa04 AC |
2485 | 2003-05-07 Andrew Cagney <[email protected]> |
2486 | ||
2487 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" | |
2488 | and "regcache" parameters. | |
2489 | * avr-tdep.c (avr_remote_translate_xfer_address): Ditto. | |
2490 | ||
ddf9f258 JJ |
2491 | 2003-05-07 Jeff Johnston <[email protected]> |
2492 | ||
2493 | * dwarf2read.c (dwarf_decode_lines): Only use output of | |
2494 | check_cu_functions() when calling record_line(). Do not update | |
2495 | the current address. | |
2496 | ||
87767c29 AC |
2497 | 2003-05-07 Andrew Cagney <[email protected]> |
2498 | ||
2499 | * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR | |
2500 | code. | |
2501 | ||
5e7b2f39 JB |
2502 | 2003-05-07 Jim Blandy <[email protected]> |
2503 | ||
2504 | Rename commands 'maint list symtabs' and 'maint list psymtabs' to | |
2505 | 'maint info symtabs' and 'maint info psymtabs'. | |
2506 | * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): | |
2507 | Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. | |
2508 | * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): | |
2509 | Declarations updated. | |
2510 | * maint.c (maintenance_list_command): Delete. | |
2511 | (_initialize_maint_cmds): Update calls to add_cmd. | |
2512 | * gdbcmd.h (maintenancelistlist): Delete declaration. | |
2513 | * cli/cli-cmds.c (maintenancelistlist): Delete. | |
2514 | (init_cmd_lists): Don't initialize it. | |
2515 | * cli/cli-cmds.h (maintenancelistlist): Delete declaration. | |
2516 | ||
f6684c31 AC |
2517 | 2003-05-07 Andrew Cagney <[email protected]> |
2518 | ||
2519 | * d10v-tdep.c (remote_d10v_translate_xfer_address): Add | |
2520 | "regcache". | |
2521 | (d10v_print_registers_info): Update. | |
2522 | (d10v_dmap_register, d10v_imap_register): Delete functions. | |
2523 | (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" | |
2524 | and "imap_register". | |
2525 | (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". | |
2526 | (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". | |
2527 | * arch-utils.c (generic_remote_translate_xfer_address): Add | |
2528 | "regcache" and "gdbarch" parameters. | |
2529 | * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" | |
2530 | parameter. Change class to multi-arch. | |
2531 | * gdbarch.h, gdbarch.c: Re-generate. | |
2532 | * remote.c (remote_xfer_memory): Use | |
2533 | gdbarch_remote_translate_xfer_address. | |
2534 | ||
e4846b08 JJ |
2535 | 2003-05-07 Jeff Johnston <[email protected]> |
2536 | ||
2537 | * infrun.c (prev_pc): Move declaration ahead of proceed(). | |
2538 | (proceed): Refresh prev_pc value before resuming. | |
2539 | (stop_stepping): Remove code to refresh prev_pc. | |
2540 | ||
6b71b8ac KW |
2541 | 2003-05-06 Kris Warkentin <[email protected]> |
2542 | ||
2543 | * nto-tdep.c: Removed stray comment. | |
2544 | ||
47979a4b KW |
2545 | 2003-05-06 Kris Warkentin <[email protected]> |
2546 | ||
2547 | * i386-nto-tdep.c: Fix old K&R function definitions. | |
2548 | * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h. | |
2549 | Also change add_show_from_set() call to add_setshow_cmd(). | |
2550 | * nto-tdep.h: Remove PARAMS and grep ^func ARI hits. | |
2551 | ||
00905d52 AC |
2552 | 2003-05-05 Andrew Cagney <[email protected]> |
2553 | ||
2554 | * dummy-frame.c: Include "command.h" and "gdbcmd.h". | |
2555 | (fprint_dummy_frames): New function. | |
2556 | (maintenance_print_dummy_frames): New function. | |
2557 | (_initialize_dummy_frame): Add command "maint print dummy-frames". | |
2558 | * frame.c (fprint_frame_id): Make global. | |
2559 | * frame.h (fprint_frame_id): Declare. | |
2560 | * Makefile.in (dummy-frame.o): Update dependencies. | |
2561 | ||
b1e29e33 AC |
2562 | 2003-05-05 Andrew Cagney <[email protected]> |
2563 | ||
2564 | * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. | |
2565 | (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename | |
2566 | SIZEOF_CALL_DUMMY_WORDS. | |
2567 | (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. | |
2568 | (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. | |
2569 | (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename | |
2570 | CALL_DUMMY_BREAKPOINT_OFFSET. | |
2571 | (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename | |
2572 | CALL_DUMMY_START_OFFSET. | |
2573 | (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. | |
2574 | * gdbarch.h, gdbarch.c: Re-generate. | |
2575 | * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. | |
2576 | * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. | |
2577 | * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. | |
2578 | * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. | |
2579 | * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. | |
2580 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. | |
2581 | * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
2582 | * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. | |
2583 | * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. | |
2584 | * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
2585 | * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. | |
2586 | * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. | |
2587 | * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. | |
2588 | * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. | |
2589 | * config/sparc/tm-sparc.h: Update. | |
daea6f0b KW |
2590 | |
2591 | 2003-05-05 Kris Warkentin <[email protected]> | |
2592 | ||
2593 | * configure.tgt: Add i[3456]86-*-nto*. | |
2594 | * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino. | |
2595 | * nto-tdep.c: New file. Neutrino target support routines. | |
2596 | * nto-tdep.h: New file. Neutrino target header. | |
2597 | * config/tm-qnxnto.h: New file. | |
2598 | * config/i386/i386nto.mt: New file. | |
2599 | * config/i386/tm-i386nto.h: New file. | |
b1e29e33 | 2600 | |
0ce3d317 AC |
2601 | 2003-05-04 Andrew Cagney <[email protected]> |
2602 | ||
2603 | * gdbthread.h (save_infrun_state): Drop prev_func_name parameter. | |
2604 | (load_infrun_state): Ditto. | |
2605 | (struct thread_info): Drop "prev_func_name" field. | |
2606 | * thread.c (load_infrun_state): Update. | |
2607 | (save_infrun_state): Update. | |
2608 | * infrun.c (prev_func_name): Delete variable. | |
2609 | (init_wait_for_inferior): Do not clear prev_func_name. | |
2610 | (stop_stepping, keep_going, context_switch): Do not swap | |
2611 | prev_func_name. | |
2612 | (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp | |
2613 | instead of PC_IN_SIGTRAMP. | |
2614 | ||
46654a5b AC |
2615 | 2003-05-04 Andrew Cagney <[email protected]> |
2616 | ||
2617 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
2618 | REGISTER_BYTE with register_offset_hack. | |
2619 | * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check | |
2620 | that REGISTER_BYTE is consistent with the regcache. | |
2621 | * gdbarch.sh (REGISTER_BYTE): Add a predicate. | |
2622 | * gdbarch.h, gdbarch.c: Regenerate. | |
2623 | ||
14b08c1b MK |
2624 | 2003-05-04 Mark Kettenis <[email protected]> |
2625 | ||
04c8243f MK |
2626 | * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15. |
2627 | (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15. | |
2628 | ||
14b08c1b MK |
2629 | * i386-linux-nat.c (supply_gregset): Remove unnecessary casts. |
2630 | ||
c7a11e01 JB |
2631 | 2003-05-03 J. Brobecker <[email protected]> |
2632 | ||
2633 | From Thierry Schneider <[email protected]> | |
2634 | * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o. | |
2635 | (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c. | |
2636 | (mi-cmd-symbol.o): Add rule. | |
2637 | ||
7043d8dc AC |
2638 | 2003-05-03 Andrew Cagney <[email protected]> |
2639 | ||
2640 | * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add | |
2641 | comments noteing that it replaces the old FIX_CALL_DUMMY code. | |
2642 | * gdbarch.h, gdbarch.c: Re-generate. | |
2643 | * d10v-tdep.c (d10v_push_dummy_code): New function. | |
2644 | (d10v_gdbarch_init): Set push_dummy_code. | |
2645 | * infcall.c (legacy_push_dummy_code): New function. | |
2646 | (generic_push_dummy_code): New function. | |
2647 | (push_dummy_code): New function. | |
2648 | (call_function_by_hand): Call push_dummy_code. Pass bp_addr, | |
2649 | instead of dummy_addr, to push_dummy_call. Move call to | |
2650 | generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION | |
2651 | switch. | |
2652 | * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code. | |
2653 | ||
92bf2b80 AC |
2654 | 2003-05-03 Andrew Cagney <[email protected]> |
2655 | ||
2656 | * disasm.h (print_insn): Declare. | |
2657 | * disasm.c (init_gdb_disassemble_info): New function. | |
2658 | (gdb_disassembly): Call init_gdb_disassemble_info. | |
2659 | (gdb_print_insn): New function. | |
2660 | * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead | |
2661 | of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog". | |
2662 | * mcore-tdep.c: Include "disasm.h" | |
2663 | (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN. | |
2664 | * d10v-tdep.c: Include "disasm.h". | |
2665 | (display_trace): Call gdb_print_insn, instead of print_insn. | |
2666 | (print_insn): Delete function. | |
2667 | * printcmd.c: Include "disasm.h". | |
2668 | (print_insn): Delete function. | |
2669 | (print_formatted): Call gdb_print_insn, instead of print_insn. | |
2670 | * Makefile.in (printcmd.o): Update dependencies. | |
2671 | (mcore-tdep.o, d10v-tdep.o): Ditto. | |
2672 | ||
27d94c49 AC |
2673 | 2003-05-02 Andrew Cagney <[email protected]> |
2674 | ||
82de1e5b AC |
2675 | * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef |
2676 | PC_REGNUM, re-indent. | |
2677 | * stack.c (frame_info): Use "pc" for the name of get_frame_pc when | |
2678 | PC_REGNUM isn't set. | |
2679 | ||
27d94c49 AC |
2680 | * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional. |
2681 | * gdbarch.h, gdbarch.c: Re-generate. | |
2682 | * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size, | |
2683 | register_virtual_size, pc_regnum, or register_bytes. | |
2684 | (D10V_PC_REGNUM): Rename _PC_REGNUM. | |
2685 | (d10v_register_type): Use D10V_PC_REGNUM. | |
2686 | (d10v_print_registers_info, d10v_read_pc): Ditto. | |
2687 | (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto. | |
2688 | (d10v_unwind_pc, d10v_frame_prev_register): Ditto. | |
2689 | ||
a9c0dc7f DC |
2690 | 2003-05-02 David Carlton <[email protected]> |
2691 | ||
2692 | * objfiles.c (allocate_objfile): For anonymous objfiles, allocate | |
2693 | the name with mstrsave. | |
2694 | ||
e33d66ec EZ |
2695 | 2003-05-02 Elena Zannoni <[email protected]> |
2696 | ||
2697 | * charset.c (GDB_DEFAULT_TARGET_CHARSET, | |
2698 | GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. | |
2699 | (host_charset_name, target_charset_name): New vars for use by | |
2700 | set/show commands. | |
2701 | (host_charset_enum, target_charset_enum): New enums for set/show | |
2702 | commands. | |
2703 | (set_charset_sfunc, set_host_charset_sfunc, | |
2704 | set_target_charset_sfunc): New functions. | |
2705 | (set_host_charset, set_target_charset): Make static. | |
2706 | (list_charsets, set_host_charset_command, | |
2707 | set_target_charset_command): Delete functions. | |
2708 | (show_charset_command): Rewrite as.... | |
2709 | (show_charset): Hook this up with the set/show command mechanism. | |
2710 | (_initialize_charset): Change names of charsets to match the | |
2711 | set/show enums. Use host_charset_name and target_charset_name. | |
2712 | Use set/show mechanism for charset, host-charset, target-charset | |
2713 | commands. Do not make 'show host-charset' and 'show | |
2714 | target-charset' be aliases of 'show charset'. | |
2715 | ||
2716 | * charset.h (set_host_charset, set_target_charset): Don't export, | |
2717 | they are not used outside the file. | |
2718 | ||
2b6fd0d8 AC |
2719 | 2003-05-01 Andrew Cagney <[email protected]> |
2720 | ||
2721 | * disasm.c (gdb_disassemble_from_exec): Delete global variable. | |
2722 | (gdb_disassembly): Make "di" non static, always initialize and | |
2723 | cleanup. Always use dis_asm_read_memory. | |
2724 | (gdb_dis_asm_read_memory): Delete function. | |
2725 | ||
6ae2f580 AC |
2726 | 2003-05-01 Andrew Cagney <[email protected]> |
2727 | ||
2728 | * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align. | |
2729 | (d10v_gdbarch_init): Set frame_align instead of stack_align. | |
2730 | ||
810ecf9f AC |
2731 | 2003-04-30 Andrew Cagney <[email protected]> |
2732 | ||
2733 | * gdbarch.sh (deprecated_tm_print_insn_info): Rename | |
2734 | "tm_print_insn_info". | |
2735 | (TARGET_PRINT_INSN_INFO): Delete macro. | |
2736 | (dis_asm_read_memory): Delete function declaration. | |
2737 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
2738 | (tm_print_insn_info): Delete variable definition. | |
2739 | (_initialize_gdbarch): Do not initialize "tm_print_insn_info". | |
2740 | * gdbarch.h, gdbarch.c: Re-generate. | |
2741 | * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with | |
2742 | "deprecated_tm_print_insn_info". | |
2743 | * mcore-tdep.c (mcore_dump_insn): Ditto. | |
2744 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
2745 | * sparc-tdep.c (_initialize_sparc_tdep): Ditto. | |
2746 | * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto. | |
2747 | * ia64-tdep.c (_initialize_ia64_tdep): Ditto. | |
2748 | * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info" | |
2749 | instead of TARGET_PRINT_INSN_INFO, add comment. | |
2750 | * s390-tdep.c (s390_get_frame_info): Instead of | |
2751 | "dis_asm_read_memory", use "deprecated_tm_print_insn_info". | |
2752 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
2753 | * corefile.c (dis_asm_read_memory): Move to "disasm.c". | |
2754 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
2755 | * disasm.c: Include "gdbcore.h". | |
2756 | (_initialize_disasm): New function, initialize | |
2757 | "deprecated_tm_print_insn_info". | |
2758 | (deprecated_tm_print_insn_info): New variable. | |
2759 | (dis_asm_read_memory): Moved from "corefile.c", made static. | |
2760 | (dis_asm_print_address, dis_asm_memory_error): Ditto. | |
2761 | * Makefile.in (disasm.o): Update dependencies. | |
2762 | ||
07020390 AC |
2763 | 2003-04-30 Andrew Cagney <[email protected]> |
2764 | ||
2765 | * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. | |
2766 | ||
a9fa03de AF |
2767 | 2003-04-29 Adam Fedor <[email protected]> |
2768 | ||
2769 | * eval.c (evaluate_subexp_standard): Handle ObjC ops. | |
2770 | * infcall.c (find_function_addr): Make non-static. | |
2771 | * infcall.h (find_function_addr): Declare. | |
2772 | * Makefile.in (eval.o): Update dependencies. | |
2773 | ||
1bae87b9 AF |
2774 | 2003-04-28 Adam Fedor <[email protected]> |
2775 | ||
2776 | * symtab.c (symbol_find_demangled_name): Check for and demangle | |
2777 | ObjC symbols. | |
2778 | (symbol_init_demangled_name): Init for language_objc as well. | |
2779 | ||
0ba6dca9 AC |
2780 | 2003-04-28 Andrew Cagney <[email protected]> |
2781 | ||
2782 | * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. | |
2783 | (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. | |
2784 | * gdbarch.h, gdbarch.c: Re-generate. | |
2785 | * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, | |
2786 | DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. | |
2787 | * inferior.h (deprecated_read_fp): Rename read_fp. | |
2788 | (generic_target_read_fp): Delete declaration. | |
2789 | * regcache.c (generic_target_read_fp): Delete function. | |
2790 | (deprecated_read_fp): Replace read_fp, use | |
2791 | DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. | |
2792 | * d10v-tdep.c (d10v_read_fp): Delete function. | |
2793 | (d10v_gdbarch_init): Do not set deprecated_read_fp. | |
2794 | ||
2795 | * sparc-tdep.c (sparc_gdbarch_init): Do not set | |
2796 | deprecated_target_read_fp to generic_target_read_fp. | |
2797 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
2798 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
2799 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
2800 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
2801 | ||
2802 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set | |
2803 | deprecated_fp_regnum. | |
2804 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
2805 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
2806 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
2807 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
2808 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
2809 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
2810 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
2811 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
2812 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
2813 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
2814 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
2815 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
2816 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
2817 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
2818 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
2819 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
2820 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
2821 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
2822 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
2823 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
2824 | ||
2825 | * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. | |
2826 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
2827 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
2828 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
2829 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
2830 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
2831 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
2832 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
2833 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
2834 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
2835 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
2836 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
2837 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
2838 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
2839 | ||
2840 | * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with | |
2841 | DEPRECATED_FP_REGNUM. | |
2842 | (vax_push_dummy_frame, vax_pop_frame): Ditto. | |
2843 | * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. | |
2844 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
2845 | (sparc_push_dummy_frame, sparc64_read_fp): Ditto. | |
2846 | (sparc32_register_virtual_type): Ditto. | |
2847 | * sh-tdep.c (sh64_frame_chain): Ditto. | |
2848 | (sh64_get_saved_register, sh64_pop_frame): Ditto. | |
2849 | (sh_nofp_frame_init_saved_regs): Ditto. | |
2850 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
2851 | (sh_fp_frame_init_saved_regs): Ditto. | |
2852 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
2853 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
2854 | * procfs.c (procfs_fetch_registers): Ditto. | |
2855 | (procfs_store_registers): Ditto. | |
2856 | * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. | |
2857 | (store_inferior_registers, fetch_core_registers): Ditto. | |
2858 | (fetch_kcore_registers, clear_regs): Ditto. | |
2859 | * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. | |
2860 | (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. | |
2861 | * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. | |
2862 | * nlm/i386.c (do_status): Ditto. | |
2863 | * mipsv4-nat.c (supply_gregset): Ditto. | |
2864 | * mips-tdep.c: Ditto for comments. | |
2865 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
2866 | (store_inferior_registers, fetch_core_registers): Ditto. | |
2867 | * m68k-tdep.c (m68k_push_dummy_frame): Ditto. | |
2868 | (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. | |
2869 | * i386-tdep.c (i386_frame_init_saved_regs): Ditto. | |
2870 | (i386_do_pop_frame, i386_register_type): Ditto. | |
2871 | * hppa-tdep.c (hppa_frame_chain): Ditto. | |
2872 | (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. | |
2873 | (hppa_pop_frame, hppa_read_fp): Ditto. | |
2874 | (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. | |
2875 | * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. | |
2876 | * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. | |
2877 | * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. | |
2878 | * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. | |
2879 | * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. | |
2880 | * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. | |
2881 | * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. | |
2882 | * blockframe.c: Ditto for comments. | |
2883 | * arch-utils.h: Ditto for comments. | |
2884 | * arch-utils.c (legacy_virtual_frame_pointer): Ditto. | |
2885 | * alphanbsd-tdep.c (fetch_core_registers): Ditto. | |
2886 | * alphabsd-nat.c (fetch_inferior_registers): Ditto. | |
2887 | * alpha-tdep.h: Ditto for comments. | |
2888 | * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. | |
2889 | (alpha_cannot_store_register): Ditto. | |
2890 | (alpha_push_dummy_frame): Ditto. | |
2891 | * alpha-nat.c (supply_gregset): Ditto. | |
2892 | ||
2893 | * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. | |
2894 | * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. | |
2895 | * config/sparc/tm-sparc.h: Update comment. | |
2896 | ||
2897 | * hppa-tdep.c (hppa_init_extra_frame_info): Use | |
2898 | deprecated_read_fp instead of TARGET_READ_FP. | |
2899 | (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. | |
2900 | (hppa_push_dummy_frame, hppa_read_fp): Ditto. | |
2901 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
2902 | deprecated_read_fp instead of read_fp. | |
2903 | * s390-tdep.c (s390_push_arguments): Ditto. | |
2904 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
2905 | * frame.h: Ditto in comments. | |
2906 | * frame.c (legacy_get_prev_frame): Ditto. | |
2907 | * dummy-frame.c (dummy_frame_this_id): Ditto. | |
2908 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
2909 | ||
d7a27068 AC |
2910 | 2003-04-28 Andrew Cagney <[email protected]> |
2911 | ||
2912 | * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn. | |
2913 | * gdbarch.h, gdbarch.c: Re-generate. | |
2914 | * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update. | |
2915 | * vax-tdep.c (_initialize_vax_tdep): Update. | |
2916 | * v850-tdep.c (_initialize_v850_tdep): Update. | |
2917 | * sparc-tdep.c (_initialize_sparc_tdep): Update. | |
2918 | * s390-tdep.c (_initialize_s390_tdep): Update. | |
2919 | * ns32k-tdep.c (_initialize_ns32k_tdep): Update. | |
2920 | * mn10300-tdep.c (_initialize_mn10300_tdep): Update. | |
2921 | * mips-tdep.c (_initialize_mips_tdep): Update. | |
2922 | * mcore-tdep.c (_initialize_mcore_tdep): Update. | |
2923 | * m68k-tdep.c (_initialize_m68k_tdep): Update. | |
2924 | * ia64-tdep.c (_initialize_ia64_tdep): Update. | |
2925 | * hppa-tdep.c (_initialize_hppa_tdep): Update. | |
2926 | * h8300-tdep.c (_initialize_h8300_tdep): Update. | |
2927 | * frv-tdep.c (_initialize_frv_tdep): Update. | |
2928 | * cris-tdep.c (cris_delayed_get_disassembler): Update. | |
2929 | (_initialize_cris_tdep): Update. | |
2930 | * arch-utils.c (legacy_print_insn): Update. | |
2931 | * alpha-tdep.c (_initialize_alpha_tdep): Update. | |
2932 | ||
d2630e69 AF |
2933 | 2003-04-26 Adam Fedor <[email protected]> |
2934 | ||
2935 | * linespec.c (decode_objc): New function to decode ObjC calls | |
2936 | (decode_line_1): Check for ObjC calls (using decode_objc) | |
2937 | * Makefile (linespec.o): Update dependencies. | |
2938 | ||
3086aeae DJ |
2939 | 2003-04-26 Daniel Jacobowitz <[email protected]> |
2940 | ||
2941 | * breakpoint.h (struct breakpoint_ops): New. | |
2942 | (struct breakpoint): Add ops member. | |
2943 | ||
2944 | * breakpoint.c (print_bp_stop_message, print_one_breakpoint) | |
2945 | (mention): Use new breakpoint ops member. | |
2946 | (set_raw_breakpoint): Initialize ops field to NULL. | |
2947 | (print_exception_catchpoint, print_one_exception_catchpoint) | |
2948 | (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New. | |
2949 | (gnu_v3_exception_catchpoint_ops): New. | |
2950 | (catch_exception_command_1): Call handle_gnu_v3_exceptions. | |
2951 | ||
1fbec6c3 AF |
2952 | 2003-04-25 Adam Fedor <[email protected]> |
2953 | ||
2954 | * Makefile.in (COMMON_OBS): Add objc-lang.o | |
2955 | ||
0ef21242 AC |
2956 | 2003-04-25 Andrew Cagney <[email protected]> |
2957 | ||
2958 | * d10v-tdep.c (print_insn): Delete function. | |
2959 | (display_trace): Use TARGET_PRINT_INSN. | |
2960 | (_initialize_d10v_tdep): Do not set tm_print_insn. | |
2961 | (d10v_gdbarch_init): Set print_insn. | |
2962 | ||
f75493ed AC |
2963 | 2003-04-25 Andrew Cagney <[email protected]> |
2964 | ||
2965 | * d10v-tdep.c (d10v_extract_return_value): Delete call to printf. | |
2966 | (_initialize_d10v_tdep): Use add_setshow_boolean_cmd. | |
2967 | (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC. | |
2968 | (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ... | |
2969 | (nr_dmap_regs, a0_regnum): ... new functions. | |
2970 | (d10v_print_registers_info): Use a0_regnum, use register_size. | |
2971 | (d10v_register_byte): Delete function. | |
2972 | (d10v_register_raw_size): Delete function. | |
2973 | (d10v_register_type): Use a0_regnum. | |
2974 | (d10v_print_registers_info): Use a0_regnum. | |
2975 | (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM. | |
2976 | (d10v_gdbarch_init): Do not set register_byte or | |
2977 | register_raw_size, use D10V_SP_REGNUM to set sp_regnum. | |
2978 | (d10v_pointer_to_address): Use extract_unsigned_integer instead of | |
2979 | extract_address. | |
2980 | (trace_command): Use XCALLOC. | |
2981 | (print_insn): Delete reference to tm_print_insn. | |
2982 | (saved_regs_unwinder): Use store_unsigned_integer instead of | |
2983 | store_address. | |
2984 | * frame.h (FRAME_OBSTACK_CALLOC): Define | |
2985 | ||
2202b100 DC |
2986 | 2003-04-25 David Carlton <[email protected]> |
2987 | ||
2988 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp. | |
2989 | ||
4e45ca2e AF |
2990 | 2003-04-24 Adam Fedor <[email protected]> |
2991 | ||
2992 | * objc-lang.c: Include "valprint.h" | |
2993 | * Makefile.in (objc-lang.o): Update dependencies. | |
2994 | ||
93de3e7f AF |
2995 | 2003-04-24 Adam Fedor <[email protected]> |
2996 | ||
2997 | * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove | |
2998 | architecture dependant compilation and mark as unimplemented | |
2999 | (until they get put in the gdbarch vector). | |
3000 | ||
0f20eeea DC |
3001 | 2003-04-23 David Carlton <[email protected]> |
3002 | ||
3003 | * cp-support.c (cp_find_first_component): Accept 'operator' in | |
3004 | more locations. | |
3005 | ||
74cfe982 AC |
3006 | 2003-04-23 Andrew Cagney <[email protected]> |
3007 | ||
3008 | * infcall.c (call_function_by_hand): Eliminate redundant | |
3009 | indentation. Move "saved_async" and "old_cleanups" to where they | |
3010 | are needed. | |
3011 | ||
52557533 AC |
3012 | 2003-04-23 Andrew Cagney <[email protected]> |
3013 | ||
3014 | * infcall.c (call_function_by_hand): Eliminate the variables "rc" | |
3015 | and "buffer". Move the "name" code to where it is needed. | |
3016 | ||
158775de AC |
3017 | 2003-04-23 Andrew Cagney <[email protected]> |
3018 | ||
3019 | * infcall.c (call_function_by_hand): Move variables "start_sp", | |
3020 | "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call | |
3021 | code to ON_STACK switch branch. | |
3022 | ||
ebc7896c AC |
3023 | 2003-04-23 Andrew Cagney <[email protected]> |
3024 | ||
3025 | * infcall.c (call_function_by_hand): Make declaration of "i", | |
3026 | "sal", "bpt" and "old_sp" more local to their use. Delete #if | |
3027 | lint. | |
3028 | ||
d727590f AC |
3029 | 2003-04-23 Andrew Cagney <[email protected]> |
3030 | ||
3031 | * infcall.c (call_function_by_hand): Delete variable | |
3032 | "n_method_args". Localize "param_type"'s declaration to the loop | |
3033 | that it is used. Reinstate code assigning to said variable - | |
3034 | deleted on 2002-06-14. Rationalize calls to value_args_coerce. | |
3035 | Rationalize code using "param_type". | |
3036 | ||
d585e13a AC |
3037 | 2003-04-22 Andrew Cagney <[email protected]> |
3038 | ||
3039 | * infcall.c (call_function_by_hand): Use new variable "bp_addr" to | |
3040 | compute the breakpoint address. Only call FIX_CALL_DUMMY when | |
3041 | ON_STACK. Eliminate the variable "addr". Do not pass "real_pc" | |
3042 | to DEPRECATED_PUSH_RETURN_ADDRESS. | |
3043 | ||
051caad9 KB |
3044 | 2003-04-22 Kevin Buettner <[email protected]> |
3045 | ||
3046 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM | |
3047 | on the DWARF2 register number prior to fetching a register. | |
3048 | ||
77296879 JB |
3049 | 2003-04-22 J. Brobecker <[email protected]> |
3050 | ||
3051 | * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro. | |
3052 | Update all the tests using SOFT_FLOAT considering the fact that | |
3053 | this macro was always set to 0. | |
3054 | * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT | |
3055 | considering the fact that this macro was always set to 0. | |
3056 | * hppa-tdep.h (hppa_store_return_value): Likewise. | |
3057 | (hppa_extract_return_value): Likewise. | |
3058 | ||
4252f1df JB |
3059 | 2003-04-22 J. Brobecker <[email protected]> |
3060 | ||
3061 | * config/pa/tm-hppa.h: Remove obsolete code, was used by | |
3062 | the hppa-pro target only. | |
3063 | ||
14604c6b JB |
3064 | 2003-04-21 J. Brobecker <[email protected]> |
3065 | ||
3066 | Ongoing multi-arch conversion effort for HP/UX: | |
3067 | * config/pa/tm-hppa.h: Move all macro that are no longer | |
3068 | defined now that GDB_MULTI_ARCH is now set to 1 from here... | |
3069 | * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet). | |
3070 | ||
77eb01d1 JB |
3071 | 2003-04-21 J. Brobecker <[email protected]> |
3072 | ||
3073 | * config/pa/tm-hppa.h: Obsolete a section that was only used | |
3074 | for hppa-pro. | |
3075 | ||
61995b3b JB |
3076 | 2003-04-21 J. Brobecker <[email protected]> |
3077 | ||
3078 | Ongoing multi-arch conversion for HP/UX. | |
3079 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define | |
3080 | if already defined (allows hppa64 to stay non-multiarched for now). | |
3081 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define. | |
3082 | ||
4aa79dcc AC |
3083 | 2003-04-21 Andrew Cagney <[email protected]> |
3084 | ||
3085 | * frame.c (frame_id_eq): Fail when the code_addr's do not match. | |
3086 | ||
0f751ff2 AC |
3087 | 2003-04-21 Andrew Cagney <[email protected]> |
3088 | ||
3089 | * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with | |
3090 | "i386_num_mmx_regs". | |
3091 | ||
04714b91 AC |
3092 | 2003-04-21 Andrew Cagney <[email protected]> |
3093 | ||
3094 | * infcall.c: New file. | |
3095 | * infcall.h: New file. | |
3096 | * valarith.c: Include "infcall.h". | |
3097 | * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto. | |
3098 | * eval.c, ada-valprint.c, ada-lang.c: Ditto. | |
3099 | * Makefile.in (valarith.o, scm-lang.o): Update dependencies. | |
3100 | (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies. | |
3101 | (eval.o, ada-valprint.o, ada-lang.o): Update dependencies. | |
3102 | (SFILES): Add "infcall.c" | |
3103 | (COMMON_OBS): Add "infcall.o". | |
3104 | (infcall.o): Specify dependencies. | |
3105 | * value.h (call_function_by_hand): Delete declaration. | |
3106 | * inferior.h (run_stack_dummy): Delete declaration. | |
3107 | * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c". | |
3108 | (run_stack_dummy): Move to "infcall.c", merged into | |
3109 | call_function_by_hand. | |
3110 | * valops.c (call_function_by_hand): Moved to "infcall.c". | |
3111 | (find_function_addr, value_arg_coerce): Ditto. | |
3112 | (unwindonsignal_p, coerce_float_to_double): Ditto. | |
3113 | (_initialize_valops): Move "set/show coerce-float-to-double", and | |
3114 | "set/show unwindonsignal" commands to "infcall.c". | |
3115 | * v850-tdep.c, target.h: Update comments. | |
3116 | * sparc-tdep.c (sparc_fix_call_dummy): Update comments. | |
3117 | * sh-tdep.c (sh_init_extra_frame_info): Update comments. | |
3118 | (sh64_init_extra_frame_info): Update comments. | |
3119 | * mn10300-tdep.c: Update comments. | |
3120 | * mcore-tdep.c (mcore_init_extra_frame_info): Update comments. | |
3121 | * config/sparc/tm-sparc.h: Update comments. | |
3122 | * breakpoint.h: Update comments. | |
3123 | * avr-tdep.c (avr_init_extra_frame_info): Update comments. | |
3124 | * arm-tdep.c: Update comment. | |
3125 | ||
f9d3c2a8 MK |
3126 | 2003-04-19 Mark Kettenis <[email protected]> |
3127 | ||
c40e1eab MK |
3128 | * i386-tdep.c (i386_num_register_names): New variable. |
3129 | (i386_num_mmx_regs): Renamed from mmx_num_regs. | |
3130 | (MM0_REGNUM): Remove redundant parentheses in define. | |
3131 | (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs. | |
3132 | (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, | |
3133 | i386_mxcsr_regnum_p): Remove redundant parentheses. | |
3134 | (i386_register_name): Use i386_num_register_names. | |
3135 | ||
94ea66b3 MK |
3136 | * i386-tdep.c (i386_extract_return_value, |
3137 | i386_store_return_value): Correct check for availability of | |
3138 | floating-point registers. | |
3139 | ||
54299a1d MK |
3140 | * i386-tdep.c (i386_frame_num_args): Remove function. |
3141 | (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown. | |
3142 | ||
c86c27af MK |
3143 | * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from |
3144 | mmx_regnum_to_fp_regnum. Adjust all callers. | |
3145 | ||
f9d3c2a8 MK |
3146 | * i386-tdep.c (i386_get_longjmp_target): Use |
3147 | TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT | |
3148 | and TARGET_CHAR_BIT. Use extract_typed_address instead of | |
3149 | extract_address. | |
3150 | ||
94ba74a9 MK |
3151 | 2003-04-19 Mark Kettenis <[email protected]> |
3152 | ||
3153 | * core-regset.c: Update comments to reflect reality. Re-order | |
3154 | includes. | |
3155 | (fetch_core_registers): Use switch instead of if. Remove | |
3156 | redundant prototype. | |
3157 | ||
4074e13c JB |
3158 | 2003-04-18 Jim Blandy <[email protected]> |
3159 | ||
3160 | * s390-tdep.c (s390_frame_align): New function. | |
fbe586ae | 3161 | (s390_gdbarch_init): Register it with the gdbarch object. |
4074e13c | 3162 | |
e3ab4aba RH |
3163 | 2003-04-17 Richard Henderson <[email protected]> |
3164 | ||
3165 | * remote.c (minitelnet): Don't redeclare escape_count, echo_check. | |
3166 | ||
627bf7c1 EZ |
3167 | 2003-04-17 Michael Snyder <[email protected]> |
3168 | Karen Bennet <[email protected]> | |
3169 | ||
3170 | Committed by Elena Zannoni <[email protected]> | |
3171 | * gdb_gcore.sh: New script to create a core dump of a process. | |
3172 | ||
514621a9 EZ |
3173 | 2003-04-17 Elena Zannoni <[email protected]> |
3174 | ||
3175 | * values.c (value_being_returned): Don't fetch the return | |
fbe586ae | 3176 | value if the return type is void. |
514621a9 | 3177 | |
b4acd559 JJ |
3178 | 2003-04-17 Jeff Johnston <[email protected]> |
3179 | ||
3180 | * thread-db.c: Reindented. | |
3181 | ||
530b167e JJ |
3182 | 2003-04-17 Jeff Johnston <[email protected]> |
3183 | ||
3184 | * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, | |
3185 | td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t | |
3186 | as types. | |
3187 | ||
0a48e7e8 MS |
3188 | |
3189 | ||
3190 | ||
3191 | ||
3192 | ||
3193 | ||
3194 | ||
3195 | ||
3196 | ||
3197 | ||
3198 | ||
3199 | ||
3200 | ||
3201 | ||
3202 | ||
3203 | ||
3204 | ||
3205 | ||
3206 | ||
3207 | ||
3208 | ||
3209 | ||
3210 | ||
3211 | ||
ab9fe00e KB |
3212 | 2003-04-16 Kevin Buettner <[email protected]> |
3213 | ||
610a3745 | 3214 | * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set |
ab9fe00e KB |
3215 | the size of ``long double'' to 16, instead of 8. |
3216 | ||
e64a344c MK |
3217 | 2003-04-16 Mark Kettenis <[email protected]> |
3218 | ||
3219 | * i386-linux-nat.c: Add some whitespace to make things more | |
3220 | readable. | |
3221 | (fetch_register, store_register, fetch_inferior_registers, | |
3222 | store_inferior_registers): Get rid of assignment in if-statement. | |
3223 | (store_register): Fix typo in error message. | |
3224 | ||
25d41031 AC |
3225 | 2003-04-16 Andrew Cagney <[email protected]> |
3226 | ||
3227 | * utils.c (xmmalloc): Always allocate something, matches | |
3228 | libiberty/xmalloc's semantics. | |
3229 | (xmrealloc, xmcalloc): Ditto. | |
3230 | ||
c50901fd AC |
3231 | 2003-04-16 Andrew Cagney <[email protected]> |
3232 | ||
3233 | * frame.c (get_prev_frame): Do not initialize "unwind" or "type", | |
3234 | update comments. | |
3235 | (get_frame_type): Initialize unwind and type when needed. | |
3236 | (get_frame_id, frame_register_unwind): Ditto. | |
3237 | ||
f81824a9 AC |
3238 | 2003-04-16 Andrew Cagney <[email protected]> |
3239 | ||
3240 | * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made | |
3241 | obsolete. | |
3242 | * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. | |
3243 | * sparcl-stub.c: Obsolete file. | |
3244 | * config/sparc/tm-sparclet.h: Obsolete file. | |
3245 | * sparclet-stub.c: Obsolete file. | |
3246 | * sparclet-rom.c: Obsolete file. | |
3247 | * sparcl-tdep.c: Obsolete file. | |
3248 | * config/sparc/tm-sparclite.h: Obsolete file. | |
3249 | * config/sparc/sparclite.mt: Obsolete file. | |
3250 | * config/sparc/sparclet.mt: Obsolete file. | |
3251 | * configure.tgt: Make sparclet-*-*, sparclite-*-*, and | |
3252 | sparc86x-*-* obsolete. | |
3253 | ||
9219021c DC |
3254 | 2003-04-15 David Carlton <[email protected]> |
3255 | ||
3256 | * Makefile.in (SFILES): Add cp-namespace.c. | |
3257 | (COMMON_OBS): Add cp-namespace.o. | |
3258 | (block.o): Depend on gdb_obstack_h and cp_support_h. | |
3259 | (buildsym.o): Depend on cp_support_h. | |
3260 | (cp-namespace.o): New. | |
3261 | (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h, | |
3262 | gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h. | |
3263 | (dwarf2read.o): Depend on cp_support_h. | |
3264 | * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE. | |
3265 | * dwarf2read.c (process_die): Set processing_has_namespace_info, | |
3266 | processing_current_namespace. | |
3267 | (read_namespace): Update processing_current_namespace; check for | |
3268 | anonymous namespaces. | |
3269 | (dwarf2_name): New function. | |
3270 | (dwarf2_extension): Ditto. | |
3271 | * cp-support.h: Update copyright, contributors. | |
3272 | Add inclusion guards. | |
3273 | Add opaque declaration for structs obstack, block, symbol. | |
3274 | (struct using_direct): New struct. | |
3275 | Add declarations for cp_find_first_component, | |
3276 | cp_entire_prefix_len, processing_has_namespace_info, | |
3277 | processing_current_namespace, cp_is_anonymous, | |
3278 | cp_add_using_directive, cp_initialize_namespace, | |
3279 | cp_finalize_namespace, cp_set_block_scope, | |
3280 | cp_scan_for_anonymous_namespaces. | |
3281 | * cp-namespace.c: New file. | |
3282 | * cp-support.c: Update copyright. | |
3283 | Include ctype.h, gdb_assert.h, gdbcmd.h. | |
3284 | New variable maint_cplus_cmd_list. | |
3285 | (cp_find_first_component): New function. | |
3286 | (cp_entire_prefix_len, maint_cplus_command) | |
3287 | (first_component_command, _initialize_cp_support): Ditto. | |
3288 | * buildsym.c: Include cp-support.h. | |
3289 | New variable using_list. | |
3290 | (add_symbol_to_list): Check for anonymous namespaces. | |
3291 | (finish_block): Set block's scope. | |
3292 | (start_symtab): Initialize C++ namespace support. | |
3293 | (end_symtab): Finalize C++ namespace support. | |
3294 | * block.h: Add opaque declarations for structs | |
3295 | block_namespace_info, using_direct, and obstack. | |
3296 | Add declarations for block_set_scope and block_set_using. | |
3297 | (struct block): Add 'language_specific' member. | |
3298 | (BLOCK_NAMESPACE): New macro. | |
3299 | * block.c: Include gdb_obstack.h and cp-support.h. | |
3300 | (struct block_namespace_info): New struct. | |
3301 | (block_set_scope): New function. | |
3302 | (block_set_using, block_initialize_namespace): Ditto. | |
3303 | ||
d5a921c9 KB |
3304 | 2003-04-14 Kevin Buettner <[email protected]> |
3305 | ||
3306 | * solib-svr4.c (svr4_have_link_map_offsets): New function. | |
3307 | (locate_base): Return early if there aren't any link map offsets. | |
3308 | (svr4_solib_create_inferior_hook): Warn if shared library support | |
3309 | is unavailable. | |
3310 | ||
d2a52b27 DC |
3311 | 2003-04-14 David Carlton <[email protected]> |
3312 | ||
3313 | * symtab.c (symbol_set_names): Add prefix when storing Java names | |
3314 | in hash table. Fix for PR java/1039. | |
3315 | ||
980cae7a DC |
3316 | 2003-04-14 David Carlton <[email protected]> |
3317 | ||
3318 | * symtab.c (symbol_set_names): Rename 'name' arg to | |
3319 | 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'. | |
3320 | * symtab.h: Change 'name' argument in declaration of | |
3321 | symbol_set_names to 'linkage_name'. | |
3322 | (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'. | |
3323 | ||
e227b13c AC |
3324 | 2003-04-14 Andrew Cagney <[email protected]> |
3325 | ||
3326 | * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE, | |
3327 | return the fully sign-extended register value. | |
3328 | (get_frame_pointer): Ditto. | |
3329 | (mips_pop_frame): Initialize "proc_desc" after checking for a | |
3330 | dummy frame. | |
3331 | ||
36712a20 AC |
3332 | 2003-04-14 Andrew Cagney <[email protected]> |
3333 | ||
3334 | * mips-tdep.c (mips_push_dummy_frame): Delete function. | |
3335 | (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros. | |
3336 | (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro. | |
3337 | (mips_push_register): Delete function. | |
3338 | (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and | |
3339 | PUSH_FP_REGNUM. | |
3340 | ||
44ea7b70 JB |
3341 | 2003-04-14 Jim Blandy <[email protected]> |
3342 | ||
3343 | * symmisc.c: #include "gdb_regex.h". | |
3344 | (maintenance_list_symtabs, maintenance_list_psymtabs): New | |
3345 | functions. | |
3346 | * maint.c (maintenance_list_command): New function. | |
3347 | (_initialize_maint_cmds): Register the above as commands. | |
3348 | * symtab.h (maintenance_list_symtabs, | |
3349 | maintenance_list_psymtabs): New declarations. | |
3350 | * cli/cli-cmds.c (maintenancelistlist): New variable. | |
3351 | (init_cmd_lists): Initialize it. | |
3352 | * cli/cli-cmds.h (maintenancelistlist): New declaration. | |
3353 | * gdbcmd.h (maintenancelistlist): New declaration. | |
3354 | * Makefile.in (symmisc.o): Update dependencies. | |
3355 | ||
2d0c7962 EZ |
3356 | 2003-04-14 Elena Zannoni <[email protected]> |
3357 | ||
3358 | * s390-nat.c: Include asm/types.h for addr_t. | |
3359 | ||
1947a811 CV |
3360 | 2003-04-14 Corinna Vinschen <[email protected]> |
3361 | ||
3362 | * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with | |
3363 | actually incoming type. | |
3364 | ||
adb616d7 AC |
3365 | 2003-04-13 Andrew Cagney <[email protected]> |
3366 | ||
3367 | * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc, | |
3368 | get_next_frame and get_frame_saved_regs. | |
3369 | ||
9b5e151c AC |
3370 | 2003-04-13 Andrew Cagney <[email protected]> |
3371 | ||
3372 | * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead | |
3373 | of gdbarch_num_regs. | |
3374 | ||
ef6e7e13 AC |
3375 | 2003-04-13 Andrew Cagney <[email protected]> |
3376 | ||
3377 | * frame.h: Mention what replaced what in "struct frame_info". | |
3378 | * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and | |
3379 | deprecated_update_frame_base_hack and | |
3380 | deprecated_update_frame_pc_hack. | |
3381 | * hppa-tdep.c: Ditto. | |
3382 | ||
61fbb938 DJ |
3383 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
3384 | ||
3385 | * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments | |
3386 | to read_reg and update its comment. Remove regnum member. | |
3387 | * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval. | |
3388 | Don't call read_reg when setting in_reg. Call read_reg to get | |
3389 | the frame base if it's in a register. Return the register number | |
3390 | on the stack instead of in the context. Remove extra arguments | |
3391 | to read_reg. | |
3392 | * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments. | |
3393 | (dwarf2_evaluate_loc_desc): Call value_from_register. Expect | |
3394 | the register number on the expression stack. | |
3395 | (needs_frame_read_reg): Remove extra arguments. | |
3396 | ||
0d53c4c4 DJ |
3397 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
3398 | ||
3399 | * dwarf2expr.c (dwarf2_read_address): Renamed from read_address; | |
3400 | made non-static. | |
3401 | (execute_stack_op): All callers updated. | |
3402 | * dwarf2expr.h: Add prototype for dwarf2_read_address. | |
3403 | * dwarf2loc.c (find_location_expression): New function. | |
3404 | (dwarf_expr_frame_base): Call it. | |
3405 | (dwarf2_evaluate_loc_desc): Handle 0-length location expressions. | |
3406 | (dwarf2_tracepoint_var_ref): New function, broken out from | |
3407 | locexpr_tracepoint_var_ref. | |
3408 | (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref. | |
3409 | Make static. | |
3410 | (loclist_read_variable, loclist_read_needs_frame): New functions. | |
3411 | (loclist_describe_location, loclist_tracepoint_var_ref): New | |
3412 | functions. | |
3413 | (dwarf2_loclist_funcs): New struct location_funcs. | |
3414 | * dwarf2loc.h (struct dwarf2_loclist_baton): New type. | |
3415 | (struct dwarf2_locexpr_baton): Add comments. | |
3416 | (dwarf2_loclist_funcs): New extern. | |
3417 | * dwarf2read.c (struct comp_unit_head): Remove DIE member, add | |
3418 | base_address and base_known. | |
3419 | (dwarf_loc_buffer): New variable. | |
3420 | (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size. | |
3421 | (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros. | |
3422 | (dwarf2_has_info): Initialize dwarf_loc_offset. | |
3423 | (dwarf2_build_psymtabs): Read in .debug_loc. | |
3424 | (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and | |
3425 | DWARF_LOC_SIZE. | |
3426 | (psymtab_to_symtab_1): Likewise. Move base address calculation | |
3427 | here, from... | |
3428 | (dwarf2_get_pc_bounds): ... here. Use the base address from | |
3429 | cu_header. | |
3430 | (dwarf2_symbol_mark_computed): Handle location lists. | |
3431 | ||
6aca59a3 DJ |
3432 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
3433 | ||
3434 | * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode | |
3435 | if the linkage name demangled successfully. | |
3436 | ||
aca1fcd0 MK |
3437 | 2003-04-13 Mark Kettenis <[email protected]> |
3438 | ||
97095916 MK |
3439 | * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours, |
3440 | disassmbly_flavour): Removed. | |
3441 | ||
aca1fcd0 MK |
3442 | * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. |
3443 | ||
562a961f MK |
3444 | 2003-04-13 Mark Kettenis <[email protected]> |
3445 | ||
3446 | * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed. | |
3447 | ||
bd013d54 AC |
3448 | 2003-04-12 Andrew Cagney <[email protected]> |
3449 | ||
3450 | * frame.h (struct frame_info): Move definition from here ... | |
3451 | * frame.c (struct frame_info): ... to here. | |
3452 | ||
167ef8b1 AC |
3453 | 2003-04-12 Andrew Cagney <[email protected]> |
3454 | ||
3455 | * gdbthread.h (save_infrun_state): Delete parameter | |
3456 | "prev_func_start". | |
3457 | (struct thread_info): Delete field "prev_func_start". | |
3458 | (load_infrun_state): Ditto. | |
3459 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
3460 | * infrun.c (prev_func_start): Delete variable. | |
3461 | (context_switch, init_wait_for_inferior): Update. | |
3462 | (stop_stepping, keep_going): Update. | |
3463 | ||
da3331ec AC |
3464 | 2003-04-12 Andrew Cagney <[email protected]> |
3465 | ||
3466 | * gdbarch.sh: Add missing opaque declarations. | |
3467 | * gdbarch.h: Regnerate. | |
3468 | * symtab.h: Add missing opaque declarations. | |
3469 | * value.h, target.h, symfile.h, stabsread.h: Ditto. | |
3470 | * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. | |
3471 | * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. | |
3472 | * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. | |
3473 | * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. | |
3474 | * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. | |
3475 | * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. | |
3476 | * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. | |
3477 | * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. | |
3478 | * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. | |
3479 | * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. | |
3480 | * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. | |
3481 | * cli/cli-setshow.h, cli/cli-script.h: Ditto. | |
3482 | ||
18adea3f AC |
3483 | 2003-04-11 Andrew Cagney <[email protected]> |
3484 | ||
3485 | * frame.c (get_frame_id): Return this frame's "id". | |
3486 | (legacy_get_prev_frame): Set prev's frame ID code_addr to the | |
3487 | function start. | |
3488 | (legacy_saved_regs_this_id): Replace function body with | |
3489 | internal-error. | |
3490 | (deprecated_frame_xmalloc): Mark the frame ID as valid, use | |
3491 | FRAME_OBSTACK_ZALLOC. | |
3492 | (create_new_frame): Mark the frame ID as valid. | |
3493 | ||
2252e863 AO |
3494 | 2003-04-11 Alexandre Oliva <[email protected]> |
3495 | ||
3496 | * Makefile.in (libbfd_h): Added missing setting. | |
3497 | * mips-tdep.c (mips_gdbarch_init): Set disassembler_options | |
3498 | according to the selected ABI. | |
3499 | ||
a8245ab8 JJ |
3500 | 2003-04-11 Jeff Johnston <[email protected]> |
3501 | ||
3502 | * gdb_indent.sh: Recognize pid_t and sigset_t as types. | |
3503 | ||
6913c89a AC |
3504 | 2003-04-11 Andrew Cagney <[email protected]> |
3505 | ||
3506 | * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate | |
3507 | SAVED_PC_AFTER_CALL. | |
3508 | * gdbarch.h, gdbarch.c: Regenerate. | |
3509 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
3510 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
3511 | * vax-tdep.c (vax_gdbarch_init): Update. | |
3512 | * v850-tdep.c (v850_gdbarch_init): Update. | |
3513 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
3514 | * sh-tdep.c (sh_gdbarch_init): Update. | |
3515 | * s390-tdep.c (s390_gdbarch_init): Update. | |
3516 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3517 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
3518 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
3519 | * mips-tdep.c (mips_gdbarch_init): Update. | |
3520 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
3521 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
3522 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
3523 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
3524 | (ia64_saved_pc_after_call): Update declaration. | |
3525 | * i386ly-tdep.c (i386lynx_init_abi): Update. | |
3526 | * i386-tdep.c (i386_gdbarch_init): Update. | |
3527 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
3528 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
3529 | * frv-tdep.c (frv_gdbarch_init): Update. | |
3530 | * cris-tdep.c (cris_gdbarch_init): Update. | |
3531 | * avr-tdep.c (avr_gdbarch_init): Update. | |
3532 | * arm-tdep.c (arm_gdbarch_init): Update. | |
3533 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
3534 | * ns32knbsd-nat.c (frame_num_args): Update. | |
3535 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
3536 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
3537 | * infrun.c (step_over_function): Update. | |
3538 | * i386-linux-tdep.c (skip_hurd_resolver): Update. | |
3539 | * i386-interix-tdep.c (i386_interix_back_one_frame): Update. | |
3540 | * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
3541 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
3542 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
3543 | * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
3544 | * arm-linux-tdep.c (skip_hurd_resolver): Update. | |
3545 | * arch-utils.c (init_frame_pc_default): Update. | |
3546 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
3547 | * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update | |
3548 | declaration. | |
3549 | ||
38edeab8 AC |
3550 | 2003-04-11 Andrew Cagney <[email protected]> |
3551 | ||
3552 | * i387-tdep.c: Update copyright. | |
3553 | (i387_to_double): Delete function. | |
3554 | (double_to_i387): Delete function. | |
3555 | ||
81f8a206 AC |
3556 | 2003-04-10 Andrew Cagney <[email protected]> |
3557 | ||
3558 | * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the | |
3559 | frame's function's address. Simplify. | |
3560 | (d10v_frame_unwind_cache): Check that the frame's function is | |
3561 | non-zero. | |
3562 | ||
6e691f7a JB |
3563 | 2003-04-10 Jim Blandy <[email protected]> |
3564 | ||
3565 | * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted | |
3566 | call to set_gdbarch_deprecated_push_arguments. | |
3567 | ||
7f78e237 AC |
3568 | 2003-04-10 Andrew Cagney <[email protected]> |
3569 | ||
3570 | * frame.c (fprint_frame_id): New function. | |
3571 | (fprint_frame_type, fprint_frame): New function. | |
3572 | (frame_pc_unwind, frame_func_unwind): Add/update trace code. | |
3573 | (create_sentinel_frame, get_frame_id): Ditto. | |
3574 | (frame_id_p, frame_id_eq): Ditto. | |
3575 | (frame_id_inner, create_new_frame): Ditto. | |
3576 | (legacy_get_prev_frame, get_prev_frame): Ditto. | |
3577 | (deprecated_update_frame_pc_hack): Ditto. | |
3578 | (frame_register_unwind): Ditto. | |
3579 | (deprecated_update_frame_base_hack): Ditto. | |
3580 | ||
f870b49b CV |
3581 | 2003-04-10 Corinna Vinschen <[email protected]> |
3582 | ||
3583 | * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function. | |
3584 | (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new | |
3585 | frame_chain function. | |
3586 | * Makefile.in: Add dependencies due to above change. | |
3587 | ||
7c86889b CV |
3588 | 2003-04-10 Corinna Vinschen <[email protected]> |
3589 | ||
3590 | * blockframe.c (legacy_frame_chain_valid): Move call to | |
3591 | DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and | |
3592 | inside_entry_file. | |
3593 | ||
d0a55772 AC |
3594 | 2003-04-09 Andrew Cagney <[email protected]> |
3595 | ||
3596 | * frame.h (struct frame_id): Replace "pc" and "base" with | |
3597 | "stack_addr" and "code_addr". Update comments. | |
3598 | (frame_id_build): Update parameter names and comment. | |
3599 | (struct frame_info): Replace "id_p" and "id" with "this_id". | |
3600 | * dummy-frame.c (dummy_frame_this_id): Update. | |
3601 | * breakpoint.c (print_one_breakpoint): Update. | |
3602 | * frame.c (get_frame_id): Update. | |
3603 | (get_frame_base, frame_id_build): Update. | |
3604 | (create_sentinel_frame, legacy_get_prev_frame): Update. | |
3605 | (deprecated_update_frame_base_hack): Update. | |
3606 | (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. | |
3607 | (frame_id_inner): Ditto. | |
3608 | ||
ac16bf07 AC |
3609 | 2003-04-09 Andrew Cagney <[email protected]> |
3610 | ||
3611 | * defs.h (gdb_print_host_address): Make "addr" parameter a | |
3612 | pointer constant. | |
3613 | * utils.c (gdb_print_host_address): Update. | |
3614 | ||
366cfc9e KB |
3615 | 2003-04-09 Kevin Buettner <[email protected]> |
3616 | ||
3617 | * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the | |
3618 | register number for R0 is 0. | |
3619 | ||
cd983b5c JB |
3620 | 2003-04-09 J. Brobecker <[email protected]> |
3621 | ||
3622 | * frame.h (struct gdbarch): Add opaque structure definition | |
3623 | to avoid a compilation warning on LynxOS 4.0. | |
3624 | ||
d1340264 AC |
3625 | 2003-04-09 Andrew Cagney <[email protected]> |
3626 | ||
3627 | * frame.h (struct frame_info): Delete field "pc". Replace | |
3628 | "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc" | |
3629 | structure. | |
3630 | * frame.c (frame_pc_unwind): Update. | |
3631 | (create_sentinel_frame): Do not set "pc". | |
3632 | (get_prev_frame): Do not set "pc". Use frame_pc_unwind. | |
3633 | (get_frame_pc): Call frame_pc_unwind. | |
3634 | (deprecated_update_frame_pc_hack): Update. | |
3635 | (create_new_frame): Use "pc" not "->pc". | |
3636 | ||
90a6fffb AC |
3637 | 2003-04-09 Andrew Cagney <[email protected]> |
3638 | ||
3639 | * frame.c (get_frame_id): Eliminate code updating "frame". | |
3640 | (legacy_get_prev_frame): Ditto. | |
3641 | (get_frame_base): Return id.base directly. | |
3642 | (deprecated_update_frame_base_hack): Update "id.base". | |
3643 | * frame.h (struct frame_info): Delete field "frame". | |
3644 | ||
2fbce691 AC |
3645 | 2003-04-09 Andrew Cagney <[email protected]> |
3646 | ||
3647 | * NEWS: Mention that the "Sequent family" is obsolete. | |
3648 | * configure.tgt: Obsolete i[3456]86-sequent-bsd*, | |
3649 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
3650 | * configure.host: Obsolete i[3456]86-sequent-bsd*, | |
3651 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
3652 | * config/i386/tm-ptx4.h: Obsolete file. | |
3653 | * config/i386/tm-ptx.h: Obsolete file. | |
3654 | * symm-tdep.c: Obsolete file. | |
3655 | * config/i386/symmetry.mt: Obsolete file. | |
3656 | * config/i386/tm-symmetry.h: Obsolete file. | |
3657 | * symm-nat.c: Obsolete file. | |
3658 | * config/i386/nm-symmetry.h: Obsolete file. | |
3659 | * config/i386/xm-symmetry.h: Obsolete file. | |
3660 | * config/i386/symmetry.mh: Obsolete file. | |
3661 | * config/i386/nm-ptx4.h: Obsolete file. | |
3662 | * config/i386/ptx4.mh: Obsolete file. | |
3663 | * config/i386/ptx.mt: Obsolete file. | |
3664 | * config/i386/ptx.mh: Obsolete file. | |
3665 | * config/i386/xm-ptx4.h: Obsolete file. | |
3666 | * config/i386/xm-ptx.h: Obsolete file. | |
3667 | ||
78c43945 AC |
3668 | 2003-04-09 Andrew Cagney <[email protected]> |
3669 | ||
3670 | Obsolete mips*-*-mach3*. | |
3671 | * NEWS: Mention that mips*-*-mach3* is obsolete. | |
3672 | * m3-nat.c: Obsolete file. | |
3673 | * config/nm-m3.h: Obsolete file. | |
3674 | * config/mips/tm-mipsm3.h: Obsolete file. | |
3675 | * config/mips/mipsm3.mt: Obsolete file. | |
3676 | * config/mips/mipsm3.mh: Obsolete file. | |
3677 | * config/mips/xm-mipsm3.h: Obsolete file. | |
3678 | * mipsm3-nat.c: Obsolete file. | |
3679 | * configure.host: Obsolete mips-dec-mach3*. | |
3680 | * configure.tgt: Obsolete mips*-*-mach3*. | |
3681 | ||
f1908289 AC |
3682 | 2003-04-09 Andrew Cagney <[email protected]> |
3683 | ||
3684 | * doublest.h: Update copyright. | |
3685 | (deprecated_store_floating, deprecated_extract_floating): Rename | |
3686 | store_floating and extract_floating. Update comments. | |
3687 | * doublest.c: Update copyright. | |
3688 | (extract_floating_by_length): Replace extract_floating. | |
3689 | (store_floating_by_length): Replace store_floating. | |
3690 | (deprecated_extract_floating): New function. | |
3691 | (deprecated_store_floating): New function. | |
3692 | (extract_typed_floating): Call extract_floating_by_length. | |
3693 | (store_typed_floating): Call store_floating_by_length. | |
3694 | * x86-64-tdep.c (x86_64_store_return_value): Update. | |
3695 | * sh-tdep.c (sh3e_sh4_extract_return_value): Update. | |
3696 | (sh64_extract_return_value): Update. | |
3697 | (sh_sh4_register_convert_to_virtual): Update. | |
3698 | (sh_sh64_register_convert_to_virtual): Update. | |
3699 | (sh_sh4_register_convert_to_raw): Update. | |
3700 | (sh_sh64_register_convert_to_raw): Update. | |
3701 | * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. | |
3702 | (rs6000_register_convert_to_raw): Update. | |
3703 | * ia64-tdep.c (ia64_register_convert_to_virtual): Update. | |
3704 | (ia64_register_convert_to_raw): Update. | |
3705 | * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. | |
3706 | (REGISTER_CONVERT_TO_VIRTUAL): Update. | |
3707 | * arm-linux-tdep.c (arm_linux_push_arguments): Update. | |
3708 | * alpha-tdep.c (alpha_register_convert_to_virtual): Update. | |
3709 | (alpha_register_convert_to_raw): Update. | |
3710 | ||
4443bd83 AC |
3711 | 2003-04-08 Andrew Cagney <[email protected]> |
3712 | ||
3713 | * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. | |
3714 | * gdbarch.h, gdbarch.c: Re-generate. | |
3715 | * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. | |
3716 | (d10v_gdbarch_init): Do not set saved_pc_after_call. | |
3717 | * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P | |
3718 | conditionally, use frame_pc_unwind as an alternative. Add | |
3719 | comments. | |
3720 | * arch-utils.c (init_frame_pc_default): Only call | |
3721 | SAVED_PC_AFTER_CALL when available. | |
3722 | ||
c0236d92 EZ |
3723 | 2003-04-08 Elena Zannoni <[email protected]> |
3724 | ||
fbe586ae | 3725 | * infrun.c (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
3726 | (struct inferior_status): Rename stop_soon_quietly field to stop_soon. |
3727 | (clear_proceed_status): Rename stop_soon_quietly to stop_soon. | |
3728 | (start_remote): Ditto. | |
3729 | (handle_inferior_event): Ditto. | |
3730 | (save_inferior_status): Ditto. | |
3731 | (restore_inferior_status): Ditto. | |
3732 | * infcmd.c (attach_command): Ditto. | |
3733 | * fork-child.c (startup_inferior): Ditto. | |
fbe586ae | 3734 | * inferior.h (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
3735 | * alpha-tdep.c (heuristic_proc_start): Ditto. |
3736 | * mips-tdep.c (heuristic_proc_start): Ditto. | |
3737 | * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. | |
3738 | * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. | |
3739 | * solib-osf.c (osf_solib_create_inferior_hook): Ditto. | |
3740 | * solib-irix.c (irix_solib_create_inferior_hook): Ditto. | |
3741 | * remote-vx.c (vx_create_inferior): Ditto. | |
3742 | ||
3743 | 2003-04-08 Elena Zannoni <[email protected]> | |
3744 | ||
3745 | * infrun.c (stop_soon_quietly): Make it an enum, to better | |
3746 | override the default behavior of handle_inferior_event. | |
3747 | (clear_proceed_status): Update uses of stop_soon_quietly to | |
3748 | reflect that it is now an enum. | |
3749 | (start_remote): Ditto. | |
3750 | (handle_inferior_event): Change logic a bit if stop_soon_quietly | |
3751 | is set to handle the new GNU/Linux kernel behavior for | |
3752 | attach/sigstop. Update uses of stop_soon_quietly. | |
3753 | * inferior.h (enum stop_kind): New enum. | |
3754 | * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. | |
3755 | Reset normal handle_inferior_event behavior, afterwards. | |
3756 | * fork-child.c (startup_inferior): Update. | |
3757 | * alpha-tdep.c (heuristic_proc_start): Update. | |
3758 | * solib-svr4.c (svr4_solib_create_inferior_hook): Update. | |
3759 | * solib-sunos.c (sunos_solib_create_inferior_hook): Update. | |
3760 | * solib-osf.c (osf_solib_create_inferior_hook): Update. | |
3761 | * solib-irix.c (irix_solib_create_inferior_hook): Update. | |
3762 | * remote-vx.c (vx_create_inferior): Update. | |
3763 | * mips-tdep.c (heuristic_proc_start): Update. | |
3764 | ||
1211bce3 EZ |
3765 | 2003-04-07 Elena Zannoni <[email protected]> |
3766 | ||
3767 | * disasm.c (dump_insns): Move variables inside loop, or they will | |
fbe586ae | 3768 | be freed more than once, causing wild memory corruptions. |
1211bce3 | 3769 | (gdb_disassembly): Look for the substring "-thread", |
fbe586ae RH |
3770 | instead of "-threads" in the target name, to make sure to find |
3771 | the 'multi-thread' target. Also, make sure we do the right thing | |
3772 | with the "core" target. | |
1211bce3 | 3773 | |
f0ef6b29 KB |
3774 | 2003-04-07 Kevin Buettner <[email protected]> |
3775 | ||
3776 | * mips-tdep.c (mips_print_fp_register): New function, created from | |
3777 | do_fp_register_row(). Registers are now (also) printed as hex. | |
3778 | Only one register is printed per row. | |
3779 | (mips_print_register, do_fp_register_row): Print floating point | |
3780 | registers with mips_print_fp_register(). | |
3781 | ||
8cf71652 AC |
3782 | 2003-04-06 Andrew Cagney <[email protected]> |
3783 | ||
5e488a7b AC |
3784 | * valprint.h (inspect_it): Add extern declaration. |
3785 | * objc-lang.c (value_nsstring): Avoid assignment inside of "if". | |
3786 | (selectors_info, classes_info): Ditto. | |
3787 | (find_objc_msgcall): Fix indentation. | |
3788 | (objc_printstr): Delete extern declarations. | |
3789 | ||
8cf71652 AC |
3790 | * arm-tdep.c (arm_frameless_function_invocation): Fix typo. |
3791 | ||
e6ba3bc9 AC |
3792 | 2003-04-06 Andrew Cagney <[email protected]> |
3793 | ||
3794 | * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid. | |
3795 | Update comment. | |
3796 | * frame.c (legacy_saved_regs_this_id): Update. | |
3797 | (legacy_get_prev_frame): Update. | |
3798 | * xstormy16-tdep.c: Update comment. | |
3799 | * sparc-tdep.c (sparc_frame_chain): Update comment. | |
3800 | * blockframe.c (legacy_frame_chain_valid): Update. | |
3801 | ||
55e1d7e7 AC |
3802 | 2003-04-06 Andrew Cagney <[email protected]> |
3803 | ||
996179ee AC |
3804 | * valprint.c (val_print_type_code_int): Delete #ifdef |
3805 | PRINT_TYPELESS_INTEGER code. | |
3806 | ||
55e1d7e7 AC |
3807 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES) |
3808 | (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial | |
3809 | multi-arch definition. | |
3810 | * gdbarch.h: Re-generate. | |
3811 | ||
43bd9a9e AC |
3812 | 2003-04-05 Andrew Cagney <[email protected]> |
3813 | ||
3814 | Eliminate FRAME_FIND_SAVED_REGS. | |
3815 | * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
3816 | Change FSR parameter to a pointer. | |
3817 | * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): | |
3818 | Assume FSR parameter is a pointer. | |
3819 | * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
3820 | Make fsr a pointer. | |
3821 | * hppa-tdep.c (hppa_frame_find_saved_regs): New function. | |
3822 | (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make | |
3823 | saved_regs a pointer. | |
3824 | (hppa_frame_saved_pc): Ditto. | |
3825 | (find_dummy_frame_regs): Make frame_saved_regs a pointer | |
3826 | (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a | |
3827 | pointer. | |
3828 | (restore_pc_queue): Make fsr a pointer. | |
3829 | (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer. | |
3830 | (hppa_frame_chain): Make saved_regs a pointer, call | |
3831 | hppa_frame_init_saved_regs. | |
3832 | * sparc-tdep.c: Include "gdb_assert.h". | |
3833 | (sparc_frame_find_saved_regs): Replace internal_error with | |
3834 | gdb_assert. | |
3835 | * remote-vxsparc.c (vx_read_register): Delete reference to | |
3836 | FRAME_FIND_SAVED_REGS. | |
3837 | * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS. | |
3838 | * gdbarch.h: Regenerate. | |
3839 | * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
3840 | (deprecated_get_frame_saved_regs): Delete declaration. | |
3841 | (struct frame_saved_regs): Delete definition. | |
3842 | * frame.c (deprecated_get_frame_saved_regs): Delete function. | |
3843 | * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare. | |
3844 | (hppa_frame_find_saved_regs): Delete declaration. | |
3845 | (FRAME_FIND_SAVED_REGS): Delete macro. | |
3846 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Define. | |
3847 | * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete | |
3848 | FRAME_FIND_SAVED_REGS in comment. | |
3849 | ||
be41e9f4 AC |
3850 | 2003-04-05 Andrew Cagney <[email protected]> |
3851 | ||
3852 | * frame.c (frame_func_unwind, get_frame_func): New functions. | |
3853 | * frame.h (get_frame_func, frame_func_unwind): Declare. | |
3854 | (struct frame_info): Add field "prev_func" for caching the | |
3855 | previous frame's function address. | |
3856 | * arm-tdep.c (arm_frameless_function_invocation): Combine | |
3857 | get_pc_function_start and get_frame_pc into get_frame_func. | |
3858 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
3859 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
3860 | * s390-tdep.c (s390_function_start): Ditto. | |
3861 | * rs6000-tdep.c (rs6000_pop_frame): Ditto. | |
3862 | (rs6000_frameless_function_invocation): Ditto. | |
3863 | (rs6000_frame_saved_pc): Ditto. | |
3864 | * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto. | |
3865 | * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto. | |
3866 | * i386-tdep.c (i386_frameless_signal_p): Ditto. | |
3867 | (i386_frame_init_saved_regs): Ditto. | |
3868 | * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto. | |
3869 | * d10v-tdep.c (d10v_frame_unwind_cache): Combine | |
3870 | get_pc_function_start and frame_pc_unwind into frame_func_unwind. | |
3871 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
3872 | * blockframe.c (frameless_look_for_prologue): Ditto. | |
3873 | ||
a01dd7cc AC |
3874 | 2003-04-05 Andrew Cagney <[email protected]> |
3875 | ||
3876 | * frame.c (legacy_get_prev_frame): Link prev to next at the | |
3877 | function start. Update comments. | |
3878 | ||
5e5592e6 AC |
3879 | 2003-04-05 Andrew Cagney <[email protected]> |
3880 | ||
3881 | * frame.c (get_frame_id): Update comment. | |
3882 | (legacy_get_prev_frame): Update comment. | |
3883 | * gdbarch.sh: Delete check for EXTRA_FRAME_INFO. | |
3884 | * gdbarch.h: Regenerate. | |
3885 | * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete. | |
3886 | * frame.h: Delete #ifdef EXTRA_FRAME_INFO code. | |
3887 | ||
6fba5002 AC |
3888 | 2003-04-05 Andrew Cagney <[email protected]> |
3889 | ||
3890 | * stack.c (print_frame_info): Use get_frame_pc. | |
3891 | ||
7df05f2b AC |
3892 | 2003-04-04 Andrew Cagney <[email protected]> |
3893 | ||
3894 | * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set | |
3895 | the frame's type from the unwinder. | |
3896 | (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME. | |
3897 | (create_new_frame, legacy_get_prev_frame): When the unwinder's | |
3898 | type isn't UNKNOWN_FRAME, initalize "type" from the unwinder. | |
3899 | (get_frame_base_address): Use get_frame_type. | |
3900 | (get_frame_locals_address, get_frame_args_address): Ditto. | |
3901 | (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE. | |
3902 | * frame.h (enum frame_type): Add UNKNOWN_FRAME. | |
3903 | (struct frame_info): Add comment explaining why the frame contains | |
3904 | a "type" field. | |
3905 | * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME. | |
3906 | * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME. | |
3907 | * sentinel-frame.c (sentinel_frame_unwinder): Set the type to | |
3908 | NORMAL_FRAME. | |
3909 | * frame-unwind.h: Include "frame.h". | |
3910 | (struct frame_unwind): Add "type" field. | |
3911 | * Makefile.in (frame_unwind_h): Add $(frame_h). | |
3912 | ||
11889732 AC |
3913 | 2003-04-04 Andrew Cagney <[email protected]> |
3914 | ||
3915 | * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build. | |
3916 | * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. | |
3917 | * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and | |
3918 | get_frame_base. | |
3919 | (d10v_unwind_dummy_id): Use frame_id_build. | |
3920 | * frame.c (find_frame_sal): Use get_frame_pc. | |
3921 | (create_new_frame): Use deprecated_update_frame_pc_hack and | |
3922 | deprecated_update_frame_base_hack. | |
3923 | (create_sentinel_frame): Add comment about ->pc going away. | |
3924 | (get_prev_frame): Add comment about ->pc going away. | |
3925 | (legacy_get_prev_frame): Use get_frame_base, get_frame_pc, | |
3926 | frame_id_build, deprecated_update_frame_pc_hack and | |
3927 | deprecated_update_frame_base_hack. | |
3928 | (select_frame): Use get_frame_pc. | |
3929 | (legacy_saved_regs_this_id): Use frame_id_build. | |
3930 | ||
50c46a0d EZ |
3931 | 2003-04-04 Elena Zannoni <[email protected]> |
3932 | ||
fbe586ae RH |
3933 | * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the |
3934 | signed integer case. | |
3935 | (classify_argument): Handle enumerations and references. | |
50c46a0d | 3936 | |
50bbdbd9 AC |
3937 | 2003-04-04 Andrew Cagney <[email protected]> |
3938 | ||
3939 | * frame.c (create_sentinel_frame): Initialize the sentinel frame's | |
3940 | ID to NULL. | |
3941 | ||
36018d2e AF |
3942 | 2003-04-01 Adam Fedor <[email protected]> |
3943 | ||
3944 | * gdb/objc-lang.c (selectors_info): Replace calls to | |
3945 | SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with | |
3946 | SYMBOL_NATURAL_NAME. | |
3947 | (classes_info, find_methods): Likewise. | |
3948 | ||
35cec841 KB |
3949 | 2003-04-03 Kevin Buettner <[email protected]> |
3950 | ||
3951 | * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set | |
3952 | ``mach'' to the value determined by bfd_default_set_arch_mach(). | |
3953 | ||
43136899 BR |
3954 | 2003-04-02 Bob Rossi <[email protected]> |
3955 | ||
3956 | * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o". | |
3957 | (SUBDIR_MI_SRCS): Add "mi-cmd-file.c". | |
3958 | (mi-cmd-file.o): Update dependencies. | |
3959 | ||
040b99fd KB |
3960 | 2003-04-01 Kevin Buettner <[email protected]> |
3961 | ||
3962 | * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
3963 | (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. | |
3964 | ||
9a3d7dfd AF |
3965 | 2003-04-01 Adam Fedor <[email protected]> |
3966 | ||
3967 | * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h). | |
3968 | * language.h (struct language_defn): Add la_demangle. | |
3969 | (language_demangle): Declare. | |
3970 | * language.c (language_demangle): New function. | |
3971 | (unk_lang_demangle): Likewise. | |
3972 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
fbe586ae | 3973 | Add ukn_lang_demangle. |
9a3d7dfd | 3974 | * ada-lang.c (ada_language_defn): Add NULL for la_demangle element. |
fbe586ae | 3975 | * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise. |
9a3d7dfd AF |
3976 | * c-lang.c (c_language_defn, asm_language_defn): Likewise. |
3977 | (cplus_language_defn): Add cplus_demangle for la_demangle element. | |
3978 | * jv-lang.c (java_demangle): New function | |
3979 | (java_language_defn): Use it for la_demangle element. | |
fbe586ae RH |
3980 | * objc-lang.c (objc_demangle): Add options argument |
3981 | (objc_language_defn): Use objc_demangle for la_demangle element. | |
9a3d7dfd AF |
3982 | * maint.c (maintenance_demangle): Replace switch with |
3983 | call to language_demangle. | |
3984 | * utils.c (fprintf_symbol_filtered): Likewise. | |
3985 | ||
5e074003 AC |
3986 | 2003-04-01 Andrew Cagney <[email protected]> |
3987 | ||
3988 | * printcmd.c (print_frame_nameless_args): Delete #ifdef | |
3989 | NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and | |
3990 | PRINT_TYPELESS_INTEGER. | |
3991 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename | |
3992 | PUSH_RETURN_ADDRESS. | |
3993 | ||
270cb5d6 AC |
3994 | 2003-04-01 Andrew Cagney <[email protected]> |
3995 | ||
3996 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
3997 | * d10v-tdep.c: Include "frame-base.h". | |
3998 | (d10v_frame_unwind): Make constant. | |
3999 | (d10v_frame_base_address): New function. | |
4000 | (d10v_frame_base): New variable. | |
4001 | (d10v_gdbarch_init): Set frame_base default. | |
4002 | (struct d10v_unwind_cache): Add the field "prev_sp". Update | |
4003 | comment for base. | |
4004 | (d10v_frame_unwind_cache): Set and use "prev_sp". | |
4005 | (d10v_frame_this_id): Use the previous frame's inner most stack | |
4006 | address and this frame's func address for the frame ID. Use | |
4007 | frame_id_build. Don't analyze beyond the current instruction. | |
4008 | ||
6bfb3e36 AC |
4009 | 2003-04-01 Andrew Cagney <[email protected]> |
4010 | ||
4011 | * frame.h (get_frame_locals_address, get_frame_args_address): | |
4012 | Refer to the base address, instead of the address of the first | |
4013 | local or parameter. | |
4014 | ||
da62e633 AC |
4015 | 2003-04-01 Andrew Cagney <[email protected]> |
4016 | ||
4017 | Add frame debug info addresses: | |
4018 | * frame-base.c: New file. | |
4019 | * frame-base.h: New file. | |
4020 | * frame.h (struct frame_base): Add opaque declaration. | |
4021 | (get_frame_base): Update comment. | |
4022 | (get_frame_base_address): Declare. | |
4023 | (get_frame_locals_address): Declare. | |
4024 | (get_frame_args_address): Declare. | |
4025 | (struct frame_info): Add "base" and "base_cache". Update | |
4026 | comments on the unwinder. | |
4027 | * frame.c: Include "frame-base.h". | |
4028 | (get_frame_locals_address): New function. | |
4029 | (get_frame_base_address): New function. | |
4030 | (get_frame_args_address): New function. | |
4031 | * findvar.c (read_var_value): Use get_frame_locals_address and | |
4032 | get_frame_args_address. | |
4033 | * stack.c (frame_info): Use get_frame_locals_address and | |
4034 | get_frame_args_address. | |
4035 | (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro, | |
4036 | moved to "frame-base.c". | |
4037 | * printcmd.c (print_frame_nameless_args): Ditto. | |
4038 | * symtab.h (address_class): Update comments. | |
4039 | * dwarf2loc.c (dwarf_expr_frame_base): Add note about | |
4040 | get_frame_base_address. | |
4041 | * dwarf2expr.c (execute_stack_op): Ditto. | |
4042 | * Makefile.in (frame_base_h): Define. | |
4043 | (frame.o): Update dependencies. | |
4044 | (frame-base.o): Add dependencies. | |
4045 | (SFILES): Add frame-base.c. | |
4046 | (COMMON_OBS): Add frame-base.o. | |
4047 | ||
3d30e9c2 AC |
4048 | 2003-04-01 Andrew Cagney <[email protected]> |
4049 | ||
4050 | * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero. | |
4051 | CALL_DUMMY_LENGTH): Ditto. | |
4052 | * gdbarch.c: Re-generate. | |
4053 | * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro. | |
4054 | (CALL_DUMMY_LENGTH): Delete macro. | |
4055 | * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero. | |
4056 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
4057 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
4058 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4059 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
4060 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
4061 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
4062 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
4063 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
4064 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
4065 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4066 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
4067 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
4068 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
4069 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
4070 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
4071 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4072 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
4073 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
4074 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
4075 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
4076 | ||
ce0c7262 CV |
4077 | 2003-04-01 Corinna Vinschen <[email protected]> |
4078 | ||
4079 | * frame.c (get_prev_frame): Disable call to inside_entry_file(). | |
4080 | ||
73dd234f AC |
4081 | 2003-04-01 Andrew Cagney <[email protected]> |
4082 | ||
4083 | * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero. | |
4084 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
4085 | * gdbarch.h, gdbarch.c: Re-generate. | |
4086 | * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
4087 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
4088 | * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
4089 | * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
4090 | (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
4091 | * infcmd.c (run_stack_dummy): Simplify assuming | |
4092 | CALL_DUMMY_BREAKPOINT_OFFSET_P. | |
4093 | * infrun.c (handle_inferior_event): Ditto. | |
4094 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
4095 | call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p. | |
4096 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
4097 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
4098 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4099 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
4100 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
4101 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
4102 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
4103 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
4104 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4105 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
4106 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
4107 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
4108 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
4109 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
4110 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
4111 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
4112 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4113 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
4114 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
4115 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
4116 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
4117 | ||
97606a13 DJ |
4118 | 2003-04-01 Daniel Jacobowitz <[email protected]> |
4119 | ||
4120 | * symfile.c (symfile_relocate_debug_section): Update call to | |
4121 | bfd_simple_get_relocated_section_contents. | |
4122 | ||
e8ab51f7 AC |
4123 | 2003-03-31 Andrew Cagney <[email protected]> |
4124 | ||
4125 | * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. | |
4126 | * gdbarch.h, gdbarch.c: Regenerate. | |
4127 | * inferior.h (FIX_CALL_DUMMY): Delete macro. | |
4128 | * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when | |
4129 | available. | |
4130 | * frame.h (generic_fix_call_dummy): Delete declaration. | |
4131 | * dummy-frame.h: Update comment. | |
4132 | * dummy-frame.c (generic_fix_call_dummy): Delete function. | |
4133 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
4134 | fix_call_dummy. | |
4135 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4136 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
4137 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
4138 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
4139 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4140 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
4141 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
4142 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
4143 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
4144 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
4145 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4146 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
4147 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
4148 | ||
018d1b48 JB |
4149 | 2003-03-31 J. Brobecker <[email protected]> |
4150 | ||
4151 | * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful. | |
4152 | (INIT_FRAME_AP): Likewise. | |
4153 | (EXTRA_FRAME_INFO): Likewise. | |
4154 | ||
e9a2674e AC |
4155 | 2003-03-31 Andrew Cagney <[email protected]> |
4156 | ||
4157 | * gdbarch.sh: Include "symfile.h". | |
4158 | (CALL_DUMMY_ADDRESS): Default to entry_point_address. | |
4159 | * gdbarch.h, gdbarch.c: Re-generate. | |
4160 | * inferior.h (CALL_DUMMY_ADDRESS): Delete macro. | |
4161 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
4162 | call_dummy_address, the default is at entry_point_address. | |
4163 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
4164 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
4165 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4166 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
4167 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
4168 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
4169 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
4170 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
4171 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
4172 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
4173 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
4174 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
4175 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4176 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
4177 | ||
e8a8712a AC |
4178 | 2003-03-31 Andrew Cagney <[email protected]> |
4179 | ||
4180 | * gdbarch.sh (CALL_DUMMY_P): Delete. | |
4181 | * gdbarch.h, gdbarch.c: Re-generate. | |
4182 | * inferior.h (CALL_DUMMY_P): Delete macro. | |
4183 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4184 | * vax-tdep.c (vax_gdbarch_init): Update. | |
4185 | * v850-tdep.c (v850_gdbarch_init): Update. | |
4186 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
4187 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4188 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4189 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4190 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
4191 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4192 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4193 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4194 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
4195 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4196 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4197 | * i386-tdep.c (i386_gdbarch_init): Update. | |
4198 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4199 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4200 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
4201 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4202 | * breakpoint.c (deprecated_frame_in_dummy): Update. | |
4203 | * avr-tdep.c (avr_gdbarch_init): Update. | |
4204 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
4205 | * arm-tdep.c (arm_gdbarch_init): Update. | |
4206 | * dummy-frame.c (dummy_frame_this_id): Update comments. | |
4207 | * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto. | |
4208 | * frame.c (legacy_get_prev_frame): Ditto. | |
4209 | * valops.c (call_function_by_hand): Delete function. | |
4210 | (hand_function_call): Rename to call_function_by_hand | |
4211 | ||
ed234cf8 AC |
4212 | 2003-03-30 Andrew Cagney <[email protected]> |
4213 | ||
4214 | 2002-11-10 Klee Dienes <[email protected]> | |
fbe586ae | 4215 | * value.h (struct value): Update comment. |
ed234cf8 | 4216 | |
06c77151 AC |
4217 | 2003-03-30 Andrew Cagney <[email protected]> |
4218 | ||
6c2b5168 AC |
4219 | * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with |
4220 | D10V_FP_REGNUM. | |
4221 | (d10v_gdbarch_init): Do not set fp_regnum. | |
4222 | ||
06c77151 AC |
4223 | * frame.c (get_frame_base): Force ID initialization. |
4224 | (get_prev_frame): Move computation of the frame ID from here ... | |
4225 | (get_frame_id): ... to here. | |
4226 | (legacy_get_prev_frame): Mark the frame ID as valid. | |
4227 | * frame.h (struct frame_info): Add field "id_p". | |
4228 | ||
97a1a11c MK |
4229 | 2003-03-30 Mark Kettenis <[email protected]> |
4230 | ||
4231 | * i386-tdep.c (i386_store_struct_return): Removed. | |
4232 | (i386_gdbarch_init): Don't set deprecated_store_struct_return. | |
4233 | ||
6c0e89ed AC |
4234 | 2003-03-30 Andrew Cagney <[email protected]> |
4235 | ||
4236 | * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP. | |
4237 | * gdbarch.h, gdbarch.c: Regenerate. | |
4238 | * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp. | |
4239 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
4240 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
4241 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
4242 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
4243 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
4244 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4245 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
4246 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
4247 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
4248 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
4249 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
4250 | * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update. | |
4251 | * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
4252 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define. | |
4253 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
4254 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4255 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4256 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4257 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4258 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4259 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4260 | * avr-tdep.c (avr_gdbarch_init): Update. | |
4261 | * valops.c (hand_function_call): Replace TARGET_WRITE_SP with | |
4262 | DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, | |
4263 | instead of when push_dummy_call is not available. | |
4264 | ||
f7dd6af2 AC |
4265 | 2003-03-30 Andrew Cagney <[email protected]> |
4266 | ||
4267 | * infttrace.c: Include "gdbthread.h". | |
4268 | (parent_attach_all): Fix function signature. | |
4269 | (call_ptrace): Update call. | |
4270 | * Makefile.in (infttrace.o): Update dependencies. | |
4271 | ||
28f617b3 AC |
4272 | 2003-03-30 Andrew Cagney <[email protected]> |
4273 | ||
4274 | * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace | |
4275 | PUSH_RETURN_ADDRESS. | |
4276 | * gdbarch.h, gdbarch.c: Regenerate. | |
4277 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4278 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
4279 | * v850-tdep.c (v850_gdbarch_init): Update. | |
4280 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
4281 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4282 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4283 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4284 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4285 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4286 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4287 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4288 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4289 | * i386-tdep.c (i386_gdbarch_init): Update. | |
4290 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4291 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4292 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4293 | * avr-tdep.c (avr_gdbarch_init): Update. | |
4294 | * arm-tdep.c (arm_gdbarch_init): Update. | |
4295 | * valops.c (hand_function_call): Update. | |
4296 | ||
4d628cd7 AC |
4297 | 2003-03-29 Andrew Cagney <[email protected]> |
4298 | ||
4299 | * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or | |
4300 | sizeof_call_dummy_words. | |
4301 | * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always | |
4302 | define. | |
4303 | * gdbarch.h: Regenerate. | |
4304 | ||
65e82032 AC |
4305 | 2003-03-29 Andrew Cagney <[email protected]> |
4306 | ||
4307 | * infttrace.h: New file. | |
4308 | * hpread.c: Include "gdb_assert.h" and "somsolib.h". | |
4309 | (hpread_get_textlow): Detect an uninitialized dn_bufp. | |
4310 | (hpread_read_doc_function_type): Detect an initialized type1. | |
4311 | (hpread_quick_traverse): Initialize mod_name_string. | |
4312 | * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. | |
4313 | (som_solib_get_solib_by_pc): Declare. | |
4314 | (so_lib_thread_start_addr): Declare. | |
4315 | (no_shared_libraries): Declare. | |
4316 | * somread.c (init_import_symbols): Make static. Add forward | |
4317 | declaration. | |
4318 | * config/pa/nm-hppah.h: Include "infttrace.h" for | |
4319 | parent_attach_all. | |
4320 | (hppa_insert_hw_watchpoint): Declare. | |
4321 | (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. | |
4322 | * hppah-nat.c: Include "gdb_string.h". | |
4323 | (parent_attach_all): Delete extern declaration, moved to | |
4324 | "infttrace.h". | |
4325 | (hppa_can_use_hw_watchpoint): Change type of "type" parameter to | |
4326 | int. | |
4327 | (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. | |
4328 | * Makefile.in (infttrace_h): Define. | |
4329 | (hpread.o): Update dependencies. | |
4330 | (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. | |
4331 | * hppa-hpux-tdep.c: Include "gdb_string.h". | |
4332 | * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". | |
4333 | * infrun.c (handle_inferior_event): Always initialize | |
4334 | stepped_after_stopped_by_watchpoint. Add default and remove | |
4335 | fallthrough in switch statement. | |
4336 | * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" | |
4337 | parameter to int. | |
4338 | (hppa_remove_hw_watchpoint): Ditto. | |
4339 | ||
2c3bbe77 AC |
4340 | 2003-03-29 Andrew Cagney <[email protected]> |
4341 | ||
4342 | * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint | |
4343 | offset. | |
4344 | ||
2dd604e7 RE |
4345 | 2003-03-29 Richard Earnshaw <[email protected]> |
4346 | ||
4347 | * arm-tdep.c (arm_push_arguments): Delete. | |
4348 | (struct stack_item): New type. | |
4349 | (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. | |
4350 | (arm_store_struct_return): Delte. | |
4351 | (arm_gdbarch_init): Register arm_push_dummy_call. Don't register | |
4352 | arm_push_arguments or arm_store_struct_return. | |
4353 | ||
e8933a55 AC |
4354 | 2003-03-28 Andrew Cagney <[email protected]> |
4355 | ||
4356 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
4357 | * remote.h (target_resume_hook, target_wait_loop_hook): Declare. | |
4358 | * d10v-tdep.c: Include "remote.h". | |
4359 | (target_resume_hook): Delete extern declaration. | |
4360 | (target_wait_loop_hook): Ditto. | |
4361 | (tdisassemble_command): Eliminate assignment in "if" conditional. | |
4362 | (d10v_ts2_register_sim_regno): Eliminate call to | |
4363 | legacy_register_sim_regno. | |
4364 | (d10v_ts3_register_sim_regno): Ditto. | |
4365 | ||
6949171e JJ |
4366 | 2003-03-28 Jeff Johnston <[email protected]> |
4367 | ||
4368 | * thread.c: Reindented. | |
4369 | * lin-lwp.c: Ditto. | |
4370 | * linux-proc.c: Ditto. | |
4371 | ||
98c7071f BR |
4372 | 2003-03-28 Bob Rossi <[email protected]> |
4373 | ||
fbe586ae | 4374 | * MAINTAINERS (write after approval): Add myself. |
98c7071f | 4375 | |
5edc9ca6 TR |
4376 | 2003-03-27 Theodore A. Roth <[email protected]> |
4377 | ||
4378 | * objc-exp.y: Add missing semi-colons. | |
4379 | ||
378bfd1b AC |
4380 | 2003-03-27 Andrew Cagney <[email protected]> |
4381 | ||
4382 | * regcache.c (write_sp): Delete function and references. | |
4383 | * inferior.h (write_sp): Delete declaration. | |
4384 | * valops.c (hand_function_call): Replace write_sp with | |
4385 | TARGET_WRITE_SP. | |
4386 | * sparc-tdep.c (sparc_push_dummy_frame): Ditto. | |
4387 | (sparc_pop_frame): Ditto. | |
4388 | ||
56056df7 AC |
4389 | 2003-03-27 Andrew Cagney <[email protected]> |
4390 | ||
4391 | * NEWS: Mention removal of support for hppa*-*-bsd* and | |
4392 | hppa*-*-osf* natives, and hppa*-*-pro* target. | |
4393 | * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h". | |
4394 | * config/pa/xm-pa.h: Obsolete file. | |
4395 | * config/pa/xm-hppab.h: Obsolete file. | |
4396 | * config/pa/nm-hppab.h: Obsolete file. | |
4397 | * config/pa/tm-hppab.h: Obsolete file. | |
4398 | * config/pa/tm-hppao.h: Obsolete file. | |
4399 | * config/pa/nm-hppao.h: Obsolete file. | |
4400 | * config/pa/tm-pro.h: Obsolete file. | |
4401 | * config/pa/hppaosf.mt: Obsolete file. | |
4402 | * config/pa/hppaosf.mh: Obsolete file. | |
4403 | * config/pa/hppapro.mt: Obsolete file. | |
4404 | * config/pa/hppabsd.mt: Obsolete file. | |
4405 | * config/pa/hppabsd.mh: Obsolete file. | |
4406 | * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*. | |
4407 | * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and | |
4408 | hppa*-*-osf*. | |
4409 | ||
5873a88d AC |
4410 | 2003-03-27 Andrew Cagney <[email protected]> |
4411 | ||
4412 | * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of | |
4413 | push_arguments. Don't set push_return_address or write_sp. | |
4414 | (d10v_push_dummy_call): Replace d10v_push_arguments. | |
4415 | (d10v_push_return_address, d10v_write_sp): Delete function, | |
4416 | handled by push_dummy_call. | |
4417 | ||
b81774d8 AC |
4418 | 2003-03-26 Andrew Cagney <[email protected]> |
4419 | ||
4420 | * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS. | |
4421 | (push_dummy_call): New pure multi-arch replacement with gdbarch, | |
4422 | regcache and dummy_addr parameters. | |
4423 | * gdbarch.h, gdbarch.c: Re-generate. | |
4424 | * valops.c (hand_function_call): Use gdbarch_push_dummy_call when | |
4425 | available; assume it will handle stack alignment and return | |
4426 | address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and | |
4427 | legacy_push_arguments. | |
4428 | (legacy_push_arguments): Rename default_push_arguments. | |
4429 | * value.h (legacy_push_arguments): Rename default_push_arguments. | |
4430 | * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments. | |
4431 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
4432 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
4433 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
4434 | * config/i386/tm-symmetry.h: Update. | |
4435 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4436 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
4437 | * v850-tdep.c (v850_gdbarch_init): Update. | |
4438 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
4439 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4440 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4441 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4442 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4443 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4444 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4445 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4446 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4447 | * i386-tdep.c (i386_gdbarch_init): Update. | |
4448 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
4449 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4450 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4451 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
4452 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4453 | * avr-tdep.c (avr_gdbarch_init): Update. | |
4454 | * arm-tdep.c (arm_gdbarch_init): Update. | |
4455 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
4456 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
4457 | ||
f541410f DJ |
4458 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
4459 | ||
4460 | * signals/signals.c (do_target_signal_to_host): Correct realtime | |
4461 | signal range test. | |
4462 | ||
69f567ae DJ |
4463 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
4464 | ||
4465 | * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals) | |
4466 | (struct sal_chain, map_catch_names): Remove. | |
4467 | (catch_exception_command_1): Don't call | |
4468 | handle_gnu_4_16_catch_command. | |
4469 | ||
d5d14a5a DJ |
4470 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
4471 | ||
4472 | From Mark Dettinger <[email protected]>: | |
4473 | * dwarf2cfi.c (read_2u): Increment pointer by two. | |
4474 | ||
bdd73e22 DJ |
4475 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
4476 | ||
4477 | * signals/signals.c: Fix typos in last change. | |
4478 | ||
960cb555 DJ |
4479 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
4480 | ||
4481 | * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if | |
4482 | not already defined. Use __SIGRTMIN if available. | |
4483 | (target_signal_from_host): Remove SIGRTMIN block. | |
4484 | (do_target_signal_to_host): Remove SIGRTMIN block; check that | |
4485 | the signal is within the realtime range. | |
4486 | ||
f636b87d AF |
4487 | 2003-03-25 Adam Fedor <[email protected]> |
4488 | ||
4489 | * Makefile.in (infrun.o): Add $(language_h) | |
4490 | * infrun.c (handle_inferior_event): Use skip_language_trampoline | |
4491 | for language specific trampolines. | |
4492 | * language.h (struct language_defn): Add skip_trampoline. | |
4493 | (skip_language_trampoline): Declare. | |
4494 | * language.c (unk_lang_trampoline, skip_language_trampoline): | |
4495 | New functions. | |
4496 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
4497 | Add ukn_lang_trampoline. | |
4498 | * ada-lang.c (ada_language_defn): Add NULL for language | |
4499 | specific skip_trampoline. | |
4500 | * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c, | |
4501 | scm-lang.c: Likewise. | |
4502 | * objc-lang.c (objc_skip_trampoline): New function. | |
4503 | (objc_language_defn): Add objc_skip_trampoline. | |
4504 | ||
28f617b3 | 4505 | 2003-03-25 Andrew Cagney <[email protected]> |
270c3b1d AC |
4506 | |
4507 | * frame.c (get_prev_frame): Delay validating a frame's ID - | |
4508 | non-NULL, didn't go backwards - until an attempt to unwind it to | |
4509 | the previous frame. | |
4510 | ||
f933a9c5 AC |
4511 | 2003-03-25 Andrew Cagney <[email protected]> |
4512 | ||
4513 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace | |
4514 | EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. | |
4515 | * gdbarch.h, gdbarch.c: Re-generate. | |
4516 | * config/sparc/tm-sparc.h | |
4517 | (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. | |
4518 | * sparc-tdep.c (sparc_gdbarch_init): Set | |
4519 | deprecated_extra_stack_alignment_needed. | |
4520 | * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. | |
4521 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear | |
4522 | extra_stack_alignment_needed. | |
4523 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
4524 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
4525 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
4526 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
4527 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4528 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
4529 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4530 | ||
4183d812 AC |
4531 | 2003-03-25 Andrew Cagney <[email protected]> |
4532 | ||
4533 | * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace | |
4534 | STORE_STRUCT_RETURN. | |
4535 | * gdbarch.h, gdbarch.c: Regenerate. | |
4536 | * d10v-tdep.c (d10v_store_struct_return): Delete function. | |
4537 | (d10v_push_arguments): Set the struct return register. | |
4538 | (d10v_gdbarch_init): Update. | |
4539 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4540 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
4541 | * vax-tdep.c (vax_gdbarch_init): Update. | |
4542 | * v850-tdep.c (v850_gdbarch_init): Update. | |
4543 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
4544 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4545 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4546 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4547 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
4548 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4549 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4550 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4551 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
4552 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4553 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4554 | * i386-tdep.c (i386_gdbarch_init): Update. | |
4555 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
4556 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4557 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4558 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4559 | * avr-tdep.c (avr_gdbarch_init): Update. | |
4560 | * arm-tdep.c (arm_gdbarch_init): Update. | |
4561 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
4562 | ||
1bf6d5cc AC |
4563 | 2003-03-25 Andrew Cagney <[email protected]> |
4564 | ||
4565 | * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. | |
4566 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace | |
4567 | CALL_DUMMY_STACK_ADJUST with a predicate variable. | |
4568 | * gdbarch.h, gdbarch.c: Regenerate. | |
4569 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
4570 | call_dummy_stack_adjust_p. | |
4571 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
4572 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
4573 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4574 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
4575 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
4576 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
4577 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
4578 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
4579 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
4580 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
4581 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4582 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
4583 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
4584 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
4585 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
4586 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
4587 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4588 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
4589 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
4590 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
4591 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
4592 | * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update. | |
4593 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
4594 | * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set | |
4595 | call_dummy_stack_adjust_p. | |
4596 | * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro. | |
4597 | (CALL_DUMMY_STACK_ADJUST): Delete macro. | |
4598 | * sparc-tdep.c (sparc32_push_arguments): Update. | |
4599 | * valops.c (hand_function_call): Update. | |
4600 | ||
71c08af0 CV |
4601 | 2003-03-25 Corinna Vinschen <[email protected]> |
4602 | ||
4603 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to | |
4604 | set_gdbarch_char_signed. | |
4605 | ||
30757f90 RE |
4606 | 2003-03-25 Richard Earnshaw <[email protected]> |
4607 | ||
4608 | PR cli/548 | |
4609 | * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler". | |
4610 | ||
03d48a7d RE |
4611 | 2003-03-25 Richard Earnshaw <[email protected]> |
4612 | ||
4613 | * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. | |
4614 | (_initialize_arm_tdep): Don't set tm_print_insn. | |
4615 | ||
2cf6873c AF |
4616 | 2003-03-24 Adam Fedor <[email protected]> |
4617 | ||
4618 | * Makefile.in (YYOBJ): Add objc-exp.tab.o | |
4619 | * objc-lang.h: Add multiple inclusion protection. | |
4620 | (start_msglist, add_msglist, end_msglist): Additional declarations. | |
4621 | ||
17c0759e RE |
4622 | 2003-03-24 Richard Earnshaw <[email protected]> |
4623 | ||
4624 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum | |
4625 | value was renamed to ARM_FLOAT_SOFT_FPA. | |
4626 | ||
618ce49f AC |
4627 | 2003-03-23 Andrew Cagney <[email protected]> |
4628 | ||
4629 | * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN. | |
4630 | (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID. | |
4631 | * gdbarch.h, gdbarch.c: Regenerate. | |
4632 | * valops.c (hand_function_call): Update. | |
4633 | * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
4634 | * frame.c (legacy_saved_regs_this_id): Update. | |
4635 | (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update. | |
4636 | * dummy-frame.h: Update. | |
4637 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update. | |
4638 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
4639 | * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update. | |
4640 | * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update. | |
4641 | * config/m68k/tm-sun3.h: Update. | |
4642 | * blockframe.c (inside_main_func, frame_chain_valid): Update. | |
4643 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4644 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
4645 | * vax-tdep.c (vax_gdbarch_init): Update. | |
4646 | * v850-tdep.c (v850_gdbarch_init): Update. | |
4647 | * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update. | |
4648 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4649 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4650 | * rs6000-tdep.c (rs6000_frame_saved_pc): Update. | |
4651 | (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update. | |
4652 | (frame_get_saved_regs): Update. | |
4653 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
4654 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
4655 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4656 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4657 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4658 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
4659 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4660 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4661 | * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update. | |
4662 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
4663 | (i386_interix_back_one_frame): Update. | |
4664 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
4665 | (hppa_init_extra_frame_info): Update. | |
4666 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4667 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4668 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4669 | * avr-tdep.c (avr_gdbarch_init): Update. | |
4670 | * arm-tdep.c (arm_gdbarch_init): Update. | |
4671 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
4672 | ||
fd50bc42 RE |
4673 | 2003-03-22 Richard Earnshaw <[email protected]> |
4674 | ||
4675 | * arm-tdep.h (arm_float_model): Add AUTO and LAST values. | |
4676 | (arm_get_fp_model): Declare. | |
4677 | * arm-tdep.c (fp_model_strings): New string array. | |
4678 | (arm_fp_model, current_fp_model): New variables. | |
4679 | (arm_get_fp_model): New function. | |
4680 | (arm_set_fp): New function. | |
4681 | (set_fp_model_sfunc): New function. | |
4682 | (show_fp_model): New function. | |
4683 | (_initialize_arm_tdep): Add new command to set/show the FPU. | |
4684 | (arm_extract_return_value): Use arm_get_fp_model. | |
4685 | (arm_store_return_value): Likewise. | |
4686 | (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp | |
4687 | to initialize the floating-point data types. | |
4688 | * arm-linux-tdep.c (arm_linux_init_abi): The default floating point | |
4689 | model is FPA. | |
4690 | ||
26304000 RE |
4691 | 2003-03-22 Richard Earnshaw <[email protected]> |
4692 | ||
4693 | * arm-tdep.c (show_arm_command): Don't print out help. Instead, show | |
4694 | the current setting of each value. | |
4695 | (_initialize_arm_tdep): Delete variable new_cmd and add new vars | |
4696 | new_set and new_show. Use add_setshow_cmd_full and | |
4697 | add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" | |
4698 | commands and add new version as subcommands of "set/show arm". | |
4699 | ||
afd7eef0 RE |
4700 | 2003-03-22 Richard Earnshaw <[email protected]> |
4701 | ||
4702 | * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists. | |
4703 | (set_arm_command, show_arm_command): New functions. | |
4704 | (_initialize_arm_tdep): Add them. | |
4705 | (num_disassembly_options): Renamed from num_flavor_options. | |
4706 | (valid_disassembly_styles): Renamed from valid_flavors. | |
4707 | (disassembly_style): Renamed from disassembly_flavor. | |
4708 | (set_disassembly_style_sfunc): Renamed from | |
4709 | set_disassembly_flavor_sfunc. | |
4710 | (set_disassembly_style): Renamed from set_disassembly_flavor. | |
4711 | (arm_othernames): Updated. | |
4712 | (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor" | |
4713 | command. Add "set/show arm disassembly" commands. Deprecate | |
4714 | "othernames" command. | |
4715 | ||
299a7944 RE |
4716 | 2003-03-22 Richard Earnshaw <[email protected]> |
4717 | ||
4718 | * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define. | |
4719 | (arm-tdep.o): Depend on elf_arm_h. | |
4720 | ||
c1dac9e6 RE |
4721 | 2003-03-22 Richard Earnshaw <[email protected]> |
4722 | ||
4723 | * Makefile.in (coff_internal_h): Define. | |
4724 | (arm-tdep.o): Update dependencies. | |
4725 | ||
2702d96c RE |
4726 | 2003-03-22 Richard Earnshaw <[email protected]> |
4727 | ||
4728 | * arm-tdep.c (prologue_cache): Delete. | |
4729 | (check_prologue_cache, save_prologue_cache): Delete. | |
4730 | (arm_scan_prologue): Don't check or update the prologue_cache. | |
4731 | (arm_gdb_arch_init): Don't initialize it. | |
4732 | (_initialize_arm_tdep): Likewise. | |
4733 | ||
27d5d74b SC |
4734 | 2003-03-21 Stephane Carrez <[email protected]> |
4735 | ||
4736 | * MAINTAINERS (tui): Maintainer of tui code. | |
4737 | ||
1762d96d CV |
4738 | 2003-03-21 Corinna Vinschen <[email protected]> |
4739 | ||
4740 | * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c. | |
4741 | (i386-cygwin-tdep.o): Add dependencies. | |
4742 | * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. | |
4743 | * i386-cygwin-tdep.c: New file. | |
4744 | * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. | |
4745 | * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o. | |
4746 | ||
4c2e2391 AC |
4747 | 2003-03-20 Andrew Cagney <[email protected]> |
4748 | ||
f20d38b7 AC |
4749 | * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. |
4750 | (handle_inferior_event): Remove code calling | |
4751 | DYNAMIC_TRAMPOLINE_NEXTPC. | |
4752 | ||
0022b738 AC |
4753 | * Makefile.in (init.c): Don't add $(srcdir) prefix when a file |
4754 | already has a full path. | |
4755 | ||
864dbc90 AC |
4756 | * main.c (gdb_main): Return 1. |
4757 | (captured_main): Call error to report an invalid interpreter. | |
4758 | ||
4c2e2391 AC |
4759 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. |
4760 | * alpha-osf1-tdep.c: Include "gdb_string.h". | |
4761 | ||
5ef7553b JB |
4762 | 2003-03-19 J. Brobecker <[email protected]> |
4763 | ||
4764 | Continuing work to convert the hppa targets to multiarch partial. | |
4765 | ||
4766 | * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch | |
4767 | method, now that hppa_push_dummy_frame has a conformant prototype. | |
4768 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro | |
4769 | inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation | |
4770 | for the switch to multiarch partial. | |
4771 | ||
7bde8967 KB |
4772 | 2003-03-19 Kevin Buettner <[email protected]> |
4773 | ||
4774 | * mdebugread.c (parse_symbol): For stEnd, we're done counting | |
4775 | when iss is issNull. | |
4776 | ||
b006a9e9 KB |
4777 | 2003-03-18 Kevin Buettner <[email protected]> |
4778 | ||
4779 | * mips-tdep.c (mips_register_name): Fix fencepost error involving | |
4780 | NUM_REGS bounds check. | |
4781 | ||
5e2e9765 KB |
4782 | 2003-03-18 Kevin Buettner <[email protected]> |
4783 | ||
4784 | * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h). | |
4785 | * mips-tdep.c (gdb_assert.h): Include. | |
4786 | (mips_generic_reg_names, mips_processor_reg_names): Make static. | |
4787 | (mips_register_name): Handle integer registers explicitly. Add | |
4788 | bounds checking. | |
4789 | (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names) | |
4790 | (mips_lsi33k_reg_names): Don't list integer registers; they're | |
4791 | handled by mips_register_name() now. | |
4792 | * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise. | |
4793 | * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise. | |
4794 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise. | |
4795 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise. | |
4796 | * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise. | |
4797 | ||
a2867626 AC |
4798 | 2003-03-18 Andrew Cagney <[email protected]> |
4799 | ||
4800 | * printcmd.c (print_scalar_formatted): Change VALADDR parameter to | |
4801 | a void pointer. | |
4802 | * gdbtypes.h (print_scalar_formatted): Update declaration. | |
4803 | * expression.h (enum exp_opcode): Remove non-ISO C trailing comma. | |
4804 | ||
06600e06 JB |
4805 | 2003-03-18 J. Brobecker <[email protected]> |
4806 | ||
4807 | * infrun.c (observer.h): Add #include. | |
4808 | (normal_stop): Add call to observer_notify_normal_stop. | |
4809 | * Makefile.in (infrun.o): Add dependency on observer.h. | |
4810 | ||
7daf4f5b JB |
4811 | 2003-03-18 J. Brobecker <[email protected]> |
4812 | ||
4813 | Continuing work to convert the hppa targets to multiarch partial. | |
4814 | * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function | |
4815 | parameter. Reformat comment. | |
4816 | * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile. | |
4817 | (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame() | |
4818 | to match new profile. | |
4819 | ||
3371ccc0 JB |
4820 | 2003-03-18 J. Brobecker <[email protected]> |
4821 | ||
4822 | * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not | |
4823 | appear to be working in any case. | |
4824 | ||
4fbe891e JB |
4825 | 2003-03-18 J. Brobecker <[email protected]> |
4826 | ||
4827 | * observer.c (observer_test_first_observer): New static variable. | |
4828 | (observer_test_second_observer): Likewise. | |
4829 | (observer_test_third_observer): Likewise. | |
4830 | (observer_test_first_notification_function): New static function. | |
4831 | (observer_test_second_notification_function): Likewise. | |
4832 | (observer_test_third_notification_function): Likewise. | |
4833 | ||
a7ff40e7 JB |
4834 | 2003-03-17 J. Brobecker <[email protected]> |
4835 | ||
4836 | * hppa-tdep.c (gdb_assert.h): Add missing #include. | |
4837 | * somsolib.c (gdb_assert.h): Likewise. | |
4838 | * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. | |
4839 | (somsolib.o): Likewise. | |
4840 | ||
26ca4152 AC |
4841 | 2003-03-17 Andrew Cagney <[email protected]> |
4842 | ||
4843 | * disasm.c (gdb_disassembly): Set di.mach using the architecture's | |
4844 | BFD. Simplify setting of di.endian. | |
4845 | ||
0a613259 AC |
4846 | 2003-03-17 Andrew Cagney <[email protected]> |
4847 | ||
4848 | * rs6000-tdep.c (ppc_floating_point_unit_p): New function. | |
4849 | * ppc-tdep.h (ppc_floating_point_unit_p): Declare. | |
4850 | ||
4851 | From Elena Zannoni <[email protected]> | |
4852 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 | |
4853 | vector and floating-point parameters. | |
4854 | (ppc_sysv_abi_use_struct_convention): Handle e500 struct return | |
4855 | convention. | |
4856 | (ppc_sysv_abi_broken_use_struct_convention): Ditto. | |
4857 | ||
1132738f FN |
4858 | 2003-03-17 Fernando Nasser <[email protected]> |
4859 | ||
4860 | * MAINTAINERS: Remove my name from several maintainership roles. | |
4861 | ||
6dc42492 AC |
4862 | 2003-03-17 Andrew Cagney <[email protected]> |
4863 | ||
4864 | Fix frame off-by-one bug. | |
4865 | * frame-unwind.h (frame_this_id_ftype): Replace | |
4866 | frame_unwind_id_ftype. | |
4867 | (frame_prev_register_ftype): Replace frame_unwind_reg_ftype. | |
4868 | (struct frame_unwind): Replace "id" with "this_id". Replace "reg" | |
4869 | with "prev_register". | |
4870 | * frame-unwind.c (frame_unwind_find_by_pc): Return | |
4871 | legacy_saved_regs_unwind instead of trad_frame_unwind. Update | |
4872 | comment. | |
4873 | * dummy-frame.c (cached_find_dummy_frame): Delete function. | |
4874 | (dummy_frame_this_id): Replace dummy_frame_id_unwind. | |
4875 | (dummy_frame_prev_register): Replace dummy_frame_register_unwind. | |
4876 | (dummy_frame_unwind): Update. | |
4877 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
4878 | sentinel_frame_register_unwind. | |
4879 | (sentinel_frame_this_id): Replace sentinel_frame_id_unwind. | |
4880 | (sentinel_frame_unwinder): Update. | |
4881 | * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
4882 | (struct frame_info): Rename "unwind_cache" to "prologue_cache". | |
4883 | * frame.c (create_sentinel_frame): Update. Initialize | |
4884 | "prologue_cache" instead of "unwind_cache". | |
4885 | (frame_register_unwind): Call this frame's prev_register with the | |
4886 | next frame and this frame's prologue cache. | |
4887 | (get_prev_frame): Simplify. Always call prev frame's this_id with | |
4888 | this frame and prev frame's prologue cache. Document that this | |
4889 | call is shifted one to the left when compared to the | |
4890 | frame_register_unwind call. | |
4891 | (legacy_saved_regs_prev_register): Replace | |
4892 | frame_saved_regs_register_unwind. | |
4893 | (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind. | |
4894 | (legacy_saved_regs_unwinder): Replace trad_frame_unwinder. | |
4895 | (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
4896 | * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind. | |
4897 | (d10v_frame_unwind): Update. | |
4898 | (d10v_frame_prev_register): Replace d10v_frame_register_unwind. | |
4899 | (d10v_frame_unwind_cache): Replace this "fi" with "next_frame". | |
4900 | (saved_regs_unwinder): Replace this "frame" with "next_frame", and | |
4901 | "saved_regs" with "this_saved_regs". | |
4902 | ||
efd710d6 AC |
4903 | 2003-03-16 Andrew Cagney <[email protected]> |
4904 | ||
4905 | * frame.c (frame_pop): Don't call target_store_registers. Fix | |
4906 | problem reported by Mark Kettenis. | |
4907 | ||
4e259f09 MK |
4908 | 2003-03-16 Mark Kettenis <[email protected]> |
4909 | ||
4910 | * i386-tdep.c (i386_register_type): Renamed from | |
4911 | i386_register_virtual_type. Adjust function signature. | |
4912 | (i386_gdbarch_init): Set register_type instead of | |
4913 | deprecated_max_register_raw_size, | |
4914 | deprecated_max_register_virtual_size and register_virtual_type. | |
4915 | ||
055bb976 AC |
4916 | 2003-03-14 Andrew Cagney <[email protected]> |
4917 | ||
4918 | * frame.c (get_prev_frame): When a legacy frame, always call | |
4919 | legacy_get_prev_frame. Simplify unwind code using assumption that | |
4920 | the unwinder is new. | |
4921 | (legacy_get_prev_frame): Handle legacy sentinel frame unwind here. | |
4922 | (legacy_frame_p): When no gdbarch_unwind_dummy_id, or | |
4923 | SAVED_DUMMY_FRAME_TOS, assume a legacy frame. | |
4924 | ||
ac2adee5 AC |
4925 | 2003-03-14 Andrew Cagney <[email protected]> |
4926 | ||
4927 | * frame.c (get_saved_register): Delete function. | |
4928 | * frame.h (get_saved_register): Delete declaration. | |
4929 | * xstormy16-tdep.c: Update comment. | |
4930 | * regcache.h: Update comments. | |
4931 | * sparc-tdep.c (sparc_init_extra_frame_info): Instead of | |
4932 | get_saved_register and extract_address, use | |
4933 | frame_read_unsigned_register. | |
4934 | (sparc_frame_saved_pc): Ditto. | |
4935 | (sparc_get_saved_register): Instead of get_saved_register, use | |
4936 | frame_register. | |
4937 | (sparc_pop_frame): Ditto. | |
4938 | * findvar.c: Update comments. | |
4939 | (value_of_register): Call frame_register instead of | |
4940 | get_saved_register. | |
4941 | (value_from_register): Ditto. | |
4942 | * config/sparc/tm-sparc.h: Update comment. | |
4943 | * breakpoint.c: Update comment. | |
4944 | ||
129c1cd6 AC |
4945 | 2003-03-14 Andrew Cagney <[email protected]> |
4946 | ||
4947 | * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace | |
4948 | GET_SAVED_REGISTER. | |
4949 | * gdbarch.h, gdbarch.c: Re-generate. | |
4950 | * frame.h: Update comments. | |
4951 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4952 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
4953 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
4954 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4955 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4956 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4957 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4958 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4959 | * frame.c (frame_register): Update. | |
4960 | (get_saved_register): Update. | |
4961 | * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. | |
4962 | ||
749b82f6 AC |
4963 | 2003-03-13 Andrew Cagney <[email protected]> |
4964 | ||
4965 | * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. | |
4966 | * gdbarch.h, gdbarch.c: Regenerate. | |
4967 | * valops.c (hand_function_call): Update comment. | |
4968 | * stack.c (return_command): Update comment. | |
4969 | * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update. | |
4970 | * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update. | |
4971 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4972 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
4973 | * vax-tdep.c (vax_gdbarch_init): Update. | |
4974 | * v850-tdep.c (v850_gdbarch_init): Update. | |
4975 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
4976 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4977 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4978 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4979 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
4980 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4981 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4982 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4983 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
4984 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4985 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4986 | * i386-tdep.c (i386_gdbarch_init): Update. | |
4987 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
4988 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4989 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4990 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4991 | * avr-tdep.c (avr_gdbarch_init): Update. | |
4992 | * arm-tdep.c (arm_gdbarch_init): Update. | |
4993 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
4994 | ||
1594fa56 AC |
4995 | 2003-03-13 Andrew Cagney <[email protected]> |
4996 | ||
4997 | * frame.c (legacy_frame_p): New function. | |
4998 | (get_prev_frame): Use legacy_frame_p. | |
4999 | * frame.h (legacy_frame_p): Declare. | |
5000 | ||
7717fda3 V |
5001 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
5002 | ||
fbe586ae | 5003 | * MAINTAINERS (write after approval): Alphabetically |
7717fda3 V |
5004 | listing corrected. |
5005 | ||
0c67cbe9 V |
5006 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
5007 | ||
fbe586ae | 5008 | * MAINTAINERS (write after approval): Add myself. |
0c67cbe9 | 5009 | |
03febf99 AC |
5010 | 2003-03-12 Andrew Cagney <[email protected]> |
5011 | ||
5012 | * frame.c (get_prev_frame): Rename the frame parameter to | |
5013 | "this_frame". | |
5014 | (get_next_frame, legacy_get_prev_frame): Ditto. | |
5015 | ||
0a1e1ca1 AC |
5016 | 2003-03-12 Andrew Cagney <[email protected]> |
5017 | ||
5018 | * frame.c (get_current_frame): Check target_has_registers before | |
5019 | checking target_has_stack. | |
5020 | * eval.c (evaluate_subexp_standard): Use get_selected_frame, | |
5021 | instead of deprecated_selected_frame. | |
5022 | * findvar.c (value_of_register): Pass "frame", not | |
5023 | deprecated_selected_frame, to value_of_builtin_reg. | |
5024 | ||
a66a9c23 AC |
5025 | 2003-03-12 Andrew Cagney <[email protected]> |
5026 | ||
5027 | * regcache.c (regcache_cooked_write_signed): New function. | |
5028 | (regcache_cooked_write_unsigned): New function. | |
5029 | (regcache_cooked_read_unsigned): Fix regnum in range assertion. | |
5030 | (regcache_cooked_read_signed): Fix regnum in range assertion. | |
5031 | * regcache.h (regcache_cooked_write_signed): Declare. | |
5032 | (regcache_cooked_write_unsigned): Declare. | |
5033 | ||
8bedc050 AC |
5034 | 2003-03-12 Andrew Cagney <[email protected]> |
5035 | ||
5036 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
5037 | * gdbarch.h, gdbarch.c: Re-generate. | |
5038 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
5039 | * x86-64-tdep.h: Update. | |
5040 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
5041 | * v850-tdep.c (v850_gdbarch_init): Update. | |
5042 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
5043 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5044 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5045 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5046 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
5047 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
5048 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
5049 | * mips-tdep.c (mips_gdbarch_init): Update. | |
5050 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5051 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
5052 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5053 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5054 | * i386-tdep.c (i386_gdbarch_init): Update. | |
5055 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
5056 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
5057 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
5058 | * frv-tdep.c (frv_gdbarch_init): Update. | |
5059 | * cris-tdep.c (cris_gdbarch_init): Update. | |
5060 | * avr-tdep.c (avr_gdbarch_init): Update. | |
5061 | * arm-tdep.c (arm_gdbarch_init): Update. | |
5062 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
5063 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
5064 | (sh64_init_extra_frame_info): Update. | |
5065 | * ns32knbsd-nat.c (frame_num_args): Update. | |
5066 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
5067 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
5068 | (xstormy16_frame_chain_valid): Update. | |
5069 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
5070 | * v850-tdep.c (v850_frame_chain): Update. | |
5071 | (v850_pop_frame): Update. | |
5072 | (v850_init_extra_frame_info): Update. | |
5073 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
5074 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
5075 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
5076 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
5077 | (mn10300_pop_frame_regular): Update. | |
5078 | (mn10300_init_extra_frame_info): Update. | |
5079 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
5080 | (mips_frame_chain): Update. | |
5081 | (mips_pop_frame): Update. | |
5082 | * mcore-tdep.c (mcore_frame_chain): Update. | |
5083 | (mcore_pop_frame): Update. | |
5084 | (mcore_init_extra_frame_info): Update. | |
5085 | * arch-utils.c (init_frame_pc_default): Update. | |
5086 | * m68k-tdep.c (isi_frame_num_args): Update. | |
5087 | (delta68_frame_num_args): Update. | |
5088 | (news_frame_num_args): Update. | |
5089 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
5090 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
5091 | (alpha_frame_chain): Update. | |
5092 | (alpha_pop_frame): Update. | |
5093 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
5094 | (hppa_init_extra_frame_info): Update. | |
5095 | (hppa_frame_chain): Update. | |
5096 | (hppa_frame_chain_valid): Update. | |
5097 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
5098 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
5099 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
5100 | (arm_init_extra_frame_info): Update. | |
5101 | (arm_pop_frame): Update. | |
5102 | * frame.c (frame_pc_unwind): Update. | |
5103 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
5104 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
5105 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
5106 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
5107 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
5108 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
5109 | ||
7a25a7c1 AC |
5110 | 2003-03-12 Andrew Cagney <[email protected]> |
5111 | ||
5112 | Eliminate the need for POP_FRAME. | |
5113 | * frame.c (do_frame_unwind_register): New function. | |
5114 | (frame_pop): When no POP_FRAME, pop the frame using register | |
5115 | unwind and a scratch regcache. | |
5116 | (frame_saved_regs_pop): Delete function. | |
5117 | (trad_frame_unwinder): Update. | |
5118 | * d10v-tdep.c (d10v_frame_pop): Delete function. | |
5119 | (d10v_frame_unwind): Update. | |
5120 | * sentinel-frame.c (sentinel_frame_pop): Delete function. | |
5121 | (sentinel_frame_unwinder): Update. | |
5122 | * dummy-frame.c (dummy_frame_pop): Delete function. | |
5123 | (dummy_frame_unwind): Update. | |
5124 | * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. | |
5125 | (struct frame_unwind): Update. | |
5126 | ||
2f38ef89 KB |
5127 | 2003-03-11 Kevin Buettner <[email protected]> |
5128 | ||
5129 | * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to | |
5130 | mips_dwarf_dwarf2_ecoff_reg_to_regnum(). | |
5131 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): | |
5132 | Do range checks on register number obtained from debugging info. | |
5133 | (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and | |
5134 | set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of | |
5135 | set_gdbarch_ecoff_reg_to_regnum() to account for new name of | |
5136 | mapping function. | |
5137 | (do_fp_register_row): Fix typo which caused double type to be | |
5138 | used when attempting to unpack a float. | |
5139 | ||
552f4abf JB |
5140 | 2003-03-11 J. Brobecker <[email protected]> |
5141 | ||
5142 | * breakpoint.c (bpstat_stop_status): Fix a small memory leak. | |
5143 | ||
e0d2ae16 AC |
5144 | 2003-03-11 Andrew Cagney <[email protected]> |
5145 | ||
5146 | * frame.c (deprecated_update_frame_pc_hack): Don't assume a next | |
5147 | frame. Problem found by Corinna Vinschen. | |
5148 | ||
ddbfdd06 PM |
5149 | 2003-03-11 Pierre Muller <[email protected]> |
5150 | ||
5151 | * doublest.c (floatformat_from_length): Accept also | |
5152 | the real size of 'long double' type. | |
5153 | ||
088b2ddc | 5154 | 2003-03-10 Daniel Jacobowitz <[email protected]> |
31cc81e9 | 5155 | |
088b2ddc | 5156 | From Klee Dienes <[email protected]>: |
31cc81e9 DJ |
5157 | * breakpoint.c (bpstat_copy): Copy the command lines as well |
5158 | as the old value, to match what is freed in bpstat_clear. | |
5159 | ||
f56f77c1 DC |
5160 | 2003-03-10 David Carlton <[email protected]> |
5161 | ||
5162 | * minsyms.c (add_minsym_to_hash_table): Replace | |
5163 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
5164 | (compare_minimal_symbols, compact_minimal_symbols) | |
5165 | (install_minimal_symbols, find_solib_trampoline_target): Ditto. | |
5166 | (lookup_minimal_symbol_text): Use strcmp on linkage names instead | |
5167 | of DEPRECATED_SYMBOL_MATCHES_NAME. | |
5168 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
5169 | ||
5602984a AC |
5170 | 2003-03-10 Andrew Cagney <[email protected]> |
5171 | ||
5172 | * regcache.h (regcache_cooked_read_ftype): Define. | |
5173 | (regcache_save, regcache_restore): Add a cooked_read parameter. | |
5174 | * regcache.c (regcache_save, regcache_restore): Update. | |
5175 | (do_cooked_read): New function. | |
5176 | (regcache_cpy): Pass do_cooked_read to regcache_save and | |
5177 | regcache_restore. | |
5178 | ||
8bedc050 AC |
5179 | 2003-03-10 Andrew Cagney <[email protected]> |
5180 | ||
5181 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
5182 | * gdbarch.h, gdbarch.c: Re-generate. | |
5183 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
5184 | * x86-64-tdep.h: Update. | |
5185 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
5186 | * v850-tdep.c (v850_gdbarch_init): Update. | |
5187 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
5188 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5189 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5190 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5191 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
5192 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
5193 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
5194 | * mips-tdep.c (mips_gdbarch_init): Update. | |
5195 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5196 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
5197 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5198 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5199 | * i386-tdep.c (i386_gdbarch_init): Update. | |
5200 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
5201 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
5202 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
5203 | * frv-tdep.c (frv_gdbarch_init): Update. | |
5204 | * cris-tdep.c (cris_gdbarch_init): Update. | |
5205 | * avr-tdep.c (avr_gdbarch_init): Update. | |
5206 | * arm-tdep.c (arm_gdbarch_init): Update. | |
5207 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
5208 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
5209 | (sh64_init_extra_frame_info): Update. | |
5210 | * ns32knbsd-nat.c (frame_num_args): Update. | |
5211 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
5212 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
5213 | (xstormy16_frame_chain_valid): Update. | |
5214 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
5215 | * v850-tdep.c (v850_frame_chain): Update. | |
5216 | (v850_pop_frame): Update. | |
5217 | (v850_init_extra_frame_info): Update. | |
5218 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
5219 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
5220 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
5221 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
5222 | (mn10300_pop_frame_regular): Update. | |
5223 | (mn10300_init_extra_frame_info): Update. | |
5224 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
5225 | (mips_frame_chain): Update. | |
5226 | (mips_pop_frame): Update. | |
5227 | * mcore-tdep.c (mcore_frame_chain): Update. | |
5228 | (mcore_pop_frame): Update. | |
5229 | (mcore_init_extra_frame_info): Update. | |
5230 | * arch-utils.c (init_frame_pc_default): Update. | |
5231 | * m68k-tdep.c (isi_frame_num_args): Update. | |
5232 | (delta68_frame_num_args): Update. | |
5233 | (news_frame_num_args): Update. | |
5234 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
5235 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
5236 | (alpha_frame_chain): Update. | |
5237 | (alpha_pop_frame): Update. | |
5238 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
5239 | (hppa_init_extra_frame_info): Update. | |
5240 | (hppa_frame_chain): Update. | |
5241 | (hppa_frame_chain_valid): Update. | |
5242 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
5243 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
5244 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
5245 | (arm_init_extra_frame_info): Update. | |
5246 | (arm_pop_frame): Update. | |
5247 | * frame.c (frame_pc_unwind): Update. | |
5248 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
5249 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
5250 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
5251 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
5252 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
5253 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
5254 | ||
12cc2063 AC |
5255 | 2003-03-10 Andrew Cagney <[email protected]> |
5256 | ||
5257 | * gdbarch.sh (gdbarch_unwind_pc): New method. | |
5258 | * gdbarch.h, gdbarch.c: Regenerate. | |
5259 | * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, | |
5260 | but use read_pc and FRAME_SAVED_PC as fall backs. | |
5261 | (frame_saved_regs_pc_unwind): Delete function. | |
5262 | (trad_frame_unwinder): Update. | |
5263 | * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. | |
5264 | (struct frame_unwind): Update. | |
5265 | * dummy-frame.c (dummy_frame_pc_unwind): Delete function. | |
5266 | (dummy_frame_unwind): Update. | |
5267 | * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. | |
5268 | (sentinel_frame_unwinder): Update. | |
5269 | * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. | |
5270 | (d10v_frame_unwind): Update. | |
5271 | (d10v_unwind_pc): New function. | |
5272 | (d10v_gdbarch_init): Set unwind_pc. | |
5273 | ||
ef840a37 AC |
5274 | 2003-03-10 Andrew Cagney <[email protected]> |
5275 | ||
a2ce2e56 AC |
5276 | * gdbarch.h: Re-generate. |
5277 | ||
ef840a37 AC |
5278 | * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the |
5279 | PC. | |
5280 | (d10v_frame_pop): Unwind the PC, and not the LR, when restoring | |
5281 | the PC register. | |
5282 | ||
08f3424b MK |
5283 | 2003-03-08 Mark Kettenis <[email protected]> |
5284 | ||
5285 | * gdbarch.sh (save_dummy_frame_tos): Add comment. | |
5286 | ||
1248ede2 AC |
5287 | 2003-03-08 Andrew Cagney <[email protected]> |
5288 | ||
5289 | * cli-out.c: Update copyright. | |
5290 | (cli_out_data): Define typedef. Use instead of ui_out_data. | |
5291 | ||
f49bacc8 AC |
5292 | 2003-03-08 Andrew Cagney <[email protected]> |
5293 | ||
5294 | * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to | |
5295 | the result. | |
5296 | ||
9b05f993 AC |
5297 | 2003-03-07 Andrew Cagney <[email protected]> |
5298 | ||
5299 | * gdbarch.sh: Don't generate two macro definitions when an | |
5300 | undefined macro taking no arguments. | |
5301 | * gdbarch.h: Regenerate. | |
5302 | ||
166f4c7b ML |
5303 | 2002-03-07 Michal Ludvig <[email protected]> |
5304 | ||
5305 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos) | |
5306 | (x86_64_unwind_dummy_id): New functions. | |
5307 | (x86_64_init_abi): Register these two new functions. | |
5308 | ||
6d686a84 ML |
5309 | 2003-03-07 Michal Ludvig <[email protected]> |
5310 | ||
5311 | * x86-64-tdep.c (x86_64_function_has_prologue): New function. | |
5312 | (x86_64_skip_prologue): Move prologue detection to | |
5313 | separate function. | |
5314 | * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. | |
5315 | ||
6314f104 AC |
5316 | 2003-03-05 Andrew Cagney <[email protected]> |
5317 | ||
5318 | * d10v-tdep.c (d10v_unwind_dummy_id): New function. | |
5319 | (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos. | |
5320 | * frame.c (get_prev_frame): Restructure the frame ID unwind code | |
5321 | to use unwind_dummy_id when a dummy frame. | |
5322 | * gdbarch.sh (unwind_dummy_id): New multi-arch method with | |
5323 | predicate. | |
5324 | * gdbarch.h, gdbarch.c: Regneerate. | |
5325 | ||
ceea5145 AC |
5326 | 2003-03-05 Andrew Cagney <[email protected]> |
5327 | ||
5328 | * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". | |
5329 | (d10v_frame_unwind_cache): Rewrite code computing the base and SP. | |
5330 | Do not use d10v_read_sp or d10v_read_fp when obtaining register | |
5331 | values. | |
5332 | ||
0d843116 AC |
5333 | 2003-03-05 Andrew Cagney <[email protected]> |
5334 | ||
5335 | * d10v-tdep.c (struct frame_extra_info): Delete unused structure. | |
5336 | (struct d10v_unwind_cache): Delete field "frameless". Replace | |
5337 | "next_addr" with "sp_offset". Add "r11_offset". | |
5338 | (d10v_frame_unwind_cache): Update. | |
5339 | (prologue_find_regs): Update. When "mv r11, sp", save the | |
5340 | "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that | |
5341 | RN was saved in r11_offset. | |
5342 | ||
b2579786 AC |
5343 | 2003-03-05 Andrew Cagney <[email protected]> |
5344 | ||
5345 | * frame.c (deprecated_update_frame_pc_hack): Also update the the | |
5346 | cached PC value in the next frame. | |
5347 | ||
218e5956 AC |
5348 | 2003-03-05 Andrew Cagney <[email protected]> |
5349 | ||
5350 | * frame.h (struct frame_info): Replace "id_unwind_cache_p" and | |
5351 | "id_unwind_cache" with "id". | |
5352 | (frame_id_unwind): Delete declaration. | |
5353 | * frame.c (frame_id_unwind): Delete function. | |
5354 | (get_prev_frame): Call the frame id unwind method directly. Store | |
5355 | the returned next frame's ID value in NEXT_FRAME. Note that there | |
5356 | is a problem with the wrong unwind ID being called with the wrong | |
5357 | unwind cache. | |
5358 | ||
ed363b1b DJ |
5359 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
5360 | ||
5361 | * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS. | |
5362 | ||
fe1f4a5e DJ |
5363 | 2003-03-05 James Ingham <[email protected]> |
5364 | Daniel Jacobowitz <[email protected]> | |
5365 | ||
5366 | * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h". | |
5367 | (auto_cp_abi): New variable. | |
5368 | (current_cp_abi, num_cp_abis): Make static. | |
5369 | (CP_ABI_MAX): Define. | |
5370 | (cp_abis): Turn into an array. | |
5371 | (value_virtual_fn_field): Fix formatting. | |
5372 | (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now | |
5373 | takes a pointer. | |
5374 | (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd) | |
5375 | (list_cp_abis, _initialize_cp_abi): New functions. | |
5376 | * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove | |
5377 | declarations for cp_abis, num_cp_abis, current_cp_abi, and | |
5378 | switch_to_cp_abi. Update prototype for register_cp_abi. | |
5379 | * Makefile.in (cp-abi.o): Update dependencies. | |
5380 | * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default | |
5381 | instead of switch_to_cp_abi. | |
5382 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to | |
5383 | register_cp_abi. | |
5384 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to | |
5385 | register_cp_abi. | |
5386 | * hpacc-abi.c (_initialize_hpacc_abi): Likewise. | |
5387 | ||
e4adbba9 DJ |
5388 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
5389 | ||
5390 | * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition. | |
5391 | * dwarf2loc.c: Include "regcache.h". | |
5392 | (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use | |
5393 | register_size. | |
5394 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
5395 | ||
91ccbfc1 TR |
5396 | 2003-03-04 Theodore A. Roth <[email protected]> |
5397 | ||
5398 | * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the | |
5399 | number of io registers reported by remote target is not a multiple of | |
5400 | step. | |
5401 | ||
3d4e8fd2 DC |
5402 | 2003-03-04 David Carlton <[email protected]> |
5403 | ||
5404 | * symtab.c (lookup_partial_symbol): Add linkage_name argument. | |
5405 | (lookup_symbol_aux_psymtabs): Update call to | |
5406 | lookup_partial_symbol. | |
5407 | (lookup_transparent_type, find_main_psymtab) | |
5408 | (make_symbol_overload_list): Ditto. | |
5409 | ||
ed42d87b KH |
5410 | 2003-03-04 Kazu Hirata <[email protected]> |
5411 | ||
5412 | * MAINTAINERS (Write after approval): Update my email address. | |
5413 | ||
a0ed5532 AC |
5414 | 2003-03-03 Andrew Cagney <[email protected]> |
5415 | ||
5416 | Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. | |
5417 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with | |
5418 | predicate. Replace MAX_REGISTER_RAW_SIZE. | |
5419 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for | |
5420 | MAX_REGISTER_VIRTUAL_SIZE. | |
5421 | * regcache.c (legacy_max_register_raw_size): New function. | |
5422 | (legacy_max_register_virtual_size): New function. | |
5423 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. | |
5424 | (MAX_REGISTER_RAW_SIZE): Define. | |
5425 | (legacy_max_register_raw_size): Declare. | |
5426 | (legacy_max_register_virtual_size): Declare. | |
5427 | * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
5428 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. | |
5429 | * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
5430 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
5431 | * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
5432 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
5433 | * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
5434 | * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
5435 | * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
5436 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
5437 | * vax-tdep.c (vax_gdbarch_init): Update. | |
5438 | * v850-tdep.c (v850_gdbarch_init): Update. | |
5439 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
5440 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5441 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5442 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5443 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
5444 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
5445 | * mips-tdep.c (mips_gdbarch_init): Update. | |
5446 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5447 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
5448 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5449 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5450 | * i386-tdep.c (i386_gdbarch_init): Update. | |
5451 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
5452 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
5453 | * frv-tdep.c (frv_gdbarch_init): Update. | |
5454 | * cris-tdep.c (cris_gdbarch_init): Update. | |
5455 | * avr-tdep.c (avr_gdbarch_init): Update. | |
5456 | * arm-tdep.c (arm_gdbarch_init): Update. | |
5457 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
5458 | * d10v-tdep.c (d10v_gdbarch_init): Do not set | |
5459 | max_register_raw_size or max_register_virtual_size. | |
5460 | ||
8e437497 DC |
5461 | 2003-03-03 David Carlton <[email protected]> |
5462 | ||
5463 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from | |
5464 | SYMBOL_MATCHES_NAME, add comment. | |
5465 | (SYMBOL_MATCHES_NATURAL_NAME): New. | |
5466 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace | |
5467 | SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. | |
5468 | (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. | |
5469 | * symtab.c (lookup_partial_symbol): Use | |
5470 | SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete | |
5471 | unhelpful comment. | |
5472 | (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not | |
5473 | SYMBOL_MATCHES_NAME. | |
5474 | Fix for PR c++/33. | |
5475 | ||
25120b0d DC |
5476 | 2003-03-03 David Carlton <[email protected]> |
5477 | ||
5478 | * symtab.h (SYMBOL_MATCHES_REGEXP): Delete. | |
5479 | * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP | |
5480 | by regexp matching against SYMBOL_NATURAL_NAME. | |
5481 | ||
78a11fb4 DC |
5482 | 2003-03-03 David Carlton <[email protected]> |
5483 | ||
5484 | * linespec.c (find_method): Extract code into collect_methods. | |
5485 | (collect_methods): New. | |
5486 | ||
645dd519 MK |
5487 | 2003-03-02 Mark Kettenis <[email protected]> |
5488 | ||
b4700d91 MK |
5489 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and |
5490 | get_frame_base. | |
5491 | ||
645dd519 MK |
5492 | * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of |
5493 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
5494 | ||
0aa7e1aa SC |
5495 | 2003-03-02 Stephane Carrez <[email protected]> |
5496 | ||
5497 | * arch-utils.c (generic_register_byte): Fix to use the loop index | |
5498 | and not regnum when summing the size of all registers up to regnum. | |
5499 | ||
f30ee0bc AC |
5500 | 2003-03-01 Andrew Cagney <[email protected]> |
5501 | ||
5502 | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename | |
5503 | FRAME_INIT_SAVED_REGS. | |
5504 | * gdbarch.h, gdbarch.c: Regenerate. | |
5505 | * stack.c (frame_info): Update. | |
5506 | * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. | |
5507 | (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. | |
5508 | (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. | |
5509 | * ns32k-tdep.c (ns32k_pop_frame): Update. | |
5510 | * mips-tdep.c (mips_pop_frame): Update. | |
5511 | * m68hc11-tdep.c (m68hc11_pop_frame): Update. | |
5512 | * ia64-tdep.c (ia64_frame_chain): Update. | |
5513 | (ia64_frame_saved_pc, ia64_get_saved_register): Update. | |
5514 | (ia64_frameless_function_invocation): Update. | |
5515 | (ia64_init_extra_frame_info): Update. | |
5516 | (ia64_pop_frame_regular): Update. | |
5517 | * frame.h (struct frame_info): Update comment. | |
5518 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. | |
5519 | * frame.c (frame_saved_regs_register_unwind): Update. | |
5520 | (frame_saved_regs_register_unwind): Update. | |
5521 | (deprecated_generic_get_saved_register): Update. | |
5522 | * cris-tdep.c: Update comment. | |
5523 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): | |
5524 | Rename macro. | |
5525 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
5526 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
5527 | * vax-tdep.c (vax_gdbarch_init): Update. | |
5528 | * v850-tdep.c (v850_gdbarch_init): Update. | |
5529 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
5530 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5531 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5532 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5533 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
5534 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
5535 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
5536 | * mips-tdep.c (mips_gdbarch_init): Update. | |
5537 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
5538 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
5539 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5540 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5541 | * i386-tdep.c (i386_gdbarch_init): Update. | |
5542 | * frv-tdep.c (frv_gdbarch_init): Update. | |
5543 | * avr-tdep.c (avr_gdbarch_init): Update. | |
5544 | * arm-tdep.c (arm_gdbarch_init): Update. | |
5545 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
5546 | ||
42fa7c0f AC |
5547 | 2003-03-01 Andrew Cagney <[email protected]> |
5548 | ||
5549 | * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to | |
5550 | option enum and switch. When no windows, set the interpreter to | |
5551 | INTERP_CONSOLE. | |
5552 | ||
49c7e338 AC |
5553 | 2003-03-01 Andrew Cagney <[email protected]> |
5554 | ||
5555 | * main.c (captured_main): Replace magic option characters with an | |
5556 | enum. | |
5557 | ||
e9582e71 AC |
5558 | 2003-03-01 Andrew Cagney <[email protected]> |
5559 | ||
5560 | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename | |
5561 | INIT_EXTRA_FRAME_INFO. | |
5562 | * gdbarch.h, gdbarch.c: Regenerate. | |
5563 | * arm-tdep.c: Update comments. | |
5564 | * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. | |
5565 | * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. | |
5566 | * frame.h, avr-tdep.c: Ditto. | |
5567 | * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
5568 | (create_new_frame, legacy_get_prev_frame): Ditto. | |
5569 | * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
5570 | * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
5571 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize | |
5572 | deprecated_init_extra_frame_info instead of init_extra_frame_info. | |
5573 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
5574 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
5575 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
5576 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5577 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
5578 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
5579 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
5580 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
5581 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
5582 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5583 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
5584 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
5585 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
5586 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
5587 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
5588 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
5589 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
5590 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
5591 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
5592 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5593 | ||
35cac7cf AC |
5594 | 2003-03-01 Andrew Cagney <[email protected]> |
5595 | ||
5596 | * gdbarch.sh (register_type): New function with predicate. | |
5597 | (REGISTER_VIRTUAL_TYPE): Change to function with predicate. | |
5598 | * gdbarch.h, gdbarch.c: Re-generate. | |
5599 | * arch-utils.c (generic_register_byte): Use generic_register_size. | |
5600 | (generic_register_size): When available, use | |
5601 | gdbarch_register_type. | |
5602 | * regcache.c (init_regcache_descr): When available, initialize the | |
5603 | register type array using gdbarch_register_type. If the | |
5604 | architecture supplies gdbarch_register_type, do not use the legacy | |
5605 | regcache layout. | |
5606 | * d10v-tdep.c (d10v_register_type): Replace | |
5607 | d10v_register_virtual_type. | |
5608 | (d10v_gdbarch_init): Set register_type instead of | |
5609 | register_virtual_type. | |
5610 | ||
7b83296f AC |
5611 | 2003-03-01 Andrew Cagney <[email protected]> |
5612 | ||
5613 | * Makefile.in (ax-gdb.o): Update dependencies. | |
5614 | * ax-gdb.c: Include "regcache.h". | |
5615 | (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. | |
5616 | * findvar.c (value_of_register): Ditto. | |
5617 | * infcmd.c (default_print_registers_info): Ditto. | |
5618 | ||
eadc1c87 MK |
5619 | 2003-03-01 Mark Kettenis <[email protected]> |
5620 | ||
5621 | * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of | |
5622 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
5623 | ||
14143612 MK |
5624 | 2003-03-01 Mark Kettenis <[email protected]> |
5625 | ||
5626 | * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead | |
5627 | of STREQ. | |
5628 | ||
a55cc764 DJ |
5629 | 2003-02-28 Daniel Jacobowitz <[email protected]> |
5630 | ||
5631 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
5632 | * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. | |
5633 | * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. | |
5634 | * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. | |
5635 | * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". | |
5636 | (locexpr_tracepoint_var_ref): New function. | |
5637 | (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref. | |
5638 | ||
08a617da AC |
5639 | 2003-02-28 Andrew Cagney <[email protected]> |
5640 | ||
5641 | * regcache.c (register_size): New function. | |
5642 | * regcache.h (register_size): Declare | |
5643 | * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use | |
5644 | max_register_size instead of MAX_REGISTER_RAW_SIZE. | |
5645 | ||
4224873a DC |
5646 | 2003-02-28 David Carlton <[email protected]> |
5647 | ||
5648 | * linespec.c (decode_compound): Extract code into find_method. | |
5649 | (find_method): New. | |
5650 | ||
ccdc5d7f JB |
5651 | 2003-02-28 J. Brobecker <[email protected]> |
5652 | ||
5653 | * Makefile.in: Add rules to build and link in observer.o. | |
5654 | ||
974e8ced JB |
5655 | 2003-02-27 J. Brobecker <[email protected]> |
5656 | ||
5657 | * observer.c: Minor comments edits. | |
5658 | ||
7a28f973 JB |
5659 | 2003-02-27 J. Brobecker <[email protected]> |
5660 | ||
5661 | * observer.h, observer.c: New file. | |
5662 | ||
27cddce2 AC |
5663 | 2003-02-27 Andrew Cagney <[email protected]> |
5664 | ||
5665 | * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd. | |
5666 | ||
b94a41a1 SC |
5667 | 2003-02-27 Stephane Carrez <[email protected]> |
5668 | ||
5669 | * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines. | |
5670 | (M6812_OP_STS_EXT): Likewise. | |
5671 | (m6811_prologue): Use the above to recognize prologue. | |
5672 | (m6812_prologue): Likewise. | |
5673 | ||
c8be8951 DC |
5674 | 2003-02-27 David Carlton <[email protected]> |
5675 | ||
5676 | * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not | |
5677 | SYMBOL_PRINT_NAME. | |
5678 | (compare_psymbols): Ditto. | |
5679 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
5680 | ||
d05bb1fc MS |
5681 | 2003-02-27 Michael Snyder <[email protected]> |
5682 | ||
4e845cd3 MS |
5683 | * f-lang.c (build_fortran_types): New function. |
5684 | (_initialize_f_language): Gdbarch-register built-in fortran types. | |
d05bb1fc MS |
5685 | * doublest.c (extract_floating): Fix warning text. |
5686 | ||
f3824013 AC |
5687 | 2003-02-27 Andrew Cagney <[email protected]> |
5688 | ||
5689 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with | |
5690 | predicate. Replaces PUSH_DUMMY_FRAME. | |
5691 | * gdbarch.h, gdbarch.c: Regnerate. | |
5692 | * valops.c (hand_function_call): Update. Call | |
5693 | generic_push_dummy_frame directly. | |
5694 | * vax-tdep.c (vax_gdbarch_init): Update. | |
5695 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
5696 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
5697 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
5698 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
5699 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
5700 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
5701 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
5702 | * inferior.h (PUSH_DUMMY_FRAME): Delete definition. | |
5703 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set | |
5704 | push_dummy_frame to generic_push_dummy_frame. | |
5705 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
5706 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5707 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
5708 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5709 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
5710 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
5711 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
5712 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5713 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
5714 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
5715 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
5716 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
5717 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
5718 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
5719 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
5720 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
5721 | ||
ad188201 KB |
5722 | 2003-02-26 Kevin Buettner <[email protected]> |
5723 | ||
5724 | * mips-tdep.c (show_mips_abi): New function. | |
5725 | (_initialize_mips_tdep): Use show_mips_abi() to implement the | |
5726 | command ``show mips abi''. | |
5727 | ||
6b37567a JJ |
5728 | 2003-02-26 Jeff Johnston <[email protected]> |
5729 | ||
5730 | From Elena Zannoni <[email protected]> | |
5731 | * dbxread.c (process_one_symbol): Only record line 0 if one or | |
5732 | more sline entries have been seen for the function. | |
5733 | ||
d3e0a5bf MC |
5734 | 2003-02-26 Michael Chastain <[email protected]> |
5735 | ||
5736 | * configure: Regenerate with autoconf 000227. | |
5737 | ||
18972eea MC |
5738 | 2003-02-26 Michael Chastain <[email protected]> |
5739 | ||
5740 | Close PR build/660. | |
5741 | * PROBLEMS (i[3456]86-*-linux*): Note explicit error message | |
5742 | for old libc5/glibc. | |
5743 | * gdb_thread_db.h: Die if not HAVE_UINTPTR_T. | |
5744 | ||
0bbde931 KW |
5745 | 2003-02-26 Kris Warkentin <[email protected]> |
5746 | ||
5747 | * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO. | |
5748 | * osabi.c (gdb_osabi_names): Add "QNX Neutrino". | |
5749 | ||
27ca5dad MC |
5750 | 2003-02-26 Michael Chastain <[email protected]> |
5751 | ||
5752 | * configure.in: New variable HAVE_UINTPTR_T. | |
5753 | * configure, config.in: Regenerated. | |
5754 | ||
6f88d630 DJ |
5755 | 2003-02-26 Daniel Jacobowitz <[email protected]> |
5756 | ||
5757 | Fix PR build/1097. | |
5758 | * utils.c (gdb_realpath): Move closing brace outwards one #endif. | |
5759 | ||
b14185ce AC |
5760 | 2003-02-25 Andrew Cagney <[email protected]> |
5761 | ||
5762 | * frame.c (get_prev_frame): Add comment on check for | |
5763 | inside_entry_func. Only check for inside_entry_file when not a | |
5764 | dummy and not a sentinel. Check that the new frame is not inner | |
5765 | to the old frame. | |
5766 | ||
ac2bd0a9 AC |
5767 | 2003-02-25 Andrew Cagney <[email protected]> |
5768 | ||
5769 | * frame.c (frame_debug): New variable. | |
5770 | (_initialize_frame): Add "set/show debug frame" command. | |
5771 | (get_prev_frame): When frame_debug, print reason why unwind | |
5772 | failed. | |
5773 | ||
b18a0fd2 MC |
5774 | 2003-02-25 Michael Chastain <[email protected]> |
5775 | ||
5776 | * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later | |
5777 | to avoid uintptr_t definition problems. | |
5778 | ||
22abf04a DC |
5779 | 2003-02-25 David Carlton <[email protected]> |
5780 | ||
5781 | * symtab.h (SYMBOL_NATURAL_NAME): New macro. | |
5782 | (SYMBOL_LINKAGE_NAME): Ditto. | |
5783 | (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and | |
5784 | SYMBOL_LINKAGE_NAME. | |
5785 | (struct general_symbol_info): Expand comment. | |
5786 | (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. | |
5787 | (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. | |
5788 | (SYMBOL_MATCHES_REGEXP): Ditto. | |
5789 | * symtab.c (symbol_natural_name): New function. | |
5790 | * objfiles.h: Replace all uses of SYMBOL_NAME by | |
5791 | DEPRECATED_SYMBOL_NAME. | |
5792 | * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. | |
5793 | * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. | |
5794 | * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. | |
5795 | * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. | |
5796 | * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. | |
5797 | * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. | |
5798 | * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. | |
5799 | * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. | |
5800 | * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. | |
5801 | * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. | |
5802 | * ada-exp.y: Ditto. | |
5803 | * ada-exp.y: Update copyright. | |
5804 | * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. | |
5805 | * cp-valprint.c: Ditto. | |
5806 | ||
1a5848f6 JJ |
5807 | 2003-02-25 Jeff Johnston <[email protected]> |
5808 | ||
5809 | * infptrace.c (detach): Do not flag error if ptrace detach fails | |
5810 | and errno is set to ESRCH. | |
5811 | ||
7343d46a AC |
5812 | 2003-02-24 Andrew Cagney <[email protected]> |
5813 | ||
5814 | * infptrace.c (udot_info): Change type of udot_off to long. Use | |
5815 | paddr when printing udot_off's value. | |
5816 | ||
49fa1dc2 DC |
5817 | 2003-02-24 David Carlton <[email protected]> |
5818 | ||
5819 | * symtab.c (make_symbol_overload_list): Only read in partial | |
5820 | symtabs containing a matching partial symbol. | |
5821 | ||
0fe19209 DC |
5822 | 2003-02-24 David Carlton <[email protected]> |
5823 | ||
5824 | * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to | |
5825 | do the comparison, not strcmp. | |
5826 | * symfile.c (compare_psymbols): Ditto. | |
5827 | * defs.h: Declare strcmp_iw_ordered. | |
5828 | * utils.c (strcmp_iw_ordered): New function. | |
5829 | ||
8e3ee7b5 JB |
5830 | 2003-02-24 Jim Blandy <[email protected]> |
5831 | ||
5832 | * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme | |
5833 | support, shared libs): Remove my name from here, to better reflect | |
5834 | reality. | |
5835 | ||
7df1a324 KW |
5836 | 2003-02-24 Kris Warkentin <[email protected]> |
5837 | ||
5838 | * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define. | |
5839 | (target_ops): Add to_have_continuable_watchpoint. | |
5840 | * target.c (update_current_target): Add INHERIT line for | |
5841 | to_have_continuable_watchpoint. | |
5842 | * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines. | |
5843 | * config/i386/nm-i386.h, config/i386/nm-i386sco5.h, | |
5844 | config/i386/nm-i386sol2.h, config/s390/nm-linux.h, | |
5845 | config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1. | |
5846 | ||
d1c76907 EZ |
5847 | 2003-02-24 Elena Zannoni <[email protected]> |
5848 | ||
5849 | * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop | |
5850 | maintainership. | |
5851 | ||
2610b0bf KW |
5852 | 2003-02-24 Kris Warkentin <[email protected]> |
5853 | ||
f46169db KW |
5854 | * solib.c (solib_open): Call target defined search function after |
5855 | failing with solib-search-path. | |
5856 | * solist.h (target_so_ops): Add find_and_open_solib function hook and | |
5857 | create define TARGET_SO_FIND_AND_OPEN_SOLIB. | |
2610b0bf | 5858 | |
9a3c34fe KW |
5859 | 2003-02-24 Kris Warkentin <[email protected]> |
5860 | ||
f46169db | 5861 | * MAINTAINERS: Add myself to Write After section. |
9a3c34fe | 5862 | |
2417dd25 SC |
5863 | 2003-02-23 Stephane Carrez <[email protected]> |
5864 | ||
5865 | * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide. | |
5866 | ||
b631436b SC |
5867 | 2003-02-22 Stephane Carrez <[email protected]> |
5868 | ||
5869 | * m68hc11-tdep.c (m68hc11_init_reggroups): New function. | |
5870 | (m68hc11_add_reggroups): New function. | |
5871 | (m68hc11_register_reggroup_p): New to register hard/soft reggroups. | |
5872 | (m68hc11_gdbarch_init): Install the reggroups. | |
5873 | (_initialize_m68hc11_tdep): Initialize them. | |
5874 | ||
0aa8c1e4 JW |
5875 | 2003-02-21 James E Wilson <[email protected]> |
5876 | ||
5877 | * MAINTAINERS: Update my email address. | |
5878 | ||
50ceaba5 DC |
5879 | 2003-02-21 David Carlton <[email protected]> |
5880 | ||
5881 | * arm-tdep.c (arm_gdbarch_init): Add break after default label. | |
5882 | ||
4c2df51b DJ |
5883 | 2003-02-21 Daniel Jacobowitz <[email protected]> |
5884 | ||
5885 | Based on a patch from Daniel Berlin ([email protected]). | |
5886 | * symtab.h: Add opaque declarations of struct axs_value and | |
5887 | struct agent_expr. | |
5888 | (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. | |
5889 | (struct location_funcs): New type. | |
5890 | (struct symbol): Add "loc" to aux_value. | |
5891 | (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. | |
5892 | * dwarf2read.c: Include "dwarf2expr.h". | |
5893 | (dwarf2_symbol_mark_computed): New function. | |
5894 | (read_func_scope): Use it. | |
5895 | (var_decode_location): New function. | |
5896 | (new_symbol): Use it. | |
5897 | * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. | |
5898 | ||
5899 | * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. | |
5900 | (dwarf2expr_h, dwarf2loc_h): New variables. | |
5901 | (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. | |
5902 | (dwarf2expr.o, dwarf2loc.o): New rules. | |
5903 | (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). | |
5904 | * buildsym.c (finish_block): Handle LOC_COMPUTED and | |
5905 | LOC_COMPUTED_ARG. | |
5906 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
5907 | * m2-exp.y (yylex): Likewise. | |
5908 | * printcmd.c (address_info, print_frame_args): Likewise. | |
5909 | * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. | |
5910 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
5911 | * ada-lang.c (ada_resolve_subexp, symtab_for_sym) | |
5912 | (ada_add_block_symbols, fill_in_ada_prototype): Likewise. | |
5913 | * symtab.c (lookup_block_symbol): Likewise. | |
5914 | ||
5784d15e AF |
5915 | 2003-02-20 Adam Fedor <[email protected]> |
5916 | ||
5917 | * symtab.h: Remove objc_specific struct | |
5918 | (SYMBOL_OBJC_DEMANGLED_NAME): Remove. | |
5919 | * symtab.c (symbol_init_language_specific, symbol_demangled_name): | |
5920 | Have language_objc use cplus_specific struct. | |
5921 | ||
d4cad8db TT |
5922 | 2003-02-20 Tom Tromey <[email protected]> |
5923 | ||
5924 | * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not | |
5925 | TYPE_NAME, when printing a String value. PR java/1075. | |
5926 | ||
2f9a90b4 AF |
5927 | 2003-02-20 Adam Fedor <[email protected]> |
5928 | ||
d38074a8 | 5929 | * objc-lang.h (find_methods): Remove declaration. |
fbe586ae | 5930 | * objc-lang.c (find_methods): Make static. |
2f9a90b4 | 5931 | |
6f17862b CF |
5932 | 2003-02-20 Christopher Faylor <[email protected]> |
5933 | ||
5934 | * win32-nat.c (get_image_name): Check return value from | |
5935 | ReadProcessMemory. | |
5936 | (child_xfer_memory): Ditto. | |
5937 | ||
715d1656 AO |
5938 | 2003-02-20 Alexandre Oliva <[email protected]> |
5939 | ||
5940 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
5941 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
5942 | '${exec_prefix}' (in addition to the expansion thereof) as | |
5943 | relocatable. | |
5944 | * configure: Rebuilt. | |
5945 | ||
b1262a02 DC |
5946 | 2003-02-20 David Carlton <[email protected]> |
5947 | ||
5948 | * symtab.c (search_symbols): Revert the search_symbols part of my | |
5949 | 2002-12-23 patch. Add comment. | |
5950 | ||
7134143f DJ |
5951 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
5952 | ||
5953 | * coffread.c (coff_symfile_read): Clean up minimal symbols earlier. | |
5954 | * dbxread.c (elfstab_build_psymtabs): Don't call | |
5955 | install_minimal_symbols. | |
5956 | (stabsect_build_psymtabs): Likewise. | |
5957 | * elfread.c (elf_symfile_read): Call install_minimal_symbols | |
5958 | earlier. | |
5959 | * somread.c (som_symfile_read): Call install_minimal_symbols | |
5960 | and do_cleanups earlier. | |
5961 | * nlmread.c (nlm_symfile_read): Likewise. | |
5962 | * mdebugread.c (elfmdebug_build_psymtabs): Call | |
5963 | install_minimal_symbols and make appropriate cleanups. | |
5964 | ||
cf466558 KB |
5965 | 2003-02-20 Kevin Buettner <[email protected]> |
5966 | ||
5967 | * solib.c (reload_shared_libraries): New function. | |
5968 | (_initialize_solib): Add callbacks for ``set solib-search-path'' | |
5969 | and ``set solib-absolute-prefix''. | |
5970 | ||
de5ad195 DC |
5971 | 2003-02-20 David Carlton <[email protected]> |
5972 | ||
5973 | * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME; | |
5974 | expand comment. | |
5975 | * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace | |
5976 | SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME. | |
5977 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
5978 | * ax-gdb.c (gen_var_ref): Ditto. | |
5979 | * breakpoint.c (print_one_breakpoint): Ditto. | |
5980 | * buildsym.c (finish_block): Ditto. | |
5981 | * c-valprint.c (c_val_print): Ditto. | |
5982 | * expprint.c (print_subexp): Ditto. | |
5983 | * findvar.c (locate_var_value): Ditto. | |
5984 | * infcmd.c (jump_command): Ditto. | |
5985 | * linespec.c (decode_line_2, decode_compound): Ditto. | |
5986 | * maint.c (maintenance_translate_address): Ditto. | |
5987 | * objc-lang.c (compare_selectors, compare_classes): Ditto. | |
5988 | * printcmd.c (build_address_symbolic, sym_info, print_frame_args): | |
5989 | Ditto. | |
5990 | * p-valprint.c (pascal_val_print): Ditto. | |
5991 | * stabsread.c (define_symbol): Ditto. | |
5992 | * stack.c (print_frame, frame_info, print_block_frame_locals) | |
5993 | (print_frame_arg_vars, return_command): Ditto. | |
5994 | * symfile.c (compare_symbols, compare_psymbols): Ditto. | |
5995 | * symmisc.c (print_symbol): Ditto. | |
5996 | * symtab.c (lookup_partial_symbol, lookup_block_symbol) | |
5997 | (compare_search_syms, print_symbol_info, print_msymbol_info) | |
5998 | (rbreak_command): Ditto. | |
5999 | * tracepoint.c (tracepoints_info): Ditto. | |
6000 | * typeprint.c (typedef_print): Ditto. | |
6001 | * valops.c (value_of_variable, hand_function_call): Ditto. | |
6002 | * cli/cli-cmds.c (edit_command, list_command): Ditto. | |
6003 | * ada-typeprint.c: Update Copyright. | |
6004 | * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. | |
6005 | * tracepoint.c, cli/cli-cmds.c: Ditto. | |
6006 | ||
f796e4be KB |
6007 | 2003-02-20 Kevin Buettner <[email protected]> |
6008 | ||
6009 | * frame.c (generic_unwind_get_saved_register): Make non-static. | |
6010 | * frame.h (generic_unwind_get_saved_register): Declare. | |
6011 | * mips-tdep.c (read_next_frame_reg): Fetch register from | |
6012 | current regcache when frame is NULL. | |
6013 | (mips_init_extra_frame_info): Pass NULL explicitly for parameter | |
6014 | that must be NULL. | |
6015 | (mips_get_saved_register): Call generic_unwind_get_saved_register() | |
6016 | instead of frame_register_unwind(). | |
6017 | ||
836cc9f4 AC |
6018 | 2003-02-20 Andrew Cagney <[email protected]> |
6019 | ||
6020 | * remote-sim.c (gdbsim_insert_breakpoint) | |
6021 | (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS | |
6022 | code. | |
6023 | ||
501eef12 AC |
6024 | 2003-02-20 Andrew Cagney <[email protected]> |
6025 | ||
6026 | * remote.c (_initialize_remote): Add commands "set/show remote | |
6027 | hardware-watchpoint-limit" and "set/show remote | |
6028 | hardware-breakpoint-limit". | |
6029 | (remote_hw_watchpoint_limit): Initialize to -1. | |
6030 | (remote_hw_breakpoint_limit): Ditto. | |
6031 | (remote_check_watch_resources): Treat a limit of -1 as unlimited. | |
6032 | ||
1b6bc7e0 CF |
6033 | 2003-02-19 Raoul Gough <[email protected]> |
6034 | ||
6035 | * coff-pe-read.c: New file - support reading of minimal symbols from a | |
6036 | portable executable using the export table. | |
6037 | * coff-pe-read.h: New file. | |
6038 | * coffread.c: Include coff-pe-read.h. | |
6039 | (coff_symtab_read): Call read_pe_exported_syms iff no recognized | |
6040 | debugging symbols found. | |
6041 | * Makefile.in (SFILES): Add coff-pe-read.o. | |
6042 | (coff_pe_read_h): Define. | |
6043 | (COMMON_OBS): Add coff-pe-read.o. | |
6044 | (coffread.o): Add coff_pe_read_h dependency. | |
6045 | (coff-pe-read.o): New target. | |
6046 | ||
fe898f56 DC |
6047 | 2003-02-19 David Carlton <[email protected]> |
6048 | ||
6049 | * Makefile.in (SFILES): Add block.c. | |
6050 | (block_h): New. | |
6051 | (COMMON_OBS): Add block.o. | |
6052 | (block.o): New. | |
6053 | (x86-64-tdep.o): Add $(block_h). | |
6054 | (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o) | |
6055 | (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o) | |
6056 | (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o) | |
6057 | (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o) | |
6058 | (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o) | |
6059 | (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o) | |
6060 | (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto. | |
6061 | * value.h: Add opaque declaration for struct block. | |
6062 | * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto. | |
6063 | * ada-lang.h: Ditto. | |
6064 | * x86-64-tdep.c: #include "block.h" | |
6065 | * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto. | |
6066 | * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto. | |
6067 | * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto. | |
6068 | * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto. | |
6069 | * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto. | |
6070 | * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto. | |
6071 | * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto. | |
6072 | * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto. | |
6073 | * blockframe.c (blockvector_for_pc_sect): Move to "block.c". | |
6074 | (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto. | |
6075 | * symtab.c (block_function): Ditto. | |
6076 | (contained_in): Ditto. | |
6077 | * frame.h: Move block_for_pc and block_for_pc_sect declarations to | |
6078 | block.h. Add opaque declaration for struct block. | |
6079 | * symtab.h: Move block_function and contained_in declarations to | |
6080 | block.h. Add opaque declarations for struct block, struct | |
6081 | blockvector. | |
6082 | (struct block): Move to block.h. | |
6083 | (struct blockvector): Ditto. | |
6084 | (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK) | |
6085 | (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM) | |
6086 | (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE) | |
6087 | (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS) | |
6088 | (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): | |
6089 | Ditto. | |
6090 | * block.c: New file. | |
6091 | * block.h: New file. | |
6092 | ||
173345b5 TR |
6093 | 2003-02-19 Theodore A. Roth <[email protected]> |
6094 | ||
6095 | * avr-tdep.c (avr_extract_return_value): Remove function. | |
6096 | (avr_store_return_value): Remove function. | |
6097 | (avr_extract_struct_value_address): Remove function. | |
6098 | (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls. | |
6099 | ||
338ef23d AC |
6100 | 2003-02-19 Andrew Cagney <[email protected]> |
6101 | ||
6102 | * rs6000-tdep.c: Include "gdb_assert.h". | |
6103 | (registers_e500): Add "acc" and "spefscr". | |
6104 | (PPC_GPRS_PSEUDO_REGS): Remove trailing comma. | |
6105 | (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum, | |
6106 | ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum | |
6107 | really is "r0". | |
6108 | (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson). | |
6109 | ||
5412f5f3 KS |
6110 | 2003-02-18 Keith Seitz <[email protected]> |
6111 | ||
6112 | * Makefile.in: Add gdbtk-interps.c. | |
6113 | ||
881324eb KB |
6114 | 2003-02-18 Kevin Buettner <[email protected]> |
6115 | ||
6116 | * sparc-tdep.c (sparc_frame_chain): Adjust return value. | |
6117 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare. | |
6118 | ||
6a2f5abf AC |
6119 | 2003-02-18 Andrew Cagney <[email protected]> |
6120 | ||
6121 | * symtab.h (struct objfile): Add opaque declaration. | |
6122 | ||
54c7009d EZ |
6123 | 2003-02-18 Elena Zannoni <[email protected]> |
6124 | ||
6125 | From Jim Ingham <[email protected]>: | |
fbe586ae RH |
6126 | * dbxread.c (process_one_symbol): Use last_function_start rather |
6127 | than function_start_offset to find the real beginning of the | |
6128 | current function. The latter is just the text section offset on | |
6129 | some systems, the former is always the real function start. | |
54c7009d | 6130 | |
7ee6d7eb AC |
6131 | 2003-02-17 Andrew Cagney <[email protected]> |
6132 | ||
6133 | * configure.in: Revert ${target} != ${host}. | |
6134 | ||
2846da9b AC |
6135 | 2003-02-17 Andrew Cagney <[email protected]> |
6136 | ||
6137 | * configure.in (Makefile): Use the test ${target} != ${host}, | |
6138 | instead of the absence of the "nm.h" file, to determine of the | |
6139 | configuration non-native. | |
6140 | * configure: Regenerate. | |
6141 | ||
3b27aeea EZ |
6142 | 2003-02-14 Elena Zannoni <[email protected]> |
6143 | ||
fbe586ae | 6144 | From Brian Ford <[email protected]> |
3b27aeea EZ |
6145 | |
6146 | * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly | |
6147 | conditionalize tui_active test. | |
6148 | (lookup_cmd_1): Ditto. | |
6149 | ||
b0b1c2c0 MK |
6150 | 2003-02-14 Mark Kettenis <[email protected]> |
6151 | ||
6152 | * configure.in: Add check for _etext. | |
6153 | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't | |
6154 | available. | |
6155 | * config.in, configure: regenerated. | |
6156 | ||
8f05cde5 DJ |
6157 | 2003-02-14 Daniel Jacobowitz <[email protected]> |
6158 | ||
6159 | * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base. | |
6160 | ||
021e7609 AC |
6161 | 2003-02-14 Andrew Cagney <[email protected]> |
6162 | ||
6163 | * main.c (tui_version): Delete variable. | |
6164 | (captured_main): When --tui, set interpreter_p to "tui" instead of | |
6165 | enabling tui_version. | |
6166 | * printcmd.c (display_command) [TUI]: Test tui_active instead of | |
6167 | tui_version. | |
6168 | * cli/cli-decode.c (lookup_cmd_composition): Ditto. | |
6169 | * cli/cli-cmds.c (disassemble_command): Ditto. | |
6170 | * defs.h (tui_version): Delete declaration. | |
6171 | * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". | |
6172 | (tui-interp.o): Add rules. | |
6173 | (SUBDIR_TUI_OBS): Add "tui-interp.o". | |
6174 | ||
e325dcec CF |
6175 | 2003-02-14 Christopher Faylor <[email protected]> |
6176 | ||
36ffb041 | 6177 | * win32-nat.c (register_loaded_dll): Correctly set address range for |
e325dcec CF |
6178 | just-loaded dll. |
6179 | ||
c4f90d87 JM |
6180 | 2003-02-12 Jason Molenda ([email protected]) |
6181 | ||
fbe586ae RH |
6182 | * symmisc.c (print_objfile_statistics): Include information about |
6183 | the number of psymtabs and symtabs in each object file. | |
c4f90d87 | 6184 | |
e46e5ccd KS |
6185 | 2003-02-13 Keith R Seitz <[email protected]> |
6186 | ||
6187 | * main.h (struct captured_main_args): Add interpreter_p. | |
6188 | * main.c (captured_main): Initialize interpreter_p from context. | |
6189 | * gdb.c (main): Set interpreter_p argument. | |
6190 | * Makefile.in (gdb.o): Add dependency for interps.h. | |
6191 | ||
fe97fe9c AC |
6192 | 2003-02-12 Andrew Cagney <[email protected]> |
6193 | ||
6194 | * event-top.c (cli_command_loop): Delete declaration. | |
6195 | (_initialize_event_loop): Delete function setting event_loop_hook. | |
6196 | * event-top.h (cli_command_loop): Declare. Update copyright. | |
6197 | (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. | |
6198 | * interps.c (current_interp_command_loop): When event_loop_p, call | |
6199 | cli_command_loop. | |
6200 | ||
1cdac4ef AC |
6201 | 2003-02-12 Andrew Cagney <[email protected]> |
6202 | ||
6203 | * interps.h (interp_command_loop_ftype): Change return type to | |
6204 | void. | |
6205 | ||
48037ead ML |
6206 | 2003-02-12 Michal Ludvig <[email protected]> |
6207 | ||
6208 | * x86-64-tdep.c (x86_64_extract_return_value) | |
6209 | (x86_64_store_return_value): Use regcache instead of regbuf. | |
6210 | (x86_64_gdbarch_init): Change related set_gdbarch_* functions. | |
6211 | * x86-64-linux-nat.c (fill_gregset): Use regcache. | |
6212 | ||
033afc63 AC |
6213 | 2003-02-11 Andrew Cagney <[email protected]> |
6214 | ||
6215 | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. | |
6216 | * aclocal.m4: Regenerate. | |
6217 | * configure: Regenerate. | |
6218 | ||
6219 | * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of | |
6220 | TCL_LD_SEARCH_FLAGS. | |
6221 | ||
40d02bca ML |
6222 | 2003-02-10 Michal Ludvig <[email protected]> |
6223 | ||
6224 | * dwarf2cfi.c: Reindented. | |
6225 | ||
11308a41 AC |
6226 | 2003-02-09 Andrew Cagney <[email protected]> |
6227 | ||
6228 | * interps.c (clear_interpreter_hooks): Convert function definition | |
6229 | to ISO C. | |
6230 | ||
e1c1c0f6 DC |
6231 | 2003-02-07 David Carlton <[email protected]> |
6232 | ||
6233 | * gdb_mbuild.sh: Delete extra shift after parsing '-f'. | |
6234 | ||
ab5d3da6 KB |
6235 | 2003-02-07 Kevin Buettner <[email protected]> |
6236 | ||
6237 | * gdbtypes.h (struct main_type): Move ``length'' field from here... | |
6238 | (struct type): ...to here. | |
6239 | (TYPE_LENGTH): Adjust to reflect different location of ``length'' | |
6240 | field. | |
6241 | * gdbtypes.c (make_qualified_type): Set length on newly created type. | |
6242 | (replace_type): Set length on all type variants for a given type. | |
6243 | ||
b8a92b82 AC |
6244 | 2003-02-07 Andrew Cagney <[email protected]> |
6245 | ||
6246 | * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of | |
6247 | <sys/stat.h>. | |
6248 | * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. | |
6249 | ||
5cb316ef AC |
6250 | 2003-02-06 Andrew Cagney <[email protected]> |
6251 | ||
2555fe1a AC |
6252 | * Makefile.in (symm-nat.o): Update dependencies. |
6253 | (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. | |
6254 | (lynx-nat.o, ia64-linux-nat.): Ditto. | |
6255 | * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include | |
6256 | "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. | |
6257 | * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. | |
6258 | ||
44270758 AC |
6259 | * Makefile.in (inflow_h): Define. |
6260 | (procfs.o, inflow.o, procfs.o): Update dependencies. | |
6261 | * inftarg.c (child_stop): Delete extern declaration of | |
6262 | inferior_process_group. Include "inflow.h". | |
6263 | * procfs.c (procfs_stop): Ditto. Include "inflow.h". | |
6264 | * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... | |
6265 | * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. | |
6266 | (our_process_group, inferior_process_group): Extern declarations. | |
6267 | ||
df8f7274 AC |
6268 | * procfs.c: Include "gdb_assert.h". |
6269 | ||
5cb316ef AC |
6270 | * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. |
6271 | * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. | |
6272 | * jv-typeprint.c (java_type_print_base): Ditto. | |
6273 | * typeprint.c (typedef_print): Eliminate STREQ. | |
6274 | * cli/cli-script.c (define_command, define_command): Ditto. | |
6275 | * main.c (captured_main): Ditto. | |
6276 | * values.c (lookup_internalvar): Ditto. | |
6277 | * utils.c (safe_strerror, parse_escape): Eliminate assignment | |
6278 | within `if' conditional. | |
6279 | * linespec.c (decode_line_2): Ditto. | |
6280 | * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. | |
6281 | (bfd_openw_with_cleanup): Ditto. | |
6282 | ||
2a28ccea MK |
6283 | 2003-02-07 Mark Kettenis <[email protected]> |
6284 | ||
6285 | * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to | |
6286 | legacy_extract_return_value and store_return_value to | |
6287 | legacy_return_value. | |
6288 | ||
786b8124 CF |
6289 | 2003-02-06 Raoul Gough <[email protected]> |
6290 | ||
6291 | * win32-nat.c (get_relocated_section_addrs): New function. Find | |
6292 | section load addresses for symbol handling in relocated DLLs. | |
6293 | (solib_symbols_add): Open a bfd and call get_relocated_section_addrs. | |
6294 | ||
b871e4ec FF |
6295 | 2003-02-05 Fred Fish <[email protected]> |
6296 | ||
6297 | * remote-e7000.c (e7000_drain_command): Fix precedence problem with | |
6298 | '=' and '!='. | |
6299 | * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem | |
6300 | with '&' and '=='. | |
6301 | (angel_RDI_info): Ditto. | |
6302 | * infttrace.c (threads_continue_all_but_one): Fix precedence problem | |
6303 | with '&' and '!='. | |
6304 | (threads_continue_all_with_signals): Ditto. | |
6305 | ||
4389a95a | 6306 | 2003-02-05 Jim Ingham <[email protected]> |
fbe586ae RH |
6307 | Keith Seitz <[email protected]> |
6308 | Elena Zannoni <[email protected]> | |
6309 | Andrew Cagney <[email protected]> | |
4389a95a AC |
6310 | |
6311 | * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". | |
6312 | (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". | |
6313 | (SUBDIR_MI_OBS): Add "mi-interp.o". | |
6314 | (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". | |
6315 | (SFILES): Add "interps.c". | |
6316 | (COMMON_OBS): Add "interps.o". | |
6317 | (interps_h, mi_main_h): Define. | |
6318 | (interps.o, cli-interp.o, mi-interp.o): Add dependencies. | |
6319 | (mi-main.o, main.o, event-top.o): Update dependencies. | |
6320 | * cli/cli-interp.c: New file. | |
6321 | * interps.h, interps.c: New files. | |
6322 | * top.c: (gdb_init): Don't install the default interpreter, handed | |
6323 | by captured_main. | |
6324 | * main.c: Include "interps.h". | |
6325 | (interpreter_p): Note that it should malloc'ed. | |
6326 | (captured_command_loop): Call current_interp_command_loop. | |
6327 | (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use | |
6328 | xfree and xstrdup when updating interpreter_p. Install the | |
6329 | default interpreter. Add hack to stop mi1's copyright notice | |
6330 | being encoded. | |
6331 | * event-top.h (gdb_setup_readline): Declare. | |
6332 | (gdb_disable_readline): Declare. | |
6333 | * event-top.c: Include "interps.h". | |
6334 | (display_gdb_prompt): Call current_interp_display_prompt_p. | |
6335 | (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, | |
6336 | gdb_stdlog, and gdb_stdtarg. | |
6337 | (_initialize_event_loop): Don't call gdb_setup_readline. | |
6338 | * cli-out.c (cli_out_set_stream): New function. | |
6339 | * cli-out.h (cli_out_set_stream): Declare. | |
6340 | ||
ff3b5810 MK |
6341 | 2003-02-06 Mark Kettenis <[email protected]> |
6342 | ||
6343 | * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*, | |
6344 | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all | |
6345 | handled fine by i[3456]86-*sco* and i[3456]86-sysv*. | |
6346 | * config/i386/i386sco5.mt, config/i386/i386v4.mt, | |
6347 | config/i386/i386v42mp.mt: Removed. | |
6348 | ||
5b729aa5 MK |
6349 | 2003-02-05 Mark Kettenis <[email protected]> |
6350 | ||
6351 | * configure.tgt (*-*-solaris*): Set gdb_osabi to | |
6352 | GDB_OSABI_SOLARIS. | |
6353 | ||
8cc15142 MC |
6354 | 2003-02-05 Michael Chastain <[email protected]> |
6355 | ||
6356 | * PROBLEMS (i[3456]86-*-linux*): Warn about binutils | |
6357 | 2.12.1 and earlier versions. | |
6358 | ||
5aa5d4b9 AC |
6359 | 2003-02-05 Andrew Cagney <[email protected]> |
6360 | ||
6361 | Remove orphaned hosts, targets and files. | |
6362 | * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. | |
6363 | * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. | |
6364 | * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. | |
6365 | * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. | |
6366 | * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. | |
6367 | * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. | |
6368 | * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. | |
6369 | * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. | |
6370 | * config/sparc/tm-sp64sim.h: Delete. | |
6371 | * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* | |
6372 | hosts. | |
6373 | * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and | |
6374 | mips*-dec-mach3* targets. | |
6375 | ||
b68767c1 MC |
6376 | 2003-02-04 Michael Chastain <[email protected]> |
6377 | ||
6378 | * NEWS: Fix typo: sepcifying -> specifying. | |
6379 | ||
5ae7ca1d MC |
6380 | 2003-02-04 Michael Chastain <[email protected]> |
6381 | ||
6382 | * dwarfread.c: Add documentation on the state of dwarf-1, | |
6383 | looking towards obsoletion. | |
6384 | ||
d08a4280 MC |
6385 | 2003-02-03 Michael Chastain <[email protected]> |
6386 | ||
6387 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, | |
6388 | gdb/testsuite/gdb.c++/pr-1023.exp. | |
6389 | ||
e9be73e4 AC |
6390 | 2003-02-04 Andrew Cagney <[email protected]> |
6391 | ||
6392 | * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. | |
6393 | * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. | |
6394 | ||
6395 | * utils.c (init_page_info): Delete reference to MPW in comments. | |
6396 | * main.c (captured_main): Delete #ifdef MPW. | |
6397 | ||
05d57f6f AC |
6398 | 2003-02-04 Andrew Cagney <[email protected]> |
6399 | ||
6400 | * NEWS: Note that the m32r-*-elf* is obsolete. | |
6401 | * monitor.c (monitor_expect): Obsolete reference to m32r. | |
6402 | * configure.tgt: Mark m32r-*-elf* as obsolete. | |
6403 | * MAINTAINERS: Mark m32k as obsolete. | |
6404 | * m32r-rom.c: Obsolete file. | |
6405 | * config/m32r/m32r.mt: Obsolete file. | |
6406 | * config/m32r/tm-m32r.h: Obsolete file. | |
6407 | * m32r-stub.c: Obsolete file. | |
6408 | * m32r-tdep.c: Obsolete file. | |
6409 | ||
8b0e5691 AC |
6410 | 2003-02-04 Andrew Cagney <[email protected]> |
6411 | ||
6412 | * NEWS: Mention that the z8k-zilog-none is obsolete. | |
6413 | * MAINTAINERS: Mark z8k as obsolete. | |
6414 | * configure.tgt: Obsolete the z8k-*-coff* target. | |
6415 | * config/z8k/z8k.mt: Obsolete file. | |
6416 | * config/z8k/tm-z8k.h: Obsolete file. | |
6417 | * z8k-tdep.c: Obsolete file. | |
6418 | ||
67f16606 AC |
6419 | 2003-02-04 Andrew Cagney <[email protected]> |
6420 | ||
6421 | * NEWS: Mention that the mn10200-elf is obsolete. | |
6422 | * configure.tgt: Obsolete mn10200-*-* target. | |
6423 | * breakpoint.c (update_breakpoints_after_exec): Update comment to | |
6424 | mention that the mn10200 is obsolete. | |
6425 | * breakpoint.h: Ditto. | |
6426 | * MAINTAINERS: Mark the mn10200-elf as obsolete. | |
6427 | * config/mn10200/mn10200.mt: Obsolete file. | |
6428 | * config/mn10200/tm-mn10200.h: Obsolete file. | |
6429 | * mn10200-tdep.c: Obsolete file. | |
6430 | ||
fd2299bd AC |
6431 | 2003-02-04 Andrew Cagney <[email protected]> |
6432 | ||
6433 | * MAINTAINERS: Mark h8500 as obsolete. | |
6434 | * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. | |
6435 | * findvar.c (value_from_register): Ditto. | |
6436 | * h8500-tdep.c: Mark file as obsolete. | |
6437 | * config/h8500/h8500.mt: Ditto. | |
6438 | * config/h8500/tm-h8500.h: Ditto. | |
6439 | * NEWS: Mention that h8500 is obsolete. | |
6440 | ||
eb9a305d DC |
6441 | 2003-02-04 David Carlton <[email protected]> |
6442 | ||
6443 | * objfiles.c (allocate_objfile): Always set name. Add comment at | |
6444 | start of function. | |
6445 | * jv-lang.c (get_dynamics_objfile): Add comment. | |
6446 | ||
406fc7fb DC |
6447 | 2003-02-04 David Carlton <[email protected]> |
6448 | ||
6449 | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. | |
6450 | * printcmd.c (build_address_symbolic): Replace uses of | |
6451 | SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, | |
6452 | SYMBOL_NAME, and asm_demangle. | |
6453 | Update copyright. | |
6454 | ||
93d91629 DC |
6455 | 2003-02-04 David Carlton <[email protected]> |
6456 | ||
6457 | * linespec.c (decode_compound): Extract code into | |
6458 | lookup_prefix_sym. | |
6459 | (lookup_prefix_sym): New function. | |
6460 | ||
1c5cb38e DC |
6461 | 2003-02-04 David Carlton <[email protected]> |
6462 | ||
6463 | * gdbtypes.h: Delete INTEGER_COERCION_BADNESS, | |
6464 | FLOAT_COERCION_BADNESS. | |
6465 | * gdbtypes.c (rank_one_type): Replace all uses of | |
6466 | INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS. | |
6467 | ||
0cf824c9 JB |
6468 | 2003-02-04 Jim Blandy <[email protected]> |
6469 | ||
6470 | * dwarf2read.c (dwarf2_locate_sections): When we find a macro info | |
6471 | section, let dwarf_macinfo_section point to it, not | |
6472 | dwarf_loc_section. | |
6473 | ||
a2d356b0 DJ |
6474 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
6475 | ||
6476 | Pointed out by Anton Blanchard <[email protected]>. | |
6477 | * ppc-linux-tdep.c (insn_is_sigreturn): New function. | |
6478 | (ppc_linux_at_sigtramp_return_path): Use it. | |
6479 | ||
2de7ced7 DJ |
6480 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
6481 | ||
6482 | * defs.h (streq): Add prototype. | |
6483 | * utils.c (streq): New function. | |
6484 | ||
6485 | * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of | |
6486 | SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. | |
6487 | * mdebugread.c (new_symbol): Likewise. | |
6488 | * stabsread.c (define_symbol): Likewise. | |
6489 | * coffread.c (process_coff_symbol): Likewise. | |
6490 | * dwarfread.c (new_symbol): Likewise. | |
6491 | ||
6492 | * minsyms.c (prim_record_minimal_symbol_and_info): Use | |
6493 | SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language | |
6494 | here. | |
6495 | (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call | |
6496 | SYMBOL_INIT_DEMANGLED_NAME. | |
6497 | * objfiles.c: Include "hashtab.h". | |
6498 | (allocate_objfile): Call htab_set_functions_ex for the | |
6499 | demangled_names_hash. | |
6500 | (free_objfile): Call htab_delete for the demangled_names_hash. | |
6501 | * objfiles.h (struct htab): Add declaration. | |
6502 | (struct objfile): Add demangled_names_hash. | |
6503 | * symfile.c: Include "hashtab.h". | |
6504 | (reread_symbols): Call htab_delete for the demangled_names_hash. | |
6505 | (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting | |
6506 | SYMBOL_NAME in the bcache. | |
6507 | * symtab.c: Include "hashtab.h". Update comments. | |
6508 | (create_demangled_names_hash, symbol_set_names): New functions. | |
6509 | (symbol_find_demangled_name): New function, broken out from | |
6510 | symbol_init_demangled_names. | |
6511 | (symbol_init_demangled_names): Use it. | |
6512 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. | |
6513 | (SYMBOL_SET_NAMES): New macro. | |
6514 | (symbol_set_names): Add prototype. | |
6515 | ||
15831452 JB |
6516 | 2003-02-03 Jim Blandy <[email protected]> |
6517 | ||
6518 | Use a single, consistent representation for an empty minimal | |
6519 | symbol table in an objfile. | |
6520 | * objfiles.c (terminate_minimal_symbol_table): New function. | |
6521 | (allocate_objfile): Call it. | |
6522 | * objfiles.h (terminate_minimal_symbol_table): New declaration. | |
6523 | (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is | |
6524 | non-NULL. | |
6525 | * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether | |
6526 | objfile has minimal symbols, compare minimal_symbol_count to zero, | |
6527 | instead of comparing msymbols with NULL. | |
6528 | * objfiles.c (have_minimal_symbols): Same. | |
6529 | * solib-sunos.c (solib_add_common_symbols): Call | |
6530 | terminate_minimal_symbol_table. | |
6531 | * symfile.c (reread_symbols): Same. | |
6532 | ||
ffc65945 KB |
6533 | 2003-02-03 Kevin Buettner <[email protected]> |
6534 | ||
6535 | * s390-tdep.c (s390_address_class_type_flags) | |
6536 | (s390_address_class_type_flags_to_name) | |
6537 | (s390_address_class_name_to_type_flags): New functions. | |
6538 | (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, | |
6539 | ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS. | |
6540 | ||
f211c6d4 MS |
6541 | 2003-02-03 Michael Snyder <[email protected]> |
6542 | ||
6543 | * arm-tdep.c: Fix spell-o in comment. | |
6544 | ||
659b0389 ML |
6545 | 2003-02-03 Michal Ludvig <[email protected]> |
6546 | ||
6547 | * dwarf2cfi.c (pointer_encoding): Added new parameter. | |
6548 | * dwarf2cfi.c, dwarf2read.c: Changed all warnings and | |
6549 | error messages to contain BFD filename. | |
6550 | ||
3b31d625 EZ |
6551 | 2003-02-02 Elena Zannoni <[email protected]> |
6552 | ||
997b089a | 6553 | Fix PR gdb/742 gdb/743 gdb/877 |
3b31d625 EZ |
6554 | * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. |
6555 | (do_mixed_source_and_assembly): Use | |
6556 | make_cleanup_ui_out_tuple_begin_end and | |
6557 | make_cleanup_ui_out_tuple_begin_end. | |
6558 | (do_mixed_source_and_assembly): Ditto. | |
6559 | * thread.c (do_captured_list_thread_ids): Ditto. | |
6560 | * ui-out.h (ui_out_table_begin, ui_out_list_begin, | |
6561 | ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, | |
6562 | ui_out_tuple_end): Delete prototypes. | |
6563 | * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, | |
6564 | ui_out_list_end, ui_out_tuple_end): Delete. | |
6565 | ||
6566 | From Kevin Buettner <[email protected]>: | |
6567 | * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. | |
fbe586ae RH |
6568 | * ui-out.c (make_cleanup_ui_out_table_begin_end) |
6569 | (do_cleanup_table_end): New functions. | |
6570 | * breakpoint.c (print_it_typical, print_one_breakpoint, mention): | |
6571 | Use cleanups to invoke_ui_out_tuple_end(). | |
6572 | (breakpoint_1): Use cleanup to invoke ui_out_table_end(). | |
3b31d625 EZ |
6573 | * cli/cli-setshow.c (cmd_show_list): Use |
6574 | make_cleanup_ui_out_tuple_begin_end. | |
6575 | ||
5b181d62 AC |
6576 | 2003-02-02 Andrew Cagney <[email protected]> |
6577 | ||
6578 | * frame.c (frame_unwind_register): New function. | |
6579 | (frame_unwind_unsigned_register): Use. | |
6580 | (frame_unwind_signed_register): Use. | |
6581 | (frame_read_register): New function. | |
6582 | * frame.h (frame_unwind_register): Declare. | |
6583 | (frame_read_register): Declare. | |
6584 | ||
6585 | * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write | |
6586 | and frame_unwind_register instead of read_memory, write_register | |
6587 | and deprecated_write_register_bytes. | |
6588 | ||
5f601589 AC |
6589 | 2003-02-02 Andrew Cagney <[email protected]> |
6590 | ||
6591 | * frame.h: Note that namelen can be negative. | |
6592 | * frame.c (frame_map_name_to_regnum): When LEN is negative, use | |
6593 | NAME's length. | |
6594 | ||
6595 | * NEWS: Mention that the d10v's `regs' command is deprecated. | |
6596 | * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. | |
6597 | (d10v_print_registers_info): New function. | |
6598 | (show_regs): Call d10v_print_registers_info. | |
6599 | (_initialize_d10v_tdep): Mark "show regs" command as deprecated. | |
6600 | ||
6a3fe0a4 MK |
6601 | 2003-02-02 Mark Kettenis <[email protected]> |
6602 | ||
6603 | * stack.c (print_frame_info): Restore call to annotate_frame_begin | |
6604 | lost in the previous patch. | |
6605 | ||
075559bc AC |
6606 | 2003-02-01 Andrew Cagney <[email protected]> |
6607 | ||
6608 | From 2002-11-09 Jason Molenda ([email protected]) | |
fbe586ae RH |
6609 | * stack.c (print_frame_info_base): Output complete FRAME tuple |
6610 | for synthesized frames. | |
075559bc | 6611 | |
6789195b AC |
6612 | 2003-02-02 Andrew Cagney <[email protected]> |
6613 | ||
6614 | * mips-nat.c (zerobuf): Delete. | |
6615 | (fetch_inferior_registers): Alloc local zerobuf. | |
6616 | (fetch_core_registers): Alloc local zerobuf. | |
6617 | * d10v-tdep.c (show_regs): Don't allocate a dynamic array using | |
6618 | MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. | |
6619 | * thread-db.c (thread_db_store_registers): Ditto. | |
6620 | * sh-tdep.c (sh_do_register): Ditto. | |
6621 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
6622 | * remote-sim.c (gdbsim_store_register): Ditto. | |
6623 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
6624 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
6625 | * monitor.c (monitor_supply_register): Ditto. | |
6626 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
6627 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
6628 | * m68klinux-nat.c (fetch_register): Ditto. | |
6629 | * lynx-nat.c (fetch_inferior_registers): Ditto. | |
6630 | (fetch_inferior_registers): Ditto. | |
6631 | * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
6632 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
6633 | (hpux_thread_store_registers): Ditto. | |
6634 | * hppah-nat.c (fetch_register): Ditto. | |
6635 | * hppab-nat.c (fetch_register): Ditto. | |
6636 | * hppa-tdep.c (pa_register_look_aside): Ditto. | |
6637 | (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. | |
6638 | * dve3900-rom.c (fetch_bitmapped_register): Ditto. | |
6639 | ||
e669114a AC |
6640 | 2003-02-01 Andrew Cagney <[email protected]> |
6641 | ||
6642 | * gdbarch.sh: Explictly specify all method levels. When a | |
6643 | variable with an empty level, provide a non-multi-arch default. | |
6644 | (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. | |
6645 | * gdbarch.h: Re-generate. | |
6646 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. | |
6647 | * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1 | |
6648 | ||
9a043c1d AC |
6649 | 2003-02-01 Andrew Cagney <[email protected]> |
6650 | ||
6651 | * defs.h (host_pointer_to_address): Delete declaration. | |
6652 | (address_to_host_pointer): Delete declaration. | |
6653 | * utils.c (host_pointer_to_address): Delete function. | |
6654 | (address_to_host_pointer): Delete function. | |
6655 | * procfs.c (procfs_address_to_host_pointer): New function. | |
6656 | * procfs.c (proc_set_watchpoint): Use. | |
6657 | (procfs_can_use_hw_breakpoint): Update comments. | |
6658 | * somsolib.c (hpux_address_to_host_pointer_hack): New function. | |
6659 | (som_solib_add): Use. | |
6660 | * hppa-tdep.c (hppa_pointer_to_address_hack): New function. | |
6661 | * hppa-tdep.c (unwind_command): Use. | |
6662 | ||
7ca9f392 AC |
6663 | 2003-02-01 Andrew Cagney <[email protected]> |
6664 | ||
94bbfd30 AC |
6665 | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and |
6666 | strlen d_name. | |
6667 | ||
7ca9f392 AC |
6668 | * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, |
6669 | ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. | |
6670 | (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. | |
6671 | * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. | |
6672 | (define_symbol): Update. | |
6673 | * symfile.c (generic_load): Remove references to nindy. | |
6674 | * symtab.c: Remove references to nindy. | |
6675 | ||
31a85ea2 AC |
6676 | 2003-02-01 Andrew Cagney <[email protected]> |
6677 | ||
6678 | * infcmd.c (print_float_info): Delete code conditional on | |
6679 | FLOAT_INFO. | |
6680 | * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. | |
6681 | * config/m68k/nm-apollo68b.h: Ditto. | |
6682 | * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. | |
6683 | * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. | |
6684 | * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. | |
6685 | ||
f6e85fc8 MK |
6686 | 2003-02-01 Mark Kettenis <[email protected]> |
6687 | ||
6015b6a0 MK |
6688 | * config/i386/tm-i386os9k.h: Removed. |
6689 | ||
f7a30bdf MK |
6690 | * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v. |
6691 | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since | |
6692 | they're identical to i[3456]86-*-sysv* now. | |
6693 | * config/i386/i386v32.mh: Removed. | |
6694 | * config/i386/xm-i386v32.h: Removed. | |
6695 | * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro. | |
6696 | ||
28d52111 MK |
6697 | * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed. |
6698 | ||
4d3f6bce MK |
6699 | * config/i386/i386dgux.mh: Removed. |
6700 | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4. | |
6701 | ||
f6e85fc8 MK |
6702 | * configure.in: Fix typo. |
6703 | * configure: Regenerated. | |
6704 | ||
53955967 DC |
6705 | 2003-01-31 David Carlton <[email protected]> |
6706 | ||
6707 | * dwarf2read.c (dwarf2_locate_sections): Set | |
6708 | dwarf_ranges_section. | |
6709 | ||
b1364885 AC |
6710 | 2003-01-31 Andrew Cagney <[email protected]> |
6711 | ||
8dbb1c65 AC |
6712 | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. |
6713 | * utils.c: Update comments documenting legitimate uses of PTR. | |
6714 | ||
8731e58e AC |
6715 | * utils.c: Re-indent. |
6716 | ||
b1364885 AC |
6717 | * config/djgpp/fnchange.lst: Delete nindy files. |
6718 | * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. | |
6719 | * nindy-share/nindy.c, nindy-share/env.h: Delete files. | |
6720 | * nindy-share/coff.h, nindy-share/block_io.h: Delete files. | |
6721 | * nindy-share/b.out.h, nindy-share/VERSION: Delete files. | |
6722 | * nindy-share/README, nindy-share/Onindy.c: Delete files. | |
6723 | * nindy-tdep.c, nindy-share/Makefile: Delete files. | |
6724 | * Makefile.in (init.c): Remove nindy references. | |
6725 | (saber_gdb): Delete rule. | |
6726 | (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, | |
6727 | nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, | |
6728 | and a68v-nat.c. | |
6729 | (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. | |
6730 | (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. | |
6731 | (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, | |
6732 | nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and | |
6733 | nindy-share/stop.h. | |
6734 | * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. | |
6735 | * saber.suppress: Delete file. | |
6736 | ||
086df311 DJ |
6737 | 2003-01-31 Daniel Jacobowitz <[email protected]> |
6738 | ||
6739 | * dbxread.c (stabs_data): New static variable. | |
6740 | (fill_symbuf): Support an in-memory buffer for stabs data. | |
6741 | (stabs_seek): New function. | |
6742 | (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. | |
6743 | (read_ofile_symtab): Use stabs_seek. | |
6744 | (elfstab_build_psymtabs): Take an asection* instead of | |
6745 | an offset and size. Relocate the stabs data if necessary. | |
6746 | Save the section* for dbx_psymtab_to_symtab. | |
6747 | * dwarf2read.c: Add section variables for each debug section. | |
6748 | (dwarf2_locate_sections): Fill them in. | |
6749 | (dwarf2_read_section): Take an asection* argument. | |
6750 | Relocate the section contents if necessary. | |
6751 | (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. | |
6752 | * dwarf2cfi.c (parse_frame_info): Take a section argument and pass | |
6753 | it to dwarf2_read_section. | |
6754 | (dwarf2_build_frame_info): Update callers. | |
6755 | * elfread.c (elf_symfile_read): Update call to | |
6756 | elfstab_build_psymtabs. | |
6757 | * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. | |
6758 | (DBX_STAB_SECTION): New macro. | |
6759 | * stabsread.h (elfstab_build_psymtabs): Update prototype. | |
6760 | * symfile.c (symfile_dummy_outputs): New function. | |
6761 | (symfile_relocate_debug_section): New function. | |
6762 | * symfile.h (symfile_relocate_debug_section): Add prototype. | |
6763 | ||
87d1b352 RH |
6764 | 2003-01-31 Richard Henderson <[email protected]> |
6765 | ||
6766 | * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ... | |
6767 | (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. | |
6768 | (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. | |
6769 | * alpha-tdep.c (alpha_register_name): Add "unique". | |
6770 | * alpha-tdep.h (ALPHA_NUM_REGS): Increment. | |
6771 | (ALPHA_UNIQUE_REGNUM): New. | |
6772 | * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New. | |
6773 | ||
c48861fb AC |
6774 | 2003-01-31 Andrew Cagney <[email protected]> |
6775 | ||
6776 | * README: Remove reference to Ericsson 1800 monitor. | |
6777 | * Makefile.in (remote-es.o): Delete rule. | |
6778 | (ALLDEPFILES): Delete remote-es.c. | |
6779 | * remote-es.c: Delete file. | |
6780 | * config/m68k/es1800.mt: Delete file. | |
6781 | * config/djgpp/fnchange.lst: Update. | |
6782 | * configure.tgt: Delete m68*-ericsson-* target. | |
6783 | ||
d764a824 AF |
6784 | 2003-01-31 Adam Fedor <[email protected]> |
6785 | ||
6786 | * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc. | |
6787 | Remove duplicate/shadowing variable of same name. | |
6788 | ||
fe36c4f4 JB |
6789 | 2003-01-30 Jim Blandy <[email protected]> |
6790 | ||
6791 | * symfile.c (find_separate_debug_file): Assert that the objfile's | |
6792 | directory name we compute ends with a slash, and then assume that | |
6793 | that's so everywhere we use it. | |
6794 | ||
cb741690 DJ |
6795 | 2003-01-30 Daniel Jacobowitz <[email protected]> |
6796 | ||
6797 | * valops.c (value_assign): Flush frame cache after stores to memory | |
6798 | also. | |
6799 | ||
96ee5227 AC |
6800 | 2003-01-30 Andrew Cagney <[email protected]> |
6801 | ||
6802 | * Makefile.in (mon960-rom.o): Delete rule. | |
6803 | * mon960-rom.c: Delete file. | |
6804 | ||
7f6104a9 AC |
6805 | 2003-01-30 Andrew Cagney <[email protected]> |
6806 | ||
6807 | * d10v-tdep.c: Include "frame-unwind.h". | |
6808 | (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate | |
6809 | list. | |
6810 | (next_addr, uses_frame): Delete. | |
6811 | (struct d10v_unwind_cache): Define. | |
6812 | (prologue_find_regs): Add struct d10v_unwind_cache info parameter. | |
6813 | Use info instead of next_addr and uses_frame globals. | |
6814 | (d10v_frame_init_saved_regs): Delete function. | |
6815 | (d10v_init_extra_frame_info): Delete function. | |
6816 | (d10v_gdbarch_init): Do not initialize init_extra_frame_info, | |
6817 | frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, | |
6818 | init_frame_pc or frame_saved_pc. | |
6819 | (d10v_pop_frame): Delete function. | |
6820 | (do_d10v_pop_frame): Delete function. | |
6821 | (d10v_frame_chain): Delete function. | |
6822 | (d10v_frame_chain_valid): Delete function. | |
6823 | (d10v_frame_pc_unwind): New function. | |
6824 | (d10v_frame_id_unwind): New function. | |
6825 | (saved_regs_unwinder): New function. | |
6826 | (d10v_frame_register_unwind): New function. | |
6827 | (d10v_frame_pop): New function. | |
6828 | (d10v_frame_unwind): New variable. | |
6829 | (d10v_frame_p): New function. | |
6830 | (d10v_frame_saved_pc): Delete function. | |
6831 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
6832 | ||
cad2e848 JB |
6833 | 2003-01-30 J. Brobecker <[email protected]> |
6834 | ||
6835 | * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef | |
6836 | causing some regressions due to a change in the default value | |
6837 | for this macro. | |
6838 | ||
af34e669 DJ |
6839 | 2003-01-29 Richard Henderson <[email protected]> |
6840 | Elena Zannoni <[email protected]> | |
6841 | Daniel Jacobowitz <[email protected]> | |
6842 | ||
6843 | Fix PR gdb/961. | |
6844 | * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New | |
6845 | variables. | |
6846 | (RANGES_SECTION): New. | |
6847 | (dwarf_ranges_buffer): New variable. | |
6848 | (struct comp_unit_head): Add member "die". | |
6849 | (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. | |
6850 | (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. | |
6851 | (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. | |
6852 | (dwarf2_locate_sections): Likewise. | |
6853 | (dwarf2_build_psymtabs): Read .debug_ranges. | |
6854 | (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. | |
6855 | (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. | |
6856 | (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. | |
6857 | Look for DW_AT_ranges and return the bounding box. | |
6858 | ||
baa93fa6 CF |
6859 | 2003-01-29 Brian Ford <[email protected]> |
6860 | ||
6861 | * win32-nat.c (cygwin_pid): Removed as unused. | |
6862 | (child_attach): Try fall back to Cygwin pid. | |
6863 | ||
c63f977f JB |
6864 | 2003-01-29 Jim Blandy <[email protected]> |
6865 | ||
6866 | * objfiles.h (struct objfile): Doc fix. | |
6867 | ||
d62d1979 AC |
6868 | 2003-01-29 Andrew Cagney <[email protected]> |
6869 | ||
6870 | * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. | |
6871 | (legacy_get_prev_frame): Assert FRAME_CHAIN_P. | |
6872 | (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. | |
6873 | (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. | |
6874 | * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. | |
6875 | (FRAME_SAVED_PC): Change to a function with predicate. | |
6876 | * gdbarch.h, gdbarch.c: Re-generate. | |
6877 | ||
1ae18a04 AC |
6878 | 2003-01-28 Andrew Cagney <[email protected]> |
6879 | ||
52287340 AC |
6880 | * hppah-nat.c (child_pid_to_exec_file): Don't use boolean. |
6881 | ||
1ae18a04 AC |
6882 | * complaints.c (complain): Delete function. |
6883 | * complaints.h (struct deprecated_complaint): Delete definition. | |
6884 | (complain): Delete declaration. | |
6885 | ||
f2c16bd6 KB |
6886 | 2003-01-28 Kevin Buettner <[email protected]> |
6887 | ||
6888 | * mips-tdep.c (mips_init_extra_frame_info): Return early for | |
6889 | dummy frames. | |
6890 | ||
a94dd1fd AC |
6891 | 2003-01-27 Andrew Cagney <[email protected]> |
6892 | ||
6893 | * sentinel-frame.h, sentinel-frame.c: New files. | |
6894 | * Makefile.in (frame.o): Update dependencies. | |
6895 | (SFILES): Add sentinel-frame.c. | |
6896 | (sentinel_frame_h): Define. | |
6897 | (COMMON_OBS): Add sentinel-frame.o. | |
6898 | (sentinel-frame.o): Specify dependencies. | |
6899 | * frame.c: Include "sentinel-frame.h". | |
6900 | (frame_register_unwind): Rewrite assuming that there is always a a | |
6901 | ->next frame. | |
6902 | (frame_register, generic_unwind_get_saved_register): Ditto. | |
6903 | (frame_read_unsigned_register, frame_read_signed_register): Ditto. | |
6904 | (create_sentinel_frame, unwind_to_current_frame): New functions. | |
6905 | (get_current_frame): Rewrite using create_sentinel_frame and | |
6906 | unwind_to_current_frame. When possible, always create a frame. | |
6907 | (create_new_frame): Set next to the sentinel frame. | |
6908 | (get_next_frame): Rewrite. Don't go below the level 0 frame. | |
6909 | (deprecated_update_frame_pc_hack): Update the next frame's PC and | |
6910 | ID cache when necessary. | |
6911 | (frame_saved_regs_id_unwind): Use frame_relative_level. | |
6912 | (deprecated_generic_get_saved_register): Use frame_relative_level, | |
6913 | get_frame_saved_regs, get_frame_pc, get_frame_base and | |
6914 | get_next_frame. | |
6915 | (frame_saved_regs_register_unwind): Use get_frame_saved_regs and | |
6916 | frame_register. | |
6917 | ||
5378adc4 DJ |
6918 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
6919 | ||
6920 | * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments. | |
6921 | ||
51ee2ddc DJ |
6922 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
6923 | ||
6924 | * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] | |
6925 | (maintenance_set_profile_cmd): Use error () instead of warning (). | |
6926 | ||
d9feb4e7 DJ |
6927 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
6928 | ||
6929 | * configure.in: Check that -pg works if using --enable-profiling. | |
6930 | Check for monstartup and _mcleanup regardless of --enable-profiling. | |
6931 | * maint.c: Check for monstartup and _mcleanup before using them. | |
6932 | * config.in: Regenerated. | |
6933 | * configure: Regenerated. | |
6934 | ||
2d188dd3 NC |
6935 | 2003-01-24 Nick Clifton <[email protected]> |
6936 | ||
6937 | * Add sh2e support: | |
6938 | ||
6939 | 2002-04-02 Elena Zannoni <[email protected]> | |
6940 | ||
6941 | * gdb/sh-tdep.c (sh_sh2e_register_name): New. | |
6942 | (sh2e_show_regs): New. | |
6943 | (sh_gdbarch_init): Handle bfd_mach_sh2e. | |
6944 | * config/sh/tm-sh.h: Added sh2e to comments. | |
6945 | ||
cb3c37b2 JB |
6946 | 2003-01-23 Jim Blandy <[email protected]> |
6947 | ||
6948 | * symfile.c (syms_from_objfile): Don't print the "(no debugging | |
6949 | symbols found)" message here; we haven't checked for a separate | |
6950 | debug info file yet, so we don't know yet. | |
6951 | (symbol_file_add_with_addrs_or_offsets): Print it here, after | |
6952 | we've looked everywhere. Also, there's no need to print a special | |
6953 | message when we're loading the separate debug info file: the one | |
6954 | symbol_file_add prints is fine. | |
6955 | ||
5b5d99cf JB |
6956 | 2003-01-23 Alexander Larsson <[email protected]> |
6957 | Jim Blandy <[email protected]> | |
6958 | ||
6959 | Add support for executables whose debug info has been separated | |
6960 | out into a separate file, leaving only a link behind. | |
6961 | * objfiles.h (struct objfile): New fields: separate_debug_objfile | |
6962 | and separate_debug_objfile_backlink. | |
6963 | (put_objfile_before): New declaration. | |
6964 | * symfile.c: #include "filenames.h". | |
6965 | (symbol_file_add_with_addrs_or_offsets): If this objfile has its | |
6966 | debug info in a separate file, read that, too. Save the addrs | |
6967 | argument, so we can use it again to read the separated debug info; | |
6968 | syms_from_objfile modifies the table we pass it. | |
6969 | (reread_symbols): After re-reading an objfile, call | |
6970 | reread_separate_symbols to refresh its separate debug info | |
6971 | objfile, if it has one. | |
6972 | (reread_separate_symbols, find_separate_debug_file, | |
6973 | get_debug_link_info, separate_debug_file_exists): New functions. | |
6974 | (debug_file_directory): New global var. | |
6975 | (_initialize_symfile): Initialize debug_file_directory, and | |
6976 | provide the new `set debug-file-directory' command to let the user | |
6977 | change it. | |
6978 | * objfiles.c (free_objfile): If this objfile has its debug info in | |
6979 | a separate objfile, free that one too. If this is itself a | |
6980 | separate debug info objfile, clear our parent's backlink. | |
6981 | (put_objfile_before): New function. | |
6982 | * utils.c (gnu_debuglink_crc32): New function. | |
6983 | * defs.h (gnu_debuglink_crc32): New declaration. | |
6984 | * Makefile.in (symfile.o): Note dependency on "filenames.h". | |
6985 | * configure.in: Handle --with-separate-debug-dir config option. | |
6986 | * acinclude.m4 (AC_DEFINE_DIR): New macro. | |
6987 | * acconfig.h (DEBUGDIR): New macro. | |
6988 | * configure, aclocal.m4, config.in: Regenerated. | |
6989 | ||
7e8580c1 JB |
6990 | 2003-01-22 Jim Blandy <[email protected]> |
6991 | ||
7904e09f JB |
6992 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New function, |
6993 | like the old symbol_file_add, but taking new arguments: you can | |
6994 | now pass in either a `struct section_addr_info' list to say where | |
6995 | each section is loaded, or a `struct section_offsets' table. Pass | |
6996 | these new arguments through to syms_from_objfile as appropriate. | |
6997 | (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, | |
6998 | with the appropriate quiescent values for the new arguments. | |
6999 | ||
7e8580c1 JB |
7000 | * symfile.c: #include "gdb_assert.h". |
7001 | (syms_from_objfile): Add the ability to pass in a section offset | |
7002 | table directly, as an alternative to the section_addr_info table. | |
7003 | Document arguments better. | |
7004 | (symbol_file_add): Pass extra arguments to syms_from_objfile. | |
7005 | * symfile.h (syms_from_objfile): Update declaration. | |
7006 | * rs6000-nat.c (objfile_symbol_add): Pass new arguments to | |
7007 | syms_from_objfile. | |
7008 | * Makefile.in (symfile.o): List dependency on $(gdb_assert_h). | |
7009 | ||
d28f9cdf DJ |
7010 | 2003-01-22 Daniel Jacobowitz <[email protected]> |
7011 | ||
7012 | Original patch by Tom Tromey <[email protected]> and | |
7013 | Jason Molenda <[email protected]>. | |
7014 | * Makefile.in (PROFILE_CFLAGS): Substitute from configure. | |
7015 | (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. | |
7016 | * NEWS: Mention profiling. | |
7017 | * configure.in (--enable-gdbtk): Fix typo. | |
7018 | (--enable-profiling): New. Set PROFILE_CFLAGS. | |
7019 | * maint.c (maintenance_set_profile_cmd): Remove NOTYET. | |
7020 | Fill in function. | |
7021 | (profiling_state): New variable. | |
7022 | (mcleanup_wrapper): New function. | |
7023 | (_initialize_maint): Remove NOTYET, fix call to | |
7024 | add_setshow_boolean_cmd for "maint set profile". | |
7025 | * configure: Regenerated. | |
7026 | ||
df21e465 MH |
7027 | 2003-01-21 Martin M. Hunt <[email protected]> |
7028 | ||
7029 | * Makefile.in (install-gdbtk): Install PNG images too. | |
7030 | ||
73c1f219 AC |
7031 | 2003-01-21 Andrew Cagney <[email protected]> |
7032 | ||
7033 | * exec.c (text_start): Delete global variable. | |
7034 | (exec_file_attach): Make text_start local to the function. | |
7035 | * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. | |
7036 | * valops.c (hand_function_call): Delete code that handles | |
7037 | BEFORE_TEXT_END and AFTER_TEXT_END. | |
7038 | * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead | |
7039 | of CALL_DUMMY_LOCATION. | |
7040 | * gdbarch.c: Regenerate. | |
7041 | * inferior.h (deprecated_pc_in_call_dummy_before_text_end) | |
7042 | (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. | |
7043 | * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) | |
7044 | (deprecated_pc_in_call_dummy_after_text_end): Delete functions. | |
7045 | (text_end): Delete extern declaration. | |
7046 | ||
eb4f72c5 AC |
7047 | 2003-01-21 Andrew Cagney <[email protected]> |
7048 | ||
7049 | * frame.h (FRAME_OBSTACK_ZALLOC): Define. | |
7050 | * blockframe.c (backtrace_below_main): Move to "frame.c". | |
7051 | (frame_chain_valid): Delete check for backtrace_below_main. | |
7052 | (_initialize_blockframe): Delete initialization, move ``set | |
7053 | backtrace-below-main'' command to "frame.c". | |
7054 | (do_flush_frames_sfunc): Delete function. | |
7055 | * frame.c: Include "command.h" and "gdbcmd.h". | |
7056 | (frame_type_from_pc): New function. | |
7057 | (create_new_frame): Use frame_type_from_pc. | |
7058 | (legacy_get_prev_frame): New function. | |
7059 | (get_prev_frame): Rewrite. When an old style frame, call | |
7060 | legacy_get_prev_frame. Otherwize, unwind the PC first. | |
7061 | (_initialize_frame): Add ``set backtrace-below-main'' command. | |
7062 | * Makefile.in (frame.o): Update dependencies. | |
7063 | ||
778ce8cc AC |
7064 | 2003-01-19 Andrew Cagney <[email protected]> |
7065 | ||
7066 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename | |
7067 | DEPRECATED_REGISTERS_INFO. | |
7068 | ||
01c193c8 AC |
7069 | 2003-01-19 Andrew Cagney <[email protected]> |
7070 | ||
7071 | * MAINTAINERS: Replace `Blanket Write Privs' with `Global | |
7072 | Maintainers'. Update `Various Maintainers'. | |
7073 | ||
dedc2a2b AC |
7074 | 2003-01-19 Andrew Cagney <[email protected]> |
7075 | ||
7076 | * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. | |
7077 | * gdbarch.sh (POP_FRAME): Change to function with predicate. | |
7078 | Suppress actual parameters when `-'. | |
7079 | * gdbarch.h, gdbarch.c: Regenerate. | |
7080 | ||
b7261c70 AC |
7081 | 2003-01-19 Andrew Cagney <[email protected]> |
7082 | ||
7083 | * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore | |
7084 | code handling dummy frames. | |
7085 | ||
dbe9fe58 AC |
7086 | 2003-01-19 Andrew Cagney <[email protected]> |
7087 | ||
7088 | * frame-unwind.h (frame_unwind_pop_ftype): Declare. | |
7089 | (struct frame_unwind): Add field pop. | |
7090 | * frame.h (frame_pop): Declare. | |
7091 | * frame.c (frame_saved_regs_pop): New function. | |
7092 | (trad_frame_unwinder): Add frame_saved_regs_pop. | |
7093 | (frame_pop): New function. | |
7094 | * dummy-frame.c (dummy_frame_pop): New function. | |
7095 | (discard_innermost_dummy): New function. | |
7096 | (generic_pop_dummy_frame): Use discard_innermost_dummy. | |
7097 | (dummy_frame_unwind): Add dummy_frame_pop. | |
7098 | * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. | |
7099 | * valops.c (hand_function_call): Ditto. | |
7100 | * stack.c (return_command): Ditto. | |
7101 | ||
570b8f7c AC |
7102 | 2003-01-18 Andrew Cagney <[email protected]> |
7103 | ||
7104 | * cris-tdep.c: Fix function declaration indentation. | |
7105 | * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. | |
7106 | * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. | |
7107 | * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. | |
7108 | * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. | |
7109 | * xcoffread.c, config/pa/tm-hppa.h: Ditto. | |
7110 | * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto. | |
7111 | ||
7112 | 2003-01-18 Michael Chastain <[email protected]> | |
eaec4d85 MC |
7113 | |
7114 | * README (Unpacking and Installation -- quick overview): | |
7115 | Warn against ".../gdb-5.3/gdb/configure". | |
7116 | ||
494cca16 AC |
7117 | 2003-01-18 Andrew Cagney <[email protected]> |
7118 | ||
7119 | * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. | |
7120 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
7121 | (struct frame_unwind): Declare opaque. | |
7122 | (dummy_frame_p): Declare function. | |
7123 | * dummy-frame.c (dummy_frame_id_unwind): Make static. | |
7124 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
7125 | * dummy-frame.c: Include "frame-unwind.h". | |
7126 | (dummy_frame_p): New function. | |
7127 | (dummy_frame_unwind): New variable. | |
7128 | * frame.c: Include "frame-unwind.h". | |
7129 | (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update | |
7130 | to use the new unwind field. | |
7131 | (set_unwind_by_pc): Delete function. | |
7132 | (create_new_frame, get_prev_frame): Set unwind field using | |
7133 | frame_unwind_find_by_pc. | |
7134 | (trad_frame_unwind, trad_frame_unwinder): New variables. | |
7135 | * frame.h (trad_frame_unwind): Declare variable. | |
7136 | (frame_id_unwind_ftype): Delete declaration. | |
7137 | (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. | |
7138 | (struct frame_unwind): Declare opaque. | |
7139 | (struct frame_info): Replace the fields id_unwind, pc_unwind and | |
7140 | register_unwind with a single unwind pointer. | |
7141 | * frame-unwind.h, frame-unwind.c: New files. | |
7142 | * Makefile.in (SFILES): Add frame-unwind.c. | |
7143 | (frame_unwind_h): Define. | |
7144 | (COMMON_OBS): Add frame-unwind.o. | |
7145 | (frame-unwind.o): Specify dependencies. | |
7146 | (frame.o, dummy-frame.o): Update dependencies. | |
7147 | ||
4efb68b1 AC |
7148 | 2003-01-18 Andrew Cagney <[email protected]> |
7149 | ||
7150 | * ada-valprint.c: Eliminate PTR. | |
7151 | * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. | |
7152 | * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. | |
7153 | * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. | |
7154 | * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. | |
7155 | * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. | |
7156 | * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. | |
7157 | * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. | |
7158 | ||
a84d24ee AC |
7159 | 2003-01-17 Andrew Cagney <[email protected]> |
7160 | ||
762f08a3 AC |
7161 | * main.c (captured_main): Don't use PTR. |
7162 | * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. | |
7163 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
7164 | (lookup_struct_elt_type): Ditto. | |
7165 | * f-valprint.c (info_common_command): Ditto. | |
7166 | (list_all_visible_commons): Ditto. | |
7167 | * jv-typeprint.c (java_type_print_base): Ditto. | |
7168 | ||
a84d24ee AC |
7169 | * config/djgpp/fnchange.lst: Rename mi1-var-block.exp, |
7170 | mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. | |
7171 | Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename | |
7172 | i386-interix-nat.c and i386-interix-tdep.c. Rename | |
7173 | m68klinux-nat.c and m68klinux-tdep.c. Rename | |
7174 | config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename | |
7175 | bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename | |
7176 | gdb/objc-exp.tab.c and gdb/ada-exp.tab.c | |
7177 | * main.c (captured_main): Use xfree, not free. | |
7178 | ||
c170fb60 AC |
7179 | 2003-01-16 Andrew Cagney <[email protected]> |
7180 | ||
7181 | * frame.h (frame_id_unwind_ftype): Change type so that the frame's | |
7182 | ID back using a parameter. | |
7183 | * frame.c (frame_id_unwind): Update call. | |
7184 | (frame_saved_regs_id_unwind): Update. | |
7185 | * dummy-frame.c (dummy_frame_id_unwind): Update function. | |
7186 | * dummy-frame.h (struct frame_id): Add opaque declaration. | |
7187 | (dummy_frame_id_unwind): Update declaration. | |
7188 | ||
867f3898 AC |
7189 | 2003-01-15 Andrew Cagney <[email protected]> |
7190 | ||
7191 | * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. | |
7192 | ||
40622be8 | 7193 | 2003-01-15 Stephen P. Smith <[email protected]> |
de3a8c23 | 7194 | |
40622be8 | 7195 | * MAINTAINERS (Stephen P. Smith): Updated email address. |
de3a8c23 | 7196 | |
ae66c1fc EZ |
7197 | 2003-01-14 Elena Zannoni <[email protected]> |
7198 | ||
997b089a | 7199 | Fix PR gdb/898 |
ae66c1fc EZ |
7200 | * breakpoint.c (until_break_command): Add new argument. Use it to |
7201 | decide whether to stop only at the current frame or not. | |
7202 | * breakpoint.h (until_break_command): Update prototype. | |
7203 | * infcmd.c (until_command): Add new argument to until_break_command | |
7204 | call. | |
7205 | (advance_command): New function. | |
7206 | (_initialize_infcmd): Update help string for 'until' command. | |
7207 | Add new 'advance' command. | |
7208 | ||
a04257e6 DC |
7209 | 2003-01-14 David Carlton <[email protected]> |
7210 | ||
7211 | * linespec.c (decode_line_1): Normalize comments. | |
7212 | (set_flags): Ditto. | |
7213 | (locate_first_half): Ditto. | |
7214 | (decode_compound): Ditto. | |
7215 | (symtab_from_filename): Ditto. | |
7216 | (decode_all_digits): Ditto. | |
7217 | (decode_dollar): Ditto. | |
7218 | (find_methods): Ditto. | |
7219 | (find_toplevel_char): Ditto. | |
7220 | ||
1bac305b AC |
7221 | 2003-01-13 Andrew Cagney <[email protected]> |
7222 | ||
7223 | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. | |
7224 | * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. | |
7225 | * elfread.c, eval.c, expprint.c, expression.h: Update copyright. | |
7226 | * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. | |
7227 | * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. | |
7228 | * language.c, language.h, m32r-tdep.c: Update copyright. | |
7229 | * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. | |
7230 | * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. | |
7231 | * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. | |
7232 | * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. | |
7233 | * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. | |
7234 | * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. | |
7235 | ||
25caa7a8 EZ |
7236 | 2003-01-13 Elena Zannoni <[email protected]> |
7237 | ||
7238 | * stabsread.h (process_later, resolve_cfront_continuation): | |
7239 | Obsolete. | |
7240 | Update copyright years. | |
7241 | * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. | |
7242 | Update copyright year. | |
7243 | * dbxread.c(struct cont_elem): Obsolete. | |
7244 | (process_later, process_now): Obsolete functions. | |
7245 | (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. | |
7246 | Update copyright year. | |
7247 | * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. | |
7248 | (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions. | |
7249 | * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront. | |
7250 | (parse_partial_symbols): Obsolete cfront support. | |
7251 | * stabsread.c | |
7252 | (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete | |
7253 | macros. | |
7254 | (get_substring, get_cfront_method_physname, msg_unknown_complaint, | |
7255 | read_cfront_baseclasses, read_cfront_member_functions, | |
7256 | resolve_cfront_continuation,read_cfront_static_fields, | |
7257 | copy_cfront_struct_fields): Obsolete functions. | |
7258 | (define_symbol, read_one_struct_field): Obsolete cfront support. | |
7259 | * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support. | |
7260 | Update Copyright year. | |
7261 | ||
7789c6f5 EZ |
7262 | 2003-01-13 Elena Zannoni <[email protected]> |
7263 | ||
7264 | * stack.c (print_frame_info, print_stack_frame_base_stub, | |
7265 | print_stack_frame_base, show_and_print_stack_frame_stub, | |
7266 | show_and_print_stack_frame, print_only_stack_frame_stub, | |
7267 | print_only_stack_frame): Delete functions. | |
7268 | (print_stack_frame_stub): Call print_frame_info instead of | |
7269 | print_frame_info_base. | |
7270 | (print_frame_info_base): Rename to print_frame_info. | |
7271 | (backtrace_command_1): Call print_frame_info, instead of | |
7272 | print_frame_info_base. | |
7273 | (current_frame_command): Call print_stack_frame, instead of | |
7274 | print_only_stack_frame. | |
7275 | (frame_command): Call print_stack_frame, instead of | |
7276 | show_and_print_stack_frame. | |
7277 | (up_command): Ditto. | |
7278 | (down_command): Ditto. | |
7279 | * frame.h (print_only_stack_frame): Delete prototype. | |
7280 | * infrun.c (normal_stop): Call print_stack_frame, instead of | |
7281 | show_and_print_stack_frame. | |
7282 | * thread.c (info_threads_command): Call print_stack_frame, instead | |
7283 | of print_only_stack_frame. | |
7284 | ||
3f5a3016 AC |
7285 | 2003-01-13 Andrew Cagney <[email protected]> |
7286 | ||
d99ba314 AC |
7287 | * README (Graphical interface to GDB): Update URL. Point at |
7288 | gdb/links/. | |
7289 | ||
3f5a3016 AC |
7290 | * gdb_indent.sh: Update to version 2.2.9. Warn when not exact |
7291 | version match. | |
7292 | ||
083ae935 DJ |
7293 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
7294 | ||
7295 | * symtab.c (find_pc_sect_line): Don't consider end-of-function | |
7296 | lines. | |
7297 | ||
5365276c DJ |
7298 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
7299 | ||
7300 | * thread-db.c (attach_thread): Prototype. | |
7301 | (struct private_thread_info): Remove lwpid. Add thread handle (th), | |
7302 | thread information (ti), and valid flags (th_valid, ti_valid). | |
7303 | (attach_thread): Move target_pid_to_str call to after the thread | |
7304 | is added to GDB's list. Initialize the cache. | |
7305 | (thread_get_info_callback, thread_db_map_id2thr) | |
7306 | (thread_db_get_info): New functions. | |
7307 | (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers) | |
7308 | (thread_db_store_registers, thread_db_thread_alive) | |
7309 | (thread_db_get_thread_local_address): Use them. | |
7310 | (thread_db_pid_to_str): Likewise. Return "Missing" instead | |
7311 | of calling error() for threads in unknown state. | |
7312 | ||
7313 | (clear_lwpid_callback): New function. | |
7314 | (thread_db_resume): Use it to clear the cache. | |
7315 | ||
9fc30b6b DJ |
7316 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
7317 | ||
7318 | * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove. | |
7319 | (resume_callback): Remove dead code. | |
7320 | ||
8f871025 AC |
7321 | 2003-01-13 Andrew Cagney <[email protected]> |
7322 | ||
7323 | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with | |
7324 | predicate. | |
7325 | * gdbarch.h, gdbarch.c: Regenerate. | |
7326 | * stack.c (frame_info): Only initialize the saved registers when | |
7327 | FRAME_INIT_SAVED_REGS_P. | |
7328 | * frame.c (frame_saved_regs_register_unwind): Assert | |
7329 | FRAME_INIT_SAVED_REGS_P. | |
7330 | (deprecated_generic_get_saved_register): Ditto. | |
7331 | ||
3f565f1e DJ |
7332 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
7333 | ||
7334 | * source.c (openp): Squelch warning about "filename". | |
7335 | ||
072b1022 DJ |
7336 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
7337 | ||
7338 | * source.c (openp): If the file does not exist don't necessarily | |
7339 | search the path. | |
7340 | ||
973ccf8b DJ |
7341 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
7342 | ||
7343 | Fix PR gdb/872. | |
7344 | * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
7345 | (integer_types_same_name_p): New function. | |
7346 | (rank_one_type): Use it. | |
7347 | * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
7348 | ||
030292b7 DJ |
7349 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
7350 | ||
7351 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New | |
7352 | variables. | |
7353 | (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). | |
7354 | * configure.in: Add --with-sysroot. | |
7355 | * configure: Regenerated. | |
7356 | * main.c (gdb_sysroot): New variable. | |
7357 | (captured_main): Initialize gdb_sysroot. | |
7358 | * defs.h (gdb_sysroot): New extern declaration. | |
7359 | * solib.c (_initialize_solib): Initialize solib_absolute_prefix. | |
7360 | ||
afb5d334 MC |
7361 | 2003-01-12 Michael Chastain <[email protected]> |
7362 | ||
7363 | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002. | |
7364 | ||
751ceeb4 MC |
7365 | 2003-01-12 Michael Chastain <[email protected]> |
7366 | ||
7367 | * top.c (print_gdb_version): Bump copyright year to 2003. | |
7368 | ||
94cd26f8 DC |
7369 | 2003-01-12 David Carlton <[email protected]> |
7370 | ||
7371 | * linespec.c (symtab_from_filename): Rename variable 's' to | |
7372 | 'file_symtab'. | |
7373 | ||
1ce79225 AC |
7374 | 2003-01-12 Andrew Cagney <[email protected]> |
7375 | ||
7376 | * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a | |
7377 | dummy frame. | |
7378 | (d10v_frame_saved_pc, d10v_frame_chain): Ditto. | |
7379 | ||
fa1fd571 AC |
7380 | 2003-01-12 Andrew Cagney <[email protected]> |
7381 | ||
7382 | * d10v-tdep.c: Include "gdb_assert.h". | |
7383 | (d10v_store_return_value): Rewrite to match current interface. | |
7384 | (d10v_extract_struct_value_address): Ditto. | |
7385 | (d10v_extract_return_value): Ditto. | |
7386 | (d10v_gdbarch_init): Set store_restore_value, | |
7387 | extract_struct_value_address and extract_return_value. | |
7388 | ||
68b8d23e JB |
7389 | 2003-01-12 J. Brobecker <[email protected]> |
7390 | ||
7391 | * hpread.c (set_namestring): New procedure replacing the | |
7392 | SET_NAMESTRING macro. | |
7393 | (hpread_build_psymtabs): Replace calls to SET_NAMESTRING | |
7394 | by calls to set_namestring. | |
7395 | ||
7396 | 2003-01-11 J. Brobecker <[email protected]> | |
1fb309ea JB |
7397 | |
7398 | * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix | |
7399 | a compilation warning. | |
7400 | (hpread_process_one_debug_symbol): Likewise. | |
7401 | ||
88d262ca DC |
7402 | 2003-01-10 David Carlton <[email protected]> |
7403 | ||
7404 | * linespec.c (decode_line_1): Rename variable 's' to | |
7405 | 'file_symtab'. | |
7406 | (decode_all_digits): Rename argument 's' to 'file_symtab'. | |
7407 | (decode_dollar): Ditto. | |
7408 | (decode_variable): Ditto. | |
7409 | (symbol_found): Ditto. | |
7410 | ||
86669319 MC |
7411 | 2003-01-09 Michael Chastain <[email protected]> |
7412 | ||
7413 | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++. | |
7414 | ||
616a9dc4 CV |
7415 | 2003-01-07 Corinna Vinschen <[email protected]> |
7416 | ||
7417 | * win32-nat.c (set_process_privilege): New function. | |
7418 | (child_attach): Call set_process_privilege() to enable the | |
7419 | SE_DEBUG_NAME user privilege if available in process token. | |
7420 | ||
3269bcfa JB |
7421 | 2003-01-10 J. Brobecker <[email protected]> |
7422 | ||
7423 | * hpread.c (hpread_process_one_debug_symbol): Fix a small | |
7424 | compilation error in the previous revision. | |
7425 | ||
2b0ee454 DC |
7426 | 2003-01-09 David Carlton <[email protected]> |
7427 | ||
7428 | * linespec.c: Update copyright. | |
7429 | ||
b3ba1b44 DJ |
7430 | 2003-01-09 Daniel Jacobowitz <[email protected]> |
7431 | ||
7432 | * lin-lwp.c (child_wait): Ignore exit statuses for processes other | |
7433 | than inferior_ptid. | |
7434 | (lin_lwp_wait): Ignore exit statuses for unknown LWPs. | |
7435 | ||
4ef3f3be AC |
7436 | 2003-01-09 Andrew Cagney <[email protected]> |
7437 | ||
479ab5a0 AC |
7438 | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. |
7439 | Update comments. | |
7440 | * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. | |
7441 | (frame_saved_regs_zalloc): Update. | |
7442 | (frame_saved_regs_register_unwind): Update. | |
7443 | (create_new_frame): Update. | |
7444 | (get_prev_frame): Update. | |
7445 | (frame_extra_info_zalloc): Update. | |
7446 | (deprecated_get_frame_saved_regs): Update. | |
7447 | * dwarf2cfi.c (cfi_init_extra_frame_info): Update. | |
7448 | * cris-tdep.c: Update comment. | |
7449 | ||
bde58177 AC |
7450 | * somsolib.h: Fix function indentation. |
7451 | * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. | |
7452 | * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. | |
7453 | * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. | |
7454 | * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. | |
7455 | * somsolib.c, inftarg.c: Remove assignment in if conditional. | |
7456 | ||
4ef3f3be AC |
7457 | * infrun.c (follow_fork): Use ISO C definition. |
7458 | * expprint.c (print_subexp): Use xfree instead of free. | |
7459 | * charset.c: Include "gdb_string.h" instead of <string.h>. | |
7460 | (register_iconv_charsets): Use ISO C definition. | |
7461 | (host_charset, target_charset): Ditto. | |
7462 | * Makefile.in (charset.o): Update dependencies. | |
7463 | (mi-cmd-env.o): Update dependencies. | |
7464 | ||
1c615f7a AC |
7465 | 2003-01-08 Andrew Cagney <[email protected]> |
7466 | ||
7467 | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use | |
7468 | get_frame_base. | |
7469 | ||
c9a1dc08 AC |
7470 | 2003-01-08 Andrew Cagney <[email protected]> |
7471 | ||
7472 | * gdb_mbuild.sh: Add --keep option. When specified, keep the | |
7473 | build directories. Save edited gdb output in Mbuild.log. If a | |
7474 | build fails, remove any final GDB executable. | |
7475 | ||
dbad9d94 AC |
7476 | 2003-01-08 Andrew Cagney <[email protected]> |
7477 | ||
7478 | * gdb_mbuild.sh: Edit the output of `maint print architecture' | |
7479 | replacing hex constants with function names and stripping leading | |
7480 | file name directory prefixes. | |
7481 | ||
8d357cca AC |
7482 | 2003-01-08 Andrew Cagney <[email protected]> |
7483 | ||
7484 | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and | |
7485 | get_frame_base. | |
7486 | ||
bca02a8a DC |
7487 | 2003-01-08 David Carlton <[email protected]> |
7488 | ||
7489 | * linespec.c (decode_line_1): Move code into decode_variable. | |
7490 | (decode_variable): New function. | |
7491 | ||
7f8ab3a0 AC |
7492 | 2003-01-08 Andrew Cagney <[email protected]> |
7493 | ||
7494 | * mn10300-tdep.c (analyze_dummy_frame): Fix typo. | |
7495 | ||
7b5849cc AC |
7496 | 2003-01-08 Andrew Cagney <[email protected]> |
7497 | ||
7498 | * cris-tdep.c (cris_frame_init_saved_regs): Use | |
7499 | get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a | |
7500 | saved_regs buffer. | |
7501 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
7502 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
7503 | (sh_fp_frame_init_saved_regs): Ditto. | |
7504 | * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. | |
7505 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
7506 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
7507 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
7508 | ||
72a5efb3 DJ |
7509 | 2003-01-08 Daniel Jacobowitz <[email protected]> |
7510 | ||
7511 | * minsyms.c (lookup_minimal_symbol): Update comment. | |
7512 | (lookup_minimal_symbol_text): Update comment. Use the hash table. | |
7513 | (lookup_minimal_symbol_solib_trampoline): Likewise. | |
7514 | ||
11c02a10 AC |
7515 | 2003-01-08 Andrew Cagney <[email protected]> |
7516 | ||
aab3ea25 AC |
7517 | * d10v-tdep.c (d10v_init_extra_frame_info): Use |
7518 | frame_relative_level. | |
7519 | ||
da50a4b7 AC |
7520 | * alpha-tdep.c: Use get_frame_extra_info. |
7521 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
7522 | * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. | |
7523 | * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
7524 | * sparc-tdep.c, xstormy16-tdep.c: Ditto. | |
7525 | ||
11c02a10 AC |
7526 | * alpha-tdep.c: Use get_next_frame. |
7527 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
7528 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
7529 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. | |
7530 | * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. | |
7531 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. | |
7532 | * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. | |
7533 | * xstormy16-tdep.c: Ditto. | |
7534 | ||
1e2330ba AC |
7535 | 2003-01-07 Andrew Cagney <[email protected]> |
7536 | ||
7537 | * alpha-tdep.c: Use get_frame_base. | |
7538 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
7539 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
7540 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
7541 | * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
7542 | * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. | |
7543 | * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
7544 | * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. | |
7545 | * config/sparc/tm-sparc.h: Ditto. | |
7546 | ||
2d75187b AC |
7547 | 2003-01-07 Andrew Cagney <[email protected]> |
7548 | ||
7549 | * frame.c (deprecated_get_frame_context): New function. | |
7550 | (deprecated_set_frame_context): New function. | |
7551 | * frame.h (deprecated_get_frame_context): Declare. | |
7552 | (deprecated_set_frame_context): Declare. | |
7553 | * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. | |
7554 | (cfi_init_extra_frame_info): Use deprecated_set_frame_context. | |
7555 | ||
483d36b2 AC |
7556 | 2003-01-07 Andrew Cagney <[email protected]> |
7557 | ||
7558 | * frame.c (deprecated_set_frame_next_hack): New function. | |
7559 | (deprecated_set_frame_prev_hack): New function. | |
7560 | * frame.h (deprecated_set_frame_next_hack): Declare. | |
7561 | (deprecated_set_frame_prev_hack): Declare. | |
7562 | * mcore-tdep.c (analyze_dummy_frame): Use | |
7563 | deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. | |
7564 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
7565 | ||
14e91ac5 DC |
7566 | 2003-01-07 David Carlton <[email protected]> |
7567 | ||
7568 | * linespec.c (decode_line_1): Move code into decode_dollar. | |
7569 | (decode_dollar): New function. | |
7570 | ||
b0c6b05c AC |
7571 | 2003-01-07 Andrew Cagney <[email protected]> |
7572 | ||
7573 | * arm-tdep.c (arm_init_extra_frame_info): Use | |
7574 | deprecated_update_frame_base_hack. | |
7575 | * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. | |
7576 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
7577 | (fix_frame_pointer): Ditto. | |
7578 | (mn10300_analyze_prologue): Ditto. | |
7579 | ||
a00a19e9 AC |
7580 | 2003-01-07 Andrew Cagney <[email protected]> |
7581 | ||
7582 | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate | |
7583 | extra_info using frame_extra_info_zalloc. | |
7584 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
7585 | * sh-tdep.c (sh_init_extra_frame_info): Ditto. | |
7586 | (sh64_init_extra_frame_info): Ditto. | |
7587 | * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. | |
7588 | * s390-tdep.c (s390_init_extra_frame_info): Ditto. | |
7589 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
7590 | * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. | |
7591 | * frv-tdep.c (frv_init_extra_frame_info): Ditto. | |
7592 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. | |
7593 | * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. | |
7594 | * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. | |
7595 | * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. | |
7596 | * cris-tdep.c (cris_init_extra_frame_info): Ditto. | |
7597 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
7598 | * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. | |
7599 | ||
7600 | * mn10300-tdep.c (analyze_dummy_frame): Use | |
7601 | deprecated_set_frame_extra_info_hack. | |
7602 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
7603 | ||
1fb4c65b JB |
7604 | 2003-01-07 J. Brobecker <[email protected]> |
7605 | ||
7606 | * mdebugread.c (parse_symbol): Skip stProc entries which storage | |
7607 | class is not scText. These do not define "real" procedures. | |
7608 | (parse_partial_symbols): Likewise. | |
7609 | ||
9fe7d6bf MS |
7610 | 2003-01-06 Michael Snyder <[email protected]> |
7611 | ||
7612 | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. | |
7613 | ||
f6c609c4 AC |
7614 | 2003-01-06 Andrew Cagney <[email protected]> |
7615 | ||
7616 | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. | |
7617 | * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. | |
7618 | * arm-tdep.c (arm_frame_chain): Allocate caller_fi using | |
7619 | deprecated_frame_xmalloc_with_cleanup. | |
7620 | * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using | |
7621 | deprecated_frame_xmalloc. | |
7622 | * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. | |
7623 | * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame. | |
7624 | ||
d995ff4b AC |
7625 | 2003-01-06 Andrew Cagney <[email protected]> |
7626 | ||
84dc46cb AC |
7627 | * x86-64-linux-tdep.c: Include "osabi.h". |
7628 | * Makefile.in (x86-64-linux-tdep.o): Update dependencies. | |
7629 | ||
d995ff4b AC |
7630 | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach. |
7631 | ||
66140c26 AC |
7632 | 2003-01-06 Andrew Cagney <[email protected]> |
7633 | ||
7634 | * MAINTAINERS (Target Instruction Set Architectures): Update | |
7635 | arm-elf. Can be built with -Werror, has been multiarched. | |
7636 | ||
7637 | * value.h (unpack_long): Make buffer parameter constant. | |
7638 | (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. | |
7639 | * scm-lang.h (scm_parse): Ditto. | |
7640 | * defs.h (extract_typed_address, extract_address): Ditto. | |
7641 | (extract_long_unsigned_integer): Ditto. | |
7642 | * inferior.h (unsigned_pointer_to_address): Ditto. | |
7643 | (signed_pointer_to_address): Ditto. | |
7644 | * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. | |
7645 | * gdbarch.h, gdbarch.c: Regenerate. | |
7646 | * findvar.c (extract_long_unsigned_integer): Update. | |
7647 | (extract_address): Update. | |
7648 | (extract_typed_address): Update. | |
7649 | (unsigned_pointer_to_address): Update. | |
7650 | * values.c (unpack_long): Update. | |
7651 | (unpack_double): Update. | |
7652 | (unpack_pointer): Update. | |
7653 | (unpack_field_as_long): Update. | |
7654 | * d10v-tdep.c (d10v_pointer_to_address): Update. | |
7655 | * avr-tdep.c (avr_pointer_to_address): Update. | |
7656 | * scm-lang.c (scm_unpack): Update. | |
7657 | * findvar.c (signed_pointer_to_address): Update. | |
7658 | ||
b089b3da ML |
7659 | 2003-01-06 Michal Ludvig <[email protected]> |
7660 | ||
7661 | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore | |
7662 | since it is in i386-tdep.c. | |
7663 | ||
aff87235 JB |
7664 | 2003-01-06 J. Brobecker <[email protected]> |
7665 | ||
7666 | * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation | |
7667 | failure introduced in the previous change. | |
7668 | ||
34f5e845 MC |
7669 | 2003-01-05 Michael Chastain <[email protected]> |
7670 | ||
7671 | * README: Remove references to deleted remote-*.c files: | |
7672 | remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, | |
7673 | remote-nrom.c, remote-os9k.c, remote-udi.c. | |
7674 | ||
28bcfd30 MK |
7675 | 2003-01-05 Mark Kettenis <[email protected]> |
7676 | ||
7677 | * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64. | |
7678 | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about | |
7679 | i386_get_longjmp_target. | |
7680 | ||
15a5b3ee AC |
7681 | 2003-01-05 Andrew Cagney <[email protected]> |
7682 | ||
7683 | * arm-tdep.c (prologue_cache): Change to a pointer. | |
7684 | (_initialize_arm_tdep): Allocate prologue_cache. | |
7685 | (check_prologue_cache): Update. | |
7686 | (save_prologue_cache): Update. | |
7687 | (arm_gdbarch_init): Update. | |
7688 | ||
c263362b DJ |
7689 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
7690 | ||
7691 | * stabsread.c (update_method_name_from_physname): Call complaint() | |
7692 | instead of error. | |
7693 | ||
51603483 DJ |
7694 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
7695 | ||
7696 | * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. | |
7697 | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. | |
7698 | * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. | |
7699 | ||
7700 | * blockframe.c: Include "gdbcmd.h" and "command.h". | |
7701 | (backtrace_below_main): New variable. | |
7702 | (file_frame_chain_valid, func_frame_chain_valid) | |
7703 | (nonnull_frame_chain_valid, generic_file_frame_chain_valid) | |
7704 | (generic_func_frame_chain_valid): Remove functions. | |
7705 | (frame_chain_valid, do_flush_frames_sfunc): New functions. | |
7706 | (_initialize_blockframe): New function. | |
7707 | * Makefile.in (blockframe.o): Update dependencies. | |
7708 | * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME | |
7709 | comment. Call frame_chain_valid (). | |
7710 | * frame.h: Remove old prototypes. Add prototype for | |
7711 | frame_chain_valid and update comments to match. | |
7712 | * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. | |
7713 | Remove old comment. | |
7714 | * gdbarch.h: Regenerated. | |
7715 | * gdbarch.c: Regenerated. | |
7716 | ||
7717 | * alpha-tdep.c (alpha_gdbarch_init): Don't call | |
7718 | set_gdbarch_frame_chain_valid. | |
7719 | * avr-tdep.c (avr_gdbarch_init): Likewise. | |
7720 | * cris-tdep.c (cris_gdbarch_init): Likewise. | |
7721 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
7722 | * h8300-tdep.c (h8300_gdbarch_init): Likewise. | |
7723 | * i386-tdep.c (i386_svr4_init_abi): Likewise. | |
7724 | (i386_nw_init_abi): Likewise. | |
7725 | (i386_gdbarch_init): Likewise. | |
7726 | * ia64-tdep.c (ia64_gdbarch_init): Likewise. | |
7727 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
7728 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
7729 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
7730 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
7731 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
7732 | * ns32k-tdep.c (ns32k_gdbarch_init): Likewise. | |
7733 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise. | |
7734 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
7735 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
7736 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
7737 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
7738 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
7739 | * vax-tdep.c (vax_gdbarch_init): Likewise. | |
7740 | * x86-64-tdep.c (x86_64_init_abi): Likewise. | |
7741 | ||
7742 | * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define. | |
7743 | * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise. | |
7744 | * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise. | |
7745 | * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise. | |
7746 | * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise. | |
7747 | * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise. | |
7748 | * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise. | |
7749 | * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise. | |
7750 | ||
b00a8037 DJ |
7751 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
7752 | ||
7753 | * Makefile.in (acconfig_h): Remove incorrect macro. | |
7754 | (config_h): Define. | |
7755 | (osabi.o): Update dependencies. | |
7756 | * configure.tgt: Set gdb_osabi based on target triplet. | |
7757 | * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. | |
7758 | * configure: Regenerated. | |
7759 | * config.in: Regenerated. | |
7760 | * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". | |
7761 | (GDB_OSABI_DEFAULT): Define if not already defined. | |
7762 | (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) | |
7763 | (set_osabi_string): New variables. | |
7764 | (gdbarch_register_osabi): Add new OS ABI to | |
7765 | gdb_osabi_available_names. | |
7766 | (gdbarch_lookup_osabi): Honor specified and default OS ABIs. | |
7767 | (set_osabi, show_osabi): New functions. | |
7768 | (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands. | |
7769 | ||
4be87837 DJ |
7770 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
7771 | ||
7772 | * arch-utils.c (gdbarch_info_init): Set osabi to | |
7773 | GDB_OSABI_UNINITIALIZED. | |
7774 | * gdbarch.sh: Add osabi to struct gdbarch and to struct | |
7775 | gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi | |
7776 | in gdbarch_list_lookup_by_info and in gdbarch_update_p. | |
7777 | * gdbarch.c: Regenerated. | |
7778 | * gdbarch.h: Regenerated. | |
7779 | * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if | |
7780 | there's no BFD. | |
7781 | (gdbarch_init_osabi): Remove osabi argument; use info.osabi. | |
7782 | * osabi.h (enum gdb_osabi): Move to defs.h. | |
7783 | (gdbarch_init_osabi): Update prototype. | |
7784 | * defs.h (enum gdb_osabi): Moved here. | |
7785 | * Makefile.in: Update dependencies. | |
7786 | ||
7787 | * alpha-tdep.h: Don't include "osabi.h". | |
7788 | (struct gdbarch_tdep): Remove osabi member. | |
7789 | * alpha-tdep.c: Include "osabi.h". | |
7790 | (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
7791 | iterate over arches. Update call to gdbarch_init_osabi. | |
7792 | (alpha_dump_tdep): Don't dump osabi. | |
7793 | * alpha-linux-tdep.c: Include "osabi.h". | |
7794 | * alpha-osf1-tdep.c: Include "osabi.h". | |
7795 | * alphafbsd-tdep.c: Include "osabi.h". | |
7796 | * alphanbsd-tdep.c: Include "osabi.h". | |
7797 | ||
7798 | * arm-tdep.h: Don't include "osabi.h". | |
7799 | (struct gdbarch_tdep): Remove osabi member. | |
7800 | * arm-tdep.c: Include "osabi.h". | |
7801 | (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
7802 | iterate over arches. Update call to gdbarch_init_osabi. | |
7803 | (arm_dump_tdep): Don't dump osabi. | |
7804 | * arm-linux-tdep.c: Include "osabi.h". | |
7805 | * armnbsd-tdep.c: Include "osabi.h". | |
7806 | ||
7807 | * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi. | |
7808 | Update call to gdbarch_init_osabi. | |
7809 | ||
7810 | * i386-tdep.h: Don't include "osabi.h". | |
7811 | (struct gdbarch_tdep): Remove osabi member. | |
7812 | * i386-tdep.c: Include "osabi.h". | |
7813 | (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
7814 | iterate over arches. Update call to gdbarch_init_osabi. | |
7815 | (i386_dump_tdep): Don't dump osabi. | |
7816 | * i386-linux-tdep.c: Include "osabi.h". | |
7817 | * i386-sol2-tdep.c: Include "osabi.h". | |
7818 | * i386bsd-tdep.c: Include "osabi.h". | |
7819 | * i386gnu-tdep.c: Include "osabi.h". | |
7820 | * i386ly-tdep.c: Include "osabi.h". | |
7821 | * i386nbsd-tdep.c: Include "osabi.h". | |
7822 | * i386obsd-tdep.c: Include "osabi.h". | |
7823 | ||
7824 | * mips-tdep.c (struct gdbarch_tdep): Remove osabi member. | |
7825 | (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
7826 | check osabi when iterating over arches. Update call to | |
7827 | gdbarch_init_osabi. | |
7828 | (mips_dump_tdep): Don't dump osabi. | |
7829 | ||
7830 | * ns32k-tdep.h: Don't include "osabi.h". | |
7831 | (struct gdbarch_tdep): Remove. | |
7832 | * ns32k-tdep.c (ns32k_gdbarch_init): Don't call | |
7833 | gdbarch_lookup_osabi. Don't iterate over arches. Don't | |
7834 | allocate tdep. Update call to gdbarch_init_osabi. | |
7835 | (ns32k_dump_tdep): Remove. | |
7836 | (_initialize_ns32k_tdep): Update call to gdbarch_register. | |
7837 | * ns32knbsd-tdep.c: Include "osabi.h". | |
7838 | ||
7839 | * ppc-tdep.h: Don't include "osabi.h". | |
7840 | (struct gdbarch_tdep): Remove osabi member. | |
7841 | * rs6000-tdep.c: Include "osabi.h". | |
7842 | (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check | |
7843 | osabi when iterating over arches. Update call to | |
7844 | gdbarch_init_osabi. | |
7845 | (rs6000_dump_tdep): Don't dump osabi. | |
7846 | * ppc-linux-tdep.c: Include "osabi.h". | |
7847 | * ppcnbsd-tdep.c: Include "osabi.h". | |
7848 | ||
7849 | * sh-tdep.h: Don't include "osabi.h". | |
7850 | (struct gdbarch_tdep): Remove osabi member. | |
7851 | * sh-tdep.c: Include "osabi.h". | |
7852 | (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
7853 | iterate over arches. Update call to gdbarch_init_osabi. | |
7854 | (sh_dump_tdep): Don't dump osabi. | |
7855 | * shnbsd-tdep.c: Include "osabi.h". | |
7856 | ||
7857 | * sparc-tdep.c: Include "osabi.h". | |
7858 | (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
7859 | iterate over arches. Update call to gdbarch_init_osabi. | |
7860 | (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the | |
7861 | tdep structure. | |
7862 | ||
7863 | * vax-tdep.h: Don't include "osabi.h". | |
7864 | (struct gdbarch_tdep): Remove. | |
7865 | * vax-tdep.c: Include "osabi.h". | |
7866 | (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
7867 | iterate over arches. Don't allocate tdep. Update call | |
7868 | to gdbarch_init_osabi. | |
7869 | (vax_dump_tdep): Remove. | |
7870 | (_initialize_vax_tdep): Update call to gdbarch_register. | |
7871 | ||
a881cf8e DJ |
7872 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
7873 | ||
7874 | * breakpoint.c (insert_breakpoints): Skip disabled breakpoints | |
7875 | entirely. | |
7876 | (breakpoint_re_set_one): Don't fetch the value for a disabled | |
7877 | watchpoint. | |
7878 | ||
1e698235 DJ |
7879 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
7880 | ||
7881 | * buildsym.h (processing_hp_compilation): Remove obsolete variable. | |
7882 | * gdbarch.sh Remove include of "value.h" in gdbarch.h. | |
7883 | (COERCE_FLOAT_TO_DOUBLE): Remove. | |
7884 | * gdbarch.c: Regenerate. | |
7885 | * gdbarch.h: Regenerate. | |
7886 | * Makefile.in: Remove value_h from gdbarch_h. | |
7887 | * valops.c (coerce_float_to_double): New variable. | |
7888 | (default_coerce_float_to_double): Remove. | |
7889 | (standard_coerce_float_to_double): Remove. | |
7890 | (value_arg_coerce): Use coerce_float_to_double. | |
7891 | (_initialize_valops): Add "set coerce-float-to-double". | |
7892 | * value.h (default_coerce_float_to_double): Remove prototype. | |
7893 | (standard_coerce_float_to_double): Remove prototype. | |
7894 | ||
7895 | * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as | |
7896 | prototyped. | |
7897 | * mdebugread.c (parse_symbol): Likewise. | |
7898 | * stabsread.c (define_symbol): Mark all functions as prototyped. | |
7899 | ||
7900 | * hppa-tdep.c (hppa_coerce_float_to_double): Remove. | |
7901 | * alpha-tdep.c (alpha_gdbarch_init): Remove call to | |
7902 | set_gdbarch_coerce_float_to_double. | |
7903 | * arm-tdep.c (arm_gdbarch_init): Likewise. | |
7904 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
7905 | * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). | |
7906 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
7907 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
7908 | (mips_coerce_float_to_double): Remove. | |
7909 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
7910 | (rs6000_coerce_float_to_double): Remove. | |
7911 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
7912 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
7913 | (sh_coerce_float_to_double): Remove. | |
7914 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
7915 | (sparc_coerce_float_to_double): Remove. | |
7916 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
7917 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
7918 | * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
7919 | * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. | |
7920 | (hppa_coerce_float_to_double): Remove prototype. | |
7921 | * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
7922 | ||
f436a26a DJ |
7923 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
7924 | ||
7925 | * regformats/reg-m68k.dat: Remove fpcode and fpflags. | |
7926 | ||
248f8055 DJ |
7927 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
7928 | ||
7929 | Suggested by Stewart Brown <[email protected]>: | |
7930 | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show | |
7931 | in recursive calls. Handle TYPE_CODE_TYPEDEF. | |
7932 | (c_type_print_varspec_suffix): Likewise. | |
7933 | ||
72cfdc76 MK |
7934 | 2003-01-04 Mark Kettenis <[email protected]> |
7935 | ||
bfd260bb MK |
7936 | * configure.in: Don't set and AC_SUBST SUBDIRS. |
7937 | * configure: Regenerated. | |
7938 | ||
72cfdc76 MK |
7939 | * configure.in: Remove code dealing with shared libraries. |
7940 | * Makefile.in: Remove HLDFLAGS and HLDENV. | |
7941 | * configure: Regenerated. | |
7942 | ||
c8b8a898 AC |
7943 | 2003-01-04 Andrew Cagney <[email protected]> |
7944 | ||
7945 | * frame.c (deprecated_frame_xmalloc): New function. | |
7946 | (deprecated_set_frame_saved_regs_hack): New function. | |
7947 | (deprecated_set_frame_extra_info_hack): New function. | |
7948 | * frame.h (deprecated_frame_xmalloc): Declare. | |
7949 | (deprecated_set_frame_saved_regs_hack): Declare. | |
7950 | (deprecated_set_frame_extra_info_hack): Declare. | |
7951 | ||
14abd0fb MK |
7952 | 2003-01-04 Mark Kettenis <[email protected]> |
7953 | ||
8ee53726 MK |
7954 | * configure.in: Move code that provides the --enable-gdbtk option |
7955 | right after the code that handles the --enable-tui option, and | |
7956 | polish it somewhat. | |
7957 | * configure: Regenerated. | |
7958 | ||
14abd0fb MK |
7959 | * configure.in: Call AC_GNU_SOURCE. Check for pread64 using |
7960 | AC_CHECK_FUNCS and remove the old check for pread64. | |
7961 | * acinclude.m4 (AC_GNU_SOURCE): New macro. | |
7962 | * acconfig.h (_GNU_SOURCE): Add. | |
7963 | (HAVE_PREAD64): Remove. | |
7964 | * configure, aclocal.m4, config.in: Regenerated. | |
7965 | ||
b2fb4676 AC |
7966 | 2003-01-03 Andrew Cagney <[email protected]> |
7967 | ||
7968 | * alpha-tdep.c: Use get_frame_saved_regs. | |
7969 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
7970 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
7971 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto. | |
7972 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto. | |
7973 | * vax-tdep.c, xstormy16-tdep.c: Ditto. | |
7974 | ||
8dcde887 MK |
7975 | 2003-01-03 Mark Kettenis <[email protected]> |
7976 | ||
7977 | * configure.in: Remove all use of the SUBDIRS variable; add | |
7978 | directories using the AC_CONFIG_SUBDIRS macro instead. Polish | |
7979 | code providing the --enable-multi-ice option, and move it right in | |
7980 | front of the code that checks whether gdbserver is supported. | |
7981 | Polish that too. | |
7982 | * configure: Regenerated. | |
7983 | * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of | |
7984 | @SUBDIRS@. | |
7985 | ||
8ccd593b AC |
7986 | 2003-01-03 Andrew Cagney <[email protected]> |
7987 | ||
7988 | * alpha-tdep.c: Use deprecated_update_frame_base_hack. | |
7989 | * avr-tdep.c, cris-tdep.c: Ditto. | |
7990 | * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
7991 | * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
7992 | ||
91151a06 MK |
7993 | 2003-01-03 Mark Kettenis <[email protected]> |
7994 | ||
7995 | * configure.in: Remove --enable-netrom option. | |
7996 | * configure: Regenerated. | |
7997 | ||
8fe84d01 MK |
7998 | 2003-01-03 Mark Kettenis <[email protected]> |
7999 | ||
8000 | * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward | |
8001 | declaration for `struct re_pattern_buffer' instead. | |
8002 | * Makefile.in (cli_decode_h): Remove $(gdb_regex_h). | |
8003 | ||
f0394be6 JB |
8004 | 2003-01-03 J. Brobecker <[email protected]> |
8005 | ||
8006 | * mdebugread.c (parse_symbol): Count until the stEnd matching | |
8007 | the structure name. | |
8008 | ||
27e9bf90 MK |
8009 | 2003-01-02 Mark Kettenis <[email protected]> |
8010 | ||
93d331ba MK |
8011 | * configure.in: Remove --with-cpu option. |
8012 | subscripts. Remove evil changequotes here. | |
8013 | * acconfig.h (TARGET_CPU_DEFAULT): Remove. | |
8014 | * config.in, configure: Regenerated. | |
8015 | ||
27e9bf90 MK |
8016 | * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. |
8017 | * configure.in: Cleanup section that sources GDB and BFD configure | |
8018 | subscripts. Remove evil changequotes here. | |
8019 | * config.in, configure: Regenerated. | |
8020 | ||
50abf9e5 AC |
8021 | 2003-01-02 Andrew Cagney <[email protected]> |
8022 | ||
8023 | * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack | |
8024 | frame accessor methods. | |
8025 | * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
8026 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
8027 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. | |
8028 | * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. | |
8029 | * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
8030 | * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
8031 | * z8k-tdep.c: Ditto. | |
8032 | ||
287c1a40 MK |
8033 | 2003-01-02 Mark Kettenis <[email protected]> |
8034 | ||
f5dbc56d MK |
8035 | * configure.in: Remove UI_OUT configuration code. |
8036 | * ada-lang.c: Update assuming UI_OUT is always true. | |
8037 | * Makefile.in (UIOUT_CFLAGS): Remove. | |
8038 | * configure: Regenerated. | |
8039 | * TODO: Remove blurb about elimination of -DUI_OUT. | |
8040 | ||
627af7ea MK |
8041 | * configure.in: Move code that provides the --enable-gdbcli, |
8042 | --enable-gdbmi options right before the code that handles the | |
8043 | --enable-tui option. Polish a bit. | |
8044 | * configure: Regenerated. | |
8045 | ||
06825bd1 MK |
8046 | * configure.in: Rewrite check for GNU regex and the |
8047 | --without-included regex option, and move it into the "Checks for | |
8048 | library functions" section. This makes us use the system regex | |
8049 | again by default on systems with version 2 of the GNU C library. | |
8050 | This was apparently broken. | |
8051 | * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. | |
8052 | * acconfig.h (USE_INCLUDED_REGEX): Remove. | |
8053 | * config.in, configure: Regenerated. | |
8054 | ||
287c1a40 MK |
8055 | * configure.in: Move code that provides the --enable-tui option |
8056 | before the "Checks for libraries" section. Polish the code | |
8057 | somewhat and set need_curses to yes if we build the TUI. Rewrite | |
8058 | code that looks for a library providing termcap functionality to | |
8059 | match more closely what's done in the Readline library, and move | |
8060 | it into to the "Checks for libraries" section. | |
8061 | * configure: Regenerated. | |
8062 | * Makefile.in (TERMCAP): Remove variable. | |
8063 | * config/i386/go32.mh (TERMCAP): Remove variable. | |
8064 | ||
684e56bf AC |
8065 | 2003-01-02 Andrew Cagney <[email protected]> |
8066 | ||
8067 | * MAINTAINERS: Mention gdb_mbuild.sh. | |
8068 | * gdb_mbuild.sh: Rewrite. | |
8069 | ||
e1ea1d75 MK |
8070 | 2003-01-02 Mark Kettenis <[email protected]> |
8071 | ||
8072 | * configure.in: Fix typo in last change. | |
8073 | * config.in, configure: Regenerated. | |
8074 | ||
1b831c93 AC |
8075 | 2003-01-02 Andrew Cagney <[email protected]> |
8076 | ||
8077 | * valarith.c (value_binop): Delete obsolete code and comments. | |
8078 | * configure.host: Ditto. | |
8079 | * buildsym.h (make_blockvector): Ditto. | |
8080 | * buildsym.c (make_blockvector): Ditto. | |
8081 | * defs.h (enum language): Ditto. | |
8082 | (chill_demangle): Ditto. | |
8083 | * elfread.c (elf_symtab_read): Ditto. | |
8084 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
8085 | (set_cu_language): Ditto. | |
8086 | (handle_producer): Ditto. | |
8087 | * expprint.c (print_subexp): Ditto. | |
8088 | * gdbtypes.c (chill_varying_type): Ditto. | |
8089 | * gdbtypes.h (builtin_type_chill_bool): Ditto. | |
8090 | (builtin_type_chill_char, builtin_type_chill_long): Ditto. | |
8091 | (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. | |
8092 | (chill_varying_type): Ditto. | |
8093 | * language.h (_LANG_chill): Ditto. | |
8094 | * language.c (binop_result_type, integral_type): Ditto. | |
8095 | (character_type, string_type, structured_type): Ditto. | |
8096 | (lang_bool_type, binop_type_check): Ditto. | |
8097 | * stabsread.h (os9k_stabs): Ditto. | |
8098 | * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. | |
8099 | (define_symbol, read_type, read_struct_fields): Ditto. | |
8100 | (read_array_type, read_enum_type, read_huge_number): Ditto. | |
8101 | (read_range_type, start_stabs): Ditto. | |
8102 | * symfile.c (init_filename_language_table): Ditto. | |
8103 | (add_psymbol_with_dem_name_to_list): Ditto. | |
8104 | * symtab.c (symbol_init_language_specific): Ditto. | |
8105 | (symbol_init_demangled_name, symbol_demangled_name): Ditto. | |
8106 | * symtab.h (struct general_symbol_info): Ditto. | |
8107 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
8108 | * typeprint.c (typedef_print): Ditto. | |
8109 | * utils.c (fprintf_symbol_filtered): Ditto. | |
8110 | * valops.c (value_cast, search_struct_field, value_slice): Delete | |
8111 | obsolete code. | |
8112 | (varying_to_slice): Delete function. | |
8113 | * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. | |
8114 | (varying_to_slice): Delete declaration. | |
8115 | * MAINTAINERS: Update. | |
8116 | ||
8bb2c122 MK |
8117 | 2003-01-02 Mark Kettenis <[email protected]> |
8118 | ||
97bf5e38 MK |
8119 | * configure.in: Reorganize "Checks for library functions section" |
8120 | a bit. Remove check for `btowc' and `isascii' functions. | |
8121 | * configure: Regenerated. | |
8122 | ||
5ee754fc MK |
8123 | * acconfig.h (_MSE_INT_H): Remove. |
8124 | * configure.in: Create "Checks for header files" section, and move | |
8125 | appropriate tests there. Don't check for objlist.h, wchar.h, | |
8126 | wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> | |
8127 | misdetection fix. Also add "Checks for types", "Checks for | |
8128 | compiler characteristics" and "Checks for library functions" | |
8129 | sections. | |
8130 | * config.in, configure: Regenerated. | |
8131 | ||
8bb2c122 MK |
8132 | * configure.in: Create "Checks for programs" section, and move |
8133 | appropriate tests there. | |
8134 | ||
9a156167 MK |
8135 | 2003-01-01 Mark Kettenis <[email protected]> |
8136 | ||
8137 | * configure.in: Create "Checks for libraries" section, and move | |
8138 | appropriate tests there. Cleanup check for wctype in libw. Use | |
8139 | AC_SEARCH_LIBS to see whether we need libsocket. | |
8140 | * configure: Regenerated. | |
8141 | ||
a80e2bcb | 8142 | For older changes see ChangeLog-2002 |
c906108c SS |
8143 | \f |
8144 | Local Variables: | |
8145 | mode: change-log | |
8146 | left-margin: 8 | |
8147 | fill-column: 74 | |
8148 | version-control: never | |
8149 | End: |