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