* UST integration is broken
@ 2012-01-07 2:38 Sergio Durigan Junior
2012-01-07 3:20 ` Sergio Durigan Junior
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Sergio Durigan Junior @ 2012-01-07 2:38 UTC (permalink / raw)
To: gdb; +Cc: Pedro Alves, Tom Tromey
Hello,
I am working on something related to static tracepoints markers, which
is related to UST (http://lttng.org/ust). I did some modifications on
the code, and was trying to test the result, when I realized I did not
have UST installed here. Ok, so I decided to compile it and install
locally just for a quick test, and after some time struggling with
compilation flags, I noticed that the current UST does not support GDB
anymore. For more information, see this commit:
http://git.lttng.org/?p=ust.git;a=commit;h=fe566790e6be3f27f0befd85b715a3e84977bf6c
I also noticed that the header file ust/ust.h is not installed, thus
making the configure process useless. I am sending this message because
I am in doubt about what to do: should we completely remove the support
from GDB (since according to the commit message above, the
implementation is going to be revamp'ed), or just temporarily disable
it? I was going to send a patch for the latter, but decided to ask
first.
Thanks,
Sergio.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: UST integration is broken
2012-01-07 2:38 UST integration is broken Sergio Durigan Junior
@ 2012-01-07 3:20 ` Sergio Durigan Junior
2012-01-09 14:52 ` Tom Tromey
2012-01-09 15:58 ` Yao Qi
2 siblings, 0 replies; 4+ messages in thread
From: Sergio Durigan Junior @ 2012-01-07 3:20 UTC (permalink / raw)
To: gdb; +Cc: Pedro Alves, Tom Tromey
Sergio Durigan Junior <sergiodj@redhat.com> writes:
> I also noticed that the header file ust/ust.h is not installed, thus
> making the configure process useless. I am sending this message because
> I am in doubt about what to do: should we completely remove the support
> from GDB (since according to the commit message above, the
> implementation is going to be revamp'ed), or just temporarily disable
> it? I was going to send a patch for the latter, but decided to ask
> first.
Or we could just check for the UST version, and not compile if it is
greater than XYZ.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: UST integration is broken
2012-01-07 2:38 UST integration is broken Sergio Durigan Junior
2012-01-07 3:20 ` Sergio Durigan Junior
@ 2012-01-09 14:52 ` Tom Tromey
2012-01-09 15:58 ` Yao Qi
2 siblings, 0 replies; 4+ messages in thread
From: Tom Tromey @ 2012-01-09 14:52 UTC (permalink / raw)
To: Sergio Durigan Junior; +Cc: gdb, Pedro Alves
>>>>> "Sergio" == Sergio Durigan Junior <sergiodj@redhat.com> writes:
Sergio> I also noticed that the header file ust/ust.h is not installed, thus
Sergio> making the configure process useless. I am sending this message because
Sergio> I am in doubt about what to do: should we completely remove the support
Sergio> from GDB (since according to the commit message above, the
Sergio> implementation is going to be revamp'ed), or just temporarily disable
Sergio> it? I was going to send a patch for the latter, but decided to ask
Sergio> first.
I would just leave things as they are. When UST starts using the SDT
probes, we can revisit the situation.
Meanwhile, for your testing, I would just use an older version of UST.
Tom
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: UST integration is broken
2012-01-07 2:38 UST integration is broken Sergio Durigan Junior
2012-01-07 3:20 ` Sergio Durigan Junior
2012-01-09 14:52 ` Tom Tromey
@ 2012-01-09 15:58 ` Yao Qi
2 siblings, 0 replies; 4+ messages in thread
From: Yao Qi @ 2012-01-09 15:58 UTC (permalink / raw)
To: gdb
On 01/07/2012 10:37 AM, Sergio Durigan Junior wrote:
> I am working on something related to static tracepoints markers, which
> is related to UST (http://lttng.org/ust). I did some modifications on
> the code, and was trying to test the result, when I realized I did not
> have UST installed here. Ok, so I decided to compile it and install
> locally just for a quick test, and after some time struggling with
> compilation flags, I noticed that the current UST does not support GDB
> anymore. For more information, see this commit:
>
> http://git.lttng.org/?p=ust.git;a=commit;h=fe566790e6be3f27f0befd85b715a3e84977bf6c
>
libinproctrace.so is unable to build with UST after 0.11
release. GDB support in UST was temporarily removed from UST by the
commit you pointed out. GDB CVS trunk is still able to build with UST
0.11 and URCU 0.5.3.
> I also noticed that the header file ust/ust.h is not installed, thus
> making the configure process useless. I am sending this message because
> I am in doubt about what to do: should we completely remove the support
> from GDB (since according to the commit message above, the
> implementation is going to be revamp'ed), or just temporarily disable
> it? I was going to send a patch for the latter, but decided to ask
> first.
If UST 0.11 is installed, everything still works well, otherwise, UST
stuff will not be compiled. So I disagree to disable it temporarily.
There has been a PR for this issue,
gdb 7.2 can't build with lttng-ust 0.12
http://sourceware.org/bugzilla/show_bug.cgi?id=12699
--
Yao (é½å°§)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-01-09 15:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-07 2:38 UST integration is broken Sergio Durigan Junior
2012-01-07 3:20 ` Sergio Durigan Junior
2012-01-09 14:52 ` Tom Tromey
2012-01-09 15:58 ` Yao Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox