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