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