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