Replace calls to abort() with calls to internal_error().
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
e1e9e218
KB
12001-02-24 Kevin Buettner <kevinb@redhat.com>
2
3 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
4 with call to internal_error().
5 * dbxread.c (process_one_symbol): Likewise.
6 * exec.c (build_section_table, xfer_memory): Likewise.
7 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
8 Likewise.
9 * hpread.c (hpread_type_translate, hpread_read_array_type)
10 (hpread_type_lookup): Likewise.
11 * i386-tdep.c (gdb_print_insn_i386): Likewise.
12 * i960-tdep.c (mem): Likewise
13 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
14 * infptrace.c (child_resume): Likewise.
15 * infttrace.c (_initialize_infttrace): Likewise.
16 * language.c (binop_result_type, add_language): Likewise.
17 * lynx-nat.c (store_inferior_registers): Likewise.
18 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
19 * mdebugread.c (parse_partial_symbols): Likewise.
20 * monitor.c (monitor_printf_noecho, monitor_printf)
21 (monitor_dump_regs): Likewise.
22 * ocd.c (stu_put_packet): Likewise.
23 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
24 * remote-bug.c (bug_open): Likewise.
25 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
26 * remote-es.c (es1800_read_bytes): Likewise.
27 * remote-mips.c (common_breakpoint): Likewise.
28 * remote-rdp.c (send_rdp): Likewise.
29 * remote-sds.c (putmessage): Likewise.
30 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
31 Likewise.
32 * sparcl-tdep.c (sparclite_download): Likewise.
33 * symtab.c (lookup_partial_symbol): Likewise.
34 * target.c (push_target, pop_target, initialize_targets): Likewise.
35 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
36 Likewise.
37 * valprint.c (print_decimal, print_longest, print_longest)
38 (strcat_longest): Likewise.
39 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
40 * xmodem.c (xmodem_send_packet): Likewise.
41 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
42 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
43 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
44 (STORE_RETURN_VALUE): Likewise.
45 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
46 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
47 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
48 Likewise.
49
17fceda3
AC
502001-02-23 Andrew Cagney <ac131313@redhat.com>
51
2126d5fb
AC
52 * CONTRIBUTE: Document how to cite a problem report.
53 * TODO: Note need to replace CONTRIBUTE with generated file.
54
17fceda3
AC
55 * CONTRIBUTE: Mention that patches do not need to include the
56 generated files gdbarch.h and gdbarch.c.
57
60edd51d
AC
582001-02-21 Andrew Cagney <ac131313@redhat.com>
59
60 * value.h (get_saved_register): Move from here.
61 * frame.h: To here.
62
d7fa2ae2
KB
632001-02-21 Kevin Buettner <kevinb@redhat.com>
64
65 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
66 (in_solib_dynsym_resolve_code): Add declaration.
67 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
68 in_solib_dynsym_resolve_code() rather than
69 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
70 which caused this macro to only be defined when
71 SVR4_SHARED_LIBS is defined.
72 * solib.c (in_solib_dynsym_resolve_code): New function.
73 * solist.h (struct target_so_ops): Add new member
74 in_dynsym_resolve_code.
75 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
76 in_svr4_dynsym_resolve_code. Also, made static.
77 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
78 member in aix5_so_ops.
79 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
80 in_svr4_dynsym_resolve_code. Also, added second version
81 of this function which will be used when SVR4_SHARED_LIBS
82 is not defined.
83 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
84 member in svr4_so_ops.
85
86 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
87 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
88 config/ia64/xm-aix.h: New files.
89 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
90 (ia64_aix_sigcontext_register_address): New declaration.
aacc1edd 91 (ia64_gdbarch_init): Provide for initialization of
d7fa2ae2
KB
92 sigcontext_register_address member of struct tdep when
93 on target is detected to be running AIX.
94 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
95 this list.
96
fbad0893
KB
972001-02-20 Kevin Buettner <kevinb@redhat.com>
98
99 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
100 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
101 for thread support instead of linux-thread.o and lin-thread.o.
102 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
103 ATTACH_LWP): Define to use the following lin-lwp.c functions...
104 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
105 lin_lwp_attach_lwp): Declare.
106
1adad886
AC
1072001-02-20 Andrew Cagney <ac131313@redhat.com>
108
109 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
110 formatting.
111
0579d647
KB
1122001-02-20 Kevin Buettner <kevinb@redhat.com>
113
114 * solib-aix5.c (solib-svr4.h): Remove include.
115 (solib_break_names): Delete names which aren't actually
116 used by AIX5.
117 (bkpt_names): Remove.
118 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
119 to STREQ() with equivalent calls to strcmp().
120 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
121 aix5_solib_create_inferior_hook): Revise comments.
122 (enable_break): Remove old ``bkpt_names'' code.
123
d65fe839
AC
1242001-02-19 Andrew Cagney <ac131313@redhat.com>
125
126 * Makefile.in (SFILES): Add frame.c .
127 (COMMON_OBS): Add frame.o .
128 (frame.o): New target.
129
130 * frame.c (find_saved_register):
131 (default_get_saved_register):
132 (get_saved_register):
133 (read_relative_register_raw_bytes_for_frame):
134 (read_relative_register_raw_bytes): Moved to here.
135 * regcache.c: From here.
136
60cf7a85
KB
1372001-02-20 Kevin Buettner <kevinb@redhat.com>
138
139 * solib-aix5.c: New file.
140
291b7e04
MH
1412001-02-20 Martin M. Hunt <hunt@redhat.com>
142
a43ad351
MH
143 * solib.c (info_sharedlibrary_command): Don't assume pointers
144 are the same size of long, call longest_local_hex_string_custom().
145
58bc91c9
MH
146 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
147 extract_signed_integer() should be called instead of
148 extract_address().
149
1502001-02-20 Martin M. Hunt <hunt@redhat.com>
151
291b7e04
MH
152 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
153
d02ee681
AC
1542001-02-19 Andrew Cagney <ac131313@redhat.com>
155
156 Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
157 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
158 then floating point registers are 8 bytes.
159
a858089e
MS
1602001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
161
162 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
163 accomodate 64-bit addresses.
164
23cc649f
EZ
1652001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
166
167 From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
168 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
169 lookup_symbol, when trying to find a symbol with a mangled name,
170 to avoid infinite recursion.
171
0db23c95
AC
1722001-02-18 Andrew Cagney <ac131313@redhat.com>
173
174 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
175
911413e6
JL
1762001-02-19 Jonathan Larmour <jlarmour@redhat.com>
177
178 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
179 (save_prologue_cache): Ditto.
180
8d1de4b7
EZ
1812001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
182
183 From: innadadadavida@yahoo.com:
184 * partial-stab.h (switch): Check that pst is not null
185 before dereferencing it.
186
3017564a
EZ
1872001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
188
189 From Andrew Cagney <cagney@b1.cygnus.com>:
190 * symfile.c (add_symbol_file_command): Always initialize
191 my_cleanup using a NULL cleanup.
192
fa58ee11
EZ
1932001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
194
195 * demangle.c (demangling_style_names): New variable.
196 (_initialize_demangler): Fill demangling_style_names with the
197 names of known demangling styles from libiberty_demanglers[]. Use
198 add_set_enum_cmd instead of add_set_cmd, to get completion on
199 demangling style names.
200
201 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
202 file-name completion.
203
204 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
205
206 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
207 `solib-absolute-prefix'.
208
209 * tracepoint.c (_initialize_tracepoint): Ditto for
210 `save-tracepoints'.
211
212 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
213
214 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
215 file-name completion.
216
217 * infcmd.c (_initialize_infcmd): Make the following commands use
218 the file-name completer: `tty', `args', `path', `paths', and
219 `run'.
220
7830cf6f
EZ
2212001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
222
89dea5aa
EZ
223 * go32-nat.c: Include i387-nat.h.
224 (fetch_register): New function, uses some of the guts of
225 go32_fetch_registers and calls i387_supply_register.
226 (go32_fetch_registers): Most of the code moved into
227 fetch_register. Use i387_supply_fsave.
228 (store_register): Use i387_fill_fsave instead of custom code.
229 (go32_store_registers): Use i387_fill_fsave.
230
231 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
232
233 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
234
7830cf6f
EZ
235 * completer.c (gdb_completer_file_name_break_characters): Remove
236 slash from file-name break characters.
237 [__MSDOS__]: Special definition for DOS/Windows file names.
238 (line_completion_function): When completing on file names, bump
239 `p' to the first file-name constituent character of `word', before
240 invoking the completer.
241
f31e928c
MK
2422001-02-17 Mark Kettenis <kettenis@gnu.org>
243
244 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
245 consistently for parameter names. Fix comments accordingly.
246 (i387_supply_register): New function.
247 (i387_supply_fsave): Implement using i387_supply_register.
248 * i387-nat.h: Use regnum instead of regno consistently for
249 parameter names. Fix comments accordingly.
250 (i387_supply_register): New prototype.
251
d696208f
MS
2522001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
253
254 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
255 instead of TARGET_PTR_BIT (to support Harvard architectures).
256
971429b4
AC
2572001-02-16 Andrew Cagney <ac131313@redhat.com>
258
259 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
260 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
261 argument to parameter list and to call in order to conform to
262 to_xfer_memory field of struct target_ops.
263
9ca0e47c
MC
2642001-02-12 Michael Chastain <chastain@redhat.com>
265
da7dd56f 266 * somsolib.c (som_solib_add_solib_objfile): Do not use
9ca0e47c
MC
267 section relocation feature of syms_from_objfile. Do my own
268 section relocation, offsetting each section of the som by
269 either text_addr - text_link_addr or data_start.
270
7d65bd2d
AC
2712001-02-16 Andrew Cagney <ac131313@redhat.com>
272
273 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
274
e33e9692
AC
2752001-02-16 Andrew Cagney <ac131313@redhat.com>
276
277 * MAINTAINERS (paper trail): Update.
278
17dee195
MK
2792001-02-16 Mark Kettenis <kettenis@gnu.org>
280
281 * target.h (target_fetch_registers): Fix comment.
282
0f6e1ba6
AC
2832001-02-15 Andrew Cagney <ac131313@redhat.com>
284
285 * f-exp.y: Include <ctype.h>.
286 (parse_number): Ensure that ``i'' is always initialized.
287
9a069618
JK
2882001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
289
290 * MAINTAINERS: Add myself to paper trail section.
291
fc24370e
MS
2922001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
293
294 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
295 * configure, config.in: Regenerate.
296 * corelow.c: Include <sys/file.h> if present.
297
4b69c284
AC
2982001-02-14 Andrew Cagney <ac131313@redhat.com>
299
300 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
301 declare when have SIGTTOU.
302
7904f322
EZ
3032001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
304
305 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
306
9e798668
JK
3072001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
308
309 * MAINTAINERS: Update my email address.
310
65d5a54a
EZ
3112001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
312
313 * NEWS: Document that "info symbol" works with COFF debug info and
314 its variants.
315
316 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
317 symbols whose SYMBOL_BFD_SECTION is NULL.
318
a8079a9b
PS
3192000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
320
321 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
322 * xcoffsolib.c (xcoff_solib_address): Renamed from
323 pc_load_segment_name. Return NULL if address is not in a shared
324 library. Cleanup shared library name construction, using xasprintf.
325 Format shared library member names consistent with format in exec.c.
326 (solib_info): Format shared library member names consistent with
327 format in exec.c.
328 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
329 using xcoff_solib_address for PC_SOLIB definition.
330 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
331 needed.
332
4b2e4867
PS
3332000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
334
335 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
336 with xmalloc calls and cleanups.
337
d737ece6
PS
3382000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
339
340 * rs6000-nat.c (child_xfer_memory): Add missing parameter
341 'struct mem_attrib *' required by 2001-01-23 change.
342
c5bb1243
JK
3432001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
344
345 Updates to "make TAGS":
346 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
347 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
348 tahoe-tdep.c.
349 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
350
c799ae7b
EZ
3512001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
352
353 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
354
12685e01
AC
355Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
356
357 From Dean Luick <luick@cray.com>:
358 * defs.h (continuation): Remove unused global variable.
359
7fcca85b
AC
360Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
361
362 * configure.tgt: Remove references to convex, pyramid, altos and
363 tahoe.
364 * configure.host: Ditto.
365 * MAINTAINERS: Ditto.
366 * NEWS: Update.
367
368 * tahoe-tdep.c: Delete obsolete file.
369 * pyr-xdep.c: Ditto.
370 * pyr-tdep.c: Ditto.
371 * convex-tdep.c: Ditto.
372 * convex-xdep.c: Ditto.
373 * config/tahoe/xm-tahoe.h: Ditto.
374 * config/tahoe/tm-tahoe.h: Ditto.
375 * config/tahoe/tahoe.mt: Ditto.
376 * config/tahoe/tahoe.mh: Ditto.
377 * config/pyr/xm-pyr.h: Ditto.
378 * config/pyr/tm-pyr.h: Ditto.
379 * config/pyr/pyramid.mt: Ditto.
380 * config/pyr/pyramid.mh: Ditto.
381 * config/m68k/xm-altos.h: Ditto.
382 * config/m68k/tm-altos.h: Ditto.
383 * config/m68k/altos.mt: Ditto.
384 * config/m68k/altos.mh: Ditto.
385 * config/convex/xm-convex.h: Ditto.
386 * config/convex/tm-convex.h: Ditto.
387 * config/convex/convex.mt: Ditto.
388 * config/convex/convex.mh: Ditto.
389 * config/convex/Convex.notes: Ditto.
390 * config/arm/xm-arm.h: Ditto.
391 * config/arm/nm-arm.h: Ditto.
392 * config/arm/arm.mt: Ditto.
393 * config/arm/arm.mh: Ditto.
394 * arm-convert.s: Ditto.
395 * arm-xdep.c: Ditto.
396 * altos-xdep.c: Ditto.
397
8e65ff28
AC
398Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
399
400 * defs.h (internal_error, internal_verror): Add __FILE__ and
401 __LINE__ parameter.
402 * utils.c (internal_error, internal_verror): Update.
403
404 * v850-tdep.c: Update calls to internal_error.
405 * utils.c: Ditto.
406 * ui-out.c: Ditto.
407 * ui-file.c: Ditto.
408 * target.h: Ditto.
409 * symtab.h: Ditto.
410 * symm-nat.c: Ditto.
411 * sparc-tdep.c: Ditto.
412 * source.c: Ditto.
413 * serial.c: Ditto.
414 * rs6000-tdep.c: Ditto.
415 * rs6000-nat.c: Ditto.
416 * remote.c: Ditto.
417 * remote-vx.c: Ditto.
418 * remote-sim.c: Ditto.
419 * remote-mips.c: Ditto.
420 * regcache.c: Ditto.
421 * objfiles.h: Ditto.
422 * objfiles.c: Ditto.
423 * mn10300-tdep.c: Ditto.
424 * mips-tdep.c: Ditto.
425 * maint.c: Ditto.
426 * m68k-tdep.c: Ditto.
427 * m3-nat.c: Ditto.
428 * language.c: Ditto.
429 * infptrace.c: Ditto.
430 * inferior.h: Ditto.
431 * infcmd.c: Ditto.
432 * ia64-tdep.c: Ditto.
433 * i386-tdep.c: Ditto.
434 * i386-linux-nat.c: Ditto.
435 * hppah-nat.c: Ditto.
436 * go32-nat.c: Ditto.
437 * findvar.c: Ditto.
438 * f-lang.c: Ditto.
439 * elfread.c: Ditto.
440 * event-loop.c: Ditto.
441 * dwarf2read.c: Ditto.
442 * dsrec.c: Ditto.
443 * d30v-tdep.c: Ditto.
444 * d10v-tdep.c: Ditto.
445 * cli/cli-setshow.c: Ditto.
446 * cli/cli-script.c: Ditto.
447 * ch-exp.c: Ditto.
448 * breakpoint.c: Ditto.
449 * ax-gdb.c: Ditto.
450 * arch-utils.c: Ditto.
451 * a29k-tdep.c: Ditto.
452 * gdb_assert.h: Ditto.
453 * gdbarch.sh: Ditto.
454 * gdbarch.h, gdbarch.c: Re-generate.
455
72290732
AC
4562001-02-07 Andrew Cagney <ac131313@redhat.com>
457
458 From Mark Kettenis <kettenis@gnu.org>:
459 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
460
a6da1910
AC
4612001-02-07 Andrew Cagney <ac131313@redhat.com>
462
463 * remote-sim.c (dump_mem): Cleanup printf format argument.
464 * MAINTAINERS: Update, mn10300-elf now builds.
465
153f9905
MK
4662001-02-07 Mark Kettenis <kettenis@gnu.org>
467
468 * event-top.c: Remove duplicate #include <signal.h>.
469
f042532c
AC
4702001-02-06 Andrew Cagney <ac131313@redhat.com>
471
472 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
473 allocated buffer.
474 (save_inferior_pid): Restore the PID from that tempoary
475 buffer. Delete the buffer.
476 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
477
58cfabe6
AC
4782001-02-06 Andrew Cagney <ac131313@redhat.com>
479
480 * MAINTAINERS: Add ``The Obvious Fix Rule''.
481
ea8a41b8
AC
4822001-02-06 Andrew Cagney <ac131313@redhat.com>
483
484 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
485
95160752
AC
4862001-02-06 Andrew Cagney <ac131313@cygnus.com>
487
488 * gdbarch.sh: Include "gdb_assert.h".
489 (struct gdbarch): Change ``nr_data'' to unsigned.
490 (alloc_gdbarch_data, free_gdbarch_data): New functions.
491 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
492 architecture vector.
493 (struct gdbarch_data, struct gdbarch_data_registration): Move init
494 method to gdbarch_data. Add free method, make index unsigned.
495 (struct gdbarch_data_registry): Make nr unsigned.
496 (register_gdbarch_data): Add free parameter. Store in
497 gdbarch_data.
498 (init_gdbarch_data): Use set_gdbarch_data.
499 (set_gdbarch_data): New function.
500
501 * gdbarch.h, gdbarch.c: Re-generate.
502
64122a8b
MS
5032001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
504
505 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
506 fprintf_filtered with correct arguments.
507
e6cbd02a
MS
5082001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
509 Submitted by Paul Hilfinger (hilfingr@gnat.com)
510 and Andrei Petrov (and@genesyslab.com).
511 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
512 must be allocated dynamically, since these are no longer constants.
513 * infcmd.c: Ditto.
514 * regcache.c: Ditto.
515 * remote.c: Ditto.
516 * sol-thread.c: Ditto.
517 * valops.c: Ditto.
518 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
519 work-around for a missing Sun header file in solaris for sparc64.
520
713f0374
PB
5212001-02-04 Philip Blundell <philb@gnu.org>
522
523 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
524 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
525 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
526 GET_THREAD_SIGNALS): Define.
527 * arm-linux-nat.c (fill_gregset): Correct type of argument.
528 (supply_gregset): Likewise.
529 (fill_fpregset): Likewise.
530 (supply_fpregset): Likewise.
531
4603e466
DT
532Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
533
534 * valops.c (value_cast): If casting a scalar to a pointer, do not
535 issue a message about truncation unless it exceeds the length of
536 an address, not the length of a pointer. This is because what the
537 user gives us is an address, not a pointer, and we will ultimately
538 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
539 to a pointer. This allows things like "print *(int *)0x01000234"
540 to work without generating a misleading message on a target having
541 two byte pointers and four byte addresses.
542
554cb486
CF
5432001-02-05 Christopher Faylor <cgf@cygnus.com>
544
545 * win32-nat.c: Change PTR to void * throughout.
546
042be3a9
C
5472001-02-05 J.T. Conklin <jtc@redback.com>
548
549 * signals.h: Removed.
550 * event-top.c (#include <signal.h>): Changed from signals.h.
551 * inflow.c: Likewise.
552 * mac-xdep.c: Likewise.
553 * ser-pipe.c: Likewise.
554 * ser-tcp.c: Likewise.
555 * standalone.c: Likewise.
556 * top.c: Likewise.
557 * utils.c: Likewise.
558 * Makefile.in: Removed signals.h from dependencies.
559
a4acd088
CF
5602001-02-05 Christopher Faylor <cgf@cygnus.com>
561
562 Change suggested by Dean Luick <luick@cray.com>
563 * inferior.h (step_over_calls_kind): Remove trailing comma from
564 last enum element.
565 (step_over_calls): Declare as extern rather than global.
566
3116c80a
EZ
5672001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
568
569 * sh-tdep.c: Update copyright.
570 (sh_extract_return_value): Rewrite.
571 (sh3e_sh4_extract_return_value): New function.
572 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
573 version of the function for sh3e and sh4 CPUs.
574
240be855
MC
5752001-02-05 Michael Chastain <chastain@redhat.com>
576
577 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
578 to conform with interface change.
579
a17b5c4e
EZ
5802001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
581
32fe0950
EZ
582 * config/djgpp/fnchange.lst: Tweak to make consistent with the
583 new files.
584
619cbaf7
EZ
585 * config/djgpp/djconfig.sh: Use explicit absolute file name when
586 invoking `find'.
587
cd42d3a8
EZ
588 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
589 UART_FIFO_WORKS is defined. Otherwise use outportb.
590 From Francisco Pastor <fpastor.etra-id@etra.es>
591
a17b5c4e
EZ
592 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
593 with target.h's `to_xfer_memory' member.
594
86ddecc5
C
5952001-02-02 J.T. Conklin <jtc@redback.com>
596
597 * ppc-bdm.c (#include <signal.h>): Removed.
598 * remote-array.c: Likewise.
599 * remote-bug.c: Likewise.
600 * remote-e7000.c: Likewise.
601 * remote-mips.c: Likewise.
602 * remote-os9k.c: Likewise.
603 * remote-st.c: Likewise.
604 * remote-udi.c: Likewise.
605 * remote-vx29k.c: Likewise.
606 * remote-vx68.c: Likewise.
607 * remote-vx960.c: Likewise.
608 * remote-vxmips.c: Likewise.
609 * remote-vxsparc.c: Likewise.
610
338d7c5c
JM
6112001-02-02 John Moore <jmoore@redhat.com>
612
613 * remote-utils.h (sr_set_device): Changed free() to xfree() where
614 appropriate. Also changed Copyright to include 2001.
615 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
616 * value.h (value_free): Likewise.
617 * gdbarch.sh (gdbarch_free): Likewise.
618 * gdbarch.c, gdbarch.h: Regenerated.
619
2b5436af
JM
6202001-02-02 John Moore <jmoore@redhat.com>
621
622 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
338d7c5c 623 xfree(). Also changed Copyright to include 2001.
2b5436af 624
82467003
C
6252001-02-02 J.T. Conklin <jtc@redback.com>
626
627 * monitor.c (#include "gdb_wait.h"): Removed.
628 * ocd.c: Likewise.
629 * ppc-bdm.c: Likewise.
630 * remote-adapt.c: Likewise.
631 * remote-array.c: Likewise.
632 * remote-bug.c: Likewise.
633 * remote-e7000.c: Likewise.
634 * remote-eb.c: Likewise.
635 * remote-es.c: Likewise.
636 * remote-mips.c: Likewise.
637 * remote-mm.c: Likewise.
638 * remote-nindy.c: Likewise.
639 * remote-os9k.c: Likewise.
640 * remote-rdi.c: Likewise.
641 * remote-rdp.c: Likewise.
642 * remote-sds.c: Likewise.
643 * remote-sim.c: Likewise.
644 * remote-st.c: Likewise.
645 * remote-udi.c: Likewise.
646 * remote-vx.c: Likewise.
647 * remote-vx29k.c: Likewise.
648 * remote-vx68.c: Likewise.
649 * remote-vx960.c: Likewise.
650 * remote-vxmips.c: Likewise.
651 * remote-vxsparc.c: Likewise.
652 * remote.c: Likewise.
653 * ser-pipe.c: Likewise.
654 * ser-unix.c: Likewise.
655 * Makefile.in: Updated dependencies.
656
27b82ed2
DS
6572001-01-31 David Smith <dsmith@redhat.com>
658
659 * event-loop.c: Change inclusion of string.h to gdb_string.h and
660 updated the copyright notice.
661 * ser-pipe.c: Ditto.
662 * mi/mi-cmds.c: Ditto.
663 * mi/mi-console.c: Ditto.
664 * mi/mi-getopt.c: Ditto.
665 * mi/mi-parse.c: Ditto.
666
ab9cc815
DS
6672001-01-31 David Smith <dsmith@redhat.com>
668
669 * MAINTAINERS: Add David Smith to Write After Approval list.
670
d1f4cff8
AC
671Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
672
673 * cli/cli-utils.c (putchar_filtered): Move function from here.
674 * utils.c (putchar_filtered): To here.
675 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
676 * defs.h (putchar_filtered): To here.
677
74c1b268
AC
678Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
679
680 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
681 AC_FUNC_VFORK macro.
682 * config.in, configure: Re-generate.
683
684 * gdb_vfork.h: New file.
685 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
686 * fork-child.c (fork_inferior): Ditto.
687
4fcf66da
AC
688Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
689
690 * defs.h (strsave): Delete declaration.
691 * utils.c (strsave): Delete definition.
692 * TODO (strsave): Update
693
694 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
695 * sparcl-tdep.c (sparclite_open): Ditto.
696 * mips-tdep.c (mips_set_processor_type_command): Ditto.
697 (_initialize_mips_tdep): Ditto.
698 * solib.c (solib_open): Ditto.
699 * symfile.c (add_filename_language): Ditto.
700 (set_ext_lang_command): Ditto.
701 * source.c (init_source_path): Ditto.
702 (mod_path): Ditto.
703 * sh3-rom.c (sh3_open): Ditto.
704 (sh3e_open): Ditto.
705 * serial.c (serial_open): Ditto.
706 * remote-mips.c (common_open): Ditto.
707 * monitor.c (monitor_open): Ditto.
708 * m32r-rom.c (m32r_upload_command): Ditto.
709 * infcmd.c (path_command): Ditto.
710 * f-exp.y (parse_number): Ditto.
711 * breakpoint.c (create_longjmp_breakpoint): Ditto.
712 (create_thread_event_breakpoint): Ditto.
713 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
714 (_initialize_arc_tdep): Ditto.
715
e191e0ab
AC
716Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
717
718 * cli/cli-script.c (define_command): Check for a bad hook value in
719 switch statement.
720
10214f55
C
7212001-01-30 J.T. Conklin <jtc@redback.com>
722
723 * configure/sh/embed.mt: New file.
724 * configure/sh/linux.mt: New file.
725 * configure/sh/sh.mt: Removed.
726 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
727 (sh-*-*): Removed.
728
c9049fc9
MC
7292001-01-29 Michael Chastain <chastain@redhat.com>
730
731 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
732 symbol comparisons in binary search.
733
aea02b6b
CF
7342000-01-27 Christopher Faylor <cgf@cygnus.com>
735
736 * win32-nat.c (child_xfer_memory): Add missing argument required by
737 2001-01-23 change.
738
e6e0bfab
MK
7392001-01-27 Mark Kettenis <kettenis@gnu.org>
740
741 * ui-out.c (do_list_end): New function.
742 (make_cleanup_ui_out_list_end): New function.
743 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
744 * stack.c (print_frame) [UI_OUT]: Call
745 make_cleanup_ui_out_list_end to make sure we mark the end of the
746 list if we do a non-local exit. At the end of the function,
747 instead of calling ui_out_list_end directly, let do_cleanups
748 handle it.
749
1adeb98a
FN
7502001-01-26 Fernando Nasser <fnasser@redhat.com>
751
752 Fix double parsing of filenames passed as command line arguments
753 to GDB (causes weird handling of escape characters).
754 Also, remove dependencies on the CLI from libgdb.
755 * call-cmds.h: Remove declaration of exec_file_command().
756 * gdbcore.h: Remove declaration of exec_file_command().
757 Add declarations for exec_open() and exec_file_clear().
758 * symfile.h: Add declarations for symbol_file_add_main() and
759 symbol_file_clear().
760 * exec.c (exec_open): New function. Implements to_open for exec
761 targets.
762 (exec_file_clear): New function. Makes GDB forget about a previously
763 specified executable file.
764 (exec_file_attach): Move parsing of arguments from here ...
765 (exec_file_command): ... to here.
766 (init_exec_ops): Use exec_open(), not exec_file_command() to
767 implement to_open for exec targets.
768 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
769 with default values. Used when the file name has already been parsed.
770 (symbol_file_clear): New function. Makes GDB forget about previously
771 read symbols.
772 (symbol_file_command): Call the above function instead of inline code.
773 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
774 "call-cmds.h".
775 (captured_main): Call exec_file_attach() and symbol_file_add_main()
776 instead of exec_file_command() and symbol_file_command().
777 (captured_main): Add comment.
778 * corefile.c: Include "symfile.h".
779 (core_file_command): Call symbol_file_add_main() instead of
780 symbol_file_command().
781 (reopen_exec_file): Call exec_open() instead of exec_file_command().
782 * infcmd.c: Include "symfile.h".
783 (attach_command): Call symbol_file_add_main() instead of
784 symbol_file_command().
785 * infrun.c: Remove comment about the inclusion of "symfile.h",
786 not any longer appropriate.
787 (follow_exec): Call symbol_file_add_main() instead of
788 symbol_file_command().
789 * remote-es.c: Include "symfile.h".
790 (es1800_load): Call symbol_file_add_main() instead of
791 symbol_file_command().
792 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
793 not any longer appropriate.
794 (vx-wait): Call symbol_file_add_main() instead of
795 symbol_file_command().
796 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
797 instead of symbol_file_command().
798 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
799 symbol_file_add_main() instead of exec_file_command() and
800 symbol_file_command().
801 * Makefile.in: Update dependencies.
802
5b616ba1
JH
8032001-01-26 Jeff Holcomb <jeffh@redhat.com>
804
805 * remote-udi.c (udi_open): Change strdup to xstrdup.
806 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
807 Update copyright message.
808 * varobj.c (delete_variable_1): Likewise.
809
810 * gdb_string.h: Remove declaration of strdup. Update copyright
811 message.
812 * config/xm-mpw.h: Likewise.
813 * config/i386/xm-i386mach.h: Likewise.
814 * config/m68k/xm-apollo68b.h: Likewise.
815 * config/m68k/xm-hp300bsd.h: Likewise.
816 * config/rs6000/xm-rs6000.h: Likewise.
817 * config/vax/xm-vaxult.h: Remove declaration of strdup.
818 * config/vax/xm-vaxult2.h: Likewise.
819
b91d87cf
JH
8202001-01-26 Jeff Holcomb <jeffh@redhat.com>
821
822 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
823
873406a6
C
8242001-01-25 J.T. Conklin <jtc@redback.com>
825
826 * target.c (target_xfer_memory_partial): Return -1 on failure due
827 to invalid access mode attribute.
828
0613c401
CF
8292001-01-25 Christopher Faylor <cgf@cygnus.com>
830
831 * win32-nat.c (_initialize_core_win32): Prototype correctly.
832
efd59e3f
MK
8332001-01-25 Mark Kettenis <kettenis@gnu.org>
834
835 * config/alpha/tm-fbsd.h: Update copyright.
836 (USE_STRUCT_CONVENTION): Define in terms of
837 alphabsd_use_struct_convention.
838 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
839 * alphafbsd-tdep.c: New file.
840
388e1ff2
FN
8412001-01-24 Fernando Nasser <fnasser@redhat.com>
842
843 * top.c (print_gdb_version): Update Copyright year.
844
f4d650ec
C
8452001-01-24 J.T. Conklin <jtc@redback.com>
846
847 * dcache.c (dcache_write_line): Fix typo.
848
849 * memattr.c (delete_mem_region): Replace free() with xfree().
850 (mem_number): Add explicit type.
851
852 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
853 (rw_common): Likewise.
854
07091751
FN
8552001-01-24 Fernando Nasser <fnasser@redhat.com>
856
857 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
858 for the inferior program arguments.
859 (run_command, run_no_args_command, init_infcmd)): Use accessor
860 functions to set the inferior program arguments.
861 * inferior.h: Add definitions to the accessor functions above.
862
090c42a4
JB
8632001-01-23 Jim Blandy <jimb@redhat.com>
864
865 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
866 Implement these correctly, using make_cv_type.
867
f29d9b6d 8682001-01-23 J.T. Conklin <jtc@redback.com>
29e57380
C
869
870 * exec.c (xfer_memory): Add attrib argument.
871 * infptrace.c (child_xfer_memory): Likewise.
e5da8f38 872 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
29e57380
C
873 * monitor.c (monitor_xfer_memory): Likewise.
874 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
875 * remote-array.c (array_xfer_memory): Likewise.
876 * remote-bug.c (bug_xfer_memory): Likewise.
877 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
878 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
879 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
880 * remote-mips.c (mips_xfer_memory): Likewise.
881 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
882 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
883 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
884 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
885 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
886 * remote-sds.c (sds_xfer_memory): Likewise.
887 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
888 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
889 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
890 * remote-vx.c (vx_xfer_memory): Likewise.
891 * remote.c (remote_xfer_memory): Likewise.
892 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
893 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
e5da8f38 894 * thread-db.c (thread_db_xfer_memory): Likewise.
29e57380
C
895
896 * target.h (#include "memattr.h"): Added.
897 (target_ops.to_xfer_memory): Add attrib argument.
898
899 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
900 * dcache.h (set_dcache_state): Removed declaration.
901 * dcache.c (set_dcache_state): Removed definition
902
903 * dcache.c: Update module comment, as dcache is now enabled and
904 disabled with memory region attributes instead of by the global
905 variable "remotecache". Add comment describing the interaction
906 between dcache and memory region attributes.
907 (dcache_xfer_memory): Add comment describing benefits of moving
908 cache writeback to a higher level.
909 (dcache_struct): Removed cache_has_stuff field. This was used to
910 record whether the cache had been accessed in order to invalidate
911 it when it was disabled. However, this is not needed because the
912 cache is write through and the code that enables, disables, and
913 deletes memory regions invalidate the cache. Add comment which
914 suggests that we could be more selective and only invalidate those
915 cache lines containing data from those memory regions.
916 (dcache_invalidate): Updated.
917 (dcache_xfer_memory): Updated.
f29d9b6d 918
29e57380
C
919 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
920 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
921 perform a uncached transfer if dcache_enabled_p was clear. This
922 function is now only called if caching is enabled for the memory
923 region.
924 (dcache_info): Always print cache info.
925
926 * target.c (do_xfer_memory): Add attrib argument.
927 (target_xfer_memory, target_xfer_memory_partial): Break transfer
928 into chunks defined by memory regions, pass region attributes to
929 do_xfer_memory().
930 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
931
932 * Makefile.in (SFILES): Add memattr.c.
933 (COMMON_OBS): Add memattr.o.
934 (dcache.o): Add target.h to dependencies.
935 * memattr.c: New file.
936 * memattr.h: Likewise.
937
f29d9b6d
C
938 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
939 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
940 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
941 * gdbserver/low-sim.c (#include "defs.h"): Removed.
942 (mygeneric_load): Rename from generic_load.
943
944 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
945 (#include "defs.h"): Removed.
946 (inferior_pid, perror_with_name): Remove declarations.
947 * gdbserver/low-linux.c: Likewise.
948 * gdbserver/low-nbsd.c: Likewise.
949 * gdbserver/low-sparc.c: Likewise.
950 * gdbserver/low-sun3.c: Likewise.
951
952 * i386-stub.c: Re-indent.
953 * m68k-stub.c: Re-indent.
954
58d5518e
ND
9552001-01-22 Nicholas Duffek <nsd@redhat.com>
956
957 * gdbarch.sh (PARM_BOUNDARY): Define.
958 * gdbarch.c: Regenerate.
959 * gdbarch.h: Regenerate.
960
f6427ade
C
9612001-01-22 J.T. Conklin <jtc@redback.com>
962
963 * ns32k-tdep.c: #include "frame.h"
964 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
965 appears to have been inadvertantly removed sometime in May 1999.
966
967 * Revert 2000-11-09 changes where shared library objects were
968 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
969 we'd like to be able to debug dynamically linked executables,
970 this makes it impossible to build a cross debugger on a many
971 hosts.
972
973 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
974 * config/i386/nbsdelf.mt: Likewise.
975 * config/m68k/nbsd.mt: Likewise.
976 * config/ns32k/nbsd.mt: Likewise.
977 * config/powerpc/nbsd.mt: Likewise.
978 * config/sparc/nbsd.mt: Likewise.
979 * config/sparc/nbsdelf.mt: Likewise.
980 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
981 * config/i386/nbsdelf.mh: Likewise.
982 * config/m68k/nbsd.mh: Likewise.
983 * config/ns32k/nbsd.mh: Likewise.
984 * config/powerpc/nbsd.mh: Likewise.
985 * config/sparc/nbsd.mh: Likewise.
986
8052a17a
JM
9872001-01-19 Jason Merrill <jason@redhat.com>
988
989 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
990 (process_one_symbol): Likewise.
991 * dwarfread.c (handle_producer): Likewise.
992
21a6f6bb
AC
993Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
994
995 * configure.in (build_warnings): Disable -Wuninitialized until GDB
996 compiles with -Wuninitialized,-Werror.
997 * configure: Regenerate.
998
999 * MAINTAINERS: Add list of buildable targets.
1000
494b7ec9
AC
1001Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
1002
1003 * defs.h (STRCMP): Delete macro.
1004
1005 * objfiles.c (objfile_relocate): Replace STRCMP with call to
1006 strcmp.
1007 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1008 * symfile.c (compare_symbols): Ditto.
1009 * standalone.c (open): Ditto.
1010 * remote-es.c (verify_break): Ditto.
1011 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
1012
1013 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
1014
8038e1e2
AC
1015Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
1016
1017 * varobj.c (FREEIF): Delete macro.
1018 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
1019 call.
1020
ea8d0b28
NC
10212001-01-18 Nick Clifton <nickc@redhat.com>
1022
1023 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
1024 (arc_print_insn): No bfd available, so pass NULL to
1025 arc_get_disassembler.
1026
5dbd9048
JB
10272001-01-09 James Ingham <jingham@inghji.apple.com>
1028
1029 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
1030 a mangled symbol rather than recursing into lookup_symbol, since
1031 this will just re-unmangle the name & call lookup_symbol_aux -
1032 leading to an infinite recursion.
1033
28ae27b1
MK
10342001-01-18 Mark Kettenis <kettenis@gnu.org>
1035
1036 * infcmd.c (print_return_value): Restore another space lost by
1037 switch to UIOUT. ``$NN='' should be ``$NN =''.
1038
6ab3a9c9
AC
1039Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
1040
1041 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
1042 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
1043 definition in parenthesis.
1044
ad6525fc
AC
1045Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
1046
1047 From 2000-10-27 Mark Salter <msalter@redhat.com>:
1048 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
1049 packet.
1050 (remote_insert_hw_breakpoint): Ditto.
1051
6259c7e2
C
10522001-01-17 J.T. Conklin <jtc@redback.com>
1053
1054 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
9c95b27f 1055 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
6259c7e2
C
1056 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
1057 * m68knbsd-tdep.c: New file.
1058
1059 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
1060
1061 * m68knbsd-nat.c: #include gdbcore.h.
1062
abdcb2a5
AC
1063Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
1064
1065 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
1066
e7a8479f
MS
10672001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
1068
aaeb7efa
MS
1069 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
1070 goes away -- just return false (ie. not stopped by watchpoint).
e7a8479f
MS
1071 * source.c (openp): Fix typo in comment.
1072
7036d6ce
ND
10732001-01-12 Nicholas Duffek <nsd@redhat.com>
1074
1075 * blockframe.c (generic_get_saved_register): Spelling fix.
1076 * frame.h (FRAME_FP): Spelling fix.
1077
9549d9c1
AC
1078Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
1079
1080 * infcmd.c (print_return_value): Restore space lost by switch to
1081 UIOUT. ``$NN='' should be ``$NN =''.
1082
7302a204
ND
10832001-01-08 Nicholas Duffek <nsd@redhat.com>
1084
1085 * regcache.c (set_register_cached, register_buffer,
1086 real_register, pseudo_register fetch_register, store_register):
1087 New functions.
1088 (register_changed, read_relative_register_raw_bytes_for_frame,
1089 registers_changed, registers_fetched, read_register_bytes,
1090 read_register_gen, write_register_gen, read_register,
1091 read_signed_register, write_register, supply_register): Replace
1092 register_valid[] with register_cached() and
1093 set_register_cached().
1094 (read_register_bytes, read_register_gen, write_register_gen,
1095 read_register, read_signed_register, write_register,
1096 supply_register): Replace registers[] with register_buffer().
1097 (read_register_bytes, read_register_gen, read_register,
1098 read_signed_register): Call fetch_register().
1099 (write_register_gen, write_register): Call real_register() and
1100 store_register().
1101 (write_register_bytes): Call store_register().
1102 * value.h (set_register_cached, register_buffer): Prototype.
1103 * remote.c (remote_fetch_registers): Allocate regs[] with a
1104 run-time size. Replace register_valid[] with
1105 set_register_cached().
1106 (store_register_using_P, remote_store_registers): Replace
1107 registers[] with register_buffer().
1108
5ebd2499
ND
11092001-01-08 Nicholas Duffek <nsd@redhat.com>
1110
1111 * regcache.c: Change "write-back" comment to "write-through".
1112 Change "regno" to "regnum".
1113 (read_register, read_signed_register): Remove "raw" from return
1114 value description.
1115 (supply_register): Spelling fix.
1116 * value.h: Change "regno" to "regnum".
1117
1302fd5e
FN
11182001-01-08 Fernando Nasser <fnasser@redhat.com>
1119
1120 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
1121 to be installed.
1122
9dcb560c
MS
11232001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
1124
1125 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
1126
0e2fb98e
ND
11272001-01-04 Nicholas Duffek <nsd@redhat.com>
1128
1129 * valops.c (VALUE_SUBSTRING_START): Delete.
1130
12cf3f1b
ND
11312001-01-04 Nicholas Duffek <nsd@redhat.com>
1132
1133 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
1134 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
1135 (cli_utils_h): New variable.
1136 (cli/cli-utils.o): New rule.
1137 * cli/cli-utils.c: New file.
1138 * cli/cli-utils.h: New file.
1139
cc533b9d
ND
11402001-01-04 Nicholas Duffek <nsd@redhat.com>
1141
1142 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
1143 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
1144
ad2a4d09
C
11452001-01-03 J.T. Conklin <jtc@redback.com>
1146
1147 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
1148 comment.
1149
8140e7ac
MS
11502001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
1151
3116c80a
EZ
1152 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
1153 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
d19b71be 1154 non-float types.
779e876b 1155 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
72e22353
MS
1156 Update copyright notice.
1157
15f33b66 1158For older changes see ChangeLog-2000
c906108c
SS
1159\f
1160Local Variables:
1161mode: change-log
1162left-margin: 8
1163fill-column: 74
1164version-control: never
1165End:
This page took 0.189571 seconds and 4 git commands to generate.