mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
2006-01-04 Jim Blandy <jimb@redhat.com>
* gdb.asm/asm-source.exp: Independently provide default values for asm-flags and debug-flags. Use 'string equal' to do the comparison, not the implicit expr's '==' operator. Remove now-unneeded assignments to asm-flags. In h8300 case, place "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
2006-01-04 Jim Blandy <jimb@redhat.com>
|
||||||
|
|
||||||
|
* gdb.asm/asm-source.exp: Independently provide default values for
|
||||||
|
asm-flags and debug-flags. Use 'string equal' to do the
|
||||||
|
comparison, not the implicit expr's '==' operator. Remove
|
||||||
|
now-unneeded assignments to asm-flags. In h8300 case, place
|
||||||
|
"-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
|
||||||
|
|
||||||
2006-01-04 Michael Snyder <msnyder@redhat.com>
|
2006-01-04 Michael Snyder <msnyder@redhat.com>
|
||||||
|
|
||||||
* gdb.base/checkpoint.c: New file.
|
* gdb.base/checkpoint.c: New file.
|
||||||
|
@ -65,7 +65,6 @@ switch -glob -- [istarget] {
|
|||||||
}
|
}
|
||||||
"x86_64-*-*" {
|
"x86_64-*-*" {
|
||||||
set asm-arch x86_64
|
set asm-arch x86_64
|
||||||
set asm-flags "-I${srcdir}/${subdir} -I${objdir}/${subdir}"
|
|
||||||
set debug-flags "-gdwarf-2"
|
set debug-flags "-gdwarf-2"
|
||||||
}
|
}
|
||||||
"i\[3456\]86-*-*" {
|
"i\[3456\]86-*-*" {
|
||||||
@ -108,7 +107,6 @@ switch -glob -- [istarget] {
|
|||||||
}
|
}
|
||||||
"sh*-*-*" {
|
"sh*-*-*" {
|
||||||
set asm-arch sh
|
set asm-arch sh
|
||||||
set asm-flags "-I${srcdir}/${subdir} -I${objdir}/${subdir}"
|
|
||||||
set debug-flags "-gdwarf-2"
|
set debug-flags "-gdwarf-2"
|
||||||
}
|
}
|
||||||
"sparc-*-*" {
|
"sparc-*-*" {
|
||||||
@ -121,7 +119,6 @@ switch -glob -- [istarget] {
|
|||||||
}
|
}
|
||||||
"xstormy16-*-*" {
|
"xstormy16-*-*" {
|
||||||
set asm-arch xstormy16
|
set asm-arch xstormy16
|
||||||
set asm-flags "-I${srcdir}/${subdir} -I${objdir}/${subdir}"
|
|
||||||
set debug-flags "-gdwarf-2"
|
set debug-flags "-gdwarf-2"
|
||||||
}
|
}
|
||||||
"v850-*-*" {
|
"v850-*-*" {
|
||||||
@ -133,7 +130,6 @@ switch -glob -- [istarget] {
|
|||||||
}
|
}
|
||||||
"ia64-*-*" {
|
"ia64-*-*" {
|
||||||
set asm-arch ia64
|
set asm-arch ia64
|
||||||
set asm-flags "-I${srcdir}/${subdir} -I${objdir}/${subdir}"
|
|
||||||
set debug-flags "-gdwarf-2"
|
set debug-flags "-gdwarf-2"
|
||||||
}
|
}
|
||||||
"iq2000-*-*" {
|
"iq2000-*-*" {
|
||||||
@ -141,22 +137,19 @@ switch -glob -- [istarget] {
|
|||||||
}
|
}
|
||||||
"hppa*-linux-*" {
|
"hppa*-linux-*" {
|
||||||
set asm-arch pa
|
set asm-arch pa
|
||||||
set asm-flags "-I${srcdir}/${subdir} -I${objdir}/${subdir}"
|
|
||||||
set debug-flags "-gdwarf-2"
|
set debug-flags "-gdwarf-2"
|
||||||
}
|
}
|
||||||
"hppa-*-openbsd*" {
|
"hppa-*-openbsd*" {
|
||||||
set asm-arch pa
|
set asm-arch pa
|
||||||
set asm-flags "-I${srcdir}/${subdir} -I${objdir}/${subdir}"
|
|
||||||
set debug-flags "-gdwarf-2"
|
set debug-flags "-gdwarf-2"
|
||||||
}
|
}
|
||||||
"hppa64-*-hpux*" {
|
"hppa64-*-hpux*" {
|
||||||
set asm-arch pa64
|
set asm-arch pa64
|
||||||
set asm-flags "-I${srcdir}/${subdir} -I${objdir}/${subdir}"
|
|
||||||
set debug-flags "-gdwarf-2"
|
set debug-flags "-gdwarf-2"
|
||||||
}
|
}
|
||||||
"h83*-*" {
|
"h83*-*" {
|
||||||
set asm-arch h8300
|
set asm-arch h8300
|
||||||
set asm-flags "-gdwarf2 -I${srcdir}/${subdir} -I${objdir}/${subdir}"
|
set debug-flags "-gdwarf-2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -203,8 +196,11 @@ remote_download host ${srcdir}/${subdir}/${asm-arch}.inc ${subdir}/arch.inc
|
|||||||
remote_exec build "rm -f ${subdir}/note.inc"
|
remote_exec build "rm -f ${subdir}/note.inc"
|
||||||
remote_download host ${srcdir}/${subdir}/${asm-note}.inc ${subdir}/note.inc
|
remote_download host ${srcdir}/${subdir}/${asm-note}.inc ${subdir}/note.inc
|
||||||
|
|
||||||
if { "${asm-flags}" == "" } {
|
if { [string equal ${asm-flags} ""] } {
|
||||||
set asm-flags "-I${srcdir}/${subdir} -I${objdir}/${subdir}"
|
set asm-flags "-I${srcdir}/${subdir} -I${objdir}/${subdir}"
|
||||||
|
}
|
||||||
|
|
||||||
|
if { [string equal ${debug-flags} ""] } {
|
||||||
set debug-flags "-gstabs"
|
set debug-flags "-gstabs"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user