Re: arm linux with gdb

From: Fred Viles (fv+abuse_at_nospam.epitools.com)
Date: 07/26/03


Date: Sat, 26 Jul 2003 06:06:43 GMT


"Tauno Voipio" <tauno.voipio@iki.fi.SPAMBAIT_REMOVE.invalid> wrote
in news:LHeOa.116$Ai4.19@read3.inet.fi:

>...
> The problem I had with ARM remote GDB is that it assumes
> hardware breakpoints. A source level patch is needed to change
> to software breakpoints.

Really? That's odd, I found the exact opposite when configuring GDB
5.3 with --target=arm-elf. I had to make changes to
config/arm/tm-embed.h to get GDB to believe that "target remote"
targets support hardware breakpoints and allow the hbreak command to
be used.

- Fred



Relevant Pages

  • Re: arm linux with gdb
    ... >> The problem I had with ARM remote GDB is that it assumes ... A source level patch is needed to change ... > targets support hardware breakpoints and allow the hbreak command to ... Tauno Voipio ...
    (comp.os.linux.embedded)
  • gdb bug on Fedora Core 3?
    ... char *str; ... gdb testgdb test ... Could not remove hardware watchpoint 2. ... Could not insert hardware breakpoints: ...
    (linux.redhat)
  • Re: [patch 16/16] Add hardware breakpoint support for i386
    ... >This adds hardware breakpoint support for i386. ... Hardware breakpoints must be per cpu, ... over applications that are using gdb, ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)