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