List Info

Thread: gdbserver 6.4.50 on Coldfire




gdbserver 6.4.50 on Coldfire
user name
2006-04-18 08:40:15
Hi,

I compiled gdbserver (from gdb-6.4.50.20060405) on my
uClinux Coldfire tree 
(m68knommu).

I then encounter 2 problems:

1) linux-low.c uses fork when vfork should be use for system
without MMU.
  I changed this and went to the next problem

2) the older gdbserver was displaying the address of the
main sections: 
.text, .data and .bss
  Without this info, I cannot use the add_symbol_file
xxx.gdb text_addr -s 
.data data_addr -s .bss bss_addr

There was the following function called by server.c:main()
after 
start_inferior()
or attach_inferior ()

void
show_area()
{

     code_start = ptrace (PTRACE_PEEKUSER, inferior_pid,
                                  (PTRACE_ARG3_TYPE) 49*4,
0);
     data_start = ptrace (PTRACE_PEEKUSER, inferior_pid,
                                  (PTRACE_ARG3_TYPE) 50*4,
0);
     bss_start = data_start;
     code_end = ptrace (PTRACE_PEEKUSER, inferior_pid,
                                  (PTRACE_ARG3_TYPE) 51*4,
0);

     fprintf(stderr,"code at %p - %p, data at
%p\n", code_start, code_end, 
data_start);
}





What is the status of the support of m68knommu in gdbserver
?


Jean-René Peulvé 


gdbserver 6.4.50 on Coldfire
user name
2006-04-18 12:39:51
On Tue, Apr 18, 2006 at 10:40:15AM +0200, Jean-Rene Peulve
wrote:
> What is the status of the support of m68knommu in
gdbserver ?

There isn't any.  No one has contributed uClinux support
for gdbserver.
However, we (CodeSourcery) just needed this for another
project; I'll
poke those folks to submit these bits 

-- 
Daniel Jacobowitz
CodeSourcery
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )