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