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