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