Andrew Cagney
5769d3cd7d
S/390 31 & 64 bit target and GNU/Linux native support.
...
Contributed by D.J. Barrow <djbarrow@de.ibm.com> of IBM.
* s390-nat.c, s390-tdep.c: New file.
* config/s390/nm-linux.h, config/s390/s390.mh: New file.
* config/s390/s390.mt, config/s390/s390x.mt: New file.
* config/s390/tm-linux.h, config/s390/tm-s390.h: New file.
* config/s390/xm-linux.h: New file.
* NEWS: Update.
* MAINTAINERS: Update.
2001-10-13 22:13:35 +00:00
Andrew Cagney
83e6b173e7
From 2001-07-09 D.J. Barrow <djbarrow@de.ibm.com>:
...
* gdbarch.sh: Fixed CALL_DUMMY_BREAKPOINT_OFFSET to check
CALL_DUMMY_BREAKPOINT_OFFSET_P.
* gdbarch.c: Regenerate.
2001-10-13 19:40:31 +00:00
Mark Kettenis
21bf60feee
* thread-db.c: Fix a few formatting mistakes.
2001-10-13 15:04:02 +00:00
Christopher Faylor
d60dc82aca
Fix capitalization.
2001-10-13 04:15:40 +00:00
Christopher Faylor
fefd0a378f
* win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked list
...
pointer to beginning rather than one beyond beginning.
2001-10-13 01:20:29 +00:00
Daniel Jacobowitz
e88c90f2c5
2001-10-12 Daniel Jacobowitz <drow@mvista.com>
...
* symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro.
* symtab.c (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
(make_symbol_completion_list): Likewise.
(make_symbol_overload_list): Likewise.
* buildsym.c (finish_block): Likewise.
* breakpoint.c (get_catch_sals): Likewise.
* mdebugread.c (mylookup_symbol): Likewise.
* objfiles.c (objfile_relocate): Likewise.
* printcmd.c (print_frame_args): Likewise.
* stack.c (print_block_frame_locals): Likewise.
(print_block_frame_labels): Likewise.
(print_frame_arg_vars): Likewise.
* symmisc.c (dump_symtab): Likewise.
* tracepoint.c (add_local_symbols): Likewise.
(scope_info): Likewise.
2001-10-12 Daniel Jacobowitz <drow@mvista.com>
* mi-cmd-stack.c (list_args_or_locals): Use ALL_BLOCK_SYMBOLS.
2001-10-12 Daniel Jacobowitz <drow@mvista.com>
* generic/gdbtk-cmds.c (gdb_listfuncs): Use ALL_BLOCK_SYMBOLS.
* generic/gdbtk-stack.c (gdb_block_vars): Likewise.
(gdb_get_blocks): Likewise.
(gdb_get_vars_command): Likewise.
5~
2001-10-12 23:51:30 +00:00
Daniel Jacobowitz
375f3d864b
* minsyms.c (msymbol_hash): Use better hash function.
...
(msymbol_hash_iw): Likewise. Terminate loop at '(' properly.
* objfiles.h: Increase MINIMAL_SYMBOL_HASH_SIZE to match modern
binaries.
2001-10-12 19:07:07 +00:00
Daniel Jacobowitz
5515947148
* printcmd.c (print_frame_args): Move symbol iteration explicitly
...
inside the func != NULL block.
2001-10-12 17:15:34 +00:00
Fernando Nasser
30ef99d1a8
2001-10-12 Fernando Nasser <fnasser@redhat.com>
...
* MAINTAINERS (Misc): Add Ian Roxborough as tcl/, tk/ and itcl/
maintainer.
2001-10-12 15:59:11 +00:00
Christopher Faylor
02e423b9b2
* config/i386/tm-cygwin.h: include tm-i386.h instead of tm-i386v.h. This fixes
...
errors in "long long" handling for 'finish' and 'return' commands.
* win32-nat.c (safe_symbol_file_add_stub): Avoid adding a shared library if it
has already been loaded.
(safe_symbol_file_add_cleanup): Don't mess with stderr or we won't see any
error messages.
(safe_symbol_file_add): Ditto.
(solib_symbols_add): Make static. Accept 'from_tty' parameter. Pass it to
safe_symbol_file_add.
(core_dll_symbols_add): Accomodate extra solib_symbols_add parameter.
(child_solib_add): Ditto.
* win32-nat.c (handle_exception): Don't print "first chance" exceptions.
(get_child_debug_event): Continue from exceptions if !handle_exception.
2001-10-12 04:32:16 +00:00
Tom Tromey
1b15f1fad9
* symtab.c (lookup_symtab): Removed.
...
(lookup_symtab_1): Renamed to lookup_symtab.
2001-10-12 03:38:12 +00:00
Christopher Faylor
700b351bda
* win32-nat.c (get_child_debug_event): Close file handles created after process
...
creation and DLL load.
(child_create_inferior): Close unneeded process/thread handle after thread
creation.
2001-10-11 01:55:58 +00:00
Jim Blandy
4eab1e18e9
* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
2001-10-10 21:22:44 +00:00
Keith Seitz
4abb499edb
* varobj.c (cplus_value_of_child): Deal with a failure
...
to dereference a pointer object.
2001-10-10 17:01:52 +00:00
Joel Brobecker
8b2797db31
Document changes to hpux-thread.c.
2001-10-08 20:44:38 +00:00
Nicholas Duffek
420effb8ac
* MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove my
...
entries.
2001-10-08 19:05:00 +00:00
Mark Kettenis
3eb970a80b
* config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.
2001-10-06 19:19:27 +00:00
Tom Tromey
78f495860c
* main.c (enable_external_editor): Don't declare.
...
(captured_main): Don't set enable_external_editor.
2001-10-04 15:04:27 +00:00
Kevin Buettner
ab31aa69b9
Split SVR4/SunOS solib support.
2001-10-02 23:11:24 +00:00
Elena Zannoni
39ae698d7d
2001-10-01 Elena Zannoni <ezannoni@redhat.com>
...
* Makefile.in (mipsread.o): Remove old dependency on partial-stab.h.
2001-10-02 02:53:48 +00:00
Elena Zannoni
d5d0a62f69
2001-10-01 Elena Zannoni <ezannoni@redhat.com>
...
* xcoffread.c (N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_COMM, N_FN,
N_EXT, N_INDR, N_SETA, N_SETT, N_SETD, N_SETB, N_SETV,
CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB, END_PSYMTAB,
SET_NAMESTRING): Delete definitions.
Don't include language.h any more.
Don't include partial-stab.h any more.
(scan_xcoff_symtab): Don't jump through hoops to reuse code in
partial-stab.h, include the code directly, instead.
* Makefile.in (xcoffread.o): Remove dependency on partial-stab.h.
2001-10-02 02:39:48 +00:00
Andrew Cagney
447aa9a61f
* infcmd.c (do_registers_info): Delete code dumping large
...
registers. Handled by val_print.
2001-10-01 18:11:19 +00:00
Andrew Cagney
85de96271b
* gdbarch.sh (gdbarch_alloc): Name the new architecture
...
``current_gdbarch'' so that it, and not the identically named
global is refered to by macros.
* gdbarch.c: Regenerate.
2001-09-30 16:54:28 +00:00
Andrew Cagney
f3796e2657
* cli/cli-decode.c (add_set_boolean_cmd): Define.
...
* cli/cli-decode.h (add_set_boolean_cmd): Declare.
* command.h (add_set_boolean_cmd): Ditto.
* remote.c (_initialize_remote): Use add_set_boolean_cmd for "set
remotebreak"
2001-09-30 16:16:16 +00:00
Andrew Cagney
08e45a405b
* gdbarch.sh (gdbarch_dump): Sort output.
...
* gdbarch.c: Regenerate.
2001-09-29 22:35:53 +00:00
Andrew Cagney
e712c1cf79
* rs6000-tdep.c (rs6000_gdbarch_init): Don't use the previous
...
architecture to infer the wordsize. Previous architecture may not
be a PowerPC.
2001-09-29 21:32:01 +00:00
Michael Snyder
56e2d25ab5
2001-09-20 Michael Snyder <msnyder@redhat.com>
...
Changes by Daniel Berlin <dan@cgsoftware.com>, to support
better parsing of const and volatile type expressions.
* c-exp.y (const_and_volatile, const_or_volatile_noopt,
const_or_volatile): New non-terminals.
(ptype): Use new rule for const_or_volatile.
(typebase): Use new rule for const_or_volatile_noopt.
* parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
* parse.c (follow_types): Handle tp_const and tp_volatile on the
type stack: call make_cv_type to create new const/volatile type.
2001-09-27 21:16:43 +00:00
Michael Snyder
3e9986d221
2001-09-21 Michael Snyder <msnyder@redhat.com>
...
* c-exp.y (typebase): Accept (signed long long) as a type expr.
2001-09-27 21:14:48 +00:00
Joel Brobecker
d68f31a9f3
Document changes in infttrace.c (for HPUX 11.00).
2001-09-27 13:32:17 +00:00
Andrew Cagney
e3abfe1d65
Add framework for ``set/show serial ...''.
2001-09-26 23:27:39 +00:00
Andrew Cagney
ff1da24e18
* CONTRIBUTE: Update.
2001-09-26 20:52:56 +00:00
Kevin Buettner
e5e2b9ff10
Use gdbarch data mechanism instead of gdbarch swap mechanism to manage
...
the fetching of architecture specific link map offsets.
2001-09-26 07:03:13 +00:00
Jiri Smid
86ed34a902
fix of my email address
2001-09-25 11:52:54 +00:00
Jiri Smid
c74ae012f5
* x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
...
(x86_64_linux_sigcontext_addr): Replace `sizeof (struct siginfo)'
by LINUX_SIGINFO_SIZE.
2001-09-25 10:37:17 +00:00
Andrew Cagney
4f3379724d
* maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
...
variables.
(maintenance_set_profile_cmd): New function.
(maintenance_show_cmd, maintenance_set_cmd): New functions.
(_initialize_maint_cmds): Add "maintenance set" and "maintenance
show" and, commented out, "maintenance set/show profile" commands.
2001-09-25 02:31:51 +00:00
Andrew Cagney
f76febae84
* findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
...
convert the pointer into a CORE_ADDRs.
2001-09-24 19:46:15 +00:00
Andrew Cagney
96d2f608dc
* doublest.h (store_floating, extract_floating): Add comment
...
indicating these functions are deprecated.
(extract_typed_floating, store_typed_floating): Declare.
* doublest.c: Include "gdbtypes.h".
(extract_typed_floating, store_typed_floating): Define.
* stabsread.c (define_symbol): Use store_typed_floating.
* valarith.c (value_binop): Ditto.
* values.c (unpack_long): Use extract_typed_floating.
(unpack_double): Ditto.
2001-09-24 17:16:53 +00:00
Orjan Friberg
7ab98e9e4f
2001-09-24 Orjan Friberg <orjanf@axis.com>
...
* cris-tdep.c (reg_mode_add_sub_cmp_and_or_move_op): Fetch operand1
from correct register.
2001-09-24 08:04:10 +00:00
Mark Kettenis
1dbeeb7b3b
* x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.
2001-09-21 22:57:29 +00:00
Jiri Smid
c4d82c9662
* config/i386/x86-64linux.mh: New file.
...
* config/i386/x86-64linux.mt: New file.
* config/i386/nm-x86_64.h: New file.
* x86-64-linux-tdep.c: New file.
* x86-64-linux-nat.c: New file.
* x86-64-tdep.c: New file.
* x86-64-tdep.h: New file.
* i386-tdep.h: New file.
* i387-nat.c: Include i386-tdep.h when multiarch.
* i387-tdep.c: Ditto.
* config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
and x86_64-linux-nat.c
* Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
2001-09-21 12:24:55 +00:00
Jiri Smid
cab16195fe
* MAINTAINERS: Add myself to the write-after-approval list.
...
* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
(i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
i386_insert_watchpoint, i386_remove_watchpoint): Add support for
8-byte wide watchpoints.
(i386_show_dr): Debug message format string change.
2001-09-21 07:17:52 +00:00
Kevin Buettner
1c4dcb5771
Make set_solib_svr4_fetch_link_map_offsets() work as intended.
2001-09-20 20:07:55 +00:00
Alan Modra
3a42e9d062
* coffread.c: Replace all occurrences of bfd_read with bfd_bread.
...
* dbxread.c: Likewise.
* dwarf2read.c: Likewise.
* dwarfread.c: Likewise.
* somread.c: Likewise.
* ultra3-nat.c: Likewise.
* xcoffread.c: Likewise.
2001-09-20 03:03:40 +00:00
Andrew Cagney
8535cb3839
* cris-tdep.c (cris_get_signed_offset): Change return type to an
...
explicitly signed char.
2001-09-19 21:59:41 +00:00
Andrew Cagney
e0441cf0e1
* config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
...
function signature to match recent tracepoint.c:encode_actions
changes.
* mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.
2001-09-19 20:43:54 +00:00
Andrew Cagney
2b65245ef4
Add ui_out parameter to libgdb functions.
2001-09-18 05:00:51 +00:00
Kevin Buettner
2069d78d3c
Commit Ilya Golubev's clear_solib() fixes.
2001-09-14 00:40:29 +00:00
Jim Blandy
e8816aacae
* monitor.c (monitor_load): Don't delete symtab users, or reset
...
inferior_ptid.
2001-09-13 22:48:19 +00:00
Jim Blandy
348d75a52f
(monitor_load): Fix indentation.
2001-09-13 18:43:03 +00:00
Jim Blandy
a5666cc9b8
* rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
...
programs running on the board can produce output.
2001-09-10 23:54:16 +00:00
Jason Molenda
6d6b80e5eb
2001-09-10 Jason Molenda (jmolenda@apple.com)
...
* NEWS: "ANS/ISO C" -> "ISO C".
* MAINTAINERS (write-after-approval): Update my entry.
2001-09-10 18:13:17 +00:00
Mark Kettenis
964840f795
Fix truncated 2001-08-23 entry.
2001-09-08 23:34:53 +00:00
Mark Kettenis
df5fdb3df4
* config/xm-aix4.h (MEM_FNS_DECLARED): Removed.
2001-09-08 10:50:07 +00:00
Mark Kettenis
4ad318e604
* config/arm/xm-linux.h, config/ia64/xm-linux.h,
...
config/m68k/xm-linux.h, config/mips/xm-linux.h,
config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove
redundant inclusion of <unistd.h>.
2001-09-08 10:39:54 +00:00
Mark Kettenis
7fc73f389d
* gdbtypes.h (struct block): Add forward declaration.
2001-09-08 10:16:57 +00:00
Andrew Cagney
f9c696d277
* defs.h (enum return_reason): Renumber so that all values are
...
negative.
(RETURN_MASK): Negate reason.
(catch_exception_ftype): Declare.
(catch_exceptions): Declare.
* top.c (catcher): New function, based on catch_errors. Add in
parameter func_uiout and out parameters func_val, func_caught and
func_cleanup. Change type of func to catch_exceptions_ftype.
Save/restore uiout.
(struct catch_errors_args): Define.
(do_catch_errors): New function.
(catch_errors): Rewrite, use do_catch_errors and catcher.
(catch_exceptions): New function, use catcher.
2001-09-07 21:33:08 +00:00
Jim Blandy
a2e2dd8055
Correctly parse register values provided by the monitor.
...
* rom68k-rom.c: #include "value.h".
(is_hex_digit, hex_digit_value, is_whitespace,
rom68k_supply_one_register): New static functions.
(rom68k_supply_register): Call rom68k_supply_one_register, instead
of monitor_supply_register; the latter was incorrectly parsing
the values.
* Makefile.in (rom68k-rom.o): Note that this now #includes value.h.
2001-09-07 21:27:36 +00:00
Mark Kettenis
93befcf3d7
* config/rs6000/xm-rs6000.h (setpgrp): Remove macro. GDB defaults
...
to using setpgid if available now.
2001-09-07 15:22:11 +00:00
Keith Seitz
b381d62d0a
From Ian Roxborough <irox@redhat.com>
...
* configure.in: Use ITCL_LIB_FULL_PATH and
ITK_LIB_FULL_PATH to set Itcl and Itk dependancies
for gdb.
* configure: Regenerated.
2001-09-06 20:59:18 +00:00
Kevin Buettner
9a058a09a9
Don't use error result from find_stab_function_addr().
2001-09-06 20:50:48 +00:00
Elena Zannoni
2bf0cb6592
2001-09-05 Elena Zannoni <ezannoni@redhat.com>
...
* gdbarch.sh: Move include of dis-asm.h so it is generated earlier
in gdbarch.h.
(TARGET_PRINT_INSN): Multiarch.
* gdbarch.h: Regenerate.
* gdbarch.c: Regenerate.
* arch-utils.c (legacy_print_insn): New function.
* arch-utils.h (legacy_print_insn): Export.
* cris-tdep.c (cris_delayed_get_disassembler): Use
TARGET_PRINT_INSN, instead of tm_print_insn.
* d10v-tdep.c (print_insn): Ditto.
* d30v-tdep.c (print_insn): Ditto.
* m32r-tdep.c (dump_insn): Ditto.
* v850-tdep.c (v850_scan_prologue): Ditto.
* mcore-tdep.c (mcore_dump_insn): Ditto.
* sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.
2001-09-05 23:44:44 +00:00
Michael Snyder
a4f30b31c8
Fix typo.
2001-09-05 23:26:21 +00:00
Jim Blandy
6369010f56
* gdbtypes.h (struct type): Doc fix.
2001-09-05 23:07:32 +00:00
Elena Zannoni
d3d55eeb77
2001-09-04 Elena Zannoni <ezannoni@redhat.com>
...
From Daniel Jacobowitz <drow@mvista.com>
* dbxread.c (free_header_files): Make global.
(init_header_files): Likewise.
* stabsread.h (free_header_files): Add prototype.
(init_header_files): Likewise.
* mdebugread.c (mdebug_build_psymtabs): Initialize
properly before using the stabs debug reader.
2001-09-05 02:54:15 +00:00
Elena Zannoni
ef96bde82e
2001-09-04 Elena Zannoni <ezannoni@redhat.com>
...
From Daniel Jacobowitz <drow@mvista.com>
* dbxread.c (dbx_symfile_read): Only reinitialize
the psymbol list if mainline or if both static
and global lists are empty.
* dwarf2read.c (dwarf2_build_psymtabs): Likewise.
* dwarfread.c (dwarf_build_psymtabs): Likewise.
* xcoffread.c (xcoff_initial_scan): Likewise.
* os9kread.c (os9k_symfile_read): Likewise.
2001-09-05 02:13:11 +00:00
Elena Zannoni
16db60558d
2001-09-04 Elena Zannoni <ezannoni@redhat.com>
...
From Daniel Jacobowitz <drow@mvista.com>
* mdebugread.c (psymtab_to_symtab_1): Handle N_SO stabs without
a name specially.
2001-09-05 02:02:44 +00:00
Mark Kettenis
f77b92bf11
Make GDB use libiberty regex implementation.
...
* gdb_regex.h: Normalize protection against multiple inclusion.
Include "xregex.h" instead of "gnu-regex.h".
* cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h".
* cli/cli-decode.c: Likewise.
* Makefile.in (REGEX): Remove.
(GDB_CFLAGS): Remove reference to gnu-regex.h in comment.
(ADD_FILES, ADD_DEPS): Remove $(REGEX).
(POSSLIBS): Remove.
(TAGFILES_NO_SRCDIR): Remove $(POSSLIBS).
(irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o,
xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with
gdb_regex.h in list of dependencies.
(gnu-regex.o): Remove rule.
* gnu-regex.c, gnu-regex.h: Remove files.
2001-09-01 21:38:05 +00:00
Kevin Buettner
902d7086d7
Don't let a branch unit nop terminate the prologue scan.
2001-08-31 19:58:41 +00:00
Jim Blandy
9ec8e6a002
* symfile.c (sections_overlap): New function.
...
(map_overlay_command): Call sections_overlap, instead of using
incorrect logic to recognize overlapping sections.
2001-08-31 00:40:45 +00:00
Jim Blandy
2889e66104
* symfile.c (load_command): Invalidate the overlay cache.
2001-08-31 00:36:23 +00:00
Mark Kettenis
cd903d5356
* config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed.
2001-08-30 21:53:47 +00:00
Kevin Buettner
8ad2fcde8d
Applied Daniel Jacobowitz's patch for reattaching in the presence of
...
remote SVR4 shared libraries.
2001-08-29 19:34:08 +00:00
Andrew Cagney
e87593493c
Fix comments on `struct frame_info'.
2001-08-29 00:51:14 +00:00
Mark Kettenis
46711df821
* event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: Some
...
gratuitious whitespace changes.
[!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined.
* top.c: Remove redundant logic to define HAVE_SIGSETMASK.
(sigsetmask) Don't define macro.
(stop_sig) [HAVE_SIGPROCMASK]: Add bit of code snatched from
async_stop_sig from event-top.c.
[!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is
defined.
* configure.in (AC_CHECK_FUNCS): Put functions in alphabetical
order. Add sigsetmask.
(AC_FUNC_VFORK, AC_FUNC_ALLOCA): Reorder such that they're in
alphabetical order.
* config/xm-aix4.h, config/alpha/xm-alphalinux.h,
config/i386/xm-cygwin.h, config/rs6000/xm-rs6000.h
(HAVE_SIGSETMASK): Remove.
* aclocal.m4, config.in, configure
2001-08-27 22:39:56 +00:00
Andrew Cagney
526eeb95b8
From 2001-06-29 Andrew Cagney <ac131313@redhat.com>:
...
* config/powerpc/nbsd.mh (XM_FILE): Delete.
2001-08-27 02:22:14 +00:00
Andrew Cagney
c16ac28fb3
* doublest.h (HOST_FLOAT_FORMAT): Delete macro.
...
(HOST_DOUBLE_FORMAT): Delete macro.
2001-08-26 18:46:10 +00:00
Mark Kettenis
ceacb162a1
* config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h,
...
config/i386/xm-i386aix.h, config/m68k/xm-dpx2.h: Remove redundant
inclusion of <limits.h>.
2001-08-24 12:19:59 +00:00
Andrew Cagney
275f450c27
* regcache.c (read_register_bytes): When REGISTER_NAME indicates
...
that a register should be ignored, supply a value for the register
from the raw registers[] buffer.
2001-08-24 05:11:07 +00:00
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
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
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
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
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
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
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
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
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
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