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