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