TODO Tweeks.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
0db23c95
AC
12001-02-18 Andrew Cagney <ac131313@redhat.com>
2
3 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
4
911413e6
JL
52001-02-19 Jonathan Larmour <jlarmour@redhat.com>
6
7 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
8 (save_prologue_cache): Ditto.
9
8d1de4b7
EZ
102001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
11
12 From: innadadadavida@yahoo.com:
13 * partial-stab.h (switch): Check that pst is not null
14 before dereferencing it.
15
3017564a
EZ
162001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17
18 From Andrew Cagney <cagney@b1.cygnus.com>:
19 * symfile.c (add_symbol_file_command): Always initialize
20 my_cleanup using a NULL cleanup.
21
fa58ee11
EZ
222001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
23
24 * demangle.c (demangling_style_names): New variable.
25 (_initialize_demangler): Fill demangling_style_names with the
26 names of known demangling styles from libiberty_demanglers[]. Use
27 add_set_enum_cmd instead of add_set_cmd, to get completion on
28 demangling style names.
29
30 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
31 file-name completion.
32
33 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
34
35 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
36 `solib-absolute-prefix'.
37
38 * tracepoint.c (_initialize_tracepoint): Ditto for
39 `save-tracepoints'.
40
41 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
42
43 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
44 file-name completion.
45
46 * infcmd.c (_initialize_infcmd): Make the following commands use
47 the file-name completer: `tty', `args', `path', `paths', and
48 `run'.
49
7830cf6f
EZ
502001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
51
89dea5aa
EZ
52 * go32-nat.c: Include i387-nat.h.
53 (fetch_register): New function, uses some of the guts of
54 go32_fetch_registers and calls i387_supply_register.
55 (go32_fetch_registers): Most of the code moved into
56 fetch_register. Use i387_supply_fsave.
57 (store_register): Use i387_fill_fsave instead of custom code.
58 (go32_store_registers): Use i387_fill_fsave.
59
60 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
61
62 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
63
7830cf6f
EZ
64 * completer.c (gdb_completer_file_name_break_characters): Remove
65 slash from file-name break characters.
66 [__MSDOS__]: Special definition for DOS/Windows file names.
67 (line_completion_function): When completing on file names, bump
68 `p' to the first file-name constituent character of `word', before
69 invoking the completer.
70
f31e928c
MK
712001-02-17 Mark Kettenis <kettenis@gnu.org>
72
73 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
74 consistently for parameter names. Fix comments accordingly.
75 (i387_supply_register): New function.
76 (i387_supply_fsave): Implement using i387_supply_register.
77 * i387-nat.h: Use regnum instead of regno consistently for
78 parameter names. Fix comments accordingly.
79 (i387_supply_register): New prototype.
80
d696208f
MS
812001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
82
83 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
84 instead of TARGET_PTR_BIT (to support Harvard architectures).
85
971429b4
AC
862001-02-16 Andrew Cagney <ac131313@redhat.com>
87
88 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
89 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
90 argument to parameter list and to call in order to conform to
91 to_xfer_memory field of struct target_ops.
92
9ca0e47c
MC
932001-02-12 Michael Chastain <chastain@redhat.com>
94
da7dd56f 95 * somsolib.c (som_solib_add_solib_objfile): Do not use
9ca0e47c
MC
96 section relocation feature of syms_from_objfile. Do my own
97 section relocation, offsetting each section of the som by
98 either text_addr - text_link_addr or data_start.
99
7d65bd2d
AC
1002001-02-16 Andrew Cagney <ac131313@redhat.com>
101
102 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
103
e33e9692
AC
1042001-02-16 Andrew Cagney <ac131313@redhat.com>
105
106 * MAINTAINERS (paper trail): Update.
107
17dee195
MK
1082001-02-16 Mark Kettenis <kettenis@gnu.org>
109
110 * target.h (target_fetch_registers): Fix comment.
111
0f6e1ba6
AC
1122001-02-15 Andrew Cagney <ac131313@redhat.com>
113
114 * f-exp.y: Include <ctype.h>.
115 (parse_number): Ensure that ``i'' is always initialized.
116
d696208f 117>>>>>>> 1.966
9a069618
JK
1182001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
119
120 * MAINTAINERS: Add myself to paper trail section.
121
fc24370e
MS
1222001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
123
124 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
125 * configure, config.in: Regenerate.
126 * corelow.c: Include <sys/file.h> if present.
127
4b69c284
AC
1282001-02-14 Andrew Cagney <ac131313@redhat.com>
129
130 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
131 declare when have SIGTTOU.
132
7904f322
EZ
1332001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
134
135 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
136
9e798668
JK
1372001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
138
139 * MAINTAINERS: Update my email address.
140
65d5a54a
EZ
1412001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
142
143 * NEWS: Document that "info symbol" works with COFF debug info and
144 its variants.
145
146 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
147 symbols whose SYMBOL_BFD_SECTION is NULL.
148
a8079a9b
PS
1492000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
150
151 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
152 * xcoffsolib.c (xcoff_solib_address): Renamed from
153 pc_load_segment_name. Return NULL if address is not in a shared
154 library. Cleanup shared library name construction, using xasprintf.
155 Format shared library member names consistent with format in exec.c.
156 (solib_info): Format shared library member names consistent with
157 format in exec.c.
158 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
159 using xcoff_solib_address for PC_SOLIB definition.
160 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
161 needed.
162
4b2e4867
PS
1632000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
164
165 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
166 with xmalloc calls and cleanups.
167
d737ece6
PS
1682000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
169
170 * rs6000-nat.c (child_xfer_memory): Add missing parameter
171 'struct mem_attrib *' required by 2001-01-23 change.
172
c5bb1243
JK
1732001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
174
175 Updates to "make TAGS":
176 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
177 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
178 tahoe-tdep.c.
179 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
180
c799ae7b
EZ
1812001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
182
183 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
184
12685e01
AC
185Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
186
187 From Dean Luick <luick@cray.com>:
188 * defs.h (continuation): Remove unused global variable.
189
7fcca85b
AC
190Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
191
192 * configure.tgt: Remove references to convex, pyramid, altos and
193 tahoe.
194 * configure.host: Ditto.
195 * MAINTAINERS: Ditto.
196 * NEWS: Update.
197
198 * tahoe-tdep.c: Delete obsolete file.
199 * pyr-xdep.c: Ditto.
200 * pyr-tdep.c: Ditto.
201 * convex-tdep.c: Ditto.
202 * convex-xdep.c: Ditto.
203 * config/tahoe/xm-tahoe.h: Ditto.
204 * config/tahoe/tm-tahoe.h: Ditto.
205 * config/tahoe/tahoe.mt: Ditto.
206 * config/tahoe/tahoe.mh: Ditto.
207 * config/pyr/xm-pyr.h: Ditto.
208 * config/pyr/tm-pyr.h: Ditto.
209 * config/pyr/pyramid.mt: Ditto.
210 * config/pyr/pyramid.mh: Ditto.
211 * config/m68k/xm-altos.h: Ditto.
212 * config/m68k/tm-altos.h: Ditto.
213 * config/m68k/altos.mt: Ditto.
214 * config/m68k/altos.mh: Ditto.
215 * config/convex/xm-convex.h: Ditto.
216 * config/convex/tm-convex.h: Ditto.
217 * config/convex/convex.mt: Ditto.
218 * config/convex/convex.mh: Ditto.
219 * config/convex/Convex.notes: Ditto.
220 * config/arm/xm-arm.h: Ditto.
221 * config/arm/nm-arm.h: Ditto.
222 * config/arm/arm.mt: Ditto.
223 * config/arm/arm.mh: Ditto.
224 * arm-convert.s: Ditto.
225 * arm-xdep.c: Ditto.
226 * altos-xdep.c: Ditto.
227
8e65ff28
AC
228Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
229
230 * defs.h (internal_error, internal_verror): Add __FILE__ and
231 __LINE__ parameter.
232 * utils.c (internal_error, internal_verror): Update.
233
234 * v850-tdep.c: Update calls to internal_error.
235 * utils.c: Ditto.
236 * ui-out.c: Ditto.
237 * ui-file.c: Ditto.
238 * target.h: Ditto.
239 * symtab.h: Ditto.
240 * symm-nat.c: Ditto.
241 * sparc-tdep.c: Ditto.
242 * source.c: Ditto.
243 * serial.c: Ditto.
244 * rs6000-tdep.c: Ditto.
245 * rs6000-nat.c: Ditto.
246 * remote.c: Ditto.
247 * remote-vx.c: Ditto.
248 * remote-sim.c: Ditto.
249 * remote-mips.c: Ditto.
250 * regcache.c: Ditto.
251 * objfiles.h: Ditto.
252 * objfiles.c: Ditto.
253 * mn10300-tdep.c: Ditto.
254 * mips-tdep.c: Ditto.
255 * maint.c: Ditto.
256 * m68k-tdep.c: Ditto.
257 * m3-nat.c: Ditto.
258 * language.c: Ditto.
259 * infptrace.c: Ditto.
260 * inferior.h: Ditto.
261 * infcmd.c: Ditto.
262 * ia64-tdep.c: Ditto.
263 * i386-tdep.c: Ditto.
264 * i386-linux-nat.c: Ditto.
265 * hppah-nat.c: Ditto.
266 * go32-nat.c: Ditto.
267 * findvar.c: Ditto.
268 * f-lang.c: Ditto.
269 * elfread.c: Ditto.
270 * event-loop.c: Ditto.
271 * dwarf2read.c: Ditto.
272 * dsrec.c: Ditto.
273 * d30v-tdep.c: Ditto.
274 * d10v-tdep.c: Ditto.
275 * cli/cli-setshow.c: Ditto.
276 * cli/cli-script.c: Ditto.
277 * ch-exp.c: Ditto.
278 * breakpoint.c: Ditto.
279 * ax-gdb.c: Ditto.
280 * arch-utils.c: Ditto.
281 * a29k-tdep.c: Ditto.
282 * gdb_assert.h: Ditto.
283 * gdbarch.sh: Ditto.
284 * gdbarch.h, gdbarch.c: Re-generate.
285
72290732
AC
2862001-02-07 Andrew Cagney <ac131313@redhat.com>
287
288 From Mark Kettenis <kettenis@gnu.org>:
289 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
290
a6da1910
AC
2912001-02-07 Andrew Cagney <ac131313@redhat.com>
292
293 * remote-sim.c (dump_mem): Cleanup printf format argument.
294 * MAINTAINERS: Update, mn10300-elf now builds.
295
153f9905
MK
2962001-02-07 Mark Kettenis <kettenis@gnu.org>
297
298 * event-top.c: Remove duplicate #include <signal.h>.
299
f042532c
AC
3002001-02-06 Andrew Cagney <ac131313@redhat.com>
301
302 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
303 allocated buffer.
304 (save_inferior_pid): Restore the PID from that tempoary
305 buffer. Delete the buffer.
306 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
307
58cfabe6
AC
3082001-02-06 Andrew Cagney <ac131313@redhat.com>
309
310 * MAINTAINERS: Add ``The Obvious Fix Rule''.
311
ea8a41b8
AC
3122001-02-06 Andrew Cagney <ac131313@redhat.com>
313
314 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
315
95160752
AC
3162001-02-06 Andrew Cagney <ac131313@cygnus.com>
317
318 * gdbarch.sh: Include "gdb_assert.h".
319 (struct gdbarch): Change ``nr_data'' to unsigned.
320 (alloc_gdbarch_data, free_gdbarch_data): New functions.
321 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
322 architecture vector.
323 (struct gdbarch_data, struct gdbarch_data_registration): Move init
324 method to gdbarch_data. Add free method, make index unsigned.
325 (struct gdbarch_data_registry): Make nr unsigned.
326 (register_gdbarch_data): Add free parameter. Store in
327 gdbarch_data.
328 (init_gdbarch_data): Use set_gdbarch_data.
329 (set_gdbarch_data): New function.
330
331 * gdbarch.h, gdbarch.c: Re-generate.
332
64122a8b
MS
3332001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
334
335 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
336 fprintf_filtered with correct arguments.
337
e6cbd02a
MS
3382001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
339 Submitted by Paul Hilfinger (hilfingr@gnat.com)
340 and Andrei Petrov (and@genesyslab.com).
341 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
342 must be allocated dynamically, since these are no longer constants.
343 * infcmd.c: Ditto.
344 * regcache.c: Ditto.
345 * remote.c: Ditto.
346 * sol-thread.c: Ditto.
347 * valops.c: Ditto.
348 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
349 work-around for a missing Sun header file in solaris for sparc64.
350
713f0374
PB
3512001-02-04 Philip Blundell <philb@gnu.org>
352
353 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
354 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
355 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
356 GET_THREAD_SIGNALS): Define.
357 * arm-linux-nat.c (fill_gregset): Correct type of argument.
358 (supply_gregset): Likewise.
359 (fill_fpregset): Likewise.
360 (supply_fpregset): Likewise.
361
4603e466
DT
362Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
363
364 * valops.c (value_cast): If casting a scalar to a pointer, do not
365 issue a message about truncation unless it exceeds the length of
366 an address, not the length of a pointer. This is because what the
367 user gives us is an address, not a pointer, and we will ultimately
368 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
369 to a pointer. This allows things like "print *(int *)0x01000234"
370 to work without generating a misleading message on a target having
371 two byte pointers and four byte addresses.
372
554cb486
CF
3732001-02-05 Christopher Faylor <cgf@cygnus.com>
374
375 * win32-nat.c: Change PTR to void * throughout.
376
042be3a9
C
3772001-02-05 J.T. Conklin <jtc@redback.com>
378
379 * signals.h: Removed.
380 * event-top.c (#include <signal.h>): Changed from signals.h.
381 * inflow.c: Likewise.
382 * mac-xdep.c: Likewise.
383 * ser-pipe.c: Likewise.
384 * ser-tcp.c: Likewise.
385 * standalone.c: Likewise.
386 * top.c: Likewise.
387 * utils.c: Likewise.
388 * Makefile.in: Removed signals.h from dependencies.
389
a4acd088
CF
3902001-02-05 Christopher Faylor <cgf@cygnus.com>
391
392 Change suggested by Dean Luick <luick@cray.com>
393 * inferior.h (step_over_calls_kind): Remove trailing comma from
394 last enum element.
395 (step_over_calls): Declare as extern rather than global.
396
3116c80a
EZ
3972001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
398
399 * sh-tdep.c: Update copyright.
400 (sh_extract_return_value): Rewrite.
401 (sh3e_sh4_extract_return_value): New function.
402 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
403 version of the function for sh3e and sh4 CPUs.
404
240be855
MC
4052001-02-05 Michael Chastain <chastain@redhat.com>
406
407 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
408 to conform with interface change.
409
a17b5c4e
EZ
4102001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
411
32fe0950
EZ
412 * config/djgpp/fnchange.lst: Tweak to make consistent with the
413 new files.
414
619cbaf7
EZ
415 * config/djgpp/djconfig.sh: Use explicit absolute file name when
416 invoking `find'.
417
cd42d3a8
EZ
418 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
419 UART_FIFO_WORKS is defined. Otherwise use outportb.
420 From Francisco Pastor <fpastor.etra-id@etra.es>
421
a17b5c4e
EZ
422 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
423 with target.h's `to_xfer_memory' member.
424
86ddecc5
C
4252001-02-02 J.T. Conklin <jtc@redback.com>
426
427 * ppc-bdm.c (#include <signal.h>): Removed.
428 * remote-array.c: Likewise.
429 * remote-bug.c: Likewise.
430 * remote-e7000.c: Likewise.
431 * remote-mips.c: Likewise.
432 * remote-os9k.c: Likewise.
433 * remote-st.c: Likewise.
434 * remote-udi.c: Likewise.
435 * remote-vx29k.c: Likewise.
436 * remote-vx68.c: Likewise.
437 * remote-vx960.c: Likewise.
438 * remote-vxmips.c: Likewise.
439 * remote-vxsparc.c: Likewise.
440
338d7c5c
JM
4412001-02-02 John Moore <jmoore@redhat.com>
442
443 * remote-utils.h (sr_set_device): Changed free() to xfree() where
444 appropriate. Also changed Copyright to include 2001.
445 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
446 * value.h (value_free): Likewise.
447 * gdbarch.sh (gdbarch_free): Likewise.
448 * gdbarch.c, gdbarch.h: Regenerated.
449
2b5436af
JM
4502001-02-02 John Moore <jmoore@redhat.com>
451
452 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
338d7c5c 453 xfree(). Also changed Copyright to include 2001.
2b5436af 454
82467003
C
4552001-02-02 J.T. Conklin <jtc@redback.com>
456
457 * monitor.c (#include "gdb_wait.h"): Removed.
458 * ocd.c: Likewise.
459 * ppc-bdm.c: Likewise.
460 * remote-adapt.c: Likewise.
461 * remote-array.c: Likewise.
462 * remote-bug.c: Likewise.
463 * remote-e7000.c: Likewise.
464 * remote-eb.c: Likewise.
465 * remote-es.c: Likewise.
466 * remote-mips.c: Likewise.
467 * remote-mm.c: Likewise.
468 * remote-nindy.c: Likewise.
469 * remote-os9k.c: Likewise.
470 * remote-rdi.c: Likewise.
471 * remote-rdp.c: Likewise.
472 * remote-sds.c: Likewise.
473 * remote-sim.c: Likewise.
474 * remote-st.c: Likewise.
475 * remote-udi.c: Likewise.
476 * remote-vx.c: Likewise.
477 * remote-vx29k.c: Likewise.
478 * remote-vx68.c: Likewise.
479 * remote-vx960.c: Likewise.
480 * remote-vxmips.c: Likewise.
481 * remote-vxsparc.c: Likewise.
482 * remote.c: Likewise.
483 * ser-pipe.c: Likewise.
484 * ser-unix.c: Likewise.
485 * Makefile.in: Updated dependencies.
486
27b82ed2
DS
4872001-01-31 David Smith <dsmith@redhat.com>
488
489 * event-loop.c: Change inclusion of string.h to gdb_string.h and
490 updated the copyright notice.
491 * ser-pipe.c: Ditto.
492 * mi/mi-cmds.c: Ditto.
493 * mi/mi-console.c: Ditto.
494 * mi/mi-getopt.c: Ditto.
495 * mi/mi-parse.c: Ditto.
496
ab9cc815
DS
4972001-01-31 David Smith <dsmith@redhat.com>
498
499 * MAINTAINERS: Add David Smith to Write After Approval list.
500
d1f4cff8
AC
501Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
502
503 * cli/cli-utils.c (putchar_filtered): Move function from here.
504 * utils.c (putchar_filtered): To here.
505 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
506 * defs.h (putchar_filtered): To here.
507
74c1b268
AC
508Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
509
510 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
511 AC_FUNC_VFORK macro.
512 * config.in, configure: Re-generate.
513
514 * gdb_vfork.h: New file.
515 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
516 * fork-child.c (fork_inferior): Ditto.
517
4fcf66da
AC
518Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
519
520 * defs.h (strsave): Delete declaration.
521 * utils.c (strsave): Delete definition.
522 * TODO (strsave): Update
523
524 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
525 * sparcl-tdep.c (sparclite_open): Ditto.
526 * mips-tdep.c (mips_set_processor_type_command): Ditto.
527 (_initialize_mips_tdep): Ditto.
528 * solib.c (solib_open): Ditto.
529 * symfile.c (add_filename_language): Ditto.
530 (set_ext_lang_command): Ditto.
531 * source.c (init_source_path): Ditto.
532 (mod_path): Ditto.
533 * sh3-rom.c (sh3_open): Ditto.
534 (sh3e_open): Ditto.
535 * serial.c (serial_open): Ditto.
536 * remote-mips.c (common_open): Ditto.
537 * monitor.c (monitor_open): Ditto.
538 * m32r-rom.c (m32r_upload_command): Ditto.
539 * infcmd.c (path_command): Ditto.
540 * f-exp.y (parse_number): Ditto.
541 * breakpoint.c (create_longjmp_breakpoint): Ditto.
542 (create_thread_event_breakpoint): Ditto.
543 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
544 (_initialize_arc_tdep): Ditto.
545
e191e0ab
AC
546Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
547
548 * cli/cli-script.c (define_command): Check for a bad hook value in
549 switch statement.
550
10214f55
C
5512001-01-30 J.T. Conklin <jtc@redback.com>
552
553 * configure/sh/embed.mt: New file.
554 * configure/sh/linux.mt: New file.
555 * configure/sh/sh.mt: Removed.
556 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
557 (sh-*-*): Removed.
558
c9049fc9
MC
5592001-01-29 Michael Chastain <chastain@redhat.com>
560
561 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
562 symbol comparisons in binary search.
563
aea02b6b
CF
5642000-01-27 Christopher Faylor <cgf@cygnus.com>
565
566 * win32-nat.c (child_xfer_memory): Add missing argument required by
567 2001-01-23 change.
568
e6e0bfab
MK
5692001-01-27 Mark Kettenis <kettenis@gnu.org>
570
571 * ui-out.c (do_list_end): New function.
572 (make_cleanup_ui_out_list_end): New function.
573 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
574 * stack.c (print_frame) [UI_OUT]: Call
575 make_cleanup_ui_out_list_end to make sure we mark the end of the
576 list if we do a non-local exit. At the end of the function,
577 instead of calling ui_out_list_end directly, let do_cleanups
578 handle it.
579
1adeb98a
FN
5802001-01-26 Fernando Nasser <fnasser@redhat.com>
581
582 Fix double parsing of filenames passed as command line arguments
583 to GDB (causes weird handling of escape characters).
584 Also, remove dependencies on the CLI from libgdb.
585 * call-cmds.h: Remove declaration of exec_file_command().
586 * gdbcore.h: Remove declaration of exec_file_command().
587 Add declarations for exec_open() and exec_file_clear().
588 * symfile.h: Add declarations for symbol_file_add_main() and
589 symbol_file_clear().
590 * exec.c (exec_open): New function. Implements to_open for exec
591 targets.
592 (exec_file_clear): New function. Makes GDB forget about a previously
593 specified executable file.
594 (exec_file_attach): Move parsing of arguments from here ...
595 (exec_file_command): ... to here.
596 (init_exec_ops): Use exec_open(), not exec_file_command() to
597 implement to_open for exec targets.
598 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
599 with default values. Used when the file name has already been parsed.
600 (symbol_file_clear): New function. Makes GDB forget about previously
601 read symbols.
602 (symbol_file_command): Call the above function instead of inline code.
603 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
604 "call-cmds.h".
605 (captured_main): Call exec_file_attach() and symbol_file_add_main()
606 instead of exec_file_command() and symbol_file_command().
607 (captured_main): Add comment.
608 * corefile.c: Include "symfile.h".
609 (core_file_command): Call symbol_file_add_main() instead of
610 symbol_file_command().
611 (reopen_exec_file): Call exec_open() instead of exec_file_command().
612 * infcmd.c: Include "symfile.h".
613 (attach_command): Call symbol_file_add_main() instead of
614 symbol_file_command().
615 * infrun.c: Remove comment about the inclusion of "symfile.h",
616 not any longer appropriate.
617 (follow_exec): Call symbol_file_add_main() instead of
618 symbol_file_command().
619 * remote-es.c: Include "symfile.h".
620 (es1800_load): Call symbol_file_add_main() instead of
621 symbol_file_command().
622 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
623 not any longer appropriate.
624 (vx-wait): Call symbol_file_add_main() instead of
625 symbol_file_command().
626 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
627 instead of symbol_file_command().
628 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
629 symbol_file_add_main() instead of exec_file_command() and
630 symbol_file_command().
631 * Makefile.in: Update dependencies.
632
5b616ba1
JH
6332001-01-26 Jeff Holcomb <jeffh@redhat.com>
634
635 * remote-udi.c (udi_open): Change strdup to xstrdup.
636 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
637 Update copyright message.
638 * varobj.c (delete_variable_1): Likewise.
639
640 * gdb_string.h: Remove declaration of strdup. Update copyright
641 message.
642 * config/xm-mpw.h: Likewise.
643 * config/i386/xm-i386mach.h: Likewise.
644 * config/m68k/xm-apollo68b.h: Likewise.
645 * config/m68k/xm-hp300bsd.h: Likewise.
646 * config/rs6000/xm-rs6000.h: Likewise.
647 * config/vax/xm-vaxult.h: Remove declaration of strdup.
648 * config/vax/xm-vaxult2.h: Likewise.
649
b91d87cf
JH
6502001-01-26 Jeff Holcomb <jeffh@redhat.com>
651
652 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
653
873406a6
C
6542001-01-25 J.T. Conklin <jtc@redback.com>
655
656 * target.c (target_xfer_memory_partial): Return -1 on failure due
657 to invalid access mode attribute.
658
0613c401
CF
6592001-01-25 Christopher Faylor <cgf@cygnus.com>
660
661 * win32-nat.c (_initialize_core_win32): Prototype correctly.
662
efd59e3f
MK
6632001-01-25 Mark Kettenis <kettenis@gnu.org>
664
665 * config/alpha/tm-fbsd.h: Update copyright.
666 (USE_STRUCT_CONVENTION): Define in terms of
667 alphabsd_use_struct_convention.
668 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
669 * alphafbsd-tdep.c: New file.
670
388e1ff2
FN
6712001-01-24 Fernando Nasser <fnasser@redhat.com>
672
673 * top.c (print_gdb_version): Update Copyright year.
674
f4d650ec
C
6752001-01-24 J.T. Conklin <jtc@redback.com>
676
677 * dcache.c (dcache_write_line): Fix typo.
678
679 * memattr.c (delete_mem_region): Replace free() with xfree().
680 (mem_number): Add explicit type.
681
682 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
683 (rw_common): Likewise.
684
07091751
FN
6852001-01-24 Fernando Nasser <fnasser@redhat.com>
686
687 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
688 for the inferior program arguments.
689 (run_command, run_no_args_command, init_infcmd)): Use accessor
690 functions to set the inferior program arguments.
691 * inferior.h: Add definitions to the accessor functions above.
692
090c42a4
JB
6932001-01-23 Jim Blandy <jimb@redhat.com>
694
695 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
696 Implement these correctly, using make_cv_type.
697
f29d9b6d 6982001-01-23 J.T. Conklin <jtc@redback.com>
29e57380
C
699
700 * exec.c (xfer_memory): Add attrib argument.
701 * infptrace.c (child_xfer_memory): Likewise.
e5da8f38 702 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
29e57380
C
703 * monitor.c (monitor_xfer_memory): Likewise.
704 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
705 * remote-array.c (array_xfer_memory): Likewise.
706 * remote-bug.c (bug_xfer_memory): Likewise.
707 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
708 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
709 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
710 * remote-mips.c (mips_xfer_memory): Likewise.
711 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
712 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
713 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
714 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
715 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
716 * remote-sds.c (sds_xfer_memory): Likewise.
717 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
718 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
719 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
720 * remote-vx.c (vx_xfer_memory): Likewise.
721 * remote.c (remote_xfer_memory): Likewise.
722 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
723 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
e5da8f38 724 * thread-db.c (thread_db_xfer_memory): Likewise.
29e57380
C
725
726 * target.h (#include "memattr.h"): Added.
727 (target_ops.to_xfer_memory): Add attrib argument.
728
729 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
730 * dcache.h (set_dcache_state): Removed declaration.
731 * dcache.c (set_dcache_state): Removed definition
732
733 * dcache.c: Update module comment, as dcache is now enabled and
734 disabled with memory region attributes instead of by the global
735 variable "remotecache". Add comment describing the interaction
736 between dcache and memory region attributes.
737 (dcache_xfer_memory): Add comment describing benefits of moving
738 cache writeback to a higher level.
739 (dcache_struct): Removed cache_has_stuff field. This was used to
740 record whether the cache had been accessed in order to invalidate
741 it when it was disabled. However, this is not needed because the
742 cache is write through and the code that enables, disables, and
743 deletes memory regions invalidate the cache. Add comment which
744 suggests that we could be more selective and only invalidate those
745 cache lines containing data from those memory regions.
746 (dcache_invalidate): Updated.
747 (dcache_xfer_memory): Updated.
f29d9b6d 748
29e57380
C
749 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
750 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
751 perform a uncached transfer if dcache_enabled_p was clear. This
752 function is now only called if caching is enabled for the memory
753 region.
754 (dcache_info): Always print cache info.
755
756 * target.c (do_xfer_memory): Add attrib argument.
757 (target_xfer_memory, target_xfer_memory_partial): Break transfer
758 into chunks defined by memory regions, pass region attributes to
759 do_xfer_memory().
760 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
761
762 * Makefile.in (SFILES): Add memattr.c.
763 (COMMON_OBS): Add memattr.o.
764 (dcache.o): Add target.h to dependencies.
765 * memattr.c: New file.
766 * memattr.h: Likewise.
767
f29d9b6d
C
768 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
769 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
770 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
771 * gdbserver/low-sim.c (#include "defs.h"): Removed.
772 (mygeneric_load): Rename from generic_load.
773
774 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
775 (#include "defs.h"): Removed.
776 (inferior_pid, perror_with_name): Remove declarations.
777 * gdbserver/low-linux.c: Likewise.
778 * gdbserver/low-nbsd.c: Likewise.
779 * gdbserver/low-sparc.c: Likewise.
780 * gdbserver/low-sun3.c: Likewise.
781
782 * i386-stub.c: Re-indent.
783 * m68k-stub.c: Re-indent.
784
58d5518e
ND
7852001-01-22 Nicholas Duffek <nsd@redhat.com>
786
787 * gdbarch.sh (PARM_BOUNDARY): Define.
788 * gdbarch.c: Regenerate.
789 * gdbarch.h: Regenerate.
790
f6427ade
C
7912001-01-22 J.T. Conklin <jtc@redback.com>
792
793 * ns32k-tdep.c: #include "frame.h"
794 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
795 appears to have been inadvertantly removed sometime in May 1999.
796
797 * Revert 2000-11-09 changes where shared library objects were
798 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
799 we'd like to be able to debug dynamically linked executables,
800 this makes it impossible to build a cross debugger on a many
801 hosts.
802
803 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
804 * config/i386/nbsdelf.mt: Likewise.
805 * config/m68k/nbsd.mt: Likewise.
806 * config/ns32k/nbsd.mt: Likewise.
807 * config/powerpc/nbsd.mt: Likewise.
808 * config/sparc/nbsd.mt: Likewise.
809 * config/sparc/nbsdelf.mt: Likewise.
810 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
811 * config/i386/nbsdelf.mh: Likewise.
812 * config/m68k/nbsd.mh: Likewise.
813 * config/ns32k/nbsd.mh: Likewise.
814 * config/powerpc/nbsd.mh: Likewise.
815 * config/sparc/nbsd.mh: Likewise.
816
8052a17a
JM
8172001-01-19 Jason Merrill <jason@redhat.com>
818
819 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
820 (process_one_symbol): Likewise.
821 * dwarfread.c (handle_producer): Likewise.
822
21a6f6bb
AC
823Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
824
825 * configure.in (build_warnings): Disable -Wuninitialized until GDB
826 compiles with -Wuninitialized,-Werror.
827 * configure: Regenerate.
828
829 * MAINTAINERS: Add list of buildable targets.
830
494b7ec9
AC
831Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
832
833 * defs.h (STRCMP): Delete macro.
834
835 * objfiles.c (objfile_relocate): Replace STRCMP with call to
836 strcmp.
837 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
838 * symfile.c (compare_symbols): Ditto.
839 * standalone.c (open): Ditto.
840 * remote-es.c (verify_break): Ditto.
841 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
842
843 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
844
8038e1e2
AC
845Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
846
847 * varobj.c (FREEIF): Delete macro.
848 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
849 call.
850
ea8d0b28
NC
8512001-01-18 Nick Clifton <nickc@redhat.com>
852
853 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
854 (arc_print_insn): No bfd available, so pass NULL to
855 arc_get_disassembler.
856
5dbd9048
JB
8572001-01-09 James Ingham <jingham@inghji.apple.com>
858
859 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
860 a mangled symbol rather than recursing into lookup_symbol, since
861 this will just re-unmangle the name & call lookup_symbol_aux -
862 leading to an infinite recursion.
863
28ae27b1
MK
8642001-01-18 Mark Kettenis <kettenis@gnu.org>
865
866 * infcmd.c (print_return_value): Restore another space lost by
867 switch to UIOUT. ``$NN='' should be ``$NN =''.
868
6ab3a9c9
AC
869Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
870
871 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
872 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
873 definition in parenthesis.
874
ad6525fc
AC
875Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
876
877 From 2000-10-27 Mark Salter <msalter@redhat.com>:
878 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
879 packet.
880 (remote_insert_hw_breakpoint): Ditto.
881
6259c7e2
C
8822001-01-17 J.T. Conklin <jtc@redback.com>
883
884 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
9c95b27f 885 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
6259c7e2
C
886 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
887 * m68knbsd-tdep.c: New file.
888
889 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
890
891 * m68knbsd-nat.c: #include gdbcore.h.
892
abdcb2a5
AC
893Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
894
895 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
896
e7a8479f
MS
8972001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
898
aaeb7efa
MS
899 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
900 goes away -- just return false (ie. not stopped by watchpoint).
e7a8479f
MS
901 * source.c (openp): Fix typo in comment.
902
7036d6ce
ND
9032001-01-12 Nicholas Duffek <nsd@redhat.com>
904
905 * blockframe.c (generic_get_saved_register): Spelling fix.
906 * frame.h (FRAME_FP): Spelling fix.
907
9549d9c1
AC
908Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
909
910 * infcmd.c (print_return_value): Restore space lost by switch to
911 UIOUT. ``$NN='' should be ``$NN =''.
912
7302a204
ND
9132001-01-08 Nicholas Duffek <nsd@redhat.com>
914
915 * regcache.c (set_register_cached, register_buffer,
916 real_register, pseudo_register fetch_register, store_register):
917 New functions.
918 (register_changed, read_relative_register_raw_bytes_for_frame,
919 registers_changed, registers_fetched, read_register_bytes,
920 read_register_gen, write_register_gen, read_register,
921 read_signed_register, write_register, supply_register): Replace
922 register_valid[] with register_cached() and
923 set_register_cached().
924 (read_register_bytes, read_register_gen, write_register_gen,
925 read_register, read_signed_register, write_register,
926 supply_register): Replace registers[] with register_buffer().
927 (read_register_bytes, read_register_gen, read_register,
928 read_signed_register): Call fetch_register().
929 (write_register_gen, write_register): Call real_register() and
930 store_register().
931 (write_register_bytes): Call store_register().
932 * value.h (set_register_cached, register_buffer): Prototype.
933 * remote.c (remote_fetch_registers): Allocate regs[] with a
934 run-time size. Replace register_valid[] with
935 set_register_cached().
936 (store_register_using_P, remote_store_registers): Replace
937 registers[] with register_buffer().
938
5ebd2499
ND
9392001-01-08 Nicholas Duffek <nsd@redhat.com>
940
941 * regcache.c: Change "write-back" comment to "write-through".
942 Change "regno" to "regnum".
943 (read_register, read_signed_register): Remove "raw" from return
944 value description.
945 (supply_register): Spelling fix.
946 * value.h: Change "regno" to "regnum".
947
1302fd5e
FN
9482001-01-08 Fernando Nasser <fnasser@redhat.com>
949
950 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
951 to be installed.
952
9dcb560c
MS
9532001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
954
955 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
956
0e2fb98e
ND
9572001-01-04 Nicholas Duffek <nsd@redhat.com>
958
959 * valops.c (VALUE_SUBSTRING_START): Delete.
960
12cf3f1b
ND
9612001-01-04 Nicholas Duffek <nsd@redhat.com>
962
963 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
964 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
965 (cli_utils_h): New variable.
966 (cli/cli-utils.o): New rule.
967 * cli/cli-utils.c: New file.
968 * cli/cli-utils.h: New file.
969
cc533b9d
ND
9702001-01-04 Nicholas Duffek <nsd@redhat.com>
971
972 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
973 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
974
ad2a4d09
C
9752001-01-03 J.T. Conklin <jtc@redback.com>
976
977 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
978 comment.
979
8140e7ac
MS
9802001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
981
3116c80a
EZ
982 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
983 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
d19b71be 984 non-float types.
779e876b 985 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
72e22353
MS
986 Update copyright notice.
987
15f33b66 988For older changes see ChangeLog-2000
c906108c
SS
989\f
990Local Variables:
991mode: change-log
992left-margin: 8
993fill-column: 74
994version-control: never
995End:
This page took 0.210231 seconds and 4 git commands to generate.