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