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