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