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