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