From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17959 invoked by alias); 18 Feb 2003 12:09:43 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 17951 invoked from network); 18 Feb 2003 12:09:43 -0000 Received: from unknown (HELO nimbus19.internetters.co.uk) (209.61.216.65) by 172.16.49.205 with SMTP; 18 Feb 2003 12:09:43 -0000 Received: (qmail 25888 invoked from network); 18 Feb 2003 12:09:30 -0000 Received: from unknown (HELO ?192.168.0.251?) (81.152.26.239) by nimbus19.internetters.co.uk with SMTP; 18 Feb 2003 12:09:30 -0000 Subject: Summary of differences between FSF GDB and ST's Micro Connect version From: Alex Bennee To: gdb@sources.redhat.com Content-Type: text/plain Organization: Hackers Inc Message-Id: <1045569787.2506.96.camel@cambridge.braddahead> Mime-Version: 1.0 Date: Tue, 18 Feb 2003 12:09:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00303.txt.bz2 Hi, In a naieve attempt to get my Micro Connect ICE to talk to the latest gdb I thought I'd better have a look at the diff's between the two sources and inquire to the list if its worth forward porting any of the changes into the latest gdb source tree. I'm unsure if some of the arch specific stuff had been covered in later versions. The version of gdb that I was supplied is quite old 20020211 and has had patches made to it by both by SuperH, Inc and ST. I've only skimmed through the diffs (~6000 lines) so the comments are brief. BFD Changes (bfd/) bfd/bfd-in2.h - Added addtional SH relocation types GDB Changes (gdb/) Various SH specific changes to deal with breakpoints, frame handling etc Changes to handle SH virtual registers Changes to dwarf handling Some code #if 0'd out to either bypass "bugs" or hardwire things for SH cases gdbarch updated A fair number of explicit variable initialisations and single line changes. GDB CLI (gdb/cli) New functions added: sleep_escape (seems to sleep for a bit) fork_escape (forks external process setting up some pipes) - this is used to lauch the external gdbserver in my setup Command file tracing added (-v). So I guess my question is will any of these patches of been forward ported into 5.3 or submitted by SuperH for inclusion? I know the cli changes have not but I fear these in themselves may not be enough to get the latest gdb working with the gdb server. -- Alex, homepage: http://www.bennee.com/~alex/ SCCS, the source motel! Programs check in and never check out! -- Ken Thompson