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