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