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