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