]>
Commit | Line | Data |
---|---|---|
8c2957c4 JB |
1 | 2003-09-22 Jim Blandy <[email protected]> |
2 | ||
3 | * dwarf2read.c (read_array_type): When building the type for an | |
4 | array of unspecified length, make sure to choose the upper bound | |
5 | so that the array's total length comes out to be zero --- that's | |
6 | how we represent such arrays. | |
7 | ||
592e3010 MC |
8 | 2003-09-22 Michael Chastain <[email protected]> |
9 | ||
10 | * MAINTAINERS: Rename gdb.c++ to gdb.cp. | |
11 | ||
365c70b1 JJ |
12 | 2003-09-22 Jeff Johnston <[email protected]> |
13 | ||
14 | * top.c (quit_force): Fix indirect call to quit_target so | |
15 | a struct qt_args pointer is passed. | |
16 | ||
5d6eb653 AC |
17 | 2003-09-22 Andrew Cagney <[email protected]> |
18 | ||
19 | * arch-utils.h (init_frame_pc_noop): Delete declaration. | |
20 | * arch-utils.c (init_frame_pc_noop): Delete function. | |
21 | * mn10300-tdep.c (mn10300_gdbarch_init): Do not set | |
22 | "init_frame_pc". | |
23 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
24 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
25 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Delete | |
26 | declaration. | |
27 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
28 | * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Delete | |
29 | declaration. | |
30 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
31 | ||
b222a67f AG |
32 | 2003-09-22 Anthony Green <[email protected]> |
33 | ||
34 | * monitor.c (monitor_expect): Delete unused conflicting targ_ops | |
35 | declaration. | |
36 | ||
d5b5ac79 AC |
37 | 2003-09-20 Andrew Cagney <[email protected]> |
38 | ||
deafb061 AC |
39 | * breakpoint.c: Eliminate ARGSUSED. |
40 | * buildsym.c, cli/cli-cmds.c, cli/cli-script.c: Ditto. | |
41 | * coffread.c, corelow.c, dwarf2read.c, event-top.c: Ditto. | |
42 | * exec.c, gcore.c, hpux-thread.c, infcmd.c, inflow.c: Ditto. | |
43 | * infrun.c, inftarg.c, maint.c, ocd.c, printcmd.c: Ditto. | |
44 | * procfs.c, regcache.c, remote-rdi.c, remote-sds.c: Ditto. | |
45 | * remote.c, sol-thread.c, source.c, stabsread.c: Ditto. | |
46 | * stack.c, symfile.c, target.c, top.c, typeprint.c: Ditto. | |
47 | * utils.c, v850ice.c, valprint.c, values.c, win32-nat.c: Ditto. | |
48 | * wince.c, remote-vx.c: Ditto. | |
49 | ||
d5b5ac79 AC |
50 | * cli/cli-script.c: Remove "register" attributes. |
51 | * config/pa/tm-hppa.h: Ditto. | |
52 | * cli/cli-decode.c: Ditto. | |
53 | * cli/cli-cmds.c: Ditto. | |
54 | ||
c6316faa AC |
55 | 2003-09-19 Andrew Cagney <[email protected]> |
56 | ||
57 | * sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to | |
58 | DEPRECATED_NPC_REGNUM. | |
59 | * sparc64nbsd-nat.c (getregs_supplies): Ditto. | |
60 | ||
f4f99b11 CF |
61 | 2003-09-19 Christopher Faylor <[email protected]> |
62 | ||
63 | * win32-nat.c (mappings): Remove HAVE_SSE conditional. | |
64 | ||
1708f284 JB |
65 | 2003-09-19 Jim Blandy <[email protected]> |
66 | ||
67 | * macrotab.c (macro_include): Use the correct comparison to find | |
68 | the appropriate place for this inclusion in the list. | |
69 | ||
b9fbf434 AC |
70 | 2003-09-19 Andrew Cagney <[email protected]> |
71 | ||
72 | * config/pa/nm-hppah.h (NEED_TEXT_START_END): Delete. | |
73 | (DEPRECATED_HPUX_TEXT_END): Define. | |
74 | (deprecated_hpux_text_end): Declare. | |
75 | (struct target_ops): Declare opaque. | |
76 | * hppah-nat.c (text_end): Make static. | |
77 | (deprecated_hpux_text_end): New function. | |
78 | * exec.c (text_end): Delete global variable. | |
79 | (NEED_TEXT_START_END): Do not define. | |
80 | (exec_file_attach): Replace code computing "text_end" code with | |
81 | call to DEPRECATED_HPUX_TEXT_END. | |
82 | ||
5b03f266 AC |
83 | 2003-09-19 Andrew Cagney <[email protected]> |
84 | ||
85 | * utils.c (align_up, align_down): New functions. | |
86 | * defs.h (align_up, align_down): Declare. | |
87 | * ppc-sysv-tdep.c (align_up, align_down): Delete functions. | |
88 | * s390-tdep.c: Replace "round_up" and "round_down" with "align_up" | |
89 | and "align_down". | |
90 | (round_up, round_down): Delete functions. | |
91 | * mips-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
92 | "align_down". | |
93 | (ROUND_DOWN, ROUND_UP): Delete macros. | |
94 | (mips_dump_tdep): Do not print "ROUND_UP" or "ROUND_DOWN". | |
95 | * h8300-tdep.c: Replace "round_up" and "round_down" with | |
96 | "align_up" and "align_down". | |
97 | (round_up, round_down): Delete macros. | |
98 | * frv-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and | |
99 | "align_down". | |
100 | (ROUND_UP, ROUND_DOWN): Delete macros. | |
101 | ||
51db5742 JB |
102 | 2003-09-18 J. Brobecker <[email protected]> |
103 | ||
104 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a | |
105 | hard-coded constant. Use the proper machine name instead. | |
106 | ||
77949794 AC |
107 | 2003-09-17 Andrew Cagney <[email protected]> |
108 | ||
109 | * sparc-tdep.c (legacy_register_name): Delete function. | |
110 | * mips-tdep.c (mips_dump_tdep): Do not print REGISTER_NAME. | |
111 | (mips_gdbarch_init): Refer to MIPS_REGISTER_NAME in comments. | |
112 | * infcmd.c (gdb_register_name): Delete variable. | |
113 | * gdbarch.sh (SDB_REG_TO_REGNUM): Delete reference to | |
114 | REGISTER_NAME and "tm.h". | |
115 | * gdbarch.h, gdbarch.c: Regenerate. | |
116 | * dpx2-nat.c (regmap): Refer to REGISTER_NAME and not | |
117 | REGISTER_NAMES in comments. | |
118 | * remote-st.c (get_reg_name), i386b-nat.c (tregmap): Ditto. | |
119 | * m68klinux-nat.c (regmap): Ditto. | |
120 | ||
b55c33cc JB |
121 | 2003-09-17 Jim Blandy <[email protected]> |
122 | ||
123 | * Makefile.in (dis_asm_h): Note that this #includes "bfd.h". | |
124 | ||
957e27ac AC |
125 | 2003-09-17 Andrew Cagney <[email protected]> |
126 | ||
127 | * ppcnbsd-tdep.c (ppcnbsd_use_struct_convention): New function. | |
128 | (ppcnbsd_init_abi): Set "use_struct_convention" to | |
129 | "ppcnbsd_use_struct_convention". | |
130 | ||
192cb3d4 MK |
131 | 2003-09-17 Mark Kettenis <[email protected]> |
132 | ||
133 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. | |
134 | * gdbarch.h, gdbarch.c: Regenerate. | |
135 | (stabs_argument_has_addr): New architecture method. | |
136 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
137 | * arch-utils.c: Include "buildsym.h". | |
138 | (default_stabs_argument_has_addr): New function. | |
139 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
140 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
141 | ||
efe59759 AC |
142 | 2003-09-17 Andrew Cagney <[email protected]> |
143 | ||
144 | * gdbarch.sh (DEPRECATED_NPC_REGNUM): Deprecate NPC_REGNUM. | |
145 | * gdbarch.h, gdbarch.c: Regenerate. | |
146 | * core-sol2.c, hppa-tdep.c, lynx-nat.c, procfs.c: Update. | |
147 | * regcache.c, remote-vxsparc.c, sparc-linux-nat.c: Update. | |
148 | * sparc-nat.c, sparc-tdep.c, sparc64-tdep.c: Update. | |
149 | * sparcnbsd-tdep.c: Update. | |
150 | ||
62700349 AC |
151 | 2003-09-17 Andrew Cagney <[email protected]> |
152 | ||
153 | * gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE. | |
154 | * gdbarch.h, gdbarch.c: Regenerate. | |
155 | * arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update. | |
156 | * d10v-tdep.c, frame.c: Update. | |
157 | * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. | |
158 | * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. | |
159 | * ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update. | |
160 | * mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update. | |
161 | * mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
162 | * ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update. | |
163 | * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update. | |
164 | * remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update. | |
165 | * sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update. | |
166 | * v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update. | |
167 | * config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update. | |
168 | * config/pa/nm-hppah.h: Update. | |
169 | ||
b9ff3018 AC |
170 | 2003-09-16 Andrew Cagney <[email protected]> |
171 | ||
172 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set the 32 bit | |
173 | "use_struct_convention" to "ppc_linux_use_struct_convention". | |
174 | (ppc_linux_use_struct_convention): New function. | |
175 | * rs6000-tdep.c (rs6000_use_struct_convention): New function. | |
176 | (rs6000_gdbarch_init): For AIX, set "use_struct_convention" to | |
177 | "rs6000_use_struct_convention". | |
178 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Delete | |
179 | declaration. | |
180 | * ppc-sysv-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
181 | Delete function. | |
182 | ||
aa1ee363 AC |
183 | 2003-09-16 Andrew Cagney <[email protected]> |
184 | ||
185 | * buildsym.c: Remove more occurances of "register". | |
186 | * coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto. | |
187 | * environ.c, eval.c, f-valprint.c, findvar.c: Ditto. | |
188 | * gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto. | |
189 | * infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto. | |
190 | * printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto. | |
191 | * sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto. | |
192 | * standalone.c, symfile.c, symmisc.c, symtab.c: Ditto. | |
193 | * utils.c, valops.c, values.c, xcoffread.c: Ditto. | |
194 | ||
f2ea0907 CV |
195 | 2003-09-16 Corinna Vinschen <[email protected]> |
196 | ||
197 | * sh-tdep.h (struct gdbarch_tdep): Remove. Change all register | |
198 | numbers to enumeration values. | |
199 | * sh-tdep.c: Accomodate above change. | |
200 | (SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS. | |
201 | (NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only). | |
202 | (NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only). | |
203 | (IS_ADD_IMM_SP): Rename from IS_ADD_SP. | |
204 | (IS_FPUSH): Rename from IS_FMOV. | |
205 | (sh_extract_struct_value_address): Remove useless comment. | |
206 | (sh_dsp_register_sim_regno): Use register values from sh-tdep.h | |
207 | instead of own local values. | |
208 | (sh_dump_tdep): Remove. | |
209 | (_initialize_sh_tdep): Accomodate removing sh_dump_tdep. | |
210 | * sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes. | |
211 | ||
1c704f11 AC |
212 | 2003-09-15 Andrew Cagney <[email protected]> |
213 | ||
214 | * doublest.c (convert_floatformat_to_doublest): No longer need to | |
215 | cast "exp_bias" to an int. Reverts 2002-12-04 change. | |
216 | ||
ac79b88b DJ |
217 | 2003-09-15 Daniel Jacobowitz <[email protected]> |
218 | ||
219 | * values.c (unpack_double): Call floatformat_is_valid. | |
220 | ||
1c671366 MK |
221 | 2003-09-15 Mark Kettenis <[email protected]> |
222 | ||
de5227fb MK |
223 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of |
224 | ps_strings into a long. | |
225 | ||
1c671366 MK |
226 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from |
227 | _initialize_am64fbsd_nat. | |
228 | ||
a604369a KB |
229 | 2003-09-15 Kevin Buettner <[email protected]> |
230 | ||
231 | * dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset | |
232 | associated with DW_AT_ranges attribute is out of bounds. | |
233 | ||
b3cacbee DL |
234 | 2003-09-15 David Lecomber <[email protected]> |
235 | ||
236 | * f-valprint.c: Apply array element printing limits to multi-dimensional arrays | |
237 | ||
d0f37bb2 MC |
238 | 2003-09-14 Michael Chastain <[email protected]> |
239 | ||
240 | * config/m68k/nm-apollo68v.h: Delete. | |
241 | * config/m68k/xm-apollo68v.h: Delete. | |
242 | ||
69517000 AC |
243 | 2003-09-14 Andrew Cagney <[email protected]> |
244 | ||
245 | * rs6000-tdep.c (rs6000_push_dummy_call): Fix typos. | |
246 | * dcache.c: Update copyrights and descriptions. | |
247 | * scm-exp.c, ia64-aix-nat.c, hppam3-nat.c: environ.c: Ditto. | |
248 | ||
ef8b349d AC |
249 | 2003-09-14 Andrew Cagney <[email protected]> |
250 | ||
251 | * config/djgpp/fnchange.lst: Rename "amd64fbsd-tdep.c" and | |
252 | "amd64fbsd-nat.c" to "a64fb-tdep.c" and "a64fb-nat.c". | |
253 | ||
52f0bd74 AC |
254 | 2003-09-14 Andrew Cagney <[email protected]> |
255 | ||
256 | * alpha-nat.c: Remove some occurances of "register". | |
257 | * alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto. | |
258 | * buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto. | |
259 | * corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto. | |
260 | * dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto. | |
261 | * environ.c, eval.c, event-top.c, f-typeprint.c: Ditto. | |
262 | * f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto. | |
263 | * h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto. | |
264 | * hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto. | |
265 | * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto. | |
266 | * infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto. | |
267 | * jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto. | |
268 | * mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto. | |
269 | * mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto. | |
270 | * ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto. | |
271 | * p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto. | |
272 | * remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto. | |
273 | * rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto. | |
274 | * solib.c, somread.c, source.c, sparc-tdep.c: Ditto. | |
275 | * stabsread.c, stack.c, standalone.c, symfile.c: Ditto. | |
276 | * symmisc.c, symtab.c, top.c, tracepoint.c: Ditto. | |
277 | * typeprint.c, utils.c, valarith.c, valops.c: Ditto. | |
278 | * values.c, vax-tdep.c, xcoffread.c: Ditto. | |
279 | ||
4a4b3fed AC |
280 | 2003-09-13 Andrew Cagney <[email protected]> |
281 | ||
282 | * config/pa/tm-hppa64.h (struct frame_info): Declare opaque. | |
283 | * ppc-tdep.h (struct regcache): Declare opaque. | |
284 | * objfiles.h (struct objfile_data): Declare opaque. | |
285 | * cp-support.h (struct objfile): Declare opaque. | |
286 | * linux-nat.h (target_waitstatus): Declare opaque. | |
287 | ||
2110b94f MK |
288 | 2003-09-14 Mark Kettenis <[email protected]> |
289 | ||
1c671366 MK |
290 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment. |
291 | (stabs_argument_has_addr): New architecture method. | |
292 | * arch-utils.h (default_stabs_argument_has_addr): New prototype. | |
293 | * arch-utils.c: Include "buildsym.h". | |
294 | (default_stabs_argument_has_addr): New function. | |
295 | * stabsread.c (define_symbol): Use stabs_argument_has_addr | |
296 | instead of DEPRECATED_REG_STRUCT_HAS_ADDR. | |
297 | ||
2110b94f MK |
298 | * cris-tdep.c (cris_gdbarch_init): Set |
299 | deprecated_reg_struct_has_addr instead of reg_struct_has_addr. | |
300 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
301 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
302 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
303 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
304 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
305 | ||
48436ce6 AC |
306 | 2003-09-13 Andrew Cagney <[email protected]> |
307 | ||
308 | * values.c (using_struct_return): Delete "function" and "funcaddr" | |
309 | parameters. | |
310 | * value.h (using_struct_return): Update declaration. | |
311 | * infcmd.c (finish_command_continuation): Update. | |
312 | (finish_command): Update. | |
313 | * infcall.c (call_function_by_hand): Update. | |
314 | * eval.c (evaluate_subexp_standard): Update. | |
315 | ||
403d9909 CF |
316 | 2003-09-13 Christopher Faylor <[email protected]> |
317 | ||
318 | * win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for | |
319 | SSE registers since gdb will not operate correctly without this. | |
320 | Restore include file ordering munged in previous change. | |
321 | * config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define. | |
322 | ||
ebf7d56b MK |
323 | 2003-09-13 Mark Kettenis <[email protected]> |
324 | ||
8e823e25 MK |
325 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed from |
326 | REG_STRUCT_HAS_ADDR. | |
327 | * gdbarch.c, gdbarch.h: Updated. | |
328 | * infcall.c (call_function_by_hand): Update. | |
329 | * stabsread.c (define_symbol): Updated. | |
330 | ||
ebf7d56b MK |
331 | * Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove. |
332 | ||
d3f13f72 CF |
333 | 2003-09-12 Christopher Faylor <[email protected]> |
334 | ||
335 | * win32-nat.c: Reorganize so that defines used by target headers are | |
336 | actually defined by the system headers. | |
337 | * config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather | |
338 | than HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists. | |
339 | ||
14f75137 JB |
340 | 2003-09-12 Jim Blandy <[email protected]> |
341 | ||
d646061f JB |
342 | * dbxread.c (read_dbx_symtab): Don't report an internal error if |
343 | the file has no .data, .bss, or .rodata sections. Instead wait | |
344 | until we see a variable alleged to live in one of those sections. | |
345 | ||
2a13f9bc JB |
346 | * dbxread.c (read_dbx_symtab): If we have no .data section and no |
347 | .bss section, presume that any variables we find live in the | |
348 | .rodata section. | |
349 | ||
4f49b26b JB |
350 | * dbxread.c (read_dbx_symtab): Add FIXME about finding section |
351 | offsets for global and static variables. | |
352 | ||
14f75137 JB |
353 | * dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT |
354 | symbol types are, by definition, in the .data section, so it is | |
355 | correct to use SECT_OFF_DATA (objfile) here, not data_sect_index. | |
356 | If there is no .data section, there should be no N_DATA or N_DATA | |
357 | | N_EXT symbols. | |
358 | ||
212c460c MK |
359 | 2003-09-12 Mark Kettenis <[email protected]> |
360 | ||
361 | * amd64fbsd-tdep.c: Fix sigtramp recognition. | |
362 | (amd64fbsd_sigcontext_addr): Rewrite. | |
363 | (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize | |
364 | with correct values. | |
365 | (amd64fbsd_sc_reg_offset): Initialize with correct values. | |
366 | (amd64fbsd_init_abi): Fix typo. | |
367 | ||
68856ea3 AC |
368 | 2003-09-12 Andrew Cagney <[email protected]> |
369 | ||
370 | * ppc-sysv-tdep.c (align_up, align_down): Replace "round2" macro. | |
371 | (ppc_sysv_abi_push_dummy_call): Rewrite, use a two pass loop. | |
372 | ||
627b3ba2 AC |
373 | 2003-09-12 Andrew Cagney <[email protected]> |
374 | ||
375 | * objfiles.h (struct entry_info): Deprecate "entry_file_lowpc" and | |
376 | "entry_file_highpc". Update comments. | |
377 | * defs.h (deprecated_inside_entry_file): Rename | |
378 | "inside_entry_file". | |
379 | * blockframe.c (deprecated_inside_entry_file): Rename | |
380 | "inside_entry_file". | |
381 | * frame.c (get_prev_frame): Update. Use if 0 instead of #if 0. | |
382 | * vax-tdep.c (vax_frame_chain): Update. | |
383 | * sh64-tdep.c (sh64_frame_chain): Update. | |
384 | * sh-tdep.c (sh_frame_chain): Update. | |
385 | * rs6000-tdep.c (rs6000_frame_chain): Update. | |
386 | * ns32k-tdep.c (ns32k_frame_chain): Update. | |
387 | * mips-tdep.c (mips_frame_chain): Update. | |
388 | * m68hc11-tdep.c (m68hc11_frame_this_id): Update. | |
389 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
390 | * i386-interix-tdep.c (i386_interix_frame_chain_valid): Update. | |
391 | * frv-tdep.c (frv_frame_this_id): Update. | |
392 | * d10v-tdep.c (d10v_frame_this_id): Update. | |
393 | * cris-tdep.c (cris_frame_chain): Update. | |
394 | * blockframe.c (legacy_frame_chain_valid): Update. | |
395 | * avr-tdep.c (avr_frame_this_id): Update. | |
396 | * arm-tdep.c (arm_prologue_this_id): Update. | |
397 | * alpha-tdep.c (alpha_heuristic_frame_this_id): Update. | |
398 | * objfiles.c (objfile_relocate): Update. | |
399 | * mipsread.c (mipscoff_symfile_read): Update. | |
400 | (mipscoff_symfile_read): Update. | |
401 | * mdebugread.c (parse_partial_symbols): Update. | |
402 | * dwarfread.c (read_file_scope): Update. | |
403 | * dwarf2read.c (read_file_scope): Update. | |
404 | * dbxread.c (read_dbx_symtab): Update. | |
405 | (read_dbx_symtab): Update. | |
406 | * coffread.c (complete_symtab): Update. | |
407 | ||
b0abbc58 JJ |
408 | 2003-09-12 Jeff Johnston <[email protected]> |
409 | ||
410 | * top.c (quit_target): New static helper function. | |
411 | (quit_force): Moved code to quit_target(). Call quit_target() | |
412 | via catch_errors() to catch errors during quit. | |
413 | ||
a1632d59 DC |
414 | 2003-09-11 David Carlton <[email protected]> |
415 | ||
416 | * buildsym.c (finish_block): Use allocate_block to allocate the | |
417 | block. | |
418 | * mdebugread.c (new_block): Add FIXME. | |
419 | ||
5c4e30ca DC |
420 | 2003-09-11 David Carlton <[email protected]> |
421 | ||
422 | * gdbtypes.h: Add TYPE_CODE_NAMESPACE. | |
423 | * gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE. | |
424 | (recursive_dump_type): Ditto. | |
425 | * printcmd.c (print_formatted): Ditto. | |
426 | * typeprint.c (print_type_scalar): Ditto. | |
427 | * c-typeprint.c (c_type_print_varspec_prefix): Ditto. | |
428 | (c_type_print_varspec_suffix, c_type_print_base): Ditto. | |
429 | * cp-support.h: Declare cp_check_possible_namespace_symbols, | |
430 | maint_cplus_cmd_list. | |
431 | * cp-support.c: Make maint_cplus_cmd_list extern. | |
432 | * cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h, | |
433 | command.h. | |
434 | (lookup_symbol_file): Look in possible namespace blocks when | |
435 | appropriate. | |
436 | (initialize_namespace_symtab): New. | |
437 | (get_possible_namespace_block, free_namespace_block) | |
438 | (check_possible_namespace_symbols) | |
439 | (check_possible_namespace_symbols_loop) | |
440 | (check_one_possible_namespace_symbol) | |
441 | (lookup_possible_namespace_symbol, maintenance_cplus_namespace) | |
442 | (_initialize_cp_namespace): Ditto. | |
443 | * block.h: Declare allocate_block. | |
444 | * block.c (allocate_block): New. | |
445 | * jv-lang.c (get_java_class_symtab): Allocate blocks via | |
446 | allocate_block. | |
447 | * symfile.h: Update declaration of add_psymbol_to_list. | |
448 | * symfile.c (add_psymbol_to_list): Return the partial symbol in | |
449 | question. | |
450 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to | |
451 | scan_partial_symbols_call. | |
452 | (scan_partial_symbols): Add NAMESPACE argument; update calls to | |
453 | helper functions. | |
454 | (add_partial_symbol): If necessary, scan mangled names for names | |
455 | of namespaces. | |
456 | (add_partial_namespace): Add NAMESPACE argument; generate partial | |
457 | symbols associated to namespaces. | |
458 | (add_partial_enumeration): Add NAMESPACE argument. | |
459 | (new_symbol): Allow namespace syms. | |
460 | (read_namespace): Generate namespace syms. | |
461 | * objfiles.h: Add opaque declaration of struct symtab. | |
462 | (struct objfile): Add cp_namespace_symtab member. | |
463 | * objfiles.c (allocate_objfile): Set | |
464 | objfile->cp_namespace_symtab. | |
465 | * Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h, | |
466 | dictionary_h, command_h. | |
467 | ||
33a7c2fc AC |
468 | 2003-09-11 Andrew Cagney <[email protected]> |
469 | ||
470 | * rs6000-tdep.c (rs6000_push_dummy_call): Use | |
471 | regcache_raw_write_signed to set SP_REGNUM, move the operation to | |
472 | near the function's end. | |
473 | (rs6000_gdbarch_init): Do not set "deprecated_dummy_write_sp". | |
474 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use | |
475 | regcache_raw_write_signed to set SP_REGNUM. | |
476 | ||
63cd24fe EZ |
477 | 2003-09-11 Elena Zannoni <[email protected]> |
478 | ||
479 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure | |
480 | orig_addrs is set up properly. | |
481 | ||
f27dd7fd AC |
482 | 2003-09-11 Andrew Cagney <[email protected]> |
483 | ||
484 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Rename STACK_ALIGN. | |
485 | * gdbarch.h, gdbarch.c: Re-generate. | |
486 | * infcall.c (call_function_by_hand): Update. | |
487 | * hppa-tdep.c (hppa_push_arguments): Update. | |
488 | * ada-lang.c (place_on_stack): Update. | |
489 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
490 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
491 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
492 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
493 | * h8300-tdep.c (h8300_gdbarch_init): Delete comment refering to | |
494 | stack_align. | |
495 | ||
f630a401 DJ |
496 | 2003-09-11 Daniel Jacobowitz <[email protected]> |
497 | ||
498 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in a | |
499 | register do need a frame. | |
500 | ||
0ddabb4c AC |
501 | 2003-09-11 Andrew Cagney <[email protected]> |
502 | ||
503 | Since the IRIX 4 configuration was forcing K&R mode it hasn't been | |
504 | buildable since GDB 5.0. | |
505 | * NEWS: Mention that IRIX 3 and IRIX 4 support were removed. | |
506 | * configure.host: Delete "mips-sgi-irix3*" and "mips-sgi-irix4*". | |
507 | * configure.tgt: Delete "mips*-sgi-*" a.k.a. irix3. | |
508 | * irix4-nat.c: Delete file. | |
509 | * config/mips/irix4.mh: Delete file. | |
510 | * config/mips/irix3.mh: Delete file. | |
511 | * config/mips/irix3.mt: Delete file. | |
512 | * config/mips/tm-irix3.h: Delete file. | |
513 | * config/mips/nm-irix3.h: Delete file. | |
514 | * config/mips/xm-irix3.h: Delete file. | |
515 | * config/mips/nm-irix4.h: Delete file. | |
516 | * config/mips/xm-irix4.h: Delete file. | |
517 | * config/mips/tm-irix5.h: Inline contents of "tm-irix3.h". | |
518 | ||
fde2cceb JB |
519 | 2003-09-10 J. Brobecker <[email protected]> |
520 | ||
521 | * hppa-tdep.c: Include "dis-asm.h". Fixes a build failure. | |
522 | * Makefile.in (hppa-tdep.o): Update dependencies. | |
523 | ||
66f667f5 JW |
524 | 2003-09-10 James E Wilson <[email protected]> |
525 | ||
ef5fd69f JW |
526 | * MAINTAINERS: Change my e-mail address. Move to paper trail |
527 | section. | |
66f667f5 | 528 | |
53e8aaea KB |
529 | 2003-09-10 Kevin Buettner <[email protected]> |
530 | ||
531 | * MAINTAINERS (frv): New ISA entry. | |
532 | ||
dcc6aaff KB |
533 | 2003-09-10 Kevin Buettner <[email protected]> |
534 | ||
535 | * frv-tdep.c (dis-asm.h): Include. | |
536 | * Makefile.in (frv-tdep.o): Update dependencies. | |
537 | ||
932644f0 JJ |
538 | 2003-09-09 Jeff Johnston <[email protected]> |
539 | ||
540 | * ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs): | |
541 | Fix typo for high range of floating registers. | |
542 | ||
91c24f0a DC |
543 | 2003-09-09 David Carlton <[email protected]> |
544 | ||
545 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and | |
546 | highpc initialization here out of scan_partial_symbols. | |
547 | (scan_partial_symbols): Restructure into a recursive version, | |
548 | calling add_partial_namespace and add_partial_enumeration when | |
549 | appropriate. | |
550 | (add_partial_namespace): New. | |
551 | (add_partial_enumeration, locate_pdi_sibling): Ditto. | |
552 | ||
c9263853 AC |
553 | 2003-09-09 Andrew Cagney <[email protected]> |
554 | ||
e56a0ecc AC |
555 | * rs6000-tdep.c (ppc_push_return_address): Delete function. |
556 | (rs6000_push_dummy_call): Set LR to BP_ADDR. | |
557 | (rs6000_gdbarch_init): Do not set deprecated_push_return_address. | |
558 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
559 | ||
794a477a AC |
560 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete function. |
561 | (rs6000_push_dummy_call): Set the "TOC" register. | |
562 | ||
c9263853 AC |
563 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated |
564 | methods "max_register_raw_size", "max_register_virtual_size" or | |
565 | "register_virtual_size". | |
566 | ||
afa7d0b2 ILT |
567 | 2003-09-09 Ian Lance Taylor <[email protected]> |
568 | ||
569 | * MAINTAINERS: Update my e-mail address. | |
570 | ||
7a41266b AC |
571 | 2003-09-09 Andrew Cagney <[email protected]> |
572 | ||
573 | * rs6000-tdep.c (rs6000_store_struct_return): Delete function. | |
574 | (rs6000_push_dummy_call): Store the struct return address. | |
575 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto. | |
576 | ||
77b2b6d4 AC |
577 | 2003-09-09 Andrew Cagney <[email protected]> |
578 | ||
579 | * ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace | |
580 | "ppc_sysv_abi_push_arguments". | |
581 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace | |
582 | "ppc_sysv_abi_push_arguments". | |
583 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call" | |
584 | instead of "push_arguments". | |
585 | (rs6000_push_dummy_call): Replace "rs6000_push_arguments". | |
586 | ||
e8a7b686 AC |
587 | 2003-09-09 Andrew Cagney <[email protected]> |
588 | ||
589 | * sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS | |
590 | instead of CALL_DUMMY_ADDRESS. | |
591 | ||
f86f5ca3 PH |
592 | 2003-09-09 Paul N. Hilfinger <[email protected]> |
593 | ||
594 | * p-lang.c: Eliminate "register". | |
595 | * c-lang.c: Ditto. | |
596 | * expprint.c: Ditto. | |
597 | * f-lang.c: Ditto. | |
598 | * jv-lang.c: Ditto. | |
599 | * language.c: Ditto. | |
600 | * m2-lang.c: Ditto. | |
601 | * parse.c: Ditto. | |
602 | * scm-lang.c: Ditto. | |
603 | * objc-lang.c: Ditto. | |
604 | ||
83ee270e NC |
605 | 2003-09-09 Nick Clifton <[email protected]> |
606 | ||
607 | * v850-tdep.c (v850_processor_type_table): Add bfd_mach_v850e1. | |
608 | ||
a89aa300 AC |
609 | 2003-09-04 Andrew Cagney <[email protected]> |
610 | ||
611 | * avr-tdep.c: Include "dis-asm.h". | |
612 | * cris-tdep.c: Include "dis-asm.h". | |
613 | (cris_delayed_get_disassembler): Use "struct disassemble_info" | |
614 | instead of corresponding typedef. | |
615 | * h8300-tdep.c: Include "dis-asm.h". | |
616 | * ia64-tdep.c: Include "dis-asm.h". | |
617 | * i386-tdep.c: Include "dis-asm.h". | |
618 | (i386_print_insn): Use "struct disassemble_info" instead of | |
619 | corresponding typedef. | |
620 | * m68k-tdep.c: Include "dis-asm.h". | |
621 | * mcore-tdep.c: Include "dis-asm.h". | |
622 | * mips-tdep.c: Include "dis-asm.h". | |
623 | (gdb_print_insn_mips): Make static, use "struct disassemble_info" | |
624 | instead of corresponding typedef. | |
625 | * ns32k-tdep.c: Include "dis-asm.h". | |
626 | * s390-tdep.c: Include "dis-asm.h". | |
627 | * sparc-tdep.c: Include "dis-asm.h". | |
628 | * vax-tdep.c: Include "dis-asm.h". | |
629 | * v850-tdep.c: Include "dis-asm.h". | |
630 | * mn10300-tdep.c: Include "dis-asm.h". | |
631 | * rs6000-tdep.c: Include "dis-asm.h". | |
632 | * xstormy16-tdep.c: Include "dis-asm.h". | |
633 | (_initialize_xstormy16_tdep): Delete "extern" declaration of | |
634 | print_insn_xstormy16. | |
635 | * Makefile.in (v850-tdep.o): Update dependencies. | |
636 | (vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto. | |
637 | (ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto. | |
638 | (m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto. | |
639 | (h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto. | |
640 | (mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto. | |
641 | (gdbarch_h): Remove $(dis_asm_h). | |
642 | * disasm.c: Include "dis-asm.h". | |
643 | (dis_asm_read_memory): Use "struct disassemble_info" instead of | |
644 | corresponding typedef. | |
645 | (dis_asm_memory_error, dump_insns, do_assembly_only): Ditto. | |
646 | (gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto. | |
647 | * gdbarch.sh: Do not include "dis-asm.h". | |
648 | (struct disassemble_info): Declare opaque. | |
649 | (TARGET_PRINT_INSN): Update declaration. | |
650 | * gdbarch.h, gdbarch.c: Re-generate. | |
651 | ||
88a82a65 AC |
652 | 2003-09-08 Andrew Cagney <[email protected]> |
653 | ||
654 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_ADDRESS): Rename | |
655 | CALL_DUMMY_ADDRESS, change to a predicate. | |
656 | * gdbarch.h, gdbarch.c: Re-generate. | |
657 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
658 | Use either DEPRECATED_CALL_DUMMY_ADDRESS or entry_point_address. | |
659 | * infcall.c (call_function_by_hand): Ditto. | |
660 | * sparc-tdep.c (sparc_push_return_address): Ditto. | |
661 | (sparc_gdbarch_init): Set deprecated_call_dummy_address. | |
662 | * xstormy16-tdep.c (xstormy16_push_return_address): Replace | |
663 | CALL_DUMMY_ADDRESS with entry_point_address. | |
664 | * v850-tdep.c (v850_push_return_address): Ditto. | |
665 | * s390-tdep.c (s390_push_return_address): Ditto. | |
666 | * rs6000-tdep.c (ppc_push_return_address): Ditto. | |
667 | * mn10300-tdep.c (mn10300_push_return_address): Ditto. | |
668 | * mcore-tdep.c (mcore_push_return_address): Ditto. | |
669 | * cris-tdep.c (cris_push_return_address): Ditto. | |
670 | * arm-tdep.c (arm_push_return_address): Ditto. | |
671 | ||
3e2c4033 AC |
672 | 2003-09-08 Andrew Cagney <[email protected]> |
673 | ||
674 | * dwarf2-frame.c (enum dwarf2_reg_rule): New, replace anonymous | |
675 | enum. Add REG_UNSPECIFIED, rename REG_UNSAVED to REG_UNDEFINED | |
676 | and REG_UNMODIFIED to REG_SAME_VALUE. | |
677 | (execute_cfa_program): Update. | |
678 | (dwarf2_frame_cache): Update. Initialize table to | |
679 | REG_UNSPECIFIED, complain if CFI fails to specify a register's | |
680 | location. | |
681 | (dwarf2_frame_prev_register): Update. Handle REG_UNSPECIFIED. | |
682 | ||
39efb398 AC |
683 | 2003-09-08 Andrew Cagney <[email protected]> |
684 | ||
685 | * gnu-nat.c: Remove "inline" function attribute. | |
686 | * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto. | |
687 | ||
f5cb5aca KB |
688 | 2003-09-08 Kevin Buettner <[email protected]> |
689 | ||
690 | * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V | |
691 | target. | |
692 | ||
1cb761c7 KB |
693 | 2003-09-08 Kevin Buettner <[email protected]> |
694 | ||
695 | * frv-tdep.c (frame-unwind.h, frame-base.h): Include. | |
696 | (frame_extra_info): Rename this struct to frv_unwind_cache. | |
697 | Delete fields ``fp_to_callers_sp_offset'' and ``lr_saved_on_stack''. | |
698 | Add fields ``prev_sp'' and ``base''. | |
699 | (frv_frame_chain, frv_frame_saved_pc, frv_frame_init_saved_regs) | |
700 | (frv_saved_pc_after_call, frv_init_extra_frame_info) | |
701 | (frv_push_return_address, frv_pop_frame, frv_pop_frame_regular): | |
702 | Delete. | |
703 | (frv_analyze_prologue): Add ``struct frv_unwind_cache *'' argument. | |
704 | Revise all callers. Fill in the unwind cache argument and make | |
705 | other adjustments to account for new frame mechanisms. | |
706 | (frv_frame_unwind_cache, frv_frame_align, frv_unwind_pc) | |
707 | (frv_frame_this_id, frv_frame_prev_register, frv_frame_sniffer) | |
708 | (frv_frame_base_address, frv_unwind_dummy_id): New functions. | |
709 | (frv_frame_unwind, frv_frame_base): New structs. | |
710 | (frv_push_arguments): Change name to frv_push_dummy_call(). Add | |
711 | additional arguments expected by this method and adjust function | |
712 | body accordingly. | |
713 | (frv_gdbarch_init): Remove calls to the following functions: | |
714 | set_gdbarch_deprecated_init_frame_pc(), | |
715 | set_gdbarch_deprecated_saved_pc_after_call(), | |
716 | set_gdbarch_deprecated_frame_chain(), | |
717 | set_gdbarch_deprecated_frame_saved_pc(), | |
718 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
719 | set_gdbarch_deprecated_push_arguments(), | |
720 | set_gdbarch_deprecated_push_return_address(), | |
721 | set_gdbarch_deprecated_pop_frame(), | |
722 | set_gdbarch_deprecated_call_dummy_words(), | |
723 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
724 | set_gdbarch_deprecated_init_extra_frame_info(), | |
725 | set_gdbarch_deprecated_dummy_write_sp(), and | |
726 | set_gdbarch_deprecated_pc_in_call_dummy(). | |
727 | Add calls to the following functions: | |
728 | set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(), | |
729 | set_gdbarch_frame_align(), frame_unwind_append_sniffer(), and | |
730 | frame_base_set_default(). | |
731 | * Makefile.in (frv-tdep.o): Update dependencies. | |
732 | ||
68f6cf99 MK |
733 | 2003-09-09 Mark Kettenis <[email protected]> |
734 | ||
735 | * dwarf2-frame.c (read_encoded_value): Add support for | |
736 | DW_EH_PE_aligned encoding. | |
737 | ||
73b65bb0 DJ |
738 | 2003-09-08 Daniel Jacobowitz <[email protected]> |
739 | ||
740 | * infrun.c (normal_stop): Don't print a message if the inferior | |
741 | has exited. | |
742 | ||
7c8a5605 JB |
743 | 2003-09-08 Jim Blandy <[email protected]> |
744 | ||
745 | * Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h). | |
746 | * dbxread.c: #include "gdb_assert.h". | |
747 | (read_dbx_symtab): If the objfile has no .data section, use the | |
748 | section index for the .bss section instead. | |
749 | ||
7dd88986 DJ |
750 | 2003-09-08 Daniel Jacobowitz <[email protected]> |
751 | ||
752 | * frame.c (deprecated_safe_get_selected_frame): New function. | |
753 | * frame.h (deprecated_safe_get_selected_frame): Add prototype. | |
754 | * findvar.c (read_var_value): Call it. | |
755 | ||
55ff77ac CV |
756 | 2003-09-08 Corinna Vinschen <[email protected]> |
757 | ||
758 | * Makefile.in (ALLDEPFILES): Add sh64-tdep.c. | |
759 | (sh64-tdep.o): Add dependencies. | |
760 | * configure.tgt: Add FIXME to sh-*-linux*. | |
761 | * sh-tdep.c: Move sh64 support to sh64-tdep.c. | |
762 | (sh_gdbarch_init): Always set correct sh_show_regs function | |
763 | pointer. Call sh64_gdbarch_init() if machine type is sh5. | |
764 | * sh-tdep.h: Move sh64 support to sh64-tdep.c. | |
765 | * sh64-tdep.c: New file, containing all sh64 related code from | |
766 | sh-tdep.c. | |
767 | * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o. | |
768 | * config/sh/linux.mt (TDEPFILES): Ditto. | |
769 | * config/sh/nbsd.mt (TDEPFILES): Ditto. | |
770 | * config/sh/tm-sh.h: Drop REGISTER_TYPE definition. | |
771 | * config/sh/wince.mt (TDEPFILES): Ditto. | |
772 | ||
bfb39158 DJ |
773 | 2003-09-07 Daniel Jacobowitz <[email protected]> |
774 | ||
775 | * lin-lwp.c (detach_callback): Don't call stop_wait_callback. | |
776 | (stop_wait_callback): Handle !lp->signalled also. | |
777 | (lin_lwp_has_pending, flush_callback): New functions. | |
778 | (lin_lwp_wait): Call flush_callback. | |
779 | * linux-proc.c (linux_proc_add_line_to_sigset): New function. | |
780 | (linux_proc_pending_signals): New function. | |
781 | * linux-nat.h (linux_proc_pending_signals): Add prototype. | |
782 | ||
9407de8e DJ |
783 | 2003-09-07 Daniel Jacobowitz <[email protected]> |
784 | ||
785 | From Nick Kelsey <[email protected]>: | |
786 | * infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE | |
787 | when the stop PC is at the beginning of a function also. | |
788 | ||
2ef47cd0 DJ |
789 | 2003-09-06 Daniel Jacobowitz <[email protected]> |
790 | ||
791 | * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New. | |
792 | (arm_linux_init_abi): Use arm_linux_arm_be_breakpoint. | |
793 | ||
6f4492c8 MK |
794 | 2003-09-06 Mark Kettenis <[email protected]> |
795 | ||
796 | * sol-thread.c: Include "gdb_string.h". | |
797 | ||
d3420b2f MK |
798 | 2003-09-03 Mark Kettenis <[email protected]> |
799 | ||
800 | * gcore.c: Reorder include files in alphabetical order. Include | |
801 | "gdb_assert.h". Various coding style fixes. | |
802 | (derive_stack_segment, derive_heap_segment): Replace check for | |
803 | non-null BOTTOM and TOP with gdb_assert. | |
804 | (derive_heap_segment): Replace check for successful creation of | |
805 | ZERO with gdb_assert. | |
806 | (make_mem_sec): Use bfd_section_lma to set OSEC->lma. | |
807 | ||
5220ea4c AC |
808 | 2003-09-04 Andrew Cagney <[email protected]> |
809 | ||
810 | * thread-db.c (verbose_dlsym): New function. | |
811 | (thread_db_load): Use verbose_dlsym | |
812 | (thread_db_new_objfile): Print that libthread_db was loaded, and | |
813 | that thread debugging was enabled. | |
814 | ||
6e8c2c06 AC |
815 | 2003-09-04 Andrew Cagney <[email protected]> |
816 | ||
817 | * configure.tgt: Add "mips64*-*-*" target. Delete | |
818 | mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*, | |
819 | mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*, | |
820 | mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*, | |
821 | mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*, | |
822 | mips*-sony-*, and mips64*-*-elf* targets. | |
823 | * config/mips/embedl.mt: Delete file. | |
824 | * config/mips/embedl64.mt: Delete file. | |
825 | * config/mips/mips.mt: Delete file. | |
826 | * config/mips/mips64.mt: Delete file. | |
827 | * config/mips/tm-embed.h: Delete file. | |
828 | * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h". | |
829 | * config/mips/embed64.mt: Delete out-of-date comment. | |
830 | ||
3a3bc038 AC |
831 | 2003-09-04 Andrew Cagney <[email protected]> |
832 | ||
833 | * hppa-tdep.c (hppa_gdbarch_init): Set | |
834 | "have_nonsteppable_watchpoint". | |
835 | * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
836 | * mips-tdep.c (mips_dump_tdep): Do not print | |
837 | HAVE_NONSTEPPABLE_WATCHPOINT. | |
838 | (mips_gdbarch_init): Set "have_nonsteppable_watchpoint". | |
839 | * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
840 | * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
841 | * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. | |
842 | ||
a957e642 CV |
843 | 2003-09-04 Corinna Vinschen <[email protected]> |
844 | ||
845 | * breakpoint.c (watchpoint_check): Remove accidentally checked in | |
846 | unused code. Add comment. | |
847 | ||
a6fbcf2f CV |
848 | 2003-09-04 Corinna Vinschen <[email protected]> |
849 | ||
850 | * breakpoint.c (watchpoint_check): Check for pc being in an | |
851 | epilogue if watchpoint frame couldn't be found. | |
852 | ||
c14a44d5 AC |
853 | 2003-09-04 Andrew Cagney <[email protected]> |
854 | ||
855 | * Makefile.in: Re-generate all dependencies. | |
856 | ||
f6c40618 AC |
857 | 2003-09-03 Andrew Cagney <[email protected]> |
858 | ||
859 | * arch-utils.h (legacy_print_insn): Delete declaration. | |
860 | * arch-utils.c (legacy_print_insn): Delete function. | |
861 | * disasm.c (deprecated_tm_print_insn_info): Delete. | |
862 | (_initialize_disasm): Delete function, contained code initializing | |
863 | deprecated_tm_print_insn_info. | |
864 | * gdbarch.sh (deprecated_tm_print_insn): Delete. | |
865 | (deprecated_tm_print_insn_info): Delete. | |
866 | (TARGET_PRINT_INSN): Do not provide a default. | |
867 | * gdbarch.h, gdbarch.c: Re-generate. | |
868 | ||
242e8be5 AC |
869 | 2003-09-03 Andrew Cagney <[email protected]> |
870 | ||
871 | * disasm.c (fprintf_disasm): New function. | |
872 | (gdb_disassemble_info): Call "init_disassemble_info", instead of | |
873 | INIT_DISASSEMBLE_INFO_NO_ARCH. Do not initialize "insn_sets", | |
874 | reverts 2003-08-14 change. | |
875 | (_initialize_disasm): Call "init_disassemble_info", instead of | |
876 | INIT_DISASSEMBLE_INFO_NO_ARCH. | |
877 | ||
3ffc3dda MS |
878 | 2003-09-03 Michael Snyder <[email protected]> |
879 | ||
880 | * config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch]. | |
881 | ||
52d16ba8 AC |
882 | 2003-09-03 Andrew Cagney <[email protected]> |
883 | ||
884 | * config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition. | |
885 | * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define. | |
886 | * symfile.c (syms_from_objfile): Update. | |
887 | (reread_symbols): `Update | |
888 | * exec.c (exec_file_attach): Update. | |
889 | (exec_file_attach): Update. | |
890 | * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert | |
891 | 2003-08-29 change. | |
892 | * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET. | |
893 | ||
eb5492fa DJ |
894 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
895 | ||
896 | * arm-tdep.c: Include frame-unwind.h, frame-base.h, and | |
897 | trad-frame.h. | |
898 | (arm_get_cache): Delete macro. | |
899 | (struct arm_prologue_cache): Update comments. Make saved_regs into | |
900 | a trad_frame_saved_reg pointer. Remove unwound_pc; rename unwound_sp | |
901 | to prev_sp. | |
902 | (thumb_scan_prologue): Update for cache changes. Don't call | |
903 | DEPRECATED_PC_IN_CALL_DUMMY. | |
904 | (arm_scan_prologue): Update for cache changes. Take NEXT_FRAME | |
905 | argument and use it in desperation search for our prologue. Do not | |
906 | search past the specified PC. | |
907 | (arm_make_prologue_cache): Simplify. | |
908 | ||
909 | (arm_prologue_this_id, arm_prologue_prev_register) | |
910 | (arm_prologue_unwind, arm_prologue_unwind_sniffer) | |
911 | (arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache) | |
912 | (arm_sigtramp_this_id, arm_sigtramp_prev_register) | |
913 | (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer) | |
914 | (arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New. | |
915 | ||
916 | (arm_frame_chain_valid, arm_find_callers_reg) | |
917 | (arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs) | |
918 | (arm_pop_frame): Delete obsolete methods. | |
919 | (arm_minimal_frame_chain, arm_minimal_frame_info): Delete. | |
920 | ||
921 | (arm_gdbarch_init): Update for new frame methods. Register prologue | |
922 | and sigtramp unwinders. Set the default frame base method. | |
923 | ||
924 | * Makefile.in (arm-tdep.o): Update dependencies. | |
925 | * varobj.c (find_frame_addr_in_frame_chain): Call | |
926 | get_frame_base_address. | |
927 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
928 | ||
24de872b DJ |
929 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
930 | ||
931 | * arm-tdep.c (arm_minimal_frame_chain): Renamed from | |
932 | arm_frame_chain. Take NEXT_FRAME and CACHE arguments. | |
933 | Use the cache instead of DEPRECATED_FRAME_SAVED_PC. | |
934 | (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info. | |
935 | Take NEXT_FRAME and CACHE arguments. Call | |
936 | FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument. | |
937 | Set unwound_pc in CACHE instead of modifying the frame argument. | |
938 | Don't bother checking the frame type when looking for sigtramp | |
939 | frames. | |
940 | (arm_make_prologue_cache, arm_frame_chain) | |
941 | (arm_init_extra_frame_info): New functions. | |
942 | ||
9b8d791a DJ |
943 | 2003-09-03 Daniel Jacobowitz <[email protected]> |
944 | ||
945 | * arm-tdep.c (arm_get_cache): Define. | |
946 | (struct arm_prologue_cache): Renamed from frame_extra_info. Add | |
947 | unwound_sp, unwound_pc, and saved_regs. | |
948 | (thumb_scan_prologue): Take a cache instead of the frame. | |
949 | (arm_scan_prologue): Likewise. | |
950 | (arm_frame_chain): Create a temporary cache for arm_scan_prologue | |
951 | instead of a temporary frame. | |
952 | (arm_init_extra_frame_info): Allocate and use a cache. | |
953 | (arm_frame_saved_pc, arm_pop_frame): Use the cache. | |
954 | ||
7ee3275f AC |
955 | 2003-09-03 Andrew Cagney <[email protected]> |
956 | ||
957 | * config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS. | |
958 | * config/mips/wince.mt (TM_CLIBS): Ditto. | |
959 | * config/sh/wince.mt (TM_CLIBS): Ditto. | |
960 | * config/pa/hppa64.mt (TM_CLIBS): Delete. | |
961 | * config/sparc/sp64.mt (CC): Delete. | |
962 | ||
57b29be7 AC |
963 | 2003-09-03 Andrew Cagney <[email protected]> |
964 | ||
965 | * defs.h: Do not include "arch-utils.h". | |
966 | (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or | |
967 | GDB_MULTI_ARCH_PURE. | |
968 | * configure.in (GDB_MULTI_ARCH): Do not define. | |
969 | * configure, config.in: Regenerate. | |
970 | * configure.tgt: Do not set variable "gdb_multi_arch". | |
971 | * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. | |
972 | * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. | |
973 | * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. | |
974 | * config/v850/v850.mt (TM_FILE): Delete disabled definition. | |
975 | * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. | |
976 | * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. | |
977 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. | |
978 | * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. | |
979 | * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. | |
980 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. | |
981 | * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. | |
982 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. | |
983 | * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. | |
984 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. | |
985 | * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. | |
986 | * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. | |
987 | * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. | |
988 | * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition. | |
989 | ||
12e035e2 MC |
990 | 2003-08-30 Michael Chastain <[email protected]> |
991 | ||
992 | * Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h. | |
993 | * config/m68k/nm-hp300hpux.h: Delete. | |
994 | * config/m68k/tm-hp300hpux.h: Delete. | |
995 | * config/m68k/xm-hp300hpux.h: Delete. | |
996 | * config/m68k/xm-hp300bsd.h: Delete. | |
997 | * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h, | |
998 | tm-hp300hpux.h, xm-hp300hpux.h. | |
999 | * somsolib.c: Remove comment about hp300 shared libraries. | |
1000 | ||
bda34dc2 MK |
1001 | 2003-08-31 Mark Kettenis <[email protected]> |
1002 | ||
5bca7895 MK |
1003 | * i386-linux-nat.c (ps_get_thread_area): Don't define as extern. |
1004 | Only define PTRACE_GET_THREAD_AREA is not already defined. | |
1005 | Various style fixes in code and comments and some additional | |
1006 | spelling fixes in comments. Move after functions dealing with | |
1007 | debug registers. | |
1008 | * x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern. | |
1009 | Fix coding-style. | |
1010 | ||
bda34dc2 MK |
1011 | * alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use |
1012 | frame_unwind_register_unsigned instead of | |
1013 | frame_unwind_unsigned_register. | |
1014 | ||
c890192f MK |
1015 | 2003-08-30 Mark Kettenis <[email protected]> |
1016 | ||
1017 | * configure.in: Search for gethostbyname in libnsl. | |
1018 | * configure: Regenerated. | |
1019 | ||
60fac5b8 MK |
1020 | 2003-08-29 Mark Kettenis <[email protected]> |
1021 | ||
e294916c MK |
1022 | * configure.in: Remove redundant AC_MSG_RESULT in check for |
1023 | uintptr_t in stdint.h. | |
1024 | * configure: Regenerated. | |
1025 | ||
c40d267a MK |
1026 | * amd64-nat.h (struct regcache): Add opaque declaration. |
1027 | ||
60fac5b8 MK |
1028 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define. |
1029 | * x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h". | |
1030 | Change "register array" to "register cache" in comments. | |
1031 | (x86_64_linux_gregset64_reg_offset): New variable. | |
1032 | (GETREGS_SUPPLIES): Remove macro. | |
1033 | (supply_gregset): Call amd64_supply_native_gregset instead of | |
1034 | x86_64_linux_supply_gregset. | |
1035 | (fill_gregset): Rename `regno' to `regnum'. Call | |
1036 | amd64_collect_native_gregset instead of x86_64_linux_fill_gregset. | |
1037 | (store_regs): Rename `regno' to `regnum'. | |
1038 | (store_fpregs): Rename `regno' to `regnum'. | |
1039 | (fetch_inferior_registers): Rename `regno' to `regnum'. Use | |
1040 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
1041 | Reorganize function a bit. | |
1042 | (store_inferior_registers): Rename `regno' to `regnum'. Use | |
1043 | amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. | |
1044 | Reorganize function a bit. | |
1045 | (_initialize_x86_64_linux_nat): New function. | |
1046 | * config/i386/x86-64linux.mh. | |
1047 | ||
546143b6 AC |
1048 | 2003-08-29 Andrew Cagney <[email protected]> |
1049 | ||
1050 | * config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro. | |
1051 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro. | |
1052 | (target_remove_watchpoint): Delete macro. | |
1053 | (target_insert_watchpoint): Delete macro. | |
1054 | (remote_mips_can_use_hardware_watchpoint): Delete declaration. | |
1055 | (remote_mips_stopped_by_watchpoint): Delete declaration. | |
1056 | (remote_mips_remove_watchpoint): Delete declaration. | |
1057 | (remote_mips_set_watchpoint): Delete declaration. | |
1058 | (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro. | |
1059 | * remote-mips.c (_initialize_remote_mips): Set | |
1060 | "to_insert_watchpoint", "to_stopped_by_watchpoint", | |
1061 | "to_can_use_hardware_watchpoint", and "to_remove_watchpoint". | |
1062 | (mips_insert_watchpoint): Rename remote_mips_set_watchpoint. | |
1063 | (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint. | |
1064 | (mips_stopped_by_watchpoint): Rename | |
1065 | remote_mips_stopped_by_watchpoint. | |
1066 | (mips_can_hardware_watchpoint): Rename | |
1067 | remote_mips_can_use_hardware_watchpoint, update function | |
1068 | signature. | |
1069 | ||
7bace51b MK |
1070 | 2003-08-29 Mark Kettenis <[email protected]> |
1071 | ||
b0f5c6f2 MK |
1072 | * x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and |
1073 | USER_DS. We haven't given them a register number yet. | |
1074 | ||
2a6d284d MK |
1075 | * amd64-nat.h: New file. |
1076 | * amd64-nat.c: New file. | |
1077 | * amd64fbsd-nat.c: Include "amd64-nat.h". | |
1078 | (REG_ADDR, GETREGS_SUPPLIES): Remove macros. | |
1079 | (amd64fbsd32_r_reg_offset): New variable. | |
1080 | (supply_gregset): Simply call amd64_supply_native_gregset. | |
1081 | (fill_gregset): Rename `regno' to `regnum'. Simply call | |
1082 | amd64_collect_native_gregset. | |
1083 | (fill_fpregset): Rename `regno' to `regnum'. | |
1084 | (fetch_inferior_registers): Rename `regno' to `regnum'. Replace | |
1085 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
1086 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
1087 | `fpregset_t'. Call amd64_supply_native_gregset instead of | |
1088 | supply_gregset. Call x86_64_supply_fxsave instead of | |
1089 | supply_fpregset. | |
1090 | (store_inferior_registers): Rename `regno' to `regnum'. Replace | |
1091 | usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. | |
1092 | Use `struct reg' and `struct fpreg' instead of `gregset_t' and | |
1093 | `fpregset_t'. Call amd64_collect_native_gregset instead of | |
1094 | fill_gregset. Call x86_64_collect_fxsave instead of | |
1095 | fill_fpregset. | |
1096 | (_initialize_am64fbsd_nat): Initialize | |
1097 | amd64_native_gregset32_reg_offset and | |
1098 | amd64_native_gregset64_reg_offset. | |
1099 | * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o. | |
1100 | ||
a16d75cc MK |
1101 | * regcache.c (regcache_raw_supply): Don't assert that BUF isn't a |
1102 | null pointer. Fix typo in comment. | |
1103 | ||
7bace51b MK |
1104 | * regcache.c (supply_register): Reimplement to call |
1105 | regcache_raw_supply. | |
1106 | (regcache_collect): Reimplement by calling regcache_raw_collect. | |
1107 | ||
9a661b68 MK |
1108 | 2003-08-28 Mark Kettenis <[email protected]> |
1109 | ||
1110 | * regcache.c (register_buffer): Consitify first argument. | |
1111 | (regcache_raw_supply, regcache_raw_collect): New | |
1112 | functions. | |
1113 | ||
e94cc8fa DJ |
1114 | 2003-08-28 Daniel Jacobowitz <[email protected]> |
1115 | ||
1116 | * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. Suggested | |
1117 | by Nathan J. Williams. | |
1118 | ||
c64bd0ce DJ |
1119 | 2003-08-28 Daniel Jacobowitz <[email protected]> |
1120 | ||
1121 | * lin-lwp.c (wait_lwp): New function, copied from | |
1122 | stop_wait_callback. Clean up. | |
1123 | (stop_wait_callback): Use wait_lwp. | |
1124 | ||
e5ab0dce AC |
1125 | 2003-08-28 Andrew Cagney <[email protected]> |
1126 | ||
1127 | * mips-tdep.c (gdb_print_insn_mips): Set the disassembler's | |
1128 | flavour and disassembler options. | |
1129 | (_initialize_mips_tdep): Do not set deprecated_tm_print_insn. | |
1130 | (mips_gdbarch_init): Set "print_insn". Delete initialization of | |
1131 | deprecated_tm_print_insn_info. | |
1132 | ||
a788de9b AC |
1133 | 2003-08-27 Andrew Cagney <[email protected]> |
1134 | ||
1135 | * s390-tdep.c (s390_readinstruction): Delete "info" parameter. | |
1136 | Use target_read_memory. | |
1137 | (s390_get_frame_info): Update. Do not reference | |
1138 | deprecated_tm_print_insn_info. | |
1139 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
1140 | ||
36482093 AC |
1141 | 2003-08-27 Andrew Cagney <[email protected]> |
1142 | ||
1143 | * Makefile.in (cris-tdep.o): Update dependencies. | |
1144 | * cris-tdep.c: Include "gdb_assert.h". | |
1145 | (cris_gdbarch_init): Set print_insn. | |
1146 | (_initialize_cris_tdep): Do not set deprecated_tm_print_insn. | |
1147 | (cris_delayed_get_disassembler): Simplify, directly call the | |
1148 | disassembler returned by cris_get_disassembler. | |
1149 | * hppa-tdep.c (hppa_gdbarch_init): Set print_insn. | |
1150 | (_initialize_hppa_tdep): Do not set deprecated_tm_print_insn. | |
1151 | * ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn. | |
1152 | (_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn. | |
1153 | * mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn. | |
1154 | (_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn. | |
1155 | * mcore-tdep.c (mcore_gdbarch_init): Set print_insn. | |
1156 | (_initialize_mcore_tdep): Do not set deprecated_tm_print_insn. | |
1157 | * frv-tdep.c (frv_gdbarch_init): Set print_insn. | |
1158 | (_initialize_frv_tdep): Do not set deprecated_tm_print_insn. | |
1159 | * sparc-tdep.c (sparc_gdbarch_init): Set print_insn. | |
1160 | (gdb_print_insn_sparc): Delete function. | |
1161 | (_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or | |
1162 | deprecated_tm_print_insn_info. | |
1163 | * v850-tdep.c (v850_gdbarch_init): Set print_insn. | |
1164 | (_initialize_v850_tdep): Do not set deprecated_tm_print_insn. | |
1165 | (v850_gdbarch_init): Do not set deprecated_tm_print_insn_info. | |
1166 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn. | |
1167 | (_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn. | |
1168 | * s390-tdep.c (gdb_print_insn_s390): Delete function. | |
1169 | (_initialize_s390_tdep): Do not set deprecated_tm_print_insn. | |
1170 | (s390_gdbarch_init): Set print_insn. | |
1171 | ||
0285512f AC |
1172 | 2003-08-27 Andrew Cagney <[email protected]> |
1173 | ||
1174 | * ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function. | |
1175 | (ppc_linux_init_abi): For PPC64, do not set call_dummy_address. | |
1176 | * infcall.c (call_function_by_hand): Convert the entry point | |
1177 | address into a code address. | |
1178 | ||
cdcd5552 AC |
1179 | 2003-08-27 Andrew Cagney <[email protected]> |
1180 | ||
1181 | * dsrec.c: Include "gdb_string.h". | |
1182 | * Makefile.in (dsrec.o): Update dependencies. | |
1183 | ||
e85cddad MC |
1184 | 2003-08-27 Michael Chastain <[email protected]> |
1185 | ||
1186 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*. | |
1187 | ||
8bbfbb23 AC |
1188 | 2003-08-27 Andrew Cagney <[email protected]> |
1189 | ||
1190 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function. | |
1191 | (alpha_osf1_init_abi): Do not set call_dummy_address. | |
1192 | ||
ba058b66 DC |
1193 | 2003-08-27 David Carlton <[email protected]> |
1194 | ||
1195 | From Randolph Chung <[email protected]>: | |
1196 | * linux-proc.c (linux_info_proc_cmd): rework the code so that it | |
1197 | compiles with -Wformat-nonliteral -Werror. | |
1198 | ||
87f84c9d JB |
1199 | 2003-08-26 Jim Blandy <[email protected]> |
1200 | ||
1201 | * solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument. | |
1202 | (enable_break): Pass SEC_CODE as the SECT_FLAGS argument to | |
1203 | bfd_lookup_symbol, since we only want symbols in code sections. | |
1204 | (look_for_base): Pass zero as the SECT_FLAGS argument to | |
1205 | bfd_lookup_symbol, since we're not concerned about which section | |
1206 | the symbol is in. | |
1207 | ||
102d615a JJ |
1208 | 2003-08-26 Jeff Johnston <[email protected]> |
1209 | ||
1210 | * ia64-tdep.c (examine_prologue): Only stop at predicated insns if | |
1211 | we are frameless or the return address register is already known. | |
1212 | ||
cc7ad3ea AC |
1213 | 2003-08-26 Andrew Cagney <[email protected]> |
1214 | ||
1215 | * i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s | |
1216 | in size. Add comments. | |
1217 | ||
af8b88dd JJ |
1218 | 2003-08-26 Jeff Johnston <[email protected]> |
1219 | ||
1220 | * ia64-tdep.c (ia64_convert_from_func_addr): New function. | |
1221 | (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr(). | |
1222 | ||
e0a4f5a1 JM |
1223 | 2003-08-26 Jason Merrill <[email protected]> |
1224 | ||
1225 | * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name | |
1226 | case out of #ifdef MIPS block. | |
1227 | ||
4ae9ee8e DJ |
1228 | 2003-08-25 Daniel Jacobowitz <[email protected]> |
1229 | ||
1230 | PR java/1322 | |
1231 | * dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are | |
1232 | available before calling SECT_OFF_TEXT. | |
3c164570 | 1233 | * PROBLEMS: Remove description of java/1322. |
4ae9ee8e | 1234 | |
004d836a JJ |
1235 | 2003-08-25 Jeff Johnston <[email protected]> |
1236 | ||
1237 | * ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63, | |
1238 | bof, and nat0-nat127 as pseudo-registers. | |
1239 | (ia64_frame_cache): New struct used to cache frame info. | |
1240 | (ia64_register_reggroup_p): New routine used to override default | |
1241 | register grouping so registers without names are still saved and | |
1242 | restored. | |
1243 | (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their | |
1244 | pseudo values. | |
1245 | (ia64_pseudo_register_read): New routine to read pseudo-registers. | |
1246 | (ia64_pseudo_register_write): New routine to write pseudo-registers. | |
1247 | (ia64_alloc_frame_cache): New routine to create a new | |
1248 | ia64_frame_cache. | |
1249 | (examine_prologue): Change prototype to add next_frame pointer. | |
1250 | Assume frameless until otherwise proven. Verify that the cfm for | |
1251 | current frame matches the cfm that should occur for the prologues | |
1252 | alloc insn and if equal, mark as not frameless. At end of routine, | |
1253 | if not frameless, calculate registers for the previous frame and store | |
1254 | in the cache, if a cache is provided. | |
1255 | (ia64_skip_prologue): Use new prototype when calling examine_prologue | |
1256 | and pass 0 for next_frame. | |
1257 | (ia64_store_return_value): Change to use convert_typed_floating() | |
1258 | instead of calling ia64_convert_to_raw(). | |
1259 | (ia64_extract_return_value): Change to use convert_typed_floating() | |
1260 | instead of calling ia64_convert_to_virtual(). | |
1261 | (ia64_frame_cache): New routine to support new frame model. | |
1262 | (ia64_frame_this_id, ia64_frame_prev_register): Ditto. | |
1263 | (ia64_frame_sniffer): Ditto. | |
1264 | (ia64_sigtramp_frame_init_saved_regs): Ditto. | |
1265 | (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto. | |
1266 | (ia64_sigtramp_frame_prev_register): Ditto. | |
1267 | (ia64_sigtramp_frame_sniffer): Ditto. | |
1268 | (ia64_frame_base_address): Ditto. | |
1269 | (ia64_extract_struct_value_address): Change to issue error message. | |
1270 | (ia64_frame_align): New routine to align sp. | |
1271 | (ia64_push_dummy_call): New routine based on ia64_push_arguments(). | |
1272 | (ia64_push_arguments): Removed. Logic moved to | |
1273 | ia64_push_dummy_call(). | |
1274 | (ia64_push_return_address): Ditto. | |
1275 | (ia64_unwind_dummy_id): New function. | |
1276 | (ia64_unwind_pc): Ditto. | |
1277 | (ia64_convert_register_p): Ditto. | |
1278 | (ia64_register_to_value): Ditto. | |
1279 | (ia64_value_to_register): Ditto. | |
1280 | (ia64_pop_frame, ia64_pop_frame_regular): Removed. | |
1281 | (ia64_register_byte, ia64_register_raw_size): Ditto. | |
1282 | (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto. | |
1283 | (ia64_saved_pc_after_call): Ditto. | |
1284 | (ia64_frame_chain, ia64_frame_saved_pc): Ditto. | |
1285 | (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto. | |
1286 | (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto. | |
1287 | (ia64_register_convert_to_raw): Ditto. | |
1288 | (ia64_store_struct_return, ia64_call_dummy_words): Ditto. | |
1289 | (ia64_init_extra_frame_info): Ditto. | |
1290 | (ia64_frame_args_address, ia64_frame_locals_address): Ditto. | |
1291 | (ia64_gdbarch_init): Remove registering of deprecated functions that | |
1292 | are no longer used. Add registration of new gdbarch functions. | |
1293 | Remove registering deprecated_write_sp. Replace | |
1294 | set_gdbarch_register_virtual_type() with set_gdbarch_register_type(). | |
1295 | Delete set_gdbarch_deprecated_register_convertible(), | |
1296 | set_gdbarch_deprecated_register_convert_to_virtual(), and | |
1297 | set_gdbarch_deprecated_register_convert_to_raw() calls. Remove | |
1298 | set_gdbarch_deprecated_register_size(), | |
1299 | set_gdbarch_deprecated_register_bytes(), | |
1300 | set_gdbarch_pcregnum(), | |
1301 | set_gdbarch_deprecated_register_byte(), | |
1302 | set_gdbarch_deprecated_register_raw_size(), | |
1303 | set_gdbarch_deprecated_max_register_raw_size(), | |
1304 | set_gdbarch_deprecated_register_virtual_size(), | |
1305 | and set_gdbarch_deprecated_max_register_virtual_size() calls. | |
1306 | Replace set_gdbarch_deprecated_extract_return_value() with | |
1307 | set_gdbarch_extract_return_value(). Remove calls to: | |
1308 | set_gdbarch_deprecated_saved_pc_after_call(); | |
1309 | set_gdbarch_deprecated_frame_chain(), | |
1310 | set_gdbarch_deprecated_frame_saved_pc(), | |
1311 | set_gdbarch_deprecated_frame_init_saved_regs(), | |
1312 | set_gdbarch_deprecated_get_saved_register(), | |
1313 | set_gdbarch_deprecated_call_dummy_words(), | |
1314 | set_gdbarch_deprecated_sizeof_call_dummy_words(), | |
1315 | set_gdbarch_deprecated_init_extra_frame_info(), | |
1316 | set_gdbarch_deprecated_frame_args_address(), | |
1317 | set_gdbarch_deprecated_frame_locals_address(), | |
1318 | and set_gdbarch_deprecated_dummy_write_sp(). | |
1319 | Add set_gdbarch_convert_register_p(), | |
1320 | set_gdbarch_register_to_value(), | |
1321 | set_gdbarch_value_to_register(), | |
1322 | set_gdbarch_push_dummy_call(), | |
1323 | set_gdbarch_frame_align(), | |
1324 | set_gdbarch_unwind_dummy_id(), | |
1325 | set_gdbarch_unwind_pc(), | |
1326 | frame_unwind_append_sniffer(), | |
1327 | frame_unwind_append_sniffer(), | |
1328 | and frame_base_set_default(). | |
1329 | ||
aede7613 CD |
1330 | 2003-08-25 Chris Demetriou <[email protected]> |
1331 | ||
1332 | * configure.tgt: Document need for special "mipsisa64" handling. | |
1333 | (mipsisa64*-*-linux64): Handle as target linux64. | |
1334 | (mipsisa64*-*-*): Handle as target embed64. | |
1335 | ||
43c3a82e MC |
1336 | 2003-08-18 Michael Chastain <[email protected]> |
1337 | ||
1338 | * PROBLEMS: Document pr gdb/1322, the Java anonymous | |
1339 | objfile bug. | |
1340 | ||
6564f77d MK |
1341 | 2003-08-24 Mark Kettenis <[email protected]> |
1342 | ||
2de139ba MK |
1343 | * i387-tdep.h: Update copyright date. |
1344 | (I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines. | |
1345 | ||
6564f77d MK |
1346 | * linux-proc.c (linux_proc_xfer_memory): Remove comment about |
1347 | CFLAGS games to reflect reality. | |
1348 | ||
42cf1509 AC |
1349 | 2003-08-24 Andrew Cagney <[email protected]> |
1350 | ||
1351 | * arm-tdep.c (_initialize_arm_tdep): Simplify by assuming | |
1352 | GDB_MULTI_ARCH is always non-zero. | |
1353 | * osabi.c (_initialize_gdb_osabi): Ditto. | |
1354 | (gdbarch_init_osabi): Ditto. | |
1355 | * sparc-tdep.c: Ditto for #if code. | |
1356 | ||
0485f6ad MK |
1357 | 2003-08-23 Mark Kettenis <[email protected]> |
1358 | ||
1359 | * x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument. | |
1360 | Update comments. | |
1361 | * x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype. Update | |
1362 | comments. | |
1363 | * x86-64-linux-tdep.c (fetch_core_registers): Adjust call to | |
1364 | x86_64_supply_fxsave. | |
1365 | * x86-64-linux-nat.c (supply_fpregset): Adjust call to | |
1366 | x86_64_supply_fxsave. | |
1367 | * amd64fbsd-nat.c (supply_fpregset): Adjust call to | |
1368 | x86_64_supply_fxsave. | |
1369 | ||
c7716133 AJ |
1370 | 2003-08-23 Andreas Jaeger <[email protected]> |
1371 | ||
1372 | * x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to | |
1373 | i387_supply_fxsave. | |
1374 | ||
ed504bdf MK |
1375 | 2003-08-23 Mark Kettenis <[email protected]> |
1376 | ||
1377 | * go32-nat.c (fetch_register): Call i387_supply_fsave instead of | |
1378 | i387_supply_register. | |
1379 | (go32_fetch_registers): Adjust call to i387_supply_fsave. | |
1380 | * i386nbsd-tdep.c (fetch_core_registers): Adjust call to | |
1381 | i387_supply_fsave. | |
1382 | (fetch_elfcore_registers): Adjust call to i387_supply_fsave and | |
1383 | i387_supply_fxsave. | |
1384 | * i386obsd-tdep.c (fetch_core_registers): Adjust call to | |
1385 | i387_supply_fsave. | |
1386 | * i386bsd-nat.c (supply_fpregset): Adjust call to | |
1387 | i387_supply_fsave. | |
1388 | (fetch_inferior_registers): Remove extraneous whitespace. Adjust | |
1389 | call to i387_supply_fxsave. Call i387_supply_fsave instead of | |
1390 | supply_fpregset. | |
1391 | (store_inferior_registers): Remove extraneous whitespace. Call | |
1392 | i387_fill_fsave instead of fill_fpregset. | |
1393 | * i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave. | |
1394 | (supply_fpregset): Likewise. | |
1395 | * i386v4-nat.c (supply_fpregset): Adjust call to | |
1396 | i387_supply_fsave. | |
1397 | * i386-interix-nat.c (supply_fpregset): Adjust call to | |
1398 | i387_supply_fsave. | |
1399 | * i386-linux-nat.c (supply_fpregset): Adjust call to | |
1400 | i387_supply_fsave. | |
1401 | (supply_fpxregset): Adjust call to i387_adjust_fxsave. | |
1402 | * i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to | |
1403 | i387supply_fsave and i387_supply_fxsave. | |
1404 | * i387-tdep.c (i387_supply_fsave): Add `regnum' argument. | |
1405 | Incorporate code from `i387_supply_register. | |
1406 | (i387_supply_register): Remove. | |
1407 | (i387_supply_fxsave): Add `regnum' argument. | |
1408 | Update comments. | |
1409 | * i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust | |
1410 | prototype. | |
1411 | (i387_supply_register): remove prototype. | |
1412 | Update comments. | |
1413 | ||
4be5d520 MC |
1414 | 2003-08-22 Michael Chastain <[email protected]> |
1415 | ||
1416 | * config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*. | |
1417 | Add lines for files in gdb/testsuite/gdb.cp/* that are | |
1418 | still not 8.3 unique. | |
1419 | ||
7ed85d26 DJ |
1420 | 2003-08-22 Daniel Jacobowitz <[email protected]> |
1421 | ||
1422 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether | |
1423 | TYPE_VPTR_FIELDNO is valid. | |
1424 | ||
eb0d3137 MK |
1425 | 2003-08-19 Mark Kettenis <[email protected]> |
1426 | ||
1427 | * utils.c (set_width_command): Remove prototypes. | |
1428 | (set_screen_size): New prototype. | |
1429 | (init_page_info): Simplify by fetching the screen size from | |
1430 | Readline. Call set_screen_size. | |
1431 | (set_screen_size): New function. | |
1432 | (set_width): Add missing whitespace in comment. | |
1433 | (set_width_command): Call set_screen_size. | |
1434 | (set_height_command): New function. | |
1435 | (initialize_utils): Fix formatting. Make "set height" command | |
1436 | call set_height_command. Remove redundant code that turns off | |
1437 | pagination if output isn't a terminal. Remove redundant call to | |
1438 | set_width_command. | |
1439 | ||
7e6d0ac8 MK |
1440 | 2003-08-22 Mark Kettenis <[email protected]> |
1441 | ||
3567a8ea MK |
1442 | * sparc64-tdep.h (sparc64_regnum): Fix comment. |
1443 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes. | |
1444 | (sparc_supply_rwindow, sparc_fill_rwindow): New prototypes. | |
1445 | * sparc64-tdep.c (sparc64_pseudo_register_read): Add missing | |
1446 | `case' keyword. | |
1447 | (sparc64_register_info): Give the reister with number | |
1448 | SPARC64_STATE_REGNUM a name. | |
1449 | (sparc64_pseudo_register_write): Add support for %cwp, %pstate, | |
1450 | %asi and %ccr. | |
1451 | (sparc64_push_dummy_call): Take BIAS into account when checking | |
1452 | stcak alignment. | |
1453 | (sparc_software_single_step): Remove assertions that check whether | |
1454 | NPC and NNPC were zero. | |
1455 | (sparc_supply_rwindow): Make public. Merge functionality with | |
1456 | sparc64_supply_rwindow. | |
1457 | (sparc_fill_rwindow): Make public. Merge functionality with | |
1458 | sparc64_fill_rwindow. | |
1459 | (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove. | |
1460 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set | |
1461 | SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p. | |
1462 | * sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call | |
1463 | sparc_supply_rwindow instead of sparc64_supply_rwindow. | |
1464 | ||
7e6d0ac8 MK |
1465 | * reggroups.c: Add whitespace after declarations of local |
1466 | variables in functions. | |
1467 | ||
72e5f484 MC |
1468 | 2003-08-21 Michael Chastain <[email protected]> |
1469 | ||
1470 | * gdbtypes.h: Change array bound type from an int to enum. | |
1471 | ||
435ac228 AC |
1472 | 2003-08-21 Andrew Cagney <[email protected]> |
1473 | ||
1474 | * config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code. | |
1475 | * config/sparc/tm-sparc.h: Ditto. | |
1476 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH | |
1477 | unconditionally. | |
1478 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto. | |
1479 | ||
0d0e1a63 MK |
1480 | 2003-07-13 Mark Kettenis <[email protected]> |
1481 | ||
1482 | * objfiles.h (struct objfile): Add memebers `data' and `num_data'. | |
1483 | (register_objfile_data, set_objfile_data, objfile_data): New | |
1484 | prototypes. | |
1485 | * objfiles.c (objfile_alloc_data, objfile_free_data): New | |
1486 | prototypes. | |
1487 | (allocate_objfile): Call objfile_alloc_data. | |
1488 | (free_objfile): Call objfile_free_data. | |
1489 | (struct objfile_data): New. | |
1490 | (struct objfile_data_registration): New. | |
1491 | (struct objfile_data_registry): New. | |
1492 | (objfile_data_registry): New variable. | |
1493 | (register_objfile_data): New function. | |
1494 | (objfile_alloc_data, objfile_free_data): New functions. | |
1495 | (set_objfile_data, objfile_data): New functions. | |
1496 | * dwarf2-frame.c (dwarf2_frame_data): New variable. | |
1497 | (dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism. | |
1498 | (_initialize_dwarf2_frame): New function and prototype. | |
1499 | ||
d90cf509 AC |
1500 | 2003-08-21 Andrew Cagney <[email protected]> |
1501 | ||
1502 | * sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select | |
1503 | a specific architecture. | |
1504 | * arch-utils.h (set_architecture_from_arch_mach): Delete | |
1505 | declaration. | |
1506 | (target_architecture_hook): Delete declaration. | |
1507 | * arch-utils.c: Delete non GDB_MULTI_ARCH includes. | |
1508 | (default_float_format): Assume GDB_MULTI_ARCH. | |
1509 | (default_double_format): Assume GDB_MULTI_ARCH. | |
1510 | (set_endian_from_file): Delete function. | |
1511 | (arch_ok): Delete function. | |
1512 | (set_arch): Delete function. | |
1513 | (set_architecture_from_arch_mach): Delete function. | |
1514 | (set_architecture_from_file): Delete function. | |
1515 | (set_architecture): Assume GDB_MULTI_ARCH. | |
1516 | (set_gdbarch_from_file): Assume GDB_MULTI_ARCH. | |
1517 | ||
8b39fe56 MK |
1518 | 2003-08-21 Mark Kettenis <[email protected]> |
1519 | ||
1520 | Rewrite FreeBSD/sparc64 native configuration. | |
1521 | * sparcbsd-nat.c, sparcbsd-nat.h: New files. | |
1522 | * sparc64fbsd-nat.c: New file. | |
1523 | * sparc64fbsd-tdep.c: New file. | |
1524 | * sparc64-tdep.c sparc64-tdep.h: New files. | |
1525 | * Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o, | |
1526 | sparc64fbsd-tdep.o): New dependencies. | |
1527 | (SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c | |
1528 | and sparc64fbsd-tdep.c. | |
1529 | (sparc64_tdep_h, sparcbsd_nat_h): New variables. | |
1530 | * config/sparc/fbsd.mh: Remove copyright notice. | |
1531 | (NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and | |
1532 | sparcbsd-nat.o. | |
1533 | * config/sparc/fbsd.mt: Remove copyright notice. | |
1534 | (TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o, | |
1535 | solib-legacy.o. Add sparc64-tdep.o and sparc64fbsd-tdep.o. | |
1536 | * config/sparc/nm-fbsd.h: Don't include "elf/common.h". | |
1537 | (SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS, | |
1538 | PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T, | |
1539 | regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu, | |
1540 | fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines. | |
1541 | * config/sparc/tm-fbsd.h: Don't include "solib.h" and | |
1542 | "sparc/tm-sp64.h". | |
1543 | (SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines. | |
1544 | (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM. | |
1545 | ||
a7f19c79 MC |
1546 | 2003-08-21 Michael Chastain <[email protected]> |
1547 | ||
1548 | * symtab.h: Add doco on the space critical structures and | |
1549 | some measurements of space usage. | |
1550 | ||
da08ea5b MS |
1551 | 2003-08-21 Michael Snyder <[email protected]> |
1552 | ||
1553 | * tracepoint.c (trace_dump_command): Trace break address | |
1554 | is subject to DECR_PC_AFTER_BREAK. | |
1555 | (set_traceframe_context): Make "trace_line" an int. | |
1556 | Fixes suggested by Mark Newman <[email protected]> | |
1557 | ||
6df2bf50 MS |
1558 | 2003-08-20 Michael Snyder <[email protected]> |
1559 | ||
1560 | * sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG. | |
1561 | * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set | |
1562 | FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for | |
1563 | argument passing. | |
1564 | (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New | |
1565 | functions, replace sh_push_dummy_call. | |
1566 | (sh_gdbarch_init): Set push_dummy_call to one of new methods. | |
1567 | ||
0955bbf0 MC |
1568 | 2003-08-20 Michael Chastain <[email protected]> |
1569 | ||
1570 | * gdbtypes.h (struct main_type): Rearrange to save space. | |
1571 | ||
260a4188 MS |
1572 | 2003-08-20 Michael Snyder <[email protected]> |
1573 | ||
1574 | * trad-frame.c: Comment typo fix. | |
1575 | ||
8baa6f92 KB |
1576 | 2003-08-20 Michael Snyder <[email protected]> |
1577 | Kevin Buettner <[email protected]> | |
1578 | ||
1579 | * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include. | |
1580 | (frv_frame_init_saved_regs): Add declaration. | |
1581 | (frame_extra_info): Add new field ``saved_regs''. | |
1582 | (frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue) | |
1583 | (frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular): | |
1584 | Update frame related code. | |
1585 | (frv_extract_struct_value_address): Adjust formatting. | |
1586 | * Makefile.in (frv-tdep.o): Update dependencies. | |
1587 | * config/frv/tm-frv.h (target_insert_watchpoint) | |
1588 | (target_remove_watchpoint, target_insert_hw_breakpoint) | |
1589 | (target_remove_hw_breakpoint): Delete these macros. | |
1590 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
1591 | (remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove | |
1592 | these declarations. | |
1593 | ||
87193939 MC |
1594 | 2003-08-20 Michael Chastain <[email protected]> |
1595 | ||
1596 | * defs.h (ENUM_BITFIELD): New macro. | |
1597 | * symtab.h (ENUM_BITFIELD): Use it. | |
1598 | (BYTE_BITFIELD): Remove old macro, which was already disabled. | |
1599 | ||
062103ba SA |
1600 | 2003-08-19 Shrinivas Atre <[email protected]> |
1601 | ||
1602 | * MAINTAINERS (write after approval): Add myself. | |
1603 | ||
8b148df9 AC |
1604 | 2003-08-18 Andrew Cagney <[email protected]> |
1605 | ||
1606 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method. | |
1607 | * gdbarch.h, gdbarch.c: Re-generate. | |
1608 | * infcall.c (call_function_by_hand): Adjust the SP by | |
1609 | frame_red_zone_size before allocating any stack space. | |
1610 | * rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size". | |
1611 | * x86-64-tdep.c (x86_64_frame_align): New function. | |
1612 | (x86_64_init_abi): Set "frame_red_zone_size" and "frame_align". | |
1613 | ||
1614 | * x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change. | |
1615 | Remove code adjusting SP so that it skips over the Red Zone. | |
1616 | ||
954a4db8 MK |
1617 | 2003-08-18 Mark Kettenis <[email protected]> |
1618 | ||
1619 | * NEWS (New native configurations): Mention FreeBSD/amd64. | |
1620 | ||
1a241548 AC |
1621 | 2003-08-18 Andrew Cagney <[email protected]> |
1622 | ||
1623 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set | |
1624 | "dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of | |
1625 | "m68k_frame_p". | |
1626 | (m68hc11_frame_sniffer): Replace "m68hc11_frame_p". | |
1627 | ||
f82b2acd MK |
1628 | 2003-08-18 Mark Kettenis <[email protected]> |
1629 | ||
1630 | * x86-64-tdep.c (x86_64_dwarf_regmap): Remove trailing whitespace. | |
1631 | ||
4056d258 ML |
1632 | 2003-08-18 Michal Ludvig <[email protected]> |
1633 | ||
1634 | * config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): | |
1635 | Define. | |
1636 | * i386-linux-nat.c: Include "linux-nat.h". | |
1637 | (child_post_startup_inferior): New function. | |
1638 | ||
99ab4326 MK |
1639 | 2003-08-18 Mark Kettenis <[email protected]> |
1640 | ||
1641 | * i386-tdep.c (i386_analyze_register_saves): Handle register saves | |
1642 | at the start of a frameless function. This probably fixes PR | |
1643 | backtrace/1338. | |
1644 | ||
c8d5f0d6 MC |
1645 | 2003-08-17 Michael Chastain <[email protected]> |
1646 | ||
1647 | * symfile.c (find_sym_fns): Remove special case for apollo target. | |
1648 | ||
9016a515 DJ |
1649 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
1650 | ||
1651 | * linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define. | |
1652 | (PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define. | |
1653 | (linux_parent_pid, linux_supports_tracevforkdone_flag): New variable. | |
1654 | (linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag. | |
1655 | (linux_supports_tracevforkdone): New function. | |
1656 | (linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and | |
1657 | TRACEVFORKDONE. | |
1658 | (child_follow_fork): Handle vfork. | |
1659 | (linux_handle_extended_wait): Likewise. Also handle exec. | |
1660 | (child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable. | |
1661 | * NEWS: Mention fork tracing. | |
1662 | ||
c538c11c DJ |
1663 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
1664 | ||
1665 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
1666 | ||
4de4c07c DJ |
1667 | 2003-08-17 Daniel Jacobowitz <[email protected]> |
1668 | ||
1669 | * Makefile.in (i386-linux-nat.o): Update dependencies. | |
1670 | * config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. | |
1671 | * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH) | |
1672 | (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define. | |
1673 | * i386-linux-nat.c: Include "linux-nat.h". | |
1674 | (child_post_startup_inferior): New function. | |
1675 | * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef. | |
1676 | * infptrace.c (kill_inferior): Wrap in #ifdef. | |
1677 | * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after | |
1678 | attaching to each LWP. | |
1679 | (child_wait, lin_lwp_wait): Call linux_handle_extended_wait. | |
1680 | (init_lin_lwp_ops): Fill in some more operations. | |
1681 | * linux-nat.h (linux_enable_event_reporting) | |
1682 | (linux_handle_extended_wait, linux_child_post_startup_inferior): New | |
1683 | prototypes. | |
1684 | * linux-nat.c (linux_enable_event_reporting): New function. | |
1685 | (child_post_attach, linux_child_post_startup_inferior) | |
1686 | (child_post_startup_inferior, child_follow_fork) | |
1687 | (linux_handle_extended_wait, kill_inferior): New functions. | |
1688 | ||
7996bcec AC |
1689 | 2003-08-16 Andrew Cagney <[email protected]> |
1690 | ||
1691 | * gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code. | |
1692 | * gdbarch.h, gdbarch.c: Re-generate. | |
1693 | ||
3d48a7a0 MK |
1694 | 2003-08-16 Mark Kettenis <[email protected]> |
1695 | ||
1696 | * config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define. | |
1697 | ||
7989c619 AC |
1698 | 2003-08-16 Andrew Cagney <[email protected]> |
1699 | ||
1700 | * NEWS: Mention that "set prompt-escape-char" was deleted. | |
1701 | * top.c (get_prompt_1): Delete function. | |
1702 | (gdb_prompt_escape): | |
1703 | (init_main): Do not clear "gdb_prompt_escape". Delete "set | |
1704 | prompt-escape-char" command. | |
1705 | (MAX_PROMPT_SIZE): Delete macro. | |
1706 | (get_prompt): Simplify, do not call get_prompt_1. | |
1707 | ||
07978cd8 AC |
1708 | 2003-08-16 Andrew Cagney <[email protected]> |
1709 | ||
1710 | * Makefile.in (printcmd.o, valprint.o): Do not try to build with | |
1711 | -Werror. -Wformat-nonliteral problems. | |
1712 | ||
3ff7cf9e JB |
1713 | 2003-08-15 J. Brobecker <[email protected]> |
1714 | ||
1715 | Further multiarching work mostly for hppa64-*-hpux11: | |
1716 | * hppa-tdep.h: New file. | |
1717 | * hppa-tdep.c: #include hppa-tdep.c. | |
1718 | (hppa32_num_regs): Renamed from hppa_num_regs. | |
1719 | (hppa64_num_regs): New constant. | |
1720 | (hppa64_call_dummy_breakpoint_offset): New constant. | |
1721 | (hppa32_call_dummy_length): New constant. | |
1722 | (hppa64_call_dummy_length): New constant. | |
1723 | (hppa32_stack_align): Make name 32bit explicit. | |
1724 | (hppa32_register_virtual_type): Likewise. | |
1725 | (hppa32_extract_return_value): Likewise. | |
1726 | (hppa32_use_struct_convention): Likewise. | |
1727 | (hppa32_store_return_value): Likewise. | |
1728 | (hppa64_register_virtual_type): New function. | |
1729 | (hppa64_extract_return_value): New function. | |
1730 | (hppa64_use_struct_convention): New function. | |
1731 | (hppa64_store_return_value): New function. | |
1732 | (hppa_frame_locals_address): Remove declaration, function does | |
1733 | not exist anymore. | |
1734 | (hppa_register_byte): Add support for PA64 ABI. | |
1735 | (hppa_gdbarch_init): Add support for PA64 ABI. | |
1736 | * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp): | |
1737 | Make name 32bit explicit. | |
1738 | (hppa32_hpux_frame_base_before_sigtramp): Likewise. | |
1739 | (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise. | |
1740 | (hppa64_hpux_frame_saved_pc_in_sigtramp): New function. | |
1741 | (hppa64_hpux_frame_base_before_sigtramp): New function. | |
1742 | (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function. | |
1743 | * config/pa/tm-hppa64.h: Remove macros that are no longer | |
1744 | necessary now that the gdbarch vector is properly setup. | |
1745 | Transform some macros into function calls. Some minor cleanup. | |
1746 | * config/pa/tm-hppah.h: Update function calls in macros | |
1747 | following the function renaming in hppa-hpux-tdep.c. | |
1748 | * Makefile.in (hppa_tdep_h): New variable. | |
1749 | (hppa-tdep.o): Add dependency over hppa_tdep_h. | |
1750 | ||
5d05ca6d MS |
1751 | 2003-08-14 Michael Snyder <[email protected]> |
1752 | ||
1753 | * disasm.c (gdb_disassemble_info): Set info->insn_sets to zero. | |
1754 | ||
37ba2569 JB |
1755 | 2003-08-13 J. Brobecker <[email protected]> |
1756 | ||
1757 | * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct | |
1758 | bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization | |
1759 | routine. | |
1760 | ||
aed7f26a MS |
1761 | 2003-08-13 Michael Snyder <[email protected]> |
1762 | ||
1763 | * frv-tdep.c (frv_push_arguments): Use deprecated ftype. | |
1764 | (frv_saved_pc_after_call): Use deprecated ftype. | |
1765 | (stupid_useless_init_extra_frame_info): Remove orphan prototype. | |
1766 | (frv_remote_translate_xfer_address): Remove. | |
1767 | (frv_gdbarch_init): Use generic_remote_translate_xfer_address. | |
1768 | ||
752d4ac1 JB |
1769 | 2003-08-13 J. Brobecker <[email protected]> |
1770 | ||
1771 | * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch | |
1772 | initialization after the common gdbarch initialization, not before. | |
1773 | ||
1426ac1d JB |
1774 | 2003-08-13 J. Brobecker <[email protected]> |
1775 | ||
1776 | * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used. | |
1777 | (ADDR_BITS_REMOVE): Remove, redundant. | |
1778 | ||
b6fbdd1d JB |
1779 | 2003-08-13 J. Brobecker <[email protected]> |
1780 | ||
1781 | * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove | |
1782 | gdbarch method to clear the 2 low bits of text addresses. | |
1783 | ||
44160db3 AC |
1784 | 2003-08-12 Andrew Cagney <[email protected]> |
1785 | ||
1786 | * Makefile.in (dsrec.o): Update dependencies. | |
1787 | * dsrec.c: Include "gdb_assert.h". | |
1788 | (make_srec): Use snprintf instead of sprintf, use a literal format | |
1789 | string. | |
1790 | ||
bcf7d3ca AC |
1791 | 2003-08-12 Andrew Cagney <[email protected]> |
1792 | ||
1793 | * frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of | |
1794 | FRAME_OBSTACK_ZALLOC. | |
1795 | ||
49ed40de KB |
1796 | 2003-08-12 Kevin Buettner <[email protected]> |
1797 | ||
1798 | * i386-tdep.c (i386_gdbarch_init): Enable default support for | |
1799 | SSE registers. | |
1800 | ||
b246147c MK |
1801 | 2003-08-10 Mark Kettenis <[email protected]> |
1802 | ||
1803 | * x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end, | |
1804 | amd64fbsd_sc_reg_offset): Add extern declarations. | |
1805 | * amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern | |
1806 | declarations. | |
1807 | ||
d95fdc0d BE |
1808 | 2003-08-11 Ben Elliston <[email protected]> |
1809 | ||
1810 | * MAINTAINERS (write after approval): Update my mail address. | |
1811 | ||
cf6a0e73 AC |
1812 | 2003-08-10 Andrew Cagney <[email protected]> |
1813 | ||
1814 | * Makefile.in (monitor.o): Do not build monitor.c with -Werror. | |
1815 | ||
f837910f MK |
1816 | 2003-08-10 Mark Kettenis <[email protected]> |
1817 | ||
e2dbbd2d MK |
1818 | * i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, |
1819 | i386obsd_sigtramp_start, i386obsd_sigtramp_end, | |
1820 | i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset, | |
1821 | i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset, | |
1822 | i386bsd_sc_reg_offset): Add extern declarations. | |
1823 | * i386obsd-nat.c: Include "i386-tdep.h" | |
1824 | (_initialize_i386obsd_nat): Remove extern declarations. | |
1825 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern | |
1826 | declarations. | |
1827 | * i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern | |
1828 | declarations. | |
1829 | ||
f837910f MK |
1830 | * i386-tdep.c (i386_register_to_value): Use get_frame_register |
1831 | instead of frame_read_register. | |
1832 | (i386_fetch_pointer_argument): Use get_frame_register_unsigned | |
1833 | instead of frame_read_register. Use I386_ESP_REGNUM instead of | |
1834 | SP_REGNUM. | |
1835 | (i386_frame_prev_register): Use frame_unwind_register_unsigned | |
1836 | instead of frame_unwind_unsigned_register. Use | |
1837 | I386_EFLAGS_REGISTER instead of PS_REGNUM. | |
1838 | (i386_get_longjmp_target): Use regcache_read_unsigned_register | |
1839 | instead of read_register. Use builtin_type_void_data_ptr instead | |
1840 | of builtin_type_void_func_ptr when extracting the address of the | |
1841 | jmp_buf. | |
1842 | (i386_extract_return_value, i386_store_return_value, | |
1843 | i386_pseudo_register_read, i386_pseudo_register_write): Use | |
1844 | register_size instead REGISTER_RAW_SIZE. | |
1845 | ||
edcf254d AC |
1846 | 2003-08-10 Andrew Cagney <[email protected]> |
1847 | ||
1848 | * infcall.c (call_function_by_hand): Use xstrprintf instead of | |
1849 | sprintf. Make "name" constant. | |
1850 | ||
26604a34 MK |
1851 | 2003-08-10 Mark Kettenis <[email protected]> |
1852 | ||
192285c6 MK |
1853 | * i387-tdep.c (i387_register_to_value): Use get_frame_register |
1854 | instead of frame_read_register. | |
f837910f MK |
1855 | (i387_print_float_info): Use get_frame_register and |
1856 | get_frame_register_unsigned instead of frame_register_read. | |
192285c6 | 1857 | |
f0925262 MK |
1858 | * i386fbsd-nat.c: Include "i386-tdep.h". |
1859 | (child_resume): Make `eflags' an ULONGEST. Use | |
1860 | regcache_cooked_read_unsigned and regcache_cooked_write_unsigned | |
1861 | instead of register_read and register_write. | |
1862 | ||
a144416f MK |
1863 | * i386bsd-nat.c (fetch_inferior_registers, |
1864 | store_inferior_registers): Don't use && at the end of a line. | |
1865 | (_initialize_i386bsd_nat): Fix typo. | |
1866 | ||
fec74868 MK |
1867 | * frame.c (_initialize_frame): Add missing backslash. |
1868 | ||
87232496 MK |
1869 | From Peter Schauer ([email protected]): |
1870 | * sol-thread.c (sol_thread_store_registers): Use regcache_collect | |
1871 | and supply_register instead of manipulating the register buffer | |
1872 | directly. | |
1873 | ||
c9b9de0b MK |
1874 | From Peter Schauer ([email protected]): |
1875 | * config/i386/nm-i386sol2.h | |
1876 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one. | |
1877 | ||
26604a34 MK |
1878 | Based on a patch from Michael Elizabeth Chastain ([email protected]): |
1879 | * i386-tdep.c (i386_analyze_frame_setup): Recognize more | |
1880 | instructions that GCC likes to mingle into the prologue. Fixes | |
1881 | gdb/1253 and gdb/1255. | |
1882 | ||
25d29d70 AC |
1883 | 2003-08-09 Andrew Cagney <[email protected]> |
1884 | ||
1885 | Fix GDB PR cli/926. | |
1886 | * cli/cli-decode.c (add_setshow_uinteger_cmd): New function. | |
1887 | * command.h (add_setshow_uinteger_cmd): Declare. | |
1888 | * frame.c (set_backtrace_cmd): New function. | |
1889 | (show_backtrace_cmd): New function. | |
1890 | * frame.c (_initialize_frame): Replace "set/show | |
1891 | backtrace-below-main" with "set/show backtrace past-main". Add | |
1892 | command "set/show backtrace limit". | |
1893 | (backtrace_past_main): Rename "backtrace_below_main". | |
1894 | (backtrace_limit): New variable. | |
1895 | (get_prev_frame): Update. Check the backtrace_limit. | |
1896 | ||
9ebf4acf AC |
1897 | 2003-08-09 Andrew Cagney <[email protected]> |
1898 | ||
1899 | * defs.h (xstrprintf): Declare. | |
1900 | * utils.c (xstrprintf): New function. | |
1901 | * breakpoint.c (insert_breakpoints): Replace sprintf and | |
1902 | non-literal format strings, with xstrprintf and cleanups. | |
1903 | (delete_breakpoint,breakpoint_re_set): Ditto. | |
1904 | (commands_command, insert_breakpoints): Ditto. | |
1905 | (bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto. | |
1906 | (break_at_finish_command_1): Ditto. | |
1907 | ||
3771659b AC |
1908 | 2003-08-09 Andrew Cagney <[email protected]> |
1909 | ||
1910 | * MAINTAINERS (language support): List Adam Fedor as Objective C | |
1911 | maintainer. | |
1912 | ||
b4263afa JB |
1913 | 2003-08-08 J. Brobecker <[email protected]> |
1914 | ||
1915 | * NEWS (Multi-arched targets): Document that all hppa-hpux targets | |
1916 | are now multiarched. | |
1917 | ||
d84defb1 JB |
1918 | 2003-08-08 J. Brobecker <[email protected]> |
1919 | ||
1920 | * config/pa/tm-hppa64.h: Remove lots of macros that are no | |
1921 | longer necessary now that hppa64 is partially multiarch'ed. | |
1922 | ||
f786f615 AC |
1923 | 2003-08-08 Andrew Cagney <[email protected]> |
1924 | ||
1925 | * interps.c (interp_set): Check for a NULL "old_interp". | |
1926 | ||
c938e9b0 L |
1927 | 2003-08-08 H.J. Lu <[email protected]> |
1928 | ||
1929 | * Makefile.in (FLAGS_TO_PASS): Add DESTDIR. | |
1930 | (install-only): Support DESTDIR. | |
1931 | (uninstall): Likewise. | |
1932 | (install-gdbtk): Likewise. | |
1933 | ||
9a146a11 EZ |
1934 | 2003-08-08 Elena Zannoni <[email protected]> |
1935 | ||
1936 | * symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this | |
1937 | contains something meaningful at all times. | |
1938 | ||
1939 | Fri Aug 8 00:28:46 UTC 2003 Brendan Conoboy <[email protected]> | |
7a76ced5 | 1940 | |
62599e99 | 1941 | * configure.host: Set gdb_host_cpu=arm when host_cpu=xscale. |
7a76ced5 | 1942 | |
56296155 BC |
1943 | Fri Aug 8 00:28:38 UTC 2003 Brendan Conoboy <[email protected]> |
1944 | ||
62599e99 | 1945 | * MAINTAINERS (write after approval): Added self. |
56296155 | 1946 | |
9710e734 AC |
1947 | 2003-08-07 Andrew Cagney <[email protected]> |
1948 | ||
1949 | * inferior.h (AT_SYMBOL): Define. | |
1950 | * blockframe.c (inside_entry_file): Check for AT_SYMBOL. | |
1951 | * infcall.c (call_function_by_hand): Add code to handle AT_SYMBOL. | |
1952 | * mips-tdep.c (mips_call_dummy_address): Delete function. | |
1953 | (mips_gdbarch_init): Set call_dummy_location to AT_SYMBOL, do not | |
1954 | set call_dummy_address. | |
1955 | ||
98b3ab73 AC |
1956 | 2003-08-07 Andrew Cagney <[email protected]> |
1957 | ||
1958 | * language.c (op_error): Delete function. | |
1959 | (binop_type_check): Delete function. | |
1960 | * language.h (type_op_error, range_op_error): Delete macros. | |
1961 | (op_error): Delete declaration. | |
1962 | ||
2fcf52f0 AC |
1963 | 2003-08-07 Andrew Cagney <[email protected]> |
1964 | ||
1965 | * interps.h (INTERP_MI2, INTERP_MI3): Define. | |
1966 | ||
abd4220e | 1967 | 2003-08-07 Michal Ludvig <[email protected]> |
fd83bada | 1968 | |
abd4220e | 1969 | * x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers. |
fd83bada | 1970 | (x86_64_push_arguments): Skip the red zone. |
abd4220e | 1971 | |
9dd5f34f AC |
1972 | 2003-08-05 Andrew Cagney <[email protected]> |
1973 | ||
1974 | * reggroups.c (reggroup_next): Check for the final entry. | |
1975 | ||
e5e78edc AC |
1976 | 2003-08-04 Andrew Cagney <[email protected]> |
1977 | ||
ab4e3d93 AC |
1978 | * monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT. |
1979 | * cli/cli-script.c (define_command): Call query directly, instead | |
1980 | of passing it a buffer. | |
1981 | * ocd.c (ocd_error): Pass error a constant format string. | |
1982 | * remote-mips.c (mips_error): Use fputs_filtered. | |
1983 | ||
1062ca82 AC |
1984 | * solib-svr4.c (_initialize_svr4_solib): Update |
1985 | register_gdbarch_data call. | |
1986 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto. | |
1987 | ||
fcc1c85c AC |
1988 | * gdbarch.sh (gdbarch_data_free_ftype): Delete declaration. |
1989 | (register_gdbarch_data): Delete "free" parameter. Update | |
1990 | comments. | |
1991 | * gdbarch.h, gdbarch.c: Re-generate. | |
1992 | * reggroups.c (_initialize_reggroup): Update. | |
1993 | * gnu-v3-abi.c (init_gnuv3_ops): Update. | |
1994 | * frame-base.c (_initialize_frame_base): Update. | |
1995 | * frame-unwind.c (_initialize_frame_unwind): Update. | |
1996 | * user-regs.c (_initialize_user_regs): Update. | |
1997 | * remote.c (_initialize_remote): Update. | |
1998 | * regcache.c (_initialize_regcache): Update. | |
1999 | ||
116f06ea AC |
2000 | * regcache.c (xfree_regcache_descr): Delete function. |
2001 | (_initialize_regcache): Update call to register_gdbarch_data. | |
2002 | (init_regcache_descr, init_legacy_regcache_descr): Use | |
2003 | GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC. | |
2004 | ||
e5e78edc AC |
2005 | * remote.c (free_remote_state): Delete function. |
2006 | (_initialize_remote): Update register_gdbarch_data. | |
2007 | (init_remote_state): Use GDBARCH_OBSTACK_XALLOC and | |
2008 | GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc. | |
2009 | ||
6c7d17ba AC |
2010 | 2003-08-04 Andrew Cagney <[email protected]> |
2011 | ||
2012 | * reggroups.c (struct reggroup_el): Define. | |
2013 | (struct reggroups): Delete field "nr_group". Replace array | |
2014 | "group" with a "first" to "last" linked list. | |
2015 | (reggroups_init): Update. Allocate using gdbarch's obstack. | |
2016 | (reggroups_free): Delete function. | |
2017 | (add_group): Update. Add "el" parameter. | |
2018 | (reggroup_add): Pass gdbarch obstack allocated space to add_group. | |
2019 | (default_groups): Update. | |
2020 | (reggroup_next): Replace reggroups. | |
2021 | (reggroups_dump): Update. | |
2022 | (_initialize_reggroup): Pass XMALLOC allocated space to add_group. | |
2023 | * regcache.c (regcache_dump): Use reggroup_next instead of reggroups. | |
2024 | * infcmd.c (registers_info): Use reggroup_next instead of reggroups. | |
2025 | ||
89b7795b DJ |
2026 | 2003-08-04 Daniel Jacobowitz <[email protected]> |
2027 | ||
2028 | * Makefile.in (tui-interp.o): Update dependencies. | |
2029 | ||
306d9ac5 DC |
2030 | 2003-08-04 David Carlton <[email protected]> |
2031 | ||
2032 | * charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args | |
2033 | to internal_error call. | |
2034 | * source.c (forward_search_command): Add "%s" format argument. | |
2035 | (reverse_search_command): Ditto. | |
2036 | * top.c (quit_confirm): Ditto. | |
2037 | * cli/cli-setshow.c (do_setshow_command): Ditto. | |
2038 | * cp-valprint.c (cp_print_class_method): Replace | |
2039 | {f,}printf_{un,}filtered by {f,}puts_{un,}filtered. | |
2040 | (cp_print_class_member): Ditto. | |
2041 | * event-top.c (command_line_handler): Ditto. | |
2042 | * linux-proc.c (linux_info_proc_cmd): Ditto. | |
2043 | * p-typeprint.c (pascal_type_print_base): Ditto. | |
2044 | * p-valprint.c (pascal_object_print_class_method): Ditto. | |
2045 | (pascal_object_print_class_member): Ditto. | |
2046 | * printcmd.c (print_scalar_formatted,printf_command): Ditto. | |
2047 | * remote.c (remote_cisco_section_offsets): Ditto. | |
2048 | * top.c (command_line_input): Ditto. | |
2049 | * utils.c (vwarning,error_stream,quit): Ditto. | |
2050 | * valprint.c (print_floating,print_binary_chars) | |
2051 | (print_octal_chars,print_decimal_chars,print_hex_chars): Ditto. | |
2052 | ||
57bfe177 AC |
2053 | 2003-08-04 Andrew Cagney <[email protected]> |
2054 | ||
2055 | * frame.c (frame_func_unwind): Use frame_unwind_address_in_block. | |
2056 | ||
e546b999 AC |
2057 | 2003-08-02 Andrew Cagney <[email protected]> |
2058 | ||
2059 | * config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc, | |
2060 | gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and | |
2061 | amd64fbsd-nat.c. | |
2062 | ||
91092ee5 AC |
2063 | 2003-08-02 Andrew Cagney <[email protected]> |
2064 | ||
2065 | * Makefile.in: Update all dependencies and definitions. | |
2066 | ||
889f28e2 AF |
2067 | 2003-08-02 Adam Fedor <[email protected]> |
2068 | ||
2069 | * linespec.c (is_objc_method_format): New function | |
2070 | (decode_line_1, locate_first_half): Use it. | |
2071 | Fixes PR objc/1298 | |
2072 | ||
880bc914 AC |
2073 | 2003-08-01 Andrew Cagney <[email protected]> |
2074 | ||
2075 | * NEWS: Mention that m32r is multi-arch. | |
2076 | From 2003-07-28 Kei Sakamoto <[email protected]>: | |
2077 | * configure.tgt: Recognize m32r-*-*. | |
2078 | * config/m32r/tm-m32r.h: Delete file. | |
2079 | * config/m32r/m32r.mt: New file. | |
2080 | * m32r-rom.c (m32r_upload_command): Use hostent only when | |
2081 | gethostname succeeds, in order to avoid a compilation | |
2082 | warning. | |
2083 | * m32r-tdep.c (m32r_store_return_value): Add a cast to remove a | |
2084 | compiler warning. | |
2085 | ||
19f59343 MS |
2086 | 2003-08-01 Michael Snyder <[email protected]> |
2087 | ||
2088 | * sh-tdep.c (sh_frame_align): New gdbarch method. | |
2089 | (sh_gdbarch_init): Set up frame_align method. | |
2090 | ||
4e7d7511 MS |
2091 | 2003-07-31 Michael Snyder <[email protected]> |
2092 | ||
2093 | * value.h, values.c, infcall.c, infcmd.c: Revert 07-30 change, | |
2094 | which is already covered by the new frames infrastructure. | |
2095 | ||
63022984 AC |
2096 | 2003-07-31 Andrew Cagney <[email protected]> |
2097 | ||
2098 | * user-regs.c (struct user_reg): Add "next" link. | |
2099 | (struct user_regs): Replace "user" with "first" and "last" links. | |
2100 | (append_user_reg): Add pre-allocated "reg" parameter. | |
2101 | (builtin_user_regs): Provide initial value for "last". | |
2102 | (user_reg_add_builtin): XMALLOC memory for append_user_reg. | |
2103 | (user_regs_init): Allocate memory from the gdbarch obstack. | |
2104 | (user_reg_add): GDBARCH_OBSTACK_ZALLOC memory for append_user_reg. | |
2105 | (user_reg_map_name_to_regnum): Rewrite to search the user_reg | |
2106 | linked list. | |
2107 | (usernum_to_user_reg): New function. | |
2108 | (user_reg_map_regnum_to_name): Use usernum_to_user_reg. | |
2109 | (value_of_user_reg): Use usernum_to_user_reg. | |
2110 | (user_regs_free): Delete function. | |
2111 | (_initialize_user_regs): Update register_gdbarch_data call. | |
2112 | ||
7cf6e574 DJ |
2113 | 2003-07-31 Daniel Jacobowitz <[email protected]> |
2114 | ||
2115 | * dwarf2read.c (new_symbol): Use var_decode_location for parameters. | |
2116 | ||
c48a845b MS |
2117 | 2003-07-30 Michael Snyder <[email protected]> |
2118 | ||
4e7d7511 | 2119 | * value.h (value_being_returned): Add a struct_addr argument. |
c48a845b MS |
2120 | * infcall.c (call_function_by_hand): Pass struct_addr to |
2121 | value_being_returned. | |
2122 | * infcmd.c (print_return_value): Pass zero as struct_addr. | |
2123 | * values.c (value_being_returned): If struct_addr is passed, | |
2124 | use it instead of trying to recover it from the inferior. | |
2125 | ||
f0d8db19 KB |
2126 | 2003-07-30 Kevin Buettner <[email protected]> |
2127 | ||
2128 | * mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that | |
2129 | the prologue analyzer won't need to attempt to extract the pc | |
2130 | value from the woefully incomplete dummy frame. | |
2131 | (mn10300_analyze_prologue): Avoid calls to get_frame_pc() when | |
2132 | possible. Disable code which modifies the frame. | |
2133 | ||
e5c113a1 AC |
2134 | 2003-07-28 Andrew Cagney <[email protected]> |
2135 | ||
2136 | * annotate.c (annotate_breakpoints_headers): Restrict annotation | |
2137 | to level 2. | |
2138 | (annotate_breakpoints_table, annotate_record): Ditto. | |
2139 | (annotate_breakpoints_table_end, annotate_field_begin): Ditto. | |
2140 | (annotate_field_name_end, annotate_field_value): Ditto. | |
2141 | (annotate_field_end, annotate_frame_source_begin): Ditto. | |
2142 | (annotate_frame_source_file, annotate_frame_source_file_end): Ditto. | |
2143 | (annotate_frame_source_line, annotate_frame_source_end): Ditto. | |
2144 | (annotate_frame_begin, annotate_frame_function_name): Ditto. | |
2145 | (annotate_frame_address_end, annotate_frame_address): Ditto. | |
2146 | (annotate_frame_args, annotate_frame_end): Ditto. | |
2147 | (annotate_frame_where, annotate_arg_begin): Ditto. | |
2148 | (annotate_arg_name_end, annotate_arg_value): Ditto. | |
2149 | (annotate_arg_end, annotate_signal_handler_caller): Ditto. | |
2150 | (annotate_function_call, annotate_signal_name): Ditto. | |
2151 | (annotate_signal_string, annotate_signal_name_end): Ditto. | |
2152 | (annotate_signal_string_end, annotate_value_history_begin): Ditto. | |
2153 | (annotate_value_begin, annotate_value_history_value): Ditto. | |
2154 | (annotate_value_history_end, annotate_value_end): Ditto. | |
2155 | (annotate_display_begin, annotate_display_number_end): Ditto. | |
2156 | (annotate_display_format, annotate_display_expression): Ditto. | |
2157 | (annotate_display_expression_end, annotate_display_value): Ditto. | |
2158 | (annotate_display_end, annotate_array_section_begin): Ditto. | |
2159 | (annotate_elt_rep, annotate_elt_rep_end): Ditto. | |
2160 | (annotate_elt, annotate_array_section_end): Ditto. | |
2161 | ||
bb1db049 AC |
2162 | 2003-07-28 Andrew Cagney <[email protected]> |
2163 | ||
2164 | * regcache.c (struct regcache_descr): Update comments on | |
2165 | nr_raw_registers. | |
2166 | (init_legacy_regcache_descr): Don't set nr_raw_registers or | |
2167 | sizeof_raw_register_valid_p. | |
2168 | (init_regcache_descr): Set nr_raw_registers and | |
2169 | sizeof_raw_register_valid_p before calling | |
2170 | init_legacy_regcache_descr. | |
2171 | ||
20e6603c AC |
2172 | 2003-07-28 Andrew Cagney <[email protected]> |
2173 | ||
2174 | * mips-tdep.c (print_gp_register_row): Print the GPR's register | |
2175 | MOD NUM_REGS. | |
2176 | ||
db742940 DJ |
2177 | 2003-07-28 Daniel Jacobowitz <[email protected]> |
2178 | ||
2179 | * thread.c (info_threads_command): Use get_selected_frame (). | |
2180 | Check that there is at least one non-sentinel frame. | |
2181 | ||
ce7f4371 SC |
2182 | 2003-07-27 Stephane Carrez <[email protected]> |
2183 | ||
2184 | * m68hc11-tdep.c (struct frame_extra_info): Remove. | |
2185 | (m68hc11_pop_frame): Remove. | |
2186 | (m68hc11_frame_saved_pc): Remove. | |
2187 | (m68hc11_frame_chain): Remove. | |
2188 | (m68hc11_frame_init_saved_regs): Remove. | |
2189 | (m68hc11_init_extra_frame_info): Remove. | |
2190 | (m68hc11_store_struct_return): Remove. | |
2191 | (m68hc11_saved_pc_after_call): Remove. | |
2192 | ||
1ea653ae SC |
2193 | 2003-07-27 Stephane Carrez <[email protected]> |
2194 | ||
2195 | * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to hold | |
2196 | frame unwind information. | |
2197 | (m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue | |
2198 | and adapted for frame unwinding. | |
2199 | (m68hc11_skip_prologue): Update to scan prologue in temporary object. | |
2200 | (m68hc11_unwind_pc): New function. | |
2201 | (m68hc11_frame_unwind_cache): New function to analyze frames. | |
2202 | (m68hc11_frame_this_id): New function to create new frame struct. | |
2203 | (m68hc11_frame_prev_register): New function to unwind a register from | |
2204 | the frame. | |
2205 | (m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder. | |
2206 | (m68hc11_frame_p): New function for the above. | |
2207 | (m68hc11_frame_base_address): New function to return fp of frame. | |
2208 | (m68hc11_frame_args_address): Update for frame. | |
2209 | (m68hc11_frame_base): Default 68hc11/68hc12 frame. | |
2210 | (m68hc11_unwind_sp): New function. | |
2211 | (m68hc11_unwind_dummy_id): New function. | |
2212 | (m68hc11_gdbarch_init): Install the above frames; remove deprecated | |
2213 | calls. | |
2214 | ||
c8a7f6ac SC |
2215 | 2003-07-27 Stephane Carrez <[email protected]> |
2216 | ||
2217 | * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc. | |
2218 | (m68hc11_guess_from_prologue): Advance the pc and frame size only | |
2219 | when we are beyond the current pc. | |
2220 | ||
3dc990bf SC |
2221 | 2003-07-27 Stephane Carrez <[email protected]> |
2222 | ||
2223 | * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adapted | |
2224 | from m68hc11_push_arguments. | |
2225 | (m68hc11_push_arguments): Remove. | |
2226 | (m68hc11_push_return_address): Remove. | |
2227 | (m68hc11_gdbarch_init): Install the above; remove above deprecated | |
2228 | handlers; remove deprecated_extra_stack_alignment_needed. | |
2229 | ||
222e5d1d AC |
2230 | 2003-07-27 Andrew Cagney <[email protected]> |
2231 | ||
2232 | * config/pa/tm-hppa.h (init_frame_pc_default): Declare. | |
2233 | * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update | |
2234 | REAL_PC and not the pointer. | |
2235 | * hppa-hpux-tdep.c: Include frame.h | |
2236 | ||
a7e9a47e AC |
2237 | 2003-07-27 Andrew Cagney <[email protected]> |
2238 | ||
2239 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to | |
2240 | GDB_MULTI_ACH_PARTIAL. | |
2241 | ||
7e3dd49e AC |
2242 | 2003-07-27 Andrew Cagney <[email protected]> |
2243 | ||
2244 | Patch from 2003-07-22 Kei Sakamoto <[email protected]>: | |
2245 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style - | |
2246 | operator at start and not end of line. | |
2247 | (decode_prologue): Ditto. | |
2248 | (m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use | |
2249 | frame_unwind_register_unsigned instead of | |
2250 | frame_unwind_unsigned_register. | |
2251 | (m32r_read_pc): Use regcache_cooked_read_unsigned instead of | |
2252 | read_register. | |
2253 | (m32r_push_dummy_call): Use register_size instead of | |
2254 | REGISTER_RAW_SIZE. | |
2255 | (m32r_frame_sniffer): Replace m32r_frame_p. | |
2256 | (m32r_gdbarch_init): Call frame_unwind_append_sniffer. | |
2257 | * m32r-rom.c (report_transfer_performance): Delete extern | |
2258 | declaration. | |
2259 | (m32r_load, m32r_upload_command): Use print_transfer_performance | |
2260 | instead of report_transfer_performance. | |
2261 | (_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd | |
2262 | / add_show_from_set. | |
2263 | ||
0880807f AC |
2264 | 2003-07-26 Andrew Cagney <[email protected]> |
2265 | ||
2266 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated | |
2267 | store_return_value and extract_struct_value_address. | |
2268 | ||
64ae9269 DJ |
2269 | 2003-07-26 Daniel Jacobowitz <[email protected]> |
2270 | ||
2271 | PR c++/1267 | |
2272 | * minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is | |
2273 | NULL, default to the section containing PC. | |
2274 | ||
e286caf2 SC |
2275 | 2003-07-24 Stephane Carrez <[email protected]> |
2276 | ||
2277 | * NEWS: Mention "regs" deprecated for m68hc11 too. | |
2278 | ||
2279 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command. | |
2280 | (m68hc11_print_register): New function to print out one register. | |
2281 | (m68hc11_print_registers_info): New function to print registers. | |
2282 | (show_regs): Deprecate and use the above. | |
2283 | (m68hc11_gdbarch_init): Install the print_registers_info. | |
2284 | ||
705b278b JJ |
2285 | 2003-07-24 Jeff Johnston <[email protected]> |
2286 | ||
2287 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify | |
2288 | that we have a SIGTRAP before returning non-zero. | |
2289 | ||
63cd4198 EZ |
2290 | 2003-07-23 Michal Ludvig <[email protected]> |
2291 | Elena Zannoni <[email protected]> | |
2292 | ||
2293 | * linespec.c (decode_line_2): Avoid crash if | |
2294 | find_function_start_sal() returns empty record. | |
2295 | ||
6926787d AS |
2296 | 2003-07-23 Andreas Schwab <[email protected]> |
2297 | ||
2298 | * ia64-tdep.c (ia64_print_insn): New function. | |
2299 | (ia64_gdbarch_init): Set print_insn to it. | |
2300 | (_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and | |
2301 | deprecated_tm_print_insn_info. | |
2302 | ||
708cc1b6 MS |
2303 | 2003-07-22 Michael Snyder <[email protected]> |
2304 | ||
2305 | * h8300-tdep.c (h8300_extract_return_value): Teach it how to | |
2306 | handle 8-bit returns (long long). | |
2307 | (h8300h_extract_return_value): Ditto. | |
2308 | (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned. | |
2309 | ||
aebd7893 AC |
2310 | 2003-07-22 Andrew Cagney <[email protected]> |
2311 | ||
2312 | * gdbarch.c Include "gdb_obstack.h". | |
2313 | (struct gdbarch): Add an "obstack". | |
2314 | (alloc_gdbarch_data): Allocate the gdbarch data using | |
2315 | GDBARCH_OBSTACK_CALLOC. | |
2316 | (free_gdbarch_data): Delete function. | |
2317 | (gdbarch_obstack_zalloc): New function. | |
2318 | (gdbarch_free): Free the obstack, do not call free_gdbarch_data. | |
2319 | Assert that the architecture is not initialized. | |
2320 | (gdbarch_alloc): Allocate an obstack, allocate the architecture | |
2321 | vector from the obstack. | |
2322 | (alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the | |
2323 | architecture obstack. | |
2324 | (GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define. | |
2325 | (set_gdbarch_data): Assert that the data is not initialized. | |
2326 | (struct gdbarch_data): Delete member "free". | |
2327 | (register_gdbarch_data): Do not initialize "free". | |
2328 | * gdbarch.h, gdbarch.c: Re-generate. | |
2329 | ||
153721e6 AC |
2330 | 2003-07-22 Andrew Cagney <[email protected]> |
2331 | ||
2332 | * configure.in (build_warnings): Add -Wformat-nonliteral. | |
2333 | * configure: Re-generate. | |
2334 | ||
c193f044 | 2335 | 2003-07-22 Elena Zannoni <[email protected]> |
32ffcbed EZ |
2336 | |
2337 | * dwarf2loc.c (locexpr_describe_location): Fix typos. | |
c193f044 | 2338 | |
c3228f12 EZ |
2339 | 2003-07-22 Elena Zannoni <[email protected]> |
2340 | ||
2341 | * findvar.c (read_var_value): Remove case for thread local storage | |
2342 | variables. It is now entirely handled by the dwarf2 location | |
2343 | expression code. | |
2344 | * printcmd.c (address_info): Ditto. | |
2345 | * symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC | |
2346 | enumeration value. | |
2347 | (struct symbol): Remove objfile field, which was used by | |
2348 | LOC_THREAD_LOCAL_STATIC only. | |
2349 | * dwarf2read.c (decode_locdesc): Remove is_thread_local variable. | |
2350 | * dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about | |
2351 | usage of objfile pointer. | |
2352 | * dwarf2loc.c (locexpr_describe_location): Add case to handle | |
2353 | thread local variables. | |
2354 | Add include of objfiles.h. | |
2355 | * dwarf2expr.c (execute_stack_op): Add comments about thread local | |
2356 | storage variables. | |
2357 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
2358 | ||
aef9bcd2 AC |
2359 | 2003-07-22 Andrew Cagney <[email protected]> |
2360 | ||
2361 | * config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use | |
2362 | get_frame_base. | |
2363 | (FRAME_BASE_BEFORE_SIGTRAMP): Ditto. | |
2364 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto. | |
2365 | (struct value): Add opaque declaration. | |
2366 | (DEPRECATED_FRAME_ARGS_ADDRESS): Delete. | |
2367 | ||
d95a8903 AC |
2368 | 2003-07-21 Andrew Cagney <[email protected]> |
2369 | ||
2370 | From 2003-07-04 Kei Sakamoto <[email protected]>: | |
2371 | * m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite. | |
2372 | ||
4db73d49 SC |
2373 | 2003-07-20 Stephane Carrez <[email protected]> |
2374 | ||
2375 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use | |
2376 | regcache_cooked_read_unsigned instead of read_register. | |
2377 | (m68hc11_saved_pc_after_call): Likewise. | |
2378 | (m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned | |
2379 | instead of write_register. | |
2380 | (m68hc11_register_type): New function. | |
2381 | (m68hc11_register_virtual_type): Remove. | |
2382 | (m68hc11_store_return_value): Convert to use the regcache. | |
2383 | (m68hc11_extract_struct_value_address): Likewise. | |
2384 | (m68hc11_gdbarch_init): Remove deprecated ops for register to use | |
2385 | m68hc11_register_type; undeprecate store_return_value and | |
2386 | extract_struct_value_address. | |
2387 | ||
ef2b8fcd SC |
2388 | 2003-07-20 Stephane Carrez <[email protected]> |
2389 | ||
2390 | * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_read | |
2391 | and translate to use regcache. | |
2392 | (m68hc11_gdbarch_init): Undeprecate extract_return_value. | |
2393 | ||
625b0b97 AC |
2394 | 2003-07-18 Andrew Cagney <[email protected]> |
2395 | ||
2396 | * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method. | |
2397 | * gdbarch.h, gdbarch.c: Re-generate. | |
2398 | * i386-tdep.c (i386_gdbarch_init): Do not set | |
2399 | DWARF2_BUILD_FRAME_INFO. | |
2400 | * elfread.c (elf_symfile_read): Call dwarf2_build_frame_info | |
2401 | unconditionally. | |
2402 | * alpha-tdep.c (alpha_dwarf2_init_abi): Do not set | |
2403 | DWARF2_BUILD_FRAME_INFO. | |
2404 | ||
22b0d388 AC |
2405 | 2003-07-18 Andrew Cagney <[email protected]> |
2406 | ||
2407 | From 2003-07-04 Kei Sakamoto <[email protected]>: | |
2408 | * disasm.c (gdb_disassemble_info): Initilize di.arch. | |
2409 | ||
1ce5d6dd AC |
2410 | 2003-07-18 Andrew Cagney <[email protected]> |
2411 | ||
2412 | * dwarf2-frame.c (dwarf2_frame_sniffer): Use | |
2413 | frame_unwind_address_in_block, instead of frame_pc_unwind. | |
2414 | (dwarf2_frame_cache): Ditto. | |
2415 | ||
e6e5e94c AC |
2416 | 2003-07-18 Andrew Cagney <[email protected]> |
2417 | ||
2418 | * user-regs.h (struct gdbarch): Declare opaque. | |
2419 | * ui-out.h (struct ui_file): Declare opaque. | |
2420 | * dwarf2-frame.h (struct frame_info): Declare opaque. | |
2421 | ||
5483d879 KW |
2422 | 2003-07-18 Kris Warkentin <[email protected]> |
2423 | ||
2424 | * nto-procfs.c: Clean ARI hits. Change #include <..> to | |
2425 | #include "...". | |
2426 | (procfs_meminfo): Change strerror to safe_strerror. | |
2427 | (procfs_can_run): Remove K&R badness. | |
2428 | ||
278a7cf7 MS |
2429 | 2003-07-17 Michael Snyder <[email protected]> |
2430 | ||
2431 | * remote-sim.c: Comment typo fix. | |
2432 | ||
606e3b82 AC |
2433 | 2003-07-17 Andrew Cagney <[email protected]> |
2434 | ||
2435 | * defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by | |
2436 | configure. | |
2437 | * sparc-tdep.c (sparc_intreg_size): Make non-static. | |
2438 | * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to | |
2439 | GDB_MULTI_ARCH_PARTIAL. | |
2440 | ||
c43af07c EZ |
2441 | 2003-07-17 Elena Zannoni <[email protected]> |
2442 | ||
2443 | * Makefile.in (x86-64-linux-nat.o): Update dependencies. | |
2444 | * x86-64-linux-nat.c (ps_get_thread_area): New function. Add | |
2445 | include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h. | |
2446 | ||
3b85b0f1 TR |
2447 | 2003-07-16 Theodore A. Roth <[email protected]> |
2448 | ||
2449 | * avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue | |
2450 | found. | |
2451 | (avr_frame_unwind_cache): Don't unwind FP for main. | |
2452 | Update a comment. | |
2453 | Save the computed prev_sp. | |
2454 | (avr_saved_regs_unwinder): Remove function. | |
2455 | (avr_frame_prev_register): Use PC unwind logic from | |
2456 | avr_saved_regs_unwinder(), otherwise use trad_frame_prev_register(). | |
2457 | ||
336d1bba AC |
2458 | 2003-07-16 Andrew Cagney <[email protected]> |
2459 | ||
2460 | * frame-base.h (frame_base_p_ftype): Delete definition. | |
2461 | (frame_base_append_predicate): Delete declaration. | |
2462 | * frame-unwind.h (frame_unwind_p_ftype): Delete definition. | |
2463 | (frame_unwind_append_predicate): Delete declaration. | |
2464 | * frame-unwind.c (struct frame_unwind_table): Delete field "p". | |
2465 | (append_predicate): Delete parameter "p". | |
2466 | (frame_unwind_append_predicate): Delete function. | |
2467 | (frame_unwind_append_sniffer): Update call to append_predicate. | |
2468 | (frame_unwind_free): Delete function. | |
2469 | (_initialize_frame_unwind): Pass NULL as "free" to | |
2470 | register_gdbarch_data. | |
2471 | (frame_unwind_init): Append the dummy_frame_sniffer. | |
2472 | (frame_unwind_find_by_frame): Simplify. | |
2473 | * frame-base.c (struct frame_base_table): Delete field "p". | |
2474 | (append_predicate): Delete parameter "p". | |
2475 | (frame_base_append_predicate): Delete function. | |
2476 | (frame_base_append_sniffer): Update call to append_predicate. | |
2477 | (frame_base_free): Delete function. | |
2478 | (frame_base_find_by_frame): Simplify. | |
2479 | (_initialize_frame_base): Pass NULL as "free" to | |
2480 | register_gdbarch_data. | |
2481 | * x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p". | |
2482 | (x86_64_sigtramp_frame_sniffer): Replace | |
2483 | "x86_64_sigtramp_frame_p". | |
2484 | (x86_64_init_abi): Set the frame unwind sniffers. | |
2485 | * m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p". | |
2486 | (m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p" | |
2487 | (m68k_gdbarch_init): Set the frame unwind sniffers. | |
2488 | * i386-tdep.c (i386_sigtramp_frame_sniffer): Replace | |
2489 | "i386_sigtramp_frame_p". | |
2490 | (i386_frame_sniffer): Replace "i386_frame_p". | |
2491 | (i386_gdbarch_init): Set the frame unwind sniffers. | |
2492 | * avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer". | |
2493 | (avr_gdbarch_init): Set the frame unwind sniffers. | |
2494 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace | |
2495 | "alpha_sigtramp_frame_p" | |
2496 | (alpha_heuristic_frame_sniffer): Replace | |
2497 | "alpha_heuristic_frame_p". | |
2498 | (alpha_gdbarch_init): Set the frame unwind sniffers. | |
2499 | (alpha_dwarf2_init_abi): Ditto. | |
2500 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace | |
2501 | "alpha_debug_frame_p". | |
2502 | (alpha_mdebug_frame_base_sniffer): Replace | |
2503 | "alpha_mdebug_frame_base_p". | |
2504 | (alpha_mdebug_init_abi): Set the frame unwind sniffers. | |
2505 | * d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p". | |
2506 | (d10v_gdbarch_init): Set the frame unwind sniffer. | |
2507 | * dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
2508 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
2509 | * dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". | |
2510 | (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". | |
2511 | * dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p". | |
2512 | * dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p". | |
2513 | ||
48db5a3c CV |
2514 | 2003-07-16 Michael Snyder <[email protected]> |
2515 | ||
2516 | * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dsp | |
2517 | should go thru sh_dsp_register_sim_regno, else the dsp regs | |
2518 | will not get the right values. | |
2519 | ||
2520 | 2003-07-16 Corinna Vinschen <[email protected]> | |
2521 | ||
2522 | * sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to | |
2523 | deprecated_store_floating by call to store_typed_floating. | |
2524 | (sh_sh4_register_convert_to_raw): Substitute call to | |
2525 | deprecated_extract_floating by call to extract_typed_floating. | |
2526 | ||
2527 | 2003-07-16 Corinna Vinschen <[email protected]> | |
2528 | ||
2529 | * sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e. | |
2530 | ||
2531 | 2003-07-16 Corinna Vinschen <[email protected]> | |
2532 | ||
2533 | * sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to | |
2534 | register_size and calls to REGISTER_VIRTUAL_TYPE by calls to | |
2535 | gdbarch_register_type in 32 bit code throughout. Avoid current_gdbarch | |
2536 | as possible. | |
2537 | (do_pseudo_register): Remove. | |
2538 | (sh_push_dummy_code): New function. | |
2539 | (sh64_store_struct_return): Rename from sh_store_struct_return. | |
2540 | Only called for sh64 now. | |
2541 | (sh_extract_struct_value_address): Regcache'ify. | |
2542 | (sh_push_dummy_call): Rename from sh_push_arguments. Regcache'ify | |
2543 | and accomodate new tasks. | |
2544 | (sh64_push_return_address): Rename from sh_push_return_address. | |
2545 | Only called for sh64 now. | |
2546 | (sh_default_extract_return_value): Rename from sh_extract_return_value. | |
2547 | Regcache'ify. | |
2548 | (sh3e_sh4_extract_return_value): Regcache'ify. | |
2549 | (sh_default_store_return_value): Ditto. | |
2550 | (sh3e_sh4_store_return_value): Ditto. | |
2551 | (sh_default_register_byte): Remove. | |
2552 | (sh_sh4_register_byte): Remove. | |
2553 | (sh_default_register_raw_size): Remove. | |
2554 | (sh_sh4_register_raw_size): Remove. | |
2555 | (sh_register_virtual_size): Remove. | |
2556 | (sh_sh3e_register_virtual_type): Remove. | |
2557 | (sh_sh3e_register_type): New function. | |
2558 | (sh_sh4_register_virtual_type): Remove. | |
2559 | (sh_sh4_register_type): New function. | |
2560 | (sh_default_register_virtual_type): Remove. | |
2561 | (sh_default_register_type): New function. | |
2562 | (do_fv_register_info): Add parameters to accomodate call from | |
2563 | sh_print_registers_info. | |
2564 | (do_dr_register_info): Ditto. | |
2565 | (sh_print_pseudo_register): Rename from sh_do_pseudo_register. | |
2566 | Add parameters to accomodate call from sh_print_registers_info. | |
2567 | (sh_do_fp_register): Ditto. | |
2568 | (sh64_do_pseudo_register): Call do_dr_register_info, | |
2569 | do_fv_register_info and sh_do_fp_register with default parameters. | |
2570 | (sh_do_register): Add parameters to accomodate call from | |
2571 | sh_print_registers_info. | |
2572 | (sh_print_register): Ditto. | |
2573 | (sh_print_registers_info): Rename from sh_do_registers_info. | |
2574 | Add parameters to be used as gdbarch_print_registers_info | |
2575 | implementation. Accomodate removed do_pseudo_register function | |
2576 | pointer. | |
2577 | (sh_compact_do_registers_info): Accomodate removed do_pseudo_register | |
2578 | function pointer. Call sh_print_register with default parameters. | |
2579 | (sh64_do_registers_info): Call sh_print_registers_info instead of | |
2580 | sh_do_registers_info. | |
2581 | (sh_gdbarch_init): Rearrange to cleanup and to allow easier | |
2582 | detection of deprecated vs. non-deprecated functionality. | |
2583 | Rename sh_call_dummy_words to sh64_call_dummy_words. Remove | |
2584 | function pointer assignments by direct function calls. | |
2585 | ||
e8a89fe2 AC |
2586 | 2003-07-15 Andrew Cagney <[email protected]> |
2587 | ||
2588 | * frame.c (get_frame_id): Use frame_unwind_find_by_frame. | |
2589 | (frame_register_unwind, create_new_frame): Ditto. | |
2590 | (legacy_get_prev_frame, get_frame_type): Ditto. | |
2591 | (get_frame_base_address): Use frame_base_find_by_frame. | |
2592 | (get_frame_locals_address): Use frame_base_find_by_frame. | |
2593 | (get_frame_args_address): Use frame_base_find_by_frame. | |
2594 | * frame-base.h (frame_base_sniffer_ftype): Declare. | |
2595 | (frame_base_append_sniffer): Declare. | |
2596 | (frame_base_find_by_frame): Replace frame_base_find_by_pc. | |
2597 | * frame-base.c (append_predicate): Add a "sniffer" parameter. | |
2598 | (frame_base_append_sniffer): New function. | |
2599 | (frame_base_append_predicate): Add a NULL sniffer. | |
2600 | (frame_base_find_by_frame): Replace "frame_base_find_by_pc". | |
2601 | (struct frame_base_table): Add "sniffer". | |
2602 | (frame_base_free): Free the "sniffer" table. | |
2603 | * frame-unwind.h (frame_unwind_sniffer_ftype): Define. | |
2604 | (frame_unwind_append_sniffer): Declare. | |
2605 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
2606 | * frame-unwind.c (frame_unwind_free): Free the "sniffer" table. | |
2607 | (struct frame_unwind_table): Add "sniffer", delete "middle". | |
2608 | (append_predicate): Add "sniffer" parameter, append the sniffer. | |
2609 | (frame_unwind_init): Update append_predicate call. | |
2610 | (frame_unwind_append_sniffer): New function. | |
2611 | (frame_unwind_append_predicate): Update append_predicate call. | |
2612 | (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. | |
2613 | ||
0714963c AC |
2614 | 2003-07-15 Andrew Cagney <[email protected]> |
2615 | ||
2616 | * frame.c (get_prev_frame): Move disabled inside_entry_func to | |
2617 | before code inhibiting repeated unwind attempts. Add to | |
2618 | commentary on that test's problems. | |
2619 | * blockframe.c (inside_main_func): Look for "main" in the minimal | |
2620 | symbol table. | |
2621 | * d10v-tdep.c (d10v_frame_this_id): Delete check that frames are | |
2622 | identical. | |
2623 | ||
d9170e22 AC |
2624 | 2003-07-15 Andrew Cagney <[email protected]> |
2625 | ||
2626 | * complaints.c (struct explanation): Define. | |
2627 | (struct complaints): Change type of "explanation" to "struct | |
2628 | explanation". | |
2629 | (symfile_explanations): Convert to a "struct explanation" table. | |
2630 | (vcomplaint): Update. | |
2631 | ||
eba29c8c ML |
2632 | 2003-07-15 Michal Ludvig <[email protected]> |
2633 | ||
2634 | * x86-64-linux-nat.c (regmap): Removed. | |
2635 | (supply_gregset, fill_gregset): Call | |
2636 | x86_64_linux_(fill,supply)_gregset functions. | |
2637 | * x86-64-linux-tdep.c (USER_*): New defines. | |
2638 | (user_to_gdb_regmap, x86_64_core_fns): New structure. | |
2639 | (x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): | |
2640 | New functions. | |
2641 | (fetch_core_registers): Ditto. | |
2642 | (_initialize_x86_64_linux_tdep): Call add_core_fns(). | |
2643 | * x86-64-linux-tdep.h: New file. | |
2644 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o | |
2645 | and core-regset.o. | |
2646 | * config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o. | |
2647 | ||
68cc0bfb MK |
2648 | 2003-07-13 Mark Kettenis <[email protected]> |
2649 | ||
88a115f7 MK |
2650 | * x86-64-tdep.c (x86_64_store_return_value): Use |
2651 | regcache_cooked_write_part instead of regcache_cooked_write. | |
01e4b823 | 2652 | |
68cc0bfb MK |
2653 | * configure.host: Add x86_64-*-freebsd*. |
2654 | * configure.tgt: Add x86_64-*-freebsd*. | |
2655 | * Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets. | |
2656 | * amd64fbsd-nat.c: New file. | |
2657 | * amd64fbsd-tdep.c: New file. | |
2658 | * config/i386/nm-fbsd64.h: New file. | |
2659 | * config/i386/fbsd64.mh: New file. | |
2660 | * config/i386/fbsd64.mt: New file. | |
2661 | ||
138e7be5 MK |
2662 | 2003-07-11 Mark Kettenis <[email protected]> |
2663 | ||
2664 | * alpha-tdep.h (struct gdbarch_tdep): Add members `sc_pc_offset', | |
2665 | `sc_regs_offset' and `sc_fpregs_offset'. | |
2666 | * alpha-tdep.c (SIGFRAME_PC_OFF, SIGFRAME_REGSAVE_OFF, | |
2667 | SIGFRAME_FPREGSAVE_OFF): Remove defines. | |
2668 | (alpha_sigtramp_register_address): Rewrite to use new members of | |
2669 | `struct gdbarch_tdep'. | |
2670 | (alpha_gdbarch_init): Initialize new members of struct | |
2671 | gdbarch_tdep'. | |
2672 | * alphafbsd-tdep.c (alphafbsd_use_struct_convention): Use | |
2673 | ALPHA_REGISTER_SIZE instead of DEPRECATED_REGISTER_SIZE. | |
2674 | (alphafbsd_sigtramp_start, alphafbsd_sigtramp_end): Nre variables. | |
2675 | (alphafbsd_pc_in_sigtramp): Implement. | |
2676 | (alphafbsd_sigtramp_offset): New function. | |
2677 | (alphafbsd_sigcontext_addr): New function. | |
2678 | (alphafbsd_init_abi): Initialize signal trampoline related members | |
2679 | of `struct gdbarch_tdep'. | |
2680 | (_initialize_alphafbsd_tdep): Add prototype. | |
2681 | ||
95303a68 TR |
2682 | 2003-07-11 Theodore A. Roth <[email protected]> |
2683 | ||
ba292e4c TR |
2684 | * Makefile.in (install-only): Quote sed expression when generating |
2685 | transformed_name. | |
95303a68 | 2686 | |
6896c0c7 RH |
2687 | 2003-07-11 Richard Henderson <[email protected]> |
2688 | ||
2689 | * Makefile.in (dwarf2-frame.o): Add complaints_h. | |
2690 | * dwarf2-frame.c: Include complaints.h. | |
2691 | (decode_frame_entry_1): Rename from decode_frame_entry; tidy | |
2692 | variable initialization; return NULL on error. | |
2693 | (decode_frame_entry): New. | |
2694 | ||
8edd5d01 AC |
2695 | 2003-07-11 Andrew Cagney <[email protected]> |
2696 | ||
c4a09524 AC |
2697 | * frame.h (frame_address_in_block): Delete declaration. |
2698 | * blockframe.c (frame_address_in_block): Delete function. | |
2699 | (get_frame_block): Use get_frame_address_in_block. | |
2700 | (block_innermost_frame): Ditto. | |
2701 | * stack.c (print_frame, backtrace_command_1): Ditto. | |
2702 | ||
8edd5d01 AC |
2703 | * frame.h (get_frame_address_in_block): Declare. |
2704 | (frame_unwind_address_in_block): Declare. | |
2705 | * frame.c (frame_unwind_address_in_block): New function. | |
2706 | (get_frame_address_in_block): New function. | |
2707 | ||
f7968451 AC |
2708 | 2003-07-10 Andrew Cagney <[email protected]> |
2709 | ||
2710 | * gdbarch.sh: Simplify predicate methods. Remove need to provide | |
2711 | pre-default. Note: re-generate has no effect. | |
2712 | ||
ae99b398 AC |
2713 | 2003-07-10 Andrew Cagney <[email protected]> |
2714 | ||
2715 | * gdbarch.sh: When a variable, but not a function, compare against | |
2716 | 0. Fix problem in previous patch. | |
2717 | * gdbarch.c: Re-generate. | |
2718 | ||
956ac328 AC |
2719 | 2003-07-10 Andrew Cagney <[email protected]> |
2720 | ||
2721 | * gdbarch.sh: Use gdb_assert instead of internal_error. Compare | |
2722 | functions against NULL, not 0. | |
2723 | * gdbarch.c: Re-generate. | |
2724 | ||
287c3240 FF |
2725 | 2003-07-10 Fred Fish <[email protected]> |
2726 | ||
2727 | * coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a | |
2728 | null string instead of a null pointer. | |
2729 | * solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto. | |
2730 | ||
32f63c4b MS |
2731 | 2003-07-09 Michael Snyder <[email protected]> |
2732 | ||
2733 | * sh-tdep.c (sh_dsp_register_sim_regno): Off-by-one error. | |
2734 | ||
402ecd56 MK |
2735 | 2003-07-09 Mark Kettenis <[email protected]> |
2736 | ||
2737 | * x86-64-tdep.h (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, | |
2738 | X86_64_RDI_REGNUM, X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, | |
2739 | X86_64_RIP_REGNUM, X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, | |
2740 | X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Moved here ... | |
2741 | * x86-64-tdep.c: ... from here. | |
2742 | ||
c481dac7 AS |
2743 | 2003-07-09 Andreas Schwab <[email protected]> |
2744 | ||
2745 | * m68k-tdep.h (enum struct_return): Define. | |
2746 | (struct gdbarch_tdep): Add struct_return. | |
2747 | * m68k-tdep.c (m68k_push_dummy_call): Non-scalars bigger than 4 | |
2748 | bytes are padded to the right, not to the left. Pass struct value | |
2749 | address in register %a1, not on stack. | |
2750 | (m68k_use_struct_convention): New function. | |
2751 | (m68k_gdbarch_init): Set use_struct_convention. Initialize | |
2752 | struct_return in tdep to pcc_struct_return. | |
2753 | * m68klinux-tdep.c (m68k_linux_init_abi): Set struct_return to | |
2754 | reg_struct_return. | |
2755 | ||
64176fa3 JB |
2756 | 2003-07-09 Joel Brobecker <[email protected]> |
2757 | ||
2758 | * somread.c (som_symfile_offsets): Fix compilation error. | |
2759 | ||
96a4ee76 AC |
2760 | 2003-07-09 Andrew Cagney <[email protected]> |
2761 | ||
2762 | * regcache.c (register_size): Only check REGISTER_RAW_SIZE once. | |
2763 | Add comments about the checks. | |
2764 | ||
1517c6d1 AC |
2765 | 2003-07-08 Andrew Cagney <[email protected]> |
2766 | ||
2767 | * Makefile.in: Make dependency section headers consistent. | |
2768 | (config_h): Move to $BUILD headers section. | |
2769 | (exc_request_U_h, exc_request_S_h, msg_reply_S_h): Ditto. | |
2770 | (msg_U_h, notify_S_h, process_reply_S_h): Ditto. | |
2771 | (ada-exp.tab.c): Move to YACC/LEX section. | |
2772 | (ada-lex.c, c-exp.tab.c, f-exp.tab.c): Ditto. | |
2773 | (jv-exp.tab.c, m2-exp.tab.c, objc-exp.tab.c, p-exp.tab.c): Ditto. | |
2774 | ||
dc5dd1eb KW |
2775 | 2003-07-08 Kris Warkentin <[email protected]> |
2776 | ||
2777 | * nto-procfs.c: Cleaned up a bunch of ARI hits. | |
fda848e0 KW |
2778 | Include "gdb_dirent.h" instead of <dirent.h>, replace all instances |
2779 | of strerror with safe_strerror, use ISO C function definitions, | |
2780 | and replace instances of sprintf with snprintf. | |
dc5dd1eb | 2781 | |
612dde91 AC |
2782 | 2003-07-07 Andrew Cagney <[email protected]> |
2783 | ||
2784 | * frame.c (get_prev_frame): Enable check for identical frames. | |
2785 | Update comments. Update error messages. | |
2786 | ||
492c11d3 JB |
2787 | 2003-07-07 Joel Brobecker <[email protected]> |
2788 | ||
2789 | * hpread.c (hpread_psymtab_to_symtab_1): Fix compilation failure. | |
2790 | ||
376a5a49 JB |
2791 | 2003-07-07 Joel Brobecker <[email protected]> |
2792 | ||
2793 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Remove call to | |
2794 | sort_symtab_syms, no longer necessary. | |
2795 | ||
22b4a9ad JB |
2796 | 2003-07-07 Joel Brobecker <[email protected]> |
2797 | ||
2798 | * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment. | |
2799 | ||
5bbcb741 JB |
2800 | 2003-07-07 Joel Brobecker <[email protected]> |
2801 | ||
2802 | * mips-tdep.c (mips_register_raw_size): Fix compilation failure. | |
2803 | (mips_register_byte): Likewise. | |
2804 | ||
c139e7d9 DJ |
2805 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
2806 | ||
2807 | * Makefile.in (sparc_tdep_h): New. | |
2808 | (sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o) | |
2809 | (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h). | |
2810 | * sparc-linux-nat.c: Include "sparc-tdep.h". | |
2811 | * sparc-nat.c: Likewise. | |
2812 | * sparc-tdep.c: Likewise. | |
2813 | * sparc64nbsd-nat.c: Likewise. | |
2814 | * sparcnbsd-nat.c: Likewise. | |
2815 | * sparcnbsd-tdep.c: Likewise. | |
2816 | * sparc-tdep.h: New file. | |
2817 | * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum | |
2818 | and sparc_npc_regnum. | |
2819 | ||
fd8f87c5 DJ |
2820 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
2821 | ||
2822 | * mips-linux-nat.c (mips_linux_cannot_fetch_register) | |
2823 | (mips_linux_cannot_store_register): List supported instead of | |
2824 | unsupported registers. | |
2825 | ||
13adf674 DJ |
2826 | 2003-07-07 Daniel Jacobowitz <[email protected]> |
2827 | ||
2828 | * disasm.c (dump_insns): Separate instructions from addresses. | |
2829 | ||
8de307e0 AS |
2830 | 2003-07-07 Andreas Schwab <[email protected]> |
2831 | ||
2832 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
2833 | dependencies. | |
2834 | * m68k-tdep.c (NUM_FREGS): Delete. | |
2835 | (SIG_PC_FP_OFFSET): Delete. | |
2836 | (TARGET_M68K): Delete. | |
2837 | (P_MOVEAL_SP_FP, P_ADDAW_SP, P_ADDAL_SP, P_SUBQW_SP, | |
2838 | P_SUBQL_SP, P_LEA_SP_SP, P_LEA_PC_A5, P_FMOVEMX_SP, | |
2839 | P_MOVEL_SP, P_MOVEML_SP): Define. | |
2840 | (P_MOVL_SP_FP, P_MOVL, P_JSR, P_BSR, P_LEAL, P_MOVML, P_FMOVM, | |
2841 | P_TRAP): Delete. | |
2842 | (m68k_register_raw_size): Delete. | |
2843 | (m68k_register_virtual_size): Delete. | |
2844 | (m68k_register_type): Renamed from m68k_register_virtual_type and | |
2845 | add gdbarch argument. | |
2846 | (m68k_store_struct_return): Delete. | |
2847 | (m68k_deprecated_extract_return_value): Delete. | |
2848 | (m68k_deprecated_extract_struct_value_address): Delete. | |
2849 | (m68k_frame_chain): Delete. | |
2850 | (m68k_frame_saved_pc): Delete. | |
2851 | (m68k_fix_call_dummy): Delete. | |
2852 | (m68k_push_dummy_frame): Delete. | |
2853 | (m68k_pop_frame): Delete. | |
2854 | (m68k_extract_return_value): New function. | |
2855 | (m68k_store_return_value): Rewrite using regcache. | |
2856 | (m68k_extract_struct_value_address): Rewrite using regcache. | |
2857 | (m68k_push_dummy_call): New function. | |
2858 | (struct m68k_frame_cache): Define. | |
2859 | (m68k_alloc_frame_cache): New function. | |
2860 | (m68k_analyze_frame_setup): New function. | |
2861 | (m68k_analyze_register_saves): New function. | |
2862 | (m68k_analyze_prologue): New function. | |
2863 | (m68k_skip_prologue): Rewrite using above functions. | |
2864 | (m68k_unwind_pc): New function. | |
2865 | (m68k_frame_cache): New function. | |
2866 | (m68k_frame_this_id): New function. | |
2867 | (m68k_frame_prev_register): New function. | |
2868 | (m68k_frame_unwind): New variable. | |
2869 | (m68k_frame_p): New function. | |
2870 | (m68k_sigtramp_frame_cache): New function. | |
2871 | (m68k_sigtramp_frame_this_id): New function. | |
2872 | (m68k_sigtramp_frame_prev_register): New function. | |
2873 | (m68k_sigtramp_frame_unwind): New variable. | |
2874 | (m68k_sigtramp_frame_p): New function. | |
2875 | (m68k_frame_base_address): New function. | |
2876 | (m68k_frame_base): New function. | |
2877 | (m68k_unwind_dummy_id): New function. | |
2878 | (fill_gregset): Use regcache_collect. | |
2879 | (fill_fpregset): Likewise. | |
2880 | (m68k_saved_pc_after_call): Only define if SYSCALL_TRAP is | |
2881 | defined. | |
2882 | (m68k_gdbarch_init): Don't define call_dummy_words. Don't set | |
2883 | deprecated_init_frame_pc, deprecated_store_struct_return, | |
2884 | deprecated_extract_return_value, deprecated_store_return_value, | |
2885 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
2886 | deprecated_frame_init_saved_regs, deprecated_register_raw_size, | |
2887 | deprecated_register_virtual_size, | |
2888 | deprecated_max_register_raw_size, | |
2889 | deprecated_max_register_virtual_size, | |
2890 | deprecated_register_virtual_type, deprecated_register_size, | |
2891 | deprecated_register_byte, deprecated_register_bytes, | |
2892 | deprecated_fp_regnum, deprecated_use_generic_dummy_frames, | |
2893 | call_dummy_location, deprecated_call_dummy_breakpoint_offset, | |
2894 | deprecated_pc_in_call_dummy, deprecated_call_dummy_length, | |
2895 | deprecated_call_dummy_start_offset, deprecated_call_dummy_words, | |
2896 | deprecated_sizeof_call_dummy_words, deprecated_fix_call_dummy, | |
2897 | deprecated_push_dummy_frame, deprecated_pop_frame, | |
2898 | deprecated_dummy_write_sp. Set deprecated_saved_pc_after_call | |
2899 | only if SYSCALL_TRAP is defined. Set extract_return_value, | |
2900 | store_return_value, extract_struct_value_address, register_type, | |
2901 | push_dummy_call, unwind_dummy_id, unwind_pc. Add two frame unwind | |
2902 | predicates. | |
2903 | * m68k-tdep.h (M68K_D1_REGNUM, M68K_NUM_REGS, | |
2904 | M68K_MAX_REGISTER_SIZE): Define. | |
2905 | (struct m68k_sigtramp_info): Define. | |
2906 | (struct gdbarch_tdep): Add get_sigtramp_info. | |
2907 | * m68klinux-nat.c (fetch_register): Use register_size instead of | |
2908 | REGISTER_RAW_SIZE. Don't put assignment in if. | |
2909 | (store_register): Likewise. | |
2910 | (fetch_inferior_registers): Likewise. | |
2911 | (store_inferior_registers): Likewise. | |
2912 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Delete. | |
2913 | (m68k_linux_frame_saved_pc): Delete. | |
2914 | (m68k_linux_sigcontext_reg_offset, | |
2915 | m68k_linux_ucontext_reg_offset): Define. | |
2916 | (m68k_linux_get_sigtramp_info): New function. | |
2917 | (m68k_linux_extract_return_value): Rewrite using regcache. | |
2918 | (m68k_linux_store_return_value): Likewise. | |
2919 | (m68k_linux_extract_struct_value_address): Likewise. | |
2920 | (m68k_linux_init_abi): Set get_sigtramp_info in tdep structure. | |
2921 | Don't set deprecated_frame_saved_pc, | |
2922 | deprecated_extract_return_value, deprecated_store_return_value, | |
2923 | deprecated_extract_struct_value_address. Set | |
2924 | extract_return_value, store_return_value, | |
2925 | extract_struct_value_address. | |
2926 | ||
eb8bc282 AC |
2927 | 2003-07-07 Andrew Cagney <[email protected]> |
2928 | ||
2929 | * expprint.c: Include "user-regs.h" instead of "frame.h". | |
2930 | (print_subexp): Use user_reg_map_regnum_to_name, instead of | |
2931 | frame_map_regnum_to_name. | |
2932 | * frame.c: Include "user-regs.h" instead of "builtin-regs.h". | |
2933 | (frame_map_name_to_regnum): Simplify, call | |
2934 | user_reg_map_name_to_regnum. | |
2935 | (frame_map_regnum_to_name): Simplify, call | |
2936 | user_reg_map_regnum_to_name. | |
2937 | (frame_register_unwind): Update. | |
2938 | * std-regs.c: Include "user-regs.h" instead of "builtin-regs.h". | |
2939 | (_initialize_frame_reg): Call user_reg_add_builtin. | |
2940 | * findvar.c: Include "user-regs.h" instead of "builtin-regs.h". | |
2941 | (value_of_register): Use value_of_user_reg. | |
2942 | * eval.c (evaluate_subexp_standard): Update. | |
2943 | * parse.c (write_dollar_variable): Update. | |
2944 | * d10v-tdep.c (d10v_print_registers_info): Update. | |
2945 | * infcmd.c (registers_info): Update. | |
2946 | * Makefile.in (SFILES): Delete "builtin-regs.c", add "user-regs.c". | |
2947 | (builtin_regs_h): Delete macro. | |
2948 | (user_regs_h): Define. | |
2949 | (COMMON_OBS): Delete "builtin-regs.o", add "user-regs.o". | |
2950 | (builtin-regs.o): Delete target. | |
2951 | (user-regs.o): Specify dependencies. | |
2952 | (expprint.o): Update dependencies. | |
2953 | (findvar.o): Update dependencies. | |
2954 | (frame.o): Update dependencies. | |
2955 | (std-regs.o): Update dependencies. | |
2956 | ||
9f476a01 CF |
2957 | 2003-07-06 Christopher Faylor <[email protected]> |
2958 | ||
2959 | * win32-nat.c (solib_symbols_add): Use one variable for all section | |
2960 | address stuff. Pass variable rather than address of variable to | |
2961 | safe_symbol_file_add. | |
2962 | ||
a731b831 AS |
2963 | 2003-07-06 Andreas Schwab <[email protected]> |
2964 | ||
2965 | * m68klinux-nat.c (fill_fpregset): Fix use of loop index. | |
2966 | ||
9f83329d JB |
2967 | 2003-07-04 Joel Brobecker <[email protected]> |
2968 | ||
2969 | * rs6000-nat.c (vmap_symtab): Fix compilation error. | |
2970 | ||
27e28cc5 KW |
2971 | 2003-07-04 Kris Warkentin <[email protected]> |
2972 | ||
2973 | * config/i386/nto.mh: Set XM_FILE to xm-i386.h | |
2974 | ||
2975 | 2003-07-04 Kris Warkentin <[email protected]> | |
2976 | ||
2977 | * nto-procfs.c: New file. Native procfs support for QNX Neutrino. | |
2978 | * config/i386/nto.mh: New file. | |
2979 | * config/i386/nm-nto.h: New file. | |
2980 | * configure.host: Add i[3456]86-*-nto*. | |
2981 | ||
100f2e98 JB |
2982 | 2003-07-03 Joel Brobecker <[email protected]> |
2983 | ||
2984 | * remote-vx.c (vx_add_symbols): Fix compilation error. | |
2985 | ||
e23457df AC |
2986 | 2003-07-03 Andrew Cagney <[email protected]> |
2987 | ||
2988 | * gdbarch.sh (REGISTER_NAME): Do not supply a default. | |
2989 | * gdbarch.h, gdbarch.c: Re-generate. | |
2990 | * config/sparc/tm-sparc.h (REGISTER_NAME): Define. | |
2991 | (legacy_register_name): Declare. | |
2992 | * config/sparc/tm-sp64.h (legacy_register_name): Declare. | |
2993 | (REGISTER_NAME): Define. | |
2994 | * sparc-tdep.c (legacy_register_name): New function. | |
2995 | * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. | |
2996 | (REGISTER_NAME): Define. | |
2997 | (hppa64_register_name): Declare. | |
2998 | * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. | |
2999 | * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. | |
3000 | (hppa64_register_name): New function. | |
3001 | (hppa_register_name): New function. | |
3002 | * arch-utils.c (legacy_register_name): Delete. | |
3003 | * arch-utils.h (legacy_register_name): Delete. | |
3004 | ||
38caaeec DJ |
3005 | 2003-07-03 Daniel Jacobowitz <[email protected]> |
3006 | ||
3007 | * cli/cli-interp.c (cli_interpreter_resume): Update the | |
3008 | cli_uiout's stream to gdb_stdout. | |
3009 | ||
dadd712e AC |
3010 | 2003-07-03 Andrew Cagney <[email protected]> |
3011 | ||
3012 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add | |
3013 | predicate. | |
3014 | * gdbarch.h, gdbarch.c: Re-generate. | |
3015 | * regcache.c (init_regcache_descr): Use legacy code when either | |
3016 | REGISTER_BYTE or REGISTER_RAW_SIZE is set. | |
3017 | ||
c7f1390e DJ |
3018 | 2003-07-02 Daniel Jacobowitz <[email protected]> |
3019 | ||
3020 | * NEWS: Move "set logging" entry into GDB 6.0 section. | |
3021 | ||
4bc8c588 JB |
3022 | 2003-07-02 Jim Blandy <[email protected]> |
3023 | ||
a9dd42f1 JB |
3024 | * s390-tdep.c (struct frame_extra_info): new member: |
3025 | 'stack_bought_valid'. | |
3026 | (s390_get_frame_info): Set fextra_info->stack_bought_valid if we | |
3027 | initialize fextra_info->stack_bought. | |
3028 | (s390_frameless_function_invocation): Don't trust the value of | |
3029 | fextra_info_ptr->stack_bought unless | |
3030 | fextra_info->stack_bought_valid is set. | |
3031 | ||
4bc8c588 JB |
3032 | New S390 prologue analyzer. |
3033 | * s390-tdep.c (struct prologue_value, enum pv_boolean): New types. | |
3034 | (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, | |
3035 | pv_constant_last, pv_add, pv_add_constant, pv_subtract, | |
3036 | pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref, | |
3037 | compute_x_addr, s390_on_stack, s390_store, | |
3038 | s390_get_signal_frame_info): New functions. | |
3039 | (S390_NUM_SPILL_SLOTS): New macro. | |
3040 | (s390_get_frame_info): Rewritten. | |
3041 | (is_arg_reg): Deleted. | |
3042 | ||
3043 | Break out the decoding of S/390 instructions into separate | |
3044 | functions, to make it more legible, and easier to check | |
3045 | against the spec. | |
3046 | * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse, | |
3047 | is_rx, is_rxe): New functions. | |
3048 | (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras, | |
3049 | op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi, | |
3050 | op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st, | |
3051 | op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New | |
3052 | enums for opcode values. (Is this an improvement?) | |
3053 | ||
fd13a04a AC |
3054 | 2003-07-02 Andrew Cagney <[email protected]> |
3055 | ||
3056 | * i386-tdep.c: Revert change committed as part of trad-frame code | |
3057 | below. | |
3058 | ||
3f8091c1 DJ |
3059 | 2003-07-02 Daniel Jacobowitz <[email protected]> |
3060 | ||
3061 | * breakpoint.c (insert_catchpoint): Make static. | |
3062 | ||
8dd5115e AS |
3063 | 2003-07-02 Andreas Schwab <[email protected]> |
3064 | ||
3065 | * ia64-tdep.c (ia64_push_dummy_call): Define as combination of | |
3066 | former ia64_push_arguments and ia64_push_return_address, and use | |
3067 | regcache functions instead of read/write_register. | |
3068 | (ia64_gdbarch_init): Set push_dummy_call instead of | |
3069 | deprecated_push_arguments and deprecated_push_return_address. | |
3070 | ||
a2229c23 AJ |
3071 | 2003-07-01 Andreas Jaeger <[email protected]> |
3072 | ||
3073 | * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte | |
3074 | before the call. | |
3075 | Set %rax only to number of SSE registers used. | |
3076 | ||
3b3850e8 AC |
3077 | 2003-07-01 Andrew Cagney <[email protected]> |
3078 | ||
3079 | * trad-frame.h: Update comments, a -1 .addr is reserved. | |
3080 | (trad_frame_value_p, trad_frame_addr_p): Declare. | |
3081 | (trad_frame_reg_p): Declare. | |
3082 | (trad_frame_set_value): Rename trad_frame_register_value. | |
3083 | (trad_frame_set_unknown): Declare. | |
3084 | * trad-frame.c (trad_frame_realreg_p): New function. | |
3085 | (trad_frame_addr_p, trad_frame_value_p): New function. | |
3086 | (trad_frame_set_unknown): New function. | |
3087 | (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero. | |
3088 | (trad_frame_prev_register): Use trad_frame_realreg_p, | |
3089 | trad_frame_addr_p and trad_frame_value_p. | |
3090 | (trad_frame_set_value): Rename trad_frame_register_value. | |
3091 | * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p | |
3092 | and trad_frame_set_value. | |
a2229c23 | 3093 | |
4d819d0e JB |
3094 | 2003-06-30 Jim Blandy <[email protected]> |
3095 | ||
3096 | Patch from IBM (authors unspecified, probably Ulrich Weigand and | |
3097 | Gerhard Tonn) for argument passing on the S/390 and S/390x: | |
3098 | * s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space | |
3099 | for 16 registers, and then 32 more bytes. | |
3100 | (S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS): | |
3101 | New macros. | |
3102 | (is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially. | |
3103 | Move up in the file, since it's now used by is_simple_arg. | |
3104 | (is_simple_arg): Don't assume registers are four bytes long. | |
3105 | Exclude all double arguments. Extended floats are not simple | |
3106 | args. | |
3107 | (is_power_of_two): New function. | |
3108 | (pass_by_copy_ref): Call is_power_of_two, and check that the | |
3109 | length fits in a register, rather than listing all the acceptable | |
3110 | sizes. Extended floats are not passed by reference. | |
3111 | (s390_push_arguments): Don't assume registers are four bytes long. | |
3112 | Reserve an argument register to point to the buffer for structures | |
3113 | returned by value. Use S390_NUM_FP_PARAMETER_REGISTERS and | |
3114 | S390_STACK_FRAME_OVERHEAD. | |
3115 | ||
1ad828f1 AS |
3116 | 2003-06-30 Andreas Schwab <[email protected]> |
3117 | ||
3118 | * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to | |
3119 | format error message. | |
3120 | ||
39b00981 JB |
3121 | 2003-06-30 Joel Brobecker <[email protected]> |
3122 | ||
3123 | * sparc-tdep.c (stop_after_trap): Remove declaration, not used. | |
3124 | ||
b2a7f303 DC |
3125 | 2003-06-30 David Carlton <[email protected]> |
3126 | ||
3127 | Band-aid for PR c++/1245. | |
3128 | * Makefile.in (cp-support.o): Depend on complaints_h. | |
3129 | * cp-support.c: Include complaints.h. Add declaration for | |
3130 | find_last_component. | |
3131 | (cp_find_first_component): Separate code into | |
3132 | cp_find_first_component_aux. | |
3133 | (cp_find_first_component_aux): Call demangled_name_complaint. | |
3134 | (demangled_name_complaint): New. | |
3135 | ||
a257b5bb AC |
3136 | 2003-06-30 Andrew Cagney <[email protected]> |
3137 | ||
3138 | * remote.c (remote_write_bytes): Explicitly compute and then use | |
3139 | the payload size. Update comments to reflect. Fixes problem of | |
3140 | GDB not sending small packets as found by Fred Fish. | |
3141 | ||
0a2cfde4 AC |
3142 | 2003-06-30 Andrew Cagney <[email protected]> |
3143 | ||
3144 | * remote.c (remote_async_wait): Fix -Wformat problem. | |
3145 | ||
3fcb8548 AC |
3146 | 2003-06-29 Andrew Cagney <[email protected]> |
3147 | ||
3148 | * remote.c (remote_wait): Call error, and not warning, when the | |
3149 | packet is corrupt. | |
3150 | (remote_async_wait): Ditto. | |
3151 | ||
9f9970a3 DJ |
3152 | 2003-06-29 Daniel Jacobowitz <[email protected]> |
3153 | ||
3154 | * sparc-tdep.c (sparc_y_regnum): Make external again. | |
3155 | ||
83a8ccca DJ |
3156 | 2003-06-29 Daniel Jacobowitz <[email protected]> |
3157 | ||
3158 | * cli/cli-logging.c (pop_output_files): Add void to function | |
3159 | definition. | |
3160 | ||
d2cf594a AC |
3161 | 2003-06-29 Andrew Cagney <[email protected]> |
3162 | ||
3163 | * frame.c (frame_register_unwind): Use unsigned char when dumping | |
3164 | the buffer contents. | |
3165 | ||
0fac0b41 DJ |
3166 | 2003-06-28 Daniel Jacobowitz <[email protected]> |
3167 | ||
3168 | * cli/cli-logging.c: New file. | |
3169 | * cli-out.c (struct ui_out_data): Add original_stream. | |
3170 | (cli_redirect): New function. | |
3171 | (cli_ui_out_impl): Add cli_redirect. | |
3172 | (cli_out_new): Initialize original_stream. | |
3173 | * ui-out.c (default_ui_out_impl): Add NULL for redirect member. | |
3174 | (uo_redirect, ui_out_redirect): New. | |
3175 | * ui-out.h (struct ui_out_impl): Add redirect member. | |
3176 | (redirect_ftype): New. | |
3177 | (ui_out_redirect): Add prototype. | |
3178 | * Makefile.in: Add rules for cli-logging.c. | |
3179 | * NEWS: Mention "set logging". | |
3180 | ||
88a07d7c EZ |
3181 | 2003-06-27 Elena Zannoni <[email protected]> |
3182 | ||
3183 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o. | |
3184 | ||
4eb58876 AC |
3185 | 2003-06-27 Andrew Cagney <[email protected]> |
3186 | ||
3187 | * m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function. | |
3188 | (m68hc11_gdbarch_init): Do not set call_dummy_address. | |
3189 | * avr-tdep.c (avr_call_dummy_address): Delete function. | |
3190 | (avr_gdbarch_init): Do not set call_dummy_address. | |
3191 | ||
1549f619 EZ |
3192 | 2003-06-27 Elena Zannoni <[email protected]> |
3193 | ||
3194 | * symfile.c (syms_from_objfile): Move variables to inner block. | |
3195 | Move the checks for the non-mainline case a bit earlier to avoid | |
3196 | doing some useless computations. | |
3197 | ||
3cb3398d EZ |
3198 | 2003-06-27 Elena Zannoni <[email protected]> |
3199 | ||
3200 | * dwarfread.c (decode_modified_type): Gag new compiler warning. | |
3201 | ||
3799ccc6 EZ |
3202 | 2003-06-26 Elena Zannoni <[email protected]> |
3203 | ||
3204 | * dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame | |
3205 | sections. | |
3206 | ||
ce1f6491 MC |
3207 | 2003-06-26 Michael Chastain <[email protected]> |
3208 | ||
3209 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc, | |
3210 | gdb/testsuite/gdb.c++/pr-1210.exp. | |
3211 | ||
d958dfd0 AC |
3212 | 2003-06-26 Andrew Cagney <[email protected]> |
3213 | ||
3214 | * config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's | |
3215 | altivec_expression.h and altivec_registers.h. | |
3216 | ||
d31431ed AC |
3217 | 2003-06-26 Andrew Cagney <[email protected]> |
3218 | ||
3219 | * mips-tdep.c (gdb_print_insn_mips): Only explicitly set | |
3220 | info->mach when MIPS16. Patch suggested by Fred Fish. | |
3221 | ||
714b1282 AC |
3222 | 2003-06-26 Andrew Cagney <[email protected]> |
3223 | ||
3224 | * utils.c (internal_vproblem): Print the problem to a reason | |
3225 | buffer and then pass to query. Make the msg variable more local. | |
3226 | ||
42efa47a AC |
3227 | 2003-06-26 Andrew Cagney <[email protected]> |
3228 | ||
3229 | * gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate. Deprecate. | |
3230 | (FRAME_LOCALS_ADDRESS): Add predicate. Deprecate. | |
3231 | * gdbarch.h, gdbarch.c: Re-generate. | |
3232 | * frame-base.c (default_frame_args_address): Update. Use | |
3233 | default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is | |
3234 | not available. | |
3235 | (default_frame_locals_address): Ditto for | |
3236 | DEPRECATED_FRAME_LOCALS_ADDRESS. | |
3237 | * vax-tdep.c (vax_sigtramp_saved_pc): Update. | |
3238 | (vax_frame_num_args): Update. | |
3239 | (vax_gdbarch_init): Update. | |
3240 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3241 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
3242 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
3243 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
3244 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
3245 | * symtab.h (address_class): Update comments. | |
3246 | * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update. | |
3247 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
3248 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
3249 | * config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
3250 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
3251 | (DEPRECATED_FRAME_LOCALS_ADDRESS): Update. | |
3252 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update. | |
3253 | * alpha-mdebug-tdep.c: Update. | |
3254 | * ada-lang.c (add_symbols_from_enclosing_procs): Update. | |
3255 | ||
8ffd9b1b AJ |
3256 | 2003-06-26 Andreas Jaeger <[email protected]> |
3257 | ||
3258 | * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number | |
3259 | of SSE registers so that varargs functions work. Rework handling | |
3260 | of passing arguments on the stack. | |
3261 | (x86_64_store_return_value): Return double and float values in SSE | |
3262 | register. | |
3263 | ||
e8ac10a6 MC |
3264 | 2003-06-24 Michael Chastain <[email protected]> |
3265 | ||
3266 | * PROBLEMS: Document pr gdb/1091 and pr gdb/1193, | |
3267 | the "constructor breakpoints ignored" bug. | |
3268 | ||
986af8e6 DC |
3269 | 2003-06-25 David Carlton <[email protected]> |
3270 | ||
3271 | * MAINTAINERS: Update e-mail address. | |
3272 | ||
d64558a5 JB |
3273 | 2003-06-24 Jim Blandy <[email protected]> |
3274 | ||
e538d2d7 JB |
3275 | * ppc-linux-tdep.c: More "Linux" -> "GNU/Linux". |
3276 | ||
02631ec0 JB |
3277 | * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New |
3278 | function. | |
3279 | (ppc_linux_init_abi): Register it as the | |
3280 | CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI. | |
3281 | ||
e716d87a JB |
3282 | * ppc-linux-tdep.c (ppc64_call_dummy_address): New function. |
3283 | (ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address | |
3284 | method. | |
3285 | ||
d64558a5 JB |
3286 | * ppc-linux-tdep.c (ppc64_desc_entry_point): New function. |
3287 | (ppc64_standard_linkage_target): Use it. | |
3288 | ||
449a5da4 AC |
3289 | 2003-06-23 Andrew Cagney <[email protected]> |
3290 | ||
3291 | * rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases | |
3292 | for 0 "int0" and 4 "int32" sized registers. | |
3293 | * gdbtypes.c (builtin_type_int0): Define. | |
3294 | (build_gdbtypes): Initialize builtin_type_int0. | |
3295 | * gdbtypes.h (builtin_type_int0): Declare. | |
3296 | ||
b2a02dda SC |
3297 | 2003-06-23 Stephane Carrez <[email protected]> |
3298 | ||
3299 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed | |
3300 | as characters are unsigned. | |
3301 | ||
fba3138e DJ |
3302 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
3303 | ||
3304 | PR gdb/1179 | |
3305 | * dwarfread.c (struct_type): Skip static fields without crashing. | |
3306 | ||
f6c8180b AC |
3307 | 2003-06-22 Andrew Cagney <[email protected]> |
3308 | ||
3309 | GDB 6.0 branch created. | |
f2c06f52 AC |
3310 | * README: Update. |
3311 | * PROBLEMS: Update. Empty. | |
3312 | * NEWS: Update. | |
f6c8180b | 3313 | |
ae822768 DJ |
3314 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
3315 | ||
3316 | * symfile.c (add_symbol_file_command): Use parse_and_eval_address. | |
3317 | Suggested by Nick Hibma <[email protected]>. | |
3318 | ||
261de166 AC |
3319 | 2003-06-22 Andrew Cagney <[email protected]> |
3320 | ||
3321 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle | |
3322 | GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil | |
3323 | Velikov. | |
3324 | ||
30e94205 DJ |
3325 | 2003-06-22 Daniel Jacobowitz <[email protected]> |
3326 | ||
3327 | * cli/cli-cmds.c (shell_escape): Silence warnings from old | |
3328 | compilers. | |
3329 | ||
9e14d721 DJ |
3330 | 2003-06-21 Daniel Jacobowitz <[email protected]> |
3331 | ||
3332 | * c-valprint.c (c_value_print): Add VALUE_OFFSET to the address | |
3333 | argument of val_print. | |
3334 | * cp-valprint.c (cp_print_value): Don't add the offset parameter | |
3335 | to the address argument of baseclass_offset or target_read_memory. | |
3336 | Do add it to the argument of cp_print_value_fields. | |
3337 | ||
a4b8ebc8 AC |
3338 | 2003-06-21 Andrew Cagney <[email protected]> |
3339 | ||
3340 | * mips-tdep.c: Include "reggroups.h" and "sim-regno.h". | |
3341 | (mips_register_name): Return names for NUM_REGS..2*NUM_REGS | |
3342 | instead of 0..NUM_REGS. | |
3343 | (mips_register_reggroup_p): New function. | |
3344 | (mips_pseudo_register_write): New function. | |
3345 | (mips_pseudo_register_read): New function. | |
3346 | (mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size | |
3347 | based on the register's type. | |
3348 | (read_next_frame_reg): Simplify. Assert that REGNO is a pseudo / | |
3349 | cooked. | |
3350 | (mips_get_saved_register): Simplify. Assert that REGNO is a | |
3351 | pseudo / cooked. | |
3352 | (mips_register_byte): New function. Use MIPS_REGISTER_BYTE. | |
3353 | (mips_register_type): Replace mips_register_virtual_type. Map | |
3354 | NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE | |
3355 | when available. | |
3356 | (read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert | |
3357 | that the register is cooked / virtual. | |
3358 | (mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC. | |
3359 | Only get the extra info when needed. | |
3360 | (set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well. | |
3361 | (mips32_heuristic_proc_desc): Fetch the cooked register. | |
3362 | (heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto. | |
3363 | (mips_init_extra_frame_info, get_frame_pointer): Ditto. | |
3364 | (mips_print_register): Use gdbarch_register_type, instead of | |
3365 | REGISTER_VIRTUAL_TYPE. | |
3366 | (print_gp_register_row): Use gdbarch_register_type, instead of | |
3367 | REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM. | |
3368 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
3369 | Print the pseudo / cooked registers. | |
3370 | (mips_print_registers_info): Assert REGNO is pseodo / cooked. | |
3371 | Print the pseudo / cooked registers. | |
3372 | (mips_xfer_register): Use regcache_cooked_read_part. Assert that | |
3373 | REG_NUM is pseudo / cooked. | |
3374 | (mips_o32_xfer_return_value): Xfer the pseudo / cooked register. | |
3375 | (mips_n32n64_xfer_return_value): Ditto. | |
3376 | (mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS. | |
3377 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto. | |
3378 | (mips_register_sim_regno): New function. | |
3379 | (mips_gdbarch_init): Set deprecated_register_byte, | |
3380 | register_group_p, pseudo_register_write, pseudo_register_read, | |
3381 | register_sim_regno, and num_pseudo_regs. Set register_type, | |
3382 | instead of register_virtual_type. | |
3383 | * Makefile.in (mips-tdep.o): Update dependencies. | |
3384 | * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename | |
3385 | REGISTER_VIRTUAL_TYPE. | |
3386 | * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto. | |
3387 | * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto. | |
3388 | * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE. | |
3389 | * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto. | |
3390 | * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto. | |
3391 | ||
325ed089 DJ |
3392 | 2003-06-21 Daniel Jacobowitz <[email protected]> |
3393 | ||
3394 | * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h) | |
3395 | * cli/cli-cmds.c: Include "gdb_vfork.h". | |
3396 | (shell_escape): Use vfork. | |
3397 | ||
f0e7d0e8 AC |
3398 | 2003-06-21 Andrew Cagney <[email protected]> |
3399 | ||
c57bb9fa AC |
3400 | * mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling |
3401 | 32 bit floating-point register saves. | |
3402 | ||
6e51443a AC |
3403 | * frame.h (deprecated_unwind_get_saved_register): Delete. |
3404 | * frame.c (deprecated_unwind_get_saved_register): Delete function. | |
3405 | * mips-tdep.c (mips_get_saved_register): Use frame_register_unwind | |
3406 | and deprecated_get_next_frame_hack instead of | |
3407 | deprecated_unwind_get_saved_register. | |
3408 | ||
ed183c7c AC |
3409 | * mips-tdep.c (mips_dump_tdep): Do not print |
3410 | REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE. | |
3411 | ||
f0e7d0e8 AC |
3412 | * frame.c (get_frame_register): New function. |
3413 | (frame_unwind_register_signed): New function. | |
3414 | (get_frame_register_signed): New function. | |
3415 | (frame_unwind_register_unsigned): New function. | |
3416 | (get_frame_register_unsigned): New function. | |
3417 | * frame.h: Add comments on naming schema. | |
3418 | (get_frame_register, frame_unwind_register_signed): Declare. | |
3419 | (get_frame_register_signed, get_frame_register_signed): Declare. | |
3420 | (frame_unwind_register_unsigned): Declare. | |
3421 | (get_frame_register_unsigned): Declare. | |
3422 | ||
2224d941 TR |
3423 | 2003-06-20 Theodore A. Roth <[email protected]> |
3424 | ||
3425 | * avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit. | |
3426 | ||
8619218d TR |
3427 | 2003-06-20 Theodore A. Roth <[email protected]> |
3428 | ||
3429 | * avr-tdep.c (avr_read_pc): Use regcache instead of read_register. | |
3430 | (avr_read_sp): Ditto. | |
3431 | ||
0b1b50c0 DJ |
3432 | 2003-06-20 Daniel Jacobowitz <[email protected]> |
3433 | ||
3434 | * config/arm/linux.mt: Remove code protected by GDBSERVER define. | |
3435 | * config/arm/nm-linux.h: Likewise. | |
3436 | * config/arm/tm-linux.h: Likewise. | |
3437 | * config/ia64/nm-linux.h: Likewise. | |
3438 | * config/ia64/tm-ia64.h: Likewise. | |
3439 | * config/s390/tm-linux.h: Likewise. | |
3440 | * config/s390/tm-s390.h: Likewise. | |
3441 | * s390-nat.c: Likewise. | |
3442 | * s390-tdep.c: Likewise. | |
3443 | ||
3444 | * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES. | |
3445 | * config/ia64/linux.mt: Likewise. | |
3446 | * config/m68k/linux.mh: Likewise. | |
3447 | * config/mips/linux.mt: Likewise. | |
3448 | * config/powerpc/linux.mh: Likewise. | |
3449 | * config/sh/linux.mt: Likewise. | |
3450 | ||
c8c18e65 KW |
3451 | 2003-06-19 Kris Warkentin <[email protected]> |
3452 | ||
3453 | * solib.c (solib_open): Change tests for whether to search | |
3454 | LD_LIBRARY_PATH and PATH to better deal with remotes. Update | |
3455 | comments. | |
3456 | ||
dcccef2e TR |
3457 | 2003-06-19 Theodore A. Roth <[email protected]> |
3458 | ||
3459 | * avr-tdep.c (avr_frame_address): Delete function. | |
3460 | (avr_gdbarch_init): Don't call set_gdbarch_frame_args_address, | |
3461 | set_gdbarch_frame_args_address. | |
3462 | ||
5861a190 AC |
3463 | 2003-06-19 Andrew Cagney <[email protected]> |
3464 | ||
3465 | * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete. | |
3466 | (REGISTER_CONVERT_FROM_TYPE): Delete. | |
3467 | (mips_register_convert_to_type): Delete declaration. | |
3468 | (mips_register_convert_from_type): Delete declaration. | |
3469 | * linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux | |
3470 | kernel/. | |
3471 | ||
0274a8ce MS |
3472 | 2003-06-19 Michael Snyder <[email protected]> |
3473 | ||
3474 | * linux-nat.h: New file. | |
3475 | * linux-nat.c: Include linux-nat.h. | |
8ffd9b1b | 3476 | * lin-lwp.c: Include linux-nat.h. |
0274a8ce | 3477 | Move struct lwp_info def to linux-nat.h. |
8ffd9b1b | 3478 | * linux-proc.c: Include linux-nat.h. |
0274a8ce MS |
3479 | (linux_make_note_section): Iterate over lwps instead of threads. |
3480 | (linux_do_thread_registers): Use lwp instead of merged pid. | |
3481 | * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h. | |
8ffd9b1b | 3482 | * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): |
0274a8ce MS |
3483 | Add dependency on linux_nat_h. |
3484 | ||
adf5f719 TR |
3485 | 2003-06-19 Theodore A. Roth <[email protected]> |
3486 | ||
3487 | * avr-tdep.c (avr_extract_return_value): Delete debugging fprintf. | |
3488 | ||
6766a268 DJ |
3489 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
3490 | ||
3491 | * varobj.c (get_type, get_target_type): Use check_typedef. | |
3492 | ||
1171114a DJ |
3493 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
3494 | ||
3495 | * breakpoint.c (insert_catchpoint): Call internal_error. | |
3496 | ||
adcf68a2 TR |
3497 | 2003-06-19 Theodore A. Roth <[email protected]> |
3498 | ||
3499 | * avr-tdep.c (avr_push_dummy_code): Delete function. | |
3500 | (avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code. | |
3501 | ||
ea67f13b DJ |
3502 | 2003-06-19 Daniel Jacobowitz <[email protected]> |
3503 | ||
3504 | * arch-utils.c (default_prepare_to_proceed): Remove. | |
3505 | (generic_prepare_to_proceed): Remove. | |
3506 | * arch-utils.h (default_prepare_to_proceed): Remove prototype. | |
3507 | (generic_prepare_to_proceed): Remove prototype. | |
3508 | * gdbarch.sh (PREPARE_TO_PROCEED): Remove. | |
3509 | * gdbarch.c: Regenerate. | |
3510 | * gdbarch.h: Regenerate. | |
3511 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype. | |
3512 | * hppah-nat.c (hppa_switched_threads): Remove. | |
3513 | * infrun.c (prepare_to_proceed): New static function, copied from | |
3514 | generic_prepare_to_proceed. Remove select_it argument. | |
3515 | (proceed): Call prepare_to_proceed. | |
3516 | * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove | |
3517 | variables. | |
3518 | (ptrace_wait): Don't set the removed variables. | |
3519 | (hppa_switched_threads): Remove. | |
3520 | * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove. | |
3521 | * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define. | |
3522 | (lin_lwp_prepare_to_proceed): Remove prototype. | |
3523 | * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine. | |
3524 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define. | |
3525 | ||
4add8633 TR |
3526 | 2003-06-18 Theodore A. Roth <[email protected]> |
3527 | ||
3528 | * avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, and | |
3529 | trad-frame.h. | |
3530 | (AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64. | |
3531 | (AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define. | |
3532 | (AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define. | |
3533 | (AVR_PROLOGUE_*): Enumerate prologue types. | |
3534 | (struct frame_extra_info): Remove. | |
3535 | (struct avr_unwind_cache): Define. | |
3536 | (avr_write_sp): Delete function. | |
3537 | (avr_read_fp): Ditto. | |
3538 | (avr_init_extra_frame_info): Ditto. | |
3539 | (avr_pop_frame): Ditto. | |
3540 | (avr_frame_saved_pc): Ditto. | |
3541 | (avr_saved_pc_after_call): Ditto. | |
3542 | (avr_push_return_address): Ditto. | |
3543 | (avr_frame_chain): Ditto. | |
3544 | (avr_store_struct_return): Ditto. | |
3545 | (avr_push_arguments): Ditto. | |
3546 | (avr_scan_prologue): Update comments. Changed to set up the info for | |
3547 | cache unwinding. Now returns end of prologue PC. | |
3548 | (avr_skip_prologue): Better handling of functions lacking a prologue | |
3549 | by using avr_scan_prologue. | |
3550 | (avr_scan_arg_moves): New function. | |
3551 | (avr_saved_regs_unwinder): Ditto. | |
3552 | (avr_frame_unwind_cache): Ditto. | |
3553 | (avr_unwind_pc): Ditto. | |
3554 | (avr_frame_this_id): Ditto. | |
3555 | (avr_frame_prev_register): Ditto. | |
3556 | (avr_frame_p): Ditto. | |
3557 | (avr_frame_base_address ): Ditto. | |
3558 | (avr_unwind_dummy_id): Ditto. | |
3559 | (avr_push_dummy_code): Ditto. | |
3560 | (push_stack_item): Ditto. | |
3561 | (pop_stack_item): Ditto. | |
3562 | (avr_push_dummy_call): Ditto. | |
3563 | (struct stack_item): Define. | |
3564 | (avr_frame_unwind): Declare structure. | |
3565 | (avr_frame_base): Ditto. | |
3566 | (avr_gdbarch_init): Remove calls to | |
3567 | set_gdbarch_deprecated_init_frame_pc, | |
3568 | set_gdbarch_deprecated_target_read_fp, | |
3569 | set_gdbarch_deprecated_dummy_write_sp, | |
3570 | set_gdbarch_deprecated_fp_regnum, | |
3571 | set_gdbarch_deprecated_push_arguments, | |
3572 | set_gdbarch_deprecated_push_return_address, | |
3573 | set_gdbarch_deprecated_pop_frame, | |
3574 | set_gdbarch_deprecated_store_struct_return, | |
3575 | set_gdbarch_deprecated_frame_init_saved_regs, | |
3576 | set_gdbarch_deprecated_init_extra_frame_info, | |
3577 | set_gdbarch_deprecated_frame_chain, | |
3578 | set_gdbarch_deprecated_frame_saved_pc, | |
3579 | set_gdbarch_deprecated_saved_pc_after_call. | |
3580 | Add calls to set_gdbarch_push_dummy_call, | |
3581 | set_gdbarch_push_dummy_code, | |
3582 | frame_unwind_append_predicate, | |
3583 | frame_base_set_default, | |
3584 | set_gdbarch_unwind_dummy_id, | |
3585 | set_gdbarch_unwind_pc. | |
3586 | Wrap a long line. | |
3587 | ||
7be04a68 MS |
3588 | 2003-06-18 Corinna Vinschen <[email protected]> |
3589 | ||
3590 | * h8300-tdep.c (h8300s_register_name): Enable MACH and MACL | |
3591 | registers for H8/300S. | |
3592 | (h8300_print_registers_info): Ditto. | |
8ffd9b1b | 3593 | (h8300_gdbarch_init): Accommodate register count for H8/300S. |
7be04a68 | 3594 | |
ae087d01 DJ |
3595 | 2003-06-18 Daniel Jacobowitz <[email protected]> |
3596 | ||
3597 | * config/nm-linux.h (linux_record_stopped_pid): New prototype. | |
3598 | * lin-lwp.c (child_wait): Call linux_record_stopped_pid. | |
3599 | (lin_lwp_wait): Likewise. Update comments. | |
3600 | * linux-nat.c (struct simple_pid_list, add_to_pid_list) | |
3601 | (pull_pid_from_list, linux_record_stopped_pid): New. | |
3602 | ||
07d8f827 SC |
3603 | 2003-06-17 Stephane Carrez <[email protected]> |
3604 | ||
3605 | * ada-lang.c (scan_discrim_bound): Name first argument. | |
3606 | (ada_add_block_symbols): Remove BLOCK_SYM to use local variable | |
3607 | declared by ALL_BLOCK_SYMBOLS. | |
3608 | ||
7cb47b14 SC |
3609 | 2003-06-17 Stephane Carrez <[email protected]> |
3610 | ||
3611 | * ada-tasks.c (find_function_in_inferior): Don't declare it. | |
3612 | ("regcache.h"): Include it. | |
3613 | * ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN. | |
3614 | ||
6ad8ae5c DJ |
3615 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
3616 | ||
3617 | * NEWS: Mention gdbserver detach change and "disconnect" command. | |
3618 | * infcmd.c (disconnect_command): New function. | |
3619 | (_initialize_infcmd): Add ``disconnect'' command. | |
3620 | * remote.c (remote_async_detach): Delete. | |
3621 | (remote_detach): Merge remote_async_detach. | |
3622 | (remote_disconnect): New. | |
3623 | (init_remote_ops): Set to_disconnect. | |
3624 | (init_remote_cisco_ops): Likewise. | |
3625 | (init_remote_async_ops): Likewise. Use remote_detach. | |
3626 | * target.c (cleanup_target): Default to_disconnect. | |
3627 | (update_current_target): Inherit to_disconnect. | |
3628 | (target_disconnect, debug_to_disconnect): New functions. | |
3629 | (setup_target_debug): Set to_disconnect. | |
3630 | * target.h (struct target_ops): Add to_disconnect. | |
3631 | (target_disconnect): Add prototype. | |
3632 | ||
687595f9 DJ |
3633 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
3634 | ||
3635 | * breakpoint.c (insert_catchpoint): New function. | |
3636 | (insert_breakpoints): Use catch_exceptions to call | |
3637 | insert_catchpoint. Disable catchpoints if they fail to insert. | |
3638 | ||
29239a8f DJ |
3639 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
3640 | ||
3641 | * symfile.c (reread_symbols): Clear sym_private. | |
3642 | ||
2cdf3c63 AC |
3643 | 2003-06-17 Andrew Cagney <[email protected]> |
3644 | ||
3645 | * trad-frame.h (struct frame_info): Add opaque declaration. | |
3646 | * remote-fileio.h (struct cmd_list_element): Add opaque | |
3647 | declaration. | |
3648 | * h8300-tdep.c (h8300s_register_name): Avoid C++ // style | |
3649 | comments. | |
3650 | ||
cf0e1e0d DJ |
3651 | 2003-06-17 Daniel Jacobowitz <[email protected]> |
3652 | ||
3653 | * remote.c (remote_prepare_to_store): Replace call to | |
3654 | deprecated_read_register_bytes with multiple regcache_raw_read | |
3655 | calls. | |
3656 | ||
192cdb19 KW |
3657 | 2003-06-17 Kris Warkentin <[email protected]> |
3658 | ||
3659 | * nto-tdep.c (nto_map_arch_to_cputype): Recognize "powerpc". | |
3660 | (nto_find_and_open_solib): Likewise. | |
3661 | (nto_init_solib_absolute_prefix): Likewise. | |
3662 | (_initialize_nto_tdep): Fix indentation. | |
3663 | ||
89929b45 KW |
3664 | 2003-06-17 Kris Warkentin <[email protected]> |
3665 | ||
3666 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR. | |
3667 | ||
46019f27 KW |
3668 | 2003-06-17 Kris Warkentin <[email protected]> |
3669 | ||
3670 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using. | |
3671 | ||
1a38736e JB |
3672 | 2003-06-17 Jim Blandy <[email protected]> |
3673 | ||
3674 | * ppc-linux-tdep.c: "Linux" -> "GNU/Linux" | |
3675 | ||
3605c34a TR |
3676 | 2003-06-16 Theodore A. Roth <[email protected]> |
3677 | ||
3678 | * avr-tdep.c (avr_extract_return_value): New function. | |
3679 | (avr_gdbarch_init): Set extract_return_value method. | |
3680 | ||
870b3035 AC |
3681 | 2003-06-16 Andrew Cagney <[email protected]> |
3682 | ||
3683 | * frame.h (deprecated_get_next_frame_hack): Declare. | |
3684 | * frame.c (legacy_saved_regs_prev_register): Only require | |
3685 | DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that | |
3686 | there are always saved regs. | |
3687 | (deprecated_generic_get_saved_register): Do not require | |
3688 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
3689 | (legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN, | |
3690 | use frame ID unwind instead. | |
3691 | (deprecated_get_next_frame_hack): New function. | |
3692 | ||
63d47a7d CV |
3693 | 2003-06-16 Corinna Vinschen <[email protected]> |
3694 | ||
3695 | * h8300-tdep.c (h8300_push_arguments): Remove. Substitute by... | |
3696 | (h8300_push_dummy_call): ...this function. Some minor optimization. | |
3697 | (h8300_push_return_address): Remove. | |
3698 | (h8300_gdbarch_init): Remove calls to | |
3699 | set_gdbarch_deprecated_dummy_write_sp, | |
3700 | set_gdbarch_deprecated_push_arguments and | |
3701 | set_gdbarch_deprecated_push_return_address. | |
3702 | Add call to set_gdbarch_push_dummy_call. | |
3703 | ||
4bb1dc5e CV |
3704 | 2003-06-16 Corinna Vinschen <[email protected]> |
3705 | ||
3706 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define. | |
3707 | (E_PSEUDO_EXR_REGNUM): Ditto. | |
3708 | (h8300_is_argument_spill): Check for instructions moving argument | |
8ffd9b1b | 3709 | registers into safe registers. |
4bb1dc5e CV |
3710 | (h8300_skip_prologue): Check for stm instruction to push registers |
3711 | used for register variables onto stack. | |
3712 | (gdb_print_insn_h8300): Remove. | |
3713 | (h8300_examine_prologue): Add a comment. | |
3714 | (h8300_register_name): Take pseudo registers into account. | |
3715 | (h8300s_register_name): Ditto. | |
3716 | (h8300sx_register_name): Ditto. | |
3717 | (h8300_print_register): Ditto. | |
3718 | (h8300_print_registers_info): Define "nice" printing order. | |
3719 | (h8300_saved_pc_after_call): Take pseudo registers into account. | |
3720 | (h8300_register_type): Ditto. Return type used for remote connection | |
3721 | when requesting real CCR or EXR register, return actual type when | |
3722 | requesting pseudo CCR or EXR. | |
3723 | (h8300_pseudo_register_read): New function. | |
3724 | (h8300_pseudo_register_write): Ditto. | |
3725 | (h8300_dbg_reg_to_regnum): Ditto. | |
3726 | (h8300s_dbg_reg_to_regnum): Ditto. | |
3727 | (h8300_gdbarch_init): Call set_gdbarch_num_pseudo_regs, | |
3728 | set_gdbarch_ecoff_reg_to_regnum, set_gdbarch_dwarf_reg_to_regnum, | |
3729 | set_gdbarch_dwarf2_reg_to_regnum, set_gdbarch_stab_reg_to_regnum and | |
3730 | set_gdbarch_print_insn architecture dependent. | |
3731 | Call set_gdbarch_pseudo_register_read and | |
3732 | set_gdbarch_pseudo_register_write. | |
3733 | (_initialize_h8300_tdep): Remove assignment to deprecated_tm_print_insn. | |
3734 | ||
a59fe496 AC |
3735 | 2003-06-16 Andrew Cagney <[email protected]> |
3736 | ||
3737 | * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate. | |
3738 | * gdbarch.h, gdbarch.c: Re-generate. | |
3739 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
3740 | * s390-tdep.c (s390_gdbarch_init): Update. | |
3741 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3742 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
3743 | * mips-tdep.c (mips_gdbarch_init): Update. | |
3744 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
3745 | * cris-tdep.c (cris_gdbarch_init): Update. | |
3746 | * infcall.c (call_function_by_hand): Update. | |
3747 | * ia64-tdep.c (ia64_push_arguments): Update comment. | |
3748 | * frame.c (legacy_get_prev_frame): Do not assume | |
3749 | SAVE_DUMMY_FRAME_TOS_P. | |
3750 | * dummy-frame.c (find_dummy_frame): Update comment. | |
3751 | ||
6f4e5a41 AC |
3752 | 2003-06-16 Andrew Cagney <[email protected]> |
3753 | ||
3754 | * regcache.c (do_cooked_read): Do not use register_valid_p. | |
3755 | ||
72fab697 TR |
3756 | 2003-06-15 Theodore A. Roth <[email protected]> |
3757 | ||
3758 | * avr-tdep.c (avr_register_type): Remove a blank line. | |
3759 | (avr_scan_prologue): Correct some comments. | |
3760 | ||
e3d8b004 TR |
3761 | 2003-06-15 Theodore A. Roth <[email protected]> |
3762 | ||
3763 | * avr-tdep.c (avr_scan_prologue): Update comment describing the various | |
3764 | prologue types. | |
8ffd9b1b | 3765 | Properly scan prologues generated by gcc with the -mcall-prologues |
e3d8b004 TR |
3766 | option. |
3767 | Add code to scan -mcall-prologues for mega devices. | |
3768 | ||
866b76ea TR |
3769 | 2003-06-15 Theodore A. Roth <[email protected]> |
3770 | ||
3771 | * avr-tdep.c (avr_register_byte): Delete function. | |
3772 | (avr_register_raw_size): Delete function. | |
3773 | (avr_register_virtual_size): Delete function. | |
3774 | (avr_register_virtual_type): Delete function. | |
3775 | (avr_register_type): New function. | |
3776 | (avr_address_to_pointer): Remove unused code. | |
3777 | (avr_read_fp): Need to read FP as two separate bytes due to change to | |
3778 | avr_register_type() usage. | |
3779 | (avr_gdbarch_init): Don't set deprecated_register_size. | |
3780 | Don't set deprecated_register_bytes. | |
3781 | Don't set deprecated_register_byte. | |
3782 | Don't set deprecated_register_raw_size. | |
3783 | Don't set deprecated_max_register_raw_size. | |
3784 | Don't set deprecated_register_virtual_size. | |
3785 | Don't set deprecated_max_register_virtual_size. | |
3786 | Don't set deprecated_register_virtual_type. | |
3787 | Set register_type method. | |
3788 | ||
3993f6b1 DJ |
3789 | 2003-06-15 Daniel Jacobowitz <[email protected]> |
3790 | ||
3791 | * Makefile.in (linux-nat.o): Add rule. | |
3792 | * linux-nat.c: New file. | |
3793 | * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define. | |
3794 | (CHILD_INSERT_VFORK_CATCHPOINT): Define. | |
3795 | (CHILD_INSERT_EXEC_CATCHPOINT): Define. | |
3796 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o. | |
3797 | * config/arm/linux.mh (NATDEPFILES): Likewise. | |
3798 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
3799 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
3800 | * config/ia64/linux.mh (NATDEPFILES): Likewise. | |
3801 | * config/m68k/linux.mh (NATDEPFILES): Likewise. | |
3802 | * config/mips/linux.mh (NATDEPFILES): Likewise. | |
3803 | * config/powerpc/linux.mh (NATDEPFILES): Likewise. | |
3804 | * config/s390/s390.mh (NATDEPFILES): Likewise. | |
3805 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
3806 | ||
786a90bb MK |
3807 | 2003-06-15 Mark Kettenis <[email protected]> |
3808 | ||
3809 | * i387-tdep.c: Reorder includes, fix some whitespace issues and | |
3810 | replace out-of-date comment. | |
3811 | ||
3bd3f01e AC |
3812 | 2003-06-15 Andrew Cagney <[email protected]> |
3813 | ||
3814 | * rdi-share/host.h (Fail): Change to a varargs function. | |
3815 | * remote-rdi.c (Fail): Update. | |
8ffd9b1b | 3816 | |
de5b9bb9 MK |
3817 | 2003-06-15 Mark Kettenis <[email protected]> |
3818 | ||
3819 | * i386-tdep.c (i386_next_regnum): Fix bounds checking. | |
3820 | (i386_convert_register_p, i386_register_to_value, | |
3821 | i386_register_from_value): Handle types longer than 8 bytes. | |
3822 | ||
d532c08f MK |
3823 | 2003-06-15 Mark Kettenis <[email protected]> |
3824 | ||
3825 | * i386-tdep.c (i386_register_to_value, i386_value_to_register): | |
3826 | Move floating-point code to new function in i387-tdep.c. | |
3827 | * i387-tdep.c (i387_register_to_value, i387_value_to_register): | |
3828 | New functions containing code moved here from i386-tdep.c. | |
3829 | * i387-tdep.h: Add opaque declaration for `struct type'. | |
3830 | (i387_register_to_value, i387_value_to_register): New prototypes. | |
3831 | * x86-64-tdep.c (x86_64_convert_register_p): New function. | |
3832 | (x86_64_init_abi): Set convert_register_p, register_to_value and | |
3833 | value_to_register here. | |
8ffd9b1b | 3834 | |
42c466d7 AC |
3835 | 2003-06-14 Andrew Cagney <[email protected]> |
3836 | ||
3837 | * mips-tdep.c (mips_register_to_value): Make static. | |
3838 | (mips_value_to_register): Make static. | |
3839 | * i386-tdep.c (i386_fetch_pointer_argument): Make static. | |
3840 | * ia64-tdep.c (ia64_register_raw_size): Make static. | |
3841 | (ia64_register_virtual_size): Make static. | |
3842 | (ia64_register_byte): Make static. | |
3843 | * i387-tdep.c: Include "i387-tdep.h". | |
3844 | (print_387_control_word): Delete function. | |
3845 | (print_387_status_word): Delete function. | |
3846 | (print_387_status_bits): Delete function. | |
3847 | (print_387_control_bits): Delete function. | |
3848 | * Makefile.in (i387-tdep.o): Update dependencies. | |
3849 | * rdi-share/host.h (Fail): Declare. | |
3850 | * remote-rdi.c (Fail): Update to match declaration. | |
3851 | ||
2a9cda49 AC |
3852 | 2003-06-14 Andrew Cagney <[email protected]> |
3853 | ||
3854 | * config/mips/embedl64.mt (TDEPFILES): Delete "remote-array.o". | |
3855 | * config/mips/embedl.mt (TDEPFILES): Delete "remote-array.o". | |
3856 | * config/mips/embed64.mt (TDEPFILES): Delete "remote-array.o". | |
3857 | * config/djgpp/fnchange.lst: Delete "remote-array.c". | |
3858 | * README: Delete reference to remote-array. | |
3859 | * Makefile.in (ALLDEPFILES): Remove "remote-array.c". | |
3860 | (remote-array.o): Delete target. | |
3861 | * config/mips/embed.mt (TDEPFILES): Delete "remote-array.o". | |
3862 | * remote-array.c: Delete file. | |
3863 | ||
ff2e87ac AC |
3864 | 2003-06-14 Andrew Cagney <[email protected]> |
3865 | Mark Kettenis <[email protected]> | |
3866 | ||
3867 | * gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter. | |
3868 | (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace raw buffer | |
3869 | parameter with "frame". | |
3870 | * gdbarch.h, gdbarch.c: Re-generate. | |
3871 | * frame.h (put_frame_register): Declare. | |
3872 | * frame.c (put_frame_register): New function. | |
3873 | * arch-utils.c (legacy_convert_register_p): Add "type" parameter. | |
3874 | (legacy_register_to_value): Rewrite, use "frame" to get the | |
3875 | register value. | |
3876 | (legacy_value_to_register): Rewrite, use "frame" to find the | |
3877 | register's location before storing. | |
3878 | * arch-utils.h (legacy_convert_register_p): Update. | |
3879 | (legacy_register_to_value, legacy_value_to_register): Update. | |
3880 | * findvar.c (value_from_register): Rewrite, eliminate use of | |
3881 | REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass | |
3882 | "frame" to REGISTER_TO_VALUE. | |
3883 | * valops.c (value_assign): Move the CONVERT_REGISTER code to the | |
3884 | lval_reg_frame_relative + lval_register branch of the switch. Do | |
3885 | not use REGISTER_CONVERT_FROM_TYPE. Use put_frame_register. | |
3886 | * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM, | |
3887 | I386_EDI_REGNUM): New defines. | |
3888 | (i386_next_regnum, i386_convert_register_p, | |
3889 | i386_register_to_value, i386_value_to_register): New functions. | |
3890 | (i386_register_convertible, i386_register_convert_to_virtual, | |
3891 | i386_convert_to_raw): Remove functions. | |
3892 | (i386_gdbarch_init): Set convert_register_p, register_to_value and | |
3893 | value_to_register instead of register_convertible, | |
3894 | register_convert_to_virtual and register_convert_to_raw. | |
3895 | * mips-tdep.c (mips_convert_register_p): New function. | |
3896 | (mips_value_to_register): Replace mips_register_convert_from_type. | |
3897 | (mips_register_to_value): Replace mips_register_convert_to_type. | |
3898 | (mips_gdbarch_init): Set conver_register_p, value_to_register and | |
3899 | register_to_value. | |
3900 | * alpha-tdep.c (alpha_convert_register_p): Update. | |
3901 | (alpha_value_to_register): Update, store the register. | |
3902 | (alpha_register_to_value): Update, fetch the register. | |
3903 | ||
98be1e77 TR |
3904 | 2003-06-14 Theodore A. Roth <[email protected]> |
3905 | ||
3906 | * avr-tdep.c (avr_remote_translate_xfer_address): Delete function. | |
3907 | (avr_gdbarch_init): Remove avr_call_dummy_words variable. | |
3908 | Don't set deprecated_call_dummy_words. | |
3909 | Remove commented out set_gdbarch_believe_pcc_promotion() call. | |
3910 | Don't set remote_translate_xfer_address. | |
3911 | (avr_io_reg_read_command): Remove commented out debug printf. | |
3912 | Wrap a long line. | |
3913 | ||
57bc6122 TR |
3914 | 2003-06-14 Theodore A. Roth <[email protected]> |
3915 | ||
3916 | * avr-tdep.c (avr_scan_prologue): Fix to avoid a buffer over run which | |
3917 | causes gdb to seg fault. | |
3918 | ||
eb01fc62 DJ |
3919 | 2003-06-14 Daniel Jacobowitz <[email protected]> |
3920 | ||
3921 | * sparc-nat.c (fetch_inferior_registers): Correct | |
3922 | a reference to "registers". | |
3923 | ||
3b3e6bee DJ |
3924 | 2003-06-14 Jeroen Dekkers <[email protected]> |
3925 | ||
3926 | * Makefile.in (exc_request_U_h): Define | |
3927 | (exc_request_S_h): Likewise. | |
3928 | (msg_reply_S_h): Likewise. | |
3929 | (msg_U_h): Likewise. | |
3930 | (notify_S_h): Likewise. | |
3931 | (process_reply_S_h): Likewise. | |
3932 | (gnu-nat.o): Depend on gdb_obstack_h | |
3933 | * gnu-nat.c: Include "gdb_obstack.h". | |
3934 | ||
b8de8283 AC |
3935 | 2003-06-13 Andrew Cagney <[email protected]> |
3936 | ||
3937 | * gdbarch.sh: Document what PUSH_DUMMY_CALL replaces. | |
3938 | * gdbarch.h, gdbarch.c: Re-generate. | |
8ffd9b1b | 3939 | |
f3be58bc AC |
3940 | 2003-06-13 Andrew Cagney <[email protected]> |
3941 | ||
3942 | * gdbarch.sh: Document what UNWIND_DUMMY_ID replaces. Clarify | |
3943 | when deprecated REGISTER macros can be deleted. | |
3944 | * gdbarch.h, gdbarch.c: Re-generate. | |
3945 | ||
4c0122c8 JB |
3946 | 2003-06-13 Jim Blandy <[email protected]> |
3947 | ||
3948 | * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC | |
3949 | Linux entry point symbols for _dl_debug_state, too. | |
3950 | ||
3e210248 AC |
3951 | 2003-06-13 Andrew Cagney <[email protected]> |
3952 | ||
3953 | * infcall.c (call_function_by_hand): When UNWIND_DUMMY_ID is | |
3954 | available, do not use the FP register, and always save the TOS. | |
3955 | * dummy-frame.c (dummy_frame_this_id): Do not assert | |
3956 | SAVE_DUMMY_FRAME_TOS. | |
3957 | * i386-tdep.c (i386_save_dummy_frame_tos): Delete function. | |
3958 | (i386_gdbarch_init): Do not set save_dummy_frame_tos. | |
3959 | (i386_push_dummy_call): Add 8 to the returned SP. | |
3960 | * frame.c (legacy_frame_p): Do not require SAVE_DUMMY_FRAME_TOS. | |
3961 | * d10v-tdep.c (d10v_unwind_dummy_id): Use d10v_unwind_sp. | |
3962 | (d10v_gdbarch_init): Do not set save_dummy_frame_tos. | |
3963 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos): Delete function. | |
3964 | (x86_64_push_dummy_call): Return "sp + 16". | |
3965 | (x86_64_init_abi): Do not set save_dummy_frame_tos. | |
3966 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
3967 | save_dummy_frame_tos. | |
3968 | ||
0b65af49 JB |
3969 | 2003-06-13 Jim Blandy <[email protected]> |
3970 | ||
3971 | * frv-tdep.c (frv_use_struct_convention): Delete static | |
3972 | declaration for function deleted in my change of 2003-06-12. | |
3973 | ||
4ea2465e TR |
3974 | 2003-06-13 Theodore A. Roth <[email protected]> |
3975 | ||
3976 | * avr-tdep.c (avr_address_to_pointer): Shift code addrs right 1 bit. | |
3977 | (avr_pointer_to_address): Shift code addrs left 1 bit. | |
3978 | (avr_convert_from_func_ptr_addr): Delete function since operation is | |
3979 | better handled by avr_address_to_pointer and avr_pointer_to_address. | |
3980 | (avr_gdbarch_init): Don't set convert_from_func_ptr_add method. | |
3981 | ||
1581182a MK |
3982 | 2003-06-13 Mark Kettenis <[email protected]> |
3983 | ||
3984 | From Kelley Cook <[email protected]>: | |
3985 | * configure.host: Accept i[34567]86 variants. | |
3986 | * configure.tgt: Likewise. | |
3987 | * nlm/configure.in: Likewise. | |
3988 | * nlm/configure: Regenerated. | |
3989 | ||
7aa1783e RE |
3990 | 2003-06-13 Richard Earnshaw <[email protected]> |
3991 | ||
3992 | * arm-tdep.c (solib-svr4.h): Dont' include it. | |
3993 | (arm_linux_svr4_fetch_link_map_offsets): Move to ... | |
3994 | * arm-linux-tdep.c: ... here. Make static. | |
3995 | (arm_linux_init_abi): Register it. | |
3996 | (solib-svr4.h): Include it. | |
3997 | * Makefile.in: Update dependencies. | |
3998 | * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete. | |
3999 | (arm_linux_svr4_fetch_link_map_offsets): Delete declaration. | |
4000 | ||
0261a0d0 CV |
4001 | 2003-06-13 Corinna Vinschen <[email protected]> |
4002 | ||
4003 | * h8300-tdep.c: Add definitions E_RET0_REGNUM and E_RET1_REGNUM to | |
4004 | indicate registers used for return values. | |
4005 | (struct frame_extra_info): Drop args_pointer and locals_pointer. | |
4006 | (h8300_examine_prologue): Remove initializing dropped frame_extra_info | |
4007 | members. | |
4008 | (h8300_init_extra_frame_info): Ditto. | |
4009 | (h8300_frame_locals_address): Removed. | |
4010 | (h8300_frame_args_address): Removed. | |
4011 | (h8300_extract_return_value): Use new regcache structure. Only care | |
4012 | for 16 bit CPUs. | |
4013 | (h8300h_extract_return_value): Same function for 32 bit CPUs. | |
4014 | (h8300_store_return_value): Use new regcache structure. Only care | |
4015 | for 16 bit CPUs. | |
4016 | (h8300h_store_return_value): Same function for 32 bit CPUs. | |
4017 | (h8300_store_struct_return): Removed. | |
4018 | (h8300_extract_struct_value_address): Use new regcache structure. | |
4019 | (h8300h_extract_struct_value_address): Removed. | |
4020 | (h8300_push_dummy_code): New function. | |
4021 | (h8300_gdbarch_init): Slightly rearranged to stress deprecated calls. | |
4022 | Remove call_dummy_words. Call set_gdbarch_extract_return_value and | |
4023 | set_gdbarch_store_return_value architecture dependent. | |
4024 | Call set_gdbarch_push_dummy_code and | |
4025 | set_gdbarch_extract_struct_value_address. | |
4026 | Remove calls to set_gdbarch_frame_args_address, | |
4027 | set_gdbarch_frame_locals_address, | |
4028 | set_gdbarch_deprecated_store_struct_return, | |
4029 | set_gdbarch_deprecated_extract_return_value, | |
4030 | set_gdbarch_deprecated_extract_struct_value_address, | |
4031 | set_gdbarch_deprecated_call_dummy_words and | |
4032 | set_gdbarch_deprecated_sizeof_call_dummy_words. | |
4033 | ||
055c394a CV |
4034 | 2003-06-13 Corinna Vinschen <[email protected]> |
4035 | ||
4036 | * h8300-tdep.c (h8300_register_byte): Remove. | |
4037 | (h8300h_register_byte): Remove. | |
4038 | (h8300_register_virtual_type): Remove. Substitute by... | |
4039 | (h8300_register_type): New function. | |
4040 | (h8300_extract_struct_value_address): Drop usage of h8300_register_byte. | |
4041 | (h8300h_extract_struct_value_address): Ditto. | |
4042 | (h8300_gdbarch_init): Drop calls to | |
4043 | set_gdbarch_deprecated_register_byte and | |
4044 | set_gdbarch_deprecated_register_virtual_type. | |
4045 | Add call to set_gdbarch_register_type. | |
4046 | ||
9c04cab7 AC |
4047 | 2003-06-13 Andrew Cagney <[email protected]> |
4048 | ||
4049 | * gdbarch.sh: Update comments on registers. | |
4050 | (deprecated_register_byte): Rename register_byte. | |
4051 | (deprecated_register_raw_size): Rename register_raw_size. | |
4052 | (deprecated_register_virtual_size): Rename register_virtual_size. | |
4053 | (deprecated_register_virtual_type): Rename register_virtual_type. | |
4054 | * gdbarch.h, gdbarch.c: Re-generate. | |
4055 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4056 | * vax-tdep.c (vax_gdbarch_init): Update. | |
4057 | * v850-tdep.c (v850_gdbarch_init): Update. | |
4058 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
4059 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4060 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4061 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4062 | * ns32k-tdep.c: Update. | |
4063 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4064 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4065 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4066 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
4067 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4068 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4069 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
4070 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4071 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4072 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4073 | * avr-tdep.c (avr_gdbarch_init): Update. | |
4074 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
4075 | * arm-tdep.c (arm_gdbarch_init): Update. | |
4076 | ||
b060cbea AC |
4077 | 2003-06-13 Andrew Cagney <[email protected]> |
4078 | ||
4079 | * mips-tdep.c (mips_gdbarch_init): Replace remaining instances of | |
4080 | mips_o32_use_struct_convention with always_use_struct_convention. | |
4081 | ||
0fc9922a DC |
4082 | 2003-06-12 David Carlton <[email protected]> |
4083 | ||
4084 | * cp-namespace.c (cp_set_block_scope): Comment out | |
4085 | processing_has_namespace_info branch. | |
4086 | ||
1fd35568 JB |
4087 | 2003-06-12 Jim Blandy <[email protected]> |
4088 | ||
f470a70a JB |
4089 | Recognize and skip 64-bit PowerPC Linux linkage functions. |
4090 | * ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct | |
4091 | insn_pattern, insns_match_pattern, d_field, ds_field): New | |
4092 | functions, macros, and types for working with PPC instructions. | |
4093 | (ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN, | |
4094 | ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target, | |
4095 | ppc64_skip_trampoline_code): New functions, variables, and macros | |
4096 | for recognizing and skipping linkage functions. | |
4097 | (ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and | |
4098 | ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI. | |
4099 | ||
49ff75ad JB |
4100 | * ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-area |
4101 | register offsets for both the 32- and 64-bit interfaces. | |
4102 | ||
bd918c83 JB |
4103 | Actually finish the job started by my change of 2003-05-29. |
4104 | * config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the | |
4105 | other #definition of this. | |
4106 | (ppc_linux_skip_trampoline_code): Remove declaration. | |
4107 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this | |
4108 | static. | |
4109 | (ppc_linux_init_abi): Register it as the skip_trampoline_code | |
4110 | method for GDBARCH. | |
4111 | ||
4112 | * config/powerpc/nm-ppc64-linux.h (PTRACE_XFER_TYPE): This is | |
4113 | 'long' on ppc64-*-linux*. | |
4114 | ||
f8c59253 JB |
4115 | * ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ |
4116 | isn't #defined, assume the register doesn't exist: act as if | |
4117 | tdep->ppc_mq_regnum were -1. | |
4118 | ||
8fbb30b1 JB |
4119 | * configure.host, configure.tgt: Add entries for |
4120 | powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and | |
4121 | powerpc/linux.mt. | |
4122 | * config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh: | |
4123 | New files. | |
4124 | ||
1fd35568 JB |
4125 | * arch-utils.c (always_use_struct_convention): New function. |
4126 | * arch-utils.h (always_use_struct_convention): New prototype. | |
4127 | * alpha-tdep.c (alpha_use_struct_convention): Delete. | |
4128 | (alpha_gdbarch_init): Register always_use_struct_convention, | |
4129 | instead of alpha_use_struct_convention. | |
4130 | * cris-tdep.c (cris_use_struct_convention): Delete. | |
4131 | (cris_gdbarch_init): Register always_use_struct_convention, | |
4132 | instead of cris_use_struct_convention. | |
4133 | * frv-tdep.c (frv_use_struct_convention): Delete. | |
4134 | (frv_gdbarch_init): Register always_use_struct_convention, | |
4135 | instead of frv_use_struct_convention. | |
4136 | * h8300-tdep.c (h8300_use_struct_convention): Delete. | |
4137 | (h8300_gdbarch_init): Register always_use_struct_convention, | |
4138 | instead of h8300_use_struct_convention. | |
e3305dd9 | 4139 | * mips-tdep.c (mips_o32_use_struct_convention): Delete. |
1fd35568 JB |
4140 | (mips_o32_gdbarch_init): Register always_use_struct_convention, |
4141 | instead of mips_o32_use_struct_convention. | |
4142 | ||
e14e6e9c AC |
4143 | 2003-06-12 Andrew Cagney <[email protected]> |
4144 | ||
4145 | * wince.c: Include "mips-tdep.h". | |
4146 | * mips-tdep.h (mips_next_pc): Declare. | |
4147 | * mcore-tdep.c: Make more local functions static. | |
4148 | * Makefile.in (wince.o): Update dependencies. | |
4149 | ||
2335f48e DC |
4150 | 2003-06-12 David Carlton <[email protected]> |
4151 | ||
4152 | * symtab.c (lookup_symbol_aux_minsyms): Replace | |
4153 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
4154 | (find_pc_sect_line, search_symbols, rbreak_command): Ditto. | |
4155 | (COMPLETION_LIST_ADD_SYMBOL): Rewrite in terms of | |
4156 | SYMBOL_NATURAL_NAME. | |
4157 | ||
f70a7d61 AS |
4158 | 2003-06-12 Andreas Schwab <[email protected]> |
4159 | ||
4160 | * Makefile.in (tuiDisassem.o): Update dependencies. | |
4161 | ||
b6429628 DC |
4162 | 2003-06-12 David Carlton <[email protected]> |
4163 | ||
4164 | * symtab.h: Delete declaration of make_symbol_overload_list. | |
4165 | Add declaration of lookup_partial_symbol. | |
4166 | * symtab.c (remove_params): Move to cp-support.c. | |
4167 | (overload_list_add_symbol, make_symbol_overload_list) | |
4168 | (sym_return_val_size, sym_return_val_index): Ditto. | |
4169 | (lookup_partial_symbol): Make extern. | |
4170 | * cp-support.h: Add declaration of make_symbol_overload_list. | |
4171 | * cp-support.c: Include dictionary.h, objfiles.h, frame.h, | |
4172 | symtab.h, and block.h. | |
4173 | (remove_params): Move here from symtab.c. | |
4174 | (overload_list_add_symbol, make_symbol_overload_list) | |
4175 | (sym_return_val_size, sym_return_val_index): Ditto. | |
4176 | * valops.c: Include cp-support.h. | |
4177 | * Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h, | |
4178 | frame_h, and block_h. | |
4179 | (valops.o): Depend on cp_support_h. | |
4180 | ||
084edea5 CV |
4181 | 2003-06-12 Corinna Vinschen <[email protected]> |
4182 | ||
4183 | * h8300-tdep.c: Add H8SX registers. Drop E_NUM_REGS entirely, | |
4184 | substitute by NUM_REGS throughout. | |
4185 | (h8300_register_name): Only care for H8/300 and H8/300H registers. | |
4186 | (h8300s_register_name): New function for H8S registers. | |
4187 | (h8300sx_register_name): Ditto for H8SX registers. | |
4188 | (h8300_print_register): Revise register printing, avoid depending | |
4189 | on 32 bit long. | |
0261a0d0 | 4190 | (h8300_register_byte): Only care for H8/300 registers. |
084edea5 CV |
4191 | (h8300h_register_byte): New function for any other architecture. |
4192 | (h8300_register_raw_size): Remove. | |
4193 | (h8300_register_virtual_type): Revise to return actually useful | |
4194 | type. | |
4195 | (h8300_extract_struct_value_address): Only care for H8/300 registers. | |
4196 | (h8300h_extract_struct_value_address): New function for any other | |
4197 | architecture. | |
4198 | (h8300_gdbarch_init): Add h8300sxn. Call set_gdbarch_num_regs, | |
4199 | set_gdbarch_register_name, set_gdbarch_register_byte, | |
4200 | set_gdbarch_ptr_bit and set_gdbarch_addr_bit architecture dependent. | |
4201 | Remove calls to set_gdbarch_deprecated_register_size, | |
4202 | set_gdbarch_deprecated_register_bytes, set_gdbarch_register_raw_size, | |
4203 | set_gdbarch_deprecated_max_register_raw_size, | |
4204 | set_gdbarch_register_virtual_size and | |
4205 | set_gdbarch_deprecated_max_register_virtual_size entirely. | |
4206 | Call set_gdbarch_long_long_bit, set_gdbarch_double_bit and | |
4207 | set_gdbarch_long_double_bit. | |
4208 | ||
06194148 JJ |
4209 | 2003-06-11 Jeff Johnston <[email protected]> |
4210 | ||
8ffd9b1b AJ |
4211 | * doublest.c (convert_doublest_to_floatformat): When dealing |
4212 | with the implied integer bit, only alter mant_bits if we are | |
06194148 JJ |
4213 | processing a full 32 bits of mantissa. |
4214 | ||
de4f826b DC |
4215 | 2003-06-11 David Carlton <[email protected]> |
4216 | ||
4217 | * dictionary.h: New. | |
4218 | * dictionary.c: New. | |
4219 | * block.h: Add opaque declaration for struct dictionary. | |
4220 | (struct block): Add 'dict' member; delete 'hashtable', 'nsyms', | |
4221 | 'sym' members. | |
4222 | (BLOCK_DICT): New macro. | |
4223 | Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM, | |
4224 | BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE, | |
4225 | BLOCK_SHOULD_SORT. | |
4226 | (ALL_BLOCK_SYMBOLS): Update definition. | |
4227 | * Makefile.in (SFILES): Add dictionary.c. | |
4228 | (dictionary_h): New. | |
4229 | (COMMON_OBS): Add dictionary.o. | |
4230 | (dictionary.o): New. | |
4231 | (ada-lang.o): Depend on dictionary_h. | |
4232 | (buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o) | |
4233 | (stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o) | |
4234 | (mi-cmd-stack.o): Ditto. | |
4235 | (gdbtk-cmds.o): Update dependencies. | |
4236 | (gdbtk-stack.o): Ditto. | |
4237 | * ada-lang.c: Include dictionary.h. | |
4238 | (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS. | |
4239 | (fill_in_ada_prototype, debug_print_block): Ditto. | |
4240 | (ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace | |
4241 | explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable | |
4242 | 'is_sorted'. | |
4243 | * mdebugread.c: Include dictionary.h. | |
4244 | (struct parse_stack): Delete 'maxsyms' member. | |
4245 | (parse_symbol): Update calls to new_block. Delete calls to | |
4246 | shrink_block. Use dictionary methods. | |
4247 | (psymtab_to_symtab_1): Delete calls to sort_symtab_syms. | |
4248 | Update calls to new_symtab. Don't maintain maxsyms data. | |
4249 | (mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS. | |
4250 | (add_symbol): Just call dict_add_symbol. | |
4251 | (new_symtab): Delete 'maxsyms' argument. | |
4252 | (new_symtab): Update calls to new_block. | |
4253 | (new_block): Delete 'maxsyms' argument; add 'function' argument. | |
4254 | (shrink_block): Delete function. | |
4255 | (fixup_sigtramp): Update call to new_block. Add symbol via | |
4256 | dict_add_symbol. | |
4257 | * jv-lang.c: Include dictionary.h. | |
4258 | (get_java_class_symtab): Set the BLOCK_DICT of the blocks | |
4259 | appropriately. Set class_symtab->free_func. Make sure the | |
4260 | blockvector is big enough to hold two blocks. | |
4261 | (add_class_symtab_symbol): Use dictionary methods. | |
4262 | (free_class_block): New function. | |
4263 | (type_from_class): Replace explicit iteration by | |
4264 | ALL_BLOCK_SYMBOLS. | |
4265 | * symtab.h (struct symtab): Replace 'free_ptr' method by | |
4266 | 'free_func'. | |
4267 | * dwarf2read.c (psymtab_to_symtab_1): Delete call to | |
4268 | sort_symtab_syms. | |
4269 | * dwarfread.c (psymtab_to_symtab_1): Delete call to | |
4270 | sort_symtab_syms. | |
4271 | * coffread.c (coff_symfile_read): Delete call to sort_symtab_syms. | |
4272 | Include dictionary.h. | |
4273 | (patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS. | |
4274 | * dbxread.c (dbx_psymtab_to_symtab_1): Delete call to | |
4275 | sort_symtab_syms. | |
4276 | * objfiles.c: Include dictionary.h. | |
4277 | (objfile_relocate): Update use of ALL_BLOCK_SYMBOLS. | |
4278 | * buildsym.c: Include dictionary.h. | |
4279 | (finish_block): Use dictionary methods. | |
4280 | (end_symtab): Set free_func to NULL, not free_ptr. | |
4281 | * tracepoint.c: Include dictionary.h. | |
4282 | (add_local_symbols): Update use of ALL_BLOCK_SYMBOLS. | |
4283 | (scope_info): Ditto. | |
4284 | * stack.c: Include dictionary.h. | |
4285 | (print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS. | |
4286 | (print_block_frame_labels, print_frame_arg_vars) | |
4287 | (print_frame_args): Ditto. | |
4288 | * symmisc.c (free_symtab_block): Use dictionary methods. | |
4289 | (dump_symtab): Ditto. | |
4290 | (free_symtab): Replace use of 'free_ptr' by 'free_func'. | |
4291 | Include dictionary.h. | |
4292 | * symfile.h: Delete declarations of sort_block_syms, | |
4293 | sort_symtab_syms. | |
4294 | * symfile.c (sort_block_syms): Delete. | |
4295 | (sort_symtab_syms): Delete. | |
4296 | * symtab.c: Include dictionary.h. | |
4297 | (lookup_block_symbol): Use dictionary iterators. | |
4298 | (find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS. | |
4299 | (search_symbols, make_symbol_completion_list): Ditto. | |
4300 | (make_symbol_overload_list): Ditto. | |
4301 | * valops.c (value_of_local): Use dict_empty. | |
4302 | Include dictionary.h. | |
4303 | ||
a31f978c JB |
4304 | 2003-06-11 J. Brobecker <[email protected]> |
4305 | ||
4306 | * win32-nat.c (solib_symbols_add): Fix a small compilation error. | |
4307 | ||
526e70c0 DC |
4308 | 2003-06-11 David Carlton <[email protected]> |
4309 | ||
4310 | * block.h (BLOCK_SHOULD_SORT): Delete. | |
4311 | * symtab.c (lookup_block_symbol): Don't worry about sorted linear | |
4312 | blocks. | |
4313 | * ada-lang.c (ada_add_block_symbols): Ditto. | |
4314 | * symfile.c (sort_block_syms): Delete. | |
4315 | (sort_symtab_syms): Ditto. | |
4316 | * symfile.h: Delete sort_symtabs_syms and sort_block_syms | |
4317 | declarations. | |
4318 | * coffread.c (coff_symfile_read): Don't call sort_symtab_syms. | |
4319 | * dbxread.c (dbx_psymtab_to_symtab_1): Ditto. | |
4320 | * dwarf2read.c (psymtab_to_symtab_1): Ditto. | |
4321 | * dwarfread.c (psymtab_to_symtab_1): Ditto. | |
4322 | * hpread.c (hpread_psymtab_to_symtab_1): Ditto. | |
4323 | * mdebugread.c (psymtab_to_symtab_1): Ditto. | |
4324 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto. | |
4325 | ||
33c08150 JJ |
4326 | 2003-06-11 Jeff Johnston <[email protected]> |
4327 | ||
8ffd9b1b | 4328 | * ia64-tdep.c (ia64_gdbarch_init): Set number of long double |
33c08150 JJ |
4329 | bits to 128. |
4330 | ||
781a750d AC |
4331 | 2003-06-11 Andrew Cagney <[email protected]> |
4332 | ||
4333 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate | |
4334 | REGISTER_CONVERTIBLE. | |
4335 | (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same. | |
4336 | (DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant. | |
4337 | * gdbarch.h, gdbarch.c: Re-generate. | |
4338 | * arch-utils.h (deprecated_register_convertible_not): Rename | |
4339 | generic_register_convertible_not. | |
4340 | * arch-utils.c (deprecated_register_convertible_not): Rename | |
4341 | generic_register_convertible. | |
4342 | (legacy_convert_register_p, legacy_register_to_value): Update. | |
4343 | * sh-tdep.c (sh64_push_arguments): Update. | |
4344 | * m68klinux-tdep.c (m68k_linux_extract_return_value): Update. | |
4345 | * config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update. | |
4346 | * m68klinux-tdep.c (m68k_linux_store_return_value): Update. | |
4347 | * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update. | |
4348 | * arch-utils.c (legacy_value_to_register): Update. | |
4349 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4350 | (rs6000_register_convert_to_raw): Make parameter "from" const. | |
4351 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4352 | (mips_register_convert_to_raw): Make parameter"virt_buf" const. | |
4353 | * infcmd.c (default_print_registers_info): Update. | |
4354 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4355 | (ia64_register_convert_to_raw): Make parameter "from" const. | |
4356 | * i386-tdep.c (i386_gdbarch_init): Update. | |
4357 | (i386_register_convert_to_raw): Update. | |
4358 | ||
cd90e54f AC |
4359 | 2003-06-11 Andrew Cagney <[email protected]> |
4360 | ||
4361 | * remote-fileio.c: Include "remote-fileio.h". | |
4362 | * Makefile.in (remote-fileio.o): Update dependencies. | |
4363 | (remote_fileio_h): Fix typo. | |
4364 | ||
a78f21af AC |
4365 | 2003-06-11 Andrew Cagney <[email protected]> |
4366 | ||
4367 | * xstormy16-tdep.c (xstormy16_push_return_address): Make static. | |
4368 | (xstormy16_save_dummy_frame_tos): Make static. | |
4369 | (_initialize_xstormy16_tdep): Add declaration. | |
4370 | * vax-tdep.c (_initialize_vax_tdep): Add declaration. | |
4371 | * v850-tdep.c: Make local functions static. | |
4372 | (_initialize_v850_tdep): Add declaration. | |
4373 | * sparc-tdep.c: Make local functions static. | |
4374 | (_initialize_sparc_tdep): Add declaration. | |
4375 | * sh-tdep.c: Make local functions static. | |
4376 | (_initialize_sh_tdep): Add declaration. | |
4377 | * sh3-rom.c (_initialize_sh3_rom): Add declaration. | |
4378 | * s390-tdep.c: Make local functions static. | |
4379 | (_initialize_s390_tdep): Add declaration. | |
4380 | * dbxread.c (find_stab_function_addr): Make static. | |
4381 | * ppc-bdm.c (_initialize_bdm_ppc): Add declaration. | |
4382 | * ocd.c (_initialize_remote_ocd): Add declaration. | |
4383 | * dink32-rom.c (_initialize_dink32_rom): Add declaration. | |
4384 | * ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration. | |
4385 | * ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration. | |
4386 | * ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration. | |
4387 | * mips-tdep.c (_initialize_mips_tdep): Add declaration. | |
4388 | * remote-array.c (_initialize_array): Add declaration. | |
4389 | (_initialize_remote_monitors): Add declaration. | |
4390 | * remote-mips.c: Make local functions static. | |
4391 | (_initialize_remote_mips): Add declaration. | |
4392 | * mcore-tdep.c: Make all local functions static. | |
4393 | (_initialize_mcore_tdep): Add declaration. | |
4394 | * dbug-rom.c (_initialize_dbug_rom): Add declaration. | |
4395 | * abug-rom.c (_initialize_abug_rom): Add declaration. | |
4396 | * rom68k-rom.c (_initialize_rom68k): Add declaration. | |
4397 | * cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration. | |
4398 | * m68k-tdep.c (_initialize_m68k_tdep): Add declaration. | |
4399 | * remote-est.c (_initialize_est): Add declaration. | |
4400 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration. | |
4401 | (m68hc11_call_dummy_address): Make static. | |
4402 | * ia64-tdep.c: Make local functions static. | |
4403 | (_initialize_ia64_tdep): Add declaration. | |
4404 | * solib-legacy.c (_initialize_svr4_lm): Add declaration. | |
4405 | * monitor.c (monitor_wait_filter): Make static. | |
4406 | (_initialize_remote_monitors): Add declaration. | |
4407 | * remote-hms.c (_initialize_remote_hms): Add declaration. | |
4408 | * remote-e7000.c (fetch_regs_from_dump): Make static. | |
4409 | (expect_n): Make static. | |
4410 | (_initialize_remote_e7000): Add declaration. | |
4411 | * ser-e7kpc.c: Always include "defs.h". | |
4412 | (_initialize_ser_e7000pc): Add declaration. | |
4413 | * h8300-tdep.c (_initialize_h8300_tdep): Add declaration. | |
4414 | * cris-tdep.c: Make all but one function static. | |
4415 | (_initialize_cris_tdep): Add declaration. | |
4416 | * solib-svr4.c (_initialize_svr4_solib): Add declaration. | |
4417 | * solib.c (update_solib_list): Make static. | |
4418 | (_initialize_solib): Add declaration. | |
4419 | * avr-tdep.c (avr_breakpoint_from_pc): Make static. | |
4420 | (_initialize_avr_tdep): Add declaration. | |
4421 | * remote-rdi.c (voiddummy): Make static. | |
4422 | (_initialize_remote_rdi): Add declaration. | |
4423 | * arm-tdep.c (_initialize_arm_tdep): Add declaration. | |
4424 | * remote-rdp.c (send_rdp): Make static. | |
4425 | (_initialize_remote_rdp): Add declaration. | |
4426 | * alpha-tdep.c (_initialize_alpha_tdep): Add declaration. | |
4427 | ||
cbcdb1f5 CV |
4428 | 2003-06-11 Corinna Vinschen <[email protected]> |
4429 | ||
4430 | * remote-fileio.c: Make ari happy. | |
4431 | ||
a191ea8d JB |
4432 | 2003-06-10 J. Brobecker <[email protected]> |
4433 | ||
4434 | * rs6000-nat.c (child_xfer_memory): Compute the right address when | |
4435 | fetching the trailing bytes of the buffer we are about to write. | |
4436 | ||
0ef75e11 AC |
4437 | 2003-06-10 Andrew Cagney <[email protected]> |
4438 | ||
4439 | * remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H. | |
4440 | * Makefile.in (remote-fileio.o): Update dependencies. | |
4441 | * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not | |
4442 | include <setjmp.h>, or <sys/types.h> conditional on USG. | |
4443 | (remote_fio_jmp_buf): Delete global variable. | |
4444 | ||
449092f6 | 4445 | 2003-06-10 Corinna Vinschen <[email protected]> |
559fa028 | 4446 | Martin M. Hunt <[email protected]> |
449092f6 | 4447 | |
559fa028 AC |
4448 | * Makefile.in (REMOTE_OBS): Add remote-fileio.o |
4449 | (SFILES): Add remote-fileio.c. | |
4450 | Add dependencies for building remote-fileio.o. Add remote-fileio.h to | |
4451 | dependencies for building remote.o. | |
449092f6 CV |
4452 | * remote-fileio.c: New file implementing the remote File-I/O protocol. |
4453 | * remote-fileio.h: New header file defining remote File-I/O interface. | |
8ffd9b1b | 4454 | * remote.c (remote_write_bytes, remote_read_bytes): Remove |
449092f6 CV |
4455 | static storage class. |
4456 | (remote_wait, remote_async_wait): Call remote_fileio_request() on | |
4457 | 'F' packet. | |
4458 | (_initialize_remote): Call initialize_remote_fileio(). | |
4459 | * remote.h: Declare remote_write_bytes() and remote_read_bytes(). | |
449092f6 CV |
4460 | * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin. |
4461 | * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin. | |
4462 | (captured_main): Initialize new ui_files. | |
4463 | * ui-file.c: Add read and fgets input functions. | |
4464 | (ui_file_new): set ui_file_fputs and ui_file_read to null functions. | |
4465 | (null_file_read): New function. | |
4466 | (ui_file_read): New function. | |
4467 | (set_ui_file_read): New function. | |
4468 | (stdio_file_read): New function. | |
4469 | * ui-file.h: New type ui_file_read_ftype. | |
4470 | (set_ui_file_read): Declare. | |
4471 | (ui_file_read): Declare. | |
4472 | ||
248de703 AC |
4473 | 2003-06-09 Andrew Cagney <[email protected]> |
4474 | ||
4475 | * frame.h (deprecated_unwind_get_saved_register): Rename | |
4476 | generic_unwind_get_saved_register, update comments. | |
4477 | * mips-tdep.c (mips_get_saved_register): Update. | |
4478 | * frame.c (deprecated_unwind_get_saved_register): Update. | |
4479 | ||
0ed8aa57 AC |
4480 | 2003-06-09 Andrew Cagney <[email protected]> |
4481 | ||
4482 | * vax-tdep.c (vax_frame_locals_address): Delete function. | |
4483 | (vax_gdbarch_init): Do not set frame_locals_address. | |
4484 | * m68hc11-tdep.c (m68hc11_frame_locals_address): Delete function. | |
4485 | (m68hc11_gdbarch_init): Do not set frame_locals_address. | |
4486 | * s390-tdep.c (s390_frame_args_address): Delete function. | |
4487 | (s390_gdbarch_init): Do not set frame_args_address or | |
4488 | frame_locals_address. | |
4489 | * ns32k-tdep.c (ns32k_frame_locals_address): Delete. | |
4490 | (ns32k_gdbarch_init): Do not set frame_locals_address. | |
4491 | * hppa-tdep.c (hppa_frame_args_address): Delete function. | |
4492 | (hppa_frame_locals_address): Delete function. | |
4493 | (hppa_gdbarch_init): Do not set frame_args_address, or | |
4494 | frame_locals_address. | |
4495 | * arm-tdep.c (arm_frame_args_address): Delete. | |
4496 | (arm_frame_locals_address): Delete. | |
4497 | (arm_gdbarch_init): Do not set frame_args_address, or | |
4498 | frame_locals_address. | |
4499 | ||
983a287a AC |
4500 | 2003-06-09 Andrew Cagney <[email protected]> |
4501 | ||
4502 | * gdbarch.sh (FRAME_NUM_ARGS): Change to function with predicate. | |
4503 | * gdbarch.h, gdbarch.c: Re-generate. | |
4504 | * arch-utils.h (frame_num_args_unknown): Delete both declarations. | |
4505 | * arch-utils.c (frame_num_args_unknown): Delete function. | |
4506 | * stack.c (print_args_stub): Use FRAME_NUM_ARGS_P. | |
4507 | (frame_info): Use FRAME_NUM_ARGS_P. | |
4508 | * arm-tdep.c (arm_frame_num_args): Delete function. | |
4509 | (arm_gdbarch_init): Do not set frame_num_args. | |
4510 | * config/pa/tm-hppa64.h (FRAME_NUM_ARGS): Delete. | |
4511 | * hppa-tdep.c (hppa_frame_num_args): Delete function. | |
4512 | (hppa_gdbarch_init): Do not set frame_num_args. | |
4513 | * config/sparc/tm-sparc.h (FRAME_NUM_ARGS): Delete. | |
4514 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
4515 | frame_num_args to default frame_num_args_unknown. | |
4516 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
4517 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
4518 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4519 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
4520 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
4521 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
4522 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
4523 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
4524 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
4525 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4526 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
4527 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
4528 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
4529 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
4530 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
4531 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
4532 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
4533 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
4534 | ||
8d3b0994 AC |
4535 | 2003-06-09 Andrew Cagney <[email protected]> |
4536 | ||
4537 | * printcmd.c (print_frame_nameless_args): Moved to "stack.c". | |
4538 | (print_frame_args): Moved to "stack.c". | |
4539 | * stack.c: Include "gdb_assert.h". | |
4540 | (print_frame_nameless_args): Moved from "printcmd.c", made static. | |
4541 | (print_frame_args): Moved from "printcmd.c". | |
4542 | * frame.h (print_frame_args): Delete declaration. | |
4543 | * Makefile.in (stack.o): Update dependencies. | |
4544 | ||
25e3a86b AC |
4545 | 2003-06-08 Andrew Cagney <[email protected]> |
4546 | ||
4547 | * frame.c (get_prev_frame): Remove reference to | |
4548 | frame_args_address_correct in comments. | |
4549 | * frame-base.c (default_frame_args_address): Delete code | |
4550 | conditional on FRAME_ARGS_ADDRESS_CORRECT. | |
4551 | * vax-tdep.c (vax_frame_args_address_correct): Delete. | |
4552 | (vax_frame_args_address): Merge in vax_frame_args_address_correct. | |
4553 | * config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete | |
4554 | (vax_frame_args_address_correct): Delete declaration. | |
4555 | ||
a9e5fdc2 AC |
4556 | 2003-06-08 Andrew Cagney <[email protected]> |
4557 | ||
4558 | * gdbarch.sh (UNWIND_SP): Add. | |
4559 | * gdbarch.h, gdbarch.c: Re-generate. | |
4560 | * frame.c (frame_sp_unwind): New function. | |
4561 | (get_frame_sp): New function. | |
4562 | * frame.h (get_frame_sp, frame_sp_unwind): Declare. | |
4563 | * regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP, | |
4564 | gdbarch_unwind_sp and SP_REGNUM when looking for the SP register | |
4565 | value. | |
4566 | * d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp. | |
4567 | (d10v_gdbarch_init): Set unwind_sp instead of read_sp. | |
4568 | ||
8983bd83 AC |
4569 | 2003-06-08 Andrew Cagney <[email protected]> |
4570 | ||
7fec2c59 AC |
4571 | Deprecate BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT and |
4572 | REMOTE_BREAKPOINT. | |
4573 | * remote.c: Update. | |
4574 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT): Update. | |
4575 | (DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Update. | |
4576 | * config/m68k/tm-sun3.h: Update. | |
4577 | * config/m68k/tm-m68klynx.h: Update. | |
4578 | * config/h8300/tm-h8300.h (DEPRECATED_REMOTE_BREAKPOINT): Update. | |
4579 | ||
8983bd83 AC |
4580 | * trad-frame.h (struct trad_frame_saved_reg): Rename "struct |
4581 | trad_frame". Update comments. | |
4582 | * d10v-tdep.c (struct d10v_unwind_cache): Update. | |
4583 | * trad-frame.c (trad_frame_alloc_saved_regs): Update. | |
4584 | (trad_frame_register_value, trad_frame_prev_register): Update. | |
4585 | ||
b9362cc7 AC |
4586 | 2003-06-08 Andrew Cagney <[email protected]> |
4587 | ||
4588 | * acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen | |
4589 | from GCC's acinclude.m4. | |
4590 | * configure.in: Check for getopt's delcaration. | |
8ffd9b1b | 4591 | * aclocal.m4, config.in, configure: Re-generate. |
b9362cc7 AC |
4592 | * main.c (error_init): Delete declaration. |
4593 | * defs.h (error_init): Declare. | |
4594 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static. | |
4595 | (rs6000_convert_from_func_ptr_addr): Make static. | |
4596 | (_initialize_rs6000_tdep): Add declaration. | |
4597 | * cli/cli-cmds.c (dont_repeat): Delete declaration. | |
4598 | (show_commands, set_verbose, show_history): Delete declaration. | |
4599 | * top.h (set_verbose): Add declaration. | |
4600 | (show_history, set_history, show_commands): Add declaration. | |
4601 | (do_restore_instream_cleanup): Add declaration. | |
4602 | * objc-lang.c (specialcmp): Make static. | |
4603 | (print_object_command): Make static. | |
4604 | (find_objc_msgsend): Make static. | |
4605 | (find_objc_msgcall_submethod_helper): Make static. | |
4606 | (find_objc_msgcall_submethod): Make static. | |
4607 | (_initialize_objc_language): Add declaration. | |
4608 | (find_implementation_from_class): Make static. | |
4609 | (find_implementation): Make static. | |
4610 | * objc-exp.y (yylex): Delete lookup_struct_typedef declaration. | |
4611 | * objc-lang.h (lookup_struct_typedef): Add declaration. | |
4612 | * cli/cli-interp.c (_initialize_cli_interp): Add declaration. | |
4613 | * cli/cli-script.c (clear_hook_in_cleanup): Make static. | |
4614 | (do_restore_user_call_depth): Make static. | |
4615 | (do_restore_instream_cleanup): Delete declaration. | |
4616 | (dont_repeat): Delete declaration. | |
4617 | * cli/cli-decode.c (add_abbrev_cmd): Delete function. | |
4618 | * cli/cli-dump.c (_initialize_cli_dump): Add declaration. | |
4619 | * reggroups.c (_initialize_reggroup): Add declaration. | |
4620 | * cp-support.c (_initialize_cp_support): Add declaration. | |
4621 | * cp-abi.c (_initialize_cp_abi): Add declaration. | |
4622 | * hpacc-abi.c (_initialize_hpacc_abi): Add declaration. | |
4623 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Make static. | |
4624 | (_initialize_gnu_v3_abi): Add declaration. | |
4625 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Make static. | |
4626 | (_initialize_gnu_v2_abi): Add declaration. | |
4627 | * frame-base.c (_initialize_frame_base): Add declaration. | |
4628 | * doublest.c (floatformat_from_length): Make static. | |
4629 | * frame-unwind.c (_initialize_frame_unwind): Add declaration. | |
4630 | * frame.c (create_sentinel_frame): Make static. | |
4631 | (_initialize_frame): Add declaration. | |
4632 | * top.c (do_catch_errors): Make static. | |
4633 | (gdb_rl_operate_and_get_next_completion): Make static. | |
4634 | * typeprint.c: Include "typeprint.h". | |
4635 | * sentinel-frame.c (sentinel_frame_prev_register): Make static. | |
4636 | (sentinel_frame_this_id): Make static. | |
4637 | * p-valprint.c (_initialize_pascal_valprint): Add declaration. | |
4638 | * ui-out.c (make_cleanup_ui_out_begin_end): Delete function. | |
4639 | * dwarf2-frame.c (dwarf2_frame_cache): Make static. | |
4640 | * p-exp.y (push_current_type, pop_current_type): ISO C declaration. | |
4641 | * dwarf2expr.h (dwarf_expr_context): ISO C declaration. | |
4642 | * maint.c (maintenance_print_architecture): Make static. | |
4643 | * signals/signals.c (_initialize_signals): Add declaration. | |
4644 | * std-regs.c (_initialize_frame_reg): Add declaration. | |
4645 | * jv-exp.y (push_variable): ISO C definition. | |
4646 | (push_qualified_expression_name): Ditto. | |
4647 | * memattr.c (_initialize_mem): Add declaration. | |
4648 | * remote.c (remote_check_watch_resources): Make static. | |
4649 | (remote_stopped_by_watchpoint): Make static. | |
4650 | (remote_stopped_data_address): Make static. | |
4651 | * d10v-tdep.c (nr_dmap_regs): Make static. | |
4652 | (a0_regnum): Make static. | |
4653 | (d10v_frame_unwind_cache): Make static. | |
4654 | (d10v_frame_p): Make static. | |
4655 | * osabi.c (show_osabi): Make static. | |
4656 | (_initialize_gdb_osabi): Add extern declaration. | |
4657 | * gdbtypes.c (make_qualified_type): Make static. | |
4658 | (safe_parse_type): Make static. | |
4659 | * macrocmd.c (_initialize_macrocmd): Add extern declaration. | |
4660 | * macrotab.c (macro_bcache_free): Make static. | |
4661 | * interps.c (interp_set_quiet): Make static. | |
4662 | (interpreter_exec_cmd): Make static. | |
4663 | * stack.h (select_frame_command): New file. | |
4664 | * stack.c: Include "stack.h". | |
4665 | (select_frame_command_wrapper): Delete function. | |
4666 | (select_frame_command): Make global. | |
4667 | * infcall.c: Include "infcall.h". | |
4668 | * linespec.c: Include "linespec.h". | |
4669 | * symfile.c (sections_overlap): Make static. | |
4670 | * cp-support.h (cp_initialize_namespace): ISO C declaration. | |
4671 | * charset.c (_initialize_charset): Add missing prototype. | |
4672 | * regcache.c (init_legacy_regcache_descr): Make static. | |
4673 | (do_regcache_xfree): Make static. | |
4674 | (regcache_xfer_part): Make static. | |
4675 | (_initialize_regcache): Add missing prototype. | |
4676 | * breakpoint.c (parse_breakpoint_sals): Make static. | |
4677 | (breakpoint_sals_to_pc): Make static. | |
4678 | * interps.h (clear_interpreter_hooks): ISO C declaration. | |
4679 | * Makefile.in (stack_h): Define. | |
4680 | (stack.o, typeprint.o, mi-main.o): Update dependencies. | |
4681 | (mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies. | |
4682 | ||
a0f267c7 AC |
4683 | 2003-06-08 Andrew Cagney <[email protected]> |
4684 | ||
4685 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
4686 | (SFILES): Add trad-frame.c. | |
4687 | (trad_frame_h): Define. | |
4688 | (COMMON_OBS): Add trad-frame.o. | |
4689 | (trad-frame.o): Specify dependencies. | |
4690 | * d10v-tdep.c: Include "trad-frame.h". | |
4691 | (saved_regs_unwinder): Delete function. | |
4692 | (d10v_frame_prev_register): Use trad_frame_prev_register. | |
4693 | (struct d10v_unwind_cache): Change type of "saved_regs" to "struct | |
4694 | trad_frame", delete "regs" and "prev_sp". | |
4695 | (prologue_find_regs): Use trad-frame. | |
4696 | * trad-frame.h, trad-frame.c: New files. | |
4697 | ||
4538b4f4 MK |
4698 | 2003-06-08 Mark Kettenis <[email protected]> |
4699 | ||
4700 | * dwarf2cfi.c, dwarf2cfi.h: Remove. | |
4701 | ||
a0273b2f AF |
4702 | 2003-06-07 Adam Fedor <[email protected]> |
4703 | ||
4704 | * gdb/objc-lang.c (FETCH_ARGUMENT): Remove macro. | |
4705 | (OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for | |
4706 | using FETCH_POINTER_ARGUMENT with Objective-C method arguments. | |
4707 | (find_implementation, resolve_msgsend, resolve_msgsend_stret, | |
8ffd9b1b | 4708 | resolve_msgsend_super, resolve_msgsend_super_stret): |
a0273b2f AF |
4709 | Use it. |
4710 | ||
3a6c3343 AC |
4711 | 2003-06-07 Andrew Cagney <[email protected]> |
4712 | ||
4713 | * symfile.h: Re-indent, clean up comments. | |
4714 | ||
b46e02f6 AC |
4715 | 2003-06-07 Andrew Cagney <[email protected]> |
4716 | ||
4717 | * inferior.h (deprecated_write_sp): Replace | |
4718 | generic_target_write_sp. | |
4719 | * regcache.c (deprecated_write_sp): Replace | |
4720 | generic_target_write_sp. | |
4721 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4722 | * vax-tdep.c (vax_gdbarch_init): Update. | |
4723 | * v850-tdep.c (v850_gdbarch_init): Update. | |
4724 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
4725 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4726 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4727 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
4728 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
4729 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4730 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4731 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
4732 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4733 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4734 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4735 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4736 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4737 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
4738 | ||
a42e117c AC |
4739 | 2003-06-07 Andrew Cagney <[email protected]> |
4740 | ||
4741 | * dwarf2-frame.c (dwarf2_frame_cache): Add comments on PC_REGNUM. | |
4742 | Assert that PC_REGNUM is valid. | |
4743 | (dwarf2_frame_prev_register): Add comments on SP_REGNUM. | |
4744 | ||
bd1ce8ba AC |
4745 | 2003-06-07 Andrew Cagney <[email protected]> |
4746 | ||
4747 | * gdbarch.sh (TARGET_READ_SP): Add predicate, delete default. | |
4748 | * gdbarch.h, gdbarch.c: Regenerate. | |
4749 | * mn10300-tdep.c: Include "gdb_assert.h". | |
4750 | (mn10300_read_fp): New function. | |
4751 | (mn10300_gdbarch_init): Set deprecated_target_read_fp to | |
4752 | mn10300_read_fp. Do not set read_sp to generic_target_read_sp. | |
4753 | * ia64-tdep.c: Include "gdb_assert.h". | |
4754 | (ia64_read_fp): New function. | |
4755 | (ia64_gdbarch_init): Set deprecated_target_read_fp to | |
4756 | ia64_read_sp. Do not set read_sp to generic_target_read_sp. | |
4757 | * regcache.c (generic_target_read_sp): Delete function. | |
4758 | (read_sp): Try TARGET_READ_SP and SP_REGNUM for the SP register. | |
4759 | * inferior.h (generic_target_read_sp): Delete declaration. | |
4760 | * frv-tdep.c (frv_gdbarch_init): Do not set read_sp to | |
4761 | generic_target_read_sp. | |
4762 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
4763 | * sparc-tdep.c (sparc_gdbarch_init): Ditto | |
4764 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4765 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
4766 | * Makefile.in (mn10300-tdep.o, ia64-tdep.o): Update dependencies. | |
4767 | ||
ec5cbaec AC |
4768 | 2003-06-07 Andrew Cagney <[email protected]> |
4769 | ||
4770 | * gdbarch.sh: Comment each field of startup_gdbarch. | |
4771 | * gdbarch.h, gdbarch.c: Re-generate. | |
4772 | ||
cde9ea48 AC |
4773 | 2003-06-07 Andrew Cagney <[email protected]> |
4774 | ||
4775 | * gdbarch.sh (TARGET_READ_PC): Add predicate, remove default. | |
4776 | * gdbarch.h, gdbarch.c: Re-generate. | |
4777 | * regcache.c: Update comments on read_pc et.al. | |
4778 | (generic_target_read_pc): Delete function. | |
4779 | (read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register. | |
4780 | * inferior.h (generic_target_read_pc): Delete declaration. | |
4781 | * frv-tdep.c (frv_gdbarch_init): Do not set read_pc to | |
4782 | generic_target_read_pc. | |
4783 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
4784 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
4785 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
4786 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 4787 | |
9a90a780 AC |
4788 | 2003-06-07 Andrew Cagney <[email protected]> |
4789 | ||
4790 | * elfread.c (elf_symtab_read): Replace "special_local_sym_p" and | |
4791 | "index" with "special_local_sect". Use strcmp instead of STREQ. | |
4792 | Append period to coments. | |
4793 | ||
a39a16c4 MM |
4794 | 2003-06-06 Mark Mitchell <[email protected]> |
4795 | ||
4796 | * elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX. | |
4797 | (elfstab_offset_sections): Likewise. | |
4798 | * gdb-stabs.h (stab_section_info): Likewise. | |
4799 | * i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise. | |
4800 | * objfiles.c (objfile_relocate): Likewise. | |
4801 | * pa64solib.c (pa64_solib_add_solib_objfile): Likewise. | |
4802 | * remote.c (get_offsets): Likewise. | |
4803 | (remote_cisco_objfile_relocate): Likewise. | |
4804 | * somread.c (som_symfile_offsets): Likewise. | |
4805 | * symfile.c (alloc_section_addr_info): New function. | |
4806 | (build_section_addr_info_from_section_tab): Use it. | |
4807 | (free_section_addr_info): Adjust. | |
4808 | (default_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
4809 | (syms_from_objfile): Allocate local_addr dynamically. | |
4810 | (symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs | |
4811 | dynamically. | |
4812 | (add_symbol_file_command): Allocate sect_opts dynamically. | |
4813 | (reread_symbols): Avoid use of SECT_OFF_MAX. | |
4814 | * symfile.h (section_addr_info): Do not use MAX_SECTIONS. | |
4815 | (alloc_section_addr_info): Declare it. | |
4816 | * symtab.h (SIZEOF_SECTION_OFFSETS): Remove. | |
4817 | * win32-nat.c (solib_symbols_add): Allocate section_addrs | |
4818 | dynamically. | |
4819 | * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX. | |
8ffd9b1b | 4820 | |
20c6c2f8 AC |
4821 | 2003-06-06 Andrew Cagney <[email protected]> |
4822 | ||
4823 | * d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc". | |
4824 | (d10v_frame_unwind_cache): Do not set "return_pc". | |
4825 | ||
884a26c8 MS |
4826 | 2003-06-06 Michael Snyder <[email protected]> |
4827 | ||
4828 | * h8300-tdep.c: Make tidy (long lines). | |
4829 | ||
088ce440 ML |
4830 | 2003-06-06 Michal Ludvig <[email protected]> |
4831 | ||
8ffd9b1b | 4832 | * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums |
088ce440 ML |
4833 | to regcache_collect(). |
4834 | ||
7d773d96 JB |
4835 | 2003-06-05 J. Brobecker <[email protected]> |
4836 | ||
4837 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting | |
4838 | pc_in_sigtramp multiarch method. | |
4839 | (hppa_hpux_som_init_abi): Use it. | |
4840 | (hppa_hpux_elf_init_abi): Likewise. | |
4841 | * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this | |
4842 | macro has been multiarched. | |
4843 | * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this | |
4844 | macro here, as hppa64 isn't multiarched yet. | |
4845 | ||
1df6926e AC |
4846 | 2003-06-05 Andrew Cagney <[email protected]> |
4847 | ||
4848 | * Makefile.in (value_h): Add $(frame_h). | |
4849 | * value.h: Include "frame.h". | |
4850 | (struct value): Replace "frame_addr" with "frame_id". | |
4851 | (VALUE_FRAME_ID): Replace VALUE_FRAME. | |
4852 | * values.c (allocate_value): Use VALUE_FRAME_ID. | |
4853 | (value_copy): Use VALUE_FRAME_ID. | |
4854 | * findvar.c (value_from_register): Use VALUE_FRAME_ID. | |
4855 | * valops.c (value_assign): Update. Use frame_find_by_id. | |
4856 | ||
6b53acc6 ML |
4857 | 2003-06-05 Michal Ludvig <[email protected]> |
4858 | ||
4859 | * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset | |
4860 | in each pass. | |
4861 | ||
4d9850d3 JJ |
4862 | 2003-06-05 Jeff Johnston <[email protected]> |
4863 | ||
4864 | * thread-db.c (check_event): For create/death event breakpoints, | |
4865 | loop through all messages to ensure that we read the message | |
4866 | corresponding to the breakpoint we are at. | |
4867 | ||
8efca6ba MS |
4868 | 2003-06-04 Michael Snyder <[email protected]> |
4869 | ||
4870 | * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn. | |
4871 | ||
0912c7f2 MK |
4872 | 2003-06-04 Mark Kettenis <[email protected]> |
4873 | ||
4874 | * dwarf2-frame.c (struct comp_unit): Add member `dbase'. | |
4875 | (read_encoded_value): Handle DW_EH_PE_datarel encoding. | |
4876 | (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings | |
4877 | when handling .eh_frame sections. | |
4878 | ||
4e370325 JB |
4879 | 2003-06-04 J. Brobecker <[email protected]> |
4880 | ||
4881 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic | |
4882 | prepare_to_proceed procedure instead of the hppa-specific one. | |
4883 | * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used. | |
4884 | ||
b757528f | 4885 | 2003-06-04 Jeff Johnston <[email protected]> |
8ffd9b1b | 4886 | |
b757528f JJ |
4887 | * acconfig.h: Add HAVE_TKILL_SYSCALL definition check. |
4888 | * config.in: Regenerated. | |
4889 | * configure.in: Add test for syscall function and check for | |
4890 | __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. | |
4891 | * configure: Regenerated. | |
4892 | * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and | |
4893 | <sys/syscall.h>. | |
4894 | (kill_lwp): New function that uses tkill syscall or | |
4895 | uses kill, depending on whether threading model is nptl or not. | |
4896 | All callers of kill() changed to use kill_lwp(). | |
4897 | (lin_lwp_wait): Make special check when WIFEXITED occurs to | |
4898 | see if all threads have already exited in the nptl model. | |
4899 | (stop_and_resume_callback): New callback function used by the | |
4900 | lin_lwp_wait thread exit handling code. | |
4901 | (stop_wait_callback): Check for threads already having exited and | |
4902 | delete such threads fromt the lwp list when discovered. | |
4903 | (stop_callback): Don't assert retcode of kill call. | |
8ffd9b1b | 4904 | |
b757528f JJ |
4905 | Roland McGrath <[email protected]> |
4906 | * i386-linux-nat.c (ps_get_thread_area): New function needed by | |
4907 | nptl libthread_db. | |
4908 | ||
087779b1 RH |
4909 | 2003-06-03 Richard Henderson <[email protected]> |
4910 | ||
b21fd293 RH |
4911 | * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn. |
4912 | (alpha_sigtramp_frame_this_id): Use get_frame_memory. | |
4913 | (alpha_sigtramp_frame_prev_register): Likewise. | |
4914 | (alpha_heuristic_frame_prev_register): Likewise. | |
4915 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise. | |
4916 | ||
8ffd9b1b | 4917 | * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use |
087779b1 RH |
4918 | alpha-specific register id names. |
4919 | (alpha_mdebug_frame_unwind_cache): Likewise. | |
4920 | (alpha_mdebug_frame_prev_register): Likewise. | |
4921 | ||
baa490c4 RH |
4922 | 2003-06-03 Richard Henderson <[email protected]> |
4923 | ||
4924 | * alpha-tdep.c (alpha_dwarf2_init_abi): New. | |
4925 | * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. | |
4926 | * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. | |
4927 | * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug | |
4928 | unwind routines. | |
4929 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
4930 | * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
4931 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
4932 | ||
4933 | * alpha-linux-tdep.c: Remove unnecessary includes. | |
4934 | * Makefile.in (alpha-linux-tdep.o): Update. | |
4935 | ||
4936 | 2003-06-03 Richard Henderson <[email protected]> | |
4937 | ||
4938 | * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change. | |
4939 | (alphabsd_fill_fpreg): Likewise. | |
4940 | ||
f534e522 JB |
4941 | 2003-06-03 J. Brobecker <[email protected]> |
4942 | ||
4943 | * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace | |
4944 | references to struct frame_info fields by calls to the equivalent | |
4945 | accessors. Necessary now that frame_info is opaque. | |
4946 | ||
4035536b JB |
4947 | 2003-06-03 J. Brobecker <[email protected]> |
4948 | ||
4949 | * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete. | |
4950 | (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep | |
4951 | structure, field no longer exists. | |
4952 | ||
0bd79c5c JB |
4953 | 2003-06-03 J. Brobecker <[email protected]> |
4954 | ||
4955 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
4956 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module. | |
4957 | ||
37bb6d9f JB |
4958 | 2003-06-03 J. Brobecker <[email protected]> |
4959 | ||
4960 | * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace | |
4961 | references to struct frame_info fields by calls to the equivalent | |
4962 | accessors. Necessary now that frame_info is opaque. | |
4963 | ||
852ee05c JB |
4964 | 2003-06-03 J. Brobecker <[email protected]> |
4965 | ||
4966 | * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete. | |
4967 | (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep | |
4968 | structure, field no longer exists. | |
4969 | ||
7d58c67d TR |
4970 | 2003-06-03 Theodore A. Roth <[email protected]> |
4971 | ||
8ffd9b1b | 4972 | * remote.c (init_remote_state): Compute sizeof_g_packet by |
7d58c67d TR |
4973 | accumulation of the size of all registers instead of blindly using |
4974 | DEPRECATED_REGISTER_BYTES. | |
4975 | ||
0a48e7e8 MS |
4976 | 2003-06-03 Michael Snyder <[email protected]> |
4977 | ||
4978 | * config/h8300/tm-h8300.h (h8300sxmode): Declare. | |
4979 | * h8300-tdep.c (h8300_gdbarch_init): Set machine mode | |
4980 | for h8300sx. | |
4981 | ||
9798ab0d JB |
4982 | 2003-06-03 J. Brobecker <[email protected]> |
4983 | ||
4984 | * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile. | |
4985 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. | |
4986 | ||
00b037e2 AC |
4987 | 2003-06-03 Andrew Cagney <[email protected]> |
4988 | ||
4989 | * sparc-tdep.c (sparc_convert_to_virtual): Delete function. | |
4990 | (sparc_convert_to_raw): Delete function. | |
4991 | (sparc_gdbarch_init): Do not set register_convert_to_raw or | |
4992 | register_convert_to_virtual. | |
4993 | ||
043b2f77 JJ |
4994 | 2003-06-03 Jeff Johnston <[email protected]> |
4995 | ||
4996 | * thread-db.c (thread_db_mourn_inferior): Unpush thread target | |
4997 | layer if not dealing with a statically-linked threaded program. | |
4998 | ||
f43caff8 KW |
4999 | 2003-06-03 Kris Warkentin <[email protected]> |
5000 | ||
5001 | * solib.c (solib_open): Update comment to reflect actual search order. | |
5002 | ||
ae1e7417 AC |
5003 | 2003-06-03 Andrew Cagney <[email protected]> |
5004 | ||
5005 | * frame.c (get_frame_memory_signed): New function. | |
5006 | (get_frame_memory, get_frame_memory_unsigned): New function. | |
5007 | (get_frame_arch): New function. | |
5008 | * frame.h (get_frame_signed_memory, get_frame_arch): Declare. | |
5009 | (get_frame_memory, get_frame_unsigned_memory): Declare. | |
5010 | * d10v-tdep.c (d10v_frame_unwind_cache): Use | |
5011 | get_frame_memory_unsigned and get_frame_arch. | |
5012 | (d10v_frame_unwind_cache, saved_regs_unwinder): Ditto. | |
5013 | ||
cb123844 RG |
5014 | 2003-06-03 Raoul Gough <[email protected]> |
5015 | ||
5016 | * MAINTAINERS (write after approval): Add myself. | |
5017 | ||
1bb792e9 JB |
5018 | 2003-06-03 Jim Blandy <[email protected]> |
5019 | ||
5020 | * s390-nat.c (supply_gregset, fill_gregset): On the s390x, the | |
5021 | elements of gregset_t are 64 bits each, but access registers | |
5022 | are still 32 bits, so they're packed two per gregset_t | |
5023 | element. Unpack/pack them properly. | |
5024 | ||
aee8d8ba DC |
5025 | 2003-06-02 David Carlton <[email protected]> |
5026 | ||
5027 | * linespec.c (find_methods): Break out code into | |
5028 | add_matching_methods and add_constructors. | |
5029 | (add_matching_methods): New. | |
5030 | (add_constructors): Ditto. | |
5031 | ||
bf7488d2 AC |
5032 | 2003-06-02 Andrew Cagney <[email protected]> |
5033 | ||
bf7488d2 AC |
5034 | * sparc-tdep.c (sparc_print_registers): Delete call to |
5035 | REGISTER_CONVERTIBLE. | |
5036 | (sparc_gdbarch_init): Do not set register_convertible. | |
5037 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5038 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
5039 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
5040 | ||
adedef68 EZ |
5041 | 2003-06-02 Elena Zannoni <[email protected]> |
5042 | ||
8ffd9b1b | 5043 | * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. |
adedef68 EZ |
5044 | * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD. |
5045 | (syms_from_objfile): Ditto. | |
5046 | ||
650fcc91 AS |
5047 | 2003-06-03 Andreas Schwab <[email protected]> |
5048 | ||
5049 | * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ... | |
5050 | (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn. | |
5051 | ||
df4a182b RH |
5052 | 2003-06-02 Richard Henderson <[email protected]> |
5053 | ||
5054 | * alpha-tdep.c (alpha_register_reggroup_p): Zero is only | |
5055 | a member of all_reggroup. | |
5056 | ||
c483c494 RH |
5057 | 2003-06-02 Richard Henderson <[email protected]> |
5058 | ||
5059 | * alpha-tdep.c (alpha_register_type): Change from _virtual_type. | |
5060 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove. | |
5061 | (alpha_lds, alpha_sts): New. | |
5062 | (alpha_convert_register_p): Change from _register_convertible. | |
8ffd9b1b | 5063 | (alpha_register_to_value): Change from _convert_to_virtual; |
c483c494 RH |
5064 | restructure and fail for type sizes other than 4 or 8. |
5065 | (alpha_value_to_register): Similarly. | |
5066 | (alpha_extract_return_value): Use alpha_sts. | |
5067 | (alpha_store_return_value): Use alpha_lds. | |
5068 | (alpha_gdbarch_init): Update hooks. | |
5069 | ||
b38b6be2 RH |
5070 | 2003-06-02 Richard Henderson <[email protected]> |
5071 | ||
5072 | * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific | |
5073 | regnum identifiers. | |
5074 | (alpha_sigtramp_register_address): Likewise. | |
5075 | ||
98a8e1e5 RH |
5076 | 2003-06-02 Richard Henderson <[email protected]> |
5077 | ||
5078 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New. | |
5079 | (alpha_supply_fp_regs, alpha_fill_fp_regs): New. | |
5080 | * alpha-tdep.h: Declare them. | |
5081 | ||
5082 | * alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping. | |
5083 | Remove zerobuf. Don't error on UNIQUE. | |
5084 | (fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs. | |
5085 | (ALPHA_REGSET_UNIQUE): Provide default. | |
5086 | (supply_gregset): Use alpha_supply_int_regs. | |
5087 | (fill_gregset): Use alpha_fill_int_regs. | |
5088 | (supply_fpregset): Use alpha_supply_fp_regs. | |
5089 | (fill_fpregset): Use alpha_fill_fp_regs. | |
5090 | * alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove. | |
5091 | (alphabsd_supply_reg): Use alpha_supply_int_regs. | |
5092 | (alphabsd_fill_reg): Use alpha_fill_int_regs. | |
5093 | (alphabsd_supply_fpreg): Use alpha_supply_fp_regs. | |
5094 | (alphabsd_fill_fpreg): Use alpha_fill_fp_regs. | |
5095 | * config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New. | |
5096 | ||
67dfac52 RH |
5097 | 2003-06-02 Richard Henderson <[email protected]> |
5098 | ||
f75d70cc RH |
5099 | * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru. |
5100 | ||
67dfac52 RH |
5101 | * alpha-tdep.c (alpha_extract_return_value): Use internal_error. |
5102 | (alpha_store_return_value): Likewise. | |
5103 | ||
0cf566ec DC |
5104 | 2003-06-02 David Carlton <[email protected]> |
5105 | ||
5106 | * block.c (contained_in): Add 'const' to arguments. | |
5107 | (block_function): Ditto. | |
5108 | * block.h: Update declarations for block_function and | |
5109 | contained_in. | |
5110 | ||
cdef89d0 DC |
5111 | 2003-06-02 David Carlton <[email protected]> |
5112 | ||
5113 | * objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'. | |
5114 | * c-valprint.c (c_val_print): Delete unneeded variable 's'. | |
5115 | * p-valprint.c (pascal_val_print): Ditto. | |
5116 | * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'. | |
5117 | ||
72667056 RH |
5118 | 2003-06-02 Richard Henderson <[email protected]> |
5119 | ||
98a8e1e5 RH |
5120 | * alpha-tdep.c (alpha_push_dummy_call): Use |
5121 | builtin_type_ieee_double_little instead of builtin_type_double. | |
eb4edb88 | 5122 | |
8ffd9b1b | 5123 | * alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated |
98a8e1e5 RH |
5124 | sign-extension of 32-bit values. |
5125 | (alpha_store_return_value): Similarly. | |
0ede8eca | 5126 | |
98a8e1e5 RH |
5127 | * alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types. |
5128 | (alpha_extract_return_value): Likewise. | |
5129 | (alpha_store_return_value): Likewise. | |
7b5e1cb3 | 5130 | |
98a8e1e5 RH |
5131 | * alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats. |
5132 | (alpha_store_return_value): Error on IEEE Quad floats. | |
24064b5c | 5133 | |
98a8e1e5 RH |
5134 | * alpha-tdep.c (alpha_extract_return_value): Convert to regcache. |
5135 | (alpha_extract_struct_value_address): Likewise. | |
5136 | (alpha_store_return_value): Likewise. | |
5137 | (alpha_store_struct_return): Remove. | |
5138 | (alpha_gdbarch_init): Update hook registration to match. | |
5ec2bb99 | 5139 | |
98a8e1e5 RH |
5140 | * alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of |
5141 | deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch | |
5142 | macros where appropriate. | |
5143 | (alpha_register_convert_to_raw): Similarly. Use unpack_long. | |
5144 | (alpha_convert_flt_dbl, alpha_convert_dbl_flt): New. | |
14696584 | 5145 | |
98a8e1e5 RH |
5146 | * alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr |
5147 | for SP, GP; void_func_ptr for PC; non-language-specific types | |
5148 | for all others. | |
5149 | * alpha-tdep.h (ALPHA_GP_REGNUM): New. | |
72667056 | 5150 | |
6dd77b81 RH |
5151 | 2003-06-02 Richard Henderson <[email protected]> |
5152 | ||
5153 | * top.h (lim_at_start): Declare. | |
5154 | * main.c (captured_main): Set it. | |
5155 | * top.c (lim_at_start): Define. | |
5156 | (command_loop): Use it instead of &environ. | |
5157 | * event-top.c (command_handler): Likewise. | |
5158 | ||
f4dbdb54 JT |
5159 | 2003-06-01 Jason Thorpe <[email protected]> |
5160 | ||
5161 | * mipsnbsd-tdep.c: Update copyright years. | |
5162 | (fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg. | |
5163 | ||
8f285956 RH |
5164 | 2003-06-01 Richard Henderson <[email protected]> |
5165 | ||
98a8e1e5 RH |
5166 | * Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c. |
5167 | (alpha-linux-tdep.o): Update dependencies. | |
5168 | (alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise. | |
5169 | * alpha-mdebug-tdep.c: Remove unneeded includes. | |
8f285956 | 5170 | |
615967cb RH |
5171 | 2003-06-01 Richard Henderson <[email protected]> |
5172 | ||
98a8e1e5 RH |
5173 | * alpha-tdep.c (alpha_register_reggroup_p): New. |
5174 | (alpha_gdbarch_init): Register it. | |
615967cb | 5175 | |
b59661bd AC |
5176 | 2003-06-02 Andrew Cagney <[email protected]> |
5177 | ||
5178 | * dwarfread.c: Eliminate "register" | |
5179 | (decode_die_type): Eliminate assignment within "if". | |
5180 | (struct_type, decode_array_element_type): Ditto. | |
5181 | (dwarf_read_array_type, read_tag_pointer_type): Ditto. | |
5182 | (read_subroutine_type, enum_type, add_enum_psymbol): Ditto. | |
5183 | (decode_modified_type, completedieinfo): Ditto. | |
5184 | * block.c: Eliminate "register". | |
5185 | (blockvector_for_pc_sect): Eliminate assignment within "if". | |
5186 | * cp-support.h (struct symbol): Opaque declaration. | |
5187 | * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free. | |
5188 | ||
5ef165c2 RH |
5189 | 2003-06-01 Richard Henderson <[email protected]> |
5190 | ||
98a8e1e5 RH |
5191 | * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ... |
5192 | (_initialize_alpha_tdep): ... not deprecated_tm_print_insn. | |
5ef165c2 | 5193 | |
143985b7 AF |
5194 | 2003-06-01 Adam Fedor <[email protected]> |
5195 | ||
5196 | * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT. | |
5197 | * gdbarch.[ch]: Regenerate. | |
5198 | * hppa-tdep.c (hppa_fetch_pointer_argument): New function. | |
5199 | (hppa_gdbarch_init): Set it in the gdbarch vector. | |
5200 | * i386-tdep.c (i386_fetch_pointer_argument): New | |
5201 | (i386_gdbarch_init): Set it into gdbarch. | |
5202 | * rs6000-tdep.c (rs6000_fetch_pointer_argument): New. | |
5203 | (rs6000_gdbarch_init): Set it in gdbarch. | |
5204 | * sparc-tdep.c (sparc_fetch_pointer_argument): New | |
5205 | (sparc_gdbarch_init): Set it in gdbarch. | |
5206 | ||
ae0167b9 AC |
5207 | 2003-06-01 Andrew Cagney <[email protected]> |
5208 | ||
7c0b4a20 AC |
5209 | * defs.h (extract_address): Delete declaration. |
5210 | * findvar.c (extract_address): Delete function. | |
5211 | * xstormy16-tdep.c (xstormy16_extract_return_value): Replace | |
5212 | extract_address with the inline equivalent, | |
5213 | extract_unsigned_integer. | |
5214 | (xstormy16_extract_struct_value_address): Ditto. | |
5215 | (xstormy16_pointer_to_address): Ditto. | |
5216 | * vax-tdep.c (vax_extract_struct_value_address): Ditto. | |
5217 | * v850-tdep.c (v850_push_arguments): Ditto. | |
5218 | (v850_extract_return_value): Ditto. | |
5219 | (v850_extract_struct_value_address): Ditto. | |
5220 | * sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto. | |
5221 | (sparcnbsd_get_longjmp_target_64): Ditto. | |
5222 | * sparc-tdep.c (sparc_frame_saved_pc): Ditto. | |
5223 | (get_longjmp_target): Ditto. | |
5224 | * sh-tdep.c (sh_extract_struct_value_address): Ditto. | |
5225 | (sh64_extract_struct_value_address): Ditto. | |
5226 | (sh_push_arguments): Ditto. | |
5227 | (sh64_push_arguments): Ditto. | |
5228 | * remote-vxsparc.c (vx_read_register): Ditto. | |
5229 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto. | |
5230 | * ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto. | |
5231 | * mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto. | |
5232 | * mipsv4-nat.c (get_longjmp_target): Ditto. | |
5233 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto. | |
5234 | * mips-nat.c (get_longjmp_target): Ditto. | |
5235 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto. | |
5236 | * mcore-tdep.c (mcore_extract_struct_value_address): Ditto. | |
5237 | * m68k-tdep.c (m68k_get_longjmp_target): Ditto. | |
5238 | * m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto. | |
5239 | * irix5-nat.c (get_longjmp_target): Ditto. | |
5240 | * irix4-nat.c (get_longjmp_target): Ditto. | |
5241 | * ia64-tdep.c (generic_elf_find_global_pointer): Ditto. | |
5242 | (ia64_push_arguments): Ditto. | |
5243 | * hpux-thread.c (hpux_thread_store_registers): Ditto. | |
5244 | * h8300-tdep.c (h8300_push_arguments): Ditto. | |
5245 | (h8300_store_return_value): Ditto. | |
5246 | (h8300_extract_struct_value_address): Ditto. | |
5247 | * frv-tdep.c (frv_extract_struct_value_address): Ditto. | |
5248 | (frv_push_arguments): Ditto. | |
5249 | * avr-tdep.c (avr_pointer_to_address): Ditto. | |
5250 | (avr_push_arguments): Ditto. | |
5251 | * arm-tdep.c (arm_push_dummy_call): Ditto. | |
5252 | (arm_get_longjmp_target): Ditto. | |
5253 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
5254 | * alpha-tdep.c (alpha_extract_struct_value_address): Ditto. | |
5255 | (alpha_get_longjmp_target): Ditto. | |
5256 | ||
ae0167b9 AC |
5257 | * solib-irix.c (extract_mips_address): Inline extract_address, |
5258 | replacing it with extract_signed_integer. | |
5259 | * solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
5260 | (LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto. | |
5261 | (first_link_map_member, open_symbol_file_object): Ditto. | |
5262 | (svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto. | |
5263 | * solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto. | |
5264 | (LM_NEXT, LM_NAME): Ditto. | |
5265 | ||
44d88583 RH |
5266 | 2003-06-01 Richard Henderson <[email protected]> |
5267 | ||
98a8e1e5 RH |
5268 | * alpha-tdep.h (ALPHA_FP_REGNUM): Remove. |
5269 | * alpha-tdep.c (alpha_register_name): Remove vfp entry. | |
5270 | (alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM. | |
5271 | (alpha_cannot_store_register): Likewise. | |
5272 | * alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM. | |
5273 | * alpha-nat.c (supply_gregset): Likewise. | |
5274 | * alphanbsd-tdep.c (fetch_core_registers): Likewise. | |
44d88583 | 5275 | |
310e9b6a AC |
5276 | 2003-06-01 Andrew Cagney <[email protected]> |
5277 | ||
5278 | * infcall.c (call_function_by_hand): Update comment on | |
5279 | DEPRECATED_DUMMY_WRITE_SP. | |
5280 | ||
5281 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
5282 | deprecated_dummy_write_sp. | |
5283 | (mips_eabi_push_dummy_call): Set the SP register. | |
5284 | (mips_o64_push_dummy_call): Set the SP register. | |
5285 | (mips_o32_push_dummy_call): Set the SP register. | |
5286 | (mips_n32n64_push_dummy_call): Set the SP register. | |
5287 | ||
5ab84872 RH |
5288 | 2003-06-01 Richard Henderson <[email protected]> |
5289 | ||
98a8e1e5 RH |
5290 | * alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE |
5291 | instead of ALPHA_MAX_REGISTER_RAW_SIZE. | |
5292 | (supply_gregset): Likewise. | |
5293 | * alpha-tdep.c (alpha_store_return_value): Likewise. | |
5294 | (alpha_get_longjmp_target): Likewise. | |
5295 | (alpha_register_name): Constify array. | |
5296 | (alpha_gdbarch_init): Remove deprecated_fp_regnum, | |
5297 | deprecated_register_size, deprecated_register_bytes, | |
5298 | deprecated_max_register_raw_size, deprecated_max_register_virtual_size. | |
5299 | * alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove. | |
5300 | (ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
5ab84872 | 5301 | |
09cc52fd RH |
5302 | 2003-06-01 Richard Henderson <[email protected]> |
5303 | ||
5304 | * alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies | |
5305 | from arg_reg_buffer to regcache to avoid double conversion. | |
5306 | ||
c7f16359 MK |
5307 | 2003-06-01 Mark Kettenis <[email protected]> |
5308 | ||
5309 | * i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of | |
5310 | SP_REGNUM. | |
5311 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise. | |
5312 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise. | |
5313 | ||
7131cb6e RH |
5314 | 2003-06-01 Richard Henderson <[email protected]> |
5315 | ||
98a8e1e5 RH |
5316 | * dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation. |
5317 | (decode_frame_entry): Set it. Skip FDE augmentation. | |
7131cb6e | 5318 | |
f3e0f90b RH |
5319 | 2003-06-01 Richard Henderson <[email protected]> |
5320 | ||
98a8e1e5 RH |
5321 | * dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column |
5322 | not overlapping PC_REGNUM. | |
f3e0f90b | 5323 | |
c88e30c0 RH |
5324 | 2003-06-01 Richard Henderson <[email protected]> |
5325 | ||
98a8e1e5 RH |
5326 | * alpha-tdep.c (alpha_push_dummy_call): Transmography from |
5327 | alpha_push_arguments. Don't dump argument register data to | |
5328 | the target stack. Fix float and 128-bit long double semantics. | |
5329 | Store $t12 and $ra as specified by the ABI. Use regcache everywhere. | |
5330 | (alpha_fix_call_dummy): Remove. | |
5331 | (alpha_call_dummy_words): Remove. | |
5332 | (alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call. | |
c88e30c0 | 5333 | |
f1a559ae RH |
5334 | 2003-06-01 Richard Henderson <[email protected]> |
5335 | ||
5336 | * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder. | |
5337 | ||
5e045346 AC |
5338 | 2003-06-01 Andrew Cagney <[email protected]> |
5339 | ||
95404a3e AC |
5340 | * mips-tdep.c (is_mips16_addr): New function. |
5341 | (make_mips16_addr, unmake_mips16_addr): New functions. | |
5342 | (pc_is_mips16, mips_fetch_instruction): Use. | |
5343 | (gdb_print_insn_mips, mips_breakpoint_from_pc): Use. | |
5344 | (gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH. | |
5345 | (mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH, | |
5346 | UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and | |
5347 | TARGET_MIPS. | |
5348 | * config/mips/tm-mips.h: Update copyright. | |
5349 | (TARGET_MIPS, TM_PRINT_INSN_MACH): Delete. | |
5350 | (DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete. | |
5351 | (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete. | |
5352 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete. | |
5353 | (TM_PRINT_INSN_MACH): Delete. | |
5354 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete. | |
5355 | ||
5e045346 AC |
5356 | * configure.tgt: Replace mips64*vr4xxx*el-*-elf*, |
5357 | mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*, | |
5358 | mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*, | |
5359 | mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and | |
5360 | mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete | |
5361 | mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto | |
5362 | mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*, | |
5363 | mips*-*-riscos* and mips*-*-sysv* onto mips. | |
5364 | * config/mips/mips64.mt: New file. | |
5365 | * config/mips/mips.mt: New file. | |
5366 | * config/mips/littlemips.mt: Delete file. | |
5367 | * config/mips/decstation.mt: Delete file. | |
5368 | * config/mips/vr4300el.mt: Delete file. | |
5369 | * config/mips/vr5000el.mt: Delete file. | |
5370 | * config/mips/vr5000.mt: Delete file. | |
5371 | * config/mips/vr4100.mt: Delete file. | |
5372 | * config/mips/vr4xxxel.mt: Delete file. | |
5373 | * config/mips/vr4300.mt: Delete file. | |
5374 | * config/mips/vr4xxx.mt: Delete file. | |
5375 | * config/mips/bigmips.mt: Delete file. | |
5376 | * config/mips/bigmips64.mt: Delete file. | |
5377 | * config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h". | |
5378 | * config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h". | |
5379 | * config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h" | |
5380 | * config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h". | |
5381 | * config/mips/tm-tx39.h: Include "tm-mips.h" instead of | |
5382 | "tm-bigmips.h". | |
5383 | * config/mips/tm-irix3.h: Ditto. | |
5384 | * config/mips/tm-mipsv4.h: Ditto. | |
5385 | * config/mips/tm-embed.h: Ditto. | |
5386 | * config/mips/tm-irix6.h: Include "tm-mips64.h" instead of | |
5387 | "tm-bigmips64.h". | |
5388 | * config/mips/tm-vr5000el.h: Delete file. | |
5389 | * config/mips/tm-tx39l.h: Delete file. | |
5390 | * config/mips/tm-vr4300el.h: Delete file. | |
5391 | * config/mips/tm-vr4xxxel.h: Delete file. | |
5392 | * config/mips/tm-vr4300.h: Delete file. | |
5393 | * config/mips/tm-vr4100.h: Delete file. | |
5394 | * config/mips/tm-vr4xxx.h: Delete file. | |
5395 | * config/mips/tm-vr5000.h: Delete file. | |
5396 | * config/mips/tm-embedl64.h: Delete file. | |
5397 | * config/mips/tm-embedl.h: Delete file. | |
5398 | * config/mips/tm-embed64.h: Delete file. | |
5399 | * config/mips/tm-bigmips64.h: Delete file. | |
5400 | * config/mips/tm-bigmips.h: Delete file. | |
5401 | ||
2473a4a9 MK |
5402 | 2003-06-01 Mark Kettenis <[email protected]> |
5403 | ||
97a5b208 MK |
5404 | Fix gdb/1216. |
5405 | * shnbsd-nat.c: Include "sh-tdep.h". | |
5406 | ||
2473a4a9 MK |
5407 | From Richard Henderson <[email protected]>: |
5408 | * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic. | |
5409 | ||
e0f7ec59 AC |
5410 | 2003-05-31 Andrew Cagney <[email protected]> |
5411 | ||
5412 | * mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add | |
5413 | forward declaration. | |
5414 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
5415 | (mips16_heuristic_proc_desc): Pass temp_saved_regs. | |
5416 | (mips_find_saved_regs): Use set_reg_offset. | |
5417 | (mips_frame_init_saved_regs): Delete function. | |
5418 | (mips_pop_frame): Call mips_find_saved_regs instead of | |
5419 | DEPRECATED_FRAME_INIT_SAVED_REGS. | |
5420 | ||
68dcc709 AC |
5421 | 2003-05-31 Andrew Cagney <[email protected]> |
5422 | ||
5423 | * mips-tdep.c (mips_gdbarch_init): Do not set | |
5424 | deprecated_max_register_raw_size, register_virtual_size, and | |
5425 | deprecated_max_register_virtual_size. | |
5426 | ||
cfc14b3a MK |
5427 | 2003-05-31 Mark Kettenis <[email protected]> |
5428 | ||
6405b0a6 MK |
5429 | * i386-tdep.c: Include "dwarf2-frame.h". |
5430 | (i386_gdbarch_init): Hook in the DWARF CFI frame unwinder. | |
5431 | * Makefile.in (i386-tdep.o): Update dependencies. | |
5432 | ||
cfc14b3a MK |
5433 | * dwarf2-frame.c, dwarf2-frame.h: New files. |
5434 | * Makefile.in (SFILES): Add dwarf2-frame.c. | |
5435 | (dwarf2_frame_h): Define. | |
5436 | (COMMON_OBS): Add dwarf2-frame.o. | |
5437 | (dwarf2-frame.o): Add dependencies. | |
5438 | ||
6a2751d2 AJ |
5439 | 2003-05-31 Andreas Jaeger <[email protected]> |
5440 | ||
5441 | * x86-64-linux-nat.c: Fix comment. | |
5442 | ||
1c3545ae MK |
5443 | 2003-05-31 Mark Kettenis <[email protected]> |
5444 | ||
10f93086 MK |
5445 | * x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed |
5446 | function signature. | |
5447 | ||
1c3545ae MK |
5448 | * i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we |
5449 | have a sigcontext_addr handler. | |
5450 | * x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a | |
5451 | sigcontext_addr handler. | |
5452 | ||
e11c53d2 AC |
5453 | 2003-05-31 Andrew Cagney <[email protected]> |
5454 | ||
5455 | * mips-tdep.c (print_gp_register_row): Replace do_gp_register_row. | |
5456 | (print_fp_register_row): Replace do_fp_register_row. | |
5457 | (mips_print_fp_register): Add "file" and "frame" parameters. | |
5458 | (mips_print_register): Add "file" and "frame" parameters. | |
5459 | (mips_print_registers_info): Replace mips_do_registers_info. | |
5460 | (mips_gdbarch_init): Set print_registers_info instead of | |
5461 | deprecated_do_registers_info. | |
5462 | (mips_read_fp_register_single): Add "frame" parameter. | |
5463 | (mips_read_fp_register_double): Add "frame" parameter. | |
5464 | ||
a3386186 MK |
5465 | 2003-05-31 Mark Kettenis <[email protected]> |
5466 | ||
70913449 MK |
5467 | * i386-tdep.c (i386_register_name): Check for MMX registers first. |
5468 | Fixes a bug where GDB would print the wrong register names for | |
5469 | targets without SSE. | |
5470 | ||
2b5e0749 MK |
5471 | * x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS. |
5472 | (x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
5473 | registers. | |
5474 | ||
5475 | * x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable. | |
5476 | (x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and | |
5477 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
5478 | TDEP->sc_sp_offset. | |
5479 | ||
a3386186 MK |
5480 | From Michal Ludvig <[email protected]>: |
5481 | * i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset' | |
5482 | and `sc_num_regs'. | |
5483 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
5484 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
5485 | I386_ST0_REGNUM): Move here from... | |
5486 | * i386-tdep.c: ... here. | |
5487 | (I386_NUM_SAVED_REGS): Define to I386_NUM_REGS. | |
5488 | (i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved | |
5489 | registers if possible. | |
5490 | (i386_gdbarch_init): Initialize TDEP->sc_reg_offset. | |
5491 | * i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset): | |
5492 | Remove variables. | |
5493 | (i386bsd_sc_reg_offset): New variable. | |
5494 | (i386bsd_init_abi): Initialize TDEP->sc_reg_offset and | |
5495 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
5496 | TDEP->sc_sp_offset. | |
5497 | (i386fbsd_sc_reg_offset): New variable. | |
5498 | (i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and | |
5499 | TDEP->sc_num_regs. | |
5500 | (i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove | |
5501 | variables. | |
5502 | (i386fbsd4_sc_reg_offset): New variable. | |
5503 | (i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and | |
5504 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
5505 | TDEP->sc_sp_offset. | |
5506 | * i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable. | |
5507 | (i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs. | |
5508 | * i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset): | |
5509 | Remove variables. | |
5510 | (i386nbsd_sc_reg_offset): New variable. | |
5511 | (i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and | |
5512 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
5513 | TDEP->sc_sp_offset. | |
5514 | * i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset): | |
5515 | Remove variables. | |
5516 | (i386obsd_sc_reg_offset): New variable. | |
5517 | (i386obsd_init_abi): Initialize TDEP->sc_reg_offset and | |
5518 | TDEP->sc_num_regs instead of TDEP->sc_pc_offset and | |
5519 | TDEP->sc_sp_offset. | |
5520 | * i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in | |
5521 | i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check | |
5522 | for frame pointer offset in `struct sigcontext'. | |
5523 | ||
25ab4790 AC |
5524 | 2003-05-31 Andrew Cagney <[email protected]> |
5525 | ||
5526 | * mips-tdep.c (mips_gdbarch_init): Do not set the deprecated | |
5527 | architecture methods call_dummy_words, sizeof_call_dummy_words, | |
5528 | push_return_address, store_struct_return, and fix_call_dummy. Set | |
5529 | push_dummy_call instead of deprecated_push_arguments. | |
5530 | (mips_store_struct_return): Delete function. | |
5531 | (mips_fix_call_dummy): Delete function. | |
5532 | (mips_push_return_address): Delete function. | |
5533 | (mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set | |
5534 | RA_REGNUM and T9_REGNUM. | |
5535 | (mips_n32n64_push_dummy_call): Ditto for | |
5536 | mips_n32n64_push_arguments. | |
5537 | (mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments. | |
5538 | (mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments. | |
5539 | ||
6a65450a AC |
5540 | 2003-05-31 Andrew Cagney <[email protected]> |
5541 | ||
5542 | * gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename | |
5543 | "dummy_addr" to "bp_addr". | |
5544 | * infcall.c (call_function_by_hand): Pass "funaddr" to | |
5545 | gdbarch_push_dummy_call. | |
5546 | * gdbarch.h, gdbarch.c: Re-generate. | |
5547 | * i386-tdep.c (i386_push_dummy_call): Update. | |
5548 | * arm-tdep.c (arm_push_dummy_call): Update. | |
5549 | * d10v-tdep.c (d10v_push_dummy_call): Update. | |
5550 | ||
c4f35dd8 MK |
5551 | 2003-05-31 Mark Kettenis <[email protected]> |
5552 | ||
5553 | * x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove | |
5554 | variable declarations. | |
5555 | (x86_64_register_number, x86_64_register_name): Remove prototypes. | |
5556 | (x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call, | |
5557 | x86_64_linux_in_sigtramp, x86_64_linux_frame_chain, | |
5558 | x86_64_init_frame_pc, x86_64_init_frame_pc, | |
5559 | x86_64_function_has_prologue): Remove prototypes. | |
5560 | (X86_64_NUM_GREGS): New define. | |
5561 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes. | |
5562 | * x86-64-tdep.c: Don't include "dwarf2cfi.h". Include | |
5563 | "dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h". | |
5564 | (RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM, | |
5565 | XMM1_REGNUM): Remove defines. | |
5566 | (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM, | |
5567 | X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM, | |
5568 | X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, | |
5569 | X86_64_XMM1_REGNUM): New defines. | |
5570 | (struct x86_64_register_info): Renamed from `struct | |
5571 | register_info'. Remove `size' member. | |
5572 | (x86_64_register_info_table): Remove variable. | |
5573 | (x86_64_register_info): New variable. | |
5574 | (X86_64_NUM_REGS): New define. | |
5575 | (X86_64_NUM_GREGS): Remove define. | |
5576 | (x86_64_num_regs, x86_64_num_gregs): Remove variables. | |
5577 | (x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length): | |
5578 | Remove variables. | |
5579 | (x86_54_dwarf2_reg_to_regnum): Remove function. | |
5580 | (x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables. | |
5581 | (x86_64_dwarf_reg_to_regnum): New function. | |
5582 | (x86_64_register_name): Rewrite. | |
5583 | (x86_64_register_raw_size): Remove function. | |
5584 | (x86_64_register_byte_table): Remove variable. | |
5585 | (x86_64_register_byte): Remove function. | |
5586 | (x86_64_register_virtual_type): Remove function. | |
5587 | (x86_64_register_type): New function. | |
5588 | (x86_64_register_convertible, x86_64_register_convert_to_virtual, | |
5589 | x86_64_register_convert_to_raw): Remove functions. | |
5590 | (x86_64_push_return_address, x86_64_pop_frame): Remove functon. | |
5591 | (x86_64_use_struct_convention): Make static. Adjust for renamed | |
5592 | defines. | |
5593 | (x86_64_frame_init_saved_regs): Remove function. | |
5594 | (x86_64_push_arguments): Make static. Change to accept a regcache | |
5595 | as argument. | |
5596 | (x86_64_store_return_value, x86_64_extract_return_value): Make | |
5597 | static. Rewrite based on i386 counterparts. | |
5598 | (x86_64_push_dummy_call): New function. | |
5599 | (X86_64_NUM_SAVED_REGS): New define. | |
5600 | (x86_64_register_number): Remove function. | |
5601 | (x86_64_store_struct_return): Remove function. | |
5602 | (x86_64_frameless_function_invocation, | |
5603 | x86_64_function_has_prologue): Remove functions. | |
5604 | (PROLOG_BUFSIZE): Remove define. | |
5605 | (struct x86_64_frame_cache): New structure. | |
5606 | (x86_64_alloc_frame_cache, x86_64_analyze_prologue, | |
5607 | x86_64_frame_cache, x86_64_frame_this_id, | |
5608 | x86_64_frame_prev_register, x86_64_frame_p, | |
5609 | x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id, | |
5610 | x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New | |
5611 | functions. | |
5612 | (x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New | |
5613 | variables. | |
5614 | (x86_64_skip_prologue): Rewrite in terms of | |
5615 | x86_64_analyze_prologue. | |
5616 | (x86_64_frame_base_address): New function. | |
5617 | (x86_64_frame_base): New variable. | |
5618 | (x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite. | |
5619 | (x86_64_init_abi): Set register_type and push_dummy_call. Don't | |
5620 | set deprecated_fp_regnum, deprecated_register_size, | |
5621 | deprecated_register_bytes, register_raw_size, register_byte, | |
5622 | register_virtual_type, register_convertiable, | |
5623 | register_convert_to_virtual, convert_to_raw, | |
5624 | deprecated_get_saved_register, deprecated_target_read_fp, | |
5625 | deprecated_push_arguments, deprecated_push_return_address, | |
5626 | deprecated_pop_frame, deprecated_store_struct_return, | |
5627 | deprecated_frame_init_saved_regs, deprecated_frame_chain, | |
5628 | frameless_function_invocation, deprecated_frame_saved_pc, | |
5629 | deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp, | |
5630 | dwarf2_build_frame_info, deprecated_init_extra_frame_info, | |
5631 | deprecated_init_frame_pc and virtual_frame_pointer. Call | |
5632 | frame_unwind_append_predicate to register x86_64_sigtramp_frame_p | |
5633 | and x86_64_frame_p. Call frame_base_set_default to register | |
5634 | x86_64_frame_base. | |
5635 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines. | |
5636 | (x86_64_supply_fxsave, x86_64_fill_fxsave): New functions. | |
5637 | (_initialize_x86_64_tdep): Remove function. | |
5638 | * x86-64-linux-tdep.c: Don't include "dwarf2cfi.h". | |
5639 | (LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET, | |
5640 | LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't | |
5641 | define. | |
5642 | (X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define. | |
5643 | (x86_64_linux_sigcontext_addr): Rewrite. | |
5644 | (x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call, | |
5645 | x86_64_linux_frame_saved_pc): Remove functions. | |
5646 | (x86_64_linux_pc_in_sigtramp): Renamed from | |
5647 | x86_64_linux_in_sigtramp. Try harder to recognize a signal | |
5648 | trampoline. | |
5649 | (x86_64_linux_frame_chain, x86_64_init_frame_pc): | |
5650 | Remove_functions. | |
5651 | (x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize | |
5652 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
5653 | * x86-64-linux-nat.c: Sync with i386-linux-tdep.c. | |
5654 | (x86_64_regmap): Rename to regmap. | |
5655 | (GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of | |
5656 | x86_64_num_gregs. | |
5657 | (supply_gregset, fill_gregset): Likewise. Use regmap instead of | |
5658 | x86_64_regmap. | |
5659 | (x86_64_fxsave_offset): Remove function. | |
5660 | (supply_fpregset): Simply call x86_64_supply_fxsave. | |
5661 | (fill_fpregset): Simply call x86_64_fill_fxsave. | |
5662 | (fetch_inferior_registers, store_inferior_registers): Avoid | |
5663 | asignment in if-statement. | |
5664 | (LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn, | |
5665 | SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET, | |
5666 | LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines. | |
5667 | (fetch_core_registers): Remove function. | |
5668 | (linux_elf_core_fns): Remove. | |
5669 | (offsetoff): Don't define. | |
5670 | (_initialize_x86_64_linux_nat, kernel_u_size): Remove functions. | |
5671 | * config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o. | |
5672 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o, | |
5673 | add core-regset.o. | |
5674 | * config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for | |
5675 | protection against multiple includes instead of NM_X86_64_h. Add | |
5676 | various comments. Include "config/nm-linux.h". Don't include | |
5677 | <signal.h>. | |
5678 | (REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR, | |
5679 | GET_THREAD_SIGNALS): Remove defines. | |
5680 | (x86_64_register_u_addr, kernel_u_size, | |
5681 | lin_thread_get_thread_signals): Remove prototypes. | |
5682 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'. | |
5683 | [HAVE_LINK_H]: Don't include "solib.h". | |
5684 | [HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define. | |
5685 | * config/i386/tm-x86-64linux.h: Fix comments. | |
5686 | * Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o, | |
5687 | x86-64-tdep.o): Update dependencies. | |
5688 | ||
c25083af AC |
5689 | 2003-05-30 Andrew Cagney <[email protected]> |
5690 | ||
c8f55a7b AC |
5691 | * config/sparc/tm-sparc.h (sparc_extract_struct_value_address): |
5692 | Change parameter type to a "struct regcache *". | |
5693 | ||
c25083af AC |
5694 | * gdbarch.sh: Regardless of the multi-arch level, always define |
5695 | the macro when not already defined. | |
5696 | * gdbarch.h, gdbarch.c: Re-generate. | |
5697 | ||
fbe586ae RH |
5698 | 2003-05-30 Richard Henderson <[email protected]> |
5699 | ||
5700 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues. | |
5701 | (alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder. | |
5702 | (alpha_mdebug_frame_this_id): Likewise. | |
5703 | (alpha_mdebug_frame_prev_register): Likewise. | |
5704 | (alpha_mdebug_frame_base_address): Likewise. | |
5705 | (alpha_mdebug_frame_locals_address): Likewise. | |
5706 | (alpha_mdebug_frame_args_address): Likewise. | |
5707 | (struct alpha_mdebug_unwind_cache): Remove in_prologue_cache. | |
5708 | * alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start. | |
5709 | (alpha_heuristic_frame_unwind_cache): Make static; add missing | |
5710 | loop increment. | |
5711 | (alpha_heuristic_frame_this_id): Make static. | |
5712 | (alpha_heuristic_frame_prev_register): Likewise. | |
5713 | (alpha_heuristic_frame_base_address): Likewise. | |
5714 | * alpha-tdep.h: Update. | |
5715 | ||
acd5c798 MK |
5716 | 2003-05-30 Mark Kettenis <[email protected]> |
5717 | ||
5718 | * i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype. | |
5719 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove | |
5720 | defenitions. | |
5721 | (IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions. | |
5722 | * i386-tdep.c: Mark functions that are 64-bit safe as such. | |
5723 | (I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM, | |
5724 | I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM, | |
5725 | I386_ST0_REGNUM): New defines. | |
5726 | (CODESTREAM_BUFSIZ, codestream_tell, codestream_peek, | |
5727 | codestream_get): Remove define. | |
5728 | (codestream_next_addr, condestream_addr, condestream_buf, | |
5729 | codestream_off, codestream_cnt): Remove variables. | |
5730 | (codestream_fill, codestream_seek, codestream_read): Remove | |
5731 | functions. | |
5732 | (i386_follow_jump): Rewrite to avoid usage of removed codestream | |
5733 | functionality. | |
5734 | (i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain, | |
5735 | i386_sigtramp_saved_pc, i386_sigtramp_saved_sp, | |
5736 | i386_frame_saved_pc, i386_saved_pc_after_call, | |
5737 | i386_frame_num_args, i386_frame_init_saved_regs, | |
5738 | i386_push_return_address, i386_do_pop_frame, i386_pop_frame, | |
5739 | i386_push_arguments): Remove functions. | |
5740 | (i386_skip_prologue): Rewrite to avoid usage of removed codestream | |
5741 | functionality. Use i386_analyze_prologue instead of | |
5742 | i386_get_frame_setup. | |
5743 | (I386_NUM_SAVED_REGS): New define. | |
5744 | (struct i386_frame_cache): New structure. | |
5745 | (i386_alloc_frame_cache, i386_analyze_struct_return, | |
5746 | i386_skip_probe, i386_analyze_frame_setup, | |
5747 | i386_analyze_register_saves, i386_analyze_prologue, | |
5748 | i386_unwind_pc, i386_frame_cache, i386_frame_this_id, | |
5749 | i386_frame_prev_register, i386_sigtramp_frame_cache, | |
5750 | i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register, | |
5751 | i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address, | |
5752 | i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call): | |
5753 | New functions. | |
5754 | (i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base): | |
5755 | New variables. | |
5756 | (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of | |
5757 | I386_EAX_REGNUM and I386_EDX_REGNUM. | |
5758 | (i386_extract_return_value, i386_store_return_value): Use | |
5759 | I386_ST0_REGNUM where appropriate. | |
5760 | (i386_extract_struct_value_address): Rewrite to use extract_address. | |
5761 | (i386_svr4_pc_in_sigtramp): Add comment. | |
5762 | (i386_svr4_sigcontext_addr): Rewrite. | |
5763 | (i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and | |
5764 | TDEP->sc_sp_offset. | |
5765 | (i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set | |
5766 | sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms | |
5767 | of new defines. Set push_dummy_call, don't set | |
5768 | deprecated_push_arguments, deprecated_push_return_address, | |
5769 | deprecated_pop_frame. Don't set parm_boundary. Don't set | |
5770 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
5771 | deprecated_saved_pc_after_call. Set unwind_dummy_id, | |
5772 | save_dummy_frame_tos, unwind_pc. Call | |
5773 | frame_unwind_append_predicate and frame_base_set_default. Don't | |
5774 | set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum. | |
5775 | Don't set frameless_function_invocation. Don't set | |
5776 | deprecated_register_bytes, deprecated_register_size, | |
5777 | deprecated_call_dummy_words and deprecated_sizeof_call_dummy. | |
5778 | * i386-linux-tdep.c: Fix formatting in some comments. | |
5779 | (LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0, | |
5780 | LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1, | |
5781 | LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, | |
5782 | LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0, | |
5783 | LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop | |
5784 | redundant parentheses. | |
5785 | (I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define. | |
5786 | (i386_linux_sigcontext_addr): Use it. Rewrite. | |
5787 | (find_minsym_and_objfile): Change name of second argument. | |
5788 | (skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers | |
5789 | changed. Use frame_pc_unwind instead of | |
5790 | DEPRECATED_SAVED_PC_AFTER_CALL. | |
5791 | (i386_linux_init_abi): Don't set deprecated_register_bytes. | |
5792 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite. | |
5793 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame | |
5794 | unwinder. | |
5795 | * i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and | |
5796 | "dummy-frame.h". | |
5797 | (i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed. | |
5798 | (_initialize_i386_cygwin_tdep): New prototype. | |
5799 | (i386_cygwin_init_abi): Don't set deprecated_frame_chain and | |
5800 | deprecated_frame_chain_valid. | |
5801 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't set | |
5802 | TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset. | |
5803 | Rely on the SVR4 defaults. | |
5804 | * config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o. | |
5805 | * Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies. | |
5806 | ||
c89b70f1 AC |
5807 | 2003-05-30 Andrew Cagney <[email protected]> |
5808 | ||
5809 | * infcall.c (call_function_by_hand): Always call | |
5810 | DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case. | |
5811 | ||
85b32d22 RH |
5812 | 2003-05-30 Richard Henderson <[email protected]> |
5813 | ||
c89b70f1 AC |
5814 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop |
5815 | increment. | |
85b32d22 | 5816 | |
bfe51b1e JB |
5817 | 2003-05-29 Jim Blandy <[email protected]> |
5818 | ||
5819 | Use gdbarch methods for solib stuff on PowerPC Linux. | |
5820 | * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, | |
5821 | SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will | |
5822 | show through. | |
5823 | * ppc-linux-tdep.c (ppc_linux_init_abi): Register | |
5824 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, | |
5825 | giving the same effect as the #definitions above. | |
5826 | ||
1abf022c AF |
5827 | 2003-05-29 Adam Fedor <[email protected]> |
5828 | ||
5829 | * objc-lang.c (CONVERT_FUNCPTR): Remove macro | |
5830 | (find_implementation_from_class): Replace it with the standard | |
5831 | case i.e. do nothing. | |
5832 | ||
d2427a71 RH |
5833 | 2003-05-29 Richard Henderson <[email protected]> |
5834 | ||
5835 | * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New. | |
5836 | (alpha_linux_sigtramp_offset): Use it. Make static. | |
5837 | (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn; | |
5838 | update for new frame model. | |
5839 | * alpha-mdebug-tdep.c: New file. | |
5840 | * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c. | |
5841 | (alpha_osf1_init_abi): Install it. | |
5842 | * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c. | |
5843 | (linked_proc_desc_table): Remove. | |
5844 | (alpha_frame_past_sigtramp_frame): Remove. | |
5845 | (alpha_dynamic_sigtramp_offset): Remove. | |
5846 | (ALPHA_PROC_SIGTRAMP_MAGIC): Remove. | |
5847 | (alpha_proc_desc_is_dyn_sigtramp): Remove. | |
5848 | (alpha_set_proc_desc_is_dyn_sigtramp): Remove. | |
5849 | (push_sigtramp_desc): Remove. | |
5850 | (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM. | |
5851 | (alpha_cannot_store_register): Likewise. | |
5852 | (alpha_sigcontext_addr): Remove. | |
5853 | (alpha_find_saved_regs): Remove. | |
5854 | (alpha_frame_init_saved_regs): Remove. | |
5855 | (alpha_init_frame_pc_first): Remove. | |
5856 | (read_next_frame_reg): Remove. | |
5857 | (alpha_frame_saved_pc): Remove. | |
5858 | (alpha_saved_pc_after_call): Remove. | |
5859 | (temp_proc_desc, temp_saved_regs): Remove. | |
5860 | (alpha_about_to_return): Remove. | |
5861 | (cached_proc_desc): Remove. | |
5862 | (alpha_frame_chain): Remove. | |
5863 | (alpha_print_extra_frame_info): Remove. | |
5864 | (alpha_init_extra_frame_info): Remove. | |
5865 | (alpha_frame_locals_address): Remove. | |
5866 | (alpha_frame_args_address): Remove. | |
5867 | (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR. | |
5868 | (alpha_push_dummy_frame): Remove. | |
5869 | (alpha_pop_frame): Remove. | |
5870 | (alpha_after_prologue): Rename from after_prologue; remove mdebug bits. | |
5871 | (alpha_read_insn): New. | |
5872 | (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust | |
5873 | for different insn encodings. | |
5874 | (alpha_in_lenient_prologue): Remove. | |
5875 | (struct alpha_sigtramp_unwind_cache): New. | |
5876 | (alpha_sigtramp_frame_unwind_cache): New. | |
5877 | (alpha_sigtramp_register_address): New. | |
5878 | (alpha_sigtramp_frame_this_id): New. | |
5879 | (alpha_sigtramp_frame_prev_register): New. | |
5880 | (alpha_sigtramp_frame_unwind): New. | |
5881 | (alpha_sigtramp_frame_p): New. | |
5882 | (struct alpha_heuristic_unwind_cache): New. | |
5883 | (alpha_heuristic_proc_start): Rename from heuristic_proc_start; | |
5884 | don't count nop insns that occur between functions. | |
5885 | (alpha_heuristic_frame_unwind_cache): New; incorporate much of | |
5886 | heuristic_proc_desc, but without the mdebug wrapping. | |
5887 | (alpha_heuristic_frame_this_id): New. | |
5888 | (alpha_heuristic_frame_prev_register): New. | |
5889 | (alpha_heuristic_frame_unwind): New. | |
5890 | (alpha_heuristic_frame_p): New. | |
5891 | (alpha_heuristic_frame_base_address): New. | |
5892 | (alpha_heuristic_frame_base): New. | |
5893 | (alpha_unwind_dummy_id): New. | |
5894 | (alpha_unwind_pc): New. | |
5895 | (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of | |
5896 | frame related deprecated initializations; install replacements. | |
5897 | (alpha_dump_tdep): Remove. | |
5898 | * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame. | |
5899 | (alpha_read_insn, alpha_after_prologue, | |
5900 | alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id, | |
5901 | alpha_heuristic_frame_prev_register, | |
5902 | alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare. | |
5903 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o. | |
5904 | * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove. | |
5905 | * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove. | |
5906 | ||
93ec1121 AC |
5907 | 2003-05-29 Andrew Cagney <[email protected]> |
5908 | ||
5909 | * gdb_assert.h (gdb_assert_fail): Provide different definitions | |
5910 | dependant on the availability of ASSERT_FUNCTION. | |
5911 | (ASSERT_FUNCTION): Do not define when there is no function name. | |
5912 | ||
98f08d3d KB |
5913 | 2003-05-29 Kevin Buettner <[email protected]> |
5914 | ||
5915 | From Jimi X <[email protected]>: | |
5916 | * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code. | |
5917 | ||
0897f59b JB |
5918 | 2003-05-28 Jim Blandy <[email protected]> |
5919 | ||
5920 | * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth | |
5921 | argument to ptrace to int; the system headers should give it the | |
5922 | right type, and pointers don't fit in ints on powerpc64-*-*. | |
5923 | ||
14898363 L |
5924 | 2003-05-28 H.J. Lu <[email protected]> |
5925 | ||
5926 | * dwarf2read.c (process_die): Handle DW_TAG_try_block and | |
5927 | DW_TAG_catch_block. | |
5928 | ||
a7a48797 EZ |
5929 | 2003-05-26 Elena Zannoni <[email protected]> |
5930 | ||
5931 | * stabsread.c (dbx_lookup_type): Make static. | |
5932 | (read_type): Ditto. | |
5933 | (add_undefined_type): Ditto. | |
5934 | * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do | |
5935 | not export. | |
5936 | ||
f5479e9c EZ |
5937 | 2003-05-26 Elena Zannoni <[email protected]> |
5938 | ||
5939 | * hpread.c (hpread_has_name): Make static. | |
5940 | (hpread_psymtab_to_symtab): Ditto. | |
5941 | (file_exists): Ditto. | |
5942 | (hpread_call_pxdb): Ditto. | |
5943 | (hpread_pxdb_needed): Ditto. | |
5944 | (hpread_quick_traverse): Ditto. | |
5945 | (hpread_get_header): Ditto. | |
5946 | (hpread_get_lntt): Ditto. | |
5947 | (hpread_get_slt): Ditto. | |
5948 | (class_of): Ditto. | |
5949 | ||
eb2e12d7 AS |
5950 | 2003-05-25 Andreas Schwab <[email protected]> |
5951 | ||
78bf922a AS |
5952 | * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of |
5953 | stack_align and deprecated_extra_stack_alignment_needed. | |
5954 | (m68k_stack_align): Delete. | |
5955 | ||
eb2e12d7 AS |
5956 | * m68k-tdep.c (m68k_register_raw_size): Remove cast. |
5957 | (m68k_register_virtual_size): Likewise. | |
5958 | (altos_skip_prologue): Remove obsolete function. | |
5959 | (isi_frame_num_args): Likewise. | |
5960 | (news_frame_num_args): Likewise. | |
5961 | (m68k_fix_call_dummy): Make static. | |
5962 | (m68k_push_dummy_frame): Likewise. | |
5963 | (m68k_pop_frame): Likewise. | |
5964 | (m68k_skip_prologue): Likewise. | |
5965 | (m68k_frame_init_saved_regs): Likewise. | |
5966 | (m68k_saved_pc_after_call): Likewise. | |
5967 | (m68k_get_longjmp_target): Make multi-arch. | |
5968 | (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep | |
5969 | structure. Register m68k_get_longjmp_target if enabled. | |
5970 | * m68k-tdep.h (struct gdbarch_tdep): Define. | |
5971 | * config/m68k/tm-m68k.h: Don't include "regcache.h". | |
5972 | ||
5973 | * Makefile.in (config.status): Also depend on configure.tgt | |
5974 | and configure.host. | |
5975 | (m68klinux-tdep.o): Update dependencies. | |
5976 | * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1. | |
5977 | * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define. | |
5978 | (M68K_LINUX_JB_PC): Define. | |
5979 | (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp | |
5980 | and take additional parameter. | |
5981 | (m68k_linux_sigtramp_saved_pc): Update. | |
5982 | (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register | |
5983 | m68k_linux_pc_in_sigtramp, in_plt_section, | |
5984 | find_solib_trampoline_target. | |
5985 | * config/m68k/tm-linux.h: Don't include any tm headers. | |
5986 | (START_INFERIOR_TRAPS_EXPECTED): Remove definition. | |
5987 | (JB_ELEMENT_SIZE): Likewise. | |
5988 | (JB_PC): Likewise. | |
5989 | (GET_LONGJMP_TARGET): Likewise. | |
5990 | (IN_SIGTRAMP): Likewise. | |
5991 | (SVR4_SHARED_LIBS): Define this and include "solib.h". | |
5992 | ||
eb2c22dc MK |
5993 | 2003-05-25 Mark Kettenis <[email protected]> |
5994 | ||
5995 | * sparc-tdep.c (sparc32_do_push_arguments): New function. | |
5996 | (sparc32_push_arguments): Re-implement by calling | |
5997 | sparc32_do_push_arguments. | |
5998 | ||
44b7b84e MK |
5999 | 2003-05-25 Mark Kettenis <[email protected]> |
6000 | ||
6001 | * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM, | |
6002 | SPARC_O1_REGNUM): New defines. | |
6003 | (sparc32_extract_return_value): Rewrite to operate on a regcache. | |
6004 | (sparc32_store_return_value): New function. | |
6005 | (sparc_extract_struct_value_address): Rewrite to operate on a | |
6006 | regcache. | |
6007 | (sparc_gdbarch_init): Don't set | |
6008 | deprecated_extract_struct_value_address. Set | |
6009 | extract_struct_value_address instead. Don't set | |
6010 | deprecated_extract_return_value and deprecated_store_return_value | |
6011 | for 32-bit targets. Set extract_return_value and | |
6012 | store_return_value instead. | |
6013 | * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE, | |
6014 | DEPRECTAED_EXTRACT_RETURN_VALUE, | |
6015 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these. | |
6016 | (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE, | |
6017 | EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead. | |
6018 | (sparc_store_return_value): Remove prototype. | |
6019 | (sparc32_store_return_value): New prototype. | |
6020 | (sparc32_extract_return_value, sparc_extract_struct_value_address): | |
6021 | Adjust prototypes. | |
6022 | ||
f6ad61e3 MK |
6023 | 2003-05-24 Mark Kettenis <[email protected]> |
6024 | ||
6025 | * sparcnbsd-tdep.c: Include "gdb_string.h". | |
6026 | ||
b276f1bb AC |
6027 | 2003-05-23 Andrew Cagney <[email protected]> |
6028 | ||
6029 | * p-valprint.c (pascal_val_print): Replace extract_address with | |
6030 | the inline equivalent extract_unsigned_integer. | |
6031 | * jv-valprint.c (java_value_print): Ditto. | |
6032 | * ada-valprint.c (ada_val_print_1): Ditto. | |
6033 | * ada-lang.h (EXTRACT_ADDRESS): Ditto. | |
6034 | ||
e76c5fcc TR |
6035 | 2003-05-23 Theodore A. Roth <[email protected]> |
6036 | ||
6037 | * blockframe.c (frameless_look_for_prologue): Remove unused | |
6038 | after_prologue variable. | |
6039 | ||
2cdd89cb MK |
6040 | 2003-05-23 Mark Kettenis <[email protected]> |
6041 | ||
6042 | * blockframe.c (get_pc_function_start): Rewrite to avoid | |
6043 | asignments in if-statements. | |
6044 | ||
182d43bc EZ |
6045 | 2003-05-23 Raoul Gough <[email protected]> |
6046 | ||
6047 | Committed by Elena Zannoni <[email protected]>. | |
8ffd9b1b | 6048 | * coffread.c(coff_symtab_read): Do relocate static symbols from PE |
182d43bc EZ |
6049 | files, don't relocate absolute symbols (and do use mst_abs). |
6050 | ||
e8f3fcdd AC |
6051 | 2003-05-23 Andrew Cagney <[email protected]> |
6052 | ||
6053 | * objc-lang.c: Include "gdb_assert.h". | |
6054 | (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0. | |
6055 | (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros. | |
6056 | (gdb_check, gdb_check_fatal): Delete functions. | |
6057 | (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with | |
6058 | gdb_assert. | |
6059 | (parse_selector, parse_method, find_methods, find_imps): Ditto. | |
6060 | * Makefile.in (objc-lang.o): Update dependencies. | |
6061 | ||
3c23e6fb ILT |
6062 | 2003-05-22 Ian Lance Taylor <[email protected]> |
6063 | ||
6064 | * disasm.c (gdb_disassemble_info): Initialize disassemble_info | |
6065 | with fprintf_filtered, not fprintf_unfiltered. | |
6066 | ||
af1342ab AC |
6067 | 2003-05-22 Andrew Cagney <[email protected]> |
6068 | ||
6069 | * stack.c (frame_info): Inline extract_address, replacing it with | |
6070 | extract_unsigned_integer. | |
6071 | * findvar.c (unsigned_pointer_to_address): Ditto. | |
6072 | * dwarf2loc.c (dwarf_expr_read_reg): Ditto. | |
6073 | * dwarf2expr.c (dwarf2_read_address): Ditto. | |
6074 | * frame.c (frame_pc_unwind): Update comment. | |
6075 | * dummy-frame.c (deprecated_read_register_dummy): Update comment. | |
6076 | ||
47e242ec JJ |
6077 | 2003-05-22 Jeff Johnston <[email protected]> |
6078 | ||
6079 | * infptrace.c (detach): Call print_sys_errmsg rather than | |
6080 | perror_with_name to issue warning message when errno is non-zero | |
6081 | after calling ptrace detach. | |
6082 | ||
e2ac8128 JB |
6083 | 2003-05-21 J. Brobecker <[email protected]> |
6084 | ||
6085 | * config/pa/tm-hppa.h: Delete some unused macros. Move some | |
6086 | macro definitions from here... | |
6087 | * hppa-tdep.c: ...to there. | |
6088 | ||
92b3541e KB |
6089 | 2003-05-20 Kevin Buettner <[email protected]> |
6090 | ||
6091 | * mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function | |
6092 | register_ptrace_addr(). Fix all callers. | |
6093 | ||
55809acb AS |
6094 | 2003-05-21 Andreas Schwab <[email protected]> |
6095 | ||
6096 | * Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update | |
6097 | dependencies. | |
6098 | * m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the | |
6099 | end. | |
6100 | * m68klinux-tdep.c (m68k_linux_init_abi): New function. | |
6101 | (_initialize_m68k_linux_tdep): New function. | |
6102 | (m68k_linux_frame_saved_pc): Make static. | |
6103 | (m68k_linux_extract_return_value): Likewise. | |
6104 | (m68k_linux_store_return_value): Likewise. | |
6105 | (m68k_linux_extract_struct_value_address): Likewise. | |
6106 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): | |
6107 | Remove. | |
6108 | (DEPRECATED_STORE_RETURN_VALUE): Remove. | |
6109 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
6110 | (DEPRECATED_FRAME_SAVED_PC): Remove. | |
6111 | ||
0fbc10f7 KW |
6112 | 2003-05-20 Kris Warkentin <[email protected]> |
6113 | ||
6114 | * nto-tdep.c (fetch_core_registers): Match gdb's idea of | |
6115 | regset numbering rather than our own. | |
6116 | ||
58da2eb2 DC |
6117 | 2003-05-19 David Carlton <[email protected]> |
6118 | ||
6119 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*. | |
6120 | ||
1fcb5155 DC |
6121 | 2003-05-19 David Carlton <[email protected]> |
6122 | ||
6123 | Partial fix for PR c++/827. | |
6124 | * cp-support.h: Include symtab.h. | |
6125 | Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace. | |
6126 | * cp-namespace.c: Update contributors. | |
6127 | (cp_lookup_symbol_nonlocal): New. | |
6128 | (lookup_namespace_scope, cp_lookup_symbol_namespace) | |
6129 | (lookup_symbol_file): Ditto. | |
6130 | * c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal. | |
6131 | * block.h: Declare block_scope, block_using, block_global_block. | |
6132 | * block.c (block_scope): New. | |
6133 | (block_using, block_global_block): Ditto. | |
6134 | * Makefile.in (cp_support_h): Depend on symtab_h. | |
6135 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc. | |
6136 | ||
5f9a71c3 DC |
6137 | 2003-05-19 David Carlton <[email protected]> |
6138 | ||
6139 | * language.h (struct language_defn): Add 'la_value_of_this' | |
6140 | and 'la_lookup_symbol_nonlocal' members. | |
6141 | * symtab.h: Declare basic_lookup_symbol_nonlocal, | |
6142 | lookup_symbol_static, lookup_symbol_global, | |
6143 | lookup_symbol_aux_block. | |
6144 | * symtab.c (lookup_symbol_aux): Call language hooks to determine | |
6145 | if we should search fields of this and how to do static/global | |
6146 | lookup. | |
6147 | (lookup_symbol_aux_block): Make extern. | |
6148 | (basic_lookup_symbol_nonlocal): New. | |
6149 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
6150 | * ada-lang.c (ada_language_defn): Set 'la_value_of_this' and | |
6151 | 'la_lookup_symbol_nonlocal' members. | |
6152 | * c-lang.c (c_language_defn, cplus_language_defn) | |
6153 | (asm_language_defn, minimal_language_defn): Ditto. | |
6154 | * jv-lang.c (java_language_defn): Ditto. | |
6155 | * language.c (unknown_language_defn, auto_language_defn) | |
6156 | (local_language_defn): Ditto. | |
6157 | * m2-lang.c (m2_language_defn): Ditto. | |
6158 | * objc-lang.c (objc_language_defn): Ditto. | |
6159 | * scm-lang.c (scm_language_defn): Ditto. | |
6160 | * f-lang.c (f_language_defn): Ditto, and include value.h as well. | |
6161 | * p-lang.c (pascal_language_defn): Ditto for both. | |
6162 | * Makefile.in (f-lang.o): Depend on value_h. | |
6163 | (p-lang.o): Ditto. | |
6164 | ||
89a9d1b1 DC |
6165 | 2003-05-19 David Carlton <[email protected]> |
6166 | ||
6167 | * block.h: Declare block_static_block. | |
6168 | * block.c (block_static_block): New. | |
6169 | * symtab.c (lookup_symbol_aux): Remove 'static_block' argument to | |
6170 | lookup_symbol_aux_local, calling block_static_block instead. | |
6171 | (lookup_symbol_aux_local): Delete 'static_block' argument. | |
6172 | ||
eed3f8ab DC |
6173 | 2003-05-19 David Carlton <[email protected]> |
6174 | ||
6175 | * symtab.c (lookup_symbol_aux): Delete #if 0 hunk. | |
6176 | ||
a09d8bda ML |
6177 | 2003-05-19 Michal Ludvig <[email protected]> |
6178 | ||
6179 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix | |
6180 | register numbers mapping. | |
6181 | ||
69636828 AF |
6182 | 2003-05-18 Adam Fedor <[email protected]> |
6183 | ||
6184 | * symtab.c (completion_list_objc_symbol): New function. | |
6185 | (make_symbol_completion_list): Use it to add ObjC symbols | |
6186 | when looking though the list. | |
6187 | (language_search_unquoted_string): New function. | |
6188 | (make_file_symbol_completion_list): Use it. | |
6189 | ||
55baeb84 AS |
6190 | 2003-05-18 Andreas Schwab <[email protected]> |
6191 | ||
d0b45d99 AS |
6192 | * Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update |
6193 | dependencies. | |
6194 | * config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define | |
6195 | as m68k_linux_extract_return_value. | |
6196 | (DEPRECATED_STORE_RETURN_VALUE): Define as | |
6197 | m68k_linux_store_return_value. | |
6198 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
6199 | m68k_linux_extract_struct_value_address. | |
6200 | * m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use | |
6201 | get_next_frame, get_frame_base, get_frame_pc. | |
6202 | (m68k_linux_frame_saved_pc): Use get_frame_base. | |
6203 | (m68k_linux_extract_return_value): New function. | |
6204 | (m68k_linux_store_return_value): New function. | |
6205 | (m68k_linux_extract_struct_value_address): New function. | |
6206 | * config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target. | |
6207 | ||
55baeb84 AS |
6208 | * c-exp.y (typebase): Remove duplicate occurence of |
6209 | `SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead | |
8ffd9b1b | 6210 | of lookup_signed_typename. |
55baeb84 | 6211 | |
b6b08ebf MK |
6212 | 2003-05-18 Mark Kettenis <[email protected]> |
6213 | ||
6214 | * dwarf2loc.c (find_location_expression): Change type of second | |
6215 | argument to `size_t *'. | |
6216 | (loclist_read_variable, loclist_tracepoint_var_ref): Use size_t | |
6217 | for size variable. | |
6218 | ||
5ad1c190 DC |
6219 | 2003-05-18 David Carlton <[email protected]> |
6220 | ||
6221 | * symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to | |
6222 | 'linkage_name'. Add comment. | |
6223 | (lookup_symbol_aux_local): Rename 'mangled_name' argument to | |
6224 | 'linkage_name'. | |
6225 | (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
6226 | (lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms) | |
6227 | (lookup_block_symbol): Ditto. | |
6228 | ||
b8b527c5 AC |
6229 | 2003-05-16 Andrew Cagney <[email protected]> |
6230 | ||
6231 | * gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES. | |
6232 | * gdbarch.h, gdbarch.c: Re-generate. | |
6233 | * arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference. | |
6234 | * TODO (REGISTER_BYTES): Delete reference. | |
6235 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
6236 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
6237 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
6238 | * vax-tdep.c (vax_gdbarch_init): Update. | |
6239 | * v850-tdep.c (v850_gdbarch_init): Update. | |
6240 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
6241 | * sh-tdep.c (sh_gdbarch_init): Update. | |
6242 | * s390-tdep.c (s390_gdbarch_init): Update. | |
6243 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
6244 | * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update. | |
6245 | (ns32k_gdbarch_init_32382): Update. | |
6246 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
6247 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
6248 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
6249 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
6250 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
6251 | * i386-tdep.c (i386_gdbarch_init): Update. | |
6252 | * i386-linux-tdep.c (i386_linux_init_abi): Update. | |
6253 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
6254 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
6255 | * frv-tdep.c (frv_gdbarch_init): Update. | |
6256 | * cris-tdep.c (cris_gdbarch_init): Update. | |
6257 | * avr-tdep.c (avr_gdbarch_init): Update. | |
6258 | * arm-tdep.c (arm_gdbarch_init): Update. | |
6259 | * sparc-tdep.c (sparc_pop_frame): Update. | |
6260 | * rs6000-tdep.c (rs6000_pop_frame): Update. | |
6261 | * remote.c (init_remote_state): Update. | |
6262 | (remote_prepare_to_store): Update. | |
6263 | * remote-vx.c (vx_prepare_to_store): Update. | |
6264 | * remote-sds.c (sds_fetch_registers): Update. | |
6265 | (sds_prepare_to_store): Update. | |
6266 | * remote-array.c: Update. | |
6267 | * regcache.c (init_legacy_regcache_descr): Update. | |
6268 | (init_regcache_descr): Update. | |
6269 | * mips-tdep.c (mips_eabi_extract_return_value): Update. | |
6270 | (mips_o64_extract_return_value): Update. | |
6271 | * irix5-nat.c (fetch_core_registers): Update. | |
6272 | * irix4-nat.c (fetch_core_registers): Update. | |
6273 | * i386-tdep.h: Update. | |
6274 | * hppa-tdep.c (pa_do_registers_info): Update. | |
6275 | (pa_do_strcat_registers_info): Update. | |
6276 | * cris-tdep.c (cris_register_bytes_ok): Update. | |
6277 | * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update. | |
6278 | * config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update. | |
6279 | * config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update. | |
6280 | * config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update. | |
6281 | * config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update. | |
6282 | * config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update. | |
6283 | * config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update. | |
6284 | * config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update. | |
6285 | * config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update. | |
6286 | * config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update. | |
6287 | * config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update. | |
6288 | * config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update. | |
6289 | (REGISTER_BYTES_OK): Update. | |
6290 | * config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update. | |
6291 | * config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update. | |
6292 | ||
ee2842e2 ILT |
6293 | 2003-05-16 Ian Lance Taylor <[email protected]> |
6294 | ||
6295 | * vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define. | |
6296 | (vax_print_insn, print_insn_arg): Remove static functions. | |
6297 | (vax_gdbarch_init): Call set_gdbarch_print_insn with | |
6298 | print_insn_vax from opcodes library. | |
6299 | (_initialize_vax_tdep): Don't set deprecated_tm_print_insn. | |
6300 | ||
973177d3 AC |
6301 | 2003-05-15 Andrew Cagney <[email protected]> |
6302 | ||
aaab4dba AC |
6303 | * arch-utils.h (legacy_breakpoint_from_pc): Delete declaration. |
6304 | * target.h (memory_breakpoint_from_pc): Delete declaration. | |
6305 | * mem-break.c (memory_breakpoint_from_pc): Delete function. | |
6306 | * arch-utils.c (legacy_breakpoint_from_pc): Delete function. | |
6307 | * monitor.c (monitor_insert_breakpoint): Use | |
6308 | gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc. | |
6309 | * gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default. | |
6310 | * gdbarch.h, gdbarch.c: Re-generate. | |
6311 | * sparc-tdep.c (sparc_breakpoint_from_pc): New function. | |
6312 | (sparc_gdbarch_init): Set breakpoint_from_pc to | |
6313 | sparc_breakpoint_from_pc. | |
6314 | * config/sparc/tm-sparc.h (BREAKPOINT): Delete macro. | |
6315 | (BREAKPOINT_FROM_PC): Define. | |
6316 | (sparc_breakpoint_from_pc): Declare. | |
6317 | * hppa-tdep.c (hppa_breakpoint_from_pc): New function. | |
6318 | * config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare. | |
6319 | (BREAKPOINT_FROM_PC): Define. | |
6320 | (BREAKPOINT): Delete macro. | |
6321 | * target.h: Update comment. | |
6322 | * s390-tdep.c (s390_gdbarch_init): Update comments. | |
6323 | * remote.c: Update comments. | |
6324 | * remote-mips.c: Update comments. | |
6325 | * proc-api.c (write_with_trace): Do not check for a breakpoint. | |
6326 | * mem-break.c: Update comment. | |
6327 | * ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT. | |
6328 | (ia64_memory_insert_breakpoint): Update. | |
6329 | * config/sparc/tm-sparc.h: Update comment. | |
6330 | * config/pa/tm-hppa64.h: Update comment. | |
6331 | * rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
6332 | (rs6000_breakpoint_from_pc): Update. | |
6333 | * mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro. | |
6334 | (PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro. | |
6335 | (IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro. | |
6336 | (MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro. | |
6337 | (mips_breakpoint_from_pc): Update. | |
6338 | (mips_dump_tdep): Update. | |
6339 | ||
e06963ff AC |
6340 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro. |
6341 | * minsyms.c (lookup_minimal_symbol): Inline | |
6342 | DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp. | |
6343 | ||
973177d3 AC |
6344 | * c-lang.c (c_printstr): Delete "extern inspect_it" declaration. |
6345 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
6346 | * p-lang.c (pascal_printstr): Ditto. | |
6347 | * objc-lang.c (objc_printstr): Ditto. | |
6348 | * m2-lang.c (m2_printstr): Ditto. | |
6349 | * jv-valprint.c (java_print_value_fields): Ditto. | |
6350 | * f-lang.c (f_printstr): Ditto. | |
6351 | * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h". | |
6352 | * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and | |
6353 | for repeat_count_threshold. | |
6354 | * Makefile.in (cp-valprint.o): Update dependencies. | |
6355 | ||
5ea2bd7f | 6356 | 2003-05-15 Jeff Johnston <[email protected]> |
8ffd9b1b | 6357 | |
5ea2bd7f JJ |
6358 | * ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. |
6359 | (examine_prologue): Support looking through leaf functions, knowing | |
8ffd9b1b AJ |
6360 | they start with mov r2,r12. Support skipping over indirect stores |
6361 | of the input registers. Upon hitting a non-nop branch instruction | |
6362 | or predicated instruction, bail out by setting lim_pc to the current | |
6363 | pc value in the loop. At the end, if the lim_pc value is still | |
5ea2bd7f JJ |
6364 | beyond our calculated value and we have trust_limit set, |
6365 | use the lim_pc value. | |
6366 | ||
cc8c88f3 AC |
6367 | 2003-05-15 Andrew Cagney <[email protected]> |
6368 | ||
6369 | * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename | |
6370 | generic_find_dummy_frame. | |
6371 | * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update. | |
6372 | (deprecated_generic_find_dummy_frame): Update. | |
6373 | (deprecated_read_register_dummy): Update. | |
6374 | * frame.c (deprecated_generic_get_saved_register): Update. | |
6375 | ||
909cd28e TR |
6376 | 2003-05-15 Theodore A. Roth <[email protected]> |
6377 | ||
6378 | * avr-tdep.c (avr_breakpoint_from_pc): New function. | |
6379 | (avr_gdbarch_init): Set breakpoint_from_pc method. | |
6380 | ||
b923b08d AC |
6381 | 2003-05-15 Andrew Cagney <[email protected]> |
6382 | ||
6383 | * regcache.c (build_regcache): Set deprecated_register_valid | |
6384 | directly. | |
6385 | (deprecated_grub_regcache_for_register_valid): Delete function. | |
6386 | * regcache.h (deprecated_grub_regcache_for_register_valid): Delete | |
6387 | declaration. | |
6388 | ||
ae2f03ac | 6389 | 2003-05-15 David Carlton <[email protected]> |
8ffd9b1b AJ |
6390 | |
6391 | Committed by Elena Zannoni <[email protected]> | |
fbe586ae RH |
6392 | * symtab.c (lookup_symbol_aux): Delete calls to |
6393 | lookup_symbol_aux_minsyms. | |
6394 | (lookup_symbol_aux_minsyms): Comment out function and | |
6395 | prototype. Delete lookup by mangled name. | |
ae2f03ac | 6396 | |
18ec9831 KB |
6397 | 2003-05-14 Kevin Buettner <[email protected]> |
6398 | ||
6399 | * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to | |
6400 | correctly indicate an empty stack and ``stack_allocated'' to the | |
6401 | indicate the number of elements initially allocated. | |
6402 | (dwarf_expr_grow_stack): Simplify method for computing new | |
6403 | stack size. Don't loop infinitely if ``stack_len'' is zero. | |
6404 | (execute_stack_op): Move ``ctx->in_reg'' initialization | |
6405 | out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to | |
6406 | be used in conjuction with DW_OP_piece. Revise error message | |
6407 | accordingly. | |
6408 | ||
de18ac1f TR |
6409 | 2003-05-14 Theodore A. Roth <[email protected]> |
6410 | ||
6411 | * MAINTAINERS: Update my email address. | |
6412 | * avr-tdep.c: Ditto. | |
6413 | ||
176620f1 EZ |
6414 | 2003-05-14 Elena Zannoni <[email protected]> |
6415 | ||
6416 | * symtab.h (enum domain_enum): Rename from namespace_enum. | |
6417 | (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN, | |
6418 | VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN): | |
6419 | Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE, | |
6420 | LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE, | |
6421 | TYPES_NAMESPACE, METHODS_NAMESPACE. | |
6422 | (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN. | |
6423 | (struct symbol, struct partial_symbol): Rename field | |
6424 | 'namespace_enum namespace' to 'domain_enum domain'. | |
6425 | (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN. | |
6426 | Delete old define kludge for namespace. | |
6427 | ||
6428 | * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c, | |
6429 | blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c, | |
6430 | dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h, | |
6431 | gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c, | |
6432 | language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c, | |
6433 | mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c, | |
6434 | p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c, | |
6435 | stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c, | |
6436 | valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all | |
6437 | occurrences of the above. | |
6438 | ||
b7f31508 ILT |
6439 | 2003-05-14 Ian Lance Taylor <[email protected]> |
6440 | ||
6441 | * Makefile.in (install-only): Use $(SHELL) when running | |
6442 | mkinstalldirs. | |
6443 | ||
2fdbdd39 ILT |
6444 | 2003-05-13 Ian Lance Taylor <[email protected]> |
6445 | ||
a208d82c ILT |
6446 | * MAINTAINERS (write after approval): Add myself. |
6447 | ||
2fdbdd39 ILT |
6448 | * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap |
6449 | second and third arguments. | |
6450 | * ser-tcp.c (_initialize_ser_tcp): Likewise. | |
6451 | * ser-unix.c (_initialize_ser_hardwire): Likewise. | |
6452 | ||
fbd9dcd3 AC |
6453 | 2003-05-13 Andrew Cagney <[email protected]> |
6454 | ||
6455 | * defs.h (store_address): Delete declaration. | |
6456 | findvar.c (store_address): Delete function. | |
6457 | * arm-tdep.c (arm_push_dummy_call): Replace store_address with | |
6458 | store_unsigned_integer. | |
6459 | * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto. | |
6460 | * v850-tdep.c (v850_push_arguments): Ditto. | |
6461 | * sparc-tdep.c (sparc_get_saved_register): Ditto. | |
6462 | * sh-tdep.c (sh64_get_saved_register): Ditto. | |
6463 | * rs6000-tdep.c (rs6000_push_arguments): Ditto. | |
6464 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto. | |
6465 | * mips-tdep.c (mips_eabi_push_arguments): Ditto. | |
6466 | (mips_get_saved_register): Ditto. | |
6467 | * ia64-tdep.c (ia64_get_saved_register): Ditto. | |
6468 | (find_func_descr, ia64_push_arguments): Ditto. | |
6469 | * i386-tdep.c (i386_push_arguments): Ditto. | |
6470 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
6471 | * frv-tdep.c (frv_push_arguments): Ditto. | |
6472 | * frame.c (legacy_saved_regs_prev_register): Ditto. | |
6473 | (deprecated_generic_get_saved_register): Ditto. | |
6474 | * findvar.c (unsigned_address_to_pointer): Ditto. | |
6475 | * dwarf2read.c (dwarf2_const_value): Ditto. | |
6476 | * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. | |
6477 | * alpha-tdep.c (alpha_push_arguments): Ditto. | |
6478 | ||
6760f9e6 JB |
6479 | 2003-05-12 J. Brobecker <[email protected]> |
6480 | ||
6481 | * NEWS: Mention that the hppa-hpux port has been partially | |
6482 | multiarched (32bit ABIT only, so far). | |
6483 | ||
30e221b4 AC |
6484 | 2003-05-11 Andrew Cagney <[email protected]> |
6485 | ||
6486 | * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol. | |
6487 | * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h, | |
6488 | include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms, | |
6489 | sim/testsuite/sim/arm/misaligned2.ms, and | |
6490 | sim/testsuite/sim/arm/misaligned3.ms. | |
6491 | * disasm.h (struct ui_file): Add opaque struct declaration. | |
6492 | * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto. | |
6493 | * frame.h (struct ui_file): Ditto. | |
6494 | ||
dea7f9ba MK |
6495 | 2003-05-11 Mark Kettenis <[email protected]> |
6496 | ||
6497 | * value.h: Pretty print. | |
6498 | ||
01986c48 MK |
6499 | 2003-05-10 Mark Kettenis <[email protected]> |
6500 | ||
6501 | * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define. | |
6502 | ||
123a958e AC |
6503 | 2003-05-08 Andrew Cagney <[email protected]> |
6504 | ||
6505 | * regcache.h (max_register_size): Delete declaration. | |
6506 | * regcache.c (max_register_size): Delete function. | |
6507 | (struct regcache_descr): Delete field "max_register_size". | |
6508 | (init_regcache_descr, init_legacy_regcache_descr): Assert that all | |
6509 | registers fit in MAX_REGISTER_SIZE. | |
6510 | (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE. | |
6511 | (regcache_restore, regcache_xfer_part, regcache_dump): Ditto. | |
6512 | * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE. | |
6513 | * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto. | |
6514 | * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto. | |
6515 | * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto. | |
6516 | * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto. | |
6517 | * dve3900-rom.c, hppa-tdep.c: Ditto. | |
6518 | ||
eb294659 DC |
6519 | 2003-05-08 David Carlton <[email protected]> |
6520 | ||
6521 | * valops.c (push_word): Fix typo. | |
6522 | ||
d9d9c31f AC |
6523 | 2003-05-08 Andrew Cagney <[email protected]> |
6524 | ||
6525 | * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. | |
6526 | * gdbarch.h: Re-generate. | |
6527 | * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. | |
6528 | (legacy_max_register_raw_size): Delete declaration. | |
6529 | * regcache.c (legacy_max_register_raw_size): Delete function. | |
6530 | * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. | |
6531 | * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto. | |
6532 | * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto. | |
6533 | * remote-rdp.c, remote-array.c, regcache.c: Ditto. | |
6534 | * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto. | |
6535 | * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto. | |
6536 | * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto. | |
6537 | * findvar.c, dwarf2cfi.c: Ditto. | |
6538 | ||
22540ece AC |
6539 | 2003-05-08 Andrew Cagney <[email protected]> |
6540 | ||
6541 | * mips-tdep.c (read_signed_register): New function, moved to here | |
6542 | from "regcache.c". | |
6543 | (read_signed_register_pid): Ditto. | |
6544 | * regcache.c (read_signed_register_pid): Delete function, moved to | |
6545 | "mips-tdep.c". | |
6546 | (read_signed_register): Ditto. | |
6547 | * regcache.h (read_signed_register): Delete declaration. | |
6548 | (read_signed_register_pid): Delete declaration. | |
6549 | ||
0c92afe8 AC |
6550 | 2003-05-08 Andrew Cagney <[email protected]> |
6551 | ||
6552 | * gdbarch.sh: Add comments on MAX_REGISTER_SIZE. | |
6553 | * gdbarch.h: Re-generate. | |
6554 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. | |
6555 | (legacy_max_register_virtual_size): Delete declaration. | |
6556 | * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. | |
6557 | * d10v-tdep.c (d10v_print_registers_info): Ditto. | |
6558 | * tracepoint.c (memrange_sortmerge): Ditto. | |
6559 | * sparc-tdep.c (sparc_print_registers): Ditto. | |
6560 | * regcache.c (legacy_max_register_virtual_size): Delete function. | |
6561 | ||
6037b830 JB |
6562 | 2002-05-08 J. Brobecker <[email protected]> |
6563 | ||
6564 | * fork-child.c (escape_bang_in_quoted_argument): New function. | |
6565 | (fork_inferior): Escape '!' characters in quoted arguments | |
6566 | only when needed. | |
6567 | ||
5d62c8b1 JB |
6568 | 2003-05-08 J. Brobecker <[email protected]> |
6569 | ||
6570 | * dwarf2read.c (set_cu_language): Set the language to "minimal" if | |
6571 | the language of the CU is not currently supported by GDB. | |
6572 | ||
20a0e81d JB |
6573 | 2003-05-08 J. Brobecker <[email protected]> |
6574 | ||
6575 | * defs.h (language): Add language_minimal enum value. | |
6576 | * c-lang.c (minimal_language_defn): New language definition. | |
6577 | (_initialize_c_language): Add the new minimal language to the list | |
6578 | of languages known to GDB. | |
6579 | ||
710ee10a KB |
6580 | 2003-05-08 Kevin Buettner <[email protected]> |
6581 | ||
6582 | * frame.c (get_frame_type): Don't attempt to lazily initialize | |
6583 | frame's unwinder for legacy frames. | |
6584 | ||
1750fa04 AC |
6585 | 2003-05-07 Andrew Cagney <[email protected]> |
6586 | ||
6587 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" | |
6588 | and "regcache" parameters. | |
6589 | * avr-tdep.c (avr_remote_translate_xfer_address): Ditto. | |
6590 | ||
ddf9f258 | 6591 | 2003-05-07 Jeff Johnston <[email protected]> |
8ffd9b1b AJ |
6592 | |
6593 | * dwarf2read.c (dwarf_decode_lines): Only use output of | |
6594 | check_cu_functions() when calling record_line(). Do not update | |
ddf9f258 JJ |
6595 | the current address. |
6596 | ||
87767c29 AC |
6597 | 2003-05-07 Andrew Cagney <[email protected]> |
6598 | ||
6599 | * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR | |
6600 | code. | |
6601 | ||
5e7b2f39 JB |
6602 | 2003-05-07 Jim Blandy <[email protected]> |
6603 | ||
6604 | Rename commands 'maint list symtabs' and 'maint list psymtabs' to | |
6605 | 'maint info symtabs' and 'maint info psymtabs'. | |
6606 | * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): | |
6607 | Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. | |
6608 | * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): | |
6609 | Declarations updated. | |
6610 | * maint.c (maintenance_list_command): Delete. | |
6611 | (_initialize_maint_cmds): Update calls to add_cmd. | |
6612 | * gdbcmd.h (maintenancelistlist): Delete declaration. | |
6613 | * cli/cli-cmds.c (maintenancelistlist): Delete. | |
6614 | (init_cmd_lists): Don't initialize it. | |
6615 | * cli/cli-cmds.h (maintenancelistlist): Delete declaration. | |
6616 | ||
f6684c31 AC |
6617 | 2003-05-07 Andrew Cagney <[email protected]> |
6618 | ||
6619 | * d10v-tdep.c (remote_d10v_translate_xfer_address): Add | |
6620 | "regcache". | |
6621 | (d10v_print_registers_info): Update. | |
6622 | (d10v_dmap_register, d10v_imap_register): Delete functions. | |
6623 | (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" | |
6624 | and "imap_register". | |
6625 | (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". | |
6626 | (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". | |
6627 | * arch-utils.c (generic_remote_translate_xfer_address): Add | |
6628 | "regcache" and "gdbarch" parameters. | |
6629 | * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" | |
6630 | parameter. Change class to multi-arch. | |
6631 | * gdbarch.h, gdbarch.c: Re-generate. | |
6632 | * remote.c (remote_xfer_memory): Use | |
6633 | gdbarch_remote_translate_xfer_address. | |
8ffd9b1b | 6634 | |
e4846b08 JJ |
6635 | 2003-05-07 Jeff Johnston <[email protected]> |
6636 | ||
6637 | * infrun.c (prev_pc): Move declaration ahead of proceed(). | |
6638 | (proceed): Refresh prev_pc value before resuming. | |
6639 | (stop_stepping): Remove code to refresh prev_pc. | |
6640 | ||
6b71b8ac KW |
6641 | 2003-05-06 Kris Warkentin <[email protected]> |
6642 | ||
6643 | * nto-tdep.c: Removed stray comment. | |
6644 | ||
47979a4b KW |
6645 | 2003-05-06 Kris Warkentin <[email protected]> |
6646 | ||
6647 | * i386-nto-tdep.c: Fix old K&R function definitions. | |
6648 | * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h. | |
6649 | Also change add_show_from_set() call to add_setshow_cmd(). | |
6650 | * nto-tdep.h: Remove PARAMS and grep ^func ARI hits. | |
6651 | ||
00905d52 AC |
6652 | 2003-05-05 Andrew Cagney <[email protected]> |
6653 | ||
6654 | * dummy-frame.c: Include "command.h" and "gdbcmd.h". | |
6655 | (fprint_dummy_frames): New function. | |
6656 | (maintenance_print_dummy_frames): New function. | |
6657 | (_initialize_dummy_frame): Add command "maint print dummy-frames". | |
6658 | * frame.c (fprint_frame_id): Make global. | |
6659 | * frame.h (fprint_frame_id): Declare. | |
6660 | * Makefile.in (dummy-frame.o): Update dependencies. | |
6661 | ||
b1e29e33 AC |
6662 | 2003-05-05 Andrew Cagney <[email protected]> |
6663 | ||
6664 | * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. | |
6665 | (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename | |
6666 | SIZEOF_CALL_DUMMY_WORDS. | |
6667 | (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. | |
6668 | (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. | |
6669 | (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename | |
6670 | CALL_DUMMY_BREAKPOINT_OFFSET. | |
6671 | (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename | |
6672 | CALL_DUMMY_START_OFFSET. | |
6673 | (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. | |
6674 | * gdbarch.h, gdbarch.c: Re-generate. | |
6675 | * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. | |
6676 | * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. | |
6677 | * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. | |
6678 | * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. | |
6679 | * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. | |
6680 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. | |
6681 | * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. | |
6682 | * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. | |
6683 | * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. | |
6684 | * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. | |
6685 | * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. | |
6686 | * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. | |
6687 | * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. | |
6688 | * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. | |
6689 | * config/sparc/tm-sparc.h: Update. | |
daea6f0b KW |
6690 | |
6691 | 2003-05-05 Kris Warkentin <[email protected]> | |
6692 | ||
6693 | * configure.tgt: Add i[3456]86-*-nto*. | |
6694 | * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino. | |
6695 | * nto-tdep.c: New file. Neutrino target support routines. | |
6696 | * nto-tdep.h: New file. Neutrino target header. | |
6697 | * config/tm-qnxnto.h: New file. | |
6698 | * config/i386/i386nto.mt: New file. | |
6699 | * config/i386/tm-i386nto.h: New file. | |
8ffd9b1b | 6700 | |
0ce3d317 AC |
6701 | 2003-05-04 Andrew Cagney <[email protected]> |
6702 | ||
6703 | * gdbthread.h (save_infrun_state): Drop prev_func_name parameter. | |
6704 | (load_infrun_state): Ditto. | |
6705 | (struct thread_info): Drop "prev_func_name" field. | |
6706 | * thread.c (load_infrun_state): Update. | |
6707 | (save_infrun_state): Update. | |
6708 | * infrun.c (prev_func_name): Delete variable. | |
6709 | (init_wait_for_inferior): Do not clear prev_func_name. | |
6710 | (stop_stepping, keep_going, context_switch): Do not swap | |
6711 | prev_func_name. | |
6712 | (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp | |
6713 | instead of PC_IN_SIGTRAMP. | |
6714 | ||
46654a5b AC |
6715 | 2003-05-04 Andrew Cagney <[email protected]> |
6716 | ||
6717 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
6718 | REGISTER_BYTE with register_offset_hack. | |
6719 | * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check | |
6720 | that REGISTER_BYTE is consistent with the regcache. | |
6721 | * gdbarch.sh (REGISTER_BYTE): Add a predicate. | |
6722 | * gdbarch.h, gdbarch.c: Regenerate. | |
8ffd9b1b | 6723 | |
14b08c1b MK |
6724 | 2003-05-04 Mark Kettenis <[email protected]> |
6725 | ||
04c8243f MK |
6726 | * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15. |
6727 | (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15. | |
6728 | ||
14b08c1b MK |
6729 | * i386-linux-nat.c (supply_gregset): Remove unnecessary casts. |
6730 | ||
c7a11e01 JB |
6731 | 2003-05-03 J. Brobecker <[email protected]> |
6732 | ||
6733 | From Thierry Schneider <[email protected]> | |
6734 | * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o. | |
6735 | (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c. | |
6736 | (mi-cmd-symbol.o): Add rule. | |
6737 | ||
7043d8dc AC |
6738 | 2003-05-03 Andrew Cagney <[email protected]> |
6739 | ||
6740 | * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add | |
6741 | comments noteing that it replaces the old FIX_CALL_DUMMY code. | |
6742 | * gdbarch.h, gdbarch.c: Re-generate. | |
6743 | * d10v-tdep.c (d10v_push_dummy_code): New function. | |
6744 | (d10v_gdbarch_init): Set push_dummy_code. | |
6745 | * infcall.c (legacy_push_dummy_code): New function. | |
6746 | (generic_push_dummy_code): New function. | |
6747 | (push_dummy_code): New function. | |
6748 | (call_function_by_hand): Call push_dummy_code. Pass bp_addr, | |
6749 | instead of dummy_addr, to push_dummy_call. Move call to | |
6750 | generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION | |
6751 | switch. | |
6752 | * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code. | |
6753 | ||
92bf2b80 AC |
6754 | 2003-05-03 Andrew Cagney <[email protected]> |
6755 | ||
6756 | * disasm.h (print_insn): Declare. | |
6757 | * disasm.c (init_gdb_disassemble_info): New function. | |
6758 | (gdb_disassembly): Call init_gdb_disassemble_info. | |
6759 | (gdb_print_insn): New function. | |
6760 | * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead | |
6761 | of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog". | |
6762 | * mcore-tdep.c: Include "disasm.h" | |
6763 | (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN. | |
6764 | * d10v-tdep.c: Include "disasm.h". | |
6765 | (display_trace): Call gdb_print_insn, instead of print_insn. | |
6766 | (print_insn): Delete function. | |
6767 | * printcmd.c: Include "disasm.h". | |
6768 | (print_insn): Delete function. | |
6769 | (print_formatted): Call gdb_print_insn, instead of print_insn. | |
6770 | * Makefile.in (printcmd.o): Update dependencies. | |
6771 | (mcore-tdep.o, d10v-tdep.o): Ditto. | |
8ffd9b1b | 6772 | |
27d94c49 AC |
6773 | 2003-05-02 Andrew Cagney <[email protected]> |
6774 | ||
82de1e5b AC |
6775 | * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef |
6776 | PC_REGNUM, re-indent. | |
6777 | * stack.c (frame_info): Use "pc" for the name of get_frame_pc when | |
6778 | PC_REGNUM isn't set. | |
6779 | ||
27d94c49 AC |
6780 | * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional. |
6781 | * gdbarch.h, gdbarch.c: Re-generate. | |
6782 | * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size, | |
6783 | register_virtual_size, pc_regnum, or register_bytes. | |
6784 | (D10V_PC_REGNUM): Rename _PC_REGNUM. | |
6785 | (d10v_register_type): Use D10V_PC_REGNUM. | |
6786 | (d10v_print_registers_info, d10v_read_pc): Ditto. | |
6787 | (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto. | |
6788 | (d10v_unwind_pc, d10v_frame_prev_register): Ditto. | |
6789 | ||
a9c0dc7f DC |
6790 | 2003-05-02 David Carlton <[email protected]> |
6791 | ||
6792 | * objfiles.c (allocate_objfile): For anonymous objfiles, allocate | |
6793 | the name with mstrsave. | |
6794 | ||
e33d66ec EZ |
6795 | 2003-05-02 Elena Zannoni <[email protected]> |
6796 | ||
6797 | * charset.c (GDB_DEFAULT_TARGET_CHARSET, | |
6798 | GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. | |
6799 | (host_charset_name, target_charset_name): New vars for use by | |
6800 | set/show commands. | |
6801 | (host_charset_enum, target_charset_enum): New enums for set/show | |
6802 | commands. | |
6803 | (set_charset_sfunc, set_host_charset_sfunc, | |
6804 | set_target_charset_sfunc): New functions. | |
6805 | (set_host_charset, set_target_charset): Make static. | |
6806 | (list_charsets, set_host_charset_command, | |
6807 | set_target_charset_command): Delete functions. | |
6808 | (show_charset_command): Rewrite as.... | |
6809 | (show_charset): Hook this up with the set/show command mechanism. | |
6810 | (_initialize_charset): Change names of charsets to match the | |
6811 | set/show enums. Use host_charset_name and target_charset_name. | |
6812 | Use set/show mechanism for charset, host-charset, target-charset | |
6813 | commands. Do not make 'show host-charset' and 'show | |
6814 | target-charset' be aliases of 'show charset'. | |
6815 | ||
6816 | * charset.h (set_host_charset, set_target_charset): Don't export, | |
6817 | they are not used outside the file. | |
6818 | ||
2b6fd0d8 AC |
6819 | 2003-05-01 Andrew Cagney <[email protected]> |
6820 | ||
6821 | * disasm.c (gdb_disassemble_from_exec): Delete global variable. | |
6822 | (gdb_disassembly): Make "di" non static, always initialize and | |
6823 | cleanup. Always use dis_asm_read_memory. | |
6824 | (gdb_dis_asm_read_memory): Delete function. | |
6825 | ||
6ae2f580 AC |
6826 | 2003-05-01 Andrew Cagney <[email protected]> |
6827 | ||
6828 | * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align. | |
6829 | (d10v_gdbarch_init): Set frame_align instead of stack_align. | |
6830 | ||
810ecf9f AC |
6831 | 2003-04-30 Andrew Cagney <[email protected]> |
6832 | ||
6833 | * gdbarch.sh (deprecated_tm_print_insn_info): Rename | |
6834 | "tm_print_insn_info". | |
6835 | (TARGET_PRINT_INSN_INFO): Delete macro. | |
6836 | (dis_asm_read_memory): Delete function declaration. | |
6837 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
6838 | (tm_print_insn_info): Delete variable definition. | |
6839 | (_initialize_gdbarch): Do not initialize "tm_print_insn_info". | |
6840 | * gdbarch.h, gdbarch.c: Re-generate. | |
6841 | * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with | |
6842 | "deprecated_tm_print_insn_info". | |
6843 | * mcore-tdep.c (mcore_dump_insn): Ditto. | |
6844 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
6845 | * sparc-tdep.c (_initialize_sparc_tdep): Ditto. | |
6846 | * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto. | |
6847 | * ia64-tdep.c (_initialize_ia64_tdep): Ditto. | |
6848 | * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info" | |
6849 | instead of TARGET_PRINT_INSN_INFO, add comment. | |
6850 | * s390-tdep.c (s390_get_frame_info): Instead of | |
6851 | "dis_asm_read_memory", use "deprecated_tm_print_insn_info". | |
6852 | (s390_check_function_end, s390_is_sigreturn): Ditto. | |
6853 | * corefile.c (dis_asm_read_memory): Move to "disasm.c". | |
6854 | (dis_asm_memory_error, dis_asm_print_address): Ditto. | |
6855 | * disasm.c: Include "gdbcore.h". | |
6856 | (_initialize_disasm): New function, initialize | |
6857 | "deprecated_tm_print_insn_info". | |
6858 | (deprecated_tm_print_insn_info): New variable. | |
6859 | (dis_asm_read_memory): Moved from "corefile.c", made static. | |
6860 | (dis_asm_print_address, dis_asm_memory_error): Ditto. | |
6861 | * Makefile.in (disasm.o): Update dependencies. | |
6862 | ||
07020390 AC |
6863 | 2003-04-30 Andrew Cagney <[email protected]> |
6864 | ||
6865 | * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. | |
6866 | ||
a9fa03de AF |
6867 | 2003-04-29 Adam Fedor <[email protected]> |
6868 | ||
6869 | * eval.c (evaluate_subexp_standard): Handle ObjC ops. | |
6870 | * infcall.c (find_function_addr): Make non-static. | |
6871 | * infcall.h (find_function_addr): Declare. | |
6872 | * Makefile.in (eval.o): Update dependencies. | |
6873 | ||
1bae87b9 AF |
6874 | 2003-04-28 Adam Fedor <[email protected]> |
6875 | ||
6876 | * symtab.c (symbol_find_demangled_name): Check for and demangle | |
6877 | ObjC symbols. | |
6878 | (symbol_init_demangled_name): Init for language_objc as well. | |
6879 | ||
0ba6dca9 AC |
6880 | 2003-04-28 Andrew Cagney <[email protected]> |
6881 | ||
6882 | * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. | |
6883 | (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. | |
6884 | * gdbarch.h, gdbarch.c: Re-generate. | |
6885 | * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, | |
6886 | DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. | |
6887 | * inferior.h (deprecated_read_fp): Rename read_fp. | |
6888 | (generic_target_read_fp): Delete declaration. | |
6889 | * regcache.c (generic_target_read_fp): Delete function. | |
6890 | (deprecated_read_fp): Replace read_fp, use | |
6891 | DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. | |
6892 | * d10v-tdep.c (d10v_read_fp): Delete function. | |
6893 | (d10v_gdbarch_init): Do not set deprecated_read_fp. | |
6894 | ||
6895 | * sparc-tdep.c (sparc_gdbarch_init): Do not set | |
6896 | deprecated_target_read_fp to generic_target_read_fp. | |
6897 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6898 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6899 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6900 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6901 | ||
6902 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set | |
6903 | deprecated_fp_regnum. | |
6904 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
6905 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
6906 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
6907 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
6908 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6909 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
6910 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6911 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
6912 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
6913 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
6914 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6915 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
6916 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
6917 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
6918 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
6919 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6920 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
6921 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
6922 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
6923 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
6924 | ||
6925 | * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. | |
6926 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
6927 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
6928 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
6929 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
6930 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
6931 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
6932 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
6933 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
6934 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
6935 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
6936 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
6937 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
6938 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
6939 | ||
6940 | * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with | |
6941 | DEPRECATED_FP_REGNUM. | |
6942 | (vax_push_dummy_frame, vax_pop_frame): Ditto. | |
6943 | * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. | |
6944 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
6945 | (sparc_push_dummy_frame, sparc64_read_fp): Ditto. | |
6946 | (sparc32_register_virtual_type): Ditto. | |
6947 | * sh-tdep.c (sh64_frame_chain): Ditto. | |
6948 | (sh64_get_saved_register, sh64_pop_frame): Ditto. | |
6949 | (sh_nofp_frame_init_saved_regs): Ditto. | |
6950 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
6951 | (sh_fp_frame_init_saved_regs): Ditto. | |
6952 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
6953 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
6954 | * procfs.c (procfs_fetch_registers): Ditto. | |
6955 | (procfs_store_registers): Ditto. | |
6956 | * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. | |
6957 | (store_inferior_registers, fetch_core_registers): Ditto. | |
6958 | (fetch_kcore_registers, clear_regs): Ditto. | |
6959 | * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. | |
6960 | (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. | |
6961 | * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. | |
6962 | * nlm/i386.c (do_status): Ditto. | |
6963 | * mipsv4-nat.c (supply_gregset): Ditto. | |
6964 | * mips-tdep.c: Ditto for comments. | |
6965 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
6966 | (store_inferior_registers, fetch_core_registers): Ditto. | |
6967 | * m68k-tdep.c (m68k_push_dummy_frame): Ditto. | |
6968 | (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. | |
6969 | * i386-tdep.c (i386_frame_init_saved_regs): Ditto. | |
6970 | (i386_do_pop_frame, i386_register_type): Ditto. | |
6971 | * hppa-tdep.c (hppa_frame_chain): Ditto. | |
6972 | (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. | |
6973 | (hppa_pop_frame, hppa_read_fp): Ditto. | |
6974 | (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. | |
6975 | * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. | |
6976 | * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. | |
6977 | * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. | |
6978 | * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. | |
6979 | * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. | |
6980 | * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. | |
6981 | * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. | |
6982 | * blockframe.c: Ditto for comments. | |
6983 | * arch-utils.h: Ditto for comments. | |
6984 | * arch-utils.c (legacy_virtual_frame_pointer): Ditto. | |
6985 | * alphanbsd-tdep.c (fetch_core_registers): Ditto. | |
6986 | * alphabsd-nat.c (fetch_inferior_registers): Ditto. | |
6987 | * alpha-tdep.h: Ditto for comments. | |
6988 | * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. | |
6989 | (alpha_cannot_store_register): Ditto. | |
6990 | (alpha_push_dummy_frame): Ditto. | |
6991 | * alpha-nat.c (supply_gregset): Ditto. | |
6992 | ||
6993 | * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. | |
6994 | * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. | |
6995 | * config/sparc/tm-sparc.h: Update comment. | |
6996 | ||
6997 | * hppa-tdep.c (hppa_init_extra_frame_info): Use | |
6998 | deprecated_read_fp instead of TARGET_READ_FP. | |
6999 | (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. | |
7000 | (hppa_push_dummy_frame, hppa_read_fp): Ditto. | |
7001 | * sparc-tdep.c (sparc_init_extra_frame_info): Use | |
7002 | deprecated_read_fp instead of read_fp. | |
7003 | * s390-tdep.c (s390_push_arguments): Ditto. | |
7004 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
7005 | * frame.h: Ditto in comments. | |
7006 | * frame.c (legacy_get_prev_frame): Ditto. | |
7007 | * dummy-frame.c (dummy_frame_this_id): Ditto. | |
7008 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
7009 | ||
d7a27068 AC |
7010 | 2003-04-28 Andrew Cagney <[email protected]> |
7011 | ||
7012 | * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn. | |
7013 | * gdbarch.h, gdbarch.c: Re-generate. | |
7014 | * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update. | |
7015 | * vax-tdep.c (_initialize_vax_tdep): Update. | |
7016 | * v850-tdep.c (_initialize_v850_tdep): Update. | |
7017 | * sparc-tdep.c (_initialize_sparc_tdep): Update. | |
7018 | * s390-tdep.c (_initialize_s390_tdep): Update. | |
7019 | * ns32k-tdep.c (_initialize_ns32k_tdep): Update. | |
7020 | * mn10300-tdep.c (_initialize_mn10300_tdep): Update. | |
7021 | * mips-tdep.c (_initialize_mips_tdep): Update. | |
7022 | * mcore-tdep.c (_initialize_mcore_tdep): Update. | |
7023 | * m68k-tdep.c (_initialize_m68k_tdep): Update. | |
7024 | * ia64-tdep.c (_initialize_ia64_tdep): Update. | |
7025 | * hppa-tdep.c (_initialize_hppa_tdep): Update. | |
7026 | * h8300-tdep.c (_initialize_h8300_tdep): Update. | |
7027 | * frv-tdep.c (_initialize_frv_tdep): Update. | |
7028 | * cris-tdep.c (cris_delayed_get_disassembler): Update. | |
7029 | (_initialize_cris_tdep): Update. | |
7030 | * arch-utils.c (legacy_print_insn): Update. | |
7031 | * alpha-tdep.c (_initialize_alpha_tdep): Update. | |
7032 | ||
d2630e69 AF |
7033 | 2003-04-26 Adam Fedor <[email protected]> |
7034 | ||
7035 | * linespec.c (decode_objc): New function to decode ObjC calls | |
7036 | (decode_line_1): Check for ObjC calls (using decode_objc) | |
7037 | * Makefile (linespec.o): Update dependencies. | |
7038 | ||
3086aeae DJ |
7039 | 2003-04-26 Daniel Jacobowitz <[email protected]> |
7040 | ||
7041 | * breakpoint.h (struct breakpoint_ops): New. | |
7042 | (struct breakpoint): Add ops member. | |
7043 | ||
7044 | * breakpoint.c (print_bp_stop_message, print_one_breakpoint) | |
7045 | (mention): Use new breakpoint ops member. | |
7046 | (set_raw_breakpoint): Initialize ops field to NULL. | |
7047 | (print_exception_catchpoint, print_one_exception_catchpoint) | |
7048 | (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New. | |
7049 | (gnu_v3_exception_catchpoint_ops): New. | |
7050 | (catch_exception_command_1): Call handle_gnu_v3_exceptions. | |
7051 | ||
1fbec6c3 AF |
7052 | 2003-04-25 Adam Fedor <[email protected]> |
7053 | ||
7054 | * Makefile.in (COMMON_OBS): Add objc-lang.o | |
7055 | ||
0ef21242 AC |
7056 | 2003-04-25 Andrew Cagney <[email protected]> |
7057 | ||
7058 | * d10v-tdep.c (print_insn): Delete function. | |
7059 | (display_trace): Use TARGET_PRINT_INSN. | |
7060 | (_initialize_d10v_tdep): Do not set tm_print_insn. | |
7061 | (d10v_gdbarch_init): Set print_insn. | |
7062 | ||
f75493ed AC |
7063 | 2003-04-25 Andrew Cagney <[email protected]> |
7064 | ||
7065 | * d10v-tdep.c (d10v_extract_return_value): Delete call to printf. | |
7066 | (_initialize_d10v_tdep): Use add_setshow_boolean_cmd. | |
7067 | (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC. | |
7068 | (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ... | |
7069 | (nr_dmap_regs, a0_regnum): ... new functions. | |
7070 | (d10v_print_registers_info): Use a0_regnum, use register_size. | |
7071 | (d10v_register_byte): Delete function. | |
7072 | (d10v_register_raw_size): Delete function. | |
7073 | (d10v_register_type): Use a0_regnum. | |
7074 | (d10v_print_registers_info): Use a0_regnum. | |
7075 | (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM. | |
7076 | (d10v_gdbarch_init): Do not set register_byte or | |
7077 | register_raw_size, use D10V_SP_REGNUM to set sp_regnum. | |
7078 | (d10v_pointer_to_address): Use extract_unsigned_integer instead of | |
7079 | extract_address. | |
7080 | (trace_command): Use XCALLOC. | |
7081 | (print_insn): Delete reference to tm_print_insn. | |
7082 | (saved_regs_unwinder): Use store_unsigned_integer instead of | |
7083 | store_address. | |
7084 | * frame.h (FRAME_OBSTACK_CALLOC): Define | |
7085 | ||
2202b100 DC |
7086 | 2003-04-25 David Carlton <[email protected]> |
7087 | ||
7088 | * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp. | |
7089 | ||
4e45ca2e AF |
7090 | 2003-04-24 Adam Fedor <[email protected]> |
7091 | ||
7092 | * objc-lang.c: Include "valprint.h" | |
7093 | * Makefile.in (objc-lang.o): Update dependencies. | |
7094 | ||
93de3e7f AF |
7095 | 2003-04-24 Adam Fedor <[email protected]> |
7096 | ||
8ffd9b1b | 7097 | * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove |
93de3e7f AF |
7098 | architecture dependant compilation and mark as unimplemented |
7099 | (until they get put in the gdbarch vector). | |
7100 | ||
0f20eeea DC |
7101 | 2003-04-23 David Carlton <[email protected]> |
7102 | ||
7103 | * cp-support.c (cp_find_first_component): Accept 'operator' in | |
7104 | more locations. | |
7105 | ||
74cfe982 AC |
7106 | 2003-04-23 Andrew Cagney <[email protected]> |
7107 | ||
7108 | * infcall.c (call_function_by_hand): Eliminate redundant | |
7109 | indentation. Move "saved_async" and "old_cleanups" to where they | |
7110 | are needed. | |
8ffd9b1b | 7111 | |
52557533 AC |
7112 | 2003-04-23 Andrew Cagney <[email protected]> |
7113 | ||
7114 | * infcall.c (call_function_by_hand): Eliminate the variables "rc" | |
7115 | and "buffer". Move the "name" code to where it is needed. | |
7116 | ||
158775de AC |
7117 | 2003-04-23 Andrew Cagney <[email protected]> |
7118 | ||
7119 | * infcall.c (call_function_by_hand): Move variables "start_sp", | |
7120 | "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call | |
7121 | code to ON_STACK switch branch. | |
8ffd9b1b | 7122 | |
ebc7896c AC |
7123 | 2003-04-23 Andrew Cagney <[email protected]> |
7124 | ||
7125 | * infcall.c (call_function_by_hand): Make declaration of "i", | |
7126 | "sal", "bpt" and "old_sp" more local to their use. Delete #if | |
7127 | lint. | |
7128 | ||
d727590f AC |
7129 | 2003-04-23 Andrew Cagney <[email protected]> |
7130 | ||
7131 | * infcall.c (call_function_by_hand): Delete variable | |
7132 | "n_method_args". Localize "param_type"'s declaration to the loop | |
7133 | that it is used. Reinstate code assigning to said variable - | |
7134 | deleted on 2002-06-14. Rationalize calls to value_args_coerce. | |
7135 | Rationalize code using "param_type". | |
7136 | ||
d585e13a AC |
7137 | 2003-04-22 Andrew Cagney <[email protected]> |
7138 | ||
7139 | * infcall.c (call_function_by_hand): Use new variable "bp_addr" to | |
7140 | compute the breakpoint address. Only call FIX_CALL_DUMMY when | |
7141 | ON_STACK. Eliminate the variable "addr". Do not pass "real_pc" | |
7142 | to DEPRECATED_PUSH_RETURN_ADDRESS. | |
7143 | ||
051caad9 KB |
7144 | 2003-04-22 Kevin Buettner <[email protected]> |
7145 | ||
7146 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM | |
7147 | on the DWARF2 register number prior to fetching a register. | |
7148 | ||
77296879 JB |
7149 | 2003-04-22 J. Brobecker <[email protected]> |
7150 | ||
7151 | * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro. | |
7152 | Update all the tests using SOFT_FLOAT considering the fact that | |
8ffd9b1b | 7153 | this macro was always set to 0. |
77296879 JB |
7154 | * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT |
7155 | considering the fact that this macro was always set to 0. | |
7156 | * hppa-tdep.h (hppa_store_return_value): Likewise. | |
7157 | (hppa_extract_return_value): Likewise. | |
7158 | ||
4252f1df JB |
7159 | 2003-04-22 J. Brobecker <[email protected]> |
7160 | ||
7161 | * config/pa/tm-hppa.h: Remove obsolete code, was used by | |
7162 | the hppa-pro target only. | |
7163 | ||
14604c6b JB |
7164 | 2003-04-21 J. Brobecker <[email protected]> |
7165 | ||
7166 | Ongoing multi-arch conversion effort for HP/UX: | |
7167 | * config/pa/tm-hppa.h: Move all macro that are no longer | |
7168 | defined now that GDB_MULTI_ARCH is now set to 1 from here... | |
7169 | * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet). | |
7170 | ||
77eb01d1 JB |
7171 | 2003-04-21 J. Brobecker <[email protected]> |
7172 | ||
7173 | * config/pa/tm-hppa.h: Obsolete a section that was only used | |
7174 | for hppa-pro. | |
7175 | ||
61995b3b JB |
7176 | 2003-04-21 J. Brobecker <[email protected]> |
7177 | ||
7178 | Ongoing multi-arch conversion for HP/UX. | |
7179 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define | |
7180 | if already defined (allows hppa64 to stay non-multiarched for now). | |
7181 | * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define. | |
7182 | ||
4aa79dcc AC |
7183 | 2003-04-21 Andrew Cagney <[email protected]> |
7184 | ||
7185 | * frame.c (frame_id_eq): Fail when the code_addr's do not match. | |
7186 | ||
0f751ff2 AC |
7187 | 2003-04-21 Andrew Cagney <[email protected]> |
7188 | ||
7189 | * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with | |
7190 | "i386_num_mmx_regs". | |
7191 | ||
04714b91 AC |
7192 | 2003-04-21 Andrew Cagney <[email protected]> |
7193 | ||
7194 | * infcall.c: New file. | |
7195 | * infcall.h: New file. | |
7196 | * valarith.c: Include "infcall.h". | |
7197 | * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto. | |
7198 | * eval.c, ada-valprint.c, ada-lang.c: Ditto. | |
7199 | * Makefile.in (valarith.o, scm-lang.o): Update dependencies. | |
7200 | (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies. | |
7201 | (eval.o, ada-valprint.o, ada-lang.o): Update dependencies. | |
7202 | (SFILES): Add "infcall.c" | |
7203 | (COMMON_OBS): Add "infcall.o". | |
7204 | (infcall.o): Specify dependencies. | |
7205 | * value.h (call_function_by_hand): Delete declaration. | |
7206 | * inferior.h (run_stack_dummy): Delete declaration. | |
7207 | * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c". | |
7208 | (run_stack_dummy): Move to "infcall.c", merged into | |
7209 | call_function_by_hand. | |
7210 | * valops.c (call_function_by_hand): Moved to "infcall.c". | |
7211 | (find_function_addr, value_arg_coerce): Ditto. | |
7212 | (unwindonsignal_p, coerce_float_to_double): Ditto. | |
7213 | (_initialize_valops): Move "set/show coerce-float-to-double", and | |
7214 | "set/show unwindonsignal" commands to "infcall.c". | |
7215 | * v850-tdep.c, target.h: Update comments. | |
7216 | * sparc-tdep.c (sparc_fix_call_dummy): Update comments. | |
7217 | * sh-tdep.c (sh_init_extra_frame_info): Update comments. | |
7218 | (sh64_init_extra_frame_info): Update comments. | |
7219 | * mn10300-tdep.c: Update comments. | |
7220 | * mcore-tdep.c (mcore_init_extra_frame_info): Update comments. | |
7221 | * config/sparc/tm-sparc.h: Update comments. | |
7222 | * breakpoint.h: Update comments. | |
7223 | * avr-tdep.c (avr_init_extra_frame_info): Update comments. | |
7224 | * arm-tdep.c: Update comment. | |
7225 | ||
f9d3c2a8 MK |
7226 | 2003-04-19 Mark Kettenis <[email protected]> |
7227 | ||
c40e1eab MK |
7228 | * i386-tdep.c (i386_num_register_names): New variable. |
7229 | (i386_num_mmx_regs): Renamed from mmx_num_regs. | |
7230 | (MM0_REGNUM): Remove redundant parentheses in define. | |
7231 | (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs. | |
7232 | (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, | |
7233 | i386_mxcsr_regnum_p): Remove redundant parentheses. | |
7234 | (i386_register_name): Use i386_num_register_names. | |
8ffd9b1b | 7235 | |
94ea66b3 MK |
7236 | * i386-tdep.c (i386_extract_return_value, |
7237 | i386_store_return_value): Correct check for availability of | |
7238 | floating-point registers. | |
7239 | ||
54299a1d MK |
7240 | * i386-tdep.c (i386_frame_num_args): Remove function. |
7241 | (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown. | |
7242 | ||
c86c27af MK |
7243 | * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from |
7244 | mmx_regnum_to_fp_regnum. Adjust all callers. | |
7245 | ||
f9d3c2a8 MK |
7246 | * i386-tdep.c (i386_get_longjmp_target): Use |
7247 | TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT | |
7248 | and TARGET_CHAR_BIT. Use extract_typed_address instead of | |
7249 | extract_address. | |
7250 | ||
94ba74a9 MK |
7251 | 2003-04-19 Mark Kettenis <[email protected]> |
7252 | ||
7253 | * core-regset.c: Update comments to reflect reality. Re-order | |
7254 | includes. | |
7255 | (fetch_core_registers): Use switch instead of if. Remove | |
7256 | redundant prototype. | |
7257 | ||
4074e13c JB |
7258 | 2003-04-18 Jim Blandy <[email protected]> |
7259 | ||
7260 | * s390-tdep.c (s390_frame_align): New function. | |
fbe586ae | 7261 | (s390_gdbarch_init): Register it with the gdbarch object. |
4074e13c | 7262 | |
e3ab4aba RH |
7263 | 2003-04-17 Richard Henderson <[email protected]> |
7264 | ||
7265 | * remote.c (minitelnet): Don't redeclare escape_count, echo_check. | |
7266 | ||
627bf7c1 EZ |
7267 | 2003-04-17 Michael Snyder <[email protected]> |
7268 | Karen Bennet <[email protected]> | |
7269 | ||
7270 | Committed by Elena Zannoni <[email protected]> | |
7271 | * gdb_gcore.sh: New script to create a core dump of a process. | |
8ffd9b1b | 7272 | |
514621a9 EZ |
7273 | 2003-04-17 Elena Zannoni <[email protected]> |
7274 | ||
7275 | * values.c (value_being_returned): Don't fetch the return | |
fbe586ae | 7276 | value if the return type is void. |
514621a9 | 7277 | |
b4acd559 JJ |
7278 | 2003-04-17 Jeff Johnston <[email protected]> |
7279 | ||
7280 | * thread-db.c: Reindented. | |
8ffd9b1b | 7281 | |
530b167e | 7282 | 2003-04-17 Jeff Johnston <[email protected]> |
8ffd9b1b AJ |
7283 | |
7284 | * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, | |
7285 | td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t | |
530b167e JJ |
7286 | as types. |
7287 | ||
0a48e7e8 MS |
7288 | |
7289 | ||
7290 | ||
7291 | ||
7292 | ||
7293 | ||
7294 | ||
7295 | ||
7296 | ||
7297 | ||
7298 | ||
7299 | ||
7300 | ||
7301 | ||
7302 | ||
7303 | ||
7304 | ||
7305 | ||
7306 | ||
7307 | ||
7308 | ||
7309 | ||
7310 | ||
8ffd9b1b | 7311 | |
ab9fe00e KB |
7312 | 2003-04-16 Kevin Buettner <[email protected]> |
7313 | ||
610a3745 | 7314 | * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set |
ab9fe00e KB |
7315 | the size of ``long double'' to 16, instead of 8. |
7316 | ||
e64a344c MK |
7317 | 2003-04-16 Mark Kettenis <[email protected]> |
7318 | ||
7319 | * i386-linux-nat.c: Add some whitespace to make things more | |
7320 | readable. | |
7321 | (fetch_register, store_register, fetch_inferior_registers, | |
7322 | store_inferior_registers): Get rid of assignment in if-statement. | |
7323 | (store_register): Fix typo in error message. | |
7324 | ||
25d41031 AC |
7325 | 2003-04-16 Andrew Cagney <[email protected]> |
7326 | ||
7327 | * utils.c (xmmalloc): Always allocate something, matches | |
7328 | libiberty/xmalloc's semantics. | |
7329 | (xmrealloc, xmcalloc): Ditto. | |
7330 | ||
c50901fd AC |
7331 | 2003-04-16 Andrew Cagney <[email protected]> |
7332 | ||
7333 | * frame.c (get_prev_frame): Do not initialize "unwind" or "type", | |
7334 | update comments. | |
7335 | (get_frame_type): Initialize unwind and type when needed. | |
7336 | (get_frame_id, frame_register_unwind): Ditto. | |
7337 | ||
f81824a9 AC |
7338 | 2003-04-16 Andrew Cagney <[email protected]> |
7339 | ||
7340 | * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made | |
7341 | obsolete. | |
7342 | * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. | |
7343 | * sparcl-stub.c: Obsolete file. | |
7344 | * config/sparc/tm-sparclet.h: Obsolete file. | |
7345 | * sparclet-stub.c: Obsolete file. | |
7346 | * sparclet-rom.c: Obsolete file. | |
7347 | * sparcl-tdep.c: Obsolete file. | |
7348 | * config/sparc/tm-sparclite.h: Obsolete file. | |
7349 | * config/sparc/sparclite.mt: Obsolete file. | |
7350 | * config/sparc/sparclet.mt: Obsolete file. | |
7351 | * configure.tgt: Make sparclet-*-*, sparclite-*-*, and | |
7352 | sparc86x-*-* obsolete. | |
7353 | ||
9219021c DC |
7354 | 2003-04-15 David Carlton <[email protected]> |
7355 | ||
7356 | * Makefile.in (SFILES): Add cp-namespace.c. | |
7357 | (COMMON_OBS): Add cp-namespace.o. | |
7358 | (block.o): Depend on gdb_obstack_h and cp_support_h. | |
7359 | (buildsym.o): Depend on cp_support_h. | |
7360 | (cp-namespace.o): New. | |
7361 | (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h, | |
7362 | gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h. | |
7363 | (dwarf2read.o): Depend on cp_support_h. | |
7364 | * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE. | |
7365 | * dwarf2read.c (process_die): Set processing_has_namespace_info, | |
7366 | processing_current_namespace. | |
7367 | (read_namespace): Update processing_current_namespace; check for | |
7368 | anonymous namespaces. | |
7369 | (dwarf2_name): New function. | |
7370 | (dwarf2_extension): Ditto. | |
7371 | * cp-support.h: Update copyright, contributors. | |
7372 | Add inclusion guards. | |
7373 | Add opaque declaration for structs obstack, block, symbol. | |
7374 | (struct using_direct): New struct. | |
7375 | Add declarations for cp_find_first_component, | |
7376 | cp_entire_prefix_len, processing_has_namespace_info, | |
7377 | processing_current_namespace, cp_is_anonymous, | |
7378 | cp_add_using_directive, cp_initialize_namespace, | |
7379 | cp_finalize_namespace, cp_set_block_scope, | |
7380 | cp_scan_for_anonymous_namespaces. | |
7381 | * cp-namespace.c: New file. | |
7382 | * cp-support.c: Update copyright. | |
7383 | Include ctype.h, gdb_assert.h, gdbcmd.h. | |
7384 | New variable maint_cplus_cmd_list. | |
7385 | (cp_find_first_component): New function. | |
7386 | (cp_entire_prefix_len, maint_cplus_command) | |
7387 | (first_component_command, _initialize_cp_support): Ditto. | |
7388 | * buildsym.c: Include cp-support.h. | |
7389 | New variable using_list. | |
7390 | (add_symbol_to_list): Check for anonymous namespaces. | |
7391 | (finish_block): Set block's scope. | |
7392 | (start_symtab): Initialize C++ namespace support. | |
7393 | (end_symtab): Finalize C++ namespace support. | |
7394 | * block.h: Add opaque declarations for structs | |
7395 | block_namespace_info, using_direct, and obstack. | |
7396 | Add declarations for block_set_scope and block_set_using. | |
7397 | (struct block): Add 'language_specific' member. | |
7398 | (BLOCK_NAMESPACE): New macro. | |
7399 | * block.c: Include gdb_obstack.h and cp-support.h. | |
7400 | (struct block_namespace_info): New struct. | |
7401 | (block_set_scope): New function. | |
7402 | (block_set_using, block_initialize_namespace): Ditto. | |
7403 | ||
d5a921c9 KB |
7404 | 2003-04-14 Kevin Buettner <[email protected]> |
7405 | ||
7406 | * solib-svr4.c (svr4_have_link_map_offsets): New function. | |
7407 | (locate_base): Return early if there aren't any link map offsets. | |
7408 | (svr4_solib_create_inferior_hook): Warn if shared library support | |
7409 | is unavailable. | |
7410 | ||
d2a52b27 DC |
7411 | 2003-04-14 David Carlton <[email protected]> |
7412 | ||
7413 | * symtab.c (symbol_set_names): Add prefix when storing Java names | |
7414 | in hash table. Fix for PR java/1039. | |
7415 | ||
980cae7a DC |
7416 | 2003-04-14 David Carlton <[email protected]> |
7417 | ||
7418 | * symtab.c (symbol_set_names): Rename 'name' arg to | |
7419 | 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'. | |
7420 | * symtab.h: Change 'name' argument in declaration of | |
7421 | symbol_set_names to 'linkage_name'. | |
7422 | (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'. | |
7423 | ||
e227b13c AC |
7424 | 2003-04-14 Andrew Cagney <[email protected]> |
7425 | ||
7426 | * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE, | |
7427 | return the fully sign-extended register value. | |
7428 | (get_frame_pointer): Ditto. | |
7429 | (mips_pop_frame): Initialize "proc_desc" after checking for a | |
7430 | dummy frame. | |
7431 | ||
36712a20 AC |
7432 | 2003-04-14 Andrew Cagney <[email protected]> |
7433 | ||
7434 | * mips-tdep.c (mips_push_dummy_frame): Delete function. | |
7435 | (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros. | |
7436 | (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro. | |
7437 | (mips_push_register): Delete function. | |
7438 | (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and | |
7439 | PUSH_FP_REGNUM. | |
7440 | ||
44ea7b70 JB |
7441 | 2003-04-14 Jim Blandy <[email protected]> |
7442 | ||
7443 | * symmisc.c: #include "gdb_regex.h". | |
7444 | (maintenance_list_symtabs, maintenance_list_psymtabs): New | |
7445 | functions. | |
7446 | * maint.c (maintenance_list_command): New function. | |
7447 | (_initialize_maint_cmds): Register the above as commands. | |
7448 | * symtab.h (maintenance_list_symtabs, | |
7449 | maintenance_list_psymtabs): New declarations. | |
7450 | * cli/cli-cmds.c (maintenancelistlist): New variable. | |
7451 | (init_cmd_lists): Initialize it. | |
7452 | * cli/cli-cmds.h (maintenancelistlist): New declaration. | |
7453 | * gdbcmd.h (maintenancelistlist): New declaration. | |
7454 | * Makefile.in (symmisc.o): Update dependencies. | |
7455 | ||
2d0c7962 EZ |
7456 | 2003-04-14 Elena Zannoni <[email protected]> |
7457 | ||
7458 | * s390-nat.c: Include asm/types.h for addr_t. | |
7459 | ||
1947a811 CV |
7460 | 2003-04-14 Corinna Vinschen <[email protected]> |
7461 | ||
7462 | * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with | |
7463 | actually incoming type. | |
7464 | ||
adb616d7 AC |
7465 | 2003-04-13 Andrew Cagney <[email protected]> |
7466 | ||
7467 | * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc, | |
7468 | get_next_frame and get_frame_saved_regs. | |
7469 | ||
9b5e151c AC |
7470 | 2003-04-13 Andrew Cagney <[email protected]> |
7471 | ||
7472 | * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead | |
7473 | of gdbarch_num_regs. | |
7474 | ||
ef6e7e13 AC |
7475 | 2003-04-13 Andrew Cagney <[email protected]> |
7476 | ||
7477 | * frame.h: Mention what replaced what in "struct frame_info". | |
7478 | * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and | |
7479 | deprecated_update_frame_base_hack and | |
7480 | deprecated_update_frame_pc_hack. | |
7481 | * hppa-tdep.c: Ditto. | |
7482 | ||
61fbb938 DJ |
7483 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
7484 | ||
7485 | * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments | |
7486 | to read_reg and update its comment. Remove regnum member. | |
7487 | * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval. | |
7488 | Don't call read_reg when setting in_reg. Call read_reg to get | |
7489 | the frame base if it's in a register. Return the register number | |
7490 | on the stack instead of in the context. Remove extra arguments | |
7491 | to read_reg. | |
7492 | * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments. | |
7493 | (dwarf2_evaluate_loc_desc): Call value_from_register. Expect | |
7494 | the register number on the expression stack. | |
7495 | (needs_frame_read_reg): Remove extra arguments. | |
7496 | ||
0d53c4c4 DJ |
7497 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
7498 | ||
7499 | * dwarf2expr.c (dwarf2_read_address): Renamed from read_address; | |
7500 | made non-static. | |
7501 | (execute_stack_op): All callers updated. | |
7502 | * dwarf2expr.h: Add prototype for dwarf2_read_address. | |
7503 | * dwarf2loc.c (find_location_expression): New function. | |
7504 | (dwarf_expr_frame_base): Call it. | |
7505 | (dwarf2_evaluate_loc_desc): Handle 0-length location expressions. | |
7506 | (dwarf2_tracepoint_var_ref): New function, broken out from | |
7507 | locexpr_tracepoint_var_ref. | |
7508 | (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref. | |
7509 | Make static. | |
7510 | (loclist_read_variable, loclist_read_needs_frame): New functions. | |
7511 | (loclist_describe_location, loclist_tracepoint_var_ref): New | |
7512 | functions. | |
7513 | (dwarf2_loclist_funcs): New struct location_funcs. | |
7514 | * dwarf2loc.h (struct dwarf2_loclist_baton): New type. | |
7515 | (struct dwarf2_locexpr_baton): Add comments. | |
7516 | (dwarf2_loclist_funcs): New extern. | |
7517 | * dwarf2read.c (struct comp_unit_head): Remove DIE member, add | |
7518 | base_address and base_known. | |
7519 | (dwarf_loc_buffer): New variable. | |
7520 | (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size. | |
7521 | (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros. | |
7522 | (dwarf2_has_info): Initialize dwarf_loc_offset. | |
7523 | (dwarf2_build_psymtabs): Read in .debug_loc. | |
7524 | (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and | |
7525 | DWARF_LOC_SIZE. | |
7526 | (psymtab_to_symtab_1): Likewise. Move base address calculation | |
7527 | here, from... | |
7528 | (dwarf2_get_pc_bounds): ... here. Use the base address from | |
7529 | cu_header. | |
7530 | (dwarf2_symbol_mark_computed): Handle location lists. | |
7531 | ||
6aca59a3 DJ |
7532 | 2003-04-13 Daniel Jacobowitz <[email protected]> |
7533 | ||
7534 | * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode | |
7535 | if the linkage name demangled successfully. | |
7536 | ||
aca1fcd0 MK |
7537 | 2003-04-13 Mark Kettenis <[email protected]> |
7538 | ||
97095916 MK |
7539 | * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours, |
7540 | disassmbly_flavour): Removed. | |
7541 | ||
aca1fcd0 MK |
7542 | * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. |
7543 | ||
562a961f MK |
7544 | 2003-04-13 Mark Kettenis <[email protected]> |
7545 | ||
7546 | * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed. | |
7547 | ||
bd013d54 AC |
7548 | 2003-04-12 Andrew Cagney <[email protected]> |
7549 | ||
7550 | * frame.h (struct frame_info): Move definition from here ... | |
7551 | * frame.c (struct frame_info): ... to here. | |
7552 | ||
167ef8b1 AC |
7553 | 2003-04-12 Andrew Cagney <[email protected]> |
7554 | ||
7555 | * gdbthread.h (save_infrun_state): Delete parameter | |
7556 | "prev_func_start". | |
7557 | (struct thread_info): Delete field "prev_func_start". | |
7558 | (load_infrun_state): Ditto. | |
7559 | * thread.c (load_infrun_state, save_infrun_state): Update. | |
7560 | * infrun.c (prev_func_start): Delete variable. | |
7561 | (context_switch, init_wait_for_inferior): Update. | |
7562 | (stop_stepping, keep_going): Update. | |
7563 | ||
da3331ec AC |
7564 | 2003-04-12 Andrew Cagney <[email protected]> |
7565 | ||
7566 | * gdbarch.sh: Add missing opaque declarations. | |
7567 | * gdbarch.h: Regnerate. | |
7568 | * symtab.h: Add missing opaque declarations. | |
7569 | * value.h, target.h, symfile.h, stabsread.h: Ditto. | |
7570 | * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. | |
7571 | * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. | |
7572 | * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. | |
7573 | * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. | |
7574 | * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. | |
7575 | * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. | |
7576 | * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. | |
7577 | * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. | |
7578 | * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. | |
7579 | * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. | |
7580 | * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. | |
7581 | * cli/cli-setshow.h, cli/cli-script.h: Ditto. | |
7582 | ||
18adea3f AC |
7583 | 2003-04-11 Andrew Cagney <[email protected]> |
7584 | ||
7585 | * frame.c (get_frame_id): Return this frame's "id". | |
7586 | (legacy_get_prev_frame): Set prev's frame ID code_addr to the | |
7587 | function start. | |
7588 | (legacy_saved_regs_this_id): Replace function body with | |
7589 | internal-error. | |
7590 | (deprecated_frame_xmalloc): Mark the frame ID as valid, use | |
7591 | FRAME_OBSTACK_ZALLOC. | |
7592 | (create_new_frame): Mark the frame ID as valid. | |
7593 | ||
2252e863 AO |
7594 | 2003-04-11 Alexandre Oliva <[email protected]> |
7595 | ||
7596 | * Makefile.in (libbfd_h): Added missing setting. | |
7597 | * mips-tdep.c (mips_gdbarch_init): Set disassembler_options | |
7598 | according to the selected ABI. | |
7599 | ||
a8245ab8 JJ |
7600 | 2003-04-11 Jeff Johnston <[email protected]> |
7601 | ||
7602 | * gdb_indent.sh: Recognize pid_t and sigset_t as types. | |
7603 | ||
6913c89a AC |
7604 | 2003-04-11 Andrew Cagney <[email protected]> |
7605 | ||
7606 | * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate | |
7607 | SAVED_PC_AFTER_CALL. | |
7608 | * gdbarch.h, gdbarch.c: Regenerate. | |
7609 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
7610 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
7611 | * vax-tdep.c (vax_gdbarch_init): Update. | |
7612 | * v850-tdep.c (v850_gdbarch_init): Update. | |
7613 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
7614 | * sh-tdep.c (sh_gdbarch_init): Update. | |
7615 | * s390-tdep.c (s390_gdbarch_init): Update. | |
7616 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
7617 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
7618 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
7619 | * mips-tdep.c (mips_gdbarch_init): Update. | |
7620 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
7621 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
7622 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
7623 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
7624 | (ia64_saved_pc_after_call): Update declaration. | |
7625 | * i386ly-tdep.c (i386lynx_init_abi): Update. | |
7626 | * i386-tdep.c (i386_gdbarch_init): Update. | |
7627 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
7628 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
7629 | * frv-tdep.c (frv_gdbarch_init): Update. | |
7630 | * cris-tdep.c (cris_gdbarch_init): Update. | |
7631 | * avr-tdep.c (avr_gdbarch_init): Update. | |
7632 | * arm-tdep.c (arm_gdbarch_init): Update. | |
7633 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
7634 | * ns32knbsd-nat.c (frame_num_args): Update. | |
7635 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
7636 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
7637 | * infrun.c (step_over_function): Update. | |
7638 | * i386-linux-tdep.c (skip_hurd_resolver): Update. | |
7639 | * i386-interix-tdep.c (i386_interix_back_one_frame): Update. | |
7640 | * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
7641 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
7642 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
7643 | * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update. | |
7644 | * arm-linux-tdep.c (skip_hurd_resolver): Update. | |
7645 | * arch-utils.c (init_frame_pc_default): Update. | |
7646 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
7647 | * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update | |
7648 | declaration. | |
8ffd9b1b | 7649 | |
38edeab8 AC |
7650 | 2003-04-11 Andrew Cagney <[email protected]> |
7651 | ||
7652 | * i387-tdep.c: Update copyright. | |
7653 | (i387_to_double): Delete function. | |
7654 | (double_to_i387): Delete function. | |
7655 | ||
81f8a206 AC |
7656 | 2003-04-10 Andrew Cagney <[email protected]> |
7657 | ||
7658 | * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the | |
7659 | frame's function's address. Simplify. | |
7660 | (d10v_frame_unwind_cache): Check that the frame's function is | |
7661 | non-zero. | |
7662 | ||
6e691f7a JB |
7663 | 2003-04-10 Jim Blandy <[email protected]> |
7664 | ||
7665 | * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted | |
7666 | call to set_gdbarch_deprecated_push_arguments. | |
7667 | ||
7f78e237 AC |
7668 | 2003-04-10 Andrew Cagney <[email protected]> |
7669 | ||
7670 | * frame.c (fprint_frame_id): New function. | |
7671 | (fprint_frame_type, fprint_frame): New function. | |
7672 | (frame_pc_unwind, frame_func_unwind): Add/update trace code. | |
7673 | (create_sentinel_frame, get_frame_id): Ditto. | |
7674 | (frame_id_p, frame_id_eq): Ditto. | |
7675 | (frame_id_inner, create_new_frame): Ditto. | |
7676 | (legacy_get_prev_frame, get_prev_frame): Ditto. | |
7677 | (deprecated_update_frame_pc_hack): Ditto. | |
7678 | (frame_register_unwind): Ditto. | |
7679 | (deprecated_update_frame_base_hack): Ditto. | |
7680 | ||
f870b49b CV |
7681 | 2003-04-10 Corinna Vinschen <[email protected]> |
7682 | ||
7683 | * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function. | |
7684 | (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new | |
7685 | frame_chain function. | |
7686 | * Makefile.in: Add dependencies due to above change. | |
7687 | ||
7c86889b CV |
7688 | 2003-04-10 Corinna Vinschen <[email protected]> |
7689 | ||
7690 | * blockframe.c (legacy_frame_chain_valid): Move call to | |
7691 | DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and | |
7692 | inside_entry_file. | |
7693 | ||
d0a55772 AC |
7694 | 2003-04-09 Andrew Cagney <[email protected]> |
7695 | ||
7696 | * frame.h (struct frame_id): Replace "pc" and "base" with | |
7697 | "stack_addr" and "code_addr". Update comments. | |
7698 | (frame_id_build): Update parameter names and comment. | |
7699 | (struct frame_info): Replace "id_p" and "id" with "this_id". | |
7700 | * dummy-frame.c (dummy_frame_this_id): Update. | |
7701 | * breakpoint.c (print_one_breakpoint): Update. | |
7702 | * frame.c (get_frame_id): Update. | |
7703 | (get_frame_base, frame_id_build): Update. | |
7704 | (create_sentinel_frame, legacy_get_prev_frame): Update. | |
7705 | (deprecated_update_frame_base_hack): Update. | |
7706 | (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID. | |
7707 | (frame_id_inner): Ditto. | |
7708 | ||
ac16bf07 AC |
7709 | 2003-04-09 Andrew Cagney <[email protected]> |
7710 | ||
7711 | * defs.h (gdb_print_host_address): Make "addr" parameter a | |
7712 | pointer constant. | |
7713 | * utils.c (gdb_print_host_address): Update. | |
7714 | ||
366cfc9e KB |
7715 | 2003-04-09 Kevin Buettner <[email protected]> |
7716 | ||
7717 | * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the | |
7718 | register number for R0 is 0. | |
7719 | ||
cd983b5c JB |
7720 | 2003-04-09 J. Brobecker <[email protected]> |
7721 | ||
7722 | * frame.h (struct gdbarch): Add opaque structure definition | |
7723 | to avoid a compilation warning on LynxOS 4.0. | |
7724 | ||
d1340264 AC |
7725 | 2003-04-09 Andrew Cagney <[email protected]> |
7726 | ||
7727 | * frame.h (struct frame_info): Delete field "pc". Replace | |
7728 | "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc" | |
7729 | structure. | |
7730 | * frame.c (frame_pc_unwind): Update. | |
7731 | (create_sentinel_frame): Do not set "pc". | |
7732 | (get_prev_frame): Do not set "pc". Use frame_pc_unwind. | |
7733 | (get_frame_pc): Call frame_pc_unwind. | |
7734 | (deprecated_update_frame_pc_hack): Update. | |
7735 | (create_new_frame): Use "pc" not "->pc". | |
7736 | ||
90a6fffb AC |
7737 | 2003-04-09 Andrew Cagney <[email protected]> |
7738 | ||
7739 | * frame.c (get_frame_id): Eliminate code updating "frame". | |
7740 | (legacy_get_prev_frame): Ditto. | |
7741 | (get_frame_base): Return id.base directly. | |
7742 | (deprecated_update_frame_base_hack): Update "id.base". | |
7743 | * frame.h (struct frame_info): Delete field "frame". | |
7744 | ||
2fbce691 AC |
7745 | 2003-04-09 Andrew Cagney <[email protected]> |
7746 | ||
7747 | * NEWS: Mention that the "Sequent family" is obsolete. | |
7748 | * configure.tgt: Obsolete i[3456]86-sequent-bsd*, | |
7749 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
7750 | * configure.host: Obsolete i[3456]86-sequent-bsd*, | |
7751 | i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*. | |
7752 | * config/i386/tm-ptx4.h: Obsolete file. | |
7753 | * config/i386/tm-ptx.h: Obsolete file. | |
7754 | * symm-tdep.c: Obsolete file. | |
7755 | * config/i386/symmetry.mt: Obsolete file. | |
7756 | * config/i386/tm-symmetry.h: Obsolete file. | |
7757 | * symm-nat.c: Obsolete file. | |
7758 | * config/i386/nm-symmetry.h: Obsolete file. | |
7759 | * config/i386/xm-symmetry.h: Obsolete file. | |
7760 | * config/i386/symmetry.mh: Obsolete file. | |
7761 | * config/i386/nm-ptx4.h: Obsolete file. | |
7762 | * config/i386/ptx4.mh: Obsolete file. | |
7763 | * config/i386/ptx.mt: Obsolete file. | |
7764 | * config/i386/ptx.mh: Obsolete file. | |
7765 | * config/i386/xm-ptx4.h: Obsolete file. | |
7766 | * config/i386/xm-ptx.h: Obsolete file. | |
7767 | ||
78c43945 AC |
7768 | 2003-04-09 Andrew Cagney <[email protected]> |
7769 | ||
7770 | Obsolete mips*-*-mach3*. | |
7771 | * NEWS: Mention that mips*-*-mach3* is obsolete. | |
7772 | * m3-nat.c: Obsolete file. | |
7773 | * config/nm-m3.h: Obsolete file. | |
7774 | * config/mips/tm-mipsm3.h: Obsolete file. | |
7775 | * config/mips/mipsm3.mt: Obsolete file. | |
7776 | * config/mips/mipsm3.mh: Obsolete file. | |
7777 | * config/mips/xm-mipsm3.h: Obsolete file. | |
7778 | * mipsm3-nat.c: Obsolete file. | |
7779 | * configure.host: Obsolete mips-dec-mach3*. | |
7780 | * configure.tgt: Obsolete mips*-*-mach3*. | |
7781 | ||
f1908289 AC |
7782 | 2003-04-09 Andrew Cagney <[email protected]> |
7783 | ||
7784 | * doublest.h: Update copyright. | |
7785 | (deprecated_store_floating, deprecated_extract_floating): Rename | |
7786 | store_floating and extract_floating. Update comments. | |
7787 | * doublest.c: Update copyright. | |
7788 | (extract_floating_by_length): Replace extract_floating. | |
7789 | (store_floating_by_length): Replace store_floating. | |
7790 | (deprecated_extract_floating): New function. | |
7791 | (deprecated_store_floating): New function. | |
7792 | (extract_typed_floating): Call extract_floating_by_length. | |
7793 | (store_typed_floating): Call store_floating_by_length. | |
7794 | * x86-64-tdep.c (x86_64_store_return_value): Update. | |
7795 | * sh-tdep.c (sh3e_sh4_extract_return_value): Update. | |
7796 | (sh64_extract_return_value): Update. | |
7797 | (sh_sh4_register_convert_to_virtual): Update. | |
7798 | (sh_sh64_register_convert_to_virtual): Update. | |
7799 | (sh_sh4_register_convert_to_raw): Update. | |
7800 | (sh_sh64_register_convert_to_raw): Update. | |
7801 | * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. | |
7802 | (rs6000_register_convert_to_raw): Update. | |
7803 | * ia64-tdep.c (ia64_register_convert_to_virtual): Update. | |
7804 | (ia64_register_convert_to_raw): Update. | |
7805 | * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. | |
7806 | (REGISTER_CONVERT_TO_VIRTUAL): Update. | |
7807 | * arm-linux-tdep.c (arm_linux_push_arguments): Update. | |
7808 | * alpha-tdep.c (alpha_register_convert_to_virtual): Update. | |
7809 | (alpha_register_convert_to_raw): Update. | |
7810 | ||
4443bd83 AC |
7811 | 2003-04-08 Andrew Cagney <[email protected]> |
7812 | ||
7813 | * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. | |
7814 | * gdbarch.h, gdbarch.c: Re-generate. | |
7815 | * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. | |
7816 | (d10v_gdbarch_init): Do not set saved_pc_after_call. | |
7817 | * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P | |
7818 | conditionally, use frame_pc_unwind as an alternative. Add | |
7819 | comments. | |
7820 | * arch-utils.c (init_frame_pc_default): Only call | |
7821 | SAVED_PC_AFTER_CALL when available. | |
7822 | ||
c0236d92 EZ |
7823 | 2003-04-08 Elena Zannoni <[email protected]> |
7824 | ||
fbe586ae | 7825 | * infrun.c (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
7826 | (struct inferior_status): Rename stop_soon_quietly field to stop_soon. |
7827 | (clear_proceed_status): Rename stop_soon_quietly to stop_soon. | |
7828 | (start_remote): Ditto. | |
7829 | (handle_inferior_event): Ditto. | |
7830 | (save_inferior_status): Ditto. | |
7831 | (restore_inferior_status): Ditto. | |
7832 | * infcmd.c (attach_command): Ditto. | |
7833 | * fork-child.c (startup_inferior): Ditto. | |
fbe586ae | 7834 | * inferior.h (stop_soon): Rename from stop_soon_quietly. |
c0236d92 EZ |
7835 | * alpha-tdep.c (heuristic_proc_start): Ditto. |
7836 | * mips-tdep.c (heuristic_proc_start): Ditto. | |
7837 | * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. | |
7838 | * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. | |
7839 | * solib-osf.c (osf_solib_create_inferior_hook): Ditto. | |
7840 | * solib-irix.c (irix_solib_create_inferior_hook): Ditto. | |
7841 | * remote-vx.c (vx_create_inferior): Ditto. | |
7842 | ||
7843 | 2003-04-08 Elena Zannoni <[email protected]> | |
7844 | ||
7845 | * infrun.c (stop_soon_quietly): Make it an enum, to better | |
7846 | override the default behavior of handle_inferior_event. | |
7847 | (clear_proceed_status): Update uses of stop_soon_quietly to | |
7848 | reflect that it is now an enum. | |
7849 | (start_remote): Ditto. | |
7850 | (handle_inferior_event): Change logic a bit if stop_soon_quietly | |
7851 | is set to handle the new GNU/Linux kernel behavior for | |
7852 | attach/sigstop. Update uses of stop_soon_quietly. | |
7853 | * inferior.h (enum stop_kind): New enum. | |
7854 | * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. | |
7855 | Reset normal handle_inferior_event behavior, afterwards. | |
7856 | * fork-child.c (startup_inferior): Update. | |
7857 | * alpha-tdep.c (heuristic_proc_start): Update. | |
7858 | * solib-svr4.c (svr4_solib_create_inferior_hook): Update. | |
7859 | * solib-sunos.c (sunos_solib_create_inferior_hook): Update. | |
7860 | * solib-osf.c (osf_solib_create_inferior_hook): Update. | |
7861 | * solib-irix.c (irix_solib_create_inferior_hook): Update. | |
7862 | * remote-vx.c (vx_create_inferior): Update. | |
7863 | * mips-tdep.c (heuristic_proc_start): Update. | |
7864 | ||
1211bce3 EZ |
7865 | 2003-04-07 Elena Zannoni <[email protected]> |
7866 | ||
7867 | * disasm.c (dump_insns): Move variables inside loop, or they will | |
fbe586ae | 7868 | be freed more than once, causing wild memory corruptions. |
1211bce3 | 7869 | (gdb_disassembly): Look for the substring "-thread", |
fbe586ae | 7870 | instead of "-threads" in the target name, to make sure to find |
8ffd9b1b | 7871 | the 'multi-thread' target. Also, make sure we do the right thing |
fbe586ae | 7872 | with the "core" target. |
1211bce3 | 7873 | |
f0ef6b29 KB |
7874 | 2003-04-07 Kevin Buettner <[email protected]> |
7875 | ||
7876 | * mips-tdep.c (mips_print_fp_register): New function, created from | |
7877 | do_fp_register_row(). Registers are now (also) printed as hex. | |
7878 | Only one register is printed per row. | |
7879 | (mips_print_register, do_fp_register_row): Print floating point | |
7880 | registers with mips_print_fp_register(). | |
7881 | ||
8cf71652 AC |
7882 | 2003-04-06 Andrew Cagney <[email protected]> |
7883 | ||
5e488a7b AC |
7884 | * valprint.h (inspect_it): Add extern declaration. |
7885 | * objc-lang.c (value_nsstring): Avoid assignment inside of "if". | |
7886 | (selectors_info, classes_info): Ditto. | |
7887 | (find_objc_msgcall): Fix indentation. | |
7888 | (objc_printstr): Delete extern declarations. | |
7889 | ||
8cf71652 AC |
7890 | * arm-tdep.c (arm_frameless_function_invocation): Fix typo. |
7891 | ||
e6ba3bc9 AC |
7892 | 2003-04-06 Andrew Cagney <[email protected]> |
7893 | ||
7894 | * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid. | |
7895 | Update comment. | |
7896 | * frame.c (legacy_saved_regs_this_id): Update. | |
7897 | (legacy_get_prev_frame): Update. | |
7898 | * xstormy16-tdep.c: Update comment. | |
7899 | * sparc-tdep.c (sparc_frame_chain): Update comment. | |
7900 | * blockframe.c (legacy_frame_chain_valid): Update. | |
7901 | ||
55e1d7e7 AC |
7902 | 2003-04-06 Andrew Cagney <[email protected]> |
7903 | ||
996179ee AC |
7904 | * valprint.c (val_print_type_code_int): Delete #ifdef |
7905 | PRINT_TYPELESS_INTEGER code. | |
7906 | ||
55e1d7e7 AC |
7907 | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES) |
7908 | (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial | |
7909 | multi-arch definition. | |
7910 | * gdbarch.h: Re-generate. | |
7911 | ||
43bd9a9e AC |
7912 | 2003-04-05 Andrew Cagney <[email protected]> |
7913 | ||
7914 | Eliminate FRAME_FIND_SAVED_REGS. | |
7915 | * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
7916 | Change FSR parameter to a pointer. | |
7917 | * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): | |
7918 | Assume FSR parameter is a pointer. | |
7919 | * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp): | |
7920 | Make fsr a pointer. | |
7921 | * hppa-tdep.c (hppa_frame_find_saved_regs): New function. | |
7922 | (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make | |
7923 | saved_regs a pointer. | |
7924 | (hppa_frame_saved_pc): Ditto. | |
7925 | (find_dummy_frame_regs): Make frame_saved_regs a pointer | |
7926 | (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a | |
7927 | pointer. | |
7928 | (restore_pc_queue): Make fsr a pointer. | |
7929 | (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer. | |
7930 | (hppa_frame_chain): Make saved_regs a pointer, call | |
7931 | hppa_frame_init_saved_regs. | |
7932 | * sparc-tdep.c: Include "gdb_assert.h". | |
7933 | (sparc_frame_find_saved_regs): Replace internal_error with | |
7934 | gdb_assert. | |
7935 | * remote-vxsparc.c (vx_read_register): Delete reference to | |
7936 | FRAME_FIND_SAVED_REGS. | |
7937 | * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS. | |
7938 | * gdbarch.h: Regenerate. | |
7939 | * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
7940 | (deprecated_get_frame_saved_regs): Delete declaration. | |
7941 | (struct frame_saved_regs): Delete definition. | |
7942 | * frame.c (deprecated_get_frame_saved_regs): Delete function. | |
7943 | * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare. | |
7944 | (hppa_frame_find_saved_regs): Delete declaration. | |
7945 | (FRAME_FIND_SAVED_REGS): Delete macro. | |
7946 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Define. | |
7947 | * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete | |
7948 | FRAME_FIND_SAVED_REGS in comment. | |
7949 | ||
be41e9f4 AC |
7950 | 2003-04-05 Andrew Cagney <[email protected]> |
7951 | ||
7952 | * frame.c (frame_func_unwind, get_frame_func): New functions. | |
7953 | * frame.h (get_frame_func, frame_func_unwind): Declare. | |
7954 | (struct frame_info): Add field "prev_func" for caching the | |
7955 | previous frame's function address. | |
7956 | * arm-tdep.c (arm_frameless_function_invocation): Combine | |
7957 | get_pc_function_start and get_frame_pc into get_frame_func. | |
7958 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
7959 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
7960 | * s390-tdep.c (s390_function_start): Ditto. | |
7961 | * rs6000-tdep.c (rs6000_pop_frame): Ditto. | |
7962 | (rs6000_frameless_function_invocation): Ditto. | |
7963 | (rs6000_frame_saved_pc): Ditto. | |
7964 | * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto. | |
7965 | * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto. | |
7966 | * i386-tdep.c (i386_frameless_signal_p): Ditto. | |
7967 | (i386_frame_init_saved_regs): Ditto. | |
7968 | * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto. | |
7969 | * d10v-tdep.c (d10v_frame_unwind_cache): Combine | |
7970 | get_pc_function_start and frame_pc_unwind into frame_func_unwind. | |
7971 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
7972 | * blockframe.c (frameless_look_for_prologue): Ditto. | |
7973 | ||
a01dd7cc AC |
7974 | 2003-04-05 Andrew Cagney <[email protected]> |
7975 | ||
7976 | * frame.c (legacy_get_prev_frame): Link prev to next at the | |
7977 | function start. Update comments. | |
7978 | ||
5e5592e6 AC |
7979 | 2003-04-05 Andrew Cagney <[email protected]> |
7980 | ||
7981 | * frame.c (get_frame_id): Update comment. | |
7982 | (legacy_get_prev_frame): Update comment. | |
7983 | * gdbarch.sh: Delete check for EXTRA_FRAME_INFO. | |
7984 | * gdbarch.h: Regenerate. | |
7985 | * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete. | |
7986 | * frame.h: Delete #ifdef EXTRA_FRAME_INFO code. | |
7987 | ||
6fba5002 AC |
7988 | 2003-04-05 Andrew Cagney <[email protected]> |
7989 | ||
7990 | * stack.c (print_frame_info): Use get_frame_pc. | |
7991 | ||
7df05f2b AC |
7992 | 2003-04-04 Andrew Cagney <[email protected]> |
7993 | ||
7994 | * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set | |
7995 | the frame's type from the unwinder. | |
7996 | (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME. | |
7997 | (create_new_frame, legacy_get_prev_frame): When the unwinder's | |
7998 | type isn't UNKNOWN_FRAME, initalize "type" from the unwinder. | |
7999 | (get_frame_base_address): Use get_frame_type. | |
8000 | (get_frame_locals_address, get_frame_args_address): Ditto. | |
8001 | (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE. | |
8002 | * frame.h (enum frame_type): Add UNKNOWN_FRAME. | |
8003 | (struct frame_info): Add comment explaining why the frame contains | |
8004 | a "type" field. | |
8005 | * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME. | |
8006 | * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME. | |
8007 | * sentinel-frame.c (sentinel_frame_unwinder): Set the type to | |
8008 | NORMAL_FRAME. | |
8009 | * frame-unwind.h: Include "frame.h". | |
8010 | (struct frame_unwind): Add "type" field. | |
8011 | * Makefile.in (frame_unwind_h): Add $(frame_h). | |
8ffd9b1b | 8012 | |
11889732 AC |
8013 | 2003-04-04 Andrew Cagney <[email protected]> |
8014 | ||
8015 | * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build. | |
8016 | * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. | |
8017 | * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and | |
8018 | get_frame_base. | |
8019 | (d10v_unwind_dummy_id): Use frame_id_build. | |
8020 | * frame.c (find_frame_sal): Use get_frame_pc. | |
8021 | (create_new_frame): Use deprecated_update_frame_pc_hack and | |
8022 | deprecated_update_frame_base_hack. | |
8023 | (create_sentinel_frame): Add comment about ->pc going away. | |
8024 | (get_prev_frame): Add comment about ->pc going away. | |
8025 | (legacy_get_prev_frame): Use get_frame_base, get_frame_pc, | |
8026 | frame_id_build, deprecated_update_frame_pc_hack and | |
8027 | deprecated_update_frame_base_hack. | |
8028 | (select_frame): Use get_frame_pc. | |
8029 | (legacy_saved_regs_this_id): Use frame_id_build. | |
8030 | ||
50c46a0d EZ |
8031 | 2003-04-04 Elena Zannoni <[email protected]> |
8032 | ||
fbe586ae RH |
8033 | * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the |
8034 | signed integer case. | |
8035 | (classify_argument): Handle enumerations and references. | |
50c46a0d | 8036 | |
50bbdbd9 AC |
8037 | 2003-04-04 Andrew Cagney <[email protected]> |
8038 | ||
8039 | * frame.c (create_sentinel_frame): Initialize the sentinel frame's | |
8040 | ID to NULL. | |
8041 | ||
36018d2e AF |
8042 | 2003-04-01 Adam Fedor <[email protected]> |
8043 | ||
8044 | * gdb/objc-lang.c (selectors_info): Replace calls to | |
8045 | SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with | |
8046 | SYMBOL_NATURAL_NAME. | |
8047 | (classes_info, find_methods): Likewise. | |
8048 | ||
35cec841 KB |
8049 | 2003-04-03 Kevin Buettner <[email protected]> |
8050 | ||
8051 | * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set | |
8052 | ``mach'' to the value determined by bfd_default_set_arch_mach(). | |
8053 | ||
43136899 BR |
8054 | 2003-04-02 Bob Rossi <[email protected]> |
8055 | ||
8056 | * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o". | |
8057 | (SUBDIR_MI_SRCS): Add "mi-cmd-file.c". | |
8058 | (mi-cmd-file.o): Update dependencies. | |
8059 | ||
040b99fd KB |
8060 | 2003-04-01 Kevin Buettner <[email protected]> |
8061 | ||
8062 | * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
8063 | (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM. | |
8064 | ||
9a3d7dfd AF |
8065 | 2003-04-01 Adam Fedor <[email protected]> |
8066 | ||
8067 | * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h). | |
8068 | * language.h (struct language_defn): Add la_demangle. | |
8069 | (language_demangle): Declare. | |
8070 | * language.c (language_demangle): New function. | |
8071 | (unk_lang_demangle): Likewise. | |
8072 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
fbe586ae | 8073 | Add ukn_lang_demangle. |
9a3d7dfd | 8074 | * ada-lang.c (ada_language_defn): Add NULL for la_demangle element. |
fbe586ae | 8075 | * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise. |
9a3d7dfd AF |
8076 | * c-lang.c (c_language_defn, asm_language_defn): Likewise. |
8077 | (cplus_language_defn): Add cplus_demangle for la_demangle element. | |
8078 | * jv-lang.c (java_demangle): New function | |
8079 | (java_language_defn): Use it for la_demangle element. | |
fbe586ae RH |
8080 | * objc-lang.c (objc_demangle): Add options argument |
8081 | (objc_language_defn): Use objc_demangle for la_demangle element. | |
9a3d7dfd AF |
8082 | * maint.c (maintenance_demangle): Replace switch with |
8083 | call to language_demangle. | |
8084 | * utils.c (fprintf_symbol_filtered): Likewise. | |
8085 | ||
5e074003 AC |
8086 | 2003-04-01 Andrew Cagney <[email protected]> |
8087 | ||
8088 | * printcmd.c (print_frame_nameless_args): Delete #ifdef | |
8089 | NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and | |
8090 | PRINT_TYPELESS_INTEGER. | |
8091 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename | |
8092 | PUSH_RETURN_ADDRESS. | |
8093 | ||
270cb5d6 AC |
8094 | 2003-04-01 Andrew Cagney <[email protected]> |
8095 | ||
8096 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
8097 | * d10v-tdep.c: Include "frame-base.h". | |
8098 | (d10v_frame_unwind): Make constant. | |
8099 | (d10v_frame_base_address): New function. | |
8100 | (d10v_frame_base): New variable. | |
8101 | (d10v_gdbarch_init): Set frame_base default. | |
8102 | (struct d10v_unwind_cache): Add the field "prev_sp". Update | |
8103 | comment for base. | |
8104 | (d10v_frame_unwind_cache): Set and use "prev_sp". | |
8105 | (d10v_frame_this_id): Use the previous frame's inner most stack | |
8106 | address and this frame's func address for the frame ID. Use | |
8107 | frame_id_build. Don't analyze beyond the current instruction. | |
8ffd9b1b | 8108 | |
6bfb3e36 AC |
8109 | 2003-04-01 Andrew Cagney <[email protected]> |
8110 | ||
8111 | * frame.h (get_frame_locals_address, get_frame_args_address): | |
8112 | Refer to the base address, instead of the address of the first | |
8113 | local or parameter. | |
8ffd9b1b | 8114 | |
da62e633 AC |
8115 | 2003-04-01 Andrew Cagney <[email protected]> |
8116 | ||
8117 | Add frame debug info addresses: | |
8118 | * frame-base.c: New file. | |
8119 | * frame-base.h: New file. | |
8120 | * frame.h (struct frame_base): Add opaque declaration. | |
8121 | (get_frame_base): Update comment. | |
8122 | (get_frame_base_address): Declare. | |
8123 | (get_frame_locals_address): Declare. | |
8124 | (get_frame_args_address): Declare. | |
8125 | (struct frame_info): Add "base" and "base_cache". Update | |
8126 | comments on the unwinder. | |
8127 | * frame.c: Include "frame-base.h". | |
8128 | (get_frame_locals_address): New function. | |
8129 | (get_frame_base_address): New function. | |
8130 | (get_frame_args_address): New function. | |
8131 | * findvar.c (read_var_value): Use get_frame_locals_address and | |
8132 | get_frame_args_address. | |
8133 | * stack.c (frame_info): Use get_frame_locals_address and | |
8134 | get_frame_args_address. | |
8135 | (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro, | |
8136 | moved to "frame-base.c". | |
8137 | * printcmd.c (print_frame_nameless_args): Ditto. | |
8138 | * symtab.h (address_class): Update comments. | |
8139 | * dwarf2loc.c (dwarf_expr_frame_base): Add note about | |
8140 | get_frame_base_address. | |
8141 | * dwarf2expr.c (execute_stack_op): Ditto. | |
8142 | * Makefile.in (frame_base_h): Define. | |
8143 | (frame.o): Update dependencies. | |
8144 | (frame-base.o): Add dependencies. | |
8145 | (SFILES): Add frame-base.c. | |
8146 | (COMMON_OBS): Add frame-base.o. | |
8147 | ||
3d30e9c2 AC |
8148 | 2003-04-01 Andrew Cagney <[email protected]> |
8149 | ||
8150 | * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero. | |
8151 | CALL_DUMMY_LENGTH): Ditto. | |
8152 | * gdbarch.c: Re-generate. | |
8153 | * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro. | |
8154 | (CALL_DUMMY_LENGTH): Delete macro. | |
8155 | * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero. | |
8156 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8157 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8158 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8159 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8160 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8161 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8162 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
8163 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8164 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8165 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8166 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8167 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8168 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8169 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8170 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8171 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8172 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8173 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8174 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8175 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
8176 | ||
ce0c7262 CV |
8177 | 2003-04-01 Corinna Vinschen <[email protected]> |
8178 | ||
8179 | * frame.c (get_prev_frame): Disable call to inside_entry_file(). | |
8180 | ||
73dd234f AC |
8181 | 2003-04-01 Andrew Cagney <[email protected]> |
8182 | ||
8183 | * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero. | |
8184 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8185 | * gdbarch.h, gdbarch.c: Re-generate. | |
8186 | * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8187 | (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8188 | * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8189 | * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. | |
8190 | (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
8191 | * infcmd.c (run_stack_dummy): Simplify assuming | |
8192 | CALL_DUMMY_BREAKPOINT_OFFSET_P. | |
8193 | * infrun.c (handle_inferior_event): Ditto. | |
8194 | * alpha-tdep.c (alpha_gdbarch_init): Do not set | |
8195 | call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p. | |
8196 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8197 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8198 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8199 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8200 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8201 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8202 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8203 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8204 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8205 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8206 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8207 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8208 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8209 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
8210 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8211 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8212 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8213 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8214 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8215 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8216 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
8217 | ||
97606a13 DJ |
8218 | 2003-04-01 Daniel Jacobowitz <[email protected]> |
8219 | ||
8220 | * symfile.c (symfile_relocate_debug_section): Update call to | |
8221 | bfd_simple_get_relocated_section_contents. | |
8222 | ||
e8ab51f7 AC |
8223 | 2003-03-31 Andrew Cagney <[email protected]> |
8224 | ||
8225 | * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. | |
8226 | * gdbarch.h, gdbarch.c: Regenerate. | |
8227 | * inferior.h (FIX_CALL_DUMMY): Delete macro. | |
8228 | * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when | |
8229 | available. | |
8230 | * frame.h (generic_fix_call_dummy): Delete declaration. | |
8231 | * dummy-frame.h: Update comment. | |
8232 | * dummy-frame.c (generic_fix_call_dummy): Delete function. | |
8233 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
8234 | fix_call_dummy. | |
8235 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8236 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8237 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8238 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8239 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8240 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8241 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8242 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8243 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8244 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8245 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8246 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8247 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8248 | ||
018d1b48 JB |
8249 | 2003-03-31 J. Brobecker <[email protected]> |
8250 | ||
8251 | * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful. | |
8252 | (INIT_FRAME_AP): Likewise. | |
8253 | (EXTRA_FRAME_INFO): Likewise. | |
8254 | ||
e9a2674e AC |
8255 | 2003-03-31 Andrew Cagney <[email protected]> |
8256 | ||
8257 | * gdbarch.sh: Include "symfile.h". | |
8258 | (CALL_DUMMY_ADDRESS): Default to entry_point_address. | |
8259 | * gdbarch.h, gdbarch.c: Re-generate. | |
8260 | * inferior.h (CALL_DUMMY_ADDRESS): Delete macro. | |
8261 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
8262 | call_dummy_address, the default is at entry_point_address. | |
8263 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8264 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
8265 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8266 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8267 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8268 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8269 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8270 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8271 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8272 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8273 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8274 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8275 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8276 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8277 | ||
e8a8712a AC |
8278 | 2003-03-31 Andrew Cagney <[email protected]> |
8279 | ||
8280 | * gdbarch.sh (CALL_DUMMY_P): Delete. | |
8281 | * gdbarch.h, gdbarch.c: Re-generate. | |
8282 | * inferior.h (CALL_DUMMY_P): Delete macro. | |
8283 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8284 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8285 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8286 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8287 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8288 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8289 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8290 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8291 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8292 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8293 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8294 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8295 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8296 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8297 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8298 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8299 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8300 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
8301 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8302 | * breakpoint.c (deprecated_frame_in_dummy): Update. | |
8303 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8304 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8305 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8306 | * dummy-frame.c (dummy_frame_this_id): Update comments. | |
8307 | * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto. | |
8308 | * frame.c (legacy_get_prev_frame): Ditto. | |
8309 | * valops.c (call_function_by_hand): Delete function. | |
8310 | (hand_function_call): Rename to call_function_by_hand | |
8311 | ||
ed234cf8 AC |
8312 | 2003-03-30 Andrew Cagney <[email protected]> |
8313 | ||
8314 | 2002-11-10 Klee Dienes <[email protected]> | |
fbe586ae | 8315 | * value.h (struct value): Update comment. |
ed234cf8 | 8316 | |
06c77151 AC |
8317 | 2003-03-30 Andrew Cagney <[email protected]> |
8318 | ||
6c2b5168 AC |
8319 | * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with |
8320 | D10V_FP_REGNUM. | |
8321 | (d10v_gdbarch_init): Do not set fp_regnum. | |
8322 | ||
06c77151 AC |
8323 | * frame.c (get_frame_base): Force ID initialization. |
8324 | (get_prev_frame): Move computation of the frame ID from here ... | |
8325 | (get_frame_id): ... to here. | |
8326 | (legacy_get_prev_frame): Mark the frame ID as valid. | |
8327 | * frame.h (struct frame_info): Add field "id_p". | |
8328 | ||
97a1a11c MK |
8329 | 2003-03-30 Mark Kettenis <[email protected]> |
8330 | ||
8331 | * i386-tdep.c (i386_store_struct_return): Removed. | |
8332 | (i386_gdbarch_init): Don't set deprecated_store_struct_return. | |
8333 | ||
6c0e89ed AC |
8334 | 2003-03-30 Andrew Cagney <[email protected]> |
8335 | ||
8336 | * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP. | |
8337 | * gdbarch.h, gdbarch.c: Regenerate. | |
8338 | * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp. | |
8339 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. | |
8340 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8341 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8342 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8343 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8344 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8345 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8346 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8347 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
8348 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8349 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
8350 | * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update. | |
8351 | * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update. | |
8352 | * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define. | |
8353 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8354 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8355 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8356 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8357 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8358 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8359 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8360 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8361 | * valops.c (hand_function_call): Replace TARGET_WRITE_SP with | |
8362 | DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, | |
8363 | instead of when push_dummy_call is not available. | |
8ffd9b1b | 8364 | |
f7dd6af2 AC |
8365 | 2003-03-30 Andrew Cagney <[email protected]> |
8366 | ||
8367 | * infttrace.c: Include "gdbthread.h". | |
8368 | (parent_attach_all): Fix function signature. | |
8369 | (call_ptrace): Update call. | |
8370 | * Makefile.in (infttrace.o): Update dependencies. | |
8371 | ||
28f617b3 AC |
8372 | 2003-03-30 Andrew Cagney <[email protected]> |
8373 | ||
8374 | * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace | |
8375 | PUSH_RETURN_ADDRESS. | |
8376 | * gdbarch.h, gdbarch.c: Regenerate. | |
8377 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8378 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8379 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8380 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8381 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8382 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8383 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8384 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8385 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8386 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8387 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8388 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8389 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8390 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8391 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8392 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8393 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8394 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8395 | * valops.c (hand_function_call): Update. | |
8396 | ||
4d628cd7 AC |
8397 | 2003-03-29 Andrew Cagney <[email protected]> |
8398 | ||
8399 | * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or | |
8400 | sizeof_call_dummy_words. | |
8401 | * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always | |
8402 | define. | |
8403 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 8404 | |
65e82032 AC |
8405 | 2003-03-29 Andrew Cagney <[email protected]> |
8406 | ||
8407 | * infttrace.h: New file. | |
8408 | * hpread.c: Include "gdb_assert.h" and "somsolib.h". | |
8409 | (hpread_get_textlow): Detect an uninitialized dn_bufp. | |
8410 | (hpread_read_doc_function_type): Detect an initialized type1. | |
8411 | (hpread_quick_traverse): Initialize mod_name_string. | |
8412 | * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. | |
8413 | (som_solib_get_solib_by_pc): Declare. | |
8414 | (so_lib_thread_start_addr): Declare. | |
8415 | (no_shared_libraries): Declare. | |
8416 | * somread.c (init_import_symbols): Make static. Add forward | |
8417 | declaration. | |
8418 | * config/pa/nm-hppah.h: Include "infttrace.h" for | |
8419 | parent_attach_all. | |
8420 | (hppa_insert_hw_watchpoint): Declare. | |
8421 | (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. | |
8422 | * hppah-nat.c: Include "gdb_string.h". | |
8423 | (parent_attach_all): Delete extern declaration, moved to | |
8424 | "infttrace.h". | |
8425 | (hppa_can_use_hw_watchpoint): Change type of "type" parameter to | |
8426 | int. | |
8427 | (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. | |
8428 | * Makefile.in (infttrace_h): Define. | |
8429 | (hpread.o): Update dependencies. | |
8430 | (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. | |
8431 | * hppa-hpux-tdep.c: Include "gdb_string.h". | |
8432 | * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". | |
8433 | * infrun.c (handle_inferior_event): Always initialize | |
8434 | stepped_after_stopped_by_watchpoint. Add default and remove | |
8435 | fallthrough in switch statement. | |
8436 | * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" | |
8437 | parameter to int. | |
8438 | (hppa_remove_hw_watchpoint): Ditto. | |
8439 | ||
2c3bbe77 AC |
8440 | 2003-03-29 Andrew Cagney <[email protected]> |
8441 | ||
8442 | * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint | |
8443 | offset. | |
8444 | ||
2dd604e7 RE |
8445 | 2003-03-29 Richard Earnshaw <[email protected]> |
8446 | ||
8447 | * arm-tdep.c (arm_push_arguments): Delete. | |
8448 | (struct stack_item): New type. | |
8449 | (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. | |
8450 | (arm_store_struct_return): Delte. | |
8451 | (arm_gdbarch_init): Register arm_push_dummy_call. Don't register | |
8452 | arm_push_arguments or arm_store_struct_return. | |
8453 | ||
e8933a55 AC |
8454 | 2003-03-28 Andrew Cagney <[email protected]> |
8455 | ||
8456 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
8457 | * remote.h (target_resume_hook, target_wait_loop_hook): Declare. | |
8458 | * d10v-tdep.c: Include "remote.h". | |
8459 | (target_resume_hook): Delete extern declaration. | |
8460 | (target_wait_loop_hook): Ditto. | |
8461 | (tdisassemble_command): Eliminate assignment in "if" conditional. | |
8462 | (d10v_ts2_register_sim_regno): Eliminate call to | |
8463 | legacy_register_sim_regno. | |
8464 | (d10v_ts3_register_sim_regno): Ditto. | |
8465 | ||
6949171e JJ |
8466 | 2003-03-28 Jeff Johnston <[email protected]> |
8467 | ||
8468 | * thread.c: Reindented. | |
8469 | * lin-lwp.c: Ditto. | |
8470 | * linux-proc.c: Ditto. | |
8471 | ||
98c7071f BR |
8472 | 2003-03-28 Bob Rossi <[email protected]> |
8473 | ||
fbe586ae | 8474 | * MAINTAINERS (write after approval): Add myself. |
98c7071f | 8475 | |
5edc9ca6 TR |
8476 | 2003-03-27 Theodore A. Roth <[email protected]> |
8477 | ||
8478 | * objc-exp.y: Add missing semi-colons. | |
8479 | ||
378bfd1b AC |
8480 | 2003-03-27 Andrew Cagney <[email protected]> |
8481 | ||
8482 | * regcache.c (write_sp): Delete function and references. | |
8483 | * inferior.h (write_sp): Delete declaration. | |
8484 | * valops.c (hand_function_call): Replace write_sp with | |
8485 | TARGET_WRITE_SP. | |
8486 | * sparc-tdep.c (sparc_push_dummy_frame): Ditto. | |
8487 | (sparc_pop_frame): Ditto. | |
8ffd9b1b | 8488 | |
56056df7 AC |
8489 | 2003-03-27 Andrew Cagney <[email protected]> |
8490 | ||
8491 | * NEWS: Mention removal of support for hppa*-*-bsd* and | |
8492 | hppa*-*-osf* natives, and hppa*-*-pro* target. | |
8493 | * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h". | |
8494 | * config/pa/xm-pa.h: Obsolete file. | |
8495 | * config/pa/xm-hppab.h: Obsolete file. | |
8496 | * config/pa/nm-hppab.h: Obsolete file. | |
8497 | * config/pa/tm-hppab.h: Obsolete file. | |
8498 | * config/pa/tm-hppao.h: Obsolete file. | |
8499 | * config/pa/nm-hppao.h: Obsolete file. | |
8500 | * config/pa/tm-pro.h: Obsolete file. | |
8501 | * config/pa/hppaosf.mt: Obsolete file. | |
8502 | * config/pa/hppaosf.mh: Obsolete file. | |
8503 | * config/pa/hppapro.mt: Obsolete file. | |
8504 | * config/pa/hppabsd.mt: Obsolete file. | |
8505 | * config/pa/hppabsd.mh: Obsolete file. | |
8506 | * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*. | |
8507 | * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and | |
8508 | hppa*-*-osf*. | |
8509 | ||
5873a88d AC |
8510 | 2003-03-27 Andrew Cagney <[email protected]> |
8511 | ||
8512 | * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of | |
8513 | push_arguments. Don't set push_return_address or write_sp. | |
8514 | (d10v_push_dummy_call): Replace d10v_push_arguments. | |
8515 | (d10v_push_return_address, d10v_write_sp): Delete function, | |
8516 | handled by push_dummy_call. | |
8517 | ||
b81774d8 AC |
8518 | 2003-03-26 Andrew Cagney <[email protected]> |
8519 | ||
8520 | * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS. | |
8521 | (push_dummy_call): New pure multi-arch replacement with gdbarch, | |
8522 | regcache and dummy_addr parameters. | |
8523 | * gdbarch.h, gdbarch.c: Re-generate. | |
8524 | * valops.c (hand_function_call): Use gdbarch_push_dummy_call when | |
8525 | available; assume it will handle stack alignment and return | |
8526 | address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and | |
8527 | legacy_push_arguments. | |
8528 | (legacy_push_arguments): Rename default_push_arguments. | |
8529 | * value.h (legacy_push_arguments): Rename default_push_arguments. | |
8530 | * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments. | |
8531 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
8532 | * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
8533 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update. | |
8534 | * config/i386/tm-symmetry.h: Update. | |
8535 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8536 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8537 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8538 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8539 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8540 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8541 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8542 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8543 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8544 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8545 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8546 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8547 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8548 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8549 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8550 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8551 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
8552 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8553 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8554 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8555 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
8556 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8557 | ||
f541410f DJ |
8558 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8559 | ||
8560 | * signals/signals.c (do_target_signal_to_host): Correct realtime | |
8561 | signal range test. | |
8562 | ||
69f567ae DJ |
8563 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8564 | ||
8565 | * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals) | |
8566 | (struct sal_chain, map_catch_names): Remove. | |
8567 | (catch_exception_command_1): Don't call | |
8568 | handle_gnu_4_16_catch_command. | |
8569 | ||
d5d14a5a DJ |
8570 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8571 | ||
8572 | From Mark Dettinger <[email protected]>: | |
8573 | * dwarf2cfi.c (read_2u): Increment pointer by two. | |
8574 | ||
bdd73e22 DJ |
8575 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8576 | ||
8577 | * signals/signals.c: Fix typos in last change. | |
8578 | ||
960cb555 DJ |
8579 | 2003-03-26 Daniel Jacobowitz <[email protected]> |
8580 | ||
8581 | * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if | |
8582 | not already defined. Use __SIGRTMIN if available. | |
8583 | (target_signal_from_host): Remove SIGRTMIN block. | |
8584 | (do_target_signal_to_host): Remove SIGRTMIN block; check that | |
8585 | the signal is within the realtime range. | |
8586 | ||
f636b87d AF |
8587 | 2003-03-25 Adam Fedor <[email protected]> |
8588 | ||
8589 | * Makefile.in (infrun.o): Add $(language_h) | |
8590 | * infrun.c (handle_inferior_event): Use skip_language_trampoline | |
8591 | for language specific trampolines. | |
8592 | * language.h (struct language_defn): Add skip_trampoline. | |
8593 | (skip_language_trampoline): Declare. | |
8594 | * language.c (unk_lang_trampoline, skip_language_trampoline): | |
8595 | New functions. | |
8596 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
8597 | Add ukn_lang_trampoline. | |
8598 | * ada-lang.c (ada_language_defn): Add NULL for language | |
8599 | specific skip_trampoline. | |
8600 | * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c, | |
8601 | scm-lang.c: Likewise. | |
8602 | * objc-lang.c (objc_skip_trampoline): New function. | |
8603 | (objc_language_defn): Add objc_skip_trampoline. | |
8604 | ||
28f617b3 | 8605 | 2003-03-25 Andrew Cagney <[email protected]> |
270c3b1d AC |
8606 | |
8607 | * frame.c (get_prev_frame): Delay validating a frame's ID - | |
8608 | non-NULL, didn't go backwards - until an attempt to unwind it to | |
8609 | the previous frame. | |
8610 | ||
f933a9c5 AC |
8611 | 2003-03-25 Andrew Cagney <[email protected]> |
8612 | ||
8613 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace | |
8614 | EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1. | |
8615 | * gdbarch.h, gdbarch.c: Re-generate. | |
8616 | * config/sparc/tm-sparc.h | |
8617 | (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define. | |
8618 | * sparc-tdep.c (sparc_gdbarch_init): Set | |
8619 | deprecated_extra_stack_alignment_needed. | |
8620 | * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete. | |
8621 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear | |
8622 | extra_stack_alignment_needed. | |
8623 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8624 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
8625 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8626 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8627 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8628 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8629 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8ffd9b1b | 8630 | |
4183d812 AC |
8631 | 2003-03-25 Andrew Cagney <[email protected]> |
8632 | ||
8633 | * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace | |
8634 | STORE_STRUCT_RETURN. | |
8635 | * gdbarch.h, gdbarch.c: Regenerate. | |
8636 | * d10v-tdep.c (d10v_store_struct_return): Delete function. | |
8637 | (d10v_push_arguments): Set the struct return register. | |
8638 | (d10v_gdbarch_init): Update. | |
8639 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8640 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8641 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8642 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8643 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
8644 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8645 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8646 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
8647 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8648 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8649 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8650 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8651 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8652 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8653 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8654 | * i386-tdep.c (i386_gdbarch_init): Update. | |
8655 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8656 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8657 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8658 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8659 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8660 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8661 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 8662 | |
1bf6d5cc AC |
8663 | 2003-03-25 Andrew Cagney <[email protected]> |
8664 | ||
8665 | * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete. | |
8666 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace | |
8667 | CALL_DUMMY_STACK_ADJUST with a predicate variable. | |
8668 | * gdbarch.h, gdbarch.c: Regenerate. | |
8669 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
8670 | call_dummy_stack_adjust_p. | |
8671 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
8672 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
8673 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
8674 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
8675 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
8676 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
8677 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
8678 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
8679 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
8680 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
8681 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
8682 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
8683 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
8684 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
8685 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
8686 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
8687 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
8688 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
8689 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8690 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
8691 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
8692 | * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update. | |
8693 | * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update. | |
8694 | * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set | |
8695 | call_dummy_stack_adjust_p. | |
8696 | * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro. | |
8697 | (CALL_DUMMY_STACK_ADJUST): Delete macro. | |
8698 | * sparc-tdep.c (sparc32_push_arguments): Update. | |
8699 | * valops.c (hand_function_call): Update. | |
8700 | ||
71c08af0 CV |
8701 | 2003-03-25 Corinna Vinschen <[email protected]> |
8702 | ||
8703 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to | |
8704 | set_gdbarch_char_signed. | |
8705 | ||
30757f90 RE |
8706 | 2003-03-25 Richard Earnshaw <[email protected]> |
8707 | ||
8708 | PR cli/548 | |
8709 | * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler". | |
8710 | ||
03d48a7d RE |
8711 | 2003-03-25 Richard Earnshaw <[email protected]> |
8712 | ||
8713 | * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. | |
8714 | (_initialize_arm_tdep): Don't set tm_print_insn. | |
8715 | ||
2cf6873c AF |
8716 | 2003-03-24 Adam Fedor <[email protected]> |
8717 | ||
8718 | * Makefile.in (YYOBJ): Add objc-exp.tab.o | |
8719 | * objc-lang.h: Add multiple inclusion protection. | |
8720 | (start_msglist, add_msglist, end_msglist): Additional declarations. | |
8721 | ||
17c0759e RE |
8722 | 2003-03-24 Richard Earnshaw <[email protected]> |
8723 | ||
8724 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum | |
8725 | value was renamed to ARM_FLOAT_SOFT_FPA. | |
8726 | ||
618ce49f AC |
8727 | 2003-03-23 Andrew Cagney <[email protected]> |
8728 | ||
8729 | * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN. | |
8730 | (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID. | |
8731 | * gdbarch.h, gdbarch.c: Regenerate. | |
8732 | * valops.c (hand_function_call): Update. | |
8733 | * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
8734 | * frame.c (legacy_saved_regs_this_id): Update. | |
8735 | (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update. | |
8736 | * dummy-frame.h: Update. | |
8737 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update. | |
8738 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update. | |
8739 | * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update. | |
8740 | * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update. | |
8741 | * config/m68k/tm-sun3.h: Update. | |
8742 | * blockframe.c (inside_main_func, frame_chain_valid): Update. | |
8743 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
8744 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
8745 | * vax-tdep.c (vax_gdbarch_init): Update. | |
8746 | * v850-tdep.c (v850_gdbarch_init): Update. | |
8747 | * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update. | |
8748 | * sh-tdep.c (sh_gdbarch_init): Update. | |
8749 | * s390-tdep.c (s390_gdbarch_init): Update. | |
8750 | * rs6000-tdep.c (rs6000_frame_saved_pc): Update. | |
8751 | (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update. | |
8752 | (frame_get_saved_regs): Update. | |
8753 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
8754 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
8755 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
8756 | * mips-tdep.c (mips_gdbarch_init): Update. | |
8757 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
8758 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
8759 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
8760 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
8761 | * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update. | |
8762 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
8763 | (i386_interix_back_one_frame): Update. | |
8764 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
8765 | (hppa_init_extra_frame_info): Update. | |
8766 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
8767 | * frv-tdep.c (frv_gdbarch_init): Update. | |
8768 | * cris-tdep.c (cris_gdbarch_init): Update. | |
8769 | * avr-tdep.c (avr_gdbarch_init): Update. | |
8770 | * arm-tdep.c (arm_gdbarch_init): Update. | |
8771 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8772 | ||
fd50bc42 RE |
8773 | 2003-03-22 Richard Earnshaw <[email protected]> |
8774 | ||
8775 | * arm-tdep.h (arm_float_model): Add AUTO and LAST values. | |
8776 | (arm_get_fp_model): Declare. | |
8777 | * arm-tdep.c (fp_model_strings): New string array. | |
8778 | (arm_fp_model, current_fp_model): New variables. | |
8779 | (arm_get_fp_model): New function. | |
8780 | (arm_set_fp): New function. | |
8781 | (set_fp_model_sfunc): New function. | |
8782 | (show_fp_model): New function. | |
8783 | (_initialize_arm_tdep): Add new command to set/show the FPU. | |
8784 | (arm_extract_return_value): Use arm_get_fp_model. | |
8785 | (arm_store_return_value): Likewise. | |
8786 | (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp | |
8787 | to initialize the floating-point data types. | |
8788 | * arm-linux-tdep.c (arm_linux_init_abi): The default floating point | |
8789 | model is FPA. | |
8790 | ||
26304000 RE |
8791 | 2003-03-22 Richard Earnshaw <[email protected]> |
8792 | ||
8793 | * arm-tdep.c (show_arm_command): Don't print out help. Instead, show | |
8794 | the current setting of each value. | |
8795 | (_initialize_arm_tdep): Delete variable new_cmd and add new vars | |
8ffd9b1b | 8796 | new_set and new_show. Use add_setshow_cmd_full and |
26304000 RE |
8797 | add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32" |
8798 | commands and add new version as subcommands of "set/show arm". | |
8799 | ||
afd7eef0 RE |
8800 | 2003-03-22 Richard Earnshaw <[email protected]> |
8801 | ||
8802 | * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists. | |
8803 | (set_arm_command, show_arm_command): New functions. | |
8804 | (_initialize_arm_tdep): Add them. | |
8805 | (num_disassembly_options): Renamed from num_flavor_options. | |
8806 | (valid_disassembly_styles): Renamed from valid_flavors. | |
8807 | (disassembly_style): Renamed from disassembly_flavor. | |
8ffd9b1b | 8808 | (set_disassembly_style_sfunc): Renamed from |
afd7eef0 RE |
8809 | set_disassembly_flavor_sfunc. |
8810 | (set_disassembly_style): Renamed from set_disassembly_flavor. | |
8811 | (arm_othernames): Updated. | |
8812 | (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor" | |
8813 | command. Add "set/show arm disassembly" commands. Deprecate | |
8814 | "othernames" command. | |
8815 | ||
299a7944 RE |
8816 | 2003-03-22 Richard Earnshaw <[email protected]> |
8817 | ||
8818 | * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define. | |
8819 | (arm-tdep.o): Depend on elf_arm_h. | |
8820 | ||
c1dac9e6 RE |
8821 | 2003-03-22 Richard Earnshaw <[email protected]> |
8822 | ||
8823 | * Makefile.in (coff_internal_h): Define. | |
8824 | (arm-tdep.o): Update dependencies. | |
8825 | ||
2702d96c RE |
8826 | 2003-03-22 Richard Earnshaw <[email protected]> |
8827 | ||
8828 | * arm-tdep.c (prologue_cache): Delete. | |
8829 | (check_prologue_cache, save_prologue_cache): Delete. | |
8830 | (arm_scan_prologue): Don't check or update the prologue_cache. | |
8831 | (arm_gdb_arch_init): Don't initialize it. | |
8832 | (_initialize_arm_tdep): Likewise. | |
8833 | ||
27d5d74b SC |
8834 | 2003-03-21 Stephane Carrez <[email protected]> |
8835 | ||
8836 | * MAINTAINERS (tui): Maintainer of tui code. | |
8837 | ||
1762d96d CV |
8838 | 2003-03-21 Corinna Vinschen <[email protected]> |
8839 | ||
8840 | * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c. | |
8841 | (i386-cygwin-tdep.o): Add dependencies. | |
8842 | * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN. | |
8843 | * i386-cygwin-tdep.c: New file. | |
8844 | * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN. | |
8845 | * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o. | |
8846 | ||
4c2e2391 AC |
8847 | 2003-03-20 Andrew Cagney <[email protected]> |
8848 | ||
f20d38b7 AC |
8849 | * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro. |
8850 | (handle_inferior_event): Remove code calling | |
8851 | DYNAMIC_TRAMPOLINE_NEXTPC. | |
8852 | ||
0022b738 AC |
8853 | * Makefile.in (init.c): Don't add $(srcdir) prefix when a file |
8854 | already has a full path. | |
8855 | ||
864dbc90 AC |
8856 | * main.c (gdb_main): Return 1. |
8857 | (captured_main): Call error to report an invalid interpreter. | |
8858 | ||
4c2e2391 AC |
8859 | * Makefile.in (alpha-osf1-tdep.o): Update dependencies. |
8860 | * alpha-osf1-tdep.c: Include "gdb_string.h". | |
8861 | ||
5ef7553b JB |
8862 | 2003-03-19 J. Brobecker <[email protected]> |
8863 | ||
8864 | Continuing work to convert the hppa targets to multiarch partial. | |
8865 | ||
8866 | * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch | |
8867 | method, now that hppa_push_dummy_frame has a conformant prototype. | |
8868 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro | |
8869 | inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation | |
8870 | for the switch to multiarch partial. | |
8871 | ||
7bde8967 KB |
8872 | 2003-03-19 Kevin Buettner <[email protected]> |
8873 | ||
8874 | * mdebugread.c (parse_symbol): For stEnd, we're done counting | |
8875 | when iss is issNull. | |
8876 | ||
b006a9e9 KB |
8877 | 2003-03-18 Kevin Buettner <[email protected]> |
8878 | ||
8879 | * mips-tdep.c (mips_register_name): Fix fencepost error involving | |
8880 | NUM_REGS bounds check. | |
8881 | ||
5e2e9765 KB |
8882 | 2003-03-18 Kevin Buettner <[email protected]> |
8883 | ||
8884 | * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h). | |
8885 | * mips-tdep.c (gdb_assert.h): Include. | |
8886 | (mips_generic_reg_names, mips_processor_reg_names): Make static. | |
8887 | (mips_register_name): Handle integer registers explicitly. Add | |
8888 | bounds checking. | |
8889 | (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names) | |
8890 | (mips_lsi33k_reg_names): Don't list integer registers; they're | |
8891 | handled by mips_register_name() now. | |
8892 | * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise. | |
8893 | * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise. | |
8894 | * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise. | |
8895 | * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise. | |
8896 | * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise. | |
8897 | ||
a2867626 AC |
8898 | 2003-03-18 Andrew Cagney <[email protected]> |
8899 | ||
8900 | * printcmd.c (print_scalar_formatted): Change VALADDR parameter to | |
8901 | a void pointer. | |
8902 | * gdbtypes.h (print_scalar_formatted): Update declaration. | |
8903 | * expression.h (enum exp_opcode): Remove non-ISO C trailing comma. | |
8904 | ||
06600e06 JB |
8905 | 2003-03-18 J. Brobecker <[email protected]> |
8906 | ||
8907 | * infrun.c (observer.h): Add #include. | |
8908 | (normal_stop): Add call to observer_notify_normal_stop. | |
8909 | * Makefile.in (infrun.o): Add dependency on observer.h. | |
8910 | ||
7daf4f5b JB |
8911 | 2003-03-18 J. Brobecker <[email protected]> |
8912 | ||
8913 | Continuing work to convert the hppa targets to multiarch partial. | |
8914 | * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function | |
8915 | parameter. Reformat comment. | |
8916 | * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile. | |
8917 | (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame() | |
8918 | to match new profile. | |
8919 | ||
3371ccc0 JB |
8920 | 2003-03-18 J. Brobecker <[email protected]> |
8921 | ||
8922 | * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not | |
8923 | appear to be working in any case. | |
8924 | ||
4fbe891e JB |
8925 | 2003-03-18 J. Brobecker <[email protected]> |
8926 | ||
8927 | * observer.c (observer_test_first_observer): New static variable. | |
8928 | (observer_test_second_observer): Likewise. | |
8929 | (observer_test_third_observer): Likewise. | |
8930 | (observer_test_first_notification_function): New static function. | |
8931 | (observer_test_second_notification_function): Likewise. | |
8932 | (observer_test_third_notification_function): Likewise. | |
8933 | ||
a7ff40e7 JB |
8934 | 2003-03-17 J. Brobecker <[email protected]> |
8935 | ||
8936 | * hppa-tdep.c (gdb_assert.h): Add missing #include. | |
8937 | * somsolib.c (gdb_assert.h): Likewise. | |
8938 | * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. | |
8939 | (somsolib.o): Likewise. | |
8940 | ||
26ca4152 AC |
8941 | 2003-03-17 Andrew Cagney <[email protected]> |
8942 | ||
8943 | * disasm.c (gdb_disassembly): Set di.mach using the architecture's | |
8944 | BFD. Simplify setting of di.endian. | |
8945 | ||
0a613259 AC |
8946 | 2003-03-17 Andrew Cagney <[email protected]> |
8947 | ||
8948 | * rs6000-tdep.c (ppc_floating_point_unit_p): New function. | |
8949 | * ppc-tdep.h (ppc_floating_point_unit_p): Declare. | |
8950 | ||
8951 | From Elena Zannoni <[email protected]> | |
8952 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500 | |
8953 | vector and floating-point parameters. | |
8954 | (ppc_sysv_abi_use_struct_convention): Handle e500 struct return | |
8955 | convention. | |
8956 | (ppc_sysv_abi_broken_use_struct_convention): Ditto. | |
8957 | ||
1132738f FN |
8958 | 2003-03-17 Fernando Nasser <[email protected]> |
8959 | ||
8960 | * MAINTAINERS: Remove my name from several maintainership roles. | |
8961 | ||
6dc42492 AC |
8962 | 2003-03-17 Andrew Cagney <[email protected]> |
8963 | ||
8964 | Fix frame off-by-one bug. | |
8965 | * frame-unwind.h (frame_this_id_ftype): Replace | |
8966 | frame_unwind_id_ftype. | |
8967 | (frame_prev_register_ftype): Replace frame_unwind_reg_ftype. | |
8968 | (struct frame_unwind): Replace "id" with "this_id". Replace "reg" | |
8969 | with "prev_register". | |
8970 | * frame-unwind.c (frame_unwind_find_by_pc): Return | |
8971 | legacy_saved_regs_unwind instead of trad_frame_unwind. Update | |
8972 | comment. | |
8973 | * dummy-frame.c (cached_find_dummy_frame): Delete function. | |
8974 | (dummy_frame_this_id): Replace dummy_frame_id_unwind. | |
8975 | (dummy_frame_prev_register): Replace dummy_frame_register_unwind. | |
8976 | (dummy_frame_unwind): Update. | |
8977 | * sentinel-frame.c (sentinel_frame_prev_register): Replace | |
8978 | sentinel_frame_register_unwind. | |
8979 | (sentinel_frame_this_id): Replace sentinel_frame_id_unwind. | |
8980 | (sentinel_frame_unwinder): Update. | |
8981 | * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
8982 | (struct frame_info): Rename "unwind_cache" to "prologue_cache". | |
8983 | * frame.c (create_sentinel_frame): Update. Initialize | |
8984 | "prologue_cache" instead of "unwind_cache". | |
8985 | (frame_register_unwind): Call this frame's prev_register with the | |
8986 | next frame and this frame's prologue cache. | |
8987 | (get_prev_frame): Simplify. Always call prev frame's this_id with | |
8988 | this frame and prev frame's prologue cache. Document that this | |
8989 | call is shifted one to the left when compared to the | |
8990 | frame_register_unwind call. | |
8991 | (legacy_saved_regs_prev_register): Replace | |
8992 | frame_saved_regs_register_unwind. | |
8993 | (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind. | |
8994 | (legacy_saved_regs_unwinder): Replace trad_frame_unwinder. | |
8995 | (legacy_saved_regs_unwind): Replace trad_frame_unwind. | |
8996 | * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind. | |
8997 | (d10v_frame_unwind): Update. | |
8998 | (d10v_frame_prev_register): Replace d10v_frame_register_unwind. | |
8999 | (d10v_frame_unwind_cache): Replace this "fi" with "next_frame". | |
9000 | (saved_regs_unwinder): Replace this "frame" with "next_frame", and | |
9001 | "saved_regs" with "this_saved_regs". | |
9002 | ||
efd710d6 AC |
9003 | 2003-03-16 Andrew Cagney <[email protected]> |
9004 | ||
9005 | * frame.c (frame_pop): Don't call target_store_registers. Fix | |
9006 | problem reported by Mark Kettenis. | |
9007 | ||
4e259f09 MK |
9008 | 2003-03-16 Mark Kettenis <[email protected]> |
9009 | ||
9010 | * i386-tdep.c (i386_register_type): Renamed from | |
9011 | i386_register_virtual_type. Adjust function signature. | |
9012 | (i386_gdbarch_init): Set register_type instead of | |
9013 | deprecated_max_register_raw_size, | |
9014 | deprecated_max_register_virtual_size and register_virtual_type. | |
9015 | ||
055bb976 AC |
9016 | 2003-03-14 Andrew Cagney <[email protected]> |
9017 | ||
9018 | * frame.c (get_prev_frame): When a legacy frame, always call | |
9019 | legacy_get_prev_frame. Simplify unwind code using assumption that | |
9020 | the unwinder is new. | |
9021 | (legacy_get_prev_frame): Handle legacy sentinel frame unwind here. | |
9022 | (legacy_frame_p): When no gdbarch_unwind_dummy_id, or | |
9023 | SAVED_DUMMY_FRAME_TOS, assume a legacy frame. | |
9024 | ||
ac2adee5 AC |
9025 | 2003-03-14 Andrew Cagney <[email protected]> |
9026 | ||
9027 | * frame.c (get_saved_register): Delete function. | |
9028 | * frame.h (get_saved_register): Delete declaration. | |
9029 | * xstormy16-tdep.c: Update comment. | |
9030 | * regcache.h: Update comments. | |
9031 | * sparc-tdep.c (sparc_init_extra_frame_info): Instead of | |
9032 | get_saved_register and extract_address, use | |
9033 | frame_read_unsigned_register. | |
9034 | (sparc_frame_saved_pc): Ditto. | |
9035 | (sparc_get_saved_register): Instead of get_saved_register, use | |
9036 | frame_register. | |
9037 | (sparc_pop_frame): Ditto. | |
9038 | * findvar.c: Update comments. | |
9039 | (value_of_register): Call frame_register instead of | |
9040 | get_saved_register. | |
9041 | (value_from_register): Ditto. | |
9042 | * config/sparc/tm-sparc.h: Update comment. | |
9043 | * breakpoint.c: Update comment. | |
9044 | ||
129c1cd6 AC |
9045 | 2003-03-14 Andrew Cagney <[email protected]> |
9046 | ||
9047 | * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace | |
9048 | GET_SAVED_REGISTER. | |
9049 | * gdbarch.h, gdbarch.c: Re-generate. | |
9050 | * frame.h: Update comments. | |
9051 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9052 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9053 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9054 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9055 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9056 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9057 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9058 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9059 | * frame.c (frame_register): Update. | |
9060 | (get_saved_register): Update. | |
9061 | * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update. | |
8ffd9b1b | 9062 | |
749b82f6 AC |
9063 | 2003-03-13 Andrew Cagney <[email protected]> |
9064 | ||
9065 | * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME. | |
9066 | * gdbarch.h, gdbarch.c: Regenerate. | |
9067 | * valops.c (hand_function_call): Update comment. | |
9068 | * stack.c (return_command): Update comment. | |
9069 | * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update. | |
9070 | * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update. | |
9071 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9072 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9073 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9074 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9075 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9076 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9077 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9078 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9079 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9080 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9081 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9082 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9083 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9084 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9085 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9086 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9087 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9088 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9089 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9090 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9091 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9092 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9093 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9094 | ||
1594fa56 AC |
9095 | 2003-03-13 Andrew Cagney <[email protected]> |
9096 | ||
9097 | * frame.c (legacy_frame_p): New function. | |
9098 | (get_prev_frame): Use legacy_frame_p. | |
9099 | * frame.h (legacy_frame_p): Declare. | |
9100 | ||
7717fda3 V |
9101 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
9102 | ||
fbe586ae | 9103 | * MAINTAINERS (write after approval): Alphabetically |
7717fda3 V |
9104 | listing corrected. |
9105 | ||
0c67cbe9 V |
9106 | 2003-03-13 D. Venkatasubramanian <[email protected]> |
9107 | ||
fbe586ae | 9108 | * MAINTAINERS (write after approval): Add myself. |
0c67cbe9 | 9109 | |
03febf99 AC |
9110 | 2003-03-12 Andrew Cagney <[email protected]> |
9111 | ||
9112 | * frame.c (get_prev_frame): Rename the frame parameter to | |
9113 | "this_frame". | |
9114 | (get_next_frame, legacy_get_prev_frame): Ditto. | |
9115 | ||
0a1e1ca1 AC |
9116 | 2003-03-12 Andrew Cagney <[email protected]> |
9117 | ||
9118 | * frame.c (get_current_frame): Check target_has_registers before | |
9119 | checking target_has_stack. | |
9120 | * eval.c (evaluate_subexp_standard): Use get_selected_frame, | |
9121 | instead of deprecated_selected_frame. | |
9122 | * findvar.c (value_of_register): Pass "frame", not | |
9123 | deprecated_selected_frame, to value_of_builtin_reg. | |
9124 | ||
a66a9c23 AC |
9125 | 2003-03-12 Andrew Cagney <[email protected]> |
9126 | ||
9127 | * regcache.c (regcache_cooked_write_signed): New function. | |
9128 | (regcache_cooked_write_unsigned): New function. | |
9129 | (regcache_cooked_read_unsigned): Fix regnum in range assertion. | |
9130 | (regcache_cooked_read_signed): Fix regnum in range assertion. | |
9131 | * regcache.h (regcache_cooked_write_signed): Declare. | |
9132 | (regcache_cooked_write_unsigned): Declare. | |
9133 | ||
8bedc050 AC |
9134 | 2003-03-12 Andrew Cagney <[email protected]> |
9135 | ||
9136 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
9137 | * gdbarch.h, gdbarch.c: Re-generate. | |
9138 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9139 | * x86-64-tdep.h: Update. | |
9140 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9141 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9142 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9143 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9144 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9145 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9146 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
9147 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9148 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9149 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9150 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9151 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9152 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9153 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9154 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9155 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
9156 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9157 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9158 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9159 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9160 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9161 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9162 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9163 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
9164 | (sh64_init_extra_frame_info): Update. | |
9165 | * ns32knbsd-nat.c (frame_num_args): Update. | |
9166 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
9167 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
9168 | (xstormy16_frame_chain_valid): Update. | |
9169 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
9170 | * v850-tdep.c (v850_frame_chain): Update. | |
9171 | (v850_pop_frame): Update. | |
9172 | (v850_init_extra_frame_info): Update. | |
9173 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
9174 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
9175 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
9176 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
9177 | (mn10300_pop_frame_regular): Update. | |
9178 | (mn10300_init_extra_frame_info): Update. | |
9179 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
9180 | (mips_frame_chain): Update. | |
9181 | (mips_pop_frame): Update. | |
9182 | * mcore-tdep.c (mcore_frame_chain): Update. | |
9183 | (mcore_pop_frame): Update. | |
9184 | (mcore_init_extra_frame_info): Update. | |
9185 | * arch-utils.c (init_frame_pc_default): Update. | |
9186 | * m68k-tdep.c (isi_frame_num_args): Update. | |
9187 | (delta68_frame_num_args): Update. | |
9188 | (news_frame_num_args): Update. | |
9189 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
9190 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
9191 | (alpha_frame_chain): Update. | |
9192 | (alpha_pop_frame): Update. | |
9193 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
9194 | (hppa_init_extra_frame_info): Update. | |
9195 | (hppa_frame_chain): Update. | |
9196 | (hppa_frame_chain_valid): Update. | |
9197 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
9198 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
9199 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
9200 | (arm_init_extra_frame_info): Update. | |
9201 | (arm_pop_frame): Update. | |
9202 | * frame.c (frame_pc_unwind): Update. | |
9203 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9204 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
9205 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
9206 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9207 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9208 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 9209 | |
7a25a7c1 AC |
9210 | 2003-03-12 Andrew Cagney <[email protected]> |
9211 | ||
9212 | Eliminate the need for POP_FRAME. | |
9213 | * frame.c (do_frame_unwind_register): New function. | |
9214 | (frame_pop): When no POP_FRAME, pop the frame using register | |
9215 | unwind and a scratch regcache. | |
9216 | (frame_saved_regs_pop): Delete function. | |
9217 | (trad_frame_unwinder): Update. | |
9218 | * d10v-tdep.c (d10v_frame_pop): Delete function. | |
9219 | (d10v_frame_unwind): Update. | |
9220 | * sentinel-frame.c (sentinel_frame_pop): Delete function. | |
9221 | (sentinel_frame_unwinder): Update. | |
9222 | * dummy-frame.c (dummy_frame_pop): Delete function. | |
9223 | (dummy_frame_unwind): Update. | |
9224 | * frame-unwind.h (frame_unwind_pop_ftype): Delete definition. | |
9225 | (struct frame_unwind): Update. | |
9226 | ||
2f38ef89 KB |
9227 | 2003-03-11 Kevin Buettner <[email protected]> |
9228 | ||
9229 | * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to | |
9230 | mips_dwarf_dwarf2_ecoff_reg_to_regnum(). | |
9231 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum): | |
9232 | Do range checks on register number obtained from debugging info. | |
9233 | (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and | |
9234 | set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of | |
9235 | set_gdbarch_ecoff_reg_to_regnum() to account for new name of | |
9236 | mapping function. | |
9237 | (do_fp_register_row): Fix typo which caused double type to be | |
9238 | used when attempting to unpack a float. | |
9239 | ||
552f4abf JB |
9240 | 2003-03-11 J. Brobecker <[email protected]> |
9241 | ||
9242 | * breakpoint.c (bpstat_stop_status): Fix a small memory leak. | |
9243 | ||
e0d2ae16 AC |
9244 | 2003-03-11 Andrew Cagney <[email protected]> |
9245 | ||
9246 | * frame.c (deprecated_update_frame_pc_hack): Don't assume a next | |
9247 | frame. Problem found by Corinna Vinschen. | |
9248 | ||
ddbfdd06 PM |
9249 | 2003-03-11 Pierre Muller <[email protected]> |
9250 | ||
9251 | * doublest.c (floatformat_from_length): Accept also | |
9252 | the real size of 'long double' type. | |
9253 | ||
088b2ddc | 9254 | 2003-03-10 Daniel Jacobowitz <[email protected]> |
31cc81e9 | 9255 | |
088b2ddc | 9256 | From Klee Dienes <[email protected]>: |
31cc81e9 DJ |
9257 | * breakpoint.c (bpstat_copy): Copy the command lines as well |
9258 | as the old value, to match what is freed in bpstat_clear. | |
9259 | ||
f56f77c1 DC |
9260 | 2003-03-10 David Carlton <[email protected]> |
9261 | ||
9262 | * minsyms.c (add_minsym_to_hash_table): Replace | |
9263 | DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME. | |
9264 | (compare_minimal_symbols, compact_minimal_symbols) | |
9265 | (install_minimal_symbols, find_solib_trampoline_target): Ditto. | |
9266 | (lookup_minimal_symbol_text): Use strcmp on linkage names instead | |
9267 | of DEPRECATED_SYMBOL_MATCHES_NAME. | |
9268 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
9269 | ||
5602984a AC |
9270 | 2003-03-10 Andrew Cagney <[email protected]> |
9271 | ||
9272 | * regcache.h (regcache_cooked_read_ftype): Define. | |
9273 | (regcache_save, regcache_restore): Add a cooked_read parameter. | |
9274 | * regcache.c (regcache_save, regcache_restore): Update. | |
9275 | (do_cooked_read): New function. | |
9276 | (regcache_cpy): Pass do_cooked_read to regcache_save and | |
9277 | regcache_restore. | |
9278 | ||
8bedc050 AC |
9279 | 2003-03-10 Andrew Cagney <[email protected]> |
9280 | ||
9281 | * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC. | |
9282 | * gdbarch.h, gdbarch.c: Re-generate. | |
9283 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9284 | * x86-64-tdep.h: Update. | |
9285 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9286 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9287 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9288 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9289 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9290 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9291 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
9292 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9293 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9294 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9295 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9296 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9297 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9298 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9299 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9300 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
9301 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9302 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9303 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9304 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9305 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9306 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9307 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9308 | * sh-tdep.c (sh_init_extra_frame_info): Update. | |
9309 | (sh64_init_extra_frame_info): Update. | |
9310 | * ns32knbsd-nat.c (frame_num_args): Update. | |
9311 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update. | |
9312 | * xstormy16-tdep.c (xstormy16_pop_frame): Update. | |
9313 | (xstormy16_frame_chain_valid): Update. | |
9314 | * vax-tdep.c (vax_saved_pc_after_call): Update. | |
9315 | * v850-tdep.c (v850_frame_chain): Update. | |
9316 | (v850_pop_frame): Update. | |
9317 | (v850_init_extra_frame_info): Update. | |
9318 | * sparc-tdep.c (setup_arbitrary_frame): Update. | |
9319 | * ns32k-tdep.c (umax_frame_num_args): Update. | |
9320 | * s390-tdep.c (s390_pop_frame_regular): Update. | |
9321 | * mn10300-tdep.c (mn10300_frame_chain): Update. | |
9322 | (mn10300_pop_frame_regular): Update. | |
9323 | (mn10300_init_extra_frame_info): Update. | |
9324 | * mips-tdep.c (mips_init_frame_pc_first): Update. | |
9325 | (mips_frame_chain): Update. | |
9326 | (mips_pop_frame): Update. | |
9327 | * mcore-tdep.c (mcore_frame_chain): Update. | |
9328 | (mcore_pop_frame): Update. | |
9329 | (mcore_init_extra_frame_info): Update. | |
9330 | * arch-utils.c (init_frame_pc_default): Update. | |
9331 | * m68k-tdep.c (isi_frame_num_args): Update. | |
9332 | (delta68_frame_num_args): Update. | |
9333 | (news_frame_num_args): Update. | |
9334 | * ia64-tdep.c (ia64_pop_frame_regular): Update. | |
9335 | * alpha-tdep.c (alpha_init_frame_pc_first): Update. | |
9336 | (alpha_frame_chain): Update. | |
9337 | (alpha_pop_frame): Update. | |
9338 | * hppa-tdep.c (hppa_saved_pc_after_call): Update. | |
9339 | (hppa_init_extra_frame_info): Update. | |
9340 | (hppa_frame_chain): Update. | |
9341 | (hppa_frame_chain_valid): Update. | |
9342 | * cris-tdep.c (cris_init_extra_frame_info): Update. | |
9343 | * avr-tdep.c (avr_init_extra_frame_info): Update. | |
9344 | * arm-tdep.c (arm_frame_chain_valid): Update. | |
9345 | (arm_init_extra_frame_info): Update. | |
9346 | (arm_pop_frame): Update. | |
9347 | * frame.c (frame_pc_unwind): Update. | |
9348 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9349 | (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
9350 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. | |
9351 | * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9352 | * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
9353 | * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update. | |
8ffd9b1b | 9354 | |
12cc2063 AC |
9355 | 2003-03-10 Andrew Cagney <[email protected]> |
9356 | ||
9357 | * gdbarch.sh (gdbarch_unwind_pc): New method. | |
9358 | * gdbarch.h, gdbarch.c: Regenerate. | |
9359 | * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc, | |
9360 | but use read_pc and FRAME_SAVED_PC as fall backs. | |
9361 | (frame_saved_regs_pc_unwind): Delete function. | |
9362 | (trad_frame_unwinder): Update. | |
9363 | * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration. | |
9364 | (struct frame_unwind): Update. | |
9365 | * dummy-frame.c (dummy_frame_pc_unwind): Delete function. | |
9366 | (dummy_frame_unwind): Update. | |
9367 | * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function. | |
9368 | (sentinel_frame_unwinder): Update. | |
9369 | * d10v-tdep.c (d10v_frame_pc_unwind): Delete function. | |
9370 | (d10v_frame_unwind): Update. | |
9371 | (d10v_unwind_pc): New function. | |
9372 | (d10v_gdbarch_init): Set unwind_pc. | |
9373 | ||
ef840a37 AC |
9374 | 2003-03-10 Andrew Cagney <[email protected]> |
9375 | ||
a2ce2e56 AC |
9376 | * gdbarch.h: Re-generate. |
9377 | ||
ef840a37 AC |
9378 | * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the |
9379 | PC. | |
9380 | (d10v_frame_pop): Unwind the PC, and not the LR, when restoring | |
9381 | the PC register. | |
9382 | ||
08f3424b MK |
9383 | 2003-03-08 Mark Kettenis <[email protected]> |
9384 | ||
9385 | * gdbarch.sh (save_dummy_frame_tos): Add comment. | |
9386 | ||
1248ede2 AC |
9387 | 2003-03-08 Andrew Cagney <[email protected]> |
9388 | ||
9389 | * cli-out.c: Update copyright. | |
9390 | (cli_out_data): Define typedef. Use instead of ui_out_data. | |
9391 | ||
f49bacc8 AC |
9392 | 2003-03-08 Andrew Cagney <[email protected]> |
9393 | ||
9394 | * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to | |
9395 | the result. | |
9396 | ||
9b05f993 AC |
9397 | 2003-03-07 Andrew Cagney <[email protected]> |
9398 | ||
9399 | * gdbarch.sh: Don't generate two macro definitions when an | |
9400 | undefined macro taking no arguments. | |
9401 | * gdbarch.h: Regenerate. | |
8ffd9b1b | 9402 | |
166f4c7b ML |
9403 | 2002-03-07 Michal Ludvig <[email protected]> |
9404 | ||
9405 | * x86-64-tdep.c (x86_64_save_dummy_frame_tos) | |
9406 | (x86_64_unwind_dummy_id): New functions. | |
9407 | (x86_64_init_abi): Register these two new functions. | |
9408 | ||
6d686a84 ML |
9409 | 2003-03-07 Michal Ludvig <[email protected]> |
9410 | ||
9411 | * x86-64-tdep.c (x86_64_function_has_prologue): New function. | |
8ffd9b1b | 9412 | (x86_64_skip_prologue): Move prologue detection to |
6d686a84 ML |
9413 | separate function. |
9414 | * x86-64-tdep.h (x86_64_function_has_prologue): New prototype. | |
9415 | ||
6314f104 AC |
9416 | 2003-03-05 Andrew Cagney <[email protected]> |
9417 | ||
9418 | * d10v-tdep.c (d10v_unwind_dummy_id): New function. | |
9419 | (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos. | |
9420 | * frame.c (get_prev_frame): Restructure the frame ID unwind code | |
9421 | to use unwind_dummy_id when a dummy frame. | |
9422 | * gdbarch.sh (unwind_dummy_id): New multi-arch method with | |
9423 | predicate. | |
9424 | * gdbarch.h, gdbarch.c: Regneerate. | |
8ffd9b1b | 9425 | |
ceea5145 AC |
9426 | 2003-03-05 Andrew Cagney <[email protected]> |
9427 | ||
9428 | * d10v-tdep.c (struct d10v_unwind_cache): Add field "base". | |
9429 | (d10v_frame_unwind_cache): Rewrite code computing the base and SP. | |
9430 | Do not use d10v_read_sp or d10v_read_fp when obtaining register | |
9431 | values. | |
9432 | ||
0d843116 AC |
9433 | 2003-03-05 Andrew Cagney <[email protected]> |
9434 | ||
9435 | * d10v-tdep.c (struct frame_extra_info): Delete unused structure. | |
9436 | (struct d10v_unwind_cache): Delete field "frameless". Replace | |
9437 | "next_addr" with "sp_offset". Add "r11_offset". | |
9438 | (d10v_frame_unwind_cache): Update. | |
9439 | (prologue_find_regs): Update. When "mv r11, sp", save the | |
9440 | "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that | |
9441 | RN was saved in r11_offset. | |
9442 | ||
b2579786 AC |
9443 | 2003-03-05 Andrew Cagney <[email protected]> |
9444 | ||
9445 | * frame.c (deprecated_update_frame_pc_hack): Also update the the | |
9446 | cached PC value in the next frame. | |
9447 | ||
218e5956 AC |
9448 | 2003-03-05 Andrew Cagney <[email protected]> |
9449 | ||
9450 | * frame.h (struct frame_info): Replace "id_unwind_cache_p" and | |
9451 | "id_unwind_cache" with "id". | |
9452 | (frame_id_unwind): Delete declaration. | |
9453 | * frame.c (frame_id_unwind): Delete function. | |
9454 | (get_prev_frame): Call the frame id unwind method directly. Store | |
9455 | the returned next frame's ID value in NEXT_FRAME. Note that there | |
9456 | is a problem with the wrong unwind ID being called with the wrong | |
9457 | unwind cache. | |
9458 | ||
ed363b1b DJ |
9459 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
9460 | ||
9461 | * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS. | |
9462 | ||
fe1f4a5e DJ |
9463 | 2003-03-05 James Ingham <[email protected]> |
9464 | Daniel Jacobowitz <[email protected]> | |
9465 | ||
9466 | * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h". | |
9467 | (auto_cp_abi): New variable. | |
9468 | (current_cp_abi, num_cp_abis): Make static. | |
9469 | (CP_ABI_MAX): Define. | |
9470 | (cp_abis): Turn into an array. | |
9471 | (value_virtual_fn_field): Fix formatting. | |
9472 | (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now | |
9473 | takes a pointer. | |
9474 | (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd) | |
9475 | (list_cp_abis, _initialize_cp_abi): New functions. | |
9476 | * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove | |
9477 | declarations for cp_abis, num_cp_abis, current_cp_abi, and | |
9478 | switch_to_cp_abi. Update prototype for register_cp_abi. | |
9479 | * Makefile.in (cp-abi.o): Update dependencies. | |
9480 | * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default | |
9481 | instead of switch_to_cp_abi. | |
9482 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to | |
9483 | register_cp_abi. | |
9484 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to | |
9485 | register_cp_abi. | |
9486 | * hpacc-abi.c (_initialize_hpacc_abi): Likewise. | |
9487 | ||
e4adbba9 DJ |
9488 | 2003-03-05 Daniel Jacobowitz <[email protected]> |
9489 | ||
9490 | * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition. | |
9491 | * dwarf2loc.c: Include "regcache.h". | |
9492 | (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use | |
9493 | register_size. | |
9494 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
9495 | ||
91ccbfc1 TR |
9496 | 2003-03-04 Theodore A. Roth <[email protected]> |
9497 | ||
9498 | * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the | |
9499 | number of io registers reported by remote target is not a multiple of | |
9500 | step. | |
9501 | ||
3d4e8fd2 DC |
9502 | 2003-03-04 David Carlton <[email protected]> |
9503 | ||
9504 | * symtab.c (lookup_partial_symbol): Add linkage_name argument. | |
9505 | (lookup_symbol_aux_psymtabs): Update call to | |
9506 | lookup_partial_symbol. | |
9507 | (lookup_transparent_type, find_main_psymtab) | |
9508 | (make_symbol_overload_list): Ditto. | |
9509 | ||
ed42d87b KH |
9510 | 2003-03-04 Kazu Hirata <[email protected]> |
9511 | ||
9512 | * MAINTAINERS (Write after approval): Update my email address. | |
9513 | ||
a0ed5532 AC |
9514 | 2003-03-03 Andrew Cagney <[email protected]> |
9515 | ||
9516 | Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional. | |
9517 | * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with | |
9518 | predicate. Replace MAX_REGISTER_RAW_SIZE. | |
9519 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for | |
9520 | MAX_REGISTER_VIRTUAL_SIZE. | |
9521 | * regcache.c (legacy_max_register_raw_size): New function. | |
9522 | (legacy_max_register_virtual_size): New function. | |
9523 | * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define. | |
9524 | (MAX_REGISTER_RAW_SIZE): Define. | |
9525 | (legacy_max_register_raw_size): Declare. | |
9526 | (legacy_max_register_virtual_size): Declare. | |
9527 | * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
9528 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update. | |
9529 | * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
9530 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
9531 | * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE) | |
9532 | (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto. | |
9533 | * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
9534 | * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
9535 | * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto. | |
9536 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9537 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9538 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9539 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9540 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9541 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9542 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9543 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9544 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9545 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9546 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9547 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9548 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9549 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9550 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9551 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9552 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
9553 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9554 | * cris-tdep.c (cris_gdbarch_init): Update. | |
9555 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9556 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9557 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9558 | * d10v-tdep.c (d10v_gdbarch_init): Do not set | |
9559 | max_register_raw_size or max_register_virtual_size. | |
9560 | ||
8e437497 DC |
9561 | 2003-03-03 David Carlton <[email protected]> |
9562 | ||
9563 | * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from | |
9564 | SYMBOL_MATCHES_NAME, add comment. | |
9565 | (SYMBOL_MATCHES_NATURAL_NAME): New. | |
9566 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace | |
9567 | SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME. | |
9568 | (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto. | |
9569 | * symtab.c (lookup_partial_symbol): Use | |
9570 | SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete | |
9571 | unhelpful comment. | |
9572 | (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not | |
9573 | SYMBOL_MATCHES_NAME. | |
9574 | Fix for PR c++/33. | |
9575 | ||
25120b0d DC |
9576 | 2003-03-03 David Carlton <[email protected]> |
9577 | ||
9578 | * symtab.h (SYMBOL_MATCHES_REGEXP): Delete. | |
9579 | * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP | |
9580 | by regexp matching against SYMBOL_NATURAL_NAME. | |
9581 | ||
78a11fb4 DC |
9582 | 2003-03-03 David Carlton <[email protected]> |
9583 | ||
9584 | * linespec.c (find_method): Extract code into collect_methods. | |
9585 | (collect_methods): New. | |
9586 | ||
645dd519 MK |
9587 | 2003-03-02 Mark Kettenis <[email protected]> |
9588 | ||
b4700d91 MK |
9589 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and |
9590 | get_frame_base. | |
9591 | ||
645dd519 MK |
9592 | * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of |
9593 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
9594 | ||
0aa7e1aa SC |
9595 | 2003-03-02 Stephane Carrez <[email protected]> |
9596 | ||
8ffd9b1b | 9597 | * arch-utils.c (generic_register_byte): Fix to use the loop index |
0aa7e1aa SC |
9598 | and not regnum when summing the size of all registers up to regnum. |
9599 | ||
f30ee0bc AC |
9600 | 2003-03-01 Andrew Cagney <[email protected]> |
9601 | ||
9602 | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename | |
9603 | FRAME_INIT_SAVED_REGS. | |
9604 | * gdbarch.h, gdbarch.c: Regenerate. | |
9605 | * stack.c (frame_info): Update. | |
9606 | * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. | |
9607 | (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. | |
9608 | (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. | |
9609 | * ns32k-tdep.c (ns32k_pop_frame): Update. | |
9610 | * mips-tdep.c (mips_pop_frame): Update. | |
9611 | * m68hc11-tdep.c (m68hc11_pop_frame): Update. | |
9612 | * ia64-tdep.c (ia64_frame_chain): Update. | |
9613 | (ia64_frame_saved_pc, ia64_get_saved_register): Update. | |
9614 | (ia64_frameless_function_invocation): Update. | |
9615 | (ia64_init_extra_frame_info): Update. | |
9616 | (ia64_pop_frame_regular): Update. | |
9617 | * frame.h (struct frame_info): Update comment. | |
9618 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. | |
9619 | * frame.c (frame_saved_regs_register_unwind): Update. | |
9620 | (frame_saved_regs_register_unwind): Update. | |
9621 | (deprecated_generic_get_saved_register): Update. | |
9622 | * cris-tdep.c: Update comment. | |
9623 | * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): | |
9624 | Rename macro. | |
9625 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
9626 | * x86-64-tdep.c (x86_64_init_abi): Update. | |
9627 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9628 | * v850-tdep.c (v850_gdbarch_init): Update. | |
9629 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9630 | * sh-tdep.c (sh_gdbarch_init): Update. | |
9631 | * s390-tdep.c (s390_gdbarch_init): Update. | |
9632 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
9633 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
9634 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9635 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
9636 | * mips-tdep.c (mips_gdbarch_init): Update. | |
9637 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
9638 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9639 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
9640 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
9641 | * i386-tdep.c (i386_gdbarch_init): Update. | |
9642 | * frv-tdep.c (frv_gdbarch_init): Update. | |
9643 | * avr-tdep.c (avr_gdbarch_init): Update. | |
9644 | * arm-tdep.c (arm_gdbarch_init): Update. | |
9645 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
8ffd9b1b | 9646 | |
42fa7c0f AC |
9647 | 2003-03-01 Andrew Cagney <[email protected]> |
9648 | ||
9649 | * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to | |
9650 | option enum and switch. When no windows, set the interpreter to | |
9651 | INTERP_CONSOLE. | |
8ffd9b1b | 9652 | |
49c7e338 AC |
9653 | 2003-03-01 Andrew Cagney <[email protected]> |
9654 | ||
9655 | * main.c (captured_main): Replace magic option characters with an | |
9656 | enum. | |
9657 | ||
e9582e71 AC |
9658 | 2003-03-01 Andrew Cagney <[email protected]> |
9659 | ||
9660 | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename | |
9661 | INIT_EXTRA_FRAME_INFO. | |
9662 | * gdbarch.h, gdbarch.c: Regenerate. | |
9663 | * arm-tdep.c: Update comments. | |
9664 | * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. | |
9665 | * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. | |
9666 | * frame.h, avr-tdep.c: Ditto. | |
9667 | * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. | |
9668 | (create_new_frame, legacy_get_prev_frame): Ditto. | |
9669 | * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
9670 | * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. | |
9671 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize | |
9672 | deprecated_init_extra_frame_info instead of init_extra_frame_info. | |
9673 | * x86-64-tdep.c (x86_64_init_abi): Ditto. | |
9674 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9675 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
9676 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9677 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9678 | * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. | |
9679 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9680 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9681 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9682 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9683 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9684 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
9685 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
9686 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9687 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9688 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9689 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9690 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
9691 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
9692 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9693 | ||
35cac7cf AC |
9694 | 2003-03-01 Andrew Cagney <[email protected]> |
9695 | ||
9696 | * gdbarch.sh (register_type): New function with predicate. | |
9697 | (REGISTER_VIRTUAL_TYPE): Change to function with predicate. | |
9698 | * gdbarch.h, gdbarch.c: Re-generate. | |
9699 | * arch-utils.c (generic_register_byte): Use generic_register_size. | |
9700 | (generic_register_size): When available, use | |
9701 | gdbarch_register_type. | |
9702 | * regcache.c (init_regcache_descr): When available, initialize the | |
9703 | register type array using gdbarch_register_type. If the | |
9704 | architecture supplies gdbarch_register_type, do not use the legacy | |
9705 | regcache layout. | |
9706 | * d10v-tdep.c (d10v_register_type): Replace | |
9707 | d10v_register_virtual_type. | |
9708 | (d10v_gdbarch_init): Set register_type instead of | |
9709 | register_virtual_type. | |
9710 | ||
7b83296f AC |
9711 | 2003-03-01 Andrew Cagney <[email protected]> |
9712 | ||
9713 | * Makefile.in (ax-gdb.o): Update dependencies. | |
9714 | * ax-gdb.c: Include "regcache.h". | |
9715 | (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE. | |
9716 | * findvar.c (value_of_register): Ditto. | |
9717 | * infcmd.c (default_print_registers_info): Ditto. | |
9718 | ||
eadc1c87 MK |
9719 | 2003-03-01 Mark Kettenis <[email protected]> |
9720 | ||
9721 | * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of | |
9722 | DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME. | |
9723 | ||
14143612 MK |
9724 | 2003-03-01 Mark Kettenis <[email protected]> |
9725 | ||
9726 | * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead | |
9727 | of STREQ. | |
9728 | ||
a55cc764 DJ |
9729 | 2003-02-28 Daniel Jacobowitz <[email protected]> |
9730 | ||
9731 | * Makefile.in (dwarf2loc.o): Update dependencies. | |
9732 | * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. | |
9733 | * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. | |
9734 | * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. | |
9735 | * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". | |
9736 | (locexpr_tracepoint_var_ref): New function. | |
9737 | (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref. | |
9738 | ||
08a617da AC |
9739 | 2003-02-28 Andrew Cagney <[email protected]> |
9740 | ||
9741 | * regcache.c (register_size): New function. | |
9742 | * regcache.h (register_size): Declare | |
9743 | * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use | |
9744 | max_register_size instead of MAX_REGISTER_RAW_SIZE. | |
9745 | ||
4224873a DC |
9746 | 2003-02-28 David Carlton <[email protected]> |
9747 | ||
9748 | * linespec.c (decode_compound): Extract code into find_method. | |
9749 | (find_method): New. | |
9750 | ||
ccdc5d7f JB |
9751 | 2003-02-28 J. Brobecker <[email protected]> |
9752 | ||
9753 | * Makefile.in: Add rules to build and link in observer.o. | |
9754 | ||
974e8ced JB |
9755 | 2003-02-27 J. Brobecker <[email protected]> |
9756 | ||
9757 | * observer.c: Minor comments edits. | |
9758 | ||
7a28f973 JB |
9759 | 2003-02-27 J. Brobecker <[email protected]> |
9760 | ||
9761 | * observer.h, observer.c: New file. | |
9762 | ||
27cddce2 AC |
9763 | 2003-02-27 Andrew Cagney <[email protected]> |
9764 | ||
9765 | * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd. | |
9766 | ||
b94a41a1 SC |
9767 | 2003-02-27 Stephane Carrez <[email protected]> |
9768 | ||
9769 | * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines. | |
9770 | (M6812_OP_STS_EXT): Likewise. | |
9771 | (m6811_prologue): Use the above to recognize prologue. | |
9772 | (m6812_prologue): Likewise. | |
9773 | ||
c8be8951 DC |
9774 | 2003-02-27 David Carlton <[email protected]> |
9775 | ||
9776 | * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not | |
9777 | SYMBOL_PRINT_NAME. | |
9778 | (compare_psymbols): Ditto. | |
9779 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
9780 | ||
d05bb1fc MS |
9781 | 2003-02-27 Michael Snyder <[email protected]> |
9782 | ||
4e845cd3 MS |
9783 | * f-lang.c (build_fortran_types): New function. |
9784 | (_initialize_f_language): Gdbarch-register built-in fortran types. | |
d05bb1fc MS |
9785 | * doublest.c (extract_floating): Fix warning text. |
9786 | ||
f3824013 AC |
9787 | 2003-02-27 Andrew Cagney <[email protected]> |
9788 | ||
9789 | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with | |
9790 | predicate. Replaces PUSH_DUMMY_FRAME. | |
9791 | * gdbarch.h, gdbarch.c: Regnerate. | |
9792 | * valops.c (hand_function_call): Update. Call | |
9793 | generic_push_dummy_frame directly. | |
9794 | * vax-tdep.c (vax_gdbarch_init): Update. | |
9795 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
9796 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
9797 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
9798 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
9799 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
9800 | * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
9801 | * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. | |
9802 | * inferior.h (PUSH_DUMMY_FRAME): Delete definition. | |
9803 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set | |
9804 | push_dummy_frame to generic_push_dummy_frame. | |
9805 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
9806 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
9807 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
9808 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
9809 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
9810 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
9811 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
9812 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
9813 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
9814 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
9815 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
9816 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
9817 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
9818 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
9819 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
9820 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
8ffd9b1b | 9821 | |
ad188201 KB |
9822 | 2003-02-26 Kevin Buettner <[email protected]> |
9823 | ||
9824 | * mips-tdep.c (show_mips_abi): New function. | |
9825 | (_initialize_mips_tdep): Use show_mips_abi() to implement the | |
9826 | command ``show mips abi''. | |
9827 | ||
6b37567a | 9828 | 2003-02-26 Jeff Johnston <[email protected]> |
8ffd9b1b | 9829 | |
6b37567a | 9830 | From Elena Zannoni <[email protected]> |
8ffd9b1b | 9831 | * dbxread.c (process_one_symbol): Only record line 0 if one or |
6b37567a JJ |
9832 | more sline entries have been seen for the function. |
9833 | ||
d3e0a5bf MC |
9834 | 2003-02-26 Michael Chastain <[email protected]> |
9835 | ||
9836 | * configure: Regenerate with autoconf 000227. | |
9837 | ||
18972eea MC |
9838 | 2003-02-26 Michael Chastain <[email protected]> |
9839 | ||
9840 | Close PR build/660. | |
9841 | * PROBLEMS (i[3456]86-*-linux*): Note explicit error message | |
9842 | for old libc5/glibc. | |
9843 | * gdb_thread_db.h: Die if not HAVE_UINTPTR_T. | |
9844 | ||
0bbde931 KW |
9845 | 2003-02-26 Kris Warkentin <[email protected]> |
9846 | ||
9847 | * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO. | |
9848 | * osabi.c (gdb_osabi_names): Add "QNX Neutrino". | |
9849 | ||
27ca5dad MC |
9850 | 2003-02-26 Michael Chastain <[email protected]> |
9851 | ||
9852 | * configure.in: New variable HAVE_UINTPTR_T. | |
9853 | * configure, config.in: Regenerated. | |
9854 | ||
6f88d630 DJ |
9855 | 2003-02-26 Daniel Jacobowitz <[email protected]> |
9856 | ||
9857 | Fix PR build/1097. | |
9858 | * utils.c (gdb_realpath): Move closing brace outwards one #endif. | |
9859 | ||
b14185ce AC |
9860 | 2003-02-25 Andrew Cagney <[email protected]> |
9861 | ||
9862 | * frame.c (get_prev_frame): Add comment on check for | |
9863 | inside_entry_func. Only check for inside_entry_file when not a | |
9864 | dummy and not a sentinel. Check that the new frame is not inner | |
9865 | to the old frame. | |
9866 | ||
ac2bd0a9 AC |
9867 | 2003-02-25 Andrew Cagney <[email protected]> |
9868 | ||
9869 | * frame.c (frame_debug): New variable. | |
9870 | (_initialize_frame): Add "set/show debug frame" command. | |
9871 | (get_prev_frame): When frame_debug, print reason why unwind | |
9872 | failed. | |
9873 | ||
b18a0fd2 MC |
9874 | 2003-02-25 Michael Chastain <[email protected]> |
9875 | ||
9876 | * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later | |
9877 | to avoid uintptr_t definition problems. | |
9878 | ||
22abf04a DC |
9879 | 2003-02-25 David Carlton <[email protected]> |
9880 | ||
9881 | * symtab.h (SYMBOL_NATURAL_NAME): New macro. | |
9882 | (SYMBOL_LINKAGE_NAME): Ditto. | |
9883 | (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and | |
9884 | SYMBOL_LINKAGE_NAME. | |
9885 | (struct general_symbol_info): Expand comment. | |
9886 | (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. | |
9887 | (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. | |
9888 | (SYMBOL_MATCHES_REGEXP): Ditto. | |
9889 | * symtab.c (symbol_natural_name): New function. | |
9890 | * objfiles.h: Replace all uses of SYMBOL_NAME by | |
9891 | DEPRECATED_SYMBOL_NAME. | |
9892 | * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. | |
9893 | * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. | |
9894 | * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. | |
9895 | * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. | |
9896 | * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. | |
9897 | * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. | |
9898 | * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. | |
9899 | * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. | |
9900 | * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. | |
9901 | * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. | |
9902 | * ada-exp.y: Ditto. | |
9903 | * ada-exp.y: Update copyright. | |
9904 | * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. | |
9905 | * cp-valprint.c: Ditto. | |
9906 | ||
1a5848f6 JJ |
9907 | 2003-02-25 Jeff Johnston <[email protected]> |
9908 | ||
9909 | * infptrace.c (detach): Do not flag error if ptrace detach fails | |
9910 | and errno is set to ESRCH. | |
9911 | ||
7343d46a AC |
9912 | 2003-02-24 Andrew Cagney <[email protected]> |
9913 | ||
9914 | * infptrace.c (udot_info): Change type of udot_off to long. Use | |
9915 | paddr when printing udot_off's value. | |
9916 | ||
49fa1dc2 DC |
9917 | 2003-02-24 David Carlton <[email protected]> |
9918 | ||
9919 | * symtab.c (make_symbol_overload_list): Only read in partial | |
9920 | symtabs containing a matching partial symbol. | |
9921 | ||
0fe19209 DC |
9922 | 2003-02-24 David Carlton <[email protected]> |
9923 | ||
9924 | * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to | |
9925 | do the comparison, not strcmp. | |
9926 | * symfile.c (compare_psymbols): Ditto. | |
9927 | * defs.h: Declare strcmp_iw_ordered. | |
9928 | * utils.c (strcmp_iw_ordered): New function. | |
9929 | ||
8e3ee7b5 JB |
9930 | 2003-02-24 Jim Blandy <[email protected]> |
9931 | ||
9932 | * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme | |
9933 | support, shared libs): Remove my name from here, to better reflect | |
9934 | reality. | |
9935 | ||
7df1a324 KW |
9936 | 2003-02-24 Kris Warkentin <[email protected]> |
9937 | ||
9938 | * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define. | |
9939 | (target_ops): Add to_have_continuable_watchpoint. | |
9940 | * target.c (update_current_target): Add INHERIT line for | |
9941 | to_have_continuable_watchpoint. | |
9942 | * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines. | |
9943 | * config/i386/nm-i386.h, config/i386/nm-i386sco5.h, | |
9944 | config/i386/nm-i386sol2.h, config/s390/nm-linux.h, | |
9945 | config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1. | |
9946 | ||
d1c76907 EZ |
9947 | 2003-02-24 Elena Zannoni <[email protected]> |
9948 | ||
9949 | * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop | |
9950 | maintainership. | |
9951 | ||
2610b0bf KW |
9952 | 2003-02-24 Kris Warkentin <[email protected]> |
9953 | ||
f46169db KW |
9954 | * solib.c (solib_open): Call target defined search function after |
9955 | failing with solib-search-path. | |
9956 | * solist.h (target_so_ops): Add find_and_open_solib function hook and | |
9957 | create define TARGET_SO_FIND_AND_OPEN_SOLIB. | |
2610b0bf | 9958 | |
9a3c34fe KW |
9959 | 2003-02-24 Kris Warkentin <[email protected]> |
9960 | ||
f46169db | 9961 | * MAINTAINERS: Add myself to Write After section. |
9a3c34fe | 9962 | |
2417dd25 SC |
9963 | 2003-02-23 Stephane Carrez <[email protected]> |
9964 | ||
9965 | * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide. | |
9966 | ||
b631436b SC |
9967 | 2003-02-22 Stephane Carrez <[email protected]> |
9968 | ||
9969 | * m68hc11-tdep.c (m68hc11_init_reggroups): New function. | |
9970 | (m68hc11_add_reggroups): New function. | |
9971 | (m68hc11_register_reggroup_p): New to register hard/soft reggroups. | |
9972 | (m68hc11_gdbarch_init): Install the reggroups. | |
9973 | (_initialize_m68hc11_tdep): Initialize them. | |
9974 | ||
0aa8c1e4 JW |
9975 | 2003-02-21 James E Wilson <[email protected]> |
9976 | ||
9977 | * MAINTAINERS: Update my email address. | |
9978 | ||
50ceaba5 DC |
9979 | 2003-02-21 David Carlton <[email protected]> |
9980 | ||
9981 | * arm-tdep.c (arm_gdbarch_init): Add break after default label. | |
9982 | ||
4c2df51b DJ |
9983 | 2003-02-21 Daniel Jacobowitz <[email protected]> |
9984 | ||
9985 | Based on a patch from Daniel Berlin ([email protected]). | |
9986 | * symtab.h: Add opaque declarations of struct axs_value and | |
9987 | struct agent_expr. | |
9988 | (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG. | |
9989 | (struct location_funcs): New type. | |
9990 | (struct symbol): Add "loc" to aux_value. | |
9991 | (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros. | |
9992 | * dwarf2read.c: Include "dwarf2expr.h". | |
9993 | (dwarf2_symbol_mark_computed): New function. | |
9994 | (read_func_scope): Use it. | |
9995 | (var_decode_location): New function. | |
9996 | (new_symbol): Use it. | |
9997 | * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files. | |
9998 | ||
9999 | * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c. | |
10000 | (dwarf2expr_h, dwarf2loc_h): New variables. | |
10001 | (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o. | |
10002 | (dwarf2expr.o, dwarf2loc.o): New rules. | |
10003 | (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h). | |
10004 | * buildsym.c (finish_block): Handle LOC_COMPUTED and | |
10005 | LOC_COMPUTED_ARG. | |
10006 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
10007 | * m2-exp.y (yylex): Likewise. | |
10008 | * printcmd.c (address_info, print_frame_args): Likewise. | |
10009 | * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise. | |
10010 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
10011 | * ada-lang.c (ada_resolve_subexp, symtab_for_sym) | |
10012 | (ada_add_block_symbols, fill_in_ada_prototype): Likewise. | |
10013 | * symtab.c (lookup_block_symbol): Likewise. | |
10014 | ||
5784d15e AF |
10015 | 2003-02-20 Adam Fedor <[email protected]> |
10016 | ||
10017 | * symtab.h: Remove objc_specific struct | |
10018 | (SYMBOL_OBJC_DEMANGLED_NAME): Remove. | |
10019 | * symtab.c (symbol_init_language_specific, symbol_demangled_name): | |
10020 | Have language_objc use cplus_specific struct. | |
10021 | ||
d4cad8db TT |
10022 | 2003-02-20 Tom Tromey <[email protected]> |
10023 | ||
10024 | * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not | |
10025 | TYPE_NAME, when printing a String value. PR java/1075. | |
10026 | ||
2f9a90b4 AF |
10027 | 2003-02-20 Adam Fedor <[email protected]> |
10028 | ||
d38074a8 | 10029 | * objc-lang.h (find_methods): Remove declaration. |
fbe586ae | 10030 | * objc-lang.c (find_methods): Make static. |
2f9a90b4 | 10031 | |
6f17862b CF |
10032 | 2003-02-20 Christopher Faylor <[email protected]> |
10033 | ||
10034 | * win32-nat.c (get_image_name): Check return value from | |
10035 | ReadProcessMemory. | |
10036 | (child_xfer_memory): Ditto. | |
10037 | ||
715d1656 AO |
10038 | 2003-02-20 Alexandre Oliva <[email protected]> |
10039 | ||
10040 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
10041 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
10042 | '${exec_prefix}' (in addition to the expansion thereof) as | |
10043 | relocatable. | |
10044 | * configure: Rebuilt. | |
10045 | ||
b1262a02 DC |
10046 | 2003-02-20 David Carlton <[email protected]> |
10047 | ||
10048 | * symtab.c (search_symbols): Revert the search_symbols part of my | |
10049 | 2002-12-23 patch. Add comment. | |
10050 | ||
7134143f DJ |
10051 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
10052 | ||
10053 | * coffread.c (coff_symfile_read): Clean up minimal symbols earlier. | |
10054 | * dbxread.c (elfstab_build_psymtabs): Don't call | |
10055 | install_minimal_symbols. | |
10056 | (stabsect_build_psymtabs): Likewise. | |
10057 | * elfread.c (elf_symfile_read): Call install_minimal_symbols | |
10058 | earlier. | |
10059 | * somread.c (som_symfile_read): Call install_minimal_symbols | |
10060 | and do_cleanups earlier. | |
10061 | * nlmread.c (nlm_symfile_read): Likewise. | |
10062 | * mdebugread.c (elfmdebug_build_psymtabs): Call | |
10063 | install_minimal_symbols and make appropriate cleanups. | |
10064 | ||
cf466558 KB |
10065 | 2003-02-20 Kevin Buettner <[email protected]> |
10066 | ||
10067 | * solib.c (reload_shared_libraries): New function. | |
10068 | (_initialize_solib): Add callbacks for ``set solib-search-path'' | |
10069 | and ``set solib-absolute-prefix''. | |
10070 | ||
de5ad195 DC |
10071 | 2003-02-20 David Carlton <[email protected]> |
10072 | ||
10073 | * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME; | |
10074 | expand comment. | |
10075 | * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace | |
10076 | SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME. | |
10077 | * ada-typeprint.c (ada_typedef_print): Ditto. | |
10078 | * ax-gdb.c (gen_var_ref): Ditto. | |
10079 | * breakpoint.c (print_one_breakpoint): Ditto. | |
10080 | * buildsym.c (finish_block): Ditto. | |
10081 | * c-valprint.c (c_val_print): Ditto. | |
10082 | * expprint.c (print_subexp): Ditto. | |
10083 | * findvar.c (locate_var_value): Ditto. | |
8ffd9b1b AJ |
10084 | * infcmd.c (jump_command): Ditto. |
10085 | * linespec.c (decode_line_2, decode_compound): Ditto. | |
10086 | * maint.c (maintenance_translate_address): Ditto. | |
10087 | * objc-lang.c (compare_selectors, compare_classes): Ditto. | |
de5ad195 DC |
10088 | * printcmd.c (build_address_symbolic, sym_info, print_frame_args): |
10089 | Ditto. | |
8ffd9b1b AJ |
10090 | * p-valprint.c (pascal_val_print): Ditto. |
10091 | * stabsread.c (define_symbol): Ditto. | |
de5ad195 | 10092 | * stack.c (print_frame, frame_info, print_block_frame_locals) |
8ffd9b1b AJ |
10093 | (print_frame_arg_vars, return_command): Ditto. |
10094 | * symfile.c (compare_symbols, compare_psymbols): Ditto. | |
10095 | * symmisc.c (print_symbol): Ditto. | |
de5ad195 DC |
10096 | * symtab.c (lookup_partial_symbol, lookup_block_symbol) |
10097 | (compare_search_syms, print_symbol_info, print_msymbol_info) | |
8ffd9b1b AJ |
10098 | (rbreak_command): Ditto. |
10099 | * tracepoint.c (tracepoints_info): Ditto. | |
10100 | * typeprint.c (typedef_print): Ditto. | |
10101 | * valops.c (value_of_variable, hand_function_call): Ditto. | |
de5ad195 DC |
10102 | * cli/cli-cmds.c (edit_command, list_command): Ditto. |
10103 | * ada-typeprint.c: Update Copyright. | |
10104 | * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto. | |
10105 | * tracepoint.c, cli/cli-cmds.c: Ditto. | |
10106 | ||
f796e4be KB |
10107 | 2003-02-20 Kevin Buettner <[email protected]> |
10108 | ||
10109 | * frame.c (generic_unwind_get_saved_register): Make non-static. | |
10110 | * frame.h (generic_unwind_get_saved_register): Declare. | |
10111 | * mips-tdep.c (read_next_frame_reg): Fetch register from | |
10112 | current regcache when frame is NULL. | |
10113 | (mips_init_extra_frame_info): Pass NULL explicitly for parameter | |
10114 | that must be NULL. | |
10115 | (mips_get_saved_register): Call generic_unwind_get_saved_register() | |
10116 | instead of frame_register_unwind(). | |
10117 | ||
836cc9f4 AC |
10118 | 2003-02-20 Andrew Cagney <[email protected]> |
10119 | ||
10120 | * remote-sim.c (gdbsim_insert_breakpoint) | |
10121 | (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS | |
10122 | code. | |
10123 | ||
501eef12 AC |
10124 | 2003-02-20 Andrew Cagney <[email protected]> |
10125 | ||
10126 | * remote.c (_initialize_remote): Add commands "set/show remote | |
10127 | hardware-watchpoint-limit" and "set/show remote | |
10128 | hardware-breakpoint-limit". | |
10129 | (remote_hw_watchpoint_limit): Initialize to -1. | |
10130 | (remote_hw_breakpoint_limit): Ditto. | |
10131 | (remote_check_watch_resources): Treat a limit of -1 as unlimited. | |
10132 | ||
1b6bc7e0 CF |
10133 | 2003-02-19 Raoul Gough <[email protected]> |
10134 | ||
10135 | * coff-pe-read.c: New file - support reading of minimal symbols from a | |
10136 | portable executable using the export table. | |
10137 | * coff-pe-read.h: New file. | |
10138 | * coffread.c: Include coff-pe-read.h. | |
10139 | (coff_symtab_read): Call read_pe_exported_syms iff no recognized | |
10140 | debugging symbols found. | |
10141 | * Makefile.in (SFILES): Add coff-pe-read.o. | |
10142 | (coff_pe_read_h): Define. | |
10143 | (COMMON_OBS): Add coff-pe-read.o. | |
10144 | (coffread.o): Add coff_pe_read_h dependency. | |
10145 | (coff-pe-read.o): New target. | |
10146 | ||
fe898f56 DC |
10147 | 2003-02-19 David Carlton <[email protected]> |
10148 | ||
10149 | * Makefile.in (SFILES): Add block.c. | |
10150 | (block_h): New. | |
10151 | (COMMON_OBS): Add block.o. | |
10152 | (block.o): New. | |
10153 | (x86-64-tdep.o): Add $(block_h). | |
10154 | (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o) | |
10155 | (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o) | |
10156 | (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o) | |
10157 | (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o) | |
10158 | (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o) | |
10159 | (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o) | |
10160 | (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto. | |
10161 | * value.h: Add opaque declaration for struct block. | |
10162 | * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto. | |
10163 | * ada-lang.h: Ditto. | |
10164 | * x86-64-tdep.c: #include "block.h" | |
10165 | * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto. | |
10166 | * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto. | |
10167 | * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto. | |
10168 | * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto. | |
10169 | * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto. | |
10170 | * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto. | |
10171 | * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto. | |
10172 | * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto. | |
10173 | * blockframe.c (blockvector_for_pc_sect): Move to "block.c". | |
10174 | (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto. | |
10175 | * symtab.c (block_function): Ditto. | |
10176 | (contained_in): Ditto. | |
10177 | * frame.h: Move block_for_pc and block_for_pc_sect declarations to | |
10178 | block.h. Add opaque declaration for struct block. | |
10179 | * symtab.h: Move block_function and contained_in declarations to | |
10180 | block.h. Add opaque declarations for struct block, struct | |
10181 | blockvector. | |
10182 | (struct block): Move to block.h. | |
10183 | (struct blockvector): Ditto. | |
10184 | (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK) | |
10185 | (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM) | |
10186 | (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE) | |
10187 | (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS) | |
10188 | (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): | |
10189 | Ditto. | |
10190 | * block.c: New file. | |
10191 | * block.h: New file. | |
10192 | ||
173345b5 TR |
10193 | 2003-02-19 Theodore A. Roth <[email protected]> |
10194 | ||
10195 | * avr-tdep.c (avr_extract_return_value): Remove function. | |
10196 | (avr_store_return_value): Remove function. | |
10197 | (avr_extract_struct_value_address): Remove function. | |
10198 | (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls. | |
10199 | ||
338ef23d AC |
10200 | 2003-02-19 Andrew Cagney <[email protected]> |
10201 | ||
10202 | * rs6000-tdep.c: Include "gdb_assert.h". | |
10203 | (registers_e500): Add "acc" and "spefscr". | |
10204 | (PPC_GPRS_PSEUDO_REGS): Remove trailing comma. | |
10205 | (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum, | |
10206 | ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum | |
10207 | really is "r0". | |
10208 | (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson). | |
10209 | ||
5412f5f3 KS |
10210 | 2003-02-18 Keith Seitz <[email protected]> |
10211 | ||
10212 | * Makefile.in: Add gdbtk-interps.c. | |
10213 | ||
881324eb KB |
10214 | 2003-02-18 Kevin Buettner <[email protected]> |
10215 | ||
10216 | * sparc-tdep.c (sparc_frame_chain): Adjust return value. | |
10217 | * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare. | |
10218 | ||
6a2f5abf AC |
10219 | 2003-02-18 Andrew Cagney <[email protected]> |
10220 | ||
10221 | * symtab.h (struct objfile): Add opaque declaration. | |
10222 | ||
54c7009d EZ |
10223 | 2003-02-18 Elena Zannoni <[email protected]> |
10224 | ||
10225 | From Jim Ingham <[email protected]>: | |
fbe586ae RH |
10226 | * dbxread.c (process_one_symbol): Use last_function_start rather |
10227 | than function_start_offset to find the real beginning of the | |
10228 | current function. The latter is just the text section offset on | |
10229 | some systems, the former is always the real function start. | |
54c7009d | 10230 | |
7ee6d7eb AC |
10231 | 2003-02-17 Andrew Cagney <[email protected]> |
10232 | ||
10233 | * configure.in: Revert ${target} != ${host}. | |
10234 | ||
2846da9b AC |
10235 | 2003-02-17 Andrew Cagney <[email protected]> |
10236 | ||
10237 | * configure.in (Makefile): Use the test ${target} != ${host}, | |
10238 | instead of the absence of the "nm.h" file, to determine of the | |
10239 | configuration non-native. | |
10240 | * configure: Regenerate. | |
8ffd9b1b | 10241 | |
3b27aeea EZ |
10242 | 2003-02-14 Elena Zannoni <[email protected]> |
10243 | ||
fbe586ae | 10244 | From Brian Ford <[email protected]> |
3b27aeea EZ |
10245 | |
10246 | * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly | |
10247 | conditionalize tui_active test. | |
10248 | (lookup_cmd_1): Ditto. | |
10249 | ||
b0b1c2c0 MK |
10250 | 2003-02-14 Mark Kettenis <[email protected]> |
10251 | ||
10252 | * configure.in: Add check for _etext. | |
10253 | * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't | |
10254 | available. | |
10255 | * config.in, configure: regenerated. | |
10256 | ||
8f05cde5 DJ |
10257 | 2003-02-14 Daniel Jacobowitz <[email protected]> |
10258 | ||
10259 | * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base. | |
10260 | ||
021e7609 AC |
10261 | 2003-02-14 Andrew Cagney <[email protected]> |
10262 | ||
10263 | * main.c (tui_version): Delete variable. | |
10264 | (captured_main): When --tui, set interpreter_p to "tui" instead of | |
10265 | enabling tui_version. | |
10266 | * printcmd.c (display_command) [TUI]: Test tui_active instead of | |
10267 | tui_version. | |
10268 | * cli/cli-decode.c (lookup_cmd_composition): Ditto. | |
10269 | * cli/cli-cmds.c (disassemble_command): Ditto. | |
10270 | * defs.h (tui_version): Delete declaration. | |
10271 | * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c". | |
10272 | (tui-interp.o): Add rules. | |
10273 | (SUBDIR_TUI_OBS): Add "tui-interp.o". | |
10274 | ||
e325dcec CF |
10275 | 2003-02-14 Christopher Faylor <[email protected]> |
10276 | ||
36ffb041 | 10277 | * win32-nat.c (register_loaded_dll): Correctly set address range for |
e325dcec CF |
10278 | just-loaded dll. |
10279 | ||
c4f90d87 JM |
10280 | 2003-02-12 Jason Molenda ([email protected]) |
10281 | ||
fbe586ae RH |
10282 | * symmisc.c (print_objfile_statistics): Include information about |
10283 | the number of psymtabs and symtabs in each object file. | |
c4f90d87 | 10284 | |
e46e5ccd KS |
10285 | 2003-02-13 Keith R Seitz <[email protected]> |
10286 | ||
10287 | * main.h (struct captured_main_args): Add interpreter_p. | |
10288 | * main.c (captured_main): Initialize interpreter_p from context. | |
10289 | * gdb.c (main): Set interpreter_p argument. | |
10290 | * Makefile.in (gdb.o): Add dependency for interps.h. | |
10291 | ||
fe97fe9c AC |
10292 | 2003-02-12 Andrew Cagney <[email protected]> |
10293 | ||
10294 | * event-top.c (cli_command_loop): Delete declaration. | |
10295 | (_initialize_event_loop): Delete function setting event_loop_hook. | |
10296 | * event-top.h (cli_command_loop): Declare. Update copyright. | |
10297 | (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H. | |
10298 | * interps.c (current_interp_command_loop): When event_loop_p, call | |
10299 | cli_command_loop. | |
10300 | ||
1cdac4ef AC |
10301 | 2003-02-12 Andrew Cagney <[email protected]> |
10302 | ||
10303 | * interps.h (interp_command_loop_ftype): Change return type to | |
10304 | void. | |
10305 | ||
48037ead ML |
10306 | 2003-02-12 Michal Ludvig <[email protected]> |
10307 | ||
10308 | * x86-64-tdep.c (x86_64_extract_return_value) | |
10309 | (x86_64_store_return_value): Use regcache instead of regbuf. | |
10310 | (x86_64_gdbarch_init): Change related set_gdbarch_* functions. | |
10311 | * x86-64-linux-nat.c (fill_gregset): Use regcache. | |
10312 | ||
033afc63 AC |
10313 | 2003-02-11 Andrew Cagney <[email protected]> |
10314 | ||
10315 | * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS. | |
10316 | * aclocal.m4: Regenerate. | |
10317 | * configure: Regenerate. | |
10318 | ||
10319 | * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of | |
10320 | TCL_LD_SEARCH_FLAGS. | |
10321 | ||
40d02bca ML |
10322 | 2003-02-10 Michal Ludvig <[email protected]> |
10323 | ||
10324 | * dwarf2cfi.c: Reindented. | |
10325 | ||
11308a41 AC |
10326 | 2003-02-09 Andrew Cagney <[email protected]> |
10327 | ||
10328 | * interps.c (clear_interpreter_hooks): Convert function definition | |
10329 | to ISO C. | |
10330 | ||
e1c1c0f6 DC |
10331 | 2003-02-07 David Carlton <[email protected]> |
10332 | ||
10333 | * gdb_mbuild.sh: Delete extra shift after parsing '-f'. | |
10334 | ||
ab5d3da6 KB |
10335 | 2003-02-07 Kevin Buettner <[email protected]> |
10336 | ||
10337 | * gdbtypes.h (struct main_type): Move ``length'' field from here... | |
10338 | (struct type): ...to here. | |
10339 | (TYPE_LENGTH): Adjust to reflect different location of ``length'' | |
10340 | field. | |
10341 | * gdbtypes.c (make_qualified_type): Set length on newly created type. | |
10342 | (replace_type): Set length on all type variants for a given type. | |
10343 | ||
b8a92b82 AC |
10344 | 2003-02-07 Andrew Cagney <[email protected]> |
10345 | ||
10346 | * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of | |
10347 | <sys/stat.h>. | |
10348 | * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies. | |
8ffd9b1b | 10349 | |
5cb316ef AC |
10350 | 2003-02-06 Andrew Cagney <[email protected]> |
10351 | ||
2555fe1a AC |
10352 | * Makefile.in (symm-nat.o): Update dependencies. |
10353 | (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. | |
10354 | (lynx-nat.o, ia64-linux-nat.): Ditto. | |
10355 | * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include | |
10356 | "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. | |
10357 | * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto. | |
10358 | ||
44270758 AC |
10359 | * Makefile.in (inflow_h): Define. |
10360 | (procfs.o, inflow.o, procfs.o): Update dependencies. | |
10361 | * inftarg.c (child_stop): Delete extern declaration of | |
10362 | inferior_process_group. Include "inflow.h". | |
10363 | * procfs.c (procfs_stop): Ditto. Include "inflow.h". | |
10364 | * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... | |
10365 | * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. | |
10366 | (our_process_group, inferior_process_group): Extern declarations. | |
10367 | ||
df8f7274 AC |
10368 | * procfs.c: Include "gdb_assert.h". |
10369 | ||
5cb316ef AC |
10370 | * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. |
10371 | * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. | |
10372 | * jv-typeprint.c (java_type_print_base): Ditto. | |
10373 | * typeprint.c (typedef_print): Eliminate STREQ. | |
10374 | * cli/cli-script.c (define_command, define_command): Ditto. | |
10375 | * main.c (captured_main): Ditto. | |
10376 | * values.c (lookup_internalvar): Ditto. | |
10377 | * utils.c (safe_strerror, parse_escape): Eliminate assignment | |
10378 | within `if' conditional. | |
10379 | * linespec.c (decode_line_2): Ditto. | |
10380 | * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. | |
10381 | (bfd_openw_with_cleanup): Ditto. | |
10382 | ||
2a28ccea MK |
10383 | 2003-02-07 Mark Kettenis <[email protected]> |
10384 | ||
10385 | * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to | |
10386 | legacy_extract_return_value and store_return_value to | |
10387 | legacy_return_value. | |
10388 | ||
786b8124 CF |
10389 | 2003-02-06 Raoul Gough <[email protected]> |
10390 | ||
10391 | * win32-nat.c (get_relocated_section_addrs): New function. Find | |
10392 | section load addresses for symbol handling in relocated DLLs. | |
10393 | (solib_symbols_add): Open a bfd and call get_relocated_section_addrs. | |
10394 | ||
b871e4ec FF |
10395 | 2003-02-05 Fred Fish <[email protected]> |
10396 | ||
10397 | * remote-e7000.c (e7000_drain_command): Fix precedence problem with | |
10398 | '=' and '!='. | |
10399 | * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem | |
10400 | with '&' and '=='. | |
10401 | (angel_RDI_info): Ditto. | |
10402 | * infttrace.c (threads_continue_all_but_one): Fix precedence problem | |
10403 | with '&' and '!='. | |
10404 | (threads_continue_all_with_signals): Ditto. | |
8ffd9b1b | 10405 | |
4389a95a | 10406 | 2003-02-05 Jim Ingham <[email protected]> |
fbe586ae RH |
10407 | Keith Seitz <[email protected]> |
10408 | Elena Zannoni <[email protected]> | |
10409 | Andrew Cagney <[email protected]> | |
4389a95a AC |
10410 | |
10411 | * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o". | |
10412 | (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c". | |
10413 | (SUBDIR_MI_OBS): Add "mi-interp.o". | |
10414 | (SUBDIR_MI_SRCS): Add "mi/mi-interp.c". | |
10415 | (SFILES): Add "interps.c". | |
10416 | (COMMON_OBS): Add "interps.o". | |
10417 | (interps_h, mi_main_h): Define. | |
10418 | (interps.o, cli-interp.o, mi-interp.o): Add dependencies. | |
10419 | (mi-main.o, main.o, event-top.o): Update dependencies. | |
10420 | * cli/cli-interp.c: New file. | |
10421 | * interps.h, interps.c: New files. | |
10422 | * top.c: (gdb_init): Don't install the default interpreter, handed | |
10423 | by captured_main. | |
10424 | * main.c: Include "interps.h". | |
10425 | (interpreter_p): Note that it should malloc'ed. | |
10426 | (captured_command_loop): Call current_interp_command_loop. | |
10427 | (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use | |
10428 | xfree and xstrdup when updating interpreter_p. Install the | |
10429 | default interpreter. Add hack to stop mi1's copyright notice | |
10430 | being encoded. | |
10431 | * event-top.h (gdb_setup_readline): Declare. | |
10432 | (gdb_disable_readline): Declare. | |
10433 | * event-top.c: Include "interps.h". | |
10434 | (display_gdb_prompt): Call current_interp_display_prompt_p. | |
10435 | (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr, | |
10436 | gdb_stdlog, and gdb_stdtarg. | |
10437 | (_initialize_event_loop): Don't call gdb_setup_readline. | |
10438 | * cli-out.c (cli_out_set_stream): New function. | |
10439 | * cli-out.h (cli_out_set_stream): Declare. | |
10440 | ||
ff3b5810 MK |
10441 | 2003-02-06 Mark Kettenis <[email protected]> |
10442 | ||
10443 | * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*, | |
10444 | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all | |
10445 | handled fine by i[3456]86-*sco* and i[3456]86-sysv*. | |
10446 | * config/i386/i386sco5.mt, config/i386/i386v4.mt, | |
10447 | config/i386/i386v42mp.mt: Removed. | |
10448 | ||
5b729aa5 MK |
10449 | 2003-02-05 Mark Kettenis <[email protected]> |
10450 | ||
10451 | * configure.tgt (*-*-solaris*): Set gdb_osabi to | |
10452 | GDB_OSABI_SOLARIS. | |
10453 | ||
8cc15142 MC |
10454 | 2003-02-05 Michael Chastain <[email protected]> |
10455 | ||
10456 | * PROBLEMS (i[3456]86-*-linux*): Warn about binutils | |
10457 | 2.12.1 and earlier versions. | |
10458 | ||
5aa5d4b9 AC |
10459 | 2003-02-05 Andrew Cagney <[email protected]> |
10460 | ||
10461 | Remove orphaned hosts, targets and files. | |
10462 | * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. | |
10463 | * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. | |
10464 | * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. | |
10465 | * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. | |
10466 | * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. | |
10467 | * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. | |
10468 | * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. | |
10469 | * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. | |
10470 | * config/sparc/tm-sp64sim.h: Delete. | |
10471 | * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* | |
10472 | hosts. | |
10473 | * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and | |
10474 | mips*-dec-mach3* targets. | |
10475 | ||
b68767c1 MC |
10476 | 2003-02-04 Michael Chastain <[email protected]> |
10477 | ||
10478 | * NEWS: Fix typo: sepcifying -> specifying. | |
10479 | ||
5ae7ca1d MC |
10480 | 2003-02-04 Michael Chastain <[email protected]> |
10481 | ||
10482 | * dwarfread.c: Add documentation on the state of dwarf-1, | |
10483 | looking towards obsoletion. | |
10484 | ||
d08a4280 MC |
10485 | 2003-02-03 Michael Chastain <[email protected]> |
10486 | ||
10487 | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, | |
10488 | gdb/testsuite/gdb.c++/pr-1023.exp. | |
10489 | ||
e9be73e4 AC |
10490 | 2003-02-04 Andrew Cagney <[email protected]> |
10491 | ||
10492 | * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR. | |
10493 | * TODO: Delete reference to IS_TRAPPED_INTERNALVAR. | |
10494 | ||
10495 | * utils.c (init_page_info): Delete reference to MPW in comments. | |
10496 | * main.c (captured_main): Delete #ifdef MPW. | |
10497 | ||
05d57f6f AC |
10498 | 2003-02-04 Andrew Cagney <[email protected]> |
10499 | ||
8ffd9b1b | 10500 | * NEWS: Note that the m32r-*-elf* is obsolete. |
05d57f6f AC |
10501 | * monitor.c (monitor_expect): Obsolete reference to m32r. |
10502 | * configure.tgt: Mark m32r-*-elf* as obsolete. | |
10503 | * MAINTAINERS: Mark m32k as obsolete. | |
10504 | * m32r-rom.c: Obsolete file. | |
10505 | * config/m32r/m32r.mt: Obsolete file. | |
10506 | * config/m32r/tm-m32r.h: Obsolete file. | |
10507 | * m32r-stub.c: Obsolete file. | |
10508 | * m32r-tdep.c: Obsolete file. | |
10509 | ||
8b0e5691 AC |
10510 | 2003-02-04 Andrew Cagney <[email protected]> |
10511 | ||
10512 | * NEWS: Mention that the z8k-zilog-none is obsolete. | |
10513 | * MAINTAINERS: Mark z8k as obsolete. | |
10514 | * configure.tgt: Obsolete the z8k-*-coff* target. | |
10515 | * config/z8k/z8k.mt: Obsolete file. | |
10516 | * config/z8k/tm-z8k.h: Obsolete file. | |
10517 | * z8k-tdep.c: Obsolete file. | |
10518 | ||
67f16606 AC |
10519 | 2003-02-04 Andrew Cagney <[email protected]> |
10520 | ||
10521 | * NEWS: Mention that the mn10200-elf is obsolete. | |
10522 | * configure.tgt: Obsolete mn10200-*-* target. | |
10523 | * breakpoint.c (update_breakpoints_after_exec): Update comment to | |
10524 | mention that the mn10200 is obsolete. | |
10525 | * breakpoint.h: Ditto. | |
10526 | * MAINTAINERS: Mark the mn10200-elf as obsolete. | |
10527 | * config/mn10200/mn10200.mt: Obsolete file. | |
10528 | * config/mn10200/tm-mn10200.h: Obsolete file. | |
10529 | * mn10200-tdep.c: Obsolete file. | |
10530 | ||
fd2299bd AC |
10531 | 2003-02-04 Andrew Cagney <[email protected]> |
10532 | ||
10533 | * MAINTAINERS: Mark h8500 as obsolete. | |
10534 | * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. | |
10535 | * findvar.c (value_from_register): Ditto. | |
10536 | * h8500-tdep.c: Mark file as obsolete. | |
10537 | * config/h8500/h8500.mt: Ditto. | |
10538 | * config/h8500/tm-h8500.h: Ditto. | |
10539 | * NEWS: Mention that h8500 is obsolete. | |
10540 | ||
eb9a305d DC |
10541 | 2003-02-04 David Carlton <[email protected]> |
10542 | ||
10543 | * objfiles.c (allocate_objfile): Always set name. Add comment at | |
10544 | start of function. | |
10545 | * jv-lang.c (get_dynamics_objfile): Add comment. | |
10546 | ||
406fc7fb DC |
10547 | 2003-02-04 David Carlton <[email protected]> |
10548 | ||
10549 | * symtab.h (SYMBOL_LINKAGE_NAME): Delete. | |
10550 | * printcmd.c (build_address_symbolic): Replace uses of | |
10551 | SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, | |
10552 | SYMBOL_NAME, and asm_demangle. | |
10553 | Update copyright. | |
10554 | ||
93d91629 DC |
10555 | 2003-02-04 David Carlton <[email protected]> |
10556 | ||
10557 | * linespec.c (decode_compound): Extract code into | |
10558 | lookup_prefix_sym. | |
10559 | (lookup_prefix_sym): New function. | |
10560 | ||
1c5cb38e DC |
10561 | 2003-02-04 David Carlton <[email protected]> |
10562 | ||
10563 | * gdbtypes.h: Delete INTEGER_COERCION_BADNESS, | |
10564 | FLOAT_COERCION_BADNESS. | |
10565 | * gdbtypes.c (rank_one_type): Replace all uses of | |
10566 | INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS. | |
10567 | ||
0cf824c9 JB |
10568 | 2003-02-04 Jim Blandy <[email protected]> |
10569 | ||
10570 | * dwarf2read.c (dwarf2_locate_sections): When we find a macro info | |
10571 | section, let dwarf_macinfo_section point to it, not | |
10572 | dwarf_loc_section. | |
10573 | ||
a2d356b0 DJ |
10574 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
10575 | ||
10576 | Pointed out by Anton Blanchard <[email protected]>. | |
10577 | * ppc-linux-tdep.c (insn_is_sigreturn): New function. | |
10578 | (ppc_linux_at_sigtramp_return_path): Use it. | |
10579 | ||
2de7ced7 DJ |
10580 | 2003-02-04 Daniel Jacobowitz <[email protected]> |
10581 | ||
10582 | * defs.h (streq): Add prototype. | |
10583 | * utils.c (streq): New function. | |
10584 | ||
10585 | * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of | |
10586 | SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME. | |
10587 | * mdebugread.c (new_symbol): Likewise. | |
10588 | * stabsread.c (define_symbol): Likewise. | |
10589 | * coffread.c (process_coff_symbol): Likewise. | |
10590 | * dwarfread.c (new_symbol): Likewise. | |
10591 | ||
10592 | * minsyms.c (prim_record_minimal_symbol_and_info): Use | |
10593 | SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language | |
10594 | here. | |
10595 | (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call | |
10596 | SYMBOL_INIT_DEMANGLED_NAME. | |
10597 | * objfiles.c: Include "hashtab.h". | |
10598 | (allocate_objfile): Call htab_set_functions_ex for the | |
10599 | demangled_names_hash. | |
10600 | (free_objfile): Call htab_delete for the demangled_names_hash. | |
10601 | * objfiles.h (struct htab): Add declaration. | |
10602 | (struct objfile): Add demangled_names_hash. | |
10603 | * symfile.c: Include "hashtab.h". | |
10604 | (reread_symbols): Call htab_delete for the demangled_names_hash. | |
10605 | (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting | |
10606 | SYMBOL_NAME in the bcache. | |
10607 | * symtab.c: Include "hashtab.h". Update comments. | |
10608 | (create_demangled_names_hash, symbol_set_names): New functions. | |
10609 | (symbol_find_demangled_name): New function, broken out from | |
10610 | symbol_init_demangled_names. | |
10611 | (symbol_init_demangled_names): Use it. | |
10612 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses. | |
10613 | (SYMBOL_SET_NAMES): New macro. | |
10614 | (symbol_set_names): Add prototype. | |
10615 | ||
15831452 JB |
10616 | 2003-02-03 Jim Blandy <[email protected]> |
10617 | ||
10618 | Use a single, consistent representation for an empty minimal | |
10619 | symbol table in an objfile. | |
10620 | * objfiles.c (terminate_minimal_symbol_table): New function. | |
10621 | (allocate_objfile): Call it. | |
10622 | * objfiles.h (terminate_minimal_symbol_table): New declaration. | |
10623 | (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is | |
8ffd9b1b | 10624 | non-NULL. |
15831452 JB |
10625 | * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether |
10626 | objfile has minimal symbols, compare minimal_symbol_count to zero, | |
10627 | instead of comparing msymbols with NULL. | |
10628 | * objfiles.c (have_minimal_symbols): Same. | |
10629 | * solib-sunos.c (solib_add_common_symbols): Call | |
10630 | terminate_minimal_symbol_table. | |
10631 | * symfile.c (reread_symbols): Same. | |
8ffd9b1b | 10632 | |
ffc65945 KB |
10633 | 2003-02-03 Kevin Buettner <[email protected]> |
10634 | ||
10635 | * s390-tdep.c (s390_address_class_type_flags) | |
10636 | (s390_address_class_type_flags_to_name) | |
10637 | (s390_address_class_name_to_type_flags): New functions. | |
10638 | (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, | |
10639 | ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS. | |
10640 | ||
f211c6d4 MS |
10641 | 2003-02-03 Michael Snyder <[email protected]> |
10642 | ||
10643 | * arm-tdep.c: Fix spell-o in comment. | |
10644 | ||
659b0389 ML |
10645 | 2003-02-03 Michal Ludvig <[email protected]> |
10646 | ||
10647 | * dwarf2cfi.c (pointer_encoding): Added new parameter. | |
10648 | * dwarf2cfi.c, dwarf2read.c: Changed all warnings and | |
8ffd9b1b | 10649 | error messages to contain BFD filename. |
659b0389 | 10650 | |
3b31d625 EZ |
10651 | 2003-02-02 Elena Zannoni <[email protected]> |
10652 | ||
997b089a | 10653 | Fix PR gdb/742 gdb/743 gdb/877 |
3b31d625 EZ |
10654 | * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end. |
10655 | (do_mixed_source_and_assembly): Use | |
10656 | make_cleanup_ui_out_tuple_begin_end and | |
10657 | make_cleanup_ui_out_tuple_begin_end. | |
10658 | (do_mixed_source_and_assembly): Ditto. | |
10659 | * thread.c (do_captured_list_thread_ids): Ditto. | |
10660 | * ui-out.h (ui_out_table_begin, ui_out_list_begin, | |
10661 | ui_out_tuple_begin, ui_out_table_end, ui_out_list_end, | |
10662 | ui_out_tuple_end): Delete prototypes. | |
10663 | * ui-out.c (ui_out_list_begin, ui_out_tuple_begin, | |
10664 | ui_out_list_end, ui_out_tuple_end): Delete. | |
10665 | ||
10666 | From Kevin Buettner <[email protected]>: | |
10667 | * ui-out.h (make_cleanup_ui_out_table_begin_end): New function. | |
fbe586ae RH |
10668 | * ui-out.c (make_cleanup_ui_out_table_begin_end) |
10669 | (do_cleanup_table_end): New functions. | |
10670 | * breakpoint.c (print_it_typical, print_one_breakpoint, mention): | |
10671 | Use cleanups to invoke_ui_out_tuple_end(). | |
10672 | (breakpoint_1): Use cleanup to invoke ui_out_table_end(). | |
3b31d625 EZ |
10673 | * cli/cli-setshow.c (cmd_show_list): Use |
10674 | make_cleanup_ui_out_tuple_begin_end. | |
8ffd9b1b | 10675 | |
5b181d62 AC |
10676 | 2003-02-02 Andrew Cagney <[email protected]> |
10677 | ||
10678 | * frame.c (frame_unwind_register): New function. | |
10679 | (frame_unwind_unsigned_register): Use. | |
10680 | (frame_unwind_signed_register): Use. | |
10681 | (frame_read_register): New function. | |
10682 | * frame.h (frame_unwind_register): Declare. | |
10683 | (frame_read_register): Declare. | |
10684 | ||
10685 | * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write | |
10686 | and frame_unwind_register instead of read_memory, write_register | |
10687 | and deprecated_write_register_bytes. | |
10688 | ||
5f601589 AC |
10689 | 2003-02-02 Andrew Cagney <[email protected]> |
10690 | ||
10691 | * frame.h: Note that namelen can be negative. | |
10692 | * frame.c (frame_map_name_to_regnum): When LEN is negative, use | |
10693 | NAME's length. | |
10694 | ||
10695 | * NEWS: Mention that the d10v's `regs' command is deprecated. | |
10696 | * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info. | |
10697 | (d10v_print_registers_info): New function. | |
10698 | (show_regs): Call d10v_print_registers_info. | |
10699 | (_initialize_d10v_tdep): Mark "show regs" command as deprecated. | |
10700 | ||
6a3fe0a4 MK |
10701 | 2003-02-02 Mark Kettenis <[email protected]> |
10702 | ||
10703 | * stack.c (print_frame_info): Restore call to annotate_frame_begin | |
10704 | lost in the previous patch. | |
10705 | ||
075559bc AC |
10706 | 2003-02-01 Andrew Cagney <[email protected]> |
10707 | ||
10708 | From 2002-11-09 Jason Molenda ([email protected]) | |
fbe586ae RH |
10709 | * stack.c (print_frame_info_base): Output complete FRAME tuple |
10710 | for synthesized frames. | |
075559bc | 10711 | |
6789195b AC |
10712 | 2003-02-02 Andrew Cagney <[email protected]> |
10713 | ||
10714 | * mips-nat.c (zerobuf): Delete. | |
10715 | (fetch_inferior_registers): Alloc local zerobuf. | |
10716 | (fetch_core_registers): Alloc local zerobuf. | |
10717 | * d10v-tdep.c (show_regs): Don't allocate a dynamic array using | |
10718 | MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE. | |
10719 | * thread-db.c (thread_db_store_registers): Ditto. | |
10720 | * sh-tdep.c (sh_do_register): Ditto. | |
10721 | * rom68k-rom.c (rom68k_supply_one_register): Ditto. | |
10722 | * remote-sim.c (gdbsim_store_register): Ditto. | |
10723 | * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. | |
10724 | * remote-e7000.c (fetch_regs_from_dump): Ditto. | |
10725 | * monitor.c (monitor_supply_register): Ditto. | |
10726 | * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
10727 | * mips-nat.c (fetch_inferior_registers): Ditto. | |
10728 | * m68klinux-nat.c (fetch_register): Ditto. | |
10729 | * lynx-nat.c (fetch_inferior_registers): Ditto. | |
10730 | (fetch_inferior_registers): Ditto. | |
10731 | * irix4-nat.c (supply_gregset, supply_fpregset): Ditto. | |
10732 | * hpux-thread.c (hpux_thread_fetch_registers): Ditto. | |
10733 | (hpux_thread_store_registers): Ditto. | |
10734 | * hppah-nat.c (fetch_register): Ditto. | |
10735 | * hppab-nat.c (fetch_register): Ditto. | |
10736 | * hppa-tdep.c (pa_register_look_aside): Ditto. | |
10737 | (pa_print_fp_reg, pa_strcat_fp_reg): Ditto. | |
10738 | * dve3900-rom.c (fetch_bitmapped_register): Ditto. | |
10739 | ||
e669114a AC |
10740 | 2003-02-01 Andrew Cagney <[email protected]> |
10741 | ||
10742 | * gdbarch.sh: Explictly specify all method levels. When a | |
10743 | variable with an empty level, provide a non-multi-arch default. | |
10744 | (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. | |
10745 | * gdbarch.h: Re-generate. | |
10746 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. | |
10747 | * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1 | |
10748 | ||
9a043c1d AC |
10749 | 2003-02-01 Andrew Cagney <[email protected]> |
10750 | ||
10751 | * defs.h (host_pointer_to_address): Delete declaration. | |
10752 | (address_to_host_pointer): Delete declaration. | |
10753 | * utils.c (host_pointer_to_address): Delete function. | |
10754 | (address_to_host_pointer): Delete function. | |
10755 | * procfs.c (procfs_address_to_host_pointer): New function. | |
10756 | * procfs.c (proc_set_watchpoint): Use. | |
10757 | (procfs_can_use_hw_breakpoint): Update comments. | |
10758 | * somsolib.c (hpux_address_to_host_pointer_hack): New function. | |
10759 | (som_solib_add): Use. | |
10760 | * hppa-tdep.c (hppa_pointer_to_address_hack): New function. | |
10761 | * hppa-tdep.c (unwind_command): Use. | |
8ffd9b1b | 10762 | |
7ca9f392 AC |
10763 | 2003-02-01 Andrew Cagney <[email protected]> |
10764 | ||
94bbfd30 AC |
10765 | * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and |
10766 | strlen d_name. | |
10767 | ||
7ca9f392 AC |
10768 | * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, |
10769 | ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. | |
10770 | (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. | |
10771 | * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. | |
10772 | (define_symbol): Update. | |
10773 | * symfile.c (generic_load): Remove references to nindy. | |
10774 | * symtab.c: Remove references to nindy. | |
10775 | ||
31a85ea2 AC |
10776 | 2003-02-01 Andrew Cagney <[email protected]> |
10777 | ||
10778 | * infcmd.c (print_float_info): Delete code conditional on | |
10779 | FLOAT_INFO. | |
10780 | * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. | |
10781 | * config/m68k/nm-apollo68b.h: Ditto. | |
10782 | * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. | |
10783 | * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. | |
10784 | * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. | |
10785 | ||
f6e85fc8 MK |
10786 | 2003-02-01 Mark Kettenis <[email protected]> |
10787 | ||
6015b6a0 MK |
10788 | * config/i386/tm-i386os9k.h: Removed. |
10789 | ||
f7a30bdf MK |
10790 | * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v. |
10791 | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since | |
10792 | they're identical to i[3456]86-*-sysv* now. | |
10793 | * config/i386/i386v32.mh: Removed. | |
10794 | * config/i386/xm-i386v32.h: Removed. | |
10795 | * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro. | |
10796 | ||
28d52111 MK |
10797 | * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed. |
10798 | ||
4d3f6bce MK |
10799 | * config/i386/i386dgux.mh: Removed. |
10800 | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4. | |
10801 | ||
f6e85fc8 MK |
10802 | * configure.in: Fix typo. |
10803 | * configure: Regenerated. | |
10804 | ||
53955967 DC |
10805 | 2003-01-31 David Carlton <[email protected]> |
10806 | ||
10807 | * dwarf2read.c (dwarf2_locate_sections): Set | |
10808 | dwarf_ranges_section. | |
10809 | ||
b1364885 AC |
10810 | 2003-01-31 Andrew Cagney <[email protected]> |
10811 | ||
8dbb1c65 AC |
10812 | * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts. |
10813 | * utils.c: Update comments documenting legitimate uses of PTR. | |
8ffd9b1b | 10814 | |
8731e58e AC |
10815 | * utils.c: Re-indent. |
10816 | ||
b1364885 AC |
10817 | * config/djgpp/fnchange.lst: Delete nindy files. |
10818 | * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. | |
10819 | * nindy-share/nindy.c, nindy-share/env.h: Delete files. | |
10820 | * nindy-share/coff.h, nindy-share/block_io.h: Delete files. | |
10821 | * nindy-share/b.out.h, nindy-share/VERSION: Delete files. | |
10822 | * nindy-share/README, nindy-share/Onindy.c: Delete files. | |
10823 | * nindy-tdep.c, nindy-share/Makefile: Delete files. | |
10824 | * Makefile.in (init.c): Remove nindy references. | |
10825 | (saber_gdb): Delete rule. | |
10826 | (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, | |
10827 | nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, | |
10828 | and a68v-nat.c. | |
10829 | (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. | |
10830 | (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. | |
10831 | (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, | |
10832 | nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and | |
10833 | nindy-share/stop.h. | |
10834 | * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. | |
10835 | * saber.suppress: Delete file. | |
10836 | ||
086df311 DJ |
10837 | 2003-01-31 Daniel Jacobowitz <[email protected]> |
10838 | ||
10839 | * dbxread.c (stabs_data): New static variable. | |
10840 | (fill_symbuf): Support an in-memory buffer for stabs data. | |
10841 | (stabs_seek): New function. | |
10842 | (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. | |
10843 | (read_ofile_symtab): Use stabs_seek. | |
10844 | (elfstab_build_psymtabs): Take an asection* instead of | |
10845 | an offset and size. Relocate the stabs data if necessary. | |
10846 | Save the section* for dbx_psymtab_to_symtab. | |
10847 | * dwarf2read.c: Add section variables for each debug section. | |
10848 | (dwarf2_locate_sections): Fill them in. | |
10849 | (dwarf2_read_section): Take an asection* argument. | |
10850 | Relocate the section contents if necessary. | |
10851 | (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. | |
10852 | * dwarf2cfi.c (parse_frame_info): Take a section argument and pass | |
10853 | it to dwarf2_read_section. | |
10854 | (dwarf2_build_frame_info): Update callers. | |
10855 | * elfread.c (elf_symfile_read): Update call to | |
10856 | elfstab_build_psymtabs. | |
10857 | * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. | |
10858 | (DBX_STAB_SECTION): New macro. | |
8ffd9b1b | 10859 | * stabsread.h (elfstab_build_psymtabs): Update prototype. |
086df311 DJ |
10860 | * symfile.c (symfile_dummy_outputs): New function. |
10861 | (symfile_relocate_debug_section): New function. | |
10862 | * symfile.h (symfile_relocate_debug_section): Add prototype. | |
10863 | ||
87d1b352 RH |
10864 | 2003-01-31 Richard Henderson <[email protected]> |
10865 | ||
10866 | * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ... | |
10867 | (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. | |
10868 | (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. | |
10869 | * alpha-tdep.c (alpha_register_name): Add "unique". | |
10870 | * alpha-tdep.h (ALPHA_NUM_REGS): Increment. | |
10871 | (ALPHA_UNIQUE_REGNUM): New. | |
10872 | * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New. | |
10873 | ||
c48861fb AC |
10874 | 2003-01-31 Andrew Cagney <[email protected]> |
10875 | ||
10876 | * README: Remove reference to Ericsson 1800 monitor. | |
10877 | * Makefile.in (remote-es.o): Delete rule. | |
10878 | (ALLDEPFILES): Delete remote-es.c. | |
10879 | * remote-es.c: Delete file. | |
10880 | * config/m68k/es1800.mt: Delete file. | |
10881 | * config/djgpp/fnchange.lst: Update. | |
10882 | * configure.tgt: Delete m68*-ericsson-* target. | |
10883 | ||
d764a824 AF |
10884 | 2003-01-31 Adam Fedor <[email protected]> |
10885 | ||
10886 | * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc. | |
10887 | Remove duplicate/shadowing variable of same name. | |
10888 | ||
fe36c4f4 JB |
10889 | 2003-01-30 Jim Blandy <[email protected]> |
10890 | ||
10891 | * symfile.c (find_separate_debug_file): Assert that the objfile's | |
10892 | directory name we compute ends with a slash, and then assume that | |
10893 | that's so everywhere we use it. | |
10894 | ||
cb741690 DJ |
10895 | 2003-01-30 Daniel Jacobowitz <[email protected]> |
10896 | ||
10897 | * valops.c (value_assign): Flush frame cache after stores to memory | |
10898 | also. | |
10899 | ||
96ee5227 AC |
10900 | 2003-01-30 Andrew Cagney <[email protected]> |
10901 | ||
10902 | * Makefile.in (mon960-rom.o): Delete rule. | |
10903 | * mon960-rom.c: Delete file. | |
10904 | ||
7f6104a9 AC |
10905 | 2003-01-30 Andrew Cagney <[email protected]> |
10906 | ||
10907 | * d10v-tdep.c: Include "frame-unwind.h". | |
10908 | (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate | |
10909 | list. | |
10910 | (next_addr, uses_frame): Delete. | |
10911 | (struct d10v_unwind_cache): Define. | |
10912 | (prologue_find_regs): Add struct d10v_unwind_cache info parameter. | |
10913 | Use info instead of next_addr and uses_frame globals. | |
10914 | (d10v_frame_init_saved_regs): Delete function. | |
10915 | (d10v_init_extra_frame_info): Delete function. | |
10916 | (d10v_gdbarch_init): Do not initialize init_extra_frame_info, | |
10917 | frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid, | |
10918 | init_frame_pc or frame_saved_pc. | |
10919 | (d10v_pop_frame): Delete function. | |
10920 | (do_d10v_pop_frame): Delete function. | |
10921 | (d10v_frame_chain): Delete function. | |
10922 | (d10v_frame_chain_valid): Delete function. | |
10923 | (d10v_frame_pc_unwind): New function. | |
10924 | (d10v_frame_id_unwind): New function. | |
10925 | (saved_regs_unwinder): New function. | |
10926 | (d10v_frame_register_unwind): New function. | |
10927 | (d10v_frame_pop): New function. | |
10928 | (d10v_frame_unwind): New variable. | |
10929 | (d10v_frame_p): New function. | |
10930 | (d10v_frame_saved_pc): Delete function. | |
10931 | * Makefile.in (d10v-tdep.o): Update dependencies. | |
10932 | ||
cad2e848 JB |
10933 | 2003-01-30 J. Brobecker <[email protected]> |
10934 | ||
10935 | * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef | |
10936 | causing some regressions due to a change in the default value | |
10937 | for this macro. | |
10938 | ||
af34e669 DJ |
10939 | 2003-01-29 Richard Henderson <[email protected]> |
10940 | Elena Zannoni <[email protected]> | |
10941 | Daniel Jacobowitz <[email protected]> | |
10942 | ||
10943 | Fix PR gdb/961. | |
8ffd9b1b | 10944 | * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New |
af34e669 DJ |
10945 | variables. |
10946 | (RANGES_SECTION): New. | |
10947 | (dwarf_ranges_buffer): New variable. | |
10948 | (struct comp_unit_head): Add member "die". | |
10949 | (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size. | |
10950 | (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New. | |
10951 | (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size. | |
10952 | (dwarf2_locate_sections): Likewise. | |
10953 | (dwarf2_build_psymtabs): Read .debug_ranges. | |
10954 | (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out. | |
10955 | (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die. | |
10956 | (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers. | |
10957 | Look for DW_AT_ranges and return the bounding box. | |
10958 | ||
baa93fa6 CF |
10959 | 2003-01-29 Brian Ford <[email protected]> |
10960 | ||
10961 | * win32-nat.c (cygwin_pid): Removed as unused. | |
10962 | (child_attach): Try fall back to Cygwin pid. | |
10963 | ||
c63f977f JB |
10964 | 2003-01-29 Jim Blandy <[email protected]> |
10965 | ||
10966 | * objfiles.h (struct objfile): Doc fix. | |
10967 | ||
d62d1979 AC |
10968 | 2003-01-29 Andrew Cagney <[email protected]> |
10969 | ||
10970 | * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P. | |
10971 | (legacy_get_prev_frame): Assert FRAME_CHAIN_P. | |
10972 | (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame. | |
10973 | (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P. | |
10974 | * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate. | |
10975 | (FRAME_SAVED_PC): Change to a function with predicate. | |
10976 | * gdbarch.h, gdbarch.c: Re-generate. | |
10977 | ||
1ae18a04 AC |
10978 | 2003-01-28 Andrew Cagney <[email protected]> |
10979 | ||
52287340 AC |
10980 | * hppah-nat.c (child_pid_to_exec_file): Don't use boolean. |
10981 | ||
1ae18a04 AC |
10982 | * complaints.c (complain): Delete function. |
10983 | * complaints.h (struct deprecated_complaint): Delete definition. | |
10984 | (complain): Delete declaration. | |
10985 | ||
f2c16bd6 KB |
10986 | 2003-01-28 Kevin Buettner <[email protected]> |
10987 | ||
10988 | * mips-tdep.c (mips_init_extra_frame_info): Return early for | |
10989 | dummy frames. | |
10990 | ||
a94dd1fd AC |
10991 | 2003-01-27 Andrew Cagney <[email protected]> |
10992 | ||
10993 | * sentinel-frame.h, sentinel-frame.c: New files. | |
10994 | * Makefile.in (frame.o): Update dependencies. | |
10995 | (SFILES): Add sentinel-frame.c. | |
10996 | (sentinel_frame_h): Define. | |
10997 | (COMMON_OBS): Add sentinel-frame.o. | |
10998 | (sentinel-frame.o): Specify dependencies. | |
10999 | * frame.c: Include "sentinel-frame.h". | |
11000 | (frame_register_unwind): Rewrite assuming that there is always a a | |
11001 | ->next frame. | |
11002 | (frame_register, generic_unwind_get_saved_register): Ditto. | |
11003 | (frame_read_unsigned_register, frame_read_signed_register): Ditto. | |
11004 | (create_sentinel_frame, unwind_to_current_frame): New functions. | |
11005 | (get_current_frame): Rewrite using create_sentinel_frame and | |
11006 | unwind_to_current_frame. When possible, always create a frame. | |
11007 | (create_new_frame): Set next to the sentinel frame. | |
11008 | (get_next_frame): Rewrite. Don't go below the level 0 frame. | |
11009 | (deprecated_update_frame_pc_hack): Update the next frame's PC and | |
11010 | ID cache when necessary. | |
11011 | (frame_saved_regs_id_unwind): Use frame_relative_level. | |
11012 | (deprecated_generic_get_saved_register): Use frame_relative_level, | |
11013 | get_frame_saved_regs, get_frame_pc, get_frame_base and | |
11014 | get_next_frame. | |
11015 | (frame_saved_regs_register_unwind): Use get_frame_saved_regs and | |
11016 | frame_register. | |
11017 | ||
5378adc4 DJ |
11018 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
11019 | ||
11020 | * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments. | |
11021 | ||
51ee2ddc DJ |
11022 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
11023 | ||
11024 | * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] | |
11025 | (maintenance_set_profile_cmd): Use error () instead of warning (). | |
11026 | ||
d9feb4e7 DJ |
11027 | 2003-01-27 Daniel Jacobowitz <[email protected]> |
11028 | ||
11029 | * configure.in: Check that -pg works if using --enable-profiling. | |
11030 | Check for monstartup and _mcleanup regardless of --enable-profiling. | |
11031 | * maint.c: Check for monstartup and _mcleanup before using them. | |
11032 | * config.in: Regenerated. | |
11033 | * configure: Regenerated. | |
11034 | ||
2d188dd3 NC |
11035 | 2003-01-24 Nick Clifton <[email protected]> |
11036 | ||
11037 | * Add sh2e support: | |
11038 | ||
11039 | 2002-04-02 Elena Zannoni <[email protected]> | |
11040 | ||
11041 | * gdb/sh-tdep.c (sh_sh2e_register_name): New. | |
11042 | (sh2e_show_regs): New. | |
11043 | (sh_gdbarch_init): Handle bfd_mach_sh2e. | |
11044 | * config/sh/tm-sh.h: Added sh2e to comments. | |
11045 | ||
cb3c37b2 JB |
11046 | 2003-01-23 Jim Blandy <[email protected]> |
11047 | ||
11048 | * symfile.c (syms_from_objfile): Don't print the "(no debugging | |
11049 | symbols found)" message here; we haven't checked for a separate | |
11050 | debug info file yet, so we don't know yet. | |
11051 | (symbol_file_add_with_addrs_or_offsets): Print it here, after | |
11052 | we've looked everywhere. Also, there's no need to print a special | |
11053 | message when we're loading the separate debug info file: the one | |
11054 | symbol_file_add prints is fine. | |
11055 | ||
5b5d99cf JB |
11056 | 2003-01-23 Alexander Larsson <[email protected]> |
11057 | Jim Blandy <[email protected]> | |
11058 | ||
11059 | Add support for executables whose debug info has been separated | |
11060 | out into a separate file, leaving only a link behind. | |
11061 | * objfiles.h (struct objfile): New fields: separate_debug_objfile | |
11062 | and separate_debug_objfile_backlink. | |
11063 | (put_objfile_before): New declaration. | |
11064 | * symfile.c: #include "filenames.h". | |
11065 | (symbol_file_add_with_addrs_or_offsets): If this objfile has its | |
11066 | debug info in a separate file, read that, too. Save the addrs | |
11067 | argument, so we can use it again to read the separated debug info; | |
11068 | syms_from_objfile modifies the table we pass it. | |
11069 | (reread_symbols): After re-reading an objfile, call | |
11070 | reread_separate_symbols to refresh its separate debug info | |
11071 | objfile, if it has one. | |
11072 | (reread_separate_symbols, find_separate_debug_file, | |
11073 | get_debug_link_info, separate_debug_file_exists): New functions. | |
11074 | (debug_file_directory): New global var. | |
11075 | (_initialize_symfile): Initialize debug_file_directory, and | |
11076 | provide the new `set debug-file-directory' command to let the user | |
11077 | change it. | |
11078 | * objfiles.c (free_objfile): If this objfile has its debug info in | |
11079 | a separate objfile, free that one too. If this is itself a | |
11080 | separate debug info objfile, clear our parent's backlink. | |
11081 | (put_objfile_before): New function. | |
11082 | * utils.c (gnu_debuglink_crc32): New function. | |
11083 | * defs.h (gnu_debuglink_crc32): New declaration. | |
11084 | * Makefile.in (symfile.o): Note dependency on "filenames.h". | |
11085 | * configure.in: Handle --with-separate-debug-dir config option. | |
11086 | * acinclude.m4 (AC_DEFINE_DIR): New macro. | |
11087 | * acconfig.h (DEBUGDIR): New macro. | |
11088 | * configure, aclocal.m4, config.in: Regenerated. | |
11089 | ||
7e8580c1 JB |
11090 | 2003-01-22 Jim Blandy <[email protected]> |
11091 | ||
7904e09f JB |
11092 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New function, |
11093 | like the old symbol_file_add, but taking new arguments: you can | |
11094 | now pass in either a `struct section_addr_info' list to say where | |
11095 | each section is loaded, or a `struct section_offsets' table. Pass | |
11096 | these new arguments through to syms_from_objfile as appropriate. | |
8ffd9b1b | 11097 | (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, |
7904e09f JB |
11098 | with the appropriate quiescent values for the new arguments. |
11099 | ||
7e8580c1 JB |
11100 | * symfile.c: #include "gdb_assert.h". |
11101 | (syms_from_objfile): Add the ability to pass in a section offset | |
11102 | table directly, as an alternative to the section_addr_info table. | |
11103 | Document arguments better. | |
11104 | (symbol_file_add): Pass extra arguments to syms_from_objfile. | |
11105 | * symfile.h (syms_from_objfile): Update declaration. | |
11106 | * rs6000-nat.c (objfile_symbol_add): Pass new arguments to | |
11107 | syms_from_objfile. | |
11108 | * Makefile.in (symfile.o): List dependency on $(gdb_assert_h). | |
11109 | ||
d28f9cdf DJ |
11110 | 2003-01-22 Daniel Jacobowitz <[email protected]> |
11111 | ||
11112 | Original patch by Tom Tromey <[email protected]> and | |
11113 | Jason Molenda <[email protected]>. | |
11114 | * Makefile.in (PROFILE_CFLAGS): Substitute from configure. | |
11115 | (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS. | |
11116 | * NEWS: Mention profiling. | |
11117 | * configure.in (--enable-gdbtk): Fix typo. | |
11118 | (--enable-profiling): New. Set PROFILE_CFLAGS. | |
11119 | * maint.c (maintenance_set_profile_cmd): Remove NOTYET. | |
11120 | Fill in function. | |
11121 | (profiling_state): New variable. | |
11122 | (mcleanup_wrapper): New function. | |
11123 | (_initialize_maint): Remove NOTYET, fix call to | |
11124 | add_setshow_boolean_cmd for "maint set profile". | |
11125 | * configure: Regenerated. | |
11126 | ||
df21e465 MH |
11127 | 2003-01-21 Martin M. Hunt <[email protected]> |
11128 | ||
11129 | * Makefile.in (install-gdbtk): Install PNG images too. | |
11130 | ||
73c1f219 AC |
11131 | 2003-01-21 Andrew Cagney <[email protected]> |
11132 | ||
11133 | * exec.c (text_start): Delete global variable. | |
11134 | (exec_file_attach): Make text_start local to the function. | |
11135 | * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros. | |
11136 | * valops.c (hand_function_call): Delete code that handles | |
11137 | BEFORE_TEXT_END and AFTER_TEXT_END. | |
11138 | * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead | |
11139 | of CALL_DUMMY_LOCATION. | |
11140 | * gdbarch.c: Regenerate. | |
11141 | * inferior.h (deprecated_pc_in_call_dummy_before_text_end) | |
11142 | (deprecated_pc_in_call_dummy_after_text_end): Delete declaration. | |
11143 | * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) | |
11144 | (deprecated_pc_in_call_dummy_after_text_end): Delete functions. | |
11145 | (text_end): Delete extern declaration. | |
11146 | ||
eb4f72c5 AC |
11147 | 2003-01-21 Andrew Cagney <[email protected]> |
11148 | ||
11149 | * frame.h (FRAME_OBSTACK_ZALLOC): Define. | |
11150 | * blockframe.c (backtrace_below_main): Move to "frame.c". | |
11151 | (frame_chain_valid): Delete check for backtrace_below_main. | |
11152 | (_initialize_blockframe): Delete initialization, move ``set | |
11153 | backtrace-below-main'' command to "frame.c". | |
11154 | (do_flush_frames_sfunc): Delete function. | |
11155 | * frame.c: Include "command.h" and "gdbcmd.h". | |
11156 | (frame_type_from_pc): New function. | |
11157 | (create_new_frame): Use frame_type_from_pc. | |
11158 | (legacy_get_prev_frame): New function. | |
11159 | (get_prev_frame): Rewrite. When an old style frame, call | |
11160 | legacy_get_prev_frame. Otherwize, unwind the PC first. | |
11161 | (_initialize_frame): Add ``set backtrace-below-main'' command. | |
11162 | * Makefile.in (frame.o): Update dependencies. | |
11163 | ||
778ce8cc AC |
11164 | 2003-01-19 Andrew Cagney <[email protected]> |
11165 | ||
11166 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename | |
11167 | DEPRECATED_REGISTERS_INFO. | |
11168 | ||
01c193c8 AC |
11169 | 2003-01-19 Andrew Cagney <[email protected]> |
11170 | ||
11171 | * MAINTAINERS: Replace `Blanket Write Privs' with `Global | |
11172 | Maintainers'. Update `Various Maintainers'. | |
11173 | ||
dedc2a2b AC |
11174 | 2003-01-19 Andrew Cagney <[email protected]> |
11175 | ||
11176 | * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P. | |
11177 | * gdbarch.sh (POP_FRAME): Change to function with predicate. | |
11178 | Suppress actual parameters when `-'. | |
11179 | * gdbarch.h, gdbarch.c: Regenerate. | |
11180 | ||
b7261c70 AC |
11181 | 2003-01-19 Andrew Cagney <[email protected]> |
11182 | ||
11183 | * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore | |
11184 | code handling dummy frames. | |
11185 | ||
dbe9fe58 AC |
11186 | 2003-01-19 Andrew Cagney <[email protected]> |
11187 | ||
11188 | * frame-unwind.h (frame_unwind_pop_ftype): Declare. | |
11189 | (struct frame_unwind): Add field pop. | |
11190 | * frame.h (frame_pop): Declare. | |
11191 | * frame.c (frame_saved_regs_pop): New function. | |
11192 | (trad_frame_unwinder): Add frame_saved_regs_pop. | |
11193 | (frame_pop): New function. | |
11194 | * dummy-frame.c (dummy_frame_pop): New function. | |
11195 | (discard_innermost_dummy): New function. | |
11196 | (generic_pop_dummy_frame): Use discard_innermost_dummy. | |
11197 | (dummy_frame_unwind): Add dummy_frame_pop. | |
11198 | * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME. | |
11199 | * valops.c (hand_function_call): Ditto. | |
11200 | * stack.c (return_command): Ditto. | |
11201 | ||
570b8f7c AC |
11202 | 2003-01-18 Andrew Cagney <[email protected]> |
11203 | ||
11204 | * cris-tdep.c: Fix function declaration indentation. | |
11205 | * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. | |
11206 | * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. | |
11207 | * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. | |
11208 | * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. | |
11209 | * xcoffread.c, config/pa/tm-hppa.h: Ditto. | |
11210 | * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto. | |
11211 | ||
11212 | 2003-01-18 Michael Chastain <[email protected]> | |
eaec4d85 MC |
11213 | |
11214 | * README (Unpacking and Installation -- quick overview): | |
11215 | Warn against ".../gdb-5.3/gdb/configure". | |
11216 | ||
494cca16 AC |
11217 | 2003-01-18 Andrew Cagney <[email protected]> |
11218 | ||
11219 | * dummy-frame.h (dummy_frame_id_unwind): Delete declaration. | |
11220 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
11221 | (struct frame_unwind): Declare opaque. | |
11222 | (dummy_frame_p): Declare function. | |
11223 | * dummy-frame.c (dummy_frame_id_unwind): Make static. | |
11224 | (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto. | |
11225 | * dummy-frame.c: Include "frame-unwind.h". | |
11226 | (dummy_frame_p): New function. | |
11227 | (dummy_frame_unwind): New variable. | |
11228 | * frame.c: Include "frame-unwind.h". | |
11229 | (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update | |
11230 | to use the new unwind field. | |
11231 | (set_unwind_by_pc): Delete function. | |
11232 | (create_new_frame, get_prev_frame): Set unwind field using | |
11233 | frame_unwind_find_by_pc. | |
11234 | (trad_frame_unwind, trad_frame_unwinder): New variables. | |
11235 | * frame.h (trad_frame_unwind): Declare variable. | |
11236 | (frame_id_unwind_ftype): Delete declaration. | |
11237 | (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto. | |
11238 | (struct frame_unwind): Declare opaque. | |
11239 | (struct frame_info): Replace the fields id_unwind, pc_unwind and | |
11240 | register_unwind with a single unwind pointer. | |
11241 | * frame-unwind.h, frame-unwind.c: New files. | |
11242 | * Makefile.in (SFILES): Add frame-unwind.c. | |
11243 | (frame_unwind_h): Define. | |
11244 | (COMMON_OBS): Add frame-unwind.o. | |
11245 | (frame-unwind.o): Specify dependencies. | |
11246 | (frame.o, dummy-frame.o): Update dependencies. | |
8ffd9b1b | 11247 | |
4efb68b1 AC |
11248 | 2003-01-18 Andrew Cagney <[email protected]> |
11249 | ||
11250 | * ada-valprint.c: Eliminate PTR. | |
11251 | * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto. | |
11252 | * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto. | |
11253 | * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto. | |
11254 | * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto. | |
11255 | * remote-mips.c, remote-sds.c, remote-vx.c: Ditto. | |
11256 | * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto. | |
11257 | * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto. | |
8ffd9b1b | 11258 | |
a84d24ee AC |
11259 | 2003-01-17 Andrew Cagney <[email protected]> |
11260 | ||
762f08a3 AC |
11261 | * main.c (captured_main): Don't use PTR. |
11262 | * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. | |
11263 | * gdbtypes.c (lookup_primitive_typename): Ditto. | |
11264 | (lookup_struct_elt_type): Ditto. | |
11265 | * f-valprint.c (info_common_command): Ditto. | |
11266 | (list_all_visible_commons): Ditto. | |
11267 | * jv-typeprint.c (java_type_print_base): Ditto. | |
11268 | ||
a84d24ee AC |
11269 | * config/djgpp/fnchange.lst: Rename mi1-var-block.exp, |
11270 | mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. | |
11271 | Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename | |
11272 | i386-interix-nat.c and i386-interix-tdep.c. Rename | |
11273 | m68klinux-nat.c and m68klinux-tdep.c. Rename | |
11274 | config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename | |
11275 | bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename | |
11276 | gdb/objc-exp.tab.c and gdb/ada-exp.tab.c | |
11277 | * main.c (captured_main): Use xfree, not free. | |
11278 | ||
c170fb60 AC |
11279 | 2003-01-16 Andrew Cagney <[email protected]> |
11280 | ||
11281 | * frame.h (frame_id_unwind_ftype): Change type so that the frame's | |
11282 | ID back using a parameter. | |
11283 | * frame.c (frame_id_unwind): Update call. | |
11284 | (frame_saved_regs_id_unwind): Update. | |
11285 | * dummy-frame.c (dummy_frame_id_unwind): Update function. | |
11286 | * dummy-frame.h (struct frame_id): Add opaque declaration. | |
11287 | (dummy_frame_id_unwind): Update declaration. | |
11288 | ||
867f3898 AC |
11289 | 2003-01-15 Andrew Cagney <[email protected]> |
11290 | ||
11291 | * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK. | |
11292 | ||
40622be8 | 11293 | 2003-01-15 Stephen P. Smith <[email protected]> |
de3a8c23 | 11294 | |
40622be8 | 11295 | * MAINTAINERS (Stephen P. Smith): Updated email address. |
de3a8c23 | 11296 | |
ae66c1fc EZ |
11297 | 2003-01-14 Elena Zannoni <[email protected]> |
11298 | ||
997b089a | 11299 | Fix PR gdb/898 |
ae66c1fc EZ |
11300 | * breakpoint.c (until_break_command): Add new argument. Use it to |
11301 | decide whether to stop only at the current frame or not. | |
11302 | * breakpoint.h (until_break_command): Update prototype. | |
8ffd9b1b | 11303 | * infcmd.c (until_command): Add new argument to until_break_command |
ae66c1fc EZ |
11304 | call. |
11305 | (advance_command): New function. | |
11306 | (_initialize_infcmd): Update help string for 'until' command. | |
11307 | Add new 'advance' command. | |
11308 | ||
a04257e6 DC |
11309 | 2003-01-14 David Carlton <[email protected]> |
11310 | ||
11311 | * linespec.c (decode_line_1): Normalize comments. | |
11312 | (set_flags): Ditto. | |
11313 | (locate_first_half): Ditto. | |
11314 | (decode_compound): Ditto. | |
11315 | (symtab_from_filename): Ditto. | |
11316 | (decode_all_digits): Ditto. | |
11317 | (decode_dollar): Ditto. | |
11318 | (find_methods): Ditto. | |
11319 | (find_toplevel_char): Ditto. | |
11320 | ||
1bac305b AC |
11321 | 2003-01-13 Andrew Cagney <[email protected]> |
11322 | ||
11323 | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. | |
11324 | * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. | |
11325 | * elfread.c, eval.c, expprint.c, expression.h: Update copyright. | |
11326 | * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. | |
11327 | * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. | |
11328 | * language.c, language.h, m32r-tdep.c: Update copyright. | |
11329 | * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. | |
11330 | * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. | |
11331 | * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. | |
11332 | * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. | |
11333 | * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. | |
11334 | * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. | |
11335 | ||
25caa7a8 EZ |
11336 | 2003-01-13 Elena Zannoni <[email protected]> |
11337 | ||
11338 | * stabsread.h (process_later, resolve_cfront_continuation): | |
11339 | Obsolete. | |
11340 | Update copyright years. | |
11341 | * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront. | |
11342 | Update copyright year. | |
11343 | * dbxread.c(struct cont_elem): Obsolete. | |
8ffd9b1b | 11344 | (process_later, process_now): Obsolete functions. |
25caa7a8 EZ |
11345 | (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support. |
11346 | Update copyright year. | |
11347 | * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros. | |
11348 | (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions. | |
11349 | * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront. | |
11350 | (parse_partial_symbols): Obsolete cfront support. | |
11351 | * stabsread.c | |
11352 | (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete | |
11353 | macros. | |
11354 | (get_substring, get_cfront_method_physname, msg_unknown_complaint, | |
11355 | read_cfront_baseclasses, read_cfront_member_functions, | |
11356 | resolve_cfront_continuation,read_cfront_static_fields, | |
11357 | copy_cfront_struct_fields): Obsolete functions. | |
11358 | (define_symbol, read_one_struct_field): Obsolete cfront support. | |
11359 | * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support. | |
11360 | Update Copyright year. | |
11361 | ||
7789c6f5 EZ |
11362 | 2003-01-13 Elena Zannoni <[email protected]> |
11363 | ||
11364 | * stack.c (print_frame_info, print_stack_frame_base_stub, | |
11365 | print_stack_frame_base, show_and_print_stack_frame_stub, | |
11366 | show_and_print_stack_frame, print_only_stack_frame_stub, | |
11367 | print_only_stack_frame): Delete functions. | |
11368 | (print_stack_frame_stub): Call print_frame_info instead of | |
11369 | print_frame_info_base. | |
11370 | (print_frame_info_base): Rename to print_frame_info. | |
11371 | (backtrace_command_1): Call print_frame_info, instead of | |
11372 | print_frame_info_base. | |
11373 | (current_frame_command): Call print_stack_frame, instead of | |
11374 | print_only_stack_frame. | |
11375 | (frame_command): Call print_stack_frame, instead of | |
11376 | show_and_print_stack_frame. | |
11377 | (up_command): Ditto. | |
11378 | (down_command): Ditto. | |
11379 | * frame.h (print_only_stack_frame): Delete prototype. | |
11380 | * infrun.c (normal_stop): Call print_stack_frame, instead of | |
11381 | show_and_print_stack_frame. | |
11382 | * thread.c (info_threads_command): Call print_stack_frame, instead | |
11383 | of print_only_stack_frame. | |
11384 | ||
3f5a3016 AC |
11385 | 2003-01-13 Andrew Cagney <[email protected]> |
11386 | ||
d99ba314 AC |
11387 | * README (Graphical interface to GDB): Update URL. Point at |
11388 | gdb/links/. | |
11389 | ||
3f5a3016 AC |
11390 | * gdb_indent.sh: Update to version 2.2.9. Warn when not exact |
11391 | version match. | |
11392 | ||
083ae935 DJ |
11393 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11394 | ||
11395 | * symtab.c (find_pc_sect_line): Don't consider end-of-function | |
11396 | lines. | |
11397 | ||
5365276c DJ |
11398 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11399 | ||
11400 | * thread-db.c (attach_thread): Prototype. | |
11401 | (struct private_thread_info): Remove lwpid. Add thread handle (th), | |
11402 | thread information (ti), and valid flags (th_valid, ti_valid). | |
11403 | (attach_thread): Move target_pid_to_str call to after the thread | |
11404 | is added to GDB's list. Initialize the cache. | |
11405 | (thread_get_info_callback, thread_db_map_id2thr) | |
11406 | (thread_db_get_info): New functions. | |
11407 | (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers) | |
11408 | (thread_db_store_registers, thread_db_thread_alive) | |
11409 | (thread_db_get_thread_local_address): Use them. | |
11410 | (thread_db_pid_to_str): Likewise. Return "Missing" instead | |
11411 | of calling error() for threads in unknown state. | |
11412 | ||
11413 | (clear_lwpid_callback): New function. | |
11414 | (thread_db_resume): Use it to clear the cache. | |
11415 | ||
9fc30b6b DJ |
11416 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11417 | ||
11418 | * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove. | |
11419 | (resume_callback): Remove dead code. | |
11420 | ||
8f871025 AC |
11421 | 2003-01-13 Andrew Cagney <[email protected]> |
11422 | ||
11423 | * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with | |
11424 | predicate. | |
11425 | * gdbarch.h, gdbarch.c: Regenerate. | |
11426 | * stack.c (frame_info): Only initialize the saved registers when | |
11427 | FRAME_INIT_SAVED_REGS_P. | |
11428 | * frame.c (frame_saved_regs_register_unwind): Assert | |
11429 | FRAME_INIT_SAVED_REGS_P. | |
11430 | (deprecated_generic_get_saved_register): Ditto. | |
11431 | ||
3f565f1e DJ |
11432 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11433 | ||
11434 | * source.c (openp): Squelch warning about "filename". | |
11435 | ||
072b1022 DJ |
11436 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11437 | ||
11438 | * source.c (openp): If the file does not exist don't necessarily | |
11439 | search the path. | |
11440 | ||
973ccf8b DJ |
11441 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11442 | ||
11443 | Fix PR gdb/872. | |
11444 | * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
11445 | (integer_types_same_name_p): New function. | |
11446 | (rank_one_type): Use it. | |
11447 | * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN. | |
11448 | ||
030292b7 DJ |
11449 | 2003-01-13 Daniel Jacobowitz <[email protected]> |
11450 | ||
11451 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New | |
11452 | variables. | |
11453 | (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE). | |
11454 | * configure.in: Add --with-sysroot. | |
11455 | * configure: Regenerated. | |
11456 | * main.c (gdb_sysroot): New variable. | |
11457 | (captured_main): Initialize gdb_sysroot. | |
11458 | * defs.h (gdb_sysroot): New extern declaration. | |
11459 | * solib.c (_initialize_solib): Initialize solib_absolute_prefix. | |
11460 | ||
afb5d334 MC |
11461 | 2003-01-12 Michael Chastain <[email protected]> |
11462 | ||
11463 | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002. | |
11464 | ||
751ceeb4 MC |
11465 | 2003-01-12 Michael Chastain <[email protected]> |
11466 | ||
11467 | * top.c (print_gdb_version): Bump copyright year to 2003. | |
11468 | ||
94cd26f8 DC |
11469 | 2003-01-12 David Carlton <[email protected]> |
11470 | ||
11471 | * linespec.c (symtab_from_filename): Rename variable 's' to | |
11472 | 'file_symtab'. | |
11473 | ||
1ce79225 AC |
11474 | 2003-01-12 Andrew Cagney <[email protected]> |
11475 | ||
11476 | * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a | |
11477 | dummy frame. | |
11478 | (d10v_frame_saved_pc, d10v_frame_chain): Ditto. | |
11479 | ||
fa1fd571 AC |
11480 | 2003-01-12 Andrew Cagney <[email protected]> |
11481 | ||
11482 | * d10v-tdep.c: Include "gdb_assert.h". | |
11483 | (d10v_store_return_value): Rewrite to match current interface. | |
11484 | (d10v_extract_struct_value_address): Ditto. | |
11485 | (d10v_extract_return_value): Ditto. | |
11486 | (d10v_gdbarch_init): Set store_restore_value, | |
11487 | extract_struct_value_address and extract_return_value. | |
11488 | ||
68b8d23e JB |
11489 | 2003-01-12 J. Brobecker <[email protected]> |
11490 | ||
11491 | * hpread.c (set_namestring): New procedure replacing the | |
11492 | SET_NAMESTRING macro. | |
11493 | (hpread_build_psymtabs): Replace calls to SET_NAMESTRING | |
11494 | by calls to set_namestring. | |
11495 | ||
11496 | 2003-01-11 J. Brobecker <[email protected]> | |
1fb309ea JB |
11497 | |
11498 | * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix | |
11499 | a compilation warning. | |
11500 | (hpread_process_one_debug_symbol): Likewise. | |
11501 | ||
88d262ca DC |
11502 | 2003-01-10 David Carlton <[email protected]> |
11503 | ||
11504 | * linespec.c (decode_line_1): Rename variable 's' to | |
11505 | 'file_symtab'. | |
11506 | (decode_all_digits): Rename argument 's' to 'file_symtab'. | |
11507 | (decode_dollar): Ditto. | |
11508 | (decode_variable): Ditto. | |
11509 | (symbol_found): Ditto. | |
11510 | ||
86669319 MC |
11511 | 2003-01-09 Michael Chastain <[email protected]> |
11512 | ||
11513 | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++. | |
11514 | ||
616a9dc4 CV |
11515 | 2003-01-07 Corinna Vinschen <[email protected]> |
11516 | ||
11517 | * win32-nat.c (set_process_privilege): New function. | |
11518 | (child_attach): Call set_process_privilege() to enable the | |
11519 | SE_DEBUG_NAME user privilege if available in process token. | |
11520 | ||
3269bcfa JB |
11521 | 2003-01-10 J. Brobecker <[email protected]> |
11522 | ||
11523 | * hpread.c (hpread_process_one_debug_symbol): Fix a small | |
11524 | compilation error in the previous revision. | |
11525 | ||
2b0ee454 DC |
11526 | 2003-01-09 David Carlton <[email protected]> |
11527 | ||
11528 | * linespec.c: Update copyright. | |
11529 | ||
b3ba1b44 DJ |
11530 | 2003-01-09 Daniel Jacobowitz <[email protected]> |
11531 | ||
11532 | * lin-lwp.c (child_wait): Ignore exit statuses for processes other | |
11533 | than inferior_ptid. | |
11534 | (lin_lwp_wait): Ignore exit statuses for unknown LWPs. | |
11535 | ||
4ef3f3be AC |
11536 | 2003-01-09 Andrew Cagney <[email protected]> |
11537 | ||
479ab5a0 AC |
11538 | * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc. |
11539 | Update comments. | |
11540 | * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc. | |
11541 | (frame_saved_regs_zalloc): Update. | |
11542 | (frame_saved_regs_register_unwind): Update. | |
11543 | (create_new_frame): Update. | |
11544 | (get_prev_frame): Update. | |
11545 | (frame_extra_info_zalloc): Update. | |
11546 | (deprecated_get_frame_saved_regs): Update. | |
11547 | * dwarf2cfi.c (cfi_init_extra_frame_info): Update. | |
11548 | * cris-tdep.c: Update comment. | |
11549 | ||
bde58177 AC |
11550 | * somsolib.h: Fix function indentation. |
11551 | * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. | |
11552 | * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. | |
11553 | * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. | |
11554 | * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. | |
11555 | * somsolib.c, inftarg.c: Remove assignment in if conditional. | |
11556 | ||
4ef3f3be AC |
11557 | * infrun.c (follow_fork): Use ISO C definition. |
11558 | * expprint.c (print_subexp): Use xfree instead of free. | |
11559 | * charset.c: Include "gdb_string.h" instead of <string.h>. | |
11560 | (register_iconv_charsets): Use ISO C definition. | |
11561 | (host_charset, target_charset): Ditto. | |
11562 | * Makefile.in (charset.o): Update dependencies. | |
11563 | (mi-cmd-env.o): Update dependencies. | |
11564 | ||
1c615f7a AC |
11565 | 2003-01-08 Andrew Cagney <[email protected]> |
11566 | ||
11567 | * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use | |
11568 | get_frame_base. | |
11569 | ||
c9a1dc08 AC |
11570 | 2003-01-08 Andrew Cagney <[email protected]> |
11571 | ||
11572 | * gdb_mbuild.sh: Add --keep option. When specified, keep the | |
11573 | build directories. Save edited gdb output in Mbuild.log. If a | |
11574 | build fails, remove any final GDB executable. | |
11575 | ||
dbad9d94 AC |
11576 | 2003-01-08 Andrew Cagney <[email protected]> |
11577 | ||
11578 | * gdb_mbuild.sh: Edit the output of `maint print architecture' | |
11579 | replacing hex constants with function names and stripping leading | |
11580 | file name directory prefixes. | |
11581 | ||
8d357cca AC |
11582 | 2003-01-08 Andrew Cagney <[email protected]> |
11583 | ||
11584 | * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and | |
11585 | get_frame_base. | |
11586 | ||
bca02a8a DC |
11587 | 2003-01-08 David Carlton <[email protected]> |
11588 | ||
11589 | * linespec.c (decode_line_1): Move code into decode_variable. | |
11590 | (decode_variable): New function. | |
11591 | ||
7f8ab3a0 AC |
11592 | 2003-01-08 Andrew Cagney <[email protected]> |
11593 | ||
11594 | * mn10300-tdep.c (analyze_dummy_frame): Fix typo. | |
11595 | ||
7b5849cc AC |
11596 | 2003-01-08 Andrew Cagney <[email protected]> |
11597 | ||
11598 | * cris-tdep.c (cris_frame_init_saved_regs): Use | |
11599 | get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a | |
11600 | saved_regs buffer. | |
11601 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. | |
11602 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
11603 | (sh_fp_frame_init_saved_regs): Ditto. | |
11604 | * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. | |
11605 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
11606 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
11607 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
11608 | ||
72a5efb3 DJ |
11609 | 2003-01-08 Daniel Jacobowitz <[email protected]> |
11610 | ||
11611 | * minsyms.c (lookup_minimal_symbol): Update comment. | |
11612 | (lookup_minimal_symbol_text): Update comment. Use the hash table. | |
11613 | (lookup_minimal_symbol_solib_trampoline): Likewise. | |
11614 | ||
11c02a10 AC |
11615 | 2003-01-08 Andrew Cagney <[email protected]> |
11616 | ||
aab3ea25 AC |
11617 | * d10v-tdep.c (d10v_init_extra_frame_info): Use |
11618 | frame_relative_level. | |
11619 | ||
da50a4b7 AC |
11620 | * alpha-tdep.c: Use get_frame_extra_info. |
11621 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11622 | * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. | |
11623 | * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
11624 | * sparc-tdep.c, xstormy16-tdep.c: Ditto. | |
11625 | ||
11c02a10 AC |
11626 | * alpha-tdep.c: Use get_next_frame. |
11627 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11628 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
11629 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. | |
11630 | * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. | |
11631 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. | |
11632 | * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. | |
11633 | * xstormy16-tdep.c: Ditto. | |
8ffd9b1b | 11634 | |
1e2330ba AC |
11635 | 2003-01-07 Andrew Cagney <[email protected]> |
11636 | ||
11637 | * alpha-tdep.c: Use get_frame_base. | |
11638 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
11639 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
11640 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
11641 | * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. | |
11642 | * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. | |
11643 | * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
11644 | * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. | |
11645 | * config/sparc/tm-sparc.h: Ditto. | |
8ffd9b1b | 11646 | |
2d75187b AC |
11647 | 2003-01-07 Andrew Cagney <[email protected]> |
11648 | ||
11649 | * frame.c (deprecated_get_frame_context): New function. | |
11650 | (deprecated_set_frame_context): New function. | |
11651 | * frame.h (deprecated_get_frame_context): Declare. | |
11652 | (deprecated_set_frame_context): Declare. | |
11653 | * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. | |
11654 | (cfi_init_extra_frame_info): Use deprecated_set_frame_context. | |
8ffd9b1b | 11655 | |
483d36b2 AC |
11656 | 2003-01-07 Andrew Cagney <[email protected]> |
11657 | ||
11658 | * frame.c (deprecated_set_frame_next_hack): New function. | |
11659 | (deprecated_set_frame_prev_hack): New function. | |
11660 | * frame.h (deprecated_set_frame_next_hack): Declare. | |
11661 | (deprecated_set_frame_prev_hack): Declare. | |
11662 | * mcore-tdep.c (analyze_dummy_frame): Use | |
11663 | deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. | |
11664 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
11665 | ||
14e91ac5 DC |
11666 | 2003-01-07 David Carlton <[email protected]> |
11667 | ||
11668 | * linespec.c (decode_line_1): Move code into decode_dollar. | |
11669 | (decode_dollar): New function. | |
11670 | ||
b0c6b05c AC |
11671 | 2003-01-07 Andrew Cagney <[email protected]> |
11672 | ||
11673 | * arm-tdep.c (arm_init_extra_frame_info): Use | |
11674 | deprecated_update_frame_base_hack. | |
11675 | * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. | |
11676 | * mn10300-tdep.c (analyze_dummy_frame): Ditto. | |
11677 | (fix_frame_pointer): Ditto. | |
11678 | (mn10300_analyze_prologue): Ditto. | |
11679 | ||
a00a19e9 AC |
11680 | 2003-01-07 Andrew Cagney <[email protected]> |
11681 | ||
11682 | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate | |
11683 | extra_info using frame_extra_info_zalloc. | |
11684 | * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. | |
11685 | * sh-tdep.c (sh_init_extra_frame_info): Ditto. | |
11686 | (sh64_init_extra_frame_info): Ditto. | |
11687 | * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. | |
11688 | * s390-tdep.c (s390_init_extra_frame_info): Ditto. | |
11689 | * mips-tdep.c (mips_init_extra_frame_info): Ditto. | |
11690 | * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. | |
11691 | * frv-tdep.c (frv_init_extra_frame_info): Ditto. | |
11692 | * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. | |
11693 | * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. | |
11694 | * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. | |
11695 | * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. | |
11696 | * cris-tdep.c (cris_init_extra_frame_info): Ditto. | |
11697 | * arm-tdep.c (arm_init_extra_frame_info): Ditto. | |
11698 | * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. | |
11699 | ||
11700 | * mn10300-tdep.c (analyze_dummy_frame): Use | |
11701 | deprecated_set_frame_extra_info_hack. | |
11702 | * mcore-tdep.c (analyze_dummy_frame): Ditto. | |
11703 | ||
1fb4c65b JB |
11704 | 2003-01-07 J. Brobecker <[email protected]> |
11705 | ||
11706 | * mdebugread.c (parse_symbol): Skip stProc entries which storage | |
11707 | class is not scText. These do not define "real" procedures. | |
11708 | (parse_partial_symbols): Likewise. | |
11709 | ||
9fe7d6bf MS |
11710 | 2003-01-06 Michael Snyder <[email protected]> |
11711 | ||
11712 | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. | |
11713 | ||
f6c609c4 AC |
11714 | 2003-01-06 Andrew Cagney <[email protected]> |
11715 | ||
11716 | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. | |
11717 | * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. | |
11718 | * arm-tdep.c (arm_frame_chain): Allocate caller_fi using | |
11719 | deprecated_frame_xmalloc_with_cleanup. | |
11720 | * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using | |
11721 | deprecated_frame_xmalloc. | |
11722 | * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. | |
11723 | * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame. | |
11724 | ||
d995ff4b AC |
11725 | 2003-01-06 Andrew Cagney <[email protected]> |
11726 | ||
84dc46cb AC |
11727 | * x86-64-linux-tdep.c: Include "osabi.h". |
11728 | * Makefile.in (x86-64-linux-tdep.o): Update dependencies. | |
11729 | ||
d995ff4b AC |
11730 | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach. |
11731 | ||
66140c26 AC |
11732 | 2003-01-06 Andrew Cagney <[email protected]> |
11733 | ||
11734 | * MAINTAINERS (Target Instruction Set Architectures): Update | |
11735 | arm-elf. Can be built with -Werror, has been multiarched. | |
11736 | ||
11737 | * value.h (unpack_long): Make buffer parameter constant. | |
11738 | (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. | |
11739 | * scm-lang.h (scm_parse): Ditto. | |
11740 | * defs.h (extract_typed_address, extract_address): Ditto. | |
11741 | (extract_long_unsigned_integer): Ditto. | |
11742 | * inferior.h (unsigned_pointer_to_address): Ditto. | |
11743 | (signed_pointer_to_address): Ditto. | |
11744 | * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. | |
11745 | * gdbarch.h, gdbarch.c: Regenerate. | |
11746 | * findvar.c (extract_long_unsigned_integer): Update. | |
11747 | (extract_address): Update. | |
11748 | (extract_typed_address): Update. | |
11749 | (unsigned_pointer_to_address): Update. | |
11750 | * values.c (unpack_long): Update. | |
11751 | (unpack_double): Update. | |
11752 | (unpack_pointer): Update. | |
11753 | (unpack_field_as_long): Update. | |
11754 | * d10v-tdep.c (d10v_pointer_to_address): Update. | |
11755 | * avr-tdep.c (avr_pointer_to_address): Update. | |
11756 | * scm-lang.c (scm_unpack): Update. | |
11757 | * findvar.c (signed_pointer_to_address): Update. | |
11758 | ||
b089b3da ML |
11759 | 2003-01-06 Michal Ludvig <[email protected]> |
11760 | ||
8ffd9b1b | 11761 | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore |
b089b3da ML |
11762 | since it is in i386-tdep.c. |
11763 | ||
aff87235 JB |
11764 | 2003-01-06 J. Brobecker <[email protected]> |
11765 | ||
11766 | * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation | |
11767 | failure introduced in the previous change. | |
11768 | ||
34f5e845 MC |
11769 | 2003-01-05 Michael Chastain <[email protected]> |
11770 | ||
11771 | * README: Remove references to deleted remote-*.c files: | |
11772 | remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, | |
11773 | remote-nrom.c, remote-os9k.c, remote-udi.c. | |
11774 | ||
28bcfd30 MK |
11775 | 2003-01-05 Mark Kettenis <[email protected]> |
11776 | ||
11777 | * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64. | |
11778 | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about | |
11779 | i386_get_longjmp_target. | |
11780 | ||
15a5b3ee AC |
11781 | 2003-01-05 Andrew Cagney <[email protected]> |
11782 | ||
11783 | * arm-tdep.c (prologue_cache): Change to a pointer. | |
11784 | (_initialize_arm_tdep): Allocate prologue_cache. | |
11785 | (check_prologue_cache): Update. | |
11786 | (save_prologue_cache): Update. | |
11787 | (arm_gdbarch_init): Update. | |
11788 | ||
c263362b DJ |
11789 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11790 | ||
11791 | * stabsread.c (update_method_name_from_physname): Call complaint() | |
11792 | instead of error. | |
11793 | ||
51603483 DJ |
11794 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11795 | ||
11796 | * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. | |
11797 | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. | |
11798 | * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. | |
11799 | ||
11800 | * blockframe.c: Include "gdbcmd.h" and "command.h". | |
11801 | (backtrace_below_main): New variable. | |
11802 | (file_frame_chain_valid, func_frame_chain_valid) | |
11803 | (nonnull_frame_chain_valid, generic_file_frame_chain_valid) | |
11804 | (generic_func_frame_chain_valid): Remove functions. | |
11805 | (frame_chain_valid, do_flush_frames_sfunc): New functions. | |
11806 | (_initialize_blockframe): New function. | |
11807 | * Makefile.in (blockframe.o): Update dependencies. | |
11808 | * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME | |
11809 | comment. Call frame_chain_valid (). | |
11810 | * frame.h: Remove old prototypes. Add prototype for | |
11811 | frame_chain_valid and update comments to match. | |
11812 | * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. | |
11813 | Remove old comment. | |
11814 | * gdbarch.h: Regenerated. | |
11815 | * gdbarch.c: Regenerated. | |
11816 | ||
11817 | * alpha-tdep.c (alpha_gdbarch_init): Don't call | |
11818 | set_gdbarch_frame_chain_valid. | |
11819 | * avr-tdep.c (avr_gdbarch_init): Likewise. | |
11820 | * cris-tdep.c (cris_gdbarch_init): Likewise. | |
11821 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
11822 | * h8300-tdep.c (h8300_gdbarch_init): Likewise. | |
11823 | * i386-tdep.c (i386_svr4_init_abi): Likewise. | |
11824 | (i386_nw_init_abi): Likewise. | |
11825 | (i386_gdbarch_init): Likewise. | |
11826 | * ia64-tdep.c (ia64_gdbarch_init): Likewise. | |
11827 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
11828 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
11829 | * mcore-tdep.c (mcore_gdbarch_init): Likewise. | |
11830 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
11831 | * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. | |
11832 | * ns32k-tdep.c (ns32k_gdbarch_init): Likewise. | |
11833 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise. | |
11834 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
11835 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
11836 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
11837 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
11838 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
11839 | * vax-tdep.c (vax_gdbarch_init): Likewise. | |
11840 | * x86-64-tdep.c (x86_64_init_abi): Likewise. | |
11841 | ||
11842 | * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define. | |
11843 | * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise. | |
11844 | * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise. | |
11845 | * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise. | |
11846 | * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise. | |
11847 | * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise. | |
11848 | * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise. | |
11849 | * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise. | |
11850 | ||
b00a8037 DJ |
11851 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
11852 | ||
11853 | * Makefile.in (acconfig_h): Remove incorrect macro. | |
11854 | (config_h): Define. | |
11855 | (osabi.o): Update dependencies. | |
11856 | * configure.tgt: Set gdb_osabi based on target triplet. | |
11857 | * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. | |
11858 | * configure: Regenerated. | |
11859 | * config.in: Regenerated. | |
11860 | * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". | |
11861 | (GDB_OSABI_DEFAULT): Define if not already defined. | |
11862 | (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) | |
11863 | (set_osabi_string): New variables. | |
11864 | (gdbarch_register_osabi): Add new OS ABI to | |
11865 | gdb_osabi_available_names. | |
11866 | (gdbarch_lookup_osabi): Honor specified and default OS ABIs. | |
11867 | (set_osabi, show_osabi): New functions. | |
11868 | (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands. | |
11869 | ||
4be87837 DJ |
11870 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11871 | ||
11872 | * arch-utils.c (gdbarch_info_init): Set osabi to | |
11873 | GDB_OSABI_UNINITIALIZED. | |
11874 | * gdbarch.sh: Add osabi to struct gdbarch and to struct | |
11875 | gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi | |
11876 | in gdbarch_list_lookup_by_info and in gdbarch_update_p. | |
11877 | * gdbarch.c: Regenerated. | |
11878 | * gdbarch.h: Regenerated. | |
11879 | * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if | |
11880 | there's no BFD. | |
11881 | (gdbarch_init_osabi): Remove osabi argument; use info.osabi. | |
11882 | * osabi.h (enum gdb_osabi): Move to defs.h. | |
11883 | (gdbarch_init_osabi): Update prototype. | |
11884 | * defs.h (enum gdb_osabi): Moved here. | |
11885 | * Makefile.in: Update dependencies. | |
11886 | ||
11887 | * alpha-tdep.h: Don't include "osabi.h". | |
11888 | (struct gdbarch_tdep): Remove osabi member. | |
11889 | * alpha-tdep.c: Include "osabi.h". | |
11890 | (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11891 | iterate over arches. Update call to gdbarch_init_osabi. | |
11892 | (alpha_dump_tdep): Don't dump osabi. | |
11893 | * alpha-linux-tdep.c: Include "osabi.h". | |
11894 | * alpha-osf1-tdep.c: Include "osabi.h". | |
11895 | * alphafbsd-tdep.c: Include "osabi.h". | |
11896 | * alphanbsd-tdep.c: Include "osabi.h". | |
11897 | ||
11898 | * arm-tdep.h: Don't include "osabi.h". | |
11899 | (struct gdbarch_tdep): Remove osabi member. | |
11900 | * arm-tdep.c: Include "osabi.h". | |
11901 | (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11902 | iterate over arches. Update call to gdbarch_init_osabi. | |
11903 | (arm_dump_tdep): Don't dump osabi. | |
11904 | * arm-linux-tdep.c: Include "osabi.h". | |
11905 | * armnbsd-tdep.c: Include "osabi.h". | |
11906 | ||
11907 | * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi. | |
11908 | Update call to gdbarch_init_osabi. | |
11909 | ||
11910 | * i386-tdep.h: Don't include "osabi.h". | |
11911 | (struct gdbarch_tdep): Remove osabi member. | |
11912 | * i386-tdep.c: Include "osabi.h". | |
11913 | (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11914 | iterate over arches. Update call to gdbarch_init_osabi. | |
11915 | (i386_dump_tdep): Don't dump osabi. | |
11916 | * i386-linux-tdep.c: Include "osabi.h". | |
11917 | * i386-sol2-tdep.c: Include "osabi.h". | |
11918 | * i386bsd-tdep.c: Include "osabi.h". | |
11919 | * i386gnu-tdep.c: Include "osabi.h". | |
11920 | * i386ly-tdep.c: Include "osabi.h". | |
11921 | * i386nbsd-tdep.c: Include "osabi.h". | |
11922 | * i386obsd-tdep.c: Include "osabi.h". | |
11923 | ||
11924 | * mips-tdep.c (struct gdbarch_tdep): Remove osabi member. | |
11925 | (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11926 | check osabi when iterating over arches. Update call to | |
11927 | gdbarch_init_osabi. | |
11928 | (mips_dump_tdep): Don't dump osabi. | |
11929 | ||
11930 | * ns32k-tdep.h: Don't include "osabi.h". | |
11931 | (struct gdbarch_tdep): Remove. | |
11932 | * ns32k-tdep.c (ns32k_gdbarch_init): Don't call | |
11933 | gdbarch_lookup_osabi. Don't iterate over arches. Don't | |
11934 | allocate tdep. Update call to gdbarch_init_osabi. | |
11935 | (ns32k_dump_tdep): Remove. | |
11936 | (_initialize_ns32k_tdep): Update call to gdbarch_register. | |
11937 | * ns32knbsd-tdep.c: Include "osabi.h". | |
11938 | ||
11939 | * ppc-tdep.h: Don't include "osabi.h". | |
11940 | (struct gdbarch_tdep): Remove osabi member. | |
11941 | * rs6000-tdep.c: Include "osabi.h". | |
11942 | (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check | |
11943 | osabi when iterating over arches. Update call to | |
11944 | gdbarch_init_osabi. | |
11945 | (rs6000_dump_tdep): Don't dump osabi. | |
11946 | * ppc-linux-tdep.c: Include "osabi.h". | |
11947 | * ppcnbsd-tdep.c: Include "osabi.h". | |
11948 | ||
11949 | * sh-tdep.h: Don't include "osabi.h". | |
11950 | (struct gdbarch_tdep): Remove osabi member. | |
11951 | * sh-tdep.c: Include "osabi.h". | |
11952 | (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11953 | iterate over arches. Update call to gdbarch_init_osabi. | |
11954 | (sh_dump_tdep): Don't dump osabi. | |
11955 | * shnbsd-tdep.c: Include "osabi.h". | |
11956 | ||
11957 | * sparc-tdep.c: Include "osabi.h". | |
11958 | (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11959 | iterate over arches. Update call to gdbarch_init_osabi. | |
11960 | (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the | |
11961 | tdep structure. | |
11962 | ||
11963 | * vax-tdep.h: Don't include "osabi.h". | |
11964 | (struct gdbarch_tdep): Remove. | |
11965 | * vax-tdep.c: Include "osabi.h". | |
11966 | (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't | |
11967 | iterate over arches. Don't allocate tdep. Update call | |
11968 | to gdbarch_init_osabi. | |
11969 | (vax_dump_tdep): Remove. | |
11970 | (_initialize_vax_tdep): Update call to gdbarch_register. | |
11971 | ||
a881cf8e DJ |
11972 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11973 | ||
11974 | * breakpoint.c (insert_breakpoints): Skip disabled breakpoints | |
11975 | entirely. | |
11976 | (breakpoint_re_set_one): Don't fetch the value for a disabled | |
11977 | watchpoint. | |
11978 | ||
1e698235 DJ |
11979 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
11980 | ||
11981 | * buildsym.h (processing_hp_compilation): Remove obsolete variable. | |
11982 | * gdbarch.sh Remove include of "value.h" in gdbarch.h. | |
11983 | (COERCE_FLOAT_TO_DOUBLE): Remove. | |
11984 | * gdbarch.c: Regenerate. | |
11985 | * gdbarch.h: Regenerate. | |
11986 | * Makefile.in: Remove value_h from gdbarch_h. | |
11987 | * valops.c (coerce_float_to_double): New variable. | |
11988 | (default_coerce_float_to_double): Remove. | |
11989 | (standard_coerce_float_to_double): Remove. | |
11990 | (value_arg_coerce): Use coerce_float_to_double. | |
11991 | (_initialize_valops): Add "set coerce-float-to-double". | |
11992 | * value.h (default_coerce_float_to_double): Remove prototype. | |
11993 | (standard_coerce_float_to_double): Remove prototype. | |
11994 | ||
11995 | * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as | |
11996 | prototyped. | |
11997 | * mdebugread.c (parse_symbol): Likewise. | |
11998 | * stabsread.c (define_symbol): Mark all functions as prototyped. | |
11999 | ||
12000 | * hppa-tdep.c (hppa_coerce_float_to_double): Remove. | |
12001 | * alpha-tdep.c (alpha_gdbarch_init): Remove call to | |
12002 | set_gdbarch_coerce_float_to_double. | |
12003 | * arm-tdep.c (arm_gdbarch_init): Likewise. | |
12004 | * frv-tdep.c (frv_gdbarch_init): Likewise. | |
12005 | * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). | |
12006 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
12007 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
12008 | (mips_coerce_float_to_double): Remove. | |
12009 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
12010 | (rs6000_coerce_float_to_double): Remove. | |
12011 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
12012 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
12013 | (sh_coerce_float_to_double): Remove. | |
12014 | * sparc-tdep.c (sparc_gdbarch_init): Likewise. | |
12015 | (sparc_coerce_float_to_double): Remove. | |
12016 | * v850-tdep.c (v850_gdbarch_init): Likewise. | |
12017 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
12018 | * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
12019 | * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. | |
12020 | (hppa_coerce_float_to_double): Remove prototype. | |
12021 | * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
12022 | ||
f436a26a DJ |
12023 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12024 | ||
12025 | * regformats/reg-m68k.dat: Remove fpcode and fpflags. | |
12026 | ||
248f8055 DJ |
12027 | 2003-01-04 Daniel Jacobowitz <[email protected]> |
12028 | ||
12029 | Suggested by Stewart Brown <[email protected]>: | |
12030 | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show | |
12031 | in recursive calls. Handle TYPE_CODE_TYPEDEF. | |
12032 | (c_type_print_varspec_suffix): Likewise. | |
12033 | ||
72cfdc76 MK |
12034 | 2003-01-04 Mark Kettenis <[email protected]> |
12035 | ||
bfd260bb MK |
12036 | * configure.in: Don't set and AC_SUBST SUBDIRS. |
12037 | * configure: Regenerated. | |
12038 | ||
72cfdc76 MK |
12039 | * configure.in: Remove code dealing with shared libraries. |
12040 | * Makefile.in: Remove HLDFLAGS and HLDENV. | |
12041 | * configure: Regenerated. | |
12042 | ||
c8b8a898 AC |
12043 | 2003-01-04 Andrew Cagney <[email protected]> |
12044 | ||
12045 | * frame.c (deprecated_frame_xmalloc): New function. | |
12046 | (deprecated_set_frame_saved_regs_hack): New function. | |
12047 | (deprecated_set_frame_extra_info_hack): New function. | |
12048 | * frame.h (deprecated_frame_xmalloc): Declare. | |
12049 | (deprecated_set_frame_saved_regs_hack): Declare. | |
12050 | (deprecated_set_frame_extra_info_hack): Declare. | |
12051 | ||
14abd0fb MK |
12052 | 2003-01-04 Mark Kettenis <[email protected]> |
12053 | ||
8ee53726 MK |
12054 | * configure.in: Move code that provides the --enable-gdbtk option |
12055 | right after the code that handles the --enable-tui option, and | |
12056 | polish it somewhat. | |
12057 | * configure: Regenerated. | |
12058 | ||
14abd0fb MK |
12059 | * configure.in: Call AC_GNU_SOURCE. Check for pread64 using |
12060 | AC_CHECK_FUNCS and remove the old check for pread64. | |
12061 | * acinclude.m4 (AC_GNU_SOURCE): New macro. | |
12062 | * acconfig.h (_GNU_SOURCE): Add. | |
12063 | (HAVE_PREAD64): Remove. | |
12064 | * configure, aclocal.m4, config.in: Regenerated. | |
12065 | ||
b2fb4676 AC |
12066 | 2003-01-03 Andrew Cagney <[email protected]> |
12067 | ||
12068 | * alpha-tdep.c: Use get_frame_saved_regs. | |
12069 | * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12070 | * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. | |
12071 | * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto. | |
12072 | * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto. | |
12073 | * vax-tdep.c, xstormy16-tdep.c: Ditto. | |
12074 | ||
8dcde887 MK |
12075 | 2003-01-03 Mark Kettenis <[email protected]> |
12076 | ||
12077 | * configure.in: Remove all use of the SUBDIRS variable; add | |
12078 | directories using the AC_CONFIG_SUBDIRS macro instead. Polish | |
12079 | code providing the --enable-multi-ice option, and move it right in | |
12080 | front of the code that checks whether gdbserver is supported. | |
12081 | Polish that too. | |
12082 | * configure: Regenerated. | |
12083 | * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of | |
12084 | @SUBDIRS@. | |
12085 | ||
8ccd593b AC |
12086 | 2003-01-03 Andrew Cagney <[email protected]> |
12087 | ||
12088 | * alpha-tdep.c: Use deprecated_update_frame_base_hack. | |
12089 | * avr-tdep.c, cris-tdep.c: Ditto. | |
12090 | * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. | |
12091 | * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
8ffd9b1b | 12092 | |
91151a06 MK |
12093 | 2003-01-03 Mark Kettenis <[email protected]> |
12094 | ||
12095 | * configure.in: Remove --enable-netrom option. | |
12096 | * configure: Regenerated. | |
12097 | ||
8fe84d01 MK |
12098 | 2003-01-03 Mark Kettenis <[email protected]> |
12099 | ||
12100 | * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward | |
12101 | declaration for `struct re_pattern_buffer' instead. | |
12102 | * Makefile.in (cli_decode_h): Remove $(gdb_regex_h). | |
12103 | ||
f0394be6 JB |
12104 | 2003-01-03 J. Brobecker <[email protected]> |
12105 | ||
12106 | * mdebugread.c (parse_symbol): Count until the stEnd matching | |
12107 | the structure name. | |
12108 | ||
27e9bf90 MK |
12109 | 2003-01-02 Mark Kettenis <[email protected]> |
12110 | ||
93d331ba MK |
12111 | * configure.in: Remove --with-cpu option. |
12112 | subscripts. Remove evil changequotes here. | |
12113 | * acconfig.h (TARGET_CPU_DEFAULT): Remove. | |
12114 | * config.in, configure: Regenerated. | |
8ffd9b1b | 12115 | |
27e9bf90 MK |
12116 | * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove. |
12117 | * configure.in: Cleanup section that sources GDB and BFD configure | |
12118 | subscripts. Remove evil changequotes here. | |
12119 | * config.in, configure: Regenerated. | |
12120 | ||
50abf9e5 AC |
12121 | 2003-01-02 Andrew Cagney <[email protected]> |
12122 | ||
12123 | * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack | |
12124 | frame accessor methods. | |
12125 | * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. | |
12126 | * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. | |
12127 | * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. | |
12128 | * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto. | |
12129 | * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto. | |
12130 | * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. | |
12131 | * z8k-tdep.c: Ditto. | |
8ffd9b1b | 12132 | |
287c1a40 MK |
12133 | 2003-01-02 Mark Kettenis <[email protected]> |
12134 | ||
f5dbc56d MK |
12135 | * configure.in: Remove UI_OUT configuration code. |
12136 | * ada-lang.c: Update assuming UI_OUT is always true. | |
12137 | * Makefile.in (UIOUT_CFLAGS): Remove. | |
12138 | * configure: Regenerated. | |
12139 | * TODO: Remove blurb about elimination of -DUI_OUT. | |
12140 | ||
627af7ea MK |
12141 | * configure.in: Move code that provides the --enable-gdbcli, |
12142 | --enable-gdbmi options right before the code that handles the | |
12143 | --enable-tui option. Polish a bit. | |
12144 | * configure: Regenerated. | |
12145 | ||
06825bd1 MK |
12146 | * configure.in: Rewrite check for GNU regex and the |
12147 | --without-included regex option, and move it into the "Checks for | |
12148 | library functions" section. This makes us use the system regex | |
12149 | again by default on systems with version 2 of the GNU C library. | |
12150 | This was apparently broken. | |
12151 | * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define. | |
12152 | * acconfig.h (USE_INCLUDED_REGEX): Remove. | |
12153 | * config.in, configure: Regenerated. | |
12154 | ||
287c1a40 MK |
12155 | * configure.in: Move code that provides the --enable-tui option |
12156 | before the "Checks for libraries" section. Polish the code | |
12157 | somewhat and set need_curses to yes if we build the TUI. Rewrite | |
12158 | code that looks for a library providing termcap functionality to | |
12159 | match more closely what's done in the Readline library, and move | |
12160 | it into to the "Checks for libraries" section. | |
12161 | * configure: Regenerated. | |
12162 | * Makefile.in (TERMCAP): Remove variable. | |
12163 | * config/i386/go32.mh (TERMCAP): Remove variable. | |
12164 | ||
684e56bf AC |
12165 | 2003-01-02 Andrew Cagney <[email protected]> |
12166 | ||
12167 | * MAINTAINERS: Mention gdb_mbuild.sh. | |
12168 | * gdb_mbuild.sh: Rewrite. | |
12169 | ||
e1ea1d75 MK |
12170 | 2003-01-02 Mark Kettenis <[email protected]> |
12171 | ||
12172 | * configure.in: Fix typo in last change. | |
12173 | * config.in, configure: Regenerated. | |
12174 | ||
1b831c93 AC |
12175 | 2003-01-02 Andrew Cagney <[email protected]> |
12176 | ||
12177 | * valarith.c (value_binop): Delete obsolete code and comments. | |
12178 | * configure.host: Ditto. | |
12179 | * buildsym.h (make_blockvector): Ditto. | |
12180 | * buildsym.c (make_blockvector): Ditto. | |
12181 | * defs.h (enum language): Ditto. | |
12182 | (chill_demangle): Ditto. | |
12183 | * elfread.c (elf_symtab_read): Ditto. | |
12184 | * dwarfread.c (CHILL_PRODUCER): Ditto. | |
12185 | (set_cu_language): Ditto. | |
12186 | (handle_producer): Ditto. | |
12187 | * expprint.c (print_subexp): Ditto. | |
12188 | * gdbtypes.c (chill_varying_type): Ditto. | |
12189 | * gdbtypes.h (builtin_type_chill_bool): Ditto. | |
12190 | (builtin_type_chill_char, builtin_type_chill_long): Ditto. | |
12191 | (builtin_type_chill_ulong, builtin_type_chill_real): Ditto. | |
12192 | (chill_varying_type): Ditto. | |
12193 | * language.h (_LANG_chill): Ditto. | |
12194 | * language.c (binop_result_type, integral_type): Ditto. | |
12195 | (character_type, string_type, structured_type): Ditto. | |
12196 | (lang_bool_type, binop_type_check): Ditto. | |
12197 | * stabsread.h (os9k_stabs): Ditto. | |
12198 | * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto. | |
12199 | (define_symbol, read_type, read_struct_fields): Ditto. | |
12200 | (read_array_type, read_enum_type, read_huge_number): Ditto. | |
12201 | (read_range_type, start_stabs): Ditto. | |
12202 | * symfile.c (init_filename_language_table): Ditto. | |
12203 | (add_psymbol_with_dem_name_to_list): Ditto. | |
12204 | * symtab.c (symbol_init_language_specific): Ditto. | |
12205 | (symbol_init_demangled_name, symbol_demangled_name): Ditto. | |
12206 | * symtab.h (struct general_symbol_info): Ditto. | |
12207 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. | |
12208 | * typeprint.c (typedef_print): Ditto. | |
12209 | * utils.c (fprintf_symbol_filtered): Ditto. | |
12210 | * valops.c (value_cast, search_struct_field, value_slice): Delete | |
12211 | obsolete code. | |
12212 | (varying_to_slice): Delete function. | |
12213 | * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents. | |
12214 | (varying_to_slice): Delete declaration. | |
12215 | * MAINTAINERS: Update. | |
12216 | ||
8bb2c122 MK |
12217 | 2003-01-02 Mark Kettenis <[email protected]> |
12218 | ||
97bf5e38 MK |
12219 | * configure.in: Reorganize "Checks for library functions section" |
12220 | a bit. Remove check for `btowc' and `isascii' functions. | |
12221 | * configure: Regenerated. | |
12222 | ||
5ee754fc MK |
12223 | * acconfig.h (_MSE_INT_H): Remove. |
12224 | * configure.in: Create "Checks for header files" section, and move | |
12225 | appropriate tests there. Don't check for objlist.h, wchar.h, | |
12226 | wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h> | |
12227 | misdetection fix. Also add "Checks for types", "Checks for | |
12228 | compiler characteristics" and "Checks for library functions" | |
12229 | sections. | |
12230 | * config.in, configure: Regenerated. | |
12231 | ||
8bb2c122 MK |
12232 | * configure.in: Create "Checks for programs" section, and move |
12233 | appropriate tests there. | |
12234 | ||
9a156167 MK |
12235 | 2003-01-01 Mark Kettenis <[email protected]> |
12236 | ||
12237 | * configure.in: Create "Checks for libraries" section, and move | |
12238 | appropriate tests there. Cleanup check for wctype in libw. Use | |
12239 | AC_SEARCH_LIBS to see whether we need libsocket. | |
12240 | * configure: Regenerated. | |
12241 | ||
a80e2bcb | 12242 | For older changes see ChangeLog-2002 |
c906108c SS |
12243 | \f |
12244 | Local Variables: | |
12245 | mode: change-log | |
12246 | left-margin: 8 | |
12247 | fill-column: 74 | |
12248 | version-control: never | |
12249 | End: |