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