* hppa-tdep.c (find_function_in_inferior): Remove this extern,

as this is already provided by value.h, and was actually causing
       a compilation error because of a conflict in parameter type
       declaration due to a missing const keyword.
       (low_text_segment_addres): Fix a compilation warning.
This commit is contained in:
Joel Brobecker 2002-10-30 20:42:54 +00:00
parent 54847c7622
commit bf9c25dc04
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,11 @@
2002-10-30 Joel Brobecker <brobecker@gnat.com>
* hppa-tdep.c (find_function_in_inferior): Remove this extern,
as this is already provided by value.h, and was actually causing
a compilation error because of a conflict in parameter type
declaration due to a missing const keyword.
(low_text_segment_addres): Fix a compilation warning.
2002-10-29 Daniel Jacobowitz <drow@mvista.com>
* mips-linux-nat.c (mips_linux_cannot_fetch_register): Don't fetch

View file

@ -149,9 +149,6 @@ extern int hp_som_som_object_present;
/* In breakpoint.c */
extern int exception_catchpoints_are_fragile;
/* This is defined in valops.c. */
extern struct value *find_function_in_inferior (char *);
/* Should call_function allocate stack space for a struct return? */
int
hppa_use_struct_convention (int gcc_p, struct type *type)
@ -300,7 +297,7 @@ static CORE_ADDR low_text_segment_address;
static void
record_text_segment_lowaddr (bfd *abfd, asection *section, void *ignored)
{
if ((section->flags & (SEC_ALLOC | SEC_LOAD | SEC_READONLY)
if (((section->flags & (SEC_ALLOC | SEC_LOAD | SEC_READONLY))
== (SEC_ALLOC | SEC_LOAD | SEC_READONLY))
&& section->vma < low_text_segment_address)
low_text_segment_address = section->vma;