diff options
author | Yufeng Zhang <yufeng.zhang@arm.com> | 2013-06-26 10:52:12 +0000 |
---|---|---|
committer | Yufeng Zhang <yufeng.zhang@arm.com> | 2013-06-26 10:52:12 +0000 |
commit | 2d426575611d4ac76dbe72e5c974fd18a4503740 (patch) | |
tree | 5fccbff642a15d95bdb8621627620c3a5a2c7b3d /bfd/Makefile.am | |
parent | caed712042c10c84bbf25a266988874679813689 (diff) | |
download | binutils-gdb-2d426575611d4ac76dbe72e5c974fd18a4503740.tar.gz |
[AArch64, ILP32] 5/6 Improve the debugging experience with the generated file
bfd/
* Makefile.am (elf32-aarch64.c): Add a #line cpp directive at the
beginning of the generated file.
(elf64-aarch64.c): Likewise.
* Makefile.in: Re-generated.
Diffstat (limited to 'bfd/Makefile.am')
-rw-r--r-- | bfd/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bfd/Makefile.am b/bfd/Makefile.am index 93a97a0de35..6f0e4772eed 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -917,12 +917,14 @@ elf64-target.h : elfxx-target.h elf32-aarch64.c : elfnn-aarch64.c rm -f elf32-aarch64.c - sed -e s/NN/32/g < $(srcdir)/elfnn-aarch64.c > elf32-aarch64.new + echo "#line 1 \"$(srcdir)/elfnn-aarch64.c\"" > elf32-aarch64.new + sed -e s/NN/32/g < $(srcdir)/elfnn-aarch64.c >> elf32-aarch64.new mv -f elf32-aarch64.new elf32-aarch64.c elf64-aarch64.c : elfnn-aarch64.c rm -f elf64-aarch64.c - sed -e s/NN/64/g < $(srcdir)/elfnn-aarch64.c > elf64-aarch64.new + echo "#line 1 \"$(srcdir)/elfnn-aarch64.c\"" > elf64-aarch64.new + sed -e s/NN/64/g < $(srcdir)/elfnn-aarch64.c >> elf64-aarch64.new mv -f elf64-aarch64.new elf64-aarch64.c elf32-ia64.c : elfnn-ia64.c |