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