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