This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Why can't I use "info line *address" in canned scripts?
- From: Andreas Schwab <schwab at suse dot de>
- To: Alex Bennee <kernel-hacker at bennee dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 30 Jan 2003 18:22:35 +0100
- Subject: Re: Why can't I use "info line *address" in canned scripts?
- References: <1043941567.1948.8.camel@cambridge.braddahead>
Alex Bennee <kernel-hacker@bennee.com> writes:
|> But manually doing the info line works.
|>
|> (gdb) info line *0x880157e8
|> Line 524 of "printk.c" starts at address 0x880157e4
|> <release_console_sem+100> and ends at 0x88015800
|> <release_console_sem+128>.
|>
|> Any ideas? Have I missed something obvious or triggered a bug?
What do you get when you type "info line *(0x880157e8)"?
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."