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