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