* [commit] fix syntax errors in hpread.c
@ 2007-01-04 7:21 Joel Brobecker
2007-01-04 14:11 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Joel Brobecker @ 2007-01-04 7:21 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 552 bytes --]
Hello,
The gods of automated nightly builds whispered to me in my sleep that
hpread.c failed to build last night. There are indeed a couple of
syntax errors that slipped through the the last commit. Fixed thusly.
I can't test this myself because it looks like this code handles C++
objects. I don't have a C++ compiler available to me on HP/UX. The
change looks reasonably obvious, so hopefully it is fine.
2007-01-04 Joel Brobecker <brobecker@adacore.com>
* hpread.c (hpread_type_lookup): Fix compilation failure.
Checked in.
--
Joel
[-- Attachment #2: hpread.c.diff --]
[-- Type: text/plain, Size: 780 bytes --]
Index: hpread.c
===================================================================
RCS file: /cvs/src/src/gdb/hpread.c,v
retrieving revision 1.59
diff -u -p -r1.59 hpread.c
--- hpread.c 3 Jan 2007 18:05:43 -0000 1.59
+++ hpread.c 4 Jan 2007 07:12:11 -0000
@@ -4871,10 +4871,9 @@ hpread_type_lookup (dnttpointer hp_type,
struct type *ptrmemtype;
struct type *class_type;
struct type *memtype;
- memtype = hpread_type_lookup (dn_bufp->dptrmem.memtype,
- objfile),
- class_type = hpread_type_lookup (dn_bufp->dptrmem.pointsto,
- objfile),
+
+ memtype = hpread_type_lookup (dn_bufp->dptrmem.memtype, objfile);
+ class_type = hpread_type_lookup (dn_bufp->dptrmem.pointsto, objfile);
return lookup_memberptr_type (memtype, class_type);
}
break;
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [commit] fix syntax errors in hpread.c
2007-01-04 7:21 [commit] fix syntax errors in hpread.c Joel Brobecker
@ 2007-01-04 14:11 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2007-01-04 14:11 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
On Thu, Jan 04, 2007 at 11:22:05AM +0400, Joel Brobecker wrote:
> Hello,
>
> The gods of automated nightly builds whispered to me in my sleep that
> hpread.c failed to build last night. There are indeed a couple of
> syntax errors that slipped through the the last commit. Fixed thusly.
>
> I can't test this myself because it looks like this code handles C++
> objects. I don't have a C++ compiler available to me on HP/UX. The
> change looks reasonably obvious, so hopefully it is fine.
Thanks. This is not just C++ support but specifically aCC SOM support;
and it's on its way out, but let's keep it building until it goes.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-04 14:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-04 7:21 [commit] fix syntax errors in hpread.c Joel Brobecker
2007-01-04 14:11 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox