Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.system > #363

Re: GDB remote debugging with ext2 regular file I/O operation?

From Cong Wang <xiyou.wangcong@gmail.com>
Newsgroups comp.os.linux.development.system
Subject Re: GDB remote debugging with ext2 regular file I/O operation?
Date 2011-12-24 15:11 +0000
Organization A noiseless patient Spider
Message-ID <jd4q3e$9af$2@wangcong.dont-email.me> (permalink)
References <c02d71af-b707-465d-8b54-71df4f7c6789@d37g2000prg.googlegroups.com>

Show all headers | View raw


On Wed, 09 Nov 2011 at 14:34 GMT, 史列因 <slain.dev@gmail.com> wrote:
> I'm trying to find out how ext2 do really work when it read regular
> file from hard disk because I'm confused by just reading  the kernel
> codes.
>
...
>
> I've tried some other way to trace it but does not get anything.
> According to the source code, I set a breakpoint at
> generic_aio_read(), and I run "cat file" on the guest, but the GDB on
> the host show nothing.

Have you tried ftrace provided by kernel?

Back to comp.os.linux.development.system | Previous | NextPrevious in thread | Find similar


Thread

GDB remote debugging with ext2 regular file I/O operation? 史列因 <slain.dev@gmail.com> - 2011-11-09 06:34 -0800
  Re: GDB remote debugging with ext2 regular file I/O operation? Cong Wang <xiyou.wangcong@gmail.com> - 2011-12-24 15:11 +0000

csiph-web