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