Andrew Cagney
12a498f33a
* go32-nat.c (go32_create_inferior): Use xfree instead of free.
...
* config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and
i386bsd-nat.c.
2001-08-24 05:00:06 +00:00
Andrew Cagney
598f52dfcc
* gdbtypes.h (builtin_type_ieee_single_big)
...
(builtin_type_ieee_single_little, builtin_type_ieee_double_big)
(builtin_type_ieee_double_little)
(builtin_type_ieee_double_littlebyte_bigword)
(builtin_type_i387_ext, builtin_type_m68881_ext)
(builtin_type_i960_ext, builtin_type_m88110_ext)
(builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
(builtin_type_arm_ext_littlebyte_bigword)
(builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
(builtin_type_ia64_quad_big)
(builtin_type_ia64_quad_little): Declare.
* gdbtypes.c (builtin_type_ieee_single_big)
(builtin_type_ieee_single_little, builtin_type_ieee_double_big)
(builtin_type_ieee_double_little)
(builtin_type_ieee_double_littlebyte_bigword)
(builtin_type_i387_ext, builtin_type_m68881_ext)
(builtin_type_i960_ext, builtin_type_m88110_ext)
(builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
(builtin_type_arm_ext_littlebyte_bigword)
(builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
(builtin_type_ia64_quad_big)
(builtin_type_ia64_quad_little): Define.
(_initialize_gdbtypes): Initialize builtin floatformat types.
2001-08-24 04:46:43 +00:00
gdbadmin
80376ebaec
*** empty log message ***
2001-08-24 00:00:03 +00:00
Mark Kettenis
1a6fae3cf4
* tracepoint.c (read_actions): Add FIXME for code depending on
...
STOP_SIGNAL.
2001-08-23 20:31:36 +00:00
Martin Hunt
7829b8338e
2001-08-23 Martin M. Hunt <hunt@redhat.com>
...
* remote-mips.c (pmon_load_fast): Add ui_load_progress_hook
to download loop.
(mips_load_srec): Ditto.
2001-08-23 19:27:52 +00:00
Andrew Cagney
701c159d91
Add TYPE_FLOATFORMAT().
2001-08-23 01:09:38 +00:00
gdbadmin
dcf762a12e
*** empty log message ***
2001-08-23 00:00:02 +00:00
gdbadmin
2bf63d0283
*** empty log message ***
2001-08-22 00:00:04 +00:00
Keith Seitz
99a6d8ba22
* printcmd.c (print_insn): Use the given stream for
...
output.
2001-08-21 19:25:40 +00:00
Andrew Cagney
a37b3cc06e
* arm-tdep.c (convert_from_extended, convert_to_extended): Delete
...
assembler version of function.
(convert_from_extended, convert_to_extended): Rewrite. Use
floatformat_to_doublest, floatformat_from_doublest,
floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword.
(arm_push_arguments): Use extract_floating and store_floating to
perform floating point conversions.
(SWAP_TARGET_AND_HOST): Delete macro.
* arm-linux-tdep.c (arm_linux_push_arguments): Use
extract_floating and store_floating to perform floating point
conversions.
2001-08-21 04:31:32 +00:00
Andrew Cagney
1c72f9b0c4
* gdbtypes.h (struct type): Clarify meaning of field ``length''.
2001-08-21 00:24:58 +00:00
gdbadmin
7823178d24
*** empty log message ***
2001-08-21 00:00:05 +00:00
gdbadmin
415b1b1387
*** empty log message ***
2001-08-20 00:00:02 +00:00
Andrew Cagney
fe766f112c
* mi0-var-block.exp, mi0-stack.exp, mi0-simplerun.exp,
...
mi0-regs.exp, mi0-watch.exp, mi0-stepi.exp, mi0-until.exp,
mi0-return.exp, mi0-read-memory.exp, mi0-eval.exp,
mi0-disassemble.exp, mi0-console.exp, mi-watch.exp,
mi-var-display.exp, mi-var-cmd.exp, mi-var-child.exp,
mi-until.exp, mi-var-block.exp, mi-stepi.exp, mi-stack.exp,
mi-simplerun.exp, mi-return.exp, mi-regs.exp, mi-read-memory.exp,
mi-disassemble.exp, mi-eval.exp, mi-console.exp: Replace pattern
matching thread=0 with one to also match thread=1.
Fix PR gdb/190.
2001-08-19 01:23:43 +00:00
Andrew Cagney
6a90e1d0a6
* lib/mi-support.exp (mi_gdb_start): If a remote target, use the
...
CLI jump command to start it.
(mi_run_to_main): Fail immediatly when unexpected output.
2001-08-19 01:02:58 +00:00
Andrew Cagney
e866d0e845
* mi0-until.exp, mi-until.exp, mi0-stepi.exp, mi-stepi.exp,
...
mi-simplerun.exp, mi0-simplerun.exp, mi0-return.exp,
mi-return.exp, mi0-console.exp, mi-console.exp: Recognize an
unexpected run-to-main response. Report as a fail.
2001-08-19 00:37:28 +00:00
gdbadmin
992ddc6b09
*** empty log message ***
2001-08-19 00:00:04 +00:00
Andrew Cagney
1759b3c3d8
* lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
...
beginning of function. Fix PR gdb/191.
2001-08-18 21:34:28 +00:00
gdbadmin
ceb160c895
*** empty log message ***
2001-08-18 00:00:05 +00:00
Keith Seitz
4309c8f23f
* mi-cmd-var.c (varobj_update_one): Update call to
...
varobj_update to reflect recent api change.
2001-08-17 19:01:22 +00:00
Keith Seitz
705da5797a
* varobj.c (varobj_update): Change first parameter to
...
pointer to struct varobj*. This function can delete
varobjs, so we need to give callers the new varobj
when this happens.
(value_of_root): Update "var", too, if "var_handle"
changes.
* varobj.h (varobj_update): Likewise.
2001-08-17 18:56:49 +00:00
Keith Seitz
2bf63d860a
* Makefile.in (varobj_h): Define.
...
(mi-cmd-var.o): Depends on varobj_h.
(gdbtk-varobj.o): Change varobj.h to $(varobj_h).
2001-08-17 17:58:25 +00:00
gdbadmin
29517f00a5
*** empty log message ***
2001-08-17 00:00:02 +00:00
Keith Seitz
d1c3b63ad4
* configure.in (GDBTK_SRC_DIR): We must have autoconf
...
give us the absolute path to the source directory.
* configure: Regenerated.
* Makefile.in (GDBTK_SRC_DIR): Add variable so that
autoconf can substitue it in for us.
(gdbtk.o): Pass in GDBTK_SRC_DIR instead of srcdir. We
really do need an absolute pathname.
2001-08-16 22:47:00 +00:00
Frank Ch. Eigler
61d11d8032
* obvious fix
...
2001-08-16 Frank Ch. Eigler <fche@redhat.com>
* config/sid.exp (sid_start): Don't warn if we cannot figure out
what to force sid endianness to.
2001-08-16 14:19:54 +00:00
gdbadmin
4acbe6da32
*** empty log message ***
2001-08-16 02:23:16 +00:00
Keith Seitz
942a4df220
* lib/gdb.exp (gdbtk_start): Don't set environment
...
variables for TCL_LIBRARY and friends. Insight will
now figure these out for itself.
2001-08-15 21:11:45 +00:00
Keith Seitz
f0b743a914
* Makefile.in (GDBTK_VERSION): Set a version number.
...
(GDBTK_LIBRARY): New variable to point to location where
gdbtk will install its tcl library. Changed all refereneces
to $(datadir)/insight1.0 to $(GDBTK_LIBRARY).
(SUBDIR_GDBTK_ALL): Remove "all-gdbtk". No longer needed.
(SUBDIR_GDBTK_CLEAN): Remove "clean-gdbtk". No longer needed.
(all-gdbtk): Remove.
(install-gdbtk): Remove.
(gdbtk.o): Pass srcdir to file when compiling.
Also from Ian Roxborough:
* Makefile.in: Changed all references to the install directory
"gdbtcl" to read "insight1.0".
2001-08-15 21:09:46 +00:00
Corinna Vinschen
bdcd319a1e
* arch-utils.c (generic_skip_trampoline_code): New function.
...
* arch-utils.h (generic_skip_trampoline_code): Declare external.
* gdbarch.c: Regeberated from gdbarch.sh.
* gdbarch.h: Ditto.
* gdbarch.sh (SKIP_TRAMPOLINE_CODE): Multi-arch.
* infrun.c: Remove default setting of SKIP_TRAMPOLINE_CODE macro.
2001-08-15 15:29:56 +00:00
Christopher Faylor
9e678452d7
* gdbint.texinfo: Add a cautionary note about macro use.
2001-08-15 14:47:53 +00:00
H.J. Lu
40b3352ba7
2001-08-14 Daniel Jacobowitz <drow@mvista.com>
...
H.J. Lu (hjl@gnu.org )
* partial-stab.h: valu should be a CORE_ADDR.
2001-08-14 H.J. Lu (hjl@gnu.org )
* dbxread.c (SWAP_SYMBOL): Removed.
(INTERNALIZE_SYMBOL): Check sign extended vma.
2001-08-15 05:02:28 +00:00
gdbadmin
75ba07bf4c
*** empty log message ***
2001-08-15 00:00:02 +00:00
Christopher Faylor
ae9d9b9660
* top.c (SIGSETJMP): Protect env argument with parentheses.
...
(SIGLONGJMP): Protect env argument with parentheses.
2001-08-14 20:05:48 +00:00
gdbadmin
8e6acd47f3
*** empty log message ***
2001-08-14 00:00:05 +00:00
gdbadmin
8ce8e6c107
*** empty log message ***
2001-08-13 00:00:02 +00:00
Andrew Cagney
6ca173e32c
* config/mn10300/mn10300.mt (TM_FILE): Delete.
...
* configure.tgt: Add mn10300 to list of mulit-arch targets.
* config/mn10300/tm-mn10300.h: Delete file. Move contents ...
* mn10300-tdep.c: To here.
2001-08-12 03:39:11 +00:00
Andrew Cagney
5ea92dfe6a
Convert some floatformat_{to,from}_double to floatformat_{to,from}_doublest.
2001-08-12 03:19:22 +00:00
Andrew Cagney
a15525c16a
* config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
...
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and
sp_regnum.
2001-08-12 02:10:18 +00:00
Andrew Cagney
c422e77126
* doublest.c (convert_doublest_to_floatformat): Rename
...
floatformat_from_doublest. Make static.
(convert_floatformat_to_doublest): Rename floatformat_to_doublest.
Make static.
(floatformat_to_doublest): New function.
(floatformat_from_doublest): New function.
(host_float_format, host_double_format, host_long_double_format):
New static variables.
(store_floating, extract_floating): Always use
floatformat_to_doublest and floatformat_from_doublest.
* doublest.h (HOST_LONG_DOUBLE_FORMAT): Delete macro.
2001-08-12 01:45:49 +00:00
Andrew Cagney
f096a152b3
* config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
...
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.
2001-08-12 01:11:12 +00:00
gdbadmin
7908826a9b
*** empty log message ***
2001-08-12 00:00:02 +00:00
Andrew Cagney
39d4ef0921
* target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
...
* gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add.
* gdbarch.h, gdbarch.c: Regenerate.
* arch-utils.h (legacy_virtual_frame_pointer): Declare.
* arch-utils.c: Include "gdb_assert.h".
(legacy_virtual_frame_pointer): Define.
* Makefile.in (arch-utils.o): Depends on gdb_assert.h.
* tracepoint.c (encode_actions): Make frame_reg an int. Make
frame_offset a LONGEST.
* ax-gdb.c (gen_frame_args_address): Ditto.
(gen_frame_locals_address): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize
virtual_frame_pointer.
(mn10300_virtual_frame_pointer): Make static. Update parameter
list to match function signature.
* config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.
2001-08-11 00:59:29 +00:00
Keith Seitz
67c2c32c6b
* gdb-events.sh: Add architecture_changed event.
...
* gdbarch.sh: Include gdb-event.h.
(gdbarch_update_p): Notify UIs when architecture changes.
* gdb-events.h: Regenerated.
* gdb-events.c: Regenerated.
* gdbarch.c: Regenerated.
2001-08-11 00:41:02 +00:00
gdbadmin
c5745c8778
*** empty log message ***
2001-08-11 00:00:02 +00:00
Michael Snyder
1297a2f020
2001-08-10 Michael Snyder <msnyder@redhat.com>
...
* regcache.c (legacy_write_register_gen): Don't 'optimize out'
a write_register to a pseudo-reg. Target_store_pseudo_register
needs to get called, because these regs may be computed and may
have side-effects.
2001-08-10 21:52:17 +00:00
Keith Seitz
fd969be2aa
* gdb-events.sh: Deal with event notifications with no
...
arguments.
2001-08-10 16:05:30 +00:00
Orjan Friberg
fb6e5c5520
2001-08-10 Orjan Friberg <orjanf@axis.com>
...
* remote.c (read_frame): Correct off-by-one error in condition.
2001-08-10 09:59:33 +00:00
gdbadmin
4e4210bf78
*** empty log message ***
2001-08-10 00:00:02 +00:00
gdbadmin
f45d83bbaa
*** empty log message ***
2001-08-09 00:00:02 +00:00
Don Howard
a1bab801d9
2001-08-08 Don Howard <dhoward@redhat.com>
...
* stabsread.c (read_type): Add support for const and volatile
modifiers.
2001-08-08 16:15:38 +00:00
gdbadmin
1b4ca90e3f
*** empty log message ***
2001-08-08 00:00:01 +00:00
gdbadmin
9ee7cc8691
*** empty log message ***
2001-08-07 00:00:02 +00:00
Michael Snyder
0521c418a2
2001-08-02 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/completion.exp: Remove the symbol "a64l" from
the expect string; this is target-specific, and not related
to what is being tested.
2001-08-06 22:08:12 +00:00
gdbadmin
710bbc9572
*** empty log message ***
2001-08-06 00:00:04 +00:00
gdbadmin
f59dda3d78
*** empty log message ***
2001-08-05 00:00:02 +00:00
Dave Brolley
74a9a58ab5
2001-08-02 Dave Brolley <brolley@redhat.com>
...
* config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2001-08-04 15:56:41 +00:00
gdbadmin
af233ead9f
*** empty log message ***
2001-08-04 00:00:04 +00:00
Daniel Jacobowitz
455ecc7291
* core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_T
...
and HAVE_FPREGSET_T checks. Use gdb_gregset_t and gdb_fpregset_t.
2001-08-03 21:34:01 +00:00
gdbadmin
6b8772f1c7
*** empty log message ***
2001-08-03 00:00:04 +00:00
Keith Seitz
a5cedf2f04
* defs.h (SLASH_STRING): If not defined, set
...
to "/", regardless of _WIN32, __CYGWIN__, or
whatnot.
2001-08-02 20:57:19 +00:00
Mark Kettenis
cc6dd2c071
* cli/cli-decode.h: Include "gdb_regex.h" instead of
...
"gnu-regex.h".
2001-08-02 20:18:29 +00:00
Mark Kettenis
d72751493e
* NEWS: Update.
2001-08-02 18:42:18 +00:00
Eli Zaretskii
40cd916ff9
* config/i386/xm-go32.h: Include xm-i386.h.
...
(HOST_BYTE_ORDER, HOST_LONG_DOUBLE_FORMAT): Remove definitions.
2001-08-02 15:18:15 +00:00
Eli Zaretskii
b5de0fa741
The following changes avoid polluting global namespace with the
...
`enable' and `disable' identifiers, because some platforms define
in their system headers symbols with global scope that go by those
names.
* breakpoint.h (enum enable_state): Rename from `enum enable'.
Also rename all the enum members to have the "bp_" prefix.
(struct breakpoint): Rename the `enable' member to `enable_state'.
(enum bpdisp): Rename all members to have the "disp_" prefix.
* breakpoint.c: All users of `enum enable' and `enum bpdisp'
changed.
(args_for_catchpoint_enable): Rename the `enable' member to
`enable_p'. All users changed.
* tracepoint.h (enum enable): Remove.
(struct tracepoint): The member `enabled' is now `int enabled_p'.
* tracepoint.c: All users of the `enabled' member changed.
* printcmd.c (struct display): The `status' member is now an int.
* memattr.h (struct mem_region): Rename the `status' member to
`enabled_p'.
(enum enable): Remove.
* memattr.c: Change all users of the `status' member of struct
mem_region to use `enabled_p' instead.
* infcmd.c (run_stack_dummy): Use disp_del instead of del.
* go32-nat.c: Remove the kludgey work-around for conflicts between
<dos.h> and "breakpoint.h".
* tui/tuiSourceWin.c: Use disp_del instead of del.
* tui/tuiSource.c: Use disp_del instead of del.
* tui/tuiDisassem.c: Use disp_del instead of del.
2001-08-02 11:58:29 +00:00
Corinna Vinschen
a2bea4c366
* gdb.texinfo: Explain omitting the hostname in the
...
`target remote' command.
2001-08-02 10:52:07 +00:00
Corinna Vinschen
ad4571f3f3
* MAINTAINERS: Add myself to the write-after-approval list.
...
* ser-tcp.c (tcp_open): Use `localhost' as default host if no
hostname is given.
2001-08-02 09:08:03 +00:00
gdbadmin
5dce30f881
*** empty log message ***
2001-08-02 00:00:02 +00:00
Andrew Cagney
64f6fcadfc
* doublest.h (store_floating, floatformat_to_doublest): Make IN
...
paramter a const void pointer.
(floatformat_from_doublest): Make IN const, Make OUT a void
pointer.
* doublest.c (floatformat_to_doublest): Update.
(floatformat_from_doublest): Update.
(extract_floating): Update.
2001-08-01 22:11:43 +00:00
Andrew Cagney
d16aafd8c8
* defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
...
(HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
(HOST_LONG_DOUBLE_FORMAT, DOUBLEST)
(floatformat_to_doublest, floatformat_from_doublest)
(floatformat_is_negative, floatformat_is_nan)
(floatformat_mantissa, store_floating)
(extract_floating): Move declaration from here.
* doublest.h: To here. New file.
* utils.c (get_field, floatformat_to_doublest, put_field)
(ldfrexp, floatformat_from_doublest, floatformat_is_negative)
(floatformat_is_nan, floatformat_mantissa)
(FLOATFORMAT_CHAR_BIT): Move from here.
* doublest.c: To here. New file.
* findvar.c (store_floating, extract_floating): Move from here.
* doublest.c: To here.
* Makefile.in (SFILES): Add doublest.c.
(COMMON_OBS): Add doublest.o.
(doublest.o): Specify dependencies.
(doublest_h): Define.
* config/m88k/tm-m88k.h: Include "doublest.h".
* config/i960/tm-i960.h: Ditto.
* config/i386/tm-symmetry.h: Ditto.
* rs6000-tdep.c, valarith.c: Ditto.
* valprint.c, stabsread.c, sh-tdep.c: Ditto.
* ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto.
* values.c, arm-tdep.c, arm-linux-tdep.c: Ditto.
* alpha-tdep.c, ax.h, expression.h: Ditto.
* sh-tdep.c, parse.c, top.c, value.h: Ditto.
* Makefile.in (arm-tdep.o): Add $(doublest_h).
(i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto.
(rs6000-tdep.o, stabsread.o, valarith.o): Ditto.
(values.o, valprint.o, arm-linux-tdep.o): Ditto.
(alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto.
(parser_defs_h): Ditto.
(expression_h): Add $(doublest_h) and $(symtab_h).
2001-08-01 18:39:27 +00:00
Andrew Cagney
1b0cad1ced
* Makefile.in: Sort header definitions.
...
(parser_defs_h, dis_asm_h, annotate_h, gdbthread_h): Define.
Replace parser-defs.h with $(parser_defs_h). Replace $(dis-asm_h)
and $(dis-asm.h) with $(dis_asm_h). Replace annotate.h with
$(annotate_h). Replace target.h with $(target_h). Replace
gdbthread.h with $(gdb_thread_h). Replace symfile.h with $(symfile_h).
2001-08-01 17:41:50 +00:00
Eli Zaretskii
bfefb58388
Fix a typo in my entry from 2001-06-13.
2001-08-01 09:23:07 +00:00
gdbadmin
687aee93dd
*** empty log message ***
2001-08-01 00:00:08 +00:00
Mark Kettenis
1ca66634bd
* config/i386/xm-i386.h: New file.
...
* config/i386/xm-fbsd.h: Removed.
* config/i386/xm-linux.h: Removed.
* config/i386/fbsd.mh: Reorganize a bit.
(XM_FILE): Set to xm-i386.h instead of xm-fbsd.h.
* config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of
xm-linux.h.
2001-07-31 19:22:57 +00:00
Stephane Carrez
799a074014
* tui.c (tui_enable): Remove call to terminal_save_ours().
...
(tui_disable): Likewise.
2001-07-31 19:00:50 +00:00
Daniel Jacobowitz
1129bf27e5
* gdbint.texinfo: Remove extraneous START-INFO-DIR-ENTRY
...
and END-INFO-DIR-ENTRY.
2001-07-31 17:30:56 +00:00
gdbadmin
0d79b98d1e
*** empty log message ***
2001-07-31 00:00:02 +00:00
Jim Blandy
9e84cbde42
* dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix.
2001-07-30 23:16:45 +00:00
Daniel Jacobowitz
72473524da
* configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.
...
Check for SETPGRP_VOID separately if cross-compiling and ISO C
headers are available.
2001-07-30 22:08:41 +00:00
Mark Kettenis
4b418e06b0
* config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
...
i386_dwarf_reg_to_regnum.
2001-07-30 21:45:26 +00:00
Mark Kettenis
8d7f6b4a80
* i386-tdep.c (i386_register_convert_to_virtual): Replace
...
assertion with a warning if we're asked to convert towards a
non-floating-point type. Zero out the the buffer where the data
is supposed to be stored in that case.
2001-07-30 21:09:44 +00:00
Mark Kettenis
846a440c9c
* config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
...
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
(i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
prototypes.
* config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
* i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
New functions.
2001-07-30 10:17:46 +00:00
gdbadmin
5b2e4f117f
*** empty log message ***
2001-07-30 00:00:02 +00:00
Eli Zaretskii
f959bc4156
Unset CDPATH before doing annything else.
2001-07-29 10:12:49 +00:00
Eli Zaretskii
a3b9cbb339
* go32-nat.c (get_cr3): Temporary disable support for page tables
...
in UMBs, as it is incomplete.
2001-07-29 08:06:28 +00:00
Eli Zaretskii
6c56c06965
Support for stepping through longjmp in DJGPP programs:
...
* config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros.
(GET_LONGJMP_TARGET): Define to call get_longjmp_target.
(get_longjmp_target): Add prototype.
2001-07-29 08:03:36 +00:00
gdbadmin
6977cc6f14
*** empty log message ***
2001-07-29 00:00:02 +00:00
Andrew Cagney
de6ee55865
Fix some PID/TPID fallout for HP/UX.
...
From 2001-07-22 Rodney Brown <rbrown64@csc.com.au>:
* infttrace.c (ptrace_wait): Match external declaration,
and match target_post_wait declaration.
2001-07-28 22:44:53 +00:00
Andrew Cagney
158ff1e6fb
(cris): Set --enable-gdb-build-warnings flag to -w.
2001-07-28 21:21:30 +00:00
Andrew Cagney
93755ae6c4
* MAINTAINERS: Add Orjan Friberg as cris target maintainer.
2001-07-28 20:23:53 +00:00
Andrew Cagney
16f769f344
From 2001-07-23 Andreas Schwab <schwab@suse.de>:
...
* config/m68k/tm-m68k.h (TARGET_LONG_DOUBLE_FORMAT): Define.
(TARGET_LONG_DOUBLE_BIT): Define.
(REGISTER_VIRTUAL_SIZE): Return 12 for floating point registers.
(MAX_REGISTER_VIRTUAL_SIZE): Increase to 12.
(REGISTER_VIRTUAL_TYPE): Return builtin_type_long_double for
floating point registers.
(REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL)
(REGISTER_CONVERT_TO_RAW): Remove.
* config/m68k/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define.
2001-07-28 20:05:15 +00:00
Andrew Cagney
5b7f31a409
Move libgdb library functions to gdb.h (new file).
...
Update everything related to this.
2001-07-28 19:48:15 +00:00
Stephane Carrez
8aaf581c5d
* Makefile.in (SUBDIR_TUI_OBS): Add tui-out.o, tui-hooks.o.
...
(SUBDIR_TUI_SRCS): Add tui-out.c tui-hooks.c
(SFILES): Likewise.
(tui-out.o): Define dependencies.
(tui-hooks.o): Likewise.
2001-07-28 19:45:04 +00:00
Stephane Carrez
732b300251
* gdb.texinfo (TUI Configuration): Rename tui configuration variables.
2001-07-28 19:35:20 +00:00
Stephane Carrez
c968487932
* tuiWin.c (_initialize_tuiWin): Use specific tui prefix for
...
set/show configuration variables.
(show_tui_cmd): New function.
(set_tui_cmd): New function.
2001-07-28 19:30:54 +00:00
Mark Kettenis
a2585ce735
* config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
...
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
(i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
prototypes.
* config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
* i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
New functions.
2001-07-28 19:30:41 +00:00
Andrew Cagney
f9e2d83049
* MAINTAINERS: Update e-mail address of active @cygnus.com
...
maintainers to @redhat.com.
2001-07-28 17:24:47 +00:00
Andrew Cagney
de6ed73f14
* README (Known bugs): Delete section.
...
(Kernel debugging): Delete section.
(Languages other than C): Delete section.
(Host/target specific installation notes) New section.
2001-07-28 17:13:42 +00:00
Mark Kettenis
85540d8c4a
* config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
...
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
(i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
prototypes.
* config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
* i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
New functions.
2001-07-28 17:03:38 +00:00
Mark Kettenis
3d2615808f
* i386-tdep.c: Include "gdb_assert.h"
...
(i386_register_convert_to_virtual): Fix such that it can handle
conversion to any floating-point type. Assert that we are dealing
with a floating-point first.
(i386_register_convert_to_raw): Assert that TYPE is a
floating-point type with length 12.
2001-07-28 16:48:59 +00:00
gdbadmin
a2a45089d5
*** empty log message ***
2001-07-28 00:00:03 +00:00
John R. Moore
2db5ca22ef
Added dependency of gdb/insight on tcl and tk libraries.
2001-07-27 16:38:32 +00:00
John R. Moore
dd2504abf3
Added dependency on tcl/tk libraries.
2001-07-27 16:35:27 +00:00
Elena Zannoni
88e04cc199
2001-07-26 Elena Zannoni <ezannoni@redhat.com>
...
* sh-tdep.c (sh_gdbarch_init): Use SH_DEFAULT_NUM_REGS instead of
NUM_REGS.
(SH_DEFAULT_NUM_REGS): Define.
2001-07-27 03:29:08 +00:00
gdbadmin
ceeea5f68b
*** empty log message ***
2001-07-27 00:01:04 +00:00
Andrew Cagney
89437448ae
* gdbint.texinfo (libgdb): Rewrite.
2001-07-26 18:38:29 +00:00
Eli Zaretskii
2033c18a5f
* go32-nat.c (read_memory_region): Make sure the segment limit was
...
indeed set, to work around a Windows 2000 bug.
2001-07-26 14:41:16 +00:00
Eli Zaretskii
9a1c15c5b4
Makefile.in (gdbgui.dvi, gdb-gui, gdbgui.info): Targets deleted.
2001-07-26 07:29:24 +00:00
Eli Zaretskii
45c54937db
Removed.
2001-07-26 07:26:01 +00:00
Daniel Jacobowitz
9f30d7f540
* infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.
...
* infttrace.c (child_xfer_memory): Likewise.
* symm-nat.c (child_xfer_memory): Likewise.
* gdbserver/low-hppabsd.c (read_inferior_memory): Likewise.
(write_inferior_memory): Likewise.
* gdbserver/low-linux.c (read_inferior_memory): Likewise.
(write_inferior_memory): Likewise.
* gdbserver/low-lynx.c (read_inferior_memory): Likewise.
(write_inferior_memory): Likewise.
* gdbserver/low-nbsd.c (read_inferior_memory): Likewise.
(write_inferior_memory): Likewise.
* gdbserver/low-sparc.c (read_inferior_memory): Likewise.
(write_inferior_memory): Likewise.
* gdbserver/low-sun3.c (read_inferior_memory): Likewise.
(write_inferior_memory): Likewise.
2001-07-26 02:23:58 +00:00
gdbadmin
ad3dd7ab75
*** empty log message ***
2001-07-26 00:00:04 +00:00
Michael Snyder
c2b8fa57f7
2001-07-25 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/consecutive.exp: New file. Test stepping over
breakpoints on consecutive instructions.
* gdb.base/consecutive.c: New file.
2001-07-25 23:16:40 +00:00
Michael Snyder
c70819faea
2001-07-25 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/call-rt-st.exp: Use double-backslash to quote
curly braces in regular expressions.
2001-07-25 22:45:25 +00:00
Michael Snyder
2b1a1355c5
2001-07-25 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/ending-run.exp: Accept "Program exited normally" as
legitimate output from stepping out of main.
2001-07-25 22:41:43 +00:00
Eli Zaretskii
966beb0fe7
Mention how to make the PDF version of the manual.
2001-07-25 14:58:38 +00:00
Eli Zaretskii
e23194cb3c
Update NEWS.
2001-07-25 14:46:46 +00:00
gdbadmin
c1c905b7fb
*** empty log message ***
2001-07-25 00:00:04 +00:00
Stephen P. Smith
7c54200984
Fixed email address and line spacing.
2001-07-24 21:51:37 +00:00
Stephane Carrez
2611b1a5bd
* tui-hooks.c: New file, gdb hooks for tui.
...
* tui-out.c: New file, image copied from cli-out.c.
(tui_field_int): Identify "line" fields and keep track of them.
(tui_field_string): Likewise for "file".
(tui_out_new): Use flags = 0 to avoid printing the sources.
2001-07-24 20:40:39 +00:00
Stephane Carrez
114bf287e2
Missed changelog entries for previous 2 commits
2001-07-24 20:39:34 +00:00
Stephen P. Smith
a3f3e5359d
Added Stephen P. Smith to write after approval list in MAINTAINERS file.
2001-07-24 20:13:19 +00:00
Stephen P. Smith
7fc069e641
Add Stephen P. Smith (ssmith@sources.redhat.com) to the write after approval
...
list.
2001-07-24 19:58:32 +00:00
Stephane Carrez
c4555f8227
* gdb.texinfo (TUI): New chapter, document the TUI.
...
(Mode Options): Document the -tui option.
2001-07-24 18:48:15 +00:00
Andrew Cagney
675fb869a9
Doco LE O32 sizeof(struct) < 4 problem.
2001-07-24 16:28:36 +00:00
Mark Kettenis
2f45a6e05b
* gdbint.texinfo (Host Definition): Remove description of
...
NEED_POSIX_SETPGID.
2001-07-24 10:35:42 +00:00
Elena Zannoni
a7019e234a
2001-07-23 Elena Zannoni <ezannoni@redhat.com>
...
* config/powerpc/aix.mh (MH_LDFLAGS): Don't set these, the Gnu linker
doesn't understand them.
2001-07-24 01:33:18 +00:00
gdbadmin
ca8fca25cd
*** empty log message ***
2001-07-24 00:00:04 +00:00
Stephane Carrez
d75e970c9d
* tuiIO.c (tui_cont_sig): Update cursor position on the screen to
...
leave it in the command window.
(tui_redisplay_readline): Save cursor position to restore the
cursor after we go back from background.
* tuiData.h (TuiCommandInfo): Add start_line member.
2001-07-23 21:16:20 +00:00
Stephane Carrez
c6f60bcd2c
* tuiStack.c (tuiUpdateLocatorFilename): Use const char*.
...
* tuiStack.h (tuiUpdateLocatorFilename): Update prototype.
* tuiWin.c (_initialize_tuiWin): Don't cast table of enum in calls
to add_set_enum_cmd.
* tui.c (tui_show_source): New function.
(tuiGetLowDisassemblyAddress): Use CORE_ADDR for newLow.
(tui_switch_mode): Prep or deprep readline terminal;
make sure the \n we return does not redo the last command.
* tui.h (tui_show_source): Declare.
(tui_out_new, tui_install_hooks, tui_remove_hooks): Likewise.
(tui_active, tui_initialize_io, tui_initialize_readline): Likewise.
2001-07-23 21:13:57 +00:00
Elena Zannoni
ab35b6115a
2001-07-23 Elena Zannoni <ezannoni@redhat.com>
...
* memattr.c (mem_info_command): Reformat output to look more like
'info break' output.
(_initialize_mem): Improve help.
2001-07-23 19:53:08 +00:00
Mark Kettenis
0200359f12
* configure.in (AC_CHECK_FUNCS): Add setpggrp.
...
(AC_FUNC_SETPGRP): Add.
* aclocal.m4, configure, config.in: Regenerated.
* inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and
SETPGRP_ARGS. Always use setpgid if it is available, fall back on
setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to
distinguish between the two setpgrp flavours.
* config/xm-sysv4.h, config/arm/xm-linux.h,
config/i386/xm-i386aix.h, config/i386/xm-sco.h,
config/i386/xm-linux.h, config/i386/xm-ptx.h,
config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h,
config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove.
* config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
2001-07-23 19:21:57 +00:00
Keith Seitz
413eca6f96
* lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
...
the empty string, do not run the tests.
2001-07-23 19:02:31 +00:00
Eli Zaretskii
9f20bf26f8
Add new DJGPP-specific commands and document them in the manual.
...
Make the function which reads memory regions be more defensive
about buggy DPMI providers.
2001-07-23 16:10:24 +00:00
gdbadmin
c01204bde4
*** empty log message ***
2001-07-23 00:00:03 +00:00
Mark Kettenis
383d750bf3
* i386gnu-nat.c: Include "i387-nat.h".
...
(struct env387): Removed.
(reg_offset): Fix comment.
(fetch_fpregs): Use FCTRL_REGNUM and FOP_REGNUM instead of
FIRST_FPU_CONTROL_REGNUM and LAST_FPU_CONTROL_REGNUM. Rewrite to
use i387_supply_fsave.
(gnu_fetch_registers): Remove spurious whitespace.
(convert_to_env387): Remove.
(store_fpregs): Add argument regno. Use i387_fill_fsave instead
of convert_to_env387.
(gnu_store_registers): Remove spurious whitespace. Pass REGNO to
store_fpregs.
* config/i386/i386gnu.mt (TDEPFILES): Add i387-tdep.o.
* config/i386/i386gnu.mh (XDEPFILES): Remove i387-tdep.o.
(NATDEPFILES): Add i387-nat.o.
2001-07-22 20:35:14 +00:00
Stephane Carrez
1a12f22f57
* Makefile.in (ALLDEPFILES): Add m68hc11-tdep.c.
...
(m68hc11-tdep.o): Define dependencies.
2001-07-22 12:41:49 +00:00
Stephane Carrez
7d32ba20c1
* m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits.
2001-07-22 12:37:02 +00:00
gdbadmin
308a7829db
*** empty log message ***
2001-07-22 00:00:02 +00:00
Stephane Carrez
9d876a16bb
* tuiIO.c (tui_initialize_io): Install tui_cont_sig signal handler
...
if SIGCONT is defined.
(tui_cont_sig): New function when SIGCONT is defined.
(tui_setup_io): Save tty setting to restore by SIGCONT.
2001-07-21 22:35:40 +00:00
Stephane Carrez
5ecb18062a
* utils.c (init_page_info): Use tui_get_command_dimension.
...
* printcmd.c (disassemble_command): Simplify tui specific code,
use tui_is_window_visible, tui_show_assembly.
2001-07-21 22:31:14 +00:00
Stephane Carrez
1403b519de
* tui.h (tui_show_assembly): Declare.
...
(tui_is_window_visible): Declare.
* tui.c (tui_show_assembly): New function.
(tui_is_window_visible): New function.
(tui_get_command_dimension): New function.
2001-07-21 22:24:44 +00:00
Stephane Carrez
3e266828da
* tuiWin.c (tuiRefreshAll): Use clearok to force a refresh.
2001-07-21 20:57:17 +00:00
Stephane Carrez
174a4a09a4
* tui-file.c (tui_file_fputs): Use tui_puts.
2001-07-21 20:55:34 +00:00
Stephane Carrez
c7c228ed4b
* tuiStack.c (tuiSetLocatorInfo): Cleanup.
...
* tuiStack.h (tuiGetLocatorFilename): Declare.
* tuiRegs.h (tuiFirstRegElementNoInLine): Declare.
* tuiData.h (addToSourceWindows): Declare.
2001-07-21 20:52:56 +00:00
Stephane Carrez
377c38eacc
* tui.c (tui_change_windows): New function.
...
(tui_delete_other_windows): New function.
(tui_initialize_readline): Bind them to C-X 1 and C-X 2.
(tui_enable): Enable the keypad; call tui_update_variables.
(strcat_to_buf_with_fmt): Remove.
2001-07-21 20:49:56 +00:00
Mark Kettenis
256304449f
* i386bsd-nat.c: Do not include <sys/sysctl.h>.
...
(_initialize_i386bsd_nat) [KERN_PS_STRINGS]: Move FreeBSD-specific
code to ...
* i386fbsd-nat.c: ... here. New file.
* config/i386/fbsd.mh (NATDEPFILES): Add i386-fbsd.o.
* config/i386/nm-fbsd.h (CHILD_RESUME): Define.
* Makefile.in (ALLDEPFILES): Add i386fbsd-nat.c.
(i386fbsd-nat.o): Add dependencies.
2001-07-21 20:16:44 +00:00
Stephane Carrez
39db33d602
* tui.h: Remove old declarations, add the new ones.
...
* tui.c (tui_switch_mode): New function.
(tui_initialize_readline): New function.
(tui_enable): New function.
(tui_disable): New function.
(tuiGetLowDisassemblyAddress): Use CORE_ADDR, cleanup.
(tui_vSelectSourceSymtab): Remove.
(tuiInitWindows): Remove.
(_initialize_tui): Remove.
(_tuiReset): Keep but put arround #if 0.
2001-07-21 19:59:14 +00:00
Stephane Carrez
a198b876bb
* tuiIO.h: Remove old declarations and add the new ones.
...
* tuiIO.c: New management for curses and gdb terminal interactions.
(tui_tputs): Remove.
(tuiTermSetup, tuiTermUnsetup): Remove, must use normal curses ops.
(tuiBufferGetc, tui_vStartNewLines, _updateCommandInfo): Remove.
(tui_owns_terminal): Remove.
(tui_redisplay_readline): New function.
(tui_puts): New function.
(tui_prep_terminal): New function.
(tui_deprep_terminal): New function.
(tui_getc): Rename of tuiGetc, simplify and fix.
(tui_setup_io): New function.
(tui_initialize_io): New function.
2001-07-21 19:56:54 +00:00
Stephane Carrez
fea1470223
* tuiRegs.c (tuiDisplayRegistersFrom): Call touchwin.
...
(_tuiRegisterFormat): Reduce size of format result.
2001-07-21 19:46:59 +00:00
Stephane Carrez
af10151233
* tuiGeneralWin.c (boxWin): Use the tui configuration variables.
...
* tuiWin.h: Declare the new variables.
* tuiWin.c (_initialize_tuiWin): Create TUI configuration variables.
(tui_update_variables): New function.
(translate): New function.
(tui_border_kind_enums, tui_border_mode_enums): New tables.
(tui_border_mode_translate): New table.
(tui_border_kind_translate_*): New tables.
(tui_active_border_mode): New variables.
(tui_border_*): New variables.
2001-07-21 19:44:38 +00:00
gdbadmin
5634783365
*** empty log message ***
2001-07-21 00:00:01 +00:00
Stephane Carrez
a4b99e5344
* tuiWin.c (_parseScrollingArgs): Fix uninitialized variable.
...
(_makeVisibleWithNewHeight): Use TuiLineOrAddress type.
* tuiStack.c (tuiShowFrameInfo): Use TuiLineOrAddress type.
(tui_vUpdateLocatorFilename): Remove.
* tuiStack.h: Update prototypes.
* tuiSourceWin.c (tuiAddrIsDisplayed): New function.
(tuiLineIsDisplayed): Split for address and line.
(tuiUpdateSourceWindow): Use TuiLineOrAddress type.
(tuiUpdateSourceWindowAsIs): Likewise.
(tuiUpdateSourceWindowsWithAddr): Likewise.
(tuiUpdateSourceWindowsWithLine): Likewise.
(tuiHorizontalSourceScroll): Likewise.
(tuiSetIsExecPointAt): Likewise.
(tuiUpdateOnEnd): Likewise.
* tuiSourceWin.h: Update prototypes.
* tuiSource.c (tuiVerticalSourceScroll): Use TuiLineOrAddress type.
(tuiShowSource): Likewise.
(tuiVerticalSourceScroll): Likewise.
* tuiSource.h (tuiShowSource): Update prototype.
* tuiDisassem.c (tuiSetDisassemContent): Use CORE_ADDR for address.
(tuiShowDisassem): Use TuiLineOrAddress type.
(tuiShowDisassemAndUpdateSource): Likewise.
(tuiVerticalDisassemScroll): Likewise.
(tuiShowDisassemAsIs): Remove.
* tuiDisassem.h (tuiSetDisassemContent): Update prototype.
* tuiData.c (initWinInfo): Use CORE_ADDR for address.
(clearWinDetail): Likewise.
(displayableWinContentOf): Fix address conversion.
(tuiNextWin): Fix crash when the window is not yet created.
(partialWinByName): Likewise.
2001-07-20 23:06:48 +00:00
Stephane Carrez
19eb139b72
* tuiSourceWin.h: Remove unused declarations.
...
* tuiSourceWin.c (tui_vUpdateSourceWindowsWithAddr): Remove.
(tui_vUpdateSourceWindowsWithLine): Remove.
(tui_vAllSetHasBreakAt): Remove.
* tuiLayout.h (tui_set_layout): Declare.
(tui_vSetLayoutTo): Remove.
(tui_vAddWinToLayout): Remove.
* tuiLayout.c (_tuiLayout_command): Call tui_enable() to force TUI.
(_tuiToggleLayout_command): Remove.
(_tuiToggleSplitLayout_command): Remove.
(_tuiLayout_command): Remove.
(tui_vSetLayoutTo): Remove.
(tui_vAddWinToLayout): Remove.
* tuiDataWin.h (tui_vCheckDataValues): Remove.
* tuiDataWin.c (tui_vCheckDataValues): Remove.
2001-07-20 22:26:54 +00:00
Stephane Carrez
1854bb2190
* tuiWin.c (tuiStrDup): Remove, replaced by xstrdup.
...
(_parseScrollingArgs): Use xstrdup.
(_tuiScrollForward_command): Call tui_enable() to force TUI mode.
(_tuiScrollBackward_command): Likewise.
(_tuiScrollLeft_command): Likewise.
(_tuiScrollRight_command): Likewise.
(_tuiSetFocus): Likewise.
(_tuiSetFocus_command): Likewise.
(_tuiRefreshAll_command): Likewise.
(_tuiSetTabWidth_command): Likewise.
(_tuiSetWinHeight): Likewise.
(_tuiSetWinHeight_command): Likewise.
(_tuiXDBsetWinHeight): Likewise.
(_tui_vSetFocus): Remove.
(_tui_vSetWinHeight): Remove.
(_tui_vXDBsetWinHeight): Remove.
2001-07-20 22:22:08 +00:00
Stephane Carrez
9b2d6ccae7
* tuiCommand.c (tuiDispatchCtrlChar): Fix escape sequences.
...
(tuiIncrCommandCharCountBy): Remove.
(tuiDecrCommandCharCountBy): Remove.
(tuiSetCommandCharCountTo): Remove.
(tuiClearCommandCharCount): Remove.
2001-07-20 22:17:49 +00:00
John R. Moore
be9c6c3593
Three misspellings.
2001-07-20 01:14:05 +00:00
gdbadmin
aeb2b5d308
*** empty log message ***
2001-07-20 00:00:03 +00:00
Stephane Carrez
4178329584
* tuiWin.c (_initialize_tuiWin): Always define the tui commands;
...
create the tui class help.
* tuiLayout.c (_initialize_tuiLayout): Always define the tui commands.
* tuiRegs.c (_initialize_tuiRegs): Likewise.
* tuiStack.c (_initialize_tuiStack): Likewise.
2001-07-19 22:47:46 +00:00
Stephane Carrez
3024f13a83
* tuiDisassem.c (tuiVerticalDisassemScroll): Use CORE_ADDR.
...
(tuiVerticalDisassemScroll): Likewise.
(tuiShowDisassemAndUpdateSource): Check for null symtab to
prevent a crash.
2001-07-19 21:56:39 +00:00
Daniel Jacobowitz
0150732f4e
* signals.c: New file.
...
* Makefile.in: Add signals.o.
* target.c (struct signals, target_signal_to_name)
(target_signal_from_name, target_signal_from_host)
(do_target_signal_to_host, target_signal_to_host_p)
(target_signal_to_host, target_signal_from_command): Move to
signals.c.
(initialize_targets): Move check of struct signals to...
* signals.c (_initialize_signals): Here.
2001-07-19 18:09:11 +00:00
Andrew Cagney
e36118e765
Add Michael Chansain as C++ testsuite maintainer.
2001-07-19 05:22:46 +00:00
Andrew Cagney
b4fc7a3068
* configure.tgt (i*86-*-pe*): New target.
2001-07-19 05:10:38 +00:00
Andrew Cagney
4b048bc096
From 2001-07-16 Rodney Brown <rbrown64@csc.com.au>:
...
* infttrace.c (child_thread_alive): Fix gdb_tid typo.
* somsolib.c (no_shared_libraries): Provide stub.
* xcoffsolib.c (no_shared_libraries): Provide stub.
2001-07-19 04:58:17 +00:00
gdbadmin
ad87b05891
*** empty log message ***
2001-07-19 00:00:03 +00:00
Stephane Carrez
e8b915dc07
* tuiIO.c (_tuiHandleResizeDuringIO): Call tuiRefreshAll.
...
(tuiRead, tui_vread): Remove.
* tui.c (va_catch_errors, tuiDo, tuiDoAndReturnToTop): Remove.
(vcatch_errors, _tui_vDo): Remove.
* tui.h (tuiDo, tuiDoAndReturnToTop): Remove.
* tuiLayout.c (tuiSetLayout): Remove vcatch_errors.
(tui_set_layout): Rename of _tuiSetLayoutTo, public.
(_tuiToggleLayout_command): Merge with _tui_vToggleLayout_command.
(_tuiToggleSplitLayout_command): Merge with _tui_vToggleSplitLayout_command.
(_tuiLayout_command): Call tui_set_layout.
* tuiRegs.c (_tuiScrollRegsBackward_command): Call tui_scroll.
(_tuiScrollRegsForward_command): Likewise.
(_tuiShowFloat_command): Call _tui_vShowRegisters_commandSupport.
(_tuiShowGeneral_command): Likewise.
(_tuiShowSpecial_command): Likewise.
(_tuiToggleFloatRegs_command): Call tuiToggleFloatRegs.
* tuiWin.c (tui_scroll): Rename of tui_vScroll, update parameters.
(_tuiScrollForward_command): Call tui_scroll.
(_tuiScrollBackward_command): Likewise.
(_tuiScrollLeft_command): Likewise.
(_tuiScrollRight_command): Likewise.
(_tuiSetFocus_command): Call _tuiSetFocus.
(_tuiRefreshAll_command): Call tuiRefreshAll.
(_tuiSetWinHeight_command): Call _tuiSetWinHeight.
(_tuiXDBsetWinHeight_command): Call _tuiXDBsetWinHeight.
* tuiWin.h (tui_scroll): Rename of tui_vScroll, update parameters.
2001-07-18 22:03:22 +00:00
Stephane Carrez
c774cec6a7
* tuiData.h (TuiLocatorElement): Use CORE_ADDR for address member.
...
(TuiLineOrAddress): Likewise.
* tuiDisassem.c (tuiGetBeginAsmAddress): Use CORE_ADDR to specify
an address.
(tuiSetDisassemContent): Likewise.
(tuiShowDisassem, tuiShowDisassemAndUpdateSource): Likewise.
* tuiLayout.c (_extractDisplayStartAddr): Likewise.
(tuiSetLayout): Likewise.
* tuiSourceWin.c (tuiDisplayMainFunction): Likewise.
(tuiUpdateSourceWindowsWithAddr): Likewise.
(tuiUpdateSourceWindowsWithLine): Likewise.
(tuiSetHasBreakAt): Likewise.
* tuiStack.c (tuiSetLocatorInfo): Likewise.
(tuiSwitchFilename): Likewise.
(tuiUpdateLocatorInfoFromFrame): Likewise.
(tuiSetLocatorContent): Likewise.
(tuiShowFrameInfo): Likewise.
* tuiDisassem.h: Update prototypes to use CORE_ADDR.
* tuiSourceWin.h: Likewise.
* tuiStack.h: Likewise.
2001-07-18 20:59:00 +00:00
Stephane Carrez
227288a05c
* Makefile.in (COMMON_OBS): Remove tui-file.o.
...
(SUBDIR_TUI_OBS): Add it here.
(SUBDIR_TUI_SRCS): Move tui-file.c and tui-file.h here.
(main.o): Remove dependency with tui-file.h.
2001-07-18 20:53:35 +00:00
gdbadmin
ddd9d5896f
*** empty log message ***
2001-07-18 00:00:05 +00:00
Stephane Carrez
84b1e7c7ee
* tuiWin.c: Add missing includes.
...
(_makeVisibleWithNewHeight): Fix call to find_line_pc.
* tuiLayout.c: Add missing includes.
(_initAndMakeWin): Don't put curses in echo mode.
(_extractDisplayStartAddr): Fix calls to find_line_pc.
(_tuiLayout_command): Missing ',' in warning call.
* tuiSourceWin.c (tuiUpdateSourceWindowsWithLine): Fix calls to
find_line_pc.
(tuiSetHasBreakAt): Check for null source file.
2001-07-17 22:22:40 +00:00
Stephane Carrez
7e5a932280
* gdb.base/long_long.exp: Detect size of pointer. Take into
...
account 2-byte pointers when testing for p/a results.
2001-07-17 22:19:49 +00:00
Stephane Carrez
de58f10fe4
* gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
...
and defined to 1K for m68hc11.
(random_data): Reduce table to 1K for embedded platforms (68hc11).
* gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
(sizeof_random_data): New variable to tell the size of the data table;
don't test past this size; always run to main.
2001-07-17 21:47:19 +00:00
Stephane Carrez
0963fc9672
* tuiWin.c (_tuiSetFocus): Replace subsetCompare with subset_compare.
...
* tuiLayout.c (_tuiSetLayoutTo): Likewise.
* tui.c (_tui_vToggle_command): Likewise.
2001-07-17 21:37:18 +00:00
Elena Zannoni
f9eb4b0146
2001-07-17 Elena Zannoni <ezannoni@redhat.com>
...
* Makefile.in (tui-file.o): Update dependencies.
* tui/tui-file.c: Add include of tuiIO.h, for tuiPuts_unfiltered.
2001-07-17 20:22:51 +00:00
Elena Zannoni
d0c8cdfbfd
2001-07-17 Elena Zannoni <ezannoni@redhat.com>
...
* top.c (catch_errors): Convert PTR to void * in parameters list.
(quit_cover): Ditto.
2001-07-17 17:25:14 +00:00
Stephane Carrez
c46cc7dffe
* tuiRegs.c (tuiDisplayRegistersFrom): Set scrollok to FALSE in
...
each register window.
(tuiCheckRegisterValues): Use REGISTER_RAW_SIZE to obtain the size
of the register to check.
(_tuiRegValueHasChanged): Likewise.
(_tuiRegisterName): Use REGISTER_NAME.
(tui_restore_gdbout): New function.
(_tuiRegisterFormat): Use do_registers_info with gdb_stdout redirected
to a string.
(START_SPECIAL_REGS): Define.
(_tuiGetRegisterRawValue): Use get_saved_register.
(_tuiDisplayRegister): Fix clearing of register window.
2001-07-17 06:44:57 +00:00
Stephane Carrez
e42acc6bba
* tui-file.h (fputs_unfiltered_hook): Remove.
...
* tui-file.c (tui_file_flush): Remove fputs_unfiltered_hook.
(tui_file_fputs): Likewise; simplify
2001-07-17 06:42:58 +00:00
Stephane Carrez
063190b6cb
* source.c (find_source_lines): Remove tui test, must be replaced
...
by appropriate warning hook.
(print_source_lines): Remove tui hacks, must be replaced by cli.
(forward_search_command): Remove tui hacks, can be replaced by
appropriate calls to identify_source_line when tui scrolls.
(reverse_search_command): Likewise.
2001-07-17 06:41:47 +00:00
Nicholas Duffek
cf759d3bc0
* remote.c (init_remote_ops, init_remote_cisco_ops,
...
init_remote_async_ops): Set to_pid_to_str and
to_extra_thread_info correctly and in the same order as declared
in target.h.
2001-07-17 01:23:44 +00:00
Andrew Cagney
0caabb7ecb
Revert previous, included more than intended.
2001-07-17 00:27:28 +00:00
gdbadmin
b69e2f0e64
*** empty log message ***
2001-07-17 00:00:03 +00:00
Nicholas Duffek
943b397116
* remote.c (init_remote_ops, init_remote_cisco_ops,
...
init_remote_async_ops): Set to_pid_to_str and
to_extra_thread_info correctly and in the same order as declared
in target.h.
2001-07-16 23:32:14 +00:00
Nicholas Duffek
9ed10b0851
* findvar.c (read_var_value): Apply value_as_pointer() to
...
addresses retrieved from the target for LOC_BASEREG and
LOC_BASEREG_ARG variables.
2001-07-16 22:57:50 +00:00
Stephane Carrez
75fd9bc1ec
* tuiStack.c: Add missing includes.
...
(tuiShowFrameInfo): Don't crash when there is no symbol table
associated with the pc.
* tuiSource.c (_hasBreak): Check for null source file.
* tuiWin.c (tuiRefreshAll): Check for null winList[type].
(_tuiSetFocus): Check for null dataWin.
* tuiGeneralWin.c (refreshAll): Check for null list[type].
2001-07-16 22:13:38 +00:00
Stephane Carrez
a8080b7fbf
* tuiDisassem.c (tuiSetDisassemContent): Use tm_print_insn_info
...
to disassemble in the curses window.
2001-07-16 22:10:07 +00:00
Stephane Carrez
2a5127c4e3
* tui.h: Cleanup to avoid inclusion of curses includes.
...
(TuiGenWinInfo, TuiGenWinInfoPtr): Move from here.
* tuiData.h: To here; include curses includes here.
(setTermHeightTo): Rename of setTermHeight to follow reality.
(setTermWidthTo): Likewise with setTermWidth.
2001-07-16 22:05:02 +00:00
Stephane Carrez
d6f5fea1d2
* gdb.base/return2.exp: return of long long and double fails for
...
68HC11; don't execute these tests on that platform.
* gdb.base/return.exp: Return of a double fails for 68hc11.
2001-07-16 18:49:43 +00:00
Stephane Carrez
c477543d3a
* call-ar-st.exp: Use gdb_skip_float_test to avoid executing
...
tests that print a float.
* call-rt-st.exp: Likewise.
2001-07-16 18:44:23 +00:00
Orjan Friberg
24be5c3496
2001-07-16 Orjan Friberg <orjanf@axis.com>
...
* NEWS: New target CRIS.
2001-07-16 16:02:48 +00:00
Elena Zannoni
314b6fb79a
2001-07-16 Elena Zannoni <ezannoni@redhat.com>
...
* top.c (show_commands): Remove extern decl of history_get, it's
already in readline/history.h.
2001-07-16 15:50:51 +00:00
Elena Zannoni
210661e72f
2001-07-16 Elena Zannoni <ezannoni@redhat.com>
...
* top.c (is_complete_command, init_cmd_lists, init_cli_cmds,
execute_user_command, do_setshow_command, get_prompt, init_proc,
serial_log_command): Remove extern declarations. Include
cli/cli-cmds.h, cli/cli-script.h, cli/cli-setshow.h, serial.h.
* gdbcmd.h (execute_user_command): Remove declaration, it's already
in cli/cli-script.h.
* command.h (do_setshow_command): Remove declaration, it's already
in cli/cli-setshow.h.
* infrun.c: Include "cli/cli-script.h" for execute_user_command.
* Makefile.in (infrun.o): Update dependencies.
(top.o): Ditto.
* cli/cli-setshow.h: Add comment for do_setshow_command.
2001-07-16 14:46:34 +00:00
Eli Zaretskii
2584159ed9
* cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
...
call to chdir on this symbol rather than on __DJGPP__.
(CANT_FORK) [__MSDOS__]: Move from here...
* defs.h (CANT_FORK) [__MSDOS__]: ...to here.
(GLOBAL_CURDIR) [__MSDOS__]: Define.
2001-07-16 14:13:06 +00:00
Orjan Friberg
cf54db7985
2001-07-16 Orjan Friberg <orjanf@axis.com>
...
* configure.tgt: Recognise the CRIS architecture.
* config/cris/cris.mt: New file for CRIS target.
* cris-tdep.c: New file for CRIS target.
2001-07-16 08:58:32 +00:00
Orjan Friberg
291349806f
2001-07-16 Orjan Friberg <orjanf@axis.com>
...
* configure.tgt: Recognise the CRIS architecture.
* config/cris/cris.mt: New file for CRIS target.
* cris-tdep.c: New file for CRIS target.
2001-07-16 08:52:41 +00:00
gdbadmin
0a68674243
*** empty log message ***
2001-07-16 00:00:02 +00:00
Elena Zannoni
64cdedadad
2001-07-15 Elena Zannoni <ezannoni@redhat.com>
...
* top.c (quit_cover, float_handler): Move definition up before use.
(gdb_init): Move to end of file, to avoid calls to not yet defined
functions.
Delete prototypes.
2001-07-15 20:45:32 +00:00
Andrew Cagney
2cd58942b9
* serial.h (SERIAL_ASYNC): Delete.
...
(DEPRECATED_SERIAL_FD): Delete.
(SERIAL_DEBUG): Delete.
(SERIAL_DEBUG_P): Delete.
(SERIAL_DRAIN_OUTPUT): Delete.
(SERIAL_FLUSH_OUTPUT): Delete.
(SERIAL_FLUSH_INPUT): Delete.
(SERIAL_SEND_BREAK): Delete.
(SERIAL_RAW): Delete.
(SERIAL_GET_TTY_STATE): Delete.
(SERIAL_SET_TTY_STATE): Delete.
(SERIAL_PRINT_TTY_STATE): Delete.
(SERIAL_NOFLUSH_SET_TTY_STATE): Delete.
(SERIAL_SETBAUDRATE): Delete.
(SERIAL_SETSTOPBITS): Delete.
(SERIAL_CAN_ASYNC_P): Delete.
(SERIAL_IS_ASYNC_P): Delete.
(SERIAL_UN_FDOPEN): Delete.
(SERIAL_READCHAR): Delete.
(SERIAL_CLOSE): Delete.
(SERIAL_FDOPEN): Delete.
(SERIAL_OPEN): Delete.
2001-07-15 20:34:14 +00:00
Andrew Cagney
ea7c478fe2
s/value_ptr/struct value */
2001-07-15 20:10:02 +00:00
Elena Zannoni
d75b5104df
2001-07-15 Elena Zannoni <ezannoni@redhat.com>
...
* top.c (readline_line_completion_function, noop_completer): Move
from here...
* completer.c (readline_line_completion_function, noop_completer):
...to here.
* gdbcmd.h (readline_line_completion_function, noop_completer):
Move declarations from here...
* completer.h (readline_line_completion_function, noop_completer):
...to here.
* corefile.c: Include completer.h.
* source.c: Ditto.
* symfile.c: Ditto.
* Makefile.in: Update dependencies.
2001-07-15 18:57:06 +00:00
Eli Zaretskii
150985e3a1
* go32-nat.c (go32_create_inferior): Support command lines longer
...
than 126 characters.
2001-07-15 10:28:13 +00:00
gdbadmin
96fe9e8c46
*** empty log message ***
2001-07-15 00:00:01 +00:00
Stephane Carrez
eca6576c19
* tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.
...
tuiIO.c, tuiData.c: Likewise.
tuiDataWin.c, tuiDisassem.c: Likewise.
tuiGeneralWin.c, tuiLayout.c: Likewise.
tuiRegs.c, tuiSource.c: Likewise.
tuiSouceWin.c, tuiStack.c: Likewise.
2001-07-14 19:31:09 +00:00