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