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