From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23320 invoked by alias); 22 Oct 2010 15:22:40 -0000 Received: (qmail 23285 invoked by uid 22791); 22 Oct 2010 15:22:38 -0000 X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from web27201.mail.ukl.yahoo.com (HELO web27201.mail.ukl.yahoo.com) (217.146.182.91) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Fri, 22 Oct 2010 15:22:33 +0000 Received: (qmail 97720 invoked by uid 60001); 22 Oct 2010 15:22:29 -0000 Message-ID: <530805.97008.qm@web27201.mail.ukl.yahoo.com> Received: from [144.254.166.127] by web27201.mail.ukl.yahoo.com via HTTP; Fri, 22 Oct 2010 16:22:28 BST Date: Fri, 22 Oct 2010 15:22:00 -0000 From: Salvatore Lionetti Subject: [GDB] Re: About break and run-time loaded lib To: gdb@sourceware.org Cc: Pedro Alves MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-10/txt/msg00090.txt.bz2 Many thanks Pedro, you are right, work like a charme. Could in generally 'O= ' packet like an event? (without a request) ^Cremote_interrupt called remote_stop called Packet received: O53414C5659 SALVYPacket received: S02 Sending packet: $p40#d4...Ack Packet received: 00000000 Program received signal SIGINT, Interrupt. 0x00000000 in ?? () (gdb)=20 (Yes PC is NULL, to be implemented) Now i've a less trivial problem (surely due to my ignorance): My OS load dinamically some modules, at offset different (although near) ov= er every boot. So target know the base address (Text/Data/Bss) - How could i explain to host gdb this information, when some of these libr= ary are loaded on the host? Have a good day P.S: I've already 'consumed' the 'qOffsets' packet --- Sab 16/10/10, Pedro Alves ha scritto: > Da: Pedro Alves > Oggetto: Re: About break > A: gdb@sourceware.org > Cc: "Salvatore Lionetti" > Data: Sabato 16 ottobre 2010, 19:49 > On Friday 15 October 2010 14:32:41, > Salvatore Lionetti wrote: > > Hi, > >=20 > > just two curiosity in creating my first gdbstub via > tcp: > > 1) On gdb6.8 or before, is there another way to > accomplish the lack of 'set breakpoint always-inserted' ? >=20 > No. >=20 > > 2) When a Ctrl-c is sent to the target, is there a way > from the target to reply with boths 'OABCD...' and 'SXX'? >=20 > Did you try making the target do just that? It should > work, I think. >=20 > --=20 > Pedro Alves >=20