O2 Vice MPEG2 discovery

Video, software tools and techniques on SGI systems.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
jodys
Donor
Donor
Posts: 126
Joined: Tue Feb 06, 2007 1:33 am
Location: Denver, CO

Re: O2 Vice MPEG2 discovery

Unread postby jodys » Sun Feb 07, 2016 2:02 pm

elfdump returns nothing, but reading its manpage led me to stdump(1). Looks like there is some amount of information here because I'm guessing MIPS2 implies that it was not compiled with n32.

Aside, in a unrelated message from Apr 1995 (probably pretty close to beginning of development on the o2)

Code: Select all

The symbol table formats are rather weird: we don't use DWARF for the
32-bit platforms yet - the format is called "mdebug", and is described in
  /usr/include/syms.h
  /usr/include/symconst.h
--

Silicon Graphics Inc.                   Phone:  +1-415-390-2072
URL:    http://reality.sgi.com/employees/shankar


that explains the lack of dwarf info.

Anyways, it looks like neither vicempeg.so or debug/vicempeg.so are compiled with any extra debug information. The most interesting revealed from stdump(1)

Code: Select all

Local Symbols:
from file dmic_interface.c  compiled -g0  Print aux if present
  0. ( 0)(   0) dmic_interface.c File       Text       symref 40
  1. ( 1)(133894176) dmICInitDso Proc       Text       [15] endref 3, int
  2. ( 1)( 356) dmICInitDso End        Text       symref 1
  3. ( 1)(133894532) Open       StaticProc Text       [17] endref 5, int
  4. ( 1)( 236) Open       End        Text       symref 3
  5. ( 1)(133894768) Close      StaticProc Text       [19] endref 7, int
  6. ( 1)( 116) Close      End        Text       symref 5
  7. ( 1)(133894884) GetDescription StaticProc Text       [21] endref 9, int
  8. ( 1)( 300) GetDescription End        Text       symref 7
  9. ( 1)(133895184) SetSrcPoolParams StaticProc Text       [23] endref 11, int
 10. ( 1)(  60) SetSrcPoolParams End        Text       symref 9
 11. ( 1)(133895244) SetDstPoolParams StaticProc Text       [25] endref 13, int
 12. ( 1)(  60) SetDstPoolParams End        Text       symref 11
 13. ( 1)(133895304) SetDstPool StaticProc Text       [27] endref 15, int
 14. ( 1)(  80) SetDstPool End        Text       symref 13
 15. ( 1)(133895384) GetDstFD   StaticProc Text       [29] endref 17, int
 16. ( 1)(   8) GetDstFD   End        Text       symref 15
 17. ( 1)(133895392) GetSrcFilled StaticProc Text       [31] endref 19, int
 18. ( 1)(  76) GetSrcFilled End        Text       symref 17
 19. ( 1)(133895468) GetDstFilled StaticProc Text       [33] endref 21, int
 20. ( 1)(  76) GetDstFilled End        Text       symref 19
 21. ( 1)(133895544) VerifySrcParams StaticProc Text       [35] endref 23, int
 22. ( 1)( 184) VerifySrcParams End        Text       symref 21
 23. ( 1)(133895728) VerifyDstParams StaticProc Text       [37] endref 25, int
 24. ( 1)( 132) VerifyDstParams End        Text       symref 23
 25. ( 1)(133895860) VerifyConvParams StaticProc Text       [39] endref 27, int
 26. ( 1)(  12) VerifyConvParams End        Text       symref 25
 27. ( 1)(133895872) GetDefSrcParams StaticProc Text       [41] endref 29, int
 28. ( 1)( 128) GetDefSrcParams End        Text       symref 27
 29. ( 1)(133896000) GetDefDstParams StaticProc Text       [43] endref 31, int
 30. ( 1)( 128) GetDefDstParams End        Text       symref 29
 31. ( 1)(133896128) GetDefConvParams StaticProc Text       [45] endref 33, int
 32. ( 1)(  12) GetDefConvParams End        Text       symref 31
 33. ( 1)(133896140) Send       StaticProc Text       [47] endref 35, int
 34. ( 1)(2016) Send       End        Text       symref 33
 35. ( 1)(133898156) Recv       StaticProc Text       [49] endref 37, int
 36. ( 1)( 156) Recv       End        Text       symref 35
 37. ( 1)(133898312) VerifySrcDstConv StaticProc Text       [51] endref 39, int
 38. ( 1)( 184) VerifySrcDstConv End        Text       symref 37
 39. ( 0)(   0) dmic_interface.c End        Text       symref 0


I'm thinking I can use the machine level instructions in dbx to start seeing what is happening. Again, part of the goal is to simply start seeing some of the call stack at various places in the code. I'm hoping to get at least some perspective with just the external symbols.
:Octane2: :Indy: :O2: :O2: :O3x0: :Indigo2IMP:


Return to “SGI: Video”

Who is online

Users browsing this forum: No registered users and 1 guest