Andrew Cagney
d929b26ff1
Move some of the MIPS n32 ABI configuration options into the mips
...
multi-arch vector.
2000-05-08 02:53:04 +00:00
Andrew Cagney
327fce13c5
* procfs.c (PROCFS_TRACE): Delete definition.
...
* proc-utils.h (PROCFS_NOTE, PROC_PRETTYFPRINT_STATUS): Always define.
2000-05-07 23:09:45 +00:00
Eli Zaretskii
502d24d454
Typo correction, again from Brian Youmans.
2000-05-07 10:57:54 +00:00
Eli Zaretskii
d68fc55938
* gdbmi.texinfo: Lots of typos and grammar fixes from Brian
...
Youmans <3diff@flib.gnu.ai.mit.edu>.
2000-05-07 10:55:24 +00:00
Michael Snyder
e919ea793d
2000-04-28 Michael Snyder <msnyder@seadog.cygnus.com>
...
* gdb.base/break.exp: When compiled with -O2 optimization,
gdb may not stop at the first line of main, due to code motion.
2000-05-05 21:50:23 +00:00
Michael Snyder
103b3ef54f
2000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>
...
* procfs.c: Cleanup of procfs tracing. Move defines and
prototypes to proc-utils.h
* proc-utils.h: Define tracing macros. Declare trace functions.
* proc-api.c: Make procfs tracing a runtime option.
(prepare_to_trace): New function, abstracted out of several
places. Open a trace file if one is required.
(ioctl_with_trace, write_with_trace, open_with_trace,
close_with_trace, wait_with_trace, lseek_with_trace):
Report errno if an error occurs in a system call.
(write_with_trace): Make 2nd arg void *, to agree with write.
2000-05-05 20:56:10 +00:00
Elena Zannoni
b8d39351ea
2000-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
...
* elfread.c (elf_symtab_read): The calculation of 'offset'
must be done for each symbol, not just once. The index
used must be the index of the section where 'sym' resides,
not .text.
2000-05-05 19:09:27 +00:00
Michael Snyder
6c1a54b22b
2000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>
...
* procfs.c (many functions): change int cmd; to long cmd;
Solaris /proc API calls this parameter a long, and requires it
for 64-bit hosts (where sizeof(long) != sizeof(int)). UnixWare
calls it an int, but on existing UnixWare hosts, int and long
are the same size. So long it must be. If a future UnixWare
version has problems with this, we'll have to use autoconf.
* proc-api.c (write_with_trace): use long instead of int.
2000-05-05 18:29:33 +00:00
Michael Snyder
f5b8946ca6
2000-05-03 Michael Snyder <msnyder@seadog.cygnus.com>
...
* solib.c (elf_locate_base, info_sharedlibrary_command):
Look at the bfd to determine if it is elf32 or elf64, rather
than using an ifdef. This makes it runtime teststable and
multi-arch.
2000-05-05 18:14:27 +00:00
Mark Kettenis
318b21ef35
* i386-linux-nat.c: Define PT_READ_U and PT_WRITE_U if they're not
...
already defined.
2000-05-04 19:25:57 +00:00
Mark Kettenis
e441088d68
* infrun.c (handle_inferior_event): Add missing call to keep_going
...
and missing return when handling an ordinary signal from the
inferior.
2000-05-04 17:32:49 +00:00
Elena Zannoni
b8fbeb1874
Elena Zannoni <ezannoni@kwikemart.cygnus.com>
...
* objfiles.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
SECT_OFF_RODATA): Define as functions of OBJFILE. Add
sect_index_text, sect_index_data, sect_index_rodata,
sect_index_bss to objfile structure.
* gdb-stabs.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
SECT_OFF_RODATA): Remove.
* objfiles.c (allocate_objfile): Initialize
sect_index_{text,data,bss,rodata} to -1, for error detection.
* symfile.c (default_symfile_offsets): Initialize
sect_index_{text,data,bss,rodata} from bfd information.
* xcoffread.c (xcoff_symfile_offsets): Ditto.
* somread.c (som_symfile_offsets): Initialize
sect_index_{text,data,bss,rodata}.
* coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c,
hp-symtab-read.c, hpread.c, mdebugread.c, minsyms.c,
mipsread.c, objfiles.c, os9kread.c, pa64solib.c, partial-stab.h,
remote-os9k.c, remote-vx.c, remote.c, rs6000-nat.c, somsolib.c,
stabsread.c, symfile.c, xcoffread.c:
Update use of SECT_OFF_{TEXT,DATA,BSS,RODATA} to depend on the
current objfile.
* xcoffread.c: Add new field objfile to find_targ_sec_arg.
2000-05-04 16:52:34 +00:00
Andrew Cagney
70d1b0e820
Remove more defunct macros.
2000-05-04 14:16:51 +00:00
Andrew Cagney
6878c38321
Cleanups. Zap unused macros.
2000-05-04 11:10:22 +00:00
Daniel Berlin
5ae3d4361a
Insert missing entry
2000-05-03 21:55:28 +00:00
Mark Kettenis
d41707c868
* infrun.c (handle_inferior_event): When doing a "next", and
...
stepping out of a signal handler into its calling trampoline
ignore the value of step_frame_address.
(step_over_function): Only modify step_resume_breakpoint->frame if
the value of step_frame_address is non-zero.
2000-05-03 20:16:05 +00:00
Michael Snyder
86110418ab
2000-05-03 Michael Snyder <msnyder@seadog.cygnus.com>
...
* monitor.c (monitor_fetch_register): MAX_REGISTER_RAW_SIZE
is not static in the MULTI_ARCH world, so don't use it in a
static array declaration.
2000-05-03 18:21:52 +00:00
Elena Zannoni
54cf9c0344
Tue May 2 13:17:21 2000 Elena Zannoni (ezannoni@makita.cygnus.com)
...
* symtab.c (in_prologue): From Jim Blandy. Rewrite, more
intelligently, making sure we use the information from the
symbol tables fully.
2000-05-03 13:45:17 +00:00
H.J. Lu
02240683a5
2000-05-02 H.J. Lu <hjl@gnu.org>
...
* ia64-tdep.c (ia64_gdbarch_init): Reference to ELFOSABI_NONE
instead of ELFOSABI_SYSV.
2000-05-02 17:57:02 +00:00
Andrew Cagney
0386318224
Multi-arch NPC_REGNUM NNPC_REGNUM.
2000-05-02 09:36:57 +00:00
Andrew Cagney
d7446e7568
revert 1.9. Not approved.
2000-05-02 08:59:35 +00:00
Andrew Cagney
33489c5bed
re-do how gdbarch provides non-multi arch defaults so that non-
...
multi-arch gdbservers can continue to compile.
2000-05-02 08:57:21 +00:00
Andrew Cagney
5d15e25250
Add JimB to global checkin list
2000-05-02 08:34:08 +00:00
Andrew Cagney
2ea493eb71
Add ElenaZ to symtabs maintainers list.
2000-05-02 07:41:04 +00:00
Andrew Cagney
258e969385
Make Syd Polk principal maintainer.
2000-05-02 07:30:40 +00:00
Nicholas Duffek
bf0184bec9
* gdb.texinfo (Command Files): Mention -x, use @enumerate for
...
startup sequence, minor edits.
2000-05-01 21:22:42 +00:00
Stan Shebs
5330533d30
Remove obsolete Gould configuration:
...
* configure.host, configure.tgt: Remove Gould configs.
* Makefile.in: Remove Gould-related actions.
* gould-xdep.c, gould-tdep.c, config/gould/*: Remove files.
* NEWS: Mention removal.
2000-05-01 16:12:10 +00:00
Jim Blandy
e5419804c4
* gdbint.texinfo (RETURN_VALUE_ON_STACK): Document.
2000-05-01 16:12:01 +00:00
Eli Zaretskii
41afff9a41
* annotate.texi: Remove "@syncodeindex fn cp", it causes grief in
...
TeX.
* gdb.texinfo: Add "@syncodeindex fn cp". Convert all entries
"@kindex f" into "@kindex f (foo)", otherwise we get index entries
like `n' and `s' which look weird. Convert some of the @kindex to
@vindex, when they refer to variables, not commands.
2000-05-01 08:34:36 +00:00
Andrew Cagney
7d4187854f
From 2000-04-28 Andreas Jaeger <aj@suse.de>:
...
Properly check for GCC version number.
2000-05-01 05:45:36 +00:00
Andrew Cagney
33e16fad05
Do not use @value{GDBN in @nodes.
2000-05-01 04:34:06 +00:00
Mark Kettenis
a6abb2c0e9
2000-04-30 Mark Kettenis <kettenis@gnu.org>
...
Fix single-stepping out of signal trampolines.
* config/i386/nm-linux.h (CHILD_RESUME): Define.
* i386-linux-nat.c (child_resume): New function.
2000-04-30 09:34:13 +00:00
Andrew Cagney
dad41f9aa4
Convert SKIP_PROLOGUE_FRAMELESS_P into PROLOGUE_FRAMELESS_P.
2000-04-29 08:55:45 +00:00
Andrew Cagney
1bd54964ac
From "Serge Nikulin" <nikulin@actsw.amat.com>:
...
Don't trip on NULL function name in sigtramp.
2000-04-28 05:50:19 +00:00
Michael Snyder
06b8da7db5
2000-04-27 Michael Snyder <msnyder@seadog.cygnus.com>
...
* gdbarch.sh (d10v_daddr_p, d10v_iaddr_p, d10v_convert_daddr_to_raw,
d10v_convert_iaddr_to_raw): make these multi-arch functions optional.
* gdbarch.c, gdbarch.h: regenerate
2000-04-28 05:21:23 +00:00
Andrew Cagney
2b5fe715f5
Cast function to correct type.
2000-04-28 03:10:44 +00:00
Michael Snyder
cbda0a99a3
2000-04-27 Michael Snyder <msnyder@seadog.cygnus.com>
...
* jv-valprint.c (java_val_print): Add arg declaration,
fix compiler warning.
* corelow.c (core_open): Call set_gdbarch_from_file so that
gdbarch becomes aware of the architecture encoded in the
corefile.
* findvar.c (write_register_gen): Export this useful interface.
* value.h (write_register_gen): Declare.
2000-04-27 15:33:01 +00:00
Elena Zannoni
a034fba4ec
2000-04-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
...
* cxux-nat.c (add_shared_symbol_files): Don't treat .text section
as special in the section_addr_info structure.
* pa64solib.c (pa64_solib_add_solib_objfile): Ditto.
* osfsolib.c (symbol_add_stub): Ditto.
* irix5-nat.c (symbol_add_stub): Ditto.
2000-04-27 15:11:14 +00:00
Andrew Cagney
28d069e647
Include "arch-utils.h".
2000-04-27 04:25:45 +00:00
Michael Snyder
02d5252fb1
2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
...
* procfs.c (comments): Eliminate "???" in comments, which GCC
wants to interpret as a trigraph. (fill_gregset, supply_gregset,
fill_fpregset, supply_fpregset): declare.
(procfs_wait): Sysargs is a long, change printf format to match.
(test-mapping, mapping_test, test_mapping_cmd) Remove (test only).
2000-04-27 01:04:52 +00:00
Michael Snyder
b943d152e8
* proc-api.c (write_with_trace): Change 'arg' from long to int.
...
Treat 'off_t' and 'size_t' as unsigned long in printfs.
(lseek_with_trace): Treat 'off_t' as unsigned long in printf.
2000-04-27 00:53:41 +00:00
Michael Snyder
1960c4001c
2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
...
* gdb.base/call-ar-st.exp: Bail out if target is sparclet.
This test depends on parsing the printf output from the target.
Since the sparclet stub doesn't do stdio, this will never work.
* gdb.base/call-rt-st.exp: ditto.
* gdb.base/call-strs: ditto.
2000-04-27 00:45:19 +00:00
Michael Snyder
fa4e99ecee
2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
...
* wrapper.h: fix minor comment typo.
2000-04-27 00:41:49 +00:00
Andrew Cagney
b2f4b24dd7
Document IRIX->ARM cross compile problem.
2000-04-27 00:23:02 +00:00
Michael Snyder
4261bedc92
2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
...
* utils.c (internal_verror): Call target_terminal_ours.
2000-04-27 00:15:14 +00:00
Andrew Cagney
8b0ceefcd4
Add section discussing future changes to output syntax.
2000-04-26 23:39:53 +00:00
Kevin Buettner
146bcf0cb0
Add mapping ia64-linux-nat.c -> ia64linux-nat.c.
2000-04-26 21:27:35 +00:00
Philippe De Muyter
c13c43fdda
* ax-gdb.c (agent_command): Remove now useless cast of
...
`free_current_contents' when passed to `make_cleanup'.
* coffread.c (coff_symfile_read): Ditto.
* dwarf2read.c (dwarf2_add_member_fn, read_array_type): Ditto.
(dwarf_decode_lines): Ditto.
* eval.c (parse_and_eval_address, parse_and_eval_address_1): Ditto.
(parse_and_eval, parse_to_comma_and_eval): Ditto.
* parse.c (parse_exp_1): Ditto.
* printcmd.c (print_command_1, output_command, set_command): Ditto.
(x_command, print_frame_args, printf_command): Ditto.
* top.c (execute_control_command): Ditto.
* tracepoint.c (validate_actionline): Ditto.
* typeprint.c (whatis_exp, ptype_command): Ditto.
(maintenance_print_type): Ditto.
2000-04-26 12:41:48 +00:00
Andrew Cagney
4fd99b5a5d
Document bfd/doc/Makefile.in TEXINPUTS problem.
2000-04-26 08:12:39 +00:00
Kevin Buettner
8064c6ae87
Add arch-utils.h to IA-64 *-tdep.c files.
2000-04-26 07:16:15 +00:00