* [9fans] rb kernel vs acid
@ 2013-08-05 1:07 erik quanstrom
2013-08-05 4:59 ` David du Colombier
0 siblings, 1 reply; 3+ messages in thread
From: erik quanstrom @ 2013-08-05 1:07 UTC (permalink / raw)
To: 9fans
if i type src(main) when debugging a routerboard
kernel, i get rather puzzling output
; acid 9rb
9rb:mips ELF32 executable
/sys/lib/acid/port
/sys/lib/acid/mips
acid; src(main)
no source for ?file? # fileline (see symbol(2))
this is especially odd since ktrace does work, acid
does appear to disassemble correctly, map() appears
to be reasonable and e.g., /bin/cat works as expected.
does anyone else see this, too?
by the way there is a patch for the type skew
in symbol(2): /n/sources/patch/mach-man-type
- erik
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] rb kernel vs acid
2013-08-05 1:07 [9fans] rb kernel vs acid erik quanstrom
@ 2013-08-05 4:59 ` David du Colombier
2013-08-05 5:04 ` erik quanstrom
0 siblings, 1 reply; 3+ messages in thread
From: David du Colombier @ 2013-08-05 4:59 UTC (permalink / raw)
To: 9fans
> if i type src(main) when debugging a routerboard
> kernel, i get rather puzzling output
>
> ; acid 9rb
> 9rb:mips ELF32 executable
> /sys/lib/acid/port
> /sys/lib/acid/mips
> acid; src(main)
> no source for ?file? # fileline (see symbol(2))
>
> this is especially odd since ktrace does work, acid
> does appear to disassemble correctly, map() appears
> to be reasonable and e.g., /bin/cat works as expected.
>
> does anyone else see this, too?
Yes, I have the same issue here.
--
David du Colombier
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] rb kernel vs acid
2013-08-05 4:59 ` David du Colombier
@ 2013-08-05 5:04 ` erik quanstrom
0 siblings, 0 replies; 3+ messages in thread
From: erik quanstrom @ 2013-08-05 5:04 UTC (permalink / raw)
To: 9fans
> > does anyone else see this, too?
>
> Yes, I have the same issue here.
i've found part of the problem is machbytype doesn't get the joke
with the type is 0x7f E L F. supposing machbytype did the right thing
when faced with an elf header (with richer arguments), it's an open
question for me if libmach could then figure it out.
- erik
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-08-05 5:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-05 1:07 [9fans] rb kernel vs acid erik quanstrom
2013-08-05 4:59 ` David du Colombier
2013-08-05 5:04 ` erik quanstrom
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 NNTP newsgroup(s).