* Patch for HPPA HP-UX build failure
@ 2006-05-10 18:46 Steve Ellcey
2006-05-10 18:50 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Steve Ellcey @ 2006-05-10 18:46 UTC (permalink / raw)
To: gdb-patches
I noticed that gdb on HPPA HP-UX was not building unless I use
--disable-nls, this is because of a problem with using the _() macro in
an intialization. GCC 4.0.2 would error on the initiazation of message.
I noticed that there were no other initializations like this so I
removed it and used the macro/string directly in the call to
catch_error. This patch allowed me to build gdb on
hppa1.1.-hp-hpux11.11.
OK to checkin?
2006-05-10 Steve Ellcey <sje@cup.hp.com>
* hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Remove
message.
*** hppa-hpux-tdep.c.orig Wed May 10 10:22:09 2006
--- hppa-hpux-tdep.c Wed May 10 11:33:08 2006
*************** GDB will be unable to intercept exceptio
*** 865,878 ****
does the equivalent of shl_findsym()) to find the plabel. */
args_for_find_stub args;
- static char message[] = _("Error while finding exception callback hook:\n");
args.solib_handle = gdbarch_tdep (current_gdbarch)->solib_get_solib_by_pc (eh_notify_callback_addr);
args.msym = msym;
args.return_val = 0;
recurse++;
! catch_errors (cover_find_stub_with_shl_get, &args, message,
RETURN_MASK_ALL);
eh_notify_callback_addr = args.return_val;
recurse--;
--- 865,878 ----
does the equivalent of shl_findsym()) to find the plabel. */
args_for_find_stub args;
args.solib_handle = gdbarch_tdep (current_gdbarch)->solib_get_solib_by_pc (eh_notify_callback_addr);
args.msym = msym;
args.return_val = 0;
recurse++;
! catch_errors (cover_find_stub_with_shl_get, &args,
! _("Error while finding exception callback hook:\n"),
RETURN_MASK_ALL);
eh_notify_callback_addr = args.return_val;
recurse--;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Patch for HPPA HP-UX build failure
2006-05-10 18:46 Patch for HPPA HP-UX build failure Steve Ellcey
@ 2006-05-10 18:50 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2006-05-10 18:50 UTC (permalink / raw)
To: Steve Ellcey; +Cc: gdb-patches
On Wed, May 10, 2006 at 11:46:12AM -0700, Steve Ellcey wrote:
> 2006-05-10 Steve Ellcey <sje@cup.hp.com>
>
> * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Remove
> message.
OK, thanks.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-10 18:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-10 18:46 Patch for HPPA HP-UX build failure Steve Ellcey
2006-05-10 18:50 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox