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