This is the mail archive of the gdb@sourceware.org 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: arm-elf and mips-deb-linux gdb


On Sat, Jun 24, 2006 at 05:19:04PM +0600, Niklaus wrote:
> Hi,
> i just built a cross compiler with target=arm-elf .Then compiled an
> program first.c
> which contained
> 
> 1 int main()
> 2 {
> 3 int i;
> 4 for(i=0;i<10;i++)
> 5 ;
> 6 return i;
> 8  }
> 
> now i built gdb with target=arm-elf and ran in simulator mode like
> 
> target sim
> load first
> b 4
> 
> run
> 
> it break
> 
> but when i do
> b 5
> it goes into an infinite loop and i have to interrupt it.

The most important thing in a bug report is being specific.  Please
show us a complete log of the GDB session.

> The second questions is
> i built a mips-deb-linux helloworld program with cross gcc-glibc.
> 
> not under mips-deb-linux-gdb
> 
> the same program doesn't even load
> it says vma something

The MIPS simulator can not run Linux binaries.

-- 
Daniel Jacobowitz
CodeSourcery


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