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