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