On Tuesday 30 Mar 2004 3:38 pm, mohanlal jangir wrote: > Thanks for your response. Where can I get details about these registers? > Any manuals/specifications available? I am interested to know, how many > such kinds of registers are present and what does each register signify? I don't have offhand information. You should be able to find system programmer's reference manuals intel.com -Amit > > Regards > Mohanlal > > ----- Original Message ----- > From: "Amit S. Kale" <amitkale@emsyssoft.com> > To: "mohanlal jangir" <mohanlal@samsung.com>; "Linux Newbies" > <kernelnewbies@nl.linux.org> > Sent: Tuesday, March 30, 2004 3:38 PM > Subject: Re: kdgb source query > > > On Tuesday 30 Mar 2004 2:51 pm, mohanlal jangir wrote: > > > While looking in kgdb patch source, I found frequent use of registers > > db0, > > > > db1... and dr6, dr7 etc in inline assembly code. Which are these > > registers? > > > > I know registers eax, ebx etc but never heard of these. Are these same > > > registers? If yes, then what is mapping? > > > > > > Regards > > > Mohanlal > > > > These are debug registers in x86 architecture. They are used hardware > > debugging. This includes support for watchpoints. You can specify a data > > address for a watchpoint. The watchpoint will be triggered like a > > breakpoint > > > whenever the data is modified. THis is useful if you want to know where a > > particular integer is modified in a huge program, for example. > > > > -- > > Amit Kale > > EmSysSoft (http://www.emsyssoft.com) > > KGDB: Linux Kernel Source Level Debugger (http://kgdb.sourceforge.net) -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/