Andrew Cagney
0714963c79
2003-07-15 Andrew Cagney <cagney@redhat.com>
...
* frame.c (get_prev_frame): Move disabled inside_entry_func to
before code inhibiting repeated unwind attempts. Add to
commentary on that test's problems.
* blockframe.c (inside_main_func): Look for "main" in the minimal
symbol table.
* d10v-tdep.c (d10v_frame_this_id): Delete check that frames are
identical.
Index: testsuite/ChangeLog
2003-07-15 Andrew Cagney <cagney@redhat.com>
* gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
2003-07-15 17:23:32 +00:00
Andreas Schwab
2705e97210
* gdb.asm/m68k.inc: New file.
...
* gdb.asm/asm-source.exp: Use it for m68k-*-*.
2003-07-07 14:48:50 +00:00
Daniel Jacobowitz
2c16140788
* gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
...
of globalvar.
2003-06-02 03:09:32 +00:00
Mark Kettenis
572eb74696
* gdb.asm/asm-source.exp: Check for memory read errors in
...
disassembler test on *BSD too.
2003-06-01 11:37:34 +00:00
Richard Henderson
9e9617a51f
* gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
...
for .frame.
(gdbasm_call): Lose ldgp.
(gdbasm_startup): Add frame information.
* gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
2003-06-01 07:16:05 +00:00
Mark Kettenis
10059fdf95
* gdb.asm/asm-source.exp: Make sure the final link succeeds on
...
FreeBSD.
2003-05-30 17:45:50 +00:00
Richard Henderson
acf4b81681
* gdb.asm/alpha.inc: New file.
...
* gdb.asm/asm-source.exp: Use it.
2003-05-30 02:51:46 +00:00
Jim Blandy
09bf6082f5
Add support for assembly source testing on the s390x.
...
* gdb.asm/asm-source.exp: Add a case for the s390x-*-*
architecture.
* gdb.asm/s390x.inc: New file.
2003-05-07 21:52:53 +00:00
Jim Blandy
be375bae05
* gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
...
succession of 'if' statements.
2003-05-07 21:51:06 +00:00
Andrew Cagney
2b6fd0d87d
2003-05-01 Andrew Cagney <cagney@redhat.com>
...
* disasm.c (gdb_disassemble_from_exec): Delete global variable.
(gdb_disassembly): Make "di" non static, always initialize and
cleanup. Always use dis_asm_read_memory.
(gdb_dis_asm_read_memory): Delete function.
2003-05-01 Andrew Cagney <cagney@redhat.com>
* gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
variable do not give memory errors.
2003-05-01 23:21:08 +00:00
Stephane Carrez
71b10041ee
* gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
...
* gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2003-03-21 20:34:38 +00:00
Corinna Vinschen
a955b5bb63
* gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
...
Cygwin native.
2003-03-20 12:57:48 +00:00
Mark Salter
5ac125ce75
Clear frame pointer, not sp.
2003-02-01 14:29:12 +00:00
Elena Zannoni
f2dd3617b5
2003-01-20 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
allow for different test tree configurations. Update some
tescases accordingly.
* gdb.arch/altivec-regs.exp: Ditto.
* gdb.asm/asm-source.exp: Ditto.
* gdb.base/advance.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/mips_pro.exp: Ditto.
* gdb.base/overlays.exp: Ditto.
* gdb.base/relocate.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/step-line.exp: Ditto.
* gdb.base/step-test.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2003-01-20 15:40:07 +00:00
Daniel Jacobowitz
696d5a5b84
* Makefile.in (ALL_SUBDIRS): New variable.
...
(subdirs, clean, distclean): Use it.
* gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
regenerating Makefile, since it is generated from the top level.
* gdb.asm/Makefile.in: Likewise.
* gdb.base/Makefile.in: Likewise.
* gdb.c++/Makefile.in: Likewise.
* gdb.disasm/Makefile.in: Likewise.
* gdb.java/Makefile.in: Likewise.
* gdb.mi/Makefile.in: Likewise.
* gdb.threads/Makefile.in: Likewise.
* gdb.trace/Makefile.in: Likewise.
2003-01-09 18:50:28 +00:00
Mark Kettenis
dc62bfc2fc
* configure.in: Call AC_CONFIG_HEADER. Don't call
...
AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
aforementioned directories in the AC_OUPUT call.
* config.hin: New file.
* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
gdb.threads/killed.exp, gdb.threads/print-threads.exp,
gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
pass -I$objdir instead of -I$objdir/$subdir in compilation.
* gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
gdb.threads/configure.in, gdb.threads/configure,
gdb.threads/config.in, gdb.trace/configure.in,
gdb.trace/configure: Removed.
2003-01-04 15:37:40 +00:00
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