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