c5cbd2de8935ad821783e215227ea62c351abdd5
[external/binutils.git] / gdb / ChangeLog
1 2001-03-02  Andrew Cagney  <ac131313@redhat.com>
2
3         From 2001-03-01 Tom Rix <trix@redhat.com>:
4         * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
5         parameter to mn10200_analyze_prologue.
6
7         * config/mn10200/tm-mn10200.h: Include "regcache.h".
8         * MAINTAINERS: Document that mn10200-elf target is buildable.
9
10 2001-03-02  Kevin Buettner  <kevinb@redhat.com>
11
12         * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
13         from here...
14         * config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
15         (MONTEREY): Don't define.
16         (AIX5): Define.
17
18 2001-03-02  Matt Hiller  <hiller@redhat.com>
19
20         * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
21
22 2001-03-02  Kevin Buettner  <kevinb@redhat.com>
23
24         * sparc-nat.c (sparc-nat.c): Don't include self.
25
26 2001-03-01  J.T. Conklin  <jtc@redback.com>
27
28         * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
29         if __CYGWIN32__ is set from here.
30         * config/i386/xm-cygwin.h: To here.
31         * config/powerpc/xm-cygwin.h: To here.
32
33         * i386-stub.c (handle_exception): Use 'T' response packet.
34
35 2001-03-01  Michael Snyder  <msnyder@mvstp600e.cygnus.com>
36
37         * m32r-tdep.c: Fix cut and paste error in comment.
38
39 2001-02-28  Michael Snyder  <msnyder@mvstp600e.cygnus.com>
40
41         * symtab.c (print_msymbol_info): Print addresses by portable method
42         longest_local_hex_string_custom.  Allow for 64-bit addresses.
43
44 2001-03-01  J.T. Conklin  <jtc@redback.com>
45
46         * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
47         (MAX_OF_TYPE): Wrap macro definition in parenthesis.
48         (MIN_OF_TYPE): Likewise.
49         
50         * memattr.h (mem_access_mode): Removed extraneous trailing comma.
51
52 2001-03-01  Andrew Cagney  <ac131313@redhat.com>
53
54         * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
55         * os9kread.c (os9k_process_one_symbol): Add assert to detect
56         ``loses if sizeof (char *) > sizeof (int)''.
57
58 2001-03-01  Andrew Cagney  <ac131313@redhat.com>
59
60         * gdb_assert.h: Document pragmatics behind gdb_assert's case.
61
62 2001-03-01  Andrew Cagney  <ac131313@redhat.com>
63
64         * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
65         lists.
66         (mi-main.o): Ditto.
67
68 2001-03-01  Andrew Cagney  <ac131313@redhat.com>
69
70         * Makefile.in (regcache_h): Define. Add $(regcache_h) to
71         dependency lists.
72
73 2001-02-28  Michael Snyder  <msnyder@mvstp600e.cygnus.com>
74
75         * printcmd.c (print_address_numeric): Update comments to refer
76         to sizeof addr, not sizeof pointer.
77         (x_command): Remove needless whitespace (shorten long line).
78         
79         * breakpoint.c (print_one_breakpoint): Formatting clean-up.
80         (read_memory_nobpt): Ditto.
81         (ep_is_catchpoint): Ditto.
82         (ep_is_shlib_catchpoint): Ditto.
83         (ep_is_exception_catchpoint): Ditto.
84         (describe_other_breakpoints): Ditto.
85
86 Wed Feb 28 20:37:36 2001  Andrew Cagney  <ac131313@redhat.com>
87
88         * regcache.h (register_valid): Fix comment documenting valid
89         states.
90
91 Tue Feb 27 23:56:23 2001  Andrew Cagney  <ac131313@redhat.com>
92
93         From Steven Johnson:
94         * regcache.h: New file.
95         
96         * value.h (read_register_bytes, read_register_gen)
97         (write_register_gen, write_register_bytes)
98         (read_register, read_register_pid)
99         (read_signed_register, read_signed_register_pid)
100         (write_register, write_register_pid)
101         (register_cached, set_register_cached)
102         (register_changed, register_buffer)
103         (registers_changed, supply_register): Move declaration from here.
104         * regcache.h: To here.
105         * gdbcore.h (registers_fetched): Ditto.
106         * inferior.h (registers, registers_valid): Ditto.
107
108         * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
109         generic_target_write_pc, write_pc_pid, write_pc,
110         generic_target_read_sp, read_sp, generic_target_write_sp,
111         write_sp, generic_target_read_fp, read_fp,
112         generic_target_write_fp, write_fp): Add note that these functions
113         will be moved from this file.
114         
115         * a29k-tdep.c: Include "regcache.h".
116         * a68v-nat.c: Ditto.
117         * abug-rom.c: Ditto.
118         * alpha-nat.c: Ditto.
119         * alpha-tdep.c: Ditto.
120         * alphabsd-nat.c: Ditto.
121         * arc-tdep.c: Ditto.
122         * arm-linux-nat.c: Ditto.
123         * arm-linux-tdep.c: Ditto.
124         * arm-tdep.c: Ditto.
125         * blockframe.c: Ditto.
126         * core-aout.c: Ditto.
127         * core-sol2.c: Ditto.
128         * corelow.c: Ditto.
129         * cpu32bug-rom.c: Ditto.
130         * cxux-nat.c: Ditto.
131         * d10v-tdep.c: Ditto.
132         * d30v-tdep.c: Ditto.
133         * dbug-rom.c: Ditto.
134         * dink32-rom.c: Ditto.
135         * dve3900-rom.c: Ditto.
136         * findvar.c: Ditto.
137         * fr30-tdep.c: Ditto.
138         * frame.c: Ditto.
139         * go32-nat.c: Ditto.
140         * h8300-tdep.c: Ditto.
141         * h8500-tdep.c: Ditto.
142         * hp300ux-nat.c: Ditto.
143         * hppa-tdep.c: Ditto.
144         * hppab-nat.c: Ditto.
145         * hppah-nat.c: Ditto.
146         * hppam3-nat.c: Ditto.
147         * hpux-thread.c: Ditto.
148         * i386-linux-nat.c: Ditto.
149         * i386-linux-tdep.c: Ditto.
150         * i386-tdep.c: Ditto.
151         * i386aix-nat.c: Ditto.
152         * i386b-nat.c: Ditto.
153         * i386bsd-nat.c: Ditto.
154         * i386gnu-nat.c: Ditto.
155         * i386ly-tdep.c: Ditto.
156         * i386m3-nat.c: Ditto.
157         * i386mach-nat.c: Ditto.
158         * i386nbsd-nat.c: Ditto.
159         * i386v4-nat.c: Ditto.
160         * i387-nat.c: Ditto.
161         * i387-tdep.c: Ditto.
162         * i960-tdep.c: Ditto.
163         * ia64-aix-nat.c: Ditto.
164         * ia64-linux-nat.c: Ditto.
165         * ia64-tdep.c: Ditto.
166         * infptrace.c: Ditto.
167         * infrun.c: Ditto.
168         * irix4-nat.c: Ditto.
169         * irix5-nat.c: Ditto.
170         * lin-lwp.c: Ditto.
171         * lin-thread.c: Ditto.
172         * lynx-nat.c: Ditto.
173         * m3-nat.c: Ditto.
174         * m32r-rom.c: Ditto.
175         * m32r-tdep.c: Ditto.
176         * m68hc11-tdep.c: Ditto.
177         * m68k-tdep.c: Ditto.
178         * m68klinux-nat.c: Ditto.
179         * m68knbsd-nat.c: Ditto.
180         * m68knbsd-tdep.c: Ditto.
181         * m88k-nat.c: Ditto.
182         * m88k-tdep.c: Ditto.
183         * mac-nat.c: Ditto.
184         * mcore-rom.c: Ditto.
185         * mcore-tdep.c: Ditto.
186         * mi/mi-main.c: Ditto.
187         * mips-nat.c: Ditto.
188         * mips-tdep.c: Ditto.
189         * mipsm3-nat.c: Ditto.
190         * mipsv4-nat.c: Ditto.
191         * mn10200-tdep.c: Ditto.
192         * mn10300-tdep.c: Ditto.
193         * monitor.c: Ditto.
194         * ns32km3-nat.c: Ditto.
195         * ns32knbsd-nat.c: Ditto.
196         * ocd.c: Ditto.
197         * pa64solib.c: Ditto.
198         * ppc-bdm.c: Ditto.
199         * ppc-linux-nat.c: Ditto.
200         * ppc-linux-tdep.c: Ditto.
201         * ppcbug-rom.c: Ditto.
202         * ppcnbsd-nat.c: Ditto.
203         * ptx4-nat.c: Ditto.
204         * regcache.c: Ditto.
205         * remote-adapt.c: Ditto.
206         * remote-array.c: Ditto.
207         * remote-bug.c: Ditto.
208         * remote-e7000.c: Ditto.
209         * remote-eb.c: Ditto.
210         * remote-es.c: Ditto.
211         * remote-est.c: Ditto.
212         * remote-hms.c: Ditto.
213         * remote-mips.c: Ditto.
214         * remote-mm.c: Ditto.
215         * remote-nindy.c: Ditto.
216         * remote-os9k.c: Ditto.
217         * remote-rdi.c: Ditto.
218         * remote-rdp.c: Ditto.
219         * remote-sds.c: Ditto.
220         * remote-sim.c: Ditto.
221         * remote-st.c: Ditto.
222         * remote-udi.c: Ditto.
223         * remote-utils.c: Ditto.
224         * remote-vx.c: Ditto.
225         * remote-vx29k.c: Ditto.
226         * remote-vx68.c: Ditto.
227         * remote-vx960.c: Ditto.
228         * remote-vxmips.c: Ditto.
229         * remote-vxsparc.c: Ditto.
230         * remote.c: Ditto.
231         * rom68k-rom.c: Ditto.
232         * rs6000-nat.c: Ditto.
233         * rs6000-tdep.c: Ditto.
234         * sh-tdep.c: Ditto.
235         * sh3-rom.c: Ditto.
236         * sol-thread.c: Ditto.
237         * solib-svr4.c: Ditto.
238         * somsolib.c: Ditto.
239         * sparc-nat.c: Ditto.
240         * sparc-tdep.c: Ditto.
241         * sparcl-tdep.c: Ditto.
242         * sparclet-rom.c: Ditto.
243         * sun3-nat.c: Ditto.
244         * sun386-nat.c: Ditto.
245         * symm-nat.c: Ditto.
246         * target.c: Ditto.
247         * thread-db.c: Ditto.
248         * thread.c: Ditto.
249         * tic80-tdep.c: Ditto.
250         * tracepoint.c: Ditto.
251         * ultra3-nat.c: Ditto.
252         * umax-xdep.c: Ditto.
253         * uw-thread.c: Ditto.
254         * v850-tdep.c: Ditto.
255         * v850ice.c: Ditto.
256         * valops.c: Ditto.
257         * w65-tdep.c: Ditto.
258         * w89k-rom.c: Ditto.
259         * win32-nat.c: Ditto.
260         * wince.c: Ditto.
261         * z8k-tdep.c: Ditto.
262
263 2001-02-28  Matt Hiller  <hiller@redhat.com>    
264         
265         * MAINTAINERS: Add Matt Hiller to Write After Approval list.
266
267 2001-02-27  Matt Hiller  <hiller@redhat.com>
268
269         * mn10300-tdep.c (mn10300_stab_reg_to_regnum): New function.
270         (mn10300_gdbarch_init): Set appropriate elements of gdbarch to
271         mn10300_stab_reg_to_regnum.
272
273 Tue Feb 27 16:56:13 2001  David Taylor  <taylor@redhat.com>
274
275         * symtab.c (search_symbols): Fix off by one error in test for
276         error.
277
278 2001-02-23  Andrew Cagney  <ac131313@redhat.com>
279
280         * config/sparc/sp64linux.mt: New file.
281         * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
282         * configure.host: Recognize sparc64-*-linux* as a linux host.
283
284         From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
285         * config/sparc/tm-sp64linux.h: New file.
286         
287 2001-02-24  Kevin Buettner  <kevinb@redhat.com>
288
289         * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
290         with call to internal_error().
291         * dbxread.c (process_one_symbol): Likewise.
292         * exec.c (build_section_table, xfer_memory): Likewise.
293         * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
294         Likewise.
295         * hpread.c (hpread_type_translate, hpread_read_array_type)
296         (hpread_type_lookup): Likewise.
297         * i386-tdep.c (gdb_print_insn_i386): Likewise.
298         * i960-tdep.c (mem): Likewise
299         * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
300         * infptrace.c (child_resume): Likewise.
301         * infttrace.c (_initialize_infttrace): Likewise.
302         * language.c (binop_result_type, add_language): Likewise.
303         * lynx-nat.c (store_inferior_registers): Likewise.
304         * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
305         * mdebugread.c (parse_partial_symbols): Likewise.
306         * monitor.c (monitor_printf_noecho, monitor_printf)
307         (monitor_dump_regs): Likewise.
308         * ocd.c (stu_put_packet): Likewise.
309         * printcmd.c (decode_format, print_scalar_formatted): Likewise.
310         * remote-bug.c (bug_open): Likewise.
311         * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
312         * remote-es.c (es1800_read_bytes): Likewise.
313         * remote-mips.c (common_breakpoint): Likewise.
314         * remote-rdp.c (send_rdp): Likewise.
315         * remote-sds.c (putmessage): Likewise.
316         * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
317         Likewise.
318         * sparcl-tdep.c (sparclite_download): Likewise.
319         * symtab.c (lookup_partial_symbol): Likewise.
320         * target.c (push_target, pop_target, initialize_targets): Likewise.
321         * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
322         Likewise.
323         * valprint.c (print_decimal, print_longest, print_longest)
324         (strcat_longest): Likewise.
325         * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
326         * xmodem.c (xmodem_send_packet): Likewise.
327         * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
328         * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
329         * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
330         (STORE_RETURN_VALUE): Likewise.
331         * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
332         * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
333         * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
334         Likewise.
335
336 2001-02-23  Andrew Cagney  <ac131313@redhat.com>
337
338         * CONTRIBUTE: Document how to cite a problem report.
339         * TODO: Note need to replace CONTRIBUTE with generated file.
340
341         * CONTRIBUTE: Mention that patches do not need to include the
342         generated files gdbarch.h and gdbarch.c.
343         
344 2001-02-21  Andrew Cagney  <ac131313@redhat.com>
345
346         * value.h (get_saved_register): Move from here.
347         * frame.h: To here.
348
349 2001-02-21  Kevin Buettner  <kevinb@redhat.com>
350
351         * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
352         (in_solib_dynsym_resolve_code): Add declaration.
353         (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
354         in_solib_dynsym_resolve_code() rather than
355         in_svr4_dynsym_resolve_code().  Also, removed the ifdefs
356         which caused this macro to only be defined when
357         SVR4_SHARED_LIBS is defined.
358         * solib.c (in_solib_dynsym_resolve_code): New function.
359         * solist.h (struct target_so_ops): Add new member
360         in_dynsym_resolve_code.
361         * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
362         in_svr4_dynsym_resolve_code.  Also, made static.
363         (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
364         member in aix5_so_ops.
365         * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
366         in_svr4_dynsym_resolve_code.  Also, added second version
367         of this function which will be used when SVR4_SHARED_LIBS
368         is not defined.
369         (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
370         member in svr4_so_ops.
371
372         * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
373         config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
374         config/ia64/xm-aix.h: New files.
375         * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
376         (ia64_aix_sigcontext_register_address): New declaration.
377         (ia64_gdbarch_init): Provide for initialization of 
378         sigcontext_register_address member of struct tdep when
379         on target is detected to be running AIX.
380         * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
381         this list.
382
383 2001-02-20  Kevin Buettner  <kevinb@redhat.com>
384
385         * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
386         * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
387         for thread support instead of linux-thread.o and lin-thread.o.
388         * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
389         ATTACH_LWP): Define to use the following lin-lwp.c functions...
390         (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
391         lin_lwp_attach_lwp): Declare.
392
393 2001-02-20  Andrew Cagney  <ac131313@redhat.com>
394
395         * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
396         formatting.
397
398 2001-02-20  Kevin Buettner  <kevinb@redhat.com>
399
400         * solib-aix5.c (solib-svr4.h): Remove include.
401         (solib_break_names): Delete names which aren't actually
402         used by AIX5.
403         (bkpt_names): Remove.
404         (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
405         to STREQ() with equivalent calls to strcmp().
406         (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
407         aix5_solib_create_inferior_hook): Revise comments.
408         (enable_break): Remove old ``bkpt_names'' code.
409
410 2001-02-19  Andrew Cagney  <ac131313@redhat.com>
411
412         * Makefile.in (SFILES): Add frame.c .
413         (COMMON_OBS): Add frame.o .
414         (frame.o): New target.
415
416         * frame.c (find_saved_register): 
417         (default_get_saved_register): 
418         (get_saved_register): 
419         (read_relative_register_raw_bytes_for_frame): 
420         (read_relative_register_raw_bytes): Moved to here.
421         * regcache.c: From here.
422
423 2001-02-20  Kevin Buettner  <kevinb@redhat.com>
424
425         * solib-aix5.c: New file.
426
427 2001-02-20  Martin M. Hunt  <hunt@redhat.com>
428
429         * solib.c (info_sharedlibrary_command): Don't assume pointers
430         are the same size of long, call longest_local_hex_string_custom().
431
432         * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
433         extract_signed_integer() should be called instead of
434         extract_address().
435
436 2001-02-20  Martin M. Hunt  <hunt@redhat.com>   
437         
438         * MAINTAINERS: Add Martin Hunt to Write After Approval list.
439
440 2001-02-19  Andrew Cagney  <ac131313@redhat.com>
441
442         Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
443         * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
444         then floating point registers are 8 bytes.
445
446 2001-02-19  Michael Snyder  <msnyder@mvstp600e.cygnus.com>
447
448         * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to 
449         accomodate 64-bit addresses.
450
451 2001-02-19  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
452
453         From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
454         * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
455         lookup_symbol, when trying to find a symbol with a mangled name,
456         to avoid infinite recursion.
457
458 2001-02-18  Andrew Cagney  <ac131313@redhat.com>
459
460         * TODO (5.2): Mention G++ 3.0 ABI.  General cleanups.
461
462 2001-02-19  Jonathan Larmour  <jlarmour@redhat.com>
463
464         * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
465         (save_prologue_cache): Ditto.
466
467 2001-02-19  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
468
469         From: innadadadavida@yahoo.com:
470         * partial-stab.h (switch): Check that pst is not null
471         before dereferencing it.
472
473 2001-02-19  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
474
475         From Andrew Cagney  <cagney@b1.cygnus.com>:
476         * symfile.c (add_symbol_file_command): Always initialize
477         my_cleanup using a NULL cleanup.
478
479 2001-02-19  Eli Zaretskii  <eliz@is.elta.co.il>
480
481         * demangle.c (demangling_style_names): New variable.
482         (_initialize_demangler): Fill demangling_style_names with the
483         names of known demangling styles from libiberty_demanglers[].  Use
484         add_set_enum_cmd instead of add_set_cmd, to get completion on
485         demangling style names.
486
487         * proc-api.c (_initialize_proc_api): Make `procfs-file' use
488         file-name completion.
489
490         * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
491
492         * solib.c (_initialize_solib): Ditto for `solib-search-path' and
493         `solib-absolute-prefix'.
494
495         * tracepoint.c (_initialize_tracepoint): Ditto for
496         `save-tracepoints'.
497
498         * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
499
500         * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
501         file-name completion.
502
503         * infcmd.c (_initialize_infcmd): Make the following commands use
504         the file-name completer: `tty', `args', `path', `paths', and
505         `run'.
506
507 2001-02-18  Eli Zaretskii  <eliz@is.elta.co.il>
508
509         * go32-nat.c: Include i387-nat.h.
510         (fetch_register): New function, uses some of the guts of
511         go32_fetch_registers and calls i387_supply_register.
512         (go32_fetch_registers): Most of the code moved into
513         fetch_register.  Use i387_supply_fsave.
514         (store_register): Use i387_fill_fsave instead of custom code.
515         (go32_store_registers): Use i387_fill_fsave.
516
517         * Makefile.in (go32-nat.o): Depend on i387-nat.h.
518
519         * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
520
521         * completer.c (gdb_completer_file_name_break_characters): Remove
522         slash from file-name break characters.
523         [__MSDOS__]: Special definition for DOS/Windows file names.
524         (line_completion_function): When completing on file names, bump
525         `p' to the first file-name constituent character of `word', before
526         invoking the completer.
527
528 2001-02-17  Mark Kettenis  <kettenis@gnu.org>
529
530         * i387-nat.c: Include "i387-nat.h".  Use regnum instead of regno
531         consistently for parameter names.  Fix comments accordingly.
532         (i387_supply_register): New function.
533         (i387_supply_fsave): Implement using i387_supply_register.
534         * i387-nat.h: Use regnum instead of regno consistently for
535         parameter names.  Fix comments accordingly.
536         (i387_supply_register): New prototype.
537
538 2001-02-16  Michael Snyder  <msnyder@mvstp600e.cygnus.com>
539
540         * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT 
541         instead of TARGET_PTR_BIT (to support Harvard architectures).
542
543 2001-02-16  Andrew Cagney  <ac131313@redhat.com>
544
545         From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
546         * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib 
547         argument to parameter list and to call in order to conform to 
548         to_xfer_memory field of struct target_ops.
549
550 2001-02-12  Michael Chastain  <chastain@redhat.com>
551
552         * somsolib.c (som_solib_add_solib_objfile): Do not use
553         section relocation feature of syms_from_objfile.  Do my own
554         section relocation, offsetting each section of the som by
555         either text_addr - text_link_addr or data_start.
556
557 2001-02-16  Andrew Cagney  <ac131313@redhat.com>
558
559         * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
560
561 2001-02-16  Andrew Cagney  <ac131313@redhat.com>
562
563         * MAINTAINERS (paper trail): Update.
564
565 2001-02-16  Mark Kettenis  <kettenis@gnu.org>
566
567         * target.h (target_fetch_registers): Fix comment.
568
569 2001-02-15  Andrew Cagney  <ac131313@redhat.com>
570
571         * f-exp.y: Include <ctype.h>.
572         (parse_number): Ensure that ``i'' is always initialized.
573
574 2001-02-14  Jim Kingdon  <jkingdon@engr.sgi.com>
575
576         * MAINTAINERS: Add myself to paper trail section.
577
578 2001-02-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
579
580         * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
581         * configure, config.in: Regenerate.
582         * corelow.c: Include <sys/file.h> if present.
583
584 2001-02-14  Andrew Cagney  <ac131313@redhat.com>
585
586         * inflow.c (terminal_ours_1): Initialize ``osigtou''.  Only
587         declare when have SIGTTOU.
588
589 2001-02-14  Eli Zaretskii  <eliz@is.elta.co.il>
590
591         * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
592
593 2001-02-12  Jim Kingdon  <jkingdon@engr.sgi.com>
594
595         * MAINTAINERS: Update my email address.
596
597 2001-02-11  Eli Zaretskii  <eliz@is.elta.co.il>
598
599         * NEWS: Document that "info symbol" works with COFF debug info and
600         its variants.
601
602         * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
603         symbols whose SYMBOL_BFD_SECTION is NULL.
604
605 2001-02-10  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
606
607         Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
608         * xcoffsolib.c (xcoff_solib_address):  Renamed from
609         pc_load_segment_name.  Return NULL if address is not in a shared
610         library.  Cleanup shared library name construction, using xasprintf.
611         Format shared library member names consistent with format in exec.c.
612         (solib_info):  Format shared library member names consistent with
613         format in exec.c.
614         * config/rs6000/nm-rs6000.h:  Replace PC_LOAD_SEGMENT with PC_SOLIB,
615         using xcoff_solib_address for PC_SOLIB definition.
616         * stack.c (print_frame):  Remove PC_LOAD_SEGMENT code, no longer
617         needed.
618
619 2001-02-10  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
620
621         * mipsread.c (read_alphacoff_dynamic_symtab):  Replace alloca calls
622         with xmalloc calls and cleanups.
623
624 2001-02-10  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
625
626         * rs6000-nat.c (child_xfer_memory):  Add missing parameter
627         'struct mem_attrib *' required by 2001-01-23 change.
628
629 2001-02-08  Jim Kingdon  <jkingdon@engr.sgi.com>
630
631         Updates to "make TAGS":
632         * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
633         arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
634         tahoe-tdep.c.
635         (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
636
637 2001-02-08  Eli Zaretskii  <eliz@is.elta.co.il>
638
639         * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
640
641 Wed Feb  7 22:39:26 2001  Andrew Cagney  <cagney@redhat.com>
642
643         From Dean Luick <luick@cray.com>:
644         * defs.h (continuation): Remove unused global variable.
645
646 Wed Feb  7 22:28:31 2001  Andrew Cagney  <cagney@redhat.com>
647
648         * configure.tgt: Remove references to convex, pyramid, altos and
649         tahoe.
650         * configure.host: Ditto.
651         * MAINTAINERS: Ditto.
652         * NEWS: Update.
653
654         * tahoe-tdep.c: Delete obsolete file.
655         * pyr-xdep.c: Ditto.
656         * pyr-tdep.c: Ditto.
657         * convex-tdep.c: Ditto.
658         * convex-xdep.c: Ditto.
659         * config/tahoe/xm-tahoe.h: Ditto.
660         * config/tahoe/tm-tahoe.h: Ditto.
661         * config/tahoe/tahoe.mt: Ditto.
662         * config/tahoe/tahoe.mh: Ditto.
663         * config/pyr/xm-pyr.h: Ditto.
664         * config/pyr/tm-pyr.h: Ditto.
665         * config/pyr/pyramid.mt: Ditto.
666         * config/pyr/pyramid.mh: Ditto.
667         * config/m68k/xm-altos.h: Ditto.
668         * config/m68k/tm-altos.h: Ditto.
669         * config/m68k/altos.mt: Ditto.
670         * config/m68k/altos.mh: Ditto.
671         * config/convex/xm-convex.h: Ditto.
672         * config/convex/tm-convex.h: Ditto.
673         * config/convex/convex.mt: Ditto.
674         * config/convex/convex.mh: Ditto.
675         * config/convex/Convex.notes: Ditto.
676         * config/arm/xm-arm.h: Ditto.
677         * config/arm/nm-arm.h: Ditto.
678         * config/arm/arm.mt: Ditto.
679         * config/arm/arm.mh: Ditto.
680         * arm-convert.s: Ditto.
681         * arm-xdep.c: Ditto.
682         * altos-xdep.c: Ditto.
683
684 Wed Feb  7 19:41:21 2001  Andrew Cagney  <cagney@redhat.com>
685
686         * defs.h (internal_error, internal_verror): Add __FILE__ and
687         __LINE__ parameter.
688         * utils.c (internal_error, internal_verror): Update.
689
690         * v850-tdep.c: Update calls to internal_error.
691         * utils.c: Ditto.
692         * ui-out.c: Ditto.
693         * ui-file.c: Ditto.
694         * target.h: Ditto.
695         * symtab.h: Ditto.
696         * symm-nat.c: Ditto.
697         * sparc-tdep.c: Ditto.
698         * source.c: Ditto.
699         * serial.c: Ditto.
700         * rs6000-tdep.c: Ditto.
701         * rs6000-nat.c: Ditto.
702         * remote.c: Ditto.
703         * remote-vx.c: Ditto.
704         * remote-sim.c: Ditto.
705         * remote-mips.c: Ditto.
706         * regcache.c: Ditto.
707         * objfiles.h: Ditto.
708         * objfiles.c: Ditto.
709         * mn10300-tdep.c: Ditto.
710         * mips-tdep.c: Ditto.
711         * maint.c: Ditto.
712         * m68k-tdep.c: Ditto.
713         * m3-nat.c: Ditto.
714         * language.c: Ditto.
715         * infptrace.c: Ditto.
716         * inferior.h: Ditto.
717         * infcmd.c: Ditto.
718         * ia64-tdep.c: Ditto.
719         * i386-tdep.c: Ditto.
720         * i386-linux-nat.c: Ditto.
721         * hppah-nat.c: Ditto.
722         * go32-nat.c: Ditto.
723         * findvar.c: Ditto.
724         * f-lang.c: Ditto.
725         * elfread.c: Ditto.
726         * event-loop.c: Ditto.
727         * dwarf2read.c: Ditto.
728         * dsrec.c: Ditto.
729         * d30v-tdep.c: Ditto.
730         * d10v-tdep.c: Ditto.
731         * cli/cli-setshow.c: Ditto.
732         * cli/cli-script.c: Ditto.
733         * ch-exp.c: Ditto.
734         * breakpoint.c: Ditto.
735         * ax-gdb.c: Ditto.
736         * arch-utils.c: Ditto.
737         * a29k-tdep.c: Ditto.
738         * gdb_assert.h: Ditto.
739         * gdbarch.sh: Ditto.
740         * gdbarch.h, gdbarch.c: Re-generate.
741         
742 2001-02-07  Andrew Cagney  <ac131313@redhat.com>
743
744         From Mark Kettenis <kettenis@gnu.org>:
745         * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
746
747 2001-02-07  Andrew Cagney  <ac131313@redhat.com>
748
749         * remote-sim.c (dump_mem): Cleanup printf format argument.
750         * MAINTAINERS: Update, mn10300-elf now builds.
751
752 2001-02-07  Mark Kettenis  <kettenis@gnu.org>
753
754         * event-top.c: Remove duplicate #include <signal.h>.
755
756 2001-02-06  Andrew Cagney  <ac131313@redhat.com>
757
758         * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
759         allocated buffer.
760         (save_inferior_pid): Restore the PID from that tempoary
761         buffer. Delete the buffer.
762         * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
763
764 2001-02-06  Andrew Cagney  <ac131313@redhat.com>
765
766         * MAINTAINERS: Add ``The Obvious Fix Rule''.
767
768 2001-02-06  Andrew Cagney  <ac131313@redhat.com>
769
770         * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
771
772 2001-02-06  Andrew Cagney  <ac131313@cygnus.com>
773
774         * gdbarch.sh: Include "gdb_assert.h".
775         (struct gdbarch): Change ``nr_data'' to unsigned.
776         (alloc_gdbarch_data, free_gdbarch_data): New functions.
777         (gdbarch_free): Free the data-pointer vector.  Use xfree to delete
778         architecture vector.
779         (struct gdbarch_data, struct gdbarch_data_registration): Move init
780         method to gdbarch_data.  Add free method, make index unsigned.
781         (struct gdbarch_data_registry): Make nr unsigned.
782         (register_gdbarch_data): Add free parameter. Store in
783         gdbarch_data.
784         (init_gdbarch_data): Use set_gdbarch_data.
785         (set_gdbarch_data): New function.
786         
787         * gdbarch.h, gdbarch.c: Re-generate.
788         
789 2001-02-06  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
790
791         * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
792         fprintf_filtered with correct arguments.
793
794 2001-02-06  Michael Snyder  <msnyder@makita.cygnus.com>
795         Submitted by Paul Hilfinger (hilfingr@gnat.com) 
796         and Andrei Petrov (and@genesyslab.com).
797         * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
798         must be allocated dynamically, since these are no longer constants.
799         * infcmd.c: Ditto.
800         * regcache.c: Ditto.
801         * remote.c: Ditto.
802         * sol-thread.c: Ditto.
803         * valops.c: Ditto.
804         * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
805         work-around for a missing Sun header file in solaris for sparc64.
806
807 2001-02-04  Philip Blundell  <philb@gnu.org>
808
809         * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
810         thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
811         * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
812         GET_THREAD_SIGNALS): Define.
813         * arm-linux-nat.c (fill_gregset): Correct type of argument.
814         (supply_gregset): Likewise.
815         (fill_fpregset): Likewise.
816         (supply_fpregset): Likewise.
817
818 Tue Feb  6 11:58:57 2001  David Taylor  <taylor@redhat.com>
819
820         * valops.c (value_cast): If casting a scalar to a pointer, do not
821         issue a message about truncation unless it exceeds the length of
822         an address, not the length of a pointer.  This is because what the
823         user gives us is an address, not a pointer, and we will ultimately
824         convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
825         to a pointer.  This allows things like "print *(int *)0x01000234"
826         to work without generating a misleading message on a target having
827         two byte pointers and four byte addresses.
828
829 2001-02-05  Christopher Faylor  <cgf@cygnus.com>
830
831         * win32-nat.c: Change PTR to void * throughout.
832
833 2001-02-05  J.T. Conklin  <jtc@redback.com>
834
835         * signals.h: Removed.
836         * event-top.c (#include <signal.h>): Changed from signals.h.
837         * inflow.c: Likewise.
838         * mac-xdep.c: Likewise.
839         * ser-pipe.c: Likewise.
840         * ser-tcp.c: Likewise.
841         * standalone.c: Likewise.
842         * top.c: Likewise.
843         * utils.c: Likewise.
844         * Makefile.in: Removed signals.h from dependencies.
845
846 2001-02-05  Christopher Faylor  <cgf@cygnus.com>
847
848         Change suggested by Dean Luick <luick@cray.com>
849         * inferior.h (step_over_calls_kind): Remove trailing comma from
850         last enum element.
851         (step_over_calls): Declare as extern rather than global.
852
853 2001-02-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
854
855         * sh-tdep.c: Update copyright.
856         (sh_extract_return_value): Rewrite.
857         (sh3e_sh4_extract_return_value): New function.
858         (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
859         version of the function for sh3e and sh4 CPUs.
860
861 2001-02-05  Michael Chastain  <chastain@redhat.com>
862
863         * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
864         to conform with interface change.
865
866 2001-02-04  Eli Zaretskii  <eliz@is.elta.co.il>
867
868         * config/djgpp/fnchange.lst: Tweak to make consistent with the
869         new files.
870
871         * config/djgpp/djconfig.sh: Use explicit absolute file name when
872         invoking `find'.
873
874         * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
875         UART_FIFO_WORKS is defined.  Otherwise use outportb.
876         From Francisco Pastor <fpastor.etra-id@etra.es>
877
878         * go32-nat.c (go32_xfer_memory): Make the argument list consistent
879         with target.h's `to_xfer_memory' member.
880
881 2001-02-02  J.T. Conklin  <jtc@redback.com>
882
883         * ppc-bdm.c (#include <signal.h>): Removed.
884         * remote-array.c: Likewise.
885         * remote-bug.c: Likewise.
886         * remote-e7000.c: Likewise.
887         * remote-mips.c: Likewise.
888         * remote-os9k.c: Likewise.
889         * remote-st.c: Likewise.
890         * remote-udi.c: Likewise.
891         * remote-vx29k.c: Likewise.
892         * remote-vx68.c: Likewise.
893         * remote-vx960.c: Likewise.
894         * remote-vxmips.c: Likewise.
895         * remote-vxsparc.c: Likewise.
896
897 2001-02-02  John Moore  <jmoore@redhat.com>
898
899         * remote-utils.h (sr_set_device): Changed free() to xfree() where 
900         appropriate.  Also changed Copyright to include 2001.
901         * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
902         * value.h (value_free): Likewise.
903         * gdbarch.sh (gdbarch_free): Likewise.
904         * gdbarch.c, gdbarch.h: Regenerated.
905
906 2001-02-02  John Moore  <jmoore@redhat.com>
907
908         * cli/cli-cmds.c (apropos_command): Changed occurance of free() to 
909         xfree().  Also changed Copyright to include 2001.
910
911 2001-02-02  J.T. Conklin  <jtc@redback.com>
912
913         * monitor.c (#include "gdb_wait.h"): Removed.
914         * ocd.c: Likewise.
915         * ppc-bdm.c: Likewise.
916         * remote-adapt.c: Likewise.
917         * remote-array.c: Likewise.
918         * remote-bug.c: Likewise.
919         * remote-e7000.c: Likewise.
920         * remote-eb.c: Likewise.
921         * remote-es.c: Likewise.
922         * remote-mips.c: Likewise.
923         * remote-mm.c: Likewise.
924         * remote-nindy.c: Likewise.
925         * remote-os9k.c: Likewise.
926         * remote-rdi.c: Likewise.
927         * remote-rdp.c: Likewise.
928         * remote-sds.c: Likewise.
929         * remote-sim.c: Likewise.
930         * remote-st.c: Likewise.
931         * remote-udi.c: Likewise.
932         * remote-vx.c: Likewise.
933         * remote-vx29k.c: Likewise.
934         * remote-vx68.c: Likewise.
935         * remote-vx960.c: Likewise.
936         * remote-vxmips.c: Likewise.
937         * remote-vxsparc.c: Likewise.
938         * remote.c: Likewise.
939         * ser-pipe.c: Likewise.
940         * ser-unix.c: Likewise.
941         * Makefile.in: Updated dependencies.
942
943 2001-01-31  David Smith  <dsmith@redhat.com>
944
945         * event-loop.c: Change inclusion of string.h to gdb_string.h and
946         updated the copyright notice.
947         * ser-pipe.c: Ditto.
948         * mi/mi-cmds.c: Ditto.
949         * mi/mi-console.c: Ditto.
950         * mi/mi-getopt.c: Ditto.
951         * mi/mi-parse.c: Ditto.
952
953 2001-01-31  David Smith  <dsmith@redhat.com>
954
955         * MAINTAINERS: Add David Smith to Write After Approval list.
956
957 Tue Jan 30 15:43:08 2001  Andrew Cagney  <cagney@cygnus.com>
958
959         * cli/cli-utils.c (putchar_filtered): Move function from here.
960         * utils.c (putchar_filtered): To here.
961         * cli/cli-utils.h (putchar_filtered): Move declaration from here.
962         * defs.h (putchar_filtered): To here.
963         
964 Tue Jan 30 17:27:11 2001  Andrew Cagney  <cagney@redhat.com>
965
966         * configure.in (AC_CHECK_FUNCS): Replace vfork test with
967         AC_FUNC_VFORK macro.
968         * config.in, configure: Re-generate.
969
970         * gdb_vfork.h: New file.
971         * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
972         * fork-child.c (fork_inferior): Ditto.
973         
974 Tue Jan 30 17:09:07 2001  Andrew Cagney  <cagney@redhat.com>
975
976         * defs.h (strsave): Delete declaration.
977         * utils.c (strsave): Delete definition.
978         * TODO (strsave): Update
979
980         * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
981         * sparcl-tdep.c (sparclite_open): Ditto.
982         * mips-tdep.c (mips_set_processor_type_command):  Ditto.
983         (_initialize_mips_tdep):  Ditto.
984         * solib.c (solib_open):  Ditto.
985         * symfile.c (add_filename_language):  Ditto.
986         (set_ext_lang_command):  Ditto.
987         * source.c (init_source_path):  Ditto.
988         (mod_path):  Ditto.
989         * sh3-rom.c (sh3_open):  Ditto.
990         (sh3e_open):  Ditto.
991         * serial.c (serial_open):  Ditto.
992         * remote-mips.c (common_open):  Ditto.
993         * monitor.c (monitor_open):  Ditto.
994         * m32r-rom.c (m32r_upload_command):  Ditto.
995         * infcmd.c (path_command):  Ditto.
996         * f-exp.y (parse_number):  Ditto.
997         * breakpoint.c (create_longjmp_breakpoint):  Ditto.
998         (create_thread_event_breakpoint):  Ditto.
999         * arc-tdep.c (arc_set_cpu_type_command):  Ditto.
1000         (_initialize_arc_tdep):  Ditto.
1001
1002 Tue Jan 30 15:14:26 2001  Andrew Cagney  <cagney@skil>
1003
1004         * cli/cli-script.c (define_command): Check for a bad hook value in
1005         switch statement.
1006
1007 2001-01-30  J.T. Conklin  <jtc@redback.com>
1008
1009         * configure/sh/embed.mt: New file.
1010         * configure/sh/linux.mt: New file.
1011         * configure/sh/sh.mt: Removed.
1012         * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
1013         (sh-*-*): Removed.
1014
1015 2001-01-29  Michael Chastain  <chastain@redhat.com>
1016
1017         * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
1018         symbol comparisons in binary search.
1019
1020 2001-01-27  Christopher Faylor  <cgf@cygnus.com>
1021
1022         * win32-nat.c (child_xfer_memory): Add missing argument required by
1023         2001-01-23 change.
1024
1025 2001-01-27  Mark Kettenis  <kettenis@gnu.org>
1026
1027         * ui-out.c (do_list_end): New function.
1028         (make_cleanup_ui_out_list_end): New function.
1029         * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
1030         * stack.c (print_frame) [UI_OUT]: Call
1031         make_cleanup_ui_out_list_end to make sure we mark the end of the
1032         list if we do a non-local exit.  At the end of the function,
1033         instead of calling ui_out_list_end directly, let do_cleanups
1034         handle it.
1035
1036 2001-01-26  Fernando Nasser  <fnasser@redhat.com>
1037
1038         Fix double parsing of filenames passed as command line arguments
1039         to GDB (causes weird handling of escape characters).
1040         Also, remove dependencies on the CLI from libgdb.
1041         * call-cmds.h: Remove declaration of exec_file_command().
1042         * gdbcore.h: Remove declaration of exec_file_command().
1043         Add declarations for exec_open() and exec_file_clear().
1044         * symfile.h: Add declarations for symbol_file_add_main() and
1045         symbol_file_clear().
1046         * exec.c (exec_open): New function. Implements to_open for exec
1047         targets.
1048         (exec_file_clear): New function. Makes GDB forget about a previously
1049         specified executable file.
1050         (exec_file_attach): Move parsing of arguments from here ...
1051         (exec_file_command): ... to here.
1052         (init_exec_ops): Use exec_open(), not exec_file_command() to
1053         implement to_open for exec targets.
1054         * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
1055         with default values.  Used when the file name has already been parsed.
1056         (symbol_file_clear): New function. Makes GDB forget about previously
1057         read symbols.
1058         (symbol_file_command): Call the above function instead of inline code.
1059         * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
1060         "call-cmds.h".
1061         (captured_main): Call exec_file_attach() and symbol_file_add_main()
1062         instead of exec_file_command() and symbol_file_command().
1063         (captured_main): Add comment.
1064         * corefile.c: Include "symfile.h".
1065         (core_file_command): Call symbol_file_add_main() instead of
1066         symbol_file_command().
1067         (reopen_exec_file): Call exec_open() instead of exec_file_command().
1068         * infcmd.c: Include "symfile.h".
1069         (attach_command): Call symbol_file_add_main() instead of 
1070         symbol_file_command().
1071         * infrun.c: Remove comment about the inclusion of "symfile.h",
1072         not any longer appropriate.
1073         (follow_exec): Call symbol_file_add_main() instead of 
1074         symbol_file_command().
1075         * remote-es.c: Include "symfile.h".
1076         (es1800_load): Call symbol_file_add_main() instead of 
1077         symbol_file_command().
1078         * remote-vx.c: Remove comment about the inclusion of "symfile.h",
1079         not any longer appropriate.
1080         (vx-wait): Call symbol_file_add_main() instead of 
1081         symbol_file_command().
1082         * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
1083         instead of symbol_file_command().
1084         * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
1085         symbol_file_add_main() instead of exec_file_command() and
1086         symbol_file_command().
1087         * Makefile.in: Update dependencies.
1088
1089 2001-01-26  Jeff Holcomb  <jeffh@redhat.com>
1090
1091         * remote-udi.c (udi_open): Change strdup to xstrdup.
1092         * thread.c (thread_apply_all_command): Change strdup to xstrdup.
1093         Update copyright message.
1094         * varobj.c (delete_variable_1): Likewise.
1095
1096         * gdb_string.h: Remove declaration of strdup.  Update copyright
1097         message.
1098         * config/xm-mpw.h: Likewise.
1099         * config/i386/xm-i386mach.h: Likewise.
1100         * config/m68k/xm-apollo68b.h: Likewise.
1101         * config/m68k/xm-hp300bsd.h: Likewise.
1102         * config/rs6000/xm-rs6000.h: Likewise.
1103         * config/vax/xm-vaxult.h: Remove declaration of strdup.
1104         * config/vax/xm-vaxult2.h: Likewise.
1105
1106 2001-01-26  Jeff Holcomb  <jeffh@redhat.com>
1107
1108         * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
1109
1110 2001-01-25  J.T. Conklin  <jtc@redback.com>
1111
1112         * target.c (target_xfer_memory_partial): Return -1 on failure due
1113         to invalid access mode attribute.
1114
1115 2001-01-25  Christopher Faylor  <cgf@cygnus.com>
1116
1117         * win32-nat.c (_initialize_core_win32): Prototype correctly.
1118
1119 2001-01-25  Mark Kettenis  <kettenis@gnu.org>
1120
1121         * config/alpha/tm-fbsd.h: Update copyright.
1122         (USE_STRUCT_CONVENTION): Define in terms of
1123         alphabsd_use_struct_convention.
1124         * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
1125         * alphafbsd-tdep.c: New file.
1126
1127 2001-01-24  Fernando Nasser  <fnasser@redhat.com>
1128
1129         * top.c (print_gdb_version): Update Copyright year.
1130
1131 2001-01-24  J.T. Conklin  <jtc@redback.com>
1132
1133         * dcache.c (dcache_write_line): Fix typo.
1134
1135         * memattr.c (delete_mem_region): Replace free() with xfree().
1136         (mem_number): Add explicit type.
1137
1138         * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
1139         (rw_common): Likewise.
1140
1141 2001-01-24  Fernando Nasser  <fnasser@redhat.com>
1142
1143         * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
1144         for the inferior program arguments.
1145         (run_command, run_no_args_command, init_infcmd)): Use accessor
1146         functions to set the inferior program arguments.
1147         * inferior.h: Add definitions to the accessor functions above.
1148
1149 2001-01-23  Jim Blandy  <jimb@redhat.com>
1150
1151         * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
1152         Implement these correctly, using make_cv_type.
1153
1154 2001-01-23  J.T. Conklin  <jtc@redback.com>
1155
1156         * exec.c (xfer_memory): Add attrib argument.
1157         * infptrace.c (child_xfer_memory): Likewise.
1158         * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
1159         * monitor.c (monitor_xfer_memory): Likewise.
1160         * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
1161         * remote-array.c (array_xfer_memory): Likewise.
1162         * remote-bug.c (bug_xfer_memory): Likewise.
1163         * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
1164         * remote-eb.c (eb_xfer_inferior_memory): Likewise.
1165         * remote-es.c (es1800_xfer_inferior_memory): Likewise.
1166         * remote-mips.c (mips_xfer_memory): Likewise.
1167         * remote-mm.c (mm_xfer_inferior_memory): Likewise.
1168         * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
1169         * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
1170         * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
1171         * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
1172         * remote-sds.c (sds_xfer_memory): Likewise.
1173         * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
1174         * remote-st.c (st2000_xfer_inferior_memory): Likewise.
1175         * remote-udi.c (udi_xfer_inferior_memory): Likewise.
1176         * remote-vx.c (vx_xfer_memory): Likewise.
1177         * remote.c (remote_xfer_memory): Likewise.
1178         * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
1179         * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
1180         * thread-db.c (thread_db_xfer_memory): Likewise.
1181
1182         * target.h (#include "memattr.h"): Added.
1183         (target_ops.to_xfer_memory): Add attrib argument.
1184
1185         * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
1186         * dcache.h (set_dcache_state): Removed declaration.
1187         * dcache.c (set_dcache_state): Removed definition
1188         
1189         * dcache.c: Update module comment, as dcache is now enabled and
1190         disabled with memory region attributes instead of by the global
1191         variable "remotecache".  Add comment describing the interaction
1192         between dcache and memory region attributes.
1193         (dcache_xfer_memory): Add comment describing benefits of moving
1194         cache writeback to a higher level.
1195         (dcache_struct): Removed cache_has_stuff field.  This was used to
1196         record whether the cache had been accessed in order to invalidate
1197         it when it was disabled.  However, this is not needed because the
1198         cache is write through and the code that enables, disables, and
1199         deletes memory regions invalidate the cache.  Add comment which
1200         suggests that we could be more selective and only invalidate those
1201         cache lines containing data from those memory regions.
1202         (dcache_invalidate): Updated.
1203         (dcache_xfer_memory): Updated.
1204         
1205         (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
1206         (dcache_xfer_memory): Removed code that called do_xfer_memory() to
1207         perform a uncached transfer if dcache_enabled_p was clear.  This
1208         function is now only called if caching is enabled for the memory
1209         region.
1210         (dcache_info): Always print cache info.
1211
1212         * target.c (do_xfer_memory): Add attrib argument.
1213         (target_xfer_memory, target_xfer_memory_partial): Break transfer
1214         into chunks defined by memory regions, pass region attributes to
1215         do_xfer_memory().
1216         * dcache.c (dcache_read_line, dcache_write_line): Likewise.
1217
1218         * Makefile.in (SFILES): Add memattr.c.
1219         (COMMON_OBS): Add memattr.o.
1220         (dcache.o): Add target.h to dependencies.
1221         * memattr.c: New file.
1222         * memattr.h: Likewise.
1223
1224         * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
1225         * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
1226         * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
1227         * gdbserver/low-sim.c (#include "defs.h"): Removed.
1228         (mygeneric_load): Rename from generic_load.
1229         
1230         * gdbserver/low-hppabsd.c (#include "server.h"): Added.
1231         (#include "defs.h"): Removed.
1232         (inferior_pid, perror_with_name): Remove declarations.
1233         * gdbserver/low-linux.c: Likewise.
1234         * gdbserver/low-nbsd.c: Likewise.
1235         * gdbserver/low-sparc.c: Likewise.
1236         * gdbserver/low-sun3.c: Likewise.
1237
1238         * i386-stub.c: Re-indent.
1239         * m68k-stub.c: Re-indent.
1240
1241 2001-01-22  Nicholas Duffek  <nsd@redhat.com>
1242
1243         * gdbarch.sh (PARM_BOUNDARY): Define.
1244         * gdbarch.c: Regenerate.
1245         * gdbarch.h: Regenerate.
1246
1247 2001-01-22  J.T. Conklin  <jtc@redback.com>
1248
1249         * ns32k-tdep.c: #include "frame.h"
1250         * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore.  It
1251         appears to have been inadvertantly removed sometime in May 1999.
1252
1253         * Revert 2000-11-09 changes where shared library objects were
1254         moved from NATDEPFILES to TDEPFILES on NetBSD targets.  While
1255         we'd like to be able to debug dynamically linked executables,
1256         this makes it impossible to build a cross debugger on a many
1257         hosts.
1258
1259         * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
1260         * config/i386/nbsdelf.mt: Likewise.
1261         * config/m68k/nbsd.mt: Likewise.
1262         * config/ns32k/nbsd.mt: Likewise.
1263         * config/powerpc/nbsd.mt: Likewise.
1264         * config/sparc/nbsd.mt: Likewise.
1265         * config/sparc/nbsdelf.mt: Likewise.
1266         * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
1267         * config/i386/nbsdelf.mh: Likewise. 
1268         * config/m68k/nbsd.mh: Likewise.
1269         * config/ns32k/nbsd.mh: Likewise.
1270         * config/powerpc/nbsd.mh: Likewise.
1271         * config/sparc/nbsd.mh: Likewise.
1272
1273 2001-01-19  Jason Merrill  <jason@redhat.com>
1274
1275         * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
1276         (process_one_symbol): Likewise.
1277         * dwarfread.c (handle_producer): Likewise.
1278
1279 Thu Jan 18 12:08:57 2001  Andrew Cagney  <cagney@b1.cygnus.com>
1280
1281         * configure.in (build_warnings): Disable -Wuninitialized until GDB
1282         compiles with -Wuninitialized,-Werror.
1283         * configure: Regenerate.
1284
1285         * MAINTAINERS: Add list of buildable targets.
1286
1287 Thu Jan 18 12:48:04 2001  Andrew Cagney  <cagney@b1.cygnus.com>
1288
1289         * defs.h (STRCMP): Delete macro.
1290
1291         * objfiles.c (objfile_relocate): Replace STRCMP with call to
1292         strcmp.
1293         * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1294         * symfile.c (compare_symbols):  Ditto.
1295         * standalone.c (open):  Ditto.
1296         * remote-es.c (verify_break):  Ditto.
1297         * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
1298
1299         * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
1300
1301 Thu Jan 18 12:25:06 2001  Andrew Cagney  <cagney@b1.cygnus.com>
1302
1303         * varobj.c (FREEIF): Delete macro.
1304         (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
1305         call.
1306
1307 2001-01-18  Nick Clifton  <nickc@redhat.com>
1308
1309         * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
1310         (arc_print_insn): No bfd available, so pass NULL to
1311         arc_get_disassembler.
1312
1313 2001-01-09  James Ingham  <jingham@inghji.apple.com>
1314
1315          * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
1316          a mangled symbol rather than recursing into lookup_symbol, since
1317          this will just re-unmangle the name & call lookup_symbol_aux -
1318          leading to an infinite recursion.
1319
1320 2001-01-18  Mark Kettenis  <kettenis@gnu.org>
1321
1322         * infcmd.c (print_return_value): Restore another space lost by
1323         switch to UIOUT. ``$NN='' should be ``$NN =''.
1324
1325 Fri Jan 19 02:31:40 2001  Andrew Cagney  <cagney@b1.cygnus.com>
1326
1327         * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
1328         * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
1329         definition in parenthesis.
1330
1331 Fri Jan 19 02:13:40 2001  Andrew Cagney  <cagney@b1.cygnus.com>
1332
1333         From 2000-10-27 Mark Salter <msalter@redhat.com>:
1334         * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
1335         packet.
1336         (remote_insert_hw_breakpoint): Ditto.
1337
1338 2001-01-17  J.T. Conklin  <jtc@redback.com>
1339
1340         * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
1341         (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
1342         * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
1343         * m68knbsd-tdep.c: New file.
1344
1345         * i386nbsd-tdep.c: Remove #if 0'd out #includes.
1346
1347         * m68knbsd-nat.c: #include gdbcore.h.
1348
1349 Wed Jan 17 09:41:58 2001  Andrew Cagney  <cagney@b1.cygnus.com>
1350
1351         * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
1352
1353 2001-01-16  Michael Snyder  <msnyder@cleaver.cygnus.com>
1354
1355         * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
1356         goes away -- just return false (ie. not stopped by watchpoint).
1357         * source.c (openp): Fix typo in comment.
1358
1359 2001-01-12  Nicholas Duffek  <nsd@redhat.com>
1360
1361         * blockframe.c (generic_get_saved_register): Spelling fix.
1362         * frame.h (FRAME_FP): Spelling fix.
1363
1364 Fri Jan 12 18:29:46 2001  Andrew Cagney  <cagney@b1.cygnus.com>
1365
1366         * infcmd.c (print_return_value): Restore space lost by switch to
1367         UIOUT. ``$NN='' should be ``$NN =''.
1368         
1369 2001-01-08  Nicholas Duffek  <nsd@redhat.com>
1370
1371         * regcache.c (set_register_cached, register_buffer,
1372         real_register, pseudo_register fetch_register, store_register):
1373         New functions.
1374         (register_changed, read_relative_register_raw_bytes_for_frame,
1375         registers_changed, registers_fetched, read_register_bytes,
1376         read_register_gen, write_register_gen, read_register,
1377         read_signed_register, write_register, supply_register): Replace
1378         register_valid[] with register_cached() and
1379         set_register_cached().
1380         (read_register_bytes, read_register_gen, write_register_gen,
1381         read_register, read_signed_register, write_register,
1382         supply_register): Replace registers[] with register_buffer().
1383         (read_register_bytes, read_register_gen, read_register,
1384         read_signed_register): Call fetch_register().
1385         (write_register_gen, write_register): Call real_register() and
1386         store_register().
1387         (write_register_bytes): Call store_register().
1388         * value.h (set_register_cached, register_buffer): Prototype.
1389         * remote.c (remote_fetch_registers): Allocate regs[] with a
1390         run-time size.  Replace register_valid[] with
1391         set_register_cached().
1392         (store_register_using_P, remote_store_registers): Replace
1393         registers[] with register_buffer().
1394
1395 2001-01-08  Nicholas Duffek  <nsd@redhat.com>
1396
1397         * regcache.c: Change "write-back" comment to "write-through".
1398         Change "regno" to "regnum".
1399         (read_register, read_signed_register): Remove "raw" from return
1400         value description.
1401         (supply_register): Spelling fix.
1402         * value.h: Change "regno" to "regnum".
1403
1404 2001-01-08  Fernando Nasser  <fnasser@redhat.com>
1405
1406         * Makefile.in (install-gdbtk): Add .itcl files to the list of files
1407         to be installed.
1408
1409 2001-01-04  Michael Snyder  <msnyder@mvstp600e.cygnus.com>
1410
1411         * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
1412
1413 2001-01-04  Nicholas Duffek  <nsd@redhat.com>
1414
1415         * valops.c (VALUE_SUBSTRING_START): Delete.
1416
1417 2001-01-04  Nicholas Duffek  <nsd@redhat.com>
1418
1419         * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
1420         (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
1421         (cli_utils_h): New variable.
1422         (cli/cli-utils.o): New rule.
1423         * cli/cli-utils.c: New file.
1424         * cli/cli-utils.h: New file.
1425
1426 2001-01-04  Nicholas Duffek  <nsd@redhat.com>
1427
1428         * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
1429         REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
1430
1431 2001-01-03  J.T. Conklin  <jtc@redback.com>
1432
1433         * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
1434         comment.
1435
1436 2001-01-02  Michael Snyder  <msnyder@cleaver.cygnus.com>
1437
1438         * sh-tdep.c (sh_default_store_return_value):  Allow for small return type.
1439         (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
1440         non-float types.
1441         * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
1442         Update copyright notice.
1443         
1444 For older changes see ChangeLog-2000
1445 \f
1446 Local Variables:
1447 mode: change-log
1448 left-margin: 8
1449 fill-column: 74
1450 version-control: never
1451 End: