diff mbox

Build regression [Re: [patch libiberty include]: Add additional helper functions for directory-separator searching]

Message ID 201103091502.37276.pedro@codesourcery.com
State New
Headers show

Commit Message

Pedro Alves March 9, 2011, 3:02 p.m. UTC
On Wednesday 09 March 2011 14:37:15, Jan Kratochvil wrote:
> On Wed, 09 Mar 2011 13:58:38 +0100, Pedro Alves wrote:
> > Thanks.  I've applied it.
> 
> nto-tdep.c:130:8: error: assignment discards ‘const’ qualifier from pointer target type [-Werror]

Thanks, had forgotten --enable-targets=all.  Sorry about that.

Applied.

Comments

Jan Kratochvil March 9, 2011, 3:08 p.m. UTC | #1
On Wed, 09 Mar 2011 16:02:36 +0100, Pedro Alves wrote:
> Thanks, had forgotten --enable-targets=all.  Sorry about that.

It builds now OK.


Thanks,
Jan
diff mbox

Patch

Index: src/gdb/nto-tdep.c
===================================================================
--- src.orig/gdb/nto-tdep.c	2011-03-09 12:47:34.000000000 +0000
+++ src/gdb/nto-tdep.c	2011-03-09 14:56:44.182800000 +0000
@@ -89,7 +89,8 @@  nto_map_arch_to_cputype (const char *arc
 int
 nto_find_and_open_solib (char *solib, unsigned o_flags, char **temp_pathname)
 {
-  char *buf, *arch_path, *nto_root, *endian, *base;
+  char *buf, *arch_path, *nto_root, *endian;
+  const char *base;
   const char *arch;
   int ret;
 #define PATH_FMT \