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