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