]>
Commit | Line | Data |
---|---|---|
7b6aa020 ML |
1 | 2002-07-18 Michal Ludvig <[email protected]> |
2 | ||
09ec9b38 ML |
3 | * linux-low.c (regsets_store_inferior_registers): Add free() |
4 | at the end of a loop to prevent memory leak. | |
5 | * linux-x86-64-low.c (x86_64_regmap): Add CS, SS registers. | |
6 | (X86_64_NUM_GREGS): Count it from the size of x86_64_regmap. | |
7b6aa020 ML |
7 | * config/sparc/tm-sp64linux.h: Make the rest of #endif |
8 | line a comment. | |
4894ac5d | 9 | * Makefile.in (x86-64-linux-nat.o): Remove dependency on i387-tdep.h |
7b6aa020 | 10 | |
233282cd JB |
11 | 2002-07-17 Jim Blandy <[email protected]> |
12 | ||
13 | * macrocmd.c (info_macro_command): Remove newline from error | |
14 | message. | |
15 | ||
7b6aa020 | 16 | 2002-07-17 J"orn Rennecke <[email protected]> |
2f14585c JR |
17 | |
18 | * sh-tdep.c (sh_dsp_register_sim_regno): New function. | |
19 | (sh_gdbarch_init): Use it for sh-dsp. | |
20 | ||
f7ef9339 KB |
21 | 2002-07-16 Kevin Buettner <[email protected]> |
22 | ||
23 | * dwarf2read.c (read_initial_length): Handle older, non-standard, | |
24 | 64-bit DWARF2 format. | |
25 | ||
8dd72958 JB |
26 | 2002-07-16 Joel Brobecker <[email protected]> |
27 | ||
28 | * proc-api.c: use HAVE_SYS_PROC_H macro to avoid including | |
29 | <sys/proc.h> when not available. | |
30 | ||
a99a9e1b AC |
31 | 2002-07-16 Andrew Cagney <[email protected]> |
32 | ||
33 | * NEWS: Mention that the i[34]86-*-os9k has been made obsolete. | |
34 | * stabsread.c: Make os9k sections of the code obsolete. | |
35 | * configure.tgt: Make i[3456]86-*-os9k target obsolete. | |
36 | * config/i386/i386os9k.mt: Make file obsolete. | |
37 | * Makefile.in (ALLDEPFILES): Remove remote-os9k.c. | |
38 | (COMMON_OBS): Remove os9kread.o | |
39 | (SFILES): Remove os9kread.c. | |
40 | (os9kread.o, remote-os9k.o): Make target obsolete. | |
41 | * remote-os9k.c: Make file obsolete. | |
42 | * os9kread.c: Make file obsolete. | |
43 | * Makefile.in | |
44 | ||
7a3085c1 AC |
45 | 2002-07-16 Andrew Cagney <[email protected]> |
46 | ||
47 | * NEWS: Mention that the FR30 has been made obsolete. | |
48 | * fr30-tdep.c: Make file obsolete. | |
49 | * config/fr30/tm-fr30.h: Ditto. | |
50 | * config/fr30/fr30.mt: Ditto. | |
51 | * configure.tgt: Make fr30-*-elf obsolete. | |
52 | * MAINTAINERS: Make fr30-elf obsolete. | |
53 | ||
28a93f5a PM |
54 | 2002-07-16 Pierre Muller <[email protected]> |
55 | ||
56 | * blockframe.c (get_pc_function_start): return 0 if the minimal symbol | |
57 | found is not inside a section. | |
58 | ||
be006b8b KB |
59 | 2002-07-15 Kevin Buettner <[email protected]> |
60 | ||
61 | * aix-thread.c (ptrace_check): Use safe_strerror() instead of | |
62 | strerror(). | |
63 | (pdc_realloc): Use xrealloc() instead of realloc(). | |
64 | ||
14fa3751 KB |
65 | 2002-07-15 Kevin Buettner <[email protected]> |
66 | ||
67 | * aix-thread.c (PD_ERROR, CALL_BASE): Delete. | |
68 | (ops_resume, ops_wait, fetch_regs_lib, store_regs_lib) | |
69 | (ops_xfer_memory, ops_kill): Don't use PD_ERROR or CALL_BASE | |
70 | macros. | |
71 | ||
42cc437f KB |
72 | 2002-07-15 Kevin Buettner <[email protected]> |
73 | ||
74 | * aix-thread.c (ptrace_check): Eliminate goto. | |
75 | (sync_threadlists): Eliminate gotos. Also, fix array overrun | |
76 | problem. | |
77 | ||
8e2c28d4 KB |
78 | 2002-07-15 Kevin Buettner <[email protected]> |
79 | ||
80 | * aix-thread.c (gdbcmd.h): Include. | |
81 | (DEBUG, DBG, DBG2, dbg): Eliminate. | |
82 | (debug_aix_thread): New static global. | |
83 | (ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs) | |
84 | (pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc) | |
85 | (fetch_regs_lib, store_regs_lib, store_regs_kern): Rewrite | |
86 | invocations to DBG and DBG2 macros to test against | |
87 | ``debug_aix_thread'' and call fprintf_unfiltered(). | |
88 | (_initialize_aix_thread): Add new command "set debug aix-thread". | |
89 | ||
30413464 AC |
90 | 2002-07-15 Andrew Cagney <[email protected]> |
91 | ||
92 | From Gerhard Tonn <[email protected]>: | |
93 | * s390-nat.c (fill_fpregset, fill_gregset): Use regcache_collect | |
94 | instead of supply_register. | |
95 | ||
7c43edc1 AC |
96 | 2002-07-15 Andrew Cagney <[email protected]> |
97 | ||
98 | * dwarf2cfi.c: Include "gdb_assert.h". | |
99 | (frame_state_for): Use gdb_assert to check that fde->cie_ptr is | |
100 | non-NULL. | |
101 | (update_context): Do not use __func__. Add missing ``break''. | |
102 | (update_context): Do not use __func__. | |
103 | ||
9364a0ef EZ |
104 | 2002-07-15 Elena Zannoni <[email protected]> |
105 | ||
106 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove variable print_insn | |
107 | and its setting. Set gdbarch instruction printing functions | |
108 | directly. For non-rs6000 case use new function | |
109 | gdb_print_insn_powerpc. | |
110 | (gdb_print_insn_powerpc): New function. | |
111 | ||
3fbeef0b AC |
112 | 2002-07-13 Andrew Cagney <[email protected]> |
113 | ||
92eb23c5 | 114 | * NEWS: Mention that the d30v has been marked obsolete. |
3fbeef0b AC |
115 | * MAINTAINERS: Note that d30v / d30v-elf has been made obsolete. |
116 | * configure.tgt: Mark d30v-*-* as obsolete. | |
117 | * d30v-tdep.c: Mark file as obsolete. | |
118 | * config/d30v/d30v.mt: Ditto. | |
119 | * config/d30v/tm-d30v.h: Ditto. | |
120 | ||
aacb1f0a AS |
121 | 2002-07-13 Aidan Skinner <[email protected]> |
122 | ||
123 | * ada-tasks.c (add_task_entry): replace calls to | |
124 | malloc() with xmalloc | |
125 | * ada-tasks.c (init_task_list): replace calls to free with xfree() | |
126 | ||
127 | * ada-lang.c (replace_operator_with_call, fill_in_ada_prototype, | |
128 | ada_finish_decode_line_1, all_sals_for_line | |
129 | ada_breakpoint_rewrite): replace calls to free() with xfree() | |
130 | ||
c11d79f2 KB |
131 | 2002-07-12 Kevin Buettner <[email protected]> |
132 | ||
133 | From Nicholas Duffek (with minor changes by Martin Hunt, | |
134 | Louis Hamilton, and Kevin Buettner): | |
135 | * aix-thread.c: New file. | |
136 | ||
8e19ed76 PS |
137 | 2002-07-12 Petr Sorfa <[email protected]> |
138 | ||
139 | * dwarf2read.c (dwarf2_invalid_attrib_class): New | |
140 | complaint for invalid attribute class or form. | |
141 | (read_func_scope): DW_AT_frame_base | |
142 | better handling of DW_AT_block*. | |
143 | (dwarf2_add_member_fn): DW_AT_vtable_elem_location | |
144 | better handling of DW_AT_block*. | |
145 | (read_common_block): DW_AT_location | |
146 | better handling of DW_AT_block*. | |
147 | (read_partial_die): DW_AT_location better handling | |
148 | of DW_AT_block*. | |
149 | (new_symbol): DW_AT_external better handling of | |
150 | DW_AT_block*. Proper initialization of variable | |
151 | "addr". | |
152 | (attr_form_is_block): New function that returns true | |
153 | if the attribute's form is of DW_FORM_block*. | |
154 | ||
295401f7 DJ |
155 | 2002-07-12 Peter Schauer <[email protected]> |
156 | ||
157 | * valops.c (find_method_list): Remove comment about | |
158 | removed STATIC_MEMFUNCP argument. | |
159 | (value_find_oload_method_list): Likewise. | |
160 | ||
e42dc924 KB |
161 | 2002-07-12 Kevin Buettner <[email protected]> |
162 | ||
163 | From Nicholas Duffek: | |
164 | * rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call | |
165 | target_new_objfile_hook. | |
166 | ||
6904b546 KB |
167 | 2002-07-12 Kevin Buettner <[email protected]> |
168 | ||
169 | From Nicholas Duffek: | |
170 | * xcoffread.c (scan_xcoff_symtab): Recognize XMC_TD as a data storage | |
171 | csect. | |
172 | ||
53fe9346 AC |
173 | 2002-07-12 Andrew Cagney <[email protected]> |
174 | ||
175 | * MAINTAINERS: Mention --enable-sim-build-warnings. | |
176 | (m68hc11-elf): Disable sim build warnings. | |
177 | (m32r-elf): Mark as broken obsolete candidate. | |
178 | (x86_64-linux-gnu): Mark as buildable with -Werror. | |
179 | (arm-elf): Change -w to ``,'' which enables warnings but not | |
180 | -Werror. | |
181 | ||
af5f3db6 AC |
182 | 2002-07-12 Andrew Cagney <[email protected]> |
183 | ||
184 | * bcache.h: Update copyright. | |
185 | (struct bstring, struct bcache): Move definition to "bcache.c". | |
186 | Replaced by opaque declaration. | |
187 | (bcache_xfree): Replace free_bcache. | |
188 | (bcache_xmalloc, bcache_memory_used): Declare. | |
189 | ||
190 | * bcache.c: Update copyright. | |
191 | (struct bstring, struct bcache): Moved to here from "bcache.h". | |
192 | Update comments. | |
193 | (bcache_xmalloc, bcache_memory_used): New functions. | |
194 | (bcache_xfree): Replace function free_bcache. | |
195 | ||
196 | * Makefile.in (objfiles.o): Add $(bcache_h). | |
197 | (objfiles_h): Remove $(bcache_h). | |
198 | (symfile.o): Add $(bcache_h). | |
199 | ||
200 | * symmisc.c: Update copyright. | |
201 | (print_symbol_bcache_statistics): Pass psymbol_cache by value. | |
202 | (print_objfile_statistics): Use bcache_memory_used. | |
203 | ||
204 | * symfile.c: Include "bcache.h". | |
205 | (reread_symbols): Use bcache_xfree. | |
206 | (reread_symbols): Use bcache_xmalloc and bcache_xfree. | |
207 | (add_psymbol_to_list): Pass psymbol_cache by value. | |
208 | (add_psymbol_with_dem_name_to_list): Ditto. | |
209 | ||
210 | * objfiles.h: Update copyright. | |
211 | (struct bcache): Declare opaque. Do not include "bcache.h". | |
212 | (struct objfile): Change psymbol_cache and macro_cache to ``struct | |
213 | bcache'' pointers. | |
214 | * dwarf2read.c (macro_start_file): Pass macro_cache by value. | |
215 | ||
216 | * objfiles.c: Include "bcache.h". Update copyright. | |
217 | (allocate_objfile): Use bcache_xmalloc to create psymbol_cache and | |
218 | macro_cache. | |
219 | (free_objfile): Use bcache_xfree. | |
220 | ||
444199e7 GS |
221 | 2002-07-11 Grace Sainsbury <[email protected]> |
222 | ||
223 | * monitor.c (monitor_fetch_register): Make name a constant. | |
224 | (monitor_store_register): Same. | |
225 | ||
261397f8 DJ |
226 | 2002-07-11 Daniel Jacobowitz <[email protected]> |
227 | ||
228 | Based on patch from Daniel Berlin <[email protected]>. | |
229 | * buildsym.c: Include "demangle.h" for SYMBOL_INIT_DEMANGLED_NAME. | |
230 | (finish_block) For non-function blocks, hash the symbol table. For | |
231 | function blocks, mark the symbol table as unhashed. | |
232 | * minsyms.c (msymbol_hash): Return hash value without taking modulus. | |
233 | (msymbol_hash_iw): Likewise. | |
234 | (add_minsym_to_hash_table): Take modulus of msymbol_hash's return | |
235 | value. | |
236 | (add_minsym_to_demangled_hash_table): Likewise for msymbol_hash_iw. | |
237 | (lookup_minimal_symbol): Likewise for both. | |
238 | * symtab.h (struct block): Add `hashtable' flag. Comment the | |
239 | hashtable. | |
240 | (BLOCK_HASHTABLE, BLOCK_BUCKETS, BLOCK_BUCKET): New macro. | |
241 | (ALL_BLOCK_SYMBOLS): Update. | |
242 | (BLOCK_SHOULD_SORT): Do not sort hashed blocks. | |
243 | (struct symbol): Add `hash_next' pointer. | |
244 | * symtab.c (lookup_block_symbol): Search using the hash table when | |
245 | possible. | |
246 | (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS. | |
247 | (search_symbols, find_addr_symbol): Likewise. | |
248 | ||
249 | * dstread.c (process_dst_block): Clear hashtable bit for new block. | |
250 | (read_dst_symtab): Likewise. | |
251 | * jv-lang.c (get_java_class_symtab): Likewise. | |
252 | * mdebugread.c: Include "gdb_assert.h". | |
253 | (shrink_block): Assert that the block being modified is not hashed. | |
254 | * coffread.c (patch_opaque_types): Use ALL_BLOCK_SYMBOLS. | |
255 | * symmisc.c (free_symtab_block): Walk the hash table when freeing | |
256 | symbols. | |
257 | (dump_symtab): Recognize hashed blocks. | |
258 | * printcmd.c (print_frame_args): Assert that function blocks do not | |
259 | have hashed symbol tables. | |
260 | * ada-lang.c (symtab_for_sym): Use ALL_BLOCK_SYMBOLS. | |
261 | (fill_in_ada_prototype, debug_print_block): Likewise. | |
262 | (ada_add_block_symbols): Use ALL_BLOCK_SYMBOLS. Handle hash tables. | |
263 | ||
6f0eaa01 CV |
264 | 2002-07-11 Corinna Vinschen <[email protected]> |
265 | ||
266 | * stack.c (print_frame): Use result of frame_address_in_block() | |
267 | instead of fi->pc when evaluating symbols. | |
268 | (backtrace_command_1): Ditto. | |
269 | ||
a208b0cb AC |
270 | 2002-07-11 Andrew Cagney <[email protected]> |
271 | ||
272 | * cris-tdep.c (cris_saved_pc_after_call): Fix parameter type. | |
273 | Make static. | |
274 | ||
275 | * arm-tdep.c (arm_register_name): Make return type constant. | |
276 | ||
a6b6b089 AC |
277 | 2002-07-10 Andrew Cagney <[email protected]> |
278 | ||
5ae5f592 AC |
279 | * win32-nat.c (has_detach_ability): Convert to strict ISO C |
280 | prototype. | |
281 | * top.c (gdb_rl_operate_and_get_next_completion): Ditto. | |
282 | * s390-tdep.c (s390_fp_regnum): Ditto. | |
283 | (s390_read_fp): Ditto. | |
284 | (s390_pop_frame): Ditto. | |
285 | (_initialize_s390_tdep): Ditto. | |
286 | * remote.c (get_remote_state): Ditto. | |
287 | * procfs.c (mappingflags): Ditto. | |
288 | * memattr.c (_initialize_mem): Ditto. | |
289 | * mcore-tdep.c (mcore_pop_frame): Ditto. | |
290 | * m68klinux-nat.c (_initialize_m68k_linux_nat): Ditto. | |
291 | * m68k-tdep.c (m68k_register_bytes_ok): Ditto. | |
292 | * language.c (set_case_str): Ditto. | |
293 | * gnu-v3-abi.c (vtable_address_point_offset): Ditto. | |
294 | * frv-tdep.c (new_variant): Ditto. | |
295 | (frv_stopped_data_address): Ditto. | |
296 | * dwarf2cfi.c (fde_chunks_need_space): Ditto. | |
297 | (context_alloc): Ditto. | |
298 | (frame_state_alloc): Ditto. | |
299 | (unwind_tmp_obstack_init): Ditto. | |
300 | (unwind_tmp_obstack_free): Ditto. | |
301 | (cfi_read_fp): Ditto. | |
302 | * cris-tdep.c (cris_saved_pc_after_call): Ditto. | |
303 | (cris_pop_frame): Ditto. | |
304 | * c-lang.c (scanning_macro_expansion): Ditto. | |
305 | (finished_macro_expansion): Ditto. | |
306 | (c_preprocess_and_parse): Ditto. | |
307 | * gdbarch.sh: Ditto. | |
308 | * gdbarch.h, gdbarch.c: Regenerate. | |
309 | * config/mn10200/tm-mn10200.h: Adjust indentation. | |
310 | * target.c: Adjust indentation. | |
311 | * symtab.h: Adjust indentation. | |
312 | * stabsread.h: Adjust indentation. | |
313 | * remote-es.c: Adjust indentation. | |
314 | * os9kread.c: Adjust indentation. | |
315 | ||
316 | 2002-07-10 Andrew Cagney <[email protected]> | |
317 | ||
a6b6b089 AC |
318 | * wince.c (_initialize_wince): Rename _initialize_inftarg. |
319 | * win32-nat.c (_initialize_win32_nat): Rename _initialize_inftarg. | |
320 | ||
a1789893 GS |
321 | 2002-07-10 Grace Sainsbury <[email protected]> |
322 | ||
323 | * NEWS: Mention m68k, mcore multi-arching. | |
324 | * MAINTAINERS: Change status of m68k, mcore to reflect | |
325 | multi-arching. | |
326 | ||
02f0d45d DJ |
327 | 2002-07-10 Daniel Jacobowitz <[email protected]> |
328 | ||
329 | * valops.c (find_overload_match): Free oload_syms. | |
330 | ||
f15f768e JB |
331 | 2002-07-09 Joel Brobecker <[email protected]> |
332 | ||
333 | Define HAVE_SYS_PROC_H if sys/proc.h exists | |
334 | * configure.in: Add check for sys/proc.h | |
335 | * config.in: Regenerate. | |
336 | * configure: Regenerate. | |
337 | ||
902a7139 GS |
338 | 2002-07-09 Grace Sainsbury <[email protected]> |
339 | ||
340 | * config/m68k/tm-m68k.h: Remove macros wrapped in | |
341 | #if !GDB_MULTI_ARCH. | |
342 | ||
82e0fd98 DB |
343 | 2002-07-09 David O'Brien <[email protected]> |
344 | ||
345 | * gdbserver/gdbreplay.c (stdlib.h, unistd.h): Conditionaly include. | |
346 | (perror_with_name, remote_close, remote_open, expect, play): Static. | |
347 | ||
a534e424 AC |
348 | 2002-07-08 Andrew Cagney <[email protected]> |
349 | ||
350 | * config.in, configure: Regenerate. | |
351 | ||
9b94f7bf MK |
352 | 2002-07-08 Mark Kettenis <[email protected]> |
353 | ||
354 | * dwarf2cfi.c: Include "gcore.h". | |
355 | (execute_stack_op): Fix implementation of the | |
356 | DW_OP_deref and DW_OP_deref_size operators by letting do their | |
357 | lookup in the target. | |
358 | ||
1d34db41 MK |
359 | 2002-07-07 Mark Kettenis <[email protected]> |
360 | ||
361 | From Peter Schauer <[email protected]>: | |
362 | * i386-sol2-tdep.c (i386_sol2_init_abi): Correct value for | |
363 | tdep->sc_sp_offset. | |
364 | ||
79d5b63a DJ |
365 | 2002-07-05 Daniel Jacobowitz <[email protected]> |
366 | ||
367 | Fix PR gdb/595, gdb/602 | |
368 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Remove unused variables. | |
369 | Don't call value_cast, just read the vtable pointer; update comments | |
370 | to match. | |
371 | ||
3bb912e8 GS |
372 | 2002-07-05 Grace Sainsbury <[email protected]> |
373 | ||
374 | * config/mcore/tm-mcore.h: Remove file. | |
375 | * config/mcore/mcore.mt: Remove definition of TM_FILE | |
376 | * configure.tgt: Set gdb_multi_arch to yes for the mcore target. | |
377 | ||
ca39387d MK |
378 | 2002-07-05 Mark Kettenis <[email protected]> |
379 | ||
380 | * i386bsd-tdep.c: Include "gdb_string.h". | |
381 | ||
efdc1108 GS |
382 | 2002-07-04 Grace Sainsbury <[email protected]> |
383 | ||
384 | * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Set to 2. | |
385 | (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG,RETVAL_REGNUM): Move to | |
386 | mcore-tdep. | |
387 | (REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER) | |
388 | (TARGET_VIRTUAL_FRAME_POINTER, BELIEVE_PCC_PROMOTION): Remove. | |
389 | * mcore-tdep.c (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG) | |
390 | (RETVAL_REGNUM): Move macros from tm-mcore.h | |
391 | (mcore_reg_struct_has_addr): New function. | |
392 | (mcore_gdbarch_init): Added initializations for the macros removed | |
393 | from tm-mcore.h. | |
394 | ||
bb21884d MK |
395 | 2002-07-04 Mark Kettenis <[email protected]> |
396 | ||
397 | * osabi.c (generic_elf_osabi_sniffer): Add check for FreeBSD 3.x's | |
398 | traditonal string branding within the ELF header. | |
399 | ||
228c6d41 DJ |
400 | 2002-07-04 Daniel Jacobowitz <[email protected]> |
401 | ||
402 | * symtab.c (remove_params): New function. | |
403 | (make_symbol_overload_list): Use it instead of cplus_demangle. | |
404 | (overload_list_add_symbol): Likewise. Reorder. Fix memory leak. | |
405 | ||
2404952e MK |
406 | 2002-07-04 Mark Kettenis <[email protected]> |
407 | ||
e5e4acad MK |
408 | * i386obsd-nat.c (_initialize_i386obsd_nat): Fix typo in prototype. |
409 | ||
baadce09 MK |
410 | * i386bsd-tdep.c (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end): |
411 | New variables. | |
412 | (i386nbsd_init_abi): Use these to initialize tdep->sigtramp_start | |
413 | and tdep->sigtramp_end. | |
414 | * i386obsd-nat.c: New file. | |
415 | * config/i386/obsd.mh (NATDEPFILES): Add i386obsd-nat.o. | |
416 | ||
2404952e MK |
417 | * dwarf2cfi.c (cfi_pop_frame): Use alloca() for regbuf. |
418 | Don't call get_current_frame(). | |
419 | ||
9b4f1ba7 PM |
420 | 2002-07-04 Pierre Muller <[email protected]> |
421 | ||
422 | * i386-nat.c (child_post_startup_inferior): New function | |
423 | calling i386_cleanup_dregs if | |
424 | I386_USE_GENERIC_WATCHPOINTS is defined. | |
425 | * config/i386/nm-i386.h: define CHILD_POST_STARTUP_INFERIOR | |
426 | conditional to acknowledge that i386-nat.c has its | |
427 | own child_post_startup_inferior function. | |
428 | ||
c0d1d883 MK |
429 | 2002-07-04 Mark Kettenis <[email protected]> |
430 | ||
00f8375e MK |
431 | * i386-tdep.h (I386_MAX_REGISTER_SIZE): New define. |
432 | * i386-tdep.c (i386_do_pop_frame): Use I386_MAX_REGISTER_SIZE | |
433 | instead of MAX_REGISTER_RAW_SIZE. | |
434 | (i386_extract_return_value, i386_extract_struct_value_address): | |
435 | Convert to use regcache. | |
436 | (i386_gdbarch_init): Set max_register_raw_size and | |
437 | max_register_virtual_size to I386_MAX_REGISTER_SIZE. | |
438 | Set extract_return_value and extract_struct_value_address instead | |
439 | of their deprecated variants. | |
440 | ||
c0d1d883 MK |
441 | Convert i386 target to generic dummy frames. |
442 | * i386-tdep.c: Include "symfile.h". | |
443 | (i386_frameless_signal_p): Consider a function to be frameless if | |
444 | the pc points at the first instruction of the function. | |
445 | (i386_frame_chain): Handle (generic) call dummies. | |
446 | (i386_frame_saved_pc): Likewise. | |
447 | (i386_frame_init_saved_regs): Remove code dealing with call | |
448 | dummies on the stack. | |
449 | (i386_push_dummy_frame): Removed. | |
450 | (i386_call_dummy_words): Removed. | |
451 | (i386_fix_call_dummy): Removed. | |
452 | (i386_push_return_address): New function. | |
453 | (i386_do_pop_frame): Renamed from i386_pop_frame. Add FRAME | |
454 | parameter, and don't call get_current_frame. | |
455 | (i386_pop_frame): New function. | |
456 | (i386_gdbarch_init): Set use_generic_dummy_frames to 1, set | |
457 | call_dummy_location to AT_ENTRY_POINT, set call_dummy_address to | |
458 | entry_point_address, set call_dummy_breakpoint_offset to 0, set | |
459 | call_dummy_length to 0, set call_dummy_words to NULL, set | |
460 | sizeof_call_dummy_words to 0, set fix_call_dummy to | |
461 | generic_fix_call_dummy, set pc_in_call_dummy to | |
462 | pc_in_call_dummy_at_entry_point, set push_dummy_frame to | |
463 | generic_push_dummy_frame, set push_return_address to | |
464 | i386_push_return_address and set frame_chain_valid to | |
465 | generic_file_frame_chain_valid. | |
466 | ||
638c1580 ML |
467 | 2002-07-04 Michal Ludvig <[email protected]> |
468 | ||
469 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Make it an array of | |
470 | byte offsets instead of an array of indexes. | |
471 | (x86_64_store_gregset, x86_64_store_fpregset): Parameter made const. | |
472 | ||
049ee0e4 AC |
473 | 2002-07-03 Andrew Cagney <[email protected]> |
474 | ||
475 | * gdbarch.sh (struct regcache): Add opaque declaration. | |
476 | (EXTRACT_RETURN_VALUE): New architecture method. | |
477 | (EXTRACT_STRUCT_VALUE_ADDRESS): Ditto. | |
478 | * gdbarch.h, gdbarch.c: Regenerate. | |
479 | * arch-utils.c (legacy_extract_return_value): New function. | |
480 | * arch-utils.h (legacy_extract_return_value): Declare. | |
481 | * values.c (value_being_returned): Re-enable code handling | |
482 | EXTRACT_STRUCT_VALUE_ADDRESS. Move | |
483 | deprecated_grub_regcache_for_registers call to block handling | |
484 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
485 | (EXTRACT_RETURN_VALUE): Do not define. | |
486 | ||
4e0d9804 GS |
487 | 2002-07-03 Grace Sainsbury <[email protected]> |
488 | ||
489 | * config/mcore/tm-mcore.h (REGISTER_BYTES, NUM_REGS, PC_REGNUM) | |
490 | (SP_REGNUM, FP_REGNUM, FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK) | |
491 | (BREAKPOINT_FROM_PC, INNER_THAN, SAVED_PC_AFTER_CALL) | |
492 | (INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS, INIT_FRAME_PC) | |
493 | (FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC) | |
494 | (STORE_RETURN_VALUE, DEPRECATED_EXTRACT_RETURN_VALUE) | |
495 | (STORE_STRUCT_RETURN, DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS) | |
496 | (SKIP_PROLOGUE, FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS) | |
497 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, POP_FRAME) | |
498 | (PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME, PUSH_ARGUMENTS): Remove. | |
499 | * mcore-tdep.c (mcore_init_extra_frame_info): Add fromleaf | |
500 | argument so the function fits the prototype in the architecture | |
501 | vector. | |
502 | (mcore_pop_frame): Remove argument so the function fits the | |
503 | prototype. Use get_current_frame instead of the argument. | |
504 | (mcore_push_arguments): Change type of struct_return so the | |
505 | function can be used in the architecture vector. | |
506 | (mcore_store_struct_return): Add. | |
507 | (mcore_frame_init_saved_regs): Add. | |
508 | (mcore_gdbarch_init): Add function calls to replace the macros | |
509 | removed from tm-mcore.h | |
510 | ||
36160dc4 AC |
511 | 2002-07-03 Andrew Cagney <[email protected]> |
512 | ||
513 | * infcmd.c (print_return_value): Remove compatibility code calling | |
514 | deprecated_grub_regcache_for_registers. | |
515 | ||
516 | * values.c: Include "regcache.h". | |
517 | (value_being_returned): Update. Use | |
518 | deprecated_grub_regcache_for_registers to extract the register | |
519 | buffer address. | |
520 | * value.h (value_being_returned): Change ``retbuf'' parameter to a | |
521 | ``struct regcache''. | |
522 | * Makefile.in (values.o): Add dependency on $(regcache_h). | |
523 | ||
524 | * inferior.h (run_stack_dummy): Change type of second parameter to | |
525 | a ``struct regcache''. | |
526 | * valops.c (hand_function_call): Change type of retbuf to ``struct | |
527 | regcache''. Allocate using regcache_xmalloc, clean using | |
528 | make_cleanup_regcache_xfree. | |
529 | * infcmd.c (run_stack_dummy): Update. Use | |
530 | regcache_cpu_no_passthrough instead of memcpy to copy the buffer. | |
531 | ||
532 | * regcache.c (do_regcache_xfree): New function. | |
533 | (make_cleanup_regcache_xfree): New function. | |
534 | * regcache.h (make_cleanup_regcache_xfree): Declare. | |
535 | ||
e64d9b3d MH |
536 | 2002-07-03 Martin M. Hunt <[email protected]> |
537 | ||
4dd79c29 MH |
538 | * event-top.c (command_line_handler): Don't read past |
539 | beginning of buffer. | |
e64d9b3d | 540 | |
4dd79c29 MH |
541 | 2002-07-03 Martin M. Hunt <[email protected]> |
542 | ||
e64d9b3d MH |
543 | * varobj.c (struct varobj_root): Change frame from CORE_ADDR to |
544 | struct frame_id. | |
545 | (varobj_create): Store frame_id for root. | |
546 | (varobj_gen_name): Use xasprintf. | |
547 | (varobj_update): Save and restore frame using get_frame_id() and | |
548 | frame_find_by_id(). | |
549 | (create_child): Use xasprintf. | |
550 | (new_root_variable): Initialize frame_id. | |
551 | (c_name_of_child): Use xasprintf. Call find_frame_by_id(). | |
552 | (c_value_of_variable): Use xasprintf. Move mem_fileopen call | |
553 | to prevent memory leak. | |
554 | ||
26e6c56a AC |
555 | 2002-07-03 Andrew Cagney <[email protected]> |
556 | ||
557 | * valops.c (hand_function_call): Move declaration of retbuf to | |
558 | start of function, allocate using malloc, add a cleanup but before | |
559 | the inf_status cleanup, cleanup the buffer. Rename local variable | |
560 | old_chain to inf_status_cleanup. | |
561 | ||
f436dd25 MH |
562 | 2002-07-03 Martin M. Hunt <[email protected]> |
563 | ||
564 | * top.c (execute_command): Use cmd_func() and cmd_func_p(). | |
565 | ||
566 | * cli/cli-decode.c (cmd_func_p): New function. | |
567 | (cmd_func): New function. | |
568 | ||
569 | * command.h: Add cmd_func() and cmd_func_p(). | |
570 | ||
4cfe2084 GS |
571 | 2002-07-03 Grace Sainsbury <[email protected]> |
572 | ||
573 | * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Add macro. Set to 0. | |
574 | (REGISTER_SIZE): Remove. | |
575 | (MAX_REGISTER_RAW_SIZE): Remove. | |
576 | (REGISTER_VIRTUAL_TYPE): Remove. | |
577 | (MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
578 | (REGISTER_NAME): Remove. | |
579 | (USE_GENERIC_DUMMY_FRAMES): Remove. | |
580 | (CALL_DUMMY): Remove. | |
581 | (CALL_DUMMY_START_OFFSET): Remove. | |
582 | (CALL_DUMMY_BREAKPOINT_OFFSET): Remove. | |
583 | (CALL_DUMMY_LOCATION): Remove. | |
584 | (FIX_CALL_DUMMY): Remove. | |
585 | (CALL_DUMMY_ADDRESS): Remove. | |
586 | (SIZEOF_CALL_DUMMY_WORDS): Remove. | |
587 | (SAVE_DUMMY_FRAME_TOS): Remove. | |
588 | * mcore-tdep.c (MCORE_REG_SIZE, MCORE_NUM_REGS): Add macros. | |
589 | (mcore_register_virtual_type): New function. | |
590 | (mcore_register_byte): New function. | |
591 | (mcore_register_size): New function. | |
592 | (mcore_register_name): New function. | |
593 | (mcore_gdbarch_init): New function. Add set_gdbarch calls for | |
594 | macros removed from tm-mcore.h. | |
595 | (mcore_dump_tdep): Add. | |
596 | (_initialize_mcore_tdep): Add gdbarch_register call. | |
597 | ||
4fd667e9 MK |
598 | 2002-07-03 Mark Kettenis <[email protected]> |
599 | ||
600 | * i386-tdep.c (i386_frameless_signal_p): Provide an argument in to | |
601 | frameless_look_for_prologue, such that we actually call this | |
602 | function. | |
603 | ||
42f99ac2 JB |
604 | 2002-07-02 Joel Brobecker <[email protected]> |
605 | ||
606 | * frame.h (frame_address_in_block): New function. | |
607 | ||
608 | * blockframe.c (frame_address_in_block): New function extracted | |
609 | from get_frame_block(). | |
610 | (get_frame_block): Use frame_address_in_block(). | |
611 | (block_innermost_frame): Use frame_address_in_block() to match | |
612 | the frame pc address against the block boundaries rather than | |
613 | the frame pc directly. This prevents a failure when a frame pc | |
614 | is actually a return-address pointing immediately after the end | |
615 | of the given block. | |
616 | ||
103a1597 | 617 | 2002-07-02 Grace Sainsbury <[email protected]> |
83b4a0fe GS |
618 | |
619 | * MAINTAINERS: Add self under write after approval. | |
620 | ||
621 | 2002-07-02 Grace Sainsbury <[email protected]> | |
622 | ||
103a1597 GS |
623 | * m68k-tdep.c (m68k_remote_breakpoint_from_pc): Add. Currently not |
624 | used in architecture vector. The default is | |
625 | m68k_local_breakpoint_from_pc. | |
626 | (m68k_local_breakpoint_from_pc): Add. | |
627 | (enum): Add register numbers from tm-m68k.h. | |
628 | (m68k_gdbarch_init): Add breakpoint_from_pc to architecture | |
629 | vector. | |
630 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Set to | |
631 | GDB_MULTI_ARCH_PARTIAL. | |
632 | (BPT_VECTOR, REGISTER_BYTES_FP, REGISTER_BYTES_NOFP) | |
633 | (NUM_FREGS, SIG_PC_FP_OFFSET, SP_ARG0, REMOTE_BPT_VECTOR): Move to | |
634 | m68k-tdep.c. | |
635 | (BREAKPOINT, REMOTE_BREAKPOINT): Remove. | |
636 | (A1_REGNUM, FP0_REGNUM, FPC_REGNUM, FPS_REGNUM, FPI_REGNUM): Move | |
637 | to enum in m68k-tdep.c | |
638 | ||
7a5a0534 JB |
639 | 2002-07-02 Joel Brobecker <[email protected]> |
640 | ||
641 | * solib-osf.c (open_map): Compute the list of shared libraries | |
642 | loaded by the inferior, rather than the list of libraries loaded | |
643 | by GDB itself. Otherwise, GDB ends up reading the symbols from | |
644 | the wrong shared libraries... | |
645 | ||
6f558d74 MK |
646 | 2002-07-02 Mark Kettenis <[email protected]> |
647 | ||
b7d15bf7 MK |
648 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Make static. |
649 | (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONEXT_SP_OFFSET): Remove | |
650 | macros. | |
651 | (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp): | |
652 | Remove functions. | |
653 | (FRAMELESS_SIGNAL): Remove function. | |
654 | (i386_linux_frame_chain, i386_linux_frame_saved_pc, | |
655 | i386_linux_saved_pc_after_call): Removed. | |
656 | (i386_linux_init_abi): Initialize tdep->sigcontext_addr, | |
657 | tdep->sc_pc_offset and tdep->sc_sp_offset. Don't override | |
658 | frame_chain, frame_saved_pc and saved_pc_after_call any longer. | |
659 | ||
6bff26de MK |
660 | * i386-tdep.c (i386_frameless_signal_p): New function. |
661 | (i386_frame_chain): Deal with frameless signals. | |
662 | (i386_sigtramp_saved_sp): New function. | |
663 | (i386_frame_saved_pc): Deal with frameless signals. | |
664 | (i386_saved_pc_after_call): Make sure the correct value is | |
665 | returned just after entry into a sigtramp. | |
666 | * i386bsd-tdep.c (i386bsd_sc_sp_offset, i386nbsd_sc_sp_offset, | |
667 | i386fbsd4_sc_sp_offset): New variables. | |
668 | (i386bsd_init_abi, i386nbsd_init_abi, i386fbsd4_init_abi): Use | |
669 | these variables to initialize tdep->sc_sp_offset. * i386bsd-nat.c | |
670 | (_initialize_i386bsd_nat): Add sanity check for sc_sp_offset | |
671 | similiar to what we already did for sc_pc_offset. | |
672 | * i386-sol2-tdep.c (i386_sol2_init_abi): Initialize | |
673 | tdep->sc_sp_offset. | |
674 | ||
6f558d74 MK |
675 | * i386nbsd-tdep.c (fetch_elfcore_registers): Wrap long line. |
676 | ||
145564b7 ML |
677 | 2002-07-02 Michal Ludvig <[email protected]> |
678 | ||
679 | * config/i386/tm-x86-64linux.h: New. | |
680 | * config/i386/x86-64linux.mt: Add GDB_MULTI_ARCH and TM_FILE | |
681 | definitions. | |
682 | * config/i386/nm-x86-64.h: Rename to ... | |
683 | * config/i386/nm-x86-64linux.h: ... this one. | |
684 | * config/i386/x86-64linux.mh: Reflect the above change. | |
685 | ||
3a1e71e3 MK |
686 | 2002-07-01 Mark Kettenis <[email protected]> |
687 | ||
21d0e8a4 MK |
688 | * i386-tdep.h (struct gdbarch_tdep): Replace sigtramp_saved_pc |
689 | with sigcontext_addr. Add sc_sp_offset. | |
690 | (i386bsd_sigtramp_saved_pc): Remove prototype. | |
691 | (i386bsd_sicontext_addr): Add prototype. | |
692 | * i386-tdep.c (i386_sigtramp_saved_pc): New function. | |
693 | (i386_frame_saved_pc): Rewrite to call i386_sigtramp_saved_pc. | |
694 | (i386_svr4_sigtramp_saved_pc): Removed. | |
695 | (i386_svr4_sigcontext_addr): New function. | |
696 | (i386_svr4_init_abi): Don't initialize tdep->sigtramp_saved_pc. | |
697 | Initialize tdep->sigcontext_addr instead. Initialize | |
698 | tdep->sc_pc_offset and tdep->sc_sp_offset. | |
699 | (i386_gdbarch_init): Likewise. | |
700 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Don't make it static | |
701 | any more. | |
702 | (i386bsd_sigtramp_saved_pc): Remove function. | |
703 | (i386bsd_init_abi): Don't initialize tdep->sigtramp_saved_pc. | |
704 | Initialize tdep->sigcontext_addr instead. Initialize | |
705 | tdep->sc_pc_offset. | |
706 | * i386-linux-tdep.c (i386_linux_init_abi): Remove initialization | |
707 | of tdep->sigtramp_saved_pc. | |
708 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't initialize | |
709 | tdep->sigtramp_saved_pc. Initialize tdep->sigcontext_addr | |
710 | instead. | |
711 | ||
3a1e71e3 MK |
712 | * i386-tdep.c (i386_frameless_function_invocation, |
713 | i386_frame_num_args, i386_frame_init_saved_regs, | |
714 | i386_skip_prologue, i386_push_dummy_frame, i386_fix_call_dummy, | |
715 | i386_pop_frame, i386_push_arguments, i386_store_struct_return, | |
716 | i386_extract_return_value, i386_store_return_value, | |
717 | i386_extract_struct_value_address, i386_register_virtual_type, | |
718 | i386_register_convertible, i386_register_convert_to_virtual, | |
719 | i386_register_convert_to_raw, i386_svr4_sigtramp_saved_pc, | |
720 | i386_go32_init_abi, i386_nw_init_abi, i386_gdbarch_init): Make | |
721 | static. | |
722 | ||
52e9098c MK |
723 | 2002-07-01 Mark Kettenis <[email protected]> |
724 | ||
77b13a25 MK |
725 | * i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed. |
726 | ||
52e9098c MK |
727 | * config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed. |
728 | * i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of | |
729 | this macro. Include "value.h". | |
730 | ||
1b372fff AS |
731 | 2002-06-30 Aidan Skinner <[email protected]> |
732 | ||
733 | * ada-exp.tab.c: remove as it's a generated file | |
734 | * ada-lex.c: remove as it's a generated file | |
735 | ||
9c5045b5 MK |
736 | 2002-06-30 Mark Kettenis <[email protected]> |
737 | ||
4a93c5bb MK |
738 | * config/i386/tm-i386.h (struct frame_info, struct |
739 | frame_saved_regs, struct value, struct type): Remove forward | |
740 | declarations. | |
741 | ||
322d4fe0 MK |
742 | * config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS] |
743 | (FILL_FPXREGSET, HAVE_SSE_REGS): Remove define. | |
744 | * config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS] | |
745 | (FILL_FPXREGSET): Define. | |
746 | ||
fdd8263d MK |
747 | * config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define. |
748 | ||
482e577b MK |
749 | * configure.tgt (i[3456]86-*-openbsd*): Fold into |
750 | i[3456]86-*-netbsd* case. | |
751 | * config/i386/tm-obsd.h: Removed. | |
752 | * config/i386/obsd.mt: Removed. | |
753 | * config/i386/obsd.mh (NATDEPFILES): Remove corelow.o and | |
754 | core-aout.o. | |
755 | (MH_CFLAGS): Add -DYYDEBUG=0. | |
756 | ||
6916549a MK |
757 | * i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to |
758 | i386nbsd_sc_pc_offset on OpenBSD too. | |
759 | ||
9c5045b5 MK |
760 | * config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS] |
761 | (IN_SOLIB_CALL_TRAMPOLINE): Remove define. | |
762 | * config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove | |
763 | define. | |
764 | * i386bsd-tdep.c: Include "arch-utils.h". | |
765 | (i386bsd_aout_in_solib_call_trampoline): New function. | |
766 | (i386bsd_init_abi): Set in_solib_call_trampoline to | |
767 | i386bsd_aout_in_solib_call_trampoline. | |
768 | (i386nbsdelf_init_abi, i386fbsd_init_abi): Set | |
769 | in_solib_call_trampoline to generic_in_solib_call_trampoline. | |
770 | ||
aa84d1bb AC |
771 | 2002-06-28 Andrew Cagney <[email protected]> |
772 | ||
773 | * macrotab.h: Do not include "obstack.h" or "bcache.h". | |
774 | (struct obstack, struct bcache): Add opaque declarations. | |
775 | * Makefile.in (macrotab_h): Update | |
776 | ||
b4d83933 AC |
777 | 2002-06-28 Andrew Cagney <[email protected]> |
778 | ||
779 | * blockframe.c (generic_find_dummy_frame): Change return type to | |
780 | ``struct regcache''. | |
781 | (struct dummy_frame): Replace field ``registers'' with regcache, a | |
782 | struct regcache object. | |
783 | (generic_find_dummy_frame): Update. | |
784 | (generic_push_dummy_frame): Update. Use regcache_xfree, | |
785 | regcache_xmalloc and regcache_cpy. | |
786 | (generic_pop_dummy_frame): Update. Use regcache_cpy and | |
787 | regcache_xfree. | |
788 | (deprecated_generic_find_dummy_frame): Update. | |
789 | (generic_read_register_dummy): Update. Use | |
790 | regcache_read_as_address. | |
791 | (generic_call_dummy_register_unwind): Update. Use regcache_read. | |
792 | (generic_get_saved_register): Update. Use regcache_read. | |
793 | ||
08c0b5bc AC |
794 | 2002-06-28 Andrew Cagney <[email protected]> |
795 | ||
796 | * Makefile.in (objfiles_h): Add $(bcache_h). | |
797 | * objfiles.h: Include "bcache.h". | |
798 | ||
799 | * Makefile.in (symtab_h): Remove $(bcache_h). | |
800 | * symtab.h: Do not include "bcache.h". | |
801 | ||
1f89801a AC |
802 | 2002-06-28 Andrew Cagney <[email protected]> |
803 | ||
804 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to | |
805 | generic_func_frame_chain_valid. | |
806 | ||
b9644b58 DB |
807 | 2002-06-28 David O'Brien <[email protected]> |
808 | ||
809 | * config/i386/nm-fbsd.h: Include <sys/param.h>. | |
810 | * config/i386/tm-fbsd.h: Likewise. | |
811 | ||
dd486634 AC |
812 | 2002-06-28 Andrew Cagney <[email protected]> |
813 | ||
814 | * rs6000-tdep.c (rs6000_gdbarch_init): Use | |
815 | generic_unwind_get_saved_register. | |
816 | ||
0b434a00 AC |
817 | 2002-06-27 Andrew Cagney <[email protected]> |
818 | ||
819 | From 2002-06-27 John David Anglin <[email protected]>: | |
820 | * regcache.c (supply_register): Add missing argument to | |
821 | register_buffer call. | |
822 | ||
f30e5a77 AC |
823 | 2002-06-27 Andrew Cagney <[email protected]> |
824 | ||
825 | * Makefile.in (init.c): Drop -e option to grep. Not necessary and | |
826 | Solaris /bin/grep does not not like it. From Peter Schauer. | |
827 | ||
9f064c95 TT |
828 | 2002-06-26 Tom Tromey <[email protected]> |
829 | ||
830 | * command.h (add_setshow_cmd): Declare. | |
831 | (add_setshow_cmd_full): Declare. | |
832 | * cli/cli-decode.c (add_setshow_cmd): No longer static. Now | |
833 | returns void. Use add_setshow_cmd_full. | |
834 | (add_setshow_cmd_full): New function. | |
835 | (add_setshow_auto_boolean_cmd): Use add_setshow_cmd_full. | |
836 | (add_setshow_boolean_cmd): Likewise. | |
837 | ||
099c7589 JT |
838 | 2002-06-26 Jason Thorpe <[email protected]> |
839 | ||
840 | * config/vax/tm-vax.h: Protect from multiple inclusion. | |
841 | (TARGET_UPAGES, TARGET_NBPG, STACK_END_ADDR) | |
842 | (SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Move to... | |
843 | * config/vax/tm-vaxbsd.h: ...here. New file. | |
844 | * config/vax/vax.mt (TM_FILE): Set to tm-vaxbsd.h. | |
845 | ||
1d049c5e JT |
846 | 2002-06-26 Jason Thorpe <[email protected]> |
847 | ||
848 | * config/vax/tm-vax.h (BREAKPOINT): Remove. | |
849 | (BELIEVE_PCC_PROMOTION): Remove. | |
850 | (AP_REGNUM): Move to... | |
851 | * config/vax/nm-vax.h: ...here. | |
852 | * vax-tdep.c: Use VAX_AP_REGNUM instead of AP_REGNUM. | |
853 | (vax_breakpoint_from_pc): New function. | |
854 | (vax_gdbarch_init): Initialize gdbarch_breakpoint_from_pc | |
855 | and gdbarch_believe_pcc_promotion. | |
856 | ||
4791e091 JT |
857 | 2002-06-26 Jason Thorpe <[email protected]> |
858 | ||
859 | * Makefile.in (vax_tdep_h): Define. | |
860 | (vax-tdep.o): Use $(vax_tdep_h). | |
861 | * vax-tdep.c (vax_gdbarch_init): Use generic OS ABI framework. | |
862 | (vax_dump_tdep): New function. | |
863 | (_initialize_vax_tdep): Register vax_dump_tdep. | |
864 | * vax-tdep.h: Include osabi.h. | |
865 | (struct gdbarch_tdep): New. | |
866 | ||
da130f98 AC |
867 | 2002-06-26 Andrew Cagney <[email protected]> |
868 | ||
869 | * frame.h (deprecated_generic_find_dummy_frame): Rename | |
870 | generic_find_dummy_frame. | |
871 | * blockframe.c (generic_find_dummy_frame): Make static. | |
872 | (deprecated_generic_find_dummy_frame): New function. | |
873 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace | |
874 | generic_find_dummy_frame with deprecated_find_dummy_frame. | |
875 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
876 | (sh_fp_frame_init_saved_regs): Ditto. | |
877 | * s390-tdep.c (s390_frame_saved_pc_nofix): Ditto. | |
878 | (s390_frame_chain): Ditto. | |
879 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
880 | ||
6300c360 GS |
881 | 2002-06-26 Grace Sainsbury <[email protected]> |
882 | ||
883 | * config/m68k/tm-m68k.h: Rearrange code so macros not in the | |
884 | gdbarch vector are at the top. | |
885 | (NUM_REGS): Remove. | |
886 | (FP_REGNUM, SP_REGNUM, PS_REGNUM, PC_REGNUM, FP0_REGNUM): Remove. | |
887 | (FRAME_ARGS_ADDRESS): Remove. | |
888 | (FRAME_LOCALS_ADDRESS): Remove. | |
889 | (FRAME_NUM_ARGS): Remove. | |
890 | (FRAME_ARGS_SKIP): Remove. | |
891 | * m68k-tdep.c (enum): Add eumeration of special register numbers. | |
892 | (m68k_gdbarch_init): Add gdbarch initializations for macros | |
893 | undefined in tm-m68k.h | |
894 | ||
1c617db8 GS |
895 | 2002-06-26 Grace Sainsbury <[email protected]> |
896 | ||
897 | * monitor.h: Add the function regname to monitor_ops | |
898 | structure. This way NUM_REGS does not have to be a constant. | |
899 | * monitor.c (monitor_fetch_register): Added support for regname | |
900 | function. The function is called if the array regnames is NULL. | |
901 | (monitor_store_register): Same. | |
da130f98 AC |
902 | * cpu32bug-rom.c (cpu32bug_regname): Add function. Replaces |
903 | regnames array. | |
1c617db8 GS |
904 | (init_cpu32bug_cmds): set cpu32bug_cmds.regnames to NULL, |
905 | cpu32bug_cmds.regname to point to new function. | |
906 | * abug-rom.c (abug_regname): Same as above. | |
907 | (init_abug_cmds): Same. | |
908 | * dbug-rom.c (dbug_regname): Same as above. | |
909 | (init_dbug_cmds): Same. | |
910 | * remote-est.c (est_regname): Same. | |
911 | (init_est_cmds): Same. | |
912 | * rom68k-rom.c (rom68k_regname): Same. | |
913 | (init_rom68k_cmds): Same. | |
914 | ||
ea9365bb TT |
915 | 2002-06-25 Tom Tromey <[email protected]> |
916 | ||
917 | * breakpoint.c (delete_command): Don't repeat `delete' commands. | |
918 | ||
72cec141 AC |
919 | 2002-06-25 Andrew Cagney <[email protected]> |
920 | ||
921 | * infrun.c (stop_registers): Change variable's type to ``struct | |
922 | regcache'''. | |
923 | (xmalloc_inferior_status): Delete function. | |
924 | (free_inferior_status): Delete function. | |
925 | (normal_stop): Use regcache_cpy. | |
926 | (struct inferior_status): Change type of fields ``stop_registers'' | |
927 | and ``registers'' to ``struct regcache''. | |
928 | (write_inferior_status_register): Use regcache_write. | |
929 | (save_inferior_status): Instead of calling | |
930 | xmalloc_inferior_status, allocate the inf_status buffer directly. | |
931 | Use regcache_dup_no_passthrough and regcache_dup to save the | |
932 | buffers. | |
933 | (restore_inferior_status): Use regcache_xfree and regcache_cpy. | |
934 | Replace the stop_registers regcache instead of overriding it. Use | |
935 | regcache_xfree. Instead of calling free_inferior_status, xfree | |
936 | the buffer directly. | |
937 | (discard_inferior_status): Use regcache_xfree. Instead of calling | |
938 | free_inferior_status, xfree the buffer directly. | |
939 | (build_infrun): Use regcache_xmalloc. | |
940 | (_initialize_infrun): Delete redundant call to build_infrun. | |
941 | ||
942 | * Makefile.in (infcmd.o): Add $(regcache_h). | |
943 | ||
944 | * infcmd.c: Include "regcache.h". | |
945 | (run_stack_dummy): Use deprecated_grub_regcache_for_registers to | |
946 | obtain the address of `stop_registers' register buffer. | |
947 | (print_return_value): Ditto. | |
948 | ||
949 | * inferior.h (struct regcache): Add opaque declaration. | |
950 | (stop_registers): Change variable's declared type to ``struct | |
951 | regcache''. | |
952 | ||
defc6f8c TT |
953 | 2002-06-24 Tom Tromey <[email protected]> |
954 | ||
c0e624e7 TT |
955 | * cli/cli-decode.c (add_show_from_set): Fixed typo in comment. |
956 | * target.c (initialize_targets): Fixed typo in | |
957 | trust-readonly-sections `show' documentation. | |
958 | ||
defc6f8c TT |
959 | * main.c: Marked all strings with _(). |
960 | ||
2b236d82 DH |
961 | 2002-06-24 Don Howard <[email protected]> |
962 | ||
963 | * memattr.c (create_mem_region): Treat hi == 0 as a special case | |
964 | that means max CORE_ADDR+1. | |
965 | (lookup_mem_region): Ditto. | |
966 | (mem_info_command): Ditto. | |
967 | ||
942dc0e9 GS |
968 | 2002-06-24 Grace Sainsbury <[email protected]> |
969 | ||
970 | * config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove. | |
971 | (REGISTER_BYTES_OK): Remove. | |
972 | (REGISTER_BYTES): Remove. | |
973 | (STORE_STRUCT_RETURN): Remove. | |
974 | (DEPRECATED_EXTRACT_RETURN_VALUE): Remove. | |
975 | (STORE_RETURN_VALUE): Remove. | |
976 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
977 | (FRAME_CHAIN): Remove. | |
978 | (FRAMELESS_FUNCTION_INVOCATION): Remove. | |
979 | (FRAME_SAVED_PC): Remove. | |
980 | * m68k-tdep.c (m68k_register_bytes_ok):Add. | |
981 | (m68k_store_struct_return): Add. | |
982 | (m68k_deprecated_extract_return_value): Add. | |
983 | (m68k_deprecated_extract_struct_value_address): Add. | |
984 | (m68k_store_return_value): Add. | |
985 | (m68k_frame_chain): Add. | |
986 | (m68k_frameless_function_invocation): Add. | |
987 | (m68k_frame_saved_pc): Add. | |
988 | (m68k_gdbarch_init): added set_gdbarch calls for new | |
989 | functions and deleted macros. | |
990 | ||
03c30d4d TT |
991 | 2002-06-23 Tom Tromey <[email protected]> |
992 | ||
993 | * Makefile.in (HFILES_NO_SRCDIR): Remove old files. | |
994 | (ALLDEPFILES): Likewise. | |
995 | (udiheaders): Removed. | |
996 | (udip2soc.o): Likewise. | |
997 | (udi2go32.o): Likewise. | |
998 | (udr.o): Likewise. | |
999 | (HFILES_WITH_SRCDIR): Don't mention udiheaders. | |
1000 | ||
37e71372 AC |
1001 | 2002-06-22 Andrew Cagney <[email protected]> |
1002 | ||
06a6ac57 AC |
1003 | * infrun.c (_initialize_infrun): Delete unnecessary call to |
1004 | build_infrun. | |
1005 | ||
37e71372 AC |
1006 | * regcache.h: Update comments describing the regcache_cpy family |
1007 | of functions. | |
1008 | (regcache_save, regcache_restore): Delete declaration. | |
1009 | (regcache_save_no_passthrough): Delete declaration. | |
1010 | (regcache_restore_no_passthrough): Delete declaration. | |
1011 | * regcache.c (regcache_save): Delete function. | |
1012 | (regcache_save_no_passthrough): Delete function. | |
1013 | (regcache_restore): Delete function. | |
1014 | (regcache_restore_no_passthrough): Delete function. | |
1015 | ||
78f6d055 AC |
1016 | 2002-06-21 Andrew Cagney <[email protected]> |
1017 | ||
1018 | * config/m68k/tm-m68k.h: Fix typo. | |
1019 | (FRAME_INIT_SAVED_REGS): Define when non-multi-arch. | |
1020 | (m68k_frame_init_saved_regs): Declare. | |
1021 | ||
78b119cb JB |
1022 | 2002-06-21 Jim Blandy <[email protected]> |
1023 | ||
1024 | Remove some vestiges of Harris 88k support. | |
1025 | * dwarf2read.c (decode_locdesc): Remove `#if' block for Harris 88k | |
1026 | register numbering quirk. | |
1027 | * elfread.c (elf_symtab_read): Remove `#if' block for skipping | |
1028 | odd symbols occurring in Harris 88k ELF targets. | |
1029 | ||
0fbb3da7 TT |
1030 | 2002-06-21 Tom Tromey <[email protected]> |
1031 | ||
1032 | * gdb_locale.h: New file. | |
1033 | * Makefile.in (GDB_CFLAGS): Define LOCALEDIR. | |
1034 | (defs_h): Added gdb_locale.h. | |
1035 | * configure, config.in: Rebuilt. | |
1036 | * configure.in (PACKAGE): Define. | |
1037 | * defs.h: Include gdb_locale.h. | |
1038 | * main.c (captured_main): Call setlocale, bindtextdomain, | |
1039 | textdomain. | |
1040 | ||
456f8b9d DB |
1041 | 2002-06-21 Dave Brolley <[email protected]> |
1042 | ||
1043 | From Stan Shebs, Jim Blandy, Mark Salter, Kevin Buettner: | |
1044 | * config/frv/frv.mt: New file. | |
1045 | * config/frv/tm-frv.h: New file. | |
1046 | * configure.tgt: Support frv-*-*. | |
1047 | * Makefile.in (frv-tdep.o): New target. | |
1048 | * frv-tdep.c: New file. | |
1049 | * NEWS: Mention frv. | |
1050 | ||
cdd463f9 DB |
1051 | 2002-06-21 Dave Brolley <[email protected]> |
1052 | ||
1053 | * MAINTAINERS: Add self to "Write After Approval" list. | |
1054 | ||
5d3ed2e3 GS |
1055 | 2002-06-21 Grace Sainsbury <[email protected]> |
1056 | ||
1057 | * config/m68k/tm-m68k.h (REGISTER_BYTE, REGISTER_RAW_SIZE) | |
1058 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
1059 | (REGISTER_VIRTUAL_TYPE, REGISTER_NAMES, TARGET_LONG_DOUBLE_FORMAT) | |
1060 | (FUNCTION_START_OFFSET, SKIP_PROLOGUE, SAVED_PC_AFTER_CALL) | |
1061 | (INNER_THAN, STACK_ALIGN, REGISTER_SIZE): Remove macros. | |
1062 | ||
1063 | * m68k-tdep.c: Include arch-utils.h | |
1064 | (m68k_register_raw_size): Add. | |
1065 | (m68k_register_virtual_size): Add. | |
1066 | (m68k_register_virtual_type): Add. | |
1067 | (m68k_register_name): Add. | |
1068 | (m68k_stack_align): Add. | |
1069 | (m68k_register_byte): Add. | |
1070 | (m68k_gdbarch_init): Add set_gdbarch calls for macros removed in | |
1071 | tm-m68k.h. | |
1072 | ||
7f8e7424 GS |
1073 | 2002-06-21 Grace Sainsbury <[email protected]> |
1074 | ||
a2c6a6d5 | 1075 | * m68k-tdep.c (m68k_frame_init_saved_regs): Replace |
7f8e7424 GS |
1076 | m68k_find_saved_regs. |
1077 | (m68k_pop_frame): Removed saved_regs structure, and replaced | |
5d3ed2e3 | 1078 | references to it with frame->saved_regs. |
7f8e7424 GS |
1079 | (m68k_gdbarch_init): Added function calls to initialize the |
1080 | gdbarch structure. | |
a2c6a6d5 GS |
1081 | (m68k_fix_call_dummy): Add. |
1082 | * config/m68k/tm-m68k.h: (FRAME_FIND_SAVED_REGS): Remove. | |
1083 | (CALL_DUMMY): Remove. | |
1084 | (CALL_DUMMY_LENGTH): Remove. | |
1085 | (CALL_DUMMY_START_OFFSET): Remove. | |
1086 | (CALL_DUMMY_BREAKPOINT_OFFSET): Remove. | |
1087 | (FIX_CALL_DUMMY): Remove. | |
1088 | (PUSH_DUMMY_FRAME): Remove. | |
1089 | (POP_FRAME): Remove. | |
7f8e7424 | 1090 | |
f461f5cf PM |
1091 | 2002-06-19 Pierre Muller <[email protected]> |
1092 | ||
1093 | * parse.c (parse_fprintf): New function used to avoid calls to | |
1094 | fprintf in bison parser generated debug code. | |
1095 | * parser-defs.h: Declaration of new parse_fprintf function. | |
1096 | * ada-exp.y, c-exp.y, f-exp.y, jv-exp.y, m2-exp.y, p-exp.y: | |
1097 | Set YYDEBUG to 1 by default. | |
1098 | Set YYFPRINTF as parse_fprintf. | |
1099 | ||
7f0c12ed ML |
1100 | 2002-06-21 Michal Ludvig <[email protected]> |
1101 | ||
1102 | * dwarf2cfi.c (read_encoded_pointer): Don't handle pointer | |
1103 | encoding anymore. | |
1104 | (pointer_encoding, enum ptr_encoding): New. | |
1105 | (execute_cfa_program): Take care about pointer encoding. | |
1106 | (dwarf2_build_frame_info): Only call parse_frame_info for | |
1107 | .debug_frame and .eh_frame. | |
1108 | (parse_frame_info): New, derived from former dwarf2_build_frame_info. | |
1109 | fixed augmentation handling, added relative addressing, | |
1110 | ignore duplicate FDEs. Added comments. | |
19d833a2 | 1111 | * dwarf2cfi.c: Reindented. |
7f0c12ed | 1112 | |
87c4a039 EZ |
1113 | 2002-06-20 Elena Zannoni <[email protected]> |
1114 | ||
1115 | * event-top.c (command_handler): Don't use space_at_cmd_start | |
1116 | unless there is sbrk() on the host. Assign time and space data | |
1117 | to union fields of the appropriate length. | |
1118 | ||
1cf877ad ML |
1119 | 2002-06-20 Michal Ludvig <[email protected]> |
1120 | ||
1121 | * x86-64-tdep.c (x86_64_register_nr2name): Rename to | |
1122 | x86_64_register_name. Return type changed to 'const char *'. | |
1123 | (x86_64_register_name2nr): Rename to x86_64_register_number. | |
1124 | (x86_64_gdbarch_init): Update to reflect the change. | |
1125 | * x86-64-tdep.h: Ditto. | |
1126 | * x86-64-linux-nat.c (x86_64_fxsave_offset) | |
1127 | (supply_fpregset): Ditto. | |
1128 | ||
3fadccb3 AC |
1129 | 2002-06-19 Andrew Cagney <[email protected]> |
1130 | ||
1131 | * regcache.h: Update copyright. | |
1132 | (struct regcache, struct gdbarch): Add opaque declarations. | |
1133 | (current_regcache): Declare global variable. | |
1134 | (regcache_read, regcache_write): Add gdbarch parameter. | |
1135 | (regcache_save, regcache_save_no_passthrough) | |
1136 | (regcache_restore, regcache_restore_no_passthrough) | |
1137 | (regcache_dup, regcache_dup_no_passthrough) | |
1138 | (regcache_cpy, regcache_cpy_no_passthrough) | |
1139 | (deprecated_grub_regcache_for_registers) | |
1140 | (deprecated_grub_regcache_for_register_valid) | |
1141 | (regcache_valid_p): Add function declarations. | |
1142 | ||
1143 | * regcache.c: Update copyright. | |
1144 | (regcache_descr_handle): New global variable. | |
1145 | (struct regcache_descr): Define. | |
1146 | (init_legacy_regcache_descr, init_regcache_descr): New functions. | |
1147 | (regcache_descr, xfree_regcache_descr): New functions. | |
1148 | (struct regcache): Define. | |
1149 | (regcache_xmalloc, regcache_xfree): New functions. | |
1150 | (regcache_cpy, regcache_cpy_no_passthrough): New functions. | |
1151 | (regcache_dup, regcache_dup_no_passthrough): New functions. | |
1152 | (regcache_valid_p, regcache_read_as_address): New functions. | |
1153 | (deprecated_grub_regcache_for_registers): New function. | |
1154 | (deprecated_grub_regcache_for_register_valid): New function. | |
1155 | (current_regcache): New global variable. | |
1156 | (register_buffer): Add regcache parameter. Update calls. | |
1157 | (regcache_read, regcache_write): Add regcache parameter. Rewrite. | |
1158 | (read_register_gen, write_register_gen): Update register_buffer | |
1159 | call. Test for legacy_p instead of gdbarch_register_read_p or | |
1160 | gdbarch_register_write_p. | |
1161 | (regcache_collect): Update register_buffer call. | |
1162 | (build_regcache): Rewrite. Use deprecated grub functions. | |
1163 | (regcache_save, regcache_save_no_passthrough): New functions. | |
1164 | (regcache_restore, regcache_restore_no_passthrough): New | |
1165 | functions. | |
1166 | (_initialize_regcache): Create the regcache_data_handle. Swap | |
1167 | current_regcache global variable. | |
1168 | ||
1169 | * sh-tdep.c (sh_pseudo_register_read): Add current_regcache | |
1170 | parameter to regcache_read and regcache_write calls. | |
1171 | (sh4_register_read): Ditto. | |
1172 | (sh64_pseudo_register_read): Ditto. | |
1173 | (sh64_register_read): Ditto. | |
1174 | (sh_pseudo_register_write): Ditto. | |
1175 | (sh4_register_write): Ditto. | |
1176 | (sh64_pseudo_register_write): Ditto. | |
1177 | (sh64_register_write): Ditto. | |
1178 | ||
1179 | * defs.h (XCALLOC): Define. | |
1180 | ||
152d9db6 GS |
1181 | 2002-06-19 Grace Sainsbury <[email protected]> |
1182 | ||
1183 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Added (set to 0). | |
1184 | * m68k-tdep.c (m68k_gdbarch_init): Added. | |
1185 | (m68k_dump_tdep): Added. | |
1186 | ||
170911c7 DJ |
1187 | 2002-06-19 Daniel Jacobowitz <[email protected]> |
1188 | ||
1189 | * ada-lang.c (fill_in_ada_prototype): Update comment. | |
1190 | ||
2e4ebe70 DJ |
1191 | 2002-06-19 Daniel Jacobowitz <[email protected]> |
1192 | ||
1193 | * mips-tdep.c (enum mips_abi): Explicitly start at 0. Add | |
1194 | MIPS_ABI_LAST. | |
1195 | (mips_abi_string, mips_abi_strings): New. | |
1196 | (struct gdbarch_tdep): Remove mips_abi_string, add found_abi. | |
1197 | (mips_gdbarch_init): Set tdep->found_abi. Don't set | |
1198 | tdep->mips_abi_string. Honor mips_abi_string. Default to | |
1199 | O32 if no ABI is found. | |
1200 | (mips_dump_tdep): Use mips_abi_strings. | |
1201 | (mips_abi_update): New function. | |
1202 | (_initialize_mips_tdep): Initialize mips_abi_string. Add | |
1203 | ``set mips abi'' and ``show mips abi''. Check the size of | |
1204 | mips_abi_strings. | |
1205 | ||
16775908 AC |
1206 | 2002-06-19 Andrew Cagney <[email protected]> |
1207 | ||
1208 | * i386-linux-tdep.c (i386_linux_register_name): Make return type | |
1209 | constant. | |
1210 | ||
5051bfa4 | 1211 | 2002-06-18 Joel Brobecker <[email protected]> |
16775908 | 1212 | |
5051bfa4 JB |
1213 | * alpha-tdep.c (heuristic_proc_desc): Compute the size of the |
1214 | current frame using only the first stack size adjustment. All | |
1215 | subsequent size adjustments are not considered to be part of | |
1216 | the "static" part of the current frame. | |
1217 | Compute the address of the saved registers relative to the | |
1218 | Frame Pointer ($fp) instead of the Stack Pointer if $fp is | |
1219 | in use in this frame. | |
1220 | ||
56468235 DH |
1221 | 2002-06-18 Don Howard <[email protected]> |
1222 | ||
1223 | * valops.c (value_ind): Use value_at_lazy() when dereferencing | |
1224 | type int expressions. Thanks to Jim Blandy <[email protected]> for | |
1225 | suggesting this solution. | |
1226 | ||
0b624158 AC |
1227 | 2002-06-18 Andrew Cagney <[email protected]> |
1228 | ||
1229 | * config/romp/xm-rtbsd.h: Delete file. | |
1230 | * config/romp/rtbsd.mh: Delete file. | |
1231 | ||
221ea385 KS |
1232 | 2002-06-18 Keith Seitz <[email protected]> |
1233 | ||
1234 | * breakpoint.c (condition_command): Post breakpoint_modify | |
1235 | when a condition is added to an existing breakpoint. | |
1236 | (commands_command): Likewise for commands. | |
1237 | (set_ignore_count): Likewise for ignore counts. | |
1238 | If no tty, do not simply return, still need to send event | |
1239 | notification. | |
1240 | (ignore_command): Only print a newline if the command came | |
1241 | from a tty. | |
1242 | Don't call breakpoints_changed, since this is now properly | |
1243 | handled by set_ignore_count. | |
1244 | ||
5402eed1 AC |
1245 | 2002-06-18 Andrew Cagney <[email protected]> |
1246 | ||
1247 | * MAINTAINERS: Note that cris-elf target can be compiled with | |
1248 | -Werror. | |
1249 | * cris-tdep.c (cris_register_name): Make return type constant. | |
1250 | (cris_breakpoint_from_pc): Ditto. | |
1251 | ||
cc22880b ML |
1252 | 2002-06-18 Michal Ludvig <[email protected]> |
1253 | ||
1254 | * frame.h (struct frame_info): Change type of context to | |
1255 | 'struct context'. | |
1256 | ||
fa88f677 AC |
1257 | 2002-06-17 Andrew Cagney <[email protected]> |
1258 | ||
1259 | * gdbarch.sh (REGISTER_NAME): Change return type a constant string | |
1260 | pointer. | |
1261 | * gdbarch.h, gdbarch.c: Regenerate. | |
1262 | * config/mips/tm-mips.h (mips_register_name): Update. | |
1263 | * i386-tdep.h (i386_register_name): Update. | |
1264 | * mips-tdep.c (mips_register_name): Update | |
1265 | * alpha-tdep.c (alpha_register_name): Update. | |
1266 | * arch-utils.c (legacy_register_name): Update. | |
1267 | * arch-utils.h (legacy_register_name): Update. | |
1268 | * avr-tdep.c (avr_register_name): Update. | |
1269 | * ia64-tdep.c (ia64_register_name): Update. | |
1270 | * i386-tdep.c (i386_register_name): Update. | |
1271 | * sparc-tdep.c (sparc32_register_name): Update. | |
1272 | (sparc64_register_name): Update. | |
1273 | (sparclite_register_name): Update. | |
1274 | (sparclet_register_name): Update. | |
1275 | * sh-tdep.c (sh_generic_register_name): Update. | |
1276 | (sh_sh_register_name): Update. | |
1277 | (sh_sh3_register_name): Update. | |
1278 | (sh_sh3e_register_name): Update. | |
1279 | (sh_sh_dsp_register_name): Update. | |
1280 | (sh_sh3_dsp_register_name): Update. | |
1281 | (sh_sh4_register_name): Update. | |
1282 | (sh_sh64_register_name): Update. | |
1283 | * s390-tdep.c (s390_register_name): Update. | |
1284 | * rs6000-tdep.c (rs6000_register_name): Update. | |
1285 | * ns32k-tdep.c (ns32k_register_name_32082): Update. | |
1286 | (ns32k_register_name_32382): Update. | |
1287 | * d10v-tdep.c (d10v_ts2_register_name): Update. | |
1288 | (d10v_ts3_register_name): Update. | |
1289 | * xstormy16-tdep.c (xstormy16_register_name): Update. | |
1290 | * vax-tdep.c (vax_register_name): Update. | |
1291 | * v850-tdep.c (v850_register_name): Update. | |
1292 | * m68hc11-tdep.c (m68hc11_register_name): Update. | |
1293 | * mn10300-tdep.c (mn10300_generic_register_name): Update. | |
1294 | (am33_register_name): Update. | |
1295 | ||
ea1e7ef6 GS |
1296 | 2002-06-17 Grace Sainsbury <[email protected]> |
1297 | ||
1298 | * m68k-tdep.c: Reindented. | |
1299 | ||
9b02dd1b AC |
1300 | 2002-06-17 Andrew Cagney <[email protected]> |
1301 | ||
1302 | * gdb_indent.sh: Add prgregset_t, fpregset_t, and gregset_t to the | |
1303 | list of predefined types. | |
1304 | ||
8758dec1 MK |
1305 | 2002-06-16 Mark Kettenis <[email protected]> |
1306 | ||
b6197528 MK |
1307 | * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE, |
1308 | REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, | |
1309 | REGISTER_CONVERT_TO_RAW): Remove defines. | |
1310 | (i386_register_virtual_type, i386_register_convertible, | |
1311 | i386_register_convert_to_virtual, i386_register_convert_to_raw): | |
1312 | Remove prototypes. | |
1313 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
1314 | macros mentioned above. | |
1315 | ||
82b47e62 MK |
1316 | * config/i386/tm-i386lynx.h (SAVED_PC_AFTER_CALL): Remove define. |
1317 | (i386lynx_saved_pc_after_call): Remove prototype. | |
1318 | * i386ly-tdep.c: Include "i386-tdep.h". | |
1319 | (i386lynx_saved_pc_after_call): Make static. Use | |
1320 | read_memory_nobpt instead of read_memory. Use | |
1321 | read_memory_unsigned_integer instead of read_memory_integer. | |
1322 | (i386lynx_init_abi): New function. | |
1323 | (i386lynx_coff_osabi_sniffer): New function. | |
1324 | (_initialize_i386bsd_tdep): New function. | |
1325 | ||
8758dec1 MK |
1326 | * config/i386/tm-i386.h (PARM_BOUNDARY, CALL_DUMMY, |
1327 | CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET, | |
1328 | CALL_DUMMY_BREAKPOINT_OFFSET, FIX_CALL_DUMMY): Remove defines. | |
1329 | (i386_fix_call_dummy): Remove prototype. | |
1330 | * i386-tdep.c (i386_call_dummy_words): New variable. | |
1331 | (i386_gdbarch_init): Adjust for removal of the | |
1332 | macros mentioned above. | |
1333 | ||
e9e68a56 AC |
1334 | 2002-06-15 Andrew Cagney <[email protected]> |
1335 | ||
1336 | * command.h (add_setshow_auto_boolean_cmd): Replace | |
1337 | add_set_auto_boolean_cmd. | |
1338 | * cli/cli-decode.c (add_setshow_auto_boolean_cmd): Replace | |
1339 | add_set_auto_boolean_cmd. | |
1340 | * cli/cli-decode.h (add_set_auto_boolean_cmd): Delete declaration. | |
1341 | * mips-tdep.c (_initialize_mips_tdep): Update ``set mips | |
1342 | mask-address'' command. | |
1343 | (show_mask_address): Add cmd parameter. | |
1344 | * remote.c (add_packet_config_cmd): Update. Change type of | |
1345 | set_func and show_func to cmd_sfunc_ftype. | |
1346 | (_initialize_remote): Update `set remote Z-packet' | |
1347 | (show_remote_protocol_qSymbol_packet_cmd): Add cmd parameter. | |
1348 | (show_remote_protocol_e_packet_cmd): Ditto. | |
1349 | (show_remote_protocol_E_packet_cmd): Ditto. | |
1350 | (show_remote_protocol_P_packet_cmd): Ditto. | |
1351 | (show_remote_protocol_Z_software_bp_packet_cmd): Ditto. | |
1352 | (show_remote_protocol_Z_hardware_bp_packet_cmd): Ditto. | |
1353 | (show_remote_protocol_Z_write_wp_packet_cmd): Ditto. | |
1354 | (show_remote_protocol_Z_read_wp_packet_cmd): Ditto. | |
1355 | (show_remote_protocol_Z_access_wp_packet_cmd): Ditto. | |
1356 | (show_remote_protocol_Z_packet_cmd): Ditto. | |
1357 | (show_remote_protocol_binary_download_cmd): Ditto. | |
1358 | (show_remote_cmd): Pass NULL to all of above. | |
1359 | ||
fc08ec52 MK |
1360 | 2002-06-15 Mark Kettenis <[email protected]> |
1361 | ||
1362 | * config/i386/tm-i386.h (PUSH_ARGUMENTS, STORE_STRUCT_RETURN, | |
1363 | DEPRECATED_EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, | |
1364 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS, PUSH_DUMMY_FRAME, | |
1365 | POP_FRAME): Remove defines. | |
1366 | (i386_push_arguments, i386_store_struct_return, | |
1367 | i386_extract_return_value, i386_store_return_value, | |
1368 | i386_extract_struct_value_address, i386_push_dummy_frame, | |
1369 | i386_pop_frame): Renove prototypes. | |
1370 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
1371 | macros mentioned above. | |
1372 | ||
e707bbc2 AC |
1373 | 2002-06-15 Andrew Cagney <[email protected]> |
1374 | ||
1375 | * cli/cli-decode.c (add_setshow_boolean_cmd): Replace | |
1376 | add_set_boolean_cmd. | |
1377 | (add_setshow_cmd): New function. | |
1378 | * command.h (add_setshow_boolean_cmd): Replace | |
1379 | add_set_boolean_cmd. | |
1380 | * remote-rdi.c (_initialize_remote_rdi): Update ``set rdiheartbeat'' | |
1381 | and ``set rdiromatzero''. | |
1382 | * maint.c (_initialize_maint_cmds): Update commented out code. | |
1383 | * cli/cli-decode.h (add_set_boolean_cmd): Delete declaration. | |
1384 | * target.c (initialize_targets): Update `set | |
1385 | trust-readonly-sections'. | |
1386 | * remote.c (_initialize_remote): Update `set remotebreak'. | |
1387 | ||
42fdc8df MK |
1388 | 2002-06-15 Mark Kettenis <[email protected]> |
1389 | ||
93924b6b MK |
1390 | * config/i386/tm-i386.h (FUNCTION_START_OFFSET, INNER_THAN, |
1391 | BREAKPOINT, DECR_PC_AFTER_BREAK): Removed. | |
1392 | * i386-tdep.c (i386_skip_prologue): Adjust function signature to | |
1393 | fit into multi-arch framework. | |
1394 | (i386_breakpoint_from_pc): New function. | |
1395 | (i386_gdbarch_init): Adjust for removal of the macros mentioned | |
1396 | above. | |
1397 | ||
42fdc8df MK |
1398 | * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION, |
1399 | FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, | |
1400 | FRAME_ARGS_SKIP, FRAME_INIT_SAVED_REGS): Remove defines. | |
1401 | (i386_frameless_function_invocation, i386_frame_num_args, | |
1402 | i386_frame_init_saved_regs): Remove prototypes. | |
1403 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
1404 | macros mentioned above. | |
1405 | ||
9773a94b AC |
1406 | 2002-06-15 Andrew Cagney <[email protected]> |
1407 | ||
1408 | * cli/cli-decode.c (set_cmd_cfunc): Update. | |
1409 | (set_cmd_sfunc): Update. | |
1410 | * command.h (cmd_cfunc_ftype, cmd_sfunc_ftype): Declare. | |
1411 | (set_cmd_sfunc, set_cmd_cfunc): Update. | |
1412 | * cli/cli-decode.h: Update. | |
1413 | ||
6e157172 MK |
1414 | 2002-06-15 Mark Kettenis <[email protected]> |
1415 | ||
1416 | * i386-sol2-tdep.c (i386_sol2_osabi_sniffer): New function. | |
1417 | (_initialize_i386_sol2_tdep): Register i386_sol2_osabi_sniffer. | |
1418 | ||
7f19b9a2 AC |
1419 | 2002-06-15 Andrew Cagney <[email protected]> |
1420 | ||
1421 | * defs.h (auto_boolean): Declare enum. | |
1422 | * command.h (cmd_auto_boolean): Delete enum. | |
1423 | * mips-tdep.c (mask_address_var): Update. | |
1424 | (mips_mask_address_p): Update. | |
1425 | (show_mask_address): Update. | |
1426 | * remote.c (struct packet_config): Update. | |
1427 | (update_packet_config): Update. | |
1428 | (show_packet_config_cmd): Update. | |
1429 | (packet_ok): Update. | |
1430 | (add_packet_config_cmd): Update. | |
1431 | (_initialize_remote): | |
1432 | * command.h: Update. | |
1433 | * cli/cli-setshow.c (parse_auto_binary_operation): Update. | |
1434 | (do_setshow_command): Update. | |
1435 | * cli/cli-decode.c (add_set_auto_boolean_cmd): Update. | |
1436 | * cli/cli-decode.h: Update. | |
1437 | ||
1cf88de5 MK |
1438 | 2002-06-15 Mark Kettenis <[email protected]> |
1439 | ||
22ba8cf2 MK |
1440 | * config/i386/tm-cygwin.h, config/i386/tm-fbsd.h, |
1441 | config/i386/tm-go32.h, config/i386/tm-i386gnu.h, | |
1442 | config/i386/tm-i386sol2.h, config/i386/tm-i386v4.h, | |
1443 | config/i386/tm-linux.h, config/i386/tm-nbsd.h, | |
1444 | config/i386/tm-obsd.h (HAVE_I387_REGS): Remove define. | |
1445 | * config/i386/tm-i386.h: Unconditionally define FLOAT_INFO. | |
1446 | ||
762c5349 MK |
1447 | * i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the |
1448 | list of DJGPP COFF targets. | |
1449 | ||
091198bb MK |
1450 | * config/i386/tm-i386.h (REGISTER_SIZE): Remove define. |
1451 | (NUM_GREGS, NUM_FREGS, NUM_SSE_REGS): Remove defines. | |
1452 | (FP_REGNUM, SP_REGNUM, PC_REGNUM, PS_REGNUM): Remove defines. | |
1453 | (FP0_REGNUM): Remove define. | |
1454 | (MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE, | |
1455 | MAX_REGISTER_VIRTUAL_SIZE): Remove define. | |
1456 | (i386_register_virtual_size): Remove protoype. | |
1457 | * i386-tdep.c (i386_register_virtual_size): Removed. | |
1458 | (i386_extract_return_value, i386_store_return_value): Use | |
1459 | FP0_REGNUM instead of NUM_FREGS to determine whether the | |
1460 | floating-point registers are available. | |
1461 | (i386_gdbarch_init): Tweak FIXME about FPU registers. | |
1462 | Adjust for removal of macros mentioned above. | |
1463 | ||
1464 | 2002-06-15 Mark Kettenis <[email protected]> | |
1465 | ||
fcc9bf01 MK |
1466 | * i386v4-nat.c: Include "i386-tdep.h". Reformat and tweak various |
1467 | comments. | |
1468 | (fill_gregset, supply_gregset, supply_fpregset, fill_fpregset): | |
1469 | Remove prototypes. | |
1470 | (supply_gregset, fill_gregset): Remove use of register keyword and | |
1471 | remove declaration for regmap. Use I386_NUM_GREGS instead of | |
1472 | NUM_REGS and NUM_FREGS. | |
1473 | (FPREGSET_FSAVE_OFFSET): Remove. | |
1474 | (supply_fpregset, fill_fpregset): Use FPO_REGNUM instead of | |
1475 | NUM_FREGS to determine whether the floating-point registers are | |
1476 | available. | |
1477 | ||
65e78234 MK |
1478 | * i386gnu-nat.c (supply_gregset, gnu_fetch_registers, |
1479 | gnu_store_registers): Replace usage of NUM_GREGS with | |
1480 | I386_NUM_GREGS. | |
1481 | ||
98df6387 MK |
1482 | * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER, |
1483 | OLD_CANNOT_STORE_REGISTER, supply_gregset, fill_gregset): Replace | |
1484 | usage of NUM_GREGS with I386_NUM_GREGS. | |
1485 | ||
099a9414 MK |
1486 | * i386-linux-nat.c (fill_gregset): Remove redundant parentheses. |
1487 | ||
57976e88 MK |
1488 | * i386bsd-nat.c: Include "i386-tdep.h". |
1489 | (supply_gregset, fill_gregset): Replace usage of NUM_GREGS with | |
1490 | I386_NUM_GREGS. | |
1491 | ||
b335f4a6 MK |
1492 | * i386v-nat.c: Remove copnditional inclusion of <asm/debugreg.h>, |
1493 | and associated comment. They no longer make any sense, since we | |
1494 | don't use this file anymore on Linux. | |
1495 | ||
1cf88de5 MK |
1496 | * config/i386/tm-i386.h (MAX_NUM_REGS): Removed. |
1497 | * i386-tdep.c (i386_register_offset, i386_register_size): Use | |
1498 | I386_SSE_NUM_REGS instead of MAX_NUM_REGS for the number of | |
1499 | elements in these arrays. | |
1500 | (_initialize_i386_tdep): Use I386_SSE_NUM_REGS instead of | |
1501 | MAX_NUM_REGS. | |
1502 | ||
daa66587 MK |
1503 | 2002-06-15 Mark Kettenis <[email protected]> |
1504 | ||
1505 | * osabi.h (gdb_osabi): Add GDB_OSABI_LYNXOS. | |
1506 | * osabi.c (gdb_osabi_names): Add entry for "LynxOS". | |
1507 | ||
26e9b323 AC |
1508 | 2002-06-14 Andrew Cagney <[email protected]> |
1509 | ||
1510 | * gdbarch.sh (DEPRECATED_EXTRACT_RETURN_VALUE): Rename | |
1511 | EXTRACT_RETURN_VALUE. | |
1512 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Rename | |
1513 | EXTRACT_STRUCT_VALUE_ADDRESS. | |
1514 | * gdbarch.h, gdbarch.c: Regenerate. | |
1515 | ||
1516 | * values.c (value_being_returned): Handle | |
1517 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
1518 | (EXTRACT_RETURN_VALUE): Define as DEPRECATED_EXTRACT_RETURN_VALUE. | |
1519 | ||
1520 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
1521 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1522 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1523 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1524 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
1525 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1526 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1527 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1528 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1529 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1530 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1531 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1532 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
1533 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1534 | * vax-tdep.c (vax_gdbarch_init): Update. | |
1535 | * x86-64-tdep.c (x86_64_gdbarch_init): Update. | |
1536 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1537 | ||
1538 | * config/arc/tm-arc.h: Update. | |
1539 | * config/d30v/tm-d30v.h: Update. | |
1540 | * config/fr30/tm-fr30.h: Update. | |
1541 | * config/h8300/tm-h8300.h: Update. | |
1542 | * config/h8500/tm-h8500.h: Update. | |
1543 | * config/i386/tm-i386.h: Update. | |
1544 | * config/i386/tm-ptx.h: Update. | |
1545 | * config/i386/tm-symmetry.h: Update. | |
1546 | * config/i960/tm-i960.h: Update. | |
1547 | * config/m32r/tm-m32r.h: Update. | |
1548 | * config/m68k/tm-delta68.h: Update. | |
1549 | * config/m68k/tm-linux.h: Update. | |
1550 | * config/m68k/tm-m68k.h: Update. | |
1551 | * config/m88k/tm-m88k.h: Update. | |
1552 | * config/mcore/tm-mcore.h: Update. | |
1553 | * config/mips/tm-mips.h: Update. | |
1554 | * config/mn10200/tm-mn10200.h: Update. | |
1555 | * config/pa/tm-hppa.h: Update. | |
1556 | * config/pa/tm-hppa64.h: Update. | |
1557 | * config/sparc/tm-sp64.h: Update. | |
1558 | * config/sparc/tm-sparc.h: Update. | |
1559 | * config/sparc/tm-sparclet.h: Update. | |
1560 | * config/z8k/tm-z8k.h: Update. | |
1561 | ||
5179e78f AC |
1562 | 2002-06-14 Andrew Cagney <[email protected]> |
1563 | ||
1564 | * Makefile.in (i386_linux_tdep_h): Define. | |
1565 | (i386_tdep_h, i387_tdep_h): Define. | |
1566 | (i386-linux-nat.o): Add $(i386_linux_tdep_h), | |
1567 | $(i386_tdep_h) and $(i387_tdep_h). | |
1568 | * i386-linux-nat.c: Include "i386-linux-tdep.h". | |
1569 | ||
8201327c MK |
1570 | 2002-06-14 Mark Kettenis <[email protected]> |
1571 | ||
edf393ac MK |
1572 | * config/i386/tm-i386.h (START_INFERIOR_TRAPS_EXPECTED): Removed. |
1573 | Already covered by the default. | |
1574 | ||
896fb97d MK |
1575 | * config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT, |
1576 | TARGET_LONG_DOUBLE_BIT): Remove. * i386-tdep.c | |
1577 | (i386_gdbarch_init): Initialize long_double_format and long_double | |
1578 | bit. | |
1579 | ||
8201327c MK |
1580 | * config/i386/i386sol2.mt (TDEPFILES): Add i386-sol2-tdep.o and |
1581 | i386bsd-tdep.o. Remove solib.o, solib-svr4.o and solib-legacy.o. | |
1582 | Move these to ... | |
1583 | * config/i386/i386sol2.mh: ... here. | |
1584 | * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Remove define. | |
1585 | (sigtramp_saved_pc, I386V4_SIGTRAMP_SAVED_PC): Don't #undef. | |
1586 | (SIGCONTEXT_PC_OFFSET): Remove define. | |
1587 | (IN_SIGTRAMP): Remove define. | |
1588 | * i386-sol2-tdep.c: New file. | |
1589 | ||
1590 | * config/i386/i386nw.mt (TM_FILE): Change to tm-i386.h. | |
1591 | * config/i386/tm-i386nw.h: Removed. | |
1592 | ||
1593 | * config/i386/tm-fbsd.h (STAB_REG_TO_REGNUM, | |
1594 | USE_STRUCT_CONVENTION): Remove defines. | |
1595 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
1596 | (get_longjmp_target): Remove prototype. | |
1597 | (IN_SIGTRAMP): Remove define. | |
1598 | (i386bsd_in_sigtramp): Remove prototype. | |
1599 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a | |
1600 | function. Update comment accordingly | |
1601 | (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly. | |
1602 | (FRAME_SAVED_PC): Remove define. | |
1603 | (i386bsd_frame_saved_pc): Remove prototype. | |
1604 | * config/i386/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC, | |
1605 | GET_LONGJMP_TARGET): Remove defines. | |
1606 | (get_longjmp_target): Remove prototype. | |
1607 | (IN_SIGTRAMP): Remove define. | |
1608 | (i386bsd_in_sigtramp): Remove prototype. | |
1609 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a | |
1610 | function. Update comment accordingly | |
1611 | (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly. | |
1612 | (FRAME_SAVED_PC): Remove define. | |
1613 | (i386bsd_frame_saved_pc): Remove prototype. | |
1614 | * config/i386/tm-nbsdaout.h (i386nbsd_aout_use_struct_convention): | |
1615 | Remove prototype. | |
1616 | (USE_STRUCT_CONVENTION): Remove prototype. | |
1617 | * i386bsd-nat.c (i386bsd_sigcontext_pc_offset): Remove | |
1618 | declaration. | |
1619 | (_initialize_i386bsd_nat): Revise logic to determine some | |
1620 | constants at compile time when compiling a native GDB. Warn if | |
1621 | things don't match up with what we expect. | |
1622 | * i386bsd-tdep.c (i386bsd_sigtramp_start, i386bsd_sigtramp_end): | |
1623 | Remove variables. | |
1624 | (i386bsd_in_sigtramp): Rename tp i386bsd_pc_in_sigtramp. Rewrite | |
1625 | to use date stored in `struct gdbarch_tdep'. | |
1626 | (i386bsd_sigcontext_offset): Remove varaible. | |
1627 | (i386bsd_sigtramp_saved_pc): Make public. Rewrite to use data | |
1628 | stored in `struct gdbarch_tdep'. | |
1629 | (i386bsd_frame_saved_pc): Make static. | |
1630 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): New functions. | |
1631 | (i386bsd_sc_pc_offset, i386nbsd_sc_pc_offset, | |
1632 | i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, | |
1633 | i386fbsd4_sc_pc_offset): New variables. | |
1634 | (i386bsd_init_abi, i386nbsd_init_abi, i386nbsdelf_init_abi, | |
1635 | i386fbsdaout_init_abi, i386fbsd_init_abi, i386fbsd4_init_abi): New | |
1636 | functions. | |
1637 | (i386bsd_aout_osabi_sniffer, _initialize_i386bsd_tdep): New | |
1638 | functions. | |
1639 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Fix type in comment. | |
1640 | Modify the value of i386fbsd_sigtramp_start and | |
1641 | i386fbsd_sigtramp_end instead of i386bsd_sigtramp_start and | |
1642 | i386fbsd_sigtramp_end. | |
1643 | * i386nbsd-tdep.c: (i386nbsd_aout_use_struct_convention): Remove | |
1644 | function. | |
1645 | ||
1646 | * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Move | |
1647 | define to i386-linux-tdep.h. | |
1648 | (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME, | |
1649 | REGISTER_BYTE, REGISTER_RAW_SIZE, STAB_REG_TO_REGNUM): Remove | |
1650 | defines. | |
1651 | (i386_linux_register_name, i386_linux_register_byte, | |
1652 | i386_linux_register_raw_size): Remove prototypes. | |
1653 | (i386_linux_svr4_fetch_link_map_offsets): Remove prototype. | |
1654 | (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define. | |
1655 | (IN_SIGTRAMP, FRAME_CHAIN, FRAME_SAVED_PC, SAVED_PC_AFTER_CALL, | |
1656 | TARGET_WRITE_PC): Remove defines. | |
1657 | (i386_linux_in_sigtramp, i386_linux_frame_chain, | |
1658 | i386_linux_frame_saved_pc, i386_linux_saved_pc_after_call, | |
1659 | i386_linux_write_pc): Remove prototypes. | |
1660 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
1661 | (get_longjmp_target): Remove prototype. | |
1662 | * i386-linux-tdep.h: New file. | |
1663 | * i386-linux-nat.c: Include "i386-linux-tdep.h". | |
1664 | * i386-linux-tdep.c: Include "i386-tdep.h" and | |
1665 | "i386-linux-tdep.h". | |
1666 | (i386_linux_register_name, i386_linux_register_byte, | |
1667 | i386_linux_register_raw_size, i386_linux_in_sigtramp, | |
1668 | i386_linux_write_pc, i386_linux_svr4_fetch_link_map_offsets): | |
1669 | Make static. | |
1670 | (i386_linux_init_abi): New function. | |
1671 | (_initialize_i386_linux_tdep): New function. | |
1672 | ||
1673 | * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Remove define. | |
1674 | (i386_saved_pc_after_call): Remove prototype. | |
1675 | (MAX_NUM_REGS): Increase to deal with Linux's orig_eax "register". | |
1676 | (REGISTER_NAME, STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM, | |
1677 | DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): Remove defines. | |
1678 | (i386_register_name, i386_stab_reg_to_regnum, | |
1679 | i386_dwarf_reg_to_regnum): Remove prototypes. | |
1680 | (SIZEOF_GREGS, SIZEOF_FPU_REGS, SIZEOF_FPU_CTL_REGS, | |
1681 | SIZEOF_SSE_REGS): Remove defines. | |
1682 | (REGISTER_BYTES): Remove define. | |
1683 | (REGISTER_BYTE, REGISTER_RAW_SIZE): Remove defines. | |
1684 | (i386_register_byte, i386_register_raw_size): Remove prototypes. | |
1685 | (FRAME_CHAIN, FRAME_SAVED_PC): Remove defines. | |
1686 | (i386_frame_chain, i386_frame_saved_pc): Remove prototypes. | |
1687 | * config/i386/tm-i386v4.h (FRAME_CHAIN_VALID): Remove define. | |
1688 | (JB_ELEMENT_SIZE, JB_PC, JB_EBX, JB_ESI, JB_EDI, JB_EBP, JB_ESP, | |
1689 | JB_EDX, GET_LONGJMP_TARGET): Remove defines. | |
1690 | (get_longjmp_target): Remove prototype. | |
1691 | (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP): Remove defines. | |
1692 | (sigtramp_saved_pc): Remove define. | |
1693 | (i386v4_sigtramp_saved_pc): Remove prototype. | |
1694 | * config/i386/tm-go32.h (FRAME_CHAIN, | |
1695 | FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): Remove defines. | |
1696 | (i386go32_frame_saved_pc): Remove prototype. | |
1697 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
1698 | (get_longjmp_target): Remove prototype. | |
1699 | * i386-tdep.h: Include "osabi.h". | |
1700 | (enum i386_abi): Removed. | |
1701 | (enum struct_return): New enum. | |
1702 | (struct gdbarch_tdep): Remove abi member, add osabi, jb_pc_offset, | |
1703 | struct_return, sigtramp_saved_pc, sigtramp_start, sigtramp_end and | |
1704 | sc_pc_offset members. | |
1705 | (i386_gdbarch_register_os_abi): Remove prototype. | |
1706 | (I386_NUM_GREGS, I386_NUM_FREGS, I386_NUM_XREGS, | |
1707 | I386_SSE_NUM_REGS): New defines. | |
1708 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS, | |
1709 | I386_SSE_SIZEOF_REGS): New defines. | |
1710 | (i386_register_name, i386_register_byte, i386_register_raw_size): | |
1711 | New prototypes. | |
1712 | (i386_elf_init_abi, i386_svr4_init_abi): New prototypes. | |
1713 | (i386bsd_sigtramp_saved_pc): New prototype. | |
1714 | * i386-tdep.c: Don't include "elf-bfd.h". | |
1715 | (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum, | |
1716 | i386_frame_chain, i386_saved_pc_after_call): Make static. | |
1717 | (i386_frame_saved_pc): Rewrite to call architecture dependent | |
1718 | function to deal with signal handlers. Make static. | |
1719 | (i386go32_frame_saved_pc): Removed. | |
1720 | [GET_LONGJMP_TARGET] (JB_PC, JB_ELEMENT_SIZE, get_longjmp_target): | |
1721 | Removed. | |
1722 | (i386_get_longjmp_target): New function. | |
1723 | (default_struct_convention, pcc_struct_convention, | |
1724 | reg_struct_convention, valid_conventions, struct_convention): New | |
1725 | variables. | |
1726 | (i386_use_struct_convention): New function. | |
1727 | (i386v4_sigtramp_saved_pc): Renamed to | |
1728 | i386_svr4_sigtramp_saved_pc. Made static. Moved. | |
1729 | (i386_pc_in_sigtramp): New function. | |
1730 | (i386_abi_names): Removed. | |
1731 | (ABI_TAG_OS_GNU_LINUX, ABI_TAG_OS_GNU_HURD, | |
1732 | ABI_TAG_OS_GNU_SOLARIS, ABI_TAG_OS_FREEBSD, ABI_TAG_OS_NETBSD): | |
1733 | Removed. | |
1734 | (process_note_sections, i386_elf_abi_from_note, i386_elf_abi, | |
1735 | i386_gdbarch_register_os_abi): Removed. | |
1736 | (struct i386_abi_handler): Removed. | |
1737 | (i386_abi_handler_list): Removed. | |
1738 | (i386_svr4_pc_in_sigtramp, i386_go32_pc_in_sigtramp): New | |
1739 | functions. | |
1740 | (i386_elf_init_abi, i386_svr4_init_abi, i386_go32_init_abi, | |
1741 | i386_nw_init_abi): New functions. | |
1742 | (i386_gdbarch_init): Rewritten to use generic OS ABI framework. | |
1743 | Use set_gdbarch_xxx() calls instead of relying on macros for a | |
1744 | number of calls. | |
1745 | (i386_coff_osabi_sniffer, i386_nlm_osabi_sniffer): New functions. | |
1746 | (_initialize_i386_tdep): Add new 'struct-convcention' command. | |
1747 | Register the various architecture variants defined in this file. | |
1748 | ||
ad2f7632 DJ |
1749 | 2002-06-14 Daniel Jacobowitz <[email protected]> |
1750 | ||
1751 | * gdbtypes.h (TYPE_FLAG_VARARGS): Update comment. | |
1752 | (struct main_type): Remove arg_types member. Update comments for | |
1753 | struct field. | |
1754 | (TYPE_ARG_TYPES): Remove. | |
1755 | (TYPE_FN_FIELD_ARGS): Update. | |
1756 | (smash_to_method_type): Update prototype. | |
1757 | ||
1758 | * c-typeprint.c (cp_type_print_method_args): Take method type | |
1759 | instead of argument list. Use new argument layout. Simplify. | |
1760 | (c_type_print_args): Use new argument layout. Simplify. | |
1761 | (c_type_print_base): Update call to cp_type_print_method_args. | |
1762 | * dwarf2read.c (dwarf2_add_member_fn): Remove unneeded type | |
1763 | argument; use die->type instead. Update call to | |
1764 | smash_to_method_type. | |
1765 | (read_structure_scope): Update call to dwarf2_add_member_fn. | |
1766 | * gdbtypes.c (allocate_stub_method): Update comment. | |
1767 | (smash_to_method_type): Take new NARGS and VARARGS arguments. | |
1768 | Use new argument layout. | |
1769 | (check_stub_method): Use new argument layout. Don't count | |
1770 | void as an argument. | |
1771 | (print_arg_types): Update comments. Use new argument layout. | |
1772 | (recursive_dump_type): Don't print arg_types member. | |
1773 | * hpread.c (hpread_read_struct_type): Use new argument layout. | |
1774 | (fixup_class_method_type): Likewise. | |
1775 | (hpread_type_lookup): Likewise. | |
1776 | * stabsread.c (read_type): Update calls to read_args and | |
1777 | smash_to_method_type. | |
1778 | (read_args): Use new argument layout. Simplify. | |
1779 | * valops.c (typecmp): Use new argument layout. Update parameters | |
1780 | and comments. Simplify. | |
1781 | (hand_function_call): Use new argument layout. | |
1782 | (search_struct_method): Update call to typecmp. | |
1783 | (find_overload_match): Use new argument layout. | |
1784 | ||
6da02953 DJ |
1785 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
1786 | ||
1787 | * NEWS: Mention multithreaded debug support for gdbserver. | |
1788 | ||
519b2366 DJ |
1789 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
1790 | ||
1791 | * MAINTAINERS: Mention NEWS. | |
1792 | ||
a7f48742 DJ |
1793 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
1794 | ||
1795 | * gdbserver/regcache.c: Add comment. | |
1796 | ||
6c0d6680 DJ |
1797 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
1798 | ||
1799 | * mips-tdep.c (PROC_SYMBOL): Add warning comment. | |
1800 | (struct mips_objfile_private, compare_pdr_entries): New. | |
1801 | (non_heuristic_proc_desc): Read the ".pdr" section if it | |
1802 | is present. | |
1803 | ||
6529d2dd AC |
1804 | 2002-06-12 Andrew Cagney <[email protected]> |
1805 | ||
1806 | * arm-tdep.c (arm_push_arguments): Rewrite using a two-pass loop. | |
1807 | (arm_debug): New static variable. | |
1808 | (_initialize_arm_tdep): Add ``set debug arm'' command. | |
1809 | ||
26216b98 AC |
1810 | 2002-06-12 Andrew Cagney <[email protected]> |
1811 | ||
1812 | * Makefile.in (sim_arm_h): Define. | |
1813 | (arm-tdep.o): Add $(sim_arm_h) and $(gdb_assert_h). | |
1814 | * arm-tdep.c: Include "gdb/sim-arm.h" and "gdb_assert.h". | |
1815 | (arm_register_sim_regno): New function, map an internal REGNUM | |
1816 | onto a simulator register number. | |
1817 | (arm_gdbarch_init): Set register_sim_regno. | |
1818 | ||
814b3ba0 AH |
1819 | 2002-06-09 Aldy Hernandez <[email protected]> |
1820 | ||
1821 | * MAINTAINERS: Add self. | |
1822 | ||
475b0867 JB |
1823 | 2002-06-11 Jim Blandy <[email protected]> |
1824 | ||
919d772c JB |
1825 | * source.c (source_info): Mention whether the symtab has |
1826 | information about preprocessor macros. | |
1827 | ||
475b0867 JB |
1828 | Call the command `info macro', not `show macro'. |
1829 | * macrocmd.c (info_macro_command): Renamed from `show_macro_command'. | |
1830 | Fix error message. | |
1831 | (_initialize_macrocmd): Register `info_macro_command' in | |
1832 | `infolist', not `showlist'. | |
1833 | ||
9e364162 DJ |
1834 | 2002-06-11 Daniel Jacobowitz <[email protected]> |
1835 | ||
1836 | * mips-tdep.c (MIPS_FPU_TYPE, FP_REGISTER_DOUBLE, MIPS_EABI) | |
1837 | (MIPS_LAST_FP_ARG_REGNUM, MIPS_LAST_ARG_REGNUM) | |
1838 | (MIPS_DEFAULT_SAVED_REGSIZE, MIPS_REGS_HAVE_HOME_P) | |
1839 | (MIPS_DEFAULT_STACK_ARGSIZE, GDB_TARGET_IS_MIPS64) | |
1840 | (MIPS_DEFAULT_MASK_ADDRESS_P): Remove obsolete definitions. Define | |
1841 | unconditionally. | |
1842 | (set_mipsfpu_single_command, set_mipsfpu_double_command) | |
1843 | (set_mipsfpu_none_command): Remove if (GDB_MULTI_ARCH). | |
1844 | (_initialize_mips_tdep): Remove dead code. | |
1845 | * config/mips/tm-irix5.h (MIPS_LAST_ARG_REGNUM) | |
1846 | (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove. | |
1847 | * config/mips/tm-irix6.h (MIPS_LAST_ARG_REGNUM) | |
1848 | (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove. | |
1849 | * config/mips/tm-mips.h (MIPS_EABI, MIPS_LAST_ARG_REGNUM, | |
1850 | MIPS_LAST_FP_ARG_REGNUM): Remove. | |
1851 | ||
1852 | 2002-06-11 Daniel Jacobowitz <[email protected]> | |
1853 | ||
1854 | * gdbserver/thread-db.c: New file. | |
1855 | * gdbserver/proc-service.c: New file. | |
1856 | * gdbserver/acinclude.m4: New file. | |
1857 | * gdbserver/Makefile.in: Add GDBSERVER_LIBS, gdb_proc_service_h, | |
1858 | proc-service.o, and thread-db.o. | |
1859 | (linux-low.o): Add USE_THREAD_DB. | |
1860 | * gdbserver/acconfig.h: Add HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, | |
1861 | HAVE_LWPID_T, HAVE_PSADDR_T, and PRFPREGSET_T_BROKEN. | |
1862 | * gdbserver/aclocal.m4: Regenerated. | |
1863 | * gdbserver/config.in: Regenerated. | |
1864 | * gdbserver/configure: Regenerated. | |
1865 | * gdbserver/configure.in: Check for proc_service.h, sys/procfs.h, | |
1866 | thread_db.h, and linux/elf.h headrs. | |
1867 | Check for lwpid_t, psaddr_t, prgregset_t, prfpregset_t, and | |
1868 | PRFPREGSET_T_BROKEN. Introduce srv_thread_depfiles and USE_THREAD_DB. | |
1869 | Check for -lthread_db and thread support. | |
1870 | * gdbserver/configure.srv: Enable thread_db support for ARM, i386, MIPS, | |
1871 | PowerPC, and SuperH. | |
1872 | * gdbserver/i387-fp.c: Constify arguments. | |
1873 | * gdbserver/i387-fp.h: Likewise. | |
1874 | * gdbserver/inferiors.c: (struct thread_info): Renamed from | |
1875 | `struct inferior_info'. Remove PID member. Use generic inferior | |
1876 | list header. All uses updated. | |
1877 | (inferiors, signal_pid): Removed. | |
1878 | (all_threads): New variable. | |
1879 | (get_thread): Define. | |
1880 | (add_inferior_to_list): New function. | |
1881 | (for_each_inferior): New function. | |
1882 | (change_inferior_id): New function. | |
1883 | (add_inferior): Removed. | |
1884 | (remove_inferior): New function. | |
1885 | (add_thread): New function. | |
1886 | (free_one_thread): New function. | |
1887 | (remove_thread): New function. | |
1888 | (clear_inferiors): Use for_each_inferior and free_one_thread. | |
1889 | (find_inferior): New function. | |
1890 | (find_inferior_id): New function. | |
1891 | (inferior_target_data): Update argument type. | |
1892 | (set_inferior_target_data): Likewise. | |
1893 | (inferior_regcache_data): Likewise. | |
1894 | (set_inferior_regcache_data): Likewise. | |
1895 | * gdbserver/linux-low.c (linux_bp_reinsert): Remove. | |
1896 | (all_processes, stopping_threads, using_thrads) | |
1897 | (struct pending_signals, debug_threads, pid_of): New. | |
1898 | (inferior_pid): Replace with macro. | |
1899 | (struct inferior_linux_data): Remove. | |
1900 | (get_stop_pc, add_process): New functions. | |
1901 | (linux_create_inferior): Restore SIGRTMIN+1 before calling exec. | |
1902 | Use add_process and add_thread. | |
1903 | (linux_attach_lwp): New function, based on old linux_attach. Use | |
1904 | add_process and add_thread. Set stop_expected for new threads. | |
1905 | (linux_attach): New function. | |
1906 | (linux_kill_one_process): New function. | |
1907 | (linux_kill): Kill all LWPs. | |
1908 | (linux_thread_alive): Use find_inferior_id. | |
1909 | (check_removed_breakpoints, status_pending_p): New functions. | |
1910 | (linux_wait_for_process): Renamed from linux_wait_for_one_inferior. | |
1911 | Update. Use WNOHANG. Wait for cloned processes also. Update process | |
1912 | struct for the found process. | |
1913 | (linux_wait_for_event): New function. | |
1914 | (linux_wait): Use it. Support LWPs. | |
1915 | (send_sigstop, wait_for_sigstop, stop_all_processes) | |
1916 | (linux_resume_one_process, linux_continue_one_process): New functions. | |
1917 | (linux_resume): Support LWPs. | |
1918 | (REGISTER_RAW_SIZE): Remove. | |
1919 | (fetch_register): Use register_size instead. Call supply_register. | |
1920 | (usr_store_inferior_registers): Likewise. Call collect_register. | |
1921 | Fix recursive case. | |
1922 | (regsets_fetch_inferior_registers): Improve error message. | |
1923 | (regsets_store_inferior_registers): Add debugging. | |
1924 | (linux_look_up_symbols): Call thread_db_init if USE_THREAD_DB. | |
1925 | (unstopped_p, linux_signal_pid): New functions. | |
1926 | (linux_target_ops): Add linux_signal_pid. | |
1927 | (linux_init_signals): New function. | |
1928 | (initialize_low): Call it. Initialize using_threads. | |
1929 | * gdbserver/regcache.c (inferior_regcache_data): Add valid | |
1930 | flag. | |
1931 | (get_regcache): Fetch registers lazily. Add fetch argument | |
1932 | and update all callers. | |
1933 | (regcache_invalidate_one, regcache_invalidate): New | |
1934 | functions. | |
1935 | (new_register_cache): Renamed from create_register_cache. | |
1936 | Return the new regcache. | |
1937 | (free_register_cache): Change argument to a void *. | |
1938 | (registers_to_string, registers_from_string): Call get_regcache | |
1939 | with fetch flag set. | |
1940 | (register_data): Make static. Pass fetch flag to get_regcache. | |
1941 | (supply_register): Call get_regcache with fetch flag clear. | |
1942 | (collect_register): Call get_regcache with fetch flag set. | |
1943 | (collect_register_as_string): New function. | |
1944 | * gdbserver/regcache.h: Update. | |
1945 | * gdbserver/remote-utils.c (putpkt): Flush after debug output and use | |
1946 | stderr. | |
1947 | Handle input interrupts while waiting for an ACK. | |
1948 | (input_interrupt): Use signal_pid method. | |
1949 | (getpkt): Flush after debug output and use stderr. | |
1950 | (outreg): Use collect_register_as_string. | |
1951 | (new_thread_notify, dead_thread_notify): New functions. | |
1952 | (prepare_resume_reply): Check using_threads. Set thread_from_wait | |
1953 | and general_thread. | |
1954 | (look_up_one_symbol): Flush after debug output. | |
1955 | * gdbserver/server.c (step_thread, server_waiting): New variables. | |
1956 | (start_inferior): Don't use signal_pid. Update call to mywait. | |
1957 | (attach_inferior): Update call to mywait. | |
1958 | (handle_query): Handle qfThreadInfo and qsThreadInfo. | |
1959 | (main): Don't fetch/store registers explicitly. Use | |
1960 | set_desired_inferior. Support proposed ``Hs'' packet. Update | |
1961 | calls to mywait. | |
1962 | * gdbserver/server.h: Update. | |
1963 | (struct inferior_list, struct_inferior_list_entry): New. | |
1964 | * gdbserver/target.c (set_desired_inferior): New. | |
1965 | (write_inferior_memory): Constify. | |
1966 | (mywait): New function. | |
1967 | * gdbserver/target.h: Update. | |
1968 | (struct target_ops): New signal_pid method. | |
1969 | (mywait): Removed macro, added prototype. | |
1970 | ||
1971 | * gdbserver/linux-low.h (regset_func): Removed. | |
1972 | (regset_fill_func, regset_store_func): New. | |
1973 | (enum regset_type): New. | |
1974 | (struct regset_info): Add type field. Use new operation types. | |
1975 | (struct linux_target_ops): stop_pc renamed to get_pc. | |
1976 | Add decr_pc_after_break and breakpoint_at. | |
1977 | (get_process, get_thread_proess, get_process_thread) | |
1978 | (strut process_info, all_processes, linux_attach_lwp) | |
1979 | (thread_db_init): New. | |
1980 | ||
1981 | * gdbserver/linux-arm-low.c (arm_get_pc, arm_set_pc, | |
1982 | arm_breakpoint, arm_breakpoint_len, arm_breakpoint_at): New. | |
1983 | (the_low_target): Add new members. | |
1984 | * gdbserver/linux-i386-low.c (i386_store_gregset, i386_store_fpregset) | |
1985 | (i386_store_fpxregset): Constify. | |
1986 | (target_regsets): Add new kind identifier. | |
1987 | (i386_get_pc): Renamed from i386_stop_pc. Simplify. | |
1988 | (i386_set_pc): Add debugging. | |
1989 | (i386_breakpoint_at): New function. | |
1990 | (the_low_target): Add new members. | |
1991 | * gdbserver/linux-mips-low.c (mips_get_pc, mips_set_pc) | |
1992 | (mips_breakpoint, mips_breakpoint_len, mips_reinsert_addr) | |
1993 | (mips_breakpoint_at): New. | |
1994 | (the_low_target): Add new members. | |
1995 | * gdbserver/linux-ppc-low.c (ppc_get_pc, ppc_set_pc) | |
1996 | (ppc_breakpoint, ppc_breakpoint_len, ppc_breakpoint_at): New. | |
1997 | (the_low_target): Add new members. | |
1998 | * gdbserver/linux-sh-low.c (sh_get_pc, sh_set_pc) | |
1999 | (sh_breakpoint, sh_breakpoint_len, sh_breakpoint_at): New. | |
2000 | (the_low_target): Add new members. | |
2001 | * gdbserver/linux-x86-64-low.c (target_regsets): Add new kind | |
2002 | identifier. | |
2003 | ||
23aa4c72 ML |
2004 | 2002-06-11 Michal Ludvig <[email protected]> |
2005 | ||
2006 | * dwarf2cfi.c (unwind_tmp_obstack_init): New. | |
2007 | (unwind_tmp_obstack_free, parse_frame_info) | |
2008 | (update_context, cfi_read_fp, cfi_write_fp) | |
2009 | (cfi_frame_chain, cfi_init_extra_frame_info) | |
2010 | (cfi_virtual_frame_pointer): Use the above function. | |
264d1763 | 2011 | * dwarf2cfi.c: Reindented (using 'indent dwarf2cfi.c'). |
23aa4c72 | 2012 | |
70eb15a4 CV |
2013 | 2002-06-11 Corinna Vinschen <[email protected]> |
2014 | ||
2015 | * v850-tdep.c (v850_type_is_scalar): New function. | |
2016 | (v850_use_struct_convention): Match current gcc implementation | |
2017 | as close as possible. | |
2018 | (v850_push_arguments): Fix stack_offset handling. Don't write | |
2019 | struct_addr into register. This is done by v850_store_struct_return. | |
2020 | (v850_extract_return_value): Care for structs. | |
2021 | (v850_store_return_value): Ditto. | |
2022 | (v850_store_struct_return): Actually write address. | |
2023 | ||
482a4d06 ML |
2024 | 2002-06-11 Michal Ludvig <[email protected]> |
2025 | ||
2026 | * x86-64-tdep.c (x86_64_skip_prologue): Fix to work on functions | |
2027 | without debug information too. | |
2028 | ||
d855c300 AC |
2029 | 2002-06-10 Andrew Cagney <[email protected]> |
2030 | ||
2031 | * gdbarch.sh (PRINT_FLOAT_INFO): Add frame and ui_file parameters. | |
2032 | Make multi-arch pure. | |
2033 | * gdbarch.h, gdbarch.c: Re-generate. | |
2034 | * arm-tdep.c (arm_print_float_info): Update. | |
2035 | * arch-utils.h (default_print_float_info): Update. | |
2036 | * arch-utils.c (default_print_float_info): Update. | |
2037 | * infcmd.c (float_info): Update call. | |
2038 | ||
dd12a101 AC |
2039 | 2002-06-10 Andrew Cagney <[email protected]> |
2040 | ||
2041 | * Makefile.in (init.c): Move the call to _initialize_gdbtypes to | |
2042 | the front of the initialize list. | |
2043 | ||
101dcfbe AC |
2044 | 2002-06-10 Andrew Cagney <[email protected]> |
2045 | ||
2046 | * infrun.c (struct inferior_status): Replace fields | |
2047 | selected_frame_address and selected_level with field | |
2048 | selected_frame_id. | |
2049 | (save_inferior_status): Update. Use get_frame_id. | |
2050 | (struct restore_selected_frame_args): Delete. | |
2051 | (restore_selected_frame): Update. Use frame_find_by_id. | |
2052 | (restore_inferior_status): Update. | |
2053 | ||
2054 | * breakpoint.h (struct breakpoint): Change type of | |
2055 | watchpoint_frame to frame_id. | |
2056 | * breakpoint.c (insert_breakpoints): Use frame_find_by_id. Remove | |
2057 | call to get_current_frame. | |
2058 | (do_enable_breakpoint): Use frame_find_by_id. Remove call to | |
2059 | get_current_frame. | |
2060 | (watchpoint_check): Use frame_find_by_id. | |
2061 | ||
2062 | * frame.h (record_selected_frame): Delete declaration. | |
2063 | * stack.c (record_selected_frame): Delete function. | |
2064 | ||
2065 | * frame.h (struct frame_id): Define. | |
2066 | (get_frame_id): Declare. | |
2067 | (frame_find_by_id): Declare. | |
2068 | * frame.c (frame_find_by_id): New function. | |
2069 | (get_frame_id): New function. | |
2070 | ||
304270b6 AV |
2071 | 2002-06-10 Andrey Volkov <[email protected]> |
2072 | ||
2073 | * ser-e7kpc.c: Fix duplicated define and call of | |
2074 | _initialize_ser_e7000pc | |
2075 | ||
2f2cf184 DJ |
2076 | 2002-06-09 Daniel Jacobowitz <[email protected]> |
2077 | ||
2078 | * signals/signals.c (target_signal_from_host): Fix #ifdef | |
2079 | SIGRTMIN case. | |
2080 | (do_target_signal_to_host): Likewise. | |
2081 | ||
caaa3122 DJ |
2082 | 2002-06-09 Daniel Jacobowitz <[email protected]> |
2083 | ||
2084 | * mips-tdep.c (mips_find_abi_section): New function. | |
2085 | (mips_gdbarch_init): Call it. | |
2086 | ||
6ac5df3a MK |
2087 | 2002-06-09 Mark Kettenis <[email protected]> |
2088 | ||
2089 | * solib-svr4.c (init_fetch_link_map_offsets): Simply return | |
2090 | legacy_fetch_link_map_offsets. Adjust comment to reflect reality | |
2091 | after Andrew's 2002-06-08 gdbarch change. | |
2092 | ||
82ea117a MK |
2093 | 2002-06-09 Mark Kettenis <[email protected]> |
2094 | ||
2095 | * i386-linux-nat.c (suppy_gregset): Don't supply | |
2096 | I386_LINUX_ORIG_EAX_REGNUM if there isn't room for it in GDB's | |
2097 | register cache. | |
2098 | (fill_gregset): Don't fetch it under the same circumstances. | |
2099 | ||
3c25f8c7 AC |
2100 | 2002-06-09 Andrew Cagney <[email protected]> |
2101 | ||
2102 | * Makefile.in (callback_h): Define. | |
2103 | (remote_sim_h): Update path to remote-sim.h. | |
2104 | (remote-rdp.o): Add $(callback_h). | |
2105 | (remote-sim.o): Use $(callback_h). | |
2106 | * remote-sim.c: Include "gdb/callback.h" and "gdb/remote-sim.h". | |
2107 | * remote-rdp.c: Include "gdb/callback.h". | |
2108 | ||
1029b7fa MK |
2109 | 2002-06-09 Mark Kettenis <[email protected]> |
2110 | ||
2111 | * osabi.h (gdb_osabi): Add GDB_OSABI_GO32 and GDB_OSABI_NETWARE. | |
2112 | * osabi.c (gdb_osabi_names): Add "DJGPP" and "NetWare". | |
2113 | ||
616675d3 AC |
2114 | 2002-06-08 Andrew Cagney <[email protected]> |
2115 | ||
a3efda28 AC |
2116 | * sparcl-tdep.c: Use __CYGWIN__ instead of __CYGWIN32__. |
2117 | * rdi-share/serpardr.c: Ditto. | |
2118 | * rdi-share/unixcomm.c: Ditto. | |
2119 | * rdi-share/serdrv.c: Ditto. | |
2120 | * rdi-share/hostchan.h: Ditto. | |
2121 | * rdi-share/hostchan.c: Ditto. | |
2122 | * rdi-share/host.h: Ditto. | |
2123 | * rdi-share/devsw.c: Ditto. | |
2124 | ||
c5f10366 AC |
2125 | * objfiles.h: Change type of obj_private to void pointer. |
2126 | * pa64solib.c: Update copyright. Don't include "assert.h", use | |
2127 | strcmp instead of STREQ, use LONGEST, do not use PTR | |
2128 | * somsolib.c: Ditto. | |
2129 | ||
616675d3 AC |
2130 | * config/djgpp/fnchange.lst: Fix problems with bfd/elf32-i386.c, |
2131 | bfd/elf32-i386qnx.c, bfd/elf32-sh.c, bfd/elf32-sh64-nbsd.c, | |
2132 | bfd/elf64-sh64-nbsd.c bfd/elf64-sh64.c. | |
2133 | ||
e4b415d9 AC |
2134 | 2002-06-08 Andrew Cagney <[email protected]> |
2135 | ||
2136 | * frame.c (GET_SAVED_REGISTER): Delete macro definition. | |
2137 | (default_get_saved_register): Delete function. | |
2138 | * gdbarch.sh (GET_SAVED_REGISTER): Set default to | |
2139 | generic_unwind_get_saved_register. | |
2140 | * gdbarch.h, gdbarch.c: Re-generate. | |
2141 | ||
ca0d0b52 AC |
2142 | 2002-06-08 Andrew Cagney <[email protected]> |
2143 | ||
2144 | * gdbarch.sh (FRAME_CHAIN_VALID): Set default to | |
2145 | generic_func_frame_chain_valid. | |
2146 | * gdbarch.h, gdbarch.c: Re-generate. | |
2147 | * blockframe.c (generic_func_frame_chain_valid): Only check | |
2148 | PC_IN_CALL_DUMMY when generic dummy frames. Don't worry about | |
2149 | passing FP to PC_IN_CALL_DUMMY. | |
2150 | Fix PR gdb/360. | |
2151 | ||
76860b5f AC |
2152 | 2002-06-08 Andrew Cagney <[email protected]> |
2153 | ||
2154 | * gdbarch.sh (struct gdbarch_data): Add field init_p. | |
2155 | (register_gdbarch_data): Initialize init_p. | |
2156 | (gdbarch_data): Initialize data pointer using the init function. | |
2157 | (init_gdbarch_data): Delete function. | |
2158 | (gdbarch_update_p): Update. | |
2159 | (initialize_non_multiarch): Update. | |
2160 | (struct gdbarch): Add field initialized_p. | |
2161 | * gdbarch.h, gdbarch.c: Re-generate. | |
2162 | ||
8dda9770 ML |
2163 | 2002-06-07 Michal Ludvig <[email protected]> |
2164 | ||
2165 | * x86-64-linux-nat.c (x86_64_fxsave_offset): New. | |
2166 | (supply_fpregset, fill_fpregset): Don't call i387_*_fxsave, | |
2167 | better do the things actually here. | |
2168 | * x86-64-tdep.c (x86_64_register_name2nr): New. | |
2169 | (x86_64_register_name): Renamed to x86_64_register_nr2name. | |
2170 | (x86_64_gdbarch_init): Respect the above change. | |
2171 | * x86-64-tdep.h (x86_64_register_name2nr) | |
2172 | (x86_64_register_nr2name): Add prototypes. | |
2173 | * config/i386/x86-64linux.mt (TDEPFILES): Remove i387-tdep.o. | |
2174 | ||
3d79a47c MS |
2175 | 2002-06-06 Michael Snyder <[email protected]> |
2176 | ||
7bd91a28 MS |
2177 | * d10v-tdep.c (d10v_push_arguments): Handle struct_return. |
2178 | Delete extra braces and re-indent. | |
2179 | (d10v_store_return_value): Char return values | |
3d79a47c MS |
2180 | must be shifted over by one byte in R0. |
2181 | (d10v_extract_return_value): Delete extra braces, re-indent. | |
2182 | ||
095a4c96 EZ |
2183 | 2002-06-06 Elena Zannoni <[email protected]> |
2184 | ||
2185 | * d10v-tdep.c (d10v_read_sp, d10v_read_fp): Add prototype. | |
2186 | (d10v_register_virtual_type): Make $fp and $sp be pointer to data. | |
2187 | (d10v_integer_to_address): Rewrite. | |
2188 | (d10v_frame_init_saved_regs): When reading fp and sp registers use | |
2189 | the d10v specific functions which take care of converting to the | |
2190 | correct space. | |
2191 | ||
e8a77ca4 EZ |
2192 | 2002-06-06 Elena Zannoni <[email protected]> |
2193 | ||
2194 | * config/djgpp/fnchange.lst: Add testsuite files altivec-abi.c, | |
2195 | altivec-abi.exp, altivec-regs.c, altivec-regs.exp. | |
2196 | ||
4f2e4a4f AC |
2197 | 2002-06-02 Andrew Cagney <[email protected]> |
2198 | ||
2199 | * config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xm | |
2200 | includes. | |
2201 | * config/tm-linux.h: Ditto. | |
2202 | * config/alpha/tm-alphalinux.h: Ditto. | |
2203 | * config/arm/nm-linux.h, config/arm/tm-linux.h: Ditto. | |
2204 | * config/arm/xm-nbsd.h, config/i386/nm-gnu.h: Ditto. | |
2205 | * config/i386/nm-i386lynx.h, config/i386/nm-i386sol2.h: Ditto. | |
2206 | * config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h: Ditto. | |
2207 | * config/i386/nm-linux.h, config/i386/nm-m3.h: Ditto. | |
2208 | * config/i386/nm-ptx4.h, config/i386/nm-x86-64.h: Ditto. | |
2209 | * config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h: Ditto. | |
2210 | * config/i386/tm-i386m3.h, config/i386/tm-i386sco5.h: Ditto. | |
2211 | * config/i386/tm-i386v4.h, config/i386/tm-linux.h: Ditto. | |
2212 | * config/i386/tm-ptx4.h, config/i386/tm-vxworks.h: Ditto. | |
2213 | * config/i386/xm-i386v4.h, config/i386/xm-nbsd.h: Ditto. | |
2214 | * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. | |
2215 | * config/i960/tm-vx960.h, config/ia64/nm-aix.h: Ditto. | |
2216 | * config/ia64/nm-linux.h, config/ia64/tm-aix.h: Ditto. | |
2217 | * config/ia64/tm-linux.h, config/ia64/xm-aix.h: Ditto. | |
2218 | * config/m68k/nm-linux.h, config/m68k/nm-m68klynx.h: Ditto. | |
2219 | * config/m68k/nm-sysv4.h, config/m68k/tm-linux.h: Ditto. | |
2220 | * config/m68k/tm-m68klynx.h, config/m68k/tm-m68kv4.h: Ditto. | |
2221 | * config/m68k/tm-sun2os4.h, config/m68k/tm-sun3os4.h: Ditto. | |
2222 | * config/m68k/tm-vx68.h, config/m68k/xm-m68kv4.h: Ditto. | |
2223 | * config/m68k/xm-nbsd.h, config/m88k/nm-delta88v4.h: Ditto. | |
2224 | * config/m88k/tm-delta88v4.h, config/m88k/xm-delta88v4.h: Ditto. | |
2225 | * config/mips/nm-irix5.h, config/mips/nm-linux.h: Ditto. | |
2226 | * config/mips/tm-linux.h, config/mips/tm-mips64.h: Ditto. | |
2227 | * config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h: Ditto. | |
2228 | * config/mips/tm-vxmips.h, config/mips/xm-irix5.h: Ditto. | |
2229 | * config/mips/xm-mipsv4.h, config/ns32k/xm-nbsd.h: Ditto. | |
2230 | * config/pa/nm-hppao.h, config/powerpc/nm-linux.h: Ditto. | |
2231 | * config/powerpc/tm-linux.h, config/powerpc/tm-vxworks.h: Ditto. | |
2232 | * config/powerpc/xm-aix.h, config/rs6000/nm-rs6000ly.h: Ditto. | |
2233 | * config/rs6000/tm-rs6000ly.h, config/rs6000/xm-aix4.h: Ditto. | |
2234 | * config/sh/tm-linux.h, config/sparc/nm-linux.h: Ditto. | |
2235 | * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4sol2.h: Ditto. | |
2236 | * config/sparc/tm-linux.h, config/sparc/tm-sp64linux.h: Ditto. | |
2237 | * config/sparc/tm-sp64sim.h, config/sparc/tm-sparclynx.h: Ditto. | |
2238 | * config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h: Ditto. | |
2239 | * config/sparc/tm-vxsparc.h, config/sparc/xm-sun4sol2.h: Ditto. | |
2240 | ||
ae2ab2ce AS |
2241 | 2002-05-04 Aidan Skinner <[email protected]> |
2242 | ||
2243 | * ada-exp.tab.c: New file | |
2244 | * ada-exp.y: New file | |
2245 | * ada-lang.c: New file | |
2246 | * ada-lang.h: New file | |
2247 | * ada-lex.c: New file | |
2248 | * ada-lex.l: New file | |
2249 | * ada-tasks.c: New file | |
2250 | * ada-typeprint.c: New file | |
2251 | * ada-valprint.c: New file | |
2252 | ||
0ddd0135 JT |
2253 | 2002-06-02 Jason Thorpe <[email protected]> |
2254 | ||
2255 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set | |
2256 | use_struct_convention to ppc_sysv_abi_broken_use_struct_convention. | |
2257 | ||
750fbacc JT |
2258 | 2002-06-02 Jason Thorpe <[email protected]> |
2259 | ||
2260 | * config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.o | |
2261 | insetead of ppc-linux-tdep.o. | |
2262 | * config/rs6000/rs6000.mt (TDEPFILES): Likewise. | |
2263 | * config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise. | |
2264 | ||
df94e18a AC |
2265 | 2002-06-02 Andrew Cagney <[email protected]> |
2266 | ||
2267 | 2002-05-07 Christian Groessler <[email protected]> | |
2268 | * z8k-tdep.c (z8k_print_register_hook): Fix display of 32 and 64 | |
2269 | bit register contents for little endian hosts. | |
2270 | ||
1a38ab75 AC |
2271 | 2002-06-01 Andrew Cagney <[email protected]> |
2272 | ||
2273 | * MAINTAINERS: Mention that any `HP/UX reader' can be changed by | |
2274 | any maintainer. | |
2275 | ||
8b1632ac AC |
2276 | 2002-06-01 Andrew Cagney <[email protected]> |
2277 | ||
2278 | * gdbarch.h: Regenerate. | |
2279 | ||
627054c8 AC |
2280 | 2002-06-01 Andrew Cagney <[email protected]> |
2281 | ||
2282 | * MAINTAINERS: Add everyone to write-after-approval list. | |
2283 | ||
4f460812 AC |
2284 | 2002-06-01 Andrew Cagney <[email protected]> |
2285 | ||
2286 | * stack.c (frame_info): Use frame_register_unwind instead of | |
2287 | saved_regs. Mention when the SP is on the stack or in a register. | |
2288 | ||
2289 | * frame.h (frame_register_unwind_ftype): Define. Document. | |
2290 | (struct frame_info): Add field register_unwind and | |
2291 | register_unwind_cache. | |
2292 | (frame_register_unwind): Declare. | |
2293 | (generic_unwind_get_saved_register): Declare. | |
2294 | ||
2295 | * frame.c (frame_register_unwind): New function. | |
2296 | (generic_unwind_get_saved_register): New function. | |
2297 | ||
2298 | * blockframe.c (generic_call_dummy_register_unwind): New function. | |
2299 | (frame_saved_regs_register_unwind): New function. | |
2300 | (set_unwind_by_pc): New function. | |
2301 | (create_new_frame): New function. | |
2302 | (get_prev_frame): New function. | |
2303 | ||
de888f76 AC |
2304 | 2002-05-30 Andrew Cagney <[email protected]> |
2305 | ||
2306 | * a29k-share/: Delete directory. | |
2307 | * remote-vx29k.c: Delete file. | |
2308 | ||
2f2c3626 JT |
2309 | 2002-05-30 Jason Thorpe <[email protected]> |
2310 | ||
2311 | * config/djgpp/fnchange.lst: Add ns32knbsd-nat.c, ns32knbsd-tdep.c, | |
2312 | ppcnbsd-nat.c, ppcnbsd-tdep.c, sparcnbsd-nat.c, and sparcnbsd-tdep.c. | |
2313 | ||
9ce5c36a JT |
2314 | 2002-05-30 Jason Thorpe <[email protected]> |
2315 | ||
2316 | * Makefile.in (ALLDEPFILES): Add sparc64nbsd-nat.c, | |
2317 | sparcnbsd-nat.c, and sparcnbsd-tdep.c. | |
2318 | (sparc64nbsd-nat.o) | |
2319 | (sparcnbsd-nat.o) | |
2320 | (sparcnbsd-tdep.o): New dependency lists. | |
2321 | * NEWS: Note new UltraSPARC NetBSD native configuration. | |
2322 | * configure.host (sparc64-*-netbsd*): New host. | |
2323 | * configure.tgt (sparc-*-netbsdelf*) | |
2324 | (sparc-*-netbsd*): Set gdb_target to nbsd. | |
2325 | (sparc64-*-netbsd*): New target. | |
2326 | * sparc64nbsd-nat.c: New file. | |
2327 | * sparcnbsd-nat.c: New file. | |
2328 | * sparcnbsd-tdep.c: New file. | |
2329 | * sparcnbsd-tdep.h: New file. | |
2330 | * config/sparc/nbsd.mt: New file. | |
2331 | * config/sparc/nbsd64.mh: New file. | |
2332 | * config/sparc/nbsd64.mt: New file. | |
2333 | * config/sparc/nbsdaout.mh (NATDEPFILES): Remove corelow.o, | |
2334 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. | |
2335 | (HOST_IPC): Remove. | |
2336 | * config/sparc/nbsdaout.mt: Remove. | |
2337 | * config/sparc/nbsdelf.mh (NATDEPFILES): Remove corelow.o, | |
2338 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. | |
2339 | (HOST_IPC): Remove. | |
2340 | * config/sparc/nbsdelf.mt: Remove. | |
2341 | * config/sparc/nm-nbsd.h: Update copyright years. Remove all | |
2342 | sparc-nat.c compatiblity defines. | |
2343 | * config/sparc/tm-nbsd.h: Update copyright years. Include solib.h. | |
2344 | (GDB_MULTI_ARCH): Set to GDB_MULTI_ARCH_PARTIAL. | |
2345 | * config/sparc/tm-nbsd64.h: New file. | |
2346 | * config/sparc/tm-nbsdaout.h: Remove. | |
2347 | * config/sparc/xm-nbsd.h: Remove. | |
2348 | ||
ef3cf062 JT |
2349 | 2002-05-30 Jason Thorpe <[email protected]> |
2350 | ||
2351 | * Makefile.in (sparc-tdep.o): Add osabi.h to dependency list. | |
2352 | * sparc-tdep.c: Include osabi.h. | |
2353 | (gdbarch_tdep): Add osabi member. | |
2354 | (_initialize_sparc_tdep): Use gdbarch_register. | |
2355 | (sparc_gdbarch_init): Use generic OS ABI framework. | |
2356 | (sparc_dump_tdep): New function. | |
2357 | ||
ee8ff470 KB |
2358 | 2002-05-30 Kevin Buettner <[email protected]> |
2359 | ||
2360 | * corefile.c (do_captured_read_memory_integer): Return non-zero | |
2361 | result. | |
2362 | (safe_read_memory_integer): Copy result of memory read when | |
2363 | status is non-zero. Also, add comments. | |
2364 | ||
7b112f9c JT |
2365 | 2002-05-20 Jason Thorpe <[email protected]> |
2366 | ||
2367 | * Makefile.in (ppc_tdep_h): Define. | |
2368 | (ppc-linux-nat.o) | |
2369 | (ppc-linux-tdep.o) | |
2370 | (rs6000-tdep.o): Use $(ppc_tdep_h). | |
2371 | (ppc-sysv-tdep.o) | |
2372 | (ppcnbsd-nat.o) | |
2373 | (ppcnbsd-tdep.o): New dependency lists. | |
2374 | * ppc-tdep.h: Use generic OS ABI framework. | |
357edbbc JT |
2375 | * ppc-linux-tdep.c (_initialize_ppc_linux_tdep) |
2376 | (ppc_linux_init_abi): New functions. | |
7b112f9c JT |
2377 | (ppc_sysv_abi_broken_use_struct_convention) |
2378 | (ppc_sysv_abi_use_struct_convention) | |
2379 | (ppc_sysv_abi_push_arguments): Move to... | |
2380 | * ppc-sysv-tdep.c: ...here. | |
2381 | * ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h. | |
2382 | * rs6000-tdep.c (process_note_abi_tag_sections) | |
2383 | (get_elfosabi): Remove. | |
2384 | (rs6000_gdbarch_init): Use generic OS ABI framework. | |
2385 | (rs6000_dump_tdep): New function. | |
2386 | (_initialize_rs6000_tdep): Use gdbarch_register. | |
2387 | * config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o. | |
2388 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
2389 | * config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead | |
2390 | of ppc-linux-tdep.o. | |
2391 | * config/powerpc/nbsd.mt (TDEPFILES): Likewise. | |
2392 | * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise. | |
2393 | * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise. | |
2394 | * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise. | |
2395 | * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise. | |
2396 | * config/powerpc/vxworks.mt (TDEPFILES): Likewise. | |
2397 | ||
480dd42a JB |
2398 | 2002-05-29 Jim Blandy <[email protected]> |
2399 | ||
2400 | * macroscope.c (default_macro_scope): Put `void' in empty argument | |
2401 | list. | |
2402 | ||
4182591f AC |
2403 | 2002-05-29 Andrew Cagney <[email protected]> |
2404 | ||
2405 | * Makefile.in (arch-utils.o): Add $(sim_regno_h). | |
2406 | * arch-utils.c: Include "sim-regno.h". | |
2407 | * gdbarch.sh: Don't include "sim-regno.h". | |
2408 | * gdbarch.h, gdbarch.c: Regenerate. | |
2409 | * sim-regno.h (legacy_register_sim_regno): Move declaration from | |
2410 | here. | |
2411 | * arch-utils.h (legacy_register_sim_regno): To here. | |
2412 | * remote-sim.c (legacy_register_sim_regno): Move function from | |
2413 | here. | |
2414 | * arch-utils.c (legacy_register_sim_regno): To here. | |
2415 | ||
8238d0bf AC |
2416 | 2002-05-28 Andrew Cagney <[email protected]> |
2417 | ||
2418 | * sim-regno.h: New file. | |
2419 | * Makefile.in (sim_regno_h): Define. | |
2420 | (d10v-tdep.o, remote-sim.o): Add dependency on $(sim_regno_h). | |
2421 | * remote-sim.c: Include "sim-regno.h" and "gdb_assert.h". | |
2422 | (legacy_register_sim_regno): New function. | |
2423 | (one2one_register_sim_regno): New function. | |
2424 | (gdbsim_fetch_register): Rewrite. | |
2425 | (gdbsim_store_register): Only store a register when | |
2426 | REGISTER_SIM_REGNO is valid. | |
2427 | * d10v-tdep.c: Include "sim-regno.h". | |
2428 | (d10v_ts2_register_sim_regno): Add legacy_regiter_sim_regno check. | |
2429 | (d10v_ts3_register_sim_regno): Ditto. | |
2430 | * gdbarch.sh: Include "sim-regno.h". | |
2431 | (REGISTER_SIM_REGNO): Set default to legacy_register_sim_regno. | |
2432 | * gdbarch.h, gdbarch.c: Regenerate. | |
2433 | * arch-utils.h (default_register_sim_regno): Delete declaration. | |
2434 | * arch-utils.c (default_register_sim_regno): Delete function. | |
2435 | ||
485721b1 JT |
2436 | 2002-05-28 Jason Thorpe <[email protected]> |
2437 | ||
2438 | * ppcnbsd-nat.c: Rewrite. | |
2439 | * ppcnbsd-tdep.c: New file. | |
2440 | * ppcnbsd-tdep.h: New file. | |
2441 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o, | |
2442 | solib.o, and solib-svr4.o. | |
2443 | * config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o, | |
2444 | nbsd-tdep.o, and corelow.o. | |
2445 | ||
697f244d AC |
2446 | 2002-05-28 Andrew Cagney <[email protected]> |
2447 | ||
2448 | * MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use | |
2449 | `tr' and `sed'. Mention that `broken' targets are not expected to | |
2450 | build. | |
2451 | ||
f08caad1 | 2452 | 2002-05-27 Michal Ludvig <[email protected]> |
b1ab997b ML |
2453 | |
2454 | * x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note. | |
2455 | Let PC point right after the prologue before looking up symbols. | |
2456 | ||
3139facc MH |
2457 | 2002-05-27 Martin M. Hunt <[email protected]> |
2458 | ||
2459 | * i386-tdep.c (i386_register_virtual_type): Return | |
2460 | builtin_type_vec128i for SSE registers. | |
2461 | ||
2462 | * gdbtypes.h (builtin_type_vec128i): Declare. | |
2463 | ||
2464 | * gdbtypes.c (build_builtin_type_vec128i): New function. | |
2465 | (builtin_type_v2_double, builtin_type_v4_int64): New types. | |
2466 | (builtin_type_vec128i): New type for SSE2 128-bit registers. | |
2467 | (build_gdbtypes): Initialize new builtin vector types. | |
2468 | (_initialize_gdbtypes): Register new vector types with gdbarch. | |
2469 | ||
6e3ba3b8 JT |
2470 | 2002-05-26 Jason Thorpe <[email protected]> |
2471 | ||
2472 | * MAINTAINERS: ns32k is not longer an obsolete candidate, | |
2473 | since it has been multi-arch'd. | |
2474 | * NEWS: Note that ns32k-*-* is now partial multi-arch. | |
2475 | Move Alpha and VAX multi-arch news entries to same section | |
2476 | as other multi-arch news. | |
2477 | ||
93d5585d JT |
2478 | 2002-05-26 Jason Thorpe <[email protected]> |
2479 | ||
2480 | * ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h, | |
2481 | target.s, arch-utils.h, ns32k-tdep.h. Make many functions | |
2482 | static. Rename some register numbers to put them in ns32k-tdep | |
2483 | private namespace. | |
2484 | (ns32k_get_saved_register, ns32k_gdbarch_init_32082, | |
2485 | ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New | |
2486 | functions. | |
2487 | (_initialize_ns32k_tdep): Use gdbarch_register. | |
2488 | * ns32k-tdep.h: New file. | |
2489 | * ns32knbsd-tdep.c: New file. | |
2490 | * config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o. | |
2491 | * config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h". | |
2492 | (IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS, | |
2493 | REGISTER_BYTES, REGISTER_BYTE): Remove. | |
2494 | * config/ns32k/tm-ns32k.h: New file. | |
2495 | * config/ns32k/tm-umax.h: Remove. | |
2496 | ||
efb2c70e JT |
2497 | 2002-05-26 Jason Thorpe <[email protected]> |
2498 | ||
2499 | * ns32k-tdep.c (ns32k_saved_pc_after_call, | |
2500 | ns32k_store_struct_return, ns32k_extract_return_value, | |
2501 | ns32k_store_return_value, ns32k_extract_struct_value_address): New | |
2502 | functions. | |
2503 | * config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as | |
2504 | ns32k_saved_pc_after_call. | |
2505 | (STORE_STRUCT_RETURN): Define as ns32k_store_struct_return. | |
2506 | (EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value. | |
2507 | (STORE_RETURN_VALUE): Define as ns32k_store_return_value. | |
2508 | (EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
2509 | ns32k_extract_struct_value_address. | |
2510 | ||
7bcc927b JT |
2511 | 2002-05-26 Jason Thorpe <[email protected]> |
2512 | ||
2513 | * ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words, | |
2514 | ns32k_fix_call_dummy): New. | |
2515 | * config/ns32k/tm-umax.h (CALL_DUMMY_WORDS): Define as | |
2516 | ns32k_call_dummy_words. | |
2517 | (SIZEOF_CALL_DUMMY_WORDS): Define as sizeof_ns32k_call_dummy_words. | |
2518 | (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_ADDR, | |
2519 | CALL_DUMMY_NARGS): Remove. | |
2520 | (FIX_CALL_DUMMY): Define as ns32k_fix_call_dummy. | |
2521 | ||
78f9d765 JT |
2522 | 2002-05-26 Jason Thorpe <[email protected]> |
2523 | ||
2524 | * ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain, | |
2525 | ns32k_frame_saved_pc, ns32k_frame_args_address, | |
2526 | ns32k_frame_locals_address, ns32k_frame_init_saved_regs, | |
2527 | ns32k_push_dummy_frame, ns32k_pop_frame): New functions. | |
2528 | * config/ns32k/tm-nbsd.h (FRAME_SAVED_PC): Remove. | |
2529 | * config/ns32k/tm-umax.h (INNER_THAN): Define as core_addr_lessthan. | |
2530 | (BREAKPOINT_FROM_PC): Define as ns32k_breakpoint_from_pc. | |
2531 | (BREAKPOINT): Remove.. | |
2532 | (FRAME_CHAIN): Define as ns32k_frame_chain. | |
2533 | (FRAME_SAVED_PC): Define as ns32k_frame_saved_pc. | |
2534 | (FRAME_ARGS_ADDRESS): Define as ns32k_frame_args_address. | |
2535 | (FRAME_LOCALS_ADDRESS): Define as ns32k_frame_locals_address. | |
2536 | (FRAME_FIND_SAVED_REGS): Remove. | |
2537 | (FRAME_INIT_SAVED_REGS): Define as ns32k_frame_init_saved_regs. | |
2538 | (PUSH_DUMMY_FRAME): Define as ns32k_push_dummy_frame. | |
2539 | (POP_FRAME): Define as ns32k_pop_frame. | |
2540 | ||
f2c762e0 JT |
2541 | 2002-05-26 Jason Thorpe <[email protected]> |
2542 | ||
2543 | * ns32k-tdep.c (ns32k_register_byte_32082, | |
2544 | ns32k_register_byte_32382, ns32k_register_raw_size, | |
2545 | ns32k_register_virtual_size, ns32k_register_virtual_type): New | |
2546 | functions. | |
2547 | * config/ns32k/tm-nbsd.h (REGISTER_BYTE): Define as | |
2548 | ns32k_register_byte_32382. | |
2549 | * config/ns32k/tm-umax.h: Update copyright years. | |
2550 | (REGISTER_BYTE): Define as ns32k_register_byte_32082. | |
2551 | (REGISTER_RAW_SIZE): Define as ns32k_register_raw_size. | |
2552 | (REGISTER_VIRTUAL_SIZE): Define as ns32k_register_virtual_size. | |
2553 | (REGISTER_VIRTUAL_TYPE): Define as ns32k_register_virtual_type. | |
2554 | (ns32k_get_enter_addr): Fix prototype. | |
2555 | ||
af137673 JT |
2556 | 2002-05-26 Jason Thorpe <[email protected]> |
2557 | ||
2558 | * ns32k-tdep.c: Update copyright years. | |
2559 | (ns32k_register_name_32082): New function. | |
2560 | (ns32k_register_name_32382): Ditto. | |
2561 | * config/ns32k/tm-nbsd.h (REGISTER_NAMES): Remove. | |
2562 | (REGISTER_NAME): Define as ns32k_register_name_32382. | |
2563 | * config/ns32k/tm-umax.h (REGISTER_NAMES): Remove. | |
2564 | (REGISTER_NAME): Define as ns32k_register_name_32082. | |
2565 | ||
a8bc7b56 JB |
2566 | 2002-05-24 Jim Blandy <[email protected]> |
2567 | ||
2568 | * dwarf2read.c (free_line_header): Use xfree, not free. | |
2569 | ||
83a45910 JT |
2570 | 2002-05-24 Jason Thorpe <[email protected]> |
2571 | ||
2572 | * config/djgpp/fnchange.lst: Add alphabsd-nat.c, | |
2573 | alphabsd-tdep.c, mipsnbsd-nat.c, and mipsnbsd-tdep.c | |
2574 | ||
0db71247 AC |
2575 | 2002-05-23 Andrew Cagney <[email protected]> |
2576 | ||
2577 | * PROBLEMS: Mention s390 and FreeBSD 4.4 build problems. | |
2578 | ||
b9e5e4dd AC |
2579 | 2002-05-23 Andrew Cagney <[email protected]> |
2580 | ||
2581 | From Ross Alexander at NEC Europe: | |
2582 | * config/pa/hpux11w.mh (NATDEPFILES): Add solib.o. | |
2583 | ||
de530e84 MS |
2584 | 2002-05-23 Michael Snyder <[email protected]> |
2585 | ||
2586 | * cli/cli-dump.c (restore_command): Use parse_and_eval_long | |
2587 | for input, rather than parse_and_eval_address. | |
2588 | ||
b91b96f4 AC |
2589 | 2002-05-23 Andrew Cagney <[email protected]> |
2590 | ||
2591 | * d10v-tdep.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h". | |
2592 | * Makefile.in (sim_d10v_h): Update definition. | |
2593 | ||
8b279e7a AC |
2594 | 2002-05-24 Andrew Cagney <[email protected]> |
2595 | ||
2596 | * d10v-tdep.c (d10v_gdbarch_init): Revert old code included in | |
2597 | change `2002-05-22 Michael Snyder' below. | |
2598 | (d10v_push_arguments): Ditto. | |
2599 | (d10v_extract_return_value): Ditto. | |
2600 | ||
0a3d0425 JB |
2601 | 2002-05-23 Jim Blandy <[email protected]> |
2602 | ||
2603 | * macrotab.c (check_for_redefinition): Don't complain if the new | |
2604 | definition is the same as the previous one. Take more arguments | |
2605 | to allow the comparison. | |
2606 | (macro_define_object, macro_define_function): Pass more arguments | |
2607 | to check_for_redefinition. | |
2608 | ||
78eac43e MS |
2609 | 2002-05-22 Michael Snyder <[email protected]> |
2610 | ||
2611 | * d10v-tdep.c: Change a few macros to enums for ease of debugging. | |
2612 | (d10v_frame_chain_valid): Add PC_IN_CALL_DUMMY clause. | |
2613 | (d10v_frame_saved_pc): Add PC_IN_CALL_DUMMY clause. | |
2614 | (d10v_frame_chain): Bail immediately if PC_IN_CALL_DUMMY. | |
2615 | Don't bail if return_pc is PC_IN_CALL_DUMMY. | |
2616 | Add a temp variable to save a call (and a memory read). | |
2617 | (d10v_init_extra_frame_info): Get fi->pc from callee's return_pc | |
2618 | if possible (so that PC_IN_CALL_DUMMY will work). | |
2619 | ||
9bc1edb8 CV |
2620 | 2002-05-22 Corinna Vinschen <[email protected]> |
2621 | ||
2622 | * MAINTAINERS: Remove status `OBSOLETE' from v850. | |
2623 | ||
005ef3d2 ML |
2624 | 2002-05-22 Michal Ludvig <[email protected]> |
2625 | ||
2626 | * dwarf2cfi.c (frame_state_for): Added safety check for a valid | |
2627 | fde->cie_ptr. | |
2628 | (dwarf2_build_frame_info): Corrected handling of eh_frame. | |
2629 | (dwarf2_build_frame_info): Add offset to fde->initial_location | |
2630 | so that frames of shared libraries are mapped correctly. | |
6c3eb890 ML |
2631 | (execute_stack_op): Change type of 'result' from ULONGEST to |
2632 | CORE_ADDR. | |
005ef3d2 | 2633 | |
fcf4f891 JT |
2634 | 2002-05-22 Jason Thorpe <[email protected]> |
2635 | ||
2636 | * config/alpha/tm-nbsd.h: Include solib.h. | |
2637 | ||
cfef91e4 JT |
2638 | 2002-05-22 Jason Thorpe <[email protected]> |
2639 | ||
2640 | * alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Don't make | |
2641 | assumptions about the host's byte order. | |
2642 | ||
9964235a JT |
2643 | 2002-05-22 Jason Thorpe <[email protected]> |
2644 | ||
2645 | * Makefile.in (alphanbsd-tdep.o, shnbsd-tdep.o): Add solib-svr4.h | |
2646 | to dependency list. | |
2647 | * alphanbsd-tdep.c: Include solib-svr4.h. | |
2648 | * shnbsd-tdep.c: Ditto. | |
2649 | ||
9eeef8ef JT |
2650 | 2002-05-22 Jason Thorpe <[email protected]> |
2651 | ||
2652 | * Makefile.in (armnbsd-tdep.o): Add solib-svr4.h and | |
2653 | nbsd-tdep.h to dependency list. | |
2654 | * configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*, | |
2655 | i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*, | |
2656 | ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use | |
2657 | nbsdaout.mh and nbsdelf.mh consistently. | |
2658 | * configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*, | |
2659 | ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use | |
2660 | nbsdaout.mt and nbsdelf.mh consistently. | |
2661 | * armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h. | |
2662 | (arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets | |
2663 | to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets. | |
2664 | * config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move | |
2665 | a.out shared library stuff from here... | |
2666 | * config/nm-nbsdaout.h: ...to here. | |
2667 | * config/tm-nbsd.h: Remove. | |
2668 | * config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove. | |
2669 | * config/arm/nbsd.mh: Remove. | |
2670 | * config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add | |
2671 | nbsd-tdep.o. | |
2672 | * config/arm/nbsdaout.mh: New file. | |
2673 | * config/arm/nbsdelf.mh: New file. | |
2674 | * config/arm/nm-nbsdaout.h: New file. | |
2675 | * config/i386/nbsd.mh: Remove. | |
2676 | * config/i386/nbsd.mt: Remove. | |
2677 | * config/i386/nbsdaout.mh: New file. | |
2678 | * config/i386/nbsdaout.mt: New file. | |
2679 | * config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. | |
2680 | * config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h. | |
2681 | * config/i386/nm-nbsd.h (REGISTER_U_ADDR, | |
2682 | i386_register_u_addr): Remove. | |
2683 | * config/i386/nm-nbsdaout.h: New file. | |
2684 | * config/i386/nm-nbsdelf.h: Remove. | |
2685 | * config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2686 | (USE_STRUCT_CONVENTION): Remove. | |
2687 | * config/i386/tm-nbsdaout.h: New file. | |
2688 | * config/i386/tm-nbsdelf.h: Remove. | |
2689 | * config/m68k/nbsd.mh: Remove. | |
2690 | * config/m68k/nbsd.mt: Remove. | |
2691 | * config/m68k/nbsdaout.mh: New file. | |
2692 | * config/m68k/nbsdaout.mt: New file. | |
2693 | * config/m68k/nm-nbsd.h: Use config/nm-nbsd.h. | |
2694 | * config/m68k/nm-nbsdaout.h: New file. | |
2695 | * config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2696 | (IN_SOLIB_CALL_TRAMPOLINE): Define. | |
2697 | * config/ns32k/nbsd.mh: Remove. | |
2698 | * config/ns32k/nbsd.mt: Remove. | |
2699 | * config/ns32k/nbsdaout.mh: New file. | |
2700 | * config/ns32k/nbsdaout.mt: New file. | |
2701 | * config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h. | |
2702 | * config/ns32k/nm-nbsdaout.h: New file. | |
2703 | * config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2704 | (IN_SOLIB_CALL_TRAMPOLINE): Define. | |
2705 | * config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h. | |
2706 | (SVR4_SHARED_LIBS): Remove. | |
2707 | * config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h. | |
2708 | * config/sparc/nbsd.mh: Remove. | |
2709 | * config/sparc/nbsd.mt: Remove. | |
2710 | * config/sparc/nbsdaout.mh: New file. | |
2711 | * config/sparc/nbsdaout.mt: New file. | |
2712 | * config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. | |
2713 | * config/sparc/nbsdelf.mt: New file. | |
2714 | * config/sparc/nm-nbsdaout.h: New file. | |
2715 | * config/sparc/nm-nbsdelf.h: Remove. | |
2716 | * config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2717 | * config/sparc/tm-nbsdaout.h: New file. | |
2718 | ||
257ce470 JT |
2719 | 2002-05-21 Jason Thorpe <[email protected]> |
2720 | ||
2721 | * Makefile.in (ALLDEPFILES): Add mipsnbsd-nat.c and | |
2722 | mipsnbsd-tdep.c | |
2723 | (mipsnbsd-nat.o, mipsnbsd-tdep.o): New dependency lists. | |
2724 | ||
76a6d5fe JT |
2725 | 2002-05-21 Jason Thorpe <[email protected]> |
2726 | ||
2727 | * Makefile.in (ALLDEPFILES): Add shnbsd-tdep.c and | |
2728 | shnbsd-nat.c. | |
2729 | (shnbsd-tdep.o, shnbsd-nat.o): New dependency lists. | |
2730 | ||
45888261 JT |
2731 | 2002-05-21 Jason Thorpe <[email protected]> |
2732 | ||
2733 | * NEWS: Note new MIPS NetBSD native configuration. | |
2734 | * configure.host (mips*-*-netbsd*): New host. | |
2735 | * configure.tgt (mips*-*-netbsd*): New target. | |
2736 | * mipsnbsd-nat.c: New file. | |
2737 | * mipsnbsd-tdep.c: New file. | |
2738 | * mipsnbsd-tdep.h: New file. | |
2739 | * config/mips/nbsd.mh: New file. | |
2740 | * config/mips/nbsd.mt: New file. | |
2741 | * config/mips/nm-nbsd.h: New file. | |
2742 | * config/mips/tm-nbsd.h: New file. | |
2743 | ||
70f80edf JT |
2744 | 2002-05-21 Jason Thorpe <[email protected]> |
2745 | ||
2746 | * Makefile.in (SFILES): Add osabi.c. | |
2747 | (COMMON_OBS): Add osabi.o. | |
2748 | (osabi.o): New dependency list. | |
2749 | * osabi.c: New file. | |
2750 | * osabi.h: New file. | |
2751 | * doc/gdbint.texinfo: Document new generic OS ABI framework. | |
2752 | ||
2753 | * Makefile.in (alpha_tdep_h): Define and use instead of | |
2754 | alpha-tdep.h. | |
2755 | * alpha-tdep.c (alpha_abi_names, process_note_abi_tag_sections, | |
2756 | get_elfosabi, alpha_abi_handler_list, alpha_gdbarch_register_os_abi): | |
2757 | Remove. | |
2758 | (alpha_gdbarch_init, alpha_dump_tdep): Use generic OS ABI framework. | |
2759 | * alpha-tdep.h: Include osabi.h. | |
2760 | (alpha_abi): Remove. | |
2761 | (gdbarch_tdep): Use generic OS ABI framework. | |
2762 | * alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Use | |
2763 | gdbarch_register_osabi. | |
2764 | * alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise. | |
2765 | * alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise. | |
2766 | * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise. | |
2767 | ||
2768 | * Makefile.in (sh_tdep_h): Add osabi.h. | |
2769 | * sh-tdep.h (sh_osabi): Remove. | |
2770 | (gdbarch_tdep): Use generic OS ABI framework. | |
2771 | * sh-tdep.c (sh_osabi_names, process_note_abi_tag_sections, | |
2772 | sh_osabi_handler_list, sh_gdbarch_register_os_abi): Remove. | |
2773 | (sh_gdbarch_init, sh_dump_tdep): Use generic OS ABI framework. | |
2774 | * shnbsd-tdep.c (_initialize_shnbsd_tdep): Use gdbarch_register_osabi. | |
2775 | ||
2776 | * Makefile.in (arm_tdep_h): Define and use instead of arm-tdep.h. | |
2777 | * arm-linux-tdep.c (_initialize_arm_linux_tdep): Use | |
2778 | gdbarch_register_osabi. | |
2779 | * arm-tdep.c (arm_abi_names, process_note_abi_tag_sections, | |
2780 | arm_abi_handler_list, arm_gdbarch_register_os_abi): Remove. | |
2781 | (get_elfosabi): Rename to... | |
2782 | (arm_elf_osabi_sniffer): ...this. Adjust to use generic OS | |
2783 | ABI framework support routines. | |
2784 | (arm_gdbarch_init): Use generic OS ABI framework. | |
2785 | (arm_dump_tdep): Likewise. | |
2786 | (_initialize_arm_tdep): Likewise. | |
2787 | * arm-tdep.h: Include osabi.h. | |
2788 | (arm_abi): Remove. | |
2789 | (gdbarch_tdep): Remove arm_abi and abi_name members. Add | |
2790 | osabi member. | |
2791 | (arm_gdbarch_register_os_abi): Remove prototype. | |
2792 | * armnbsd-tdep.c (arm_netbsd_aout_osabi_sniffer): New function. | |
2793 | (_initialize_arm_netbsd_tdep): Use gdbarch_register_osabi. | |
2794 | ||
2795 | * Makefile.in (mips-tdep.o): Add osabi.h to dependency list. | |
2796 | * mips-tdep.c: Include osabi.h. | |
2797 | (gdbarch_tdep, mips_gdbarch_init, mips_dump_tdep): Use generic | |
2798 | OS ABI framework. | |
2799 | ||
d194345b KH |
2800 | 2002-05-20 Kazu Hirata <[email protected]> |
2801 | ||
2802 | * h8300-tdep.c: Fix formatting. | |
2803 | ||
70c6b0d1 EZ |
2804 | 2002-05-20 Elena Zannoni <[email protected]> |
2805 | ||
2806 | * rs6000-tdep.c (rs6000_do_registers_info): Simplify code for | |
2807 | printing vector registers. | |
2808 | ||
165b8e33 AC |
2809 | 2002-05-19 Andrew Cagney <[email protected]> |
2810 | ||
2811 | From Fernando Nasser: | |
2812 | * remote.c (remote_async_open_1): Re-throw the exception when the | |
2813 | connection fails. | |
2814 | (remote_cisco_open): Ditto. | |
2815 | (remote_open_1): Ditto. | |
2816 | ||
36918e70 AC |
2817 | 2002-05-19 Andrew Cagney <[email protected]> |
2818 | ||
2819 | * remote.c (remote_start_remote_dummy): Add uiout parameter. | |
2820 | (remote_start_remote): Add uiout parameter. Pass through to | |
2821 | remote_start_remote_dummy. | |
2822 | (remote_open_1): Use catch_exception instead of catch_errors. | |
2823 | (remote_async_open_1): Ditto. | |
2824 | (remote_cisco_open): Ditto. | |
2825 | ||
ae44c0c4 AC |
2826 | 2002-05-19 Andrew Cagney <[email protected]> |
2827 | ||
2828 | * remote.c (remote_start_remote): Replace PTR with void pointer. | |
2829 | (sigint_remote_twice_token, sigint_remote_token): Ditto. Make | |
2830 | static. | |
2831 | ||
8efe637d AC |
2832 | 2002-05-18 Andrew Cagney <[email protected]> |
2833 | ||
2834 | * gdb_indent.sh: Allow the script to be run in the sim directory. | |
2835 | ||
2f1b5984 MK |
2836 | 2002-05-18 Mark Kettenis <[email protected]> |
2837 | ||
f0f625e2 MK |
2838 | * config/i386/nm-cygwin.h (NO_PTRACE_H): Remove define. |
2839 | * config/i386/nm-go32.h (NO_PTRACE_H): Remove define. | |
2840 | ||
2f1b5984 MK |
2841 | * corelow.c (core_open): Only call set_gdbarch_from_file if |
2842 | exec_bfd is NULL. | |
2843 | ||
fc974602 AV |
2844 | 2002-05-17 Andrey Volkov <[email protected]> |
2845 | ||
2846 | * h8300-tdep.c: Add support of EXR register | |
2847 | * config/h8300/tm-h8300.h: Ditto. | |
2848 | ||
906709f4 AV |
2849 | 2002-05-17 Andrey Volkov <[email protected]> |
2850 | ||
2851 | * h8300-tdep.c: Add additional CCR flags (I,UI,H,U) | |
2852 | ||
6e591d68 AV |
2853 | 2002-05-17 Andrey Volkov <[email protected]> |
2854 | ||
2855 | * h8300-tdep.c: Change literal regnums to REGNO. | |
2856 | ||
84f0252a JB |
2857 | 2002-05-17 Jim Blandy <[email protected]> |
2858 | ||
e0e9281e JB |
2859 | * NEWS: Note addition of macro support. |
2860 | ||
84f0252a JB |
2861 | Expand preprocessor macros in C expressions. |
2862 | * c-lang.h: #include "macroexp.h", for macro_lookup_ftype. | |
2863 | (scan_macro_expansion, scanning_macro_expansion, | |
2864 | finished_macro_expansion): New function declarations. | |
2865 | (expression_macro_lookup_func, expression_macro_lookup_baton): New | |
2866 | variable declarations. | |
2867 | * parser-defs.h (expression_context_pc): New declaration. | |
2868 | * parse.c (expression_context_pc): New variable. | |
2869 | (parse_exp_1): Set expression_context_pc, as well as | |
2870 | expression_context_block. | |
2871 | * c-exp.y (yylex): If we're not already reading the result of a | |
2872 | macro expansion, try to macro-expand the next token. When we're | |
2873 | done scanning a macro expansion, switch back to the mainline text. | |
2874 | Commas and `if's in a macro's expansion don't terminate the input. | |
2875 | * c-lang.c: #include "macroscope.h" and "gdb_assert.h". | |
2876 | (macro_original_text, macro_expanded_text, | |
2877 | expression_macro_lookup_func, expression_macro_lookup_baton): New | |
2878 | variables. | |
2879 | (scan_macro_expansion, scanning_macro_expansion, | |
2880 | finished_macro_expansion, scan_macro_cleanup, null_macro_lookup, | |
2881 | c_preprocess_and_parse): New functions. | |
2882 | (c_language_defn, cplus_language_defn, asm_language_defn): Call | |
2883 | c_preprocess_and_parse, instead of c_parse. | |
2884 | * Makefile.in (c_lang_h): Note that this #includes macroexp.h. | |
2885 | (c-lang.o): Note dependency on macroscope.h and gdb_assert.h. | |
2886 | ||
1c509ca8 JR |
2887 | Fri May 17 14:26:19 2002 J"orn Rennecke <[email protected]> |
2888 | ||
2889 | * sh-tdep.c (gdb_print_insn_sh64): Delete. | |
2890 | (gdb_print_insn_sh): Just set info->endian and use print_insn_sh. | |
2891 | (sh_gdbarch_init): Always use gdb_print_insn_sh. | |
2892 | ||
2250ee0c CV |
2893 | 2002-05-17 Corinna Vinschen <[email protected]> |
2894 | ||
2895 | * NEWS: Add section for multi-arched targets. Add v850 to that section. | |
2896 | ||
ab3b8126 JT |
2897 | 2002-05-17 Jason Thorpe <[email protected]> |
2898 | ||
2899 | * Makefile.in (sh_tdep_h): Define and use. | |
2900 | * config/sh/tm-sh.h (sh_osabi, sh_abi, gdbarch_tdep, | |
2901 | register enum): Move to... | |
2902 | * * sh-tdep.h: ...here. | |
2903 | * sh-tdep.c: Include sh-tdep.h. | |
2904 | * sh3-rom.c: Likewise. | |
2905 | * shnbsd-tdep.c: Likewise. | |
2906 | ||
ed9d4749 MS |
2907 | 2002-05-16 Michael Snyder <[email protected]> |
2908 | ||
2909 | * arm-tdep.c: Spelling fix in comment. | |
2910 | ||
2e276125 JB |
2911 | 2002-05-16 Jim Blandy <[email protected]> |
2912 | ||
6821892e JB |
2913 | Add commands for manually expanding macros and showing their |
2914 | definitions. | |
2915 | * macrocmd.c, macroscope.c, macroscope.h: New files. | |
2916 | * Makefile.in (SFILES): Add macrocmd.c, macroscope.c. | |
2917 | (macroscope_h): New variable. | |
2918 | (HFILES_NO_SRCDIR): Add macroscope.h. | |
2919 | (COMMON_OBS): Add macrocmd.o, macroscope.o. | |
2920 | (macroscope.o, macrocmd.o): New rules. | |
2921 | ||
2e276125 JB |
2922 | Teach the Dwarf 2 reader to read macro information. |
2923 | * dwarf2read.c: #include "macrotab.h". | |
2924 | (dwarf_macinfo_buffer): New variable. | |
2925 | (struct dwarf2_pinfo): New members: dwarf_macinfo_buffer, and | |
2926 | dwarf_macinfo_size. | |
2927 | (DWARF_MACINFO_BUFFER, DWARF_MACINFO_SIZE): New macros. | |
2928 | (dwarf2_missing_macinfo_section, dwarf2_macros_too_long, | |
2929 | dwarf2_macros_not_terminated, dwarf2_macro_outside_file, | |
2930 | dwarf2_macro_unmatched_end_file, dwarf2_macro_malformed_definition, | |
2931 | dwarf2_macro_spaces_in_definition): New complaints. | |
2932 | (dwarf2_has_info): Initialize dwarf_macinfo_offset. | |
2933 | (dwarf2_build_psymtabs): Read the .dwarf_macinfo section. | |
2934 | (dwarf2_build_psymtabs_hard): Record the buffer and its size in | |
2935 | the partial symbol table. | |
2936 | (psymtab_to_symtab_1): Set the macinfo buffer and size globals | |
2937 | from what's recorded in the partial symbol table. | |
2938 | (read_file_scope): If the compilation unit has a | |
2939 | `DW_AT_macro_info' attribute, read its macro information. | |
2940 | * Makefile.in (dwarf2read.o): Depend on macrotab.h. | |
2941 | ||
2f53fe6c DJ |
2942 | 2002-05-16 Daniel Jacobowitz <[email protected]> |
2943 | ||
2944 | Fix PR gdb/546 | |
2945 | * ser-tcp.c: Don't include <netinet/udp.h>. | |
2946 | ||
2be99286 SC |
2947 | 2002-05-16 Stephane Carrez <[email protected]> |
2948 | ||
2949 | * MAINTAINERS: Update my email address. | |
2950 | ||
c9af212b | 2951 | 2002-05-16 Richard Earnshaw <[email protected]> |
8501bbeb RE |
2952 | |
2953 | * config/arm/nm-nbsd.h: Use "config/nm-nbsd.h" to include generic | |
2954 | include file of the same name. | |
2955 | ||
bf5f1a52 CV |
2956 | 2002-05-16 Corinna Vinschen <[email protected]> |
2957 | ||
2958 | * configure.tgt: Mark v850 as multi-arched. | |
2959 | * config/v850/tm-v850.h: Remove file. | |
2960 | * config/v850/v850.mt: Eliminate TM_FILE. | |
2961 | ||
435e042a CV |
2962 | 2002-05-16 Corinna Vinschen <[email protected]> |
2963 | ||
2964 | * v850-tdep.c: Full multi-arch. | |
2965 | * config/v850/tm-v850.h: Eliminate or move to v850-tdep.c everything. | |
2966 | Define GDB_MULTI_ARCH to 2. | |
2967 | ||
9819c6c8 PM |
2968 | 2002-05-16 Pierre Muller <[email protected]> |
2969 | ||
2970 | * p-exp.y (current_type): New static variable. | |
2971 | Carries the type of the expression at the position that is parsed. | |
2972 | (push_current_type, pop_current_type): Two new functions. Used | |
2973 | to store/restore current_type in expression on specific tokens. | |
c9af212b RE |
2974 | (search_field): New static variable. Set to one after parsing a point |
2975 | as at that point only a FIELDNAME token should be searched. | |
9819c6c8 PM |
2976 | (FIELDNAME): New token. After a point only a token belonging to |
2977 | current_type type definition is allowed. | |
2978 | (all over token rules): reset and change current_type according | |
2979 | to rules. | |
2980 | (exp '[' rule): insert implicit array index field if | |
2981 | exp is a pascal string type. | |
2982 | ||
3a06899a CV |
2983 | 2002-05-16 Corinna Vinschen <[email protected]> |
2984 | ||
2985 | * v850-tdep.c: Fix comment for v850_scan_prologue. Remove extra | |
2986 | frame info. Use frame_info's saved_regs instead of matching member | |
2987 | in extra_frame_info throughout. | |
2988 | (v850_frame_init_saved_regs): New function. | |
2989 | (v850_init_extra_frame_info): Move most functionality into | |
2990 | v850_frame_init_saved_regs(). | |
2991 | * config/v850/tm-v850.h (EXTRA_FRAME_INFO): Remove definition. | |
2992 | (v850_frame_find_saved_regs): Remove declaration. | |
2993 | (FRAME_FIND_SAVED_REGS): Remove definition. | |
2994 | (v850_frame_init_saved_regs): Add declaration. | |
2995 | (FRAME_INIT_SAVED_REGS): Add definition. | |
2996 | ||
6ed14b0e CV |
2997 | 2002-05-16 Corinna Vinschen <[email protected]> |
2998 | ||
2999 | * v850-tdep.c: Begin multi-arch'ing v850. | |
3000 | (v850_target_architecture_hook): Remove function. | |
3001 | (v850_gdbarch_init): New function. Add code previously in | |
3002 | v850_target_architecture_hook(). | |
3003 | (_initialize_v850_tdep): Don't set target_architecture_hook. | |
3004 | Call register_gdbarch_init() instead. | |
3005 | ||
42725910 DJ |
3006 | 2002-05-16 Daniel Jacobowitz <[email protected]> |
3007 | ||
3008 | * gdbtypes.h (struct cplus_struct_type): Remove args field. | |
3009 | * hpread.c (hpread_read_struct_type): Remove assignments to args. | |
3010 | (fixup_class_method_type): Likewise. | |
3011 | ||
0bc68c49 DJ |
3012 | 2002-05-15 Daniel Jacobowitz <[email protected]> |
3013 | ||
3014 | From Martin Pool <[email protected]>: | |
3015 | * gdbserver/server.c (gdbserver_usage): New function. | |
3016 | (main): Call it. | |
3017 | ||
99d9066e JB |
3018 | 2002-05-15 Jim Blandy <[email protected]> |
3019 | ||
3020 | Add macro structures to GDB's symbol tables. Nobody puts anything | |
3021 | in them yet. | |
3022 | * symtab.h (struct symtab): New member: `macro_table'. | |
3023 | * buildsym.h (pending_macros): New global variable. | |
3024 | * buildsym.c: #include "macrotab.h". | |
3025 | (buildsym_init): Initialize `pending_macros'. | |
3026 | (end_symtab): If we found macro information while reading a CU's | |
3027 | debugging info, do build a symtab structure for it. Make the | |
3028 | symtab point to the macro information, and clear the | |
3029 | `pending_macros' pointer which held it while we were reading the | |
3030 | debug info. | |
3031 | (really_free_pendings): Free any pending macro table. | |
3032 | * objfiles.h (struct objfile): New member: `macro_cache'. | |
3033 | * objfiles.c (allocate_objfile): Set allocate and free functions | |
3034 | for the macro cache's objstack. | |
3035 | (free_objfile): Empty the macro cache's obstack. | |
3036 | * symfile.c (reread_symbols): Empty the macro cache's obstack, and | |
3037 | set new allocate and free functions for it. | |
3038 | * solib-sunos.c (allocate_rt_common_objfile): Set allocate and | |
3039 | free functions for the macro cache's objstack. (Why is this | |
3040 | function building its own objfile?) | |
3041 | * symmisc.c (print_objfile_statistics): Print statistics on the | |
3042 | macro bcache. | |
3043 | * Makefile.in: Note that buildsym.o depends on macrotab.h. | |
3044 | ||
c899585b RE |
3045 | 2002-05-15 Richard Earnshaw <[email protected]> |
3046 | ||
3047 | * config/arm/nm-nbsd.h: Use <> for include of config/nm-nbsd.h. | |
3048 | (REGISTER_U_ADDR): Delete definition. | |
3049 | (arm_register_u_addr): Delete declaration. | |
3050 | ||
a6cdd8c5 RE |
3051 | 2002-05-15 Richard Earnshaw <[email protected]> |
3052 | ||
3053 | * arm-linux-tdep.c (ARM_LINUX_JB_PC): Renamed from JB_PC. | |
3054 | (ARM_LINUX_JB_ELEMENT_SIZE): Likewise. | |
3055 | ||
fd3a5ca1 DJ |
3056 | 2002-05-14 Daniel Jacobowitz <[email protected]> |
3057 | ||
3058 | * gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo | |
3059 | stop_at -> stop_pc. | |
3060 | ||
c97dcfc7 AC |
3061 | 2002-05-14 Andrew Cagney <[email protected]> |
3062 | ||
3063 | * regcache.c (register_valid): Revise comments refering to "Not | |
3064 | available" and "unavailable". | |
3065 | * frame.c (frame_register_read): Ditto. | |
3066 | * findvar.c (value_of_register): Ditto. | |
3067 | ||
93021b7d AC |
3068 | 2002-05-15 Andrew Cagney <[email protected]> |
3069 | ||
3070 | * Makefile.in (remote_sim_h): Replace remote-sim_h. | |
3071 | (remote-sim.o): Update dependencies. | |
3072 | (d10v-tdep.o): Specify dependencies. | |
3073 | (sim_d10v_h): Define. | |
3074 | ||
a86bc61c JB |
3075 | 2002-05-14 Jim Blandy <[email protected]> |
3076 | ||
3077 | * macroexp.c (init_buffer, gather_arguments, expand): Use NULL, not 0. | |
3078 | * macrotab.c (macro_lookup_inclusion, find_definition, | |
3079 | new_macro_table): Same. | |
3080 | ||
3081 | * macroexp.c (currently_rescanning, expand): Use `strcmp () == 0', | |
3082 | not `! strcmp ()'. This is a dubious improvement. | |
3083 | * macrotab.c (macro_lookup_inclusion, find_definition): Same. | |
3084 | ||
3085 | * macrotab.c (macro_lookup_inclusion): Initialize `best_depth', | |
3086 | although it's not necessary, to avoid a warning. | |
3087 | ||
2fdde8f8 DJ |
3088 | 2002-05-14 Daniel Jacobowitz <[email protected]> |
3089 | ||
3090 | * gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE. | |
3091 | (TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use | |
3092 | TYPE_INSTANCE_FLAGS. | |
3093 | (struct main_type): New. | |
3094 | (struct type): Move most members to struct main_type. Change | |
3095 | cv_type and as_type to new type_chain member. Add instance_flags. | |
3096 | (TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros. | |
3097 | (TYPE_CV_TYPE, TYPE_AS_TYPE): Remove. | |
3098 | (finish_cv_type): Remove prototype. | |
3099 | * gdbtypes.c (alloc_type): Update comment. Allocate TYPE_MAIN_TYPE. | |
3100 | Set TYPE_CHAIN. | |
3101 | (alloc_type_instance): New function. | |
3102 | (smash_type): New function. | |
3103 | (make_pointer_type, make_reference_type, make_function_type) | |
3104 | (smash_to_member_type, smash_to_method_type): Call smash_type. | |
3105 | (make_qualified_type): New function. | |
3106 | (make_type_with_address_space): Call make_qualified_type. | |
3107 | (make_cv_type): Likewise. | |
3108 | (finish_cv_type): Remove unnecessary function. | |
3109 | (replace_type): Update comment. Copy TYPE_MAIN_TYPE. | |
3110 | (recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS; | |
3111 | remove TYPE_CV_TYPE and TYPE_AS_TYPE. | |
3112 | * c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS. | |
3113 | * dwarf2read.c (read_structure_scope): Don't call finish_cv_type. | |
3114 | * hpread.c (hpread_read_struct_type): Likewise. | |
3115 | * stabsread.c (read_struct_type): Likewise. | |
3116 | ||
843fedf4 EZ |
3117 | 2002-05-14 Elena Zannoni <[email protected]> |
3118 | ||
3119 | * configure.tgt: Add a catch all sh* target, for cases like | |
3120 | sh[2,3,4]-elf and sh-hms. | |
3121 | ||
05a6c72c KS |
3122 | 2002-05-14 Keith Seitz <[email protected]> |
3123 | ||
3124 | * event-loop.c (create_file_handler): Don't do anything but | |
3125 | update data when we are given a fd which we are already | |
3126 | monitoring. | |
3127 | ||
5d085aaf ML |
3128 | 2002-05-14 Michal Ludvig <[email protected]> |
3129 | ||
3130 | * dwarf2cfi.c (context_cpy): Copy registers correctly. | |
3131 | (update_context): Use __func__ in warnings. | |
3132 | ||
9db8d71f DJ |
3133 | 2002-05-14 Daniel Jacobowitz <[email protected]> |
3134 | ||
3135 | * ser-tcp.c: Include <netinet/udp.h>. Rename tcp_open | |
3136 | and tcp_close to net_open and net_close. | |
3137 | (net_open): Accept "udp:" and "tcp:" specifications. Connect | |
3138 | using UDP if requested. Don't try to disable Nagle on UDP | |
3139 | sockets. | |
3140 | * remote.c (remote_serial_open): New function. Warn about UDP. | |
3141 | (remote_open_1, remote_async_open_1, remote_cisco_open): Call it. | |
3142 | ||
5dbc6baa EZ |
3143 | 2002-05-13 Elena Zannoni <[email protected]> |
3144 | ||
3145 | * MAINTAINERS: List sh-elf as buildable with ,-Werror. | |
3146 | ||
cc3023f7 EZ |
3147 | 2002-05-13 Elena Zannoni <[email protected]> |
3148 | ||
3149 | * configure.tgt: Remove sh-hms target. | |
3150 | * MAINTAINERS: Don't list sh-hms as a separate target. | |
3151 | ||
ec2bcbe7 JB |
3152 | 2002-05-13 Jim Blandy <[email protected]> |
3153 | ||
3154 | Add first preprocessor macro-expansion files. | |
3155 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
3156 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
3157 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
3158 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
3159 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
3160 | (macroexp.o, macrotab.o): New rules. | |
3161 | ||
6d531722 AC |
3162 | 2002-05-13 Andrew Cagney <[email protected]> |
3163 | ||
3164 | * config/m88k/tm-m88k.h: Update copyright. | |
3165 | (m88k_target_write_pc): Declare | |
3166 | (TARGET_WRITE_PC): Redefine using m88k_target_write_pc. | |
3167 | (M88K_NNPC_REGNUM): Rename NNPC_REGNUM. | |
3168 | (SHIFT_INST_REGS): Update definition. | |
3169 | * m88k-tdep.c (m88k_target_write_pc): New function. Implement | |
3170 | using old definition of TARGET_WRITE_PC. | |
3171 | * regcache.c (generic_target_write_pc): Delete code handling | |
3172 | NNPC_REGNUM. | |
3173 | * gdbarch.sh (NNPC_REGNUM): Delete. | |
3174 | * gdbarch.h, gdbarch.c: Regenerate. | |
3175 | ||
3e3f2739 RE |
3176 | 2002-05-13 Richard Earnshaw <[email protected]> |
3177 | ||
3178 | * builtin-regs.c (value_of_builtin_reg): Correctly calculate the | |
3179 | builtin reg number. | |
3180 | ||
0004e5a2 DJ |
3181 | 2002-05-13 Daniel Jacobowitz <[email protected]> |
3182 | ||
3183 | * ax-gdb.c (gen_sign_extend, gen_fetch, gen_usual_unary) | |
3184 | (gen_cast, gen_scale, gen_add, gen_sub, gen_binop, gen_deref) | |
3185 | (gen_address_of, gen_struct_ref, gen_repeat): Use type | |
3186 | access macros. | |
3187 | * c-typeprint.c (cp_type_print_method_args): Likewise. | |
3188 | (c_type_print_args): Likewise. | |
3189 | * d10v-tdep.c (d10v_push_arguments): Likewise. | |
3190 | (d10v_extract_return_value): Likewise. | |
3191 | * expprint.c (print_subexp): Likewise. | |
3192 | * gdbtypes.c (lookup_primitive_typename): Likewise. | |
3193 | (lookup_template_type, add_mangled_type, print_arg_types): Likewise. | |
3194 | * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_STUB) | |
3195 | (TYPE_TARGET_STUB, TYPE_STATIC, TYPE_CONST, TYPE_VOLATILE) | |
3196 | (TYPE_PROTOTYPED, TYPE_INCOMPLETE, TYPE_CODE_SPACE, TYPE_VARARGS) | |
3197 | (TYPE_VECTOR): Likewise. | |
3198 | * hpread.c (hpread_read_struct_type) | |
3199 | (fix_static_member_physnames, fixup_class_method_type) | |
3200 | (hpread_type_lookup): Likewise. | |
3201 | * mdebugread.c (parse_symbol, parse_type): Likewise. | |
3202 | * p-lang.c (is_pascal_string_type): Likewise. | |
3203 | * valops.c (hand_function_call): Likewise. | |
3204 | * x86-64-tdep.c (classify_argument): Likewise. | |
3205 | ||
3206 | * hpread.c (hpread_read_function_type) | |
3207 | (hpread_read_doc_function_type): Call replace_type. | |
3208 | * dstread.c (create_new_type): Delete. | |
3209 | (decode_dst_structure, process_dst_function): Call alloc_type. | |
3210 | Use type access macros. | |
3211 | ||
dff95cc7 MK |
3212 | 2002-05-12 Mark Kettenis <[email protected]> |
3213 | ||
3214 | * i387-tdep.c (i387_supply_fxsave): Skip the SSE registers if | |
3215 | the're not supported by the current architecture. | |
3216 | (i387_fill_fxsave): Likewise. | |
3217 | ||
bbcd32ad FF |
3218 | 2002-05-12 Fred Fish <[email protected]> |
3219 | ||
3220 | * symfile.c (default_symfile_offsets): Arrange for uninitialized | |
3221 | sect_index_xxx members to index the first slot in section_offsets | |
3222 | if all of the section_offsets are zero. | |
3223 | ||
89cf4787 MK |
3224 | 2002-05-12 Mark Kettenis <[email protected]> |
3225 | ||
3226 | * configure.tgt (sparc-*openbsd): Remove entry accidentially | |
3227 | checked in with last change. | |
3228 | ||
1f77ffc5 MK |
3229 | 2002-05-12 Mark Kettenis <[email protected]> |
3230 | ||
3231 | * configure.tgt (i[3456]86-*-unixware*, i[3456]86-*-unixware2*): | |
3232 | Remove targets. These are canonicalized to i386-*-sysv4.2uw by | |
3233 | config.sub. | |
3234 | ||
89b8b4a9 DJ |
3235 | 2002-05-12 Daniel Jacobowitz <[email protected]> |
3236 | ||
3237 | * Makefile.in: Update dependencies. | |
3238 | ||
14a5e767 AC |
3239 | 2002-05-11 Andrew Cagney <[email protected]> |
3240 | ||
3241 | * language.c (local_hex_string_custom): Simplify. Do not depend | |
3242 | on PRINTF_HAS_LONG_LONG or CC_HAS_LONG_LONG. | |
3243 | ||
3244 | * memattr.c (mem_info_command): Replace calls to | |
3245 | longest_local_hex_string and longest_local_hex_string_custom. | |
3246 | * buildsym.c (make_blockvector): Ditto. | |
3247 | * solib.c (info_sharedlibrary_command): Ditto. | |
3248 | * tracepoint.c (tracepoints_info): Ditto. | |
3249 | * symtab.c (print_msymbol_info): Ditto. | |
3250 | ||
3251 | * language.c (local_hex_string): Delete. | |
3252 | (local_hex_string_custom): Delete. | |
3253 | (longest_local_hex_string): Rename to local_hex_string. | |
3254 | (longest_local_hex_string_custom): Rename to | |
3255 | local_hex_string_custom. | |
3256 | * language.h (local_hex_string): Change parameter type to LONGEST. | |
3257 | (local_hex_string_custom): Ditto. | |
3258 | (longest_local_hex_string): Delete declaration. | |
3259 | (longest_local_hex_string_custom): Ditto. | |
3260 | ||
3261 | * solib.c: Update copyright. | |
3262 | * memattr.c: Update copyright. | |
3263 | ||
13d01224 AC |
3264 | 2002-05-11 Andrew Cagney <[email protected]> |
3265 | ||
3266 | * arch-utils.h (legacy_register_to_value): Declare. | |
3267 | (legacy_value_to_register): Declare. | |
3268 | (legacy_convert_register_p): Declare. | |
3269 | * arch-utils.c (legacy_register_to_value): New function. | |
3270 | (legacy_value_to_register): New function. | |
3271 | (legacy_convert_register_p): New function. | |
3272 | ||
3273 | * gdbarch.sh (REGISTER_TO_VALUE): Define. | |
3274 | (VALUE_TO_REGISTER): Define. | |
3275 | (CONVERT_REGISTER_P): Define. | |
3276 | * gdbarch.h, gdbarch.c: Regenerate. | |
3277 | ||
3278 | * valops.c (value_assign): Use CONVERT_REGISTER_P and | |
3279 | VALUE_TO_REGISTER. | |
3280 | * findvar.c (value_from_register): Use REGISTER_TO_VALUE and | |
3281 | CONVERT_REGISTER_P. | |
3282 | ||
4a1970e4 DJ |
3283 | 2005-05-11 Daniel Jacobowitz <[email protected]> |
3284 | Peter Schauer <[email protected]> | |
3285 | ||
3286 | * Makefile.in: Update dependencies for valops.c. | |
3287 | * valops.c: Include "gdb_assert.h". | |
3288 | (typecmp): Skip THIS parameter to methods. | |
3289 | (find_method_list): Remove static_memfuncp argument, | |
3290 | update callers. Check for stub methods. | |
3291 | (find_value_oload_method_list): Don't set *static_memfuncp. | |
3292 | (find_overload_match): Don't check for stub methods. Assert | |
3293 | that methods are not stubbed. Handle static methods. | |
3294 | (value_find_oload_method_list): Remove static_memfuncp argument. | |
3295 | * gdbtypes.c (check_stub_method): Do not add THIS pointer | |
3296 | to the argument list for static stub methods. | |
3297 | * value.h (value_find_oload_method_list): Update prototype. | |
3298 | ||
b2e75d78 AC |
3299 | 2002-05-11 Andrew Cagney <[email protected]> |
3300 | ||
3301 | * arch-utils.h (generic_register_size): Declare. | |
3302 | (generic_register_raw_size, generic_register_virtual_size): Delete | |
3303 | declarations. | |
3304 | * arch-utils.c (generic_register_raw_size): Delete. | |
3305 | (generic_register_size): New function. | |
3306 | (generic_register_virtual_size): Delete. | |
3307 | ||
3308 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Make | |
3309 | default generic_register_size. | |
3310 | * gdbarch.h, gdbarch.c: Re-generate. | |
3311 | ||
3312 | * d10v-tdep.c (d10v_gdbarch_init): Use generic_register_size for | |
3313 | register_virtual_size. | |
3314 | * x86-64-tdep.c (x86_64_gdbarch_init): Ditto. | |
3315 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
3316 | ||
451fbdda AC |
3317 | 2002-05-11 Andrew Cagney <[email protected]> |
3318 | ||
3319 | * gdbarch.sh (gdbarch_data): Add gdbarch parameter. | |
3320 | * gdbarch.h, gdbarch.c: Regenerate. | |
3321 | * gnu-v3-abi.c: Update copyright. | |
3322 | (vtable_address_point_offset): Update. | |
3323 | (gnuv3_rtti_type): Update. | |
3324 | (gnuv3_baseclass_offset): Update. | |
3325 | * solib-svr4.c (svr4_fetch_link_map_offsets): Update. | |
3326 | (init_fetch_link_map_offsets): Update. | |
3327 | * remote.c (get_remote_state): Update. | |
3328 | ||
6d2f5cea DJ |
3329 | 2002-05-11 Daniel Jacobowitz <[email protected]> |
3330 | ||
3331 | * TODO: Remove value_headof/value_from_vtable_info comment. | |
3332 | * printcmd.c (print_command_1): Don't call value_from_vtable_info. | |
3333 | * values.c (value_headof, value_from_vtable_info): Delete. | |
3334 | * value.h (value_from_vtable_info): Delete prototype. | |
3335 | ||
d2324da4 AC |
3336 | 2002-05-11 Andrew Cagney <[email protected]> |
3337 | ||
3338 | * Makefile.in: Replace gdb_assert.h with $(gdb_assert_h), | |
3339 | gdb_string.h with $(gdb_string_h) and gdb_regex.h with | |
3340 | $(gdb_regex_h). | |
3341 | (gdb_assert_h): Define. | |
3342 | (gdb_wait_h): Define. | |
3343 | (gdb_regex_h): Define. | |
3344 | ||
5c717440 DJ |
3345 | 2002-05-11 Daniel Jacobowitz <[email protected]> |
3346 | ||
3347 | From Peter Schauer <[email protected]>: | |
3348 | * linespec.c (find_methods): Handle GCC 3.x template constructors. | |
3349 | ||
6c7861b3 JT |
3350 | 2002-05-11 Jason Thorpe <[email protected]> |
3351 | ||
3352 | * nbsd-tdep.c: Fix comment. | |
3353 | ||
ea5bc2a6 JT |
3354 | 2002-05-11 Jason Thorpe <[email protected]> |
3355 | ||
3356 | * Makefile.in (ALLDEPFILES): Add nbsd-tdep.c. | |
3357 | (alphanbsd-tdep.o): Add nbsd-tdep.h to dependency list. | |
3358 | (nbsd-tdep.o): New dependency list. | |
3359 | * alphanbsd-tdep.c: Don't include solib-svr4.h. Include | |
3360 | nbsd-tdep.h. | |
3361 | (alphanbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
3362 | (alphanbsd_init_abi): Use nbsd_lp64_solib_svr4_fetch_link_map_offsets. | |
3363 | * nbsd-tdep.c: New file. | |
3364 | * nbsd-tdep.h: New file. | |
3365 | * shnbsd-tdep.c: Don't include solib-svr4.h. Include | |
3366 | nbsd-tdep.h. | |
3367 | (shnbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
3368 | (shnbsd_init_abi): Use nbsd_ilp32_solib_svr4_fetch_link_map_offsets. | |
3369 | * config/alpha/nbsd.mt (TDEPFILES): Add nbsd-tdep.o. | |
3370 | * config/sh/nbsd.mt (TDEPFILES): Ditto. | |
3371 | ||
b28da865 JT |
3372 | 2002-05-11 Jason Thorpe <[email protected]> |
3373 | ||
3374 | * config/alpha/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
3375 | * config/alpha/nbsd.mt (TDEPFILES): Add corelow.o. | |
3376 | * config/i386/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
3377 | * config/i386/nbsd.mt (TDEPFILES): Add corelow.o. | |
3378 | * config/i386/nbsdelf.mh (NATDEPFILES): Remove corelow.o. | |
3379 | * config/i386/nbsdelf.mt (TDEPFILES): Add corelow.o. | |
3380 | ||
4b8ff1fa JT |
3381 | 2002-05-11 Jason Thorpe <[email protected]> |
3382 | ||
3383 | * config/i386/nbsd.mh (NATDEPFILES): Use line continuations. | |
3384 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
3385 | * config/m68k/nbsd.mh (NATDEPFILES): Likewise. | |
3386 | * config/ns32k/nbsd.mh (NATDEPFILES): Likewise. | |
3387 | * config/powerpc/nbsd.mh (NATDEPFILES): Likewise. | |
3388 | * config/sparc/nbsd.mh (NATDEPFILES): Likewise. | |
3389 | * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise. | |
3390 | ||
dfe6eb1f JT |
3391 | 2002-05-11 Jason Thorpe <[email protected]> |
3392 | ||
3393 | * i386nbsd-nat.c: Delete file. Move fetch_core_registers and | |
3394 | fetch_elfcore_registers to... | |
3395 | * i386nbsd-tdep.c: ...here. | |
3396 | (i386nbsd_use_struct_convention): Rename to... | |
3397 | (i386nbsd_aout_use_struct_convention): ...this. | |
3398 | (i386nbsd_supply_reg): New function. | |
3399 | (i386nbsd_fill_reg): New function. | |
3400 | (fetch_core_registers): Use i386nbsd_supply_reg. | |
3401 | (fetch_elfcore_registers): Likewise. | |
3402 | (_initialize_i386nbsd_tdep): New function. | |
3403 | * config/i386/nbsd.mh (NATDEPFILES): Remove i386nbsd-nat.o. | |
3404 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
3405 | * config/i386/nbsdelf.mt (TDEPFILES): Add i386nbsd-tdep.o. | |
3406 | * config/i386/tm-nbsd.h (i386nbsd_use_struct_convention): Rename to... | |
3407 | (i386nbsd_aout_use_struct_convention): ...this. | |
3408 | ||
20cb8cda JT |
3409 | 2002-05-11 Jason Thorpe <[email protected]> |
3410 | ||
3411 | * shnbsd-nat.c (fetch_inferior_registers): Use shnbsd_supply_reg. | |
3412 | (store_inferior_registers): Use shnbsd_fill_reg. | |
3413 | * shnbsd-tdep.c (sh_nbsd_supply_registers, | |
3414 | sh_nbsd_supply_register): Collapse into... | |
3415 | (shnbsd_supply_reg): ...this. | |
3416 | (sh_nbsd_fill_registers, sh_nbsd_fill_register): Collapse into... | |
3417 | (shnbsd_fill_reg): ...this. | |
3418 | (sh_nbsd_solib_svr4_fetch_link_map_offsets): Rename to... | |
3419 | (shnbsd_solib_svr4_fetch_link_map_offsets): ...this. | |
3420 | (fetch_core_registers): Use shnbsd_supply_reg. | |
3421 | (fetch_elfcore_registers): Use shnbsd_supply_reg. | |
3422 | (sh_nbsd_core_fns): Rename to... | |
3423 | (shnbsd_core_fns): ...this. | |
3424 | (sh_nbsd_elfcore_fns): Rename to... | |
3425 | (shnbsd_elfcore_fns): ...this. | |
3426 | (sh_nbsd_init_abi): Rename to... | |
3427 | (shnbsd_init_abi): ...this. | |
3428 | (_initialize_sh_nbsd_tdep): Rename to... | |
3429 | (_initialize_shnbsd_tdep): ...this. | |
3430 | * shnbsd-tdep.h (sh_nbsd_supply_registers, | |
3431 | sh_nbsd_supply_register, sh_nbsd_fill_registers, | |
3432 | sh_nbsd_fill_register): Remove prototypes. | |
3433 | (shnbsd_supply_reg, shnbsd_fill_reg): Add prototypes. | |
3434 | ||
e750d25e JT |
3435 | 2002-05-11 Jason Thorpe <[email protected]> |
3436 | ||
3437 | * Makefile.in (ALLDEPFILES): Remove i387-nat.c. | |
3438 | (i387-nat.o): Delete dependency list. | |
3439 | (go32-nat.o): Change i387-nat.h to i387-tdep.h. | |
3440 | (x86-64-linux-nat.o): Likewise. | |
3441 | * i387-nat.c: Delete file, moving contents to... | |
3442 | * i387-tdep.c: ...here. | |
3443 | * i387-nat.h: Rename... | |
3444 | * i387-tdep.h: ...to this. | |
3445 | * go32-nat.c: Include i387-tdep.h instead of i387-nat.h. | |
3446 | * i386-linux-nat.c: Likewise. | |
3447 | * i386bsd-nat.c: Likewise. | |
3448 | * i386gnu-nat.c: Likewise. | |
3449 | * i386nbsd-nat.c: Likewise. | |
3450 | * i386v4-nat.c: Likewise. | |
3451 | * x86-64-linux-nat.c: Likewise. | |
3452 | * config/i386/fbsd.mh (NATDEPFILES): Remove i387-nat.o. | |
3453 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
3454 | * config/i386/i386gnu.mh (NATDEPFILES): Likewise. | |
3455 | * config/i386/i386sol2.mh (NATDEPFILES): Likewise. | |
3456 | * config/i386/i386v42mp.mh (NATDEPFILES): Likewise. | |
3457 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
3458 | * config/i386/nbsd.mh (NATDEPFILES): Likewise. | |
3459 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
3460 | * config/i386/obsd.mh (NATDEPFILES): Likewise. | |
3461 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
3462 | ||
1aee598a JT |
3463 | 2002-05-11 Jason Thorpe <[email protected]> |
3464 | ||
3465 | * Makefile.in (ALLDEPFILES): Remove alphanbsd-nat.c. | |
3466 | (alphanbsd-nat.o): Remove dependency list. | |
3467 | (alphanbsd-tdep.o): Add $(regcache_h) to dependency list. | |
3468 | * alphanbsd-nat.c: Delete. Contents moved to... | |
3469 | * alphanbsd-tdep.c: ...here. | |
3470 | (_initialize_alphanbsd_tdep): Register core functions. | |
3471 | * config/alpha/nbsd.mh (NATDEPFILES): Remove alphanbsd-nat.o. | |
3472 | ||
12bcb0fe JT |
3473 | 2002-05-11 Jason Thorpe <[email protected]> |
3474 | ||
3475 | * Makefile.in (ALLDEPFILES): Add alphabsd-tdep.c. | |
3476 | (alphabsd-nat.o): Depend on alphabsd-tdep.h. | |
3477 | (alphanbsd-nat.o): Likewise. | |
3478 | (alphabsd-tdep.o): New dependency list. | |
3479 | * alphabsd-nat.c (supply_gregset): Use alphabsd_supply_reg. | |
3480 | (fill_gregset): Use alphabsd_fill_reg. | |
3481 | (supply_fpregset): Use alphabsd_supply_fpreg. | |
3482 | (fill_fpregset): Use alphabsd_fill_fpreg. | |
3483 | (fetch_inferior_registers): Use struct reg and struct fpreg | |
3484 | rather than gregset_t and fpregset_t. Use alphabsd_supply_reg | |
3485 | and alphabsd_supply_fpreg. | |
3486 | (store_inferior_registers): Use struct reg and struct fpreg | |
3487 | rather than gregset_t and fpregset_t. Use alphabsd_fill_reg | |
3488 | and alphabsd_fill_fpreg. | |
3489 | * alphabsd-tdep.c: New file. | |
3490 | * alphabsd-tdep.h: New file. | |
3491 | * alphanbsd-nat.c (fetch_core_registers): Use alphabsd_supply_fpreg. | |
3492 | (fetch_elfcore_registers): Use alphabsd_supply_reg and | |
3493 | alphabsd_supply_fpreg. | |
3494 | * config/alpha/fbsd.mt (TDEPFILES): Add alphabsd-tdep.o. | |
3495 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
3496 | ||
361d1df0 EC |
3497 | 2002-05-11 Eric Christopher <[email protected]> |
3498 | ||
3499 | * mips-tdep.c (mips_double_register_type): Fix thinko. | |
3500 | (mips_single_register_type): Ditto. | |
3501 | * MAINTAINERS: Add self. | |
3502 | ||
92dd7cee MK |
3503 | 2002-05-11 Mark Kettenis <[email protected]> |
3504 | ||
3505 | * i387-nat.c (i387_supply_register, i387_fill_fsave, | |
3506 | i387_supply_fxsave, i387_fill_fxsave): Rewrite in order to do the | |
3507 | right thing on architectures with different endianness and/or | |
3508 | integer sizes. | |
3509 | ||
e27da16d JT |
3510 | 2002-05-10 Jason Thorpe <[email protected]> |
3511 | ||
3512 | From Christian Limpach <[email protected]> | |
3513 | * configure.in: Change sed expression which comments out | |
3514 | NATDEPFILES to also comment out continuation lines. | |
3515 | * configure: Regenerate. | |
3516 | ||
ddde02bd EZ |
3517 | 2002-05-10 Elena Zannoni <[email protected]> |
3518 | ||
3519 | * sh-tdep.c: Clean up code erroneously reintroduced by previous | |
3520 | big patch. | |
3521 | ||
1c922164 EZ |
3522 | 2002-05-10 Elena Zannoni <[email protected]> |
3523 | ||
3524 | * sh-tdep.c: Include correct file. | |
3525 | ||
283150cd EZ |
3526 | 2002-05-10 Elena Zannoni <[email protected]> |
3527 | ||
3528 | New support for sh64-elf (sh5) target. | |
3529 | ||
3530 | * configure.tgt: For sh64-elf target, default to sh-elf. | |
3531 | ||
3532 | * config/sh/tm-sh.h (enum sh-abi): Possible ABI's. | |
3533 | (struct gdbarch_tdep): Add new fields for new registers and ABI | |
3534 | info. | |
361d1df0 | 3535 | |
283150cd EZ |
3536 | * sh-tdep.c: Include elf-bfd.h, elf/sh.h, gdb/sim-sh.h. |
3537 | (NUM_PSEUDO_REGS_SH_MEDIA, NUM_PSEUDO_REGS_SH_COMPACT, | |
3538 | MSYMBOL_IS_SPECIAL, IS_ISA32_ADDR, MAKE_ISA32_ADDR, | |
3539 | UNMAKE_ISA32_ADDR, IS_PTABSL_R18, IS_STS_R0, IS_STS_PR, | |
3540 | IS_MOV_TO_R15, IS_MOV_R14, IS_STQ_R18_R14, IS_STQ_R18_R15, | |
3541 | IS_STL_R18_R15, IS_STQ_R14_R15, IS_STL_R14_R15, IS_ADDIL_SP_MEDIA, | |
3542 | IS_ADDI_SP_MEDIA, IS_ADDL_SP_FP_MEDIA, IS_ADD_SP_FP_MEDIA, | |
3543 | IS_MOV_SP_FP_MEDIA, IS_MOV_R0, IS_MOVL_R0, IS_ADD_SP_R0, | |
3544 | IS_MOV_R14_R0, IS_MEDIA_IND_ARG_MOV, IS_MEDIA_ARG_MOV, | |
3545 | IS_MEDIA_MOV_TO_R14, IS_COMPACT_IND_ARG_MOV, IS_COMPACT_ARG_MOV, | |
3546 | IS_COMPACT_MOV_TO_R14, IS_JSR_R0, IS_NOP): New macros. | |
3547 | (sh_sh64_register_name, sh64_elf_make_msymbol_special, | |
3548 | pc_is_isa32, sh_sh64_breakpoint_from_pc, look_for_args_moves, | |
3549 | sh64_skip_prologue_hard_way, sh64_use_struct_convention, | |
3550 | gdb_print_insn_sh64, translate_insn_rn, sh64_frame_chain, | |
3551 | sh64_get_saved_pr, fpp_reg_base_num, is_media_pseudo, | |
3552 | sh64_get_gdb_regnum, sh64_media_reg_base_num, | |
3553 | sh64_compact_reg_base_num, translate_rn_to_arch_reg_num, | |
3554 | sign_extend, sh64_nofp_frame_init_saved_regs, | |
3555 | sh64_init_extra_frame_info, sh64_get_saved_register, | |
3556 | sh64_extract_struct_value_address, sh64_pop_frame, | |
3557 | sh64_push_arguments, sh64_extract_return_value, | |
3558 | sh64_store_return_value, sh64_show_media_regs, | |
3559 | sh64_show_compact_regs, sh64_show_regs, sh_sh64_register_byte, | |
3560 | sh_sh64_register_raw_size, sh_sh64_register_virtual_size, | |
3561 | sh_sh64_register_virtual_type, | |
3562 | sh_sh64_register_convert_to_virtual, | |
3563 | sh_sh64_register_convert_to_raw, sh64_pseudo_register_read, | |
3564 | sh64_register_read, sh64_pseudo_register_write, | |
3565 | sh64_register_write, do_fv_c_register_info, do_dr_c_register_info, | |
3566 | do_r_c_register_info, do_fpp_register_info, do_cr_c_register_info, | |
3567 | sh64_do_pseudo_register, sh_compact_do_registers_info, | |
3568 | sh64_do_registers_info, sh_gdbarch_init): New functions. | |
3569 | ||
3117ed25 EZ |
3570 | 2002-05-10 Elena Zannoni <[email protected]> |
3571 | ||
3572 | * sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type. | |
3573 | ||
2654e6d4 DJ |
3574 | 2002-05-10 Daniel Jacobowitz <[email protected]> |
3575 | ||
3576 | * linespec.c (decode_line_1): Check for a double quote after | |
3577 | a filename correctly. | |
3578 | ||
9ab3e532 JB |
3579 | 2002-05-10 Jim Blandy <[email protected]> |
3580 | ||
3581 | Properly track the size of the current objfile's .debug_line section. | |
3582 | * dwarf2read.c (struct dwarf2_pinfo): New member: dwarf_line_size. | |
3583 | (DWARF_LINE_SIZE): New macro. | |
3584 | (dwarf2_build_psymtabs_hard): Record the line section's size in | |
3585 | the partial symbol table. | |
3586 | (psymtab_to_symtab_1): Restore dwarf_line_size from the partial | |
3587 | symbol table. | |
3588 | ||
126fa72d PS |
3589 | 2002-05-10 Petr Sorfa <[email protected]> |
3590 | ||
3591 | * ia64-tdep.c: Handle breakpoints on L instruction type | |
3592 | in MLX instruction bundle by moving the breakpoint to | |
3593 | the third slot (X instruction type) as L holds only data. | |
3594 | ||
1f077a3e KB |
3595 | 2002-05-10 Kevin Buettner <[email protected]> |
3596 | ||
3597 | * dbxread.c (discarding_local_symbols_complaint): New complaint. | |
3598 | (process_one_symbol): Complain about discarding local symbols | |
3599 | due to a misplaced N_LBRAC entry. | |
3600 | ||
8120c9d5 | 3601 | 2002-05-09 Elena Zannoni <[email protected]> |
361d1df0 EC |
3602 | |
3603 | From Daniel Berlin <[email protected]> | |
8120c9d5 EZ |
3604 | * linespec.c (find_toplevel_char): '<' and '>' also increase and |
3605 | decrease the depth we are at, in the case of templates. | |
361d1df0 | 3606 | |
67b2c998 DJ |
3607 | 2002-05-09 Daniel Jacobowitz <[email protected]> |
3608 | ||
3609 | * mips-tdep.c (mips_float_register_type): New function. | |
3610 | (mips_double_register_type): New function. | |
3611 | (mips_print_register): Use them. | |
3612 | (do_fp_register_row): Likewise. | |
3613 | ||
fd326606 DJ |
3614 | 2002-05-09 Daniel Jacobowitz <[email protected]> |
3615 | ||
6609d9af | 3616 | * signals/signals.c (signals): Remove conditional compilation around |
fd326606 | 3617 | Mach-specific signals. Move them to after TARGET_SIGNAL_DEFAULT. |
6609d9af | 3618 | (target_signal_from_name): Loop until TARGET_SIGNAL_LAST. |
fd326606 | 3619 | |
bef35864 MS |
3620 | 2002-05-09 Michael Snyder <[email protected]> |
3621 | ||
3622 | * remote-rdp.c (remote_rdp_can_run): Remove. | |
3623 | ||
c55a3f73 TT |
3624 | 2002-05-09 Tom Tromey <[email protected]> |
3625 | ||
3626 | * jv-valprint.c (java_val_print): Handle `char' as a special case | |
3627 | of TYPE_CODE_INT. | |
3628 | ||
b8d5e71d MS |
3629 | 2002-05-09 Michael Snyder <[email protected]> |
3630 | ||
3631 | * arm-tdep.c (arm_scan_prologue): Accept strb r(0123),[r11,#-nn], | |
3632 | strh r(0123),[r11,#-nn], str r(0123),[r11,#-nn], as well as | |
361d1df0 | 3633 | strb r(0123),[sp,#nn], strh r(0123),[sp,#nn] and |
b8d5e71d | 3634 | str r(0123),[sp,#nn]. |
361d1df0 | 3635 | (arm_skip_prologue): Ditto. Also make disassembly |
b8d5e71d MS |
3636 | order-independent by placing it in a loop. |
3637 | ||
e2cd42dd MS |
3638 | 2002-05-06 Michael Snyder <[email protected]> |
3639 | ||
3640 | * stabsread.c (read_type): Add recognition for new attribute: | |
3641 | "@V;" means that an array type is actually a vector. | |
3642 | This is analogous to the vector flag that's been added to dwarf2. | |
3643 | ||
3ce1502b MK |
3644 | 2002-05-09 Mark Kettenis <[email protected]> |
3645 | ||
3646 | * i386-tdep.h (i386_abi): New enum. | |
3647 | (struct gdbarch_tdep): Replace os_ident member with abi. | |
3648 | (i386_gdbarch_register_os_abi): New prototype. | |
3649 | * i386-tdep.c (i386_abi_names): New array. | |
3650 | (process_note_abi_tag_sections): Removed. | |
3651 | (process_note_sections): New function. | |
3652 | (i386_elf_abi_from_note, i386_elf_abi): New functions. | |
3653 | (struct i386_abi_handler): New struct. | |
3654 | (i386_abi_handler_list): New variable. | |
3655 | (i386_gdbarch_register_os_abi): New function. | |
3656 | (i386_gdbarch_init): Adapt for the changes given above. | |
3657 | ||
084c156a DJ |
3658 | 2002-05-08 Daniel Jacobowitz <[email protected]> |
3659 | ||
3660 | * gregset.h: Say "GNU/Linux". | |
3661 | ||
6599f021 EZ |
3662 | 2002-05-08 Elena Zannoni <[email protected]> |
3663 | ||
3664 | * gdbtypes.c : Add new builtin type for 64 bit vectors. | |
3665 | (build_gdbtypes): Build builtin_type_v2_float. | |
3666 | (_initialize_gdbtypes): Register new builtin type. | |
3667 | ||
40af4b0c AC |
3668 | 2002-05-08 Andrew Cagney <[email protected]> |
3669 | ||
3670 | * gdbarch.sh (init_gdbarch_swap): Do not clear the swap section. | |
3671 | (clear_gdbarch_swap): New function. | |
3672 | (initialize_non_multiarch): Call. | |
3673 | (gdbarch_update_p): Before calling init(), swap out and clear the | |
3674 | existing architecture. | |
3675 | * gdbarch.c: Regenerate. | |
3676 | ||
4fe84f46 JT |
3677 | 2002-05-08 Jason Thorpe <[email protected]> |
3678 | ||
3679 | * config/djgpp/fnchange.lst: Add alphanbsd-nat.c and | |
3680 | alphanbsd-tdep.c. | |
3681 | ||
4015edd1 JT |
3682 | 2002-05-08 Jason Thorpe <[email protected]> |
3683 | ||
3684 | * sh-nbsd-nat.c: Rename to... | |
3685 | * shnbsd-nat.c: ...this. | |
3686 | * sh-nbsd-tdep.c: Rename to... | |
3687 | * shnbsd-tdep.c: ...this. | |
3688 | * sh-nbsd-tdep.h: Rename to... | |
3689 | * shnbsd-tdep.h: ...this. | |
3690 | * config/sh/nbsd.mh: Use shnbsd-nat.o. | |
3691 | * config/sh/nbsd.mt: Use shnbsd-tdep.o. | |
3692 | ||
0e2bd219 RE |
3693 | 2002-05-08 Richard Earnshaw <[email protected]> |
3694 | ||
3695 | * remote-rdi.c (_initializie_remote_rdi): Use ANSI-style string | |
3696 | concatenation for command help messages. | |
3697 | ||
13a38d45 JT |
3698 | 2002-05-08 Jason Thorpe <[email protected]> |
3699 | ||
3700 | * NEWS: Note new sh*-*-netbsdelf* configuration. | |
3701 | * configure.host: Set gdb_host_cpu to sh for all sh*. | |
3702 | (sh*-*-netbsdelf*): New host. | |
3703 | * configure.tgt: Set gdb_target_cpu to sh for all sh*. | |
3704 | (sh*-*-netbsdelf*): New target. | |
3705 | * sh-nbsd-nat.c: New file. | |
3706 | * sh-nbsd-tdep.c: New file. | |
3707 | * sh-nbsd-tdep.h: New file. | |
3708 | * config/sh/nbsd.mh: New file. | |
3709 | * config/sh/nbsd.mt: New file. | |
3710 | * config/sh/nm-nbsd.h: New file. | |
3711 | * config/sh/tm-nbsd.h: New file. | |
3712 | ||
d658f924 JT |
3713 | 2002-05-08 Jason Thorpe <[email protected]> |
3714 | ||
3715 | * sh-tdep.c (sh_osabi_names): Declare. | |
3716 | (process_note_abi_tag_sections): New function. | |
3717 | (get_elfosabi): Ditto. | |
3718 | (sh_gdbarch_register_os_abi): Ditto. | |
3719 | (sh_dump_tdep): Ditto. | |
3720 | _initialize_sh_tdep): Use gdbarch_register to register | |
3721 | sh_gdbarch_init and sh_dump_tdep. | |
3722 | * config/sh/tm-sh.h (sh_osabi): Declare. | |
3723 | (gdbarch_tdep): Add sh_osabi and osabi_name members. | |
3724 | ||
848cfffb AC |
3725 | 2002-05-07 Andrew Cagney <[email protected]> |
3726 | ||
3727 | * arm-tdep.c (arm_skip_prologue): Handle generic dummy frames. | |
3728 | (thumb_scan_prologue): Ditto. | |
3729 | (arm_find_callers_reg): Ditto. | |
3730 | (arm_frame_chain): Ditto. | |
3731 | (arm_init_extra_frame_info): Ditto. | |
3732 | (arm_frame_saved_pc): Ditto. | |
3733 | (arm_pop_frame): Ditto. | |
3734 | (arm_push_return_address): New function. | |
3735 | (arm_gdbarch_init): Initialize use_generic_dummy_frames, | |
3736 | call_dummy_location, call_dummy_breakpoint_offset_p, | |
3737 | call_dummy_breakpoint_offset, call_dummy_p, | |
3738 | call_dummy_stack_adjust_p, call_dummy_words, | |
3739 | sizeof_call_dummy_words, call_dummy_start_offset, | |
3740 | call_dummy_length, fix_call_dummy, pc_in_call_dummy, | |
3741 | call_dummy_address, push_return_address and push_dummy_frame for | |
3742 | generic dummy frames. | |
3743 | ||
e7d717c0 JT |
3744 | 2002-05-07 Jason Thorpe <[email protected]> |
3745 | ||
3746 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Fix error in | |
3747 | size computation for alloca. | |
3748 | (sh_fp_frame_init_saved_regs): Likewise. | |
3749 | ||
7bbcf283 RE |
3750 | 2002-05-07 Richard Earnshaw <[email protected]> |
3751 | ||
3752 | * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE): Define. | |
3753 | (ARM_MAX_REGISTER_VIRTUAL_SIZE): Define. | |
361d1df0 | 3754 | * arm-tdep.c (arm_store_return_value): Use them. |
7bbcf283 RE |
3755 | Use FP_REGISTER_RAW_SIZE when setting the FPA return value. |
3756 | * remote-rdp.c (remote_rdp_fetch_register): Use | |
3757 | ARM_MAX_REGISTER_RAW_SIZE. | |
3758 | (remote_rdp_store_register): Likewise. | |
3759 | ||
4657573b ML |
3760 | 2002-05-07 Michal Ludvig <[email protected]> |
3761 | ||
361d1df0 | 3762 | * dwarf2cfi.c: Code cleanup, removed unused variables, |
4657573b ML |
3763 | added default labels to switch {} statements. |
3764 | * x86-64-tdep.c: Ditto. | |
3765 | * x86-64-linux-nat.c: Ditto. | |
3766 | ||
010f3b2f JT |
3767 | 2002-05-07 Jason Thorpe <[email protected]> |
3768 | ||
3769 | * solib.h: Protect against multiple inclusion. | |
3770 | ||
debd256d JB |
3771 | 2002-05-06 Jim Blandy <[email protected]> |
3772 | ||
9ab3e532 JB |
3773 | Add first preprocessor macro-expansion files. |
3774 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
3775 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
3776 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
3777 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
3778 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
3779 | (macroexp.o, macrotab.o): New rules. | |
3780 | ||
debd256d JB |
3781 | Separate the job of reading the line number info statement program |
3782 | header (...expialidocious) out into its own function. | |
3783 | * dwarf2read.c (struct line_head, struct filenames, struct | |
3784 | directories): Replace with... | |
3785 | (struct line_header): New structure, containing the full | |
3786 | contents of the statement program header, including the | |
3787 | include directory and file name tables. | |
3788 | (read_file_scope): If we have line number info, instead of just | |
3789 | calling dwarf_decode_lines to do all the work, call | |
3790 | dwarf_decode_line_header first to get a `struct line_header' | |
3791 | containing the data in the statement program header, and then | |
3792 | pass that to dwarf_decode_lines, which will pick up where that | |
3793 | left off. Be sure to clean up the `struct line_header' object. | |
3794 | (dwarf_decode_line_header, free_line_header, add_include_dir, | |
3795 | add_file_name): New functions. | |
3796 | (dwarf_decode_lines): Move all the code to read the statement | |
3797 | program header into dwarf_decode_line_header. Take the line | |
3798 | header it built as the first argument, instead of the offset to | |
3799 | the compilation unit's line number info. Use the new `struct | |
3800 | line_header' type instead of the old structures. No need to do | |
3801 | cleanups here now, since we don't allocate anything. | |
3802 | (dwarf2_statement_list_fits_in_line_number_section, | |
3803 | dwarf2_line_header_too_long): New complaints. | |
3804 | ||
ac3aafc7 EZ |
3805 | 2002-05-06 Elena Zannoni <[email protected]> |
3806 | ||
3807 | * gdbtypes.c (init_vector_type): New function. | |
3808 | (build_builtin_type_vec128): Simplify the representation of SIMD | |
3809 | registers. | |
3810 | (build_gdbtypes): Initialize new builtin vector types. | |
3811 | (_initialize_gdbtypes): Register new vector types with gdbarch. | |
3812 | (builtin_type_v4_float, builtin_type_v4_int32, | |
3813 | builtin_type_v8_int16, builtin_type_v16_int8, | |
3814 | builtin_type_v2_int32, builtin_type_v4_int16, | |
3815 | builtin_type_v8_int8): New (renamed) SIMD types. | |
3816 | ||
13e49980 MK |
3817 | 2002-05-06 Mark Kettenis <[email protected]> |
3818 | ||
3819 | * i387-nat.c (i387_fill_fsave): Use regcache_collect. | |
3820 | (i387_fill_fxsave): Likewise. | |
3821 | ||
997b20b8 AO |
3822 | 2002-05-05 Alexandre Oliva <[email protected]> |
3823 | ||
3824 | * alpha-tdep.c (alpha_extract_return_value): Don't use | |
3825 | non-constant array size in prototype. | |
3826 | ||
535c96ce AC |
3827 | 2002-05-04 Andrew Cagney <[email protected]> |
3828 | ||
3829 | From Brian Taylor <briant at model dot com>: | |
3830 | * ui-out.c (ui_out_field_core_addr): Use the function | |
3831 | longest_local_hex_string_custom'to format addresses > 32 bits | |
3832 | wide. | |
3833 | ||
3834 | * ui-out.c (ui_out_field_core_addr): Update comment. | |
3835 | ||
bedfa57b AC |
3836 | 2002-05-04 Andrew Cagney <[email protected]> |
3837 | ||
3838 | * stack.c (select_and_print_frame): Make static. Delete the | |
3839 | parameter `level'. | |
3840 | (func_command): Update call. | |
3841 | (select_frame_command): Delete code computing the frame level. | |
3842 | * frame.h (select_and_print_frame): Delete declaration. | |
3843 | ||
f621c63e AC |
3844 | 2002-05-04 Andrew Cagney <[email protected]> |
3845 | ||
3846 | * sparc-tdep.c (sparc_get_saved_register): Comment why | |
3847 | get_prev_frame call is safe. | |
3848 | ||
0f7d239c AC |
3849 | 2002-05-04 Andrew Cagney <[email protected]> |
3850 | ||
3851 | * frame.h (select_frame): Delete level parameter. | |
3852 | * stack.c (select_frame): Update. Use frame_relative_level to | |
3853 | obtain the frame's level. | |
3854 | (select_and_print_frame): Update call. | |
3855 | (select_frame_command): Ditto. | |
3856 | (up_silently_base): Ditto. | |
3857 | (down_silently_base): Ditto. | |
3858 | * ocd.c (ocd_start_remote): Ditto. | |
3859 | * remote-rdp.c (remote_rdp_open): Ditto. | |
3860 | * remote-mips.c (mips_initialize): Ditto. | |
3861 | (common_open): Ditto. | |
3862 | * remote-e7000.c (e7000_start_remote): Ditto. | |
3863 | * m3-nat.c (select_thread): Ditto. | |
3864 | * hppa-tdep.c (child_get_current_exception_event): Ditto. | |
3865 | (child_get_current_exception_event): Ditto. | |
3866 | * varobj.c (varobj_create): Ditto. | |
3867 | (varobj_update): Ditto. | |
3868 | (c_value_of_root): Ditto. | |
3869 | * tracepoint.c (finish_tfind_command): Ditto. | |
3870 | * corelow.c (core_open): Ditto. | |
3871 | * arch-utils.c (generic_prepare_to_proceed): Ditto. | |
3872 | * thread.c (info_threads_command): Ditto. | |
3873 | (switch_to_thread): Ditto. | |
3874 | * infrun.c (normal_stop): Ditto. | |
3875 | (restore_selected_frame): Ditto. | |
3876 | (restore_inferior_status): Ditto. | |
3877 | * breakpoint.c (insert_breakpoints): Ditto. | |
3878 | (watchpoint_check): Ditto. | |
3879 | (bpstat_stop_status): Ditto. | |
3880 | (do_enable_breakpoint): Ditto. | |
3881 | * blockframe.c (flush_cached_frames): Ditto. | |
3882 | (reinit_frame_cache): Ditto. | |
3883 | ||
71d6c7b1 AC |
3884 | 2002-05-04 Andrew Cagney <[email protected]> |
3885 | ||
3886 | * MAINTAINERS (Host/Native): Add Jason Thorpe as NetBSD | |
3887 | maintainer. | |
3888 | ||
cda6c68a JB |
3889 | 2002-05-04 Jim Blandy <[email protected]> |
3890 | ||
3891 | * gdbtypes.c (replace_type): Doc fix. | |
3892 | ||
5c1c87f0 AC |
3893 | 2002-05-04 Andrew Cagney <[email protected]> |
3894 | ||
3895 | * valprint.c (strcat_longest): Delete commented out function. | |
3896 | Update copyright. | |
3897 | ||
cd9bfe15 AC |
3898 | 2002-05-04 Andrew Cagney <[email protected]> |
3899 | ||
3900 | * MAINTAINERS: Mark a29k as deleted. | |
3901 | * NEWS: Mention that a29k was removed. Add OBSOLETE section. | |
3902 | Move new configurations to the top. | |
3903 | * configure.tgt: Remove a29k. | |
3904 | * config/a29k/tm-vx29k.h: Delete. | |
3905 | * config/a29k/vx29k.mt: Delete. | |
3906 | * config/a29k/tm-a29k.h: Delete. | |
3907 | * config/a29k/a29k-udi.mt: Delete. | |
3908 | * config/a29k/a29k.mt: Delete. | |
3909 | * a29k-tdep.c: Delete. | |
3910 | * remote-udi.c: Delete. | |
3911 | * remote-mm.c: Delete. | |
3912 | * remote-eb.c: Delete. | |
3913 | * remote-adapt.c: Delete. | |
3914 | * Makefile.in: Remove obsolete code. | |
3915 | * gdbserver/Makefile.in: Ditto. | |
3916 | * config/s390/s390x.mt: Ditto. | |
3917 | * config/s390/s390.mt: Ditto. | |
3918 | * config/sparc/sparclynx.mh: Ditto. | |
3919 | * config/sparc/linux.mh: Ditto. | |
3920 | * config/pa/hppaosf.mh: Ditto. | |
3921 | * config/pa/hppabsd.mh: Ditto. | |
3922 | * config/ns32k/nbsd.mt: Ditto. | |
3923 | * config/mips/vr5000.mt: Ditto. | |
3924 | * config/m68k/sun3os4.mh: Ditto. | |
3925 | * config/m68k/nbsd.mt: Ditto. | |
3926 | * config/m68k/m68klynx.mh: Ditto. | |
3927 | * config/m32r/m32r.mt: Ditto. | |
3928 | * config/i386/x86-64linux.mt: Ditto. | |
3929 | * config/i386/nbsdelf.mt: Ditto. | |
3930 | * config/i386/nbsd.mt: Ditto. | |
3931 | * config/i386/i386lynx.mh: Ditto. | |
3932 | ||
bf0c5130 AC |
3933 | 2002-05-04 Andrew Cagney <[email protected]> |
3934 | ||
3935 | * target.c (debug_print_register): New function. Handle oversize | |
3936 | registers. | |
3937 | (debug_to_fetch_registers): Call. | |
3938 | (debug_to_store_registers): Call. | |
3939 | ||
2ae1c2d2 JB |
3940 | 2002-05-03 Jim Blandy <[email protected]> |
3941 | ||
13a393b0 JB |
3942 | * stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy. |
3943 | (read_type): Doc fix. | |
3944 | * gdbtypes.c (replace_type): Doc fix. | |
3945 | ||
2ae1c2d2 JB |
3946 | * stabsread.c (multiply_defined_struct): New complaint. |
3947 | (read_struct_type): If the type we were passed isn't empty, or | |
3948 | incomplete, don't read the new struct type into it; complain, | |
3949 | and return the original type unchanged. Take a new `type_code' | |
3950 | argument, which is the type code for the new type. | |
3951 | (read_type): Rather than storing the type's type code here, pass | |
3952 | it as an argument to read_struct_type, and let that take care of | |
3953 | storing it. That way, we don't overwrite the original type code, | |
3954 | so read_struct_type can use it to decide whether we're overwriting | |
3955 | something we shouldn't. | |
3956 | (complain_about_struct_wipeout): New function. | |
3957 | ||
8de9bdc4 AC |
3958 | 2002-05-03 Andrew Cagney <[email protected]> |
3959 | ||
3960 | * gdbarch.sh: Assert that gdbarch is non-NULL. | |
3961 | * gdbarch.c: Regenerate. | |
3962 | ||
f773fdbb JM |
3963 | 2002-05-03 Jason Merrill <[email protected]> |
3964 | ||
3965 | * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn | |
3966 | and return NULL. | |
3967 | ||
0e04a514 ML |
3968 | 2002-05-03 Michal Ludvig <[email protected]> |
3969 | ||
3970 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map), | |
3971 | (x86_64_dwarf2gdb_regno_map_length), | |
3972 | (x86_64_dwarf2_reg_to_regnum): Added. | |
3973 | (x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum. | |
3974 | (x86_64_gdbarch_init): Renamed from i386_gdbarch_init. | |
3975 | (_initialize_x86_64_tdep): Synced with the change above. | |
3976 | (x86_64_skip_prologue): Reformulated message. | |
3977 | ||
065432a8 PM |
3978 | 2002-05-03 Pierre Muller <[email protected]> |
3979 | ||
3980 | * f-exp.y: Also use new prev_lexptr variable | |
3981 | to improve error reporting. Based on Michael Snyder | |
3982 | 2002-04-24 dated patch to c-exp.y. | |
3983 | * jv-exp.y: Likewise. | |
3984 | * m2-exp.y: Likewise. | |
3985 | ||
a3162708 EZ |
3986 | 2002-05-02 Elena Zannoni <[email protected]> |
3987 | ||
3988 | * valops.c (value_arg_coerce): Don't coerce arrays to pointers if | |
3989 | we are dealing with vectors. | |
3990 | ||
03620c38 PM |
3991 | 2002-05-02 Pierre Muller <[email protected]> |
3992 | ||
3993 | * config/m68k/tm-nbsd.h: Obvious fix, | |
3994 | correct machine name. | |
3995 | ||
6604db2e PM |
3996 | 2002-05-02 Pierre Muller <[email protected]> |
3997 | ||
3998 | * p-typeprint.c (pascal_type_print_base): Add support | |
3999 | for TYPE_CODE_STRING and TYPE_CODE_BITSTRING. | |
4000 | ||
0906b739 PM |
4001 | 2002-05-02 Pierre Muller <[email protected]> |
4002 | ||
4003 | * p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR | |
4004 | for fondamental pascal 'char' type. | |
4005 | ||
e2625b33 PM |
4006 | 2002-05-02 Pierre Muller <[email protected]> |
4007 | ||
4008 | * p-lang.h (is_pascal_string_type): Declaration changed, | |
4009 | new sixth argument of type char ** added. | |
361d1df0 | 4010 | * p-lang.c (is_pascal_string_type): Implementation |
e2625b33 PM |
4011 | changed. Args length_pos, length_size, string_pos, char_size |
4012 | can now be NULL. New argument arrayname set to the field | |
4013 | name of the char array. Return value set to char array | |
4014 | field index plus one. | |
361d1df0 | 4015 | * p-valprint.c (pascal_val_print): Adapt to new declaration of |
e2625b33 PM |
4016 | is_pascal_string_type function. |
4017 | ||
cf17c188 AC |
4018 | 2002-05-02 Andrew Cagney <[email protected]> |
4019 | ||
4020 | * gdbarch.sh (gdbarch_update_p): Revert 2002-05-02 Andrew Cagney | |
4021 | <[email protected]> change. | |
4022 | * gdbarch.c: Regenerate. | |
4023 | ||
52bca491 AC |
4024 | 2002-05-02 Andrew Cagney <[email protected]> |
4025 | ||
4026 | * gdbarch.sh (gdbarch_update_p): Swap out the old architecture | |
4027 | before probing for a new one. Detect errorenous gdbarch_init | |
4028 | functions. | |
4029 | * gdbarch.c: Regenerate. | |
4030 | ||
d5e72505 AC |
4031 | 2002-05-01 Andrew Cagney <[email protected]> |
4032 | ||
4033 | * config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h". | |
4034 | * config/mcore/tm-mcore.h: Ditto. Update copyright. | |
4035 | * config/v850/tm-v850.h: Ditto. Update copyright. | |
4036 | ||
af566d9f AC |
4037 | 2002-04-30 Andrew Cagney <[email protected]> |
4038 | ||
4039 | * cris-tdep.c (cris_gdbarch_init): Use arches instead of | |
4040 | current_gdbarch. | |
4041 | ||
880d85fa MS |
4042 | 2002-04-30 Michael Snyder <[email protected]> |
4043 | ||
94c30b78 MS |
4044 | * arm-tdep.c: Whitespace clean-ups. |
4045 | (arm_skip_prologue): Fix thinko; two lines | |
880d85fa MS |
4046 | should have been removed as part of 4/24 change. |
4047 | ||
6f5987a6 KB |
4048 | 2002-04-30 Kevin Buettner <[email protected]> |
4049 | ||
4050 | * rs6000-tdep.c: Added comment describing how fpscr register | |
4051 | numbers were chosen. | |
4052 | ||
1a113c93 MS |
4053 | 2002-04-30 Michael Snyder <[email protected]> |
4054 | ||
4055 | * gnu-nat.c (gnu_find_memory_regions): Fix merge botch. | |
4056 | ||
9a6f53fe EZ |
4057 | 2002-04-29 Elena Zannoni <[email protected]> |
4058 | ||
4059 | * hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR. | |
4060 | (DNTT_TYPE_VECTOR_LENGTH): Rename from TYPE_VECTOR_LENGTH. | |
4061 | (hpread_symfile_init, hpread_lookup_type): Substitute throughout. | |
4062 | ||
11ed25ac KB |
4063 | 2002-04-29 Kevin Buettner <[email protected]> |
4064 | ||
4065 | From Louis Hamilton <[email protected]>: | |
4066 | * rs6000-tdep.c (coff/xcoff.h, libxcoff.h): Include. | |
4067 | * xcoffread.c (coff/xcoff.h, libxcoff.h): Likewise. | |
4068 | * rs6000-tdep.c (rs6000_gdbarch_init): Use bfd_xcoff_is_xcoff64(), | |
4069 | not bfd-private xcoff data, to determine wordsize. | |
4070 | * xcoffread.c (read_xcoff_xymtab, read_symbol_lineno): Likewise. | |
4071 | ||
ae232405 AC |
4072 | 2002-04-29 Andrew Cagney <[email protected]> |
4073 | ||
4074 | GDB 5.2 released from 5.2 branch. | |
4075 | ||
91fd20f7 ML |
4076 | 2002-04-29 Michal Ludvig <[email protected]> |
4077 | ||
4078 | * x86-64-linux-nat.c (fill_gregset): Explicit cast to avoid warning. | |
4079 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
4080 | (x86_64_register_info_table): Added comments with register numbers. | |
361d1df0 | 4081 | |
2dc5091b EZ |
4082 | 2002-04-29 Elena Zannoni <[email protected]> |
4083 | ||
4084 | * rs6000-tdep.c (rs6000_extract_return_value, | |
4085 | rs6000_store_return_value): Handle returning vectors. | |
4086 | (rs6000_gdbarch_init): Use | |
4087 | ppc_sysv_abi_broken_use_struct_convention for native sysv cases. | |
4088 | * ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
4089 | New function. | |
4090 | (ppc_sysv_abi_use_struct_convention): Deal with functions returning | |
4091 | vectors. | |
4092 | (ppc_sysv_abi_push_arguments): Handle vector parameters. | |
4093 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export. | |
361d1df0 | 4094 | |
2b9848d8 PM |
4095 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
4096 | ||
4097 | * hpread.c (hpread_psymtab_to_symtab_1, | |
aacb1f0a | 4098 | hpread_psymtab_to_symtab): Replace fprintf tab_to_s...) |
2b9848d8 PM |
4099 | with fprintf_unfiltered (gdb_stderr,...). |
4100 | ||
f8d17dc5 PM |
4101 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
4102 | ||
4103 | * remote-array.c (printf_monitor, write_monitor, | |
361d1df0 | 4104 | array_insert_breakpoint, array_remove_breakpoint ): |
f8d17dc5 PM |
4105 | Replace fprintf (stderr,... |
4106 | with fprintf_unfiltered (gdb_stderr,.... | |
4107 | * remote-es.c: Likewise. | |
4108 | * remote-os9k.c: Likewise. | |
4109 | * remote-st.c: Likewise. | |
4110 | ||
2f2f1ad1 AS |
4111 | 2002-04-28 Andreas Schwab <[email protected]> |
4112 | ||
4113 | * config/s390/s390.mh (NATDEPFILES): Remove solib.o, add | |
4114 | linux-proc.o and gcore.o. | |
4115 | ||
b6779aa2 AC |
4116 | 2002-04-26 Michal Ludvig <[email protected]> |
4117 | ||
4118 | * x86-64-tdep.c (x86_64_skip_prologue): Print note when debugging | |
4119 | code without frame pointers. | |
4120 | ||
7e57f5f4 AC |
4121 | 2002-04-26 Andrew Cagney <[email protected]> |
4122 | ||
4123 | * sparc-tdep.c (sparc_gdbarch_init): Add comment explaining why | |
4124 | ON_STACK is needed. | |
4125 | ||
2ceb85d0 BE |
4126 | 2002-04-26 Ben Elliston <[email protected]> |
4127 | ||
4128 | * target.c (do_xfer_memory): Correct reference to the new option | |
4129 | "trust-readonly-sections". | |
4130 | ||
f5f8a009 EZ |
4131 | 2002-04-26 Elena Zannoni <[email protected]> |
4132 | ||
4133 | * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define. | |
4134 | * gdbtypes.c (recursive_dump_type): Output the vector flag. | |
4135 | * dwarf2read.c (dwarf_attr_name): Handle new attribute for | |
4136 | vectors. | |
4137 | (read_array_type): Record the fact that this array type is really a | |
4138 | vector (i.e. are passed in by value). | |
4139 | ||
5868c862 JT |
4140 | 2002-04-26 Jason Thorpe <[email protected]> |
4141 | ||
4142 | * alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member. | |
4143 | * alpha-tdep.c (alpha_sigcontext_addr): New function. | |
4144 | (alpha_find_saved_regs): Use alpha_sigcontext_addr. | |
4145 | (alpha_gdbarch_init): Initialize tdep->sigcontext_addr. | |
4146 | * alpha-linux-tdep.c: Include frame.h. | |
4147 | (alpha_linux_sigcontext_addr): New function. | |
4148 | (alpha_linux_init_abi): Set tdep->sigcontext_addr to | |
4149 | alpha_linux_sigcontext_addr. | |
4150 | * alpha-osf1-tdep.c: Include gdbcore.h. | |
4151 | (alpha_osf1_sigcontext_addr): New function. | |
4152 | (alpha_osf1_init_abi): Set tdep->sigcontext_addr to | |
4153 | alpha_osf1_sigcontext_addr. | |
4154 | * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove. | |
4155 | * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove. | |
4156 | ||
bfb01f37 AC |
4157 | 2002-04-26 Andrew Cagney <[email protected]> |
4158 | ||
361d1df0 | 4159 | * stack.c (selected_frame_level): |
bfb01f37 AC |
4160 | (select_frame): Do not set selected_frame_level. |
4161 | * frame.h (selected_frame_level): Delete declaration. | |
4162 | ||
15813d3f AC |
4163 | 2002-04-26 Andrew Cagney <[email protected]> |
4164 | ||
4165 | * rs6000-tdep.c (rs6000_gdbarch_init): Only set | |
4166 | convert_from_func_ptr-addr when AIX / PowerOpen. | |
4167 | ||
6096c27a AC |
4168 | 2002-04-25 Andrew Cagney <[email protected]> |
4169 | ||
4170 | * valops.c (hand_function_call): Call | |
4171 | generic_save_call_dummy_addr. | |
4172 | * frame.h (generic_save_call_dummy_addr): Declare. | |
4173 | * blockframe.c (struct dummy_frame): Add fields call_lo and | |
4174 | call_hi. | |
4175 | (generic_find_dummy_frame): Check for PC in range call_lo to | |
4176 | call_hi instead of entry_point_address. | |
4177 | (generic_pc_in_call_dummy): Search the dummy frames for a PC in | |
4178 | the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK. | |
4179 | (generic_save_call_dummy_addr): New function. | |
4180 | ||
f510d44e DM |
4181 | 2002-04-24 David S. Miller <[email protected]> |
4182 | ||
4183 | * sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates | |
4184 | sparc_skip_prologue. | |
4185 | (sparc_skip_prologue): Kill frameless_p arg, and use line number | |
4186 | information to find prologue when possible. | |
4187 | (sparc_prologue_frameless_p): Call examine_prologue directly. | |
4188 | (sparc_gdbarch_init): Update set_gdbarch_skip_prologue call. | |
4189 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed | |
4190 | second argument. | |
4191 | (SKIP_PROLOGUE): Likewise. | |
4192 | ||
15d72a92 JT |
4193 | 2002-04-25 Jason Thorpe <[email protected]> |
4194 | ||
4195 | * alpha-tdep.c (alpha_skip_prologue_internal): Remove | |
4196 | GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to | |
4197 | indicate that the condition it was testing is always true. | |
4198 | * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove. | |
4199 | * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
4200 | * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
4201 | ||
accc6d1f JT |
4202 | 2002-04-25 Jason Thorpe <[email protected]> |
4203 | ||
4204 | * alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members. | |
4205 | * alpha-linux-tdep.c (alpha_linux_init_abi): Initialize | |
4206 | tdep->jb_pc and tdep->jb_elt_size. | |
4207 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise. | |
4208 | * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise. | |
4209 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
4210 | * alpha-nat.c (get_longjmp_target): Remove. | |
4211 | (JB_ELEMENT_SIZE): Ditto. | |
4212 | (JB_PC): Ditto. | |
4213 | * alpha-tdep.c (alpha_get_longjmp_target): New function. | |
4214 | (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the | |
4215 | OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target | |
4216 | to alpha_get_longjmp_target. | |
4217 | (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size. | |
4218 | * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove. | |
4219 | * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove. | |
4220 | ||
1bfdc549 AC |
4221 | 2002-04-25 Andrew Cagney <[email protected]> |
4222 | ||
4223 | * README: Update to GDB 5.2. | |
4224 | ||
1bd316f0 AC |
4225 | 2002-04-25 Andrew Cagney <[email protected]> |
4226 | ||
4227 | * gdbarch.sh (LC_ALL): Set to `c'. | |
4228 | ||
2e5ff58c TR |
4229 | 2002-04-25 Theodore A. Roth <[email protected]> |
4230 | ||
4231 | * avr-tdep.c: Ran through gdb_indent.sh. | |
4232 | ||
e33ce519 TR |
4233 | 2002-04-25 Theodore A. Roth <[email protected]> |
4234 | ||
4235 | * MAINTAINERS: Add myself as AVR maintainer. | |
4236 | * NEWS: Note new target avr. | |
4237 | ||
8818c391 TR |
4238 | 2002-04-25 Theodore A. Roth <[email protected]> |
4239 | ||
4240 | * Makefile.in: Add support for AVR target. | |
4241 | * configure.tgt: Add support for AVR target. | |
4242 | * avr-tdep.c: New file | |
4243 | * config/avr/avr.mt: New file. | |
4244 | ||
79509c2d TR |
4245 | 2002-04-25 Theodore A. Roth <[email protected]> |
4246 | ||
4247 | * MAINTAINERS: Add myself to write-after-approval. | |
4248 | ||
dac8068e PM |
4249 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
4250 | ||
4251 | * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... | |
4252 | with fprintf_unfiltered (gdb_stderr,.... | |
4253 | ||
25bf3106 PM |
4254 | 2002-04-25 Pierre Muller <[email protected]> |
4255 | ||
4256 | Fix PR gdb/508. | |
4257 | * symfile.c (add_filename_language): Fix wrong xrealloc size argument. | |
4258 | ||
24467a86 PM |
4259 | 2002-04-25 Pierre Muller <[email protected]> |
4260 | ||
4261 | * p-exp.y: Also use new prev_lexptr variable | |
4262 | to improve error reporting. Based on Michael Snyder | |
4263 | 2002-04-24 dated patch to c-exp.y. | |
4264 | ||
95b80706 JT |
4265 | 2002-04-25 Jason Thorpe <[email protected]> |
4266 | ||
4267 | * alpha-tdep.c (alpha_breakpoint_from_pc): New function. | |
4268 | (alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to | |
4269 | alpha_breakpoint_from_pc. Set gdbarch_function_start_offset | |
4270 | to 0. | |
4271 | * config/alpha/tm-alpha.h: Remove forward decls of struct type | |
4272 | and struct value. | |
4273 | (FUNCTION_START_OFFSET): Remove. | |
4274 | (BREAKPOINT): Ditto. | |
4275 | ||
e90cc612 JT |
4276 | 2002-04-25 Jason Thorpe <[email protected]> |
4277 | ||
4278 | * MAINTAINERS: Reflect that multi-arch is enabled for VAX. | |
4279 | * NEWS: Ditto. | |
4280 | ||
6c72f9f9 JT |
4281 | 2002-04-24 Jason Thorpe <[email protected]> |
4282 | ||
4283 | * alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function. | |
4284 | (alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to | |
4285 | alpha_linux_pc_in_sigtramp. | |
4286 | * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function. | |
4287 | (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to | |
4288 | alpha_osf1_pc_in_sigtramp. | |
4289 | * alpha-tdep.c (alpha_osf_in_sigtramp): Remove. | |
4290 | * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function. | |
4291 | (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
4292 | alphafbsd_pc_in_sigtramp. | |
4293 | * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function. | |
4294 | (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
4295 | alphanbsd_pc_in_sigtramp. | |
4296 | * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove. | |
4297 | * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove. | |
4298 | ||
5e4f3379 JT |
4299 | 2002-04-24 Jason Thorpe <[email protected]> |
4300 | ||
4301 | * config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
4302 | ||
da8ca43d JT |
4303 | 2002-04-24 Jason Thorpe <[email protected]> |
4304 | ||
4305 | * Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and | |
4306 | alphanbsd-tdep.c. | |
4307 | (alphanbsd-nat.o): New dependency list. | |
4308 | (alphanbsd-tdep.o): Ditto. | |
4309 | * NEWS: Note new native NetBSD/alpha configuration. | |
4310 | * alphanbsd-nat.c: New file. | |
4311 | * alphanbsd-tdep.c: Ditto. | |
4312 | * configure.host (alpha*-*-netbsd*): New host. | |
4313 | * configure.tgt (alpha*-*-netbsd*): New target. | |
4314 | * config/alpha/nbsd.mh: New file. | |
4315 | * config/alpha/nbsd.mt: Ditto. | |
4316 | * config/alpha/nm-nbsd.h: Ditto. | |
4317 | * config/alpha/tm-nbsd.h: Ditto. | |
4318 | ||
36a6271d JT |
4319 | 2002-04-24 Jason Thorpe <[email protected]> |
4320 | ||
4321 | * Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c. | |
4322 | (alpha-osf1-tdep.o): New dependency list. | |
4323 | * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset | |
4324 | and skip_sigtramp_frame members. | |
4325 | * alpha-linux-tdep.c: Include gdbcore.h. | |
4326 | (alpha_linux_sigtramp_offset): Change return type to LONGEST. | |
4327 | (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset. | |
4328 | * alpha-osf1-tdep.c: New file. | |
4329 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to | |
4330 | alpha-osf1-dep.c. | |
4331 | (alpha_frame_past_sigtramp_frame): New function. | |
4332 | (alpha_dynamic_sigtramp_offset): Ditto. | |
4333 | (alpha_proc_desc_is_dyn_sigtramp): Ditto. | |
4334 | (alpha_set_proc_desc_is_dyn_sigtramp): Ditto. | |
4335 | (ALPHA_PROC_SIGTRAMP_MAGIC): Define. | |
4336 | (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp. | |
4337 | (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp. | |
4338 | (find_proc_desc): Use alpha_dynamic_sigtramp_offset. | |
4339 | (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame. | |
4340 | (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp. | |
4341 | (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp. | |
4342 | (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset | |
4343 | and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code | |
4344 | to find_solib_trampoline_target. | |
4345 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o. | |
4346 | * config/alpha/tm-alpha.h: Remove inclusion of regcache.h. | |
4347 | (SKIP_TRAMPOLINE_CODE): Remove. | |
4348 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4349 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4350 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
4351 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
4352 | * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove. | |
4353 | (PROC_SIGTRAMP_MAGIC): Ditto. | |
4354 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4355 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4356 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4357 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
4358 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
4359 | ||
2f4bc57b JT |
4360 | 2002-04-24 Jason Thorpe <[email protected]> |
4361 | ||
4362 | * NEWS: Note that Alpha targets are now multi-arch. | |
4363 | ||
665132f9 MS |
4364 | 2002-04-24 Michael Snyder <[email protected]> |
4365 | ||
4366 | * parser-defs.h (prev_lexptr): New external variable. | |
4367 | * parse.c (parse_exp_1): Set prev_lexptr to null before | |
4368 | calling the language-specific parser. | |
4369 | * c-exp.y (yylex): Set prev_lexptr to start of current token. | |
4370 | (yyerror): Use prev_lexptr in error reporting. | |
4371 | ||
32872fa7 DJ |
4372 | 2002-04-24 Daniel Jacobowitz <[email protected]> |
4373 | ||
4374 | * config/i386/tm-linux.h: Define FILL_FPXREGSET. | |
4375 | * gregset.h: If FILL_FPXREGSET is defined, provide | |
4376 | gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset. | |
4377 | * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET | |
4378 | is defined, call fill_fpxregset. | |
4379 | ||
57e76fac MS |
4380 | 2002-04-24 Roland McGrath <[email protected]> |
4381 | ||
4382 | * config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here. | |
4383 | * i386gnu-nat.c [HAVE_SYS_PROCFS_H] | |
4384 | (supply_gregset, supply_fpregset): New functions. | |
4385 | ||
4386 | * gnu-nat.c (gnu_find_memory_regions): New function. | |
4387 | (init_gnu_ops): Set `to_find_memory_regions' hook to that. | |
4388 | (gnu_xfer_memory): Add a cast. | |
4389 | ||
f43845b3 MS |
4390 | 2002-04-24 Michael Snyder <[email protected]> |
4391 | ||
361d1df0 | 4392 | * arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the |
f43845b3 MS |
4393 | loop. Add handling for "str lr, [sp, #-4]!" and for saves |
4394 | of argument regs ("str r(0123), [r11, #-nn"]). | |
361d1df0 | 4395 | (arm_skip_prologue): Better handling for frameless functions. |
f43845b3 MS |
4396 | Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]". |
4397 | (arm_skip_prologue): Recognize str r(0123), [r11, #-nn]. | |
4398 | ||
a0abec03 AC |
4399 | Wed Apr 24 14:22:21 2002 Andrew Cagney <[email protected]> |
4400 | ||
4401 | * arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor | |
4402 | NUM_PSEUDO_REGS can be used. | |
4403 | ||
d7bd68ca AC |
4404 | 2002-04-24 Andrew Cagney <[email protected]> |
4405 | ||
4406 | * arch-utils.h: Update copyright. | |
4407 | ||
4408 | * gdbarch.sh (PC_IN_SIGTRAMP): Add. | |
4409 | * gdbarch.h, gdbarch.c: Re-generate. | |
4410 | ||
4411 | * inferior.h (IN_SIGTRAMP): Delete definition. | |
4412 | * arch-utils.c (legacy_pc_in_sigtramp): New function. | |
4413 | * arch-utils.h (legacy_pc_in_sigtramp): Declare. | |
4414 | ||
4415 | * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP. | |
4416 | (mips_dump_tdep): Do not print value of IN_SIGTRAMP. | |
4417 | * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP. | |
4418 | (find_proc_framesize): Ditto. | |
4419 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto. | |
4420 | (alpha_init_extra_frame_info): Ditto. | |
4421 | * infrun.c (handle_inferior_event): Ditto. | |
4422 | (handle_inferior_event): Ditto. | |
4423 | (check_sigtramp2): Ditto. | |
4424 | * blockframe.c (create_new_frame): Ditto. | |
4425 | (get_prev_frame): Ditto. | |
4426 | * ppc-linux-tdep.c: Update comments. | |
4427 | * i386-linux-tdep.c: Update comments. | |
4428 | * breakpoint.c (bpstat_what): Update comment. | |
4429 | ||
d06f167a ML |
4430 | 2002-04-24 Michal Ludvig <[email protected]> |
4431 | ||
4432 | * gdbserver/linux-low.c (regsets_fetch_inferior_registers), | |
361d1df0 | 4433 | (regsets_store_inferior_registers): Removed cast to int from |
d06f167a ML |
4434 | ptrace() calls. |
4435 | * gdbserver/regcache.h: Added declaration of struct inferior_info. | |
4436 | ||
4867e41e DM |
4437 | 2002-04-24 David S. Miller <[email protected]> |
4438 | ||
21d83aa5 DM |
4439 | * i960-tdep.c (register_in_window_p): New function. |
4440 | (i960_find_saved_register): Use it instead of | |
4441 | REGISTER_IN_WINDOW_P. | |
4442 | * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete. | |
4443 | ||
4867e41e DM |
4444 | * symtab.h (find_stab_function_addr): Kill extern. |
4445 | * minsyms.c (find_stab_function_addr): Remove from here... | |
4446 | * dbxread.c: ... to here, and mark it static. | |
4447 | ||
69cdf6a2 DM |
4448 | 2002-04-20 David S. Miller <[email protected]> |
4449 | ||
4450 | * sparc-tdep.c (sparc_pop_frame): Only need to allocate | |
4451 | SPARC_INTREG_SIZE * 16 bytes for reg_temp. | |
4452 | ||
5a595886 DM |
4453 | 2002-04-21 David S. Miller <[email protected]> |
4454 | ||
4455 | * remote-vxsparc.c (vx_read_register): Fix typo, we want | |
4456 | REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR. | |
4457 | (vx_write_register): Likewise. | |
4458 | ||
1da1a192 JB |
4459 | 2002-04-23 J. Brobecker <[email protected]> |
4460 | ||
4461 | * source.c (is_regular_file): New function. | |
4462 | (openp): Check wether file to open is a regular file | |
4463 | to avoid opening directories. | |
4464 | ||
baa6f10b JT |
4465 | 2002-04-22 Jason Thorpe <[email protected]> |
4466 | ||
4467 | * findvar.c (extract_signed_integer): Cast printf argument | |
4468 | to suppress format warning. | |
4469 | (extract_unsigned_integer): Likewise. | |
4470 | * infcmd.c (registers_info): Likewise. | |
4471 | * top.c (get_prompt_1): Likewise. | |
4472 | * valops.c (value_assign): Likewise. | |
4473 | * valprint.c (print_decimal): Likewise. | |
4474 | ||
b2c4da81 L |
4475 | 2002-04-22 H.J. Lu ([email protected]) |
4476 | ||
4477 | * c-exp.y (typebase): Support | |
361d1df0 | 4478 | |
b2c4da81 L |
4479 | [long|long long|short] [signed|unsigned] [int|] |
4480 | ||
4481 | and | |
4482 | ||
4483 | signed [long|long long|short] int | |
4484 | ||
f267bd6a JT |
4485 | 2002-04-22 Jason Thorpe <[email protected]> |
4486 | ||
4487 | * Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h), | |
4488 | and vax-tdep.h. | |
4489 | * vax-tdep.h: New file. | |
4490 | * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h. | |
4491 | Make several routines static. | |
4492 | (vax_get_saved_register): New function. | |
4493 | (vax_gdbarch_init): New function. | |
4494 | (_initialize_vax_tdep): Register vax_gdbarch_init. | |
4495 | * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL. | |
4496 | Remove macros now under the control of gdbarch. | |
4497 | ||
da3c6d4a MS |
4498 | 2002-04-22 Michael Snyder <[email protected]> |
4499 | ||
11d3b27d MS |
4500 | * arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn". |
4501 | Some whitespace and coding standards tweaks. | |
da3c6d4a | 4502 | |
a33f7558 JT |
4503 | 2002-04-22 Jason Thorpe <[email protected]> |
4504 | ||
4505 | * vax-tdep.c: Include regcache.h. | |
4506 | (vax_call_dummy_words): New. | |
4507 | (sizeof_vax_call_dummy_words): New. | |
4508 | (vax_fix_call_dummy): New function. | |
4509 | (vax_saved_pc_after_call): Ditto. | |
4510 | * config/vax/tm-vax.h: Don't include regcache.h. | |
4511 | (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call. | |
4512 | (CALL_DUMMY): Remove. | |
4513 | (CALL_DUMMY_WORDS): Define. | |
4514 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
4515 | (FIX_CALL_DUMMY): Use vax_fix_call_dummy. | |
4516 | ||
47a73475 MS |
4517 | 2002-04-18 Michael Snyder <[email protected]> |
4518 | ||
4519 | * arm-tdep.h: Change regnum defines to enums for ease of debugging. | |
4520 | ||
52efde73 JT |
4521 | 2002-04-22 Jason Thorpe <[email protected]> |
4522 | ||
4523 | * vax-tdep.c (vax_frame_chain): New function. | |
4524 | (vax_push_dummy_frame): Ditto. | |
4525 | (vax_pop_frame): Ditto. | |
4526 | * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain. | |
4527 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
4528 | generic_frameless_function_invocation_not. | |
4529 | (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame. | |
4530 | (POP_FRAME): Use vax_pop_frame. | |
4531 | ||
ea74468c JT |
4532 | 2002-04-22 Jason Thorpe <[email protected]> |
4533 | ||
4534 | * vax-tdep.c (vax_store_struct_return): New function. | |
4535 | (vax_extract_return_value): Ditto. | |
4536 | (vax_store_return_value): Ditto. | |
4537 | (vax_extract_struct_value_address): Ditto. | |
4538 | * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use | |
4539 | vax_store_struct_return. | |
4540 | (EXTRACT_RETURN_VALUE): Use vax_extract_return_value. | |
4541 | (STORE_RETURN_VALUE): Use vax_store_return_value. | |
4542 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address. | |
4543 | ||
5516aa92 JT |
4544 | 2002-04-22 Jason Thorpe <[email protected]> |
4545 | ||
4546 | * vax-tdep.c (vax_frame_saved_pc): New function. | |
4547 | (vax_frame_args_address_correct): Ditto. | |
4548 | (vax_frame_args_address): Ditto. | |
4549 | (vax_frame_locals_address): Ditto. | |
4550 | (vax_frame_num_args): Move code to be in proximity to | |
4551 | other frame-related functions. | |
4552 | * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan. | |
4553 | (FRAME_SAVED_PC): Use vax_frame_saved_pc. | |
4554 | (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct. | |
4555 | (FRAME_ARGS_ADDRESS): Use vax_frame_args_address. | |
4556 | (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address. | |
4557 | ||
36af0b35 L |
4558 | 2002-04-22 H.J. Lu ([email protected]) |
4559 | ||
4560 | * Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and | |
4561 | includedir. | |
4562 | ||
ab62c900 JT |
4563 | 2002-04-22 Jason Thorpe <[email protected]> |
4564 | ||
4565 | * vax-tdep.c (vax_frame_init_saved_regs): New function. | |
4566 | * config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove. | |
4567 | (FRAME_INIT_SAVED_REGS): New macro. | |
4568 | ||
7232b100 JT |
4569 | 2002-04-22 Jason Thorpe <[email protected]> |
4570 | ||
4571 | * MAINTAINERS: Reflect that the Alpha target has been multi-arch'd. | |
4572 | ||
b70d2aee JT |
4573 | 2002-04-22 Jason Thorpe <[email protected]> |
4574 | ||
4575 | * alpha-nat.c (get_longjmp_target): Use ALPHA_* constants | |
4576 | where needed. | |
4577 | (fetch_osf_core_registers): Likewise. | |
4578 | (supply_gregset): Likewise. | |
4579 | ||
a0e8a2d1 | 4580 | 2002-04-22 J. Brobecker <[email protected]> |
361d1df0 | 4581 | |
a0e8a2d1 JB |
4582 | * symfile.h (get_section_index): Define. |
4583 | * symfile.c (get_section_index): New function. | |
4584 | * mdebugread.c (SC_IS_SBSS): New macro. | |
4585 | (SC_IS_BSS): Return true for the scBss storage class only, as | |
4586 | the scSBss storage class refers to the .sbss section. | |
4587 | (parse_partial_symbols): Discard the symbols which associated | |
4588 | section does not exist. | |
4589 | Make sure to use the .sbss section index for symbols which | |
4590 | storage class is scBss, rather than using the .bss section index. | |
4591 | ||
51eb8b08 JT |
4592 | 2002-04-22 Jason Thorpe <[email protected]> |
4593 | ||
4594 | * vax-tdep.c: Update copyright years. | |
4595 | (vax_register_name): New function. | |
4596 | (vax_register_byte): Ditto. | |
4597 | (vax_register_raw_size): Ditto. | |
4598 | (vax_register_virtual_size): Ditto. | |
4599 | (vax_register_virtual_type): Ditto. | |
4600 | * config/vax/tm-vax.h: Update copyright years. | |
4601 | (REGISTER_NAMES): Remove. | |
4602 | (REGISTER_NAME): Define. | |
4603 | (REGISTER_BYTE): Use vax_register_byte. | |
4604 | (REGISTER_RAW_SIZE): Use vax_register_raw_size. | |
4605 | (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size. | |
4606 | (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type. | |
4607 | ||
6cc1c0a8 AC |
4608 | 2002-04-21 Andrew Cagney <[email protected]> |
4609 | ||
4610 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore | |
4611 | declaration | |
4612 | * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error. | |
4613 | ||
9319a2fe DM |
4614 | 2002-04-21 David S. Miller <[email protected]> |
4615 | ||
4616 | * arch-utils.c (generic_prologue_frameless_p): Kill | |
4617 | SKIP_PROLOGUE_FRAMELESS_P code. | |
4618 | * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
4619 | references. | |
4620 | (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New. | |
4621 | * arc-tdep.c (arc_prologue_frameless_p): Implement. | |
4622 | * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
4623 | references. | |
4624 | (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New. | |
4625 | * sparc-tdep.c (sparc_prologue_frameless_p): Implement. | |
4626 | (sparc_gdbarch_init): Pass it to | |
4627 | set_gdbarch_prologue_frameless_p. | |
a0e8a2d1 | 4628 | |
e9ed6d01 JT |
4629 | 2002-04-21 Jason Thorpe <[email protected]> |
4630 | ||
4631 | * Makefile.in (ALLDEPFILES): Add alphabsd-nat.c. | |
4632 | (alphabsd-nat.o): New dependency list. | |
4633 | ||
36012033 JT |
4634 | 2002-04-21 Jason Thorpe <[email protected]> |
4635 | ||
4636 | * Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c and | |
4637 | alphafbsd-tdep.c. | |
4638 | (alpha-linux-tdep.o): New dependency list. | |
4639 | (alphafbsd-tdep.o): Likewise. | |
4640 | ||
3379287a JT |
4641 | 2002-04-21 Jason Thorpe <[email protected]> |
4642 | ||
4643 | * alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offset | |
4644 | to here... | |
4645 | * alpha-tdep.c: ...from here. | |
4646 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o. | |
4647 | ||
4bcbd6cb JT |
4648 | 2002-04-21 Jason Thorpe <[email protected]> |
4649 | ||
4650 | * config/alpha/tm-alpha.h: Move alpha_software_single_step | |
4651 | prototype from here... | |
4652 | * alpha-tdep.h: ...to here. | |
4653 | ||
b31da25e AC |
4654 | 2002-04-21 Andrew Cagney <[email protected]> |
4655 | ||
4656 | * frame.h (selected_frame_level): Document as deprecated. | |
4657 | (frame_relative_level): Declare. | |
4658 | * stack.c (frame_relative_level): New function. | |
4659 | (selected_frame_level): Document as deprecated. | |
4660 | (select_frame): Do not set the selected_frame_level. | |
4661 | ||
4662 | * stack.c (frame_info, record_selected_frame): Update. | |
4663 | (frame_command, current_frame_command): Update. | |
4664 | (up_silently_base, up_command, down_silently_base): Update. | |
4665 | (down_command): Update. | |
4666 | * inflow.c (kill_command): Update. | |
4667 | * tracepoint.c (finish_tfind_command): Update. | |
4668 | * corelow.c (core_open): Update. | |
4669 | * thread.c (info_threads_command): Update. | |
4670 | (do_captured_thread_select): Update. | |
4671 | * infcmd.c (finish_command): Update. | |
4672 | * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update. | |
4673 | ||
9c1d6fe5 JT |
4674 | 2002-04-21 Jason Thorpe <[email protected]> |
4675 | ||
4676 | * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove. | |
4677 | ||
ab89facf AC |
4678 | 2002-04-21 Andrew Cagney <[email protected]> |
4679 | ||
4680 | * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return | |
4681 | type const. | |
4682 | ||
82a4efa1 JT |
4683 | 2002-04-21 Jason Thorpe <[email protected]> |
4684 | ||
4685 | * alphafbsd-tdep.c: Update copyright years. Include | |
4686 | alpha-tdep.h. | |
4687 | (alphafbsd_use_struct_convention): Make static. | |
4688 | (alphafbsd_init_abi): New function. | |
4689 | (_initialize_alphafbsd_tdep): New function. | |
4690 | * config/alpha/tm-fbsd.h: Update copyright years. | |
4691 | (USE_STRUCT_CONVENTION): Remove. | |
4692 | ||
44dffaac JT |
4693 | 2002-04-21 Jason Thorpe <[email protected]> |
4694 | ||
4695 | * alpha-tdep.c (alpha_abi_handler): New structure to describe | |
4696 | an Alpha ABI variant. | |
4697 | (alpha_abi_handler_list): Declare. | |
4698 | (alpha_gdbarch_register_os_abi): New function. | |
4699 | (alpha_gdbarch_init): Give registered ABI variant handlers a | |
4700 | chance to tweak the gdbarch once we have set up defaults. | |
4701 | * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi. | |
4702 | ||
65585be4 JT |
4703 | 2002-04-21 Jason Thorpe <[email protected]> |
4704 | ||
4705 | * alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double | |
4706 | to standard_coerce_float_to_double. | |
4707 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
4708 | ||
d9b023cc JT |
4709 | 2002-04-21 Jason Thorpe <[email protected]> |
4710 | ||
4711 | * alpha-tdep.h (gdbarch_tdep): Add vm_min_address member. | |
4712 | * alpha-tdep.c (heuristic_proc_start): Use vm_min_address | |
4713 | from gdbarch_tdep rather than a constant. | |
4714 | (alpha_gdbarch_init): Initialize tdep->vm_min_address to | |
4715 | the default text address for all Alpha Unix ABIs. | |
4716 | (alpha_dump_tdep): Report the value of tdep->vm_min_address. | |
4717 | * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete. | |
4718 | ||
dc129d82 JT |
4719 | 2002-04-21 Jason Thorpe <[email protected]> |
4720 | ||
4721 | * alpha-tdep.h: New file. Includes several Alpha target constants | |
4722 | taken from... | |
4723 | * config/alpha/tm-alpha.h: ...here. Remove macros that we now | |
4724 | let gdbarch deal with. | |
4725 | (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. | |
4726 | * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd | |
4727 | to dependency list. | |
4728 | * alpha-nat.c: Include alpha-tdep.h. Update for adjusted | |
4729 | Alpha target register names. | |
4730 | * alphabsd-nat.c: Likewise. | |
4731 | * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted | |
4732 | Alpha target register names. Make serveral routines static. | |
4733 | (alpha_get_saved_register): New function. | |
4734 | (alpha_abi_names): New. | |
4735 | (process_note_abi_tag_sections): New function. | |
4736 | (get_elfosabi): New function. | |
4737 | (alpha_gdbarch_init): New function. | |
4738 | (alpha_dump_tdep): New function. | |
4739 | (_initialize_alpha_tdep): Register alpha_gdbarch_init. | |
4740 | ||
d49d1e0a AC |
4741 | 2002-04-21 Andrew Cagney <[email protected]> |
4742 | ||
4743 | * frame.c (find_saved_register): Delete #ifdef | |
4744 | HAVE_REGISTER_WINDOWS code. | |
4745 | * config/sparc/tm-sparc.h: Update comments. | |
4746 | * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro. | |
4747 | ||
92e8c9ed AC |
4748 | 2002-04-21 Andrew Cagney <[email protected]> |
4749 | ||
4750 | * i960-tdep.c (i960_find_saved_register): New function. | |
4751 | (i960_get_saved_register): New function. | |
4752 | * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define. | |
4753 | (i960_get_saved_register): Declare. | |
4754 | * config/i960/tm-i960.h, i960-tdep.c: Update copyright. | |
4755 | ||
e1925118 DM |
4756 | 2002-04-20 David S. Miller <[email protected]> |
4757 | ||
4758 | * sparc-nat.c (store-inferior_registers): Fix ambiguous else. | |
4759 | ||
29673b29 AC |
4760 | 2002-04-20 Andrew Cagney <[email protected]> |
4761 | ||
4762 | * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs | |
4763 | instead of NUM_PSEUDO_REGS. | |
4764 | ||
6c86dcd5 DM |
4765 | 2002-04-20 David S. Miller <[email protected]> |
4766 | ||
4767 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to | |
4768 | GDB_MULTI_ARCH_PARTIAL | |
4769 | * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not | |
4770 | define, let tm-sp64.h do it. | |
4771 | ||
aa40ec90 JT |
4772 | 2002-04-20 Jason Thorpe <[email protected]> |
4773 | ||
4774 | * frame.c (find_saved_register): Avoid a NULL pointer | |
4775 | dereference and actually walk the frame list. | |
4776 | ||
0f79675b AC |
4777 | 2002-04-20 Andrew Cagney <[email protected]> |
4778 | ||
4779 | * gdbarch.sh (gdbarch_update_p): Keep the list of architectures | |
4780 | sorted in most most-recent-used order. Document. | |
4781 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 4782 | |
c04a1aa8 DJ |
4783 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
4784 | ||
4785 | * gdbserver/inferiors.c (struct inferior_info): Add regcache_data. | |
4786 | (add_inferior): Call create_register_cache. | |
4787 | (clear_inferiors): Call free_register_cache. | |
4788 | (inferior_regcache_data, set_inferior_regcache_data): New functions. | |
4789 | * gdbserver/regcache.c (struct inferior_regcache_data): New. | |
4790 | (registers): Remove. | |
4791 | (get_regcache): New function. | |
4792 | (create_register_cache, free_register_cache): New functions. | |
4793 | (set_register_cache): Don't initialize the register cache here. | |
4794 | (registers_to_string, registers_from_string, register_data): Call | |
4795 | get_regcache. | |
4796 | * gdbserver/regcache.h: Add prototypes. | |
4797 | * gdbserver/server.h: Likewise. | |
4798 | ||
611cb4a5 DJ |
4799 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
4800 | ||
4801 | * gdbserver/mem-break.c: New file. | |
4802 | * gdbserver/mem-break.h: New file. | |
4803 | * gdbserver/Makefile.in: Add mem-break.o rule; update server.h | |
4804 | dependencies. | |
4805 | * gdbserver/inferiors.c (struct inferior_info): Add target_data | |
4806 | member. | |
4807 | (clear_inferiors): Free target_data member if set. | |
4808 | (inferior_target_data, set_inferior_target_data): New functions. | |
4809 | * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) | |
4810 | (i386_stop_pc, i386_set_pc): New. Add to the_low_target. | |
4811 | * gdbserver/linux-low.c (linux_bp_reinsert): New variable. | |
4812 | (struct inferior_linux_data): New. | |
4813 | (linux_create_inferior): Use set_inferior_target_data. | |
4814 | (linux_attach): Likewise. Call add_inferior. | |
4815 | (linux_wait_for_one_inferior): New function. | |
4816 | (linux_wait): Call it. | |
4817 | (linux_write_memory): Add const. | |
4818 | (initialize_low): Call set_breakpoint_data. | |
4819 | * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint | |
4820 | handling members. | |
4821 | * gdbserver/server.c (attach_inferior): Remove extra add_inferior | |
4822 | call. | |
4823 | * gdbserver/server.h: Include mem-break.h. Update inferior.c | |
4824 | prototypes. | |
4825 | * gdbserver/target.c (read_inferior_memory) | |
4826 | (write_inferior_memory): New functions. | |
4827 | * gdbserver/target.h (read_inferior_memory) | |
4828 | (write_inferior_memory): Change macros to prototypes. | |
4829 | (struct target_ops): Update comments. Add const to write_memory | |
4830 | definition. | |
4831 | ||
f91305dd | 4832 | 2002-04-19 Andrew Cagney <[email protected]> |
bf75c8c1 AC |
4833 | |
4834 | * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame | |
4835 | instead of ->prev. | |
4836 | * z8k-tdep.c (z8k_frame_chain): Do not use ->prev. | |
4837 | * s390-tdep.c (s390_frame_chain): Do not use ->prev. | |
4838 | * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain() | |
4839 | instead of ->prev. | |
4840 | ||
73d322b1 EZ |
4841 | 2002-04-19 Elena Zannoni <[email protected]> |
4842 | ||
4843 | Fix PR gdb/471. | |
4844 | * gdbtypes.c (init_simd_type): Rewrite using new functions. | |
4845 | (build_builtin_type_vec128): Ditto. | |
4846 | (append_composite_type_field): Fix calculation of type length in | |
4847 | union case. | |
4848 | ||
ccd9a834 EZ |
4849 | 2002-04-19 Eli Zaretskii <[email protected]> |
4850 | ||
4851 | * config/djgpp/README: Update. | |
4852 | ||
4853 | * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a | |
4854 | compiler warnings. | |
4855 | ||
a57f9e49 JT |
4856 | 2002-04-19 Jason Thorpe <[email protected]> |
4857 | ||
4858 | * alpha-tdep.c (setup_arbitrary_frame): Rename... | |
4859 | (alpha_setup_arbitrary_frame): ...to this. | |
4860 | * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update | |
4861 | for alpha_setup_arbitrary_frame. | |
4862 | ||
f4f9705a AC |
4863 | 2002-04-18 Andrew Cagney <[email protected]> |
4864 | ||
4865 | * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer. | |
4866 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 4867 | |
f4f9705a AC |
4868 | * defs.h (breakpoint_from_pc_fn): Delete type definition. |
4869 | * target.h (memory_breakpoint_from_pc): Update declaration. | |
4870 | * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto. | |
4871 | ||
4872 | * arch-utils.c (legacy_breakpoint_from_pc): Update return type. | |
4873 | * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto. | |
4874 | * mem-break.c (memory_breakpoint_from_pc): Ditto. | |
4875 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto. | |
4876 | * s390-tdep.c (s390_breakpoint_from_pc): Ditto | |
4877 | * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto. | |
4878 | * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto. | |
4879 | * mips-tdep.c (mips_breakpoint_from_pc): Ditto. | |
4880 | * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto. | |
4881 | * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto. | |
4882 | * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto. | |
4883 | * arch-utils.c (legacy_breakpoint_from_pc): Ditto.. | |
4884 | ||
4885 | * mem-break.c (default_memory_insert_breakpoint): Make `bp' a | |
4886 | const pointer. | |
4887 | * monitor.c (monitor_insert_breakpoint): Ditto. | |
4888 | * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'. | |
4889 | ||
4890 | * config/mcore/tm-mcore.h: Update copyright. | |
4891 | * mem-break.c: Ditto. | |
4892 | * xstormy16-tdep.c: Ditto. | |
4893 | ||
29f319b8 PM |
4894 | 2002-04-18 Pierre Muller <[email protected]> |
4895 | ||
4896 | * p-exp.y: Add precedence rule for '^' token. | |
4897 | This removes the shift/reduce conflicts. | |
4898 | Remove the comment concerning these shift/reduce conflicts. | |
4899 | ||
ebeac11a EZ |
4900 | 2002-04-18 Elena Zannoni <[email protected]> |
4901 | ||
4902 | * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro. | |
4903 | (registers_powerpc_nofp): New register set for processors | |
4904 | without floating point unit. | |
4905 | ||
27c31547 DM |
4906 | 2002-04-18 David S. Miller <[email protected]> |
4907 | ||
4908 | * MAINTAINERS: Add myself to write-after-approval. | |
4909 | ||
47a73475 MS |
4910 | 2002-04-17 Michael Snyder <[email protected]> |
4911 | ||
4912 | * MAINTAINERS: Add myself as co-maintainer of testsuite/gdb.asm. | |
4913 | ||
953836b2 AC |
4914 | 2002-04-17 Andrew Cagney <[email protected]> |
4915 | ||
4916 | * rs6000-tdep.c (frame_initial_stack_address): Use | |
4917 | frame_register_read to read the alloca_reg. | |
4918 | ||
8b0d4340 AC |
4919 | 2002-04-17 Andrew Cagney <[email protected]> |
4920 | ||
4921 | * frame.c (find_saved_register): Find saved registers in the next | |
4922 | not prev frame. | |
4923 | Fix PR gdb/365. | |
4924 | ||
d8864532 AC |
4925 | 2002-04-17 Andrew Cagney <[email protected]> |
4926 | ||
4927 | * gdbarch.sh (LANG): Set to ``c''. | |
4928 | ||
36cc83a3 | 4929 | 2002-04-15 Andrew Cagney <[email protected]> |
361d1df0 | 4930 | |
36cc83a3 | 4931 | * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems. |
361d1df0 | 4932 | |
2f4150cc | 4933 | 2002-04-15 Andrew Cagney <[email protected]> |
2c7ef074 AC |
4934 | |
4935 | * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h". | |
4936 | Update copyright. | |
4937 | ||
628703c6 | 4938 | * hpread.c (hpread_get_lntt): Add declaration. |
2f4150cc | 4939 | Also fix PR gdb/391. |
361d1df0 | 4940 | |
56157b4a AC |
4941 | 2002-04-14 Andrew Cagney <[email protected]> |
4942 | ||
4943 | * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6. | |
4944 | * aclocal.m4, configure: Re-generate. | |
4945 | Fix PR gdb/391. | |
361d1df0 | 4946 | |
6d1e3329 EZ |
4947 | 2002-04-14 Elena Zannoni <[email protected]> |
4948 | ||
4949 | * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN | |
4950 | instead of tm_print_insn. | |
4951 | ||
cb06fa07 EZ |
4952 | 2002-04-14 Elena Zannoni <[email protected]> |
4953 | ||
4954 | * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo. | |
4955 | ||
f208ba17 AC |
4956 | 2002-04-14 Andrew Cagney <[email protected]> |
4957 | ||
4958 | * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro. | |
4959 | * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro. | |
4960 | (get_prev_frame): Do not call FRAME_CHAIN_COMBINE. | |
4961 | ||
20f01a46 DH |
4962 | 2002-04-12 Don Howard <[email protected]> |
4963 | ||
4964 | * cli/cli-cmds.c (init_cli_cmds): Add new user settable value: | |
4965 | max_user_call_depth. | |
4966 | (init_cmd_lists): Initialize the new value; | |
4967 | * cli/cli-script.c (execute_user_command): Limit the call depth of | |
4968 | user defined commands. This avoids a core-dump when user commands | |
4969 | are infinitly recursive. | |
4970 | ||
a88376a3 KB |
4971 | 2002-04-12 Kevin Buettner <[email protected]> |
4972 | ||
4973 | * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''. | |
4974 | * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset'' | |
4975 | from tdep struct instead of DEFAULT_LR_SAVE. | |
4976 | (rs6000_gdbarch_init): Initialize ``lr_frame_offset''. | |
4977 | * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete. | |
4978 | * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete. | |
4979 | ||
f2172603 MS |
4980 | 2002-04-12 Michael Snyder <[email protected]> |
4981 | ||
694f61fb | 4982 | * Remote.c: Spelling fix. |
20fe79c8 MS |
4983 | * gcore.c (default_derive_heap_segment): Use bfd_section_name. |
4984 | If no symbol found for "sbrk", try "_sbrk". | |
4985 | (make_output_phdrs): Use bfd_section_name. | |
4986 | (gcore_copy_callback): Use bfd_section_name. | |
62995fc4 | 4987 | * eval.c: Indentation fix-ups. |
169a7369 MS |
4988 | * d10v-tdep.c (d10v_make_iaddr): Make it idempotent, |
4989 | in case it gets applied to an address that is already | |
4990 | in the instruction space. | |
de74f71f MS |
4991 | * cli/cli-decode.c (help_list): Allow long lines to wrap. |
4992 | * symfile.c: Fix indentation, long lines. | |
f2172603 MS |
4993 | * source.c: White space fix-up. |
4994 | ||
cda5a58a AC |
4995 | 2002-04-12 Andrew Cagney <[email protected]> |
4996 | ||
4997 | * defs.h (read_relative_register_raw_bytes): Delete declaration. | |
4998 | * frame.c (frame_register_read): New function. Return non-zero on | |
4999 | success. | |
5000 | (read_relative_register_raw_bytes_for_frame): Delete. | |
5001 | (read_relative_register_raw_bytes): Delete. | |
5002 | * frame.h (frame_register_read): Declare. | |
5003 | * d30v-tdep.c: Update Copyright. Use frame_register_read. | |
5004 | * sh-tdep.c: Ditto. | |
5005 | * infcmd.c (do_registers_info): Ditto. | |
5006 | * hppa-tdep.c: Ditto. | |
5007 | * rs6000-tdep.c: Ditto. | |
5008 | * h8500-tdep.c: Ditto. | |
5009 | * mips-tdep.c: Ditto. | |
5010 | * h8300-tdep.c: Ditto. | |
5011 | * z8k-tdep.c: Ditto. | |
5012 | ||
2ea5f656 KB |
5013 | 2002-04-12 Kevin Buettner <[email protected]> |
5014 | ||
5015 | From Jimi X <[email protected]>: | |
5016 | * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for | |
5017 | 64-bit SysV ABI. | |
5018 | ||
27b15785 KB |
5019 | 2002-04-12 Kevin Buettner <[email protected]> |
5020 | ||
5021 | From Jimi X <[email protected]>: | |
5022 | * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from | |
5023 | bfd info. | |
5024 | ||
5d57ee30 KB |
5025 | 2002-04-12 Kevin Buettner <[email protected]> |
5026 | ||
5027 | From Jimi X <[email protected]>: | |
5028 | * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define | |
5029 | register sets for these processor variants. | |
5030 | ||
bc1e36ca DJ |
5031 | 2002-04-11 Daniel Jacobowitz <[email protected]> |
5032 | ||
5033 | * gdbserver/linux-low.c (usr_store_inferior_registers): Support | |
5034 | registers which are allowed to fail to store. | |
5035 | * gdbserver/linux-low.h (linux_target_ops): Likewise. | |
5036 | * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR. | |
5037 | (ppc_cannot_store_register): FPSCR may not be storable. | |
5038 | * regformats/reg-ppc.dat: Support FPSCR. | |
5039 | ||
e3f36dbd KB |
5040 | 2002-04-11 Kevin Buettner <[email protected]> |
5041 | ||
5042 | * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''. | |
5043 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): | |
5044 | Add fpscr as an invalid/unfetchable register. | |
5045 | * ppc-linux-nat.c (ppc_register_u_addr, store_register) | |
5046 | (fetch_ppc_registers, store_ppc_registers, supply_fpregset) | |
5047 | (fill_fpregset): Add support for register fpscr. | |
5048 | (fetch_ppc_registers, store_ppc_registers, supply_gregset) | |
5049 | (fill_gregset): Account for the fact that register ``mq'' might | |
5050 | not exist. | |
5051 | * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr. | |
5052 | (registers_power): Add fpscr to register set at slot 71. | |
5053 | (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't | |
5054 | exist on most PPC architectures. Initialize ppc_fpscr_regnum. | |
5055 | ||
943c9c25 MS |
5056 | 2002-04-11 Michael Snyder <[email protected]> |
5057 | ||
5058 | * configure.in: Autoconfiscate _SYSCALL32 define for solaris. | |
5059 | * configure: Regenerate. | |
5060 | * config.in: Regenerate. | |
5061 | * acconfig.h: Add define for _SYSCALL32. | |
5062 | * core-sol2.c: Remove #define _SYSCALL32. | |
5063 | * solib-legacy.c: Remove #define _SYSCALL32. | |
5064 | ||
d8c0a2e7 AC |
5065 | 2002-04-10 Andrew Cagney <[email protected]> |
5066 | ||
5067 | * stack.c (select_frame): Cleanup internal error message, do not | |
5068 | use %p. | |
5069 | ||
7cc19214 AC |
5070 | 2002-04-10 Andrew Cagney <[email protected]> |
5071 | ||
5072 | * stack.c (select_frame): Check that selected_frame and the | |
5073 | specified level are as expected. | |
5074 | * blockframe.c (get_prev_frame): Set the `level' from next_frame. | |
5075 | Update copyright. | |
5076 | * frame.h (struct frame_info): Add field `level'. Update | |
5077 | copyright. | |
5078 | Work-in-progress PR gdb/464. | |
5079 | ||
67a2b77e AC |
5080 | 2002-04-10 Andrew Cagney <[email protected]> |
5081 | ||
5082 | * maint.c (maint_print_section_info): Rename print_section_info. | |
5083 | (print_bfd_section_info, print_objfile_section_info): Update. | |
5084 | * inferior.h (struct gdbarch): Add opaque declaration. | |
5085 | * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh. | |
5086 | * gdbarch.h: Regenerate. | |
5087 | ||
8cfda98c ML |
5088 | 2002-04-10 Michal Ludvig <[email protected]> |
5089 | ||
5090 | * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete. | |
5091 | (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h. | |
5092 | (kernel_u_size): Added. | |
5093 | * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete. | |
5094 | (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h. | |
5095 | ||
ca439ad2 | 5096 | 2002-04-04 Jim Ingham <[email protected]> |
361d1df0 | 5097 | |
ca439ad2 JI |
5098 | * valarith.c (find_size_for_pointer_math): New function, either returns |
5099 | the size for a pointer's target, returns 1 for void *, or errors for | |
5100 | incomplete types. | |
5101 | (value_add, value_sub): use find_size_for_pointer_math. | |
5102 | ||
2f2893d9 DJ |
5103 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5104 | ||
5105 | * linux-low.c (linux_look_up_symbols): New hook. | |
5106 | (linux_target_ops): Add linux_look_up_symbols. | |
5107 | * remote-utils.c (decode_address): New function. | |
5108 | (look_up_one_symbol): New function. | |
5109 | * server.c (handle_query): Call target look_up_symbols hook. | |
5110 | * server.h (look_up_one_symbol): Add prototype. | |
5111 | * target.h (struct target_ops): Add look_up_symbols hook. | |
5112 | ||
2ec06d2e DJ |
5113 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5114 | ||
d64b8841 DJ |
5115 | * gdbserver/server.h: Include <string.h> if HAVE_STRING_H. |
5116 | * ChangeLog: Correct paths in last ChangeLog entry. | |
5117 | ||
5118 | 2002-04-09 Daniel Jacobowitz <[email protected]> | |
5119 | ||
5120 | * gdbserver/linux-low.h: Remove obsolete prototypes. | |
2ec06d2e DJ |
5121 | (struct linux_target_ops): New. |
5122 | (extern the_low_target): New. | |
d64b8841 | 5123 | * gdbserver/linux-low.c (num_regs, regmap): Remove declarations. |
2ec06d2e DJ |
5124 | (register_addr): Use the_low_target explicitly. |
5125 | (fetch_register): Likewise. | |
5126 | (usr_fetch_inferior_registers): Likewise. | |
5127 | (usr_store_inferior_registers): Likewise. | |
d64b8841 | 5128 | * gdbserver/linux-arm-low.c (num_regs): Remove. |
2ec06d2e DJ |
5129 | (arm_num_regs): Define. |
5130 | (arm_regmap): Renamed from regmap, made static. | |
5131 | (arm_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5132 | made static. | |
5133 | (arm_cannot_store_register): Renamed from cannot_store_register, | |
5134 | made static. | |
5135 | (the_low_target): New. | |
d64b8841 | 5136 | * gdbserver/linux-i386-low.c (num_regs): Remove. |
2ec06d2e DJ |
5137 | (i386_num_regs): Define. |
5138 | (i386_regmap): Renamed from regmap, made static. | |
5139 | (i386_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5140 | made static. | |
5141 | (i386_cannot_store_register): Renamed from cannot_store_register, | |
5142 | made static. | |
5143 | (the_low_target): New. | |
d64b8841 | 5144 | * gdbserver/linux-ia64-low.c (num_regs): Remove. |
2ec06d2e DJ |
5145 | (ia64_num_regs): Define. |
5146 | (ia64_regmap): Renamed from regmap, made static. | |
5147 | (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5148 | made static. | |
5149 | (ia64_cannot_store_register): Renamed from cannot_store_register, | |
5150 | made static. | |
5151 | (the_low_target): New. | |
d64b8841 | 5152 | * gdbserver/linux-m68k-low.c (num_regs): Remove. |
2ec06d2e DJ |
5153 | (m68k_num_regs): Define. |
5154 | (m68k_regmap): Renamed from regmap, made static. | |
5155 | (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5156 | made static. | |
5157 | (m68k_cannot_store_register): Renamed from cannot_store_register, | |
5158 | made static. | |
5159 | (the_low_target): New. | |
d64b8841 | 5160 | * gdbserver/linux-mips-low.c (num_regs): Remove. |
2ec06d2e DJ |
5161 | (mips_num_regs): Define. |
5162 | (mips_regmap): Renamed from regmap, made static. | |
5163 | (mips_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5164 | made static. | |
5165 | (mips_cannot_store_register): Renamed from cannot_store_register, | |
5166 | made static. | |
5167 | (the_low_target): New. | |
d64b8841 | 5168 | * gdbserver/linux-ppc-low.c (num_regs): Remove. |
2ec06d2e DJ |
5169 | (ppc_num_regs): Define. |
5170 | (ppc_regmap): Renamed from regmap, made static. | |
5171 | (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5172 | made static. | |
5173 | (ppc_cannot_store_register): Renamed from cannot_store_register, | |
5174 | made static. | |
5175 | (the_low_target): New. | |
d64b8841 | 5176 | * gdbserver/linux-s390-low.c (num_regs): Remove. |
2ec06d2e DJ |
5177 | (s390_num_regs): Define. |
5178 | (s390_regmap): Renamed from regmap, made static. | |
5179 | (s390_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5180 | made static. | |
5181 | (s390_cannot_store_register): Renamed from cannot_store_register, | |
5182 | made static. | |
5183 | (the_low_target): New. | |
d64b8841 | 5184 | * gdbserver/linux-sh-low.c (num_regs): Remove. |
2ec06d2e DJ |
5185 | (sh_num_regs): Define. |
5186 | (sh_regmap): Renamed from regmap, made static. | |
5187 | (sh_cannot_fetch_register): Renamed from cannot_fetch_register, | |
5188 | made static. | |
5189 | (sh_cannot_store_register): Renamed from cannot_store_register, | |
5190 | made static. | |
5191 | (the_low_target): New. | |
d64b8841 | 5192 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. |
2ec06d2e DJ |
5193 | (the_low_target): New. |
5194 | ||
96cb11df AC |
5195 | 2002-04-09 Andrew Cagney <[email protected]> |
5196 | ||
5197 | * frame.c (read_relative_register_raw_bytes_for_frame): Do not | |
5198 | override FP_REGNUM with frame->fp. Update copyright. | |
5199 | * parse.c (num_std_regs, std_regs): Delete. | |
5200 | (target_map_name_to_register): Do not search std_regs. Update | |
5201 | function description. | |
5202 | * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete | |
5203 | declarations. Update copyright. | |
5204 | Fix PR gdb/251. | |
361d1df0 | 5205 | |
c3a3ccc7 DJ |
5206 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5207 | ||
5208 | * gdbserver/Makefile.in: Add stamp-h target. | |
5209 | * gdbserver/configure.in: Create stamp-h. | |
5210 | * gdbserver/configure: Regenerated. | |
5211 | ||
ce3a066d DJ |
5212 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5213 | ||
5214 | * gdbserver/inferiors.c: New file. | |
5215 | * gdbserver/target.c: New file. | |
5216 | * gdbserver/target.h: New file. | |
5217 | * gdbserver/Makefile.in: Add target.o and inferiors.o. Update | |
5218 | dependencies. | |
5219 | * gdbserver/linux-low.c (inferior_pid): New static variable, | |
5220 | moved from server.c. | |
5221 | (linux_create_inferior): Renamed from create_inferior. | |
5222 | Call add_inferior. Return 0 on success instead of a PID. | |
5223 | (linux_attach): Renamed from myattach. | |
5224 | (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). | |
5225 | (linux_thread_alive): Renamed from mythread_alive. | |
5226 | (linux_wait): Renamed from mywait. Call clear_inferiors () if the | |
5227 | child dies. | |
5228 | (linux_resume): Renamed from myresume. Add missing ``return 0''. | |
5229 | (regsets_store_inferior_registers): Correct error message. | |
5230 | Add missing ``return 0''. | |
5231 | (linux_fetch_registers): Renamed from fetch_inferior_registers. | |
5232 | (linux_store_registers): Renamed from store_inferior_registers. | |
5233 | (linux_read_memory): Renamed from read_inferior_memory. | |
5234 | (linux_write_memory): Renamed from write_inferior_memory. | |
5235 | (linux_target_ops): New structure. | |
5236 | (initialize_low): Call set_target_ops (). | |
5237 | * gdbserver/remote-utils.c (unhexify): New function. | |
5238 | (hexify): New function. | |
5239 | (input_interrupt): Send signals to ``signal_pid''. | |
5240 | * gdbserver/server.c (inferior_pid): Remove. | |
5241 | (start_inferior): Update create_inferior call. | |
5242 | (attach_inferior): Call add_inferior. | |
5243 | (handle_query): New function. | |
5244 | (main): Call handle_query for `q' packets. | |
5245 | * gdbserver/server.h: Include "target.h". Remove obsolete prototypes. | |
5246 | Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. | |
5247 | ||
0729219d DJ |
5248 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5249 | ||
5250 | * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury | |
5251 | dependencies. | |
5252 | * gdbserver/configure.in: Check for <string.h> | |
5253 | * gdbserver/configure: Regenerate. | |
5254 | * gdbserver/config.in: Regenerate. | |
5255 | * gdbserver/gdbreplay.c: Include needed system headers. | |
5256 | (remote_open): Remove strchr prototype. | |
5257 | * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. | |
5258 | * gdbserver/regcache.c (supply_register): Change buf argument to const void *. | |
5259 | (supply_register_by_name): Likewise. | |
5260 | (collect_register): Change buf argument to void *. | |
5261 | (collect_register_by_name): Likewise. | |
5262 | * gdbserver/regcache.h: Add missing prototypes. | |
5263 | * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa. | |
5264 | * gdbserver/server.c (handle_query): New function. | |
5265 | (attached): New static variable, moved out of main. | |
5266 | (main): Quiet longjmp clobber warnings. | |
5267 | * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. | |
5268 | * gdbserver/utils.c (error): Remove NORETURN. | |
5269 | (fatal): Likewise. | |
5270 | ||
97658e92 DJ |
5271 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
5272 | ||
5273 | * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer | |
5274 | after the last symbol in a block. | |
5275 | ||
6044e3eb PM |
5276 | 2002-04-09 Pierre Muller <[email protected]> |
5277 | ||
5278 | * p-exp.y (yylex): Handle also the fact that is_a_field_of_this | |
5279 | is non zero as a found symbol. | |
5280 | ||
0406ec40 AC |
5281 | 2002-04-08 Andrew Cagney <[email protected]> |
5282 | ||
5283 | * findvar.c: Include "builtin-regs.h". | |
5284 | (value_of_register): Call value_of_builtin_reg when applicable. | |
5285 | * parse.c: Include "builtin-regs.h" and "gdb_assert.h". | |
5286 | (target_map_name_to_register): Call | |
5287 | builtin_reg_map_name_to_regnum. | |
5288 | * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c. | |
5289 | (COMMON_OBS): Add builtin-regs.o and std-regs.o. | |
5290 | (builtin_regs_h): Define. | |
5291 | (builtin-regs.o): New target. | |
5292 | (findvar.o): Add $(builtin_regs_h). | |
5293 | * builtin-regs.c, builtin-regs.h: New files. | |
5294 | * std-regs.c: New file. | |
5295 | Partial fix for PR gdb/251. | |
5296 | ||
56a6dfb9 KB |
5297 | 2002-04-08 Kevin Buettner <[email protected]> |
5298 | ||
5299 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn; | |
5300 | it's no longer required. | |
5301 | ||
3a808432 AC |
5302 | 2002-04-08 Andrew Cagney <[email protected]> |
5303 | ||
5304 | * Makefile.in (gdbtk-wrapper.o): Add missing dependencies. | |
5305 | ||
7c40d541 KB |
5306 | 2002-04-08 Kevin Buettner <[email protected]> |
5307 | ||
5308 | From Jimi X <[email protected]>: | |
5309 | * rs6000-tdep.c (rs6000_software_single_step): Use | |
5310 | rs6000_breakpoint_from_pc() to fetch breakpoint instruction | |
5311 | and size. Use target_insert_breakpoint() and | |
5312 | target_remove_breakpoint() to insert and remove breakpoints | |
5313 | instead of explicit memory reads and writes. | |
5314 | ||
cc9836a8 KB |
5315 | 2002-04-08 Kevin Buettner <[email protected]> |
5316 | ||
5317 | * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete. | |
5318 | * rs6000-tdep.c (rs6000_push_arguments): Eliminate | |
5319 | ELF_OBJECT_FORMAT ifdef. | |
5320 | ||
7495d1dc KB |
5321 | 2002-04-08 Kevin Buettner <[email protected]> |
5322 | ||
5323 | From Jimi X <[email protected]>: | |
5324 | * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn(). | |
5325 | ||
4288e836 KB |
5326 | 2002-04-08 Kevin Buettner <[email protected]> |
5327 | ||
5328 | From Jimi X <[email protected]>: | |
5329 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro | |
5330 | definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET. | |
5331 | ||
a4e4e501 MK |
5332 | 2002-04-07 Mark Kettenis <[email protected]> |
5333 | ||
5334 | * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions): | |
5335 | s/asprintf/xasprintf/. | |
5336 | (fbsd_make_corefile_notes): s/strdup/xstrdup/. | |
5337 | ||
006defba AC |
5338 | 2002-04-07 Andrew Cagney <[email protected]> |
5339 | ||
5340 | I believe Jeff Law denies responsability for this one: | |
5341 | * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork. | |
5342 | * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork. | |
5343 | * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork. | |
5344 | Work-around for PR gdb/366. | |
5345 | ||
7aa83cac EZ |
5346 | 2002-04-07 Elena Zannoni <[email protected]> |
5347 | ||
5348 | * remote-e7000.c (write_small, e7000_read_inferior_memory, | |
5349 | e7000_read_inferior_memory_large, e7000_insert_breakpoint, | |
5350 | e7000_remove_breakpoint): Use paddr_nz() to print addresses. | |
5351 | ||
cf1fcca1 EZ |
5352 | 2002-04-07 Elena Zannoni <[email protected]> |
5353 | ||
5354 | * sh-tdep.c (sh_fp_frame_init_saved_regs, | |
5355 | sh_nofp_frame_init_saved_regs): Use alloca() for 'where' | |
5356 | information. | |
5357 | ||
3f289e6f AC |
5358 | 2002-04-07 Andrew Cagney <[email protected]> |
5359 | ||
5360 | * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER | |
5361 | maintainer. | |
5362 | ||
129188f6 AC |
5363 | 2002-04-07 Andrew Cagney <[email protected]> |
5364 | ||
5365 | * README (Reporting Bugs in GDB): Document the bug web page as the | |
5366 | prefered way of submitting bugs. | |
5367 | Fix PR gdb/402. | |
5368 | ||
1200cd6e AC |
5369 | 2002-04-06 Andrew Cagney <[email protected]> |
5370 | ||
5371 | * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of | |
5372 | -1. Update comment. | |
5373 | * gdbarch.h, gdbarch.c: Re-generate. | |
5374 | ||
2853c33c AS |
5375 | 2002-04-07 Andreas Schwab <[email protected]> |
5376 | ||
5377 | * m68klinux-nat.c (fill_fpregset): Properly pass address of | |
5378 | buffer to regcache_collect. | |
5379 | ||
c2169756 AC |
5380 | 2002-04-06 Andrew Cagney <[email protected]> |
5381 | ||
5382 | * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1. | |
5383 | * gdbarch.c, gdbarch.h: Re-generate. | |
5384 | ||
25f1b008 AC |
5385 | 2002-04-06 Andrew Cagney <[email protected]> |
5386 | ||
5387 | * symtab.c (lookup_symtab): Remove ``const'' from ``rp'' | |
5388 | declaration. Fix -Werror. | |
5389 | ||
59263426 DJ |
5390 | 2002-04-05 Daniel Jacobowitz <[email protected]> |
5391 | ||
5392 | * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap. | |
5393 | * gdbarch.c: Regenerate. | |
5394 | ||
f5db4da3 MS |
5395 | 2002-04-05 Michael Snyder <[email protected]> |
5396 | ||
80f8a6eb MS |
5397 | * breakpoint.c (clear_command): Rewrite middle section to |
5398 | combine two loops with identical control conditions. | |
5399 | Add a cleanup to eliminate a memory leak. | |
f5db4da3 MS |
5400 | * cli/cli-dump.c (restore_section_callback): Use paddr_nz. |
5401 | ||
ad3dcc5c L |
5402 | 2002-04-05 H.J. Lu ([email protected]) |
5403 | ||
5404 | * solib-svr4.c (bkpt_names): Add "__start". | |
5405 | ||
f32e7a74 AC |
5406 | 2002-04-04 Andrew Cagney <[email protected]> |
5407 | ||
5408 | * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64 | |
5409 | as test for 64 bit target. | |
5410 | ||
8227c0ff AC |
5411 | 2002-04-05 Andrew Cagney <[email protected]> |
5412 | ||
5413 | * h8500-tdep.c (h8500_write_fp): Delete function. | |
5414 | * dwarf2cfi.c (cfi_write_fp): Document as not used. | |
5415 | * mips-tdep.c (mips_gdbarch_init): Do not set write_fp. | |
5416 | * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp. | |
5417 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp. | |
5418 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp. | |
5419 | * s390-tdep.c (s390_gdbarch_init): Do not set write_fp. | |
5420 | (s390_write_fp): | |
5421 | * sh-tdep.c (sh_gdbarch_init): Do not set write_fp. | |
5422 | * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp. | |
5423 | * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp. | |
5424 | (d10v_write_fp): Delete function. | |
5425 | * inferior.h (write_fp, generic_target_write_fp): Delete | |
5426 | declarations. | |
5427 | * regcache.c (generic_target_write_fp): Delete function. | |
5428 | (write_fp): Delete function. | |
5429 | * gdbarch.sh (TARGET_WRITE_FP): Delete. | |
5430 | * gdbarch.h, gdbarch.c: Regenerate. | |
5431 | * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro. | |
5432 | * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro. | |
5433 | (sparc64_write_fp): Delete declaration. | |
5434 | * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro. | |
5435 | (h8500_write_fp): Delete declaration. | |
5436 | ||
2757dd86 AC |
5437 | 2002-04-04 Andrew Cagney <[email protected]> |
5438 | ||
5439 | * sparc-tdep.c (sparc64_write_fp): Delete. | |
5440 | (sparc_push_dummy_frame): Replace write_fp call with code to store | |
5441 | the FP directly. | |
5442 | (sparc_gdbarch_init): Do not initialize write_fp. | |
5443 | ||
c69255e1 KB |
5444 | 2002-04-05 Kevin Buettner <[email protected]> |
5445 | ||
5446 | * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable | |
5447 | clause. | |
5448 | ||
ae767bfb JB |
5449 | 2002-03-29 Jim Blandy <[email protected]> |
5450 | ||
5451 | * stack.c (get_selected_block): Add new argument `addr_in_block', | |
5452 | used to return the exact code address we used to select the block, | |
5453 | not just the block. | |
5454 | * blockframe.c (get_frame_block, get_current_block): Same. | |
5455 | * frame.h (get_frame_block, get_current_block, | |
5456 | get_selected_block): Update declarations. | |
5457 | * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c, | |
5458 | linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed. | |
5459 | ||
84d2ac95 MS |
5460 | 2002-04-05 Michael Snyder <[email protected]> |
5461 | ||
5462 | * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in | |
5463 | warning message. | |
5464 | ||
596aa3bf JB |
5465 | 2002-04-05 J. Brobecker <[email protected]> |
5466 | ||
5467 | * utils.c (xfullpath): New function. | |
5468 | * defs.h (xfullpath): Add declaration. | |
5469 | * source.c (openp): Use xfullpath in place of gdb_realpath to | |
5470 | avoid resolving the basename part of filenames when the | |
5471 | associated file is a symbolic link. This fixes a potential | |
5472 | inconsistency between the filenames known to GDB and the | |
5473 | filenames it prints in the annotations. | |
5474 | * symtab.c (lookup_symtab): Use the new xfullpath function, in order | |
5475 | to be able to match a filename with either the real filename, or | |
5476 | the name of any symbolic link to this file. | |
5477 | (lookup_partial_symtab): Ditto. | |
5478 | ||
c02f5703 MS |
5479 | 2002-04-04 Michael Snyder <[email protected]> |
5480 | ||
5481 | * breakpoint.c: Add support for hardware breakpoints in overlays. | |
5482 | (overlay_events_enabled): New state variable. | |
5483 | (insert_breakpoints): Use overlay_events_enabled to decide | |
5484 | whether to attempt to set a breakpoint at the overlay load addr. | |
5485 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
5486 | (remove_breakpoint): Use overlay_events_enabled to decide | |
5487 | whether breakpoints need to be removed from overlay load addr. | |
5488 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
5489 | (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays. | |
361d1df0 | 5490 | (create_overlay_event_breakpoint, enable_overlay_breakpoints, |
c02f5703 MS |
5491 | disable_overlay_breakpoints): Update overlay_events_enabled. |
5492 | ||
5fb290d7 DJ |
5493 | 2002-04-04 Daniel Jacobowitz <[email protected]> |
5494 | ||
5495 | * dwarf2read.c (struct function_range): New. | |
5496 | (cu_first_fn, cu_last_fn, cu_cached_fn): New. | |
5497 | (check_cu_functions): New. | |
5498 | (read_file_scope): Initialize global function lists. | |
5499 | Call dwarf_decode_line after processing children. | |
5500 | (read_func_scope): Add to global function list. | |
5501 | (dwarf_decode_lines): Call check_cu_functions everywhere | |
5502 | record_line is called. Call record_line with a linenumber | |
5503 | of 0 to mark sequence ends. | |
5504 | ||
7b3fabf0 ML |
5505 | 2002-04-04 Michal Ludvig <[email protected]> |
5506 | ||
361d1df0 | 5507 | * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI |
7b3fabf0 ML |
5508 | change sync with glibc. |
5509 | ||
bce58c09 JB |
5510 | 2002-04-03 Jim Blandy <[email protected]> |
5511 | ||
5512 | * configure.in: Call AC_C_INLINE. | |
5513 | * configure: Regenerated. | |
361d1df0 | 5514 | |
2fccf04a DJ |
5515 | 2002-04-01 Daniel Jacobowitz <[email protected]> |
5516 | ||
5517 | * rs6000-tdep.c: Change #include of "bfd/libcoff.h" | |
5518 | and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h". | |
5519 | ||
2d1bfe2e MK |
5520 | 2002-03-31 Mark Kettenis <[email protected]> |
5521 | ||
a5941fbf MK |
5522 | * NEWS: Mention gcore support on FreeBSD/i386. |
5523 | ||
a90cd31d MK |
5524 | * fbsd-proc.c: New file. |
5525 | * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define. | |
5526 | * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o. | |
5527 | ||
2d1bfe2e MK |
5528 | * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in |
5529 | while statement. | |
5530 | ||
9eb6e5a1 JB |
5531 | 2002-03-29 Jim Blandy <[email protected]> |
5532 | ||
5533 | * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate | |
5534 | unescaped newlines in string literals, but newer ones don't. So | |
5535 | escape them. | |
5536 | ||
f02df580 MS |
5537 | 2002-03-26 Michael Snyder <[email protected]> |
5538 | Andrew Cagney <[email protected]> | |
5539 | ||
361d1df0 | 5540 | * cli/cli-dump.c: New file. Dump memory to file, |
f02df580 MS |
5541 | restore file to memory. |
5542 | * cli/cli-dump.h: New file. | |
5543 | * Makefile.in: Add rules, dependencies for cli-dump.o. | |
89743e04 | 5544 | * NEWS: Mention new commands. |
f02df580 | 5545 | |
109f874e MS |
5546 | 2002-03-28 Michael Snyder <[email protected]> |
5547 | ||
5548 | * symfile.c (symbol_file_add): Move test for null symbols to later. | |
5549 | ||
520f6ade AC |
5550 | 2002-03-27 Andrew Cagney <[email protected]> |
5551 | ||
5552 | From veksler at il.ibm.com: | |
5553 | * utils.c (gdb_realpath): If canonicalize_file_name fails, return | |
5554 | the xstrduped original path. | |
5555 | Fix PR gdb/417. | |
5556 | ||
d4654627 MS |
5557 | 2002-03-27 Michael Snyder <[email protected]> |
5558 | ||
5559 | * breakpoint.c (_initialize_breakpoint): Clean up help string. | |
5560 | * infcmd.c (_initialize_infcmd): Ditto. | |
5561 | * language.c (_initialize_language): Ditto. | |
5562 | * symfile.c (_initialize_symfile): Ditto. | |
5563 | * top.c (_init_main): Ditto. | |
5564 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
5565 | ||
6be8bc0c EZ |
5566 | 2002-03-27 Elena Zannoni <[email protected]> |
5567 | ||
5568 | * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec | |
5569 | vector registers handling. | |
5570 | (skip_prologue): Handle new AltiVec instructions. Fill in new | |
5571 | fields of frame data. | |
5572 | (frame_get_saved_regs): Fill in information for AltiVec registers. | |
5573 | ||
12af6855 JB |
5574 | 2002-03-27 Jim Blandy <[email protected]> |
5575 | ||
5576 | * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into | |
5577 | a function; leave this macro here to invoke that function. | |
5578 | (symbol_init_mangled_name): Declaration for that function. | |
5579 | * symtab.c (symbol_init_mangled_name): New function. | |
5580 | ||
dc672865 AC |
5581 | 2002-03-27 Andrew Cagney <[email protected]> |
5582 | ||
5583 | * valarith.c: Replace strerror with safe_strerror. | |
5584 | * tracepoint.c: Ditto. | |
5585 | * lin-lwp.c: Ditto. | |
5586 | * go32-nat.c: Ditto. | |
5587 | * inflow.c: Ditto. | |
5588 | * gnu-nat.c: Ditto. | |
5589 | ||
d96429cd AS |
5590 | 2002-03-27 Andreas Schwab <[email protected]> |
5591 | ||
5592 | * event-top.c (command_line_handler): Remove useless if. | |
5593 | ||
7e336ba1 AJ |
5594 | 2002-03-27 Andreas Jaeger <[email protected]> |
5595 | ||
5596 | * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright | |
5597 | comment. | |
5598 | ||
de220d0f ML |
5599 | 2002-03-27 Michal Ludvig <[email protected]> |
5600 | ||
5601 | * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines. | |
5602 | (x86_64_num_regs, x86_64_num_gregs): Added extern variables. | |
5603 | * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS. | |
5604 | (x86_64_linux_dr_get_status, supply_gregset), | |
5605 | (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs. | |
5606 | * x86-64-tdep.c (x86_64_register_raw_size_table): Delete. | |
5607 | (x86_64_register_info_table): Add. | |
5608 | (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add. | |
5609 | (x86_64_register_raw_size, x86_64_register_virtual_type), | |
5610 | (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new | |
5611 | general x86_64_register_info_table. | |
5612 | (i386_gdbarch_init): gdbarch_register_bytes is now set | |
5613 | dynamicaly during initialization. | |
5614 | * regformats/reg-x86-64.dat: Synced with changes to registers above. | |
5615 | * gdbserver/linux-x86-64-low.c: Ditto. | |
7e336ba1 | 5616 | |
0e98d0a7 DJ |
5617 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
5618 | ||
5619 | * gdbserver/server.c (main): Call target_signal_to_host_p | |
5620 | and target_signal_to_host on signals received from the remote. | |
5621 | * gdbserver/remote-utils.c (prepare_resume_reply): Call | |
5622 | target_signal_from_host on signals sent to the remote. | |
5623 | * gdbserver/server.h: Add prototypes. Include "gdb/signals.h". | |
5624 | * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}. | |
5625 | ||
3130066b DJ |
5626 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
5627 | ||
5628 | * signals/signals.c: Include "server.h" in gdbserver build. | |
5629 | (target_signal_from_name): Don't use STREQ. | |
5630 | (_initialize_signals): Likewise. Don't include function in | |
5631 | gdbserver build. | |
5632 | ||
9aedf4f4 DJ |
5633 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
5634 | ||
5635 | * signals.c: Moved to... | |
5636 | * signals/signals.c: Here. | |
7e336ba1 | 5637 | * Makefile (signals.o): Update. |
9aedf4f4 | 5638 | |
3fa41cdb JL |
5639 | 2002-03-26 Jeff Law ([email protected]) |
5640 | ||
5641 | * somread.c (som_symtab_read): Remove some commented out code and | |
5642 | updated related comments. Do not set the minimal symbol table to | |
5643 | mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope | |
5644 | in a dynamic executable. | |
5645 | * hppa-tdep.c (find_proc_framesize): Sanely handle the case | |
5646 | where we are unable to find the minimal symbol for the given | |
5647 | PC value. | |
5648 | ||
ee677e8d MS |
5649 | 2002-03-25 Jeff Law ([email protected]) |
5650 | ||
5651 | * linux-proc.c (read_mapping): Scan up to end of line for filename. | |
5652 | ||
e76e1718 ML |
5653 | 2002-03-25 Michal Ludvig <[email protected]> |
5654 | ||
5655 | * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch. | |
5656 | ||
18a642a1 AC |
5657 | 2002-03-23 Andrew Cagney <[email protected]> |
5658 | ||
5659 | * command.h: Update copyright. | |
5660 | (struct cmd_list_element): Replace definition with opaque | |
5661 | declaration. | |
5662 | (enum cmd_types): Document that it will eventually be moved to | |
5663 | cli/cli-decode.h | |
5664 | (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros. | |
5665 | (MALLOCED_REPLACEMENT): Delete macro. | |
5666 | * Makefile.in (cli_decode_h): Add $(command_h). | |
5667 | (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h). | |
7e336ba1 | 5668 | * top.c: Include "cli/cli-decode.h". |
18a642a1 AC |
5669 | * completer.c: Include "cli/cli-decode.h". |
5670 | * maint.c: Include "cli/cli-decode.h". | |
5671 | * cli/cli-decode.h: Include "command.h". | |
5672 | (enum command_class): Delete. | |
5673 | (enum cmd_types): Comment out. | |
5674 | (enum cmd_auto_boolean): Delete. | |
5675 | (enum var_types): Delete. | |
5676 | ||
b2875cc0 AC |
5677 | 2002-03-23 Andrew Cagney <[email protected]> |
5678 | ||
5679 | * cli/cli-decode.c: Include "gdb_assert.h". | |
5680 | (add_set_or_show_cmd): New static function. | |
5681 | (add_set_cmd): Rewrite. Use add_set_or_show_cmd. | |
5682 | (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy | |
5683 | all fields, such as func, from the set command. | |
5684 | ||
3b45974e AC |
5685 | 2002-03-23 Andrew Cagney <[email protected]> |
5686 | ||
5687 | * MAINTAINERS (sh-elf): Change warning flag to -w. | |
5688 | ||
823ca731 AC |
5689 | 2002-03-23 Andrew Cagney <[email protected]> |
5690 | ||
5691 | * defs.h (error): Add printf format attribute. | |
5692 | * thread-db.c (thread_from_lwp): Fix error format string. | |
5693 | * stack.c (parse_frame_specification): Ditto. | |
5694 | * cli/cli-decode.c (undef_cmd_error): Ditto. | |
5695 | * scm-lang.c (scm_lookup_name): Ditto. | |
5696 | * tracepoint.c (trace_error): Ditto. | |
5697 | * remote-utils.c (usage): Ditto. | |
5698 | * remote.c (compare_sections_command): Ditto. | |
5699 | Fix PR gdb/328. | |
5700 | ||
0e101458 AC |
5701 | 2002-03-22 Andrew Cagney <[email protected]> |
5702 | ||
5703 | * gdbtypes.c (append_composite_type_field): New function. | |
5704 | (init_composite_type): New function. | |
5705 | * gdbtypes.h (append_composite_type_field): Declare. | |
5706 | (init_composite_type): Ditto. | |
5707 | ||
8e0662df EZ |
5708 | 2002-03-22 Elena Zannoni <[email protected]> |
5709 | ||
5710 | * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New | |
7e336ba1 | 5711 | function. |
8e0662df EZ |
5712 | * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export. |
5713 | * rs6000-tdep.c (rs6000_gdbarch_init): Use different | |
5714 | structure returning convention for SYSV ABI case, but not | |
5715 | for GNU/Linux, FreeBSD, or NetBSD. | |
5716 | ||
3121eff0 DJ |
5717 | 2002-03-22 Daniel Jacobowitz <[email protected]> |
5718 | ||
5719 | * symtab.h (lookup_block_symbol): Add mangled_name argument | |
5720 | to prototype. | |
5721 | ||
5722 | * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol | |
5723 | with new mangled_name argument. | |
5724 | * linespec.c (decode_line_1): Likewise. | |
5725 | * valops (value_of_this): Likewise. | |
5726 | * symtab.c (lookup_transparent_type): Likewise. | |
5727 | (lookup_symbol_aux): Likewise. Accept new mangled_name argument. | |
5728 | (lookup_symbol): If we are given a mangled name, pass it down | |
5729 | to lookup_symbol_aux. | |
5730 | (lookup_block_symbol): If we are given a mangled name to check | |
5731 | against, only return symbols which match it. | |
5732 | ||
349b409f CF |
5733 | 2002-03-22 Christopher Faylor <[email protected]> |
5734 | ||
5735 | * win32-nat.c (child_create_inferior): Check for proper shell to use | |
5736 | here, in case the user changes it on the fly. | |
5737 | (_initialize_inftarg): Remove shell path considerations. | |
5738 | ||
2a873819 EZ |
5739 | 2002-03-21 Elena Zannoni <[email protected]> |
5740 | ||
5741 | * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value | |
5742 | for gdbarch_max_register_raw_size and max_register_virtual_size. | |
5743 | Adjust copyright year. | |
5744 | ||
a1b9830c DJ |
5745 | 2002-03-21 Daniel Jacobowitz <[email protected]> |
5746 | ||
5747 | * dbxread.c (process_one_symbol): Extend the first N_SLINE | |
5748 | in a function to cover the entire beginning of the function | |
5749 | as well if it does not already. | |
5750 | ||
8b5790f2 TR |
5751 | 2002-03-21 Tom Rix <[email protected]> |
5752 | ||
5753 | * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32. | |
5754 | (rs6000_ptrace64): Renamed from ptrace64. | |
5755 | ||
bdbe5747 MH |
5756 | 2002-03-20 Martin M. Hunt <[email protected]> |
5757 | ||
5758 | * gdbserver/remote-utils.c (remote_open): Don't call | |
5759 | getprotobyname, we're all using TCP here so just use | |
5760 | IPPROTO_TCP. | |
7e336ba1 | 5761 | * gdbserver/gdbreplay.c (remote_open): Ditto. |
bdbe5747 MH |
5762 | |
5763 | 2002-03-20 Martin M. Hunt <[email protected]> | |
7e336ba1 | 5764 | |
bdbe5747 MH |
5765 | * regcache.c (_initialize_regcache): No need to call |
5766 | build_regcache() at this time; it gets called whenever | |
5767 | the gdbarch changes. | |
5768 | ||
7781cd62 DB |
5769 | 2002-03-20 David O'Brien <[email protected]> |
5770 | ||
5771 | * sparc-nat.c: Include sys/param.h where possible. | |
5772 | ||
f65ca430 DJ |
5773 | 2002-03-20 Daniel Jacobowitz <[email protected]> |
5774 | ||
5775 | Fix PR gdb/422. | |
5776 | * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX, | |
5777 | FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX. | |
5778 | * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for | |
5779 | complex types. | |
5780 | * stabsread.c (rs6000_builtin_type): Likewise. | |
5781 | (read_sun_floating_type): Likewise. | |
5782 | ||
0c867556 PS |
5783 | 2002-03-19 Peter Schauer <[email protected]> |
5784 | ||
5785 | * stabsread.c (read_member_functions): Remove skip code for duplicate | |
5786 | constructor/destructor methods. Use standard parsing for these | |
5787 | methods and just do not chain them to the list of methods after | |
5788 | parsing. | |
5789 | ||
12b9c64f AO |
5790 | 2002-03-19 Alexandre Oliva <[email protected]> |
5791 | ||
5792 | * coffread.c: Remove redundant static declarations. Replace | |
5793 | occurrences of `PTR' with `void *'. | |
5794 | * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise. | |
5795 | * top.h (quit_cover): Likewise. | |
5796 | * defs.h (catch_errors): Likewise. | |
5797 | ||
349c5d5f AC |
5798 | 2002-03-18 Andrew Cagney <[email protected]> |
5799 | ||
5800 | * defs.h (XMALLOC): Define. | |
5801 | * gdb-events.sh (XMALLOC): Delete macro. | |
5802 | * gdb-events.c, gdb-events.h: Regenerate. | |
5803 | * gdbarch.sh (XMALLOC): Delete macro. | |
5804 | * gdbarch.c: Regenerate. | |
5805 | * serial.c (XMALLOC): Delete macro. | |
5806 | * ui-file.c (XMALLOC): Ditto. | |
5807 | * ser-unix.h (XMALLOC): Ditto. | |
5808 | * sh-tdep.c (XMALLOC): Ditto. | |
5809 | * ui-out.c (XMALLOC): Ditto. | |
5810 | * utils.c (XMALLOC): Ditto. | |
5811 | * i386-tdep.c (XMALLOC): Ditto. | |
5812 | * gdb-events.c (XMALLOC): Ditto. | |
5813 | * d10v-tdep.c (XMALLOC): Ditto. | |
5814 | * cli-out.c (XMALLOC): Ditto. | |
5815 | ||
5816 | * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. | |
5817 | * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. | |
5818 | * ui-file.c, ui-out.c: Ditto. | |
5819 | ||
7d0766f3 AC |
5820 | 2002-03-18 Andrew Cagney <[email protected]> |
5821 | ||
5822 | * command.h (struct cmd_list_element): Add field context. | |
5823 | (set_cmd_context, get_cmd_context): Declare. | |
5824 | * cli/cli-decode.h: Ditto. | |
5825 | * cli/cli-decode.c (get_cmd_context): New function. | |
5826 | (set_cmd_context): New function. | |
5827 | (add_cmd): Initialize context. | |
5828 | Part of fixing PR gdb/145 and PR gdb/146. | |
5829 | ||
5913bcb0 AC |
5830 | 2002-03-17 Andrew Cagney <[email protected]> |
5831 | ||
1868c04e AC |
5832 | * cli/cli-decode.c (cmd_type): New function. |
5833 | * command.h (cmd_type): Declare. | |
5834 | * infrun.c (set_schedlock_func): Call function cmd_type. | |
5835 | * kod.c (kod_set_os): Call cmd_type. | |
5836 | * cris-tdep.c (cris_version_update): Use function cmd_type. | |
5837 | (cris_mode_update, cris_abi_update): Ditto. | |
5838 | ||
5913bcb0 AC |
5839 | * command.h: (execute_cmd_post_hook): Declare. |
5840 | (execute_cmd_pre_hook): Declare. | |
5841 | * cli/cli-script.c (clear_hook_in_cleanup): New function. | |
5842 | (execute_cmd_post_hook, execute_cmd_pre_hook): New | |
5843 | functions. Execute pre/post hook while ensuring that afterwords | |
5844 | hook_in is cleared. | |
5845 | * top.c (execute_command): Use execute_cmd_post_hook, and | |
5846 | execute_cmd_pre_hook to execute pre/post commands. | |
5847 | * infrun.c (normal_stop): Pass stop_command and not pre_hook to | |
5848 | hook_stop_stub. | |
5849 | (hook_stop_stub): Call execute_cmd_pre_hook. | |
5850 | ||
b51450c9 AC |
5851 | 2002-03-17 Andrew Cagney <[email protected]> |
5852 | ||
5853 | * kod.c (kod_set_os): Revert previous change. Is called by ``info | |
5854 | set'' and this leads to a core dump. Move xstrdup of | |
5855 | operating_system to after check that it is not NULL. | |
5856 | ||
f66c9f11 AC |
5857 | 2002-03-17 Andrew Cagney <[email protected]> |
5858 | ||
8e694ecf AC |
5859 | * kod.c (kod_set_os): Remove unnecessary check that |
5860 | ``command->type'' is set_cmd. | |
5861 | ||
f66c9f11 AC |
5862 | * valprint.c (set_input_radix): Use input_radix. |
5863 | (set_output_radix): Use output_radix. | |
5864 | (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix | |
5865 | isn't reverted. | |
5866 | ||
9d01611c AC |
5867 | 2002-03-16 Andrew Cagney <[email protected]> |
5868 | ||
5869 | * value.h (struct value): Delete field ``substring_addr''. Change | |
5870 | aligner fields to force_doublest_align, force_longest_align, | |
ee2d3b3a AC |
5871 | force_core_addr_align and force_pointer_aligh. |
5872 | ||
5873 | * value.h (struct value): Fix typo in above change. | |
9d01611c | 5874 | |
4156bb53 PS |
5875 | 2002-03-16 Peter Schauer <[email protected]> |
5876 | ||
5877 | * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip, | |
5878 | to fix internal_error from ``maintenance print architecture''. | |
5879 | ||
0e5e3ea6 PS |
5880 | 2002-03-16 Peter Schauer <[email protected]> |
5881 | ||
5882 | * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type | |
5883 | for gcc versions after gcc-2.8.1. | |
5884 | ||
9b013045 PS |
5885 | 2002-03-16 Peter Schauer <[email protected]> |
5886 | ||
5887 | * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer | |
5888 | for method resolution. Restore adjustment of ``this'' pointer after | |
5889 | calling value_struct_elt, which was accidentally removed during the | |
5890 | HP merge. | |
5891 | ||
376c9600 AC |
5892 | 2002-03-15 Andrew Cagney <[email protected]> |
5893 | ||
5894 | * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to | |
5895 | value_of_register. | |
5896 | * findvar.c (value_of_register): Add ``frame'' parameter. Pass to | |
5897 | get_saved_register. | |
5898 | * value.h (value_of_register): Update. | |
5899 | ||
a4db0f07 RH |
5900 | 2002-03-14 Richard Henderson <[email protected]> |
5901 | ||
5902 | * configure.in: Detect declaration for canonicalize_file_name. | |
5903 | * utils.c (canonicalize_file_name): Declare, if needed. | |
5904 | (gdb_realpath): Prefer realpath if available and usable. | |
5905 | * config.in, configure: Rebuild. | |
5906 | ||
96383835 RH |
5907 | 2002-03-14 Richard Henderson <[email protected]> |
5908 | ||
5909 | * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as | |
5910 | a constant array bound. | |
5911 | ||
5912 | * MAINTAINERS: Add myself to write-after-approval. | |
5913 | ||
75245b24 MS |
5914 | 2002-03-14 Michael Snyder <[email protected]> |
5915 | ||
5916 | * symfile.c (syms_from_objfile): Return immediately if no syms. | |
5917 | (symbol_file_add): Return immediately if no syms. | |
5918 | (find_sym_fns): Return immediately if no syms. | |
5919 | ||
e641a1ca ML |
5920 | 2002-03-13 Michal Ludvig <[email protected]> |
5921 | ||
5922 | * gdbserver/remote-util.c (remote_open): Print remote-side's | |
5923 | IP address when remote debugging over the network. | |
7e336ba1 | 5924 | |
df08bfec DB |
5925 | 2002-03-12 David O'Brien <[email protected]> |
5926 | ||
5927 | * config/sparc/fbsd.mh: Fix copyright. | |
5928 | * config/sparc/fbsd.mt: Likewise. | |
5929 | ||
9a57864f RE |
5930 | 2002-03-11 Richard Earnshaw <[email protected]> |
5931 | ||
5932 | * MAINTAINERS: Fix typo in name of gdb warnings option. | |
5933 | (x86-64): Fix formating so that this can be parsed by awk. | |
5934 | ||
dd7bf85e DJ |
5935 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
5936 | ||
5937 | * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h. | |
5938 | * defs.h: Include "gdb/signals.h". | |
5939 | (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h. | |
5940 | ||
33a0a2ac ML |
5941 | 2002-03-10 Michal Ludvig <[email protected]> |
5942 | ||
5943 | * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c | |
7e336ba1 | 5944 | * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here |
33a0a2ac ML |
5945 | from x86-64-tdep.h |
5946 | ||
dd824b04 DJ |
5947 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
5948 | Don Howard <[email protected]> | |
5949 | ||
5950 | * mips-tdep.c (ST0_FR): Define. | |
5951 | (mips2_fp_compat): New function, temporarily disabled. | |
5952 | (mips_read_fp_register_single): New function. | |
5953 | (mips_read_fp_register_double): New function. | |
5954 | (mips_print_register): Use them. | |
5955 | (do_fp_register_row): Likewise. | |
5956 | ||
6a41ff59 AC |
5957 | 2002-03-09 Andrew Cagney <[email protected]> |
5958 | ||
5959 | * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after | |
5960 | approval''. | |
5961 | ||
4ea09c10 PS |
5962 | 2002-03-08 Peter Schauer <[email protected]> |
5963 | ||
5964 | * stabsread.c (read_member_functions): Fix is_stub test for | |
5965 | static member functions, improve comment. | |
5966 | ||
6ccc741d RE |
5967 | 2002-03-07 Richard Earnshaw <[email protected]> |
5968 | ||
5969 | * remote-rdi.c (myprint): Replace 'PTR' with 'void *'. | |
5970 | (mywrite, mywritec, mypause, myreadc, mygets): Likewise. | |
5971 | (_initialize_remote_rdi): Use add_set_boolean_cmd to register | |
5972 | commands that set boolean values. | |
5973 | (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning. | |
5974 | (arm_rdi_resume): Always initialize PC. | |
5975 | (arm_rdi_open): Don't use rslt as a boolean. | |
5976 | (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume) | |
5977 | (arm_rdi_fetch_registers, arm_rdi_store_registers) | |
5978 | (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill) | |
5979 | (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise. | |
5980 | ||
438013df AO |
5981 | 2002-03-06 Alexandre Oliva <[email protected]> |
5982 | ||
5983 | * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX. | |
5984 | * configure: Rebuilt. | |
5985 | ||
70ed8774 SC |
5986 | 2002-03-06 Stephane Carrez <[email protected]> |
5987 | ||
5988 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn. | |
5989 | (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead. | |
5990 | ||
5ba2abeb AC |
5991 | 2002-03-06 Andrew Cagney <[email protected]> |
5992 | ||
5993 | * cli/cli-decode.c (set_cmd_completer): New function. | |
5994 | * command.h (set_cmd_completer): Declare. | |
5995 | * cli/cli-decode.h (set_cmd_completer): Ditto. | |
5996 | ||
5997 | * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer. | |
5998 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
5999 | * win32-nat.c (_initialize_inftarg): Ditto. | |
6000 | * remote-rdi.c (_initialize_remote_rdi): Ditto. | |
6001 | * proc-api.c (_initialize_proc_api): Ditto. | |
6002 | * hppa-tdep.c (_initialize_hppa_tdep): Ditto. | |
6003 | * source.c (_initialize_source): Ditto. | |
6004 | * exec.c (_initialize_exec): Ditto. | |
6005 | * solib.c (_initialize_solib): Ditto. | |
6006 | * top.c (init_main): Ditto. | |
6007 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
6008 | * symfile.c (_initialize_symfile): Ditto. | |
6009 | * printcmd.c (_initialize_printcmd): Ditto. | |
6010 | * infcmd.c (_initialize_infcmd): Ditto. | |
6011 | * corefile.c (_initialize_core): Ditto. | |
6012 | ||
f779ca99 AC |
6013 | 2002-03-05 Andrew Cagney <[email protected]> |
6014 | ||
6015 | * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler. | |
6016 | ||
01a3934b AC |
6017 | 2002-03-05 Andrew Cagney <[email protected]> |
6018 | ||
6019 | * MAINTAINERS: Fix Mac OS X and Objective-C/C++. | |
6020 | ||
37057839 AC |
6021 | 2002-03-05 Andrew Cagney <[email protected]> |
6022 | ||
6023 | * NEWS: Update headings, 5.2 has branched. | |
6024 | ||
c6ecbae5 DJ |
6025 | 2002-03-04 Daniel Jacobowitz <[email protected]> |
6026 | ||
6027 | * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long. | |
6028 | (num_regs, regmap): Move inside HAVE_LINUX_USRREGS. | |
6029 | (register_addr, REGISTER_RAW_SIZE): Likewise. | |
6030 | (usr_store_inferior_registers): Use PTRACE_XFER_TYPE. | |
6031 | * gdbserver/linux-x86-64-low.c: Remove extra #endif. | |
6032 | ||
e9f30c21 ML |
6033 | 2002-03-03 Michal Ludvig <[email protected]> |
6034 | ||
6035 | * MAINTAINERS (x86-64): Add myself. | |
6036 | * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs, | |
6037 | changed value_ptr -> struct value * | |
6038 | ||
54394ac3 DB |
6039 | 2002-03-01 David O'Brien <[email protected]> |
6040 | ||
6041 | * configure.host (sparc64-*-freebsd): Add. | |
6042 | * configure.tgt: Likewise. | |
6043 | * config/sparc/fbsd.mh: New file. | |
6044 | * config/sparc/fbsd.mt: Likewise. | |
6045 | * config/sparc/nm-fbsd.h: Likewise. | |
6046 | * config/sparc/tm-fbsd.h: Likewise. | |
6047 | ||
bfe95955 DJ |
6048 | 2002-03-01 Daniel Jacobowitz <[email protected]> |
6049 | ||
6050 | * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and | |
6051 | regformats/reg-s390x.dat. | |
6052 | ||
f33c6cbf AC |
6053 | 2002-03-01 Andrew Cagney <[email protected]> |
6054 | ||
6055 | * utils.c: Add FIXME explaining true/false problem. | |
6056 | ||
5ecaa7dd AC |
6057 | 2002-02-28 Andrew Cagney <[email protected]> |
6058 | ||
6059 | * MAINTAINERS (Past Maintainers): Add J.T. Conklin. | |
6060 | ||
2a251cc2 MC |
6061 | 2002-02-28 Michael Chastain <[email protected]> |
6062 | ||
6063 | * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs . | |
6064 | ||
6a8031a3 | 6065 | 2002-02-28 Daniel Jacobowitz <[email protected]> |
265f716b DJ |
6066 | |
6067 | * gdbserver/linux-s390-low.c: New file. | |
6068 | * regformats/reg-s390.dat: New file. | |
6069 | * regformats/reg-s390x.dat: New file. | |
6070 | * gdbserver/configure.srv: Add S/390. | |
6071 | * gdbserver/Makefile.in: Add S/390. | |
6072 | * configure.tgt: Enable gdbserver for S/390. | |
6073 | ||
ac469903 EZ |
6074 | 2002-02-28 Eli Zaretskii <[email protected]> |
6075 | ||
6076 | * go32-nat.c (_initialize_go32_nat): Don't use periods in the | |
6077 | first line of the doc string for "info dos", except at the end of | |
6078 | the sentence, since the short help stops at the first period. | |
6079 | ||
985cb1a3 JM |
6080 | 2002-02-28 Jason Merrill <[email protected]> |
6081 | ||
6082 | * dwarf2read.c (dwarf_cfi_name): Add new codes. | |
6083 | ||
c570663e FF |
6084 | 2002-02-27 Fred Fish <[email protected]> |
6085 | ||
6086 | * blockframe.c (generic_fix_call_dummy): Fix obvious typo in | |
6087 | comment (dumy -> dummy). | |
6088 | ||
43630227 PS |
6089 | 2002-02-27 Peter Schauer <[email protected]> |
6090 | ||
6091 | * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames. | |
6092 | ||
b84911e8 RB |
6093 | 2002-02-27 Rodney Brown <[email protected]> |
6094 | ||
6095 | * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5. | |
6096 | ||
58caa3dc DJ |
6097 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
6098 | ||
6099 | * gdbserver/acconfig.h: New file. | |
6100 | * gdbserver/i387-fp.c: New file. | |
6101 | * gdbserver/i387-fp.h: New file. | |
6102 | * gdbserver/linux-x86-64.c: New file. | |
6103 | * regformats/reg-x86-64.dat: New file. | |
6104 | * configure.tgt: Add x86_64-*-linux* gdbserver support. | |
6105 | * gdbserver/configure.srv: Add x86_64-*-linux* and regset support. | |
6106 | * gdbserver/configure.in: Add support for regsets. | |
6107 | * gdbserver/config.in: Regenerate. | |
6108 | * gdbserver/configure: Regenerate. | |
6109 | * gdbserver/Makefile.in: Likewise. Add $(linux_low_h). | |
6110 | * gdbserver/linux-low.h: New file. | |
6111 | * gdbserver/linux-low.c: Include "linux-low.h". Add support | |
6112 | for regsets. | |
6113 | * gdbserver/linux-arm-low.c: Include "linux-low.h". | |
6114 | * gdbserver/linux-ia64-low.c: Include "linux-low.h". | |
6115 | * gdbserver/linux-m68k-low.c: Include "linux-low.h". | |
6116 | * gdbserver/linux-mips-low.c: Include "linux-low.h". | |
6117 | * gdbserver/linux-ppc-low.c: Include "linux-low.h". | |
6118 | * gdbserver/linux-sh-low.c: Include "linux-low.h". | |
6119 | * gdbserver/linux-i386-low.c: Include "linux-low.h". Include | |
6120 | "i387-fp.h". Add PTRACE_GETREGS and friends. | |
6121 | * gdbserver/regcache.c (supply_register): New function. | |
6122 | (supply_register_by_name): New function. | |
6123 | (collect_register): New function. | |
6124 | (collect_register_by_name): New function. | |
6125 | ||
93652174 DJ |
6126 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
6127 | ||
6128 | * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER. | |
6129 | (config.status): Add configure.srv dependency. | |
6130 | (server_h): Add config.h dependency. | |
6131 | ||
a02e4a61 DJ |
6132 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
6133 | ||
6134 | * regformats/reg-i386-linux.dat: New file, with $orig_eax. | |
6135 | * gdbserver/Makefile.in: Add rules for reg-i386-linux.o. | |
6136 | * gdbserver/configure.srv: Change i386-*-linux* to use | |
6137 | reg-i386-linux.o. | |
6138 | ||
ce0eebec AC |
6139 | 2002-02-26 Andrew Cagney <[email protected]> |
6140 | ||
6141 | * x86-64-tdep.c: Re-indent. Update copyright date. | |
6142 | ||
82dbc5f7 AC |
6143 | 2002-02-26 Andrew Cagney <[email protected]> |
6144 | ||
6145 | From Michal Ludvig <[email protected]>: | |
6146 | * x86-64-tdep.c (value.h): Delete. | |
6147 | (gdb_assert.h): Include. | |
6148 | (x86_64_register_convert_to_virtual, | |
6149 | x86_64_register_convert_to_raw ): Add check which lets only | |
6150 | floating-point values to be converted. | |
6151 | (value_push): Delete. | |
6152 | (x86_64_push_arguments): Order of arguments pushed on stack fixed. | |
6153 | (i386_gdbarch_init): Number of register_bytes fixed. | |
6154 | ||
e4621584 AC |
6155 | 2002-02-26 Andrew Cagney <[email protected]> |
6156 | ||
6157 | * MAINTAINERS: Add x86-64 target. | |
6158 | ||
81a9a963 AC |
6159 | 2002-02-26 Andrew Cagney <[email protected]> |
6160 | ||
6161 | * memattr.c (mem_command): Eliminate ``true'' and ``false''. | |
6162 | * osfsolib.c (solib_map_sections): Ditto. | |
6163 | * irix5-nat.c (solib_map_sections): Ditto. | |
6164 | * corelow.c (gdb_check_format): Ditto. | |
6165 | * symfile.c (symfile_bfd_open): Ditto. | |
6166 | * solib.c (solib_map_sections): Ditto. | |
6167 | Fix PR gdb/354. | |
7e336ba1 | 6168 | |
0f017ab9 AC |
6169 | 2002-02-26 Andrew Cagney <[email protected]> |
6170 | ||
6171 | * remote.c (_initialize_remote): By default, disable ``e'' and | |
6172 | ``E'' step out-of-range packets. | |
6173 | ||
75738c29 AS |
6174 | 2002-02-26 Andreas Schwab <[email protected]> |
6175 | ||
6176 | * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as | |
6177 | m68k_linux_frame_saved_pc. | |
6178 | (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of | |
6179 | in_sigtramp. | |
6180 | (SIGCONTEXT_PC_OFFSET): Remove. | |
6181 | * m68klinux-nat.c (m68k_linux_frame_saved_pc, | |
6182 | m68k_linux_sigtramp_saved_pc): New functions. | |
6183 | (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define. | |
6184 | (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h. | |
6185 | (UCONTEXT_PC_OFFSET): Define. | |
6186 | (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both | |
6187 | non-RT and RT signal trampolines. | |
6188 | ||
7e8ed687 RE |
6189 | 2002-02-26 Richard Earnshaw <[email protected]> |
6190 | ||
6191 | * config/arm/tm-embed.h (TARGET_UPAGES): Delete. | |
6192 | (TARGET_NBPG, STACK_END_ADDR): Delete | |
6193 | (VARIABLES_INSIDE_BLOCK): Delete. | |
6194 | ||
6972bc8b AC |
6195 | 2002-02-25 Andrew Cagney <[email protected]> |
6196 | ||
6197 | * utils.c (perror_with_name): Make string parameter constant. | |
6198 | (print_sys_errmsg): Ditto. | |
6199 | (query): Ditto. | |
6200 | * defs.h (perror_with_name): Update. | |
6201 | (print_sys_errmsg): Update. | |
6202 | (query): Update. | |
6203 | ||
aa32f823 DJ |
6204 | 2002-02-25 Daniel Jacobowitz <[email protected]> |
6205 | ||
6206 | From Eliot Dresselhaus <[email protected]>: | |
6207 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo. | |
6208 | ||
19caaa45 PS |
6209 | 2002-02-25 Peter Schauer <[email protected]> |
6210 | ||
6211 | * rs6000-nat.c (set_host_arch): Do not switch to a new architecture | |
6212 | if it already matches the current architecture from the exec file. | |
6213 | Include arch-utils.h for gdbarch_info_init prototype. | |
6214 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
6215 | ||
d951901f EZ |
6216 | 2002-02-25 Eli Zaretskii <[email protected]> |
6217 | ||
6218 | * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the | |
6219 | list of exported variables. | |
6220 | ||
7ea81414 DJ |
6221 | 2002-02-24 Daniel Jacobowitz <[email protected]> |
6222 | ||
6223 | * gdbserver/configure.srv: New file. | |
6224 | * gdbserver/configure.in: Use configure.srv instead | |
6225 | of the host/target makefile fragments. Set GDBSERVER_DEPFILES | |
6226 | from it. | |
6227 | * gdbserver/configure: Regenerated. | |
6228 | * gdbserver/terminal.h: New file. | |
6229 | * gdbserver/Makefile.in: Update for configure changes. Remove | |
6230 | more unneeded include paths. | |
6231 | ||
080fe24b AC |
6232 | 2002-02-24 Andrew Cagney <[email protected]> |
6233 | ||
6234 | From wiz at danbala: | |
6235 | * config/sparc/tm-sp64.h: Fix grammar and typos. | |
6236 | Fix PR gdb/287. | |
6237 | ||
8605d56e AC |
6238 | 2002-02-24 Andrew Cagney <[email protected]> |
6239 | ||
6240 | * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux'' | |
a4b6fc86 AC |
6241 | with either ``GNU/Linux'' or ``Linux kernel''. Update copyright. |
6242 | * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto. | |
6243 | * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto. | |
ca557f44 AC |
6244 | * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto. |
6245 | * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto. | |
6246 | * s390-tdep.c: Ditto. | |
92362027 AC |
6247 | * config/nm-linux.h, config/alpha/nm-linux.h: Ditto. |
6248 | * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h: | |
6249 | * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto. | |
6250 | * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto. | |
6251 | * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto. | |
6252 | * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto. | |
6253 | * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto. | |
6254 | * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto. | |
6255 | * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto. | |
6256 | * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto. | |
8605d56e | 6257 | Fix PR gdb/378. |
7e336ba1 | 6258 | |
8ed32cc0 AC |
6259 | 2002-02-23 Andrew Cagney <[email protected]> |
6260 | ||
a3007b6f AC |
6261 | * lin-thread.c: Delete file. |
6262 | * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer | |
6263 | to gdb_proc_service.h. | |
6264 | * configure: Re-generate. | |
6265 | ||
50a9e2f1 AC |
6266 | * ocd.c (ocd_open): Do not try to open the "ocd" device. |
6267 | * serial.c (serial_open): Delete check for "ocd". | |
6268 | Fix PR gdb/349. | |
6269 | ||
8b6e7932 AC |
6270 | * Makefile.in (linux-thread.o): Delete target. |
6271 | * linux-thread.c: Delete file. | |
6272 | ||
d155c46b AC |
6273 | * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other |
6274 | renamed SH files to be consistent. | |
6275 | ||
8ed32cc0 AC |
6276 | * symtab.c (sort_search_symbols): Use xfree. |
6277 | ||
0e18d038 RE |
6278 | 2002-02-23 Richard Earnshaw <[email protected]> |
6279 | ||
6280 | * arm-linux-tdep.c (arm_linux_init_abi): Register | |
6281 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE | |
6282 | * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old | |
6283 | definition with undef, since we don't want the sysvr4 definition. | |
6284 | (SKIP_TRAMPOLINE_CODE): Likewise. | |
6285 | ||
27aac7ff AC |
6286 | 2002-02-23 Andrew Cagney <[email protected]> |
6287 | ||
6288 | From 2002-02-22 Alfred M. Szmidt <[email protected]>: | |
6289 | ||
6290 | * configure.in: (AC_CHECK_FUNCS) Added test for | |
6291 | canonicalize_file_name Regenerated. | |
6292 | * config.in, configure: Regenerated. | |
6293 | * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is | |
6294 | defined use canonicalize_file_name. | |
7e336ba1 | 6295 | |
65a6e0ee MC |
6296 | 2002-02-23 Michael Chastain <[email protected]> |
6297 | ||
6298 | * MAINTAINERS: Remove Michael Chastain from "paper trail" list. | |
6299 | ||
47b95330 AC |
6300 | 2002-02-23 Andrew Cagney <[email protected]> |
6301 | ||
6302 | * README: Remove references to cygnus.com. | |
6303 | * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar | |
6304 | dot com'' form. Remove references to cygnus.com and sourceware. | |
6305 | ||
696f451b AC |
6306 | 2002-02-23 Andrew Cagney <[email protected]> |
6307 | ||
6308 | From 2002-02-19 Paul Eggert <[email protected]>: | |
6309 | * Makefile.in (VER): Change "head -1" to "sed q", since POSIX | |
6310 | 1003.1-2001 no longer allows "head -1". | |
6311 | * gdb/Makefile.in (version.c): Likewise. | |
6312 | * gdb/doc/Makefile.in (GDBvn.texi): Likewise. | |
6313 | * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is | |
6314 | equivalent. POSIX 1003.1-2001 no longer allows "diff -c3". | |
6315 | ||
bbaca940 AC |
6316 | 2002-02-23 Andrew Cagney <[email protected]> |
6317 | ||
6318 | * cli/cli-decode.c (cmd_cfunc_eq): New function. | |
6319 | * command.h (cmd_cfunc_eq): Declare. | |
6320 | * cli/cli-decode.h (cmd_cfunc_eq): Ditto. | |
6321 | ||
6322 | * cli/cli-cmds.h (is_complete_command): Change parameter to a | |
6323 | ``struct cmd_list_element *''. | |
6324 | * cli/cli-cmds.c (is_complete_command): Update. Use | |
6325 | cmd_cfunc_eq. | |
6326 | * top.c (execute_command): Pass the command to | |
6327 | is_complete_command. | |
6328 | * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq. | |
6329 | ||
b8b8b047 AC |
6330 | 2002-02-23 Andrew Cagney <[email protected]> |
6331 | ||
6332 | From 2002-02-20 Martin Schwidefsky <[email protected]>: | |
6333 | * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed | |
6334 | architecture defines. | |
6335 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
6336 | ||
19d3fc80 RE |
6337 | 2002-02-23 Richard Earnshaw <[email protected]> |
6338 | ||
6339 | * arm-linux-tdep.c (arm_linux_extract_return_value): Make static. | |
6340 | (arm_linux_push_arguments): Likewise. | |
6341 | (arm_linux_init_abi): Register them. Also register linux-specific | |
6342 | call_dummy_words. | |
6343 | (find_minsym_and_objfile): Use strcmp, not STREQ. | |
6344 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete. | |
6345 | (arm_linux_call_dummy_words): Delete declaration. | |
6346 | (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete. | |
6347 | (arm_linux_extract_return_value, arm_linux_push_arguments): Delete | |
6348 | declarations. | |
6349 | (LOWEST_PC): Delete. | |
6350 | ||
3ab13650 PS |
6351 | 2002-02-23 Peter Schauer <[email protected]> |
6352 | ||
6353 | * maint.c (print_section_info): Do not prepend `0x' to filepos | |
6354 | output, it will be handled by local_hex_string_custom. | |
6355 | ||
19d3fc80 | 6356 | 2002-02-23 Richard Earnshaw <[email protected]> |
85ae890c RE |
6357 | |
6358 | * arm-linux-nat.c (store_newfpe_single): Use regcache_collect. | |
6359 | (store_newfpe_double, store_newfpe_extended, store_fpregister) | |
6360 | (store_register, store_regs, fill_gregset, fill_fpregset): Likewise. | |
6361 | ||
d85a5daf JB |
6362 | 2002-02-22 Jim Blandy <[email protected]> |
6363 | ||
6364 | Indicate that the bcache functions don't change the strings | |
6365 | they're passed. | |
6366 | * bcache.h (bcache, hash): Add `const' keywords to declarations. | |
6367 | * bcache.c (bcache, hash): Add `const' keywords to definitions. | |
6368 | ||
eeb25b8a PM |
6369 | 2002-02-22 Pierre Muller <[email protected]> |
6370 | ||
6371 | * win32-nat.c (child_create_inferior): Fix create flags setting bug. | |
6372 | ||
6badb179 CF |
6373 | 2002-02-21 Christopher Faylor <[email protected]> |
6374 | ||
6375 | * win32-nat.c (register_loaded_dll): Just use raw name when we can't | |
6376 | find the complete path to a loaded DLL. | |
6377 | ||
e8717518 FF |
6378 | 2002-02-21 Fred Fish <[email protected]> |
6379 | ||
6380 | * dbxread.c (process_one_symbol): When finding an N_FUN symbol | |
6381 | that marks the end of the range of a function, enter a line number | |
6382 | entry that has a line number of zero and a PC offset that matches | |
6383 | the end of the function. This starts a range of PC's for which no | |
6384 | line number information is known. | |
6385 | * symtab.c (find_pc_sect_line): If our best fit is in a range of | |
6386 | PC's for which no line number info is found (line number is zero) | |
6387 | then we didn't find any valid line information. | |
6388 | * symtab.h: Document use of zero line number entry. | |
6389 | ||
9abe5450 EZ |
6390 | 2002-02-21 Elena Zannoni <[email protected]> |
6391 | ||
6392 | * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define. | |
6393 | (have_ptrace_getvrregs): Define for run time checks. | |
6394 | (gdb_vrregset_t): New type for Altivec register handling. | |
6395 | (fetch_register, store_register): Fetch/store altivec register | |
6396 | when needed. | |
6397 | (fetch_altivec_register, store_altivec_register): New functions. | |
6398 | (supply_vrregset, fill_vrregset): New functions. | |
6399 | (fetch_altivec_registers, store_altivec_registers): New functions. | |
6400 | (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec | |
6401 | registers as well. | |
6402 | ||
aaa38bb5 AJ |
6403 | 2002-02-21 Jiri Smid <[email protected]> |
6404 | ||
6405 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o. | |
6406 | ||
b34db576 RE |
6407 | 2002-02-21 Richard Earnshaw <[email protected]> |
6408 | ||
6409 | * Makefile.in (armnbsd-nat.o): Update dependencies. | |
6410 | * armnbsd-nat.c (supply_gregset): New function. Common code to | |
6411 | supply the integer register set. | |
6412 | (supply_fparegset): New function. Similar for FPA registers. | |
6413 | (fetch_regs, fetch_fp_regs): Use them. | |
6414 | (fetch_core_registers): Likewise. | |
6415 | (fetch_elfcore_registers): New function. | |
6416 | (arm_netbsd_elfcore_fns): New core-file type specification. | |
6417 | (_initialize_arm_netbsd_nat): Register it. | |
6418 | ||
3e56fc4b RE |
6419 | 2002-02-21 Richard Earnshaw <[email protected]> |
6420 | ||
6421 | * armnbsd-nat.c: Include gdbcore.h. | |
6422 | (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined. | |
6423 | (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit | |
6424 | 'void' to declaration, to shut up ARI. | |
6425 | (fetch_core_registers): Make static. Rewrite using supply_register. | |
6426 | (arm_netbsd_core_fns): New core-file type specification. | |
6427 | (_initialize_arm_netbsd_nat): New function. | |
6428 | ||
097f6b0b CF |
6429 | 2002-02-21 Christopher Faylor <[email protected]> |
6430 | ||
6431 | * win32-nat.c (register_loaded_dll): Correctly check for invalid handle | |
6432 | value. | |
6433 | ||
c914e0cc CF |
6434 | 2002-02-20 Christopher Faylor <[email protected]> |
6435 | ||
6436 | * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile | |
6437 | fails. | |
6438 | ||
385fa495 DJ |
6439 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6440 | ||
6441 | * jv-exp.y (parse_number): Change type of implicit longs | |
6442 | to builtin_type_uint64. | |
6443 | ||
e5f1222d DJ |
6444 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6445 | ||
6446 | * gdbserver/linux-low.c (mywait): Change argument to waitpid | |
6447 | to be an integer instead of a `union wait'. | |
6448 | ||
75c9abc6 DJ |
6449 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6450 | ||
6451 | * mips-linux-nat.c: Call the operating system GNU/Linux. | |
6452 | * mips-linux-tdep.c: Likewise. | |
6453 | * mips-tdep.c: Likewise. | |
6454 | ||
551792a5 DJ |
6455 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6456 | ||
6457 | Fix PR gdb/265. | |
6458 | * jv-exp.y (parse_number): Handle 64-bit integers. | |
6459 | ||
ee6e2b82 DJ |
6460 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6461 | ||
6462 | * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change | |
6463 | AC_STDC_HEADERS to AC_HEADER_STDC. | |
6464 | * gdbserver/configure: Regenerated. | |
6465 | ||
a48442a0 RE |
6466 | 2002-02-20 Richard Earnshaw <[email protected]> |
6467 | ||
6468 | * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC | |
6469 | is defined. | |
6470 | * sparc-tdep.c (get_longjmp_target): Likewise. | |
6471 | ||
fe419ffc RE |
6472 | 2002-02-20 Richard Earnshaw <[email protected]> |
6473 | ||
6474 | * News: Add news about ARM and Multi-arch. Mention the new target | |
6475 | arm*-*-netbsd*. | |
6476 | ||
5832ed7e JB |
6477 | 2002-02-19 Jim Blandy <[email protected]> |
6478 | ||
6479 | * stabsread.c (error_type_complaint): Improve error message. | |
6480 | ||
84563040 DJ |
6481 | 2002-02-19 Daniel Jacobowitz <[email protected]> |
6482 | ||
6483 | * gdbserver/README: Update documentation. | |
6484 | * gdbserver/configure.in: Update configury to match documentation. | |
6485 | * gdbserver/Makefile.in: Likewise. | |
6486 | * gdbserver/configure: Regenerated. | |
6487 | * gdbserver/aclocal.m4: New file, generated by aclocal. | |
6488 | * gdbserver/config.in: New file, generated by autoheader. | |
6489 | ||
375fd65b RE |
6490 | 2002-02-19 Richard Earnshaw <[email protected]> |
6491 | ||
6492 | * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and | |
6493 | armnbsd-nat.c. | |
6494 | ||
08216dd7 RE |
6495 | 2002-02-19 Richard Earnshaw <[email protected]> |
6496 | ||
6497 | * arm-tdep.h (enum arm_float_model): New enum. | |
6498 | (struct gdbarch_tdep): Add fp_model. | |
6499 | * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting | |
6500 | up floating-point conversions until we know the floating-point model | |
6501 | in use by the inferior. Don't complain about being unable to | |
6502 | determine the ABI of the inferior when we don't have one. | |
6503 | (arm_extract_return_value): Support different floating-point models. | |
6504 | (arm_store_return_value): Likewise. | |
aaa38bb5 | 6505 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to |
08216dd7 RE |
6506 | ARM_FLOAT_SOFT. |
6507 | (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP. | |
6508 | ||
65d6d66a PS |
6509 | 2002-02-19 Peter Schauer <[email protected]> |
6510 | ||
6511 | * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use | |
6512 | of ``current_gdbarch''. | |
6513 | ||
47221191 RE |
6514 | 2002-02-19 Richard Earnshaw <[email protected]> |
6515 | ||
6516 | * armnbsd-nat.c : ANSIfy all function declarations. | |
6517 | (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New. | |
6518 | (fetch_inferior_registers): Re-implement in terms of above. | |
6519 | (store_register, store_regs, store_fp_register, store_fp_regs): New. | |
6520 | (store_inferior_registers): Re-implement in terms of above. | |
6521 | ||
fdf39c9a RE |
6522 | 2002-02-19 Richard Earnshaw <[email protected]> |
6523 | ||
aaa38bb5 | 6524 | * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the |
fdf39c9a RE |
6525 | kernel. |
6526 | * arm-linux-tdep.c: Likewise. | |
6527 | * config/arm/tm-linux.h: Likewise. | |
6528 | ||
93247f88 RE |
6529 | 2002-02-19 Richard Earnshaw <[email protected]> |
6530 | ||
6531 | * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch. | |
6532 | * config/arm/nbsd.mt (TM_FILE): Delete. | |
6533 | * config/arm/tm-nbsd.h: Delete. | |
6534 | ||
d7b486e7 RE |
6535 | 2002-02-19 Richard Earnshaw <[email protected]> |
6536 | ||
6537 | * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED. | |
6538 | Initialize CALL_DUMMY_LENGTH. | |
6539 | ||
41d39a95 RE |
6540 | 2002-02-19 Richard Earnshaw <[email protected]> |
6541 | ||
6542 | * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New | |
6543 | function. | |
6544 | (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE. | |
aaa38bb5 | 6545 | * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only |
41d39a95 RE |
6546 | defines one thing and that is incorrect for this port. |
6547 | (IN_SOLIB_CALL_TRAMPOLINE): Delete. | |
6548 | ||
e1195560 PM |
6549 | 2002-02-18 Pierre Muller <[email protected]> |
6550 | ||
6551 | * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro. | |
6552 | ||
c1748f97 PM |
6553 | 2002-02-18 Pierre Muller <[email protected]> |
6554 | ||
6555 | * win32-nat.c (display_selector): New function. Displays information | |
6556 | about the information returned by GetThreadSelectorEntry API function. | |
6557 | (display_selectors): New function. Displays the infomation of | |
6558 | the selector given as argument, or of CS, DS ans FS selectors | |
6559 | if no argument is given. | |
6560 | ( _initialize_inftarg): Add "w32" as info prefix command. | |
6561 | Add "info w32 selector" as command calling display_selectors. | |
6562 | ||
e41e6bbf PM |
6563 | 2002-02-19 Pierre Muller <[email protected]> |
6564 | ||
6565 | * i386-tdep.c (get_longjmp_target): Fix compilation failure | |
6566 | by setting dummy values to JB_PC and JB_ELEMENT_SIZE | |
6567 | if not defined. | |
6568 | ||
0d3a9f48 RE |
6569 | 2002-02-18 Richard Earnshaw <[email protected]> |
6570 | ||
6571 | * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o. | |
6572 | ||
3fb4b924 RE |
6573 | 2002-02-18 Richard Earnshaw <[email protected]> |
6574 | ||
6575 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function. | |
6576 | (arm_fix_call_dummy): Call it. | |
6577 | (arm_call_dummy_breakpoint_offset): Delete. | |
6578 | (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset. | |
6579 | * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
6580 | ||
7f55af32 AC |
6581 | 2002-02-18 Andrew Cagney <[email protected]> |
6582 | ||
6583 | * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2. | |
6584 | Default to func_frame_chain_valid. | |
6585 | * gdbarch.h, gdbarch.c: Re-generate. | |
6586 | * frame.h (FRAME_CHAIN_VALID): Delete definition. | |
6587 | ||
05f13b9c EZ |
6588 | 2002-02-18 Elena Zannoni <[email protected]> |
6589 | ||
6590 | * ppc-linux-nat.c: Update copyright. | |
6591 | (fetch_register, store_register): Add tid parameter, don't compute | |
6592 | tid here. | |
6593 | (fetch_ppc_registers, store_ppc_registers): Add tid | |
6594 | parameter. Pass it along to callees. | |
6595 | (fetch_inferior_registers, store_inferior_registers): Compute tid | |
6596 | here, and pass it to calleed functions. | |
6597 | (fill_gregset, supply_fpregset): Clean up formatting. | |
6598 | ||
d7afb4c9 RE |
6599 | 2002-02-18 Richard Earnshaw <[email protected]> |
6600 | ||
6601 | * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double. | |
6602 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete. | |
6603 | ||
9df628e0 RE |
6604 | 2002-02-18 Richard Earnshaw <[email protected]> |
6605 | ||
6606 | * gdbarch.sh (GET_LONGJMP_TARGET): Add rule. | |
6607 | * gdbarch.c gdbarch.h: Regenerate. | |
6608 | * breakpoint.c (create_longjmp_breakpoint): Always compile this | |
6609 | function. | |
6610 | (breakpoint_reset): Test GET_LONGJMP_TARGET_P(). | |
6611 | * infrun.c (GET_LONGJMP_TARGET): Delete default definition. | |
6612 | (handle_inferior_event): Test GET_LONGJMP_TARGET_P(). | |
6613 | ||
6614 | * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields. | |
6615 | * arm-tdep.c (arm_get_longjmp_target): New function. | |
6616 | (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes | |
6617 | this to a positive value register arm_get_longjmp_target as the | |
6618 | longjmp handler. | |
6619 | * arm-linux-tdep.c (arm_get_longjmp_target): Delete. | |
6620 | (arm_linux_init_abi): Set up longjmp description in tdep. | |
6621 | * armnbsd-nat.c (get_longjmp_target): Delete. | |
6622 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp | |
6623 | description in tdep. | |
6624 | * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete. | |
6625 | (get_longjmp_target): Delete declaration. | |
6626 | (GET_LONGJMP_TARGET): Delete. | |
6627 | * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration. | |
6628 | (GET_LONGJMP_TARGET): Delete. | |
6629 | ||
57bc8964 KB |
6630 | 2002-02-17 Kevin Buettner <[email protected]> |
6631 | ||
6632 | From Peter Schauer <[email protected]>: | |
6633 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use | |
6634 | of ``current_gdbarch''. | |
6635 | ||
83d31a92 TT |
6636 | 2002-02-17 Tom Tromey <[email protected]> |
6637 | ||
6638 | * cli/cli-cmds.c (compare_strings): New function. | |
6639 | (complete_command): Only print each unique item once. | |
6640 | * completer.h (complete_line): Declare. | |
6641 | * completer.c (complete_line): New function. | |
6642 | (line_completion_function): Use it. | |
6643 | ||
17ef5d92 AC |
6644 | 2002-02-16 Andrew Cagney <[email protected]> |
6645 | ||
6646 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64. | |
6647 | * gdbarch.h, gdbarch.c: Re-generate. | |
6648 | ||
491b8946 DJ |
6649 | 2002-02-16 Daniel Jacobowitz <[email protected]> |
6650 | ||
6651 | * valarith.c (value_x_unop): Fix decrement; support post-decrement. | |
6652 | ||
6653 | 2002-02-16 Daniel Jacobowitz <[email protected]> | |
6654 | ||
6655 | From Peter Schauer <[email protected]>: | |
6656 | * valops.c (value_arg_coerce): Don't take the address of a reference | |
6657 | to convert an argument to a reference. | |
6658 | ||
dfe7f3ac CF |
6659 | 2002-02-15 Christopher Faylor <[email protected]> |
6660 | ||
6661 | * win32-nat.c (get_image_name): New function. | |
6662 | (handle_load_dll): Use get_image_name function. | |
6663 | (get_child_debug_event): Avoid registering debug events until possibly | |
6664 | execed process is started. | |
6665 | (child_create_inferior): Allow invocation via shell so that command | |
6666 | line redirection, etc. works ok. | |
6667 | (_initialize_inftarg): Add new command: "set shell" to control whether | |
6668 | a shell is used to start a process. | |
6669 | ||
1d33e73a DJ |
6670 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
6671 | ||
6672 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno | |
6673 | instead of find_register_by_number. | |
6674 | (cannot_store_register): Likewise. | |
6675 | ||
48cd0caa PM |
6676 | 2002-02-14 Pierre Muller <[email protected]> |
6677 | ||
aaa38bb5 | 6678 | * dwarf2read.c: Replace fprintf (stderr, ...) by |
48cd0caa PM |
6679 | fprintf_unfiltered (gdb_stderr, ...). |
6680 | ||
8656e7d8 DJ |
6681 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
6682 | ||
6683 | * gdbserver/gdbserver.1: Document --attach. | |
6684 | ||
66e810cd RE |
6685 | 2002-02-15 Richard Earnshaw <[email protected]> |
6686 | ||
6687 | * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint | |
6688 | descriptions. | |
6689 | * arm-tdep.c (arm_default_arm_le_breakpoint) | |
6690 | (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) | |
6691 | (arm_default_thumb_be_breakpoint): New. Initialize them from | |
6692 | traditional breakpoint defines. | |
6693 | (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. | |
6694 | (arm_gdbarch_init): Initialize new breakpoint variables. | |
6695 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. | |
6696 | (arm_linux_init_abi): Initialize linux-specific breakpoint. | |
6697 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. | |
6698 | (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common | |
6699 | code out to ... | |
6700 | (arm_netbsd_init_abi_common): ... here; new function. | |
6701 | * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) | |
6702 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. | |
6703 | * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. | |
6704 | * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete. | |
6705 | ||
97e03143 RE |
6706 | 2002-02-15 Richard Earnshaw <[email protected]> |
6707 | ||
6708 | * arm-tdep.h (enum arm_abi): New enum. | |
6709 | (struct gdbarch_tdep): New structure. | |
6710 | (LOWEST_PC): Provide a default. | |
6711 | (arm_gdbarch_register_os_abi): Declare new function. | |
6712 | * arm-tdep.c (arm_abi_names): New array. | |
6713 | (process_note_abi_tag_sections): New function. | |
6714 | (get_elfosabi): New function. | |
6715 | (arm_gdbarch_register_os_abi): New function. | |
6716 | (arm_gdbarch_init): Try to determine the ABI of the inferior. If | |
6717 | support for that ABI has been built in, then call the appropriate | |
6718 | configuration routine. Use gdbarch_num_regs() to get the number | |
6719 | of registers. | |
6720 | (arm_dump_tdep): New function. | |
6721 | (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New | |
6722 | place-holder functions. | |
6723 | (_initialize_arm_tdep): Register them. | |
6724 | * config/arm/tm-arm.h (LOWEST_PC): Delete. | |
6725 | ||
6726 | * armnbsd-tdep.c: New file. | |
6727 | * Makefile.in (armnbsd-tdep.o): Add dependencies. | |
6728 | * config/arm/nbsd.mt (TDEPFILES): Add it. | |
6729 | * config/arm/tm-nbsd.h (LOWEST_PC): Delete. | |
6730 | ||
6731 | * armnbsd-nat.c: Include regcache.h. | |
6732 | * Makefile.in (armnbsd-nat.o): Update dependency list. | |
6733 | ||
6734 | * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message. | |
6735 | ||
ad68be46 DJ |
6736 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
6737 | ||
6738 | * gdbserver/Makefile.in: Fix typos in target rules. | |
6739 | ||
003d6d1d DJ |
6740 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
6741 | ||
aaa38bb5 | 6742 | Fix part of PR gdb/267. |
003d6d1d DJ |
6743 | * linespec.c (find_methods): Handle constructors specially for now. |
6744 | ||
6b230f1b CV |
6745 | 2002-02-14 Corinna Vinschen <[email protected]> |
6746 | ||
6747 | * arm-tdep.c (arm_push_arguments): Eliminate special float type | |
6748 | handling. | |
6749 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call | |
6750 | standard_coerce_float_to_double(). | |
6751 | ||
1ea98d12 CF |
6752 | 2002-02-14 Christopher Faylor <[email protected]> |
6753 | ||
6754 | * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of | |
6755 | GDBINIT_FILENAME. | |
6756 | ||
dd47e6fd EZ |
6757 | 2002-02-14 Elena Zannoni <[email protected]> |
6758 | ||
6759 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't call | |
6760 | find_variant_by_name, because it confuses the multiarch | |
6761 | framework. Return NULL if there isn't an architecture with the | |
6762 | user supplied name, instead of forcing a different one without | |
6763 | recording the change with the multiarch machinery. | |
6764 | (find_variant_by_name): Delete. | |
6765 | ||
d7e39b9e PS |
6766 | 2002-02-14 Peter Schauer <[email protected]> |
6767 | ||
6768 | * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by | |
6769 | i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore. | |
6770 | ||
76e42a4f MH |
6771 | 2002-02-13 Martin M. Hunt <[email protected]> |
6772 | ||
aaa38bb5 | 6773 | * stack.c (print_frame_info_base): When calling |
76e42a4f MH |
6774 | print_frame_info_listing_hook, set current_source_symtab. |
6775 | ||
0a30fbc4 DJ |
6776 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
6777 | ||
6778 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, | |
6779 | and remove unused $(INCLUDE_DIR). | |
6780 | Add regcache.c to OBS. | |
6781 | Add generated register protocol files to clean target. | |
6782 | Update dependencies for new objects, obsolete old target code. | |
6783 | ||
6784 | * gdbserver/linux-low.c: Remove all platform-specific code to | |
6785 | new files. Remove various dead code. Update to use regcache | |
6786 | functionality. | |
6787 | * gdbserver/remote-utils.c (fromhex): Add return statement | |
6788 | to quiet warning. | |
6789 | (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer | |
6790 | constant. | |
6791 | (input_interrupt): Add integer parameter to match prototype | |
6792 | of a signal handler. | |
6793 | (outreg): Use register_data (). | |
6794 | (prepare_resume_reply): Use gdbserver_expedite_regs. | |
6795 | * gdbserver/server.c (main): Dynamically allocate own_buf because | |
6796 | PBUFSIZ is no longer constant. Use registers_to_string () and | |
6797 | registers_from_string (). | |
6798 | * gdbserver/server.h: No longer include "defs.h". Add prototypes | |
6799 | for error (), fatal (), and warning (). Update definition of | |
6800 | PBUFSIZ to use regcache functionality. Add include guard. | |
6801 | * gdbserver/utils.c (fatal): Add missing ``const''. | |
6802 | (warning): New function. | |
6803 | ||
6804 | * regformats/regdat.sh: Include "regcache.h" in generated files. | |
6805 | Provide init_registers () function. | |
6806 | * regformats/regdef.h: Add prototype for set_register_cache (). | |
6807 | Add include guard. | |
6808 | ||
6809 | * gdbserver/linux-arm-low.c: New file. | |
6810 | * gdbserver/linux-i386-low.c: New file. | |
6811 | * gdbserver/linux-ia64-low.c: New file. | |
6812 | * gdbserver/linux-m68k-low.c: New file. | |
6813 | * gdbserver/linux-mips-low.c: New file. | |
6814 | * gdbserver/linux-ppc-low.c: New file. | |
6815 | * gdbserver/linux-sh-low.c: New file. | |
6816 | ||
6817 | * gdbserver/regcache.c: New file. | |
6818 | * gdbserver/regcache.h: New file. | |
6819 | ||
6820 | * gdbserver/low-linux.c: Removed obsolete file. | |
6821 | ||
4cc841d0 DJ |
6822 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
6823 | ||
6824 | * config/arm/linux.mt: Update GDBSERVER_DEPFILES. | |
6825 | * config/i386/linux.mt: Likewise. | |
6826 | * config/ia64/linux.mt: Likewise. | |
6827 | * config/m68k/linux.mh: Likewise. | |
6828 | * config/powerpc/linux.mh: Likewise. | |
6829 | * config/mips/linux.mt: Likewise. | |
6830 | ||
6831 | * config/sh/linux.mt: Add GDBSERVER_DEPFILES. | |
6832 | ||
6833 | * config/i386/i386lynx.mh: Mark gdbserver variables | |
6834 | as (currently) obsolete for this target. | |
6835 | * config/i386/nbsd.mt: Likewise. | |
6836 | * config/i386/nbsdelf.mt: Likewise. | |
6837 | * config/m32r/m32r.mt: Likewise. | |
6838 | * config/m68k/m68klynx.mh: Likewise. | |
6839 | * config/m68k/nbsd.mt: Likewise. | |
6840 | * config/m68k/sun3os4.mh: Likewise. | |
6841 | * config/mips/vr5000.mt: Likewise. | |
6842 | * config/ns32k/nbsd.mt: Likewise. | |
6843 | * config/pa/hppabsd.mh: Likewise. | |
6844 | * config/pa/hppaosf.mh: Likewise. | |
6845 | * config/powerpc/nbsd.mt: Likewise. | |
6846 | * config/rs6000/rs6000lynx.mh: Likewise. | |
6847 | * config/s390/s390.mt: Likewise. | |
6848 | * config/s390/s390x.mt: Likewise. | |
6849 | * config/sparc/sparclynx.mh: Likewise. | |
6850 | * config/sparc/sun4os4.mh: Likewise. | |
6851 | * config/i386/x86-64linux.mt: Likewise. | |
6852 | * config/sparc/linux.mh: Likewise. | |
6853 | ||
a85f51e7 DJ |
6854 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
6855 | ||
6856 | * configure.tgt: Configure gdbserver only for known working | |
6857 | targets. Set ${build_gdbserver} instead of modifying ${configdirs}. | |
6858 | * configure.in: Check ${build_gdbserver}. Put gdbserver/ into | |
6859 | SUBDIRS if it is configured. Update comment for ${nativefile}. | |
6860 | * configure: Regenerated. | |
6861 | ||
65554fef MS |
6862 | 2002-02-13 Michael Snyder <[email protected]> |
6863 | ||
670a52db MS |
6864 | * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES. |
6865 | ||
6dbdc4a3 MS |
6866 | * gcore.c (gcore_command): Use gcore_default_target instead of NULL. |
6867 | (default_gcore_mach): Just return 0, work around a problem in bfd. | |
6868 | (default_gcore_target): OK to return NULL if exec_bfd is null. | |
6869 | (make_mem_sec): Use a cast, avoid a warning. | |
6870 | ||
6871 | * procfs.c (find_memory_regions_callback): Use a cast instead of | |
aaa38bb5 | 6872 | calling host_pointer_to_address (which complains if |
6dbdc4a3 MS |
6873 | sizeof (host pointer) != sizeof (target pointer)). |
6874 | (procfs_make_note_section): Avoid overflow in psargs string. | |
6875 | ||
aaa38bb5 | 6876 | * procfs.c (procfs_make_note_section): Make the default |
65554fef MS |
6877 | implementation return an error. |
6878 | ||
6879 | 2002-02-13 Rodney Brown <[email protected]> | |
6880 | ||
6881 | * procfs.c (procfs_make_note_section): Provide a default definition | |
6882 | (for alpha-dec-osf4.0f). Fix typos. | |
6883 | ||
1e4d76e7 EZ |
6884 | 2002-02-13 Elena Zannoni <[email protected]> |
6885 | ||
6886 | * linux-proc.c: Add include of regcache.h. | |
6887 | * Makefile.in (linux-proc.o): Add dependency on regcache.h. | |
6888 | ||
b6d1a1d5 AC |
6889 | 2002-02-13 Andrew Cagney <[email protected]> |
6890 | ||
6891 | From 2002-01-18 Greg McGary <[email protected]>: | |
aaa38bb5 AJ |
6892 | * memattr.c (create_mem_region): Disallow useless empty region. |
6893 | Regions are half-open intervals, so allow [A..B) [B..C) as | |
65554fef | 6894 | non-overlapping. |
b6d1a1d5 | 6895 | |
6c6ea35e MC |
6896 | 2002-02-13 Michael Chastain <[email protected]> |
6897 | ||
6898 | * defs.h: Kill CONST_PTR. | |
6899 | * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". | |
6900 | * c-lang.c (c_builtin_types): Likewise. | |
6901 | * ch-lang.c (ch_builtin_types): Likewise. | |
6902 | * f-lang.c (f_builtin_types): Likewise. | |
6903 | * language.c (unknown_builtin_types): Likewise. | |
6904 | * m2-lang.c (m2_builtin_types): Likewise. | |
6905 | * p-lang.c (pascal_builtin_types): Likewise. | |
6906 | * scm-lang.c (c_builtin_types): Likewise. | |
6907 | ||
3e0b0f48 KS |
6908 | 2002-02-13 Keith Seitz <[email protected]> |
6909 | ||
6910 | * arm-tdep.h (arm_get_next_pc): Add declaration. | |
6911 | ||
67255d04 RE |
6912 | 2002-02-13 Richard Earnshaw <[email protected]> |
6913 | ||
6914 | * arm-tdep.c (arm_use_struct_convention): Make static. Move to be | |
6915 | with other related struct-returning functions. | |
6916 | (arm_extract_struct_value_address): New function. | |
6917 | (arm_gdbarch_init): Initialize the above in multi-arch vector. Also | |
6918 | initialize float_format, double_format and long_double_format as | |
6919 | appropriate to the endianness of the target. | |
6920 | * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. | |
6921 | (arm_use_struct_convention): Delete declaration. | |
6922 | (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete. | |
6923 | ||
079777f6 KS |
6924 | 2002-02-13 Keith Seitz <[email protected]> |
6925 | ||
6926 | * defs.h (core_addr_to_string_nz): New function. | |
6927 | ||
34588f23 MK |
6928 | 2002-02-13 Mark Kettenis <[email protected]> |
6929 | ||
6930 | Apply missing bits of 2002-01-15 patch. | |
6931 | * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave. | |
6932 | (fill_fpregset): Use i387_fill_fsave. | |
6933 | ||
49b563f9 KS |
6934 | 2002-02-12 Keith Seitz <[email protected]> |
6935 | ||
49b563f9 KS |
6936 | * utils.c (core_addr_to_string): Use phex instead of phex_nz. |
6937 | (core_addr_to_string_nz): New function. | |
6938 | ||
aeb98c60 RE |
6939 | 2002-02-11 Richard Earnshaw <[email protected]> |
6940 | ||
6941 | * arm-linux-nat.c: Really include arm-tdep.h. | |
6942 | * config/arm/tm-linux.h (struct type, struct value): Declare. | |
6943 | ||
65554fef MS |
6944 | 2002-02-11 Michael Snyder <[email protected]> |
6945 | ||
6946 | * procfs.c: Include elf-bfd.h (for elfcore_write functions). | |
6947 | (gcore section): Ifdef for Solaris and Unixware only. | |
6948 | (procfs_do_thread_registers): Unixware needs one lwpstatus | |
6949 | per thread (not one prstatus or pstatus). | |
6950 | (procfs_make_note_section): Iterate only over kernel threads (lwps), | |
6951 | not over all gdb threads. For unixware, call elfcore_write_pstatus | |
6952 | once before iterating over threads. | |
6953 | ||
34e8f22d RE |
6954 | 2002-02-11 Richard Earnshaw <[email protected]> |
6955 | ||
6956 | * arm-tdep.h: New file. | |
6957 | * arm-tdep.c: Include arm-tdep.h. | |
6958 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
6959 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
6960 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
6961 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
6962 | (arm_extract_return_value, arm_register_name): Make static. | |
6963 | (arm_software_single_step): Similarly. Fix types in declaration. | |
6964 | (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) | |
6965 | (arm_store_return_value, arm_store_struct_return): New functions. | |
6966 | (arm_gdbarch_init): Register the above functions. Also register | |
6967 | call_dummy_start_offset, sizeof_call_dummy_words, | |
6968 | function_start_offset, inner_than, decr_pc_after_break, fp_regnum, | |
6969 | sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, | |
aaa38bb5 | 6970 | max_register_virtual_size, register_size. Set up |
34e8f22d RE |
6971 | prologue_cache.saved_regs here, rather than ... |
6972 | (_initialize_arm_tdep): ... here. | |
6973 | * config/arm/tm-arm.h (struct type, struct value): Delete forward | |
6974 | declarations. | |
6975 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
6976 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
6977 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
6978 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
6979 | (arm_extract_return_value, arm_register_name): Delete declarations. | |
6980 | (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) | |
6981 | (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) | |
6982 | (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) | |
6983 | (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) | |
6984 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
6985 | (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) | |
6986 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) | |
6987 | (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) | |
6988 | (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) | |
6989 | (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. | |
6990 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) | |
6991 | (arm_get_next_pc): No-longer static -- these are needed by the RDI | |
6992 | interface. | |
6993 | * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. | |
6994 | * remote-rdi.c remote-rdp.c: Likewise. | |
6995 | * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) | |
6996 | (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. | |
6997 | * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus | |
6998 | definition. | |
6999 | ||
7000 | * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) | |
7001 | (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) | |
7002 | (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed | |
7003 | from non-ARM_ prefixed definitions. | |
7004 | * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update | |
7005 | all uses of above. | |
7006 | * remote-rdi.c remote-rdp.c: Likewise. | |
7007 | * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM. | |
7008 | ||
148754e5 RE |
7009 | 2002-02-11 Richard Earnshaw <[email protected]> |
7010 | ||
7011 | * arm-tdep.c (arm_frameless_function_invocation) | |
7012 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
7013 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
7014 | (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
7015 | (arm_pop_frame, arm_get_next_pc): Make static. | |
7016 | (arm_gdbarch_init): Register above in gdbarch structure. | |
7017 | (arm_read_fp): Renamed from arm_target_read_fp. | |
7018 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. | |
7019 | * config/arm/tm-arm.h (arm_frameless_function_invocation) | |
7020 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
7021 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
7022 | (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
7023 | (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) | |
7024 | (arm_pc_is_thumb_dummy): Delete declarations. | |
fcfb8836 RE |
7025 | (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN) |
7026 | (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS) | |
7027 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP) | |
7028 | (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete. | |
148754e5 | 7029 | |
434d2d4f DJ |
7030 | 2002-02-10 Daniel Jacobowitz <[email protected]> |
7031 | ||
7032 | * symtab.c (compare_search_syms): New function. | |
7033 | (sort_search_symbols): New function. | |
7034 | (search_symbols): Sort symbols after searching rather than | |
7035 | before. | |
7036 | ||
55241689 AC |
7037 | 2002-02-10 Andrew Cagney <[email protected]> |
7038 | ||
7039 | * NEWS: Linux -> GNU/Linux. | |
7040 | ||
028c194b AC |
7041 | 2002-02-10 Andrew Cagney <[email protected]> |
7042 | ||
7043 | * gdbarch.sh: For for level one methods, disallow a definition | |
7044 | when partially multi-arched. Add comments explaining rationale. | |
7045 | * gdbarch.h: Re-generate. | |
7046 | ||
6acf50cd AC |
7047 | 2002-02-10 Andrew Cagney <[email protected]> |
7048 | ||
7049 | * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when | |
7050 | multi-arch partial. | |
aaa38bb5 | 7051 | |
50248794 AC |
7052 | 2002-02-10 Andrew Cagney <[email protected]> |
7053 | ||
7054 | * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad | |
7055 | field. Use diff -u. | |
7056 | * gdbarch.c: Re-generate. | |
7057 | ||
c30e0066 AC |
7058 | 2002-02-10 Andrew Cagney <[email protected]> |
7059 | ||
9b56c5f3 | 7060 | * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete. |
c30e0066 AC |
7061 | * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch |
7062 | partial. | |
7063 | ||
6e6d6484 AC |
7064 | 2002-02-10 Andrew Cagney <[email protected]> |
7065 | ||
7066 | * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when | |
7067 | multi-arch partial. | |
7068 | (PUSH_ARGUMENTS): Switch to using predefault. | |
7069 | * gdbarch.c: Regenerate. | |
7070 | ||
c203844d AC |
7071 | 2002-02-10 Andrew Cagney <[email protected]> |
7072 | ||
7073 | * valops.c (PUSH_ARGUMENTS): Delete definition. | |
7074 | * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch | |
7075 | partial. Default to default_push_arguments. | |
7076 | * gdbarch.h, gdbarch.c: Regenerate. | |
7077 | ||
b5a2688f AC |
7078 | 2002-02-09 Andrew Cagney <[email protected]> |
7079 | ||
7080 | * defs.h (throw_exception): Rename return_to_top_level. Update | |
7081 | comments. | |
7082 | * utils.c (error_stream, internal_verror, quit): Ditto. | |
7083 | * top.c (throw_exception, catcher): Ditto. | |
7084 | * sparclet-rom.c (sparclet_load): Ditto. | |
7085 | * remote.c (interrupt_query, minitelnet): Ditto. | |
7086 | * remote-sds.c (interrupt_query): Ditto. | |
7087 | * remote-mips.c (mips_error, mips_kill): Ditto. | |
7088 | * ocd.c (interrupt_query): Ditto. | |
7089 | * monitor.c (monitor_interrupt_query): Ditto. | |
7090 | * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. | |
7091 | * target.h: Update comment. | |
aaa38bb5 | 7092 | |
b5a2688f | 7093 | * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright. |
aaa38bb5 | 7094 | |
2fa5c1e0 AC |
7095 | 2002-02-09 Andrew Cagney <[email protected]> |
7096 | ||
7097 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to | |
7098 | default_double_format. | |
7099 | * gdbarch.h, gdbarch.c: Re-generate. | |
7100 | * findvar.c (floatformat_unknown): Delete variable definition. | |
7101 | * doublest.h (floatformat_unknown): Delete variable declaration. | |
7102 | ||
da966255 JB |
7103 | 2002-02-09 Jim Blandy <[email protected]> |
7104 | ||
7105 | * stabsread.c (read_type): Add code to parse Sun's syntax for | |
7106 | prototyped function types. | |
7107 | ||
123a4891 AC |
7108 | 2002-02-09 Andrew Cagney <[email protected]> |
7109 | ||
7110 | * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS. | |
7111 | (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS. | |
7112 | ||
fb39c8f3 PS |
7113 | 2002-02-09 Peter Schauer <[email protected]> |
7114 | ||
7115 | * xcoffsolib.c (_initialize_xcoffsolib): Renamed from | |
7116 | _initialize_solib. Fixes name clash with solib.c:_initialize_solib, | |
7117 | now _initialize_xcoffsolib gets called again and overrides the | |
7118 | commands from solib.c in a native configuration. | |
7119 | ||
0b87a11d MK |
7120 | 2002-02-09 Mark Kettenis <[email protected]> |
7121 | ||
7122 | * doublest.c (store_typed_floating): Don't try to return a value. | |
7123 | Fixes PR gdb/290. | |
7124 | ||
bdc2fc72 JB |
7125 | 2002-02-08 Jim Blandy <[email protected]> |
7126 | ||
7127 | * c-typeprint.c (c_type_print_varspec_suffix): If a function type | |
7128 | is prototyped and has no arguments, print its argument list as | |
7129 | `(void)'. | |
7130 | ||
da69bbcf CD |
7131 | 2002-02-08 Chris Demetriou <[email protected]> |
7132 | ||
7133 | * MAINTAINERS (write-after-approval): Add myself. | |
7134 | (paper-trail): I've escaped! | |
aaa38bb5 | 7135 | |
b69571f5 CF |
7136 | 2002-02-08 Christopher Faylor <[email protected]> |
7137 | ||
7138 | * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf | |
7139 | changes. | |
7140 | (_initialize_check_for_gdb_ini): Ditto. | |
7141 | ||
f6871398 MH |
7142 | 2002-02-08 Martin M. Hunt <[email protected]> |
7143 | ||
7144 | * win32-nat.c (cygwin_pid_to_str): Fix typo. | |
7145 | xaprintf -> xasprintf. | |
7146 | ||
4e52d31c PM |
7147 | 2002-02-08 Pierre Muller <[email protected]> |
7148 | ||
7149 | * win32-nat.c: Remove use of printf and sprintf functions. | |
7150 | ||
39bbf761 RE |
7151 | 2002-02-08 Richard Earnshaw <[email protected]> |
7152 | ||
7153 | * arm-tdep.c (arm_frame_chain_valid): Make static. | |
7154 | (arm_push_arguments): Likewise. | |
7155 | (arm_gdbarch_init): New function. | |
7156 | (_initialize_arm_tdep): Call it. | |
7157 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. | |
7158 | (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. | |
7159 | (FRAME_CHAIN_VALID): Delete. | |
7160 | (arm_frame_chain_valid): Delete declaration. | |
7161 | (PUSH_ARGUMENTS): Delete. | |
7162 | (arm_push_arguments): Delete declaration. | |
7163 | (CALL_DUMMY_P): Delete. | |
7164 | ||
9c9532c9 CV |
7165 | 2002-02-08 Andrew Cagney <[email protected]> |
7166 | Corinna Vinschen <[email protected]> | |
7167 | ||
7168 | * gdbtypes.c (build_gdbtypes): Disable setting a specific float format | |
7169 | on builtin float types. | |
7170 | ||
4e8f7a8b DJ |
7171 | 2002-02-08 Daniel Jacobowitz <[email protected]> |
7172 | ||
7173 | * utils.c: Include <curses.h> before "bfd.h". | |
7174 | * tui/tui-hooks.c: Likewise. | |
7175 | * tui/tui.c: Likewise. | |
7176 | * tui/tuiCommand.c: Likewise. | |
7177 | * tui/tuiData.c: Likewise. | |
7178 | * tui/tuiDataWin.c: Likewise. | |
7179 | * tui/tuiDisassem.c: Likewise. | |
7180 | * tui/tuiGeneralWin.c: Likewise. | |
7181 | * tui/tuiIO.c: Likewise. | |
7182 | * tui/tuiLayout.c: Likewise. | |
7183 | * tui/tuiRegs.c: Likewise. | |
7184 | * tui/tuiSource.c: Likewise. | |
7185 | * tui/tuiSourceWin.c: Likewise. | |
7186 | * tui/tuiStack.c: Likewise. | |
7187 | * tui/tuiWin.c: Likewise. | |
7188 | ||
cd4bffcf EZ |
7189 | 2002-02-07 Elena Zannoni <[email protected]> |
7190 | ||
7191 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array | |
7192 | to include space for pseudoregs as well. Update loops accordingly. | |
7193 | (sh_fp_frame_init_saved_regs): Ditto. | |
7194 | (sh_init_extra_frame_info, sh_pop_frame): Split long lines. | |
7195 | ||
26806ce2 AC |
7196 | 2002-02-07 Andrew Cagney <[email protected]> |
7197 | ||
7198 | * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer. | |
7199 | Add Richard Earnshaw to Arm maintainers. | |
7200 | ||
97fdab62 AC |
7201 | 2002-02-07 Andrew Cagney <[email protected]> |
7202 | ||
a6b98203 AC |
7203 | * defs.h (warning_begin): Delete declaration. |
7204 | ||
97fdab62 AC |
7205 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): |
7206 | Delete macro. | |
7207 | ||
78b29b40 MS |
7208 | 2002-02-07 Michael Snyder <[email protected]> |
7209 | ||
aaa38bb5 | 7210 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
78b29b40 MS |
7211 | Logic bug, remove misplaced else. |
7212 | ||
d8849953 KD |
7213 | 2002-02-07 Klee Dienes <[email protected]> |
7214 | ||
7215 | * fork-inferior.c (fork_inferior): Add '!' to the list of | |
7216 | characters that need to be quoted when building a string for the | |
7217 | shell. Quote '!' specifically with a backslash, since CSH chokes | |
7218 | when trying to evaluate "str!str". | |
aaa38bb5 | 7219 | |
095778a0 NC |
7220 | 2002-02-06 Nick Clifton <[email protected]> |
7221 | ||
7222 | * rdi-share/host.h: Only provide a typedef for bool if it is not | |
7223 | defined. | |
7224 | ||
1900040c MS |
7225 | 2002-02-04 Michael Snyder <[email protected]> |
7226 | ||
7227 | * breakpoint.h (enum bptype): Add new overlay event bp type. | |
7228 | (enable_overlay_breakpoints, disable_overlay_breakpoints): Export. | |
aaa38bb5 | 7229 | |
1900040c MS |
7230 | * breakpoint.c (create_internal_breakpoint): New function. |
7231 | (internal_breakpoint_number): Moved into create_internal_breakpoint. | |
7232 | (create_longjmp_breakpoint): Use create_internal_breakpoint. | |
7233 | (create_thread_event_breakpoint): Ditto. | |
7234 | (create_solib_event_breakpoint): Ditto. | |
7235 | (create_overlay_event_breakpoint): New function. | |
7236 | (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs. | |
7237 | (update_breakpoints_after_exec): Delete and re-initialize | |
7238 | overlay event breakpoints after an exec. Add FIXME comment | |
7239 | about longjmp breakpoint. | |
7240 | (print_it_typical): Ignore overlay event breakpoints. | |
7241 | (print_one_breakpoint): Ditto. | |
7242 | (mention): Ditto. | |
7243 | (bpstat_what): Do not stop for overlay event breakpoints. | |
7244 | (delete_breakpoint): Don't delete overlay event breakpoints. | |
7245 | (breakpoint_re_set_one): Delete the overlay event breakpoint. | |
7246 | (breakpoint_re_set): Re-create overlay event breakpoint. | |
7247 | ||
7248 | * symfile.c (overlay_auto_command): Enable overlay breakpoints. | |
7249 | (overlay_manual_command): Disable overlay breakpoints. | |
7250 | (overlay_off_command): Disable overlay breakpoints. | |
7251 | ||
082fc60d RE |
7252 | 2002-02-06 Richard Earnshaw <[email protected]> |
7253 | ||
7254 | * arm-tdep.c: Include elf-bfd.h and coff/internal.h. | |
7255 | (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines | |
7256 | to here from config/tm-arm.h. | |
7257 | (coff_sym_is_thumb): Make static. | |
7258 | (arm_elf_make_msymbol_special): New function. | |
7259 | (arm_coff_make_msymbol_special): New function. | |
7260 | * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. | |
7261 | (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. | |
7262 | (coff_sym_is_thumb): Delete declaration. | |
7263 | (arm_elf_make_msymbol_special): Declare. | |
7264 | (arm_coff_make_msymbol_special): Declare. | |
7265 | (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. | |
7266 | (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special. | |
7267 | ||
039c5766 RE |
7268 | 2002-02-06 Richard Earnshaw <[email protected]> |
7269 | ||
7270 | * arm-tdep.c (arm_software_single_step): ANSIfy function declaration. | |
7271 | ||
7272 | 2002-02-06 Richard Earnshaw <[email protected]> | |
7273 | ||
7274 | * gdbarch.sh (PRINT_FLOAT_INFO): Add rule. | |
7275 | * gdbarch.c gdbarch.h: Regenerate. | |
7276 | * arch-utils.c (default_print_float_info): New function. | |
7277 | * arch-utils.h (default_print_float_info): Prototype it. | |
7278 | * infcmd.c (float_info): Call PRINT_FLOAT_INFO. | |
7279 | * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. | |
7280 | (PRINT_FLOAT_INFO): Document it. | |
7281 | ||
7282 | * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. | |
7283 | * config/arm/tm-arm.h (FLOAT_INFO): Delete. | |
7284 | (PRINT_FLOAT_INFO): Define. | |
7285 | ||
58fa08f0 PM |
7286 | 2002-02-06 Pierre Muller <[email protected]> |
7287 | ||
aaa38bb5 | 7288 | * win32-nat.c (_initialize_check_for_gdb_ini): |
58fa08f0 PM |
7289 | Add typecast to sprintf argument to suppress a warning. |
7290 | ||
7393af7c PM |
7291 | 2002-02-05 Pierre Muller <[email protected]> |
7292 | ||
58fa08f0 | 7293 | * win32-nat.c (last_sig): Changed type of variable to target_signal, |
7393af7c PM |
7294 | to allow easier handling of pass state. |
7295 | (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception, | |
7296 | that gives exception name and address. | |
7297 | (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro | |
aaa38bb5 | 7298 | and set last_sig value to ourstatus->value.sig. Some missing |
7393af7c | 7299 | exceptions added. |
aaa38bb5 AJ |
7300 | (child_continue): Correctly report continue_status. |
7301 | (get_child_debug_event,do_initial_child_stuff): Set last_sig to | |
7393af7c | 7302 | TARGET_SIGNAL_0 (new default value). |
aaa38bb5 | 7303 | (child_resume): consider sig argument passed to decide if |
7393af7c PM |
7304 | the exception should be passed to debuggee or not. |
7305 | ||
6af4589c MS |
7306 | 2002-02-05 Michael Snyder <[email protected]> |
7307 | ||
7308 | * regcache.c (fetch_register): Call target_fetch_register | |
7309 | only if we don't call FETCH_PSEUDO_REGISTER. | |
7310 | (store_register): Call target_store_register only if we | |
7311 | don't call STORE_PSEUDO_REGISTER. | |
7312 | ||
a2cf933a EZ |
7313 | 2002-02-05 Elena Zannoni <[email protected]> |
7314 | ||
7315 | * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and | |
7316 | ELF_MAKE_MSYMBOL_SPECIAL. | |
7317 | * gdbarch.c, gdbarch.h: Regenerate. | |
7318 | * arch-utils.c (default_make_msymbol_special): New function. | |
aaa38bb5 | 7319 | * arch-utils.h (default_make_msymbol_special): Export. |
a2cf933a EZ |
7320 | * elfread.c (elf_symtab_read): Compile use of |
7321 | ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now | |
7322 | multiarched. | |
7323 | * coffread.c (coff_symtab_read): Ditto, for | |
7324 | COFF_MAKE_MSYMBOL_SPECIAL. | |
7325 | ||
6bb7be43 JB |
7326 | 2002-02-05 Jim Blandy <[email protected]> |
7327 | ||
7328 | * solib-svr4.c (svr4_truncate_ptr): New function. | |
7329 | (svr4_relocate_section_addresses): Do the address arithmetic with | |
7330 | the appropriate truncation for target addresses, even when | |
7331 | CORE_ADDR is larger than a target address. | |
7332 | ||
e18651ec DJ |
7333 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7334 | ||
7335 | * gdbserver/linux-low.c (mywait): Cast second argument of waitpid | |
7336 | to (int *). | |
7337 | ||
6b2725be DJ |
7338 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7339 | ||
7340 | * gdbserver/linux-low.c (kill_inferior): Remove commented out | |
7341 | code. | |
7342 | ||
fca9e603 DJ |
7343 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7344 | ||
7345 | * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX. | |
7346 | ||
6c537a52 DJ |
7347 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7348 | ||
7349 | * gdbserver/linux-low.c: Remove unused include files. | |
7350 | ||
d844cde6 DJ |
7351 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7352 | ||
7353 | * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. | |
7354 | (read_inferior_memory): Use it. | |
7355 | (write_inferior_memory): Likewise. | |
7356 | ||
d07c63e7 DJ |
7357 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7358 | ||
7359 | * gdbserver/linux-low.c (create_inferior): Call strerror instead of | |
7360 | grubbing through sys_errlist. | |
7361 | ||
da6d8c04 DJ |
7362 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7363 | ||
7364 | * gdbserver/linux-low.c: New file, copied exactly from low-linux.c. | |
7365 | ||
5b421780 PM |
7366 | 2002-02-04 Pierre Muller <[email protected]> |
7367 | * win32-nat.c (handle_exception): Handle Ctrl-Break exception. | |
7368 | ||
9f60d481 AC |
7369 | 2002-02-04 Andrew Cagney <[email protected]> |
7370 | ||
7371 | * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions. | |
7372 | (do_sfunc, set_cmd_sfunc): New functions. | |
7373 | ||
7374 | * command.h (struct cmd_list_element): Add field func. | |
7375 | * cli/cli-decode.h (struct cmd_list_element): Ditto. | |
7376 | * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. | |
7377 | * cli/cli-decode.h: Ditto. | |
7378 | ||
7379 | * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. | |
7380 | (help_all, help_cmd_list): Ditto. | |
7381 | (find_cmd, complete_on_cmdlist): Ditto. | |
7382 | * top.c (execute_command): Ditto. | |
7383 | ||
7384 | * cli/cli-setshow.c (do_setshow_command): Call func instead of | |
7385 | function.sfunc. | |
7386 | ||
7387 | * infcmd.c (notice_args_read): Fix function signature. | |
7388 | ||
7389 | * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. | |
7390 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
7391 | * utils.c (initialize_utils): Ditto. | |
7392 | * maint.c (_initialize_maint_cmds): Ditto. | |
7393 | * infrun.c (_initialize_infrun): Ditto. | |
7394 | * demangle.c (_initialize_demangler): Ditto. | |
7395 | * remote.c (add_packet_config_cmd): Ditto. | |
7396 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
7397 | * cris-tdep.c (_initialize_cris_tdep): Ditto. | |
7398 | * proc-api.c (_initialize_proc_api): Ditto. | |
7399 | * kod.c (_initialize_kod): Ditto. | |
7400 | * valprint.c (_initialize_valprint): Ditto. | |
7401 | * top.c (init_main): Ditto. | |
7402 | * infcmd.c (_initialize_infcmd): Ditto. | |
7403 | * corefile.c (_initialize_core): Ditto. | |
7404 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
7405 | * arch-utils.c (initialize_current_architecture): Ditto. | |
7406 | (_initialize_gdbarch_utils): Ditto. | |
7407 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
7408 | ||
7409 | * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. | |
7410 | * wince.c (_initialize_inftarg): Ditto. | |
7411 | * symfile.c (_initialize_symfile): Ditto. | |
7412 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
7413 | * language.c (_initialize_language): Ditto. | |
7414 | * arc-tdep.c (_initialize_arc_tdep): Ditto. | |
7415 | ||
f9ba0717 MS |
7416 | 2002-02-04 Michael Snyder <[email protected]> |
7417 | ||
7418 | * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. | |
7419 | ||
0c74b2a7 DJ |
7420 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
7421 | ||
7422 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. | |
7423 | Add rules for building the register data files. | |
7424 | ||
c638789f DJ |
7425 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
7426 | ||
7427 | * regformats/regdat.sh: Add braces to the definition of | |
7428 | expedite_regs_${arch}. | |
7429 | ||
db253027 DJ |
7430 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
7431 | ||
7432 | * regformats/regdef.h (struct reg): Add comment describing the | |
7433 | requirements for offset and size fields. | |
7434 | ||
206be19c AS |
7435 | 2002-02-04 Andreas Schwab <[email protected]> |
7436 | ||
7437 | * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. | |
7438 | * config/ia64/linux.mt: Don't set GDBSERVER_LIBS. | |
7439 | ||
181c1381 RE |
7440 | 2002-02-04 Richard Earnshaw <[email protected]> |
7441 | ||
7442 | * gdbarch.sh (copyright): Update years in generated header. | |
7443 | (SMASH_TEXT_ADDRESS): Add rule. | |
db253027 | 7444 | * gdbarch.h, gdbarch.c: Re-generate. |
181c1381 RE |
7445 | * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. |
7446 | * dbxread.c: Likewise. | |
7447 | * dwarfread.c: Likewise. | |
7448 | * elfread.c: Likewise. | |
7449 | * somread.c: Likewise. | |
7450 | ||
7451 | * arm-tdep.c (arm_smash_text_address): New function. | |
7452 | * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above. | |
7453 | ||
fa4ba8da PM |
7454 | 2002-02-04 Pierre Muller <[email protected]> |
7455 | ||
7456 | Add support for hardware watchpoints on win32 native. | |
aaa38bb5 | 7457 | * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of |
fa4ba8da | 7458 | CONTEXT_DEBUG_REGISTERS. |
aaa38bb5 | 7459 | (dr variable): New variable. Static array containing a local copy |
fa4ba8da PM |
7460 | of debug registers. |
7461 | (debug_registers_changed): New variable. Reflects when debug registers | |
7462 | are changed and need to be written to inferior. | |
aaa38bb5 | 7463 | (debug_registers_used): New variable. Reflects when any debug register |
fa4ba8da PM |
7464 | was set, used when new threads are created. |
7465 | (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by | |
7466 | i386-nat code. | |
7467 | (thread_rec): Set dr array if id is the thread of current_event . | |
7468 | (child_continue, child_resume): Change the debug registers for all | |
7469 | threads if debug_registers_changed. | |
7470 | (child_add_thread): Change the debug registers if debug_registers_used. | |
7471 | * config/i386/cygwin.mh: Add use of i386-nat.o file. | |
7472 | Link nm.h to new nm-cygwin.h file. | |
7473 | + config/i386/nm-cygwin.h: New file. Contains the macros used for use | |
7474 | of hardware registers. | |
7475 | ||
a73c86fb AC |
7476 | 2002-02-03 Andrew Cagney <[email protected]> |
7477 | ||
7478 | * valprint.c (print_floating): Allow non TYPE_CODE_FLT types. | |
7479 | Restore behavour broken by 2002-01-20 Andrew Cagney | |
7480 | <[email protected]> IEEE_FLOAT removal. | |
7481 | ||
acf5ed49 DJ |
7482 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
7483 | ||
7484 | * c-valprint.c (c_val_print): Pass a proper valaddr to | |
7485 | cp_print_class_method. | |
7486 | * valops.c (search_struct_method): If there is only one method | |
7487 | and args is NULL, return that method. | |
7488 | ||
493d28d5 DJ |
7489 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
7490 | ||
7491 | * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of | |
7492 | accessing tag_name directly. | |
7493 | ||
7495dfdb DJ |
7494 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
7495 | ||
7496 | * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead | |
7497 | of accessing tag_name directly. | |
7498 | ||
dd6bda65 DJ |
7499 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
7500 | ||
7501 | PR gdb/280 | |
7502 | * gdbtypes.c (replace_type): New function. | |
7503 | * gdbtypes.h (replace_type): Add prototype. | |
7504 | * stabsread.c (read_type): Use replace_type. | |
7505 | ||
88fe217c RE |
7506 | 2002-02-03 Richard Earnshaw <[email protected]> |
7507 | ||
7508 | * Makefile.in (memattr.o): Add missing dependencies rule. | |
7509 | ||
e5d66720 PS |
7510 | 2002-02-03 Peter Schauer <[email protected]> |
7511 | ||
7512 | * breakpoint.c (break_at_finish_command): Really export. | |
7513 | (break_at_finish_at_depth_command): Ditto. | |
7514 | (tbreak_at_finish_command): Ditto. | |
7515 | * hppa-tdep.c: Include completer.h. | |
7516 | * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). | |
7517 | (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o. | |
7518 | ||
fffee0be AC |
7519 | 2002-02-01 Andrew Cagney <[email protected]> |
7520 | ||
7521 | * utils.c (do_write): New function. | |
7522 | (error_stream): Rewrite combining the code from error_begin and | |
7523 | verror. | |
7524 | (verror): Rewrite using error_stream. | |
7525 | (error_begin): Delete function. | |
7526 | ||
255e7dbf AC |
7527 | 2002-02-01 Andrew Cagney <[email protected]> |
7528 | ||
7529 | * utils.c (error_begin): Make static. | |
7530 | * defs.h (error_begin): Delete declaration. | |
7531 | ||
7532 | * linespec.c (cplusplus_error): Replace cplusplus_hint. | |
7533 | (decode_line_1): Use cplusplus_error instead of error_begin, | |
7534 | cplusplus_hint and return_to_top_level. | |
7535 | * coffread.c (coff_symfile_read): Use error instead of error_begin | |
7536 | and return_to_top_level. | |
7537 | * infrun.c (default_skip_permanent_breakpoint): Ditto. | |
7538 | ||
ddfe3c15 AC |
7539 | 2002-02-01 Andrew Cagney <[email protected]> |
7540 | ||
7541 | * language.h (type_error, range_error): Make string parameter | |
7542 | constant. | |
7543 | * language.c (warning_pre_print): Delete extern declaration. | |
7544 | * dwarfread.c (warning_pre_print): Ditto. | |
7545 | * language.c (type_error, range_error): Rewrite to use verror and | |
7546 | vwarning instead of warning_begin. | |
7547 | ||
03ac34d5 MS |
7548 | 2002-02-01 Michael Snyder <[email protected]> |
7549 | ||
261c4ca2 MS |
7550 | * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code. |
7551 | (set_ignore_count): Move misplaced comment back where it belongs. | |
03ac34d5 | 7552 | |
e00d1dc8 AC |
7553 | 2002-02-01 Andrew Cagney <[email protected]> |
7554 | ||
7555 | * command.h (NO_FUNCTION): Delete macro. | |
7556 | * cli/cli-decode.h (NO_FUNCTION): Ditto. | |
7557 | * top.c (execute_command): Replace NO_FUNCTION with NULL. | |
7558 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
7559 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
7560 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
aaa38bb5 | 7561 | |
76b79d6e DJ |
7562 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
7563 | ||
7564 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. | |
7565 | Update ``this'' pointer when calling virtual functions. | |
7566 | ||
799f9e91 MS |
7567 | 2002-02-01 Michael Snyder <[email protected]> |
7568 | ||
c7bd442c | 7569 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
799f9e91 MS |
7570 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
7571 | ||
3cf384d4 DJ |
7572 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
7573 | ||
7574 | * regformats/reg-arm.dat: New file. | |
7575 | * regformats/reg-i386.dat: New file. | |
7576 | * regformats/reg-ia64.dat: New file. | |
7577 | * regformats/reg-m68k.dat: New file. | |
7578 | * regformats/reg-mips.dat: New file. | |
7579 | * regformats/reg-ppc.dat: New file. | |
7580 | * regformats/reg-sh.dat: New file. | |
7581 | * regformats/regdef.h: New file. | |
7582 | * regformats/regdat.sh: New file. | |
7583 | ||
0defa245 RE |
7584 | 2002-02-01 Richard Earnshaw <[email protected]> |
7585 | ||
7586 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. | |
7587 | (arm_frame_args_address, arm_frame_locals_address): New functions. | |
7588 | (arm_frame_num_args): New function. | |
7589 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. | |
7590 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. | |
7591 | (FRMA_NUM_ARGS): Call arm_frame_num_args. | |
7592 | ||
405f26e6 MS |
7593 | 2002-01-31 Michael Snyder <[email protected]> |
7594 | ||
502fd408 MS |
7595 | * breakpoint.c (break_at_finish_command): Export. |
7596 | (break_at_finish_at_depth_command): Export. | |
7597 | (tbreak_at_finish_command): Export. | |
7598 | (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. | |
7599 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and | |
7600 | "tbreak" commands, which are HPPA specific. | |
7601 | ||
7d35e135 MS |
7602 | * printcmd.c (disassemble_command): Remove an ancient |
7603 | artifact of an old merge. | |
7604 | ||
aaa38bb5 | 7605 | * symfile.h (enum overlay_debugging_state): |
d874f1e2 MS |
7606 | Define enum constant values for overlay mode. |
7607 | * symfile.c (overlay_debugging): Use enums instead of literals. | |
aaa38bb5 AJ |
7608 | (overlay_is_mapped, overlay_auto_command, |
7609 | overlay_manual_command): Ditto. | |
d874f1e2 | 7610 | |
aaa38bb5 AJ |
7611 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
7612 | breakpoint_here_p, breakpoint_inserted_here_p, | |
7613 | breakpoint_thread_match, bpstat_stop_status, | |
9f04af04 MS |
7614 | describe_other_breakpoints, check_duplicates, clear_command): |
7615 | Coding standard fixes. | |
7616 | ||
8add0441 | 7617 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 7618 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
7619 | code: check bfd SEC_READONLY flag for section. |
7620 | ||
e351066e AC |
7621 | 2002-01-31 Andrew Cagney <[email protected]> |
7622 | ||
7d35e135 | 7623 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
e351066e | 7624 | |
8a48e967 DJ |
7625 | 2002-01-30 Daniel Jacobowitz <[email protected]> |
7626 | ||
7627 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
7628 | data symbols, since we search based on textlow and texthigh. | |
7629 | (find_pc_sect_symtab): Likewise. | |
7630 | ||
f5a96129 AC |
7631 | 2002-01-30 Andrew Cagney <[email protected]> |
7632 | ||
7633 | * defs.h (vwarning): Declare. | |
f5a96129 AC |
7634 | * utils.c (vwarning): New function. |
7635 | (warning): Call vwarning. | |
7636 | (warning_begin): Delete function. | |
7637 | ||
7638 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
7639 | the warning message. | |
7640 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
7641 | warning_begin. | |
7642 | ||
cefd4ef5 MS |
7643 | 2002-01-30 Michael Snyder <[email protected]> |
7644 | ||
1a703748 MS |
7645 | * NEWS: Mention "set trust-readonly-sections" command. |
7646 | Mention generate-core-file command. | |
cefd4ef5 | 7647 | |
3a11626d MS |
7648 | 2002-01-15 Michael Snyder <[email protected]> |
7649 | ||
7650 | * target.c: New command, "set trust-readonly-sections on". | |
7651 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
7652 | by reading them from the object file instead of from the target. | |
7653 | (initialize_targets): Register command "set trust-readonly-sections". | |
7654 | ||
d1c7e53b AC |
7655 | 2002-01-29 Andrew Cagney <[email protected]> |
7656 | ||
7657 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
7658 | pseudo-regs using a single loop. | |
7659 | ||
e2c9a72c AC |
7660 | 2002-01-30 Andrew Cagney <[email protected]> |
7661 | ||
7662 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
7663 | ||
69824b4e MK |
7664 | 2002-01-15 Rodney Brown <[email protected]> |
7665 | ||
7666 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
7667 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
7668 | * i386v4-nat.c: Include i387-nat.h. | |
7669 | (supply_fpregset): Use i387_supply_fsave. | |
7670 | (fill_fpregset): Use i387_fill_fsave. | |
7671 | ||
6eb69eab RE |
7672 | 2002-01-30 Richard Earnshaw <[email protected]> |
7673 | ||
7674 | * arm-tdep.c (arm_call_dummy_words): Define. | |
7675 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
7676 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
7677 | (CALL_DUMMY_WORDS): Define. | |
7678 | (arm_call_dummy_words): Declare. | |
7679 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
7680 | (arm_linux_call_dummy_words): Declare. | |
7681 | ||
9852326a AS |
7682 | 2002-01-30 Andreas Schwab <[email protected]> |
7683 | ||
7684 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
7685 | instead of referencing registers[] directly. | |
7686 | ||
977a3030 AC |
7687 | 2002-01-29 Andrew Cagney <[email protected]> |
7688 | ||
7689 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
7690 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
7691 | ||
2076c72b MS |
7692 | 2002-01-28 Michael Snyder <[email protected]> |
7693 | ||
7694 | * regcache.c (legacy_read_register_gen): Need to be able to | |
7695 | read pseudo-register as well as real register. | |
7696 | (legacy_write_register_gen): Ditto. | |
7697 | ||
8fcc723b AC |
7698 | 2002-01-28 Andrew Cagney <[email protected]> |
7699 | ||
7700 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
7701 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
7702 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
7703 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
7704 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
7705 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
7706 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
7707 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
7708 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
7709 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
7710 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
7711 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
7712 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
7713 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
7714 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
7715 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
7716 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
7717 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
7718 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
7719 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
7720 | ||
afe64c1a AC |
7721 | 2002-01-28 Andrew Cagney <[email protected]> |
7722 | ||
7723 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
7724 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
7725 | (initialize_current_architecture): Update target_byte_order using | |
7726 | information from BFD. | |
aaa38bb5 | 7727 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): |
afe64c1a AC |
7728 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. |
7729 | ||
75bc7ddf AC |
7730 | 2002-01-28 Andrew Cagney <[email protected]> |
7731 | ||
7732 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
7733 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
7734 | ||
7735 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
7736 | #ifdef INVALID_FLOAT. | |
7737 | * infcmd.c (do_registers_info): Ditto. | |
7738 | * values.c (unpack_double): Ditto. Add comment. | |
7739 | ||
7740 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
7741 | already commented out. | |
7742 | ||
0280a90a AS |
7743 | 2002-01-26 Andreas Schwab <[email protected]> |
7744 | ||
7745 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
7746 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
7747 | registers and add support for PTRACE_GETREGS. | |
7748 | ||
7072a954 AC |
7749 | 2002-01-24 Andrew Cagney <[email protected]> |
7750 | ||
7751 | GDB 5.1.1 released from 5.1 branch. | |
7752 | * NEWS: Add 5.1.1 news. | |
7753 | * README: Sync with 5.1 branch. | |
7754 | ||
86f902e0 FF |
7755 | 2002-01-23 Fred Fish <[email protected]> |
7756 | ||
7757 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
7758 | stabstring on initial malloc. Reallocing will copy it for us, | |
7759 | if necessary. | |
7760 | ||
8af51c36 EZ |
7761 | 2002-01-23 Elena Zannoni <[email protected]> |
7762 | ||
aaa38bb5 | 7763 | * Makefile.in (hpread_h): Delete. |
8af51c36 EZ |
7764 | (HFILES_NO_SRCDIR): Remove hpread.h. |
7765 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
7766 | (hpread.o): Update dependencies. | |
7767 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
7768 | ||
7769 | * hp-psymtab-read.c: Remove file. | |
7770 | * hp-symtab-read.c: Remove file. | |
7771 | * hpread.h: Remove file. | |
7772 | ||
7773 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
7774 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
7775 | January 1999. | |
7776 | ||
7777 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
aaa38bb5 | 7778 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, |
8af51c36 EZ |
7779 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): |
7780 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
7781 | ||
dc5cfeb6 EZ |
7782 | 2002-01-23 Elena Zannoni <[email protected]> |
7783 | ||
7784 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
7785 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
7786 | variable and use that, instead of calling the function several | |
7787 | times. | |
7788 | ||
ea87b71b AO |
7789 | 2002-01-24 Alexandre Oliva <[email protected]> |
7790 | ||
7791 | * configure.host: Accept sparcv9 as alias for sparc64. | |
7792 | * configure.tgt: Likewise. | |
7793 | ||
13fc0c2f KB |
7794 | 2002-01-22 Kevin Buettner <[email protected]> |
7795 | ||
7796 | * solib-aix5.c (build_so_list_from_mapfile) | |
7797 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
7798 | arguments is not reversed. | |
7799 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
7800 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
aaa38bb5 | 7801 | |
7bd872fe EZ |
7802 | 2002-01-22 Elena Zannoni <[email protected]> |
7803 | ||
7804 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
7805 | modified version of obsolete sh_fetch_pseudo_register. | |
7806 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
7807 | (sh4_register_read): New function. | |
7808 | (sh_pseudo_register_write): New function. Renamed and modified | |
7809 | version of obsolete sh_store_pseudo_register. | |
7810 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
7811 | (sh4_register_write): New function. | |
7812 | (sh_gdbarch_init): Remove setting of gdbarch function | |
7813 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
7814 | register_convert_to_raw, register_convert_to_virtual, | |
7815 | register_convertible. | |
7816 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
7817 | taken care by architecture specific functions | |
7818 | register_read/register_write. | |
7819 | (sh_sh4_register_convert_to_virtual): Make static. | |
7820 | (sh_sh4_register_convert_to_raw): Ditto. | |
7821 | ||
069e84fd AC |
7822 | 2002-01-22 Andrew Cagney <[email protected]> |
7823 | ||
7824 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
7825 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
7826 | ||
7827 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
7828 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
7829 | builtin_type_ieee_double_little, | |
7830 | builtin_type_ieee_double_littlebyte_bigword, | |
7831 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
7832 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
7833 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
7834 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
7835 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
7836 | ||
211a4f69 CV |
7837 | 2002-01-22 Corinna Vinschen <[email protected]> |
7838 | ||
7839 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
7840 | parameter. Set frameless flag if it exists and depended of | |
7841 | whether the scanned function is frameless or not. | |
7842 | (xstormy16_skip_prologue): If function is frameless, return | |
7843 | result of xstormy16_scan_prologue(). | |
7844 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
7845 | call. | |
7846 | ||
f81353e4 EZ |
7847 | 2002-01-21 Elena Zannoni <[email protected]> |
7848 | ||
7849 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
7850 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
7851 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
7852 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
7853 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
7854 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
7855 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
7856 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
7857 | gdbarch_tdep() just once, assign result to variable and use that, | |
7858 | instead of calling the function several times. | |
7859 | ||
63c73a17 MK |
7860 | 2002-01-20 Mark Kettenis <[email protected]> |
7861 | ||
7862 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
7863 | macros instead of LAST_FPU_CTRL_REGNUM. | |
7864 | (store_register): Likewise. | |
7865 | ||
39ad761d JB |
7866 | 2002-01-21 Jim Blandy <[email protected]> |
7867 | ||
7868 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
7869 | is up-to-date before running the program, not just when a program | |
7870 | exits. | |
7871 | ||
3d74b771 FF |
7872 | 2002-01-21 Fred Fish <[email protected]> |
7873 | ||
7874 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
7875 | when we have found all instructions we are looking for. | |
7876 | ||
966fbf70 RE |
7877 | 2002-01-21 Richard Earnshaw <[email protected]> |
7878 | ||
7879 | * arm-tdep.c (arm_register_name): New function. | |
7880 | (arm_registers_names): Make static. | |
7881 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
7882 | (arm_register_name): Declare. | |
7883 | (REGISTER_NAME): Use it. | |
7884 | ||
c3b4394c RE |
7885 | 2002-01-21 Richard Earnshaw <[email protected]> |
7886 | Kevin Buettner <[email protected]> | |
7887 | ||
7888 | Convert arm targets to new FRAME interface. | |
7889 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
7890 | (arm_frame_find_save_regs): Delete. | |
7891 | (arm_frame_init_saved_regs): New. | |
7892 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
7893 | Allocate extra_info as required. Convert all uses of fsr.regs | |
7894 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
7895 | to use extra_info. | |
7896 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
7897 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
7898 | (check_prologue_cache, save_prologue_cache): Likewise. | |
7899 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
7900 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
7901 | (FRAME_FIND_SAVED_REGS): Delete. | |
7902 | (arm_frame_find_saved_regs): Delete prototype. | |
7903 | (arm_frame_init_saved_regs): New prototype. | |
7904 | (FRAME_INIT_SAVED_REGS): Define. | |
7905 | ||
61d99182 AC |
7906 | 2002-01-20 Andrew Cagney <[email protected]> |
7907 | ||
7908 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
7909 | ||
6aaea291 AC |
7910 | 2002-01-20 Andrew Cagney <[email protected]> |
7911 | ||
7912 | From Jeff Law <[email protected]>: | |
7913 | * infttrace.c: Include <sys/pstat.h>. | |
7914 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
7915 | exec file if the ttrace equivalent fails. | |
7916 | ||
15f698d2 AC |
7917 | 2002-01-20 Andrew Cagney <[email protected]> |
7918 | ||
7919 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
7920 | (closeLogFile): Ditto. | |
7921 | ||
f86ddd7c MC |
7922 | 2002-01-20 Michael Chastain <[email protected]> |
7923 | ||
7924 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
7925 | ||
904507ce AC |
7926 | 2002-01-20 Andrew Cagney <[email protected]> |
7927 | ||
7928 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
7929 | Zannoni and Eli Zaretskii. | |
7930 | ||
d7f0b9ce DJ |
7931 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
7932 | ||
7933 | * buildsym.c: Update copyright years. | |
7934 | * c-typeprint.c: Likewise. | |
7935 | * dwarf2read.c: Likewise. | |
7936 | * f-typeprint.c: Likewise. | |
7937 | * gdbtypes.c: Likewise. | |
7938 | * gdbtypes.h: Likewise. | |
7939 | * hp-symtab-read.c: Likewise. | |
7940 | * hpread.c: Likewise. | |
7941 | * mdebugread.c: Likewise. | |
7942 | * p-typeprint.c: Likewise. | |
7943 | ||
3fd3d7d2 AC |
7944 | 2002-01-20 Andrew Cagney <[email protected]> |
7945 | ||
7946 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
7947 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
7948 | byte-order selectable. | |
7949 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
7950 | * arch-utils.c: Ditto. | |
7951 | (set_endian): Ditto. | |
7952 | (set_endian_from_file): Ditto. | |
7953 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
7954 | * gdbarch.sh: Ditto. | |
7955 | * gdbarch.h: Re-generate. | |
aaa38bb5 AJ |
7956 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): |
7957 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
7958 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
7959 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
7960 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
7961 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
7962 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
3fd3d7d2 AC |
7963 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete |
7964 | macro definition. | |
7965 | * config/mips/tm-wince.h: Remove #undef of macro | |
7966 | TARGET_BYTE_ORDER_SELECTABLE. | |
7967 | * config/sh/tm-wince.h: Ditto. | |
7968 | ||
b02dede2 DJ |
7969 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
7970 | ||
7971 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
7972 | member function fields. Add accessor macro | |
7973 | TYPE_FN_FIELD_ARTIFICIAL. | |
7974 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
7975 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
7976 | functions. | |
7977 | ||
c3643761 DJ |
7978 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
7979 | ||
7980 | * f-typeprint.c: Delete unused function f_type_print_args. | |
7981 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
7982 | ||
8176bb6d DJ |
7983 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
7984 | ||
7985 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
7986 | comment. Add ``artificial'' to ``union field_location''. | |
7987 | ||
7988 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
7989 | ||
7990 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
7991 | * mdebugread.c (parse_symbol): Likewise. | |
7992 | * stabsread.c (define_symbol): Likewise. | |
7993 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
7994 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
7995 | (hpread_doc_function_type): Likewise. | |
7996 | * hpread.c (hpread_function_type): Likewise. | |
7997 | ||
7fd60527 AC |
7998 | 2002-01-20 Andrew Cagney <[email protected]> |
7999 | ||
8000 | * configure.in (host_makefile_frag): Only require a host makefile | |
8001 | fragment when a native build. | |
8002 | * configure: Re-generate. | |
8003 | ||
c2f05ac9 AC |
8004 | 2002-01-20 Andrew Cagney <[email protected]> |
8005 | ||
8006 | * doublest.h (floatformat_from_type): Declare. | |
8007 | * doublest.c (floatformat_from_type): New function. | |
8008 | (convert_typed_floating): Use. | |
8009 | ||
8010 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
8011 | call to function floatformat_from_type. | |
8012 | ||
8013 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
8014 | * gdbarch.h, gdbarch.c: Re-generate. | |
8015 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
8016 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
8017 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
8018 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
8019 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
8020 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
8021 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
8022 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
8023 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
8024 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
8025 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
8026 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
8027 | ||
8028 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
8029 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
8030 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8031 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8032 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8033 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8034 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8035 | ||
abf22e64 AJ |
8036 | 2002-01-20 Jiri Smid <[email protected]> |
8037 | ||
8038 | * configure.host, configure.tgt: Support x86-64. | |
8039 | * NEWS: Note new target x86-64. | |
8040 | ||
b7c4cbf8 AJ |
8041 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
8042 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
8043 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
8044 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
8045 | x86-64-linux-nat.o): Fix dependencies. | |
8046 | ||
82600034 AC |
8047 | 2002-01-19 Andrew Cagney <[email protected]> |
8048 | ||
8049 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
8050 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
8051 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
8052 | * config/sparc/xm-sun4os4.h: Delete file. | |
8053 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 8054 | |
bbe5c628 AC |
8055 | 2002-01-19 Andrew Cagney <[email protected]> |
8056 | ||
8057 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
8058 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
8059 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
8060 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
8061 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
8062 | * config/sparc/xm-sparclynx.h: Delete file. | |
8063 | * config/m68k/xm-m68klynx.h: Delete file. | |
8064 | * config/i386/xm-i386lynx.h: Delete file. | |
8065 | * config/xm-lynx.h: Delete file. | |
8066 | * config/djgpp/fnchange.lst: Update. | |
8067 | ||
f8453e34 JT |
8068 | 2002-01-19 Jason Thorpe <[email protected]> |
8069 | ||
8070 | * alpha-tdep.c (alpha_register_byte): New function. | |
8071 | (alpha_register_raw_size): Ditto. | |
8072 | (alpha_register_virtual_size): Ditto. | |
8073 | (alpha_skip_prologue_internal): Renamed from | |
8074 | alpha_skip_prologue. | |
8075 | (alpha_skip_prologue): New version that calls | |
8076 | alpha_skip_prologue_internal. | |
8077 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
8078 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
8079 | second argument from alpha_skip_prologue. | |
8080 | (REGISTER_BYTE): Use alpha_register_byte. | |
8081 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
8082 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
8083 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
8084 | generic_frameless_function_invocation_not. | |
8085 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
8086 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
8087 | ||
52d9e613 AC |
8088 | 2002-01-19 Andrew Cagney <[email protected]> |
8089 | ||
8090 | * config/mips/xm-news-mips.h: Delete file. | |
8091 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
8092 | ||
8093 | * config/m88k/xm-m88k.h: Delete file. | |
8094 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
8095 | * config/m88k/xm-delta88v4.h: Ditto. | |
8096 | * config/m88k/xm-delta88.h: Ditto. | |
8097 | ||
8098 | * config/alpha/xm-fbsd.h: Delete file. | |
8099 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
8100 | ||
8101 | * config/sparc/xm-sparc.h: Delete file. | |
8102 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
8103 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
8104 | * config/sparc/xm-sun4os4.h: Ditto. | |
8105 | * config/sparc/xm-linux.h: Ditto. | |
8106 | ||
8107 | * config/i386/xm-windows.h: Delete file. | |
8108 | ||
2d1b2124 AC |
8109 | 2002-01-19 Andrew Cagney <[email protected]> |
8110 | ||
8111 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
8112 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
8113 | ||
ee1f65f0 JT |
8114 | 2002-01-19 Jason Thorpe <[email protected]> |
8115 | ||
8116 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
8117 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
8118 | (CALL_DUMMY_P): Define. | |
8119 | (CALL_DUMMY_WORDS): Define. | |
8120 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
8121 | ||
98081e55 PB |
8122 | 2002-01-19 Per Bothner <[email protected]> |
8123 | ||
8124 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
8125 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
8126 | ||
0d056799 JT |
8127 | 2002-01-19 Jason Thorpe <[email protected]> |
8128 | ||
8129 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
8130 | (alpha_init_frame_pc_first): Ditto. | |
8131 | (alpha_fix_call_dummy): Ditto. | |
8132 | (alpha_store_struct_return): Ditto. | |
8133 | (alpha_extract_struct_value_address): Ditto. | |
8134 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
8135 | alpha_register_virtual_type. | |
8136 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
8137 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
8138 | alpha_extract_struct_value_address. | |
8139 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
8140 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
8141 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
8142 | ||
4604bcad MK |
8143 | 2002-01-19 Mark Kettenis <[email protected]> |
8144 | ||
8145 | * i386gnu-nat.c: Include "i386-tdep.h". | |
8146 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
8147 | point states such that it doesn't require FP7_REGNUM. | |
8148 | ||
140f9984 JT |
8149 | 2002-01-18 Jason Thorpe <[email protected]> |
8150 | ||
abf22e64 AJ |
8151 | * alpha-tdep.c (frame_extra_info): New. |
8152 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
8153 | frame->extra_info. |
8154 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
8155 | (alpha_frame_saved_pc): Use frame->extra_info. |
8156 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
8157 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
8158 | (init_extra_frame_info): Rename to... |
8159 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 8160 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
8161 | (alpha_frame_locals_address): Ditto. |
8162 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 8163 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
8164 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
8165 | alpha_frame_args_address. | |
abf22e64 | 8166 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 8167 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
8168 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
8169 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
8170 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
8171 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
8172 | ||
d734c450 JT |
8173 | 2002-01-18 Jason Thorpe <[email protected]> |
8174 | ||
8175 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
8176 | (alpha_cannot_fetch_register): Ditto. | |
8177 | (alpha_cannot_store_register): Ditto. | |
8178 | (alpha_register_convertible): Ditto. | |
8179 | (alpha_use_struct_convention): Ditto. | |
8180 | * config/alpha/tm-alpha.h: Update copyright years. | |
8181 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
8182 | (INNER_THAN): Use core_addr_lessthan. | |
8183 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
8184 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
8185 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
8186 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
8187 | (FRAME_CHAIN): Remove unnecessary cast. | |
8188 | ||
b4ceaee6 AC |
8189 | 2002-01-18 Andrew Cagney <[email protected]> |
8190 | ||
8191 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
8192 | obsolete. | |
8193 | ||
0a65a603 AC |
8194 | 2002-01-18 Andrew Cagney <[email protected]> |
8195 | ||
8196 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
8197 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
8198 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
8199 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
8200 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
8201 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
8202 | * x86-64-linux-nat.c: Ditto. | |
8203 | ||
636a6dfc JT |
8204 | 2002-01-18 Jason Thorpe <[email protected]> |
8205 | ||
abf22e64 | 8206 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
8207 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
8208 | (REGISTER_NAME): Define. | |
8209 | ||
acceddb6 JT |
8210 | 2002-01-18 Jason Thorpe <[email protected]> |
8211 | ||
8212 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
8213 | ||
ec32e4be JT |
8214 | 2002-01-18 Jason Thorpe <[email protected]> |
8215 | ||
8216 | * alpha-tdep.c: Update copyright years. | |
8217 | (alpha_next_pc): New function. | |
8218 | (alpha_software_single_step): Ditto. | |
8219 | * config/alpha/tm-alpha.h: Add prototype for | |
8220 | alpha_software_single_step. | |
8221 | ||
e771a871 JT |
8222 | 2002-01-18 Jason Thorpe <[email protected]> |
8223 | ||
8224 | * alphabsd-nat.c: Update copyright years. | |
8225 | (fill_gregset): Use regcache_collect. | |
8226 | (fill_fpregset): Likewise. | |
8227 | (fetch_inferior_registers): Only fetch integer registers | |
8228 | if requested to do so. | |
8229 | (store_inferior_registers): Only store integer registers | |
8230 | if requested to do so. | |
8231 | ||
7708fa01 AC |
8232 | 2002-01-17 Andrew Cagney <[email protected]> |
8233 | ||
8234 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
8235 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
8236 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
8237 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
8238 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
8239 | * config/arm/linux.mh (XDEPFILES): Delete. | |
8240 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
8241 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
8242 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
8243 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
8244 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
8245 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
8246 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
8247 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
8248 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
8249 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
8250 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
8251 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
8252 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
8253 | * config/i386/go32.mh (XDEPFILES): Delete. | |
8254 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
8255 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
8256 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
8257 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
8258 | * config/i386/linux.mh (XDEPFILES): Delete. | |
8259 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
8260 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
8261 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
8262 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
8263 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
8264 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
8265 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
8266 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
8267 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
8268 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
8269 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
8270 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
8271 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
8272 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
8273 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
8274 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
8275 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
8276 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
8277 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
8278 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
8279 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
8280 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
8281 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
8282 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
8283 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
8284 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
8285 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
8286 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
8287 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
8288 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
8289 | * config/mips/linux.mh (XDEPFILES): Delete. | |
8290 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
8291 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
8292 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
8293 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
8294 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
8295 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
8296 | (NATDEPFILES): Move core-aout.o to here. | |
8297 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
8298 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
8299 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
8300 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
8301 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
8302 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
8303 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
8304 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
8305 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
8306 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
8307 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
8308 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
8309 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
8310 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
8311 | * config/s390/s390.mh (XDEPFILES): Delete. | |
8312 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
8313 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
8314 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
8315 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
8316 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
8317 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
8318 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
8319 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
8320 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
8321 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
8322 | ||
375fc983 AC |
8323 | 2002-01-17 Andrew Cagney <[email protected]> |
8324 | ||
8325 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
8326 | Update queries to match. Default to quit and dump core. | |
8327 | ||
8926118c AC |
8328 | 2002-01-17 Andrew Cagney <[email protected]> |
8329 | ||
8330 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
8331 | copyright. | |
8332 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
8333 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
8334 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
8335 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
8336 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
8337 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
8338 | * mi/mi-main.c:Ditto. | |
8339 | ||
8340 | * stack.c, symfile.c: Update copyright. | |
8341 | ||
45b7b345 DJ |
8342 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
8343 | ||
db728ff7 DJ |
8344 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
8345 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
8346 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
8347 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 8348 | |
db728ff7 DJ |
8349 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
8350 | ||
8351 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
8352 | * gdbserver/low-lynx.c (myattach): Likewise. | |
8353 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
8354 | * gdbserver/low-sim.c (myattach): Likewise. | |
8355 | * gdbserver/low-sparc.c (myattach): Likewise. | |
8356 | * gdbserver/low-sun3.c (myattach): Likewise. | |
8357 | ||
8358 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 8359 | |
db728ff7 | 8360 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
8361 | (main): Handle "--attach". |
8362 | ||
8de3c354 AC |
8363 | 2002-01-16 Andrew Cagney <[email protected]> |
8364 | ||
8365 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
8366 | maintainer. | |
8367 | ||
b0129042 DJ |
8368 | 2002-01-15 Daniel Jacobowitz <[email protected]> |
8369 | ||
8370 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
8371 | check for non-conversion operators. | |
8372 | ||
ba8679fb | 8373 | 2002-01-15 Michael Snyder <[email protected]> |
2bf543a6 MS |
8374 | |
8375 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
8376 | (read_mapping): New function, abstract and re-use code. | |
8377 | (linux_find_memory_regions): Use new func read_mapping. | |
8378 | (linux_info_proc_cmd): New function, implement "info proc". | |
8379 | (_initialize_linux_proc): Add new command "info proc". | |
8380 | ||
e4f9b4d5 MS |
8381 | 2002-01-15 Michael Snyder <[email protected]> |
8382 | ||
8383 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
8384 | instead of manipulating bfd structure members directly. | |
8385 | (add_section_size_callback): New function, bfd sections callback | |
8386 | used by generic_load. | |
8387 | (load_sections_callback): New function, bfd sections callback | |
8388 | used by generic_load. | |
8389 | ||
08cf96df EZ |
8390 | 2002-01-15 Elena Zannoni <[email protected]> |
8391 | ||
abf22e64 | 8392 | [Based on work by Jim Blandy] |
08cf96df EZ |
8393 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
8394 | (builtin_type_vec128): Export. | |
8395 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
8396 | types. | |
8397 | (builtin_type_vec128): New builtin type for 128 bit vector | |
8398 | registers. | |
8399 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
8400 | builtin_type_v8hi. Create the vec128 register builtin type | |
8401 | structure. | |
8402 | (build_builtin_type_vec128): New function. | |
abf22e64 | 8403 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
8404 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
8405 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
8406 | AltiVec register to new builtin type. | |
8407 | ||
d7242108 DJ |
8408 | 2001-01-15 Daniel Jacobowitz <[email protected]> |
8409 | ||
8410 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
8411 | to make_cv_type. | |
8412 | ||
4ee3352d AC |
8413 | 2002-01-14 Andrew Cagney <[email protected]> |
8414 | ||
8415 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
8416 | CLEAN_UP_REGISTER_VALUE. | |
8417 | * regcache.c (supply_register): Update only call. | |
8418 | ||
f015b2e7 AC |
8419 | 2002-01-14 Andrew Cagney <[email protected]> |
8420 | ||
8421 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
8422 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
8423 | a29k-*-vxworks* targets as obsolete. | |
8424 | ||
356ae49d MS |
8425 | 2002-01-14 Michael Snyder <[email protected]> |
8426 | ||
8427 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
8428 | until we can resolve portability issues. | |
8429 | * gregset.h: Remove references to fpxregs. | |
8430 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
8431 | ||
ade8f45e AC |
8432 | 2002-01-13 Andrew Cagney <[email protected]> |
8433 | ||
8434 | * signals.c (target_signal_to_name): Rewrite. Only use | |
8435 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 8436 | |
89c49e7a AC |
8437 | 2002-01-13 Andrew Cagney <[email protected]> |
8438 | ||
8439 | From Petr Ledvina <[email protected]>: | |
8440 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
8441 | bounds of the signals array. | |
8442 | ||
4daa9f9f AC |
8443 | 2002-01-13 Andrew Cagney <[email protected]> |
8444 | ||
8445 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
8446 | ||
ba4bbdcb KS |
8447 | 2002-01-13 Keith Seitz <[email protected]> |
8448 | ||
8449 | * stack.c (print_frame_info_base): Print the frame's pc | |
8450 | only if when print_frame_info_listing_hook is not defined. | |
8451 | ||
575bbeb6 KS |
8452 | 2002-01-13 Keith Seitz <[email protected]> |
8453 | ||
8454 | * varobj.c (varobj_set_value): Make sure that there were no | |
8455 | errors evaluating the object before attempting to set its | |
8456 | value. | |
8457 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
8458 | so this offset adjustment is no longer necessary. | |
8459 | (create_child): Don't set the error flag if the child is | |
8460 | a CPLUS_FAKE_CHILD. | |
8461 | (value_of_child): If value_fetch_lazy fails, return NULL | |
8462 | so that callers will be notified that an error occurred. | |
8463 | (c_value_of_variable): Delay check of variable's validity | |
8464 | until later. We actually want all structs and unions to have | |
8465 | the value "{...}". | |
8466 | Do not return "???" for variables which could not be evaluated. | |
8467 | This error condition must be returned to the caller so that it | |
8468 | can get the error condition from gdb. | |
8469 | (cplus_name_of_child): Adjust index for vptr before figuring | |
8470 | out the name of the child. | |
8471 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
8472 | don't even bother trying to give a value for it. Just return | |
8473 | an error. Change all instances in this function. | |
8474 | (cplus_type_of_child): If our parent is one of the "fake" | |
8475 | parents, we need to get at the type of the real parent, and | |
8476 | derive the child's true type using this information. | |
8477 | ||
b76898ab AC |
8478 | 2002-01-13 Andrew Cagney <[email protected]> |
8479 | ||
8480 | From 2002-01-09 John Marshall <[email protected]>: | |
8481 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
8482 | sources.redhat.com, and tweak some related URLs which had | |
8483 | suffered from linkrot. | |
8484 | ||
b6649e88 AC |
8485 | 2002-01-13 Andrew Cagney <[email protected]> |
8486 | ||
8487 | From Jeff law: | |
8488 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
8489 | structures passed in registers. | |
8490 | ||
82cc5033 EZ |
8491 | 2002-01-13 Eli Zaretskii <[email protected]> |
8492 | ||
8493 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
8494 | white space which prevented compilation. Reported by DSK | |
8495 | <[email protected]>. | |
8496 | ||
ba5f2f8a MS |
8497 | 2002-01-11 Michael Snyder <[email protected]> |
8498 | ||
fbd35540 MS |
8499 | * symfile.c (build_section_addr_info_from_section_tab): |
8500 | Use bfd access method instead of manipulating bfd directly. | |
8501 | (syms_from_objfile): Ditto. | |
8502 | (simple_overlay_update_1): Ditto. | |
8503 | (simple_overlay_update): Ditto. | |
8504 | (generic_load): Ditto. | |
8505 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
8506 | (sections_overlap): FIXME comment, bfd access methods. | |
8507 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
8508 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
8509 | (section_is_mapped): FIXME comment, bfd access methods. | |
8510 | (section_is_overlay): FIXME comment, bfd access methods. | |
8511 | ||
ba5f2f8a MS |
8512 | * symfile.c (generic_load): Whitespace and long line cleanups. |
8513 | Remove duplicate variable, change several local variables to | |
8514 | more appropriate data types. | |
8515 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
8516 | ||
17df2af6 AC |
8517 | 2002-01-12 Andrew Cagney <[email protected]> |
8518 | ||
8519 | From Peter Schauer: | |
8520 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
8521 | convert NUM to a hex string. | |
8522 | ||
ec920329 EZ |
8523 | 2002-01-12 Elena Zannoni <[email protected]> |
8524 | ||
8525 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
8526 | the function. | |
538a76d6 | 8527 | Update Copyright year. |
ec920329 | 8528 | |
3abd2e01 AC |
8529 | 2002-01-12 Andrew Cagney <[email protected]> |
8530 | ||
8531 | * language.c (longest_raw_hex_string): Delete unused function. | |
8532 | ||
b21b22e0 PS |
8533 | 2002-01-11 Petr Sorfa <[email protected]> |
8534 | ||
8535 | * MAINTAINERS (write-after-approval): Add myself. | |
8536 | * dwarf2read.c (read_tag_string_type): Handling of | |
8537 | DW_AT_byte_size. | |
8538 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
8539 | first string size. | |
8540 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
8541 | ||
747fe712 RE |
8542 | 2002-01-11 Richard Earnshaw <[email protected]> |
8543 | ||
8544 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
8545 | GETPID(inferior_ptid). | |
8546 | (store_inferior_registers): Likewise. | |
8547 | ||
f1bea926 JM |
8548 | 2002-01-10 Jason Merrill <[email protected]> |
8549 | ||
8550 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
8551 | Fix DW_OP_minus. | |
8552 | ||
ae940673 AC |
8553 | 2002-01-10 Andrew Cagney <[email protected]> |
8554 | ||
8555 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
8556 | and bfd/elf32-sh-nbsd.c. | |
8557 | ||
00546b04 MS |
8558 | 2002-01-10 Michael Snyder <[email protected]> |
8559 | ||
352ed7b4 MS |
8560 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
8561 | ||
c18be923 MS |
8562 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
8563 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
8564 | ||
00546b04 MS |
8565 | * main.c (captured_main): Add new command line option "--pid". |
8566 | If the second command line argument (following the symbol-file) | |
8567 | begins with a digit, try to attach to it before trying to open | |
8568 | it as a corefile. | |
8569 | (print_gdb_help): Document the "--pid" argument. | |
8570 | ||
db60ec62 EZ |
8571 | 2002-01-10 Eli Zaretskii <[email protected]> |
8572 | ||
8573 | * completer.c (command_completer): New function. | |
8574 | ||
8575 | * completer.h <command_completer>: Add prototype. | |
8576 | ||
8577 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
8578 | completer for the "help" command. | |
8579 | ||
39c22d1a JM |
8580 | 2002-01-09 Jason Merrill <[email protected]> |
8581 | ||
8582 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
8583 | ||
c564377f MS |
8584 | 2002-01-09 Michael Snyder <[email protected]> |
8585 | ||
975aec09 MS |
8586 | * i386-linux-nat.c (fill_fpxregset): Make global. |
8587 | (store_fpxregset): Ditto. | |
8588 | ||
db4a10fa MS |
8589 | * gregset.h (gdb_fpxregset_t): Define. |
8590 | (supply_fpxregset): Prototype. | |
8591 | (fill_fpxregset): Prototype. | |
8592 | ||
c564377f MS |
8593 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
8594 | ||
c3d45d70 RE |
8595 | 2002-01-09 Richard Earnshaw <[email protected]> |
8596 | ||
8597 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
8598 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
8599 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
8600 | ||
fcc87af1 AC |
8601 | 2002-01-09 Andrew Cagney <[email protected]> |
8602 | ||
8603 | * MAINTAINERS: Update target maintainer rules so that any | |
8604 | Maintainer can approve a tested patch for a maintenance-only | |
8605 | target. | |
8606 | ||
dd96c05b RE |
8607 | 2002-01-09 Richard Earnshaw <[email protected]> |
8608 | ||
d4297db9 | 8609 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 8610 | |
d4297db9 | 8611 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
8612 | IN_SIGTRAMP. |
8613 | ||
145fdc6e MS |
8614 | 2002-01-08 Michael Snyder <[email protected]> |
8615 | ||
8616 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
8617 | real name of the executable, rather than the /proc name. | |
8618 | ||
be4d1333 MS |
8619 | 2002-01-03 Michael Snyder <[email protected]> |
8620 | ||
8621 | Implement a "generate-core-file" command in gdb, save target state. | |
8622 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
8623 | Save a corefile image of the current state of the inferior. | |
8624 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
8625 | * target.h (struct target_ops): Add new target vectors for saving | |
8626 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
8627 | (target_find_memory_regions): New macro. | |
8628 | (target_make_corefile_notes): New macro. | |
8629 | * target.c (update_current_target): Inherit new target methods. | |
8630 | (dummy_find_memory_regions): New place-holder method. | |
8631 | (dummy_make_corefile_notes): New place-holder method. | |
8632 | (init_dummy_target): Initialize new dummy target vectors. | |
8633 | * exec.c (exec_set_find_memory_regions): New function. | |
8634 | Allow the exec_ops vector for memory regions to be taken over. | |
8635 | (exec_make_note_section): New function, target vector method. | |
8636 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
8637 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
8638 | (procfs_make_note_section): New function, corefile method. | |
8639 | (init_procfs_ops): Set new target vector pointers. | |
8640 | (find_memory_regions_callback): New function. | |
8641 | (procfs_do_thread_registers): New function. | |
8642 | (procfs_corefile_thread_callback): New function. | |
8643 | * sol-thread.c (sol_find_memory_regions): New function. | |
8644 | (sol_make_note_section): New function. | |
8645 | (init_sol_thread_ops): Initialize new target vectors. | |
8646 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
8647 | Allow to_find_memory_regions vector to be taken over. | |
8648 | (inftarg_set_make_corefile_notes): New function. | |
8649 | Allow to_make_corefile_notes vector to be taken over. | |
8650 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
8651 | interface layer if not target_has_execution (may be a corefile). | |
8652 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
8653 | * config/sparc/sun4sol2.mh: Ditto. | |
8654 | * config/alpha/alpha-linux.mh: Ditto. | |
8655 | * config/arm/linux.mh: Ditto. | |
8656 | * config/i386/x86-64linux.mh: Ditto. | |
8657 | * config/ia64/linux.mh: Ditto. | |
8658 | * config/m68k/linux.mh: Ditto. | |
8659 | * config/mips/linux.mh: Ditto. | |
8660 | * config/powerpc/linux.mh: Ditto. | |
8661 | * config/sparc/linux.mh: Ditto. | |
8662 | ||
c6b92abd MS |
8663 | 2002-01-07 Michael Snyder <[email protected]> |
8664 | ||
8665 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
8666 | (registers[] and register_valid[]). | |
8667 | ||
4b09dc8c MS |
8668 | 2002-01-07 Michael Snyder <[email protected]> |
8669 | ||
abf22e64 AJ |
8670 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
8671 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
8672 | symbol file and shlibs. |
8673 | * Makefile.in: Add rule for linux-proc.o. | |
8674 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
8675 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
8676 | * config/arm/linux.mh: Ditto. | |
8677 | * config/i386/linux.mh: Ditto. | |
8678 | * config/i386/x86-64linux.mh: Ditto. | |
8679 | * config/ia64/linux.mh: Ditto. | |
8680 | * config/m68k/linux.mh: Ditto. | |
8681 | * config/mips/linux.mh: Ditto. | |
8682 | * config/powerpc/linux.mh: Ditto. | |
8683 | * config/sparc/linux.mh: Ditto. | |
8684 | ||
c25b74ac PM |
8685 | 2002-01-06 Pierre Muller <[email protected]> |
8686 | ||
8687 | * win32-nat.c: Add i386-tdep.h dependency. | |
8688 | ||
94cd915f MS |
8689 | 2002-01-07 Michael Snyder <[email protected]> |
8690 | ||
c7cccb76 MS |
8691 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
8692 | instead of bfd_get_arch_size. Don't bail out just because | |
8693 | there's no exec_bfd. | |
abf22e64 | 8694 | |
34c0bd93 MS |
8695 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
8696 | * p-valprint.c (pascal_object_print_value): Ditto. | |
8697 | * somread.c (som_symtab_read): Ditto. | |
8698 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
8699 | * valops.c (value_assign): Ditto. | |
8700 | ||
21c1c920 MS |
8701 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
8702 | use tilde_expand and strerror for opening save-tracepoints file. | |
8703 | ||
5bbd998e MS |
8704 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
8705 | ||
94cd915f MS |
8706 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
8707 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 8708 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
8709 | can be overridden with whatever value is appropriate to the host). |
8710 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
8711 | alloca to allocate potentially large buffer. | |
8712 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
8713 | * symm-nat.c (child_xfer_memory): Ditto. | |
8714 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
8715 | ||
494e8a93 JSC |
8716 | 2002-01-07 Jackie Smith Cashion <[email protected]> |
8717 | ||
8718 | From Nick Clifton <[email protected]> | |
8719 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
8720 | ||
d0e1d48e MS |
8721 | 2002-01-07 Michael Snyder <[email protected]> |
8722 | ||
abf22e64 | 8723 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
8724 | Don't use exec_bfd if it's NULL. |
8725 | ||
290b2c7a MK |
8726 | 2002-01-06 Mark Kettenis <[email protected]> |
8727 | ||
abf22e64 | 8728 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 8729 | |
aef21287 AC |
8730 | 2002-01-06 Andrew Cagney <[email protected]> |
8731 | ||
8732 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
8733 | * gnu-nat.c: Ditto. | |
8734 | ||
30efa627 AC |
8735 | 2002-01-06 Andrew Cagney <[email protected]> |
8736 | ||
8737 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
8738 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
8739 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
8740 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
8741 | z8k-coff have not been multi-arched. Update z8k-coff build | |
8742 | status. | |
8743 | ||
9b4ff276 AC |
8744 | 2002-01-06 Andrew Cagney <[email protected]> |
8745 | ||
8746 | * MAINTAINERS: Mark a29k target as obsolete. | |
8747 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
8748 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
8749 | comments. | |
8750 | * NEWS: Note that a29k targets are obsolete. | |
8751 | * a29k-tdep.c: Mark as obsolete. | |
8752 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
8753 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
8754 | a29k-*-vxworks* targets as obsolete. | |
8755 | * remote-adapt.c: Obsolete. | |
8756 | * remote-eb.c: Obsolete. | |
8757 | * remote-mm.c: Obsolete. | |
8758 | * remote-udi.c: Obsolete. | |
8759 | * config/a29k/a29k-udi.mt: Obsolete. | |
8760 | * config/a29k/a29k.mt: Obsolete. | |
8761 | * config/a29k/tm-a29k.h: Obsolete. | |
8762 | * config/a29k/tm-vx29k.h: Obsolete. | |
8763 | * config/a29k/vx29k.mt: Obsolete. | |
8764 | ||
a9011d31 AC |
8765 | 2002-01-05 Andrew Cagney <[email protected]> |
8766 | ||
8767 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
8768 | with BFD_ENDIAN_BIG. | |
8769 | ||
9299404e AC |
8770 | 2002-01-05 Andrew Cagney <[email protected]> |
8771 | ||
8772 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
8773 | * configure, config.in: Re-generate. | |
8774 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
8775 | * defs.h: Do not include <endian.h>. | |
8776 | ||
7e89e357 JT |
8777 | 2002-01-05 Jason Thorpe <[email protected]> |
8778 | ||
8779 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
8780 | * config.in: Regenerate. | |
8781 | * configure.in: Update copyright years. | |
8782 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
8783 | * configure: Regenerate. | |
8784 | * i386bsd-nat.c: Update copyright years. | |
8785 | (fill_gregset): Use regcache_collect. | |
8786 | (fetch_inferior_registers): Only fetch integer registers | |
8787 | if requested to do so. Add support for XMM registers | |
8788 | using PT_GETXMMREGS. | |
8789 | (store_inferior_registers): Only store integer registers | |
8790 | if requested to do so. Add support for XMM registers | |
8791 | using PT_SETXMMREGS. | |
8792 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
8793 | (store_inferior_registers): Remove. | |
8794 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
8795 | (fetch_elfcore_registers): New function. | |
8796 | (i386nbsd_elfcore_fns): New. | |
8797 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
8798 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
8799 | i386bsd-nat.o. | |
8800 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
8801 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
8802 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
8803 | * config/i386/tm-nbsd.h: Update copyright years. | |
8804 | (HAVE_SSE_REGS): Define. | |
8805 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
8806 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
8807 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
8808 | (SIGCONTEXT_PC_OFFSET): Remove. | |
8809 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
8810 | ||
a752853e AC |
8811 | 2002-01-05 Andrew Cagney <[email protected]> |
8812 | ||
8813 | * configure.tgt: Remove powerpc-*-macos* target. | |
8814 | * config/m68k/xm-mpw.h: Delete file. | |
8815 | * config/xm-mpw.h: Delete file. | |
8816 | * ser-mac.c: Delete file. | |
8817 | * mpw-make.sed: Delete file. | |
8818 | * mpw-config.in: Delete file. | |
8819 | * mac-xdep.c: Delete file. | |
8820 | * mac-gdb.r: Delete file. | |
8821 | * mac-defs.h: Delete file. | |
8822 | * mac-nat.c: Delete file. | |
8823 | * config/powerpc/macos.mh: Delete file. | |
8824 | * config/powerpc/macos.mt: Delete file. | |
8825 | * config/powerpc/nm-macos.h: Delete file. | |
8826 | * config/powerpc/tm-macos.h: Delete file. | |
8827 | * source.c (openp, open_source_file): Remove obsolete code. | |
8828 | * top.c (gdb_readline): Ditto. | |
8829 | * utils.c (query): Ditto. | |
8830 | * event-top.c (display_gdb_prompt): Ditto. | |
8831 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
8832 | * NEWS: Update. | |
8833 | ||
d7449b42 AC |
8834 | 2002-01-04 Andrew Cagney <[email protected]> |
8835 | ||
8836 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
8837 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
8838 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
8839 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
8840 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
8841 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
8842 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
8843 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
8844 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
8845 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
8846 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
8847 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
8848 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
8849 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
8850 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
8851 | * gdbarch.c: Re-generate. | |
8852 | ||
356374e8 DJ |
8853 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
8854 | ||
8855 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
8856 | for core files. | |
8857 | ||
a2b8f8f8 JT |
8858 | 2002-01-04 Jason Thorpe <[email protected]> |
8859 | ||
8860 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
8861 | ||
12466af9 AC |
8862 | 2002-01-04 Andrew Cagney <[email protected]> |
8863 | ||
8864 | * value.h (value_ptr): Delete typedef. | |
8865 | ||
3549ab40 JT |
8866 | 2002-01-04 Jason Thorpe <[email protected]> |
8867 | ||
8868 | * i386nbsd-nat.c: Update copyright years. | |
8869 | Include i386-tdep.h. | |
8870 | ||
fedbd091 EZ |
8871 | 2002-01-04 Elena Zannoni <[email protected]> |
8872 | ||
8873 | * stabsread.c: Update copyright years. | |
8874 | ||
8875 | From Debashis Mahata <[email protected]>: | |
8876 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
8877 | output for structs and unions. | |
fec8b34f | 8878 | Fix PR gdb/269. |
fedbd091 | 8879 | |
eb43544b DJ |
8880 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
8881 | ||
8882 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
8883 | prototype. | |
8884 | ||
1514d34e DJ |
8885 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
8886 | ||
8887 | * cp-abi.c: Fix whitespace. | |
8888 | (baseclass_offset): New wrapper function. | |
8889 | * cp-abi.h (baseclass_offset): Add prototype. | |
8890 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
8891 | ||
8892 | * valops.c (vb_match): Move to... | |
8893 | * gnu-v2-abi.c (vb_match): here. | |
8894 | * valops.c (baseclass_offset): Move to... | |
8895 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
8896 | ||
8897 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
8898 | ||
8899 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
8900 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
8901 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
8902 | ||
7f8c9282 DJ |
8903 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
8904 | ||
8905 | * valops.c (find_overload_match): Accept obj as a | |
8906 | reference parameter. Update it before returning. | |
8907 | * value.h (find_overload_match): Update prototype. | |
8908 | * eval.c (evaluate_subexp_standard): Pass object to | |
8909 | find_overload_match by reference. | |
8910 | ||
f23631e4 AC |
8911 | 2002-01-03 Andrew Cagney <[email protected]> |
8912 | ||
8913 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
8914 | register attribute from value declarations. | |
8915 | * valops.c: Ditto. | |
8916 | * value.h: Ditto. | |
8917 | * scm-lang.c (scm_lookup_name): Ditto. | |
8918 | ||
79e10fab | 8919 | 2002-01-03 Michael Snyder <[email protected]> |
abf22e64 | 8920 | |
79e10fab AC |
8921 | Abstract the functionality of iterating over mapped memory |
8922 | regions into a general purpose iterator function. | |
abf22e64 | 8923 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
8924 | iterator for memory sections. |
8925 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
8926 | (solib_mappings_callback): New function, callback for above. | |
8927 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
8928 | (info_mappings_callback): New function, callback for above. | |
8929 | ||
8930 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
8931 | ||
c5ad026a MK |
8932 | 2002-01-01 Mark Kettenis <[email protected]> |
8933 | ||
d2a7c97a MK |
8934 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
8935 | * i386-tdep.c: Include "elf-bfd.h". | |
8936 | (process_note_abi_tag_sections): New function. | |
8937 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
8938 | combinations. | |
8939 | ||
c5ad026a MK |
8940 | * maint.c (_initialize_maint_cmds): Add missing \ in |
8941 | string-literal. | |
8942 | ||
a1a5b71e | 8943 | For older changes see ChangeLog-2001 |
c906108c SS |
8944 | \f |
8945 | Local Variables: | |
8946 | mode: change-log | |
8947 | left-margin: 8 | |
8948 | fill-column: 74 | |
8949 | version-control: never | |
8950 | End: |