This is the mail archive of the gdb@sources.redhat.com 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: Why can't I use "info line *address" in canned scripts?


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."


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