From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7138 invoked by alias); 12 Nov 2001 15:04:22 -0000 Mailing-List: contact insight-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 6670 invoked from network); 12 Nov 2001 15:03:17 -0000 Message-ID: <3BEFE4AF.42CB5E3B@cygnus.com> Date: Mon, 01 Oct 2001 06:51:00 -0000 From: Fernando Nasser Organization: Red Hat , Inc. - Toronto X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3-12smp i686) X-Accept-Language: en MIME-Version: 1.0 To: Grant Edwards CC: insight@sources.redhat.com Subject: Re: remote target => putpkt: write failed: Permission denied. References: <20011107143449.A24299@visi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2001-q4/txt/msg00000.txt.bz2 Grant Edwards wrote: > > arm-elf-gdb > Cygwin/WinNT > remote target @ 57600 > > I'm using Insight 5.0 with an ARM7 board running gdb stubs. > > Everything works fine if I run "-nw", but with the GUI enabled, > I can't even connect. When I do a "target remote COM1" > Grant, You should not be connecting from the simulated console, specially in the 5.0 (old) version. Use the GUI menus to connect. There is a Target dialog for you to configure how and to where you want to connect and also menu options for connecting, disconnecting etc. In the recent snapshots, after Keith's latest rewrites, it is possible that this kind of command issued from the Console Window properly notify the rest of the GUI (I'm not sure though), but in the version you are using it will just confuse it. Regards, Fernando > I get the error: > > (gdb) target remote COM1 > > Couldn't establish conenction to remote target > putpkt: write failed: Permission denied. > > Remote debuggin using COM1 > > (gdb) > > After that, nothing that accesses the target will work. > > Any clues? > -- Fernando Nasser Red Hat - Toronto E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Nasser To: Grant Edwards Cc: insight@sources.redhat.com Subject: Re: remote target => putpkt: write failed: Permission denied. Date: Mon, 12 Nov 2001 07:04:00 -0000 Message-ID: <3BEFE4AF.42CB5E3B@cygnus.com> References: <20011107143449.A24299@visi.com> X-SW-Source: 2001-q4/msg00301.html Message-ID: <20011112070400.v4vLO9TlE0hs4HNzjFUZVPiOuvBhE05Cr5f32F-Ivz0@z> Grant Edwards wrote: > > arm-elf-gdb > Cygwin/WinNT > remote target @ 57600 > > I'm using Insight 5.0 with an ARM7 board running gdb stubs. > > Everything works fine if I run "-nw", but with the GUI enabled, > I can't even connect. When I do a "target remote COM1" > Grant, You should not be connecting from the simulated console, specially in the 5.0 (old) version. Use the GUI menus to connect. There is a Target dialog for you to configure how and to where you want to connect and also menu options for connecting, disconnecting etc. In the recent snapshots, after Keith's latest rewrites, it is possible that this kind of command issued from the Console Window properly notify the rest of the GUI (I'm not sure though), but in the version you are using it will just confuse it. Regards, Fernando > I get the error: > > (gdb) target remote COM1 > > Couldn't establish conenction to remote target > putpkt: write failed: Permission denied. > > Remote debuggin using COM1 > > (gdb) > > After that, nothing that accesses the target will work. > > Any clues? > -- Fernando Nasser Red Hat - Toronto E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9