[COMMITTED] MSP430: Relax target glob for configuring GDB

Message ID 20191213140959.4a79238a@jozef-kubuntu
State New
Headers show
Series
  • [COMMITTED] MSP430: Relax target glob for configuring GDB
Related show

Commit Message

Jozef Lawrynowicz Dec. 13, 2019, 2:09 p.m.
Committed a small change to the globs used to match the msp430 target
when configuring GDB. This is to enable support for the msp430-elfbare target
being added to GCC.

Patch

From b3f4b80fba8bee1d1d2601424d0be0f2adcb0d79 Mon Sep 17 00:00:00 2001
From: Jozef Lawrynowicz <jozef.l@mittosystems.com>
Date: Fri, 13 Dec 2019 13:46:32 +0000
Subject: [PATCH] MSP430: Relax target glob for configuring GDB

This enables support for the msp430-elfbare target being added to GCC.

gdb/ChangeLog:

2019-12-13  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

	* configure.tgt: Match msp430-*-elf* targets when configuring GDB.
---
 gdb/ChangeLog     | 4 ++++
 gdb/configure.tgt | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ecd2124720..4f5138932b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@ 
+2019-12-13  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+	* configure.tgt: Match msp430-*-elf* targets when configuring GDB.
+
 2019-12-12  Tom Tromey  <tom@tromey.com>
 
 	* objfiles.h (struct objfile) <partial_symtabs>: Now a
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index b3717c7a80..ab4c098c0d 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -454,7 +454,7 @@  mn10300-*-*)
 	gdb_sim=../sim/mn10300/libsim.a
 	;;
 
-msp430*-*-elf)
+msp430-*-elf*)
 	gdb_target_obs="msp430-tdep.o"
 	gdb_sim=../sim/msp430/libsim.a
 	;;
-- 
2.17.1