]>
Commit | Line | Data |
---|---|---|
8e2c28d4 KB |
1 | 2002-07-15 Kevin Buettner <[email protected]> |
2 | ||
3 | * aix-thread.c (gdbcmd.h): Include. | |
4 | (DEBUG, DBG, DBG2, dbg): Eliminate. | |
5 | (debug_aix_thread): New static global. | |
6 | (ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs) | |
7 | (pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc) | |
8 | (fetch_regs_lib, store_regs_lib, store_regs_kern): Rewrite | |
9 | invocations to DBG and DBG2 macros to test against | |
10 | ``debug_aix_thread'' and call fprintf_unfiltered(). | |
11 | (_initialize_aix_thread): Add new command "set debug aix-thread". | |
12 | ||
30413464 AC |
13 | 2002-07-15 Andrew Cagney <[email protected]> |
14 | ||
15 | From Gerhard Tonn <[email protected]>: | |
16 | * s390-nat.c (fill_fpregset, fill_gregset): Use regcache_collect | |
17 | instead of supply_register. | |
18 | ||
7c43edc1 AC |
19 | 2002-07-15 Andrew Cagney <[email protected]> |
20 | ||
21 | * dwarf2cfi.c: Include "gdb_assert.h". | |
22 | (frame_state_for): Use gdb_assert to check that fde->cie_ptr is | |
23 | non-NULL. | |
24 | (update_context): Do not use __func__. Add missing ``break''. | |
25 | (update_context): Do not use __func__. | |
26 | ||
9364a0ef EZ |
27 | 2002-07-15 Elena Zannoni <[email protected]> |
28 | ||
29 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove variable print_insn | |
30 | and its setting. Set gdbarch instruction printing functions | |
31 | directly. For non-rs6000 case use new function | |
32 | gdb_print_insn_powerpc. | |
33 | (gdb_print_insn_powerpc): New function. | |
34 | ||
3fbeef0b AC |
35 | 2002-07-13 Andrew Cagney <[email protected]> |
36 | ||
92eb23c5 | 37 | * NEWS: Mention that the d30v has been marked obsolete. |
3fbeef0b AC |
38 | * MAINTAINERS: Note that d30v / d30v-elf has been made obsolete. |
39 | * configure.tgt: Mark d30v-*-* as obsolete. | |
40 | * d30v-tdep.c: Mark file as obsolete. | |
41 | * config/d30v/d30v.mt: Ditto. | |
42 | * config/d30v/tm-d30v.h: Ditto. | |
43 | ||
aacb1f0a AS |
44 | 2002-07-13 Aidan Skinner <[email protected]> |
45 | ||
46 | * ada-tasks.c (add_task_entry): replace calls to | |
47 | malloc() with xmalloc | |
48 | * ada-tasks.c (init_task_list): replace calls to free with xfree() | |
49 | ||
50 | * ada-lang.c (replace_operator_with_call, fill_in_ada_prototype, | |
51 | ada_finish_decode_line_1, all_sals_for_line | |
52 | ada_breakpoint_rewrite): replace calls to free() with xfree() | |
53 | ||
c11d79f2 KB |
54 | 2002-07-12 Kevin Buettner <[email protected]> |
55 | ||
56 | From Nicholas Duffek (with minor changes by Martin Hunt, | |
57 | Louis Hamilton, and Kevin Buettner): | |
58 | * aix-thread.c: New file. | |
59 | ||
8e19ed76 PS |
60 | 2002-07-12 Petr Sorfa <[email protected]> |
61 | ||
62 | * dwarf2read.c (dwarf2_invalid_attrib_class): New | |
63 | complaint for invalid attribute class or form. | |
64 | (read_func_scope): DW_AT_frame_base | |
65 | better handling of DW_AT_block*. | |
66 | (dwarf2_add_member_fn): DW_AT_vtable_elem_location | |
67 | better handling of DW_AT_block*. | |
68 | (read_common_block): DW_AT_location | |
69 | better handling of DW_AT_block*. | |
70 | (read_partial_die): DW_AT_location better handling | |
71 | of DW_AT_block*. | |
72 | (new_symbol): DW_AT_external better handling of | |
73 | DW_AT_block*. Proper initialization of variable | |
74 | "addr". | |
75 | (attr_form_is_block): New function that returns true | |
76 | if the attribute's form is of DW_FORM_block*. | |
77 | ||
295401f7 DJ |
78 | 2002-07-12 Peter Schauer <[email protected]> |
79 | ||
80 | * valops.c (find_method_list): Remove comment about | |
81 | removed STATIC_MEMFUNCP argument. | |
82 | (value_find_oload_method_list): Likewise. | |
83 | ||
e42dc924 KB |
84 | 2002-07-12 Kevin Buettner <[email protected]> |
85 | ||
86 | From Nicholas Duffek: | |
87 | * rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call | |
88 | target_new_objfile_hook. | |
89 | ||
6904b546 KB |
90 | 2002-07-12 Kevin Buettner <[email protected]> |
91 | ||
92 | From Nicholas Duffek: | |
93 | * xcoffread.c (scan_xcoff_symtab): Recognize XMC_TD as a data storage | |
94 | csect. | |
95 | ||
53fe9346 AC |
96 | 2002-07-12 Andrew Cagney <[email protected]> |
97 | ||
98 | * MAINTAINERS: Mention --enable-sim-build-warnings. | |
99 | (m68hc11-elf): Disable sim build warnings. | |
100 | (m32r-elf): Mark as broken obsolete candidate. | |
101 | (x86_64-linux-gnu): Mark as buildable with -Werror. | |
102 | (arm-elf): Change -w to ``,'' which enables warnings but not | |
103 | -Werror. | |
104 | ||
af5f3db6 AC |
105 | 2002-07-12 Andrew Cagney <[email protected]> |
106 | ||
107 | * bcache.h: Update copyright. | |
108 | (struct bstring, struct bcache): Move definition to "bcache.c". | |
109 | Replaced by opaque declaration. | |
110 | (bcache_xfree): Replace free_bcache. | |
111 | (bcache_xmalloc, bcache_memory_used): Declare. | |
112 | ||
113 | * bcache.c: Update copyright. | |
114 | (struct bstring, struct bcache): Moved to here from "bcache.h". | |
115 | Update comments. | |
116 | (bcache_xmalloc, bcache_memory_used): New functions. | |
117 | (bcache_xfree): Replace function free_bcache. | |
118 | ||
119 | * Makefile.in (objfiles.o): Add $(bcache_h). | |
120 | (objfiles_h): Remove $(bcache_h). | |
121 | (symfile.o): Add $(bcache_h). | |
122 | ||
123 | * symmisc.c: Update copyright. | |
124 | (print_symbol_bcache_statistics): Pass psymbol_cache by value. | |
125 | (print_objfile_statistics): Use bcache_memory_used. | |
126 | ||
127 | * symfile.c: Include "bcache.h". | |
128 | (reread_symbols): Use bcache_xfree. | |
129 | (reread_symbols): Use bcache_xmalloc and bcache_xfree. | |
130 | (add_psymbol_to_list): Pass psymbol_cache by value. | |
131 | (add_psymbol_with_dem_name_to_list): Ditto. | |
132 | ||
133 | * objfiles.h: Update copyright. | |
134 | (struct bcache): Declare opaque. Do not include "bcache.h". | |
135 | (struct objfile): Change psymbol_cache and macro_cache to ``struct | |
136 | bcache'' pointers. | |
137 | * dwarf2read.c (macro_start_file): Pass macro_cache by value. | |
138 | ||
139 | * objfiles.c: Include "bcache.h". Update copyright. | |
140 | (allocate_objfile): Use bcache_xmalloc to create psymbol_cache and | |
141 | macro_cache. | |
142 | (free_objfile): Use bcache_xfree. | |
143 | ||
444199e7 GS |
144 | 2002-07-11 Grace Sainsbury <[email protected]> |
145 | ||
146 | * monitor.c (monitor_fetch_register): Make name a constant. | |
147 | (monitor_store_register): Same. | |
148 | ||
261397f8 DJ |
149 | 2002-07-11 Daniel Jacobowitz <[email protected]> |
150 | ||
151 | Based on patch from Daniel Berlin <[email protected]>. | |
152 | * buildsym.c: Include "demangle.h" for SYMBOL_INIT_DEMANGLED_NAME. | |
153 | (finish_block) For non-function blocks, hash the symbol table. For | |
154 | function blocks, mark the symbol table as unhashed. | |
155 | * minsyms.c (msymbol_hash): Return hash value without taking modulus. | |
156 | (msymbol_hash_iw): Likewise. | |
157 | (add_minsym_to_hash_table): Take modulus of msymbol_hash's return | |
158 | value. | |
159 | (add_minsym_to_demangled_hash_table): Likewise for msymbol_hash_iw. | |
160 | (lookup_minimal_symbol): Likewise for both. | |
161 | * symtab.h (struct block): Add `hashtable' flag. Comment the | |
162 | hashtable. | |
163 | (BLOCK_HASHTABLE, BLOCK_BUCKETS, BLOCK_BUCKET): New macro. | |
164 | (ALL_BLOCK_SYMBOLS): Update. | |
165 | (BLOCK_SHOULD_SORT): Do not sort hashed blocks. | |
166 | (struct symbol): Add `hash_next' pointer. | |
167 | * symtab.c (lookup_block_symbol): Search using the hash table when | |
168 | possible. | |
169 | (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS. | |
170 | (search_symbols, find_addr_symbol): Likewise. | |
171 | ||
172 | * dstread.c (process_dst_block): Clear hashtable bit for new block. | |
173 | (read_dst_symtab): Likewise. | |
174 | * jv-lang.c (get_java_class_symtab): Likewise. | |
175 | * mdebugread.c: Include "gdb_assert.h". | |
176 | (shrink_block): Assert that the block being modified is not hashed. | |
177 | * coffread.c (patch_opaque_types): Use ALL_BLOCK_SYMBOLS. | |
178 | * symmisc.c (free_symtab_block): Walk the hash table when freeing | |
179 | symbols. | |
180 | (dump_symtab): Recognize hashed blocks. | |
181 | * printcmd.c (print_frame_args): Assert that function blocks do not | |
182 | have hashed symbol tables. | |
183 | * ada-lang.c (symtab_for_sym): Use ALL_BLOCK_SYMBOLS. | |
184 | (fill_in_ada_prototype, debug_print_block): Likewise. | |
185 | (ada_add_block_symbols): Use ALL_BLOCK_SYMBOLS. Handle hash tables. | |
186 | ||
6f0eaa01 CV |
187 | 2002-07-11 Corinna Vinschen <[email protected]> |
188 | ||
189 | * stack.c (print_frame): Use result of frame_address_in_block() | |
190 | instead of fi->pc when evaluating symbols. | |
191 | (backtrace_command_1): Ditto. | |
192 | ||
a208b0cb AC |
193 | 2002-07-11 Andrew Cagney <[email protected]> |
194 | ||
195 | * cris-tdep.c (cris_saved_pc_after_call): Fix parameter type. | |
196 | Make static. | |
197 | ||
198 | * arm-tdep.c (arm_register_name): Make return type constant. | |
199 | ||
a6b6b089 AC |
200 | 2002-07-10 Andrew Cagney <[email protected]> |
201 | ||
5ae5f592 AC |
202 | * win32-nat.c (has_detach_ability): Convert to strict ISO C |
203 | prototype. | |
204 | * top.c (gdb_rl_operate_and_get_next_completion): Ditto. | |
205 | * s390-tdep.c (s390_fp_regnum): Ditto. | |
206 | (s390_read_fp): Ditto. | |
207 | (s390_pop_frame): Ditto. | |
208 | (_initialize_s390_tdep): Ditto. | |
209 | * remote.c (get_remote_state): Ditto. | |
210 | * procfs.c (mappingflags): Ditto. | |
211 | * memattr.c (_initialize_mem): Ditto. | |
212 | * mcore-tdep.c (mcore_pop_frame): Ditto. | |
213 | * m68klinux-nat.c (_initialize_m68k_linux_nat): Ditto. | |
214 | * m68k-tdep.c (m68k_register_bytes_ok): Ditto. | |
215 | * language.c (set_case_str): Ditto. | |
216 | * gnu-v3-abi.c (vtable_address_point_offset): Ditto. | |
217 | * frv-tdep.c (new_variant): Ditto. | |
218 | (frv_stopped_data_address): Ditto. | |
219 | * dwarf2cfi.c (fde_chunks_need_space): Ditto. | |
220 | (context_alloc): Ditto. | |
221 | (frame_state_alloc): Ditto. | |
222 | (unwind_tmp_obstack_init): Ditto. | |
223 | (unwind_tmp_obstack_free): Ditto. | |
224 | (cfi_read_fp): Ditto. | |
225 | * cris-tdep.c (cris_saved_pc_after_call): Ditto. | |
226 | (cris_pop_frame): Ditto. | |
227 | * c-lang.c (scanning_macro_expansion): Ditto. | |
228 | (finished_macro_expansion): Ditto. | |
229 | (c_preprocess_and_parse): Ditto. | |
230 | * gdbarch.sh: Ditto. | |
231 | * gdbarch.h, gdbarch.c: Regenerate. | |
232 | * config/mn10200/tm-mn10200.h: Adjust indentation. | |
233 | * target.c: Adjust indentation. | |
234 | * symtab.h: Adjust indentation. | |
235 | * stabsread.h: Adjust indentation. | |
236 | * remote-es.c: Adjust indentation. | |
237 | * os9kread.c: Adjust indentation. | |
238 | ||
239 | 2002-07-10 Andrew Cagney <[email protected]> | |
240 | ||
a6b6b089 AC |
241 | * wince.c (_initialize_wince): Rename _initialize_inftarg. |
242 | * win32-nat.c (_initialize_win32_nat): Rename _initialize_inftarg. | |
243 | ||
a1789893 GS |
244 | 2002-07-10 Grace Sainsbury <[email protected]> |
245 | ||
246 | * NEWS: Mention m68k, mcore multi-arching. | |
247 | * MAINTAINERS: Change status of m68k, mcore to reflect | |
248 | multi-arching. | |
249 | ||
02f0d45d DJ |
250 | 2002-07-10 Daniel Jacobowitz <[email protected]> |
251 | ||
252 | * valops.c (find_overload_match): Free oload_syms. | |
253 | ||
f15f768e JB |
254 | 2002-07-09 Joel Brobecker <[email protected]> |
255 | ||
256 | Define HAVE_SYS_PROC_H if sys/proc.h exists | |
257 | * configure.in: Add check for sys/proc.h | |
258 | * config.in: Regenerate. | |
259 | * configure: Regenerate. | |
260 | ||
902a7139 GS |
261 | 2002-07-09 Grace Sainsbury <[email protected]> |
262 | ||
263 | * config/m68k/tm-m68k.h: Remove macros wrapped in | |
264 | #if !GDB_MULTI_ARCH. | |
265 | ||
82e0fd98 DB |
266 | 2002-07-09 David O'Brien <[email protected]> |
267 | ||
268 | * gdbserver/gdbreplay.c (stdlib.h, unistd.h): Conditionaly include. | |
269 | (perror_with_name, remote_close, remote_open, expect, play): Static. | |
270 | ||
a534e424 AC |
271 | 2002-07-08 Andrew Cagney <[email protected]> |
272 | ||
273 | * config.in, configure: Regenerate. | |
274 | ||
9b94f7bf MK |
275 | 2002-07-08 Mark Kettenis <[email protected]> |
276 | ||
277 | * dwarf2cfi.c: Include "gcore.h". | |
278 | (execute_stack_op): Fix implementation of the | |
279 | DW_OP_deref and DW_OP_deref_size operators by letting do their | |
280 | lookup in the target. | |
281 | ||
1d34db41 MK |
282 | 2002-07-07 Mark Kettenis <[email protected]> |
283 | ||
284 | From Peter Schauer <[email protected]>: | |
285 | * i386-sol2-tdep.c (i386_sol2_init_abi): Correct value for | |
286 | tdep->sc_sp_offset. | |
287 | ||
79d5b63a DJ |
288 | 2002-07-05 Daniel Jacobowitz <[email protected]> |
289 | ||
290 | Fix PR gdb/595, gdb/602 | |
291 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Remove unused variables. | |
292 | Don't call value_cast, just read the vtable pointer; update comments | |
293 | to match. | |
294 | ||
3bb912e8 GS |
295 | 2002-07-05 Grace Sainsbury <[email protected]> |
296 | ||
297 | * config/mcore/tm-mcore.h: Remove file. | |
298 | * config/mcore/mcore.mt: Remove definition of TM_FILE | |
299 | * configure.tgt: Set gdb_multi_arch to yes for the mcore target. | |
300 | ||
ca39387d MK |
301 | 2002-07-05 Mark Kettenis <[email protected]> |
302 | ||
303 | * i386bsd-tdep.c: Include "gdb_string.h". | |
304 | ||
efdc1108 GS |
305 | 2002-07-04 Grace Sainsbury <[email protected]> |
306 | ||
307 | * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Set to 2. | |
308 | (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG,RETVAL_REGNUM): Move to | |
309 | mcore-tdep. | |
310 | (REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER) | |
311 | (TARGET_VIRTUAL_FRAME_POINTER, BELIEVE_PCC_PROMOTION): Remove. | |
312 | * mcore-tdep.c (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG) | |
313 | (RETVAL_REGNUM): Move macros from tm-mcore.h | |
314 | (mcore_reg_struct_has_addr): New function. | |
315 | (mcore_gdbarch_init): Added initializations for the macros removed | |
316 | from tm-mcore.h. | |
317 | ||
bb21884d MK |
318 | 2002-07-04 Mark Kettenis <[email protected]> |
319 | ||
320 | * osabi.c (generic_elf_osabi_sniffer): Add check for FreeBSD 3.x's | |
321 | traditonal string branding within the ELF header. | |
322 | ||
228c6d41 DJ |
323 | 2002-07-04 Daniel Jacobowitz <[email protected]> |
324 | ||
325 | * symtab.c (remove_params): New function. | |
326 | (make_symbol_overload_list): Use it instead of cplus_demangle. | |
327 | (overload_list_add_symbol): Likewise. Reorder. Fix memory leak. | |
328 | ||
2404952e MK |
329 | 2002-07-04 Mark Kettenis <[email protected]> |
330 | ||
e5e4acad MK |
331 | * i386obsd-nat.c (_initialize_i386obsd_nat): Fix typo in prototype. |
332 | ||
baadce09 MK |
333 | * i386bsd-tdep.c (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end): |
334 | New variables. | |
335 | (i386nbsd_init_abi): Use these to initialize tdep->sigtramp_start | |
336 | and tdep->sigtramp_end. | |
337 | * i386obsd-nat.c: New file. | |
338 | * config/i386/obsd.mh (NATDEPFILES): Add i386obsd-nat.o. | |
339 | ||
2404952e MK |
340 | * dwarf2cfi.c (cfi_pop_frame): Use alloca() for regbuf. |
341 | Don't call get_current_frame(). | |
342 | ||
9b4f1ba7 PM |
343 | 2002-07-04 Pierre Muller <[email protected]> |
344 | ||
345 | * i386-nat.c (child_post_startup_inferior): New function | |
346 | calling i386_cleanup_dregs if | |
347 | I386_USE_GENERIC_WATCHPOINTS is defined. | |
348 | * config/i386/nm-i386.h: define CHILD_POST_STARTUP_INFERIOR | |
349 | conditional to acknowledge that i386-nat.c has its | |
350 | own child_post_startup_inferior function. | |
351 | ||
c0d1d883 MK |
352 | 2002-07-04 Mark Kettenis <[email protected]> |
353 | ||
00f8375e MK |
354 | * i386-tdep.h (I386_MAX_REGISTER_SIZE): New define. |
355 | * i386-tdep.c (i386_do_pop_frame): Use I386_MAX_REGISTER_SIZE | |
356 | instead of MAX_REGISTER_RAW_SIZE. | |
357 | (i386_extract_return_value, i386_extract_struct_value_address): | |
358 | Convert to use regcache. | |
359 | (i386_gdbarch_init): Set max_register_raw_size and | |
360 | max_register_virtual_size to I386_MAX_REGISTER_SIZE. | |
361 | Set extract_return_value and extract_struct_value_address instead | |
362 | of their deprecated variants. | |
363 | ||
c0d1d883 MK |
364 | Convert i386 target to generic dummy frames. |
365 | * i386-tdep.c: Include "symfile.h". | |
366 | (i386_frameless_signal_p): Consider a function to be frameless if | |
367 | the pc points at the first instruction of the function. | |
368 | (i386_frame_chain): Handle (generic) call dummies. | |
369 | (i386_frame_saved_pc): Likewise. | |
370 | (i386_frame_init_saved_regs): Remove code dealing with call | |
371 | dummies on the stack. | |
372 | (i386_push_dummy_frame): Removed. | |
373 | (i386_call_dummy_words): Removed. | |
374 | (i386_fix_call_dummy): Removed. | |
375 | (i386_push_return_address): New function. | |
376 | (i386_do_pop_frame): Renamed from i386_pop_frame. Add FRAME | |
377 | parameter, and don't call get_current_frame. | |
378 | (i386_pop_frame): New function. | |
379 | (i386_gdbarch_init): Set use_generic_dummy_frames to 1, set | |
380 | call_dummy_location to AT_ENTRY_POINT, set call_dummy_address to | |
381 | entry_point_address, set call_dummy_breakpoint_offset to 0, set | |
382 | call_dummy_length to 0, set call_dummy_words to NULL, set | |
383 | sizeof_call_dummy_words to 0, set fix_call_dummy to | |
384 | generic_fix_call_dummy, set pc_in_call_dummy to | |
385 | pc_in_call_dummy_at_entry_point, set push_dummy_frame to | |
386 | generic_push_dummy_frame, set push_return_address to | |
387 | i386_push_return_address and set frame_chain_valid to | |
388 | generic_file_frame_chain_valid. | |
389 | ||
638c1580 ML |
390 | 2002-07-04 Michal Ludvig <[email protected]> |
391 | ||
392 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Make it an array of | |
393 | byte offsets instead of an array of indexes. | |
394 | (x86_64_store_gregset, x86_64_store_fpregset): Parameter made const. | |
395 | ||
049ee0e4 AC |
396 | 2002-07-03 Andrew Cagney <[email protected]> |
397 | ||
398 | * gdbarch.sh (struct regcache): Add opaque declaration. | |
399 | (EXTRACT_RETURN_VALUE): New architecture method. | |
400 | (EXTRACT_STRUCT_VALUE_ADDRESS): Ditto. | |
401 | * gdbarch.h, gdbarch.c: Regenerate. | |
402 | * arch-utils.c (legacy_extract_return_value): New function. | |
403 | * arch-utils.h (legacy_extract_return_value): Declare. | |
404 | * values.c (value_being_returned): Re-enable code handling | |
405 | EXTRACT_STRUCT_VALUE_ADDRESS. Move | |
406 | deprecated_grub_regcache_for_registers call to block handling | |
407 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
408 | (EXTRACT_RETURN_VALUE): Do not define. | |
409 | ||
4e0d9804 GS |
410 | 2002-07-03 Grace Sainsbury <[email protected]> |
411 | ||
412 | * config/mcore/tm-mcore.h (REGISTER_BYTES, NUM_REGS, PC_REGNUM) | |
413 | (SP_REGNUM, FP_REGNUM, FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK) | |
414 | (BREAKPOINT_FROM_PC, INNER_THAN, SAVED_PC_AFTER_CALL) | |
415 | (INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS, INIT_FRAME_PC) | |
416 | (FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC) | |
417 | (STORE_RETURN_VALUE, DEPRECATED_EXTRACT_RETURN_VALUE) | |
418 | (STORE_STRUCT_RETURN, DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS) | |
419 | (SKIP_PROLOGUE, FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS) | |
420 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, POP_FRAME) | |
421 | (PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME, PUSH_ARGUMENTS): Remove. | |
422 | * mcore-tdep.c (mcore_init_extra_frame_info): Add fromleaf | |
423 | argument so the function fits the prototype in the architecture | |
424 | vector. | |
425 | (mcore_pop_frame): Remove argument so the function fits the | |
426 | prototype. Use get_current_frame instead of the argument. | |
427 | (mcore_push_arguments): Change type of struct_return so the | |
428 | function can be used in the architecture vector. | |
429 | (mcore_store_struct_return): Add. | |
430 | (mcore_frame_init_saved_regs): Add. | |
431 | (mcore_gdbarch_init): Add function calls to replace the macros | |
432 | removed from tm-mcore.h | |
433 | ||
36160dc4 AC |
434 | 2002-07-03 Andrew Cagney <[email protected]> |
435 | ||
436 | * infcmd.c (print_return_value): Remove compatibility code calling | |
437 | deprecated_grub_regcache_for_registers. | |
438 | ||
439 | * values.c: Include "regcache.h". | |
440 | (value_being_returned): Update. Use | |
441 | deprecated_grub_regcache_for_registers to extract the register | |
442 | buffer address. | |
443 | * value.h (value_being_returned): Change ``retbuf'' parameter to a | |
444 | ``struct regcache''. | |
445 | * Makefile.in (values.o): Add dependency on $(regcache_h). | |
446 | ||
447 | * inferior.h (run_stack_dummy): Change type of second parameter to | |
448 | a ``struct regcache''. | |
449 | * valops.c (hand_function_call): Change type of retbuf to ``struct | |
450 | regcache''. Allocate using regcache_xmalloc, clean using | |
451 | make_cleanup_regcache_xfree. | |
452 | * infcmd.c (run_stack_dummy): Update. Use | |
453 | regcache_cpu_no_passthrough instead of memcpy to copy the buffer. | |
454 | ||
455 | * regcache.c (do_regcache_xfree): New function. | |
456 | (make_cleanup_regcache_xfree): New function. | |
457 | * regcache.h (make_cleanup_regcache_xfree): Declare. | |
458 | ||
e64d9b3d MH |
459 | 2002-07-03 Martin M. Hunt <[email protected]> |
460 | ||
4dd79c29 MH |
461 | * event-top.c (command_line_handler): Don't read past |
462 | beginning of buffer. | |
e64d9b3d | 463 | |
4dd79c29 MH |
464 | 2002-07-03 Martin M. Hunt <[email protected]> |
465 | ||
e64d9b3d MH |
466 | * varobj.c (struct varobj_root): Change frame from CORE_ADDR to |
467 | struct frame_id. | |
468 | (varobj_create): Store frame_id for root. | |
469 | (varobj_gen_name): Use xasprintf. | |
470 | (varobj_update): Save and restore frame using get_frame_id() and | |
471 | frame_find_by_id(). | |
472 | (create_child): Use xasprintf. | |
473 | (new_root_variable): Initialize frame_id. | |
474 | (c_name_of_child): Use xasprintf. Call find_frame_by_id(). | |
475 | (c_value_of_variable): Use xasprintf. Move mem_fileopen call | |
476 | to prevent memory leak. | |
477 | ||
26e6c56a AC |
478 | 2002-07-03 Andrew Cagney <[email protected]> |
479 | ||
480 | * valops.c (hand_function_call): Move declaration of retbuf to | |
481 | start of function, allocate using malloc, add a cleanup but before | |
482 | the inf_status cleanup, cleanup the buffer. Rename local variable | |
483 | old_chain to inf_status_cleanup. | |
484 | ||
f436dd25 MH |
485 | 2002-07-03 Martin M. Hunt <[email protected]> |
486 | ||
487 | * top.c (execute_command): Use cmd_func() and cmd_func_p(). | |
488 | ||
489 | * cli/cli-decode.c (cmd_func_p): New function. | |
490 | (cmd_func): New function. | |
491 | ||
492 | * command.h: Add cmd_func() and cmd_func_p(). | |
493 | ||
4cfe2084 GS |
494 | 2002-07-03 Grace Sainsbury <[email protected]> |
495 | ||
496 | * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Add macro. Set to 0. | |
497 | (REGISTER_SIZE): Remove. | |
498 | (MAX_REGISTER_RAW_SIZE): Remove. | |
499 | (REGISTER_VIRTUAL_TYPE): Remove. | |
500 | (MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
501 | (REGISTER_NAME): Remove. | |
502 | (USE_GENERIC_DUMMY_FRAMES): Remove. | |
503 | (CALL_DUMMY): Remove. | |
504 | (CALL_DUMMY_START_OFFSET): Remove. | |
505 | (CALL_DUMMY_BREAKPOINT_OFFSET): Remove. | |
506 | (CALL_DUMMY_LOCATION): Remove. | |
507 | (FIX_CALL_DUMMY): Remove. | |
508 | (CALL_DUMMY_ADDRESS): Remove. | |
509 | (SIZEOF_CALL_DUMMY_WORDS): Remove. | |
510 | (SAVE_DUMMY_FRAME_TOS): Remove. | |
511 | * mcore-tdep.c (MCORE_REG_SIZE, MCORE_NUM_REGS): Add macros. | |
512 | (mcore_register_virtual_type): New function. | |
513 | (mcore_register_byte): New function. | |
514 | (mcore_register_size): New function. | |
515 | (mcore_register_name): New function. | |
516 | (mcore_gdbarch_init): New function. Add set_gdbarch calls for | |
517 | macros removed from tm-mcore.h. | |
518 | (mcore_dump_tdep): Add. | |
519 | (_initialize_mcore_tdep): Add gdbarch_register call. | |
520 | ||
4fd667e9 MK |
521 | 2002-07-03 Mark Kettenis <[email protected]> |
522 | ||
523 | * i386-tdep.c (i386_frameless_signal_p): Provide an argument in to | |
524 | frameless_look_for_prologue, such that we actually call this | |
525 | function. | |
526 | ||
42f99ac2 JB |
527 | 2002-07-02 Joel Brobecker <[email protected]> |
528 | ||
529 | * frame.h (frame_address_in_block): New function. | |
530 | ||
531 | * blockframe.c (frame_address_in_block): New function extracted | |
532 | from get_frame_block(). | |
533 | (get_frame_block): Use frame_address_in_block(). | |
534 | (block_innermost_frame): Use frame_address_in_block() to match | |
535 | the frame pc address against the block boundaries rather than | |
536 | the frame pc directly. This prevents a failure when a frame pc | |
537 | is actually a return-address pointing immediately after the end | |
538 | of the given block. | |
539 | ||
103a1597 | 540 | 2002-07-02 Grace Sainsbury <[email protected]> |
83b4a0fe GS |
541 | |
542 | * MAINTAINERS: Add self under write after approval. | |
543 | ||
544 | 2002-07-02 Grace Sainsbury <[email protected]> | |
545 | ||
103a1597 GS |
546 | * m68k-tdep.c (m68k_remote_breakpoint_from_pc): Add. Currently not |
547 | used in architecture vector. The default is | |
548 | m68k_local_breakpoint_from_pc. | |
549 | (m68k_local_breakpoint_from_pc): Add. | |
550 | (enum): Add register numbers from tm-m68k.h. | |
551 | (m68k_gdbarch_init): Add breakpoint_from_pc to architecture | |
552 | vector. | |
553 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Set to | |
554 | GDB_MULTI_ARCH_PARTIAL. | |
555 | (BPT_VECTOR, REGISTER_BYTES_FP, REGISTER_BYTES_NOFP) | |
556 | (NUM_FREGS, SIG_PC_FP_OFFSET, SP_ARG0, REMOTE_BPT_VECTOR): Move to | |
557 | m68k-tdep.c. | |
558 | (BREAKPOINT, REMOTE_BREAKPOINT): Remove. | |
559 | (A1_REGNUM, FP0_REGNUM, FPC_REGNUM, FPS_REGNUM, FPI_REGNUM): Move | |
560 | to enum in m68k-tdep.c | |
561 | ||
7a5a0534 JB |
562 | 2002-07-02 Joel Brobecker <[email protected]> |
563 | ||
564 | * solib-osf.c (open_map): Compute the list of shared libraries | |
565 | loaded by the inferior, rather than the list of libraries loaded | |
566 | by GDB itself. Otherwise, GDB ends up reading the symbols from | |
567 | the wrong shared libraries... | |
568 | ||
6f558d74 MK |
569 | 2002-07-02 Mark Kettenis <[email protected]> |
570 | ||
b7d15bf7 MK |
571 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Make static. |
572 | (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONEXT_SP_OFFSET): Remove | |
573 | macros. | |
574 | (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp): | |
575 | Remove functions. | |
576 | (FRAMELESS_SIGNAL): Remove function. | |
577 | (i386_linux_frame_chain, i386_linux_frame_saved_pc, | |
578 | i386_linux_saved_pc_after_call): Removed. | |
579 | (i386_linux_init_abi): Initialize tdep->sigcontext_addr, | |
580 | tdep->sc_pc_offset and tdep->sc_sp_offset. Don't override | |
581 | frame_chain, frame_saved_pc and saved_pc_after_call any longer. | |
582 | ||
6bff26de MK |
583 | * i386-tdep.c (i386_frameless_signal_p): New function. |
584 | (i386_frame_chain): Deal with frameless signals. | |
585 | (i386_sigtramp_saved_sp): New function. | |
586 | (i386_frame_saved_pc): Deal with frameless signals. | |
587 | (i386_saved_pc_after_call): Make sure the correct value is | |
588 | returned just after entry into a sigtramp. | |
589 | * i386bsd-tdep.c (i386bsd_sc_sp_offset, i386nbsd_sc_sp_offset, | |
590 | i386fbsd4_sc_sp_offset): New variables. | |
591 | (i386bsd_init_abi, i386nbsd_init_abi, i386fbsd4_init_abi): Use | |
592 | these variables to initialize tdep->sc_sp_offset. * i386bsd-nat.c | |
593 | (_initialize_i386bsd_nat): Add sanity check for sc_sp_offset | |
594 | similiar to what we already did for sc_pc_offset. | |
595 | * i386-sol2-tdep.c (i386_sol2_init_abi): Initialize | |
596 | tdep->sc_sp_offset. | |
597 | ||
6f558d74 MK |
598 | * i386nbsd-tdep.c (fetch_elfcore_registers): Wrap long line. |
599 | ||
145564b7 ML |
600 | 2002-07-02 Michal Ludvig <[email protected]> |
601 | ||
602 | * config/i386/tm-x86-64linux.h: New. | |
603 | * config/i386/x86-64linux.mt: Add GDB_MULTI_ARCH and TM_FILE | |
604 | definitions. | |
605 | * config/i386/nm-x86-64.h: Rename to ... | |
606 | * config/i386/nm-x86-64linux.h: ... this one. | |
607 | * config/i386/x86-64linux.mh: Reflect the above change. | |
608 | ||
3a1e71e3 MK |
609 | 2002-07-01 Mark Kettenis <[email protected]> |
610 | ||
21d0e8a4 MK |
611 | * i386-tdep.h (struct gdbarch_tdep): Replace sigtramp_saved_pc |
612 | with sigcontext_addr. Add sc_sp_offset. | |
613 | (i386bsd_sigtramp_saved_pc): Remove prototype. | |
614 | (i386bsd_sicontext_addr): Add prototype. | |
615 | * i386-tdep.c (i386_sigtramp_saved_pc): New function. | |
616 | (i386_frame_saved_pc): Rewrite to call i386_sigtramp_saved_pc. | |
617 | (i386_svr4_sigtramp_saved_pc): Removed. | |
618 | (i386_svr4_sigcontext_addr): New function. | |
619 | (i386_svr4_init_abi): Don't initialize tdep->sigtramp_saved_pc. | |
620 | Initialize tdep->sigcontext_addr instead. Initialize | |
621 | tdep->sc_pc_offset and tdep->sc_sp_offset. | |
622 | (i386_gdbarch_init): Likewise. | |
623 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Don't make it static | |
624 | any more. | |
625 | (i386bsd_sigtramp_saved_pc): Remove function. | |
626 | (i386bsd_init_abi): Don't initialize tdep->sigtramp_saved_pc. | |
627 | Initialize tdep->sigcontext_addr instead. Initialize | |
628 | tdep->sc_pc_offset. | |
629 | * i386-linux-tdep.c (i386_linux_init_abi): Remove initialization | |
630 | of tdep->sigtramp_saved_pc. | |
631 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't initialize | |
632 | tdep->sigtramp_saved_pc. Initialize tdep->sigcontext_addr | |
633 | instead. | |
634 | ||
3a1e71e3 MK |
635 | * i386-tdep.c (i386_frameless_function_invocation, |
636 | i386_frame_num_args, i386_frame_init_saved_regs, | |
637 | i386_skip_prologue, i386_push_dummy_frame, i386_fix_call_dummy, | |
638 | i386_pop_frame, i386_push_arguments, i386_store_struct_return, | |
639 | i386_extract_return_value, i386_store_return_value, | |
640 | i386_extract_struct_value_address, i386_register_virtual_type, | |
641 | i386_register_convertible, i386_register_convert_to_virtual, | |
642 | i386_register_convert_to_raw, i386_svr4_sigtramp_saved_pc, | |
643 | i386_go32_init_abi, i386_nw_init_abi, i386_gdbarch_init): Make | |
644 | static. | |
645 | ||
52e9098c MK |
646 | 2002-07-01 Mark Kettenis <[email protected]> |
647 | ||
77b13a25 MK |
648 | * i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed. |
649 | ||
52e9098c MK |
650 | * config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed. |
651 | * i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of | |
652 | this macro. Include "value.h". | |
653 | ||
1b372fff AS |
654 | 2002-06-30 Aidan Skinner <[email protected]> |
655 | ||
656 | * ada-exp.tab.c: remove as it's a generated file | |
657 | * ada-lex.c: remove as it's a generated file | |
658 | ||
9c5045b5 MK |
659 | 2002-06-30 Mark Kettenis <[email protected]> |
660 | ||
4a93c5bb MK |
661 | * config/i386/tm-i386.h (struct frame_info, struct |
662 | frame_saved_regs, struct value, struct type): Remove forward | |
663 | declarations. | |
664 | ||
322d4fe0 MK |
665 | * config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS] |
666 | (FILL_FPXREGSET, HAVE_SSE_REGS): Remove define. | |
667 | * config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS] | |
668 | (FILL_FPXREGSET): Define. | |
669 | ||
fdd8263d MK |
670 | * config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define. |
671 | ||
482e577b MK |
672 | * configure.tgt (i[3456]86-*-openbsd*): Fold into |
673 | i[3456]86-*-netbsd* case. | |
674 | * config/i386/tm-obsd.h: Removed. | |
675 | * config/i386/obsd.mt: Removed. | |
676 | * config/i386/obsd.mh (NATDEPFILES): Remove corelow.o and | |
677 | core-aout.o. | |
678 | (MH_CFLAGS): Add -DYYDEBUG=0. | |
679 | ||
6916549a MK |
680 | * i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to |
681 | i386nbsd_sc_pc_offset on OpenBSD too. | |
682 | ||
9c5045b5 MK |
683 | * config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS] |
684 | (IN_SOLIB_CALL_TRAMPOLINE): Remove define. | |
685 | * config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove | |
686 | define. | |
687 | * i386bsd-tdep.c: Include "arch-utils.h". | |
688 | (i386bsd_aout_in_solib_call_trampoline): New function. | |
689 | (i386bsd_init_abi): Set in_solib_call_trampoline to | |
690 | i386bsd_aout_in_solib_call_trampoline. | |
691 | (i386nbsdelf_init_abi, i386fbsd_init_abi): Set | |
692 | in_solib_call_trampoline to generic_in_solib_call_trampoline. | |
693 | ||
aa84d1bb AC |
694 | 2002-06-28 Andrew Cagney <[email protected]> |
695 | ||
696 | * macrotab.h: Do not include "obstack.h" or "bcache.h". | |
697 | (struct obstack, struct bcache): Add opaque declarations. | |
698 | * Makefile.in (macrotab_h): Update | |
699 | ||
b4d83933 AC |
700 | 2002-06-28 Andrew Cagney <[email protected]> |
701 | ||
702 | * blockframe.c (generic_find_dummy_frame): Change return type to | |
703 | ``struct regcache''. | |
704 | (struct dummy_frame): Replace field ``registers'' with regcache, a | |
705 | struct regcache object. | |
706 | (generic_find_dummy_frame): Update. | |
707 | (generic_push_dummy_frame): Update. Use regcache_xfree, | |
708 | regcache_xmalloc and regcache_cpy. | |
709 | (generic_pop_dummy_frame): Update. Use regcache_cpy and | |
710 | regcache_xfree. | |
711 | (deprecated_generic_find_dummy_frame): Update. | |
712 | (generic_read_register_dummy): Update. Use | |
713 | regcache_read_as_address. | |
714 | (generic_call_dummy_register_unwind): Update. Use regcache_read. | |
715 | (generic_get_saved_register): Update. Use regcache_read. | |
716 | ||
08c0b5bc AC |
717 | 2002-06-28 Andrew Cagney <[email protected]> |
718 | ||
719 | * Makefile.in (objfiles_h): Add $(bcache_h). | |
720 | * objfiles.h: Include "bcache.h". | |
721 | ||
722 | * Makefile.in (symtab_h): Remove $(bcache_h). | |
723 | * symtab.h: Do not include "bcache.h". | |
724 | ||
1f89801a AC |
725 | 2002-06-28 Andrew Cagney <[email protected]> |
726 | ||
727 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to | |
728 | generic_func_frame_chain_valid. | |
729 | ||
b9644b58 DB |
730 | 2002-06-28 David O'Brien <[email protected]> |
731 | ||
732 | * config/i386/nm-fbsd.h: Include <sys/param.h>. | |
733 | * config/i386/tm-fbsd.h: Likewise. | |
734 | ||
dd486634 AC |
735 | 2002-06-28 Andrew Cagney <[email protected]> |
736 | ||
737 | * rs6000-tdep.c (rs6000_gdbarch_init): Use | |
738 | generic_unwind_get_saved_register. | |
739 | ||
0b434a00 AC |
740 | 2002-06-27 Andrew Cagney <[email protected]> |
741 | ||
742 | From 2002-06-27 John David Anglin <[email protected]>: | |
743 | * regcache.c (supply_register): Add missing argument to | |
744 | register_buffer call. | |
745 | ||
f30e5a77 AC |
746 | 2002-06-27 Andrew Cagney <[email protected]> |
747 | ||
748 | * Makefile.in (init.c): Drop -e option to grep. Not necessary and | |
749 | Solaris /bin/grep does not not like it. From Peter Schauer. | |
750 | ||
9f064c95 TT |
751 | 2002-06-26 Tom Tromey <[email protected]> |
752 | ||
753 | * command.h (add_setshow_cmd): Declare. | |
754 | (add_setshow_cmd_full): Declare. | |
755 | * cli/cli-decode.c (add_setshow_cmd): No longer static. Now | |
756 | returns void. Use add_setshow_cmd_full. | |
757 | (add_setshow_cmd_full): New function. | |
758 | (add_setshow_auto_boolean_cmd): Use add_setshow_cmd_full. | |
759 | (add_setshow_boolean_cmd): Likewise. | |
760 | ||
099c7589 JT |
761 | 2002-06-26 Jason Thorpe <[email protected]> |
762 | ||
763 | * config/vax/tm-vax.h: Protect from multiple inclusion. | |
764 | (TARGET_UPAGES, TARGET_NBPG, STACK_END_ADDR) | |
765 | (SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Move to... | |
766 | * config/vax/tm-vaxbsd.h: ...here. New file. | |
767 | * config/vax/vax.mt (TM_FILE): Set to tm-vaxbsd.h. | |
768 | ||
1d049c5e JT |
769 | 2002-06-26 Jason Thorpe <[email protected]> |
770 | ||
771 | * config/vax/tm-vax.h (BREAKPOINT): Remove. | |
772 | (BELIEVE_PCC_PROMOTION): Remove. | |
773 | (AP_REGNUM): Move to... | |
774 | * config/vax/nm-vax.h: ...here. | |
775 | * vax-tdep.c: Use VAX_AP_REGNUM instead of AP_REGNUM. | |
776 | (vax_breakpoint_from_pc): New function. | |
777 | (vax_gdbarch_init): Initialize gdbarch_breakpoint_from_pc | |
778 | and gdbarch_believe_pcc_promotion. | |
779 | ||
4791e091 JT |
780 | 2002-06-26 Jason Thorpe <[email protected]> |
781 | ||
782 | * Makefile.in (vax_tdep_h): Define. | |
783 | (vax-tdep.o): Use $(vax_tdep_h). | |
784 | * vax-tdep.c (vax_gdbarch_init): Use generic OS ABI framework. | |
785 | (vax_dump_tdep): New function. | |
786 | (_initialize_vax_tdep): Register vax_dump_tdep. | |
787 | * vax-tdep.h: Include osabi.h. | |
788 | (struct gdbarch_tdep): New. | |
789 | ||
da130f98 AC |
790 | 2002-06-26 Andrew Cagney <[email protected]> |
791 | ||
792 | * frame.h (deprecated_generic_find_dummy_frame): Rename | |
793 | generic_find_dummy_frame. | |
794 | * blockframe.c (generic_find_dummy_frame): Make static. | |
795 | (deprecated_generic_find_dummy_frame): New function. | |
796 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace | |
797 | generic_find_dummy_frame with deprecated_find_dummy_frame. | |
798 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
799 | (sh_fp_frame_init_saved_regs): Ditto. | |
800 | * s390-tdep.c (s390_frame_saved_pc_nofix): Ditto. | |
801 | (s390_frame_chain): Ditto. | |
802 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
803 | ||
6300c360 GS |
804 | 2002-06-26 Grace Sainsbury <[email protected]> |
805 | ||
806 | * config/m68k/tm-m68k.h: Rearrange code so macros not in the | |
807 | gdbarch vector are at the top. | |
808 | (NUM_REGS): Remove. | |
809 | (FP_REGNUM, SP_REGNUM, PS_REGNUM, PC_REGNUM, FP0_REGNUM): Remove. | |
810 | (FRAME_ARGS_ADDRESS): Remove. | |
811 | (FRAME_LOCALS_ADDRESS): Remove. | |
812 | (FRAME_NUM_ARGS): Remove. | |
813 | (FRAME_ARGS_SKIP): Remove. | |
814 | * m68k-tdep.c (enum): Add eumeration of special register numbers. | |
815 | (m68k_gdbarch_init): Add gdbarch initializations for macros | |
816 | undefined in tm-m68k.h | |
817 | ||
1c617db8 GS |
818 | 2002-06-26 Grace Sainsbury <[email protected]> |
819 | ||
820 | * monitor.h: Add the function regname to monitor_ops | |
821 | structure. This way NUM_REGS does not have to be a constant. | |
822 | * monitor.c (monitor_fetch_register): Added support for regname | |
823 | function. The function is called if the array regnames is NULL. | |
824 | (monitor_store_register): Same. | |
da130f98 AC |
825 | * cpu32bug-rom.c (cpu32bug_regname): Add function. Replaces |
826 | regnames array. | |
1c617db8 GS |
827 | (init_cpu32bug_cmds): set cpu32bug_cmds.regnames to NULL, |
828 | cpu32bug_cmds.regname to point to new function. | |
829 | * abug-rom.c (abug_regname): Same as above. | |
830 | (init_abug_cmds): Same. | |
831 | * dbug-rom.c (dbug_regname): Same as above. | |
832 | (init_dbug_cmds): Same. | |
833 | * remote-est.c (est_regname): Same. | |
834 | (init_est_cmds): Same. | |
835 | * rom68k-rom.c (rom68k_regname): Same. | |
836 | (init_rom68k_cmds): Same. | |
837 | ||
ea9365bb TT |
838 | 2002-06-25 Tom Tromey <[email protected]> |
839 | ||
840 | * breakpoint.c (delete_command): Don't repeat `delete' commands. | |
841 | ||
72cec141 AC |
842 | 2002-06-25 Andrew Cagney <[email protected]> |
843 | ||
844 | * infrun.c (stop_registers): Change variable's type to ``struct | |
845 | regcache'''. | |
846 | (xmalloc_inferior_status): Delete function. | |
847 | (free_inferior_status): Delete function. | |
848 | (normal_stop): Use regcache_cpy. | |
849 | (struct inferior_status): Change type of fields ``stop_registers'' | |
850 | and ``registers'' to ``struct regcache''. | |
851 | (write_inferior_status_register): Use regcache_write. | |
852 | (save_inferior_status): Instead of calling | |
853 | xmalloc_inferior_status, allocate the inf_status buffer directly. | |
854 | Use regcache_dup_no_passthrough and regcache_dup to save the | |
855 | buffers. | |
856 | (restore_inferior_status): Use regcache_xfree and regcache_cpy. | |
857 | Replace the stop_registers regcache instead of overriding it. Use | |
858 | regcache_xfree. Instead of calling free_inferior_status, xfree | |
859 | the buffer directly. | |
860 | (discard_inferior_status): Use regcache_xfree. Instead of calling | |
861 | free_inferior_status, xfree the buffer directly. | |
862 | (build_infrun): Use regcache_xmalloc. | |
863 | (_initialize_infrun): Delete redundant call to build_infrun. | |
864 | ||
865 | * Makefile.in (infcmd.o): Add $(regcache_h). | |
866 | ||
867 | * infcmd.c: Include "regcache.h". | |
868 | (run_stack_dummy): Use deprecated_grub_regcache_for_registers to | |
869 | obtain the address of `stop_registers' register buffer. | |
870 | (print_return_value): Ditto. | |
871 | ||
872 | * inferior.h (struct regcache): Add opaque declaration. | |
873 | (stop_registers): Change variable's declared type to ``struct | |
874 | regcache''. | |
875 | ||
defc6f8c TT |
876 | 2002-06-24 Tom Tromey <[email protected]> |
877 | ||
c0e624e7 TT |
878 | * cli/cli-decode.c (add_show_from_set): Fixed typo in comment. |
879 | * target.c (initialize_targets): Fixed typo in | |
880 | trust-readonly-sections `show' documentation. | |
881 | ||
defc6f8c TT |
882 | * main.c: Marked all strings with _(). |
883 | ||
2b236d82 DH |
884 | 2002-06-24 Don Howard <[email protected]> |
885 | ||
886 | * memattr.c (create_mem_region): Treat hi == 0 as a special case | |
887 | that means max CORE_ADDR+1. | |
888 | (lookup_mem_region): Ditto. | |
889 | (mem_info_command): Ditto. | |
890 | ||
942dc0e9 GS |
891 | 2002-06-24 Grace Sainsbury <[email protected]> |
892 | ||
893 | * config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove. | |
894 | (REGISTER_BYTES_OK): Remove. | |
895 | (REGISTER_BYTES): Remove. | |
896 | (STORE_STRUCT_RETURN): Remove. | |
897 | (DEPRECATED_EXTRACT_RETURN_VALUE): Remove. | |
898 | (STORE_RETURN_VALUE): Remove. | |
899 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
900 | (FRAME_CHAIN): Remove. | |
901 | (FRAMELESS_FUNCTION_INVOCATION): Remove. | |
902 | (FRAME_SAVED_PC): Remove. | |
903 | * m68k-tdep.c (m68k_register_bytes_ok):Add. | |
904 | (m68k_store_struct_return): Add. | |
905 | (m68k_deprecated_extract_return_value): Add. | |
906 | (m68k_deprecated_extract_struct_value_address): Add. | |
907 | (m68k_store_return_value): Add. | |
908 | (m68k_frame_chain): Add. | |
909 | (m68k_frameless_function_invocation): Add. | |
910 | (m68k_frame_saved_pc): Add. | |
911 | (m68k_gdbarch_init): added set_gdbarch calls for new | |
912 | functions and deleted macros. | |
913 | ||
03c30d4d TT |
914 | 2002-06-23 Tom Tromey <[email protected]> |
915 | ||
916 | * Makefile.in (HFILES_NO_SRCDIR): Remove old files. | |
917 | (ALLDEPFILES): Likewise. | |
918 | (udiheaders): Removed. | |
919 | (udip2soc.o): Likewise. | |
920 | (udi2go32.o): Likewise. | |
921 | (udr.o): Likewise. | |
922 | (HFILES_WITH_SRCDIR): Don't mention udiheaders. | |
923 | ||
37e71372 AC |
924 | 2002-06-22 Andrew Cagney <[email protected]> |
925 | ||
06a6ac57 AC |
926 | * infrun.c (_initialize_infrun): Delete unnecessary call to |
927 | build_infrun. | |
928 | ||
37e71372 AC |
929 | * regcache.h: Update comments describing the regcache_cpy family |
930 | of functions. | |
931 | (regcache_save, regcache_restore): Delete declaration. | |
932 | (regcache_save_no_passthrough): Delete declaration. | |
933 | (regcache_restore_no_passthrough): Delete declaration. | |
934 | * regcache.c (regcache_save): Delete function. | |
935 | (regcache_save_no_passthrough): Delete function. | |
936 | (regcache_restore): Delete function. | |
937 | (regcache_restore_no_passthrough): Delete function. | |
938 | ||
78f6d055 AC |
939 | 2002-06-21 Andrew Cagney <[email protected]> |
940 | ||
941 | * config/m68k/tm-m68k.h: Fix typo. | |
942 | (FRAME_INIT_SAVED_REGS): Define when non-multi-arch. | |
943 | (m68k_frame_init_saved_regs): Declare. | |
944 | ||
78b119cb JB |
945 | 2002-06-21 Jim Blandy <[email protected]> |
946 | ||
947 | Remove some vestiges of Harris 88k support. | |
948 | * dwarf2read.c (decode_locdesc): Remove `#if' block for Harris 88k | |
949 | register numbering quirk. | |
950 | * elfread.c (elf_symtab_read): Remove `#if' block for skipping | |
951 | odd symbols occurring in Harris 88k ELF targets. | |
952 | ||
0fbb3da7 TT |
953 | 2002-06-21 Tom Tromey <[email protected]> |
954 | ||
955 | * gdb_locale.h: New file. | |
956 | * Makefile.in (GDB_CFLAGS): Define LOCALEDIR. | |
957 | (defs_h): Added gdb_locale.h. | |
958 | * configure, config.in: Rebuilt. | |
959 | * configure.in (PACKAGE): Define. | |
960 | * defs.h: Include gdb_locale.h. | |
961 | * main.c (captured_main): Call setlocale, bindtextdomain, | |
962 | textdomain. | |
963 | ||
456f8b9d DB |
964 | 2002-06-21 Dave Brolley <[email protected]> |
965 | ||
966 | From Stan Shebs, Jim Blandy, Mark Salter, Kevin Buettner: | |
967 | * config/frv/frv.mt: New file. | |
968 | * config/frv/tm-frv.h: New file. | |
969 | * configure.tgt: Support frv-*-*. | |
970 | * Makefile.in (frv-tdep.o): New target. | |
971 | * frv-tdep.c: New file. | |
972 | * NEWS: Mention frv. | |
973 | ||
cdd463f9 DB |
974 | 2002-06-21 Dave Brolley <[email protected]> |
975 | ||
976 | * MAINTAINERS: Add self to "Write After Approval" list. | |
977 | ||
5d3ed2e3 GS |
978 | 2002-06-21 Grace Sainsbury <[email protected]> |
979 | ||
980 | * config/m68k/tm-m68k.h (REGISTER_BYTE, REGISTER_RAW_SIZE) | |
981 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
982 | (REGISTER_VIRTUAL_TYPE, REGISTER_NAMES, TARGET_LONG_DOUBLE_FORMAT) | |
983 | (FUNCTION_START_OFFSET, SKIP_PROLOGUE, SAVED_PC_AFTER_CALL) | |
984 | (INNER_THAN, STACK_ALIGN, REGISTER_SIZE): Remove macros. | |
985 | ||
986 | * m68k-tdep.c: Include arch-utils.h | |
987 | (m68k_register_raw_size): Add. | |
988 | (m68k_register_virtual_size): Add. | |
989 | (m68k_register_virtual_type): Add. | |
990 | (m68k_register_name): Add. | |
991 | (m68k_stack_align): Add. | |
992 | (m68k_register_byte): Add. | |
993 | (m68k_gdbarch_init): Add set_gdbarch calls for macros removed in | |
994 | tm-m68k.h. | |
995 | ||
7f8e7424 GS |
996 | 2002-06-21 Grace Sainsbury <[email protected]> |
997 | ||
a2c6a6d5 | 998 | * m68k-tdep.c (m68k_frame_init_saved_regs): Replace |
7f8e7424 GS |
999 | m68k_find_saved_regs. |
1000 | (m68k_pop_frame): Removed saved_regs structure, and replaced | |
5d3ed2e3 | 1001 | references to it with frame->saved_regs. |
7f8e7424 GS |
1002 | (m68k_gdbarch_init): Added function calls to initialize the |
1003 | gdbarch structure. | |
a2c6a6d5 GS |
1004 | (m68k_fix_call_dummy): Add. |
1005 | * config/m68k/tm-m68k.h: (FRAME_FIND_SAVED_REGS): Remove. | |
1006 | (CALL_DUMMY): Remove. | |
1007 | (CALL_DUMMY_LENGTH): Remove. | |
1008 | (CALL_DUMMY_START_OFFSET): Remove. | |
1009 | (CALL_DUMMY_BREAKPOINT_OFFSET): Remove. | |
1010 | (FIX_CALL_DUMMY): Remove. | |
1011 | (PUSH_DUMMY_FRAME): Remove. | |
1012 | (POP_FRAME): Remove. | |
7f8e7424 | 1013 | |
f461f5cf PM |
1014 | 2002-06-19 Pierre Muller <[email protected]> |
1015 | ||
1016 | * parse.c (parse_fprintf): New function used to avoid calls to | |
1017 | fprintf in bison parser generated debug code. | |
1018 | * parser-defs.h: Declaration of new parse_fprintf function. | |
1019 | * ada-exp.y, c-exp.y, f-exp.y, jv-exp.y, m2-exp.y, p-exp.y: | |
1020 | Set YYDEBUG to 1 by default. | |
1021 | Set YYFPRINTF as parse_fprintf. | |
1022 | ||
7f0c12ed ML |
1023 | 2002-06-21 Michal Ludvig <[email protected]> |
1024 | ||
1025 | * dwarf2cfi.c (read_encoded_pointer): Don't handle pointer | |
1026 | encoding anymore. | |
1027 | (pointer_encoding, enum ptr_encoding): New. | |
1028 | (execute_cfa_program): Take care about pointer encoding. | |
1029 | (dwarf2_build_frame_info): Only call parse_frame_info for | |
1030 | .debug_frame and .eh_frame. | |
1031 | (parse_frame_info): New, derived from former dwarf2_build_frame_info. | |
1032 | fixed augmentation handling, added relative addressing, | |
1033 | ignore duplicate FDEs. Added comments. | |
19d833a2 | 1034 | * dwarf2cfi.c: Reindented. |
7f0c12ed | 1035 | |
87c4a039 EZ |
1036 | 2002-06-20 Elena Zannoni <[email protected]> |
1037 | ||
1038 | * event-top.c (command_handler): Don't use space_at_cmd_start | |
1039 | unless there is sbrk() on the host. Assign time and space data | |
1040 | to union fields of the appropriate length. | |
1041 | ||
1cf877ad ML |
1042 | 2002-06-20 Michal Ludvig <[email protected]> |
1043 | ||
1044 | * x86-64-tdep.c (x86_64_register_nr2name): Rename to | |
1045 | x86_64_register_name. Return type changed to 'const char *'. | |
1046 | (x86_64_register_name2nr): Rename to x86_64_register_number. | |
1047 | (x86_64_gdbarch_init): Update to reflect the change. | |
1048 | * x86-64-tdep.h: Ditto. | |
1049 | * x86-64-linux-nat.c (x86_64_fxsave_offset) | |
1050 | (supply_fpregset): Ditto. | |
1051 | ||
3fadccb3 AC |
1052 | 2002-06-19 Andrew Cagney <[email protected]> |
1053 | ||
1054 | * regcache.h: Update copyright. | |
1055 | (struct regcache, struct gdbarch): Add opaque declarations. | |
1056 | (current_regcache): Declare global variable. | |
1057 | (regcache_read, regcache_write): Add gdbarch parameter. | |
1058 | (regcache_save, regcache_save_no_passthrough) | |
1059 | (regcache_restore, regcache_restore_no_passthrough) | |
1060 | (regcache_dup, regcache_dup_no_passthrough) | |
1061 | (regcache_cpy, regcache_cpy_no_passthrough) | |
1062 | (deprecated_grub_regcache_for_registers) | |
1063 | (deprecated_grub_regcache_for_register_valid) | |
1064 | (regcache_valid_p): Add function declarations. | |
1065 | ||
1066 | * regcache.c: Update copyright. | |
1067 | (regcache_descr_handle): New global variable. | |
1068 | (struct regcache_descr): Define. | |
1069 | (init_legacy_regcache_descr, init_regcache_descr): New functions. | |
1070 | (regcache_descr, xfree_regcache_descr): New functions. | |
1071 | (struct regcache): Define. | |
1072 | (regcache_xmalloc, regcache_xfree): New functions. | |
1073 | (regcache_cpy, regcache_cpy_no_passthrough): New functions. | |
1074 | (regcache_dup, regcache_dup_no_passthrough): New functions. | |
1075 | (regcache_valid_p, regcache_read_as_address): New functions. | |
1076 | (deprecated_grub_regcache_for_registers): New function. | |
1077 | (deprecated_grub_regcache_for_register_valid): New function. | |
1078 | (current_regcache): New global variable. | |
1079 | (register_buffer): Add regcache parameter. Update calls. | |
1080 | (regcache_read, regcache_write): Add regcache parameter. Rewrite. | |
1081 | (read_register_gen, write_register_gen): Update register_buffer | |
1082 | call. Test for legacy_p instead of gdbarch_register_read_p or | |
1083 | gdbarch_register_write_p. | |
1084 | (regcache_collect): Update register_buffer call. | |
1085 | (build_regcache): Rewrite. Use deprecated grub functions. | |
1086 | (regcache_save, regcache_save_no_passthrough): New functions. | |
1087 | (regcache_restore, regcache_restore_no_passthrough): New | |
1088 | functions. | |
1089 | (_initialize_regcache): Create the regcache_data_handle. Swap | |
1090 | current_regcache global variable. | |
1091 | ||
1092 | * sh-tdep.c (sh_pseudo_register_read): Add current_regcache | |
1093 | parameter to regcache_read and regcache_write calls. | |
1094 | (sh4_register_read): Ditto. | |
1095 | (sh64_pseudo_register_read): Ditto. | |
1096 | (sh64_register_read): Ditto. | |
1097 | (sh_pseudo_register_write): Ditto. | |
1098 | (sh4_register_write): Ditto. | |
1099 | (sh64_pseudo_register_write): Ditto. | |
1100 | (sh64_register_write): Ditto. | |
1101 | ||
1102 | * defs.h (XCALLOC): Define. | |
1103 | ||
152d9db6 GS |
1104 | 2002-06-19 Grace Sainsbury <[email protected]> |
1105 | ||
1106 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Added (set to 0). | |
1107 | * m68k-tdep.c (m68k_gdbarch_init): Added. | |
1108 | (m68k_dump_tdep): Added. | |
1109 | ||
170911c7 DJ |
1110 | 2002-06-19 Daniel Jacobowitz <[email protected]> |
1111 | ||
1112 | * ada-lang.c (fill_in_ada_prototype): Update comment. | |
1113 | ||
2e4ebe70 DJ |
1114 | 2002-06-19 Daniel Jacobowitz <[email protected]> |
1115 | ||
1116 | * mips-tdep.c (enum mips_abi): Explicitly start at 0. Add | |
1117 | MIPS_ABI_LAST. | |
1118 | (mips_abi_string, mips_abi_strings): New. | |
1119 | (struct gdbarch_tdep): Remove mips_abi_string, add found_abi. | |
1120 | (mips_gdbarch_init): Set tdep->found_abi. Don't set | |
1121 | tdep->mips_abi_string. Honor mips_abi_string. Default to | |
1122 | O32 if no ABI is found. | |
1123 | (mips_dump_tdep): Use mips_abi_strings. | |
1124 | (mips_abi_update): New function. | |
1125 | (_initialize_mips_tdep): Initialize mips_abi_string. Add | |
1126 | ``set mips abi'' and ``show mips abi''. Check the size of | |
1127 | mips_abi_strings. | |
1128 | ||
16775908 AC |
1129 | 2002-06-19 Andrew Cagney <[email protected]> |
1130 | ||
1131 | * i386-linux-tdep.c (i386_linux_register_name): Make return type | |
1132 | constant. | |
1133 | ||
5051bfa4 | 1134 | 2002-06-18 Joel Brobecker <[email protected]> |
16775908 | 1135 | |
5051bfa4 JB |
1136 | * alpha-tdep.c (heuristic_proc_desc): Compute the size of the |
1137 | current frame using only the first stack size adjustment. All | |
1138 | subsequent size adjustments are not considered to be part of | |
1139 | the "static" part of the current frame. | |
1140 | Compute the address of the saved registers relative to the | |
1141 | Frame Pointer ($fp) instead of the Stack Pointer if $fp is | |
1142 | in use in this frame. | |
1143 | ||
56468235 DH |
1144 | 2002-06-18 Don Howard <[email protected]> |
1145 | ||
1146 | * valops.c (value_ind): Use value_at_lazy() when dereferencing | |
1147 | type int expressions. Thanks to Jim Blandy <[email protected]> for | |
1148 | suggesting this solution. | |
1149 | ||
0b624158 AC |
1150 | 2002-06-18 Andrew Cagney <[email protected]> |
1151 | ||
1152 | * config/romp/xm-rtbsd.h: Delete file. | |
1153 | * config/romp/rtbsd.mh: Delete file. | |
1154 | ||
221ea385 KS |
1155 | 2002-06-18 Keith Seitz <[email protected]> |
1156 | ||
1157 | * breakpoint.c (condition_command): Post breakpoint_modify | |
1158 | when a condition is added to an existing breakpoint. | |
1159 | (commands_command): Likewise for commands. | |
1160 | (set_ignore_count): Likewise for ignore counts. | |
1161 | If no tty, do not simply return, still need to send event | |
1162 | notification. | |
1163 | (ignore_command): Only print a newline if the command came | |
1164 | from a tty. | |
1165 | Don't call breakpoints_changed, since this is now properly | |
1166 | handled by set_ignore_count. | |
1167 | ||
5402eed1 AC |
1168 | 2002-06-18 Andrew Cagney <[email protected]> |
1169 | ||
1170 | * MAINTAINERS: Note that cris-elf target can be compiled with | |
1171 | -Werror. | |
1172 | * cris-tdep.c (cris_register_name): Make return type constant. | |
1173 | (cris_breakpoint_from_pc): Ditto. | |
1174 | ||
cc22880b ML |
1175 | 2002-06-18 Michal Ludvig <[email protected]> |
1176 | ||
1177 | * frame.h (struct frame_info): Change type of context to | |
1178 | 'struct context'. | |
1179 | ||
fa88f677 AC |
1180 | 2002-06-17 Andrew Cagney <[email protected]> |
1181 | ||
1182 | * gdbarch.sh (REGISTER_NAME): Change return type a constant string | |
1183 | pointer. | |
1184 | * gdbarch.h, gdbarch.c: Regenerate. | |
1185 | * config/mips/tm-mips.h (mips_register_name): Update. | |
1186 | * i386-tdep.h (i386_register_name): Update. | |
1187 | * mips-tdep.c (mips_register_name): Update | |
1188 | * alpha-tdep.c (alpha_register_name): Update. | |
1189 | * arch-utils.c (legacy_register_name): Update. | |
1190 | * arch-utils.h (legacy_register_name): Update. | |
1191 | * avr-tdep.c (avr_register_name): Update. | |
1192 | * ia64-tdep.c (ia64_register_name): Update. | |
1193 | * i386-tdep.c (i386_register_name): Update. | |
1194 | * sparc-tdep.c (sparc32_register_name): Update. | |
1195 | (sparc64_register_name): Update. | |
1196 | (sparclite_register_name): Update. | |
1197 | (sparclet_register_name): Update. | |
1198 | * sh-tdep.c (sh_generic_register_name): Update. | |
1199 | (sh_sh_register_name): Update. | |
1200 | (sh_sh3_register_name): Update. | |
1201 | (sh_sh3e_register_name): Update. | |
1202 | (sh_sh_dsp_register_name): Update. | |
1203 | (sh_sh3_dsp_register_name): Update. | |
1204 | (sh_sh4_register_name): Update. | |
1205 | (sh_sh64_register_name): Update. | |
1206 | * s390-tdep.c (s390_register_name): Update. | |
1207 | * rs6000-tdep.c (rs6000_register_name): Update. | |
1208 | * ns32k-tdep.c (ns32k_register_name_32082): Update. | |
1209 | (ns32k_register_name_32382): Update. | |
1210 | * d10v-tdep.c (d10v_ts2_register_name): Update. | |
1211 | (d10v_ts3_register_name): Update. | |
1212 | * xstormy16-tdep.c (xstormy16_register_name): Update. | |
1213 | * vax-tdep.c (vax_register_name): Update. | |
1214 | * v850-tdep.c (v850_register_name): Update. | |
1215 | * m68hc11-tdep.c (m68hc11_register_name): Update. | |
1216 | * mn10300-tdep.c (mn10300_generic_register_name): Update. | |
1217 | (am33_register_name): Update. | |
1218 | ||
ea1e7ef6 GS |
1219 | 2002-06-17 Grace Sainsbury <[email protected]> |
1220 | ||
1221 | * m68k-tdep.c: Reindented. | |
1222 | ||
9b02dd1b AC |
1223 | 2002-06-17 Andrew Cagney <[email protected]> |
1224 | ||
1225 | * gdb_indent.sh: Add prgregset_t, fpregset_t, and gregset_t to the | |
1226 | list of predefined types. | |
1227 | ||
8758dec1 MK |
1228 | 2002-06-16 Mark Kettenis <[email protected]> |
1229 | ||
b6197528 MK |
1230 | * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE, |
1231 | REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, | |
1232 | REGISTER_CONVERT_TO_RAW): Remove defines. | |
1233 | (i386_register_virtual_type, i386_register_convertible, | |
1234 | i386_register_convert_to_virtual, i386_register_convert_to_raw): | |
1235 | Remove prototypes. | |
1236 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
1237 | macros mentioned above. | |
1238 | ||
82b47e62 MK |
1239 | * config/i386/tm-i386lynx.h (SAVED_PC_AFTER_CALL): Remove define. |
1240 | (i386lynx_saved_pc_after_call): Remove prototype. | |
1241 | * i386ly-tdep.c: Include "i386-tdep.h". | |
1242 | (i386lynx_saved_pc_after_call): Make static. Use | |
1243 | read_memory_nobpt instead of read_memory. Use | |
1244 | read_memory_unsigned_integer instead of read_memory_integer. | |
1245 | (i386lynx_init_abi): New function. | |
1246 | (i386lynx_coff_osabi_sniffer): New function. | |
1247 | (_initialize_i386bsd_tdep): New function. | |
1248 | ||
8758dec1 MK |
1249 | * config/i386/tm-i386.h (PARM_BOUNDARY, CALL_DUMMY, |
1250 | CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET, | |
1251 | CALL_DUMMY_BREAKPOINT_OFFSET, FIX_CALL_DUMMY): Remove defines. | |
1252 | (i386_fix_call_dummy): Remove prototype. | |
1253 | * i386-tdep.c (i386_call_dummy_words): New variable. | |
1254 | (i386_gdbarch_init): Adjust for removal of the | |
1255 | macros mentioned above. | |
1256 | ||
e9e68a56 AC |
1257 | 2002-06-15 Andrew Cagney <[email protected]> |
1258 | ||
1259 | * command.h (add_setshow_auto_boolean_cmd): Replace | |
1260 | add_set_auto_boolean_cmd. | |
1261 | * cli/cli-decode.c (add_setshow_auto_boolean_cmd): Replace | |
1262 | add_set_auto_boolean_cmd. | |
1263 | * cli/cli-decode.h (add_set_auto_boolean_cmd): Delete declaration. | |
1264 | * mips-tdep.c (_initialize_mips_tdep): Update ``set mips | |
1265 | mask-address'' command. | |
1266 | (show_mask_address): Add cmd parameter. | |
1267 | * remote.c (add_packet_config_cmd): Update. Change type of | |
1268 | set_func and show_func to cmd_sfunc_ftype. | |
1269 | (_initialize_remote): Update `set remote Z-packet' | |
1270 | (show_remote_protocol_qSymbol_packet_cmd): Add cmd parameter. | |
1271 | (show_remote_protocol_e_packet_cmd): Ditto. | |
1272 | (show_remote_protocol_E_packet_cmd): Ditto. | |
1273 | (show_remote_protocol_P_packet_cmd): Ditto. | |
1274 | (show_remote_protocol_Z_software_bp_packet_cmd): Ditto. | |
1275 | (show_remote_protocol_Z_hardware_bp_packet_cmd): Ditto. | |
1276 | (show_remote_protocol_Z_write_wp_packet_cmd): Ditto. | |
1277 | (show_remote_protocol_Z_read_wp_packet_cmd): Ditto. | |
1278 | (show_remote_protocol_Z_access_wp_packet_cmd): Ditto. | |
1279 | (show_remote_protocol_Z_packet_cmd): Ditto. | |
1280 | (show_remote_protocol_binary_download_cmd): Ditto. | |
1281 | (show_remote_cmd): Pass NULL to all of above. | |
1282 | ||
fc08ec52 MK |
1283 | 2002-06-15 Mark Kettenis <[email protected]> |
1284 | ||
1285 | * config/i386/tm-i386.h (PUSH_ARGUMENTS, STORE_STRUCT_RETURN, | |
1286 | DEPRECATED_EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, | |
1287 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS, PUSH_DUMMY_FRAME, | |
1288 | POP_FRAME): Remove defines. | |
1289 | (i386_push_arguments, i386_store_struct_return, | |
1290 | i386_extract_return_value, i386_store_return_value, | |
1291 | i386_extract_struct_value_address, i386_push_dummy_frame, | |
1292 | i386_pop_frame): Renove prototypes. | |
1293 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
1294 | macros mentioned above. | |
1295 | ||
e707bbc2 AC |
1296 | 2002-06-15 Andrew Cagney <[email protected]> |
1297 | ||
1298 | * cli/cli-decode.c (add_setshow_boolean_cmd): Replace | |
1299 | add_set_boolean_cmd. | |
1300 | (add_setshow_cmd): New function. | |
1301 | * command.h (add_setshow_boolean_cmd): Replace | |
1302 | add_set_boolean_cmd. | |
1303 | * remote-rdi.c (_initialize_remote_rdi): Update ``set rdiheartbeat'' | |
1304 | and ``set rdiromatzero''. | |
1305 | * maint.c (_initialize_maint_cmds): Update commented out code. | |
1306 | * cli/cli-decode.h (add_set_boolean_cmd): Delete declaration. | |
1307 | * target.c (initialize_targets): Update `set | |
1308 | trust-readonly-sections'. | |
1309 | * remote.c (_initialize_remote): Update `set remotebreak'. | |
1310 | ||
42fdc8df MK |
1311 | 2002-06-15 Mark Kettenis <[email protected]> |
1312 | ||
93924b6b MK |
1313 | * config/i386/tm-i386.h (FUNCTION_START_OFFSET, INNER_THAN, |
1314 | BREAKPOINT, DECR_PC_AFTER_BREAK): Removed. | |
1315 | * i386-tdep.c (i386_skip_prologue): Adjust function signature to | |
1316 | fit into multi-arch framework. | |
1317 | (i386_breakpoint_from_pc): New function. | |
1318 | (i386_gdbarch_init): Adjust for removal of the macros mentioned | |
1319 | above. | |
1320 | ||
42fdc8df MK |
1321 | * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION, |
1322 | FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, | |
1323 | FRAME_ARGS_SKIP, FRAME_INIT_SAVED_REGS): Remove defines. | |
1324 | (i386_frameless_function_invocation, i386_frame_num_args, | |
1325 | i386_frame_init_saved_regs): Remove prototypes. | |
1326 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
1327 | macros mentioned above. | |
1328 | ||
9773a94b AC |
1329 | 2002-06-15 Andrew Cagney <[email protected]> |
1330 | ||
1331 | * cli/cli-decode.c (set_cmd_cfunc): Update. | |
1332 | (set_cmd_sfunc): Update. | |
1333 | * command.h (cmd_cfunc_ftype, cmd_sfunc_ftype): Declare. | |
1334 | (set_cmd_sfunc, set_cmd_cfunc): Update. | |
1335 | * cli/cli-decode.h: Update. | |
1336 | ||
6e157172 MK |
1337 | 2002-06-15 Mark Kettenis <[email protected]> |
1338 | ||
1339 | * i386-sol2-tdep.c (i386_sol2_osabi_sniffer): New function. | |
1340 | (_initialize_i386_sol2_tdep): Register i386_sol2_osabi_sniffer. | |
1341 | ||
7f19b9a2 AC |
1342 | 2002-06-15 Andrew Cagney <[email protected]> |
1343 | ||
1344 | * defs.h (auto_boolean): Declare enum. | |
1345 | * command.h (cmd_auto_boolean): Delete enum. | |
1346 | * mips-tdep.c (mask_address_var): Update. | |
1347 | (mips_mask_address_p): Update. | |
1348 | (show_mask_address): Update. | |
1349 | * remote.c (struct packet_config): Update. | |
1350 | (update_packet_config): Update. | |
1351 | (show_packet_config_cmd): Update. | |
1352 | (packet_ok): Update. | |
1353 | (add_packet_config_cmd): Update. | |
1354 | (_initialize_remote): | |
1355 | * command.h: Update. | |
1356 | * cli/cli-setshow.c (parse_auto_binary_operation): Update. | |
1357 | (do_setshow_command): Update. | |
1358 | * cli/cli-decode.c (add_set_auto_boolean_cmd): Update. | |
1359 | * cli/cli-decode.h: Update. | |
1360 | ||
1cf88de5 MK |
1361 | 2002-06-15 Mark Kettenis <[email protected]> |
1362 | ||
22ba8cf2 MK |
1363 | * config/i386/tm-cygwin.h, config/i386/tm-fbsd.h, |
1364 | config/i386/tm-go32.h, config/i386/tm-i386gnu.h, | |
1365 | config/i386/tm-i386sol2.h, config/i386/tm-i386v4.h, | |
1366 | config/i386/tm-linux.h, config/i386/tm-nbsd.h, | |
1367 | config/i386/tm-obsd.h (HAVE_I387_REGS): Remove define. | |
1368 | * config/i386/tm-i386.h: Unconditionally define FLOAT_INFO. | |
1369 | ||
762c5349 MK |
1370 | * i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the |
1371 | list of DJGPP COFF targets. | |
1372 | ||
091198bb MK |
1373 | * config/i386/tm-i386.h (REGISTER_SIZE): Remove define. |
1374 | (NUM_GREGS, NUM_FREGS, NUM_SSE_REGS): Remove defines. | |
1375 | (FP_REGNUM, SP_REGNUM, PC_REGNUM, PS_REGNUM): Remove defines. | |
1376 | (FP0_REGNUM): Remove define. | |
1377 | (MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE, | |
1378 | MAX_REGISTER_VIRTUAL_SIZE): Remove define. | |
1379 | (i386_register_virtual_size): Remove protoype. | |
1380 | * i386-tdep.c (i386_register_virtual_size): Removed. | |
1381 | (i386_extract_return_value, i386_store_return_value): Use | |
1382 | FP0_REGNUM instead of NUM_FREGS to determine whether the | |
1383 | floating-point registers are available. | |
1384 | (i386_gdbarch_init): Tweak FIXME about FPU registers. | |
1385 | Adjust for removal of macros mentioned above. | |
1386 | ||
1387 | 2002-06-15 Mark Kettenis <[email protected]> | |
1388 | ||
fcc9bf01 MK |
1389 | * i386v4-nat.c: Include "i386-tdep.h". Reformat and tweak various |
1390 | comments. | |
1391 | (fill_gregset, supply_gregset, supply_fpregset, fill_fpregset): | |
1392 | Remove prototypes. | |
1393 | (supply_gregset, fill_gregset): Remove use of register keyword and | |
1394 | remove declaration for regmap. Use I386_NUM_GREGS instead of | |
1395 | NUM_REGS and NUM_FREGS. | |
1396 | (FPREGSET_FSAVE_OFFSET): Remove. | |
1397 | (supply_fpregset, fill_fpregset): Use FPO_REGNUM instead of | |
1398 | NUM_FREGS to determine whether the floating-point registers are | |
1399 | available. | |
1400 | ||
65e78234 MK |
1401 | * i386gnu-nat.c (supply_gregset, gnu_fetch_registers, |
1402 | gnu_store_registers): Replace usage of NUM_GREGS with | |
1403 | I386_NUM_GREGS. | |
1404 | ||
98df6387 MK |
1405 | * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER, |
1406 | OLD_CANNOT_STORE_REGISTER, supply_gregset, fill_gregset): Replace | |
1407 | usage of NUM_GREGS with I386_NUM_GREGS. | |
1408 | ||
099a9414 MK |
1409 | * i386-linux-nat.c (fill_gregset): Remove redundant parentheses. |
1410 | ||
57976e88 MK |
1411 | * i386bsd-nat.c: Include "i386-tdep.h". |
1412 | (supply_gregset, fill_gregset): Replace usage of NUM_GREGS with | |
1413 | I386_NUM_GREGS. | |
1414 | ||
b335f4a6 MK |
1415 | * i386v-nat.c: Remove copnditional inclusion of <asm/debugreg.h>, |
1416 | and associated comment. They no longer make any sense, since we | |
1417 | don't use this file anymore on Linux. | |
1418 | ||
1cf88de5 MK |
1419 | * config/i386/tm-i386.h (MAX_NUM_REGS): Removed. |
1420 | * i386-tdep.c (i386_register_offset, i386_register_size): Use | |
1421 | I386_SSE_NUM_REGS instead of MAX_NUM_REGS for the number of | |
1422 | elements in these arrays. | |
1423 | (_initialize_i386_tdep): Use I386_SSE_NUM_REGS instead of | |
1424 | MAX_NUM_REGS. | |
1425 | ||
daa66587 MK |
1426 | 2002-06-15 Mark Kettenis <[email protected]> |
1427 | ||
1428 | * osabi.h (gdb_osabi): Add GDB_OSABI_LYNXOS. | |
1429 | * osabi.c (gdb_osabi_names): Add entry for "LynxOS". | |
1430 | ||
26e9b323 AC |
1431 | 2002-06-14 Andrew Cagney <[email protected]> |
1432 | ||
1433 | * gdbarch.sh (DEPRECATED_EXTRACT_RETURN_VALUE): Rename | |
1434 | EXTRACT_RETURN_VALUE. | |
1435 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Rename | |
1436 | EXTRACT_STRUCT_VALUE_ADDRESS. | |
1437 | * gdbarch.h, gdbarch.c: Regenerate. | |
1438 | ||
1439 | * values.c (value_being_returned): Handle | |
1440 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
1441 | (EXTRACT_RETURN_VALUE): Define as DEPRECATED_EXTRACT_RETURN_VALUE. | |
1442 | ||
1443 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
1444 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1445 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1446 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1447 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
1448 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1449 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1450 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1451 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1452 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1453 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1454 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1455 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
1456 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1457 | * vax-tdep.c (vax_gdbarch_init): Update. | |
1458 | * x86-64-tdep.c (x86_64_gdbarch_init): Update. | |
1459 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1460 | ||
1461 | * config/arc/tm-arc.h: Update. | |
1462 | * config/d30v/tm-d30v.h: Update. | |
1463 | * config/fr30/tm-fr30.h: Update. | |
1464 | * config/h8300/tm-h8300.h: Update. | |
1465 | * config/h8500/tm-h8500.h: Update. | |
1466 | * config/i386/tm-i386.h: Update. | |
1467 | * config/i386/tm-ptx.h: Update. | |
1468 | * config/i386/tm-symmetry.h: Update. | |
1469 | * config/i960/tm-i960.h: Update. | |
1470 | * config/m32r/tm-m32r.h: Update. | |
1471 | * config/m68k/tm-delta68.h: Update. | |
1472 | * config/m68k/tm-linux.h: Update. | |
1473 | * config/m68k/tm-m68k.h: Update. | |
1474 | * config/m88k/tm-m88k.h: Update. | |
1475 | * config/mcore/tm-mcore.h: Update. | |
1476 | * config/mips/tm-mips.h: Update. | |
1477 | * config/mn10200/tm-mn10200.h: Update. | |
1478 | * config/pa/tm-hppa.h: Update. | |
1479 | * config/pa/tm-hppa64.h: Update. | |
1480 | * config/sparc/tm-sp64.h: Update. | |
1481 | * config/sparc/tm-sparc.h: Update. | |
1482 | * config/sparc/tm-sparclet.h: Update. | |
1483 | * config/z8k/tm-z8k.h: Update. | |
1484 | ||
5179e78f AC |
1485 | 2002-06-14 Andrew Cagney <[email protected]> |
1486 | ||
1487 | * Makefile.in (i386_linux_tdep_h): Define. | |
1488 | (i386_tdep_h, i387_tdep_h): Define. | |
1489 | (i386-linux-nat.o): Add $(i386_linux_tdep_h), | |
1490 | $(i386_tdep_h) and $(i387_tdep_h). | |
1491 | * i386-linux-nat.c: Include "i386-linux-tdep.h". | |
1492 | ||
8201327c MK |
1493 | 2002-06-14 Mark Kettenis <[email protected]> |
1494 | ||
edf393ac MK |
1495 | * config/i386/tm-i386.h (START_INFERIOR_TRAPS_EXPECTED): Removed. |
1496 | Already covered by the default. | |
1497 | ||
896fb97d MK |
1498 | * config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT, |
1499 | TARGET_LONG_DOUBLE_BIT): Remove. * i386-tdep.c | |
1500 | (i386_gdbarch_init): Initialize long_double_format and long_double | |
1501 | bit. | |
1502 | ||
8201327c MK |
1503 | * config/i386/i386sol2.mt (TDEPFILES): Add i386-sol2-tdep.o and |
1504 | i386bsd-tdep.o. Remove solib.o, solib-svr4.o and solib-legacy.o. | |
1505 | Move these to ... | |
1506 | * config/i386/i386sol2.mh: ... here. | |
1507 | * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Remove define. | |
1508 | (sigtramp_saved_pc, I386V4_SIGTRAMP_SAVED_PC): Don't #undef. | |
1509 | (SIGCONTEXT_PC_OFFSET): Remove define. | |
1510 | (IN_SIGTRAMP): Remove define. | |
1511 | * i386-sol2-tdep.c: New file. | |
1512 | ||
1513 | * config/i386/i386nw.mt (TM_FILE): Change to tm-i386.h. | |
1514 | * config/i386/tm-i386nw.h: Removed. | |
1515 | ||
1516 | * config/i386/tm-fbsd.h (STAB_REG_TO_REGNUM, | |
1517 | USE_STRUCT_CONVENTION): Remove defines. | |
1518 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
1519 | (get_longjmp_target): Remove prototype. | |
1520 | (IN_SIGTRAMP): Remove define. | |
1521 | (i386bsd_in_sigtramp): Remove prototype. | |
1522 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a | |
1523 | function. Update comment accordingly | |
1524 | (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly. | |
1525 | (FRAME_SAVED_PC): Remove define. | |
1526 | (i386bsd_frame_saved_pc): Remove prototype. | |
1527 | * config/i386/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC, | |
1528 | GET_LONGJMP_TARGET): Remove defines. | |
1529 | (get_longjmp_target): Remove prototype. | |
1530 | (IN_SIGTRAMP): Remove define. | |
1531 | (i386bsd_in_sigtramp): Remove prototype. | |
1532 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a | |
1533 | function. Update comment accordingly | |
1534 | (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly. | |
1535 | (FRAME_SAVED_PC): Remove define. | |
1536 | (i386bsd_frame_saved_pc): Remove prototype. | |
1537 | * config/i386/tm-nbsdaout.h (i386nbsd_aout_use_struct_convention): | |
1538 | Remove prototype. | |
1539 | (USE_STRUCT_CONVENTION): Remove prototype. | |
1540 | * i386bsd-nat.c (i386bsd_sigcontext_pc_offset): Remove | |
1541 | declaration. | |
1542 | (_initialize_i386bsd_nat): Revise logic to determine some | |
1543 | constants at compile time when compiling a native GDB. Warn if | |
1544 | things don't match up with what we expect. | |
1545 | * i386bsd-tdep.c (i386bsd_sigtramp_start, i386bsd_sigtramp_end): | |
1546 | Remove variables. | |
1547 | (i386bsd_in_sigtramp): Rename tp i386bsd_pc_in_sigtramp. Rewrite | |
1548 | to use date stored in `struct gdbarch_tdep'. | |
1549 | (i386bsd_sigcontext_offset): Remove varaible. | |
1550 | (i386bsd_sigtramp_saved_pc): Make public. Rewrite to use data | |
1551 | stored in `struct gdbarch_tdep'. | |
1552 | (i386bsd_frame_saved_pc): Make static. | |
1553 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): New functions. | |
1554 | (i386bsd_sc_pc_offset, i386nbsd_sc_pc_offset, | |
1555 | i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, | |
1556 | i386fbsd4_sc_pc_offset): New variables. | |
1557 | (i386bsd_init_abi, i386nbsd_init_abi, i386nbsdelf_init_abi, | |
1558 | i386fbsdaout_init_abi, i386fbsd_init_abi, i386fbsd4_init_abi): New | |
1559 | functions. | |
1560 | (i386bsd_aout_osabi_sniffer, _initialize_i386bsd_tdep): New | |
1561 | functions. | |
1562 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Fix type in comment. | |
1563 | Modify the value of i386fbsd_sigtramp_start and | |
1564 | i386fbsd_sigtramp_end instead of i386bsd_sigtramp_start and | |
1565 | i386fbsd_sigtramp_end. | |
1566 | * i386nbsd-tdep.c: (i386nbsd_aout_use_struct_convention): Remove | |
1567 | function. | |
1568 | ||
1569 | * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Move | |
1570 | define to i386-linux-tdep.h. | |
1571 | (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME, | |
1572 | REGISTER_BYTE, REGISTER_RAW_SIZE, STAB_REG_TO_REGNUM): Remove | |
1573 | defines. | |
1574 | (i386_linux_register_name, i386_linux_register_byte, | |
1575 | i386_linux_register_raw_size): Remove prototypes. | |
1576 | (i386_linux_svr4_fetch_link_map_offsets): Remove prototype. | |
1577 | (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define. | |
1578 | (IN_SIGTRAMP, FRAME_CHAIN, FRAME_SAVED_PC, SAVED_PC_AFTER_CALL, | |
1579 | TARGET_WRITE_PC): Remove defines. | |
1580 | (i386_linux_in_sigtramp, i386_linux_frame_chain, | |
1581 | i386_linux_frame_saved_pc, i386_linux_saved_pc_after_call, | |
1582 | i386_linux_write_pc): Remove prototypes. | |
1583 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
1584 | (get_longjmp_target): Remove prototype. | |
1585 | * i386-linux-tdep.h: New file. | |
1586 | * i386-linux-nat.c: Include "i386-linux-tdep.h". | |
1587 | * i386-linux-tdep.c: Include "i386-tdep.h" and | |
1588 | "i386-linux-tdep.h". | |
1589 | (i386_linux_register_name, i386_linux_register_byte, | |
1590 | i386_linux_register_raw_size, i386_linux_in_sigtramp, | |
1591 | i386_linux_write_pc, i386_linux_svr4_fetch_link_map_offsets): | |
1592 | Make static. | |
1593 | (i386_linux_init_abi): New function. | |
1594 | (_initialize_i386_linux_tdep): New function. | |
1595 | ||
1596 | * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Remove define. | |
1597 | (i386_saved_pc_after_call): Remove prototype. | |
1598 | (MAX_NUM_REGS): Increase to deal with Linux's orig_eax "register". | |
1599 | (REGISTER_NAME, STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM, | |
1600 | DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): Remove defines. | |
1601 | (i386_register_name, i386_stab_reg_to_regnum, | |
1602 | i386_dwarf_reg_to_regnum): Remove prototypes. | |
1603 | (SIZEOF_GREGS, SIZEOF_FPU_REGS, SIZEOF_FPU_CTL_REGS, | |
1604 | SIZEOF_SSE_REGS): Remove defines. | |
1605 | (REGISTER_BYTES): Remove define. | |
1606 | (REGISTER_BYTE, REGISTER_RAW_SIZE): Remove defines. | |
1607 | (i386_register_byte, i386_register_raw_size): Remove prototypes. | |
1608 | (FRAME_CHAIN, FRAME_SAVED_PC): Remove defines. | |
1609 | (i386_frame_chain, i386_frame_saved_pc): Remove prototypes. | |
1610 | * config/i386/tm-i386v4.h (FRAME_CHAIN_VALID): Remove define. | |
1611 | (JB_ELEMENT_SIZE, JB_PC, JB_EBX, JB_ESI, JB_EDI, JB_EBP, JB_ESP, | |
1612 | JB_EDX, GET_LONGJMP_TARGET): Remove defines. | |
1613 | (get_longjmp_target): Remove prototype. | |
1614 | (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP): Remove defines. | |
1615 | (sigtramp_saved_pc): Remove define. | |
1616 | (i386v4_sigtramp_saved_pc): Remove prototype. | |
1617 | * config/i386/tm-go32.h (FRAME_CHAIN, | |
1618 | FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): Remove defines. | |
1619 | (i386go32_frame_saved_pc): Remove prototype. | |
1620 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
1621 | (get_longjmp_target): Remove prototype. | |
1622 | * i386-tdep.h: Include "osabi.h". | |
1623 | (enum i386_abi): Removed. | |
1624 | (enum struct_return): New enum. | |
1625 | (struct gdbarch_tdep): Remove abi member, add osabi, jb_pc_offset, | |
1626 | struct_return, sigtramp_saved_pc, sigtramp_start, sigtramp_end and | |
1627 | sc_pc_offset members. | |
1628 | (i386_gdbarch_register_os_abi): Remove prototype. | |
1629 | (I386_NUM_GREGS, I386_NUM_FREGS, I386_NUM_XREGS, | |
1630 | I386_SSE_NUM_REGS): New defines. | |
1631 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS, | |
1632 | I386_SSE_SIZEOF_REGS): New defines. | |
1633 | (i386_register_name, i386_register_byte, i386_register_raw_size): | |
1634 | New prototypes. | |
1635 | (i386_elf_init_abi, i386_svr4_init_abi): New prototypes. | |
1636 | (i386bsd_sigtramp_saved_pc): New prototype. | |
1637 | * i386-tdep.c: Don't include "elf-bfd.h". | |
1638 | (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum, | |
1639 | i386_frame_chain, i386_saved_pc_after_call): Make static. | |
1640 | (i386_frame_saved_pc): Rewrite to call architecture dependent | |
1641 | function to deal with signal handlers. Make static. | |
1642 | (i386go32_frame_saved_pc): Removed. | |
1643 | [GET_LONGJMP_TARGET] (JB_PC, JB_ELEMENT_SIZE, get_longjmp_target): | |
1644 | Removed. | |
1645 | (i386_get_longjmp_target): New function. | |
1646 | (default_struct_convention, pcc_struct_convention, | |
1647 | reg_struct_convention, valid_conventions, struct_convention): New | |
1648 | variables. | |
1649 | (i386_use_struct_convention): New function. | |
1650 | (i386v4_sigtramp_saved_pc): Renamed to | |
1651 | i386_svr4_sigtramp_saved_pc. Made static. Moved. | |
1652 | (i386_pc_in_sigtramp): New function. | |
1653 | (i386_abi_names): Removed. | |
1654 | (ABI_TAG_OS_GNU_LINUX, ABI_TAG_OS_GNU_HURD, | |
1655 | ABI_TAG_OS_GNU_SOLARIS, ABI_TAG_OS_FREEBSD, ABI_TAG_OS_NETBSD): | |
1656 | Removed. | |
1657 | (process_note_sections, i386_elf_abi_from_note, i386_elf_abi, | |
1658 | i386_gdbarch_register_os_abi): Removed. | |
1659 | (struct i386_abi_handler): Removed. | |
1660 | (i386_abi_handler_list): Removed. | |
1661 | (i386_svr4_pc_in_sigtramp, i386_go32_pc_in_sigtramp): New | |
1662 | functions. | |
1663 | (i386_elf_init_abi, i386_svr4_init_abi, i386_go32_init_abi, | |
1664 | i386_nw_init_abi): New functions. | |
1665 | (i386_gdbarch_init): Rewritten to use generic OS ABI framework. | |
1666 | Use set_gdbarch_xxx() calls instead of relying on macros for a | |
1667 | number of calls. | |
1668 | (i386_coff_osabi_sniffer, i386_nlm_osabi_sniffer): New functions. | |
1669 | (_initialize_i386_tdep): Add new 'struct-convcention' command. | |
1670 | Register the various architecture variants defined in this file. | |
1671 | ||
ad2f7632 DJ |
1672 | 2002-06-14 Daniel Jacobowitz <[email protected]> |
1673 | ||
1674 | * gdbtypes.h (TYPE_FLAG_VARARGS): Update comment. | |
1675 | (struct main_type): Remove arg_types member. Update comments for | |
1676 | struct field. | |
1677 | (TYPE_ARG_TYPES): Remove. | |
1678 | (TYPE_FN_FIELD_ARGS): Update. | |
1679 | (smash_to_method_type): Update prototype. | |
1680 | ||
1681 | * c-typeprint.c (cp_type_print_method_args): Take method type | |
1682 | instead of argument list. Use new argument layout. Simplify. | |
1683 | (c_type_print_args): Use new argument layout. Simplify. | |
1684 | (c_type_print_base): Update call to cp_type_print_method_args. | |
1685 | * dwarf2read.c (dwarf2_add_member_fn): Remove unneeded type | |
1686 | argument; use die->type instead. Update call to | |
1687 | smash_to_method_type. | |
1688 | (read_structure_scope): Update call to dwarf2_add_member_fn. | |
1689 | * gdbtypes.c (allocate_stub_method): Update comment. | |
1690 | (smash_to_method_type): Take new NARGS and VARARGS arguments. | |
1691 | Use new argument layout. | |
1692 | (check_stub_method): Use new argument layout. Don't count | |
1693 | void as an argument. | |
1694 | (print_arg_types): Update comments. Use new argument layout. | |
1695 | (recursive_dump_type): Don't print arg_types member. | |
1696 | * hpread.c (hpread_read_struct_type): Use new argument layout. | |
1697 | (fixup_class_method_type): Likewise. | |
1698 | (hpread_type_lookup): Likewise. | |
1699 | * stabsread.c (read_type): Update calls to read_args and | |
1700 | smash_to_method_type. | |
1701 | (read_args): Use new argument layout. Simplify. | |
1702 | * valops.c (typecmp): Use new argument layout. Update parameters | |
1703 | and comments. Simplify. | |
1704 | (hand_function_call): Use new argument layout. | |
1705 | (search_struct_method): Update call to typecmp. | |
1706 | (find_overload_match): Use new argument layout. | |
1707 | ||
6da02953 DJ |
1708 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
1709 | ||
1710 | * NEWS: Mention multithreaded debug support for gdbserver. | |
1711 | ||
519b2366 DJ |
1712 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
1713 | ||
1714 | * MAINTAINERS: Mention NEWS. | |
1715 | ||
a7f48742 DJ |
1716 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
1717 | ||
1718 | * gdbserver/regcache.c: Add comment. | |
1719 | ||
6c0d6680 DJ |
1720 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
1721 | ||
1722 | * mips-tdep.c (PROC_SYMBOL): Add warning comment. | |
1723 | (struct mips_objfile_private, compare_pdr_entries): New. | |
1724 | (non_heuristic_proc_desc): Read the ".pdr" section if it | |
1725 | is present. | |
1726 | ||
6529d2dd AC |
1727 | 2002-06-12 Andrew Cagney <[email protected]> |
1728 | ||
1729 | * arm-tdep.c (arm_push_arguments): Rewrite using a two-pass loop. | |
1730 | (arm_debug): New static variable. | |
1731 | (_initialize_arm_tdep): Add ``set debug arm'' command. | |
1732 | ||
26216b98 AC |
1733 | 2002-06-12 Andrew Cagney <[email protected]> |
1734 | ||
1735 | * Makefile.in (sim_arm_h): Define. | |
1736 | (arm-tdep.o): Add $(sim_arm_h) and $(gdb_assert_h). | |
1737 | * arm-tdep.c: Include "gdb/sim-arm.h" and "gdb_assert.h". | |
1738 | (arm_register_sim_regno): New function, map an internal REGNUM | |
1739 | onto a simulator register number. | |
1740 | (arm_gdbarch_init): Set register_sim_regno. | |
1741 | ||
814b3ba0 AH |
1742 | 2002-06-09 Aldy Hernandez <[email protected]> |
1743 | ||
1744 | * MAINTAINERS: Add self. | |
1745 | ||
475b0867 JB |
1746 | 2002-06-11 Jim Blandy <[email protected]> |
1747 | ||
919d772c JB |
1748 | * source.c (source_info): Mention whether the symtab has |
1749 | information about preprocessor macros. | |
1750 | ||
475b0867 JB |
1751 | Call the command `info macro', not `show macro'. |
1752 | * macrocmd.c (info_macro_command): Renamed from `show_macro_command'. | |
1753 | Fix error message. | |
1754 | (_initialize_macrocmd): Register `info_macro_command' in | |
1755 | `infolist', not `showlist'. | |
1756 | ||
9e364162 DJ |
1757 | 2002-06-11 Daniel Jacobowitz <[email protected]> |
1758 | ||
1759 | * mips-tdep.c (MIPS_FPU_TYPE, FP_REGISTER_DOUBLE, MIPS_EABI) | |
1760 | (MIPS_LAST_FP_ARG_REGNUM, MIPS_LAST_ARG_REGNUM) | |
1761 | (MIPS_DEFAULT_SAVED_REGSIZE, MIPS_REGS_HAVE_HOME_P) | |
1762 | (MIPS_DEFAULT_STACK_ARGSIZE, GDB_TARGET_IS_MIPS64) | |
1763 | (MIPS_DEFAULT_MASK_ADDRESS_P): Remove obsolete definitions. Define | |
1764 | unconditionally. | |
1765 | (set_mipsfpu_single_command, set_mipsfpu_double_command) | |
1766 | (set_mipsfpu_none_command): Remove if (GDB_MULTI_ARCH). | |
1767 | (_initialize_mips_tdep): Remove dead code. | |
1768 | * config/mips/tm-irix5.h (MIPS_LAST_ARG_REGNUM) | |
1769 | (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove. | |
1770 | * config/mips/tm-irix6.h (MIPS_LAST_ARG_REGNUM) | |
1771 | (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove. | |
1772 | * config/mips/tm-mips.h (MIPS_EABI, MIPS_LAST_ARG_REGNUM, | |
1773 | MIPS_LAST_FP_ARG_REGNUM): Remove. | |
1774 | ||
1775 | 2002-06-11 Daniel Jacobowitz <[email protected]> | |
1776 | ||
1777 | * gdbserver/thread-db.c: New file. | |
1778 | * gdbserver/proc-service.c: New file. | |
1779 | * gdbserver/acinclude.m4: New file. | |
1780 | * gdbserver/Makefile.in: Add GDBSERVER_LIBS, gdb_proc_service_h, | |
1781 | proc-service.o, and thread-db.o. | |
1782 | (linux-low.o): Add USE_THREAD_DB. | |
1783 | * gdbserver/acconfig.h: Add HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, | |
1784 | HAVE_LWPID_T, HAVE_PSADDR_T, and PRFPREGSET_T_BROKEN. | |
1785 | * gdbserver/aclocal.m4: Regenerated. | |
1786 | * gdbserver/config.in: Regenerated. | |
1787 | * gdbserver/configure: Regenerated. | |
1788 | * gdbserver/configure.in: Check for proc_service.h, sys/procfs.h, | |
1789 | thread_db.h, and linux/elf.h headrs. | |
1790 | Check for lwpid_t, psaddr_t, prgregset_t, prfpregset_t, and | |
1791 | PRFPREGSET_T_BROKEN. Introduce srv_thread_depfiles and USE_THREAD_DB. | |
1792 | Check for -lthread_db and thread support. | |
1793 | * gdbserver/configure.srv: Enable thread_db support for ARM, i386, MIPS, | |
1794 | PowerPC, and SuperH. | |
1795 | * gdbserver/i387-fp.c: Constify arguments. | |
1796 | * gdbserver/i387-fp.h: Likewise. | |
1797 | * gdbserver/inferiors.c: (struct thread_info): Renamed from | |
1798 | `struct inferior_info'. Remove PID member. Use generic inferior | |
1799 | list header. All uses updated. | |
1800 | (inferiors, signal_pid): Removed. | |
1801 | (all_threads): New variable. | |
1802 | (get_thread): Define. | |
1803 | (add_inferior_to_list): New function. | |
1804 | (for_each_inferior): New function. | |
1805 | (change_inferior_id): New function. | |
1806 | (add_inferior): Removed. | |
1807 | (remove_inferior): New function. | |
1808 | (add_thread): New function. | |
1809 | (free_one_thread): New function. | |
1810 | (remove_thread): New function. | |
1811 | (clear_inferiors): Use for_each_inferior and free_one_thread. | |
1812 | (find_inferior): New function. | |
1813 | (find_inferior_id): New function. | |
1814 | (inferior_target_data): Update argument type. | |
1815 | (set_inferior_target_data): Likewise. | |
1816 | (inferior_regcache_data): Likewise. | |
1817 | (set_inferior_regcache_data): Likewise. | |
1818 | * gdbserver/linux-low.c (linux_bp_reinsert): Remove. | |
1819 | (all_processes, stopping_threads, using_thrads) | |
1820 | (struct pending_signals, debug_threads, pid_of): New. | |
1821 | (inferior_pid): Replace with macro. | |
1822 | (struct inferior_linux_data): Remove. | |
1823 | (get_stop_pc, add_process): New functions. | |
1824 | (linux_create_inferior): Restore SIGRTMIN+1 before calling exec. | |
1825 | Use add_process and add_thread. | |
1826 | (linux_attach_lwp): New function, based on old linux_attach. Use | |
1827 | add_process and add_thread. Set stop_expected for new threads. | |
1828 | (linux_attach): New function. | |
1829 | (linux_kill_one_process): New function. | |
1830 | (linux_kill): Kill all LWPs. | |
1831 | (linux_thread_alive): Use find_inferior_id. | |
1832 | (check_removed_breakpoints, status_pending_p): New functions. | |
1833 | (linux_wait_for_process): Renamed from linux_wait_for_one_inferior. | |
1834 | Update. Use WNOHANG. Wait for cloned processes also. Update process | |
1835 | struct for the found process. | |
1836 | (linux_wait_for_event): New function. | |
1837 | (linux_wait): Use it. Support LWPs. | |
1838 | (send_sigstop, wait_for_sigstop, stop_all_processes) | |
1839 | (linux_resume_one_process, linux_continue_one_process): New functions. | |
1840 | (linux_resume): Support LWPs. | |
1841 | (REGISTER_RAW_SIZE): Remove. | |
1842 | (fetch_register): Use register_size instead. Call supply_register. | |
1843 | (usr_store_inferior_registers): Likewise. Call collect_register. | |
1844 | Fix recursive case. | |
1845 | (regsets_fetch_inferior_registers): Improve error message. | |
1846 | (regsets_store_inferior_registers): Add debugging. | |
1847 | (linux_look_up_symbols): Call thread_db_init if USE_THREAD_DB. | |
1848 | (unstopped_p, linux_signal_pid): New functions. | |
1849 | (linux_target_ops): Add linux_signal_pid. | |
1850 | (linux_init_signals): New function. | |
1851 | (initialize_low): Call it. Initialize using_threads. | |
1852 | * gdbserver/regcache.c (inferior_regcache_data): Add valid | |
1853 | flag. | |
1854 | (get_regcache): Fetch registers lazily. Add fetch argument | |
1855 | and update all callers. | |
1856 | (regcache_invalidate_one, regcache_invalidate): New | |
1857 | functions. | |
1858 | (new_register_cache): Renamed from create_register_cache. | |
1859 | Return the new regcache. | |
1860 | (free_register_cache): Change argument to a void *. | |
1861 | (registers_to_string, registers_from_string): Call get_regcache | |
1862 | with fetch flag set. | |
1863 | (register_data): Make static. Pass fetch flag to get_regcache. | |
1864 | (supply_register): Call get_regcache with fetch flag clear. | |
1865 | (collect_register): Call get_regcache with fetch flag set. | |
1866 | (collect_register_as_string): New function. | |
1867 | * gdbserver/regcache.h: Update. | |
1868 | * gdbserver/remote-utils.c (putpkt): Flush after debug output and use | |
1869 | stderr. | |
1870 | Handle input interrupts while waiting for an ACK. | |
1871 | (input_interrupt): Use signal_pid method. | |
1872 | (getpkt): Flush after debug output and use stderr. | |
1873 | (outreg): Use collect_register_as_string. | |
1874 | (new_thread_notify, dead_thread_notify): New functions. | |
1875 | (prepare_resume_reply): Check using_threads. Set thread_from_wait | |
1876 | and general_thread. | |
1877 | (look_up_one_symbol): Flush after debug output. | |
1878 | * gdbserver/server.c (step_thread, server_waiting): New variables. | |
1879 | (start_inferior): Don't use signal_pid. Update call to mywait. | |
1880 | (attach_inferior): Update call to mywait. | |
1881 | (handle_query): Handle qfThreadInfo and qsThreadInfo. | |
1882 | (main): Don't fetch/store registers explicitly. Use | |
1883 | set_desired_inferior. Support proposed ``Hs'' packet. Update | |
1884 | calls to mywait. | |
1885 | * gdbserver/server.h: Update. | |
1886 | (struct inferior_list, struct_inferior_list_entry): New. | |
1887 | * gdbserver/target.c (set_desired_inferior): New. | |
1888 | (write_inferior_memory): Constify. | |
1889 | (mywait): New function. | |
1890 | * gdbserver/target.h: Update. | |
1891 | (struct target_ops): New signal_pid method. | |
1892 | (mywait): Removed macro, added prototype. | |
1893 | ||
1894 | * gdbserver/linux-low.h (regset_func): Removed. | |
1895 | (regset_fill_func, regset_store_func): New. | |
1896 | (enum regset_type): New. | |
1897 | (struct regset_info): Add type field. Use new operation types. | |
1898 | (struct linux_target_ops): stop_pc renamed to get_pc. | |
1899 | Add decr_pc_after_break and breakpoint_at. | |
1900 | (get_process, get_thread_proess, get_process_thread) | |
1901 | (strut process_info, all_processes, linux_attach_lwp) | |
1902 | (thread_db_init): New. | |
1903 | ||
1904 | * gdbserver/linux-arm-low.c (arm_get_pc, arm_set_pc, | |
1905 | arm_breakpoint, arm_breakpoint_len, arm_breakpoint_at): New. | |
1906 | (the_low_target): Add new members. | |
1907 | * gdbserver/linux-i386-low.c (i386_store_gregset, i386_store_fpregset) | |
1908 | (i386_store_fpxregset): Constify. | |
1909 | (target_regsets): Add new kind identifier. | |
1910 | (i386_get_pc): Renamed from i386_stop_pc. Simplify. | |
1911 | (i386_set_pc): Add debugging. | |
1912 | (i386_breakpoint_at): New function. | |
1913 | (the_low_target): Add new members. | |
1914 | * gdbserver/linux-mips-low.c (mips_get_pc, mips_set_pc) | |
1915 | (mips_breakpoint, mips_breakpoint_len, mips_reinsert_addr) | |
1916 | (mips_breakpoint_at): New. | |
1917 | (the_low_target): Add new members. | |
1918 | * gdbserver/linux-ppc-low.c (ppc_get_pc, ppc_set_pc) | |
1919 | (ppc_breakpoint, ppc_breakpoint_len, ppc_breakpoint_at): New. | |
1920 | (the_low_target): Add new members. | |
1921 | * gdbserver/linux-sh-low.c (sh_get_pc, sh_set_pc) | |
1922 | (sh_breakpoint, sh_breakpoint_len, sh_breakpoint_at): New. | |
1923 | (the_low_target): Add new members. | |
1924 | * gdbserver/linux-x86-64-low.c (target_regsets): Add new kind | |
1925 | identifier. | |
1926 | ||
23aa4c72 ML |
1927 | 2002-06-11 Michal Ludvig <[email protected]> |
1928 | ||
1929 | * dwarf2cfi.c (unwind_tmp_obstack_init): New. | |
1930 | (unwind_tmp_obstack_free, parse_frame_info) | |
1931 | (update_context, cfi_read_fp, cfi_write_fp) | |
1932 | (cfi_frame_chain, cfi_init_extra_frame_info) | |
1933 | (cfi_virtual_frame_pointer): Use the above function. | |
264d1763 | 1934 | * dwarf2cfi.c: Reindented (using 'indent dwarf2cfi.c'). |
23aa4c72 | 1935 | |
70eb15a4 CV |
1936 | 2002-06-11 Corinna Vinschen <[email protected]> |
1937 | ||
1938 | * v850-tdep.c (v850_type_is_scalar): New function. | |
1939 | (v850_use_struct_convention): Match current gcc implementation | |
1940 | as close as possible. | |
1941 | (v850_push_arguments): Fix stack_offset handling. Don't write | |
1942 | struct_addr into register. This is done by v850_store_struct_return. | |
1943 | (v850_extract_return_value): Care for structs. | |
1944 | (v850_store_return_value): Ditto. | |
1945 | (v850_store_struct_return): Actually write address. | |
1946 | ||
482a4d06 ML |
1947 | 2002-06-11 Michal Ludvig <[email protected]> |
1948 | ||
1949 | * x86-64-tdep.c (x86_64_skip_prologue): Fix to work on functions | |
1950 | without debug information too. | |
1951 | ||
d855c300 AC |
1952 | 2002-06-10 Andrew Cagney <[email protected]> |
1953 | ||
1954 | * gdbarch.sh (PRINT_FLOAT_INFO): Add frame and ui_file parameters. | |
1955 | Make multi-arch pure. | |
1956 | * gdbarch.h, gdbarch.c: Re-generate. | |
1957 | * arm-tdep.c (arm_print_float_info): Update. | |
1958 | * arch-utils.h (default_print_float_info): Update. | |
1959 | * arch-utils.c (default_print_float_info): Update. | |
1960 | * infcmd.c (float_info): Update call. | |
1961 | ||
dd12a101 AC |
1962 | 2002-06-10 Andrew Cagney <[email protected]> |
1963 | ||
1964 | * Makefile.in (init.c): Move the call to _initialize_gdbtypes to | |
1965 | the front of the initialize list. | |
1966 | ||
101dcfbe AC |
1967 | 2002-06-10 Andrew Cagney <[email protected]> |
1968 | ||
1969 | * infrun.c (struct inferior_status): Replace fields | |
1970 | selected_frame_address and selected_level with field | |
1971 | selected_frame_id. | |
1972 | (save_inferior_status): Update. Use get_frame_id. | |
1973 | (struct restore_selected_frame_args): Delete. | |
1974 | (restore_selected_frame): Update. Use frame_find_by_id. | |
1975 | (restore_inferior_status): Update. | |
1976 | ||
1977 | * breakpoint.h (struct breakpoint): Change type of | |
1978 | watchpoint_frame to frame_id. | |
1979 | * breakpoint.c (insert_breakpoints): Use frame_find_by_id. Remove | |
1980 | call to get_current_frame. | |
1981 | (do_enable_breakpoint): Use frame_find_by_id. Remove call to | |
1982 | get_current_frame. | |
1983 | (watchpoint_check): Use frame_find_by_id. | |
1984 | ||
1985 | * frame.h (record_selected_frame): Delete declaration. | |
1986 | * stack.c (record_selected_frame): Delete function. | |
1987 | ||
1988 | * frame.h (struct frame_id): Define. | |
1989 | (get_frame_id): Declare. | |
1990 | (frame_find_by_id): Declare. | |
1991 | * frame.c (frame_find_by_id): New function. | |
1992 | (get_frame_id): New function. | |
1993 | ||
304270b6 AV |
1994 | 2002-06-10 Andrey Volkov <[email protected]> |
1995 | ||
1996 | * ser-e7kpc.c: Fix duplicated define and call of | |
1997 | _initialize_ser_e7000pc | |
1998 | ||
2f2cf184 DJ |
1999 | 2002-06-09 Daniel Jacobowitz <[email protected]> |
2000 | ||
2001 | * signals/signals.c (target_signal_from_host): Fix #ifdef | |
2002 | SIGRTMIN case. | |
2003 | (do_target_signal_to_host): Likewise. | |
2004 | ||
caaa3122 DJ |
2005 | 2002-06-09 Daniel Jacobowitz <[email protected]> |
2006 | ||
2007 | * mips-tdep.c (mips_find_abi_section): New function. | |
2008 | (mips_gdbarch_init): Call it. | |
2009 | ||
6ac5df3a MK |
2010 | 2002-06-09 Mark Kettenis <[email protected]> |
2011 | ||
2012 | * solib-svr4.c (init_fetch_link_map_offsets): Simply return | |
2013 | legacy_fetch_link_map_offsets. Adjust comment to reflect reality | |
2014 | after Andrew's 2002-06-08 gdbarch change. | |
2015 | ||
82ea117a MK |
2016 | 2002-06-09 Mark Kettenis <[email protected]> |
2017 | ||
2018 | * i386-linux-nat.c (suppy_gregset): Don't supply | |
2019 | I386_LINUX_ORIG_EAX_REGNUM if there isn't room for it in GDB's | |
2020 | register cache. | |
2021 | (fill_gregset): Don't fetch it under the same circumstances. | |
2022 | ||
3c25f8c7 AC |
2023 | 2002-06-09 Andrew Cagney <[email protected]> |
2024 | ||
2025 | * Makefile.in (callback_h): Define. | |
2026 | (remote_sim_h): Update path to remote-sim.h. | |
2027 | (remote-rdp.o): Add $(callback_h). | |
2028 | (remote-sim.o): Use $(callback_h). | |
2029 | * remote-sim.c: Include "gdb/callback.h" and "gdb/remote-sim.h". | |
2030 | * remote-rdp.c: Include "gdb/callback.h". | |
2031 | ||
1029b7fa MK |
2032 | 2002-06-09 Mark Kettenis <[email protected]> |
2033 | ||
2034 | * osabi.h (gdb_osabi): Add GDB_OSABI_GO32 and GDB_OSABI_NETWARE. | |
2035 | * osabi.c (gdb_osabi_names): Add "DJGPP" and "NetWare". | |
2036 | ||
616675d3 AC |
2037 | 2002-06-08 Andrew Cagney <[email protected]> |
2038 | ||
a3efda28 AC |
2039 | * sparcl-tdep.c: Use __CYGWIN__ instead of __CYGWIN32__. |
2040 | * rdi-share/serpardr.c: Ditto. | |
2041 | * rdi-share/unixcomm.c: Ditto. | |
2042 | * rdi-share/serdrv.c: Ditto. | |
2043 | * rdi-share/hostchan.h: Ditto. | |
2044 | * rdi-share/hostchan.c: Ditto. | |
2045 | * rdi-share/host.h: Ditto. | |
2046 | * rdi-share/devsw.c: Ditto. | |
2047 | ||
c5f10366 AC |
2048 | * objfiles.h: Change type of obj_private to void pointer. |
2049 | * pa64solib.c: Update copyright. Don't include "assert.h", use | |
2050 | strcmp instead of STREQ, use LONGEST, do not use PTR | |
2051 | * somsolib.c: Ditto. | |
2052 | ||
616675d3 AC |
2053 | * config/djgpp/fnchange.lst: Fix problems with bfd/elf32-i386.c, |
2054 | bfd/elf32-i386qnx.c, bfd/elf32-sh.c, bfd/elf32-sh64-nbsd.c, | |
2055 | bfd/elf64-sh64-nbsd.c bfd/elf64-sh64.c. | |
2056 | ||
e4b415d9 AC |
2057 | 2002-06-08 Andrew Cagney <[email protected]> |
2058 | ||
2059 | * frame.c (GET_SAVED_REGISTER): Delete macro definition. | |
2060 | (default_get_saved_register): Delete function. | |
2061 | * gdbarch.sh (GET_SAVED_REGISTER): Set default to | |
2062 | generic_unwind_get_saved_register. | |
2063 | * gdbarch.h, gdbarch.c: Re-generate. | |
2064 | ||
ca0d0b52 AC |
2065 | 2002-06-08 Andrew Cagney <[email protected]> |
2066 | ||
2067 | * gdbarch.sh (FRAME_CHAIN_VALID): Set default to | |
2068 | generic_func_frame_chain_valid. | |
2069 | * gdbarch.h, gdbarch.c: Re-generate. | |
2070 | * blockframe.c (generic_func_frame_chain_valid): Only check | |
2071 | PC_IN_CALL_DUMMY when generic dummy frames. Don't worry about | |
2072 | passing FP to PC_IN_CALL_DUMMY. | |
2073 | Fix PR gdb/360. | |
2074 | ||
76860b5f AC |
2075 | 2002-06-08 Andrew Cagney <[email protected]> |
2076 | ||
2077 | * gdbarch.sh (struct gdbarch_data): Add field init_p. | |
2078 | (register_gdbarch_data): Initialize init_p. | |
2079 | (gdbarch_data): Initialize data pointer using the init function. | |
2080 | (init_gdbarch_data): Delete function. | |
2081 | (gdbarch_update_p): Update. | |
2082 | (initialize_non_multiarch): Update. | |
2083 | (struct gdbarch): Add field initialized_p. | |
2084 | * gdbarch.h, gdbarch.c: Re-generate. | |
2085 | ||
8dda9770 ML |
2086 | 2002-06-07 Michal Ludvig <[email protected]> |
2087 | ||
2088 | * x86-64-linux-nat.c (x86_64_fxsave_offset): New. | |
2089 | (supply_fpregset, fill_fpregset): Don't call i387_*_fxsave, | |
2090 | better do the things actually here. | |
2091 | * x86-64-tdep.c (x86_64_register_name2nr): New. | |
2092 | (x86_64_register_name): Renamed to x86_64_register_nr2name. | |
2093 | (x86_64_gdbarch_init): Respect the above change. | |
2094 | * x86-64-tdep.h (x86_64_register_name2nr) | |
2095 | (x86_64_register_nr2name): Add prototypes. | |
2096 | * config/i386/x86-64linux.mt (TDEPFILES): Remove i387-tdep.o. | |
2097 | ||
3d79a47c MS |
2098 | 2002-06-06 Michael Snyder <[email protected]> |
2099 | ||
7bd91a28 MS |
2100 | * d10v-tdep.c (d10v_push_arguments): Handle struct_return. |
2101 | Delete extra braces and re-indent. | |
2102 | (d10v_store_return_value): Char return values | |
3d79a47c MS |
2103 | must be shifted over by one byte in R0. |
2104 | (d10v_extract_return_value): Delete extra braces, re-indent. | |
2105 | ||
095a4c96 EZ |
2106 | 2002-06-06 Elena Zannoni <[email protected]> |
2107 | ||
2108 | * d10v-tdep.c (d10v_read_sp, d10v_read_fp): Add prototype. | |
2109 | (d10v_register_virtual_type): Make $fp and $sp be pointer to data. | |
2110 | (d10v_integer_to_address): Rewrite. | |
2111 | (d10v_frame_init_saved_regs): When reading fp and sp registers use | |
2112 | the d10v specific functions which take care of converting to the | |
2113 | correct space. | |
2114 | ||
e8a77ca4 EZ |
2115 | 2002-06-06 Elena Zannoni <[email protected]> |
2116 | ||
2117 | * config/djgpp/fnchange.lst: Add testsuite files altivec-abi.c, | |
2118 | altivec-abi.exp, altivec-regs.c, altivec-regs.exp. | |
2119 | ||
4f2e4a4f AC |
2120 | 2002-06-02 Andrew Cagney <[email protected]> |
2121 | ||
2122 | * config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xm | |
2123 | includes. | |
2124 | * config/tm-linux.h: Ditto. | |
2125 | * config/alpha/tm-alphalinux.h: Ditto. | |
2126 | * config/arm/nm-linux.h, config/arm/tm-linux.h: Ditto. | |
2127 | * config/arm/xm-nbsd.h, config/i386/nm-gnu.h: Ditto. | |
2128 | * config/i386/nm-i386lynx.h, config/i386/nm-i386sol2.h: Ditto. | |
2129 | * config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h: Ditto. | |
2130 | * config/i386/nm-linux.h, config/i386/nm-m3.h: Ditto. | |
2131 | * config/i386/nm-ptx4.h, config/i386/nm-x86-64.h: Ditto. | |
2132 | * config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h: Ditto. | |
2133 | * config/i386/tm-i386m3.h, config/i386/tm-i386sco5.h: Ditto. | |
2134 | * config/i386/tm-i386v4.h, config/i386/tm-linux.h: Ditto. | |
2135 | * config/i386/tm-ptx4.h, config/i386/tm-vxworks.h: Ditto. | |
2136 | * config/i386/xm-i386v4.h, config/i386/xm-nbsd.h: Ditto. | |
2137 | * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. | |
2138 | * config/i960/tm-vx960.h, config/ia64/nm-aix.h: Ditto. | |
2139 | * config/ia64/nm-linux.h, config/ia64/tm-aix.h: Ditto. | |
2140 | * config/ia64/tm-linux.h, config/ia64/xm-aix.h: Ditto. | |
2141 | * config/m68k/nm-linux.h, config/m68k/nm-m68klynx.h: Ditto. | |
2142 | * config/m68k/nm-sysv4.h, config/m68k/tm-linux.h: Ditto. | |
2143 | * config/m68k/tm-m68klynx.h, config/m68k/tm-m68kv4.h: Ditto. | |
2144 | * config/m68k/tm-sun2os4.h, config/m68k/tm-sun3os4.h: Ditto. | |
2145 | * config/m68k/tm-vx68.h, config/m68k/xm-m68kv4.h: Ditto. | |
2146 | * config/m68k/xm-nbsd.h, config/m88k/nm-delta88v4.h: Ditto. | |
2147 | * config/m88k/tm-delta88v4.h, config/m88k/xm-delta88v4.h: Ditto. | |
2148 | * config/mips/nm-irix5.h, config/mips/nm-linux.h: Ditto. | |
2149 | * config/mips/tm-linux.h, config/mips/tm-mips64.h: Ditto. | |
2150 | * config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h: Ditto. | |
2151 | * config/mips/tm-vxmips.h, config/mips/xm-irix5.h: Ditto. | |
2152 | * config/mips/xm-mipsv4.h, config/ns32k/xm-nbsd.h: Ditto. | |
2153 | * config/pa/nm-hppao.h, config/powerpc/nm-linux.h: Ditto. | |
2154 | * config/powerpc/tm-linux.h, config/powerpc/tm-vxworks.h: Ditto. | |
2155 | * config/powerpc/xm-aix.h, config/rs6000/nm-rs6000ly.h: Ditto. | |
2156 | * config/rs6000/tm-rs6000ly.h, config/rs6000/xm-aix4.h: Ditto. | |
2157 | * config/sh/tm-linux.h, config/sparc/nm-linux.h: Ditto. | |
2158 | * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4sol2.h: Ditto. | |
2159 | * config/sparc/tm-linux.h, config/sparc/tm-sp64linux.h: Ditto. | |
2160 | * config/sparc/tm-sp64sim.h, config/sparc/tm-sparclynx.h: Ditto. | |
2161 | * config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h: Ditto. | |
2162 | * config/sparc/tm-vxsparc.h, config/sparc/xm-sun4sol2.h: Ditto. | |
2163 | ||
ae2ab2ce AS |
2164 | 2002-05-04 Aidan Skinner <[email protected]> |
2165 | ||
2166 | * ada-exp.tab.c: New file | |
2167 | * ada-exp.y: New file | |
2168 | * ada-lang.c: New file | |
2169 | * ada-lang.h: New file | |
2170 | * ada-lex.c: New file | |
2171 | * ada-lex.l: New file | |
2172 | * ada-tasks.c: New file | |
2173 | * ada-typeprint.c: New file | |
2174 | * ada-valprint.c: New file | |
2175 | ||
0ddd0135 JT |
2176 | 2002-06-02 Jason Thorpe <[email protected]> |
2177 | ||
2178 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set | |
2179 | use_struct_convention to ppc_sysv_abi_broken_use_struct_convention. | |
2180 | ||
750fbacc JT |
2181 | 2002-06-02 Jason Thorpe <[email protected]> |
2182 | ||
2183 | * config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.o | |
2184 | insetead of ppc-linux-tdep.o. | |
2185 | * config/rs6000/rs6000.mt (TDEPFILES): Likewise. | |
2186 | * config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise. | |
2187 | ||
df94e18a AC |
2188 | 2002-06-02 Andrew Cagney <[email protected]> |
2189 | ||
2190 | 2002-05-07 Christian Groessler <[email protected]> | |
2191 | * z8k-tdep.c (z8k_print_register_hook): Fix display of 32 and 64 | |
2192 | bit register contents for little endian hosts. | |
2193 | ||
1a38ab75 AC |
2194 | 2002-06-01 Andrew Cagney <[email protected]> |
2195 | ||
2196 | * MAINTAINERS: Mention that any `HP/UX reader' can be changed by | |
2197 | any maintainer. | |
2198 | ||
8b1632ac AC |
2199 | 2002-06-01 Andrew Cagney <[email protected]> |
2200 | ||
2201 | * gdbarch.h: Regenerate. | |
2202 | ||
627054c8 AC |
2203 | 2002-06-01 Andrew Cagney <[email protected]> |
2204 | ||
2205 | * MAINTAINERS: Add everyone to write-after-approval list. | |
2206 | ||
4f460812 AC |
2207 | 2002-06-01 Andrew Cagney <[email protected]> |
2208 | ||
2209 | * stack.c (frame_info): Use frame_register_unwind instead of | |
2210 | saved_regs. Mention when the SP is on the stack or in a register. | |
2211 | ||
2212 | * frame.h (frame_register_unwind_ftype): Define. Document. | |
2213 | (struct frame_info): Add field register_unwind and | |
2214 | register_unwind_cache. | |
2215 | (frame_register_unwind): Declare. | |
2216 | (generic_unwind_get_saved_register): Declare. | |
2217 | ||
2218 | * frame.c (frame_register_unwind): New function. | |
2219 | (generic_unwind_get_saved_register): New function. | |
2220 | ||
2221 | * blockframe.c (generic_call_dummy_register_unwind): New function. | |
2222 | (frame_saved_regs_register_unwind): New function. | |
2223 | (set_unwind_by_pc): New function. | |
2224 | (create_new_frame): New function. | |
2225 | (get_prev_frame): New function. | |
2226 | ||
de888f76 AC |
2227 | 2002-05-30 Andrew Cagney <[email protected]> |
2228 | ||
2229 | * a29k-share/: Delete directory. | |
2230 | * remote-vx29k.c: Delete file. | |
2231 | ||
2f2c3626 JT |
2232 | 2002-05-30 Jason Thorpe <[email protected]> |
2233 | ||
2234 | * config/djgpp/fnchange.lst: Add ns32knbsd-nat.c, ns32knbsd-tdep.c, | |
2235 | ppcnbsd-nat.c, ppcnbsd-tdep.c, sparcnbsd-nat.c, and sparcnbsd-tdep.c. | |
2236 | ||
9ce5c36a JT |
2237 | 2002-05-30 Jason Thorpe <[email protected]> |
2238 | ||
2239 | * Makefile.in (ALLDEPFILES): Add sparc64nbsd-nat.c, | |
2240 | sparcnbsd-nat.c, and sparcnbsd-tdep.c. | |
2241 | (sparc64nbsd-nat.o) | |
2242 | (sparcnbsd-nat.o) | |
2243 | (sparcnbsd-tdep.o): New dependency lists. | |
2244 | * NEWS: Note new UltraSPARC NetBSD native configuration. | |
2245 | * configure.host (sparc64-*-netbsd*): New host. | |
2246 | * configure.tgt (sparc-*-netbsdelf*) | |
2247 | (sparc-*-netbsd*): Set gdb_target to nbsd. | |
2248 | (sparc64-*-netbsd*): New target. | |
2249 | * sparc64nbsd-nat.c: New file. | |
2250 | * sparcnbsd-nat.c: New file. | |
2251 | * sparcnbsd-tdep.c: New file. | |
2252 | * sparcnbsd-tdep.h: New file. | |
2253 | * config/sparc/nbsd.mt: New file. | |
2254 | * config/sparc/nbsd64.mh: New file. | |
2255 | * config/sparc/nbsd64.mt: New file. | |
2256 | * config/sparc/nbsdaout.mh (NATDEPFILES): Remove corelow.o, | |
2257 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. | |
2258 | (HOST_IPC): Remove. | |
2259 | * config/sparc/nbsdaout.mt: Remove. | |
2260 | * config/sparc/nbsdelf.mh (NATDEPFILES): Remove corelow.o, | |
2261 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. | |
2262 | (HOST_IPC): Remove. | |
2263 | * config/sparc/nbsdelf.mt: Remove. | |
2264 | * config/sparc/nm-nbsd.h: Update copyright years. Remove all | |
2265 | sparc-nat.c compatiblity defines. | |
2266 | * config/sparc/tm-nbsd.h: Update copyright years. Include solib.h. | |
2267 | (GDB_MULTI_ARCH): Set to GDB_MULTI_ARCH_PARTIAL. | |
2268 | * config/sparc/tm-nbsd64.h: New file. | |
2269 | * config/sparc/tm-nbsdaout.h: Remove. | |
2270 | * config/sparc/xm-nbsd.h: Remove. | |
2271 | ||
ef3cf062 JT |
2272 | 2002-05-30 Jason Thorpe <[email protected]> |
2273 | ||
2274 | * Makefile.in (sparc-tdep.o): Add osabi.h to dependency list. | |
2275 | * sparc-tdep.c: Include osabi.h. | |
2276 | (gdbarch_tdep): Add osabi member. | |
2277 | (_initialize_sparc_tdep): Use gdbarch_register. | |
2278 | (sparc_gdbarch_init): Use generic OS ABI framework. | |
2279 | (sparc_dump_tdep): New function. | |
2280 | ||
ee8ff470 KB |
2281 | 2002-05-30 Kevin Buettner <[email protected]> |
2282 | ||
2283 | * corefile.c (do_captured_read_memory_integer): Return non-zero | |
2284 | result. | |
2285 | (safe_read_memory_integer): Copy result of memory read when | |
2286 | status is non-zero. Also, add comments. | |
2287 | ||
7b112f9c JT |
2288 | 2002-05-20 Jason Thorpe <[email protected]> |
2289 | ||
2290 | * Makefile.in (ppc_tdep_h): Define. | |
2291 | (ppc-linux-nat.o) | |
2292 | (ppc-linux-tdep.o) | |
2293 | (rs6000-tdep.o): Use $(ppc_tdep_h). | |
2294 | (ppc-sysv-tdep.o) | |
2295 | (ppcnbsd-nat.o) | |
2296 | (ppcnbsd-tdep.o): New dependency lists. | |
2297 | * ppc-tdep.h: Use generic OS ABI framework. | |
357edbbc JT |
2298 | * ppc-linux-tdep.c (_initialize_ppc_linux_tdep) |
2299 | (ppc_linux_init_abi): New functions. | |
7b112f9c JT |
2300 | (ppc_sysv_abi_broken_use_struct_convention) |
2301 | (ppc_sysv_abi_use_struct_convention) | |
2302 | (ppc_sysv_abi_push_arguments): Move to... | |
2303 | * ppc-sysv-tdep.c: ...here. | |
2304 | * ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h. | |
2305 | * rs6000-tdep.c (process_note_abi_tag_sections) | |
2306 | (get_elfosabi): Remove. | |
2307 | (rs6000_gdbarch_init): Use generic OS ABI framework. | |
2308 | (rs6000_dump_tdep): New function. | |
2309 | (_initialize_rs6000_tdep): Use gdbarch_register. | |
2310 | * config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o. | |
2311 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
2312 | * config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead | |
2313 | of ppc-linux-tdep.o. | |
2314 | * config/powerpc/nbsd.mt (TDEPFILES): Likewise. | |
2315 | * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise. | |
2316 | * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise. | |
2317 | * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise. | |
2318 | * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise. | |
2319 | * config/powerpc/vxworks.mt (TDEPFILES): Likewise. | |
2320 | ||
480dd42a JB |
2321 | 2002-05-29 Jim Blandy <[email protected]> |
2322 | ||
2323 | * macroscope.c (default_macro_scope): Put `void' in empty argument | |
2324 | list. | |
2325 | ||
4182591f AC |
2326 | 2002-05-29 Andrew Cagney <[email protected]> |
2327 | ||
2328 | * Makefile.in (arch-utils.o): Add $(sim_regno_h). | |
2329 | * arch-utils.c: Include "sim-regno.h". | |
2330 | * gdbarch.sh: Don't include "sim-regno.h". | |
2331 | * gdbarch.h, gdbarch.c: Regenerate. | |
2332 | * sim-regno.h (legacy_register_sim_regno): Move declaration from | |
2333 | here. | |
2334 | * arch-utils.h (legacy_register_sim_regno): To here. | |
2335 | * remote-sim.c (legacy_register_sim_regno): Move function from | |
2336 | here. | |
2337 | * arch-utils.c (legacy_register_sim_regno): To here. | |
2338 | ||
8238d0bf AC |
2339 | 2002-05-28 Andrew Cagney <[email protected]> |
2340 | ||
2341 | * sim-regno.h: New file. | |
2342 | * Makefile.in (sim_regno_h): Define. | |
2343 | (d10v-tdep.o, remote-sim.o): Add dependency on $(sim_regno_h). | |
2344 | * remote-sim.c: Include "sim-regno.h" and "gdb_assert.h". | |
2345 | (legacy_register_sim_regno): New function. | |
2346 | (one2one_register_sim_regno): New function. | |
2347 | (gdbsim_fetch_register): Rewrite. | |
2348 | (gdbsim_store_register): Only store a register when | |
2349 | REGISTER_SIM_REGNO is valid. | |
2350 | * d10v-tdep.c: Include "sim-regno.h". | |
2351 | (d10v_ts2_register_sim_regno): Add legacy_regiter_sim_regno check. | |
2352 | (d10v_ts3_register_sim_regno): Ditto. | |
2353 | * gdbarch.sh: Include "sim-regno.h". | |
2354 | (REGISTER_SIM_REGNO): Set default to legacy_register_sim_regno. | |
2355 | * gdbarch.h, gdbarch.c: Regenerate. | |
2356 | * arch-utils.h (default_register_sim_regno): Delete declaration. | |
2357 | * arch-utils.c (default_register_sim_regno): Delete function. | |
2358 | ||
485721b1 JT |
2359 | 2002-05-28 Jason Thorpe <[email protected]> |
2360 | ||
2361 | * ppcnbsd-nat.c: Rewrite. | |
2362 | * ppcnbsd-tdep.c: New file. | |
2363 | * ppcnbsd-tdep.h: New file. | |
2364 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o, | |
2365 | solib.o, and solib-svr4.o. | |
2366 | * config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o, | |
2367 | nbsd-tdep.o, and corelow.o. | |
2368 | ||
697f244d AC |
2369 | 2002-05-28 Andrew Cagney <[email protected]> |
2370 | ||
2371 | * MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use | |
2372 | `tr' and `sed'. Mention that `broken' targets are not expected to | |
2373 | build. | |
2374 | ||
f08caad1 | 2375 | 2002-05-27 Michal Ludvig <[email protected]> |
b1ab997b ML |
2376 | |
2377 | * x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note. | |
2378 | Let PC point right after the prologue before looking up symbols. | |
2379 | ||
3139facc MH |
2380 | 2002-05-27 Martin M. Hunt <[email protected]> |
2381 | ||
2382 | * i386-tdep.c (i386_register_virtual_type): Return | |
2383 | builtin_type_vec128i for SSE registers. | |
2384 | ||
2385 | * gdbtypes.h (builtin_type_vec128i): Declare. | |
2386 | ||
2387 | * gdbtypes.c (build_builtin_type_vec128i): New function. | |
2388 | (builtin_type_v2_double, builtin_type_v4_int64): New types. | |
2389 | (builtin_type_vec128i): New type for SSE2 128-bit registers. | |
2390 | (build_gdbtypes): Initialize new builtin vector types. | |
2391 | (_initialize_gdbtypes): Register new vector types with gdbarch. | |
2392 | ||
6e3ba3b8 JT |
2393 | 2002-05-26 Jason Thorpe <[email protected]> |
2394 | ||
2395 | * MAINTAINERS: ns32k is not longer an obsolete candidate, | |
2396 | since it has been multi-arch'd. | |
2397 | * NEWS: Note that ns32k-*-* is now partial multi-arch. | |
2398 | Move Alpha and VAX multi-arch news entries to same section | |
2399 | as other multi-arch news. | |
2400 | ||
93d5585d JT |
2401 | 2002-05-26 Jason Thorpe <[email protected]> |
2402 | ||
2403 | * ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h, | |
2404 | target.s, arch-utils.h, ns32k-tdep.h. Make many functions | |
2405 | static. Rename some register numbers to put them in ns32k-tdep | |
2406 | private namespace. | |
2407 | (ns32k_get_saved_register, ns32k_gdbarch_init_32082, | |
2408 | ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New | |
2409 | functions. | |
2410 | (_initialize_ns32k_tdep): Use gdbarch_register. | |
2411 | * ns32k-tdep.h: New file. | |
2412 | * ns32knbsd-tdep.c: New file. | |
2413 | * config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o. | |
2414 | * config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h". | |
2415 | (IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS, | |
2416 | REGISTER_BYTES, REGISTER_BYTE): Remove. | |
2417 | * config/ns32k/tm-ns32k.h: New file. | |
2418 | * config/ns32k/tm-umax.h: Remove. | |
2419 | ||
efb2c70e JT |
2420 | 2002-05-26 Jason Thorpe <[email protected]> |
2421 | ||
2422 | * ns32k-tdep.c (ns32k_saved_pc_after_call, | |
2423 | ns32k_store_struct_return, ns32k_extract_return_value, | |
2424 | ns32k_store_return_value, ns32k_extract_struct_value_address): New | |
2425 | functions. | |
2426 | * config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as | |
2427 | ns32k_saved_pc_after_call. | |
2428 | (STORE_STRUCT_RETURN): Define as ns32k_store_struct_return. | |
2429 | (EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value. | |
2430 | (STORE_RETURN_VALUE): Define as ns32k_store_return_value. | |
2431 | (EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
2432 | ns32k_extract_struct_value_address. | |
2433 | ||
7bcc927b JT |
2434 | 2002-05-26 Jason Thorpe <[email protected]> |
2435 | ||
2436 | * ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words, | |
2437 | ns32k_fix_call_dummy): New. | |
2438 | * config/ns32k/tm-umax.h (CALL_DUMMY_WORDS): Define as | |
2439 | ns32k_call_dummy_words. | |
2440 | (SIZEOF_CALL_DUMMY_WORDS): Define as sizeof_ns32k_call_dummy_words. | |
2441 | (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_ADDR, | |
2442 | CALL_DUMMY_NARGS): Remove. | |
2443 | (FIX_CALL_DUMMY): Define as ns32k_fix_call_dummy. | |
2444 | ||
78f9d765 JT |
2445 | 2002-05-26 Jason Thorpe <[email protected]> |
2446 | ||
2447 | * ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain, | |
2448 | ns32k_frame_saved_pc, ns32k_frame_args_address, | |
2449 | ns32k_frame_locals_address, ns32k_frame_init_saved_regs, | |
2450 | ns32k_push_dummy_frame, ns32k_pop_frame): New functions. | |
2451 | * config/ns32k/tm-nbsd.h (FRAME_SAVED_PC): Remove. | |
2452 | * config/ns32k/tm-umax.h (INNER_THAN): Define as core_addr_lessthan. | |
2453 | (BREAKPOINT_FROM_PC): Define as ns32k_breakpoint_from_pc. | |
2454 | (BREAKPOINT): Remove.. | |
2455 | (FRAME_CHAIN): Define as ns32k_frame_chain. | |
2456 | (FRAME_SAVED_PC): Define as ns32k_frame_saved_pc. | |
2457 | (FRAME_ARGS_ADDRESS): Define as ns32k_frame_args_address. | |
2458 | (FRAME_LOCALS_ADDRESS): Define as ns32k_frame_locals_address. | |
2459 | (FRAME_FIND_SAVED_REGS): Remove. | |
2460 | (FRAME_INIT_SAVED_REGS): Define as ns32k_frame_init_saved_regs. | |
2461 | (PUSH_DUMMY_FRAME): Define as ns32k_push_dummy_frame. | |
2462 | (POP_FRAME): Define as ns32k_pop_frame. | |
2463 | ||
f2c762e0 JT |
2464 | 2002-05-26 Jason Thorpe <[email protected]> |
2465 | ||
2466 | * ns32k-tdep.c (ns32k_register_byte_32082, | |
2467 | ns32k_register_byte_32382, ns32k_register_raw_size, | |
2468 | ns32k_register_virtual_size, ns32k_register_virtual_type): New | |
2469 | functions. | |
2470 | * config/ns32k/tm-nbsd.h (REGISTER_BYTE): Define as | |
2471 | ns32k_register_byte_32382. | |
2472 | * config/ns32k/tm-umax.h: Update copyright years. | |
2473 | (REGISTER_BYTE): Define as ns32k_register_byte_32082. | |
2474 | (REGISTER_RAW_SIZE): Define as ns32k_register_raw_size. | |
2475 | (REGISTER_VIRTUAL_SIZE): Define as ns32k_register_virtual_size. | |
2476 | (REGISTER_VIRTUAL_TYPE): Define as ns32k_register_virtual_type. | |
2477 | (ns32k_get_enter_addr): Fix prototype. | |
2478 | ||
af137673 JT |
2479 | 2002-05-26 Jason Thorpe <[email protected]> |
2480 | ||
2481 | * ns32k-tdep.c: Update copyright years. | |
2482 | (ns32k_register_name_32082): New function. | |
2483 | (ns32k_register_name_32382): Ditto. | |
2484 | * config/ns32k/tm-nbsd.h (REGISTER_NAMES): Remove. | |
2485 | (REGISTER_NAME): Define as ns32k_register_name_32382. | |
2486 | * config/ns32k/tm-umax.h (REGISTER_NAMES): Remove. | |
2487 | (REGISTER_NAME): Define as ns32k_register_name_32082. | |
2488 | ||
a8bc7b56 JB |
2489 | 2002-05-24 Jim Blandy <[email protected]> |
2490 | ||
2491 | * dwarf2read.c (free_line_header): Use xfree, not free. | |
2492 | ||
83a45910 JT |
2493 | 2002-05-24 Jason Thorpe <[email protected]> |
2494 | ||
2495 | * config/djgpp/fnchange.lst: Add alphabsd-nat.c, | |
2496 | alphabsd-tdep.c, mipsnbsd-nat.c, and mipsnbsd-tdep.c | |
2497 | ||
0db71247 AC |
2498 | 2002-05-23 Andrew Cagney <[email protected]> |
2499 | ||
2500 | * PROBLEMS: Mention s390 and FreeBSD 4.4 build problems. | |
2501 | ||
b9e5e4dd AC |
2502 | 2002-05-23 Andrew Cagney <[email protected]> |
2503 | ||
2504 | From Ross Alexander at NEC Europe: | |
2505 | * config/pa/hpux11w.mh (NATDEPFILES): Add solib.o. | |
2506 | ||
de530e84 MS |
2507 | 2002-05-23 Michael Snyder <[email protected]> |
2508 | ||
2509 | * cli/cli-dump.c (restore_command): Use parse_and_eval_long | |
2510 | for input, rather than parse_and_eval_address. | |
2511 | ||
b91b96f4 AC |
2512 | 2002-05-23 Andrew Cagney <[email protected]> |
2513 | ||
2514 | * d10v-tdep.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h". | |
2515 | * Makefile.in (sim_d10v_h): Update definition. | |
2516 | ||
8b279e7a AC |
2517 | 2002-05-24 Andrew Cagney <[email protected]> |
2518 | ||
2519 | * d10v-tdep.c (d10v_gdbarch_init): Revert old code included in | |
2520 | change `2002-05-22 Michael Snyder' below. | |
2521 | (d10v_push_arguments): Ditto. | |
2522 | (d10v_extract_return_value): Ditto. | |
2523 | ||
0a3d0425 JB |
2524 | 2002-05-23 Jim Blandy <[email protected]> |
2525 | ||
2526 | * macrotab.c (check_for_redefinition): Don't complain if the new | |
2527 | definition is the same as the previous one. Take more arguments | |
2528 | to allow the comparison. | |
2529 | (macro_define_object, macro_define_function): Pass more arguments | |
2530 | to check_for_redefinition. | |
2531 | ||
78eac43e MS |
2532 | 2002-05-22 Michael Snyder <[email protected]> |
2533 | ||
2534 | * d10v-tdep.c: Change a few macros to enums for ease of debugging. | |
2535 | (d10v_frame_chain_valid): Add PC_IN_CALL_DUMMY clause. | |
2536 | (d10v_frame_saved_pc): Add PC_IN_CALL_DUMMY clause. | |
2537 | (d10v_frame_chain): Bail immediately if PC_IN_CALL_DUMMY. | |
2538 | Don't bail if return_pc is PC_IN_CALL_DUMMY. | |
2539 | Add a temp variable to save a call (and a memory read). | |
2540 | (d10v_init_extra_frame_info): Get fi->pc from callee's return_pc | |
2541 | if possible (so that PC_IN_CALL_DUMMY will work). | |
2542 | ||
9bc1edb8 CV |
2543 | 2002-05-22 Corinna Vinschen <[email protected]> |
2544 | ||
2545 | * MAINTAINERS: Remove status `OBSOLETE' from v850. | |
2546 | ||
005ef3d2 ML |
2547 | 2002-05-22 Michal Ludvig <[email protected]> |
2548 | ||
2549 | * dwarf2cfi.c (frame_state_for): Added safety check for a valid | |
2550 | fde->cie_ptr. | |
2551 | (dwarf2_build_frame_info): Corrected handling of eh_frame. | |
2552 | (dwarf2_build_frame_info): Add offset to fde->initial_location | |
2553 | so that frames of shared libraries are mapped correctly. | |
6c3eb890 ML |
2554 | (execute_stack_op): Change type of 'result' from ULONGEST to |
2555 | CORE_ADDR. | |
005ef3d2 | 2556 | |
fcf4f891 JT |
2557 | 2002-05-22 Jason Thorpe <[email protected]> |
2558 | ||
2559 | * config/alpha/tm-nbsd.h: Include solib.h. | |
2560 | ||
cfef91e4 JT |
2561 | 2002-05-22 Jason Thorpe <[email protected]> |
2562 | ||
2563 | * alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Don't make | |
2564 | assumptions about the host's byte order. | |
2565 | ||
9964235a JT |
2566 | 2002-05-22 Jason Thorpe <[email protected]> |
2567 | ||
2568 | * Makefile.in (alphanbsd-tdep.o, shnbsd-tdep.o): Add solib-svr4.h | |
2569 | to dependency list. | |
2570 | * alphanbsd-tdep.c: Include solib-svr4.h. | |
2571 | * shnbsd-tdep.c: Ditto. | |
2572 | ||
9eeef8ef JT |
2573 | 2002-05-22 Jason Thorpe <[email protected]> |
2574 | ||
2575 | * Makefile.in (armnbsd-tdep.o): Add solib-svr4.h and | |
2576 | nbsd-tdep.h to dependency list. | |
2577 | * configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*, | |
2578 | i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*, | |
2579 | ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use | |
2580 | nbsdaout.mh and nbsdelf.mh consistently. | |
2581 | * configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*, | |
2582 | ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use | |
2583 | nbsdaout.mt and nbsdelf.mh consistently. | |
2584 | * armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h. | |
2585 | (arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets | |
2586 | to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets. | |
2587 | * config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move | |
2588 | a.out shared library stuff from here... | |
2589 | * config/nm-nbsdaout.h: ...to here. | |
2590 | * config/tm-nbsd.h: Remove. | |
2591 | * config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove. | |
2592 | * config/arm/nbsd.mh: Remove. | |
2593 | * config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add | |
2594 | nbsd-tdep.o. | |
2595 | * config/arm/nbsdaout.mh: New file. | |
2596 | * config/arm/nbsdelf.mh: New file. | |
2597 | * config/arm/nm-nbsdaout.h: New file. | |
2598 | * config/i386/nbsd.mh: Remove. | |
2599 | * config/i386/nbsd.mt: Remove. | |
2600 | * config/i386/nbsdaout.mh: New file. | |
2601 | * config/i386/nbsdaout.mt: New file. | |
2602 | * config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. | |
2603 | * config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h. | |
2604 | * config/i386/nm-nbsd.h (REGISTER_U_ADDR, | |
2605 | i386_register_u_addr): Remove. | |
2606 | * config/i386/nm-nbsdaout.h: New file. | |
2607 | * config/i386/nm-nbsdelf.h: Remove. | |
2608 | * config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2609 | (USE_STRUCT_CONVENTION): Remove. | |
2610 | * config/i386/tm-nbsdaout.h: New file. | |
2611 | * config/i386/tm-nbsdelf.h: Remove. | |
2612 | * config/m68k/nbsd.mh: Remove. | |
2613 | * config/m68k/nbsd.mt: Remove. | |
2614 | * config/m68k/nbsdaout.mh: New file. | |
2615 | * config/m68k/nbsdaout.mt: New file. | |
2616 | * config/m68k/nm-nbsd.h: Use config/nm-nbsd.h. | |
2617 | * config/m68k/nm-nbsdaout.h: New file. | |
2618 | * config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2619 | (IN_SOLIB_CALL_TRAMPOLINE): Define. | |
2620 | * config/ns32k/nbsd.mh: Remove. | |
2621 | * config/ns32k/nbsd.mt: Remove. | |
2622 | * config/ns32k/nbsdaout.mh: New file. | |
2623 | * config/ns32k/nbsdaout.mt: New file. | |
2624 | * config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h. | |
2625 | * config/ns32k/nm-nbsdaout.h: New file. | |
2626 | * config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2627 | (IN_SOLIB_CALL_TRAMPOLINE): Define. | |
2628 | * config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h. | |
2629 | (SVR4_SHARED_LIBS): Remove. | |
2630 | * config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h. | |
2631 | * config/sparc/nbsd.mh: Remove. | |
2632 | * config/sparc/nbsd.mt: Remove. | |
2633 | * config/sparc/nbsdaout.mh: New file. | |
2634 | * config/sparc/nbsdaout.mt: New file. | |
2635 | * config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. | |
2636 | * config/sparc/nbsdelf.mt: New file. | |
2637 | * config/sparc/nm-nbsdaout.h: New file. | |
2638 | * config/sparc/nm-nbsdelf.h: Remove. | |
2639 | * config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2640 | * config/sparc/tm-nbsdaout.h: New file. | |
2641 | ||
257ce470 JT |
2642 | 2002-05-21 Jason Thorpe <[email protected]> |
2643 | ||
2644 | * Makefile.in (ALLDEPFILES): Add mipsnbsd-nat.c and | |
2645 | mipsnbsd-tdep.c | |
2646 | (mipsnbsd-nat.o, mipsnbsd-tdep.o): New dependency lists. | |
2647 | ||
76a6d5fe JT |
2648 | 2002-05-21 Jason Thorpe <[email protected]> |
2649 | ||
2650 | * Makefile.in (ALLDEPFILES): Add shnbsd-tdep.c and | |
2651 | shnbsd-nat.c. | |
2652 | (shnbsd-tdep.o, shnbsd-nat.o): New dependency lists. | |
2653 | ||
45888261 JT |
2654 | 2002-05-21 Jason Thorpe <[email protected]> |
2655 | ||
2656 | * NEWS: Note new MIPS NetBSD native configuration. | |
2657 | * configure.host (mips*-*-netbsd*): New host. | |
2658 | * configure.tgt (mips*-*-netbsd*): New target. | |
2659 | * mipsnbsd-nat.c: New file. | |
2660 | * mipsnbsd-tdep.c: New file. | |
2661 | * mipsnbsd-tdep.h: New file. | |
2662 | * config/mips/nbsd.mh: New file. | |
2663 | * config/mips/nbsd.mt: New file. | |
2664 | * config/mips/nm-nbsd.h: New file. | |
2665 | * config/mips/tm-nbsd.h: New file. | |
2666 | ||
70f80edf JT |
2667 | 2002-05-21 Jason Thorpe <[email protected]> |
2668 | ||
2669 | * Makefile.in (SFILES): Add osabi.c. | |
2670 | (COMMON_OBS): Add osabi.o. | |
2671 | (osabi.o): New dependency list. | |
2672 | * osabi.c: New file. | |
2673 | * osabi.h: New file. | |
2674 | * doc/gdbint.texinfo: Document new generic OS ABI framework. | |
2675 | ||
2676 | * Makefile.in (alpha_tdep_h): Define and use instead of | |
2677 | alpha-tdep.h. | |
2678 | * alpha-tdep.c (alpha_abi_names, process_note_abi_tag_sections, | |
2679 | get_elfosabi, alpha_abi_handler_list, alpha_gdbarch_register_os_abi): | |
2680 | Remove. | |
2681 | (alpha_gdbarch_init, alpha_dump_tdep): Use generic OS ABI framework. | |
2682 | * alpha-tdep.h: Include osabi.h. | |
2683 | (alpha_abi): Remove. | |
2684 | (gdbarch_tdep): Use generic OS ABI framework. | |
2685 | * alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Use | |
2686 | gdbarch_register_osabi. | |
2687 | * alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise. | |
2688 | * alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise. | |
2689 | * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise. | |
2690 | ||
2691 | * Makefile.in (sh_tdep_h): Add osabi.h. | |
2692 | * sh-tdep.h (sh_osabi): Remove. | |
2693 | (gdbarch_tdep): Use generic OS ABI framework. | |
2694 | * sh-tdep.c (sh_osabi_names, process_note_abi_tag_sections, | |
2695 | sh_osabi_handler_list, sh_gdbarch_register_os_abi): Remove. | |
2696 | (sh_gdbarch_init, sh_dump_tdep): Use generic OS ABI framework. | |
2697 | * shnbsd-tdep.c (_initialize_shnbsd_tdep): Use gdbarch_register_osabi. | |
2698 | ||
2699 | * Makefile.in (arm_tdep_h): Define and use instead of arm-tdep.h. | |
2700 | * arm-linux-tdep.c (_initialize_arm_linux_tdep): Use | |
2701 | gdbarch_register_osabi. | |
2702 | * arm-tdep.c (arm_abi_names, process_note_abi_tag_sections, | |
2703 | arm_abi_handler_list, arm_gdbarch_register_os_abi): Remove. | |
2704 | (get_elfosabi): Rename to... | |
2705 | (arm_elf_osabi_sniffer): ...this. Adjust to use generic OS | |
2706 | ABI framework support routines. | |
2707 | (arm_gdbarch_init): Use generic OS ABI framework. | |
2708 | (arm_dump_tdep): Likewise. | |
2709 | (_initialize_arm_tdep): Likewise. | |
2710 | * arm-tdep.h: Include osabi.h. | |
2711 | (arm_abi): Remove. | |
2712 | (gdbarch_tdep): Remove arm_abi and abi_name members. Add | |
2713 | osabi member. | |
2714 | (arm_gdbarch_register_os_abi): Remove prototype. | |
2715 | * armnbsd-tdep.c (arm_netbsd_aout_osabi_sniffer): New function. | |
2716 | (_initialize_arm_netbsd_tdep): Use gdbarch_register_osabi. | |
2717 | ||
2718 | * Makefile.in (mips-tdep.o): Add osabi.h to dependency list. | |
2719 | * mips-tdep.c: Include osabi.h. | |
2720 | (gdbarch_tdep, mips_gdbarch_init, mips_dump_tdep): Use generic | |
2721 | OS ABI framework. | |
2722 | ||
d194345b KH |
2723 | 2002-05-20 Kazu Hirata <[email protected]> |
2724 | ||
2725 | * h8300-tdep.c: Fix formatting. | |
2726 | ||
70c6b0d1 EZ |
2727 | 2002-05-20 Elena Zannoni <[email protected]> |
2728 | ||
2729 | * rs6000-tdep.c (rs6000_do_registers_info): Simplify code for | |
2730 | printing vector registers. | |
2731 | ||
165b8e33 AC |
2732 | 2002-05-19 Andrew Cagney <[email protected]> |
2733 | ||
2734 | From Fernando Nasser: | |
2735 | * remote.c (remote_async_open_1): Re-throw the exception when the | |
2736 | connection fails. | |
2737 | (remote_cisco_open): Ditto. | |
2738 | (remote_open_1): Ditto. | |
2739 | ||
36918e70 AC |
2740 | 2002-05-19 Andrew Cagney <[email protected]> |
2741 | ||
2742 | * remote.c (remote_start_remote_dummy): Add uiout parameter. | |
2743 | (remote_start_remote): Add uiout parameter. Pass through to | |
2744 | remote_start_remote_dummy. | |
2745 | (remote_open_1): Use catch_exception instead of catch_errors. | |
2746 | (remote_async_open_1): Ditto. | |
2747 | (remote_cisco_open): Ditto. | |
2748 | ||
ae44c0c4 AC |
2749 | 2002-05-19 Andrew Cagney <[email protected]> |
2750 | ||
2751 | * remote.c (remote_start_remote): Replace PTR with void pointer. | |
2752 | (sigint_remote_twice_token, sigint_remote_token): Ditto. Make | |
2753 | static. | |
2754 | ||
8efe637d AC |
2755 | 2002-05-18 Andrew Cagney <[email protected]> |
2756 | ||
2757 | * gdb_indent.sh: Allow the script to be run in the sim directory. | |
2758 | ||
2f1b5984 MK |
2759 | 2002-05-18 Mark Kettenis <[email protected]> |
2760 | ||
f0f625e2 MK |
2761 | * config/i386/nm-cygwin.h (NO_PTRACE_H): Remove define. |
2762 | * config/i386/nm-go32.h (NO_PTRACE_H): Remove define. | |
2763 | ||
2f1b5984 MK |
2764 | * corelow.c (core_open): Only call set_gdbarch_from_file if |
2765 | exec_bfd is NULL. | |
2766 | ||
fc974602 AV |
2767 | 2002-05-17 Andrey Volkov <[email protected]> |
2768 | ||
2769 | * h8300-tdep.c: Add support of EXR register | |
2770 | * config/h8300/tm-h8300.h: Ditto. | |
2771 | ||
906709f4 AV |
2772 | 2002-05-17 Andrey Volkov <[email protected]> |
2773 | ||
2774 | * h8300-tdep.c: Add additional CCR flags (I,UI,H,U) | |
2775 | ||
6e591d68 AV |
2776 | 2002-05-17 Andrey Volkov <[email protected]> |
2777 | ||
2778 | * h8300-tdep.c: Change literal regnums to REGNO. | |
2779 | ||
84f0252a JB |
2780 | 2002-05-17 Jim Blandy <[email protected]> |
2781 | ||
e0e9281e JB |
2782 | * NEWS: Note addition of macro support. |
2783 | ||
84f0252a JB |
2784 | Expand preprocessor macros in C expressions. |
2785 | * c-lang.h: #include "macroexp.h", for macro_lookup_ftype. | |
2786 | (scan_macro_expansion, scanning_macro_expansion, | |
2787 | finished_macro_expansion): New function declarations. | |
2788 | (expression_macro_lookup_func, expression_macro_lookup_baton): New | |
2789 | variable declarations. | |
2790 | * parser-defs.h (expression_context_pc): New declaration. | |
2791 | * parse.c (expression_context_pc): New variable. | |
2792 | (parse_exp_1): Set expression_context_pc, as well as | |
2793 | expression_context_block. | |
2794 | * c-exp.y (yylex): If we're not already reading the result of a | |
2795 | macro expansion, try to macro-expand the next token. When we're | |
2796 | done scanning a macro expansion, switch back to the mainline text. | |
2797 | Commas and `if's in a macro's expansion don't terminate the input. | |
2798 | * c-lang.c: #include "macroscope.h" and "gdb_assert.h". | |
2799 | (macro_original_text, macro_expanded_text, | |
2800 | expression_macro_lookup_func, expression_macro_lookup_baton): New | |
2801 | variables. | |
2802 | (scan_macro_expansion, scanning_macro_expansion, | |
2803 | finished_macro_expansion, scan_macro_cleanup, null_macro_lookup, | |
2804 | c_preprocess_and_parse): New functions. | |
2805 | (c_language_defn, cplus_language_defn, asm_language_defn): Call | |
2806 | c_preprocess_and_parse, instead of c_parse. | |
2807 | * Makefile.in (c_lang_h): Note that this #includes macroexp.h. | |
2808 | (c-lang.o): Note dependency on macroscope.h and gdb_assert.h. | |
2809 | ||
1c509ca8 JR |
2810 | Fri May 17 14:26:19 2002 J"orn Rennecke <[email protected]> |
2811 | ||
2812 | * sh-tdep.c (gdb_print_insn_sh64): Delete. | |
2813 | (gdb_print_insn_sh): Just set info->endian and use print_insn_sh. | |
2814 | (sh_gdbarch_init): Always use gdb_print_insn_sh. | |
2815 | ||
2250ee0c CV |
2816 | 2002-05-17 Corinna Vinschen <[email protected]> |
2817 | ||
2818 | * NEWS: Add section for multi-arched targets. Add v850 to that section. | |
2819 | ||
ab3b8126 JT |
2820 | 2002-05-17 Jason Thorpe <[email protected]> |
2821 | ||
2822 | * Makefile.in (sh_tdep_h): Define and use. | |
2823 | * config/sh/tm-sh.h (sh_osabi, sh_abi, gdbarch_tdep, | |
2824 | register enum): Move to... | |
2825 | * * sh-tdep.h: ...here. | |
2826 | * sh-tdep.c: Include sh-tdep.h. | |
2827 | * sh3-rom.c: Likewise. | |
2828 | * shnbsd-tdep.c: Likewise. | |
2829 | ||
ed9d4749 MS |
2830 | 2002-05-16 Michael Snyder <[email protected]> |
2831 | ||
2832 | * arm-tdep.c: Spelling fix in comment. | |
2833 | ||
2e276125 JB |
2834 | 2002-05-16 Jim Blandy <[email protected]> |
2835 | ||
6821892e JB |
2836 | Add commands for manually expanding macros and showing their |
2837 | definitions. | |
2838 | * macrocmd.c, macroscope.c, macroscope.h: New files. | |
2839 | * Makefile.in (SFILES): Add macrocmd.c, macroscope.c. | |
2840 | (macroscope_h): New variable. | |
2841 | (HFILES_NO_SRCDIR): Add macroscope.h. | |
2842 | (COMMON_OBS): Add macrocmd.o, macroscope.o. | |
2843 | (macroscope.o, macrocmd.o): New rules. | |
2844 | ||
2e276125 JB |
2845 | Teach the Dwarf 2 reader to read macro information. |
2846 | * dwarf2read.c: #include "macrotab.h". | |
2847 | (dwarf_macinfo_buffer): New variable. | |
2848 | (struct dwarf2_pinfo): New members: dwarf_macinfo_buffer, and | |
2849 | dwarf_macinfo_size. | |
2850 | (DWARF_MACINFO_BUFFER, DWARF_MACINFO_SIZE): New macros. | |
2851 | (dwarf2_missing_macinfo_section, dwarf2_macros_too_long, | |
2852 | dwarf2_macros_not_terminated, dwarf2_macro_outside_file, | |
2853 | dwarf2_macro_unmatched_end_file, dwarf2_macro_malformed_definition, | |
2854 | dwarf2_macro_spaces_in_definition): New complaints. | |
2855 | (dwarf2_has_info): Initialize dwarf_macinfo_offset. | |
2856 | (dwarf2_build_psymtabs): Read the .dwarf_macinfo section. | |
2857 | (dwarf2_build_psymtabs_hard): Record the buffer and its size in | |
2858 | the partial symbol table. | |
2859 | (psymtab_to_symtab_1): Set the macinfo buffer and size globals | |
2860 | from what's recorded in the partial symbol table. | |
2861 | (read_file_scope): If the compilation unit has a | |
2862 | `DW_AT_macro_info' attribute, read its macro information. | |
2863 | * Makefile.in (dwarf2read.o): Depend on macrotab.h. | |
2864 | ||
2f53fe6c DJ |
2865 | 2002-05-16 Daniel Jacobowitz <[email protected]> |
2866 | ||
2867 | Fix PR gdb/546 | |
2868 | * ser-tcp.c: Don't include <netinet/udp.h>. | |
2869 | ||
2be99286 SC |
2870 | 2002-05-16 Stephane Carrez <[email protected]> |
2871 | ||
2872 | * MAINTAINERS: Update my email address. | |
2873 | ||
c9af212b | 2874 | 2002-05-16 Richard Earnshaw <[email protected]> |
8501bbeb RE |
2875 | |
2876 | * config/arm/nm-nbsd.h: Use "config/nm-nbsd.h" to include generic | |
2877 | include file of the same name. | |
2878 | ||
bf5f1a52 CV |
2879 | 2002-05-16 Corinna Vinschen <[email protected]> |
2880 | ||
2881 | * configure.tgt: Mark v850 as multi-arched. | |
2882 | * config/v850/tm-v850.h: Remove file. | |
2883 | * config/v850/v850.mt: Eliminate TM_FILE. | |
2884 | ||
435e042a CV |
2885 | 2002-05-16 Corinna Vinschen <[email protected]> |
2886 | ||
2887 | * v850-tdep.c: Full multi-arch. | |
2888 | * config/v850/tm-v850.h: Eliminate or move to v850-tdep.c everything. | |
2889 | Define GDB_MULTI_ARCH to 2. | |
2890 | ||
9819c6c8 PM |
2891 | 2002-05-16 Pierre Muller <[email protected]> |
2892 | ||
2893 | * p-exp.y (current_type): New static variable. | |
2894 | Carries the type of the expression at the position that is parsed. | |
2895 | (push_current_type, pop_current_type): Two new functions. Used | |
2896 | to store/restore current_type in expression on specific tokens. | |
c9af212b RE |
2897 | (search_field): New static variable. Set to one after parsing a point |
2898 | as at that point only a FIELDNAME token should be searched. | |
9819c6c8 PM |
2899 | (FIELDNAME): New token. After a point only a token belonging to |
2900 | current_type type definition is allowed. | |
2901 | (all over token rules): reset and change current_type according | |
2902 | to rules. | |
2903 | (exp '[' rule): insert implicit array index field if | |
2904 | exp is a pascal string type. | |
2905 | ||
3a06899a CV |
2906 | 2002-05-16 Corinna Vinschen <[email protected]> |
2907 | ||
2908 | * v850-tdep.c: Fix comment for v850_scan_prologue. Remove extra | |
2909 | frame info. Use frame_info's saved_regs instead of matching member | |
2910 | in extra_frame_info throughout. | |
2911 | (v850_frame_init_saved_regs): New function. | |
2912 | (v850_init_extra_frame_info): Move most functionality into | |
2913 | v850_frame_init_saved_regs(). | |
2914 | * config/v850/tm-v850.h (EXTRA_FRAME_INFO): Remove definition. | |
2915 | (v850_frame_find_saved_regs): Remove declaration. | |
2916 | (FRAME_FIND_SAVED_REGS): Remove definition. | |
2917 | (v850_frame_init_saved_regs): Add declaration. | |
2918 | (FRAME_INIT_SAVED_REGS): Add definition. | |
2919 | ||
6ed14b0e CV |
2920 | 2002-05-16 Corinna Vinschen <[email protected]> |
2921 | ||
2922 | * v850-tdep.c: Begin multi-arch'ing v850. | |
2923 | (v850_target_architecture_hook): Remove function. | |
2924 | (v850_gdbarch_init): New function. Add code previously in | |
2925 | v850_target_architecture_hook(). | |
2926 | (_initialize_v850_tdep): Don't set target_architecture_hook. | |
2927 | Call register_gdbarch_init() instead. | |
2928 | ||
42725910 DJ |
2929 | 2002-05-16 Daniel Jacobowitz <[email protected]> |
2930 | ||
2931 | * gdbtypes.h (struct cplus_struct_type): Remove args field. | |
2932 | * hpread.c (hpread_read_struct_type): Remove assignments to args. | |
2933 | (fixup_class_method_type): Likewise. | |
2934 | ||
0bc68c49 DJ |
2935 | 2002-05-15 Daniel Jacobowitz <[email protected]> |
2936 | ||
2937 | From Martin Pool <[email protected]>: | |
2938 | * gdbserver/server.c (gdbserver_usage): New function. | |
2939 | (main): Call it. | |
2940 | ||
99d9066e JB |
2941 | 2002-05-15 Jim Blandy <[email protected]> |
2942 | ||
2943 | Add macro structures to GDB's symbol tables. Nobody puts anything | |
2944 | in them yet. | |
2945 | * symtab.h (struct symtab): New member: `macro_table'. | |
2946 | * buildsym.h (pending_macros): New global variable. | |
2947 | * buildsym.c: #include "macrotab.h". | |
2948 | (buildsym_init): Initialize `pending_macros'. | |
2949 | (end_symtab): If we found macro information while reading a CU's | |
2950 | debugging info, do build a symtab structure for it. Make the | |
2951 | symtab point to the macro information, and clear the | |
2952 | `pending_macros' pointer which held it while we were reading the | |
2953 | debug info. | |
2954 | (really_free_pendings): Free any pending macro table. | |
2955 | * objfiles.h (struct objfile): New member: `macro_cache'. | |
2956 | * objfiles.c (allocate_objfile): Set allocate and free functions | |
2957 | for the macro cache's objstack. | |
2958 | (free_objfile): Empty the macro cache's obstack. | |
2959 | * symfile.c (reread_symbols): Empty the macro cache's obstack, and | |
2960 | set new allocate and free functions for it. | |
2961 | * solib-sunos.c (allocate_rt_common_objfile): Set allocate and | |
2962 | free functions for the macro cache's objstack. (Why is this | |
2963 | function building its own objfile?) | |
2964 | * symmisc.c (print_objfile_statistics): Print statistics on the | |
2965 | macro bcache. | |
2966 | * Makefile.in: Note that buildsym.o depends on macrotab.h. | |
2967 | ||
c899585b RE |
2968 | 2002-05-15 Richard Earnshaw <[email protected]> |
2969 | ||
2970 | * config/arm/nm-nbsd.h: Use <> for include of config/nm-nbsd.h. | |
2971 | (REGISTER_U_ADDR): Delete definition. | |
2972 | (arm_register_u_addr): Delete declaration. | |
2973 | ||
a6cdd8c5 RE |
2974 | 2002-05-15 Richard Earnshaw <[email protected]> |
2975 | ||
2976 | * arm-linux-tdep.c (ARM_LINUX_JB_PC): Renamed from JB_PC. | |
2977 | (ARM_LINUX_JB_ELEMENT_SIZE): Likewise. | |
2978 | ||
fd3a5ca1 DJ |
2979 | 2002-05-14 Daniel Jacobowitz <[email protected]> |
2980 | ||
2981 | * gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo | |
2982 | stop_at -> stop_pc. | |
2983 | ||
c97dcfc7 AC |
2984 | 2002-05-14 Andrew Cagney <[email protected]> |
2985 | ||
2986 | * regcache.c (register_valid): Revise comments refering to "Not | |
2987 | available" and "unavailable". | |
2988 | * frame.c (frame_register_read): Ditto. | |
2989 | * findvar.c (value_of_register): Ditto. | |
2990 | ||
93021b7d AC |
2991 | 2002-05-15 Andrew Cagney <[email protected]> |
2992 | ||
2993 | * Makefile.in (remote_sim_h): Replace remote-sim_h. | |
2994 | (remote-sim.o): Update dependencies. | |
2995 | (d10v-tdep.o): Specify dependencies. | |
2996 | (sim_d10v_h): Define. | |
2997 | ||
a86bc61c JB |
2998 | 2002-05-14 Jim Blandy <[email protected]> |
2999 | ||
3000 | * macroexp.c (init_buffer, gather_arguments, expand): Use NULL, not 0. | |
3001 | * macrotab.c (macro_lookup_inclusion, find_definition, | |
3002 | new_macro_table): Same. | |
3003 | ||
3004 | * macroexp.c (currently_rescanning, expand): Use `strcmp () == 0', | |
3005 | not `! strcmp ()'. This is a dubious improvement. | |
3006 | * macrotab.c (macro_lookup_inclusion, find_definition): Same. | |
3007 | ||
3008 | * macrotab.c (macro_lookup_inclusion): Initialize `best_depth', | |
3009 | although it's not necessary, to avoid a warning. | |
3010 | ||
2fdde8f8 DJ |
3011 | 2002-05-14 Daniel Jacobowitz <[email protected]> |
3012 | ||
3013 | * gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE. | |
3014 | (TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use | |
3015 | TYPE_INSTANCE_FLAGS. | |
3016 | (struct main_type): New. | |
3017 | (struct type): Move most members to struct main_type. Change | |
3018 | cv_type and as_type to new type_chain member. Add instance_flags. | |
3019 | (TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros. | |
3020 | (TYPE_CV_TYPE, TYPE_AS_TYPE): Remove. | |
3021 | (finish_cv_type): Remove prototype. | |
3022 | * gdbtypes.c (alloc_type): Update comment. Allocate TYPE_MAIN_TYPE. | |
3023 | Set TYPE_CHAIN. | |
3024 | (alloc_type_instance): New function. | |
3025 | (smash_type): New function. | |
3026 | (make_pointer_type, make_reference_type, make_function_type) | |
3027 | (smash_to_member_type, smash_to_method_type): Call smash_type. | |
3028 | (make_qualified_type): New function. | |
3029 | (make_type_with_address_space): Call make_qualified_type. | |
3030 | (make_cv_type): Likewise. | |
3031 | (finish_cv_type): Remove unnecessary function. | |
3032 | (replace_type): Update comment. Copy TYPE_MAIN_TYPE. | |
3033 | (recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS; | |
3034 | remove TYPE_CV_TYPE and TYPE_AS_TYPE. | |
3035 | * c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS. | |
3036 | * dwarf2read.c (read_structure_scope): Don't call finish_cv_type. | |
3037 | * hpread.c (hpread_read_struct_type): Likewise. | |
3038 | * stabsread.c (read_struct_type): Likewise. | |
3039 | ||
843fedf4 EZ |
3040 | 2002-05-14 Elena Zannoni <[email protected]> |
3041 | ||
3042 | * configure.tgt: Add a catch all sh* target, for cases like | |
3043 | sh[2,3,4]-elf and sh-hms. | |
3044 | ||
05a6c72c KS |
3045 | 2002-05-14 Keith Seitz <[email protected]> |
3046 | ||
3047 | * event-loop.c (create_file_handler): Don't do anything but | |
3048 | update data when we are given a fd which we are already | |
3049 | monitoring. | |
3050 | ||
5d085aaf ML |
3051 | 2002-05-14 Michal Ludvig <[email protected]> |
3052 | ||
3053 | * dwarf2cfi.c (context_cpy): Copy registers correctly. | |
3054 | (update_context): Use __func__ in warnings. | |
3055 | ||
9db8d71f DJ |
3056 | 2002-05-14 Daniel Jacobowitz <[email protected]> |
3057 | ||
3058 | * ser-tcp.c: Include <netinet/udp.h>. Rename tcp_open | |
3059 | and tcp_close to net_open and net_close. | |
3060 | (net_open): Accept "udp:" and "tcp:" specifications. Connect | |
3061 | using UDP if requested. Don't try to disable Nagle on UDP | |
3062 | sockets. | |
3063 | * remote.c (remote_serial_open): New function. Warn about UDP. | |
3064 | (remote_open_1, remote_async_open_1, remote_cisco_open): Call it. | |
3065 | ||
5dbc6baa EZ |
3066 | 2002-05-13 Elena Zannoni <[email protected]> |
3067 | ||
3068 | * MAINTAINERS: List sh-elf as buildable with ,-Werror. | |
3069 | ||
cc3023f7 EZ |
3070 | 2002-05-13 Elena Zannoni <[email protected]> |
3071 | ||
3072 | * configure.tgt: Remove sh-hms target. | |
3073 | * MAINTAINERS: Don't list sh-hms as a separate target. | |
3074 | ||
ec2bcbe7 JB |
3075 | 2002-05-13 Jim Blandy <[email protected]> |
3076 | ||
3077 | Add first preprocessor macro-expansion files. | |
3078 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
3079 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
3080 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
3081 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
3082 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
3083 | (macroexp.o, macrotab.o): New rules. | |
3084 | ||
6d531722 AC |
3085 | 2002-05-13 Andrew Cagney <[email protected]> |
3086 | ||
3087 | * config/m88k/tm-m88k.h: Update copyright. | |
3088 | (m88k_target_write_pc): Declare | |
3089 | (TARGET_WRITE_PC): Redefine using m88k_target_write_pc. | |
3090 | (M88K_NNPC_REGNUM): Rename NNPC_REGNUM. | |
3091 | (SHIFT_INST_REGS): Update definition. | |
3092 | * m88k-tdep.c (m88k_target_write_pc): New function. Implement | |
3093 | using old definition of TARGET_WRITE_PC. | |
3094 | * regcache.c (generic_target_write_pc): Delete code handling | |
3095 | NNPC_REGNUM. | |
3096 | * gdbarch.sh (NNPC_REGNUM): Delete. | |
3097 | * gdbarch.h, gdbarch.c: Regenerate. | |
3098 | ||
3e3f2739 RE |
3099 | 2002-05-13 Richard Earnshaw <[email protected]> |
3100 | ||
3101 | * builtin-regs.c (value_of_builtin_reg): Correctly calculate the | |
3102 | builtin reg number. | |
3103 | ||
0004e5a2 DJ |
3104 | 2002-05-13 Daniel Jacobowitz <[email protected]> |
3105 | ||
3106 | * ax-gdb.c (gen_sign_extend, gen_fetch, gen_usual_unary) | |
3107 | (gen_cast, gen_scale, gen_add, gen_sub, gen_binop, gen_deref) | |
3108 | (gen_address_of, gen_struct_ref, gen_repeat): Use type | |
3109 | access macros. | |
3110 | * c-typeprint.c (cp_type_print_method_args): Likewise. | |
3111 | (c_type_print_args): Likewise. | |
3112 | * d10v-tdep.c (d10v_push_arguments): Likewise. | |
3113 | (d10v_extract_return_value): Likewise. | |
3114 | * expprint.c (print_subexp): Likewise. | |
3115 | * gdbtypes.c (lookup_primitive_typename): Likewise. | |
3116 | (lookup_template_type, add_mangled_type, print_arg_types): Likewise. | |
3117 | * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_STUB) | |
3118 | (TYPE_TARGET_STUB, TYPE_STATIC, TYPE_CONST, TYPE_VOLATILE) | |
3119 | (TYPE_PROTOTYPED, TYPE_INCOMPLETE, TYPE_CODE_SPACE, TYPE_VARARGS) | |
3120 | (TYPE_VECTOR): Likewise. | |
3121 | * hpread.c (hpread_read_struct_type) | |
3122 | (fix_static_member_physnames, fixup_class_method_type) | |
3123 | (hpread_type_lookup): Likewise. | |
3124 | * mdebugread.c (parse_symbol, parse_type): Likewise. | |
3125 | * p-lang.c (is_pascal_string_type): Likewise. | |
3126 | * valops.c (hand_function_call): Likewise. | |
3127 | * x86-64-tdep.c (classify_argument): Likewise. | |
3128 | ||
3129 | * hpread.c (hpread_read_function_type) | |
3130 | (hpread_read_doc_function_type): Call replace_type. | |
3131 | * dstread.c (create_new_type): Delete. | |
3132 | (decode_dst_structure, process_dst_function): Call alloc_type. | |
3133 | Use type access macros. | |
3134 | ||
dff95cc7 MK |
3135 | 2002-05-12 Mark Kettenis <[email protected]> |
3136 | ||
3137 | * i387-tdep.c (i387_supply_fxsave): Skip the SSE registers if | |
3138 | the're not supported by the current architecture. | |
3139 | (i387_fill_fxsave): Likewise. | |
3140 | ||
bbcd32ad FF |
3141 | 2002-05-12 Fred Fish <[email protected]> |
3142 | ||
3143 | * symfile.c (default_symfile_offsets): Arrange for uninitialized | |
3144 | sect_index_xxx members to index the first slot in section_offsets | |
3145 | if all of the section_offsets are zero. | |
3146 | ||
89cf4787 MK |
3147 | 2002-05-12 Mark Kettenis <[email protected]> |
3148 | ||
3149 | * configure.tgt (sparc-*openbsd): Remove entry accidentially | |
3150 | checked in with last change. | |
3151 | ||
1f77ffc5 MK |
3152 | 2002-05-12 Mark Kettenis <[email protected]> |
3153 | ||
3154 | * configure.tgt (i[3456]86-*-unixware*, i[3456]86-*-unixware2*): | |
3155 | Remove targets. These are canonicalized to i386-*-sysv4.2uw by | |
3156 | config.sub. | |
3157 | ||
89b8b4a9 DJ |
3158 | 2002-05-12 Daniel Jacobowitz <[email protected]> |
3159 | ||
3160 | * Makefile.in: Update dependencies. | |
3161 | ||
14a5e767 AC |
3162 | 2002-05-11 Andrew Cagney <[email protected]> |
3163 | ||
3164 | * language.c (local_hex_string_custom): Simplify. Do not depend | |
3165 | on PRINTF_HAS_LONG_LONG or CC_HAS_LONG_LONG. | |
3166 | ||
3167 | * memattr.c (mem_info_command): Replace calls to | |
3168 | longest_local_hex_string and longest_local_hex_string_custom. | |
3169 | * buildsym.c (make_blockvector): Ditto. | |
3170 | * solib.c (info_sharedlibrary_command): Ditto. | |
3171 | * tracepoint.c (tracepoints_info): Ditto. | |
3172 | * symtab.c (print_msymbol_info): Ditto. | |
3173 | ||
3174 | * language.c (local_hex_string): Delete. | |
3175 | (local_hex_string_custom): Delete. | |
3176 | (longest_local_hex_string): Rename to local_hex_string. | |
3177 | (longest_local_hex_string_custom): Rename to | |
3178 | local_hex_string_custom. | |
3179 | * language.h (local_hex_string): Change parameter type to LONGEST. | |
3180 | (local_hex_string_custom): Ditto. | |
3181 | (longest_local_hex_string): Delete declaration. | |
3182 | (longest_local_hex_string_custom): Ditto. | |
3183 | ||
3184 | * solib.c: Update copyright. | |
3185 | * memattr.c: Update copyright. | |
3186 | ||
13d01224 AC |
3187 | 2002-05-11 Andrew Cagney <[email protected]> |
3188 | ||
3189 | * arch-utils.h (legacy_register_to_value): Declare. | |
3190 | (legacy_value_to_register): Declare. | |
3191 | (legacy_convert_register_p): Declare. | |
3192 | * arch-utils.c (legacy_register_to_value): New function. | |
3193 | (legacy_value_to_register): New function. | |
3194 | (legacy_convert_register_p): New function. | |
3195 | ||
3196 | * gdbarch.sh (REGISTER_TO_VALUE): Define. | |
3197 | (VALUE_TO_REGISTER): Define. | |
3198 | (CONVERT_REGISTER_P): Define. | |
3199 | * gdbarch.h, gdbarch.c: Regenerate. | |
3200 | ||
3201 | * valops.c (value_assign): Use CONVERT_REGISTER_P and | |
3202 | VALUE_TO_REGISTER. | |
3203 | * findvar.c (value_from_register): Use REGISTER_TO_VALUE and | |
3204 | CONVERT_REGISTER_P. | |
3205 | ||
4a1970e4 DJ |
3206 | 2005-05-11 Daniel Jacobowitz <[email protected]> |
3207 | Peter Schauer <[email protected]> | |
3208 | ||
3209 | * Makefile.in: Update dependencies for valops.c. | |
3210 | * valops.c: Include "gdb_assert.h". | |
3211 | (typecmp): Skip THIS parameter to methods. | |
3212 | (find_method_list): Remove static_memfuncp argument, | |
3213 | update callers. Check for stub methods. | |
3214 | (find_value_oload_method_list): Don't set *static_memfuncp. | |
3215 | (find_overload_match): Don't check for stub methods. Assert | |
3216 | that methods are not stubbed. Handle static methods. | |
3217 | (value_find_oload_method_list): Remove static_memfuncp argument. | |
3218 | * gdbtypes.c (check_stub_method): Do not add THIS pointer | |
3219 | to the argument list for static stub methods. | |
3220 | * value.h (value_find_oload_method_list): Update prototype. | |
3221 | ||
b2e75d78 AC |
3222 | 2002-05-11 Andrew Cagney <[email protected]> |
3223 | ||
3224 | * arch-utils.h (generic_register_size): Declare. | |
3225 | (generic_register_raw_size, generic_register_virtual_size): Delete | |
3226 | declarations. | |
3227 | * arch-utils.c (generic_register_raw_size): Delete. | |
3228 | (generic_register_size): New function. | |
3229 | (generic_register_virtual_size): Delete. | |
3230 | ||
3231 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Make | |
3232 | default generic_register_size. | |
3233 | * gdbarch.h, gdbarch.c: Re-generate. | |
3234 | ||
3235 | * d10v-tdep.c (d10v_gdbarch_init): Use generic_register_size for | |
3236 | register_virtual_size. | |
3237 | * x86-64-tdep.c (x86_64_gdbarch_init): Ditto. | |
3238 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
3239 | ||
451fbdda AC |
3240 | 2002-05-11 Andrew Cagney <[email protected]> |
3241 | ||
3242 | * gdbarch.sh (gdbarch_data): Add gdbarch parameter. | |
3243 | * gdbarch.h, gdbarch.c: Regenerate. | |
3244 | * gnu-v3-abi.c: Update copyright. | |
3245 | (vtable_address_point_offset): Update. | |
3246 | (gnuv3_rtti_type): Update. | |
3247 | (gnuv3_baseclass_offset): Update. | |
3248 | * solib-svr4.c (svr4_fetch_link_map_offsets): Update. | |
3249 | (init_fetch_link_map_offsets): Update. | |
3250 | * remote.c (get_remote_state): Update. | |
3251 | ||
6d2f5cea DJ |
3252 | 2002-05-11 Daniel Jacobowitz <[email protected]> |
3253 | ||
3254 | * TODO: Remove value_headof/value_from_vtable_info comment. | |
3255 | * printcmd.c (print_command_1): Don't call value_from_vtable_info. | |
3256 | * values.c (value_headof, value_from_vtable_info): Delete. | |
3257 | * value.h (value_from_vtable_info): Delete prototype. | |
3258 | ||
d2324da4 AC |
3259 | 2002-05-11 Andrew Cagney <[email protected]> |
3260 | ||
3261 | * Makefile.in: Replace gdb_assert.h with $(gdb_assert_h), | |
3262 | gdb_string.h with $(gdb_string_h) and gdb_regex.h with | |
3263 | $(gdb_regex_h). | |
3264 | (gdb_assert_h): Define. | |
3265 | (gdb_wait_h): Define. | |
3266 | (gdb_regex_h): Define. | |
3267 | ||
5c717440 DJ |
3268 | 2002-05-11 Daniel Jacobowitz <[email protected]> |
3269 | ||
3270 | From Peter Schauer <[email protected]>: | |
3271 | * linespec.c (find_methods): Handle GCC 3.x template constructors. | |
3272 | ||
6c7861b3 JT |
3273 | 2002-05-11 Jason Thorpe <[email protected]> |
3274 | ||
3275 | * nbsd-tdep.c: Fix comment. | |
3276 | ||
ea5bc2a6 JT |
3277 | 2002-05-11 Jason Thorpe <[email protected]> |
3278 | ||
3279 | * Makefile.in (ALLDEPFILES): Add nbsd-tdep.c. | |
3280 | (alphanbsd-tdep.o): Add nbsd-tdep.h to dependency list. | |
3281 | (nbsd-tdep.o): New dependency list. | |
3282 | * alphanbsd-tdep.c: Don't include solib-svr4.h. Include | |
3283 | nbsd-tdep.h. | |
3284 | (alphanbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
3285 | (alphanbsd_init_abi): Use nbsd_lp64_solib_svr4_fetch_link_map_offsets. | |
3286 | * nbsd-tdep.c: New file. | |
3287 | * nbsd-tdep.h: New file. | |
3288 | * shnbsd-tdep.c: Don't include solib-svr4.h. Include | |
3289 | nbsd-tdep.h. | |
3290 | (shnbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
3291 | (shnbsd_init_abi): Use nbsd_ilp32_solib_svr4_fetch_link_map_offsets. | |
3292 | * config/alpha/nbsd.mt (TDEPFILES): Add nbsd-tdep.o. | |
3293 | * config/sh/nbsd.mt (TDEPFILES): Ditto. | |
3294 | ||
b28da865 JT |
3295 | 2002-05-11 Jason Thorpe <[email protected]> |
3296 | ||
3297 | * config/alpha/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
3298 | * config/alpha/nbsd.mt (TDEPFILES): Add corelow.o. | |
3299 | * config/i386/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
3300 | * config/i386/nbsd.mt (TDEPFILES): Add corelow.o. | |
3301 | * config/i386/nbsdelf.mh (NATDEPFILES): Remove corelow.o. | |
3302 | * config/i386/nbsdelf.mt (TDEPFILES): Add corelow.o. | |
3303 | ||
4b8ff1fa JT |
3304 | 2002-05-11 Jason Thorpe <[email protected]> |
3305 | ||
3306 | * config/i386/nbsd.mh (NATDEPFILES): Use line continuations. | |
3307 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
3308 | * config/m68k/nbsd.mh (NATDEPFILES): Likewise. | |
3309 | * config/ns32k/nbsd.mh (NATDEPFILES): Likewise. | |
3310 | * config/powerpc/nbsd.mh (NATDEPFILES): Likewise. | |
3311 | * config/sparc/nbsd.mh (NATDEPFILES): Likewise. | |
3312 | * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise. | |
3313 | ||
dfe6eb1f JT |
3314 | 2002-05-11 Jason Thorpe <[email protected]> |
3315 | ||
3316 | * i386nbsd-nat.c: Delete file. Move fetch_core_registers and | |
3317 | fetch_elfcore_registers to... | |
3318 | * i386nbsd-tdep.c: ...here. | |
3319 | (i386nbsd_use_struct_convention): Rename to... | |
3320 | (i386nbsd_aout_use_struct_convention): ...this. | |
3321 | (i386nbsd_supply_reg): New function. | |
3322 | (i386nbsd_fill_reg): New function. | |
3323 | (fetch_core_registers): Use i386nbsd_supply_reg. | |
3324 | (fetch_elfcore_registers): Likewise. | |
3325 | (_initialize_i386nbsd_tdep): New function. | |
3326 | * config/i386/nbsd.mh (NATDEPFILES): Remove i386nbsd-nat.o. | |
3327 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
3328 | * config/i386/nbsdelf.mt (TDEPFILES): Add i386nbsd-tdep.o. | |
3329 | * config/i386/tm-nbsd.h (i386nbsd_use_struct_convention): Rename to... | |
3330 | (i386nbsd_aout_use_struct_convention): ...this. | |
3331 | ||
20cb8cda JT |
3332 | 2002-05-11 Jason Thorpe <[email protected]> |
3333 | ||
3334 | * shnbsd-nat.c (fetch_inferior_registers): Use shnbsd_supply_reg. | |
3335 | (store_inferior_registers): Use shnbsd_fill_reg. | |
3336 | * shnbsd-tdep.c (sh_nbsd_supply_registers, | |
3337 | sh_nbsd_supply_register): Collapse into... | |
3338 | (shnbsd_supply_reg): ...this. | |
3339 | (sh_nbsd_fill_registers, sh_nbsd_fill_register): Collapse into... | |
3340 | (shnbsd_fill_reg): ...this. | |
3341 | (sh_nbsd_solib_svr4_fetch_link_map_offsets): Rename to... | |
3342 | (shnbsd_solib_svr4_fetch_link_map_offsets): ...this. | |
3343 | (fetch_core_registers): Use shnbsd_supply_reg. | |
3344 | (fetch_elfcore_registers): Use shnbsd_supply_reg. | |
3345 | (sh_nbsd_core_fns): Rename to... | |
3346 | (shnbsd_core_fns): ...this. | |
3347 | (sh_nbsd_elfcore_fns): Rename to... | |
3348 | (shnbsd_elfcore_fns): ...this. | |
3349 | (sh_nbsd_init_abi): Rename to... | |
3350 | (shnbsd_init_abi): ...this. | |
3351 | (_initialize_sh_nbsd_tdep): Rename to... | |
3352 | (_initialize_shnbsd_tdep): ...this. | |
3353 | * shnbsd-tdep.h (sh_nbsd_supply_registers, | |
3354 | sh_nbsd_supply_register, sh_nbsd_fill_registers, | |
3355 | sh_nbsd_fill_register): Remove prototypes. | |
3356 | (shnbsd_supply_reg, shnbsd_fill_reg): Add prototypes. | |
3357 | ||
e750d25e JT |
3358 | 2002-05-11 Jason Thorpe <[email protected]> |
3359 | ||
3360 | * Makefile.in (ALLDEPFILES): Remove i387-nat.c. | |
3361 | (i387-nat.o): Delete dependency list. | |
3362 | (go32-nat.o): Change i387-nat.h to i387-tdep.h. | |
3363 | (x86-64-linux-nat.o): Likewise. | |
3364 | * i387-nat.c: Delete file, moving contents to... | |
3365 | * i387-tdep.c: ...here. | |
3366 | * i387-nat.h: Rename... | |
3367 | * i387-tdep.h: ...to this. | |
3368 | * go32-nat.c: Include i387-tdep.h instead of i387-nat.h. | |
3369 | * i386-linux-nat.c: Likewise. | |
3370 | * i386bsd-nat.c: Likewise. | |
3371 | * i386gnu-nat.c: Likewise. | |
3372 | * i386nbsd-nat.c: Likewise. | |
3373 | * i386v4-nat.c: Likewise. | |
3374 | * x86-64-linux-nat.c: Likewise. | |
3375 | * config/i386/fbsd.mh (NATDEPFILES): Remove i387-nat.o. | |
3376 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
3377 | * config/i386/i386gnu.mh (NATDEPFILES): Likewise. | |
3378 | * config/i386/i386sol2.mh (NATDEPFILES): Likewise. | |
3379 | * config/i386/i386v42mp.mh (NATDEPFILES): Likewise. | |
3380 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
3381 | * config/i386/nbsd.mh (NATDEPFILES): Likewise. | |
3382 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
3383 | * config/i386/obsd.mh (NATDEPFILES): Likewise. | |
3384 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
3385 | ||
1aee598a JT |
3386 | 2002-05-11 Jason Thorpe <[email protected]> |
3387 | ||
3388 | * Makefile.in (ALLDEPFILES): Remove alphanbsd-nat.c. | |
3389 | (alphanbsd-nat.o): Remove dependency list. | |
3390 | (alphanbsd-tdep.o): Add $(regcache_h) to dependency list. | |
3391 | * alphanbsd-nat.c: Delete. Contents moved to... | |
3392 | * alphanbsd-tdep.c: ...here. | |
3393 | (_initialize_alphanbsd_tdep): Register core functions. | |
3394 | * config/alpha/nbsd.mh (NATDEPFILES): Remove alphanbsd-nat.o. | |
3395 | ||
12bcb0fe JT |
3396 | 2002-05-11 Jason Thorpe <[email protected]> |
3397 | ||
3398 | * Makefile.in (ALLDEPFILES): Add alphabsd-tdep.c. | |
3399 | (alphabsd-nat.o): Depend on alphabsd-tdep.h. | |
3400 | (alphanbsd-nat.o): Likewise. | |
3401 | (alphabsd-tdep.o): New dependency list. | |
3402 | * alphabsd-nat.c (supply_gregset): Use alphabsd_supply_reg. | |
3403 | (fill_gregset): Use alphabsd_fill_reg. | |
3404 | (supply_fpregset): Use alphabsd_supply_fpreg. | |
3405 | (fill_fpregset): Use alphabsd_fill_fpreg. | |
3406 | (fetch_inferior_registers): Use struct reg and struct fpreg | |
3407 | rather than gregset_t and fpregset_t. Use alphabsd_supply_reg | |
3408 | and alphabsd_supply_fpreg. | |
3409 | (store_inferior_registers): Use struct reg and struct fpreg | |
3410 | rather than gregset_t and fpregset_t. Use alphabsd_fill_reg | |
3411 | and alphabsd_fill_fpreg. | |
3412 | * alphabsd-tdep.c: New file. | |
3413 | * alphabsd-tdep.h: New file. | |
3414 | * alphanbsd-nat.c (fetch_core_registers): Use alphabsd_supply_fpreg. | |
3415 | (fetch_elfcore_registers): Use alphabsd_supply_reg and | |
3416 | alphabsd_supply_fpreg. | |
3417 | * config/alpha/fbsd.mt (TDEPFILES): Add alphabsd-tdep.o. | |
3418 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
3419 | ||
361d1df0 EC |
3420 | 2002-05-11 Eric Christopher <[email protected]> |
3421 | ||
3422 | * mips-tdep.c (mips_double_register_type): Fix thinko. | |
3423 | (mips_single_register_type): Ditto. | |
3424 | * MAINTAINERS: Add self. | |
3425 | ||
92dd7cee MK |
3426 | 2002-05-11 Mark Kettenis <[email protected]> |
3427 | ||
3428 | * i387-nat.c (i387_supply_register, i387_fill_fsave, | |
3429 | i387_supply_fxsave, i387_fill_fxsave): Rewrite in order to do the | |
3430 | right thing on architectures with different endianness and/or | |
3431 | integer sizes. | |
3432 | ||
e27da16d JT |
3433 | 2002-05-10 Jason Thorpe <[email protected]> |
3434 | ||
3435 | From Christian Limpach <[email protected]> | |
3436 | * configure.in: Change sed expression which comments out | |
3437 | NATDEPFILES to also comment out continuation lines. | |
3438 | * configure: Regenerate. | |
3439 | ||
ddde02bd EZ |
3440 | 2002-05-10 Elena Zannoni <[email protected]> |
3441 | ||
3442 | * sh-tdep.c: Clean up code erroneously reintroduced by previous | |
3443 | big patch. | |
3444 | ||
1c922164 EZ |
3445 | 2002-05-10 Elena Zannoni <[email protected]> |
3446 | ||
3447 | * sh-tdep.c: Include correct file. | |
3448 | ||
283150cd EZ |
3449 | 2002-05-10 Elena Zannoni <[email protected]> |
3450 | ||
3451 | New support for sh64-elf (sh5) target. | |
3452 | ||
3453 | * configure.tgt: For sh64-elf target, default to sh-elf. | |
3454 | ||
3455 | * config/sh/tm-sh.h (enum sh-abi): Possible ABI's. | |
3456 | (struct gdbarch_tdep): Add new fields for new registers and ABI | |
3457 | info. | |
361d1df0 | 3458 | |
283150cd EZ |
3459 | * sh-tdep.c: Include elf-bfd.h, elf/sh.h, gdb/sim-sh.h. |
3460 | (NUM_PSEUDO_REGS_SH_MEDIA, NUM_PSEUDO_REGS_SH_COMPACT, | |
3461 | MSYMBOL_IS_SPECIAL, IS_ISA32_ADDR, MAKE_ISA32_ADDR, | |
3462 | UNMAKE_ISA32_ADDR, IS_PTABSL_R18, IS_STS_R0, IS_STS_PR, | |
3463 | IS_MOV_TO_R15, IS_MOV_R14, IS_STQ_R18_R14, IS_STQ_R18_R15, | |
3464 | IS_STL_R18_R15, IS_STQ_R14_R15, IS_STL_R14_R15, IS_ADDIL_SP_MEDIA, | |
3465 | IS_ADDI_SP_MEDIA, IS_ADDL_SP_FP_MEDIA, IS_ADD_SP_FP_MEDIA, | |
3466 | IS_MOV_SP_FP_MEDIA, IS_MOV_R0, IS_MOVL_R0, IS_ADD_SP_R0, | |
3467 | IS_MOV_R14_R0, IS_MEDIA_IND_ARG_MOV, IS_MEDIA_ARG_MOV, | |
3468 | IS_MEDIA_MOV_TO_R14, IS_COMPACT_IND_ARG_MOV, IS_COMPACT_ARG_MOV, | |
3469 | IS_COMPACT_MOV_TO_R14, IS_JSR_R0, IS_NOP): New macros. | |
3470 | (sh_sh64_register_name, sh64_elf_make_msymbol_special, | |
3471 | pc_is_isa32, sh_sh64_breakpoint_from_pc, look_for_args_moves, | |
3472 | sh64_skip_prologue_hard_way, sh64_use_struct_convention, | |
3473 | gdb_print_insn_sh64, translate_insn_rn, sh64_frame_chain, | |
3474 | sh64_get_saved_pr, fpp_reg_base_num, is_media_pseudo, | |
3475 | sh64_get_gdb_regnum, sh64_media_reg_base_num, | |
3476 | sh64_compact_reg_base_num, translate_rn_to_arch_reg_num, | |
3477 | sign_extend, sh64_nofp_frame_init_saved_regs, | |
3478 | sh64_init_extra_frame_info, sh64_get_saved_register, | |
3479 | sh64_extract_struct_value_address, sh64_pop_frame, | |
3480 | sh64_push_arguments, sh64_extract_return_value, | |
3481 | sh64_store_return_value, sh64_show_media_regs, | |
3482 | sh64_show_compact_regs, sh64_show_regs, sh_sh64_register_byte, | |
3483 | sh_sh64_register_raw_size, sh_sh64_register_virtual_size, | |
3484 | sh_sh64_register_virtual_type, | |
3485 | sh_sh64_register_convert_to_virtual, | |
3486 | sh_sh64_register_convert_to_raw, sh64_pseudo_register_read, | |
3487 | sh64_register_read, sh64_pseudo_register_write, | |
3488 | sh64_register_write, do_fv_c_register_info, do_dr_c_register_info, | |
3489 | do_r_c_register_info, do_fpp_register_info, do_cr_c_register_info, | |
3490 | sh64_do_pseudo_register, sh_compact_do_registers_info, | |
3491 | sh64_do_registers_info, sh_gdbarch_init): New functions. | |
3492 | ||
3117ed25 EZ |
3493 | 2002-05-10 Elena Zannoni <[email protected]> |
3494 | ||
3495 | * sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type. | |
3496 | ||
2654e6d4 DJ |
3497 | 2002-05-10 Daniel Jacobowitz <[email protected]> |
3498 | ||
3499 | * linespec.c (decode_line_1): Check for a double quote after | |
3500 | a filename correctly. | |
3501 | ||
9ab3e532 JB |
3502 | 2002-05-10 Jim Blandy <[email protected]> |
3503 | ||
3504 | Properly track the size of the current objfile's .debug_line section. | |
3505 | * dwarf2read.c (struct dwarf2_pinfo): New member: dwarf_line_size. | |
3506 | (DWARF_LINE_SIZE): New macro. | |
3507 | (dwarf2_build_psymtabs_hard): Record the line section's size in | |
3508 | the partial symbol table. | |
3509 | (psymtab_to_symtab_1): Restore dwarf_line_size from the partial | |
3510 | symbol table. | |
3511 | ||
126fa72d PS |
3512 | 2002-05-10 Petr Sorfa <[email protected]> |
3513 | ||
3514 | * ia64-tdep.c: Handle breakpoints on L instruction type | |
3515 | in MLX instruction bundle by moving the breakpoint to | |
3516 | the third slot (X instruction type) as L holds only data. | |
3517 | ||
1f077a3e KB |
3518 | 2002-05-10 Kevin Buettner <[email protected]> |
3519 | ||
3520 | * dbxread.c (discarding_local_symbols_complaint): New complaint. | |
3521 | (process_one_symbol): Complain about discarding local symbols | |
3522 | due to a misplaced N_LBRAC entry. | |
3523 | ||
8120c9d5 | 3524 | 2002-05-09 Elena Zannoni <[email protected]> |
361d1df0 EC |
3525 | |
3526 | From Daniel Berlin <[email protected]> | |
8120c9d5 EZ |
3527 | * linespec.c (find_toplevel_char): '<' and '>' also increase and |
3528 | decrease the depth we are at, in the case of templates. | |
361d1df0 | 3529 | |
67b2c998 DJ |
3530 | 2002-05-09 Daniel Jacobowitz <[email protected]> |
3531 | ||
3532 | * mips-tdep.c (mips_float_register_type): New function. | |
3533 | (mips_double_register_type): New function. | |
3534 | (mips_print_register): Use them. | |
3535 | (do_fp_register_row): Likewise. | |
3536 | ||
fd326606 DJ |
3537 | 2002-05-09 Daniel Jacobowitz <[email protected]> |
3538 | ||
6609d9af | 3539 | * signals/signals.c (signals): Remove conditional compilation around |
fd326606 | 3540 | Mach-specific signals. Move them to after TARGET_SIGNAL_DEFAULT. |
6609d9af | 3541 | (target_signal_from_name): Loop until TARGET_SIGNAL_LAST. |
fd326606 | 3542 | |
bef35864 MS |
3543 | 2002-05-09 Michael Snyder <[email protected]> |
3544 | ||
3545 | * remote-rdp.c (remote_rdp_can_run): Remove. | |
3546 | ||
c55a3f73 TT |
3547 | 2002-05-09 Tom Tromey <[email protected]> |
3548 | ||
3549 | * jv-valprint.c (java_val_print): Handle `char' as a special case | |
3550 | of TYPE_CODE_INT. | |
3551 | ||
b8d5e71d MS |
3552 | 2002-05-09 Michael Snyder <[email protected]> |
3553 | ||
3554 | * arm-tdep.c (arm_scan_prologue): Accept strb r(0123),[r11,#-nn], | |
3555 | strh r(0123),[r11,#-nn], str r(0123),[r11,#-nn], as well as | |
361d1df0 | 3556 | strb r(0123),[sp,#nn], strh r(0123),[sp,#nn] and |
b8d5e71d | 3557 | str r(0123),[sp,#nn]. |
361d1df0 | 3558 | (arm_skip_prologue): Ditto. Also make disassembly |
b8d5e71d MS |
3559 | order-independent by placing it in a loop. |
3560 | ||
e2cd42dd MS |
3561 | 2002-05-06 Michael Snyder <[email protected]> |
3562 | ||
3563 | * stabsread.c (read_type): Add recognition for new attribute: | |
3564 | "@V;" means that an array type is actually a vector. | |
3565 | This is analogous to the vector flag that's been added to dwarf2. | |
3566 | ||
3ce1502b MK |
3567 | 2002-05-09 Mark Kettenis <[email protected]> |
3568 | ||
3569 | * i386-tdep.h (i386_abi): New enum. | |
3570 | (struct gdbarch_tdep): Replace os_ident member with abi. | |
3571 | (i386_gdbarch_register_os_abi): New prototype. | |
3572 | * i386-tdep.c (i386_abi_names): New array. | |
3573 | (process_note_abi_tag_sections): Removed. | |
3574 | (process_note_sections): New function. | |
3575 | (i386_elf_abi_from_note, i386_elf_abi): New functions. | |
3576 | (struct i386_abi_handler): New struct. | |
3577 | (i386_abi_handler_list): New variable. | |
3578 | (i386_gdbarch_register_os_abi): New function. | |
3579 | (i386_gdbarch_init): Adapt for the changes given above. | |
3580 | ||
084c156a DJ |
3581 | 2002-05-08 Daniel Jacobowitz <[email protected]> |
3582 | ||
3583 | * gregset.h: Say "GNU/Linux". | |
3584 | ||
6599f021 EZ |
3585 | 2002-05-08 Elena Zannoni <[email protected]> |
3586 | ||
3587 | * gdbtypes.c : Add new builtin type for 64 bit vectors. | |
3588 | (build_gdbtypes): Build builtin_type_v2_float. | |
3589 | (_initialize_gdbtypes): Register new builtin type. | |
3590 | ||
40af4b0c AC |
3591 | 2002-05-08 Andrew Cagney <[email protected]> |
3592 | ||
3593 | * gdbarch.sh (init_gdbarch_swap): Do not clear the swap section. | |
3594 | (clear_gdbarch_swap): New function. | |
3595 | (initialize_non_multiarch): Call. | |
3596 | (gdbarch_update_p): Before calling init(), swap out and clear the | |
3597 | existing architecture. | |
3598 | * gdbarch.c: Regenerate. | |
3599 | ||
4fe84f46 JT |
3600 | 2002-05-08 Jason Thorpe <[email protected]> |
3601 | ||
3602 | * config/djgpp/fnchange.lst: Add alphanbsd-nat.c and | |
3603 | alphanbsd-tdep.c. | |
3604 | ||
4015edd1 JT |
3605 | 2002-05-08 Jason Thorpe <[email protected]> |
3606 | ||
3607 | * sh-nbsd-nat.c: Rename to... | |
3608 | * shnbsd-nat.c: ...this. | |
3609 | * sh-nbsd-tdep.c: Rename to... | |
3610 | * shnbsd-tdep.c: ...this. | |
3611 | * sh-nbsd-tdep.h: Rename to... | |
3612 | * shnbsd-tdep.h: ...this. | |
3613 | * config/sh/nbsd.mh: Use shnbsd-nat.o. | |
3614 | * config/sh/nbsd.mt: Use shnbsd-tdep.o. | |
3615 | ||
0e2bd219 RE |
3616 | 2002-05-08 Richard Earnshaw <[email protected]> |
3617 | ||
3618 | * remote-rdi.c (_initializie_remote_rdi): Use ANSI-style string | |
3619 | concatenation for command help messages. | |
3620 | ||
13a38d45 JT |
3621 | 2002-05-08 Jason Thorpe <[email protected]> |
3622 | ||
3623 | * NEWS: Note new sh*-*-netbsdelf* configuration. | |
3624 | * configure.host: Set gdb_host_cpu to sh for all sh*. | |
3625 | (sh*-*-netbsdelf*): New host. | |
3626 | * configure.tgt: Set gdb_target_cpu to sh for all sh*. | |
3627 | (sh*-*-netbsdelf*): New target. | |
3628 | * sh-nbsd-nat.c: New file. | |
3629 | * sh-nbsd-tdep.c: New file. | |
3630 | * sh-nbsd-tdep.h: New file. | |
3631 | * config/sh/nbsd.mh: New file. | |
3632 | * config/sh/nbsd.mt: New file. | |
3633 | * config/sh/nm-nbsd.h: New file. | |
3634 | * config/sh/tm-nbsd.h: New file. | |
3635 | ||
d658f924 JT |
3636 | 2002-05-08 Jason Thorpe <[email protected]> |
3637 | ||
3638 | * sh-tdep.c (sh_osabi_names): Declare. | |
3639 | (process_note_abi_tag_sections): New function. | |
3640 | (get_elfosabi): Ditto. | |
3641 | (sh_gdbarch_register_os_abi): Ditto. | |
3642 | (sh_dump_tdep): Ditto. | |
3643 | _initialize_sh_tdep): Use gdbarch_register to register | |
3644 | sh_gdbarch_init and sh_dump_tdep. | |
3645 | * config/sh/tm-sh.h (sh_osabi): Declare. | |
3646 | (gdbarch_tdep): Add sh_osabi and osabi_name members. | |
3647 | ||
848cfffb AC |
3648 | 2002-05-07 Andrew Cagney <[email protected]> |
3649 | ||
3650 | * arm-tdep.c (arm_skip_prologue): Handle generic dummy frames. | |
3651 | (thumb_scan_prologue): Ditto. | |
3652 | (arm_find_callers_reg): Ditto. | |
3653 | (arm_frame_chain): Ditto. | |
3654 | (arm_init_extra_frame_info): Ditto. | |
3655 | (arm_frame_saved_pc): Ditto. | |
3656 | (arm_pop_frame): Ditto. | |
3657 | (arm_push_return_address): New function. | |
3658 | (arm_gdbarch_init): Initialize use_generic_dummy_frames, | |
3659 | call_dummy_location, call_dummy_breakpoint_offset_p, | |
3660 | call_dummy_breakpoint_offset, call_dummy_p, | |
3661 | call_dummy_stack_adjust_p, call_dummy_words, | |
3662 | sizeof_call_dummy_words, call_dummy_start_offset, | |
3663 | call_dummy_length, fix_call_dummy, pc_in_call_dummy, | |
3664 | call_dummy_address, push_return_address and push_dummy_frame for | |
3665 | generic dummy frames. | |
3666 | ||
e7d717c0 JT |
3667 | 2002-05-07 Jason Thorpe <[email protected]> |
3668 | ||
3669 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Fix error in | |
3670 | size computation for alloca. | |
3671 | (sh_fp_frame_init_saved_regs): Likewise. | |
3672 | ||
7bbcf283 RE |
3673 | 2002-05-07 Richard Earnshaw <[email protected]> |
3674 | ||
3675 | * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE): Define. | |
3676 | (ARM_MAX_REGISTER_VIRTUAL_SIZE): Define. | |
361d1df0 | 3677 | * arm-tdep.c (arm_store_return_value): Use them. |
7bbcf283 RE |
3678 | Use FP_REGISTER_RAW_SIZE when setting the FPA return value. |
3679 | * remote-rdp.c (remote_rdp_fetch_register): Use | |
3680 | ARM_MAX_REGISTER_RAW_SIZE. | |
3681 | (remote_rdp_store_register): Likewise. | |
3682 | ||
4657573b ML |
3683 | 2002-05-07 Michal Ludvig <[email protected]> |
3684 | ||
361d1df0 | 3685 | * dwarf2cfi.c: Code cleanup, removed unused variables, |
4657573b ML |
3686 | added default labels to switch {} statements. |
3687 | * x86-64-tdep.c: Ditto. | |
3688 | * x86-64-linux-nat.c: Ditto. | |
3689 | ||
010f3b2f JT |
3690 | 2002-05-07 Jason Thorpe <[email protected]> |
3691 | ||
3692 | * solib.h: Protect against multiple inclusion. | |
3693 | ||
debd256d JB |
3694 | 2002-05-06 Jim Blandy <[email protected]> |
3695 | ||
9ab3e532 JB |
3696 | Add first preprocessor macro-expansion files. |
3697 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
3698 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
3699 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
3700 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
3701 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
3702 | (macroexp.o, macrotab.o): New rules. | |
3703 | ||
debd256d JB |
3704 | Separate the job of reading the line number info statement program |
3705 | header (...expialidocious) out into its own function. | |
3706 | * dwarf2read.c (struct line_head, struct filenames, struct | |
3707 | directories): Replace with... | |
3708 | (struct line_header): New structure, containing the full | |
3709 | contents of the statement program header, including the | |
3710 | include directory and file name tables. | |
3711 | (read_file_scope): If we have line number info, instead of just | |
3712 | calling dwarf_decode_lines to do all the work, call | |
3713 | dwarf_decode_line_header first to get a `struct line_header' | |
3714 | containing the data in the statement program header, and then | |
3715 | pass that to dwarf_decode_lines, which will pick up where that | |
3716 | left off. Be sure to clean up the `struct line_header' object. | |
3717 | (dwarf_decode_line_header, free_line_header, add_include_dir, | |
3718 | add_file_name): New functions. | |
3719 | (dwarf_decode_lines): Move all the code to read the statement | |
3720 | program header into dwarf_decode_line_header. Take the line | |
3721 | header it built as the first argument, instead of the offset to | |
3722 | the compilation unit's line number info. Use the new `struct | |
3723 | line_header' type instead of the old structures. No need to do | |
3724 | cleanups here now, since we don't allocate anything. | |
3725 | (dwarf2_statement_list_fits_in_line_number_section, | |
3726 | dwarf2_line_header_too_long): New complaints. | |
3727 | ||
ac3aafc7 EZ |
3728 | 2002-05-06 Elena Zannoni <[email protected]> |
3729 | ||
3730 | * gdbtypes.c (init_vector_type): New function. | |
3731 | (build_builtin_type_vec128): Simplify the representation of SIMD | |
3732 | registers. | |
3733 | (build_gdbtypes): Initialize new builtin vector types. | |
3734 | (_initialize_gdbtypes): Register new vector types with gdbarch. | |
3735 | (builtin_type_v4_float, builtin_type_v4_int32, | |
3736 | builtin_type_v8_int16, builtin_type_v16_int8, | |
3737 | builtin_type_v2_int32, builtin_type_v4_int16, | |
3738 | builtin_type_v8_int8): New (renamed) SIMD types. | |
3739 | ||
13e49980 MK |
3740 | 2002-05-06 Mark Kettenis <[email protected]> |
3741 | ||
3742 | * i387-nat.c (i387_fill_fsave): Use regcache_collect. | |
3743 | (i387_fill_fxsave): Likewise. | |
3744 | ||
997b20b8 AO |
3745 | 2002-05-05 Alexandre Oliva <[email protected]> |
3746 | ||
3747 | * alpha-tdep.c (alpha_extract_return_value): Don't use | |
3748 | non-constant array size in prototype. | |
3749 | ||
535c96ce AC |
3750 | 2002-05-04 Andrew Cagney <[email protected]> |
3751 | ||
3752 | From Brian Taylor <briant at model dot com>: | |
3753 | * ui-out.c (ui_out_field_core_addr): Use the function | |
3754 | longest_local_hex_string_custom'to format addresses > 32 bits | |
3755 | wide. | |
3756 | ||
3757 | * ui-out.c (ui_out_field_core_addr): Update comment. | |
3758 | ||
bedfa57b AC |
3759 | 2002-05-04 Andrew Cagney <[email protected]> |
3760 | ||
3761 | * stack.c (select_and_print_frame): Make static. Delete the | |
3762 | parameter `level'. | |
3763 | (func_command): Update call. | |
3764 | (select_frame_command): Delete code computing the frame level. | |
3765 | * frame.h (select_and_print_frame): Delete declaration. | |
3766 | ||
f621c63e AC |
3767 | 2002-05-04 Andrew Cagney <[email protected]> |
3768 | ||
3769 | * sparc-tdep.c (sparc_get_saved_register): Comment why | |
3770 | get_prev_frame call is safe. | |
3771 | ||
0f7d239c AC |
3772 | 2002-05-04 Andrew Cagney <[email protected]> |
3773 | ||
3774 | * frame.h (select_frame): Delete level parameter. | |
3775 | * stack.c (select_frame): Update. Use frame_relative_level to | |
3776 | obtain the frame's level. | |
3777 | (select_and_print_frame): Update call. | |
3778 | (select_frame_command): Ditto. | |
3779 | (up_silently_base): Ditto. | |
3780 | (down_silently_base): Ditto. | |
3781 | * ocd.c (ocd_start_remote): Ditto. | |
3782 | * remote-rdp.c (remote_rdp_open): Ditto. | |
3783 | * remote-mips.c (mips_initialize): Ditto. | |
3784 | (common_open): Ditto. | |
3785 | * remote-e7000.c (e7000_start_remote): Ditto. | |
3786 | * m3-nat.c (select_thread): Ditto. | |
3787 | * hppa-tdep.c (child_get_current_exception_event): Ditto. | |
3788 | (child_get_current_exception_event): Ditto. | |
3789 | * varobj.c (varobj_create): Ditto. | |
3790 | (varobj_update): Ditto. | |
3791 | (c_value_of_root): Ditto. | |
3792 | * tracepoint.c (finish_tfind_command): Ditto. | |
3793 | * corelow.c (core_open): Ditto. | |
3794 | * arch-utils.c (generic_prepare_to_proceed): Ditto. | |
3795 | * thread.c (info_threads_command): Ditto. | |
3796 | (switch_to_thread): Ditto. | |
3797 | * infrun.c (normal_stop): Ditto. | |
3798 | (restore_selected_frame): Ditto. | |
3799 | (restore_inferior_status): Ditto. | |
3800 | * breakpoint.c (insert_breakpoints): Ditto. | |
3801 | (watchpoint_check): Ditto. | |
3802 | (bpstat_stop_status): Ditto. | |
3803 | (do_enable_breakpoint): Ditto. | |
3804 | * blockframe.c (flush_cached_frames): Ditto. | |
3805 | (reinit_frame_cache): Ditto. | |
3806 | ||
71d6c7b1 AC |
3807 | 2002-05-04 Andrew Cagney <[email protected]> |
3808 | ||
3809 | * MAINTAINERS (Host/Native): Add Jason Thorpe as NetBSD | |
3810 | maintainer. | |
3811 | ||
cda6c68a JB |
3812 | 2002-05-04 Jim Blandy <[email protected]> |
3813 | ||
3814 | * gdbtypes.c (replace_type): Doc fix. | |
3815 | ||
5c1c87f0 AC |
3816 | 2002-05-04 Andrew Cagney <[email protected]> |
3817 | ||
3818 | * valprint.c (strcat_longest): Delete commented out function. | |
3819 | Update copyright. | |
3820 | ||
cd9bfe15 AC |
3821 | 2002-05-04 Andrew Cagney <[email protected]> |
3822 | ||
3823 | * MAINTAINERS: Mark a29k as deleted. | |
3824 | * NEWS: Mention that a29k was removed. Add OBSOLETE section. | |
3825 | Move new configurations to the top. | |
3826 | * configure.tgt: Remove a29k. | |
3827 | * config/a29k/tm-vx29k.h: Delete. | |
3828 | * config/a29k/vx29k.mt: Delete. | |
3829 | * config/a29k/tm-a29k.h: Delete. | |
3830 | * config/a29k/a29k-udi.mt: Delete. | |
3831 | * config/a29k/a29k.mt: Delete. | |
3832 | * a29k-tdep.c: Delete. | |
3833 | * remote-udi.c: Delete. | |
3834 | * remote-mm.c: Delete. | |
3835 | * remote-eb.c: Delete. | |
3836 | * remote-adapt.c: Delete. | |
3837 | * Makefile.in: Remove obsolete code. | |
3838 | * gdbserver/Makefile.in: Ditto. | |
3839 | * config/s390/s390x.mt: Ditto. | |
3840 | * config/s390/s390.mt: Ditto. | |
3841 | * config/sparc/sparclynx.mh: Ditto. | |
3842 | * config/sparc/linux.mh: Ditto. | |
3843 | * config/pa/hppaosf.mh: Ditto. | |
3844 | * config/pa/hppabsd.mh: Ditto. | |
3845 | * config/ns32k/nbsd.mt: Ditto. | |
3846 | * config/mips/vr5000.mt: Ditto. | |
3847 | * config/m68k/sun3os4.mh: Ditto. | |
3848 | * config/m68k/nbsd.mt: Ditto. | |
3849 | * config/m68k/m68klynx.mh: Ditto. | |
3850 | * config/m32r/m32r.mt: Ditto. | |
3851 | * config/i386/x86-64linux.mt: Ditto. | |
3852 | * config/i386/nbsdelf.mt: Ditto. | |
3853 | * config/i386/nbsd.mt: Ditto. | |
3854 | * config/i386/i386lynx.mh: Ditto. | |
3855 | ||
bf0c5130 AC |
3856 | 2002-05-04 Andrew Cagney <[email protected]> |
3857 | ||
3858 | * target.c (debug_print_register): New function. Handle oversize | |
3859 | registers. | |
3860 | (debug_to_fetch_registers): Call. | |
3861 | (debug_to_store_registers): Call. | |
3862 | ||
2ae1c2d2 JB |
3863 | 2002-05-03 Jim Blandy <[email protected]> |
3864 | ||
13a393b0 JB |
3865 | * stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy. |
3866 | (read_type): Doc fix. | |
3867 | * gdbtypes.c (replace_type): Doc fix. | |
3868 | ||
2ae1c2d2 JB |
3869 | * stabsread.c (multiply_defined_struct): New complaint. |
3870 | (read_struct_type): If the type we were passed isn't empty, or | |
3871 | incomplete, don't read the new struct type into it; complain, | |
3872 | and return the original type unchanged. Take a new `type_code' | |
3873 | argument, which is the type code for the new type. | |
3874 | (read_type): Rather than storing the type's type code here, pass | |
3875 | it as an argument to read_struct_type, and let that take care of | |
3876 | storing it. That way, we don't overwrite the original type code, | |
3877 | so read_struct_type can use it to decide whether we're overwriting | |
3878 | something we shouldn't. | |
3879 | (complain_about_struct_wipeout): New function. | |
3880 | ||
8de9bdc4 AC |
3881 | 2002-05-03 Andrew Cagney <[email protected]> |
3882 | ||
3883 | * gdbarch.sh: Assert that gdbarch is non-NULL. | |
3884 | * gdbarch.c: Regenerate. | |
3885 | ||
f773fdbb JM |
3886 | 2002-05-03 Jason Merrill <[email protected]> |
3887 | ||
3888 | * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn | |
3889 | and return NULL. | |
3890 | ||
0e04a514 ML |
3891 | 2002-05-03 Michal Ludvig <[email protected]> |
3892 | ||
3893 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map), | |
3894 | (x86_64_dwarf2gdb_regno_map_length), | |
3895 | (x86_64_dwarf2_reg_to_regnum): Added. | |
3896 | (x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum. | |
3897 | (x86_64_gdbarch_init): Renamed from i386_gdbarch_init. | |
3898 | (_initialize_x86_64_tdep): Synced with the change above. | |
3899 | (x86_64_skip_prologue): Reformulated message. | |
3900 | ||
065432a8 PM |
3901 | 2002-05-03 Pierre Muller <[email protected]> |
3902 | ||
3903 | * f-exp.y: Also use new prev_lexptr variable | |
3904 | to improve error reporting. Based on Michael Snyder | |
3905 | 2002-04-24 dated patch to c-exp.y. | |
3906 | * jv-exp.y: Likewise. | |
3907 | * m2-exp.y: Likewise. | |
3908 | ||
a3162708 EZ |
3909 | 2002-05-02 Elena Zannoni <[email protected]> |
3910 | ||
3911 | * valops.c (value_arg_coerce): Don't coerce arrays to pointers if | |
3912 | we are dealing with vectors. | |
3913 | ||
03620c38 PM |
3914 | 2002-05-02 Pierre Muller <[email protected]> |
3915 | ||
3916 | * config/m68k/tm-nbsd.h: Obvious fix, | |
3917 | correct machine name. | |
3918 | ||
6604db2e PM |
3919 | 2002-05-02 Pierre Muller <[email protected]> |
3920 | ||
3921 | * p-typeprint.c (pascal_type_print_base): Add support | |
3922 | for TYPE_CODE_STRING and TYPE_CODE_BITSTRING. | |
3923 | ||
0906b739 PM |
3924 | 2002-05-02 Pierre Muller <[email protected]> |
3925 | ||
3926 | * p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR | |
3927 | for fondamental pascal 'char' type. | |
3928 | ||
e2625b33 PM |
3929 | 2002-05-02 Pierre Muller <[email protected]> |
3930 | ||
3931 | * p-lang.h (is_pascal_string_type): Declaration changed, | |
3932 | new sixth argument of type char ** added. | |
361d1df0 | 3933 | * p-lang.c (is_pascal_string_type): Implementation |
e2625b33 PM |
3934 | changed. Args length_pos, length_size, string_pos, char_size |
3935 | can now be NULL. New argument arrayname set to the field | |
3936 | name of the char array. Return value set to char array | |
3937 | field index plus one. | |
361d1df0 | 3938 | * p-valprint.c (pascal_val_print): Adapt to new declaration of |
e2625b33 PM |
3939 | is_pascal_string_type function. |
3940 | ||
cf17c188 AC |
3941 | 2002-05-02 Andrew Cagney <[email protected]> |
3942 | ||
3943 | * gdbarch.sh (gdbarch_update_p): Revert 2002-05-02 Andrew Cagney | |
3944 | <[email protected]> change. | |
3945 | * gdbarch.c: Regenerate. | |
3946 | ||
52bca491 AC |
3947 | 2002-05-02 Andrew Cagney <[email protected]> |
3948 | ||
3949 | * gdbarch.sh (gdbarch_update_p): Swap out the old architecture | |
3950 | before probing for a new one. Detect errorenous gdbarch_init | |
3951 | functions. | |
3952 | * gdbarch.c: Regenerate. | |
3953 | ||
d5e72505 AC |
3954 | 2002-05-01 Andrew Cagney <[email protected]> |
3955 | ||
3956 | * config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h". | |
3957 | * config/mcore/tm-mcore.h: Ditto. Update copyright. | |
3958 | * config/v850/tm-v850.h: Ditto. Update copyright. | |
3959 | ||
af566d9f AC |
3960 | 2002-04-30 Andrew Cagney <[email protected]> |
3961 | ||
3962 | * cris-tdep.c (cris_gdbarch_init): Use arches instead of | |
3963 | current_gdbarch. | |
3964 | ||
880d85fa MS |
3965 | 2002-04-30 Michael Snyder <[email protected]> |
3966 | ||
94c30b78 MS |
3967 | * arm-tdep.c: Whitespace clean-ups. |
3968 | (arm_skip_prologue): Fix thinko; two lines | |
880d85fa MS |
3969 | should have been removed as part of 4/24 change. |
3970 | ||
6f5987a6 KB |
3971 | 2002-04-30 Kevin Buettner <[email protected]> |
3972 | ||
3973 | * rs6000-tdep.c: Added comment describing how fpscr register | |
3974 | numbers were chosen. | |
3975 | ||
1a113c93 MS |
3976 | 2002-04-30 Michael Snyder <[email protected]> |
3977 | ||
3978 | * gnu-nat.c (gnu_find_memory_regions): Fix merge botch. | |
3979 | ||
9a6f53fe EZ |
3980 | 2002-04-29 Elena Zannoni <[email protected]> |
3981 | ||
3982 | * hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR. | |
3983 | (DNTT_TYPE_VECTOR_LENGTH): Rename from TYPE_VECTOR_LENGTH. | |
3984 | (hpread_symfile_init, hpread_lookup_type): Substitute throughout. | |
3985 | ||
11ed25ac KB |
3986 | 2002-04-29 Kevin Buettner <[email protected]> |
3987 | ||
3988 | From Louis Hamilton <[email protected]>: | |
3989 | * rs6000-tdep.c (coff/xcoff.h, libxcoff.h): Include. | |
3990 | * xcoffread.c (coff/xcoff.h, libxcoff.h): Likewise. | |
3991 | * rs6000-tdep.c (rs6000_gdbarch_init): Use bfd_xcoff_is_xcoff64(), | |
3992 | not bfd-private xcoff data, to determine wordsize. | |
3993 | * xcoffread.c (read_xcoff_xymtab, read_symbol_lineno): Likewise. | |
3994 | ||
ae232405 AC |
3995 | 2002-04-29 Andrew Cagney <[email protected]> |
3996 | ||
3997 | GDB 5.2 released from 5.2 branch. | |
3998 | ||
91fd20f7 ML |
3999 | 2002-04-29 Michal Ludvig <[email protected]> |
4000 | ||
4001 | * x86-64-linux-nat.c (fill_gregset): Explicit cast to avoid warning. | |
4002 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
4003 | (x86_64_register_info_table): Added comments with register numbers. | |
361d1df0 | 4004 | |
2dc5091b EZ |
4005 | 2002-04-29 Elena Zannoni <[email protected]> |
4006 | ||
4007 | * rs6000-tdep.c (rs6000_extract_return_value, | |
4008 | rs6000_store_return_value): Handle returning vectors. | |
4009 | (rs6000_gdbarch_init): Use | |
4010 | ppc_sysv_abi_broken_use_struct_convention for native sysv cases. | |
4011 | * ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
4012 | New function. | |
4013 | (ppc_sysv_abi_use_struct_convention): Deal with functions returning | |
4014 | vectors. | |
4015 | (ppc_sysv_abi_push_arguments): Handle vector parameters. | |
4016 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export. | |
361d1df0 | 4017 | |
2b9848d8 PM |
4018 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
4019 | ||
4020 | * hpread.c (hpread_psymtab_to_symtab_1, | |
aacb1f0a | 4021 | hpread_psymtab_to_symtab): Replace fprintf tab_to_s...) |
2b9848d8 PM |
4022 | with fprintf_unfiltered (gdb_stderr,...). |
4023 | ||
f8d17dc5 PM |
4024 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
4025 | ||
4026 | * remote-array.c (printf_monitor, write_monitor, | |
361d1df0 | 4027 | array_insert_breakpoint, array_remove_breakpoint ): |
f8d17dc5 PM |
4028 | Replace fprintf (stderr,... |
4029 | with fprintf_unfiltered (gdb_stderr,.... | |
4030 | * remote-es.c: Likewise. | |
4031 | * remote-os9k.c: Likewise. | |
4032 | * remote-st.c: Likewise. | |
4033 | ||
2f2f1ad1 AS |
4034 | 2002-04-28 Andreas Schwab <[email protected]> |
4035 | ||
4036 | * config/s390/s390.mh (NATDEPFILES): Remove solib.o, add | |
4037 | linux-proc.o and gcore.o. | |
4038 | ||
b6779aa2 AC |
4039 | 2002-04-26 Michal Ludvig <[email protected]> |
4040 | ||
4041 | * x86-64-tdep.c (x86_64_skip_prologue): Print note when debugging | |
4042 | code without frame pointers. | |
4043 | ||
7e57f5f4 AC |
4044 | 2002-04-26 Andrew Cagney <[email protected]> |
4045 | ||
4046 | * sparc-tdep.c (sparc_gdbarch_init): Add comment explaining why | |
4047 | ON_STACK is needed. | |
4048 | ||
2ceb85d0 BE |
4049 | 2002-04-26 Ben Elliston <[email protected]> |
4050 | ||
4051 | * target.c (do_xfer_memory): Correct reference to the new option | |
4052 | "trust-readonly-sections". | |
4053 | ||
f5f8a009 EZ |
4054 | 2002-04-26 Elena Zannoni <[email protected]> |
4055 | ||
4056 | * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define. | |
4057 | * gdbtypes.c (recursive_dump_type): Output the vector flag. | |
4058 | * dwarf2read.c (dwarf_attr_name): Handle new attribute for | |
4059 | vectors. | |
4060 | (read_array_type): Record the fact that this array type is really a | |
4061 | vector (i.e. are passed in by value). | |
4062 | ||
5868c862 JT |
4063 | 2002-04-26 Jason Thorpe <[email protected]> |
4064 | ||
4065 | * alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member. | |
4066 | * alpha-tdep.c (alpha_sigcontext_addr): New function. | |
4067 | (alpha_find_saved_regs): Use alpha_sigcontext_addr. | |
4068 | (alpha_gdbarch_init): Initialize tdep->sigcontext_addr. | |
4069 | * alpha-linux-tdep.c: Include frame.h. | |
4070 | (alpha_linux_sigcontext_addr): New function. | |
4071 | (alpha_linux_init_abi): Set tdep->sigcontext_addr to | |
4072 | alpha_linux_sigcontext_addr. | |
4073 | * alpha-osf1-tdep.c: Include gdbcore.h. | |
4074 | (alpha_osf1_sigcontext_addr): New function. | |
4075 | (alpha_osf1_init_abi): Set tdep->sigcontext_addr to | |
4076 | alpha_osf1_sigcontext_addr. | |
4077 | * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove. | |
4078 | * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove. | |
4079 | ||
bfb01f37 AC |
4080 | 2002-04-26 Andrew Cagney <[email protected]> |
4081 | ||
361d1df0 | 4082 | * stack.c (selected_frame_level): |
bfb01f37 AC |
4083 | (select_frame): Do not set selected_frame_level. |
4084 | * frame.h (selected_frame_level): Delete declaration. | |
4085 | ||
15813d3f AC |
4086 | 2002-04-26 Andrew Cagney <[email protected]> |
4087 | ||
4088 | * rs6000-tdep.c (rs6000_gdbarch_init): Only set | |
4089 | convert_from_func_ptr-addr when AIX / PowerOpen. | |
4090 | ||
6096c27a AC |
4091 | 2002-04-25 Andrew Cagney <[email protected]> |
4092 | ||
4093 | * valops.c (hand_function_call): Call | |
4094 | generic_save_call_dummy_addr. | |
4095 | * frame.h (generic_save_call_dummy_addr): Declare. | |
4096 | * blockframe.c (struct dummy_frame): Add fields call_lo and | |
4097 | call_hi. | |
4098 | (generic_find_dummy_frame): Check for PC in range call_lo to | |
4099 | call_hi instead of entry_point_address. | |
4100 | (generic_pc_in_call_dummy): Search the dummy frames for a PC in | |
4101 | the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK. | |
4102 | (generic_save_call_dummy_addr): New function. | |
4103 | ||
f510d44e DM |
4104 | 2002-04-24 David S. Miller <[email protected]> |
4105 | ||
4106 | * sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates | |
4107 | sparc_skip_prologue. | |
4108 | (sparc_skip_prologue): Kill frameless_p arg, and use line number | |
4109 | information to find prologue when possible. | |
4110 | (sparc_prologue_frameless_p): Call examine_prologue directly. | |
4111 | (sparc_gdbarch_init): Update set_gdbarch_skip_prologue call. | |
4112 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed | |
4113 | second argument. | |
4114 | (SKIP_PROLOGUE): Likewise. | |
4115 | ||
15d72a92 JT |
4116 | 2002-04-25 Jason Thorpe <[email protected]> |
4117 | ||
4118 | * alpha-tdep.c (alpha_skip_prologue_internal): Remove | |
4119 | GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to | |
4120 | indicate that the condition it was testing is always true. | |
4121 | * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove. | |
4122 | * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
4123 | * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
4124 | ||
accc6d1f JT |
4125 | 2002-04-25 Jason Thorpe <[email protected]> |
4126 | ||
4127 | * alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members. | |
4128 | * alpha-linux-tdep.c (alpha_linux_init_abi): Initialize | |
4129 | tdep->jb_pc and tdep->jb_elt_size. | |
4130 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise. | |
4131 | * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise. | |
4132 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
4133 | * alpha-nat.c (get_longjmp_target): Remove. | |
4134 | (JB_ELEMENT_SIZE): Ditto. | |
4135 | (JB_PC): Ditto. | |
4136 | * alpha-tdep.c (alpha_get_longjmp_target): New function. | |
4137 | (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the | |
4138 | OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target | |
4139 | to alpha_get_longjmp_target. | |
4140 | (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size. | |
4141 | * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove. | |
4142 | * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove. | |
4143 | ||
1bfdc549 AC |
4144 | 2002-04-25 Andrew Cagney <[email protected]> |
4145 | ||
4146 | * README: Update to GDB 5.2. | |
4147 | ||
1bd316f0 AC |
4148 | 2002-04-25 Andrew Cagney <[email protected]> |
4149 | ||
4150 | * gdbarch.sh (LC_ALL): Set to `c'. | |
4151 | ||
2e5ff58c TR |
4152 | 2002-04-25 Theodore A. Roth <[email protected]> |
4153 | ||
4154 | * avr-tdep.c: Ran through gdb_indent.sh. | |
4155 | ||
e33ce519 TR |
4156 | 2002-04-25 Theodore A. Roth <[email protected]> |
4157 | ||
4158 | * MAINTAINERS: Add myself as AVR maintainer. | |
4159 | * NEWS: Note new target avr. | |
4160 | ||
8818c391 TR |
4161 | 2002-04-25 Theodore A. Roth <[email protected]> |
4162 | ||
4163 | * Makefile.in: Add support for AVR target. | |
4164 | * configure.tgt: Add support for AVR target. | |
4165 | * avr-tdep.c: New file | |
4166 | * config/avr/avr.mt: New file. | |
4167 | ||
79509c2d TR |
4168 | 2002-04-25 Theodore A. Roth <[email protected]> |
4169 | ||
4170 | * MAINTAINERS: Add myself to write-after-approval. | |
4171 | ||
dac8068e PM |
4172 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
4173 | ||
4174 | * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... | |
4175 | with fprintf_unfiltered (gdb_stderr,.... | |
4176 | ||
25bf3106 PM |
4177 | 2002-04-25 Pierre Muller <[email protected]> |
4178 | ||
4179 | Fix PR gdb/508. | |
4180 | * symfile.c (add_filename_language): Fix wrong xrealloc size argument. | |
4181 | ||
24467a86 PM |
4182 | 2002-04-25 Pierre Muller <[email protected]> |
4183 | ||
4184 | * p-exp.y: Also use new prev_lexptr variable | |
4185 | to improve error reporting. Based on Michael Snyder | |
4186 | 2002-04-24 dated patch to c-exp.y. | |
4187 | ||
95b80706 JT |
4188 | 2002-04-25 Jason Thorpe <[email protected]> |
4189 | ||
4190 | * alpha-tdep.c (alpha_breakpoint_from_pc): New function. | |
4191 | (alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to | |
4192 | alpha_breakpoint_from_pc. Set gdbarch_function_start_offset | |
4193 | to 0. | |
4194 | * config/alpha/tm-alpha.h: Remove forward decls of struct type | |
4195 | and struct value. | |
4196 | (FUNCTION_START_OFFSET): Remove. | |
4197 | (BREAKPOINT): Ditto. | |
4198 | ||
e90cc612 JT |
4199 | 2002-04-25 Jason Thorpe <[email protected]> |
4200 | ||
4201 | * MAINTAINERS: Reflect that multi-arch is enabled for VAX. | |
4202 | * NEWS: Ditto. | |
4203 | ||
6c72f9f9 JT |
4204 | 2002-04-24 Jason Thorpe <[email protected]> |
4205 | ||
4206 | * alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function. | |
4207 | (alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to | |
4208 | alpha_linux_pc_in_sigtramp. | |
4209 | * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function. | |
4210 | (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to | |
4211 | alpha_osf1_pc_in_sigtramp. | |
4212 | * alpha-tdep.c (alpha_osf_in_sigtramp): Remove. | |
4213 | * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function. | |
4214 | (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
4215 | alphafbsd_pc_in_sigtramp. | |
4216 | * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function. | |
4217 | (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
4218 | alphanbsd_pc_in_sigtramp. | |
4219 | * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove. | |
4220 | * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove. | |
4221 | ||
5e4f3379 JT |
4222 | 2002-04-24 Jason Thorpe <[email protected]> |
4223 | ||
4224 | * config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
4225 | ||
da8ca43d JT |
4226 | 2002-04-24 Jason Thorpe <[email protected]> |
4227 | ||
4228 | * Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and | |
4229 | alphanbsd-tdep.c. | |
4230 | (alphanbsd-nat.o): New dependency list. | |
4231 | (alphanbsd-tdep.o): Ditto. | |
4232 | * NEWS: Note new native NetBSD/alpha configuration. | |
4233 | * alphanbsd-nat.c: New file. | |
4234 | * alphanbsd-tdep.c: Ditto. | |
4235 | * configure.host (alpha*-*-netbsd*): New host. | |
4236 | * configure.tgt (alpha*-*-netbsd*): New target. | |
4237 | * config/alpha/nbsd.mh: New file. | |
4238 | * config/alpha/nbsd.mt: Ditto. | |
4239 | * config/alpha/nm-nbsd.h: Ditto. | |
4240 | * config/alpha/tm-nbsd.h: Ditto. | |
4241 | ||
36a6271d JT |
4242 | 2002-04-24 Jason Thorpe <[email protected]> |
4243 | ||
4244 | * Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c. | |
4245 | (alpha-osf1-tdep.o): New dependency list. | |
4246 | * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset | |
4247 | and skip_sigtramp_frame members. | |
4248 | * alpha-linux-tdep.c: Include gdbcore.h. | |
4249 | (alpha_linux_sigtramp_offset): Change return type to LONGEST. | |
4250 | (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset. | |
4251 | * alpha-osf1-tdep.c: New file. | |
4252 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to | |
4253 | alpha-osf1-dep.c. | |
4254 | (alpha_frame_past_sigtramp_frame): New function. | |
4255 | (alpha_dynamic_sigtramp_offset): Ditto. | |
4256 | (alpha_proc_desc_is_dyn_sigtramp): Ditto. | |
4257 | (alpha_set_proc_desc_is_dyn_sigtramp): Ditto. | |
4258 | (ALPHA_PROC_SIGTRAMP_MAGIC): Define. | |
4259 | (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp. | |
4260 | (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp. | |
4261 | (find_proc_desc): Use alpha_dynamic_sigtramp_offset. | |
4262 | (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame. | |
4263 | (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp. | |
4264 | (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp. | |
4265 | (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset | |
4266 | and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code | |
4267 | to find_solib_trampoline_target. | |
4268 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o. | |
4269 | * config/alpha/tm-alpha.h: Remove inclusion of regcache.h. | |
4270 | (SKIP_TRAMPOLINE_CODE): Remove. | |
4271 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4272 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4273 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
4274 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
4275 | * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove. | |
4276 | (PROC_SIGTRAMP_MAGIC): Ditto. | |
4277 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4278 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4279 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4280 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
4281 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
4282 | ||
2f4bc57b JT |
4283 | 2002-04-24 Jason Thorpe <[email protected]> |
4284 | ||
4285 | * NEWS: Note that Alpha targets are now multi-arch. | |
4286 | ||
665132f9 MS |
4287 | 2002-04-24 Michael Snyder <[email protected]> |
4288 | ||
4289 | * parser-defs.h (prev_lexptr): New external variable. | |
4290 | * parse.c (parse_exp_1): Set prev_lexptr to null before | |
4291 | calling the language-specific parser. | |
4292 | * c-exp.y (yylex): Set prev_lexptr to start of current token. | |
4293 | (yyerror): Use prev_lexptr in error reporting. | |
4294 | ||
32872fa7 DJ |
4295 | 2002-04-24 Daniel Jacobowitz <[email protected]> |
4296 | ||
4297 | * config/i386/tm-linux.h: Define FILL_FPXREGSET. | |
4298 | * gregset.h: If FILL_FPXREGSET is defined, provide | |
4299 | gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset. | |
4300 | * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET | |
4301 | is defined, call fill_fpxregset. | |
4302 | ||
57e76fac MS |
4303 | 2002-04-24 Roland McGrath <[email protected]> |
4304 | ||
4305 | * config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here. | |
4306 | * i386gnu-nat.c [HAVE_SYS_PROCFS_H] | |
4307 | (supply_gregset, supply_fpregset): New functions. | |
4308 | ||
4309 | * gnu-nat.c (gnu_find_memory_regions): New function. | |
4310 | (init_gnu_ops): Set `to_find_memory_regions' hook to that. | |
4311 | (gnu_xfer_memory): Add a cast. | |
4312 | ||
f43845b3 MS |
4313 | 2002-04-24 Michael Snyder <[email protected]> |
4314 | ||
361d1df0 | 4315 | * arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the |
f43845b3 MS |
4316 | loop. Add handling for "str lr, [sp, #-4]!" and for saves |
4317 | of argument regs ("str r(0123), [r11, #-nn"]). | |
361d1df0 | 4318 | (arm_skip_prologue): Better handling for frameless functions. |
f43845b3 MS |
4319 | Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]". |
4320 | (arm_skip_prologue): Recognize str r(0123), [r11, #-nn]. | |
4321 | ||
a0abec03 AC |
4322 | Wed Apr 24 14:22:21 2002 Andrew Cagney <[email protected]> |
4323 | ||
4324 | * arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor | |
4325 | NUM_PSEUDO_REGS can be used. | |
4326 | ||
d7bd68ca AC |
4327 | 2002-04-24 Andrew Cagney <[email protected]> |
4328 | ||
4329 | * arch-utils.h: Update copyright. | |
4330 | ||
4331 | * gdbarch.sh (PC_IN_SIGTRAMP): Add. | |
4332 | * gdbarch.h, gdbarch.c: Re-generate. | |
4333 | ||
4334 | * inferior.h (IN_SIGTRAMP): Delete definition. | |
4335 | * arch-utils.c (legacy_pc_in_sigtramp): New function. | |
4336 | * arch-utils.h (legacy_pc_in_sigtramp): Declare. | |
4337 | ||
4338 | * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP. | |
4339 | (mips_dump_tdep): Do not print value of IN_SIGTRAMP. | |
4340 | * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP. | |
4341 | (find_proc_framesize): Ditto. | |
4342 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto. | |
4343 | (alpha_init_extra_frame_info): Ditto. | |
4344 | * infrun.c (handle_inferior_event): Ditto. | |
4345 | (handle_inferior_event): Ditto. | |
4346 | (check_sigtramp2): Ditto. | |
4347 | * blockframe.c (create_new_frame): Ditto. | |
4348 | (get_prev_frame): Ditto. | |
4349 | * ppc-linux-tdep.c: Update comments. | |
4350 | * i386-linux-tdep.c: Update comments. | |
4351 | * breakpoint.c (bpstat_what): Update comment. | |
4352 | ||
d06f167a ML |
4353 | 2002-04-24 Michal Ludvig <[email protected]> |
4354 | ||
4355 | * gdbserver/linux-low.c (regsets_fetch_inferior_registers), | |
361d1df0 | 4356 | (regsets_store_inferior_registers): Removed cast to int from |
d06f167a ML |
4357 | ptrace() calls. |
4358 | * gdbserver/regcache.h: Added declaration of struct inferior_info. | |
4359 | ||
4867e41e DM |
4360 | 2002-04-24 David S. Miller <[email protected]> |
4361 | ||
21d83aa5 DM |
4362 | * i960-tdep.c (register_in_window_p): New function. |
4363 | (i960_find_saved_register): Use it instead of | |
4364 | REGISTER_IN_WINDOW_P. | |
4365 | * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete. | |
4366 | ||
4867e41e DM |
4367 | * symtab.h (find_stab_function_addr): Kill extern. |
4368 | * minsyms.c (find_stab_function_addr): Remove from here... | |
4369 | * dbxread.c: ... to here, and mark it static. | |
4370 | ||
69cdf6a2 DM |
4371 | 2002-04-20 David S. Miller <[email protected]> |
4372 | ||
4373 | * sparc-tdep.c (sparc_pop_frame): Only need to allocate | |
4374 | SPARC_INTREG_SIZE * 16 bytes for reg_temp. | |
4375 | ||
5a595886 DM |
4376 | 2002-04-21 David S. Miller <[email protected]> |
4377 | ||
4378 | * remote-vxsparc.c (vx_read_register): Fix typo, we want | |
4379 | REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR. | |
4380 | (vx_write_register): Likewise. | |
4381 | ||
1da1a192 JB |
4382 | 2002-04-23 J. Brobecker <[email protected]> |
4383 | ||
4384 | * source.c (is_regular_file): New function. | |
4385 | (openp): Check wether file to open is a regular file | |
4386 | to avoid opening directories. | |
4387 | ||
baa6f10b JT |
4388 | 2002-04-22 Jason Thorpe <[email protected]> |
4389 | ||
4390 | * findvar.c (extract_signed_integer): Cast printf argument | |
4391 | to suppress format warning. | |
4392 | (extract_unsigned_integer): Likewise. | |
4393 | * infcmd.c (registers_info): Likewise. | |
4394 | * top.c (get_prompt_1): Likewise. | |
4395 | * valops.c (value_assign): Likewise. | |
4396 | * valprint.c (print_decimal): Likewise. | |
4397 | ||
b2c4da81 L |
4398 | 2002-04-22 H.J. Lu ([email protected]) |
4399 | ||
4400 | * c-exp.y (typebase): Support | |
361d1df0 | 4401 | |
b2c4da81 L |
4402 | [long|long long|short] [signed|unsigned] [int|] |
4403 | ||
4404 | and | |
4405 | ||
4406 | signed [long|long long|short] int | |
4407 | ||
f267bd6a JT |
4408 | 2002-04-22 Jason Thorpe <[email protected]> |
4409 | ||
4410 | * Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h), | |
4411 | and vax-tdep.h. | |
4412 | * vax-tdep.h: New file. | |
4413 | * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h. | |
4414 | Make several routines static. | |
4415 | (vax_get_saved_register): New function. | |
4416 | (vax_gdbarch_init): New function. | |
4417 | (_initialize_vax_tdep): Register vax_gdbarch_init. | |
4418 | * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL. | |
4419 | Remove macros now under the control of gdbarch. | |
4420 | ||
da3c6d4a MS |
4421 | 2002-04-22 Michael Snyder <[email protected]> |
4422 | ||
11d3b27d MS |
4423 | * arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn". |
4424 | Some whitespace and coding standards tweaks. | |
da3c6d4a | 4425 | |
a33f7558 JT |
4426 | 2002-04-22 Jason Thorpe <[email protected]> |
4427 | ||
4428 | * vax-tdep.c: Include regcache.h. | |
4429 | (vax_call_dummy_words): New. | |
4430 | (sizeof_vax_call_dummy_words): New. | |
4431 | (vax_fix_call_dummy): New function. | |
4432 | (vax_saved_pc_after_call): Ditto. | |
4433 | * config/vax/tm-vax.h: Don't include regcache.h. | |
4434 | (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call. | |
4435 | (CALL_DUMMY): Remove. | |
4436 | (CALL_DUMMY_WORDS): Define. | |
4437 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
4438 | (FIX_CALL_DUMMY): Use vax_fix_call_dummy. | |
4439 | ||
47a73475 MS |
4440 | 2002-04-18 Michael Snyder <[email protected]> |
4441 | ||
4442 | * arm-tdep.h: Change regnum defines to enums for ease of debugging. | |
4443 | ||
52efde73 JT |
4444 | 2002-04-22 Jason Thorpe <[email protected]> |
4445 | ||
4446 | * vax-tdep.c (vax_frame_chain): New function. | |
4447 | (vax_push_dummy_frame): Ditto. | |
4448 | (vax_pop_frame): Ditto. | |
4449 | * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain. | |
4450 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
4451 | generic_frameless_function_invocation_not. | |
4452 | (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame. | |
4453 | (POP_FRAME): Use vax_pop_frame. | |
4454 | ||
ea74468c JT |
4455 | 2002-04-22 Jason Thorpe <[email protected]> |
4456 | ||
4457 | * vax-tdep.c (vax_store_struct_return): New function. | |
4458 | (vax_extract_return_value): Ditto. | |
4459 | (vax_store_return_value): Ditto. | |
4460 | (vax_extract_struct_value_address): Ditto. | |
4461 | * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use | |
4462 | vax_store_struct_return. | |
4463 | (EXTRACT_RETURN_VALUE): Use vax_extract_return_value. | |
4464 | (STORE_RETURN_VALUE): Use vax_store_return_value. | |
4465 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address. | |
4466 | ||
5516aa92 JT |
4467 | 2002-04-22 Jason Thorpe <[email protected]> |
4468 | ||
4469 | * vax-tdep.c (vax_frame_saved_pc): New function. | |
4470 | (vax_frame_args_address_correct): Ditto. | |
4471 | (vax_frame_args_address): Ditto. | |
4472 | (vax_frame_locals_address): Ditto. | |
4473 | (vax_frame_num_args): Move code to be in proximity to | |
4474 | other frame-related functions. | |
4475 | * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan. | |
4476 | (FRAME_SAVED_PC): Use vax_frame_saved_pc. | |
4477 | (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct. | |
4478 | (FRAME_ARGS_ADDRESS): Use vax_frame_args_address. | |
4479 | (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address. | |
4480 | ||
36af0b35 L |
4481 | 2002-04-22 H.J. Lu ([email protected]) |
4482 | ||
4483 | * Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and | |
4484 | includedir. | |
4485 | ||
ab62c900 JT |
4486 | 2002-04-22 Jason Thorpe <[email protected]> |
4487 | ||
4488 | * vax-tdep.c (vax_frame_init_saved_regs): New function. | |
4489 | * config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove. | |
4490 | (FRAME_INIT_SAVED_REGS): New macro. | |
4491 | ||
7232b100 JT |
4492 | 2002-04-22 Jason Thorpe <[email protected]> |
4493 | ||
4494 | * MAINTAINERS: Reflect that the Alpha target has been multi-arch'd. | |
4495 | ||
b70d2aee JT |
4496 | 2002-04-22 Jason Thorpe <[email protected]> |
4497 | ||
4498 | * alpha-nat.c (get_longjmp_target): Use ALPHA_* constants | |
4499 | where needed. | |
4500 | (fetch_osf_core_registers): Likewise. | |
4501 | (supply_gregset): Likewise. | |
4502 | ||
a0e8a2d1 | 4503 | 2002-04-22 J. Brobecker <[email protected]> |
361d1df0 | 4504 | |
a0e8a2d1 JB |
4505 | * symfile.h (get_section_index): Define. |
4506 | * symfile.c (get_section_index): New function. | |
4507 | * mdebugread.c (SC_IS_SBSS): New macro. | |
4508 | (SC_IS_BSS): Return true for the scBss storage class only, as | |
4509 | the scSBss storage class refers to the .sbss section. | |
4510 | (parse_partial_symbols): Discard the symbols which associated | |
4511 | section does not exist. | |
4512 | Make sure to use the .sbss section index for symbols which | |
4513 | storage class is scBss, rather than using the .bss section index. | |
4514 | ||
51eb8b08 JT |
4515 | 2002-04-22 Jason Thorpe <[email protected]> |
4516 | ||
4517 | * vax-tdep.c: Update copyright years. | |
4518 | (vax_register_name): New function. | |
4519 | (vax_register_byte): Ditto. | |
4520 | (vax_register_raw_size): Ditto. | |
4521 | (vax_register_virtual_size): Ditto. | |
4522 | (vax_register_virtual_type): Ditto. | |
4523 | * config/vax/tm-vax.h: Update copyright years. | |
4524 | (REGISTER_NAMES): Remove. | |
4525 | (REGISTER_NAME): Define. | |
4526 | (REGISTER_BYTE): Use vax_register_byte. | |
4527 | (REGISTER_RAW_SIZE): Use vax_register_raw_size. | |
4528 | (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size. | |
4529 | (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type. | |
4530 | ||
6cc1c0a8 AC |
4531 | 2002-04-21 Andrew Cagney <[email protected]> |
4532 | ||
4533 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore | |
4534 | declaration | |
4535 | * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error. | |
4536 | ||
9319a2fe DM |
4537 | 2002-04-21 David S. Miller <[email protected]> |
4538 | ||
4539 | * arch-utils.c (generic_prologue_frameless_p): Kill | |
4540 | SKIP_PROLOGUE_FRAMELESS_P code. | |
4541 | * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
4542 | references. | |
4543 | (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New. | |
4544 | * arc-tdep.c (arc_prologue_frameless_p): Implement. | |
4545 | * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
4546 | references. | |
4547 | (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New. | |
4548 | * sparc-tdep.c (sparc_prologue_frameless_p): Implement. | |
4549 | (sparc_gdbarch_init): Pass it to | |
4550 | set_gdbarch_prologue_frameless_p. | |
a0e8a2d1 | 4551 | |
e9ed6d01 JT |
4552 | 2002-04-21 Jason Thorpe <[email protected]> |
4553 | ||
4554 | * Makefile.in (ALLDEPFILES): Add alphabsd-nat.c. | |
4555 | (alphabsd-nat.o): New dependency list. | |
4556 | ||
36012033 JT |
4557 | 2002-04-21 Jason Thorpe <[email protected]> |
4558 | ||
4559 | * Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c and | |
4560 | alphafbsd-tdep.c. | |
4561 | (alpha-linux-tdep.o): New dependency list. | |
4562 | (alphafbsd-tdep.o): Likewise. | |
4563 | ||
3379287a JT |
4564 | 2002-04-21 Jason Thorpe <[email protected]> |
4565 | ||
4566 | * alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offset | |
4567 | to here... | |
4568 | * alpha-tdep.c: ...from here. | |
4569 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o. | |
4570 | ||
4bcbd6cb JT |
4571 | 2002-04-21 Jason Thorpe <[email protected]> |
4572 | ||
4573 | * config/alpha/tm-alpha.h: Move alpha_software_single_step | |
4574 | prototype from here... | |
4575 | * alpha-tdep.h: ...to here. | |
4576 | ||
b31da25e AC |
4577 | 2002-04-21 Andrew Cagney <[email protected]> |
4578 | ||
4579 | * frame.h (selected_frame_level): Document as deprecated. | |
4580 | (frame_relative_level): Declare. | |
4581 | * stack.c (frame_relative_level): New function. | |
4582 | (selected_frame_level): Document as deprecated. | |
4583 | (select_frame): Do not set the selected_frame_level. | |
4584 | ||
4585 | * stack.c (frame_info, record_selected_frame): Update. | |
4586 | (frame_command, current_frame_command): Update. | |
4587 | (up_silently_base, up_command, down_silently_base): Update. | |
4588 | (down_command): Update. | |
4589 | * inflow.c (kill_command): Update. | |
4590 | * tracepoint.c (finish_tfind_command): Update. | |
4591 | * corelow.c (core_open): Update. | |
4592 | * thread.c (info_threads_command): Update. | |
4593 | (do_captured_thread_select): Update. | |
4594 | * infcmd.c (finish_command): Update. | |
4595 | * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update. | |
4596 | ||
9c1d6fe5 JT |
4597 | 2002-04-21 Jason Thorpe <[email protected]> |
4598 | ||
4599 | * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove. | |
4600 | ||
ab89facf AC |
4601 | 2002-04-21 Andrew Cagney <[email protected]> |
4602 | ||
4603 | * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return | |
4604 | type const. | |
4605 | ||
82a4efa1 JT |
4606 | 2002-04-21 Jason Thorpe <[email protected]> |
4607 | ||
4608 | * alphafbsd-tdep.c: Update copyright years. Include | |
4609 | alpha-tdep.h. | |
4610 | (alphafbsd_use_struct_convention): Make static. | |
4611 | (alphafbsd_init_abi): New function. | |
4612 | (_initialize_alphafbsd_tdep): New function. | |
4613 | * config/alpha/tm-fbsd.h: Update copyright years. | |
4614 | (USE_STRUCT_CONVENTION): Remove. | |
4615 | ||
44dffaac JT |
4616 | 2002-04-21 Jason Thorpe <[email protected]> |
4617 | ||
4618 | * alpha-tdep.c (alpha_abi_handler): New structure to describe | |
4619 | an Alpha ABI variant. | |
4620 | (alpha_abi_handler_list): Declare. | |
4621 | (alpha_gdbarch_register_os_abi): New function. | |
4622 | (alpha_gdbarch_init): Give registered ABI variant handlers a | |
4623 | chance to tweak the gdbarch once we have set up defaults. | |
4624 | * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi. | |
4625 | ||
65585be4 JT |
4626 | 2002-04-21 Jason Thorpe <[email protected]> |
4627 | ||
4628 | * alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double | |
4629 | to standard_coerce_float_to_double. | |
4630 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
4631 | ||
d9b023cc JT |
4632 | 2002-04-21 Jason Thorpe <[email protected]> |
4633 | ||
4634 | * alpha-tdep.h (gdbarch_tdep): Add vm_min_address member. | |
4635 | * alpha-tdep.c (heuristic_proc_start): Use vm_min_address | |
4636 | from gdbarch_tdep rather than a constant. | |
4637 | (alpha_gdbarch_init): Initialize tdep->vm_min_address to | |
4638 | the default text address for all Alpha Unix ABIs. | |
4639 | (alpha_dump_tdep): Report the value of tdep->vm_min_address. | |
4640 | * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete. | |
4641 | ||
dc129d82 JT |
4642 | 2002-04-21 Jason Thorpe <[email protected]> |
4643 | ||
4644 | * alpha-tdep.h: New file. Includes several Alpha target constants | |
4645 | taken from... | |
4646 | * config/alpha/tm-alpha.h: ...here. Remove macros that we now | |
4647 | let gdbarch deal with. | |
4648 | (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. | |
4649 | * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd | |
4650 | to dependency list. | |
4651 | * alpha-nat.c: Include alpha-tdep.h. Update for adjusted | |
4652 | Alpha target register names. | |
4653 | * alphabsd-nat.c: Likewise. | |
4654 | * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted | |
4655 | Alpha target register names. Make serveral routines static. | |
4656 | (alpha_get_saved_register): New function. | |
4657 | (alpha_abi_names): New. | |
4658 | (process_note_abi_tag_sections): New function. | |
4659 | (get_elfosabi): New function. | |
4660 | (alpha_gdbarch_init): New function. | |
4661 | (alpha_dump_tdep): New function. | |
4662 | (_initialize_alpha_tdep): Register alpha_gdbarch_init. | |
4663 | ||
d49d1e0a AC |
4664 | 2002-04-21 Andrew Cagney <[email protected]> |
4665 | ||
4666 | * frame.c (find_saved_register): Delete #ifdef | |
4667 | HAVE_REGISTER_WINDOWS code. | |
4668 | * config/sparc/tm-sparc.h: Update comments. | |
4669 | * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro. | |
4670 | ||
92e8c9ed AC |
4671 | 2002-04-21 Andrew Cagney <[email protected]> |
4672 | ||
4673 | * i960-tdep.c (i960_find_saved_register): New function. | |
4674 | (i960_get_saved_register): New function. | |
4675 | * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define. | |
4676 | (i960_get_saved_register): Declare. | |
4677 | * config/i960/tm-i960.h, i960-tdep.c: Update copyright. | |
4678 | ||
e1925118 DM |
4679 | 2002-04-20 David S. Miller <[email protected]> |
4680 | ||
4681 | * sparc-nat.c (store-inferior_registers): Fix ambiguous else. | |
4682 | ||
29673b29 AC |
4683 | 2002-04-20 Andrew Cagney <[email protected]> |
4684 | ||
4685 | * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs | |
4686 | instead of NUM_PSEUDO_REGS. | |
4687 | ||
6c86dcd5 DM |
4688 | 2002-04-20 David S. Miller <[email protected]> |
4689 | ||
4690 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to | |
4691 | GDB_MULTI_ARCH_PARTIAL | |
4692 | * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not | |
4693 | define, let tm-sp64.h do it. | |
4694 | ||
aa40ec90 JT |
4695 | 2002-04-20 Jason Thorpe <[email protected]> |
4696 | ||
4697 | * frame.c (find_saved_register): Avoid a NULL pointer | |
4698 | dereference and actually walk the frame list. | |
4699 | ||
0f79675b AC |
4700 | 2002-04-20 Andrew Cagney <[email protected]> |
4701 | ||
4702 | * gdbarch.sh (gdbarch_update_p): Keep the list of architectures | |
4703 | sorted in most most-recent-used order. Document. | |
4704 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 4705 | |
c04a1aa8 DJ |
4706 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
4707 | ||
4708 | * gdbserver/inferiors.c (struct inferior_info): Add regcache_data. | |
4709 | (add_inferior): Call create_register_cache. | |
4710 | (clear_inferiors): Call free_register_cache. | |
4711 | (inferior_regcache_data, set_inferior_regcache_data): New functions. | |
4712 | * gdbserver/regcache.c (struct inferior_regcache_data): New. | |
4713 | (registers): Remove. | |
4714 | (get_regcache): New function. | |
4715 | (create_register_cache, free_register_cache): New functions. | |
4716 | (set_register_cache): Don't initialize the register cache here. | |
4717 | (registers_to_string, registers_from_string, register_data): Call | |
4718 | get_regcache. | |
4719 | * gdbserver/regcache.h: Add prototypes. | |
4720 | * gdbserver/server.h: Likewise. | |
4721 | ||
611cb4a5 DJ |
4722 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
4723 | ||
4724 | * gdbserver/mem-break.c: New file. | |
4725 | * gdbserver/mem-break.h: New file. | |
4726 | * gdbserver/Makefile.in: Add mem-break.o rule; update server.h | |
4727 | dependencies. | |
4728 | * gdbserver/inferiors.c (struct inferior_info): Add target_data | |
4729 | member. | |
4730 | (clear_inferiors): Free target_data member if set. | |
4731 | (inferior_target_data, set_inferior_target_data): New functions. | |
4732 | * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) | |
4733 | (i386_stop_pc, i386_set_pc): New. Add to the_low_target. | |
4734 | * gdbserver/linux-low.c (linux_bp_reinsert): New variable. | |
4735 | (struct inferior_linux_data): New. | |
4736 | (linux_create_inferior): Use set_inferior_target_data. | |
4737 | (linux_attach): Likewise. Call add_inferior. | |
4738 | (linux_wait_for_one_inferior): New function. | |
4739 | (linux_wait): Call it. | |
4740 | (linux_write_memory): Add const. | |
4741 | (initialize_low): Call set_breakpoint_data. | |
4742 | * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint | |
4743 | handling members. | |
4744 | * gdbserver/server.c (attach_inferior): Remove extra add_inferior | |
4745 | call. | |
4746 | * gdbserver/server.h: Include mem-break.h. Update inferior.c | |
4747 | prototypes. | |
4748 | * gdbserver/target.c (read_inferior_memory) | |
4749 | (write_inferior_memory): New functions. | |
4750 | * gdbserver/target.h (read_inferior_memory) | |
4751 | (write_inferior_memory): Change macros to prototypes. | |
4752 | (struct target_ops): Update comments. Add const to write_memory | |
4753 | definition. | |
4754 | ||
f91305dd | 4755 | 2002-04-19 Andrew Cagney <[email protected]> |
bf75c8c1 AC |
4756 | |
4757 | * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame | |
4758 | instead of ->prev. | |
4759 | * z8k-tdep.c (z8k_frame_chain): Do not use ->prev. | |
4760 | * s390-tdep.c (s390_frame_chain): Do not use ->prev. | |
4761 | * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain() | |
4762 | instead of ->prev. | |
4763 | ||
73d322b1 EZ |
4764 | 2002-04-19 Elena Zannoni <[email protected]> |
4765 | ||
4766 | Fix PR gdb/471. | |
4767 | * gdbtypes.c (init_simd_type): Rewrite using new functions. | |
4768 | (build_builtin_type_vec128): Ditto. | |
4769 | (append_composite_type_field): Fix calculation of type length in | |
4770 | union case. | |
4771 | ||
ccd9a834 EZ |
4772 | 2002-04-19 Eli Zaretskii <[email protected]> |
4773 | ||
4774 | * config/djgpp/README: Update. | |
4775 | ||
4776 | * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a | |
4777 | compiler warnings. | |
4778 | ||
a57f9e49 JT |
4779 | 2002-04-19 Jason Thorpe <[email protected]> |
4780 | ||
4781 | * alpha-tdep.c (setup_arbitrary_frame): Rename... | |
4782 | (alpha_setup_arbitrary_frame): ...to this. | |
4783 | * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update | |
4784 | for alpha_setup_arbitrary_frame. | |
4785 | ||
f4f9705a AC |
4786 | 2002-04-18 Andrew Cagney <[email protected]> |
4787 | ||
4788 | * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer. | |
4789 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 4790 | |
f4f9705a AC |
4791 | * defs.h (breakpoint_from_pc_fn): Delete type definition. |
4792 | * target.h (memory_breakpoint_from_pc): Update declaration. | |
4793 | * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto. | |
4794 | ||
4795 | * arch-utils.c (legacy_breakpoint_from_pc): Update return type. | |
4796 | * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto. | |
4797 | * mem-break.c (memory_breakpoint_from_pc): Ditto. | |
4798 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto. | |
4799 | * s390-tdep.c (s390_breakpoint_from_pc): Ditto | |
4800 | * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto. | |
4801 | * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto. | |
4802 | * mips-tdep.c (mips_breakpoint_from_pc): Ditto. | |
4803 | * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto. | |
4804 | * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto. | |
4805 | * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto. | |
4806 | * arch-utils.c (legacy_breakpoint_from_pc): Ditto.. | |
4807 | ||
4808 | * mem-break.c (default_memory_insert_breakpoint): Make `bp' a | |
4809 | const pointer. | |
4810 | * monitor.c (monitor_insert_breakpoint): Ditto. | |
4811 | * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'. | |
4812 | ||
4813 | * config/mcore/tm-mcore.h: Update copyright. | |
4814 | * mem-break.c: Ditto. | |
4815 | * xstormy16-tdep.c: Ditto. | |
4816 | ||
29f319b8 PM |
4817 | 2002-04-18 Pierre Muller <[email protected]> |
4818 | ||
4819 | * p-exp.y: Add precedence rule for '^' token. | |
4820 | This removes the shift/reduce conflicts. | |
4821 | Remove the comment concerning these shift/reduce conflicts. | |
4822 | ||
ebeac11a EZ |
4823 | 2002-04-18 Elena Zannoni <[email protected]> |
4824 | ||
4825 | * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro. | |
4826 | (registers_powerpc_nofp): New register set for processors | |
4827 | without floating point unit. | |
4828 | ||
27c31547 DM |
4829 | 2002-04-18 David S. Miller <[email protected]> |
4830 | ||
4831 | * MAINTAINERS: Add myself to write-after-approval. | |
4832 | ||
47a73475 MS |
4833 | 2002-04-17 Michael Snyder <[email protected]> |
4834 | ||
4835 | * MAINTAINERS: Add myself as co-maintainer of testsuite/gdb.asm. | |
4836 | ||
953836b2 AC |
4837 | 2002-04-17 Andrew Cagney <[email protected]> |
4838 | ||
4839 | * rs6000-tdep.c (frame_initial_stack_address): Use | |
4840 | frame_register_read to read the alloca_reg. | |
4841 | ||
8b0d4340 AC |
4842 | 2002-04-17 Andrew Cagney <[email protected]> |
4843 | ||
4844 | * frame.c (find_saved_register): Find saved registers in the next | |
4845 | not prev frame. | |
4846 | Fix PR gdb/365. | |
4847 | ||
d8864532 AC |
4848 | 2002-04-17 Andrew Cagney <[email protected]> |
4849 | ||
4850 | * gdbarch.sh (LANG): Set to ``c''. | |
4851 | ||
36cc83a3 | 4852 | 2002-04-15 Andrew Cagney <[email protected]> |
361d1df0 | 4853 | |
36cc83a3 | 4854 | * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems. |
361d1df0 | 4855 | |
2f4150cc | 4856 | 2002-04-15 Andrew Cagney <[email protected]> |
2c7ef074 AC |
4857 | |
4858 | * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h". | |
4859 | Update copyright. | |
4860 | ||
628703c6 | 4861 | * hpread.c (hpread_get_lntt): Add declaration. |
2f4150cc | 4862 | Also fix PR gdb/391. |
361d1df0 | 4863 | |
56157b4a AC |
4864 | 2002-04-14 Andrew Cagney <[email protected]> |
4865 | ||
4866 | * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6. | |
4867 | * aclocal.m4, configure: Re-generate. | |
4868 | Fix PR gdb/391. | |
361d1df0 | 4869 | |
6d1e3329 EZ |
4870 | 2002-04-14 Elena Zannoni <[email protected]> |
4871 | ||
4872 | * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN | |
4873 | instead of tm_print_insn. | |
4874 | ||
cb06fa07 EZ |
4875 | 2002-04-14 Elena Zannoni <[email protected]> |
4876 | ||
4877 | * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo. | |
4878 | ||
f208ba17 AC |
4879 | 2002-04-14 Andrew Cagney <[email protected]> |
4880 | ||
4881 | * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro. | |
4882 | * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro. | |
4883 | (get_prev_frame): Do not call FRAME_CHAIN_COMBINE. | |
4884 | ||
20f01a46 DH |
4885 | 2002-04-12 Don Howard <[email protected]> |
4886 | ||
4887 | * cli/cli-cmds.c (init_cli_cmds): Add new user settable value: | |
4888 | max_user_call_depth. | |
4889 | (init_cmd_lists): Initialize the new value; | |
4890 | * cli/cli-script.c (execute_user_command): Limit the call depth of | |
4891 | user defined commands. This avoids a core-dump when user commands | |
4892 | are infinitly recursive. | |
4893 | ||
a88376a3 KB |
4894 | 2002-04-12 Kevin Buettner <[email protected]> |
4895 | ||
4896 | * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''. | |
4897 | * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset'' | |
4898 | from tdep struct instead of DEFAULT_LR_SAVE. | |
4899 | (rs6000_gdbarch_init): Initialize ``lr_frame_offset''. | |
4900 | * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete. | |
4901 | * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete. | |
4902 | ||
f2172603 MS |
4903 | 2002-04-12 Michael Snyder <[email protected]> |
4904 | ||
694f61fb | 4905 | * Remote.c: Spelling fix. |
20fe79c8 MS |
4906 | * gcore.c (default_derive_heap_segment): Use bfd_section_name. |
4907 | If no symbol found for "sbrk", try "_sbrk". | |
4908 | (make_output_phdrs): Use bfd_section_name. | |
4909 | (gcore_copy_callback): Use bfd_section_name. | |
62995fc4 | 4910 | * eval.c: Indentation fix-ups. |
169a7369 MS |
4911 | * d10v-tdep.c (d10v_make_iaddr): Make it idempotent, |
4912 | in case it gets applied to an address that is already | |
4913 | in the instruction space. | |
de74f71f MS |
4914 | * cli/cli-decode.c (help_list): Allow long lines to wrap. |
4915 | * symfile.c: Fix indentation, long lines. | |
f2172603 MS |
4916 | * source.c: White space fix-up. |
4917 | ||
cda5a58a AC |
4918 | 2002-04-12 Andrew Cagney <[email protected]> |
4919 | ||
4920 | * defs.h (read_relative_register_raw_bytes): Delete declaration. | |
4921 | * frame.c (frame_register_read): New function. Return non-zero on | |
4922 | success. | |
4923 | (read_relative_register_raw_bytes_for_frame): Delete. | |
4924 | (read_relative_register_raw_bytes): Delete. | |
4925 | * frame.h (frame_register_read): Declare. | |
4926 | * d30v-tdep.c: Update Copyright. Use frame_register_read. | |
4927 | * sh-tdep.c: Ditto. | |
4928 | * infcmd.c (do_registers_info): Ditto. | |
4929 | * hppa-tdep.c: Ditto. | |
4930 | * rs6000-tdep.c: Ditto. | |
4931 | * h8500-tdep.c: Ditto. | |
4932 | * mips-tdep.c: Ditto. | |
4933 | * h8300-tdep.c: Ditto. | |
4934 | * z8k-tdep.c: Ditto. | |
4935 | ||
2ea5f656 KB |
4936 | 2002-04-12 Kevin Buettner <[email protected]> |
4937 | ||
4938 | From Jimi X <[email protected]>: | |
4939 | * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for | |
4940 | 64-bit SysV ABI. | |
4941 | ||
27b15785 KB |
4942 | 2002-04-12 Kevin Buettner <[email protected]> |
4943 | ||
4944 | From Jimi X <[email protected]>: | |
4945 | * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from | |
4946 | bfd info. | |
4947 | ||
5d57ee30 KB |
4948 | 2002-04-12 Kevin Buettner <[email protected]> |
4949 | ||
4950 | From Jimi X <[email protected]>: | |
4951 | * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define | |
4952 | register sets for these processor variants. | |
4953 | ||
bc1e36ca DJ |
4954 | 2002-04-11 Daniel Jacobowitz <[email protected]> |
4955 | ||
4956 | * gdbserver/linux-low.c (usr_store_inferior_registers): Support | |
4957 | registers which are allowed to fail to store. | |
4958 | * gdbserver/linux-low.h (linux_target_ops): Likewise. | |
4959 | * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR. | |
4960 | (ppc_cannot_store_register): FPSCR may not be storable. | |
4961 | * regformats/reg-ppc.dat: Support FPSCR. | |
4962 | ||
e3f36dbd KB |
4963 | 2002-04-11 Kevin Buettner <[email protected]> |
4964 | ||
4965 | * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''. | |
4966 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): | |
4967 | Add fpscr as an invalid/unfetchable register. | |
4968 | * ppc-linux-nat.c (ppc_register_u_addr, store_register) | |
4969 | (fetch_ppc_registers, store_ppc_registers, supply_fpregset) | |
4970 | (fill_fpregset): Add support for register fpscr. | |
4971 | (fetch_ppc_registers, store_ppc_registers, supply_gregset) | |
4972 | (fill_gregset): Account for the fact that register ``mq'' might | |
4973 | not exist. | |
4974 | * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr. | |
4975 | (registers_power): Add fpscr to register set at slot 71. | |
4976 | (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't | |
4977 | exist on most PPC architectures. Initialize ppc_fpscr_regnum. | |
4978 | ||
943c9c25 MS |
4979 | 2002-04-11 Michael Snyder <[email protected]> |
4980 | ||
4981 | * configure.in: Autoconfiscate _SYSCALL32 define for solaris. | |
4982 | * configure: Regenerate. | |
4983 | * config.in: Regenerate. | |
4984 | * acconfig.h: Add define for _SYSCALL32. | |
4985 | * core-sol2.c: Remove #define _SYSCALL32. | |
4986 | * solib-legacy.c: Remove #define _SYSCALL32. | |
4987 | ||
d8c0a2e7 AC |
4988 | 2002-04-10 Andrew Cagney <[email protected]> |
4989 | ||
4990 | * stack.c (select_frame): Cleanup internal error message, do not | |
4991 | use %p. | |
4992 | ||
7cc19214 AC |
4993 | 2002-04-10 Andrew Cagney <[email protected]> |
4994 | ||
4995 | * stack.c (select_frame): Check that selected_frame and the | |
4996 | specified level are as expected. | |
4997 | * blockframe.c (get_prev_frame): Set the `level' from next_frame. | |
4998 | Update copyright. | |
4999 | * frame.h (struct frame_info): Add field `level'. Update | |
5000 | copyright. | |
5001 | Work-in-progress PR gdb/464. | |
5002 | ||
67a2b77e AC |
5003 | 2002-04-10 Andrew Cagney <[email protected]> |
5004 | ||
5005 | * maint.c (maint_print_section_info): Rename print_section_info. | |
5006 | (print_bfd_section_info, print_objfile_section_info): Update. | |
5007 | * inferior.h (struct gdbarch): Add opaque declaration. | |
5008 | * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh. | |
5009 | * gdbarch.h: Regenerate. | |
5010 | ||
8cfda98c ML |
5011 | 2002-04-10 Michal Ludvig <[email protected]> |
5012 | ||
5013 | * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete. | |
5014 | (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h. | |
5015 | (kernel_u_size): Added. | |
5016 | * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete. | |
5017 | (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h. | |
5018 | ||
ca439ad2 | 5019 | 2002-04-04 Jim Ingham <[email protected]> |
361d1df0 | 5020 | |
ca439ad2 JI |
5021 | * valarith.c (find_size_for_pointer_math): New function, either returns |
5022 | the size for a pointer's target, returns 1 for void *, or errors for | |
5023 | incomplete types. | |
5024 | (value_add, value_sub): use find_size_for_pointer_math. | |
5025 | ||
2f2893d9 DJ |
5026 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5027 | ||
5028 | * linux-low.c (linux_look_up_symbols): New hook. | |
5029 | (linux_target_ops): Add linux_look_up_symbols. | |
5030 | * remote-utils.c (decode_address): New function. | |
5031 | (look_up_one_symbol): New function. | |
5032 | * server.c (handle_query): Call target look_up_symbols hook. | |
5033 | * server.h (look_up_one_symbol): Add prototype. | |
5034 | * target.h (struct target_ops): Add look_up_symbols hook. | |
5035 | ||
2ec06d2e DJ |
5036 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5037 | ||
d64b8841 DJ |
5038 | * gdbserver/server.h: Include <string.h> if HAVE_STRING_H. |
5039 | * ChangeLog: Correct paths in last ChangeLog entry. | |
5040 | ||
5041 | 2002-04-09 Daniel Jacobowitz <[email protected]> | |
5042 | ||
5043 | * gdbserver/linux-low.h: Remove obsolete prototypes. | |
2ec06d2e DJ |
5044 | (struct linux_target_ops): New. |
5045 | (extern the_low_target): New. | |
d64b8841 | 5046 | * gdbserver/linux-low.c (num_regs, regmap): Remove declarations. |
2ec06d2e DJ |
5047 | (register_addr): Use the_low_target explicitly. |
5048 | (fetch_register): Likewise. | |
5049 | (usr_fetch_inferior_registers): Likewise. | |
5050 | (usr_store_inferior_registers): Likewise. | |
d64b8841 | 5051 | * gdbserver/linux-arm-low.c (num_regs): Remove. |
2ec06d2e DJ |
5052 | (arm_num_regs): Define. |
5053 | (arm_regmap): Renamed from regmap, made static. | |
5054 | (arm_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5055 | made static. | |
5056 | (arm_cannot_store_register): Renamed from cannot_store_register, | |
5057 | made static. | |
5058 | (the_low_target): New. | |
d64b8841 | 5059 | * gdbserver/linux-i386-low.c (num_regs): Remove. |
2ec06d2e DJ |
5060 | (i386_num_regs): Define. |
5061 | (i386_regmap): Renamed from regmap, made static. | |
5062 | (i386_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5063 | made static. | |
5064 | (i386_cannot_store_register): Renamed from cannot_store_register, | |
5065 | made static. | |
5066 | (the_low_target): New. | |
d64b8841 | 5067 | * gdbserver/linux-ia64-low.c (num_regs): Remove. |
2ec06d2e DJ |
5068 | (ia64_num_regs): Define. |
5069 | (ia64_regmap): Renamed from regmap, made static. | |
5070 | (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5071 | made static. | |
5072 | (ia64_cannot_store_register): Renamed from cannot_store_register, | |
5073 | made static. | |
5074 | (the_low_target): New. | |
d64b8841 | 5075 | * gdbserver/linux-m68k-low.c (num_regs): Remove. |
2ec06d2e DJ |
5076 | (m68k_num_regs): Define. |
5077 | (m68k_regmap): Renamed from regmap, made static. | |
5078 | (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5079 | made static. | |
5080 | (m68k_cannot_store_register): Renamed from cannot_store_register, | |
5081 | made static. | |
5082 | (the_low_target): New. | |
d64b8841 | 5083 | * gdbserver/linux-mips-low.c (num_regs): Remove. |
2ec06d2e DJ |
5084 | (mips_num_regs): Define. |
5085 | (mips_regmap): Renamed from regmap, made static. | |
5086 | (mips_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5087 | made static. | |
5088 | (mips_cannot_store_register): Renamed from cannot_store_register, | |
5089 | made static. | |
5090 | (the_low_target): New. | |
d64b8841 | 5091 | * gdbserver/linux-ppc-low.c (num_regs): Remove. |
2ec06d2e DJ |
5092 | (ppc_num_regs): Define. |
5093 | (ppc_regmap): Renamed from regmap, made static. | |
5094 | (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5095 | made static. | |
5096 | (ppc_cannot_store_register): Renamed from cannot_store_register, | |
5097 | made static. | |
5098 | (the_low_target): New. | |
d64b8841 | 5099 | * gdbserver/linux-s390-low.c (num_regs): Remove. |
2ec06d2e DJ |
5100 | (s390_num_regs): Define. |
5101 | (s390_regmap): Renamed from regmap, made static. | |
5102 | (s390_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5103 | made static. | |
5104 | (s390_cannot_store_register): Renamed from cannot_store_register, | |
5105 | made static. | |
5106 | (the_low_target): New. | |
d64b8841 | 5107 | * gdbserver/linux-sh-low.c (num_regs): Remove. |
2ec06d2e DJ |
5108 | (sh_num_regs): Define. |
5109 | (sh_regmap): Renamed from regmap, made static. | |
5110 | (sh_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5111 | made static. | |
5112 | (sh_cannot_store_register): Renamed from cannot_store_register, | |
5113 | made static. | |
5114 | (the_low_target): New. | |
d64b8841 | 5115 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. |
2ec06d2e DJ |
5116 | (the_low_target): New. |
5117 | ||
96cb11df AC |
5118 | 2002-04-09 Andrew Cagney <[email protected]> |
5119 | ||
5120 | * frame.c (read_relative_register_raw_bytes_for_frame): Do not | |
5121 | override FP_REGNUM with frame->fp. Update copyright. | |
5122 | * parse.c (num_std_regs, std_regs): Delete. | |
5123 | (target_map_name_to_register): Do not search std_regs. Update | |
5124 | function description. | |
5125 | * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete | |
5126 | declarations. Update copyright. | |
5127 | Fix PR gdb/251. | |
361d1df0 | 5128 | |
c3a3ccc7 DJ |
5129 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5130 | ||
5131 | * gdbserver/Makefile.in: Add stamp-h target. | |
5132 | * gdbserver/configure.in: Create stamp-h. | |
5133 | * gdbserver/configure: Regenerated. | |
5134 | ||
ce3a066d DJ |
5135 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5136 | ||
5137 | * gdbserver/inferiors.c: New file. | |
5138 | * gdbserver/target.c: New file. | |
5139 | * gdbserver/target.h: New file. | |
5140 | * gdbserver/Makefile.in: Add target.o and inferiors.o. Update | |
5141 | dependencies. | |
5142 | * gdbserver/linux-low.c (inferior_pid): New static variable, | |
5143 | moved from server.c. | |
5144 | (linux_create_inferior): Renamed from create_inferior. | |
5145 | Call add_inferior. Return 0 on success instead of a PID. | |
5146 | (linux_attach): Renamed from myattach. | |
5147 | (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). | |
5148 | (linux_thread_alive): Renamed from mythread_alive. | |
5149 | (linux_wait): Renamed from mywait. Call clear_inferiors () if the | |
5150 | child dies. | |
5151 | (linux_resume): Renamed from myresume. Add missing ``return 0''. | |
5152 | (regsets_store_inferior_registers): Correct error message. | |
5153 | Add missing ``return 0''. | |
5154 | (linux_fetch_registers): Renamed from fetch_inferior_registers. | |
5155 | (linux_store_registers): Renamed from store_inferior_registers. | |
5156 | (linux_read_memory): Renamed from read_inferior_memory. | |
5157 | (linux_write_memory): Renamed from write_inferior_memory. | |
5158 | (linux_target_ops): New structure. | |
5159 | (initialize_low): Call set_target_ops (). | |
5160 | * gdbserver/remote-utils.c (unhexify): New function. | |
5161 | (hexify): New function. | |
5162 | (input_interrupt): Send signals to ``signal_pid''. | |
5163 | * gdbserver/server.c (inferior_pid): Remove. | |
5164 | (start_inferior): Update create_inferior call. | |
5165 | (attach_inferior): Call add_inferior. | |
5166 | (handle_query): New function. | |
5167 | (main): Call handle_query for `q' packets. | |
5168 | * gdbserver/server.h: Include "target.h". Remove obsolete prototypes. | |
5169 | Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. | |
5170 | ||
0729219d DJ |
5171 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5172 | ||
5173 | * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury | |
5174 | dependencies. | |
5175 | * gdbserver/configure.in: Check for <string.h> | |
5176 | * gdbserver/configure: Regenerate. | |
5177 | * gdbserver/config.in: Regenerate. | |
5178 | * gdbserver/gdbreplay.c: Include needed system headers. | |
5179 | (remote_open): Remove strchr prototype. | |
5180 | * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. | |
5181 | * gdbserver/regcache.c (supply_register): Change buf argument to const void *. | |
5182 | (supply_register_by_name): Likewise. | |
5183 | (collect_register): Change buf argument to void *. | |
5184 | (collect_register_by_name): Likewise. | |
5185 | * gdbserver/regcache.h: Add missing prototypes. | |
5186 | * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa. | |
5187 | * gdbserver/server.c (handle_query): New function. | |
5188 | (attached): New static variable, moved out of main. | |
5189 | (main): Quiet longjmp clobber warnings. | |
5190 | * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. | |
5191 | * gdbserver/utils.c (error): Remove NORETURN. | |
5192 | (fatal): Likewise. | |
5193 | ||
97658e92 DJ |
5194 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5195 | ||
5196 | * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer | |
5197 | after the last symbol in a block. | |
5198 | ||
6044e3eb PM |
5199 | 2002-04-09 Pierre Muller <[email protected]> |
5200 | ||
5201 | * p-exp.y (yylex): Handle also the fact that is_a_field_of_this | |
5202 | is non zero as a found symbol. | |
5203 | ||
0406ec40 AC |
5204 | 2002-04-08 Andrew Cagney <[email protected]> |
5205 | ||
5206 | * findvar.c: Include "builtin-regs.h". | |
5207 | (value_of_register): Call value_of_builtin_reg when applicable. | |
5208 | * parse.c: Include "builtin-regs.h" and "gdb_assert.h". | |
5209 | (target_map_name_to_register): Call | |
5210 | builtin_reg_map_name_to_regnum. | |
5211 | * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c. | |
5212 | (COMMON_OBS): Add builtin-regs.o and std-regs.o. | |
5213 | (builtin_regs_h): Define. | |
5214 | (builtin-regs.o): New target. | |
5215 | (findvar.o): Add $(builtin_regs_h). | |
5216 | * builtin-regs.c, builtin-regs.h: New files. | |
5217 | * std-regs.c: New file. | |
5218 | Partial fix for PR gdb/251. | |
5219 | ||
56a6dfb9 KB |
5220 | 2002-04-08 Kevin Buettner <[email protected]> |
5221 | ||
5222 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn; | |
5223 | it's no longer required. | |
5224 | ||
3a808432 AC |
5225 | 2002-04-08 Andrew Cagney <[email protected]> |
5226 | ||
5227 | * Makefile.in (gdbtk-wrapper.o): Add missing dependencies. | |
5228 | ||
7c40d541 KB |
5229 | 2002-04-08 Kevin Buettner <[email protected]> |
5230 | ||
5231 | From Jimi X <[email protected]>: | |
5232 | * rs6000-tdep.c (rs6000_software_single_step): Use | |
5233 | rs6000_breakpoint_from_pc() to fetch breakpoint instruction | |
5234 | and size. Use target_insert_breakpoint() and | |
5235 | target_remove_breakpoint() to insert and remove breakpoints | |
5236 | instead of explicit memory reads and writes. | |
5237 | ||
cc9836a8 KB |
5238 | 2002-04-08 Kevin Buettner <[email protected]> |
5239 | ||
5240 | * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete. | |
5241 | * rs6000-tdep.c (rs6000_push_arguments): Eliminate | |
5242 | ELF_OBJECT_FORMAT ifdef. | |
5243 | ||
7495d1dc KB |
5244 | 2002-04-08 Kevin Buettner <[email protected]> |
5245 | ||
5246 | From Jimi X <[email protected]>: | |
5247 | * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn(). | |
5248 | ||
4288e836 KB |
5249 | 2002-04-08 Kevin Buettner <[email protected]> |
5250 | ||
5251 | From Jimi X <[email protected]>: | |
5252 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro | |
5253 | definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET. | |
5254 | ||
a4e4e501 MK |
5255 | 2002-04-07 Mark Kettenis <[email protected]> |
5256 | ||
5257 | * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions): | |
5258 | s/asprintf/xasprintf/. | |
5259 | (fbsd_make_corefile_notes): s/strdup/xstrdup/. | |
5260 | ||
006defba AC |
5261 | 2002-04-07 Andrew Cagney <[email protected]> |
5262 | ||
5263 | I believe Jeff Law denies responsability for this one: | |
5264 | * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork. | |
5265 | * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork. | |
5266 | * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork. | |
5267 | Work-around for PR gdb/366. | |
5268 | ||
7aa83cac EZ |
5269 | 2002-04-07 Elena Zannoni <[email protected]> |
5270 | ||
5271 | * remote-e7000.c (write_small, e7000_read_inferior_memory, | |
5272 | e7000_read_inferior_memory_large, e7000_insert_breakpoint, | |
5273 | e7000_remove_breakpoint): Use paddr_nz() to print addresses. | |
5274 | ||
cf1fcca1 EZ |
5275 | 2002-04-07 Elena Zannoni <[email protected]> |
5276 | ||
5277 | * sh-tdep.c (sh_fp_frame_init_saved_regs, | |
5278 | sh_nofp_frame_init_saved_regs): Use alloca() for 'where' | |
5279 | information. | |
5280 | ||
3f289e6f AC |
5281 | 2002-04-07 Andrew Cagney <[email protected]> |
5282 | ||
5283 | * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER | |
5284 | maintainer. | |
5285 | ||
129188f6 AC |
5286 | 2002-04-07 Andrew Cagney <[email protected]> |
5287 | ||
5288 | * README (Reporting Bugs in GDB): Document the bug web page as the | |
5289 | prefered way of submitting bugs. | |
5290 | Fix PR gdb/402. | |
5291 | ||
1200cd6e AC |
5292 | 2002-04-06 Andrew Cagney <[email protected]> |
5293 | ||
5294 | * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of | |
5295 | -1. Update comment. | |
5296 | * gdbarch.h, gdbarch.c: Re-generate. | |
5297 | ||
2853c33c AS |
5298 | 2002-04-07 Andreas Schwab <[email protected]> |
5299 | ||
5300 | * m68klinux-nat.c (fill_fpregset): Properly pass address of | |
5301 | buffer to regcache_collect. | |
5302 | ||
c2169756 AC |
5303 | 2002-04-06 Andrew Cagney <[email protected]> |
5304 | ||
5305 | * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1. | |
5306 | * gdbarch.c, gdbarch.h: Re-generate. | |
5307 | ||
25f1b008 AC |
5308 | 2002-04-06 Andrew Cagney <[email protected]> |
5309 | ||
5310 | * symtab.c (lookup_symtab): Remove ``const'' from ``rp'' | |
5311 | declaration. Fix -Werror. | |
5312 | ||
59263426 DJ |
5313 | 2002-04-05 Daniel Jacobowitz <[email protected]> |
5314 | ||
5315 | * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap. | |
5316 | * gdbarch.c: Regenerate. | |
5317 | ||
f5db4da3 MS |
5318 | 2002-04-05 Michael Snyder <[email protected]> |
5319 | ||
80f8a6eb MS |
5320 | * breakpoint.c (clear_command): Rewrite middle section to |
5321 | combine two loops with identical control conditions. | |
5322 | Add a cleanup to eliminate a memory leak. | |
f5db4da3 MS |
5323 | * cli/cli-dump.c (restore_section_callback): Use paddr_nz. |
5324 | ||
ad3dcc5c L |
5325 | 2002-04-05 H.J. Lu ([email protected]) |
5326 | ||
5327 | * solib-svr4.c (bkpt_names): Add "__start". | |
5328 | ||
f32e7a74 AC |
5329 | 2002-04-04 Andrew Cagney <[email protected]> |
5330 | ||
5331 | * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64 | |
5332 | as test for 64 bit target. | |
5333 | ||
8227c0ff AC |
5334 | 2002-04-05 Andrew Cagney <[email protected]> |
5335 | ||
5336 | * h8500-tdep.c (h8500_write_fp): Delete function. | |
5337 | * dwarf2cfi.c (cfi_write_fp): Document as not used. | |
5338 | * mips-tdep.c (mips_gdbarch_init): Do not set write_fp. | |
5339 | * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp. | |
5340 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp. | |
5341 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp. | |
5342 | * s390-tdep.c (s390_gdbarch_init): Do not set write_fp. | |
5343 | (s390_write_fp): | |
5344 | * sh-tdep.c (sh_gdbarch_init): Do not set write_fp. | |
5345 | * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp. | |
5346 | * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp. | |
5347 | (d10v_write_fp): Delete function. | |
5348 | * inferior.h (write_fp, generic_target_write_fp): Delete | |
5349 | declarations. | |
5350 | * regcache.c (generic_target_write_fp): Delete function. | |
5351 | (write_fp): Delete function. | |
5352 | * gdbarch.sh (TARGET_WRITE_FP): Delete. | |
5353 | * gdbarch.h, gdbarch.c: Regenerate. | |
5354 | * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro. | |
5355 | * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro. | |
5356 | (sparc64_write_fp): Delete declaration. | |
5357 | * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro. | |
5358 | (h8500_write_fp): Delete declaration. | |
5359 | ||
2757dd86 AC |
5360 | 2002-04-04 Andrew Cagney <[email protected]> |
5361 | ||
5362 | * sparc-tdep.c (sparc64_write_fp): Delete. | |
5363 | (sparc_push_dummy_frame): Replace write_fp call with code to store | |
5364 | the FP directly. | |
5365 | (sparc_gdbarch_init): Do not initialize write_fp. | |
5366 | ||
c69255e1 KB |
5367 | 2002-04-05 Kevin Buettner <[email protected]> |
5368 | ||
5369 | * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable | |
5370 | clause. | |
5371 | ||
ae767bfb JB |
5372 | 2002-03-29 Jim Blandy <[email protected]> |
5373 | ||
5374 | * stack.c (get_selected_block): Add new argument `addr_in_block', | |
5375 | used to return the exact code address we used to select the block, | |
5376 | not just the block. | |
5377 | * blockframe.c (get_frame_block, get_current_block): Same. | |
5378 | * frame.h (get_frame_block, get_current_block, | |
5379 | get_selected_block): Update declarations. | |
5380 | * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c, | |
5381 | linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed. | |
5382 | ||
84d2ac95 MS |
5383 | 2002-04-05 Michael Snyder <[email protected]> |
5384 | ||
5385 | * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in | |
5386 | warning message. | |
5387 | ||
596aa3bf JB |
5388 | 2002-04-05 J. Brobecker <[email protected]> |
5389 | ||
5390 | * utils.c (xfullpath): New function. | |
5391 | * defs.h (xfullpath): Add declaration. | |
5392 | * source.c (openp): Use xfullpath in place of gdb_realpath to | |
5393 | avoid resolving the basename part of filenames when the | |
5394 | associated file is a symbolic link. This fixes a potential | |
5395 | inconsistency between the filenames known to GDB and the | |
5396 | filenames it prints in the annotations. | |
5397 | * symtab.c (lookup_symtab): Use the new xfullpath function, in order | |
5398 | to be able to match a filename with either the real filename, or | |
5399 | the name of any symbolic link to this file. | |
5400 | (lookup_partial_symtab): Ditto. | |
5401 | ||
c02f5703 MS |
5402 | 2002-04-04 Michael Snyder <[email protected]> |
5403 | ||
5404 | * breakpoint.c: Add support for hardware breakpoints in overlays. | |
5405 | (overlay_events_enabled): New state variable. | |
5406 | (insert_breakpoints): Use overlay_events_enabled to decide | |
5407 | whether to attempt to set a breakpoint at the overlay load addr. | |
5408 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
5409 | (remove_breakpoint): Use overlay_events_enabled to decide | |
5410 | whether breakpoints need to be removed from overlay load addr. | |
5411 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
5412 | (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays. | |
361d1df0 | 5413 | (create_overlay_event_breakpoint, enable_overlay_breakpoints, |
c02f5703 MS |
5414 | disable_overlay_breakpoints): Update overlay_events_enabled. |
5415 | ||
5fb290d7 DJ |
5416 | 2002-04-04 Daniel Jacobowitz <[email protected]> |
5417 | ||
5418 | * dwarf2read.c (struct function_range): New. | |
5419 | (cu_first_fn, cu_last_fn, cu_cached_fn): New. | |
5420 | (check_cu_functions): New. | |
5421 | (read_file_scope): Initialize global function lists. | |
5422 | Call dwarf_decode_line after processing children. | |
5423 | (read_func_scope): Add to global function list. | |
5424 | (dwarf_decode_lines): Call check_cu_functions everywhere | |
5425 | record_line is called. Call record_line with a linenumber | |
5426 | of 0 to mark sequence ends. | |
5427 | ||
7b3fabf0 ML |
5428 | 2002-04-04 Michal Ludvig <[email protected]> |
5429 | ||
361d1df0 | 5430 | * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI |
7b3fabf0 ML |
5431 | change sync with glibc. |
5432 | ||
bce58c09 JB |
5433 | 2002-04-03 Jim Blandy <[email protected]> |
5434 | ||
5435 | * configure.in: Call AC_C_INLINE. | |
5436 | * configure: Regenerated. | |
361d1df0 | 5437 | |
2fccf04a DJ |
5438 | 2002-04-01 Daniel Jacobowitz <[email protected]> |
5439 | ||
5440 | * rs6000-tdep.c: Change #include of "bfd/libcoff.h" | |
5441 | and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h". | |
5442 | ||
2d1bfe2e MK |
5443 | 2002-03-31 Mark Kettenis <[email protected]> |
5444 | ||
a5941fbf MK |
5445 | * NEWS: Mention gcore support on FreeBSD/i386. |
5446 | ||
a90cd31d MK |
5447 | * fbsd-proc.c: New file. |
5448 | * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define. | |
5449 | * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o. | |
5450 | ||
2d1bfe2e MK |
5451 | * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in |
5452 | while statement. | |
5453 | ||
9eb6e5a1 JB |
5454 | 2002-03-29 Jim Blandy <[email protected]> |
5455 | ||
5456 | * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate | |
5457 | unescaped newlines in string literals, but newer ones don't. So | |
5458 | escape them. | |
5459 | ||
f02df580 MS |
5460 | 2002-03-26 Michael Snyder <[email protected]> |
5461 | Andrew Cagney <[email protected]> | |
5462 | ||
361d1df0 | 5463 | * cli/cli-dump.c: New file. Dump memory to file, |
f02df580 MS |
5464 | restore file to memory. |
5465 | * cli/cli-dump.h: New file. | |
5466 | * Makefile.in: Add rules, dependencies for cli-dump.o. | |
89743e04 | 5467 | * NEWS: Mention new commands. |
f02df580 | 5468 | |
109f874e MS |
5469 | 2002-03-28 Michael Snyder <[email protected]> |
5470 | ||
5471 | * symfile.c (symbol_file_add): Move test for null symbols to later. | |
5472 | ||
520f6ade AC |
5473 | 2002-03-27 Andrew Cagney <[email protected]> |
5474 | ||
5475 | From veksler at il.ibm.com: | |
5476 | * utils.c (gdb_realpath): If canonicalize_file_name fails, return | |
5477 | the xstrduped original path. | |
5478 | Fix PR gdb/417. | |
5479 | ||
d4654627 MS |
5480 | 2002-03-27 Michael Snyder <[email protected]> |
5481 | ||
5482 | * breakpoint.c (_initialize_breakpoint): Clean up help string. | |
5483 | * infcmd.c (_initialize_infcmd): Ditto. | |
5484 | * language.c (_initialize_language): Ditto. | |
5485 | * symfile.c (_initialize_symfile): Ditto. | |
5486 | * top.c (_init_main): Ditto. | |
5487 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
5488 | ||
6be8bc0c EZ |
5489 | 2002-03-27 Elena Zannoni <[email protected]> |
5490 | ||
5491 | * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec | |
5492 | vector registers handling. | |
5493 | (skip_prologue): Handle new AltiVec instructions. Fill in new | |
5494 | fields of frame data. | |
5495 | (frame_get_saved_regs): Fill in information for AltiVec registers. | |
5496 | ||
12af6855 JB |
5497 | 2002-03-27 Jim Blandy <[email protected]> |
5498 | ||
5499 | * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into | |
5500 | a function; leave this macro here to invoke that function. | |
5501 | (symbol_init_mangled_name): Declaration for that function. | |
5502 | * symtab.c (symbol_init_mangled_name): New function. | |
5503 | ||
dc672865 AC |
5504 | 2002-03-27 Andrew Cagney <[email protected]> |
5505 | ||
5506 | * valarith.c: Replace strerror with safe_strerror. | |
5507 | * tracepoint.c: Ditto. | |
5508 | * lin-lwp.c: Ditto. | |
5509 | * go32-nat.c: Ditto. | |
5510 | * inflow.c: Ditto. | |
5511 | * gnu-nat.c: Ditto. | |
5512 | ||
d96429cd AS |
5513 | 2002-03-27 Andreas Schwab <[email protected]> |
5514 | ||
5515 | * event-top.c (command_line_handler): Remove useless if. | |
5516 | ||
7e336ba1 AJ |
5517 | 2002-03-27 Andreas Jaeger <[email protected]> |
5518 | ||
5519 | * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright | |
5520 | comment. | |
5521 | ||
de220d0f ML |
5522 | 2002-03-27 Michal Ludvig <[email protected]> |
5523 | ||
5524 | * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines. | |
5525 | (x86_64_num_regs, x86_64_num_gregs): Added extern variables. | |
5526 | * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS. | |
5527 | (x86_64_linux_dr_get_status, supply_gregset), | |
5528 | (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs. | |
5529 | * x86-64-tdep.c (x86_64_register_raw_size_table): Delete. | |
5530 | (x86_64_register_info_table): Add. | |
5531 | (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add. | |
5532 | (x86_64_register_raw_size, x86_64_register_virtual_type), | |
5533 | (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new | |
5534 | general x86_64_register_info_table. | |
5535 | (i386_gdbarch_init): gdbarch_register_bytes is now set | |
5536 | dynamicaly during initialization. | |
5537 | * regformats/reg-x86-64.dat: Synced with changes to registers above. | |
5538 | * gdbserver/linux-x86-64-low.c: Ditto. | |
7e336ba1 | 5539 | |
0e98d0a7 DJ |
5540 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
5541 | ||
5542 | * gdbserver/server.c (main): Call target_signal_to_host_p | |
5543 | and target_signal_to_host on signals received from the remote. | |
5544 | * gdbserver/remote-utils.c (prepare_resume_reply): Call | |
5545 | target_signal_from_host on signals sent to the remote. | |
5546 | * gdbserver/server.h: Add prototypes. Include "gdb/signals.h". | |
5547 | * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}. | |
5548 | ||
3130066b DJ |
5549 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
5550 | ||
5551 | * signals/signals.c: Include "server.h" in gdbserver build. | |
5552 | (target_signal_from_name): Don't use STREQ. | |
5553 | (_initialize_signals): Likewise. Don't include function in | |
5554 | gdbserver build. | |
5555 | ||
9aedf4f4 DJ |
5556 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
5557 | ||
5558 | * signals.c: Moved to... | |
5559 | * signals/signals.c: Here. | |
7e336ba1 | 5560 | * Makefile (signals.o): Update. |
9aedf4f4 | 5561 | |
3fa41cdb JL |
5562 | 2002-03-26 Jeff Law ([email protected]) |
5563 | ||
5564 | * somread.c (som_symtab_read): Remove some commented out code and | |
5565 | updated related comments. Do not set the minimal symbol table to | |
5566 | mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope | |
5567 | in a dynamic executable. | |
5568 | * hppa-tdep.c (find_proc_framesize): Sanely handle the case | |
5569 | where we are unable to find the minimal symbol for the given | |
5570 | PC value. | |
5571 | ||
ee677e8d MS |
5572 | 2002-03-25 Jeff Law ([email protected]) |
5573 | ||
5574 | * linux-proc.c (read_mapping): Scan up to end of line for filename. | |
5575 | ||
e76e1718 ML |
5576 | 2002-03-25 Michal Ludvig <[email protected]> |
5577 | ||
5578 | * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch. | |
5579 | ||
18a642a1 AC |
5580 | 2002-03-23 Andrew Cagney <[email protected]> |
5581 | ||
5582 | * command.h: Update copyright. | |
5583 | (struct cmd_list_element): Replace definition with opaque | |
5584 | declaration. | |
5585 | (enum cmd_types): Document that it will eventually be moved to | |
5586 | cli/cli-decode.h | |
5587 | (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros. | |
5588 | (MALLOCED_REPLACEMENT): Delete macro. | |
5589 | * Makefile.in (cli_decode_h): Add $(command_h). | |
5590 | (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h). | |
7e336ba1 | 5591 | * top.c: Include "cli/cli-decode.h". |
18a642a1 AC |
5592 | * completer.c: Include "cli/cli-decode.h". |
5593 | * maint.c: Include "cli/cli-decode.h". | |
5594 | * cli/cli-decode.h: Include "command.h". | |
5595 | (enum command_class): Delete. | |
5596 | (enum cmd_types): Comment out. | |
5597 | (enum cmd_auto_boolean): Delete. | |
5598 | (enum var_types): Delete. | |
5599 | ||
b2875cc0 AC |
5600 | 2002-03-23 Andrew Cagney <[email protected]> |
5601 | ||
5602 | * cli/cli-decode.c: Include "gdb_assert.h". | |
5603 | (add_set_or_show_cmd): New static function. | |
5604 | (add_set_cmd): Rewrite. Use add_set_or_show_cmd. | |
5605 | (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy | |
5606 | all fields, such as func, from the set command. | |
5607 | ||
3b45974e AC |
5608 | 2002-03-23 Andrew Cagney <[email protected]> |
5609 | ||
5610 | * MAINTAINERS (sh-elf): Change warning flag to -w. | |
5611 | ||
823ca731 AC |
5612 | 2002-03-23 Andrew Cagney <[email protected]> |
5613 | ||
5614 | * defs.h (error): Add printf format attribute. | |
5615 | * thread-db.c (thread_from_lwp): Fix error format string. | |
5616 | * stack.c (parse_frame_specification): Ditto. | |
5617 | * cli/cli-decode.c (undef_cmd_error): Ditto. | |
5618 | * scm-lang.c (scm_lookup_name): Ditto. | |
5619 | * tracepoint.c (trace_error): Ditto. | |
5620 | * remote-utils.c (usage): Ditto. | |
5621 | * remote.c (compare_sections_command): Ditto. | |
5622 | Fix PR gdb/328. | |
5623 | ||
0e101458 AC |
5624 | 2002-03-22 Andrew Cagney <[email protected]> |
5625 | ||
5626 | * gdbtypes.c (append_composite_type_field): New function. | |
5627 | (init_composite_type): New function. | |
5628 | * gdbtypes.h (append_composite_type_field): Declare. | |
5629 | (init_composite_type): Ditto. | |
5630 | ||
8e0662df EZ |
5631 | 2002-03-22 Elena Zannoni <[email protected]> |
5632 | ||
5633 | * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New | |
7e336ba1 | 5634 | function. |
8e0662df EZ |
5635 | * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export. |
5636 | * rs6000-tdep.c (rs6000_gdbarch_init): Use different | |
5637 | structure returning convention for SYSV ABI case, but not | |
5638 | for GNU/Linux, FreeBSD, or NetBSD. | |
5639 | ||
3121eff0 DJ |
5640 | 2002-03-22 Daniel Jacobowitz <[email protected]> |
5641 | ||
5642 | * symtab.h (lookup_block_symbol): Add mangled_name argument | |
5643 | to prototype. | |
5644 | ||
5645 | * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol | |
5646 | with new mangled_name argument. | |
5647 | * linespec.c (decode_line_1): Likewise. | |
5648 | * valops (value_of_this): Likewise. | |
5649 | * symtab.c (lookup_transparent_type): Likewise. | |
5650 | (lookup_symbol_aux): Likewise. Accept new mangled_name argument. | |
5651 | (lookup_symbol): If we are given a mangled name, pass it down | |
5652 | to lookup_symbol_aux. | |
5653 | (lookup_block_symbol): If we are given a mangled name to check | |
5654 | against, only return symbols which match it. | |
5655 | ||
349b409f CF |
5656 | 2002-03-22 Christopher Faylor <[email protected]> |
5657 | ||
5658 | * win32-nat.c (child_create_inferior): Check for proper shell to use | |
5659 | here, in case the user changes it on the fly. | |
5660 | (_initialize_inftarg): Remove shell path considerations. | |
5661 | ||
2a873819 EZ |
5662 | 2002-03-21 Elena Zannoni <[email protected]> |
5663 | ||
5664 | * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value | |
5665 | for gdbarch_max_register_raw_size and max_register_virtual_size. | |
5666 | Adjust copyright year. | |
5667 | ||
a1b9830c DJ |
5668 | 2002-03-21 Daniel Jacobowitz <[email protected]> |
5669 | ||
5670 | * dbxread.c (process_one_symbol): Extend the first N_SLINE | |
5671 | in a function to cover the entire beginning of the function | |
5672 | as well if it does not already. | |
5673 | ||
8b5790f2 TR |
5674 | 2002-03-21 Tom Rix <[email protected]> |
5675 | ||
5676 | * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32. | |
5677 | (rs6000_ptrace64): Renamed from ptrace64. | |
5678 | ||
bdbe5747 MH |
5679 | 2002-03-20 Martin M. Hunt <[email protected]> |
5680 | ||
5681 | * gdbserver/remote-utils.c (remote_open): Don't call | |
5682 | getprotobyname, we're all using TCP here so just use | |
5683 | IPPROTO_TCP. | |
7e336ba1 | 5684 | * gdbserver/gdbreplay.c (remote_open): Ditto. |
bdbe5747 MH |
5685 | |
5686 | 2002-03-20 Martin M. Hunt <[email protected]> | |
7e336ba1 | 5687 | |
bdbe5747 MH |
5688 | * regcache.c (_initialize_regcache): No need to call |
5689 | build_regcache() at this time; it gets called whenever | |
5690 | the gdbarch changes. | |
5691 | ||
7781cd62 DB |
5692 | 2002-03-20 David O'Brien <[email protected]> |
5693 | ||
5694 | * sparc-nat.c: Include sys/param.h where possible. | |
5695 | ||
f65ca430 DJ |
5696 | 2002-03-20 Daniel Jacobowitz <[email protected]> |
5697 | ||
5698 | Fix PR gdb/422. | |
5699 | * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX, | |
5700 | FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX. | |
5701 | * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for | |
5702 | complex types. | |
5703 | * stabsread.c (rs6000_builtin_type): Likewise. | |
5704 | (read_sun_floating_type): Likewise. | |
5705 | ||
0c867556 PS |
5706 | 2002-03-19 Peter Schauer <[email protected]> |
5707 | ||
5708 | * stabsread.c (read_member_functions): Remove skip code for duplicate | |
5709 | constructor/destructor methods. Use standard parsing for these | |
5710 | methods and just do not chain them to the list of methods after | |
5711 | parsing. | |
5712 | ||
12b9c64f AO |
5713 | 2002-03-19 Alexandre Oliva <[email protected]> |
5714 | ||
5715 | * coffread.c: Remove redundant static declarations. Replace | |
5716 | occurrences of `PTR' with `void *'. | |
5717 | * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise. | |
5718 | * top.h (quit_cover): Likewise. | |
5719 | * defs.h (catch_errors): Likewise. | |
5720 | ||
349c5d5f AC |
5721 | 2002-03-18 Andrew Cagney <[email protected]> |
5722 | ||
5723 | * defs.h (XMALLOC): Define. | |
5724 | * gdb-events.sh (XMALLOC): Delete macro. | |
5725 | * gdb-events.c, gdb-events.h: Regenerate. | |
5726 | * gdbarch.sh (XMALLOC): Delete macro. | |
5727 | * gdbarch.c: Regenerate. | |
5728 | * serial.c (XMALLOC): Delete macro. | |
5729 | * ui-file.c (XMALLOC): Ditto. | |
5730 | * ser-unix.h (XMALLOC): Ditto. | |
5731 | * sh-tdep.c (XMALLOC): Ditto. | |
5732 | * ui-out.c (XMALLOC): Ditto. | |
5733 | * utils.c (XMALLOC): Ditto. | |
5734 | * i386-tdep.c (XMALLOC): Ditto. | |
5735 | * gdb-events.c (XMALLOC): Ditto. | |
5736 | * d10v-tdep.c (XMALLOC): Ditto. | |
5737 | * cli-out.c (XMALLOC): Ditto. | |
5738 | ||
5739 | * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. | |
5740 | * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. | |
5741 | * ui-file.c, ui-out.c: Ditto. | |
5742 | ||
7d0766f3 AC |
5743 | 2002-03-18 Andrew Cagney <[email protected]> |
5744 | ||
5745 | * command.h (struct cmd_list_element): Add field context. | |
5746 | (set_cmd_context, get_cmd_context): Declare. | |
5747 | * cli/cli-decode.h: Ditto. | |
5748 | * cli/cli-decode.c (get_cmd_context): New function. | |
5749 | (set_cmd_context): New function. | |
5750 | (add_cmd): Initialize context. | |
5751 | Part of fixing PR gdb/145 and PR gdb/146. | |
5752 | ||
5913bcb0 AC |
5753 | 2002-03-17 Andrew Cagney <[email protected]> |
5754 | ||
1868c04e AC |
5755 | * cli/cli-decode.c (cmd_type): New function. |
5756 | * command.h (cmd_type): Declare. | |
5757 | * infrun.c (set_schedlock_func): Call function cmd_type. | |
5758 | * kod.c (kod_set_os): Call cmd_type. | |
5759 | * cris-tdep.c (cris_version_update): Use function cmd_type. | |
5760 | (cris_mode_update, cris_abi_update): Ditto. | |
5761 | ||
5913bcb0 AC |
5762 | * command.h: (execute_cmd_post_hook): Declare. |
5763 | (execute_cmd_pre_hook): Declare. | |
5764 | * cli/cli-script.c (clear_hook_in_cleanup): New function. | |
5765 | (execute_cmd_post_hook, execute_cmd_pre_hook): New | |
5766 | functions. Execute pre/post hook while ensuring that afterwords | |
5767 | hook_in is cleared. | |
5768 | * top.c (execute_command): Use execute_cmd_post_hook, and | |
5769 | execute_cmd_pre_hook to execute pre/post commands. | |
5770 | * infrun.c (normal_stop): Pass stop_command and not pre_hook to | |
5771 | hook_stop_stub. | |
5772 | (hook_stop_stub): Call execute_cmd_pre_hook. | |
5773 | ||
b51450c9 AC |
5774 | 2002-03-17 Andrew Cagney <[email protected]> |
5775 | ||
5776 | * kod.c (kod_set_os): Revert previous change. Is called by ``info | |
5777 | set'' and this leads to a core dump. Move xstrdup of | |
5778 | operating_system to after check that it is not NULL. | |
5779 | ||
f66c9f11 AC |
5780 | 2002-03-17 Andrew Cagney <[email protected]> |
5781 | ||
8e694ecf AC |
5782 | * kod.c (kod_set_os): Remove unnecessary check that |
5783 | ``command->type'' is set_cmd. | |
5784 | ||
f66c9f11 AC |
5785 | * valprint.c (set_input_radix): Use input_radix. |
5786 | (set_output_radix): Use output_radix. | |
5787 | (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix | |
5788 | isn't reverted. | |
5789 | ||
9d01611c AC |
5790 | 2002-03-16 Andrew Cagney <[email protected]> |
5791 | ||
5792 | * value.h (struct value): Delete field ``substring_addr''. Change | |
5793 | aligner fields to force_doublest_align, force_longest_align, | |
ee2d3b3a AC |
5794 | force_core_addr_align and force_pointer_aligh. |
5795 | ||
5796 | * value.h (struct value): Fix typo in above change. | |
9d01611c | 5797 | |
4156bb53 PS |
5798 | 2002-03-16 Peter Schauer <[email protected]> |
5799 | ||
5800 | * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip, | |
5801 | to fix internal_error from ``maintenance print architecture''. | |
5802 | ||
0e5e3ea6 PS |
5803 | 2002-03-16 Peter Schauer <[email protected]> |
5804 | ||
5805 | * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type | |
5806 | for gcc versions after gcc-2.8.1. | |
5807 | ||
9b013045 PS |
5808 | 2002-03-16 Peter Schauer <[email protected]> |
5809 | ||
5810 | * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer | |
5811 | for method resolution. Restore adjustment of ``this'' pointer after | |
5812 | calling value_struct_elt, which was accidentally removed during the | |
5813 | HP merge. | |
5814 | ||
376c9600 AC |
5815 | 2002-03-15 Andrew Cagney <[email protected]> |
5816 | ||
5817 | * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to | |
5818 | value_of_register. | |
5819 | * findvar.c (value_of_register): Add ``frame'' parameter. Pass to | |
5820 | get_saved_register. | |
5821 | * value.h (value_of_register): Update. | |
5822 | ||
a4db0f07 RH |
5823 | 2002-03-14 Richard Henderson <[email protected]> |
5824 | ||
5825 | * configure.in: Detect declaration for canonicalize_file_name. | |
5826 | * utils.c (canonicalize_file_name): Declare, if needed. | |
5827 | (gdb_realpath): Prefer realpath if available and usable. | |
5828 | * config.in, configure: Rebuild. | |
5829 | ||
96383835 RH |
5830 | 2002-03-14 Richard Henderson <[email protected]> |
5831 | ||
5832 | * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as | |
5833 | a constant array bound. | |
5834 | ||
5835 | * MAINTAINERS: Add myself to write-after-approval. | |
5836 | ||
75245b24 MS |
5837 | 2002-03-14 Michael Snyder <[email protected]> |
5838 | ||
5839 | * symfile.c (syms_from_objfile): Return immediately if no syms. | |
5840 | (symbol_file_add): Return immediately if no syms. | |
5841 | (find_sym_fns): Return immediately if no syms. | |
5842 | ||
e641a1ca ML |
5843 | 2002-03-13 Michal Ludvig <[email protected]> |
5844 | ||
5845 | * gdbserver/remote-util.c (remote_open): Print remote-side's | |
5846 | IP address when remote debugging over the network. | |
7e336ba1 | 5847 | |
df08bfec DB |
5848 | 2002-03-12 David O'Brien <[email protected]> |
5849 | ||
5850 | * config/sparc/fbsd.mh: Fix copyright. | |
5851 | * config/sparc/fbsd.mt: Likewise. | |
5852 | ||
9a57864f RE |
5853 | 2002-03-11 Richard Earnshaw <[email protected]> |
5854 | ||
5855 | * MAINTAINERS: Fix typo in name of gdb warnings option. | |
5856 | (x86-64): Fix formating so that this can be parsed by awk. | |
5857 | ||
dd7bf85e DJ |
5858 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
5859 | ||
5860 | * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h. | |
5861 | * defs.h: Include "gdb/signals.h". | |
5862 | (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h. | |
5863 | ||
33a0a2ac ML |
5864 | 2002-03-10 Michal Ludvig <[email protected]> |
5865 | ||
5866 | * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c | |
7e336ba1 | 5867 | * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here |
33a0a2ac ML |
5868 | from x86-64-tdep.h |
5869 | ||
dd824b04 DJ |
5870 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
5871 | Don Howard <[email protected]> | |
5872 | ||
5873 | * mips-tdep.c (ST0_FR): Define. | |
5874 | (mips2_fp_compat): New function, temporarily disabled. | |
5875 | (mips_read_fp_register_single): New function. | |
5876 | (mips_read_fp_register_double): New function. | |
5877 | (mips_print_register): Use them. | |
5878 | (do_fp_register_row): Likewise. | |
5879 | ||
6a41ff59 AC |
5880 | 2002-03-09 Andrew Cagney <[email protected]> |
5881 | ||
5882 | * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after | |
5883 | approval''. | |
5884 | ||
4ea09c10 PS |
5885 | 2002-03-08 Peter Schauer <[email protected]> |
5886 | ||
5887 | * stabsread.c (read_member_functions): Fix is_stub test for | |
5888 | static member functions, improve comment. | |
5889 | ||
6ccc741d RE |
5890 | 2002-03-07 Richard Earnshaw <[email protected]> |
5891 | ||
5892 | * remote-rdi.c (myprint): Replace 'PTR' with 'void *'. | |
5893 | (mywrite, mywritec, mypause, myreadc, mygets): Likewise. | |
5894 | (_initialize_remote_rdi): Use add_set_boolean_cmd to register | |
5895 | commands that set boolean values. | |
5896 | (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning. | |
5897 | (arm_rdi_resume): Always initialize PC. | |
5898 | (arm_rdi_open): Don't use rslt as a boolean. | |
5899 | (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume) | |
5900 | (arm_rdi_fetch_registers, arm_rdi_store_registers) | |
5901 | (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill) | |
5902 | (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise. | |
5903 | ||
438013df AO |
5904 | 2002-03-06 Alexandre Oliva <[email protected]> |
5905 | ||
5906 | * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX. | |
5907 | * configure: Rebuilt. | |
5908 | ||
70ed8774 SC |
5909 | 2002-03-06 Stephane Carrez <[email protected]> |
5910 | ||
5911 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn. | |
5912 | (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead. | |
5913 | ||
5ba2abeb AC |
5914 | 2002-03-06 Andrew Cagney <[email protected]> |
5915 | ||
5916 | * cli/cli-decode.c (set_cmd_completer): New function. | |
5917 | * command.h (set_cmd_completer): Declare. | |
5918 | * cli/cli-decode.h (set_cmd_completer): Ditto. | |
5919 | ||
5920 | * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer. | |
5921 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
5922 | * win32-nat.c (_initialize_inftarg): Ditto. | |
5923 | * remote-rdi.c (_initialize_remote_rdi): Ditto. | |
5924 | * proc-api.c (_initialize_proc_api): Ditto. | |
5925 | * hppa-tdep.c (_initialize_hppa_tdep): Ditto. | |
5926 | * source.c (_initialize_source): Ditto. | |
5927 | * exec.c (_initialize_exec): Ditto. | |
5928 | * solib.c (_initialize_solib): Ditto. | |
5929 | * top.c (init_main): Ditto. | |
5930 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
5931 | * symfile.c (_initialize_symfile): Ditto. | |
5932 | * printcmd.c (_initialize_printcmd): Ditto. | |
5933 | * infcmd.c (_initialize_infcmd): Ditto. | |
5934 | * corefile.c (_initialize_core): Ditto. | |
5935 | ||
f779ca99 AC |
5936 | 2002-03-05 Andrew Cagney <[email protected]> |
5937 | ||
5938 | * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler. | |
5939 | ||
01a3934b AC |
5940 | 2002-03-05 Andrew Cagney <[email protected]> |
5941 | ||
5942 | * MAINTAINERS: Fix Mac OS X and Objective-C/C++. | |
5943 | ||
37057839 AC |
5944 | 2002-03-05 Andrew Cagney <[email protected]> |
5945 | ||
5946 | * NEWS: Update headings, 5.2 has branched. | |
5947 | ||
c6ecbae5 DJ |
5948 | 2002-03-04 Daniel Jacobowitz <[email protected]> |
5949 | ||
5950 | * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long. | |
5951 | (num_regs, regmap): Move inside HAVE_LINUX_USRREGS. | |
5952 | (register_addr, REGISTER_RAW_SIZE): Likewise. | |
5953 | (usr_store_inferior_registers): Use PTRACE_XFER_TYPE. | |
5954 | * gdbserver/linux-x86-64-low.c: Remove extra #endif. | |
5955 | ||
e9f30c21 ML |
5956 | 2002-03-03 Michal Ludvig <[email protected]> |
5957 | ||
5958 | * MAINTAINERS (x86-64): Add myself. | |
5959 | * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs, | |
5960 | changed value_ptr -> struct value * | |
5961 | ||
54394ac3 DB |
5962 | 2002-03-01 David O'Brien <[email protected]> |
5963 | ||
5964 | * configure.host (sparc64-*-freebsd): Add. | |
5965 | * configure.tgt: Likewise. | |
5966 | * config/sparc/fbsd.mh: New file. | |
5967 | * config/sparc/fbsd.mt: Likewise. | |
5968 | * config/sparc/nm-fbsd.h: Likewise. | |
5969 | * config/sparc/tm-fbsd.h: Likewise. | |
5970 | ||
bfe95955 DJ |
5971 | 2002-03-01 Daniel Jacobowitz <[email protected]> |
5972 | ||
5973 | * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and | |
5974 | regformats/reg-s390x.dat. | |
5975 | ||
f33c6cbf AC |
5976 | 2002-03-01 Andrew Cagney <[email protected]> |
5977 | ||
5978 | * utils.c: Add FIXME explaining true/false problem. | |
5979 | ||
5ecaa7dd AC |
5980 | 2002-02-28 Andrew Cagney <[email protected]> |
5981 | ||
5982 | * MAINTAINERS (Past Maintainers): Add J.T. Conklin. | |
5983 | ||
2a251cc2 MC |
5984 | 2002-02-28 Michael Chastain <[email protected]> |
5985 | ||
5986 | * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs . | |
5987 | ||
6a8031a3 | 5988 | 2002-02-28 Daniel Jacobowitz <[email protected]> |
265f716b DJ |
5989 | |
5990 | * gdbserver/linux-s390-low.c: New file. | |
5991 | * regformats/reg-s390.dat: New file. | |
5992 | * regformats/reg-s390x.dat: New file. | |
5993 | * gdbserver/configure.srv: Add S/390. | |
5994 | * gdbserver/Makefile.in: Add S/390. | |
5995 | * configure.tgt: Enable gdbserver for S/390. | |
5996 | ||
ac469903 EZ |
5997 | 2002-02-28 Eli Zaretskii <[email protected]> |
5998 | ||
5999 | * go32-nat.c (_initialize_go32_nat): Don't use periods in the | |
6000 | first line of the doc string for "info dos", except at the end of | |
6001 | the sentence, since the short help stops at the first period. | |
6002 | ||
985cb1a3 JM |
6003 | 2002-02-28 Jason Merrill <[email protected]> |
6004 | ||
6005 | * dwarf2read.c (dwarf_cfi_name): Add new codes. | |
6006 | ||
c570663e FF |
6007 | 2002-02-27 Fred Fish <[email protected]> |
6008 | ||
6009 | * blockframe.c (generic_fix_call_dummy): Fix obvious typo in | |
6010 | comment (dumy -> dummy). | |
6011 | ||
43630227 PS |
6012 | 2002-02-27 Peter Schauer <[email protected]> |
6013 | ||
6014 | * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames. | |
6015 | ||
b84911e8 RB |
6016 | 2002-02-27 Rodney Brown <[email protected]> |
6017 | ||
6018 | * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5. | |
6019 | ||
58caa3dc DJ |
6020 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
6021 | ||
6022 | * gdbserver/acconfig.h: New file. | |
6023 | * gdbserver/i387-fp.c: New file. | |
6024 | * gdbserver/i387-fp.h: New file. | |
6025 | * gdbserver/linux-x86-64.c: New file. | |
6026 | * regformats/reg-x86-64.dat: New file. | |
6027 | * configure.tgt: Add x86_64-*-linux* gdbserver support. | |
6028 | * gdbserver/configure.srv: Add x86_64-*-linux* and regset support. | |
6029 | * gdbserver/configure.in: Add support for regsets. | |
6030 | * gdbserver/config.in: Regenerate. | |
6031 | * gdbserver/configure: Regenerate. | |
6032 | * gdbserver/Makefile.in: Likewise. Add $(linux_low_h). | |
6033 | * gdbserver/linux-low.h: New file. | |
6034 | * gdbserver/linux-low.c: Include "linux-low.h". Add support | |
6035 | for regsets. | |
6036 | * gdbserver/linux-arm-low.c: Include "linux-low.h". | |
6037 | * gdbserver/linux-ia64-low.c: Include "linux-low.h". | |
6038 | * gdbserver/linux-m68k-low.c: Include "linux-low.h". | |
6039 | * gdbserver/linux-mips-low.c: Include "linux-low.h". | |
6040 | * gdbserver/linux-ppc-low.c: Include "linux-low.h". | |
6041 | * gdbserver/linux-sh-low.c: Include "linux-low.h". | |
6042 | * gdbserver/linux-i386-low.c: Include "linux-low.h". Include | |
6043 | "i387-fp.h". Add PTRACE_GETREGS and friends. | |
6044 | * gdbserver/regcache.c (supply_register): New function. | |
6045 | (supply_register_by_name): New function. | |
6046 | (collect_register): New function. | |
6047 | (collect_register_by_name): New function. | |
6048 | ||
93652174 DJ |
6049 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
6050 | ||
6051 | * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER. | |
6052 | (config.status): Add configure.srv dependency. | |
6053 | (server_h): Add config.h dependency. | |
6054 | ||
a02e4a61 DJ |
6055 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
6056 | ||
6057 | * regformats/reg-i386-linux.dat: New file, with $orig_eax. | |
6058 | * gdbserver/Makefile.in: Add rules for reg-i386-linux.o. | |
6059 | * gdbserver/configure.srv: Change i386-*-linux* to use | |
6060 | reg-i386-linux.o. | |
6061 | ||
ce0eebec AC |
6062 | 2002-02-26 Andrew Cagney <[email protected]> |
6063 | ||
6064 | * x86-64-tdep.c: Re-indent. Update copyright date. | |
6065 | ||
82dbc5f7 AC |
6066 | 2002-02-26 Andrew Cagney <[email protected]> |
6067 | ||
6068 | From Michal Ludvig <[email protected]>: | |
6069 | * x86-64-tdep.c (value.h): Delete. | |
6070 | (gdb_assert.h): Include. | |
6071 | (x86_64_register_convert_to_virtual, | |
6072 | x86_64_register_convert_to_raw ): Add check which lets only | |
6073 | floating-point values to be converted. | |
6074 | (value_push): Delete. | |
6075 | (x86_64_push_arguments): Order of arguments pushed on stack fixed. | |
6076 | (i386_gdbarch_init): Number of register_bytes fixed. | |
6077 | ||
e4621584 AC |
6078 | 2002-02-26 Andrew Cagney <[email protected]> |
6079 | ||
6080 | * MAINTAINERS: Add x86-64 target. | |
6081 | ||
81a9a963 AC |
6082 | 2002-02-26 Andrew Cagney <[email protected]> |
6083 | ||
6084 | * memattr.c (mem_command): Eliminate ``true'' and ``false''. | |
6085 | * osfsolib.c (solib_map_sections): Ditto. | |
6086 | * irix5-nat.c (solib_map_sections): Ditto. | |
6087 | * corelow.c (gdb_check_format): Ditto. | |
6088 | * symfile.c (symfile_bfd_open): Ditto. | |
6089 | * solib.c (solib_map_sections): Ditto. | |
6090 | Fix PR gdb/354. | |
7e336ba1 | 6091 | |
0f017ab9 AC |
6092 | 2002-02-26 Andrew Cagney <[email protected]> |
6093 | ||
6094 | * remote.c (_initialize_remote): By default, disable ``e'' and | |
6095 | ``E'' step out-of-range packets. | |
6096 | ||
75738c29 AS |
6097 | 2002-02-26 Andreas Schwab <[email protected]> |
6098 | ||
6099 | * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as | |
6100 | m68k_linux_frame_saved_pc. | |
6101 | (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of | |
6102 | in_sigtramp. | |
6103 | (SIGCONTEXT_PC_OFFSET): Remove. | |
6104 | * m68klinux-nat.c (m68k_linux_frame_saved_pc, | |
6105 | m68k_linux_sigtramp_saved_pc): New functions. | |
6106 | (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define. | |
6107 | (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h. | |
6108 | (UCONTEXT_PC_OFFSET): Define. | |
6109 | (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both | |
6110 | non-RT and RT signal trampolines. | |
6111 | ||
7e8ed687 RE |
6112 | 2002-02-26 Richard Earnshaw <[email protected]> |
6113 | ||
6114 | * config/arm/tm-embed.h (TARGET_UPAGES): Delete. | |
6115 | (TARGET_NBPG, STACK_END_ADDR): Delete | |
6116 | (VARIABLES_INSIDE_BLOCK): Delete. | |
6117 | ||
6972bc8b AC |
6118 | 2002-02-25 Andrew Cagney <[email protected]> |
6119 | ||
6120 | * utils.c (perror_with_name): Make string parameter constant. | |
6121 | (print_sys_errmsg): Ditto. | |
6122 | (query): Ditto. | |
6123 | * defs.h (perror_with_name): Update. | |
6124 | (print_sys_errmsg): Update. | |
6125 | (query): Update. | |
6126 | ||
aa32f823 DJ |
6127 | 2002-02-25 Daniel Jacobowitz <[email protected]> |
6128 | ||
6129 | From Eliot Dresselhaus <[email protected]>: | |
6130 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo. | |
6131 | ||
19caaa45 PS |
6132 | 2002-02-25 Peter Schauer <[email protected]> |
6133 | ||
6134 | * rs6000-nat.c (set_host_arch): Do not switch to a new architecture | |
6135 | if it already matches the current architecture from the exec file. | |
6136 | Include arch-utils.h for gdbarch_info_init prototype. | |
6137 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
6138 | ||
d951901f EZ |
6139 | 2002-02-25 Eli Zaretskii <[email protected]> |
6140 | ||
6141 | * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the | |
6142 | list of exported variables. | |
6143 | ||
7ea81414 DJ |
6144 | 2002-02-24 Daniel Jacobowitz <[email protected]> |
6145 | ||
6146 | * gdbserver/configure.srv: New file. | |
6147 | * gdbserver/configure.in: Use configure.srv instead | |
6148 | of the host/target makefile fragments. Set GDBSERVER_DEPFILES | |
6149 | from it. | |
6150 | * gdbserver/configure: Regenerated. | |
6151 | * gdbserver/terminal.h: New file. | |
6152 | * gdbserver/Makefile.in: Update for configure changes. Remove | |
6153 | more unneeded include paths. | |
6154 | ||
080fe24b AC |
6155 | 2002-02-24 Andrew Cagney <[email protected]> |
6156 | ||
6157 | From wiz at danbala: | |
6158 | * config/sparc/tm-sp64.h: Fix grammar and typos. | |
6159 | Fix PR gdb/287. | |
6160 | ||
8605d56e AC |
6161 | 2002-02-24 Andrew Cagney <[email protected]> |
6162 | ||
6163 | * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux'' | |
a4b6fc86 AC |
6164 | with either ``GNU/Linux'' or ``Linux kernel''. Update copyright. |
6165 | * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto. | |
6166 | * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto. | |
ca557f44 AC |
6167 | * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto. |
6168 | * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto. | |
6169 | * s390-tdep.c: Ditto. | |
92362027 AC |
6170 | * config/nm-linux.h, config/alpha/nm-linux.h: Ditto. |
6171 | * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h: | |
6172 | * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto. | |
6173 | * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto. | |
6174 | * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto. | |
6175 | * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto. | |
6176 | * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto. | |
6177 | * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto. | |
6178 | * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto. | |
6179 | * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto. | |
8605d56e | 6180 | Fix PR gdb/378. |
7e336ba1 | 6181 | |
8ed32cc0 AC |
6182 | 2002-02-23 Andrew Cagney <[email protected]> |
6183 | ||
a3007b6f AC |
6184 | * lin-thread.c: Delete file. |
6185 | * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer | |
6186 | to gdb_proc_service.h. | |
6187 | * configure: Re-generate. | |
6188 | ||
50a9e2f1 AC |
6189 | * ocd.c (ocd_open): Do not try to open the "ocd" device. |
6190 | * serial.c (serial_open): Delete check for "ocd". | |
6191 | Fix PR gdb/349. | |
6192 | ||
8b6e7932 AC |
6193 | * Makefile.in (linux-thread.o): Delete target. |
6194 | * linux-thread.c: Delete file. | |
6195 | ||
d155c46b AC |
6196 | * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other |
6197 | renamed SH files to be consistent. | |
6198 | ||
8ed32cc0 AC |
6199 | * symtab.c (sort_search_symbols): Use xfree. |
6200 | ||
0e18d038 RE |
6201 | 2002-02-23 Richard Earnshaw <[email protected]> |
6202 | ||
6203 | * arm-linux-tdep.c (arm_linux_init_abi): Register | |
6204 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE | |
6205 | * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old | |
6206 | definition with undef, since we don't want the sysvr4 definition. | |
6207 | (SKIP_TRAMPOLINE_CODE): Likewise. | |
6208 | ||
27aac7ff AC |
6209 | 2002-02-23 Andrew Cagney <[email protected]> |
6210 | ||
6211 | From 2002-02-22 Alfred M. Szmidt <[email protected]>: | |
6212 | ||
6213 | * configure.in: (AC_CHECK_FUNCS) Added test for | |
6214 | canonicalize_file_name Regenerated. | |
6215 | * config.in, configure: Regenerated. | |
6216 | * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is | |
6217 | defined use canonicalize_file_name. | |
7e336ba1 | 6218 | |
65a6e0ee MC |
6219 | 2002-02-23 Michael Chastain <[email protected]> |
6220 | ||
6221 | * MAINTAINERS: Remove Michael Chastain from "paper trail" list. | |
6222 | ||
47b95330 AC |
6223 | 2002-02-23 Andrew Cagney <[email protected]> |
6224 | ||
6225 | * README: Remove references to cygnus.com. | |
6226 | * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar | |
6227 | dot com'' form. Remove references to cygnus.com and sourceware. | |
6228 | ||
696f451b AC |
6229 | 2002-02-23 Andrew Cagney <[email protected]> |
6230 | ||
6231 | From 2002-02-19 Paul Eggert <[email protected]>: | |
6232 | * Makefile.in (VER): Change "head -1" to "sed q", since POSIX | |
6233 | 1003.1-2001 no longer allows "head -1". | |
6234 | * gdb/Makefile.in (version.c): Likewise. | |
6235 | * gdb/doc/Makefile.in (GDBvn.texi): Likewise. | |
6236 | * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is | |
6237 | equivalent. POSIX 1003.1-2001 no longer allows "diff -c3". | |
6238 | ||
bbaca940 AC |
6239 | 2002-02-23 Andrew Cagney <[email protected]> |
6240 | ||
6241 | * cli/cli-decode.c (cmd_cfunc_eq): New function. | |
6242 | * command.h (cmd_cfunc_eq): Declare. | |
6243 | * cli/cli-decode.h (cmd_cfunc_eq): Ditto. | |
6244 | ||
6245 | * cli/cli-cmds.h (is_complete_command): Change parameter to a | |
6246 | ``struct cmd_list_element *''. | |
6247 | * cli/cli-cmds.c (is_complete_command): Update. Use | |
6248 | cmd_cfunc_eq. | |
6249 | * top.c (execute_command): Pass the command to | |
6250 | is_complete_command. | |
6251 | * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq. | |
6252 | ||
b8b8b047 AC |
6253 | 2002-02-23 Andrew Cagney <[email protected]> |
6254 | ||
6255 | From 2002-02-20 Martin Schwidefsky <[email protected]>: | |
6256 | * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed | |
6257 | architecture defines. | |
6258 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
6259 | ||
19d3fc80 RE |
6260 | 2002-02-23 Richard Earnshaw <[email protected]> |
6261 | ||
6262 | * arm-linux-tdep.c (arm_linux_extract_return_value): Make static. | |
6263 | (arm_linux_push_arguments): Likewise. | |
6264 | (arm_linux_init_abi): Register them. Also register linux-specific | |
6265 | call_dummy_words. | |
6266 | (find_minsym_and_objfile): Use strcmp, not STREQ. | |
6267 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete. | |
6268 | (arm_linux_call_dummy_words): Delete declaration. | |
6269 | (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete. | |
6270 | (arm_linux_extract_return_value, arm_linux_push_arguments): Delete | |
6271 | declarations. | |
6272 | (LOWEST_PC): Delete. | |
6273 | ||
3ab13650 PS |
6274 | 2002-02-23 Peter Schauer <[email protected]> |
6275 | ||
6276 | * maint.c (print_section_info): Do not prepend `0x' to filepos | |
6277 | output, it will be handled by local_hex_string_custom. | |
6278 | ||
19d3fc80 | 6279 | 2002-02-23 Richard Earnshaw <[email protected]> |
85ae890c RE |
6280 | |
6281 | * arm-linux-nat.c (store_newfpe_single): Use regcache_collect. | |
6282 | (store_newfpe_double, store_newfpe_extended, store_fpregister) | |
6283 | (store_register, store_regs, fill_gregset, fill_fpregset): Likewise. | |
6284 | ||
d85a5daf JB |
6285 | 2002-02-22 Jim Blandy <[email protected]> |
6286 | ||
6287 | Indicate that the bcache functions don't change the strings | |
6288 | they're passed. | |
6289 | * bcache.h (bcache, hash): Add `const' keywords to declarations. | |
6290 | * bcache.c (bcache, hash): Add `const' keywords to definitions. | |
6291 | ||
eeb25b8a PM |
6292 | 2002-02-22 Pierre Muller <[email protected]> |
6293 | ||
6294 | * win32-nat.c (child_create_inferior): Fix create flags setting bug. | |
6295 | ||
6badb179 CF |
6296 | 2002-02-21 Christopher Faylor <[email protected]> |
6297 | ||
6298 | * win32-nat.c (register_loaded_dll): Just use raw name when we can't | |
6299 | find the complete path to a loaded DLL. | |
6300 | ||
e8717518 FF |
6301 | 2002-02-21 Fred Fish <[email protected]> |
6302 | ||
6303 | * dbxread.c (process_one_symbol): When finding an N_FUN symbol | |
6304 | that marks the end of the range of a function, enter a line number | |
6305 | entry that has a line number of zero and a PC offset that matches | |
6306 | the end of the function. This starts a range of PC's for which no | |
6307 | line number information is known. | |
6308 | * symtab.c (find_pc_sect_line): If our best fit is in a range of | |
6309 | PC's for which no line number info is found (line number is zero) | |
6310 | then we didn't find any valid line information. | |
6311 | * symtab.h: Document use of zero line number entry. | |
6312 | ||
9abe5450 EZ |
6313 | 2002-02-21 Elena Zannoni <[email protected]> |
6314 | ||
6315 | * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define. | |
6316 | (have_ptrace_getvrregs): Define for run time checks. | |
6317 | (gdb_vrregset_t): New type for Altivec register handling. | |
6318 | (fetch_register, store_register): Fetch/store altivec register | |
6319 | when needed. | |
6320 | (fetch_altivec_register, store_altivec_register): New functions. | |
6321 | (supply_vrregset, fill_vrregset): New functions. | |
6322 | (fetch_altivec_registers, store_altivec_registers): New functions. | |
6323 | (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec | |
6324 | registers as well. | |
6325 | ||
aaa38bb5 AJ |
6326 | 2002-02-21 Jiri Smid <[email protected]> |
6327 | ||
6328 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o. | |
6329 | ||
b34db576 RE |
6330 | 2002-02-21 Richard Earnshaw <[email protected]> |
6331 | ||
6332 | * Makefile.in (armnbsd-nat.o): Update dependencies. | |
6333 | * armnbsd-nat.c (supply_gregset): New function. Common code to | |
6334 | supply the integer register set. | |
6335 | (supply_fparegset): New function. Similar for FPA registers. | |
6336 | (fetch_regs, fetch_fp_regs): Use them. | |
6337 | (fetch_core_registers): Likewise. | |
6338 | (fetch_elfcore_registers): New function. | |
6339 | (arm_netbsd_elfcore_fns): New core-file type specification. | |
6340 | (_initialize_arm_netbsd_nat): Register it. | |
6341 | ||
3e56fc4b RE |
6342 | 2002-02-21 Richard Earnshaw <[email protected]> |
6343 | ||
6344 | * armnbsd-nat.c: Include gdbcore.h. | |
6345 | (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined. | |
6346 | (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit | |
6347 | 'void' to declaration, to shut up ARI. | |
6348 | (fetch_core_registers): Make static. Rewrite using supply_register. | |
6349 | (arm_netbsd_core_fns): New core-file type specification. | |
6350 | (_initialize_arm_netbsd_nat): New function. | |
6351 | ||
097f6b0b CF |
6352 | 2002-02-21 Christopher Faylor <[email protected]> |
6353 | ||
6354 | * win32-nat.c (register_loaded_dll): Correctly check for invalid handle | |
6355 | value. | |
6356 | ||
c914e0cc CF |
6357 | 2002-02-20 Christopher Faylor <[email protected]> |
6358 | ||
6359 | * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile | |
6360 | fails. | |
6361 | ||
385fa495 DJ |
6362 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6363 | ||
6364 | * jv-exp.y (parse_number): Change type of implicit longs | |
6365 | to builtin_type_uint64. | |
6366 | ||
e5f1222d DJ |
6367 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6368 | ||
6369 | * gdbserver/linux-low.c (mywait): Change argument to waitpid | |
6370 | to be an integer instead of a `union wait'. | |
6371 | ||
75c9abc6 DJ |
6372 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6373 | ||
6374 | * mips-linux-nat.c: Call the operating system GNU/Linux. | |
6375 | * mips-linux-tdep.c: Likewise. | |
6376 | * mips-tdep.c: Likewise. | |
6377 | ||
551792a5 DJ |
6378 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6379 | ||
6380 | Fix PR gdb/265. | |
6381 | * jv-exp.y (parse_number): Handle 64-bit integers. | |
6382 | ||
ee6e2b82 DJ |
6383 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6384 | ||
6385 | * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change | |
6386 | AC_STDC_HEADERS to AC_HEADER_STDC. | |
6387 | * gdbserver/configure: Regenerated. | |
6388 | ||
a48442a0 RE |
6389 | 2002-02-20 Richard Earnshaw <[email protected]> |
6390 | ||
6391 | * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC | |
6392 | is defined. | |
6393 | * sparc-tdep.c (get_longjmp_target): Likewise. | |
6394 | ||
fe419ffc RE |
6395 | 2002-02-20 Richard Earnshaw <[email protected]> |
6396 | ||
6397 | * News: Add news about ARM and Multi-arch. Mention the new target | |
6398 | arm*-*-netbsd*. | |
6399 | ||
5832ed7e JB |
6400 | 2002-02-19 Jim Blandy <[email protected]> |
6401 | ||
6402 | * stabsread.c (error_type_complaint): Improve error message. | |
6403 | ||
84563040 DJ |
6404 | 2002-02-19 Daniel Jacobowitz <[email protected]> |
6405 | ||
6406 | * gdbserver/README: Update documentation. | |
6407 | * gdbserver/configure.in: Update configury to match documentation. | |
6408 | * gdbserver/Makefile.in: Likewise. | |
6409 | * gdbserver/configure: Regenerated. | |
6410 | * gdbserver/aclocal.m4: New file, generated by aclocal. | |
6411 | * gdbserver/config.in: New file, generated by autoheader. | |
6412 | ||
375fd65b RE |
6413 | 2002-02-19 Richard Earnshaw <[email protected]> |
6414 | ||
6415 | * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and | |
6416 | armnbsd-nat.c. | |
6417 | ||
08216dd7 RE |
6418 | 2002-02-19 Richard Earnshaw <[email protected]> |
6419 | ||
6420 | * arm-tdep.h (enum arm_float_model): New enum. | |
6421 | (struct gdbarch_tdep): Add fp_model. | |
6422 | * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting | |
6423 | up floating-point conversions until we know the floating-point model | |
6424 | in use by the inferior. Don't complain about being unable to | |
6425 | determine the ABI of the inferior when we don't have one. | |
6426 | (arm_extract_return_value): Support different floating-point models. | |
6427 | (arm_store_return_value): Likewise. | |
aaa38bb5 | 6428 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to |
08216dd7 RE |
6429 | ARM_FLOAT_SOFT. |
6430 | (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP. | |
6431 | ||
65d6d66a PS |
6432 | 2002-02-19 Peter Schauer <[email protected]> |
6433 | ||
6434 | * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use | |
6435 | of ``current_gdbarch''. | |
6436 | ||
47221191 RE |
6437 | 2002-02-19 Richard Earnshaw <[email protected]> |
6438 | ||
6439 | * armnbsd-nat.c : ANSIfy all function declarations. | |
6440 | (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New. | |
6441 | (fetch_inferior_registers): Re-implement in terms of above. | |
6442 | (store_register, store_regs, store_fp_register, store_fp_regs): New. | |
6443 | (store_inferior_registers): Re-implement in terms of above. | |
6444 | ||
fdf39c9a RE |
6445 | 2002-02-19 Richard Earnshaw <[email protected]> |
6446 | ||
aaa38bb5 | 6447 | * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the |
fdf39c9a RE |
6448 | kernel. |
6449 | * arm-linux-tdep.c: Likewise. | |
6450 | * config/arm/tm-linux.h: Likewise. | |
6451 | ||
93247f88 RE |
6452 | 2002-02-19 Richard Earnshaw <[email protected]> |
6453 | ||
6454 | * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch. | |
6455 | * config/arm/nbsd.mt (TM_FILE): Delete. | |
6456 | * config/arm/tm-nbsd.h: Delete. | |
6457 | ||
d7b486e7 RE |
6458 | 2002-02-19 Richard Earnshaw <[email protected]> |
6459 | ||
6460 | * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED. | |
6461 | Initialize CALL_DUMMY_LENGTH. | |
6462 | ||
41d39a95 RE |
6463 | 2002-02-19 Richard Earnshaw <[email protected]> |
6464 | ||
6465 | * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New | |
6466 | function. | |
6467 | (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE. | |
aaa38bb5 | 6468 | * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only |
41d39a95 RE |
6469 | defines one thing and that is incorrect for this port. |
6470 | (IN_SOLIB_CALL_TRAMPOLINE): Delete. | |
6471 | ||
e1195560 PM |
6472 | 2002-02-18 Pierre Muller <[email protected]> |
6473 | ||
6474 | * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro. | |
6475 | ||
c1748f97 PM |
6476 | 2002-02-18 Pierre Muller <[email protected]> |
6477 | ||
6478 | * win32-nat.c (display_selector): New function. Displays information | |
6479 | about the information returned by GetThreadSelectorEntry API function. | |
6480 | (display_selectors): New function. Displays the infomation of | |
6481 | the selector given as argument, or of CS, DS ans FS selectors | |
6482 | if no argument is given. | |
6483 | ( _initialize_inftarg): Add "w32" as info prefix command. | |
6484 | Add "info w32 selector" as command calling display_selectors. | |
6485 | ||
e41e6bbf PM |
6486 | 2002-02-19 Pierre Muller <[email protected]> |
6487 | ||
6488 | * i386-tdep.c (get_longjmp_target): Fix compilation failure | |
6489 | by setting dummy values to JB_PC and JB_ELEMENT_SIZE | |
6490 | if not defined. | |
6491 | ||
0d3a9f48 RE |
6492 | 2002-02-18 Richard Earnshaw <[email protected]> |
6493 | ||
6494 | * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o. | |
6495 | ||
3fb4b924 RE |
6496 | 2002-02-18 Richard Earnshaw <[email protected]> |
6497 | ||
6498 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function. | |
6499 | (arm_fix_call_dummy): Call it. | |
6500 | (arm_call_dummy_breakpoint_offset): Delete. | |
6501 | (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset. | |
6502 | * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
6503 | ||
7f55af32 AC |
6504 | 2002-02-18 Andrew Cagney <[email protected]> |
6505 | ||
6506 | * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2. | |
6507 | Default to func_frame_chain_valid. | |
6508 | * gdbarch.h, gdbarch.c: Re-generate. | |
6509 | * frame.h (FRAME_CHAIN_VALID): Delete definition. | |
6510 | ||
05f13b9c EZ |
6511 | 2002-02-18 Elena Zannoni <[email protected]> |
6512 | ||
6513 | * ppc-linux-nat.c: Update copyright. | |
6514 | (fetch_register, store_register): Add tid parameter, don't compute | |
6515 | tid here. | |
6516 | (fetch_ppc_registers, store_ppc_registers): Add tid | |
6517 | parameter. Pass it along to callees. | |
6518 | (fetch_inferior_registers, store_inferior_registers): Compute tid | |
6519 | here, and pass it to calleed functions. | |
6520 | (fill_gregset, supply_fpregset): Clean up formatting. | |
6521 | ||
d7afb4c9 RE |
6522 | 2002-02-18 Richard Earnshaw <[email protected]> |
6523 | ||
6524 | * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double. | |
6525 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete. | |
6526 | ||
9df628e0 RE |
6527 | 2002-02-18 Richard Earnshaw <[email protected]> |
6528 | ||
6529 | * gdbarch.sh (GET_LONGJMP_TARGET): Add rule. | |
6530 | * gdbarch.c gdbarch.h: Regenerate. | |
6531 | * breakpoint.c (create_longjmp_breakpoint): Always compile this | |
6532 | function. | |
6533 | (breakpoint_reset): Test GET_LONGJMP_TARGET_P(). | |
6534 | * infrun.c (GET_LONGJMP_TARGET): Delete default definition. | |
6535 | (handle_inferior_event): Test GET_LONGJMP_TARGET_P(). | |
6536 | ||
6537 | * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields. | |
6538 | * arm-tdep.c (arm_get_longjmp_target): New function. | |
6539 | (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes | |
6540 | this to a positive value register arm_get_longjmp_target as the | |
6541 | longjmp handler. | |
6542 | * arm-linux-tdep.c (arm_get_longjmp_target): Delete. | |
6543 | (arm_linux_init_abi): Set up longjmp description in tdep. | |
6544 | * armnbsd-nat.c (get_longjmp_target): Delete. | |
6545 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp | |
6546 | description in tdep. | |
6547 | * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete. | |
6548 | (get_longjmp_target): Delete declaration. | |
6549 | (GET_LONGJMP_TARGET): Delete. | |
6550 | * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration. | |
6551 | (GET_LONGJMP_TARGET): Delete. | |
6552 | ||
57bc8964 KB |
6553 | 2002-02-17 Kevin Buettner <[email protected]> |
6554 | ||
6555 | From Peter Schauer <[email protected]>: | |
6556 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use | |
6557 | of ``current_gdbarch''. | |
6558 | ||
83d31a92 TT |
6559 | 2002-02-17 Tom Tromey <[email protected]> |
6560 | ||
6561 | * cli/cli-cmds.c (compare_strings): New function. | |
6562 | (complete_command): Only print each unique item once. | |
6563 | * completer.h (complete_line): Declare. | |
6564 | * completer.c (complete_line): New function. | |
6565 | (line_completion_function): Use it. | |
6566 | ||
17ef5d92 AC |
6567 | 2002-02-16 Andrew Cagney <[email protected]> |
6568 | ||
6569 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64. | |
6570 | * gdbarch.h, gdbarch.c: Re-generate. | |
6571 | ||
491b8946 DJ |
6572 | 2002-02-16 Daniel Jacobowitz <[email protected]> |
6573 | ||
6574 | * valarith.c (value_x_unop): Fix decrement; support post-decrement. | |
6575 | ||
6576 | 2002-02-16 Daniel Jacobowitz <[email protected]> | |
6577 | ||
6578 | From Peter Schauer <[email protected]>: | |
6579 | * valops.c (value_arg_coerce): Don't take the address of a reference | |
6580 | to convert an argument to a reference. | |
6581 | ||
dfe7f3ac CF |
6582 | 2002-02-15 Christopher Faylor <[email protected]> |
6583 | ||
6584 | * win32-nat.c (get_image_name): New function. | |
6585 | (handle_load_dll): Use get_image_name function. | |
6586 | (get_child_debug_event): Avoid registering debug events until possibly | |
6587 | execed process is started. | |
6588 | (child_create_inferior): Allow invocation via shell so that command | |
6589 | line redirection, etc. works ok. | |
6590 | (_initialize_inftarg): Add new command: "set shell" to control whether | |
6591 | a shell is used to start a process. | |
6592 | ||
1d33e73a DJ |
6593 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
6594 | ||
6595 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno | |
6596 | instead of find_register_by_number. | |
6597 | (cannot_store_register): Likewise. | |
6598 | ||
48cd0caa PM |
6599 | 2002-02-14 Pierre Muller <[email protected]> |
6600 | ||
aaa38bb5 | 6601 | * dwarf2read.c: Replace fprintf (stderr, ...) by |
48cd0caa PM |
6602 | fprintf_unfiltered (gdb_stderr, ...). |
6603 | ||
8656e7d8 DJ |
6604 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
6605 | ||
6606 | * gdbserver/gdbserver.1: Document --attach. | |
6607 | ||
66e810cd RE |
6608 | 2002-02-15 Richard Earnshaw <[email protected]> |
6609 | ||
6610 | * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint | |
6611 | descriptions. | |
6612 | * arm-tdep.c (arm_default_arm_le_breakpoint) | |
6613 | (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) | |
6614 | (arm_default_thumb_be_breakpoint): New. Initialize them from | |
6615 | traditional breakpoint defines. | |
6616 | (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. | |
6617 | (arm_gdbarch_init): Initialize new breakpoint variables. | |
6618 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. | |
6619 | (arm_linux_init_abi): Initialize linux-specific breakpoint. | |
6620 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. | |
6621 | (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common | |
6622 | code out to ... | |
6623 | (arm_netbsd_init_abi_common): ... here; new function. | |
6624 | * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) | |
6625 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. | |
6626 | * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. | |
6627 | * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete. | |
6628 | ||
97e03143 RE |
6629 | 2002-02-15 Richard Earnshaw <[email protected]> |
6630 | ||
6631 | * arm-tdep.h (enum arm_abi): New enum. | |
6632 | (struct gdbarch_tdep): New structure. | |
6633 | (LOWEST_PC): Provide a default. | |
6634 | (arm_gdbarch_register_os_abi): Declare new function. | |
6635 | * arm-tdep.c (arm_abi_names): New array. | |
6636 | (process_note_abi_tag_sections): New function. | |
6637 | (get_elfosabi): New function. | |
6638 | (arm_gdbarch_register_os_abi): New function. | |
6639 | (arm_gdbarch_init): Try to determine the ABI of the inferior. If | |
6640 | support for that ABI has been built in, then call the appropriate | |
6641 | configuration routine. Use gdbarch_num_regs() to get the number | |
6642 | of registers. | |
6643 | (arm_dump_tdep): New function. | |
6644 | (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New | |
6645 | place-holder functions. | |
6646 | (_initialize_arm_tdep): Register them. | |
6647 | * config/arm/tm-arm.h (LOWEST_PC): Delete. | |
6648 | ||
6649 | * armnbsd-tdep.c: New file. | |
6650 | * Makefile.in (armnbsd-tdep.o): Add dependencies. | |
6651 | * config/arm/nbsd.mt (TDEPFILES): Add it. | |
6652 | * config/arm/tm-nbsd.h (LOWEST_PC): Delete. | |
6653 | ||
6654 | * armnbsd-nat.c: Include regcache.h. | |
6655 | * Makefile.in (armnbsd-nat.o): Update dependency list. | |
6656 | ||
6657 | * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message. | |
6658 | ||
ad68be46 DJ |
6659 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
6660 | ||
6661 | * gdbserver/Makefile.in: Fix typos in target rules. | |
6662 | ||
003d6d1d DJ |
6663 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
6664 | ||
aaa38bb5 | 6665 | Fix part of PR gdb/267. |
003d6d1d DJ |
6666 | * linespec.c (find_methods): Handle constructors specially for now. |
6667 | ||
6b230f1b CV |
6668 | 2002-02-14 Corinna Vinschen <[email protected]> |
6669 | ||
6670 | * arm-tdep.c (arm_push_arguments): Eliminate special float type | |
6671 | handling. | |
6672 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call | |
6673 | standard_coerce_float_to_double(). | |
6674 | ||
1ea98d12 CF |
6675 | 2002-02-14 Christopher Faylor <[email protected]> |
6676 | ||
6677 | * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of | |
6678 | GDBINIT_FILENAME. | |
6679 | ||
dd47e6fd EZ |
6680 | 2002-02-14 Elena Zannoni <[email protected]> |
6681 | ||
6682 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't call | |
6683 | find_variant_by_name, because it confuses the multiarch | |
6684 | framework. Return NULL if there isn't an architecture with the | |
6685 | user supplied name, instead of forcing a different one without | |
6686 | recording the change with the multiarch machinery. | |
6687 | (find_variant_by_name): Delete. | |
6688 | ||
d7e39b9e PS |
6689 | 2002-02-14 Peter Schauer <[email protected]> |
6690 | ||
6691 | * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by | |
6692 | i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore. | |
6693 | ||
76e42a4f MH |
6694 | 2002-02-13 Martin M. Hunt <[email protected]> |
6695 | ||
aaa38bb5 | 6696 | * stack.c (print_frame_info_base): When calling |
76e42a4f MH |
6697 | print_frame_info_listing_hook, set current_source_symtab. |
6698 | ||
0a30fbc4 DJ |
6699 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
6700 | ||
6701 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, | |
6702 | and remove unused $(INCLUDE_DIR). | |
6703 | Add regcache.c to OBS. | |
6704 | Add generated register protocol files to clean target. | |
6705 | Update dependencies for new objects, obsolete old target code. | |
6706 | ||
6707 | * gdbserver/linux-low.c: Remove all platform-specific code to | |
6708 | new files. Remove various dead code. Update to use regcache | |
6709 | functionality. | |
6710 | * gdbserver/remote-utils.c (fromhex): Add return statement | |
6711 | to quiet warning. | |
6712 | (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer | |
6713 | constant. | |
6714 | (input_interrupt): Add integer parameter to match prototype | |
6715 | of a signal handler. | |
6716 | (outreg): Use register_data (). | |
6717 | (prepare_resume_reply): Use gdbserver_expedite_regs. | |
6718 | * gdbserver/server.c (main): Dynamically allocate own_buf because | |
6719 | PBUFSIZ is no longer constant. Use registers_to_string () and | |
6720 | registers_from_string (). | |
6721 | * gdbserver/server.h: No longer include "defs.h". Add prototypes | |
6722 | for error (), fatal (), and warning (). Update definition of | |
6723 | PBUFSIZ to use regcache functionality. Add include guard. | |
6724 | * gdbserver/utils.c (fatal): Add missing ``const''. | |
6725 | (warning): New function. | |
6726 | ||
6727 | * regformats/regdat.sh: Include "regcache.h" in generated files. | |
6728 | Provide init_registers () function. | |
6729 | * regformats/regdef.h: Add prototype for set_register_cache (). | |
6730 | Add include guard. | |
6731 | ||
6732 | * gdbserver/linux-arm-low.c: New file. | |
6733 | * gdbserver/linux-i386-low.c: New file. | |
6734 | * gdbserver/linux-ia64-low.c: New file. | |
6735 | * gdbserver/linux-m68k-low.c: New file. | |
6736 | * gdbserver/linux-mips-low.c: New file. | |
6737 | * gdbserver/linux-ppc-low.c: New file. | |
6738 | * gdbserver/linux-sh-low.c: New file. | |
6739 | ||
6740 | * gdbserver/regcache.c: New file. | |
6741 | * gdbserver/regcache.h: New file. | |
6742 | ||
6743 | * gdbserver/low-linux.c: Removed obsolete file. | |
6744 | ||
4cc841d0 DJ |
6745 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
6746 | ||
6747 | * config/arm/linux.mt: Update GDBSERVER_DEPFILES. | |
6748 | * config/i386/linux.mt: Likewise. | |
6749 | * config/ia64/linux.mt: Likewise. | |
6750 | * config/m68k/linux.mh: Likewise. | |
6751 | * config/powerpc/linux.mh: Likewise. | |
6752 | * config/mips/linux.mt: Likewise. | |
6753 | ||
6754 | * config/sh/linux.mt: Add GDBSERVER_DEPFILES. | |
6755 | ||
6756 | * config/i386/i386lynx.mh: Mark gdbserver variables | |
6757 | as (currently) obsolete for this target. | |
6758 | * config/i386/nbsd.mt: Likewise. | |
6759 | * config/i386/nbsdelf.mt: Likewise. | |
6760 | * config/m32r/m32r.mt: Likewise. | |
6761 | * config/m68k/m68klynx.mh: Likewise. | |
6762 | * config/m68k/nbsd.mt: Likewise. | |
6763 | * config/m68k/sun3os4.mh: Likewise. | |
6764 | * config/mips/vr5000.mt: Likewise. | |
6765 | * config/ns32k/nbsd.mt: Likewise. | |
6766 | * config/pa/hppabsd.mh: Likewise. | |
6767 | * config/pa/hppaosf.mh: Likewise. | |
6768 | * config/powerpc/nbsd.mt: Likewise. | |
6769 | * config/rs6000/rs6000lynx.mh: Likewise. | |
6770 | * config/s390/s390.mt: Likewise. | |
6771 | * config/s390/s390x.mt: Likewise. | |
6772 | * config/sparc/sparclynx.mh: Likewise. | |
6773 | * config/sparc/sun4os4.mh: Likewise. | |
6774 | * config/i386/x86-64linux.mt: Likewise. | |
6775 | * config/sparc/linux.mh: Likewise. | |
6776 | ||
a85f51e7 DJ |
6777 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
6778 | ||
6779 | * configure.tgt: Configure gdbserver only for known working | |
6780 | targets. Set ${build_gdbserver} instead of modifying ${configdirs}. | |
6781 | * configure.in: Check ${build_gdbserver}. Put gdbserver/ into | |
6782 | SUBDIRS if it is configured. Update comment for ${nativefile}. | |
6783 | * configure: Regenerated. | |
6784 | ||
65554fef MS |
6785 | 2002-02-13 Michael Snyder <[email protected]> |
6786 | ||
670a52db MS |
6787 | * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES. |
6788 | ||
6dbdc4a3 MS |
6789 | * gcore.c (gcore_command): Use gcore_default_target instead of NULL. |
6790 | (default_gcore_mach): Just return 0, work around a problem in bfd. | |
6791 | (default_gcore_target): OK to return NULL if exec_bfd is null. | |
6792 | (make_mem_sec): Use a cast, avoid a warning. | |
6793 | ||
6794 | * procfs.c (find_memory_regions_callback): Use a cast instead of | |
aaa38bb5 | 6795 | calling host_pointer_to_address (which complains if |
6dbdc4a3 MS |
6796 | sizeof (host pointer) != sizeof (target pointer)). |
6797 | (procfs_make_note_section): Avoid overflow in psargs string. | |
6798 | ||
aaa38bb5 | 6799 | * procfs.c (procfs_make_note_section): Make the default |
65554fef MS |
6800 | implementation return an error. |
6801 | ||
6802 | 2002-02-13 Rodney Brown <[email protected]> | |
6803 | ||
6804 | * procfs.c (procfs_make_note_section): Provide a default definition | |
6805 | (for alpha-dec-osf4.0f). Fix typos. | |
6806 | ||
1e4d76e7 EZ |
6807 | 2002-02-13 Elena Zannoni <[email protected]> |
6808 | ||
6809 | * linux-proc.c: Add include of regcache.h. | |
6810 | * Makefile.in (linux-proc.o): Add dependency on regcache.h. | |
6811 | ||
b6d1a1d5 AC |
6812 | 2002-02-13 Andrew Cagney <[email protected]> |
6813 | ||
6814 | From 2002-01-18 Greg McGary <[email protected]>: | |
aaa38bb5 AJ |
6815 | * memattr.c (create_mem_region): Disallow useless empty region. |
6816 | Regions are half-open intervals, so allow [A..B) [B..C) as | |
65554fef | 6817 | non-overlapping. |
b6d1a1d5 | 6818 | |
6c6ea35e MC |
6819 | 2002-02-13 Michael Chastain <[email protected]> |
6820 | ||
6821 | * defs.h: Kill CONST_PTR. | |
6822 | * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". | |
6823 | * c-lang.c (c_builtin_types): Likewise. | |
6824 | * ch-lang.c (ch_builtin_types): Likewise. | |
6825 | * f-lang.c (f_builtin_types): Likewise. | |
6826 | * language.c (unknown_builtin_types): Likewise. | |
6827 | * m2-lang.c (m2_builtin_types): Likewise. | |
6828 | * p-lang.c (pascal_builtin_types): Likewise. | |
6829 | * scm-lang.c (c_builtin_types): Likewise. | |
6830 | ||
3e0b0f48 KS |
6831 | 2002-02-13 Keith Seitz <[email protected]> |
6832 | ||
6833 | * arm-tdep.h (arm_get_next_pc): Add declaration. | |
6834 | ||
67255d04 RE |
6835 | 2002-02-13 Richard Earnshaw <[email protected]> |
6836 | ||
6837 | * arm-tdep.c (arm_use_struct_convention): Make static. Move to be | |
6838 | with other related struct-returning functions. | |
6839 | (arm_extract_struct_value_address): New function. | |
6840 | (arm_gdbarch_init): Initialize the above in multi-arch vector. Also | |
6841 | initialize float_format, double_format and long_double_format as | |
6842 | appropriate to the endianness of the target. | |
6843 | * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. | |
6844 | (arm_use_struct_convention): Delete declaration. | |
6845 | (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete. | |
6846 | ||
079777f6 KS |
6847 | 2002-02-13 Keith Seitz <[email protected]> |
6848 | ||
6849 | * defs.h (core_addr_to_string_nz): New function. | |
6850 | ||
34588f23 MK |
6851 | 2002-02-13 Mark Kettenis <[email protected]> |
6852 | ||
6853 | Apply missing bits of 2002-01-15 patch. | |
6854 | * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave. | |
6855 | (fill_fpregset): Use i387_fill_fsave. | |
6856 | ||
49b563f9 KS |
6857 | 2002-02-12 Keith Seitz <[email protected]> |
6858 | ||
49b563f9 KS |
6859 | * utils.c (core_addr_to_string): Use phex instead of phex_nz. |
6860 | (core_addr_to_string_nz): New function. | |
6861 | ||
aeb98c60 RE |
6862 | 2002-02-11 Richard Earnshaw <[email protected]> |
6863 | ||
6864 | * arm-linux-nat.c: Really include arm-tdep.h. | |
6865 | * config/arm/tm-linux.h (struct type, struct value): Declare. | |
6866 | ||
65554fef MS |
6867 | 2002-02-11 Michael Snyder <[email protected]> |
6868 | ||
6869 | * procfs.c: Include elf-bfd.h (for elfcore_write functions). | |
6870 | (gcore section): Ifdef for Solaris and Unixware only. | |
6871 | (procfs_do_thread_registers): Unixware needs one lwpstatus | |
6872 | per thread (not one prstatus or pstatus). | |
6873 | (procfs_make_note_section): Iterate only over kernel threads (lwps), | |
6874 | not over all gdb threads. For unixware, call elfcore_write_pstatus | |
6875 | once before iterating over threads. | |
6876 | ||
34e8f22d RE |
6877 | 2002-02-11 Richard Earnshaw <[email protected]> |
6878 | ||
6879 | * arm-tdep.h: New file. | |
6880 | * arm-tdep.c: Include arm-tdep.h. | |
6881 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
6882 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
6883 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
6884 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
6885 | (arm_extract_return_value, arm_register_name): Make static. | |
6886 | (arm_software_single_step): Similarly. Fix types in declaration. | |
6887 | (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) | |
6888 | (arm_store_return_value, arm_store_struct_return): New functions. | |
6889 | (arm_gdbarch_init): Register the above functions. Also register | |
6890 | call_dummy_start_offset, sizeof_call_dummy_words, | |
6891 | function_start_offset, inner_than, decr_pc_after_break, fp_regnum, | |
6892 | sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, | |
aaa38bb5 | 6893 | max_register_virtual_size, register_size. Set up |
34e8f22d RE |
6894 | prologue_cache.saved_regs here, rather than ... |
6895 | (_initialize_arm_tdep): ... here. | |
6896 | * config/arm/tm-arm.h (struct type, struct value): Delete forward | |
6897 | declarations. | |
6898 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
6899 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
6900 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
6901 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
6902 | (arm_extract_return_value, arm_register_name): Delete declarations. | |
6903 | (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) | |
6904 | (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) | |
6905 | (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) | |
6906 | (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) | |
6907 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
6908 | (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) | |
6909 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) | |
6910 | (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) | |
6911 | (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) | |
6912 | (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. | |
6913 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) | |
6914 | (arm_get_next_pc): No-longer static -- these are needed by the RDI | |
6915 | interface. | |
6916 | * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. | |
6917 | * remote-rdi.c remote-rdp.c: Likewise. | |
6918 | * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) | |
6919 | (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. | |
6920 | * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus | |
6921 | definition. | |
6922 | ||
6923 | * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) | |
6924 | (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) | |
6925 | (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed | |
6926 | from non-ARM_ prefixed definitions. | |
6927 | * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update | |
6928 | all uses of above. | |
6929 | * remote-rdi.c remote-rdp.c: Likewise. | |
6930 | * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM. | |
6931 | ||
148754e5 RE |
6932 | 2002-02-11 Richard Earnshaw <[email protected]> |
6933 | ||
6934 | * arm-tdep.c (arm_frameless_function_invocation) | |
6935 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
6936 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
6937 | (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
6938 | (arm_pop_frame, arm_get_next_pc): Make static. | |
6939 | (arm_gdbarch_init): Register above in gdbarch structure. | |
6940 | (arm_read_fp): Renamed from arm_target_read_fp. | |
6941 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. | |
6942 | * config/arm/tm-arm.h (arm_frameless_function_invocation) | |
6943 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
6944 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
6945 | (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
6946 | (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) | |
6947 | (arm_pc_is_thumb_dummy): Delete declarations. | |
fcfb8836 RE |
6948 | (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN) |
6949 | (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS) | |
6950 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP) | |
6951 | (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete. | |
148754e5 | 6952 | |
434d2d4f DJ |
6953 | 2002-02-10 Daniel Jacobowitz <[email protected]> |
6954 | ||
6955 | * symtab.c (compare_search_syms): New function. | |
6956 | (sort_search_symbols): New function. | |
6957 | (search_symbols): Sort symbols after searching rather than | |
6958 | before. | |
6959 | ||
55241689 AC |
6960 | 2002-02-10 Andrew Cagney <[email protected]> |
6961 | ||
6962 | * NEWS: Linux -> GNU/Linux. | |
6963 | ||
028c194b AC |
6964 | 2002-02-10 Andrew Cagney <[email protected]> |
6965 | ||
6966 | * gdbarch.sh: For for level one methods, disallow a definition | |
6967 | when partially multi-arched. Add comments explaining rationale. | |
6968 | * gdbarch.h: Re-generate. | |
6969 | ||
6acf50cd AC |
6970 | 2002-02-10 Andrew Cagney <[email protected]> |
6971 | ||
6972 | * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when | |
6973 | multi-arch partial. | |
aaa38bb5 | 6974 | |
50248794 AC |
6975 | 2002-02-10 Andrew Cagney <[email protected]> |
6976 | ||
6977 | * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad | |
6978 | field. Use diff -u. | |
6979 | * gdbarch.c: Re-generate. | |
6980 | ||
c30e0066 AC |
6981 | 2002-02-10 Andrew Cagney <[email protected]> |
6982 | ||
9b56c5f3 | 6983 | * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete. |
c30e0066 AC |
6984 | * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch |
6985 | partial. | |
6986 | ||
6e6d6484 AC |
6987 | 2002-02-10 Andrew Cagney <[email protected]> |
6988 | ||
6989 | * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when | |
6990 | multi-arch partial. | |
6991 | (PUSH_ARGUMENTS): Switch to using predefault. | |
6992 | * gdbarch.c: Regenerate. | |
6993 | ||
c203844d AC |
6994 | 2002-02-10 Andrew Cagney <[email protected]> |
6995 | ||
6996 | * valops.c (PUSH_ARGUMENTS): Delete definition. | |
6997 | * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch | |
6998 | partial. Default to default_push_arguments. | |
6999 | * gdbarch.h, gdbarch.c: Regenerate. | |
7000 | ||
b5a2688f AC |
7001 | 2002-02-09 Andrew Cagney <[email protected]> |
7002 | ||
7003 | * defs.h (throw_exception): Rename return_to_top_level. Update | |
7004 | comments. | |
7005 | * utils.c (error_stream, internal_verror, quit): Ditto. | |
7006 | * top.c (throw_exception, catcher): Ditto. | |
7007 | * sparclet-rom.c (sparclet_load): Ditto. | |
7008 | * remote.c (interrupt_query, minitelnet): Ditto. | |
7009 | * remote-sds.c (interrupt_query): Ditto. | |
7010 | * remote-mips.c (mips_error, mips_kill): Ditto. | |
7011 | * ocd.c (interrupt_query): Ditto. | |
7012 | * monitor.c (monitor_interrupt_query): Ditto. | |
7013 | * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. | |
7014 | * target.h: Update comment. | |
aaa38bb5 | 7015 | |
b5a2688f | 7016 | * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright. |
aaa38bb5 | 7017 | |
2fa5c1e0 AC |
7018 | 2002-02-09 Andrew Cagney <[email protected]> |
7019 | ||
7020 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to | |
7021 | default_double_format. | |
7022 | * gdbarch.h, gdbarch.c: Re-generate. | |
7023 | * findvar.c (floatformat_unknown): Delete variable definition. | |
7024 | * doublest.h (floatformat_unknown): Delete variable declaration. | |
7025 | ||
da966255 JB |
7026 | 2002-02-09 Jim Blandy <[email protected]> |
7027 | ||
7028 | * stabsread.c (read_type): Add code to parse Sun's syntax for | |
7029 | prototyped function types. | |
7030 | ||
123a4891 AC |
7031 | 2002-02-09 Andrew Cagney <[email protected]> |
7032 | ||
7033 | * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS. | |
7034 | (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS. | |
7035 | ||
fb39c8f3 PS |
7036 | 2002-02-09 Peter Schauer <[email protected]> |
7037 | ||
7038 | * xcoffsolib.c (_initialize_xcoffsolib): Renamed from | |
7039 | _initialize_solib. Fixes name clash with solib.c:_initialize_solib, | |
7040 | now _initialize_xcoffsolib gets called again and overrides the | |
7041 | commands from solib.c in a native configuration. | |
7042 | ||
0b87a11d MK |
7043 | 2002-02-09 Mark Kettenis <[email protected]> |
7044 | ||
7045 | * doublest.c (store_typed_floating): Don't try to return a value. | |
7046 | Fixes PR gdb/290. | |
7047 | ||
bdc2fc72 JB |
7048 | 2002-02-08 Jim Blandy <[email protected]> |
7049 | ||
7050 | * c-typeprint.c (c_type_print_varspec_suffix): If a function type | |
7051 | is prototyped and has no arguments, print its argument list as | |
7052 | `(void)'. | |
7053 | ||
da69bbcf CD |
7054 | 2002-02-08 Chris Demetriou <[email protected]> |
7055 | ||
7056 | * MAINTAINERS (write-after-approval): Add myself. | |
7057 | (paper-trail): I've escaped! | |
aaa38bb5 | 7058 | |
b69571f5 CF |
7059 | 2002-02-08 Christopher Faylor <[email protected]> |
7060 | ||
7061 | * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf | |
7062 | changes. | |
7063 | (_initialize_check_for_gdb_ini): Ditto. | |
7064 | ||
f6871398 MH |
7065 | 2002-02-08 Martin M. Hunt <[email protected]> |
7066 | ||
7067 | * win32-nat.c (cygwin_pid_to_str): Fix typo. | |
7068 | xaprintf -> xasprintf. | |
7069 | ||
4e52d31c PM |
7070 | 2002-02-08 Pierre Muller <[email protected]> |
7071 | ||
7072 | * win32-nat.c: Remove use of printf and sprintf functions. | |
7073 | ||
39bbf761 RE |
7074 | 2002-02-08 Richard Earnshaw <[email protected]> |
7075 | ||
7076 | * arm-tdep.c (arm_frame_chain_valid): Make static. | |
7077 | (arm_push_arguments): Likewise. | |
7078 | (arm_gdbarch_init): New function. | |
7079 | (_initialize_arm_tdep): Call it. | |
7080 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. | |
7081 | (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. | |
7082 | (FRAME_CHAIN_VALID): Delete. | |
7083 | (arm_frame_chain_valid): Delete declaration. | |
7084 | (PUSH_ARGUMENTS): Delete. | |
7085 | (arm_push_arguments): Delete declaration. | |
7086 | (CALL_DUMMY_P): Delete. | |
7087 | ||
9c9532c9 CV |
7088 | 2002-02-08 Andrew Cagney <[email protected]> |
7089 | Corinna Vinschen <[email protected]> | |
7090 | ||
7091 | * gdbtypes.c (build_gdbtypes): Disable setting a specific float format | |
7092 | on builtin float types. | |
7093 | ||
4e8f7a8b DJ |
7094 | 2002-02-08 Daniel Jacobowitz <[email protected]> |
7095 | ||
7096 | * utils.c: Include <curses.h> before "bfd.h". | |
7097 | * tui/tui-hooks.c: Likewise. | |
7098 | * tui/tui.c: Likewise. | |
7099 | * tui/tuiCommand.c: Likewise. | |
7100 | * tui/tuiData.c: Likewise. | |
7101 | * tui/tuiDataWin.c: Likewise. | |
7102 | * tui/tuiDisassem.c: Likewise. | |
7103 | * tui/tuiGeneralWin.c: Likewise. | |
7104 | * tui/tuiIO.c: Likewise. | |
7105 | * tui/tuiLayout.c: Likewise. | |
7106 | * tui/tuiRegs.c: Likewise. | |
7107 | * tui/tuiSource.c: Likewise. | |
7108 | * tui/tuiSourceWin.c: Likewise. | |
7109 | * tui/tuiStack.c: Likewise. | |
7110 | * tui/tuiWin.c: Likewise. | |
7111 | ||
cd4bffcf EZ |
7112 | 2002-02-07 Elena Zannoni <[email protected]> |
7113 | ||
7114 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array | |
7115 | to include space for pseudoregs as well. Update loops accordingly. | |
7116 | (sh_fp_frame_init_saved_regs): Ditto. | |
7117 | (sh_init_extra_frame_info, sh_pop_frame): Split long lines. | |
7118 | ||
26806ce2 AC |
7119 | 2002-02-07 Andrew Cagney <[email protected]> |
7120 | ||
7121 | * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer. | |
7122 | Add Richard Earnshaw to Arm maintainers. | |
7123 | ||
97fdab62 AC |
7124 | 2002-02-07 Andrew Cagney <[email protected]> |
7125 | ||
a6b98203 AC |
7126 | * defs.h (warning_begin): Delete declaration. |
7127 | ||
97fdab62 AC |
7128 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): |
7129 | Delete macro. | |
7130 | ||
78b29b40 MS |
7131 | 2002-02-07 Michael Snyder <[email protected]> |
7132 | ||
aaa38bb5 | 7133 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
78b29b40 MS |
7134 | Logic bug, remove misplaced else. |
7135 | ||
d8849953 KD |
7136 | 2002-02-07 Klee Dienes <[email protected]> |
7137 | ||
7138 | * fork-inferior.c (fork_inferior): Add '!' to the list of | |
7139 | characters that need to be quoted when building a string for the | |
7140 | shell. Quote '!' specifically with a backslash, since CSH chokes | |
7141 | when trying to evaluate "str!str". | |
aaa38bb5 | 7142 | |
095778a0 NC |
7143 | 2002-02-06 Nick Clifton <[email protected]> |
7144 | ||
7145 | * rdi-share/host.h: Only provide a typedef for bool if it is not | |
7146 | defined. | |
7147 | ||
1900040c MS |
7148 | 2002-02-04 Michael Snyder <[email protected]> |
7149 | ||
7150 | * breakpoint.h (enum bptype): Add new overlay event bp type. | |
7151 | (enable_overlay_breakpoints, disable_overlay_breakpoints): Export. | |
aaa38bb5 | 7152 | |
1900040c MS |
7153 | * breakpoint.c (create_internal_breakpoint): New function. |
7154 | (internal_breakpoint_number): Moved into create_internal_breakpoint. | |
7155 | (create_longjmp_breakpoint): Use create_internal_breakpoint. | |
7156 | (create_thread_event_breakpoint): Ditto. | |
7157 | (create_solib_event_breakpoint): Ditto. | |
7158 | (create_overlay_event_breakpoint): New function. | |
7159 | (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs. | |
7160 | (update_breakpoints_after_exec): Delete and re-initialize | |
7161 | overlay event breakpoints after an exec. Add FIXME comment | |
7162 | about longjmp breakpoint. | |
7163 | (print_it_typical): Ignore overlay event breakpoints. | |
7164 | (print_one_breakpoint): Ditto. | |
7165 | (mention): Ditto. | |
7166 | (bpstat_what): Do not stop for overlay event breakpoints. | |
7167 | (delete_breakpoint): Don't delete overlay event breakpoints. | |
7168 | (breakpoint_re_set_one): Delete the overlay event breakpoint. | |
7169 | (breakpoint_re_set): Re-create overlay event breakpoint. | |
7170 | ||
7171 | * symfile.c (overlay_auto_command): Enable overlay breakpoints. | |
7172 | (overlay_manual_command): Disable overlay breakpoints. | |
7173 | (overlay_off_command): Disable overlay breakpoints. | |
7174 | ||
082fc60d RE |
7175 | 2002-02-06 Richard Earnshaw <[email protected]> |
7176 | ||
7177 | * arm-tdep.c: Include elf-bfd.h and coff/internal.h. | |
7178 | (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines | |
7179 | to here from config/tm-arm.h. | |
7180 | (coff_sym_is_thumb): Make static. | |
7181 | (arm_elf_make_msymbol_special): New function. | |
7182 | (arm_coff_make_msymbol_special): New function. | |
7183 | * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. | |
7184 | (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. | |
7185 | (coff_sym_is_thumb): Delete declaration. | |
7186 | (arm_elf_make_msymbol_special): Declare. | |
7187 | (arm_coff_make_msymbol_special): Declare. | |
7188 | (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. | |
7189 | (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special. | |
7190 | ||
039c5766 RE |
7191 | 2002-02-06 Richard Earnshaw <[email protected]> |
7192 | ||
7193 | * arm-tdep.c (arm_software_single_step): ANSIfy function declaration. | |
7194 | ||
7195 | 2002-02-06 Richard Earnshaw <[email protected]> | |
7196 | ||
7197 | * gdbarch.sh (PRINT_FLOAT_INFO): Add rule. | |
7198 | * gdbarch.c gdbarch.h: Regenerate. | |
7199 | * arch-utils.c (default_print_float_info): New function. | |
7200 | * arch-utils.h (default_print_float_info): Prototype it. | |
7201 | * infcmd.c (float_info): Call PRINT_FLOAT_INFO. | |
7202 | * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. | |
7203 | (PRINT_FLOAT_INFO): Document it. | |
7204 | ||
7205 | * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. | |
7206 | * config/arm/tm-arm.h (FLOAT_INFO): Delete. | |
7207 | (PRINT_FLOAT_INFO): Define. | |
7208 | ||
58fa08f0 PM |
7209 | 2002-02-06 Pierre Muller <[email protected]> |
7210 | ||
aaa38bb5 | 7211 | * win32-nat.c (_initialize_check_for_gdb_ini): |
58fa08f0 PM |
7212 | Add typecast to sprintf argument to suppress a warning. |
7213 | ||
7393af7c PM |
7214 | 2002-02-05 Pierre Muller <[email protected]> |
7215 | ||
58fa08f0 | 7216 | * win32-nat.c (last_sig): Changed type of variable to target_signal, |
7393af7c PM |
7217 | to allow easier handling of pass state. |
7218 | (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception, | |
7219 | that gives exception name and address. | |
7220 | (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro | |
aaa38bb5 | 7221 | and set last_sig value to ourstatus->value.sig. Some missing |
7393af7c | 7222 | exceptions added. |
aaa38bb5 AJ |
7223 | (child_continue): Correctly report continue_status. |
7224 | (get_child_debug_event,do_initial_child_stuff): Set last_sig to | |
7393af7c | 7225 | TARGET_SIGNAL_0 (new default value). |
aaa38bb5 | 7226 | (child_resume): consider sig argument passed to decide if |
7393af7c PM |
7227 | the exception should be passed to debuggee or not. |
7228 | ||
6af4589c MS |
7229 | 2002-02-05 Michael Snyder <[email protected]> |
7230 | ||
7231 | * regcache.c (fetch_register): Call target_fetch_register | |
7232 | only if we don't call FETCH_PSEUDO_REGISTER. | |
7233 | (store_register): Call target_store_register only if we | |
7234 | don't call STORE_PSEUDO_REGISTER. | |
7235 | ||
a2cf933a EZ |
7236 | 2002-02-05 Elena Zannoni <[email protected]> |
7237 | ||
7238 | * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and | |
7239 | ELF_MAKE_MSYMBOL_SPECIAL. | |
7240 | * gdbarch.c, gdbarch.h: Regenerate. | |
7241 | * arch-utils.c (default_make_msymbol_special): New function. | |
aaa38bb5 | 7242 | * arch-utils.h (default_make_msymbol_special): Export. |
a2cf933a EZ |
7243 | * elfread.c (elf_symtab_read): Compile use of |
7244 | ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now | |
7245 | multiarched. | |
7246 | * coffread.c (coff_symtab_read): Ditto, for | |
7247 | COFF_MAKE_MSYMBOL_SPECIAL. | |
7248 | ||
6bb7be43 JB |
7249 | 2002-02-05 Jim Blandy <[email protected]> |
7250 | ||
7251 | * solib-svr4.c (svr4_truncate_ptr): New function. | |
7252 | (svr4_relocate_section_addresses): Do the address arithmetic with | |
7253 | the appropriate truncation for target addresses, even when | |
7254 | CORE_ADDR is larger than a target address. | |
7255 | ||
e18651ec DJ |
7256 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7257 | ||
7258 | * gdbserver/linux-low.c (mywait): Cast second argument of waitpid | |
7259 | to (int *). | |
7260 | ||
6b2725be DJ |
7261 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7262 | ||
7263 | * gdbserver/linux-low.c (kill_inferior): Remove commented out | |
7264 | code. | |
7265 | ||
fca9e603 DJ |
7266 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7267 | ||
7268 | * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX. | |
7269 | ||
6c537a52 DJ |
7270 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7271 | ||
7272 | * gdbserver/linux-low.c: Remove unused include files. | |
7273 | ||
d844cde6 DJ |
7274 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7275 | ||
7276 | * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. | |
7277 | (read_inferior_memory): Use it. | |
7278 | (write_inferior_memory): Likewise. | |
7279 | ||
d07c63e7 DJ |
7280 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7281 | ||
7282 | * gdbserver/linux-low.c (create_inferior): Call strerror instead of | |
7283 | grubbing through sys_errlist. | |
7284 | ||
da6d8c04 DJ |
7285 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7286 | ||
7287 | * gdbserver/linux-low.c: New file, copied exactly from low-linux.c. | |
7288 | ||
5b421780 PM |
7289 | 2002-02-04 Pierre Muller <[email protected]> |
7290 | * win32-nat.c (handle_exception): Handle Ctrl-Break exception. | |
7291 | ||
9f60d481 AC |
7292 | 2002-02-04 Andrew Cagney <[email protected]> |
7293 | ||
7294 | * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions. | |
7295 | (do_sfunc, set_cmd_sfunc): New functions. | |
7296 | ||
7297 | * command.h (struct cmd_list_element): Add field func. | |
7298 | * cli/cli-decode.h (struct cmd_list_element): Ditto. | |
7299 | * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. | |
7300 | * cli/cli-decode.h: Ditto. | |
7301 | ||
7302 | * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. | |
7303 | (help_all, help_cmd_list): Ditto. | |
7304 | (find_cmd, complete_on_cmdlist): Ditto. | |
7305 | * top.c (execute_command): Ditto. | |
7306 | ||
7307 | * cli/cli-setshow.c (do_setshow_command): Call func instead of | |
7308 | function.sfunc. | |
7309 | ||
7310 | * infcmd.c (notice_args_read): Fix function signature. | |
7311 | ||
7312 | * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. | |
7313 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
7314 | * utils.c (initialize_utils): Ditto. | |
7315 | * maint.c (_initialize_maint_cmds): Ditto. | |
7316 | * infrun.c (_initialize_infrun): Ditto. | |
7317 | * demangle.c (_initialize_demangler): Ditto. | |
7318 | * remote.c (add_packet_config_cmd): Ditto. | |
7319 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
7320 | * cris-tdep.c (_initialize_cris_tdep): Ditto. | |
7321 | * proc-api.c (_initialize_proc_api): Ditto. | |
7322 | * kod.c (_initialize_kod): Ditto. | |
7323 | * valprint.c (_initialize_valprint): Ditto. | |
7324 | * top.c (init_main): Ditto. | |
7325 | * infcmd.c (_initialize_infcmd): Ditto. | |
7326 | * corefile.c (_initialize_core): Ditto. | |
7327 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
7328 | * arch-utils.c (initialize_current_architecture): Ditto. | |
7329 | (_initialize_gdbarch_utils): Ditto. | |
7330 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
7331 | ||
7332 | * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. | |
7333 | * wince.c (_initialize_inftarg): Ditto. | |
7334 | * symfile.c (_initialize_symfile): Ditto. | |
7335 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
7336 | * language.c (_initialize_language): Ditto. | |
7337 | * arc-tdep.c (_initialize_arc_tdep): Ditto. | |
7338 | ||
f9ba0717 MS |
7339 | 2002-02-04 Michael Snyder <[email protected]> |
7340 | ||
7341 | * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. | |
7342 | ||
0c74b2a7 DJ |
7343 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
7344 | ||
7345 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. | |
7346 | Add rules for building the register data files. | |
7347 | ||
c638789f DJ |
7348 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
7349 | ||
7350 | * regformats/regdat.sh: Add braces to the definition of | |
7351 | expedite_regs_${arch}. | |
7352 | ||
db253027 DJ |
7353 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
7354 | ||
7355 | * regformats/regdef.h (struct reg): Add comment describing the | |
7356 | requirements for offset and size fields. | |
7357 | ||
206be19c AS |
7358 | 2002-02-04 Andreas Schwab <[email protected]> |
7359 | ||
7360 | * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. | |
7361 | * config/ia64/linux.mt: Don't set GDBSERVER_LIBS. | |
7362 | ||
181c1381 RE |
7363 | 2002-02-04 Richard Earnshaw <[email protected]> |
7364 | ||
7365 | * gdbarch.sh (copyright): Update years in generated header. | |
7366 | (SMASH_TEXT_ADDRESS): Add rule. | |
db253027 | 7367 | * gdbarch.h, gdbarch.c: Re-generate. |
181c1381 RE |
7368 | * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. |
7369 | * dbxread.c: Likewise. | |
7370 | * dwarfread.c: Likewise. | |
7371 | * elfread.c: Likewise. | |
7372 | * somread.c: Likewise. | |
7373 | ||
7374 | * arm-tdep.c (arm_smash_text_address): New function. | |
7375 | * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above. | |
7376 | ||
fa4ba8da PM |
7377 | 2002-02-04 Pierre Muller <[email protected]> |
7378 | ||
7379 | Add support for hardware watchpoints on win32 native. | |
aaa38bb5 | 7380 | * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of |
fa4ba8da | 7381 | CONTEXT_DEBUG_REGISTERS. |
aaa38bb5 | 7382 | (dr variable): New variable. Static array containing a local copy |
fa4ba8da PM |
7383 | of debug registers. |
7384 | (debug_registers_changed): New variable. Reflects when debug registers | |
7385 | are changed and need to be written to inferior. | |
aaa38bb5 | 7386 | (debug_registers_used): New variable. Reflects when any debug register |
fa4ba8da PM |
7387 | was set, used when new threads are created. |
7388 | (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by | |
7389 | i386-nat code. | |
7390 | (thread_rec): Set dr array if id is the thread of current_event . | |
7391 | (child_continue, child_resume): Change the debug registers for all | |
7392 | threads if debug_registers_changed. | |
7393 | (child_add_thread): Change the debug registers if debug_registers_used. | |
7394 | * config/i386/cygwin.mh: Add use of i386-nat.o file. | |
7395 | Link nm.h to new nm-cygwin.h file. | |
7396 | + config/i386/nm-cygwin.h: New file. Contains the macros used for use | |
7397 | of hardware registers. | |
7398 | ||
a73c86fb AC |
7399 | 2002-02-03 Andrew Cagney <[email protected]> |
7400 | ||
7401 | * valprint.c (print_floating): Allow non TYPE_CODE_FLT types. | |
7402 | Restore behavour broken by 2002-01-20 Andrew Cagney | |
7403 | <[email protected]> IEEE_FLOAT removal. | |
7404 | ||
acf5ed49 DJ |
7405 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
7406 | ||
7407 | * c-valprint.c (c_val_print): Pass a proper valaddr to | |
7408 | cp_print_class_method. | |
7409 | * valops.c (search_struct_method): If there is only one method | |
7410 | and args is NULL, return that method. | |
7411 | ||
493d28d5 DJ |
7412 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
7413 | ||
7414 | * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of | |
7415 | accessing tag_name directly. | |
7416 | ||
7495dfdb DJ |
7417 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
7418 | ||
7419 | * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead | |
7420 | of accessing tag_name directly. | |
7421 | ||
dd6bda65 DJ |
7422 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
7423 | ||
7424 | PR gdb/280 | |
7425 | * gdbtypes.c (replace_type): New function. | |
7426 | * gdbtypes.h (replace_type): Add prototype. | |
7427 | * stabsread.c (read_type): Use replace_type. | |
7428 | ||
88fe217c RE |
7429 | 2002-02-03 Richard Earnshaw <[email protected]> |
7430 | ||
7431 | * Makefile.in (memattr.o): Add missing dependencies rule. | |
7432 | ||
e5d66720 PS |
7433 | 2002-02-03 Peter Schauer <[email protected]> |
7434 | ||
7435 | * breakpoint.c (break_at_finish_command): Really export. | |
7436 | (break_at_finish_at_depth_command): Ditto. | |
7437 | (tbreak_at_finish_command): Ditto. | |
7438 | * hppa-tdep.c: Include completer.h. | |
7439 | * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). | |
7440 | (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o. | |
7441 | ||
fffee0be AC |
7442 | 2002-02-01 Andrew Cagney <[email protected]> |
7443 | ||
7444 | * utils.c (do_write): New function. | |
7445 | (error_stream): Rewrite combining the code from error_begin and | |
7446 | verror. | |
7447 | (verror): Rewrite using error_stream. | |
7448 | (error_begin): Delete function. | |
7449 | ||
255e7dbf AC |
7450 | 2002-02-01 Andrew Cagney <[email protected]> |
7451 | ||
7452 | * utils.c (error_begin): Make static. | |
7453 | * defs.h (error_begin): Delete declaration. | |
7454 | ||
7455 | * linespec.c (cplusplus_error): Replace cplusplus_hint. | |
7456 | (decode_line_1): Use cplusplus_error instead of error_begin, | |
7457 | cplusplus_hint and return_to_top_level. | |
7458 | * coffread.c (coff_symfile_read): Use error instead of error_begin | |
7459 | and return_to_top_level. | |
7460 | * infrun.c (default_skip_permanent_breakpoint): Ditto. | |
7461 | ||
ddfe3c15 AC |
7462 | 2002-02-01 Andrew Cagney <[email protected]> |
7463 | ||
7464 | * language.h (type_error, range_error): Make string parameter | |
7465 | constant. | |
7466 | * language.c (warning_pre_print): Delete extern declaration. | |
7467 | * dwarfread.c (warning_pre_print): Ditto. | |
7468 | * language.c (type_error, range_error): Rewrite to use verror and | |
7469 | vwarning instead of warning_begin. | |
7470 | ||
03ac34d5 MS |
7471 | 2002-02-01 Michael Snyder <[email protected]> |
7472 | ||
261c4ca2 MS |
7473 | * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code. |
7474 | (set_ignore_count): Move misplaced comment back where it belongs. | |
03ac34d5 | 7475 | |
e00d1dc8 AC |
7476 | 2002-02-01 Andrew Cagney <[email protected]> |
7477 | ||
7478 | * command.h (NO_FUNCTION): Delete macro. | |
7479 | * cli/cli-decode.h (NO_FUNCTION): Ditto. | |
7480 | * top.c (execute_command): Replace NO_FUNCTION with NULL. | |
7481 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
7482 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
7483 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
aaa38bb5 | 7484 | |
76b79d6e DJ |
7485 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
7486 | ||
7487 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. | |
7488 | Update ``this'' pointer when calling virtual functions. | |
7489 | ||
799f9e91 MS |
7490 | 2002-02-01 Michael Snyder <[email protected]> |
7491 | ||
c7bd442c | 7492 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
799f9e91 MS |
7493 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
7494 | ||
3cf384d4 DJ |
7495 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
7496 | ||
7497 | * regformats/reg-arm.dat: New file. | |
7498 | * regformats/reg-i386.dat: New file. | |
7499 | * regformats/reg-ia64.dat: New file. | |
7500 | * regformats/reg-m68k.dat: New file. | |
7501 | * regformats/reg-mips.dat: New file. | |
7502 | * regformats/reg-ppc.dat: New file. | |
7503 | * regformats/reg-sh.dat: New file. | |
7504 | * regformats/regdef.h: New file. | |
7505 | * regformats/regdat.sh: New file. | |
7506 | ||
0defa245 RE |
7507 | 2002-02-01 Richard Earnshaw <[email protected]> |
7508 | ||
7509 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. | |
7510 | (arm_frame_args_address, arm_frame_locals_address): New functions. | |
7511 | (arm_frame_num_args): New function. | |
7512 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. | |
7513 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. | |
7514 | (FRMA_NUM_ARGS): Call arm_frame_num_args. | |
7515 | ||
405f26e6 MS |
7516 | 2002-01-31 Michael Snyder <[email protected]> |
7517 | ||
502fd408 MS |
7518 | * breakpoint.c (break_at_finish_command): Export. |
7519 | (break_at_finish_at_depth_command): Export. | |
7520 | (tbreak_at_finish_command): Export. | |
7521 | (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. | |
7522 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and | |
7523 | "tbreak" commands, which are HPPA specific. | |
7524 | ||
7d35e135 MS |
7525 | * printcmd.c (disassemble_command): Remove an ancient |
7526 | artifact of an old merge. | |
7527 | ||
aaa38bb5 | 7528 | * symfile.h (enum overlay_debugging_state): |
d874f1e2 MS |
7529 | Define enum constant values for overlay mode. |
7530 | * symfile.c (overlay_debugging): Use enums instead of literals. | |
aaa38bb5 AJ |
7531 | (overlay_is_mapped, overlay_auto_command, |
7532 | overlay_manual_command): Ditto. | |
d874f1e2 | 7533 | |
aaa38bb5 AJ |
7534 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
7535 | breakpoint_here_p, breakpoint_inserted_here_p, | |
7536 | breakpoint_thread_match, bpstat_stop_status, | |
9f04af04 MS |
7537 | describe_other_breakpoints, check_duplicates, clear_command): |
7538 | Coding standard fixes. | |
7539 | ||
8add0441 | 7540 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 7541 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
7542 | code: check bfd SEC_READONLY flag for section. |
7543 | ||
e351066e AC |
7544 | 2002-01-31 Andrew Cagney <[email protected]> |
7545 | ||
7d35e135 | 7546 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
e351066e | 7547 | |
8a48e967 DJ |
7548 | 2002-01-30 Daniel Jacobowitz <[email protected]> |
7549 | ||
7550 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
7551 | data symbols, since we search based on textlow and texthigh. | |
7552 | (find_pc_sect_symtab): Likewise. | |
7553 | ||
f5a96129 AC |
7554 | 2002-01-30 Andrew Cagney <[email protected]> |
7555 | ||
7556 | * defs.h (vwarning): Declare. | |
f5a96129 AC |
7557 | * utils.c (vwarning): New function. |
7558 | (warning): Call vwarning. | |
7559 | (warning_begin): Delete function. | |
7560 | ||
7561 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
7562 | the warning message. | |
7563 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
7564 | warning_begin. | |
7565 | ||
cefd4ef5 MS |
7566 | 2002-01-30 Michael Snyder <[email protected]> |
7567 | ||
1a703748 MS |
7568 | * NEWS: Mention "set trust-readonly-sections" command. |
7569 | Mention generate-core-file command. | |
cefd4ef5 | 7570 | |
3a11626d MS |
7571 | 2002-01-15 Michael Snyder <[email protected]> |
7572 | ||
7573 | * target.c: New command, "set trust-readonly-sections on". | |
7574 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
7575 | by reading them from the object file instead of from the target. | |
7576 | (initialize_targets): Register command "set trust-readonly-sections". | |
7577 | ||
d1c7e53b AC |
7578 | 2002-01-29 Andrew Cagney <[email protected]> |
7579 | ||
7580 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
7581 | pseudo-regs using a single loop. | |
7582 | ||
e2c9a72c AC |
7583 | 2002-01-30 Andrew Cagney <[email protected]> |
7584 | ||
7585 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
7586 | ||
69824b4e MK |
7587 | 2002-01-15 Rodney Brown <[email protected]> |
7588 | ||
7589 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
7590 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
7591 | * i386v4-nat.c: Include i387-nat.h. | |
7592 | (supply_fpregset): Use i387_supply_fsave. | |
7593 | (fill_fpregset): Use i387_fill_fsave. | |
7594 | ||
6eb69eab RE |
7595 | 2002-01-30 Richard Earnshaw <[email protected]> |
7596 | ||
7597 | * arm-tdep.c (arm_call_dummy_words): Define. | |
7598 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
7599 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
7600 | (CALL_DUMMY_WORDS): Define. | |
7601 | (arm_call_dummy_words): Declare. | |
7602 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
7603 | (arm_linux_call_dummy_words): Declare. | |
7604 | ||
9852326a AS |
7605 | 2002-01-30 Andreas Schwab <[email protected]> |
7606 | ||
7607 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
7608 | instead of referencing registers[] directly. | |
7609 | ||
977a3030 AC |
7610 | 2002-01-29 Andrew Cagney <[email protected]> |
7611 | ||
7612 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
7613 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
7614 | ||
2076c72b MS |
7615 | 2002-01-28 Michael Snyder <[email protected]> |
7616 | ||
7617 | * regcache.c (legacy_read_register_gen): Need to be able to | |
7618 | read pseudo-register as well as real register. | |
7619 | (legacy_write_register_gen): Ditto. | |
7620 | ||
8fcc723b AC |
7621 | 2002-01-28 Andrew Cagney <[email protected]> |
7622 | ||
7623 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
7624 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
7625 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
7626 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
7627 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
7628 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
7629 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
7630 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
7631 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
7632 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
7633 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
7634 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
7635 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
7636 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
7637 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
7638 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
7639 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
7640 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
7641 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
7642 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
7643 | ||
afe64c1a AC |
7644 | 2002-01-28 Andrew Cagney <[email protected]> |
7645 | ||
7646 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
7647 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
7648 | (initialize_current_architecture): Update target_byte_order using | |
7649 | information from BFD. | |
aaa38bb5 | 7650 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): |
afe64c1a AC |
7651 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. |
7652 | ||
75bc7ddf AC |
7653 | 2002-01-28 Andrew Cagney <[email protected]> |
7654 | ||
7655 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
7656 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
7657 | ||
7658 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
7659 | #ifdef INVALID_FLOAT. | |
7660 | * infcmd.c (do_registers_info): Ditto. | |
7661 | * values.c (unpack_double): Ditto. Add comment. | |
7662 | ||
7663 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
7664 | already commented out. | |
7665 | ||
0280a90a AS |
7666 | 2002-01-26 Andreas Schwab <[email protected]> |
7667 | ||
7668 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
7669 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
7670 | registers and add support for PTRACE_GETREGS. | |
7671 | ||
7072a954 AC |
7672 | 2002-01-24 Andrew Cagney <[email protected]> |
7673 | ||
7674 | GDB 5.1.1 released from 5.1 branch. | |
7675 | * NEWS: Add 5.1.1 news. | |
7676 | * README: Sync with 5.1 branch. | |
7677 | ||
86f902e0 FF |
7678 | 2002-01-23 Fred Fish <[email protected]> |
7679 | ||
7680 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
7681 | stabstring on initial malloc. Reallocing will copy it for us, | |
7682 | if necessary. | |
7683 | ||
8af51c36 EZ |
7684 | 2002-01-23 Elena Zannoni <[email protected]> |
7685 | ||
aaa38bb5 | 7686 | * Makefile.in (hpread_h): Delete. |
8af51c36 EZ |
7687 | (HFILES_NO_SRCDIR): Remove hpread.h. |
7688 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
7689 | (hpread.o): Update dependencies. | |
7690 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
7691 | ||
7692 | * hp-psymtab-read.c: Remove file. | |
7693 | * hp-symtab-read.c: Remove file. | |
7694 | * hpread.h: Remove file. | |
7695 | ||
7696 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
7697 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
7698 | January 1999. | |
7699 | ||
7700 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
aaa38bb5 | 7701 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, |
8af51c36 EZ |
7702 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): |
7703 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
7704 | ||
dc5cfeb6 EZ |
7705 | 2002-01-23 Elena Zannoni <[email protected]> |
7706 | ||
7707 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
7708 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
7709 | variable and use that, instead of calling the function several | |
7710 | times. | |
7711 | ||
ea87b71b AO |
7712 | 2002-01-24 Alexandre Oliva <[email protected]> |
7713 | ||
7714 | * configure.host: Accept sparcv9 as alias for sparc64. | |
7715 | * configure.tgt: Likewise. | |
7716 | ||
13fc0c2f KB |
7717 | 2002-01-22 Kevin Buettner <[email protected]> |
7718 | ||
7719 | * solib-aix5.c (build_so_list_from_mapfile) | |
7720 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
7721 | arguments is not reversed. | |
7722 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
7723 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
aaa38bb5 | 7724 | |
7bd872fe EZ |
7725 | 2002-01-22 Elena Zannoni <[email protected]> |
7726 | ||
7727 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
7728 | modified version of obsolete sh_fetch_pseudo_register. | |
7729 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
7730 | (sh4_register_read): New function. | |
7731 | (sh_pseudo_register_write): New function. Renamed and modified | |
7732 | version of obsolete sh_store_pseudo_register. | |
7733 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
7734 | (sh4_register_write): New function. | |
7735 | (sh_gdbarch_init): Remove setting of gdbarch function | |
7736 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
7737 | register_convert_to_raw, register_convert_to_virtual, | |
7738 | register_convertible. | |
7739 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
7740 | taken care by architecture specific functions | |
7741 | register_read/register_write. | |
7742 | (sh_sh4_register_convert_to_virtual): Make static. | |
7743 | (sh_sh4_register_convert_to_raw): Ditto. | |
7744 | ||
069e84fd AC |
7745 | 2002-01-22 Andrew Cagney <[email protected]> |
7746 | ||
7747 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
7748 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
7749 | ||
7750 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
7751 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
7752 | builtin_type_ieee_double_little, | |
7753 | builtin_type_ieee_double_littlebyte_bigword, | |
7754 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
7755 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
7756 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
7757 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
7758 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
7759 | ||
211a4f69 CV |
7760 | 2002-01-22 Corinna Vinschen <[email protected]> |
7761 | ||
7762 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
7763 | parameter. Set frameless flag if it exists and depended of | |
7764 | whether the scanned function is frameless or not. | |
7765 | (xstormy16_skip_prologue): If function is frameless, return | |
7766 | result of xstormy16_scan_prologue(). | |
7767 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
7768 | call. | |
7769 | ||
f81353e4 EZ |
7770 | 2002-01-21 Elena Zannoni <[email protected]> |
7771 | ||
7772 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
7773 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
7774 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
7775 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
7776 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
7777 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
7778 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
7779 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
7780 | gdbarch_tdep() just once, assign result to variable and use that, | |
7781 | instead of calling the function several times. | |
7782 | ||
63c73a17 MK |
7783 | 2002-01-20 Mark Kettenis <[email protected]> |
7784 | ||
7785 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
7786 | macros instead of LAST_FPU_CTRL_REGNUM. | |
7787 | (store_register): Likewise. | |
7788 | ||
39ad761d JB |
7789 | 2002-01-21 Jim Blandy <[email protected]> |
7790 | ||
7791 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
7792 | is up-to-date before running the program, not just when a program | |
7793 | exits. | |
7794 | ||
3d74b771 FF |
7795 | 2002-01-21 Fred Fish <[email protected]> |
7796 | ||
7797 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
7798 | when we have found all instructions we are looking for. | |
7799 | ||
966fbf70 RE |
7800 | 2002-01-21 Richard Earnshaw <[email protected]> |
7801 | ||
7802 | * arm-tdep.c (arm_register_name): New function. | |
7803 | (arm_registers_names): Make static. | |
7804 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
7805 | (arm_register_name): Declare. | |
7806 | (REGISTER_NAME): Use it. | |
7807 | ||
c3b4394c RE |
7808 | 2002-01-21 Richard Earnshaw <[email protected]> |
7809 | Kevin Buettner <[email protected]> | |
7810 | ||
7811 | Convert arm targets to new FRAME interface. | |
7812 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
7813 | (arm_frame_find_save_regs): Delete. | |
7814 | (arm_frame_init_saved_regs): New. | |
7815 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
7816 | Allocate extra_info as required. Convert all uses of fsr.regs | |
7817 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
7818 | to use extra_info. | |
7819 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
7820 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
7821 | (check_prologue_cache, save_prologue_cache): Likewise. | |
7822 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
7823 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
7824 | (FRAME_FIND_SAVED_REGS): Delete. | |
7825 | (arm_frame_find_saved_regs): Delete prototype. | |
7826 | (arm_frame_init_saved_regs): New prototype. | |
7827 | (FRAME_INIT_SAVED_REGS): Define. | |
7828 | ||
61d99182 AC |
7829 | 2002-01-20 Andrew Cagney <[email protected]> |
7830 | ||
7831 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
7832 | ||
6aaea291 AC |
7833 | 2002-01-20 Andrew Cagney <[email protected]> |
7834 | ||
7835 | From Jeff Law <[email protected]>: | |
7836 | * infttrace.c: Include <sys/pstat.h>. | |
7837 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
7838 | exec file if the ttrace equivalent fails. | |
7839 | ||
15f698d2 AC |
7840 | 2002-01-20 Andrew Cagney <[email protected]> |
7841 | ||
7842 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
7843 | (closeLogFile): Ditto. | |
7844 | ||
f86ddd7c MC |
7845 | 2002-01-20 Michael Chastain <[email protected]> |
7846 | ||
7847 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
7848 | ||
904507ce AC |
7849 | 2002-01-20 Andrew Cagney <[email protected]> |
7850 | ||
7851 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
7852 | Zannoni and Eli Zaretskii. | |
7853 | ||
d7f0b9ce DJ |
7854 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
7855 | ||
7856 | * buildsym.c: Update copyright years. | |
7857 | * c-typeprint.c: Likewise. | |
7858 | * dwarf2read.c: Likewise. | |
7859 | * f-typeprint.c: Likewise. | |
7860 | * gdbtypes.c: Likewise. | |
7861 | * gdbtypes.h: Likewise. | |
7862 | * hp-symtab-read.c: Likewise. | |
7863 | * hpread.c: Likewise. | |
7864 | * mdebugread.c: Likewise. | |
7865 | * p-typeprint.c: Likewise. | |
7866 | ||
3fd3d7d2 AC |
7867 | 2002-01-20 Andrew Cagney <[email protected]> |
7868 | ||
7869 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
7870 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
7871 | byte-order selectable. | |
7872 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
7873 | * arch-utils.c: Ditto. | |
7874 | (set_endian): Ditto. | |
7875 | (set_endian_from_file): Ditto. | |
7876 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
7877 | * gdbarch.sh: Ditto. | |
7878 | * gdbarch.h: Re-generate. | |
aaa38bb5 AJ |
7879 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): |
7880 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
7881 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
7882 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
7883 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
7884 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
7885 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
3fd3d7d2 AC |
7886 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete |
7887 | macro definition. | |
7888 | * config/mips/tm-wince.h: Remove #undef of macro | |
7889 | TARGET_BYTE_ORDER_SELECTABLE. | |
7890 | * config/sh/tm-wince.h: Ditto. | |
7891 | ||
b02dede2 DJ |
7892 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
7893 | ||
7894 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
7895 | member function fields. Add accessor macro | |
7896 | TYPE_FN_FIELD_ARTIFICIAL. | |
7897 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
7898 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
7899 | functions. | |
7900 | ||
c3643761 DJ |
7901 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
7902 | ||
7903 | * f-typeprint.c: Delete unused function f_type_print_args. | |
7904 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
7905 | ||
8176bb6d DJ |
7906 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
7907 | ||
7908 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
7909 | comment. Add ``artificial'' to ``union field_location''. | |
7910 | ||
7911 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
7912 | ||
7913 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
7914 | * mdebugread.c (parse_symbol): Likewise. | |
7915 | * stabsread.c (define_symbol): Likewise. | |
7916 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
7917 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
7918 | (hpread_doc_function_type): Likewise. | |
7919 | * hpread.c (hpread_function_type): Likewise. | |
7920 | ||
7fd60527 AC |
7921 | 2002-01-20 Andrew Cagney <[email protected]> |
7922 | ||
7923 | * configure.in (host_makefile_frag): Only require a host makefile | |
7924 | fragment when a native build. | |
7925 | * configure: Re-generate. | |
7926 | ||
c2f05ac9 AC |
7927 | 2002-01-20 Andrew Cagney <[email protected]> |
7928 | ||
7929 | * doublest.h (floatformat_from_type): Declare. | |
7930 | * doublest.c (floatformat_from_type): New function. | |
7931 | (convert_typed_floating): Use. | |
7932 | ||
7933 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
7934 | call to function floatformat_from_type. | |
7935 | ||
7936 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
7937 | * gdbarch.h, gdbarch.c: Re-generate. | |
7938 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
7939 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
7940 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
7941 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
7942 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
7943 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
7944 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
7945 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
7946 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
7947 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
7948 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
7949 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
7950 | ||
7951 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
7952 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
7953 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7954 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7955 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7956 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7957 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7958 | ||
abf22e64 AJ |
7959 | 2002-01-20 Jiri Smid <[email protected]> |
7960 | ||
7961 | * configure.host, configure.tgt: Support x86-64. | |
7962 | * NEWS: Note new target x86-64. | |
7963 | ||
b7c4cbf8 AJ |
7964 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
7965 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
7966 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
7967 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
7968 | x86-64-linux-nat.o): Fix dependencies. | |
7969 | ||
82600034 AC |
7970 | 2002-01-19 Andrew Cagney <[email protected]> |
7971 | ||
7972 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
7973 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
7974 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
7975 | * config/sparc/xm-sun4os4.h: Delete file. | |
7976 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 7977 | |
bbe5c628 AC |
7978 | 2002-01-19 Andrew Cagney <[email protected]> |
7979 | ||
7980 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
7981 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
7982 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
7983 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
7984 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
7985 | * config/sparc/xm-sparclynx.h: Delete file. | |
7986 | * config/m68k/xm-m68klynx.h: Delete file. | |
7987 | * config/i386/xm-i386lynx.h: Delete file. | |
7988 | * config/xm-lynx.h: Delete file. | |
7989 | * config/djgpp/fnchange.lst: Update. | |
7990 | ||
f8453e34 JT |
7991 | 2002-01-19 Jason Thorpe <[email protected]> |
7992 | ||
7993 | * alpha-tdep.c (alpha_register_byte): New function. | |
7994 | (alpha_register_raw_size): Ditto. | |
7995 | (alpha_register_virtual_size): Ditto. | |
7996 | (alpha_skip_prologue_internal): Renamed from | |
7997 | alpha_skip_prologue. | |
7998 | (alpha_skip_prologue): New version that calls | |
7999 | alpha_skip_prologue_internal. | |
8000 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
8001 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
8002 | second argument from alpha_skip_prologue. | |
8003 | (REGISTER_BYTE): Use alpha_register_byte. | |
8004 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
8005 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
8006 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
8007 | generic_frameless_function_invocation_not. | |
8008 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
8009 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
8010 | ||
52d9e613 AC |
8011 | 2002-01-19 Andrew Cagney <[email protected]> |
8012 | ||
8013 | * config/mips/xm-news-mips.h: Delete file. | |
8014 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
8015 | ||
8016 | * config/m88k/xm-m88k.h: Delete file. | |
8017 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
8018 | * config/m88k/xm-delta88v4.h: Ditto. | |
8019 | * config/m88k/xm-delta88.h: Ditto. | |
8020 | ||
8021 | * config/alpha/xm-fbsd.h: Delete file. | |
8022 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
8023 | ||
8024 | * config/sparc/xm-sparc.h: Delete file. | |
8025 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
8026 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
8027 | * config/sparc/xm-sun4os4.h: Ditto. | |
8028 | * config/sparc/xm-linux.h: Ditto. | |
8029 | ||
8030 | * config/i386/xm-windows.h: Delete file. | |
8031 | ||
2d1b2124 AC |
8032 | 2002-01-19 Andrew Cagney <[email protected]> |
8033 | ||
8034 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
8035 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
8036 | ||
ee1f65f0 JT |
8037 | 2002-01-19 Jason Thorpe <[email protected]> |
8038 | ||
8039 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
8040 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
8041 | (CALL_DUMMY_P): Define. | |
8042 | (CALL_DUMMY_WORDS): Define. | |
8043 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
8044 | ||
98081e55 PB |
8045 | 2002-01-19 Per Bothner <[email protected]> |
8046 | ||
8047 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
8048 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
8049 | ||
0d056799 JT |
8050 | 2002-01-19 Jason Thorpe <[email protected]> |
8051 | ||
8052 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
8053 | (alpha_init_frame_pc_first): Ditto. | |
8054 | (alpha_fix_call_dummy): Ditto. | |
8055 | (alpha_store_struct_return): Ditto. | |
8056 | (alpha_extract_struct_value_address): Ditto. | |
8057 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
8058 | alpha_register_virtual_type. | |
8059 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
8060 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
8061 | alpha_extract_struct_value_address. | |
8062 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
8063 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
8064 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
8065 | ||
4604bcad MK |
8066 | 2002-01-19 Mark Kettenis <[email protected]> |
8067 | ||
8068 | * i386gnu-nat.c: Include "i386-tdep.h". | |
8069 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
8070 | point states such that it doesn't require FP7_REGNUM. | |
8071 | ||
140f9984 JT |
8072 | 2002-01-18 Jason Thorpe <[email protected]> |
8073 | ||
abf22e64 AJ |
8074 | * alpha-tdep.c (frame_extra_info): New. |
8075 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
8076 | frame->extra_info. |
8077 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
8078 | (alpha_frame_saved_pc): Use frame->extra_info. |
8079 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
8080 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
8081 | (init_extra_frame_info): Rename to... |
8082 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 8083 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
8084 | (alpha_frame_locals_address): Ditto. |
8085 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 8086 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
8087 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
8088 | alpha_frame_args_address. | |
abf22e64 | 8089 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 8090 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
8091 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
8092 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
8093 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
8094 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
8095 | ||
d734c450 JT |
8096 | 2002-01-18 Jason Thorpe <[email protected]> |
8097 | ||
8098 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
8099 | (alpha_cannot_fetch_register): Ditto. | |
8100 | (alpha_cannot_store_register): Ditto. | |
8101 | (alpha_register_convertible): Ditto. | |
8102 | (alpha_use_struct_convention): Ditto. | |
8103 | * config/alpha/tm-alpha.h: Update copyright years. | |
8104 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
8105 | (INNER_THAN): Use core_addr_lessthan. | |
8106 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
8107 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
8108 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
8109 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
8110 | (FRAME_CHAIN): Remove unnecessary cast. | |
8111 | ||
b4ceaee6 AC |
8112 | 2002-01-18 Andrew Cagney <[email protected]> |
8113 | ||
8114 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
8115 | obsolete. | |
8116 | ||
0a65a603 AC |
8117 | 2002-01-18 Andrew Cagney <[email protected]> |
8118 | ||
8119 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
8120 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
8121 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
8122 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
8123 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
8124 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
8125 | * x86-64-linux-nat.c: Ditto. | |
8126 | ||
636a6dfc JT |
8127 | 2002-01-18 Jason Thorpe <[email protected]> |
8128 | ||
abf22e64 | 8129 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
8130 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
8131 | (REGISTER_NAME): Define. | |
8132 | ||
acceddb6 JT |
8133 | 2002-01-18 Jason Thorpe <[email protected]> |
8134 | ||
8135 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
8136 | ||
ec32e4be JT |
8137 | 2002-01-18 Jason Thorpe <[email protected]> |
8138 | ||
8139 | * alpha-tdep.c: Update copyright years. | |
8140 | (alpha_next_pc): New function. | |
8141 | (alpha_software_single_step): Ditto. | |
8142 | * config/alpha/tm-alpha.h: Add prototype for | |
8143 | alpha_software_single_step. | |
8144 | ||
e771a871 JT |
8145 | 2002-01-18 Jason Thorpe <[email protected]> |
8146 | ||
8147 | * alphabsd-nat.c: Update copyright years. | |
8148 | (fill_gregset): Use regcache_collect. | |
8149 | (fill_fpregset): Likewise. | |
8150 | (fetch_inferior_registers): Only fetch integer registers | |
8151 | if requested to do so. | |
8152 | (store_inferior_registers): Only store integer registers | |
8153 | if requested to do so. | |
8154 | ||
7708fa01 AC |
8155 | 2002-01-17 Andrew Cagney <[email protected]> |
8156 | ||
8157 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
8158 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
8159 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
8160 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
8161 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
8162 | * config/arm/linux.mh (XDEPFILES): Delete. | |
8163 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
8164 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
8165 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
8166 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
8167 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
8168 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
8169 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
8170 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
8171 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
8172 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
8173 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
8174 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
8175 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
8176 | * config/i386/go32.mh (XDEPFILES): Delete. | |
8177 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
8178 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
8179 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
8180 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
8181 | * config/i386/linux.mh (XDEPFILES): Delete. | |
8182 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
8183 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
8184 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
8185 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
8186 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
8187 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
8188 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
8189 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
8190 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
8191 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
8192 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
8193 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
8194 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
8195 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
8196 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
8197 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
8198 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
8199 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
8200 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
8201 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
8202 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
8203 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
8204 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
8205 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
8206 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
8207 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
8208 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
8209 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
8210 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
8211 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
8212 | * config/mips/linux.mh (XDEPFILES): Delete. | |
8213 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
8214 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
8215 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
8216 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
8217 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
8218 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
8219 | (NATDEPFILES): Move core-aout.o to here. | |
8220 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
8221 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
8222 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
8223 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
8224 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
8225 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
8226 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
8227 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
8228 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
8229 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
8230 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
8231 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
8232 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
8233 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
8234 | * config/s390/s390.mh (XDEPFILES): Delete. | |
8235 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
8236 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
8237 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
8238 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
8239 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
8240 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
8241 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
8242 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
8243 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
8244 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
8245 | ||
375fc983 AC |
8246 | 2002-01-17 Andrew Cagney <[email protected]> |
8247 | ||
8248 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
8249 | Update queries to match. Default to quit and dump core. | |
8250 | ||
8926118c AC |
8251 | 2002-01-17 Andrew Cagney <[email protected]> |
8252 | ||
8253 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
8254 | copyright. | |
8255 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
8256 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
8257 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
8258 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
8259 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
8260 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
8261 | * mi/mi-main.c:Ditto. | |
8262 | ||
8263 | * stack.c, symfile.c: Update copyright. | |
8264 | ||
45b7b345 DJ |
8265 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
8266 | ||
db728ff7 DJ |
8267 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
8268 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
8269 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
8270 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 8271 | |
db728ff7 DJ |
8272 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
8273 | ||
8274 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
8275 | * gdbserver/low-lynx.c (myattach): Likewise. | |
8276 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
8277 | * gdbserver/low-sim.c (myattach): Likewise. | |
8278 | * gdbserver/low-sparc.c (myattach): Likewise. | |
8279 | * gdbserver/low-sun3.c (myattach): Likewise. | |
8280 | ||
8281 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 8282 | |
db728ff7 | 8283 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
8284 | (main): Handle "--attach". |
8285 | ||
8de3c354 AC |
8286 | 2002-01-16 Andrew Cagney <[email protected]> |
8287 | ||
8288 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
8289 | maintainer. | |
8290 | ||
b0129042 DJ |
8291 | 2002-01-15 Daniel Jacobowitz <[email protected]> |
8292 | ||
8293 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
8294 | check for non-conversion operators. | |
8295 | ||
ba8679fb | 8296 | 2002-01-15 Michael Snyder <[email protected]> |
2bf543a6 MS |
8297 | |
8298 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
8299 | (read_mapping): New function, abstract and re-use code. | |
8300 | (linux_find_memory_regions): Use new func read_mapping. | |
8301 | (linux_info_proc_cmd): New function, implement "info proc". | |
8302 | (_initialize_linux_proc): Add new command "info proc". | |
8303 | ||
e4f9b4d5 MS |
8304 | 2002-01-15 Michael Snyder <[email protected]> |
8305 | ||
8306 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
8307 | instead of manipulating bfd structure members directly. | |
8308 | (add_section_size_callback): New function, bfd sections callback | |
8309 | used by generic_load. | |
8310 | (load_sections_callback): New function, bfd sections callback | |
8311 | used by generic_load. | |
8312 | ||
08cf96df EZ |
8313 | 2002-01-15 Elena Zannoni <[email protected]> |
8314 | ||
abf22e64 | 8315 | [Based on work by Jim Blandy] |
08cf96df EZ |
8316 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
8317 | (builtin_type_vec128): Export. | |
8318 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
8319 | types. | |
8320 | (builtin_type_vec128): New builtin type for 128 bit vector | |
8321 | registers. | |
8322 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
8323 | builtin_type_v8hi. Create the vec128 register builtin type | |
8324 | structure. | |
8325 | (build_builtin_type_vec128): New function. | |
abf22e64 | 8326 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
8327 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
8328 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
8329 | AltiVec register to new builtin type. | |
8330 | ||
d7242108 DJ |
8331 | 2001-01-15 Daniel Jacobowitz <[email protected]> |
8332 | ||
8333 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
8334 | to make_cv_type. | |
8335 | ||
4ee3352d AC |
8336 | 2002-01-14 Andrew Cagney <[email protected]> |
8337 | ||
8338 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
8339 | CLEAN_UP_REGISTER_VALUE. | |
8340 | * regcache.c (supply_register): Update only call. | |
8341 | ||
f015b2e7 AC |
8342 | 2002-01-14 Andrew Cagney <[email protected]> |
8343 | ||
8344 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
8345 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
8346 | a29k-*-vxworks* targets as obsolete. | |
8347 | ||
356ae49d MS |
8348 | 2002-01-14 Michael Snyder <[email protected]> |
8349 | ||
8350 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
8351 | until we can resolve portability issues. | |
8352 | * gregset.h: Remove references to fpxregs. | |
8353 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
8354 | ||
ade8f45e AC |
8355 | 2002-01-13 Andrew Cagney <[email protected]> |
8356 | ||
8357 | * signals.c (target_signal_to_name): Rewrite. Only use | |
8358 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 8359 | |
89c49e7a AC |
8360 | 2002-01-13 Andrew Cagney <[email protected]> |
8361 | ||
8362 | From Petr Ledvina <[email protected]>: | |
8363 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
8364 | bounds of the signals array. | |
8365 | ||
4daa9f9f AC |
8366 | 2002-01-13 Andrew Cagney <[email protected]> |
8367 | ||
8368 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
8369 | ||
ba4bbdcb KS |
8370 | 2002-01-13 Keith Seitz <[email protected]> |
8371 | ||
8372 | * stack.c (print_frame_info_base): Print the frame's pc | |
8373 | only if when print_frame_info_listing_hook is not defined. | |
8374 | ||
575bbeb6 KS |
8375 | 2002-01-13 Keith Seitz <[email protected]> |
8376 | ||
8377 | * varobj.c (varobj_set_value): Make sure that there were no | |
8378 | errors evaluating the object before attempting to set its | |
8379 | value. | |
8380 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
8381 | so this offset adjustment is no longer necessary. | |
8382 | (create_child): Don't set the error flag if the child is | |
8383 | a CPLUS_FAKE_CHILD. | |
8384 | (value_of_child): If value_fetch_lazy fails, return NULL | |
8385 | so that callers will be notified that an error occurred. | |
8386 | (c_value_of_variable): Delay check of variable's validity | |
8387 | until later. We actually want all structs and unions to have | |
8388 | the value "{...}". | |
8389 | Do not return "???" for variables which could not be evaluated. | |
8390 | This error condition must be returned to the caller so that it | |
8391 | can get the error condition from gdb. | |
8392 | (cplus_name_of_child): Adjust index for vptr before figuring | |
8393 | out the name of the child. | |
8394 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
8395 | don't even bother trying to give a value for it. Just return | |
8396 | an error. Change all instances in this function. | |
8397 | (cplus_type_of_child): If our parent is one of the "fake" | |
8398 | parents, we need to get at the type of the real parent, and | |
8399 | derive the child's true type using this information. | |
8400 | ||
b76898ab AC |
8401 | 2002-01-13 Andrew Cagney <[email protected]> |
8402 | ||
8403 | From 2002-01-09 John Marshall <[email protected]>: | |
8404 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
8405 | sources.redhat.com, and tweak some related URLs which had | |
8406 | suffered from linkrot. | |
8407 | ||
b6649e88 AC |
8408 | 2002-01-13 Andrew Cagney <[email protected]> |
8409 | ||
8410 | From Jeff law: | |
8411 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
8412 | structures passed in registers. | |
8413 | ||
82cc5033 EZ |
8414 | 2002-01-13 Eli Zaretskii <[email protected]> |
8415 | ||
8416 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
8417 | white space which prevented compilation. Reported by DSK | |
8418 | <[email protected]>. | |
8419 | ||
ba5f2f8a MS |
8420 | 2002-01-11 Michael Snyder <[email protected]> |
8421 | ||
fbd35540 MS |
8422 | * symfile.c (build_section_addr_info_from_section_tab): |
8423 | Use bfd access method instead of manipulating bfd directly. | |
8424 | (syms_from_objfile): Ditto. | |
8425 | (simple_overlay_update_1): Ditto. | |
8426 | (simple_overlay_update): Ditto. | |
8427 | (generic_load): Ditto. | |
8428 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
8429 | (sections_overlap): FIXME comment, bfd access methods. | |
8430 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
8431 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
8432 | (section_is_mapped): FIXME comment, bfd access methods. | |
8433 | (section_is_overlay): FIXME comment, bfd access methods. | |
8434 | ||
ba5f2f8a MS |
8435 | * symfile.c (generic_load): Whitespace and long line cleanups. |
8436 | Remove duplicate variable, change several local variables to | |
8437 | more appropriate data types. | |
8438 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
8439 | ||
17df2af6 AC |
8440 | 2002-01-12 Andrew Cagney <[email protected]> |
8441 | ||
8442 | From Peter Schauer: | |
8443 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
8444 | convert NUM to a hex string. | |
8445 | ||
ec920329 EZ |
8446 | 2002-01-12 Elena Zannoni <[email protected]> |
8447 | ||
8448 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
8449 | the function. | |
538a76d6 | 8450 | Update Copyright year. |
ec920329 | 8451 | |
3abd2e01 AC |
8452 | 2002-01-12 Andrew Cagney <[email protected]> |
8453 | ||
8454 | * language.c (longest_raw_hex_string): Delete unused function. | |
8455 | ||
b21b22e0 PS |
8456 | 2002-01-11 Petr Sorfa <[email protected]> |
8457 | ||
8458 | * MAINTAINERS (write-after-approval): Add myself. | |
8459 | * dwarf2read.c (read_tag_string_type): Handling of | |
8460 | DW_AT_byte_size. | |
8461 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
8462 | first string size. | |
8463 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
8464 | ||
747fe712 RE |
8465 | 2002-01-11 Richard Earnshaw <[email protected]> |
8466 | ||
8467 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
8468 | GETPID(inferior_ptid). | |
8469 | (store_inferior_registers): Likewise. | |
8470 | ||
f1bea926 JM |
8471 | 2002-01-10 Jason Merrill <[email protected]> |
8472 | ||
8473 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
8474 | Fix DW_OP_minus. | |
8475 | ||
ae940673 AC |
8476 | 2002-01-10 Andrew Cagney <[email protected]> |
8477 | ||
8478 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
8479 | and bfd/elf32-sh-nbsd.c. | |
8480 | ||
00546b04 MS |
8481 | 2002-01-10 Michael Snyder <[email protected]> |
8482 | ||
352ed7b4 MS |
8483 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
8484 | ||
c18be923 MS |
8485 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
8486 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
8487 | ||
00546b04 MS |
8488 | * main.c (captured_main): Add new command line option "--pid". |
8489 | If the second command line argument (following the symbol-file) | |
8490 | begins with a digit, try to attach to it before trying to open | |
8491 | it as a corefile. | |
8492 | (print_gdb_help): Document the "--pid" argument. | |
8493 | ||
db60ec62 EZ |
8494 | 2002-01-10 Eli Zaretskii <[email protected]> |
8495 | ||
8496 | * completer.c (command_completer): New function. | |
8497 | ||
8498 | * completer.h <command_completer>: Add prototype. | |
8499 | ||
8500 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
8501 | completer for the "help" command. | |
8502 | ||
39c22d1a JM |
8503 | 2002-01-09 Jason Merrill <[email protected]> |
8504 | ||
8505 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
8506 | ||
c564377f MS |
8507 | 2002-01-09 Michael Snyder <[email protected]> |
8508 | ||
975aec09 MS |
8509 | * i386-linux-nat.c (fill_fpxregset): Make global. |
8510 | (store_fpxregset): Ditto. | |
8511 | ||
db4a10fa MS |
8512 | * gregset.h (gdb_fpxregset_t): Define. |
8513 | (supply_fpxregset): Prototype. | |
8514 | (fill_fpxregset): Prototype. | |
8515 | ||
c564377f MS |
8516 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
8517 | ||
c3d45d70 RE |
8518 | 2002-01-09 Richard Earnshaw <[email protected]> |
8519 | ||
8520 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
8521 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
8522 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
8523 | ||
fcc87af1 AC |
8524 | 2002-01-09 Andrew Cagney <[email protected]> |
8525 | ||
8526 | * MAINTAINERS: Update target maintainer rules so that any | |
8527 | Maintainer can approve a tested patch for a maintenance-only | |
8528 | target. | |
8529 | ||
dd96c05b RE |
8530 | 2002-01-09 Richard Earnshaw <[email protected]> |
8531 | ||
d4297db9 | 8532 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 8533 | |
d4297db9 | 8534 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
8535 | IN_SIGTRAMP. |
8536 | ||
145fdc6e MS |
8537 | 2002-01-08 Michael Snyder <[email protected]> |
8538 | ||
8539 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
8540 | real name of the executable, rather than the /proc name. | |
8541 | ||
be4d1333 MS |
8542 | 2002-01-03 Michael Snyder <[email protected]> |
8543 | ||
8544 | Implement a "generate-core-file" command in gdb, save target state. | |
8545 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
8546 | Save a corefile image of the current state of the inferior. | |
8547 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
8548 | * target.h (struct target_ops): Add new target vectors for saving | |
8549 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
8550 | (target_find_memory_regions): New macro. | |
8551 | (target_make_corefile_notes): New macro. | |
8552 | * target.c (update_current_target): Inherit new target methods. | |
8553 | (dummy_find_memory_regions): New place-holder method. | |
8554 | (dummy_make_corefile_notes): New place-holder method. | |
8555 | (init_dummy_target): Initialize new dummy target vectors. | |
8556 | * exec.c (exec_set_find_memory_regions): New function. | |
8557 | Allow the exec_ops vector for memory regions to be taken over. | |
8558 | (exec_make_note_section): New function, target vector method. | |
8559 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
8560 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
8561 | (procfs_make_note_section): New function, corefile method. | |
8562 | (init_procfs_ops): Set new target vector pointers. | |
8563 | (find_memory_regions_callback): New function. | |
8564 | (procfs_do_thread_registers): New function. | |
8565 | (procfs_corefile_thread_callback): New function. | |
8566 | * sol-thread.c (sol_find_memory_regions): New function. | |
8567 | (sol_make_note_section): New function. | |
8568 | (init_sol_thread_ops): Initialize new target vectors. | |
8569 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
8570 | Allow to_find_memory_regions vector to be taken over. | |
8571 | (inftarg_set_make_corefile_notes): New function. | |
8572 | Allow to_make_corefile_notes vector to be taken over. | |
8573 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
8574 | interface layer if not target_has_execution (may be a corefile). | |
8575 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
8576 | * config/sparc/sun4sol2.mh: Ditto. | |
8577 | * config/alpha/alpha-linux.mh: Ditto. | |
8578 | * config/arm/linux.mh: Ditto. | |
8579 | * config/i386/x86-64linux.mh: Ditto. | |
8580 | * config/ia64/linux.mh: Ditto. | |
8581 | * config/m68k/linux.mh: Ditto. | |
8582 | * config/mips/linux.mh: Ditto. | |
8583 | * config/powerpc/linux.mh: Ditto. | |
8584 | * config/sparc/linux.mh: Ditto. | |
8585 | ||
c6b92abd MS |
8586 | 2002-01-07 Michael Snyder <[email protected]> |
8587 | ||
8588 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
8589 | (registers[] and register_valid[]). | |
8590 | ||
4b09dc8c MS |
8591 | 2002-01-07 Michael Snyder <[email protected]> |
8592 | ||
abf22e64 AJ |
8593 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
8594 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
8595 | symbol file and shlibs. |
8596 | * Makefile.in: Add rule for linux-proc.o. | |
8597 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
8598 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
8599 | * config/arm/linux.mh: Ditto. | |
8600 | * config/i386/linux.mh: Ditto. | |
8601 | * config/i386/x86-64linux.mh: Ditto. | |
8602 | * config/ia64/linux.mh: Ditto. | |
8603 | * config/m68k/linux.mh: Ditto. | |
8604 | * config/mips/linux.mh: Ditto. | |
8605 | * config/powerpc/linux.mh: Ditto. | |
8606 | * config/sparc/linux.mh: Ditto. | |
8607 | ||
c25b74ac PM |
8608 | 2002-01-06 Pierre Muller <[email protected]> |
8609 | ||
8610 | * win32-nat.c: Add i386-tdep.h dependency. | |
8611 | ||
94cd915f MS |
8612 | 2002-01-07 Michael Snyder <[email protected]> |
8613 | ||
c7cccb76 MS |
8614 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
8615 | instead of bfd_get_arch_size. Don't bail out just because | |
8616 | there's no exec_bfd. | |
abf22e64 | 8617 | |
34c0bd93 MS |
8618 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
8619 | * p-valprint.c (pascal_object_print_value): Ditto. | |
8620 | * somread.c (som_symtab_read): Ditto. | |
8621 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
8622 | * valops.c (value_assign): Ditto. | |
8623 | ||
21c1c920 MS |
8624 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
8625 | use tilde_expand and strerror for opening save-tracepoints file. | |
8626 | ||
5bbd998e MS |
8627 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
8628 | ||
94cd915f MS |
8629 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
8630 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 8631 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
8632 | can be overridden with whatever value is appropriate to the host). |
8633 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
8634 | alloca to allocate potentially large buffer. | |
8635 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
8636 | * symm-nat.c (child_xfer_memory): Ditto. | |
8637 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
8638 | ||
494e8a93 JSC |
8639 | 2002-01-07 Jackie Smith Cashion <[email protected]> |
8640 | ||
8641 | From Nick Clifton <[email protected]> | |
8642 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
8643 | ||
d0e1d48e MS |
8644 | 2002-01-07 Michael Snyder <[email protected]> |
8645 | ||
abf22e64 | 8646 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
8647 | Don't use exec_bfd if it's NULL. |
8648 | ||
290b2c7a MK |
8649 | 2002-01-06 Mark Kettenis <[email protected]> |
8650 | ||
abf22e64 | 8651 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 8652 | |
aef21287 AC |
8653 | 2002-01-06 Andrew Cagney <[email protected]> |
8654 | ||
8655 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
8656 | * gnu-nat.c: Ditto. | |
8657 | ||
30efa627 AC |
8658 | 2002-01-06 Andrew Cagney <[email protected]> |
8659 | ||
8660 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
8661 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
8662 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
8663 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
8664 | z8k-coff have not been multi-arched. Update z8k-coff build | |
8665 | status. | |
8666 | ||
9b4ff276 AC |
8667 | 2002-01-06 Andrew Cagney <[email protected]> |
8668 | ||
8669 | * MAINTAINERS: Mark a29k target as obsolete. | |
8670 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
8671 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
8672 | comments. | |
8673 | * NEWS: Note that a29k targets are obsolete. | |
8674 | * a29k-tdep.c: Mark as obsolete. | |
8675 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
8676 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
8677 | a29k-*-vxworks* targets as obsolete. | |
8678 | * remote-adapt.c: Obsolete. | |
8679 | * remote-eb.c: Obsolete. | |
8680 | * remote-mm.c: Obsolete. | |
8681 | * remote-udi.c: Obsolete. | |
8682 | * config/a29k/a29k-udi.mt: Obsolete. | |
8683 | * config/a29k/a29k.mt: Obsolete. | |
8684 | * config/a29k/tm-a29k.h: Obsolete. | |
8685 | * config/a29k/tm-vx29k.h: Obsolete. | |
8686 | * config/a29k/vx29k.mt: Obsolete. | |
8687 | ||
a9011d31 AC |
8688 | 2002-01-05 Andrew Cagney <[email protected]> |
8689 | ||
8690 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
8691 | with BFD_ENDIAN_BIG. | |
8692 | ||
9299404e AC |
8693 | 2002-01-05 Andrew Cagney <[email protected]> |
8694 | ||
8695 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
8696 | * configure, config.in: Re-generate. | |
8697 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
8698 | * defs.h: Do not include <endian.h>. | |
8699 | ||
7e89e357 JT |
8700 | 2002-01-05 Jason Thorpe <[email protected]> |
8701 | ||
8702 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
8703 | * config.in: Regenerate. | |
8704 | * configure.in: Update copyright years. | |
8705 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
8706 | * configure: Regenerate. | |
8707 | * i386bsd-nat.c: Update copyright years. | |
8708 | (fill_gregset): Use regcache_collect. | |
8709 | (fetch_inferior_registers): Only fetch integer registers | |
8710 | if requested to do so. Add support for XMM registers | |
8711 | using PT_GETXMMREGS. | |
8712 | (store_inferior_registers): Only store integer registers | |
8713 | if requested to do so. Add support for XMM registers | |
8714 | using PT_SETXMMREGS. | |
8715 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
8716 | (store_inferior_registers): Remove. | |
8717 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
8718 | (fetch_elfcore_registers): New function. | |
8719 | (i386nbsd_elfcore_fns): New. | |
8720 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
8721 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
8722 | i386bsd-nat.o. | |
8723 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
8724 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
8725 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
8726 | * config/i386/tm-nbsd.h: Update copyright years. | |
8727 | (HAVE_SSE_REGS): Define. | |
8728 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
8729 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
8730 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
8731 | (SIGCONTEXT_PC_OFFSET): Remove. | |
8732 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
8733 | ||
a752853e AC |
8734 | 2002-01-05 Andrew Cagney <[email protected]> |
8735 | ||
8736 | * configure.tgt: Remove powerpc-*-macos* target. | |
8737 | * config/m68k/xm-mpw.h: Delete file. | |
8738 | * config/xm-mpw.h: Delete file. | |
8739 | * ser-mac.c: Delete file. | |
8740 | * mpw-make.sed: Delete file. | |
8741 | * mpw-config.in: Delete file. | |
8742 | * mac-xdep.c: Delete file. | |
8743 | * mac-gdb.r: Delete file. | |
8744 | * mac-defs.h: Delete file. | |
8745 | * mac-nat.c: Delete file. | |
8746 | * config/powerpc/macos.mh: Delete file. | |
8747 | * config/powerpc/macos.mt: Delete file. | |
8748 | * config/powerpc/nm-macos.h: Delete file. | |
8749 | * config/powerpc/tm-macos.h: Delete file. | |
8750 | * source.c (openp, open_source_file): Remove obsolete code. | |
8751 | * top.c (gdb_readline): Ditto. | |
8752 | * utils.c (query): Ditto. | |
8753 | * event-top.c (display_gdb_prompt): Ditto. | |
8754 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
8755 | * NEWS: Update. | |
8756 | ||
d7449b42 AC |
8757 | 2002-01-04 Andrew Cagney <[email protected]> |
8758 | ||
8759 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
8760 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
8761 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
8762 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
8763 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
8764 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
8765 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
8766 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
8767 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
8768 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
8769 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
8770 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
8771 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
8772 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
8773 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
8774 | * gdbarch.c: Re-generate. | |
8775 | ||
356374e8 DJ |
8776 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
8777 | ||
8778 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
8779 | for core files. | |
8780 | ||
a2b8f8f8 JT |
8781 | 2002-01-04 Jason Thorpe <[email protected]> |
8782 | ||
8783 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
8784 | ||
12466af9 AC |
8785 | 2002-01-04 Andrew Cagney <[email protected]> |
8786 | ||
8787 | * value.h (value_ptr): Delete typedef. | |
8788 | ||
3549ab40 JT |
8789 | 2002-01-04 Jason Thorpe <[email protected]> |
8790 | ||
8791 | * i386nbsd-nat.c: Update copyright years. | |
8792 | Include i386-tdep.h. | |
8793 | ||
fedbd091 EZ |
8794 | 2002-01-04 Elena Zannoni <[email protected]> |
8795 | ||
8796 | * stabsread.c: Update copyright years. | |
8797 | ||
8798 | From Debashis Mahata <[email protected]>: | |
8799 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
8800 | output for structs and unions. | |
fec8b34f | 8801 | Fix PR gdb/269. |
fedbd091 | 8802 | |
eb43544b DJ |
8803 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
8804 | ||
8805 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
8806 | prototype. | |
8807 | ||
1514d34e DJ |
8808 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
8809 | ||
8810 | * cp-abi.c: Fix whitespace. | |
8811 | (baseclass_offset): New wrapper function. | |
8812 | * cp-abi.h (baseclass_offset): Add prototype. | |
8813 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
8814 | ||
8815 | * valops.c (vb_match): Move to... | |
8816 | * gnu-v2-abi.c (vb_match): here. | |
8817 | * valops.c (baseclass_offset): Move to... | |
8818 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
8819 | ||
8820 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
8821 | ||
8822 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
8823 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
8824 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
8825 | ||
7f8c9282 DJ |
8826 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
8827 | ||
8828 | * valops.c (find_overload_match): Accept obj as a | |
8829 | reference parameter. Update it before returning. | |
8830 | * value.h (find_overload_match): Update prototype. | |
8831 | * eval.c (evaluate_subexp_standard): Pass object to | |
8832 | find_overload_match by reference. | |
8833 | ||
f23631e4 AC |
8834 | 2002-01-03 Andrew Cagney <[email protected]> |
8835 | ||
8836 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
8837 | register attribute from value declarations. | |
8838 | * valops.c: Ditto. | |
8839 | * value.h: Ditto. | |
8840 | * scm-lang.c (scm_lookup_name): Ditto. | |
8841 | ||
79e10fab | 8842 | 2002-01-03 Michael Snyder <[email protected]> |
abf22e64 | 8843 | |
79e10fab AC |
8844 | Abstract the functionality of iterating over mapped memory |
8845 | regions into a general purpose iterator function. | |
abf22e64 | 8846 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
8847 | iterator for memory sections. |
8848 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
8849 | (solib_mappings_callback): New function, callback for above. | |
8850 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
8851 | (info_mappings_callback): New function, callback for above. | |
8852 | ||
8853 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
8854 | ||
c5ad026a MK |
8855 | 2002-01-01 Mark Kettenis <[email protected]> |
8856 | ||
d2a7c97a MK |
8857 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
8858 | * i386-tdep.c: Include "elf-bfd.h". | |
8859 | (process_note_abi_tag_sections): New function. | |
8860 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
8861 | combinations. | |
8862 | ||
c5ad026a MK |
8863 | * maint.c (_initialize_maint_cmds): Add missing \ in |
8864 | string-literal. | |
8865 | ||
a1a5b71e | 8866 | For older changes see ChangeLog-2001 |
c906108c SS |
8867 | \f |
8868 | Local Variables: | |
8869 | mode: change-log | |
8870 | left-margin: 8 | |
8871 | fill-column: 74 | |
8872 | version-control: never | |
8873 | End: |