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