Washington (CNN) - A second-straight national poll indicates that many Americans have shifted their priorities when it comes to immigration reform.
According to a Gallup survey released Monday, 44% of those surveyed say it's extremely important for the United States to develop a plan to deal with the large number of undocumented immigrants.
Forty-three percent say the top priority should be beefing up border security to halt the flow of undocumented workers into the country.
That's a shift from 2011, when Gallup polling indicated border security trumped dealing with immigrants already in the country.
"Compared with 2011, Americans of all partisan orientations have come to view border security as less important. Meanwhile, their views on the importance of devising a plan to deal with illegal immigrants already in the United States have been largely stable," said a release by Gallup.
The Gallup poll follows the release earlier this month of a CNN/ORC International poll that indicated a majority of the public said the government's main focus should be legalizing the status of the undocumented rather than border security.
According to the CNN survey, 54% said the top priority for the government in dealing with the issue of illegal immigration should be developing a plan that would allow those with jobs to eventually become legal U.S. residents.
Just over four in 10 of those questioned said the main focus should be developing a plan for stopping the flow of undocumented immigrants into the United States and for deporting those already here.
The CNN poll also found that attitudes have shifted since 2011.
"Starting in 2012, most Americans have said that the government's focus should be on a plan that would allow those immigrants to become legal U.S. residents. A majority has consistently taken that position since that time - 56% in 2012, 53% in 2013, and 54% in the current poll," said CNN Polling Director Keating Holland.
The Democratic-controlled Senate approved a bipartisan immigration bill last year that included an eventual path toward citizenship for most of the 11 million undocumented immigrants in the United States.
The Senate bill stalled in the GOP-led House. Republicans said they preferred to address the matter incrementally rather than in one comprehensive measure.
Earlier this month, House Speaker John Boehner signaled any action on immigration is unlikely this year because he said Republicans in the chamber don't trust President Barack Obama on the issue.
The Gallup poll was conducted February 6-9, with 1,023 adults nationwide questioned by telephone. The survey's overall sampling error is plus or minus four percentage points.
The CNN poll was conducted by ORC International from January 31-February 2, with 1,010 adults nationwide questioned by telephone. The survey's overall sampling error is plus or minus three percentage points.
CNN Political Editor Paul Steinhauser contributed to this report