* i386gnu-nat.c: Include "i386-tdep.h".
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
4604bcad
MK
12002-01-19 Mark Kettenis <kettenis@gnu.org>
2
3 * i386gnu-nat.c: Include "i386-tdep.h".
4 (fetch_fpregs): Simplify code dealing with uninitialized floating
5 point states such that it doesn't require FP7_REGNUM.
6
140f9984
JT
72002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
8
9 * alpha-tdep.c (frame_extra_info): New.
10 (alpha_find_saved_regs): Make static. Use
11 frame->extra_info.
12 (alpha_frame_init_saved_regs): New function.
13 (alpha_frame_saved_pc): Use frame->extra_info.
14 (temp_saved_regs): Don't declare as struct frame_saved_regs.
15 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
16 (init_extra_frame_info): Rename to...
17 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
18 (alpha_print_extra_frame_info): New function.
19 (alpha_frame_locals_address): Ditto.
20 (alpha_frame_args_address): Ditto.
21 (alpha_pop_frame): Use frame->extra_info.
22 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
23 alpha_frame_args_address.
24 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
25 (alpha_find_saved_regs): Remove prototype.
26 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
27 (EXTRA_FRAME_INFO): Remove.
28 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
29 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
30
d734c450
JT
312002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
32
33 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
34 (alpha_cannot_fetch_register): Ditto.
35 (alpha_cannot_store_register): Ditto.
36 (alpha_register_convertible): Ditto.
37 (alpha_use_struct_convention): Ditto.
38 * config/alpha/tm-alpha.h: Update copyright years.
39 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
40 (INNER_THAN): Use core_addr_lessthan.
41 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
42 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
43 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
44 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
45 (FRAME_CHAIN): Remove unnecessary cast.
46
b4ceaee6
AC
472002-01-18 Andrew Cagney <ac131313@redhat.com>
48
49 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
50 obsolete.
51
0a65a603
AC
522002-01-18 Andrew Cagney <ac131313@redhat.com>
53
54 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
55 * monitor.c, remote-array.c, remote-bug.c: Ditto.
56 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
57 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
58 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
59 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
60 * x86-64-linux-nat.c: Ditto.
61
636a6dfc
JT
622002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
63
64 * alpha-tdep.c (alpha_register_name): New function.
65 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
66 (REGISTER_NAME): Define.
67
acceddb6
JT
682002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
69
70 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
71
ec32e4be
JT
722002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
73
74 * alpha-tdep.c: Update copyright years.
75 (alpha_next_pc): New function.
76 (alpha_software_single_step): Ditto.
77 * config/alpha/tm-alpha.h: Add prototype for
78 alpha_software_single_step.
79
e771a871
JT
802002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
81
82 * alphabsd-nat.c: Update copyright years.
83 (fill_gregset): Use regcache_collect.
84 (fill_fpregset): Likewise.
85 (fetch_inferior_registers): Only fetch integer registers
86 if requested to do so.
87 (store_inferior_registers): Only store integer registers
88 if requested to do so.
89
7708fa01
AC
902002-01-17 Andrew Cagney <ac131313@redhat.com>
91
92 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
93 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
94 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
95 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
96 * config/alpha/fbsd.mh (XDEPFILES): Delete.
97 * config/arm/linux.mh (XDEPFILES): Delete.
98 * config/arm/nbsd.mh (XDEPFILES): Delete.
99 * config/i386/i386dgux.mh (XDEPFILES): Delete.
100 * config/i386/i386sol2.mh (XDEPFILES): Delete.
101 * config/i386/i386m3.mh (XDEPFILES): Delete.
102 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
103 * config/i386/i386gnu.mh (XDEPFILES): Delete.
104 * config/i386/fbsd.mh (XDEPFILES): Delete.
105 * config/i386/i386bsd.mh (XDEPFILES): Delete.
106 * config/i386/i386sco5.mh (XDEPFILES): Delete.
107 * config/i386/i386v4.mh (XDEPFILES): Delete.
108 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
109 * config/i386/i386sco4.mh (XDEPFILES): Delete.
110 * config/i386/i386aix.mh (XDEPFILES): Delete.
111 * config/i386/go32.mh (XDEPFILES): Delete.
112 * config/i386/cygwin.mh (XDEPFILES): Delete.
113 * config/i386/i386lynx.mh (XDEPFILES): Delete.
114 * config/i386/i386mach.mh (XDEPFILES): Delete.
115 * config/i386/i386v32.mh (XDEPFILES): Delete.
116 * config/i386/linux.mh (XDEPFILES): Delete.
117 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
118 * config/i386/ncr3000.mh (XDEPFILES): Delete.
119 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
120 * config/i386/i386sco.mh (XDEPFILES): Delete.
121 * config/i386/i386v.mh (XDEPFILES): Delete.
122 * config/i386/nbsd.mh (XDEPFILES): Delete.
123 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
124 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
125 * config/i386/symmetry.mh (XDEPFILES): Delete.
126 * config/i386/obsd.mh (XDEPFILES): Delete.
127 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
128 * config/ia64/linux.mh (XDEPFILES): Delete.
129 * config/ia64/aix.mh (XDEPFILES): Delete.
130 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
131 * config/m68k/dpx2.mh (XDEPFILES): Delete.
132 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
133 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
134 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
135 * config/m68k/linux.mh (XDEPFILES): Delete.
136 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
137 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
138 * config/m68k/nbsd.mh (XDEPFILES): Delete.
139 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
140 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
141 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
142 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
143 * config/m88k/delta88.mh (XDEPFILES): Delete.
144 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
145 * config/m88k/m88k.mh (XDEPFILES): Delete.
146 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
147 * config/mips/linux.mh (XDEPFILES): Delete.
148 * config/mips/irix6.mh (XDEPFILES): Delete.
149 * config/mips/irix5.mh (XDEPFILES): Delete.
150 * config/mips/irix4.mh (XDEPFILES): Delete.
151 * config/mips/irix3.mh (XDEPFILES): Delete.
152 * config/mips/decstation.mh (XDEPFILES): Delete.
153 * config/mips/mipsm3.mh (XDEPFILES): Delete.
154 (NATDEPFILES): Move core-aout.o to here.
155 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
156 * config/pa/hpux1020.mh (XDEPFILES): Delete.
157 * config/pa/hppabsd.mh (XDEPFILES): Delete.
158 * config/pa/hppahpux.mh (XDEPFILES): Delete.
159 * config/pa/hpux11w.mh (XDEPFILES): Delete.
160 * config/pa/hppaosf.mh (XDEPFILES): Delete.
161 * config/pa/hpux11.mh (XDEPFILES): Delete.
162 * config/powerpc/aix.mh (XDEPFILES): Delete.
163 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
164 * config/powerpc/linux.mh (XDEPFILES): Delete.
165 * config/romp/rtbsd.mh: Rename XDEPFILES.
166 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
167 * config/rs6000/aix4.mh (XDEPFILES): Delete.
168 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
169 * config/s390/s390.mh (XDEPFILES): Delete.
170 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
171 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
172 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
173 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
174 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
175 * config/sparc/nbsd.mh (XDEPFILES): Delete.
176 * config/sparc/linux.mh (XDEPFILES): Delete.
177 * config/vax/vaxult.mh (XDEPFILES): Delete.
178 * config/vax/vaxult2.mh (XDEPFILES): Delete.
179 * Makefile.in (DEPFILES): Remove XDEPFILES.
180
375fc983
AC
1812002-01-17 Andrew Cagney <ac131313@redhat.com>
182
183 * utils.c (internal_verror): Fix comments, default is yes not no.
184 Update queries to match. Default to quit and dump core.
185
8926118c
AC
1862002-01-17 Andrew Cagney <ac131313@redhat.com>
187
188 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
189 copyright.
190 * defs.h, event-top.c, gdbcmd.h: Ditto.
191 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
192 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
193 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
194 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
195 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
196 * mi/mi-main.c:Ditto.
197
198 * stack.c, symfile.c: Update copyright.
199
45b7b345
DJ
2002002-01-17 Daniel Jacobowitz <drow@mvista.com>
201
db728ff7
DJ
202 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
203 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
204 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
205 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 206
db728ff7
DJ
2072002-01-17 Daniel Jacobowitz <drow@mvista.com>
208
209 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
210 * gdbserver/low-lynx.c (myattach): Likewise.
211 * gdbserver/low-nbsd.c (myattach): Likewise.
212 * gdbserver/low-sim.c (myattach): Likewise.
213 * gdbserver/low-sparc.c (myattach): Likewise.
214 * gdbserver/low-sun3.c (myattach): Likewise.
215
216 * gdbserver/low-linux.c (myattach): New function.
45b7b345 217
db728ff7 218 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
219 (main): Handle "--attach".
220
8de3c354
AC
2212002-01-16 Andrew Cagney <ac131313@redhat.com>
222
223 * MAINTAINERS (language support): Daniel Jacobwitz is C++
224 maintainer.
225
b0129042
DJ
2262002-01-15 Daniel Jacobowitz <drow@mvista.com>
227
228 * c-typeprint.c (is_type_conversion_operator): Add additional
229 check for non-conversion operators.
230
ba8679fb 2312002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
232
233 * linux-proc.c: Add "info proc" command, a la procfs.c.
234 (read_mapping): New function, abstract and re-use code.
235 (linux_find_memory_regions): Use new func read_mapping.
236 (linux_info_proc_cmd): New function, implement "info proc".
237 (_initialize_linux_proc): Add new command "info proc".
238
e4f9b4d5
MS
2392002-01-15 Michael Snyder <msnyder@redhat.com>
240
241 * symfile.c (generic_load): Use bfd_map_over_sections method
242 instead of manipulating bfd structure members directly.
243 (add_section_size_callback): New function, bfd sections callback
244 used by generic_load.
245 (load_sections_callback): New function, bfd sections callback
246 used by generic_load.
247
08cf96df
EZ
2482002-01-15 Elena Zannoni <ezannoni@redhat.com>
249
250 [Based on work by Jim Blandy]
251 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
252 (builtin_type_vec128): Export.
253 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
254 types.
255 (builtin_type_vec128): New builtin type for 128 bit vector
256 registers.
257 (build_gdbtypes): Initialize builtin_type_v16qi and
258 builtin_type_v8hi. Create the vec128 register builtin type
259 structure.
260 (build_builtin_type_vec128): New function.
261 (_initialize_gdbtypes): Register builtin_type_v16qi and
262 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
263 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
264 AltiVec register to new builtin type.
265
d7242108
DJ
2662001-01-15 Daniel Jacobowitz <drow@mvista.com>
267
268 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
269 to make_cv_type.
270
4ee3352d
AC
2712002-01-14 Andrew Cagney <ac131313@redhat.com>
272
273 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
274 CLEAN_UP_REGISTER_VALUE.
275 * regcache.c (supply_register): Update only call.
276
f015b2e7
AC
2772002-01-14 Andrew Cagney <ac131313@redhat.com>
278
279 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
280 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
281 a29k-*-vxworks* targets as obsolete.
282
356ae49d
MS
2832002-01-14 Michael Snyder <msnyder@redhat.com>
284
285 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
286 until we can resolve portability issues.
287 * gregset.h: Remove references to fpxregs.
288 * gcore.c (gcore_command): Initialize note_sec to NULL.
289
ade8f45e
AC
2902002-01-13 Andrew Cagney <ac131313@redhat.com>
291
292 * signals.c (target_signal_to_name): Rewrite. Only use
293 signals[].name when in bounds and non-NULL.
294
89c49e7a
AC
2952002-01-13 Andrew Cagney <ac131313@redhat.com>
296
297 From Petr Ledvina <ledvinap@kae.zcu.cz>:
298 * signals.c (target_signal_to_name): Verify that SIG is within the
299 bounds of the signals array.
300
4daa9f9f
AC
3012002-01-13 Andrew Cagney <ac131313@redhat.com>
302
303 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
304
ba4bbdcb
KS
3052002-01-13 Keith Seitz <keiths@redhat.com>
306
307 * stack.c (print_frame_info_base): Print the frame's pc
308 only if when print_frame_info_listing_hook is not defined.
309
575bbeb6
KS
3102002-01-13 Keith Seitz <keiths@redhat.com>
311
312 * varobj.c (varobj_set_value): Make sure that there were no
313 errors evaluating the object before attempting to set its
314 value.
315 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
316 so this offset adjustment is no longer necessary.
317 (create_child): Don't set the error flag if the child is
318 a CPLUS_FAKE_CHILD.
319 (value_of_child): If value_fetch_lazy fails, return NULL
320 so that callers will be notified that an error occurred.
321 (c_value_of_variable): Delay check of variable's validity
322 until later. We actually want all structs and unions to have
323 the value "{...}".
324 Do not return "???" for variables which could not be evaluated.
325 This error condition must be returned to the caller so that it
326 can get the error condition from gdb.
327 (cplus_name_of_child): Adjust index for vptr before figuring
328 out the name of the child.
329 (cplus_value_of_child): If a child's (real) parent is not valid,
330 don't even bother trying to give a value for it. Just return
331 an error. Change all instances in this function.
332 (cplus_type_of_child): If our parent is one of the "fake"
333 parents, we need to get at the type of the real parent, and
334 derive the child's true type using this information.
335
b76898ab
AC
3362002-01-13 Andrew Cagney <ac131313@redhat.com>
337
338 From 2002-01-09 John Marshall <johnm@falch.net>:
339 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
340 sources.redhat.com, and tweak some related URLs which had
341 suffered from linkrot.
342
b6649e88
AC
3432002-01-13 Andrew Cagney <ac131313@redhat.com>
344
345 From Jeff law:
346 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
347 structures passed in registers.
348
82cc5033
EZ
3492002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
350
351 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
352 white space which prevented compilation. Reported by DSK
353 <dsk@student.unsw.edu.au>.
354
ba5f2f8a
MS
3552002-01-11 Michael Snyder <msnyder@redhat.com>
356
fbd35540
MS
357 * symfile.c (build_section_addr_info_from_section_tab):
358 Use bfd access method instead of manipulating bfd directly.
359 (syms_from_objfile): Ditto.
360 (simple_overlay_update_1): Ditto.
361 (simple_overlay_update): Ditto.
362 (generic_load): Ditto.
363 (overlay_unmapped_address): FIXME comment, bfd access methods.
364 (sections_overlap): FIXME comment, bfd access methods.
365 (pc_in_mapped_range): FIXME comment, bfd access methods.
366 (pc_in_unmapped_range): FIXME comment, bfd access methods.
367 (section_is_mapped): FIXME comment, bfd access methods.
368 (section_is_overlay): FIXME comment, bfd access methods.
369
ba5f2f8a
MS
370 * symfile.c (generic_load): Whitespace and long line cleanups.
371 Remove duplicate variable, change several local variables to
372 more appropriate data types.
373 (print_transfer_performance): Use %lu instead of %ld for ulongs.
374
17df2af6
AC
3752002-01-12 Andrew Cagney <ac131313@redhat.com>
376
377 From Peter Schauer:
378 * language.c (longest_local_hex_string_custom): Use phex_nz to
379 convert NUM to a hex string.
380
ec920329
EZ
3812002-01-12 Elena Zannoni <ezannoni@redhat.com>
382
383 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
384 the function.
538a76d6 385 Update Copyright year.
ec920329 386
3abd2e01
AC
3872002-01-12 Andrew Cagney <ac131313@redhat.com>
388
389 * language.c (longest_raw_hex_string): Delete unused function.
390
b21b22e0
PS
3912002-01-11 Petr Sorfa <petrs@caldera.com>
392
393 * MAINTAINERS (write-after-approval): Add myself.
394 * dwarf2read.c (read_tag_string_type): Handling of
395 DW_AT_byte_size.
396 (read_tag_string_type): FORTRAN fix to prevent propagation of
397 first string size.
398 (set_cu_language): Handling of DW_LANG_Fortran95
399
747fe712
RE
4002002-01-11 Richard Earnshaw <rearnsha@arm.com>
401
402 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
403 GETPID(inferior_ptid).
404 (store_inferior_registers): Likewise.
405
f1bea926
JM
4062002-01-10 Jason Merrill <jason@redhat.com>
407
408 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
409 Fix DW_OP_minus.
410
ae940673
AC
4112002-01-10 Andrew Cagney <ac131313@redhat.com>
412
413 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
414 and bfd/elf32-sh-nbsd.c.
415
00546b04
MS
4162002-01-10 Michael Snyder <msnyder@redhat.com>
417
352ed7b4
MS
418 * NEWS: Mention --pid and corefile/proc-id behavior change.
419
c18be923
MS
420 * Makefile.in: Add rules for gcore.o and linux-proc.o.
421 * gcore.c: Include cli/cli-decode.h instead of command.h.
422
00546b04
MS
423 * main.c (captured_main): Add new command line option "--pid".
424 If the second command line argument (following the symbol-file)
425 begins with a digit, try to attach to it before trying to open
426 it as a corefile.
427 (print_gdb_help): Document the "--pid" argument.
428
db60ec62
EZ
4292002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
430
431 * completer.c (command_completer): New function.
432
433 * completer.h <command_completer>: Add prototype.
434
435 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
436 completer for the "help" command.
437
39c22d1a
JM
4382002-01-09 Jason Merrill <jason@redhat.com>
439
440 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
441
c564377f
MS
4422002-01-09 Michael Snyder <msnyder@redhat.com>
443
975aec09
MS
444 * i386-linux-nat.c (fill_fpxregset): Make global.
445 (store_fpxregset): Ditto.
446
db4a10fa
MS
447 * gregset.h (gdb_fpxregset_t): Define.
448 (supply_fpxregset): Prototype.
449 (fill_fpxregset): Prototype.
450
c564377f
MS
451 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
452
c3d45d70
RE
4532002-01-09 Richard Earnshaw <rearnsha@arm.com>
454
455 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
456 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
457 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
458
fcc87af1
AC
4592002-01-09 Andrew Cagney <ac131313@redhat.com>
460
461 * MAINTAINERS: Update target maintainer rules so that any
462 Maintainer can approve a tested patch for a maintenance-only
463 target.
464
dd96c05b
RE
4652002-01-09 Richard Earnshaw <rearnsha@arm.com>
466
d4297db9 467 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 468
d4297db9 469 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
470 IN_SIGTRAMP.
471
145fdc6e
MS
4722002-01-08 Michael Snyder <msnyder@redhat.com>
473
474 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
475 real name of the executable, rather than the /proc name.
476
be4d1333
MS
4772002-01-03 Michael Snyder <msnyder@redhat.com>
478
479 Implement a "generate-core-file" command in gdb, save target state.
480 * gcore.c: New file. Implement new command 'generate-core-file'.
481 Save a corefile image of the current state of the inferior.
482 * linux-proc.c: Add linux-specific code for saving corefiles.
483 * target.h (struct target_ops): Add new target vectors for saving
484 corefiles; to_find_memory_regions and to_make_corefile_notes.
485 (target_find_memory_regions): New macro.
486 (target_make_corefile_notes): New macro.
487 * target.c (update_current_target): Inherit new target methods.
488 (dummy_find_memory_regions): New place-holder method.
489 (dummy_make_corefile_notes): New place-holder method.
490 (init_dummy_target): Initialize new dummy target vectors.
491 * exec.c (exec_set_find_memory_regions): New function.
492 Allow the exec_ops vector for memory regions to be taken over.
493 (exec_make_note_section): New function, target vector method.
494 * defs.h (exec_set_find_memory_regions): Export prototype.
495 * procfs.c (proc_find_memory_regions): New function, corefile method.
496 (procfs_make_note_section): New function, corefile method.
497 (init_procfs_ops): Set new target vector pointers.
498 (find_memory_regions_callback): New function.
499 (procfs_do_thread_registers): New function.
500 (procfs_corefile_thread_callback): New function.
501 * sol-thread.c (sol_find_memory_regions): New function.
502 (sol_make_note_section): New function.
503 (init_sol_thread_ops): Initialize new target vectors.
504 * inftarg.c (inftarg_set_find_memory_regions): New function.
505 Allow to_find_memory_regions vector to be taken over.
506 (inftarg_set_make_corefile_notes): New function.
507 Allow to_make_corefile_notes vector to be taken over.
508 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
509 interface layer if not target_has_execution (may be a corefile).
510 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
511 * config/sparc/sun4sol2.mh: Ditto.
512 * config/alpha/alpha-linux.mh: Ditto.
513 * config/arm/linux.mh: Ditto.
514 * config/i386/x86-64linux.mh: Ditto.
515 * config/ia64/linux.mh: Ditto.
516 * config/m68k/linux.mh: Ditto.
517 * config/mips/linux.mh: Ditto.
518 * config/powerpc/linux.mh: Ditto.
519 * config/sparc/linux.mh: Ditto.
520
c6b92abd
MS
5212002-01-07 Michael Snyder <msnyder@redhat.com>
522
523 * arm-linux-nat.c: Remove references to regcache.c internal data
524 (registers[] and register_valid[]).
525
4b09dc8c
MS
5262002-01-07 Michael Snyder <msnyder@redhat.com>
527
528 * linux-proc.c: New file. Implement child_pid_to_exec_file,
529 so that attaching to a pid will automatically read the process's
530 symbol file and shlibs.
531 * Makefile.in: Add rule for linux-proc.o.
532 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
533 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
534 * config/arm/linux.mh: Ditto.
535 * config/i386/linux.mh: Ditto.
536 * config/i386/x86-64linux.mh: Ditto.
537 * config/ia64/linux.mh: Ditto.
538 * config/m68k/linux.mh: Ditto.
539 * config/mips/linux.mh: Ditto.
540 * config/powerpc/linux.mh: Ditto.
541 * config/sparc/linux.mh: Ditto.
542
c25b74ac
PM
5432002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
544
545 * win32-nat.c: Add i386-tdep.h dependency.
546
94cd915f
MS
5472002-01-07 Michael Snyder <msnyder@redhat.com>
548
c7cccb76
MS
549 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
550 instead of bfd_get_arch_size. Don't bail out just because
551 there's no exec_bfd.
552
34c0bd93
MS
553 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
554 * p-valprint.c (pascal_object_print_value): Ditto.
555 * somread.c (som_symtab_read): Ditto.
556 * symfile.c (simple_free_overlay_region_table): Ditto.
557 * valops.c (value_assign): Ditto.
558
21c1c920
MS
559 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
560 use tilde_expand and strerror for opening save-tracepoints file.
561
5bbd998e
MS
562 * thread-db.c (thread_db_new_objfile): Indendation fix.
563
94cd915f
MS
564 * infptrace.c (GDB_MAX_ALLOCA): New define.
565 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
566 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
567 can be overridden with whatever value is appropriate to the host).
568 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
569 alloca to allocate potentially large buffer.
570 * rs6000-nat.c (child_xfer_memory): Ditto.
571 * symm-nat.c (child_xfer_memory): Ditto.
572 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
573
494e8a93
JSC
5742002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
575
576 From Nick Clifton <nickc@redhat.com>
577 * d10v-tdep.c: Set STACK_START to 0x200bffe.
578
d0e1d48e
MS
5792002-01-07 Michael Snyder <msnyder@redhat.com>
580
581 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
582 Don't use exec_bfd if it's NULL.
583
290b2c7a
MK
5842002-01-06 Mark Kettenis <kettenis@gnu.org>
585
586 * valops.c (value_arg_coerce): Fix formatting.
587
aef21287
AC
5882002-01-06 Andrew Cagney <ac131313@redhat.com>
589
590 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
591 * gnu-nat.c: Ditto.
592
30efa627
AC
5932002-01-06 Andrew Cagney <ac131313@redhat.com>
594
595 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
596 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
597 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
598 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
599 z8k-coff have not been multi-arched. Update z8k-coff build
600 status.
601
9b4ff276
AC
6022002-01-06 Andrew Cagney <ac131313@redhat.com>
603
604 * MAINTAINERS: Mark a29k target as obsolete.
605 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
606 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
607 comments.
608 * NEWS: Note that a29k targets are obsolete.
609 * a29k-tdep.c: Mark as obsolete.
610 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
611 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
612 a29k-*-vxworks* targets as obsolete.
613 * remote-adapt.c: Obsolete.
614 * remote-eb.c: Obsolete.
615 * remote-mm.c: Obsolete.
616 * remote-udi.c: Obsolete.
617 * config/a29k/a29k-udi.mt: Obsolete.
618 * config/a29k/a29k.mt: Obsolete.
619 * config/a29k/tm-a29k.h: Obsolete.
620 * config/a29k/tm-vx29k.h: Obsolete.
621 * config/a29k/vx29k.mt: Obsolete.
622
a9011d31
AC
6232002-01-05 Andrew Cagney <ac131313@redhat.com>
624
625 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
626 with BFD_ENDIAN_BIG.
627
9299404e
AC
6282002-01-05 Andrew Cagney <ac131313@redhat.com>
629
630 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
631 * configure, config.in: Re-generate.
632 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
633 * defs.h: Do not include <endian.h>.
634
7e89e357
JT
6352002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
636
637 * acconfig.h (HAVE_PT_GETXMMREGS): New.
638 * config.in: Regenerate.
639 * configure.in: Update copyright years.
640 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
641 * configure: Regenerate.
642 * i386bsd-nat.c: Update copyright years.
643 (fill_gregset): Use regcache_collect.
644 (fetch_inferior_registers): Only fetch integer registers
645 if requested to do so. Add support for XMM registers
646 using PT_GETXMMREGS.
647 (store_inferior_registers): Only store integer registers
648 if requested to do so. Add support for XMM registers
649 using PT_SETXMMREGS.
650 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
651 (store_inferior_registers): Remove.
652 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
653 (fetch_elfcore_registers): New function.
654 (i386nbsd_elfcore_fns): New.
655 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
656 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
657 i386bsd-nat.o.
658 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
659 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
660 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
661 * config/i386/tm-nbsd.h: Update copyright years.
662 (HAVE_SSE_REGS): Define.
663 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
664 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
665 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
666 (SIGCONTEXT_PC_OFFSET): Remove.
667 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
668
a752853e
AC
6692002-01-05 Andrew Cagney <ac131313@redhat.com>
670
671 * configure.tgt: Remove powerpc-*-macos* target.
672 * config/m68k/xm-mpw.h: Delete file.
673 * config/xm-mpw.h: Delete file.
674 * ser-mac.c: Delete file.
675 * mpw-make.sed: Delete file.
676 * mpw-config.in: Delete file.
677 * mac-xdep.c: Delete file.
678 * mac-gdb.r: Delete file.
679 * mac-defs.h: Delete file.
680 * mac-nat.c: Delete file.
681 * config/powerpc/macos.mh: Delete file.
682 * config/powerpc/macos.mt: Delete file.
683 * config/powerpc/nm-macos.h: Delete file.
684 * config/powerpc/tm-macos.h: Delete file.
685 * source.c (openp, open_source_file): Remove obsolete code.
686 * top.c (gdb_readline): Ditto.
687 * utils.c (query): Ditto.
688 * event-top.c (display_gdb_prompt): Ditto.
689 * Makefile.in (ser-mac.o): Delete obsolete target.
690 * NEWS: Update.
691
d7449b42
AC
6922002-01-04 Andrew Cagney <ac131313@redhat.com>
693
694 * defs.h (BIG_ENDIAN): Delete macro definition.
695 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
696 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
697 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
698 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
699 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
700 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
701 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
702 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
703 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
704 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
705 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
706 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
707 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
708 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
709 * gdbarch.c: Re-generate.
710
356374e8
DJ
7112002-01-04 Daniel Jacobowitz <drow@mvista.com>
712
713 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
714 for core files.
715
a2b8f8f8
JT
7162002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
717
718 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
719
12466af9
AC
7202002-01-04 Andrew Cagney <ac131313@redhat.com>
721
722 * value.h (value_ptr): Delete typedef.
723
3549ab40
JT
7242002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
725
726 * i386nbsd-nat.c: Update copyright years.
727 Include i386-tdep.h.
728
fedbd091
EZ
7292002-01-04 Elena Zannoni <ezannoni@redhat.com>
730
731 * stabsread.c: Update copyright years.
732
733 From Debashis Mahata <debashis.mahata@wipro.com>:
734 (read_struct_fields): Deal with Sun C compiler erroneous stab
735 output for structs and unions.
fec8b34f 736 Fix PR gdb/269.
fedbd091 737
eb43544b
DJ
7382002-01-04 Daniel Jacobowitz <drow@mvista.com>
739
740 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
741 prototype.
742
1514d34e
DJ
7432002-01-04 Daniel Jacobowitz <drow@mvista.com>
744
745 * cp-abi.c: Fix whitespace.
746 (baseclass_offset): New wrapper function.
747 * cp-abi.h (baseclass_offset): Add prototype.
748 (struct cp_abi_ops): Add baseclass_offset pointer.
749
750 * valops.c (vb_match): Move to...
751 * gnu-v2-abi.c (vb_match): here.
752 * valops.c (baseclass_offset): Move to...
753 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
754
755 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
756
757 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
758 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
759 * hpacc-abi.c (init_hpacc_ops): Likewise.
760
7f8c9282
DJ
7612002-01-04 Daniel Jacobowitz <drow@mvista.com>
762
763 * valops.c (find_overload_match): Accept obj as a
764 reference parameter. Update it before returning.
765 * value.h (find_overload_match): Update prototype.
766 * eval.c (evaluate_subexp_standard): Pass object to
767 find_overload_match by reference.
768
f23631e4
AC
7692002-01-03 Andrew Cagney <ac131313@redhat.com>
770
771 * valarith.c: Replace value_ptr with struct value pointer. Remove
772 register attribute from value declarations.
773 * valops.c: Ditto.
774 * value.h: Ditto.
775 * scm-lang.c (scm_lookup_name): Ditto.
776
79e10fab
AC
7772002-01-03 Michael Snyder <msnyder@redhat.com>
778
779 Abstract the functionality of iterating over mapped memory
780 regions into a general purpose iterator function.
781 * procfs.c (iterate_over_mappings): New function, general purpose
782 iterator for memory sections.
783 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
784 (solib_mappings_callback): New function, callback for above.
785 (info_proc_mappings): Reimpliment using iterate_over_mappings.
786 (info_mappings_callback): New function, callback for above.
787
788 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
789
c5ad026a
MK
7902002-01-01 Mark Kettenis <kettenis@gnu.org>
791
d2a7c97a
MK
792 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
793 * i386-tdep.c: Include "elf-bfd.h".
794 (process_note_abi_tag_sections): New function.
795 (i386_gdbarch_init): Add code to recognize various OS/ABI
796 combinations.
797
c5ad026a
MK
798 * maint.c (_initialize_maint_cmds): Add missing \ in
799 string-literal.
800
a1a5b71e 801For older changes see ChangeLog-2001
c906108c
SS
802\f
803Local Variables:
804mode: change-log
805left-margin: 8
806fill-column: 74
807version-control: never
808End:
This page took 0.247452 seconds and 4 git commands to generate.