Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] Help: Need instruction sequence for gdb breakpoint
@ 2003-08-04 10:37 Lev Assinovsky
  2003-08-19 10:28 ` Thibaut VARENE
  0 siblings, 1 reply; 9+ messages in thread
From: Lev Assinovsky @ 2003-08-04 10:37 UTC (permalink / raw)
  To: parisc-linux

Hello all!
I badly need pa-risc 1.1 instruction sequence suitable for gdb.
I would like to implement "hard breakpoint".=20
I tried "BREAK 4,8" - gdb stops but can't continue.
Any help will be appreciated!

Sincerely,=20
----
Lev Assinovsky
Aelita Software Corporation
O&S Core Division, Programmer
ICQ# 165072909

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [parisc-linux] Help: Need instruction sequence for gdb breakpoint
  2003-08-04 10:37 Lev Assinovsky
@ 2003-08-19 10:28 ` Thibaut VARENE
  0 siblings, 0 replies; 9+ messages in thread
From: Thibaut VARENE @ 2003-08-19 10:28 UTC (permalink / raw)
  To: Lev Assinovsky; +Cc: parisc-linux

On Mon, 4 Aug 2003 14:37:13 +0400
"Lev Assinovsky" <LAssinovsky@algorithm.aelita.com> wrote:

> Hello all!
> I badly need pa-risc 1.1 instruction sequence suitable for gdb.
> I would like to implement "hard breakpoint". 
> I tried "BREAK 4,8" - gdb stops but can't continue.
> Any help will be appreciated!
> 

We've looked into this already, and as far as we could find out, there is
no hardware support for hardware breakpoints on parisc.
They'd have to be emulated.

You can take a look at what we did for kgdb by checking this page:
http://pateam.esiee.fr/kgdb.html

Anyway, as far as i know, gdb isn't really supported for hppa.

HTH,


Thibaut VARENE
The PA/Linux ESIEE Team
http://pateam.esiee.fr/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [parisc-linux] Help: Need instruction sequence for gdb breakpoint
@ 2003-08-19 10:37 Lev Assinovsky
  0 siblings, 0 replies; 9+ messages in thread
From: Lev Assinovsky @ 2003-08-19 10:37 UTC (permalink / raw)
  To: Thibaut VARENE; +Cc: parisc-linux

What is BREAK instruction for?

----
Lev Assinovsky
Aelita Software Corporation
O&S Core Division, Programmer
ICQ# 165072909


> -----Original Message-----
> From: Thibaut VARENE [mailto:varenet@esiee.fr]
> Sent: Tuesday, August 19, 2003 2:29 PM
> To: Lev Assinovsky
> Cc: parisc-linux@lists.parisc-linux.org
> Subject: Re: [parisc-linux] Help: Need instruction sequence for gdb
> breakpoint
>=20
>=20
> On Mon, 4 Aug 2003 14:37:13 +0400
> "Lev Assinovsky" <LAssinovsky@algorithm.aelita.com> wrote:
>=20
> > Hello all!
> > I badly need pa-risc 1.1 instruction sequence suitable for gdb.
> > I would like to implement "hard breakpoint".=20
> > I tried "BREAK 4,8" - gdb stops but can't continue.
> > Any help will be appreciated!
> >=20
>=20
> We've looked into this already, and as far as we could find=20
> out, there is
> no hardware support for hardware breakpoints on parisc.
> They'd have to be emulated.
>=20
> You can take a look at what we did for kgdb by checking this page:
> http://pateam.esiee.fr/kgdb.html
>=20
> Anyway, as far as i know, gdb isn't really supported for hppa.
>=20
> HTH,
>=20
>=20
> Thibaut VARENE
> The PA/Linux ESIEE Team
> http://pateam.esiee.fr/
>=20

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [parisc-linux] Help: Need instruction sequence for gdb breakpoint
@ 2003-08-19 10:47 Lev Assinovsky
  2003-08-20  4:37 ` Grant Grundler
  0 siblings, 1 reply; 9+ messages in thread
From: Lev Assinovsky @ 2003-08-19 10:47 UTC (permalink / raw)
  To: parisc-linux

Ok! But what's BREAK instruction for?
Besides gdb works for me on HPUX 11.00

----
Lev Assinovsky
Aelita Software Corporation
O&S Core Division, Programmer
ICQ# 165072909


> -----Original Message-----
> From: Thibaut VARENE [mailto:varenet@esiee.fr]
> Sent: Tuesday, August 19, 2003 2:29 PM
> To: Lev Assinovsky
> Cc: parisc-linux@lists.parisc-linux.org
> Subject: Re: [parisc-linux] Help: Need instruction sequence for gdb
> breakpoint
>=20
>=20
> On Mon, 4 Aug 2003 14:37:13 +0400
> "Lev Assinovsky" <LAssinovsky@algorithm.aelita.com> wrote:
>=20
> > Hello all!
> > I badly need pa-risc 1.1 instruction sequence suitable for gdb.
> > I would like to implement "hard breakpoint".=20
> > I tried "BREAK 4,8" - gdb stops but can't continue.
> > Any help will be appreciated!
> >=20
>=20
> We've looked into this already, and as far as we could find=20
> out, there is
> no hardware support for hardware breakpoints on parisc.
> They'd have to be emulated.
>=20
> You can take a look at what we did for kgdb by checking this page:
> http://pateam.esiee.fr/kgdb.html
>=20
> Anyway, as far as i know, gdb isn't really supported for hppa.
>=20
> HTH,
>=20
>=20
> Thibaut VARENE
> The PA/Linux ESIEE Team
> http://pateam.esiee.fr/
>=20

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [parisc-linux] Help: Need instruction sequence for gdb breakpoint
  2003-08-19 10:47 [parisc-linux] Help: Need instruction sequence for gdb breakpoint Lev Assinovsky
@ 2003-08-20  4:37 ` Grant Grundler
  0 siblings, 0 replies; 9+ messages in thread
From: Grant Grundler @ 2003-08-20  4:37 UTC (permalink / raw)
  To: Lev Assinovsky; +Cc: parisc-linux

On Tue, Aug 19, 2003 at 02:47:47PM +0400, Lev Assinovsky wrote:
> Ok! But what's BREAK instruction for?

To force a trap into the kernel. That's not the same
as HW support since using break requires modifying the code stream
(remembering which instruction belonged there), flushing data-cache,
flush ins-cache, an dtrying to continue. The break's are fully
under SW control.

> Besides gdb works for me on HPUX 11.00

That's because HP has (had?) a team of folks working on the
"open source toolkit". parisc-linux hasn't been so lucky.
Alan Modra, Richard Hirst, Randolph Chung and a few others get gdb
working from time to time. But there is no dedicated maintainer
and that's what is needed.

grant

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [parisc-linux] Help: Need instruction sequence for gdb breakpoint
       [not found] <3F6F4712B759A34ABD453A8B39C10D62DEEC97@bagman.edm.com>
@ 2003-08-23  6:21 ` Grant Grundler
  2003-08-23  9:55   ` Thibaut VARENE
  0 siblings, 1 reply; 9+ messages in thread
From: Grant Grundler @ 2003-08-23  6:21 UTC (permalink / raw)
  To: Lev Assinovsky; +Cc: parisc-linux

On Fri, Aug 22, 2003 at 09:13:37PM +0400, Lev Assinovsky wrote:
> Hi!
> 1. I meant just a hardcoded breakpoint (not hardware)
> Partially works just BREAK 4, 8. Though I need to do "jump" to next line 
> to continue in gdb.

ah ok 
> 2. gdb doesn't work with shared libraries explicitly loaded by program.
> Could you please point to anybody from HP team?

HP Team? Sorry but officially there is no HP parisc-linux team.
Most of us are interested in kernel hacking and less in
making gdb work.

> 3. What about ddd?

sorry - haven't looked at ddd.

grant

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [parisc-linux] Help: Need instruction sequence for gdb breakpoint
  2003-08-23  6:21 ` Grant Grundler
@ 2003-08-23  9:55   ` Thibaut VARENE
  0 siblings, 0 replies; 9+ messages in thread
From: Thibaut VARENE @ 2003-08-23  9:55 UTC (permalink / raw)
  To: Grant Grundler; +Cc: Lev Assinovsky, parisc-linux

-------------------
> On Fri, Aug 22, 2003 at 09:13:37PM +0400, Lev Assinovsky wrote:
> > Hi!
> > 1. I meant just a hardcoded breakpoint (not hardware)
> > Partially works just BREAK 4, 8. Though I need to do "jump" to=20
next line=20
> > to continue in gdb.
>=20
> ah ok=20
> > 2. gdb doesn't work with shared libraries explicitly loaded by=20
program.
> > Could you please point to anybody from HP team?
>=20
> HP Team? Sorry but officially there is no HP parisc-linux team.
> Most of us are interested in kernel hacking and less in
> making gdb work.
>=20
> > 3. What about ddd?
>=20
> sorry - haven't looked at ddd.
>=20

ddd is a GUI frontend to gdb...


Thibaut VARENE
PA/Linux ESIEE Team
http://pateam.esiee.fr/
On vacation until Aug 25th

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [parisc-linux] Help: Need instruction sequence for gdb breakpoint
@ 2003-08-25  8:31 Lev Assinovsky
  0 siblings, 0 replies; 9+ messages in thread
From: Lev Assinovsky @ 2003-08-25  8:31 UTC (permalink / raw)
  To: Thibaut VARENE, Grant Grundler; +Cc: parisc-linux

I meant have you heard about ddd for HP-UX 11.00?

----
Lev Assinovsky
Aelita Software Corporation
O&S Core Division, Programmer
ICQ# 165072909


> -----Original Message-----
> From: Thibaut VARENE [mailto:varenet@esiee.fr]
> Sent: Saturday, August 23, 2003 1:56 PM
> To: Grant Grundler
> Cc: Lev Assinovsky; parisc-linux@lists.parisc-linux.org
> Subject: Re: [parisc-linux] Help: Need instruction sequence for gdb
> breakpoint
>=20
>=20
> -------------------
> > On Fri, Aug 22, 2003 at 09:13:37PM +0400, Lev Assinovsky wrote:
> > > Hi!
> > > 1. I meant just a hardcoded breakpoint (not hardware)
> > > Partially works just BREAK 4, 8. Though I need to do "jump" to=20
> next line=20
> > > to continue in gdb.
> >=20
> > ah ok=20
> > > 2. gdb doesn't work with shared libraries explicitly loaded by=20
> program.
> > > Could you please point to anybody from HP team?
> >=20
> > HP Team? Sorry but officially there is no HP parisc-linux team.
> > Most of us are interested in kernel hacking and less in
> > making gdb work.
> >=20
> > > 3. What about ddd?
> >=20
> > sorry - haven't looked at ddd.
> >=20
>=20
> ddd is a GUI frontend to gdb...
>=20
>=20
> Thibaut VARENE
> PA/Linux ESIEE Team
> http://pateam.esiee.fr/
> On vacation until Aug 25th
>=20
>=20

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [parisc-linux] Help: Need instruction sequence for gdb breakpoint
@ 2003-08-25 12:16 Joel Soete
  0 siblings, 0 replies; 9+ messages in thread
From: Joel Soete @ 2003-08-25 12:16 UTC (permalink / raw)
  To: Lev Assinovsky, Thibaut VARENE, Grant Grundler; +Cc: parisc-linux

> I meant have you heard about ddd for HP-UX 11.00?

I compiled it successfully on my b180 with hpux-11.00 (but a long time ago)
and it was running fine (for the few I used).

hth,
    Joel

PS: Onto http://hpux.connect.org.uk/ there is available a very old release
(2.0). But you could try to ask them to compile a sd package for a new release.



-------------------------------------------------------------------------
Tiscali ADSL, seulement 35 eur/mois et le modem est inclus...abonnez-vous!
http://reg.tiscali.be/default.asp?lg=fr 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-08-25 12:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-19 10:47 [parisc-linux] Help: Need instruction sequence for gdb breakpoint Lev Assinovsky
2003-08-20  4:37 ` Grant Grundler
  -- strict thread matches above, loose matches on Subject: below --
2003-08-25 12:16 Joel Soete
2003-08-25  8:31 Lev Assinovsky
     [not found] <3F6F4712B759A34ABD453A8B39C10D62DEEC97@bagman.edm.com>
2003-08-23  6:21 ` Grant Grundler
2003-08-23  9:55   ` Thibaut VARENE
2003-08-19 10:37 Lev Assinovsky
2003-08-04 10:37 Lev Assinovsky
2003-08-19 10:28 ` Thibaut VARENE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox