Fernando Nasser
83c31e7d1e
* printcmd.c (disassemble_command): Remove obsolete function.
...
(_initialize_printcmd): Do not create disassemble command here.
* cli/cli-cmds.c (disassemble_command): New function. Implements
disassemble command.
(init_cli_cmds): Create disassemble command here instead.
* gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
which explicitly prints the zero offset as "+0".
2002-11-08 03:21:34 +00:00
Daniel Jacobowitz
8b1d7e37a4
* gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
...
numbers. Allow "foo2|selected stack frame".
* gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
* gdb.asm/asmsrc2.s: Likewise.
* gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
comments.
* gdb.asm/mips.inc: New file.
2002-10-22 01:43:37 +00:00
Michal Ludvig
be26fe0d93
2002-06-06 Michal Ludvig <mludvig@suse.cz>
...
* gdb.asm/asm-source.exp: Add x86-64 target.
* gdb.asm/x86_64.inc: New.
2002-06-06 15:19:17 +00:00
Corinna Vinschen
db5897415c
* gdb.asm/asm-source.exp: Add v850 as supported target.
...
* gdb.asm/v850.inc: New file.
2002-05-14 10:25:33 +00:00
David S. Miller
a1706bfd87
2002-04-17 David S. Miller <davem@redhat.com>
...
* gdb.asm/sparc64.inc: New file.
* gdb.asm/asm-source.exp: Handle sparc64-*-*.
2002-04-19 17:21:48 +00:00
Elena Zannoni
a73a20a2d5
2002-04-19 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.asm/asm-source.exp: Don't use a symlink, just copy the
instruction file directly into the build tree. Clean up at end of
test.
2002-04-19 16:06:59 +00:00
Elena Zannoni
0fcddd82b6
2002-04-07 Elena Zannoni <ezannoni@redhat.com>
...
Work around for PR gdb/285:
* gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2002-04-08 00:01:06 +00:00
Elena Zannoni
16a8534aff
2002-04-07 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.asm/asm-source.exp: Build symbolic link to arch specific
instructions file at run time instead of configure time.
Sometimes we run the test in a directory that is not the one we
configured in.
* gdb.asm/configure.in: Delete creation of symlink.
* gdb.asm/configure: Regenerate.
2002-04-07 23:57:23 +00:00
Daniel Jacobowitz
7cdb710751
2002-04-01 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.asm/Makefile.in: Correct dependencies.
* gdb.asm/powerpc.inc: New file.
* gdb.asm/asm-source.exp: Add PowerPC.
* gdb.asm/configure.in: Likewise.
* gdb.asm/configure: Regenerated.
2002-04-05 02:48:33 +00:00
Jim Blandy
27924826b5
* gdb.asm/asm-source.exp: Parse the output from `info sources' one
...
filename at a time, and watch for the ones we want to see.
2002-02-21 20:58:25 +00:00
Jim Blandy
ecace851a6
* gdb.asm/asm-source.exp (info symbol): Take another shot at
...
anchoring the pattern matching the entry point symbol's name.
2002-01-18 00:13:00 +00:00
Corinna Vinschen
7d159115bf
* gdb.asm/arm.inc: New file.
...
* gdb.asm/asm-source.exp: Add arm targets.
* gdb.asm/configure.in: Ditto.
* gdb.asm/configure: Recreated from configure.in.
2001-12-20 22:12:20 +00:00
Corinna Vinschen
cf599fa727
* gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
...
Substitute call to target_link by call to gdb_compile.
2001-12-20 16:06:11 +00:00
Corinna Vinschen
105ba81922
* gdb.asm/asm-source.exp: Add support for xstormy16.
...
* gdb.asm/configure.in: Ditto.
* gdb.asm/configure: Rebuild.
* gdb.asm/xstormy16.inc: New file.
2001-12-13 13:42:19 +00:00
Jim Blandy
347dc97d2d
* gdb.asm/asm-source.exp (info symbol): Anchor the pattern
...
matching the entry point symbol's name at the beginning of the
line.
2001-12-10 20:30:00 +00:00
Michael Snyder
edb6ede1be
2001-12-06 Michael Snyder <msnyder@redhat.com>
...
* gdb.asm/asm-source.exp: Add tests for info target, info symbol,
and detect whether the start symbol has a leading underscore.
2001-12-07 02:50:02 +00:00
Michael Snyder
ca9efc9063
2001-11-30 Michael Snyder <msnyder@redhat.com>
...
* gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
next, info source, info sources, info line, global and static
variables, and static functions.
* gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
* gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
* gdb.asm/asmsrc1.s: Add a static function and some variables.
* gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
* gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
(gdbasm_leave): Restore frame pointer.
(gdbasm_startup): Copy stack set-up from crt0.S.
2001-12-04 19:45:57 +00:00
Jim Blandy
68550daf9b
* gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
...
variables on the S/390, not `.word'.
2001-12-03 21:53:16 +00:00
Jim Blandy
cd5195a891
Add assembly-source tests for s390-ibm-linux.
...
* gdb.asm/s390.inc: New file.
* gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
the S/390 architecture.
* gdb.asm/configure: Regenerated.
2001-12-01 01:13:27 +00:00
Michael Snyder
756caa3d89
2001-11-21 Michael Snyder <msnyder@redhat.com>
...
* gdb.asm/sparc.inc: New file.
* gdb.asm/asm-source.exp: Recognize sparc target.
* gdb.asm/configure.in: Recognize sparc target.
* gdb.asm/configure: Regenerate.
2001-11-27 01:29:03 +00:00
Mark Kettenis
e2334072bd
* gdb.asm/configure.in: Fix recognition of ix86 target.
...
* gdb.asm/configure: Regenerate.
2001-11-24 14:43:57 +00:00
Michael Snyder
9a4d72d52a
2001-11-21 Michael Snyder <msnyder@redhat.com>
...
* gdb.asm/m32r.inc: New file.
* gdb.asm/asm-source.exp: Recognize m32r target.
* gdb.asm/configure.in: Recognize m32r target.
* gdb.asm/configure: Regenerate.
2001-11-22 01:13:10 +00:00
Michael Snyder
017ac23d72
2001-11-20 Michael Snyder <msnyder@redhat.com>
...
* gdb.asm/i386.inc: New file.
* gdb.asm/asm-source.exp: Recognize ix86 target.
* gdb.asm/configure.in: Recognize ix86 target.
* gdb.asm/configure: Regenerate.
2001-11-22 01:07:24 +00:00
Corinna Vinschen
2505098499
* gdb.asm/asm-sources.exp: Allow defining linker flags.
2001-11-14 16:37:18 +00:00
Andrew Cagney
45b074e11d
* gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
...
* gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2001-11-10 17:55:48 +00:00
Andrew Cagney
9383332cc4
* gdb.asm/asm-source.exp: Supress file, instead of skip, when not
...
implemented.
2001-11-10 01:44:43 +00:00
Michael Snyder
b57034379c
2001-11-07 Michael Snyder <msnyder@redhat.com>
...
* gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
includes a stack frame for "start".
2001-11-08 19:06:18 +00:00
Kevin Buettner
b6ba6518e9
Update/correct copyright notices.
2001-03-06 08:22:02 +00:00
Andrew Cagney
78492fde3d
Rewrite gdb.asm so that it doesn't assume a C comiler (or any C
...
support).
2000-07-04 02:47:08 +00:00
Stan Shebs
c906108c21
Initial creation of sourceware repository
1999-04-16 01:35:26 +00:00
Stan Shebs
071ea11e85
Initial creation of sourceware repository
1999-04-16 01:34:07 +00:00
Doug Evans
aa3b6d276b
* gdb.asm/common.inc: New file.
...
* gdb.asm/d10v.inc: New file.
* asm-source.exp: Pass -I's to gas to find .inc files.
Update line numbers in expected output.
* asmsrc1.s: Rewrite.
* asmsrc2.s: Rewrite.
* configure.in: Create arch.inc symlink.
* configure: Regenerate.
* Makefile.in (distclean): Delete arch.inc.
1998-05-13 20:38:50 +00:00
Doug Evans
681a9f4adb
snapshot
1998-03-13 01:36:59 +00:00
Doug Evans
89d7d8094b
regenerate
1998-03-13 00:36:03 +00:00
Doug Evans
cd7da41008
configure script for gdb.asm, initial source debugging test.
1998-03-13 00:35:09 +00:00
Doug Evans
b6f386f5de
Makefile.in for gdb.asm.
1998-03-13 00:28:30 +00:00