* Re: z8k fixes (GDB 5.1)
@ 2001-03-21 15:59 Christian Groessler
2001-03-21 15:59 ` J.T. Conklin
2001-03-21 15:59 ` Alan Modra
0 siblings, 2 replies; 4+ messages in thread
From: Christian Groessler @ 2001-03-21 15:59 UTC (permalink / raw)
To: Andrew Cagney; +Cc: cpg, binutils, GDB Discussion
On 03/03/2001 12:30:41 PM EST Andrew Cagney wrote:
>
>> My binutils assignment isn't finished yet, I will try to fix binutils
>> first (which with my patches seem to work quite well for me).
>> Later I might look into gdb then (if time permits etc..)
>
>Here broken means ``it doesn't build''. If it builds but dumps core when
>you try to run it then that just means that it doesn't work very well
>;-)
>
>Using current sources I'm seeing:
>
>*** BFD does not support target z8k-coff.
>*** Look in bfd/config.bfd for supported targets.
>Configure in /home/scratch/GDB/X-z8k-coff/opcodes failed, exiting.
>
>Since src/opcodes is shared with GDB, your changes will fix this part of
>GDB as well.
I haven't changed anything with configuring in the opcodes
directory. I see the same error as you when I configure for
"z8k-coff", but configuring for "z8k-anything-coff" works fine.
I thought the configure targets are triples, so z8k-coff shouldn't be
valid anyway?
regards,
chris
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: z8k fixes (GDB 5.1)
2001-03-21 15:59 z8k fixes (GDB 5.1) Christian Groessler
@ 2001-03-21 15:59 ` J.T. Conklin
2001-03-21 15:59 ` Alan Modra
1 sibling, 0 replies; 4+ messages in thread
From: J.T. Conklin @ 2001-03-21 15:59 UTC (permalink / raw)
To: Christian Groessler; +Cc: Andrew Cagney, binutils, GDB Discussion
>>>>> "Christian" == Christian Groessler <cpg@aladdin.de> writes:
Christian> I haven't changed anything with configuring in the opcodes
Christian> directory. I see the same error as you when I configure for
Christian> "z8k-coff", but configuring for "z8k-anything-coff" works
Christian> fine.
Christian>
Christian> I thought the configure targets are triples, so z8k-coff
Christian> shouldn't be valid anyway?
Most embedded toolchains use doubles, since there is no one specific
system that they are targeted towards.
--jtc
--
J.T. Conklin
RedBack Networks
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: z8k fixes (GDB 5.1)
2001-03-21 15:59 z8k fixes (GDB 5.1) Christian Groessler
2001-03-21 15:59 ` J.T. Conklin
@ 2001-03-21 15:59 ` Alan Modra
1 sibling, 0 replies; 4+ messages in thread
From: Alan Modra @ 2001-03-21 15:59 UTC (permalink / raw)
To: Christian Groessler; +Cc: Andrew Cagney, binutils, GDB Discussion
On 6 Mar 2001, Christian Groessler wrote:
> On 03/03/2001 12:30:41 PM EST Andrew Cagney wrote:
> >
> >*** BFD does not support target z8k-coff.
> >*** Look in bfd/config.bfd for supported targets.
> >Configure in /home/scratch/GDB/X-z8k-coff/opcodes failed, exiting.
>
> I thought the configure targets are triples, so z8k-coff shouldn't be
> valid anyway?
Many target duples work. "./config.sub <target>" to see what happens.
Read the start of config.sub to see where you should send patches, should
you desire to make "z8k-coff" work.
Alan Modra
--
Linuxcare
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: z8k fixes
@ 2001-02-19 2:49 Christian Groessler
2001-03-21 15:59 ` z8k fixes (GDB 5.1) Andrew Cagney
0 siblings, 1 reply; 4+ messages in thread
From: Christian Groessler @ 2001-02-19 2:49 UTC (permalink / raw)
To: Andrew Cagney; +Cc: Christian Groessler, binutils, GDB Discussion
On 02/17/2001 02:03:00 AM EST Andrew Cagney wrote:
>
>Philip Blundell wrote:
>>
>> In message <87u26yxy0q.fsf@panther.aladdin.de>, Christian Groessler writes:
>> >I've got some fixes for the z8k assembler and disassembler,
>> >how can I get them integrated?
>>
>> Send the patches (preferably in `diff -up' format) to this list.
>>
>> If the changes are substantial, you will need to sign a form assigning
>> copyright to the FSF before they can be integrated.
>
>Could I also encourage you to include a GDB assignment and have a look
>at GDB. Right now GDB's z8k support is considered broken (it doesn't
>build) and is slated for removal :-(
I tried gdb 5.0 and it compiled (at least).
Since I haven't used gdb in this way before, please let me ask
whether I used it correctly:
I created a z8k coff executable "hello".
Start z8k gdb
"target sim"
"load hello"
"run"
-> gdb segfaults
So it looks broken :-(
My binutils assignment isn't finished yet, I will try to fix binutils
first (which with my patches seem to work quite well for me).
Later I might look into gdb then (if time permits etc..)
regards,
chris
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: z8k fixes (GDB 5.1)
2001-02-19 2:49 z8k fixes Christian Groessler
@ 2001-03-21 15:59 ` Andrew Cagney
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Cagney @ 2001-03-21 15:59 UTC (permalink / raw)
To: Christian Groessler; +Cc: binutils, GDB Discussion
> My binutils assignment isn't finished yet, I will try to fix binutils
> first (which with my patches seem to work quite well for me).
> Later I might look into gdb then (if time permits etc..)
Here broken means ``it doesn't build''. If it builds but dumps core when
you try to run it then that just means that it doesn't work very well
;-)
Using current sources I'm seeing:
*** BFD does not support target z8k-coff.
*** Look in bfd/config.bfd for supported targets.
Configure in /home/scratch/GDB/X-z8k-coff/opcodes failed, exiting.
Since src/opcodes is shared with GDB, your changes will fix this part of
GDB as well.
For GDB 5.1, I'll document the z8k as broken. If the build problems get
resolved, let the GDB group know (gdb@sources.redhat.com). The files
gdb/TODO and gdb/MAINTAINERS can then be updated to reflect that changed
reality.
> I created a z8k coff executable "hello".
> Start z8k gdb
> "target sim"
> "load hello"
> "run"
Yes, that is correct usage.
Good luck.
Andrew
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-03-21 15:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-21 15:59 z8k fixes (GDB 5.1) Christian Groessler
2001-03-21 15:59 ` J.T. Conklin
2001-03-21 15:59 ` Alan Modra
-- strict thread matches above, loose matches on Subject: below --
2001-02-19 2:49 z8k fixes Christian Groessler
2001-03-21 15:59 ` z8k fixes (GDB 5.1) Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).