mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-01 01:45:51 +08:00
* linux-arm-low.c: Remove redundant include of gdb_proc_service.h.
Only include elf.h if gdb_proc_service.h didn't include linux/elf.h.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2010-01-21 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* linux-arm-low.c: Remove redundant include of gdb_proc_service.h.
|
||||||
|
Only include elf.h if gdb_proc_service.h didn't include linux/elf.h.
|
||||||
|
|
||||||
2010-01-21 Pedro Alves <pedro@codesourcery.com>
|
2010-01-21 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* proc-service.c (ps_lgetregs): Don't refetch registers from the
|
* proc-service.c (ps_lgetregs): Don't refetch registers from the
|
||||||
|
@ -20,11 +20,13 @@
|
|||||||
#include "server.h"
|
#include "server.h"
|
||||||
#include "linux-low.h"
|
#include "linux-low.h"
|
||||||
|
|
||||||
|
/* Don't include elf.h if linux/elf.h got included by gdb_proc_service.h.
|
||||||
|
On Bionic elf.h and linux/elf.h have conflicting definitions. */
|
||||||
|
#ifndef ELFMAG0
|
||||||
#include <elf.h>
|
#include <elf.h>
|
||||||
|
#endif
|
||||||
#include <sys/ptrace.h>
|
#include <sys/ptrace.h>
|
||||||
|
|
||||||
#include "gdb_proc_service.h"
|
|
||||||
|
|
||||||
/* Defined in auto-generated files. */
|
/* Defined in auto-generated files. */
|
||||||
void init_registers_arm (void);
|
void init_registers_arm (void);
|
||||||
void init_registers_arm_with_iwmmxt (void);
|
void init_registers_arm_with_iwmmxt (void);
|
||||||
|
Reference in New Issue
Block a user