]>
Commit | Line | Data |
---|---|---|
1a113c93 MS |
1 | 2002-04-30 Michael Snyder <[email protected]> |
2 | ||
3 | * gnu-nat.c (gnu_find_memory_regions): Fix merge botch. | |
4 | ||
9a6f53fe EZ |
5 | 2002-04-29 Elena Zannoni <[email protected]> |
6 | ||
7 | * hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR. | |
8 | (DNTT_TYPE_VECTOR_LENGTH): Rename from TYPE_VECTOR_LENGTH. | |
9 | (hpread_symfile_init, hpread_lookup_type): Substitute throughout. | |
10 | ||
11ed25ac KB |
11 | 2002-04-29 Kevin Buettner <[email protected]> |
12 | ||
13 | From Louis Hamilton <[email protected]>: | |
14 | * rs6000-tdep.c (coff/xcoff.h, libxcoff.h): Include. | |
15 | * xcoffread.c (coff/xcoff.h, libxcoff.h): Likewise. | |
16 | * rs6000-tdep.c (rs6000_gdbarch_init): Use bfd_xcoff_is_xcoff64(), | |
17 | not bfd-private xcoff data, to determine wordsize. | |
18 | * xcoffread.c (read_xcoff_xymtab, read_symbol_lineno): Likewise. | |
19 | ||
ae232405 AC |
20 | 2002-04-29 Andrew Cagney <[email protected]> |
21 | ||
22 | GDB 5.2 released from 5.2 branch. | |
23 | ||
91fd20f7 ML |
24 | 2002-04-29 Michal Ludvig <[email protected]> |
25 | ||
26 | * x86-64-linux-nat.c (fill_gregset): Explicit cast to avoid warning. | |
27 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
28 | (x86_64_register_info_table): Added comments with register numbers. | |
29 | ||
2dc5091b EZ |
30 | 2002-04-29 Elena Zannoni <[email protected]> |
31 | ||
32 | * rs6000-tdep.c (rs6000_extract_return_value, | |
33 | rs6000_store_return_value): Handle returning vectors. | |
34 | (rs6000_gdbarch_init): Use | |
35 | ppc_sysv_abi_broken_use_struct_convention for native sysv cases. | |
36 | * ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
37 | New function. | |
38 | (ppc_sysv_abi_use_struct_convention): Deal with functions returning | |
39 | vectors. | |
40 | (ppc_sysv_abi_push_arguments): Handle vector parameters. | |
41 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export. | |
42 | ||
2b9848d8 PM |
43 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
44 | ||
45 | * hpread.c (hpread_psymtab_to_symtab_1, | |
46 | hpread_psymtab_to_symtab): Replace fprintf (stderr,...) | |
47 | with fprintf_unfiltered (gdb_stderr,...). | |
48 | ||
f8d17dc5 PM |
49 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
50 | ||
51 | * remote-array.c (printf_monitor, write_monitor, | |
52 | array_insert_breakpoint, array_remove_breakpoint ): | |
53 | Replace fprintf (stderr,... | |
54 | with fprintf_unfiltered (gdb_stderr,.... | |
55 | * remote-es.c: Likewise. | |
56 | * remote-os9k.c: Likewise. | |
57 | * remote-st.c: Likewise. | |
58 | ||
2f2f1ad1 AS |
59 | 2002-04-28 Andreas Schwab <[email protected]> |
60 | ||
61 | * config/s390/s390.mh (NATDEPFILES): Remove solib.o, add | |
62 | linux-proc.o and gcore.o. | |
63 | ||
b6779aa2 AC |
64 | 2002-04-26 Michal Ludvig <[email protected]> |
65 | ||
66 | * x86-64-tdep.c (x86_64_skip_prologue): Print note when debugging | |
67 | code without frame pointers. | |
68 | ||
7e57f5f4 AC |
69 | 2002-04-26 Andrew Cagney <[email protected]> |
70 | ||
71 | * sparc-tdep.c (sparc_gdbarch_init): Add comment explaining why | |
72 | ON_STACK is needed. | |
73 | ||
2ceb85d0 BE |
74 | 2002-04-26 Ben Elliston <[email protected]> |
75 | ||
76 | * target.c (do_xfer_memory): Correct reference to the new option | |
77 | "trust-readonly-sections". | |
78 | ||
f5f8a009 EZ |
79 | 2002-04-26 Elena Zannoni <[email protected]> |
80 | ||
81 | * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define. | |
82 | * gdbtypes.c (recursive_dump_type): Output the vector flag. | |
83 | * dwarf2read.c (dwarf_attr_name): Handle new attribute for | |
84 | vectors. | |
85 | (read_array_type): Record the fact that this array type is really a | |
86 | vector (i.e. are passed in by value). | |
87 | ||
5868c862 JT |
88 | 2002-04-26 Jason Thorpe <[email protected]> |
89 | ||
90 | * alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member. | |
91 | * alpha-tdep.c (alpha_sigcontext_addr): New function. | |
92 | (alpha_find_saved_regs): Use alpha_sigcontext_addr. | |
93 | (alpha_gdbarch_init): Initialize tdep->sigcontext_addr. | |
94 | * alpha-linux-tdep.c: Include frame.h. | |
95 | (alpha_linux_sigcontext_addr): New function. | |
96 | (alpha_linux_init_abi): Set tdep->sigcontext_addr to | |
97 | alpha_linux_sigcontext_addr. | |
98 | * alpha-osf1-tdep.c: Include gdbcore.h. | |
99 | (alpha_osf1_sigcontext_addr): New function. | |
100 | (alpha_osf1_init_abi): Set tdep->sigcontext_addr to | |
101 | alpha_osf1_sigcontext_addr. | |
102 | * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove. | |
103 | * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove. | |
104 | ||
bfb01f37 AC |
105 | 2002-04-26 Andrew Cagney <[email protected]> |
106 | ||
107 | * stack.c (selected_frame_level): | |
108 | (select_frame): Do not set selected_frame_level. | |
109 | * frame.h (selected_frame_level): Delete declaration. | |
110 | ||
15813d3f AC |
111 | 2002-04-26 Andrew Cagney <[email protected]> |
112 | ||
113 | * rs6000-tdep.c (rs6000_gdbarch_init): Only set | |
114 | convert_from_func_ptr-addr when AIX / PowerOpen. | |
115 | ||
6096c27a AC |
116 | 2002-04-25 Andrew Cagney <[email protected]> |
117 | ||
118 | * valops.c (hand_function_call): Call | |
119 | generic_save_call_dummy_addr. | |
120 | * frame.h (generic_save_call_dummy_addr): Declare. | |
121 | * blockframe.c (struct dummy_frame): Add fields call_lo and | |
122 | call_hi. | |
123 | (generic_find_dummy_frame): Check for PC in range call_lo to | |
124 | call_hi instead of entry_point_address. | |
125 | (generic_pc_in_call_dummy): Search the dummy frames for a PC in | |
126 | the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK. | |
127 | (generic_save_call_dummy_addr): New function. | |
128 | ||
f510d44e DM |
129 | 2002-04-24 David S. Miller <[email protected]> |
130 | ||
131 | * sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates | |
132 | sparc_skip_prologue. | |
133 | (sparc_skip_prologue): Kill frameless_p arg, and use line number | |
134 | information to find prologue when possible. | |
135 | (sparc_prologue_frameless_p): Call examine_prologue directly. | |
136 | (sparc_gdbarch_init): Update set_gdbarch_skip_prologue call. | |
137 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed | |
138 | second argument. | |
139 | (SKIP_PROLOGUE): Likewise. | |
140 | ||
15d72a92 JT |
141 | 2002-04-25 Jason Thorpe <[email protected]> |
142 | ||
143 | * alpha-tdep.c (alpha_skip_prologue_internal): Remove | |
144 | GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to | |
145 | indicate that the condition it was testing is always true. | |
146 | * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove. | |
147 | * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
148 | * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
149 | ||
accc6d1f JT |
150 | 2002-04-25 Jason Thorpe <[email protected]> |
151 | ||
152 | * alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members. | |
153 | * alpha-linux-tdep.c (alpha_linux_init_abi): Initialize | |
154 | tdep->jb_pc and tdep->jb_elt_size. | |
155 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise. | |
156 | * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise. | |
157 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
158 | * alpha-nat.c (get_longjmp_target): Remove. | |
159 | (JB_ELEMENT_SIZE): Ditto. | |
160 | (JB_PC): Ditto. | |
161 | * alpha-tdep.c (alpha_get_longjmp_target): New function. | |
162 | (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the | |
163 | OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target | |
164 | to alpha_get_longjmp_target. | |
165 | (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size. | |
166 | * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove. | |
167 | * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove. | |
168 | ||
1bfdc549 AC |
169 | 2002-04-25 Andrew Cagney <[email protected]> |
170 | ||
171 | * README: Update to GDB 5.2. | |
172 | ||
1bd316f0 AC |
173 | 2002-04-25 Andrew Cagney <[email protected]> |
174 | ||
175 | * gdbarch.sh (LC_ALL): Set to `c'. | |
176 | ||
2e5ff58c TR |
177 | 2002-04-25 Theodore A. Roth <[email protected]> |
178 | ||
179 | * avr-tdep.c: Ran through gdb_indent.sh. | |
180 | ||
e33ce519 TR |
181 | 2002-04-25 Theodore A. Roth <[email protected]> |
182 | ||
183 | * MAINTAINERS: Add myself as AVR maintainer. | |
184 | * NEWS: Note new target avr. | |
185 | ||
8818c391 TR |
186 | 2002-04-25 Theodore A. Roth <[email protected]> |
187 | ||
188 | * Makefile.in: Add support for AVR target. | |
189 | * configure.tgt: Add support for AVR target. | |
190 | * avr-tdep.c: New file | |
191 | * config/avr/avr.mt: New file. | |
192 | ||
79509c2d TR |
193 | 2002-04-25 Theodore A. Roth <[email protected]> |
194 | ||
195 | * MAINTAINERS: Add myself to write-after-approval. | |
196 | ||
dac8068e PM |
197 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
198 | ||
199 | * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... | |
200 | with fprintf_unfiltered (gdb_stderr,.... | |
201 | ||
25bf3106 PM |
202 | 2002-04-25 Pierre Muller <[email protected]> |
203 | ||
204 | Fix PR gdb/508. | |
205 | * symfile.c (add_filename_language): Fix wrong xrealloc size argument. | |
206 | ||
24467a86 PM |
207 | 2002-04-25 Pierre Muller <[email protected]> |
208 | ||
209 | * p-exp.y: Also use new prev_lexptr variable | |
210 | to improve error reporting. Based on Michael Snyder | |
211 | 2002-04-24 dated patch to c-exp.y. | |
212 | ||
95b80706 JT |
213 | 2002-04-25 Jason Thorpe <[email protected]> |
214 | ||
215 | * alpha-tdep.c (alpha_breakpoint_from_pc): New function. | |
216 | (alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to | |
217 | alpha_breakpoint_from_pc. Set gdbarch_function_start_offset | |
218 | to 0. | |
219 | * config/alpha/tm-alpha.h: Remove forward decls of struct type | |
220 | and struct value. | |
221 | (FUNCTION_START_OFFSET): Remove. | |
222 | (BREAKPOINT): Ditto. | |
223 | ||
e90cc612 JT |
224 | 2002-04-25 Jason Thorpe <[email protected]> |
225 | ||
226 | * MAINTAINERS: Reflect that multi-arch is enabled for VAX. | |
227 | * NEWS: Ditto. | |
228 | ||
6c72f9f9 JT |
229 | 2002-04-24 Jason Thorpe <[email protected]> |
230 | ||
231 | * alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function. | |
232 | (alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to | |
233 | alpha_linux_pc_in_sigtramp. | |
234 | * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function. | |
235 | (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to | |
236 | alpha_osf1_pc_in_sigtramp. | |
237 | * alpha-tdep.c (alpha_osf_in_sigtramp): Remove. | |
238 | * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function. | |
239 | (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
240 | alphafbsd_pc_in_sigtramp. | |
241 | * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function. | |
242 | (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
243 | alphanbsd_pc_in_sigtramp. | |
244 | * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove. | |
245 | * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove. | |
246 | ||
5e4f3379 JT |
247 | 2002-04-24 Jason Thorpe <[email protected]> |
248 | ||
249 | * config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
250 | ||
da8ca43d JT |
251 | 2002-04-24 Jason Thorpe <[email protected]> |
252 | ||
253 | * Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and | |
254 | alphanbsd-tdep.c. | |
255 | (alphanbsd-nat.o): New dependency list. | |
256 | (alphanbsd-tdep.o): Ditto. | |
257 | * NEWS: Note new native NetBSD/alpha configuration. | |
258 | * alphanbsd-nat.c: New file. | |
259 | * alphanbsd-tdep.c: Ditto. | |
260 | * configure.host (alpha*-*-netbsd*): New host. | |
261 | * configure.tgt (alpha*-*-netbsd*): New target. | |
262 | * config/alpha/nbsd.mh: New file. | |
263 | * config/alpha/nbsd.mt: Ditto. | |
264 | * config/alpha/nm-nbsd.h: Ditto. | |
265 | * config/alpha/tm-nbsd.h: Ditto. | |
266 | ||
36a6271d JT |
267 | 2002-04-24 Jason Thorpe <[email protected]> |
268 | ||
269 | * Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c. | |
270 | (alpha-osf1-tdep.o): New dependency list. | |
271 | * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset | |
272 | and skip_sigtramp_frame members. | |
273 | * alpha-linux-tdep.c: Include gdbcore.h. | |
274 | (alpha_linux_sigtramp_offset): Change return type to LONGEST. | |
275 | (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset. | |
276 | * alpha-osf1-tdep.c: New file. | |
277 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to | |
278 | alpha-osf1-dep.c. | |
279 | (alpha_frame_past_sigtramp_frame): New function. | |
280 | (alpha_dynamic_sigtramp_offset): Ditto. | |
281 | (alpha_proc_desc_is_dyn_sigtramp): Ditto. | |
282 | (alpha_set_proc_desc_is_dyn_sigtramp): Ditto. | |
283 | (ALPHA_PROC_SIGTRAMP_MAGIC): Define. | |
284 | (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp. | |
285 | (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp. | |
286 | (find_proc_desc): Use alpha_dynamic_sigtramp_offset. | |
287 | (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame. | |
288 | (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp. | |
289 | (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp. | |
290 | (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset | |
291 | and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code | |
292 | to find_solib_trampoline_target. | |
293 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o. | |
294 | * config/alpha/tm-alpha.h: Remove inclusion of regcache.h. | |
295 | (SKIP_TRAMPOLINE_CODE): Remove. | |
296 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
297 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
298 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
299 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
300 | * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove. | |
301 | (PROC_SIGTRAMP_MAGIC): Ditto. | |
302 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
303 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
304 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
305 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
306 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
307 | ||
2f4bc57b JT |
308 | 2002-04-24 Jason Thorpe <[email protected]> |
309 | ||
310 | * NEWS: Note that Alpha targets are now multi-arch. | |
311 | ||
665132f9 MS |
312 | 2002-04-24 Michael Snyder <[email protected]> |
313 | ||
314 | * parser-defs.h (prev_lexptr): New external variable. | |
315 | * parse.c (parse_exp_1): Set prev_lexptr to null before | |
316 | calling the language-specific parser. | |
317 | * c-exp.y (yylex): Set prev_lexptr to start of current token. | |
318 | (yyerror): Use prev_lexptr in error reporting. | |
319 | ||
32872fa7 DJ |
320 | 2002-04-24 Daniel Jacobowitz <[email protected]> |
321 | ||
322 | * config/i386/tm-linux.h: Define FILL_FPXREGSET. | |
323 | * gregset.h: If FILL_FPXREGSET is defined, provide | |
324 | gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset. | |
325 | * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET | |
326 | is defined, call fill_fpxregset. | |
327 | ||
57e76fac MS |
328 | 2002-04-24 Roland McGrath <[email protected]> |
329 | ||
330 | * config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here. | |
331 | * i386gnu-nat.c [HAVE_SYS_PROCFS_H] | |
332 | (supply_gregset, supply_fpregset): New functions. | |
333 | ||
334 | * gnu-nat.c (gnu_find_memory_regions): New function. | |
335 | (init_gnu_ops): Set `to_find_memory_regions' hook to that. | |
336 | (gnu_xfer_memory): Add a cast. | |
337 | ||
f43845b3 MS |
338 | 2002-04-24 Michael Snyder <[email protected]> |
339 | ||
340 | * arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the | |
341 | loop. Add handling for "str lr, [sp, #-4]!" and for saves | |
342 | of argument regs ("str r(0123), [r11, #-nn"]). | |
343 | (arm_skip_prologue): Better handling for frameless functions. | |
344 | Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]". | |
345 | (arm_skip_prologue): Recognize str r(0123), [r11, #-nn]. | |
346 | ||
a0abec03 AC |
347 | Wed Apr 24 14:22:21 2002 Andrew Cagney <[email protected]> |
348 | ||
349 | * arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor | |
350 | NUM_PSEUDO_REGS can be used. | |
351 | ||
d7bd68ca AC |
352 | 2002-04-24 Andrew Cagney <[email protected]> |
353 | ||
354 | * arch-utils.h: Update copyright. | |
355 | ||
356 | * gdbarch.sh (PC_IN_SIGTRAMP): Add. | |
357 | * gdbarch.h, gdbarch.c: Re-generate. | |
358 | ||
359 | * inferior.h (IN_SIGTRAMP): Delete definition. | |
360 | * arch-utils.c (legacy_pc_in_sigtramp): New function. | |
361 | * arch-utils.h (legacy_pc_in_sigtramp): Declare. | |
362 | ||
363 | * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP. | |
364 | (mips_dump_tdep): Do not print value of IN_SIGTRAMP. | |
365 | * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP. | |
366 | (find_proc_framesize): Ditto. | |
367 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto. | |
368 | (alpha_init_extra_frame_info): Ditto. | |
369 | * infrun.c (handle_inferior_event): Ditto. | |
370 | (handle_inferior_event): Ditto. | |
371 | (check_sigtramp2): Ditto. | |
372 | * blockframe.c (create_new_frame): Ditto. | |
373 | (get_prev_frame): Ditto. | |
374 | * ppc-linux-tdep.c: Update comments. | |
375 | * i386-linux-tdep.c: Update comments. | |
376 | * breakpoint.c (bpstat_what): Update comment. | |
377 | ||
d06f167a ML |
378 | 2002-04-24 Michal Ludvig <[email protected]> |
379 | ||
380 | * gdbserver/linux-low.c (regsets_fetch_inferior_registers), | |
381 | (regsets_store_inferior_registers): Removed cast to int from | |
382 | ptrace() calls. | |
383 | * gdbserver/regcache.h: Added declaration of struct inferior_info. | |
384 | ||
4867e41e DM |
385 | 2002-04-24 David S. Miller <[email protected]> |
386 | ||
21d83aa5 DM |
387 | * i960-tdep.c (register_in_window_p): New function. |
388 | (i960_find_saved_register): Use it instead of | |
389 | REGISTER_IN_WINDOW_P. | |
390 | * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete. | |
391 | ||
4867e41e DM |
392 | * symtab.h (find_stab_function_addr): Kill extern. |
393 | * minsyms.c (find_stab_function_addr): Remove from here... | |
394 | * dbxread.c: ... to here, and mark it static. | |
395 | ||
69cdf6a2 DM |
396 | 2002-04-20 David S. Miller <[email protected]> |
397 | ||
398 | * sparc-tdep.c (sparc_pop_frame): Only need to allocate | |
399 | SPARC_INTREG_SIZE * 16 bytes for reg_temp. | |
400 | ||
5a595886 DM |
401 | 2002-04-21 David S. Miller <[email protected]> |
402 | ||
403 | * remote-vxsparc.c (vx_read_register): Fix typo, we want | |
404 | REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR. | |
405 | (vx_write_register): Likewise. | |
406 | ||
1da1a192 JB |
407 | 2002-04-23 J. Brobecker <[email protected]> |
408 | ||
409 | * source.c (is_regular_file): New function. | |
410 | (openp): Check wether file to open is a regular file | |
411 | to avoid opening directories. | |
412 | ||
baa6f10b JT |
413 | 2002-04-22 Jason Thorpe <[email protected]> |
414 | ||
415 | * findvar.c (extract_signed_integer): Cast printf argument | |
416 | to suppress format warning. | |
417 | (extract_unsigned_integer): Likewise. | |
418 | * infcmd.c (registers_info): Likewise. | |
419 | * top.c (get_prompt_1): Likewise. | |
420 | * valops.c (value_assign): Likewise. | |
421 | * valprint.c (print_decimal): Likewise. | |
422 | ||
b2c4da81 L |
423 | 2002-04-22 H.J. Lu ([email protected]) |
424 | ||
425 | * c-exp.y (typebase): Support | |
426 | ||
427 | [long|long long|short] [signed|unsigned] [int|] | |
428 | ||
429 | and | |
430 | ||
431 | signed [long|long long|short] int | |
432 | ||
f267bd6a JT |
433 | 2002-04-22 Jason Thorpe <[email protected]> |
434 | ||
435 | * Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h), | |
436 | and vax-tdep.h. | |
437 | * vax-tdep.h: New file. | |
438 | * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h. | |
439 | Make several routines static. | |
440 | (vax_get_saved_register): New function. | |
441 | (vax_gdbarch_init): New function. | |
442 | (_initialize_vax_tdep): Register vax_gdbarch_init. | |
443 | * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL. | |
444 | Remove macros now under the control of gdbarch. | |
445 | ||
da3c6d4a MS |
446 | 2002-04-22 Michael Snyder <[email protected]> |
447 | ||
11d3b27d MS |
448 | * arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn". |
449 | Some whitespace and coding standards tweaks. | |
da3c6d4a | 450 | |
a33f7558 JT |
451 | 2002-04-22 Jason Thorpe <[email protected]> |
452 | ||
453 | * vax-tdep.c: Include regcache.h. | |
454 | (vax_call_dummy_words): New. | |
455 | (sizeof_vax_call_dummy_words): New. | |
456 | (vax_fix_call_dummy): New function. | |
457 | (vax_saved_pc_after_call): Ditto. | |
458 | * config/vax/tm-vax.h: Don't include regcache.h. | |
459 | (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call. | |
460 | (CALL_DUMMY): Remove. | |
461 | (CALL_DUMMY_WORDS): Define. | |
462 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
463 | (FIX_CALL_DUMMY): Use vax_fix_call_dummy. | |
464 | ||
47a73475 MS |
465 | 2002-04-18 Michael Snyder <[email protected]> |
466 | ||
467 | * arm-tdep.h: Change regnum defines to enums for ease of debugging. | |
468 | ||
52efde73 JT |
469 | 2002-04-22 Jason Thorpe <[email protected]> |
470 | ||
471 | * vax-tdep.c (vax_frame_chain): New function. | |
472 | (vax_push_dummy_frame): Ditto. | |
473 | (vax_pop_frame): Ditto. | |
474 | * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain. | |
475 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
476 | generic_frameless_function_invocation_not. | |
477 | (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame. | |
478 | (POP_FRAME): Use vax_pop_frame. | |
479 | ||
ea74468c JT |
480 | 2002-04-22 Jason Thorpe <[email protected]> |
481 | ||
482 | * vax-tdep.c (vax_store_struct_return): New function. | |
483 | (vax_extract_return_value): Ditto. | |
484 | (vax_store_return_value): Ditto. | |
485 | (vax_extract_struct_value_address): Ditto. | |
486 | * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use | |
487 | vax_store_struct_return. | |
488 | (EXTRACT_RETURN_VALUE): Use vax_extract_return_value. | |
489 | (STORE_RETURN_VALUE): Use vax_store_return_value. | |
490 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address. | |
491 | ||
5516aa92 JT |
492 | 2002-04-22 Jason Thorpe <[email protected]> |
493 | ||
494 | * vax-tdep.c (vax_frame_saved_pc): New function. | |
495 | (vax_frame_args_address_correct): Ditto. | |
496 | (vax_frame_args_address): Ditto. | |
497 | (vax_frame_locals_address): Ditto. | |
498 | (vax_frame_num_args): Move code to be in proximity to | |
499 | other frame-related functions. | |
500 | * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan. | |
501 | (FRAME_SAVED_PC): Use vax_frame_saved_pc. | |
502 | (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct. | |
503 | (FRAME_ARGS_ADDRESS): Use vax_frame_args_address. | |
504 | (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address. | |
505 | ||
36af0b35 L |
506 | 2002-04-22 H.J. Lu ([email protected]) |
507 | ||
508 | * Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and | |
509 | includedir. | |
510 | ||
ab62c900 JT |
511 | 2002-04-22 Jason Thorpe <[email protected]> |
512 | ||
513 | * vax-tdep.c (vax_frame_init_saved_regs): New function. | |
514 | * config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove. | |
515 | (FRAME_INIT_SAVED_REGS): New macro. | |
516 | ||
7232b100 JT |
517 | 2002-04-22 Jason Thorpe <[email protected]> |
518 | ||
519 | * MAINTAINERS: Reflect that the Alpha target has been multi-arch'd. | |
520 | ||
b70d2aee JT |
521 | 2002-04-22 Jason Thorpe <[email protected]> |
522 | ||
523 | * alpha-nat.c (get_longjmp_target): Use ALPHA_* constants | |
524 | where needed. | |
525 | (fetch_osf_core_registers): Likewise. | |
526 | (supply_gregset): Likewise. | |
527 | ||
a0e8a2d1 JB |
528 | 2002-04-22 J. Brobecker <[email protected]> |
529 | ||
530 | * symfile.h (get_section_index): Define. | |
531 | * symfile.c (get_section_index): New function. | |
532 | * mdebugread.c (SC_IS_SBSS): New macro. | |
533 | (SC_IS_BSS): Return true for the scBss storage class only, as | |
534 | the scSBss storage class refers to the .sbss section. | |
535 | (parse_partial_symbols): Discard the symbols which associated | |
536 | section does not exist. | |
537 | Make sure to use the .sbss section index for symbols which | |
538 | storage class is scBss, rather than using the .bss section index. | |
539 | ||
51eb8b08 JT |
540 | 2002-04-22 Jason Thorpe <[email protected]> |
541 | ||
542 | * vax-tdep.c: Update copyright years. | |
543 | (vax_register_name): New function. | |
544 | (vax_register_byte): Ditto. | |
545 | (vax_register_raw_size): Ditto. | |
546 | (vax_register_virtual_size): Ditto. | |
547 | (vax_register_virtual_type): Ditto. | |
548 | * config/vax/tm-vax.h: Update copyright years. | |
549 | (REGISTER_NAMES): Remove. | |
550 | (REGISTER_NAME): Define. | |
551 | (REGISTER_BYTE): Use vax_register_byte. | |
552 | (REGISTER_RAW_SIZE): Use vax_register_raw_size. | |
553 | (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size. | |
554 | (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type. | |
555 | ||
6cc1c0a8 AC |
556 | 2002-04-21 Andrew Cagney <[email protected]> |
557 | ||
558 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore | |
559 | declaration | |
560 | * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error. | |
561 | ||
9319a2fe DM |
562 | 2002-04-21 David S. Miller <[email protected]> |
563 | ||
564 | * arch-utils.c (generic_prologue_frameless_p): Kill | |
565 | SKIP_PROLOGUE_FRAMELESS_P code. | |
566 | * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
567 | references. | |
568 | (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New. | |
569 | * arc-tdep.c (arc_prologue_frameless_p): Implement. | |
570 | * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
571 | references. | |
572 | (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New. | |
573 | * sparc-tdep.c (sparc_prologue_frameless_p): Implement. | |
574 | (sparc_gdbarch_init): Pass it to | |
575 | set_gdbarch_prologue_frameless_p. | |
a0e8a2d1 | 576 | |
e9ed6d01 JT |
577 | 2002-04-21 Jason Thorpe <[email protected]> |
578 | ||
579 | * Makefile.in (ALLDEPFILES): Add alphabsd-nat.c. | |
580 | (alphabsd-nat.o): New dependency list. | |
581 | ||
36012033 JT |
582 | 2002-04-21 Jason Thorpe <[email protected]> |
583 | ||
584 | * Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c and | |
585 | alphafbsd-tdep.c. | |
586 | (alpha-linux-tdep.o): New dependency list. | |
587 | (alphafbsd-tdep.o): Likewise. | |
588 | ||
3379287a JT |
589 | 2002-04-21 Jason Thorpe <[email protected]> |
590 | ||
591 | * alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offset | |
592 | to here... | |
593 | * alpha-tdep.c: ...from here. | |
594 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o. | |
595 | ||
4bcbd6cb JT |
596 | 2002-04-21 Jason Thorpe <[email protected]> |
597 | ||
598 | * config/alpha/tm-alpha.h: Move alpha_software_single_step | |
599 | prototype from here... | |
600 | * alpha-tdep.h: ...to here. | |
601 | ||
b31da25e AC |
602 | 2002-04-21 Andrew Cagney <[email protected]> |
603 | ||
604 | * frame.h (selected_frame_level): Document as deprecated. | |
605 | (frame_relative_level): Declare. | |
606 | * stack.c (frame_relative_level): New function. | |
607 | (selected_frame_level): Document as deprecated. | |
608 | (select_frame): Do not set the selected_frame_level. | |
609 | ||
610 | * stack.c (frame_info, record_selected_frame): Update. | |
611 | (frame_command, current_frame_command): Update. | |
612 | (up_silently_base, up_command, down_silently_base): Update. | |
613 | (down_command): Update. | |
614 | * inflow.c (kill_command): Update. | |
615 | * tracepoint.c (finish_tfind_command): Update. | |
616 | * corelow.c (core_open): Update. | |
617 | * thread.c (info_threads_command): Update. | |
618 | (do_captured_thread_select): Update. | |
619 | * infcmd.c (finish_command): Update. | |
620 | * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update. | |
621 | ||
9c1d6fe5 JT |
622 | 2002-04-21 Jason Thorpe <[email protected]> |
623 | ||
624 | * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove. | |
625 | ||
ab89facf AC |
626 | 2002-04-21 Andrew Cagney <[email protected]> |
627 | ||
628 | * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return | |
629 | type const. | |
630 | ||
82a4efa1 JT |
631 | 2002-04-21 Jason Thorpe <[email protected]> |
632 | ||
633 | * alphafbsd-tdep.c: Update copyright years. Include | |
634 | alpha-tdep.h. | |
635 | (alphafbsd_use_struct_convention): Make static. | |
636 | (alphafbsd_init_abi): New function. | |
637 | (_initialize_alphafbsd_tdep): New function. | |
638 | * config/alpha/tm-fbsd.h: Update copyright years. | |
639 | (USE_STRUCT_CONVENTION): Remove. | |
640 | ||
44dffaac JT |
641 | 2002-04-21 Jason Thorpe <[email protected]> |
642 | ||
643 | * alpha-tdep.c (alpha_abi_handler): New structure to describe | |
644 | an Alpha ABI variant. | |
645 | (alpha_abi_handler_list): Declare. | |
646 | (alpha_gdbarch_register_os_abi): New function. | |
647 | (alpha_gdbarch_init): Give registered ABI variant handlers a | |
648 | chance to tweak the gdbarch once we have set up defaults. | |
649 | * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi. | |
650 | ||
65585be4 JT |
651 | 2002-04-21 Jason Thorpe <[email protected]> |
652 | ||
653 | * alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double | |
654 | to standard_coerce_float_to_double. | |
655 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
656 | ||
d9b023cc JT |
657 | 2002-04-21 Jason Thorpe <[email protected]> |
658 | ||
659 | * alpha-tdep.h (gdbarch_tdep): Add vm_min_address member. | |
660 | * alpha-tdep.c (heuristic_proc_start): Use vm_min_address | |
661 | from gdbarch_tdep rather than a constant. | |
662 | (alpha_gdbarch_init): Initialize tdep->vm_min_address to | |
663 | the default text address for all Alpha Unix ABIs. | |
664 | (alpha_dump_tdep): Report the value of tdep->vm_min_address. | |
665 | * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete. | |
666 | ||
dc129d82 JT |
667 | 2002-04-21 Jason Thorpe <[email protected]> |
668 | ||
669 | * alpha-tdep.h: New file. Includes several Alpha target constants | |
670 | taken from... | |
671 | * config/alpha/tm-alpha.h: ...here. Remove macros that we now | |
672 | let gdbarch deal with. | |
673 | (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. | |
674 | * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd | |
675 | to dependency list. | |
676 | * alpha-nat.c: Include alpha-tdep.h. Update for adjusted | |
677 | Alpha target register names. | |
678 | * alphabsd-nat.c: Likewise. | |
679 | * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted | |
680 | Alpha target register names. Make serveral routines static. | |
681 | (alpha_get_saved_register): New function. | |
682 | (alpha_abi_names): New. | |
683 | (process_note_abi_tag_sections): New function. | |
684 | (get_elfosabi): New function. | |
685 | (alpha_gdbarch_init): New function. | |
686 | (alpha_dump_tdep): New function. | |
687 | (_initialize_alpha_tdep): Register alpha_gdbarch_init. | |
688 | ||
d49d1e0a AC |
689 | 2002-04-21 Andrew Cagney <[email protected]> |
690 | ||
691 | * frame.c (find_saved_register): Delete #ifdef | |
692 | HAVE_REGISTER_WINDOWS code. | |
693 | * config/sparc/tm-sparc.h: Update comments. | |
694 | * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro. | |
695 | ||
92e8c9ed AC |
696 | 2002-04-21 Andrew Cagney <[email protected]> |
697 | ||
698 | * i960-tdep.c (i960_find_saved_register): New function. | |
699 | (i960_get_saved_register): New function. | |
700 | * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define. | |
701 | (i960_get_saved_register): Declare. | |
702 | * config/i960/tm-i960.h, i960-tdep.c: Update copyright. | |
703 | ||
e1925118 DM |
704 | 2002-04-20 David S. Miller <[email protected]> |
705 | ||
706 | * sparc-nat.c (store-inferior_registers): Fix ambiguous else. | |
707 | ||
29673b29 AC |
708 | 2002-04-20 Andrew Cagney <[email protected]> |
709 | ||
710 | * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs | |
711 | instead of NUM_PSEUDO_REGS. | |
712 | ||
6c86dcd5 DM |
713 | 2002-04-20 David S. Miller <[email protected]> |
714 | ||
715 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to | |
716 | GDB_MULTI_ARCH_PARTIAL | |
717 | * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not | |
718 | define, let tm-sp64.h do it. | |
719 | ||
aa40ec90 JT |
720 | 2002-04-20 Jason Thorpe <[email protected]> |
721 | ||
722 | * frame.c (find_saved_register): Avoid a NULL pointer | |
723 | dereference and actually walk the frame list. | |
724 | ||
0f79675b AC |
725 | 2002-04-20 Andrew Cagney <[email protected]> |
726 | ||
727 | * gdbarch.sh (gdbarch_update_p): Keep the list of architectures | |
728 | sorted in most most-recent-used order. Document. | |
729 | * gdbarch.h, gdbarch.c: Regenerate. | |
730 | ||
c04a1aa8 DJ |
731 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
732 | ||
733 | * gdbserver/inferiors.c (struct inferior_info): Add regcache_data. | |
734 | (add_inferior): Call create_register_cache. | |
735 | (clear_inferiors): Call free_register_cache. | |
736 | (inferior_regcache_data, set_inferior_regcache_data): New functions. | |
737 | * gdbserver/regcache.c (struct inferior_regcache_data): New. | |
738 | (registers): Remove. | |
739 | (get_regcache): New function. | |
740 | (create_register_cache, free_register_cache): New functions. | |
741 | (set_register_cache): Don't initialize the register cache here. | |
742 | (registers_to_string, registers_from_string, register_data): Call | |
743 | get_regcache. | |
744 | * gdbserver/regcache.h: Add prototypes. | |
745 | * gdbserver/server.h: Likewise. | |
746 | ||
611cb4a5 DJ |
747 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
748 | ||
749 | * gdbserver/mem-break.c: New file. | |
750 | * gdbserver/mem-break.h: New file. | |
751 | * gdbserver/Makefile.in: Add mem-break.o rule; update server.h | |
752 | dependencies. | |
753 | * gdbserver/inferiors.c (struct inferior_info): Add target_data | |
754 | member. | |
755 | (clear_inferiors): Free target_data member if set. | |
756 | (inferior_target_data, set_inferior_target_data): New functions. | |
757 | * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) | |
758 | (i386_stop_pc, i386_set_pc): New. Add to the_low_target. | |
759 | * gdbserver/linux-low.c (linux_bp_reinsert): New variable. | |
760 | (struct inferior_linux_data): New. | |
761 | (linux_create_inferior): Use set_inferior_target_data. | |
762 | (linux_attach): Likewise. Call add_inferior. | |
763 | (linux_wait_for_one_inferior): New function. | |
764 | (linux_wait): Call it. | |
765 | (linux_write_memory): Add const. | |
766 | (initialize_low): Call set_breakpoint_data. | |
767 | * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint | |
768 | handling members. | |
769 | * gdbserver/server.c (attach_inferior): Remove extra add_inferior | |
770 | call. | |
771 | * gdbserver/server.h: Include mem-break.h. Update inferior.c | |
772 | prototypes. | |
773 | * gdbserver/target.c (read_inferior_memory) | |
774 | (write_inferior_memory): New functions. | |
775 | * gdbserver/target.h (read_inferior_memory) | |
776 | (write_inferior_memory): Change macros to prototypes. | |
777 | (struct target_ops): Update comments. Add const to write_memory | |
778 | definition. | |
779 | ||
f91305dd | 780 | 2002-04-19 Andrew Cagney <[email protected]> |
bf75c8c1 AC |
781 | |
782 | * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame | |
783 | instead of ->prev. | |
784 | * z8k-tdep.c (z8k_frame_chain): Do not use ->prev. | |
785 | * s390-tdep.c (s390_frame_chain): Do not use ->prev. | |
786 | * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain() | |
787 | instead of ->prev. | |
788 | ||
73d322b1 EZ |
789 | 2002-04-19 Elena Zannoni <[email protected]> |
790 | ||
791 | Fix PR gdb/471. | |
792 | * gdbtypes.c (init_simd_type): Rewrite using new functions. | |
793 | (build_builtin_type_vec128): Ditto. | |
794 | (append_composite_type_field): Fix calculation of type length in | |
795 | union case. | |
796 | ||
ccd9a834 EZ |
797 | 2002-04-19 Eli Zaretskii <[email protected]> |
798 | ||
799 | * config/djgpp/README: Update. | |
800 | ||
801 | * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a | |
802 | compiler warnings. | |
803 | ||
a57f9e49 JT |
804 | 2002-04-19 Jason Thorpe <[email protected]> |
805 | ||
806 | * alpha-tdep.c (setup_arbitrary_frame): Rename... | |
807 | (alpha_setup_arbitrary_frame): ...to this. | |
808 | * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update | |
809 | for alpha_setup_arbitrary_frame. | |
810 | ||
f4f9705a AC |
811 | 2002-04-18 Andrew Cagney <[email protected]> |
812 | ||
813 | * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer. | |
814 | * gdbarch.h, gdbarch.c: Regenerate. | |
815 | ||
816 | * defs.h (breakpoint_from_pc_fn): Delete type definition. | |
817 | * target.h (memory_breakpoint_from_pc): Update declaration. | |
818 | * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto. | |
819 | ||
820 | * arch-utils.c (legacy_breakpoint_from_pc): Update return type. | |
821 | * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto. | |
822 | * mem-break.c (memory_breakpoint_from_pc): Ditto. | |
823 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto. | |
824 | * s390-tdep.c (s390_breakpoint_from_pc): Ditto | |
825 | * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto. | |
826 | * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto. | |
827 | * mips-tdep.c (mips_breakpoint_from_pc): Ditto. | |
828 | * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto. | |
829 | * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto. | |
830 | * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto. | |
831 | * arch-utils.c (legacy_breakpoint_from_pc): Ditto.. | |
832 | ||
833 | * mem-break.c (default_memory_insert_breakpoint): Make `bp' a | |
834 | const pointer. | |
835 | * monitor.c (monitor_insert_breakpoint): Ditto. | |
836 | * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'. | |
837 | ||
838 | * config/mcore/tm-mcore.h: Update copyright. | |
839 | * mem-break.c: Ditto. | |
840 | * xstormy16-tdep.c: Ditto. | |
841 | ||
29f319b8 PM |
842 | 2002-04-18 Pierre Muller <[email protected]> |
843 | ||
844 | * p-exp.y: Add precedence rule for '^' token. | |
845 | This removes the shift/reduce conflicts. | |
846 | Remove the comment concerning these shift/reduce conflicts. | |
847 | ||
ebeac11a EZ |
848 | 2002-04-18 Elena Zannoni <[email protected]> |
849 | ||
850 | * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro. | |
851 | (registers_powerpc_nofp): New register set for processors | |
852 | without floating point unit. | |
853 | ||
27c31547 DM |
854 | 2002-04-18 David S. Miller <[email protected]> |
855 | ||
856 | * MAINTAINERS: Add myself to write-after-approval. | |
857 | ||
47a73475 MS |
858 | 2002-04-17 Michael Snyder <[email protected]> |
859 | ||
860 | * MAINTAINERS: Add myself as co-maintainer of testsuite/gdb.asm. | |
861 | ||
953836b2 AC |
862 | 2002-04-17 Andrew Cagney <[email protected]> |
863 | ||
864 | * rs6000-tdep.c (frame_initial_stack_address): Use | |
865 | frame_register_read to read the alloca_reg. | |
866 | ||
8b0d4340 AC |
867 | 2002-04-17 Andrew Cagney <[email protected]> |
868 | ||
869 | * frame.c (find_saved_register): Find saved registers in the next | |
870 | not prev frame. | |
871 | Fix PR gdb/365. | |
872 | ||
d8864532 AC |
873 | 2002-04-17 Andrew Cagney <[email protected]> |
874 | ||
875 | * gdbarch.sh (LANG): Set to ``c''. | |
876 | ||
36cc83a3 AC |
877 | 2002-04-15 Andrew Cagney <[email protected]> |
878 | ||
879 | * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems. | |
880 | ||
2f4150cc | 881 | 2002-04-15 Andrew Cagney <[email protected]> |
2c7ef074 AC |
882 | |
883 | * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h". | |
884 | Update copyright. | |
885 | ||
628703c6 | 886 | * hpread.c (hpread_get_lntt): Add declaration. |
2f4150cc AC |
887 | Also fix PR gdb/391. |
888 | ||
56157b4a AC |
889 | 2002-04-14 Andrew Cagney <[email protected]> |
890 | ||
891 | * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6. | |
892 | * aclocal.m4, configure: Re-generate. | |
893 | Fix PR gdb/391. | |
894 | ||
6d1e3329 EZ |
895 | 2002-04-14 Elena Zannoni <[email protected]> |
896 | ||
897 | * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN | |
898 | instead of tm_print_insn. | |
899 | ||
cb06fa07 EZ |
900 | 2002-04-14 Elena Zannoni <[email protected]> |
901 | ||
902 | * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo. | |
903 | ||
f208ba17 AC |
904 | 2002-04-14 Andrew Cagney <[email protected]> |
905 | ||
906 | * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro. | |
907 | * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro. | |
908 | (get_prev_frame): Do not call FRAME_CHAIN_COMBINE. | |
909 | ||
20f01a46 DH |
910 | 2002-04-12 Don Howard <[email protected]> |
911 | ||
912 | * cli/cli-cmds.c (init_cli_cmds): Add new user settable value: | |
913 | max_user_call_depth. | |
914 | (init_cmd_lists): Initialize the new value; | |
915 | * cli/cli-script.c (execute_user_command): Limit the call depth of | |
916 | user defined commands. This avoids a core-dump when user commands | |
917 | are infinitly recursive. | |
918 | ||
a88376a3 KB |
919 | 2002-04-12 Kevin Buettner <[email protected]> |
920 | ||
921 | * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''. | |
922 | * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset'' | |
923 | from tdep struct instead of DEFAULT_LR_SAVE. | |
924 | (rs6000_gdbarch_init): Initialize ``lr_frame_offset''. | |
925 | * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete. | |
926 | * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete. | |
927 | ||
f2172603 MS |
928 | 2002-04-12 Michael Snyder <[email protected]> |
929 | ||
694f61fb | 930 | * Remote.c: Spelling fix. |
20fe79c8 MS |
931 | * gcore.c (default_derive_heap_segment): Use bfd_section_name. |
932 | If no symbol found for "sbrk", try "_sbrk". | |
933 | (make_output_phdrs): Use bfd_section_name. | |
934 | (gcore_copy_callback): Use bfd_section_name. | |
62995fc4 | 935 | * eval.c: Indentation fix-ups. |
169a7369 MS |
936 | * d10v-tdep.c (d10v_make_iaddr): Make it idempotent, |
937 | in case it gets applied to an address that is already | |
938 | in the instruction space. | |
de74f71f MS |
939 | * cli/cli-decode.c (help_list): Allow long lines to wrap. |
940 | * symfile.c: Fix indentation, long lines. | |
f2172603 MS |
941 | * source.c: White space fix-up. |
942 | ||
cda5a58a AC |
943 | 2002-04-12 Andrew Cagney <[email protected]> |
944 | ||
945 | * defs.h (read_relative_register_raw_bytes): Delete declaration. | |
946 | * frame.c (frame_register_read): New function. Return non-zero on | |
947 | success. | |
948 | (read_relative_register_raw_bytes_for_frame): Delete. | |
949 | (read_relative_register_raw_bytes): Delete. | |
950 | * frame.h (frame_register_read): Declare. | |
951 | * d30v-tdep.c: Update Copyright. Use frame_register_read. | |
952 | * sh-tdep.c: Ditto. | |
953 | * infcmd.c (do_registers_info): Ditto. | |
954 | * hppa-tdep.c: Ditto. | |
955 | * rs6000-tdep.c: Ditto. | |
956 | * h8500-tdep.c: Ditto. | |
957 | * mips-tdep.c: Ditto. | |
958 | * h8300-tdep.c: Ditto. | |
959 | * z8k-tdep.c: Ditto. | |
960 | ||
2ea5f656 KB |
961 | 2002-04-12 Kevin Buettner <[email protected]> |
962 | ||
963 | From Jimi X <[email protected]>: | |
964 | * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for | |
965 | 64-bit SysV ABI. | |
966 | ||
27b15785 KB |
967 | 2002-04-12 Kevin Buettner <[email protected]> |
968 | ||
969 | From Jimi X <[email protected]>: | |
970 | * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from | |
971 | bfd info. | |
972 | ||
5d57ee30 KB |
973 | 2002-04-12 Kevin Buettner <[email protected]> |
974 | ||
975 | From Jimi X <[email protected]>: | |
976 | * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define | |
977 | register sets for these processor variants. | |
978 | ||
bc1e36ca DJ |
979 | 2002-04-11 Daniel Jacobowitz <[email protected]> |
980 | ||
981 | * gdbserver/linux-low.c (usr_store_inferior_registers): Support | |
982 | registers which are allowed to fail to store. | |
983 | * gdbserver/linux-low.h (linux_target_ops): Likewise. | |
984 | * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR. | |
985 | (ppc_cannot_store_register): FPSCR may not be storable. | |
986 | * regformats/reg-ppc.dat: Support FPSCR. | |
987 | ||
e3f36dbd KB |
988 | 2002-04-11 Kevin Buettner <[email protected]> |
989 | ||
990 | * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''. | |
991 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): | |
992 | Add fpscr as an invalid/unfetchable register. | |
993 | * ppc-linux-nat.c (ppc_register_u_addr, store_register) | |
994 | (fetch_ppc_registers, store_ppc_registers, supply_fpregset) | |
995 | (fill_fpregset): Add support for register fpscr. | |
996 | (fetch_ppc_registers, store_ppc_registers, supply_gregset) | |
997 | (fill_gregset): Account for the fact that register ``mq'' might | |
998 | not exist. | |
999 | * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr. | |
1000 | (registers_power): Add fpscr to register set at slot 71. | |
1001 | (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't | |
1002 | exist on most PPC architectures. Initialize ppc_fpscr_regnum. | |
1003 | ||
943c9c25 MS |
1004 | 2002-04-11 Michael Snyder <[email protected]> |
1005 | ||
1006 | * configure.in: Autoconfiscate _SYSCALL32 define for solaris. | |
1007 | * configure: Regenerate. | |
1008 | * config.in: Regenerate. | |
1009 | * acconfig.h: Add define for _SYSCALL32. | |
1010 | * core-sol2.c: Remove #define _SYSCALL32. | |
1011 | * solib-legacy.c: Remove #define _SYSCALL32. | |
1012 | ||
d8c0a2e7 AC |
1013 | 2002-04-10 Andrew Cagney <[email protected]> |
1014 | ||
1015 | * stack.c (select_frame): Cleanup internal error message, do not | |
1016 | use %p. | |
1017 | ||
7cc19214 AC |
1018 | 2002-04-10 Andrew Cagney <[email protected]> |
1019 | ||
1020 | * stack.c (select_frame): Check that selected_frame and the | |
1021 | specified level are as expected. | |
1022 | * blockframe.c (get_prev_frame): Set the `level' from next_frame. | |
1023 | Update copyright. | |
1024 | * frame.h (struct frame_info): Add field `level'. Update | |
1025 | copyright. | |
1026 | Work-in-progress PR gdb/464. | |
1027 | ||
67a2b77e AC |
1028 | 2002-04-10 Andrew Cagney <[email protected]> |
1029 | ||
1030 | * maint.c (maint_print_section_info): Rename print_section_info. | |
1031 | (print_bfd_section_info, print_objfile_section_info): Update. | |
1032 | * inferior.h (struct gdbarch): Add opaque declaration. | |
1033 | * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh. | |
1034 | * gdbarch.h: Regenerate. | |
1035 | ||
8cfda98c ML |
1036 | 2002-04-10 Michal Ludvig <[email protected]> |
1037 | ||
1038 | * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete. | |
1039 | (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h. | |
1040 | (kernel_u_size): Added. | |
1041 | * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete. | |
1042 | (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h. | |
1043 | ||
ca439ad2 JI |
1044 | 2002-04-04 Jim Ingham <[email protected]> |
1045 | ||
1046 | * valarith.c (find_size_for_pointer_math): New function, either returns | |
1047 | the size for a pointer's target, returns 1 for void *, or errors for | |
1048 | incomplete types. | |
1049 | (value_add, value_sub): use find_size_for_pointer_math. | |
1050 | ||
2f2893d9 DJ |
1051 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
1052 | ||
1053 | * linux-low.c (linux_look_up_symbols): New hook. | |
1054 | (linux_target_ops): Add linux_look_up_symbols. | |
1055 | * remote-utils.c (decode_address): New function. | |
1056 | (look_up_one_symbol): New function. | |
1057 | * server.c (handle_query): Call target look_up_symbols hook. | |
1058 | * server.h (look_up_one_symbol): Add prototype. | |
1059 | * target.h (struct target_ops): Add look_up_symbols hook. | |
1060 | ||
2ec06d2e DJ |
1061 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
1062 | ||
d64b8841 DJ |
1063 | * gdbserver/server.h: Include <string.h> if HAVE_STRING_H. |
1064 | * ChangeLog: Correct paths in last ChangeLog entry. | |
1065 | ||
1066 | 2002-04-09 Daniel Jacobowitz <[email protected]> | |
1067 | ||
1068 | * gdbserver/linux-low.h: Remove obsolete prototypes. | |
2ec06d2e DJ |
1069 | (struct linux_target_ops): New. |
1070 | (extern the_low_target): New. | |
d64b8841 | 1071 | * gdbserver/linux-low.c (num_regs, regmap): Remove declarations. |
2ec06d2e DJ |
1072 | (register_addr): Use the_low_target explicitly. |
1073 | (fetch_register): Likewise. | |
1074 | (usr_fetch_inferior_registers): Likewise. | |
1075 | (usr_store_inferior_registers): Likewise. | |
d64b8841 | 1076 | * gdbserver/linux-arm-low.c (num_regs): Remove. |
2ec06d2e DJ |
1077 | (arm_num_regs): Define. |
1078 | (arm_regmap): Renamed from regmap, made static. | |
1079 | (arm_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1080 | made static. | |
1081 | (arm_cannot_store_register): Renamed from cannot_store_register, | |
1082 | made static. | |
1083 | (the_low_target): New. | |
d64b8841 | 1084 | * gdbserver/linux-i386-low.c (num_regs): Remove. |
2ec06d2e DJ |
1085 | (i386_num_regs): Define. |
1086 | (i386_regmap): Renamed from regmap, made static. | |
1087 | (i386_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1088 | made static. | |
1089 | (i386_cannot_store_register): Renamed from cannot_store_register, | |
1090 | made static. | |
1091 | (the_low_target): New. | |
d64b8841 | 1092 | * gdbserver/linux-ia64-low.c (num_regs): Remove. |
2ec06d2e DJ |
1093 | (ia64_num_regs): Define. |
1094 | (ia64_regmap): Renamed from regmap, made static. | |
1095 | (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1096 | made static. | |
1097 | (ia64_cannot_store_register): Renamed from cannot_store_register, | |
1098 | made static. | |
1099 | (the_low_target): New. | |
d64b8841 | 1100 | * gdbserver/linux-m68k-low.c (num_regs): Remove. |
2ec06d2e DJ |
1101 | (m68k_num_regs): Define. |
1102 | (m68k_regmap): Renamed from regmap, made static. | |
1103 | (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1104 | made static. | |
1105 | (m68k_cannot_store_register): Renamed from cannot_store_register, | |
1106 | made static. | |
1107 | (the_low_target): New. | |
d64b8841 | 1108 | * gdbserver/linux-mips-low.c (num_regs): Remove. |
2ec06d2e DJ |
1109 | (mips_num_regs): Define. |
1110 | (mips_regmap): Renamed from regmap, made static. | |
1111 | (mips_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1112 | made static. | |
1113 | (mips_cannot_store_register): Renamed from cannot_store_register, | |
1114 | made static. | |
1115 | (the_low_target): New. | |
d64b8841 | 1116 | * gdbserver/linux-ppc-low.c (num_regs): Remove. |
2ec06d2e DJ |
1117 | (ppc_num_regs): Define. |
1118 | (ppc_regmap): Renamed from regmap, made static. | |
1119 | (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1120 | made static. | |
1121 | (ppc_cannot_store_register): Renamed from cannot_store_register, | |
1122 | made static. | |
1123 | (the_low_target): New. | |
d64b8841 | 1124 | * gdbserver/linux-s390-low.c (num_regs): Remove. |
2ec06d2e DJ |
1125 | (s390_num_regs): Define. |
1126 | (s390_regmap): Renamed from regmap, made static. | |
1127 | (s390_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1128 | made static. | |
1129 | (s390_cannot_store_register): Renamed from cannot_store_register, | |
1130 | made static. | |
1131 | (the_low_target): New. | |
d64b8841 | 1132 | * gdbserver/linux-sh-low.c (num_regs): Remove. |
2ec06d2e DJ |
1133 | (sh_num_regs): Define. |
1134 | (sh_regmap): Renamed from regmap, made static. | |
1135 | (sh_cannot_fetch_register): Renamed from cannot_fetch_register, | |
1136 | made static. | |
1137 | (sh_cannot_store_register): Renamed from cannot_store_register, | |
1138 | made static. | |
1139 | (the_low_target): New. | |
d64b8841 | 1140 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. |
2ec06d2e DJ |
1141 | (the_low_target): New. |
1142 | ||
96cb11df AC |
1143 | 2002-04-09 Andrew Cagney <[email protected]> |
1144 | ||
1145 | * frame.c (read_relative_register_raw_bytes_for_frame): Do not | |
1146 | override FP_REGNUM with frame->fp. Update copyright. | |
1147 | * parse.c (num_std_regs, std_regs): Delete. | |
1148 | (target_map_name_to_register): Do not search std_regs. Update | |
1149 | function description. | |
1150 | * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete | |
1151 | declarations. Update copyright. | |
1152 | Fix PR gdb/251. | |
1153 | ||
c3a3ccc7 DJ |
1154 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
1155 | ||
1156 | * gdbserver/Makefile.in: Add stamp-h target. | |
1157 | * gdbserver/configure.in: Create stamp-h. | |
1158 | * gdbserver/configure: Regenerated. | |
1159 | ||
ce3a066d DJ |
1160 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
1161 | ||
1162 | * gdbserver/inferiors.c: New file. | |
1163 | * gdbserver/target.c: New file. | |
1164 | * gdbserver/target.h: New file. | |
1165 | * gdbserver/Makefile.in: Add target.o and inferiors.o. Update | |
1166 | dependencies. | |
1167 | * gdbserver/linux-low.c (inferior_pid): New static variable, | |
1168 | moved from server.c. | |
1169 | (linux_create_inferior): Renamed from create_inferior. | |
1170 | Call add_inferior. Return 0 on success instead of a PID. | |
1171 | (linux_attach): Renamed from myattach. | |
1172 | (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). | |
1173 | (linux_thread_alive): Renamed from mythread_alive. | |
1174 | (linux_wait): Renamed from mywait. Call clear_inferiors () if the | |
1175 | child dies. | |
1176 | (linux_resume): Renamed from myresume. Add missing ``return 0''. | |
1177 | (regsets_store_inferior_registers): Correct error message. | |
1178 | Add missing ``return 0''. | |
1179 | (linux_fetch_registers): Renamed from fetch_inferior_registers. | |
1180 | (linux_store_registers): Renamed from store_inferior_registers. | |
1181 | (linux_read_memory): Renamed from read_inferior_memory. | |
1182 | (linux_write_memory): Renamed from write_inferior_memory. | |
1183 | (linux_target_ops): New structure. | |
1184 | (initialize_low): Call set_target_ops (). | |
1185 | * gdbserver/remote-utils.c (unhexify): New function. | |
1186 | (hexify): New function. | |
1187 | (input_interrupt): Send signals to ``signal_pid''. | |
1188 | * gdbserver/server.c (inferior_pid): Remove. | |
1189 | (start_inferior): Update create_inferior call. | |
1190 | (attach_inferior): Call add_inferior. | |
1191 | (handle_query): New function. | |
1192 | (main): Call handle_query for `q' packets. | |
1193 | * gdbserver/server.h: Include "target.h". Remove obsolete prototypes. | |
1194 | Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. | |
1195 | ||
0729219d DJ |
1196 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
1197 | ||
1198 | * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury | |
1199 | dependencies. | |
1200 | * gdbserver/configure.in: Check for <string.h> | |
1201 | * gdbserver/configure: Regenerate. | |
1202 | * gdbserver/config.in: Regenerate. | |
1203 | * gdbserver/gdbreplay.c: Include needed system headers. | |
1204 | (remote_open): Remove strchr prototype. | |
1205 | * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. | |
1206 | * gdbserver/regcache.c (supply_register): Change buf argument to const void *. | |
1207 | (supply_register_by_name): Likewise. | |
1208 | (collect_register): Change buf argument to void *. | |
1209 | (collect_register_by_name): Likewise. | |
1210 | * gdbserver/regcache.h: Add missing prototypes. | |
1211 | * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa. | |
1212 | * gdbserver/server.c (handle_query): New function. | |
1213 | (attached): New static variable, moved out of main. | |
1214 | (main): Quiet longjmp clobber warnings. | |
1215 | * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. | |
1216 | * gdbserver/utils.c (error): Remove NORETURN. | |
1217 | (fatal): Likewise. | |
1218 | ||
97658e92 DJ |
1219 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
1220 | ||
1221 | * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer | |
1222 | after the last symbol in a block. | |
1223 | ||
6044e3eb PM |
1224 | 2002-04-09 Pierre Muller <[email protected]> |
1225 | ||
1226 | * p-exp.y (yylex): Handle also the fact that is_a_field_of_this | |
1227 | is non zero as a found symbol. | |
1228 | ||
0406ec40 AC |
1229 | 2002-04-08 Andrew Cagney <[email protected]> |
1230 | ||
1231 | * findvar.c: Include "builtin-regs.h". | |
1232 | (value_of_register): Call value_of_builtin_reg when applicable. | |
1233 | * parse.c: Include "builtin-regs.h" and "gdb_assert.h". | |
1234 | (target_map_name_to_register): Call | |
1235 | builtin_reg_map_name_to_regnum. | |
1236 | * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c. | |
1237 | (COMMON_OBS): Add builtin-regs.o and std-regs.o. | |
1238 | (builtin_regs_h): Define. | |
1239 | (builtin-regs.o): New target. | |
1240 | (findvar.o): Add $(builtin_regs_h). | |
1241 | * builtin-regs.c, builtin-regs.h: New files. | |
1242 | * std-regs.c: New file. | |
1243 | Partial fix for PR gdb/251. | |
1244 | ||
56a6dfb9 KB |
1245 | 2002-04-08 Kevin Buettner <[email protected]> |
1246 | ||
1247 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn; | |
1248 | it's no longer required. | |
1249 | ||
3a808432 AC |
1250 | 2002-04-08 Andrew Cagney <[email protected]> |
1251 | ||
1252 | * Makefile.in (gdbtk-wrapper.o): Add missing dependencies. | |
1253 | ||
7c40d541 KB |
1254 | 2002-04-08 Kevin Buettner <[email protected]> |
1255 | ||
1256 | From Jimi X <[email protected]>: | |
1257 | * rs6000-tdep.c (rs6000_software_single_step): Use | |
1258 | rs6000_breakpoint_from_pc() to fetch breakpoint instruction | |
1259 | and size. Use target_insert_breakpoint() and | |
1260 | target_remove_breakpoint() to insert and remove breakpoints | |
1261 | instead of explicit memory reads and writes. | |
1262 | ||
cc9836a8 KB |
1263 | 2002-04-08 Kevin Buettner <[email protected]> |
1264 | ||
1265 | * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete. | |
1266 | * rs6000-tdep.c (rs6000_push_arguments): Eliminate | |
1267 | ELF_OBJECT_FORMAT ifdef. | |
1268 | ||
7495d1dc KB |
1269 | 2002-04-08 Kevin Buettner <[email protected]> |
1270 | ||
1271 | From Jimi X <[email protected]>: | |
1272 | * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn(). | |
1273 | ||
4288e836 KB |
1274 | 2002-04-08 Kevin Buettner <[email protected]> |
1275 | ||
1276 | From Jimi X <[email protected]>: | |
1277 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro | |
1278 | definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET. | |
1279 | ||
a4e4e501 MK |
1280 | 2002-04-07 Mark Kettenis <[email protected]> |
1281 | ||
1282 | * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions): | |
1283 | s/asprintf/xasprintf/. | |
1284 | (fbsd_make_corefile_notes): s/strdup/xstrdup/. | |
1285 | ||
006defba AC |
1286 | 2002-04-07 Andrew Cagney <[email protected]> |
1287 | ||
1288 | I believe Jeff Law denies responsability for this one: | |
1289 | * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork. | |
1290 | * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork. | |
1291 | * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork. | |
1292 | Work-around for PR gdb/366. | |
1293 | ||
7aa83cac EZ |
1294 | 2002-04-07 Elena Zannoni <[email protected]> |
1295 | ||
1296 | * remote-e7000.c (write_small, e7000_read_inferior_memory, | |
1297 | e7000_read_inferior_memory_large, e7000_insert_breakpoint, | |
1298 | e7000_remove_breakpoint): Use paddr_nz() to print addresses. | |
1299 | ||
cf1fcca1 EZ |
1300 | 2002-04-07 Elena Zannoni <[email protected]> |
1301 | ||
1302 | * sh-tdep.c (sh_fp_frame_init_saved_regs, | |
1303 | sh_nofp_frame_init_saved_regs): Use alloca() for 'where' | |
1304 | information. | |
1305 | ||
3f289e6f AC |
1306 | 2002-04-07 Andrew Cagney <[email protected]> |
1307 | ||
1308 | * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER | |
1309 | maintainer. | |
1310 | ||
129188f6 AC |
1311 | 2002-04-07 Andrew Cagney <[email protected]> |
1312 | ||
1313 | * README (Reporting Bugs in GDB): Document the bug web page as the | |
1314 | prefered way of submitting bugs. | |
1315 | Fix PR gdb/402. | |
1316 | ||
1200cd6e AC |
1317 | 2002-04-06 Andrew Cagney <[email protected]> |
1318 | ||
1319 | * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of | |
1320 | -1. Update comment. | |
1321 | * gdbarch.h, gdbarch.c: Re-generate. | |
1322 | ||
2853c33c AS |
1323 | 2002-04-07 Andreas Schwab <[email protected]> |
1324 | ||
1325 | * m68klinux-nat.c (fill_fpregset): Properly pass address of | |
1326 | buffer to regcache_collect. | |
1327 | ||
c2169756 AC |
1328 | 2002-04-06 Andrew Cagney <[email protected]> |
1329 | ||
1330 | * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1. | |
1331 | * gdbarch.c, gdbarch.h: Re-generate. | |
1332 | ||
25f1b008 AC |
1333 | 2002-04-06 Andrew Cagney <[email protected]> |
1334 | ||
1335 | * symtab.c (lookup_symtab): Remove ``const'' from ``rp'' | |
1336 | declaration. Fix -Werror. | |
1337 | ||
59263426 DJ |
1338 | 2002-04-05 Daniel Jacobowitz <[email protected]> |
1339 | ||
1340 | * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap. | |
1341 | * gdbarch.c: Regenerate. | |
1342 | ||
f5db4da3 MS |
1343 | 2002-04-05 Michael Snyder <[email protected]> |
1344 | ||
80f8a6eb MS |
1345 | * breakpoint.c (clear_command): Rewrite middle section to |
1346 | combine two loops with identical control conditions. | |
1347 | Add a cleanup to eliminate a memory leak. | |
f5db4da3 MS |
1348 | * cli/cli-dump.c (restore_section_callback): Use paddr_nz. |
1349 | ||
ad3dcc5c L |
1350 | 2002-04-05 H.J. Lu ([email protected]) |
1351 | ||
1352 | * solib-svr4.c (bkpt_names): Add "__start". | |
1353 | ||
f32e7a74 AC |
1354 | 2002-04-04 Andrew Cagney <[email protected]> |
1355 | ||
1356 | * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64 | |
1357 | as test for 64 bit target. | |
1358 | ||
8227c0ff AC |
1359 | 2002-04-05 Andrew Cagney <[email protected]> |
1360 | ||
1361 | * h8500-tdep.c (h8500_write_fp): Delete function. | |
1362 | * dwarf2cfi.c (cfi_write_fp): Document as not used. | |
1363 | * mips-tdep.c (mips_gdbarch_init): Do not set write_fp. | |
1364 | * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp. | |
1365 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp. | |
1366 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp. | |
1367 | * s390-tdep.c (s390_gdbarch_init): Do not set write_fp. | |
1368 | (s390_write_fp): | |
1369 | * sh-tdep.c (sh_gdbarch_init): Do not set write_fp. | |
1370 | * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp. | |
1371 | * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp. | |
1372 | (d10v_write_fp): Delete function. | |
1373 | * inferior.h (write_fp, generic_target_write_fp): Delete | |
1374 | declarations. | |
1375 | * regcache.c (generic_target_write_fp): Delete function. | |
1376 | (write_fp): Delete function. | |
1377 | * gdbarch.sh (TARGET_WRITE_FP): Delete. | |
1378 | * gdbarch.h, gdbarch.c: Regenerate. | |
1379 | * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro. | |
1380 | * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro. | |
1381 | (sparc64_write_fp): Delete declaration. | |
1382 | * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro. | |
1383 | (h8500_write_fp): Delete declaration. | |
1384 | ||
2757dd86 AC |
1385 | 2002-04-04 Andrew Cagney <[email protected]> |
1386 | ||
1387 | * sparc-tdep.c (sparc64_write_fp): Delete. | |
1388 | (sparc_push_dummy_frame): Replace write_fp call with code to store | |
1389 | the FP directly. | |
1390 | (sparc_gdbarch_init): Do not initialize write_fp. | |
1391 | ||
c69255e1 KB |
1392 | 2002-04-05 Kevin Buettner <[email protected]> |
1393 | ||
1394 | * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable | |
1395 | clause. | |
1396 | ||
ae767bfb JB |
1397 | 2002-03-29 Jim Blandy <[email protected]> |
1398 | ||
1399 | * stack.c (get_selected_block): Add new argument `addr_in_block', | |
1400 | used to return the exact code address we used to select the block, | |
1401 | not just the block. | |
1402 | * blockframe.c (get_frame_block, get_current_block): Same. | |
1403 | * frame.h (get_frame_block, get_current_block, | |
1404 | get_selected_block): Update declarations. | |
1405 | * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c, | |
1406 | linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed. | |
1407 | ||
84d2ac95 MS |
1408 | 2002-04-05 Michael Snyder <[email protected]> |
1409 | ||
1410 | * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in | |
1411 | warning message. | |
1412 | ||
596aa3bf JB |
1413 | 2002-04-05 J. Brobecker <[email protected]> |
1414 | ||
1415 | * utils.c (xfullpath): New function. | |
1416 | * defs.h (xfullpath): Add declaration. | |
1417 | * source.c (openp): Use xfullpath in place of gdb_realpath to | |
1418 | avoid resolving the basename part of filenames when the | |
1419 | associated file is a symbolic link. This fixes a potential | |
1420 | inconsistency between the filenames known to GDB and the | |
1421 | filenames it prints in the annotations. | |
1422 | * symtab.c (lookup_symtab): Use the new xfullpath function, in order | |
1423 | to be able to match a filename with either the real filename, or | |
1424 | the name of any symbolic link to this file. | |
1425 | (lookup_partial_symtab): Ditto. | |
1426 | ||
c02f5703 MS |
1427 | 2002-04-04 Michael Snyder <[email protected]> |
1428 | ||
1429 | * breakpoint.c: Add support for hardware breakpoints in overlays. | |
1430 | (overlay_events_enabled): New state variable. | |
1431 | (insert_breakpoints): Use overlay_events_enabled to decide | |
1432 | whether to attempt to set a breakpoint at the overlay load addr. | |
1433 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
1434 | (remove_breakpoint): Use overlay_events_enabled to decide | |
1435 | whether breakpoints need to be removed from overlay load addr. | |
1436 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
1437 | (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays. | |
1438 | (create_overlay_event_breakpoint, enable_overlay_breakpoints, | |
1439 | disable_overlay_breakpoints): Update overlay_events_enabled. | |
1440 | ||
5fb290d7 DJ |
1441 | 2002-04-04 Daniel Jacobowitz <[email protected]> |
1442 | ||
1443 | * dwarf2read.c (struct function_range): New. | |
1444 | (cu_first_fn, cu_last_fn, cu_cached_fn): New. | |
1445 | (check_cu_functions): New. | |
1446 | (read_file_scope): Initialize global function lists. | |
1447 | Call dwarf_decode_line after processing children. | |
1448 | (read_func_scope): Add to global function list. | |
1449 | (dwarf_decode_lines): Call check_cu_functions everywhere | |
1450 | record_line is called. Call record_line with a linenumber | |
1451 | of 0 to mark sequence ends. | |
1452 | ||
7b3fabf0 ML |
1453 | 2002-04-04 Michal Ludvig <[email protected]> |
1454 | ||
1455 | * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI | |
1456 | change sync with glibc. | |
1457 | ||
bce58c09 JB |
1458 | 2002-04-03 Jim Blandy <[email protected]> |
1459 | ||
1460 | * configure.in: Call AC_C_INLINE. | |
1461 | * configure: Regenerated. | |
1462 | ||
2fccf04a DJ |
1463 | 2002-04-01 Daniel Jacobowitz <[email protected]> |
1464 | ||
1465 | * rs6000-tdep.c: Change #include of "bfd/libcoff.h" | |
1466 | and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h". | |
1467 | ||
2d1bfe2e MK |
1468 | 2002-03-31 Mark Kettenis <[email protected]> |
1469 | ||
a5941fbf MK |
1470 | * NEWS: Mention gcore support on FreeBSD/i386. |
1471 | ||
a90cd31d MK |
1472 | * fbsd-proc.c: New file. |
1473 | * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define. | |
1474 | * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o. | |
1475 | ||
2d1bfe2e MK |
1476 | * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in |
1477 | while statement. | |
1478 | ||
9eb6e5a1 JB |
1479 | 2002-03-29 Jim Blandy <[email protected]> |
1480 | ||
1481 | * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate | |
1482 | unescaped newlines in string literals, but newer ones don't. So | |
1483 | escape them. | |
1484 | ||
f02df580 MS |
1485 | 2002-03-26 Michael Snyder <[email protected]> |
1486 | Andrew Cagney <[email protected]> | |
1487 | ||
1488 | * cli/cli-dump.c: New file. Dump memory to file, | |
1489 | restore file to memory. | |
1490 | * cli/cli-dump.h: New file. | |
1491 | * Makefile.in: Add rules, dependencies for cli-dump.o. | |
89743e04 | 1492 | * NEWS: Mention new commands. |
f02df580 | 1493 | |
109f874e MS |
1494 | 2002-03-28 Michael Snyder <[email protected]> |
1495 | ||
1496 | * symfile.c (symbol_file_add): Move test for null symbols to later. | |
1497 | ||
520f6ade AC |
1498 | 2002-03-27 Andrew Cagney <[email protected]> |
1499 | ||
1500 | From veksler at il.ibm.com: | |
1501 | * utils.c (gdb_realpath): If canonicalize_file_name fails, return | |
1502 | the xstrduped original path. | |
1503 | Fix PR gdb/417. | |
1504 | ||
d4654627 MS |
1505 | 2002-03-27 Michael Snyder <[email protected]> |
1506 | ||
1507 | * breakpoint.c (_initialize_breakpoint): Clean up help string. | |
1508 | * infcmd.c (_initialize_infcmd): Ditto. | |
1509 | * language.c (_initialize_language): Ditto. | |
1510 | * symfile.c (_initialize_symfile): Ditto. | |
1511 | * top.c (_init_main): Ditto. | |
1512 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
1513 | ||
6be8bc0c EZ |
1514 | 2002-03-27 Elena Zannoni <[email protected]> |
1515 | ||
1516 | * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec | |
1517 | vector registers handling. | |
1518 | (skip_prologue): Handle new AltiVec instructions. Fill in new | |
1519 | fields of frame data. | |
1520 | (frame_get_saved_regs): Fill in information for AltiVec registers. | |
1521 | ||
12af6855 JB |
1522 | 2002-03-27 Jim Blandy <[email protected]> |
1523 | ||
1524 | * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into | |
1525 | a function; leave this macro here to invoke that function. | |
1526 | (symbol_init_mangled_name): Declaration for that function. | |
1527 | * symtab.c (symbol_init_mangled_name): New function. | |
1528 | ||
dc672865 AC |
1529 | 2002-03-27 Andrew Cagney <[email protected]> |
1530 | ||
1531 | * valarith.c: Replace strerror with safe_strerror. | |
1532 | * tracepoint.c: Ditto. | |
1533 | * lin-lwp.c: Ditto. | |
1534 | * go32-nat.c: Ditto. | |
1535 | * inflow.c: Ditto. | |
1536 | * gnu-nat.c: Ditto. | |
1537 | ||
d96429cd AS |
1538 | 2002-03-27 Andreas Schwab <[email protected]> |
1539 | ||
1540 | * event-top.c (command_line_handler): Remove useless if. | |
1541 | ||
7e336ba1 AJ |
1542 | 2002-03-27 Andreas Jaeger <[email protected]> |
1543 | ||
1544 | * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright | |
1545 | comment. | |
1546 | ||
de220d0f ML |
1547 | 2002-03-27 Michal Ludvig <[email protected]> |
1548 | ||
1549 | * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines. | |
1550 | (x86_64_num_regs, x86_64_num_gregs): Added extern variables. | |
1551 | * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS. | |
1552 | (x86_64_linux_dr_get_status, supply_gregset), | |
1553 | (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs. | |
1554 | * x86-64-tdep.c (x86_64_register_raw_size_table): Delete. | |
1555 | (x86_64_register_info_table): Add. | |
1556 | (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add. | |
1557 | (x86_64_register_raw_size, x86_64_register_virtual_type), | |
1558 | (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new | |
1559 | general x86_64_register_info_table. | |
1560 | (i386_gdbarch_init): gdbarch_register_bytes is now set | |
1561 | dynamicaly during initialization. | |
1562 | * regformats/reg-x86-64.dat: Synced with changes to registers above. | |
1563 | * gdbserver/linux-x86-64-low.c: Ditto. | |
7e336ba1 | 1564 | |
0e98d0a7 DJ |
1565 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
1566 | ||
1567 | * gdbserver/server.c (main): Call target_signal_to_host_p | |
1568 | and target_signal_to_host on signals received from the remote. | |
1569 | * gdbserver/remote-utils.c (prepare_resume_reply): Call | |
1570 | target_signal_from_host on signals sent to the remote. | |
1571 | * gdbserver/server.h: Add prototypes. Include "gdb/signals.h". | |
1572 | * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}. | |
1573 | ||
3130066b DJ |
1574 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
1575 | ||
1576 | * signals/signals.c: Include "server.h" in gdbserver build. | |
1577 | (target_signal_from_name): Don't use STREQ. | |
1578 | (_initialize_signals): Likewise. Don't include function in | |
1579 | gdbserver build. | |
1580 | ||
9aedf4f4 DJ |
1581 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
1582 | ||
1583 | * signals.c: Moved to... | |
1584 | * signals/signals.c: Here. | |
7e336ba1 | 1585 | * Makefile (signals.o): Update. |
9aedf4f4 | 1586 | |
3fa41cdb JL |
1587 | 2002-03-26 Jeff Law ([email protected]) |
1588 | ||
1589 | * somread.c (som_symtab_read): Remove some commented out code and | |
1590 | updated related comments. Do not set the minimal symbol table to | |
1591 | mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope | |
1592 | in a dynamic executable. | |
1593 | * hppa-tdep.c (find_proc_framesize): Sanely handle the case | |
1594 | where we are unable to find the minimal symbol for the given | |
1595 | PC value. | |
1596 | ||
ee677e8d MS |
1597 | 2002-03-25 Jeff Law ([email protected]) |
1598 | ||
1599 | * linux-proc.c (read_mapping): Scan up to end of line for filename. | |
1600 | ||
e76e1718 ML |
1601 | 2002-03-25 Michal Ludvig <[email protected]> |
1602 | ||
1603 | * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch. | |
1604 | ||
18a642a1 AC |
1605 | 2002-03-23 Andrew Cagney <[email protected]> |
1606 | ||
1607 | * command.h: Update copyright. | |
1608 | (struct cmd_list_element): Replace definition with opaque | |
1609 | declaration. | |
1610 | (enum cmd_types): Document that it will eventually be moved to | |
1611 | cli/cli-decode.h | |
1612 | (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros. | |
1613 | (MALLOCED_REPLACEMENT): Delete macro. | |
1614 | * Makefile.in (cli_decode_h): Add $(command_h). | |
1615 | (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h). | |
7e336ba1 | 1616 | * top.c: Include "cli/cli-decode.h". |
18a642a1 AC |
1617 | * completer.c: Include "cli/cli-decode.h". |
1618 | * maint.c: Include "cli/cli-decode.h". | |
1619 | * cli/cli-decode.h: Include "command.h". | |
1620 | (enum command_class): Delete. | |
1621 | (enum cmd_types): Comment out. | |
1622 | (enum cmd_auto_boolean): Delete. | |
1623 | (enum var_types): Delete. | |
1624 | ||
b2875cc0 AC |
1625 | 2002-03-23 Andrew Cagney <[email protected]> |
1626 | ||
1627 | * cli/cli-decode.c: Include "gdb_assert.h". | |
1628 | (add_set_or_show_cmd): New static function. | |
1629 | (add_set_cmd): Rewrite. Use add_set_or_show_cmd. | |
1630 | (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy | |
1631 | all fields, such as func, from the set command. | |
1632 | ||
3b45974e AC |
1633 | 2002-03-23 Andrew Cagney <[email protected]> |
1634 | ||
1635 | * MAINTAINERS (sh-elf): Change warning flag to -w. | |
1636 | ||
823ca731 AC |
1637 | 2002-03-23 Andrew Cagney <[email protected]> |
1638 | ||
1639 | * defs.h (error): Add printf format attribute. | |
1640 | * thread-db.c (thread_from_lwp): Fix error format string. | |
1641 | * stack.c (parse_frame_specification): Ditto. | |
1642 | * cli/cli-decode.c (undef_cmd_error): Ditto. | |
1643 | * scm-lang.c (scm_lookup_name): Ditto. | |
1644 | * tracepoint.c (trace_error): Ditto. | |
1645 | * remote-utils.c (usage): Ditto. | |
1646 | * remote.c (compare_sections_command): Ditto. | |
1647 | Fix PR gdb/328. | |
1648 | ||
0e101458 AC |
1649 | 2002-03-22 Andrew Cagney <[email protected]> |
1650 | ||
1651 | * gdbtypes.c (append_composite_type_field): New function. | |
1652 | (init_composite_type): New function. | |
1653 | * gdbtypes.h (append_composite_type_field): Declare. | |
1654 | (init_composite_type): Ditto. | |
1655 | ||
8e0662df EZ |
1656 | 2002-03-22 Elena Zannoni <[email protected]> |
1657 | ||
1658 | * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New | |
7e336ba1 | 1659 | function. |
8e0662df EZ |
1660 | * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export. |
1661 | * rs6000-tdep.c (rs6000_gdbarch_init): Use different | |
1662 | structure returning convention for SYSV ABI case, but not | |
1663 | for GNU/Linux, FreeBSD, or NetBSD. | |
1664 | ||
3121eff0 DJ |
1665 | 2002-03-22 Daniel Jacobowitz <[email protected]> |
1666 | ||
1667 | * symtab.h (lookup_block_symbol): Add mangled_name argument | |
1668 | to prototype. | |
1669 | ||
1670 | * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol | |
1671 | with new mangled_name argument. | |
1672 | * linespec.c (decode_line_1): Likewise. | |
1673 | * valops (value_of_this): Likewise. | |
1674 | * symtab.c (lookup_transparent_type): Likewise. | |
1675 | (lookup_symbol_aux): Likewise. Accept new mangled_name argument. | |
1676 | (lookup_symbol): If we are given a mangled name, pass it down | |
1677 | to lookup_symbol_aux. | |
1678 | (lookup_block_symbol): If we are given a mangled name to check | |
1679 | against, only return symbols which match it. | |
1680 | ||
349b409f CF |
1681 | 2002-03-22 Christopher Faylor <[email protected]> |
1682 | ||
1683 | * win32-nat.c (child_create_inferior): Check for proper shell to use | |
1684 | here, in case the user changes it on the fly. | |
1685 | (_initialize_inftarg): Remove shell path considerations. | |
1686 | ||
2a873819 EZ |
1687 | 2002-03-21 Elena Zannoni <[email protected]> |
1688 | ||
1689 | * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value | |
1690 | for gdbarch_max_register_raw_size and max_register_virtual_size. | |
1691 | Adjust copyright year. | |
1692 | ||
a1b9830c DJ |
1693 | 2002-03-21 Daniel Jacobowitz <[email protected]> |
1694 | ||
1695 | * dbxread.c (process_one_symbol): Extend the first N_SLINE | |
1696 | in a function to cover the entire beginning of the function | |
1697 | as well if it does not already. | |
1698 | ||
8b5790f2 TR |
1699 | 2002-03-21 Tom Rix <[email protected]> |
1700 | ||
1701 | * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32. | |
1702 | (rs6000_ptrace64): Renamed from ptrace64. | |
1703 | ||
bdbe5747 MH |
1704 | 2002-03-20 Martin M. Hunt <[email protected]> |
1705 | ||
1706 | * gdbserver/remote-utils.c (remote_open): Don't call | |
1707 | getprotobyname, we're all using TCP here so just use | |
1708 | IPPROTO_TCP. | |
7e336ba1 | 1709 | * gdbserver/gdbreplay.c (remote_open): Ditto. |
bdbe5747 MH |
1710 | |
1711 | 2002-03-20 Martin M. Hunt <[email protected]> | |
7e336ba1 | 1712 | |
bdbe5747 MH |
1713 | * regcache.c (_initialize_regcache): No need to call |
1714 | build_regcache() at this time; it gets called whenever | |
1715 | the gdbarch changes. | |
1716 | ||
7781cd62 DB |
1717 | 2002-03-20 David O'Brien <[email protected]> |
1718 | ||
1719 | * sparc-nat.c: Include sys/param.h where possible. | |
1720 | ||
f65ca430 DJ |
1721 | 2002-03-20 Daniel Jacobowitz <[email protected]> |
1722 | ||
1723 | Fix PR gdb/422. | |
1724 | * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX, | |
1725 | FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX. | |
1726 | * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for | |
1727 | complex types. | |
1728 | * stabsread.c (rs6000_builtin_type): Likewise. | |
1729 | (read_sun_floating_type): Likewise. | |
1730 | ||
0c867556 PS |
1731 | 2002-03-19 Peter Schauer <[email protected]> |
1732 | ||
1733 | * stabsread.c (read_member_functions): Remove skip code for duplicate | |
1734 | constructor/destructor methods. Use standard parsing for these | |
1735 | methods and just do not chain them to the list of methods after | |
1736 | parsing. | |
1737 | ||
12b9c64f AO |
1738 | 2002-03-19 Alexandre Oliva <[email protected]> |
1739 | ||
1740 | * coffread.c: Remove redundant static declarations. Replace | |
1741 | occurrences of `PTR' with `void *'. | |
1742 | * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise. | |
1743 | * top.h (quit_cover): Likewise. | |
1744 | * defs.h (catch_errors): Likewise. | |
1745 | ||
349c5d5f AC |
1746 | 2002-03-18 Andrew Cagney <[email protected]> |
1747 | ||
1748 | * defs.h (XMALLOC): Define. | |
1749 | * gdb-events.sh (XMALLOC): Delete macro. | |
1750 | * gdb-events.c, gdb-events.h: Regenerate. | |
1751 | * gdbarch.sh (XMALLOC): Delete macro. | |
1752 | * gdbarch.c: Regenerate. | |
1753 | * serial.c (XMALLOC): Delete macro. | |
1754 | * ui-file.c (XMALLOC): Ditto. | |
1755 | * ser-unix.h (XMALLOC): Ditto. | |
1756 | * sh-tdep.c (XMALLOC): Ditto. | |
1757 | * ui-out.c (XMALLOC): Ditto. | |
1758 | * utils.c (XMALLOC): Ditto. | |
1759 | * i386-tdep.c (XMALLOC): Ditto. | |
1760 | * gdb-events.c (XMALLOC): Ditto. | |
1761 | * d10v-tdep.c (XMALLOC): Ditto. | |
1762 | * cli-out.c (XMALLOC): Ditto. | |
1763 | ||
1764 | * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. | |
1765 | * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. | |
1766 | * ui-file.c, ui-out.c: Ditto. | |
1767 | ||
7d0766f3 AC |
1768 | 2002-03-18 Andrew Cagney <[email protected]> |
1769 | ||
1770 | * command.h (struct cmd_list_element): Add field context. | |
1771 | (set_cmd_context, get_cmd_context): Declare. | |
1772 | * cli/cli-decode.h: Ditto. | |
1773 | * cli/cli-decode.c (get_cmd_context): New function. | |
1774 | (set_cmd_context): New function. | |
1775 | (add_cmd): Initialize context. | |
1776 | Part of fixing PR gdb/145 and PR gdb/146. | |
1777 | ||
5913bcb0 AC |
1778 | 2002-03-17 Andrew Cagney <[email protected]> |
1779 | ||
1868c04e AC |
1780 | * cli/cli-decode.c (cmd_type): New function. |
1781 | * command.h (cmd_type): Declare. | |
1782 | * infrun.c (set_schedlock_func): Call function cmd_type. | |
1783 | * kod.c (kod_set_os): Call cmd_type. | |
1784 | * cris-tdep.c (cris_version_update): Use function cmd_type. | |
1785 | (cris_mode_update, cris_abi_update): Ditto. | |
1786 | ||
5913bcb0 AC |
1787 | * command.h: (execute_cmd_post_hook): Declare. |
1788 | (execute_cmd_pre_hook): Declare. | |
1789 | * cli/cli-script.c (clear_hook_in_cleanup): New function. | |
1790 | (execute_cmd_post_hook, execute_cmd_pre_hook): New | |
1791 | functions. Execute pre/post hook while ensuring that afterwords | |
1792 | hook_in is cleared. | |
1793 | * top.c (execute_command): Use execute_cmd_post_hook, and | |
1794 | execute_cmd_pre_hook to execute pre/post commands. | |
1795 | * infrun.c (normal_stop): Pass stop_command and not pre_hook to | |
1796 | hook_stop_stub. | |
1797 | (hook_stop_stub): Call execute_cmd_pre_hook. | |
1798 | ||
b51450c9 AC |
1799 | 2002-03-17 Andrew Cagney <[email protected]> |
1800 | ||
1801 | * kod.c (kod_set_os): Revert previous change. Is called by ``info | |
1802 | set'' and this leads to a core dump. Move xstrdup of | |
1803 | operating_system to after check that it is not NULL. | |
1804 | ||
f66c9f11 AC |
1805 | 2002-03-17 Andrew Cagney <[email protected]> |
1806 | ||
8e694ecf AC |
1807 | * kod.c (kod_set_os): Remove unnecessary check that |
1808 | ``command->type'' is set_cmd. | |
1809 | ||
f66c9f11 AC |
1810 | * valprint.c (set_input_radix): Use input_radix. |
1811 | (set_output_radix): Use output_radix. | |
1812 | (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix | |
1813 | isn't reverted. | |
1814 | ||
9d01611c AC |
1815 | 2002-03-16 Andrew Cagney <[email protected]> |
1816 | ||
1817 | * value.h (struct value): Delete field ``substring_addr''. Change | |
1818 | aligner fields to force_doublest_align, force_longest_align, | |
ee2d3b3a AC |
1819 | force_core_addr_align and force_pointer_aligh. |
1820 | ||
1821 | * value.h (struct value): Fix typo in above change. | |
9d01611c | 1822 | |
4156bb53 PS |
1823 | 2002-03-16 Peter Schauer <[email protected]> |
1824 | ||
1825 | * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip, | |
1826 | to fix internal_error from ``maintenance print architecture''. | |
1827 | ||
0e5e3ea6 PS |
1828 | 2002-03-16 Peter Schauer <[email protected]> |
1829 | ||
1830 | * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type | |
1831 | for gcc versions after gcc-2.8.1. | |
1832 | ||
9b013045 PS |
1833 | 2002-03-16 Peter Schauer <[email protected]> |
1834 | ||
1835 | * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer | |
1836 | for method resolution. Restore adjustment of ``this'' pointer after | |
1837 | calling value_struct_elt, which was accidentally removed during the | |
1838 | HP merge. | |
1839 | ||
376c9600 AC |
1840 | 2002-03-15 Andrew Cagney <[email protected]> |
1841 | ||
1842 | * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to | |
1843 | value_of_register. | |
1844 | * findvar.c (value_of_register): Add ``frame'' parameter. Pass to | |
1845 | get_saved_register. | |
1846 | * value.h (value_of_register): Update. | |
1847 | ||
a4db0f07 RH |
1848 | 2002-03-14 Richard Henderson <[email protected]> |
1849 | ||
1850 | * configure.in: Detect declaration for canonicalize_file_name. | |
1851 | * utils.c (canonicalize_file_name): Declare, if needed. | |
1852 | (gdb_realpath): Prefer realpath if available and usable. | |
1853 | * config.in, configure: Rebuild. | |
1854 | ||
96383835 RH |
1855 | 2002-03-14 Richard Henderson <[email protected]> |
1856 | ||
1857 | * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as | |
1858 | a constant array bound. | |
1859 | ||
1860 | * MAINTAINERS: Add myself to write-after-approval. | |
1861 | ||
75245b24 MS |
1862 | 2002-03-14 Michael Snyder <[email protected]> |
1863 | ||
1864 | * symfile.c (syms_from_objfile): Return immediately if no syms. | |
1865 | (symbol_file_add): Return immediately if no syms. | |
1866 | (find_sym_fns): Return immediately if no syms. | |
1867 | ||
e641a1ca ML |
1868 | 2002-03-13 Michal Ludvig <[email protected]> |
1869 | ||
1870 | * gdbserver/remote-util.c (remote_open): Print remote-side's | |
1871 | IP address when remote debugging over the network. | |
7e336ba1 | 1872 | |
df08bfec DB |
1873 | 2002-03-12 David O'Brien <[email protected]> |
1874 | ||
1875 | * config/sparc/fbsd.mh: Fix copyright. | |
1876 | * config/sparc/fbsd.mt: Likewise. | |
1877 | ||
9a57864f RE |
1878 | 2002-03-11 Richard Earnshaw <[email protected]> |
1879 | ||
1880 | * MAINTAINERS: Fix typo in name of gdb warnings option. | |
1881 | (x86-64): Fix formating so that this can be parsed by awk. | |
1882 | ||
dd7bf85e DJ |
1883 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
1884 | ||
1885 | * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h. | |
1886 | * defs.h: Include "gdb/signals.h". | |
1887 | (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h. | |
1888 | ||
33a0a2ac ML |
1889 | 2002-03-10 Michal Ludvig <[email protected]> |
1890 | ||
1891 | * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c | |
7e336ba1 | 1892 | * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here |
33a0a2ac ML |
1893 | from x86-64-tdep.h |
1894 | ||
dd824b04 DJ |
1895 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
1896 | Don Howard <[email protected]> | |
1897 | ||
1898 | * mips-tdep.c (ST0_FR): Define. | |
1899 | (mips2_fp_compat): New function, temporarily disabled. | |
1900 | (mips_read_fp_register_single): New function. | |
1901 | (mips_read_fp_register_double): New function. | |
1902 | (mips_print_register): Use them. | |
1903 | (do_fp_register_row): Likewise. | |
1904 | ||
6a41ff59 AC |
1905 | 2002-03-09 Andrew Cagney <[email protected]> |
1906 | ||
1907 | * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after | |
1908 | approval''. | |
1909 | ||
4ea09c10 PS |
1910 | 2002-03-08 Peter Schauer <[email protected]> |
1911 | ||
1912 | * stabsread.c (read_member_functions): Fix is_stub test for | |
1913 | static member functions, improve comment. | |
1914 | ||
6ccc741d RE |
1915 | 2002-03-07 Richard Earnshaw <[email protected]> |
1916 | ||
1917 | * remote-rdi.c (myprint): Replace 'PTR' with 'void *'. | |
1918 | (mywrite, mywritec, mypause, myreadc, mygets): Likewise. | |
1919 | (_initialize_remote_rdi): Use add_set_boolean_cmd to register | |
1920 | commands that set boolean values. | |
1921 | (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning. | |
1922 | (arm_rdi_resume): Always initialize PC. | |
1923 | (arm_rdi_open): Don't use rslt as a boolean. | |
1924 | (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume) | |
1925 | (arm_rdi_fetch_registers, arm_rdi_store_registers) | |
1926 | (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill) | |
1927 | (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise. | |
1928 | ||
438013df AO |
1929 | 2002-03-06 Alexandre Oliva <[email protected]> |
1930 | ||
1931 | * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX. | |
1932 | * configure: Rebuilt. | |
1933 | ||
70ed8774 SC |
1934 | 2002-03-06 Stephane Carrez <[email protected]> |
1935 | ||
1936 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn. | |
1937 | (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead. | |
1938 | ||
5ba2abeb AC |
1939 | 2002-03-06 Andrew Cagney <[email protected]> |
1940 | ||
1941 | * cli/cli-decode.c (set_cmd_completer): New function. | |
1942 | * command.h (set_cmd_completer): Declare. | |
1943 | * cli/cli-decode.h (set_cmd_completer): Ditto. | |
1944 | ||
1945 | * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer. | |
1946 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
1947 | * win32-nat.c (_initialize_inftarg): Ditto. | |
1948 | * remote-rdi.c (_initialize_remote_rdi): Ditto. | |
1949 | * proc-api.c (_initialize_proc_api): Ditto. | |
1950 | * hppa-tdep.c (_initialize_hppa_tdep): Ditto. | |
1951 | * source.c (_initialize_source): Ditto. | |
1952 | * exec.c (_initialize_exec): Ditto. | |
1953 | * solib.c (_initialize_solib): Ditto. | |
1954 | * top.c (init_main): Ditto. | |
1955 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
1956 | * symfile.c (_initialize_symfile): Ditto. | |
1957 | * printcmd.c (_initialize_printcmd): Ditto. | |
1958 | * infcmd.c (_initialize_infcmd): Ditto. | |
1959 | * corefile.c (_initialize_core): Ditto. | |
1960 | ||
f779ca99 AC |
1961 | 2002-03-05 Andrew Cagney <[email protected]> |
1962 | ||
1963 | * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler. | |
1964 | ||
01a3934b AC |
1965 | 2002-03-05 Andrew Cagney <[email protected]> |
1966 | ||
1967 | * MAINTAINERS: Fix Mac OS X and Objective-C/C++. | |
1968 | ||
37057839 AC |
1969 | 2002-03-05 Andrew Cagney <[email protected]> |
1970 | ||
1971 | * NEWS: Update headings, 5.2 has branched. | |
1972 | ||
c6ecbae5 DJ |
1973 | 2002-03-04 Daniel Jacobowitz <[email protected]> |
1974 | ||
1975 | * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long. | |
1976 | (num_regs, regmap): Move inside HAVE_LINUX_USRREGS. | |
1977 | (register_addr, REGISTER_RAW_SIZE): Likewise. | |
1978 | (usr_store_inferior_registers): Use PTRACE_XFER_TYPE. | |
1979 | * gdbserver/linux-x86-64-low.c: Remove extra #endif. | |
1980 | ||
e9f30c21 ML |
1981 | 2002-03-03 Michal Ludvig <[email protected]> |
1982 | ||
1983 | * MAINTAINERS (x86-64): Add myself. | |
1984 | * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs, | |
1985 | changed value_ptr -> struct value * | |
1986 | ||
54394ac3 DB |
1987 | 2002-03-01 David O'Brien <[email protected]> |
1988 | ||
1989 | * configure.host (sparc64-*-freebsd): Add. | |
1990 | * configure.tgt: Likewise. | |
1991 | * config/sparc/fbsd.mh: New file. | |
1992 | * config/sparc/fbsd.mt: Likewise. | |
1993 | * config/sparc/nm-fbsd.h: Likewise. | |
1994 | * config/sparc/tm-fbsd.h: Likewise. | |
1995 | ||
bfe95955 DJ |
1996 | 2002-03-01 Daniel Jacobowitz <[email protected]> |
1997 | ||
1998 | * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and | |
1999 | regformats/reg-s390x.dat. | |
2000 | ||
f33c6cbf AC |
2001 | 2002-03-01 Andrew Cagney <[email protected]> |
2002 | ||
2003 | * utils.c: Add FIXME explaining true/false problem. | |
2004 | ||
5ecaa7dd AC |
2005 | 2002-02-28 Andrew Cagney <[email protected]> |
2006 | ||
2007 | * MAINTAINERS (Past Maintainers): Add J.T. Conklin. | |
2008 | ||
2a251cc2 MC |
2009 | 2002-02-28 Michael Chastain <[email protected]> |
2010 | ||
2011 | * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs . | |
2012 | ||
6a8031a3 | 2013 | 2002-02-28 Daniel Jacobowitz <[email protected]> |
265f716b DJ |
2014 | |
2015 | * gdbserver/linux-s390-low.c: New file. | |
2016 | * regformats/reg-s390.dat: New file. | |
2017 | * regformats/reg-s390x.dat: New file. | |
2018 | * gdbserver/configure.srv: Add S/390. | |
2019 | * gdbserver/Makefile.in: Add S/390. | |
2020 | * configure.tgt: Enable gdbserver for S/390. | |
2021 | ||
ac469903 EZ |
2022 | 2002-02-28 Eli Zaretskii <[email protected]> |
2023 | ||
2024 | * go32-nat.c (_initialize_go32_nat): Don't use periods in the | |
2025 | first line of the doc string for "info dos", except at the end of | |
2026 | the sentence, since the short help stops at the first period. | |
2027 | ||
985cb1a3 JM |
2028 | 2002-02-28 Jason Merrill <[email protected]> |
2029 | ||
2030 | * dwarf2read.c (dwarf_cfi_name): Add new codes. | |
2031 | ||
c570663e FF |
2032 | 2002-02-27 Fred Fish <[email protected]> |
2033 | ||
2034 | * blockframe.c (generic_fix_call_dummy): Fix obvious typo in | |
2035 | comment (dumy -> dummy). | |
2036 | ||
43630227 PS |
2037 | 2002-02-27 Peter Schauer <[email protected]> |
2038 | ||
2039 | * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames. | |
2040 | ||
b84911e8 RB |
2041 | 2002-02-27 Rodney Brown <[email protected]> |
2042 | ||
2043 | * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5. | |
2044 | ||
58caa3dc DJ |
2045 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
2046 | ||
2047 | * gdbserver/acconfig.h: New file. | |
2048 | * gdbserver/i387-fp.c: New file. | |
2049 | * gdbserver/i387-fp.h: New file. | |
2050 | * gdbserver/linux-x86-64.c: New file. | |
2051 | * regformats/reg-x86-64.dat: New file. | |
2052 | * configure.tgt: Add x86_64-*-linux* gdbserver support. | |
2053 | * gdbserver/configure.srv: Add x86_64-*-linux* and regset support. | |
2054 | * gdbserver/configure.in: Add support for regsets. | |
2055 | * gdbserver/config.in: Regenerate. | |
2056 | * gdbserver/configure: Regenerate. | |
2057 | * gdbserver/Makefile.in: Likewise. Add $(linux_low_h). | |
2058 | * gdbserver/linux-low.h: New file. | |
2059 | * gdbserver/linux-low.c: Include "linux-low.h". Add support | |
2060 | for regsets. | |
2061 | * gdbserver/linux-arm-low.c: Include "linux-low.h". | |
2062 | * gdbserver/linux-ia64-low.c: Include "linux-low.h". | |
2063 | * gdbserver/linux-m68k-low.c: Include "linux-low.h". | |
2064 | * gdbserver/linux-mips-low.c: Include "linux-low.h". | |
2065 | * gdbserver/linux-ppc-low.c: Include "linux-low.h". | |
2066 | * gdbserver/linux-sh-low.c: Include "linux-low.h". | |
2067 | * gdbserver/linux-i386-low.c: Include "linux-low.h". Include | |
2068 | "i387-fp.h". Add PTRACE_GETREGS and friends. | |
2069 | * gdbserver/regcache.c (supply_register): New function. | |
2070 | (supply_register_by_name): New function. | |
2071 | (collect_register): New function. | |
2072 | (collect_register_by_name): New function. | |
2073 | ||
93652174 DJ |
2074 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
2075 | ||
2076 | * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER. | |
2077 | (config.status): Add configure.srv dependency. | |
2078 | (server_h): Add config.h dependency. | |
2079 | ||
a02e4a61 DJ |
2080 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
2081 | ||
2082 | * regformats/reg-i386-linux.dat: New file, with $orig_eax. | |
2083 | * gdbserver/Makefile.in: Add rules for reg-i386-linux.o. | |
2084 | * gdbserver/configure.srv: Change i386-*-linux* to use | |
2085 | reg-i386-linux.o. | |
2086 | ||
ce0eebec AC |
2087 | 2002-02-26 Andrew Cagney <[email protected]> |
2088 | ||
2089 | * x86-64-tdep.c: Re-indent. Update copyright date. | |
2090 | ||
82dbc5f7 AC |
2091 | 2002-02-26 Andrew Cagney <[email protected]> |
2092 | ||
2093 | From Michal Ludvig <[email protected]>: | |
2094 | * x86-64-tdep.c (value.h): Delete. | |
2095 | (gdb_assert.h): Include. | |
2096 | (x86_64_register_convert_to_virtual, | |
2097 | x86_64_register_convert_to_raw ): Add check which lets only | |
2098 | floating-point values to be converted. | |
2099 | (value_push): Delete. | |
2100 | (x86_64_push_arguments): Order of arguments pushed on stack fixed. | |
2101 | (i386_gdbarch_init): Number of register_bytes fixed. | |
2102 | ||
e4621584 AC |
2103 | 2002-02-26 Andrew Cagney <[email protected]> |
2104 | ||
2105 | * MAINTAINERS: Add x86-64 target. | |
2106 | ||
81a9a963 AC |
2107 | 2002-02-26 Andrew Cagney <[email protected]> |
2108 | ||
2109 | * memattr.c (mem_command): Eliminate ``true'' and ``false''. | |
2110 | * osfsolib.c (solib_map_sections): Ditto. | |
2111 | * irix5-nat.c (solib_map_sections): Ditto. | |
2112 | * corelow.c (gdb_check_format): Ditto. | |
2113 | * symfile.c (symfile_bfd_open): Ditto. | |
2114 | * solib.c (solib_map_sections): Ditto. | |
2115 | Fix PR gdb/354. | |
7e336ba1 | 2116 | |
0f017ab9 AC |
2117 | 2002-02-26 Andrew Cagney <[email protected]> |
2118 | ||
2119 | * remote.c (_initialize_remote): By default, disable ``e'' and | |
2120 | ``E'' step out-of-range packets. | |
2121 | ||
75738c29 AS |
2122 | 2002-02-26 Andreas Schwab <[email protected]> |
2123 | ||
2124 | * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as | |
2125 | m68k_linux_frame_saved_pc. | |
2126 | (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of | |
2127 | in_sigtramp. | |
2128 | (SIGCONTEXT_PC_OFFSET): Remove. | |
2129 | * m68klinux-nat.c (m68k_linux_frame_saved_pc, | |
2130 | m68k_linux_sigtramp_saved_pc): New functions. | |
2131 | (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define. | |
2132 | (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h. | |
2133 | (UCONTEXT_PC_OFFSET): Define. | |
2134 | (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both | |
2135 | non-RT and RT signal trampolines. | |
2136 | ||
7e8ed687 RE |
2137 | 2002-02-26 Richard Earnshaw <[email protected]> |
2138 | ||
2139 | * config/arm/tm-embed.h (TARGET_UPAGES): Delete. | |
2140 | (TARGET_NBPG, STACK_END_ADDR): Delete | |
2141 | (VARIABLES_INSIDE_BLOCK): Delete. | |
2142 | ||
6972bc8b AC |
2143 | 2002-02-25 Andrew Cagney <[email protected]> |
2144 | ||
2145 | * utils.c (perror_with_name): Make string parameter constant. | |
2146 | (print_sys_errmsg): Ditto. | |
2147 | (query): Ditto. | |
2148 | * defs.h (perror_with_name): Update. | |
2149 | (print_sys_errmsg): Update. | |
2150 | (query): Update. | |
2151 | ||
aa32f823 DJ |
2152 | 2002-02-25 Daniel Jacobowitz <[email protected]> |
2153 | ||
2154 | From Eliot Dresselhaus <[email protected]>: | |
2155 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo. | |
2156 | ||
19caaa45 PS |
2157 | 2002-02-25 Peter Schauer <[email protected]> |
2158 | ||
2159 | * rs6000-nat.c (set_host_arch): Do not switch to a new architecture | |
2160 | if it already matches the current architecture from the exec file. | |
2161 | Include arch-utils.h for gdbarch_info_init prototype. | |
2162 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
2163 | ||
d951901f EZ |
2164 | 2002-02-25 Eli Zaretskii <[email protected]> |
2165 | ||
2166 | * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the | |
2167 | list of exported variables. | |
2168 | ||
7ea81414 DJ |
2169 | 2002-02-24 Daniel Jacobowitz <[email protected]> |
2170 | ||
2171 | * gdbserver/configure.srv: New file. | |
2172 | * gdbserver/configure.in: Use configure.srv instead | |
2173 | of the host/target makefile fragments. Set GDBSERVER_DEPFILES | |
2174 | from it. | |
2175 | * gdbserver/configure: Regenerated. | |
2176 | * gdbserver/terminal.h: New file. | |
2177 | * gdbserver/Makefile.in: Update for configure changes. Remove | |
2178 | more unneeded include paths. | |
2179 | ||
080fe24b AC |
2180 | 2002-02-24 Andrew Cagney <[email protected]> |
2181 | ||
2182 | From wiz at danbala: | |
2183 | * config/sparc/tm-sp64.h: Fix grammar and typos. | |
2184 | Fix PR gdb/287. | |
2185 | ||
8605d56e AC |
2186 | 2002-02-24 Andrew Cagney <[email protected]> |
2187 | ||
2188 | * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux'' | |
a4b6fc86 AC |
2189 | with either ``GNU/Linux'' or ``Linux kernel''. Update copyright. |
2190 | * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto. | |
2191 | * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto. | |
ca557f44 AC |
2192 | * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto. |
2193 | * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto. | |
2194 | * s390-tdep.c: Ditto. | |
92362027 AC |
2195 | * config/nm-linux.h, config/alpha/nm-linux.h: Ditto. |
2196 | * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h: | |
2197 | * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto. | |
2198 | * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto. | |
2199 | * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto. | |
2200 | * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto. | |
2201 | * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto. | |
2202 | * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto. | |
2203 | * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto. | |
2204 | * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto. | |
8605d56e | 2205 | Fix PR gdb/378. |
7e336ba1 | 2206 | |
8ed32cc0 AC |
2207 | 2002-02-23 Andrew Cagney <[email protected]> |
2208 | ||
a3007b6f AC |
2209 | * lin-thread.c: Delete file. |
2210 | * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer | |
2211 | to gdb_proc_service.h. | |
2212 | * configure: Re-generate. | |
2213 | ||
50a9e2f1 AC |
2214 | * ocd.c (ocd_open): Do not try to open the "ocd" device. |
2215 | * serial.c (serial_open): Delete check for "ocd". | |
2216 | Fix PR gdb/349. | |
2217 | ||
8b6e7932 AC |
2218 | * Makefile.in (linux-thread.o): Delete target. |
2219 | * linux-thread.c: Delete file. | |
2220 | ||
d155c46b AC |
2221 | * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other |
2222 | renamed SH files to be consistent. | |
2223 | ||
8ed32cc0 AC |
2224 | * symtab.c (sort_search_symbols): Use xfree. |
2225 | ||
0e18d038 RE |
2226 | 2002-02-23 Richard Earnshaw <[email protected]> |
2227 | ||
2228 | * arm-linux-tdep.c (arm_linux_init_abi): Register | |
2229 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE | |
2230 | * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old | |
2231 | definition with undef, since we don't want the sysvr4 definition. | |
2232 | (SKIP_TRAMPOLINE_CODE): Likewise. | |
2233 | ||
27aac7ff AC |
2234 | 2002-02-23 Andrew Cagney <[email protected]> |
2235 | ||
2236 | From 2002-02-22 Alfred M. Szmidt <[email protected]>: | |
2237 | ||
2238 | * configure.in: (AC_CHECK_FUNCS) Added test for | |
2239 | canonicalize_file_name Regenerated. | |
2240 | * config.in, configure: Regenerated. | |
2241 | * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is | |
2242 | defined use canonicalize_file_name. | |
7e336ba1 | 2243 | |
65a6e0ee MC |
2244 | 2002-02-23 Michael Chastain <[email protected]> |
2245 | ||
2246 | * MAINTAINERS: Remove Michael Chastain from "paper trail" list. | |
2247 | ||
47b95330 AC |
2248 | 2002-02-23 Andrew Cagney <[email protected]> |
2249 | ||
2250 | * README: Remove references to cygnus.com. | |
2251 | * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar | |
2252 | dot com'' form. Remove references to cygnus.com and sourceware. | |
2253 | ||
696f451b AC |
2254 | 2002-02-23 Andrew Cagney <[email protected]> |
2255 | ||
2256 | From 2002-02-19 Paul Eggert <[email protected]>: | |
2257 | * Makefile.in (VER): Change "head -1" to "sed q", since POSIX | |
2258 | 1003.1-2001 no longer allows "head -1". | |
2259 | * gdb/Makefile.in (version.c): Likewise. | |
2260 | * gdb/doc/Makefile.in (GDBvn.texi): Likewise. | |
2261 | * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is | |
2262 | equivalent. POSIX 1003.1-2001 no longer allows "diff -c3". | |
2263 | ||
bbaca940 AC |
2264 | 2002-02-23 Andrew Cagney <[email protected]> |
2265 | ||
2266 | * cli/cli-decode.c (cmd_cfunc_eq): New function. | |
2267 | * command.h (cmd_cfunc_eq): Declare. | |
2268 | * cli/cli-decode.h (cmd_cfunc_eq): Ditto. | |
2269 | ||
2270 | * cli/cli-cmds.h (is_complete_command): Change parameter to a | |
2271 | ``struct cmd_list_element *''. | |
2272 | * cli/cli-cmds.c (is_complete_command): Update. Use | |
2273 | cmd_cfunc_eq. | |
2274 | * top.c (execute_command): Pass the command to | |
2275 | is_complete_command. | |
2276 | * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq. | |
2277 | ||
b8b8b047 AC |
2278 | 2002-02-23 Andrew Cagney <[email protected]> |
2279 | ||
2280 | From 2002-02-20 Martin Schwidefsky <[email protected]>: | |
2281 | * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed | |
2282 | architecture defines. | |
2283 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
2284 | ||
19d3fc80 RE |
2285 | 2002-02-23 Richard Earnshaw <[email protected]> |
2286 | ||
2287 | * arm-linux-tdep.c (arm_linux_extract_return_value): Make static. | |
2288 | (arm_linux_push_arguments): Likewise. | |
2289 | (arm_linux_init_abi): Register them. Also register linux-specific | |
2290 | call_dummy_words. | |
2291 | (find_minsym_and_objfile): Use strcmp, not STREQ. | |
2292 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete. | |
2293 | (arm_linux_call_dummy_words): Delete declaration. | |
2294 | (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete. | |
2295 | (arm_linux_extract_return_value, arm_linux_push_arguments): Delete | |
2296 | declarations. | |
2297 | (LOWEST_PC): Delete. | |
2298 | ||
3ab13650 PS |
2299 | 2002-02-23 Peter Schauer <[email protected]> |
2300 | ||
2301 | * maint.c (print_section_info): Do not prepend `0x' to filepos | |
2302 | output, it will be handled by local_hex_string_custom. | |
2303 | ||
19d3fc80 | 2304 | 2002-02-23 Richard Earnshaw <[email protected]> |
85ae890c RE |
2305 | |
2306 | * arm-linux-nat.c (store_newfpe_single): Use regcache_collect. | |
2307 | (store_newfpe_double, store_newfpe_extended, store_fpregister) | |
2308 | (store_register, store_regs, fill_gregset, fill_fpregset): Likewise. | |
2309 | ||
d85a5daf JB |
2310 | 2002-02-22 Jim Blandy <[email protected]> |
2311 | ||
2312 | Indicate that the bcache functions don't change the strings | |
2313 | they're passed. | |
2314 | * bcache.h (bcache, hash): Add `const' keywords to declarations. | |
2315 | * bcache.c (bcache, hash): Add `const' keywords to definitions. | |
2316 | ||
eeb25b8a PM |
2317 | 2002-02-22 Pierre Muller <[email protected]> |
2318 | ||
2319 | * win32-nat.c (child_create_inferior): Fix create flags setting bug. | |
2320 | ||
6badb179 CF |
2321 | 2002-02-21 Christopher Faylor <[email protected]> |
2322 | ||
2323 | * win32-nat.c (register_loaded_dll): Just use raw name when we can't | |
2324 | find the complete path to a loaded DLL. | |
2325 | ||
e8717518 FF |
2326 | 2002-02-21 Fred Fish <[email protected]> |
2327 | ||
2328 | * dbxread.c (process_one_symbol): When finding an N_FUN symbol | |
2329 | that marks the end of the range of a function, enter a line number | |
2330 | entry that has a line number of zero and a PC offset that matches | |
2331 | the end of the function. This starts a range of PC's for which no | |
2332 | line number information is known. | |
2333 | * symtab.c (find_pc_sect_line): If our best fit is in a range of | |
2334 | PC's for which no line number info is found (line number is zero) | |
2335 | then we didn't find any valid line information. | |
2336 | * symtab.h: Document use of zero line number entry. | |
2337 | ||
9abe5450 EZ |
2338 | 2002-02-21 Elena Zannoni <[email protected]> |
2339 | ||
2340 | * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define. | |
2341 | (have_ptrace_getvrregs): Define for run time checks. | |
2342 | (gdb_vrregset_t): New type for Altivec register handling. | |
2343 | (fetch_register, store_register): Fetch/store altivec register | |
2344 | when needed. | |
2345 | (fetch_altivec_register, store_altivec_register): New functions. | |
2346 | (supply_vrregset, fill_vrregset): New functions. | |
2347 | (fetch_altivec_registers, store_altivec_registers): New functions. | |
2348 | (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec | |
2349 | registers as well. | |
2350 | ||
aaa38bb5 AJ |
2351 | 2002-02-21 Jiri Smid <[email protected]> |
2352 | ||
2353 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o. | |
2354 | ||
b34db576 RE |
2355 | 2002-02-21 Richard Earnshaw <[email protected]> |
2356 | ||
2357 | * Makefile.in (armnbsd-nat.o): Update dependencies. | |
2358 | * armnbsd-nat.c (supply_gregset): New function. Common code to | |
2359 | supply the integer register set. | |
2360 | (supply_fparegset): New function. Similar for FPA registers. | |
2361 | (fetch_regs, fetch_fp_regs): Use them. | |
2362 | (fetch_core_registers): Likewise. | |
2363 | (fetch_elfcore_registers): New function. | |
2364 | (arm_netbsd_elfcore_fns): New core-file type specification. | |
2365 | (_initialize_arm_netbsd_nat): Register it. | |
2366 | ||
3e56fc4b RE |
2367 | 2002-02-21 Richard Earnshaw <[email protected]> |
2368 | ||
2369 | * armnbsd-nat.c: Include gdbcore.h. | |
2370 | (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined. | |
2371 | (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit | |
2372 | 'void' to declaration, to shut up ARI. | |
2373 | (fetch_core_registers): Make static. Rewrite using supply_register. | |
2374 | (arm_netbsd_core_fns): New core-file type specification. | |
2375 | (_initialize_arm_netbsd_nat): New function. | |
2376 | ||
097f6b0b CF |
2377 | 2002-02-21 Christopher Faylor <[email protected]> |
2378 | ||
2379 | * win32-nat.c (register_loaded_dll): Correctly check for invalid handle | |
2380 | value. | |
2381 | ||
c914e0cc CF |
2382 | 2002-02-20 Christopher Faylor <[email protected]> |
2383 | ||
2384 | * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile | |
2385 | fails. | |
2386 | ||
385fa495 DJ |
2387 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
2388 | ||
2389 | * jv-exp.y (parse_number): Change type of implicit longs | |
2390 | to builtin_type_uint64. | |
2391 | ||
e5f1222d DJ |
2392 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
2393 | ||
2394 | * gdbserver/linux-low.c (mywait): Change argument to waitpid | |
2395 | to be an integer instead of a `union wait'. | |
2396 | ||
75c9abc6 DJ |
2397 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
2398 | ||
2399 | * mips-linux-nat.c: Call the operating system GNU/Linux. | |
2400 | * mips-linux-tdep.c: Likewise. | |
2401 | * mips-tdep.c: Likewise. | |
2402 | ||
551792a5 DJ |
2403 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
2404 | ||
2405 | Fix PR gdb/265. | |
2406 | * jv-exp.y (parse_number): Handle 64-bit integers. | |
2407 | ||
ee6e2b82 DJ |
2408 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
2409 | ||
2410 | * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change | |
2411 | AC_STDC_HEADERS to AC_HEADER_STDC. | |
2412 | * gdbserver/configure: Regenerated. | |
2413 | ||
a48442a0 RE |
2414 | 2002-02-20 Richard Earnshaw <[email protected]> |
2415 | ||
2416 | * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC | |
2417 | is defined. | |
2418 | * sparc-tdep.c (get_longjmp_target): Likewise. | |
2419 | ||
fe419ffc RE |
2420 | 2002-02-20 Richard Earnshaw <[email protected]> |
2421 | ||
2422 | * News: Add news about ARM and Multi-arch. Mention the new target | |
2423 | arm*-*-netbsd*. | |
2424 | ||
5832ed7e JB |
2425 | 2002-02-19 Jim Blandy <[email protected]> |
2426 | ||
2427 | * stabsread.c (error_type_complaint): Improve error message. | |
2428 | ||
84563040 DJ |
2429 | 2002-02-19 Daniel Jacobowitz <[email protected]> |
2430 | ||
2431 | * gdbserver/README: Update documentation. | |
2432 | * gdbserver/configure.in: Update configury to match documentation. | |
2433 | * gdbserver/Makefile.in: Likewise. | |
2434 | * gdbserver/configure: Regenerated. | |
2435 | * gdbserver/aclocal.m4: New file, generated by aclocal. | |
2436 | * gdbserver/config.in: New file, generated by autoheader. | |
2437 | ||
375fd65b RE |
2438 | 2002-02-19 Richard Earnshaw <[email protected]> |
2439 | ||
2440 | * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and | |
2441 | armnbsd-nat.c. | |
2442 | ||
08216dd7 RE |
2443 | 2002-02-19 Richard Earnshaw <[email protected]> |
2444 | ||
2445 | * arm-tdep.h (enum arm_float_model): New enum. | |
2446 | (struct gdbarch_tdep): Add fp_model. | |
2447 | * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting | |
2448 | up floating-point conversions until we know the floating-point model | |
2449 | in use by the inferior. Don't complain about being unable to | |
2450 | determine the ABI of the inferior when we don't have one. | |
2451 | (arm_extract_return_value): Support different floating-point models. | |
2452 | (arm_store_return_value): Likewise. | |
aaa38bb5 | 2453 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to |
08216dd7 RE |
2454 | ARM_FLOAT_SOFT. |
2455 | (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP. | |
2456 | ||
65d6d66a PS |
2457 | 2002-02-19 Peter Schauer <[email protected]> |
2458 | ||
2459 | * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use | |
2460 | of ``current_gdbarch''. | |
2461 | ||
47221191 RE |
2462 | 2002-02-19 Richard Earnshaw <[email protected]> |
2463 | ||
2464 | * armnbsd-nat.c : ANSIfy all function declarations. | |
2465 | (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New. | |
2466 | (fetch_inferior_registers): Re-implement in terms of above. | |
2467 | (store_register, store_regs, store_fp_register, store_fp_regs): New. | |
2468 | (store_inferior_registers): Re-implement in terms of above. | |
2469 | ||
fdf39c9a RE |
2470 | 2002-02-19 Richard Earnshaw <[email protected]> |
2471 | ||
aaa38bb5 | 2472 | * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the |
fdf39c9a RE |
2473 | kernel. |
2474 | * arm-linux-tdep.c: Likewise. | |
2475 | * config/arm/tm-linux.h: Likewise. | |
2476 | ||
93247f88 RE |
2477 | 2002-02-19 Richard Earnshaw <[email protected]> |
2478 | ||
2479 | * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch. | |
2480 | * config/arm/nbsd.mt (TM_FILE): Delete. | |
2481 | * config/arm/tm-nbsd.h: Delete. | |
2482 | ||
d7b486e7 RE |
2483 | 2002-02-19 Richard Earnshaw <[email protected]> |
2484 | ||
2485 | * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED. | |
2486 | Initialize CALL_DUMMY_LENGTH. | |
2487 | ||
41d39a95 RE |
2488 | 2002-02-19 Richard Earnshaw <[email protected]> |
2489 | ||
2490 | * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New | |
2491 | function. | |
2492 | (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE. | |
aaa38bb5 | 2493 | * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only |
41d39a95 RE |
2494 | defines one thing and that is incorrect for this port. |
2495 | (IN_SOLIB_CALL_TRAMPOLINE): Delete. | |
2496 | ||
e1195560 PM |
2497 | 2002-02-18 Pierre Muller <[email protected]> |
2498 | ||
2499 | * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro. | |
2500 | ||
c1748f97 PM |
2501 | 2002-02-18 Pierre Muller <[email protected]> |
2502 | ||
2503 | * win32-nat.c (display_selector): New function. Displays information | |
2504 | about the information returned by GetThreadSelectorEntry API function. | |
2505 | (display_selectors): New function. Displays the infomation of | |
2506 | the selector given as argument, or of CS, DS ans FS selectors | |
2507 | if no argument is given. | |
2508 | ( _initialize_inftarg): Add "w32" as info prefix command. | |
2509 | Add "info w32 selector" as command calling display_selectors. | |
2510 | ||
e41e6bbf PM |
2511 | 2002-02-19 Pierre Muller <[email protected]> |
2512 | ||
2513 | * i386-tdep.c (get_longjmp_target): Fix compilation failure | |
2514 | by setting dummy values to JB_PC and JB_ELEMENT_SIZE | |
2515 | if not defined. | |
2516 | ||
0d3a9f48 RE |
2517 | 2002-02-18 Richard Earnshaw <[email protected]> |
2518 | ||
2519 | * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o. | |
2520 | ||
3fb4b924 RE |
2521 | 2002-02-18 Richard Earnshaw <[email protected]> |
2522 | ||
2523 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function. | |
2524 | (arm_fix_call_dummy): Call it. | |
2525 | (arm_call_dummy_breakpoint_offset): Delete. | |
2526 | (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset. | |
2527 | * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
2528 | ||
7f55af32 AC |
2529 | 2002-02-18 Andrew Cagney <[email protected]> |
2530 | ||
2531 | * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2. | |
2532 | Default to func_frame_chain_valid. | |
2533 | * gdbarch.h, gdbarch.c: Re-generate. | |
2534 | * frame.h (FRAME_CHAIN_VALID): Delete definition. | |
2535 | ||
05f13b9c EZ |
2536 | 2002-02-18 Elena Zannoni <[email protected]> |
2537 | ||
2538 | * ppc-linux-nat.c: Update copyright. | |
2539 | (fetch_register, store_register): Add tid parameter, don't compute | |
2540 | tid here. | |
2541 | (fetch_ppc_registers, store_ppc_registers): Add tid | |
2542 | parameter. Pass it along to callees. | |
2543 | (fetch_inferior_registers, store_inferior_registers): Compute tid | |
2544 | here, and pass it to calleed functions. | |
2545 | (fill_gregset, supply_fpregset): Clean up formatting. | |
2546 | ||
d7afb4c9 RE |
2547 | 2002-02-18 Richard Earnshaw <[email protected]> |
2548 | ||
2549 | * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double. | |
2550 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete. | |
2551 | ||
9df628e0 RE |
2552 | 2002-02-18 Richard Earnshaw <[email protected]> |
2553 | ||
2554 | * gdbarch.sh (GET_LONGJMP_TARGET): Add rule. | |
2555 | * gdbarch.c gdbarch.h: Regenerate. | |
2556 | * breakpoint.c (create_longjmp_breakpoint): Always compile this | |
2557 | function. | |
2558 | (breakpoint_reset): Test GET_LONGJMP_TARGET_P(). | |
2559 | * infrun.c (GET_LONGJMP_TARGET): Delete default definition. | |
2560 | (handle_inferior_event): Test GET_LONGJMP_TARGET_P(). | |
2561 | ||
2562 | * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields. | |
2563 | * arm-tdep.c (arm_get_longjmp_target): New function. | |
2564 | (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes | |
2565 | this to a positive value register arm_get_longjmp_target as the | |
2566 | longjmp handler. | |
2567 | * arm-linux-tdep.c (arm_get_longjmp_target): Delete. | |
2568 | (arm_linux_init_abi): Set up longjmp description in tdep. | |
2569 | * armnbsd-nat.c (get_longjmp_target): Delete. | |
2570 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp | |
2571 | description in tdep. | |
2572 | * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete. | |
2573 | (get_longjmp_target): Delete declaration. | |
2574 | (GET_LONGJMP_TARGET): Delete. | |
2575 | * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration. | |
2576 | (GET_LONGJMP_TARGET): Delete. | |
2577 | ||
57bc8964 KB |
2578 | 2002-02-17 Kevin Buettner <[email protected]> |
2579 | ||
2580 | From Peter Schauer <[email protected]>: | |
2581 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use | |
2582 | of ``current_gdbarch''. | |
2583 | ||
83d31a92 TT |
2584 | 2002-02-17 Tom Tromey <[email protected]> |
2585 | ||
2586 | * cli/cli-cmds.c (compare_strings): New function. | |
2587 | (complete_command): Only print each unique item once. | |
2588 | * completer.h (complete_line): Declare. | |
2589 | * completer.c (complete_line): New function. | |
2590 | (line_completion_function): Use it. | |
2591 | ||
17ef5d92 AC |
2592 | 2002-02-16 Andrew Cagney <[email protected]> |
2593 | ||
2594 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64. | |
2595 | * gdbarch.h, gdbarch.c: Re-generate. | |
2596 | ||
491b8946 DJ |
2597 | 2002-02-16 Daniel Jacobowitz <[email protected]> |
2598 | ||
2599 | * valarith.c (value_x_unop): Fix decrement; support post-decrement. | |
2600 | ||
2601 | 2002-02-16 Daniel Jacobowitz <[email protected]> | |
2602 | ||
2603 | From Peter Schauer <[email protected]>: | |
2604 | * valops.c (value_arg_coerce): Don't take the address of a reference | |
2605 | to convert an argument to a reference. | |
2606 | ||
dfe7f3ac CF |
2607 | 2002-02-15 Christopher Faylor <[email protected]> |
2608 | ||
2609 | * win32-nat.c (get_image_name): New function. | |
2610 | (handle_load_dll): Use get_image_name function. | |
2611 | (get_child_debug_event): Avoid registering debug events until possibly | |
2612 | execed process is started. | |
2613 | (child_create_inferior): Allow invocation via shell so that command | |
2614 | line redirection, etc. works ok. | |
2615 | (_initialize_inftarg): Add new command: "set shell" to control whether | |
2616 | a shell is used to start a process. | |
2617 | ||
1d33e73a DJ |
2618 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
2619 | ||
2620 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno | |
2621 | instead of find_register_by_number. | |
2622 | (cannot_store_register): Likewise. | |
2623 | ||
48cd0caa PM |
2624 | 2002-02-14 Pierre Muller <[email protected]> |
2625 | ||
aaa38bb5 | 2626 | * dwarf2read.c: Replace fprintf (stderr, ...) by |
48cd0caa PM |
2627 | fprintf_unfiltered (gdb_stderr, ...). |
2628 | ||
8656e7d8 DJ |
2629 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
2630 | ||
2631 | * gdbserver/gdbserver.1: Document --attach. | |
2632 | ||
66e810cd RE |
2633 | 2002-02-15 Richard Earnshaw <[email protected]> |
2634 | ||
2635 | * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint | |
2636 | descriptions. | |
2637 | * arm-tdep.c (arm_default_arm_le_breakpoint) | |
2638 | (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) | |
2639 | (arm_default_thumb_be_breakpoint): New. Initialize them from | |
2640 | traditional breakpoint defines. | |
2641 | (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. | |
2642 | (arm_gdbarch_init): Initialize new breakpoint variables. | |
2643 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. | |
2644 | (arm_linux_init_abi): Initialize linux-specific breakpoint. | |
2645 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. | |
2646 | (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common | |
2647 | code out to ... | |
2648 | (arm_netbsd_init_abi_common): ... here; new function. | |
2649 | * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) | |
2650 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. | |
2651 | * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. | |
2652 | * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete. | |
2653 | ||
97e03143 RE |
2654 | 2002-02-15 Richard Earnshaw <[email protected]> |
2655 | ||
2656 | * arm-tdep.h (enum arm_abi): New enum. | |
2657 | (struct gdbarch_tdep): New structure. | |
2658 | (LOWEST_PC): Provide a default. | |
2659 | (arm_gdbarch_register_os_abi): Declare new function. | |
2660 | * arm-tdep.c (arm_abi_names): New array. | |
2661 | (process_note_abi_tag_sections): New function. | |
2662 | (get_elfosabi): New function. | |
2663 | (arm_gdbarch_register_os_abi): New function. | |
2664 | (arm_gdbarch_init): Try to determine the ABI of the inferior. If | |
2665 | support for that ABI has been built in, then call the appropriate | |
2666 | configuration routine. Use gdbarch_num_regs() to get the number | |
2667 | of registers. | |
2668 | (arm_dump_tdep): New function. | |
2669 | (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New | |
2670 | place-holder functions. | |
2671 | (_initialize_arm_tdep): Register them. | |
2672 | * config/arm/tm-arm.h (LOWEST_PC): Delete. | |
2673 | ||
2674 | * armnbsd-tdep.c: New file. | |
2675 | * Makefile.in (armnbsd-tdep.o): Add dependencies. | |
2676 | * config/arm/nbsd.mt (TDEPFILES): Add it. | |
2677 | * config/arm/tm-nbsd.h (LOWEST_PC): Delete. | |
2678 | ||
2679 | * armnbsd-nat.c: Include regcache.h. | |
2680 | * Makefile.in (armnbsd-nat.o): Update dependency list. | |
2681 | ||
2682 | * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message. | |
2683 | ||
ad68be46 DJ |
2684 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
2685 | ||
2686 | * gdbserver/Makefile.in: Fix typos in target rules. | |
2687 | ||
003d6d1d DJ |
2688 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
2689 | ||
aaa38bb5 | 2690 | Fix part of PR gdb/267. |
003d6d1d DJ |
2691 | * linespec.c (find_methods): Handle constructors specially for now. |
2692 | ||
6b230f1b CV |
2693 | 2002-02-14 Corinna Vinschen <[email protected]> |
2694 | ||
2695 | * arm-tdep.c (arm_push_arguments): Eliminate special float type | |
2696 | handling. | |
2697 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call | |
2698 | standard_coerce_float_to_double(). | |
2699 | ||
1ea98d12 CF |
2700 | 2002-02-14 Christopher Faylor <[email protected]> |
2701 | ||
2702 | * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of | |
2703 | GDBINIT_FILENAME. | |
2704 | ||
dd47e6fd EZ |
2705 | 2002-02-14 Elena Zannoni <[email protected]> |
2706 | ||
2707 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't call | |
2708 | find_variant_by_name, because it confuses the multiarch | |
2709 | framework. Return NULL if there isn't an architecture with the | |
2710 | user supplied name, instead of forcing a different one without | |
2711 | recording the change with the multiarch machinery. | |
2712 | (find_variant_by_name): Delete. | |
2713 | ||
d7e39b9e PS |
2714 | 2002-02-14 Peter Schauer <[email protected]> |
2715 | ||
2716 | * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by | |
2717 | i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore. | |
2718 | ||
76e42a4f MH |
2719 | 2002-02-13 Martin M. Hunt <[email protected]> |
2720 | ||
aaa38bb5 | 2721 | * stack.c (print_frame_info_base): When calling |
76e42a4f MH |
2722 | print_frame_info_listing_hook, set current_source_symtab. |
2723 | ||
0a30fbc4 DJ |
2724 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
2725 | ||
2726 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, | |
2727 | and remove unused $(INCLUDE_DIR). | |
2728 | Add regcache.c to OBS. | |
2729 | Add generated register protocol files to clean target. | |
2730 | Update dependencies for new objects, obsolete old target code. | |
2731 | ||
2732 | * gdbserver/linux-low.c: Remove all platform-specific code to | |
2733 | new files. Remove various dead code. Update to use regcache | |
2734 | functionality. | |
2735 | * gdbserver/remote-utils.c (fromhex): Add return statement | |
2736 | to quiet warning. | |
2737 | (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer | |
2738 | constant. | |
2739 | (input_interrupt): Add integer parameter to match prototype | |
2740 | of a signal handler. | |
2741 | (outreg): Use register_data (). | |
2742 | (prepare_resume_reply): Use gdbserver_expedite_regs. | |
2743 | * gdbserver/server.c (main): Dynamically allocate own_buf because | |
2744 | PBUFSIZ is no longer constant. Use registers_to_string () and | |
2745 | registers_from_string (). | |
2746 | * gdbserver/server.h: No longer include "defs.h". Add prototypes | |
2747 | for error (), fatal (), and warning (). Update definition of | |
2748 | PBUFSIZ to use regcache functionality. Add include guard. | |
2749 | * gdbserver/utils.c (fatal): Add missing ``const''. | |
2750 | (warning): New function. | |
2751 | ||
2752 | * regformats/regdat.sh: Include "regcache.h" in generated files. | |
2753 | Provide init_registers () function. | |
2754 | * regformats/regdef.h: Add prototype for set_register_cache (). | |
2755 | Add include guard. | |
2756 | ||
2757 | * gdbserver/linux-arm-low.c: New file. | |
2758 | * gdbserver/linux-i386-low.c: New file. | |
2759 | * gdbserver/linux-ia64-low.c: New file. | |
2760 | * gdbserver/linux-m68k-low.c: New file. | |
2761 | * gdbserver/linux-mips-low.c: New file. | |
2762 | * gdbserver/linux-ppc-low.c: New file. | |
2763 | * gdbserver/linux-sh-low.c: New file. | |
2764 | ||
2765 | * gdbserver/regcache.c: New file. | |
2766 | * gdbserver/regcache.h: New file. | |
2767 | ||
2768 | * gdbserver/low-linux.c: Removed obsolete file. | |
2769 | ||
4cc841d0 DJ |
2770 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
2771 | ||
2772 | * config/arm/linux.mt: Update GDBSERVER_DEPFILES. | |
2773 | * config/i386/linux.mt: Likewise. | |
2774 | * config/ia64/linux.mt: Likewise. | |
2775 | * config/m68k/linux.mh: Likewise. | |
2776 | * config/powerpc/linux.mh: Likewise. | |
2777 | * config/mips/linux.mt: Likewise. | |
2778 | ||
2779 | * config/sh/linux.mt: Add GDBSERVER_DEPFILES. | |
2780 | ||
2781 | * config/i386/i386lynx.mh: Mark gdbserver variables | |
2782 | as (currently) obsolete for this target. | |
2783 | * config/i386/nbsd.mt: Likewise. | |
2784 | * config/i386/nbsdelf.mt: Likewise. | |
2785 | * config/m32r/m32r.mt: Likewise. | |
2786 | * config/m68k/m68klynx.mh: Likewise. | |
2787 | * config/m68k/nbsd.mt: Likewise. | |
2788 | * config/m68k/sun3os4.mh: Likewise. | |
2789 | * config/mips/vr5000.mt: Likewise. | |
2790 | * config/ns32k/nbsd.mt: Likewise. | |
2791 | * config/pa/hppabsd.mh: Likewise. | |
2792 | * config/pa/hppaosf.mh: Likewise. | |
2793 | * config/powerpc/nbsd.mt: Likewise. | |
2794 | * config/rs6000/rs6000lynx.mh: Likewise. | |
2795 | * config/s390/s390.mt: Likewise. | |
2796 | * config/s390/s390x.mt: Likewise. | |
2797 | * config/sparc/sparclynx.mh: Likewise. | |
2798 | * config/sparc/sun4os4.mh: Likewise. | |
2799 | * config/i386/x86-64linux.mt: Likewise. | |
2800 | * config/sparc/linux.mh: Likewise. | |
2801 | ||
a85f51e7 DJ |
2802 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
2803 | ||
2804 | * configure.tgt: Configure gdbserver only for known working | |
2805 | targets. Set ${build_gdbserver} instead of modifying ${configdirs}. | |
2806 | * configure.in: Check ${build_gdbserver}. Put gdbserver/ into | |
2807 | SUBDIRS if it is configured. Update comment for ${nativefile}. | |
2808 | * configure: Regenerated. | |
2809 | ||
65554fef MS |
2810 | 2002-02-13 Michael Snyder <[email protected]> |
2811 | ||
670a52db MS |
2812 | * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES. |
2813 | ||
6dbdc4a3 MS |
2814 | * gcore.c (gcore_command): Use gcore_default_target instead of NULL. |
2815 | (default_gcore_mach): Just return 0, work around a problem in bfd. | |
2816 | (default_gcore_target): OK to return NULL if exec_bfd is null. | |
2817 | (make_mem_sec): Use a cast, avoid a warning. | |
2818 | ||
2819 | * procfs.c (find_memory_regions_callback): Use a cast instead of | |
aaa38bb5 | 2820 | calling host_pointer_to_address (which complains if |
6dbdc4a3 MS |
2821 | sizeof (host pointer) != sizeof (target pointer)). |
2822 | (procfs_make_note_section): Avoid overflow in psargs string. | |
2823 | ||
aaa38bb5 | 2824 | * procfs.c (procfs_make_note_section): Make the default |
65554fef MS |
2825 | implementation return an error. |
2826 | ||
2827 | 2002-02-13 Rodney Brown <[email protected]> | |
2828 | ||
2829 | * procfs.c (procfs_make_note_section): Provide a default definition | |
2830 | (for alpha-dec-osf4.0f). Fix typos. | |
2831 | ||
1e4d76e7 EZ |
2832 | 2002-02-13 Elena Zannoni <[email protected]> |
2833 | ||
2834 | * linux-proc.c: Add include of regcache.h. | |
2835 | * Makefile.in (linux-proc.o): Add dependency on regcache.h. | |
2836 | ||
b6d1a1d5 AC |
2837 | 2002-02-13 Andrew Cagney <[email protected]> |
2838 | ||
2839 | From 2002-01-18 Greg McGary <[email protected]>: | |
aaa38bb5 AJ |
2840 | * memattr.c (create_mem_region): Disallow useless empty region. |
2841 | Regions are half-open intervals, so allow [A..B) [B..C) as | |
65554fef | 2842 | non-overlapping. |
b6d1a1d5 | 2843 | |
6c6ea35e MC |
2844 | 2002-02-13 Michael Chastain <[email protected]> |
2845 | ||
2846 | * defs.h: Kill CONST_PTR. | |
2847 | * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". | |
2848 | * c-lang.c (c_builtin_types): Likewise. | |
2849 | * ch-lang.c (ch_builtin_types): Likewise. | |
2850 | * f-lang.c (f_builtin_types): Likewise. | |
2851 | * language.c (unknown_builtin_types): Likewise. | |
2852 | * m2-lang.c (m2_builtin_types): Likewise. | |
2853 | * p-lang.c (pascal_builtin_types): Likewise. | |
2854 | * scm-lang.c (c_builtin_types): Likewise. | |
2855 | ||
3e0b0f48 KS |
2856 | 2002-02-13 Keith Seitz <[email protected]> |
2857 | ||
2858 | * arm-tdep.h (arm_get_next_pc): Add declaration. | |
2859 | ||
67255d04 RE |
2860 | 2002-02-13 Richard Earnshaw <[email protected]> |
2861 | ||
2862 | * arm-tdep.c (arm_use_struct_convention): Make static. Move to be | |
2863 | with other related struct-returning functions. | |
2864 | (arm_extract_struct_value_address): New function. | |
2865 | (arm_gdbarch_init): Initialize the above in multi-arch vector. Also | |
2866 | initialize float_format, double_format and long_double_format as | |
2867 | appropriate to the endianness of the target. | |
2868 | * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. | |
2869 | (arm_use_struct_convention): Delete declaration. | |
2870 | (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete. | |
2871 | ||
079777f6 KS |
2872 | 2002-02-13 Keith Seitz <[email protected]> |
2873 | ||
2874 | * defs.h (core_addr_to_string_nz): New function. | |
2875 | ||
34588f23 MK |
2876 | 2002-02-13 Mark Kettenis <[email protected]> |
2877 | ||
2878 | Apply missing bits of 2002-01-15 patch. | |
2879 | * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave. | |
2880 | (fill_fpregset): Use i387_fill_fsave. | |
2881 | ||
49b563f9 KS |
2882 | 2002-02-12 Keith Seitz <[email protected]> |
2883 | ||
49b563f9 KS |
2884 | * utils.c (core_addr_to_string): Use phex instead of phex_nz. |
2885 | (core_addr_to_string_nz): New function. | |
2886 | ||
aeb98c60 RE |
2887 | 2002-02-11 Richard Earnshaw <[email protected]> |
2888 | ||
2889 | * arm-linux-nat.c: Really include arm-tdep.h. | |
2890 | * config/arm/tm-linux.h (struct type, struct value): Declare. | |
2891 | ||
65554fef MS |
2892 | 2002-02-11 Michael Snyder <[email protected]> |
2893 | ||
2894 | * procfs.c: Include elf-bfd.h (for elfcore_write functions). | |
2895 | (gcore section): Ifdef for Solaris and Unixware only. | |
2896 | (procfs_do_thread_registers): Unixware needs one lwpstatus | |
2897 | per thread (not one prstatus or pstatus). | |
2898 | (procfs_make_note_section): Iterate only over kernel threads (lwps), | |
2899 | not over all gdb threads. For unixware, call elfcore_write_pstatus | |
2900 | once before iterating over threads. | |
2901 | ||
34e8f22d RE |
2902 | 2002-02-11 Richard Earnshaw <[email protected]> |
2903 | ||
2904 | * arm-tdep.h: New file. | |
2905 | * arm-tdep.c: Include arm-tdep.h. | |
2906 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
2907 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
2908 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
2909 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
2910 | (arm_extract_return_value, arm_register_name): Make static. | |
2911 | (arm_software_single_step): Similarly. Fix types in declaration. | |
2912 | (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) | |
2913 | (arm_store_return_value, arm_store_struct_return): New functions. | |
2914 | (arm_gdbarch_init): Register the above functions. Also register | |
2915 | call_dummy_start_offset, sizeof_call_dummy_words, | |
2916 | function_start_offset, inner_than, decr_pc_after_break, fp_regnum, | |
2917 | sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, | |
aaa38bb5 | 2918 | max_register_virtual_size, register_size. Set up |
34e8f22d RE |
2919 | prologue_cache.saved_regs here, rather than ... |
2920 | (_initialize_arm_tdep): ... here. | |
2921 | * config/arm/tm-arm.h (struct type, struct value): Delete forward | |
2922 | declarations. | |
2923 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
2924 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
2925 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
2926 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
2927 | (arm_extract_return_value, arm_register_name): Delete declarations. | |
2928 | (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) | |
2929 | (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) | |
2930 | (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) | |
2931 | (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) | |
2932 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
2933 | (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) | |
2934 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) | |
2935 | (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) | |
2936 | (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) | |
2937 | (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. | |
2938 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) | |
2939 | (arm_get_next_pc): No-longer static -- these are needed by the RDI | |
2940 | interface. | |
2941 | * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. | |
2942 | * remote-rdi.c remote-rdp.c: Likewise. | |
2943 | * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) | |
2944 | (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. | |
2945 | * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus | |
2946 | definition. | |
2947 | ||
2948 | * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) | |
2949 | (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) | |
2950 | (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed | |
2951 | from non-ARM_ prefixed definitions. | |
2952 | * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update | |
2953 | all uses of above. | |
2954 | * remote-rdi.c remote-rdp.c: Likewise. | |
2955 | * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM. | |
2956 | ||
148754e5 RE |
2957 | 2002-02-11 Richard Earnshaw <[email protected]> |
2958 | ||
2959 | * arm-tdep.c (arm_frameless_function_invocation) | |
2960 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
2961 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
2962 | (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
2963 | (arm_pop_frame, arm_get_next_pc): Make static. | |
2964 | (arm_gdbarch_init): Register above in gdbarch structure. | |
2965 | (arm_read_fp): Renamed from arm_target_read_fp. | |
2966 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. | |
2967 | * config/arm/tm-arm.h (arm_frameless_function_invocation) | |
2968 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
2969 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
2970 | (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
2971 | (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) | |
2972 | (arm_pc_is_thumb_dummy): Delete declarations. | |
fcfb8836 RE |
2973 | (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN) |
2974 | (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS) | |
2975 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP) | |
2976 | (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete. | |
148754e5 | 2977 | |
434d2d4f DJ |
2978 | 2002-02-10 Daniel Jacobowitz <[email protected]> |
2979 | ||
2980 | * symtab.c (compare_search_syms): New function. | |
2981 | (sort_search_symbols): New function. | |
2982 | (search_symbols): Sort symbols after searching rather than | |
2983 | before. | |
2984 | ||
55241689 AC |
2985 | 2002-02-10 Andrew Cagney <[email protected]> |
2986 | ||
2987 | * NEWS: Linux -> GNU/Linux. | |
2988 | ||
028c194b AC |
2989 | 2002-02-10 Andrew Cagney <[email protected]> |
2990 | ||
2991 | * gdbarch.sh: For for level one methods, disallow a definition | |
2992 | when partially multi-arched. Add comments explaining rationale. | |
2993 | * gdbarch.h: Re-generate. | |
2994 | ||
6acf50cd AC |
2995 | 2002-02-10 Andrew Cagney <[email protected]> |
2996 | ||
2997 | * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when | |
2998 | multi-arch partial. | |
aaa38bb5 | 2999 | |
50248794 AC |
3000 | 2002-02-10 Andrew Cagney <[email protected]> |
3001 | ||
3002 | * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad | |
3003 | field. Use diff -u. | |
3004 | * gdbarch.c: Re-generate. | |
3005 | ||
c30e0066 AC |
3006 | 2002-02-10 Andrew Cagney <[email protected]> |
3007 | ||
9b56c5f3 | 3008 | * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete. |
c30e0066 AC |
3009 | * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch |
3010 | partial. | |
3011 | ||
6e6d6484 AC |
3012 | 2002-02-10 Andrew Cagney <[email protected]> |
3013 | ||
3014 | * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when | |
3015 | multi-arch partial. | |
3016 | (PUSH_ARGUMENTS): Switch to using predefault. | |
3017 | * gdbarch.c: Regenerate. | |
3018 | ||
c203844d AC |
3019 | 2002-02-10 Andrew Cagney <[email protected]> |
3020 | ||
3021 | * valops.c (PUSH_ARGUMENTS): Delete definition. | |
3022 | * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch | |
3023 | partial. Default to default_push_arguments. | |
3024 | * gdbarch.h, gdbarch.c: Regenerate. | |
3025 | ||
b5a2688f AC |
3026 | 2002-02-09 Andrew Cagney <[email protected]> |
3027 | ||
3028 | * defs.h (throw_exception): Rename return_to_top_level. Update | |
3029 | comments. | |
3030 | * utils.c (error_stream, internal_verror, quit): Ditto. | |
3031 | * top.c (throw_exception, catcher): Ditto. | |
3032 | * sparclet-rom.c (sparclet_load): Ditto. | |
3033 | * remote.c (interrupt_query, minitelnet): Ditto. | |
3034 | * remote-sds.c (interrupt_query): Ditto. | |
3035 | * remote-mips.c (mips_error, mips_kill): Ditto. | |
3036 | * ocd.c (interrupt_query): Ditto. | |
3037 | * monitor.c (monitor_interrupt_query): Ditto. | |
3038 | * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. | |
3039 | * target.h: Update comment. | |
aaa38bb5 | 3040 | |
b5a2688f | 3041 | * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright. |
aaa38bb5 | 3042 | |
2fa5c1e0 AC |
3043 | 2002-02-09 Andrew Cagney <[email protected]> |
3044 | ||
3045 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to | |
3046 | default_double_format. | |
3047 | * gdbarch.h, gdbarch.c: Re-generate. | |
3048 | * findvar.c (floatformat_unknown): Delete variable definition. | |
3049 | * doublest.h (floatformat_unknown): Delete variable declaration. | |
3050 | ||
da966255 JB |
3051 | 2002-02-09 Jim Blandy <[email protected]> |
3052 | ||
3053 | * stabsread.c (read_type): Add code to parse Sun's syntax for | |
3054 | prototyped function types. | |
3055 | ||
123a4891 AC |
3056 | 2002-02-09 Andrew Cagney <[email protected]> |
3057 | ||
3058 | * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS. | |
3059 | (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS. | |
3060 | ||
fb39c8f3 PS |
3061 | 2002-02-09 Peter Schauer <[email protected]> |
3062 | ||
3063 | * xcoffsolib.c (_initialize_xcoffsolib): Renamed from | |
3064 | _initialize_solib. Fixes name clash with solib.c:_initialize_solib, | |
3065 | now _initialize_xcoffsolib gets called again and overrides the | |
3066 | commands from solib.c in a native configuration. | |
3067 | ||
0b87a11d MK |
3068 | 2002-02-09 Mark Kettenis <[email protected]> |
3069 | ||
3070 | * doublest.c (store_typed_floating): Don't try to return a value. | |
3071 | Fixes PR gdb/290. | |
3072 | ||
bdc2fc72 JB |
3073 | 2002-02-08 Jim Blandy <[email protected]> |
3074 | ||
3075 | * c-typeprint.c (c_type_print_varspec_suffix): If a function type | |
3076 | is prototyped and has no arguments, print its argument list as | |
3077 | `(void)'. | |
3078 | ||
da69bbcf CD |
3079 | 2002-02-08 Chris Demetriou <[email protected]> |
3080 | ||
3081 | * MAINTAINERS (write-after-approval): Add myself. | |
3082 | (paper-trail): I've escaped! | |
aaa38bb5 | 3083 | |
b69571f5 CF |
3084 | 2002-02-08 Christopher Faylor <[email protected]> |
3085 | ||
3086 | * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf | |
3087 | changes. | |
3088 | (_initialize_check_for_gdb_ini): Ditto. | |
3089 | ||
f6871398 MH |
3090 | 2002-02-08 Martin M. Hunt <[email protected]> |
3091 | ||
3092 | * win32-nat.c (cygwin_pid_to_str): Fix typo. | |
3093 | xaprintf -> xasprintf. | |
3094 | ||
4e52d31c PM |
3095 | 2002-02-08 Pierre Muller <[email protected]> |
3096 | ||
3097 | * win32-nat.c: Remove use of printf and sprintf functions. | |
3098 | ||
39bbf761 RE |
3099 | 2002-02-08 Richard Earnshaw <[email protected]> |
3100 | ||
3101 | * arm-tdep.c (arm_frame_chain_valid): Make static. | |
3102 | (arm_push_arguments): Likewise. | |
3103 | (arm_gdbarch_init): New function. | |
3104 | (_initialize_arm_tdep): Call it. | |
3105 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. | |
3106 | (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. | |
3107 | (FRAME_CHAIN_VALID): Delete. | |
3108 | (arm_frame_chain_valid): Delete declaration. | |
3109 | (PUSH_ARGUMENTS): Delete. | |
3110 | (arm_push_arguments): Delete declaration. | |
3111 | (CALL_DUMMY_P): Delete. | |
3112 | ||
9c9532c9 CV |
3113 | 2002-02-08 Andrew Cagney <[email protected]> |
3114 | Corinna Vinschen <[email protected]> | |
3115 | ||
3116 | * gdbtypes.c (build_gdbtypes): Disable setting a specific float format | |
3117 | on builtin float types. | |
3118 | ||
4e8f7a8b DJ |
3119 | 2002-02-08 Daniel Jacobowitz <[email protected]> |
3120 | ||
3121 | * utils.c: Include <curses.h> before "bfd.h". | |
3122 | * tui/tui-hooks.c: Likewise. | |
3123 | * tui/tui.c: Likewise. | |
3124 | * tui/tuiCommand.c: Likewise. | |
3125 | * tui/tuiData.c: Likewise. | |
3126 | * tui/tuiDataWin.c: Likewise. | |
3127 | * tui/tuiDisassem.c: Likewise. | |
3128 | * tui/tuiGeneralWin.c: Likewise. | |
3129 | * tui/tuiIO.c: Likewise. | |
3130 | * tui/tuiLayout.c: Likewise. | |
3131 | * tui/tuiRegs.c: Likewise. | |
3132 | * tui/tuiSource.c: Likewise. | |
3133 | * tui/tuiSourceWin.c: Likewise. | |
3134 | * tui/tuiStack.c: Likewise. | |
3135 | * tui/tuiWin.c: Likewise. | |
3136 | ||
cd4bffcf EZ |
3137 | 2002-02-07 Elena Zannoni <[email protected]> |
3138 | ||
3139 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array | |
3140 | to include space for pseudoregs as well. Update loops accordingly. | |
3141 | (sh_fp_frame_init_saved_regs): Ditto. | |
3142 | (sh_init_extra_frame_info, sh_pop_frame): Split long lines. | |
3143 | ||
26806ce2 AC |
3144 | 2002-02-07 Andrew Cagney <[email protected]> |
3145 | ||
3146 | * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer. | |
3147 | Add Richard Earnshaw to Arm maintainers. | |
3148 | ||
97fdab62 AC |
3149 | 2002-02-07 Andrew Cagney <[email protected]> |
3150 | ||
a6b98203 AC |
3151 | * defs.h (warning_begin): Delete declaration. |
3152 | ||
97fdab62 AC |
3153 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): |
3154 | Delete macro. | |
3155 | ||
78b29b40 MS |
3156 | 2002-02-07 Michael Snyder <[email protected]> |
3157 | ||
aaa38bb5 | 3158 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
78b29b40 MS |
3159 | Logic bug, remove misplaced else. |
3160 | ||
d8849953 KD |
3161 | 2002-02-07 Klee Dienes <[email protected]> |
3162 | ||
3163 | * fork-inferior.c (fork_inferior): Add '!' to the list of | |
3164 | characters that need to be quoted when building a string for the | |
3165 | shell. Quote '!' specifically with a backslash, since CSH chokes | |
3166 | when trying to evaluate "str!str". | |
aaa38bb5 | 3167 | |
095778a0 NC |
3168 | 2002-02-06 Nick Clifton <[email protected]> |
3169 | ||
3170 | * rdi-share/host.h: Only provide a typedef for bool if it is not | |
3171 | defined. | |
3172 | ||
1900040c MS |
3173 | 2002-02-04 Michael Snyder <[email protected]> |
3174 | ||
3175 | * breakpoint.h (enum bptype): Add new overlay event bp type. | |
3176 | (enable_overlay_breakpoints, disable_overlay_breakpoints): Export. | |
aaa38bb5 | 3177 | |
1900040c MS |
3178 | * breakpoint.c (create_internal_breakpoint): New function. |
3179 | (internal_breakpoint_number): Moved into create_internal_breakpoint. | |
3180 | (create_longjmp_breakpoint): Use create_internal_breakpoint. | |
3181 | (create_thread_event_breakpoint): Ditto. | |
3182 | (create_solib_event_breakpoint): Ditto. | |
3183 | (create_overlay_event_breakpoint): New function. | |
3184 | (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs. | |
3185 | (update_breakpoints_after_exec): Delete and re-initialize | |
3186 | overlay event breakpoints after an exec. Add FIXME comment | |
3187 | about longjmp breakpoint. | |
3188 | (print_it_typical): Ignore overlay event breakpoints. | |
3189 | (print_one_breakpoint): Ditto. | |
3190 | (mention): Ditto. | |
3191 | (bpstat_what): Do not stop for overlay event breakpoints. | |
3192 | (delete_breakpoint): Don't delete overlay event breakpoints. | |
3193 | (breakpoint_re_set_one): Delete the overlay event breakpoint. | |
3194 | (breakpoint_re_set): Re-create overlay event breakpoint. | |
3195 | ||
3196 | * symfile.c (overlay_auto_command): Enable overlay breakpoints. | |
3197 | (overlay_manual_command): Disable overlay breakpoints. | |
3198 | (overlay_off_command): Disable overlay breakpoints. | |
3199 | ||
082fc60d RE |
3200 | 2002-02-06 Richard Earnshaw <[email protected]> |
3201 | ||
3202 | * arm-tdep.c: Include elf-bfd.h and coff/internal.h. | |
3203 | (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines | |
3204 | to here from config/tm-arm.h. | |
3205 | (coff_sym_is_thumb): Make static. | |
3206 | (arm_elf_make_msymbol_special): New function. | |
3207 | (arm_coff_make_msymbol_special): New function. | |
3208 | * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. | |
3209 | (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. | |
3210 | (coff_sym_is_thumb): Delete declaration. | |
3211 | (arm_elf_make_msymbol_special): Declare. | |
3212 | (arm_coff_make_msymbol_special): Declare. | |
3213 | (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. | |
3214 | (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special. | |
3215 | ||
039c5766 RE |
3216 | 2002-02-06 Richard Earnshaw <[email protected]> |
3217 | ||
3218 | * arm-tdep.c (arm_software_single_step): ANSIfy function declaration. | |
3219 | ||
3220 | 2002-02-06 Richard Earnshaw <[email protected]> | |
3221 | ||
3222 | * gdbarch.sh (PRINT_FLOAT_INFO): Add rule. | |
3223 | * gdbarch.c gdbarch.h: Regenerate. | |
3224 | * arch-utils.c (default_print_float_info): New function. | |
3225 | * arch-utils.h (default_print_float_info): Prototype it. | |
3226 | * infcmd.c (float_info): Call PRINT_FLOAT_INFO. | |
3227 | * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. | |
3228 | (PRINT_FLOAT_INFO): Document it. | |
3229 | ||
3230 | * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. | |
3231 | * config/arm/tm-arm.h (FLOAT_INFO): Delete. | |
3232 | (PRINT_FLOAT_INFO): Define. | |
3233 | ||
58fa08f0 PM |
3234 | 2002-02-06 Pierre Muller <[email protected]> |
3235 | ||
aaa38bb5 | 3236 | * win32-nat.c (_initialize_check_for_gdb_ini): |
58fa08f0 PM |
3237 | Add typecast to sprintf argument to suppress a warning. |
3238 | ||
7393af7c PM |
3239 | 2002-02-05 Pierre Muller <[email protected]> |
3240 | ||
58fa08f0 | 3241 | * win32-nat.c (last_sig): Changed type of variable to target_signal, |
7393af7c PM |
3242 | to allow easier handling of pass state. |
3243 | (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception, | |
3244 | that gives exception name and address. | |
3245 | (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro | |
aaa38bb5 | 3246 | and set last_sig value to ourstatus->value.sig. Some missing |
7393af7c | 3247 | exceptions added. |
aaa38bb5 AJ |
3248 | (child_continue): Correctly report continue_status. |
3249 | (get_child_debug_event,do_initial_child_stuff): Set last_sig to | |
7393af7c | 3250 | TARGET_SIGNAL_0 (new default value). |
aaa38bb5 | 3251 | (child_resume): consider sig argument passed to decide if |
7393af7c PM |
3252 | the exception should be passed to debuggee or not. |
3253 | ||
6af4589c MS |
3254 | 2002-02-05 Michael Snyder <[email protected]> |
3255 | ||
3256 | * regcache.c (fetch_register): Call target_fetch_register | |
3257 | only if we don't call FETCH_PSEUDO_REGISTER. | |
3258 | (store_register): Call target_store_register only if we | |
3259 | don't call STORE_PSEUDO_REGISTER. | |
3260 | ||
a2cf933a EZ |
3261 | 2002-02-05 Elena Zannoni <[email protected]> |
3262 | ||
3263 | * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and | |
3264 | ELF_MAKE_MSYMBOL_SPECIAL. | |
3265 | * gdbarch.c, gdbarch.h: Regenerate. | |
3266 | * arch-utils.c (default_make_msymbol_special): New function. | |
aaa38bb5 | 3267 | * arch-utils.h (default_make_msymbol_special): Export. |
a2cf933a EZ |
3268 | * elfread.c (elf_symtab_read): Compile use of |
3269 | ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now | |
3270 | multiarched. | |
3271 | * coffread.c (coff_symtab_read): Ditto, for | |
3272 | COFF_MAKE_MSYMBOL_SPECIAL. | |
3273 | ||
6bb7be43 JB |
3274 | 2002-02-05 Jim Blandy <[email protected]> |
3275 | ||
3276 | * solib-svr4.c (svr4_truncate_ptr): New function. | |
3277 | (svr4_relocate_section_addresses): Do the address arithmetic with | |
3278 | the appropriate truncation for target addresses, even when | |
3279 | CORE_ADDR is larger than a target address. | |
3280 | ||
e18651ec DJ |
3281 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
3282 | ||
3283 | * gdbserver/linux-low.c (mywait): Cast second argument of waitpid | |
3284 | to (int *). | |
3285 | ||
6b2725be DJ |
3286 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
3287 | ||
3288 | * gdbserver/linux-low.c (kill_inferior): Remove commented out | |
3289 | code. | |
3290 | ||
fca9e603 DJ |
3291 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
3292 | ||
3293 | * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX. | |
3294 | ||
6c537a52 DJ |
3295 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
3296 | ||
3297 | * gdbserver/linux-low.c: Remove unused include files. | |
3298 | ||
d844cde6 DJ |
3299 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
3300 | ||
3301 | * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. | |
3302 | (read_inferior_memory): Use it. | |
3303 | (write_inferior_memory): Likewise. | |
3304 | ||
d07c63e7 DJ |
3305 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
3306 | ||
3307 | * gdbserver/linux-low.c (create_inferior): Call strerror instead of | |
3308 | grubbing through sys_errlist. | |
3309 | ||
da6d8c04 DJ |
3310 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
3311 | ||
3312 | * gdbserver/linux-low.c: New file, copied exactly from low-linux.c. | |
3313 | ||
5b421780 PM |
3314 | 2002-02-04 Pierre Muller <[email protected]> |
3315 | * win32-nat.c (handle_exception): Handle Ctrl-Break exception. | |
3316 | ||
9f60d481 AC |
3317 | 2002-02-04 Andrew Cagney <[email protected]> |
3318 | ||
3319 | * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions. | |
3320 | (do_sfunc, set_cmd_sfunc): New functions. | |
3321 | ||
3322 | * command.h (struct cmd_list_element): Add field func. | |
3323 | * cli/cli-decode.h (struct cmd_list_element): Ditto. | |
3324 | * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. | |
3325 | * cli/cli-decode.h: Ditto. | |
3326 | ||
3327 | * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. | |
3328 | (help_all, help_cmd_list): Ditto. | |
3329 | (find_cmd, complete_on_cmdlist): Ditto. | |
3330 | * top.c (execute_command): Ditto. | |
3331 | ||
3332 | * cli/cli-setshow.c (do_setshow_command): Call func instead of | |
3333 | function.sfunc. | |
3334 | ||
3335 | * infcmd.c (notice_args_read): Fix function signature. | |
3336 | ||
3337 | * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. | |
3338 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
3339 | * utils.c (initialize_utils): Ditto. | |
3340 | * maint.c (_initialize_maint_cmds): Ditto. | |
3341 | * infrun.c (_initialize_infrun): Ditto. | |
3342 | * demangle.c (_initialize_demangler): Ditto. | |
3343 | * remote.c (add_packet_config_cmd): Ditto. | |
3344 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
3345 | * cris-tdep.c (_initialize_cris_tdep): Ditto. | |
3346 | * proc-api.c (_initialize_proc_api): Ditto. | |
3347 | * kod.c (_initialize_kod): Ditto. | |
3348 | * valprint.c (_initialize_valprint): Ditto. | |
3349 | * top.c (init_main): Ditto. | |
3350 | * infcmd.c (_initialize_infcmd): Ditto. | |
3351 | * corefile.c (_initialize_core): Ditto. | |
3352 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
3353 | * arch-utils.c (initialize_current_architecture): Ditto. | |
3354 | (_initialize_gdbarch_utils): Ditto. | |
3355 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
3356 | ||
3357 | * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. | |
3358 | * wince.c (_initialize_inftarg): Ditto. | |
3359 | * symfile.c (_initialize_symfile): Ditto. | |
3360 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
3361 | * language.c (_initialize_language): Ditto. | |
3362 | * arc-tdep.c (_initialize_arc_tdep): Ditto. | |
3363 | ||
f9ba0717 MS |
3364 | 2002-02-04 Michael Snyder <[email protected]> |
3365 | ||
3366 | * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. | |
3367 | ||
0c74b2a7 DJ |
3368 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
3369 | ||
3370 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. | |
3371 | Add rules for building the register data files. | |
3372 | ||
c638789f DJ |
3373 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
3374 | ||
3375 | * regformats/regdat.sh: Add braces to the definition of | |
3376 | expedite_regs_${arch}. | |
3377 | ||
db253027 DJ |
3378 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
3379 | ||
3380 | * regformats/regdef.h (struct reg): Add comment describing the | |
3381 | requirements for offset and size fields. | |
3382 | ||
206be19c AS |
3383 | 2002-02-04 Andreas Schwab <[email protected]> |
3384 | ||
3385 | * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. | |
3386 | * config/ia64/linux.mt: Don't set GDBSERVER_LIBS. | |
3387 | ||
181c1381 RE |
3388 | 2002-02-04 Richard Earnshaw <[email protected]> |
3389 | ||
3390 | * gdbarch.sh (copyright): Update years in generated header. | |
3391 | (SMASH_TEXT_ADDRESS): Add rule. | |
db253027 | 3392 | * gdbarch.h, gdbarch.c: Re-generate. |
181c1381 RE |
3393 | * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. |
3394 | * dbxread.c: Likewise. | |
3395 | * dwarfread.c: Likewise. | |
3396 | * elfread.c: Likewise. | |
3397 | * somread.c: Likewise. | |
3398 | ||
3399 | * arm-tdep.c (arm_smash_text_address): New function. | |
3400 | * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above. | |
3401 | ||
fa4ba8da PM |
3402 | 2002-02-04 Pierre Muller <[email protected]> |
3403 | ||
3404 | Add support for hardware watchpoints on win32 native. | |
aaa38bb5 | 3405 | * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of |
fa4ba8da | 3406 | CONTEXT_DEBUG_REGISTERS. |
aaa38bb5 | 3407 | (dr variable): New variable. Static array containing a local copy |
fa4ba8da PM |
3408 | of debug registers. |
3409 | (debug_registers_changed): New variable. Reflects when debug registers | |
3410 | are changed and need to be written to inferior. | |
aaa38bb5 | 3411 | (debug_registers_used): New variable. Reflects when any debug register |
fa4ba8da PM |
3412 | was set, used when new threads are created. |
3413 | (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by | |
3414 | i386-nat code. | |
3415 | (thread_rec): Set dr array if id is the thread of current_event . | |
3416 | (child_continue, child_resume): Change the debug registers for all | |
3417 | threads if debug_registers_changed. | |
3418 | (child_add_thread): Change the debug registers if debug_registers_used. | |
3419 | * config/i386/cygwin.mh: Add use of i386-nat.o file. | |
3420 | Link nm.h to new nm-cygwin.h file. | |
3421 | + config/i386/nm-cygwin.h: New file. Contains the macros used for use | |
3422 | of hardware registers. | |
3423 | ||
a73c86fb AC |
3424 | 2002-02-03 Andrew Cagney <[email protected]> |
3425 | ||
3426 | * valprint.c (print_floating): Allow non TYPE_CODE_FLT types. | |
3427 | Restore behavour broken by 2002-01-20 Andrew Cagney | |
3428 | <[email protected]> IEEE_FLOAT removal. | |
3429 | ||
acf5ed49 DJ |
3430 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
3431 | ||
3432 | * c-valprint.c (c_val_print): Pass a proper valaddr to | |
3433 | cp_print_class_method. | |
3434 | * valops.c (search_struct_method): If there is only one method | |
3435 | and args is NULL, return that method. | |
3436 | ||
493d28d5 DJ |
3437 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
3438 | ||
3439 | * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of | |
3440 | accessing tag_name directly. | |
3441 | ||
7495dfdb DJ |
3442 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
3443 | ||
3444 | * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead | |
3445 | of accessing tag_name directly. | |
3446 | ||
dd6bda65 DJ |
3447 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
3448 | ||
3449 | PR gdb/280 | |
3450 | * gdbtypes.c (replace_type): New function. | |
3451 | * gdbtypes.h (replace_type): Add prototype. | |
3452 | * stabsread.c (read_type): Use replace_type. | |
3453 | ||
88fe217c RE |
3454 | 2002-02-03 Richard Earnshaw <[email protected]> |
3455 | ||
3456 | * Makefile.in (memattr.o): Add missing dependencies rule. | |
3457 | ||
e5d66720 PS |
3458 | 2002-02-03 Peter Schauer <[email protected]> |
3459 | ||
3460 | * breakpoint.c (break_at_finish_command): Really export. | |
3461 | (break_at_finish_at_depth_command): Ditto. | |
3462 | (tbreak_at_finish_command): Ditto. | |
3463 | * hppa-tdep.c: Include completer.h. | |
3464 | * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). | |
3465 | (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o. | |
3466 | ||
fffee0be AC |
3467 | 2002-02-01 Andrew Cagney <[email protected]> |
3468 | ||
3469 | * utils.c (do_write): New function. | |
3470 | (error_stream): Rewrite combining the code from error_begin and | |
3471 | verror. | |
3472 | (verror): Rewrite using error_stream. | |
3473 | (error_begin): Delete function. | |
3474 | ||
255e7dbf AC |
3475 | 2002-02-01 Andrew Cagney <[email protected]> |
3476 | ||
3477 | * utils.c (error_begin): Make static. | |
3478 | * defs.h (error_begin): Delete declaration. | |
3479 | ||
3480 | * linespec.c (cplusplus_error): Replace cplusplus_hint. | |
3481 | (decode_line_1): Use cplusplus_error instead of error_begin, | |
3482 | cplusplus_hint and return_to_top_level. | |
3483 | * coffread.c (coff_symfile_read): Use error instead of error_begin | |
3484 | and return_to_top_level. | |
3485 | * infrun.c (default_skip_permanent_breakpoint): Ditto. | |
3486 | ||
ddfe3c15 AC |
3487 | 2002-02-01 Andrew Cagney <[email protected]> |
3488 | ||
3489 | * language.h (type_error, range_error): Make string parameter | |
3490 | constant. | |
3491 | * language.c (warning_pre_print): Delete extern declaration. | |
3492 | * dwarfread.c (warning_pre_print): Ditto. | |
3493 | * language.c (type_error, range_error): Rewrite to use verror and | |
3494 | vwarning instead of warning_begin. | |
3495 | ||
03ac34d5 MS |
3496 | 2002-02-01 Michael Snyder <[email protected]> |
3497 | ||
261c4ca2 MS |
3498 | * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code. |
3499 | (set_ignore_count): Move misplaced comment back where it belongs. | |
03ac34d5 | 3500 | |
e00d1dc8 AC |
3501 | 2002-02-01 Andrew Cagney <[email protected]> |
3502 | ||
3503 | * command.h (NO_FUNCTION): Delete macro. | |
3504 | * cli/cli-decode.h (NO_FUNCTION): Ditto. | |
3505 | * top.c (execute_command): Replace NO_FUNCTION with NULL. | |
3506 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
3507 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
3508 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
aaa38bb5 | 3509 | |
76b79d6e DJ |
3510 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
3511 | ||
3512 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. | |
3513 | Update ``this'' pointer when calling virtual functions. | |
3514 | ||
799f9e91 MS |
3515 | 2002-02-01 Michael Snyder <[email protected]> |
3516 | ||
c7bd442c | 3517 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
799f9e91 MS |
3518 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
3519 | ||
3cf384d4 DJ |
3520 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
3521 | ||
3522 | * regformats/reg-arm.dat: New file. | |
3523 | * regformats/reg-i386.dat: New file. | |
3524 | * regformats/reg-ia64.dat: New file. | |
3525 | * regformats/reg-m68k.dat: New file. | |
3526 | * regformats/reg-mips.dat: New file. | |
3527 | * regformats/reg-ppc.dat: New file. | |
3528 | * regformats/reg-sh.dat: New file. | |
3529 | * regformats/regdef.h: New file. | |
3530 | * regformats/regdat.sh: New file. | |
3531 | ||
0defa245 RE |
3532 | 2002-02-01 Richard Earnshaw <[email protected]> |
3533 | ||
3534 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. | |
3535 | (arm_frame_args_address, arm_frame_locals_address): New functions. | |
3536 | (arm_frame_num_args): New function. | |
3537 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. | |
3538 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. | |
3539 | (FRMA_NUM_ARGS): Call arm_frame_num_args. | |
3540 | ||
405f26e6 MS |
3541 | 2002-01-31 Michael Snyder <[email protected]> |
3542 | ||
502fd408 MS |
3543 | * breakpoint.c (break_at_finish_command): Export. |
3544 | (break_at_finish_at_depth_command): Export. | |
3545 | (tbreak_at_finish_command): Export. | |
3546 | (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. | |
3547 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and | |
3548 | "tbreak" commands, which are HPPA specific. | |
3549 | ||
7d35e135 MS |
3550 | * printcmd.c (disassemble_command): Remove an ancient |
3551 | artifact of an old merge. | |
3552 | ||
aaa38bb5 | 3553 | * symfile.h (enum overlay_debugging_state): |
d874f1e2 MS |
3554 | Define enum constant values for overlay mode. |
3555 | * symfile.c (overlay_debugging): Use enums instead of literals. | |
aaa38bb5 AJ |
3556 | (overlay_is_mapped, overlay_auto_command, |
3557 | overlay_manual_command): Ditto. | |
d874f1e2 | 3558 | |
aaa38bb5 AJ |
3559 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
3560 | breakpoint_here_p, breakpoint_inserted_here_p, | |
3561 | breakpoint_thread_match, bpstat_stop_status, | |
9f04af04 MS |
3562 | describe_other_breakpoints, check_duplicates, clear_command): |
3563 | Coding standard fixes. | |
3564 | ||
8add0441 | 3565 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 3566 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
3567 | code: check bfd SEC_READONLY flag for section. |
3568 | ||
e351066e AC |
3569 | 2002-01-31 Andrew Cagney <[email protected]> |
3570 | ||
7d35e135 | 3571 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
e351066e | 3572 | |
8a48e967 DJ |
3573 | 2002-01-30 Daniel Jacobowitz <[email protected]> |
3574 | ||
3575 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
3576 | data symbols, since we search based on textlow and texthigh. | |
3577 | (find_pc_sect_symtab): Likewise. | |
3578 | ||
f5a96129 AC |
3579 | 2002-01-30 Andrew Cagney <[email protected]> |
3580 | ||
3581 | * defs.h (vwarning): Declare. | |
f5a96129 AC |
3582 | * utils.c (vwarning): New function. |
3583 | (warning): Call vwarning. | |
3584 | (warning_begin): Delete function. | |
3585 | ||
3586 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
3587 | the warning message. | |
3588 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
3589 | warning_begin. | |
3590 | ||
cefd4ef5 MS |
3591 | 2002-01-30 Michael Snyder <[email protected]> |
3592 | ||
1a703748 MS |
3593 | * NEWS: Mention "set trust-readonly-sections" command. |
3594 | Mention generate-core-file command. | |
cefd4ef5 | 3595 | |
3a11626d MS |
3596 | 2002-01-15 Michael Snyder <[email protected]> |
3597 | ||
3598 | * target.c: New command, "set trust-readonly-sections on". | |
3599 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
3600 | by reading them from the object file instead of from the target. | |
3601 | (initialize_targets): Register command "set trust-readonly-sections". | |
3602 | ||
d1c7e53b AC |
3603 | 2002-01-29 Andrew Cagney <[email protected]> |
3604 | ||
3605 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
3606 | pseudo-regs using a single loop. | |
3607 | ||
e2c9a72c AC |
3608 | 2002-01-30 Andrew Cagney <[email protected]> |
3609 | ||
3610 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
3611 | ||
69824b4e MK |
3612 | 2002-01-15 Rodney Brown <[email protected]> |
3613 | ||
3614 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
3615 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
3616 | * i386v4-nat.c: Include i387-nat.h. | |
3617 | (supply_fpregset): Use i387_supply_fsave. | |
3618 | (fill_fpregset): Use i387_fill_fsave. | |
3619 | ||
6eb69eab RE |
3620 | 2002-01-30 Richard Earnshaw <[email protected]> |
3621 | ||
3622 | * arm-tdep.c (arm_call_dummy_words): Define. | |
3623 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
3624 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
3625 | (CALL_DUMMY_WORDS): Define. | |
3626 | (arm_call_dummy_words): Declare. | |
3627 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
3628 | (arm_linux_call_dummy_words): Declare. | |
3629 | ||
9852326a AS |
3630 | 2002-01-30 Andreas Schwab <[email protected]> |
3631 | ||
3632 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
3633 | instead of referencing registers[] directly. | |
3634 | ||
977a3030 AC |
3635 | 2002-01-29 Andrew Cagney <[email protected]> |
3636 | ||
3637 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
3638 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
3639 | ||
2076c72b MS |
3640 | 2002-01-28 Michael Snyder <[email protected]> |
3641 | ||
3642 | * regcache.c (legacy_read_register_gen): Need to be able to | |
3643 | read pseudo-register as well as real register. | |
3644 | (legacy_write_register_gen): Ditto. | |
3645 | ||
8fcc723b AC |
3646 | 2002-01-28 Andrew Cagney <[email protected]> |
3647 | ||
3648 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
3649 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
3650 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
3651 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
3652 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
3653 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
3654 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
3655 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
3656 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
3657 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
3658 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
3659 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
3660 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
3661 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
3662 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
3663 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
3664 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
3665 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
3666 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
3667 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
3668 | ||
afe64c1a AC |
3669 | 2002-01-28 Andrew Cagney <[email protected]> |
3670 | ||
3671 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
3672 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
3673 | (initialize_current_architecture): Update target_byte_order using | |
3674 | information from BFD. | |
aaa38bb5 | 3675 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): |
afe64c1a AC |
3676 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. |
3677 | ||
75bc7ddf AC |
3678 | 2002-01-28 Andrew Cagney <[email protected]> |
3679 | ||
3680 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
3681 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
3682 | ||
3683 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
3684 | #ifdef INVALID_FLOAT. | |
3685 | * infcmd.c (do_registers_info): Ditto. | |
3686 | * values.c (unpack_double): Ditto. Add comment. | |
3687 | ||
3688 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
3689 | already commented out. | |
3690 | ||
0280a90a AS |
3691 | 2002-01-26 Andreas Schwab <[email protected]> |
3692 | ||
3693 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
3694 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
3695 | registers and add support for PTRACE_GETREGS. | |
3696 | ||
7072a954 AC |
3697 | 2002-01-24 Andrew Cagney <[email protected]> |
3698 | ||
3699 | GDB 5.1.1 released from 5.1 branch. | |
3700 | * NEWS: Add 5.1.1 news. | |
3701 | * README: Sync with 5.1 branch. | |
3702 | ||
86f902e0 FF |
3703 | 2002-01-23 Fred Fish <[email protected]> |
3704 | ||
3705 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
3706 | stabstring on initial malloc. Reallocing will copy it for us, | |
3707 | if necessary. | |
3708 | ||
8af51c36 EZ |
3709 | 2002-01-23 Elena Zannoni <[email protected]> |
3710 | ||
aaa38bb5 | 3711 | * Makefile.in (hpread_h): Delete. |
8af51c36 EZ |
3712 | (HFILES_NO_SRCDIR): Remove hpread.h. |
3713 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
3714 | (hpread.o): Update dependencies. | |
3715 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
3716 | ||
3717 | * hp-psymtab-read.c: Remove file. | |
3718 | * hp-symtab-read.c: Remove file. | |
3719 | * hpread.h: Remove file. | |
3720 | ||
3721 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
3722 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
3723 | January 1999. | |
3724 | ||
3725 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
aaa38bb5 | 3726 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, |
8af51c36 EZ |
3727 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): |
3728 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
3729 | ||
dc5cfeb6 EZ |
3730 | 2002-01-23 Elena Zannoni <[email protected]> |
3731 | ||
3732 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
3733 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
3734 | variable and use that, instead of calling the function several | |
3735 | times. | |
3736 | ||
ea87b71b AO |
3737 | 2002-01-24 Alexandre Oliva <[email protected]> |
3738 | ||
3739 | * configure.host: Accept sparcv9 as alias for sparc64. | |
3740 | * configure.tgt: Likewise. | |
3741 | ||
13fc0c2f KB |
3742 | 2002-01-22 Kevin Buettner <[email protected]> |
3743 | ||
3744 | * solib-aix5.c (build_so_list_from_mapfile) | |
3745 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
3746 | arguments is not reversed. | |
3747 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
3748 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
aaa38bb5 | 3749 | |
7bd872fe EZ |
3750 | 2002-01-22 Elena Zannoni <[email protected]> |
3751 | ||
3752 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
3753 | modified version of obsolete sh_fetch_pseudo_register. | |
3754 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
3755 | (sh4_register_read): New function. | |
3756 | (sh_pseudo_register_write): New function. Renamed and modified | |
3757 | version of obsolete sh_store_pseudo_register. | |
3758 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
3759 | (sh4_register_write): New function. | |
3760 | (sh_gdbarch_init): Remove setting of gdbarch function | |
3761 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
3762 | register_convert_to_raw, register_convert_to_virtual, | |
3763 | register_convertible. | |
3764 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
3765 | taken care by architecture specific functions | |
3766 | register_read/register_write. | |
3767 | (sh_sh4_register_convert_to_virtual): Make static. | |
3768 | (sh_sh4_register_convert_to_raw): Ditto. | |
3769 | ||
069e84fd AC |
3770 | 2002-01-22 Andrew Cagney <[email protected]> |
3771 | ||
3772 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
3773 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
3774 | ||
3775 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
3776 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
3777 | builtin_type_ieee_double_little, | |
3778 | builtin_type_ieee_double_littlebyte_bigword, | |
3779 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
3780 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
3781 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
3782 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
3783 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
3784 | ||
211a4f69 CV |
3785 | 2002-01-22 Corinna Vinschen <[email protected]> |
3786 | ||
3787 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
3788 | parameter. Set frameless flag if it exists and depended of | |
3789 | whether the scanned function is frameless or not. | |
3790 | (xstormy16_skip_prologue): If function is frameless, return | |
3791 | result of xstormy16_scan_prologue(). | |
3792 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
3793 | call. | |
3794 | ||
f81353e4 EZ |
3795 | 2002-01-21 Elena Zannoni <[email protected]> |
3796 | ||
3797 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
3798 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
3799 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
3800 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
3801 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
3802 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
3803 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
3804 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
3805 | gdbarch_tdep() just once, assign result to variable and use that, | |
3806 | instead of calling the function several times. | |
3807 | ||
63c73a17 MK |
3808 | 2002-01-20 Mark Kettenis <[email protected]> |
3809 | ||
3810 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
3811 | macros instead of LAST_FPU_CTRL_REGNUM. | |
3812 | (store_register): Likewise. | |
3813 | ||
39ad761d JB |
3814 | 2002-01-21 Jim Blandy <[email protected]> |
3815 | ||
3816 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
3817 | is up-to-date before running the program, not just when a program | |
3818 | exits. | |
3819 | ||
3d74b771 FF |
3820 | 2002-01-21 Fred Fish <[email protected]> |
3821 | ||
3822 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
3823 | when we have found all instructions we are looking for. | |
3824 | ||
966fbf70 RE |
3825 | 2002-01-21 Richard Earnshaw <[email protected]> |
3826 | ||
3827 | * arm-tdep.c (arm_register_name): New function. | |
3828 | (arm_registers_names): Make static. | |
3829 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
3830 | (arm_register_name): Declare. | |
3831 | (REGISTER_NAME): Use it. | |
3832 | ||
c3b4394c RE |
3833 | 2002-01-21 Richard Earnshaw <[email protected]> |
3834 | Kevin Buettner <[email protected]> | |
3835 | ||
3836 | Convert arm targets to new FRAME interface. | |
3837 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
3838 | (arm_frame_find_save_regs): Delete. | |
3839 | (arm_frame_init_saved_regs): New. | |
3840 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
3841 | Allocate extra_info as required. Convert all uses of fsr.regs | |
3842 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
3843 | to use extra_info. | |
3844 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
3845 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
3846 | (check_prologue_cache, save_prologue_cache): Likewise. | |
3847 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
3848 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
3849 | (FRAME_FIND_SAVED_REGS): Delete. | |
3850 | (arm_frame_find_saved_regs): Delete prototype. | |
3851 | (arm_frame_init_saved_regs): New prototype. | |
3852 | (FRAME_INIT_SAVED_REGS): Define. | |
3853 | ||
61d99182 AC |
3854 | 2002-01-20 Andrew Cagney <[email protected]> |
3855 | ||
3856 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
3857 | ||
6aaea291 AC |
3858 | 2002-01-20 Andrew Cagney <[email protected]> |
3859 | ||
3860 | From Jeff Law <[email protected]>: | |
3861 | * infttrace.c: Include <sys/pstat.h>. | |
3862 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
3863 | exec file if the ttrace equivalent fails. | |
3864 | ||
15f698d2 AC |
3865 | 2002-01-20 Andrew Cagney <[email protected]> |
3866 | ||
3867 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
3868 | (closeLogFile): Ditto. | |
3869 | ||
f86ddd7c MC |
3870 | 2002-01-20 Michael Chastain <[email protected]> |
3871 | ||
3872 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
3873 | ||
904507ce AC |
3874 | 2002-01-20 Andrew Cagney <[email protected]> |
3875 | ||
3876 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
3877 | Zannoni and Eli Zaretskii. | |
3878 | ||
d7f0b9ce DJ |
3879 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
3880 | ||
3881 | * buildsym.c: Update copyright years. | |
3882 | * c-typeprint.c: Likewise. | |
3883 | * dwarf2read.c: Likewise. | |
3884 | * f-typeprint.c: Likewise. | |
3885 | * gdbtypes.c: Likewise. | |
3886 | * gdbtypes.h: Likewise. | |
3887 | * hp-symtab-read.c: Likewise. | |
3888 | * hpread.c: Likewise. | |
3889 | * mdebugread.c: Likewise. | |
3890 | * p-typeprint.c: Likewise. | |
3891 | ||
3fd3d7d2 AC |
3892 | 2002-01-20 Andrew Cagney <[email protected]> |
3893 | ||
3894 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
3895 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
3896 | byte-order selectable. | |
3897 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
3898 | * arch-utils.c: Ditto. | |
3899 | (set_endian): Ditto. | |
3900 | (set_endian_from_file): Ditto. | |
3901 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
3902 | * gdbarch.sh: Ditto. | |
3903 | * gdbarch.h: Re-generate. | |
aaa38bb5 AJ |
3904 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): |
3905 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
3906 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
3907 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
3908 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
3909 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
3910 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
3fd3d7d2 AC |
3911 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete |
3912 | macro definition. | |
3913 | * config/mips/tm-wince.h: Remove #undef of macro | |
3914 | TARGET_BYTE_ORDER_SELECTABLE. | |
3915 | * config/sh/tm-wince.h: Ditto. | |
3916 | ||
b02dede2 DJ |
3917 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
3918 | ||
3919 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
3920 | member function fields. Add accessor macro | |
3921 | TYPE_FN_FIELD_ARTIFICIAL. | |
3922 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
3923 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
3924 | functions. | |
3925 | ||
c3643761 DJ |
3926 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
3927 | ||
3928 | * f-typeprint.c: Delete unused function f_type_print_args. | |
3929 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
3930 | ||
8176bb6d DJ |
3931 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
3932 | ||
3933 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
3934 | comment. Add ``artificial'' to ``union field_location''. | |
3935 | ||
3936 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
3937 | ||
3938 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
3939 | * mdebugread.c (parse_symbol): Likewise. | |
3940 | * stabsread.c (define_symbol): Likewise. | |
3941 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
3942 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
3943 | (hpread_doc_function_type): Likewise. | |
3944 | * hpread.c (hpread_function_type): Likewise. | |
3945 | ||
7fd60527 AC |
3946 | 2002-01-20 Andrew Cagney <[email protected]> |
3947 | ||
3948 | * configure.in (host_makefile_frag): Only require a host makefile | |
3949 | fragment when a native build. | |
3950 | * configure: Re-generate. | |
3951 | ||
c2f05ac9 AC |
3952 | 2002-01-20 Andrew Cagney <[email protected]> |
3953 | ||
3954 | * doublest.h (floatformat_from_type): Declare. | |
3955 | * doublest.c (floatformat_from_type): New function. | |
3956 | (convert_typed_floating): Use. | |
3957 | ||
3958 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
3959 | call to function floatformat_from_type. | |
3960 | ||
3961 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
3962 | * gdbarch.h, gdbarch.c: Re-generate. | |
3963 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
3964 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
3965 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
3966 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
3967 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
3968 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
3969 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
3970 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
3971 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
3972 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
3973 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
3974 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
3975 | ||
3976 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
3977 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
3978 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
3979 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
3980 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
3981 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
3982 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
3983 | ||
abf22e64 AJ |
3984 | 2002-01-20 Jiri Smid <[email protected]> |
3985 | ||
3986 | * configure.host, configure.tgt: Support x86-64. | |
3987 | * NEWS: Note new target x86-64. | |
3988 | ||
b7c4cbf8 AJ |
3989 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
3990 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
3991 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
3992 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
3993 | x86-64-linux-nat.o): Fix dependencies. | |
3994 | ||
82600034 AC |
3995 | 2002-01-19 Andrew Cagney <[email protected]> |
3996 | ||
3997 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
3998 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
3999 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
4000 | * config/sparc/xm-sun4os4.h: Delete file. | |
4001 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 4002 | |
bbe5c628 AC |
4003 | 2002-01-19 Andrew Cagney <[email protected]> |
4004 | ||
4005 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
4006 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
4007 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
4008 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
4009 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
4010 | * config/sparc/xm-sparclynx.h: Delete file. | |
4011 | * config/m68k/xm-m68klynx.h: Delete file. | |
4012 | * config/i386/xm-i386lynx.h: Delete file. | |
4013 | * config/xm-lynx.h: Delete file. | |
4014 | * config/djgpp/fnchange.lst: Update. | |
4015 | ||
f8453e34 JT |
4016 | 2002-01-19 Jason Thorpe <[email protected]> |
4017 | ||
4018 | * alpha-tdep.c (alpha_register_byte): New function. | |
4019 | (alpha_register_raw_size): Ditto. | |
4020 | (alpha_register_virtual_size): Ditto. | |
4021 | (alpha_skip_prologue_internal): Renamed from | |
4022 | alpha_skip_prologue. | |
4023 | (alpha_skip_prologue): New version that calls | |
4024 | alpha_skip_prologue_internal. | |
4025 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
4026 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
4027 | second argument from alpha_skip_prologue. | |
4028 | (REGISTER_BYTE): Use alpha_register_byte. | |
4029 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
4030 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
4031 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
4032 | generic_frameless_function_invocation_not. | |
4033 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
4034 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
4035 | ||
52d9e613 AC |
4036 | 2002-01-19 Andrew Cagney <[email protected]> |
4037 | ||
4038 | * config/mips/xm-news-mips.h: Delete file. | |
4039 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
4040 | ||
4041 | * config/m88k/xm-m88k.h: Delete file. | |
4042 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
4043 | * config/m88k/xm-delta88v4.h: Ditto. | |
4044 | * config/m88k/xm-delta88.h: Ditto. | |
4045 | ||
4046 | * config/alpha/xm-fbsd.h: Delete file. | |
4047 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
4048 | ||
4049 | * config/sparc/xm-sparc.h: Delete file. | |
4050 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
4051 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
4052 | * config/sparc/xm-sun4os4.h: Ditto. | |
4053 | * config/sparc/xm-linux.h: Ditto. | |
4054 | ||
4055 | * config/i386/xm-windows.h: Delete file. | |
4056 | ||
2d1b2124 AC |
4057 | 2002-01-19 Andrew Cagney <[email protected]> |
4058 | ||
4059 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
4060 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
4061 | ||
ee1f65f0 JT |
4062 | 2002-01-19 Jason Thorpe <[email protected]> |
4063 | ||
4064 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
4065 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
4066 | (CALL_DUMMY_P): Define. | |
4067 | (CALL_DUMMY_WORDS): Define. | |
4068 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
4069 | ||
98081e55 PB |
4070 | 2002-01-19 Per Bothner <[email protected]> |
4071 | ||
4072 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
4073 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
4074 | ||
0d056799 JT |
4075 | 2002-01-19 Jason Thorpe <[email protected]> |
4076 | ||
4077 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
4078 | (alpha_init_frame_pc_first): Ditto. | |
4079 | (alpha_fix_call_dummy): Ditto. | |
4080 | (alpha_store_struct_return): Ditto. | |
4081 | (alpha_extract_struct_value_address): Ditto. | |
4082 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
4083 | alpha_register_virtual_type. | |
4084 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
4085 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
4086 | alpha_extract_struct_value_address. | |
4087 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
4088 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
4089 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
4090 | ||
4604bcad MK |
4091 | 2002-01-19 Mark Kettenis <[email protected]> |
4092 | ||
4093 | * i386gnu-nat.c: Include "i386-tdep.h". | |
4094 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
4095 | point states such that it doesn't require FP7_REGNUM. | |
4096 | ||
140f9984 JT |
4097 | 2002-01-18 Jason Thorpe <[email protected]> |
4098 | ||
abf22e64 AJ |
4099 | * alpha-tdep.c (frame_extra_info): New. |
4100 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
4101 | frame->extra_info. |
4102 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
4103 | (alpha_frame_saved_pc): Use frame->extra_info. |
4104 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
4105 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
4106 | (init_extra_frame_info): Rename to... |
4107 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 4108 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
4109 | (alpha_frame_locals_address): Ditto. |
4110 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 4111 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
4112 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
4113 | alpha_frame_args_address. | |
abf22e64 | 4114 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 4115 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
4116 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
4117 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
4118 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
4119 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
4120 | ||
d734c450 JT |
4121 | 2002-01-18 Jason Thorpe <[email protected]> |
4122 | ||
4123 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
4124 | (alpha_cannot_fetch_register): Ditto. | |
4125 | (alpha_cannot_store_register): Ditto. | |
4126 | (alpha_register_convertible): Ditto. | |
4127 | (alpha_use_struct_convention): Ditto. | |
4128 | * config/alpha/tm-alpha.h: Update copyright years. | |
4129 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
4130 | (INNER_THAN): Use core_addr_lessthan. | |
4131 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
4132 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
4133 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
4134 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
4135 | (FRAME_CHAIN): Remove unnecessary cast. | |
4136 | ||
b4ceaee6 AC |
4137 | 2002-01-18 Andrew Cagney <[email protected]> |
4138 | ||
4139 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
4140 | obsolete. | |
4141 | ||
0a65a603 AC |
4142 | 2002-01-18 Andrew Cagney <[email protected]> |
4143 | ||
4144 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
4145 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
4146 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
4147 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
4148 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
4149 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
4150 | * x86-64-linux-nat.c: Ditto. | |
4151 | ||
636a6dfc JT |
4152 | 2002-01-18 Jason Thorpe <[email protected]> |
4153 | ||
abf22e64 | 4154 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
4155 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
4156 | (REGISTER_NAME): Define. | |
4157 | ||
acceddb6 JT |
4158 | 2002-01-18 Jason Thorpe <[email protected]> |
4159 | ||
4160 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
4161 | ||
ec32e4be JT |
4162 | 2002-01-18 Jason Thorpe <[email protected]> |
4163 | ||
4164 | * alpha-tdep.c: Update copyright years. | |
4165 | (alpha_next_pc): New function. | |
4166 | (alpha_software_single_step): Ditto. | |
4167 | * config/alpha/tm-alpha.h: Add prototype for | |
4168 | alpha_software_single_step. | |
4169 | ||
e771a871 JT |
4170 | 2002-01-18 Jason Thorpe <[email protected]> |
4171 | ||
4172 | * alphabsd-nat.c: Update copyright years. | |
4173 | (fill_gregset): Use regcache_collect. | |
4174 | (fill_fpregset): Likewise. | |
4175 | (fetch_inferior_registers): Only fetch integer registers | |
4176 | if requested to do so. | |
4177 | (store_inferior_registers): Only store integer registers | |
4178 | if requested to do so. | |
4179 | ||
7708fa01 AC |
4180 | 2002-01-17 Andrew Cagney <[email protected]> |
4181 | ||
4182 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
4183 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
4184 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
4185 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
4186 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
4187 | * config/arm/linux.mh (XDEPFILES): Delete. | |
4188 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
4189 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
4190 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
4191 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
4192 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
4193 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
4194 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
4195 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
4196 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
4197 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
4198 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
4199 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
4200 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
4201 | * config/i386/go32.mh (XDEPFILES): Delete. | |
4202 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
4203 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
4204 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
4205 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
4206 | * config/i386/linux.mh (XDEPFILES): Delete. | |
4207 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
4208 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
4209 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
4210 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
4211 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
4212 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
4213 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
4214 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
4215 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
4216 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
4217 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
4218 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
4219 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
4220 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
4221 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
4222 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
4223 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
4224 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
4225 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
4226 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
4227 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
4228 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
4229 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
4230 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
4231 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
4232 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
4233 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
4234 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
4235 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
4236 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
4237 | * config/mips/linux.mh (XDEPFILES): Delete. | |
4238 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
4239 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
4240 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
4241 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
4242 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
4243 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
4244 | (NATDEPFILES): Move core-aout.o to here. | |
4245 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
4246 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
4247 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
4248 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
4249 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
4250 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
4251 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
4252 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
4253 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
4254 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
4255 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
4256 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
4257 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
4258 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
4259 | * config/s390/s390.mh (XDEPFILES): Delete. | |
4260 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
4261 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
4262 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
4263 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
4264 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
4265 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
4266 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
4267 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
4268 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
4269 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
4270 | ||
375fc983 AC |
4271 | 2002-01-17 Andrew Cagney <[email protected]> |
4272 | ||
4273 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
4274 | Update queries to match. Default to quit and dump core. | |
4275 | ||
8926118c AC |
4276 | 2002-01-17 Andrew Cagney <[email protected]> |
4277 | ||
4278 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
4279 | copyright. | |
4280 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
4281 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
4282 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
4283 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
4284 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
4285 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
4286 | * mi/mi-main.c:Ditto. | |
4287 | ||
4288 | * stack.c, symfile.c: Update copyright. | |
4289 | ||
45b7b345 DJ |
4290 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
4291 | ||
db728ff7 DJ |
4292 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
4293 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
4294 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
4295 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 4296 | |
db728ff7 DJ |
4297 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
4298 | ||
4299 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
4300 | * gdbserver/low-lynx.c (myattach): Likewise. | |
4301 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
4302 | * gdbserver/low-sim.c (myattach): Likewise. | |
4303 | * gdbserver/low-sparc.c (myattach): Likewise. | |
4304 | * gdbserver/low-sun3.c (myattach): Likewise. | |
4305 | ||
4306 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 4307 | |
db728ff7 | 4308 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
4309 | (main): Handle "--attach". |
4310 | ||
8de3c354 AC |
4311 | 2002-01-16 Andrew Cagney <[email protected]> |
4312 | ||
4313 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
4314 | maintainer. | |
4315 | ||
b0129042 DJ |
4316 | 2002-01-15 Daniel Jacobowitz <[email protected]> |
4317 | ||
4318 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
4319 | check for non-conversion operators. | |
4320 | ||
ba8679fb | 4321 | 2002-01-15 Michael Snyder <[email protected]> |
2bf543a6 MS |
4322 | |
4323 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
4324 | (read_mapping): New function, abstract and re-use code. | |
4325 | (linux_find_memory_regions): Use new func read_mapping. | |
4326 | (linux_info_proc_cmd): New function, implement "info proc". | |
4327 | (_initialize_linux_proc): Add new command "info proc". | |
4328 | ||
e4f9b4d5 MS |
4329 | 2002-01-15 Michael Snyder <[email protected]> |
4330 | ||
4331 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
4332 | instead of manipulating bfd structure members directly. | |
4333 | (add_section_size_callback): New function, bfd sections callback | |
4334 | used by generic_load. | |
4335 | (load_sections_callback): New function, bfd sections callback | |
4336 | used by generic_load. | |
4337 | ||
08cf96df EZ |
4338 | 2002-01-15 Elena Zannoni <[email protected]> |
4339 | ||
abf22e64 | 4340 | [Based on work by Jim Blandy] |
08cf96df EZ |
4341 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
4342 | (builtin_type_vec128): Export. | |
4343 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
4344 | types. | |
4345 | (builtin_type_vec128): New builtin type for 128 bit vector | |
4346 | registers. | |
4347 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
4348 | builtin_type_v8hi. Create the vec128 register builtin type | |
4349 | structure. | |
4350 | (build_builtin_type_vec128): New function. | |
abf22e64 | 4351 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
4352 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
4353 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
4354 | AltiVec register to new builtin type. | |
4355 | ||
d7242108 DJ |
4356 | 2001-01-15 Daniel Jacobowitz <[email protected]> |
4357 | ||
4358 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
4359 | to make_cv_type. | |
4360 | ||
4ee3352d AC |
4361 | 2002-01-14 Andrew Cagney <[email protected]> |
4362 | ||
4363 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
4364 | CLEAN_UP_REGISTER_VALUE. | |
4365 | * regcache.c (supply_register): Update only call. | |
4366 | ||
f015b2e7 AC |
4367 | 2002-01-14 Andrew Cagney <[email protected]> |
4368 | ||
4369 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
4370 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
4371 | a29k-*-vxworks* targets as obsolete. | |
4372 | ||
356ae49d MS |
4373 | 2002-01-14 Michael Snyder <[email protected]> |
4374 | ||
4375 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
4376 | until we can resolve portability issues. | |
4377 | * gregset.h: Remove references to fpxregs. | |
4378 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
4379 | ||
ade8f45e AC |
4380 | 2002-01-13 Andrew Cagney <[email protected]> |
4381 | ||
4382 | * signals.c (target_signal_to_name): Rewrite. Only use | |
4383 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 4384 | |
89c49e7a AC |
4385 | 2002-01-13 Andrew Cagney <[email protected]> |
4386 | ||
4387 | From Petr Ledvina <[email protected]>: | |
4388 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
4389 | bounds of the signals array. | |
4390 | ||
4daa9f9f AC |
4391 | 2002-01-13 Andrew Cagney <[email protected]> |
4392 | ||
4393 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
4394 | ||
ba4bbdcb KS |
4395 | 2002-01-13 Keith Seitz <[email protected]> |
4396 | ||
4397 | * stack.c (print_frame_info_base): Print the frame's pc | |
4398 | only if when print_frame_info_listing_hook is not defined. | |
4399 | ||
575bbeb6 KS |
4400 | 2002-01-13 Keith Seitz <[email protected]> |
4401 | ||
4402 | * varobj.c (varobj_set_value): Make sure that there were no | |
4403 | errors evaluating the object before attempting to set its | |
4404 | value. | |
4405 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
4406 | so this offset adjustment is no longer necessary. | |
4407 | (create_child): Don't set the error flag if the child is | |
4408 | a CPLUS_FAKE_CHILD. | |
4409 | (value_of_child): If value_fetch_lazy fails, return NULL | |
4410 | so that callers will be notified that an error occurred. | |
4411 | (c_value_of_variable): Delay check of variable's validity | |
4412 | until later. We actually want all structs and unions to have | |
4413 | the value "{...}". | |
4414 | Do not return "???" for variables which could not be evaluated. | |
4415 | This error condition must be returned to the caller so that it | |
4416 | can get the error condition from gdb. | |
4417 | (cplus_name_of_child): Adjust index for vptr before figuring | |
4418 | out the name of the child. | |
4419 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
4420 | don't even bother trying to give a value for it. Just return | |
4421 | an error. Change all instances in this function. | |
4422 | (cplus_type_of_child): If our parent is one of the "fake" | |
4423 | parents, we need to get at the type of the real parent, and | |
4424 | derive the child's true type using this information. | |
4425 | ||
b76898ab AC |
4426 | 2002-01-13 Andrew Cagney <[email protected]> |
4427 | ||
4428 | From 2002-01-09 John Marshall <[email protected]>: | |
4429 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
4430 | sources.redhat.com, and tweak some related URLs which had | |
4431 | suffered from linkrot. | |
4432 | ||
b6649e88 AC |
4433 | 2002-01-13 Andrew Cagney <[email protected]> |
4434 | ||
4435 | From Jeff law: | |
4436 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
4437 | structures passed in registers. | |
4438 | ||
82cc5033 EZ |
4439 | 2002-01-13 Eli Zaretskii <[email protected]> |
4440 | ||
4441 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
4442 | white space which prevented compilation. Reported by DSK | |
4443 | <[email protected]>. | |
4444 | ||
ba5f2f8a MS |
4445 | 2002-01-11 Michael Snyder <[email protected]> |
4446 | ||
fbd35540 MS |
4447 | * symfile.c (build_section_addr_info_from_section_tab): |
4448 | Use bfd access method instead of manipulating bfd directly. | |
4449 | (syms_from_objfile): Ditto. | |
4450 | (simple_overlay_update_1): Ditto. | |
4451 | (simple_overlay_update): Ditto. | |
4452 | (generic_load): Ditto. | |
4453 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
4454 | (sections_overlap): FIXME comment, bfd access methods. | |
4455 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
4456 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
4457 | (section_is_mapped): FIXME comment, bfd access methods. | |
4458 | (section_is_overlay): FIXME comment, bfd access methods. | |
4459 | ||
ba5f2f8a MS |
4460 | * symfile.c (generic_load): Whitespace and long line cleanups. |
4461 | Remove duplicate variable, change several local variables to | |
4462 | more appropriate data types. | |
4463 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
4464 | ||
17df2af6 AC |
4465 | 2002-01-12 Andrew Cagney <[email protected]> |
4466 | ||
4467 | From Peter Schauer: | |
4468 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
4469 | convert NUM to a hex string. | |
4470 | ||
ec920329 EZ |
4471 | 2002-01-12 Elena Zannoni <[email protected]> |
4472 | ||
4473 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
4474 | the function. | |
538a76d6 | 4475 | Update Copyright year. |
ec920329 | 4476 | |
3abd2e01 AC |
4477 | 2002-01-12 Andrew Cagney <[email protected]> |
4478 | ||
4479 | * language.c (longest_raw_hex_string): Delete unused function. | |
4480 | ||
b21b22e0 PS |
4481 | 2002-01-11 Petr Sorfa <[email protected]> |
4482 | ||
4483 | * MAINTAINERS (write-after-approval): Add myself. | |
4484 | * dwarf2read.c (read_tag_string_type): Handling of | |
4485 | DW_AT_byte_size. | |
4486 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
4487 | first string size. | |
4488 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
4489 | ||
747fe712 RE |
4490 | 2002-01-11 Richard Earnshaw <[email protected]> |
4491 | ||
4492 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
4493 | GETPID(inferior_ptid). | |
4494 | (store_inferior_registers): Likewise. | |
4495 | ||
f1bea926 JM |
4496 | 2002-01-10 Jason Merrill <[email protected]> |
4497 | ||
4498 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
4499 | Fix DW_OP_minus. | |
4500 | ||
ae940673 AC |
4501 | 2002-01-10 Andrew Cagney <[email protected]> |
4502 | ||
4503 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
4504 | and bfd/elf32-sh-nbsd.c. | |
4505 | ||
00546b04 MS |
4506 | 2002-01-10 Michael Snyder <[email protected]> |
4507 | ||
352ed7b4 MS |
4508 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
4509 | ||
c18be923 MS |
4510 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
4511 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
4512 | ||
00546b04 MS |
4513 | * main.c (captured_main): Add new command line option "--pid". |
4514 | If the second command line argument (following the symbol-file) | |
4515 | begins with a digit, try to attach to it before trying to open | |
4516 | it as a corefile. | |
4517 | (print_gdb_help): Document the "--pid" argument. | |
4518 | ||
db60ec62 EZ |
4519 | 2002-01-10 Eli Zaretskii <[email protected]> |
4520 | ||
4521 | * completer.c (command_completer): New function. | |
4522 | ||
4523 | * completer.h <command_completer>: Add prototype. | |
4524 | ||
4525 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
4526 | completer for the "help" command. | |
4527 | ||
39c22d1a JM |
4528 | 2002-01-09 Jason Merrill <[email protected]> |
4529 | ||
4530 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
4531 | ||
c564377f MS |
4532 | 2002-01-09 Michael Snyder <[email protected]> |
4533 | ||
975aec09 MS |
4534 | * i386-linux-nat.c (fill_fpxregset): Make global. |
4535 | (store_fpxregset): Ditto. | |
4536 | ||
db4a10fa MS |
4537 | * gregset.h (gdb_fpxregset_t): Define. |
4538 | (supply_fpxregset): Prototype. | |
4539 | (fill_fpxregset): Prototype. | |
4540 | ||
c564377f MS |
4541 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
4542 | ||
c3d45d70 RE |
4543 | 2002-01-09 Richard Earnshaw <[email protected]> |
4544 | ||
4545 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
4546 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
4547 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
4548 | ||
fcc87af1 AC |
4549 | 2002-01-09 Andrew Cagney <[email protected]> |
4550 | ||
4551 | * MAINTAINERS: Update target maintainer rules so that any | |
4552 | Maintainer can approve a tested patch for a maintenance-only | |
4553 | target. | |
4554 | ||
dd96c05b RE |
4555 | 2002-01-09 Richard Earnshaw <[email protected]> |
4556 | ||
d4297db9 | 4557 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 4558 | |
d4297db9 | 4559 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
4560 | IN_SIGTRAMP. |
4561 | ||
145fdc6e MS |
4562 | 2002-01-08 Michael Snyder <[email protected]> |
4563 | ||
4564 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
4565 | real name of the executable, rather than the /proc name. | |
4566 | ||
be4d1333 MS |
4567 | 2002-01-03 Michael Snyder <[email protected]> |
4568 | ||
4569 | Implement a "generate-core-file" command in gdb, save target state. | |
4570 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
4571 | Save a corefile image of the current state of the inferior. | |
4572 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
4573 | * target.h (struct target_ops): Add new target vectors for saving | |
4574 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
4575 | (target_find_memory_regions): New macro. | |
4576 | (target_make_corefile_notes): New macro. | |
4577 | * target.c (update_current_target): Inherit new target methods. | |
4578 | (dummy_find_memory_regions): New place-holder method. | |
4579 | (dummy_make_corefile_notes): New place-holder method. | |
4580 | (init_dummy_target): Initialize new dummy target vectors. | |
4581 | * exec.c (exec_set_find_memory_regions): New function. | |
4582 | Allow the exec_ops vector for memory regions to be taken over. | |
4583 | (exec_make_note_section): New function, target vector method. | |
4584 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
4585 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
4586 | (procfs_make_note_section): New function, corefile method. | |
4587 | (init_procfs_ops): Set new target vector pointers. | |
4588 | (find_memory_regions_callback): New function. | |
4589 | (procfs_do_thread_registers): New function. | |
4590 | (procfs_corefile_thread_callback): New function. | |
4591 | * sol-thread.c (sol_find_memory_regions): New function. | |
4592 | (sol_make_note_section): New function. | |
4593 | (init_sol_thread_ops): Initialize new target vectors. | |
4594 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
4595 | Allow to_find_memory_regions vector to be taken over. | |
4596 | (inftarg_set_make_corefile_notes): New function. | |
4597 | Allow to_make_corefile_notes vector to be taken over. | |
4598 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
4599 | interface layer if not target_has_execution (may be a corefile). | |
4600 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
4601 | * config/sparc/sun4sol2.mh: Ditto. | |
4602 | * config/alpha/alpha-linux.mh: Ditto. | |
4603 | * config/arm/linux.mh: Ditto. | |
4604 | * config/i386/x86-64linux.mh: Ditto. | |
4605 | * config/ia64/linux.mh: Ditto. | |
4606 | * config/m68k/linux.mh: Ditto. | |
4607 | * config/mips/linux.mh: Ditto. | |
4608 | * config/powerpc/linux.mh: Ditto. | |
4609 | * config/sparc/linux.mh: Ditto. | |
4610 | ||
c6b92abd MS |
4611 | 2002-01-07 Michael Snyder <[email protected]> |
4612 | ||
4613 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
4614 | (registers[] and register_valid[]). | |
4615 | ||
4b09dc8c MS |
4616 | 2002-01-07 Michael Snyder <[email protected]> |
4617 | ||
abf22e64 AJ |
4618 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
4619 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
4620 | symbol file and shlibs. |
4621 | * Makefile.in: Add rule for linux-proc.o. | |
4622 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
4623 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
4624 | * config/arm/linux.mh: Ditto. | |
4625 | * config/i386/linux.mh: Ditto. | |
4626 | * config/i386/x86-64linux.mh: Ditto. | |
4627 | * config/ia64/linux.mh: Ditto. | |
4628 | * config/m68k/linux.mh: Ditto. | |
4629 | * config/mips/linux.mh: Ditto. | |
4630 | * config/powerpc/linux.mh: Ditto. | |
4631 | * config/sparc/linux.mh: Ditto. | |
4632 | ||
c25b74ac PM |
4633 | 2002-01-06 Pierre Muller <[email protected]> |
4634 | ||
4635 | * win32-nat.c: Add i386-tdep.h dependency. | |
4636 | ||
94cd915f MS |
4637 | 2002-01-07 Michael Snyder <[email protected]> |
4638 | ||
c7cccb76 MS |
4639 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
4640 | instead of bfd_get_arch_size. Don't bail out just because | |
4641 | there's no exec_bfd. | |
abf22e64 | 4642 | |
34c0bd93 MS |
4643 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
4644 | * p-valprint.c (pascal_object_print_value): Ditto. | |
4645 | * somread.c (som_symtab_read): Ditto. | |
4646 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
4647 | * valops.c (value_assign): Ditto. | |
4648 | ||
21c1c920 MS |
4649 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
4650 | use tilde_expand and strerror for opening save-tracepoints file. | |
4651 | ||
5bbd998e MS |
4652 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
4653 | ||
94cd915f MS |
4654 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
4655 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 4656 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
4657 | can be overridden with whatever value is appropriate to the host). |
4658 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
4659 | alloca to allocate potentially large buffer. | |
4660 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
4661 | * symm-nat.c (child_xfer_memory): Ditto. | |
4662 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
4663 | ||
494e8a93 JSC |
4664 | 2002-01-07 Jackie Smith Cashion <[email protected]> |
4665 | ||
4666 | From Nick Clifton <[email protected]> | |
4667 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
4668 | ||
d0e1d48e MS |
4669 | 2002-01-07 Michael Snyder <[email protected]> |
4670 | ||
abf22e64 | 4671 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
4672 | Don't use exec_bfd if it's NULL. |
4673 | ||
290b2c7a MK |
4674 | 2002-01-06 Mark Kettenis <[email protected]> |
4675 | ||
abf22e64 | 4676 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 4677 | |
aef21287 AC |
4678 | 2002-01-06 Andrew Cagney <[email protected]> |
4679 | ||
4680 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
4681 | * gnu-nat.c: Ditto. | |
4682 | ||
30efa627 AC |
4683 | 2002-01-06 Andrew Cagney <[email protected]> |
4684 | ||
4685 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
4686 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
4687 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
4688 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
4689 | z8k-coff have not been multi-arched. Update z8k-coff build | |
4690 | status. | |
4691 | ||
9b4ff276 AC |
4692 | 2002-01-06 Andrew Cagney <[email protected]> |
4693 | ||
4694 | * MAINTAINERS: Mark a29k target as obsolete. | |
4695 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
4696 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
4697 | comments. | |
4698 | * NEWS: Note that a29k targets are obsolete. | |
4699 | * a29k-tdep.c: Mark as obsolete. | |
4700 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
4701 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
4702 | a29k-*-vxworks* targets as obsolete. | |
4703 | * remote-adapt.c: Obsolete. | |
4704 | * remote-eb.c: Obsolete. | |
4705 | * remote-mm.c: Obsolete. | |
4706 | * remote-udi.c: Obsolete. | |
4707 | * config/a29k/a29k-udi.mt: Obsolete. | |
4708 | * config/a29k/a29k.mt: Obsolete. | |
4709 | * config/a29k/tm-a29k.h: Obsolete. | |
4710 | * config/a29k/tm-vx29k.h: Obsolete. | |
4711 | * config/a29k/vx29k.mt: Obsolete. | |
4712 | ||
a9011d31 AC |
4713 | 2002-01-05 Andrew Cagney <[email protected]> |
4714 | ||
4715 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
4716 | with BFD_ENDIAN_BIG. | |
4717 | ||
9299404e AC |
4718 | 2002-01-05 Andrew Cagney <[email protected]> |
4719 | ||
4720 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
4721 | * configure, config.in: Re-generate. | |
4722 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
4723 | * defs.h: Do not include <endian.h>. | |
4724 | ||
7e89e357 JT |
4725 | 2002-01-05 Jason Thorpe <[email protected]> |
4726 | ||
4727 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
4728 | * config.in: Regenerate. | |
4729 | * configure.in: Update copyright years. | |
4730 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
4731 | * configure: Regenerate. | |
4732 | * i386bsd-nat.c: Update copyright years. | |
4733 | (fill_gregset): Use regcache_collect. | |
4734 | (fetch_inferior_registers): Only fetch integer registers | |
4735 | if requested to do so. Add support for XMM registers | |
4736 | using PT_GETXMMREGS. | |
4737 | (store_inferior_registers): Only store integer registers | |
4738 | if requested to do so. Add support for XMM registers | |
4739 | using PT_SETXMMREGS. | |
4740 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
4741 | (store_inferior_registers): Remove. | |
4742 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
4743 | (fetch_elfcore_registers): New function. | |
4744 | (i386nbsd_elfcore_fns): New. | |
4745 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
4746 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
4747 | i386bsd-nat.o. | |
4748 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
4749 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
4750 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
4751 | * config/i386/tm-nbsd.h: Update copyright years. | |
4752 | (HAVE_SSE_REGS): Define. | |
4753 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
4754 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
4755 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
4756 | (SIGCONTEXT_PC_OFFSET): Remove. | |
4757 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
4758 | ||
a752853e AC |
4759 | 2002-01-05 Andrew Cagney <[email protected]> |
4760 | ||
4761 | * configure.tgt: Remove powerpc-*-macos* target. | |
4762 | * config/m68k/xm-mpw.h: Delete file. | |
4763 | * config/xm-mpw.h: Delete file. | |
4764 | * ser-mac.c: Delete file. | |
4765 | * mpw-make.sed: Delete file. | |
4766 | * mpw-config.in: Delete file. | |
4767 | * mac-xdep.c: Delete file. | |
4768 | * mac-gdb.r: Delete file. | |
4769 | * mac-defs.h: Delete file. | |
4770 | * mac-nat.c: Delete file. | |
4771 | * config/powerpc/macos.mh: Delete file. | |
4772 | * config/powerpc/macos.mt: Delete file. | |
4773 | * config/powerpc/nm-macos.h: Delete file. | |
4774 | * config/powerpc/tm-macos.h: Delete file. | |
4775 | * source.c (openp, open_source_file): Remove obsolete code. | |
4776 | * top.c (gdb_readline): Ditto. | |
4777 | * utils.c (query): Ditto. | |
4778 | * event-top.c (display_gdb_prompt): Ditto. | |
4779 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
4780 | * NEWS: Update. | |
4781 | ||
d7449b42 AC |
4782 | 2002-01-04 Andrew Cagney <[email protected]> |
4783 | ||
4784 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
4785 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
4786 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
4787 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
4788 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
4789 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
4790 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
4791 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
4792 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
4793 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
4794 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
4795 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
4796 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
4797 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
4798 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
4799 | * gdbarch.c: Re-generate. | |
4800 | ||
356374e8 DJ |
4801 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
4802 | ||
4803 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
4804 | for core files. | |
4805 | ||
a2b8f8f8 JT |
4806 | 2002-01-04 Jason Thorpe <[email protected]> |
4807 | ||
4808 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
4809 | ||
12466af9 AC |
4810 | 2002-01-04 Andrew Cagney <[email protected]> |
4811 | ||
4812 | * value.h (value_ptr): Delete typedef. | |
4813 | ||
3549ab40 JT |
4814 | 2002-01-04 Jason Thorpe <[email protected]> |
4815 | ||
4816 | * i386nbsd-nat.c: Update copyright years. | |
4817 | Include i386-tdep.h. | |
4818 | ||
fedbd091 EZ |
4819 | 2002-01-04 Elena Zannoni <[email protected]> |
4820 | ||
4821 | * stabsread.c: Update copyright years. | |
4822 | ||
4823 | From Debashis Mahata <[email protected]>: | |
4824 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
4825 | output for structs and unions. | |
fec8b34f | 4826 | Fix PR gdb/269. |
fedbd091 | 4827 | |
eb43544b DJ |
4828 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
4829 | ||
4830 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
4831 | prototype. | |
4832 | ||
1514d34e DJ |
4833 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
4834 | ||
4835 | * cp-abi.c: Fix whitespace. | |
4836 | (baseclass_offset): New wrapper function. | |
4837 | * cp-abi.h (baseclass_offset): Add prototype. | |
4838 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
4839 | ||
4840 | * valops.c (vb_match): Move to... | |
4841 | * gnu-v2-abi.c (vb_match): here. | |
4842 | * valops.c (baseclass_offset): Move to... | |
4843 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
4844 | ||
4845 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
4846 | ||
4847 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
4848 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
4849 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
4850 | ||
7f8c9282 DJ |
4851 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
4852 | ||
4853 | * valops.c (find_overload_match): Accept obj as a | |
4854 | reference parameter. Update it before returning. | |
4855 | * value.h (find_overload_match): Update prototype. | |
4856 | * eval.c (evaluate_subexp_standard): Pass object to | |
4857 | find_overload_match by reference. | |
4858 | ||
f23631e4 AC |
4859 | 2002-01-03 Andrew Cagney <[email protected]> |
4860 | ||
4861 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
4862 | register attribute from value declarations. | |
4863 | * valops.c: Ditto. | |
4864 | * value.h: Ditto. | |
4865 | * scm-lang.c (scm_lookup_name): Ditto. | |
4866 | ||
79e10fab | 4867 | 2002-01-03 Michael Snyder <[email protected]> |
abf22e64 | 4868 | |
79e10fab AC |
4869 | Abstract the functionality of iterating over mapped memory |
4870 | regions into a general purpose iterator function. | |
abf22e64 | 4871 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
4872 | iterator for memory sections. |
4873 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
4874 | (solib_mappings_callback): New function, callback for above. | |
4875 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
4876 | (info_mappings_callback): New function, callback for above. | |
4877 | ||
4878 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
4879 | ||
c5ad026a MK |
4880 | 2002-01-01 Mark Kettenis <[email protected]> |
4881 | ||
d2a7c97a MK |
4882 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
4883 | * i386-tdep.c: Include "elf-bfd.h". | |
4884 | (process_note_abi_tag_sections): New function. | |
4885 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
4886 | combinations. | |
4887 | ||
c5ad026a MK |
4888 | * maint.c (_initialize_maint_cmds): Add missing \ in |
4889 | string-literal. | |
4890 | ||
a1a5b71e | 4891 | For older changes see ChangeLog-2001 |
c906108c SS |
4892 | \f |
4893 | Local Variables: | |
4894 | mode: change-log | |
4895 | left-margin: 8 | |
4896 | fill-column: 74 | |
4897 | version-control: never | |
4898 | End: |