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
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
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
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
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
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
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
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
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
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
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
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
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
John R. Moore
2db5ca22ef
Added dependency of gdb/insight on tcl and tk libraries.
2001-07-27 16:38:32 +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
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
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
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
Stephen P. Smith
7c54200984
Fixed email address and line spacing.
2001-07-24 21:51:37 +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
Andrew Cagney
675fb869a9
Doco LE O32 sizeof(struct) < 4 problem.
2001-07-24 16:28:36 +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
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