74ba6377ca74f3f3269ae92afb12067fed3d39ad
[external/binutils.git] / gdb / ChangeLog
1 2001-02-07  Andrew Cagney  <ac131313@redhat.com>
2
3         * remote-sim.c (dump_mem): Cleanup printf format argument.
4         * MAINTAINERS: Update, mn10300-elf now builds.
5
6 2001-02-07  Mark Kettenis  <kettenis@gnu.org>
7
8         * event-top.c: Remove duplicate #include <signal.h>.
9
10 2001-02-06  Andrew Cagney  <ac131313@redhat.com>
11
12         * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
13         allocated buffer.
14         (save_inferior_pid): Restore the PID from that tempoary
15         buffer. Delete the buffer.
16         * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
17
18 2001-02-06  Andrew Cagney  <ac131313@redhat.com>
19
20         * MAINTAINERS: Add ``The Obvious Fix Rule''.
21
22 2001-02-06  Andrew Cagney  <ac131313@redhat.com>
23
24         * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
25
26 2001-02-06  Andrew Cagney  <ac131313@cygnus.com>
27
28         * gdbarch.sh: Include "gdb_assert.h".
29         (struct gdbarch): Change ``nr_data'' to unsigned.
30         (alloc_gdbarch_data, free_gdbarch_data): New functions.
31         (gdbarch_free): Free the data-pointer vector.  Use xfree to delete
32         architecture vector.
33         (struct gdbarch_data, struct gdbarch_data_registration): Move init
34         method to gdbarch_data.  Add free method, make index unsigned.
35         (struct gdbarch_data_registry): Make nr unsigned.
36         (register_gdbarch_data): Add free parameter. Store in
37         gdbarch_data.
38         (init_gdbarch_data): Use set_gdbarch_data.
39         (set_gdbarch_data): New function.
40         
41         * gdbarch.h, gdbarch.c: Re-generate.
42         
43 2001-02-06  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
44
45         * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
46         fprintf_filtered with correct arguments.
47
48 2001-02-06  Michael Snyder  <msnyder@makita.cygnus.com>
49         Submitted by Paul Hilfinger (hilfingr@gnat.com) 
50         and Andrei Petrov (and@genesyslab.com).
51         * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
52         must be allocated dynamically, since these are no longer constants.
53         * infcmd.c: Ditto.
54         * regcache.c: Ditto.
55         * remote.c: Ditto.
56         * sol-thread.c: Ditto.
57         * valops.c: Ditto.
58         * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
59         work-around for a missing Sun header file in solaris for sparc64.
60
61 2001-02-04  Philip Blundell  <philb@gnu.org>
62
63         * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
64         thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
65         * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
66         GET_THREAD_SIGNALS): Define.
67         * arm-linux-nat.c (fill_gregset): Correct type of argument.
68         (supply_gregset): Likewise.
69         (fill_fpregset): Likewise.
70         (supply_fpregset): Likewise.
71
72 Tue Feb  6 11:58:57 2001  David Taylor  <taylor@redhat.com>
73
74         * valops.c (value_cast): If casting a scalar to a pointer, do not
75         issue a message about truncation unless it exceeds the length of
76         an address, not the length of a pointer.  This is because what the
77         user gives us is an address, not a pointer, and we will ultimately
78         convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
79         to a pointer.  This allows things like "print *(int *)0x01000234"
80         to work without generating a misleading message on a target having
81         two byte pointers and four byte addresses.
82
83 2001-02-05  Christopher Faylor  <cgf@cygnus.com>
84
85         * win32-nat.c: Change PTR to void * throughout.
86
87 2001-02-05  J.T. Conklin  <jtc@redback.com>
88
89         * signals.h: Removed.
90         * event-top.c (#include <signal.h>): Changed from signals.h.
91         * inflow.c: Likewise.
92         * mac-xdep.c: Likewise.
93         * ser-pipe.c: Likewise.
94         * ser-tcp.c: Likewise.
95         * standalone.c: Likewise.
96         * top.c: Likewise.
97         * utils.c: Likewise.
98         * Makefile.in: Removed signals.h from dependencies.
99
100 2001-02-05  Christopher Faylor  <cgf@cygnus.com>
101
102         Change suggested by Dean Luick <luick@cray.com>
103         * inferior.h (step_over_calls_kind): Remove trailing comma from
104         last enum element.
105         (step_over_calls): Declare as extern rather than global.
106
107 2001-02-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
108
109         * sh-tdep.c: Update copyright.
110         (sh_extract_return_value): Rewrite.
111         (sh3e_sh4_extract_return_value): New function.
112         (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
113         version of the function for sh3e and sh4 CPUs.
114
115 2001-02-05  Michael Chastain  <chastain@redhat.com>
116
117         * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
118         to conform with interface change.
119
120 2001-02-04  Eli Zaretskii  <eliz@is.elta.co.il>
121
122         * config/djgpp/fnchange.lst: Tweak to make consistent with the
123         new files.
124
125         * config/djgpp/djconfig.sh: Use explicit absolute file name when
126         invoking `find'.
127
128         * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
129         UART_FIFO_WORKS is defined.  Otherwise use outportb.
130         From Francisco Pastor <fpastor.etra-id@etra.es>
131
132         * go32-nat.c (go32_xfer_memory): Make the argument list consistent
133         with target.h's `to_xfer_memory' member.
134
135 2001-02-02  J.T. Conklin  <jtc@redback.com>
136
137         * ppc-bdm.c (#include <signal.h>): Removed.
138         * remote-array.c: Likewise.
139         * remote-bug.c: Likewise.
140         * remote-e7000.c: Likewise.
141         * remote-mips.c: Likewise.
142         * remote-os9k.c: Likewise.
143         * remote-st.c: Likewise.
144         * remote-udi.c: Likewise.
145         * remote-vx29k.c: Likewise.
146         * remote-vx68.c: Likewise.
147         * remote-vx960.c: Likewise.
148         * remote-vxmips.c: Likewise.
149         * remote-vxsparc.c: Likewise.
150
151 2001-02-02  John Moore  <jmoore@redhat.com>
152
153         * remote-utils.h (sr_set_device): Changed free() to xfree() where 
154         appropriate.  Also changed Copyright to include 2001.
155         * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
156         * value.h (value_free): Likewise.
157         * gdbarch.sh (gdbarch_free): Likewise.
158         * gdbarch.c, gdbarch.h: Regenerated.
159
160 2001-02-02  John Moore  <jmoore@redhat.com>
161
162         * cli/cli-cmds.c (apropos_command): Changed occurance of free() to 
163         xfree().  Also changed Copyright to include 2001.
164
165 2001-02-02  J.T. Conklin  <jtc@redback.com>
166
167         * monitor.c (#include "gdb_wait.h"): Removed.
168         * ocd.c: Likewise.
169         * ppc-bdm.c: Likewise.
170         * remote-adapt.c: Likewise.
171         * remote-array.c: Likewise.
172         * remote-bug.c: Likewise.
173         * remote-e7000.c: Likewise.
174         * remote-eb.c: Likewise.
175         * remote-es.c: Likewise.
176         * remote-mips.c: Likewise.
177         * remote-mm.c: Likewise.
178         * remote-nindy.c: Likewise.
179         * remote-os9k.c: Likewise.
180         * remote-rdi.c: Likewise.
181         * remote-rdp.c: Likewise.
182         * remote-sds.c: Likewise.
183         * remote-sim.c: Likewise.
184         * remote-st.c: Likewise.
185         * remote-udi.c: Likewise.
186         * remote-vx.c: Likewise.
187         * remote-vx29k.c: Likewise.
188         * remote-vx68.c: Likewise.
189         * remote-vx960.c: Likewise.
190         * remote-vxmips.c: Likewise.
191         * remote-vxsparc.c: Likewise.
192         * remote.c: Likewise.
193         * ser-pipe.c: Likewise.
194         * ser-unix.c: Likewise.
195         * Makefile.in: Updated dependencies.
196
197 2001-01-31  David Smith  <dsmith@redhat.com>
198
199         * event-loop.c: Change inclusion of string.h to gdb_string.h and
200         updated the copyright notice.
201         * ser-pipe.c: Ditto.
202         * mi/mi-cmds.c: Ditto.
203         * mi/mi-console.c: Ditto.
204         * mi/mi-getopt.c: Ditto.
205         * mi/mi-parse.c: Ditto.
206
207 2001-01-31  David Smith  <dsmith@redhat.com>
208
209         * MAINTAINERS: Add David Smith to Write After Approval list.
210
211 Tue Jan 30 15:43:08 2001  Andrew Cagney  <cagney@cygnus.com>
212
213         * cli/cli-utils.c (putchar_filtered): Move function from here.
214         * utils.c (putchar_filtered): To here.
215         * cli/cli-utils.h (putchar_filtered): Move declaration from here.
216         * defs.h (putchar_filtered): To here.
217         
218 Tue Jan 30 17:27:11 2001  Andrew Cagney  <cagney@redhat.com>
219
220         * configure.in (AC_CHECK_FUNCS): Replace vfork test with
221         AC_FUNC_VFORK macro.
222         * config.in, configure: Re-generate.
223
224         * gdb_vfork.h: New file.
225         * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
226         * fork-child.c (fork_inferior): Ditto.
227         
228 Tue Jan 30 17:09:07 2001  Andrew Cagney  <cagney@redhat.com>
229
230         * defs.h (strsave): Delete declaration.
231         * utils.c (strsave): Delete definition.
232         * TODO (strsave): Update
233
234         * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
235         * sparcl-tdep.c (sparclite_open): Ditto.
236         * mips-tdep.c (mips_set_processor_type_command):  Ditto.
237         (_initialize_mips_tdep):  Ditto.
238         * solib.c (solib_open):  Ditto.
239         * symfile.c (add_filename_language):  Ditto.
240         (set_ext_lang_command):  Ditto.
241         * source.c (init_source_path):  Ditto.
242         (mod_path):  Ditto.
243         * sh3-rom.c (sh3_open):  Ditto.
244         (sh3e_open):  Ditto.
245         * serial.c (serial_open):  Ditto.
246         * remote-mips.c (common_open):  Ditto.
247         * monitor.c (monitor_open):  Ditto.
248         * m32r-rom.c (m32r_upload_command):  Ditto.
249         * infcmd.c (path_command):  Ditto.
250         * f-exp.y (parse_number):  Ditto.
251         * breakpoint.c (create_longjmp_breakpoint):  Ditto.
252         (create_thread_event_breakpoint):  Ditto.
253         * arc-tdep.c (arc_set_cpu_type_command):  Ditto.
254         (_initialize_arc_tdep):  Ditto.
255
256 Tue Jan 30 15:14:26 2001  Andrew Cagney  <cagney@skil>
257
258         * cli/cli-script.c (define_command): Check for a bad hook value in
259         switch statement.
260
261 2001-01-30  J.T. Conklin  <jtc@redback.com>
262
263         * configure/sh/embed.mt: New file.
264         * configure/sh/linux.mt: New file.
265         * configure/sh/sh.mt: Removed.
266         * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
267         (sh-*-*): Removed.
268
269 2001-01-29  Michael Chastain  <chastain@redhat.com>
270
271         * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
272         symbol comparisons in binary search.
273
274 2000-01-27  Christopher Faylor  <cgf@cygnus.com>
275
276         * win32-nat.c (child_xfer_memory): Add missing argument required by
277         2001-01-23 change.
278
279 2001-01-27  Mark Kettenis  <kettenis@gnu.org>
280
281         * ui-out.c (do_list_end): New function.
282         (make_cleanup_ui_out_list_end): New function.
283         * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
284         * stack.c (print_frame) [UI_OUT]: Call
285         make_cleanup_ui_out_list_end to make sure we mark the end of the
286         list if we do a non-local exit.  At the end of the function,
287         instead of calling ui_out_list_end directly, let do_cleanups
288         handle it.
289
290 2001-01-26  Fernando Nasser  <fnasser@redhat.com>
291
292         Fix double parsing of filenames passed as command line arguments
293         to GDB (causes weird handling of escape characters).
294         Also, remove dependencies on the CLI from libgdb.
295         * call-cmds.h: Remove declaration of exec_file_command().
296         * gdbcore.h: Remove declaration of exec_file_command().
297         Add declarations for exec_open() and exec_file_clear().
298         * symfile.h: Add declarations for symbol_file_add_main() and
299         symbol_file_clear().
300         * exec.c (exec_open): New function. Implements to_open for exec
301         targets.
302         (exec_file_clear): New function. Makes GDB forget about a previously
303         specified executable file.
304         (exec_file_attach): Move parsing of arguments from here ...
305         (exec_file_command): ... to here.
306         (init_exec_ops): Use exec_open(), not exec_file_command() to
307         implement to_open for exec targets.
308         * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
309         with default values.  Used when the file name has already been parsed.
310         (symbol_file_clear): New function. Makes GDB forget about previously
311         read symbols.
312         (symbol_file_command): Call the above function instead of inline code.
313         * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
314         "call-cmds.h".
315         (captured_main): Call exec_file_attach() and symbol_file_add_main()
316         instead of exec_file_command() and symbol_file_command().
317         (captured_main): Add comment.
318         * corefile.c: Include "symfile.h".
319         (core_file_command): Call symbol_file_add_main() instead of
320         symbol_file_command().
321         (reopen_exec_file): Call exec_open() instead of exec_file_command().
322         * infcmd.c: Include "symfile.h".
323         (attach_command): Call symbol_file_add_main() instead of 
324         symbol_file_command().
325         * infrun.c: Remove comment about the inclusion of "symfile.h",
326         not any longer appropriate.
327         (follow_exec): Call symbol_file_add_main() instead of 
328         symbol_file_command().
329         * remote-es.c: Include "symfile.h".
330         (es1800_load): Call symbol_file_add_main() instead of 
331         symbol_file_command().
332         * remote-vx.c: Remove comment about the inclusion of "symfile.h",
333         not any longer appropriate.
334         (vx-wait): Call symbol_file_add_main() instead of 
335         symbol_file_command().
336         * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
337         instead of symbol_file_command().
338         * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
339         symbol_file_add_main() instead of exec_file_command() and
340         symbol_file_command().
341         * Makefile.in: Update dependencies.
342
343 2001-01-26  Jeff Holcomb  <jeffh@redhat.com>
344
345         * remote-udi.c (udi_open): Change strdup to xstrdup.
346         * thread.c (thread_apply_all_command): Change strdup to xstrdup.
347         Update copyright message.
348         * varobj.c (delete_variable_1): Likewise.
349
350         * gdb_string.h: Remove declaration of strdup.  Update copyright
351         message.
352         * config/xm-mpw.h: Likewise.
353         * config/i386/xm-i386mach.h: Likewise.
354         * config/m68k/xm-apollo68b.h: Likewise.
355         * config/m68k/xm-hp300bsd.h: Likewise.
356         * config/rs6000/xm-rs6000.h: Likewise.
357         * config/vax/xm-vaxult.h: Remove declaration of strdup.
358         * config/vax/xm-vaxult2.h: Likewise.
359
360 2001-01-26  Jeff Holcomb  <jeffh@redhat.com>
361
362         * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
363
364 2001-01-25  J.T. Conklin  <jtc@redback.com>
365
366         * target.c (target_xfer_memory_partial): Return -1 on failure due
367         to invalid access mode attribute.
368
369 2001-01-25  Christopher Faylor  <cgf@cygnus.com>
370
371         * win32-nat.c (_initialize_core_win32): Prototype correctly.
372
373 2001-01-25  Mark Kettenis  <kettenis@gnu.org>
374
375         * config/alpha/tm-fbsd.h: Update copyright.
376         (USE_STRUCT_CONVENTION): Define in terms of
377         alphabsd_use_struct_convention.
378         * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
379         * alphafbsd-tdep.c: New file.
380
381 2001-01-24  Fernando Nasser  <fnasser@redhat.com>
382
383         * top.c (print_gdb_version): Update Copyright year.
384
385 2001-01-24  J.T. Conklin  <jtc@redback.com>
386
387         * dcache.c (dcache_write_line): Fix typo.
388
389         * memattr.c (delete_mem_region): Replace free() with xfree().
390         (mem_number): Add explicit type.
391
392         * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
393         (rw_common): Likewise.
394
395 2001-01-24  Fernando Nasser  <fnasser@redhat.com>
396
397         * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
398         for the inferior program arguments.
399         (run_command, run_no_args_command, init_infcmd)): Use accessor
400         functions to set the inferior program arguments.
401         * inferior.h: Add definitions to the accessor functions above.
402
403 2001-01-23  Jim Blandy  <jimb@redhat.com>
404
405         * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
406         Implement these correctly, using make_cv_type.
407
408 2001-01-23  J.T. Conklin  <jtc@redback.com>
409
410         * exec.c (xfer_memory): Add attrib argument.
411         * infptrace.c (child_xfer_memory): Likewise.
412         * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
413         * monitor.c (monitor_xfer_memory): Likewise.
414         * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
415         * remote-array.c (array_xfer_memory): Likewise.
416         * remote-bug.c (bug_xfer_memory): Likewise.
417         * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
418         * remote-eb.c (eb_xfer_inferior_memory): Likewise.
419         * remote-es.c (es1800_xfer_inferior_memory): Likewise.
420         * remote-mips.c (mips_xfer_memory): Likewise.
421         * remote-mm.c (mm_xfer_inferior_memory): Likewise.
422         * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
423         * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
424         * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
425         * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
426         * remote-sds.c (sds_xfer_memory): Likewise.
427         * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
428         * remote-st.c (st2000_xfer_inferior_memory): Likewise.
429         * remote-udi.c (udi_xfer_inferior_memory): Likewise.
430         * remote-vx.c (vx_xfer_memory): Likewise.
431         * remote.c (remote_xfer_memory): Likewise.
432         * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
433         * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
434         * thread-db.c (thread_db_xfer_memory): Likewise.
435
436         * target.h (#include "memattr.h"): Added.
437         (target_ops.to_xfer_memory): Add attrib argument.
438
439         * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
440         * dcache.h (set_dcache_state): Removed declaration.
441         * dcache.c (set_dcache_state): Removed definition
442         
443         * dcache.c: Update module comment, as dcache is now enabled and
444         disabled with memory region attributes instead of by the global
445         variable "remotecache".  Add comment describing the interaction
446         between dcache and memory region attributes.
447         (dcache_xfer_memory): Add comment describing benefits of moving
448         cache writeback to a higher level.
449         (dcache_struct): Removed cache_has_stuff field.  This was used to
450         record whether the cache had been accessed in order to invalidate
451         it when it was disabled.  However, this is not needed because the
452         cache is write through and the code that enables, disables, and
453         deletes memory regions invalidate the cache.  Add comment which
454         suggests that we could be more selective and only invalidate those
455         cache lines containing data from those memory regions.
456         (dcache_invalidate): Updated.
457         (dcache_xfer_memory): Updated.
458         
459         (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
460         (dcache_xfer_memory): Removed code that called do_xfer_memory() to
461         perform a uncached transfer if dcache_enabled_p was clear.  This
462         function is now only called if caching is enabled for the memory
463         region.
464         (dcache_info): Always print cache info.
465
466         * target.c (do_xfer_memory): Add attrib argument.
467         (target_xfer_memory, target_xfer_memory_partial): Break transfer
468         into chunks defined by memory regions, pass region attributes to
469         do_xfer_memory().
470         * dcache.c (dcache_read_line, dcache_write_line): Likewise.
471
472         * Makefile.in (SFILES): Add memattr.c.
473         (COMMON_OBS): Add memattr.o.
474         (dcache.o): Add target.h to dependencies.
475         * memattr.c: New file.
476         * memattr.h: Likewise.
477
478         * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
479         * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
480         * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
481         * gdbserver/low-sim.c (#include "defs.h"): Removed.
482         (mygeneric_load): Rename from generic_load.
483         
484         * gdbserver/low-hppabsd.c (#include "server.h"): Added.
485         (#include "defs.h"): Removed.
486         (inferior_pid, perror_with_name): Remove declarations.
487         * gdbserver/low-linux.c: Likewise.
488         * gdbserver/low-nbsd.c: Likewise.
489         * gdbserver/low-sparc.c: Likewise.
490         * gdbserver/low-sun3.c: Likewise.
491
492         * i386-stub.c: Re-indent.
493         * m68k-stub.c: Re-indent.
494
495 2001-01-22  Nicholas Duffek  <nsd@redhat.com>
496
497         * gdbarch.sh (PARM_BOUNDARY): Define.
498         * gdbarch.c: Regenerate.
499         * gdbarch.h: Regenerate.
500
501 2001-01-22  J.T. Conklin  <jtc@redback.com>
502
503         * ns32k-tdep.c: #include "frame.h"
504         * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore.  It
505         appears to have been inadvertantly removed sometime in May 1999.
506
507         * Revert 2000-11-09 changes where shared library objects were
508         moved from NATDEPFILES to TDEPFILES on NetBSD targets.  While
509         we'd like to be able to debug dynamically linked executables,
510         this makes it impossible to build a cross debugger on a many
511         hosts.
512
513         * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
514         * config/i386/nbsdelf.mt: Likewise.
515         * config/m68k/nbsd.mt: Likewise.
516         * config/ns32k/nbsd.mt: Likewise.
517         * config/powerpc/nbsd.mt: Likewise.
518         * config/sparc/nbsd.mt: Likewise.
519         * config/sparc/nbsdelf.mt: Likewise.
520         * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
521         * config/i386/nbsdelf.mh: Likewise. 
522         * config/m68k/nbsd.mh: Likewise.
523         * config/ns32k/nbsd.mh: Likewise.
524         * config/powerpc/nbsd.mh: Likewise.
525         * config/sparc/nbsd.mh: Likewise.
526
527 2001-01-19  Jason Merrill  <jason@redhat.com>
528
529         * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
530         (process_one_symbol): Likewise.
531         * dwarfread.c (handle_producer): Likewise.
532
533 Thu Jan 18 12:08:57 2001  Andrew Cagney  <cagney@b1.cygnus.com>
534
535         * configure.in (build_warnings): Disable -Wuninitialized until GDB
536         compiles with -Wuninitialized,-Werror.
537         * configure: Regenerate.
538
539         * MAINTAINERS: Add list of buildable targets.
540
541 Thu Jan 18 12:48:04 2001  Andrew Cagney  <cagney@b1.cygnus.com>
542
543         * defs.h (STRCMP): Delete macro.
544
545         * objfiles.c (objfile_relocate): Replace STRCMP with call to
546         strcmp.
547         * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
548         * symfile.c (compare_symbols):  Ditto.
549         * standalone.c (open):  Ditto.
550         * remote-es.c (verify_break):  Ditto.
551         * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
552
553         * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
554
555 Thu Jan 18 12:25:06 2001  Andrew Cagney  <cagney@b1.cygnus.com>
556
557         * varobj.c (FREEIF): Delete macro.
558         (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
559         call.
560
561 2001-01-18  Nick Clifton  <nickc@redhat.com>
562
563         * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
564         (arc_print_insn): No bfd available, so pass NULL to
565         arc_get_disassembler.
566
567 2001-01-09  James Ingham  <jingham@inghji.apple.com>
568
569          * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
570          a mangled symbol rather than recursing into lookup_symbol, since
571          this will just re-unmangle the name & call lookup_symbol_aux -
572          leading to an infinite recursion.
573
574 2001-01-18  Mark Kettenis  <kettenis@gnu.org>
575
576         * infcmd.c (print_return_value): Restore another space lost by
577         switch to UIOUT. ``$NN='' should be ``$NN =''.
578
579 Fri Jan 19 02:31:40 2001  Andrew Cagney  <cagney@b1.cygnus.com>
580
581         * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
582         * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
583         definition in parenthesis.
584
585 Fri Jan 19 02:13:40 2001  Andrew Cagney  <cagney@b1.cygnus.com>
586
587         From 2000-10-27 Mark Salter <msalter@redhat.com>:
588         * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
589         packet.
590         (remote_insert_hw_breakpoint): Ditto.
591
592 2001-01-17  J.T. Conklin  <jtc@redback.com>
593
594         * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
595         (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
596         * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
597         * m68knbsd-tdep.c: New file.
598
599         * i386nbsd-tdep.c: Remove #if 0'd out #includes.
600
601         * m68knbsd-nat.c: #include gdbcore.h.
602
603 Wed Jan 17 09:41:58 2001  Andrew Cagney  <cagney@b1.cygnus.com>
604
605         * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
606
607 2001-01-16  Michael Snyder  <msnyder@cleaver.cygnus.com>
608
609         * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
610         goes away -- just return false (ie. not stopped by watchpoint).
611         * source.c (openp): Fix typo in comment.
612
613 2001-01-12  Nicholas Duffek  <nsd@redhat.com>
614
615         * blockframe.c (generic_get_saved_register): Spelling fix.
616         * frame.h (FRAME_FP): Spelling fix.
617
618 Fri Jan 12 18:29:46 2001  Andrew Cagney  <cagney@b1.cygnus.com>
619
620         * infcmd.c (print_return_value): Restore space lost by switch to
621         UIOUT. ``$NN='' should be ``$NN =''.
622         
623 2001-01-08  Nicholas Duffek  <nsd@redhat.com>
624
625         * regcache.c (set_register_cached, register_buffer,
626         real_register, pseudo_register fetch_register, store_register):
627         New functions.
628         (register_changed, read_relative_register_raw_bytes_for_frame,
629         registers_changed, registers_fetched, read_register_bytes,
630         read_register_gen, write_register_gen, read_register,
631         read_signed_register, write_register, supply_register): Replace
632         register_valid[] with register_cached() and
633         set_register_cached().
634         (read_register_bytes, read_register_gen, write_register_gen,
635         read_register, read_signed_register, write_register,
636         supply_register): Replace registers[] with register_buffer().
637         (read_register_bytes, read_register_gen, read_register,
638         read_signed_register): Call fetch_register().
639         (write_register_gen, write_register): Call real_register() and
640         store_register().
641         (write_register_bytes): Call store_register().
642         * value.h (set_register_cached, register_buffer): Prototype.
643         * remote.c (remote_fetch_registers): Allocate regs[] with a
644         run-time size.  Replace register_valid[] with
645         set_register_cached().
646         (store_register_using_P, remote_store_registers): Replace
647         registers[] with register_buffer().
648
649 2001-01-08  Nicholas Duffek  <nsd@redhat.com>
650
651         * regcache.c: Change "write-back" comment to "write-through".
652         Change "regno" to "regnum".
653         (read_register, read_signed_register): Remove "raw" from return
654         value description.
655         (supply_register): Spelling fix.
656         * value.h: Change "regno" to "regnum".
657
658 2001-01-08  Fernando Nasser  <fnasser@redhat.com>
659
660         * Makefile.in (install-gdbtk): Add .itcl files to the list of files
661         to be installed.
662
663 2001-01-04  Michael Snyder  <msnyder@mvstp600e.cygnus.com>
664
665         * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
666
667 2001-01-04  Nicholas Duffek  <nsd@redhat.com>
668
669         * valops.c (VALUE_SUBSTRING_START): Delete.
670
671 2001-01-04  Nicholas Duffek  <nsd@redhat.com>
672
673         * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
674         (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
675         (cli_utils_h): New variable.
676         (cli/cli-utils.o): New rule.
677         * cli/cli-utils.c: New file.
678         * cli/cli-utils.h: New file.
679
680 2001-01-04  Nicholas Duffek  <nsd@redhat.com>
681
682         * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
683         REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
684
685 2001-01-03  J.T. Conklin  <jtc@redback.com>
686
687         * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
688         comment.
689
690 2001-01-02  Michael Snyder  <msnyder@cleaver.cygnus.com>
691
692         * sh-tdep.c (sh_default_store_return_value):  Allow for small return type.
693         (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
694         non-float types.
695         * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
696         Update copyright notice.
697         
698 For older changes see ChangeLog-2000
699 \f
700 Local Variables:
701 mode: change-log
702 left-margin: 8
703 fill-column: 74
704 version-control: never
705 End: