Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
52 user(s) are online (46 user(s) are browsing Forums)

Members: 0
Guests: 52

more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 2 (3) 4 »


Re: Db101 betatesters needed
Just can't stay away
Joined:
2006/12/9 10:44
From Lyon, France
Posts: 1316
I tried to debug a binary compiled by ECX (AmigaE compiler) with debug information enabled. db101 displayed no source code lines. Does it mean a debugger contains code to interpret C code only?
I had the impression, using some kind of offset could make it language agnostic.

_________________
Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2006/12/4 23:15
Posts: 1909
@Elwood

ECX inserts stabs based debug info into the executable?

If it doesn't all bets are off...

_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2006/12/9 10:44
From Lyon, France
Posts: 1316
@broadblues

Damn, I missed the part in bold in the manual
STEP=STEPDEBUG/S - Makes it possible to debug code with a debugger.
Not implemented yet.


_________________
Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2009/10/7 0:11
From Copenhagen
Posts: 1186
@Raziel

I assume you mean, that you clicked on the 'params' entry in the 'Variable' list column.

I have built a fresh version with a minor change. I hope you can test it a little bit.

https://www.justbeamit.com/87zvy

   Report Go to top

Re: Db101 betatesters needed
Home away from home
Joined:
2006/12/2 3:55
From Italy, Perugia
Posts: 2976
@alfkil

Quote:
sorry, this download link no longer exists :(

   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2009/10/7 0:11
From Copenhagen
Posts: 1186
@samo79

Hmm... Is it impossible to find a file transfer service that works on OS4.1?

   Report Go to top

Re: Db101 betatesters needed
Supreme Council
Joined:
2006/11/19 18:16
From London, England
Posts: 1262
It didn't work for me either, and I'm running Chrome under Windows 7, so it's not an Amiga thing.

Simon

_________________
Comments made in any post are personal opinion, and are in no-way representative of any commercial entity unless specifically stated as such.
----
http://codebench.co.uk
   Report Go to top

Re: Db101 betatesters needed
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2902
@alfkil

Yep, link is dead.

I use TinyUpload if i need to.
It's perfect for such "small" files and it's free too (50MB)

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2009/10/7 0:11
From Copenhagen
Posts: 1186
@Raziel

Here is the TinyUpload link: http://s000.tinyupload.com/index.php?file_id=37399584747346489462

Hope it works.

   Report Go to top

Re: Db101 betatesters needed
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2902
@alfkil

Download worked and the new version let me open the sub item, thanks a lot for the fix

Is there a chance i'll be able to save the stacktrace to a file in a future version (for record and to ask other devs)

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: Db101 betatesters needed
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2902
@alfkil

If i "Kill" a crashed program i get a GrimReaper

Crash log for task "db101_beta"
Generated by GrimReaper 53.19
Crash occured in module kernel
.debug at address 0x02003658
Type of crash
unknown exception
Alert number
0x0100000F

Register dump
:
GPR (General Purpose Registers):
   
00202D1D4 433D2520 9CE3FFEA 02003670 491C79A0 0200B030 02A8824C 02A8826C 
   8
00000000 00000001 00000000 0202B798 2A822848 44268C48 00000000 5C1DD000 
  16
7D07A208 00000000 00000000 00340014 02B30000 02B30000 02800000 02950000 
  24
02950000 00000000 00000001 02A8B092 02950000 491C79A0 491C79A0 02973054 


FPR 
(Floating Point RegistersNaN Not a Number):
   
0:              753    -6.13331e+307      7.7486e-304     -4.4678e+307 
   4
:    -6.13331e+307    -6.13331e+307    -2.08822e+307    -2.08822e+307 
   8
:      7.7486e-304      7.7486e-304                1       4.5036e+15 
  12
:              256       4.5036e+15                0                0 
  16
:                0                0                0                0 
  20
:                0                0                0                0 
  24
:                0                0                0                0 
  28
:                0                0                0               -

FPSCR 
(Floating Point Status and Control Register): 0x82004000


SPRs 
(Special Purpose Registers):
           
Machine State (msr) : 0x0200B030
                Condition 
(cr) : 0x41ED4AFC
      Instruction Pointer 
(ip) : 0x02003658
       Xtended Exception 
(xer) : 0x36AB8018
                   Count 
(ctr) : 0x6FF364D0
                     Link 
(lr) : 0x7FB3E920
            DSI Status 
(dsisr) : 0x36AB7DD0
            Data Address 
(dar) : 0x021E3CC8



680x0 emulated registers
:
DATA00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
ADDR
6FFB8000 961B2F00 00000000 00000000 00000000 00000000 00000000 433D1810 
FPU0
:                0                0                0                0 
FPU4
:                0                0                0                0 



Symbol info
:
Instruction pointer 0x02003658 belongs to module "kernel.debug" (HUNK/Kickstart)

Stack trace:
    
native kernel module kernel.debug+0x00003658
    native kernel module kernel
.debug+0x0002d1e8
    native kernel module kernel
.debug+0x00023f64
    module SetPatch at 0x7FFCBE48 
(section 5 0x5E24)
    
native kernel module kernel.debug+0x00024190
    module SetPatch at 0x7FFCBDDC 
(section 5 0x5DB8)
    
native kernel module elf.library.kmod+0x000068c4
    native kernel module kernel
.debug+0x0007ca44
    native kernel module elf
.library.kmod+0x00002c30
    native kernel module elf
.library.kmod+0x00009540
    native kernel module elf
.library.kmod+0x000095c0
    native kernel module elf
.library.kmod+0x000003f0
    native kernel module elf
.library.kmod+0x000005e0
    
[elf.c:17db101_beta:close_elfhandle()+0x58 (section 1 0x1EBA0)
    [
elf.c:34db101_beta:close_all_elfhandles()+0x6c (section 1 0x1ED0C)
    [
gui.c:988db101_beta:event_loop()+0x9e0 (section 1 0x60BC)
    [
main.c:25db101_beta:main()+0x7c (section 1 0x260)
    
native kernel module newlib.library.kmod+0x000020a4
    native kernel module newlib
.library.kmod+0x00002d54
    native kernel module newlib
.library.kmod+0x00002ee8
    db101_beta
:_start()+0x170 (section 1 0x16C)
    
native kernel module dos.library.kmod+0x000255c8
    native kernel module kernel
.debug+0x0006e9c0
    native kernel module kernel
.debug+0x0006ea08

PPC disassembly
:
 
0200365060633670   ori               r3,r3,13936
 02003654
44000022   .word             0x44000022
*020036584e800020   blr               
 0200365c
7c641b78   mr                r4,r3
 02003660
3c600200   lis               r3,512

System information
:

CPU 
 Model
P.ASemi PWRficient PA6T-1682M VB1 
 CPU speed
1800 MHz 
 FSB speed
900 MHz 
 Extensions
altivec 

Machine 
 Machine name
AmigaOne X1000 
 Memory
2097152 KB 
 Extensions
bus.pci bus.pcie


Yep, using the debug kernel here...

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2009/10/7 0:11
From Copenhagen
Posts: 1186
@Raziel

'Kill' is really an unsupported feature. There is not way to do it in a system compliant way. So don't expect it to work.


Edited by alfkil on 2017/3/6 13:21:48
   Report Go to top

Re: Db101 betatesters needed
Supreme Council
Joined:
2006/11/19 18:16
From London, England
Posts: 1262
All I'm getting from that TinyUrl link is a load of shit popups asking me to install Chrome plugins.

EDIT:

Well, there's a first. I tried with Odyssey and the link worked. I think that must be the first time ever an Amiga browser succeeded where a mainstream browser has failed.

I'll test it tommorrow.

Simon

_________________
Comments made in any post are personal opinion, and are in no-way representative of any commercial entity unless specifically stated as such.
----
http://codebench.co.uk
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2006/12/1 18:01
From Copenhagen, Denmark
Posts: 1031
@Rigo

Quote:
Well, there's a first. I tried with Odyssey and the link worked.
Really? It fails every time I try; I just tried again, and no luck. It tells me the file already exists (it doesn't), and I choose Resume. Then it says it failed.

(The page also says you can't download it without signing up - no way ...)

Best regards,

Niels


   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2006/12/4 23:15
Posts: 1909
@nbache


Quote:

(The page also says you can't download it without signing up - no way ...)


That is an 'advert'. One reason I hate those sites, is the phishing style adverts on them. I really wonder why the days of dropbox, google drive et al why anyone needs to use them?

_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2006/12/4 23:15
Posts: 1909
@alfkil

Just tried to attach db101 to a runing process (AOrgansier) that I'd maged to get inot aloop.

Two issues :

1. The list of processes is uninformative. Too manay "Background CLI" entries with no other info. Address and prgram running in that CLI where possible woud be more than helpful.

2. Guessed the right one based on order of starting prgrams I got a message AllocMem failed followed by a DSI when loading debug data, ignoring the DIS produces a string of AlloMem failed outputs....



_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2006/12/4 23:15
Posts: 1909
BTW if it took the same sort of argumenst (or a subset of) as GR sends to gdb we could rename it GDB and perhaps start it from a GR?

_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: Db101 betatesters needed
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2902
@nbache
@Rigo

Thats why i use a custom HOSTS file which suppresses all of tose nasty popup/phishing/spam stuff.

The site looks pretty clean when i use it
Resized Image

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2009/10/7 0:11
From Copenhagen
Posts: 1186
@broadblues

I haven't tested the 'attach' mode for a long time. It is possible, that something changed in the os, that needs fixing in db101. I'll try and find time to look at it.

It would be great, if we could replace GDB. I am not sure that I am completely up to date featurewise (you mentioned a few things, that could be interesting to look at), but it would probably create a slightly more inviting atmosphere for the average user.

   Report Go to top

Re: Db101 betatesters needed
Just can't stay away
Joined:
2009/10/7 0:11
From Copenhagen
Posts: 1186
@alfkil

I have done a small update, where I have enabled clicking the entries in the stacktrace to display the parameters and local stack variables from selected entry.

http://s000.tinyupload.com/index.php?file_id=05112804899334529654

I am not sure it is optimal. It works, but there are certain things, that bother me. Like the intuition of what is going on. Does the user know, that what he is seeing, is not the actual current function but the one selected in the stacktrace window? What about entries, that do not show correctly when selected this way - like static entries and pointer content? Would it be better to show these infos in a separate window with a clear warning, that what you is seeing is not necessarily, what used to be there? Or is it ok? Does one know that much, if one is reading stackframes from a crashed app?

   Report Go to top


« 1 2 (3) 4 »



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project