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