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