* breakpoint.c (break_at_finish_command): Really export.
[external/binutils.git] / gdb / ChangeLog
1 2002-02-03  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
2
3         * breakpoint.c (break_at_finish_command): Really export.
4         (break_at_finish_at_depth_command): Ditto.
5         (tbreak_at_finish_command): Ditto.
6         * hppa-tdep.c: Include completer.h.
7         * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
8         (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
9
10 2002-02-01  Andrew Cagney  <ac131313@redhat.com>
11
12         * utils.c (do_write): New function.
13         (error_stream): Rewrite combining the code from error_begin and
14         verror.
15         (verror): Rewrite using error_stream.
16         (error_begin): Delete function.
17
18 2002-02-01  Andrew Cagney  <ac131313@redhat.com>
19
20         * utils.c (error_begin): Make static.
21         * defs.h (error_begin): Delete declaration.
22
23         * linespec.c (cplusplus_error): Replace cplusplus_hint.
24         (decode_line_1): Use cplusplus_error instead of error_begin,
25         cplusplus_hint and return_to_top_level.
26         * coffread.c (coff_symfile_read): Use error instead of error_begin
27         and return_to_top_level.
28         * infrun.c (default_skip_permanent_breakpoint): Ditto.
29
30 2002-02-01  Andrew Cagney  <ac131313@redhat.com>
31
32         * language.h (type_error, range_error): Make string parameter
33         constant.
34         * language.c (warning_pre_print): Delete extern declaration.
35         * dwarfread.c (warning_pre_print): Ditto.
36         * language.c (type_error, range_error): Rewrite to use verror and
37         vwarning instead of warning_begin.
38
39 2002-02-01  Michael Snyder  <msnyder@redhat.com>
40
41         * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
42         (set_ignore_count): Move misplaced comment back where it belongs.
43
44 2002-02-01  Andrew Cagney  <ac131313@redhat.com>
45
46         * command.h (NO_FUNCTION): Delete macro.
47         * cli/cli-decode.h (NO_FUNCTION): Ditto.
48         * top.c (execute_command): Replace NO_FUNCTION with NULL.
49         * tracepoint.c (_initialize_tracepoint): Ditto.
50         * cli/cli-decode.c (add_set_cmd): Ditto.
51         * cli/cli-cmds.c (init_cli_cmds): Ditto.
52         
53 2002-02-01  Daniel Jacobowitz  <drow@mvista.com>
54
55         * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
56         Update ``this'' pointer when calling virtual functions.
57
58 2002-02-01  Michael Snyder  <msnyder@redhat.com>
59
60         * breakpoint.c (create_temp_exception_breakpoint): Delete.
61         * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
62
63 2002-02-01  Daniel Jacobowitz  <drow@mvista.com>
64
65         * regformats/reg-arm.dat: New file.
66         * regformats/reg-i386.dat: New file.
67         * regformats/reg-ia64.dat: New file.
68         * regformats/reg-m68k.dat: New file.
69         * regformats/reg-mips.dat: New file.
70         * regformats/reg-ppc.dat: New file.
71         * regformats/reg-sh.dat: New file.
72         * regformats/regdef.h: New file.
73         * regformats/regdat.sh: New file.
74
75 2002-02-01  Richard Earnshaw  <reanrsha@arm.com>
76
77         * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
78         (arm_frame_args_address, arm_frame_locals_address): New functions.
79         (arm_frame_num_args): New function.
80         * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
81         (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
82         (FRMA_NUM_ARGS): Call arm_frame_num_args.
83
84 2002-01-31  Michael Snyder  <msnyder@redhat.com>
85
86         * breakpoint.c (break_at_finish_command): Export.
87         (break_at_finish_at_depth_command): Export.
88         (tbreak_at_finish_command): Export.
89         (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
90         * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
91         "tbreak" commands, which are HPPA specific.
92
93         * printcmd.c (disassemble_command): Remove an ancient
94         artifact of an old merge.
95
96         * symfile.h (enum overlay_debugging_state): 
97         Define enum constant values for overlay mode.
98         * symfile.c (overlay_debugging): Use enums instead of literals.
99         (overlay_is_mapped, overlay_auto_command, 
100         overlay_manual_command): Ditto. 
101
102         * breakpoint.c (insert_breakpoints, remove_breakpoint, 
103         breakpoint_here_p, breakpoint_inserted_here_p, 
104         breakpoint_thread_match, bpstat_stop_status, 
105         describe_other_breakpoints, check_duplicates, clear_command):
106         Coding standard fixes.
107
108         * target.c (target_xfer_memory): Add spaces, coding standard.
109         (do_xfer_memory): Add missing line to trust-readonly
110         code: check bfd SEC_READONLY flag for section.
111
112 2002-01-31  Andrew Cagney  <ac131313@redhat.com>
113
114         * PROBLEMS: Fix typo, 5.1->5.1.1.
115
116 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
117
118         * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
119         data symbols, since we search based on textlow and texthigh.
120         (find_pc_sect_symtab): Likewise.
121
122 2002-01-30  Andrew Cagney  <ac131313@redhat.com>
123
124         * defs.h (vwarning): Declare.
125         (warning_begin): Delete declaration.
126         * utils.c (vwarning): New function.
127         (warning): Call vwarning.
128         (warning_begin): Delete function.
129
130         * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
131         the warning message.
132         * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
133         warning_begin.
134
135 2002-01-30  Michael Snyder  <msnyder@redhat.com>
136
137         * NEWS: Mention "set trust-readonly-sections" command.
138         Mention generate-core-file command.
139
140 2002-01-15  Michael Snyder  <msnyder@redhat.com>
141
142         * target.c: New command, "set trust-readonly-sections on".
143         (do_xfer_memory): Honor the suggestion to trust readonly sections
144         by reading them from the object file instead of from the target.
145         (initialize_targets): Register command "set trust-readonly-sections".
146
147 2002-01-29  Andrew Cagney  <ac131313@redhat.com>
148
149         * parse.c (target_map_name_to_register): Simplify, search regs and
150         pseudo-regs using a single loop.
151
152 2002-01-30  Andrew Cagney  <ac131313@redhat.com>
153
154         * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
155
156 2002-01-15  Rodney Brown  <rbrown64@csc.com.au>
157
158         * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
159         * config/i386/i386v42mp.mh: Add i387-nat.o .
160         * i386v4-nat.c: Include i387-nat.h.
161         (supply_fpregset): Use i387_supply_fsave.
162         (fill_fpregset): Use i387_fill_fsave.
163
164 2002-01-30  Richard Earnshaw  <rearnsha@arm.com>
165
166         * arm-tdep.c (arm_call_dummy_words): Define.
167         * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
168         * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
169         (CALL_DUMMY_WORDS): Define.
170         (arm_call_dummy_words): Declare.
171         * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
172         (arm_linux_call_dummy_words): Declare.
173
174 2002-01-30  Andreas Schwab  <schwab@suse.de>
175
176         * m68klinux-nat.c: Fix last change to use regcache_collect
177         instead of referencing registers[] directly.
178
179 2002-01-29  Andrew Cagney  <ac131313@redhat.com>
180
181         * parse.c (target_map_name_to_register): Delete code wrapped in
182         #ifdef REGISTER_NAME_ALIAS_HOOK.
183
184 2002-01-28  Michael Snyder  <msnyder@redhat.com>
185
186         * regcache.c (legacy_read_register_gen): Need to be able to
187         read pseudo-register as well as real register.
188         (legacy_write_register_gen): Ditto.
189
190 2002-01-28  Andrew Cagney  <ac131313@redhat.com>
191
192         * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
193         * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
194         * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
195         * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
196         * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
197         * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
198         * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
199         * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
200         * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
201         * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
202         * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
203         * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
204         * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
205         * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
206         * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
207         * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
208         * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
209         * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
210         * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
211         * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
212
213 2002-01-28  Andrew Cagney  <ac131313@redhat.com>
214
215         * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
216         (target_byte_order): Initialize to BFD_ENDIAN_BIG.
217         (initialize_current_architecture): Update target_byte_order using
218         information from BFD.
219         * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
220         * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): 
221         * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
222
223 2002-01-28  Andrew Cagney  <ac131313@redhat.com>
224
225         * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
226         * vax-tdep.c (INVALID_FLOAT): To here.  Document why it is broken.
227
228         * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
229         #ifdef INVALID_FLOAT.
230         * infcmd.c (do_registers_info): Ditto.
231         * values.c (unpack_double): Ditto.  Add comment.
232
233         * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
234         already commented out.
235
236 2002-01-26  Andreas Schwab  <schwab@suse.de>
237
238         * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
239         * m68klinux-nat.c: Update ptrace interface for fetching/storing
240         registers and add support for PTRACE_GETREGS.
241
242 2002-01-24  Andrew Cagney  <ac131313@redhat.com>
243
244         GDB 5.1.1 released from 5.1 branch.
245         * NEWS: Add 5.1.1 news.
246         * README: Sync with 5.1 branch.
247
248 2002-01-23  Fred Fish  <fnf@redhat.com>
249
250         * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
251         stabstring on initial malloc.  Reallocing will copy it for us,
252         if necessary.
253
254 2002-01-23  Elena Zannoni  <ezannoni@redhat.com>
255
256         * Makefile.in (hpread_h): Delete. 
257         (HFILES_NO_SRCDIR): Remove hpread.h.
258         (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
259         (hpread.o): Update dependencies.
260         (hp-psymtab-read.o, hp-symtab-read.o): Remove.
261
262         * hp-psymtab-read.c: Remove file.
263         * hp-symtab-read.c: Remove file.
264         * hpread.h: Remove file.
265
266         * hpread.c: Merge all contents of hp-psymtab-read.c,
267         hp-symtab-read.c and hpread.h into this file, as it was prior to
268         January 1999.
269
270         * config/pa/hpux11w.mh, config/pa/hpux11.mh,
271         config/pa/hpux1020.mh, config/pa/hppaosf.mh, 
272         config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
273         Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
274
275 2002-01-23  Elena Zannoni  <ezannoni@redhat.com>
276
277         * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
278         fill_gregset): Call gdbarch_tdep() just once, assign result to
279         variable and use that, instead of calling the function several
280         times.
281
282 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
283
284         * configure.host: Accept sparcv9 as alias for sparc64.
285         * configure.tgt: Likewise.
286
287 2002-01-22  Kevin Buettner  <kevinb@redhat.com>
288
289         * solib-aix5.c (build_so_list_from_mapfile)
290         (aix5_relocate_main_executable): Fix xcalloc() calls so order of
291         arguments is not reversed.
292         * solib-sunos.c (sunos_relocate_main_executable): Likewise.
293         * solib-svr4.c (svr4_relocate_main_executable): Likewise.
294         
295 2002-01-22  Elena Zannoni  <ezannoni@redhat.com>
296
297         * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
298         modified version of obsolete sh_fetch_pseudo_register.
299         (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
300         (sh4_register_read): New function.
301         (sh_pseudo_register_write): New function. Renamed and modified
302         version of obsolete sh_store_pseudo_register.
303         (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
304         (sh4_register_write): New function.
305         (sh_gdbarch_init): Remove setting of gdbarch function
306         fetch_pseudo_register and store_pseudo_register. Remove setting of
307         register_convert_to_raw, register_convert_to_virtual,
308         register_convertible.
309         (sh_sh4_register_convertible): Delete. No longer needed. All is
310         taken care by architecture specific functions
311         register_read/register_write.
312         (sh_sh4_register_convert_to_virtual): Make static.
313         (sh_sh4_register_convert_to_raw): Ditto.
314
315 2002-01-22  Andrew Cagney  <ac131313@redhat.com>
316
317         * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
318         (floatformat_is_nan, floatformat_mantissa): Ditto.
319
320         * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
321         for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
322         builtin_type_ieee_double_little,
323         builtin_type_ieee_double_littlebyte_bigword,
324         builtin_type_m68881_ext, builtin_type_i960_ext,
325         builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
326         builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
327         builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
328         builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
329
330 2002-01-22  Corinna Vinschen  <vinschen@redhat.com>
331
332         * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
333         parameter.  Set frameless flag if it exists and depended of
334         whether the scanned function is frameless or not.
335         (xstormy16_skip_prologue): If function is frameless, return
336         result of xstormy16_scan_prologue().
337         (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
338         call.
339
340 2002-01-21  Elena Zannoni  <ezannoni@redhat.com>
341
342         * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
343         sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
344         sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
345         sh_sh4_register_byte, sh_sh4_register_raw_size,
346         sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
347         sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
348         sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
349         sh_store_pseudo_register, sh_do_pseudo_register): Call
350         gdbarch_tdep() just once, assign result to variable and use that,
351         instead of calling the function several times.
352
353 2002-01-20  Mark Kettenis  <kettenis@gnu.org>
354
355         * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
356         macros instead of LAST_FPU_CTRL_REGNUM.
357         (store_register): Likewise.
358
359 2002-01-21  Jim Blandy  <jimb@redhat.com>
360
361         * infcmd.c (run_command): Check that the `exec' target layer's BFD
362         is up-to-date before running the program, not just when a program
363         exits.
364
365 2002-01-21  Fred Fish  <fnf@redhat.com>
366
367         * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
368         when we have found all instructions we are looking for.
369
370 2002-01-21  Richard Earnshaw  <rearnsha@arm.com>
371
372         * arm-tdep.c (arm_register_name): New function.
373         (arm_registers_names): Make static.
374         * config/arm/tm-arm.h (arm_register_names): Delete declaration.
375         (arm_register_name): Declare.
376         (REGISTER_NAME): Use it.
377
378 2002-01-21  Richard Earnshaw  <rearnsha@arm.com>
379             Kevin Buettner  <kevinb@redhat.com>
380
381         Convert arm targets to new FRAME interface.
382         * arm-tdep.c (struct frame_extra_info): Remove fsr.
383         (arm_frame_find_save_regs): Delete.
384         (arm_frame_init_saved_regs): New.
385         (arm_init_extra_frame_info): Alloacte saved_regs as required.
386         Allocate extra_info as required.  Convert all uses of fsr.regs
387         to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
388         to use extra_info.
389         (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
390         (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
391         (check_prologue_cache, save_prologue_cache): Likewise.
392         (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
393         * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
394         (FRAME_FIND_SAVED_REGS): Delete.
395         (arm_frame_find_saved_regs): Delete prototype.
396         (arm_frame_init_saved_regs): New prototype.
397         (FRAME_INIT_SAVED_REGS): Define.
398
399 2002-01-20  Andrew Cagney  <ac131313@redhat.com>
400
401         * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
402
403 2002-01-20  Andrew Cagney  <ac131313@redhat.com>
404
405         From Jeff Law <law@redhat.com>:
406         * infttrace.c: Include <sys/pstat.h>.
407         (child_pid_to_exec_file): Revamp.  Use pstat call to get the
408         exec file if the ttrace equivalent fails.
409
410 2002-01-20  Andrew Cagney  <ac131313@redhat.com>
411
412         * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
413         (closeLogFile): Ditto.
414
415 2002-01-20  Michael Chastain  <mec@shout.net>
416
417         * top.c (print_gdb_version): Bump copyright year to 2002.
418
419 2002-01-20  Andrew Cagney  <ac131313@redhat.com>
420
421         * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
422         Zannoni and Eli Zaretskii.
423
424 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
425
426         * buildsym.c: Update copyright years.
427         * c-typeprint.c: Likewise.
428         * dwarf2read.c: Likewise.
429         * f-typeprint.c: Likewise.
430         * gdbtypes.c: Likewise.
431         * gdbtypes.h: Likewise.
432         * hp-symtab-read.c: Likewise.
433         * hpread.c: Likewise.
434         * mdebugread.c: Likewise.
435         * p-typeprint.c: Likewise.
436
437 2002-01-20  Andrew Cagney  <ac131313@redhat.com>
438
439         * remote-sim.c (gdbsim_open): Simplify code testing the macro
440         TARGET_BYTE_ORDER_SELECTABLE_P.  Assume the target is always
441         byte-order selectable.
442         * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
443         * arch-utils.c: Ditto.
444         (set_endian): Ditto.
445         (set_endian_from_file): Ditto.
446         * gdbserver/low-sim.c (create_inferior): Ditto.
447         * gdbarch.sh: Ditto.
448         * gdbarch.h: Re-generate.
449         * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): 
450         * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): 
451         * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): 
452         * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): 
453         * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): 
454         * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): 
455         * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): 
456         * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
457         macro definition.
458         * config/mips/tm-wince.h: Remove #undef of macro
459         TARGET_BYTE_ORDER_SELECTABLE.
460         * config/sh/tm-wince.h: Ditto.
461
462 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
463
464         * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
465         member function fields.  Add accessor macro
466         TYPE_FN_FIELD_ARTIFICIAL.
467         * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
468         * c-typeprint.c (c_type_print_base): Skip artificial member
469         functions.
470
471 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
472
473         * f-typeprint.c: Delete unused function f_type_print_args.
474         * p-typeprint.c: Delete unused function pascal_type_print_args.
475
476 2002-01-20  Daniel Jacobowitz  <drow@mvista.com>
477
478         * gdbtypes.h (struct type): Fix whitespace.  Remove obsolete
479         comment.  Add ``artificial'' to ``union field_location''.
480
481         * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
482
483         * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
484         * mdebugread.c (parse_symbol): Likewise.
485         * stabsread.c (define_symbol): Likewise.
486         * hp-symtab-read.c (hpread_function_type): Likewise, instead of
487         initializing TYPE_FIELD_BITPOS to n (obsolete).
488         (hpread_doc_function_type): Likewise.
489         * hpread.c (hpread_function_type): Likewise.
490
491 2002-01-20  Andrew Cagney  <ac131313@redhat.com>
492
493         * configure.in (host_makefile_frag): Only require a host makefile
494         fragment when a native build.
495         * configure: Re-generate.
496
497 2002-01-20  Andrew Cagney  <ac131313@redhat.com>
498
499         * doublest.h (floatformat_from_type): Declare.
500         * doublest.c (floatformat_from_type): New function.
501         (convert_typed_floating): Use.
502
503         * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
504         call to function floatformat_from_type.
505
506         * gdbarch.sh (IEEE_FLOAT): Delete.
507         * gdbarch.h, gdbarch.c: Re-generate.
508         * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
509         * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
510         * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
511         * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
512         * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
513         * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
514         * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
515         * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
516         * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
517         * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
518         * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
519         * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
520
521         * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
522         * x86-64-tdep.c (i386_gdbarch_init): Ditto.
523         * sparc-tdep.c (sparc_gdbarch_init): Ditto.
524         * sh-tdep.c (sh_gdbarch_init): Ditto.
525         * mips-tdep.c (mips_gdbarch_init): Ditto.
526         * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
527         * cris-tdep.c (cris_gdbarch_init): Ditto.
528
529 2002-01-20  Jiri Smid  <smid@suse.cz>
530
531         * configure.host, configure.tgt: Support x86-64.
532         * NEWS: Note new target x86-64.
533
534         * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
535         * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
536         * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
537         * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
538         x86-64-linux-nat.o): Fix dependencies.
539
540 2002-01-19  Andrew Cagney  <ac131313@redhat.com>
541
542         * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
543         * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
544         * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
545         * config/sparc/xm-sun4os4.h: Delete file.
546         * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
547
548 2002-01-19  Andrew Cagney  <ac131313@redhat.com>
549
550         * config/sparc/sparclynx.mh (XM_FILE): Delete.
551         * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
552         * config/m68k/m68klynx.mh (XM_FILE): Delete.
553         * config/i386/i386lynx.mh (XM_FILE): Delete.
554         * config/rs6000/xm-rs6000ly.h: Delete file.
555         * config/sparc/xm-sparclynx.h: Delete file.
556         * config/m68k/xm-m68klynx.h: Delete file.
557         * config/i386/xm-i386lynx.h: Delete file.
558         * config/xm-lynx.h: Delete file.
559         * config/djgpp/fnchange.lst: Update.
560
561 2002-01-19  Jason Thorpe  <thorpej@wasabisystems.com>
562
563         * alpha-tdep.c (alpha_register_byte): New function.
564         (alpha_register_raw_size): Ditto.
565         (alpha_register_virtual_size): Ditto.
566         (alpha_skip_prologue_internal): Renamed from
567         alpha_skip_prologue.
568         (alpha_skip_prologue): New version that calls
569         alpha_skip_prologue_internal.
570         (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
571         * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
572         second argument from alpha_skip_prologue.
573         (REGISTER_BYTE): Use alpha_register_byte.
574         (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
575         (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
576         (FRAMELESS_FUNCTION_INVOCATION): Use
577         generic_frameless_function_invocation_not.
578         (FRAME_NUM_ARGS): Use frame_num_args_unknown.
579         (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
580
581 2002-01-19  Andrew Cagney  <ac131313@redhat.com>
582
583         * config/mips/xm-news-mips.h: Delete file.
584         * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
585
586         * config/m88k/xm-m88k.h: Delete file.
587         * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
588         * config/m88k/xm-delta88v4.h: Ditto.
589         * config/m88k/xm-delta88.h: Ditto.
590
591         * config/alpha/xm-fbsd.h: Delete file.
592         * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
593
594         * config/sparc/xm-sparc.h: Delete file.
595         * Makefile.in (xm-sun4os4.h): Delete dependency.
596         * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
597         * config/sparc/xm-sun4os4.h: Ditto.
598         * config/sparc/xm-linux.h: Ditto.
599
600         * config/i386/xm-windows.h: Delete file.
601
602 2002-01-19  Andrew Cagney  <ac131313@redhat.com>
603
604         * utils.c: Include <sys/param.h> for MAXPATHLEN.
605         (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
606
607 2002-01-19  Jason Thorpe  <thorpej@wasabisystems.com>
608
609         * alpha-tdep.c (alpha_call_dummy_words): New.
610         * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
611         (CALL_DUMMY_P): Define.
612         (CALL_DUMMY_WORDS): Define.
613         (SIZEOF_CALL_DUMMY_WORDS): Define.
614
615 2002-01-19  Per Bothner  <per@bothner.com>
616
617         * gnu-v3-abi.c (gnuv3_rtti_type):  Guard that vtable_symbol_name
618         isn't NULL, which can happen with some gcj-3.x-produced code.
619
620 2002-01-19  Jason Thorpe  <thorpej@wasabisystems.com>
621
622         * alpha-tdep.c (alpha_register_virtual_type): New function.
623         (alpha_init_frame_pc_first): Ditto.
624         (alpha_fix_call_dummy): Ditto.
625         (alpha_store_struct_return): Ditto.
626         (alpha_extract_struct_value_address): Ditto.
627         * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
628         alpha_register_virtual_type.
629         (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
630         (EXTRACT_STRUCT_VALUE_ADDRESS): Use
631         alpha_extract_struct_value_address.
632         (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
633         (INIT_FRAME_PC): Use init_frame_pc_noop.
634         (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
635
636 2002-01-19  Mark Kettenis  <kettenis@gnu.org>
637
638         * i386gnu-nat.c: Include "i386-tdep.h".
639         (fetch_fpregs): Simplify code dealing with uninitialized floating
640         point states such that it doesn't require FP7_REGNUM.
641
642 2002-01-18  Jason Thorpe  <thorpej@wasabisystems.com>
643
644         * alpha-tdep.c (frame_extra_info): New.
645         (alpha_find_saved_regs): Make static.  Use
646         frame->extra_info.
647         (alpha_frame_init_saved_regs): New function.
648         (alpha_frame_saved_pc): Use frame->extra_info.
649         (temp_saved_regs): Don't declare as struct frame_saved_regs.
650         (heuristic_proc_desc): Adjust for temp_saved_regs changes.
651         (init_extra_frame_info): Rename to...
652         (alpha_init_extra_frame_info): ...this.  Use frame->extra_info.
653         (alpha_print_extra_frame_info): New function.
654         (alpha_frame_locals_address): Ditto.
655         (alpha_frame_args_address): Ditto.
656         (alpha_pop_frame): Use frame->extra_info.
657         * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
658         alpha_frame_args_address.
659         (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
660         (alpha_find_saved_regs): Remove prototype.
661         (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
662         (EXTRA_FRAME_INFO): Remove.
663         (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
664         (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
665
666 2002-01-18  Jason Thorpe  <thorpej@wasabisystems.com>
667
668         * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
669         (alpha_cannot_fetch_register): Ditto.
670         (alpha_cannot_store_register): Ditto.
671         (alpha_register_convertible): Ditto.
672         (alpha_use_struct_convention): Ditto.
673         * config/alpha/tm-alpha.h: Update copyright years.
674         (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
675         (INNER_THAN): Use core_addr_lessthan.
676         (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
677         (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
678         (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
679         (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
680         (FRAME_CHAIN): Remove unnecessary cast.
681
682 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
683
684         * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
685         obsolete.
686
687 2002-01-18  Andrew Cagney  <ac131313@redhat.com>
688
689         * infptrace.c: Remove ATTRIBUTE_UNUSED.  Update copyright.
690         * monitor.c, remote-array.c, remote-bug.c: Ditto.
691         * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
692         * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
693         * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
694         * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
695         * x86-64-linux-nat.c: Ditto.
696
697 2002-01-18  Jason Thorpe  <thorpej@wasabisystems.com>
698
699         * alpha-tdep.c (alpha_register_name): New function.
700         * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
701         (REGISTER_NAME): Define.
702
703 2002-01-18  Jason Thorpe  <thorpej@wasabisystems.com>
704
705         * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
706
707 2002-01-18  Jason Thorpe  <thorpej@wasabisystems.com>
708
709         * alpha-tdep.c: Update copyright years.
710         (alpha_next_pc): New function.
711         (alpha_software_single_step): Ditto.
712         * config/alpha/tm-alpha.h: Add prototype for
713         alpha_software_single_step.
714
715 2002-01-18  Jason Thorpe  <thorpej@wasabisystems.com>
716
717         * alphabsd-nat.c: Update copyright years.
718         (fill_gregset): Use regcache_collect.
719         (fill_fpregset): Likewise.
720         (fetch_inferior_registers): Only fetch integer registers
721         if requested to do so.
722         (store_inferior_registers): Only store integer registers
723         if requested to do so.
724
725 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
726
727         * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
728         * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
729         * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
730         * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
731         * config/alpha/fbsd.mh (XDEPFILES): Delete.
732         * config/arm/linux.mh (XDEPFILES): Delete.
733         * config/arm/nbsd.mh (XDEPFILES): Delete.
734         * config/i386/i386dgux.mh (XDEPFILES): Delete.
735         * config/i386/i386sol2.mh (XDEPFILES): Delete.
736         * config/i386/i386m3.mh (XDEPFILES): Delete.
737         (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
738         * config/i386/i386gnu.mh (XDEPFILES): Delete.
739         * config/i386/fbsd.mh (XDEPFILES): Delete.
740         * config/i386/i386bsd.mh (XDEPFILES): Delete.
741         * config/i386/i386sco5.mh (XDEPFILES): Delete.
742         * config/i386/i386v4.mh (XDEPFILES): Delete.
743         * config/i386/i386v42mp.mh (XDEPFILES): Delete.
744         * config/i386/i386sco4.mh (XDEPFILES): Delete.
745         * config/i386/i386aix.mh (XDEPFILES): Delete.
746         * config/i386/go32.mh (XDEPFILES): Delete.
747         * config/i386/cygwin.mh (XDEPFILES): Delete.
748         * config/i386/i386lynx.mh (XDEPFILES): Delete.
749         * config/i386/i386mach.mh (XDEPFILES): Delete.
750         * config/i386/i386v32.mh (XDEPFILES): Delete.
751         * config/i386/linux.mh (XDEPFILES): Delete.
752         * config/i386/nbsdelf.mh (XDEPFILES): Delete.
753         * config/i386/ncr3000.mh (XDEPFILES): Delete.
754         * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
755         * config/i386/i386sco.mh (XDEPFILES): Delete.
756         * config/i386/i386v.mh (XDEPFILES): Delete.
757         * config/i386/nbsd.mh (XDEPFILES): Delete.
758         * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
759         * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
760         * config/i386/symmetry.mh (XDEPFILES): Delete.
761         * config/i386/obsd.mh (XDEPFILES): Delete.
762         * config/i386/x86-64linux.mh (XDEPFILES): Delete.
763         * config/ia64/linux.mh (XDEPFILES): Delete.
764         * config/ia64/aix.mh (XDEPFILES): Delete.
765         * config/m68k/apollo68b.mh (XDEPFILES): Delete.
766         * config/m68k/dpx2.mh (XDEPFILES): Delete.
767         * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
768         * config/m68k/apollo68v.mh (XDEPFILES): Delete.
769         * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
770         * config/m68k/linux.mh (XDEPFILES): Delete.
771         * config/m68k/m68klynx.mh (XDEPFILES): Delete.
772         * config/m68k/m68kv4.mh (XDEPFILES): Delete.
773         * config/m68k/nbsd.mh (XDEPFILES): Delete.
774         * config/m68k/sun2os3.mh (XDEPFILES): Delete.
775         * config/m68k/sun2os4.mh (XDEPFILES): Delete.
776         * config/m68k/sun3os3.mh (XDEPFILES): Delete.
777         * config/m68k/sun3os4.mh (XDEPFILES): Delete.
778         * config/m88k/delta88.mh (XDEPFILES): Delete.
779         * config/m88k/delta88v4.mh (XDEPFILES): Delete.
780         * config/m88k/m88k.mh (XDEPFILES): Delete.
781         * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
782         * config/mips/linux.mh (XDEPFILES): Delete.
783         * config/mips/irix6.mh (XDEPFILES): Delete.
784         * config/mips/irix5.mh (XDEPFILES): Delete.
785         * config/mips/irix4.mh (XDEPFILES): Delete.
786         * config/mips/irix3.mh (XDEPFILES): Delete.
787         * config/mips/decstation.mh (XDEPFILES): Delete.
788         * config/mips/mipsm3.mh (XDEPFILES): Delete.
789         (NATDEPFILES): Move core-aout.o to here.
790         * config/ns32k/nbsd.mh (XDEPFILES): Delete.
791         * config/pa/hpux1020.mh (XDEPFILES): Delete.
792         * config/pa/hppabsd.mh (XDEPFILES): Delete.
793         * config/pa/hppahpux.mh (XDEPFILES): Delete.
794         * config/pa/hpux11w.mh (XDEPFILES): Delete.
795         * config/pa/hppaosf.mh (XDEPFILES): Delete.
796         * config/pa/hpux11.mh (XDEPFILES): Delete.
797         * config/powerpc/aix.mh (XDEPFILES): Delete.
798         * config/powerpc/nbsd.mh (XDEPFILES): Delete.
799         * config/powerpc/linux.mh (XDEPFILES): Delete.
800         * config/romp/rtbsd.mh: Rename XDEPFILES.
801         * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
802         * config/rs6000/aix4.mh (XDEPFILES): Delete.
803         * config/rs6000/rs6000.mh (XDEPFILES): Delete.
804         * config/s390/s390.mh (XDEPFILES): Delete.
805         * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
806         * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
807         * config/sparc/sun4os4.mh (XDEPFILES): Delete.
808         * config/sparc/sparclynx.mh (XDEPFILES): Delete.
809         * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
810         * config/sparc/nbsd.mh (XDEPFILES): Delete.
811         * config/sparc/linux.mh (XDEPFILES): Delete.
812         * config/vax/vaxult.mh (XDEPFILES): Delete.
813         * config/vax/vaxult2.mh (XDEPFILES): Delete.
814         * Makefile.in (DEPFILES): Remove XDEPFILES.
815
816 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
817
818         * utils.c (internal_verror): Fix comments, default is yes not no.
819         Update queries to match.  Default to quit and dump core.
820
821 2002-01-17  Andrew Cagney  <ac131313@redhat.com>
822
823         * breakpoint.c: Update assuming #if UI_OUT is always true.  Update
824         copyright.
825         * defs.h, event-top.c, gdbcmd.h: Ditto.
826         * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
827         * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
828         * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
829         * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
830         * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
831         * mi/mi-main.c:Ditto.
832
833         * stack.c, symfile.c: Update copyright.
834
835 2002-01-17  Daniel Jacobowitz  <drow@mvista.com>
836
837         * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
838         gdbserver/low-nbsd.c, gdbserver/low-sim.c,
839         gdbserver/low-sparc.c, gdbserver/low-sun3.c,
840         gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
841
842 2002-01-17  Daniel Jacobowitz  <drow@mvista.com>
843
844         * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
845         * gdbserver/low-lynx.c (myattach): Likewise.
846         * gdbserver/low-nbsd.c (myattach): Likewise.
847         * gdbserver/low-sim.c (myattach): Likewise.
848         * gdbserver/low-sparc.c (myattach): Likewise.
849         * gdbserver/low-sun3.c (myattach): Likewise.
850
851         * gdbserver/low-linux.c (myattach): New function.
852
853         * gdbserver/server.c (attach_inferior): New function.
854         (main): Handle "--attach".
855
856 2002-01-16  Andrew Cagney  <ac131313@redhat.com>
857
858         * MAINTAINERS (language support): Daniel Jacobwitz is C++
859         maintainer.
860
861 2002-01-15  Daniel Jacobowitz  <drow@mvista.com>
862
863         * c-typeprint.c (is_type_conversion_operator): Add additional
864         check for non-conversion operators.
865
866 2002-01-15  Michael Snyder  <msnyder@redhat.com>
867
868         * linux-proc.c: Add "info proc" command, a la procfs.c.
869         (read_mapping): New function, abstract and re-use code.
870         (linux_find_memory_regions): Use new func read_mapping.
871         (linux_info_proc_cmd): New function, implement "info proc".
872         (_initialize_linux_proc): Add new command "info proc".
873
874 2002-01-15  Michael Snyder  <msnyder@redhat.com>
875
876         * symfile.c (generic_load): Use bfd_map_over_sections method
877         instead of manipulating bfd structure members directly.
878         (add_section_size_callback): New function, bfd sections callback
879         used by generic_load.
880         (load_sections_callback): New function, bfd sections callback
881         used by generic_load.
882
883 2002-01-15  Elena Zannoni  <ezannoni@redhat.com>
884
885         [Based on work by Jim Blandy]
886         * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
887         (builtin_type_vec128): Export.
888         * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
889         types.
890         (builtin_type_vec128): New builtin type for 128 bit vector
891         registers.
892         (build_gdbtypes): Initialize builtin_type_v16qi and
893         builtin_type_v8hi. Create the vec128 register builtin type
894         structure.
895         (build_builtin_type_vec128): New function.
896         (_initialize_gdbtypes): Register builtin_type_v16qi and
897         builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
898         * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
899         AltiVec register to new builtin type.
900
901 2001-01-15  Daniel Jacobowitz  <drow@mvista.com>
902
903         * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
904         to make_cv_type.
905
906 2002-01-14  Andrew Cagney  <ac131313@redhat.com>
907
908         * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
909         CLEAN_UP_REGISTER_VALUE.
910         * regcache.c (supply_register): Update only call.
911
912 2002-01-14  Andrew Cagney  <ac131313@redhat.com>
913
914         * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
915         a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
916         a29k-*-vxworks* targets as obsolete.
917
918 2002-01-14  Michael Snyder  <msnyder@redhat.com>
919
920         * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
921         until we can resolve portability issues.
922         * gregset.h: Remove references to fpxregs.
923         * gcore.c (gcore_command): Initialize note_sec to NULL.
924
925 2002-01-13  Andrew Cagney  <ac131313@redhat.com>
926
927         * signals.c (target_signal_to_name): Rewrite.  Only use
928         signals[].name when in bounds and non-NULL.
929
930 2002-01-13  Andrew Cagney  <ac131313@redhat.com>
931
932         From Petr Ledvina <ledvinap@kae.zcu.cz>:
933         * signals.c (target_signal_to_name): Verify that SIG is within the
934         bounds of the signals array.
935
936 2002-01-13  Andrew Cagney  <ac131313@redhat.com>
937
938         * MAINTAINERS: Remove arm-coff and arm-pe from target list.
939
940 2002-01-13  Keith Seitz  <keiths@redhat.com>
941
942         * stack.c (print_frame_info_base): Print the frame's pc
943         only if when print_frame_info_listing_hook is not defined.
944
945 2002-01-13  Keith Seitz  <keiths@redhat.com>
946
947         * varobj.c (varobj_set_value): Make sure that there were no
948         errors evaluating the object before attempting to set its
949         value.
950         value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
951         so this offset adjustment is no longer necessary.
952         (create_child): Don't set the error flag if the child is
953         a CPLUS_FAKE_CHILD.
954         (value_of_child): If value_fetch_lazy fails, return NULL
955         so that callers will be notified that an error occurred.
956         (c_value_of_variable): Delay check of variable's validity
957         until later. We actually want all structs and unions to have
958         the value "{...}".
959         Do not return "???" for variables which could not be evaluated.
960         This error condition must be returned to the caller so that it
961         can get the error condition from gdb.
962         (cplus_name_of_child): Adjust index for vptr before figuring
963         out the name of the child.
964         (cplus_value_of_child): If a child's (real) parent is not valid,
965         don't even bother trying to give a value for it. Just return
966         an error. Change all instances in this function.
967         (cplus_type_of_child): If our parent is one of the "fake"
968         parents, we need to get at the type of the real parent, and
969         derive the child's true type using this information.
970
971 2002-01-13  Andrew Cagney  <ac131313@redhat.com>
972
973         From 2002-01-09 John Marshall <johnm@falch.net>:
974         * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
975         sources.redhat.com, and tweak some related URLs which had
976         suffered from linkrot.
977
978 2002-01-13  Andrew Cagney  <ac131313@redhat.com>
979
980         From Jeff law:
981         * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
982         structures passed in registers.
983
984 2002-01-13  Eli Zaretskii  <eliz@is.elta.co.il>
985
986         * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
987         white space which prevented compilation.  Reported by DSK
988         <dsk@student.unsw.edu.au>.
989
990 2002-01-11  Michael Snyder  <msnyder@redhat.com>
991
992         * symfile.c (build_section_addr_info_from_section_tab):
993         Use bfd access method instead of manipulating bfd directly.
994         (syms_from_objfile): Ditto.
995         (simple_overlay_update_1): Ditto.
996         (simple_overlay_update): Ditto.
997         (generic_load): Ditto.
998         (overlay_unmapped_address): FIXME comment, bfd access methods.
999         (sections_overlap): FIXME comment, bfd access methods.
1000         (pc_in_mapped_range): FIXME comment, bfd access methods.
1001         (pc_in_unmapped_range): FIXME comment, bfd access methods.
1002         (section_is_mapped): FIXME comment, bfd access methods.
1003         (section_is_overlay): FIXME comment, bfd access methods.
1004
1005         * symfile.c (generic_load): Whitespace and long line cleanups.
1006         Remove duplicate variable, change several local variables to
1007         more appropriate data types.
1008         (print_transfer_performance): Use %lu instead of %ld for ulongs.
1009
1010 2002-01-12  Andrew Cagney  <ac131313@redhat.com>
1011
1012         From Peter Schauer:
1013         * language.c (longest_local_hex_string_custom): Use phex_nz to
1014         convert NUM to a hex string.
1015
1016 2002-01-12  Elena Zannoni  <ezannoni@redhat.com>
1017
1018         * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
1019         the function.
1020         Update Copyright year.
1021
1022 2002-01-12  Andrew Cagney  <ac131313@redhat.com>
1023
1024         * language.c (longest_raw_hex_string): Delete unused function.
1025
1026 2002-01-11  Petr Sorfa  <petrs@caldera.com>
1027
1028         * MAINTAINERS (write-after-approval): Add myself.
1029         * dwarf2read.c (read_tag_string_type): Handling of
1030         DW_AT_byte_size.
1031         (read_tag_string_type): FORTRAN fix to prevent propagation of
1032         first string size.
1033         (set_cu_language): Handling of DW_LANG_Fortran95
1034
1035 2002-01-11  Richard Earnshaw  <rearnsha@arm.com>
1036
1037         * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
1038         GETPID(inferior_ptid).
1039         (store_inferior_registers): Likewise.
1040
1041 2002-01-10  Jason Merrill  <jason@redhat.com>
1042
1043         * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
1044         Fix DW_OP_minus.
1045
1046 2002-01-10  Andrew Cagney  <ac131313@redhat.com>
1047
1048         * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
1049         and bfd/elf32-sh-nbsd.c.
1050
1051 2002-01-10  Michael Snyder  <msnyder@redhat.com>
1052
1053         * NEWS: Mention --pid and corefile/proc-id behavior change.
1054
1055         * Makefile.in: Add rules for gcore.o and linux-proc.o.
1056         * gcore.c: Include cli/cli-decode.h instead of command.h.
1057
1058         * main.c (captured_main): Add new command line option "--pid".
1059         If the second command line argument (following the symbol-file)
1060         begins with a digit, try to attach to it before trying to open
1061         it as a corefile.
1062         (print_gdb_help): Document the "--pid" argument.
1063
1064 2002-01-10  Eli Zaretskii  <eliz@is.elta.co.il>
1065
1066         * completer.c (command_completer): New function.
1067
1068         * completer.h <command_completer>: Add prototype.
1069
1070         * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
1071         completer for the "help" command.
1072
1073 2002-01-09  Jason Merrill  <jason@redhat.com>
1074
1075         * c-typeprint.c (is_type_conversion_operator): Fix thinko.
1076
1077 2002-01-09  Michael Snyder  <msnyder@redhat.com>
1078
1079         * i386-linux-nat.c (fill_fpxregset): Make global.
1080         (store_fpxregset): Ditto.
1081
1082         * gregset.h (gdb_fpxregset_t): Define.
1083         (supply_fpxregset): Prototype.
1084         (fill_fpxregset): Prototype.
1085
1086         * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
1087
1088 2002-01-09  Richard Earnshaw  <rearnsha@arm.com>
1089
1090         * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
1091         * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
1092         * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
1093
1094 2002-01-09  Andrew Cagney  <ac131313@redhat.com>
1095
1096         * MAINTAINERS: Update target maintainer rules so that any
1097         Maintainer can approve a tested patch for a maintenance-only
1098         target.
1099
1100 2002-01-09  Richard Earnshaw  <rearnsha@arm.com>
1101
1102         * MAINTAINERS (write-after-approval): Add myself.
1103
1104         * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
1105         IN_SIGTRAMP.
1106
1107 2002-01-08  Michael Snyder  <msnyder@redhat.com>
1108
1109         * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
1110         real name of the executable, rather than the /proc name.
1111
1112 2002-01-03  Michael Snyder  <msnyder@redhat.com>
1113
1114         Implement a "generate-core-file" command in gdb, save target state.
1115         * gcore.c: New file.  Implement new command 'generate-core-file'.
1116         Save a corefile image of the current state of the inferior.
1117         * linux-proc.c: Add linux-specific code for saving corefiles.
1118         * target.h (struct target_ops): Add new target vectors for saving
1119         corefiles; to_find_memory_regions and to_make_corefile_notes.
1120         (target_find_memory_regions): New macro.
1121         (target_make_corefile_notes): New macro.
1122         * target.c (update_current_target): Inherit new target methods.
1123         (dummy_find_memory_regions): New place-holder method.
1124         (dummy_make_corefile_notes): New place-holder method.
1125         (init_dummy_target): Initialize new dummy target vectors.
1126         * exec.c (exec_set_find_memory_regions): New function.
1127         Allow the exec_ops vector for memory regions to be taken over.
1128         (exec_make_note_section): New function, target vector method.
1129         * defs.h (exec_set_find_memory_regions): Export prototype.
1130         * procfs.c (proc_find_memory_regions): New function, corefile method.
1131         (procfs_make_note_section): New function, corefile method.
1132         (init_procfs_ops): Set new target vector pointers.
1133         (find_memory_regions_callback): New function.
1134         (procfs_do_thread_registers): New function.
1135         (procfs_corefile_thread_callback): New function.
1136         * sol-thread.c (sol_find_memory_regions): New function.
1137         (sol_make_note_section): New function.
1138         (init_sol_thread_ops): Initialize new target vectors.
1139         * inftarg.c (inftarg_set_find_memory_regions): New function.
1140         Allow to_find_memory_regions vector to be taken over.
1141         (inftarg_set_make_corefile_notes): New function.
1142         Allow to_make_corefile_notes vector to be taken over.
1143         * thread-db.c (thread_db_new_objfile): Don't activate thread-db
1144         interface layer if not target_has_execution (may be a corefile).
1145         * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
1146         * config/sparc/sun4sol2.mh: Ditto.
1147         * config/alpha/alpha-linux.mh: Ditto.
1148         * config/arm/linux.mh: Ditto.
1149         * config/i386/x86-64linux.mh: Ditto.
1150         * config/ia64/linux.mh: Ditto.
1151         * config/m68k/linux.mh: Ditto.
1152         * config/mips/linux.mh: Ditto.
1153         * config/powerpc/linux.mh: Ditto.
1154         * config/sparc/linux.mh: Ditto.
1155
1156 2002-01-07  Michael Snyder  <msnyder@redhat.com>
1157
1158         * arm-linux-nat.c: Remove references to regcache.c internal data
1159         (registers[] and register_valid[]).
1160
1161 2002-01-07  Michael Snyder  <msnyder@redhat.com>
1162
1163         * linux-proc.c: New file.  Implement child_pid_to_exec_file,
1164         so that attaching to a pid will automatically read the process's
1165         symbol file and shlibs.
1166         * Makefile.in: Add rule for linux-proc.o.
1167         * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
1168         * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
1169         * config/arm/linux.mh: Ditto.
1170         * config/i386/linux.mh: Ditto.
1171         * config/i386/x86-64linux.mh: Ditto.
1172         * config/ia64/linux.mh: Ditto.
1173         * config/m68k/linux.mh: Ditto.
1174         * config/mips/linux.mh: Ditto.
1175         * config/powerpc/linux.mh: Ditto.
1176         * config/sparc/linux.mh: Ditto.
1177
1178 2002-01-06  Pierre Muller  <muller@ics.u-strasbg.fr>
1179
1180         * win32-nat.c: Add i386-tdep.h dependency.
1181
1182 2002-01-07  Michael Snyder  <msnyder@redhat.com>
1183
1184         * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
1185         instead of bfd_get_arch_size.  Don't bail out just because
1186         there's no exec_bfd.
1187
1188         * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
1189         * p-valprint.c (pascal_object_print_value): Ditto.
1190         * somread.c (som_symtab_read): Ditto.
1191         * symfile.c (simple_free_overlay_region_table): Ditto.
1192         * valops.c (value_assign): Ditto.
1193
1194         * tracepoint.c (tracepoint_save_command): From Klee Dienes --
1195         use tilde_expand and strerror for opening save-tracepoints file.
1196
1197         * thread-db.c (thread_db_new_objfile): Indendation fix.
1198
1199         * infptrace.c (GDB_MAX_ALLOCA): New define.
1200         (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
1201         size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
1202         can be overridden with whatever value is appropriate to the host).
1203         * infttrace.c (child_xfer_memory): Add FIXME warning about use of
1204         alloca to allocate potentially large buffer.
1205         * rs6000-nat.c (child_xfer_memory): Ditto.
1206         * symm-nat.c (child_xfer_memory): Ditto.
1207         * x86-64-linux-nat.c (child_xfer_memory): Ditto.
1208
1209 2002-01-07  Jackie Smith Cashion  <jsmith@redhat.com>
1210
1211         From Nick Clifton  <nickc@redhat.com>
1212         * d10v-tdep.c: Set STACK_START to 0x200bffe.
1213
1214 2002-01-07  Michael Snyder  <msnyder@redhat.com>
1215
1216         * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
1217         Don't use exec_bfd if it's NULL.
1218
1219 2002-01-06  Mark Kettenis  <kettenis@gnu.org>
1220
1221         * valops.c (value_arg_coerce): Fix formatting.
1222
1223 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
1224
1225         * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
1226         * gnu-nat.c: Ditto.
1227
1228 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
1229
1230         * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
1231         arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
1232         i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
1233         ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
1234         z8k-coff have not been multi-arched.  Update z8k-coff build
1235         status.
1236
1237 2002-01-06  Andrew Cagney  <ac131313@redhat.com>
1238
1239         * MAINTAINERS: Mark a29k target as obsolete.
1240         * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
1241         (remote-mm.o, remote-udi.o): Obsolete.  Remove references in
1242         comments.
1243         * NEWS: Note that a29k targets are obsolete.
1244         * a29k-tdep.c: Mark as obsolete.
1245         * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1246         a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1247         a29k-*-vxworks* targets as obsolete.
1248         * remote-adapt.c: Obsolete.
1249         * remote-eb.c: Obsolete.
1250         * remote-mm.c: Obsolete.
1251         * remote-udi.c: Obsolete.
1252         * config/a29k/a29k-udi.mt: Obsolete.
1253         * config/a29k/a29k.mt: Obsolete.
1254         * config/a29k/tm-a29k.h: Obsolete.
1255         * config/a29k/tm-vx29k.h: Obsolete.
1256         * config/a29k/vx29k.mt: Obsolete.
1257
1258 2002-01-05  Andrew Cagney  <ac131313@redhat.com>
1259
1260         * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
1261         with BFD_ENDIAN_BIG.
1262
1263 2002-01-05  Andrew Cagney  <ac131313@redhat.com>
1264
1265         * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
1266         * configure, config.in: Re-generate.
1267         * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
1268         * defs.h: Do not include <endian.h>.
1269
1270 2002-01-05  Jason Thorpe  <thorpej@wasabisystems.com>
1271
1272         * acconfig.h (HAVE_PT_GETXMMREGS): New.
1273         * config.in: Regenerate.
1274         * configure.in: Update copyright years.
1275         Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
1276         * configure: Regenerate.
1277         * i386bsd-nat.c: Update copyright years.
1278         (fill_gregset): Use regcache_collect.
1279         (fetch_inferior_registers): Only fetch integer registers
1280         if requested to do so.  Add support for XMM registers
1281         using PT_GETXMMREGS.
1282         (store_inferior_registers): Only store integer registers
1283         if requested to do so.  Add support for XMM registers
1284         using PT_SETXMMREGS.
1285         * i386nbsd-nat.c (fetch_inferior_registers): Remove.
1286         (store_inferior_registers): Remove.
1287         (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
1288         (fetch_elfcore_registers): New function.
1289         (i386nbsd_elfcore_fns): New.
1290         (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
1291         * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
1292         i386bsd-nat.o.
1293         * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
1294         * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
1295         * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
1296         * config/i386/tm-nbsd.h: Update copyright years.
1297         (HAVE_SSE_REGS): Define.
1298         (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
1299         (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
1300         (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
1301         (SIGCONTEXT_PC_OFFSET): Remove.
1302         (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
1303
1304 2002-01-05  Andrew Cagney  <ac131313@redhat.com>
1305
1306         * configure.tgt: Remove powerpc-*-macos* target.
1307         * config/m68k/xm-mpw.h: Delete file.
1308         * config/xm-mpw.h: Delete file.
1309         * ser-mac.c: Delete file.
1310         * mpw-make.sed: Delete file.
1311         * mpw-config.in: Delete file.
1312         * mac-xdep.c: Delete file.
1313         * mac-gdb.r: Delete file.
1314         * mac-defs.h: Delete file.
1315         * mac-nat.c: Delete file.
1316         * config/powerpc/macos.mh: Delete file.
1317         * config/powerpc/macos.mt: Delete file.
1318         * config/powerpc/nm-macos.h: Delete file.
1319         * config/powerpc/tm-macos.h: Delete file.
1320         * source.c (openp, open_source_file): Remove obsolete code.
1321         * top.c (gdb_readline): Ditto.
1322         * utils.c (query): Ditto.
1323         * event-top.c (display_gdb_prompt): Ditto.
1324         * Makefile.in (ser-mac.o): Delete obsolete target.
1325         * NEWS: Update.
1326
1327 2002-01-04  Andrew Cagney  <ac131313@redhat.com>
1328
1329         * defs.h (BIG_ENDIAN): Delete macro definition.
1330         * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
1331         coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
1332         findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
1333         printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
1334         remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
1335         stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
1336         config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
1337         config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
1338         config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
1339         config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
1340         config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
1341         config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
1342         mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1343         * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1344         * gdbarch.c: Re-generate.
1345
1346 2002-01-04  Daniel Jacobowitz  <drow@mvista.com>
1347
1348         * thread-db.c (thread_db_new_objfile): Do not enable thread_db
1349         for core files.
1350
1351 2002-01-04  Jason Thorpe  <thorpej@wasabisystems.com>
1352
1353         * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
1354
1355 2002-01-04  Andrew Cagney  <ac131313@redhat.com>
1356
1357         * value.h (value_ptr): Delete typedef.
1358
1359 2002-01-04  Jason Thorpe  <thorpej@wasabisystems.com>
1360
1361         * i386nbsd-nat.c: Update copyright years.
1362         Include i386-tdep.h.
1363
1364 2002-01-04  Elena Zannoni  <ezannoni@redhat.com>
1365
1366         * stabsread.c: Update copyright years.
1367
1368         From Debashis Mahata <debashis.mahata@wipro.com>:
1369         (read_struct_fields): Deal with Sun C compiler erroneous stab
1370         output for structs and unions.
1371         Fix PR gdb/269.
1372
1373 2002-01-04  Daniel Jacobowitz  <drow@mvista.com>
1374
1375         * p-valprint.c: Include "cp-abi.h" for baseclass_offset
1376         prototype.
1377
1378 2002-01-04  Daniel Jacobowitz  <drow@mvista.com>
1379
1380         * cp-abi.c: Fix whitespace.
1381         (baseclass_offset): New wrapper function.
1382         * cp-abi.h (baseclass_offset): Add prototype.
1383         (struct cp_abi_ops): Add baseclass_offset pointer.
1384
1385         * valops.c (vb_match): Move to...
1386         * gnu-v2-abi.c (vb_match): here.
1387         * valops.c (baseclass_offset): Move to...
1388         * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
1389
1390         * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
1391
1392         * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
1393         * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
1394         * hpacc-abi.c (init_hpacc_ops): Likewise.
1395
1396 2002-01-04  Daniel Jacobowitz  <drow@mvista.com>
1397
1398         * valops.c (find_overload_match): Accept obj as a
1399         reference parameter.  Update it before returning.
1400         * value.h (find_overload_match): Update prototype.
1401         * eval.c (evaluate_subexp_standard): Pass object to
1402         find_overload_match by reference.
1403
1404 2002-01-03  Andrew Cagney  <ac131313@redhat.com>
1405
1406         * valarith.c: Replace value_ptr with struct value pointer.  Remove
1407         register attribute from value declarations.
1408         * valops.c: Ditto.
1409         * value.h: Ditto.
1410         * scm-lang.c (scm_lookup_name): Ditto.
1411
1412 2002-01-03  Michael Snyder  <msnyder@redhat.com>
1413
1414         Abstract the functionality of iterating over mapped memory
1415         regions into a general purpose iterator function.
1416         * procfs.c (iterate_over_mappings): New function, general purpose
1417         iterator for memory sections.
1418         (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
1419         (solib_mappings_callback): New function, callback for above.
1420         (info_proc_mappings): Reimpliment using iterate_over_mappings.
1421         (info_mappings_callback): New function, callback for above.
1422
1423         * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
1424
1425 2002-01-01  Mark Kettenis  <kettenis@gnu.org>
1426
1427         * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
1428         * i386-tdep.c: Include "elf-bfd.h".
1429         (process_note_abi_tag_sections): New function.
1430         (i386_gdbarch_init): Add code to recognize various OS/ABI
1431         combinations.
1432
1433         * maint.c (_initialize_maint_cmds): Add missing \ in
1434         string-literal.
1435
1436 For older changes see ChangeLog-2001
1437 \f
1438 Local Variables:
1439 mode: change-log
1440 left-margin: 8
1441 fill-column: 74
1442 version-control: never
1443 End: