* [parisc-linux] [PATCH] space register 0 changes for hppa
@ 2003-02-23 18:58 Matthew Wilcox
2003-02-24 6:24 ` [parisc-linux] " Alan Modra
2003-02-24 6:24 ` Alan Modra
0 siblings, 2 replies; 29+ messages in thread
From: Matthew Wilcox @ 2003-02-23 18:58 UTC (permalink / raw)
To: binutils; +Cc: parisc-linux
Hi. I believe I should still have a copyright assignment on file.
Index: opcodes/ChangeLog
===================================================================
RCS file: /cvs/src/src/opcodes/ChangeLog,v
retrieving revision 1.547
diff -u -p -r1.547 ChangeLog
--- opcodes/ChangeLog 12 Feb 2003 22:33:59 -0000 1.547
+++ opcodes/ChangeLog 23 Feb 2003 18:54:00 -0000
@@ -1,3 +1,9 @@
+2003-02-23 Matthew Wilcox <willy@debian.org>
+
+ * hppa-dis.c: Do not emit a space register if the space register
+ field is 2 bits and the value is 0 as this is implicit addressing,
+ not use of space register 0.
+
2003-02-12 Dave Brolley <brolley@redhat.com>
* fr30-desc.c: Regenerate.
Index: opcodes/hppa-dis.c
===================================================================
RCS file: /cvs/src/src/opcodes/hppa-dis.c,v
retrieving revision 1.41
diff -u -p -r1.41 hppa-dis.c
--- opcodes/hppa-dis.c 31 Dec 2001 23:44:08 -0000 1.41
+++ opcodes/hppa-dis.c 23 Feb 2003 18:54:00 -0000
@@ -541,8 +541,11 @@ print_insn_hppa (memaddr, info)
fput_const (extract_5_load (insn), info);
break;
case 's':
- (*info->fprintf_func) (info->stream,
- "sr%d", GET_FIELD (insn, 16, 17));
+ {
+ int space = GET_FIELD (insn, 16, 17);
+ if (space != 0)
+ (*info->fprintf_func) (info->stream, "sr%d", space);
+ }
break;
case 'S':
--
"It's not Hollywood. War is real, war is primarily not about defeat or
victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
^ permalink raw reply [flat|nested] 29+ messages in thread* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-23 18:58 [parisc-linux] [PATCH] space register 0 changes for hppa Matthew Wilcox @ 2003-02-24 6:24 ` Alan Modra 2003-02-24 12:48 ` Matthew Wilcox ` (3 more replies) 2003-02-24 6:24 ` Alan Modra 1 sibling, 4 replies; 29+ messages in thread From: Alan Modra @ 2003-02-24 6:24 UTC (permalink / raw) To: Matthew Wilcox; +Cc: binutils, parisc-linux On Sun, Feb 23, 2003 at 06:58:47PM +0000, Matthew Wilcox wrote: > + * hppa-dis.c: Do not emit a space register if the space register > + field is 2 bits and the value is 0 as this is implicit addressing, > + not use of space register 0. Hi Matthew, ChangeLog entries shouldn't be sent as diffs. Write this one as * hppa-dis.c (print_insn_hppa <2 bit space register>): Do not print the space register when the value is zero. and put the reason for the change as a comment in the code if you feel you need some justification for the change. Did you run the binutils testsuite? -- Alan Modra IBM OzLabs - Linux Technology Centre ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 6:24 ` [parisc-linux] " Alan Modra @ 2003-02-24 12:48 ` Matthew Wilcox 2003-02-24 12:48 ` Matthew Wilcox ` (2 subsequent siblings) 3 siblings, 0 replies; 29+ messages in thread From: Matthew Wilcox @ 2003-02-24 12:48 UTC (permalink / raw) To: Matthew Wilcox, binutils, parisc-linux On Mon, Feb 24, 2003 at 04:54:21PM +1030, Alan Modra wrote: > ChangeLog entries shouldn't be sent as diffs. Write this one as > > * hppa-dis.c (print_insn_hppa <2 bit space register>): Do not print > the space register when the value is zero. > > and put the reason for the change as a comment in the code if you feel > you need some justification for the change. OK. I'm just used to changelogs which're a little more verbose. I don't think it really needs justifying. > Did you run the binutils testsuite? I hadn't... but I have now, and it doesn't introduce any failures. -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 6:24 ` [parisc-linux] " Alan Modra 2003-02-24 12:48 ` Matthew Wilcox @ 2003-02-24 12:48 ` Matthew Wilcox 2003-02-24 15:01 ` law 2003-02-24 15:01 ` law 3 siblings, 0 replies; 29+ messages in thread From: Matthew Wilcox @ 2003-02-24 12:48 UTC (permalink / raw) To: Matthew Wilcox, binutils, parisc-linux On Mon, Feb 24, 2003 at 04:54:21PM +1030, Alan Modra wrote: > ChangeLog entries shouldn't be sent as diffs. Write this one as > > * hppa-dis.c (print_insn_hppa <2 bit space register>): Do not print > the space register when the value is zero. > > and put the reason for the change as a comment in the code if you feel > you need some justification for the change. OK. I'm just used to changelogs which're a little more verbose. I don't think it really needs justifying. > Did you run the binutils testsuite? I hadn't... but I have now, and it doesn't introduce any failures. -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 6:24 ` [parisc-linux] " Alan Modra 2003-02-24 12:48 ` Matthew Wilcox 2003-02-24 12:48 ` Matthew Wilcox @ 2003-02-24 15:01 ` law 2003-02-24 14:59 ` Matthew Wilcox ` (3 more replies) 2003-02-24 15:01 ` law 3 siblings, 4 replies; 29+ messages in thread From: law @ 2003-02-24 15:01 UTC (permalink / raw) To: Alan Modra; +Cc: Matthew Wilcox, binutils, parisc-linux In message <20030224062421.GA31111@bubble.sa.bigpond.net.au>, Alan Modra writes : >Hi Matthew, > ChangeLog entries shouldn't be sent as diffs. Write this one as > > * hppa-dis.c (print_insn_hppa <2 bit space register>): Do not print > the space register when the value is zero. > >and put the reason for the change as a comment in the code if you feel >you need some justification for the change. > >Did you run the binutils testsuite? And the GDB testsuite, which tests the PA disassembler. I'm 99% sure it's going to fail after this change. jeff ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 15:01 ` law @ 2003-02-24 14:59 ` Matthew Wilcox 2003-02-24 16:16 ` law 2003-02-24 16:16 ` law 2003-02-24 14:59 ` Matthew Wilcox ` (2 subsequent siblings) 3 siblings, 2 replies; 29+ messages in thread From: Matthew Wilcox @ 2003-02-24 14:59 UTC (permalink / raw) To: law; +Cc: Alan Modra, Matthew Wilcox, binutils, parisc-linux On Mon, Feb 24, 2003 at 08:01:31AM -0700, law@redhat.com wrote: > And the GDB testsuite, which tests the PA disassembler. I'm 99% sure > it's going to fail after this change. Is it OK if I fix the testsuite then? -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 14:59 ` Matthew Wilcox @ 2003-02-24 16:16 ` law 2003-02-24 16:16 ` law 1 sibling, 0 replies; 29+ messages in thread From: law @ 2003-02-24 16:16 UTC (permalink / raw) To: Matthew Wilcox; +Cc: Alan Modra, binutils, parisc-linux In message <20030224145957.K2938@parcelfarce.linux.theplanet.co.uk>, Matthew Wi lcox writes: >On Mon, Feb 24, 2003 at 08:01:31AM -0700, law@redhat.com wrote: >> And the GDB testsuite, which tests the PA disassembler. I'm 99% sure >> it's going to fail after this change. > >Is it OK if I fix the testsuite then? No strong opinions either way. jeff ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 14:59 ` Matthew Wilcox 2003-02-24 16:16 ` law @ 2003-02-24 16:16 ` law 1 sibling, 0 replies; 29+ messages in thread From: law @ 2003-02-24 16:16 UTC (permalink / raw) To: Matthew Wilcox; +Cc: Alan Modra, binutils, parisc-linux In message <20030224145957.K2938@parcelfarce.linux.theplanet.co.uk>, Matthew Wi lcox writes: >On Mon, Feb 24, 2003 at 08:01:31AM -0700, law@redhat.com wrote: >> And the GDB testsuite, which tests the PA disassembler. I'm 99% sure >> it's going to fail after this change. > >Is it OK if I fix the testsuite then? No strong opinions either way. jeff ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 15:01 ` law 2003-02-24 14:59 ` Matthew Wilcox @ 2003-02-24 14:59 ` Matthew Wilcox 2003-02-24 18:23 ` Matthew Wilcox 2003-02-24 18:23 ` Matthew Wilcox 3 siblings, 0 replies; 29+ messages in thread From: Matthew Wilcox @ 2003-02-24 14:59 UTC (permalink / raw) To: law; +Cc: Alan Modra, Matthew Wilcox, binutils, parisc-linux On Mon, Feb 24, 2003 at 08:01:31AM -0700, law@redhat.com wrote: > And the GDB testsuite, which tests the PA disassembler. I'm 99% sure > it's going to fail after this change. Is it OK if I fix the testsuite then? -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 15:01 ` law 2003-02-24 14:59 ` Matthew Wilcox 2003-02-24 14:59 ` Matthew Wilcox @ 2003-02-24 18:23 ` Matthew Wilcox 2003-02-24 18:39 ` law 2003-02-24 18:39 ` law 2003-02-24 18:23 ` Matthew Wilcox 3 siblings, 2 replies; 29+ messages in thread From: Matthew Wilcox @ 2003-02-24 18:23 UTC (permalink / raw) To: law; +Cc: Alan Modra, Matthew Wilcox, binutils, parisc-linux On Mon, Feb 24, 2003 at 08:01:31AM -0700, law@redhat.com wrote: > And the GDB testsuite, which tests the PA disassembler. I'm 99% sure > it's going to fail after this change. i would, if i could. every attempt i made to get gdb's testsuite to run met with disaster. this was supposed to be a quick bugfix not a major expedition. i give up. someone who can cope with the ridiculous requirements for building gdb targetting hppa can fix this. -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 18:23 ` Matthew Wilcox @ 2003-02-24 18:39 ` law 2003-02-24 18:42 ` Matthew Wilcox 2003-02-24 18:42 ` Matthew Wilcox 2003-02-24 18:39 ` law 1 sibling, 2 replies; 29+ messages in thread From: law @ 2003-02-24 18:39 UTC (permalink / raw) To: Matthew Wilcox; +Cc: Alan Modra, binutils, parisc-linux In message <20030224182328.M2938@parcelfarce.linux.theplanet.co.uk>, Matthew Wi lcox writes: >On Mon, Feb 24, 2003 at 08:01:31AM -0700, law@redhat.com wrote: >> And the GDB testsuite, which tests the PA disassembler. I'm 99% sure >> it's going to fail after this change. > >i would, if i could. every attempt i made to get gdb's testsuite to >run met with disaster. this was supposed to be a quick bugfix not a >major expedition. i give up. someone who can cope with the ridiculous >requirements for building gdb targetting hppa can fix this. Err, I built it without difficulty a few months ago (I don't do nearly as much PA work as I used to). Presumably you have an HPUX box, right? That's the easiest way to get it build and running. Jeff ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 18:39 ` law @ 2003-02-24 18:42 ` Matthew Wilcox 2003-02-24 18:42 ` Matthew Wilcox 1 sibling, 0 replies; 29+ messages in thread From: Matthew Wilcox @ 2003-02-24 18:42 UTC (permalink / raw) To: law; +Cc: Matthew Wilcox, Alan Modra, binutils, parisc-linux On Mon, Feb 24, 2003 at 11:39:52AM -0700, law@redhat.com wrote: > Err, I built it without difficulty a few months ago (I don't do nearly as > much PA work as I used to). Presumably you have an HPUX box, right? That's > the easiest way to get it build and running. nope, no hpux, only i386-linux and hppa-linux around here. trying to get binutils cvs to build a cross i386->hppa gdb dies in tix (no tk8.4 directory), trying with just `make all-binutils all-gdb' dies being unable to find dl.h or machine/save_state.h. so switch to trying native on an hppa-linux host with gdb-5.3. that dies claiming hppa-linux is unsupported. apply the debian patches. that build dies trying to find texc.pro. i'm willing to put in a certain amount of time & effort, but this is too much. -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 18:39 ` law 2003-02-24 18:42 ` Matthew Wilcox @ 2003-02-24 18:42 ` Matthew Wilcox 2003-02-24 18:47 ` Daniel Jacobowitz ` (3 more replies) 1 sibling, 4 replies; 29+ messages in thread From: Matthew Wilcox @ 2003-02-24 18:42 UTC (permalink / raw) To: law; +Cc: Matthew Wilcox, Alan Modra, binutils, parisc-linux On Mon, Feb 24, 2003 at 11:39:52AM -0700, law@redhat.com wrote: > Err, I built it without difficulty a few months ago (I don't do nearly as > much PA work as I used to). Presumably you have an HPUX box, right? That's > the easiest way to get it build and running. nope, no hpux, only i386-linux and hppa-linux around here. trying to get binutils cvs to build a cross i386->hppa gdb dies in tix (no tk8.4 directory), trying with just `make all-binutils all-gdb' dies being unable to find dl.h or machine/save_state.h. so switch to trying native on an hppa-linux host with gdb-5.3. that dies claiming hppa-linux is unsupported. apply the debian patches. that build dies trying to find texc.pro. i'm willing to put in a certain amount of time & effort, but this is too much. -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 18:42 ` Matthew Wilcox @ 2003-02-24 18:47 ` Daniel Jacobowitz 2003-02-24 18:47 ` Daniel Jacobowitz ` (2 subsequent siblings) 3 siblings, 0 replies; 29+ messages in thread From: Daniel Jacobowitz @ 2003-02-24 18:47 UTC (permalink / raw) To: Matthew Wilcox; +Cc: law, Alan Modra, binutils, parisc-linux On Mon, Feb 24, 2003 at 06:42:25PM +0000, Matthew Wilcox wrote: > On Mon, Feb 24, 2003 at 11:39:52AM -0700, law@redhat.com wrote: > > Err, I built it without difficulty a few months ago (I don't do nearly as > > much PA work as I used to). Presumably you have an HPUX box, right? That's > > the easiest way to get it build and running. > > nope, no hpux, only i386-linux and hppa-linux around here. trying to > get binutils cvs to build a cross i386->hppa gdb dies in tix (no tk8.4 > directory), trying with just `make all-binutils all-gdb' dies being > unable to find dl.h or machine/save_state.h. > > so switch to trying native on an hppa-linux host with gdb-5.3. that dies > claiming hppa-linux is unsupported. apply the debian patches. that build > dies trying to find texc.pro. > > i'm willing to put in a certain amount of time & effort, but this is > too much. That means the version of texinfo install on that machine is broken. It was fixed in Debian/unstable some months ago. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 18:42 ` Matthew Wilcox 2003-02-24 18:47 ` Daniel Jacobowitz @ 2003-02-24 18:47 ` Daniel Jacobowitz 2003-02-24 21:49 ` Andrew Cagney 2003-02-24 21:49 ` Andrew Cagney 3 siblings, 0 replies; 29+ messages in thread From: Daniel Jacobowitz @ 2003-02-24 18:47 UTC (permalink / raw) To: Matthew Wilcox; +Cc: law, Alan Modra, binutils, parisc-linux On Mon, Feb 24, 2003 at 06:42:25PM +0000, Matthew Wilcox wrote: > On Mon, Feb 24, 2003 at 11:39:52AM -0700, law@redhat.com wrote: > > Err, I built it without difficulty a few months ago (I don't do nearly as > > much PA work as I used to). Presumably you have an HPUX box, right? That's > > the easiest way to get it build and running. > > nope, no hpux, only i386-linux and hppa-linux around here. trying to > get binutils cvs to build a cross i386->hppa gdb dies in tix (no tk8.4 > directory), trying with just `make all-binutils all-gdb' dies being > unable to find dl.h or machine/save_state.h. > > so switch to trying native on an hppa-linux host with gdb-5.3. that dies > claiming hppa-linux is unsupported. apply the debian patches. that build > dies trying to find texc.pro. > > i'm willing to put in a certain amount of time & effort, but this is > too much. That means the version of texinfo install on that machine is broken. It was fixed in Debian/unstable some months ago. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 18:42 ` Matthew Wilcox 2003-02-24 18:47 ` Daniel Jacobowitz 2003-02-24 18:47 ` Daniel Jacobowitz @ 2003-02-24 21:49 ` Andrew Cagney 2003-02-24 21:49 ` Andrew Cagney 3 siblings, 0 replies; 29+ messages in thread From: Andrew Cagney @ 2003-02-24 21:49 UTC (permalink / raw) To: Matthew Wilcox; +Cc: law, Alan Modra, binutils, parisc-linux > On Mon, Feb 24, 2003 at 11:39:52AM -0700, law@redhat.com wrote: > >> Err, I built it without difficulty a few months ago (I don't do nearly as >> much PA work as I used to). Presumably you have an HPUX box, right? That's >> the easiest way to get it build and running. > > > nope, no hpux, only i386-linux and hppa-linux around here. trying to > get binutils cvs to build a cross i386->hppa gdb dies in tix (no tk8.4 > directory), trying with just `make all-binutils all-gdb' dies being > unable to find dl.h or machine/save_state.h. Unfortunatly, no one got the i386->hppa GDB to build so asking you to do that isn't reasonable. If you've a hppa-linux-gnu box, can you just try binutils, `objdump --disassemble`? Andrew > so switch to trying native on an hppa-linux host with gdb-5.3. that dies > claiming hppa-linux is unsupported. apply the debian patches. that build > dies trying to find texc.pro. > > i'm willing to put in a certain amount of time & effort, but this is > too much. > > -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 18:42 ` Matthew Wilcox ` (2 preceding siblings ...) 2003-02-24 21:49 ` Andrew Cagney @ 2003-02-24 21:49 ` Andrew Cagney 2003-02-24 21:57 ` Matthew Wilcox 2003-02-24 21:57 ` Matthew Wilcox 3 siblings, 2 replies; 29+ messages in thread From: Andrew Cagney @ 2003-02-24 21:49 UTC (permalink / raw) To: Matthew Wilcox; +Cc: law, Alan Modra, binutils, parisc-linux > On Mon, Feb 24, 2003 at 11:39:52AM -0700, law@redhat.com wrote: > >> Err, I built it without difficulty a few months ago (I don't do nearly as >> much PA work as I used to). Presumably you have an HPUX box, right? That's >> the easiest way to get it build and running. > > > nope, no hpux, only i386-linux and hppa-linux around here. trying to > get binutils cvs to build a cross i386->hppa gdb dies in tix (no tk8.4 > directory), trying with just `make all-binutils all-gdb' dies being > unable to find dl.h or machine/save_state.h. Unfortunatly, no one got the i386->hppa GDB to build so asking you to do that isn't reasonable. If you've a hppa-linux-gnu box, can you just try binutils, `objdump --disassemble`? Andrew > so switch to trying native on an hppa-linux host with gdb-5.3. that dies > claiming hppa-linux is unsupported. apply the debian patches. that build > dies trying to find texc.pro. > > i'm willing to put in a certain amount of time & effort, but this is > too much. > > -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 21:49 ` Andrew Cagney @ 2003-02-24 21:57 ` Matthew Wilcox 2003-02-24 22:11 ` Andrew Cagney 2003-02-24 22:11 ` Andrew Cagney 2003-02-24 21:57 ` Matthew Wilcox 1 sibling, 2 replies; 29+ messages in thread From: Matthew Wilcox @ 2003-02-24 21:57 UTC (permalink / raw) To: Andrew Cagney; +Cc: Matthew Wilcox, law, Alan Modra, binutils, parisc-linux On Mon, Feb 24, 2003 at 04:49:35PM -0500, Andrew Cagney wrote: > > get binutils cvs to build a cross i386->hppa gdb dies in tix (no tk8.4 > > directory), trying with just `make all-binutils all-gdb' dies being > > unable to find dl.h or machine/save_state.h. > > Unfortunatly, no one got the i386->hppa GDB to build so asking you to do > that isn't reasonable. If you've a hppa-linux-gnu box, can you just try > binutils, `objdump --disassemble`? Yep, I can build binutils head-of-cvs just fine as a crosscompiler, and objdump --disassemble does the right thing. Jeff's concern is that this intended output change might break the gdb testsuite. fwiw, it doesn't break the binutils `make check' ;-) -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 21:57 ` Matthew Wilcox @ 2003-02-24 22:11 ` Andrew Cagney 2003-02-24 22:11 ` Andrew Cagney 1 sibling, 0 replies; 29+ messages in thread From: Andrew Cagney @ 2003-02-24 22:11 UTC (permalink / raw) To: Matthew Wilcox; +Cc: law, Alan Modra, binutils, parisc-linux > On Mon, Feb 24, 2003 at 04:49:35PM -0500, Andrew Cagney wrote: > >> > get binutils cvs to build a cross i386->hppa gdb dies in tix (no tk8.4 >> > directory), trying with just `make all-binutils all-gdb' dies being >> > unable to find dl.h or machine/save_state.h. > >> >> Unfortunatly, no one got the i386->hppa GDB to build so asking you to do >> that isn't reasonable. If you've a hppa-linux-gnu box, can you just try >> binutils, `objdump --disassemble`? > > > Yep, I can build binutils head-of-cvs just fine as a crosscompiler, > and objdump --disassemble does the right thing. Jeff's concern is that > this intended output change might break the gdb testsuite. > > fwiw, it doesn't break the binutils `make check' ;-) If that happens `oops'. GDB's HP/PA support isn't maintained. Andrew ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 21:57 ` Matthew Wilcox 2003-02-24 22:11 ` Andrew Cagney @ 2003-02-24 22:11 ` Andrew Cagney 2003-02-24 22:19 ` Matthew Wilcox 2003-02-24 22:19 ` Matthew Wilcox 1 sibling, 2 replies; 29+ messages in thread From: Andrew Cagney @ 2003-02-24 22:11 UTC (permalink / raw) To: Matthew Wilcox; +Cc: law, Alan Modra, binutils, parisc-linux > On Mon, Feb 24, 2003 at 04:49:35PM -0500, Andrew Cagney wrote: > >> > get binutils cvs to build a cross i386->hppa gdb dies in tix (no tk8.4 >> > directory), trying with just `make all-binutils all-gdb' dies being >> > unable to find dl.h or machine/save_state.h. > >> >> Unfortunatly, no one got the i386->hppa GDB to build so asking you to do >> that isn't reasonable. If you've a hppa-linux-gnu box, can you just try >> binutils, `objdump --disassemble`? > > > Yep, I can build binutils head-of-cvs just fine as a crosscompiler, > and objdump --disassemble does the right thing. Jeff's concern is that > this intended output change might break the gdb testsuite. > > fwiw, it doesn't break the binutils `make check' ;-) If that happens `oops'. GDB's HP/PA support isn't maintained. Andrew ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 22:11 ` Andrew Cagney @ 2003-02-24 22:19 ` Matthew Wilcox 2003-02-25 0:21 ` Alan Modra 2003-02-25 0:21 ` Alan Modra 2003-02-24 22:19 ` Matthew Wilcox 1 sibling, 2 replies; 29+ messages in thread From: Matthew Wilcox @ 2003-02-24 22:19 UTC (permalink / raw) To: Andrew Cagney; +Cc: Matthew Wilcox, law, Alan Modra, binutils, parisc-linux On Mon, Feb 24, 2003 at 05:11:19PM -0500, Andrew Cagney wrote: > > Yep, I can build binutils head-of-cvs just fine as a crosscompiler, > > and objdump --disassemble does the right thing. Jeff's concern is that > > this intended output change might break the gdb testsuite. > > If that happens `oops'. GDB's HP/PA support isn't maintained. OK. If at some point it does start to be maintained, I volunteer to fix up the testsuite. It looks fairly straightforward -- deleting the '%sr0,' from these lines: .*ldw 0\\(sr0,r4\\),r26.* .*ldh 0\\(sr0,r4\\),r26.* .*ldb 0\\(sr0,r4\\),r26.* would be a good start. not sure which other ones will fail. all the ld* and wt*, i'm pretty sure. maybe a few others. i could work it out from the manual, but let's wait for the computer to be able to do it for us? -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 22:19 ` Matthew Wilcox @ 2003-02-25 0:21 ` Alan Modra 2003-02-25 0:21 ` Alan Modra 1 sibling, 0 replies; 29+ messages in thread From: Alan Modra @ 2003-02-25 0:21 UTC (permalink / raw) To: Matthew Wilcox; +Cc: Andrew Cagney, law, binutils, parisc-linux I've committed the patch. -- Alan Modra IBM OzLabs - Linux Technology Centre ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 22:19 ` Matthew Wilcox 2003-02-25 0:21 ` Alan Modra @ 2003-02-25 0:21 ` Alan Modra 1 sibling, 0 replies; 29+ messages in thread From: Alan Modra @ 2003-02-25 0:21 UTC (permalink / raw) To: Matthew Wilcox; +Cc: Andrew Cagney, law, binutils, parisc-linux I've committed the patch. -- Alan Modra IBM OzLabs - Linux Technology Centre ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 22:11 ` Andrew Cagney 2003-02-24 22:19 ` Matthew Wilcox @ 2003-02-24 22:19 ` Matthew Wilcox 1 sibling, 0 replies; 29+ messages in thread From: Matthew Wilcox @ 2003-02-24 22:19 UTC (permalink / raw) To: Andrew Cagney; +Cc: Matthew Wilcox, law, Alan Modra, binutils, parisc-linux On Mon, Feb 24, 2003 at 05:11:19PM -0500, Andrew Cagney wrote: > > Yep, I can build binutils head-of-cvs just fine as a crosscompiler, > > and objdump --disassemble does the right thing. Jeff's concern is that > > this intended output change might break the gdb testsuite. > > If that happens `oops'. GDB's HP/PA support isn't maintained. OK. If at some point it does start to be maintained, I volunteer to fix up the testsuite. It looks fairly straightforward -- deleting the '%sr0,' from these lines: .*ldw 0\\(sr0,r4\\),r26.* .*ldh 0\\(sr0,r4\\),r26.* .*ldb 0\\(sr0,r4\\),r26.* would be a good start. not sure which other ones will fail. all the ld* and wt*, i'm pretty sure. maybe a few others. i could work it out from the manual, but let's wait for the computer to be able to do it for us? -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 21:49 ` Andrew Cagney 2003-02-24 21:57 ` Matthew Wilcox @ 2003-02-24 21:57 ` Matthew Wilcox 1 sibling, 0 replies; 29+ messages in thread From: Matthew Wilcox @ 2003-02-24 21:57 UTC (permalink / raw) To: Andrew Cagney; +Cc: Matthew Wilcox, law, Alan Modra, binutils, parisc-linux On Mon, Feb 24, 2003 at 04:49:35PM -0500, Andrew Cagney wrote: > > get binutils cvs to build a cross i386->hppa gdb dies in tix (no tk8.4 > > directory), trying with just `make all-binutils all-gdb' dies being > > unable to find dl.h or machine/save_state.h. > > Unfortunatly, no one got the i386->hppa GDB to build so asking you to do > that isn't reasonable. If you've a hppa-linux-gnu box, can you just try > binutils, `objdump --disassemble`? Yep, I can build binutils head-of-cvs just fine as a crosscompiler, and objdump --disassemble does the right thing. Jeff's concern is that this intended output change might break the gdb testsuite. fwiw, it doesn't break the binutils `make check' ;-) -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 18:23 ` Matthew Wilcox 2003-02-24 18:39 ` law @ 2003-02-24 18:39 ` law 1 sibling, 0 replies; 29+ messages in thread From: law @ 2003-02-24 18:39 UTC (permalink / raw) To: Matthew Wilcox; +Cc: Alan Modra, binutils, parisc-linux In message <20030224182328.M2938@parcelfarce.linux.theplanet.co.uk>, Matthew Wi lcox writes: >On Mon, Feb 24, 2003 at 08:01:31AM -0700, law@redhat.com wrote: >> And the GDB testsuite, which tests the PA disassembler. I'm 99% sure >> it's going to fail after this change. > >i would, if i could. every attempt i made to get gdb's testsuite to >run met with disaster. this was supposed to be a quick bugfix not a >major expedition. i give up. someone who can cope with the ridiculous >requirements for building gdb targetting hppa can fix this. Err, I built it without difficulty a few months ago (I don't do nearly as much PA work as I used to). Presumably you have an HPUX box, right? That's the easiest way to get it build and running. Jeff ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 15:01 ` law ` (2 preceding siblings ...) 2003-02-24 18:23 ` Matthew Wilcox @ 2003-02-24 18:23 ` Matthew Wilcox 3 siblings, 0 replies; 29+ messages in thread From: Matthew Wilcox @ 2003-02-24 18:23 UTC (permalink / raw) To: law; +Cc: Alan Modra, Matthew Wilcox, binutils, parisc-linux On Mon, Feb 24, 2003 at 08:01:31AM -0700, law@redhat.com wrote: > And the GDB testsuite, which tests the PA disassembler. I'm 99% sure > it's going to fail after this change. i would, if i could. every attempt i made to get gdb's testsuite to run met with disaster. this was supposed to be a quick bugfix not a major expedition. i give up. someone who can cope with the ridiculous requirements for building gdb targetting hppa can fix this. -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-24 6:24 ` [parisc-linux] " Alan Modra ` (2 preceding siblings ...) 2003-02-24 15:01 ` law @ 2003-02-24 15:01 ` law 3 siblings, 0 replies; 29+ messages in thread From: law @ 2003-02-24 15:01 UTC (permalink / raw) To: Alan Modra; +Cc: Matthew Wilcox, binutils, parisc-linux In message <20030224062421.GA31111@bubble.sa.bigpond.net.au>, Alan Modra writes : >Hi Matthew, > ChangeLog entries shouldn't be sent as diffs. Write this one as > > * hppa-dis.c (print_insn_hppa <2 bit space register>): Do not print > the space register when the value is zero. > >and put the reason for the change as a comment in the code if you feel >you need some justification for the change. > >Did you run the binutils testsuite? And the GDB testsuite, which tests the PA disassembler. I'm 99% sure it's going to fail after this change. jeff ^ permalink raw reply [flat|nested] 29+ messages in thread
* [parisc-linux] Re: [PATCH] space register 0 changes for hppa 2003-02-23 18:58 [parisc-linux] [PATCH] space register 0 changes for hppa Matthew Wilcox 2003-02-24 6:24 ` [parisc-linux] " Alan Modra @ 2003-02-24 6:24 ` Alan Modra 1 sibling, 0 replies; 29+ messages in thread From: Alan Modra @ 2003-02-24 6:24 UTC (permalink / raw) To: Matthew Wilcox; +Cc: binutils, parisc-linux On Sun, Feb 23, 2003 at 06:58:47PM +0000, Matthew Wilcox wrote: > + * hppa-dis.c: Do not emit a space register if the space register > + field is 2 bits and the value is 0 as this is implicit addressing, > + not use of space register 0. Hi Matthew, ChangeLog entries shouldn't be sent as diffs. Write this one as * hppa-dis.c (print_insn_hppa <2 bit space register>): Do not print the space register when the value is zero. and put the reason for the change as a comment in the code if you feel you need some justification for the change. Did you run the binutils testsuite? -- Alan Modra IBM OzLabs - Linux Technology Centre ^ permalink raw reply [flat|nested] 29+ messages in thread
end of thread, other threads:[~2003-02-25 0:22 UTC | newest] Thread overview: 29+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-02-23 18:58 [parisc-linux] [PATCH] space register 0 changes for hppa Matthew Wilcox 2003-02-24 6:24 ` [parisc-linux] " Alan Modra 2003-02-24 12:48 ` Matthew Wilcox 2003-02-24 12:48 ` Matthew Wilcox 2003-02-24 15:01 ` law 2003-02-24 14:59 ` Matthew Wilcox 2003-02-24 16:16 ` law 2003-02-24 16:16 ` law 2003-02-24 14:59 ` Matthew Wilcox 2003-02-24 18:23 ` Matthew Wilcox 2003-02-24 18:39 ` law 2003-02-24 18:42 ` Matthew Wilcox 2003-02-24 18:42 ` Matthew Wilcox 2003-02-24 18:47 ` Daniel Jacobowitz 2003-02-24 18:47 ` Daniel Jacobowitz 2003-02-24 21:49 ` Andrew Cagney 2003-02-24 21:49 ` Andrew Cagney 2003-02-24 21:57 ` Matthew Wilcox 2003-02-24 22:11 ` Andrew Cagney 2003-02-24 22:11 ` Andrew Cagney 2003-02-24 22:19 ` Matthew Wilcox 2003-02-25 0:21 ` Alan Modra 2003-02-25 0:21 ` Alan Modra 2003-02-24 22:19 ` Matthew Wilcox 2003-02-24 21:57 ` Matthew Wilcox 2003-02-24 18:39 ` law 2003-02-24 18:23 ` Matthew Wilcox 2003-02-24 15:01 ` law 2003-02-24 6:24 ` Alan Modra
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox