From: Frank Duignan <frank.duignan@gmail.com>
To: insight@sourceware.org
Subject: patch for insight-6.8.1
Date: Thu, 19 Aug 2010 18:46:00 -0000 [thread overview]
Message-ID: <AANLkTim2Jw5AxWJWy1nvFUGmXMf01poPC876JfxscgkS@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 234 bytes --]
I tried to build insight 6.8.1 for arm-elf and ran into man (terminal)
warnings. These all related to ignored return values from function
calls. I fixed these up and here is the diff.
I can mail the whole source tree if you like
f.
[-- Attachment #2: diff.txt --]
[-- Type: text/plain, Size: 1914 bytes --]
diff -r /media/backup/frank/arm/build/originals/insight-6.8-1/gdb/cli/cli-cmds.c /media/backup/frank/arm/build/insight-6.8-1/gdb/cli/cli-cmds.c
320a321
> char * temp;
323c324
< getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
---
> temp=getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
diff -r /media/backup/frank/arm/build/originals/insight-6.8-1/gdb/eval.c /media/backup/frank/arm/build/insight-6.8-1/gdb/eval.c
1649c1649,1651
<
---
> for (i=0;i<MAX_FORTRAN_DIMS;i++) {
> subscript_array[i]=array_size_array[i]=0;
> }
diff -r /media/backup/frank/arm/build/originals/insight-6.8-1/gdb/inflow.c /media/backup/frank/arm/build/insight-6.8-1/gdb/inflow.c
515a516
> int n;
548c549
< dup (tty);
---
> n = dup (tty);
553c554
< dup (tty);
---
> n = dup (tty);
558c559
< dup (tty);
---
> n = dup (tty);
diff -r /media/backup/frank/arm/build/originals/insight-6.8-1/gdb/main.c /media/backup/frank/arm/build/insight-6.8-1/gdb/main.c
164a165,166
>
> char * temp;
191c193
< getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
---
> temp = getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
diff -r /media/backup/frank/arm/build/originals/insight-6.8-1/gdb/mi/mi-cmd-env.c /media/backup/frank/arm/build/insight-6.8-1/gdb/mi/mi-cmd-env.c
69a70
> char *temp;
81c82
< getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
---
> temp = getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
diff -r /media/backup/frank/arm/build/originals/insight-6.8-1/gdb/top.c /media/backup/frank/arm/build/insight-6.8-1/gdb/top.c
1625a1626
> char *temp;
1631c1632
< getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
---
> temp = getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
diff -r /media/backup/frank/arm/build/originals/insight-6.8-1/gdb/utils.c /media/backup/frank/arm/build/insight-6.8-1/gdb/utils.c
692c692
<
---
> ssize_t num;
707c707
< write (STDERR_FILENO, msg, sizeof (msg));
---
> num = write (STDERR_FILENO, msg, sizeof (msg));
next reply other threads:[~2010-08-19 18:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-19 18:46 Frank Duignan [this message]
2010-08-19 19:07 ` Keith Seitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTim2Jw5AxWJWy1nvFUGmXMf01poPC876JfxscgkS@mail.gmail.com \
--to=frank.duignan@gmail.com \
--cc=insight@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).