1 2001-11-08 Jim Blandy <jimb@redhat.com>
3 * s390-tdep.c (s390_get_frame_info): Initialize got_load_addr and
4 got_load_len, to placate compiler.
6 2001-11-08 Mark Kettenis <kettenis@gnu.org>
8 * i386-tdep.c (i386_gdbarch_init): Fix typo.
10 2001-11-08 Jim Blandy <jimb@redhat.com>
12 * s390-tdep.c (s390_gdbarch_init): Use func_frame_chain_valid, not
13 file_frame_chain_valid.
15 * s390-tdep.c (s390_get_frame_info): If the prologue loads r12
16 from the constant pool, but doesn't add in the constant pool's
17 address to it, then this function probably isn't using r12 as a
18 GOT pointer, and that load probably wasn't part of the prologue.
20 * s390-tdep.c (s390_gdbarch_init): Use the default
21 prepare_to_proceed function established by config/nm-linux.h;
22 don't try to set it to linuxthreads_prepare_to_proceed.
24 Wed Nov 7 20:38:14 2001 Andrew Cagney <cagney@redhat.com>
26 * i386-tdep.c: Include "i386-tdep.h".
28 (i386_gdbarch_init): New function.
29 (_initialize_i386_tdep): Register bfd_arch_i386.
30 * config/i386/tm-i386.h (GDB_MULTI_ARCH): Define as
31 GDB_MULTI_ARCH_PARTIAL.
32 * i386-tdep.h: When partially multi-arch, conditionally define
35 Wed Nov 7 20:45:32 2001 Andrew Cagney <cagney@redhat.com>
37 * i386-tdep.c (set_disassembly_flavor): Delete function.
38 (set_disassembly_flavor_sfunc): Delete function.
40 2001-11-07 Elena Zannoni <ezannoni@redhat.com>
42 * dbxread.c (set_namestring): New function, replacing the
44 (SET_NAMESTRING, CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE,
45 CUR_SYMBOL_STRX, DBXREAD_ONLY, START_PSYMTAB, END_PSYMTAB): Delete
47 (read_dbx_symtab): Don't include partial-stab.h any more. Don't
48 reuse code in partial-stab.h, include the code directly, instead.
50 * Makefile.in (dbxread.o): Remove dependency on partial-stab.h.
51 (HFILES_NO_SRCDIR): Remove partial-stab.h.
53 * partial-stab.h: Remove file.
55 2001-11-07 Andrew Cagney <ac131313@redhat.com>
57 * gdbarch.sh: For multi-arch functions, check there is a
58 predefault and use it as the static default.
59 * gdbarch.c: Re-generate.
61 2001-11-08 Mark Kettenis <kettenis@gnu.org>
63 * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Define in
64 terms of NUM_GREGS, NUM_FREGS and NUM_SSE_REGS instead of
65 hardcoding the register number.
67 2001-11-07 Andrew Cagney <ac131313@redhat.com>
69 * gdbarch.sh (USE_STRUCT_CONVENTION): Default to
70 generic_use_struct_convention.
71 * gdbarch.h, gdbarch.c: Regenerate.
72 * values.c (USE_STRUCT_CONVENTION): Delete definition, moved to
75 2001-11-06 Andrew Cagney <ac131313@redhat.com>
77 * gdbarch.sh (PC_IN_CALL_DUMMY): Require a value.
78 * gdbarch.c: Regenerate.
80 2001-11-06 Fred Fish <fnf@redhat.com>
82 * complaints.c (info_verbose): Remove unneeded decl, is in defs.h.
84 * dwarf2read.c: Ditto.
89 * mdebugread.c: Ditto.
93 * tracepoint.c: Ditto.
95 2001-11-06 Andrew Cagney <ac131313@redhat.com>
97 * MAINTAINERS: Update Andrew Cagney's responsibilities. Mention
98 David Taylor and Nick Duffek in past maintainers.
100 2001-11-06 Elena Zannoni <ezannoni@redhat.com>
102 * mdebugread.c (CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB,
103 END_PSYMTAB, SET_NAMESTRING, HANDLE_RBRAC): Delete definitions.
104 (parse_partial_symbols): Don't include partial-stab.h any
105 more. Don't reuse code in partial-stab.h, include the code
106 directly, instead. Simplify code from partial-stab.h eliminating
107 ifdef DBXREAD_ONLY code.
109 * Makefile.in (mdebugread.o): Remove dependency on partial-stab.h.
111 2001-11-06 Jim Blandy <jimb@redhat.com>
113 * s390-nat.c: #include "regcache.h", to get declaration for
114 `supply_register'. (The last change already added the dependency
115 of s390-nat.o on regcache.h. Oops.)
117 * Makefile.in (ALLDEPFILES): Add s390-tdep.c and s390-nat.c.
118 (s390-tdep.o, s390-nat.o): New rules.
120 * s390-nat.c (s390_register_u_addr): Pass proper arguments to
123 2001-11-06 Andrew Cagney <ac131313@redhat.com>
125 * gdbarch.sh (CALL_DUMMY_LOCATION): Require a value.
126 * gdbarch.c: Regenerate.
128 2001-11-06 Andrew Cagney <ac131313@redhat.com>
130 * blockframe.c (get_prev_frame): Replace #ifdef
131 INIT_EXTRA_FRAME_INFO with run-time test.
133 2001-11-05 Andrew Cagney <ac131313@redhat.com>
135 * gdbarch.sh (push_return_address): Change to a function with
137 * gdbarch.h, gdbarch.c: Re-generate.
138 * valops.c (hand_function_call): Replace #ifdef
139 PUSH_RETURN_ADDRESS with run-time test of PUSH_RETURN_ADDRESS_P.
141 2001-11-06 Corinna Vinschen <vinschen@redhat.com>
143 * arch-utils.c (generic_in_function_epilogue_p): New function.
144 * arch-utils.h (generic_in_function_epilogue_p): Declare extern.
145 * breakpoint.c (watchpoint_check): Add test whether the pc is
146 currently in the epilogue of a function.
147 * gdbarch.c: Autogenerated from gdbarch.sh.
149 * gdbarch.sh (function_list): Add `in_function_epilogue_p' definition.
151 2001-11-05 Jim Blandy <jimb@redhat.com>
153 * config/s390/s390.mh (NATDEPFILES): Don't split this across
154 several lines with backslashes; the `sed' command in
155 configure.in's AC_OUTPUT clause that comments out the NATDEPFILES
156 assignment doesn't handle lines extended with backslashes.
158 * configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES
159 using `+=' as well as `='.
160 * configure: Regenerated.
162 2001-11-05 Andrew Cagney <ac131313@redhat.com>
164 * gdbarch.sh (init_extra_frame_info): Change to a function with
166 * gdbarch.h, gdbarch.c: Re-generate.
167 * blockframe.c (create_new_frame): Replace #ifdef
168 INIT_EXTRA_FRAME_INFO with run-time test of
169 INIT_EXTRA_FRAME_INFO_P.
171 2001-11-05 Andrew Cagney <ac131313@redhat.com>
173 * gdbarch.sh (verify_gdbarch): Use a mem_file to accumulate all
174 error messages. Print in a single batch.
175 * gdbarch.c: Re-generate.
177 2001-11-04 Mark Kettenis <kettenis@gnu.org>
179 * i386-linux-nat.c (GETREGS_SUPPLIES, supply_gregset,
180 fill_gregset): Add support for "orig_eax" register.
182 Add support for "orig_eax" pseudo register on Linux/x86.
183 * i386-linux-tdep.c: Include "inferior.h".
184 (i386_linux_register_name, i386_linux_register_byte,
185 i386_linux_register_raw_size): New functions.
186 (i386_linux_write_pc): New function.
187 * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): New define.
188 (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME,
189 REGISTER_BYTE, REGISTER_RAW_SIZE): Define to deal with additional
191 (i386_linux_register_name, i386_linux_register_byte,
192 i386_linux_register_raw_size): New prototypes.
193 (TARGET_WRITE_PC): New define.
194 (i386_linux_write_pc): New prototype.
196 * i386-tdep.c (i386_register_offset): Renamed from
197 i386_register_byte. Made static.
198 (i386_register_size): Renamed from i386_register_raw_size. Made
200 (i386_register_virtual_size): Removed.
201 (i386_register_byte, i386_register_raw_size,
202 i386_register_virtual_size): New functions.
203 (_initialize_i386_tdep): Initialize i386_register_offset instead
204 of i386_register_byte. Remove code to initialize
205 i386_register_virtual_size.
206 * config/i386/tm-i386.h (REGISTER_BYTE): Redefine to use
207 i386_register_byte function.
208 (REGISTER_RAW_SIZE): Redefine to use i386_register_raw_size
210 (REGISTER_VIRTUAL_SIZE): Redefine to use
211 i386_register_virtual_size function.
212 (i386_register_byte, i386_register_raw_size,
213 i386_register_virtual_size): New functions.
215 * Makefile.in (ALLDEPFILES): Add i387-nat.c.
216 (i387-nat.o): Add dependencies.
218 2001-11-02 Andrew Cagney <ac131313@redhat.com>
220 * README: Mention problem with alpha-dec-osf5.1.
222 2001-11-02 Andrew Cagney <ac131313@redhat.com>
224 * utils.c (internal_verror): Restore calls to abort().
227 2001-11-02 Michael Chastain <mec@shout.net>
229 * MAINTAINERS: Update my entry.
231 2001-11-01 Michael Snyder <msnyder@redhat.com>
233 * symtab.c (operator_chars): Allow '*' and '[' to be quoted in
234 operator names, to avoid regexp expansion.
235 (search_symbols): Alloca buffer is too small, may get clobbered.
237 2001-11-01 Fred Fish <fnf@redhat.com>
239 * coff-solib.c (coff_solib_add): Add new readsyms arg.
240 * irix5-nat.c (solib_add): Ditto.
241 * osfsolib.c (solib_add): Ditto.
242 * pa64solib.c (pa64_solib_add): Ditto.
243 * pa64solib.c (add_to_solist): Ditto.
244 * pa64solib.c (read_dld_descriptor): Ditto.
245 * solib.c (solib_add): Ditto.
246 * somsolib.c (som_solib_add): Ditto.
247 * win32-nat.c (child_solib_add): Ditto.
248 * xcoffsolib.c (solib_add): Ditto.
250 * coff-solib.h (coff_solib_add): Add new readsyms arg to prototype.
251 * pa64solib.c (add_to_solist): Ditto.
252 * pa64solib.c (read_dld_descriptor): Ditto.
253 * pa64solib.h (pa64_solib_add): Ditto.
254 * solib.h (solib_add): Ditto.
255 * somsolib.h (som_solib_add): Ditto.
256 * config/i386/tm-cygwin.h (child_solib_add): Ditto.
258 * coff-solib.c (coff_solib_add): If readsyms is zero don't read
259 symbols but do any other needed work for shared libs.
260 * irix5-nat.c: Ditto.
261 * osfsolib.c (solib_add): Ditto.
262 * solib.c (solib_add): Ditto.
263 * win32-nat.c (child_solib_add): Ditto.
264 * xcoffsolib.c (solib_add): Ditto.
266 * irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to
267 solib_add to force reading of shared library symbols.
268 * osfsolib.c (sharedlibrary_command;): Ditto.
269 * pa64solib.c (pa64_solib_sharedlibrary_command): Ditto.
270 * solib.c (sharedlibrary_command): Ditto.
271 * somsolib.c (som_solib_sharedlibrary_command): Ditto.
272 * xcoffsolib.c (sharedlibrary_command): Ditto.
274 * coff-solib.c (coff_solib_create_inferior_hook): Call solib_add
275 unconditionally with auto_solib_add.
276 * irix5-nat.c (solib_create_inferior_hook): Ditto.
277 * osfsolib.c (solib_create_inferior_hook): Ditto.
278 * solib.c (solib_create_inferior_hook): Ditto.
279 * solib-osf.c (osf_solib_create_inferior_hook): Ditto.
280 * solib-svr4.c (enable_break): Ditto.
281 * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
283 * corelow.c (solib_add_stub): Add auto_solib_add to args passed
285 * sol-thread.c (sol_thread_attach): Ditto.
286 * config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto.
288 * infcmd.c (attach_command): Remove auto_solib_add decl.
289 Call SOLIB_ADD directly with auto_solib_add.
290 * infrun.c (handle_inferior_event): Ditto.
292 * coff-solib.h (SOLIB_ADD): Add readsyms arg.
293 * pa64solib.h (SOLIB_ADD): Ditto.
294 * solib.h (SOLIB_ADD): Ditto.
295 * somsolib.h (SOLIB_ADD): Ditto.
296 * config/i386/tm-cygwin.h (SOLIB_ADD): Ditto.
298 * fork-child.c (clone_and_follow_inferior): Remove unused
301 * pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms.
302 (read_dld_descriptor): Ditto.
303 (pa64_solib_add): Call read_dld_descriptor with readsyms.
304 (pa64_solib_in_dynamic_linker): Ditto.
306 * corelow.c (symfile.h): Need this for auto_solib_add declaration.
307 * sol-thread.c (symfile.h): Ditto.
309 2001-10-31 Andrew Cagney <ac131313@redhat.com>
311 * s390-nat.c (s390_remove_watchpoint): Use xfree.
312 (s390_insert_watchpoint): Use xmalloc.
314 2001-10-31 Andrew Cagney <ac131313@redhat.com>
316 * varobj.c: Replace value_ptr with ``struct value *''.
318 2001-10-31 Andrew Cagney <ac131313@redhat.com>
320 * varobj.c: Re-indent.
322 2001-10-31 Andrew Cagney <ac131313@redhat.com>
324 * x86-64-tdep.c (value_push, x86_64_push_arguments): Replace
325 ``value_ptr'' with ``struct value *''.
326 * s390-tdep.c (s390_push_arguments): Ditto.
328 2001-10-30 Andrew Cagney <ac131313@redhat.com>
330 * ppc-tdep.h: Add #ifndef wrapper. Replace value_ptr with
332 (struct frame_info, struct value): Add opaque declarations.
334 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
336 * arch-utils.c (generic_in_solib_call_trampoline): New function.
337 * arch-utils.h (generic_in_solib_call_trampoline): Extern declaration.
338 * gdbarch.c: Regenerated from gdbarch.sh.
340 * gdbarch.sh (function_list): Add `IN_SOLIB_CALL_TRAMPOLINE' definition.
341 * infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Remove macro.
343 2001-10-31 Andrew Cagney <ac131313@redhat.com>
346 * s390-tdep.c: (s390_gdbarch_init): Don't initialize
347 find_solib_trampoline_target.
349 2001-10-31 Andrew Cagney <ac131313@redhat.com>
351 * remote-vx.c (net_wait): Fix typo from PIDGET change.
353 2001-10-31 Mark Kettenis <kettenis@gnu.org>
355 * config/i386/tm-i386.h (REGISTER_NAMES): Remove.
356 (REGISTER_NAME): New define.
357 (i386_register_name): New prototype.
358 * i386-tdep.c (i386_register_names): New variable.
359 (i386_register_name): New function.
360 * config/i386/tm-i386os9k.h, config/i386/tm-ptx.h,
361 config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of
364 2001-10-31 Christopher Faylor <cgf@redhat.com>
366 * win32-nat.c (register_loaded_dll): Attempt to ensure that the case of
367 the loaded DLL matches the on-disk case since the debugging API does
368 not seem to ensure this. Calculate max name length here.
369 (handle_load_dll): Move max name length calculation to
372 2001-10-31 Daniel Jacobowitz <drow@mvista.com>
374 * arm-linux-nat.c: Include <asm/ptrace.h> explicitly.
376 2001-10-30 Keith Seitz <keiths@redhat.com>
378 * wrapper.h (gdb_value_struct_elt): New function.
379 * wrapper.c (gdb_value_struct_elt): Ditto.
380 (do_captured_value_struct_elt): Ditto.
382 2001-10-30 Andrew Cagney <ac131313@redhat.com>
384 * README, NEWS: Update for 5.1.
386 2001-10-30 Andrew Cagney <ac131313@redhat.com>
388 * configure.in (WERROR_CFLAGS): Use AC_TRY_COMPILE to test the
390 * configure: Re-generate.
392 2001-10-30 Fred Fish <fnf@redhat.com>
394 * somsolib.c (som_solib_add): A megabyte is 1024*1024 bytes.
395 * pa64solib.c (add_to_solist): Ditto.
396 * win32-nat.c (_initialize_inftarg): Remove unnecessary
397 initialization of auto_solib_add, it defaults to 1.
399 2001-10-27 Fred Fish <fnf@redhat.com>
401 * symfile.c (auto_solib_add): Update comment to note that
402 this variable is now just used as a boolean to control shlib
403 autoloading, and clarify when it is used.
404 * symfile.h (auto_solib_add): Ditto.
406 * symfile.c (auto_solib_limit): New variable that holds the
407 autoloading threshold instead of overloading auto_solib_add.
408 * symfile.h (auto_solib_limit): Ditto.
410 * irix5-nat.c (_initialize_solib): Change auto-solib-add
411 variable from var_zinteger to var_boolean and update help.
412 * osfsolib.c (_initialize_solib): Ditto.
413 * pa64solib.c (_initialize_pa64_solib): Ditto.
414 * solib.c (_initialize_solib): Ditto.
415 * somsolib.c (_initialize_som_solib): Ditto.
416 * xcoffsolib.c (_initialize_solib): Ditto.
418 * pa64solib.c (pa64_solib_total_st_size): Update comment to
419 note that the new auto_solib_limit variable is used instead
420 of overloading auto_solib_add variable.
421 (_initialize_pa64_solib): Ditto.
422 * somsolib.c (som_solib_total_st_size): Ditto.
423 (_initialize_som_solib): Ditto.
425 * pa64solib.c (_initialize_pa64_solib): Add new set/show
426 commands for auto-solib-limit variable.
427 * somsolib.c (_initialize_som_solib): Ditto
429 * pa64solib.c (add_to_solist): Check that auto_solib_add is
430 set and use auto_solib_limit as the threshold size instead
432 * somsolib.c (som_solib_add): Ditto, and also change warning
433 text about size threshold exceeded.
435 2001-10-21 Mark Kettenis <kettenis@gnu.org>
437 * config/i386/tm-i386v.h: Don't include "regcache.h".
438 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, FRAME_CHAIN,
439 FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_NUM_ARGS):
440 Remove macros. The versions from "tm-i386.h" should work fine
441 (and in most cases even better).
443 2001-10-30 Mark Kettenis <kettenis@gnu.org>
445 * i386-tdep.c (i386_extract_return_value): Use
446 convert_typed_floating to extract floating-point value from
448 (i386_store_return_value): Use convert_typed_floating to store
449 floating-point return balue in register buffer
450 (i386_register_virtual_type): Change type of floating-point
451 registers to builtin_type_i387_ext.
452 (i386_register_convert_to_virtual): Use convert_typed_floating to
454 (i386_register_convert_to_raw): Likewise.
456 2001-10-29 Mark Kettenis <kettenis@gnu.org>
458 * doublest.h (convert_typed_floating): New prototype.
459 * doublest.c (convert_typed_floating): New function.
461 2001-10-28 Mark Kettenis <kettenis@gnu.org>
463 * doublest.c: Improve comments a bit.
464 (floatformat_from_length): New function.
465 (NAN): Define to 0.0 if not already defined.
466 (extract_floating): Rewrite to use floatformat_from_length. Warn
467 instead of error if LEN doesn't match a known floating-point type,
468 and return NaN (or 0.0 if NaN isn't available) in that case.
469 (store_floating): Likewise, but zero out the target byte-stream if
470 LEN doesn't match a known floating-point type.
471 (extract_typed_floating): Reformat a bit.
472 (store_typed_floating): Reformat a bit. Add comment about zeroing
473 out padding in the target buffer.
474 * doublest.h (extract_floating, store_floating): Fix comment about
475 deprecation of these functions. Add parameter names to prototypes.
477 2001-10-28 Mark Kettenis <kettenis@gnu.org>
479 * i387-tdep.c (print_i387_value): Use extract_typed_floating to
480 convert RAW to a DOUBLEST instead of extract_floating.
482 * gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
483 builtin_type_i387_ext to floatformat_i387_ext.
485 2001-10-24 Daniel Jacobowitz <drow@mvista.com>
487 * arm-linux-nat.c (fill_gregset): Do not check register_valid[].
488 (fill_fpregset): Likewise.
490 2001-10-26 Orjan Friberg <orjanf@axis.com>
492 * cris-tdep.c (constraint): Loop through the whole cris_spec_regs
493 struct, not just the NUM_SPECREGS first entries.
494 (bdap_prefix): Read PC before autoincrement.
496 2001-10-24 Corinna Vinschen <vinschen@redhat.com>
498 * win32-nat.c (DebugSetProcessKillOnExit): New static function
499 pointer to Windows' DebugSetProcessKillOnExit() function.
500 (DebugActiveProcessStop): Ditto for DebugActiveProcessStop().
501 (has_detach_ability): New function.
502 (child_attach): If system has detach ability, enable it.
503 (child_detach): If system has detach ability, actually
505 Change tty output to Linux format.
507 2001-10-23 Jim Blandy <jimb@redhat.com>
509 Isolate STABS readers' use of the `textlow' and `texthigh' fields
510 of `struct partial_symtab' to only a few locations. This change
511 is not supposed to affect the way the values are computed, only
514 * dbxread.c (struct symloc): Add `textlow' and `texthigh' fields
515 to the reader-specific structure.
516 * mdebugread.c (struct symloc): Same.
517 * dbxread.c (TEXTLOW, TEXTHIGH): New accessor macros.
518 * mdebugread.c (TEXTLOW, TEXTHIGH): Same.
519 * dbxread.c (dbx_symfile_read): After we've built all our partial
520 symbol tables, set each partial symtab's `textlow' and `texthigh'
521 fields from our reader-specific structure.
522 * mdebugread.c (mdebug_build_psymtabs): Same.
523 * dbxread.c (start_psymtab): Initialize the reader-specific
524 structure's `textlow' and `texthigh' from the new psymtab's.
525 * mdebugread.c (parse_partial_symbols, new_psymtab): Same.
526 * dbxread.c (read_dbx_symtab, end_psymtab, read_ofile_symtab): Use
527 the reader-specific `textlow' and `texthigh', not the generic
529 * mdebugread.c (parse_lines, parse_partial_symbols,
530 psymtab_to_symtab_1): Same.
531 * partial-stab.h: Same.
533 Tue Oct 23 18:59:42 2001 Andrew Cagney <cagney@redhat.com>
535 * hp-psymtab-read.c, hppah-nat.c, hppa-tdep.c: Fix -Wformat
538 Tue Oct 23 14:16:10 2001 Andrew Cagney <cagney@redhat.com>
540 * somsolib.c (som_solib_add): Use core_addr_to_host_pointer.
541 (som_solib_desire_dynamic_linker_symbols): Compare integers with
543 * hp-psymtab-read.c (hpread_call_pxdb): Make parameter constant.
545 2001-10-21 Andrew Cagney <ac131313@redhat.com>
547 * top.c (print_gdb_version): Do not print ``(MI_OUT)''. MI
548 interface is always enabled.
550 2001-10-21 Andrew Cagney <ac131313@redhat.com>
552 * Makefile.in: Replace top.h with $(top_h). Replace expression.h
553 with $(expression_h). Replace command.h with $(command_h).
554 (language_h): Define. Replace language.h with $(language_h).
555 Replace call-cmds.h with $(call_cmds_h). Replace varobj.h with
557 (wrapper_h, valprint_h, objfiles_h, complaints_h): Ditto.
558 (serial_h, hpread_h, buildsym_h, stabsread_h): Ditto.
559 (xcoffsolib_h, gdb_stabs_h, linespec_h): Ditto.
560 (bcache_h, gdb_events_h, monitor_h): Ditto.
561 (ser_unix_h, source_h): Ditto.
562 (varobj_h): Update list.
564 * call-cmds.h: Add CALL_CMDS_H macro wrapper.
565 * solist.h: Add SOLIST_H macro wrapper.
566 * monitor.h: Add MONITOR_H macro wrapper.
567 * typeprint.h: Add TYPEPRINT_H macro wrapper.
568 * xcoffsolib.h: Add XCOFFSOLIB_H macro wrapper.
569 * valprint.h: Add VALPRINT_H macro wrapper.
570 * top.h: Add TOP_H macro wrapper.
572 2001-10-21 Andrew Cagney <ac131313@redhat.com>
574 * config/a29k/tm-vx29k.h, i386-tdep.c: Include "value.h".
575 * arm-tdep.c, exec.c, ia64-tdep.c, infrun.c: Ditto.
576 * ppc-linux-tdep.c, remote-es.c, remote.c: Ditto.
577 * rs6000-tdep.c, s390-tdep.c, x86-64-tdep.c: Ditto.
578 * Makefile.in (arm-tdep.o, exec.o, i386-tdep.o, ia64-tdep.o)
579 (infrun.o, ppc-linux-tdep.o, remote.o, rs6000-tdep.o)
580 (x86-64-tdep.o): Update dependencies.
581 * gdbarch.sh [!GDB_MULTI_ARCH]: Include "value.h".
582 * gdbarch.h, gdbarch.c: Re-generate.
584 2001-10-21 Mark Kettenis <kettenis@gnu.org>
586 * infptrace.c (child_xfer_memory): Fix a few coding standards
589 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
591 * config/djgpp/README: Fix a typo and tweak for GDB 5.1.
593 2001-10-20 Andrew Cagney <ac131313@redhat.com>
595 * jv-lang.h: Add #ifndef JV_LANG_H wrapper.
596 (struct value): Add opaque declaration. Replace value_ptr with
598 * jv-valprint.c, jv-lang.c: Replace value_ptr with equivalent
601 * wrapper.h (struct value): Add opaque declaration. Replace
602 value_ptr with ``struct value *''.
603 * wrapper.c: Replace value_ptr with ``struct value *''.
604 * breakpoint.h, breakpoint.c: Ditto.
605 * cp-abi.h, hpacc-abi.c, gnu-v2-abi.c, cp-abi.c: Ditto.
607 2001-10-20 Andrew Cagney <ac131313@redhat.com>
609 * alpha-nat.c: Include <alpha/coreregs.h> instead of
611 (fetch_osf_core_registers): Define core_reg_mapping in a way that
612 works on OSF5 as well as previous OSF versions.
614 2001-10-20 Christopher Faylor <cgf@redhat.com>
616 * win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin
617 may not be able to read them in certain situations.
619 2001-10-18 Andrew Cagney <ac131313@redhat.com>
621 * config/powerpc/nbsd.mt (SIM_OBS, SIM): Define.
622 * config/powerpc/linux.mt (SIM, SIM_OBS): Ditto
624 2001-10-18 Andrew Cagney <ac131313@redhat.com>
626 * README: Mention problems with HP/UX.
628 2001-10-16 Andrew Cagney <ac131313@redhat.com>
630 Based on code by John Moore <jmore@redhat.com>:
632 * utils.c (core_addr_to_string): New function for conversion of
634 (string_to_core_addr): New function to convert from string to
636 * defs.h: Added extern statements for the above.
638 2001-10-17 Jason Molenda (jason-cl@molenda.com)
640 * symtab.c (lookup_block_symbol): Break out of linear search
641 if we're past the range of possible matches.
643 2001-10-16 Christopher Faylor <cgf@redhat.com>
645 * win32-nat.c (safe_symbol_file_add_stub): Improve logic for avoiding
646 load of already loaded DLL.
647 (register_loaded_dll): Convert loaded DLL name to "posix" format or it
648 will confuse subsequent opening of the filename due to dos paths.
649 (dll_symbol_command): Pass from_tty parameter to safe_symbol_file_add.
651 2001-10-15 Elena Zannoni <ezannoni@redhat.com>
653 * symtab.c (lookup_block_symbol): Update comment.
655 2001-10-15 Andrew Cagney <ac131313@redhat.com>
657 * value.h (value_as_address): Rename value_as_pointer.
658 * eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c,
659 jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c,
662 202001-10-15 Jim Ingham <jingham@inghji.apple.com>
664 * valarith.c (value_sub): Don't pass a raw type to
665 value_from_pointer, it has to go through check_typedef first.
667 2001-10-15 Andrew Cagney <ac131313@redhat.com>
669 * gdbarch.sh (fallbackdefault): Set to one when predefault is
671 * gdbarch.h: Regenerate.
673 2001-10-15 Andrew Cagney <ac131313@redhat.com>
675 * mips-tdep.c (mips_integer_to_address): New function.
676 (mips_gdbarch_init): Initialize pointer_to_address,
677 address_to_pointer and integer_to_address.
679 * config/mips/tm-mips.h (POINTER_TO_ADDRESS): Delete
680 (ADDRESS_TO_POINTER): Delete.
682 * d10v-tdep.c (d10v_integer_to_address): New function.
683 (d10v_gdbarch_init): Initialize integer_to_address.
685 * values.c (value_as_pointer): Use INTEGER_TO_ADDRESS when
688 * gdbarch.sh (INTEGER_TO_ADDRESS): New predicate and function.
689 * gdbarch.h, gdbarch.c: Regenerate.
691 2001-10-14 Mark Kettenis <kettenis@gnu.org>
693 * config/s390/nm-linux.h: Don't include <signal.h>.
694 (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
695 GET_THREAD_SIGNAL): Remove.
697 * config/nm-linux.h (struct objfile): Remove forward declaration.
698 (linuxthreads_new_objfile): Remove prototype.
699 (linuxthreads_pid_to_str): Remove prototype.
700 (PREPARE_TO_PROCEED): Redefine in terms of
701 lin_lwp_prepare_to_proceed.
702 (struct target_waitstatus): Forward declaration.
703 (child_wait): New prototype.
704 (CHILD_WAIT): Define.
705 (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
706 GET_THREAD_SIGNAL): Moved here from arch-specific files.
707 * config/alpha/nm-linux.h, config/arm/nm-linux.h,
708 config/ia64/nm-linux.h, config/mips/nm-linux.h,
709 config/powerpc/nm-linux.h: Don't include <signal.h>.
710 (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
711 GET_THREAD_SIGNAL): Remove.
712 * config/i386/nm-linux.h: Likewise.
713 (struct target_waitstatus, child_wait, CHILD_WAIT): Remove.
714 * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES):
715 Remove linux-thread.o. Add proc-service.o, thread-db.o and
717 (LOADLIBES): New variable.
719 * sparc-nat.c (fetch_core_registers): Remove redundant prototype.
721 * proc-service.c (BUILD_LWP): Redefine in terms of ptid_build.
723 Fix attaching to cloned processes. This fixes PR gdb/61.
724 * lin-lwp.c (struct lwp_info): Add new member `cloned'.
726 (lin_lwp_attach_lwp): Don't call stop_wait_callback. Instead call
727 waitpid explicitly. Mark the LWP as cloned if waitpid fails and
728 retry with __WCLONE flag.
729 (lin_lwp_attach): Likewise. Warn if attaching to a cloned process.
730 (detach_callback): Replace use of is_cloned with explicit check on
731 LWP id and process id.
732 (stop_wait_callback): Replace use of is_cloned with check if LWP
734 [CHILD_WAIT] (child_wait): New function.
735 (lin_lwp_wait): Replace use of is_cloned with check if LWP is
736 marked as cloned. Mark newly detected LWPs as cloned if detected
737 by waitpid with __WCLONE flag.
738 (kill_wait_callback): Replace use of is_cloned with check if LWP
740 * config/i386/nm-linux.h (struct target_waitstatus): Add forward
742 (child_wait): Add prototype.
743 (CHILD_WAIT): Define.
745 2001-10-13 Andrew Cagney <ac131313@redhat.com>
747 S/390 31 & 64 bit target and GNU/Linux native support.
748 Contributed by D.J. Barrow <djbarrow@de.ibm.com> of IBM.
749 * s390-nat.c, s390-tdep.c: New file.
750 * config/s390/nm-linux.h, config/s390/s390.mh: New file.
751 * config/s390/s390.mt, config/s390/s390x.mt: New file.
752 * config/s390/tm-linux.h, config/s390/tm-s390.h: New file.
753 * config/s390/xm-linux.h: New file.
755 * MAINTAINERS: Update.
757 2001-10-13 Andrew Cagney <ac131313@redhat.com>
759 From 2001-07-09 D.J. Barrow <djbarrow@de.ibm.com>:
760 * gdbarch.sh: Fixed CALL_DUMMY_BREAKPOINT_OFFSET to check
761 CALL_DUMMY_BREAKPOINT_OFFSET_P.
762 * gdbarch.c: Regenerate.
764 2001-10-13 Mark Kettenis <kettenis@gnu.org>
766 * thread-db.c: Fix a few formatting mistakes.
768 2001-10-12 Christopher Faylor <cgf@redhat.com>
770 * win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked
771 list pointer to beginning rather than one beyond beginning.
773 2001-10-12 Daniel Jacobowitz <drow@mvista.com>
775 * symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro.
777 * symtab.c (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
778 (make_symbol_completion_list): Likewise.
779 (make_symbol_overload_list): Likewise.
780 * buildsym.c (finish_block): Likewise.
781 * breakpoint.c (get_catch_sals): Likewise.
782 * mdebugread.c (mylookup_symbol): Likewise.
783 * objfiles.c (objfile_relocate): Likewise.
784 * printcmd.c (print_frame_args): Likewise.
785 * stack.c (print_block_frame_locals): Likewise.
786 (print_block_frame_labels): Likewise.
787 (print_frame_arg_vars): Likewise.
788 * symmisc.c (dump_symtab): Likewise.
789 * tracepoint.c (add_local_symbols): Likewise.
790 (scope_info): Likewise.
792 2001-10-12 Daniel Jacobowitz <drow@mvista.com>
794 * minsyms.c (msymbol_hash): Use better hash function.
795 (msymbol_hash_iw): Likewise. Terminate loop at '(' properly.
797 * objfiles.h: Increase MINIMAL_SYMBOL_HASH_SIZE to match modern
800 2001-10-12 Daniel Jacobowitz <drow@mvista.com>
802 * printcmd.c (print_frame_args): Move symbol iteration explicitly
803 inside the func != NULL block.
805 2001-10-12 Fernando Nasser <fnasser@redhat.com>
807 * MAINTAINERS (Misc): Add Ian Roxborough as tcl/, tk/ and itcl/
810 2001-10-12 Pierre Muller <muller@ics.u-strasbg.fr>
812 * config/i386/tm-cygwin.h: Include tm-i386.h instead of tm-i386v.h.
813 This fixes errors in "long long" handling for 'finish' and 'return'
816 2001-10-12 Christopher Faylor <cgf@redhat.com>
818 * win32-nat.c (safe_symbol_file_add_stub): Avoid adding a shared
819 library if it has already been loaded.
820 (safe_symbol_file_add_cleanup): Don't mess with stderr or we won't see
822 (safe_symbol_file_add): Ditto.
823 (solib_symbols_add): Make static. Accept 'from_tty' parameter. Pass
824 it to safe_symbol_file_add.
825 (core_dll_symbols_add): Accomodate extra solib_symbols_add parameter.
826 (child_solib_add): Ditto.
828 * win32-nat.c (handle_exception): Don't print "first chance"
830 (get_child_debug_event): Continue from exceptions if !handle_exception.
832 2001-10-11 Tom Tromey <tromey@redhat.com>
834 * symtab.c (lookup_symtab): Removed.
835 (lookup_symtab_1): Renamed to lookup_symtab.
837 2001-10-10 Christopher Faylor <cgf@redhat.com>
839 * win32-nat.c (get_child_debug_event): Close file handles created after
840 process creation and DLL load.
841 (child_create_inferior): Close unneeded process/thread handle after
844 2001-10-10 Jim Blandy <jimb@redhat.com>
846 * mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
848 2001-10-10 Keith Seitz <keiths@redhat.com>
850 * varobj.c (cplus_value_of_child): Deal with a failure
851 to dereference a pointer object.
853 2001-10-08 J. Brobecker <brobecker@gnat.com>
855 * hpux-thread.c: rewrite find_active_thread() and find_tcb()
856 to use ptid_t, instead of overloading the thread and the pid
857 into the same 32-bit value. Make associated necessary adaptations.
858 Also remove unused variable cached_active_thread.
860 2001-10-08 Nicholas Duffek <nsd@redhat.com>
862 * MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove my
865 2001-10-06 Mark Kettenis <kettenis@beast.freebsd.org>
867 * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.
869 2001-10-04 Tom Tromey <tromey@redhat.com>
871 * main.c (enable_external_editor): Don't declare.
872 (captured_main): Don't set enable_external_editor.
874 2001-10-02 Kevin Buettner <kevinb@redhat.com>
876 * Makefile.in (ALLDEPFILES): Add solib-svr4.c and solib-sunos.c
878 (solib-sunos.o): Add dependencies.
879 (solib-svr4.o): Revise dependencies.
880 * solib-svr4.c: Remove SunOS shared library support.
881 * solib-sunos.c: New file, created from solib-svr4.c, which still
882 contains SunOS shared library support, but no SVR4 support.
884 * config/i386/nbsd.mh (NATDEPFILES): Remove solib-svr4.o and
885 solib-legacy.o from this list. Add solib-sunos.o.
886 * config/i386/sun386.mt (TDEPFILES): Likewise.
887 * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
888 * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
889 * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
890 * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
891 * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
892 * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
894 2001-10-01 Elena Zannoni <ezannoni@redhat.com>
896 * Makefile.in (mipsread.o): Remove old dependency on partial-stab.h.
898 2001-10-01 Elena Zannoni <ezannoni@redhat.com>
900 * xcoffread.c (N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_COMM, N_FN,
901 N_EXT, N_INDR, N_SETA, N_SETT, N_SETD, N_SETB, N_SETV,
902 CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB, END_PSYMTAB,
903 SET_NAMESTRING): Delete definitions.
904 Don't include language.h any more.
905 Don't include partial-stab.h any more.
906 (scan_xcoff_symtab): Don't jump through hoops to reuse code in
907 partial-stab.h, include the code directly, instead.
909 * Makefile.in (xcoffread.o): Remove dependency on partial-stab.h.
911 2001-10-01 Andrew Cagney <ac131313@redhat.com>
913 * infcmd.c (do_registers_info): Delete code dumping large
914 registers. Handled by val_print.
916 2001-09-30 Andrew Cagney <ac131313@redhat.com>
918 * gdbarch.sh (gdbarch_alloc): Name the new architecture
919 ``current_gdbarch'' so that it, and not the identically named
920 global is refered to by macros.
921 * gdbarch.c: Regenerate.
923 2001-09-29 Andrew Cagney <ac131313@redhat.com>
925 * cli/cli-decode.c (add_set_boolean_cmd): Define.
926 * cli/cli-decode.h (add_set_boolean_cmd): Declare.
927 * command.h (add_set_boolean_cmd): Ditto.
928 * remote.c (_initialize_remote): Use add_set_boolean_cmd for "set
931 2001-09-29 Andrew Cagney <ac131313@redhat.com>
933 * gdbarch.sh (gdbarch_dump): Sort output.
934 * gdbarch.c: Regenerate.
936 2001-09-29 Andrew Cagney <ac131313@redhat.com>
938 * rs6000-tdep.c (rs6000_gdbarch_init): Don't use the previous
939 architecture to infer the wordsize. Previous architecture may not
942 2001-09-27 J. Brobecker <brobecker@gnat.com>
944 * infttrace.c (kill_inferior): Issue a TT_PROC_EXIT request rather
945 than a TT_PROC_STOP request to kill the inferior and its child
946 processes. Otherwise, the inferior is not killed on HPUX 11.0.
947 Removed the code that detaches the child processes since we just
950 2001-09-26 Andrew Cagney <ac131313@redhat.com>
952 * serial.c (serial_set_cmdlist, serial_show_cmdlist): New
954 (serial_set_cmd, serial_show_cmd): New functions.
955 (_initialize_serial): Add "set/show serial" command.
957 2001-09-26 Andrew Cagney <ac131313@redhat.com>
959 * CONTRIBUTE: Update.
961 2001-09-26 Kevin Buettner <kevinb@redhat.com>
963 * solib-svr4.h (set_solib_svr4_fetch_link_map_offsets): Add
964 argument ``gdbarch''.
965 * solib-svr4.c (SVR4_FETCH_LINK_MAP_OFFSETS): Change default value.
966 (default_svr4_fetch_link_map_offsets): Rename to
967 legacy_fetch_link_map_offsets().
968 (svr4_fetch_link_map_offsets): New function.
969 (fetch_link_map_offsets, fetch_link_map_offsets_init): Deleted.
970 (fetch_link_map_offsets_gdbarch_data): New static global.
971 (set_solib_svr4_fetch_link_map_offsets): Add argument ``gdbarch''.
972 Revise to invoke set_gdbarch_data().
973 (init_fetch_link_map_offsets): Change return type and add an
974 argument so that it may be used as a gdbarch_data initializer.
975 (_initialize_svr4_solib): Eliminate use of gdbarch swap mechanism.
976 Use gdbarch data mechanism instead.
978 2001-09-25 Jiri Smid <smid@suse.cz>
980 * x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
981 (x86_64_linux_sigcontext_addr): Replace `sizeof (struct siginfo)'
982 by LINUX_SIGINFO_SIZE.
984 2001-09-24 Andrew Cagney <ac131313@redhat.com>
986 * maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
988 (maintenance_set_profile_cmd): New function.
989 (maintenance_show_cmd, maintenance_set_cmd): New functions.
990 (_initialize_maint_cmds): Add "maintenance set" and "maintenance
991 show" and, commented out, "maintenance set/show profile" commands.
993 2001-09-24 Andrew Cagney <ac131313@redhat.com>
995 * findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
996 convert the pointer into a CORE_ADDRs.
998 2001-09-24 Andrew Cagney <ac131313@redhat.com>
1000 * doublest.h (store_floating, extract_floating): Add comment
1001 indicating these functions are deprecated.
1002 (extract_typed_floating, store_typed_floating): Declare.
1003 * doublest.c: Include "gdbtypes.h".
1004 (extract_typed_floating, store_typed_floating): Define.
1006 * stabsread.c (define_symbol): Use store_typed_floating.
1007 * valarith.c (value_binop): Ditto.
1008 * values.c (unpack_long): Use extract_typed_floating.
1009 (unpack_double): Ditto.
1011 2001-09-24 Orjan Friberg <orjanf@axis.com>
1013 * cris-tdep.c (reg_mode_add_sub_cmp_and_or_move_op): Fetch operand1
1014 from correct register.
1016 2001-09-22 Mark Kettenis <kettenis@gnu.org>
1018 * x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.
1020 2001-09-21 Jiri Smid <smid@suse.cz>
1022 * config/i386/x86-64linux.mh: New file.
1023 * config/i386/x86-64linux.mt: New file.
1024 * config/i386/nm-x86_64.h: New file.
1025 * x86-64-linux-tdep.c: New file.
1026 * x86-64-linux-nat.c: New file.
1027 * x86-64-tdep.c: New file.
1028 * x86-64-tdep.h: New file.
1029 * i386-tdep.h: New file.
1030 * i387-nat.c: Include i386-tdep.h when multiarch.
1031 * i387-tdep.c: Ditto.
1032 * config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
1033 and x86_64-linux-nat.c
1034 * Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
1035 x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
1037 2001-09-21 Jiri Smid <smid@suse.cz>
1039 * MAINTAINERS: Add myself to the write-after-approval list.
1040 * i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
1041 (i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
1042 i386_insert_watchpoint, i386_remove_watchpoint): Add support for
1043 8-byte wide watchpoints.
1044 (i386_show_dr): Debug message format string change.
1046 2001-09-21 Michael Snyder <msnyder@redhat.com>
1048 * c-exp.y (typebase): Accept (signed long long) as a type expr.
1050 2001-09-20 Michael Snyder <msnyder@redhat.com>
1051 Changes by Daniel Berlin <dan@cgsoftware.com>, to support
1052 better parsing of const and volatile type expressions.
1053 * c-exp.y (const_and_volatile, const_or_volatile_noopt,
1054 const_or_volatile): New non-terminals.
1055 (ptype): Use new rule for const_or_volatile.
1056 (typebase): Use new rule for const_or_volatile_noopt.
1057 * parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
1058 * parse.c (follow_types): Handle tp_const and tp_volatile on the
1059 type stack: call make_cv_type to create new const/volatile type.
1061 2001-09-20 Kevin Buettner <kevinb@redhat.com>
1063 * solib-svr4.c (fetch_link_map_offsets): Add comment.
1064 (fetch_link_map_offsets_init): New static global.
1065 (set_solib_svr4_fetch_link_map_offsets, init_fetch_link_map_offsets):
1066 Revise implementation to use ``fetch_link_map_offsets_init''
1067 instead of ``fetch_link_map_offsets''.
1069 2001-09-20 Alan Modra <amodra@bigpond.net.au>
1071 * coffread.c: Replace all occurrences of bfd_read with bfd_bread.
1072 * dbxread.c: Likewise.
1073 * dwarf2read.c: Likewise.
1074 * dwarfread.c: Likewise.
1075 * somread.c: Likewise.
1076 * ultra3-nat.c: Likewise.
1077 * xcoffread.c: Likewise.
1079 2001-09-19 Andrew Cagney <ac131313@redhat.com>
1081 * cris-tdep.c (cris_get_signed_offset): Change return type to an
1082 explicitly signed char.
1084 * config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
1085 function signature to match recent tracepoint.c:encode_actions
1087 * mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.
1089 2001-09-18 Andrew Cagney <ac131313@redhat.com>
1091 * thread.c (do_captured_thread_select): Add uiout parameter.
1092 (do_captured_list_thread_ids): Ditto.
1093 * breakpoint.c (do_captured_breakpoint_query): Ditto.
1095 * breakpoint.c (gdb_breakpoint_query): Update. Use
1097 * thread.c (gdb_list_thread_ids): Ditto.
1098 (gdb_thread_select): Ditto.
1099 (thread_command): Pass uiout to gdb_thread_select.
1101 * gdb.h (gdb_breakpoint_query): Add parameter ui_out.
1102 (gdb_thread_select, gdb_list_thread_ids): Ditto.
1104 2001-09-13 Kevin Buettner <kevinb@redhat.com>
1106 From Ilya Golubev <gin@mo.msk.ru>:
1107 * solib.c (clear_solib): Call `remove_target_sections' to fix
1108 stale pointers in `struct target_ops'.
1109 * irix5-nat.c (clear_solib): Likewise.
1110 * osfsolib.c (clear_solib): Likewise.
1112 2001-09-13 Jim Blandy <jimb@redhat.com>
1114 * monitor.c (monitor_load): Don't delete symtab users, or reset
1117 * monitor.c (monitor_load): Fix indentation.
1119 2001-09-11 Jim Blandy <jimb@redhat.com>
1121 * printcmd.c (print_scalar_formatted): Compare the length of the
1122 value against the lengths of the target's floating-point types,
1123 not the host's. Add support for `long double'.
1125 * printcmd.c (print_scalar_formatted): Fix indentation.
1127 2001-09-10 Jim Blandy <jimb@redhat.com>
1129 * rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
1130 programs running on the board can produce output.
1132 2001-09-10 Jason Molenda (jmolenda@apple.com)
1134 * NEWS: "ANS/ISO C" -> "ISO C".
1135 * MAINTAINERS (write-after-approval): Update my entry.
1137 2001-09-08 Mark Kettenis <kettenis@gnu.org>
1139 * config/xm-aix4.h (MEM_FNS_DECLARED): Removed.
1141 * config/arm/xm-linux.h, config/ia64/xm-linux.h,
1142 config/m68k/xm-linux.h, config/mips/xm-linux.h,
1143 config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove
1144 redundant inclusion of <unistd.h>.
1146 * gdbtypes.h (struct block): Add forward declaration.
1148 2001-09-07 Andrew Cagney <ac131313@redhat.com>
1150 * defs.h (enum return_reason): Renumber so that all values are
1152 (RETURN_MASK): Negate reason.
1153 (catch_exception_ftype): Declare.
1154 (catch_exceptions): Declare.
1155 * top.c (catcher): New function, based on catch_errors. Add in
1156 parameter func_uiout and out parameters func_val, func_caught and
1157 func_cleanup. Change type of func to catch_exceptions_ftype.
1159 (struct catch_errors_args): Define.
1160 (do_catch_errors): New function.
1161 (catch_errors): Rewrite, use do_catch_errors and catcher.
1162 (catch_exceptions): New function, use catcher.
1164 2001-09-07 Jim Blandy <jimb@redhat.com>
1166 Correctly parse register values provided by the monitor.
1167 * rom68k-rom.c: #include "value.h".
1168 (is_hex_digit, hex_digit_value, is_whitespace,
1169 rom68k_supply_one_register): New static functions.
1170 (rom68k_supply_register): Call rom68k_supply_one_register, instead
1171 of monitor_supply_register; the latter was incorrectly parsing
1173 * Makefile.in (rom68k-rom.o): Note that this now #includes value.h.
1175 2001-09-07 Mark Kettenis <kettenis@gnu.org>
1177 * config/rs6000/xm-rs6000.h (setpgrp): Remove macro. GDB defaults
1178 to using setpgid if available now.
1180 2001-09-06 Keith Seitz <keiths@redhat.com>
1182 From Ian Roxborough <irox@redhat.com>
1183 * configure.in: Use ITCL_LIB_FULL_PATH and
1184 ITK_LIB_FULL_PATH to set Itcl and Itk dependancies
1186 * configure: Regenerated.
1188 2001-09-06 Kevin Buettner <kevinb@redhat.com>
1190 * dbxread.c (process_one_symbol): Don't use error result from
1191 find_stab_function_addr().
1192 * partial-stab.h (case 'F'): Likewise.
1194 * partial-stab.h (case 'f'): Make SOFUN_ADDRESS_MAYBE_MISSING
1195 code match that used for case 'F'. This fixes the divergence
1196 that was introduced by my 1999-09-14 changes to partial-stab.h.
1198 2001-09-05 Elena Zannoni <ezannoni@redhat.com>
1200 * gdbarch.sh: Move include of dis-asm.h so it is generated earlier
1202 (TARGET_PRINT_INSN): Multiarch.
1203 * gdbarch.h: Regenerate.
1204 * gdbarch.c: Regenerate.
1206 * arch-utils.c (legacy_print_insn): New function.
1207 * arch-utils.h (legacy_print_insn): Export.
1209 * cris-tdep.c (cris_delayed_get_disassembler): Use
1210 TARGET_PRINT_INSN, instead of tm_print_insn.
1211 * d10v-tdep.c (print_insn): Ditto.
1212 * d30v-tdep.c (print_insn): Ditto.
1213 * m32r-tdep.c (dump_insn): Ditto.
1214 * v850-tdep.c (v850_scan_prologue): Ditto.
1215 * mcore-tdep.c (mcore_dump_insn): Ditto.
1216 * sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.
1218 2001-09-05 Jim Blandy <jimb@redhat.com>
1220 * gdbtypes.h (struct type): Doc fix.
1222 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
1224 From Daniel Jacobowitz <drow@mvista.com>
1225 * dbxread.c (free_header_files): Make global.
1226 (init_header_files): Likewise.
1227 * stabsread.h (free_header_files): Add prototype.
1228 (init_header_files): Likewise.
1229 * mdebugread.c (mdebug_build_psymtabs): Initialize
1230 properly before using the stabs debug reader.
1232 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
1234 From Daniel Jacobowitz <drow@mvista.com>
1235 * dbxread.c (dbx_symfile_read): Only reinitialize
1236 the psymbol list if mainline or if both static
1237 and global lists are empty.
1238 * dwarf2read.c (dwarf2_build_psymtabs): Likewise.
1239 * dwarfread.c (dwarf_build_psymtabs): Likewise.
1240 * xcoffread.c (xcoff_initial_scan): Likewise.
1241 * os9kread.c (os9k_symfile_read): Likewise.
1243 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
1245 From Daniel Jacobowitz <drow@mvista.com>
1246 * mdebugread.c (psymtab_to_symtab_1): Handle N_SO stabs without
1249 2001-09-01 Mark Kettenis <kettenis@gnu.org>
1251 Make GDB use libiberty regex implementation.
1252 * gdb_regex.h: Normalize protection against multiple inclusion.
1253 Include "xregex.h" instead of "gnu-regex.h".
1254 * cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h".
1255 * cli/cli-decode.c: Likewise.
1256 * Makefile.in (REGEX): Remove.
1257 (GDB_CFLAGS): Remove reference to gnu-regex.h in comment.
1258 (ADD_FILES, ADD_DEPS): Remove $(REGEX).
1260 (TAGFILES_NO_SRCDIR): Remove $(POSSLIBS).
1261 (irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o,
1262 xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with
1263 gdb_regex.h in list of dependencies.
1264 (gnu-regex.o): Remove rule.
1265 * gnu-regex.c, gnu-regex.h: Remove files.
1267 2001-08-31 Jason Molenda (jmolenda@apple.com)
1269 * c-valprint.c (c_val_print): Second call to check_typedef ()
1270 is no longer necessary.
1272 2001-08-31 Kevin Buettner <kevinb@redhat.com>
1274 * ia64-tdep.c (examine_prologue): Don't let a branch unit nop
1275 terminate the prologue scan.
1277 2001-08-30 Jim Blandy <jimb@redhat.com>
1279 * symfile.c (sections_overlap): New function.
1280 (map_overlay_command): Call sections_overlap, instead of using
1281 incorrect logic to recognize overlapping sections.
1283 * symfile.c (load_command): Invalidate the overlay cache.
1285 2001-08-30 Mark Kettenis <kettenis@gnu.org>
1287 * config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed.
1289 2001-08-29 Kevin Buettner <kevinb@redhat.com>
1291 From 2001-08-07 Daniel Jacobowitz <drow@mvista.com>:
1292 * solib-svr4.c (enable_break): Check the inferior link map
1293 before assuming the inferior PC is at the start of the dynamic
1296 2001-08-28 Andrew Cagney <cagney@toribio.toronto.redhat.com>
1298 * frame.h (struct frame_info): Fix documentation on fields
1299 saved_regs, next and prev.
1301 2001-08-23 Mark Kettenis <kettenis@gnu.org>
1303 * event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: Some
1304 gratuitious whitespace changes.
1305 [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined.
1306 * top.c: Remove redundant logic to define HAVE_SIGSETMASK.
1307 (sigsetmask) Don't define macro.
1308 (stop_sig) [HAVE_SIGPROCMASK]: Add bit of code snatched from
1309 async_stop_sig from event-top.c.
1310 [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is
1312 * configure.in (AC_CHECK_FUNCS): Put functions in alphabetical
1313 order. Add sigsetmask.
1314 (AC_FUNC_VFORK, AC_FUNC_ALLOCA): Reorder such that they're in
1316 * config/xm-aix4.h, config/alpha/xm-alphalinux.h,
1317 config/i386/xm-cygwin.h, config/rs6000/xm-rs6000.h
1318 (HAVE_SIGSETMASK): Remove.
1319 * aclocal.m4, config.in, configure: Regenerated.
1321 2001-08-26 Andrew Cagney <ac131313@redhat.com>
1323 From 2001-06-29 Andrew Cagney <ac131313@redhat.com>:
1324 * config/powerpc/nbsd.mh (XM_FILE): Delete.
1326 2001-08-21 Andrew Cagney <ac131313@redhat.com>
1328 * doublest.h (HOST_FLOAT_FORMAT): Delete macro.
1329 (HOST_DOUBLE_FORMAT): Delete macro.
1331 2001-08-24 Mark Kettenis <kettenis@gnu.org>
1333 * config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h,
1334 config/i386/xm-i386aix.h, config/m68k/xm-dpx2.h: Remove redundant
1335 inclusion of <limits.h>.
1337 2001-08-24 Andrew Cagney <ac131313@redhat.com>
1339 * regcache.c (read_register_bytes): When REGISTER_NAME indicates
1340 that a register should be ignored, supply a value for the register
1341 from the raw registers[] buffer.
1343 2001-08-24 Andrew Cagney <ac131313@redhat.com>
1345 * go32-nat.c (go32_create_inferior): Use xfree instead of free.
1346 * config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and
1349 2001-08-21 Andrew Cagney <ac131313@redhat.com>
1351 * gdbtypes.h (builtin_type_ieee_single_big)
1352 (builtin_type_ieee_single_little, builtin_type_ieee_double_big)
1353 (builtin_type_ieee_double_little)
1354 (builtin_type_ieee_double_littlebyte_bigword)
1355 (builtin_type_i387_ext, builtin_type_m68881_ext)
1356 (builtin_type_i960_ext, builtin_type_m88110_ext)
1357 (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
1358 (builtin_type_arm_ext_littlebyte_bigword)
1359 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
1360 (builtin_type_ia64_quad_big)
1361 (builtin_type_ia64_quad_little): Declare.
1362 * gdbtypes.c (builtin_type_ieee_single_big)
1363 (builtin_type_ieee_single_little, builtin_type_ieee_double_big)
1364 (builtin_type_ieee_double_little)
1365 (builtin_type_ieee_double_littlebyte_bigword)
1366 (builtin_type_i387_ext, builtin_type_m68881_ext)
1367 (builtin_type_i960_ext, builtin_type_m88110_ext)
1368 (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
1369 (builtin_type_arm_ext_littlebyte_bigword)
1370 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
1371 (builtin_type_ia64_quad_big)
1372 (builtin_type_ia64_quad_little): Define.
1373 (_initialize_gdbtypes): Initialize builtin floatformat types.
1375 2001-08-23 Mark Kettenis <kettenis@gnu.org>
1377 * tracepoint.c (read_actions): Add FIXME for code depending on
1380 2001-08-23 Martin M. Hunt <hunt@redhat.com>
1382 * remote-mips.c (pmon_load_fast): Add ui_load_progress_hook
1384 (mips_load_srec): Ditto.
1386 2001-08-22 Andrew Cagney <ac131313@redhat.com>
1388 * gdbtypes.c (build_gdbtypes): Initialize TYPE_FLOATFORMAT field
1389 of builtin_type_float, builtin_type_double and
1390 builtin_type_long_double.
1391 (recursive_dump_type): Print the floatformat name.
1392 * gdbtypes.h (struct type): Add type_specific field floatformat.
1393 (TYPE_FLOATFORMAT): Define
1395 2001-08-21 Keith Seitz <keiths@redhat.com>
1397 * printcmd.c (print_insn): Use the given stream for
1400 2001-07-24 Andrew Cagney <ac131313@redhat.com>
1402 * arm-tdep.c (convert_from_extended, convert_to_extended): Delete
1403 assembler version of function.
1404 (convert_from_extended, convert_to_extended): Rewrite. Use
1405 floatformat_to_doublest, floatformat_from_doublest,
1406 floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword.
1407 (arm_push_arguments): Use extract_floating and store_floating to
1408 perform floating point conversions.
1409 (SWAP_TARGET_AND_HOST): Delete macro.
1410 * arm-linux-tdep.c (arm_linux_push_arguments): Use
1411 extract_floating and store_floating to perform floating point
1414 2001-08-20 Andrew Cagney <ac131313@redhat.com>
1416 * gdbtypes.h (struct type): Clarify meaning of field ``length''.
1418 2001-08-17 Keith Seitz <keiths@redhat.com>
1420 * varobj.c (varobj_update): Change first parameter to
1421 pointer to struct varobj*. This function can delete
1422 varobjs, so we need to give callers the new varobj
1424 (value_of_root): Update "var", too, if "var_handle"
1426 * varobj.h (varobj_update): Likewise.
1428 2001-08-17 Keith Seitz <keiths@redhat.com>
1430 * Makefile.in (varobj_h): Define.
1431 (mi-cmd-var.o): Depends on varobj_h.
1432 (gdbtk-varobj.o): Change varobj.h to $(varobj_h).
1434 2001-08-16 Keith Seitz <keiths@redhat.com>
1436 * configure.in (GDBTK_SRC_DIR): We must have autoconf
1437 give us the absolute path to the source directory.
1438 * configure: Regenerated.
1439 * Makefile.in (GDBTK_SRC_DIR): Add variable so that
1440 autoconf can substitue it in for us.
1441 (gdbtk.o): Pass in GDBTK_SRC_DIR instead of srcdir. We
1442 really do need an absolute pathname.
1444 2001-08-15 Keith Seitz <keiths@redhat.com>
1446 * Makefile.in (GDBTK_VERSION): Set a version number.
1447 (GDBTK_LIBRARY): New variable to point to location where
1448 gdbtk will install its tcl library. Changed all refereneces
1449 to $(datadir)/insight1.0 to $(GDBTK_LIBRARY).
1450 (SUBDIR_GDBTK_ALL): Remove "all-gdbtk". No longer needed.
1451 (SUBDIR_GDBTK_CLEAN): Remove "clean-gdbtk". No longer needed.
1452 (all-gdbtk): Remove.
1453 (install-gdbtk): Remove.
1454 (gdbtk.o): Pass srcdir to file when compiling.
1456 2001-08-15 Ian Roxborough <irox@redhat.com>
1458 * Makefile.in: Changed all references to the install directory
1459 "gdbtcl" to read "insight1.0".
1461 2001-08-15 Corinna Vinschen <vinschen@redhat.com>
1463 * arch-utils.c (generic_skip_trampoline_code): New function.
1464 * arch-utils.h (generic_skip_trampoline_code): Declare external.
1465 * gdbarch.c: Regeberated from gdbarch.sh.
1467 * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Multi-arch.
1468 * infrun.c: Remove default setting of SKIP_TRAMPOLINE_CODE macro.
1470 2001-08-14 Daniel Jacobowitz <drow@mvista.com>
1471 H.J. Lu (hjl@gnu.org)
1473 * partial-stab.h: valu should be a CORE_ADDR.
1475 2001-08-14 H.J. Lu (hjl@gnu.org)
1477 * dbxread.c (SWAP_SYMBOL): Removed.
1478 (INTERNALIZE_SYMBOL): Check sign extended vma.
1480 2001-08-13 Christopher Faylor <cgf@cygnus.com>
1482 * top.c (SIGSETJMP): Protect env argument with parentheses.
1483 (SIGLONGJMP): Protect env argument with parentheses.
1485 2001-08-11 Andrew Cagney <ac131313@redhat.com>
1487 * config/mn10300/mn10300.mt (TM_FILE): Delete.
1488 * configure.tgt: Add mn10300 to list of mulit-arch targets.
1489 * config/mn10300/tm-mn10300.h: Delete file. Move contents ...
1490 * mn10300-tdep.c: To here.
1492 2001-08-11 Andrew Cagney <ac131313@redhat.com>
1494 * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_VIRTUAL): Make
1495 val a DOUBLEST. Use floatformat_to_doublest.
1496 (REGISTER_CONVERT_TO_RAW): Ditto. Use foatformat_from_doublest.
1497 * config/m88k/tm-m88k.h (REGISTER_CONVERT_TO_VIRTUAL): Ditto.
1498 (REGISTER_CONVERT_TO_RAW): Ditto.
1500 2001-08-11 Andrew Cagney <ac131313@redhat.com>
1502 * config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
1503 * mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and
1506 2001-08-11 Andrew Cagney <ac131313@redhat.com>
1508 * doublest.c (convert_doublest_to_floatformat): Rename
1509 floatformat_from_doublest. Make static.
1510 (convert_floatformat_to_doublest): Rename floatformat_to_doublest.
1512 (floatformat_to_doublest): New function.
1513 (floatformat_from_doublest): New function.
1514 (host_float_format, host_double_format, host_long_double_format):
1515 New static variables.
1516 (store_floating, extract_floating): Always use
1517 floatformat_to_doublest and floatformat_from_doublest.
1518 * doublest.h (HOST_LONG_DOUBLE_FORMAT): Delete macro.
1520 2001-08-11 Andrew Cagney <ac131313@redhat.com>
1522 * config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
1523 * mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.
1525 2001-08-07 Andrew Cagney <ac131313@redhat.com>
1527 * target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
1528 * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add.
1529 * gdbarch.h, gdbarch.c: Regenerate.
1531 * arch-utils.h (legacy_virtual_frame_pointer): Declare.
1532 * arch-utils.c: Include "gdb_assert.h".
1533 (legacy_virtual_frame_pointer): Define.
1534 * Makefile.in (arch-utils.o): Depends on gdb_assert.h.
1536 * tracepoint.c (encode_actions): Make frame_reg an int. Make
1537 frame_offset a LONGEST.
1538 * ax-gdb.c (gen_frame_args_address): Ditto.
1539 (gen_frame_locals_address): Ditto.
1540 * mn10300-tdep.c (mn10300_gdbarch_init): Initialize
1541 virtual_frame_pointer.
1542 (mn10300_virtual_frame_pointer): Make static. Update parameter
1543 list to match function signature.
1544 * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.
1546 2001-08-10 Keith Seitz <keiths@redhat.com>
1548 * gdb-events.sh: Add architecture_changed event.
1549 * gdbarch.sh: Include gdb-event.h.
1550 (gdbarch_update_p): Notify UIs when architecture changes.
1551 * gdb-events.h: Regenerated.
1552 * gdb-events.c: Regenerated.
1553 * gdbarch.c: Regenerated.
1555 2001-08-10 Michael Snyder <msnyder@redhat.com>
1557 * regcache.c (legacy_write_register_gen): Don't 'optimize out'
1558 a write_register to a pseudo-reg. Target_store_pseudo_register
1559 needs to get called, because these regs may be computed and may
1562 2001-08-10 Keith Seitz <keiths@redhat.com>
1564 * gdb-events.sh: Deal with event notifications with no
1567 2001-08-10 Orjan Friberg <orjanf@axis.com>
1569 * remote.c (read_frame): Correct off-by-one error in condition.
1571 2001-08-08 Don Howard <dhoward@redhat.com>
1573 * stabsread.c (read_type): Add support for const and volatile
1576 2001-08-02 Daniel Jacobowitz <drow@mvista.com>
1578 * core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_T
1579 and HAVE_FPREGSET_T checks. Use gdb_gregset_t and gdb_fpregset_t.
1581 2001-08-02 Keith Seitz <keiths@redhat.com>
1583 * defs.h (SLASH_STRING): If not defined, set
1584 to "/", regardless of _WIN32, __CYGWIN__, or
1587 2001-08-02 Mark Kettenis <kettenis@gnu.org>
1589 * cli/cli-decode.h: Include "gdb_regex.h" instead of
1594 2001-08-02 Eli Zaretskii <eliz@is.elta.co.il>
1596 * config/i386/xm-go32.h: Include xm-i386.h.
1597 (HOST_BYTE_ORDER, HOST_LONG_DOUBLE_FORMAT): Remove definitions.
1599 2001-08-02 Eli Zaretskii <eliz@is.elta.co.il>
1601 The following changes avoid polluting global namespace with the
1602 `enable' and `disable' identifiers, because some platforms define
1603 in their system headers symbols with global scope that go by those
1606 * breakpoint.h (enum enable_state): Rename from `enum enable'.
1607 Also rename all the enum members to have the "bp_" prefix.
1608 (struct breakpoint): Rename the `enable' member to `enable_state'.
1609 (enum bpdisp): Rename all members to have the "disp_" prefix.
1611 * breakpoint.c: All users of `enum enable' and `enum bpdisp'
1613 (args_for_catchpoint_enable): Rename the `enable' member to
1614 `enable_p'. All users changed.
1616 * tracepoint.h (enum enable): Remove.
1617 (struct tracepoint): The member `enabled' is now `int enabled_p'.
1619 * tracepoint.c: All users of the `enabled' member changed.
1621 * printcmd.c (struct display): The `status' member is now an int.
1623 * memattr.h (struct mem_region): Rename the `status' member to
1625 (enum enable): Remove.
1627 * memattr.c: Change all users of the `status' member of struct
1628 mem_region to use `enabled_p' instead.
1630 * infcmd.c (run_stack_dummy): Use disp_del instead of del.
1632 * go32-nat.c: Remove the kludgey work-around for conflicts between
1633 <dos.h> and "breakpoint.h".
1635 2001-08-02 Corinna Vinschen <vinschen@redhat.com>
1637 * MAINTAINERS: Add myself to the write-after-approval list.
1638 * ser-tcp.c (tcp_open): Use `localhost' as default host if no
1641 2001-08-01 Andrew Cagney <ac131313@redhat.com>
1643 * doublest.h (store_floating, floatformat_to_doublest): Make IN
1644 paramter a const void pointer.
1645 (floatformat_from_doublest): Make IN const, Make OUT a void
1647 * doublest.c (floatformat_to_doublest): Update.
1648 (floatformat_from_doublest): Update.
1649 (extract_floating): Update.
1651 2001-07-31 Andrew Cagney <ac131313@redhat.com>
1653 * defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
1654 (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
1655 (HOST_LONG_DOUBLE_FORMAT, DOUBLEST)
1656 (floatformat_to_doublest, floatformat_from_doublest)
1657 (floatformat_is_negative, floatformat_is_nan)
1658 (floatformat_mantissa, store_floating)
1659 (extract_floating): Move declaration from here.
1660 * doublest.h: To here. New file.
1661 * utils.c (get_field, floatformat_to_doublest, put_field)
1662 (ldfrexp, floatformat_from_doublest, floatformat_is_negative)
1663 (floatformat_is_nan, floatformat_mantissa)
1664 (FLOATFORMAT_CHAR_BIT): Move from here.
1665 * doublest.c: To here. New file.
1666 * findvar.c (store_floating, extract_floating): Move from here.
1667 * doublest.c: To here.
1668 * Makefile.in (SFILES): Add doublest.c.
1669 (COMMON_OBS): Add doublest.o.
1670 (doublest.o): Specify dependencies.
1671 (doublest_h): Define.
1673 * config/m88k/tm-m88k.h: Include "doublest.h".
1674 * config/i960/tm-i960.h: Ditto.
1675 * config/i386/tm-symmetry.h: Ditto.
1676 * rs6000-tdep.c, valarith.c: Ditto.
1677 * valprint.c, stabsread.c, sh-tdep.c: Ditto.
1678 * ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto.
1679 * values.c, arm-tdep.c, arm-linux-tdep.c: Ditto.
1680 * alpha-tdep.c, ax.h, expression.h: Ditto.
1681 * sh-tdep.c, parse.c, top.c, value.h: Ditto.
1683 * Makefile.in (arm-tdep.o): Add $(doublest_h).
1684 (i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto.
1685 (rs6000-tdep.o, stabsread.o, valarith.o): Ditto.
1686 (values.o, valprint.o, arm-linux-tdep.o): Ditto.
1687 (alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto.
1688 (parser_defs_h): Ditto.
1689 (expression_h): Add $(doublest_h) and $(symtab_h).
1691 2001-08-01 Andrew Cagney <ac131313@redhat.com>
1693 * Makefile.in: Sort header definitions.
1694 (parser_defs_h, dis_asm_h, annotate_h, gdbthread_h): Define.
1695 Replace parser-defs.h with $(parser_defs_h). Replace $(dis-asm_h)
1696 and $(dis-asm.h) with $(dis_asm_h). Replace annotate.h with
1697 $(annotate_h). Replace target.h with $(target_h). Replace
1698 gdbthread.h with $(gdb_thread_h). Replace symfile.h with $(symfile_h).
1700 2001-07-31 Mark Kettenis <kettenis@gnu.org>
1702 * config/i386/xm-i386.h: New file.
1703 * config/i386/xm-fbsd.h: Removed.
1704 * config/i386/xm-linux.h: Removed.
1705 * config/i386/fbsd.mh: Reorganize a bit.
1706 (XM_FILE): Set to xm-i386.h instead of xm-fbsd.h.
1707 * config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of
1710 2001-07-30 Jim Blandy <jimb@redhat.com>
1712 * dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix.
1714 2001-07-27 Daniel Jacobowitz <drow@mvista.com>
1716 * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.
1717 Check for SETPGRP_VOID separately if cross-compiling and ISO C
1718 headers are available.
1720 2001-07-30 Mark Kettenis <kettenis@gnu.org>
1722 * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
1723 i386_dwarf_reg_to_regnum.
1725 * i386-tdep.c (i386_register_convert_to_virtual): Replace
1726 assertion with a warning if we're asked to convert towards a
1727 non-floating-point type. Zero out the the buffer where the data
1728 is supposed to be stored in that case.
1730 2001-07-29 Eli Zaretskii <eliz@is.elta.co.il>
1732 * config/djgpp/djconfig.sh: Unset CDPATH.
1734 * go32-nat.c (get_cr3): Temporary disable support for page tables
1735 in UMBs, as it is incomplete.
1737 Support for stepping through longjmp in DJGPP programs:
1739 * config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros.
1740 (GET_LONGJMP_TARGET): Define to call get_longjmp_target.
1741 (get_longjmp_target): Add prototype.
1743 2001-07-28 Andrew Cagney <ac131313@redhat.com>
1745 Fix some PID/TPID fallout for HP/UX.
1746 From 2001-07-22 Rodney Brown <rbrown64@csc.com.au>:
1747 * infttrace.c (ptrace_wait): Match external declaration,
1748 and match target_post_wait declaration.
1750 2001-07-28 Andrew Cagney <ac131313@redhat.com>
1752 * MAINTAINERS: Add Orjan Friberg as cris target maintainer.
1753 (cris): Set --enable-gdb-build-warnings flag to -w.
1755 2001-07-28 Andrew Cagney <ac131313@redhat.com>
1757 From 2001-07-23 Andreas Schwab <schwab@suse.de>:
1758 * config/m68k/tm-m68k.h (TARGET_LONG_DOUBLE_FORMAT): Define.
1759 (TARGET_LONG_DOUBLE_BIT): Define.
1760 (REGISTER_VIRTUAL_SIZE): Return 12 for floating point registers.
1761 (MAX_REGISTER_VIRTUAL_SIZE): Increase to 12.
1762 (REGISTER_VIRTUAL_TYPE): Return builtin_type_long_double for
1763 floating point registers.
1764 (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL)
1765 (REGISTER_CONVERT_TO_RAW): Remove.
1766 * config/m68k/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define.
1768 2001-07-26 Andrew Cagney <ac131313@redhat.com>
1770 * thread.c, breakpoint.c: Include "gdb.h".
1771 * Makefile.in (gdb_h): Define.
1772 (HFILES_NO_SRCDIR): Add gdb.h.
1773 (mi-cmd-break.o, mi-main.o, thread.o)
1774 (breakpoint.o): Add dependency on $(gdb_h).
1776 * defs.h (enum gdb_rc, gdb_breakpoint_query)
1777 (gdb_breakpoint, gdb_thread_select)
1778 (gdb_list_thread_ids): Move declaration from here ...
1779 * gdb.h: To here. New file.
1781 2001-07-28 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1783 * Makefile.in (SUBDIR_TUI_OBS): Add tui-out.o, tui-hooks.o.
1784 (SUBDIR_TUI_SRCS): Add tui-out.c tui-hooks.c
1786 (tui-out.o): Define dependencies.
1787 (tui-hooks.o): Likewise.
1789 2001-07-28 Andrew Cagney <ac131313@redhat.com>
1791 * MAINTAINERS: Update e-mail address of active @cygnus.com
1792 maintainers to @redhat.com.
1794 2001-07-28 Andrew Cagney <ac131313@redhat.com>
1796 * README (Known bugs): Delete section.
1797 (Kernel debugging): Delete section.
1798 (Languages other than C): Delete section.
1799 (Host/target specific installation notes) New section.
1801 2001-07-28 Mark Kettenis <kettenis@gnu.org>
1803 * config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
1804 DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
1805 (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
1807 * config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
1808 config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
1809 i386_dwarf_reg_to_regnum.
1810 * i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
1813 * i386-tdep.c: Include "gdb_assert.h"
1814 (i386_register_convert_to_virtual): Fix such that it can handle
1815 conversion to any floating-point type. Assert that we are dealing
1816 with a floating-point first.
1817 (i386_register_convert_to_raw): Assert that TYPE is a
1818 floating-point type with length 12.
1820 2001-07-27 John R. Moore <jmoore@redhat.com>
1822 * configure.in: Added dependency of gdb on tcl/tk libraries.
1823 * Makefile.in: Likewise.
1824 * configure: Regenerated with the above using autoconf.
1826 2001-07-26 Elena Zannoni <ezannoni@redhat.com>
1828 * sh-tdep.c (sh_gdbarch_init): Use SH_DEFAULT_NUM_REGS instead of
1830 (SH_DEFAULT_NUM_REGS): Define.
1832 2001-07-26 Eli Zaretskii <eliz@is.elta.co.il>
1834 * go32-nat.c (read_memory_region): Make sure the segment limit was
1835 indeed set, to work around a Windows 2000 bug.
1837 2001-07-25 Daniel Jacobowitz <drow@mvista.com>
1839 * infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.
1840 * infttrace.c (child_xfer_memory): Likewise.
1841 * symm-nat.c (child_xfer_memory): Likewise.
1842 * gdbserver/low-hppabsd.c (read_inferior_memory): Likewise.
1843 (write_inferior_memory): Likewise.
1844 * gdbserver/low-linux.c (read_inferior_memory): Likewise.
1845 (write_inferior_memory): Likewise.
1846 * gdbserver/low-lynx.c (read_inferior_memory): Likewise.
1847 (write_inferior_memory): Likewise.
1848 * gdbserver/low-nbsd.c (read_inferior_memory): Likewise.
1849 (write_inferior_memory): Likewise.
1850 * gdbserver/low-sparc.c (read_inferior_memory): Likewise.
1851 (write_inferior_memory): Likewise.
1852 * gdbserver/low-sun3.c (read_inferior_memory): Likewise.
1853 (write_inferior_memory): Likewise.
1855 2001-07-25 Eli Zaretskii <eliz@is.elta.co.il>
1857 * README: Mention how to make gdb.pdf.
1861 2001-07-24 Stephen P. Smith <ischis2@home.com>
1863 * MAINTAINERS (Stephen P. Smith): Added to write after approval
1866 2001-07-23 Andrew Cagney <ac131313@redhat.com>
1868 * mips-tdep.c (mips_push_arguments): Add comment explaining
1869 problem with LE o32 GCC.
1871 2001-07-23 Elena Zannoni <ezannoni@redhat.com>
1873 * config/powerpc/aix.mh (MH_LDFLAGS): Don't set these, the Gnu linker
1874 doesn't understand them.
1876 2001-07-23 Elena Zannoni <ezannoni@redhat.com>
1878 * memattr.c (mem_info_command): Reformat output to look more like
1879 'info break' output.
1880 (_initialize_mem): Improve help.
1882 2001-07-23 Mark Kettenis <kettenis@gnu.org>
1884 * configure.in (AC_CHECK_FUNCS): Add setpggrp.
1885 (AC_FUNC_SETPGRP): Add.
1886 * aclocal.m4, configure, config.in: Regenerated.
1887 * inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and
1888 SETPGRP_ARGS. Always use setpgid if it is available, fall back on
1889 setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to
1890 distinguish between the two setpgrp flavours.
1891 * config/xm-sysv4.h, config/arm/xm-linux.h,
1892 config/i386/xm-i386aix.h, config/i386/xm-sco.h,
1893 config/i386/xm-linux.h, config/i386/xm-ptx.h,
1894 config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
1895 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h,
1896 config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove.
1897 * config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
1899 2001-07-23 Eli Zaretskii <eliz@is.elta.co.il>
1901 * go32-nat.c (read_memory_region): Set the granularity bit of the
1902 allocated segment according to its size, and adjust the limit to
1903 be page-aligned if the segment is page-granular.
1905 * (get_cr3, get_pde, get_pte, display_ptable_entry, go32_pde)
1906 (display_page_table, go32_pte, go32_pte_for_address): New functions.
1907 (_initialize_go32_nat): Initialize and document them.
1909 2001-07-22 Mark Kettenis <kettenis@gnu.org>
1911 * i386gnu-nat.c: Include "i387-nat.h".
1912 (struct env387): Removed.
1913 (reg_offset): Fix comment.
1914 (fetch_fpregs): Use FCTRL_REGNUM and FOP_REGNUM instead of
1915 FIRST_FPU_CONTROL_REGNUM and LAST_FPU_CONTROL_REGNUM. Rewrite to
1916 use i387_supply_fsave.
1917 (gnu_fetch_registers): Remove spurious whitespace.
1918 (convert_to_env387): Remove.
1919 (store_fpregs): Add argument regno. Use i387_fill_fsave instead
1920 of convert_to_env387.
1921 (gnu_store_registers): Remove spurious whitespace. Pass REGNO to
1923 * config/i386/i386gnu.mt (TDEPFILES): Add i387-tdep.o.
1924 * config/i386/i386gnu.mh (XDEPFILES): Remove i387-tdep.o.
1925 (NATDEPFILES): Add i387-nat.o.
1927 2001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1929 * Makefile.in (ALLDEPFILES): Add m68hc11-tdep.c.
1930 (m68hc11-tdep.o): Define dependencies.
1932 2001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1934 * m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits.
1936 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1938 * utils.c (init_page_info): Use tui_get_command_dimension.
1939 * printcmd.c (disassemble_command): Simplify tui specific code,
1940 use tui_is_window_visible, tui_show_assembly.
1942 2001-07-21 Mark Kettenis <kettenis@gnu.org>
1944 * i386bsd-nat.c: Do not include <sys/sysctl.h>.
1945 (_initialize_i386bsd_nat) [KERN_PS_STRINGS]: Move FreeBSD-specific
1947 * i386fbsd-nat.c: ... here. New file.
1948 * config/i386/fbsd.mh (NATDEPFILES): Add i386-fbsd.o.
1949 * config/i386/nm-fbsd.h (CHILD_RESUME): Define.
1950 * Makefile.in (ALLDEPFILES): Add i386fbsd-nat.c.
1951 (i386fbsd-nat.o): Add dependencies.
1953 2001-07-19 Daniel Jacobowitz <drow@mvista.com>
1955 * signals.c: New file.
1956 * Makefile.in: Add signals.o.
1957 * target.c (struct signals, target_signal_to_name)
1958 (target_signal_from_name, target_signal_from_host)
1959 (do_target_signal_to_host, target_signal_to_host_p)
1960 (target_signal_to_host, target_signal_from_command): Move to
1962 (initialize_targets): Move check of struct signals to...
1963 * signals.c (_initialize_signals): Here.
1965 2001-07-19 Andrew Cagney <ac131313@redhat.com>
1967 * MAINTAINERS: Add Michael Chastain as C++ testsuite maintainer.
1969 2001-07-19 Andrew Cagney <ac131313@redhat.com>
1972 * configure.tgt (i*86-*-pe*): New target.
1974 2001-07-19 Andrew Cagney <ac131313@redhat.com>
1976 From 2001-07-16 Rodney Brown <rbrown64@csc.com.au>:
1977 * infttrace.c (child_thread_alive): Fix gdb_tid typo.
1978 * somsolib.c (no_shared_libraries): Provide stub.
1979 * xcoffsolib.c (no_shared_libraries): Provide stub.
1981 2001-07-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1983 * Makefile.in (COMMON_OBS): Remove tui-file.o.
1984 (SUBDIR_TUI_OBS): Add it here.
1985 (SUBDIR_TUI_SRCS): Move tui-file.c and tui-file.h here.
1986 (main.o): Remove dependency with tui-file.h.
1988 2001-07-17 Elena Zannoni <ezannoni@redhat.com>
1990 * Makefile.in (tui-file.o): Update dependencies.
1992 2001-07-17 Elena Zannoni <ezannoni@redhat.com>
1994 * top.c (catch_errors): Convert PTR to void * in parameters list.
1995 (quit_cover): Ditto.
1997 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1999 * source.c (find_source_lines): Remove tui test, must be replaced
2000 by appropriate warning hook.
2001 (print_source_lines): Remove tui hacks, must be replaced by cli.
2002 (forward_search_command): Remove tui hacks, can be replaced by
2003 appropriate calls to identify_source_line when tui scrolls.
2004 (reverse_search_command): Likewise.
2006 2001-07-16 Nick Duffek <nsd@redhat.com>
2008 * remote.c (init_remote_ops, init_remote_cisco_ops,
2009 init_remote_async_ops): Set to_pid_to_str and
2010 to_extra_thread_info correctly and in the same order as declared
2013 2001-07-16 Andrew Cagney <ac131313@redhat.com>
2015 * remote.c: Revert below. Included more than intended.
2017 2001-07-16 Nick Duffek <nsd@redhat.com>
2019 * remote.c (init_remote_ops, init_remote_cisco_ops,
2020 init_remote_async_ops): Set to_pid_to_str and
2021 to_extra_thread_info correctly and in the same order as declared
2024 2001-07-16 Nick Duffek <nsd@redhat.com>
2026 * findvar.c (read_var_value): Apply value_as_pointer() to
2027 addresses retrieved from the target for LOC_BASEREG and
2028 LOC_BASEREG_ARG variables.
2030 2001-07-16 Orjan Friberg <orjanf@axis.com>
2032 * NEWS: New target CRIS.
2034 2001-07-16 Elena Zannoni <ezannoni@redhat.com>
2036 * top.c (show_commands): Remove extern decl of history_get, it's
2037 already in readline/history.h.
2039 2001-07-16 Elena Zannoni <ezannoni@redhat.com>
2041 * top.c (is_complete_command, init_cmd_lists, init_cli_cmds,
2042 execute_user_command, do_setshow_command, get_prompt, init_proc,
2043 serial_log_command): Remove extern declarations. Include
2044 cli/cli-cmds.h, cli/cli-script.h, cli/cli-setshow.h, serial.h.
2045 * gdbcmd.h (execute_user_command): Remove declaration, it's already
2046 in cli/cli-script.h.
2047 * command.h (do_setshow_command): Remove declaration, it's already
2048 in cli/cli-setshow.h.
2049 * infrun.c: Include "cli/cli-script.h" for execute_user_command.
2050 * Makefile.in (infrun.o): Update dependencies.
2052 * cli/cli-setshow.h: Add comment for do_setshow_command.
2054 2001-07-16 Eli Zaretskii <eliz@is.elta.co.il>
2056 * cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
2057 call to chdir on this symbol rather than on __DJGPP__.
2058 (CANT_FORK) [__MSDOS__]: Move from here...
2059 * defs.h (CANT_FORK) [__MSDOS__]: ...to here.
2060 (GLOBAL_CURDIR) [__MSDOS__]: Define.
2062 2001-07-16 Orjan Friberg <orjanf@axis.com>
2064 * configure.tgt: Recognise the CRIS architecture.
2065 * config/cris/cris.mt: New file for CRIS target.
2066 * cris-tdep.c: New file for CRIS target.
2068 2001-07-15 Elena Zannoni <ezannoni@redhat.com>
2070 * top.c (quit_cover, float_handler): Move definition up before use.
2071 (gdb_init): Move to end of file, to avoid calls to not yet defined
2075 2001-07-14 Andrew Cagney <ac131313@redhat.com>
2077 * serial.h (SERIAL_ASYNC): Delete.
2078 (DEPRECATED_SERIAL_FD): Delete.
2079 (SERIAL_DEBUG): Delete.
2080 (SERIAL_DEBUG_P): Delete.
2081 (SERIAL_DRAIN_OUTPUT): Delete.
2082 (SERIAL_FLUSH_OUTPUT): Delete.
2083 (SERIAL_FLUSH_INPUT): Delete.
2084 (SERIAL_SEND_BREAK): Delete.
2085 (SERIAL_RAW): Delete.
2086 (SERIAL_GET_TTY_STATE): Delete.
2087 (SERIAL_SET_TTY_STATE): Delete.
2088 (SERIAL_PRINT_TTY_STATE): Delete.
2089 (SERIAL_NOFLUSH_SET_TTY_STATE): Delete.
2090 (SERIAL_SETBAUDRATE): Delete.
2091 (SERIAL_SETSTOPBITS): Delete.
2092 (SERIAL_CAN_ASYNC_P): Delete.
2093 (SERIAL_IS_ASYNC_P): Delete.
2094 (SERIAL_UN_FDOPEN): Delete.
2095 (SERIAL_READCHAR): Delete.
2096 (SERIAL_CLOSE): Delete.
2097 (SERIAL_FDOPEN): Delete.
2098 (SERIAL_OPEN): Delete.
2099 * ser-unix.c: Update.
2100 * sparclet-rom.c: Update.
2101 * remote-bug.c: Update.
2104 * nindy-share/ttyflush.c: Update.
2105 * nindy-share/Onindy.c: Update.
2108 * remote-nindy.c: Update.
2110 * sparcl-tdep.c: Update.
2111 * sh3-rom.c: Update.
2113 * remote-utils.c: Update.
2114 * remote-st.c: Update.
2115 * remote-sds.c: Update.
2116 * remote-rdp.c: Update.
2117 * remote-os9k.c: Update.
2118 * remote-nrom.c: Update.
2119 * remote-mips.c: Update.
2120 * remote-es.c: Update.
2121 * remote-e7000.c: Update.
2122 * remote-array.c: Update.
2124 * nindy-share/nindy.c: Update.
2125 * monitor.c: Update.
2127 2001-07-14 Andrew Cagney <ac131313@redhat.com>
2129 * mn10200-tdep.c: Replace value_ptr with ``struct value *''.
2130 * mcore-tdep.c: Ditto.
2131 * sparc-tdep.c: Ditto.
2133 * rs6000-tdep.c: Ditto.
2134 * ppc-linux-tdep.c: Ditto.
2135 * m68hc11-tdep.c: Ditto.
2136 * ia64-tdep.c: Ditto.
2137 * i386-tdep.c: Ditto.
2138 * arm-linux-tdep.c: Ditto.
2139 * hppa-tdep.c: Ditto.
2140 * h8500-tdep.c: Ditto.
2141 * fr30-tdep.c: Ditto.
2142 * arm-tdep.c: Ditto.
2143 * alpha-tdep.c: Ditto.
2144 * d30v-tdep.c: Ditto.
2145 * d10v-tdep.c: Ditto.
2146 * m32r-tdep.c: Ditto.
2147 * mips-tdep.c: Ditto.
2148 * v850-tdep.c: Ditto.
2150 2001-07-15 Elena Zannoni <ezannoni@redhat.com>
2152 * top.c (readline_line_completion_function, noop_completer): Move
2154 * completer.c (readline_line_completion_function, noop_completer):
2156 * gdbcmd.h (readline_line_completion_function, noop_completer):
2157 Move declarations from here...
2158 * completer.h (readline_line_completion_function, noop_completer):
2160 * corefile.c: Include completer.h.
2163 * Makefile.in: Update dependencies.
2165 2001-07-15 Eli Zaretskii <eliz@is.elta.co.il>
2167 * go32-nat.c (go32_create_inferior): Support command lines longer
2168 than 126 characters.
2170 2001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2172 * NEWS: New target 68HC11/68HC12.
2174 2001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2176 * utils.c (query): Remove tui hacks; tui must use the query_hook.
2177 * top.c (command_loop): Remove tui insert_mode hacks; don't call
2178 tuiCleanUp because this must be made with atexit by tui.
2179 * symfile.c (symbol_file_command): Remove call to TUIDO
2180 * stack.c (show_and_print_stack_frame_stub): Remove tui check;
2181 not necessary when using the selected frame hooks.
2182 (print_stack_frame_stub): Likewise.
2183 (print_frame_info_base): Likewise.
2184 (print_frame_info): Likewise.
2185 (up_silently_command): Likewise.
2186 (down_silently_command): Likewise.
2187 (show_stack_frame): Likewise for TUIDO.
2188 (select_frame): Likewise.
2189 (select_and_print_frame): Likewise.
2190 (stack_publish_stopped_with_no_frame): Remove.
2191 (select_and_maybe_print_frame): Remove.
2192 * main.c (captured_main): Remove tui_fileopen and tuiInit; tui
2193 must use the initialize ui hook.
2194 * infrun.c (normal_stop): Remove call to TUIDO; tui must use the
2195 selected frame hooks.
2196 * event-top.c (command_handler): Remove tui insert_mode hack.
2197 * defs.h: Remove TUIDO; Only include tui.h.
2198 * breakpoint.c (mention): Remove calls to TUIDO.
2199 (delete_breakpoint): Remove tui hacks; tui must install
2200 the breakpoint hooks.
2202 2001-07-14 Mark Kettenis <kettenis@gnu.org>
2204 * config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
2205 * config/i386/nm-linux.h: ...to here. Change comments about user
2208 * config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.
2210 * Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.c
2211 (i386bsd-tdep.o, i386bsd-nat.o): New targets.
2213 2001-07-13 Elena Zannoni <ezannoni@redhat.com>
2215 * remote-e7000.c (fetch_regs_from_dump): If register set is null,
2216 generate an internal error.
2217 (e7000_fetch_registers): Initialize variable 'wanted'.
2218 (e7000_wait): Initialize variable 'wanted_nopc'.
2219 (e7000_store_register): Fix sprintf compiler warnings.
2220 (sub2_from_pc): Ditto.
2221 (e7000_open): Close the descriptor, not the name.
2222 (e7000_load): Fix compiler warnings.
2223 (sub2_from_pc): Ditto.
2224 * Makefile.in (remote-e7000.o): Can now compile with -Werror.
2226 2001-07-13 Mark Kettenis <kettenis@gnu.org>
2228 * i386bsd-nat.c: Include <signal.h>, <stddef.h> and
2230 (store_inferior_registers): Wrap long line.
2231 (i386bsd_dr_get_status): Fix typo in comment.
2232 (_initialize_i386bsd_nat): New function. * i386bsd-tdep.c: New
2233 file. * config/i386/tm-fbsd.h (IN_SIGTRAMP): New define.
2234 (i386bsd_in_sigtramp): New prototype.
2235 (SIGTRAMP_START, SIGTRAMP_END): Redefine in terms...
2236 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): ...these new
2237 (external) variables.
2238 (SIGCONTEXT_PC_OFFSET): Removed.
2239 (FRAME_SAVED_PC): New define.
2240 (i386bsd_frame_saved_pc): New function. * config/i386/fbsd.mt
2241 (TDEPFILES): Add i386bsd-tdep.o.
2243 2001-07-12 Daniel Jacobowitz <drow@mvista.com>
2245 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Use ISO C
2248 2001-07-13 Mark Kettenis <kettenis@gnu.org>
2250 * lin-lwp.c (lin_lwp_wait): Avoid check for resumed LWPs if there
2251 are no registered LWPs yet.
2253 2001-07-12 Daniel Jacobowitz <drow@mvista.com>
2255 * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER): Call the right
2257 (CANNOT_STORE_REGISTER): Likewise.
2259 2001-07-12 Keith Seitz <keiths@redhat.com>
2261 * remote-rdp.c: Include "serial.h"
2263 2001-07-12 Daniel Jacobowitz <drow@mvista.com>
2265 * gdbserver/remote-utils.c (remote_open): Set VMIN to 1
2266 in HAVE_TERMIO/HAVE_TERMIOS cases.
2268 2001-07-12 Mark Kettenis <kettenis@gnu.org>
2270 * lin-lwp.c (stop_wait_callback): Add support for flushing
2271 signals. Use that in favour of the old code to get rid of
2272 superfluous SIGINTs.
2273 (lin_lwp_wait): Use the new support in stop_wait_callback to
2274 flush all but one SIGINT.
2276 * i386-tdep.c (i386_extract_return_value): Undo 2001-07-11 changes
2278 (i386_store_return_value): Improve comments about storing
2279 floating-point return values.
2281 * config/arm/xm-linux.h, config/i386/xm-linux.h,
2282 config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
2283 config/sparc/xm-linux.h, config/ia64/xm-linux.h (HAVE_TERMIOS):
2284 Removed. Taken care of by autoconf and terminal.h.
2286 2001-07-12 Daniel Jacobowitz <drow@mvista.com>
2288 * mips-tdep.c (mips_type_needs_double_align): New function.
2289 (mips_push_arguments): Align o32 structs to even argument
2290 registers if necessary.
2292 2001-07-11 Daniel Jacobowitz <drow@mvista.com>
2294 * config/djgpp/fnchange.lst: Add entries for
2295 mips-linux-nat.c and mips-linux-tdep.c.
2297 2001-07-12 Mark Kettenis <kettenis@gnu.org>
2299 * config/powerpc/xm-linux.h: Fix corrupted file.
2301 * configure.in: Add check for sigsetjmp.
2302 * config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed.
2303 * config/xm-sysv4.h (HAVE_SIGSETJMP): Removed.
2304 * configure, config.in: Regenerated.
2306 2001-07-11 Elena Zannoni <ezannoni@redhat.com>
2308 * config/sh/tm-sh.h (struct gdbarch_tdep): Add
2309 FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
2312 * sh-tdep.c (sh_skip_prologue_hard_way): Rename from
2313 skip_prologue_hard_way().
2314 (skip_prologue_hard_way): Make it a function pointer.
2315 (sh_print_register): Use function pointer do_pseudo_register,
2316 instead of sh_do_pseudo_register.
2317 (sh_do_registers_info): Ditto.
2318 (sh_gdbarch_init): Initialize do_pseudo_register.
2319 (IS_MOV_TO_R14): Rename from IS_MOV_R14.
2320 (skip_prologue_hard_way): Update.
2321 (sh_gdbarch_init): Move setting of frame_chain,
2322 get_saved_register, init_extra_frame_info, push_arguments,
2323 extract_return_value, pop_frame, store_struct_return,
2324 extract_struct_value_address, use_struct_convention,
2325 init_extra_frame_info to before target specific settings.
2326 (sh_gdbarch_init): Initialize new tdep fields
2327 FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
2329 (sh_push_arguments): Use new gdbarch_tdep fields
2330 {ARG0,ARGLAST}_REGNUM.
2331 (sh_saved_pc_after_call, sh_nofp_frame_init_saved_regs,
2332 sh_init_extra_frame_info, sh_push_return_address,
2333 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
2334 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update to use
2335 gdbarch_tdep->PR_REGNUM.
2336 (dr_reg_base_num, fv_reg_base_num): Move to earlier in the file.
2338 2001-07-11 Daniel Jacobowitz <drow@mvista.com>
2340 * config/mips/tm-linux.h: Include "tm-linux.h" instead of copying
2341 from it. Move definitions of REALTIME_LO and REALTIME_HI above
2344 2001-07-11 Daniel Jacobowitz <drow@mvista.com>
2346 * MAINTAINERS: List myself for MIPS/Linux
2349 2001-07-11 Daniel Jacobowitz <drow@mvista.com>
2351 * gdbserver/remote-utils.c (remote_open): Only
2352 check for F_SETOWN if we had F_SETFL and FASYNC.
2354 2001-07-11 Daniel Jacobowitz <drow@mvista.com>
2356 From Michael Fedrowitz <michael.fedrowitz@informatik.uni-ulm.de>:
2358 * config/m68k/linux.mh: Remove core-regset.o.
2359 * m68klinux-nat.c: Fix comment.
2360 (supply_gregset): Change argument to elf_gregset_t *.
2361 (supply_fpregset): Change argument to elf_fpregset_t *.
2362 (fetch_core_registers): New function.
2363 (linux_elf_core_fns): Define.
2364 (_initialize_m68k_linux_nat): New function.
2366 2001-07-11 Andrew Cagney <ac131313@redhat.com>
2368 * configure.tgt: Mark d10v as pure multi-arch.
2369 * config/d10v/tm-d10v.h: Delete file.
2370 * config/d10v/d10v.mt (TM_FILE): Delete.
2372 2001-07-10 Andrew Cagney <ac131313@redhat.com>
2374 * serial.h (typedef serial_t): Delete. Replace all references to
2375 serial_t with `struct serial *'.
2377 * nindy-share/ttyflush.c: Update.
2378 * nindy-share/ttyflush.c: Update.
2379 * nindy-share/Onindy.c: Update.
2380 * nindy-share/nindy.c: Update.
2381 * remote-rdp.c: Update.
2382 * remote-sds.c: Update.
2383 * remote-st.c: Update.
2384 * remote-nindy.c: Update.
2385 * remote-mips.c: Update.
2386 * remote-e7000.c: Update.
2387 * remote-os9k.c: Update.
2388 * remote-nrom.c: Update.
2389 * remote-es.c: Update.
2390 * remote-array.c: Update.
2392 * mon960-rom.c: Update.
2395 * ser-e7kpc.c: Update.
2396 * sparclet-rom.c: Update.
2398 * ser-tcp.c: Update.
2399 * ser-go32.c: Update.
2400 * sparcl-tdep.c: Update.
2401 * w89k-rom.c: Update.
2403 * sh3-rom.c: Update.
2405 * ser-pipe.c: Update.
2406 * ser-unix.c: Update.
2407 * ser-unix.h: Update.
2411 2001-07-11 J.T. Conklin <jtc@redback.com>
2413 From Greg McGary <greg@mcgary.org>:
2414 * gdbserver/remote-utils.c (remote_open): Set gdbserver as "owner"
2416 (input_interrupt): Don't block on read, in case we got redundant
2417 SIGIO. Don't gripe about redundant SIGIO.
2418 * gdbserver/low-hppabsd.c (mywait): Use waitpid(). Enable SIGIO
2419 handler while waiting.
2420 * gdbserver/low-linux.c (mywait): Likewise.
2421 * gdbserver/low-nbsd.c (mywait): Likewise.
2422 * gdbserver/low-sparc.c (mywait): Likewise.
2424 2001-07-11 Keith Seitz <keiths@redhat.com>
2426 * infrun.c (print_stop_reason): Add missing uiout field
2427 "reason" for SIGNAL_RECEIVED case.
2429 2001-07-11 Mark Kettenis <kettenis@gnu.org>
2431 * config/alpha/nm-linux.h (TARGET_ELF64, PSIGNAL_IN_SIGNAL_H):
2432 Remove unused macro's.
2434 * config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longer
2437 2001-07-11 Eli Zaretskii <eliz@is.elta.co.il>
2439 * go32-nat.c (info_dos_cmdlist): New variable.
2440 (go32_info_dos_command): New function.
2441 (_initialize_go32_nat): Convert all DOS-specific commands into
2442 subcommands of "info dos". Suggested by Andrew Cagney
2443 <ac131313@redhat.com>.
2445 2001-07-11 Mark Kettenis <kettenis@gnu.org>
2447 * config/nm-linux.h: Fix comments.
2449 * thread-db.c (enable_thread_event_reporting): Correct warning
2450 message about getting thread death breakpoint.
2451 Reported by John S Kallal <jskallal@home.com>.
2453 * i386-tdep.c (i386_extract_return_value): "Fix" comment.
2454 (i386_store_return_value): Frob FPU status and tag word to make
2455 sure the return value is the only value on the FPU stack.
2457 * config/tm-linux.h: Do not include <signal.h>. Instead provide
2458 reasonable defaults for REALTIME_LO and REALTIME_HI if they're not
2460 * config/nm-linux.h: Include <signal.h>.
2461 [__SIGRTMIN] (REALTIME_LO, REALTIME_HI): Define to __SIGRTMIN and
2462 (__SIGRTMAX + 1) respectively.
2464 2001-07-10 Andrew Cagney <ac131313@redhat.com>
2466 * mcore-rom.c: Include "serial.h".
2467 * Makefile.in (mcore-rom.o): Depends on "serial.h".
2469 2001-07-10 Andrew Cagney <ac131313@redhat.com>
2471 * Makefile.in (remote-bug.o): Depends on serial.h.
2472 * remote-bug.c: Include "serial.h".
2473 * MAINTAINERS: Mark m88k target as buildable.
2476 2001-07-10 Jim Blandy <jimb@redhat.com>
2478 Clean up the D10V port so that GDB and the target program no
2479 longer disagree on how big pointers are.
2480 * findvar.c (value_from_register): Remove special case code for D10V.
2481 * printcmd.c (print_frame_args): Same.
2482 * valops.c (value_at, value_fetch_lazy): Same.
2483 * values.c (unpack_long): Same.
2484 * gdbarch.sh: Changes to effect the following:
2485 * gdbarch.h (GDB_TARGET_IS_D10V, D10V_MAKE_DADDR,
2486 gdbarch_d10v_make_daddr_ftype, gdbarch_d10v_make_daddr,
2487 set_gdbarch_d10v_make_daddr, D10V_MAKE_IADDR,
2488 gdbarch_d10v_make_iaddr_ftype, gdbarch_d10v_make_iaddr,
2489 set_gdbarch_d10v_make_iaddr, D10V_DADDR_P,
2490 gdbarch_d10v_daddr_p_ftype, gdbarch_d10v_daddr_p,
2491 set_gdbarch_d10v_daddr_p, D10V_IADDR_P,
2492 gdbarch_d10v_iaddr_p_ftype, gdbarch_d10v_iaddr_p,
2493 set_gdbarch_d10v_iaddr_p, D10V_CONVERT_DADDR_TO_RAW,
2494 gdbarch_d10v_convert_daddr_to_raw_ftype,
2495 gdbarch_d10v_convert_daddr_to_raw,
2496 set_gdbarch_d10v_convert_daddr_to_raw, D10V_CONVERT_IADDR_TO_RAW,
2497 gdbarch_d10v_convert_iaddr_to_raw_ftype,
2498 gdbarch_d10v_convert_iaddr_to_raw,
2499 set_gdbarch_d10v_convert_iaddr_to_raw): Delete declarations.
2500 * gdbarch.c: Delete the corresponding definitions.
2501 (struct gdbarch): Delete members d10v_make_daddr,
2502 d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
2503 d10v_convert_daddr_to_raw, and d10v_convert_iaddr_to_raw.
2504 (startup_gdbarch): Remove initializers for the above.
2505 (verify_gdbarch, gdbarch_dump): Don't verify or dump them any
2507 * d10v-tdep.c (d10v_register_virtual_type): Rather that
2508 claiming the stack pointer and PC are 32 bits long (which they
2509 aren't), say that the stack pointer is an int16_t, and the
2510 program counter is a function pointer. This allows the rest
2511 of GDB to make the appropriate conversions between the code
2512 pointer format and real addresses.
2513 (d10v_register_convertible, d10v_register_convert_to_virtual,
2514 d10v_register_convert_to_raw): Delete function; no registers
2515 are convertible now, so we use
2516 generic_register_convertible_not instead.
2517 (d10v_address_to_pointer, d10v_pointer_to_address): New gdbarch
2519 (d10v_push_arguments, d10v_extract_return_value): Remove special
2520 cases for code and data pointers.
2521 (d10v_gdbarch_init): Set gdbarch_ptr_bit to 16, so that GDB and
2522 the target agree on how large pointers are. Say that addresses
2523 are 32 bits long. Register the address_to_pointer and
2524 pointer_to_address conversion functions. Since no registers are
2525 convertible now, register generic_register_convertible_not as the
2526 gdbarch_register_convertible method instead of
2527 d10v_register_convertible. Remove registrations for
2528 d10v_register_convert_to_virtual,
2529 d10v_register_convert_to_raw, gdbarch_d10v_make_daddr,
2530 gdbarch_d10v_make_iaddr, gdbarch_d10v_daddr_p,
2531 gdbarch_d10v_iaddr_p, gdbarch_d10v_convert_daddr_to_raw, and
2532 gdbarch_d10v_convert_iaddr_to_raw.
2534 * printcmd.c (print_scalar_formatted): If we are printing an
2535 address, remember that TARGET_ADDR_BIT is not always equal to
2538 * valops.c (value_cast): When casting a pointer to an integer,
2539 don't convert it to an address.
2541 2001-07-10 Andrew Cagney <ac131313@redhat.com>
2543 * remote-utils.h (struct serial): Declare as opaque. Remove
2544 include of "serial.h".
2545 * Makefile.in (remote_utils_h): Update.
2547 * monitor.h (struct serial): Declare as opaque. Remove include of
2549 (struct monitor_ops): Replace serial_t with `struct serial *'.
2550 * monitor.c (monitor_desc): Ditto.
2552 2001-07-10 Daniel Jacobowitz <drow@mvista.com>
2554 * mips-linux-tdep.c: New file.
2555 * mips-linux-nat.c: New file.
2556 * config/mips/linux.mh: New file.
2557 * config/mips/linux.mt: New file.
2558 * config/mips/xm-linux.h: New file.
2559 * config/mips/nm-linux.h: New file.
2560 * config/mips/tm-linux.h: New file.
2561 * configure.host: Recognize mips*-*-linux*.
2562 * configure.tgt: Likewise.
2563 * NEWS: Mention mips*-*-linux* port.
2565 2001-07-09 Andrew Cagney <ac131313@redhat.com>
2567 * serial.h (struct serial): Rename `struct _serial_t'.
2568 * serial.c (XMALLOC): Define.
2569 (serial_open): Update. Use XMALLOC.
2570 (serial_fdopen): Ditto.
2572 2001-07-07 Andrew Cagney <ac131313@redhat.com>
2574 * gdbtypes.h (builtin_type_void_data_ptr): Rename
2576 * gdbtypes.c (builtin_type_void_data_ptr): Update.
2577 (build_gdbtypes): Update.
2578 (_initialize_gdbtypes): Update.
2579 * values.c (value_as_pointer): Update.
2580 * utils.c (host_pointer_to_address): Update.
2581 (address_to_host_pointer): Update.
2583 2001-07-08 Andrew Cagney <ac131313@redhat.com>
2585 * remote-udi.c (udi_wait): Make type, instead of name, of first
2588 2001-07-07 Andrew Cagney <ac131313@redhat.com>
2590 * ser-mac.c: Make obsolete.
2591 * Makefile.in (ser-mac.o): Ditto.
2593 2001-07-08 Eli Zaretskii <eliz@is.elta.co.il>
2595 * go32-nat.c (go32_get_windows_version, print_mem, go32_sysinfo)
2596 (read_memory_region, get_descriptor, display_descriptor)
2597 (go32_sldt, go32_sgdt, go32_sidt): New functions.
2598 (top-level): Include ctype.h, utsname.h, dos.h, and go32.h. Ifdef
2599 away `disable' from dos.h, since breakpoint.h defines an enum
2600 member of the same name, and GCC 2.7.2 barfs.
2601 (_initialize_go32_nat): Provide new commands dos-sysinfo, dos-ldt,
2602 dos-gdt, and dos-idt, all of them in the "info" class
2604 2001-07-07 Kevin Buettner <kevinb@redhat.com>
2606 * procfs.c (create_procinfo): Allocate space for saved_entryset
2608 (destroy_one_procinfo): Free space allocated to saved_entryset
2611 2001-07-07 Andrew Cagney <ac131313@redhat.com>
2613 * TODO (5.1): Update.
2615 2001-07-07 Andrew Cagney <ac131313@redhat.com>
2617 * symtab.c (main_name): New function.
2618 (set_main_name): New function.
2619 * symtab.h: Declare.
2622 From 2000-03-05 Anthony Green <green@redhat.com>:
2623 * dbxread.c (process_one_symbol): Handle the N_MAIN stab by
2625 * blockframe.c (inside_main_func): Use main_name instead of
2627 * symtab.c (find_main_psymtab): Ditto.
2628 * source.c (select_source_symtab): Ditto.
2629 * nlmread.c (nlm_symfile_read): Ditto.
2630 * rs6000-tdep.c (skip_prologue): Ditto.
2632 2001-07-07 Andrew Cagney <ac131313@redhat.com>
2634 * TODO: Convert most items into PRs.
2636 2001-07-07 Mark Kettenis <kettenis@gnu.org>
2638 * lin-lwp.c (status_to_str): New function.
2639 (lin_lwp_wait): Use it to print debug messages where appropriate.
2641 2001-07-06 Michael Chastain <chastain@redhat.com>
2643 * i387-tdep.c (print_i387_value): Fix pointer glitch.
2645 2001-07-07 Mark Kettenis <kettenis@gnu.org>
2647 * lin-lwp.c (count_events_callback): Fix formatting. Turn check
2648 commented with "paranoia" into gdb_assert.
2649 (select_event_lwp_callback): Likewise.
2650 (cancel_breakpoints_callback): Bail out early if LP is the event
2651 LWP. Add comment about backup up breakpoints. Fix formatting and
2653 (select_event_lwp): Make solely repsonsible for switching event
2654 LWP. Fix formatting and remove bogus "ERROR" debug message.
2655 Don't backup breakpoints from here.
2656 (lin_lwp_wait): Don't touch LP->status, let select_event_lwp
2657 handle that. Only call select_event_lwp if we're not waiting for
2658 a specific LWP, i.e. when PID == -1. Backup breakpoints from here.
2660 2001-07-06 Michael Snyder <msnyder@redhat.com>
2662 * procfs.c (procfs_resume): Silence noisy warning.
2664 2001-06-12 Michael Snyder <msnyder@redhat.com>
2666 * lin-lwp.c: Prevent thread starvation by using a monte carlo
2667 method to choose which of several event threads to handle next.
2669 (stop_wait_callback): Defer pushback of breakpoint events until
2670 later; add SIGTRAP events to the queue of unhandled events.
2671 Keep calling waitpid until SIGSTOP retrieved. If more than one
2672 non-SIGSTOP event is retrieved, push them back onto the process
2674 (count_events_callback, select_singlestep_lwp_callback,
2675 select_event_lwp_callback, cancel_breakpoints_callback,
2676 select_event_lwp): New functions. Implement monte carlo method
2677 for selecting which of several SIGTRAP threads to handle next.
2678 Push back the breakpoint event for all threads other than the
2680 (lin_lwp_wait): Call select_event_lwp to decide which of several
2681 sigtrapped lwps to handle next.
2682 (resume_callback): Disable code that attempts to handle
2683 step_resume breakpoints. Let core gdb handle this.
2685 2001-07-06 Jim Blandy <jimb@redhat.com>
2687 * gdbtypes.h (builtin_type_void_func_ptr): New builtin type.
2688 * gdbtypes.c (builtin_type_void_func_ptr): Define the variable.
2689 (build_gdbtypes): Initialize it.
2690 (_initialize_gdbtypes): Swap it.
2692 2001-07-04 Daniel Jacobowitz <drow@mvista.com>
2694 * mips-tdep.c (mips32_op): Correct offset.
2695 (itype_op): Likewise.
2696 (itype_rs): Fix formatting.
2697 (itype_immediate): Fix formatting.
2698 (jtype_op): Correct offset.
2699 (jtype_target): Fix formatting.
2700 (rtype_op): Correct offset.
2701 (rtype_rs): Fix formatting.
2702 (rtype_rt): Likewise.
2703 (rtype_rd): Likewise.
2704 (rtype_shamt): Likewise.
2705 (rtype_funct): Likewise.
2707 (mips32_next_pc): Fix formatting and comments. Recognize
2708 coprocessor 1 branches. Check the correct field for BLT family
2709 branches. Use itype_rt instead of itype_rs for the second register
2710 of a BNE or BNEL branch. Move (unreachable) default case.
2712 2001-07-04 Andrew Cagney <ac131313@redhat.com>
2714 * ui-out.h (struct ui_out_impl): Add field is_mi_like_p.
2715 (ui_out_is_mi_like_p): Declare.
2716 * ui-out.c (ui_out_is_mi_like_p): Define.
2717 (default_ui_out_impl): Initialize is_mi_like_p to zero.
2718 * cli-out.c (cli_ui_out_impl): Ditto.
2719 * breakpoint.c (print_it_typical): Use ui_out_is_mi_like_p.
2720 (watchpoint_check, print_one_breakpoint, mention): Ditto.
2721 * infrun.c (print_stop_reason, normal_stop): Ditto.
2723 2001-07-05 Daniel Jacobowitz <drow@mvista.com>
2725 * mips-tdep.c (mips_software_single_step): New function.
2726 * config/mips/tm-mips.h: Add prototype for
2727 mips_software_single_step.
2729 2001-07-05 Daniel Jacobowitz <drow@mvista.com>
2731 * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead
2733 (fill_gregset): Likewise.
2735 2001-07-05 Andrew Cagney <ac131313@redhat.com>
2737 * objfiles.c (open_mapped_file): Use lbasename instead of
2740 2001-07-05 Jim Blandy <jimb@redhat.com>
2742 * d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,
2743 show_regs, d10v_read_pc, d10v_write_pc, d10v_read_sp,
2744 d10v_write_sp, d10v_write_fp, d10v_read_fp,
2745 d10v_push_return_address): Call the functions d10v_make_daddr,
2746 d10v_make_iaddr, d10v_convert_iaddr_to_raw, and
2747 d10v_convert_daddr_to_raw, not the global macros D10V_MAKE_DADDR,
2748 D10V_MAKE_IADDR, D10V_CONVERT_IADDR_TO_RAW, and
2749 D10V_CONVERT_DADDR_TO_RAW.
2751 * dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.
2753 2001-07-05 Mark Kettenis <kettenis@gnu.org>
2755 * config/i386/xm-go32.h (HOST_I386): Removed.
2756 * config/i386/xm-linux.h (HOST_I386): Removed.
2758 2001-07-04 Mark Kettenis <kettenis@gnu.org>
2760 * i387-tdep.c (print_i387_value): Add extra space after final full
2763 2001-07-04 Andrew Cagney <ac131313@redhat.com>
2765 * TODO (5.1): Update. Doco changes committed.
2767 2001-06-29 Andrew Cagney <ac131313@redhat.com>
2769 * config/arm/tm-arm.h: Include "floatformat.h".
2771 2001-06-29 Andrew Cagney <ac131313@redhat.com>
2773 * i387-tdep.c: Include "gdb_assert.h".
2774 (print_i387_value): Use extract_floating to extract the FP value
2775 from a zero padded local buffer.
2777 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2779 * TODO: Delete all thread items. The thread code was overhauled.
2781 2001-07-04 Elena Zannoni <ezannoni@redhat.com>
2783 * memattr.c (create_mem_region): Move n to next memory region,
2784 to avoid infinite loop.
2786 * memattr.h: Add copyright statement.
2789 2001-07-04 Jim Blandy <jimb@redhat.com>
2791 * dwarf2read.c (struct partial_die_info): New member: has_pc_info.
2792 (read_partial_die): Delete fourth argument; we return this info in
2793 the struct partial_die_info object itself now.
2794 (dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the
2795 has_pc_info field of the partial die struct, rather than passing a
2796 variable by reference to read_partial_die.
2798 * dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneous
2799 code in loop condition.
2801 2001-07-03 Michael Snyder <msnyder@redhat.com>
2803 * thread_db (find_new_threads_callback, thread_db_thread_alive,
2804 attach_thread): Update comments.
2806 2001-06-29 Ken Whaley <ken@believe.com>
2808 * thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition
2809 to TD_THR_UNKNOWN when looking for defunct zombie threads.
2810 (thread_db_thread_alive): Ditto.
2811 (find_new_threads_callback): Ditto.
2813 2001-07-02 Daniel Jacobowitz <drow@mvista.com>
2815 * MAINTAINERS: Add myself to the write-after-approval list.
2817 2001-07-02 Daniel Jacobowitz <drow@mvista.com>
2819 * solib-svr4.c: Include "elf/mips.h".
2820 (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.
2822 2001-07-02 Jim Blandy <jimb@redhat.com>
2824 * dwarf2read.c (read_comp_unit, sibling_die, dump_die,
2825 dump_die_list, store_in_ref_table, follow_die_ref): Make these
2826 static; they're private functions.
2828 2001-07-01 Mark Elbrecht <snowball@bigfoot.com>
2830 * coffread.c (coff_symfile_read): Parse DWARF2 info if present.
2832 2001-06-28 Elena Zannoni <ezannoni@redhat.com>
2834 * TODO: Add import of readline 4.2 as a gdb 5.2 task.
2836 2001-06-29 Andrew Cagney <ac131313@redhat.com>
2838 * config/djgpp/fnchange.lst: Sort.
2840 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2842 * config/djgpp/fnchange.lst: Rename mi0-var-block.exp,
2843 mi0-var-cmd.exp, mi0-var-child.exp and mi0-var-display.exp.
2845 2001-06-29 Andreas Jaeger <aj@suse.de>
2847 * MAINTAINERS: Add myself to the write-after-approval list.
2849 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2851 * remote-array.c (SWAP_TARGET_AND_HOST): Delete macro.
2852 (get_hex_word): Don't use HOST_BYTE_ORDER.
2853 (array_fetch_registers): Add variable ``reg''. Use
2854 store_unsigned_integer to byte-swap the register. Delete unused
2857 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2859 * MAINTAINERS: Add Per Bothner to Java maintainers.
2861 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2863 * rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
2864 * rdi-share/hostchan.h (__unix): Hack, provide a default value.
2865 * rdi-share/host.h (__unix): Hack, define when __NetBSD__.
2867 * MAINTAINERS: Update. arm-elf builds.
2869 2001-06-28 Jim Blandy <jimb@redhat.com>
2871 * d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.
2873 * d10v-tdep.c (d10v_frame_chain_valid, d10v_use_struct_convention,
2874 d10v_breakpoint_from_pc, d10v_register_byte,
2875 d10v_register_raw_size, d10v_register_virtual_size,
2876 d10v_register_virtual_type, d10v_register_convertible,
2877 d10v_register_convert_to_virtual, d10v_register_convert_to_raw,
2878 d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
2879 d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
2880 d10v_store_struct_return, d10v_store_return_value,
2881 d10v_extract_struct_value_address, d10v_frame_saved_pc,
2882 d10v_saved_pc_after_call, d10v_pop_frame, d10v_skip_prologue,
2883 d10v_frame_chain, d10v_frame_init_saved_regs,
2884 d10v_init_extra_frame_info, d10v_read_pc, d10v_write_pc,
2885 d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp,
2886 d10v_push_return_address, d10v_push_arguments,
2887 d10v_extract_return_value): Make these functions static.
2889 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2891 From Fernando Nasser:
2892 * infrun.c (handle_inferior_event): Handle "nexti" inside function
2895 2001-06-28 Michael Snyder <msnyder@redhat.com>
2897 * infrun.c (handle_inferior_event): Replace prev_pc test in all
2898 calls to bpstat_stop_status (removed in 1999-09-24). This test
2899 helps distinguish stepping over a breakpoint trap from stepping
2900 thru a jump to the instruction after a breakpoint trap.
2901 (handle_inferior_event): Don't bother writing the PC if
2902 DECR_PC_AFTER_BREAK is zero (optimization).
2903 * breakpoint.c (bpstat_stop_status): Add comment explaining the
2904 purpose and usage of the "not_a_breakpoint" argument in computing
2905 the breakpoint address.
2907 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2909 From 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
2910 * monitor.c (setmem_resp_delim_pattern): New regexp pattern.
2911 (setreg_resp_delim_pattern): Likewise.
2912 (setmem_resp_delim_fastmap): New buffer.
2913 (setreg_resp_delim_fastmap): Likewise.
2914 (monitor_open): Initialize above regexp if they are defined.
2915 (monitor_write_memory): Use regexp to check the result of write.
2916 (monitor_store_register): Likewise to check result of register set.
2918 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2920 From 2000-06-14 John Marshall <john_w_marshall@palm.com>:
2921 * coff-solib.c: Include symfile.h and objfiles.h to make
2922 OBJF_SHARED visible.
2924 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2926 * configure.in (--enable-gdbmi): Enable by default.
2927 * configure: Regenerate.
2931 2001-06-28 Joel Brobecker <brobecker@act-europe.fr>
2933 * solib-osf.c (osf_in_dynsym_resolve_code): Add a comment
2934 explaining the consequences of always returning zero. No code
2937 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2939 From 2001-06-08 Daniel Jacobowitz <djacobowitz@mvista.com>:
2940 * defs.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_65
2941 to TARGET_SIGNAL_REALTIME_127.
2942 * target.c (struct signals): Add SIG63 to SIG127.
2943 (target_signal_from_host): Handle up to 127 signals.
2944 (do_target_signal_to_host): Likewise.
2946 2001-06-27 Andrew Cagney <ac131313@redhat.com>
2948 * remote-sds.c (sds_start_remote): Change type of ``c'' to int
2949 from possibly unsigned char.
2951 2001-06-27 Andrew Cagney <ac131313@redhat.com>
2953 * ser-ocd.c: Delete file.
2954 * Makefile.in (ALLDEPFILES): Remove ser-ocd.c
2955 (ser-ocd.o): Delete target.
2959 2001-06-27 Andrew Cagney <ac131313@redhat.com>
2961 * MAINTAINERS (Write After Approval): Sort.
2962 (Past Maintainers): Daniel Berlin stepped down as C++ maintainer.
2964 2001-06-26 Andrew Cagney <ac131313@redhat.com>
2966 * breakpoint.c (breakpoint_1): Always output the breakpoint
2967 headings. Leave it to ui-out to decide which
2969 2001-06-25 Andrew Cagney <ac131313@redhat.com>
2971 * stack.c (print_frame): For ui_out, output a list of arguments.
2973 2001-06-25 Kevin Buettner <kevinb@redhat.com>
2975 * MAINTAINERS (paper trail): Update.
2977 2001-06-25 Michael Snyder <msnyder@redhat.com>
2979 * infrun.c: Eliminate the "thread_step_needed" state variable,
2980 and replace it with a relatively simple test in resume.
2981 (resume): Replace thread_step_needed logic with a test for
2982 stepping, breakpoint_here_p and breakpoints_inserted.
2983 Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
2984 (proceed): Discard thread_step_needed logic.
2985 (wait_for_inferior, fetch_inferior_event, handle_inferior_event):
2986 Discard thread_step_needed logic.
2988 2001-06-24 Fernando Nasser <fnasser@redhat.com>
2990 * remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
2991 * rdi-share/host.h: Add missing parenthesis in conditional.
2993 2001-06-22 J.T. Conklin <jtc@redback.com>
2995 * configure.in: include nlist.h when checking for member som_addr
2997 * configure: regenerate.
2999 2001-06-21 Keith Seitz <keiths@redhat.com>
3001 * cli-out.c (cli_out_new): Initialize new structure member
3004 2001-06-20 Andrew Cagney <ac131313@redhat.com>
3006 * ui-out.h (ui_out_table_header): Add parameter ``col_name''.
3007 (table_header_ftype): Ditto.
3008 * cli-out.c (cli_table_header): Update.
3009 * ui-out.c (ui_out_table_header): Update.
3010 (uo_table_header): Update.
3011 (default_table_header): Update.
3012 (append_header_to_list): Update.
3013 (struct ui_out_header): Add field ``col_name''.
3014 (append_header_to_list): Use xstrdup. Initialize col_name.
3015 * breakpoint.c (breakpoint_1): Pass COL_NAME to
3016 ui_out_table_header.
3018 2001-06-19 Andrew Cagney <ac131313@redhat.com>
3020 * cli-out.c: Include "gdb_assert.h'.
3021 (struct ui_out_data): Add field ``suppress_output.
3022 (cli_table_begin): When NR_ROWS is zero, suppress_output.
3023 (cli_table_end): Clear suppress_output.
3024 (cli_table_body): Check suppress_output.
3025 (cli_table_header, cli_begin): Ditto.
3026 (cli_end, cli_field_int, cli_field_skip): Ditto.
3027 (cli_field_string, cli_field_fmt, cli_spaces): Ditto.
3028 (cli_text, cli_message, cli_wrap_hint): Ditto.
3029 * breakpoint.c (breakpoint_1): Close the ui_out table before
3030 printing the breakpoint not found message.
3032 2001-06-18 Andrew Cagney <ac131313@redhat.com>
3034 * ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
3035 (default_table_begin): Ditto.
3036 (uo_table_begin): Ditto.
3037 * cli-out.c (cli_table_begin): Ditto.
3038 * ui-out.h (ui_out_table_begin): Update
3039 (table_begin_ftype): Update.
3040 * breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
3043 2001-06-16 Andrew Cagney <ac131313@redhat.com>
3045 * breakpoint.c (breakpoint_1): Restructure. Compute the
3046 nr_printable_breakpoints. Move the header output to before the
3047 main print breakpoints loop.
3048 (user_settable_breakpoint): New function.
3050 2001-06-18 Andrew Cagney <ac131313@redhat.com>
3052 * infrun.c, breakpoint.c: Use strncmp as the "mi" test. Allow,
3053 "mi", "mi0" and "mi1".
3055 2001-06-17 Andrew Cagney <ac131313@redhat.com>
3057 * gdbarch.sh: Generate an error when conflicting macro
3058 definitions. Generate an error when both pure multi-arch and
3060 * gdbarch.h, gdbarch.c: Regenerate.
3061 * defs.h (GDB_MULTI_ARCH_TM): Rewrite definition.
3063 2001-06-17 Andrew Cagney <ac131313@redhat.com>
3065 * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Down grade to
3066 GDB_MULTI_ARCH_PARTIAL from two.
3068 2001-06-17 Fernando Nasser <fnasser@redhat.com>
3070 From 2001-06-15 Eirik Fuller <eirik@hackrat.com>
3071 * cli/cli-script.c (free_command_lines): Reset list pointer.
3073 2001-06-16 Andrew Cagney <ac131313@redhat.com>
3075 * arch-utils.c (init_frame_pc_default): New function
3076 * arch-utils.h (init_frame_pc_default): Declare.
3077 * gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and
3078 not init_frame_pc_noop.
3079 * gdbarch.h, gdbarch.c: Re-generate.
3080 * blockframe.c (INIT_FRAME_PC): Delete macro definition.
3081 * mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to
3084 2001-06-16 Andrew Cagney <ac131313@redhat.com>
3086 * gdbarch.c: Regenerate. Out-of-sync with gdbarch.sh.
3088 2001-06-15 Andrew Cagney <ac131313@redhat.com>
3090 * gdbarch.sh (CANNOT_FETCH_REGISTER): Multi-arch.
3091 (CANNOT_STORE_REGISTER): Ditto.
3092 * infptrace.c (CANNOT_FETCH_REGISTER): Delete definition.
3093 (CANNOT_STORE_REGISTER): Ditto.
3094 * regcache.c (CANNOT_STORE_REGISTER): Ditto.
3095 * lynx-nat.c (CANNOT_STORE_REGISTER): Ditto.
3096 * arch-utils.h (cannot_register_not): Define.
3097 * arch-utils.c (cannot_register_not): Declare.
3099 2001-06-15 Andrew Cagney <ac131313@redhat.com>
3101 * gdbarch.sh: Clarify pre/post default
3102 (INIT_FRAME_PC_FIRST, INIT_FRAME_PC): Multiarch.
3103 * blockframe.c (get_prev_frame): Remove #ifdef from around
3104 INIT_FRAME_PC_FIRST call.
3105 * arch-utils.c (init_frame_pc_noop): Define.
3106 * arch-utils.h (init_frame_pc_noop): Declare.
3107 * config/mips/tm-mips.h (INIT_FRAME_PC_FIRST): Delete.
3108 (INIT_FRAME_PC, mips_init_frame_pc_first): Ditto.
3109 * mips-tdep.c (mips_init_frame_pc_first): Make static.
3110 (mips_gdbarch_init): Initialize init_frame_pc_first.
3111 (mips_dump_tdep): Update.
3113 2001-06-15 Michael Snyder <msnyder@redhat.com>
3115 * infrun.c (context_switch): New function. Abstract the operation
3116 of saving and restoring infrun's state when switching threads.
3117 (handle_inferior_event): Normalize the handling of the 'thread hop'
3118 event (when the wrong thread hits a thread-specific breakpoint,
3119 and we need to solo-step that thread past the breakpoint).
3120 Call keep_going, instead of target_resume. Handle the subsequent
3121 singlestep-trap as a normal event instead of just resuming.
3123 2001-06-15 Andrew Cagney <ac131313@redhat.com>
3125 * arch-utils.c (core_addr_identity): New function. Rename
3126 default_convert_from_func_ptr_addr.
3127 * gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR): Update.
3128 (ADDR_BITS_REMOVE): Define. Default to core_addr_identity.
3129 * defs.h (ADDR_BITS_REMOVE): Delete macro definition.
3130 * config/mips/tm-mips.h (ADDR_BITS_REMOVE): Delete definition.
3131 * mips-tdep.c (mips_addr_bits_remove): Make static.
3132 (mips_gdbarch_init): Initialize addr_bits_remove.
3134 2001-06-15 Andrew Cagney <ac131313@redhat.com>
3136 From 2001-02-26 D.J. Barrow <djbarrow@de.ibm.com>:
3137 * configure.tgt: Add S/390 31 & 64 bit target configuration.
3138 * configure.host: Ditto for host.
3140 2001-06-15 Andrew Cagney <ac131313@redhat.com>
3142 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
3143 (EXTRACT_STRUCT_VALUE_ADDRESS): Change to a function with
3145 * gdbarch.h, gdbarch.c: Regenerate.
3146 * values.c (value_being_returned): Change the reference to
3147 EXTRACT_STRUCT_VALUE_ADDRESS_P to a function call.
3149 2001-06-15 Joel Brobecker <brobecker@act-europe.fr>
3151 * MAINTAINERS: Add Paul Hilfinger and Joel Brobecker to the
3152 Write After Approval list.
3154 2001-06-14 Michael Snyder <msnyder@redhat.com>
3156 * remote.c (show_remote_protocol_qSymbol_packet_cmd,
3157 set_remote_protocol_qSymbol_packet_cmd): New functions.
3158 (init_all_packet_configs, show_remote_cmd): Add qSymbol packet.
3159 (remote_check_symbols): New function. Implement qSymbol packet,
3160 allowing target to request symbol lookup service from gdb.
3161 (remote_open_1, remote_async_open_1): Call remote_check_symbols,
3162 allowing symbol lookup from exec_bfd on connection to target.
3163 (remote_new_objfile): New function. Catch new objfile notifications
3164 from shared library module, and call remote_check_symbols.
3165 (_initialize_remote): Hook remote_new_objfile into the shared
3166 library notification chain. Add "set remote symbol-lookup" command.
3168 2001-06-14 Keith Seitz <keiths@redhat.com>
3170 * tracepoint.c (trace_command): We now have tracepoint
3171 events. Get rid of those ugly hooks.
3172 (tracepoint_operation): Likewise.
3173 (trace_pass_command): Likewise.
3175 2001-06-13 Michael Snyder <msnyder@redhat.com>
3177 * gdbthread.h (struct thread_info): Add new fields:
3178 current_line, current_symtab, step_sp, for saved infrun state.
3179 * thread.c (save_infrun_state, load_infrun_state): Save and
3180 restore current_line, current_symtab, and step_sp.
3181 (add_thread): Rather than adding assignments to initialize
3182 the new fields, just use memset (tp, 0, sizeof (*tp).
3183 This way future new fields will not be overlooked.
3184 * infrun.c (handle_inferior_event): Save and restore save_sp,
3185 current_line, and current_symtab when switching threads.
3187 2001-06-13 Elena Zannoni <ezannoni@redhat.com>
3189 * MAINTAINERS: Add Andrew Cagney as co-maintainer of
3192 2001-06-11 Andrew Cagney <ac131313@redhat.com>
3194 * symtab.c (lookup_symtab_1): Replace basename with lbasename.
3195 (lookup_partial_symtab, file_matches): Ditto.
3196 (make_source_files_completion_list): Ditto.
3197 (make_file_symbol_completion_list): Ditto. Make local char*
3198 variable ``tail'' constant.
3199 (make_source_files_completion_list): Ditto with ``base_name''.
3200 * source.c (open_source_file): Use lbasename. Make ``p'' const
3203 2001-06-13 Eli Zaretskii <eliz@is.elta.co.il>
3205 * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
3206 (SLASH_STRING): Remove unused definitions.
3207 * config/i386/xm-cygwin.h: Likewise.
3209 2001-06-12 Andrew Cagney <ac131313@redhat.com>
3211 * ui-out.c (ui_out_list_begin): Add parameter ``id''.
3212 (make_cleanup_ui_out_list_begin_end): Ditto. Open the list.
3213 * ui-out.h: Update declarations.
3215 Mon Jun 11 17:26:43 2001 Andrew Cagney <cagney@b1.cygnus.com>
3217 * source.c (openp): Make parameters ``path'' and ``string''
3219 (openp): Use alloca to safely duplicate ``string''. Make local
3220 variables ``p'' and ``p1'' constant. Delete char* casts.
3223 * symtab.c (lookup_symtab_1): Make parameter ``name'' constant.
3224 (lookup_symtab, lookup_partial_symtab): Ditto.
3225 * symtab.h (lookup_symtab, lookup_partial_symtab): Update.
3227 2001-06-11 Andrew Cagney <ac131313@redhat.com>
3229 * ui-out.h (ui_out_table_begin): Make char* parameters constant.
3230 (ui_out_table_header, ui_out_field_int): Ditto.
3231 (ui_out_field_core_addr, ui_out_field_string): Ditto.
3232 (ui_out_field_stream, ui_out_field_fmt): Ditto.
3233 (ui_out_field_skip, ui_out_text, ui_out_message): Ditto.
3234 * ui-out.c (ui_out_table_begin, ui_out_table_header): Update.
3235 (ui_out_field_core_addr, ui_out_field_stream): Update.
3236 (ui_out_field_string, ui_out_field_fmt): Update.
3237 (ui_out_text, ui_out_message): Update.
3238 (append_header_to_list): Make char* parameters constant.
3239 (uo_table_header, uo_table_begin): Ditto.
3240 (uo_field_int, uo_field_skip): Ditto.
3241 (uo_field_string, uo_field_fmt): Ditto.
3242 (uo_text, uo_message): Ditto.
3244 2001-06-11 Eli Zaretskii <eliz@is.elta.co.il>
3246 * completer.c (gdb_completer_loc_break_characters): New variable.
3247 (line_completion_function): If we are completing on locations,
3248 back up the start of word pointer past all characters which can
3249 appear in a location spec.
3250 (location_completer): New function.
3252 * completer.h: Add prototype for location_completer.
3254 * symtab.c (make_source_files_completion_list)
3255 (add_filename_to_list, not_interesting_fname): New functions.
3256 (filename_seen): New function, body extracted from
3257 output_source_filename.
3258 (output_source_filename): Call filename_seen to check if the file
3259 was already printed.
3260 (make_symbol_completion_list): If TEXT includes a
3261 double-quoted string, return an empty list, not NULL.
3262 (make_file_symbol_completion_list): New function, similar to
3263 make_symbol_completion_list but with an additional argument
3266 * symtab.h (make_file_symbol_completion_list)
3267 (make_source_files_completion_list): Add prototypes.
3269 * breakpoint.c (_initialize_breakpoint): Make location_completer
3270 be the completion function for all commands which set breakpoints
3272 (top-level): #include "completer.h".
3274 * tracepoint.c (_initialize_tracepoint): Make location_completer
3275 be the completion function for the "trace" command.
3276 (top-level): #include "completer.h".
3278 * printcmd.c (_initialize_printcmd): Make location_completer be
3279 the completion function for the "print", "inspect", "call", and
3280 "disassemble" commands.
3281 (top-level): #include "completer.h".
3283 * infcmd.c (_initialize_infcmd): Make location_completer be the
3284 completion function for the "go", "jump", and "until" commands.
3285 (top-level): #include "completer.h".
3287 2001-06-10 Christopher Faylor <cgf@redhat.com>
3289 * gnu-regex.c: Eliminate obsolete check for _MSC_VER.
3290 * utils.c (notice_quit): Remove dummy function only used for _MSC_VER.
3291 * values.c (unpack_double): Remove obsolete check for _MSC_VER.
3293 * m32r-rom.c: Ditto.
3295 * ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for
3297 (get_ds_base): Remove _MSC_VER version of this function.
3298 * nindy-share/ttyflush.c: Ditto.
3299 * rdi-share/host.h: Ditto.
3300 * ser-go32.c (dos_readchar): Remove call to obsolete function.
3301 * remote-sim.c (gdb_os_poll_quit): Ditto.
3302 * remote-e7000.c (expect): Remove obsolete #if 0'ed code.
3304 * main.c (captured_main): Eliminate special Cygwin checks.
3305 * ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
3307 2001-06-09 Andrew Cagney <ac131313@redhat.com>
3309 * Makefile.in (gdbcmd_h): Add ui_out_h.
3310 (breakpoint.o, infcmd.o, main.o, printcmd.o, stack.o): Ditto.
3311 (thread.o, top.o): Ditto.
3313 * ui-out.h (table_begin_ftype): Make string parameters constant.
3314 (table_header_ftype): Ditto.
3315 (field_int_ftype): Ditto.
3316 (field_skip_ftype): Ditto.
3317 (field_string_ftype): Ditto.
3318 (field_fmt_ftype): Ditto.
3319 (text_ftype): Ditto.
3320 (message_ftype): Ditto.
3321 * cli-out.c (cli_table_begin): Ditto.
3322 (cli_table_header): Ditto.
3323 (cli_field_int): Ditto.
3324 (cli_field_skip): Ditto.
3325 (cli_field_string): Ditto.
3326 (cli_field_fmt): Ditto.
3328 (cli_message): Ditto.
3329 (out_field_fmt): Ditto.
3330 * ui-out.c (default_table_begin): Ditto.
3331 (default_table_header): Ditto.
3332 (default_field_int): Ditto.
3333 (default_field_skip): Ditto.
3334 (default_field_string): Ditto.
3335 (default_field_fmt): Ditto.
3336 (default_text): Ditto.
3337 (default_message): Ditto.
3339 2001-06-08 Michael Snyder <msnyder@redhat.com>
3341 * breakpoint.c (delete_breakpoint): Pass mark_inserted to
3342 remove_breakpoint, so that the subsequent test for
3343 bpt->inserted will succeed, and duplicates will be fixed up.
3345 2001-06-08 Per Bothner <per@bothner.com>
3347 * dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
3349 2001-06-07 Keith Seitz <keiths@redhat.com>
3351 * tracepoint.c (tracepoint_opertation): Add ui event
3353 (trace_pass_command): Ditto.
3355 2001-06-07 Andrew Cagney <ac131313@redhat.com>
3357 * MAINTAINERS (Write After Approval): Note the entry criteria.
3358 (HP/PA): Jeff Law stepped down
3360 2001-06-07 Jim Blandy <jimb@redhat.com>
3362 * gdbarch.sh: Make sure that '[' doesn't interpret interesting
3363 variable values as operators.
3365 2001-06-07 Keith Seitz <keiths@redhat.com>
3367 * gdb-events.sh: Fix quote escaping which was obsoleted
3370 2001-06-07 Keith Seitz <keiths@redhat.com>
3372 * gdb-events.sh: Make if statements and tests
3373 a little more portable.
3374 Don't use shell's echo command to put strings containing
3375 escaped characeters into a file -- different flavors of /bin/sh
3376 require differnt levels of escaping. Use cat <<EOF instead.
3377 Our internal field separator is a colon. Change all
3378 commands which assume it is a space.
3380 2001-06-06 Mark Kettenis <kettenis@gnu.org>
3382 * lin-lwp.c (struct lwp_info): Add member `resumed'.
3383 (iterate_over_lwps): Make sure we can handle CALLBACK deleting the
3384 LWP it's called for.
3385 (lin_lwp_attach): Mark LWP as resumed to make sure the fake
3386 SIGSTOP is reported.
3387 (resume_clear_callback): New function.
3388 (resume_set_callback): New function.
3389 (lin_lwp_resume): Mark all LWP's that we're going to resume as
3390 resumed, and unmark all others.
3391 (status_callback): Only report a pending wait status if we pretend
3392 that LP has been resumed.
3393 (resumed_callback): New function.
3394 (lin_lwp_wait): Add assertions to check that LWP's are properly
3395 marked as resumed. Partially revert 2001-05-25 patch by Michael
3396 Snyder: do not resume all threads. Add comment explaining the
3397 problems associated with this bit of code.
3399 2001-06-07 Keith Seitz <keiths@redhat.com>
3401 * MAINTAINTERS: Syd Polk is stepping down from
3402 maintaining libgui. I am replacing him.
3404 2001-06-07 Eli Zaretskii <elis@is.elta.co.il>
3406 * config/mips/tm-irix6.h: New file.
3408 * config/mips/irix6.mh: New file.
3410 * config/mips/irix6.mt: New file.
3412 * config/mips/xm-irix6.h: New file.
3414 * config/mips/nm-irix6.h: New file.
3416 * mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the
3417 disassembler info in tm_print_insn_info as appropriate for the N32
3418 ABI. Force N32 ABI to be the default if the CPU is R8000 or
3421 * configure.tgt (mips*-sgi-irix6*): Map to irix6.
3423 * configure.host (mips*-sgi-irix6*): Ditto.
3425 2001-06-07 Andrew Cagney <ac131313@redhat.com>
3427 * gnu-v3-abi.c: Include "gdb_assert.h".
3428 (build_gdb_vtable_type): Replace abort() with gdb_assert().
3430 2001-06-06 Jim Blandy <jimb@redhat.com>
3432 * cp-abi.h: Rearrange code to put documentation comments above the
3433 functions we export. The actual function table itself simply
3434 refers to those functions. Minor doc fixes.
3436 * gdbarch.sh: Changes to effect the following:
3437 * gdbarch.c (initialize_non_multiarch): New function.
3438 * gdbarch.h (initialize_non_multiarch): New declaration.
3439 * arch-utils.c (initialize_current_architecture): For
3440 non-multiarch configurations, call initialize_non_multiarch.
3442 2001-06-06 Andrew Cagney <ac131313@redhat.com>
3444 * symfile.c (compare_psymbols): Replace PTR with void*. Delete
3446 (compare_symbols): Ditto.
3448 2001-06-06 Jonathan Larmour <jlarmour@redhat.com>
3450 * arch-utils.c (generic_prepare_to_proceed): Allow for having
3451 stopped due to a Ctrl-C as well as breakpoints.
3453 * hppa-tdep.c (hppa_prepare_to_proceed): Add FIXME as this may not
3454 support thread switches after Ctrl-C.
3455 * lin-lwp.c (lin_lwp_prepare_to_proceed): Ditto.
3456 * linux-thread.c (linuxthreads_prepare_to_proceed): Ditto.
3457 * m3-nat.c (mach3_prepare_to_proceed): Ditto.
3459 2001-06-06 Jim Blandy <jimb@redhat.com>
3461 * gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; all
3462 per-architecture data should be registered at initialization time,
3463 before any gdbarch objects get used, so the generality is
3466 2001-06-06 Keith Seitz <keiths@redhat.com>
3468 * gdb-events.sh (function_list): Add tracepoint_create,
3469 tracepoint_delete, and tracepoint_modify events.
3470 * gdb-events.c: Regenerated.
3471 * gdb-events.h: Regenerated.
3473 2001-06-06 Keith Seitz <keiths@redhat.com>
3475 * gdb-events.sh: Update copyrights.
3476 Change free to xfree.
3477 * gdb-events.c: Regenerated.
3478 * gdb-events.h: Regenerated.
3480 2001-06-06 Eli Zaretskii <eliz@is.elta.co.il>
3482 * source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
3483 instead of #if HAVE_DOS_BASED_FILE_SYSTEM.
3484 * completer.c: Ditto.
3485 * cli/cli-cmds.c (cd_command): Ditto.
3487 2001-06-04 Eli Zaretskii <eliz@is.elta.co.il>
3489 * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
3490 (mips_set_processor_type_command): Remove unused variable j.
3491 (mips_breakpoint_from_pc): Declare breakpoint instruction
3492 sequences as unsigned char, to avoid compiler warnings.
3494 * source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
3495 instead of system-specific define's like _WIN32 and __MSDOS__.
3496 Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and
3498 (top-level): #include "filenames.h".
3500 * solib.c (solib_open): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH
3501 instead of SLASH_CHAR, ROOTED_P and SLASH_P.
3502 (top-level): #include "filenames.h".
3504 * defs.h (SLASH_P, SLASH_CHAR, ROOTED_P): Remove definitions.
3505 (SLASH_STRING): Define only for _WIN32.
3507 * completer.c: Use HAVE_DOS_BASED_FILE_SYSTEM instead of
3510 * cli/cli-cmds.c (cd_command): Use IS_DIR_SEPARATOR and
3511 IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P. Replace
3512 system-specific ifdefs with HAVE_DOS_BASED_FILE_SYSTEM.
3513 (top-level): #include "filenames.h".
3515 * go32-nat.c (go32_wait): Change the return value to ptid_t.
3517 * config/djgpp/fnchange.lst: Add two new files in the
3518 gdb/testsuite/gdb.c++/ directory to the remapped names.
3520 * config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
3522 2001-06-01 Jim Blandy <jimb@redhat.com>
3524 Expand the gdbarch per-architecture data vector as needed, rather
3525 than requiring that all per-architecture data be registered before
3526 the first gdbarch object is allocated.
3527 * gdbarch.sh: Changes to effect the following:
3528 * gdbarch.c (alloc_gdbarch_data, init_gdbarch_data): Delete
3529 declarations and definitions.
3530 (check_gdbarch_data): New function, and declaration.
3531 (gdbarch_alloc): Don't call alloc_gdbarch_data; leaving the fields
3532 zero is good enough.
3533 (free_gdbarch_data): Tolerate a null data pointer. Free only
3534 those data items gdbarch->data actually has allocated.
3535 (set_gdbarch_data, gdbarch_data): Call check_gdbarch_data.
3536 (gdbarch_update_p): No need to call init_gdbarch_data.
3538 2001-06-01 Kevin Buettner <kevinb@redhat.com>
3540 * ia64-tdep.c (is_float_or_hfa_type_recurse): Call check_typedef()
3541 on types that we wish to recurse on.
3542 (slot_alignment_is_next_even): New function.
3543 (ia64_push_arguments): Call slot_alignment_is_next_even() to
3544 examine the type in order to decide if it's necessary to skip
3547 2001-06-01 Michael Snyder <msnyder@redhat.com>
3549 * thread.c (delete_step_resume_breakpoint): New function.
3550 Maintain internal consistency of the thread list while deleting
3551 a step_resume_breakpoint.
3552 * gdbthread.h (delete_step_resume_breakpoint): Export.
3553 * breakpoint.c (bpstat_find_step_resume_breakpoint):
3554 Make thread-aware: don't return a step_resume_breakpoint
3555 for the wrong thread.
3556 * infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint
3557 instead of delete_breakpoint_current_contents.
3558 (fetch_inferior_event): Ditto.
3559 (handle_inferior_event): Call delete_step_resume_breakpoint
3560 instead of delete_breakpoint.
3561 * infrun.c (handle_inferior_event): After singlestepping over a
3562 thread-specific breakpoint, use currently_stepping() to decide
3563 whether to step or continue.
3565 2001-06-01 Jim Blandy <jimb@redhat.com>
3567 * gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
3568 these static --- there's no reason other files should use these.
3570 * partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)
3573 * partial-stab.h: New complaint: function_outside_compilation_unit.
3574 (case N_FUN: case 'f':, case N_FUN: case 'F':): If pst is zero,
3575 complain, and don't try to set pst's start address.
3577 2001-05-31 Kevin Buettner <kevinb@redhat.com>
3579 * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise to
3580 match the location at which the kernel is placing the sigcontext
3583 * ia64-tdep.c (max_skip_non_prologue_insns): New static global.
3584 (refine_prologue_limit): New function.
3585 (examine_prologue): Further limit number of instructions
3586 scanned by calling refine_prologue_limit(). Revise way in
3587 which the end of prologue address is computed for frameless
3590 2001-05-29 Christopher Faylor <cgf@redhat.com>
3592 * partial-stab.h: Revert previous patch.
3594 2001-05-29 Christopher Faylor <cgf@redhat.com>
3596 * partial-stab.h: Consistently guard against pst being NULL.
3598 2001-05-29 Alexandre Oliva <aoliva@redhat.com>
3600 * symfile.c (compare_psymbols, compare_symbols): Declare using
3601 PTR, as in the definition.
3602 * minsyms.c (compare_minimal_symbols): Likewise.
3603 * coffread.c (find_targ_sec): Likewise.
3604 * elfread.c (free_elfinfo, elf_locate_sections): Likewise.
3605 * mipsread.c (alphacoff_locate_sections): Likewise.
3606 * mdebugread.c (compare_blocks): Likewise.
3608 2001-05-25 Nick Duffek <nsd@redhat.com>
3610 * solib.c (update_solib_list): Move target_resize_to_sections()
3611 into solib_map_sections() loop.
3612 (info_sharedlibrary_command): Try bfd_arch_bits_per_address() if
3613 bfd_get_arch_size() fails.
3615 2001-05-25 Nick Duffek <nsd@redhat.com>
3617 * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
3619 * config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o
3620 with solib-osf.o and solib.o.
3621 * config/alpha/alpha-osf2.mh: Likewise.
3622 * config/alpha/alpha-osf3.mh: Likewise.
3623 * solib-osf.c: New file, renamed and largely rewritten from
3626 2001-05-25 Michael Snyder <msnyder@redhat.com>
3628 * lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback,
3629 to consume the SIGSTOP generated by PTRACE_ATTACH.
3630 (stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed,
3631 try again to get the SIGSTOP event.
3632 (lin_lwp_wait): Resume all threads when ignoring a signal.
3633 This will insure that newly attached threads get resumed.
3634 * lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.
3635 * remote.c (remote_write_bytes): Update 'p' packet pointer.
3637 2001-05-25 Jim Blandy <jimb@redhat.com>
3639 * gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
3640 VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
3641 useful value, then we should fix that instead.
3643 2001-05-24 Nick Duffek <nsd@redhat.com>
3645 * solist.h (struct so_list): Document the requirement that
3646 current_sos initialize some fields to 0.
3648 2001-05-24 Mark Kettenis <kettenis@gnu.org>
3650 * gnu-nat.c: Include <ctype.h>.
3651 (gnu_pid_to_exec_file): Add PID parameter.
3652 (set_sig_thread_cmd): Use PIDGET on return value from
3654 (proc_string): Use MERGEPID to construct argument to
3657 2001-05-22 Kevin Buettner <kevinb@redhat.com>
3659 * breakpoint.c (breakpoint_address_is_meaningful): New function.
3660 (check_duplicates): Don't compare non-meaningful addresses.
3662 2001-05-22 Michael Snyder <msnyder@redhat.com>
3664 * thread-db.c: Allow for defunct zombie threads.
3665 (attach_thread): Do not attempt to attach zombie thread.
3666 (thread_db_thread_alive): Return false for defunct zombie thread.
3667 (find_new_threads_callback): Don't add defunct zombie thread to list.
3669 2001-05-22 Jim Blandy <jimb@redhat.com>
3671 Add support for the GNU V3 C++ ABI.
3672 (Includes changes by Dan Berlin.)
3674 * gnu-v3-abi.c: New file.
3675 * minsyms.c: #include "value.h" and "cp-abi.h".
3676 (install_minimal_symbols): Check the minimal symbol table for
3677 symbols that look mangled in the V3 style, and select the V3 ABI
3679 * Makefile.in (SFILES): Add gnu-v3-abi.c.
3680 (COMMON_OBS): Add gnu-v3-abi.o.
3681 (gnu-v3-abi.o): Add new rule.
3682 (minsyms.o): Depend on $(cp_abi_h) and $(value_h).
3684 2001-05-21 Jim Blandy <jimb@redhat.com>
3686 * values.c (value_primitive_field): If we're extracting a base
3687 class, then the type of the result should be the base class being
3688 extracted, not the type of which it is a base class.
3690 * value.h (struct value): Doc fix, and rearrange members to place
3691 them near their explanations.
3693 2001-05-21 Michael Snyder <msnyder@redhat.com>
3695 * remote.c (remote_async_wait): Added new variable fieldsize.
3696 Add fieldsize (return value of hex2bin) to string pointer p.
3698 2001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3700 * m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
3701 (m68hc11_analyze_instruction): Update the pc correctly.
3702 (m68hc11_guess_from_prologue): Take into account the stack correction
3703 for the saving address.
3705 2001-05-07 Daniel Berlin <dan@cgsoftware.com>
3707 Changes by Jim Ingham:
3709 * values.c (value_change_enclosing_type): New function. If the
3710 new enclosing type is larger than the old one, we need to allocate
3712 * value.h: Add value_change_enclosing_type prototype.
3713 * valops.c (value_cast): Use it.
3714 (value_assign): Use it.
3715 (value_addr): Use it.
3716 (value_ind): Use it.
3717 (value_full_object): Use it.
3719 2001-05-07 Daniel Berlin <dan@cgsoftware.com>
3721 * values.c (value_static_field): Handle static fields that have a
3724 2001-05-17 Michael Snyder <msnyder@redhat.com>
3726 * blockframe.c (create_new_frame): Zero all the fields via memset,
3727 rather than zeroing them one by one.
3729 2001-05-17 Eli Zaretskii <eliz@is.elta.co.il>
3731 * top.c (user_args): Remove unused declaration.
3733 2001-05-16 Michael Snyder <msnyder@redhat.com>
3735 * infcmd.c (do_registers_info): Move alloca outside of loop.
3737 2001-05-15 John S Kallal <jskallal@home.com>
3739 * remote.c (remote_wait): Added new variable fieldsize.
3740 Add fieldsize (return value of hex2bin) to string pointer p.
3742 2001-05-15 Mark Kettenis <kettenis@gnu.org>
3744 * sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
3747 2001-05-14 Kevin Buettner <kevinb@redhat.com>
3749 * lin-lwp.c (detach_callback, lin_lwp_wait, lin_lwp_pid_to_str):
3750 Adjust format strings for printing LWPs to account for the fact
3751 that the type returned by GET_LWP() is now a long instead of an
3754 2001-05-14 Kevin Buettner <kevinb@redhat.com>
3756 * inferior.h (null_ptid, minus_one_ptid): New variable declarations.
3757 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
3758 (ptid_get_tid, ptid_equal): New function declarations.
3759 * infrun.c (null_ptid, minus_one_ptid): New variables.
3760 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
3761 (ptid_get_tid, ptid_equal): New functions.
3762 (_initialize_infrun): Initialize null_ptid, minus_one_ptid,
3763 inferior_ptid, and target_last_wait_ptid.
3765 * defs.h (ptid_t): Redefine to be a struct rather than an int.
3766 (pid_to_ptid, null_ptid, ptid_equal): Delete these macros.
3767 (PIDGET, TIDGET, MERGEPID): Redefine these macros using the
3768 new ptid accessors and constructor.
3770 * config/i386/tm-i386v42mp.h (PIDGET, TIDGET, LIDGET, MERGEPID,
3771 MKLID, MKTID, ISTID): Provide new definitions for these macros.
3772 The old macros are retained, but disabled via #if 0 in order
3773 to aid in future restructuring. See FIXME.
3775 * arm-linux-nat.c (PIDGET, TIDGET): Delete macro definitions.
3776 * i386-linux-nat.c (PIDGET, TIDGET): Likewise.
3777 * infptrace.c (PIDGET, TIDGET): Likewise.
3778 * lin-lwp.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
3779 * lin-thread.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
3780 * proc-service.c (MERGEPID): Likewise.
3781 * procfs.c (PIDGET, TIDGET, MERGEPID): Likewise.
3782 * thread-db.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
3783 * config/nm-linux.h (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
3784 * config/i386/tm-i386sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
3786 * config/sparc/tm-sun4sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
3789 * lin-lwp.c (THREAD_FLAG): Delete macro definition.
3790 (GET_LWP): Redefine in terms of ptid_get_lwp().
3791 (GET_PID): Redefine in terms of ptid_get_pid().
3792 (is_lwp): Redefine without the need for THREAD_FLAG.
3793 (BUILD_LWP): Redefine in terms of ptid_build().
3794 * lin-thread.c (THREAD_FLAG): Delete macro definition.
3795 (GET_LWP): Redefine in terms of ptid_get_lwp().
3796 (GET_PID): Redefine in terms of ptid_get_pid().
3797 (GET_THREAD): Redefine in terms of ptid_get_tid().
3798 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
3799 (is_lwp, is_thread): Redefine.
3800 (linux_child_wait, check_all_signal_numbers)
3801 (linuxthreads_discard_global_state, attach_thread): Declare these
3802 functions to squash warnings about missing declarations.
3803 * sol-thread.c (THREAD_FLAG): Delete macro definition.
3804 (GET_PID): Redefine in terms of ptid_get_pid().
3805 (GET_LWP): Redefine in terms of ptid_get_lwp().
3806 (GET_THREAD): Redefine in terms of ptid_get_tid().
3807 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
3808 (is_lwp, is_thread): Redefine.
3809 * thread-db.c (THREAD_FLAG): Delete macro definition.
3810 (GET_PID): Redefine in terms of ptid_get_pid().
3811 (GET_LWP): Redefine in terms of ptid_get_lwp().
3812 (GET_THREAD): Redefine in terms of ptid_get_tid().
3813 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
3814 (is_lwp, is_thread): Redefine.
3816 * corelow.c (add_to_thread_list, get_core_register_section):
3817 Eliminate hacks needed to prevent regressions when inferior_ptid
3818 wasn't wide enough to hold the core file thread id in the pid
3819 component of inferior_ptid.
3821 2001-05-14 Michael Snyder <msnyder@redhat.com>
3823 * remote.c (hex2bin): Make first argument const.
3824 Require explicit count, don't accept null-terminated str.
3825 (remote_resume, remote_async_resume): White space fix-up.
3826 (remote_write_bytes): Set nr_bytes to return value of bin2hex.
3828 2001-05-13 Mark Kettenis <kettenis@gnu.org>
3830 * symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
3831 basename (NAME). The FreeBSD basename returns a pointer to a
3832 static buffer, even if it's simply returning a string identical to
3834 (lookup_partial_symtab): Likewise.
3836 2001-05-14 Michael Snyder <msnyder@redhat.com>
3838 * solib.c, solib.h: Add comment for function no_shared_libraries.
3840 2001-05-14 Kevin Buettner <kevinb@redhat.com>
3842 * solib.h (no_shared_libraries): Make declaration match definition
3845 2001-05-14 Andrew Cagney <ac131313@redhat.com>
3847 * remote.c (remote_write_bytes): Set nr_bytes before returning it.
3848 * solib.h (no_shared_libraries): Declare.
3850 2001-05-12 Andrew Cagney <ac131313@redhat.com>
3852 * gdbarch.sh (struct gdbarch_info): Delete field bfd_architecture.
3853 (gdbarch_update_p): Rewrite logic filling in INFO struct. Use
3854 user specified values when available.
3855 * rs6000-tdep.c (rs6000_gdbarch_init): Update. Get the
3856 architecture from info.bfd_arch_info.
3857 * gdbarch.c, gdbarch.h: Regenerate.
3859 2001-05-12 Fernando Nasser <fnasser@redhat.com>
3861 * remote-e7000.c (e7000_open): Check for bad baud rate.
3862 * remote-st.c (st2000_open): Ditto.
3864 2001-05-11 Jim Blandy <jimb@redhat.com>
3866 * thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
3867 and ui_out_tuple_end instead of ui_out_list_begin and
3870 * Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
3871 dependencies. Reorder dependencies to match #includes in file,
3872 for easier verification.
3874 Fri May 11 13:32:50 2001 Andrew Cagney <cagney@b1.cygnus.com>
3876 * breakpoint.c: Replace ui_out_list_begin, ui_out_list_end and
3877 make_cleanup_ui_out_list_end with ui_out_tuple_begin,
3878 ui_out_tuple_end and make_cleanup_ui_out_tuple_begin_end.
3879 * cli/cli-setshow.c: Ditto.
3880 * printcmd.c: Ditto.
3883 * ui-out.h (enum ui_out_type): Fix tipo - tupple -> tuple.
3884 * ui-out.c (ui_out_list_begin): Delete ``lstid'' parameter.
3885 (ui_out_tuple_begin): New function.
3886 (ui_out_tuple_end): New function.
3887 (ui_out_tuple_begin_end): New function.
3888 (make_cleanup_ui_out_list_begin_end): Replace
3889 make_cleanup_ui_out_list_end function.
3890 * ui-out.h (ui_out_list_begin): Update declaration.
3891 (make_cleanup_ui_out_list_begin_end): Replace
3892 make_cleanup_ui_out_list_end declaration.
3893 (ui_out_tuple_begin, ui_out_tuple_end): Declare.
3894 (ui_out_tuple_begin_end): Declare.
3896 2001-05-11 Jim Blandy <jimb@redhat.com>
3898 * gnu-v2-abi.c: Don't #include "gdb_regex.h". We don't use it.
3900 2001-05-11 Andrew Cagney <ac131313@redhat.com>
3902 From 2001-03-26 Rodney Brown <RodneyBrown@mynd.com>
3903 * config/pa/tm-hppa.h: Remove trigraph.
3904 * hp-symtab-read.c (hpread_type_translate): Provide return value.
3905 (hpread_read_struct_type): Remove trigraph. Add parameter in
3907 (hpread_read_array_type): Provide return value.
3908 (hpread_type_lookup): Avoid ambiguous `else'. Provide return
3910 * hppa-tdep.c (initialize_hp_cxx_exception_support): Remove
3913 2001-05-11 Jim Blandy <jimb@redhat.com>
3915 * mips-tdep.c (mips_store_return_value,
3916 mips_extract_return_value): Pass arguments to
3917 return_value_location in the proper order.
3919 2001-05-11 Andrew Cagney <ac131313@redhat.com>
3921 * Makefile.in (VERSION): Delete. Moved to file ``version.in''.
3922 (version.c): Depends on file ``version.in''. Extract version
3923 number from ``version.in'' file.
3924 (clean mostlyclean): Update.
3925 * version.in: New file.
3928 2001-05-11 Kevin Buettner <kevinb@redhat.com>
3930 * breakpoint.c (set_raw_breakpoint): Add new parameter
3931 representing the breakpoint's type. Adjust all callers.
3932 (create_longjmp_breakpoint, create_temp_exception_breakpoint)
3933 (create_thread_event_breakpoint): Don't test for zero return
3934 value from set_raw_breakpoint(). It can never be zero.
3935 (create_exception_catchpoint, watch_command_1): Move logic
3936 which calculates the breakpoint type prior to the call to
3937 set_raw_breakpoint().
3939 2001-05-11 Fernando Nasser <fnasser@redhat.com>
3941 * ser-unix.c (rate_to_code): Issue warning if baud rate is invalid.
3942 (hardwire_setbaudrate): Set errno to EINVAL and return with error
3943 if the conversion of the baud rate to code fails.
3945 2001-05-10 Andrew Cagney <ac131313@redhat.com>
3947 * ui-out.h (make_cleanup_ui_out_begin_end): Declare.
3948 * ui-out.c (struct ui_out_end_cleanup_data): Define.
3949 (do_cleanup_end): New function. Replace do_list_end.
3950 (make_cleanup_ui_out_end): New function.
3951 (make_cleanup_ui_out_begin_end): New function.
3952 (make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end.
3954 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
3956 * MAINTAINERS: Declare xcoffread.c open to all maintainers,
3957 and make Kevin Buettner (kevinb@redhat.com) the reference person.
3959 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
3961 * proc-api.c (ioctl_with_trace): Fix uninitialized variable.
3963 2001-05-10 Fernando Nasser <fnasser@redhat.com>
3965 * MAINTAINERS: Add testsuite subdirectory co-maintainers.
3967 Thu May 10 16:26:47 2001 Andrew Cagney <cagney@b1.cygnus.com>
3969 * Makefile.in (mi-main.o): Compile with -Werror.
3971 2001-05-10 Michael Snyder <msnyder@redhat.com>
3973 * remote.c (remote_open_1): Call no_shared_libraries, so that
3974 symbols for shared libraries can be reloaded per session.
3975 (remote_async_open_1): Ditto.
3976 * remote.c (bin2hex, hex2bin): New functions. Factor out these
3977 two conversions which are coded for repeatedly in this module.
3978 (remote_threads_extra_info, remote_wait, remote_async_wait,
3979 store_register_using_P, remote_store_registers, remote_write_bytes,
3980 remote_read_bytes, remote_rcmd): Use bin2hex and hex2bin instead
3981 of coding the conversions inline.
3982 (fromhex): Not exported, change from extern to static.
3984 2001-05-10 Andrew Cagney <ac131313@redhat.com>
3986 * arch-utils.c (initialize_current_architecture): Delete obsolete
3987 ``info architecture'' command.
3988 (info_architecture): Delete function.
3990 2001-05-10 Andrew Cagney <ac131313@redhat.com>
3992 * TODO (5.1, 5.2): Update.
3994 2001-05-09 Andrew Cagney <ac131313@redhat.com>
3996 * MAINTAINERS: Jim Ingham is no longer maintaining Arm related
3999 2001-05-10 Keith Seitz <keiths@cygnus.com>
4001 * Makefile.in (SUBDIR_GDBTK_OBS): Add gdbtk-bp.o, gdbtk-register.o
4003 (SUBDIR_GDBTK_SRCS): Ditto for the sources.
4004 (gdbtk-bp.o): New rule.
4005 (gdbtk-register.o): New rule.
4006 (gdbtk-stack.o): New rule.
4007 (gdbtk-cmds.o): Update dependencies.
4009 (gdbtk-hooks.o): Ditto.
4010 (gdbtk-varobj.o): Ditto.
4012 2001-05-10 Fernando Nasser <fnasser@redhat.com>
4014 * varobj.c (c_number_of_children): Fix memory leak. Delete unwanted old
4015 variables, not just unregister them.
4017 2001-05-10 Fernando Nasser <fnasser@redhat.com>
4019 * varobj.c (c_number_of_children): Check for target type of void*,
4020 not the target type name. Allow dereferencing char*.
4022 2001-05-10 Fernando Nasser <fnasser@redhat.com>
4024 * symfile.c (symbol_file_add_main_1): New static function.
4025 Passes the flags arguments to symbol_file_add() and takes care
4026 of any necessary reinitializations.
4027 (symbol_file_command): Call symbol_file_add_main_1() instead of
4029 (symbol_file_add_main): Ditto.
4031 2001-05-09 Kevin Buettner <kevinb@redhat.com>
4033 * lin-lwp.c (lin_lwp_pid_to_str): Revert inadvertent format
4034 string change in 2001-05-03 changes.
4035 (lin_lwp_wait): Revert GET_LWP coercion introduced in 2001-05-03
4038 2001-05-09 Kevin Buettner <kevinb@redhat.com>
4040 * lin-lwp.c (lin_lwp_attach): Use PIDGET() to fetch the pid
4041 component from inferior_ptid.
4042 (lin_lwp_detach): Use pid_to_ptid() to convert from a pid to a
4045 2001-05-09 Elena Zannoni <ezannoni@redhat.com>
4047 * sh3-rom.c (_initialize_sh3_rom): Get rid of specific _WINDOWS
4048 conditional for help with connections through parallel ports,
4049 given that the actual code for downloading through a parallel port
4050 is not conditionalized.
4052 * sh-tdep.c: Remove WIN32_WCE conditional. The wince sh target is
4053 unmaintaned, and probably on its way to obsolescence.
4055 2001-05-09 Mark Kettenis <kettenis@gnu.org>
4057 * i386-tdep.c (i386_frame_saved_pc): New function.
4058 * config/i386/tm-i386.h (FRAME_SAVED_PC): Redefine in terms of
4059 i386_frame_saved_pc.
4060 (i386_frame_saved_pc): New prototype.
4062 * i386-tdep.c (i386_register_virtual_type): New function.
4063 (i386_register_convertible): New function.
4064 * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE): Redefine in terms
4065 of i386_register_virtual_type.
4066 (REGISTER_CONVERTIBLE): Redefine in terms of
4067 i386_register_convertible.
4068 (i386_register_virtual_type, i386_register_convertible): New
4071 2001-05-08 Jim Blandy <jimb@redhat.com>
4073 * Makefile.in (mn10300-tdep.o): New rule.
4075 * Makefile.in (gdb_string_h): Define. Use it throughout.
4076 Some rules were already using this, even though it isn't defined.
4078 * Makefile.in (obstack_h, target_h): Define; these are already
4079 used elsewhere, but have been expanding to the empty string.
4080 (memattr_h): Define; needed by target_h.
4082 * mn10300-tdep.c (mn10300_extract_return_value): Mark this as
4083 static. (This was accidentally omitted from the earlier patch.)
4085 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
4086 (mn10300_gdbarch_init): Register it as the architecture's
4087 dwarf2_reg_to_regnum method.
4089 Correct and expand handling of `movm' instruction, and register
4091 * config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM,
4092 MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions.
4093 (enum movm_register_bits): New enum.
4094 * mn10300-tdep.c (set_movm_offsets): Use symbolic names for the
4095 bits, not hex literals. Handle the `other', `exreg0', and
4096 `exother' bits. Correct handling of `exreg1': it saves r4, r5,
4097 r6, and r7, not r2, r3, r4, and r5.
4098 (saved_regs_size): New function.
4099 (mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead
4100 of computing the same thing inline, incorrectly.
4102 * mn10300-tdep.c (mn10300_gdbarch_init): We do have a
4103 dummy_breakpoint_offset; it's zero.
4105 * mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific
4106 stuff out into mn10300_pop_frame_regular, and use
4107 generic_pop_current_frame. This lets us share code, and also
4108 makes this function's prototype match that expected by gdbarch.
4109 Make this function static.
4110 (mn10300_pop_frame_regular): New function.
4111 (mn10300_gdbarch_init): Register mn10300_pop_frame as the
4112 gdbarch's pop_frame method.
4113 * config/mn10300/tm-mn10300.h (POP_FRAME): Delete definition.
4114 (mn10300_pop_frame): Delete declaration.
4116 * mn10300-tdep.c (mn10300_saved_pc_after_call,
4117 mn10300_extract_return_value,
4118 mn10300_extract_struct_value_address, mn10300_store_return_value,
4119 mn10300_use_struct_convention, mn10300_breakpoint_from_pc,
4120 mn10300_frame_chain, mn10300_skip_prologue,
4121 mn10300_push_arguments, mn10300_push_return_address,
4122 mn10300_store_struct_return, mn10300_frame_saved_pc,
4123 mn10300_init_extra_frame_info, mn10300_frame_init_saved_regs):
4124 Make these functions static; they should only be visible to the
4125 outside world as gdbarch methods.
4127 * config/mn10300/tm-mn10300.h (mn10300_find_callers_reg): Delete
4130 * mn10300-tdep.c (mn10300_gdbarch_init): Put the gdbarch methods
4131 in some rational order.
4133 * mn10300-tdep.c (mn10300_gdbarch_init): Rather than using
4134 generic_pc_in_call_dummy, use pc_in_call_dummy_at_entry_point.
4136 Use gdbarch for most target parameters for the MN10300, rather
4137 than the tm-*.h file.
4138 * config/mn10300/tm-mn10300.h (MAX_REGISTER_VIRTUAL_SIZE,
4139 REGISTER_BYTES, FP_REGNUM, BREAKPOINT_FROM_PC,
4140 FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK, INNER_THAN,
4141 SAVED_PC_AFTER_CALL, INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS,
4142 FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC,
4143 EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS,
4144 STORE_RETURN_VALUE, STORE_STRUCT_RETURN, SKIP_PROLOGUE,
4145 FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS,
4146 FRAME_NUM_ARGS, POP_FRAME, USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY,
4147 CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET,
4148 CALL_DUMMY_LOCATION, FIX_CALL_DUMMY, CALL_DUMMY_ADDRESS,
4149 TARGET_READ_FP, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME,
4150 SAVE_DUMMY_FRAME_TOS, PUSH_ARGUMENTS, PC_IN_CALL_DUMMY,
4151 REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER):
4152 Delete definitions. We register gdbarch methods for these now.
4153 (struct frame_info, struct type, struct value): Delete forward
4154 declarations of these types; they're no longer necessary, since we
4155 don't have function declarations here any more.
4156 * mn10300-tdep.c: #include "arch-utils.h", to get declarations for
4157 some default gdbarch methods.
4158 (mn10300_store_struct_return): Return void, as expected by
4160 (mn10300_init_extra_frame_info): Take initial `fromleaf' argument,
4161 as expected by gdbarch.
4162 (mn10300_frame_init_saved_regs): Provide dummy definition for
4163 this, as required by gdbarch.
4164 (mn10300_gdbarch_init): Add mn10300_call_dummy_words, as expected
4165 by gdbarch. Register gdbarch methods or values for all the stuff
4166 removed from tm-10300.h, listed above.
4168 2001-05-08 Andrew Cagney <ac131313@redhat.com>
4170 * cli-out.c (cli_begin, cli_end): Replace cli_list_begin and
4172 (cli_ui_out_impl): Update.
4174 * ui-out.c (default_begin, default_end): Replace
4175 default_list_begin and default_list_end.
4176 (default_ui_out_impl): Update.
4177 (uo_begin, uo_end): Replace ou_list_begin and uo_list_end.
4178 (ui_out_begin, ui_out_end): Replace ui_out_list_begin and
4180 (ui_out_list_begin, ui_out_list_end): New. Compatibility
4182 (struct ui_out_level): Add field type.
4183 (push_level, pop_level): Update. Add type parameter.
4185 * ui-out.h (enum ui_out_type): Declare.
4186 (ui_out_begin, ui_out_end): Declare.
4187 (ui_out_begin_ftype, ui_out_end_ftype): Replace list_begin_ftype
4189 (struct ui_out_impl): Update.
4191 2001-05-07 Andrew Cagney <ac131313@redhat.com>
4193 * ui-out.h (list_begin_ftype, list_end_ftype): Rename argument
4194 ``list_flag'' to ``depth''.
4195 * ui-out.c (default_list_begin, default_list_end): Update.
4196 (uo_list_begin, uo_list_end): Update.
4197 (MAX_UI_OUT_LEVELS): Define.
4198 (struct ui_out_level): Define.
4199 (top-level): Include "gdb_assert.h".
4200 (struct ui_out): Add fields ``level'' and ``levels''. Delete
4201 fields ``list_flag'' and ``field_count''.
4202 (ui_out_new): Update.
4203 (verify_field_proper_position): Update.
4204 (current_level, push_level, pop_level): New functions.
4205 (ui_out_list_begin): Use push_level.
4206 (ui_out_list_end): Use pop_level.
4207 (ui_out_field_int): Use current_level.
4208 (ui_out_field_skip): Ditto.
4209 (ui_out_field_fmt): Ditto.
4211 2001-05-08 Michael Snyder <msnyder@redhat.com>
4213 * language.c (longest_local_hex_string_custom): Strlen test is
4214 inverted -- reverse the sense of the test.
4216 2001-05-08 Mark Kettenis <kettenis@gnu.org>
4218 * config/i386/tm-i386v.h (struct frame_info, struct
4219 frame_saved_regs): Remove declarations.
4220 (i386_frame_num_args): Remove prototype.
4222 2001-05-07 Andrew Cagney <ac131313@redhat.com>
4224 * MAINTAINERS: I'm no longer actively maintaining the mn10300
4227 2001-05-04 Andrew Cagney <ac131313@redhat.com>
4229 * main.c (captured_main): Delete #ifndef _WIN32 conditional for
4232 2001-05-06 Kevin Buettner <kevinb@redhat.com>
4234 * inferior.h (save_inferior_ptid): Declare.
4235 * infrun.c (save_inferior_ptid, restore_inferior_ptid): Define.
4237 * hpux-thread.c (save_inferior_ptid, restore_inferior_ptid):
4238 Delete these functions.
4239 * lin-lwp.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
4240 * lin-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
4241 * linux-thread.c (save_inferior_ptid, restore_inferior_ptid):
4243 * proc-service.c (save_inferior_ptid, restore_inferior_ptid):
4245 * sol-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
4246 * thread-db.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
4248 * somsolib.c (reset_inferior_ptid): Delete.
4249 (som_solib_remove_inferior_hook): Use save_inferior_ptid() to
4250 build the cleanup struct.
4252 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Use
4253 a cleanup to save/restore inferior_ptid.
4255 2001-05-06 Mark Kettenis <kettenis@gnu.org>
4257 Implement attach/detach for multi-threaded programs on Linux.
4258 * thread-db.c (keep_thread_db): Adjust comment.
4259 (deactivate_target): Removed.
4260 (thread_db_new_objfile): Don't call deactivate_target. Implement
4261 guts of deactivate_target inline instead.
4262 (attach_thread): Call ATTACH_LWP unconditionally if defined.
4263 (thread_db_attach): New function.
4264 (thread_db_detach): Don't call deactivate_target. Do necessary
4265 cleanup inline instead. Set inferior_ptid to LWP corresponding to
4266 the current user-level thread.
4267 (thread_db_kill): Set inferior_ptid to LWP corresponding to the
4268 current user-level thread.
4269 (thread_db_create_inferior): Deactivate target vector if
4270 KEEP_THREAD_DB is zero.
4271 (thread_db_mourn_inferior): Don't call deactivate_target. Do
4272 necessary cleanup inline instead.
4273 (init_thread_db_ops): Initialize to_attach field to
4275 * lin-lwp.c (lin_lwp_mourn_inferior): Remove prototype.
4276 (stop_wait_callback): Add prototype.
4277 (init_lwp_list): Add comment about when to re-initialize the LWP
4279 (lin_lwp_attach_lwp): Only call ptrace for cloned processes.
4280 Avoid adding publicates to the LWP list. Only mark an LWP as
4281 signalled if it doesn't correspond to a cloned process.
4282 (lin_lwp_attach): Add initial process to the LWP list. Make sure
4283 it's stopped and fake a SIGSTOP.
4284 (detach_callback): New function.
4285 (lin_lwp_detach): Implement.
4286 (lin_lwp_create_inferior): Don't re-initialize LWP list here.
4287 Call child_ops.to_create_inferior directly instead of via
4288 target_beneath local.
4289 (lin_lwp_mourn_inferior): Call child_ops.to_mourn_inferior
4290 directly instead of via target_beneath local.
4292 2001-05-06 Eli Zaretskii <eliz@is.elta.co.il>
4294 * symtab.c (lookup_symtab_1, lookup_partial_symtab): Use basename
4295 instead of non-portable search for `/'. Use FILENAME_CMP instead
4296 of STREQ, to account for case-insensitive filesystems.
4297 (top-level): #include "filenames.h".
4299 2001-05-05 Jim Blandy <jimb@redhat.com>
4301 * breakpoint.c (check_duplicates): Use the breakpoint's type, not
4302 its address, to decide whether it's a watchpoint or not. Zero
4303 is a valid code address.
4304 (update_breakpoints_after_exec): Admonishing comments.
4305 * breakpoint.h (struct breakpoint): Doc fixes.
4307 * breakpoint.c (check_duplicates): Take a breakpoint object as an
4308 argument, rather than an address and section. All callers changed.
4310 2001-05-03 Kevin Buettner <kevinb@redhat.com>
4312 * defs.h (ptid_t): New typedef.
4313 (pid_to_ptid, null_ptid, minus_one_ptid, ptid_equal): New macros.
4315 * a68v-nat.c, alphabsd-nat.c, arch-utils.c, arm-linux-nat.c,
4316 blockframe.c, breakpoint.c, breakpoint.h,
4317 config/i386/nm-i386sol2.h, config/i386/tm-i386sco5.h,
4318 config/ia64/nm-linux.h, config/m68k/nm-hp300bsd.h,
4319 config/mips/nm-irix4.h, config/mips/nm-irix5.h,
4320 config/pa/nm-hppah.h, config/pa/tm-hppa.h,
4321 config/rs6000/nm-rs6000.h, config/sparc/nm-sun4sol2.h,
4322 corelow.c, cxux-nat.c, d10v-tdep.c, dink32-rom.c,
4323 dve3900-rom.c, fork-child.c, frame.c, gnu-nat.c, go32-nat.c,
4324 hp300ux-nat.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c,
4325 hpux-thread.c, i386-linux-nat.c, i386aix-nat.c, i386b-nat.c,
4326 i386bsd-nat.c, i386gnu-nat.c, i386mach-nat.c, i386nbsd-nat.c,
4327 infcmd.c, inferior.h, inflow.c, infptrace.c, infrun.c,
4328 inftarg.c, infttrace.c, lin-lwp.c, lin-thread.c,
4329 linux-thread.c, lynx-nat.c, m3-nat.c, m32r-rom.c,
4330 m68knbsd-nat.c, m88k-nat.c, mac-nat.c, mips-nat.c,
4331 mon960-rom.c, monitor.c, ns32knbsd-nat.c, ocd.c, ppc-bdm.c,
4332 ppcnbsd-nat.c, proc-service.c, procfs.c, ptx4-nat.c,
4333 regcache.c, remote-adapt.c, remote-array.c, remote-bug.c,
4334 remote-e7000.c, remote-es.c, remote-mips.c, remote-mm.c,
4335 remote-nindy.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
4336 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
4337 remote-vx.c, remote.c, rs6000-nat.c, sol-thread.c,
4338 solib-aix5.c, solib-svr4.c, somsolib.c, sparc-nat.c,
4339 standalone.c, sun3-nat.c, sun386-nat.c, symm-nat.c, target.c,
4340 target.h, thread-db.c, thread.c, top.c, ultra3-nat.c,
4341 uw-thread.c, v850ice.c, win32-nat.c, wince.c, xcoffsolib.c
4342 (inferior_pid): Rename to inferior_ptid everywhere - even in
4343 comments and obsolete ports. In cases where this variable
4344 really is supposed to be used as a process id, use PIDGET() to
4345 extract the process id component from inferior_ptid. The
4346 other cases, either involving other variables whose types had
4347 to be changed or functions whose signatures had to changed
4348 are listed separately below.
4350 * arm-linux-nat.c (get_thread_id): Change type of argument
4351 representing a combined process/thread id from ``int'' to
4352 ``ptid_t''. Also change parameter name to ptid.
4353 * breakpoint.h, breakpoint.c (breakpoint_thread_match): Likewise.
4354 * corelow.c (core_file_thread_alive): Likewise.
4355 * d10v-tdep.c (d10v_read_pc, d10v_write_pc): Likewise.
4356 * defs.h (*target_wait_hook): Likewise.
4357 * gdbthread.h (thread_info, delete_thread, pid_to_thread_id)
4358 (find_thread_pid, save_infrun_state, load_infrun_state): Likewise.
4359 * gnu-nat.c (gnu_thread_alive, gnu_pid_to_str, gnu_wait)
4360 (gnu_resume): Likewise.
4361 * go32-nat.c (go32_wait, go32_resume): Likewise.
4362 * h8500-tdep.c (h8500_read_pc, h8500_write_pc): Likewise.
4363 * hppa-tdep.c (target_read_pc, target_write_pc): Likewise.
4364 * hppah-nat.c (child_pid_to_str, hppa_tid_to_str,
4365 (hppa_pid_or_tid_to_str, child_post_startup_inferior)
4366 (child_thread_alive): Likewise.
4367 * hpux-thread.c (hpux_thread_notice_signals, hpux_thread_alive)
4368 (hpux_pid_to_str, hpux_thread_wait, hpux_thread_resume): Likewise.
4369 * i386-linux-nat.c (child_resume): Likewise.
4370 * ia64-linux-nat.c (enable_watchpoints_in_psr, fetch_debug_register)
4371 (store_debug_register, fetch_debug_register_pair)
4372 (store_debug_register_pair, ia64_linux_insert_watchpoint)
4373 (ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
4375 * ia64-tdep.c (ia64_read_pc, ia64_write_pc): Likewise.
4376 * inferior.h (read_pc_pid, generic_target_read_pc, write_pc_pid)
4377 (generic_target_write_pc, ptrace_wait, child_resume)
4378 (get_last_target_status): Likewise.
4379 * infptrace.c (ptrace_wait, child_resume): Likewise.
4380 * inftarg.c (child_wait, child_post_wait, child_thread_live)
4381 (child_pid_to_str): Likewise.
4382 * infttrace.c (ptrace_wait, child_thread_alive, child_resume)
4383 (hppa_pid_or_tid_to_str, child_post_startup_inferior): Likewise.
4384 * lin-lwp.c (add_lwp, delete_lwp, find_lwp_pid, lin_lwp_attach_lwp)
4385 (lin_lwp_resume, lin_lwp_wait, lin_lwp_thread_alive)
4386 (lin_lwp_pid_to_str): Likewise.
4387 * lin-thread.c (thread_db_alive, thread_db_pid_to_str)
4388 (thread_db_resume, thread_db_wait): Likewise.
4389 * linux-thread.c (linuxthreads_thread_alive, linuxthreads_pid_to_str)
4390 (linuxthreads_resume, linuxthreads_wait): Likewise.
4391 * lynx-nat.c (child_wait, child_thread_alive, child_resume)
4392 (child_pid_to_str): Likewise.
4393 * m3-nat.c (mach_really_wait, m3_resume): Likewise.
4394 * mac-nat.c (child_wait, child_resume): Likewise.
4395 * mips-tdep.c (mips_read_pc): Likewise.
4396 * monitor.c (monitor_wait, monitor_resume): Likewise.
4397 * ocd.c, ocd.h (ocd_thread_alive, ocd_resume): Likewise.
4398 * ppc-bdm.c (bdm_ppc_wait): Likewise.
4399 * procfs.c (do_attach, procfs_wait, procfs_resume)
4400 (procfs_notice_signals, procfs_thread_alive, procfs_pid_to_str)
4401 (procfs_set_watchpoint, procfs_stopped_by_watchpoint)
4402 (procfs_find_LDT_entry): Likewise.
4403 * regcache.c (read_register_pid, read_signed_register_pid)
4404 (write_register_pid, generic_target_read_pc, read_pc_pid)
4405 (generic_target_write_pc, write_pc_pid): Likewise.
4406 * regcache.h (read_register_pid, read_signed_register_pid)
4407 (write_register_pid): Likewise.
4408 * remote-adapt.c (adapt_wait, adapt_resume): Likewise.
4409 * remote-array.c (array_wait, array_resume): Likewise.
4410 * remote-bug.c (bug_wait, bug_resume): Likewise.
4411 * remote-e7000.c (e7000_wait, e7000_resume): Likewise.
4412 * remote-eb.c (eb_wait, eb_resume): Likewise.
4413 * remote-es.c (es1800_wait, es1800_resume): Likewise.
4414 * remote-mips.c (mips_wait, mips_resume): Likewise.
4415 * remote-mm.c (mm_wait, mm_resume): Likewise.
4416 * remote-nindy.c (nindy_wait, nindy_resume): Likewise.
4417 * remote-os9k.c (rombug_wait, rombug_resume): Likewise.
4418 * remote-rdi.c (arm_rdi_wait, arm_rdi_resume): Likewise.
4419 * remote-rdp.c (remote_rdp_resume, remote_rdp_wait): Likewise.
4420 * remote-sds.c (sds_wait, sds_resume): Likewise.
4421 * remote-sim.c (gdbsim_wait, gdbsim_resume): Likewise.
4422 * remote-st.c (st2000_wait, st2000_resume): Likewise.
4423 * remote-udi.c (udi_wait, udi_resume): Likewise.
4424 * remote-vx.c (vx_wait, vx_resume): Likewise.
4425 * remote.c (remote_current_thread, remote_resume, remote_wait)
4426 (remote_async_resume, remote_async_wait, remote_cisco_wait)
4427 (remote_thread_alive): Likewise.
4428 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_resume)
4429 (sol_thread_wait, sol_thread_notice_signals, sol_thread_alive)
4430 (solaris_pid_to_str): Likewise.
4431 * symm-nat.c (child_wait, child_resume): Likewise.
4432 * target.c (debug_to_resume, debug_to_wait, debug_to_post_wait)
4433 (debug_to_notice_signals, debug_to_thread_alive)
4434 (normal_target_post_startup_inferior, normal_pid_to_str)
4435 (debug_to_post_startup_inferior): Likewise.
4436 * target.h (to_resume, to_wait, to_post_wait)
4437 (to_post_startup_inferior, to_notice_signals, to_thread_alive)
4438 (to_pid_to_str [all in struct target_ops]): Likewise.
4439 (child_post_wait, child_thread_alive, normal_pid_to_str): Likewise.
4440 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait)
4441 (attach_thread, detach_thread, thread_db_resume, check_event)
4442 (thread_db_post_startup_inferior, thread_db_thread_alive)
4443 (thread_db_pid_to_str): Likewise.
4444 * thread.c (add_thread, delete_thread, find_thread_pid)
4445 (pid_to_thread_id, in_thread_list, load_infrun_state)
4446 (save_infrun_state, switch_to_thread, restore_current_thread)
4447 (make_cleanup_restore_current_thread): Likewise.
4448 * top.c (target_wait_hook): Likewise.
4449 * uw-thread.c (dbgpid, thr_to_lwp, lwp_to_thr, add_thread_uw)
4450 (uw_thread_resume, libtrhead_stub, uw_thread_wait, uw_thread_alive)
4451 (uw_thread_pid_to_str): Likewise.
4452 * v850ice.c (v850ice_wait, v850ice_resume): Likewise.
4453 * win32-nat.c (child_wait, child_resume, win32_child_thread_alive)
4454 (cywin_pid_to_str): Likewise.
4455 * wince.c (child_wait, child_resume, win32_child_thread_alive):
4457 * config/nm-linux.h (linuxthreads_pid_to_str): Likewise.
4458 * config/nm-lynx.h (child_wait, lynx_pid_to_str): Likewise.
4459 * config/alpha/nm-linux.h (lin_lwp_attach_lwp): Likewise.
4460 * config/arm/nm-linux.h (lin_lwp_attach_lwp): Likewise.
4461 * config/h8500/tm-h8500.h (h8500_read_pc, h8500_write_pc): Likewise.
4462 * config/i386/nm-i386sol2.h (procfs_stopped_by_watchpoint)
4463 (procfs_set_watchpoint): Likewise.
4464 * config/i386/nm-linux.h (lin_lwp_attach_lwp): Likewise.
4465 * config/i386/nm-ptx4.h (child_wait): Likewise.
4466 * config/i386/nm-symmetry.h (child_wait): Likewise.
4467 * config/i386/tm-cygwin.h (cygwin_pid_to_str): Likewise.
4468 * config/ia64/nm-linux.h (ia64_linux_stopped_by_watchpoint)
4469 (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint)
4470 (lin_lwp_attach_lwp): Likewise.
4471 * config/mips/nm-irix4.h, config/mips/nm-irix5.h
4472 (procfs_stopped_by_watchpoint, procfs_set_watchpoint): Likewise.
4473 * config/pa/nm-hppah.h (child_pid_to_str, hppa_tid_to_str)
4474 (hppa_pid_or_tid_to_str): Likewise.
4475 * config/pa/tm-hppa.h (target_read_pc, target_write_pc): Likewise.
4476 * config/powerpc/nm-linux.h (lin_lwp_attach_lwp): Likewise.
4477 * config/sparc/nm-sun4sol2.h (procfs_stopped_by_watchpoint)
4478 (procfs_set_watchpoint): Likewise.
4480 * gdbthread.h (thread_id_to_pid): Change return type which
4481 represents a combined process/thread id from ``int'' to
4483 * gnu-nat.c (gnu_wait): Likewise.
4484 * go32-nat.c (go32_wait): Likewise.
4485 * hpux-thread.c (hpux_thread_wait): Likewise.
4486 * inferior.h (procfs_first_available): Likewise.
4487 * inftarg.c (child_wait): Likewise.
4488 * infttrace.c (ptrace_wait): Likewise.
4489 * lin-lwp.c (lin_lwp_wait): Likewise.
4490 * lin-thread.c (thread_db_wait): Likewise.
4491 * linux-thread.c (linuxthreads_wait): Likewise.
4492 * lynx-nat.c (child_wait): Likewise.
4493 * m3-nat.c (mach_really_wait): Likewise.
4494 * mac-nat.c (child_wait): Likewise.
4495 * monitor.c (monitor_wait): Likewise.
4496 * ppc-bdm.c (bdm_ppc_wait): Likewise.
4497 * procfs.c (do_attach, procfs_wait, procfs_first_available): Likewise.
4498 * remote-adapt.c (adapt_wait): Likewise.
4499 * remote-array.c (array_wait): Likewise.
4500 * remote-bug.c (bug_wait): Likewise.
4501 * remote-e7000.c (e7000_wait): Likewise.
4502 * remote-eb.c (eb_wait): Likewise.
4503 * remote-es.c (es1800_wait): Likewise.
4504 * remote-mips.c (mips_wait): Likewise.
4505 * remote-mm.c (mm_wait): Likewise.
4506 * remote-nindy.c (nindy_wait): Likewise.
4507 * remote-os9k (rombug_wait): Likewise.
4508 * remote-rdi.c (arm_rdi_wait): Likewise.
4509 * remote-rdp.c (remote_rdp_wait): Likewise.
4510 * remote-sds.c (sds_wait): Likewise.
4511 * remote-sim.c (gdbsim_wait): Likewise.
4512 * remote-st.c (st2000_wait): Likewise.
4513 * remote-udi.c (udi_wait): Likewise.
4514 * remote-vx.c (vx_wait): Likewise.
4515 * remote.c (remote_wait, remote_async_wait, remote_current_thread)
4516 (remote_cisco_wait): Likewise.
4517 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_wait):
4519 * symm-nat.c (child_wait): Likewise.
4520 * target.c (debug_to_wait): Likewise.
4521 * target.h (to_wait [in struct target_ops]): Likewise.
4522 * thread.c (thread_id_to_pid): Likewise.
4523 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait):
4525 * top.c (*target_wait_hook): Likewise.
4526 * uw-thread.c (lwp_to_thr, uw_thread_wait): Likewise.
4527 * v850ice.c (v850ice_wait): Likewise.
4528 * win32-nat.c (child_wait): Likewise.
4529 * wince.c (child_wait): Likewise.
4530 * config/nm-lynx.h (child_wait): Likewise.
4531 * config/i386/nm-ptx4.h (child_wait): Likewise.
4532 * config/i386/nm-symmetry.h (child_wait): Likewise.
4534 * arch-utils.c (generic_prepare_to_proceed): Rename wait_pid
4535 to wait_ptid and change its type from ``int'' to ``ptid_t''.
4536 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Likewise,
4537 but rename saved_inferior_pid to saved_inferior_ptid.
4538 * d10v-tdep.c (d10v_read_pc, d10_write_pc): Likewise, but rename
4539 save_pid to save_ptid.
4540 * gdbthread.h (struct thread_info): Likewise, but rename pid to ptid.
4541 * hppah-nat.c (child_pid_to_exec): Likewise, but rename
4542 saved_inferior_pid to saved_inferior_ptid.
4543 * hpux-thread.c (main_ptid): Likewise, but rename from main_pid.
4544 * infrun.c (previous_inferior_pid [static global]): Likewise,
4545 but rename to previous_inferior_ptid.
4546 (resume): Likewise, but rename resume_pid to resume_ptid.
4547 (struct execution_control_state): Likewise, but rename
4548 pid to ptid, saved_inferior_pid to saved_inferior_ptid,
4549 and waiton_pid to waiton_ptid.
4550 (target_last_wait_pid): Likewise, but rename to
4551 target_last_wait_ptid.
4552 * infttrace.c (saved_real_pid): Likewise, but rename to
4554 (child_pid_to_exec_file): Likewise, but rename saved_inferior_pid
4555 to saved_inferior_ptid.
4556 * lin-lwp.c (struct lwp_info): Likewise, but rename pid to ptid.
4557 (trap_ptid): Likewise, but renamed from trap_pid.
4558 * lin-thread.c (handle_new_thread): Likewise, but rename gdb_pid
4560 * linux-thread.c (detach_thread): Likewise, but rename pid to ptid.
4561 (thread_db_wait): Likewise, but rename ret_pid to retptid.
4562 * procfs.c (procfs_wait): Likewise, for retval whose name
4563 doesn't change. Also, ``temp'' becomes two separate variables,
4564 one named temp_tid (an int) and the other temp_ptid.
4565 (procfs_notice_thread): Likewise (type change) for gdb_threadid
4566 whose name does not change.
4567 * regcache.c (registers_ptid): Likewise, but renamed from
4569 (read_register_pid, read_signed_register_pid, write_register_pid):
4570 Likewise, but rename save_pid to save_ptid.
4571 (read_pc_pid, write_pc_pid): Likewise, but rename saved_inferior_pid
4572 to saved_inferior_ptid.
4573 * remote.c (remote_newthread_step): Likewise, but rename pid to ptid.
4574 * sol-thread.c (struct ps_prochandle): Likewise.
4575 (sol_thread_resume): Likewise, for save_pid which becomes save_ptid.
4576 (sol_thread_wait): Likewise, for rtnval whose name does not
4577 change, and for save_pid which becomes save_ptid.
4578 (solaris_pid_to_str): Likewise for lwp whose name does not change.
4579 (sol_find_new_threads_callback): Likewise, for pid which becomes
4581 * target.h (target_resume, target_wait, target_post_wait)
4582 (target_post_startup_inferior, target_notice_signals)
4583 (target_thread_alive): Likewise.
4584 * thread.c (info_threads_command): Likewise, but rename
4585 current_pid to current_ptid.
4586 (struct current_thread_cleanup): Likewise, but rename field
4587 inferior_pid to inferior_ptid.
4588 * thread-db.c (find_new_threads_callback): Likewise, but rename
4590 * uw-thread.c (thr_to_lwp): Likewise for lid whose name does not
4592 (lwp_to_tr): Likewise fo tid whose name remains unchanged.
4593 (thr_infpid, lwp_infpid, notice_thread, libthread_stub): Likewise,
4594 but rename pid to ptid.
4595 * config/alpha/nm-linux.h (ATTACH_LWP): Likewise.
4596 * config/arm/nm-linux.h (ATTACH_LWP): Likewise.
4597 * config/i386/nm-linux.h (ATTACH_LWP): Likewise.
4598 * config/ia64/nm-linux.h (ATTACH_LWP): Likewise.
4599 * config/pa/nm-hppah.h (target_tid_to_str): Likewise.
4600 * config/powerpc/nm-linux.h (ATTACH_LWP): Likewise.
4602 * arch-utils.c (generic_prepare_to_proceed): Test for the
4603 "zero" ptid by using ptid_equal() to test to see if variable
4604 in question is the same as null_ptid. This replaces a direct
4606 * cxux-nat.c (add_shared_symbol_files): Likewise.
4607 * i386aix-nat.c, i386b-nat.c (i386_float_info): Likewise.
4608 * infcmd.c (run_command): Likewise.
4609 * inflow.c (kill_command): Likewise.
4610 * infttrace.c (call_ttrace): Likewise.
4611 * lin-lwp.c (lin_lwp_prepare_to_proceed): Likewise.
4612 * lin-thread.c (thread_db_kill): Likewise.
4613 * procfs.c (procfs_kill_inferior, procfs_mourn_inferior): Likewise.
4614 * remote-es.c (es1800_kill): Likewise.
4615 * sol-thread.c (sol_thread_create_inferior): Likewise.
4616 * solib.c (locate_base): Likewise.
4617 * target.c (nosupport_runtime): Likewise.
4618 * thread-db.c (thread_db_wait): Likewise.
4619 * top.c (quit_confirm, quit_force): Likewise.
4620 * uw-thread (lwp_infpid, uw_thread_resume): Likewise.
4622 * infrun.c (handle_inferior_event, stop_stepping, normal_stop):
4623 Use ptid_equal to compare value of process/thread ids instead of
4624 ``=='' and ``!='' operators.
4625 lin-lwp.c (delete_lwp, lin_lwp_prepare_to_proceed)
4626 (stop_wait_callback, lin_lwp_wait): Likewise.
4627 * procfs.c (procfs_wait): Likewise.
4628 * regcache.c (read_register_bytes, read_register_gen)
4629 (write_register_gen, read_register, read_register_pid)
4630 (read_signed_register, read_signed_register_pid, write_register)
4631 (write_register_pid, supply_register): Likewise.
4632 * remote-vx.c (vx_resume): Likewise.
4633 * sol-thread.c (sol_thread_wait): Likewise.
4634 * symm-nat.c (kill_inferior): Likewise.
4635 * thread.c (delete_thread, find_thread_pid, pid_to_thread_id)
4636 (in_thread_list, info_threads_command, switch_to_thread)
4637 (restore_current_thread): Likewise.
4638 * uw-thread (libtread_stub): Likewise.
4640 * arm-linux-nat.c (GET_THREAD_ID): Change PID to PTID.
4642 * corelow.c (add_to_thread_list): Convert argument in add_thread()
4644 * gnu-nat.c (inf_validate_procs): Likewise.
4645 * linux-thread.c (stop_thread, update_stop_threads): Likewise.
4646 * remote.c (record_currthread, remote_threads_info): Likewise.
4647 * win32-nat.c (child_add_thread): Likewise.
4649 * hpux-thread.c (save_inferior_pid, restore_inferior_pid): Rename,
4650 respectively, to save_inferior_ptid() and restore_inferior_ptid().
4651 Adjust implementations to operate on ``ptid_t'' instead of ``int''.
4652 * lin-lwp.c (save_inferior_pid, restore_inferior_pid): Likewise.
4653 * lin-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
4654 * linux-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
4655 * proc-service.c (save_inferior_pid, restore_inferior_pid): Likewise.
4656 * sol-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
4657 * thread-db.c (save_inferior_pid, restore_inferior_pid): Likewise.
4659 * infrun.c (RESUME_ALL): New macro representing the -1 ptid
4660 to be passed to target_resume() when all threads should resume.
4661 (resume): Set resume_ptid to RESUME_ALL rather than -1.
4662 (handle_inferior_event): Invoke target_resume() with RESUME_ALL
4664 * irix5-nat.c (solib_create_inferior_hook): Convert -1 to
4665 a ptid_t in target_resume() call.
4666 * osfsolib.c (solib_create_inferior_hook): Likewise.
4667 * solib-svr4.c (solib_create_inferior_hook): Likewise.
4669 * lin-lwp.c (PIDGET, PIDGET0): Rename original PIDGET macro to
4670 PIDGET0. Define new PIDGET macro which uses PIDGET0, the only
4671 difference being that the 0xffff pattern will be interpreted
4673 * lin-thread.c (PIDGET, PIDGET0): Likewise.
4674 * thread-db.c (PIDGET, PIDGET0): Likewise.
4675 * config/nm-linux.h (PIDGET, PIDGET0): Likewise.
4676 * config/i386/tm-i386sol2.h (PIDGET, PIDGET0): Likewise.
4677 * config/i386/tm-i386v42mp.h (PIDGET, PIDGET0): Likewise.
4678 * config/sparc/tm-sun4sol2.h (PIDGET, PIDGET0): Likewise.
4680 * m3-nat.c (init_m3_ops): Fix typo; initialize to_wait field to
4681 mach_really_wait rather than mach_really__wait.
4682 * lin-thread.c (check_for_thread_event): Fix warning; make function
4683 actually return a value.
4685 * gdbarch.sh (TARGET_READ_PC, TARGET_WRITE_PC): Change type of
4686 ``pid'' arguments from ``int'' to ``ptid_t''. Also renamed
4688 * gdbarch.h, gdbarch.c: Regenerated.
4690 2001-05-03 Jonathan Larmour <jlarmour@redhat.com>
4692 * rdi-share/devsw.c: Include <time.h> for struct tm
4694 2001-05-03 Eli Zaretskii <eliz@is.elta.co.il>
4696 * config/djgpp/fnchange.lst: Add mappings for the new
4697 opcodes/openrisc-* files.
4699 2001-05-01 Michael Snyder <msnyder@redhat.com>
4701 * lin-lwp.c: Change printf to fprintf_unfiltered.
4702 * Makefile.in: Add rules for thread-db.o, lin-lwp.o, proc-service.o.
4704 2001-05-01 Nicholas Duffek <nsd@redhat.com>
4706 * config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.
4707 (rs6000_in_solib_return_trampoline): Declare.
4708 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): New
4710 (rs6000_skip_trampoline_code): Skip bigtoc fixup code.
4711 * xcoffread.c (read_xcoff_symtab): Perform the ISFCN function
4712 check after the CSECT check rather than before it. Allocate
4713 separate symtabs for CSECTs whose names begin with '@'.
4714 (scan_xcoff_symtab): Don't ignore symbols beginning with '@'.
4715 Activate the misc_func_recorded mechanism for whose names begin
4718 2001-04-30 J.T. Conklin <jtc@redback.com>
4720 * ppcnbsd-nat.c (fetch_inferior_registers)
4721 (store_inferior_registers, fetch_core_registers): Changed to use
4722 fpreg[] instead of r_regs[] to access floating point registers.
4724 2001-04-30 Elena Zannoni <ezannoni@redhat.com>
4726 * sh-tdep.c: Get rid of the function prototypes.
4727 (sh_sh4_build_float_register_type): Move earlier in file.
4728 (fv_reg_base_num): Ditto.
4729 (dr_reg_base_num): Ditto.
4731 2001-04-30 Michael Snyder <msnyder@redhat.com>
4733 * thread-db.c: Revert 2001-04-26 change for debugging output.
4735 * lin-lwp.c: Add set/show debug lin-lwp command. Use this
4736 command to turn extra debugging output on / off.
4738 2001-04-30 Eli Zaretskii <eliz@is.elta.co.il>
4740 * buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.
4741 (top-level): #include filenames.h.
4743 * dwarf2read.c (dwarf2_start_subfile): Use IS_ABSOLUTE_PATH and
4744 FILENAME_CMP, to DTRT on non-Posix platforms.
4745 (top-level): #include filenames.h.
4748 2001-04-27 Andrew Cagney <ac131313@redhat.com>
4750 * gdbtypes.c (check_stub_method): Always initialize ``p''.
4752 2001-04-27 Andrew Cagney <ac131313@redhat.com>
4754 * configure.host: Delete romp host.
4757 2001-04-27 Andrew Cagney <ac131313@redhat.com>
4759 * TODO: Updates to 5.1. No more targets to obsolete.
4761 2001-04-27 Don Howard <dhoward@redhat.com>
4763 (Changes from Kevin Buettner, with minor update by Don Howard.)
4765 * i387-nat.c (i387_supply_fxsave, i387_fill_fxsave, i387_tag): Fix
4766 typos in which hexadecimal constants were really intended to be
4768 (i387_tag): Swap logic regarding zero vs non-zero exponents.
4769 * MAINTAINERS (Misc): Added myself to the write-after-approval
4772 2001-04-26 Jim Blandy <jimb@redhat.com>
4774 (Changes from Daniel Berlin, with revisions by Jim Blandy.)
4776 Abstract out operations specific to particular C++ ABI's, and
4777 invoke them through a function table. This removes the C++ ABI
4778 dependencies scattered throughout the code, and allows us to
4779 cleanly add support for new C++ ABI's.
4780 * cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files.
4781 * c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c,
4782 jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c:
4783 #include "cp-abi.h". These files all use functions now declared
4785 * symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P):
4786 Deleted. These services are now provided by functions declared in
4788 * value.h (value_rtti_type, value_virtual_fn_field): Same.
4789 * values.c (value_virtual_fn_field): Same, for this definition.
4790 * valops.c (value_rtti_type): Same.
4791 * c-typeprint.c (c_type_print_base): Use the functions from
4792 "cp-abi.h", instead of the old macros, or hard-coded ABI-specific
4794 * dbxread.c (record_minimal_symbol): Same.
4795 * gdbtypes.c (get_destructor_fn_field, virtual_base_index,
4796 virtual_base_index_skip_primaries): Same.
4797 * jv-typeprint.c (java_type_print_base): Same.
4798 * linespec.c (find_methods, decode_line_1): Same.
4799 * symtab.c (gdb_mangle_name): Same.
4800 * Makefile.in (SFILES): Add the new .c files mentioned above.
4801 (cp_abi_h): New variable.
4802 (COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o.
4803 (cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets.
4804 (c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o,
4805 jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add
4806 dependency on $(cp_abi_h).
4808 2001-04-26 Michael Snyder <msnyder@redhat.com>
4810 * thread-db.c (_initialize_thread_db): Add set/show command
4811 "debug-linux-threads" for debugging output.
4812 * lin-lwp.c (various): Use global "debug_linux_threads to
4813 turn on extra debugging output.
4814 * lin-lwp.c: Minor cleanups in comments.
4815 * target.c (normal_pid_to_str): Get rid of an ancient hack.
4816 * remote.c (remote_pid_to_str): New function for remote target.
4818 2001-04-24 Jim Blandy <jimb@redhat.com>
4820 * c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
4821 qualifier on C++ references; all references are innately const.
4823 2001-04-20 Mark Kettenis <kettenis@gnu.org>
4825 * event-top.h: Fix formatting.
4827 2001-04-17 Andrew Cagney <ac131313@redhat.com>
4829 * source.c (openp): Obsolete #ifdef MPW code.
4830 (open_source_file): Ditto.
4831 * event-top.c (display_gdb_prompt): Ditto.
4832 * utils.c (query): Ditto.
4833 (init_page_info): Ditto.
4834 (init_page_info): Delete #ifndef MPW.
4835 * top.c (gdb_readline): Ditto.
4836 * mac-xdep.c: Obsolete.
4837 * mac-gdb.r: Obsolete.
4838 * config/powerpc/xm-mpw.h: Obsolete.
4839 * config/xm-mpw.h: Obsolete.
4840 * mpw-make.sed: Obsolete.
4841 * mpw-config.in: Obsolete.
4845 2001-04-19 Mark Kettenis <kettenis@gnu.org>
4847 * i386-tdep.c (i386_frameless_function_invocation): New function.
4848 * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine
4849 in terms of i386_frameless_function_invocation. Adjust comment.
4850 (i386_frameless_function_invocation): New prototype.
4852 2001-04-18 Martin M. Hunt <hunt@redhat.com>
4854 * top.c (gdb_init): Don't call cli_out_new() to
4855 create global uiout if init_ui_hook is set. uiout will
4856 have to be initialized there.
4858 2001-04-18 Andrew Cagney <ac131313@redhat.com>
4860 * arch-utils.c: Include "regcache.h".
4862 2001-04-18 Mark Kettenis <kettenis@gnu.org>
4864 * i386-tdep.c (i386_saved_pc_after_call): New function.
4865 * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
4866 of i386_saved_pc_after_call.
4867 (i386_saved_pc_after_call): New prototype.
4869 2001-04-17 Michael Snyder <msnyder@redhat.com>
4871 * i386-nat.c: Fix typo in comment.
4872 * solib.c (no_shared_libraries): New function. Discard all symbols
4873 from shared libraries.
4874 (_initialize_solib): Add command "nosharedlibrary" as complement
4875 to the command "sharedlibrary". Unloads symbols for all solibs.
4877 2001-04-16 Andrew Cagney <ac131313@redhat.com>
4879 * configure.host (m68030-sony-*, m68*-isi-*, m68*-sony-*):
4880 * configure.tgt (m68*-rom68k-*, m68*-*bug-*, m68*-monitor-*)
4881 (m68*-est-*, m68*-sony-*, m68*-isi-*):
4882 * Makefile.in (xm-news1000.h, tm-news.h, xm-news.h): Obsolete..
4883 * config/m68k/xm-news.h: Obsolete.
4884 * config/m68k/tm-news.h:
4885 * config/m68k/xm-news1000.h: Obsolete.
4886 * config/m68k/news.mh: Obsolete.
4887 * config/m68k/news.mt: Obsolete.
4888 * config/m68k/nm-news.h: Obsolete.
4889 * config/m68k/news1000.mh: Obsolete.
4890 * news-xdep.c: Obsolete.
4891 * Makefile.in (isi-xdep.o): Obsolete.
4892 (ALLDEPFILES): Delete isi-xdep.c.
4893 (tm-isi.h): Obsolete.
4894 * m68k-tdep.c (altos_skip_prologue): Update comments.
4895 (isi_skip_prologue): Obsolete.
4896 * isi-xdep.c: Obsolete.
4897 * config/m68k/xm-isi.h: Obsolete.
4898 * config/m68k/isi.mh: Obsolete.
4899 * config/m68k/tm-isi.h: Obsolete.
4900 * config/m68k/isi.mt: Obsolete.
4905 2001-04-17 Michael Snyder <msnyder@redhat.com>
4907 * remote.c (remote_open_1): On opening the remote target, activate
4908 the solib_create_inferior_hook, so that it can detect when the
4909 target loads shared libraries.
4910 (remote_async_open_1): Ditto.
4912 2001-04-17 Michael Snyder <msnyder@redhat.com>
4914 * breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
4915 * tracepoint.c (tracepoints_info): Handle 64-bit addresses.
4916 * testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
4917 * testsuite/gdb.trace/infotrace.exp: Ditto.
4918 * testsuite/gdb.trace/passcount.exp: Ditto.
4919 * testsuite/gdb.trace/while-stepping.exp: Ditto.
4921 2001-04-17 Michael Snyder <msnyder@redhat.com>
4923 * thread-db.c (check_thread_signals): When looping over all
4924 signals, ignore signal zero.
4925 (disable_thread_signals): Ditto.
4927 2001-04-17 Eirik Fuller <eirik@netapp.com>
4929 * thread.c (do_captured_thread_select): Allow the argument to the
4930 thread command to be an expression rather than a literal integer.
4932 2001-04-17 Mark Kettenis <kettenis@gnu.org>
4934 * i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
4935 read_memory_unsigned_integer instead of read_memory_integer.
4937 2001-04-16 Kevin Buettner <kevinb@redhat.com>
4939 * solib-aix5.c (map_index_vs_section_name_okay): New function.
4940 (aix5_relocate_main_executable): Don't use file offsets for
4941 determining corresponding sections and map file entries. Call
4942 map_index_vs_section_name_okay() to do this instead.
4944 2001-04-16 Kevin Buettner <kevinb@redhat.com>
4946 * procfs.c (open_with_retry): New function.
4947 (open_procinfo_files, load_syscalls, proc_iterate_over_mappings)
4948 (proc_get_LDT_entry): Call open_with_retry() instead of open().
4950 2001-04-16 Kevin Buettner <kevinb@redhat.com>
4952 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Adjust
4953 comparison against TRAP_HWBKPT constant yet again to account
4954 for the various values used by different kernel versions.
4956 2001-04-16 Daniel Berlin <dan@cgsoftware.com>
4958 * demangle.c (_initialize_demangler): Use xcalloc on the
4959 demangling_style_names, and make it a null terminated array of
4960 names, to avoid a crash.
4962 2001-04-16 Mark Kettenis <kettenis@gnu.org>
4964 * i386-tdep.c (i386_frame_chain): New function.
4965 * config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of
4967 (i386_frame_chain): New prototype.
4969 2001-04-14 J.T. Conklin <jtc@redback.com>
4971 * target.h (target_ops): Removed to_core_file_to_sym_file vector
4973 * corelow.c (core_ops): Updated for above change.
4974 * gnu-nat.c (core_ops): Likewise.
4975 * inftarg.c (child_ops): Likewise.
4976 * monitor.c (monitor_ops): Likewise.
4977 * ppc-bdm.c (bdm_ppc_ops): Likewise.
4978 * remote-adapt.c (adapt_ops): Likewise.
4979 * remote-bug.c (bug_ops): Likewise.
4980 * remote-e7000.c (e7000_ops): Likewise.
4981 * remote-eb.c (eb_ops): Likewise.
4982 * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
4983 * remote-mm.c (mm_ops): Likewise.
4984 * remote-nindy.c (nindy_ops): Likewise.
4985 * remote-nrom.c (nrom_ops): Likewise.
4986 * remote-os9k.c (rombug_ops): Likewise.
4987 * remote-rdp.c (remote_rdp_ops): Likewise.
4988 * remote-sim.c (gdbsim_ops): Likewise.
4989 * remote-st.c (st2000_ops): Likewise.
4990 * v850ice.c (v850ice_ops): Likewise.
4991 * target.c (cleanup_target): Likewise
4992 (update_current_target): Likewise.
4993 (setup_target_debug): Likewise
4994 (debug_to_core_file_to_sym_file): Removed.
4996 * corefile.c (core_file_command) [HPUXHPPA]: Removed code that
4997 sets symbol file from information obtained from the core file.
4998 * corelow.c (core_file_to_sym_file): Removed.
5000 2001-04-13 Fernando Nasser <fnasser@redhat.com>
5002 From Adam Mirowski <Adam.Mirowski@Sun.COM>
5003 Fixed Insight on Solaris. It was not possible to debug a process
5004 because of EINTR "errors".
5005 * procfs.c: (procfs_wait): if proc_wait_for_stop() fails
5006 with EINTR, retry the call.
5008 2001-04-12 Kevin Buettner <kevinb@redhat.com>
5010 * solib-aix5.c (enum maptype): Delete.
5011 (struct lm_info): Add new member ``nmappings''. Make ``mapping''
5012 member a pointer instead of a statically sized array.
5013 (build_so_list_from_mapfile): Dynamically allocate ``mapping''
5015 (aix5_relocate_main_executable, aix5_relocate_section_addresses,
5016 aix5_find_global_pointer): Search for correct mapping to use
5017 based on file offset instead of knowledge of whether the section
5018 is read-only or read/write.
5019 (aix5_find_gate_addresses): Use the first mapping instead of
5020 the (now defunct) MT_READONLY mapping.
5022 2001-04-12 Nicholas Duffek <nsd@redhat.com>
5024 * xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
5027 2001-04-12 Kevin Buettner <kevinb@redhat.com>
5029 * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
5031 2001-04-09 Andrew Cagney <ac131313@redhat.com>
5033 Obsolete i[3456]86-*-sunos* (aka Sun386) host and target.
5034 * config/i386/sun386.mh: Obsolete.
5035 * config/i386/sun386.mt: Obsolete.
5036 * config/i386/xm-sun386.h: Obsolete.
5037 * config/i386/tm-sun386.h: Obsolete.
5038 * config/i386/nm-sun386.h: Obsolete.
5039 * Makefile.in (ALLDEPFILES): Delete sun386-nat.c.
5040 (sun386-nat.o): Target is obsolete.
5041 * sun386-nat.c: Obsolete.
5042 * configure.tgt (i[3456]86-*-sunos*): Obsolete.
5043 * configure.host (i[3456]86-*-sunos*): Obsolete.
5047 2001-04-10 J.T. Conklin <jtc@redback.com>
5049 * maint.c: Fix typo in comment.
5051 2001-04-09 Keith Seitz <keiths@cygnus.com>
5053 * MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
5055 2001-04-08 Kevin Buettner <kevinb@redhat.com>
5057 * fork-child.c (fork_inferior, clone_and_follow_inferior):
5058 Document fact that apparent call to vfork() might actually be
5059 a call to fork() instead.
5060 * ser-pipe.c (pipe_open): Likewise.
5062 2001-04-08 Kevin Buettner <kevinb@redhat.com>
5064 * printcmd.c (print_frame_args): Use a cleanup to invoke
5065 ui_out_list_end() so that the list count nesting flag will
5066 be decremented properly when an error occurs.
5067 * stack.c (print_frame): Likewise.
5069 2001-04-06 J.T. Conklin <jtc@redback.com>
5071 * dcache.c (dcache_write_line): Fixed bugs where cache line was
5072 not written to target correctly.
5074 * gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
5076 * gdbserver/low-nbsd.c: Likewise.
5077 * gdbserver/low-sparc.c: Likewise.
5078 * gdbserver/low-sun3.c: Likewise.
5080 2001-04-06 Geoffrey Keating <geoffk@redhat.com>
5082 * config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
5083 (PTRACE_DETACH): Don't define.
5085 2001-04-06 David Smith <dsmith@redhat.com>
5087 * arch-utils.c (default_prepare_to_proceed)
5088 (generic_prepare_to_proceed): Added new functions.
5089 * arch-utils.h: New function declarations for
5090 default_prepare_to_proceed() and generic_prepare_to_proceed().
5091 * gdbarch.sh: Added PREPARE_TO_PROCEED.
5092 * gdbarch.c: Regenerated.
5093 * gdbarch.h: Regenerated.
5094 * inferior.h: Added get_last_target_status() declaration.
5095 * infrun.c (get_last_target_status): Added new function.
5096 (handle_inferior_event): Saves last pid and waitstatus, which will
5097 get returned by get_last_target_status().
5099 * hppa-tdep.c (prepare_to_proceed): Added comment stating that
5100 prepare_to_proceed() is potentially redundant since
5101 default_prepare_to_proceed() has been added.
5102 * linux-thread.c (prepare_to_proceed): Ditto.
5103 * lin-lwp.c (prepare_to_proceed): Ditto.
5104 * m3-nat.c (prepare_to_proceed): Ditto.
5106 2001-04-05 Andrew Cagney <ac131313@redhat.com>
5108 Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
5109 and powerpc-*-netware* target.
5110 * configure.host (powerpcle-*-cygwin*, powerpcle-*-solaris*):
5112 * configure.tgt (powerpc-*-netware*, powerpcle-*-cygwin*)
5113 (powerpcle-*-solaris*): Obsolete.
5114 * config/powerpc/tm-cygwin.h: Obsolete.
5115 * config/powerpc/cygwin.mt: Obsolete.
5116 * config/powerpc/xm-cygwin.h: Obsolete.
5117 * config/powerpc/cygwin.mh: Obsolete.
5118 * config/powerpc/nm-solaris.h: Obsolete.
5119 * config/powerpc/xm-solaris.h: Obsolete.
5120 * config/powerpc/tm-solaris.h: Obsolete.
5121 * config/powerpc/solaris.mt: Obsolete.
5122 * config/powerpc/tm-ppc-nw.h: Obsolete.
5123 * config/powerpc/ppc-nw.mt: Obsolete.
5127 2001-04-06 Fernando Nasser <fnasser@redhat.com>
5129 * buildsym.c (record_line): Turn off unused addr bits.
5131 2001-04-06 Fernando Nasser <fnasser@redhat.com>
5133 From David Deephanphongs <deephan@telocity.com>
5134 * inferior.h: Fix declarations of get_inferior_args and
5135 set_inferior_args, which were missing the trailing 's'.
5137 2001-04-05 Jeff Holcomb <jeffh@redhat.com>
5139 * monitor.c (monitor_supply_register): Only report an error if we
5140 don't get a valid value.
5142 2001-04-05 Eli Zaretskii <eliz@is.elta.co.il>
5144 * README: Don't mention gdba.el.
5146 2001-04-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5148 From Jimmy Guo <guo@cup.hp.com>
5149 * top.c (init_main): set prompt if annotation_level>1,
5150 this is necessary when annotation_level is set to 2 via
5151 --annotate=2 command line option.
5153 2001-04-04 Andrew Cagney <ac131313@redhat.com>
5155 Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
5156 * configure.tgt (a29k-*-sym1*, a29k-*-kern*): Obsolete.
5157 * configure.host (a29k-*-*): Obsolete.
5158 * Makefile.in (ALLDEPFILES): Remove ultra3-nat.c and
5160 (ultra3-nat.o, ultra3-xdep.o): Obsolete.
5161 * config/a29k/tm-ultra3.h: Obsolete.
5162 * config/a29k/ultra3.mt: Obsolete.
5163 * config/a29k/ultra3.mh: Obsolete.
5164 * config/a29k/nm-ultra3.h: Obsolete.
5165 * config/a29k/xm-ultra3.h: Obsolete.
5166 * ultra3-xdep.c: Obsolete.
5167 * ultra3-nat.c: Obsolete.
5168 * config/a29k/a29k-kern.mt: Obsolete.
5172 Wed Apr 4 21:48:42 2001 Christopher Faylor <cgf@cygnus.com>
5174 * main.c: Remove windows.h use.
5175 (gdbtk_test): Use PATH_MAX for home var calculation.
5176 * remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as
5177 Win32 in colon test.
5178 * ser-tcp.c: Use modern __CYGWIN__ conditional.
5179 * source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test.
5181 * symfile.c (symfile_bfd_open): Ditto.
5183 2001-04-04 Martin M. Hunt <hunt@redhat.com>
5185 * main.c (captured_main): For GDBtk, don't use tui_fileopen().
5186 Handle all stream setup in gdbtk_init
5188 2001-04-04 Mark Kettenis <kettenis@gnu.org>
5190 * i386-tdep.c (i386_extract_return_value): Don't return the return
5191 value of a void function.
5192 (i386_store_return_value): Likewise.
5194 2001-04-03 Andrew Cagney <ac131313@redhat.com>
5196 Obsolete w65-*-* target.
5197 * configure.tgt (w65-*-*): Obsolete.
5198 * config/w65/w65.mt: Obsolete.
5199 * config/w65/tm-w65.h: Obsolete.
5200 * w65-tdep.c: Obsolete.
5201 * NEWS: Update. Fix TiC80 description.
5204 2001-04-03 Andrew Cagney <ac131313@redhat.com>
5206 Obsolete tic80-*-* target.
5207 * configure.tgt (tic80-*-*): Obsolete.
5208 * config/tic80/tic80.mt: Obsolete.
5209 * config/tic80/tm-tic80.h: Obsolete.
5210 * tic80-tdep.c: Obsolete.
5214 2001-04-02 J.T. Conklin <jtc@redback.com>
5216 * remote-mips.c (S_IROTH): Moved definition from here.
5217 * gdb_stat.h (S_IROTH): to here.
5219 * remote.c (remote_protocol_e, remote_protocol_E): Define.
5220 (set_remote_protocol_e_packet_cmd)
5221 (set_remote_protocol_E_packet_cmd)
5222 (show_remote_protocol_e_packet_command)
5223 (show_remote_protocol_E_packet_command): New functions.
5224 (init_all_packet_configs): Initialize remote_protocol_e and
5226 (remote_resume, remote_async_resume): Support e/E command
5228 (show_remote_cmd): Show state of remote_protocol_e and
5230 (_initialize_remote): Add "set remote step-over-range-packet"
5231 and "set remote step-over-range-w-signal-packet" to CLI.
5233 2001-04-01 Andrew Cagney <ac131313@redhat.com>
5235 Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
5237 * Makefile.in (ALLDEPFILES): Delete umax-xdep.c and ns32km3-nat.c.
5238 (umax-xdep.o, ns32km3-nat.o): Obsolete.
5239 * configure.tgt (ns32k-*-mach3*, ns32k-utek-sysv*, ns32k-utek-*):
5241 * configure.host (ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv*):
5243 * config/ns32k/merlin.mh: Obsolete.
5244 * config/ns32k/merlin.mt: Obsolete.
5245 * config/ns32k/xm-merlin.h: Obsolete.
5246 * config/ns32k/tm-merlin.h: Obsolete.
5247 * config/ns32k/nm-umax.h: Obsolete.
5248 * config/ns32k/umax.mh: Obsolete.
5249 * config/ns32k/umax.mt: Obsolete.
5250 * config/ns32k/xm-umax.h: Obsolete.
5251 * umax-xdep.c: Obsolete.
5252 * config/ns32k/ns32km3.mh: Obsolete.
5253 * config/ns32k/ns32km3.mt: Obsolete.
5254 * config/ns32k/tm-ns32km3.h: Obsolete.
5255 * config/ns32k/xm-ns32km3.h: Obsolete.
5256 * ns32km3-nat.c: Obsolete.
5257 * ns32k-tdep.c (merlin_skip_prologue): Obsolete.
5258 (merlin_frame_num_args): Ditto.
5262 2001-04-02 Eli Zaretskii <eliz@is.elta.co.il>
5264 * config/djgpp/fnchange.lst: Tweak due to
5265 expect/example/chesslib.c.
5267 2001-04-02 Kevin Buettner <kevinb@redhat.com>
5269 * m88k-tdep.c (examine_prologue): Change type of ``insn'' from
5270 unsigned int to unsigned long. Also, fix format string.
5271 (pop_frame): Fix PC_IN_CALL_DUMMY() call so that it doesn't
5272 use an undeclared variable. Also, delete declaration and
5273 initialization of ``fp'' because it is otherwise unused.
5274 * remote-bug.c (sleep): Delete declaration.
5275 (bug_store_register, bug_write_memory, bug_read_memory)
5276 (bug_insert_breakpoint, bug_remove_breakpoint): Fix sprintf()
5277 format statements and cast certain sprintf() arguments to
5279 (bug_load): Likewise for call to printf_filtered().
5280 * config/m88k/tm-m88k.h (FIX_CALL_DUMMY): Eliminate
5281 assignment to ``pc''. The necessary assignment is done in
5282 hand_function_call() after the invocation of FIX_CALL_DUMMY().
5284 2001-03-20 Daniel Berlin <dberlin@redhat.com>
5286 * symtab.c (completion_list_add_name): Remove duplicate string checks,
5287 readline already does this, and it's much faster at it, too.
5289 2001-04-01 Eli Zaretskii <eliz@is.elta.co.il>
5291 * go32-nat.c: Minor tweaks, to pacify the ari script.
5293 2001-04-01 Mark Kettenis <kettenis@gnu.org>
5295 * i386-tdep.c (i386_extract_struct_value_address): New function.
5296 * config/i386/tm-i386.h (EXTRACT_STRUCT_VALUE_ADDRESS): Redefine
5297 in terms of i386_extract_struct_value_address.
5298 (i386_extract_struct_value_address): New prototype.
5300 * i386-linux-nat.c (i386_linux_dr_get): Change type of return
5301 value to `unsigned long'. Change type of `value' to `unsigned
5303 (i386_linux_dr_set): Change type of second argument to `unsigned
5305 (i386_linux_dr_set_control): Change type of first argument to
5307 (i386_linux_dr_get_status): Change type of return value to
5309 * config/i386/nm-linux.h (i386_linux_dr_set_control,
5310 i386_linux_dr_get_status): Adjust prototypes accordingly.
5312 2001-03-31 Kevin Buettner <kevinb@redhat.com>
5314 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Change
5315 TRAP_HWBKPT constant to match that in the kernel headers for
5318 2001-03-31 Mark Kettenis <kettenis@gnu.org>
5320 * i386bsd-nat.c: Include "gdb_assert.h".
5321 [HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not
5323 [HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control,
5324 i386bsd_dr_set_addr, i386bsd_dr_reset_addr,
5325 i386bsd_dr_get_status): New functions.
5326 * config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS]
5327 (I386_USE_GENERIC_WATCHPOINTS): Define.
5328 Include "i386/nm-i386.h".
5329 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
5330 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
5331 (i386bsd_dr_set_control, i386bsd_dr_set_addr,
5332 i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes.
5333 * acconfig.h (HAVE_PT_GETDBREGS): New configure macro.
5334 * configure.in: Cleanup a few comments. Check for PT_GETDBREGS
5336 * config.in, configure: Regenerate.
5338 * i386-nat.c (i386_insert_aligned_watchpoint): Set address
5339 register before enabling it by setting the control register.
5340 (i386_remove_aligned_watchpoint): Reset address register after
5341 disabling it by setting the control register.
5343 * i386-tdep.c (i386_extract_return_value): If the type of the
5344 return value is TYPE_STRUCT and the number of fields is one, call
5345 ourselves with TYPE set tp the type of the first field.
5346 (i386_store_return_value): Likewise.
5347 This fixes a problem with returning structs consisting of a single
5348 `float' or `double' on *BSD.
5350 2001-03-30 Mark Kettenis <kettenis@gnu.org>
5352 * lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
5353 we're absolutely sure we're going to resume it.
5355 * thread-db.c (check_event): Don't report an error if we encounter
5356 a thread creation event for a thread that's already in the thread
5357 list, since that may legitemately happen. Instead only call
5358 attach_thread if it's not already in the thread list.
5360 2001-03-28 Andrew Cagney <ac131313@redhat.com>
5362 * config/pa/xm-hppah.h (malloc): Really delete declaration
5363 (MALLOC_INCOMPATIBLE): Really delete macro.
5364 * cli/cli-cmds.c (apropos_command): Use xcalloc.
5366 2001-03-28 Andrew Cagney <ac131313@redhat.com>
5368 * configure.in (build_warnings): Add -Wuninitialized.
5369 * configure: Regenerate.
5371 * v850-tdep.c (v850_scan_prologue): Initialize ``insn2''.
5372 * sparc-tdep.c (sparc64_push_arguments): Add default case to
5374 * sh-tdep.c (sh_do_fp_register): Replace ``?:'' printf format
5375 expression with if statement.
5376 * mn10200-tdep.c (mn10200_analyze_prologue): Initialize
5378 * mips-tdep.c (show_mipsfpu_command): Add default case to switch.
5379 (mips_dump_tdep): Fix setting of ef_mips_arch.
5380 * mcore-tdep.c (mcore_analyze_prologue): Initialize ``fp_regnum''.
5381 * dsrec.c (make_srec): Always initialize ``binbuf''.
5382 * monitor.c (monitor_read_memory_single): Do not pass an
5383 uninitialized buffer to monitor_error. Make ``i'' more local.
5385 2001-03-28 Andrew Cagney <ac131313@redhat.com>
5387 * MAINTAINERS: Change ns32k target to ,-Werror.
5389 * ns32k-tdep.c: Include "gdbcore.h"
5390 (flip_bytes): Change first argument to void*. Add forward
5392 (sign_extend): Add declaration.
5393 (merlin_frame_num_args): Add final else clause to if-else chain.
5394 (umax_frame_num_args): Ditto.
5395 * config/ns32k/tm-umax.h (ns32k_localcount): Declare.
5396 (flip_bytes): Ditto.
5398 2001-03-28 Mark Kettenis <kettenis@gnu.org>
5400 * i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here from
5401 config/i386/nm-linux.h (including comment).
5402 (i386_linux_frame_chain): New function implementing guts of the
5403 former FRAME_CHAIN macro, but using read_memory_unsigned_integer
5404 instead of read_memory_integer.
5405 (i386_linux_frame_saved_pc): Removed doc pointing to
5406 i386/tm-linux.h for an explanation of FRAMELESS_SIGNAL since that
5407 now lives in this file.
5408 * config/i386/tm-linux.h (FRAMELESS_SIGNAL): Moved to
5409 i386-linux-tdep.c (including comment).
5410 (FRAME_CHAIN): Redefined in terms of i386_linux_frame_chain.
5411 (i386_linux_frame_chain): New prototype.
5413 * gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
5415 (NUM_FREGS): Redefine to 0.
5416 (NUM_REGS): Redefine as NUM_GREGS.
5417 (i386_register_byte, i386_register_raw_size): Update from
5418 i386-tdep.c. Add comment about their origin.
5419 (regmap, register_u_addr): Take these from i386-linux-nat.c.
5420 (i386_register_u_addr): Removed.
5422 * i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
5423 fails instead of calling perror_with_name. This should fix
5424 debugging remote i386 targets with a native Linux/x86 GDB. Add
5425 FIXME for this hack.
5427 2001-03-19 J.T. Conklin <jtc@redback.com>
5429 * arch-utils.c (#include "gdbthread.h"): Removed.
5430 (#include "symfile.h"): Removed.
5431 (XMALLOC): Removed unused macro.
5432 * breakpoint.c (tbreak_command): Removed local declaration.
5433 (awatch_command, do_enable_breakpoint, set_breakpoint_count):
5434 Remove duplicate declarations.
5435 (bpstat_should_step, bpstat_have_active_hw_watchpoints)
5436 (remove_solib_event_breakpoints): Fix indentation botch.
5437 * c-typeprint.c (#include "command.h"): Removed.
5438 (#include "gdbcmd.h"): Removed.
5439 * ch-exp.c (ch_terminal_match_float_literal, parse_expr)
5440 (parse_primval, parse_untyped_expr, parse_opt_untyped_expr):
5441 Removed duplicate declarations.
5442 * ch-typeprint.c (#include "command.h"): Removed.
5443 (#include "gdbcmd.h"): Removed.
5444 * corefile.c (#include "frame.h"): Removed
5445 (#include "symfile.h"): Removed.
5446 (#include "language.h"): Removed.
5447 * dbxread.c (#include "command.h"): Removed.
5448 * environ.c (#include "gdbcore.h"): Removed.
5449 * event-loop.c (#include "top.h"): Removed.
5450 * f-typeprint.c (#include "command.h"): Removed.
5451 (#include "gdbcmd.h"): Removed.
5452 (#include "language.h"): Removed.
5453 (#include "typeprint.h"): Removed.
5454 (#include "frame.h"): Removed.
5455 * gdbtypes.h (print_type_scalar): Removed declaration.
5456 * infcmd.c (#include "completer.h"): Removed.
5457 * language.c (#include "frame.h"): Removed.
5458 * m2-typeprint.c (#include "command.h"): Removed.
5459 (#include "gdbcmd.h"): Removed.
5460 (#include "language.h"): Removed.
5461 * m2-valprint.c (#include "valprint.h"): Removed.
5462 * p-typeprint.c (#include "command.h"): Removed.
5463 (#include "gdbcmd.h"): Removed.
5464 * p-valprint.c (#include "typeprint.h"): Removed.
5465 * parse.c (#include "linespec.h"): Removed.
5466 * regcache.c (#include "frame.h"): Removed.
5467 * remote.c (#include "frame.h"): Removed.
5468 (getpkt_sane): Make static.
5469 * source.c (#include "completer.h"): Removed.
5470 * stack.c (#include "symfile.h"): Removed.
5471 (#include "objfiles.h"): Removed.
5472 * symfile.c (#include "completer.h"): Removed.
5473 * tracepoint.c (#include "completer.h"): Removed.
5474 * values.c (#include "frame.h"): Removed.
5475 * varobj.c (#include "valprint.h"): Removed.
5476 * wrapper.c (#include "frame.h"): Removed.
5478 * memattr.c (create_mem_region): Removed unused variable.
5479 * remote-nrom.c: Removed spurious semicolon after init_nrom_ops.
5481 2001-03-27 Nick Clifton <nickc@redhat.com>
5483 * remote-rdp.c (rdp_set_command_line): Add missing double quote.
5485 2001-03-27 Kevin Buettner <kevinb@redhat.com>
5487 * solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
5490 2001-03-27 Eli Zaretskii <eliz@is.elta.co.il>
5492 * TODO (Cleanups): Remove the item about converting docs to GFDL.
5494 2001-03-26 Kevin Buettner <kevinb@redhat.com>
5496 * ia64-tdep.c (slotN_contents, replace_slotN_contents): Change
5497 type of ``bundle'' from unsigned char * to char *.
5498 (ia64_get_saved_register): Use alloca() to allocate register
5501 * solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.
5503 2001-03-26 Kevin Buettner <kevinb@redhat.com>
5505 * proc-utils.h (procfs_ctl_t): New typedef.
5506 * proc-api.c (write_with_trace): Change type of ``opcode'' from
5507 long to procfs_ctl_t. Don't assume that the target has defined
5508 BREAKPOINT. Handle case in which PCRESET is the same as PCUNSET.
5509 * proc-events.c (sys/syscall.h, sys/fault.h): Include conditionally.
5510 * procfs.c (sys/fault.h, sys/syscall.h): Include conditionally.
5511 (gdb_sigset_t, gdb_sigaction_t, gdb_siginfo_t, gdb_premptysysset)
5512 (gdb_praddsysset, gdb_prdelsysset, gdb_pr_issyssetmember):
5513 Conditionally define as appropriate for AIX/non-AIX systems. Use
5514 these defines/typedefs as appropriate elsewhere in file.
5515 (struct procinfo): Change type of saved_sigset and saved_sighold
5516 from sigset_t to gdb_sigset_t. Make saved_exitset and
5517 saved_entryset pointer variables. Add two new fields, num_syscalls
5519 (DYNAMIC_SYSCALLS): Define when HAVE_PRSYSENT_T is defined.
5520 (sysset_t_size, sysset_t_alloc): New functions.
5521 (load_syscalls, free_syscalls, find_syscall): New functions for
5522 platforms which define DYNAMIC_SYSCALLS.
5523 (create_procinfo): Call load_syscalls.
5524 (destroy_one_procinfo): Call free_syscalls.
5525 (GDBRESET): Don't define twice.
5526 (proc_modify_flag): Change type of operation code array `arg'
5527 from long to procfs_ctl_t.
5528 (proc_stop_process, proc_wait_for_stop, proc_run_process)
5529 (proc_set_traced_signals, proc_set_traced_faults)
5530 (proc_set_traced_sysentry, proc_set_traced_sysexit)
5531 (proc_set_held_signals, proc_clear_current_fault)
5532 (proc_set_current_signal, proc_clear_current_signal, proc_set_gregs)
5533 (proc_set_fpregs, proc_kill, proc_set_watchpoint): Likewise for `cmd'.
5534 (proc_set_traced_sysentry): Dynamically allocate variable sized
5535 struct gdb_proc_ctl_pcsentry. Also, free it at function exit.
5536 (proc_set_traced_sysexit): Dynamically allocate variable
5537 sized struct gdb_proc_ctl_pcsexit. Also, free it at
5539 (proc_get_traced_sysentry, proc_get_traced_sysexit): Add new code
5540 for reading the sysset_t struct on AIX5.
5541 (procfs_debug_inferior): Don't assume that SYS_exit will be
5542 defined. Add new code for finding certain syscalls on AIX5.
5543 (syscall_is_lwp_exit, syscall_is_exit, syscall_is_exec)
5544 (syscall_is_lwp_create): New functions.
5545 (procfs_wait): Restructured code which checks for certain
5546 system calls to use the new syscall_is_... functions.
5547 (procfs_notice_signals): Account for the fact that saved_entryset
5548 and saved_exitset in struct procinfo are now pointers.
5550 2001-03-26 Kevin Buettner <kevinb@redhat.com>
5552 * symtab.c (find_pc_sect_line): Revise method used for finding
5555 2001-03-26 Mark Kettenis <kettenis@gnu.org>
5557 * i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,
5558 i386_linux_sigtramp_saved_sp): Make static.
5559 (i386_linux_frame_saved_pc): New function based on the old
5560 FRAME_SAVED_PC macro, but use read_memory_unsigned_integer instead
5561 of read_memory_integer.
5562 * config/i386/tm-linux.h (sigtramp_saved_pc): Remove definition.
5563 (i386_linux_sigtramp_saved_pc): Remove prototype.
5564 (FRAME_SAVED_PC): Redefine in terms of i386_linux_frame_saved_pc.
5565 (i386_linux_frame_saved_pc): New prototype.
5567 2001-03-26 Andrew Cagney <ac131313@redhat.com>
5569 * MAINTAINERS: Document m88k as a ``Known problem in 5.1''.
5570 * TODO (GDB 5.1 - Cleanups): Update.
5572 2001-03-26 Andrew Cagney <ac131313@redhat.com>
5574 * fork-child.c (clone_and_follow_inferior): Delete #ifdef
5577 2001-03-26 Mark Kettenis <kettenis@gnu.org>
5579 * config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
5581 * i386-tdep.c (i386_push_arguments, i386_store_struct_return): New
5583 * config/i386/tm-i386.h (PUSH_ARGUMENTS): New macro.
5584 (STORE_STRUCT_RETURN): Redefine in terms of
5585 i386_store_struct_return.
5586 (i386_push_arguments, i386_store_struct_return): New prototypes.
5587 * config/i386/tm-i386v.h (STORE_STRUCT_RETURN): Remove. It's
5588 definition was identical to the definition in "i386/tm-i386.h" so
5589 the new definition should suffice too.
5591 2001-03-26 Eli Zaretskii <eliz@is.elta.co.il>
5593 * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unused
5594 definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
5596 * config/djgpp/djconfig.sh: Add copyright notice.
5598 * ser-go32.c (rawclock): Remove prototype; include time.h instead.
5599 (ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C.
5600 (top level) <string.h>: Include gdb_string.h instead.
5601 (dos_noop, dos_raw, dos_noflush_set_tty_state)
5602 (dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED.
5604 * go32-nat.c (go32_create_inferior): Move the declaration of
5605 `environ' to here from the top level.
5606 (top level) <_initialize_go32_nat>: Remove redundant prototype.
5607 <gdb_string.h>: Include it instead of string.h.
5608 (store_register): Call register_buffer instead of accessing
5609 registers[] directly.
5610 (redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger)
5611 (redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put
5612 the function names at the start of the line.
5613 (go32_set_dr): Throw internal_error if the argument is not a valid
5614 debug register number.
5615 (go32_open, go32_close, go32_attach, go32_detach, go32_resume)
5616 (go32_wait, go32_xfer_memory, go32_files_info)
5617 (go32_terminal_info): Remove ATTRIBUTE_UNUSED.
5619 2001-03-25 Jim Blandy <jimb@redhat.com>
5621 * mips-tdep.c (mips_gdbarch_init): Tweak indentation.
5623 2001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5625 From Andrew Cagney <ac131313@redhat.com>
5627 * coffread.c: Include "gdb_assert.h".
5628 (coff_symtab_read): Cast the integer s_sclass to a long before
5629 casting it to a pointer.
5631 2001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5633 From Andrew Cagney <ac131313@redhat.com>
5635 * coffread.c (coff_symtab_read): Initialize
5636 ``fcn_first_line_addr''. Check that the ``.bf'' always preceeds
5638 * dbxread.c (find_text_range): Initialize ``start'' and ``end''.
5640 2001-03-23 Andrew Cagney <ac131313@redhat.com>
5642 * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade to
5643 GDB_MULTI_ARCH_PARTIAL from two. SOFTWARE_SINGLE_STEP is not
5646 * gdbarch.sh (SOFTWARE_SINGLE_STEP): Add.
5647 * gdbarch.h, gdbarch.c: Re-generate.
5649 * target.h (SOFTWARE_SINGLE_STEP_P)
5650 (SOFTWARE_SINGLE_STEP): Delete macro definitions.
5652 2001-03-23 Andrew Cagney <ac131313@redhat.com>
5654 * gdbarch.sh (gdbarch_register_read, gdbarch_register_write): Add.
5655 * gdbarch.h, gdbarch.c: Regenerate.
5657 * regcache.h (regcache_read, regcache_write): Declare.
5658 (registers, register_valid, register_buffer): Add note that these
5659 interfaces are deprecated.
5661 * regcache.c: Include "gdb_assert.h".
5662 (legacy_write_register_gen): Rename write_register_gen.
5663 (legacy_read_register_gen): Rename read_register_gen.
5664 (regcache_read, regcache_write): New function.
5665 (read_register_gen, write_register_gen): New function.
5666 (write_register): Simplify. Use write_register_gen.
5667 (read_register): Ditto using read_register_gen.
5668 (read_signed_register): Ditto.
5669 (read_register_bytes): Ditto!!!!
5670 (supply_register): Add note that CLEANUP_REGISTER_VALUE is being
5671 replaced by gdbarch_register_read.
5673 * TODO (GDB 5.2 - Cleanups): Add list of gdbarch methods to
5676 2001-03-23 Jim Blandy <jimb@redhat.com>
5678 Fix from Dan Berlin:
5680 * stabsread.c (read_cpp_abbrev): Properly construct the names of
5681 virtual function table pointer fields.
5683 2001-03-19 Andrew Cagney <ac131313@redhat.com>
5685 * defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
5686 xmrealloc): Move existing declarations to the one place and
5687 re-order to be consistent.
5688 (xmcalloc, xmfree): Declare.
5689 (xmmalloc, xmrealoc): Assume ISO-C - use size_t and void* in
5692 * utils.c (size_t): Delete #ifdef defining size_t.
5693 (mmalloc, mrealloc, mcalloc, mfree): Re-order.
5694 (mmalloc, mrealloc, mcalloc): Document as only calls in GDB
5695 corresponding malloc, realloc, calloc.
5696 (mfree): Call free directly.
5697 (xmmalloc, xmrealloc): Clean up. Assume ISO-C.
5698 (xmcalloc, xmfree): New functions. Copy old xcalloc and xfree
5699 function bodies to here.
5700 (xcalloc, xfree): Call xmcalloc and xmfree respectfully.
5702 2001-03-23 Andrew Cagney <ac131313@redhat.com>
5704 * fork-child.c (fork_inferior): Make ``argv'', ``exec_file'' and
5705 ``shell_file'' static locals.
5707 * jv-lang.c (java_link_class_type): Initialize ``field'' and
5710 * jv-valprint.c (java_value_print): Initialize ``next_element''.
5712 2001-03-23 Mark Kettenis <kettenis@gnu.org>
5714 * config/i386/nm-i386.h: Fix formatting and change reference to
5715 i386-tdep.c to i386-nat.c.
5717 2001-03-23 David Smith <dsmith@redhat.com>
5719 * configure.in: Corrected spelling errors.
5720 * configure: Regenerated.
5722 2001-03-22 Andrew Cagney <ac131313@redhat.com>
5724 * TODO (GDB 5.1 - Cleanups): Add more targets to obsolete.
5726 2001-03-22 Andrew Cagney <ac131313@redhat.com>
5728 * Makefile.in (NTSSTART): Delete.
5730 (kdb): Delete target.
5731 * kdb-start.c, stuff.c: Mark as obsolete.
5734 2001-03-22 Andrew Cagney <ac131313@redhat.com>
5736 * config/pa/xm-hppah.h (HPPA_COMPILER_BUG): Delete. GDB only
5737 compiles using an ISO-C compiler.
5738 (MALLOC_INCOMPATIBLE): Ditto.
5739 * linespec.c (decode_line_1): Delete hack to work around
5742 2001-03-22 Andrew Cagney <ac131313@redhat.com>
5744 * exec.c (xfer_memory): Always initialize section.
5745 * infrun.c (normal_stop): Always initialize source_flag.
5747 2001-03-22 Andrew Cagney <ac131313@redhat.com>
5749 * TODO (Remote Protocol Support): Review. Add notes about ``!'',
5750 non-use of a continue address and typical use of ``q'' packet.
5752 2001-03-22 Eli Zaretskii <eliz@is.elta.co.il>
5754 Make DJGPP use the new unified support for hardware
5755 breakpoints and watchpoints on x86 targets:
5757 * config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,
5758 include nm-i386.h instead.
5759 (TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT)
5760 (TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT)
5761 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK)
5762 (target_stopped_data_address, target_insert_watchpoint)
5763 (target_remove_watchpoint, target_insert_hw_breakpoint)
5764 (target_remove_hw_breakpoint): Don't define.
5765 (I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL)
5766 (I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR)
5767 (I386_DR_LOW_GET_STATUS): Define to call appropriate go32_*
5768 functions from go32-nat.c.
5770 * config/i386/go32.mh (NATDEPFILES): Add i386-nat.o.
5772 * go32-nat.c <top level>: Remove prototypes for watchpoint-
5773 related functions. Remove definitions of watchpoint-related
5775 (go32_mourn_inferior): Call i386_cleanup_dregs instead of the
5776 private cleanup_dregs function.
5777 (cleanup_dregs, go32_insert_watchpoint)
5778 (go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint)
5779 (go32_remove_watchpoint, go32_remove_aligned_watchpoint)
5780 (go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint)
5781 (go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove.
5782 (go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
5784 2001-03-21 Kevin Buettner <kevinb@redhat.com>
5786 * ia64-tdep.c (fetch_instruction): Warn about slot numbers greater
5787 than two instead of generating an error.
5789 2001-03-21 Jim Blandy <jimb@redhat.com>
5791 * cp-valprint.c: Reformat to bring into line with GNU coding
5794 2001-03-21 Mark Kettenis <kettenis@gnu.org>
5796 Make Linux use the new unified support for hardware breakpoints
5797 and watchpoints on x86 targets.
5798 * i386-linux-nat.c: Doc fixes. Include "gdb_assert.h".
5799 [HAVE_SYS_DEBUGREG_H]: Include <sys/debugreg.h>.
5800 (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS, DR_CONTROL): Define to
5801 appropriate value if not already defined.
5802 (register_u_addr): New function.
5803 (kernel_u_size): New function.
5804 (i386_linux_dr_get, i386_linux_dr_set): New functions.
5805 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
5806 i386_linux_reset_addr, i386_linux_dr_get_status): New functions.
5807 * config/i386/nm-linux.h: Don't include "nm-i386v.h".
5808 (I386_USE_GENERIC_WATCHPOINTS): Define and include "nm-i386.h".
5809 (TARGET_HAS_HARDWARE_WATCHPOINTS,
5810 TARGET_CAN_USE_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT,
5811 STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
5812 target_remove_watchpoint): Remove macros.
5813 (i386_stopped_by_watchpoint, i386_insert_watchpoint,
5814 i386_remove_watchpoint): Remove prototypes.
5815 (register_u_addr): New prototype.
5816 (REGISTER_U_ADDR): Define in terms of register_u_addr.
5817 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
5818 i386_linux_reset_addr, i386_linux_dr_get_status): New prototypes.
5819 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
5820 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
5821 * config/i386/linux.mh (NATDEPFILES): Replace i386v-nat.o with
5824 2001-03-21 Jim Blandy <jimb@redhat.com>
5826 Fix from Dan Berlin:
5828 * linespec.c (find_methods): Whitespace differences aren't
5829 significant in *un*mangled method names. Use strcmp_iw to compare
5832 2001-03-21 Andrew Cagney <ac131313@redhat.com>
5834 * gdbarch.sh: Allow a non- multi-arch target to override a
5836 * gdbarch.h: Regenerate.
5838 2001-03-21 Andrew Cagney <ac131313@redhat.com>
5840 * gdbarch.sh: Avoid use of ``!''.
5842 2001-03-20 Andrew Cagney <ac131313@redhat.com>
5844 * target.h (enum target_signal): Move definition from here.
5845 * defs.h (enum target_signal): To here.
5847 * config/arc/tm-arc.h (arc_software_single_step): Change type of
5848 first parameter to enum target_signal.
5849 * config/rs6000/tm-rs6000.h (rs6000_software_single_step): Ditto.
5850 * config/sparc/tm-sparc.h (sparc_software_single_step): Ditto.
5851 * rs6000-tdep.c (rs6000_software_single_step): Update.
5853 2001-03-20 Andrew Cagney <ac131313@redhat.com>
5855 * frame.h (SIZEOF_FRAME_SAVED_REGS): Report an error if macro
5858 From 2000-08-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
5859 * stabsread.c (define_symbol): A parameter ('R'), a local ('r'),
5860 or a reference ('a') can be in a pseudo register.
5861 * infcmd.c (do_registers_info): Must take into account the pseudo
5862 registers to print their value.
5863 (registers_info): Likewise.
5864 * stack.c (frame_info): Likewise.
5865 * frame.h (SIZEOF_FRAME_SAVED_REGS): Save the pseudo registers.
5867 2001-03-21 Eli Zaretskii <eliz@is.elta.co.il>
5869 Unified support for hardware breakpoints and watchpoints on
5872 * config/i386/nm-i386.h: New file.
5874 * config/i386/nm-i386.h: (i386_cleanup_dregs)
5875 (i386_insert_watchpoint, i386_remove_watchpoint)
5876 (i386_region_ok_for_watchpoint, i386_stopped_by_hwbp)
5877 (i386_stopped_data_address, i386_insert_hw_breakpoint)
5878 (i386_remove_hw_breakpoint): Declare prototypes.
5879 [I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
5880 Define if not already defined.
5881 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT)
5882 (STOPPED_BY_WATCHPOINT, target_stopped_data_address)
5883 (target_insert_watchpoint, target_remove_watchpoint)
5884 (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define
5885 to call the appropriate i386_* functions.
5887 * i386-nat.c: New file.
5889 * i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE)
5890 (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN)
5891 (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros.
5892 (dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count)
5893 (maint_show_dr): New variables.
5894 (i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits)
5895 (i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint)
5896 (i386_handle_nonaligned_watchpoint, i386_insert_watchpoint)
5897 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
5898 (i386_stopped_data_address, i386_stopped_by_hwbp)
5899 (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New
5901 (_initialize_i386_nat): New function.
5902 [I386_USE_GENERIC_WATCHPOINTS]: Add new maint command
5903 `show-debug-regs', sets maint_show_dr to non-zero value and
5904 activates debugging print-outs in functions which insert, remove,
5905 and test watchpoints and hardware breakpoints.
5907 * Makefile.in (i386-nat.o): New target.
5908 (ALLDEPFILES): Add i386-nat.o.
5910 2001-03-21 Mark Kettenis <kettenis@gnu.org>
5912 * i386-tdep.c: Add back _initialize_i386_tdep prototype with
5913 appropriate comment.
5915 2001-03-20 Kevin Buettner <kevinb@redhat.com>
5917 * config/alpha/alpha-linux.mh (NATDEPFILES): Use proc-service.o,
5918 thread-db.o, and lin-lwp.o for thread support instead of
5919 linux-thread.o and lin-thread.o.
5920 * config/alpha/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS)
5921 (ATTACH_LWP): Define to use the following lin-lwp.c functions...
5922 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals)
5923 (lin_lwp_attach_lwp): Declare.
5925 2001-03-20 Jim Blandy <jimb@redhat.com>
5927 Fix from Dan Berlin:
5929 * Makefile.in: Clean up dependencies on ../include/demangle.h.
5930 (demangle_h): New variable.
5931 (jv-typeprint.o, jv-valprint.o, linespec.o): Use it.
5933 2001-03-20 Andrew Cagney <ac131313@redhat.com>
5935 * target.h (SOFTWARE_SINGLE_STEP_P): Add empty parameter list.
5936 * breakpoint.c (bpstat_stop_status): Update.
5937 * infrun.c (handle_inferior_event): Ditto.
5938 * mips-tdep.c (mips_dump_tdep): Ditto.
5939 * infrun.c (resume): Ditto.
5940 * infptrace.c (child_resume): Ditto.
5941 * config/mips/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5942 * config/sh/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5943 * config/sparc/tm-sparc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5944 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5945 * config/arm/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5946 * config/arc/tm-arc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5947 * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5949 2001-03-20 Andrew Cagney <ac131313@redhat.com>
5951 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Replace abort
5952 with internal_error.
5954 2001-03-20 Jim Blandy <jimb@redhat.com>
5956 Fix from Dan Berlin:
5958 * linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
5959 than asking for sym_class's type; that's circuitous. Remove
5960 sym_class, since the last use of it is gone.
5962 2001-03-20 Eli Zaretskii <eliz@is.elta.co.il>
5964 * breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
5965 Correct the order of calls to ui_out_field_string and
5966 ui_out_list_begin when bs->old_val is NULL.
5968 2001-03-19 Kevin Buettner <kevinb@redhat.com>
5970 * configure.in (AC_CHECK_HEADERS): Check for existence of nlist.h.
5971 * configure: Regenerate.
5972 * config.in: Regenerate.
5973 * solib-legacy.c (nlist.h): Include if HAVE_NLIST_H is defined.
5975 2001-03-19 Kevin Buettner <kevinb@redhat.com>
5977 * config/i386/i386v42mp.mh (NATDEPFILES): List all files on
5978 same line to avoid problems with Unixware 7's make when building
5981 2001-03-19 Andrew Cagney <ac131313@redhat.com>
5983 * defs.h (malloc): Move declaration from here.
5984 * utils.c (malloc): To here.
5985 * config/pa/xm-hppah.h (malloc): Delete declaration.
5987 * gnu-nat.c (make_proc): Use xmalloc instead of malloc.
5988 * hp-psymtab-read.c (hpread_call_pxdb): Ditto.
5989 (hpread_quick_traverse): Ditto.
5990 * infttrace.c (create_thread_info): Ditto.
5991 (kill_inferior): Ditto.
5992 * gnu-nat.c (make_inf): Ditto, and don't check return value.
5993 * procfs.c (proc_update_threads): Ditto.
5994 * valprint.c (print_decimal_chars): Ditto.
5995 * gdbtypes.c (cfront_mangle_name): Use xasprintf instead of
5997 * remote-rdp.c (rdp_set_command_line): Ditto.
5999 2001-03-19 Andrew Cagney <ac131313@redhat.com>
6001 * defs.h (realloc): Move declaration from here.
6002 * utils.c (realloc): To here.
6003 * config/pa/xm-hppah.h (realloc): Delete declaration.
6004 * lin-thread.c (insert_thread): Use xrealloc instead of realloc.
6005 * symfile.c (add_filename_language): Ditto.
6006 * event-loop.c (create_file_handler): Ditto.
6008 2001-03-19 Andrew Cagney <ac131313@redhat.com>
6010 * defs.h (free): Move declaration from here.
6011 * utils.c (free): To here.
6012 (xfree): Document as the only call to free().
6013 * config/pa/xm-hppah.h (free): Delete declaration.
6015 2001-03-19 Kevin Buettner <kevinb@redhat.com>
6017 * config/ia64/linux.mh (NATDEPFILES): Add proc-service.o to
6020 2001-03-19 Andrew Cagney <ac131313@redhat.com>
6022 * eval.c (evaluate_subexp): Remove #ifdef __STDC__ and ``inline''.
6023 * config/mips/xm-mips.h (offsetof): Define when !GNUC not !STDC.
6024 * cli/cli-cmds.c (init_cli_cmds): Remove #ifdef __STDC__
6026 2001-03-19 Andrew Cagney <ac131313@redhat.com>
6028 * TODO: List known problems with TUI.
6030 2001-03-19 Andrew Cagney <ac131313@redhat.com>
6032 * MAINTAINERS: Jimmy Guo stepped down as a maintiner (TUI,
6035 2001-03-19 Andrew Cagney <ac131313@redhat.com>
6037 * remote.c (remote_cisco_section_offsets): Do not cast result from
6038 bfd_get_section_name.
6039 (compare_sections_command): Ditto.
6040 (remote_cisco_section_offsets): Make ``p'' a const pointer.
6041 (compare_sections_command): Ditto for ``sectname''.
6043 2001-03-19 Andrew Cagney <ac131313@redhat.com>
6045 From Mon Nov 20 13:59:29 2000 Andrew Cagney <cagney@b1.cygnus.com>:
6046 * valops.c (hand_function_call): Simplify computation of the
6047 address of the pushed argument.
6049 2001-03-17 Andrew Cagney <ac131313@redhat.com>
6051 * p-exp.y (parse_number): Avoid shift overflow when ``long''.
6052 Code copied from c-exp.y.
6054 2001-03-18 Kevin Buettner <kevinb@redhat.com>
6056 * acconfig.h (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
6057 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
6058 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New configure macros.
6059 * configure.in (HAVE_STRUCT_LINK_MAP32): Move this test out
6060 of the Solaris procfs testing section. Instead, group with...
6061 (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
6062 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
6063 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New <link.h> tests.
6064 * configure: Regenerate.
6065 * config.in: Regenerate.
6067 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Use
6068 new configure macros to choose which (if any) code to
6069 compile in. Added code to explicitly handle *BSD systems;
6070 these systems were previously handled only through macro
6071 redefinition. Also, due to the way the autoconf tests are set
6072 up, this function will no longer return a non-zero value when
6073 GDB is configured as a cross debugger. I.e, cross debuggers
6074 will no longer be able to "accidentally" get the host system's
6077 2001-03-18 Kevin Buettner <kevinb@redhat.com>
6079 * config/i386/nbsd.mh (NATDEPFILES): List all files on the same
6080 line to avoid build problem on NetBSD 1.4.
6082 2001-03-17 Michael Chastain <chastain@redhat.com>
6084 * win32-nat.c (child_attach): check args for NULL before passing
6085 to strtoul. This fixes PR gdb/43.
6087 2001-03-17 Mark Kettenis <kettenis@gnu.org>
6089 * i387-nat.h: Doc Fix.
6091 * i386-tdep.c: Fix formatting.
6092 (i386_get_frame_setup, i386_follow_jump, codestream_read,
6093 codestream_seek, codestream_fill, skip_trampoline_code,
6094 gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
6097 2001-03-17 Mark Kettenis <kettenis@gnu.org>
6099 * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
6100 no longer used. Also remove associated FIXME.
6102 2001-03-16 Andrew Cagney <ac131313@redhat.com>
6104 * gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do
6105 not generate macro wrappers for multi-arch functions or
6107 (class_is_info_p, class_is_predicate_p): Update.
6108 (class_is_function_p, class_is_variable_p): Ditto.
6109 (class_is_multiarch_p): New class function.
6111 2001-03-16 J.T. Conklin <jtc@redback.com>
6113 * config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
6114 h8300_frame_args_address from frame_args_address.
6115 (FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
6116 from frame_locals_address.
6117 (PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
6118 from print_register_hook.
6119 (h8300_frame_args_address): Declare.
6120 (h8300_frame_find_saved_regs): Declare.
6121 (h8300_frame_locals_address): Declare.
6122 (h8300_frame_saved_pc): Declare.
6123 (h8300_pop_frame): Declare.
6124 (h8300_print_register_hook): Declare.
6125 * h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
6126 (h8300_frame_args_address): Renamed from frame_args_address.
6127 (h8300_frame_locals_address): Renamed from frame_locals_address.
6128 (h8300_pop_frame): Renamed from pop_frame.
6129 (h8300_print_register_hook): Renamed from print_register_hook.
6131 2001-03-16 Kevin Buettner <kevinb@redhat.com>
6133 * solib-svr4.c (bfd_lookup_symbol): Change type of
6134 ``storage_needed'' from unsigned int to long in order to
6135 match return type of bfd_get_symtab_upper_bound() and
6136 bfd_get_dynamic_symtab_upper_bound().
6137 * solib-aix5.c (bfd_lookup_symbol): Likewise. Also, eliminate
6138 REASONABLE_LIMIT hack which had been added to work around this
6141 2001-03-15 Kevin Buettner <kevinb@redhat.com>
6143 * solib-aix5.c (bfd_lookup_symbol, build_so_list_from_mapfile)
6144 (aix5_relocate_main_executable, aix5_clear_solib): Replace calls
6145 to free() with calls to xfree().
6146 (bfd_lookup_symbol): Eliminate use of PTR.
6147 (build_so_list_from_mapfile): Use xasprintf() instead of sprintf().
6149 2001-03-15 Martin Hunt <hunt@redhat.com>
6151 * linespec.c (decode_line_1): Remove trailing quote
6152 when parsing double quotes.
6154 2001-03-15 Kevin Buettner <kevinb@redhat.com>
6156 * uw-thread.c (read_thr_debug, read_map, read_lwp, thread_iter)
6157 (libthread_stub, libthread_init): Pass NULL for the mem_attrib
6158 argument in the to_xfer_memory calls.
6160 2001-03-15 Andrew Cagney <ac131313@redhat.com>
6162 * MAINTAINERS: Fix typo - w65 not w64. Still doesn't build.
6163 * TODO (GDB 5.1 - Cleanups): Add status of targets being obsoleted.
6165 2001-03-15 Andrew Cagney <ac131313@redhat.com>
6167 * wince.c (child_xfer_memory): Add attrib parameter.
6168 * symm-nat.c (child_xfer_memory): Ditto.
6169 * mac-nat.c (child_xfer_memory): Ditto.
6170 * infttrace.c (child_xfer_memory): Ditto.
6171 * procfs.c (procfs_xfer_memory): Ditto.
6172 * lin-thread.c (thread_db_xfer_memory): Ditto.
6173 * gnu-nat.c (gnu_xfer_memory): Ditto.
6175 2001-03-14 Andrew Cagney <ac131313@redhat.com>
6177 * NEWS: Mention that Harris/CXUX m88k is obsolete.
6179 2001-03-13 Andrew Cagney <ac131313@redhat.com>
6181 * config/mips/tm-mips.h: Include "regcache.h" for macros refering
6182 to regcache functions.
6183 * config/m68k/tm-m68k.h: Ditto.
6184 * config/i386/tm-i386v.h: Ditto.
6185 * config/mcore/tm-mcore.h: Ditto.
6186 * config/m88k/tm-m88k.h: Ditto.
6187 * config/m68k/tm-news.h: Ditto.
6188 * config/m68k/tm-linux.h: Ditto.
6189 * config/m68k/tm-delta68.h: Ditto.
6190 * config/m68k/nm-sun3.h: Ditto.
6191 * config/m32r/tm-m32r.h: Ditto.
6192 * config/i386/tm-symmetry.h: Ditto.
6193 * config/i386/tm-sun386.h: Ditto.
6194 * config/i386/tm-i386.h: Ditto.
6195 * config/i386/nm-symmetry.h: Ditto.
6196 * config/i386/nm-sun386.h: Ditto.
6197 * config/i386/nm-ptx4.h: Ditto.
6198 * config/i386/nm-i386mach.h: Ditto.
6199 * config/h8500/tm-h8500.h: Ditto.
6200 * config/h8300/tm-h8300.h: Ditto.
6201 * config/fr30/tm-fr30.h: Ditto.
6202 * config/d30v/tm-d30v.h: Ditto.
6203 * config/arm/tm-arm.h: Ditto.
6204 * config/arc/tm-arc.h: Ditto.
6205 * config/alpha/tm-alpha.h: Ditto.
6206 * config/a29k/tm-vx29k.h: Ditto.
6207 * config/a29k/tm-a29k.h: Ditto.
6208 * config/w65/tm-w65.h: Ditto.
6209 * config/vax/tm-vax.h: Ditto.
6210 * config/v850/tm-v850.h: Ditto.
6211 * config/tic80/tm-tic80.h: Ditto.
6212 * config/sparc/tm-sparclite.h: Ditto.
6213 * config/sparc/tm-sparclet.h: Ditto.
6214 * config/sparc/tm-sparc.h: Ditto.
6215 * config/sparc/nm-sun4sol2.h: Ditto.
6216 * config/sparc/nm-sun4os4.h: Ditto.
6217 * config/sparc/nm-nbsd.h: Ditto.
6218 * config/powerpc/nm-solaris.h: Ditto.
6219 * config/pa/tm-hppao.h: Ditto.
6220 * config/pa/tm-hppa.h: Ditto.
6221 * config/pa/nm-hppab.h: Ditto.
6222 * config/ns32k/tm-umax.h: Ditto.
6223 * config/ns32k/tm-merlin.h: Ditto.
6224 * config/nm-m3.h: Ditto.
6225 * config/nm-gnu.h: Ditto.
6227 2001-03-14 Andrew Cagney <ac131313@redhat.com>
6229 * MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
6230 broken. Mark sh-*, ia64-linux and ns32k-netbsd as buildable.
6231 Specify an m88k target. Include sample GAWK script to generate
6232 target list. Delete non-existant romp target.
6233 * TODO (GDB 5.1 - Cleanups): Update.
6235 2001-03-14 Keith Seitz <keiths@cygnus.com>
6237 * linespec.c (decode_line_1): Skip argptr over a leading
6238 double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
6240 2001-03-14 Kevin Buettner <kevinb@redhat.com>
6242 * config/djgpp/fnchange.lst (ia64-aix-nat.c): Add entry.
6244 2001-03-13 Andrew Cagney <ac131313@redhat.com>
6246 * ui-out.h: Remove #if __STDC__, assume an ISO-C compiler.
6249 * printcmd.c (printf_command): Ditto.
6250 * ch-exp.c (match_integer_literal): Ditto.
6251 * scm-tags.h: Ditto.
6252 * ser-go32.c: Ditto.
6253 * hppa-tdep.c (unwind_command): Ditto.
6254 * defs.h (volatile): Delete macro definition. Assume __STDC__.
6255 * remote-adapt.c (volatile): Ditto.
6256 * remote-eb.c (volatile): Ditto.
6257 * remote-mm.c (volatile): Ditto.
6258 * defs.h (alloca): Assume __STDC__, declare returning void *.
6260 2001-03-08 Andrew Cagney <ac131313@redhat.com>
6262 * inferior.h (ARCH_NUM_REGS): Delete definition.
6263 * stack.c (frame_info): Use NUM_REGS, not ARCH_NUM_REGS.
6264 * regcache.c (registers_changed): Ditto.
6265 (registers_fetched): Ditto.
6266 * infptrace.c (fetch_inferior_registers): Ditto.
6267 (store_inferior_registers): Ditto.
6268 * infcmd.c (do_registers_info): Ditto.
6269 (registers_info): Ditto.
6270 * i386-linux-nat.c (old_fetch_inferior_registers): Ditto.
6271 (old_store_inferior_registers): Ditto.
6272 * gdbserver/low-linux.c (register_addr): Ditto.
6273 * gdbserver/low-hppabsd.c (register_addr): Ditto.
6274 * core-aout.c: Don't include "inferior.h".
6275 (fetch_core_registers): Use NUM_REGS not ARCH_NUM_REGS.
6276 (register_addr): Ditto.
6278 2001-03-13 Fernando Nasser <fnasser@redhat.com>
6280 From Steven Johnson <sjohnson@neurizon.net>
6281 * cli/cli-script.c (define_command): Fix setting of post hooks.
6283 2001-03-13 Mark Kettenis <kettenis@gnu.org>
6285 * i386-linux-tdep.c: Fix formatting and clarify comments.
6286 (i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
6289 2001-03-12 Andrew Cagney <ac131313@redhat.com>
6291 * gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
6292 (proc_update_sc): Use gdb_assert instead of assert.
6293 (proc_abort): Ditto.
6294 (inf_set_step_thread): Ditto.
6296 (S_exception_raise_request): Ditto.
6297 (gnu_terminal_init_inferior): Ditto.
6299 2001-03-09 Kevin Buettner <kevinb@redhat.com>
6301 * Makefile.in (solib-svr4.o): Depend on solib-svr4.c, not solib.c.
6302 (solib-legacy.o): New makefile target.
6303 * solib-legacy.c: New file.
6304 * solib-svr4.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
6305 (default_svr4_fetch_link_map_offsets): Delete.
6306 (set_solib_svr4_fetch_link_map_offsets): Declare.
6307 (legacy_svr4_fetch_link_map_offsets_hook): Declare.
6308 * solib-svr4.c (elf/common.h): Include.
6309 (link.h): Only include for SunOS shared library support.
6310 (_SYSCALL32): Don't define.
6311 (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
6312 (default_svr4_fetch_link_map_offsets): Made static; added forward
6314 (fetch_link_map_offsets): New static global.
6315 (legacy_svr4_fetch_link_map_offsets_hook): New global variable.
6316 (default_svr4_fetch_link_map_offsets): Rewritten. The guts
6317 of what used to be in this function now reside in
6318 legacy_svr4_fetch_link_map_offsets() in solib-legacy.c.
6319 (open_symbol_file_object): Fix declaration in SunOS section
6321 (set_solib_svr4_fetch_link_map_offsets): New extern function.
6322 (init_fetch_link_map_offsets): New static function.
6323 (_initialize_svr4_solib): Put static global fetch_link_map_offsets
6324 under multiarch control.
6326 * config/alpha/alpha-linux.mt (TDEPFILES): Add solib-legacy.o to
6328 * config/alpha/fbsd.mh (NATDEPFILES): Likewise.
6329 * config/arm/linux.mt (TDEPFILES): Likewise.
6330 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
6331 * config/i386/i386dgux.mh (NATDEPFILES): Likewise.
6332 * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
6333 * config/i386/i386sco5.mh (NATDEPFILES): Likewise.
6334 * config/i386/i386sol2.mt (TDEPFILES): Likewise.
6335 * config/i386/i386v4.mh (NATDEPFILES): Likewise.
6336 * config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
6337 * config/i386/linux.mt (TDEPFILES): Likewise.
6338 * config/i386/nbsd.mh (NATDEPFILES): Likewise.
6339 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
6340 * config/i386/ncr3000.mt (TDEPFILES): Likewise.
6341 * config/i386/ptx4.mh (XDEPFILES): Likewise.
6342 * config/i386/sun386.mt (TDEPFILES): Likewise.
6343 * config/ia64/linux.mt (TDEPFILES): Likewise.
6344 * config/m68k/linux.mt (TDEPFILES): Likewise.
6345 * config/m68k/m68kv4.mh (NATDEPFILES): Likewise.
6346 * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
6347 * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
6348 * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
6349 * config/m88k/delta88v4.mh (NATDEPFILES): Likewise.
6350 * config/mips/mipsv4.mh (NATDEPFILES): Likewise.
6351 * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
6352 * config/powerpc/linux.mt (TDEPFILES): Likewise.
6353 * config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
6354 * config/powerpc/solaris.mh (NATDEPFILES): Likewise.
6355 * config/sh/linux.mt (TDEPFILES): Likewise.
6356 * config/sparc/linux.mt (TDEPFILES): Likewise.
6357 * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
6358 * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
6359 * config/sparc/sp64linux.mt (TDEPFILES): Likewise.
6360 * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
6361 * config/sparc/sun4sol2.mh (NATDEPFILES): Likewise.
6363 2001-03-09 Kevin Buettner <kevinb@redhat.com>
6365 * utils.c (xmrealloc, xcalloc): Return NULL for zero-sized requests.
6367 2001-03-09 Andrew Cagney <ac131313@redhat.com>
6369 * MAINTAINERS (Write After Approval): Update Philip Blundell.
6371 2001-03-09 Keith Seitz <keiths@cygnus.com>
6373 * MAINTAINERS: Add myself to write after approval list.
6375 2001-03-09 Mark Kettenis <kettenis@gnu.org>
6377 * i387-tdep.c (print_i387_status_word): Fix printing of Stack
6378 fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
6380 2001-03-08 Andrew Cagney <ac131313@redhat.com>
6382 * configure.host (m88*-harris-cxux*): Mark as obsolete.
6383 * configure.tgt: Ditto.
6384 * config/m88k/xm-cxux.h: Ditto.
6385 * config/m88k/tm-cxux.h: Ditto.
6386 * config/m88k/nm-cxux.h: Ditto.
6387 * config/m88k/cxux.mt: Ditto.
6388 * config/m88k/cxux.mh: Ditto.
6390 2001-03-08 Andrew Cagney <ac131313@redhat.com>
6392 * Makefile.in: Delete rules for obsolete files.
6394 Thu Mar 8 15:43:40 2001 David Taylor <taylor@redhat.com>
6396 * stack.c (parse_frame_specification): For one argument case,
6397 handle the situation where the argument is an integer, not an
6398 address -- arguably the most common case. This matters on
6399 targets where pointers and addresses are different.
6401 2001-03-08 Andrew Cagney <ac131313@redhat.com>
6403 * TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
6404 review. Clarify GNU/LINUX/sparc. Move other tasks to 5.2 or
6407 2001-03-07 Andrew Cagney <ac131313@redhat.com>
6409 * TODO (GDB 5.1 Known Problems): Document problem of building GDB
6410 with SID on Solaris 8.
6412 2001-03-07 Mark Kettenis <kettenis@gnu.org>
6414 * defs.h: Provide prototypes for floatformat_is_negative,
6415 floatformat_is_nan and floatformat_mantissa.
6416 * utils.c: Include "gdb_assert.h".
6417 (floatformat_is_negative): New function.
6418 (floatformat_is_nan): New function.
6419 (floatformat_mantissa): New function.
6420 * valprint.c: Include "floatformat.h".
6421 (print_floating): Get rid of the Linux-specific
6422 TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
6423 help these new functions. Print NaN's in a format conforming to
6426 2001-03-07 Eli Zaretskii <eliz@is.elta.co.il>
6428 * top.c (init_main): Make `set history file name' complete on file
6431 2001-03-06 J.T. Conklin <jtc@redback.com>
6433 * Makefile.in (LINTFLAGS): Update to contain all of the macros
6434 which define include paths used when compiling.
6436 * util.c (savestring, msavestring): Change type of length argument.
6437 * defs.h (savestring, msavestring): Update to match.
6439 * symtab.h (decode_line_1): Removed declaration.
6441 * symfile.c (#include <assert.h>): Removed.
6443 * arch-utils.c (#include <ctype.h>): Removed.
6444 * c-typeprint.c: Likewise.
6445 * dbxread.c: Likewise.
6446 * gdbtypes.c: Likewise.
6447 * target.c: Likewise.
6448 * os9kread.c: Likewise.
6450 * c-valprint.c (#include "demangle.h"): Removed.
6451 * ch-typeprint.c: Likewise.
6453 * f-typeprint.c: Likewise.
6454 * f-valprint.c: Likewise.
6455 * m2-typeprint.c: Likewise.
6456 * typeprint.c: Likewise.
6457 * p-typeprint.c: Likewise.
6458 * valarith.c: Likewise.
6459 * valprint.c: Likewise.
6461 * m2-typeprint.c (#include "gdb_string.h"): Removed.
6462 * nlmread.c: Likewise.
6464 * mdebugread.c (#include "gdb-stabs.h"): Removed.
6465 * minsyms.c: Likewise.
6466 * mipsread.c: Likewise.
6467 * nlmread.c: Likewise.
6469 * m2-typeprint.c (#include "obstack.h"): Removed.
6470 * m2-valprint.c: Likewise.
6472 * event-loop.c (#include <setjmp.h>): Removed.
6474 2001-03-06 Stan Shebs <shebs@apple.com>
6476 * MAINTAINERS: Remove self from specific maintenance domains
6477 (macos, gdbserver, documentation, testsuite).
6479 2001-03-06 Kevin Buettner <kevinb@redhat.com>
6481 * 29k-share/udi/udip2soc.c, Makefile.in, a29k-tdep.c,
6482 a68v-nat.c, abug-rom.c, aclocal.m4, alpha-nat.c, alpha-tdep.c,
6483 annotate.c, annotate.h, arc-tdep.c, arch-utils.c,
6484 arch-utils.h, arm-tdep.c, ax-gdb.c, ax-gdb.h, ax-general.c,
6485 ax.h, bcache.c, bcache.h, blockframe.c, breakpoint.c,
6486 breakpoint.h, buildsym.c, buildsym.h, c-exp.y, c-lang.c,
6487 c-lang.h, c-typeprint.c, c-valprint.c, call-cmds.h, ch-exp.c,
6488 ch-lang.c, ch-lang.h, ch-typeprint.c, ch-valprint.c,
6489 cli/cli-cmds.h, cli/cli-decode.c, cli/cli-decode.h,
6490 cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.h,
6491 cli/cli-utils.h, cli-out.c, cli-out.h, coff-solib.c,
6492 coff-solib.h, coffread.c, command.h, complaints.c,
6493 complaints.h, completer.c, completer.h,
6494 config/a29k/nm-ultra3.h, config/a29k/tm-a29k.h,
6495 config/a29k/tm-ultra3.h, config/a29k/tm-vx29k.h,
6496 config/a29k/xm-ultra3.h, config/alpha/nm-fbsd.h,
6497 config/alpha/nm-linux.h, config/alpha/nm-osf.h,
6498 config/alpha/nm-osf2.h, config/alpha/nm-osf3.h,
6499 config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h,
6500 config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h,
6501 config/alpha/xm-fbsd.h, config/arc/tm-arc.h,
6502 config/arm/nm-linux.h, config/arm/tm-arm.h,
6503 config/arm/tm-embed.h, config/d10v/tm-d10v.h,
6504 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
6505 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
6506 config/i386/nm-fbsd.h, config/i386/nm-gnu.h,
6507 config/i386/nm-i386bsd.h, config/i386/nm-i386mach.h,
6508 config/i386/nm-i386sco.h, config/i386/nm-i386sol2.h,
6509 config/i386/nm-i386v.h, config/i386/nm-i386v4.h,
6510 config/i386/nm-i386v42mp.h, config/i386/nm-linux.h,
6511 config/i386/nm-nbsd.h, config/i386/nm-nbsdelf.h,
6512 config/i386/nm-ptx4.h, config/i386/nm-sun386.h,
6513 config/i386/nm-symmetry.h, config/i386/tm-cygwin.h,
6514 config/i386/tm-fbsd.h, config/i386/tm-i386.h,
6515 config/i386/tm-i386aix.h, config/i386/tm-i386bsd.h,
6516 config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h,
6517 config/i386/tm-i386m3.h, config/i386/tm-i386mk.h,
6518 config/i386/tm-i386nw.h, config/i386/tm-i386os9k.h,
6519 config/i386/tm-i386sco5.h, config/i386/tm-i386sol2.h,
6520 config/i386/tm-i386v.h, config/i386/tm-i386v4.h,
6521 config/i386/tm-i386v42mp.h, config/i386/tm-linux.h,
6522 config/i386/tm-nbsd.h, config/i386/tm-ptx.h,
6523 config/i386/tm-ptx4.h, config/i386/tm-sun386.h,
6524 config/i386/tm-symmetry.h, config/i386/tm-vxworks.h,
6525 config/i386/xm-fbsd.h, config/i386/xm-i386bsd.h,
6526 config/i386/xm-i386gnu.h, config/i386/xm-i386m3.h,
6527 config/i386/xm-i386mach.h, config/i386/xm-i386mk.h,
6528 config/i386/xm-i386sco.h, config/i386/xm-i386v4.h,
6529 config/i386/xm-linux.h, config/i386/xm-nbsd.h,
6530 config/i386/xm-ptx.h, config/i386/xm-ptx4.h,
6531 config/i386/xm-sun386.h, config/i386/xm-symmetry.h,
6532 config/i960/tm-i960.h, config/i960/tm-mon960.h,
6533 config/i960/tm-nindy960.h, config/i960/tm-vx960.h,
6534 config/ia64/nm-aix.h, config/ia64/nm-linux.h,
6535 config/ia64/tm-aix.h, config/ia64/tm-ia64.h,
6536 config/ia64/tm-linux.h, config/ia64/xm-aix.h,
6537 config/ia64/xm-linux.h, config/m68k/nm-apollo68b.h,
6538 config/m68k/nm-delta68.h, config/m68k/nm-dpx2.h,
6539 config/m68k/nm-hp300bsd.h, config/m68k/nm-hp300hpux.h,
6540 config/m68k/nm-linux.h, config/m68k/nm-sun3.h,
6541 config/m68k/tm-apollo68b.h, config/m68k/tm-cisco.h,
6542 config/m68k/tm-dpx2.h, config/m68k/tm-es1800.h,
6543 config/m68k/tm-hp300bsd.h, config/m68k/tm-hp300hpux.h,
6544 config/m68k/tm-isi.h, config/m68k/tm-linux.h,
6545 config/m68k/tm-m68k.h, config/m68k/tm-m68kv4.h,
6546 config/m68k/tm-mac.h, config/m68k/tm-monitor.h,
6547 config/m68k/tm-nbsd.h, config/m68k/tm-news.h,
6548 config/m68k/tm-os68k.h, config/m68k/tm-sun3.h,
6549 config/m68k/tm-vx68.h, config/m68k/xm-3b1.h,
6550 config/m68k/xm-apollo68b.h, config/m68k/xm-dpx2.h,
6551 config/m68k/xm-hp300bsd.h, config/m68k/xm-hp300hpux.h,
6552 config/m68k/xm-linux.h, config/m68k/xm-m68kv4.h,
6553 config/m68k/xm-mpw.h, config/m68k/xm-news.h,
6554 config/m68k/xm-sun2.h, config/m68k/xm-sun3.h,
6555 config/m68k/xm-sun3os4.h, config/m88k/nm-delta88v4.h,
6556 config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h,
6557 config/m88k/tm-m88k.h, config/m88k/xm-cxux.h,
6558 config/m88k/xm-delta88.h, config/m88k/xm-delta88v4.h,
6559 config/m88k/xm-dgux.h, config/mcore/tm-mcore.h,
6560 config/mips/nm-irix3.h, config/mips/nm-irix4.h,
6561 config/mips/nm-irix5.h, config/mips/nm-mips.h,
6562 config/mips/nm-news-mips.h, config/mips/tm-bigmips.h,
6563 config/mips/tm-embed.h, config/mips/tm-embed64.h,
6564 config/mips/tm-embedl.h, config/mips/tm-embedl64.h,
6565 config/mips/tm-irix3.h, config/mips/tm-irix5.h,
6566 config/mips/tm-mips.h, config/mips/tm-mips64.h,
6567 config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h,
6568 config/mips/tm-tx39.h, config/mips/tm-tx39l.h,
6569 config/mips/tm-vr4100.h, config/mips/tm-vr4300.h,
6570 config/mips/tm-vr4300el.h, config/mips/tm-vr4xxx.h,
6571 config/mips/tm-vr4xxxel.h, config/mips/tm-vr5000.h,
6572 config/mips/tm-vr5000el.h, config/mips/xm-irix3.h,
6573 config/mips/xm-irix4.h, config/mips/xm-irix5.h,
6574 config/mips/xm-mips.h, config/mips/xm-mipsm3.h,
6575 config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h,
6576 config/mips/xm-riscos.h, config/mn10200/tm-mn10200.h,
6577 config/mn10300/tm-mn10300.h, config/nm-gnu.h,
6578 config/nm-linux.h, config/nm-lynx.h, config/nm-m3.h,
6579 config/nm-sysv4.h, config/none/nm-none.h,
6580 config/none/tm-none.h, config/none/xm-none.h,
6581 config/ns32k/nm-nbsd.h, config/ns32k/nm-umax.h,
6582 config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h,
6583 config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h,
6584 config/ns32k/xm-merlin.h, config/ns32k/xm-ns32km3.h,
6585 config/pa/nm-hppab.h, config/pa/nm-hppah.h,
6586 config/pa/nm-hppao.h, config/pa/tm-hppa.h,
6587 config/pa/tm-hppa64.h, config/pa/tm-hppah.h,
6588 config/pa/xm-hppab.h, config/pa/xm-hppah.h,
6589 config/powerpc/nm-aix.h, config/powerpc/nm-linux.h,
6590 config/powerpc/nm-macos.h, config/powerpc/nm-nbsd.h,
6591 config/powerpc/tm-cygwin.h, config/powerpc/tm-linux.h,
6592 config/powerpc/tm-macos.h, config/powerpc/tm-ppc-aix.h,
6593 config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-ppc-nw.h,
6594 config/powerpc/tm-ppcle-eabi.h, config/powerpc/tm-solaris.h,
6595 config/powerpc/xm-aix.h, config/powerpc/xm-linux.h,
6596 config/powerpc/xm-mpw.h, config/rs6000/nm-rs6000.h,
6597 config/rs6000/tm-rs6000.h, config/rs6000/tm-rs6000ly.h,
6598 config/rs6000/xm-aix4.h, config/rs6000/xm-rs6000.h,
6599 config/sh/tm-linux.h, config/sh/tm-sh.h, config/sh/tm-wince.h,
6600 config/sparc/nm-linux.h, config/sparc/nm-nbsd.h,
6601 config/sparc/nm-nbsdelf.h, config/sparc/nm-sparclynx.h,
6602 config/sparc/nm-sun4os4.h, config/sparc/nm-sun4sol2.h,
6603 config/sparc/tm-linux.h, config/sparc/tm-sp64.h,
6604 config/sparc/tm-sp64sim.h, config/sparc/tm-sparc.h,
6605 config/sparc/tm-sparclet.h, config/sparc/tm-sparclite.h,
6606 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
6607 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
6608 config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
6609 config/tic80/tm-tic80.h, config/tm-linux.h, config/tm-lynx.h,
6610 config/tm-sysv4.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
6611 config/w65/tm-w65.h, config/xm-aix4.h, config/xm-lynx.h,
6612 config/xm-mpw.h, config/xm-nbsd.h, config/xm-sysv4.h,
6613 config/z8k/tm-z8k.h, configure.in, core-aout.c, core-regset.c,
6614 core-sol2.c, corefile.c, corelow.c, cp-valprint.c,
6615 cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c, d30v-tdep.c,
6616 dbug-rom.c, dbxread.c, dcache.c, dcache.h, defs.h,
6617 delta68-nat.c, demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c,
6618 dstread.c, dve3900-rom.c, dwarf2read.c, dwarfread.c,
6619 elfread.c, environ.c, environ.h, eval.c, event-loop.c,
6620 event-loop.h, event-top.c, exec.c, expprint.c, f-exp.y,
6621 f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c, findvar.c,
6622 fork-child.c, fr30-tdep.c, frame.c, frame.h, gdb-events.c,
6623 gdb-events.h, gdb-events.sh, gdb-stabs.h, gdb.1, gdb_string.h,
6624 gdb_thread_db.h, gdbcmd.h, gdbcore.h, gdbserver/Makefile.in,
6625 gdbserver/gdbreplay.c, gdbserver/gdbserver.1,
6626 gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
6627 gdbserver/low-lynx.c, gdbserver/low-nbsd.c,
6628 gdbserver/low-sim.c, gdbserver/low-sparc.c,
6629 gdbserver/low-sun3.c, gdbserver/remote-utils.c,
6630 gdbserver/server.c, gdbserver/server.h, gdbserver/utils.c,
6631 gdbthread.h, gdbtypes.c, gdbtypes.h, gnu-nat.c, gnu-nat.h,
6632 gnu-regex.c, gnu-regex.h, h8300-tdep.c, h8500-tdep.c,
6633 hp-psymtab-read.c, hp-symtab-read.c, hp300ux-nat.c,
6634 hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c, hpread.c,
6635 hpread.h, hpux-thread.c, i386-tdep.c, i386aix-nat.c,
6636 i386b-nat.c, i386gnu-nat.c, i386ly-tdep.c, i386m3-nat.c,
6637 i386mach-nat.c, i386nbsd-nat.c, i386nbsd-tdep.c, i386v-nat.c,
6638 i386v4-nat.c, i387-tdep.c, i960-tdep.c, infcmd.c, inferior.h,
6639 inflow.c, infptrace.c, infrun.c, inftarg.c, infttrace.c,
6640 irix4-nat.c, irix5-nat.c, isi-xdep.c, jv-exp.y, jv-lang.c,
6641 jv-lang.h, jv-typeprint.c, jv-valprint.c, kdb-start.c,
6642 kod-cisco.c, kod.c, language.c, language.h, lin-thread.c,
6643 linespec.c, linespec.h, linux-thread.c, lynx-nat.c, m2-exp.y,
6644 m2-lang.c, m2-lang.h, m2-typeprint.c, m2-valprint.c, m3-nat.c,
6645 m32r-rom.c, m32r-tdep.c, m68k-tdep.c, m68klinux-nat.c,
6646 m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c,
6647 mac-xdep.c, main.c, maint.c, mcore-rom.c, mcore-tdep.c,
6648 mdebugread.c, mem-break.c, minimon.h, minsyms.c, mips-nat.c,
6649 mips-tdep.c, mipsm3-nat.c, mipsread.c, mipsv4-nat.c,
6650 mn10200-tdep.c, mn10300-tdep.c, mon960-rom.c, monitor.c,
6651 monitor.h, news-xdep.c, nindy-share/env.h, nindy-tdep.c,
6652 nlm/Makefile.in, nlmread.c, ns32k-tdep.c, ns32km3-nat.c,
6653 ns32knbsd-nat.c, objfiles.c, objfiles.h, ocd.c, ocd.h,
6654 op50-rom.c, os9kread.c, osfsolib.c, p-exp.y, pa64solib.c,
6655 pa64solib.h, parse.c, parser-defs.h, partial-stab.h,
6656 ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c,
6657 ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c,
6658 proc-flags.c, proc-utils.h, proc-why.c, procfs.c, ptx4-nat.c,
6659 rdi-share/Makefile.in, rdi-share/aclocal.m4, regcache.c,
6660 regcache.h, remote-adapt.c, remote-array.c, remote-bug.c,
6661 remote-e7000.c, remote-eb.c, remote-es.c, remote-est.c,
6662 remote-hms.c, remote-mips.c, remote-mm.c, remote-nindy.c,
6663 remote-nrom.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
6664 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
6665 remote-utils.c, remote-utils.h, remote-vx.c, remote.c,
6666 remote.h, reply_mig_hack.awk, rom68k-rom.c, rs6000-nat.c,
6667 rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h,
6668 scm-valprint.c, ser-e7kpc.c, ser-mac.c, ser-ocd.c, ser-pipe.c,
6669 ser-tcp.c, ser-unix.c, serial.c, serial.h, sh-tdep.c,
6670 sh3-rom.c, sol-thread.c, solib-aix5.c, solib-svr4.c, solib.c,
6671 solib.h, solist.h, somread.c, somsolib.c, somsolib.h,
6672 source.c, sparc-nat.c, sparc-tdep.c, sparcl-tdep.c,
6673 sparclet-rom.c, srec.h, stabsread.c, stabsread.h, stack.c,
6674 standalone.c, stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c,
6675 symfile.c, symfile.h, symm-nat.c, symm-tdep.c, symmisc.c,
6676 symtab.c, symtab.h, target.c, target.h, terminal.h, thread.c,
6677 tic80-tdep.c, top.c, top.h, tracepoint.c, tracepoint.h,
6678 typeprint.c, ui-file.c, ui-file.h, ui-out.h, ultra3-nat.c,
6679 ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c,
6680 valarith.c, valops.c, valprint.c, value.h, values.c, varobj.h,
6681 vax-tdep.c, version.h, vx-share/vxWorks.h, vx-share/xdr_ld.c,
6682 vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
6683 vx-share/xdr_rdb.c, w65-tdep.c, w89k-rom.c, win32-nat.c,
6684 wrapper.c, wrapper.h, xcoffread.c, xcoffsolib.c, xcoffsolib.h,
6685 xmodem.c, xmodem.h, z8k-tdep.c: Update/correct copyright
6688 2001-03-05 Kevin Buettner <kevinb@redhat.com>
6690 * acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
6691 HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
6693 * configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
6694 pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
6695 (sys/fault.h, sys/select.h): Test for presence of these
6697 (ia64-*-aix*): Define NEW_PROC_API for this host.
6698 * configure: Regenerate.
6699 * config.in: Regenerate.
6701 * configure.host (ia64-*-aix*): New host.
6702 * configure.tgt (ia64-*-aix*): New target.
6704 2001-03-05 Andrew Cagney <ac131313@redhat.com>
6706 * TODO (GDB 5.1 Known Problems): Document z8k as broken.
6708 Mon Mar 5 11:56:09 2001 Christopher Faylor <cgf@cygnus.com>
6710 * wince.c: Change realloc to xrealloc throughout.
6711 (handle_load_dll): Use void * rather than PTR in argument.
6713 2001-03-04 Andrew Cagney <ac131313@redhat.com>
6715 * ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
6716 * ocd.c (ocd_xfer_memory): Ditto.
6717 * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
6718 * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
6719 buildable with ,-Werror.
6721 * Makefile.in (symfile_h): Define.
6722 (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
6723 * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
6724 * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
6727 * dsrec.c (make_srec): Fix internal_error fmt arg.
6728 * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
6730 2001-03-03 Kevin Buettner <kevinb@redhat.com>
6732 * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
6735 2001-03-02 Andrew Cagney <ac131313@redhat.com>
6737 * MAINTAINERS (paper trail): Update.
6739 * CONTRIBUTE: Update note on ``Fix PR gdb/4706'' convention.
6741 2001-03-02 Andrew Cagney <ac131313@redhat.com>
6743 From 2001-03-01 Tom Rix <trix@redhat.com>:
6744 * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
6745 parameter to mn10200_analyze_prologue.
6747 * config/mn10200/tm-mn10200.h: Include "regcache.h".
6748 * MAINTAINERS: Document that mn10200-elf target is buildable.
6750 2001-03-02 Kevin Buettner <kevinb@redhat.com>
6752 * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
6754 * config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
6755 (MONTEREY): Don't define.
6758 2001-03-02 Matt Hiller <hiller@redhat.com>
6760 * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
6762 2001-03-02 Kevin Buettner <kevinb@redhat.com>
6764 * sparc-nat.c (sparc-nat.c): Don't include self.
6766 2001-03-01 J.T. Conklin <jtc@redback.com>
6768 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
6769 if __CYGWIN32__ is set from here.
6770 * config/i386/xm-cygwin.h: To here.
6771 * config/powerpc/xm-cygwin.h: To here.
6773 * i386-stub.c (handle_exception): Use 'T' response packet.
6775 2001-03-01 Michael Snyder <msnyder@mvstp600e.cygnus.com>
6777 * m32r-tdep.c: Fix cut and paste error in comment.
6779 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
6781 * symtab.c (print_msymbol_info): Print addresses by portable method
6782 longest_local_hex_string_custom. Allow for 64-bit addresses.
6784 2001-03-01 J.T. Conklin <jtc@redback.com>
6786 * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
6787 (MAX_OF_TYPE): Wrap macro definition in parenthesis.
6788 (MIN_OF_TYPE): Likewise.
6790 * memattr.h (mem_access_mode): Removed extraneous trailing comma.
6792 2001-03-01 Andrew Cagney <ac131313@redhat.com>
6794 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
6795 * os9kread.c (os9k_process_one_symbol): Add assert to detect
6796 ``loses if sizeof (char *) > sizeof (int)''.
6798 2001-03-01 Andrew Cagney <ac131313@redhat.com>
6800 * gdb_assert.h: Document pragmatics behind gdb_assert's case.
6802 2001-03-01 Andrew Cagney <ac131313@redhat.com>
6804 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
6808 2001-03-01 Andrew Cagney <ac131313@redhat.com>
6810 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
6813 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
6815 * printcmd.c (print_address_numeric): Update comments to refer
6816 to sizeof addr, not sizeof pointer.
6817 (x_command): Remove needless whitespace (shorten long line).
6819 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
6820 (read_memory_nobpt): Ditto.
6821 (ep_is_catchpoint): Ditto.
6822 (ep_is_shlib_catchpoint): Ditto.
6823 (ep_is_exception_catchpoint): Ditto.
6824 (describe_other_breakpoints): Ditto.
6826 Wed Feb 28 20:37:36 2001 Andrew Cagney <ac131313@redhat.com>
6828 * regcache.h (register_valid): Fix comment documenting valid
6831 Tue Feb 27 23:56:23 2001 Andrew Cagney <ac131313@redhat.com>
6833 From Steven Johnson:
6834 * regcache.h: New file.
6836 * value.h (read_register_bytes, read_register_gen)
6837 (write_register_gen, write_register_bytes)
6838 (read_register, read_register_pid)
6839 (read_signed_register, read_signed_register_pid)
6840 (write_register, write_register_pid)
6841 (register_cached, set_register_cached)
6842 (register_changed, register_buffer)
6843 (registers_changed, supply_register): Move declaration from here.
6844 * regcache.h: To here.
6845 * gdbcore.h (registers_fetched): Ditto.
6846 * inferior.h (registers, registers_valid): Ditto.
6848 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
6849 generic_target_write_pc, write_pc_pid, write_pc,
6850 generic_target_read_sp, read_sp, generic_target_write_sp,
6851 write_sp, generic_target_read_fp, read_fp,
6852 generic_target_write_fp, write_fp): Add note that these functions
6853 will be moved from this file.
6855 * a29k-tdep.c: Include "regcache.h".
6856 * a68v-nat.c: Ditto.
6857 * abug-rom.c: Ditto.
6858 * alpha-nat.c: Ditto.
6859 * alpha-tdep.c: Ditto.
6860 * alphabsd-nat.c: Ditto.
6861 * arc-tdep.c: Ditto.
6862 * arm-linux-nat.c: Ditto.
6863 * arm-linux-tdep.c: Ditto.
6864 * arm-tdep.c: Ditto.
6865 * blockframe.c: Ditto.
6866 * core-aout.c: Ditto.
6867 * core-sol2.c: Ditto.
6869 * cpu32bug-rom.c: Ditto.
6870 * cxux-nat.c: Ditto.
6871 * d10v-tdep.c: Ditto.
6872 * d30v-tdep.c: Ditto.
6873 * dbug-rom.c: Ditto.
6874 * dink32-rom.c: Ditto.
6875 * dve3900-rom.c: Ditto.
6877 * fr30-tdep.c: Ditto.
6879 * go32-nat.c: Ditto.
6880 * h8300-tdep.c: Ditto.
6881 * h8500-tdep.c: Ditto.
6882 * hp300ux-nat.c: Ditto.
6883 * hppa-tdep.c: Ditto.
6884 * hppab-nat.c: Ditto.
6885 * hppah-nat.c: Ditto.
6886 * hppam3-nat.c: Ditto.
6887 * hpux-thread.c: Ditto.
6888 * i386-linux-nat.c: Ditto.
6889 * i386-linux-tdep.c: Ditto.
6890 * i386-tdep.c: Ditto.
6891 * i386aix-nat.c: Ditto.
6892 * i386b-nat.c: Ditto.
6893 * i386bsd-nat.c: Ditto.
6894 * i386gnu-nat.c: Ditto.
6895 * i386ly-tdep.c: Ditto.
6896 * i386m3-nat.c: Ditto.
6897 * i386mach-nat.c: Ditto.
6898 * i386nbsd-nat.c: Ditto.
6899 * i386v4-nat.c: Ditto.
6900 * i387-nat.c: Ditto.
6901 * i387-tdep.c: Ditto.
6902 * i960-tdep.c: Ditto.
6903 * ia64-aix-nat.c: Ditto.
6904 * ia64-linux-nat.c: Ditto.
6905 * ia64-tdep.c: Ditto.
6906 * infptrace.c: Ditto.
6908 * irix4-nat.c: Ditto.
6909 * irix5-nat.c: Ditto.
6911 * lin-thread.c: Ditto.
6912 * lynx-nat.c: Ditto.
6914 * m32r-rom.c: Ditto.
6915 * m32r-tdep.c: Ditto.
6916 * m68hc11-tdep.c: Ditto.
6917 * m68k-tdep.c: Ditto.
6918 * m68klinux-nat.c: Ditto.
6919 * m68knbsd-nat.c: Ditto.
6920 * m68knbsd-tdep.c: Ditto.
6921 * m88k-nat.c: Ditto.
6922 * m88k-tdep.c: Ditto.
6924 * mcore-rom.c: Ditto.
6925 * mcore-tdep.c: Ditto.
6926 * mi/mi-main.c: Ditto.
6927 * mips-nat.c: Ditto.
6928 * mips-tdep.c: Ditto.
6929 * mipsm3-nat.c: Ditto.
6930 * mipsv4-nat.c: Ditto.
6931 * mn10200-tdep.c: Ditto.
6932 * mn10300-tdep.c: Ditto.
6934 * ns32km3-nat.c: Ditto.
6935 * ns32knbsd-nat.c: Ditto.
6937 * pa64solib.c: Ditto.
6939 * ppc-linux-nat.c: Ditto.
6940 * ppc-linux-tdep.c: Ditto.
6941 * ppcbug-rom.c: Ditto.
6942 * ppcnbsd-nat.c: Ditto.
6943 * ptx4-nat.c: Ditto.
6944 * regcache.c: Ditto.
6945 * remote-adapt.c: Ditto.
6946 * remote-array.c: Ditto.
6947 * remote-bug.c: Ditto.
6948 * remote-e7000.c: Ditto.
6949 * remote-eb.c: Ditto.
6950 * remote-es.c: Ditto.
6951 * remote-est.c: Ditto.
6952 * remote-hms.c: Ditto.
6953 * remote-mips.c: Ditto.
6954 * remote-mm.c: Ditto.
6955 * remote-nindy.c: Ditto.
6956 * remote-os9k.c: Ditto.
6957 * remote-rdi.c: Ditto.
6958 * remote-rdp.c: Ditto.
6959 * remote-sds.c: Ditto.
6960 * remote-sim.c: Ditto.
6961 * remote-st.c: Ditto.
6962 * remote-udi.c: Ditto.
6963 * remote-utils.c: Ditto.
6964 * remote-vx.c: Ditto.
6965 * remote-vx29k.c: Ditto.
6966 * remote-vx68.c: Ditto.
6967 * remote-vx960.c: Ditto.
6968 * remote-vxmips.c: Ditto.
6969 * remote-vxsparc.c: Ditto.
6971 * rom68k-rom.c: Ditto.
6972 * rs6000-nat.c: Ditto.
6973 * rs6000-tdep.c: Ditto.
6976 * sol-thread.c: Ditto.
6977 * solib-svr4.c: Ditto.
6978 * somsolib.c: Ditto.
6979 * sparc-nat.c: Ditto.
6980 * sparc-tdep.c: Ditto.
6981 * sparcl-tdep.c: Ditto.
6982 * sparclet-rom.c: Ditto.
6983 * sun3-nat.c: Ditto.
6984 * sun386-nat.c: Ditto.
6985 * symm-nat.c: Ditto.
6987 * thread-db.c: Ditto.
6989 * tic80-tdep.c: Ditto.
6990 * tracepoint.c: Ditto.
6991 * ultra3-nat.c: Ditto.
6992 * umax-xdep.c: Ditto.
6993 * uw-thread.c: Ditto.
6994 * v850-tdep.c: Ditto.
6997 * w65-tdep.c: Ditto.
6998 * w89k-rom.c: Ditto.
6999 * win32-nat.c: Ditto.
7001 * z8k-tdep.c: Ditto.
7003 2001-02-28 Matt Hiller <hiller@redhat.com>
7005 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
7007 2001-02-27 Matt Hiller <hiller@redhat.com>
7009 * mn10300-tdep.c (mn10300_stab_reg_to_regnum): New function.
7010 (mn10300_gdbarch_init): Set appropriate elements of gdbarch to
7011 mn10300_stab_reg_to_regnum.
7013 Tue Feb 27 16:56:13 2001 David Taylor <taylor@redhat.com>
7015 * symtab.c (search_symbols): Fix off by one error in test for
7018 2001-02-23 Andrew Cagney <ac131313@redhat.com>
7020 * config/sparc/sp64linux.mt: New file.
7021 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
7022 * configure.host: Recognize sparc64-*-linux* as a linux host.
7024 From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
7025 * config/sparc/tm-sp64linux.h: New file.
7027 2001-02-24 Kevin Buettner <kevinb@redhat.com>
7029 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
7030 with call to internal_error().
7031 * dbxread.c (process_one_symbol): Likewise.
7032 * exec.c (build_section_table, xfer_memory): Likewise.
7033 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
7035 * hpread.c (hpread_type_translate, hpread_read_array_type)
7036 (hpread_type_lookup): Likewise.
7037 * i386-tdep.c (gdb_print_insn_i386): Likewise.
7038 * i960-tdep.c (mem): Likewise
7039 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
7040 * infptrace.c (child_resume): Likewise.
7041 * infttrace.c (_initialize_infttrace): Likewise.
7042 * language.c (binop_result_type, add_language): Likewise.
7043 * lynx-nat.c (store_inferior_registers): Likewise.
7044 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
7045 * mdebugread.c (parse_partial_symbols): Likewise.
7046 * monitor.c (monitor_printf_noecho, monitor_printf)
7047 (monitor_dump_regs): Likewise.
7048 * ocd.c (stu_put_packet): Likewise.
7049 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
7050 * remote-bug.c (bug_open): Likewise.
7051 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
7052 * remote-es.c (es1800_read_bytes): Likewise.
7053 * remote-mips.c (common_breakpoint): Likewise.
7054 * remote-rdp.c (send_rdp): Likewise.
7055 * remote-sds.c (putmessage): Likewise.
7056 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
7058 * sparcl-tdep.c (sparclite_download): Likewise.
7059 * symtab.c (lookup_partial_symbol): Likewise.
7060 * target.c (push_target, pop_target, initialize_targets): Likewise.
7061 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
7063 * valprint.c (print_decimal, print_longest, print_longest)
7064 (strcat_longest): Likewise.
7065 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
7066 * xmodem.c (xmodem_send_packet): Likewise.
7067 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
7068 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
7069 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
7070 (STORE_RETURN_VALUE): Likewise.
7071 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
7072 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
7073 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
7076 2001-02-23 Andrew Cagney <ac131313@redhat.com>
7078 * CONTRIBUTE: Document how to cite a problem report.
7079 * TODO: Note need to replace CONTRIBUTE with generated file.
7081 * CONTRIBUTE: Mention that patches do not need to include the
7082 generated files gdbarch.h and gdbarch.c.
7084 2001-02-21 Andrew Cagney <ac131313@redhat.com>
7086 * value.h (get_saved_register): Move from here.
7089 2001-02-21 Kevin Buettner <kevinb@redhat.com>
7091 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
7092 (in_solib_dynsym_resolve_code): Add declaration.
7093 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
7094 in_solib_dynsym_resolve_code() rather than
7095 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
7096 which caused this macro to only be defined when
7097 SVR4_SHARED_LIBS is defined.
7098 * solib.c (in_solib_dynsym_resolve_code): New function.
7099 * solist.h (struct target_so_ops): Add new member
7100 in_dynsym_resolve_code.
7101 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
7102 in_svr4_dynsym_resolve_code. Also, made static.
7103 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
7104 member in aix5_so_ops.
7105 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
7106 in_svr4_dynsym_resolve_code. Also, added second version
7107 of this function which will be used when SVR4_SHARED_LIBS
7109 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
7110 member in svr4_so_ops.
7112 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
7113 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
7114 config/ia64/xm-aix.h: New files.
7115 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
7116 (ia64_aix_sigcontext_register_address): New declaration.
7117 (ia64_gdbarch_init): Provide for initialization of
7118 sigcontext_register_address member of struct tdep when
7119 on target is detected to be running AIX.
7120 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
7123 2001-02-20 Kevin Buettner <kevinb@redhat.com>
7125 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
7126 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
7127 for thread support instead of linux-thread.o and lin-thread.o.
7128 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
7129 ATTACH_LWP): Define to use the following lin-lwp.c functions...
7130 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
7131 lin_lwp_attach_lwp): Declare.
7133 2001-02-20 Andrew Cagney <ac131313@redhat.com>
7135 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
7138 2001-02-20 Kevin Buettner <kevinb@redhat.com>
7140 * solib-aix5.c (solib-svr4.h): Remove include.
7141 (solib_break_names): Delete names which aren't actually
7143 (bkpt_names): Remove.
7144 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
7145 to STREQ() with equivalent calls to strcmp().
7146 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
7147 aix5_solib_create_inferior_hook): Revise comments.
7148 (enable_break): Remove old ``bkpt_names'' code.
7150 2001-02-19 Andrew Cagney <ac131313@redhat.com>
7152 * Makefile.in (SFILES): Add frame.c .
7153 (COMMON_OBS): Add frame.o .
7154 (frame.o): New target.
7156 * frame.c (find_saved_register):
7157 (default_get_saved_register):
7158 (get_saved_register):
7159 (read_relative_register_raw_bytes_for_frame):
7160 (read_relative_register_raw_bytes): Moved to here.
7161 * regcache.c: From here.
7163 2001-02-20 Kevin Buettner <kevinb@redhat.com>
7165 * solib-aix5.c: New file.
7167 2001-02-20 Martin M. Hunt <hunt@redhat.com>
7169 * solib.c (info_sharedlibrary_command): Don't assume pointers
7170 are the same size of long, call longest_local_hex_string_custom().
7172 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
7173 extract_signed_integer() should be called instead of
7176 2001-02-20 Martin M. Hunt <hunt@redhat.com>
7178 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
7180 2001-02-19 Andrew Cagney <ac131313@redhat.com>
7182 Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
7183 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
7184 then floating point registers are 8 bytes.
7186 2001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
7188 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
7189 accomodate 64-bit addresses.
7191 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7193 From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
7194 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
7195 lookup_symbol, when trying to find a symbol with a mangled name,
7196 to avoid infinite recursion.
7198 2001-02-18 Andrew Cagney <ac131313@redhat.com>
7200 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
7202 2001-02-19 Jonathan Larmour <jlarmour@redhat.com>
7204 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
7205 (save_prologue_cache): Ditto.
7207 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7209 From: innadadadavida@yahoo.com:
7210 * partial-stab.h (switch): Check that pst is not null
7211 before dereferencing it.
7213 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7215 From Andrew Cagney <cagney@b1.cygnus.com>:
7216 * symfile.c (add_symbol_file_command): Always initialize
7217 my_cleanup using a NULL cleanup.
7219 2001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
7221 * demangle.c (demangling_style_names): New variable.
7222 (_initialize_demangler): Fill demangling_style_names with the
7223 names of known demangling styles from libiberty_demanglers[]. Use
7224 add_set_enum_cmd instead of add_set_cmd, to get completion on
7225 demangling style names.
7227 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
7228 file-name completion.
7230 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
7232 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
7233 `solib-absolute-prefix'.
7235 * tracepoint.c (_initialize_tracepoint): Ditto for
7238 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
7240 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
7241 file-name completion.
7243 * infcmd.c (_initialize_infcmd): Make the following commands use
7244 the file-name completer: `tty', `args', `path', `paths', and
7247 2001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
7249 * go32-nat.c: Include i387-nat.h.
7250 (fetch_register): New function, uses some of the guts of
7251 go32_fetch_registers and calls i387_supply_register.
7252 (go32_fetch_registers): Most of the code moved into
7253 fetch_register. Use i387_supply_fsave.
7254 (store_register): Use i387_fill_fsave instead of custom code.
7255 (go32_store_registers): Use i387_fill_fsave.
7257 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
7259 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
7261 * completer.c (gdb_completer_file_name_break_characters): Remove
7262 slash from file-name break characters.
7263 [__MSDOS__]: Special definition for DOS/Windows file names.
7264 (line_completion_function): When completing on file names, bump
7265 `p' to the first file-name constituent character of `word', before
7266 invoking the completer.
7268 2001-02-17 Mark Kettenis <kettenis@gnu.org>
7270 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
7271 consistently for parameter names. Fix comments accordingly.
7272 (i387_supply_register): New function.
7273 (i387_supply_fsave): Implement using i387_supply_register.
7274 * i387-nat.h: Use regnum instead of regno consistently for
7275 parameter names. Fix comments accordingly.
7276 (i387_supply_register): New prototype.
7278 2001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
7280 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
7281 instead of TARGET_PTR_BIT (to support Harvard architectures).
7283 2001-02-16 Andrew Cagney <ac131313@redhat.com>
7285 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
7286 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
7287 argument to parameter list and to call in order to conform to
7288 to_xfer_memory field of struct target_ops.
7290 2001-02-12 Michael Chastain <chastain@redhat.com>
7292 * somsolib.c (som_solib_add_solib_objfile): Do not use
7293 section relocation feature of syms_from_objfile. Do my own
7294 section relocation, offsetting each section of the som by
7295 either text_addr - text_link_addr or data_start.
7297 2001-02-16 Andrew Cagney <ac131313@redhat.com>
7299 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
7301 2001-02-16 Andrew Cagney <ac131313@redhat.com>
7303 * MAINTAINERS (paper trail): Update.
7305 2001-02-16 Mark Kettenis <kettenis@gnu.org>
7307 * target.h (target_fetch_registers): Fix comment.
7309 2001-02-15 Andrew Cagney <ac131313@redhat.com>
7311 * f-exp.y: Include <ctype.h>.
7312 (parse_number): Ensure that ``i'' is always initialized.
7314 2001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
7316 * MAINTAINERS: Add myself to paper trail section.
7318 2001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
7320 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
7321 * configure, config.in: Regenerate.
7322 * corelow.c: Include <sys/file.h> if present.
7324 2001-02-14 Andrew Cagney <ac131313@redhat.com>
7326 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
7327 declare when have SIGTTOU.
7329 2001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
7331 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
7333 2001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
7335 * MAINTAINERS: Update my email address.
7337 2001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
7339 * NEWS: Document that "info symbol" works with COFF debug info and
7342 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
7343 symbols whose SYMBOL_BFD_SECTION is NULL.
7345 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7347 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
7348 * xcoffsolib.c (xcoff_solib_address): Renamed from
7349 pc_load_segment_name. Return NULL if address is not in a shared
7350 library. Cleanup shared library name construction, using xasprintf.
7351 Format shared library member names consistent with format in exec.c.
7352 (solib_info): Format shared library member names consistent with
7354 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
7355 using xcoff_solib_address for PC_SOLIB definition.
7356 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
7359 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7361 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
7362 with xmalloc calls and cleanups.
7364 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7366 * rs6000-nat.c (child_xfer_memory): Add missing parameter
7367 'struct mem_attrib *' required by 2001-01-23 change.
7369 2001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
7371 Updates to "make TAGS":
7372 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
7373 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
7375 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
7377 2001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
7379 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
7381 Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
7383 From Dean Luick <luick@cray.com>:
7384 * defs.h (continuation): Remove unused global variable.
7386 Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
7388 * configure.tgt: Remove references to convex, pyramid, altos and
7390 * configure.host: Ditto.
7391 * MAINTAINERS: Ditto.
7394 * tahoe-tdep.c: Delete obsolete file.
7395 * pyr-xdep.c: Ditto.
7396 * pyr-tdep.c: Ditto.
7397 * convex-tdep.c: Ditto.
7398 * convex-xdep.c: Ditto.
7399 * config/tahoe/xm-tahoe.h: Ditto.
7400 * config/tahoe/tm-tahoe.h: Ditto.
7401 * config/tahoe/tahoe.mt: Ditto.
7402 * config/tahoe/tahoe.mh: Ditto.
7403 * config/pyr/xm-pyr.h: Ditto.
7404 * config/pyr/tm-pyr.h: Ditto.
7405 * config/pyr/pyramid.mt: Ditto.
7406 * config/pyr/pyramid.mh: Ditto.
7407 * config/m68k/xm-altos.h: Ditto.
7408 * config/m68k/tm-altos.h: Ditto.
7409 * config/m68k/altos.mt: Ditto.
7410 * config/m68k/altos.mh: Ditto.
7411 * config/convex/xm-convex.h: Ditto.
7412 * config/convex/tm-convex.h: Ditto.
7413 * config/convex/convex.mt: Ditto.
7414 * config/convex/convex.mh: Ditto.
7415 * config/convex/Convex.notes: Ditto.
7416 * config/arm/xm-arm.h: Ditto.
7417 * config/arm/nm-arm.h: Ditto.
7418 * config/arm/arm.mt: Ditto.
7419 * config/arm/arm.mh: Ditto.
7420 * arm-convert.s: Ditto.
7421 * arm-xdep.c: Ditto.
7422 * altos-xdep.c: Ditto.
7424 Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
7426 * defs.h (internal_error, internal_verror): Add __FILE__ and
7428 * utils.c (internal_error, internal_verror): Update.
7430 * v850-tdep.c: Update calls to internal_error.
7436 * symm-nat.c: Ditto.
7437 * sparc-tdep.c: Ditto.
7440 * rs6000-tdep.c: Ditto.
7441 * rs6000-nat.c: Ditto.
7443 * remote-vx.c: Ditto.
7444 * remote-sim.c: Ditto.
7445 * remote-mips.c: Ditto.
7446 * regcache.c: Ditto.
7447 * objfiles.h: Ditto.
7448 * objfiles.c: Ditto.
7449 * mn10300-tdep.c: Ditto.
7450 * mips-tdep.c: Ditto.
7452 * m68k-tdep.c: Ditto.
7454 * language.c: Ditto.
7455 * infptrace.c: Ditto.
7456 * inferior.h: Ditto.
7458 * ia64-tdep.c: Ditto.
7459 * i386-tdep.c: Ditto.
7460 * i386-linux-nat.c: Ditto.
7461 * hppah-nat.c: Ditto.
7462 * go32-nat.c: Ditto.
7466 * event-loop.c: Ditto.
7467 * dwarf2read.c: Ditto.
7469 * d30v-tdep.c: Ditto.
7470 * d10v-tdep.c: Ditto.
7471 * cli/cli-setshow.c: Ditto.
7472 * cli/cli-script.c: Ditto.
7474 * breakpoint.c: Ditto.
7476 * arch-utils.c: Ditto.
7477 * a29k-tdep.c: Ditto.
7478 * gdb_assert.h: Ditto.
7479 * gdbarch.sh: Ditto.
7480 * gdbarch.h, gdbarch.c: Re-generate.
7482 2001-02-07 Andrew Cagney <ac131313@redhat.com>
7484 From Mark Kettenis <kettenis@gnu.org>:
7485 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
7487 2001-02-07 Andrew Cagney <ac131313@redhat.com>
7489 * remote-sim.c (dump_mem): Cleanup printf format argument.
7490 * MAINTAINERS: Update, mn10300-elf now builds.
7492 2001-02-07 Mark Kettenis <kettenis@gnu.org>
7494 * event-top.c: Remove duplicate #include <signal.h>.
7496 2001-02-06 Andrew Cagney <ac131313@redhat.com>
7498 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
7500 (save_inferior_pid): Restore the PID from that tempoary
7501 buffer. Delete the buffer.
7502 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
7504 2001-02-06 Andrew Cagney <ac131313@redhat.com>
7506 * MAINTAINERS: Add ``The Obvious Fix Rule''.
7508 2001-02-06 Andrew Cagney <ac131313@redhat.com>
7510 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
7512 2001-02-06 Andrew Cagney <ac131313@cygnus.com>
7514 * gdbarch.sh: Include "gdb_assert.h".
7515 (struct gdbarch): Change ``nr_data'' to unsigned.
7516 (alloc_gdbarch_data, free_gdbarch_data): New functions.
7517 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
7518 architecture vector.
7519 (struct gdbarch_data, struct gdbarch_data_registration): Move init
7520 method to gdbarch_data. Add free method, make index unsigned.
7521 (struct gdbarch_data_registry): Make nr unsigned.
7522 (register_gdbarch_data): Add free parameter. Store in
7524 (init_gdbarch_data): Use set_gdbarch_data.
7525 (set_gdbarch_data): New function.
7527 * gdbarch.h, gdbarch.c: Re-generate.
7529 2001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
7531 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
7532 fprintf_filtered with correct arguments.
7534 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
7535 Submitted by Paul Hilfinger (hilfingr@gnat.com)
7536 and Andrei Petrov (and@genesyslab.com).
7537 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
7538 must be allocated dynamically, since these are no longer constants.
7540 * regcache.c: Ditto.
7542 * sol-thread.c: Ditto.
7544 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
7545 work-around for a missing Sun header file in solaris for sparc64.
7547 2001-02-04 Philip Blundell <philb@gnu.org>
7549 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
7550 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
7551 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
7552 GET_THREAD_SIGNALS): Define.
7553 * arm-linux-nat.c (fill_gregset): Correct type of argument.
7554 (supply_gregset): Likewise.
7555 (fill_fpregset): Likewise.
7556 (supply_fpregset): Likewise.
7558 Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
7560 * valops.c (value_cast): If casting a scalar to a pointer, do not
7561 issue a message about truncation unless it exceeds the length of
7562 an address, not the length of a pointer. This is because what the
7563 user gives us is an address, not a pointer, and we will ultimately
7564 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
7565 to a pointer. This allows things like "print *(int *)0x01000234"
7566 to work without generating a misleading message on a target having
7567 two byte pointers and four byte addresses.
7569 2001-02-05 Christopher Faylor <cgf@cygnus.com>
7571 * win32-nat.c: Change PTR to void * throughout.
7573 2001-02-05 J.T. Conklin <jtc@redback.com>
7575 * signals.h: Removed.
7576 * event-top.c (#include <signal.h>): Changed from signals.h.
7577 * inflow.c: Likewise.
7578 * mac-xdep.c: Likewise.
7579 * ser-pipe.c: Likewise.
7580 * ser-tcp.c: Likewise.
7581 * standalone.c: Likewise.
7583 * utils.c: Likewise.
7584 * Makefile.in: Removed signals.h from dependencies.
7586 2001-02-05 Christopher Faylor <cgf@cygnus.com>
7588 Change suggested by Dean Luick <luick@cray.com>
7589 * inferior.h (step_over_calls_kind): Remove trailing comma from
7591 (step_over_calls): Declare as extern rather than global.
7593 2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7595 * sh-tdep.c: Update copyright.
7596 (sh_extract_return_value): Rewrite.
7597 (sh3e_sh4_extract_return_value): New function.
7598 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
7599 version of the function for sh3e and sh4 CPUs.
7601 2001-02-05 Michael Chastain <chastain@redhat.com>
7603 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
7604 to conform with interface change.
7606 2001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
7608 * config/djgpp/fnchange.lst: Tweak to make consistent with the
7611 * config/djgpp/djconfig.sh: Use explicit absolute file name when
7614 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
7615 UART_FIFO_WORKS is defined. Otherwise use outportb.
7616 From Francisco Pastor <fpastor.etra-id@etra.es>
7618 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
7619 with target.h's `to_xfer_memory' member.
7621 2001-02-02 J.T. Conklin <jtc@redback.com>
7623 * ppc-bdm.c (#include <signal.h>): Removed.
7624 * remote-array.c: Likewise.
7625 * remote-bug.c: Likewise.
7626 * remote-e7000.c: Likewise.
7627 * remote-mips.c: Likewise.
7628 * remote-os9k.c: Likewise.
7629 * remote-st.c: Likewise.
7630 * remote-udi.c: Likewise.
7631 * remote-vx29k.c: Likewise.
7632 * remote-vx68.c: Likewise.
7633 * remote-vx960.c: Likewise.
7634 * remote-vxmips.c: Likewise.
7635 * remote-vxsparc.c: Likewise.
7637 2001-02-02 John Moore <jmoore@redhat.com>
7639 * remote-utils.h (sr_set_device): Changed free() to xfree() where
7640 appropriate. Also changed Copyright to include 2001.
7641 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
7642 * value.h (value_free): Likewise.
7643 * gdbarch.sh (gdbarch_free): Likewise.
7644 * gdbarch.c, gdbarch.h: Regenerated.
7646 2001-02-02 John Moore <jmoore@redhat.com>
7648 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
7649 xfree(). Also changed Copyright to include 2001.
7651 2001-02-02 J.T. Conklin <jtc@redback.com>
7653 * monitor.c (#include "gdb_wait.h"): Removed.
7655 * ppc-bdm.c: Likewise.
7656 * remote-adapt.c: Likewise.
7657 * remote-array.c: Likewise.
7658 * remote-bug.c: Likewise.
7659 * remote-e7000.c: Likewise.
7660 * remote-eb.c: Likewise.
7661 * remote-es.c: Likewise.
7662 * remote-mips.c: Likewise.
7663 * remote-mm.c: Likewise.
7664 * remote-nindy.c: Likewise.
7665 * remote-os9k.c: Likewise.
7666 * remote-rdi.c: Likewise.
7667 * remote-rdp.c: Likewise.
7668 * remote-sds.c: Likewise.
7669 * remote-sim.c: Likewise.
7670 * remote-st.c: Likewise.
7671 * remote-udi.c: Likewise.
7672 * remote-vx.c: Likewise.
7673 * remote-vx29k.c: Likewise.
7674 * remote-vx68.c: Likewise.
7675 * remote-vx960.c: Likewise.
7676 * remote-vxmips.c: Likewise.
7677 * remote-vxsparc.c: Likewise.
7678 * remote.c: Likewise.
7679 * ser-pipe.c: Likewise.
7680 * ser-unix.c: Likewise.
7681 * Makefile.in: Updated dependencies.
7683 2001-01-31 David Smith <dsmith@redhat.com>
7685 * event-loop.c: Change inclusion of string.h to gdb_string.h and
7686 updated the copyright notice.
7687 * ser-pipe.c: Ditto.
7688 * mi/mi-cmds.c: Ditto.
7689 * mi/mi-console.c: Ditto.
7690 * mi/mi-getopt.c: Ditto.
7691 * mi/mi-parse.c: Ditto.
7693 2001-01-31 David Smith <dsmith@redhat.com>
7695 * MAINTAINERS: Add David Smith to Write After Approval list.
7697 Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
7699 * cli/cli-utils.c (putchar_filtered): Move function from here.
7700 * utils.c (putchar_filtered): To here.
7701 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
7702 * defs.h (putchar_filtered): To here.
7704 Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
7706 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
7707 AC_FUNC_VFORK macro.
7708 * config.in, configure: Re-generate.
7710 * gdb_vfork.h: New file.
7711 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
7712 * fork-child.c (fork_inferior): Ditto.
7714 Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
7716 * defs.h (strsave): Delete declaration.
7717 * utils.c (strsave): Delete definition.
7718 * TODO (strsave): Update
7720 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
7721 * sparcl-tdep.c (sparclite_open): Ditto.
7722 * mips-tdep.c (mips_set_processor_type_command): Ditto.
7723 (_initialize_mips_tdep): Ditto.
7724 * solib.c (solib_open): Ditto.
7725 * symfile.c (add_filename_language): Ditto.
7726 (set_ext_lang_command): Ditto.
7727 * source.c (init_source_path): Ditto.
7729 * sh3-rom.c (sh3_open): Ditto.
7731 * serial.c (serial_open): Ditto.
7732 * remote-mips.c (common_open): Ditto.
7733 * monitor.c (monitor_open): Ditto.
7734 * m32r-rom.c (m32r_upload_command): Ditto.
7735 * infcmd.c (path_command): Ditto.
7736 * f-exp.y (parse_number): Ditto.
7737 * breakpoint.c (create_longjmp_breakpoint): Ditto.
7738 (create_thread_event_breakpoint): Ditto.
7739 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
7740 (_initialize_arc_tdep): Ditto.
7742 Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
7744 * cli/cli-script.c (define_command): Check for a bad hook value in
7747 2001-01-30 J.T. Conklin <jtc@redback.com>
7749 * configure/sh/embed.mt: New file.
7750 * configure/sh/linux.mt: New file.
7751 * configure/sh/sh.mt: Removed.
7752 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
7755 2001-01-29 Michael Chastain <chastain@redhat.com>
7757 * symtab.c (lookup_block_symbol): Use 'namespace' parameter in
7758 symbol comparisons in binary search.
7760 2001-01-27 Christopher Faylor <cgf@cygnus.com>
7762 * win32-nat.c (child_xfer_memory): Add missing argument required by
7765 2001-01-27 Mark Kettenis <kettenis@gnu.org>
7767 * ui-out.c (do_list_end): New function.
7768 (make_cleanup_ui_out_list_end): New function.
7769 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
7770 * stack.c (print_frame) [UI_OUT]: Call
7771 make_cleanup_ui_out_list_end to make sure we mark the end of the
7772 list if we do a non-local exit. At the end of the function,
7773 instead of calling ui_out_list_end directly, let do_cleanups
7776 2001-01-26 Fernando Nasser <fnasser@redhat.com>
7778 Fix double parsing of filenames passed as command line arguments
7779 to GDB (causes weird handling of escape characters).
7780 Also, remove dependencies on the CLI from libgdb.
7781 * call-cmds.h: Remove declaration of exec_file_command().
7782 * gdbcore.h: Remove declaration of exec_file_command().
7783 Add declarations for exec_open() and exec_file_clear().
7784 * symfile.h: Add declarations for symbol_file_add_main() and
7785 symbol_file_clear().
7786 * exec.c (exec_open): New function. Implements to_open for exec
7788 (exec_file_clear): New function. Makes GDB forget about a previously
7789 specified executable file.
7790 (exec_file_attach): Move parsing of arguments from here ...
7791 (exec_file_command): ... to here.
7792 (init_exec_ops): Use exec_open(), not exec_file_command() to
7793 implement to_open for exec targets.
7794 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
7795 with default values. Used when the file name has already been parsed.
7796 (symbol_file_clear): New function. Makes GDB forget about previously
7798 (symbol_file_command): Call the above function instead of inline code.
7799 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
7801 (captured_main): Call exec_file_attach() and symbol_file_add_main()
7802 instead of exec_file_command() and symbol_file_command().
7803 (captured_main): Add comment.
7804 * corefile.c: Include "symfile.h".
7805 (core_file_command): Call symbol_file_add_main() instead of
7806 symbol_file_command().
7807 (reopen_exec_file): Call exec_open() instead of exec_file_command().
7808 * infcmd.c: Include "symfile.h".
7809 (attach_command): Call symbol_file_add_main() instead of
7810 symbol_file_command().
7811 * infrun.c: Remove comment about the inclusion of "symfile.h",
7812 not any longer appropriate.
7813 (follow_exec): Call symbol_file_add_main() instead of
7814 symbol_file_command().
7815 * remote-es.c: Include "symfile.h".
7816 (es1800_load): Call symbol_file_add_main() instead of
7817 symbol_file_command().
7818 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
7819 not any longer appropriate.
7820 (vx-wait): Call symbol_file_add_main() instead of
7821 symbol_file_command().
7822 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
7823 instead of symbol_file_command().
7824 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
7825 symbol_file_add_main() instead of exec_file_command() and
7826 symbol_file_command().
7827 * Makefile.in: Update dependencies.
7829 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
7831 * remote-udi.c (udi_open): Change strdup to xstrdup.
7832 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
7833 Update copyright message.
7834 * varobj.c (delete_variable_1): Likewise.
7836 * gdb_string.h: Remove declaration of strdup. Update copyright
7838 * config/xm-mpw.h: Likewise.
7839 * config/i386/xm-i386mach.h: Likewise.
7840 * config/m68k/xm-apollo68b.h: Likewise.
7841 * config/m68k/xm-hp300bsd.h: Likewise.
7842 * config/rs6000/xm-rs6000.h: Likewise.
7843 * config/vax/xm-vaxult.h: Remove declaration of strdup.
7844 * config/vax/xm-vaxult2.h: Likewise.
7846 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
7848 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
7850 2001-01-25 J.T. Conklin <jtc@redback.com>
7852 * target.c (target_xfer_memory_partial): Return -1 on failure due
7853 to invalid access mode attribute.
7855 2001-01-25 Christopher Faylor <cgf@cygnus.com>
7857 * win32-nat.c (_initialize_core_win32): Prototype correctly.
7859 2001-01-25 Mark Kettenis <kettenis@gnu.org>
7861 * config/alpha/tm-fbsd.h: Update copyright.
7862 (USE_STRUCT_CONVENTION): Define in terms of
7863 alphabsd_use_struct_convention.
7864 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
7865 * alphafbsd-tdep.c: New file.
7867 2001-01-24 Fernando Nasser <fnasser@redhat.com>
7869 * top.c (print_gdb_version): Update Copyright year.
7871 2001-01-24 J.T. Conklin <jtc@redback.com>
7873 * dcache.c (dcache_write_line): Fix typo.
7875 * memattr.c (delete_mem_region): Replace free() with xfree().
7876 (mem_number): Add explicit type.
7878 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
7879 (rw_common): Likewise.
7881 2001-01-24 Fernando Nasser <fnasser@redhat.com>
7883 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
7884 for the inferior program arguments.
7885 (run_command, run_no_args_command, init_infcmd)): Use accessor
7886 functions to set the inferior program arguments.
7887 * inferior.h: Add definitions to the accessor functions above.
7889 2001-01-23 Jim Blandy <jimb@redhat.com>
7891 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
7892 Implement these correctly, using make_cv_type.
7894 2001-01-23 J.T. Conklin <jtc@redback.com>
7896 * exec.c (xfer_memory): Add attrib argument.
7897 * infptrace.c (child_xfer_memory): Likewise.
7898 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
7899 * monitor.c (monitor_xfer_memory): Likewise.
7900 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
7901 * remote-array.c (array_xfer_memory): Likewise.
7902 * remote-bug.c (bug_xfer_memory): Likewise.
7903 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
7904 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
7905 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
7906 * remote-mips.c (mips_xfer_memory): Likewise.
7907 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
7908 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
7909 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
7910 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
7911 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
7912 * remote-sds.c (sds_xfer_memory): Likewise.
7913 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
7914 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
7915 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
7916 * remote-vx.c (vx_xfer_memory): Likewise.
7917 * remote.c (remote_xfer_memory): Likewise.
7918 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
7919 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
7920 * thread-db.c (thread_db_xfer_memory): Likewise.
7922 * target.h (#include "memattr.h"): Added.
7923 (target_ops.to_xfer_memory): Add attrib argument.
7925 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
7926 * dcache.h (set_dcache_state): Removed declaration.
7927 * dcache.c (set_dcache_state): Removed definition
7929 * dcache.c: Update module comment, as dcache is now enabled and
7930 disabled with memory region attributes instead of by the global
7931 variable "remotecache". Add comment describing the interaction
7932 between dcache and memory region attributes.
7933 (dcache_xfer_memory): Add comment describing benefits of moving
7934 cache writeback to a higher level.
7935 (dcache_struct): Removed cache_has_stuff field. This was used to
7936 record whether the cache had been accessed in order to invalidate
7937 it when it was disabled. However, this is not needed because the
7938 cache is write through and the code that enables, disables, and
7939 deletes memory regions invalidate the cache. Add comment which
7940 suggests that we could be more selective and only invalidate those
7941 cache lines containing data from those memory regions.
7942 (dcache_invalidate): Updated.
7943 (dcache_xfer_memory): Updated.
7945 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
7946 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
7947 perform a uncached transfer if dcache_enabled_p was clear. This
7948 function is now only called if caching is enabled for the memory
7950 (dcache_info): Always print cache info.
7952 * target.c (do_xfer_memory): Add attrib argument.
7953 (target_xfer_memory, target_xfer_memory_partial): Break transfer
7954 into chunks defined by memory regions, pass region attributes to
7956 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
7958 * Makefile.in (SFILES): Add memattr.c.
7959 (COMMON_OBS): Add memattr.o.
7960 (dcache.o): Add target.h to dependencies.
7961 * memattr.c: New file.
7962 * memattr.h: Likewise.
7964 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
7965 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
7966 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
7967 * gdbserver/low-sim.c (#include "defs.h"): Removed.
7968 (mygeneric_load): Rename from generic_load.
7970 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
7971 (#include "defs.h"): Removed.
7972 (inferior_pid, perror_with_name): Remove declarations.
7973 * gdbserver/low-linux.c: Likewise.
7974 * gdbserver/low-nbsd.c: Likewise.
7975 * gdbserver/low-sparc.c: Likewise.
7976 * gdbserver/low-sun3.c: Likewise.
7978 * i386-stub.c: Re-indent.
7979 * m68k-stub.c: Re-indent.
7981 2001-01-22 Nicholas Duffek <nsd@redhat.com>
7983 * gdbarch.sh (PARM_BOUNDARY): Define.
7984 * gdbarch.c: Regenerate.
7985 * gdbarch.h: Regenerate.
7987 2001-01-22 J.T. Conklin <jtc@redback.com>
7989 * ns32k-tdep.c: #include "frame.h"
7990 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
7991 appears to have been inadvertantly removed sometime in May 1999.
7993 * Revert 2000-11-09 changes where shared library objects were
7994 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
7995 we'd like to be able to debug dynamically linked executables,
7996 this makes it impossible to build a cross debugger on a many
7999 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
8000 * config/i386/nbsdelf.mt: Likewise.
8001 * config/m68k/nbsd.mt: Likewise.
8002 * config/ns32k/nbsd.mt: Likewise.
8003 * config/powerpc/nbsd.mt: Likewise.
8004 * config/sparc/nbsd.mt: Likewise.
8005 * config/sparc/nbsdelf.mt: Likewise.
8006 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
8007 * config/i386/nbsdelf.mh: Likewise.
8008 * config/m68k/nbsd.mh: Likewise.
8009 * config/ns32k/nbsd.mh: Likewise.
8010 * config/powerpc/nbsd.mh: Likewise.
8011 * config/sparc/nbsd.mh: Likewise.
8013 2001-01-19 Jason Merrill <jason@redhat.com>
8015 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
8016 (process_one_symbol): Likewise.
8017 * dwarfread.c (handle_producer): Likewise.
8019 Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
8021 * configure.in (build_warnings): Disable -Wuninitialized until GDB
8022 compiles with -Wuninitialized,-Werror.
8023 * configure: Regenerate.
8025 * MAINTAINERS: Add list of buildable targets.
8027 Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
8029 * defs.h (STRCMP): Delete macro.
8031 * objfiles.c (objfile_relocate): Replace STRCMP with call to
8033 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
8034 * symfile.c (compare_symbols): Ditto.
8035 * standalone.c (open): Ditto.
8036 * remote-es.c (verify_break): Ditto.
8037 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
8039 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
8041 Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
8043 * varobj.c (FREEIF): Delete macro.
8044 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
8047 2001-01-18 Nick Clifton <nickc@redhat.com>
8049 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
8050 (arc_print_insn): No bfd available, so pass NULL to
8051 arc_get_disassembler.
8053 2001-01-09 James Ingham <jingham@inghji.apple.com>
8055 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
8056 a mangled symbol rather than recursing into lookup_symbol, since
8057 this will just re-unmangle the name & call lookup_symbol_aux -
8058 leading to an infinite recursion.
8060 2001-01-18 Mark Kettenis <kettenis@gnu.org>
8062 * infcmd.c (print_return_value): Restore another space lost by
8063 switch to UIOUT. ``$NN='' should be ``$NN =''.
8065 Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
8067 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
8068 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
8069 definition in parenthesis.
8071 Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
8073 From 2000-10-27 Mark Salter <msalter@redhat.com>:
8074 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
8076 (remote_insert_hw_breakpoint): Ditto.
8078 2001-01-17 J.T. Conklin <jtc@redback.com>
8080 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
8081 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
8082 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
8083 * m68knbsd-tdep.c: New file.
8085 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
8087 * m68knbsd-nat.c: #include gdbcore.h.
8089 Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
8091 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
8093 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
8095 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
8096 goes away -- just return false (ie. not stopped by watchpoint).
8097 * source.c (openp): Fix typo in comment.
8099 2001-01-12 Nicholas Duffek <nsd@redhat.com>
8101 * blockframe.c (generic_get_saved_register): Spelling fix.
8102 * frame.h (FRAME_FP): Spelling fix.
8104 Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
8106 * infcmd.c (print_return_value): Restore space lost by switch to
8107 UIOUT. ``$NN='' should be ``$NN =''.
8109 2001-01-08 Nicholas Duffek <nsd@redhat.com>
8111 * regcache.c (set_register_cached, register_buffer,
8112 real_register, pseudo_register fetch_register, store_register):
8114 (register_changed, read_relative_register_raw_bytes_for_frame,
8115 registers_changed, registers_fetched, read_register_bytes,
8116 read_register_gen, write_register_gen, read_register,
8117 read_signed_register, write_register, supply_register): Replace
8118 register_valid[] with register_cached() and
8119 set_register_cached().
8120 (read_register_bytes, read_register_gen, write_register_gen,
8121 read_register, read_signed_register, write_register,
8122 supply_register): Replace registers[] with register_buffer().
8123 (read_register_bytes, read_register_gen, read_register,
8124 read_signed_register): Call fetch_register().
8125 (write_register_gen, write_register): Call real_register() and
8127 (write_register_bytes): Call store_register().
8128 * value.h (set_register_cached, register_buffer): Prototype.
8129 * remote.c (remote_fetch_registers): Allocate regs[] with a
8130 run-time size. Replace register_valid[] with
8131 set_register_cached().
8132 (store_register_using_P, remote_store_registers): Replace
8133 registers[] with register_buffer().
8135 2001-01-08 Nicholas Duffek <nsd@redhat.com>
8137 * regcache.c: Change "write-back" comment to "write-through".
8138 Change "regno" to "regnum".
8139 (read_register, read_signed_register): Remove "raw" from return
8141 (supply_register): Spelling fix.
8142 * value.h: Change "regno" to "regnum".
8144 2001-01-08 Fernando Nasser <fnasser@redhat.com>
8146 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
8149 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
8151 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
8153 2001-01-04 Nicholas Duffek <nsd@redhat.com>
8155 * valops.c (VALUE_SUBSTRING_START): Delete.
8157 2001-01-04 Nicholas Duffek <nsd@redhat.com>
8159 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
8160 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
8161 (cli_utils_h): New variable.
8162 (cli/cli-utils.o): New rule.
8163 * cli/cli-utils.c: New file.
8164 * cli/cli-utils.h: New file.
8166 2001-01-04 Nicholas Duffek <nsd@redhat.com>
8168 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
8169 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
8171 2001-01-03 J.T. Conklin <jtc@redback.com>
8173 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
8176 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
8178 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
8179 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
8181 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
8182 Update copyright notice.
8184 For older changes see ChangeLog-2000
8190 version-control: never