This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Makefile.in includes linux-record.c to be common for all arch. (arm-reversible>phase-3)


please ind the latest patch which includes compilation of linux-record for ARM.

diff -urN orig/configure.tgt new/configure.tgt
--- orig/configure.tgt	2012-06-18 12:36:47.274501400 +0530
+++ new/configure.tgt	2012-06-18 12:31:47.335501400 +0530
@@ -76,7 +76,7 @@
 arm*-*-linux*)
 	# Target: ARM based machine running GNU/Linux
 	gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \
-			solib-svr4.o symfile-mem.o linux-tdep.o"
+			solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
 	build_gdbserver=yes
 	;;
 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)

ok to check in ?

Regards,
Oza.

On Fri, Jun 8, 2012 at 6:13 PM, oza Pawandeep <oza.pawandeep@gmail.com> wrote:
> ok. It is clear now.
> shall incorporate linux-record where Yao suggested.
>
> Regards,
> Oza.
>
> On Fri, Jun 8, 2012 at 11:39 AM, Matt Rice <ratmice@gmail.com> wrote:
>> On Thu, Jun 7, 2012 at 10:20 AM, oza Pawandeep <oza.pawandeep@gmail.com> wrote:
>>> ok. sure will add it there as it is not currently linking.
>>> but on the contrary 'record.o' is also under the same section
>>> COMMON_OBS, which is also not required where no record support.
>>> hence it is confusing.
>>
>> I think that because record.o implements gdb commands, we want
>> commands to be available universally
>> e.g. we want an error that support for a command is not available in a
>> build of gdb, rather than 'Undefined command.'
>>
>> where linux-record appears to be plumbing, thus not necessary.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]