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
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
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
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
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
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
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
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
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
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
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
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
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